diff --git a/mining-pool/dist.zip b/mining-pool/dist.zip index 27306cd..fc00f88 100644 Binary files a/mining-pool/dist.zip and b/mining-pool/dist.zip differ diff --git a/mining-pool/public/dist/css/app-189e7968.d4db0c40.css b/mining-pool/public/dist/css/app-189e7968.d4db0c40.css new file mode 100644 index 0000000..9274ffe --- /dev/null +++ b/mining-pool/public/dist/css/app-189e7968.d4db0c40.css @@ -0,0 +1 @@ +.chat-widget[data-v-1a3f78b4]{position:fixed;bottom:40px;right:60px;z-index:1000;font-family:Arial,sans-serif}.chat-icon[data-v-1a3f78b4]{width:60px;height:60px;border-radius:50%;background-color:#ac85e0;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,.2);transition:all .3s ease;position:relative}.chat-icon i[data-v-1a3f78b4]{font-size:28px}.chat-icon[data-v-1a3f78b4]:hover{transform:scale(1.05);background-color:#6e3edb}.chat-icon.active[data-v-1a3f78b4]{background-color:#6e3edb}.unread-badge[data-v-1a3f78b4]{position:absolute;top:-5px;right:-5px;background-color:#e74c3c;color:#fff;border-radius:50%;width:20px;height:20px;font-size:12px;display:flex;justify-content:center;align-items:center}.chat-dialog[data-v-1a3f78b4]{position:absolute;bottom:80px;right:0;width:350px;height:450px;background-color:#fff;border-radius:10px;box-shadow:0 5px 25px rgba(0,0,0,.1);display:flex;flex-direction:column;overflow:hidden}.chat-header[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff;padding:15px;display:flex;justify-content:space-between;align-items:center}.chat-title[data-v-1a3f78b4]{font-weight:700;font-size:16px}.chat-actions[data-v-1a3f78b4]{display:flex;gap:15px}.chat-actions i[data-v-1a3f78b4]{cursor:pointer;font-size:16px}.chat-actions i[data-v-1a3f78b4]:hover{opacity:.8}.chat-body[data-v-1a3f78b4]{flex:1;overflow-y:auto;padding:15px;background-color:#f8f9fa}.chat-status[data-v-1a3f78b4]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}.chat-status i[data-v-1a3f78b4]{font-size:32px;margin-bottom:16px}.chat-status p[data-v-1a3f78b4]{margin:8px 0;color:#666}.chat-status.connecting i[data-v-1a3f78b4]{color:#ac85e0}.chat-status.error i[data-v-1a3f78b4],.chat-status.error p[data-v-1a3f78b4]{color:#e74c3c}.chat-status.disconnected i[data-v-1a3f78b4],.chat-status.disconnected p[data-v-1a3f78b4]{color:#f39c12}.chat-status .retry-button[data-v-1a3f78b4]{margin-top:16px;padding:8px 16px;background-color:#ac85e0;color:#fff;border:none;border-radius:20px;cursor:pointer}.chat-status .retry-button[data-v-1a3f78b4]:hover{background-color:#6e3edb}.chat-empty[data-v-1a3f78b4]{color:#777;text-align:center;margin-top:30px}.chat-message[data-v-1a3f78b4]{display:flex;margin-bottom:15px}.chat-message.chat-message-user[data-v-1a3f78b4]{flex-direction:row-reverse}.chat-message.chat-message-user .message-content[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff;border-radius:18px 18px 0 18px}.chat-message.chat-message-user .message-time[data-v-1a3f78b4]{text-align:right;color:hsla(0,0%,100%,.7)}.chat-message.chat-message-system .message-content[data-v-1a3f78b4]{background-color:#fff;border-radius:18px 18px 18px 0}.message-avatar[data-v-1a3f78b4]{width:36px;height:36px;border-radius:50%;display:flex;justify-content:center;align-items:center;background-color:#e0e0e0;margin:0 10px}.message-avatar i[data-v-1a3f78b4]{font-size:18px;color:#555}.message-content[data-v-1a3f78b4]{position:relative;max-width:70%;padding:18px 15px 10px 15px;box-shadow:0 1px 2px rgba(0,0,0,.1)}.message-content .message-time[data-v-1a3f78b4]{position:absolute;top:6px;right:15px;font-size:11px;color:#bbb;pointer-events:none;user-select:none}.chat-message-user .message-content .message-time[data-v-1a3f78b4]{color:hsla(0,0%,100%,.7)}.message-text[data-v-1a3f78b4]{line-height:1.4;font-size:14px;word-break:break-word}.message-image img[data-v-1a3f78b4]{max-width:200px;max-height:200px;border-radius:8px;cursor:pointer;transition:transform .2s}.message-image img[data-v-1a3f78b4]:hover{transform:scale(1.03)}.message-time[data-v-1a3f78b4]{font-size:11px;margin-top:4px}.chat-footer[data-v-1a3f78b4]{padding:10px;display:flex;border-top:1px solid #e0e0e0;align-items:center}.chat-toolbar[data-v-1a3f78b4]{margin-right:8px}.image-upload-label[data-v-1a3f78b4]{display:flex;align-items:center;justify-content:center;width:30px;height:30px;cursor:pointer;color:#666}.image-upload-label[data-v-1a3f78b4]:hover:not(.disabled){color:#ac85e0}.image-upload-label.disabled[data-v-1a3f78b4]{opacity:.5;cursor:not-allowed}.image-upload-label i[data-v-1a3f78b4]{font-size:20px}.chat-input[data-v-1a3f78b4]{flex:1;border:1px solid #ddd;border-radius:20px;padding:8px 15px;outline:none}.chat-input[data-v-1a3f78b4]:focus:not(:disabled){border-color:#ac85e0}.chat-input[data-v-1a3f78b4]:disabled{background-color:#f5f5f5;cursor:not-allowed}.chat-send[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff;border:none;border-radius:20px;padding:8px 15px;margin-left:10px;cursor:pointer;font-weight:700}.chat-send[data-v-1a3f78b4]:hover:not(:disabled){background-color:#6e3edb}.chat-send[data-v-1a3f78b4]:disabled{opacity:.5;cursor:not-allowed}.image-preview-overlay[data-v-1a3f78b4]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.8);z-index:1100;display:flex;justify-content:center;align-items:center}.image-preview-container[data-v-1a3f78b4]{position:relative;max-width:90%;max-height:90%}.preview-image[data-v-1a3f78b4]{max-width:100%;max-height:90vh;object-fit:contain}.preview-close[data-v-1a3f78b4]{position:absolute;top:-40px;right:0;color:#fff;font-size:24px;cursor:pointer;background-color:rgba(0,0,0,.5);width:36px;height:36px;border-radius:50%;display:flex;justify-content:center;align-items:center}.preview-close[data-v-1a3f78b4]:hover{background-color:rgba(0,0,0,.8)}.chat-slide-enter-active[data-v-1a3f78b4],.chat-slide-leave-active[data-v-1a3f78b4]{transition:all .3s ease}.chat-slide-enter[data-v-1a3f78b4],.chat-slide-leave-to[data-v-1a3f78b4]{transform:translateY(20px);opacity:0}@media(max-width:768px){.chat-widget[data-v-1a3f78b4]{bottom:20px;right:20px}.chat-dialog[data-v-1a3f78b4]{width:300px;height:400px;bottom:70px}.message-image img[data-v-1a3f78b4]{max-width:150px;max-height:150px}}.system-hint[data-v-1a3f78b4]{color:#999;gap:6px}.history-indicator[data-v-1a3f78b4],.system-hint[data-v-1a3f78b4]{text-align:center;font-size:12px;margin:10px 0;display:flex;align-items:center;justify-content:center}.history-indicator[data-v-1a3f78b4]{color:#666;cursor:pointer;gap:4px;padding:5px;border-radius:15px;background-color:#f0f0f0;width:fit-content;margin:0 auto 10px}.history-indicator[data-v-1a3f78b4]:hover{background-color:#e0e0e0;color:#333}.chat-message-history[data-v-1a3f78b4]{opacity:.8}.chat-message-hint[data-v-1a3f78b4],.chat-message-loading[data-v-1a3f78b4]{margin:5px 0;justify-content:center}.chat-message-hint span[data-v-1a3f78b4],.chat-message-loading span[data-v-1a3f78b4]{color:#999;font-size:12px}.message-footer[data-v-1a3f78b4]{display:flex;justify-content:space-between;align-items:center;margin-top:4px;font-size:11px}.message-time[data-v-1a3f78b4]{color:#999}.message-read-status[data-v-1a3f78b4]{color:#999;font-size:10px;margin-left:5px}.chat-message-user .message-read-status[data-v-1a3f78b4]{color:hsla(0,0%,100%,.7)}.network-status[data-v-1a3f78b4]{position:fixed;top:80px;right:20px;padding:8px 16px;border-radius:4px;display:flex;align-items:center;gap:8px;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.1);background-color:#fef0f0;color:#f56c6c}.guest-notice[data-v-1a3f78b4]{background-color:#f8f9fa;border-radius:8px;padding:8px 12px;margin-bottom:10px;text-align:center;border:1px solid #e0e0e0}.guest-notice .guest-notice-content[data-v-1a3f78b4]{display:inline-flex;gap:2px;color:#666;font-size:13px;line-height:1.4}.guest-notice .guest-notice-content i[data-v-1a3f78b4]{color:#ac85e0;font-size:16px;flex-shrink:0}.guest-notice .guest-notice-content .login-link[data-v-1a3f78b4]{color:#ac85e0;text-decoration:none;font-weight:700;cursor:pointer;transition:color .3s;margin:0 2px}.guest-notice .guest-notice-content .login-link[data-v-1a3f78b4]:hover{color:#6e3edb;text-decoration:underline}.error-actions[data-v-1a3f78b4]{display:flex;gap:10px;margin-top:16px;justify-content:center}.error-actions .refresh-button[data-v-1a3f78b4],.error-actions .retry-button[data-v-1a3f78b4]{padding:8px 16px;border:none;border-radius:20px;cursor:pointer;font-weight:700;transition:all .3s ease}.error-actions .refresh-button[data-v-1a3f78b4]:hover,.error-actions .retry-button[data-v-1a3f78b4]:hover{transform:translateY(-1px)}.error-actions .retry-button[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff}.error-actions .retry-button[data-v-1a3f78b4]:hover{background-color:#6e3edb}.error-actions .refresh-button[data-v-1a3f78b4]{background-color:#f0f0f0;color:#666;padding:0 16px}.error-actions .refresh-button[data-v-1a3f78b4]:hover{background-color:#e0e0e0}.chat-time-divider[data-v-1a3f78b4]{text-align:center;margin:16px 0;font-size:12px;color:#fff;background:hsla(0,0%,71%,.6);display:inline-block;padding:2px 12px;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.04);left:50%;transform:translateX(-50%);position:relative}:root{--background-color:#fff;--text-color:#000}.dark-mode{--background-color:#000;--text-color:#fff}*{margin:0;padding:0}*,body,html{box-sizing:border-box}body,html{scrollbar-width:none;-ms-overflow-style:none;border-right:none;overflow:hidden}#app{overflow-x:hidden;font-size:1rem}#app ::-webkit-scrollbar{width:5px;height:6px}#app ::-webkit-scrollbar-thumb{background-color:#d2c3e9;border-radius:20px}#app ::-webkit-scrollbar-track{background-color:#f0f0f0}#app input::-webkit-inner-spin-button,#app input::-webkit-outer-spin-button{-webkit-appearance:none}#app input[type=number]{-moz-appearance:textfield}.el-message{z-index:99999!important;min-width:300px!important}.dynamic-content :deep(p){text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}[data-v-2329c878]{margin:0;padding:0;box-sizing:border-box}.nav[data-v-2329c878]{z-index:1000;margin-right:8px;font-size:.9rem}.nav-item[data-v-2329c878]{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 10px}.nav-item .itemImg[data-v-2329c878]{width:20px;margin-right:5px}.nav-item .arrow[data-v-2329c878]{margin-left:5px;border:solid rgba(0,0,0,.3);border-width:0 1px 1px 0;display:inline-block;padding:3px;transform:rotate(45deg);transition:transform .3s}.nav-item .arrow.up[data-v-2329c878]{transform:rotate(-135deg)}.dropdown[data-v-2329c878]{position:absolute;top:47px;left:0;width:392px;background:#fff;border:1px solid #eee;border-radius:4px;padding:3px;display:none;flex-wrap:wrap;gap:1px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);z-index:999999}.dropdown.show[data-v-2329c878]{display:flex}.dropdown .option[data-v-2329c878]{width:76px;height:80px;background:#f5f5f5;cursor:pointer;transition:all .3s;border-radius:4px;overflow:hidden;text-align:center;padding:5px}.dropdown .optionActive[data-v-2329c878],.dropdown .option[data-v-2329c878]:hover{background:#e8e8e8;color:#6e3edb;border:1px solid #9d8ac9}.dropdownCoin[data-v-2329c878]{width:32px;margin:0}.dropdownText[data-v-2329c878]{width:100%;font-size:.8rem;text-align:center;margin:0;word-break:break-word;margin-top:5px}.headerBox[data-v-2329c878]{width:100%;font-size:.95rem;display:flex;justify-content:center}.miningAccountTitle[data-v-2329c878]:hover{color:#6e3edb!important}.hidden[data-v-2329c878]{display:block;opacity:1!important}.el-menu--horizontal>.el-submenu .el-submenu__title[data-v-2329c878]{color:#000}.el-menu--horizontal[data-v-2329c878]{background:transparent}.el-submenu[data-v-2329c878]:hover{background-color:transparent!important}.el-submenu.is-active[data-v-2329c878]:after{border-bottom:none!important;border-bottom-color:transparent!important;border:none!important;outline:none!important}.is-order[data-v-2329c878]{background:#21a0ff}.dropdownItem[data-v-2329c878]{display:flex;align-items:center}.dropdownItem img[data-v-2329c878]{margin-right:5px}.active[data-v-2329c878]{color:#6e3edb!important;font-weight:600}.whiteBg[data-v-2329c878]{background:hsla(0,0%,100%,.5)}.header[data-v-2329c878]{display:flex;justify-content:space-between;align-items:center;height:100%;width:95%}.logo[data-v-2329c878]{width:18%;height:100%;display:flex;justify-content:right;align-items:center;font-size:.9rem}.logo img[data-v-2329c878]{width:100px}.topMenu[data-v-2329c878]{width:80%;height:100%;display:flex;justify-content:end;align-items:center}.topMenu .afterLoggingIn[data-v-2329c878]{min-width:50%;display:flex;justify-content:right;align-items:center}.topMenu .afterLoggingIn .langBox[data-v-2329c878]{display:flex;justify-content:space-around;align-items:center;width:70px}.topMenu .afterLoggingIn .LangLine[data-v-2329c878]{width:1px;height:60%;background:#ccc;margin-right:8px}.topMenu .afterLoggingIn li[data-v-2329c878]{position:relative}.topMenu .afterLoggingIn .horizontalLine[data-v-2329c878]{width:100%;position:absolute;bottom:-10px;display:flex;justify-content:center;align-items:center;opacity:0;transition:all .3s linear}.topMenu .afterLoggingIn .horizontalLine .circular[data-v-2329c878]{width:5px;height:5px;background:#6e3edb;border-radius:50%}.topMenu .afterLoggingIn .horizontalLine .line[data-v-2329c878]{width:20px;height:5px;background:#6e3edb;margin-left:2px;border-radius:22px}.topMenu .notLoggedIn[data-v-2329c878]{width:40%}.topMenu .notLoggedIn li[data-v-2329c878]{margin-left:1%}.topMenu .notLoggedIn .langBox[data-v-2329c878]{display:flex;justify-content:space-around;align-items:center;width:20%}.topMenu .notLoggedIn .register.register[data-v-2329c878]{padding:1px 30px}.topMenu .notLoggedIn .LangLine[data-v-2329c878]{width:1px;height:60%;background:#ccc;margin-right:2%}.menuBox[data-v-2329c878]{min-width:42%!important;height:100%;display:flex;justify-content:end;align-items:center;margin:0}.menuBox li[data-v-2329c878]{list-style:none;height:45%;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:3%;font-size:.9rem;position:relative;text-align:center;min-width:61px}.menuBox li[data-v-2329c878]:hover{color:#6e3edb;font-weight:600}.menuBox .login[data-v-2329c878]{padding:2px 18px}.menuBox .login[data-v-2329c878]:hover{color:#21a0ff;border:1px solid #21a0ff;border-radius:10px}.menuBox .register[data-v-2329c878]{background:#d2c3ea;border-radius:25px;padding:0 25px}.menuBox .register[data-v-2329c878]:hover{color:#000;color:#fe4886}.el-submenu__title[data-v-2329c878]:hover{background-color:transparent!important;background:transparent!important;color:#6e3edb!important}.el-menu-item.is-active[data-v-2329c878]:not(.is-index){border-bottom:none!important}.el-submenu__title[data-v-2329c878]{margin-right:10px}.el-submenu.is-active[data-v-2329c878],.el-submenu__title[data-v-2329c878]{border:none!important;border-bottom:none!important;border-bottom-color:transparent!important}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title[data-v-2329c878]{border-bottom:0!important}.el-submenu.is-active .el-submenu__title[data-v-2329c878]{border-bottom-color:transparent!important}.el-menu.el-menu--horizontal[data-v-2329c878]{border-bottom:0!important}@media screen and (min-width:220px)and (max-width:1279px){.contentMain[data-v-43751b68]{background-image:none!important}.contentPage[data-v-43751b68]{min-height:200px!important}.moveFooterBox[data-v-43751b68]{width:100%;background-image:url(/img/homebgbtm.8b659935.png);background-repeat:no-repeat;background-size:100% 90%}.footerBox[data-v-43751b68]{align-items:flex-start!important;margin:0!important;display:flex;flex-direction:column;height:auto!important;padding-left:0!important}.footerBox .logoBox[data-v-43751b68]{width:100%;height:100px;display:flex;flex-direction:column;justify-content:center;padding:18px 18px;border-bottom:1px solid #ccc}.footerBox .logoBox .logoImg[data-v-43751b68]{width:140px}.footerBox .logoBox .copyright[data-v-43751b68]{margin-top:15px;font-size:.8rem;color:rgba(0,0,0,.7)}.footerBox .missionBox[data-v-43751b68]{width:100%;min-height:130px;border-bottom:1px solid #ccc;padding:10px 18px}.footerBox .missionBox .mission[data-v-43751b68]{font-size:.9rem;font-weight:600}.footerBox .missionBox .missionText[data-v-43751b68]{margin-top:18px;font-size:.85rem;color:rgba(0,0,0,.7);padding-left:18px;cursor:pointer}.footerBox .missionBox .FMenu[data-v-43751b68]{width:100%;padding-left:18px;font-size:.85rem;color:rgba(0,0,0,.8);margin-top:18px}.footerBox .missionBox .FMenu p[data-v-43751b68]{line-height:30px;width:50%}.footerBox .missionBox .FMenu p a[data-v-43751b68]:nth-of-type(2){margin-left:28%}.footerBox .missionBox .FMenu p span[data-v-43751b68]{cursor:pointer}}.contentPage[data-v-43751b68]{min-height:630px}.contentMain[data-v-43751b68]{width:100%;min-height:100vh;background-image:url(/img/bktop.91a777f0.png);background-size:100% 28%;background-repeat:no-repeat;background-position:0 -6%;position:relative;overflow-x:hidden;overflow-y:auto}.header[data-v-43751b68]{display:flex;justify-content:space-between;align-items:center;height:100%;width:95%;padding:0 5%}.logo[data-v-43751b68]{width:18%;height:100%;display:flex;justify-content:center;align-items:center;font-size:1.8em}.logo img[data-v-43751b68]{width:38%}.topMenu[data-v-43751b68]{width:80%;height:100%;display:flex;justify-content:end;align-items:center}.topMenu .afterLoggingIn[data-v-43751b68]{width:35%}.topMenu .afterLoggingIn .langBox[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;width:20%}.topMenu .afterLoggingIn .LangLine[data-v-43751b68]{width:1px;height:60%;background:#ccc;margin-right:2%}.topMenu .notLoggedIn[data-v-43751b68]{width:35%}.topMenu .notLoggedIn .langBox[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;width:20%}.topMenu .notLoggedIn .LangLine[data-v-43751b68]{width:1px;height:60%;background:#ccc;margin-right:2%}.menuBox[data-v-43751b68]{width:50%;height:100%;display:flex;justify-content:end;align-items:center;margin:0}.menuBox li[data-v-43751b68]{list-style:none;height:45%;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:8%}.menuBox li[data-v-43751b68]:hover{color:#000}.menuBox .login[data-v-43751b68]{padding:2px 18px}.menuBox .login[data-v-43751b68]:hover{color:#21a0ff;border:1px solid #21a0ff;border-radius:10px}.menuBox .register[data-v-43751b68]{background:#d2c3ea;border-radius:25px;padding:0 25px}.menuBox .register[data-v-43751b68]:hover{color:#000;color:#fe4886}.whiteBg[data-v-43751b68]{background:hsla(0,0%,100%,.2)}.head[data-v-43751b68]{position:fixed;top:0;left:0}.contentBox[data-v-43751b68]{width:100%;display:flex;justify-content:start;align-items:center;flex-direction:column;padding-top:5%}.contentBox .currencyBox[data-v-43751b68]{width:85%;display:flex;justify-content:center;align-items:center}.contentBox .currencyBox .sunCurrency[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8px 10px;border-radius:22px;cursor:pointer;font-weight:600;margin-left:10px;font-size:1em}.contentBox .currencyBox .sunCurrency img[data-v-43751b68]{width:35px;margin-left:5%}.contentBox .currencyBox .sunCurrency span[data-v-43751b68]{text-transform:uppercase;margin-top:10px}.contentBox .currencyBox .sunCurrency[data-v-43751b68]:hover{background:rgba(223,83,52,.05);font-size:12px;box-shadow:0 0 5px 3px rgba(223,83,52,.05)}.contentBox .currencyDescription[data-v-43751b68]{width:85%;display:flex;justify-content:center}.contentBox .currencyDescription .currencyDescriptionBox[data-v-43751b68]{width:90%;height:600px;box-shadow:0 0 3px 1px #ccc;margin-top:2%;display:flex;justify-content:start;flex-direction:column;align-items:center;position:relative}.contentBox .currencyDescription .currencyDescriptionBox .titleBOX[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;padding:20px 10px;width:100%;border-bottom:1px solid rgba(0,0,0,.1)}.contentBox .currencyDescription .currencyDescriptionBox .titleBOX h3[data-v-43751b68]{width:90%;font-size:1.5em;text-align:center}.contentBox .currencyDescription .currencyDescriptionBox .titleBOX .titleCurrency[data-v-43751b68]:hover{background:rgba(223,83,52,.05);font-size:13px;box-shadow:0 0 5px 3px rgba(223,83,52,.05)}.contentBox .currencyDescription .currencyDescriptionBox .titleCurrency[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8px 10px;border-radius:22px;font-weight:600;margin-left:30px;font-size:1.1em;margin-right:1%;position:absolute;top:10px;right:60px}.contentBox .currencyDescription .currencyDescriptionBox .titleCurrency img[data-v-43751b68]{width:35px;margin-left:1%}.contentBox .currencyDescription .currencyDescriptionBox .titleCurrency span[data-v-43751b68]{margin-top:10px;text-transform:uppercase}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower[data-v-43751b68]{height:15%;width:100%;display:flex;justify-content:space-around;align-items:center;font-size:1.3em;margin:10px 10px}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower .PowerBox[data-v-43751b68]{display:flex;flex-direction:column;justify-content:center;align-content:center}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower span[data-v-43751b68]{cursor:pointer;width:100%;text-align:center}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower span[data-v-43751b68]:hover{color:#df5334;font-weight:600}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower .Power[data-v-43751b68]{font-size:1.5em}.contentBox .currencyDescription .currencyDescriptionBox p[data-v-43751b68]{width:80%;margin:0;font-size:1em;margin-top:3px;margin-left:5%;text-align:left;height:8%;padding:0 10px;line-height:50px;box-shadow:0 0 2px 1px #ccc;margin-top:1%}.contentBox .reportBlock[data-v-43751b68]{width:85%;display:flex;justify-content:center;height:1200px;margin-top:1%}.contentBox .reportBlock .reportBlockBox[data-v-43751b68]{width:90%;height:100%;box-shadow:0 0 3px 1px #ccc;background:#f5f9fd;display:flex;justify-content:space-between;flex-direction:column;align-items:center;padding:10px 10px}.contentBox .reportBlock .reportBlockBox .top[data-v-43751b68]{width:100%;height:18%;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(0,0,0,.1);padding:20px 0;color:#fff;font-weight:600;font-size:1.2em}.contentBox .reportBlock .reportBlockBox .top div[data-v-43751b68]{width:20%;background:#2eaeff;height:100%;display:flex;align-items:center;justify-content:space-around;margin-left:3%;border-radius:5%}.contentBox .reportBlock .reportBlockBox .belowTable[data-v-43751b68]{width:100%;height:80%;display:flex;justify-content:center;flex-direction:column;align-items:center}.contentBox .reportBlock .reportBlockBox .belowTable ul[data-v-43751b68]{width:100%;height:90%;padding:0;overflow:hidden;overflow-y:auto}.contentBox .reportBlock .reportBlockBox .belowTable ul .table-title[data-v-43751b68]{position:sticky;top:0;background:#f5f9fd;padding:0 10px}.contentBox .reportBlock .reportBlockBox .belowTable ul li[data-v-43751b68]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:7%}.contentBox .reportBlock .reportBlockBox .belowTable ul li span[data-v-43751b68]{height:100%;width:20%;line-height:55px;font-size:1.1em;font-weight:600;text-align:center}.contentBox .reportBlock .reportBlockBox .belowTable ul .currency-list[data-v-43751b68]{background:#fff;box-shadow:0 0 2px 1px rgba(0,0,0,.02);margin-top:1%;padding:0 10px}.contentBox .EchartsBox[data-v-43751b68]{width:80%;min-height:300px}.contentBox .EchartsBox .chart[data-v-43751b68]{height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.contentBox .formBox[data-v-43751b68]{width:80%;min-height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.footerBox[data-v-43751b68]{justify-content:space-around;width:100%;height:300px;display:flex;justify-content:center;align-items:center;padding-left:15%;background-image:url(/img/bkbuttom.05337f57.png);background-repeat:no-repeat;background-size:100% 100%;color:rgba(0,0,0,.9);margin-top:100px}.footerBox .one .oneText[data-v-43751b68]{width:40%;margin:0 auto;height:30%;display:flex;flex-direction:column;justify-content:space-between}.footerBox .one .oneText img[data-v-43751b68]{width:100%}.footerBox .logo2[data-v-43751b68]{display:flex}.footerBox .logo2 .logoBox[data-v-43751b68]{display:flex;flex-direction:column;justify-content:start;margin-top:4%}.footerBox .logo2 .logoBox .logoImg[data-v-43751b68]{width:160px}.footerBox .logo2 .logoBox .copyright[data-v-43751b68]{font-size:.8rem;width:100%;margin-top:15px}.footerBox .logo2 .logoBox .socialContact[data-v-43751b68]{display:flex;justify-content:space-around;width:120%;margin-top:28px}.footerBox .logo2 .logoBox .socialContact img[data-v-43751b68]{width:25px;transition:.1s linear;cursor:pointer}.footerBox .logo2 .logoBox .socialContact img[data-v-43751b68]:hover{width:28px}.footerBox .text div[data-v-43751b68]{width:77%;height:60%;line-height:28px;margin-top:25px;font-size:.95rem}.footerBox .product ul[data-v-43751b68]{margin:0;padding:0;display:flex;justify-content:center;flex-direction:column}.footerBox .product ul .productTitle[data-v-43751b68]{margin:0}.footerBox .product ul li[data-v-43751b68]{margin-top:15px;list-style:none;font-size:.95rem}.footerBox .product ul li span[data-v-43751b68]{cursor:pointer}.footerBox .product ul li span[data-v-43751b68]:hover{color:#6e3edb}.footerBox .product ul li a[data-v-43751b68]:hover{color:#6e3edb;cursor:pointer}.footerSon[data-v-43751b68]{width:100%;height:90%;margin:18px 10px}.footerSon .productTitle[data-v-43751b68],.footerSon h4[data-v-43751b68]{color:#000}.MoveMain[data-v-5f8aca30]{width:100%;height:100%;position:relative;z-index:9999}.headerMove[data-v-5f8aca30]{width:100%;min-height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;z-index:999}.headerMove img[data-v-5f8aca30]{width:30px}.headerMove .title[data-v-5f8aca30]{font-weight:600}.headerMove .menu[data-v-5f8aca30]{width:15%;height:100%;display:flex;align-items:center;justify-content:right}.menuItem[data-v-5f8aca30]{background:#d2c4e8;padding-left:5%;border-radius:5px;margin-top:20px;display:flex;align-items:center;justify-content:left}.menuItem img[data-v-5f8aca30]{width:15px;margin-right:5px}.menuItem2[data-v-5f8aca30]{background:#d2c4e8;padding-left:5%;border-radius:5px;display:flex;align-items:center}.menuItem2 img[data-v-5f8aca30]{width:15px;margin-right:5px}.menuLogin[data-v-5f8aca30]{display:flex;margin-top:10px;justify-content:space-around;margin-bottom:20px}.langBox[data-v-5f8aca30]{width:100%;display:flex;font-size:.6em;margin-top:18px;justify-content:space-around}[data-v-5f8aca30] .el-collapse-item__content{max-height:300px;overflow-y:auto}.el-radio[data-v-5f8aca30]{margin:0!important;margin-left:2px!important;font-size:.6em!important}.lgBTH[data-v-5f8aca30]{background:#651efe;color:#fff;padding:8px 23px}.reBTH[data-v-5f8aca30]{padding:8px 23px;color:#fff;background:#ff4181}[data-v-5f8aca30].el-dropdown-menu{left:40%!important;top:48px!important;padding-bottom:30px}.el-popper[x-placement^=bottom][data-v-5f8aca30]{min-width:60%!important}[data-v-5f8aca30] .el-collapse-item__header{border:none!important;height:36px!important;line-height:36px!important;background:#d2c4e8!important;margin-top:20px;border-radius:5px}.el-dropdown-menu__item[data-v-5f8aca30]:not(.is-disabled):hover,[data-v-5f8aca30].el-dropdown-menu__item:focus{padding:0}[data-v-5f8aca30] .el-collapse-item__wrap,[data-v-5f8aca30].el-collapse{border:none!important}.currencyBox[data-v-5f8aca30]{margin:0;padding:0;width:88%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto}.currencyBox li[data-v-5f8aca30]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.currencyBox li img[data-v-5f8aca30]{width:25px}.currencyBox li p[data-v-5f8aca30]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.accountBox[data-v-5f8aca30]{padding:8px 12px;font-size:.8rem;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1)}.accountBox .coinBox[data-v-5f8aca30],.accountBox[data-v-5f8aca30]{display:flex;align-items:center}.accountBox .coinBox img[data-v-5f8aca30]{width:20px}.accountBox .coinBox .coin[data-v-5f8aca30]{margin-left:5px}.accountBox .coin[data-v-5f8aca30]{text-transform:capitalize}.el-menu--horizontal>.el-submenu .el-submenu__title[data-v-5f8aca30]{color:#000}.el-menu--horizontal[data-v-5f8aca30]{background:transparent}.el-submenu[data-v-5f8aca30]:hover{background-color:transparent!important}.el-submenu.is-active[data-v-5f8aca30]:after{border-bottom:none!important;border-bottom-color:transparent!important;border:none!important;outline:none!important;background:transparent}.el-submenu__title:hover{background-color:transparent!important;background:transparent!important;color:#6e3edb!important}.el-menu-item.is-active:not(.is-index){border-bottom:none!important}.el-submenu.is-active,.el-submenu__title{border:none!important;border-bottom:none!important;border-bottom-color:transparent!important}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title{border-bottom:0!important}.el-submenu.is-active .el-submenu__title{border-bottom-color:transparent!important}.el-menu.el-menu--horizontal{border-bottom:0!important}.el-dropdown-menu__item,.el-menu-item{padding:0 10px!important}.el-submenu .el-menu-item[data-v-c3955b78]{padding-left:40px!important}[data-v-5b61c3ca]{margin:0;padding:0;box-sizing:border-box}.back-admin-layout[data-v-5b61c3ca]{width:100vw;height:100vh;background:#f5f6fa;overflow:hidden}.admin-header[data-v-5b61c3ca]{justify-content:space-between;height:15vh;background:#fff;border-bottom:1px solid #eee;padding:0 32px}.admin-header[data-v-5b61c3ca],.logo[data-v-5b61c3ca]{display:flex;align-items:center}.logo-img[data-v-5b61c3ca]{width:6vw;height:auto;margin-right:12px}.logo-title[data-v-5b61c3ca]{font-size:1vw;font-weight:700;color:rgba(0,0,0,.6)}.logo-sub[data-v-5b61c3ca]{font-size:12px;color:#888}.admin-header-right[data-v-5b61c3ca]{display:flex;align-items:center;gap:24px}.lang[data-v-5b61c3ca]{color:#333;font-size:14px;margin-left:16px}.admin-main[data-v-5b61c3ca]{background:#fff;margin:24px;border-radius:8px;padding:30px;min-width:0;min-height:0;box-shadow:0 2px 8px rgba(0,0,0,.04);display:flex;flex-direction:column;height:84vh;overflow:hidden}.main-title[data-v-5b61c3ca]{font-size:22px;font-weight:700;margin-bottom:18px}.main-filters[data-v-5b61c3ca]{margin-bottom:18px}.el-main[data-v-7e1a768d]{scrollbar-width:none;-ms-overflow-style:none;border-right:none}.containerApp[data-v-7e1a768d]{overflow-x:hidden}[data-v-7e1a768d]::-webkit-scrollbar{width:0;height:0}.el-header[data-v-7e1a768d]{height:8%!important;display:flex;justify-content:center;background-image:url(/img/bktop.91a777f0.png);background-position:60% 8%;background-size:cover;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.el-main[data-v-7e1a768d]{padding:0;overflow-y:auto}@media screen and (min-width:220px)and (max-width:1279px){.el-header[data-v-7e1a768d]{width:100%;background-image:none;height:auto!important;padding:0;box-shadow:0 0 3px 2px #ccc!important;margin:0 auto}.containerApp[data-v-7e1a768d]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/homebgtop.733f659d.png);background-repeat:no-repeat;background-size:115%;background-position:40% -2%}}.horizontal-broadcast-container[data-v-1553ea89]{width:100%;background:#fff;display:flex;align-items:center;padding:0 20px!important;position:relative;z-index:100;background:#e7dff3}.broadcast-header[data-v-1553ea89]{display:flex;align-items:center;margin-right:15px;flex-shrink:0}.broadcast-header i[data-v-1553ea89]{color:#5721e4;font-size:18px;margin-right:8px}.broadcast-header .broadcast-title[data-v-1553ea89]{color:#5721e4;font-weight:600;font-size:14px;white-space:nowrap}.horizontal-scroll-wrapper[data-v-1553ea89]{flex:1;overflow:hidden;position:relative;height:var(--fd811a88);border-radius:8px;cursor:pointer;display:flex;align-items:center}.horizontal-scroll-wrapper.full-width[data-v-1553ea89]{margin-right:0}.horizontal-scroll-content[data-v-1553ea89]{display:flex;align-items:center;height:100%;white-space:nowrap;will-change:transform}.horizontal-broadcast-item[data-v-1553ea89]{display:inline-flex;align-items:center;height:100%;margin-right:30px;flex-shrink:0;font-size:.85rem}.horizontal-broadcast-item .horizontal-item-content[data-v-1553ea89]{color:#333;font-size:14px;line-height:1.4;padding:0 15px;white-space:nowrap;transition:color .3s ease}.horizontal-broadcast-item .button-group[data-v-1553ea89]{display:inline-flex;align-items:center;gap:0}.horizontal-broadcast-item .horizontal-item-separator[data-v-1553ea89]{color:#ccc;margin:0 15px;font-size:12px}.horizontal-scroll-wrapper.is-hovering[data-v-1553ea89],.horizontal-scroll-wrapper[data-v-1553ea89]:hover{border-color:#5721e4;transition:all .3s ease}.horizontal-scroll-wrapper.is-hovering .horizontal-item-content[data-v-1553ea89]{font-weight:500;transition:all .3s ease}.horizontal-scroll-wrapper.is-hovering[data-v-1553ea89]:before{content:"";position:absolute;top:50%;right:8px;transform:translateY(-50%);width:6px;height:6px;background:#5721e4;border-radius:50%;animation:pausePulse-1553ea89 1.5s ease-in-out infinite;z-index:1}.view[data-v-1553ea89]{color:#5721e4;cursor:pointer;padding:2px 8px;border-radius:4px;transition:all .3s ease;white-space:nowrap;border:1px solid transparent}.view[data-v-1553ea89]:hover{background-color:#5721e4;color:#fff;border-color:#5721e4;transform:translateY(-1px)}.view[data-v-1553ea89]:active{transform:translateY(0)}@keyframes pausePulse-1553ea89{0%,to{opacity:.6;transform:translateY(-50%) scale(1)}50%{opacity:1;transform:translateY(-50%) scale(1.2)}}@media screen and (max-width:768px){.horizontal-broadcast-container[data-v-1553ea89]{padding:8px 15px}.horizontal-broadcast-container .broadcast-header[data-v-1553ea89]{margin-right:10px}.horizontal-broadcast-container .broadcast-header i[data-v-1553ea89]{font-size:16px;margin-right:5px}.horizontal-broadcast-container .broadcast-header .broadcast-title[data-v-1553ea89]{font-size:12px}.horizontal-broadcast-item[data-v-1553ea89]{margin-right:20px}.horizontal-broadcast-item .horizontal-item-content[data-v-1553ea89]{font-size:13px;padding:0 10px}.horizontal-broadcast-item .button-group[data-v-1553ea89]{margin-left:5px;gap:5px}.horizontal-broadcast-item .button-group .view[data-v-1553ea89]{font-size:12px;padding:1px 6px;margin-left:0}.horizontal-broadcast-item .horizontal-item-separator[data-v-1553ea89]{margin:0 10px}.horizontal-scroll-wrapper.is-hovering[data-v-1553ea89]:before{right:5px;width:4px;height:4px}}.horizontal-scroll-wrapper[data-v-1553ea89]::-webkit-scrollbar{display:none}@media screen and (min-width:220px)and (max-width:800px){.imgTop[data-v-196c2b91]{width:100%;text-align:center}.imgTop img[data-v-196c2b91]{width:100%}#chart[data-v-196c2b91]{height:400px!important}.moveCurrencyBox[data-v-196c2b91]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 18px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-196c2b91]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box;cursor:pointer}.moveCurrencyBox li img[data-v-196c2b91]{width:25px}.moveCurrencyBox li p[data-v-196c2b91]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.moveCurrencyBox li[data-v-196c2b91]:hover{transform:scale(1.05)}.currencySelect[data-v-196c2b91]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-196c2b91]{flex:1}.currencySelect .el-menu[data-v-196c2b91]{background:transparent}.currencySelect .coinSelect img[data-v-196c2b91]{width:25px}.currencySelect .coinSelect span[data-v-196c2b91]{text-transform:capitalize;margin-left:5px}.miningPoolLeft[data-v-196c2b91]{margin:0 auto;width:95%;min-height:300px;box-shadow:0 0 1px 1px #ccc;padding-top:18px;border-radius:10px;overflow:hidden;background:#fff}.miningPoolLeft .interval[data-v-196c2b91]{padding:0 8px;font-size:.7rem;width:100%;display:block}.miningPoolLeft .interval .timeBox[data-v-196c2b91]{padding:0 10px}.miningPoolLeft .interval .times[data-v-196c2b91]{width:15%;text-align:center;border-radius:10px;line-height:30px}.miningPoolLeft .interval .timeActive[data-v-196c2b91],.miningPoolLeft .interval .times[data-v-196c2b91]:hover{color:#5721e4}.miningPoolLeft .interval .chartBth .slideBox[data-v-196c2b91]{background-image:linear-gradient(90deg,#b6e6f1 0,#f8bbd0);padding:0 2px;border-radius:20px;display:flex;align-items:center;justify-content:left;height:30px;width:auto}.miningPoolLeft .interval .chartBth .slideBox span[data-v-196c2b91]{text-align:center;border-radius:20px;height:80%;line-height:25px;margin:0;transition:all .3s linear;padding:0 5px}.miningPoolLeft .interval .chartBth .slideActive[data-v-196c2b91]{background:#5721e4;color:#fff}.miningPoolLeft .timeBox[data-v-196c2b91]{width:100%;text-align:right}.miningPoolRight[data-v-196c2b91]{display:flex;justify-content:center;margin-top:10px;min-width:300px}.miningPoolRight ul[data-v-196c2b91]{padding:0;padding:0 2%;margin:0;height:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}.miningPoolRight ul li[data-v-196c2b91]{list-style:none;width:160px;height:80px;background:#fff;border-radius:5%;display:flex;align-items:center;justify-content:space-between;box-shadow:3px 3px 5px 2px #ccc;margin-top:18px;transition:all .2s linear}.miningPoolRight ul li .text[data-v-196c2b91]{height:90%;width:70%;padding-left:5%;overflow:hidden}.miningPoolRight ul li .text p[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.miningPoolRight ul li .text .content[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;margin-top:23%}.miningPoolRight ul li .imgIcon[data-v-196c2b91]{height:90%;width:30%;padding-top:5%}.miningPoolRight ul li .imgIcon img[data-v-196c2b91]{width:80%}.miningPoolRight ul li[data-v-196c2b91]:hover{box-shadow:0 0 5px 2px #d2c3ea}.miningPoolRight ul .ConnectMiningPool[data-v-196c2b91],.miningPoolRight ul .profitCalculation[data-v-196c2b91]{cursor:pointer}.reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:3%;padding-bottom:2%;background:transparent!important}.reportBlock .reportBlockBox[data-v-196c2b91]{width:96%!important;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear;padding:0!important;height:auto!important;margin-top:20px}.reportBlock .reportBlockBox .belowTable[data-v-196c2b91]{width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:100px}.reportBlock .reportBlockBox .belowTable ul[data-v-196c2b91]{width:100%;max-height:650px;min-height:200px;padding:0;margin:0;overflow:hidden;border-radius:10px!important;border:1px solid #ccc!important}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]{margin:0!important;border:none!important}.reportBlock .reportBlockBox .belowTable ul .table-title2[data-v-196c2b91]{position:sticky;top:0;background:#d2c3ea!important;color:#433278;font-weight:600;height:40px;display:flex;justify-content:space-around;padding-right:10px!important}.reportBlock .reportBlockBox .belowTable ul .table-title2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:40px;text-align:center}.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Height[data-v-196c2b91],.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Time[data-v-196c2b91]{width:50%}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]:nth-child(2n){background-color:#fff;background:#f8f8fa!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:40px;padding-right:20px!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{height:100%;width:50%;font-weight:600;text-align:center;font-size:.85rem;line-height:40px}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{background:#efefef;box-shadow:0 0 2px 1px rgba(0,0,0,.02);padding:0 10px;margin-top:10px;background:#f8f8fa;border:1px solid #efefef}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.Calculator[data-v-196c2b91]{width:100%;min-height:400px;background:rgba(0,0,0,.5);position:fixed;padding:20px;top:10%;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.Calculator .prop[data-v-196c2b91]{width:98%;height:98%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px;padding-bottom:50px}.Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:.95rem;color:rgba(0,0,0,.7);padding-left:3%}.Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:1.5rem;cursor:pointer;position:absolute;top:1px;right:10px}.Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:.85rem;color:rgba(0,0,0,.7)}.Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;width:100%}.Calculator .prop .content2 .item[data-v-196c2b91]{width:100%;margin-top:10px}.Calculator .prop .content2 .item p[data-v-196c2b91]{margin-bottom:8px;font-size:.9rem}.describeBox[data-v-196c2b91]{width:100%;text-align:center;margin:0!important;font-size:.85rem;overflow:hidden;max-height:100px}.describeBox p[data-v-196c2b91]{margin:0 auto;width:100%!important;text-align:left;padding:2px 5px!important;border-radius:0!important;display:flex;align-items:center!important}.describeBox p .describeTitle[data-v-196c2b91]{font-weight:700;margin-right:8px;color:#5721e4;max-width:63px;min-width:41px!important}.describeBox p i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.describeBox p .view[data-v-196c2b91]{cursor:pointer;margin-left:8px;color:#6e3edb;text-transform:uppercase}.describeBox p .view[data-v-196c2b91]:hover{color:#000}.describe-row[data-v-196c2b91]{width:100%!important;margin:0 auto;border-radius:0!important;display:flex;justify-content:left;padding:5px 0}.broadcast-scroll-item[data-v-196c2b91]{width:100%;display:flex;align-items:center;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.describeContent[data-v-196c2b91]{display:inline-block;max-width:70%;min-width:100px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.broadcast-scroll-list[data-v-196c2b91]{padding-left:5px!important}.view[data-v-196c2b91]{color:#5721e4;cursor:pointer;padding:2px 2px;transition:all .3s ease;border:1px solid transparent;max-width:8vw!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.view[data-v-196c2b91]:hover{background-color:#5721e4;color:#fff;transform:translateY(-1px);border-radius:8px}}@media screen and (min-width:800px)and (max-width:1279px){.imgTop[data-v-196c2b91]{width:100%;padding-left:20%;text-align:left}.imgTop img[data-v-196c2b91]{width:auto;height:300px}#chart[data-v-196c2b91]{height:400px!important}.moveCurrencyBox[data-v-196c2b91]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 18px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-196c2b91]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box;cursor:pointer}.moveCurrencyBox li img[data-v-196c2b91]{width:25px}.moveCurrencyBox li p[data-v-196c2b91]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.moveCurrencyBox li[data-v-196c2b91]:hover{transform:scale(1.05)}.currencySelect[data-v-196c2b91]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-196c2b91]{flex:1}.currencySelect .el-menu[data-v-196c2b91]{background:transparent}.currencySelect .coinSelect img[data-v-196c2b91]{width:25px}.currencySelect .coinSelect span[data-v-196c2b91]{text-transform:capitalize;margin-left:5px}.miningPoolLeft[data-v-196c2b91]{margin:0 auto;width:95%;min-height:300px;box-shadow:0 0 1px 1px #ccc;padding-top:18px;border-radius:10px;overflow:hidden;background:#fff}.miningPoolLeft .interval[data-v-196c2b91]{padding:0 8px;font-size:.7rem;width:100%;display:block}.miningPoolLeft .interval .timeBox[data-v-196c2b91]{padding:0 10px}.miningPoolLeft .interval .times[data-v-196c2b91]{width:15%;text-align:center;border-radius:10px;line-height:30px}.miningPoolLeft .interval .timeActive[data-v-196c2b91],.miningPoolLeft .interval .times[data-v-196c2b91]:hover{color:#5721e4}.miningPoolLeft .interval .chartBth .slideBox[data-v-196c2b91]{background-image:linear-gradient(90deg,#b6e6f1 0,#f8bbd0);padding:0 2px;border-radius:20px;display:flex;align-items:center;justify-content:left;height:30px;width:auto}.miningPoolLeft .interval .chartBth .slideBox span[data-v-196c2b91]{text-align:center;border-radius:20px;height:80%;line-height:25px;margin:0;transition:all .3s linear;padding:0 5px}.miningPoolLeft .interval .chartBth .slideActive[data-v-196c2b91]{background:#5721e4;color:#fff}.miningPoolLeft .timeBox[data-v-196c2b91]{width:100%;text-align:right}.miningPoolRight[data-v-196c2b91]{display:flex;justify-content:center;margin-top:10px;min-width:300px}.miningPoolRight ul[data-v-196c2b91]{padding:0;padding:0 2%;margin:0;height:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:left}.miningPoolRight ul li[data-v-196c2b91]{list-style:none;width:160px;height:80px;background:#fff;border-radius:5%;display:flex;align-items:center;justify-content:space-between;box-shadow:3px 3px 5px 2px #ccc;margin-top:18px;transition:all .2s linear;margin-left:2%}.miningPoolRight ul li .text[data-v-196c2b91]{height:90%;width:70%;padding-left:5%;overflow:hidden}.miningPoolRight ul li .text p[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.miningPoolRight ul li .text .content[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;margin-top:23%}.miningPoolRight ul li .imgIcon[data-v-196c2b91]{height:90%;width:30%;padding-top:5%}.miningPoolRight ul li .imgIcon img[data-v-196c2b91]{width:80%}.miningPoolRight ul li[data-v-196c2b91]:hover{box-shadow:0 0 5px 2px #d2c3ea}.miningPoolRight ul .ConnectMiningPool[data-v-196c2b91],.miningPoolRight ul .profitCalculation[data-v-196c2b91]{cursor:pointer}.reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:3%;padding-bottom:2%;background:transparent!important}.reportBlock .reportBlockBox[data-v-196c2b91]{width:96%!important;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear;padding:0!important;height:auto!important;margin-top:20px}.reportBlock .reportBlockBox .belowTable[data-v-196c2b91]{width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:100px}.reportBlock .reportBlockBox .belowTable ul[data-v-196c2b91]{width:100%;max-height:650px;min-height:200px;padding:0;margin:0;overflow:hidden;border-radius:10px!important;border:1px solid #ccc!important}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]{margin:0!important;border:none!important}.reportBlock .reportBlockBox .belowTable ul .table-title2[data-v-196c2b91]{position:sticky;top:0;background:#d2c3ea!important;color:#433278;font-weight:600;height:40px;display:flex;justify-content:space-around;padding-right:10px!important}.reportBlock .reportBlockBox .belowTable ul .table-title2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:40px;text-align:center}.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Height[data-v-196c2b91],.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Time[data-v-196c2b91]{width:50%}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]:nth-child(2n){background-color:#fff;background:#f8f8fa!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:40px;padding-right:20px!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{height:100%;width:50%;font-weight:600;text-align:center;font-size:.85rem;line-height:40px}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{background:#efefef;box-shadow:0 0 2px 1px rgba(0,0,0,.02);padding:0 10px;margin-top:10px;background:#f8f8fa;border:1px solid #efefef}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.Calculator[data-v-196c2b91]{width:100%;min-height:400px;background:rgba(0,0,0,.5);position:fixed;padding:20px;top:10%;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.Calculator .prop[data-v-196c2b91]{width:98%;height:98%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px;padding-bottom:50px}.Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:.95rem;color:rgba(0,0,0,.7);padding-left:3%}.Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:1.5rem;cursor:pointer;position:absolute;top:1px;right:10px}.Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:.85rem;color:rgba(0,0,0,.7)}.Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;width:100%}.Calculator .prop .content2 .item[data-v-196c2b91]{width:100%;margin-top:10px}.Calculator .prop .content2 .item p[data-v-196c2b91]{margin-bottom:8px;font-size:.9rem}.describeBox[data-v-196c2b91]{width:100%;text-align:center;margin:0!important;font-size:.85rem;overflow:hidden;max-height:100px}.describeBox p[data-v-196c2b91]{margin:0 auto;width:100%!important;text-align:left;padding:2px 5px!important;border-radius:0!important;display:flex;align-items:center!important}.describeBox p .describeTitle[data-v-196c2b91]{font-weight:700;margin-right:8px;color:#5721e4;max-width:63px;min-width:41px!important}.describeBox p i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.describeBox p .view[data-v-196c2b91]{cursor:pointer;margin-left:8px;color:#6e3edb;text-transform:capitalize}.describeBox p .view[data-v-196c2b91]:hover{color:#000}.describe-row[data-v-196c2b91]{width:100%!important;margin:0 auto;border-radius:0!important;display:flex;justify-content:left;padding:5px 0}.broadcast-scroll-item[data-v-196c2b91]{width:100%;display:flex;align-items:center;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.describeContent[data-v-196c2b91]{display:inline-block;max-width:70%;min-width:100px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.broadcast-scroll-list[data-v-196c2b91]{padding-left:5px!important}.view[data-v-196c2b91]{color:#5721e4;cursor:pointer;padding:2px 2px;transition:all .3s ease;border:1px solid transparent;max-width:8vw!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.view[data-v-196c2b91]:hover{background-color:#5721e4;color:#fff;transform:translateY(-1px);border-radius:8px}}@media screen and (min-width:500px)and (max-width:800px){.Calculator[data-v-196c2b91]{width:100%;min-height:400px;padding:20px;background:rgba(0,0,0,.5);position:fixed;top:25%;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.Calculator .prop[data-v-196c2b91]{width:80%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px;padding-bottom:50px}.Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:.95rem;color:rgba(0,0,0,.7);padding-left:3%}.Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:1.5rem;cursor:pointer;position:absolute;top:1px;right:10px}.Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:.85rem;color:rgba(0,0,0,.7)}.Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;width:100%}.Calculator .prop .content2 .item[data-v-196c2b91]{width:100%;margin-top:10px}.Calculator .prop .content2 .item p[data-v-196c2b91]{margin-bottom:8px;font-size:.9rem}}#boxTitle2[data-title][data-v-196c2b91]{position:relative;display:inline-block}#boxTitle2[data-title][data-v-196c2b91]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}#boxTitle2[data-title][data-v-196c2b91]:after{min-width:180px;max-width:300px;content:attr(data-title);position:absolute;padding:5px 10px;right:28px;border-radius:4px;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4px rgba(0,0,0,.16);font-size:.8em;visibility:hidden;opacity:0;text-align:center;overflow-wrap:break-word!important}.content[data-v-196c2b91]{width:100%;overflow-y:auto}.content .Calculator[data-v-196c2b91]{width:100%;height:100vh;background:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.content .Calculator .prop[data-v-196c2b91]{width:52%;height:45%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px 5px}.content .Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.content .Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:1.8em;color:rgba(0,0,0,.7);padding-left:3%}.content .Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:2em;cursor:pointer;position:absolute;top:1px;right:10px}.content .Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.content .Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.content .Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.content .Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.content .Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:1.2em;color:rgba(0,0,0,.7)}.content .Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.content .Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column}.content .Calculator .prop .content2 .titleS[data-v-196c2b91]{display:flex;justify-content:space-around;width:90%;margin-top:5%}.content .Calculator .prop .content2 .titleS span[data-v-196c2b91]{text-align:left;font-size:1.2em;color:rgba(0,0,0,.7)}.content .Calculator .prop .content2 .titleS .power[data-v-196c2b91]{width:40%}.content .Calculator .prop .content2 .titleS .time[data-v-196c2b91]{width:15%}.content .Calculator .prop .content2 .titleS .profit[data-v-196c2b91]{width:40%}.content .Calculator .prop .content2 .computingPower[data-v-196c2b91]{display:flex;height:50px;justify-content:space-around;width:90%;margin-top:1%}.content .bgBox[data-v-196c2b91]{width:100%;height:300px;box-sizing:border-box;position:relative;text-align:left}.content .bgBox .bgImg[data-v-196c2b91]{height:100%;width:auto;position:absolute;left:25vw;top:0}.content .bgBox .bgBoxImg[data-v-196c2b91]{height:100%;width:auto;position:absolute;left:23%;transition:all .3s linear}.content .bgBoxImg2Img[data-v-196c2b91]{width:73vw;height:40vh;margin:0 auto;overflow:hidden}.content .bgBoxImg[data-v-196c2b91]:hover{height:98%;position:absolute;left:23%}.content .container[data-v-196c2b91]{width:100%;display:flex;justify-content:center;height:80px}.content .container .containerBox[data-v-196c2b91]{width:80%;display:flex;background:#db7093;justify-content:center}.content .container .containerBox .image-list[data-v-196c2b91]{display:flex;padding:0 20px}.content .container .containerBox .image-list .imageBOX[data-v-196c2b91]{margin-left:10px;background:green;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:8px 10px}.content .container .containerBox .image-list img[data-v-196c2b91]{width:30px}.content .container .containerBox .image-list span[data-v-196c2b91]{text-align:center}.content .contentBox[data-v-196c2b91]{width:100%}.Currency2 .el-select[data-v-196c2b91]{width:80%!important}[data-v-196c2b91] .el-input__inner{height:50px}@media screen and (min-width:220px)and (max-width:1279px){[data-v-196c2b91] .el-input__inner{height:40px}}.contentBox[data-v-196c2b91]{width:100%;display:flex;justify-content:start;align-items:center;flex-direction:column}.contentBox .currencyDescription2[data-v-196c2b91]{width:100%;display:flex;justify-content:center;align-items:center}.contentBox .currencyDescription2 .miningPoolBox[data-v-196c2b91]{width:75%;padding:0 20px;margin:0 auto;font-size:.9rem}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft[data-v-196c2b91]{width:100%;height:80%;box-shadow:0 0 10px 3px #ccc;padding:20px 10px;border-radius:10px;transition:all .3s linear;height:380px;display:flex;justify-content:center;flex-direction:column;margin-top:10px;min-width:300px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval[data-v-196c2b91]{display:flex;justify-content:space-between;padding:2px 10px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval .chartBth .slideBox[data-v-196c2b91]{background-image:linear-gradient(90deg,#b6e6f1 0,#f8bbd0);padding:0 2px;border-radius:20px;display:flex;align-items:center;justify-content:center;height:30px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval .chartBth .slideBox span[data-v-196c2b91]{text-align:center;border-radius:20px;height:80%;line-height:25px;margin:0;transition:all .3s linear;padding:0 5px;overflow:hidden;text-overflow:ellipsis}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval .chartBth .slideActive[data-v-196c2b91]{background:#5721e4;color:#fff}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .timeBox[data-v-196c2b91]{padding:0 10px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .timeBox span[data-v-196c2b91]{margin-left:8px;cursor:pointer}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .times[data-v-196c2b91]{width:15%;text-align:center;border-radius:10px;font-size:.9rem;line-height:30px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .timeActive[data-v-196c2b91],.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .times[data-v-196c2b91]:hover{color:#5721e4}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 5px #d2c3e9}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight[data-v-196c2b91]{width:100%;display:flex;justify-content:center;margin-top:10px;min-width:300px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul[data-v-196c2b91]{padding:0;padding:0 10px;margin:0;height:100%;display:flex;align-items:center;flex-wrap:wrap}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul .dataBlock[data-v-196c2b91]{margin:0;margin-left:3%}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li[data-v-196c2b91]{list-style:none;width:30%;height:110px;background:#fff;border-radius:5%;display:flex;align-items:center;justify-content:space-between;box-shadow:3px 3px 5px 2px #ccc;margin-top:3%;transition:all .2s linear;margin-left:3%;overflow:hidden;text-overflow:ellipsis}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .text[data-v-196c2b91]{height:90%;width:70%;padding-left:5%;overflow:hidden}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .text p[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;font-size:.85rem;margin-top:5px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .text .content[data-v-196c2b91]{overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;margin-top:5px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .imgIcon[data-v-196c2b91]{height:90%;width:30%;padding-top:5%}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .imgIcon img[data-v-196c2b91]{width:80%}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li[data-v-196c2b91]:hover{box-shadow:0 0 5px 2px #d2c3ea}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul .ConnectMiningPool[data-v-196c2b91],.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul .profitCalculation[data-v-196c2b91]{cursor:pointer}.contentBox .currencyDescription2 .currencyDescriptionBox[data-v-196c2b91]{width:90%;height:600px;box-shadow:0 0 3px 1px #ccc;margin-top:2%;display:flex;justify-content:start;flex-direction:column;align-items:center;position:relative}.contentBox .currencyDescription2 .currencyDescriptionBox .titleBOX[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;padding:20px 10px;width:100%;border-bottom:1px solid rgba(0,0,0,.1)}.contentBox .currencyDescription2 .currencyDescriptionBox .titleBOX h3[data-v-196c2b91]{width:90%;font-size:1rem;text-align:center}.contentBox .currencyDescription2 .currencyDescriptionBox .titleBOX .titleCurrency[data-v-196c2b91]:hover{background:rgba(223,83,52,.05);font-size:13px;box-shadow:0 0 5px 3px rgba(223,83,52,.05)}.contentBox .currencyDescription2 .currencyDescriptionBox .titleCurrency[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8px 10px;border-radius:22px;font-weight:600;margin-left:30px;font-size:1.1em;margin-right:1%;position:absolute;top:10px;right:60px;transition:all .2s linear}.contentBox .currencyDescription2 .currencyDescriptionBox .titleCurrency img[data-v-196c2b91]{width:35px;margin-left:1%}.contentBox .currencyDescription2 .currencyDescriptionBox .titleCurrency span[data-v-196c2b91]{margin-top:10px;text-transform:capitalize}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower[data-v-196c2b91]{height:15%;width:100%;display:flex;justify-content:space-around;align-items:center;font-size:1.3em;margin:10px 10px}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower .PowerBox[data-v-196c2b91]{display:flex;flex-direction:column;justify-content:center;align-content:center}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower span[data-v-196c2b91]{cursor:pointer;width:100%;text-align:center;transition:all .2s linear}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower span[data-v-196c2b91]:hover{color:#df5334;font-weight:600}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower .Power[data-v-196c2b91]{font-size:1.5em}.contentBox .currencyDescription2 .currencyDescriptionBox p[data-v-196c2b91]{width:80%;margin:0;font-size:1em;margin-top:3px;margin-left:5%;text-align:left;height:8%;padding:0 10px;line-height:50px;box-shadow:0 0 2px 1px #ccc;margin-top:1%}.contentBox .reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:1%;padding-bottom:2%;background:#433278}.contentBox .reportBlock .reportBlockBox[data-v-196c2b91]{width:75%;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear}.contentBox .reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.contentBox .EchartsBox[data-v-196c2b91]{width:80%;min-height:300px}.contentBox .EchartsBox .chart[data-v-196c2b91]{height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.contentBox .formBox[data-v-196c2b91]{width:80%;min-height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:3%;padding-bottom:2%}.reportBlock .reportBlockBox[data-v-196c2b91]{width:75%;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear}.reportBlock .reportBlockBox .top[data-v-196c2b91]{width:100%;height:28%;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(0,0,0,.1);padding:20px 0;color:#fff;font-weight:600;font-size:1.2em}.reportBlock .reportBlockBox .top .lucky[data-v-196c2b91]{display:flex;align-items:center;flex-direction:column;justify-content:center}.reportBlock .reportBlockBox .top .lucky .luckyNum[data-v-196c2b91]{font-size:1.8em}.reportBlock .reportBlockBox .top .lucky .luckyText[data-v-196c2b91]{font-size:1em;margin-top:5%}.reportBlock .reportBlockBox .top div[data-v-196c2b91]{width:20%;background:#2eaeff;height:100%;display:flex;align-items:center;justify-content:space-around;margin-left:3%;border-radius:15px;box-shadow:0 8px 20px 0 rgba(46,174,255,.5)}.reportBlock .reportBlockBox .belowTable[data-v-196c2b91]{width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:100px}.reportBlock .reportBlockBox .belowTable ul[data-v-196c2b91]{width:100%;max-height:650px;min-height:200px;padding:0;margin:0;overflow:hidden}.reportBlock .reportBlockBox .belowTable ul .table-title[data-v-196c2b91]{position:sticky;top:0;background:#d2c3ea;padding:0 10px;color:#433278;font-weight:600}.reportBlock .reportBlockBox .belowTable ul .table-title .hash[data-v-196c2b91]{width:58%;text-align:left;margin-left:5%}.reportBlock .reportBlockBox .belowTable ul .table-title .blockRewards[data-v-196c2b91]{width:18%;font-weight:600;font-size:.95em;text-align:left;margin-left:1%}.reportBlock .reportBlockBox .belowTable ul .table-title .transactionFee[data-v-196c2b91]{width:18%;font-weight:600;font-size:.95em}.reportBlock .reportBlockBox .belowTable ul .table-title span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.95em}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]:nth-child(2n){background-color:#fff;background:#f8f8fa}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:60px}.reportBlock .reportBlockBox .belowTable ul li span[data-v-196c2b91]{height:100%;width:20%;line-height:60px;font-weight:600;text-align:center;font-size:.95rem}.reportBlock .reportBlockBox .belowTable ul .currency-list[data-v-196c2b91]{background:#efefef;box-shadow:0 0 2px 1px rgba(0,0,0,.02);padding:0 10px;margin-top:10px;background:#f8f8fa;border:1px solid #efefef}.reportBlock .reportBlockBox .belowTable ul .currency-list span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox .belowTable ul .currency-list .hash[data-v-196c2b91]{width:58%;margin-left:5%;text-align:left}.reportBlock .reportBlockBox .belowTable ul .currency-list .reward[data-v-196c2b91]{width:18%;text-align:left;margin-left:1%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.interval span[data-v-196c2b91]{margin-left:10px;cursor:pointer;transition:all .2s linear}.interval span[data-v-196c2b91]:hover{color:#2eaeff}.footerBox[data-v-196c2b91]{justify-content:space-around;width:100%;height:300px;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,80%,.1)}.footerSon[data-v-196c2b91]{width:33.3333333333%;height:80%;border-right:1px solid rgba(0,0,0,.1)}.active[data-v-196c2b91]{background:#6e3edb;color:#fff}.el-card[data-v-196c2b91]{background:transparent;padding-left:12%;box-shadow:none;border:none}.monitor-list[data-v-196c2b91]{display:flex;justify-content:space-between;height:9vh;width:86%;box-shadow:0 0 10px 3px #ccc;border-radius:5px;background:#fff}.monitor-list i[data-v-196c2b91]{font-size:.8em}.monitor-list .btn[data-v-196c2b91]{width:50px;height:100%;line-height:9vh;text-align:center;cursor:pointer;background-color:#ecf5ff;font-size:24px;color:#000;background:#d2c3e9;transition:all .3s linear}.monitor-list .btn[data-v-196c2b91]:hover{background-color:#e0dfff}.monitor-list .left[data-v-196c2b91]{border-radius:5px 0 0 5px;box-shadow:0 0 5px 1px #ccc}.monitor-list .right[data-v-196c2b91]{border-radius:0 5px 5px 0;box-shadow:0 0 5px 1px #ccc}.monitor-list .list-box[data-v-196c2b91]{width:calc(100vw - 100px);overflow:hidden;display:flex;align-items:center;justify-items:center}.monitor-list .list-box .list[data-v-196c2b91]{width:100%;transform:all 2s;display:flex;align-items:center;justify-items:center;padding-left:2%;height:90%;position:relative;left:0;transition:left 1s}.monitor-list .list-box .list .list-item[data-v-196c2b91]{width:120px;height:95%;text-align:center;cursor:pointer;margin-left:18px;display:flex;flex-direction:column;align-items:center;justify-content:space-around;border-radius:10px;transition:all .3s linear;padding:5px}.monitor-list .list-box .list .list-item span[data-v-196c2b91]{width:100%;height:25%;border-radius:5px;padding:0 2px;text-transform:capitalize;font-size:.8rem;display:flex;align-items:center;justify-content:center}.monitor-list .list-box .list .list-item img[data-v-196c2b91]{width:2.3vw}.monitor-list .list-box .list .list-item[data-v-196c2b91]:hover{font-size:1rem;box-shadow:0 0 3px 1px rgba(210,195,234,.8)}.monitor-list .list-box .list .list-item:hover span[data-v-196c2b91]{background:#6e3edb;color:#fff}.monitor-list .list-box .list .list-item:hover img[data-v-196c2b91]{width:38px}.timeActive[data-v-196c2b91]{color:#5721e4}.describeBox[data-v-196c2b91]{width:100%;text-align:center;margin-top:30px;font-size:.85rem;overflow:hidden;max-height:100px}.describeBox p[data-v-196c2b91]{margin:0 auto;width:72%;text-align:left;padding:0 20px;background:#e7dff3;border-radius:8px;padding:10px 20px;display:flex;align-items:start}.describeBox p .describeTitle[data-v-196c2b91]{font-weight:600;color:#6e3edb}.describeBox p i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.describeBox p .view[data-v-196c2b91]{cursor:pointer;margin-left:8px;color:#6e3edb;text-transform:capitalize}.describeBox p .view[data-v-196c2b91]:hover{color:#000}.describe-row[data-v-196c2b91]{width:73%;margin:0 auto;background:#e7dff3;border-radius:8px;display:flex;justify-content:left;padding:5px 0}.describeTitle[data-v-196c2b91]{font-weight:700;margin-right:8px;color:#5721e4}.broadcast-scroll-wrap[data-v-196c2b91]{display:inline-block;min-width:0;height:30px;position:relative}.broadcast-scroll-list[data-v-196c2b91]{display:flex;flex-direction:column;text-align:left;padding:0;padding-left:18px}.broadcast-scroll-item[data-v-196c2b91]{width:100%;display:flex;align-items:center;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.describeContent[data-v-196c2b91]{display:inline-block;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.describeTitle[data-v-196c2b91]{font-weight:600;color:#6e3edb}i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.view[data-v-196c2b91]{margin-left:8px;color:#6e3edb}.view[data-v-196c2b91]:hover{color:#000}.button-group[data-v-196c2b91]{display:inline-flex;align-items:center;gap:0}.horizontal-item-separator[data-v-196c2b91]{color:#ccc;margin:0 15px;font-size:12px}.view[data-v-196c2b91]{color:#5721e4;cursor:pointer;padding:2px 2px;transition:all .3s ease;border:1px solid transparent;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.view[data-v-196c2b91]:hover{background-color:#5721e4;color:#fff;transform:translateY(-1px);border-radius:8px}.el-input.is-disabled .el-input__inner{color:rgba(0,0,0,.8)}@media screen and (min-width:220px) and (max-width:1279px){.el-menu--horizontal{width:100%}}.fade-enter-active[data-v-763fcf11],.fade-leave-active[data-v-763fcf11]{transition:all .3s}.fade-enter[data-v-763fcf11],.fade-leave-to[data-v-763fcf11]{opacity:0;transform:scale(.8);-ms-transform:scale(.8);-webkit-transform:scale(.8)}.slide-fade-enter-active[data-v-763fcf11],.slide-fade-leave-active[data-v-763fcf11]{transition:all .3s ease}.slide-fade-enter[data-v-763fcf11],.slide-fade-leave-to[data-v-763fcf11]{transform:translateY(6PX);-ms-transform:translateY(6PX);-webkit-transform:translateY(6PX);opacity:0}.m-tooltip[data-v-763fcf11]{position:absolute;top:0;z-index:999;padding-bottom:6PX}.m-tooltip .u-tooltip-content[data-v-763fcf11]{padding:10PX;margin:0 auto;word-break:break-all;word-wrap:break-word;border-radius:4PX;font-weight:400;font-size:14PX;background:rgba(0,0,0,.5);color:#fff}.m-tooltip .u-tooltip-arrow[data-v-763fcf11]{margin:0 auto;width:0;height:0;border-left:2PX solid transparent;border-right:2PX solid transparent;border-top:4PX solid rgba(0,0,0,.5)}@media screen and (min-width:220px)and (max-width:1279px){[data-v-0a0e912e]::-webkit-scrollbar{width:0!important;height:0}[data-v-0a0e912e]::-webkit-scrollbar-thumb{background-color:#d2c3e9;border-radius:20PX}[data-v-0a0e912e]::-webkit-scrollbar-track{background-color:#f0f0f0}.accountInformation[data-v-0a0e912e]{width:100%;height:33px!important;background:rgba(0,0,0,.5);position:fixed;top:61px!important;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001;line-height:33px!important}.accountInformation img[data-v-0a0e912e]{width:18px!important}.accountInformation i[data-v-0a0e912e]{color:#fff;font-size:.95rem!important;margin-left:10px}.accountInformation .coin[data-v-0a0e912e]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize;font-size:.8rem!important}.accountInformation .ma[data-v-0a0e912e]{font-weight:400!important;color:#fff;margin-left:10px;font-size:.9rem!important}.profitTop[data-v-0a0e912e]{width:100%;height:auto;display:flex;flex-wrap:wrap;justify-content:space-around;padding-top:40px}.profitTop .box[data-v-0a0e912e]{width:45%;height:80px;background:#fff;margin-top:10px;display:flex;flex-direction:column;align-items:left;justify-content:space-around;padding:8px;font-size:.9rem;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance[data-v-0a0e912e]{width:95%;display:flex;justify-content:space-between;padding:15px 15px;background:#fff;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance .box2[data-v-0a0e912e]{display:flex;flex-direction:column;align-items:left;font-size:.9rem}.profitTop .accountBalance .el-button[data-v-0a0e912e]{background:#661fff;color:#fff}.profitBtm2[data-v-0a0e912e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;padding:8px;font-size:.95rem;background:#fff}.profitBtm2 .right[data-v-0a0e912e]{width:100%;height:95%;background:#fff;transition:all .2s linear}.profitBtm2 .right .intervalBox[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;padding:5px 10px}.profitBtm2 .right .intervalBox .title[data-v-0a0e912e]{text-align:center;font-size:.95rem;color:rgba(0,0,0,.8)}.profitBtm2 .right .intervalBox .times[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;cursor:pointer;font-size:.8rem;margin-top:5px}.profitBtm2 .right .intervalBox .times span[data-v-0a0e912e]{min-width:55px;text-align:center;border-radius:20px;margin:0}.profitBtm2 .right .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.barBox[data-v-0a0e912e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;font-size:.95rem;background:#fff}.barBox .lineBOX[data-v-0a0e912e]{width:100%;height:98%;padding:10px 20px;transition:all .2s linear}.barBox .lineBOX .intervalBox[data-v-0a0e912e]{font-size:.9rem}.barBox .lineBOX .intervalBox .title[data-v-0a0e912e]{text-align:left;font-size:.95rem;color:rgba(0,0,0,.8)}.barBox .lineBOX .intervalBox .timesBox[data-v-0a0e912e]{width:100%;text-align:right;display:flex;justify-content:right}.barBox .lineBOX .intervalBox .timesBox .times2[data-v-0a0e912e]{max-width:47%;display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;font-size:.8rem;margin-top:5px}.barBox .lineBOX .intervalBox .timesBox .times2 span[data-v-0a0e912e]{text-align:center;padding:0 15px;border-radius:20px;margin:0}.barBox .lineBOX .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.searchBox[data-v-0a0e912e]{width:92%;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden;margin:0 auto;margin-top:25px}.searchBox .inout[data-v-0a0e912e]{border:none;outline:none;padding:0 10px;background:transparent}.searchBox i[data-v-0a0e912e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box[data-v-0a0e912e]{margin-top:8px!important;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%;font-size:.95rem}.top3Box .tabPageBox[data-v-0a0e912e]{width:98%!important;display:flex;justify-content:center;flex-direction:column;margin-bottom:10px}.top3Box .tabPageBox .activeHeadlines[data-v-0a0e912e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-0a0e912e]{width:100%!important;height:60px;display:flex;align-items:end;position:relative;padding:0!important;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]{position:relative;display:inline-block;filter:drop-shadow(0 -5px 10px rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-0a0e912e]{display:inline-block;width:130px!important;height:40px;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-0a0e912e]{width:10%;height:60px;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20px 20px 10px 10px rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-0a0e912e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-0a0e912e]{position:absolute;left:94px!important;z-index:98}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-0a0e912e]{position:absolute;left:188px!important;z-index:97}.top3Box .tabPageBox .page[data-v-0a0e912e]{width:100%;min-height:380px!important;box-shadow:5px 4px 8px 5px rgba(0,0,0,.1);z-index:999;margin-top:-3px;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-0a0e912e]{min-height:300px!important}.top3Box .tabPageBox .page .minerPagination[data-v-0a0e912e]{margin:0 auto;margin-top:30px;margin-bottom:30px}.top3Box .tabPageBox .page .minerTitleBox[data-v-0a0e912e]{width:100%;height:40px;background:#efefef;padding:0!important}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-0a0e912e]{width:100%!important;font-weight:600;display:flex;justify-content:left}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-0a0e912e]{display:inline-block;cursor:pointer;margin-left:18!important;padding:0!important;font-size:.9rem}.top3Box .tabPageBox .page .TitleAll[data-v-0a0e912e]{background:#d2c3ea;height:60px!important;display:flex;justify-content:left;align-items:center;padding:0!important;padding-left:5px!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]:first-of-type{width:25%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]:nth-of-type(2){width:35%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]:nth-of-type(3){width:40%!important;padding-left:0!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]{font-size:.9rem;text-align:left;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .elTabs3[data-v-0a0e912e]{width:70%;position:relative}.top3Box .elTabs3 .searchBox[data-v-0a0e912e]{width:25%;position:absolute;right:0;top:-5px;z-index:99999;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-0a0e912e]{border:none;outline:none;padding:0 10px}.top3Box .elTabs3 .searchBox i[data-v-0a0e912e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-0a0e912e]{width:98%;margin-left:2%;margin-top:1%;min-height:600px}.top3Box .accordionTitle[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitle span[data-v-0a0e912e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0!important;padding-left:5px!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]:first-of-type{width:25%!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]:nth-of-type(2){width:35%!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]:nth-of-type(3){width:40%!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .Title[data-v-0a0e912e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 30px}.top3Box .Title span[data-v-0a0e912e]{width:24.5%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-0a0e912e]{height:40px!important;display:flex;justify-content:left;align-items:center;padding:0!important;background:#efefef;padding-left:5px!important}.top3Box .totalTitleAll span[data-v-0a0e912e]:first-of-type{width:25%!important}.top3Box .totalTitleAll span[data-v-0a0e912e]:nth-of-type(2){width:35%!important}.top3Box .totalTitleAll span[data-v-0a0e912e]:nth-of-type(3){width:40%!important}.top3Box .totalTitleAll span[data-v-0a0e912e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .totalTitle[data-v-0a0e912e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 20px;background:#efefef}.top3Box .totalTitle span[data-v-0a0e912e]{width:24.25%;text-align:left}.top3Box .miningMachine[data-v-0a0e912e]{background:#fff;box-shadow:0 0 3px 1px #ccc;overflow:hidden;border-radius:5px}.top3Box .miningMachine .belowTable[data-v-0a0e912e]{border-radius:5px!important;width:100%!important;margin-bottom:20px!important}.top3Box .payment .belowTable[data-v-0a0e912e]{box-shadow:0 0 3px 1px #ccc}.top3Box .payment .belowTable .table-title[data-v-0a0e912e]{height:50px;display:flex;align-items:center;background:#d2c3ea;color:#433278;font-weight:600;width:100%;font-size:.8rem!important;overflow:hidden}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]{display:inline-block;text-align:left}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]:first-of-type{width:200px;padding-left:10px}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]:nth-of-type(2){width:300px;text-align:left}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]:nth-of-type(3){width:300px}.top3Box .payment .belowTable .el-collapse[data-v-0a0e912e]{width:100%;max-height:500px;overflow-y:auto;min-height:200px}.top3Box .payment .belowTable .paymentCollapseTitle[data-v-0a0e912e]{display:flex;justify-content:left;align-items:center;width:100%;overflow:hidden}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]{display:inline-block;text-align:left}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]:first-of-type{width:200px;padding-left:10px}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]:nth-of-type(2){width:300px}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]:nth-of-type(3){width:260px}.top3Box .payment .belowTable .dropDownContent[data-v-0a0e912e]{width:100%;padding:0 10px;word-wrap:break-word}.top3Box .payment .belowTable .dropDownContent div[data-v-0a0e912e]{margin-top:8px}.top3Box .payment .belowTable .copy[data-v-0a0e912e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.el-collapse[data-v-0a0e912e]{max-height:500px!important;overflow-y:auto}.table-item[data-v-0a0e912e]{display:flex;height:59px;width:100%;align-items:center;justify-content:space-around;padding:8px}.table-item div[data-v-0a0e912e]{width:50%;display:flex;align-items:center;flex-direction:column;justify-content:space-around;height:100%}.table-item div p[data-v-0a0e912e]{text-align:left}.table-itemOn[data-v-0a0e912e]{display:flex;height:59px;width:100%;align-items:center;justify-content:left;padding:8px}.table-itemOn div[data-v-0a0e912e]{width:50%;display:flex;align-items:left;flex-direction:column;justify-content:space-around;height:100%}.table-itemOn div p[data-v-0a0e912e]{text-align:left}.chartTitle[data-v-0a0e912e]{padding-left:3%;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6);font-size:.9rem!important}[data-v-0a0e912e] .el-collapse-item__header{height:45px!important}.belowTable[data-v-0a0e912e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;margin:0 auto;padding:0;margin-top:-1px;margin-bottom:50px}.belowTable ul[data-v-0a0e912e]{width:100%;min-height:200px;max-height:690px;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50px}.belowTable ul .table-title[data-v-0a0e912e]{position:sticky;top:0;background:#d2c3ea;padding:0 5px!important;color:#433278;font-weight:600;height:50px!important}.belowTable ul li[data-v-0a0e912e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:40px!important;background:#f8f8fa}.belowTable ul li span[data-v-0a0e912e]{width:33.3333333333%!important;font-size:.8rem!important;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li[data-v-0a0e912e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-0a0e912e]{background:#efefef;padding:0!important;background:#f8f8fa;margin-top:5px!important;border:1px solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-0a0e912e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-0a0e912e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-0a0e912e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-0a0e912e]:hover{cursor:pointer;color:#2889fc;font-weight:600}[data-v-0a0e912e] .el-pager li{min-width:19px}[data-v-0a0e912e] .el-pagination .el-select .el-input{margin:0}[data-v-0a0e912e] .el-pagination .btn-next{padding:0!important;min-width:auto}}.activeState[data-v-0a0e912e]{color:red!important}.sort[data-v-0a0e912e]{font-size:.95rem;cursor:pointer;color:#1e52e8}.sort[data-v-0a0e912e]:hover{color:#433299}.boxTitle[data-title][data-v-0a0e912e]{position:relative;display:inline-block}.boxTitle[data-title][data-v-0a0e912e]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}.boxTitle[data-title][data-v-0a0e912e]:after{min-width:180px;max-width:300px;content:attr(data-title);position:absolute;padding:5px 10px;right:28px;border-radius:4px;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4px rgba(0,0,0,.16);font-size:.8rem;visibility:hidden;opacity:0;text-align:center;z-index:999}[data-v-0a0e912e] .el-collapse-item__header{background:transparent;height:60px}.item-even[data-v-0a0e912e]{background-color:#fff}.item-odd[data-v-0a0e912e]{background-color:#efefef}.miningAccount[data-v-0a0e912e]{width:100%;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 30%;background-repeat:no-repeat;background-position:0 -8%;padding-top:60px}.accountInformation[data-v-0a0e912e]{width:100%;height:30px;background:rgba(0,0,0,.5);position:fixed;top:8%;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.accountInformation img[data-v-0a0e912e]{width:23px}.accountInformation i[data-v-0a0e912e]{color:#fff;font-size:1.5em;margin-left:10px}.accountInformation .coin[data-v-0a0e912e]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize}.accountInformation .ma[data-v-0a0e912e]{font-weight:600;color:#fff;margin-left:10px}.DropDownChart[data-v-0a0e912e]{width:100%;height:500px}.circularDots2[data-v-0a0e912e],.circularDots3.circularDots3[data-v-0a0e912e]{width:11px!important;height:11px!important;border-radius:50%;display:inline-block;border:2px solid #ccc}.circularDots3.circularDots3[data-v-0a0e912e]{margin:0;padding:0!important}.activeCircular[data-v-0a0e912e]{width:11px!important;height:11px!important;border-radius:50%;border:none!important;background:radial-gradient(circle at center,#ebace3,#9754f1)}.chartTitle[data-v-0a0e912e]{padding-left:3%;font-size:1.3em;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6)}.circularDots[data-v-0a0e912e]{display:inline-block;width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at center,#ebace3,#9754f1)}.circularDotsOnLine[data-v-0a0e912e]{display:inline-block;width:8px;background:#17cac7;height:8px;border-radius:50%}.circularDotsOffLine[data-v-0a0e912e]{display:inline-block;width:8px;background:#ff6565;height:8px;border-radius:50%}.profitBox[data-v-0a0e912e]{width:70%;min-height:650px;padding:20px 1%}.profitBox .paymentSettingBth[data-v-0a0e912e]{width:100%;text-align:right;margin-top:18px}.profitBox .paymentSettingBth .el-button[data-v-0a0e912e]{background:#7245e8;color:#fff;padding:13px 40px;border-radius:8px}.profitBox .profitTop[data-v-0a0e912e]{display:flex;min-height:20%;align-items:center;justify-content:space-between;margin:0 auto;font-size:.95rem}.profitBox .profitTop .box[data-v-0a0e912e]{width:230px;height:100px;background:#fff;box-shadow:0 0 10px 1px #ccc;border-radius:3%;transition:all .2s linear;padding:0;margin-left:8px}.profitBox .profitTop .box .paymentSettings[data-v-0a0e912e]{display:flex}.profitBox .profitTop .box .paymentSettings span[data-v-0a0e912e]{width:45%;background:#661fff;color:#fff;border-radius:5px;cursor:pointer;text-align:center;padding:0;display:inline-block;line-height:25px}.profitBox .profitTop .box .paymentSettings span[data-v-0a0e912e]:hover{background:#7a50e7;color:#fff}.profitBox .profitTop .box span[data-v-0a0e912e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 20px}.profitBox .profitTop .box span span[data-v-0a0e912e]{width:8%}.profitBox .profitTop .box span img[data-v-0a0e912e]{width:18px;margin-left:5px}.profitBox .profitTop .box .text[data-v-0a0e912e]{justify-content:right;font-weight:600}.profitBox .profitTop .box[data-v-0a0e912e]:hover{box-shadow:10px 5px 10px 3px #e4dbf3}.profitBox .profitBtm[data-v-0a0e912e]{height:600px;width:100%;display:flex;align-items:center;justify-content:space-between}.profitBox .profitBtm .left[data-v-0a0e912e]{width:23%;height:90%;background:#fff;box-shadow:0 0 5px 2px #ccc;border-radius:3%;display:flex;flex-direction:column}.profitBox .profitBtm .left .box[data-v-0a0e912e]{width:100%;height:80%;background:#fff;border-radius:3%}.profitBox .profitBtm .left .box span[data-v-0a0e912e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 25px}.profitBox .profitBtm .left .box .text[data-v-0a0e912e]{justify-content:right;font-weight:600}.profitBox .profitBtm .left .bth[data-v-0a0e912e]{width:100%;text-align:center}.profitBox .profitBtm .left .bth .el-button[data-v-0a0e912e]{width:60%;background:#661fff;color:#fff}.profitBox .profitBtm .right[data-v-0a0e912e]{width:100%;height:90%;background:#fff;box-shadow:0 0 10px 3px #ccc;border-radius:15px;padding:10px 10px;transition:all .2s linear}.profitBox .profitBtm .right .intervalBox[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:.9rem}.profitBox .profitBtm .right .intervalBox .title[data-v-0a0e912e]{text-align:center;font-size:1.1em}.profitBox .profitBtm .right .intervalBox .times[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;cursor:pointer}.profitBox .profitBtm .right .intervalBox .times span[data-v-0a0e912e]{min-width:55px;text-align:center;border-radius:20px;margin:0}.profitBox .profitBtm .right .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.profitBox .profitBtm .right[data-v-0a0e912e]:hover{box-shadow:0 0 20px 3px #e4dbf3}.top1Box[data-v-0a0e912e]{width:90%;height:400px;background-image:linear-gradient(90deg,#1e52e8 0,#1e52e8 80%,#0bb7bf);border-radius:10px;color:#fff;font-size:1.3em;display:flex;flex-direction:column}.top1Box .top1BoxOne[data-v-0a0e912e]{height:12%;background:rgba(0,0,0,.3);border-radius:28px 1px 100px 1px;width:800px;padding:5px 20px;line-height:40px}.top1Box .top1BoxTwo[data-v-0a0e912e]{flex:1;width:100%;display:flex;flex-wrap:wrap;justify-content:left;align-items:center;padding:0 100px}.top1Box .top1BoxTwo div[data-v-0a0e912e]{display:flex;flex-direction:column}.top1Box .top1BoxTwo div .income[data-v-0a0e912e]{margin-top:20px;font-size:1.5em}.top1Box .top1BoxTwo .content[data-v-0a0e912e]{position:relative;padding:0 50px;width:25%}.top1Box .top1BoxTwo .iconLine[data-v-0a0e912e]{width:1px;background:hsla(0,0%,100%,.6);height:50%;position:absolute;right:0;top:25%}.top1Box .top1BoxThree[data-v-0a0e912e]{height:13%;background:rgba(0,0,0,.4);display:flex;justify-content:center;align-items:center}.top1Box .top1BoxThree .onlineSituation[data-v-0a0e912e]{width:50%;display:flex;justify-content:center;align-items:center;font-size:.8em}.top1Box .top1BoxThree .onlineSituation div[data-v-0a0e912e]{width:33.3333333333%;text-align:center}.top1Box .top1BoxThree .onlineSituation .whole[data-v-0a0e912e]{color:#fff}.top1Box .top1BoxThree .onlineSituation .onLine[data-v-0a0e912e]{color:#04c904}.top1Box .top1BoxThree .onlineSituation .off-line[data-v-0a0e912e]{color:#ef6565}.top2Box[data-v-0a0e912e]{margin-top:1%;width:70%;height:500px;display:flex;justify-content:center;margin-bottom:2%;padding:0 1%}.top2Box .lineBOX[data-v-0a0e912e]{width:100%;padding:10px 20px;border-radius:15px;box-shadow:0 0 10px 3px #ccc;transition:all .2s linear;background:#fff}.top2Box .lineBOX .intervalBox[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:.9rem}.top2Box .lineBOX .intervalBox .title[data-v-0a0e912e]{text-align:center;font-size:1.1em}.top2Box .lineBOX .intervalBox .times[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4}.top2Box .lineBOX .intervalBox .times span[data-v-0a0e912e]{text-align:center;padding:0 15px;border-radius:20px;margin:0}.top2Box .lineBOX .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.top2Box .lineBOX[data-v-0a0e912e]:hover{box-shadow:0 0 20px 3px #e4dbf3}.top2Box .elTabs[data-v-0a0e912e]{width:100%;font-size:1em}.top2Box .intervalBox[data-v-0a0e912e]{display:flex;width:100%;justify-content:right}.top2Box .intervalBox span[data-v-0a0e912e]{margin-left:1%;cursor:pointer}.top2Box .intervalBox span[data-v-0a0e912e]:hover{color:#7245e8}.top3Box[data-v-0a0e912e]{margin-top:1%;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%;font-size:.95rem}.top3Box .tabPageBox[data-v-0a0e912e]{width:70%;display:flex;justify-content:center;flex-direction:column;margin-bottom:10px}.top3Box .tabPageBox .activeHeadlines[data-v-0a0e912e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-0a0e912e]{width:70%;height:60px;display:flex;align-items:end;position:relative;padding:0;padding-left:1%;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]{position:relative;display:inline-block;filter:drop-shadow(0 -5px 10px rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-0a0e912e]{display:inline-block;width:150px;height:40px;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-0a0e912e]{width:10%;height:60px;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20px 20px 10px 10px rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-0a0e912e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-0a0e912e]{position:absolute;left:120px;z-index:98}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-0a0e912e]{position:absolute;left:230px;z-index:97}.top3Box .tabPageBox .page[data-v-0a0e912e]{width:100%;min-height:730px;box-shadow:5px 4px 8px 5px rgba(0,0,0,.1);z-index:999;margin-top:-3px;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-0a0e912e]{min-height:600px}.top3Box .tabPageBox .page .minerPagination[data-v-0a0e912e]{margin:0 auto;margin-top:30px;margin-bottom:30px}.top3Box .tabPageBox .page .minerTitleBox[data-v-0a0e912e]{width:100%;height:40px;background:#efefef;padding:0 30px;display:flex;align-items:center;justify-content:space-between}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-0a0e912e]{width:60%;font-weight:600}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-0a0e912e]{display:inline-block;cursor:pointer;margin-left:20px;padding:0 5px;font-size:.9rem}.top3Box .tabPageBox .page .minerTitleBox .searchBox[data-v-0a0e912e]{width:260px;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden;margin:0;margin-right:10px}.top3Box .tabPageBox .page .minerTitleBox .searchBox .inout[data-v-0a0e912e]{border:none;outline:none;padding:0 10px;background:transparent}.top3Box .tabPageBox .page .minerTitleBox .searchBox i[data-v-0a0e912e]{width:35px;height:29px;background:#641fff;color:#fff;font-size:1.2em;line-height:29px;text-align:center}.top3Box .elTabs3[data-v-0a0e912e]{width:70%;position:relative}.top3Box .elTabs3 .searchBox[data-v-0a0e912e]{width:25%;position:absolute;right:0;top:-5px;z-index:99999;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-0a0e912e]{border:none;outline:none;padding:0 10px}.top3Box .elTabs3 .searchBox i[data-v-0a0e912e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-0a0e912e]{width:98%;margin-left:2%;margin-top:1%;min-height:600px}.top3Box .accordionTitle[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitle span[data-v-0a0e912e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitleAll span[data-v-0a0e912e]{width:24%;text-align:left;padding-left:1.5%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .Title[data-v-0a0e912e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 30px}.top3Box .Title span[data-v-0a0e912e]{width:24.5%;color:#433278;text-align:left}.top3Box .TitleAll[data-v-0a0e912e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 35px}.top3Box .TitleAll span[data-v-0a0e912e]{width:20%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-0a0e912e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 35px;background:#efefef}.top3Box .totalTitleAll span[data-v-0a0e912e]{width:20%;text-align:left}.top3Box .totalTitle[data-v-0a0e912e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 20px;background:#efefef}.top3Box .totalTitle span[data-v-0a0e912e]{width:24.25%;text-align:left}.belowTable[data-v-0a0e912e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;margin:0 auto;padding:0;margin-top:-1px;margin-bottom:50px}.belowTable ul[data-v-0a0e912e]{width:100%;min-height:200px;max-height:690px;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50px}.belowTable ul .table-title[data-v-0a0e912e]{position:sticky;top:0;background:#d2c3ea;padding:0 10px;color:#433278;font-weight:600;font-size:.95rem}.belowTable ul li[data-v-0a0e912e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:60px;background:#f8f8fa}.belowTable ul li span[data-v-0a0e912e]{width:25%;font-size:.95rem;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li span[data-v-0a0e912e]:nth-of-type(4){width:28%}.belowTable ul li[data-v-0a0e912e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-0a0e912e]{background:#efefef;padding:10px 10px;background:#f8f8fa;margin-top:10px;border:1px solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-0a0e912e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-0a0e912e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-0a0e912e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-0a0e912e]:hover{cursor:pointer;color:#2889fc;font-weight:600}.currency-list2.currency-list2.currency-list2[data-v-0a0e912e]{background:#efefef;padding:10px 10px}.el-input-group__append button.el-button[data-v-0a0e912e],.el-input-group__append div.el-select .el-input__inner[data-v-0a0e912e],.el-input-group__append div.el-select:hover .el-input__inner[data-v-0a0e912e],.el-input-group__prepend button.el-button[data-v-0a0e912e],.el-input-group__prepend div.el-select .el-input__inner[data-v-0a0e912e],.el-input-group__prepend div.el-select:hover .el-input__inner[data-v-0a0e912e]{background:#631ffc;color:#fff}.offlineTime[data-v-0a0e912e]{display:flex;flex-direction:column;justify-content:center}.offlineTime span[data-v-0a0e912e]{width:100%!important;display:inline-block;line-height:15px!important}@media screen and (min-width:220px)and (max-width:1279px){[data-v-a57ca41e]::-webkit-scrollbar{width:0!important;height:0}[data-v-a57ca41e]::-webkit-scrollbar-thumb{background-color:#d2c3e9;border-radius:20PX}[data-v-a57ca41e]::-webkit-scrollbar-track{background-color:#f0f0f0}.accountInformation[data-v-a57ca41e]{width:100%!important;height:33px!important;background:rgba(0,0,0,.5);position:fixed;top:61px!important;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001;line-height:33px!important}.accountInformation img[data-v-a57ca41e]{width:18px!important}.accountInformation i[data-v-a57ca41e]{color:#fff;font-size:.95rem!important;margin-left:10px}.accountInformation .coin[data-v-a57ca41e]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize;font-size:.8rem!important}.accountInformation .ma[data-v-a57ca41e]{font-weight:400!important;color:#fff;margin-left:10px;font-size:.9rem!important}.profitTop[data-v-a57ca41e]{width:100%;height:auto;display:flex;flex-wrap:wrap;justify-content:space-around;padding-top:40px}.profitTop .box[data-v-a57ca41e]{width:45%;height:80px;background:#fff;margin-top:10px;display:flex;flex-direction:column;align-items:left;justify-content:space-around;padding:8px;font-size:.9rem;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance[data-v-a57ca41e]{width:95%;display:flex;justify-content:space-between;padding:15px 15px;background:#fff;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance .box2[data-v-a57ca41e]{display:flex;flex-direction:column;align-items:left;font-size:.9rem}.profitTop .accountBalance .el-button[data-v-a57ca41e]{background:#661fff;color:#fff}.profitBtm2[data-v-a57ca41e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;padding:8px;font-size:.95rem;background:#fff}.profitBtm2 .right[data-v-a57ca41e]{width:100%;height:95%;background:#fff;transition:all .2s linear}.profitBtm2 .right .intervalBox[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;padding:5px 10px}.profitBtm2 .right .intervalBox .title[data-v-a57ca41e]{text-align:center;font-size:.95rem;color:rgba(0,0,0,.8)}.profitBtm2 .right .intervalBox .times[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;cursor:pointer;font-size:.8rem;margin-top:5px}.profitBtm2 .right .intervalBox .times span[data-v-a57ca41e]{min-width:55px;text-align:center;border-radius:20px;margin:0}.profitBtm2 .right .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.barBox[data-v-a57ca41e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;font-size:.95rem;background:#fff}.barBox .lineBOX[data-v-a57ca41e]{width:100%;height:98%;padding:10px 20px;transition:all .2s linear}.barBox .lineBOX .intervalBox[data-v-a57ca41e]{font-size:.9rem}.barBox .lineBOX .intervalBox .title[data-v-a57ca41e]{text-align:left;font-size:.95rem;color:rgba(0,0,0,.8)}.barBox .lineBOX .intervalBox .timesBox[data-v-a57ca41e]{width:100%;text-align:right;display:flex;justify-content:right}.barBox .lineBOX .intervalBox .timesBox .times2[data-v-a57ca41e]{max-width:47%;display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;font-size:.8rem}.barBox .lineBOX .intervalBox .timesBox .times2 span[data-v-a57ca41e]{text-align:center;padding:0 15px;border-radius:20px;margin:0}.barBox .lineBOX .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.searchBox[data-v-a57ca41e]{width:92%;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden;margin:0 auto;margin-top:25px}.searchBox .inout[data-v-a57ca41e]{border:none;outline:none;padding:0 10px;background:transparent}.searchBox i[data-v-a57ca41e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box[data-v-a57ca41e]{margin-top:8px!important;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%;font-size:.95rem}.top3Box .tabPageBox[data-v-a57ca41e]{width:98%!important;display:flex;justify-content:center;flex-direction:column;margin-bottom:10px}.top3Box .tabPageBox .activeHeadlines[data-v-a57ca41e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-a57ca41e]{width:100%!important;height:60px;display:flex;align-items:end;position:relative;padding:0!important;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]{position:relative;display:inline-block;filter:drop-shadow(0 -5px 10px rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-a57ca41e]{display:inline-block;width:130px!important;height:40px;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-a57ca41e]{width:10%;height:60px;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20px 20px 10px 10px rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-a57ca41e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-a57ca41e]{position:absolute;left:-37px!important;z-index:98;margin:0!important}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-a57ca41e]{position:absolute;left:-72px!important;z-index:97;margin:0!important}.top3Box .tabPageBox .page[data-v-a57ca41e]{width:100%;min-height:380px!important;box-shadow:0 0 3px 3px rgba(0,0,0,.1)!important;z-index:999;margin-top:-3px;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-a57ca41e]{min-height:300px!important}.top3Box .tabPageBox .page .minerPagination[data-v-a57ca41e]{margin:0 auto;margin-top:30px;margin-bottom:30px}.top3Box .tabPageBox .page .minerTitleBox[data-v-a57ca41e]{width:100%;height:40px;background:#efefef;padding:0!important}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-a57ca41e]{width:100%!important;font-weight:600;display:flex;justify-content:left}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-a57ca41e]{display:inline-block;cursor:pointer;margin-left:18!important;padding:0!important;font-size:.9rem}.top3Box .tabPageBox .page .TitleAll[data-v-a57ca41e]{display:flex;width:100%!important;padding:0!important;padding-left:5px!important;border-radius:0!important}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]:first-of-type{width:19%!important;text-align:center}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]:nth-of-type(2){width:38%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]:nth-of-type(3){width:43%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]{font-size:.8rem;text-align:left}.top3Box .elTabs3[data-v-a57ca41e]{width:70%;position:relative}.top3Box .elTabs3 .searchBox[data-v-a57ca41e]{width:25%;position:absolute;right:0;top:-5px;z-index:99999;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-a57ca41e]{border:none;outline:none;padding:0 10px}.top3Box .elTabs3 .searchBox i[data-v-a57ca41e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-a57ca41e]{width:98%;margin-left:2%;margin-top:1%;min-height:600px}.top3Box .accordionTitle[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitle span[data-v-a57ca41e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0!important;padding-left:5px!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]:first-of-type{width:25%!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]:nth-of-type(2){width:35%!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]:nth-of-type(3){width:40%!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .Title[data-v-a57ca41e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 30px}.top3Box .Title span[data-v-a57ca41e]{width:24.5%;color:#433278;text-align:left}.top3Box .TitleAll[data-v-a57ca41e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 35px}.top3Box .TitleAll span[data-v-a57ca41e]{width:20%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-a57ca41e]{height:40px!important;display:flex;justify-content:left;align-items:center;padding:0!important;background:#efefef;padding-left:5px!important}.top3Box .totalTitleAll span[data-v-a57ca41e]:first-of-type{width:25%!important}.top3Box .totalTitleAll span[data-v-a57ca41e]:nth-of-type(2){width:35%!important}.top3Box .totalTitleAll span[data-v-a57ca41e]:nth-of-type(3){width:40%!important}.top3Box .totalTitleAll span[data-v-a57ca41e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .totalTitle[data-v-a57ca41e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 20px;background:#efefef}.top3Box .totalTitle span[data-v-a57ca41e]{width:24.25%;text-align:left}.top3Box .miningMachine[data-v-a57ca41e]{background:#fff;box-shadow:0 0 3px 1px #ccc;overflow:hidden;border-radius:5px}.top3Box .miningMachine .belowTable[data-v-a57ca41e]{border-radius:5px!important;width:100%!important;margin-bottom:20px!important}.top3Box .payment .belowTable[data-v-a57ca41e]{box-shadow:0 0 3px 1px #ccc}.top3Box .payment .belowTable .table-title[data-v-a57ca41e]{height:50px;display:flex;justify-content:space-around;align-items:center;background:#d2c3ea;color:#433278;font-weight:600;width:100%;font-size:.8rem!important}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]{display:inline-block}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]:first-of-type{width:35%;padding-left:10px}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]:nth-of-type(2){width:35%;text-align:left}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]:nth-of-type(3){width:27%;text-align:center}.top3Box .payment .belowTable .el-collapse[data-v-a57ca41e]{width:100%;max-height:500px;overflow-y:auto}.top3Box .payment .belowTable .paymentCollapseTitle[data-v-a57ca41e]{display:flex;justify-content:left;align-items:center;width:100%}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]{display:inline-block}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]:first-of-type{width:35%;padding-left:10px}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]:nth-of-type(2){width:32%;text-align:center}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]:nth-of-type(3){width:27%;text-align:right}.top3Box .payment .belowTable .dropDownContent[data-v-a57ca41e]{width:100%;padding:0 10px;word-wrap:break-word}.top3Box .payment .belowTable .dropDownContent div[data-v-a57ca41e]{margin-top:8px}.top3Box .payment .belowTable .copy[data-v-a57ca41e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.el-collapse[data-v-a57ca41e]{max-height:500px!important;overflow-y:auto}.table-item[data-v-a57ca41e]{display:flex;height:59px;width:100%;align-items:center;justify-content:space-around;padding:8px}.table-item div[data-v-a57ca41e]{width:50%;display:flex;align-items:center;flex-direction:column;justify-content:space-around;height:100%}.table-item div p[data-v-a57ca41e]{text-align:left}.table-itemOn[data-v-a57ca41e]{display:flex;height:59px;width:100%;align-items:center;justify-content:left;padding:8px}.table-itemOn div[data-v-a57ca41e]{width:50%;display:flex;align-items:left;flex-direction:column;justify-content:space-around;height:100%}.table-itemOn div p[data-v-a57ca41e]{text-align:left}.chartTitle[data-v-a57ca41e]{padding-left:3%;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6);font-size:.9rem!important}[data-v-a57ca41e] .el-collapse-item__header{height:45px!important}.belowTable[data-v-a57ca41e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;margin:0 auto;padding:0;margin-top:-1px;margin-bottom:50px}.belowTable ul[data-v-a57ca41e]{width:100%;min-height:200px;max-height:690px;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50px}.belowTable ul .table-title[data-v-a57ca41e]{position:sticky;top:0;background:#d2c3ea;padding:0 5px!important;color:#433278;font-weight:600;height:50px!important}.belowTable ul li[data-v-a57ca41e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:40px!important;background:#f8f8fa}.belowTable ul li span[data-v-a57ca41e]{width:33.3333333333%!important;font-size:.8rem!important;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li[data-v-a57ca41e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-a57ca41e]{background:#efefef;padding:0!important;background:#f8f8fa;margin-top:5px!important;border:1px solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-a57ca41e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-a57ca41e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-a57ca41e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-a57ca41e]:hover{cursor:pointer;color:#2889fc;font-weight:600}[data-v-a57ca41e] .el-pager li{min-width:19px}[data-v-a57ca41e] .el-pagination .el-select .el-input{margin:0}[data-v-a57ca41e] .el-pagination .btn-next{padding:0!important;min-width:auto}}.activeState[data-v-a57ca41e]{color:red!important}.boxTitle[data-title][data-v-a57ca41e]{position:relative;display:inline-block}.boxTitle[data-title][data-v-a57ca41e]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}.boxTitle[data-title][data-v-a57ca41e]:after{min-width:180PX;max-width:300PX;content:attr(data-title);position:absolute;padding:5PX 10PX;right:28PX;border-radius:4PX;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4PX rgba(0,0,0,.16);font-size:.8rem;visibility:hidden;opacity:0;text-align:center;z-index:999}[data-v-a57ca41e] .el-collapse-item__header{background:transparent;height:60PX}.item-even[data-v-a57ca41e]{background-color:#fff}.item-odd[data-v-a57ca41e]{background-color:#efefef}.miningAccount[data-v-a57ca41e]{width:100%;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 30%;background-repeat:no-repeat;background-position:0 -8%;padding-top:60PX}.accountInformation[data-v-a57ca41e]{width:100%;height:30PX;background:rgba(0,0,0,.5);position:fixed;top:8%;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.accountInformation img[data-v-a57ca41e]{width:23PX}.accountInformation i[data-v-a57ca41e]{color:#fff;font-size:.9rem;margin-left:10PX}.accountInformation .coin[data-v-a57ca41e]{margin-left:5PX;font-weight:600;color:#fff;text-transform:capitalize}.accountInformation .ma[data-v-a57ca41e]{font-weight:600;color:#fff;margin-left:10PX;font-size:.9rem}.DropDownChart[data-v-a57ca41e]{width:100%;height:500PX}.circularDots2[data-v-a57ca41e],.circularDots3.circularDots3[data-v-a57ca41e]{width:11PX!important;height:11PX!important;border-radius:50%;display:inline-block;border:2PX solid #ccc}.circularDots3.circularDots3[data-v-a57ca41e]{margin:0;padding:0!important}.activeCircular[data-v-a57ca41e]{width:11PX!important;height:11PX!important;border-radius:50%;border:none!important;background:radial-gradient(circle at center,#ebace3,#9754f1)}.chartTitle[data-v-a57ca41e]{padding-left:3%;font-size:1.3em;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6)}.circularDots[data-v-a57ca41e]{display:inline-block;width:10PX;height:10PX;border-radius:50%;background:radial-gradient(circle at center,#ebace3,#9754f1)}.circularDotsOnLine[data-v-a57ca41e]{display:inline-block;width:8PX;background:#17cac7;height:8PX;border-radius:50%}.circularDotsOffLine[data-v-a57ca41e]{display:inline-block;width:8PX;background:#ff6565;height:8PX;border-radius:50%}.profitBox[data-v-a57ca41e]{width:70%;min-height:650PX;padding:20PX 1%}.profitBox .paymentSettingBth[data-v-a57ca41e]{width:100%;text-align:right}.profitBox .paymentSettingBth .el-button[data-v-a57ca41e]{background:#7245e8;color:#fff;padding:13PX 40PX;border-radius:8PX}.profitBox .profitTop[data-v-a57ca41e]{display:flex;min-height:20%;align-items:center;justify-content:space-between;margin:0 auto;flex-wrap:wrap}.profitBox .profitTop .box[data-v-a57ca41e]{width:230px;height:100px;background:#fff;box-shadow:0 0 10PX 1PX #ccc;border-radius:3%;transition:all .2s linear;padding:0;font-size:.95rem;margin:5px}.profitBox .profitTop .box .paymentSettings[data-v-a57ca41e]{display:flex}.profitBox .profitTop .box .paymentSettings span[data-v-a57ca41e]{width:45%;background:#661fff;color:#fff;border-radius:5PX;cursor:pointer;font-size:.8em;text-align:center;padding:0;display:inline-block;line-height:25PX}.profitBox .profitTop .box .paymentSettings span[data-v-a57ca41e]:hover{background:#7a50e7;color:#fff}.profitBox .profitTop .box span[data-v-a57ca41e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 20PX}.profitBox .profitTop .box span span[data-v-a57ca41e]{width:8%}.profitBox .profitTop .box span img[data-v-a57ca41e]{width:18PX;margin-left:5PX}.profitBox .profitTop .box .text[data-v-a57ca41e]{justify-content:right;font-weight:600}.profitBox .profitTop .box[data-v-a57ca41e]:hover{box-shadow:10PX 5PX 10PX 3PX #e4dbf3}.profitBox .profitBtm[data-v-a57ca41e]{height:600px;width:100%;display:flex;align-items:center;justify-content:space-between}.profitBox .profitBtm .left[data-v-a57ca41e]{width:23%;height:90%;background:#fff;box-shadow:0 0 5PX 2PX #ccc;border-radius:3%;display:flex;flex-direction:column}.profitBox .profitBtm .left .box[data-v-a57ca41e]{width:100%;height:80%;background:#fff;border-radius:3%}.profitBox .profitBtm .left .box span[data-v-a57ca41e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 25PX}.profitBox .profitBtm .left .box .text[data-v-a57ca41e]{justify-content:right;font-weight:600}.profitBox .profitBtm .left .bth[data-v-a57ca41e]{width:100%;text-align:center}.profitBox .profitBtm .left .bth .el-button[data-v-a57ca41e]{width:60%;background:#661fff;color:#fff}.profitBox .profitBtm .right[data-v-a57ca41e]{width:100%;height:90%;background:#fff;box-shadow:0 0 10PX 3PX #ccc;border-radius:15PX;padding:10PX 10PX;transition:all .2s linear}.profitBox .profitBtm .right .intervalBox[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;padding:10PX 20PX;font-size:.95rem}.profitBox .profitBtm .right .intervalBox .title[data-v-a57ca41e]{text-align:center;font-size:1.1em}.profitBox .profitBtm .right .intervalBox .times[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;border-radius:20PX;padding:1PX 1PX;border:1PX solid #5721e4;cursor:pointer}.profitBox .profitBtm .right .intervalBox .times span[data-v-a57ca41e]{min-width:55px;text-align:center;border-radius:20PX;margin:0}.profitBox .profitBtm .right .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.profitBox .profitBtm .right[data-v-a57ca41e]:hover{box-shadow:0 0 20PX 3PX #e4dbf3}.top1Box[data-v-a57ca41e]{width:90%;height:400PX;background-image:linear-gradient(90deg,#1e52e8 0,#1e52e8 80%,#0bb7bf);border-radius:10PX;color:#fff;font-size:1.3em;display:flex;flex-direction:column}.top1Box .top1BoxOne[data-v-a57ca41e]{height:12%;background:rgba(0,0,0,.3);border-radius:28PX 1PX 100PX 1PX;width:800PX;padding:5PX 20PX;line-height:40PX}.top1Box .top1BoxTwo[data-v-a57ca41e]{flex:1;width:100%;display:flex;flex-wrap:wrap;justify-content:left;align-items:center;padding:0 100PX}.top1Box .top1BoxTwo div[data-v-a57ca41e]{display:flex;flex-direction:column}.top1Box .top1BoxTwo div .income[data-v-a57ca41e]{margin-top:20PX;font-size:1.5em}.top1Box .top1BoxTwo .content[data-v-a57ca41e]{position:relative;padding:0 50PX;width:25%}.top1Box .top1BoxTwo .iconLine[data-v-a57ca41e]{width:1PX;background:hsla(0,0%,100%,.6);height:50%;position:absolute;right:0;top:25%}.top1Box .top1BoxThree[data-v-a57ca41e]{height:13%;background:rgba(0,0,0,.4);display:flex;justify-content:center;align-items:center}.top1Box .top1BoxThree .onlineSituation[data-v-a57ca41e]{width:50%;display:flex;justify-content:center;align-items:center;font-size:.8em}.top1Box .top1BoxThree .onlineSituation div[data-v-a57ca41e]{width:33.3333333333%;text-align:center}.top1Box .top1BoxThree .onlineSituation .whole[data-v-a57ca41e]{color:#fff}.top1Box .top1BoxThree .onlineSituation .onLine[data-v-a57ca41e]{color:#04c904}.top1Box .top1BoxThree .onlineSituation .off-line[data-v-a57ca41e]{color:#ef6565}.top2Box[data-v-a57ca41e]{margin-top:1%;width:70%;height:500PX;display:flex;justify-content:center;margin-bottom:2%;padding:0 1%}.top2Box .lineBOX[data-v-a57ca41e]{width:100%;padding:10PX 20PX;border-radius:15PX;box-shadow:0 0 10PX 3PX #ccc;transition:all .2s linear;background:#fff}.top2Box .lineBOX .intervalBox[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;padding:10PX 20PX;font-size:.95rem}.top2Box .lineBOX .intervalBox .title[data-v-a57ca41e]{text-align:center;font-size:1.1em}.top2Box .lineBOX .intervalBox .times[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;border-radius:20PX;padding:1PX 1PX;border:1PX solid #5721e4}.top2Box .lineBOX .intervalBox .times span[data-v-a57ca41e]{text-align:center;padding:0 15PX;border-radius:20PX;margin:0}.top2Box .lineBOX .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.top2Box .lineBOX[data-v-a57ca41e]:hover{box-shadow:0 0 20PX 3PX #e4dbf3}.top2Box .elTabs[data-v-a57ca41e]{width:100%;font-size:1em}.top2Box .intervalBox[data-v-a57ca41e]{display:flex;width:100%;justify-content:right}.top2Box .intervalBox span[data-v-a57ca41e]{margin-left:1%;cursor:pointer}.top2Box .intervalBox span[data-v-a57ca41e]:hover{color:#7245e8}.top3Box[data-v-a57ca41e]{margin-top:1%;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%}.top3Box .tabPageBox[data-v-a57ca41e]{width:70%;display:flex;justify-content:center;flex-direction:column;margin-bottom:10PX}.top3Box .tabPageBox .activeHeadlines[data-v-a57ca41e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-a57ca41e]{width:70%;height:60PX;display:flex;align-items:end;position:relative;padding:0;padding-left:1%;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]{position:relative;display:inline-block;filter:drop-shadow(0 -5PX 10PX rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-a57ca41e]{display:inline-block;width:150PX;height:40PX;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center;font-size:.95rem}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-a57ca41e]{width:10%;height:60PX;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20PX 20PX 10PX 10PX rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-a57ca41e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-a57ca41e]{z-index:98;margin-left:-40PX}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-a57ca41e]{z-index:97;margin-left:-45PX}.top3Box .tabPageBox .page[data-v-a57ca41e]{width:100%;min-height:730PX;box-shadow:5PX 4PX 8PX 5PX rgba(0,0,0,.1);z-index:999;margin-top:-3PX;border-radius:20PX;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-a57ca41e]{min-height:600PX}.top3Box .tabPageBox .page .minerPagination[data-v-a57ca41e]{margin:0 auto;margin-top:30PX;margin-bottom:30PX}.top3Box .tabPageBox .page .minerTitleBox[data-v-a57ca41e]{width:100%;height:40PX;background:#efefef;padding:0 30PX;display:flex;align-items:center;justify-content:space-between;font-size:.9rem}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-a57ca41e]{width:60%;font-weight:600}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-a57ca41e]{display:inline-block;cursor:pointer;margin-left:20PX;padding:0 5PX}.top3Box .tabPageBox .page .minerTitleBox .searchBox[data-v-a57ca41e]{width:260px;border:2PX solid #641fff;height:30PX;display:flex;align-items:center;justify-content:space-between;border-radius:25PX;overflow:hidden;margin:0;margin-right:10px}.top3Box .tabPageBox .page .minerTitleBox .searchBox .inout[data-v-a57ca41e]{border:none;outline:none;padding:0 10PX;background:transparent}.top3Box .tabPageBox .page .minerTitleBox .searchBox i[data-v-a57ca41e]{width:35px;height:29px;background:#641fff;color:#fff;font-size:1.2em;line-height:29PX;text-align:center}.top3Box .elTabs3[data-v-a57ca41e]{width:70%;font-size:1em;position:relative}.top3Box .elTabs3 .searchBox[data-v-a57ca41e]{width:25%;position:absolute;right:0;top:-5PX;z-index:99999;border:2PX solid #641fff;height:30PX;display:flex;align-items:center;justify-content:space-between;border-radius:25PX;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-a57ca41e]{border:none;outline:none;padding:0 10PX}.top3Box .elTabs3 .searchBox i[data-v-a57ca41e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25PX;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-a57ca41e]{width:98%;margin-left:2%;margin-top:1%;min-height:600PX}.top3Box .accordionTitle[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20PX}.top3Box .accordionTitle span[data-v-a57ca41e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20PX}.top3Box .accordionTitleAll span[data-v-a57ca41e]{width:24%;text-align:left;padding-left:1.5%}.top3Box .Title[data-v-a57ca41e]{height:60PX;background:#d2c3ea;border-radius:5PX;display:flex;justify-content:left;align-items:center;padding:0 30PX}.top3Box .Title span[data-v-a57ca41e]{width:24.5%;color:#433278;text-align:left}.top3Box .TitleAll[data-v-a57ca41e]{height:60PX;background:#d2c3ea;border-radius:5PX;display:flex;justify-content:left;align-items:center;padding:0 35PX;font-size:.95rem}.top3Box .TitleAll span[data-v-a57ca41e]{width:20%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-a57ca41e]{height:60PX;display:flex;justify-content:left;align-items:center;padding:0 35PX;background:#efefef;font-size:.95rem}.top3Box .totalTitleAll span[data-v-a57ca41e]{width:20%;text-align:left}.top3Box .totalTitle[data-v-a57ca41e]{height:60PX;display:flex;justify-content:left;align-items:center;padding:0 20PX;background:#efefef;font-size:.95rem}.top3Box .totalTitle span[data-v-a57ca41e]{width:24.25%;text-align:left}.belowTable[data-v-a57ca41e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10PX;overflow:hidden;margin:0 auto;padding:0;margin-top:-1PX;margin-bottom:50PX;font-size:.95rem}.belowTable ul[data-v-a57ca41e]{width:100%;min-height:200PX;max-height:690PX;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50PX}.belowTable ul .table-title[data-v-a57ca41e]{position:sticky;top:0;background:#d2c3ea;padding:0 10PX;color:#433278;font-weight:600}.belowTable ul li[data-v-a57ca41e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:60PX;background:#f8f8fa}.belowTable ul li span[data-v-a57ca41e]{width:25%;font-size:.95rem;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li[data-v-a57ca41e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-a57ca41e]{background:#efefef;padding:10PX 10PX;background:#f8f8fa;margin-top:10PX;border:1PX solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-a57ca41e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-a57ca41e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-a57ca41e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-a57ca41e]:hover{cursor:pointer;color:#2889fc;font-weight:600}.currency-list2.currency-list2.currency-list2[data-v-a57ca41e]{background:#efefef;padding:10PX 10PX}.el-input-group__append button.el-button[data-v-a57ca41e],.el-input-group__append div.el-select .el-input__inner[data-v-a57ca41e],.el-input-group__append div.el-select:hover .el-input__inner[data-v-a57ca41e],.el-input-group__prepend button.el-button[data-v-a57ca41e],.el-input-group__prepend div.el-select .el-input__inner[data-v-a57ca41e],.el-input-group__prepend div.el-select:hover .el-input__inner[data-v-a57ca41e]{background:#631ffc;color:#fff}.offlineTime[data-v-a57ca41e]{display:flex;flex-direction:column;justify-content:center}.offlineTime span[data-v-a57ca41e]{width:100%!important;display:inline-block;line-height:15PX!important}.sort[data-v-a57ca41e]{font-size:1.3em;cursor:pointer;color:#1e52e8}.sort[data-v-a57ca41e]:hover{color:#433299}[data-v-a57ca41e] .el-loading-spinner{top:25%!important}@media screen and (min-width:220px)and (max-width:1279px){.Block[data-v-d42df632]{width:100%;background:transparent!important;padding-top:10px!important}.currencySelect[data-v-d42df632]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-d42df632]{width:100%}.currencySelect .el-menu[data-v-d42df632]{background:transparent}.currencySelect .coinSelect img[data-v-d42df632]{width:25px}.currencySelect .coinSelect span[data-v-d42df632]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-d42df632]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-d42df632]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-d42df632]{width:25px}.moveCurrencyBox li p[data-v-d42df632]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.luckyBox[data-v-d42df632]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between!important;width:100%;height:auto!important}.luckyBox .luckyItem[data-v-d42df632]{width:155px!important;margin-left:2%!important;height:88px!important;margin-top:10px;justify-content:space-between!important;padding-bottom:10px}.luckyBox .luckyItem .text[data-v-d42df632]{font-size:1.8rem!important}.tableBox[data-v-d42df632]{margin:0 auto;width:95%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-d42df632]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-d42df632]{text-align:center}.tableBox .table-title span[data-v-d42df632]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-d42df632]:nth-of-type(2){width:70%!important}.tableBox .collapseTitle[data-v-d42df632]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important}.tableBox .collapseTitle span[data-v-d42df632]{text-align:center}.tableBox .collapseTitle span[data-v-d42df632]:first-of-type{width:30%!important}.tableBox .collapseTitle span[data-v-d42df632]:nth-of-type(2){width:70%!important}.tableBox .belowTable[data-v-d42df632]{display:flex;justify-content:space-between}.tableBox .belowTable div[data-v-d42df632]{width:50%;height:auto;text-align:left;padding-left:8%}.tableBox #hash[data-v-d42df632]{width:100%;padding-left:8%;margin-top:8px}.tableBox #hash .text[data-v-d42df632]{width:93%;height:auto;word-wrap:break-word;overflow-wrap:break-word;color:#8f61f5;text-decoration:underline}.tableBox .paginationBox[data-v-d42df632]{text-align:center}[data-v-d42df632] .el-pager li{min-width:19px}[data-v-d42df632] .el-pagination .el-select .el-input{margin:0}.el-pagination button[data-v-d42df632],.el-pagination span[data-v-d42df632]:not([class*=suffix]){min-width:20px}[data-v-d42df632] .el-pagination .btn-next,[data-v-d42df632] .el-pagination .btn-prev{padding:0!important;min-width:auto}[data-v-d42df632] .el-pagination .el-select .el-input{width:92px}}#boxTitle2[data-title][data-v-d42df632]{position:relative;display:inline-block}#boxTitle2[data-title][data-v-d42df632]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}#boxTitle2[data-title][data-v-d42df632]:after{min-width:180PX;max-width:300PX;content:attr(data-title);position:absolute;padding:5PX 10PX;right:28PX;border-radius:4PX;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4PX rgba(0,0,0,.16);font-size:.8rem;visibility:hidden;opacity:0;text-align:center;overflow-wrap:break-word!important}.Block[data-v-d42df632]{background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding-top:60PX}.BlockTop[data-v-d42df632]{width:75%;margin:0 auto}.luckyBox[data-v-d42df632]{width:100%;height:280PX;border-radius:10PX;transition:all .3s linear;padding:0;display:flex;flex-wrap:wrap;justify-content:left;padding:10PX 10PX}.luckyBox .luckyItem[data-v-d42df632]{background:#d2c3ea;width:38%;height:45%;border-radius:5PX;display:flex;flex-direction:column;justify-content:left;align-items:center;color:#fff;font-weight:600;background-image:linear-gradient(-20deg,#b868da,#89e0f3);margin-left:50PX}.luckyBox .luckyItem span[data-v-d42df632]{font-size:.9em}.luckyBox .luckyItem .title[data-v-d42df632]{width:100%;height:35%;display:inline-block;text-align:right;padding:10PX 15PX}.luckyBox .luckyItem .text[data-v-d42df632]{font-size:2.5em}.luckyBox .luckyItem[data-v-d42df632]:hover{border:1PX solid #d2c3ea}.luckyBox p[data-v-d42df632]{width:100%;text-align:right;padding-right:10%}.luckyBox ul[data-v-d42df632]{padding:0;width:95%;padding-left:5%;height:90%}.luckyBox ul li[data-v-d42df632]{list-style:none;display:flex;width:100%;align-items:center;justify-content:space-between;height:20%}.luckyBox ul li .progressBar[data-v-d42df632]{width:82%;margin-left:1%;overflow:hidden}.luckyBox .progress-container[data-v-d42df632]{display:flex;align-items:center}.luckyBox .progress-bar[data-v-d42df632]{width:80%;height:10PX;background-color:#f0f0f0;border-radius:5PX}.luckyBox .progress[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:10PX;transition:width .3s ease;background:linear-gradient(180deg,#d0c7ec 60%,#6427df 0);margin-left:-3PX}.luckyBox .progress7[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:25PX;transition:width .3s ease;background:linear-gradient(180deg,#f4da95 60%,#ceac37 0);margin-left:-3PX}.luckyBox .progress30[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:25PX;transition:width .3s ease;background:linear-gradient(180deg,#7bd28e 60%,#349b53 0);margin-left:-3PX}.luckyBox .progress90[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:25PX;transition:width .3s ease;background:linear-gradient(180deg,#fcbad0 60%,#f2407c 0);margin-left:-3PX}.luckyBox .progress-percentage[data-v-d42df632]{width:20%;text-align:right;padding-right:5PX}[data-v-d42df632] .el-progress__text{text-align:left}.currencyBox[data-v-d42df632]{width:100%;display:flex;justify-content:left;align-items:start;padding:10PX 10PX;height:280PX;flex-wrap:wrap;box-shadow:0 0 10PX 3PX #ccc;border-radius:2%;background:#fff;transition:all .3s linear;overflow:hidden;overflow-y:auto}.currencyBox .sunCurrency[data-v-d42df632]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8PX 5PX;border-radius:22PX;width:18%;cursor:pointer;margin-left:8PX;font-size:1em;text-align:center;height:100PX;transition:all .2s linear}.currencyBox .sunCurrency img[data-v-d42df632]{width:38PX;transition:all .2s linear}.currencyBox .sunCurrency span[data-v-d42df632]{text-transform:capitalize;margin-top:5PX;width:100%;font-size:.7em;padding:5PX 0;border-radius:5PX}.currencyBox .sunCurrency[data-v-d42df632]:hover{font-size:1.1em;box-shadow:0 0 5PX 3PX rgba(210,195,234,.8)}.currencyBox .sunCurrency:hover img[data-v-d42df632]{width:40PX}.currencyBox[data-v-d42df632]:hover{box-shadow:3PX 3PX 20PX 3PX #c1a1fe}.reportBlock[data-v-d42df632]{width:100%;display:flex;justify-content:center;margin-top:1%;padding-bottom:1%;background-size:100% 40%;background-repeat:no-repeat;background-position:30% 130%}.reportBlock .reportBlockBox[data-v-d42df632]{width:100%;height:100%;display:flex;justify-content:space-between;flex-direction:column;align-items:center}.reportBlock .reportBlockBox .top[data-v-d42df632]{width:100%;height:18%;display:flex;align-items:center;justify-content:center;border-bottom:1PX solid rgba(0,0,0,.1);padding:20PX 0;color:#fff;font-weight:600}.reportBlock .reportBlockBox .top .lucky[data-v-d42df632]{display:flex;align-items:center;flex-direction:column;justify-content:center}.reportBlock .reportBlockBox .top .lucky .luckyNum[data-v-d42df632]{font-size:1.8em}.reportBlock .reportBlockBox .top .lucky .luckyText[data-v-d42df632]{font-size:1em;margin-top:5%}.reportBlock .reportBlockBox .top div[data-v-d42df632]{width:16%;background:#2eaeff;height:100%;display:flex;align-items:center;justify-content:space-around;margin-left:5%;border-radius:10PX;box-shadow:0 8PX 20PX 0 rgba(46,174,255,.5)}.reportBlock .reportBlockBox .belowTable[data-v-d42df632]{width:75%;max-height:80%;display:flex;justify-content:center;flex-direction:column;align-items:center;border-radius:10PX;overflow:hidden;transition:all .3s linear;margin-bottom:120PX}.reportBlock .reportBlockBox .belowTable .table-title[data-v-d42df632]{width:100%;display:flex;align-items:center;height:68PX;position:sticky;top:0;background:#d2c3ea;padding:0 10PX;color:#4e3e7d;position:relative}.reportBlock .reportBlockBox .belowTable .table-title span[data-v-d42df632]{height:100%;width:20%;line-height:63PX;font-size:.95rem;font-weight:600;text-align:center}.reportBlock .reportBlockBox .belowTable .table-title .hash[data-v-d42df632]{width:58%;font-size:.95rem;text-align:left;margin-left:5%;justify-content:left}.reportBlock .reportBlockBox .belowTable .table-title .blockRewards[data-v-d42df632]{width:20%;font-weight:600;font-size:.95rem;text-align:left;margin-left:1%}.reportBlock .reportBlockBox .belowTable .table-title .transactionFee[data-v-d42df632]{width:18%;font-weight:600;font-size:.95rem}.reportBlock .reportBlockBox .belowTable .table-title span[data-v-d42df632]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:center}.reportBlock .reportBlockBox .belowTable ul[data-v-d42df632]{width:100%;min-height:200PX;max-height:818PX;padding:0;background:#fff;margin:0;overflow:hidden;overflow-y:auto}.reportBlock .reportBlockBox .belowTable ul .table-title[data-v-d42df632]{position:sticky;top:0;background:#d2c3ea;padding:0 10PX;color:#4e3e7d;position:relative}.reportBlock .reportBlockBox .belowTable ul .table-title .hash[data-v-d42df632]{width:50%;text-align:left}.reportBlock .reportBlockBox .belowTable ul .table-title .blockRewards[data-v-d42df632],.reportBlock .reportBlockBox .belowTable ul .table-title .transactionFee[data-v-d42df632]{width:18%;font-weight:600}.reportBlock .reportBlockBox .belowTable ul .table-title span[data-v-d42df632]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:center}.reportBlock .reportBlockBox .belowTable ul li[data-v-d42df632]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:9%}.reportBlock .reportBlockBox .belowTable ul li span[data-v-d42df632]{height:100%;width:20%;line-height:63PX;font-size:.95rem;font-weight:600;text-align:center}.reportBlock .reportBlockBox .belowTable ul li[data-v-d42df632]:nth-child(2n){background-color:#fff;background:#f8f8fa}.reportBlock .reportBlockBox .belowTable ul .currency-list[data-v-d42df632]{background:#efefef;box-shadow:0 0 2PX 1PX rgba(0,0,0,.02);padding:0 10PX;border:1PX solid #efefef;background:#f8f8fa;margin-top:10PX}.reportBlock .reportBlockBox .belowTable ul .currency-list span[data-v-d42df632]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox .belowTable ul .currency-list .hash[data-v-d42df632]{width:58%;text-align:left;margin-left:5%}.reportBlock .reportBlockBox .belowTable ul .currency-list .reward[data-v-d42df632]{width:20%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:1%}.reportBlock .reportBlockBox .belowTable .pageBox[data-v-d42df632]{padding:2%}.reportBlock .reportBlockBox .belowTable[data-v-d42df632]:hover{box-shadow:0 0 15PX 3PX #c1a1fe}.el-progress[data-v-d42df632]{width:400PX;margin-left:-5PX;white-space:nowrap}.active[data-v-d42df632]{color:#fff;background:#641ffc}@media screen and (min-width:220px) and (max-width:1279px){.el-menu--horizontal{width:95%}}.help-center[data-v-8b25bb5a]{min-height:100vh;background-color:#f5f5f5}.top-section[data-v-8b25bb5a]{position:relative;height:200px;background:linear-gradient(135deg,#5721e4,#5721e4 50%,#f4bdd1);display:flex;align-items:center;justify-content:center;padding:20px}.filter-icon[data-v-8b25bb5a]{position:absolute;top:20px;right:20px;color:#fff;cursor:pointer;padding:8px;border-radius:50%;background:hsla(0,0%,100%,.1);transition:background .3s ease}.filter-icon[data-v-8b25bb5a]:hover{background:hsla(0,0%,100%,.2)}.search-container[data-v-8b25bb5a]{width:100%;max-width:400px}.search-input[data-v-8b25bb5a]{width:100%;padding:12px 20px;border:none;border-radius:25px;background:hsla(0,0%,100%,.9);font-size:16px;outline:none;transition:background .3s ease}.search-input[data-v-8b25bb5a]:focus{background:#fff}.search-input[data-v-8b25bb5a]::placeholder{color:#999}.main-content[data-v-8b25bb5a]{max-width:1200px;margin:0 auto;padding:40px 20px}.category-grid[data-v-8b25bb5a]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:60px}.category-btn[data-v-8b25bb5a]{padding:20px;border:2px solid #e0e0e0;border-radius:8px;background:#fff;color:#333;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease;text-align:center;min-height:60px;display:flex;align-items:center;justify-content:center}.category-btn[data-v-8b25bb5a]:hover{border-color:#5721e4;background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(42,82,152,.1)}.category-btn[data-v-8b25bb5a]:focus{outline:none;border-color:#2a5298;box-shadow:0 0 0 3px rgba(42,82,152,.1)}.section-title[data-v-8b25bb5a]{font-size:20px;font-weight:600;color:#333;margin-bottom:20px}.recommended-section[data-v-8b25bb5a]{margin-bottom:60px}.recommended-items[data-v-8b25bb5a]{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.recommended-item[data-v-8b25bb5a]{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .3s ease;cursor:pointer}.recommended-item[data-v-8b25bb5a]:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.item-description[data-v-8b25bb5a]{color:#666;line-height:1.6;margin:0}.recent-activities[data-v-8b25bb5a]{margin-bottom:40px}.activities-list[data-v-8b25bb5a]{display:flex;flex-direction:column;gap:20px}.activity-item[data-v-8b25bb5a]{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .3s ease}.activity-item[data-v-8b25bb5a]:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.activity-header[data-v-8b25bb5a]{margin-bottom:10px}.activity-badge[data-v-8b25bb5a]{display:inline-block;padding:4px 12px;background:#e3f2fd;color:#1976d2;border-radius:12px;font-size:12px;font-weight:500}.activity-title[data-v-8b25bb5a]{font-size:16px;font-weight:500;color:#333;margin:0 0 10px 0;line-height:1.4}.activity-meta[data-v-8b25bb5a]{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#666}.activity-comments[data-v-8b25bb5a]{color:#999}.view-more[data-v-8b25bb5a]{text-align:center;margin-top:40px}.view-more-link[data-v-8b25bb5a]{color:#2a5298;text-decoration:none;font-weight:500;transition:color .3s ease}.view-more-link[data-v-8b25bb5a]:hover{color:#1e3c72;text-decoration:underline}.bottom-section[data-v-8b25bb5a]{background:#f8f9fa;padding:20px;border-top:1px solid #e0e0e0}.help-center-link[data-v-8b25bb5a]{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;color:#666}.language-select[data-v-8b25bb5a]{padding:5px 10px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font-size:14px}@media (max-width:768px){.category-grid[data-v-8b25bb5a],.recommended-items[data-v-8b25bb5a]{grid-template-columns:1fr}.main-content[data-v-8b25bb5a]{padding:20px 15px}.search-container[data-v-8b25bb5a]{max-width:300px}.help-center-link[data-v-8b25bb5a]{flex-direction:column;gap:10px}.activity-meta[data-v-8b25bb5a]{flex-direction:column;align-items:flex-start;gap:5px}}.editor-page[data-v-4ff46502]{max-width:1200px;margin:0 auto;padding:20px;background:#f8f9fa;min-height:100vh}.page-header[data-v-4ff46502]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 8px 32px rgba(102,126,234,.3)}.header-left[data-v-4ff46502]{flex:1}.title-section[data-v-4ff46502]{display:flex;align-items:center;margin-bottom:12px}.title-icon[data-v-4ff46502]{font-size:28px;margin-right:12px;color:gold}.page-title[data-v-4ff46502]{font-size:28px;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.1)}.page-description[data-v-4ff46502]{font-size:16px;opacity:.9;margin:0;line-height:1.6}.header-actions[data-v-4ff46502]{display:flex;gap:12px;flex-wrap:wrap}.header-actions .el-button[data-v-4ff46502]{border-radius:8px;font-weight:500;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}.header-actions .el-button[data-v-4ff46502]:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.config-section[data-v-4ff46502]{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.section-header[data-v-4ff46502]{display:flex;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f8f9fa;color:#2c3e50;font-weight:600;font-size:18px}.section-header i[data-v-4ff46502]{margin-right:10px;color:#667eea;font-size:20px}.config-content[data-v-4ff46502]{display:flex;flex-direction:column;gap:20px}.config-row[data-v-4ff46502]{display:grid;grid-template-columns:1fr 1fr;gap:24px}.config-item[data-v-4ff46502]{display:flex;flex-direction:column}.config-item label[data-v-4ff46502]{margin-bottom:8px;font-weight:600;color:#495057;font-size:14px}.required[data-v-4ff46502]:after{content:"*";color:#e74c3c;margin-left:4px;font-weight:700}.editor-section[data-v-4ff46502]{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.editor-container[data-v-4ff46502]{border:1px solid #dcdfe6;border-radius:8px;overflow:hidden;background:#fff;min-height:650px}.editor-container .w-e-text-container[data-v-4ff46502],.editor-container .w-e-text[data-v-4ff46502]{height:600px!important;min-height:600px!important}.save-status[data-v-4ff46502]{position:fixed;bottom:20px;right:20px;background:#67c23a;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(103,194,58,.3);display:flex;align-items:center;gap:8px;font-size:14px;z-index:1000;animation:slideIn-4ff46502 .3s ease}@keyframes slideIn-4ff46502{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.preview-dialog .el-dialog__body[data-v-4ff46502]{padding:20px;max-height:70vh;overflow-y:auto}.preview-dialog .el-dialog__header[data-v-4ff46502]{background-color:#f8f9fa;border-bottom:1px solid #ebeef5}.preview-dialog .el-dialog__header .el-dialog__title[data-v-4ff46502]{color:#333;font-weight:600}.preview-dialog .el-dialog__footer[data-v-4ff46502]{background-color:#f8f9fa;border-top:1px solid #ebeef5;padding:15px 20px}.preview-dialog .el-dialog__footer .dialog-footer[data-v-4ff46502]{text-align:right}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]{border-radius:6px;padding:8px 15px;font-weight:500}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]:first-child{margin-right:10px}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]:last-child{background-color:#667eea;border-color:#667eea}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]:last-child:hover{background-color:#5a67d8;border-color:#5a67d8}.preview-content[data-v-4ff46502]{background:#fff;padding:20px}.preview-empty[data-v-4ff46502]{text-align:center;padding:50px 20px;color:#95a5a6}.preview-empty i[data-v-4ff46502]{font-size:48px;margin-bottom:15px;display:block}.preview-empty p[data-v-4ff46502]{margin:0;font-size:16px}@media (max-width:768px){.editor-page[data-v-4ff46502]{padding:10px}.page-header[data-v-4ff46502]{flex-direction:column;gap:20px;padding:20px}.header-actions[data-v-4ff46502]{width:100%;justify-content:center}.config-row[data-v-4ff46502]{grid-template-columns:1fr;gap:16px}.page-title[data-v-4ff46502]{font-size:24px}.save-status[data-v-4ff46502]{bottom:10px;right:10px;left:10px;text-align:center;justify-content:center}}.el-input[data-v-4ff46502],.el-select[data-v-4ff46502]{border-radius:8px}.el-input__inner[data-v-4ff46502],.el-select .el-input__inner[data-v-4ff46502]{border-radius:8px;border:1px solid #dcdfe6;transition:all .3s ease}.el-input__inner[data-v-4ff46502]:focus,.el-select .el-input__inner[data-v-4ff46502]:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.2)}.el-tag[data-v-4ff46502]{border-radius:6px;font-weight:500}.main-title-box[data-v-76d940dc]{display:flex;align-items:center;margin-bottom:20px}.main-title-box .add-btn[data-v-76d940dc]{background:#661ffb;color:#fff;border:none;margin-left:28px;border-radius:20px;padding:10px 20px;transition:all .3s ease}.main-title-box .add-btn .arrow[data-v-76d940dc]{margin-left:10px}.main-title-box .add-btn[data-v-76d940dc]:hover{transform:scale(1.05)}.main-title[data-v-76d940dc]{font-size:24px;font-weight:700;color:#333}.elBtn[data-v-76d940dc]{background:#e60751;color:#fff;border:none;margin-left:18px}.el-table .cell[data-v-76d940dc]{word-break:break-word}[data-v-76d940dc] .path-help-dialog .el-message-box__message{white-space:pre-line;font-family:Courier New,monospace;font-size:13px;line-height:1.6}.el-tag[data-v-76d940dc]{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.path-item[data-v-76d940dc]{font-family:Courier New,monospace;background:#f5f7fa;padding:2px 6px;border-radius:3px;margin:1px 0;border-left:3px solid #409eff}[data-v-76d940dc] .el-tag{max-width:200px!important}.main-title[data-v-21797be4],.main-title[data-v-ecb06f72]{font-size:24px;font-weight:700;color:#333;margin-bottom:18px}.user-details-box[data-v-21797be4]{width:100%;margin:0 auto;box-sizing:border-box;padding:20px;background-color:#fff;border-radius:10px;margin-bottom:20px;height:73vh;overflow:hidden;overflow-y:auto}.time-box[data-v-21797be4]{display:flex;justify-content:space-between;margin-bottom:10px;padding-right:20px;font-size:14px;color:#333}.user-details-form[data-v-21797be4]{width:80%;box-sizing:border-box;padding:20px;background-color:#fff;border-radius:10px;margin-bottom:20px}.no-data-tip[data-v-21797be4]{width:80%;margin:0 auto;font-size:16px;color:#999;text-align:center;margin-top:20px}.history-balance-item[data-v-21797be4]{display:inline-block;background:#e7dff3;padding:8px 20px;border-radius:20px;margin-bottom:10px;color:rgba(0,0,0,.6);flex:none;align-self:flex-start;margin-left:10px}[data-v-21797be4] .el-form-item__label{font-weight:700;font-size:16px;letter-spacing:1px}.chartBox[data-v-21797be4]{width:80vw;box-sizing:border-box;padding:0;margin:30px 0}.lineChartBox[data-v-21797be4]{width:97%;height:80%;box-sizing:border-box;box-shadow:0 0 1px 1px #ccc;padding:20px;border-radius:10px}.lineChartBox-title[data-v-21797be4]{font-size:16px;font-weight:700;color:rgba(0,0,0,.6);margin-bottom:20px}.lineChartBox-header[data-v-21797be4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:1% 5%}.el-date-editor .el-range-separator{padding:0!important;color:#333!important}::v-deep .el-table td{vertical-align:middle}::v-deep .el-table .cell{padding:0 12px;word-break:break-word}::v-deep .el-table tbody tr:hover>td{background-color:#f5f7fa}::v-deep .el-table--border td{border-right:1px solid #ebeef5}::v-deep .el-table--border th{border-right:1px solid #ebeef5}.main-title-box[data-v-0e9d673d]{display:flex;align-items:center;margin-bottom:20px}.main-title-box .add-btn[data-v-0e9d673d]{background:#661ffb;color:#fff;border:none;margin-left:28px;border-radius:20px;padding:10px 20px;transition:all .3s ease}.main-title-box .add-btn .arrow[data-v-0e9d673d]{margin-left:10px}.main-title-box .add-btn[data-v-0e9d673d]:hover{transform:scale(1.05)}.main-title[data-v-0e9d673d]{font-size:24px;font-weight:700;color:#333;margin-bottom:18px}.elBtn[data-v-0e9d673d]{background:#e60751;color:#fff;border:none;margin-left:18px}.editor-page[data-v-35543353]{width:100%;margin:0 auto;padding:20px;background:#f8f9fa;min-height:60vh;overflow-y:auto}.page-header[data-v-35543353]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 8px 32px rgba(102,126,234,.3)}.header-left[data-v-35543353]{flex:1}.title-section[data-v-35543353]{display:flex;align-items:center;margin-bottom:12px}.title-icon[data-v-35543353]{font-size:28px;margin-right:12px;color:gold}.page-title[data-v-35543353]{font-size:28px;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.1)}.page-description[data-v-35543353]{font-size:16px;opacity:.9;margin:0;line-height:1.6}.header-actions[data-v-35543353]{display:flex;gap:12px;flex-wrap:wrap}.header-actions .el-button[data-v-35543353]{border-radius:8px;font-weight:500;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}.header-actions .el-button[data-v-35543353]:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.config-section[data-v-35543353]{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.section-header[data-v-35543353]{display:flex;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f8f9fa;color:#2c3e50;font-weight:600;font-size:18px}.section-header i[data-v-35543353]{margin-right:10px;color:#667eea;font-size:20px}.config-content[data-v-35543353]{display:flex;flex-direction:column;gap:20px;margin-top:18px}.config-row[data-v-35543353]{display:grid;grid-template-columns:1fr 1fr;gap:24px}.config-item[data-v-35543353]{display:flex;flex-direction:column}.config-item label[data-v-35543353]{margin-bottom:8px;font-weight:600;color:#495057;font-size:14px}.required[data-v-35543353]:after{content:"*";color:#e74c3c;margin-left:4px;font-weight:700}.editor-section[data-v-35543353]{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.editor-container[data-v-35543353]{border:1px solid #dcdfe6;border-radius:8px;overflow:hidden;background:#fff;min-height:650px;position:relative;z-index:1}[data-v-35543353] .editor-container .w-e-text-container{min-height:600px!important;z-index:1!important;position:relative}[data-v-35543353] .w-e-toolbar{z-index:10!important;position:relative}.editor-container .w-e-text[data-v-35543353]{height:600px!important;min-height:600px!important}.save-status[data-v-35543353]{position:fixed;bottom:20px;right:20px;background:#67c23a;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(103,194,58,.3);display:flex;align-items:center;gap:8px;font-size:14px;z-index:1000;animation:slideIn-35543353 .3s ease}@keyframes slideIn-35543353{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.preview-dialog .el-dialog__body[data-v-35543353]{padding:20px;max-height:70vh;overflow-y:auto;z-index:9999}.preview-dialog .el-dialog__header[data-v-35543353]{background-color:#f8f9fa;border-bottom:1px solid #ebeef5}.preview-dialog .el-dialog__header .el-dialog__title[data-v-35543353]{color:#333;font-weight:600}.preview-dialog .el-dialog__footer[data-v-35543353]{background-color:#f8f9fa;border-top:1px solid #ebeef5;padding:15px 20px}.preview-dialog .el-dialog__footer .dialog-footer[data-v-35543353]{text-align:right}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]{border-radius:6px;padding:8px 15px;font-weight:500}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]:first-child{margin-right:10px}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]:last-child{background-color:#667eea;border-color:#667eea}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]:last-child:hover{background-color:#5a67d8;border-color:#5a67d8}.preview-content[data-v-35543353]{background:#fff;padding:20px}.preview-empty[data-v-35543353]{text-align:center;padding:50px 20px;color:#95a5a6}.preview-empty i[data-v-35543353]{font-size:48px;margin-bottom:15px;display:block}.preview-empty p[data-v-35543353]{margin:0;font-size:16px}@media(max-width:768px){.editor-page[data-v-35543353]{padding:10px}.page-header[data-v-35543353]{flex-direction:column;gap:20px;padding:20px}.header-actions[data-v-35543353]{width:100%;justify-content:center}.config-row[data-v-35543353]{grid-template-columns:1fr;gap:16px}.page-title[data-v-35543353]{font-size:24px}.save-status[data-v-35543353]{bottom:10px;right:10px;left:10px;text-align:center;justify-content:center}}.el-input[data-v-35543353],.el-select[data-v-35543353]{border-radius:8px}.el-input__inner[data-v-35543353],.el-select .el-input__inner[data-v-35543353]{border-radius:8px;border:1px solid #dcdfe6;transition:all .3s ease}.el-input__inner[data-v-35543353]:focus,.el-select .el-input__inner[data-v-35543353]:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.2)}.el-tag[data-v-35543353]{border-radius:6px;font-weight:500}.dynamic-content[data-v-35543353]{width:100%;margin:0 auto}.dynamic-content[data-v-35543353] table{border-collapse:collapse;width:100%;margin:16px 0}.dynamic-content[data-v-35543353] td,.dynamic-content[data-v-35543353] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.dynamic-content[data-v-35543353] th{background:#f3f4f6;font-weight:700}.dynamic-content[data-v-35543353] b,.dynamic-content[data-v-35543353] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-35543353] em,.dynamic-content[data-v-35543353] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-35543353] a{color:#007bff!important;text-decoration:none!important}.dynamic-content[data-v-35543353] a:hover{text-decoration:underline!important}.no-scroll[data-v-35543353]{overflow:hidden!important}.editor-page[data-v-4ca2f0fb]{width:100%;margin:0 auto;padding:10px;background:#f8f9fa;min-height:60vh}.page-header[data-v-4ca2f0fb]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 8px 32px rgba(102,126,234,.3)}.header-left[data-v-4ca2f0fb]{flex:1}.title-section[data-v-4ca2f0fb]{display:flex;align-items:center;margin-bottom:12px}.title-icon[data-v-4ca2f0fb]{font-size:28px;margin-right:12px;color:gold}.page-title[data-v-4ca2f0fb]{font-size:28px;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.1)}.page-description[data-v-4ca2f0fb]{font-size:16px;opacity:.9;margin:0;line-height:1.6}.header-actions[data-v-4ca2f0fb]{display:flex;gap:12px;flex-wrap:wrap}.header-actions .el-button[data-v-4ca2f0fb]{border-radius:8px;font-weight:500;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}.header-actions .el-button[data-v-4ca2f0fb]:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.content-section[data-v-4ca2f0fb]{width:100%;height:80%;overflow-y:auto;padding:10px}.config-section[data-v-4ca2f0fb]{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.section-header[data-v-4ca2f0fb]{display:flex;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f8f9fa;color:#2c3e50;font-weight:600;font-size:18px}.section-header i[data-v-4ca2f0fb]{margin-right:10px;color:#667eea;font-size:20px}.config-content[data-v-4ca2f0fb]{display:flex;flex-direction:column;gap:20px;margin-top:18px}.config-row[data-v-4ca2f0fb]{display:grid;grid-template-columns:1fr 1fr;gap:24px}.config-item[data-v-4ca2f0fb]{display:flex;flex-direction:column}.config-item label[data-v-4ca2f0fb]{margin-bottom:8px;font-weight:600;color:#495057;font-size:14px}.required[data-v-4ca2f0fb]:after{content:"*";color:#e74c3c;margin-left:4px;font-weight:700}.editor-section[data-v-4ca2f0fb]{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.editor-container[data-v-4ca2f0fb]{border:1px solid #dcdfe6;border-radius:8px;overflow:hidden;background:#fff;min-height:650px;position:relative;z-index:1}[data-v-4ca2f0fb] .editor-container .w-e-text-container{min-height:600px!important;z-index:1!important;position:relative}[data-v-4ca2f0fb] .w-e-toolbar{z-index:10!important;position:relative}.editor-container .w-e-text[data-v-4ca2f0fb]{height:600px!important;min-height:600px!important}.save-status[data-v-4ca2f0fb]{position:fixed;bottom:20px;right:20px;background:#67c23a;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(103,194,58,.3);display:flex;align-items:center;gap:8px;font-size:14px;z-index:1000;animation:slideIn-4ca2f0fb .3s ease}@keyframes slideIn-4ca2f0fb{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.preview-dialog .el-dialog__body[data-v-4ca2f0fb]{padding:20px;max-height:70vh;overflow-y:auto;z-index:9999}.preview-dialog .el-dialog__header[data-v-4ca2f0fb]{background-color:#f8f9fa;border-bottom:1px solid #ebeef5}.preview-dialog .el-dialog__header .el-dialog__title[data-v-4ca2f0fb]{color:#333;font-weight:600}.preview-dialog .el-dialog__footer[data-v-4ca2f0fb]{background-color:#f8f9fa;border-top:1px solid #ebeef5;padding:15px 20px}.preview-dialog .el-dialog__footer .dialog-footer[data-v-4ca2f0fb]{text-align:right}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]{border-radius:6px;padding:8px 15px;font-weight:500}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]:first-child{margin-right:10px}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]:last-child{background-color:#667eea;border-color:#667eea}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]:last-child:hover{background-color:#5a67d8;border-color:#5a67d8}.preview-content[data-v-4ca2f0fb]{background:#fff;padding:20px}.preview-empty[data-v-4ca2f0fb]{text-align:center;padding:50px 20px;color:#95a5a6}.preview-empty i[data-v-4ca2f0fb]{font-size:48px;margin-bottom:15px;display:block}.preview-empty p[data-v-4ca2f0fb]{margin:0;font-size:16px}@media(max-width:768px){.editor-page[data-v-4ca2f0fb]{padding:10px}.page-header[data-v-4ca2f0fb]{flex-direction:column;gap:20px;padding:20px}.header-actions[data-v-4ca2f0fb]{width:100%;justify-content:center}.config-row[data-v-4ca2f0fb]{grid-template-columns:1fr;gap:16px}.page-title[data-v-4ca2f0fb]{font-size:24px}.save-status[data-v-4ca2f0fb]{bottom:10px;right:10px;left:10px;text-align:center;justify-content:center}}.el-input[data-v-4ca2f0fb],.el-select[data-v-4ca2f0fb]{border-radius:8px}.el-input__inner[data-v-4ca2f0fb],.el-select .el-input__inner[data-v-4ca2f0fb]{border-radius:8px;border:1px solid #dcdfe6;transition:all .3s ease}.el-input__inner[data-v-4ca2f0fb]:focus,.el-select .el-input__inner[data-v-4ca2f0fb]:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.2)}.el-tag[data-v-4ca2f0fb]{border-radius:6px;font-weight:500}.dynamic-content[data-v-4ca2f0fb]{width:100%;margin:0 auto}.dynamic-content[data-v-4ca2f0fb] table{border-collapse:collapse;width:100%;margin:16px 0}.dynamic-content[data-v-4ca2f0fb] td,.dynamic-content[data-v-4ca2f0fb] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.dynamic-content[data-v-4ca2f0fb] th{background:#f3f4f6;font-weight:700}.dynamic-content[data-v-4ca2f0fb] b,.dynamic-content[data-v-4ca2f0fb] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-4ca2f0fb] em,.dynamic-content[data-v-4ca2f0fb] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-4ca2f0fb] a{color:#007bff!important;text-decoration:none!important}.dynamic-content[data-v-4ca2f0fb] a:hover{text-decoration:underline!important}.no-scroll[data-v-4ca2f0fb]{overflow:hidden!important}@media screen and (min-width:220px)and (max-width:1279px){.rate[data-v-40d264bd]{min-height:360px!important;background:transparent!important;padding-top:20PX!important}.rateMobile[data-v-40d264bd]{padding:10px}h4[data-v-40d264bd]{color:rgba(0,0,0,.8);padding-left:5%}.tableBox[data-v-40d264bd]{margin:0 auto;width:98%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-40d264bd]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-40d264bd]{text-align:center}.tableBox .table-title span[data-v-40d264bd]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-40d264bd]:nth-of-type(2){width:70%!important}.tableBox .collapseTitle[data-v-40d264bd]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;font-size:.95rem!important}.tableBox .collapseTitle span[data-v-40d264bd]{text-align:center}.tableBox .collapseTitle span[data-v-40d264bd]:first-of-type{width:40%!important;display:flex;align-items:center;justify-content:left;padding-left:4%}.tableBox .collapseTitle span:first-of-type img[data-v-40d264bd]{width:20px;margin-right:5px}.tableBox .collapseTitle span[data-v-40d264bd]:nth-of-type(2){width:60%!important}.tableBox[data-v-40d264bd] .el-collapse-item__wrap{background:#f0e9f5}.tableBox .belowTable[data-v-40d264bd]{margin-top:8px}.tableBox .belowTable div[data-v-40d264bd]{width:50%;height:auto;text-align:left;padding-left:8%;font-size:.85rem!important}.tableBox .belowTable div p[data-v-40d264bd]:first-of-type{font-weight:600}.tableBox .paginationBox[data-v-40d264bd]{text-align:center}}.rate[data-v-40d264bd]{width:100%;min-height:600PX;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;font-size:.9rem}.rateBox[data-v-40d264bd]{width:80%;margin:0 auto;min-height:700PX;display:flex;justify-content:center;border-radius:8PX;overflow:hidden;padding:20PX;transition:.3S linear}.rateBox .leftMenu[data-v-40d264bd]{width:18%;text-align:center;margin-right:2%;padding-top:50PX;box-sizing:border-box;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px}.rateBox .leftMenu ul[data-v-40d264bd]{padding:0;margin:0}.rateBox .leftMenu ul li[data-v-40d264bd]{width:100%;list-style:none;min-height:40PX;display:flex;align-items:center;justify-content:center;margin-top:10PX;border-radius:5PX;background:rgba(210,195,234,.3);width:90%;padding:8px 8px;font-size:.9rem;text-align:left;cursor:pointer}.rateBox .leftMenu ul li[data-v-40d264bd]:hover{background:#d2c3ea}.rateBox .rightText[data-v-40d264bd]{box-sizing:border-box;width:80%;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px;text-align:center;padding-top:30px;background:#fff;padding:20px}.rateBox .rightText h2[data-v-40d264bd]{text-align:left;padding-left:50px;margin-bottom:20px}.rateBox .rightText .table[data-v-40d264bd]{width:100%;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.rateBox .rightText .tableTitle[data-v-40d264bd]{width:90%;display:flex;align-items:center;height:60PX;background:#d2c3ea;border-radius:5px 5px 0 0}.rateBox .rightText .tableTitle span[data-v-40d264bd]{display:inline-block;width:20%;text-align:center}.rateBox .rightText ul[data-v-40d264bd]{width:90%;padding:0;margin:0;display:flex;justify-content:center;flex-direction:column}.rateBox .rightText ul li[data-v-40d264bd]{width:100%;list-style:none;display:flex;align-items:center;height:50PX;background:#f8f8fa;margin-top:8PX;font-size:.95rem}.rateBox .rightText ul li span[data-v-40d264bd]{display:inline-block;width:20%;text-align:center}.rateBox .rightText ul li .coin[data-v-40d264bd]{display:flex;justify-content:left;align-items:center;padding-left:4%;text-transform:uppercase}.rateBox .rightText ul li .coin img[data-v-40d264bd]{width:22px;margin-right:5px}.dynamic-content[data-v-40d264bd]{width:100%;margin:0 auto;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:16px;line-height:1.7;color:#222}.dynamic-content[data-v-40d264bd] table{border-collapse:collapse;width:100%;margin:16px 0}.dynamic-content[data-v-40d264bd] td,.dynamic-content[data-v-40d264bd] th{border:1px solid #d1d5db;padding:8px 8px;text-align:left}.dynamic-content[data-v-40d264bd] th{background:#d2c3ea;font-weight:700}.dynamic-content[data-v-40d264bd] b,.dynamic-content[data-v-40d264bd] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-40d264bd] em,.dynamic-content[data-v-40d264bd] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-40d264bd] a{color:#661ffb!important;text-decoration:none!important}.dynamic-content[data-v-40d264bd] a:hover{text-decoration:underline!important}.navActive[data-v-40d264bd]{background:#ac85e0!important}@media screen and (min-width:220px)and (max-width:1279px){.rate[data-v-7b2f7ae5]{min-height:360px!important;background:transparent!important;padding-top:20PX!important}.rateMobile[data-v-7b2f7ae5]{padding:10px}h4[data-v-7b2f7ae5]{color:rgba(0,0,0,.8);padding-left:5%;font-size:18px}.tableBox[data-v-7b2f7ae5]{margin:0 auto;width:98%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-7b2f7ae5]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-7b2f7ae5]{text-align:center}.tableBox .table-title span[data-v-7b2f7ae5]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-7b2f7ae5]:nth-of-type(2){width:70%!important}.tableBox .collapseTitle[data-v-7b2f7ae5]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;font-size:.95rem!important}.tableBox .collapseTitle span[data-v-7b2f7ae5]{text-align:center}.tableBox .collapseTitle span[data-v-7b2f7ae5]:first-of-type{width:40%!important;display:flex;align-items:center;justify-content:left;padding-left:4%}.tableBox .collapseTitle span:first-of-type img[data-v-7b2f7ae5]{width:20px;margin-right:5px}.tableBox .collapseTitle span[data-v-7b2f7ae5]:nth-of-type(2){width:60%!important}.tableBox[data-v-7b2f7ae5] .el-collapse-item__wrap{background:#f0e9f5}.tableBox .belowTable[data-v-7b2f7ae5]{margin-top:8px}.tableBox .belowTable div[data-v-7b2f7ae5]{min-width:50%;height:auto;text-align:left;padding-left:8%;font-size:.85rem!important}.tableBox .belowTable div p[data-v-7b2f7ae5]:first-of-type{font-weight:600}.tableBox .paginationBox[data-v-7b2f7ae5]{text-align:center}}.rate[data-v-7b2f7ae5]{width:100%;min-height:600PX;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;font-size:.9rem}.rateBox[data-v-7b2f7ae5]{width:80%;margin:0 auto;min-height:700PX;display:flex;justify-content:center;border-radius:8PX;overflow:hidden;padding:20PX;transition:.3S linear}.rateBox .leftMenu[data-v-7b2f7ae5]{width:18%;text-align:center;margin-right:2%;padding-top:50PX;box-sizing:border-box;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px}.rateBox .leftMenu ul[data-v-7b2f7ae5]{display:flex;justify-content:center;padding:0;margin:0}.rateBox .leftMenu ul li[data-v-7b2f7ae5]{list-style:none;min-height:40PX;display:flex;align-items:center;justify-content:center;margin-top:10PX;border-radius:5PX;background:rgba(210,195,234,.3);width:90%;padding:8px 8px;font-size:.9rem;text-align:left}.rateBox .rightText[data-v-7b2f7ae5]{box-sizing:border-box;width:90%;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px;text-align:center;padding-top:30px}.rateBox .rightText h2[data-v-7b2f7ae5]{text-align:left;padding-left:50px;margin-bottom:20px}.rateBox .rightText .table[data-v-7b2f7ae5]{width:100%;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.rateBox .rightText .tableTitle[data-v-7b2f7ae5]{width:90%;display:flex;align-items:center;height:60PX;background:#d2c3ea;border-radius:5px 5px 0 0}.rateBox .rightText .tableTitle span[data-v-7b2f7ae5]{display:inline-block;width:20%;text-align:left;padding-left:2%}.rateBox .rightText .tableTitle .coin[data-v-7b2f7ae5]{width:18%;padding-left:2%}.rateBox .rightText .tableTitle .describe[data-v-7b2f7ae5]{width:35%}.rateBox .rightText ul[data-v-7b2f7ae5]{width:90%;padding:0;margin:0;display:flex;justify-content:center;flex-direction:column}.rateBox .rightText ul li[data-v-7b2f7ae5]{width:100%;list-style:none;display:flex;align-items:center;min-height:50PX;background:#f8f8fa;margin-top:8PX;font-size:.85rem;max-height:200px;overflow:hidden}.rateBox .rightText ul li span[data-v-7b2f7ae5]{display:inline-block;width:20%;text-align:left;padding-left:2%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rateBox .rightText ul li .coin[data-v-7b2f7ae5]{width:18%;display:flex;justify-content:left;align-items:center;padding-left:2%;text-transform:uppercase}.rateBox .rightText ul li .coin img[data-v-7b2f7ae5]{width:22px;margin-right:5px}.rateBox .rightText ul li .describe[data-v-7b2f7ae5]{width:35%;text-align:left;padding-right:8px;font-size:.8rem;word-wrap:break-word;word-break:break-word;white-space:pre-wrap;overflow-wrap:break-word}@media screen and (min-width:220px)and (max-width:1279px){.rate[data-v-cf94a3bc]{background:transparent!important;min-height:360px}.rateMobile[data-v-cf94a3bc]{padding:10px}.ExampleTable[data-v-cf94a3bc],.MiningPool[data-v-cf94a3bc],.content[data-v-cf94a3bc],.text-container[data-v-cf94a3bc]{margin-top:18px;font-size:.9rem}.ExampleTable p[data-v-cf94a3bc],.MiningPool p[data-v-cf94a3bc],.content p[data-v-cf94a3bc],.text-container p[data-v-cf94a3bc]{font-size:.9rem;margin-top:5px}.ExampleTable div[data-v-cf94a3bc],.ExampleTable li[data-v-cf94a3bc],.ExampleTable span[data-v-cf94a3bc],.MiningPool div[data-v-cf94a3bc],.MiningPool li[data-v-cf94a3bc],.MiningPool span[data-v-cf94a3bc],.content div[data-v-cf94a3bc],.content li[data-v-cf94a3bc],.content span[data-v-cf94a3bc],.text-container div[data-v-cf94a3bc],.text-container li[data-v-cf94a3bc],.text-container span[data-v-cf94a3bc]{font-size:.9rem}.ExampleTable table[data-v-cf94a3bc],.MiningPool table[data-v-cf94a3bc],.content table[data-v-cf94a3bc],.text-container table[data-v-cf94a3bc]{border-collapse:collapse;margin-top:8px}.ExampleTable table[data-v-cf94a3bc],.ExampleTable td[data-v-cf94a3bc],.ExampleTable th[data-v-cf94a3bc],.MiningPool table[data-v-cf94a3bc],.MiningPool td[data-v-cf94a3bc],.MiningPool th[data-v-cf94a3bc],.content table[data-v-cf94a3bc],.content td[data-v-cf94a3bc],.content th[data-v-cf94a3bc],.text-container table[data-v-cf94a3bc],.text-container td[data-v-cf94a3bc],.text-container th[data-v-cf94a3bc]{border:1px solid gray;font-size:.9rem;padding:5px}.active[data-v-cf94a3bc]{font-weight:600;background:#f2ecf6;cursor:pointer;text-decoration:underline}.navContent[data-v-cf94a3bc]{width:100%;padding:15px;background:#fff;border-radius:8px;margin-bottom:15px;box-shadow:0 2px 4px rgba(0,0,0,.1);overflow:hidden}.navContent .error-container[data-v-cf94a3bc],.navContent .loading-container[data-v-cf94a3bc]{text-align:center;padding:30px 15px;color:#666;font-size:.9rem}.navContent .error-container[data-v-cf94a3bc]{color:#f56c6c}.navContent .document-content[data-v-cf94a3bc]{font-size:.9rem;line-height:1.5;color:#333;word-wrap:break-word}.navContent .document-content h1[data-v-cf94a3bc],.navContent .document-content h2[data-v-cf94a3bc],.navContent .document-content h3[data-v-cf94a3bc]{margin:15px 0 10px 0;color:#2c3e50;font-weight:600}.navContent .document-content h1[data-v-cf94a3bc]{font-size:1.4rem}.navContent .document-content h2[data-v-cf94a3bc]{font-size:1.2rem}.navContent .document-content h3[data-v-cf94a3bc]{font-size:1.1rem}.navContent .document-content p[data-v-cf94a3bc]{margin:8px 0;line-height:1.5}.navContent .document-content code[data-v-cf94a3bc]{background:#f4f4f4;padding:2px 4px;border-radius:2px;font-size:.85rem}.navContent .document-content pre[data-v-cf94a3bc]{background:#f4f4f4;padding:10px;border-radius:4px;overflow-x:auto;margin:10px 0;font-size:.8rem}.navContent .document-content table[data-v-cf94a3bc]{width:100%;border-collapse:collapse;margin:10px 0;font-size:.8rem}.navContent .document-content table td[data-v-cf94a3bc],.navContent .document-content table th[data-v-cf94a3bc]{border:1px solid #ddd;padding:6px 8px;text-align:left}.navContent .document-content table th[data-v-cf94a3bc]{background:#f8f9fa;font-weight:600}.navContent .document-content a[data-v-cf94a3bc]{color:#5721e4;text-decoration:none}.navContent .document-content [data-v-cf94a3bc]{max-width:100%;box-sizing:border-box}}.rate[data-v-cf94a3bc]{width:100%;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:20px}a[data-v-cf94a3bc]{transition:all .3s}.rateBox[data-v-cf94a3bc]{width:90%;height:830px;margin:0 auto;display:flex;justify-content:center;border-radius:8px;overflow:hidden;padding:20px;transition:.3s linear}.rateBox .leftMenu[data-v-cf94a3bc]{min-width:240px;text-align:center;margin-right:2%;padding-top:50px;border-radius:10px;background:#fff;box-shadow:0 0 8px 2px #ccc}.rateBox .leftMenu ul[data-v-cf94a3bc]{display:flex;flex-direction:column;align-items:center;padding:0;margin:0}.rateBox .leftMenu ul li[data-v-cf94a3bc]{width:100%;list-style:none;min-height:40px;display:flex;align-items:center;justify-content:center;width:90%;margin-top:10px;border-radius:5px;background:rgba(210,195,234,.3);color:#000;cursor:pointer}.rateBox .leftMenu ul li .file[data-v-cf94a3bc]{margin-right:5px}.rateBox .rightText[data-v-cf94a3bc]{flex:1;background:#fff;padding:50px;box-shadow:0 0 8px 2px #ccc;height:100%;overflow-y:auto}.rateBox .rightText .Interface[data-v-cf94a3bc]{height:50px;line-height:50px;background:#f7f7f7;padding-left:10px}.rateBox .rightText .tableTitle[data-v-cf94a3bc]{width:90%;display:flex;align-items:center;height:60px;background:#d2c3ea}.rateBox .rightText .tableTitle span[data-v-cf94a3bc]{display:inline-block;width:20%;text-align:center}.rateBox .rightText .content[data-v-cf94a3bc]{margin-top:30px}.rateBox .rightText .content h3[data-v-cf94a3bc]{margin-bottom:20px}.rateBox .rightText .content p[data-v-cf94a3bc]{line-height:30px;font-size:.95rem}.rateBox .rightText .content ul[data-v-cf94a3bc]{padding:20px;padding-left:20px;background:#f7f7f7;font-size:.9rem}.rateBox .rightText .content ul li[data-v-cf94a3bc]{margin-top:8px}.rateBox .rightText .ExampleTable[data-v-cf94a3bc]{background:#f7f7f7;width:100%;padding-left:10px;padding-bottom:20px}.rateBox .rightText .ExampleTable .title[data-v-cf94a3bc]{height:35px;line-height:35px;font-weight:700;overflow:hidden}.rateBox .rightText .ExampleTable div[data-v-cf94a3bc]{box-sizing:border-box;width:95%;display:flex;height:120px;font-size:.9rem;align-items:center;overflow-y:auto}.rateBox .rightText .ExampleTable div span[data-v-cf94a3bc]{width:100%;border:1px solid rgba(0,0,0,.3);height:100%;padding-left:10px}.rateBox .rightText .text-container[data-v-cf94a3bc]{margin-top:15px}.rateBox .rightText .text-container p[data-v-cf94a3bc]{margin-top:10px;font-size:.95rem}.rateBox .rightText .text-container .container[data-v-cf94a3bc]{background:#f7f7f7;padding-left:10px}.rateBox .rightText .MiningPool[data-v-cf94a3bc]{margin-top:50px;font-size:.95rem}.rateBox .rightText .MiningPool .Pool[data-v-cf94a3bc]{margin-top:20px}.rateBox .rightText .MiningPool .Pool p[data-v-cf94a3bc]{margin-top:8px}.rateBox .rightText .MiningPool .Pool .hash[data-v-cf94a3bc]{font-weight:600}.rateBox .active[data-v-cf94a3bc]{font-weight:600;background:#f2ecf6;cursor:pointer;text-decoration:underline}.rateBox table[data-v-cf94a3bc]{border-collapse:collapse;margin-top:8px}.rateBox table[data-v-cf94a3bc],.rateBox td[data-v-cf94a3bc],.rateBox th[data-v-cf94a3bc]{border:1px solid gray;font-size:.95rem}.rateBox td[data-v-cf94a3bc]{padding:5px;min-width:160px;height:40px;text-align:center;font-size:.9rem}.rateBox th[data-v-cf94a3bc]{font-weight:700;padding:8px}.rateBox tr[data-v-cf94a3bc]:nth-child(odd){background-color:#f7f7f7}.rateBox tr[data-v-cf94a3bc]:first-child,.rateBox tr[data-v-cf94a3bc]:nth-child(2n){background-color:#fff}.rateBox .navContent[data-v-cf94a3bc]{width:100%;max-width:100%;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);margin-bottom:20px;overflow:hidden}.rateBox .navContent .error-container[data-v-cf94a3bc],.rateBox .navContent .loading-container[data-v-cf94a3bc]{text-align:center;padding:40px 20px;color:#666;font-size:14px}.rateBox .navContent .error-container[data-v-cf94a3bc]{color:#f56c6c}.rateBox .navContent .document-content[data-v-cf94a3bc]{font-size:14px;line-height:1.6;color:#333;word-wrap:break-word;overflow-wrap:break-word}.rateBox .navContent .document-content h1[data-v-cf94a3bc],.rateBox .navContent .document-content h2[data-v-cf94a3bc],.rateBox .navContent .document-content h3[data-v-cf94a3bc],.rateBox .navContent .document-content h4[data-v-cf94a3bc],.rateBox .navContent .document-content h5[data-v-cf94a3bc],.rateBox .navContent .document-content h6[data-v-cf94a3bc]{margin:20px 0 15px 0;color:#2c3e50;font-weight:600}.rateBox .navContent .document-content h1[data-v-cf94a3bc]{font-size:28px}.rateBox .navContent .document-content h2[data-v-cf94a3bc]{font-size:24px}.rateBox .navContent .document-content h3[data-v-cf94a3bc]{font-size:20px}.rateBox .navContent .document-content p[data-v-cf94a3bc]{margin:10px 0;line-height:1.6}.rateBox .navContent .document-content code[data-v-cf94a3bc]{background:#f4f4f4;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:13px}.rateBox .navContent .document-content pre[data-v-cf94a3bc]{background:#f4f4f4;padding:15px;border-radius:5px;overflow-x:auto;margin:15px 0}.rateBox .navContent .document-content pre code[data-v-cf94a3bc]{background:none;padding:0}.rateBox .navContent .document-content table[data-v-cf94a3bc]{width:100%;border-collapse:collapse;margin:15px 0;font-size:13px}.rateBox .navContent .document-content table td[data-v-cf94a3bc],.rateBox .navContent .document-content table th[data-v-cf94a3bc]{border:1px solid #ddd;padding:8px 12px;text-align:left}.rateBox .navContent .document-content table th[data-v-cf94a3bc]{background:#f8f9fa;font-weight:600}.rateBox .navContent .document-content table tr[data-v-cf94a3bc]:nth-child(2n){background:#f9f9f9}.rateBox .navContent .document-content a[data-v-cf94a3bc]{color:#5721e4;text-decoration:none}.rateBox .navContent .document-content a[data-v-cf94a3bc]:hover{text-decoration:underline}.rateBox .navContent .document-content strong[data-v-cf94a3bc]{font-weight:600;color:#2c3e50}.rateBox .navContent .document-content em[data-v-cf94a3bc]{font-style:italic;color:#666}.rateBox .navContent .document-content [data-v-cf94a3bc]{max-width:100%;box-sizing:border-box}.rateBox .navContent .document-content img[data-v-cf94a3bc]{max-width:100%;height:auto;border-radius:4px}.navContent[data-v-cf94a3bc]{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.05);margin-bottom:20px}.loading-container[data-v-cf94a3bc]{background:#f8f9fa;padding:40px 20px;text-align:center;border-radius:8px;border:1px solid #e9ecef}.loading-container p[data-v-cf94a3bc]{color:#6c757d;font-size:14px;margin:0;animation:pulse-cf94a3bc 1.5s ease-in-out infinite}.document-content[data-v-cf94a3bc]{background:#fff;padding:20px;border-radius:8px;line-height:1.6;color:#2c3e50;max-height:70vh;overflow-y:auto}.error-container[data-v-cf94a3bc]{background:#fef5f5;padding:30px 20px;text-align:center;border-radius:8px;border:1px solid #fecaca}.error-container p[data-v-cf94a3bc]{color:#dc2626;font-size:14px;margin:0}.dynamic-content[data-v-cf94a3bc]{width:100%;margin:0 auto;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:16px;line-height:1.7;color:#222}.dynamic-content[data-v-cf94a3bc] table{border-collapse:collapse;width:100%;margin:16px 0;font-size:14px}.dynamic-content[data-v-cf94a3bc] ul{background:#f4f4f4;padding:10px;padding-left:18px}.dynamic-content[data-v-cf94a3bc] li{margin-top:10px}.dynamic-content[data-v-cf94a3bc] code{line-height:1px!important}.dynamic-content[data-v-cf94a3bc] span{background-color:transparent!important}.dynamic-content[data-v-cf94a3bc] pre{background:#f4f4f4;line-height:1!important;padding:18px 8px}.dynamic-content[data-v-cf94a3bc] td,.dynamic-content[data-v-cf94a3bc] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.dynamic-content[data-v-cf94a3bc] th{background:#d2c3ea;font-weight:700}.dynamic-content[data-v-cf94a3bc] b,.dynamic-content[data-v-cf94a3bc] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-cf94a3bc] em,.dynamic-content[data-v-cf94a3bc] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-cf94a3bc] a{color:#661ffb!important;text-decoration:none!important}.dynamic-content[data-v-cf94a3bc] a:hover{text-decoration:underline!important}.dynamic-content[data-v-cf94a3bc] div,.dynamic-content[data-v-cf94a3bc] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}@keyframes pulse-cf94a3bc{0%,to{opacity:1}50%{opacity:.5}}@media(max-width:768px){.navContent[data-v-cf94a3bc]{padding:16px;margin:10px}.document-content[data-v-cf94a3bc]{padding:15px;max-height:60vh}.error-container[data-v-cf94a3bc],.loading-container[data-v-cf94a3bc]{padding:25px 15px}}.navActive[data-v-cf94a3bc]{background:#ac85e0!important}.cs-chat-container[data-v-fdce8168]{width:65%;height:600px;margin:0 auto;background-color:#f5f6f7;border-radius:10px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);overflow:hidden;margin-top:50px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;position:relative}.cs-chat-wrapper[data-v-fdce8168]{display:flex;height:100%}.cs-contact-list[data-v-fdce8168]{width:290px;min-width:260px;border-right:1px solid #e0e0e0;background-color:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden}.cs-header[data-v-fdce8168]{padding:15px;font-weight:700;border-bottom:1px solid #e0e0e0;color:#333;font-size:16px;background-color:#f8f8f8}.cs-search[data-v-fdce8168]{padding:10px;border-bottom:1px solid #e0e0e0}.cs-contacts[data-v-fdce8168]{flex:1;overflow-y:auto}.cs-contact-item[data-v-fdce8168]:hover{background-color:#f5f5f5}.cs-contact-item.active[data-v-fdce8168]{background-color:#e6f7ff}.cs-avatar[data-v-fdce8168]{position:relative;margin-right:10px;flex-shrink:0}.unread-badge[data-v-fdce8168]{position:absolute;top:-5px;right:-5px;background-color:#f56c6c;color:#fff;font-size:12px;min-width:16px;height:16px;text-align:center;line-height:16px;border-radius:8px;padding:0 4px}.cs-contact-info[data-v-fdce8168]{flex:1;min-width:0;overflow:hidden}.cs-contact-name[data-v-fdce8168]{font-weight:500;font-size:14px;color:#333;display:flex;justify-content:space-between;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cs-contact-time[data-v-fdce8168]{font-size:12px;color:#999;font-weight:400}.cs-contact-msg[data-v-fdce8168]{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.important-tag[data-v-fdce8168]{color:#f56c6c}.cs-chat-area[data-v-fdce8168]{flex:1;display:flex;flex-direction:column;background-color:#f5f5f5}.cs-chat-header[data-v-fdce8168]{padding:15px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.cs-chat-title[data-v-fdce8168]{font-weight:700;font-size:16px;color:#333;display:flex;align-items:center;gap:10px}.cs-header-actions i[data-v-fdce8168]{font-size:18px;margin-left:15px;color:#666;cursor:pointer}.cs-header-actions i[data-v-fdce8168]:hover{color:#409eff}.cs-chat-messages[data-v-fdce8168]{flex:1;padding:15px;overflow-y:auto;background-color:#f5f5f5;height:calc(100% - 180px);position:relative}.cs-empty-chat[data-v-fdce8168],.cs-loading[data-v-fdce8168]{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#909399}.cs-empty-chat i[data-v-fdce8168],.cs-loading i[data-v-fdce8168]{font-size:60px;margin-bottom:20px;color:#dcdfe6}.cs-message-list[data-v-fdce8168]{display:flex;flex-direction:column;padding-bottom:20px}.cs-message[data-v-fdce8168]{margin-bottom:15px}.cs-message-time[data-v-fdce8168]{text-align:center;margin:10px 0;font-size:12px;color:#909399}.cs-message-content[data-v-fdce8168]{display:flex;align-items:flex-start}.cs-message-self .cs-message-content[data-v-fdce8168]{flex-direction:row-reverse}.cs-message-self .cs-avatar[data-v-fdce8168]{margin-right:0;margin-left:10px}.cs-bubble[data-v-fdce8168]{max-width:70%;padding:8px 12px;border-radius:4px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);position:relative;margin-bottom:4px}.cs-message-self .cs-bubble[data-v-fdce8168]{background-color:#d8f4fe}.cs-sender[data-v-fdce8168]{font-size:12px;color:#909399;margin-bottom:4px}.cs-text[data-v-fdce8168]{font-size:14px;line-height:1.5;word-break:break-word}.cs-image img[data-v-fdce8168]{max-width:200px;max-height:200px;border-radius:4px;cursor:pointer;display:block}.cs-chat-input[data-v-fdce8168]{padding:10px;background-color:#fff;border-top:1px solid #e0e0e0}.cs-toolbar[data-v-fdce8168]{padding:5px 0;margin-bottom:5px}.cs-toolbar i[data-v-fdce8168]{font-size:18px;margin-right:15px;color:#606266;cursor:pointer}.cs-toolbar i[data-v-fdce8168]:hover{color:#409eff}.cs-input-area[data-v-fdce8168]{margin-bottom:10px}.cs-send-area[data-v-fdce8168]{display:flex;justify-content:flex-end;align-items:center}.cs-counter[data-v-fdce8168]{margin-right:10px;font-size:12px;color:#909399}.shop-type[data-v-fdce8168]{font-size:12px;color:#909399;font-weight:400;margin-left:5px}.image-preview-dialog[data-v-fdce8168]{display:flex;justify-content:center;align-items:center}.preview-image[data-v-fdce8168]{max-width:100%;max-height:80vh}@media (max-width:768px){.cs-contact-list[data-v-fdce8168]{width:200px}.cs-image img[data-v-fdce8168]{max-width:150px;max-height:150px}}.important-star[data-v-fdce8168]{display:flex;align-items:center;justify-content:center;width:30px;height:30px;cursor:pointer;margin-left:5px;color:#c0c4cc;transition:color .3s;flex-shrink:0}.important-star.is-important[data-v-fdce8168],.important-star[data-v-fdce8168]:hover{color:#ac85e0}.important-star i[data-v-fdce8168]{font-size:16px}.cs-contact-item[data-v-fdce8168]{display:flex;padding:10px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .2s;align-items:center;width:100%;box-sizing:border-box}.important-tag[data-v-fdce8168]{color:#ac85e0;font-size:12px;margin-right:4px;font-weight:700}.guest-badge[data-v-fdce8168]{position:absolute;bottom:-5px;right:-5px;background-color:#67c23a;color:#fff;font-size:10px;width:16px;height:16px;text-align:center;line-height:16px;border-radius:8px}.cs-contact-item.is-guest[data-v-fdce8168]{background-color:#f9f9f9}.scroll-to-bottom[data-v-fdce8168]{position:absolute;right:4px;bottom:184px;background-color:#fff;border-radius:5px 0 0 5px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s;z-index:1000;padding:5px 1vw;font-size:.7vw;color:#7638ff}.scroll-to-bottom[data-v-fdce8168]:hover{background-color:#f0f0f0;transform:translateY(-2px)}.scroll-to-bottom i[data-v-fdce8168]{font-size:.8vw;color:#7638ff;margin-left:5px}.connection-status[data-v-fdce8168]{position:fixed;top:8%;right:41%;padding:8px 16px;border-radius:4px;display:flex;align-items:center;gap:8px;z-index:1000;color:#7638ff}.connection-status.error[data-v-fdce8168]{background-color:#fef0f0;color:#f56c6c}.connection-status.connecting[data-v-fdce8168]{background-color:#f0f9eb;color:#67c23a}.history-section[data-v-fdce8168]{margin-bottom:10px}.history-indicator[data-v-fdce8168]{padding:8px 12px}.history-indicator[data-v-fdce8168],.no-more-history[data-v-fdce8168]{transition:all .3s ease;border-radius:4px}.no-more-history i[data-v-fdce8168]{margin-right:6px;font-size:.8em}.network-status[data-v-fdce8168]{position:fixed;top:80px;right:20px;padding:8px 16px;border-radius:4px;display:flex;align-items:center;gap:8px;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.1);background-color:#fef0f0;color:#f56c6c}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-28885394]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30px;display:flex;justify-content:center;overflow-y:auto;height:100%}.AccessMiningPoolMain .mail[data-v-28885394]{color:#5917c4}.notOpen[data-v-28885394]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-28885394]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-28885394]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-28885394]{width:80%}.currencySelect[data-v-28885394]{display:flex;align-items:center;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-28885394]{width:100%}.currencySelect .el-menu[data-v-28885394]{background:transparent}.currencySelect .coinSelect img[data-v-28885394]{width:25px}.currencySelect .coinSelect span[data-v-28885394]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-28885394]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-28885394]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-28885394]{width:25px}.moveCurrencyBox li p[data-v-28885394]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-28885394]{padding:0 20px}.mainTitle span[data-v-28885394]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-28885394]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-28885394]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-28885394]{text-align:center}.tableBox .table-title span[data-v-28885394]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-28885394]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-28885394]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-28885394]{text-align:center}.tableBox .collapseTitle span[data-v-28885394]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-28885394]{margin-right:5px}.tableBox .collapseTitle span[data-v-28885394]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-28885394]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-28885394]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-28885394]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-28885394]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-28885394]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-28885394]{text-align:center}#careful[data-v-28885394]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-28885394]{color:#5917c4}.step[data-v-28885394]{width:99%!important;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:15px!important}.step p[data-v-28885394]{line-height:25px!important}.step .stepTitle[data-v-28885394]{height:auto!important;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:30px!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-28885394]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-28885394] .el-collapse-item__content{padding:0!important}.nav[data-v-28885394]{z-index:1000;margin-right:8px}.nav-item[data-v-28885394]{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 10px}.nav-item .itemImg[data-v-28885394]{width:20px;margin-right:5px}.nav-item .arrow[data-v-28885394]{margin-left:5px;border:solid rgba(0,0,0,.3);border-width:0 1px 1px 0;display:inline-block;padding:3px;transform:rotate(45deg);transition:transform .3s}.nav-item .arrow.up[data-v-28885394]{transform:rotate(-135deg)}.dropdown[data-v-28885394]{position:absolute;top:28px;left:0;width:362px;background:#fff;border:1px solid #eee;border-radius:4px;padding:3px;display:none;flex-wrap:wrap;gap:1px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);z-index:999999}.dropdown.show[data-v-28885394]{display:flex}.dropdown .option[data-v-28885394]{width:70px;height:70px;background:#f5f5f5;cursor:pointer;transition:all .3s;border-radius:4px;overflow:hidden;text-align:center;padding:5px;text-overflow:ellipsis}.dropdown .optionActive[data-v-28885394],.dropdown .option[data-v-28885394]:hover{background:#e8e8e8;color:#6e3edb;border:1px solid #9d8ac9}.dropdownCoin[data-v-28885394]{width:23px;margin:0}.dropdownText[data-v-28885394]{width:100%;font-size:.8rem;text-align:center;margin:0;word-break:break-word;margin-top:5px}}.AccessMiningPoolMain[data-v-28885394],.openAPI[data-v-28885394]{width:100%;height:100%}.AccessMiningPool[data-v-28885394]{width:100%;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 65%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60px;display:flex;justify-content:center}.AccessMiningPool a[data-v-28885394]{color:#8a2be2}.tutorialContent[data-v-28885394]{width:60%;box-shadow:0 0 10px 3px rgba(0,0,0,.1);border-radius:8px;overflow:hidden;background:#fff;padding-top:30px;height:100%;overflow-y:auto;padding:20px;padding-bottom:30px}.notOpen[data-v-28885394]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-28885394]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-28885394]{width:18%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1);min-height:300px}.menu ul[data-v-28885394]{margin:0;padding:0}.menu ul li[data-v-28885394]{list-style:none;min-height:40px;line-height:20px;text-align:left;margin-top:8px;cursor:pointer;align-items:start;padding:5px;transition:all .3s;display:flex;align-items:center;justify-content:left}.menu ul li img[data-v-28885394]{width:25px;margin-right:5px}.menu ul li span[data-v-28885394]{font-size:.9rem}.menu ul li[data-v-28885394]:hover{text-decoration:underline}.active[data-v-28885394]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-28885394]{width:70%;box-shadow:0 0 10px 3px rgba(0,0,0,.1);background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-28885394]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-28885394]{width:30px;margin-right:5px}.table .theServer[data-v-28885394]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-28885394]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-28885394]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-28885394]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-28885394]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-28885394]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-28885394]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-28885394]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-28885394]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-28885394]{width:10%}.table .theServer ul li .port[data-v-28885394]{width:35%}.table .theServer ul li .port i[data-v-28885394]{font-size:1em}.table .theServer ul li .port i[data-v-28885394]:hover{color:#6924ff}.table .theServer ul li i[data-v-28885394]{cursor:pointer}.table .theServer ul li[data-v-28885394]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-28885394]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-28885394]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-28885394]{width:25px}.table .theServer ul .liTitle .coin span[data-v-28885394]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-28885394]{width:35%}.table .careful[data-v-28885394]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-28885394]{color:#6924ff}.step[data-v-28885394]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-28885394]{line-height:30px}.step .stepTitle[data-v-28885394]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-28885394]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.rightContent[data-v-28885394]{flex:1;height:100%;margin-left:50px;overflow-y:auto;padding-right:20px;background:#fff}.rightContent .dynamic-content[data-v-28885394]{width:100%;margin:0 auto;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:16px;line-height:1.7;color:#222}.rightContent .dynamic-content[data-v-28885394] table{border-collapse:collapse;width:100%;margin:16px 0;font-size:14px}.rightContent .dynamic-content[data-v-28885394] td,.rightContent .dynamic-content[data-v-28885394] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.rightContent .dynamic-content[data-v-28885394] th{background:#d2c3ea;font-weight:700}.rightContent .dynamic-content[data-v-28885394] b,.rightContent .dynamic-content[data-v-28885394] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.rightContent .dynamic-content[data-v-28885394] em,.rightContent .dynamic-content[data-v-28885394] i{font-style:italic!important;color:inherit!important}.rightContent .dynamic-content[data-v-28885394] a{color:#661ffb!important;text-decoration:none!important}.rightContent .dynamic-content[data-v-28885394] a:hover{text-decoration:underline!important}.rightContent .dynamic-content[data-v-28885394] p{text-indent:0!important}.rightContent .dynamic-content[data-v-28885394] div,.rightContent .dynamic-content[data-v-28885394] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}.rightContent .loading-container[data-v-28885394]{text-align:center;padding:40px 0}.rightContent .loading-container .loading-text[data-v-28885394]{font-size:16px;color:#666;vertical-align:middle}.rightContent .no-content[data-v-28885394]{text-align:center;padding:40px 0}.rightContent .no-content p[data-v-28885394]{font-size:16px;color:#999;margin:0}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-089a61bb]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-089a61bb]{color:#5917c4}.notOpen[data-v-089a61bb]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-089a61bb]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-089a61bb]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-089a61bb]{width:80%}.currencySelect[data-v-089a61bb]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-089a61bb]{width:100%}.currencySelect .el-menu[data-v-089a61bb]{background:transparent}.currencySelect .coinSelect img[data-v-089a61bb]{width:25px}.currencySelect .coinSelect span[data-v-089a61bb]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-089a61bb]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-089a61bb]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-089a61bb]{width:25px}.moveCurrencyBox li p[data-v-089a61bb]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-089a61bb]{padding:0 20px}.mainTitle span[data-v-089a61bb]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-089a61bb]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-089a61bb]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-089a61bb]{text-align:center}.tableBox .table-title span[data-v-089a61bb]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-089a61bb]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-089a61bb]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-089a61bb]{text-align:center}.tableBox .collapseTitle span[data-v-089a61bb]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-089a61bb]{margin-right:5px}.tableBox .collapseTitle span[data-v-089a61bb]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-089a61bb]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-089a61bb]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-089a61bb]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-089a61bb]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-089a61bb]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-089a61bb]{text-align:center}#careful[data-v-089a61bb]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-089a61bb]{color:#5917c4}.step[data-v-089a61bb]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-089a61bb]{line-height:25PX!important}.step .stepTitle[data-v-089a61bb]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-089a61bb]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-089a61bb] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-089a61bb]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-089a61bb]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-089a61bb]{color:#8a2be2}.notOpen[data-v-089a61bb]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-089a61bb]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-089a61bb]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-089a61bb]{margin:0;padding:0}.menu ul li[data-v-089a61bb]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-089a61bb]:hover{text-decoration:underline}.active[data-v-089a61bb]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-089a61bb]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-089a61bb]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-089a61bb]{width:30px;margin-right:5px}.table .theServer[data-v-089a61bb]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-089a61bb]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-089a61bb]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-089a61bb]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-089a61bb]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-089a61bb]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-089a61bb]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-089a61bb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-089a61bb]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-089a61bb]{width:10%}.table .theServer ul li .port[data-v-089a61bb]{width:35%}.table .theServer ul li .port i[data-v-089a61bb]{font-size:1em}.table .theServer ul li .port i[data-v-089a61bb]:hover{color:#6924ff}.table .theServer ul li i[data-v-089a61bb]{cursor:pointer}.table .theServer ul li[data-v-089a61bb]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-089a61bb]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-089a61bb]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-089a61bb]{width:25px}.table .theServer ul .liTitle .coin span[data-v-089a61bb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-089a61bb]{width:35%}.table .careful[data-v-089a61bb]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-089a61bb]{color:#6924ff}.step[data-v-089a61bb]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-089a61bb]{line-height:30px}.step .stepTitle[data-v-089a61bb]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-089a61bb]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-91fdfe0e]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30px;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-91fdfe0e]{color:#5917c4}.notOpen[data-v-91fdfe0e]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-91fdfe0e]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-91fdfe0e]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-91fdfe0e]{width:80%}.currencySelect[data-v-91fdfe0e]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-91fdfe0e]{width:100%}.currencySelect .el-menu[data-v-91fdfe0e]{background:transparent}.currencySelect .coinSelect img[data-v-91fdfe0e]{width:25px}.currencySelect .coinSelect span[data-v-91fdfe0e]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-91fdfe0e]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-91fdfe0e]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-91fdfe0e]{width:25px}.moveCurrencyBox li p[data-v-91fdfe0e]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-91fdfe0e]{padding:0 20px}.mainTitle span[data-v-91fdfe0e]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-91fdfe0e]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-91fdfe0e]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-91fdfe0e]{text-align:center}.tableBox .table-title span[data-v-91fdfe0e]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-91fdfe0e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-91fdfe0e]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-91fdfe0e]{text-align:center}.tableBox .collapseTitle span[data-v-91fdfe0e]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-91fdfe0e]{margin-right:5px}.tableBox .collapseTitle span[data-v-91fdfe0e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-91fdfe0e]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-91fdfe0e]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-91fdfe0e]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-91fdfe0e]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-91fdfe0e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-91fdfe0e]{text-align:center}#careful[data-v-91fdfe0e]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-91fdfe0e]{color:#5917c4}.step[data-v-91fdfe0e]{width:99%!important;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:15px!important}.step p[data-v-91fdfe0e]{line-height:25px!important}.step .stepTitle[data-v-91fdfe0e]{height:auto!important;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:30px!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-91fdfe0e]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-91fdfe0e] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-91fdfe0e]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-91fdfe0e]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-91fdfe0e]{color:#8a2be2}.notOpen[data-v-91fdfe0e]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-91fdfe0e]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-91fdfe0e]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-91fdfe0e]{margin:0;padding:0}.menu ul li[data-v-91fdfe0e]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-91fdfe0e]:hover{text-decoration:underline}.active[data-v-91fdfe0e]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-91fdfe0e]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-91fdfe0e]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-91fdfe0e]{width:30px;margin-right:5px}.table .theServer[data-v-91fdfe0e]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-91fdfe0e]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-91fdfe0e]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-91fdfe0e]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-91fdfe0e]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-91fdfe0e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-91fdfe0e]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-91fdfe0e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-91fdfe0e]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-91fdfe0e]{width:10%}.table .theServer ul li .port[data-v-91fdfe0e]{width:35%}.table .theServer ul li .port i[data-v-91fdfe0e]{font-size:1em}.table .theServer ul li .port i[data-v-91fdfe0e]:hover{color:#6924ff}.table .theServer ul li i[data-v-91fdfe0e]{cursor:pointer}.table .theServer ul li[data-v-91fdfe0e]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-91fdfe0e]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-91fdfe0e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-91fdfe0e]{width:25px}.table .theServer ul .liTitle .coin span[data-v-91fdfe0e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-91fdfe0e]{width:35%}.table .careful[data-v-91fdfe0e]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-91fdfe0e]{color:#6924ff}.step[data-v-91fdfe0e]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-91fdfe0e]{line-height:30px}.step .stepTitle[data-v-91fdfe0e]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-91fdfe0e]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-ea469a34]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-ea469a34]{color:#5917c4}.notOpen[data-v-ea469a34]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-ea469a34]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-ea469a34]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-ea469a34]{width:80%}.currencySelect[data-v-ea469a34]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-ea469a34]{width:100%}.currencySelect .el-menu[data-v-ea469a34]{background:transparent}.currencySelect .coinSelect img[data-v-ea469a34]{width:25px}.currencySelect .coinSelect span[data-v-ea469a34]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-ea469a34]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-ea469a34]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-ea469a34]{width:25px}.moveCurrencyBox li p[data-v-ea469a34]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-ea469a34]{padding:0 20px}.mainTitle span[data-v-ea469a34]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-ea469a34]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-ea469a34]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-ea469a34]{text-align:center}.tableBox .table-title span[data-v-ea469a34]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-ea469a34]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-ea469a34]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-ea469a34]{text-align:center}.tableBox .collapseTitle span[data-v-ea469a34]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-ea469a34]{margin-right:5px}.tableBox .collapseTitle span[data-v-ea469a34]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-ea469a34]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-ea469a34]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-ea469a34]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-ea469a34]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-ea469a34]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-ea469a34]{text-align:center}#careful[data-v-ea469a34]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-ea469a34]{color:#5917c4}.step[data-v-ea469a34]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-ea469a34]{line-height:25PX!important}.step .stepTitle[data-v-ea469a34]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-ea469a34]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-ea469a34] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-ea469a34]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-ea469a34]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-ea469a34]{color:#8a2be2}.notOpen[data-v-ea469a34]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-ea469a34]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-ea469a34]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-ea469a34]{margin:0;padding:0}.menu ul li[data-v-ea469a34]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-ea469a34]:hover{text-decoration:underline}.active[data-v-ea469a34]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-ea469a34]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-ea469a34]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-ea469a34]{width:30px;margin-right:5px}.table .theServer[data-v-ea469a34]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-ea469a34]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-ea469a34]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-ea469a34]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-ea469a34]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-ea469a34]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-ea469a34]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-ea469a34]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-ea469a34]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-ea469a34]{width:10%}.table .theServer ul li .port[data-v-ea469a34]{width:35%}.table .theServer ul li .port i[data-v-ea469a34]{font-size:1em}.table .theServer ul li .port i[data-v-ea469a34]:hover{color:#6924ff}.table .theServer ul li i[data-v-ea469a34]{cursor:pointer}.table .theServer ul li[data-v-ea469a34]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-ea469a34]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-ea469a34]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-ea469a34]{width:25px}.table .theServer ul .liTitle .coin span[data-v-ea469a34]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-ea469a34]{width:35%}.table .careful[data-v-ea469a34]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-ea469a34]{color:#6924ff}.step[data-v-ea469a34]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-ea469a34]{line-height:30px;text-align:left}.step .stepTitle[data-v-ea469a34]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-ea469a34]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-ea469a34]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-708f8544]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-708f8544]{color:#5917c4}.notOpen[data-v-708f8544]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-708f8544]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-708f8544]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-708f8544]{width:80%}.currencySelect[data-v-708f8544]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-708f8544]{width:100%}.currencySelect .el-menu[data-v-708f8544]{background:transparent}.currencySelect .coinSelect img[data-v-708f8544]{width:25px}.currencySelect .coinSelect span[data-v-708f8544]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-708f8544]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-708f8544]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-708f8544]{width:25px}.moveCurrencyBox li p[data-v-708f8544]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-708f8544]{padding:0 20px}.mainTitle span[data-v-708f8544]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-708f8544]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-708f8544]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-708f8544]{text-align:center}.tableBox .table-title span[data-v-708f8544]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-708f8544]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-708f8544]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-708f8544]{text-align:center}.tableBox .collapseTitle span[data-v-708f8544]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-708f8544]{margin-right:5px}.tableBox .collapseTitle span[data-v-708f8544]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-708f8544]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-708f8544]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-708f8544]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-708f8544]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-708f8544]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-708f8544]{text-align:center}#careful[data-v-708f8544]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-708f8544]{color:#5917c4}.step[data-v-708f8544]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-708f8544]{line-height:25PX!important}.step .stepTitle[data-v-708f8544]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-708f8544]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-708f8544] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-708f8544]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-708f8544]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-708f8544]{color:#8a2be2}.notOpen[data-v-708f8544]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-708f8544]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-708f8544]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-708f8544]{margin:0;padding:0}.menu ul li[data-v-708f8544]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-708f8544]:hover{text-decoration:underline}.active[data-v-708f8544]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-708f8544]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-708f8544]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-708f8544]{width:30px;margin-right:5px}.table .theServer[data-v-708f8544]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-708f8544]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-708f8544]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-708f8544]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-708f8544]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-708f8544]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-708f8544]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-708f8544]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-708f8544]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-708f8544]{width:10%}.table .theServer ul li .port[data-v-708f8544]{width:35%}.table .theServer ul li .port i[data-v-708f8544]{font-size:1em}.table .theServer ul li .port i[data-v-708f8544]:hover{color:#6924ff}.table .theServer ul li i[data-v-708f8544]{cursor:pointer}.table .theServer ul li[data-v-708f8544]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-708f8544]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-708f8544]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-708f8544]{width:25px}.table .theServer ul .liTitle .coin span[data-v-708f8544]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-708f8544]{width:35%}.table .careful[data-v-708f8544]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-708f8544]{color:#6924ff}.step[data-v-708f8544]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-708f8544]{line-height:30px;text-align:left}.step .stepTitle[data-v-708f8544]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-708f8544]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-708f8544]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-76355f4e]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-76355f4e]{color:#5917c4}.notOpen[data-v-76355f4e]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-76355f4e]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-76355f4e]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-76355f4e]{width:80%}.currencySelect[data-v-76355f4e]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-76355f4e]{width:100%}.currencySelect .el-menu[data-v-76355f4e]{background:transparent}.currencySelect .coinSelect img[data-v-76355f4e]{width:25px}.currencySelect .coinSelect span[data-v-76355f4e]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-76355f4e]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-76355f4e]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-76355f4e]{width:25px}.moveCurrencyBox li p[data-v-76355f4e]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-76355f4e]{padding:0 20px}.mainTitle span[data-v-76355f4e]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-76355f4e]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-76355f4e]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-76355f4e]{text-align:center}.tableBox .table-title span[data-v-76355f4e]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-76355f4e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-76355f4e]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-76355f4e]{text-align:center}.tableBox .collapseTitle span[data-v-76355f4e]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-76355f4e]{margin-right:5px}.tableBox .collapseTitle span[data-v-76355f4e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-76355f4e]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-76355f4e]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-76355f4e]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-76355f4e]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-76355f4e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-76355f4e]{text-align:center}#careful[data-v-76355f4e]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-76355f4e]{color:#5917c4}.step[data-v-76355f4e]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-76355f4e]{line-height:25PX!important}.step .stepTitle[data-v-76355f4e]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-76355f4e]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-76355f4e] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-76355f4e]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-76355f4e]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-76355f4e]{color:#8a2be2}.notOpen[data-v-76355f4e]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-76355f4e]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-76355f4e]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-76355f4e]{margin:0;padding:0}.menu ul li[data-v-76355f4e]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-76355f4e]:hover{text-decoration:underline}.active[data-v-76355f4e]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-76355f4e]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-76355f4e]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-76355f4e]{width:30px;margin-right:5px}.table .theServer[data-v-76355f4e]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-76355f4e]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-76355f4e]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-76355f4e]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-76355f4e]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-76355f4e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-76355f4e]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-76355f4e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-76355f4e]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-76355f4e]{width:10%}.table .theServer ul li .port[data-v-76355f4e]{width:35%}.table .theServer ul li .port i[data-v-76355f4e]{font-size:1em}.table .theServer ul li .port i[data-v-76355f4e]:hover{color:#6924ff}.table .theServer ul li i[data-v-76355f4e]{cursor:pointer}.table .theServer ul li[data-v-76355f4e]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-76355f4e]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-76355f4e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-76355f4e]{width:25px}.table .theServer ul .liTitle .coin span[data-v-76355f4e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-76355f4e]{width:35%}.table .careful[data-v-76355f4e]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-76355f4e]{color:#6924ff}.step[data-v-76355f4e]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-76355f4e]{line-height:30px;text-align:left}.step .stepTitle[data-v-76355f4e]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-76355f4e]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-76355f4e]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-340a7930]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-340a7930]{color:#5917c4}.notOpen[data-v-340a7930]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-340a7930]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-340a7930]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-340a7930]{width:80%}.currencySelect[data-v-340a7930]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-340a7930]{width:100%}.currencySelect .el-menu[data-v-340a7930]{background:transparent}.currencySelect .coinSelect img[data-v-340a7930]{width:25px}.currencySelect .coinSelect span[data-v-340a7930]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-340a7930]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-340a7930]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-340a7930]{width:25px}.moveCurrencyBox li p[data-v-340a7930]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-340a7930]{padding:0 20px}.mainTitle span[data-v-340a7930]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-340a7930]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-340a7930]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-340a7930]{text-align:center}.tableBox .table-title span[data-v-340a7930]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-340a7930]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-340a7930]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-340a7930]{text-align:center}.tableBox .collapseTitle span[data-v-340a7930]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-340a7930]{margin-right:5px}.tableBox .collapseTitle span[data-v-340a7930]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-340a7930]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-340a7930]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-340a7930]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-340a7930]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-340a7930]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-340a7930]{text-align:center}#careful[data-v-340a7930]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-340a7930]{color:#5917c4}.step[data-v-340a7930]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-340a7930]{line-height:25PX!important}.step .stepTitle[data-v-340a7930]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-340a7930]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-340a7930] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-340a7930]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-340a7930]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-340a7930]{color:#8a2be2}.notOpen[data-v-340a7930]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-340a7930]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-340a7930]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-340a7930]{margin:0;padding:0}.menu ul li[data-v-340a7930]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-340a7930]:hover{text-decoration:underline}.active[data-v-340a7930]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-340a7930]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-340a7930]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-340a7930]{width:30px;margin-right:5px}.table .theServer[data-v-340a7930]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-340a7930]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-340a7930]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-340a7930]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-340a7930]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-340a7930]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-340a7930]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-340a7930]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-340a7930]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-340a7930]{width:10%}.table .theServer ul li .port[data-v-340a7930]{width:35%}.table .theServer ul li .port i[data-v-340a7930]{font-size:1em}.table .theServer ul li .port i[data-v-340a7930]:hover{color:#6924ff}.table .theServer ul li i[data-v-340a7930]{cursor:pointer}.table .theServer ul li[data-v-340a7930]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-340a7930]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-340a7930]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-340a7930]{width:25px}.table .theServer ul .liTitle .coin span[data-v-340a7930]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-340a7930]{width:35%}.table .careful[data-v-340a7930]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-340a7930]{color:#6924ff}.step[data-v-340a7930]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-340a7930]{line-height:30px;text-align:left}.step .stepTitle[data-v-340a7930]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-340a7930]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-340a7930]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-5b6cc974]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-5b6cc974]{color:#5917c4}.notOpen[data-v-5b6cc974]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-5b6cc974]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-5b6cc974]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-5b6cc974]{width:80%}.currencySelect[data-v-5b6cc974]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-5b6cc974]{width:100%}.currencySelect .el-menu[data-v-5b6cc974]{background:transparent}.currencySelect .coinSelect img[data-v-5b6cc974]{width:25px}.currencySelect .coinSelect span[data-v-5b6cc974]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-5b6cc974]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-5b6cc974]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-5b6cc974]{width:25px}.moveCurrencyBox li p[data-v-5b6cc974]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-5b6cc974]{padding:0 20px}.mainTitle span[data-v-5b6cc974]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-5b6cc974]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-5b6cc974]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-5b6cc974]{text-align:center}.tableBox .table-title span[data-v-5b6cc974]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-5b6cc974]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-5b6cc974]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-5b6cc974]{text-align:center}.tableBox .collapseTitle span[data-v-5b6cc974]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-5b6cc974]{margin-right:5px}.tableBox .collapseTitle span[data-v-5b6cc974]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-5b6cc974]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-5b6cc974]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-5b6cc974]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-5b6cc974]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-5b6cc974]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-5b6cc974]{text-align:center}#careful[data-v-5b6cc974]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-5b6cc974]{color:#5917c4}.step[data-v-5b6cc974]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-5b6cc974]{line-height:25PX!important}.step .stepTitle[data-v-5b6cc974]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-5b6cc974]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-5b6cc974] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-5b6cc974]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-5b6cc974]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-5b6cc974]{color:#8a2be2}.notOpen[data-v-5b6cc974]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-5b6cc974]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-5b6cc974]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-5b6cc974]{margin:0;padding:0}.menu ul li[data-v-5b6cc974]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-5b6cc974]:hover{text-decoration:underline}.active[data-v-5b6cc974]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-5b6cc974]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-5b6cc974]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-5b6cc974]{width:30px;margin-right:5px}.table .theServer[data-v-5b6cc974]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-5b6cc974]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-5b6cc974]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-5b6cc974]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-5b6cc974]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-5b6cc974]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-5b6cc974]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-5b6cc974]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-5b6cc974]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-5b6cc974]{width:10%}.table .theServer ul li .port[data-v-5b6cc974]{width:35%}.table .theServer ul li .port i[data-v-5b6cc974]{font-size:1em}.table .theServer ul li .port i[data-v-5b6cc974]:hover{color:#6924ff}.table .theServer ul li i[data-v-5b6cc974]{cursor:pointer}.table .theServer ul li[data-v-5b6cc974]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-5b6cc974]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-5b6cc974]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-5b6cc974]{width:25px}.table .theServer ul .liTitle .coin span[data-v-5b6cc974]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-5b6cc974]{width:35%}.table .careful[data-v-5b6cc974]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-5b6cc974]{color:#6924ff}.step[data-v-5b6cc974]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-5b6cc974]{line-height:30px;text-align:left}.step .stepTitle[data-v-5b6cc974]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-5b6cc974]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-5b6cc974]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-415158a6]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-415158a6]{color:#5917c4}.notOpen[data-v-415158a6]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-415158a6]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-415158a6]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-415158a6]{width:80%}.currencySelect[data-v-415158a6]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-415158a6]{width:100%}.currencySelect .el-menu[data-v-415158a6]{background:transparent}.currencySelect .coinSelect img[data-v-415158a6]{width:25px}.currencySelect .coinSelect span[data-v-415158a6]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-415158a6]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-415158a6]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-415158a6]{width:25px}.moveCurrencyBox li p[data-v-415158a6]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-415158a6]{padding:0 20px}.mainTitle span[data-v-415158a6]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-415158a6]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-415158a6]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-415158a6]{text-align:center}.tableBox .table-title span[data-v-415158a6]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-415158a6]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-415158a6]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-415158a6]{text-align:center}.tableBox .collapseTitle span[data-v-415158a6]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-415158a6]{margin-right:5px}.tableBox .collapseTitle span[data-v-415158a6]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-415158a6]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-415158a6]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-415158a6]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-415158a6]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-415158a6]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-415158a6]{text-align:center}#careful[data-v-415158a6]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-415158a6]{color:#5917c4}.step[data-v-415158a6]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-415158a6]{line-height:25PX!important}.step .stepTitle[data-v-415158a6]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-415158a6]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-415158a6] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-415158a6]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-415158a6]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-415158a6]{color:#8a2be2}.notOpen[data-v-415158a6]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-415158a6]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-415158a6]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-415158a6]{margin:0;padding:0}.menu ul li[data-v-415158a6]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-415158a6]:hover{text-decoration:underline}.active[data-v-415158a6]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-415158a6]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-415158a6]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-415158a6]{width:30px;margin-right:5px}.table .theServer[data-v-415158a6]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-415158a6]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-415158a6]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-415158a6]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-415158a6]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-415158a6]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-415158a6]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-415158a6]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-415158a6]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-415158a6]{width:10%}.table .theServer ul li .port[data-v-415158a6]{width:35%}.table .theServer ul li .port i[data-v-415158a6]{font-size:1em}.table .theServer ul li .port i[data-v-415158a6]:hover{color:#6924ff}.table .theServer ul li i[data-v-415158a6]{cursor:pointer}.table .theServer ul li[data-v-415158a6]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-415158a6]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-415158a6]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-415158a6]{width:25px}.table .theServer ul .liTitle .coin span[data-v-415158a6]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-415158a6]{width:35%}.table .careful[data-v-415158a6]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-415158a6]{color:#6924ff}.step[data-v-415158a6]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-415158a6]{line-height:30px;text-align:left}.step .stepTitle[data-v-415158a6]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-415158a6]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-415158a6]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-0779e610]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-0779e610]{color:#5917c4}.notOpen[data-v-0779e610]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-0779e610]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-0779e610]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-0779e610]{width:80%}.currencySelect[data-v-0779e610]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-0779e610]{width:100%}.currencySelect .el-menu[data-v-0779e610]{background:transparent}.currencySelect .coinSelect img[data-v-0779e610]{width:25px}.currencySelect .coinSelect span[data-v-0779e610]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-0779e610]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-0779e610]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-0779e610]{width:25px}.moveCurrencyBox li p[data-v-0779e610]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-0779e610]{padding:0 20px}.mainTitle span[data-v-0779e610]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-0779e610]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-0779e610]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-0779e610]{text-align:center}.tableBox .table-title span[data-v-0779e610]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-0779e610]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-0779e610]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-0779e610]{text-align:center}.tableBox .collapseTitle span[data-v-0779e610]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-0779e610]{margin-right:5px}.tableBox .collapseTitle span[data-v-0779e610]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-0779e610]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-0779e610]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-0779e610]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-0779e610]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-0779e610]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-0779e610]{text-align:center}#careful[data-v-0779e610]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-0779e610]{color:#5917c4}.step[data-v-0779e610]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-0779e610]{line-height:25PX!important}.step .stepTitle[data-v-0779e610]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-0779e610]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-0779e610] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-0779e610]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-0779e610]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-0779e610]{color:#8a2be2}.notOpen[data-v-0779e610]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-0779e610]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-0779e610]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-0779e610]{margin:0;padding:0}.menu ul li[data-v-0779e610]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-0779e610]:hover{text-decoration:underline}.active[data-v-0779e610]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-0779e610]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-0779e610]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-0779e610]{width:30px;margin-right:5px}.table .theServer[data-v-0779e610]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-0779e610]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-0779e610]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-0779e610]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-0779e610]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-0779e610]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-0779e610]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-0779e610]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-0779e610]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-0779e610]{width:10%}.table .theServer ul li .port[data-v-0779e610]{width:35%}.table .theServer ul li .port i[data-v-0779e610]{font-size:1em}.table .theServer ul li .port i[data-v-0779e610]:hover{color:#6924ff}.table .theServer ul li i[data-v-0779e610]{cursor:pointer}.table .theServer ul li[data-v-0779e610]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-0779e610]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-0779e610]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-0779e610]{width:25px}.table .theServer ul .liTitle .coin span[data-v-0779e610]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-0779e610]{width:35%}.table .careful[data-v-0779e610]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-0779e610]{color:#6924ff}.step[data-v-0779e610]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-0779e610]{line-height:30px;text-align:left}.step .stepTitle[data-v-0779e610]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-0779e610]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-0779e610]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.ServiceTerms[data-v-daa10838]{background:transparent!important;min-height:360PX!important;padding:5%!important;padding-top:20px!important}.clauseBox[data-v-daa10838]{width:100%!important;min-height:100PX;margin:0 auto}.clauseBox .textBox[data-v-daa10838],.clauseBox h5[data-v-daa10838]{margin-top:10px}.clauseBox p[data-v-daa10838]{line-height:20PX!important;font-size:.9rem!important;margin-top:8px!important}.content[data-v-daa10838]{margin-bottom:20px!important}.content .loading-container[data-v-daa10838]{width:100%!important;margin:20px auto!important;padding:20px 0!important}.content .loading-container .el-icon[data-v-daa10838]{font-size:20px!important}.content .loading-container .loading-text[data-v-daa10838]{font-size:14px!important}.content .no-content[data-v-daa10838]{width:100%!important;margin:20px auto!important;padding:20px 0!important}.content .no-content p[data-v-daa10838]{font-size:14px!important}.content .dynamic-content[data-v-daa10838]{width:100%!important;padding:10px!important;--dc-line-height:1.8;--dc-p-margin:0.6em}.content .dynamic-content[data-v-daa10838] b,.content .dynamic-content[data-v-daa10838] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.content .dynamic-content[data-v-daa10838] em,.content .dynamic-content[data-v-daa10838] i{font-style:italic!important;color:inherit!important}.content .dynamic-content[data-v-daa10838] code{background-color:#f5f5f5!important;padding:2px 4px!important;border-radius:3px!important;font-family:Courier New,monospace!important;font-size:.9em!important}.content .dynamic-content[data-v-daa10838] del{text-decoration:line-through!important;color:#666!important}.content .dynamic-content[data-v-daa10838] a{color:#007bff!important;text-decoration:none!important}.content .dynamic-content[data-v-daa10838] a:hover{text-decoration:underline!important}.content .dynamic-content[data-v-daa10838] div,.content .dynamic-content[data-v-daa10838] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:var(--dc-line-height)!important;margin:var(--dc-p-margin) 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}}.ServiceTerms[data-v-daa10838]{width:100%;min-height:600PX;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX}.ServiceTerms h2[data-v-daa10838]{width:70%;margin:0 auto;margin-bottom:30PX}.clauseBox[data-v-daa10838]{width:70%;min-height:100PX;margin:0 auto}.clauseBox p[data-v-daa10838]{line-height:28PX}.content[data-v-daa10838]{width:100%;margin-bottom:40px}.content .loading-container[data-v-daa10838]{width:70%;margin:40px auto;text-align:center;padding:40px 0}.content .loading-container .el-icon[data-v-daa10838]{font-size:24px;color:#409eff;margin-right:8px}.content .loading-container .loading-text[data-v-daa10838]{font-size:16px;color:#666;vertical-align:middle}.content .no-content[data-v-daa10838]{width:70%;margin:40px auto;text-align:center;padding:40px 0}.content .no-content p[data-v-daa10838]{font-size:16px;color:#999;margin:0}.content .dynamic-content[data-v-daa10838]{width:70%;margin:0 auto;padding:20px 0;--dc-line-height:1.8;--dc-p-margin:0.6em}.content .dynamic-content[data-v-daa10838] b,.content .dynamic-content[data-v-daa10838] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.content .dynamic-content[data-v-daa10838] em,.content .dynamic-content[data-v-daa10838] i{font-style:italic!important;color:inherit!important}.content .dynamic-content[data-v-daa10838] code{background-color:#f5f5f5!important;padding:2px 4px!important;border-radius:3px!important;font-family:Courier New,monospace!important;font-size:.9em!important}.content .dynamic-content[data-v-daa10838] del{text-decoration:line-through!important;color:#666!important}.content .dynamic-content[data-v-daa10838] a{color:#007bff!important;text-decoration:none!important}.content .dynamic-content[data-v-daa10838] a:hover{text-decoration:underline!important}.content .dynamic-content[data-v-daa10838] div,.content .dynamic-content[data-v-daa10838] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:var(--dc-line-height)!important;margin:var(--dc-p-margin) 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}@media screen and (min-width:220px)and (max-width:1279px){.submitWorkOrder[data-v-2552dbca]{width:100%;min-height:300px;background:transparent!important;padding:0!important}.WorkOrder[data-v-2552dbca]{width:100%!important;margin:0 auto;padding:10px 18px!important;border-radius:8px;transition:all .2s linear}.prompt[data-v-2552dbca]{width:100%}[data-v-2552dbca] .el-upload-dragger{width:332px!important}}.submitWorkOrder[data-v-2552dbca]{width:100%;min-height:360px;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding-top:60px}.WorkOrder[data-v-2552dbca]{width:70%;margin:0 auto;padding:50px 88px;border-radius:8px;transition:all .2s linear}.elBtn[data-v-2552dbca]{background:#661ffb;color:#fff;border-radius:20px}h3[data-v-2552dbca]{margin-bottom:30px}@media screen and (min-width:220px)and (max-width:1279px){.workOrderRecords[data-v-10849caa]{width:100%;padding:0;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.workMain[data-v-10849caa]{width:100%!important;padding:10px 5px}.tableBox[data-v-10849caa]{margin:0 auto;width:95%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-10849caa]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important;padding-right:18PX}.tableBox .table-title span[data-v-10849caa]{text-align:center}.tableBox .table-title span[data-v-10849caa]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-10849caa]:nth-of-type(2){width:40%!important}.tableBox .table-title span[data-v-10849caa]:nth-of-type(3){width:30%!important}.tableBox .rollContentBox[data-v-10849caa]{background:#eee8aa;max-height:500px;overflow:hidden;overflow-y:auto}.tableBox .collapseTitle[data-v-10849caa]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important}.tableBox .collapseTitle span[data-v-10849caa]{text-align:center;overflow:hidden;text-overflow:ellipsis}.tableBox .collapseTitle span[data-v-10849caa]:first-of-type{width:30%!important}.tableBox .collapseTitle span[data-v-10849caa]:nth-of-type(2){width:40%!important}.tableBox .collapseTitle span[data-v-10849caa]:nth-of-type(3){width:30%!important;color:#6621ff}.tableBox .belowTable[data-v-10849caa]{display:flex;justify-content:space-between}.tableBox .belowTable div[data-v-10849caa]{width:50%;height:auto;text-align:left;padding-left:8%}.tableBox #hash[data-v-10849caa]{width:100%;padding-left:8%;margin-top:8px}.tableBox #hash .text[data-v-10849caa]{width:93%;height:auto;word-wrap:break-word;overflow-wrap:break-word;color:#8f61f5;text-decoration:underline}.tableBox .paginationBox[data-v-10849caa]{text-align:center}[data-v-10849caa] .el-collapse-item__content{background:#edf2fa!important;padding:8px}.el-tab-pane[data-v-10849caa]{padding:1px;border-radius:0!important;overflow:hidden!important;border:none!important}}.workOrderRecords[data-v-10849caa]{width:100%;min-height:100vh;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;display:flex;justify-content:center}.bth[data-v-10849caa]{padding-top:51px;padding-left:70px!important}.workBK[data-v-10849caa]{padding:30px 50px;width:75%;margin:0 auto;min-height:360px;border-radius:8px}.el-tabs[data-v-10849caa]{margin-top:30px}.elBtn[data-v-10849caa]{background:#697861;color:#f0f8ff}.elBtn[data-v-10849caa]:hover{background:#ecf5ff;color:#409eff}.el-tab-pane[data-v-10849caa]{padding:1px;border-radius:5px;overflow:hidden!important;border:1px solid rgba(0,0,0,.1)}[data-v-10849caa] .el-tabs__item.is-active{color:#6621ff!important}[data-v-10849caa] .el-tabs__active-bar{background-color:#6621ff!important}[data-v-10849caa] .el-button--text{color:#6621ff!important}@media screen and (min-width:220px)and (max-width:1279px){.main[data-v-3554fa88]{width:100%;padding:15px 18px!important;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.MobileMain[data-v-3554fa88]{width:100%}.contentMobile p[data-v-3554fa88]{height:40px;line-height:40px;padding:0 8px;margin-top:8px;border-radius:5px;border:1px solid rgba(0,0,0,.1);font-size:.9rem;margin-left:18px}.el-row[data-v-3554fa88]{margin:0!important}.submitTitle[data-v-3554fa88]{font-size:14px;width:600px}.submitTitle .userName[data-v-3554fa88]{color:#661ffb}.submitTitle .time[data-v-3554fa88]{margin-left:8px}#contentBox[data-v-3554fa88]{border:1px solid rgba(0,0,0,.1);margin-top:5px;padding:8px;border-radius:5px;font-size:.9rem;word-wrap:break-word}[data-v-3554fa88] .el-upload-dragger{width:332px!important}}.main[data-v-3554fa88]{width:100%;min-height:100vh;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;display:flex;justify-content:center}.content[data-v-3554fa88]{width:50%;margin:0 auto}.orderDetails p[data-v-3554fa88]{width:80%;outline:1px solid rgba(0,0,0,.1);border-radius:4px;font-weight:600;padding:10px 10px;font-size:14px;display:flex;align-items:center}.orderDetails .orderTitle[data-v-3554fa88]{display:inline-block;text-align:center}.orderDetails .orderContent[data-v-3554fa88]{flex:1;display:inline-block;color:#661ffb;font-weight:400;border-radius:4px;text-align:left;padding-left:5px}.submitContent[data-v-3554fa88]{max-height:300px;overflow:hidden;overflow-y:auto;display:flex;flex-direction:column;padding:20px;border:1px solid #ccc;background:rgba(255,0,0,.01);border-radius:5px;margin-top:18px}.submitContent .submitTitle[data-v-3554fa88]{font-size:14px;width:600px;display:flex;justify-content:left}.submitContent .submitTitle span[data-v-3554fa88]:nth-of-type(2){margin-left:50px}.submitContent .contentBox[data-v-3554fa88]{width:50vw;padding:0 10px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.submitContent .downloadBox[data-v-3554fa88]{font-size:15px;color:#661ffb;display:inline-block;cursor:pointer}.submitContent .replyBox[data-v-3554fa88]{margin-top:20px}.download[data-v-3554fa88]{display:inline-block;margin-top:10px;margin-left:20px;padding:8px 15px;border-radius:4px;font-size:14px;background:#f0f9eb;color:#67c23a;cursor:pointer}.download[data-v-3554fa88]:hover{color:#000;outline:1px solid rgba(0,0,0,.1)}.reply[data-v-3554fa88]{font-size:15px;margin-top:10px;padding:5px 0}.reply .replyTitle[data-v-3554fa88]{font-weight:600}.reply .replyContent[data-v-3554fa88]{color:#661ffb}[data-v-3554fa88].replyInput .el-input.is-disabled .el-input__inner{color:#000}.edit[data-v-3554fa88]{font-size:15px;color:#661ffb;cursor:pointer;margin-left:10px}.auditBox .submitTitle[data-v-3554fa88]{font-size:14px;width:600px;display:flex;justify-content:left}.auditBox .submitTitle span[data-v-3554fa88]:nth-of-type(2){margin-left:50px}.auditBox .contentBox[data-v-3554fa88]{width:54vw;border:1px solid rgba(0,0,0,.1);padding:5px 5px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.auditBox .downloadBox[data-v-3554fa88]{font-size:15px;color:#661ffb;cursor:pointer;display:inline-block}.registeredForm .mandatory[data-v-3554fa88]{color:red;margin-right:5px}.logistics[data-v-3554fa88]{display:flex;margin-bottom:30px;width:26%;justify-content:space-between}.closingOrder[data-v-3554fa88]{font-size:14px;margin:0}.closingOrder span[data-v-3554fa88]{cursor:pointer;color:#661ffb}.closingOrder span[data-v-3554fa88]:hover{color:#67c23a}.elBtn[data-v-3554fa88]{background:#661ffb;color:#f0f8ff}.elBtn[data-v-3554fa88]:hover{background:#ecf5ff;color:#409eff}.machineCoding[data-v-3554fa88]{outline:1px solid rgba(0,0,0,.1);display:flex;max-height:300px;padding:10px!important;margin-top:8px;overflow-y:auto}.orderNum[data-v-3554fa88]{width:800px!important;padding:0!important;outline:none!important;border:none!important}.el-row[data-v-3554fa88]{margin:18px 0}@media screen and (min-width:220px)and (max-width:1279px){.workBK[data-v-19141cf8]{width:100%;padding:0;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.workMain[data-v-19141cf8]{width:100%!important;padding:10px 5px}.tableBox[data-v-19141cf8]{margin:0 auto;width:95%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-19141cf8]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important;padding-right:18PX}.tableBox .table-title span[data-v-19141cf8]{text-align:center}.tableBox .table-title span[data-v-19141cf8]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-19141cf8]:nth-of-type(2){width:40%!important}.tableBox .table-title span[data-v-19141cf8]:nth-of-type(3){width:30%!important}.tableBox .rollContentBox[data-v-19141cf8]{background:#eee8aa;max-height:500px;overflow:hidden;overflow-y:auto}.tableBox .collapseTitle[data-v-19141cf8]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important}.tableBox .collapseTitle span[data-v-19141cf8]{text-align:center;overflow:hidden;text-overflow:ellipsis}.tableBox .collapseTitle span[data-v-19141cf8]:first-of-type{width:30%!important}.tableBox .collapseTitle span[data-v-19141cf8]:nth-of-type(2){width:40%!important}.tableBox .collapseTitle span[data-v-19141cf8]:nth-of-type(3){width:30%!important;color:#6621ff}.tableBox .belowTable[data-v-19141cf8]{display:flex;justify-content:space-between}.tableBox .belowTable div[data-v-19141cf8]{width:50%;height:auto;text-align:left;padding-left:8%}.tableBox #hash[data-v-19141cf8]{width:100%;padding-left:8%;margin-top:8px}.tableBox #hash .text[data-v-19141cf8]{width:93%;height:auto;word-wrap:break-word;overflow-wrap:break-word;color:#8f61f5;text-decoration:underline}.tableBox .paginationBox[data-v-19141cf8]{text-align:center;margin:18px 8px}[data-v-19141cf8] .el-collapse-item__content{background:#edf2fa!important;padding:8px}.el-tab-pane[data-v-19141cf8]{padding:1px;border-radius:0!important;overflow:hidden!important;border:none!important}.paginationBox[data-v-19141cf8]{text-align:center}[data-v-19141cf8] .el-pager li{min-width:19px}[data-v-19141cf8] .el-pagination .el-select .el-input{margin:0}}.workBK[data-v-19141cf8]{width:100%;min-height:100vh;background:#fff;padding:0;margin:0;display:flex;justify-content:center}.workBKContent[data-v-19141cf8]{width:100%;margin:0 auto}.elBtn[data-v-19141cf8]{background:#e60751;color:#fff;border:none;margin-left:18px}.el-table__header-wrapper tbody td.el-table__cell[data-v-19141cf8],[data-v-19141cf8] .el-table__footer-wrapper tbody td.el-table__cell{text-align:center}.moneyItem[data-v-19141cf8]{width:80%;display:flex;font-size:14px;align-items:center;font-weight:550;color:rgba(0,0,0,.7);flex-direction:column;height:100px;justify-content:center}.moneyItem div[data-v-19141cf8]:first-of-type{width:100%;padding-left:10px}.moneyItem .moneyInput[data-v-19141cf8]{display:flex;align-items:center;outline:1px solid #dcdfe6;margin:0;padding:0;border-radius:4px;height:38px;margin-top:25px}.moneyItem .moneyInput p[data-v-19141cf8]{display:inline-block;height:30px;margin:0;padding:0;padding-top:5px;color:rgba(0,0,0,.3)}.moneyItem .moneyInput input[data-v-19141cf8]:first-of-type{padding-left:5%}.moneyItem .moneyInput input[data-v-19141cf8]{display:inline-block;width:45%;height:30px;border:none;outline:none}.moneyItem .moneyInput input[data-v-19141cf8]::-webkit-input-placeholder{color:#c0c4cc}.moneyItem .moneyInput .InputIcon[data-v-19141cf8]:hover{color:#409eff;cursor:pointer}[data-v-19141cf8] .el-tabs__item.is-active{color:#6621ff!important}[data-v-19141cf8] .el-tabs__active-bar{background-color:#6621ff!important}[data-v-19141cf8] .el-button--text{color:#6621ff!important}.el-tab-pane[data-v-19141cf8]{padding:1px;border-radius:5px;overflow:hidden!important;border:1px solid rgba(0,0,0,.1)}@media screen and (min-width:220px)and (max-width:1279px){.main[data-v-10e0c45a]{width:100%;padding:15px 18px!important;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.MobileMain[data-v-10e0c45a]{width:100%}.contentMobile p[data-v-10e0c45a]{height:40px;line-height:40px;padding:0 8px;margin-top:8px;border-radius:5px;border:1px solid rgba(0,0,0,.1);font-size:.9rem;margin-left:18px}.el-row[data-v-10e0c45a]{margin:0!important}.submitTitle[data-v-10e0c45a]{font-size:14px;width:600px}.submitTitle .userName[data-v-10e0c45a]{color:#661ffb}.submitTitle .time[data-v-10e0c45a]{margin-left:8px}#contentBox[data-v-10e0c45a]{border:1px solid rgba(0,0,0,.1);margin-top:5px;padding:8px;border-radius:5px;font-size:.9rem;word-wrap:break-word}[data-v-10e0c45a] .el-upload-dragger{width:332px!important}}.main[data-v-10e0c45a]{width:100%;background:#fff;padding:0;margin:0;display:flex;justify-content:center;height:100%;overflow-y:auto}.content[data-v-10e0c45a]{width:100%;margin:0 auto;padding:20px;box-sizing:border-box}.elBtn[data-v-10e0c45a]{background:#661ffb;color:#fff;border-radius:20px}.orderDetails p[data-v-10e0c45a]{width:80%;outline:1px solid rgba(0,0,0,.1);border-radius:4px;display:flex;font-weight:600;padding:10px 10px;font-size:14px}.orderDetails .orderTitle[data-v-10e0c45a]{display:inline-block;text-align:center}.orderDetails .orderContent[data-v-10e0c45a]{flex:1;display:inline-block;color:#661ffb;font-weight:400;border-radius:4px;text-align:left;padding-left:5px}.submitContent[data-v-10e0c45a]{max-height:300px;overflow:hidden;overflow-y:auto;margin-top:18px;display:flex;flex-direction:column;padding:20px;border:1px solid #ccc;background:rgba(255,0,0,.01);border-radius:5px}.submitContent .submitTitle[data-v-10e0c45a]{font-size:14px;width:600px;display:flex;justify-content:left}.submitContent .submitTitle span[data-v-10e0c45a]:nth-of-type(2){margin-left:50px}.submitContent .contentBox[data-v-10e0c45a]{width:50vw;padding:10px 10px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.submitContent .downloadBox[data-v-10e0c45a]{font-size:15px;color:#661ffb;display:inline-block;cursor:pointer}.submitContent .replyBox[data-v-10e0c45a]{margin-top:20px}.download[data-v-10e0c45a]{display:inline-block;margin-top:10px;margin-left:20px;padding:8px 15px;border-radius:4px;font-size:14px;background:#f0f9eb;color:#67c23a;cursor:pointer}.download[data-v-10e0c45a]:hover{color:#000;outline:1px solid rgba(0,0,0,.1)}.reply[data-v-10e0c45a]{font-size:15px;margin-top:10px;padding:5px 0}.reply .replyTitle[data-v-10e0c45a]{font-weight:600}.reply .replyContent[data-v-10e0c45a]{color:#661ffb}[data-v-10e0c45a].replyInput .el-input.is-disabled .el-input__inner{color:#000}.edit[data-v-10e0c45a]{font-size:15px;color:#661ffb;cursor:pointer;margin-left:10px}.auditBox .submitTitle[data-v-10e0c45a]{font-size:14px;width:600px;display:flex;justify-content:left}.auditBox .submitTitle span[data-v-10e0c45a]:nth-of-type(2){margin-left:50px}.auditBox .contentBox[data-v-10e0c45a]{width:54vw;border:1px solid rgba(0,0,0,.1);padding:5px 5px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.auditBox .downloadBox[data-v-10e0c45a]{font-size:15px;color:#661ffb;cursor:pointer;display:inline-block}.registeredForm .mandatory[data-v-10e0c45a]{color:red;margin-right:5px}.logistics[data-v-10e0c45a]{display:flex;margin-bottom:30px;width:26%;justify-content:space-between}.closingOrder[data-v-10e0c45a]{font-size:14px;margin:0}.closingOrder span[data-v-10e0c45a]{cursor:pointer;color:#661ffb}.closingOrder span[data-v-10e0c45a]:hover{color:#67c23a}.machineCoding[data-v-10e0c45a]{outline:1px solid rgba(0,0,0,.1);display:flex;max-height:300px;padding:10px!important;margin-top:8px;overflow-y:auto}.orderNum[data-v-10e0c45a]{width:800px!important;padding:0!important;outline:none!important;border:none!important}.el-row[data-v-10e0c45a]{margin:18px 0}.dataMain[data-v-81190992]{width:100%;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 30%;background-repeat:no-repeat;background-position:10% -15%;padding:0;margin:0;padding-top:60PX}.dataMain .content[data-v-81190992]{width:85%;min-height:300px;margin:0 auto;padding:20px;border-radius:5px}.dataMain .content .title[data-v-81190992]{font-size:30px;color:#651fff;font-weight:600}.dataMain .content .title span[data-v-81190992]{color:rgba(0,0,0,.7)}.dataMain .content .title2[data-v-81190992]{font-size:28px;color:rgba(0,0,0,.7);width:100%;text-align:center;letter-spacing:3px;color:#651fff;font-weight:600}.dataMain .content .topBox[data-v-81190992]{width:100%;min-height:230px;margin-top:50px;display:flex;justify-content:space-around;align-items:center}.dataMain .content .topBox .top[data-v-81190992]{width:360px;height:440px;border-radius:18px;box-shadow:0 0 5px 2px rgba(0,0,0,.1);transition:all .2s linear;padding:18px;box-shadow:0 0 5px 2px #d2c3ea;padding-top:30px}.dataMain .content .topBox .top h4[data-v-81190992]{color:#651fff;margin-top:18px}.dataMain .content .topBox .top p[data-v-81190992]{margin-top:10px;font-size:.9rem;line-height:25px}.dataMain .content .topBox .top .icon[data-v-81190992]{width:100%;text-align:center}.dataMain .content .topBox .top .icon img[data-v-81190992]{width:50px}.dataMain .content .currencyDisplay[data-v-81190992]{width:100%;min-height:300px;border-radius:5px;border:1px solid #ccc;margin-top:30px;padding:18PX 28px}.dataMain .content .currencyDisplay .currency[data-v-81190992]{width:100%;min-height:200px;padding:10px 0;margin-top:20px}.dataMain .content .currencyDisplay .currency h3[data-v-81190992]{margin-bottom:8px;color:rgba(0,0,0,.8);display:flex;align-items:center;text-transform:uppercase}.dataMain .content .currencyDisplay .currency h3 img[data-v-81190992]{width:25px;margin-right:8px}.dataMain .content .currencyDisplay .currency .describe[data-v-81190992]{width:100%;margin:10px 0;font-size:.9rem;padding-left:8px}.dataMain .content .currencyDisplay .currency .currencyTitle[data-v-81190992]{width:100%;height:60px;background:#d2c3ea;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:.95rem;border-radius:5px;overflow:hidden}.dataMain .content .currencyDisplay .currency .currencyTitle span[data-v-81190992]{width:15%}.dataMain .content .currencyDisplay .currency .currencyContent[data-v-81190992]{width:100%;min-height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:.9rem;border-bottom:1px solid #ccc}.dataMain .content .currencyDisplay .currency .currencyContent span[data-v-81190992]{width:15%}.dataMain .content .currencyDisplay .currency .charts[data-v-81190992]{width:100%;min-height:300px;padding:0 18px;text-align:center}.announcements-container[data-v-7ee09dfe]{min-height:100vh;background-color:#f8f9fa;padding:20px}.breadcrumb-section[data-v-7ee09dfe]{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;background:#fff;padding:16px 24px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.06)}.breadcrumb[data-v-7ee09dfe]{font-size:14px}.breadcrumb .breadcrumb-item[data-v-7ee09dfe]{color:#666;cursor:pointer;transition:color .3s ease}.breadcrumb .breadcrumb-item[data-v-7ee09dfe]:hover{color:#5721e4}.search-section .search-input[data-v-7ee09dfe]{width:300px}.main-content[data-v-7ee09dfe]{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden;margin-top:60px}.page-header[data-v-7ee09dfe]{padding:40px 40px 20px;border-bottom:1px solid #f0f0f0;text-align:center}.page-title[data-v-7ee09dfe]{font-size:32px;font-weight:600;color:#2c3e50;margin:0}.markdown-guide-section[data-v-7ee09dfe]{padding:30px 40px 20px;border-bottom:1px solid #f0f0f0}.guide-header[data-v-7ee09dfe]{display:flex;justify-content:flex-start;margin-bottom:20px}.guide-toggle-btn[data-v-7ee09dfe]{font-size:14px;color:#5721e4;text-decoration:none;transition:color .3s ease}.guide-toggle-btn[data-v-7ee09dfe]:hover{color:#5721e4;text-decoration:underline}.markdown-guide-content[data-v-7ee09dfe]{background:#f8f9ff;border-radius:8px;padding:20px;border:1px solid #e0e0e0;box-shadow:inset 0 1px 3px rgba(0,0,0,.05)}.guide-container[data-v-7ee09dfe]{max-height:0;overflow:hidden;transition:max-height .3s ease-in-out}.guide-container.show[data-v-7ee09dfe]{max-height:1000px}.guide-title[data-v-7ee09dfe]{font-size:20px;font-weight:600;color:#34495e;margin-bottom:20px;border-bottom:1px solid #f0f0f0;padding-bottom:10px}.guide-section[data-v-7ee09dfe]{margin-bottom:25px;padding-bottom:20px;border-bottom:1px dashed #eee}.guide-section[data-v-7ee09dfe]:last-child{border-bottom:none;padding-bottom:0}.guide-section h4[data-v-7ee09dfe]{font-size:16px;font-weight:500;color:#4a4a4a;margin-bottom:15px;position:relative;padding-left:15px}.guide-section h4[data-v-7ee09dfe]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:15px;background:#5721e4;border-radius:2px}.example-container[data-v-7ee09dfe]{display:flex;gap:20px;margin-bottom:15px}.syntax-example[data-v-7ee09dfe]{flex:1;background:#f0f0f0;border-radius:4px;padding:10px;overflow-x:auto;font-size:14px;color:#333;line-height:1.6;white-space:pre-wrap;word-break:break-all;border:1px solid #ccc}.result-preview[data-v-7ee09dfe]{flex:1;padding:10px;background:#fff;border-radius:4px;border:1px solid #eee;box-shadow:0 1px 3px rgba(0,0,0,.05);min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-size:14px;color:#555;line-height:1.8}.tips-section[data-v-7ee09dfe]{margin-top:20px;padding-top:20px;border-top:1px dashed #eee}.tips-grid[data-v-7ee09dfe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:15px}.tip-item[data-v-7ee09dfe]{background:#f0edff;padding:10px 15px;border-radius:6px;font-size:13px;color:#5721e4;font-weight:500;display:flex;align-items:center;gap:8px}.shortcuts-grid[data-v-7ee09dfe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:15px}.shortcut-item[data-v-7ee09dfe]{background:#f0edff;padding:8px 12px;border-radius:6px;font-size:13px;color:#5721e4;font-weight:500;display:flex;align-items:center;gap:8px}.shortcut-item kbd[data-v-7ee09dfe]{background-color:#e0e0e0;border-radius:4px;padding:2px 4px;font-size:12px;font-family:monospace;color:#333;box-shadow:1px 1px 1px rgba(0,0,0,.2)}.latest-section[data-v-7ee09dfe]{padding:30px 40px 20px}.section-title[data-v-7ee09dfe]{font-size:20px;font-weight:600;color:#34495e;margin:0;position:relative}.section-title[data-v-7ee09dfe]:before{content:"";position:absolute;left:-20px;top:50%;transform:translateY(-50%);width:4px;height:20px;background:#5721e4;border-radius:2px}.announcement-list[data-v-7ee09dfe]{padding:0 40px 20px}.announcement-item[data-v-7ee09dfe]{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid #f5f5f5;cursor:pointer;transition:all .3s ease}.announcement-item[data-v-7ee09dfe]:hover{background-color:#f8f9ff;transform:translateX(5px)}.announcement-item[data-v-7ee09dfe]:last-child{border-bottom:none}.announcement-content[data-v-7ee09dfe]{flex:1}.announcement-title[data-v-7ee09dfe]{font-size:16px;font-weight:500;color:#2c3e50;margin:0 0 8px;line-height:1.4;transition:color .3s ease}.announcement-item:hover .announcement-title[data-v-7ee09dfe]{color:#5721e4}.announcement-meta[data-v-7ee09dfe]{display:flex;align-items:center;gap:16px;margin-bottom:8px}.announcement-date[data-v-7ee09dfe]{font-size:12px;color:#999}.announcement-type[data-v-7ee09dfe]{font-size:12px;color:#5721e4;background:#f0edff;padding:2px 8px;border-radius:12px}.announcement-summary[data-v-7ee09dfe]{font-size:14px;color:#666;line-height:1.5;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.announcement-arrow[data-v-7ee09dfe]{color:#ccc;transition:color .3s ease}.announcement-item:hover .announcement-arrow[data-v-7ee09dfe]{color:#5721e4}.empty-state[data-v-7ee09dfe]{text-align:center;padding:80px 40px}.empty-content i[data-v-7ee09dfe]{font-size:64px;color:#ddd;margin-bottom:20px}.empty-content p[data-v-7ee09dfe]{font-size:16px;color:#999;margin:0}.pagination-section[data-v-7ee09dfe]{padding:30px 40px 40px;text-align:center;border-top:1px solid #f0f0f0}.view-all-button[data-v-7ee09dfe]{margin-bottom:20px;display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}.view-all-link[data-v-7ee09dfe]{font-size:14px;color:#5721e4;text-decoration:none}.view-all-link[data-v-7ee09dfe]:hover{text-decoration:underline}.markdown-guide-btn[data-v-7ee09dfe]{font-size:14px;color:#5721e4!important;font-weight:500;transition:all .3s ease;border:1px solid #5721e4;border-radius:4px;padding:8px 16px}.markdown-guide-btn[data-v-7ee09dfe]:hover{color:#fff!important;background-color:#5721e4!important;transform:translateY(-1px);box-shadow:0 4px 8px rgba(87,33,228,.3)}.pagination[data-v-7ee09dfe]{justify-content:center}.pagination[data-v-7ee09dfe] .el-pager li{background-color:transparent;color:#666}.pagination[data-v-7ee09dfe] .el-pager li.active{background-color:#5721e4;color:#fff}.pagination[data-v-7ee09dfe] .el-pager li:hover:not(.active){background-color:#f0edff;color:#5721e4}.pagination[data-v-7ee09dfe] .btn-next,.pagination[data-v-7ee09dfe] .btn-prev{background-color:transparent;color:#666}.pagination[data-v-7ee09dfe] .btn-next:hover,.pagination[data-v-7ee09dfe] .btn-prev:hover{background-color:#f0edff;color:#5721e4}@media screen and (max-width:768px){.announcements-container[data-v-7ee09dfe]{padding:10px}.breadcrumb-section[data-v-7ee09dfe]{flex-direction:column;gap:16px;align-items:stretch;padding:16px}.search-section .search-input[data-v-7ee09dfe]{width:100%}.main-content[data-v-7ee09dfe]{border-radius:8px}.markdown-guide-section[data-v-7ee09dfe]{padding:15px 20px}.guide-header[data-v-7ee09dfe]{justify-content:center}.guide-toggle-btn[data-v-7ee09dfe]{font-size:13px}.markdown-guide-content[data-v-7ee09dfe]{padding:10px}.guide-container.show[data-v-7ee09dfe],.guide-container[data-v-7ee09dfe]{max-height:none}.example-container[data-v-7ee09dfe]{flex-direction:column;gap:10px}.result-preview[data-v-7ee09dfe],.syntax-example[data-v-7ee09dfe]{width:100%}.shortcuts-grid[data-v-7ee09dfe],.tips-grid[data-v-7ee09dfe]{grid-template-columns:1fr}.shortcut-item[data-v-7ee09dfe],.tip-item[data-v-7ee09dfe]{justify-content:flex-start;padding-left:15px}.shortcut-item kbd[data-v-7ee09dfe]{font-size:11px}.announcement-list[data-v-7ee09dfe],.latest-section[data-v-7ee09dfe],.page-header[data-v-7ee09dfe],.pagination-section[data-v-7ee09dfe]{padding-left:20px;padding-right:20px}.page-title[data-v-7ee09dfe]{font-size:24px}.section-title[data-v-7ee09dfe]{font-size:18px}.section-title[data-v-7ee09dfe]:before{left:-16px}.announcement-item[data-v-7ee09dfe]{padding:16px 0}.announcement-title[data-v-7ee09dfe]{font-size:15px}.announcement-meta[data-v-7ee09dfe]{flex-direction:column;align-items:flex-start;gap:4px}.view-all-button[data-v-7ee09dfe]{flex-direction:column;gap:12px}.markdown-guide-btn[data-v-7ee09dfe]{font-size:13px;padding:6px 12px}}@media(prefers-color-scheme:dark){.announcements-container[data-v-7ee09dfe]{background-color:#1a1a1a}.breadcrumb-section[data-v-7ee09dfe],.main-content[data-v-7ee09dfe]{background:#2d2d2d;color:#fff}.markdown-guide-section[data-v-7ee09dfe]{background:#2d2d2d;border-color:#3a3a3a}.guide-section h4[data-v-7ee09dfe],.guide-title[data-v-7ee09dfe]{color:#fff}.syntax-example[data-v-7ee09dfe]{background:#3a3a3a;border-color:#555;color:#ccc}.result-preview[data-v-7ee09dfe]{background:#333;border-color:#555;color:#bbb}.tips-section[data-v-7ee09dfe]{border-top-color:#3a3a3a}.shortcut-item[data-v-7ee09dfe],.tip-item[data-v-7ee09dfe]{background:#3a3a3a;color:#888}.shortcut-item kbd[data-v-7ee09dfe]{background-color:#444;color:#eee;box-shadow:1px 1px 1px rgba(0,0,0,.3)}.announcement-title[data-v-7ee09dfe],.page-title[data-v-7ee09dfe],.section-title[data-v-7ee09dfe]{color:#fff}.announcement-item[data-v-7ee09dfe]:hover{background-color:#3a3a3a}.announcement-summary[data-v-7ee09dfe]{color:#ccc}.announcement-date[data-v-7ee09dfe]{color:#999}}.slide-fade-enter-active[data-v-7ee09dfe],.slide-fade-leave-active[data-v-7ee09dfe]{transition:all .3s ease}.slide-fade-enter[data-v-7ee09dfe],.slide-fade-leave-to[data-v-7ee09dfe]{transform:translateY(-10px);opacity:0}.announcementDetails[data-v-34c59056]{width:100vw;height:100vh;background:#f8f9fa;padding-top:60px}.container[data-v-34c59056]{display:flex;justify-content:center;width:70vw;height:80vh;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 0 10px 0 rgba(0,0,0,.1);padding:20px;padding-top:50px}.container .leftNav[data-v-34c59056]{width:230px;height:100%;overflow-y:auto}.container .rightContent[data-v-34c59056]{flex:1;height:100%;margin-left:50px;overflow-y:auto;padding-right:20px}.container .rightContent .dynamic-content[data-v-34c59056]{width:100%;margin:0 auto}.container .rightContent .dynamic-content[data-v-34c59056] table{border-collapse:collapse;width:100%;margin:16px 0}.container .rightContent .dynamic-content[data-v-34c59056] td,.container .rightContent .dynamic-content[data-v-34c59056] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.container .rightContent .dynamic-content[data-v-34c59056] th{background:#f3f4f6;font-weight:700}.container .rightContent .dynamic-content[data-v-34c59056] b,.container .rightContent .dynamic-content[data-v-34c59056] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.container .rightContent .dynamic-content[data-v-34c59056] em,.container .rightContent .dynamic-content[data-v-34c59056] i{font-style:italic!important;color:inherit!important}.container .rightContent .dynamic-content[data-v-34c59056] a{color:#007bff!important;text-decoration:none!important}.container .rightContent .dynamic-content[data-v-34c59056] a:hover{text-decoration:underline!important}.container .rightContent .loading-container[data-v-34c59056]{text-align:center;padding:40px 0}.container .rightContent .loading-container .loading-text[data-v-34c59056]{font-size:16px;color:#666;vertical-align:middle}.container .rightContent .no-content[data-v-34c59056]{text-align:center;padding:40px 0}.container .rightContent .no-content p[data-v-34c59056]{font-size:16px;color:#999;margin:0}.leftNav-item[data-v-34c59056]{cursor:pointer;padding:10px;margin-bottom:10px;text-decoration:underline;text-align:right}.leftNav-item[data-v-34c59056]:hover{background:rgba(0,0,0,.02);color:#651fff}.active[data-v-34c59056]{color:#651fff}.container[data-v-445d273c]{display:flex;justify-content:center;width:80vw;height:80vh;margin:0 auto;border-radius:10px;padding:20px;margin-top:60px;padding-top:50px}.container .leftNav[data-v-445d273c]{width:200px;height:100%;overflow-y:auto}.container .rightContent[data-v-445d273c]{flex:1;height:100%;margin-left:50px;overflow-y:auto;padding-right:20px}.container .rightContent .dynamic-content[data-v-445d273c]{width:100%;margin:0 auto}.container .rightContent .dynamic-content[data-v-445d273c] table{border-collapse:collapse;width:100%;margin:16px 0}.container .rightContent .dynamic-content[data-v-445d273c] td,.container .rightContent .dynamic-content[data-v-445d273c] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.container .rightContent .dynamic-content[data-v-445d273c] th{background:#f3f4f6;font-weight:700}.container .rightContent .dynamic-content[data-v-445d273c] b,.container .rightContent .dynamic-content[data-v-445d273c] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.container .rightContent .dynamic-content[data-v-445d273c] em,.container .rightContent .dynamic-content[data-v-445d273c] i{font-style:italic!important;color:inherit!important}.container .rightContent .dynamic-content[data-v-445d273c] a{color:#007bff!important;text-decoration:none!important}.container .rightContent .dynamic-content[data-v-445d273c] a:hover{text-decoration:underline!important}.container .rightContent .dynamic-content[data-v-445d273c] div,.container .rightContent .dynamic-content[data-v-445d273c] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}.container .rightContent .loading-container[data-v-445d273c]{text-align:center;padding:40px 0}.container .rightContent .loading-container .loading-text[data-v-445d273c]{font-size:16px;color:#666;vertical-align:middle}.container .rightContent .no-content[data-v-445d273c]{text-align:center;padding:40px 0}.container .rightContent .no-content p[data-v-445d273c]{font-size:16px;color:#999;margin:0}.leftNav-item[data-v-445d273c]{cursor:pointer;padding:10px;margin-bottom:10px;text-decoration:underline;text-align:right}.leftNav-item[data-v-445d273c]:hover{background:rgba(0,0,0,.02);color:#651fff}.active[data-v-445d273c]{color:#651fff}.search-result-page[data-v-eda2be10]{min-height:100vh;background:#f5f7fa}.result-header[data-v-eda2be10]{background:linear-gradient(135deg,#667eea,#764ba2);padding:18px 0;box-shadow:0 4px 20px rgba(0,0,0,.1)}.header-container[data-v-eda2be10]{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.header-left[data-v-eda2be10]{color:#fff}.page-title[data-v-eda2be10]{margin:0 0 8px 0;font-size:28px;font-weight:600}.search-info[data-v-eda2be10]{margin:0;font-size:16px;opacity:.9}.search-info strong[data-v-eda2be10]{color:gold}.header-right .el-button[data-v-eda2be10]{background:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.3);color:#fff}.header-right .el-button[data-v-eda2be10]:hover{background:hsla(0,0%,100%,.3)}.search-content[data-v-eda2be10]{max-width:1200px;margin:0 auto;padding:40px 20px}.result-container[data-v-eda2be10]{background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden}.result-list[data-v-eda2be10]{padding:0}.result-item[data-v-eda2be10]{display:flex;align-items:flex-start;padding:24px 30px;border-bottom:1px solid #f5f5f5;cursor:pointer;transition:all .3s ease}.result-item[data-v-eda2be10]:hover{background:#f8f9ff;transform:translateX(4px)}.result-item[data-v-eda2be10]:last-child{border-bottom:none}.item-icon[data-v-eda2be10]{margin-right:16px;flex-shrink:0}.doc-icon[data-v-eda2be10]{width:40px;height:40px;border-radius:8px;object-fit:cover}.doc-icon-placeholder[data-v-eda2be10]{width:40px;height:40px;border-radius:8px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;color:#999;font-size:20px}.item-content[data-v-eda2be10]{flex:1;min-width:0}.item-title[data-v-eda2be10]{margin:0 0 8px 0;font-size:18px;font-weight:600;color:#333;line-height:1.4}.item-title mark[data-v-eda2be10]{background:#fff3cd;color:#856404;padding:2px 4px;border-radius:3px}.item-subtitle[data-v-eda2be10]{margin:0 0 8px 0;font-size:14px;color:#666;line-height:1.4}.item-meta[data-v-eda2be10]{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:12px}.meta-item[data-v-eda2be10]{display:flex;align-items:center;font-size:12px;color:#999}.meta-item i[data-v-eda2be10]{margin-right:4px;font-size:14px}.item-preview[data-v-eda2be10]{font-size:14px;color:#666;line-height:1.6;background:#f8f9fa;padding:12px;border-radius:6px;border-left:3px solid #667eea}.item-actions[data-v-eda2be10]{display:flex;flex-direction:column;gap:8px;margin-left:16px;flex-shrink:0}.no-result[data-v-eda2be10]{text-align:center;padding:80px 20px;color:#666}.no-result strong[data-v-eda2be10]{color:#667eea}.no-result-icon[data-v-eda2be10]{font-size:64px;color:#ddd;margin-bottom:20px}.no-result h3[data-v-eda2be10]{margin:0 0 12px 0;font-size:24px;font-weight:500;color:#333}.no-result p[data-v-eda2be10]{margin:0 0 24px 0;font-size:16px;color:#999}.pagination-container[data-v-eda2be10]{padding:30px;text-align:center;border-top:1px solid #f0f0f0;background:#fafbfc}.preview-dialog .preview-content h2[data-v-eda2be10]{margin:0 0 16px 0;color:#333;font-size:24px}.preview-dialog .preview-meta[data-v-eda2be10]{display:flex;gap:20px;margin-bottom:24px;padding:16px;background:#f8f9fa;border-radius:6px;font-size:14px;color:#666}.preview-dialog .preview-body[data-v-eda2be10]{line-height:1.8;color:#333}.preview-dialog .preview-body[data-v-eda2be10] h1,.preview-dialog .preview-body[data-v-eda2be10] h2,.preview-dialog .preview-body[data-v-eda2be10] h3{color:#333;margin:20px 0 12px 0}.preview-dialog .preview-body[data-v-eda2be10] p{margin:12px 0}.preview-dialog .preview-body[data-v-eda2be10] img{max-width:100%;height:auto;border-radius:6px}.preview-dialog .preview-body[data-v-eda2be10] table{border-collapse:collapse;width:100%;margin:16px 0}.preview-dialog .preview-body[data-v-eda2be10] td,.preview-dialog .preview-body[data-v-eda2be10] th{border:1px solid #ddd;padding:8px 12px;text-align:left}.preview-dialog .preview-body[data-v-eda2be10] th{background:#f5f5f5;font-weight:700}@media(max-width:768px){.header-container[data-v-eda2be10]{padding:0 15px;flex-direction:column;gap:20px;text-align:center}.page-title[data-v-eda2be10]{font-size:24px}.search-content[data-v-eda2be10]{padding:20px 15px}.result-item[data-v-eda2be10]{padding:16px 20px;flex-direction:column}.item-icon[data-v-eda2be10]{margin-right:0;margin-bottom:12px}.item-actions[data-v-eda2be10]{margin-left:0;margin-top:12px;flex-direction:row;justify-content:flex-end}.item-meta[data-v-eda2be10]{gap:12px}.preview-meta[data-v-eda2be10]{flex-direction:column;gap:8px}}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-ec5988d8]{width:100%;background:transparent!important;padding:0;margin:0;padding:8px;padding-top:60PX}.mobileMain h4[data-v-ec5988d8]{color:rgba(0,0,0,.8);text-align:left;width:100%;padding-left:3px}.mobileMain .explain[data-v-ec5988d8]{font-size:.85rem;margin-top:8px;color:rgba(0,0,0,.6)}.mobileMain .accountInformation[data-v-ec5988d8]{width:100%;height:30px;background:rgba(0,0,0,.5);position:fixed;top:62px;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.mobileMain .accountInformation img[data-v-ec5988d8]{width:20px}.mobileMain .accountInformation i[data-v-ec5988d8]{color:#fff;font-size:1.2rem;margin-left:10px}.mobileMain .accountInformation .coin[data-v-ec5988d8]{font-size:.9rem;margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize}.mobileMain .accountInformation .ma[data-v-ec5988d8]{font-size:.9rem;font-weight:600;color:#fff;margin-left:10px}.BthBox[data-v-ec5988d8]{width:100%;text-align:right;padding:0 20px}.BthBox .addBth[data-v-ec5988d8]{border-radius:20px;color:#fff;background:#661ffb;margin-top:18px}.tableBox[data-v-ec5988d8]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-ec5988d8]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important;text-align:center}.tableBox .table-title span[data-v-ec5988d8]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-ec5988d8]:nth-of-type(2){min-width:30%}.tableBox .collapseTitle[data-v-ec5988d8]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle .coinBox[data-v-ec5988d8]{width:50%;overflow:hidden;text-overflow:ellipsis}.tableBox .collapseTitle .operationBox[data-v-ec5988d8]{min-width:30%}.tableBox .belowTable[data-v-ec5988d8]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-ec5988d8]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-ec5988d8]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-ec5988d8]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-ec5988d8]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-ec5988d8]{text-align:center}}@media screen and (min-width:220px)and (max-width:500px){[data-v-ec5988d8] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-ec5988d8] .el-dialog__body{padding:0!important}[data-v-ec5988d8] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-ec5988d8] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-ec5988d8] .el-dialog__body{padding:0!important}[data-v-ec5988d8] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.pcMain[data-v-ec5988d8]{width:100%;min-height:100vh;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;display:flex;justify-content:center}.alerts[data-v-ec5988d8]{width:100%}.accountInformation[data-v-ec5988d8]{width:100%;height:30px;background:rgba(0,0,0,.5);position:fixed;top:8%;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.accountInformation img[data-v-ec5988d8]{width:23px}.accountInformation i[data-v-ec5988d8]{color:#fff;font-size:1.5em;margin-left:10px}.accountInformation .coin[data-v-ec5988d8]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize}.accountInformation .ma[data-v-ec5988d8]{font-weight:600;color:#fff;margin-left:10px}.content[data-v-ec5988d8]{width:70%;min-height:500px;padding:20px}.content h2[data-v-ec5988d8]{color:rgba(0,0,0,.8);margin-bottom:18px}.content .explain[data-v-ec5988d8]{color:rgba(0,0,0,.6);font-size:.9rem;margin-top:5px}.content .BthBox[data-v-ec5988d8]{width:100%;text-align:right;padding:0 20px}.content .BthBox .addBth[data-v-ec5988d8]{border-radius:20px;color:#fff;background:#661ffb}.modifyBth[data-v-ec5988d8]{margin-right:8px;color:#fff;background:#661ffb}.elBtn[data-v-ec5988d8]{color:#fff;background:#f0286a}.dialogBox[data-v-ec5988d8]{padding:0 20PX;padding-bottom:50PX;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-ec5988d8]{width:100%;text-align:center;font-size:1em;font-weight:600}.dialogBox .inputBox[data-v-ec5988d8]{width:70%;margin-top:20PX}.dialogBox .inputBox .inputItem[data-v-ec5988d8]{margin-top:30PX;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-ec5988d8]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-ec5988d8]{margin-top:10PX}.dialogBox .el-button[data-v-ec5988d8]{background:#661fff;color:#edf2ff;border:none;outline:none;margin-top:30PX}[data-v-ec5988d8] .el-dialog{background-image:url(/img/dialog1.6b499f8a.png);background-size:130% 105%;background-repeat:no-repeat;background-position:100% 100%;border-radius:32PX}.verificationCode[data-v-ec5988d8]{display:flex;margin-top:10px}.verificationCode .codeBtn[data-v-ec5988d8]{font-size:13px;margin-left:2px;margin:0;margin-left:8px}.bthBox[data-v-ec5988d8]{width:100%;display:flex;align-items:center;padding:0 15%}.bthBox .previousStep[data-v-ec5988d8]{width:35%;font-size:1.3em}.verificationBthBox[data-v-ec5988d8]{width:70%;display:flex;justify-content:left}.verificationBthBox .el-button.previousStep[data-v-ec5988d8]{min-width:28%;background:#d0c4e8;color:#fff}.verificationBthBox .el-button.confirmBtn[data-v-ec5988d8]{min-width:60%;background:#661fff;color:#fff;border:none}.table[data-v-ec5988d8]{box-shadow:0 3px 20px 1px #ccc}@media screen and (min-width:220px)and (max-width:1279px){.personalCenter[data-v-2e3719ed]{height:auto!important;min-height:200px!important;background:transparent!important;padding:0!important}.personalBox2[data-v-2e3719ed]{width:100%!important;height:auto!important;padding:15px!important;min-height:360px}.menuItem[data-v-2e3719ed]{width:95%;height:45px;background:#d2c3ea;margin-top:18px;line-height:45px;padding:0 18px;font-size:.9rem;border-radius:5px;overflow:hidden}.menuItem .titleText[data-v-2e3719ed]{margin-left:8px}}.personalCenter[data-v-2e3719ed]{width:100%;min-height:800PX;display:flex;justify-content:center;padding:30PX 0;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding-top:60PX}.personalCenter .personalBox[data-v-2e3719ed]{width:100%;display:flex;justify-content:center;height:800PX;padding:0 10%;flex-wrap:nowrap;position:relative;overflow:hidden}.personalCenter .personalBox .personalLeft[data-v-2e3719ed]{display:flex;flex-direction:column}.personalCenter .personalBox .personalLeft .LeftHead[data-v-2e3719ed]{height:20%;display:flex;justify-content:center;align-items:center;flex-direction:column}.personalCenter .personalBox .personalLeft .LeftHead .Avatar[data-v-2e3719ed]{width:100PX;height:100PX;border:1PX solid rgba(0,0,0,.1);border-radius:50%;display:flex;justify-content:center;align-items:center}.personalCenter .personalBox .personalLeft .LeftHead .Avatar .headIcon[data-v-2e3719ed]{font-size:100PX;text-align:center}.personalCenter .personalBox .personalLeft .LeftHead .emailBox[data-v-2e3719ed]{font-size:.95rem;margin-top:8px;max-width:230px;overflow:hidden;text-overflow:ellipsis;color:rgba(0,0,0,.8)}.personalCenter .personalBox .personalLeft .LeftMenu[data-v-2e3719ed]{width:100%;min-width:160px;padding-left:8px}.personalCenter .personalBox .personalLeft .LeftMenu .ic[data-v-2e3719ed]{font-size:16PX;color:#409eff;font-weight:700;border:1PX solid #409eff;padding:3PX;border-radius:50%}.personalCenter .personalBox .personalLeft .LeftMenu .titleText[data-v-2e3719ed]{margin-left:5PX}.personalCenter .personalBox .personalRight[data-v-2e3719ed]{width:78%;background:#fff;padding:10PX;height:80%;border-radius:20PX;border:2PX solid #885bcd;box-shadow:5PX 3PX 3PX 3PX rgba(190,160,223,.5);scrollbar-width:none;-ms-overflow-style:none;border-right:none;overflow:hidden}.personalCenter .personalBox .personalRight[data-v-2e3719ed]::-webkit-scrollbar{width:0;height:0}.personalCenter[data-v-2e3719ed]:after{content:"";width:100%;height:180PX;position:absolute;bottom:25%;left:0}.el-menu[data-v-2e3719ed]{background-color:transparent}.el-menu-item[data-v-2e3719ed]{position:relative;border-radius:30PX 0 0 30PX;transition:all .2s linear;width:101%}.el-menu-item[data-v-2e3719ed]:hover{width:100%;box-shadow:0 3PX 0 0 rgba(190,160,223,.5)}.el-menu-item.is-active[data-v-2e3719ed]{width:101%;border:2PX solid #885bcd;border-radius:30PX 0 0 30PX;border-right:none;box-shadow:0 5PX 0 0 rgba(190,160,223,.5)}.el-menu-item.is-active .el-menu-item[data-v-2e3719ed]:after{display:block}.el-menu-item.is-active.el-menu-item[data-v-2e3719ed]:after{content:"";width:6PX;height:100%;background:#fff;position:absolute;top:0;right:-3PX;z-index:99}@media screen and (min-width:220px)and (max-width:1279px){.personalMiningBox[data-v-8c33fe2a]{padding:0!important}.personalBox[data-v-8c33fe2a]{padding:14px!important;background:#eee8aa!important}.Mining[data-v-8c33fe2a]{width:100%}.Delete[data-v-8c33fe2a]{width:100%;display:flex;justify-content:left;margin-top:18px}.Delete .delBth[data-v-8c33fe2a]{background:#ff4181}.Delete .bth[data-v-8c33fe2a],.Delete .delBth[data-v-8c33fe2a]{color:#fff;padding:13px 40px!important;border-radius:10px!important}.Delete .bth[data-v-8c33fe2a]{background:#651efe;margin-left:18px}.personalMiningBox .tableBox[data-v-8c33fe2a]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.personalMiningBox .tableBox .tabTitle[data-v-8c33fe2a]{display:flex;align-items:center}.personalMiningBox .tableBox .tabTitle span[data-v-8c33fe2a]{width:31.6666666667%!important;font-size:.9rem!important}.personalMiningBox .tableBox .tabTitle .miningAccount[data-v-8c33fe2a]{width:27%!important;margin:0!important}.personalMiningBox .tableBox .tabTitle .checkbox[data-v-8c33fe2a]{width:31px!important}.personalMiningBox .tableBox .collapseTitle[data-v-8c33fe2a]{width:100%;padding-left:0;display:flex}.personalMiningBox .tableBox .collapseTitle span[data-v-8c33fe2a]{display:inline-block;align-items:center;text-align:center;text-overflow:ellipsis;overflow:hidden;text-align:left;white-space:nowrap}.personalMiningBox .tableBox .collapseTitle .account[data-v-8c33fe2a]{width:29%}.personalMiningBox .tableBox .collapseTitle .currency2[data-v-8c33fe2a]{display:flex;line-height:48px;width:38%}.personalMiningBox .tableBox .collapseTitle .currency2 img[data-v-8c33fe2a]{margin-right:5px}.personalMiningBox .tableBox .collapseTitle .operation[data-v-8c33fe2a]{color:#661fff}.personalMiningBox .tableBox .collapseTitle .police[data-v-8c33fe2a]{width:18%;color:#ccc;text-align:center}.personalMiningBox .tableBox .content[data-v-8c33fe2a]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.personalMiningBox .tableBox .content .remarks[data-v-8c33fe2a]{margin-top:10px}.personalMiningBox .tableBox .content p[data-v-8c33fe2a]:first-of-type{font-weight:600}.personalMiningBox .tableBox .content p[data-v-8c33fe2a]{word-wrap:break-word}.personalMiningBox .tableBox .content p .copy[data-v-8c33fe2a]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.personalMiningBox .tableBox[data-v-8c33fe2a] .el-collapse-item__header{padding-left:10px}.dialogBox .inputBox .inputItem[data-v-8c33fe2a]{margin-top:10px!important}.dialogBox .inputBox .inputItem .title[data-v-8c33fe2a]{font-size:.9rem!important}[data-v-8c33fe2a] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-8c33fe2a] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-8c33fe2a] .el-dialog__body{padding:0!important}[data-v-8c33fe2a] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-8c33fe2a] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-8c33fe2a] .el-dialog__body{padding:0!important}[data-v-8c33fe2a] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.personalMiningBox[data-v-8c33fe2a]{padding:18PX}.personalMiningBox .headTitle[data-v-8c33fe2a]{display:flex;justify-content:space-between;align-items:center;border-bottom:1PX solid rgba(0,0,0,.1)}.personalMiningBox .headTitle .titleBox[data-v-8c33fe2a]{display:flex;align-items:center}.personalMiningBox .headTitle h2[data-v-8c33fe2a]{color:#36246f}.personalMiningBox .headTitle i[data-v-8c33fe2a]{font-size:1.8em;margin-right:5PX;color:#36246f;font-weight:600}.personalMiningBox .headTitle .inputItem[data-v-8c33fe2a]{margin-left:18px}.personalMiningBox .headTitle .Delete[data-v-8c33fe2a]{display:flex;align-items:center}.personalMiningBox .headTitle .Delete .delBth[data-v-8c33fe2a]{border:none}.personalMiningBox .headTitle .Delete .delBth[data-v-8c33fe2a]:hover{color:#661ffb;background:transparent;font-weight:600}.personalMiningBox .headTitle .Delete .bth[data-v-8c33fe2a]{width:50%;background:#661ffb;margin-left:3%;text-align:center;border:1PX solid #661ffb;border-radius:5PX;color:#fff;border-radius:25PX}.personalMiningBox .headTitle .Delete .bth i[data-v-8c33fe2a]{font-size:1em}.personalMiningBox .headTitle .Delete span[data-v-8c33fe2a]:hover{border:1PX solid #0062cc}.personalMiningBox .headTitle .Delete .arrow[data-v-8c33fe2a]{color:#fff}.personalMiningBox .tableBox[data-v-8c33fe2a]{min-height:400PX}.personalMiningBox .tableBox .tabTitle[data-v-8c33fe2a]{width:100%;background:#d2c3ea;color:#36246f;display:flex;align-items:center;height:55PX;border-radius:5PX 5PX 0 0}.personalMiningBox .tableBox .tabTitle span[data-v-8c33fe2a]{margin-left:8px;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:600}.personalMiningBox .tableBox .tabTitle .checkbox[data-v-8c33fe2a]{width:40px;text-align:center;display:flex;justify-content:center;padding-left:1%}.personalMiningBox .tableBox .tabTitle .currency[data-v-8c33fe2a]{width:120px}.personalMiningBox .tableBox .tabTitle .miningAccount[data-v-8c33fe2a]{width:140px}.personalMiningBox .tableBox .tabTitle .addr[data-v-8c33fe2a]{display:inline-block;width:400px;padding-left:10px}.personalMiningBox .tableBox .tabTitle .remarks[data-v-8c33fe2a]{width:200px;padding-left:10px}.personalMiningBox .tableBox .tabTitle .operation[data-v-8c33fe2a]{padding-left:20px;width:140px}.personalMiningBox .tableBox ul[data-v-8c33fe2a]{width:100%;padding:0;border:1PX solid rgba(0,0,0,.1);border-radius:5PX;overflow:hidden;overflow-y:auto;height:430PX;scrollbar-width:none;-ms-overflow-style:none;border-right:none;margin:0}.personalMiningBox .tableBox ul li[data-v-8c33fe2a]{list-style:none;width:100%;display:flex;align-items:center;background:#efefef;height:50PX}.personalMiningBox .tableBox ul li .checkbox[data-v-8c33fe2a]{width:40px;text-align:center;display:flex;justify-content:center;padding-left:1%}.personalMiningBox .tableBox ul li span[data-v-8c33fe2a]{display:inline-block;margin-left:8px;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;text-align:left;padding:0}.personalMiningBox .tableBox ul li .currency[data-v-8c33fe2a]{width:13%;width:130px;display:flex;align-items:center}.personalMiningBox .tableBox ul li .currency img[data-v-8c33fe2a]{width:20PX;margin-right:5PX}.personalMiningBox .tableBox ul li .miningAccount[data-v-8c33fe2a]{width:140px!important}.personalMiningBox .tableBox ul li .addr[data-v-8c33fe2a]{width:45%;width:400px!important;word-wrap:break-word;overflow:visible;text-overflow:clip;white-space:normal;padding:0 5PX}.personalMiningBox .tableBox ul li .remarks[data-v-8c33fe2a]{width:18%;width:200px!important}.personalMiningBox .tableBox ul li .operationBox[data-v-8c33fe2a]{padding-right:5px;width:15%;width:140px!important;display:flex;justify-content:space-around}.personalMiningBox .tableBox ul li .operationBox .alerts[data-v-8c33fe2a]{width:24%;cursor:pointer}.personalMiningBox .tableBox ul li[data-v-8c33fe2a] .el-dropdown-link{color:#000}.personalMiningBox .tableBox ul li[data-v-8c33fe2a] .el-dropdown-link:hover{color:#661ffb;cursor:pointer}.personalMiningBox .tableBox ul li .operation[data-v-8c33fe2a]{cursor:pointer}.personalMiningBox .tableBox ul li .operation[data-v-8c33fe2a]:hover{color:#661ffb}.personalMiningBox .tableBox ul li[data-v-8c33fe2a]:nth-child(2n){background-color:#fff}.personalMiningBox .tableBox ul .tabTitle[data-v-8c33fe2a]{background:#d2c3ea;color:#36246f}.personalMiningBox .tableBox ul .tabTitle span[data-v-8c33fe2a]{width:8%}.personalMiningBox .tableBox ul .tabTitle .miningAccount[data-v-8c33fe2a]{width:12%}.personalMiningBox .tableBox ul .tabTitle .addr[data-v-8c33fe2a]{width:42%}.personalMiningBox .tableBox ul .tabTitle .remarks[data-v-8c33fe2a]{width:12%}.accountFormat[data-v-8c33fe2a]{color:#ff4081;font-size:.8em;line-height:18PX;margin:0}[data-v-8c33fe2a] .el-checkbox__inner{border-color:#000}.el-checkbox__input.is-indeterminate .el-checkbox__inner[data-v-8c33fe2a],[data-v-8c33fe2a] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#000!important;border-color:#000!important}.dialogBox[data-v-8c33fe2a]{padding:0 20PX;padding-bottom:50PX;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-8c33fe2a]{width:100%;text-align:center;font-size:1em;font-weight:600}.dialogBox .inputBox[data-v-8c33fe2a]{width:70%;margin-top:20PX}.dialogBox .inputBox .inputItem[data-v-8c33fe2a]{margin-top:30PX;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-8c33fe2a]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-8c33fe2a]{margin-top:10PX}.dialogBox .el-button[data-v-8c33fe2a]{background:#661fff;color:#edf2ff;border:none;outline:none;margin-top:30PX}[data-v-8c33fe2a] .el-dialog{background-image:url(/img/dialog1.6b499f8a.png);background-size:130% 105%;background-repeat:no-repeat;background-position:100% 100%;border-radius:32PX}.tabelList span[data-v-8c33fe2a]{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loginPage[data-v-79fdbdb8]{width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;padding:100px 0;background-image:url(/img/logBg.3050d0aa.png);background-size:cover;background-repeat:no-repeat}.loginPage .loginModular[data-v-79fdbdb8]{width:50%;height:85%;display:flex;border-radius:10px;overflow:hidden;box-shadow:0 0 20px 18px #d6d2ea}.loginPage .leftBox[data-v-79fdbdb8]{width:47%;height:100%;background-image:linear-gradient(150deg,#18b7e6 -20%,#651fff 60%);position:relative}.loginPage .leftBox .logo[data-v-79fdbdb8]{position:absolute;left:30px;top:18px;width:22%}.loginPage .leftBox img[data-v-79fdbdb8]{width:100%;position:absolute;right:-16%;bottom:0;z-index:99}.el-form[data-v-79fdbdb8]{width:90%;padding:0 20px 50px 20px}.el-form-item[data-v-79fdbdb8]{width:100%}.loginBox[data-v-79fdbdb8]{width:53%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:10px;flex-direction:column;overflow:hidden;background:#fff;position:relative;padding:0 35px}.loginBox .demo-ruleForm[data-v-79fdbdb8]{height:100%;padding-top:5%}.loginBox img[data-v-79fdbdb8]{width:18%;position:absolute;top:20px;left:30px;cursor:pointer}.loginBox .closeBox[data-v-79fdbdb8]{position:absolute;top:18px;right:30px;cursor:pointer}.loginBox .closeBox .close[data-v-79fdbdb8]{font-size:1.3em}.loginBox .closeBox[data-v-79fdbdb8]:hover{color:#661fff}.loginTitle[data-v-79fdbdb8]{font-size:20px;font-weight:600;margin-bottom:30px;text-align:center}.loginColor[data-v-79fdbdb8]{width:100%;height:15px;background:#661fff}.langBox[data-v-79fdbdb8]{display:flex;justify-content:space-between;align-content:center}.registerBox[data-v-79fdbdb8]{display:flex;justify-content:start;margin:0;font-size:12px;height:20px}.registerBox span[data-v-79fdbdb8]{padding:5px 0;display:inline-block;height:100%;z-index:99}.registerBox span[data-v-79fdbdb8]:hover{color:#661fff}.registerBox .noAccount[data-v-79fdbdb8]:hover{color:#000}.registerBox .forget[data-v-79fdbdb8]{margin-left:8px;cursor:pointer}.forget[data-v-79fdbdb8]{margin-left:10px}.forgotPassword[data-v-79fdbdb8]{display:inline-block;width:20%}.verificationCode[data-v-79fdbdb8]{display:flex}.verificationCode .codeBtn[data-v-79fdbdb8]{font-size:13px;margin-left:2px}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-79fdbdb8]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/bgtop.d1ac5a03.svg);background-repeat:no-repeat;background-size:115%;background-position:49% 47%}.headerBox[data-v-79fdbdb8]{width:100%;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 0 2px 1px #ccc}.headerBox img[data-v-79fdbdb8]{width:30px}.headerBox .title[data-v-79fdbdb8]{font-weight:600}.imgTop[data-v-79fdbdb8]{width:100%;display:flex;justify-content:center;margin-top:2%}.imgTop img[data-v-79fdbdb8]{height:159px}.formInput[data-v-79fdbdb8]{width:100%;display:flex;justify-content:center}.footer[data-v-79fdbdb8]{width:100%;height:100px;background:#651fff}.personalMiningBox[data-v-5cdac29b]{padding:0!important}.bthBox[data-v-5cdac29b]{display:flex;justify-content:left}.bthBox .addBth[data-v-5cdac29b]{background:#651efe}.bthBox .addBth[data-v-5cdac29b],.bthBox .delBth[data-v-5cdac29b]{color:#fff;padding:13px 40px!important;border-radius:10px!important}.bthBox .delBth[data-v-5cdac29b]{background:#ff4181;margin-left:18px}.tableBox[data-v-5cdac29b]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.tableBox .collapseBox[data-v-5cdac29b]{max-height:600px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox .tabTitle[data-v-5cdac29b]{display:flex;align-items:center}.tableBox .tabTitle .checkbox[data-v-5cdac29b]{width:45px}.tableBox .tabTitle .miningAccount[data-v-5cdac29b]{width:42%}.tableBox .tabTitle .currency[data-v-5cdac29b]{width:42%;text-align:left;padding-left:5px}.tableBox .tabTitle .operation[data-v-5cdac29b]{width:100px;padding-left:10px}.tableBox .tabTitle span[data-v-5cdac29b]{font-size:.9rem!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.tableBox .collapseTitle[data-v-5cdac29b]{width:100%;padding-left:0;display:flex}.tableBox .collapseTitle span[data-v-5cdac29b]{display:inline-block;align-items:center;text-align:center;text-overflow:ellipsis;overflow:hidden}.tableBox .collapseTitle .miningAccount[data-v-5cdac29b]{width:46%}.tableBox .collapseTitle .currency2[data-v-5cdac29b]{width:45%;display:flex;line-height:48px}.tableBox .collapseTitle .currency2 img[data-v-5cdac29b]{margin-right:5px}.tableBox .collapseTitle .operation[data-v-5cdac29b]{width:90px;color:#661fff}.tableBox .content[data-v-5cdac29b]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.tableBox .content .link[data-v-5cdac29b],.tableBox .content .remarks[data-v-5cdac29b]{margin-top:10px}.tableBox .content p[data-v-5cdac29b]:first-of-type{font-weight:600}.tableBox .content p[data-v-5cdac29b]{word-wrap:break-word;width:100%}.tableBox .content p .copy[data-v-5cdac29b]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .content p a[data-v-5cdac29b]{color:#6d5c9b}.tableBox .content .permissionBlock[data-v-5cdac29b]{width:100%}.tableBox .content .permissionBlock span[data-v-5cdac29b]{display:inline-block;background:#d2c3ea;padding:3px 12px;border-radius:5px;margin-left:8px}.tableBox[data-v-5cdac29b] .el-collapse-item__header{padding-left:10px}.paginationBox[data-v-5cdac29b]{width:100%;display:flex;justify-content:center;padding:18px 10px}.personalMiningBox .operation[data-v-5cdac29b]{margin-top:0!important}.dialogBox .inputBox .inputItem[data-v-5cdac29b]{margin-top:10px!important}.dialogBox .inputBox .inputItem .title[data-v-5cdac29b]{font-size:.9rem!important}[data-v-5cdac29b] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-5cdac29b] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-5cdac29b] .el-dialog__body{padding:0!important}[data-v-5cdac29b] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-5cdac29b] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-5cdac29b] .el-dialog__body{padding:0!important}[data-v-5cdac29b] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.personalMiningBox[data-v-5cdac29b]{padding:20px}.personalMiningBox .headTitle[data-v-5cdac29b]{display:flex;align-items:center;border-bottom:1px solid rgba(0,0,0,.1)}.personalMiningBox .headTitle h2[data-v-5cdac29b]{color:#36246f}.personalMiningBox .headTitle i[data-v-5cdac29b]{font-size:1.8em;margin-right:5px;color:#36246f;font-weight:600}.personalMiningBox .headTitle .Delete[data-v-5cdac29b]{width:20%;display:flex;align-items:center}.personalMiningBox .headTitle .Delete span[data-v-5cdac29b]{width:40%;height:35px;line-height:35px;background:#edf2ff;margin-left:3%;text-align:center;border:1px solid #84a4ff;border-radius:5px;cursor:pointer}.personalMiningBox .headTitle .Delete span[data-v-5cdac29b]:hover{border:1px solid #0062cc}.personalMiningBox .operation[data-v-5cdac29b]{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.personalMiningBox .operation .bthBox .el-button[data-v-5cdac29b]{background:#edf2ff;padding:10px 25px}.personalMiningBox .operation .bthBox .addBth[data-v-5cdac29b]{padding:10px 35px;border-radius:25px;background:#661ffb;color:#fff}.personalMiningBox .operation .bthBox .delBth[data-v-5cdac29b]{background:transparent;border:none}.personalMiningBox .operation .bthBox .delBth[data-v-5cdac29b]:hover{color:#661ffb;font-weight:600}.personalMiningBox .operation .searchBox[data-v-5cdac29b]{width:25%;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.personalMiningBox .operation .searchBox .inout[data-v-5cdac29b]{border:none;outline:none;padding:0 10px;background:transparent}.personalMiningBox .operation .searchBox i[data-v-5cdac29b]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.personalMiningBox .tableBox[data-v-5cdac29b]{font-size:.95rem}.personalMiningBox .tableBox ul[data-v-5cdac29b]{width:100%;padding:0;border:1px solid rgba(0,0,0,.1);border-radius:5px;height:370px;overflow-y:auto;margin:0;margin-bottom:10px;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.personalMiningBox .tableBox ul li[data-v-5cdac29b]{list-style:none;width:100%;display:flex;align-items:center;justify-content:center;height:55px;background:#efefef}.personalMiningBox .tableBox ul li .checkbox[data-v-5cdac29b]{width:5%;text-align:center}.personalMiningBox .tableBox ul li span[data-v-5cdac29b]{width:18%;height:90%;text-align:center;line-height:45px;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personalMiningBox .tableBox ul li .binding[data-v-5cdac29b]{color:#69adf5;cursor:pointer}.personalMiningBox .tableBox ul li .binding[data-v-5cdac29b]:hover{color:#0974e7}.personalMiningBox .tableBox ul li .permissionBlock[data-v-5cdac29b]{display:flex;align-items:center;justify-content:left}.personalMiningBox .tableBox ul li .permissionBlock span[data-v-5cdac29b]{width:25%;line-height:25px;height:25px;font-size:.8rem;margin-left:5px;color:#6440b9}.personalMiningBox .tableBox ul li .coinBox[data-v-5cdac29b]{display:flex;align-items:center;justify-content:left}.personalMiningBox .tableBox ul li[data-v-5cdac29b]:nth-child(2n){background-color:#fff}.personalMiningBox .tableBox ul .tabTitle[data-v-5cdac29b]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f}.personalMiningBox .paging[data-v-5cdac29b]{width:100%;display:flex;justify-content:center}.tabTitle[data-v-5cdac29b]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f;display:flex;align-items:center;justify-content:center;height:55px;margin-top:10px;border-radius:5px 5px 0 0;font-weight:600}.tabTitle .checkbox[data-v-5cdac29b]{width:5%;text-align:center}.tabTitle span[data-v-5cdac29b]{width:18%;height:90%;text-align:center;line-height:55px}[data-v-5cdac29b] .el-checkbox__input.is-disabled+span.el-checkbox__label{color:rgba(0,0,0,.6);color:#46a2ff}.cascaderBox[data-v-5cdac29b]{display:flex;align-items:center}.cascaderBox img[data-v-5cdac29b]{margin-right:5px}[data-v-5cdac29b] .el-checkbox__inner{border-color:#000}.el-checkbox__input.is-indeterminate .el-checkbox__inner[data-v-5cdac29b],[data-v-5cdac29b] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#000!important;border-color:#000!important}.dialogBox[data-v-5cdac29b]{padding:0 20px;padding-bottom:20px;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-5cdac29b]{width:100%;text-align:center;font-size:1.2rem;font-weight:600}.dialogBox .inputBox[data-v-5cdac29b]{width:70%;margin-top:20px;margin:30px 0}.dialogBox .inputBox .inputItem[data-v-5cdac29b]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-5cdac29b]{font-size:1.1em;text-align:left;margin-bottom:10px}.dialogBox .el-button[data-v-5cdac29b]{background:#661fff;color:#edf2ff;border:none;outline:none}.dialogBox .jurisdictionBox[data-v-5cdac29b]{width:70%;height:50px}.dialogBox .jurisdictionBox .checkboxS[data-v-5cdac29b]{margin-top:10px;display:flex}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-5cdac29b]{width:33.3333333333%;font-weight:600}[data-v-5cdac29b] .el-dialog{background:#fff;background-image:url(/img/dialog2.902b738d.png);background-size:cover;background-repeat:no-repeat;border-radius:32px}[data-v-5cdac29b] .el-cascader .el-input .el-input__inner{text-transform:capitalize}@media screen and (min-width:220px)and (max-width:1279px){.security[data-v-b42565d2]{padding:0!important}.securityMain[data-v-b42565d2]{width:100%;min-height:360px}.securityMain .itemBox[data-v-b42565d2]{width:100%;display:flex;min-height:80px;align-content:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1);padding:10px 18px}.securityMain .itemBox .left[data-v-b42565d2]{display:flex;align-items:center;width:52%}.securityMain .itemBox .left .text[data-v-b42565d2]{margin-left:10px}.securityMain .itemBox .left .text p[data-v-b42565d2]:first-of-type{font-size:.9rem}.securityMain .itemBox .left .text p[data-v-b42565d2]:nth-of-type(2){font-size:.75rem;margin-top:5px;color:rgba(0,0,0,.6);word-wrap:break-word}.securityMain .itemBox .right[data-v-b42565d2]{display:flex;align-items:center;font-size:.9rem}.securityMain .itemBox .right .notEnabled[data-v-b42565d2]{border:none;background:transparent;padding:0}.securityMain .itemBox .right .modify[data-v-b42565d2]{padding:5px 15px;background:#661fff;color:#fff;border-radius:5px;margin-left:10px}.securityMain .itemBox .right2[data-v-b42565d2]{display:flex;align-items:center;font-size:.9rem}.securityMain .itemBox .right2 .notEnabled[data-v-b42565d2]{border:none;background:transparent;padding:0}.securityMain .itemBox .right2 .modify[data-v-b42565d2]{padding:7px 15px;background:#661fff;color:#fff;border-radius:5px}.verificationBox[data-v-b42565d2]{padding:0!important;padding-bottom:30px!important}.verificationBox .title[data-v-b42565d2]{font-size:.95rem!important}.verificationBox .inputBox[data-v-b42565d2]{font-size:.9rem!important}.verificationBox .inputBox .inputItem[data-v-b42565d2]{margin-top:10px!important}.verificationBox .inputBox .inputItem .title[data-v-b42565d2]{font-size:.9rem!important}.verificationBox .text1[data-v-b42565d2]{margin:10px}.verificationBox .secretKeyBox[data-v-b42565d2]{padding:5px}.verificationBox .secretKeyBox .code img[data-v-b42565d2]{max-width:120px}.verificationBox .secretKeyBox .secretKey .InfoSecret[data-v-b42565d2]{font-size:.95rem!important}.verificationBox .clause[data-v-b42565d2]{padding:5px}.verificationBthBox[data-v-b42565d2]{flex-wrap:wrap;justify-content:space-around}.verificationBthBox .el-button--default[data-v-b42565d2]{margin:5px!important}.verificationBthBox .confirmBtn[data-v-b42565d2]{margin:0 auto;width:auto!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-b42565d2] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-b42565d2] .el-dialog__body{padding:0!important}[data-v-b42565d2] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-b42565d2] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-b42565d2] .el-dialog__body{padding:0!important}[data-v-b42565d2] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.remind[data-v-b42565d2]{font-size:.8em;padding:0;margin:0;min-height:15px;line-height:15px;color:#ff4081;cursor:pointer}.security[data-v-b42565d2]{width:100%;padding:15px}.security .titleBox[data-v-b42565d2]{display:flex;align-items:center}.security .titleBox h2[data-v-b42565d2]{color:#36246f}.security .ic[data-v-b42565d2]{font-size:1.8em;margin-right:5px;color:#36246f;font-weight:600}.security .table[data-v-b42565d2]{width:100%}.security .table ul[data-v-b42565d2]{width:100%;height:500px;border-radius:10px;padding:10px 40px;font-size:.9rem}.security .table ul .topOne[data-v-b42565d2]{border:none}.security .table ul .topOne .topOneLeft[data-v-b42565d2]{display:flex;height:70%}.security .table ul .topOne .topOneLeft img[data-v-b42565d2]{height:70%}.security .table ul .topOne .topOneLeft .text[data-v-b42565d2]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px}.security .table ul .topOne .topOneRight[data-v-b42565d2]{display:flex;align-items:center;width:18%;justify-content:space-around}.security .table ul .topOne .topOneRight .notEnabled[data-v-b42565d2]{padding:5px 10px;color:#ccc;border:none}.security .table ul .topOne .topOneRight .line[data-v-b42565d2]{display:inline-block;width:1px;height:20px;background:#ccc}.security .table ul .topOne .topOneRight .modify[data-v-b42565d2]{color:#fff;cursor:pointer;background:#6620fb;padding:6px 18px;border-radius:5px}.security .table ul .topOne .topOneRight .modifyDelete[data-v-b42565d2]{display:inline-block;width:90%;text-align:right;color:#2889fc;cursor:pointer}.security .table ul li[data-v-b42565d2]{list-style:none;padding:10px 0;border-top:1px solid rgba(0,0,0,.1);height:20%;display:flex;justify-content:space-between;align-items:center}.security .table ul li .topOneLeft[data-v-b42565d2]{display:flex;height:70%}.security .table ul li .topOneLeft img[data-v-b42565d2]{height:70%}.security .table ul li .topOneLeft .text[data-v-b42565d2]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px}.security .table ul li .topOneRight[data-v-b42565d2]{display:flex;align-items:center;width:18%;justify-content:space-around}.security .table ul li .topOneRight .notEnabled[data-v-b42565d2]{padding:5px 10px;color:#ccc;border:none}.security .table ul li .topOneRight .line[data-v-b42565d2]{display:inline-block;width:1px;height:20px;background:#ccc}.security .table ul li .topOneRight .modify[data-v-b42565d2]{color:#fff;cursor:pointer;background:#6620fb;padding:6px 18px;border-radius:5px}.security .table ul li .topOneRight .modifyDelete[data-v-b42565d2]{display:inline-block;width:90%;text-align:right;color:#2889fc;cursor:pointer}.security .table ul li .topOneRight2[data-v-b42565d2]{display:flex;align-items:center;justify-content:space-around}.security .table ul li .topOneRight2 .notEnabled[data-v-b42565d2]{padding:5px 10px;color:#e7155e;border:none}.security .table ul li .topOneRight2 .line[data-v-b42565d2]{display:inline-block;width:1px;height:20px;background:#ccc;margin:0 5px}.security .table ul li .topOneRight2 .modify[data-v-b42565d2]{color:#fff;cursor:pointer;background:#6620fb;padding:6px 18px;border-radius:5px}.security .table ul li .topOneRight2 .modifyDelete[data-v-b42565d2]{display:inline-block;width:90%;text-align:right;color:#2889fc;cursor:pointer}.dialogBox[data-v-b42565d2]{padding:0 20px;padding-bottom:50px;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-b42565d2]{width:100%;text-align:center;font-size:25px}.dialogBox .verificationPrompt[data-v-b42565d2]{margin-top:5%;font-size:1.3em}.dialogBox .inputBox[data-v-b42565d2]{width:70%;margin-top:20px;margin:30px 0}.dialogBox .inputBox .inputItem[data-v-b42565d2]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-b42565d2]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-b42565d2]{margin-top:10px}.dialogBox .jurisdictionBox[data-v-b42565d2]{width:70%;height:50px}.dialogBox .jurisdictionBox .checkboxS[data-v-b42565d2]{margin-top:10px;display:flex}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-b42565d2]{width:33.3333333333%}.dialogBox .deleteClauseBox ul[data-v-b42565d2],.dialogBox .deleteClauseBox[data-v-b42565d2]{margin:0;padding:0}.dialogBox2[data-v-b42565d2]{padding:0 55px;padding-bottom:50px;display:flex;justify-content:center;flex-direction:column}.dialogBox2 .dashedLine[data-v-b42565d2]{width:100%;border-bottom:1px dashed #ccc;margin-top:5%}.dialogBox2 .select[data-v-b42565d2]{width:100%}.dialogBox2 .bthBox[data-v-b42565d2]{display:flex;justify-content:space-between}.dialogBox2 .title[data-v-b42565d2]{width:100%;text-align:center;font-size:25px}.dialogBox2 .verificationPrompt[data-v-b42565d2]{margin-top:5%;font-size:1.3em}.dialogBox2 .inputBox[data-v-b42565d2]{width:70%;margin-top:20px;margin:30px 0}.dialogBox2 .inputBox .inputItem[data-v-b42565d2]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox2 .inputBox .title[data-v-b42565d2]{font-size:1.1em;text-align:left}.dialogBox2 .inputBox .input[data-v-b42565d2]{margin-top:10px}.dialogBox2 .jurisdictionBox[data-v-b42565d2]{width:70%;height:50px}.dialogBox2 .jurisdictionBox .checkboxS[data-v-b42565d2]{margin-top:10px;display:flex}.dialogBox2 .jurisdictionBox .checkboxS .el-checkbox[data-v-b42565d2]{width:33.3333333333%}.dialogBox2 .deleteClauseBox ul[data-v-b42565d2],.dialogBox2 .deleteClauseBox[data-v-b42565d2]{margin:0;padding:0}.verificationBox[data-v-b42565d2]{padding:0 20px;padding-bottom:50px;display:flex;justify-content:center;flex-direction:column;align-items:center}.verificationBox .title[data-v-b42565d2]{width:100%;text-align:center;font-size:25px}.verificationBox .title span[data-v-b42565d2]{color:#2889fc}.verificationBox .inputBox[data-v-b42565d2]{width:70%;margin-top:20px;margin:30px 0}.verificationBox .inputBox .inputItem[data-v-b42565d2]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.verificationBox .inputBox .title[data-v-b42565d2]{font-size:1.1em;text-align:left}.verificationBox .inputBox .input[data-v-b42565d2]{margin-top:10px}.verificationBox .secretKeyBox[data-v-b42565d2]{display:flex;justify-content:space-around;width:100%;height:150px}.verificationBox .secretKeyBox .code[data-v-b42565d2]{width:45%;text-align:center}.verificationBox .secretKeyBox .centerLine[data-v-b42565d2]{width:2%;height:100%;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column}.verificationBox .secretKeyBox .centerLine .topLine[data-v-b42565d2]{width:2px;height:40%;background:#c9d1f0}.verificationBox .secretKeyBox .centerLine .or[data-v-b42565d2]{width:18px;display:inline-block;height:30px;line-height:30px}.verificationBox .secretKeyBox .centerLine .btLine[data-v-b42565d2]{width:2px;height:40%;background:#c9d1f0}.verificationBox .secretKeyBox .secretKey[data-v-b42565d2]{width:45%;text-align:center;display:flex;justify-content:center;align-items:center}.verificationBox .secretKeyBox .secretKey .InfoSecret[data-v-b42565d2]{padding:15px 20px;background:#fff;color:#f84481;font-weight:600;font-size:1.2em}.verificationBox .secretKeyBox .secretKey .InfoSecret span[data-v-b42565d2]{color:#ccc;cursor:pointer;font-size:.9em;font-weight:400;margin-left:2px}.verificationBox .secretKeyBox .secretKey .InfoSecret span[data-v-b42565d2]:hover{color:#f84481}.verificationBox .clause[data-v-b42565d2]{display:flex;align-items:start;margin:18px 0;width:100%}.verificationBox .clause p[data-v-b42565d2]{margin:0;margin-left:10px}.verificationBox .clause p span[data-v-b42565d2]{color:#f84481}.verificationBox .clause .checkbox[data-v-b42565d2]{margin-top:3px}.verificationBox .nextStep[data-v-b42565d2]{width:50%;text-align:center;font-size:1em;background:#661fff;color:#fff;padding:10px 0;border-radius:5px}.verificationBox .verificationCode[data-v-b42565d2]{display:flex;margin-top:10px}.verificationBox .verificationCode .codeBtn[data-v-b42565d2]{font-size:13px;margin-left:2px}.verificationBox .bthBox[data-v-b42565d2]{width:100%;display:flex;align-items:center;padding:0 15%}.verificationBox .bthBox .previousStep[data-v-b42565d2]{width:35%;font-size:1.3em}.verificationBox .verificationBthBox[data-v-b42565d2]{width:70%;display:flex;justify-content:left}.verificationBox .verificationBthBox .el-button.previousStep[data-v-b42565d2]{min-width:28%;background:#d0c4e8;color:#fff}.verificationBox .verificationBthBox .el-button.confirmBtn[data-v-b42565d2]{min-width:60%;background:#661fff;color:#fff;border:none}[data-v-b42565d2] .el-dialog{background:#fff;background-image:url(/img/dialog3.676187b6.png);background-size:102% 100%;background-repeat:no-repeat;border-radius:32px}.dialogBth[data-v-b42565d2]{width:30%;font-size:1.1em;margin-top:30px;background:#661fff;border:none}.changePasswordBth[data-v-b42565d2]{background:#661fff;color:#fff}.personal[data-v-164396ae]{width:100%;padding:20PX;height:100%}.personal .titleBox[data-v-164396ae]{display:flex;align-items:center}.personal .titleBox h2[data-v-164396ae]{color:#36246f}.personal .ic[data-v-164396ae]{font-size:1.8em;margin-right:5PX;color:#36246f;font-weight:600}.personal .loginInformation[data-v-164396ae]{width:98%;border:1PX solid rgba(0,0,0,.1);height:30%}.personal .loginInformation ul[data-v-164396ae]{width:100%;height:100%;padding:0 30PX}.personal .loginInformation ul .one[data-v-164396ae]{border:none}.personal .loginInformation ul li[data-v-164396ae]{position:relative;list-style:none;width:100%;height:28%;display:flex;align-items:center;border-top:1PX solid rgba(0,0,0,.1)}.personal .loginInformation ul li .title[data-v-164396ae]{width:15%;display:flex;align-items:center;font-size:1.2em}.personal .loginInformation ul li .title i[data-v-164396ae]{font-size:1em}.personal .loginInformation ul li .text[data-v-164396ae]{color:rgba(0,0,0,.5)}.personal .loginInformation ul .addPhone[data-v-164396ae]{color:#429fff;position:absolute;right:20PX;top:30PX;cursor:pointer}.personal .loginTable[data-v-164396ae]{width:98%;padding:20PX 0}.personal .loginTable ul[data-v-164396ae]{width:100%;height:600PX;padding:0;border:1PX solid rgba(0,0,0,.1);border-radius:8PX;overflow:hidden}.personal .loginTable ul .title.title[data-v-164396ae]{background:#ebeef3}.personal .loginTable ul li[data-v-164396ae]{list-style:none;height:13%;display:flex;justify-content:space-between;align-items:center}.personal .loginTable ul li span[data-v-164396ae]{width:20%;text-align:center}.personal .loginTable ul li[data-v-164396ae]:nth-child(odd){background-color:#f8f9f8}.personal .loginTable ul li[data-v-164396ae]:nth-child(2n){background-color:#fff}.verificationCode[data-v-164396ae]{display:flex}.verificationCode .codeBtn[data-v-164396ae]{font-size:13PX;margin-left:2PX}.miningReport[data-v-22d9d454]{width:100%;padding:20PX}.miningReport .titleBox[data-v-22d9d454]{display:flex;align-items:center}.miningReport .titleBox h2[data-v-22d9d454]{color:#36246f}.miningReport .ic[data-v-22d9d454]{font-size:1.8em;margin-right:5PX;color:#36246f;font-weight:600}.miningReport .contentBox[data-v-22d9d454]{width:100%}.miningReport .contentBox .block[data-v-22d9d454]{width:95%;display:flex;justify-content:space-between;align-items:center;border:1PX solid rgba(0,0,0,.1);padding:20PX 50PX;height:130PX;border-radius:5PX;margin-top:30PX}.miningReport .contentBox .block .left[data-v-22d9d454]{display:flex;height:50PX}.miningReport .contentBox .block .left .text[data-v-22d9d454]{display:flex;flex-direction:column;height:100%;justify-content:space-between;margin-left:10PX}.miningReport .contentBox .block .left .text .describe[data-v-22d9d454]{color:rgba(0,0,0,.5)}.miningReport .contentBox .block .left .text .describe .see[data-v-22d9d454]{color:#2889fc;cursor:pointer}.miningReport .contentBox .block .bth[data-v-22d9d454]{padding:5PX 10PX;background:#edf2ff;border:1PX solid #8dabff;color:#2889fc}.dialogBox[data-v-22d9d454]{padding:0 20PX;padding-bottom:50PX;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-22d9d454]{width:100%;text-align:center;font-size:25PX;margin:10PX 0}.dialogBox .inputBox[data-v-22d9d454]{width:70%;margin-top:20PX;margin:30PX 0}.dialogBox .inputBox .inputItem[data-v-22d9d454]{margin-top:30PX;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-22d9d454]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-22d9d454]{margin-top:10PX}.dialogBox .jurisdictionBox[data-v-22d9d454]{width:70%;height:50PX}.dialogBox .jurisdictionBox .checkboxS[data-v-22d9d454]{margin-top:10PX;display:flex}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-22d9d454]{width:33.3333333333%}@media screen and (min-width:220px)and (max-width:1279px){.miningMobile[data-v-18e9c054]{min-height:400px}.miningReport[data-v-18e9c054]{padding:0!important}.block[data-v-18e9c054]{padding:0!important;height:80px!important;margin:0!important;border:none!important}.block .ic[data-v-18e9c054]{font-size:1.5rem!important}.block .text .jumpAPI[data-v-18e9c054]{display:inline-block;font-size:.9rem;color:#6440b9;margin-left:8px}.block .text span[data-v-18e9c054]:nth-of-type(2){font-size:.9rem!important}.bthBox[data-v-18e9c054]{width:100%}.bthBox .el-button[data-v-18e9c054]{padding:8px 15px}.bthBox .delBth[data-v-18e9c054]{margin-left:10px}.tableBox[data-v-18e9c054]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.tableBox .checkbox[data-v-18e9c054]{width:100px!important}.tableBox .collapseBox[data-v-18e9c054]{max-height:600px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox .collapseBox .checkbox[data-v-18e9c054]{width:19px!important}.tableBox .tabTitle2[data-v-18e9c054]{display:flex;align-items:center;background:#d2c4e8;height:50px;color:#36246f;font-weight:600;padding-right:8px;padding-left:5px}.tableBox .tabTitle2 span[data-v-18e9c054]{font-size:.9rem!important;text-overflow:ellipsis;overflow:hidden;display:inline-block;margin-left:6px}.tableBox .tabTitle2 .checkbox[data-v-18e9c054]{width:25px!important}.tableBox .tabTitle2 .miningAccount[data-v-18e9c054]{width:45%!important;overflow:hidden}.tableBox .tabTitle2 .IP[data-v-18e9c054]{width:45%!important}.tableBox .tabTitle2 .operation[data-v-18e9c054]{width:110px!important;text-align:left!important}.tableBox .collapseTitle[data-v-18e9c054]{width:100%;padding-left:0;display:flex}.tableBox .collapseTitle span[data-v-18e9c054]{display:inline-block;margin:0!important;padding:0!important;overflow:hidden;text-overflow:ellipsis;margin-left:3px!important}.tableBox .collapseTitle .user[data-v-18e9c054]{min-width:110px;width:45%!important;text-overflow:ellipsis;overflow:hidden}.tableBox .collapseTitle .IP[data-v-18e9c054]{min-width:100px;width:45%!important}.tableBox .collapseTitle .operation[data-v-18e9c054]{width:110px!important;color:#661fff;text-align:left;padding-left:15px!important}.tableBox .content[data-v-18e9c054]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.tableBox .content div[data-v-18e9c054]{margin-top:10px}.tableBox .content div p[data-v-18e9c054]:first-of-type{font-weight:600}.tableBox .content p[data-v-18e9c054]{word-wrap:break-word;width:100%}.tableBox .content p .copy[data-v-18e9c054]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .content p a[data-v-18e9c054]{color:#6d5c9b}.tableBox .content .permissionBlock[data-v-18e9c054]{width:100%}.tableBox .content .permissionBlock span[data-v-18e9c054]{display:inline-block;background:#d2c3ea;padding:3px 12px;border-radius:5px;font-size:.8rem;margin-left:8px}.tableBox[data-v-18e9c054] .el-collapse-item__header{padding-left:5px}.tableBox[data-v-18e9c054] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-18e9c054] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-18e9c054] .el-dialog__body{padding:0!important}[data-v-18e9c054] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}.tableBox[data-v-18e9c054]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.tableBox .checkbox[data-v-18e9c054]{width:100px!important}.tableBox .collapseBox[data-v-18e9c054]{max-height:600px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox .collapseBox .checkbox[data-v-18e9c054]{width:19px!important}.tableBox .tabTitle2[data-v-18e9c054]{display:flex;align-items:center;background:#d2c4e8;height:50px;color:#36246f;font-weight:600;padding-right:8px;padding-left:5px}.tableBox .tabTitle2 span[data-v-18e9c054]{font-size:.9rem!important;text-overflow:ellipsis;overflow:hidden;display:inline-block;margin-left:6px}.tableBox .tabTitle2 .checkbox[data-v-18e9c054]{width:25px!important}.tableBox .tabTitle2 .miningAccount[data-v-18e9c054]{width:45%!important;overflow:hidden}.tableBox .tabTitle2 .IP[data-v-18e9c054]{width:45%!important}.tableBox .tabTitle2 .operation[data-v-18e9c054]{width:110px!important;text-align:center!important}.tableBox .collapseTitle[data-v-18e9c054]{width:100%;padding-left:0;display:flex;overflow:hidden}.tableBox .collapseTitle span[data-v-18e9c054]{display:inline-block;margin:0!important;padding:0!important;overflow:hidden;text-overflow:ellipsis;margin-left:3px!important}.tableBox .collapseTitle .user[data-v-18e9c054]{min-width:110px;width:45%!important;text-overflow:ellipsis;overflow:hidden}.tableBox .collapseTitle .IP[data-v-18e9c054]{min-width:100px;width:40%!important}.tableBox .collapseTitle .operation[data-v-18e9c054]{width:110px!important;color:#661fff;text-align:center}.tableBox .content[data-v-18e9c054]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.tableBox .content div[data-v-18e9c054]{margin-top:10px}.tableBox .content div p[data-v-18e9c054]:first-of-type{font-weight:600}.tableBox .content p[data-v-18e9c054]{word-wrap:break-word;width:100%}.tableBox .content p .copy[data-v-18e9c054]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .content p a[data-v-18e9c054]{color:#6d5c9b}.tableBox .content .permissionBlock[data-v-18e9c054]{width:100%}.tableBox .content .permissionBlock span[data-v-18e9c054]{display:inline-block;background:#d2c3ea;padding:3px 12px;border-radius:5px;font-size:.8rem;margin-left:8px}.tableBox[data-v-18e9c054] .el-collapse-item__header{padding-left:5px}.tableBox[data-v-18e9c054] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-18e9c054] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-18e9c054] .el-dialog__body{padding:0!important}[data-v-18e9c054] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.dialogBox[data-v-18e9c054]{padding:0 20px;padding-bottom:20px;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-18e9c054]{width:100%;text-align:center;font-size:1.2rem;font-weight:600}.dialogBox .inputBox[data-v-18e9c054]{width:70%;margin-top:20px;margin:30px 0}.dialogBox .inputBox .inputItem[data-v-18e9c054]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-18e9c054]{font-size:1.1em;text-align:left;margin-bottom:10px}.dialogBox .el-button[data-v-18e9c054]{background:#661fff;color:#edf2ff;border:none;outline:none}.dialogBox .jurisdictionBox[data-v-18e9c054]{width:70%;height:50px}.dialogBox .jurisdictionBox .checkboxS[data-v-18e9c054]{margin-top:10px;display:flex;flex-wrap:wrap}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-18e9c054]{width:33.3333333333%;font-weight:600}.tableBox[data-v-18e9c054]{font-size:.95rem}.tableBox ul[data-v-18e9c054]{width:100%;padding:0;border:1px solid rgba(0,0,0,.1);border-radius:5px;height:370px;overflow-y:auto;margin:0;margin-bottom:10px;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox ul li[data-v-18e9c054]{list-style:none;width:100%;display:flex;align-items:center;justify-content:left;height:55px;background:#efefef}.tableBox ul li span[data-v-18e9c054]{height:90%;text-align:left;line-height:55px;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.tableBox ul li .checkbox[data-v-18e9c054]{width:4%!important;padding-left:6px;overflow:hidden}.tableBox ul li .Account[data-v-18e9c054]{width:21%!important}.tableBox ul li .checkbox[data-v-18e9c054]{width:4%;text-align:center}.tableBox ul li .permissionBlock[data-v-18e9c054]{width:25%!important;display:flex;align-items:center;justify-content:left}.tableBox ul li .permissionBlock span[data-v-18e9c054]{display:inline-block;width:55px;line-height:25px;height:25px;font-size:.8rem;margin-left:5px;color:#6440b9}.tableBox ul li .IP[data-v-18e9c054]{width:20%!important}.tableBox ul li .apiKey[data-v-18e9c054]{width:35%!important}.tableBox ul li .binding[data-v-18e9c054]{width:100px!important;text-align:center;padding-right:10px;color:#69adf5;cursor:pointer}.tableBox ul li .binding[data-v-18e9c054]:hover{color:#0974e7}.tableBox ul li .apiKey[data-v-18e9c054]:hover{font-weight:600}.tableBox ul li[data-v-18e9c054]:nth-child(2n){background-color:#fff}.tableBox ul .tabTitle[data-v-18e9c054]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f}.delBth[data-v-18e9c054]{background:transparent;padding:5px 18px}.delBth[data-v-18e9c054]:hover{color:#661ffb;font-weight:600}.tabTitle[data-v-18e9c054]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f;display:flex;align-items:center;justify-content:left;height:55px;margin-top:10px;border-radius:5px 5px 0 0;font-weight:600}.tabTitle .Account[data-v-18e9c054]{width:21.5%}.tabTitle .checkbox[data-v-18e9c054]{width:4%!important;text-align:center}.tabTitle .permissionBlock[data-v-18e9c054]{width:25%!important}.tabTitle .IP[data-v-18e9c054]{width:20%!important}.tabTitle .apiKey[data-v-18e9c054]{width:35%!important}.tabTitle .binding[data-v-18e9c054]{width:105px!important;text-align:center;padding-right:10px}.tabTitle span[data-v-18e9c054]{height:90%;text-align:left;line-height:55px;margin-left:5px;padding-left:5px;overflow:hidden}[data-v-18e9c054] .el-dialog{background:#fff;background-image:url(/img/dialog2.902b738d.png);background-size:cover;background-repeat:no-repeat;border-radius:32px}.miningReport[data-v-18e9c054]{width:100%;padding:20px}.miningReport .titleBox[data-v-18e9c054]{display:flex;align-items:center}.miningReport .titleBox h2[data-v-18e9c054]{color:#36246f}.miningReport .titleBox .jumpAPI[data-v-18e9c054]{width:100%;margin-left:18px;font-size:.9rem;color:#4d2eb4}.miningReport .titleBox .jumpAPI[data-v-18e9c054]:hover{color:#4d2eb4;font-weight:600}.miningReport .ic[data-v-18e9c054]{font-size:1.8em;margin-right:5px;color:#36246f;font-weight:600}.miningReport .contentBox[data-v-18e9c054]{width:100%}.miningReport .contentBox .block[data-v-18e9c054]{width:95%;display:flex;justify-content:space-between;align-items:center;border:1px solid rgba(0,0,0,.1);padding:20px 50px;height:130px;border-radius:5px;margin-top:30px}.miningReport .contentBox .block .left[data-v-18e9c054]{display:flex;height:50px}.miningReport .contentBox .block .left .text[data-v-18e9c054]{display:flex;flex-direction:column;height:100%;justify-content:space-between;margin-left:10px}.miningReport .contentBox .block .left .text .describe[data-v-18e9c054]{color:rgba(0,0,0,.5)}.miningReport .contentBox .block .left .text .describe .see[data-v-18e9c054]{color:#2889fc;cursor:pointer}.miningReport .contentBox .block .bth[data-v-18e9c054]{padding:5px 10px;background:#edf2ff;border:1px solid #8dabff;color:#2889fc;margin-right:8px}[data-v-18e9c054] .el-checkbox__inner{border-color:#000}.el-checkbox__input.is-indeterminate .el-checkbox__inner[data-v-18e9c054],[data-v-18e9c054] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#000!important;border-color:#000!important}.loginPage[data-v-45513616]{width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;background-image:url(/img/logBg.3050d0aa.png);background-size:cover;background-repeat:no-repeat}.loginPage .loginModular[data-v-45513616]{width:53%;height:68%;display:flex;border-radius:10px;overflow:hidden;box-shadow:0 0 20px 18px #d6d2ea}.loginPage .remind[data-v-45513616]{font-size:.8em;padding:0;margin:0;min-height:15px;line-height:15px;color:#ff4081}.loginPage .leftBox[data-v-45513616]{width:47%;height:100%;background-image:linear-gradient(150deg,#18b7e6 -20%,#651fff 60%);position:relative}.loginPage .leftBox img[data-v-45513616]{width:100%;position:absolute;right:-15%;bottom:0;z-index:99}.loginPage .leftBox .logo[data-v-45513616]{position:absolute;left:30px;top:18px;width:22%}.el-form[data-v-45513616]{width:90%;padding:0 20px 50px 20px}.el-form-item[data-v-45513616]{width:100%}.loginBox[data-v-45513616]{width:53%;display:flex;justify-content:center;align-items:center;border-radius:10px;position:relative;flex-direction:column;overflow:hidden;padding:0 25px;background:#fff}.loginBox .demo-ruleForm[data-v-45513616]{height:100%;padding-top:3%}.loginBox img[data-v-45513616]{width:18%;position:absolute;top:20px;right:30px;cursor:pointer}.loginBox .closeBox[data-v-45513616]{position:absolute;top:18px;right:30px;cursor:pointer}.loginBox .closeBox .close[data-v-45513616]{font-size:1.3em}.loginBox .closeBox[data-v-45513616]:hover{color:#661fff}.loginTitle[data-v-45513616]{font-size:20px;font-weight:600;margin-bottom:30px;text-align:center}.loginColor[data-v-45513616]{width:100%;height:15px;background:#661fff}.langBox[data-v-45513616]{display:flex;justify-content:space-between;align-content:center}.register[data-v-45513616]{display:flex;justify-content:start;margin:0;font-size:12px;height:10px}.register .goLogin[data-v-45513616]:hover{color:#661fff;cursor:pointer}.forget[data-v-45513616]{margin-left:10px}.forgotPassword[data-v-45513616]{display:inline-block;width:20%}.verificationCode[data-v-45513616]{display:flex}.verificationCode .codeBtn[data-v-45513616]{font-size:13px;margin-left:2px}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-45513616]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/bgtop.d1ac5a03.svg);background-repeat:no-repeat;background-size:115%;background-position:49% 47%;box-sizing:border-box}.headerBox2[data-v-45513616]{width:100%;height:60px;display:flex;align-items:center;justify-content:space-between;line-height:60px;padding:0 20px;padding-top:10px;box-shadow:0 0 2px 1px #ccc}.headerBox2 img[data-v-45513616]{width:30px}.headerBox2 .title[data-v-45513616]{height:100%;font-weight:600}.imgTop[data-v-45513616]{width:100%;display:flex;justify-content:center;margin-top:2%}.imgTop img[data-v-45513616]{height:159px}.formInput[data-v-45513616]{width:100%;display:flex;justify-content:center}.register .goLogin[data-v-45513616]{color:#651fff;padding:0 8px}}.split-screen-editor[data-v-58290ecb]{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}.editor-tools[data-v-58290ecb]{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;border-bottom:1px solid #e0e0e0}.mode-switch[data-v-58290ecb]{display:flex;background:#fff;border-radius:6px;padding:2px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.mode-switch .mode-btn[data-v-58290ecb]{padding:8px 16px;border:none;background:transparent;cursor:pointer;border-radius:4px;font-size:13px;font-weight:500;color:#7f8c8d;transition:all .2s ease;display:flex;align-items:center;gap:4px}.mode-switch .mode-btn.active[data-v-58290ecb]{background:#5721e4;color:#fff;box-shadow:0 2px 4px rgba(87,33,228,.2)}.mode-switch .mode-btn[data-v-58290ecb]:hover:not(.active){background:#f0f0f0;color:#5721e4}.tool-actions[data-v-58290ecb]{display:flex;gap:12px;align-items:center}.word-count[data-v-58290ecb]{font-size:12px;color:#7f8c8d;font-weight:500}.editor-container[data-v-58290ecb]{transition:all .3s ease}.editor-container.fullscreen[data-v-58290ecb]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;background:#fff;border-radius:0}.editor-panel[data-v-58290ecb]{border:1px solid #e0e0e0;border-radius:6px;overflow:hidden;background:#fff;height:100%}.panel-header[data-v-58290ecb]{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50;font-size:14px}.panel-header i[data-v-58290ecb]{color:#5721e4;margin-right:6px}.panel-actions[data-v-58290ecb]{display:flex;gap:8px;align-items:center}.editor-content[data-v-58290ecb]{padding:0}.tinymce-container[data-v-58290ecb]{width:100%}.tinymce-container textarea[data-v-58290ecb]{width:100%;min-height:500px;border:none;outline:none;padding:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.6;resize:vertical}.content-display[data-v-58290ecb]{white-space:pre-wrap!important;word-wrap:break-word!important;word-break:break-word!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;font-size:14px!important;line-height:1.6!important;color:#2c3e50!important}.preview-content[data-v-58290ecb]{padding:16px;max-height:500px;overflow-y:auto;background:#fff}@media screen and (max-width:768px){.editor-tools[data-v-58290ecb]{flex-direction:column;gap:12px;align-items:stretch}.mode-switch[data-v-58290ecb],.tool-actions[data-v-58290ecb]{justify-content:center}.panel-header[data-v-58290ecb]{flex-direction:column;gap:8px;align-items:flex-start!important}.panel-actions[data-v-58290ecb]{align-self:stretch;justify-content:center}.tinymce-container textarea[data-v-58290ecb]{min-height:300px;font-size:13px}.preview-content[data-v-58290ecb]{max-height:300px;font-size:13px}}.preview-content[data-v-58290ecb]::-webkit-scrollbar{width:6px}.preview-content[data-v-58290ecb]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.preview-content[data-v-58290ecb]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.preview-content[data-v-58290ecb]::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.usage-guide-panel[data-v-58290ecb]{margin-top:20px}.usage-guide-panel[data-v-58290ecb] .el-card__header{background:linear-gradient(135deg,#5721e4,#8b5fbf);color:#fff;border-bottom:none;font-weight:600}.usage-guide-panel[data-v-58290ecb] .el-card__header .el-button--text{color:#fff;font-weight:500}.usage-guide-panel[data-v-58290ecb] .el-card__header .el-button--text:hover{color:#fff;background:hsla(0,0%,100%,.1)}.guide-content[data-v-58290ecb]{max-height:70vh;overflow-y:auto;padding:20px}.guide-section[data-v-58290ecb]{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #f0f0f0}.guide-section[data-v-58290ecb]:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.guide-section h4[data-v-58290ecb]{font-size:18px;font-weight:600;color:#2c3e50;margin-bottom:20px;position:relative;padding-left:30px}.guide-section h4[data-v-58290ecb]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:20px;background:linear-gradient(135deg,#5721e4,#8b5fbf);border-radius:2px}.function-grid[data-v-58290ecb]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:16px}.function-item[data-v-58290ecb]{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #e4e7ed;border-radius:8px;background:#fafbfc;transition:all .3s ease}.function-item[data-v-58290ecb]:hover{border-color:#5721e4;background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(87,33,228,.1)}.function-icon[data-v-58290ecb]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,#5721e4,#8b5fbf);color:#fff;font-weight:600;font-size:16px;flex-shrink:0}.function-icon i[data-v-58290ecb]{font-size:18px}.color-icon[data-v-58290ecb]{width:20px;height:20px;background:linear-gradient(45deg,#ff6b6b,#4ecdc4,#45b7d1,#96ceb4,#ffeaa7,#fd79a8);border-radius:4px}.function-detail[data-v-58290ecb]{flex:1}.function-detail h5[data-v-58290ecb]{margin:0 0 8px 0;font-size:16px;font-weight:600;color:#2c3e50}.function-detail p[data-v-58290ecb]{margin:0 0 6px 0;font-size:14px;color:#606266;line-height:1.5}.function-detail .tips[data-v-58290ecb]{font-size:12px;color:#909399;font-style:italic}kbd[data-v-58290ecb]{display:inline-block;padding:2px 6px;font-size:12px;line-height:1.4;color:#2c3e50;background:#f8f9fa;border:1px solid #dee2e6;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 0 0 2px #fff;white-space:nowrap;font-family:Monaco,Consolas,monospace}.color-demo[data-v-58290ecb]{font-weight:600}.bg-demo[data-v-58290ecb]{background:#ffeb3b;padding:2px 4px;border-radius:2px;color:#333;font-weight:600}.shortcuts-grid[data-v-58290ecb]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.shortcut-category[data-v-58290ecb]{background:#f8f9fa;border-radius:8px;padding:16px;border:1px solid #e9ecef}.shortcut-category h5[data-v-58290ecb]{margin:0 0 12px 0;font-size:14px;font-weight:600;color:#5721e4;text-align:center;padding-bottom:8px;border-bottom:1px solid #dee2e6}.shortcut-list[data-v-58290ecb]{display:flex;flex-direction:column;gap:8px}.shortcut-item[data-v-58290ecb]{display:flex;justify-content:space-between;align-items:center;font-size:13px}.shortcut-item kbd[data-v-58290ecb]{font-size:11px;padding:1px 4px}.shortcut-item span[data-v-58290ecb]{color:#606266}.special-features[data-v-58290ecb]{background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border:1px solid #e4e7ff;border-radius:12px;padding:24px;margin-top:20px}.special-function[data-v-58290ecb]{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.special-function[data-v-58290ecb]:last-child{margin-bottom:0}.special-icon[data-v-58290ecb]{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:12px;background:linear-gradient(135deg,#5721e4,#8b5fbf);color:#fff;font-weight:600;font-size:20px;flex-shrink:0;box-shadow:0 4px 12px rgba(87,33,228,.3)}.special-content[data-v-58290ecb]{flex:1}.special-content h5[data-v-58290ecb]{margin:0 0 8px 0;font-size:18px;font-weight:600;color:#2c3e50}.special-content p[data-v-58290ecb]{margin:0 0 12px 0;font-size:14px;color:#606266;line-height:1.6}.usage-steps[data-v-58290ecb]{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#606266}.step[data-v-58290ecb]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#5721e4;color:#fff;font-size:11px;font-weight:600;margin-right:8px;flex-shrink:0}.slide-fade-enter-active[data-v-58290ecb],.slide-fade-leave-active[data-v-58290ecb]{transition:all .4s ease}.slide-fade-enter[data-v-58290ecb],.slide-fade-leave-to[data-v-58290ecb]{transform:translateY(-20px);opacity:0}@media (max-width:768px){.function-grid[data-v-58290ecb],.shortcuts-grid[data-v-58290ecb]{grid-template-columns:1fr;gap:12px}.function-item[data-v-58290ecb]{padding:12px}.function-icon[data-v-58290ecb]{width:36px;height:36px;font-size:14px}.function-detail h5[data-v-58290ecb]{font-size:14px}.function-detail p[data-v-58290ecb]{font-size:13px}.special-function[data-v-58290ecb]{flex-direction:column;gap:12px;text-align:center}.special-icon[data-v-58290ecb]{align-self:center}.guide-content[data-v-58290ecb]{max-height:60vh;padding:16px}.guide-section[data-v-58290ecb]{margin-bottom:24px;padding-bottom:16px}.guide-section h4[data-v-58290ecb]{font-size:16px;padding-left:20px}.usage-steps[data-v-58290ecb]{text-align:left}.demo-editor-container[data-v-58290ecb]{margin:16px 0;padding:16px;background:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.demo-description[data-v-58290ecb]{margin-bottom:12px;font-size:14px;color:#495057;font-weight:600;text-align:center}.demo-editor[data-v-58290ecb]{border:2px solid #d1d5db;border-radius:6px;min-height:220px;background:#fff;width:100%;display:block}.demo-editor-container .tox-tinymce[data-v-58290ecb]{border:2px solid #d1d5db!important;border-radius:6px!important}.demo-editor-container .tox-editor-header[data-v-58290ecb]{background:#f8f9fa!important;border-bottom:1px solid #e9ecef!important}.demo-tips[data-v-58290ecb]{margin-top:12px;padding:10px 15px;background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border:1px solid #bbdefb;border-radius:6px;font-size:13px;text-align:center}.tip-item[data-v-58290ecb]{color:#1565c0;font-weight:600}}.split-editor-demo[data-v-7b3906e4]{padding:20px;background:#f5f7fa;min-height:calc(100vh - 140px)}.page-header[data-v-7b3906e4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.header-content[data-v-7b3906e4]{flex:1}.page-title[data-v-7b3906e4]{margin:0 0 8px 0;color:#2c3e50;font-size:28px;font-weight:600;display:flex;align-items:center;gap:12px}.page-title i[data-v-7b3906e4]{color:#5721e4;font-size:32px}.page-subtitle[data-v-7b3906e4]{margin:0;color:#7f8c8d;font-size:14px;line-height:1.5}.header-actions[data-v-7b3906e4]{display:flex;gap:12px}.document-config[data-v-7b3906e4]{margin-bottom:20px}.document-config[data-v-7b3906e4] .el-card__header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50}.document-config[data-v-7b3906e4] .el-card__header i{color:#5721e4;margin-right:8px}.config-form .el-form-item[data-v-7b3906e4]{margin-bottom:16px}.editor-card[data-v-7b3906e4]{margin-bottom:20px}.editor-card[data-v-7b3906e4] .el-card__header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50;display:flex;justify-content:space-between;align-items:center}.editor-card[data-v-7b3906e4] .el-card__header i{color:#5721e4;margin-right:8px}.header-tips[data-v-7b3906e4]{display:flex;gap:8px}.usage-guide[data-v-7b3906e4]{margin-bottom:20px}.usage-guide[data-v-7b3906e4] .el-card__header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50;display:flex;justify-content:space-between;align-items:center}.usage-guide[data-v-7b3906e4] .el-card__header i{color:#5721e4;margin-right:8px}.guide-content[data-v-7b3906e4]{padding:10px 0}.guide-section[data-v-7b3906e4]{margin-bottom:20px;padding-bottom:16px;border-bottom:1px dashed #eee}.guide-section[data-v-7b3906e4]:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.guide-section h4[data-v-7b3906e4]{font-size:16px;font-weight:600;color:#5721e4;margin-bottom:12px;position:relative;padding-left:20px}.guide-section h4[data-v-7b3906e4]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:16px;background:#5721e4;border-radius:2px}.guide-section ul[data-v-7b3906e4]{margin:8px 0;padding-left:20px}.guide-section li[data-v-7b3906e4]{margin:6px 0;line-height:1.6;color:#2c3e50}.guide-section li strong[data-v-7b3906e4]{color:#5721e4;font-weight:600}.example-box[data-v-7b3906e4]{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;padding:12px;margin:8px 0}.example-box p[data-v-7b3906e4]{margin:4px 0;font-family:Monaco,Consolas,monospace;font-size:13px}.example-box code[data-v-7b3906e4]{background:#fff;color:#e74c3c;padding:2px 6px;border-radius:3px;border:1px solid #ddd}.slide-fade-enter-active[data-v-7b3906e4],.slide-fade-leave-active[data-v-7b3906e4]{transition:all .4s ease}.slide-fade-enter[data-v-7b3906e4],.slide-fade-leave-to[data-v-7b3906e4]{transform:translateY(-10px);opacity:0}@media screen and (max-width:768px){.split-editor-demo[data-v-7b3906e4]{padding:10px}.page-header[data-v-7b3906e4]{flex-direction:column;gap:16px;align-items:stretch}.header-actions[data-v-7b3906e4]{justify-content:center}.config-form .el-row .el-col[data-v-7b3906e4]{width:100%!important;margin-bottom:12px}.page-title[data-v-7b3906e4]{font-size:24px;text-align:center}.page-title i[data-v-7b3906e4]{font-size:28px}.page-subtitle[data-v-7b3906e4]{text-align:center}.header-tips[data-v-7b3906e4]{justify-content:center;flex-wrap:wrap}}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-5cb463fb]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/bgtop.d1ac5a03.svg);background-repeat:no-repeat;background-size:115%;background-position:49% 47%}.headerBox[data-v-5cb463fb]{width:100%;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 0 2px 1px #ccc}.headerBox img[data-v-5cb463fb]{width:30px}.headerBox .title[data-v-5cb463fb]{height:100%;font-weight:600;line-height:75px}.imgTop[data-v-5cb463fb]{width:100%;display:flex;justify-content:center;margin-top:2%}.imgTop img[data-v-5cb463fb]{height:159px}.formInput[data-v-5cb463fb]{width:100%;display:flex;justify-content:center}.footer[data-v-5cb463fb]{width:100%;height:100px;background:#651fff}}.loginPage[data-v-5cb463fb]{width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;padding:100px 0;background-image:url(/img/logBg.3050d0aa.png);background-size:cover;background-repeat:no-repeat}.loginPage .loginModular[data-v-5cb463fb]{width:50%;height:85%;display:flex;border-radius:10px;overflow:hidden;box-shadow:0 0 20px 18px #d6d2ea}.loginPage .leftBox[data-v-5cb463fb]{width:47%;height:100%;background-image:linear-gradient(150deg,#18b7e6 -20%,#651fff 60%);position:relative}.loginPage .leftBox .logo[data-v-5cb463fb]{position:absolute;left:30px;top:18px;width:22%}.loginPage .leftBox img[data-v-5cb463fb]{width:100%;position:absolute;right:-16%;bottom:0;z-index:99}.remind[data-v-5cb463fb]{font-size:.8em;padding:0;margin:0;min-height:15px;line-height:15px;color:#ff4081}.el-form[data-v-5cb463fb]{width:90%;padding:0 20px 50px 20px}.el-form-item[data-v-5cb463fb]{width:100%}.loginBox[data-v-5cb463fb]{width:53%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:10px;flex-direction:column;overflow:hidden;background:#fff;position:relative;padding:0 35px}.loginBox .demo-ruleForm[data-v-5cb463fb]{height:100%;padding-top:5%}.loginBox img[data-v-5cb463fb]{width:18%;position:absolute;top:20px;left:30px;cursor:pointer}.loginBox .closeBox[data-v-5cb463fb]{position:absolute;top:18px;right:30px;cursor:pointer}.loginBox .closeBox .close[data-v-5cb463fb]{font-size:1.3em}.loginBox .closeBox[data-v-5cb463fb]:hover{color:#661fff}.loginTitle[data-v-5cb463fb]{font-size:20px;font-weight:600;margin-bottom:30px;text-align:center}.loginColor[data-v-5cb463fb]{width:100%;height:15px;background:#661fff}.langBox[data-v-5cb463fb]{display:flex;justify-content:space-between;align-content:center}.registerBox[data-v-5cb463fb]{display:flex;justify-content:start;margin:0;font-size:12px;height:20px;cursor:pointer}.registerBox span[data-v-5cb463fb]{padding:5px 0;display:inline-block;height:100%;z-index:99}.registerBox span[data-v-5cb463fb]:hover{color:#661fff}.registerBox .noAccount[data-v-5cb463fb]:hover{color:#000}.registerBox .forget[data-v-5cb463fb]{margin-left:8px}.forget[data-v-5cb463fb]{margin-left:10px}.forgotPassword[data-v-5cb463fb]{display:inline-block;width:20%}.verificationCode[data-v-5cb463fb]{display:flex}.verificationCode .codeBtn[data-v-5cb463fb]{font-size:13px;margin-left:2px}.wscn-http404-container[data-v-a5129446]{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw}.wscn-http404[data-v-a5129446]{position:relative;width:1200PX;padding:0 50PX;overflow:hidden}.wscn-http404 .pic-404[data-v-a5129446]{position:relative;float:left;width:600PX;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-a5129446]{width:100%}.wscn-http404 .pic-404__child[data-v-a5129446]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-a5129446]{width:80PX;top:17PX;left:220PX;opacity:0;animation-name:cloudLeft-a5129446;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-a5129446]{width:46PX;top:10PX;left:420PX;opacity:0;animation-name:cloudMid-a5129446;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-a5129446]{width:62PX;top:100PX;left:500PX;opacity:0;animation-name:cloudRight-a5129446;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}@keyframes cloudLeft-a5129446{0%{top:17PX;left:220PX;opacity:0}20%{top:33PX;left:188PX;opacity:1}80%{top:81PX;left:92PX;opacity:1}to{top:97PX;left:60PX;opacity:0}}@keyframes cloudMid-a5129446{0%{top:10PX;left:420PX;opacity:0}20%{top:40PX;left:360PX;opacity:1}70%{top:130PX;left:180PX;opacity:1}to{top:160PX;left:120PX;opacity:0}}@keyframes cloudRight-a5129446{0%{top:100PX;left:500PX;opacity:0}20%{top:120PX;left:460PX;opacity:1}80%{top:180PX;left:340PX;opacity:1}to{top:200PX;left:300PX;opacity:0}}.wscn-http404 .bullshit[data-v-a5129446]{position:relative;float:left;width:300PX;padding:30PX 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-a5129446]{font-size:32PX;font-weight:700;line-height:40PX;color:#1482f0;opacity:0;margin-bottom:20PX;animation-name:slideUp-a5129446;animation-duration:.5s;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-a5129446]{font-size:20PX;line-height:24PX;color:#222;font-weight:700;opacity:0;margin-bottom:10PX;animation-name:slideUp-a5129446;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-a5129446]{font-size:13PX;line-height:21PX;color:gray;opacity:0;margin-bottom:30PX;animation-name:slideUp-a5129446;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-a5129446]{display:block;float:left;width:110PX;height:36PX;background:#1482f0;border-radius:100PX;text-align:center;color:#fff;opacity:0;font-size:14PX;line-height:36PX;cursor:pointer;animation-name:slideUp-a5129446;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp-a5129446{0%{transform:translateY(60PX);opacity:0}to{transform:translateY(0);opacity:1}}body{height:100%;margin:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}label{font-weight:700}html{box-sizing:border-box}#app,html{height:100%}*,:after,:before{box-sizing:inherit}.no-padding{padding:0!important}.padding-content{padding:4px 0}a:active,a:focus{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}.fr{float:right}.fl{float:left}.pr-5{padding-right:5px}.pl-5{padding-left:5px}.block{display:block}.pointer{cursor:pointer}.inlineBlock{display:block}.clearfix:after{visibility:hidden;display:block;content:" ";clear:both;height:0}aside{background:#eef1f6;padding:8px 24px;margin-bottom:20px;border-radius:2px;display:block;line-height:32px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;color:#2c3e50;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}aside a{color:#337ab7;cursor:pointer}aside a:hover{color:#20a0ff}.app-container{padding:20px}.components-container{margin:30px 50px;position:relative}.pagination-container{margin-top:30px}.text-center{text-align:center}.sub-navbar{height:50px;line-height:50px;position:relative;width:100%;text-align:right;padding-right:20px;transition:position .6s ease;background:linear-gradient(90deg,#20b6f9,#20b6f9 0,#2178f1 100%,#2178f1 0)}.sub-navbar .subtitle{color:#fff}.sub-navbar.deleted,.sub-navbar.draft{background:#d0d0d0}.link-type,.link-type:focus{color:#337ab7;cursor:pointer}.link-type:focus:hover,.link-type:hover{color:#20a0ff}.filter-container{padding-bottom:10px}.filter-container .filter-item{display:inline-block;vertical-align:middle;margin-bottom:10px}.multiselect{line-height:16px}.multiselect--active{z-index:1000!important}@font-face{font-family:iconfont;src:url(/fonts/iconfont.5b7e587a.eot);src:url(/fonts/iconfont.5b7e587a.eot#iefix) format("embedded-opentype"),url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAB84AAsAAAAANsAAAB7oAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACKIgrTQMRNATYCJAOBRAtkAAQgBYRnB4RfGyYuM6PCxgEgIH0VRFEmKGn2f0qgY+xQ7mCSEVtlq9SoKuwv1Cnr08zEkkel3w43Ornq0AgWLycGMvPaIYUUfpot7oMWyRHZsMxQyoTnebve82beQOvZv/tBBXIFllCtKpWKKq1QEUWZDrqJK2GH57fZg6/wUSqUaMFowEAMaKNBrCKMzblSV6LuJq5Sl6Fr127T5ZW7qRdeuV2li3YBAXC5+xVRhGVj4h40QSNNOGxzvAOgzdHV1xs2Z65EvEkL7F61zf/dB97r9nr44sOUYUFC66vuuvYdEKOQI8YXnrfdbu8L1SUUZT7EhnKazQTau5GhYEnZ3ZYTXgIQJAsYWGQfzLS/mTsWGAIF25HlZIEDvAjS6ODVAgj4P51lK3mPq7uES717Ck64qKFO1/0ZybeeGRnG9oHWR1rWshwyBO7YAcCKoKgk+0BalA7loDcIVd7VeenTp8WmTN2maOtoW6Ix/RY0d03dTWHs/7HZPq7K4zmmjYgxxSisi3o/KODrNZmRec/V4OewWmLS7k9UMG+q5nrUAe8KNGON4mZs3lmTX9eDBMYeOQocJb+8+tMfuGCwIu7HtXSY7RsRvoztgAcznxxMbgc4sAEsYIJOwYrGg92nTpg67STcp/38dXASYKEU3sKXw5eUxcDGFUAqTIQUWcwcmjRbqMe/9BuTp/L1XWb5DXSjoZ68d7dg6775bz77P76AIJ5EQkvF10Lyv+N+e2WhYqXK1aWV12z1/4QH6NKjTk4sI6tDitamm8lmSEiqVqFVjUaVfOWKIkqvBnn1OtWqEipoEmjWoozD4mnnSkOlgBuHAKOkjPVCwAhdEIXQAzEQ6iAmQg6iEWKIhZCB2AhZiIPQAfEQUhAfQUMSCG2QJEI3JItgQsoYyRqVgGBAqhnRjUZggNEEDJbRAggVkC6EVkgPQg1kCkMxpgIjDWMxIPiQlQjlkO0IRcgOhAiyC0FB9mvVahwBhAbICYQ85AZCPeQ+QifkKUIt5CtCFd4tQgjxbgVCAe/OIDTh3UWEAO9uIzTj3WOEFrx3EcrwYYHAIcZRQLDwcbHAA+MXILTjc9HENWLqUEcaQB/MsAngmugO6SO4n6F2Z9RU12oWw9RMjbhkpWPZI4ps6QwAd7m5BkIjUQimNuI+k4euuGG6KrtOxcRRkCrGaeU1N9l2KhXHjZ5r65bemq0xjqOoUlcVdFRUYfjmbmayOe37nuv4Tmo0D6etWX66GBdSOuevVjRFixK2pIrpnCrGzdGaXRROtN04VlF7nF0PhaqpiiMn8oLQ1rDQc82dscXzorfArrJcvtAZhWEi4QX5phD9uGYvcTl9gFhGtu0GthWGg555GbckjhBVjBj0gKea47onDWzyVRjob5Zcn5KWA41o9RQaZV0bPQVy7fXklMQ1rgdC+wcy1Ve8nYpm0QwWVdMUmKzbJEfP3Q8g4Zx6HsD+rEx5TDSAOMhX3/9As9/N8jzlOTXPCpDowcQJAZL2FhrXTEGU7wvMfZrJ7J8UP0nG3rBXI3j4JX09egK/pe/JB/buSoRyDotJ8CEQosz3QRH2vJNR9uI2hJ8AV1v+7qUIveO0gk/Jref1AssDgJ39xXW4EJJC/JV4k8eKICkKXCyM8MbUqeJiP2SI/TVr9Mej4LtDTKdxSPpYD8CKgh0FZTaAuNSJm9ihklZiAiqO5IVoLkXSnSILgjS85VIrLdtMPA2wWFJaCccSzaxQUGepDeGvQWAMExdRb3zMB5p1tVS4gj5uUrRzIdrbPmGX3cmyYkOy9YFab2RoTtqZ6ugTwqyn7QAVif0oHPurmOyHdPMaszNC1QqQwEe8CyBIvu6okwsyTKchGaT9AJEgqKxafKPaiFU7XcoxlEsK7JJQEoGoNAqKQiBcfLIo7EvYoBYyB1EolFdRckAQmIkNhOpBwOJawVnpezUCjgRZVixhM8yGwtg2MwGoNey1M68VD7OBILT/SAcVa2gaNazU9KE2mBbanZHH5QHwxa/k+brbgUcv/g4tiGFouFroHSrCcZhaRG4RoxrHGo0wlZqtTAmxqQj151ps4tJYY3OztNXUaOA8k1uaTFYg0sef/+6zuNjUYt/Pt8UaOb2cO1Jzo3HHbZdbIvcX7scPNiaNaH15IaqEPNJDNtn1KSDGcTLLOtMklaOZxCk9UramENXCaC/FIhwHlXIkjnB3D+u7Dsl7+lYJQHJ5D3XP67ymLwPAn//U0pRndQVS29xSqGOf6kYHn2t2yRCracrjo8rI5NxUWo5LQlMUok9vgBJ885kQlpWRi+GS0L7GKAMhSIau7MpgGOB+LVeka1rxCI2VSK/c0tjUNM13a1sdWrtdMYXFulYb1r4oe/ew36IIfc8yP5wIEakUx131DpTgt1epo9C8FXd5B3HRbkTLX29H+Su875W9WTEGCR+Pyj0P4GUjm3rlzArAoiiYJrNlQbIgCdos3qyPxSi2bEN4cbdizaMjxp638jHncQTJco6oMgwAog4oahacplQ83UEyZYwt6wYg1ICQbsXXYogNABwzYnE6DHA8JHAGnMBdXu5gbe1TjDuSZt1x2kTVvCuwF3W63S5Zd658Qq3czWQLnzITlGDjZLQ4Eo30nh3GOQZo60ZD5xlEiSAwd1bR7wpBPs5yV75R9Lfdqe7dl3ueEm6rCcU6Eujya14xM6jU87DvsyAgnDdxWx7l/PJ+ttGXw3jkFXszRkZff7ls7rylixcuXzB/xaJToFfxUCdaL0AZNW8PvSgx89nAzWvNjf6n6GKmv0yi5SiW8EJlvAy0ctFTJxe8uT04if15PWxB33DPGvqg1y9cczzKaz3vmwCbBRiv1t1U9102VvTQzr4p12ePwUnd87xtcgTTTME1obsnCfNSwqnRVCK2OxnDcECZkUxWFGFTvOMhyu+XvydZXE8X+u5/slWdhTSRUm6llZKs8VbObU+n5Y6vO4K6wtCLJwJ71NMjdvtftn1pmsmGAWljV9cc4iEsowbASUFg/byAFM1ENOFqci5Vm+udDe9+mRzdzXbJtXgSCsBDD+CRZ7NAT8QvIq3z94u7Byqys4DLZGkI77+5DdNaziWFqoZEOcz2gOTe4Wz3bXLjsVDDl1PPuzDggzG9u9w0sydYwiMlgoT/1IrnJe5oeMk3W6lprKnY4y+ws6JoJi5dr4XFqHUrc7NzCNHyO9UOXtY9z+wspKRBTmRoz+kUBFZxN+DBAfYWGgnRFJ9terWsFd4SkmCHnXZzMfmuVp+pd9mcYEMg9yxoDVwZiNPKJEkkF2+zAtFq2YCTZRahJnqcqdkKU8yOzP411YpDazWXzzMBVbbcWRWoVMmUlxvOobdbVM2FCr3OCHalylwlV+3OrJk0YopBZVmkbGuQqB6iOy0i//+vDSaO/ada8LuAIq+XIV2eepazD2NyH353jLH5X3h3ljyjvp/pfQ4PhfoyhQcFoW/BfieE2Qcnf1+I5DuXKHsRfQ8h+SAI7B0A+K1GnQfON9njfbEeSSiR1iXqnYbNFnHfV00n40q/NPgC3+BEJmel5CDQ3VtwzrdOs2ySypAkCFh6xSHJxZEwaC4FMy1QaCdAye5xwt7w6JBRp2BsHvAEGyKjdBgPnMLvSiOCSp/fIrdfsGc38Y2nGu3HA/6PYPC439XYy4+MnK3mu+t7NcjnP59f9C4jXfquwqsmv65HFf15z2oGzkdjHNC1JaoSor3X2mGxri7UlGWIOGbOwrhpAVuwqM7vx6zS2sWNDh0ldS2LXT4W1Kh5PIyOBUNYU+wtNVCESpzrgVqvAkwh9JRtS73W2z1FYBghX40G+vAchWvSVoO6RN7RyxXVFJOt5WPPQKZ3/IFFEclqY4NZdSLZ2vUAXc4I6Zzw/783/O9v9cOTlRXiDA7azILg+9DPvn9IBL0mP+HQfCzuzdwc/8PB8f3eN9Ff+OJEv/7KV8UIDIItdhbIxlsRW36yyjStvHGeTUTvj3a/vrHebNDm4rnRMVOsqQu2qEqNKYKcpq19sTfP6nYsLKx0x3idVGvWvfKXSq48I21P/LKtZkE/WbfYgnvGoBdi39fHZYFyS3JrXBF+1eIOOAZhut29pwAET7xX0nqDpksxi1wb7HXcIOXecwAgXeMYPVr0QX/XI50ZIuyc05avUChtYlyNTBhVx3qqBJAcMwywHNtZX8+CwUSqnHZnkelIIcOVi62CGLbz0y3eDCtGbHEwOC+G5FnqQkuyYCetx9ga7TX3PGX1qRF15S+T97dNWnvtOzVfE8DDHX/Alu0JixLVkT3161+v+mniQX2RsnhxksLzIHBBp6BauYyTSIpJdp00iOyREBUL0dhkSN4zjgGwEFkzCXmfw3Z8yhKTYhXcrBPq2fsTbEhcpcnI1mXOwf999fhfG0cqRzzJcI+/AvCeY+BD+alx//rst26+cWrLt0DgjvPu3z7717jyU8BPOtEAl2e/Q4Dkl/8Xpsc3ScAcSVq8c+pVFrccMQjq0A2dSf0USv8FnyMGdYjBHch//rE7WhgERsvCFt1vKN+W9+9sHQUflo/GpkdKA9QaSZZaIlFLI+PSrs13HiDbMV47bIqW1l9EqUFRkXl5kdWaPiIvKlhk+qW1DNvbEVIb6lj4fZkf9lRIRVCpSZEaeyIt1qgo2HkT7RM8xCviFsSmREKIrtAA7VwL3yRIs/o8oE37lApyBJnzHca3AvQczRy0RhuN1kntWepRgvj1cEdUTkREbuRxEVNNSmGKOyJzlVRkwmp/Tb2Sgx3hvCG8ob2aasqKV9Kapl7RCJwR7C81m2hTNG+cJL6AD+Fz07gG7uzZHAMvbb/AUJ4Gbhr3QCrXyJ01m7uh+w8pQwf4pHJzs7tmqxuTkhtTmrwEBgKFd9NhdVKjGkSToINN6o5agg7v2+2zXkGmRwVQFD4bfFbgdYSyaNpo0I9BU0H3QDJ526PgB9Pb1cWSwugsqSYgJSWgfH+i+NWT7Mk1Y9HmqChzNBqWdifWb38Q8iCCiMJIWb07HgRPhUx/9Z2js3Q2nnqPtpWBQSEizZaoaNpU8BQtvi44JyekDhxnZURqUw9sTbMRB8W28IwIi98WcH/PXr+wpYP3K9feF96PKRXnloZx95ius0nrpEHmx3px4KnoLMpdeBXOLbm5Mq4sJqYsrvIXgXNlMfud/3KI1aun59ADnj85DlY6wM+fEwTTmmlBTkhwampwAYEzhHBti539FITS2z0VOKQ6wVfBLgAO4MudsVgKBgaC2z/RAfD3lO+P9FFfAa+fP83v5z3Cb+dLfafoU75SoQsWPhKiXcJpoQstJOh5umKk7YLfR+xj/Bjfe3ylGCEcZMfAlSLgN0gb4fXzQh6Qhy5w5ZG3xWvkdO8Rr0N6fWbGCZlCXDrvCo/LSHclfXFAHy/gETRXxZXFxpbFVf0iMNSTV8X94hpDU5h2a83mrKMCv7I5yho9qnQOGQSPkmxx8RbyENkSH2ePxhTExdnIn5Ms8fEW0igIaUcg3EwS0w2BAM+EP0YlgV8vUH/vPHB9a7mpuFAwfOn0If4K8lU/Pzrjc2Gd4HN2QiAY4neTjovEAv5VoZMEYnO3AU/PJjN7PvtsPo7EJOHmN7uHSWb1eAUtoOvR0DSRY774yTXspa2zxVL2mkmgb/7x+5Eulxqhy3TwtaAHiuhHIY/yD+GDoC+4EUA57sqnF9hCbQV0IdCBE9aFjEehjxgL6Z5Qzz/X+9yXz7BcxMIQEnSENdNh07Ufwj4AXOMpAlcAd31rqywOkohMvduymJZYisNXASpcbW0gShgFDhwkRhGz8/1//WlftnYARD0d545zuDWcsBvc/dwboZwaLnucS6uZJk3rNtdw3Bz6NJ3T6geFf11bOaHToRz3aCGW5D8lxHcE5HO37ESlaLUWsmVujJcXynsl/huijPDmNUmoIAtevqyCNz579vQZFfWNV3B4v5gk+kZEEpODgZ8EN4VAtFMEhKuDcbVMUgt5J7mFdHNV0Xp4DDNEuop5Yl8lDYHYSDTI5Bk42tkOvf94+qxUo6FlocHoY2wx6BU1rSz9Z4P/LAdXyzOALG9vpg/C5z39PbiwUCmR8wsLmyOWAgw1mIJiY+jeTG9vpTpGXlIcU5VbTNgstCqnMiKIihrJv7vwRITeVhWpfzj/bj6lj/IHNiSow4eGCx5CndDDghEw3J6SQm47VroUz3Er3Rz80tJjgA+5nBXSEsnq1ZISacWYwFCvXiKpkI5R3FFdZxbWKqvi4qqUtf8R+MpVcbXK/1zeBbaxV0PiS1uaj4rpGpjyfQOdSaPec/cLL/0LwGjOEh9ULxpC96JIOA/vn1//6Raje1C3siRaiVodoJHuFjCERC3RZt1C9TB5XoMG3YKF+tUATDWsSF4PE+GYhCEdst5ogDyW1i2alxZwoXTDfJ1uQU/K3KoojX+K9Nc91QJFnkGiC7B2orP3V3He83OmCQ/9rHojK2pu8jxN4n7zdfpkuVUmszplhdZop8An4ZRZrTLwQl4YHV3ojLYWypysTyRZuC9YH7xfv5+pZ+7b40pKdN05vz4za/15oFu78j5expHhf9Xi318ZI/ktK2A3W22nss+wxPYo9m5WtE3MOt0wYsfuZrt/YBxiN6f7NEgYb29VOZQ1tUq76qnA/sqaBEdrmShfmONanMvL5B5FrDxe+2Jhjji/zFEWKyvZpssWXpSXxsnDrFmy0gb4MuTH31WaA3MDlQZ7dWEG4zMTKzuV83karTb3ZnyWJaQwzAbAVITLKS2XlKxZUyIpl44BAIUb/KHLxyi9Hn2xIyNWrcrxMmtS7ZM7VC9drug7SWJreEx0QUF0o8ARY8Kt4qRMQfmaAjyJTcKrVHa7qtW+4ip7y4LyNSMJoo1BhqCNBu0/BLwnUYO2fjwxZ90SmDczNIeVwQmdUYbAFbrnJd4iTqZXPioH1vj8bT7ik4dRx68z3vtxmFnqdDPxfpfxC1+XNlXuiyftb/j9MspWSU/LUP1KoTO4jX8knNjLzpq7LXDz9IrtVUQ94QSsPf853EU0k14QLMS1mJ0k7CaMDWYQabD3BdhN7ICrGT/2FTDYY/tIgB+PW1q6uZ1LsLB/+oJyFgr1l/iH3lGrZVJy2qJV4o8ut4SE4EgFeCpasXiAEodbw8ghRQ3emRH6nFpwbFvkpRVmxdPfur7zZaFyVYuciTal0pbofJ7o4LAtwal6rsrahASbyvFc5YR/rdKZiD6Q2VCqKJTJixQlk9guLyyU7y7flCiK5LLCmJJJbJcVFcngAvboleb8DRvyjwKcPapXBUY/UTgS8KIONyU8LCszrIxAGt4B37UIr5TZxpwiY74ul+qkNZrG84y5Oie1gTZhNJr1Oe4QYgfH2t752/my7PCM0NCM8OzLBOYyQvc7v3z4cYtm5i1HLL9Y+mf3RWJbOWg7fKgB0dgIjgY9ESwJVEwL/z5S1aFI0xy82zc9Z/snTe79iJCt88LTEq+Cf/OblWr1vnP/Q+00dmTaxpoUSfa3d1XtOKF+h7Z4c+D7LYH9K8syJK/Y2OdH7ujVqtJ2mSvv5RtYCzNQt7ecy0QtNLDy71UCE9vA1tU3G0TBfT3+An93VlpmmvvZtMeaT0kiADaCkMRbS6BKgwdsIl6ThATAU/J4BIqDKysCfCjEWUH/5sit6pmTog6+QN/5y/FzGecyXqdAz+8Qn5iZO3jpTgXdkVxZRD3UIrkVSuggKb/7t+kI/wjifackdRBUg5LuLUXUwOsWCBqKTLZ89XUvs7e+3lJ+Q15elvx84En++5JoNXc10hNk+K/k2wc8k7lRxa0fpJMGavMEzubpjnVikoFkwk8OPMMR0+3D0wardSDCUC9LFu1jGpj7DFpbYJJ3MlgfGKgPvh4UaNAHBmtVWoldcl1qkZ7E1nVJgdRFmBcwBF0PDtQ7TzXsC9AG8BG8sqyl7M4WHMB+gwW4n7GrmbHbk4axRH8SdhiH8AeyZcCSAKdHt6ckUsKC/khPNs/uRpnxkvFqrimxvEoxt1rhsCaf0wzBTAcGba1fmcf5aKcgONBoCDIrWpAxWHSPIcFg1lPXw5iEmOI4WaWyraYq15SYX2OK4uTHdsz6N9T4RDAS3nLBr4LNBAleQtgsiG4UE3VcPVFMsHDN+O83Esw8M0H7xOilQo/+sfax3gN+YYqBiWgiGcnmDdywicTxsETOeOIEh9vvJ4xShSaBCdiKMCFhpSpsRRjHio6KjsSFxtmAdxqsVE0QDUNBFqm+h6v9PtO+Fj7uSBFfzwJpXOIq31Ifj+PxAXVsCv/9pSK+jlmdI4i+/igmwuI7DS6FnRzJsFCbFj18GUyrGpvxMz58sUWjZVpOjUSxqH60XfG9nb/61d393r3xcWpmml1HelgU/x7X4aaP+M6TxYvb1BNGZ/GS3d1Iw/kUZMtnU07ThAB89mO1Tym3kL1yqcQitValhfVcGaaupA7LDaH9vlZsTaxZkZcnt8QM63OCcoNy6rC56pYhYYtwyKHJ83FmB+YFZmOKIk2VUalwUTazKtvXkZxHahnYtHmltb1C+vXVnb22gHPX0/NrOmy9VkA4BG3CboJCkdpVkXkhUBeuC7K0ueDFBjhPRJOdRqTINXDHDum6dvlGWt1GejF8uwTr5YMtue0/YVbZlaoa3xu+iYdFcwbvO9Ur87WrFmjDYRyn2S3sWLkulmXN7WI1R5Roydru18ysEdRf1C9BGAlmItK4Ko/MhzFMgo5rjnqUM6euLqUVpbO2YmJev0Cg3Tg3+mOtUHROKBGKBJLRpZu8NkEv2lC9uF5UAyrITxoFqgYeH/vwKD3jfnHxjp3YIqyXfONGklY7GtAjvpqW6tA4/rdr7CUl49mtHR0kGWnZMs+HM52e/uP4U92WzW4/7/LkEla1f5mL4g7opSxhFrCKNNal7h3E0W2zpZVga02YKWmrLtVS2yOGVXxLZUq4ZboVYgq9BZYUzRDZPSNIpJAjjdA/S98gR/qwooaH3zyM3YZLv+1/Ox3Xlt7Wo9zxu5M+0gYzw+VPmehmck+kgUGLQu5T90NtGW3IvoBjlDbY/6ksmZHiH9J2Z0Yb7Vt5HxHWJfFbw/4R2l/Xoxch+iR95EUZi7Dn0/3Tz2P1KrRMZYgntlF83fktujz4EsH2+NJjG+GV7cy+iIzluJK5bm3mtc8zrphMoz/M0qtyDsEXU062Lz9muqIf/bLl6pOYi9mH9KpZP4waTRlXwGeZ19atvZL584+wuWpVX9ox2BQ6dLob0ZqU0YTSnq9Z1YROP2Q5NbMnFeXIyp+9xK+mcUWL8LdrGLtt+vTT30gt3Y36clTqIW0WevL48f4W91h1mDoBLpQbrcT0MH9zQI7LxJBkbL97V9fYeOxx+FzMOj224Q5cnJWZB3tFznhjCQwCFvGDZA0R+9jvMRaejIki5qO91DNeWED1ys/3L9mQiqUOkbVLew0tLmh/76ndgwtQuqkDSgKg9HUAVANA6XXSIRiA0m4/QRUAlNppMlZ+tRfiKC5UqMN7j5+hKgDA1JADK2W5t9Di1v/YCtEBKD2wHxKySnOQF8npf0buO70Pcb7ZG+TvngDQEPF1ksakoVzv55BC2dWPocq1N/Cg5FIBeQMSit7SdfNoWJQudckVQJQuW6Al8JjfQOmgDMcbUiu3XIMSSx1u8IyOGodyoq45Cq2lJ0Um6CVfq4RC0upOU3loLsRTDvoVKqXHoxARR3f6BLLzrBlE/k27WfIKpdMk1Flqh96lZXYHoeh/8jsQeFe/4UYFQfUC9v0v4OCrQ6YykvKMnvboIU4fLsOvpPAHPrPed3xQT+2lH/ri/xvpuPFg7lvQkt5HvPdZnM4uQCvQ5j5X/r6lFZv66v3g73zbMp6idJabaNS16VvV4KhQTa56WS9tVy2BftXmmqT6OsyaO5C1E0TFHtDs8EpVUk6phoSrqinlsayXPlEteW9VW8o/1bc6wIULNC/+7cVxCLyh1ZHqGo1QJpB3+sll7MB5Df9y5zUGKcsK58QHN9zFEeBHWYYgqHDY0/fN8fGuQzo4bHkdMhXC8JznghaQ1difvTgOQbtwQ1XHq+oajbjzYP/1fXIZO3Cc8q/pvELQO6eYTMEhf3DDtUtBqv0oSwGZgmLq0HhPve8AtNuOIjXQ7ZbX51JGRbCHZ7l6Z4KXZ+mn+x7Hz9rdbu+nLEuBBgMWHHgIECFBhgIVGnQYzVa70+31B8PReDKdzRfL1Xqz3e0Px9P5cr3dHy+vEjA2gmHTvwZz0I6bxOozV4DXJxWPmgygD5FdP9771KMLqYhdt/xHIw/a7LlRgImIJ6X/8HrDiWYx8opJFHWipJniKGcnxjbxsoBxrXgMJpgGP+8Uce49wTYejN9N0hqH48zWw9i0AzrSwfFxFWHHdQ8hykInTsJVlMn1loycaKSKk2Le+hRJE7XEWOxz0hVRolYCMwjCkqw4DOCyx7JIh2Qyk2d6FQSXj7PSgPNaxYxz67i5L5Yvzl08qWpJzwL1HyMnqTiSI5hWJ5MkgpEYBiTggguHAPVOIRWKpdn0x79JSoQgXt/W6ZmjgZ2KZeIzwhZE6TfNlj87AwAA) format("woff2"),url(/fonts/iconfont.822d0662.woff) format("woff"),url(/fonts/iconfont.f799a9e7.ttf) format("truetype"),url(/img/iconfont.39b68b2e.svg#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-anquan1:before{content:"\e671"}.icon-lianxiren:before{content:"\e61c"}.icon-qianbao:before{content:"\e613"}.icon-zhuyi:before{content:"\e60a"}.icon-paixu1:before{content:"\ea8f"}.icon-paixu:before{content:"\e617"}.icon-sort-full:before{content:"\ea4b"}.icon-kongxinwenhao:before{content:"\ed19"}.icon-fuzhi_o:before{content:"\eb4e"}.icon-fuzhi:before{content:"\e64e"}.icon-fuzhi1:before{content:"\e8b0"}.icon-guanbi:before{content:"\e84d"}.icon-guanbi1:before{content:"\e66f"}.icon-guanbi2:before{content:"\e61e"}.icon-youjiantou:before{content:"\e624"}.icon-hengxiandianzuo:before{content:"\e609"}.icon-youjiantou1:before{content:"\ee39"}.icon-sanhengxian-copy:before{content:"\e605"}.icon-hengxian11:before{content:"\e606"}.icon-icon-prev:before{content:"\e603"}.icon-zuoyoujiantou1:before{content:"\e604"}.icon-shouji:before{content:"\e692"}.icon-youxiang:before{content:"\e908"}.icon-shouji1:before{content:"\e853"}.icon-yonghu:before{content:"\e667"}.icon-anquanzu:before{content:"\e654"}.icon-duigou:before{content:"\e627"}.icon-anquan-:before{content:"\e640"}.icon-shanchuzhanghu:before{content:"\e6f4"}.icon-diannao:before{content:"\e625"}.icon-morentouxiang:before{content:"\e62f"}.icon-touxiang:before{content:"\e6de"}.icon-zhanghubaobiao:before{content:"\e602"}.icon-chongzhi360:before{content:"\e6bc"}.icon-gerenzhongxin:before{content:"\e689"}.icon-zhanghuyue:before{content:"\e63f"}.icon-anquan:before{content:"\e8ab"}.icon-yanjing:before{content:"\e8bf"}.icon-yanjing1:before{content:"\e8c7"}.icon-baogao:before{content:"\e62d"}.icon-zhanghuxinxi:before{content:"\e60e"}.icon-a-fenzhi1:before{content:"\ebf9"}.icon-kuanggong:before{content:"\e607"}.icon-suanli:before{content:"\e6c3"}.icon-kuanggong1:before{content:"\e600"}.icon-kuanggong2:before{content:"\e60f"}.icon-suanli1:before{content:"\e601"}.icon-shishisuanli:before{content:"\e676"} \ No newline at end of file diff --git a/mining-pool/public/dist/css/chunk-vendors-bc050c32.6f97509c.css b/mining-pool/public/dist/css/chunk-vendors-bc050c32.6f97509c.css new file mode 100644 index 0000000..3ddea55 --- /dev/null +++ b/mining-pool/public/dist/css/chunk-vendors-bc050c32.6f97509c.css @@ -0,0 +1 @@ +@font-face{font-family:element-icons;src:url(/fonts/element-icons.ff18efd1.woff) format("woff"),url(/fonts/element-icons.f1a45d74.ttf) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\e6a0"}.el-icon-ice-cream-square:before{content:"\e6a3"}.el-icon-lollipop:before{content:"\e6a4"}.el-icon-potato-strips:before{content:"\e6a5"}.el-icon-milk-tea:before{content:"\e6a6"}.el-icon-ice-drink:before{content:"\e6a7"}.el-icon-ice-tea:before{content:"\e6a9"}.el-icon-coffee:before{content:"\e6aa"}.el-icon-orange:before{content:"\e6ab"}.el-icon-pear:before{content:"\e6ac"}.el-icon-apple:before{content:"\e6ad"}.el-icon-cherry:before{content:"\e6ae"}.el-icon-watermelon:before{content:"\e6af"}.el-icon-grape:before{content:"\e6b0"}.el-icon-refrigerator:before{content:"\e6b1"}.el-icon-goblet-square-full:before{content:"\e6b2"}.el-icon-goblet-square:before{content:"\e6b3"}.el-icon-goblet-full:before{content:"\e6b4"}.el-icon-goblet:before{content:"\e6b5"}.el-icon-cold-drink:before{content:"\e6b6"}.el-icon-coffee-cup:before{content:"\e6b8"}.el-icon-water-cup:before{content:"\e6b9"}.el-icon-hot-water:before{content:"\e6ba"}.el-icon-ice-cream:before{content:"\e6bb"}.el-icon-dessert:before{content:"\e6bc"}.el-icon-sugar:before{content:"\e6bd"}.el-icon-tableware:before{content:"\e6be"}.el-icon-burger:before{content:"\e6bf"}.el-icon-knife-fork:before{content:"\e6c1"}.el-icon-fork-spoon:before{content:"\e6c2"}.el-icon-chicken:before{content:"\e6c3"}.el-icon-food:before{content:"\e6c4"}.el-icon-dish-1:before{content:"\e6c5"}.el-icon-dish:before{content:"\e6c6"}.el-icon-moon-night:before{content:"\e6ee"}.el-icon-moon:before{content:"\e6f0"}.el-icon-cloudy-and-sunny:before{content:"\e6f1"}.el-icon-partly-cloudy:before{content:"\e6f2"}.el-icon-cloudy:before{content:"\e6f3"}.el-icon-sunny:before{content:"\e6f6"}.el-icon-sunset:before{content:"\e6f7"}.el-icon-sunrise-1:before{content:"\e6f8"}.el-icon-sunrise:before{content:"\e6f9"}.el-icon-heavy-rain:before{content:"\e6fa"}.el-icon-lightning:before{content:"\e6fb"}.el-icon-light-rain:before{content:"\e6fc"}.el-icon-wind-power:before{content:"\e6fd"}.el-icon-baseball:before{content:"\e712"}.el-icon-soccer:before{content:"\e713"}.el-icon-football:before{content:"\e715"}.el-icon-basketball:before{content:"\e716"}.el-icon-ship:before{content:"\e73f"}.el-icon-truck:before{content:"\e740"}.el-icon-bicycle:before{content:"\e741"}.el-icon-mobile-phone:before{content:"\e6d3"}.el-icon-service:before{content:"\e6d4"}.el-icon-key:before{content:"\e6e2"}.el-icon-unlock:before{content:"\e6e4"}.el-icon-lock:before{content:"\e6e5"}.el-icon-watch:before{content:"\e6fe"}.el-icon-watch-1:before{content:"\e6ff"}.el-icon-timer:before{content:"\e702"}.el-icon-alarm-clock:before{content:"\e703"}.el-icon-map-location:before{content:"\e704"}.el-icon-delete-location:before{content:"\e705"}.el-icon-add-location:before{content:"\e706"}.el-icon-location-information:before{content:"\e707"}.el-icon-location-outline:before{content:"\e708"}.el-icon-location:before{content:"\e79e"}.el-icon-place:before{content:"\e709"}.el-icon-discover:before{content:"\e70a"}.el-icon-first-aid-kit:before{content:"\e70b"}.el-icon-trophy-1:before{content:"\e70c"}.el-icon-trophy:before{content:"\e70d"}.el-icon-medal:before{content:"\e70e"}.el-icon-medal-1:before{content:"\e70f"}.el-icon-stopwatch:before{content:"\e710"}.el-icon-mic:before{content:"\e711"}.el-icon-copy-document:before{content:"\e718"}.el-icon-full-screen:before{content:"\e719"}.el-icon-switch-button:before{content:"\e71b"}.el-icon-aim:before{content:"\e71c"}.el-icon-crop:before{content:"\e71d"}.el-icon-odometer:before{content:"\e71e"}.el-icon-time:before{content:"\e71f"}.el-icon-bangzhu:before{content:"\e724"}.el-icon-close-notification:before{content:"\e726"}.el-icon-microphone:before{content:"\e727"}.el-icon-turn-off-microphone:before{content:"\e728"}.el-icon-position:before{content:"\e729"}.el-icon-postcard:before{content:"\e72a"}.el-icon-message:before{content:"\e72b"}.el-icon-chat-line-square:before{content:"\e72d"}.el-icon-chat-dot-square:before{content:"\e72e"}.el-icon-chat-dot-round:before{content:"\e72f"}.el-icon-chat-square:before{content:"\e730"}.el-icon-chat-line-round:before{content:"\e731"}.el-icon-chat-round:before{content:"\e732"}.el-icon-set-up:before{content:"\e733"}.el-icon-turn-off:before{content:"\e734"}.el-icon-open:before{content:"\e735"}.el-icon-connection:before{content:"\e736"}.el-icon-link:before{content:"\e737"}.el-icon-cpu:before{content:"\e738"}.el-icon-thumb:before{content:"\e739"}.el-icon-female:before{content:"\e73a"}.el-icon-male:before{content:"\e73b"}.el-icon-guide:before{content:"\e73c"}.el-icon-news:before{content:"\e73e"}.el-icon-price-tag:before{content:"\e744"}.el-icon-discount:before{content:"\e745"}.el-icon-wallet:before{content:"\e747"}.el-icon-coin:before{content:"\e748"}.el-icon-money:before{content:"\e749"}.el-icon-bank-card:before{content:"\e74a"}.el-icon-box:before{content:"\e74b"}.el-icon-present:before{content:"\e74c"}.el-icon-sell:before{content:"\e6d5"}.el-icon-sold-out:before{content:"\e6d6"}.el-icon-shopping-bag-2:before{content:"\e74d"}.el-icon-shopping-bag-1:before{content:"\e74e"}.el-icon-shopping-cart-2:before{content:"\e74f"}.el-icon-shopping-cart-1:before{content:"\e750"}.el-icon-shopping-cart-full:before{content:"\e751"}.el-icon-smoking:before{content:"\e752"}.el-icon-no-smoking:before{content:"\e753"}.el-icon-house:before{content:"\e754"}.el-icon-table-lamp:before{content:"\e755"}.el-icon-school:before{content:"\e756"}.el-icon-office-building:before{content:"\e757"}.el-icon-toilet-paper:before{content:"\e758"}.el-icon-notebook-2:before{content:"\e759"}.el-icon-notebook-1:before{content:"\e75a"}.el-icon-files:before{content:"\e75b"}.el-icon-collection:before{content:"\e75c"}.el-icon-receiving:before{content:"\e75d"}.el-icon-suitcase-1:before{content:"\e760"}.el-icon-suitcase:before{content:"\e761"}.el-icon-film:before{content:"\e763"}.el-icon-collection-tag:before{content:"\e765"}.el-icon-data-analysis:before{content:"\e766"}.el-icon-pie-chart:before{content:"\e767"}.el-icon-data-board:before{content:"\e768"}.el-icon-data-line:before{content:"\e76d"}.el-icon-reading:before{content:"\e769"}.el-icon-magic-stick:before{content:"\e76a"}.el-icon-coordinate:before{content:"\e76b"}.el-icon-mouse:before{content:"\e76c"}.el-icon-brush:before{content:"\e76e"}.el-icon-headset:before{content:"\e76f"}.el-icon-umbrella:before{content:"\e770"}.el-icon-scissors:before{content:"\e771"}.el-icon-mobile:before{content:"\e773"}.el-icon-attract:before{content:"\e774"}.el-icon-monitor:before{content:"\e775"}.el-icon-search:before{content:"\e778"}.el-icon-takeaway-box:before{content:"\e77a"}.el-icon-paperclip:before{content:"\e77d"}.el-icon-printer:before{content:"\e77e"}.el-icon-document-add:before{content:"\e782"}.el-icon-document:before{content:"\e785"}.el-icon-document-checked:before{content:"\e786"}.el-icon-document-copy:before{content:"\e787"}.el-icon-document-delete:before{content:"\e788"}.el-icon-document-remove:before{content:"\e789"}.el-icon-tickets:before{content:"\e78b"}.el-icon-folder-checked:before{content:"\e77f"}.el-icon-folder-delete:before{content:"\e780"}.el-icon-folder-remove:before{content:"\e781"}.el-icon-folder-add:before{content:"\e783"}.el-icon-folder-opened:before{content:"\e784"}.el-icon-folder:before{content:"\e78a"}.el-icon-edit-outline:before{content:"\e764"}.el-icon-edit:before{content:"\e78c"}.el-icon-date:before{content:"\e78e"}.el-icon-c-scale-to-original:before{content:"\e7c6"}.el-icon-view:before{content:"\e6ce"}.el-icon-loading:before{content:"\e6cf"}.el-icon-rank:before{content:"\e6d1"}.el-icon-sort-down:before{content:"\e7c4"}.el-icon-sort-up:before{content:"\e7c5"}.el-icon-sort:before{content:"\e6d2"}.el-icon-finished:before{content:"\e6cd"}.el-icon-refresh-left:before{content:"\e6c7"}.el-icon-refresh-right:before{content:"\e6c8"}.el-icon-refresh:before{content:"\e6d0"}.el-icon-video-play:before{content:"\e7c0"}.el-icon-video-pause:before{content:"\e7c1"}.el-icon-d-arrow-right:before{content:"\e6dc"}.el-icon-d-arrow-left:before{content:"\e6dd"}.el-icon-arrow-up:before{content:"\e6e1"}.el-icon-arrow-down:before{content:"\e6df"}.el-icon-arrow-right:before{content:"\e6e0"}.el-icon-arrow-left:before{content:"\e6de"}.el-icon-top-right:before{content:"\e6e7"}.el-icon-top-left:before{content:"\e6e8"}.el-icon-top:before{content:"\e6e6"}.el-icon-bottom:before{content:"\e6eb"}.el-icon-right:before{content:"\e6e9"}.el-icon-back:before{content:"\e6ea"}.el-icon-bottom-right:before{content:"\e6ec"}.el-icon-bottom-left:before{content:"\e6ed"}.el-icon-caret-top:before{content:"\e78f"}.el-icon-caret-bottom:before{content:"\e790"}.el-icon-caret-right:before{content:"\e791"}.el-icon-caret-left:before{content:"\e792"}.el-icon-d-caret:before{content:"\e79a"}.el-icon-share:before{content:"\e793"}.el-icon-menu:before{content:"\e798"}.el-icon-s-grid:before{content:"\e7a6"}.el-icon-s-check:before{content:"\e7a7"}.el-icon-s-data:before{content:"\e7a8"}.el-icon-s-opportunity:before{content:"\e7aa"}.el-icon-s-custom:before{content:"\e7ab"}.el-icon-s-claim:before{content:"\e7ad"}.el-icon-s-finance:before{content:"\e7ae"}.el-icon-s-comment:before{content:"\e7af"}.el-icon-s-flag:before{content:"\e7b0"}.el-icon-s-marketing:before{content:"\e7b1"}.el-icon-s-shop:before{content:"\e7b4"}.el-icon-s-open:before{content:"\e7b5"}.el-icon-s-management:before{content:"\e7b6"}.el-icon-s-ticket:before{content:"\e7b7"}.el-icon-s-release:before{content:"\e7b8"}.el-icon-s-home:before{content:"\e7b9"}.el-icon-s-promotion:before{content:"\e7ba"}.el-icon-s-operation:before{content:"\e7bb"}.el-icon-s-unfold:before{content:"\e7bc"}.el-icon-s-fold:before{content:"\e7a9"}.el-icon-s-platform:before{content:"\e7bd"}.el-icon-s-order:before{content:"\e7be"}.el-icon-s-cooperation:before{content:"\e7bf"}.el-icon-bell:before{content:"\e725"}.el-icon-message-solid:before{content:"\e799"}.el-icon-video-camera:before{content:"\e772"}.el-icon-video-camera-solid:before{content:"\e796"}.el-icon-camera:before{content:"\e779"}.el-icon-camera-solid:before{content:"\e79b"}.el-icon-download:before{content:"\e77c"}.el-icon-upload2:before{content:"\e77b"}.el-icon-upload:before{content:"\e7c3"}.el-icon-picture-outline-round:before{content:"\e75f"}.el-icon-picture-outline:before{content:"\e75e"}.el-icon-picture:before{content:"\e79f"}.el-icon-close:before{content:"\e6db"}.el-icon-check:before{content:"\e6da"}.el-icon-plus:before{content:"\e6d9"}.el-icon-minus:before{content:"\e6d8"}.el-icon-help:before{content:"\e73d"}.el-icon-s-help:before{content:"\e7b3"}.el-icon-circle-close:before{content:"\e78d"}.el-icon-circle-check:before{content:"\e720"}.el-icon-circle-plus-outline:before{content:"\e723"}.el-icon-remove-outline:before{content:"\e722"}.el-icon-zoom-out:before{content:"\e776"}.el-icon-zoom-in:before{content:"\e777"}.el-icon-error:before{content:"\e79d"}.el-icon-success:before{content:"\e79c"}.el-icon-circle-plus:before{content:"\e7a0"}.el-icon-remove:before{content:"\e7a2"}.el-icon-info:before{content:"\e7a1"}.el-icon-question:before{content:"\e7a4"}.el-icon-warning-outline:before{content:"\e6c9"}.el-icon-warning:before{content:"\e7a3"}.el-icon-goods:before{content:"\e7c2"}.el-icon-s-goods:before{content:"\e7b2"}.el-icon-star-off:before{content:"\e717"}.el-icon-star-on:before{content:"\e797"}.el-icon-more-outline:before{content:"\e6cc"}.el-icon-more:before{content:"\e794"}.el-icon-phone-outline:before{content:"\e6cb"}.el-icon-phone:before{content:"\e795"}.el-icon-user:before{content:"\e6e3"}.el-icon-user-solid:before{content:"\e7a5"}.el-icon-setting:before{content:"\e6ca"}.el-icon-s-tools:before{content:"\e7ac"}.el-icon-delete:before{content:"\e6d7"}.el-icon-delete-solid:before{content:"\e7c9"}.el-icon-eleme:before{content:"\e7c7"}.el-icon-platform-eleme:before{content:"\e7ca"}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotating{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.el-pagination{white-space:nowrap;padding:2px 5px;color:#303133;font-weight:700}.el-pagination:after,.el-pagination:before{display:table;content:""}.el-pagination:after{clear:both}.el-pagination button,.el-pagination span:not([class*=suffix]){display:inline-block;font-size:13px;min-width:35.5px;height:28px;line-height:28px;vertical-align:top;-webkit-box-sizing:border-box;box-sizing:border-box}.el-pagination .el-input__inner{text-align:center;-moz-appearance:textfield;line-height:normal}.el-pagination .el-input__suffix{right:0;-webkit-transform:scale(.8);transform:scale(.8)}.el-pagination .el-select .el-input{width:100px;margin:0 5px}.el-pagination .el-select .el-input .el-input__inner{padding-right:25px;border-radius:3px}.el-pagination button{border:none;padding:0 6px;background:0 0}.el-pagination button:focus{outline:0}.el-pagination button:hover{color:#409eff}.el-pagination button:disabled{color:#c0c4cc;background-color:#fff;cursor:not-allowed}.el-pagination .btn-next,.el-pagination .btn-prev{background:50% no-repeat #fff;background-size:16px;cursor:pointer;margin:0;color:#303133}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700}.el-pagination .btn-prev{padding-right:12px}.el-pagination .btn-next{padding-left:12px}.el-pagination .el-pager li.disabled{color:#c0c4cc;cursor:not-allowed}.el-pager li,.el-pager li.btn-quicknext:hover,.el-pager li.btn-quickprev:hover{cursor:pointer}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li,.el-pagination--small .el-pager li.btn-quicknext,.el-pagination--small .el-pager li.btn-quickprev,.el-pagination--small .el-pager li:last-child{border-color:transparent;font-size:12px;line-height:22px;height:22px;min-width:22px}.el-pagination--small .arrow.disabled{visibility:hidden}.el-pagination--small .more:before,.el-pagination--small li.more:before{line-height:24px}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){height:22px;line-height:22px}.el-pagination--small .el-pagination__editor,.el-pagination--small .el-pagination__editor.el-input .el-input__inner{height:22px}.el-pagination__sizes{margin:0 10px 0 0;font-weight:400;color:#606266}.el-pagination__sizes .el-input .el-input__inner{font-size:13px;padding-left:8px}.el-pagination__sizes .el-input .el-input__inner:hover{border-color:#409eff}.el-pagination__total{margin-right:10px;font-weight:400;color:#606266}.el-pagination__jump{margin-left:24px;font-weight:400;color:#606266}.el-pagination__jump .el-input__inner{padding:0 3px}.el-pagination__rightwrapper{float:right}.el-pagination__editor{line-height:18px;padding:0 2px;height:28px;text-align:center;margin:0 2px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:3px}.el-pager,.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev{padding:0}.el-dialog,.el-pager li{-webkit-box-sizing:border-box}.el-pagination__editor.el-input{width:50px}.el-pagination__editor.el-input .el-input__inner{height:28px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{margin:0 5px;background-color:#f4f4f5;color:#606266;min-width:30px;border-radius:2px}.el-pagination.is-background .btn-next.disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.disabled{color:#c0c4cc}.el-pagination.is-background .el-pager li:not(.disabled):hover{color:#409eff}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#409eff;color:#fff}.el-pagination.is-background.el-pagination--small .btn-next,.el-pagination.is-background.el-pagination--small .btn-prev,.el-pagination.is-background.el-pagination--small .el-pager li{margin:0 3px;min-width:22px}.el-pager,.el-pager li{vertical-align:top;margin:0;display:inline-block}.el-pager{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;list-style:none;font-size:0}.el-pager .more:before{line-height:30px}.el-pager li{padding:0 4px;background:#fff;font-size:13px;min-width:35.5px;height:28px;line-height:28px;box-sizing:border-box;text-align:center}.el-pager li.btn-quicknext,.el-pager li.btn-quickprev{line-height:28px;color:#303133}.el-pager li.btn-quicknext.disabled,.el-pager li.btn-quickprev.disabled{color:#c0c4cc}.el-pager li.active+li{border-left:0}.el-pager li:hover{color:#409eff}.el-pager li.active{color:#409eff;cursor:default}@-webkit-keyframes v-modal-in{0%{opacity:0}}@-webkit-keyframes v-modal-out{to{opacity:0}}.el-dialog{position:relative;margin:0 auto 50px;background:#fff;border-radius:2px;-webkit-box-shadow:0 1px 3px rgba(0,0,0,.3);box-shadow:0 1px 3px rgba(0,0,0,.3);box-sizing:border-box;width:50%}.el-dialog.is-fullscreen{width:100%;margin-top:0;margin-bottom:0;height:100%;overflow:auto}.el-dialog__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;margin:0}.el-dialog__header{padding:20px 20px 10px}.el-dialog__headerbtn{position:absolute;top:20px;right:20px;padding:0;background:0 0;border:none;outline:0;cursor:pointer;font-size:16px}.el-dialog__headerbtn .el-dialog__close{color:#909399}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:#409eff}.el-dialog__title{line-height:24px;font-size:18px;color:#303133}.el-dialog__body{padding:30px 20px;color:#606266;font-size:14px;word-break:break-all}.el-dialog__footer{padding:10px 20px 20px;text-align:right;-webkit-box-sizing:border-box;box-sizing:border-box}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial;padding:25px 25px 30px}.el-dialog--center .el-dialog__footer{text-align:inherit}.dialog-fade-enter-active{-webkit-animation:dialog-fade-in .3s;animation:dialog-fade-in .3s}.dialog-fade-leave-active{-webkit-animation:dialog-fade-out .3s;animation:dialog-fade-out .3s}@-webkit-keyframes dialog-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes dialog-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes dialog-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes dialog-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-autocomplete{position:relative;display:inline-block}.el-autocomplete-suggestion{margin:5px 0;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:4px;border:1px solid #e4e7ed;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.el-autocomplete-suggestion__wrap{max-height:280px;padding:10px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{padding:0 20px;margin:0;line-height:34px;cursor:pointer;color:#606266;font-size:14px;list-style:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:#f5f7fa}.el-autocomplete-suggestion li.divider{margin-top:6px;border-top:1px solid #000}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{text-align:center;height:100px;line-height:100px;font-size:20px;color:#999}.el-autocomplete-suggestion.is-loading li:after{display:inline-block;content:"";height:100%;vertical-align:middle}.el-autocomplete-suggestion.is-loading li:hover{background-color:#fff}.el-autocomplete-suggestion.is-loading .el-icon-loading{vertical-align:middle}.el-dropdown{display:inline-block;position:relative;color:#606266;font-size:14px}.el-dropdown .el-button-group{display:block}.el-dropdown .el-button-group .el-button{float:none}.el-dropdown .el-dropdown__caret-button{padding-left:5px;padding-right:5px;position:relative;border-left:none}.el-dropdown .el-dropdown__caret-button:before{content:"";position:absolute;display:block;width:1px;top:5px;bottom:5px;left:0;background:hsla(0,0%,100%,.5)}.el-dropdown .el-dropdown__caret-button.el-button--default:before{background:rgba(220,223,230,.5)}.el-dropdown .el-dropdown__caret-button:hover:not(.is-disabled):before{top:0;bottom:0}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{padding-left:0}.el-dropdown__icon{font-size:12px;margin:0 3px}.el-dropdown .el-dropdown-selfdefine:focus:active,.el-dropdown .el-dropdown-selfdefine:focus:not(.focusing){outline-width:0}.el-dropdown [disabled]{cursor:not-allowed;color:#bbb}.el-dropdown-menu{position:absolute;top:0;left:0;z-index:10;padding:10px 0;margin:5px 0;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-dropdown-menu__item,.el-menu-item{font-size:14px;padding:0 20px;cursor:pointer}.el-dropdown-menu__item{list-style:none;line-height:36px;margin:0;color:#606266;outline:0}.el-dropdown-menu__item:focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:#ecf5ff;color:#66b1ff}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{position:relative;margin-top:6px;border-top:1px solid #ebeef5}.el-dropdown-menu__item--divided:before{content:"";height:6px;display:block;margin:0 -20px;background-color:#fff}.el-dropdown-menu__item.is-disabled{cursor:default;color:#bbb;pointer-events:none}.el-dropdown-menu--medium{padding:6px 0}.el-dropdown-menu--medium .el-dropdown-menu__item{line-height:30px;padding:0 17px;font-size:14px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:6px}.el-dropdown-menu--medium .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:6px;margin:0 -17px}.el-dropdown-menu--small{padding:6px 0}.el-dropdown-menu--small .el-dropdown-menu__item{line-height:27px;padding:0 15px;font-size:13px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:4px}.el-dropdown-menu--small .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:4px;margin:0 -15px}.el-dropdown-menu--mini{padding:3px 0}.el-dropdown-menu--mini .el-dropdown-menu__item{line-height:24px;padding:0 10px;font-size:12px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided{margin-top:3px}.el-dropdown-menu--mini .el-dropdown-menu__item.el-dropdown-menu__item--divided:before{height:3px;margin:0 -10px}.el-menu{border-right:1px solid #e6e6e6;list-style:none;position:relative;margin:0;padding-left:0}.el-menu,.el-menu--horizontal>.el-menu-item:not(.is-disabled):focus,.el-menu--horizontal>.el-menu-item:not(.is-disabled):hover,.el-menu--horizontal>.el-submenu .el-submenu__title:hover{background-color:#fff}.el-menu:after,.el-menu:before{display:table;content:""}.el-breadcrumb__item:last-child .el-breadcrumb__separator,.el-menu--collapse>.el-menu-item .el-submenu__icon-arrow,.el-menu--collapse>.el-submenu>.el-submenu__title .el-submenu__icon-arrow{display:none}.el-menu:after{clear:both}.el-menu.el-menu--horizontal{border-bottom:1px solid #e6e6e6}.el-menu--horizontal{border-right:none}.el-menu--horizontal>.el-menu-item{float:left;height:60px;line-height:60px;margin:0;border-bottom:2px solid transparent;color:#909399}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-submenu{float:left}.el-menu--horizontal>.el-submenu:focus,.el-menu--horizontal>.el-submenu:hover{outline:0}.el-menu--horizontal>.el-submenu:focus .el-submenu__title,.el-menu--horizontal>.el-submenu:hover .el-submenu__title{color:#303133}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title{border-bottom:2px solid #409eff;color:#303133}.el-menu--horizontal>.el-submenu .el-submenu__title{height:60px;line-height:60px;border-bottom:2px solid transparent;color:#909399}.el-menu--horizontal>.el-submenu .el-submenu__icon-arrow{position:static;vertical-align:middle;margin-left:8px;margin-top:-3px}.el-menu--collapse .el-submenu,.el-menu-item{position:relative}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-submenu__title{background-color:#fff;float:none;height:36px;line-height:36px;padding:0 10px;color:#909399}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-submenu.is-active>.el-submenu__title{color:#303133}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{outline:0;color:#303133}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid #409eff;color:#303133}.el-menu--collapse{width:64px}.el-menu--collapse>.el-menu-item [class^=el-icon-],.el-menu--collapse>.el-submenu>.el-submenu__title [class^=el-icon-]{margin:0;vertical-align:middle;width:24px;text-align:center}.el-menu--collapse>.el-menu-item span,.el-menu--collapse>.el-submenu>.el-submenu__title span{height:0;width:0;overflow:hidden;visibility:hidden;display:inline-block}.el-menu-item,.el-submenu__title{height:56px;line-height:56px;list-style:none}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-submenu{min-width:200px}.el-menu--collapse .el-submenu .el-menu{position:absolute;margin-left:5px;top:0;left:100%;z-index:10;border:1px solid #e4e7ed;border-radius:2px;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--collapse .el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{-webkit-transform:none;transform:none}.el-menu--popup{z-index:100;min-width:200px;border:none;padding:5px 0;border-radius:2px;-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-menu--popup-bottom-start{margin-top:5px}.el-menu--popup-right-start{margin-left:5px;margin-right:5px}.el-menu-item{color:#303133;-webkit-transition:border-color .3s,background-color .3s,color .3s;transition:border-color .3s,background-color .3s,color .3s;-webkit-box-sizing:border-box;box-sizing:border-box;white-space:nowrap}.el-radio-button__inner,.el-submenu__title{-webkit-box-sizing:border-box;position:relative;white-space:nowrap}.el-menu-item *{vertical-align:middle}.el-menu-item i{color:#909399}.el-menu-item:focus,.el-menu-item:hover{outline:0;background-color:#ecf5ff}.el-menu-item.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-menu-item [class^=el-icon-]{margin-right:5px;width:24px;text-align:center;font-size:18px;vertical-align:middle}.el-menu-item.is-active{color:#409eff}.el-menu-item.is-active i{color:inherit}.el-submenu{list-style:none;margin:0;padding-left:0}.el-submenu__title{font-size:14px;color:#303133;padding:0 20px;cursor:pointer;-webkit-transition:border-color .3s,background-color .3s,color .3s;transition:border-color .3s,background-color .3s,color .3s;box-sizing:border-box}.el-submenu__title *{vertical-align:middle}.el-submenu__title i{color:#909399}.el-submenu__title:focus,.el-submenu__title:hover{outline:0;background-color:#ecf5ff}.el-submenu__title.is-disabled{opacity:.25;cursor:not-allowed;background:0 0!important}.el-submenu__title:hover{background-color:#ecf5ff}.el-submenu .el-menu{border:none}.el-submenu .el-menu-item{height:50px;line-height:50px;padding:0 45px;min-width:200px}.el-submenu__icon-arrow{position:absolute;top:50%;right:20px;margin-top:-7px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-size:12px}.el-submenu.is-active .el-submenu__title{border-bottom-color:#409eff}.el-submenu.is-opened>.el-submenu__title .el-submenu__icon-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-submenu.is-disabled .el-menu-item,.el-submenu.is-disabled .el-submenu__title{opacity:.25;cursor:not-allowed;background:0 0!important}.el-submenu [class^=el-icon-]{vertical-align:middle;margin-right:5px;width:24px;text-align:center;font-size:18px}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{padding:7px 0 7px 20px;line-height:normal;font-size:12px;color:#909399}.el-radio-button__inner,.el-radio-group{display:inline-block;line-height:1;vertical-align:middle}.horizontal-collapse-transition .el-submenu__title .el-submenu__icon-arrow{-webkit-transition:.2s;transition:.2s;opacity:0}.el-radio-group{font-size:0}.el-radio-button{position:relative;display:inline-block;outline:0}.el-radio-button__inner{background:#fff;border:1px solid #dcdfe6;font-weight:500;border-left:0;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:0;margin:0;cursor:pointer;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);padding:12px 20px;font-size:14px;border-radius:0}.el-radio-button__inner.is-round{padding:12px 20px}.el-radio-button__inner:hover{color:#409eff}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;-webkit-box-shadow:none!important;box-shadow:none!important}.el-radio-button__orig-radio{opacity:0;outline:0;position:absolute;z-index:-1}.el-radio-button__orig-radio:checked+.el-radio-button__inner{color:#fff;background-color:#409eff;border-color:#409eff;-webkit-box-shadow:-1px 0 0 0 #409eff;box-shadow:-1px 0 0 0 #409eff}.el-radio-button__orig-radio:disabled+.el-radio-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;-webkit-box-shadow:none;box-shadow:none}.el-radio-button__orig-radio:disabled:checked+.el-radio-button__inner{background-color:#f2f6fc}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 4px 4px 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:4px}.el-radio-button--medium .el-radio-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-radio-button--medium .el-radio-button__inner.is-round{padding:10px 20px}.el-radio-button--small .el-radio-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-radio-button--small .el-radio-button__inner.is-round{padding:9px 15px}.el-radio-button--mini .el-radio-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-radio-button--mini .el-radio-button__inner.is-round{padding:7px 15px}.el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){-webkit-box-shadow:0 0 2px 2px #409eff;box-shadow:0 0 2px 2px #409eff}.el-picker-panel,.el-popover,.el-select-dropdown,.el-table-filter,.el-time-panel{-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-switch{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;font-size:14px;line-height:20px;height:20px;vertical-align:middle}.el-switch__core,.el-switch__label{display:inline-block;cursor:pointer}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{-webkit-transition:.2s;transition:.2s;height:20px;font-size:14px;font-weight:500;vertical-align:middle;color:#303133}.el-switch__label.is-active{color:#409eff}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{line-height:1;font-size:14px;display:inline-block}.el-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}.el-switch__core{margin:0;position:relative;width:40px;height:20px;border:1px solid #dcdfe6;outline:0;border-radius:10px;-webkit-box-sizing:border-box;box-sizing:border-box;background:#dcdfe6;-webkit-transition:border-color .3s,background-color .3s;transition:border-color .3s,background-color .3s;vertical-align:middle}.el-input__prefix,.el-input__suffix{-webkit-transition:all .3s;color:#c0c4cc}.el-switch__core:after{content:"";position:absolute;top:1px;left:1px;border-radius:100%;-webkit-transition:all .3s;transition:all .3s;width:16px;height:16px;background-color:#fff}.el-switch.is-checked .el-switch__core{border-color:#409eff;background-color:#409eff}.el-switch.is-checked .el-switch__core:after{left:100%;margin-left:-17px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter,.el-switch .label-fade-leave-active{opacity:0}.el-select-dropdown{position:absolute;z-index:1001;border:1px solid #e4e7ed;border-radius:4px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);-webkit-box-sizing:border-box;box-sizing:border-box;margin:5px 0}.el-select-dropdown.is-multiple .el-select-dropdown__item{padding-right:40px}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected{color:#409eff;background-color:#fff}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover{background-color:#f5f7fa}.el-select-dropdown.is-multiple .el-select-dropdown__item.selected:after{position:absolute;right:20px;font-family:element-icons;content:"\e6da";font-size:12px;font-weight:700;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty{padding:10px 0;margin:0;text-align:center;color:#999;font-size:14px}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{list-style:none;padding:6px 0;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box}.el-select-dropdown__item{font-size:14px;padding:0 20px;position:relative;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#606266;height:34px;line-height:34px;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}.el-select-dropdown__item.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-select-dropdown__item.is-disabled:hover{background-color:#fff}.el-select-dropdown__item.hover,.el-select-dropdown__item:hover{background-color:#f5f7fa}.el-select-dropdown__item.selected{color:#409eff;font-weight:700}.el-select-group{margin:0;padding:0}.el-select-group__wrap{position:relative;list-style:none;margin:0;padding:0}.el-select-group__wrap:not(:last-of-type){padding-bottom:24px}.el-select-group__wrap:not(:last-of-type):after{content:"";position:absolute;display:block;left:20px;right:20px;bottom:12px;height:1px;background:#e4e7ed}.el-select-group__title{padding-left:20px;font-size:12px;color:#909399;line-height:30px}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{display:inline-block;position:relative}.el-select .el-select__tags>span{display:contents}.el-select:hover .el-input__inner{border-color:#c0c4cc}.el-select .el-input__inner{cursor:pointer;padding-right:35px}.el-select .el-input__inner:focus{border-color:#409eff}.el-select .el-input .el-select__caret{color:#c0c4cc;font-size:14px;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;-webkit-transform:rotate(180deg);transform:rotate(180deg);cursor:pointer}.el-select .el-input .el-select__caret.is-reverse{-webkit-transform:rotate(0);transform:rotate(0)}.el-select .el-input .el-select__caret.is-show-close{font-size:14px;text-align:center;-webkit-transform:rotate(180deg);transform:rotate(180deg);border-radius:100%;color:#c0c4cc;-webkit-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-select .el-input .el-select__caret.is-show-close:hover{color:#909399}.el-select .el-input.is-disabled .el-input__inner{cursor:not-allowed}.el-select .el-input.is-disabled .el-input__inner:hover{border-color:#e4e7ed}.el-range-editor.is-active,.el-range-editor.is-active:hover,.el-select .el-input.is-focus .el-input__inner{border-color:#409eff}.el-select>.el-input{display:block}.el-select__input{border:none;outline:0;padding:0;margin-left:15px;color:#666;font-size:14px;-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;background-color:transparent}.el-select__input.is-mini{height:14px}.el-select__close{cursor:pointer;position:absolute;top:8px;z-index:1000;right:25px;color:#c0c4cc;line-height:18px;font-size:14px}.el-select__close:hover{color:#909399}.el-select__tags{position:absolute;line-height:normal;white-space:normal;z-index:1;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.el-select__tags-text{overflow:hidden;text-overflow:ellipsis}.el-select .el-tag{-webkit-box-sizing:border-box;box-sizing:border-box;border-color:transparent;margin:2px 0 2px 6px;background-color:#f0f2f5;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100%;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-select .el-tag__close.el-icon-close{background-color:#c0c4cc;top:0;color:#fff;-ms-flex-negative:0;flex-shrink:0}.el-select .el-tag__close.el-icon-close:hover{background-color:#909399}.el-table,.el-table__expanded-cell{background-color:#fff}.el-select .el-tag__close.el-icon-close:before{display:block;-webkit-transform:translateY(.5px);transform:translateY(.5px)}.el-table{position:relative;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-box-flex:1;-ms-flex:1;flex:1;width:100%;max-width:100%;font-size:14px;color:#606266}.el-table__empty-block{min-height:60px;text-align:center;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-table__empty-text{line-height:60px;width:50%;color:#909399}.el-table__expand-column .cell{padding:0;text-align:center}.el-table__expand-icon{position:relative;cursor:pointer;color:#666;font-size:12px;-webkit-transition:-webkit-transform .2s ease-in-out;transition:-webkit-transform .2s ease-in-out;transition:transform .2s ease-in-out;transition:transform .2s ease-in-out,-webkit-transform .2s ease-in-out;height:20px}.el-table__expand-icon--expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-table__expand-icon>.el-icon{position:absolute;left:50%;top:50%;margin-left:-5px;margin-top:-5px}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-right:0;border-bottom:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--scrollable-x .el-table__body-wrapper{overflow-x:auto}.el-table--scrollable-y .el-table__body-wrapper{overflow-y:auto}.el-table thead{color:#909399;font-weight:500}.el-table thead.is-group th.el-table__cell{background:#f5f7fa}.el-table .el-table__cell{padding:12px 0;min-width:0;-webkit-box-sizing:border-box;box-sizing:border-box;text-overflow:ellipsis;vertical-align:middle;position:relative;text-align:left}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{width:15px;border-right-width:0;border-bottom-width:0;padding:0}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table--medium .el-table__cell{padding:10px 0}.el-table--small{font-size:12px}.el-table--small .el-table__cell{padding:8px 0}.el-table--mini{font-size:12px}.el-table--mini .el-table__cell{padding:6px 0}.el-table tr{background-color:#fff}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:1px solid #ebeef5}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{overflow:hidden;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff}.el-table th.el-table__cell>.cell{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;vertical-align:middle;padding-left:10px;padding-right:10px;width:100%}.el-table th.el-table__cell>.cell.highlight{color:#409eff}.el-table th.el-table__cell.required>div:before{display:inline-block;content:"";width:8px;height:8px;border-radius:50%;background:#ff4d51;margin-right:5px;vertical-align:middle}.el-table td.el-table__cell div{-webkit-box-sizing:border-box;box-sizing:border-box}.el-date-table td,.el-table .cell,.el-table-filter{-webkit-box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table .cell{box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:normal;word-break:break-all;line-height:23px;padding-left:10px;padding-right:10px}.el-table .cell.el-tooltip{white-space:nowrap;min-width:50px}.el-table--border,.el-table--group{border:1px solid #ebeef5}.el-table--border:after,.el-table--group:after,.el-table:before{content:"";position:absolute;background-color:#ebeef5;z-index:1}.el-table--border:after,.el-table--group:after{top:0;right:0;width:1px;height:100%}.el-table:before{left:0;bottom:0;width:100%;height:1px}.el-table--border{border-right:none;border-bottom:none}.el-table--border.el-loading-parent--relative{border-color:transparent}.el-table--border .el-table__cell,.el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed{border-right:1px solid #ebeef5}.el-table--border .el-table__cell:first-child .cell{padding-left:10px}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:1px solid #ebeef5;border-bottom-width:1px}.el-table--border th.el-table__cell,.el-table__fixed-right-patch{border-bottom:1px solid #ebeef5}.el-table--hidden{visibility:hidden}.el-table__fixed,.el-table__fixed-right{position:absolute;top:0;left:0;overflow-x:hidden;overflow-y:hidden;-webkit-box-shadow:0 0 10px rgba(0,0,0,.12);box-shadow:0 0 10px rgba(0,0,0,.12)}.el-table__fixed-right:before,.el-table__fixed:before{content:"";position:absolute;left:0;bottom:0;width:100%;height:1px;background-color:#ebeef5;z-index:4}.el-table__fixed-right-patch{position:absolute;top:-1px;right:0;background-color:#fff}.el-table__fixed-right{top:0;left:auto;right:0}.el-table__fixed-right .el-table__fixed-body-wrapper,.el-table__fixed-right .el-table__fixed-footer-wrapper,.el-table__fixed-right .el-table__fixed-header-wrapper{left:auto;right:0}.el-table__fixed-header-wrapper{position:absolute;left:0;top:0;z-index:3}.el-table__fixed-footer-wrapper{position:absolute;left:0;bottom:0;z-index:3}.el-table__fixed-footer-wrapper tbody td.el-table__cell{border-top:1px solid #ebeef5;background-color:#f5f7fa;color:#606266}.el-table__fixed-body-wrapper{position:absolute;left:0;top:37px;overflow:hidden;z-index:3}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__footer-wrapper{margin-top:-1px}.el-table__footer-wrapper td.el-table__cell{border-top:1px solid #ebeef5}.el-table__body,.el-table__footer,.el-table__header{table-layout:fixed;border-collapse:separate}.el-table__footer-wrapper,.el-table__header-wrapper{overflow:hidden}.el-table__footer-wrapper tbody td.el-table__cell,.el-table__header-wrapper tbody td.el-table__cell{background-color:#f5f7fa;color:#606266}.el-table__body-wrapper{overflow:hidden;position:relative}.el-table__body-wrapper.is-scrolling-left~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed,.el-table__body-wrapper.is-scrolling-none~.el-table__fixed-right,.el-table__body-wrapper.is-scrolling-right~.el-table__fixed-right{-webkit-box-shadow:none;box-shadow:none}.el-table__body-wrapper .el-table--border.is-scrolling-right~.el-table__fixed-right{border-left:1px solid #ebeef5}.el-table .caret-wrapper{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:34px;width:24px;vertical-align:middle;cursor:pointer;overflow:initial;position:relative}.el-table .sort-caret{width:0;height:0;border:5px solid transparent;position:absolute;left:7px}.el-table .sort-caret.ascending{border-bottom-color:#c0c4cc;top:5px}.el-table .sort-caret.descending{border-top-color:#c0c4cc;bottom:7px}.el-table .ascending .sort-caret.ascending{border-bottom-color:#409eff}.el-table .descending .sort-caret.descending{border-top-color:#409eff}.el-table .hidden-columns{visibility:hidden;position:absolute;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:#fafafa}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell,.el-table--striped .el-table__body tr.el-table__row--striped.selection-row td.el-table__cell{background-color:#ecf5ff}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.selection-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row.selection-row>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell{background-color:#f5f7fa}.el-table__body tr.current-row>td.el-table__cell,.el-table__body tr.selection-row>td.el-table__cell{background-color:#ecf5ff}.el-table__column-resize-proxy{position:absolute;left:200px;top:0;bottom:0;width:0;border-left:1px solid #ebeef5;z-index:10}.el-table__column-filter-trigger{display:inline-block;line-height:34px;cursor:pointer}.el-table__column-filter-trigger i{color:#909399;font-size:12px;-webkit-transform:scale(.75);transform:scale(.75)}.el-table--enable-row-transition .el-table__body td.el-table__cell{-webkit-transition:background-color .25s ease;transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:#f5f7fa}.el-table--fluid-height .el-table__fixed,.el-table--fluid-height .el-table__fixed-right{bottom:0;overflow:hidden}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;width:20px;line-height:20px;height:20px;text-align:center;margin-right:3px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{border:1px solid #ebeef5;border-radius:2px;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);box-sizing:border-box;margin:2px 0}.el-table-filter__list{padding:5px 0;margin:0;list-style:none;min-width:100px}.el-table-filter__list-item{line-height:36px;padding:0 10px;cursor:pointer;font-size:14px}.el-table-filter__list-item:hover{background-color:#ecf5ff;color:#66b1ff}.el-table-filter__list-item.is-active{background-color:#409eff;color:#fff}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid #ebeef5;padding:8px}.el-table-filter__bottom button{background:0 0;border:none;color:#606266;cursor:pointer;font-size:13px;padding:0 3px}.el-date-table td.in-range div,.el-date-table td.in-range div:hover,.el-date-table.is-week-mode .el-date-table__row.current div,.el-date-table.is-week-mode .el-date-table__row:hover div{background-color:#f2f6fc}.el-table-filter__bottom button:hover{color:#409eff}.el-table-filter__bottom button:focus{outline:0}.el-table-filter__bottom button.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{display:block;margin-right:5px;margin-bottom:8px;margin-left:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:#606266}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td{width:32px;height:30px;padding:4px 0;box-sizing:border-box;text-align:center;cursor:pointer;position:relative}.el-date-table td div{height:30px;padding:3px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.el-date-table td span{width:24px;height:24px;display:block;margin:0 auto;line-height:24px;position:absolute;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);border-radius:50%}.el-date-table td.next-month,.el-date-table td.prev-month{color:#c0c4cc}.el-date-table td.today{position:relative}.el-date-table td.today span{color:#409eff;font-weight:700}.el-date-table td.today.end-date span,.el-date-table td.today.start-date span{color:#fff}.el-date-table td.available:hover{color:#409eff}.el-date-table td.current:not(.disabled) span{color:#fff;background-color:#409eff}.el-date-table td.end-date div,.el-date-table td.start-date div{color:#fff}.el-date-table td.end-date span,.el-date-table td.start-date span{background-color:#409eff}.el-date-table td.start-date div{margin-left:5px;border-top-left-radius:15px;border-bottom-left-radius:15px}.el-date-table td.end-date div{margin-right:5px;border-top-right-radius:15px;border-bottom-right-radius:15px}.el-date-table td.disabled div{background-color:#f5f7fa;opacity:1;cursor:not-allowed;color:#c0c4cc}.el-date-table td.selected div{margin-left:5px;margin-right:5px;background-color:#f2f6fc;border-radius:15px}.el-date-table td.selected div:hover{background-color:#f2f6fc}.el-date-table td.selected span{background-color:#409eff;color:#fff;border-radius:15px}.el-date-table td.week{font-size:80%;color:#606266}.el-month-table,.el-year-table{font-size:12px;border-collapse:collapse}.el-date-table th{padding:5px;color:#606266;font-weight:400;border-bottom:1px solid #ebeef5}.el-month-table{margin:-1px}.el-month-table td{text-align:center;padding:8px 0;cursor:pointer}.el-month-table td div{height:48px;padding:6px 0;-webkit-box-sizing:border-box;box-sizing:border-box}.el-month-table td.today .cell{color:#409eff;font-weight:700}.el-month-table td.today.end-date .cell,.el-month-table td.today.start-date .cell{color:#fff}.el-month-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-month-table td.disabled .cell:hover{color:#c0c4cc}.el-month-table td .cell{width:60px;height:36px;display:block;line-height:36px;color:#606266;margin:0 auto;border-radius:18px}.el-month-table td .cell:hover{color:#409eff}.el-month-table td.in-range div,.el-month-table td.in-range div:hover{background-color:#f2f6fc}.el-month-table td.end-date div,.el-month-table td.start-date div{color:#fff}.el-month-table td.end-date .cell,.el-month-table td.start-date .cell{color:#fff;background-color:#409eff}.el-month-table td.start-date div{border-top-left-radius:24px;border-bottom-left-radius:24px}.el-month-table td.end-date div{border-top-right-radius:24px;border-bottom-right-radius:24px}.el-month-table td.current:not(.disabled) .cell{color:#409eff}.el-year-table{margin:-1px}.el-year-table .el-icon{color:#303133}.el-year-table td{text-align:center;padding:20px 3px;cursor:pointer}.el-year-table td.today .cell{color:#409eff;font-weight:700}.el-year-table td.disabled .cell{background-color:#f5f7fa;cursor:not-allowed;color:#c0c4cc}.el-year-table td.disabled .cell:hover{color:#c0c4cc}.el-year-table td .cell{width:48px;height:32px;display:block;line-height:32px;color:#606266;margin:0 auto}.el-year-table td .cell:hover,.el-year-table td.current:not(.disabled) .cell{color:#409eff}.el-date-range-picker{width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{position:relative;text-align:center;height:28px}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__content{float:left;width:50%;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:16px}.el-date-range-picker__content.is-left{border-right:1px solid #e4e4e4}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{-webkit-box-sizing:border-box;box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.el-date-range-picker__time-header>.el-icon-arrow-right{font-size:20px;vertical-align:middle;display:table-cell;color:#303133}.el-date-range-picker__time-picker-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-range-picker__time-picker-wrap .el-picker-panel{position:absolute;top:13px;right:0;z-index:1;background:#fff}.el-date-picker{width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{position:relative;display:table-cell;padding:0 5px}.el-date-picker__time-header{position:relative;border-bottom:1px solid #e4e4e4;font-size:12px;padding:8px 5px 5px;display:table;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}.el-date-picker__header{margin:12px;text-align:center}.el-date-picker__header--bordered{margin-bottom:0;padding-bottom:12px;border-bottom:1px solid #ebeef5}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{font-size:16px;font-weight:500;padding:0 5px;line-height:22px;text-align:center;cursor:pointer;color:#606266}.el-date-picker__header-label.active,.el-date-picker__header-label:hover{color:#409eff}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{float:left;cursor:pointer;line-height:30px;margin-left:10px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{max-height:200px;margin:0}.time-select-item{padding:8px 10px;font-size:14px;line-height:20px}.time-select-item.selected:not(.disabled){color:#409eff;font-weight:700}.time-select-item.disabled{color:#e4e7ed;cursor:not-allowed}.time-select-item:hover{background-color:#f5f7fa;font-weight:700;cursor:pointer}.el-date-editor{position:relative;display:inline-block;text-align:left}.el-date-editor.el-input,.el-date-editor.el-input__inner{width:220px}.el-date-editor--monthrange.el-input,.el-date-editor--monthrange.el-input__inner{width:300px}.el-date-editor--daterange.el-input,.el-date-editor--daterange.el-input__inner,.el-date-editor--timerange.el-input,.el-date-editor--timerange.el-input__inner{width:350px}.el-date-editor--datetimerange.el-input,.el-date-editor--datetimerange.el-input__inner{width:400px}.el-date-editor--dates .el-input__inner{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .el-icon-circle-close{cursor:pointer}.el-date-editor .el-range__icon{font-size:14px;margin-left:-5px;color:#c0c4cc;float:left;line-height:32px}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;outline:0;display:inline-block;height:100%;margin:0;padding:0;width:39%;text-align:center;font-size:14px;color:#606266}.el-date-editor .el-range-input::-webkit-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input:-ms-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::-ms-input-placeholder{color:#c0c4cc}.el-date-editor .el-range-input::placeholder{color:#c0c4cc}.el-date-editor .el-range-separator{display:inline-block;height:100%;padding:0 5px;margin:0;text-align:center;line-height:32px;font-size:14px;width:5%;color:#303133}.el-date-editor .el-range__close-icon{font-size:14px;color:#c0c4cc;width:25px;display:inline-block;float:right;line-height:32px}.el-range-editor.el-input__inner{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:3px 10px}.el-range-editor .el-range-input{line-height:1}.el-range-editor--medium.el-input__inner{height:36px}.el-range-editor--medium .el-range-separator{line-height:28px;font-size:14px}.el-range-editor--medium .el-range-input{font-size:14px}.el-range-editor--medium .el-range__close-icon,.el-range-editor--medium .el-range__icon{line-height:28px}.el-range-editor--small.el-input__inner{height:32px}.el-range-editor--small .el-range-separator{line-height:24px;font-size:13px}.el-range-editor--small .el-range-input{font-size:13px}.el-range-editor--small .el-range__close-icon,.el-range-editor--small .el-range__icon{line-height:24px}.el-range-editor--mini.el-input__inner{height:28px}.el-range-editor--mini .el-range-separator{line-height:20px;font-size:12px}.el-range-editor--mini .el-range-input{font-size:12px}.el-range-editor--mini .el-range__close-icon,.el-range-editor--mini .el-range__icon{line-height:20px}.el-range-editor.is-disabled{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:#e4e7ed}.el-range-editor.is-disabled input{background-color:#f5f7fa;color:#c0c4cc;cursor:not-allowed}.el-range-editor.is-disabled input::-webkit-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input:-ms-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::-ms-input-placeholder{color:#c0c4cc}.el-range-editor.is-disabled input::placeholder{color:#c0c4cc}.el-range-editor.is-disabled .el-range-separator{color:#c0c4cc}.el-picker-panel{color:#606266;border:1px solid #e4e7ed;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);background:#fff;border-radius:4px;line-height:30px;margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{content:"";display:table;clear:both}.el-picker-panel__content{position:relative;margin:15px}.el-picker-panel__footer{border-top:1px solid #e4e4e4;padding:4px;text-align:right;background-color:#fff;position:relative;font-size:0}.el-picker-panel__shortcut{display:block;width:100%;border:0;background-color:transparent;line-height:28px;font-size:14px;color:#606266;padding-left:12px;text-align:left;outline:0;cursor:pointer}.el-picker-panel__shortcut:hover{color:#409eff}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:#409eff}.el-picker-panel__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-picker-panel__btn[disabled]{color:#ccc;cursor:not-allowed}.el-picker-panel__icon-btn{font-size:12px;color:#303133;border:0;background:0 0;cursor:pointer;outline:0;margin-top:8px}.el-picker-panel__icon-btn:hover{color:#409eff}.el-picker-panel__icon-btn.is-disabled{color:#bbb}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{position:absolute;top:0;bottom:0;width:110px;border-right:1px solid #e4e4e4;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:6px;background-color:#fff;overflow:auto}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{max-height:190px;overflow:auto;display:inline-block;width:50%;vertical-align:top;position:relative}.el-time-spinner__wrapper .el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__wrapper.is-arrow{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;overflow:hidden}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{-webkit-transform:translateY(-32px);transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.disabled):not(.active){background:#fff;cursor:default}.el-time-spinner__arrow{font-size:12px;color:#909399;position:absolute;left:0;width:100%;z-index:1;text-align:center;height:30px;line-height:30px;cursor:pointer}.el-time-spinner__arrow:hover{color:#409eff}.el-time-spinner__arrow.el-icon-arrow-up{top:10px}.el-time-spinner__arrow.el-icon-arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__list{margin:0;list-style:none}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;width:100%;height:80px}.el-time-spinner__item{height:32px;line-height:32px;font-size:12px;color:#606266}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#f5f7fa;cursor:pointer}.el-time-spinner__item.active:not(.disabled){color:#303133;font-weight:700}.el-time-spinner__item.disabled{color:#c0c4cc;cursor:not-allowed}.el-time-panel{margin:5px 0;border:1px solid #e4e7ed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);border-radius:2px;position:absolute;width:180px;left:0;z-index:1000;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:content-box;box-sizing:content-box}.el-time-panel__content{font-size:0;position:relative;overflow:hidden}.el-time-panel__content:after,.el-time-panel__content:before{content:"";top:50%;position:absolute;margin-top:-15px;height:32px;z-index:-1;left:0;right:0;-webkit-box-sizing:border-box;box-sizing:border-box;padding-top:6px;text-align:left;border-top:1px solid #e4e7ed;border-bottom:1px solid #e4e7ed}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{padding-left:50%;margin-right:12%;margin-left:12%}.el-time-panel__content.has-seconds:after{left:66.66667%}.el-time-panel__content.has-seconds:before{padding-left:33.33333%}.el-time-panel__footer{border-top:1px solid #e4e4e4;padding:4px;height:36px;line-height:25px;text-align:right;-webkit-box-sizing:border-box;box-sizing:border-box}.el-time-panel__btn{border:none;line-height:28px;padding:0 5px;margin:0 5px;cursor:pointer;background-color:transparent;outline:0;font-size:12px;color:#303133}.el-time-panel__btn.confirm{font-weight:800;color:#409eff}.el-time-range-picker{width:354px;overflow:visible}.el-time-range-picker__content{position:relative;text-align:center;padding:10px}.el-time-range-picker__cell{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:4px 7px 7px;width:50%;display:inline-block}.el-time-range-picker__header{margin-bottom:5px;text-align:center;font-size:14px}.el-time-range-picker__body{border-radius:2px;border:1px solid #e4e7ed}.el-popover{position:absolute;background:#fff;min-width:150px;border-radius:4px;border:1px solid #ebeef5;padding:12px;z-index:2000;color:#606266;line-height:1.4;text-align:justify;font-size:14px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);word-break:break-all}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover,.el-cascader__dropdown,.el-color-picker__panel,.el-message-box,.el-notification{-webkit-box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-popover--plain{padding:18px 20px}.el-popover__title{color:#303133;font-size:16px;line-height:1;margin-bottom:12px}.el-popover:focus,.el-popover:focus:active,.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.v-modal-enter{-webkit-animation:v-modal-in .2s ease;animation:v-modal-in .2s ease}.v-modal-leave{-webkit-animation:v-modal-out .2s ease forwards;animation:v-modal-out .2s ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{position:fixed;left:0;top:0;width:100%;height:100%;opacity:.5;background:#000}.el-popup-parent--hidden{overflow:hidden}.el-message-box{display:inline-block;width:420px;padding-bottom:10px;vertical-align:middle;background-color:#fff;border-radius:4px;border:1px solid #ebeef5;font-size:18px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);text-align:left;overflow:hidden;-webkit-backface-visibility:hidden;backface-visibility:hidden}.el-message-box__wrapper{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center}.el-message-box__wrapper:after{content:"";display:inline-block;height:100%;width:0;vertical-align:middle}.el-message-box__header{position:relative;padding:15px 15px 10px}.el-message-box__title{padding-left:0;margin-bottom:0;font-size:18px;line-height:1;color:#303133}.el-message-box__headerbtn{position:absolute;top:15px;right:15px;padding:0;border:none;outline:0;background:0 0;font-size:16px;cursor:pointer}.el-form-item.is-error .el-input__inner,.el-form-item.is-error .el-input__inner:focus,.el-form-item.is-error .el-textarea__inner,.el-form-item.is-error .el-textarea__inner:focus,.el-message-box__input input.invalid,.el-message-box__input input.invalid:focus{border-color:#f56c6c}.el-message-box__headerbtn .el-message-box__close{color:#909399}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:#409eff}.el-message-box__content{padding:10px 15px;color:#606266;font-size:14px}.el-message-box__container{position:relative}.el-message-box__input{padding-top:15px}.el-message-box__status{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:24px!important}.el-message-box__status:before{padding-left:1px}.el-message-box__status+.el-message-box__message{padding-left:36px;padding-right:12px}.el-message-box__status.el-icon-success{color:#67c23a}.el-message-box__status.el-icon-info{color:#909399}.el-message-box__status.el-icon-warning{color:#e6a23c}.el-message-box__status.el-icon-error{color:#f56c6c}.el-message-box__message{margin:0}.el-message-box__message p{margin:0;line-height:24px}.el-message-box__errormsg{color:#f56c6c;font-size:12px;min-height:18px;margin-top:2px}.el-message-box__btns{padding:5px 15px 0;text-align:right}.el-message-box__btns button:nth-child(2){margin-left:10px}.el-message-box__btns-reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.el-message-box--center{padding-bottom:30px}.el-message-box--center .el-message-box__header{padding-top:30px}.el-message-box--center .el-message-box__title{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-message-box--center .el-message-box__status{position:relative;top:auto;padding-right:5px;text-align:center;-webkit-transform:translateY(-1px);transform:translateY(-1px)}.el-message-box--center .el-message-box__message{margin-left:0}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__content{text-align:center}.el-message-box--center .el-message-box__content{padding-left:27px;padding-right:27px}.msgbox-fade-enter-active{-webkit-animation:msgbox-fade-in .3s;animation:msgbox-fade-in .3s}.msgbox-fade-leave-active{-webkit-animation:msgbox-fade-out .3s;animation:msgbox-fade-out .3s}@-webkit-keyframes msgbox-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes msgbox-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes msgbox-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes msgbox-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{display:table;content:""}.el-breadcrumb:after{clear:both}.el-breadcrumb__separator{margin:0 9px;font-weight:700;color:#c0c4cc}.el-breadcrumb__separator[class*=icon]{margin:0 6px;font-weight:400}.el-breadcrumb__item{float:left}.el-breadcrumb__inner{color:#606266}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{font-weight:700;text-decoration:none;-webkit-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1);color:#303133}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:#409eff;cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{font-weight:400;color:#606266;cursor:text}.el-form--label-left .el-form-item__label{text-align:left}.el-form--label-top .el-form-item__label{float:none;display:inline-block;text-align:left;padding:0 0 10px}.el-form--inline .el-form-item{display:inline-block;margin-right:10px;vertical-align:top}.el-form--inline .el-form-item__label{float:none;display:inline-block}.el-form--inline .el-form-item__content{display:inline-block;vertical-align:top}.el-form--inline.el-form--label-top .el-form-item__content{display:block}.el-form-item{margin-bottom:22px}.el-form-item:after,.el-form-item:before{display:table;content:""}.el-form-item:after{clear:both}.el-form-item .el-form-item{margin-bottom:0}.el-form-item--mini.el-form-item,.el-form-item--small.el-form-item{margin-bottom:18px}.el-form-item .el-input__validateIcon{display:none}.el-form-item--medium .el-form-item__content,.el-form-item--medium .el-form-item__label{line-height:36px}.el-form-item--small .el-form-item__content,.el-form-item--small .el-form-item__label{line-height:32px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--mini .el-form-item__content,.el-form-item--mini .el-form-item__label{line-height:28px}.el-form-item--mini .el-form-item__error{padding-top:1px}.el-form-item__label-wrap{float:left}.el-form-item__label-wrap .el-form-item__label{display:inline-block;float:none}.el-form-item__label{text-align:right;vertical-align:middle;float:left;font-size:14px;color:#606266;line-height:40px;padding:0 12px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.el-form-item__content{line-height:40px;position:relative;font-size:14px}.el-form-item__content:after,.el-form-item__content:before{display:table;content:""}.el-form-item__content:after{clear:both}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:#f56c6c;font-size:12px;line-height:1;padding-top:4px;position:absolute;top:100%;left:0}.el-form-item__error--inline{position:relative;top:auto;left:auto;display:inline-block;margin-left:10px}.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk)>.el-form-item__label:before{content:"*";color:#f56c6c;margin-right:4px}.el-form-item.is-error .el-input-group__append .el-input__inner,.el-form-item.is-error .el-input-group__prepend .el-input__inner{border-color:transparent}.el-form-item.is-error .el-input__validateIcon{color:#f56c6c}.el-form-item--feedback .el-input__validateIcon{display:inline-block}.el-tabs__header{padding:0;position:relative;margin:0 0 15px}.el-tabs__active-bar{position:absolute;bottom:0;left:0;height:2px;background-color:#409eff;z-index:1;-webkit-transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:-webkit-transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1);transition:transform .3s cubic-bezier(.645,.045,.355,1),-webkit-transform .3s cubic-bezier(.645,.045,.355,1);list-style:none}.el-tabs__new-tab{float:right;border:1px solid #d3dce6;height:18px;width:18px;line-height:18px;margin:12px 0 9px 10px;border-radius:3px;text-align:center;font-size:12px;color:#d3dce6;cursor:pointer;-webkit-transition:all .15s;transition:all .15s}.el-tabs__new-tab .el-icon-plus{-webkit-transform:scale(.8);transform:scale(.8)}.el-tabs__new-tab:hover{color:#409eff}.el-tabs__nav-wrap{overflow:hidden;margin-bottom:-1px;position:relative}.el-tabs__nav-wrap:after{content:"";position:absolute;left:0;bottom:0;width:100%;height:2px;background-color:#e4e7ed;z-index:1}.el-tabs__nav-wrap.is-scrollable{padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{position:absolute;cursor:pointer;line-height:44px;font-size:12px;color:#909399}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{white-space:nowrap;position:relative;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;float:left;z-index:2}.el-tabs__nav.is-stretch{min-width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.el-tabs__nav.is-stretch>*{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center}.el-tabs__item{padding:0 20px;height:40px;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:40px;display:inline-block;list-style:none;font-size:14px;font-weight:500;color:#303133;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:0}.el-tabs__item:focus.is-active.is-focus:not(:active){-webkit-box-shadow:inset 0 0 2px 2px #409eff;box-shadow:inset 0 0 2px 2px #409eff;border-radius:3px}.el-tabs__item .el-icon-close{border-radius:50%;text-align:center;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);margin-left:5px}.el-tabs__item .el-icon-close:before{-webkit-transform:scale(.9);transform:scale(.9);display:inline-block}.el-tabs--card>.el-tabs__header .el-tabs__active-bar,.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left,.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs__item .el-icon-close:hover{background-color:#c0c4cc;color:#fff}.el-tabs__item.is-active{color:#409eff}.el-tabs__item:hover{color:#409eff;cursor:pointer}.el-tabs__item.is-disabled{color:#c0c4cc;cursor:default}.el-tabs__content{overflow:hidden;position:relative}.el-tabs--card>.el-tabs__header{border-bottom:1px solid #e4e7ed}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid #e4e7ed;border-bottom:none;border-radius:4px 4px 0 0;-webkit-box-sizing:border-box;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__item .el-icon-close{position:relative;font-size:12px;width:0;height:14px;vertical-align:middle;line-height:15px;overflow:hidden;top:-1px;right:-2px;-webkit-transform-origin:100% 50%;transform-origin:100% 50%}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid #e4e7ed;-webkit-transition:color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1);transition:color .3s cubic-bezier(.645,.045,.355,1),padding .3s cubic-bezier(.645,.045,.355,1)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .el-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:#fff}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .el-icon-close{width:14px}.el-tabs--border-card{background:#fff;border:1px solid #dcdfe6;-webkit-box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04);box-shadow:0 2px 4px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:#f5f7fa;border-bottom:1px solid #e4e7ed;margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);border:1px solid transparent;margin-top:-1px;color:#909399}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-col-offset-0,.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{color:#409eff;background-color:#fff;border-right-color:#dcdfe6;border-left-color:#dcdfe6}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:#409eff}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:#c0c4cc}.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),.el-tabs--top .el-tabs__item.is-top:nth-child(2){padding-left:0}.el-tabs--bottom .el-tabs__item.is-bottom:last-child,.el-tabs--bottom .el-tabs__item.is-top:last-child,.el-tabs--top .el-tabs__item.is-bottom:last-child,.el-tabs--top .el-tabs__item.is-top:last-child{padding-right:0}.el-cascader-menu:last-child .el-cascader-node,.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--bottom .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--left>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top .el-tabs--right>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid #dcdfe6}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-top:-1px;margin-bottom:0}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{top:0;bottom:auto;width:2px;height:auto}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{height:30px;line-height:30px;width:100%;text-align:center;cursor:pointer}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{right:auto;bottom:0}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{right:0;left:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{height:100%;width:2px;bottom:auto;top:0}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{float:none}.el-tabs--left .el-tabs__item.is-left,.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-right{display:block}.el-tabs--left .el-tabs__header.is-left{float:left;margin-bottom:0;margin-right:10px}.el-button-group>.el-button:not(:last-child),.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-left:none;border-right:1px solid #e4e7ed;border-bottom:none;border-top:1px solid #e4e7ed;text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid #e4e7ed;border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid #e4e7ed;border-right-color:#fff;border-left:none;border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-radius:4px 0 0 4px;border-bottom:1px solid #e4e7ed;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid #dfe4ed}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:#d1dbe5 transparent}.el-tabs--right .el-tabs__header.is-right{float:right;margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid #e4e7ed}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid #e4e7ed;border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid #e4e7ed;border-left-color:#fff;border-right:none;border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-radius:0 4px 4px 0;border-bottom:1px solid #e4e7ed;border-left:none}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid #dfe4ed}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:#d1dbe5 transparent}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{-webkit-animation:slideInRight-enter .3s;animation:slideInRight-enter .3s}.slideInRight-leave{position:absolute;left:0;right:0;-webkit-animation:slideInRight-leave .3s;animation:slideInRight-leave .3s}.slideInLeft-enter{-webkit-animation:slideInLeft-enter .3s;animation:slideInLeft-enter .3s}.slideInLeft-leave{position:absolute;left:0;right:0;-webkit-animation:slideInLeft-leave .3s;animation:slideInLeft-leave .3s}@-webkit-keyframes slideInRight-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInRight-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slideInRight-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@keyframes slideInRight-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(100%);transform:translateX(100%);opacity:0}}@-webkit-keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes slideInLeft-enter{0%{opacity:0;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}to{opacity:1;-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0)}}@-webkit-keyframes slideInLeft-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}@keyframes slideInLeft-leave{0%{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(0);transform:translateX(0);opacity:1}to{-webkit-transform-origin:0 0;transform-origin:0 0;-webkit-transform:translateX(-100%);transform:translateX(-100%);opacity:0}}.el-tree{position:relative;cursor:default;background:#fff;color:#606266}.el-tree__empty-block{position:relative;min-height:60px;text-align:center;width:100%;height:100%}.el-tree__empty-text{position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);color:#909399;font-size:14px}.el-tree__drop-indicator{position:absolute;left:0;right:0;height:1px;background-color:#409eff}.el-tree-node{white-space:nowrap;outline:0}.el-tree-node:focus>.el-tree-node__content{background-color:#f5f7fa}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:#409eff;color:#fff}.el-tree-node__content:hover,.el-upload-list__item:hover{background-color:#f5f7fa}.el-tree-node__content{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:26px;cursor:pointer}.el-tree-node__content>.el-tree-node__expand-icon{padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{cursor:pointer;color:#c0c4cc;font-size:12px;-webkit-transform:rotate(0);transform:rotate(0);-webkit-transition:-webkit-transform .3s ease-in-out;transition:-webkit-transform .3s ease-in-out;transition:transform .3s ease-in-out;transition:transform .3s ease-in-out,-webkit-transform .3s ease-in-out}.el-tree-node__expand-icon.expanded{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default}.el-tree-node__label{font-size:14px}.el-tree-node__loading-icon{margin-right:8px;font-size:14px;color:#c0c4cc}.el-tree-node>.el-tree-node__children{overflow:hidden;background-color:transparent}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:#f0f7ff}.el-alert{width:100%;padding:8px 16px;margin:0;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;position:relative;background-color:#fff;overflow:hidden;opacity:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-transition:opacity .2s;transition:opacity .2s}.el-alert.is-light .el-alert__closebtn{color:#c0c4cc}.el-alert.is-dark .el-alert__closebtn,.el-alert.is-dark .el-alert__description{color:#fff}.el-alert.is-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-alert--success.is-light{background-color:#f0f9eb;color:#67c23a}.el-alert--success.is-light .el-alert__description{color:#67c23a}.el-alert--success.is-dark{background-color:#67c23a;color:#fff}.el-alert--info.is-light{background-color:#f4f4f5;color:#909399}.el-alert--info.is-dark{background-color:#909399;color:#fff}.el-alert--info .el-alert__description{color:#909399}.el-alert--warning.is-light{background-color:#fdf6ec;color:#e6a23c}.el-alert--warning.is-light .el-alert__description{color:#e6a23c}.el-alert--warning.is-dark{background-color:#e6a23c;color:#fff}.el-alert--error.is-light{background-color:#fef0f0;color:#f56c6c}.el-alert--error.is-light .el-alert__description{color:#f56c6c}.el-alert--error.is-dark{background-color:#f56c6c;color:#fff}.el-alert__content{display:table-cell;padding:0 8px}.el-alert__icon{font-size:16px;width:16px}.el-alert__icon.is-big{font-size:28px;width:28px}.el-alert__title{font-size:13px;line-height:18px}.el-alert__title.is-bold{font-weight:700}.el-alert .el-alert__description{font-size:12px;margin:5px 0 0}.el-alert__closebtn{font-size:12px;opacity:1;position:absolute;top:12px;right:15px;cursor:pointer}.el-alert-fade-enter,.el-alert-fade-leave-active,.el-loading-fade-enter,.el-loading-fade-leave-active,.el-notification-fade-leave-active,.el-upload iframe{opacity:0}.el-carousel__arrow--right,.el-notification.right{right:16px}.el-alert__closebtn.is-customed{font-style:normal;font-size:13px;top:9px}.el-notification{display:-webkit-box;display:-ms-flexbox;display:flex;width:330px;padding:14px 26px 14px 13px;border-radius:8px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #ebeef5;position:fixed;background-color:#fff;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);-webkit-transition:opacity .3s,left .3s,right .3s,top .4s,bottom .3s,-webkit-transform .3s;transition:opacity .3s,left .3s,right .3s,top .4s,bottom .3s,-webkit-transform .3s;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s;transition:opacity .3s,transform .3s,left .3s,right .3s,top .4s,bottom .3s,-webkit-transform .3s;overflow:hidden}.el-notification.left{left:16px}.el-notification__group{margin-left:13px;margin-right:8px}.el-notification__title{font-weight:700;font-size:16px;color:#303133;margin:0}.el-notification__content{font-size:14px;line-height:21px;margin:6px 0 0;color:#606266;text-align:justify}.el-notification__content p{margin:0}.el-notification__icon{height:24px;width:24px;font-size:24px}.el-notification__closeBtn{position:absolute;top:18px;right:15px;cursor:pointer;color:#909399;font-size:16px}.el-notification__closeBtn:hover{color:#606266}.el-notification .el-icon-success{color:#67c23a}.el-notification .el-icon-error{color:#f56c6c}.el-notification .el-icon-info{color:#909399}.el-notification .el-icon-warning{color:#e6a23c}.el-notification-fade-enter.right{right:0;-webkit-transform:translateX(100%);transform:translateX(100%)}.el-notification-fade-enter.left{left:0;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.el-input-number{position:relative;display:inline-block;width:180px;line-height:38px}.el-input-number .el-input{display:block}.el-input-number .el-input__inner{-webkit-appearance:none;padding-left:50px;padding-right:50px;text-align:center}.el-input-number__decrease,.el-input-number__increase{position:absolute;z-index:1;top:1px;width:40px;height:auto;text-align:center;background:#f5f7fa;color:#606266;cursor:pointer;font-size:13px}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:#409eff}.el-input-number__decrease:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled),.el-input-number__increase:hover:not(.is-disabled)~.el-input .el-input__inner:not(.is-disabled){border-color:#409eff}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-input-number__increase{right:1px;border-radius:0 4px 4px 0;border-left:1px solid #dcdfe6}.el-input-number__decrease{left:1px;border-radius:4px 0 0 4px;border-right:1px solid #dcdfe6}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:#e4e7ed;color:#e4e7ed}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:#e4e7ed;cursor:not-allowed}.el-input-number--medium{width:200px;line-height:34px}.el-input-number--medium .el-input-number__decrease,.el-input-number--medium .el-input-number__increase{width:36px;font-size:14px}.el-input-number--medium .el-input__inner{padding-left:43px;padding-right:43px}.el-input-number--small{width:130px;line-height:30px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{width:32px;font-size:13px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{-webkit-transform:scale(.9);transform:scale(.9)}.el-input-number--small .el-input__inner{padding-left:39px;padding-right:39px}.el-input-number--mini{width:130px;line-height:26px}.el-input-number--mini .el-input-number__decrease,.el-input-number--mini .el-input-number__increase{width:28px;font-size:12px}.el-input-number--mini .el-input-number__decrease [class*=el-icon],.el-input-number--mini .el-input-number__increase [class*=el-icon]{-webkit-transform:scale(.8);transform:scale(.8)}.el-input-number--mini .el-input__inner{padding-left:35px;padding-right:35px}.el-input-number.is-without-controls .el-input__inner{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__inner{padding-left:15px;padding-right:50px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{height:auto;line-height:19px}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{-webkit-transform:scale(.8);transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-radius:0 4px 0 0;border-bottom:1px solid #dcdfe6}.el-input-number.is-controls-right .el-input-number__decrease{right:1px;bottom:1px;top:auto;left:auto;border-right:none;border-left:1px solid #dcdfe6;border-radius:0 0 4px}.el-input-number.is-controls-right[class*=medium] [class*=decrease],.el-input-number.is-controls-right[class*=medium] [class*=increase]{line-height:17px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{line-height:15px}.el-input-number.is-controls-right[class*=mini] [class*=decrease],.el-input-number.is-controls-right[class*=mini] [class*=increase]{line-height:13px}.el-tooltip:focus:hover,.el-tooltip:focus:not(.focusing){outline-width:0}.el-tooltip__popper{position:absolute;border-radius:4px;padding:10px;z-index:2000;font-size:12px;line-height:1.2;min-width:10px;word-wrap:break-word}.el-tooltip__popper .popper__arrow,.el-tooltip__popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-tooltip__popper .popper__arrow{border-width:6px}.el-tooltip__popper .popper__arrow:after{content:" ";border-width:5px}.el-button-group:after,.el-button-group:before,.el-color-dropdown__main-wrapper:after,.el-link.is-underline:hover:after,.el-page-header__left:after,.el-progress-bar__inner:after,.el-row:after,.el-row:before,.el-slider:after,.el-slider:before,.el-slider__button-wrapper:after,.el-transfer-panel .el-transfer-panel__footer:after,.el-upload-cover:after,.el-upload-list--picture-card .el-upload-list__item-actions:after{content:""}.el-tooltip__popper[x-placement^=top]{margin-bottom:12px}.el-tooltip__popper[x-placement^=top] .popper__arrow{bottom:-6px;border-top-color:#303133;border-bottom-width:0}.el-tooltip__popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-5px;border-top-color:#303133;border-bottom-width:0}.el-tooltip__popper[x-placement^=bottom]{margin-top:12px}.el-tooltip__popper[x-placement^=bottom] .popper__arrow{top:-6px;border-top-width:0;border-bottom-color:#303133}.el-tooltip__popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-5px;border-top-width:0;border-bottom-color:#303133}.el-tooltip__popper[x-placement^=right]{margin-left:12px}.el-tooltip__popper[x-placement^=right] .popper__arrow{left:-6px;border-right-color:#303133;border-left-width:0}.el-tooltip__popper[x-placement^=right] .popper__arrow:after{bottom:-5px;left:1px;border-right-color:#303133;border-left-width:0}.el-tooltip__popper[x-placement^=left]{margin-right:12px}.el-tooltip__popper[x-placement^=left] .popper__arrow{right:-6px;border-right-width:0;border-left-color:#303133}.el-tooltip__popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-5px;margin-left:-5px;border-right-width:0;border-left-color:#303133}.el-tooltip__popper.is-dark{background:#303133;color:#fff}.el-tooltip__popper.is-light{background:#fff;border:1px solid #303133}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow{border-top-color:#303133}.el-tooltip__popper.is-light[x-placement^=top] .popper__arrow:after{border-top-color:#fff}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow{border-bottom-color:#303133}.el-tooltip__popper.is-light[x-placement^=bottom] .popper__arrow:after{border-bottom-color:#fff}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow{border-left-color:#303133}.el-tooltip__popper.is-light[x-placement^=left] .popper__arrow:after{border-left-color:#fff}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow{border-right-color:#303133}.el-tooltip__popper.is-light[x-placement^=right] .popper__arrow:after{border-right-color:#fff}.el-slider:after,.el-slider:before{display:table}.el-slider__button-wrapper .el-tooltip,.el-slider__button-wrapper:after{display:inline-block;vertical-align:middle}.el-slider:after{clear:both}.el-slider__runway{width:100%;height:6px;margin:16px 0;background-color:#e4e7ed;border-radius:3px;position:relative;cursor:pointer;vertical-align:middle}.el-slider__runway.show-input{margin-right:160px;width:auto}.el-slider__runway.disabled{cursor:default}.el-slider__runway.disabled .el-slider__bar{background-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button{border-color:#c0c4cc}.el-slider__runway.disabled .el-slider__button-wrapper.dragging,.el-slider__runway.disabled .el-slider__button-wrapper.hover,.el-slider__runway.disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.disabled .el-slider__button.dragging,.el-slider__runway.disabled .el-slider__button.hover,.el-slider__runway.disabled .el-slider__button:hover{-webkit-transform:scale(1);transform:scale(1);cursor:not-allowed}.el-slider__button-wrapper,.el-slider__stop{-webkit-transform:translateX(-50%);position:absolute}.el-slider__input{float:right;margin-top:3px;width:130px}.el-slider__input.el-input-number--mini{margin-top:5px}.el-slider__input.el-input-number--medium{margin-top:0}.el-slider__input.el-input-number--large{margin-top:-2px}.el-slider__bar{height:6px;background-color:#409eff;border-top-left-radius:3px;border-bottom-left-radius:3px;position:absolute}.el-slider__button-wrapper{height:36px;width:36px;z-index:1001;top:-15px;transform:translateX(-50%);background-color:transparent;text-align:center;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:normal}.el-image-viewer__btn,.el-slider__button,.el-step__icon-inner{-moz-user-select:none;-ms-user-select:none}.el-slider__button-wrapper:after{height:100%}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button-wrapper.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__button{width:16px;height:16px;border:2px solid #409eff;background-color:#fff;border-radius:50%;-webkit-transition:.2s;transition:.2s;-webkit-user-select:none;user-select:none}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{-webkit-transform:scale(1.2);transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:-webkit-grab;cursor:grab}.el-slider__button.dragging{cursor:-webkit-grabbing;cursor:grabbing}.el-slider__stop{height:6px;width:6px;border-radius:100%;background-color:#fff;transform:translateX(-50%)}.el-slider__marks{top:0;left:12px;width:18px;height:100%}.el-slider__marks-text{position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%);font-size:14px;color:#909399;margin-top:15px}.el-slider.is-vertical{position:relative}.el-slider.is-vertical .el-slider__runway{width:6px;height:100%;margin:0 16px}.el-slider.is-vertical .el-slider__bar{width:6px;height:auto;border-radius:0 0 3px 3px}.el-slider.is-vertical .el-slider__button-wrapper{top:auto;left:-15px}.el-slider.is-vertical .el-slider__button-wrapper,.el-slider.is-vertical .el-slider__stop{-webkit-transform:translateY(50%);transform:translateY(50%)}.el-slider.is-vertical.el-slider--with-input{padding-bottom:58px}.el-slider.is-vertical.el-slider--with-input .el-slider__input{overflow:visible;float:none;position:absolute;bottom:22px;width:36px;margin-top:15px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input__inner{text-align:center;padding-left:5px;padding-right:5px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{top:32px;margin-top:-1px;border:1px solid #dcdfe6;line-height:20px;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__decrease{width:18px;right:18px;border-bottom-left-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase{width:19px;border-bottom-right-radius:4px}.el-slider.is-vertical.el-slider--with-input .el-slider__input .el-input-number__increase~.el-input .el-input__inner{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:hover .el-input-number__increase{border-color:#c0c4cc}.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__decrease,.el-slider.is-vertical.el-slider--with-input .el-slider__input:active .el-input-number__increase{border-color:#409eff}.el-slider.is-vertical .el-slider__marks-text{margin-top:0;left:15px;-webkit-transform:translateY(50%);transform:translateY(50%)}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{position:absolute;z-index:2000;background-color:hsla(0,0%,100%,.9);margin:0;top:0;right:0;bottom:0;left:0;-webkit-transition:opacity .3s;transition:opacity .3s}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:-25px}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:50px;width:50px}.el-loading-spinner{top:50%;margin-top:-21px;width:100%;text-align:center;position:absolute}.el-col-pull-0,.el-col-pull-1,.el-col-pull-10,.el-col-pull-11,.el-col-pull-12,.el-col-pull-13,.el-col-pull-14,.el-col-pull-15,.el-col-pull-16,.el-col-pull-17,.el-col-pull-18,.el-col-pull-19,.el-col-pull-2,.el-col-pull-20,.el-col-pull-21,.el-col-pull-22,.el-col-pull-23,.el-col-pull-24,.el-col-pull-3,.el-col-pull-4,.el-col-pull-5,.el-col-pull-6,.el-col-pull-7,.el-col-pull-8,.el-col-pull-9,.el-col-push-0,.el-col-push-1,.el-col-push-10,.el-col-push-11,.el-col-push-12,.el-col-push-13,.el-col-push-14,.el-col-push-15,.el-col-push-16,.el-col-push-17,.el-col-push-18,.el-col-push-19,.el-col-push-2,.el-col-push-20,.el-col-push-21,.el-col-push-22,.el-col-push-23,.el-col-push-24,.el-col-push-3,.el-col-push-4,.el-col-push-5,.el-col-push-6,.el-col-push-7,.el-col-push-8,.el-col-push-9,.el-row,.el-upload-dragger,.el-upload-list__item{position:relative}.el-loading-spinner .el-loading-text{color:#409eff;margin:3px 0;font-size:14px}.el-loading-spinner .circular{height:42px;width:42px;-webkit-animation:loading-rotate 2s linear infinite;animation:loading-rotate 2s linear infinite}.el-loading-spinner .path{-webkit-animation:loading-dash 1.5s ease-in-out infinite;animation:loading-dash 1.5s ease-in-out infinite;stroke-dasharray:90,150;stroke-dashoffset:0;stroke-width:2;stroke:#409eff;stroke-linecap:round}.el-loading-spinner i{color:#409eff}@-webkit-keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes loading-rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-row{-webkit-box-sizing:border-box;box-sizing:border-box}.el-row:after,.el-row:before{display:table}.el-row:after{clear:both}.el-row--flex{display:-webkit-box;display:-ms-flexbox;display:flex}.el-col-0,.el-row--flex:after,.el-row--flex:before{display:none}.el-row--flex.is-justify-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-row--flex.is-justify-end{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.el-row--flex.is-justify-space-between{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.el-row--flex.is-justify-space-around{-ms-flex-pack:distribute;justify-content:space-around}.el-row--flex.is-align-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.el-row--flex.is-align-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-row--flex.is-align-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}[class*=el-col-]{float:left;-webkit-box-sizing:border-box;box-sizing:border-box}.el-col-0{width:0}.el-col-pull-0{right:0}.el-col-push-0{left:0}.el-col-1{width:4.16667%}.el-col-offset-1{margin-left:4.16667%}.el-col-pull-1{right:4.16667%}.el-col-push-1{left:4.16667%}.el-col-2{width:8.33333%}.el-col-offset-2{margin-left:8.33333%}.el-col-pull-2{right:8.33333%}.el-col-push-2{left:8.33333%}.el-col-3{width:12.5%}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{right:12.5%}.el-col-push-3{left:12.5%}.el-col-4{width:16.66667%}.el-col-offset-4{margin-left:16.66667%}.el-col-pull-4{right:16.66667%}.el-col-push-4{left:16.66667%}.el-col-5{width:20.83333%}.el-col-offset-5{margin-left:20.83333%}.el-col-pull-5{right:20.83333%}.el-col-push-5{left:20.83333%}.el-col-6{width:25%}.el-col-offset-6{margin-left:25%}.el-col-pull-6{right:25%}.el-col-push-6{left:25%}.el-col-7{width:29.16667%}.el-col-offset-7{margin-left:29.16667%}.el-col-pull-7{right:29.16667%}.el-col-push-7{left:29.16667%}.el-col-8{width:33.33333%}.el-col-offset-8{margin-left:33.33333%}.el-col-pull-8{right:33.33333%}.el-col-push-8{left:33.33333%}.el-col-9{width:37.5%}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{right:37.5%}.el-col-push-9{left:37.5%}.el-col-10{width:41.66667%}.el-col-offset-10{margin-left:41.66667%}.el-col-pull-10{right:41.66667%}.el-col-push-10{left:41.66667%}.el-col-11{width:45.83333%}.el-col-offset-11{margin-left:45.83333%}.el-col-pull-11{right:45.83333%}.el-col-push-11{left:45.83333%}.el-col-12{width:50%}.el-col-offset-12{margin-left:50%}.el-col-pull-12{right:50%}.el-col-push-12{left:50%}.el-col-13{width:54.16667%}.el-col-offset-13{margin-left:54.16667%}.el-col-pull-13{right:54.16667%}.el-col-push-13{left:54.16667%}.el-col-14{width:58.33333%}.el-col-offset-14{margin-left:58.33333%}.el-col-pull-14{right:58.33333%}.el-col-push-14{left:58.33333%}.el-col-15{width:62.5%}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{right:62.5%}.el-col-push-15{left:62.5%}.el-col-16{width:66.66667%}.el-col-offset-16{margin-left:66.66667%}.el-col-pull-16{right:66.66667%}.el-col-push-16{left:66.66667%}.el-col-17{width:70.83333%}.el-col-offset-17{margin-left:70.83333%}.el-col-pull-17{right:70.83333%}.el-col-push-17{left:70.83333%}.el-col-18{width:75%}.el-col-offset-18{margin-left:75%}.el-col-pull-18{right:75%}.el-col-push-18{left:75%}.el-col-19{width:79.16667%}.el-col-offset-19{margin-left:79.16667%}.el-col-pull-19{right:79.16667%}.el-col-push-19{left:79.16667%}.el-col-20{width:83.33333%}.el-col-offset-20{margin-left:83.33333%}.el-col-pull-20{right:83.33333%}.el-col-push-20{left:83.33333%}.el-col-21{width:87.5%}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{right:87.5%}.el-col-push-21{left:87.5%}.el-col-22{width:91.66667%}.el-col-offset-22{margin-left:91.66667%}.el-col-pull-22{right:91.66667%}.el-col-push-22{left:91.66667%}.el-col-23{width:95.83333%}.el-col-offset-23{margin-left:95.83333%}.el-col-pull-23{right:95.83333%}.el-col-push-23{left:95.83333%}.el-col-24{width:100%}.el-col-offset-24{margin-left:100%}.el-col-pull-24{right:100%}.el-col-push-24{left:100%}@media only screen and (max-width:767px){.el-col-xs-0{display:none;width:0}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{position:relative;left:0}.el-col-xs-1{width:4.16667%}.el-col-xs-offset-1{margin-left:4.16667%}.el-col-xs-pull-1{position:relative;right:4.16667%}.el-col-xs-push-1{position:relative;left:4.16667%}.el-col-xs-2{width:8.33333%}.el-col-xs-offset-2{margin-left:8.33333%}.el-col-xs-pull-2{position:relative;right:8.33333%}.el-col-xs-push-2{position:relative;left:8.33333%}.el-col-xs-3{width:12.5%}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{position:relative;left:12.5%}.el-col-xs-4{width:16.66667%}.el-col-xs-offset-4{margin-left:16.66667%}.el-col-xs-pull-4{position:relative;right:16.66667%}.el-col-xs-push-4{position:relative;left:16.66667%}.el-col-xs-5{width:20.83333%}.el-col-xs-offset-5{margin-left:20.83333%}.el-col-xs-pull-5{position:relative;right:20.83333%}.el-col-xs-push-5{position:relative;left:20.83333%}.el-col-xs-6{width:25%}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{position:relative;left:25%}.el-col-xs-7{width:29.16667%}.el-col-xs-offset-7{margin-left:29.16667%}.el-col-xs-pull-7{position:relative;right:29.16667%}.el-col-xs-push-7{position:relative;left:29.16667%}.el-col-xs-8{width:33.33333%}.el-col-xs-offset-8{margin-left:33.33333%}.el-col-xs-pull-8{position:relative;right:33.33333%}.el-col-xs-push-8{position:relative;left:33.33333%}.el-col-xs-9{width:37.5%}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{position:relative;left:37.5%}.el-col-xs-10{width:41.66667%}.el-col-xs-offset-10{margin-left:41.66667%}.el-col-xs-pull-10{position:relative;right:41.66667%}.el-col-xs-push-10{position:relative;left:41.66667%}.el-col-xs-11{width:45.83333%}.el-col-xs-offset-11{margin-left:45.83333%}.el-col-xs-pull-11{position:relative;right:45.83333%}.el-col-xs-push-11{position:relative;left:45.83333%}.el-col-xs-12{width:50%}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{position:relative;left:50%}.el-col-xs-13{width:54.16667%}.el-col-xs-offset-13{margin-left:54.16667%}.el-col-xs-pull-13{position:relative;right:54.16667%}.el-col-xs-push-13{position:relative;left:54.16667%}.el-col-xs-14{width:58.33333%}.el-col-xs-offset-14{margin-left:58.33333%}.el-col-xs-pull-14{position:relative;right:58.33333%}.el-col-xs-push-14{position:relative;left:58.33333%}.el-col-xs-15{width:62.5%}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{position:relative;left:62.5%}.el-col-xs-16{width:66.66667%}.el-col-xs-offset-16{margin-left:66.66667%}.el-col-xs-pull-16{position:relative;right:66.66667%}.el-col-xs-push-16{position:relative;left:66.66667%}.el-col-xs-17{width:70.83333%}.el-col-xs-offset-17{margin-left:70.83333%}.el-col-xs-pull-17{position:relative;right:70.83333%}.el-col-xs-push-17{position:relative;left:70.83333%}.el-col-xs-18{width:75%}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{position:relative;left:75%}.el-col-xs-19{width:79.16667%}.el-col-xs-offset-19{margin-left:79.16667%}.el-col-xs-pull-19{position:relative;right:79.16667%}.el-col-xs-push-19{position:relative;left:79.16667%}.el-col-xs-20{width:83.33333%}.el-col-xs-offset-20{margin-left:83.33333%}.el-col-xs-pull-20{position:relative;right:83.33333%}.el-col-xs-push-20{position:relative;left:83.33333%}.el-col-xs-21{width:87.5%}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{position:relative;left:87.5%}.el-col-xs-22{width:91.66667%}.el-col-xs-offset-22{margin-left:91.66667%}.el-col-xs-pull-22{position:relative;right:91.66667%}.el-col-xs-push-22{position:relative;left:91.66667%}.el-col-xs-23{width:95.83333%}.el-col-xs-offset-23{margin-left:95.83333%}.el-col-xs-pull-23{position:relative;right:95.83333%}.el-col-xs-push-23{position:relative;left:95.83333%}.el-col-xs-24{width:100%}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{position:relative;left:100%}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;width:0}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{position:relative;left:0}.el-col-sm-1{width:4.16667%}.el-col-sm-offset-1{margin-left:4.16667%}.el-col-sm-pull-1{position:relative;right:4.16667%}.el-col-sm-push-1{position:relative;left:4.16667%}.el-col-sm-2{width:8.33333%}.el-col-sm-offset-2{margin-left:8.33333%}.el-col-sm-pull-2{position:relative;right:8.33333%}.el-col-sm-push-2{position:relative;left:8.33333%}.el-col-sm-3{width:12.5%}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{position:relative;left:12.5%}.el-col-sm-4{width:16.66667%}.el-col-sm-offset-4{margin-left:16.66667%}.el-col-sm-pull-4{position:relative;right:16.66667%}.el-col-sm-push-4{position:relative;left:16.66667%}.el-col-sm-5{width:20.83333%}.el-col-sm-offset-5{margin-left:20.83333%}.el-col-sm-pull-5{position:relative;right:20.83333%}.el-col-sm-push-5{position:relative;left:20.83333%}.el-col-sm-6{width:25%}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{position:relative;left:25%}.el-col-sm-7{width:29.16667%}.el-col-sm-offset-7{margin-left:29.16667%}.el-col-sm-pull-7{position:relative;right:29.16667%}.el-col-sm-push-7{position:relative;left:29.16667%}.el-col-sm-8{width:33.33333%}.el-col-sm-offset-8{margin-left:33.33333%}.el-col-sm-pull-8{position:relative;right:33.33333%}.el-col-sm-push-8{position:relative;left:33.33333%}.el-col-sm-9{width:37.5%}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{position:relative;left:37.5%}.el-col-sm-10{width:41.66667%}.el-col-sm-offset-10{margin-left:41.66667%}.el-col-sm-pull-10{position:relative;right:41.66667%}.el-col-sm-push-10{position:relative;left:41.66667%}.el-col-sm-11{width:45.83333%}.el-col-sm-offset-11{margin-left:45.83333%}.el-col-sm-pull-11{position:relative;right:45.83333%}.el-col-sm-push-11{position:relative;left:45.83333%}.el-col-sm-12{width:50%}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{position:relative;left:50%}.el-col-sm-13{width:54.16667%}.el-col-sm-offset-13{margin-left:54.16667%}.el-col-sm-pull-13{position:relative;right:54.16667%}.el-col-sm-push-13{position:relative;left:54.16667%}.el-col-sm-14{width:58.33333%}.el-col-sm-offset-14{margin-left:58.33333%}.el-col-sm-pull-14{position:relative;right:58.33333%}.el-col-sm-push-14{position:relative;left:58.33333%}.el-col-sm-15{width:62.5%}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{position:relative;left:62.5%}.el-col-sm-16{width:66.66667%}.el-col-sm-offset-16{margin-left:66.66667%}.el-col-sm-pull-16{position:relative;right:66.66667%}.el-col-sm-push-16{position:relative;left:66.66667%}.el-col-sm-17{width:70.83333%}.el-col-sm-offset-17{margin-left:70.83333%}.el-col-sm-pull-17{position:relative;right:70.83333%}.el-col-sm-push-17{position:relative;left:70.83333%}.el-col-sm-18{width:75%}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{position:relative;left:75%}.el-col-sm-19{width:79.16667%}.el-col-sm-offset-19{margin-left:79.16667%}.el-col-sm-pull-19{position:relative;right:79.16667%}.el-col-sm-push-19{position:relative;left:79.16667%}.el-col-sm-20{width:83.33333%}.el-col-sm-offset-20{margin-left:83.33333%}.el-col-sm-pull-20{position:relative;right:83.33333%}.el-col-sm-push-20{position:relative;left:83.33333%}.el-col-sm-21{width:87.5%}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{position:relative;left:87.5%}.el-col-sm-22{width:91.66667%}.el-col-sm-offset-22{margin-left:91.66667%}.el-col-sm-pull-22{position:relative;right:91.66667%}.el-col-sm-push-22{position:relative;left:91.66667%}.el-col-sm-23{width:95.83333%}.el-col-sm-offset-23{margin-left:95.83333%}.el-col-sm-pull-23{position:relative;right:95.83333%}.el-col-sm-push-23{position:relative;left:95.83333%}.el-col-sm-24{width:100%}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{position:relative;left:100%}}@media only screen and (min-width:992px){.el-col-md-0{display:none;width:0}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{position:relative;left:0}.el-col-md-1{width:4.16667%}.el-col-md-offset-1{margin-left:4.16667%}.el-col-md-pull-1{position:relative;right:4.16667%}.el-col-md-push-1{position:relative;left:4.16667%}.el-col-md-2{width:8.33333%}.el-col-md-offset-2{margin-left:8.33333%}.el-col-md-pull-2{position:relative;right:8.33333%}.el-col-md-push-2{position:relative;left:8.33333%}.el-col-md-3{width:12.5%}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{position:relative;left:12.5%}.el-col-md-4{width:16.66667%}.el-col-md-offset-4{margin-left:16.66667%}.el-col-md-pull-4{position:relative;right:16.66667%}.el-col-md-push-4{position:relative;left:16.66667%}.el-col-md-5{width:20.83333%}.el-col-md-offset-5{margin-left:20.83333%}.el-col-md-pull-5{position:relative;right:20.83333%}.el-col-md-push-5{position:relative;left:20.83333%}.el-col-md-6{width:25%}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{position:relative;left:25%}.el-col-md-7{width:29.16667%}.el-col-md-offset-7{margin-left:29.16667%}.el-col-md-pull-7{position:relative;right:29.16667%}.el-col-md-push-7{position:relative;left:29.16667%}.el-col-md-8{width:33.33333%}.el-col-md-offset-8{margin-left:33.33333%}.el-col-md-pull-8{position:relative;right:33.33333%}.el-col-md-push-8{position:relative;left:33.33333%}.el-col-md-9{width:37.5%}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{position:relative;left:37.5%}.el-col-md-10{width:41.66667%}.el-col-md-offset-10{margin-left:41.66667%}.el-col-md-pull-10{position:relative;right:41.66667%}.el-col-md-push-10{position:relative;left:41.66667%}.el-col-md-11{width:45.83333%}.el-col-md-offset-11{margin-left:45.83333%}.el-col-md-pull-11{position:relative;right:45.83333%}.el-col-md-push-11{position:relative;left:45.83333%}.el-col-md-12{width:50%}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{position:relative;left:50%}.el-col-md-13{width:54.16667%}.el-col-md-offset-13{margin-left:54.16667%}.el-col-md-pull-13{position:relative;right:54.16667%}.el-col-md-push-13{position:relative;left:54.16667%}.el-col-md-14{width:58.33333%}.el-col-md-offset-14{margin-left:58.33333%}.el-col-md-pull-14{position:relative;right:58.33333%}.el-col-md-push-14{position:relative;left:58.33333%}.el-col-md-15{width:62.5%}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{position:relative;left:62.5%}.el-col-md-16{width:66.66667%}.el-col-md-offset-16{margin-left:66.66667%}.el-col-md-pull-16{position:relative;right:66.66667%}.el-col-md-push-16{position:relative;left:66.66667%}.el-col-md-17{width:70.83333%}.el-col-md-offset-17{margin-left:70.83333%}.el-col-md-pull-17{position:relative;right:70.83333%}.el-col-md-push-17{position:relative;left:70.83333%}.el-col-md-18{width:75%}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{position:relative;left:75%}.el-col-md-19{width:79.16667%}.el-col-md-offset-19{margin-left:79.16667%}.el-col-md-pull-19{position:relative;right:79.16667%}.el-col-md-push-19{position:relative;left:79.16667%}.el-col-md-20{width:83.33333%}.el-col-md-offset-20{margin-left:83.33333%}.el-col-md-pull-20{position:relative;right:83.33333%}.el-col-md-push-20{position:relative;left:83.33333%}.el-col-md-21{width:87.5%}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{position:relative;left:87.5%}.el-col-md-22{width:91.66667%}.el-col-md-offset-22{margin-left:91.66667%}.el-col-md-pull-22{position:relative;right:91.66667%}.el-col-md-push-22{position:relative;left:91.66667%}.el-col-md-23{width:95.83333%}.el-col-md-offset-23{margin-left:95.83333%}.el-col-md-pull-23{position:relative;right:95.83333%}.el-col-md-push-23{position:relative;left:95.83333%}.el-col-md-24{width:100%}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{position:relative;left:100%}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;width:0}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{position:relative;left:0}.el-col-lg-1{width:4.16667%}.el-col-lg-offset-1{margin-left:4.16667%}.el-col-lg-pull-1{position:relative;right:4.16667%}.el-col-lg-push-1{position:relative;left:4.16667%}.el-col-lg-2{width:8.33333%}.el-col-lg-offset-2{margin-left:8.33333%}.el-col-lg-pull-2{position:relative;right:8.33333%}.el-col-lg-push-2{position:relative;left:8.33333%}.el-col-lg-3{width:12.5%}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{position:relative;left:12.5%}.el-col-lg-4{width:16.66667%}.el-col-lg-offset-4{margin-left:16.66667%}.el-col-lg-pull-4{position:relative;right:16.66667%}.el-col-lg-push-4{position:relative;left:16.66667%}.el-col-lg-5{width:20.83333%}.el-col-lg-offset-5{margin-left:20.83333%}.el-col-lg-pull-5{position:relative;right:20.83333%}.el-col-lg-push-5{position:relative;left:20.83333%}.el-col-lg-6{width:25%}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{position:relative;left:25%}.el-col-lg-7{width:29.16667%}.el-col-lg-offset-7{margin-left:29.16667%}.el-col-lg-pull-7{position:relative;right:29.16667%}.el-col-lg-push-7{position:relative;left:29.16667%}.el-col-lg-8{width:33.33333%}.el-col-lg-offset-8{margin-left:33.33333%}.el-col-lg-pull-8{position:relative;right:33.33333%}.el-col-lg-push-8{position:relative;left:33.33333%}.el-col-lg-9{width:37.5%}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{position:relative;left:37.5%}.el-col-lg-10{width:41.66667%}.el-col-lg-offset-10{margin-left:41.66667%}.el-col-lg-pull-10{position:relative;right:41.66667%}.el-col-lg-push-10{position:relative;left:41.66667%}.el-col-lg-11{width:45.83333%}.el-col-lg-offset-11{margin-left:45.83333%}.el-col-lg-pull-11{position:relative;right:45.83333%}.el-col-lg-push-11{position:relative;left:45.83333%}.el-col-lg-12{width:50%}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{position:relative;left:50%}.el-col-lg-13{width:54.16667%}.el-col-lg-offset-13{margin-left:54.16667%}.el-col-lg-pull-13{position:relative;right:54.16667%}.el-col-lg-push-13{position:relative;left:54.16667%}.el-col-lg-14{width:58.33333%}.el-col-lg-offset-14{margin-left:58.33333%}.el-col-lg-pull-14{position:relative;right:58.33333%}.el-col-lg-push-14{position:relative;left:58.33333%}.el-col-lg-15{width:62.5%}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{position:relative;left:62.5%}.el-col-lg-16{width:66.66667%}.el-col-lg-offset-16{margin-left:66.66667%}.el-col-lg-pull-16{position:relative;right:66.66667%}.el-col-lg-push-16{position:relative;left:66.66667%}.el-col-lg-17{width:70.83333%}.el-col-lg-offset-17{margin-left:70.83333%}.el-col-lg-pull-17{position:relative;right:70.83333%}.el-col-lg-push-17{position:relative;left:70.83333%}.el-col-lg-18{width:75%}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{position:relative;left:75%}.el-col-lg-19{width:79.16667%}.el-col-lg-offset-19{margin-left:79.16667%}.el-col-lg-pull-19{position:relative;right:79.16667%}.el-col-lg-push-19{position:relative;left:79.16667%}.el-col-lg-20{width:83.33333%}.el-col-lg-offset-20{margin-left:83.33333%}.el-col-lg-pull-20{position:relative;right:83.33333%}.el-col-lg-push-20{position:relative;left:83.33333%}.el-col-lg-21{width:87.5%}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{position:relative;left:87.5%}.el-col-lg-22{width:91.66667%}.el-col-lg-offset-22{margin-left:91.66667%}.el-col-lg-pull-22{position:relative;right:91.66667%}.el-col-lg-push-22{position:relative;left:91.66667%}.el-col-lg-23{width:95.83333%}.el-col-lg-offset-23{margin-left:95.83333%}.el-col-lg-pull-23{position:relative;right:95.83333%}.el-col-lg-push-23{position:relative;left:95.83333%}.el-col-lg-24{width:100%}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{position:relative;left:100%}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;width:0}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{position:relative;left:0}.el-col-xl-1{width:4.16667%}.el-col-xl-offset-1{margin-left:4.16667%}.el-col-xl-pull-1{position:relative;right:4.16667%}.el-col-xl-push-1{position:relative;left:4.16667%}.el-col-xl-2{width:8.33333%}.el-col-xl-offset-2{margin-left:8.33333%}.el-col-xl-pull-2{position:relative;right:8.33333%}.el-col-xl-push-2{position:relative;left:8.33333%}.el-col-xl-3{width:12.5%}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{position:relative;left:12.5%}.el-col-xl-4{width:16.66667%}.el-col-xl-offset-4{margin-left:16.66667%}.el-col-xl-pull-4{position:relative;right:16.66667%}.el-col-xl-push-4{position:relative;left:16.66667%}.el-col-xl-5{width:20.83333%}.el-col-xl-offset-5{margin-left:20.83333%}.el-col-xl-pull-5{position:relative;right:20.83333%}.el-col-xl-push-5{position:relative;left:20.83333%}.el-col-xl-6{width:25%}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{position:relative;left:25%}.el-col-xl-7{width:29.16667%}.el-col-xl-offset-7{margin-left:29.16667%}.el-col-xl-pull-7{position:relative;right:29.16667%}.el-col-xl-push-7{position:relative;left:29.16667%}.el-col-xl-8{width:33.33333%}.el-col-xl-offset-8{margin-left:33.33333%}.el-col-xl-pull-8{position:relative;right:33.33333%}.el-col-xl-push-8{position:relative;left:33.33333%}.el-col-xl-9{width:37.5%}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{position:relative;left:37.5%}.el-col-xl-10{width:41.66667%}.el-col-xl-offset-10{margin-left:41.66667%}.el-col-xl-pull-10{position:relative;right:41.66667%}.el-col-xl-push-10{position:relative;left:41.66667%}.el-col-xl-11{width:45.83333%}.el-col-xl-offset-11{margin-left:45.83333%}.el-col-xl-pull-11{position:relative;right:45.83333%}.el-col-xl-push-11{position:relative;left:45.83333%}.el-col-xl-12{width:50%}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{position:relative;left:50%}.el-col-xl-13{width:54.16667%}.el-col-xl-offset-13{margin-left:54.16667%}.el-col-xl-pull-13{position:relative;right:54.16667%}.el-col-xl-push-13{position:relative;left:54.16667%}.el-col-xl-14{width:58.33333%}.el-col-xl-offset-14{margin-left:58.33333%}.el-col-xl-pull-14{position:relative;right:58.33333%}.el-col-xl-push-14{position:relative;left:58.33333%}.el-col-xl-15{width:62.5%}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{position:relative;left:62.5%}.el-col-xl-16{width:66.66667%}.el-col-xl-offset-16{margin-left:66.66667%}.el-col-xl-pull-16{position:relative;right:66.66667%}.el-col-xl-push-16{position:relative;left:66.66667%}.el-col-xl-17{width:70.83333%}.el-col-xl-offset-17{margin-left:70.83333%}.el-col-xl-pull-17{position:relative;right:70.83333%}.el-col-xl-push-17{position:relative;left:70.83333%}.el-col-xl-18{width:75%}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{position:relative;left:75%}.el-col-xl-19{width:79.16667%}.el-col-xl-offset-19{margin-left:79.16667%}.el-col-xl-pull-19{position:relative;right:79.16667%}.el-col-xl-push-19{position:relative;left:79.16667%}.el-col-xl-20{width:83.33333%}.el-col-xl-offset-20{margin-left:83.33333%}.el-col-xl-pull-20{position:relative;right:83.33333%}.el-col-xl-push-20{position:relative;left:83.33333%}.el-col-xl-21{width:87.5%}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{position:relative;left:87.5%}.el-col-xl-22{width:91.66667%}.el-col-xl-offset-22{margin-left:91.66667%}.el-col-xl-pull-22{position:relative;right:91.66667%}.el-col-xl-push-22{position:relative;left:91.66667%}.el-col-xl-23{width:95.83333%}.el-col-xl-offset-23{margin-left:95.83333%}.el-col-xl-pull-23{position:relative;right:95.83333%}.el-col-xl-push-23{position:relative;left:95.83333%}.el-col-xl-24{width:100%}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{position:relative;left:100%}}@-webkit-keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-upload{display:inline-block;text-align:center;cursor:pointer;outline:0}.el-upload__input{display:none}.el-upload__tip{font-size:12px;color:#606266;margin-top:7px}.el-upload iframe{position:absolute;z-index:-1;top:0;left:0;filter:alpha(opacity=0)}.el-upload--picture-card{background-color:#fbfdff;border:1px dashed #c0ccda;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;width:148px;height:148px;cursor:pointer;line-height:146px;vertical-align:top}.el-upload--picture-card i{font-size:28px;color:#8c939d}.el-upload--picture-card:hover,.el-upload:focus{border-color:#409eff;color:#409eff}.el-upload:focus .el-upload-dragger{border-color:#409eff}.el-upload-dragger{background-color:#fff;border:1px dashed #d9d9d9;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;width:360px;height:180px;text-align:center;cursor:pointer;overflow:hidden}.el-upload-dragger .el-icon-upload{font-size:67px;color:#c0c4cc;margin:40px 0 16px;line-height:50px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:1px solid #dcdfe6;margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:#606266;font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:#409eff;font-style:normal}.el-upload-dragger:hover{border-color:#409eff}.el-upload-dragger.is-dragover{background-color:rgba(32,159,255,.06);border:2px dashed #409eff}.el-upload-list{margin:0;padding:0;list-style:none}.el-upload-list__item{-webkit-transition:all .5s cubic-bezier(.55,0,.1,1);transition:all .5s cubic-bezier(.55,0,.1,1);font-size:14px;color:#606266;line-height:1.8;margin-top:5px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item:first-child{margin-top:10px}.el-upload-list__item .el-icon-upload-success{color:#67c23a}.el-upload-list__item .el-icon-close{display:none;position:absolute;top:5px;right:5px;cursor:pointer;opacity:.75;color:#606266}.el-upload-list__item .el-icon-close:hover{opacity:1}.el-upload-list__item .el-icon-close-tip{display:none;position:absolute;top:5px;right:5px;font-size:12px;cursor:pointer;opacity:1;color:#409eff}.el-upload-list__item:hover .el-icon-close{display:inline-block}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:block}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:#409eff;cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon-close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon-close-tip,.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label,.el-upload-list__item.is-success:not(.focusing):focus .el-icon-close-tip{display:none}.el-upload-list.is-disabled .el-upload-list__item:hover .el-upload-list__item-status-label{display:block}.el-upload-list__item-name{color:#606266;display:block;margin-right:40px;overflow:hidden;padding-left:4px;text-overflow:ellipsis;-webkit-transition:color .3s;transition:color .3s;white-space:nowrap}.el-upload-list__item-name [class^=el-icon]{height:100%;margin-right:7px;color:#909399;line-height:inherit}.el-upload-list__item-status-label{position:absolute;right:5px;top:0;line-height:inherit;display:none}.el-upload-list__item-delete{position:absolute;right:10px;top:0;font-size:12px;color:#606266;display:none}.el-upload-list__item-delete:hover{color:#409eff}.el-upload-list--picture-card{margin:0;display:inline;vertical-align:top}.el-upload-list--picture-card .el-upload-list__item{overflow:hidden;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;width:148px;height:148px;margin:0 8px 8px 0;display:inline-block}.el-upload-list--picture-card .el-upload-list__item .el-icon-check,.el-upload-list--picture-card .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon-close,.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{width:100%;height:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-shadow:0 0 1pc 1px rgba(0,0,0,.2);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{position:absolute;width:100%;height:100%;left:0;top:0;cursor:default;text-align:center;color:#fff;opacity:0;font-size:20px;background-color:rgba(0,0,0,.5);-webkit-transition:opacity .3s;transition:opacity .3s}.el-upload-list--picture-card .el-upload-list__item-actions:after{display:inline-block;height:100%;vertical-align:middle}.el-upload-list--picture-card .el-upload-list__item-actions span{display:none;cursor:pointer}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:15px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{position:static;font-size:inherit;color:inherit}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-block}.el-upload-list--picture-card .el-progress{top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);bottom:auto;width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{overflow:hidden;z-index:0;background-color:#fff;border:1px solid #c0ccda;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;margin-top:10px;padding:10px 10px 10px 90px;height:92px}.el-upload-list--picture .el-upload-list__item .el-icon-check,.el-upload-list--picture .el-upload-list__item .el-icon-circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{background:0 0;-webkit-box-shadow:none;box-shadow:none;top:-2px;right:-12px}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{line-height:70px;margin-top:0}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item-thumbnail{vertical-align:middle;display:inline-block;width:70px;height:70px;float:left;position:relative;z-index:1;margin-left:-80px;background-color:#fff}.el-upload-list--picture .el-upload-list__item-name{display:block;margin-top:20px}.el-upload-list--picture .el-upload-list__item-name i{font-size:70px;line-height:1;position:absolute;left:9px;top:10px}.el-upload-list--picture .el-upload-list__item-status-label{position:absolute;right:-17px;top:-7px;width:46px;height:26px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-shadow:0 1px 1px #ccc;box-shadow:0 1px 1px #ccc}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;z-index:10;cursor:default}.el-upload-cover:after{display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;width:100%;height:100%}.el-upload-cover__label{position:absolute;right:-15px;top:-6px;width:40px;height:24px;background:#13ce66;text-align:center;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-box-shadow:0 0 1pc 1px rgba(0,0,0,.2);box-shadow:0 0 1pc 1px rgba(0,0,0,.2)}.el-upload-cover__label i{font-size:12px;margin-top:11px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);color:#fff}.el-upload-cover__progress{display:inline-block;vertical-align:middle;position:static;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{position:absolute;top:0;left:0;width:100%;height:100%}.el-upload-cover__interact{position:absolute;bottom:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.72);text-align:center}.el-upload-cover__interact .btn{display:inline-block;color:#fff;font-size:14px;cursor:pointer;vertical-align:middle;-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);margin-top:60px}.el-upload-cover__interact .btn span{opacity:0;-webkit-transition:opacity .15s linear;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{-webkit-transform:translateY(-13px);transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{position:absolute;bottom:0;left:0;background-color:#fff;height:36px;width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400;text-align:left;padding:0 10px;margin:0;line-height:36px;font-size:14px;color:#303133}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-progress{position:relative;line-height:1}.el-progress__text{font-size:14px;color:#606266;display:inline-block;vertical-align:middle;margin-left:10px;line-height:1}.el-progress__text i{vertical-align:middle;display:block}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{position:absolute;top:50%;left:0;width:100%;text-align:center;margin:0;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{vertical-align:middle;display:inline-block}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{padding-right:0;margin-right:0;display:block}.el-progress--text-inside .el-progress-bar{padding-right:0;margin-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:#67c23a}.el-progress.is-success .el-progress__text{color:#67c23a}.el-progress.is-warning .el-progress-bar__inner{background-color:#e6a23c}.el-badge__content,.el-progress.is-exception .el-progress-bar__inner{background-color:#f56c6c}.el-progress.is-warning .el-progress__text{color:#e6a23c}.el-progress.is-exception .el-progress__text{color:#f56c6c}.el-progress-bar{padding-right:50px;display:inline-block;vertical-align:middle;width:100%;margin-right:-55px;-webkit-box-sizing:border-box;box-sizing:border-box}.el-card__header,.el-message,.el-step__icon{-webkit-box-sizing:border-box}.el-progress-bar__outer{height:6px;border-radius:100px;background-color:#ebeef5;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{position:absolute;left:0;top:0;height:100%;background-color:#409eff;text-align:right;border-radius:100px;line-height:1;white-space:nowrap;-webkit-transition:width .6s ease;transition:width .6s ease}.el-progress-bar__inner:after{display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__innerText{display:inline-block;vertical-align:middle;color:#fff;font-size:12px;margin:0 5px}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}.el-time-spinner{width:100%;white-space:nowrap}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;width:50px;height:50px}.el-spinner-inner .path{stroke:#ececec;stroke-linecap:round;-webkit-animation:dash 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite}@-webkit-keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-message{min-width:380px;box-sizing:border-box;border-radius:4px;border-width:1px;border-style:solid;border-color:#ebeef5;position:fixed;left:50%;top:20px;-webkit-transform:translateX(-50%);transform:translateX(-50%);background-color:#edf2fc;-webkit-transition:opacity .3s,top .4s,-webkit-transform .4s;transition:opacity .3s,top .4s,-webkit-transform .4s;transition:opacity .3s,transform .4s,top .4s;transition:opacity .3s,transform .4s,top .4s,-webkit-transform .4s;overflow:hidden;padding:15px 15px 15px 20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-message.is-center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-message.is-closable .el-message__content{padding-right:16px}.el-message p{margin:0}.el-message--info .el-message__content{color:#909399}.el-message--success{background-color:#f0f9eb;border-color:#e1f3d8}.el-message--success .el-message__content{color:#67c23a}.el-message--warning{background-color:#fdf6ec;border-color:#faecd8}.el-message--warning .el-message__content{color:#e6a23c}.el-message--error{background-color:#fef0f0;border-color:#fde2e2}.el-message--error .el-message__content{color:#f56c6c}.el-message__icon{margin-right:10px}.el-message__content{padding:0;font-size:14px;line-height:1}.el-message__content:focus{outline-width:0}.el-message__closeBtn{position:absolute;top:50%;right:15px;-webkit-transform:translateY(-50%);transform:translateY(-50%);cursor:pointer;color:#c0c4cc;font-size:16px}.el-message__closeBtn:focus{outline-width:0}.el-message__closeBtn:hover{color:#909399}.el-message .el-icon-success{color:#67c23a}.el-message .el-icon-error{color:#f56c6c}.el-message .el-icon-info{color:#909399}.el-message .el-icon-warning{color:#e6a23c}.el-message-fade-enter,.el-message-fade-leave-active{opacity:0;-webkit-transform:translate(-50%,-100%);transform:translate(-50%,-100%)}.el-badge{position:relative;vertical-align:middle;display:inline-block}.el-badge__content{border-radius:10px;color:#fff;display:inline-block;font-size:12px;height:18px;line-height:18px;padding:0 6px;text-align:center;white-space:nowrap;border:1px solid #fff}.el-badge__content.is-fixed{position:absolute;top:0;right:10px;-webkit-transform:translateY(-50%) translateX(100%);transform:translateY(-50%) translateX(100%)}.el-rate__icon,.el-rate__item{position:relative;display:inline-block}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{height:8px;width:8px;padding:0;right:0;border-radius:50%}.el-badge__content--primary{background-color:#409eff}.el-badge__content--success{background-color:#67c23a}.el-badge__content--warning{background-color:#e6a23c}.el-badge__content--info{background-color:#909399}.el-badge__content--danger{background-color:#f56c6c}.el-card{border-radius:4px;border:1px solid #ebeef5;background-color:#fff;overflow:hidden;color:#303133;-webkit-transition:.3s;transition:.3s}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-card__header{padding:18px 20px;border-bottom:1px solid #ebeef5;box-sizing:border-box}.el-card__body,.el-main{padding:20px}.el-rate{height:20px;line-height:1}.el-rate:active,.el-rate:focus{outline-width:0}.el-rate__item{font-size:0;vertical-align:middle}.el-rate__icon{font-size:18px;margin-right:6px;color:#c0c4cc;-webkit-transition:.3s;transition:.3s}.el-rate__decimal,.el-rate__icon .path2{position:absolute;top:0;left:0}.el-rate__icon.hover{-webkit-transform:scale(1.15);transform:scale(1.15)}.el-rate__decimal{display:inline-block;overflow:hidden}.el-step.is-vertical,.el-steps{display:-webkit-box;display:-ms-flexbox}.el-rate__text{font-size:14px;vertical-align:middle}.el-steps{display:flex}.el-steps--simple{padding:13px 8%;border-radius:4px;background:#f5f7fa}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{height:100%;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column;flex-flow:column}.el-step{position:relative;-ms-flex-negative:1;flex-shrink:1}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{-ms-flex-preferred-size:auto!important;flex-basis:auto!important;-ms-flex-negative:0;flex-shrink:0;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{color:#303133;border-color:#303133}.el-step__head.is-wait{color:#c0c4cc;border-color:#c0c4cc}.el-step__head.is-success{color:#67c23a;border-color:#67c23a}.el-step__head.is-error{color:#f56c6c;border-color:#f56c6c}.el-step__head.is-finish{color:#409eff;border-color:#409eff}.el-step__icon{position:relative;z-index:1;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:24px;height:24px;font-size:14px;box-sizing:border-box;background:#fff;-webkit-transition:.15s ease-out;transition:.15s ease-out}.el-step.is-horizontal,.el-step__icon-inner{display:inline-block}.el-step__icon.is-text{border-radius:50%;border:2px solid;border-color:inherit}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{-webkit-user-select:none;user-select:none;text-align:center;font-weight:700;line-height:1;color:inherit}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{-webkit-transform:translateY(1px);transform:translateY(1px)}.el-step__line{position:absolute;border-color:inherit;background-color:#c0c4cc}.el-step__line-inner{display:block;border-width:1px;border-style:solid;border-color:inherit;-webkit-transition:.15s ease-out;transition:.15s ease-out;-webkit-box-sizing:border-box;box-sizing:border-box;width:0;height:0}.el-step__main{white-space:normal;text-align:left}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{font-weight:700;color:#303133}.el-step__title.is-wait{color:#c0c4cc}.el-step__title.is-success{color:#67c23a}.el-step__title.is-error{color:#f56c6c}.el-step__title.is-finish{color:#409eff}.el-step__description{padding-right:10%;margin-top:-5px;font-size:12px;line-height:20px;font-weight:400}.el-step__description.is-process{color:#303133}.el-step__description.is-wait{color:#c0c4cc}.el-step__description.is-success{color:#67c23a}.el-step__description.is-error{color:#f56c6c}.el-step__description.is-finish{color:#409eff}.el-step.is-horizontal .el-step__line{height:2px;top:11px;left:0;right:0}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{padding-left:10px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{width:2px;top:0;bottom:0;left:11px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-step.is-simple .el-step__head{width:auto;font-size:0;padding-right:10px}.el-step.is-simple .el-step__icon{background:0 0;width:16px;height:16px;font-size:12px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{-webkit-transform:scale(.8) translateY(1px);transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;word-break:break-all}.el-step.is-simple .el-step__arrow{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{content:"";display:inline-block;position:absolute;height:15px;width:1px;background:#c0c4cc}.el-step.is-simple .el-step__arrow:before{-webkit-transform:rotate(-45deg) translateY(-4px);transform:rotate(-45deg) translateY(-4px);-webkit-transform-origin:0 0;transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{-webkit-transform:rotate(45deg) translateY(4px);transform:rotate(45deg) translateY(4px);-webkit-transform-origin:100% 100%;transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-carousel{position:relative}.el-carousel--horizontal{overflow-x:hidden}.el-carousel--vertical{overflow-y:hidden}.el-carousel__container{position:relative;height:300px}.el-carousel__arrow{border:none;outline:0;padding:0;margin:0;height:36px;width:36px;cursor:pointer;-webkit-transition:.3s;transition:.3s;border-radius:50%;background-color:rgba(31,45,61,.11);color:#fff;position:absolute;top:50%;z-index:10;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-align:center;font-size:12px}.el-carousel__arrow--left{left:16px}.el-carousel__arrow:hover{background-color:rgba(31,45,61,.23)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{position:absolute;list-style:none;margin:0;padding:0;z-index:2}.el-carousel__indicators--horizontal{bottom:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:26px;text-align:center;position:static;-webkit-transform:none;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:#c0c4cc;opacity:.24}.el-carousel__indicators--labels{left:0;right:0;-webkit-transform:none;transform:none;text-align:center}.el-carousel__indicators--labels .el-carousel__button{height:auto;width:auto;padding:2px 18px;font-size:12px}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:12px 4px}.el-carousel__indicator--vertical{padding:4px 12px}.el-carousel__indicator--vertical .el-carousel__button{width:2px;height:15px}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{display:block;opacity:.48;width:30px;height:2px;background-color:#fff;border:none;outline:0;padding:0;margin:0;cursor:pointer;-webkit-transition:.3s;transition:.3s}.el-carousel__item,.el-carousel__mask{height:100%;position:absolute;top:0;left:0}.carousel-arrow-left-enter,.carousel-arrow-left-leave-active{-webkit-transform:translateY(-50%) translateX(-10px);transform:translateY(-50%) translateX(-10px);opacity:0}.carousel-arrow-right-enter,.carousel-arrow-right-leave-active{-webkit-transform:translateY(-50%) translateX(10px);transform:translateY(-50%) translateX(10px);opacity:0}.el-carousel__item{width:100%;display:inline-block;overflow:hidden;z-index:0}.el-carousel__item.is-active{z-index:2}.el-carousel__item--card,.el-carousel__item.is-animating{-webkit-transition:-webkit-transform .4s ease-in-out;transition:-webkit-transform .4s ease-in-out;transition:transform .4s ease-in-out;transition:transform .4s ease-in-out,-webkit-transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:1}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:2}.el-carousel__mask{width:100%;background-color:#fff;opacity:.24;-webkit-transition:.2s;transition:.2s}.fade-in-linear-enter-active,.fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.fade-in-linear-enter,.fade-in-linear-leave,.fade-in-linear-leave-active{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{-webkit-transition:opacity .2s linear;transition:opacity .2s linear}.el-fade-in-linear-enter,.el-fade-in-linear-leave,.el-fade-in-linear-leave-active{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.el-fade-in-enter,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{-webkit-transition:all .3s cubic-bezier(.55,0,.1,1);transition:all .3s cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter,.el-zoom-in-center-leave-active{opacity:0;-webkit-transform:scaleX(0);transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center top;transform-origin:center top}.el-zoom-in-top-enter,.el-zoom-in-top-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;-webkit-transform:scaleY(1);transform:scaleY(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:center bottom;transform-origin:center bottom}.el-zoom-in-bottom-enter,.el-zoom-in-bottom-leave-active{opacity:0;-webkit-transform:scaleY(0);transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;-webkit-transform:scale(1);transform:scale(1);-webkit-transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1);transition:transform .3s cubic-bezier(.23,1,.32,1),opacity .3s cubic-bezier(.23,1,.32,1),-webkit-transform .3s cubic-bezier(.23,1,.32,1);-webkit-transform-origin:top left;transform-origin:top left}.el-zoom-in-left-enter,.el-zoom-in-left-leave-active{opacity:0;-webkit-transform:scale(.45);transform:scale(.45)}.collapse-transition{-webkit-transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out;transition:height .3s ease-in-out,padding-top .3s ease-in-out,padding-bottom .3s ease-in-out}.horizontal-collapse-transition{-webkit-transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s ease-in-out;transition:width .3s ease-in-out,padding-left .3s ease-in-out,padding-right .3s ease-in-out}.el-list-enter-active,.el-list-leave-active{-webkit-transition:all 1s;transition:all 1s}.el-list-enter,.el-list-leave-active{opacity:0;-webkit-transform:translateY(-30px);transform:translateY(-30px)}.el-opacity-transition{-webkit-transition:opacity .3s cubic-bezier(.55,0,.1,1);transition:opacity .3s cubic-bezier(.55,0,.1,1)}.el-collapse{border-top:1px solid #ebeef5;border-bottom:1px solid #ebeef5}.el-collapse-item.is-disabled .el-collapse-item__header{color:#bbb;cursor:not-allowed}.el-collapse-item__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:48px;line-height:48px;background-color:#fff;color:#303133;cursor:pointer;border-bottom:1px solid #ebeef5;font-size:13px;font-weight:500;-webkit-transition:border-bottom-color .3s;transition:border-bottom-color .3s;outline:0}.el-collapse-item__arrow{margin:0 8px 0 auto;-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-weight:300}.el-collapse-item__arrow.is-active{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.el-collapse-item__header.focusing:focus:not(:hover){color:#409eff}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{will-change:height;background-color:#fff;overflow:hidden;-webkit-box-sizing:border-box;box-sizing:border-box;border-bottom:1px solid #ebeef5}.el-cascader__search-input,.el-cascader__tags,.el-tag{-webkit-box-sizing:border-box}.el-collapse-item__content{padding-bottom:25px;font-size:13px;color:#303133;line-height:1.769230769230769}.el-collapse-item:last-child{margin-bottom:-1px}.el-popper .popper__arrow,.el-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.el-cascader,.el-tag{display:inline-block}.el-popper .popper__arrow{border-width:6px;-webkit-filter:drop-shadow(0 2px 12px rgba(0,0,0,.03));filter:drop-shadow(0 2px 12px rgba(0,0,0,.03))}.el-popper .popper__arrow:after{content:" ";border-width:6px}.el-popper[x-placement^=top]{margin-bottom:12px}.el-popper[x-placement^=top] .popper__arrow{bottom:-6px;left:50%;margin-right:3px;border-top-color:#ebeef5;border-bottom-width:0}.el-popper[x-placement^=top] .popper__arrow:after{bottom:1px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.el-popper[x-placement^=bottom]{margin-top:12px}.el-popper[x-placement^=bottom] .popper__arrow{top:-6px;left:50%;margin-right:3px;border-top-width:0;border-bottom-color:#ebeef5}.el-popper[x-placement^=bottom] .popper__arrow:after{top:1px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.el-popper[x-placement^=right]{margin-left:12px}.el-popper[x-placement^=right] .popper__arrow{top:50%;left:-6px;margin-bottom:3px;border-right-color:#ebeef5;border-left-width:0}.el-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1px;border-right-color:#fff;border-left-width:0}.el-popper[x-placement^=left]{margin-right:12px}.el-popper[x-placement^=left] .popper__arrow{top:50%;right:-6px;margin-bottom:3px;border-right-width:0;border-left-color:#ebeef5}.el-popper[x-placement^=left] .popper__arrow:after{right:1px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.el-tag{background-color:#ecf5ff;border-color:#d9ecff;height:32px;padding:0 10px;line-height:30px;font-size:12px;color:#409eff;border-width:1px;border-style:solid;border-radius:4px;box-sizing:border-box;white-space:nowrap}.el-tag.is-hit{border-color:#409eff}.el-tag .el-tag__close{color:#409eff}.el-tag .el-tag__close:hover{color:#fff;background-color:#409eff}.el-tag.el-tag--info{background-color:#f4f4f5;border-color:#e9e9eb;color:#909399}.el-tag.el-tag--info.is-hit{border-color:#909399}.el-tag.el-tag--info .el-tag__close{color:#909399}.el-tag.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag.el-tag--success{background-color:#f0f9eb;border-color:#e1f3d8;color:#67c23a}.el-tag.el-tag--success.is-hit{border-color:#67c23a}.el-tag.el-tag--success .el-tag__close{color:#67c23a}.el-tag.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag.el-tag--warning{background-color:#fdf6ec;border-color:#faecd8;color:#e6a23c}.el-tag.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag.el-tag--danger{background-color:#fef0f0;border-color:#fde2e2;color:#f56c6c}.el-tag.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag .el-icon-close{border-radius:50%;text-align:center;position:relative;cursor:pointer;font-size:12px;height:16px;width:16px;line-height:16px;vertical-align:middle;top:-1px;right:-5px}.el-tag .el-icon-close:before{display:block}.el-tag--dark{background-color:#409eff;color:#fff}.el-tag--dark,.el-tag--dark.is-hit{border-color:#409eff}.el-tag--dark .el-tag__close{color:#fff}.el-tag--dark .el-tag__close:hover{color:#fff;background-color:#66b1ff}.el-tag--dark.el-tag--info{background-color:#909399;border-color:#909399;color:#fff}.el-tag--dark.el-tag--info.is-hit{border-color:#909399}.el-tag--dark.el-tag--info .el-tag__close{color:#fff}.el-tag--dark.el-tag--info .el-tag__close:hover{color:#fff;background-color:#a6a9ad}.el-tag--dark.el-tag--success{background-color:#67c23a;border-color:#67c23a;color:#fff}.el-tag--dark.el-tag--success.is-hit{border-color:#67c23a}.el-tag--dark.el-tag--success .el-tag__close{color:#fff}.el-tag--dark.el-tag--success .el-tag__close:hover{color:#fff;background-color:#85ce61}.el-tag--dark.el-tag--warning{background-color:#e6a23c;border-color:#e6a23c;color:#fff}.el-tag--dark.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--dark.el-tag--warning .el-tag__close{color:#fff}.el-tag--dark.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#ebb563}.el-tag--dark.el-tag--danger{background-color:#f56c6c;border-color:#f56c6c;color:#fff}.el-tag--dark.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--dark.el-tag--danger .el-tag__close{color:#fff}.el-tag--dark.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f78989}.el-tag--plain{background-color:#fff;border-color:#b3d8ff;color:#409eff}.el-tag--plain.is-hit{border-color:#409eff}.el-tag--plain .el-tag__close{color:#409eff}.el-tag--plain .el-tag__close:hover{color:#fff;background-color:#409eff}.el-tag--plain.el-tag--info{background-color:#fff;border-color:#d3d4d6;color:#909399}.el-tag--plain.el-tag--info.is-hit{border-color:#909399}.el-tag--plain.el-tag--info .el-tag__close{color:#909399}.el-tag--plain.el-tag--info .el-tag__close:hover{color:#fff;background-color:#909399}.el-tag--plain.el-tag--success{background-color:#fff;border-color:#c2e7b0;color:#67c23a}.el-tag--plain.el-tag--success.is-hit{border-color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close{color:#67c23a}.el-tag--plain.el-tag--success .el-tag__close:hover{color:#fff;background-color:#67c23a}.el-tag--plain.el-tag--warning{background-color:#fff;border-color:#f5dab1;color:#e6a23c}.el-tag--plain.el-tag--warning.is-hit{border-color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close{color:#e6a23c}.el-tag--plain.el-tag--warning .el-tag__close:hover{color:#fff;background-color:#e6a23c}.el-tag--plain.el-tag--danger{background-color:#fff;border-color:#fbc4c4;color:#f56c6c}.el-tag--plain.el-tag--danger.is-hit{border-color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close{color:#f56c6c}.el-tag--plain.el-tag--danger .el-tag__close:hover{color:#fff;background-color:#f56c6c}.el-tag--medium{height:28px;line-height:26px}.el-tag--medium .el-icon-close{-webkit-transform:scale(.8);transform:scale(.8)}.el-tag--small{height:24px;padding:0 8px;line-height:22px}.el-tag--small .el-icon-close{-webkit-transform:scale(.8);transform:scale(.8)}.el-tag--mini{height:20px;padding:0 5px;line-height:19px}.el-tag--mini .el-icon-close{margin-left:-3px;-webkit-transform:scale(.7);transform:scale(.7)}.el-cascader{position:relative;font-size:14px;line-height:40px}.el-cascader:not(.is-disabled):hover .el-input__inner{cursor:pointer;border-color:#c0c4cc}.el-cascader .el-input .el-input__inner:focus,.el-cascader .el-input.is-focus .el-input__inner{border-color:#409eff}.el-cascader .el-input{cursor:pointer}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-icon-arrow-down{-webkit-transition:-webkit-transform .3s;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;font-size:14px}.el-cascader .el-input .el-icon-arrow-down.is-reverse{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.el-cascader .el-input .el-icon-circle-close:hover{color:#909399}.el-cascader--medium{font-size:14px;line-height:36px}.el-cascader--small{font-size:13px;line-height:32px}.el-cascader--mini{font-size:12px;line-height:28px}.el-cascader.is-disabled .el-cascader__label{z-index:2;color:#c0c4cc}.el-cascader__dropdown{margin:5px 0;font-size:14px;background:#fff;border:1px solid #e4e7ed;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-cascader__tags{position:absolute;left:0;right:30px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;line-height:normal;text-align:left;box-sizing:border-box}.el-cascader__tags .el-tag{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;max-width:100%;margin:2px 0 2px 6px;text-overflow:ellipsis;background:#f0f2f5}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag>span{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{-webkit-box-flex:0;-ms-flex:none;flex:none;background-color:#c0c4cc;color:#fff}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:#909399}.el-cascader__suggestion-panel{border-radius:4px}.el-cascader__suggestion-list{max-height:204px;margin:0;padding:6px 0;font-size:14px;color:#606266;text-align:center}.el-cascader__suggestion-item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;height:34px;padding:0 15px;text-align:left;outline:0;cursor:pointer}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:#f5f7fa}.el-cascader__suggestion-item.is-checked{color:#409eff;font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{margin:10px 0;color:#c0c4cc}.el-cascader__search-input{-webkit-box-flex:1;-ms-flex:1;flex:1;height:24px;min-width:60px;margin:2px 0 2px 15px;padding:0;color:#606266;border:none;outline:0;box-sizing:border-box}.el-cascader__search-input::-webkit-input-placeholder{color:#c0c4cc}.el-cascader__search-input:-ms-input-placeholder{color:#c0c4cc}.el-cascader__search-input::-ms-input-placeholder{color:#c0c4cc}.el-cascader__search-input::placeholder{color:#c0c4cc}.el-color-predefine{font-size:12px;margin-top:8px;width:280px}.el-color-predefine,.el-color-predefine__colors{display:-webkit-box;display:-ms-flexbox;display:flex}.el-color-predefine__colors{-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-wrap:wrap;flex-wrap:wrap}.el-color-predefine__color-selector{margin:0 0 8px 8px;width:20px;height:20px;border-radius:4px;cursor:pointer}.el-color-predefine__color-selector:nth-child(10n+1){margin-left:0}.el-color-predefine__color-selector.selected{-webkit-box-shadow:0 0 3px 2px #409eff;box-shadow:0 0 3px 2px #409eff}.el-color-predefine__color-selector>div{display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;border-radius:3px}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;width:280px;height:12px;background-color:red;padding:0 2px}.el-color-hue-slider__bar{position:relative;background:-webkit-gradient(linear,left top,right top,from(red),color-stop(17%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(83%,#f0f),to(red));background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red);height:100%}.el-color-hue-slider__thumb{position:absolute;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;-webkit-box-shadow:0 0 2px rgba(0,0,0,.6);box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-hue-slider.is-vertical{width:12px;height:180px;padding:2px 0}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(17%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(83%,#f0f),to(red));background:linear-gradient(180deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-svpanel{position:relative;width:280px;height:180px}.el-color-svpanel__black,.el-color-svpanel__white{position:absolute;top:0;left:0;right:0;bottom:0}.el-color-svpanel__white{background:-webkit-gradient(linear,left top,right top,from(#fff),to(hsla(0,0%,100%,0)));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.el-color-svpanel__black{background:-webkit-gradient(linear,left bottom,left top,from(#000),to(transparent));background:linear-gradient(0deg,#000,transparent)}.el-color-svpanel__cursor{position:absolute}.el-color-svpanel__cursor>div{cursor:head;width:4px;height:4px;-webkit-box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);border-radius:50%;-webkit-transform:translate(-2px,-2px);transform:translate(-2px,-2px)}.el-color-alpha-slider{position:relative;-webkit-box-sizing:border-box;box-sizing:border-box;width:280px;height:12px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-alpha-slider__bar{position:relative;background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),to(#fff));background:linear-gradient(90deg,hsla(0,0%,100%,0) 0,#fff);height:100%}.el-color-alpha-slider__thumb{position:absolute;cursor:pointer;-webkit-box-sizing:border-box;box-sizing:border-box;left:0;top:0;width:4px;height:100%;border-radius:1px;background:#fff;border:1px solid #f0f0f0;-webkit-box-shadow:0 0 2px rgba(0,0,0,.6);box-shadow:0 0 2px rgba(0,0,0,.6);z-index:1}.el-color-alpha-slider.is-vertical{width:20px;height:180px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(#fff));background:linear-gradient(180deg,hsla(0,0%,100%,0) 0,#fff)}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{left:0;top:0;width:100%;height:4px}.el-color-dropdown{width:300px}.el-color-dropdown__main-wrapper{margin-bottom:6px}.el-color-dropdown__main-wrapper:after{display:table;clear:both}.el-color-dropdown__btns{margin-top:6px;text-align:right}.el-color-dropdown__value{float:left;line-height:26px;font-size:12px;color:#000;width:160px}.el-color-dropdown__btn{border:1px solid #dcdcdc;color:#333;line-height:24px;border-radius:2px;padding:0 20px;cursor:pointer;background-color:transparent;outline:0;font-size:12px}.el-color-dropdown__btn[disabled]{color:#ccc;cursor:not-allowed}.el-color-dropdown__btn:hover{color:#409eff;border-color:#409eff}.el-color-dropdown__link-btn{cursor:pointer;color:#409eff;text-decoration:none;padding:15px;font-size:12px}.el-color-dropdown__link-btn:hover{color:tint(#409eff,20%)}.el-color-picker{display:inline-block;position:relative;line-height:normal;height:40px}.el-color-picker.is-disabled .el-color-picker__trigger{cursor:not-allowed}.el-color-picker--medium{height:36px}.el-color-picker--medium .el-color-picker__trigger{height:36px;width:36px}.el-color-picker--medium .el-color-picker__mask{height:34px;width:34px}.el-color-picker--small{height:32px}.el-color-picker--small .el-color-picker__trigger{height:32px;width:32px}.el-color-picker--small .el-color-picker__mask{height:30px;width:30px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{-webkit-transform:translate3d(-50%,-50%,0) scale(.8);transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker--mini{height:28px}.el-color-picker--mini .el-color-picker__trigger{height:28px;width:28px}.el-color-picker--mini .el-color-picker__mask{height:26px;width:26px}.el-color-picker--mini .el-color-picker__empty,.el-color-picker--mini .el-color-picker__icon{-webkit-transform:translate3d(-50%,-50%,0) scale(.8);transform:translate3d(-50%,-50%,0) scale(.8)}.el-color-picker__mask{height:38px;width:38px;border-radius:4px;position:absolute;top:1px;left:1px;z-index:1;cursor:not-allowed;background-color:hsla(0,0%,100%,.7)}.el-color-picker__trigger{display:inline-block;height:40px;width:40px;padding:4px;border:1px solid #e6e6e6;border-radius:4px;font-size:0;cursor:pointer}.el-color-picker__color,.el-color-picker__trigger{-webkit-box-sizing:border-box;box-sizing:border-box;position:relative}.el-color-picker__color{display:block;border:1px solid #999;border-radius:2px;width:100%;height:100%;text-align:center}.el-color-picker__icon,.el-input,.el-textarea{display:inline-block;width:100%}.el-color-picker__color.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-picker__color-inner{position:absolute;left:0;top:0;right:0;bottom:0}.el-color-picker__empty{color:#999}.el-color-picker__empty,.el-color-picker__icon{font-size:12px;position:absolute;top:50%;left:50%;-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}.el-color-picker__icon{color:#fff;text-align:center}.el-input__prefix,.el-input__suffix{position:absolute;top:0;text-align:center}.el-color-picker__panel{position:absolute;z-index:10;padding:6px;-webkit-box-sizing:content-box;box-sizing:content-box;background-color:#fff;border:1px solid #ebeef5;border-radius:4px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-input__inner,.el-textarea__inner,.el-transfer-panel{-webkit-box-sizing:border-box}.el-textarea{position:relative;vertical-align:bottom;font-size:14px}.el-textarea__inner{display:block;resize:vertical;padding:5px 15px;line-height:1.5;box-sizing:border-box;width:100%;font-size:inherit;color:#606266;background-color:#fff;background-image:none;border:1px solid #dcdfe6;border-radius:4px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1)}.el-textarea__inner::-webkit-input-placeholder{color:#c0c4cc}.el-textarea__inner:-ms-input-placeholder{color:#c0c4cc}.el-textarea__inner::-ms-input-placeholder{color:#c0c4cc}.el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea__inner:hover{border-color:#c0c4cc}.el-textarea__inner:focus{outline:0;border-color:#409eff}.el-textarea .el-input__count{color:#909399;background:#fff;position:absolute;font-size:12px;bottom:5px;right:10px}.el-textarea.is-disabled .el-textarea__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-webkit-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner:-ms-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::-ms-input-placeholder{color:#c0c4cc}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:#c0c4cc}.el-textarea.is-exceed .el-textarea__inner{border-color:#f56c6c}.el-textarea.is-exceed .el-input__count{color:#f56c6c}.el-input{position:relative;font-size:14px}.el-input::-webkit-scrollbar{z-index:11;width:6px}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{border-radius:5px;width:6px;background:#b4bccc}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:#fff}.el-input::-webkit-scrollbar-track-piece{background:#fff;width:6px}.el-input .el-input__clear{color:#c0c4cc;font-size:14px;cursor:pointer;-webkit-transition:color .2s cubic-bezier(.645,.045,.355,1);transition:color .2s cubic-bezier(.645,.045,.355,1)}.el-input .el-input__clear:hover{color:#909399}.el-input .el-input__count{height:100%;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#909399;font-size:12px}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input,.el-input__inner{font-size:inherit}.el-input .el-input__count .el-input__count-inner{background:#fff;line-height:normal;display:inline-block;padding:0 5px}.el-input__inner{-webkit-appearance:none;background-color:#fff;background-image:none;border-radius:4px;border:1px solid #dcdfe6;box-sizing:border-box;color:#606266;display:inline-block;height:40px;line-height:40px;outline:0;padding:0 15px;-webkit-transition:border-color .2s cubic-bezier(.645,.045,.355,1);transition:border-color .2s cubic-bezier(.645,.045,.355,1);width:100%}.el-input__inner::-ms-reveal{display:none}.el-input__inner::-webkit-input-placeholder{color:#c0c4cc}.el-input__inner:-ms-input-placeholder{color:#c0c4cc}.el-input__inner::-ms-input-placeholder{color:#c0c4cc}.el-input__inner::placeholder{color:#c0c4cc}.el-input__inner:hover{border-color:#c0c4cc}.el-input.is-active .el-input__inner,.el-input__inner:focus{border-color:#409eff;outline:0}.el-input__suffix{height:100%;right:5px;transition:all .3s;pointer-events:none}.el-input__suffix-inner{pointer-events:all}.el-input__prefix{height:100%;left:5px;transition:all .3s}.el-input__icon{height:100%;width:25px;text-align:center;-webkit-transition:all .3s;transition:all .3s;line-height:40px}.el-input__icon:after{content:"";height:100%;width:0;display:inline-block;vertical-align:middle}.el-input__validateIcon{pointer-events:none}.el-input.is-disabled .el-input__inner{background-color:#f5f7fa;border-color:#e4e7ed;color:#c0c4cc;cursor:not-allowed}.el-input.is-disabled .el-input__inner::-webkit-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner:-ms-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::-ms-input-placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__inner::placeholder{color:#c0c4cc}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-image-viewer__btn,.el-image__preview,.el-link,.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-input.is-exceed .el-input__inner{border-color:#f56c6c}.el-input.is-exceed .el-input__suffix .el-input__count{color:#f56c6c}.el-input--suffix .el-input__inner{padding-right:30px}.el-input--prefix .el-input__inner{padding-left:30px}.el-input--medium{font-size:14px}.el-input--medium .el-input__inner{height:36px;line-height:36px}.el-input--medium .el-input__icon{line-height:36px}.el-input--small{font-size:13px}.el-input--small .el-input__inner{height:32px;line-height:32px}.el-input--small .el-input__icon{line-height:32px}.el-input--mini{font-size:12px}.el-input--mini .el-input__inner{height:28px;line-height:28px}.el-input--mini .el-input__icon{line-height:28px}.el-input-group{line-height:normal;display:inline-table;width:100%;border-collapse:separate;border-spacing:0}.el-input-group>.el-input__inner{vertical-align:middle;display:table-cell}.el-input-group__append,.el-input-group__prepend{background-color:#f5f7fa;color:#909399;vertical-align:middle;display:table-cell;position:relative;border:1px solid #dcdfe6;border-radius:4px;padding:0 20px;width:1px;white-space:nowrap}.el-input-group--append .el-input__inner,.el-input-group__prepend{border-top-right-radius:0;border-bottom-right-radius:0}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:0}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;margin:-10px -20px}.el-input-group__append button.el-button,.el-input-group__append div.el-select .el-input__inner,.el-input-group__append div.el-select:hover .el-input__inner,.el-input-group__prepend button.el-button,.el-input-group__prepend div.el-select .el-input__inner,.el-input-group__prepend div.el-select:hover .el-input__inner{border-color:transparent;background-color:transparent;color:inherit;border-top:0;border-bottom:0}.el-input-group__prepend{border-right:0}.el-input-group__append{border-left:0;border-top-left-radius:0;border-bottom-left-radius:0}.el-input-group--append .el-select .el-input.is-focus .el-input__inner,.el-input-group--prepend .el-select .el-input.is-focus .el-input__inner{border-color:transparent}.el-input-group--prepend .el-input__inner{border-top-left-radius:0;border-bottom-left-radius:0}.el-input__inner::-ms-clear{display:none;width:0;height:0}.el-transfer{font-size:14px}.el-transfer__buttons{display:inline-block;vertical-align:middle;padding:0 30px}.el-transfer__button{display:block;margin:0 auto;padding:10px;border-radius:50%;color:#fff;background-color:#409eff;font-size:0}.el-button-group>.el-button+.el-button,.el-transfer-panel__item+.el-transfer-panel__item,.el-transfer__button [class*=el-icon-]+span{margin-left:0}.el-divider__text,.el-image__error,.el-link,.el-timeline,.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button.is-with-texts{border-radius:4px}.el-transfer__button.is-disabled,.el-transfer__button.is-disabled:hover{border:1px solid #dcdfe6;background-color:#f5f7fa;color:#c0c4cc}.el-transfer__button:first-child{margin-bottom:10px}.el-transfer__button:nth-child(2){margin:0}.el-transfer-panel{border:1px solid #ebeef5;border-radius:4px;overflow:hidden;background:#fff;display:inline-block;vertical-align:middle;width:200px;max-height:100%;box-sizing:border-box;position:relative}.el-transfer-panel__body{height:246px}.el-transfer-panel__body.is-with-footer{padding-bottom:40px}.el-transfer-panel__list{margin:0;padding:6px 0;list-style:none;height:246px;overflow:auto;-webkit-box-sizing:border-box;box-sizing:border-box}.el-transfer-panel__list.is-filterable{height:194px;padding-top:0}.el-transfer-panel__item{height:30px;line-height:30px;padding-left:15px;display:block!important}.el-transfer-panel__item.el-checkbox{color:#606266}.el-transfer-panel__item:hover{color:#409eff}.el-transfer-panel__item.el-checkbox .el-checkbox__label{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;padding-left:24px;line-height:30px}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{text-align:center;margin:15px;-webkit-box-sizing:border-box;box-sizing:border-box;display:block;width:auto}.el-transfer-panel__filter .el-input__inner{height:32px;width:100%;font-size:12px;display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:16px;padding-right:10px;padding-left:30px}.el-transfer-panel__filter .el-input__icon{margin-left:5px}.el-transfer-panel .el-transfer-panel__header{height:40px;line-height:40px;background:#f5f7fa;margin:0;padding-left:15px;border-bottom:1px solid #ebeef5;-webkit-box-sizing:border-box;box-sizing:border-box;color:#000}.el-container,.el-header{-webkit-box-sizing:border-box}.el-transfer-panel .el-transfer-panel__header .el-checkbox{display:block;line-height:40px}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{font-size:16px;color:#303133;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{position:absolute;right:15px;color:#909399;font-size:12px;font-weight:400}.el-transfer-panel .el-transfer-panel__footer{height:40px;background:#fff;margin:0;padding:0;border-top:1px solid #ebeef5;position:absolute;bottom:0;left:0;width:100%;z-index:1}.el-transfer-panel .el-transfer-panel__footer:after{display:inline-block;height:100%;vertical-align:middle}.el-container,.el-timeline-item__node{display:-webkit-box;display:-ms-flexbox}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{padding-left:20px;color:#606266}.el-transfer-panel .el-transfer-panel__empty{margin:0;height:30px;line-height:30px;padding:6px 15px 0;color:#909399;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-transfer-panel .el-checkbox__inner{height:14px;width:14px;border-radius:3px}.el-transfer-panel .el-checkbox__inner:after{height:6px;width:3px;left:4px}.el-container{display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-preferred-size:auto;flex-basis:auto;box-sizing:border-box;min-width:0}.el-container.is-vertical,.el-drawer,.el-empty,.el-result{-webkit-box-orient:vertical;-webkit-box-direction:normal}.el-container.is-vertical{-ms-flex-direction:column;flex-direction:column}.el-header{padding:0 20px;box-sizing:border-box}.el-aside,.el-header{-ms-flex-negative:0;flex-shrink:0}.el-aside,.el-main{overflow:auto;-webkit-box-sizing:border-box;box-sizing:border-box}.el-main{display:block;-webkit-box-flex:1;-ms-flex:1;flex:1;-ms-flex-preferred-size:auto;flex-basis:auto}.el-footer{padding:0 20px;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-negative:0;flex-shrink:0}.el-timeline{margin:0;list-style:none}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline-item{position:relative;padding-bottom:20px}.el-timeline-item__wrapper{position:relative;padding-left:28px;top:-3px}.el-timeline-item__tail{position:absolute;left:4px;height:100%;border-left:2px solid #e4e7ed}.el-timeline-item__icon{color:#fff;font-size:13px}.el-timeline-item__node{position:absolute;background-color:#e4e7ed;border-radius:50%;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-image__error,.el-timeline-item__dot{display:-webkit-box;display:-ms-flexbox}.el-timeline-item__node--normal{left:-1px;width:12px;height:12px}.el-timeline-item__node--large{left:-2px;width:14px;height:14px}.el-timeline-item__node--primary{background-color:#409eff}.el-timeline-item__node--success{background-color:#67c23a}.el-timeline-item__node--warning{background-color:#e6a23c}.el-timeline-item__node--danger{background-color:#f56c6c}.el-timeline-item__node--info{background-color:#909399}.el-timeline-item__dot{position:absolute;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-timeline-item__content{color:#303133}.el-timeline-item__timestamp{color:#909399;line-height:1;font-size:13px}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-link{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;vertical-align:middle;position:relative;text-decoration:none;outline:0;padding:0;font-weight:500}.el-link.is-underline:hover:after{position:absolute;left:0;right:0;height:0;bottom:0;border-bottom:1px solid #409eff}.el-link.el-link--default:after,.el-link.el-link--primary.is-underline:hover:after,.el-link.el-link--primary:after{border-color:#409eff}.el-link.is-disabled{cursor:not-allowed}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link.el-link--default{color:#606266}.el-link.el-link--default:hover{color:#409eff}.el-link.el-link--default.is-disabled{color:#c0c4cc}.el-link.el-link--primary{color:#409eff}.el-link.el-link--primary:hover{color:#66b1ff}.el-link.el-link--primary.is-disabled{color:#a0cfff}.el-link.el-link--danger.is-underline:hover:after,.el-link.el-link--danger:after{border-color:#f56c6c}.el-link.el-link--danger{color:#f56c6c}.el-link.el-link--danger:hover{color:#f78989}.el-link.el-link--danger.is-disabled{color:#fab6b6}.el-link.el-link--success.is-underline:hover:after,.el-link.el-link--success:after{border-color:#67c23a}.el-link.el-link--success{color:#67c23a}.el-link.el-link--success:hover{color:#85ce61}.el-link.el-link--success.is-disabled{color:#b3e19d}.el-link.el-link--warning.is-underline:hover:after,.el-link.el-link--warning:after{border-color:#e6a23c}.el-link.el-link--warning{color:#e6a23c}.el-link.el-link--warning:hover{color:#ebb563}.el-link.el-link--warning.is-disabled{color:#f3d19e}.el-link.el-link--info.is-underline:hover:after,.el-link.el-link--info:after{border-color:#909399}.el-link.el-link--info{color:#909399}.el-link.el-link--info:hover{color:#a6a9ad}.el-link.el-link--info.is-disabled{color:#c8c9cc}.el-divider{background-color:#dcdfe6;position:relative}.el-divider--horizontal{display:block;height:1px;width:100%;margin:24px 0}.el-divider--vertical{display:inline-block;width:1px;height:1em;margin:0 8px;vertical-align:middle;position:relative}.el-divider__text{position:absolute;background-color:#fff;padding:0 20px;font-weight:500;color:#303133}.el-image__error,.el-image__placeholder{background:#f5f7fa}.el-divider__text.is-left{left:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-divider__text.is-center{left:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-image__error,.el-image__inner,.el-image__placeholder{width:100%;height:100%}.el-image{position:relative;display:inline-block;overflow:hidden}.el-image__inner{vertical-align:top}.el-image__inner--center{position:relative;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);display:block}.el-image__error{display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#c0c4cc;vertical-align:middle}.el-image-viewer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0}.el-image-viewer__btn{position:absolute;z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;opacity:.8;-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-user-select:none;user-select:none}.el-button,.el-checkbox,.el-checkbox-button__inner,.el-empty__image img,.el-radio{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.el-image-viewer__close{top:40px;right:40px;width:40px;height:40px;font-size:24px;color:#fff;background-color:#606266}.el-image-viewer__canvas{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.el-image-viewer__actions{left:50%;bottom:30px;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:282px;height:44px;padding:0 23px;background-color:#606266;border-color:#fff;border-radius:22px}.el-image-viewer__actions__inner{width:100%;height:100%;text-align:justify;cursor:default;font-size:23px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.el-image-viewer__next,.el-image-viewer__prev{width:44px;height:44px;font-size:24px;color:#fff;background-color:#606266;border-color:#fff;top:50%}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{-webkit-transform:translateY(-50%);transform:translateY(-50%)}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__mask{position:absolute;width:100%;height:100%;top:0;left:0;opacity:.5;background:#000}.viewer-fade-enter-active{-webkit-animation:viewer-fade-in .3s;animation:viewer-fade-in .3s}.viewer-fade-leave-active{-webkit-animation:viewer-fade-out .3s;animation:viewer-fade-out .3s}@-webkit-keyframes viewer-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@keyframes viewer-fade-in{0%{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}to{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}}@-webkit-keyframes viewer-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}@keyframes viewer-fade-out{0%{-webkit-transform:translateZ(0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0);opacity:0}}.el-button{display:inline-block;line-height:1;white-space:nowrap;cursor:pointer;background:#fff;border:1px solid #dcdfe6;color:#606266;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;margin:0;-webkit-transition:.1s;transition:.1s;font-weight:500;padding:12px 20px;font-size:14px;border-radius:4px}.el-button+.el-button,.el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:10px}.el-button:focus,.el-button:hover{color:#409eff;border-color:#c6e2ff;background-color:#ecf5ff}.el-button:active{color:#3a8ee6;border-color:#3a8ee6;outline:0}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon-]+span{margin-left:5px}.el-button.is-plain:focus,.el-button.is-plain:hover{background:#fff;border-color:#409eff;color:#409eff}.el-button.is-active,.el-button.is-plain:active{color:#3a8ee6;border-color:#3a8ee6}.el-button.is-plain:active{background:#fff;outline:0}.el-button.is-disabled,.el-button.is-disabled:focus,.el-button.is-disabled:hover{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5}.el-button.is-disabled.el-button--text{background-color:transparent}.el-button.is-disabled.is-plain,.el-button.is-disabled.is-plain:focus,.el-button.is-disabled.is-plain:hover{background-color:#fff;border-color:#ebeef5;color:#c0c4cc}.el-button.is-loading{position:relative;pointer-events:none}.el-button.is-loading:before{pointer-events:none;content:"";position:absolute;left:-1px;top:-1px;right:-1px;bottom:-1px;border-radius:inherit;background-color:hsla(0,0%,100%,.35)}.el-button.is-round{border-radius:20px;padding:12px 23px}.el-button.is-circle{border-radius:50%;padding:12px}.el-button--primary{color:#fff;background-color:#409eff;border-color:#409eff}.el-button--primary:focus,.el-button--primary:hover{background:#66b1ff;border-color:#66b1ff;color:#fff}.el-button--primary.is-active,.el-button--primary:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff}.el-button--primary:active{outline:0}.el-button--primary.is-disabled,.el-button--primary.is-disabled:active,.el-button--primary.is-disabled:focus,.el-button--primary.is-disabled:hover{color:#fff;background-color:#a0cfff;border-color:#a0cfff}.el-button--primary.is-plain{color:#409eff;background:#ecf5ff;border-color:#b3d8ff}.el-button--primary.is-plain:focus,.el-button--primary.is-plain:hover{background:#409eff;border-color:#409eff;color:#fff}.el-button--primary.is-plain:active{background:#3a8ee6;border-color:#3a8ee6;color:#fff;outline:0}.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover{color:#8cc5ff;background-color:#ecf5ff;border-color:#d9ecff}.el-button--success{color:#fff;background-color:#67c23a;border-color:#67c23a}.el-button--success:focus,.el-button--success:hover{background:#85ce61;border-color:#85ce61;color:#fff}.el-button--success.is-active,.el-button--success:active{background:#5daf34;border-color:#5daf34;color:#fff}.el-button--success:active{outline:0}.el-button--success.is-disabled,.el-button--success.is-disabled:active,.el-button--success.is-disabled:focus,.el-button--success.is-disabled:hover{color:#fff;background-color:#b3e19d;border-color:#b3e19d}.el-button--success.is-plain{color:#67c23a;background:#f0f9eb;border-color:#c2e7b0}.el-button--success.is-plain:focus,.el-button--success.is-plain:hover{background:#67c23a;border-color:#67c23a;color:#fff}.el-button--success.is-plain:active{background:#5daf34;border-color:#5daf34;color:#fff;outline:0}.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover{color:#a4da89;background-color:#f0f9eb;border-color:#e1f3d8}.el-button--warning{color:#fff;background-color:#e6a23c;border-color:#e6a23c}.el-button--warning:focus,.el-button--warning:hover{background:#ebb563;border-color:#ebb563;color:#fff}.el-button--warning.is-active,.el-button--warning:active{background:#cf9236;border-color:#cf9236;color:#fff}.el-button--warning:active{outline:0}.el-button--warning.is-disabled,.el-button--warning.is-disabled:active,.el-button--warning.is-disabled:focus,.el-button--warning.is-disabled:hover{color:#fff;background-color:#f3d19e;border-color:#f3d19e}.el-button--warning.is-plain{color:#e6a23c;background:#fdf6ec;border-color:#f5dab1}.el-button--warning.is-plain:focus,.el-button--warning.is-plain:hover{background:#e6a23c;border-color:#e6a23c;color:#fff}.el-button--warning.is-plain:active{background:#cf9236;border-color:#cf9236;color:#fff;outline:0}.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover{color:#f0c78a;background-color:#fdf6ec;border-color:#faecd8}.el-button--danger{color:#fff;background-color:#f56c6c;border-color:#f56c6c}.el-button--danger:focus,.el-button--danger:hover{background:#f78989;border-color:#f78989;color:#fff}.el-button--danger.is-active,.el-button--danger:active{background:#dd6161;border-color:#dd6161;color:#fff}.el-button--danger:active{outline:0}.el-button--danger.is-disabled,.el-button--danger.is-disabled:active,.el-button--danger.is-disabled:focus,.el-button--danger.is-disabled:hover{color:#fff;background-color:#fab6b6;border-color:#fab6b6}.el-button--danger.is-plain{color:#f56c6c;background:#fef0f0;border-color:#fbc4c4}.el-button--danger.is-plain:focus,.el-button--danger.is-plain:hover{background:#f56c6c;border-color:#f56c6c;color:#fff}.el-button--danger.is-plain:active{background:#dd6161;border-color:#dd6161;color:#fff;outline:0}.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover{color:#f9a7a7;background-color:#fef0f0;border-color:#fde2e2}.el-button--info{color:#fff;background-color:#909399;border-color:#909399}.el-button--info:focus,.el-button--info:hover{background:#a6a9ad;border-color:#a6a9ad;color:#fff}.el-button--info.is-active,.el-button--info:active{background:#82848a;border-color:#82848a;color:#fff}.el-button--info:active{outline:0}.el-button--info.is-disabled,.el-button--info.is-disabled:active,.el-button--info.is-disabled:focus,.el-button--info.is-disabled:hover{color:#fff;background-color:#c8c9cc;border-color:#c8c9cc}.el-button--info.is-plain{color:#909399;background:#f4f4f5;border-color:#d3d4d6}.el-button--info.is-plain:focus,.el-button--info.is-plain:hover{background:#909399;border-color:#909399;color:#fff}.el-button--info.is-plain:active{background:#82848a;border-color:#82848a;color:#fff;outline:0}.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover{color:#bcbec2;background-color:#f4f4f5;border-color:#e9e9eb}.el-button--medium{padding:10px 20px;font-size:14px;border-radius:4px}.el-button--medium.is-round{padding:10px 20px}.el-button--medium.is-circle{padding:10px}.el-button--small{padding:9px 15px;font-size:12px;border-radius:3px}.el-button--small.is-round{padding:9px 15px}.el-button--small.is-circle{padding:9px}.el-button--mini,.el-button--mini.is-round{padding:7px 15px}.el-button--mini{font-size:12px;border-radius:3px}.el-button--mini.is-circle{padding:7px}.el-button--text{border-color:transparent;color:#409eff;background:0 0;padding-left:0;padding-right:0}.el-button--text:focus,.el-button--text:hover{color:#66b1ff;border-color:transparent;background-color:transparent}.el-button--text:active{color:#3a8ee6;background-color:transparent}.el-button--text.is-disabled,.el-button--text.is-disabled:focus,.el-button--text.is-disabled:hover,.el-button--text:active{border-color:transparent}.el-button-group .el-button--danger:last-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:last-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:last-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:last-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:last-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child),.el-button-group>.el-dropdown>.el-button{border-left-color:hsla(0,0%,100%,.5)}.el-button-group .el-button--danger:first-child,.el-button-group .el-button--danger:not(:first-child):not(:last-child),.el-button-group .el-button--info:first-child,.el-button-group .el-button--info:not(:first-child):not(:last-child),.el-button-group .el-button--primary:first-child,.el-button-group .el-button--primary:not(:first-child):not(:last-child),.el-button-group .el-button--success:first-child,.el-button-group .el-button--success:not(:first-child):not(:last-child),.el-button-group .el-button--warning:first-child,.el-button-group .el-button--warning:not(:first-child):not(:last-child){border-right-color:hsla(0,0%,100%,.5)}.el-button-group{display:inline-block;vertical-align:middle}.el-button-group:after,.el-button-group:before{display:table}.el-button-group:after{clear:both}.el-button-group>.el-button{float:left;position:relative}.el-button-group>.el-button.is-disabled{z-index:1}.el-button-group>.el-button:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.el-button-group>.el-button:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.el-button-group>.el-button:first-child:last-child{border-radius:4px}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:20px}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button.is-active,.el-button-group>.el-button:not(.is-disabled):active,.el-button-group>.el-button:not(.is-disabled):focus,.el-button-group>.el-button:not(.is-disabled):hover{z-index:1}.el-button-group>.el-dropdown>.el-button{border-top-left-radius:0;border-bottom-left-radius:0}.el-calendar{background-color:#fff}.el-calendar__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #ebeef5}.el-backtop,.el-page-header{display:-webkit-box;display:-ms-flexbox}.el-calendar__title{color:#000;-ms-flex-item-align:center;align-self:center}.el-calendar__body{padding:12px 20px 35px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{padding:12px 0;color:#606266;font-weight:400}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:#c0c4cc}.el-backtop,.el-calendar-table td.is-today{color:#409eff}.el-calendar-table td{border-bottom:1px solid #ebeef5;border-right:1px solid #ebeef5;vertical-align:top;-webkit-transition:background-color .2s ease;transition:background-color .2s ease}.el-calendar-table td.is-selected{background-color:#f2f8fe}.el-calendar-table tr:first-child td{border-top:1px solid #ebeef5}.el-calendar-table tr td:first-child{border-left:1px solid #ebeef5}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{-webkit-box-sizing:border-box;box-sizing:border-box;padding:8px;height:85px}.el-calendar-table .el-calendar-day:hover{cursor:pointer;background-color:#f2f8fe}.el-backtop{position:fixed;background-color:#fff;width:40px;height:40px;border-radius:50%;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:20px;-webkit-box-shadow:0 0 6px rgba(0,0,0,.12);box-shadow:0 0 6px rgba(0,0,0,.12);cursor:pointer;z-index:5}.el-backtop:hover{background-color:#f2f6fc}.el-page-header{display:flex;line-height:24px}.el-page-header__left{display:-webkit-box;display:-ms-flexbox;display:flex;cursor:pointer;margin-right:40px;position:relative}.el-page-header__left:after{position:absolute;width:1px;height:16px;right:-20px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);background-color:#dcdfe6}.el-checkbox,.el-checkbox__input{display:inline-block;position:relative;white-space:nowrap}.el-page-header__left .el-icon-back{font-size:18px;margin-right:6px;-ms-flex-item-align:center;align-self:center}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{font-size:18px;color:#303133}.el-checkbox{color:#606266;font-weight:500;font-size:14px;cursor:pointer;user-select:none;margin-right:30px}.el-checkbox.is-bordered{padding:9px 20px 9px 10px;border-radius:4px;border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;line-height:normal;height:40px}.el-checkbox.is-bordered.is-checked{border-color:#409eff}.el-checkbox.is-bordered.is-disabled{border-color:#ebeef5;cursor:not-allowed}.el-checkbox.is-bordered.el-checkbox--medium{padding:7px 20px 7px 10px;border-radius:4px;height:36px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__label{line-height:17px;font-size:14px}.el-checkbox.is-bordered.el-checkbox--medium .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{padding:5px 15px 5px 10px;border-radius:3px;height:32px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{line-height:15px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox.is-bordered.el-checkbox--mini{padding:3px 15px 3px 10px;border-radius:3px;height:28px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__label{line-height:12px;font-size:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--mini .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox__input{cursor:pointer;outline:0;line-height:1;vertical-align:middle}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:#edf2fc;border-color:#dcdfe6;cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{cursor:not-allowed;border-color:#c0c4cc}.el-checkbox__input.is-disabled .el-checkbox__inner+.el-checkbox__label{cursor:not-allowed}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:#c0c4cc}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:#f2f6fc;border-color:#dcdfe6}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:#c0c4cc;border-color:#c0c4cc}.el-checkbox__input.is-checked .el-checkbox__inner,.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:#409eff;border-color:#409eff}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:#c0c4cc;cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner:after{-webkit-transform:rotate(45deg) scaleY(1);transform:rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:#409eff}.el-checkbox__input.is-focus .el-checkbox__inner{border-color:#409eff}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{content:"";position:absolute;display:block;background-color:#fff;height:2px;-webkit-transform:scale(.5);transform:scale(.5);left:0;right:0;top:5px}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{display:inline-block;position:relative;border:1px solid #dcdfe6;border-radius:2px;-webkit-box-sizing:border-box;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;-webkit-transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.el-checkbox__inner:hover{border-color:#409eff}.el-checkbox__inner:after{-webkit-box-sizing:content-box;box-sizing:content-box;content:"";border:1px solid #fff;border-left:0;border-top:0;height:7px;left:4px;position:absolute;top:1px;-webkit-transform:rotate(45deg) scaleY(0);transform:rotate(45deg) scaleY(0);width:3px;-webkit-transition:-webkit-transform .15s ease-in .05s;transition:-webkit-transform .15s ease-in .05s;transition:transform .15s ease-in .05s;transition:transform .15s ease-in .05s,-webkit-transform .15s ease-in .05s;-webkit-transform-origin:center;transform-origin:center}.el-checkbox__original{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.el-checkbox-button,.el-checkbox-button__inner{display:inline-block;position:relative}.el-checkbox__label{display:inline-block;padding-left:10px;line-height:19px;font-size:14px}.el-checkbox:last-of-type{margin-right:0}.el-checkbox-button__inner{line-height:1;font-weight:500;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-left:0;color:#606266;-webkit-appearance:none;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;outline:0;margin:0;-webkit-transition:all .3s cubic-bezier(.645,.045,.355,1);transition:all .3s cubic-bezier(.645,.045,.355,1);padding:12px 20px;font-size:14px;border-radius:0}.el-checkbox-button__inner.is-round{padding:12px 20px}.el-checkbox-button__inner:hover{color:#409eff}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{opacity:0;outline:0;position:absolute;margin:0;z-index:-1}.el-radio,.el-radio__inner,.el-radio__input{position:relative;display:inline-block}.el-checkbox-button.is-checked .el-checkbox-button__inner{color:#fff;background-color:#409eff;border-color:#409eff;-webkit-box-shadow:-1px 0 0 0 #8cc5ff;box-shadow:-1px 0 0 0 #8cc5ff}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:#409eff}.el-checkbox-button.is-disabled .el-checkbox-button__inner{color:#c0c4cc;cursor:not-allowed;background-image:none;background-color:#fff;border-color:#ebeef5;-webkit-box-shadow:none;box-shadow:none}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:#ebeef5}.el-checkbox-button:first-child .el-checkbox-button__inner{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;-webkit-box-shadow:none!important;box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:#409eff}.el-checkbox-button:last-child .el-checkbox-button__inner{border-radius:0 4px 4px 0}.el-checkbox-button--medium .el-checkbox-button__inner{padding:10px 20px;font-size:14px;border-radius:0}.el-checkbox-button--medium .el-checkbox-button__inner.is-round{padding:10px 20px}.el-checkbox-button--small .el-checkbox-button__inner{padding:9px 15px;font-size:12px;border-radius:0}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:9px 15px}.el-checkbox-button--mini .el-checkbox-button__inner{padding:7px 15px;font-size:12px;border-radius:0}.el-checkbox-button--mini .el-checkbox-button__inner.is-round{padding:7px 15px}.el-checkbox-group{font-size:0}.el-avatar,.el-cascader-panel,.el-radio,.el-radio--medium.is-bordered .el-radio__label,.el-radio__label{font-size:14px}.el-radio{color:#606266;font-weight:500;line-height:1;cursor:pointer;white-space:nowrap;outline:0;margin-right:30px}.el-cascader-node>.el-radio,.el-radio:last-child{margin-right:0}.el-radio.is-bordered{padding:12px 20px 0 10px;border-radius:4px;border:1px solid #dcdfe6;-webkit-box-sizing:border-box;box-sizing:border-box;height:40px}.el-cascader-menu,.el-cascader-menu__list,.el-radio__inner{-webkit-box-sizing:border-box}.el-radio.is-bordered.is-checked{border-color:#409eff}.el-radio.is-bordered.is-disabled{cursor:not-allowed;border-color:#ebeef5}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:#f5f7fa;border-color:#e4e7ed}.el-radio.is-bordered+.el-radio.is-bordered{margin-left:10px}.el-radio--medium.is-bordered{padding:10px 20px 0 10px;border-radius:4px;height:36px}.el-radio--mini.is-bordered .el-radio__label,.el-radio--small.is-bordered .el-radio__label{font-size:12px}.el-radio--medium.is-bordered .el-radio__inner{height:14px;width:14px}.el-radio--small.is-bordered{padding:8px 15px 0 10px;border-radius:3px;height:32px}.el-radio--small.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio--mini.is-bordered{padding:6px 15px 0 10px;border-radius:3px;height:28px}.el-radio--mini.is-bordered .el-radio__inner{height:12px;width:12px}.el-radio__input{white-space:nowrap;cursor:pointer;outline:0;line-height:1;vertical-align:middle}.el-radio__input.is-disabled .el-radio__inner{cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner:after{cursor:not-allowed;background-color:#f5f7fa}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:#c0c4cc}.el-radio__input.is-disabled+span.el-radio__label{color:#c0c4cc;cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{border-color:#409eff;background:#409eff}.el-radio__input.is-checked .el-radio__inner:after{-webkit-transform:translate(-50%,-50%) scale(1);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:#409eff}.el-radio__input.is-focus .el-radio__inner{border-color:#409eff}.el-radio__inner{border:1px solid #dcdfe6;border-radius:100%;width:14px;height:14px;background-color:#fff;cursor:pointer;box-sizing:border-box}.el-radio__inner:hover{border-color:#409eff}.el-radio__inner:after{width:4px;height:4px;border-radius:100%;background-color:#fff;content:"";position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%,-50%) scale(0);transform:translate(-50%,-50%) scale(0);-webkit-transition:-webkit-transform .15s ease-in;transition:-webkit-transform .15s ease-in;transition:transform .15s ease-in;transition:transform .15s ease-in,-webkit-transform .15s ease-in}.el-radio__original{opacity:0;outline:0;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.el-radio:focus:not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{-webkit-box-shadow:0 0 2px 2px #409eff;box-shadow:0 0 2px 2px #409eff}.el-radio__label{padding-left:10px}.el-scrollbar{overflow:hidden;position:relative}.el-scrollbar:active>.el-scrollbar__bar,.el-scrollbar:focus>.el-scrollbar__bar,.el-scrollbar:hover>.el-scrollbar__bar{opacity:1;-webkit-transition:opacity .34s ease-out;transition:opacity .34s ease-out}.el-scrollbar__wrap{overflow:scroll;height:100%}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{width:0;height:0}.el-scrollbar__thumb{position:relative;display:block;width:0;height:0;cursor:pointer;border-radius:inherit;background-color:hsla(220,4%,58%,.3);-webkit-transition:background-color .3s;transition:background-color .3s}.el-scrollbar__thumb:hover{background-color:hsla(220,4%,58%,.5)}.el-scrollbar__bar{position:absolute;right:2px;bottom:2px;z-index:1;border-radius:4px;opacity:0;-webkit-transition:opacity .12s ease-out;transition:opacity .12s ease-out}.el-scrollbar__bar.is-vertical{width:6px;top:2px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-cascader-panel{display:-webkit-box;display:-ms-flexbox;display:flex;border-radius:4px}.el-cascader-panel.is-bordered{border:1px solid #e4e7ed;border-radius:4px}.el-cascader-menu{min-width:180px;box-sizing:border-box;color:#606266;border-right:1px solid #e4e7ed}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu__wrap{height:204px}.el-cascader-menu__list{position:relative;min-height:100%;margin:0;padding:6px 0;list-style:none;box-sizing:border-box}.el-cascader-menu__hover-zone{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.el-cascader-menu__empty-text{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);text-align:center;color:#c0c4cc}.el-cascader-node{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0 30px 0 20px;height:34px;line-height:34px;outline:0}.el-cascader-node.is-selectable.in-active-path{color:#606266}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:#409eff;font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:#f5f7fa}.el-cascader-node.is-disabled{color:#c0c4cc;cursor:not-allowed}.el-cascader-node__prefix{position:absolute;left:10px}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:0 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-avatar{display:inline-block;-webkit-box-sizing:border-box;box-sizing:border-box;text-align:center;overflow:hidden;color:#fff;background:#c0c4cc;width:40px;height:40px;line-height:40px}.el-drawer,.el-drawer__body>*{-webkit-box-sizing:border-box}.el-avatar>img{display:block;height:100%;vertical-align:middle}.el-empty__image img,.el-empty__image svg{vertical-align:top;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:4px}.el-avatar--icon{font-size:18px}.el-avatar--large{width:40px;height:40px;line-height:40px}.el-avatar--medium{width:36px;height:36px;line-height:36px}.el-avatar--small{width:28px;height:28px;line-height:28px}@-webkit-keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@keyframes el-drawer-fade-in{0%{opacity:0}to{opacity:1}}@-webkit-keyframes rtl-drawer-in{0%{-webkit-transform:translate(100%);transform:translate(100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@keyframes rtl-drawer-in{0%{-webkit-transform:translate(100%);transform:translate(100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@-webkit-keyframes rtl-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(100%);transform:translate(100%)}}@keyframes rtl-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(100%);transform:translate(100%)}}@-webkit-keyframes ltr-drawer-in{0%{-webkit-transform:translate(-100%);transform:translate(-100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@keyframes ltr-drawer-in{0%{-webkit-transform:translate(-100%);transform:translate(-100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@-webkit-keyframes ltr-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-100%);transform:translate(-100%)}}@keyframes ltr-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translate(-100%);transform:translate(-100%)}}@-webkit-keyframes ttb-drawer-in{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@keyframes ttb-drawer-in{0%{-webkit-transform:translateY(-100%);transform:translateY(-100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@-webkit-keyframes ttb-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@keyframes ttb-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translateY(-100%);transform:translateY(-100%)}}@-webkit-keyframes btt-drawer-in{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@keyframes btt-drawer-in{0%{-webkit-transform:translateY(100%);transform:translateY(100%)}to{-webkit-transform:translate(0);transform:translate(0)}}@-webkit-keyframes btt-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}@keyframes btt-drawer-out{0%{-webkit-transform:translate(0);transform:translate(0)}to{-webkit-transform:translateY(100%);transform:translateY(100%)}}.el-drawer{position:absolute;box-sizing:border-box;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12);overflow:hidden;outline:0}.el-drawer.rtl{-webkit-animation:rtl-drawer-out .3s;animation:rtl-drawer-out .3s;right:0}.el-drawer__open .el-drawer.rtl{-webkit-animation:rtl-drawer-in .3s 1ms;animation:rtl-drawer-in .3s 1ms}.el-drawer.ltr{-webkit-animation:ltr-drawer-out .3s;animation:ltr-drawer-out .3s;left:0}.el-drawer__open .el-drawer.ltr{-webkit-animation:ltr-drawer-in .3s 1ms;animation:ltr-drawer-in .3s 1ms}.el-drawer.ttb{-webkit-animation:ttb-drawer-out .3s;animation:ttb-drawer-out .3s;top:0}.el-drawer__open .el-drawer.ttb{-webkit-animation:ttb-drawer-in .3s 1ms;animation:ttb-drawer-in .3s 1ms}.el-drawer.btt{-webkit-animation:btt-drawer-out .3s;animation:btt-drawer-out .3s;bottom:0}.el-drawer__open .el-drawer.btt{-webkit-animation:btt-drawer-in .3s 1ms;animation:btt-drawer-in .3s 1ms}.el-drawer__wrapper{position:fixed;top:0;right:0;bottom:0;left:0;overflow:hidden;margin:0}.el-drawer__header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#72767b;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:32px;padding:20px 20px 0}.el-drawer__header>:first-child,.el-drawer__title{-webkit-box-flex:1;-ms-flex:1;flex:1}.el-drawer__title{margin:0;line-height:inherit;font-size:1rem}.el-drawer__close-btn{border:none;cursor:pointer;font-size:20px;color:inherit;background-color:transparent}.el-drawer__body{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow:auto}.el-drawer__body>*{box-sizing:border-box}.el-drawer.ltr,.el-drawer.rtl{height:100%;top:0;bottom:0}.el-drawer.btt,.el-drawer.ttb,.el-drawer__container{width:100%;left:0;right:0}.el-drawer__container{position:relative;top:0;bottom:0;height:100%}.el-drawer-fade-enter-active{-webkit-animation:el-drawer-fade-in .3s;animation:el-drawer-fade-in .3s}.el-drawer-fade-leave-active{animation:el-drawer-fade-in .3s reverse}.el-statistic{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;color:#000;font-variant:tabular-nums;list-style:none;-webkit-font-feature-settings:"tnum";font-feature-settings:"tnum";text-align:center}.el-statistic .head{margin-bottom:4px;color:#606266;font-size:13px}.el-statistic .con{font-family:Sans-serif;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#303133}.el-statistic .con .number{font-size:20px;padding:0 4px}.el-statistic .con span{display:inline-block;margin:0;line-height:100%}.el-popconfirm__main,.el-skeleton__image{display:-ms-flexbox;-webkit-box-align:center;display:-webkit-box}.el-popconfirm__main{display:flex;-ms-flex-align:center;align-items:center}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{text-align:right;margin:0}@-webkit-keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{height:16px;margin-top:16px;background:#f2f2f2}.el-skeleton.is-animated .el-skeleton__item{background:-webkit-gradient(linear,left top,right top,color-stop(25%,#f2f2f2),color-stop(37%,#e6e6e6),color-stop(63%,#f2f2f2));background:linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);background-size:400% 100%;-webkit-animation:el-skeleton-loading 1.4s ease infinite;animation:el-skeleton-loading 1.4s ease infinite}.el-skeleton__item{background:#f2f2f2;display:inline-block;height:16px;border-radius:4px;width:100%}.el-skeleton__circle{border-radius:50%;width:36px;height:36px;line-height:36px}.el-skeleton__circle--lg{width:40px;height:40px;line-height:40px}.el-skeleton__circle--md{width:28px;height:28px;line-height:28px}.el-skeleton__button{height:40px;width:64px;border-radius:4px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{width:100%;height:13px}.el-skeleton__caption{height:12px}.el-skeleton__h1{height:20px}.el-skeleton__h3{height:18px}.el-skeleton__h5{height:16px}.el-skeleton__image{width:unset;display:flex;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;border-radius:0}.el-skeleton__image svg{fill:#dcdde0;width:22%;height:22%}.el-empty{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px 0}.el-empty__image{width:160px}.el-empty__image img{user-select:none;-o-object-fit:contain;object-fit:contain}.el-empty__image svg{fill:#dcdde0}.el-empty__description{margin-top:20px}.el-empty__description p{margin:0;font-size:14px;color:#909399}.el-empty__bottom,.el-result__title{margin-top:20px}.el-descriptions{-webkit-box-sizing:border-box;box-sizing:border-box;font-size:14px;color:#303133}.el-descriptions__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:20px}.el-descriptions__title{font-size:16px;font-weight:700}.el-descriptions--mini,.el-descriptions--small{font-size:12px}.el-descriptions__body{color:#606266;background-color:#fff}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%;table-layout:fixed}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell{-webkit-box-sizing:border-box;box-sizing:border-box;text-align:left;font-weight:400;line-height:1.5}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions-item__cell.is-right{text-align:right}.el-descriptions .is-bordered{table-layout:auto}.el-descriptions .is-bordered .el-descriptions-item__cell{border:1px solid #ebeef5;padding:12px 10px}.el-descriptions :not(.is-bordered) .el-descriptions-item__cell{padding-bottom:12px}.el-descriptions--medium.is-bordered .el-descriptions-item__cell{padding:10px}.el-descriptions--medium:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:10px}.el-descriptions--small.is-bordered .el-descriptions-item__cell{padding:8px 10px}.el-descriptions--small:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:8px}.el-descriptions--mini.is-bordered .el-descriptions-item__cell{padding:6px 10px}.el-descriptions--mini:not(.is-bordered) .el-descriptions-item__cell{padding-bottom:6px}.el-descriptions-item{vertical-align:top}.el-descriptions-item__container{display:-webkit-box;display:-ms-flexbox;display:flex}.el-descriptions-item__container .el-descriptions-item__content,.el-descriptions-item__container .el-descriptions-item__label{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline}.el-descriptions-item__container .el-descriptions-item__content{-webkit-box-flex:1;-ms-flex:1;flex:1}.el-descriptions-item__label.has-colon:after{content:":";position:relative;top:-.5px}.el-descriptions-item__label.is-bordered-label{font-weight:700;color:#909399;background:#fafafa}.el-descriptions-item__label:not(.is-bordered-label){margin-right:10px}.el-descriptions-item__content{word-break:break-word;overflow-wrap:break-word}.el-result{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;padding:40px 30px}.el-result__icon svg{width:64px;height:64px}.el-result__title p{margin:0;font-size:20px;color:#303133;line-height:1.3}.el-result__subtitle{margin-top:10px}.el-result__subtitle p{margin:0;font-size:14px;color:#606266;line-height:1.3}.el-result__extra{margin-top:30px}.el-result .icon-success{fill:#67c23a}.el-result .icon-error{fill:#f56c6c}.el-result .icon-info{fill:#909399}.el-result .icon-warning{fill:#e6a23c} \ No newline at end of file diff --git a/mining-pool/public/dist/favicon.ico b/mining-pool/public/dist/favicon.ico new file mode 100644 index 0000000..699af6b Binary files /dev/null and b/mining-pool/public/dist/favicon.ico differ diff --git a/mining-pool/public/dist/fonts/element-icons.f1a45d74.ttf b/mining-pool/public/dist/fonts/element-icons.f1a45d74.ttf new file mode 100644 index 0000000..91b74de Binary files /dev/null and b/mining-pool/public/dist/fonts/element-icons.f1a45d74.ttf differ diff --git a/mining-pool/public/dist/fonts/element-icons.ff18efd1.woff b/mining-pool/public/dist/fonts/element-icons.ff18efd1.woff new file mode 100644 index 0000000..02b9a25 Binary files /dev/null and b/mining-pool/public/dist/fonts/element-icons.ff18efd1.woff differ diff --git a/mining-pool/public/dist/fonts/iconfont.5b7e587a.eot b/mining-pool/public/dist/fonts/iconfont.5b7e587a.eot new file mode 100644 index 0000000..bee66a1 Binary files /dev/null and b/mining-pool/public/dist/fonts/iconfont.5b7e587a.eot differ diff --git a/mining-pool/public/dist/fonts/iconfont.822d0662.woff b/mining-pool/public/dist/fonts/iconfont.822d0662.woff new file mode 100644 index 0000000..3d251c5 Binary files /dev/null and b/mining-pool/public/dist/fonts/iconfont.822d0662.woff differ diff --git a/mining-pool/public/dist/fonts/iconfont.f799a9e7.ttf b/mining-pool/public/dist/fonts/iconfont.f799a9e7.ttf new file mode 100644 index 0000000..fa103e7 Binary files /dev/null and b/mining-pool/public/dist/fonts/iconfont.f799a9e7.ttf differ diff --git a/mining-pool/public/dist/img/404.458c248a.png b/mining-pool/public/dist/img/404.458c248a.png new file mode 100644 index 0000000..3d8e230 Binary files /dev/null and b/mining-pool/public/dist/img/404.458c248a.png differ diff --git a/mining-pool/public/dist/img/DGB.12066a7e.svg b/mining-pool/public/dist/img/DGB.12066a7e.svg new file mode 100644 index 0000000..80e826d --- /dev/null +++ b/mining-pool/public/dist/img/DGB.12066a7e.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/mining-pool/public/dist/img/LOGO.8ae69378.svg b/mining-pool/public/dist/img/LOGO.8ae69378.svg new file mode 100644 index 0000000..fd81643 --- /dev/null +++ b/mining-pool/public/dist/img/LOGO.8ae69378.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/alph.bd2d12a3.svg b/mining-pool/public/dist/img/alph.bd2d12a3.svg new file mode 100644 index 0000000..dae25fe --- /dev/null +++ b/mining-pool/public/dist/img/alph.bd2d12a3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/bgtop.d1ac5a03.svg b/mining-pool/public/dist/img/bgtop.d1ac5a03.svg new file mode 100644 index 0000000..129a967 --- /dev/null +++ b/mining-pool/public/dist/img/bgtop.d1ac5a03.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/bkbuttom.05337f57.png b/mining-pool/public/dist/img/bkbuttom.05337f57.png new file mode 100644 index 0000000..f0803a7 Binary files /dev/null and b/mining-pool/public/dist/img/bkbuttom.05337f57.png differ diff --git a/mining-pool/public/dist/img/bktop.91a777f0.png b/mining-pool/public/dist/img/bktop.91a777f0.png new file mode 100644 index 0000000..e1b539f Binary files /dev/null and b/mining-pool/public/dist/img/bktop.91a777f0.png differ diff --git a/mining-pool/public/dist/img/currency-nexa.8d3a28b9.png b/mining-pool/public/dist/img/currency-nexa.8d3a28b9.png new file mode 100644 index 0000000..8b48de3 Binary files /dev/null and b/mining-pool/public/dist/img/currency-nexa.8d3a28b9.png differ diff --git a/mining-pool/public/dist/img/dialog1.6b499f8a.png b/mining-pool/public/dist/img/dialog1.6b499f8a.png new file mode 100644 index 0000000..29e52b0 Binary files /dev/null and b/mining-pool/public/dist/img/dialog1.6b499f8a.png differ diff --git a/mining-pool/public/dist/img/dialog2.902b738d.png b/mining-pool/public/dist/img/dialog2.902b738d.png new file mode 100644 index 0000000..22fb2e4 Binary files /dev/null and b/mining-pool/public/dist/img/dialog2.902b738d.png differ diff --git a/mining-pool/public/dist/img/dialog3.676187b6.png b/mining-pool/public/dist/img/dialog3.676187b6.png new file mode 100644 index 0000000..22847d8 Binary files /dev/null and b/mining-pool/public/dist/img/dialog3.676187b6.png differ diff --git a/mining-pool/public/dist/img/grs.27ff84e3.svg b/mining-pool/public/dist/img/grs.27ff84e3.svg new file mode 100644 index 0000000..c6ba33e --- /dev/null +++ b/mining-pool/public/dist/img/grs.27ff84e3.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mining-pool/public/dist/img/home.2a3cb050.png b/mining-pool/public/dist/img/home.2a3cb050.png new file mode 100644 index 0000000..2ec15e5 Binary files /dev/null and b/mining-pool/public/dist/img/home.2a3cb050.png differ diff --git a/mining-pool/public/dist/img/home.4c2d8f62.png b/mining-pool/public/dist/img/home.4c2d8f62.png new file mode 100644 index 0000000..0748c2e Binary files /dev/null and b/mining-pool/public/dist/img/home.4c2d8f62.png differ diff --git a/mining-pool/public/dist/img/homeMenu.877d301d.svg b/mining-pool/public/dist/img/homeMenu.877d301d.svg new file mode 100644 index 0000000..e6802d1 --- /dev/null +++ b/mining-pool/public/dist/img/homeMenu.877d301d.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/homebgbtm.8b659935.png b/mining-pool/public/dist/img/homebgbtm.8b659935.png new file mode 100644 index 0000000..905d349 Binary files /dev/null and b/mining-pool/public/dist/img/homebgbtm.8b659935.png differ diff --git a/mining-pool/public/dist/img/homebgtop.733f659d.png b/mining-pool/public/dist/img/homebgtop.733f659d.png new file mode 100644 index 0000000..589663a Binary files /dev/null and b/mining-pool/public/dist/img/homebgtop.733f659d.png differ diff --git a/mining-pool/public/dist/img/iconfont.39b68b2e.svg b/mining-pool/public/dist/img/iconfont.39b68b2e.svg new file mode 100644 index 0000000..4dd348f --- /dev/null +++ b/mining-pool/public/dist/img/iconfont.39b68b2e.svg @@ -0,0 +1,115 @@ + + + + Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mining-pool/public/dist/img/lang.cef122f4.svg b/mining-pool/public/dist/img/lang.cef122f4.svg new file mode 100644 index 0000000..c0a49bf --- /dev/null +++ b/mining-pool/public/dist/img/lang.cef122f4.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/lgout.189a539a.svg b/mining-pool/public/dist/img/lgout.189a539a.svg new file mode 100644 index 0000000..1836936 --- /dev/null +++ b/mining-pool/public/dist/img/lgout.189a539a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/logBg.3050d0aa.png b/mining-pool/public/dist/img/logBg.3050d0aa.png new file mode 100644 index 0000000..1826ef6 Binary files /dev/null and b/mining-pool/public/dist/img/logBg.3050d0aa.png differ diff --git a/mining-pool/public/dist/img/logicon.e79b64d3.png b/mining-pool/public/dist/img/logicon.e79b64d3.png new file mode 100644 index 0000000..7dd4102 Binary files /dev/null and b/mining-pool/public/dist/img/logicon.e79b64d3.png differ diff --git a/mining-pool/public/dist/img/logointop.60501418.svg b/mining-pool/public/dist/img/logointop.60501418.svg new file mode 100644 index 0000000..976b5ae --- /dev/null +++ b/mining-pool/public/dist/img/logointop.60501418.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/menu.5760bd15.svg b/mining-pool/public/dist/img/menu.5760bd15.svg new file mode 100644 index 0000000..26cbfc1 --- /dev/null +++ b/mining-pool/public/dist/img/menu.5760bd15.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/mining.63661eb9.svg b/mining-pool/public/dist/img/mining.63661eb9.svg new file mode 100644 index 0000000..2bb88a8 --- /dev/null +++ b/mining-pool/public/dist/img/mining.63661eb9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/mona.643bf599.svg b/mining-pool/public/dist/img/mona.643bf599.svg new file mode 100644 index 0000000..e082d2b --- /dev/null +++ b/mining-pool/public/dist/img/mona.643bf599.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/notOpen.759679bf.png b/mining-pool/public/dist/img/notOpen.759679bf.png new file mode 100644 index 0000000..68d7f83 Binary files /dev/null and b/mining-pool/public/dist/img/notOpen.759679bf.png differ diff --git a/mining-pool/public/dist/img/personal.dccd7ff6.svg b/mining-pool/public/dist/img/personal.dccd7ff6.svg new file mode 100644 index 0000000..30af657 --- /dev/null +++ b/mining-pool/public/dist/img/personal.dccd7ff6.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/power1.e301c95e.svg b/mining-pool/public/dist/img/power1.e301c95e.svg new file mode 100644 index 0000000..652b8c6 --- /dev/null +++ b/mining-pool/public/dist/img/power1.e301c95e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/profit.adb6726b.svg b/mining-pool/public/dist/img/profit.adb6726b.svg new file mode 100644 index 0000000..d544a67 --- /dev/null +++ b/mining-pool/public/dist/img/profit.adb6726b.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/registertop.d405fe96.svg b/mining-pool/public/dist/img/registertop.d405fe96.svg new file mode 100644 index 0000000..b5d2675 --- /dev/null +++ b/mining-pool/public/dist/img/registertop.d405fe96.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/reincon.5da4795a.png b/mining-pool/public/dist/img/reincon.5da4795a.png new file mode 100644 index 0000000..c0d18ba Binary files /dev/null and b/mining-pool/public/dist/img/reincon.5da4795a.png differ diff --git a/mining-pool/public/dist/img/reportBlock.95dfc0dc.svg b/mining-pool/public/dist/img/reportBlock.95dfc0dc.svg new file mode 100644 index 0000000..6746103 --- /dev/null +++ b/mining-pool/public/dist/img/reportBlock.95dfc0dc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/rxd.e5ec03d4.png b/mining-pool/public/dist/img/rxd.e5ec03d4.png new file mode 100644 index 0000000..1a74cd4 Binary files /dev/null and b/mining-pool/public/dist/img/rxd.e5ec03d4.png differ diff --git a/mining-pool/public/dist/img/top.7f0acfc3.png b/mining-pool/public/dist/img/top.7f0acfc3.png new file mode 100644 index 0000000..a5b1fe9 Binary files /dev/null and b/mining-pool/public/dist/img/top.7f0acfc3.png differ diff --git a/mining-pool/public/dist/img/workAdministration.d8f96ac7.svg b/mining-pool/public/dist/img/workAdministration.d8f96ac7.svg new file mode 100644 index 0000000..51fcbda --- /dev/null +++ b/mining-pool/public/dist/img/workAdministration.d8f96ac7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/workRecord.5123ed47.svg b/mining-pool/public/dist/img/workRecord.5123ed47.svg new file mode 100644 index 0000000..819f1ea --- /dev/null +++ b/mining-pool/public/dist/img/workRecord.5123ed47.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/安全.225650c3.svg b/mining-pool/public/dist/img/安全.225650c3.svg new file mode 100644 index 0000000..656de64 --- /dev/null +++ b/mining-pool/public/dist/img/安全.225650c3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/客服.b3d473b9.svg b/mining-pool/public/dist/img/客服.b3d473b9.svg new file mode 100644 index 0000000..861fc37 --- /dev/null +++ b/mining-pool/public/dist/img/客服.b3d473b9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/币价资源 19.3ae5191a.svg b/mining-pool/public/dist/img/币价资源 19.3ae5191a.svg new file mode 100644 index 0000000..ca3762c --- /dev/null +++ b/mining-pool/public/dist/img/币价资源 19.3ae5191a.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/接入矿池.57f89e2c.svg b/mining-pool/public/dist/img/接入矿池.57f89e2c.svg new file mode 100644 index 0000000..c18955d --- /dev/null +++ b/mining-pool/public/dist/img/接入矿池.57f89e2c.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/算力.cbdd6975.svg b/mining-pool/public/dist/img/算力.cbdd6975.svg new file mode 100644 index 0000000..7922247 --- /dev/null +++ b/mining-pool/public/dist/img/算力.cbdd6975.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/算法资源 24.983ac6e7.svg b/mining-pool/public/dist/img/算法资源 24.983ac6e7.svg new file mode 100644 index 0000000..b36dbb1 --- /dev/null +++ b/mining-pool/public/dist/img/算法资源 24.983ac6e7.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/计算器.bf2f4fbd.svg b/mining-pool/public/dist/img/计算器.bf2f4fbd.svg new file mode 100644 index 0000000..cb03f69 --- /dev/null +++ b/mining-pool/public/dist/img/计算器.bf2f4fbd.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/费率.0ce18fa9.svg b/mining-pool/public/dist/img/费率.0ce18fa9.svg new file mode 100644 index 0000000..417f6d2 --- /dev/null +++ b/mining-pool/public/dist/img/费率.0ce18fa9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/钱包.fbd8a674.svg b/mining-pool/public/dist/img/钱包.fbd8a674.svg new file mode 100644 index 0000000..6ca95f8 --- /dev/null +++ b/mining-pool/public/dist/img/钱包.fbd8a674.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/难度.374a30f2.svg b/mining-pool/public/dist/img/难度.374a30f2.svg new file mode 100644 index 0000000..4ab3c63 --- /dev/null +++ b/mining-pool/public/dist/img/难度.374a30f2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/img/高度资源 26.2af0541e.svg b/mining-pool/public/dist/img/高度资源 26.2af0541e.svg new file mode 100644 index 0000000..7380b62 --- /dev/null +++ b/mining-pool/public/dist/img/高度资源 26.2af0541e.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/dist/index.html b/mining-pool/public/dist/index.html new file mode 100644 index 0000000..39e3c38 --- /dev/null +++ b/mining-pool/public/dist/index.html @@ -0,0 +1 @@ +M2pool - Stable leading high-yield mining pool
\ No newline at end of file diff --git a/mining-pool/public/dist/js/app-113c6c50.a53f72e3.js b/mining-pool/public/dist/js/app-113c6c50.a53f72e3.js new file mode 100644 index 0000000..c7e032f --- /dev/null +++ b/mining-pool/public/dist/js/app-113c6c50.a53f72e3.js @@ -0,0 +1 @@ +(function(){"use strict";var t={198:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(80238));e.A={mixins:[s.default]}},398:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(20116);var i=a(1652);e["default"]={data(){return{searchKeyword:"",searchResults:[],currentPage:1,pageSize:10,totalCount:0,previewVisible:!1,previewData:null,pageNum:1,documentTypes:{},searchLoading:!1}},mounted(){try{this.documentTypes=JSON.parse(localStorage.getItem("TypeList"))||{}}catch(t){console.log(t,"error")}if(this.searchKeyword=this.$route.query.keyword||"",this.$route.query.results)try{const t=JSON.parse(decodeURIComponent(this.$route.query.results));this.searchResults=t.rows||[],this.totalCount=t.total||0}catch(t){console.error("解析搜索结果数据失败:",t)}else this.searchKeyword&&this.fetchSearchResults()},methods:{async fetchSearchResults(){this.setLoading("searchLoading",!0);try{const t=await(0,i.getListDataByPage)({keyword:this.searchKeyword,pageNum:this.pageNum,pageSize:this.pageSize,lang:this.$i18n.locale});t&&200===t.code&&(this.searchResults=t.rows||[],this.totalCount=t.total||0)}catch(t){console.error("获取搜索结果失败:",t),this.$message.error("获取搜索结果失败")}this.setLoading("searchLoading",!1)},highlightKeyword(t){if(!this.searchKeyword||!t)return t;const e=new RegExp(`(${this.searchKeyword})`,"gi");return t.replace(e,"$1")},getContentPreview(t){if(!t)return"";const e=t.replace(/<[^>]*>/g,"");return e.length>100?e.substring(0,100)+"...":e},formatDate(t){if(!t)return"";const e=new Date(t);return e.toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"})},getDocumentTypeName(t){console.log(t,"typ俯瞰风景分开发饭饭登记费记得发e",this.documentTypes);try{let e=this.documentTypes.find((e=>e.value==t))?.label;return this.$t(e)}catch(e){return console.log(e,"error"),"未知类型"}},handlePageChange(t){this.currentPage=t,this.fetchSearchResults()},handleItemClick(t){let e;t.articleUrl&&(e=`/${this.$i18n.locale}/${t.articleUrl}`),this.$router.push({path:e,query:{id:t.id}})},handlePreview(t){this.previewData=t,this.previewVisible=!0},handlePreviewClose(){this.previewVisible=!1,this.previewData=null},handleCurrentChange(t){this.pageNum=t,this.fetchSearchResults()},handleSizeChange(t){this.pageSize=t,this.currentPage=1,this.pageNum=1,this.fetchSearchResults()}}}},1754:function(t,e,a){var i=a(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(7588);var s=a(4946),n=i(a(3574)),r=a(82908);e["default"]={name:"UserDetails",data(){return{userDetailsID:null,userData:{},userDetailsLoading:!1,formInline:{user:"",region:""},userDetailsParams:{coin:"",minerUser:"",startDate:"",endDate:""},labelPosition:"top",noDataTip:!1,lineChartParams:{minerUser:"",endDate:"",startDate:"",coin:""},onlineStatusParams:{minerUser:"",coin:"",endDate:"",startDate:""},onlineStatusData:[{date:"2024-11-28T11:00:00",offlineNum:148,onlineNum:15},{date:"2025-06-27 17:00:00",offlineNum:110,onlineNum:156},{date:"2025-06-27 17:30:00",offlineNum:90,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152},{date:"2025-06-27 18:00:00",offlineNum:70,onlineNum:152}],lineChatTimes:[],option:{tooltip:{trigger:"axis",confine:!0},legend:{right:"8%"},grid:{left:"8%",right:"8%",top:"10%",bottom:"15%"},xAxis:{boundaryGap:!0,axisLabel:{interval:"auto",rotate:45,formatter:function(t){if(t.includes(" ")){const[e,a]=t.split(" "),[i,s,n]=e.split("-"),[r,o]=a.split(":");return`${s}-${n} ${r}:${o}`}return t}},data:[]},yAxis:[{type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]},axisLabel:{formatter:function(t){return t}}},{position:"right",show:!0,splitLine:{show:!1},nameTextStyle:{padding:[0,0,0,40]}}],dataZoom:[{type:"inside",start:50,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:50,end:100,height:20,bottom:0,showDetail:!1}],series:[{name:"Number of users online",type:"bar",data:[],yAxisIndex:1,itemStyle:{color:"#239342"},barWidth:"40%",barGap:"10%",barCategoryGap:"20%"},{name:"Number of offline users",type:"bar",itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)"},barWidth:"40%",barGap:"10%",barCategoryGap:"20%",data:[],yAxisIndex:1},{name:"User computing power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},zlevel:1,z:1,data:[],yAxisIndex:0}]},lineChartLoading:!1,lineChartData:[{minerUser:"miner",pv:"8.00080",date:"2024-11-28T11:00:00",unit:"GH/s"},{minerUser:"miner",pv:"6.00060",date:"2024-11-28T11:30:00",unit:"GH/s"},{minerUser:"miner",pv:"0.05000",date:"2024-11-28T12:00:00",unit:"GH/s"},{minerUser:"miner",pv:"2.0000",date:"2024-11-28T12:30:00",unit:"GH/s"},{minerUser:"miner",pv:"0.3000",date:"2024-11-28T13:00:00",unit:"GH/s"},{minerUser:"miner",pv:"0.9000",date:"2024-11-28T13:30:00",unit:"GH/s"},{minerUser:"miner",pv:"15.0000",date:"2024-11-28T14:00:00",unit:"GH/s"}],chartShow:!0,tableData:[],historyBalance:[],mergeConfig:{}}},watch:{tableData:{handler(){this.calculateMergeConfig()},deep:!0}},mounted(){let t;try{t=JSON.parse(localStorage.getItem("token"))}catch(a){console.log(a)}t||this.$router.push({path:`/${lang}/login`});const e=this.$route.query||JSON.parse(localStorage.getItem("userDetailsParams"));this.lineChartParams.minerUser=e.minerUser,this.lineChartParams.coin=e.coin,this.onlineStatusParams.minerUser=e.minerUser,this.onlineStatusParams.coin=e.coin,this.userDetailsParams.coin=e.coin,this.userDetailsParams.minerUser=e.minerUser,this.userDetailsParams.coin&&this.userDetailsParams.minerUser&&(localStorage.setItem("userDetailsParams",JSON.stringify(e)),this.fetchUserDetails(this.userDetailsParams),this.fetchChartData())},methods:{extractDate(t){return t?t.split("T")[0]:""},inCharts(){null==this.myChart&&(this.myChart=n.init(document.getElementById("lineChart"))),this.option.series[0].name=this.$t("backendSystem.onlineUserNum"),this.option.series[1].name=this.$t("backendSystem.offlineUserNum"),this.option.series[2].name=this.$t("backendSystem.userPower"),this.myChart.setOption(this.option),this.myChart.on("finished",(()=>{console.log("图表渲染完成")})),window.addEventListener("resize",(0,r.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},async fetchUserDetails(t){this.setLoading("userDetailsLoading",!0);const e=await(0,s.getUserDetails)(t);console.log(e),e&&200==e.code&&(e.data?(this.userData=e.data,this.historyBalance=e.data.historyBalance,this.tableData=e.data.walletInInfo.sort(((t,e)=>new Date(e.createDate)-new Date(t.createDate))),this.noDataTip=!1):this.noDataTip=!0,this.$nextTick((()=>{this.calculateMergeConfig()}))),this.setLoading("userDetailsLoading",!1)},async fetchUserLineChart(t){const e=await(0,s.getUserLineChart)(t);console.log(e);let a=[],i=[];if(e&&200==e.code){if(!Array.isArray(e.data)||0===e.data.length||!e.data[0].unit)return void(this.chartShow=!1);this.chartShow=!0,this.lineChartData=e.data,this.lineChartData.forEach((t=>{t.date=t.date.split("T")[0]+" "+t.date.split("T")[1].split(".")[0],a.push(t.date),i.push(Number(t.pv).toFixed(6))})),this.option.xAxis.data=a,this.option.series[2].data=i,this.option.yAxis[0].name=this.lineChartData[0].unit}},async fetchUserOnlineStatus(t){const e=await(0,s.getUserOnlineStatus)(t);console.log(e);let a=[],i=[];if(e&&200==e.code){if(!Array.isArray(e.data)||0===e.data.length)return void(this.chartShow=!1);this.chartShow=!0,this.onlineStatusData=e.data,this.onlineStatusData.forEach((t=>{a.push(t.offlineNum),i.push(t.onlineNum)})),this.option.series[0].data=i,this.option.series[1].data=a}},async fetchChartData(){try{this.setLoading("lineChartLoading",!0),await Promise.all([this.fetchUserLineChart(this.lineChartParams),this.fetchUserOnlineStatus(this.onlineStatusParams)]),this.chartShow&&this.inCharts()}catch(t){console.error("获取图表数据失败:",t)}finally{this.setLoading("lineChartLoading",!1)}},goBack(){const t=this.$i18n.locale;this.$router.push({path:`/${t}/userManagement`})},handleLineChatTimesChange(t){console.log(t,"val"),t?(this.lineChartParams.startDate=t[0],this.lineChartParams.endDate=t[1],this.onlineStatusParams.startDate=t[0],this.onlineStatusParams.endDate=t[1],this.userDetailsParams.startDate=t[0],this.userDetailsParams.endDate=t[1]):(this.lineChartParams.startDate="",this.lineChartParams.endDate="",this.onlineStatusParams.startDate="",this.onlineStatusParams.endDate="",this.userDetailsParams.startDate="",this.userDetailsParams.endDate=""),this.fetchUserDetails(this.userDetailsParams),this.fetchChartData()},calculateMergeConfig(){const t={},e={};this.tableData.forEach(((e,a)=>{const i=this.extractDate(e.shouldOutDate);t[i]||(t[i]=[]),t[i].push(a)})),Object.values(t).forEach((t=>{if(t.length>1){e[t[0]]={shouldOutDate:t.length};for(let a=1;a{if(!e)return void a();const i=e.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),s=/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$/;for(let r of i)if(!s.test(r))return void a(new Error(this.$t("backendSystem.pleaseInputCorrectEmail2")));const n=new Set;for(let r of i){const t=r.toLowerCase();if(n.has(t))return void a(new Error(this.$t("backendSystem.existDuplicateEmail")));n.add(t)}a()},trigger:["blur","change"]}]},dialogVisible:!1,senParams:{subject:"",text:"",to:""},sendEmailLoading:!1,total:0,pageSizes:[50,100,300],currentPage:1}},mounted(){let t;try{t=JSON.parse(localStorage.getItem("token"))}catch(e){console.log(e)}t||this.$router.push({path:`/${lang}/login`}),this.fetchUserList(this.userListParams),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.changeScreen(this.screenCurrency)},methods:{async fetchUserList(t){this.setLoading("userManagementLoading",!0);const e=await(0,i.getUserList)(t);console.log(e,"data"),e&&200==e.code&&(this.tableData=e.rows,this.total=e.total),this.setLoading("userManagementLoading",!1)},async fetchSendEmail(t){this.setLoading("sendEmailLoading",!0);const e=await(0,i.sendMail)(t);if(e&&200==e.code){this.$message.success(this.$t("backendSystem.sendSuccess")),this.dialogVisible=!1;for(const t in this.senParams)this.senParams[t]=""}this.setLoading("sendEmailLoading",!1)},changeScreen(t){let e=t;for(let a in this.currencyList){let t=this.currencyList[a],i=t.value;e===i&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}localStorage.setItem("userManagement_selectedCurrency",t),this.userListParams.coin=t,this.fetchUserList(this.userListParams)},handelImg(t){return this.currencyList&&this.currencyList.length>0&&t&&this.currencyList.find((e=>e.value===t))?.imgUrl||""},handelQuery(){this.$refs.formRef.validate((t=>{if(t){for(let t in this.userListParams)"string"===typeof this.userListParams[t]&&(this.userListParams[t]=this.userListParams[t].trim());if(!this.userListParams.minerUser&&!this.userListParams.user)return void this.$message.error(this.$t("backendSystem.pleaseInputQueryConditions"));this.fetchUserList(this.userListParams)}}))},sendEmail(t){this.dialogVisible=!0,this.senParams.to=t.user},handleInputClear(){this.fetchUserList(this.userListParams)},handleClose(){this.dialogVisible=!1},handleInput(t,e){},sureSendEmail(){console.log(this.senParams,"this.senParams"),this.$refs.formRef.validate((t=>{t&&this.fetchSendEmail(this.senParams)}))},handleDetails(t){console.log(t,"row");const e=this.$i18n.locale;this.$router.push({path:`/${e}/userDetails`,query:{coin:t.coin,minerUser:t.minerUser,user:t.user}}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)}));let a={coin:t.coin,minerUser:t.minerUser,user:t.user};localStorage.setItem("userDetailsParams",JSON.stringify(a))},handleSizeChange(t){console.log(`每页 ${t} 条`),this.userListParams.pageSize=t,this.userListParams.pageNum=1,this.currentPage=1,this.fetchUserList(this.userListParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.userListParams.pageNum=t,this.fetchUserList(this.userListParams)}}}},2835:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.userDetailsLoading,expression:"userDetailsLoading"}]},[e("div",{staticClass:"main-title"},[t._v(" "+t._s(t.$t("backendSystem.userDetails"))+" "),e("span",{staticStyle:{color:"#409eff",cursor:"pointer","font-size":"16px","margin-left":"10px"},on:{click:t.goBack}},[t._v(t._s(t.$t("backendSystem.return")))])]),e("section",{staticClass:"user-details-box"},[e("div",{staticClass:"time-box"},[e("el-date-picker",{staticStyle:{"margin-bottom":"18px"},attrs:{type:"daterange","range-separator":t.$t("backendSystem.to"),"start-placeholder":t.$t("backendSystem.startDate"),"end-placeholder":t.$t("backendSystem.endDate"),"value-format":"yyyy-MM-dd HH:mm:ss",size:"small"},on:{change:t.handleLineChatTimesChange},model:{value:t.lineChatTimes,callback:function(e){t.lineChatTimes=e},expression:"lineChatTimes"}}),e("div",[t._v(t._s(t.$t("backendSystem.walletBalance"))+":"+t._s(t.userData.accountBalance||0))])],1),e("el-table",{attrs:{data:t.tableData,border:"","span-method":t.handleSpanMethod,"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"42vh"}},[e("el-table-column",{attrs:{prop:"shouldOutDate",label:t.$t("backendSystem.shouldOutDate"),width:"180",resizable:!1,"show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.shouldOutDate)))])]}}])}),e("el-table-column",{attrs:{prop:"allocationAmount",label:t.$t("backendSystem.allocationAmount"),resizable:!1,width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"transferAmount",label:t.$t("backendSystem.transferAmount"),resizable:!1,width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"address",label:t.$t("backendSystem.address"),resizable:!1,"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"maxHeight",label:t.$t("backendSystem.maxHeight"),resizable:!1,width:"180","show-overflow-tooltip":""}})],1),e("section",{staticClass:"chartBox"},[e("div",{staticClass:"lineChartBox"},[e("div",{staticClass:"lineChartBox-header"},[e("div",{staticClass:"lineChartBox-title"},[t._v(t._s(t.$t("backendSystem.chartTitle")))])]),e("div",{staticClass:"lineChartBox-content",staticStyle:{width:"100%",height:"500px","margin-top":"35px"}},[t.chartShow?e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.lineChartLoading,expression:"lineChartLoading"}],staticStyle:{width:"100%",height:"100%"},attrs:{id:"lineChart"}}):e("div",{staticStyle:{"text-align":"center","margin-top":"200px",color:"#ccc"}},[t._v(t._s(t.$t("backendSystem.noData")))])])])]),e("el-row",[e("el-col",{attrs:{span:24}},[e("div",{staticStyle:{width:"100%","max-height":"300px","overflow-y":"auto"}},[e("h3",{staticStyle:{"margin-bottom":"20px"}},[t._v(t._s(t.$t("backendSystem.historyAddress")))]),t._l(t.historyBalance,(function(a){return e("p",{key:a.balance,staticClass:"history-balance-item"},[t._v(" "+t._s(a.balance)+" ")])}))],2)])],1)],1)])},e.Yp=[]},2981:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(66044));e.A={name:"SplitEditorDemo",components:{SplitScreenEditor:s.default},data(){return{documentForm:{title:"分屏编辑器演示文档",type:"2",content:this.getDefaultContent(),status:"draft"},saveLoading:!1,showGuide:!0,editorOptions:{height:500,menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","preview","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","help","wordcount"],toolbar:["undo redo | formatselect | bold italic underline strikethrough","forecolor backcolor | alignleft aligncenter alignright alignjustify","bullist numlist outdent indent | link image table","code preview fullscreen | removeformat help"].join(" | "),content_style:"\n body { \n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; \n font-size: 14px; \n line-height: 1.6;\n color: #2c3e50;\n margin: 16px;\n }\n p { margin: 10px 0; }\n ul, ol { margin: 10px 0; padding-left: 24px; }\n li { margin: 6px 0; line-height: 1.6; }\n h1, h2, h3 { color: #2c3e50; margin: 16px 0 8px 0; }\n table { border-collapse: collapse; width: 100%; margin: 12px 0; }\n table th, table td { border: 1px solid #ddd; padding: 8px; text-align: left; }\n table th { background-color: #f2f2f2; font-weight: 600; }\n code { background: #f4f4f4; padding: 2px 4px; border-radius: 3px; }\n pre { background: #f8f8f8; padding: 12px; border-radius: 4px; overflow-x: auto; }\n ",placeholder:"请在此输入您的内容,支持富文本格式...",language:"zh_CN",branding:!1,resize:!1,statusbar:!0}}},methods:{getDefaultContent(){return'

ALEO挖矿说明

\n\n

根据ALEO ARC-46协议,ALEO挖矿机制将在2025年08月01日00:00 UTC进行如下升级,升级完成后您的ALEO挖矿可能会受到影响,请您知悉:

\n\n
    \n
  1. ALEO挖矿将转变为"PoS+PoW"混合机制。
  2. \n
\n\n\n\n

重要提醒

\n\n

请及时了解新的挖矿机制要求,做好相应准备。如有疑问,请联系客服获取帮助。

\n\n

技术规格表

\n\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
参数当前值升级后说明
共识机制PoWPoS+PoW混合共识
质押要求必需需要质押ALEO代币
算力证明直接提交需要质押先质押后挖矿
\n\n

注:以上信息仅供参考,具体实施以官方公告为准。

'},handleContentChange(t){console.log("编辑器内容已更改:",t.length,"字符"),this.autoSave()},autoSave(){clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToDraft()}),2e3)},saveToDraft(){const t={...this.documentForm,lastSaved:(new Date).toISOString()};localStorage.setItem("split_editor_draft",JSON.stringify(t)),console.log("内容已自动保存到本地")},loadDraft(){const t=localStorage.getItem("split_editor_draft");if(t)try{const e=JSON.parse(t),a=(new Date).getTime()-new Date(e.lastSaved).getTime();a<864e5&&(this.documentForm={...this.documentForm,...e},this.$message({message:`已恢复草稿 (${new Date(e.lastSaved).toLocaleString()})`,type:"success",duration:3e3}))}catch(e){console.error("加载草稿失败:",e)}},async handleSave(){if(this.documentForm.title.trim())if(this.documentForm.content.trim()){this.saveLoading=!0;try{await new Promise((t=>setTimeout(t,1e3))),this.$message.success("文档保存成功"),this.documentForm.status="published",localStorage.removeItem("split_editor_draft")}catch(t){console.error("保存失败:",t),this.$message.error("保存失败: "+(t.message||"未知错误"))}finally{this.saveLoading=!1}}else this.$message.warning("请输入文档内容");else this.$message.warning("请输入文档标题")},handleClear(){this.$confirm("确定要清空所有内容吗?此操作不可恢复。","确认清空",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then((()=>{this.documentForm.content="",this.documentForm.title="",this.$refs.splitEditor.clear(),localStorage.removeItem("split_editor_draft"),this.$message.success("内容已清空")})).catch((()=>{}))},handlePublish(t){console.log("编辑器发布数据:",t),t.success?(console.log("文档发布成功:",{documentId:t.documentId,title:t.title,wordCount:t.wordCount}),this.documentForm.title=t.title,this.documentForm.content=t.content,this.documentForm.status="published",this.clearDraft(),this.$notify({title:"✅ 发布成功",message:`文档 "${t.title}" 已成功发布到文档管理系统\n文档ID: ${t.documentId}\n字数: ${t.wordCount} 字`,type:"success",duration:5e3})):(console.error("文档发布失败:",t.error),this.$notify({title:"❌ 发布失败",message:`发布失败:${t.error}`,type:"error",duration:4e3}))}},mounted(){this.loadDraft()},beforeDestroy(){this.autoSaveTimer&&clearTimeout(this.autoSaveTimer)}}},8579:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(65681)),n=i(a(45438));e.A={components:{Tooltip:n.default},mixins:[s.default]}},11685:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.orderDetailsLoading,expression:"orderDetailsLoading"}],staticClass:"main"},[t.$isMobile?e("section",{staticClass:"MobileMain"},[e("h4",[t._v(t._s(t.$t("work.WKDetails")))]),e("div",{staticClass:"contentMobile"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:12,xl:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1),e("el-row",{staticStyle:{"margin-top":"30px !important"}},[e("el-col",[e("h5",[t._v(t._s(t.$t("work.describe"))+":")]),e("div",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h5",{staticStyle:{"margin-top":"30px"}},[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(a){return e("div",{key:a.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("div",{staticClass:"userName"},[t._v(t._s(a.name))]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.handelTime(a.time)))])]),e("div",{attrs:{id:"contentBox"}},[t._v(" "+t._s(a.content)+" ")]),e("span",{directives:[{name:"show",rawName:"v-show",value:a.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(a.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",{staticStyle:{"margin-top":"30px"}},[e("div",[e("el-row",[e("el-col",[e("h5",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.continue"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",autosize:{minRows:2,maxRows:6},maxlength:"250","show-word-limit":""},model:{value:t.replyParams.desc,callback:function(e){t.$set(t.replyParams,"desc",e)},expression:"replyParams.desc"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("div",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.submit2")))]),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"70%"},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.orderDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)]):e("div",{staticClass:"content"},[e("el-row",{attrs:{type:"flex",justify:"end"}},[e("el-col",{staticClass:"orderDetails"},[e("h3",[t._v(t._s(t.$t("work.WKDetails")))]),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1)],1)],1),e("el-row",[e("el-col",[e("h4",[t._v(" "+t._s(t.$t("work.describe"))+":")]),e("p",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","max-height":"200px","min-height":"100px","margin-top":"18px","word-wrap":"break-word","overflow-wrap":"break-word","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h4",[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(a){return e("div",{key:a.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("span",[t._v(t._s(t.$t("work.user1"))+":"+t._s(a.name))]),e("span",[t._v(" "+t._s(t.$t("work.time4"))+":"+t._s(t.handelTime(a.time)))])]),e("div",{staticClass:"contentBox"},[e("span",{staticStyle:{display:"inline-block",width:"100%","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","overflow-y":"auto"}},[t._v(t._s(a.content))])]),e("span",{directives:[{name:"show",rawName:"v-show",value:a.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(a.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",[e("div",[e("el-row",[e("el-col",[e("h4",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.continue"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",autosize:{minRows:2,maxRows:6},maxlength:"250","show-word-limit":""},model:{value:t.replyParams.desc,callback:function(e){t.$set(t.replyParams,"desc",e)},expression:"replyParams.desc"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.submit2")))]),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"30%"},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.orderDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)])},e.Yp=[]},13537:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(2835),s=a(40110),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"21797be4",null),l=o.exports},17609:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=a(1652);e["default"]={data(){return{rateList:[{value:"nexa",label:"nexa",img:`${this.$baseApi}img/nexa.png`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"10000"},{value:"grs",label:"grs",img:`${this.$baseApi}img/grs.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"mona",label:"mona",img:`${this.$baseApi}img/mona.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"dgbs",label:"dgb(skein)",img:`${this.$baseApi}img/dgb.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"dgbq",label:"dgb(qubit)",img:`${this.$baseApi}img/dgb.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"dgbo",label:"dgb(odocrypt)",img:`${this.$baseApi}img/dgb.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"},{value:"rxd",label:"radiant",img:`${this.$baseApi}img/rxd.png`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"100"},{value:"alph",label:"alephium(alph)",img:`${this.$baseApi}img/alph.svg`,rate:"1%",address:"",mode:"PPLNS+PROPDIF",quota:"1"}],DetailsParams:{lang:this.$i18n.locale,childType:2,id:""},info:"",rateLoading:!1,listParams:{lang:this.$i18n.locale,pageNum:1,pageSize:50,childType:2},navList:[]}},mounted(){this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("rateLoading",!0);const e=await(0,i.documentsList)(t);console.log(e,"res"),e&&200===e.code&&(this.navList=e.rows,this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=e.rows[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams))},async fetchProblemDetails(t){this.setLoading("rateLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||""),this.setLoading("rateLoading",!1)},clickJump(t){this.DetailsParams.id=t.id,this.fetchProblemDetails(this.DetailsParams)}}}},18311:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(83443),s=a(83240),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"10849caa",null),l=o.exports},18492:function(t,e,a){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"loginPage"},[t.$isMobile?e("section",{staticClass:"mobileMain"},[e("header",{staticClass:"headerBox"},[e("img",{attrs:{src:a(87596),alt:"logo"},on:{click:function(e){return t.handelJump("/")}}}),e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.resetPassword")))]),e("span")]),t._m(0),e("section",{staticClass:"formInput"},[e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.loginForm.email,callback:function(e){t.$set(t.loginForm,"email",e)},expression:"loginForm.email"}})],1),e("el-form-item",{attrs:{prop:"resetPwdCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.resetPwdCode,callback:function(e){t.$set(t.loginForm,"resetPwdCode",e)},expression:"loginForm.resetPwdCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{loading:t.securityLoading,disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"newPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.newPassword")},model:{value:t.loginForm.newPassword,callback:function(e){t.$set(t.loginForm,"newPassword",e)},expression:"loginForm.newPassword"}})],1),e("div",{staticClass:"registerBox"},[e("span",{staticStyle:{color:"#661fff"},on:{click:function(e){return t.handelJump("login")}}},[t._v(t._s(t.$t("user.returnToLogin")))])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(e){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.changePassword")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)]):e("section",{staticClass:"loginModular"},[e("div",{staticClass:"leftBox"},[e("img",{staticClass:"logo",attrs:{src:a(79613),alt:"logo"},on:{click:t.handleClick}}),e("img",{attrs:{src:a(58455),alt:"reset password"}})]),e("div",{staticClass:"loginBox"},[e("div",{staticClass:"closeBox",on:{click:t.handleClick}},[e("i",{staticClass:"iconfont icon-guanbi1 close"})]),e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[e("el-form-item",[e("p",{staticClass:"loginTitle"},[t._v(t._s(t.$t("user.resetPassword")))])]),e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.loginForm.email,callback:function(e){t.$set(t.loginForm,"email",e)},expression:"loginForm.email"}})],1),e("el-form-item",{attrs:{prop:"resetPwdCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.resetPwdCode,callback:function(e){t.$set(t.loginForm,"resetPwdCode",e)},expression:"loginForm.resetPwdCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{loading:t.securityLoading,disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(e){t.$set(t.loginForm,"password",e)},expression:"loginForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"newPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.newPassword")},model:{value:t.loginForm.newPassword,callback:function(e){t.$set(t.loginForm,"newPassword",e)},expression:"loginForm.newPassword"}})],1),e("div",{staticClass:"registerBox"},[e("span",{on:{click:function(e){return t.handelJump("login")}}},[t._v(t._s(t.$t("user.returnToLogin")))])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(e){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.changePassword")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgTop"},[e("img",{attrs:{src:a(6006),alt:"reset password",loading:"lazy"}})])}]},20155:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;i(a(86425));var s=i(a(69437));e.A={mixins:[s.default],mounted(){},methods:{}}},21440:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(20116);var i=a(11503);e["default"]={data(){return{from2:[],from0:[],from1:[],params:{status:1},PrivateConsume:!1,activeName:"pending",WKRecordsLoading:!1,value1:"",labelPosition:"top",currentPage:1,msg:"",dialogVisible:!1,rowId:"",faultList:[],typeList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}]}},mounted(){switch(localStorage.setItem("stateList",JSON.stringify(this.statusList)),this.activeName=sessionStorage.getItem("ActiveName"),this.activeName||(this.activeName="pending"),this.activeName){case"pending":this.params.status=1,this.fetchPrivateConsume1(this.params),this.registerRecoveryMethod("fetchPrivateConsume1",this.params);break;case"success":this.params.status=2,this.fetchPrivateConsume2(this.params),this.registerRecoveryMethod("fetchPrivateConsume2",this.params);break;case"reply":this.params.status=0,this.fetchPrivateConsume0(this.params),this.registerRecoveryMethod("fetchPrivateConsume0",this.params);break;default:break}},methods:{async fetchPrivateConsume1(t){this.WKRecordsLoading=!0;const e=await(0,i.getPrivateTicket)(t);e&&200==e.code&&(this.from1=e.data),this.WKRecordsLoading=!1},async fetchPrivateConsume0(t){this.WKRecordsLoading=!0;const e=await(0,i.getPrivateTicket)(t);e&&200==e.code&&(this.from0=e.data),this.WKRecordsLoading=!1},async fetchPrivateConsume2(t){this.WKRecordsLoading=!0;const e=await(0,i.getPrivateTicket)(t);e&&200==e.code&&(this.from2=e.data),this.WKRecordsLoading=!1},async fetchTicketPayment(t){const{data:e}=await getTicketPayment(t);e.url&&(window.location.href=e.url)},handelType2(t){if(this.typeList&&t){const e=this.typeList.find((e=>e.name==t));if(e)return e.label}return""},handelStatus2(t){if(this.statusList&&t){const e=this.statusList.find((e=>e.value==t));if(e)return this.$t(e.label)}return""},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},handelDetails(t){const e=this.$i18n.locale;this.$router.push({path:`/${e}/UserWorkDetails`,query:{workID:t.id}}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)})),localStorage.setItem("workOrderId",t.id)},async fetchendTicket(t){this.WKRecordsLoading=!0;let e=await getEndTicket(t);e&&200==e.code&&(this.$message({message:this.$t("user.closeWK"),type:"success"}),this.dialogVisible=!1,this.params.status=0,this.fetchPrivateConsume0(this.params),this.params.status=1,this.fetchPrivateConsume1(this.params),this.params.status=2,this.fetchPrivateConsume2(this.params)),this.WKRecordsLoading=!1},handelTime(t){if(t)return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handleClick(){switch(this.activeName){case"pending":this.params.status=1,this.fetchPrivateConsume1(this.params);break;case"success":this.params.status=2,this.fetchPrivateConsume2(this.params);break;case"reply":this.params.status=0,this.fetchPrivateConsume0(this.params);break;default:break}sessionStorage.setItem("ActiveName",this.activeName)},determineInformation(){this.fetchendTicket({id:this.rowId})}}}},23537:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(54646),s=a(36838),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"eda2be10",null),l=o.exports},25225:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(84419),s=a(198),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"19141cf8",null),l=o.exports},25422:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(18492),s=a(89413),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"5cb463fb",null),l=o.exports},29028:function(t,e,a){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"jurisdictionPage"},[t.$isMobile?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.jurisdictionLoading,expression:"jurisdictionLoading"}],attrs:{"element-loading-text":t.loadingText}},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.jurisdiction.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.jurisdiction.coin)+" ")]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.jurisdiction.account))])]),e("div",{staticClass:"profitTop"},[e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalRevenueTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalExpenditureTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.yesterdaySEarningsTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),e("div",{staticClass:"accountBalance"},[e("div",{staticClass:"box2"},[e("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance))])])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm2"},[e("div",{staticClass:"right"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),e("div",{staticClass:"times"},t._l(t.intervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.timeActive==a.value},on:{click:function(e){return t.handleInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)]),e("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"barBox"},[e("div",{staticClass:"lineBOX"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),e("div",{staticClass:"timesBox"},[e("div",{staticClass:"times2"},t._l(t.AccountPowerDistributionintervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.barActive==a.value},on:{click:function(e){return t.distributionInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)])]),e("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),e("div",{staticClass:"searchBox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),e("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})]),e("div",{staticClass:"top3Box"},[e("section",{staticClass:"tabPageBox"},[e("div",{staticClass:"tabPageTitle"},[e("div",{staticClass:"TitleS minerTitle",on:{click:function(e){return t.handleClick2("power")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.miner")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.profitShow,expression:"profitShow"}],staticClass:"TitleS profitTitle",on:{click:function(e){return t.handleClick2("miningMachine")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.profit")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.paymentShow,expression:"paymentShow"}],staticClass:"TitleS paymentTitle",on:{click:function(e){return t.handleClick2("payment")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[e("div",{staticClass:"minerTitleBox"},[e("div",{staticClass:"TitleOnLine"},[e("span",{on:{click:function(e){return t.onlineStatus("all")}}},[e("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),e("span",{on:{click:function(e){return t.onlineStatus("onLine")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),e("span",{on:{click:function(e){return t.onlineStatus("off-line")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])])]),"all"==t.sunTabActiveName?e("div",{staticClass:"publicBox all"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(" "+t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),e("span",[t._v(t._s(this.formatNumber(t.MinerListData.rate))+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",{class:{activeState:"2"==a.status}},["1"==a.status?e("div",{staticClass:"circularDotsOnLine"}):t._e(),"2"==a.status?e("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))])])]),e("div",{staticClass:"table-item"},[e("div",[e("p",[t._v(t._s(t.$t("mining.submitTime")))]),e("p",[e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])]),e("div",[e("p",[t._v(t._s(t.$t("mining.state")))]),e("p",[e("span",{class:{activeState:"2"==a.status},attrs:{title:t.$t(t.handelStateList(a.status))}},[t._v(t._s(t.$t(t.handelStateList(a.status)))+" ")])])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+"  "+t._s(t.$t("mining.power24H"))+" ")]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?e("div",{staticClass:"publicBox onLine"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:t.sunTabActiveName+a.miner,class:"item-"+(i%2==0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelOnLineMiniChart(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",[e("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))])])]),e("div",{staticClass:"table-itemOn"},[e("div",[e("p",[t._v(t._s(t.$t("mining.submitTime")))]),e("p",[e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"Small"+a.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?e("div",{staticClass:"publicBox off-line"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",{class:{activeState:"2"==a.status}},[e("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))])])]),e("div",{staticClass:"table-itemOn"},[e("div",[e("p",[t._v(t._s(t.$t("mining.submitTime")))]),e("p",[e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):t._e(),e("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"sizes, prev, pager, next",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(e){t.currentPageMiner=e},"update:current-page":function(e){t.currentPageMiner=e}}})],1):t._e(),"miningMachine"==t.activeName2?e("section",{staticClass:"miningMachine"},[e("div",{staticClass:"belowTable"},[e("ul",[e("li",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),e("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(a,i){return e("li",{key:i,staticClass:"currency-list"},[e("span",{attrs:{title:a.date}},[t._v(t._s(a.date))]),e("span",{attrs:{title:a.mhs}},[t._v(t._s(a.mhs)+" ")]),e("span",{attrs:{title:a.amount}},[t._v(t._s(a.amount)+" "),e("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin))])])])}))],2),e("el-pagination",{staticClass:"pageBox",attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(e){t.currentPageIncome=e},"update:current-page":function(e){t.currentPageIncome=e}}})],1)]):t._e(),"payment"==t.activeName2?e("section",{staticClass:"payment"},[e("div",{staticClass:"belowTable"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),e("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),e("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),e("el-collapse",t._l(t.HistoryOutcomeData,(function(a,i){return e("el-collapse-item",{key:a.txid,staticClass:"collapseItem",attrs:{name:i}},[e("template",{slot:"title"},[e("div",{staticClass:"paymentCollapseTitle"},[e("span",[t._v(t._s(a.date))]),e("span",[t._v(t._s(a.amount))]),e("span",[t._v(t._s(t.$t(t.handelPayment(a.status))))])])]),e("div",{staticClass:"dropDownContent"},[a.address?e("div",[e("p",[t._v(t._s(t.$t("mining.withdrawalAddress")))]),e("p",[t._v(t._s(a.address)+" "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(a.address)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e(),a.txid?e("div",[e("p",[t._v("Txid")]),e("p",[e("span",{staticStyle:{cursor:"pointer","text-decoration":"underline",color:"#433278"},on:{click:function(e){return t.handelTxid(a.txid)}}},[t._v(" "+t._s(a.txid)+" ")]),t._v(" "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(a.txid)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e()])],2)})),1),e("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):t._e()])])]):e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.jurisdictionLoading,expression:"jurisdictionLoading"}],staticClass:"miningAccount",attrs:{"element-loading-text":t.loadingText}},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.jurisdiction.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.jurisdiction.coin)+" ")]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.jurisdiction.account))])]),e("div",{staticClass:"profitBox"},[e("div",{staticClass:"profitTop"},[e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" ")]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" ")]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" ")]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),e("div",{staticClass:"box"},[e("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),e("div",{staticClass:"box"},[e("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),e("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[e("img",{attrs:{src:a(3832),alt:"profit",loading:"lazy"}})])]),e("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance)+" ")])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm"},[e("div",{staticClass:"right"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),e("div",{staticClass:"times"},t._l(t.intervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.timeActive==a.value},on:{click:function(e){return t.handleInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)]),e("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"top2Box"},[e("div",{staticClass:"lineBOX"},[e("div",{staticClass:"intervalBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),e("div",{staticClass:"times"},t._l(t.AccountPowerDistributionintervalList,(function(a){return e("span",{key:a.value,class:{timeActive:t.barActive==a.value},on:{click:function(e){return t.distributionInterval(a.value)}}},[t._v(t._s(t.$t(a.label)))])})),0)]),e("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),e("div",{staticClass:"top3Box"},[e("section",{staticClass:"tabPageBox"},[e("div",{staticClass:"tabPageTitle"},[e("div",{staticClass:"TitleS minerTitle",on:{click:function(e){return t.handleClick2("power")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.miner")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.profitShow,expression:"profitShow"}],staticClass:"TitleS profitTitle",on:{click:function(e){return t.handleClick2("miningMachine")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.profit")))])])]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.paymentShow,expression:"paymentShow"}],staticClass:"TitleS paymentTitle",on:{click:function(e){return t.handleClick2("payment")}}},[e("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[e("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[e("div",{staticClass:"minerTitleBox"},[e("div",{staticClass:"TitleOnLine"},[e("span",{on:{click:function(e){return t.onlineStatus("all")}}},[e("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),e("span",{on:{click:function(e){return t.onlineStatus("onLine")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),e("span",{on:{click:function(e){return t.onlineStatus("off-line")}}},[e("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])]),e("div",{staticClass:"searchBox"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(e){e.target.composing||(t.search=e.target.value)}}}),e("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})])]),"all"==t.sunTabActiveName?e("div",{staticClass:"publicBox all"},[e("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})]),e("span",[t._v(t._s(t.$t("mining.submitTime")))]),e("span",[t._v(t._s(t.$t("mining.state")))])]),e("div",{staticClass:"totalTitleAll"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),e("span",[t._v(t._s(t.MinerListData.submit)+" ")]),e("span")]),e("el-collapse",{staticStyle:{"max-height":"800PX",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.sortedMinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitleAll"},[e("span",{class:{activeState:"2"==a.status}},["1"==a.status?e("div",{staticClass:"circularDotsOnLine"}):t._e(),t._v(" "),"2"==a.status?e("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))]),e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),t._v(" "),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()]),e("span",{class:{activeState:"2"==a.status}},[t._v(t._s(t.$t(t.handelStateList(a.status)))+" ")])])]),e("p",{staticClass:"chartTitle"},[t._v(t._s(t.$t("mining.miner"))+t._s(a.miner)+"  "+t._s(t.$t("mining.power24H")))]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300PX"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?e("div",{staticClass:"publicBox onLine"},[e("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})]),e("span",[t._v(t._s(t.$t("mining.submitTime")))])]),e("div",{staticClass:"totalTitle"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),e("span",[t._v(t._s(t.MinerListData.submit)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800PX",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:t.sunTabActiveName+a.miner,class:"item-"+(i%2==0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelOnLineMiniChart(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitle"},[e("span",[e("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))]),e("span",[t._v(t._s(a.submit))])])]),e("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H")))]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300PX"},attrs:{id:"Small"+a.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?e("div",{staticClass:"publicBox off-line"},[e("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[e("span",[t._v(" "+t._s(t.$t("mining.miner")))]),e("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("30m")}}})]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),e("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(e){return t.handleSort("24h")}}})]),e("span",[t._v(t._s(t.$t("mining.submitTime")))])]),e("div",{staticClass:"totalTitle"},[e("span",[e("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),e("span",[t._v(t._s(t.MinerListData.rate)+" ")]),e("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),e("span",[t._v(t._s(t.MinerListData.submit)+" ")])]),e("el-collapse",{staticStyle:{"max-height":"800PX",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(e){t.Accordion=e},expression:"Accordion"}},t._l(t.MinerListTableData,(function(a,i){return e("div",{key:a.miner,class:"item-"+(i%2===0?"even":"odd")},[e("el-collapse-item",{attrs:{name:a.id},nativeOn:{click:function(e){return t.handelMiniOffLine(a.id,a.miner)}}},[e("template",{slot:"title"},[e("div",{staticClass:"accordionTitle"},[e("span",{class:{activeState:"2"==a.status}},[e("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(a.miner))]),e("span",[t._v(t._s(a.rate))]),e("span",[t._v(t._s(a.dailyRate))]),e("span",{staticClass:"offlineTime",class:{activeState:"2"==a.status},attrs:{title:a.submit}},[e("span",[t._v(t._s(a.submit)+" ")]),t._v(" "),"2"==a.status?e("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(a.offline)}},[t._v(t._s(t.handelTimeInterval(a.offline)))]):t._e()])])]),e("p",{staticClass:"chartTitle"},[t._v(t._s(t.$t("mining.miner"))+t._s(a.miner)+" "+t._s(t.$t("mining.power24H")))]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300PX"},attrs:{id:"SmallOff"+a.id}})],2)],1)})),0)],1):t._e(),e("el-pagination",{staticClass:"minerPagination",attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(e){t.currentPageMiner=e},"update:current-page":function(e){t.currentPageMiner=e}}})],1):t._e(),"miningMachine"==t.activeName2?e("section",{staticClass:"miningMachine"},[e("div",{staticClass:"belowTable"},[e("ul",[e("li",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),e("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),e("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(a,i){return e("li",{key:i,staticClass:"currency-list"},[e("span",{attrs:{title:a.date}},[t._v(t._s(a.date))]),e("span",{attrs:{title:a.mhs}},[t._v(t._s(a.mhs)+" ")]),e("span",{attrs:{title:a.amount}},[t._v(t._s(a.amount)+" "),e("span",{staticStyle:{color:"rgba(0,0,0,0.5)","text-transform":"capitalize"}},[t._v(t._s(t.jurisdiction.coin.includes("dgb")?"dgb":t.jurisdiction.coin))])])])}))],2),e("el-pagination",{attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(e){t.currentPageIncome=e},"update:current-page":function(e){t.currentPageIncome=e}}})],1)]):t._e(),"payment"==t.activeName2?e("section",{staticClass:"payment"},[e("div",{staticClass:"belowTable"},[e("ul",[e("li",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),e("span",{attrs:{title:t.$t("mining.withdrawalAddress")}},[t._v(t._s(t.$t("mining.withdrawalAddress")))]),e("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),e("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),t._l(t.HistoryOutcomeData,(function(a){return e("li",{key:a.txid,staticClass:"currency-list"},[e("span",{attrs:{title:a.date}},[t._v(t._s(a.date))]),e("span",{staticStyle:{"text-align":"left"},attrs:{title:a.address}},[t._v(t._s(a.address))]),e("span",{attrs:{title:a.amount}},[t._v(t._s(a.amount)+" "),e("span",{staticStyle:{color:"rgba(0,0,0,0.5)","text-transform":"capitalize"}},[t._v(t._s(t.jurisdiction.coin.includes("dgb")?"dgb":t.jurisdiction.coin))])]),e("span",{staticClass:"txidBox"},[e("span",{staticStyle:{"font-size":"0.8rem"}},[t._v(t._s(t.$t(t.handelPayment(a.status)))+" ")]),0!==a.status?e("span",{staticClass:"txid"},[e("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[e("span",{ref:"txidRef",refInFor:!0,attrs:{id:`id${a.txid}`}},[t._v(t._s(a.txid))]),e("div",{staticStyle:{"text-align":"right",margin:"0"}},[e("el-button",{staticStyle:{"border-radius":"5PX"},attrs:{size:"mini"},on:{click:function(e){return t.copyTxid(a.txid)}}},[t._v(t._s(t.$t("personal.copy")))])],1),e("div",{attrs:{slot:"reference"},on:{click:function(e){return t.handelTxid(a.txid)}},slot:"reference"},[t._v("Txid")])])],1):t._e()])])}))],2),e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):t._e()])])])])},e.Yp=[]},36838:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,a(44114);var s=i(a(398));e.A={mixins:[s.default],methods:{goBack(){this.$router.push(`/${this.$i18n.locale}/helpCenter`)}}}},40110:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(1754));e.A={mixins:[s.default]}},41879:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rate"},[t.$isMobile?e("section",{staticClass:"rateMobile"},[e("h4",[t._v(t._s(t.$t("course.rateRelated")))]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("course.currency")}},[t._v(t._s(t.$t("course.currency")))]),e("span",{attrs:{title:t.$t("course.miningFeeRate")}},[t._v(t._s(t.$t("course.miningFeeRate")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.rateList,(function(a){return e("el-collapse-item",{key:a.value,attrs:{name:a.value}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[e("img",{attrs:{src:a.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(a.label))]),e("span",[t._v(t._s(a.rate))])])]),e("section",{staticClass:"contentBox2"},[e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.minimumPaymentAmount")))]),e("p",[t._v(t._s(a.quota)+" ")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.settlementMode")))]),e("p",[t._v(t._s(a.mode))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.miningAddress")))]),e("p",[t._v(t._s(a.address)+" ")])])])])],2)})),1)],1)]):e("section",{staticClass:"rateBox"},[e("section",{staticClass:"leftMenu"},[e("ul",t._l(t.navList,(function(a){return e("li",{key:a.id,class:{navActive:String(a.id)===String(t.DetailsParams.id)},on:{click:function(e){return t.clickJump(a)}}},[t._v(t._s(a.title))])})),0)]),e("section",{staticClass:"rightText"},[e("section",{staticClass:"rightContent"},[t.rateLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])])},e.Yp=[]},42251:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(17609));e.A={metaInfo:{meta:[{name:"keywords",content:"费率页面,挖矿费率,收益计算,全网最低费率,Rate Page,Mining Rates,Revenue Calculation,Lowest Rates on the Net"},{name:"description",content:window.vm.$t("seo.rate")}]},mixins:[s.default]}},46763:function(t,e,a){a.r(e);var i,s,n=a(81656),r={},o=(0,n.A)(r,i,s,!1,null,null,null);e["default"]=o.exports},51086:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.userManagementLoading,expression:"userManagementLoading"}]},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.userManagementTitle")))]),e("el-form",{ref:"formRef",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.userListParams,rules:t.rules}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.coin"),prop:"coin"}},[e("el-select",{ref:"screen",staticClass:"input",attrs:{size:"middle",placeholder:t.$t("personal.screen")},on:{change:function(e){return t.changeScreen(t.screenCurrency)}},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(a){return e("el-option",{key:a.value,attrs:{label:a.label,value:a.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:a.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(a.label))])])])})),1)],1),e("el-form-item",{staticStyle:{"margin-left":"5vw"},attrs:{label:t.$t("backendSystem.user"),prop:"minerUser"}},[e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInput"),clearable:""},on:{clear:t.handleInputClear},model:{value:t.userListParams.minerUser,callback:function(e){t.$set(t.userListParams,"minerUser",e)},expression:"userListParams.minerUser"}})],1),e("el-form-item",{staticStyle:{"margin-left":"5vw"},attrs:{label:t.$t("backendSystem.email"),prop:"user"}},[e("el-input",{attrs:{type:"email",placeholder:t.$t("backendSystem.pleaseInput"),clearable:""},on:{clear:t.handleInputClear},model:{value:t.userListParams.user,callback:function(e){t.$set(t.userListParams,"user",e)},expression:"userListParams.user"}})],1),e("el-form-item",{staticStyle:{"margin-left":"1vw"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handelQuery}},[t._v(t._s(t.$t("backendSystem.query")))])],1)],1),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.tableData,border:"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),e("el-table-column",{attrs:{prop:"coin",label:t.$t("backendSystem.coin2"),width:"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticStyle:{display:"flex","align-items":"center","justify-content":"center"}},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.handelImg(a.row.coin)}}),e("span",{staticStyle:{"margin-left":"5px"}},[t._v(t._s(a.row.coin))])])]}}])}),e("el-table-column",{attrs:{prop:"user",label:t.$t("backendSystem.email2"),width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"amount",label:t.$t("backendSystem.amount2"),width:"150","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("backendSystem.status2"),width:"100"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-tag",{attrs:{type:"1"===a.row.status?"success":"danger"}},[t._v(t._s("0"==a.row.status?t.$t("backendSystem.normal"):t.$t("backendSystem.delete")))])]}}])}),e("el-table-column",{attrs:{prop:"minerUser",label:t.$t("backendSystem.minerUser2"),width:"180","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"balance",label:t.$t("backendSystem.balance2"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"active",label:t.$t("backendSystem.active2"),width:"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-tag",{attrs:{type:"1"===a.row.active?"success":"danger"}},[t._v(t._s("0"==a.row.active?t.$t("backendSystem.yes"):t.$t("backendSystem.no")))])]}}])}),e("el-table-column",{attrs:{label:t.$t("backendSystem.operation"),width:"200"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{size:"mini",type:"primary",plain:""},on:{click:function(e){return t.handleDetails(a.row)}}},[t._v(t._s(t.$t("backendSystem.Details")))]),e("el-button",{staticStyle:{color:"#651fff",border:"1px solid #651fff"},attrs:{size:"mini"},on:{click:function(e){return t.sendEmail(a.row)}}},[t._v(t._s(t.$t("backendSystem.sendEmail")))])]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.userListParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1),e("el-dialog",{attrs:{title:t.$t("backendSystem.emailContent"),visible:t.dialogVisible,width:"50%","before-close":t.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("el-form",{ref:"formRef",attrs:{model:t.senParams,rules:t.emailRules}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.recipient"),prop:"to"}},[e("el-input",{attrs:{maxlength:"500",resize:"none",type:"textarea",rows:2},model:{value:t.senParams.to,callback:function(e){t.$set(t.senParams,"to",e)},expression:"senParams.to"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px"}},[t._v(t._s(t.$t("backendSystem.emailRemind")))])],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.subject"),prop:"subject"}},[e("el-input",{attrs:{resize:"none",maxlength:"300","show-word-limit":"",type:"textarea",rows:3},model:{value:t.senParams.subject,callback:function(e){t.$set(t.senParams,"subject",e)},expression:"senParams.subject"}})],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.text"),prop:"text"}},[e("el-input",{attrs:{resize:"none",maxlength:"600","show-word-limit":"",type:"textarea",rows:8},model:{value:t.senParams.text,callback:function(e){t.$set(t.senParams,"text",e)},expression:"senParams.text"}})],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v(t._s(t.$t("backendSystem.cancel")))]),e("el-button",{attrs:{type:"primary",loading:t.sendEmailLoading},on:{click:t.sureSendEmail}},[t._v(t._s(t.$t("backendSystem.send")))])],1)],1)],1)},e.Yp=[]},51993:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(51086),s=a(78221),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"ecb06f72",null),l=o.exports},54646:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.searchLoading,expression:"searchLoading"}],staticClass:"search-result-page"},[e("div",{staticClass:"result-header"},[e("div",{staticClass:"header-container"},[e("div",{staticClass:"header-left"},[e("h1",{staticClass:"page-title"},[t._v(t._s(t.$t("backendSystem.searchResult")||"搜索结果")+" ")]),t.searchResults.length>0?e("p",{staticClass:"search-info"},[t._v(" "+t._s(t.$t("backendSystem.keyword")||"关键词")+' "'),e("strong",[t._v(t._s(t.searchKeyword))]),t._v('" '+t._s(t.$t("backendSystem.find")||"找到")+" "),e("strong",[t._v(t._s(t.totalCount))]),t._v(" "+t._s(t.$t("backendSystem.relatedResults")||"条相关结果")+" ")]):t._e()]),e("div",{staticClass:"header-right"},[e("el-button",{attrs:{type:"primary"},on:{click:t.goBack}},[e("i",{staticClass:"el-icon-arrow-left"}),t._v(" "+t._s(t.$t("backendSystem.returnSearch")||"返回搜索")+" ")])],1)])]),e("div",{staticClass:"search-content"},[e("div",{staticClass:"result-container"},[t.searchResults.length>0?e("div",{staticClass:"result-list"},t._l(t.searchResults,(function(a){return e("div",{key:a.id,staticClass:"result-item",on:{click:function(e){return t.handleItemClick(a)}}},[e("div",{staticClass:"item-icon"},[a.titleUrl?e("img",{staticClass:"doc-icon",attrs:{src:a.titleUrl,alt:"fail"}}):e("i",{staticClass:"el-icon-document doc-icon-placeholder"})]),e("div",{staticClass:"item-content"},[e("h3",{staticClass:"item-title",domProps:{innerHTML:t._s(t.highlightKeyword(a.title))}}),a.subTitle?e("p",{staticClass:"item-subtitle"},[t._v(" "+t._s(a.subTitle)+" ")]):t._e(),e("div",{staticClass:"item-meta"},[e("span",{staticClass:"meta-item"},[e("i",{staticClass:"el-icon-time"}),t._v(" "+t._s(t.formatDate(a.createTime))+" ")]),e("span",{staticClass:"meta-item"},[e("i",{staticClass:"el-icon-user"}),t._v(" "+t._s(a.createUser)+" ")]),e("span",{staticClass:"meta-item"},[e("i",{staticClass:"el-icon-collection-tag"}),t._v(" "+t._s(t.getDocumentTypeName(a.type))+" ")])]),a.content?e("div",{staticClass:"item-preview"},[e("span",{domProps:{innerHTML:t._s(t.getContentPreview(a.content))}})]):t._e()]),e("div",{staticClass:"item-actions"},[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return e.stopPropagation(),t.handlePreview(a)}}},[e("i",{staticClass:"el-icon-view"}),t._v(" "+t._s(t.$t("backendSystem.preview")||"预览")+" ")])],1)])})),0):e("div",{staticClass:"no-result"},[t._m(0),e("h3",[t._v(t._s(t.$t("backendSystem.noResult")||"未找到相关结果"))]),e("p",[t._v(t._s(t.$t("backendSystem.keyword")||"关键词")+' "'),e("strong",[t._v(t._s(t.searchKeyword))]),t._v('" '+t._s(t.$t("backendSystem.noMatch")||"没有找到匹配的文档"))]),e("el-button",{attrs:{type:"primary"},on:{click:t.goBack}},[t._v(t._s(t.$t("backendSystem.resetSearch")||"重新搜索"))])],1),t.searchResults.length>0?e("div",{staticClass:"pagination-container"},[e("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],total:t.totalCount,layout:"total, sizes, prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1):t._e()])]),e("el-dialog",{staticClass:"preview-dialog",attrs:{title:t.$t("backendSystem.documentPreview")||"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[t.previewData?e("div",{staticClass:"preview-content"},[e("h2",[t._v(t._s(t.previewData.title))]),e("div",{staticClass:"preview-meta"},[e("span",[t._v(t._s(t.$t("backendSystem.type")||"类型")+":"+t._s(t.getDocumentTypeName(t.previewData.type)))]),e("span",[t._v(t._s(t.$t("backendSystem.createTime")||"创建时间")+":"+t._s(t.formatDate(t.previewData.createTime)))]),e("span",[t._v(t._s(t.$t("backendSystem.createUser")||"创建者")+":"+t._s(t.previewData.createUser))])]),e("div",{staticClass:"preview-body",domProps:{innerHTML:t._s(t.previewData.content)}})]):t._e()])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"no-result-icon"},[e("i",{staticClass:"el-icon-search"})])}]},56958:function(t,e,a){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(18111),a(20116),a(7588);var i=a(27409),s=a(82908);e["default"]={data(){return{luckData:{luck3d:"0",luck7d:"0",luck30d:0,luck90d:0},BlockInfoData:[],currentPage:1,currencyList:[],BlockInfoParams:{coin:"nexa",limit:10,page:1},params:{coin:"nexa"},customColor:"#C1A1FE",weekColor:"#F6C12B",monthColor:"#7DD491",MarchColor:"#F94280",ItemActive:"nexa",reportBlockLoading:!1,totalSize:0,LuckDataLoading:!1,currencyPath:`${this.$baseApi}img/nexa.png`,transactionFeeList:[{label:"mona",coin:"mona",feeShow:!1},{label:"dgb(skein)",coin:"dgbs",feeShow:!1},{coin:"dgbq",label:"dgb(qubit)",feeShow:!1},{coin:"dgbo",label:"dgb(odocrypt)",feeShow:!1}],FeeShow:!0,activeItemCoin:{value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`},isInternalChange:!1}},watch:{activeItemCoin:{handler(t){this.isInternalChange||this.handleActiveItemChange(t)},deep:!0}},mounted(){this.$route.query.coin&&(this.ItemActive=this.$route.query.coin,this.currencyPath=this.$route.query.imgUrl,this.params.coin=this.$route.query.coin,this.BlockInfoParams.coin=this.$route.query.coin,this.ItemActive=this.$route.query.coin,this.handelCoinLabel(this.$route.query.coin)),this.getLuckData(this.params),this.getBlockInfoData(this.BlockInfoParams),this.registerRecoveryMethod("getLuckData",this.params),this.registerRecoveryMethod("getBlockInfoData",this.BlockInfoParams);let t=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(t),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let t=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(t)}))},methods:{getLuckData:(0,s.Debounce)((async function(t){this.setLoading("LuckDataLoading",!0);const e=await(0,i.getLuck)(t);e&&200==e.code&&(this.luckData=e.data),this.setLoading("LuckDataLoading",!1)}),200),getBlockInfoData:(0,s.Debounce)((async function(t){this.setLoading("reportBlockLoading",!0);const e=await(0,i.getBlockInfo)(t);e||this.setLoading("reportBlockLoading",!1),this.totalSize=e.total,this.BlockInfoData=e.rows,this.BlockInfoData.forEach(((t,e)=>{t.date=`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`})),this.setLoading("reportBlockLoading",!1)}),200),handleActiveItemChange(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.BlockInfoParams.coin=t.value,this.ItemActive=t.value,this.getBlockInfoData(this.BlockInfoParams),this.getLuckData(this.params),this.handelCoinLabel(t.value)},clickCurrency(t){t&&(this.luckData={},this.isInternalChange=!0,this.activeItemCoin=t,this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t)),this.$nextTick((()=>{this.isInternalChange=!1})),this.handleActiveItemChange(t))},clickItem(t){switch(this.ItemActive){case"nexa":window.open(`https://explorer.nexa.org/block-height/${t.height}`);break;case"grs":window.open(`https://chainz.cryptoid.info/grs/block.dws?${t.height}.htm`);break;case"mona":window.open(`https://mona.insight.monaco-ex.org/insight/block/${t.hash}`);break;case"rxd":window.open(`https://explorer.radiantblockchain.org/block-height/${t.height}`);break;case"enx":break;case"alph":window.open(`https://explorer.alephium.org/blocks/${t.hash}`);break;default:break}this.ItemActive.includes("dgb")&&window.open(`https://chainz.cryptoid.info/dgb/block.dws?${t.height}.htm`)},handleSizeChange(t){console.log(`每页 ${t} 条`),this.BlockInfoParams.limit=t,this.BlockInfoParams.page=1,this.currentPage=1,this.getBlockInfoData(this.BlockInfoParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.BlockInfoParams.page=t,this.getBlockInfoData(this.BlockInfoParams)},handelCoinLabel(t){let e={coin:""};t&&(e=this.transactionFeeList.find((e=>e.coin==t)),this.FeeShow=!1),e||(this.FeeShow=!0)},handelLabel(t){return t.includes("dgb")?"dgb":t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},58437:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(81529),s=a(75410),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"d42df632",null),l=o.exports},61969:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(29028),s=a(8579),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"a57ca41e",null),l=o.exports},65681:function(t,e,a){var i=a(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(22489),a(20116),a(7588),a(14603),a(47566),a(98721);var s=i(a(3574)),n=a(46508),r=a(82908);e["default"]={data(){return{activeName:"power",option:{legend:{right:100,show:!0,formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;e=t[0].axisValueLabel;for(let a=0;a<=t.length-1;a++)"Rejection rate"==t[a].seriesName||"拒绝率"==t[a].seriesName?e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}%`:e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}`;return e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:[]},yAxis:[{position:"left",type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,min:0,max:100,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2},{type:"inside",start:0,end:100}],series:[{name:"总算力",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1}]},barOption:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{name:"MH/s",type:"category",data:[],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0,name:"Pcs",nameTextStyle:{padding:[0,0,0,-25]}}],dataZoom:[{type:"inside",start:0,end:80,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"count",type:"bar",barWidth:"60%",data:[],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]},miniOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;e=t[0].axisValueLabel;for(let a=0;a<=t.length-1;a++)"Rejection rate"==t[a].seriesName||"拒绝率"==t[a].seriesName?e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}%`:e+=`
${t[a].marker} ${t[a].seriesName}      ${t[a].value}`;return e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},onLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;return e=t[0].axisValueLabel,e+=`
${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},OffLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var e;return e=t[0].axisValueLabel,e+=`
${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,e},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},sunTabActiveName:"all",Accordion:"",currentPage:1,params:{key:""},PowerParams:{interval:"rt",key:""},PowerDistribution:{interval:"rt",key:""},MinerListParams:{type:"0",filter:"",limit:50,page:1,key:"",sort:"30m",collation:"asc"},activeName2:"power",IncomeParams:{limit:10,page:1,key:""},OutcomeParams:{limit:10,page:1,key:""},MinerAccountData:{},MinerListData:{},intervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],HistoryIncomeData:[],HistoryOutcomeData:[],currentPageIncome:1,MinerListTableData:[],AccountPowerDistributionintervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],miniLoading:!1,search:"",input2:"",timeActive:"rt",barActive:"rt",powerChartLoading:!1,barChartLoading:!1,miniChartParams:{miner:"",coin:"grs",key:""},ids:"smallChart107fx61",activeMiner:"",miniId:"",MinerListLoading:!1,miner:"miner",accountId:"",currentPageMiner:1,minerTotal:0,accountItem:{},HistoryIncomeTotal:0,HistoryOutcomeTotal:0,jurisdiction:[],minerShow:!1,profitShow:!1,paymentShow:!1,jurisdictionLoading:!1,stateList:[{value:"1",label:"mining.onLine"},{value:"2",label:"mining.offLine"}],loadingText:"personal.loadingText",directives:{throttle:{bind(t,e){let a;t.addEventListener("click",(t=>{(!a||Date.now()-a>=e.value)&&(a=Date.now(),e.value.apply(t.target,[t]))}))}}},paymentStatusList:[{value:0,label:"mining.paymentInProgress"},{value:1,label:"mining.paymentCompleted"}]}},watch:{$route(t,e){this.loadingText=this.$t("personal.loadingText"),this.fetchPageInfo({key:this.params.key}),this.getMinerListData(this.MinerListParams),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution)},"$i18n.locale":t=>{location.reload()}},computed:{sortedMinerListTableData(){return this.MinerListTableData?[...this.MinerListTableData].sort(((t,e)=>{const a=String(t.status),i=String(e.status);return"2"===a&&"2"!==i?-1:"2"!==a&&"2"===i?1:0})):[]}},mounted(){this.loadingText=this.$t("personal.loadingText");const t=new URLSearchParams(window.location.search);this.params.key=t.get("key"),this.PowerParams.key=t.get("key"),this.PowerDistribution.key=t.get("key"),this.MinerListParams.key=t.get("key"),this.IncomeParams.key=t.get("key"),this.OutcomeParams.key=t.get("key"),this.fetchPageInfo({key:this.params.key}),this.getMinerListData(this.MinerListParams),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution),this.registerRecoveryMethod("getMinerListData",this.MinerListParams),this.registerRecoveryMethod("getMinerAccountPowerData",this.PowerParams),this.registerRecoveryMethod("getAccountPowerDistributionData",this.PowerDistribution),this.registerRecoveryMethod("fetchPageInfo",{key:this.params.key})},methods:{inCharts(){this.myChart=s.init(document.getElementById("powerChart")),this.option.series[0].name=this.$t("home.finallyPower"),this.option.series[1].name=this.$t("home.rejectionRate"),this.myChart.setOption(this.option),window.addEventListener("resize",(0,r.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},smallInCharts(t){t.series[0].name=this.$t("home.minerSComputingPower"),t.series[1].name=this.$t("home.rejectionRate"),this.miniChart.setOption(t,!0),window.addEventListener("resize",(0,r.throttle)((()=>{this.miniChart&&this.miniChart.resize()}),200))},barInCharts(){null==this.barChart&&(this.barChart=s.init(document.getElementById("barChart"))),this.barOption.series[0].name=this.$t("home.numberOfMiningMachines"),this.barChart.setOption(this.barOption),window.addEventListener("resize",(0,r.throttle)((()=>{this.barChart&&this.barChart.resize()}),200))},async fetchPageInfo(t){this.setLoading("jurisdictionLoading",!0);const e=await(0,n.getPageInfo)(t);console.log(e),e&&200==e.code&&(this.jurisdiction=e.data,this.jurisdiction.config.includes("3")&&(this.paymentShow=!0),this.jurisdiction.config.includes("2")&&(this.profitShow=!0),this.jurisdiction.config.includes("1")&&(this.minerShow=!0),this.profitShow&&(this.getHistoryIncomeData(this.IncomeParams),this.getMinerAccountInfoData(this.params)),this.paymentShow&&this.getHistoryOutcomeData(this.OutcomeParams)),this.setLoading("jurisdictionLoading",!1)},async getMinerAccountInfoData(t){const e=await(0,n.getProfitInfo)(t);this.MinerAccountData=e.data},async getMinerAccountPowerData(t){this.setLoading("powerChartLoading",!0);const e=await(0,n.getMinerAccountPower)(t);if(!e)return this.setLoading("powerChartLoading",!1),void(this.myChart&&this.myChart.dispose());let a=e.data,i=[],s=[],r=[];a.forEach((e=>{e.date.includes("T")&&"rt"==t.interval?e.date=`${e.date.split("T")[0]} ${e.date.split("T")[1].split(".")[0]}`:e.date.includes("T")&&"1d"==t.interval&&(e.date=e.date.split("T")[0]),i.push(e.date),s.push(e.pv.toFixed(2)),r.push((100*e.rejectRate).toFixed(4))}));let o=Math.max(...r);o=Math.round(3*o),o>0&&(this.option.yAxis[1].max=o),this.option.xAxis.data=i,this.option.series[0].data=s,this.option.series[1].data=r,this.inCharts(),this.setLoading("powerChartLoading",!1)},async getAccountPowerDistributionData(t){this.setLoading("barChartLoading",!0);const e=await(0,n.getAccountPowerDistribution)(t);let a=e.data,i=[],s=[];a.forEach((t=>{i.push(`${t.low}-${t.high}`),s.push(t.count)})),this.barOption.xAxis[0].data=i,this.barOption.series[0].data=s,this.barInCharts(),this.setLoading("barChartLoading",!1)},formatNumber(t){const e=Math.floor(t),a=Math.floor(100*(t-e));return`${e}.${String(a).padStart(2,"0")}`},async getMinerListData(t){this.setLoading("MinerListLoading",!0);const e=await(0,n.getMinerList)(t);e&&200==e.code&&(this.MinerListData=e.data,this.MinerListData.submit&&this.MinerListData.submit.includes("T")&&(this.MinerListData.submit=`${this.MinerListData.submit.split("T")[0]} ${this.MinerListData.submit.split("T")[1].split(".")[0]}`),this.MinerListData.rate=this.formatNumber(this.MinerListData.rate),this.MinerListData.dailyRate=this.formatNumber(this.MinerListData.dailyRate),this.MinerListTableData=e.data.rows,this.MinerListTableData.forEach((t=>{t.submit.includes("T")&&(t.submit=`${t.submit.split("T")[0]} ${t.submit.split("T")[1].split(".")[0]}`),t.rate=this.formatNumber(t.rate),t.dailyRate=this.formatNumber(t.dailyRate)})),this.minerTotal=e.data.total),this.setLoading("MinerListLoading",!1)},async getMinerPowerData(t){this.setLoading("miniLoading",!0);const e=await(0,n.getMinerPower)(t);if(!e)return void this.setLoading("miniLoading",!1);let a=e.data,i=[],r=[],o=[];a.forEach((e=>{e.date.includes("T")&&"rt"==t.interval?e.date=`${e.date.split("T")[0]} ${e.date.split("T")[1].split(".")[0]}`:e.date.includes("T")&&"1d"==t.interval&&(e.date=e.date.split("T")[0]),e.date=`${e.date.split("T")[0]} ${e.date.split("T")[1].split(".")[0]}`,i.push(e.date),r.push(e.pv.toFixed(2)),o.push((100*e.rejectRate).toFixed(4))})),this.miniOption.xAxis.data=i,this.miniOption.series[0].data=r,this.miniOption.series[1].data=o,this.miniOption.series[0].name=this.$t("home.finallyPower"),this.miniOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallChart${this.miniId}`,this.miniChart=s.init(document.getElementById(this.ids));let l=Math.max(...o);l=Math.round(3*l),l>0&&(this.miniOption.yAxis[1].max=l),this.$nextTick((()=>{this.smallInCharts(this.miniOption)})),this.setLoading("miniLoading",!1)},async getMinerPowerOnLine(t){this.setLoading("miniLoading",!0);const e=await(0,n.getMinerPower)(t);if(!e)return void this.setLoading("miniLoading",!1);let a=e.data,i=[],o=[],l=[];a.forEach((t=>{t.date.includes("T")?i.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):i.push(t.date),o.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.onLineOption.xAxis.data=i,this.onLineOption.series[0].data=o,this.onLineOption.series[1].data=l,this.onLineOption.series[0].name=this.$t("home.finallyPower"),this.onLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`Small${this.miniId}`,this.miniChartOnLine=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOnLine.setOption(this.onLineOption,!0),window.addEventListener("resize",(0,r.throttle)((()=>{this.miniChartOnLine&&this.miniChartOnLine.resize()}),200))})),this.setLoading("miniLoading",!1)},async getMinerPowerOffLine(t){this.setLoading("miniLoading",!0);const e=await(0,n.getMinerPower)(t);if(!e)return void this.setLoading("miniLoading",!1);let a=e.data,i=[],o=[],l=[];a.forEach((t=>{t.date.includes("T")?i.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):i.push(t.date),o.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.OffLineOption.xAxis.data=i,this.OffLineOption.series[0].data=o,this.OffLineOption.series[1].data=l,this.OffLineOption.series[0].name=this.$t("home.finallyPower"),this.OffLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallOff${this.miniId}`,this.miniChartOff=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOff.setOption(this.OffLineOption,!0),window.addEventListener("resize",(0,r.throttle)((()=>{this.miniChartOff&&this.miniChartOff.resize()}),200))})),this.setLoading("miniLoading",!1)},async getHistoryIncomeData(t){const e=await(0,n.getHistoryIncome)(t);e&&200==e.code&&(this.HistoryIncomeData=e.rows,this.HistoryIncomeTotal=e.total,this.HistoryIncomeData.forEach((t=>{t.date.includes("T")&&(t.date=t.date.split("T")[0])})))},async getHistoryOutcomeData(t){const e=await(0,n.getHistoryOutcome)(t);e&&200==e.code&&(this.HistoryOutcomeData=e.rows,this.HistoryOutcomeTotal=e.total,this.HistoryOutcomeData.forEach((t=>{t.date.includes("T")&&(t.date=`${t.date.split("T")[0]} `)})))},handelMiniChart:(0,r.throttle)((function(t,e){this.Accordion&&(this.miniId=t,this.miner=e,this.$nextTick((()=>{this.getMinerPowerData({key:this.params.key,account:e})})))}),1e3),handelOnLineMiniChart:(0,r.throttle)((function(t,e){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOnLine({key:this.params.key,account:e})})))}),1e3),handelMiniOffLine:(0,r.throttle)((function(t,e){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOffLine({key:this.params.key,account:e})})))}),1e3),handleClick(){switch(this.activeName){case"power":this.inCharts();break;case"miningMachineDistribution":this.distributionInCharts();break;default:break}},handleClick2(t){switch(this.search="",this.MinerListParams.filter="",this.Accordion="",this.IncomeParams.limit=10,this.MinerListParams.limit=50,this.OutcomeParams.limit=10,t){case"power":this.activeName2=t,this.getMinerListData(this.MinerListParams);break;case"miningMachine":if(!this.profitShow)return;this.activeName2=t,this.getHistoryIncomeData(this.IncomeParams);break;case"payment":if(!this.paymentShow)return;this.activeName2=t,this.getHistoryOutcomeData(this.OutcomeParams);break;default:break}},onlineStatus(t){switch(this.Accordion="",this.search="",this.MinerListParams.filter="",this.sunTabActiveName=t,this.sunTabActiveName){case"all":this.MinerListParams.type=0;break;case"onLine":this.MinerListParams.type=1;break;case"off-line":this.MinerListParams.type=2;break;default:break}this.getMinerListData(this.MinerListParams)},handleInterval(t){this.PowerParams.interval=t,this.timeActive=t,this.getMinerAccountPowerData(this.PowerParams)},distributionInterval(t){this.PowerDistribution.interval=t,this.barActive=t,this.getAccountPowerDistributionData(this.PowerDistribution)},handelSearch(){this.MinerListParams.filter=this.search,this.getMinerListData(this.MinerListParams)},handleSizeChange(t){console.log(`每页 ${t} 条`),this.OutcomeParams.limit=t,this.OutcomeParams.page=1,this.getHistoryOutcomeData(this.OutcomeParams),this.currentPage=1},handleCurrentChange(t){console.log(`当前页: ${t}`),this.OutcomeParams.page=t,this.getHistoryOutcomeData(this.OutcomeParams)},handleSizeChangeIncome(t){console.log(`每页 ${t} 条`),this.IncomeParams.limit=t,this.IncomeParams.page=1,this.getHistoryIncomeData(this.IncomeParams),this.currentPageIncome=1},handleCurrentChangeIncome(t){console.log(`当前页: ${t}`),this.IncomeParams.page=t,this.getHistoryIncomeData(this.IncomeParams)},handleSizeMiner(t){console.log(`每页 ${t} 条`),this.MinerListParams.limit=t,this.MinerListParams.page=1,this.getMinerListData(this.MinerListParams),this.currentPageMiner=1},handleCurrentMiner(t){console.log(`当前页: ${t}`),this.MinerListParams.page=t,this.getMinerListData(this.MinerListParams)},handelStateList(t){return this.stateList.find((e=>e.value==t)).label||""},handleSort(t){this.MinerListParams.sort=t,"asc"==this.MinerListParams.collation?this.MinerListParams.collation="desc":this.MinerListParams.collation="asc",this.getMinerListData(this.MinerListParams)},handleSort30(){"asc"==this.MinerListParams.collation[0]?this.MinerListParams.collation[0]="desc":this.MinerListParams.collation[0]="asc",this.getMinerListData(this.MinerListParams)},handleSort1h(){"asc"==this.MinerListParams.collation[1]?this.MinerListParams.collation[1]="desc":this.MinerListParams.collation[1]="asc",this.getMinerListData(this.MinerListParams)},handelTimeInterval(t){if(t){var e=60*t,a=Math.floor(e/86400),i=Math.floor(e%86400/3600),s=Math.floor(e%3600/60);if(a)return`(${a}${this.$t("personal.day")} ${i}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(i)return`(${i}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(s)return`( ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`}},async copyTxid(t){let e=`id${t}`,a=document.getElementById(e);try{await navigator.clipboard.writeText(a.textContent),this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})}catch(i){console.log(i),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}},handelPayment(t){if(t||0==t){let e=this.paymentStatusList.find((e=>e.value==t));return e.label}return""},handelTxid(t){if(this.jurisdiction.coin.includes("dgb"))window.open(`https://chainz.cryptoid.info/dgb/tx.dws?${t}.htm`);else switch(this.jurisdiction.coin){case"nexa":window.open(`https://explorer.nexa.org/tx/${t}`);break;case"mona":window.open(`https://mona.insight.monaco-ex.org/insight/tx/${t}`);break;case"grs":window.open(`https://chainz.cryptoid.info/grs/tx.dws?${t}.htm`);break;case"rxd":window.open(`https://explorer.radiantblockchain.org/tx/${t}`);break;case"enx":window.open(`https://explorer.entropyx.org/txs/${t}`);break;case"alph":window.open(`https://explorer.alephium.org/transactions/${t}`);break;default:break}}}}},69437:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(22489),a(20116),a(7588),a(13579);var s=i(a(35720)),n=a(11503);e["default"]={data(){return{imgSrc:"https://studio.glassnode.com/images/crypto-icons/btc.png",navLabel:"Bitcoin (BTC)",userName:"LX",from:{title:"",kinds:"",description:"",radio:""},kindsList:[{value:"购买咨询",label:"购买咨询"},{value:"财务咨询",label:"财务咨询"},{value:"网页问题",label:"网页问题"},{value:"账户问题",label:"账户问题"},{value:"移动端问题",label:"移动端问题"},{value:"消息订阅",label:"消息订阅"},{value:"指标数据问题",label:"指标数据问题"},{value:"其他",label:"其他"}],params:[],input:1,tableData:[{num:1,time:"2022-09-01 16:00",problem:"账户问题",questionTitle:"账户不能登录",state:"已解决"}],textarea:"我是提交内容",textarea1:"我是回复内容",textarea2:"",replyInput:!0,ticketDetails:{id:"",type:"",title:"",userName:"",desc:"",responName:"",respon:"",submitTime:"",status:"",fileIds:"",files:"",responTime:""},fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,filesId:[],paramsDownload:{id:""},paramsResponTicket:{id:"",files:"",respon:""},paramsAuditTicket:{id:"",msg:""},paramsSubmitAuditTicket:{id:""},identity:{},detailsID:"",downloadUrl:"",workOrderId:"",recordList:[],replyParams:{id:"",desc:"",files:""},orderDetailsLoading:!1,faultList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],machineCoding:[],closeDialogVisible:!1,lang:this.$i18n.locale}},mounted(){this.workOrderId=localStorage.getItem("workOrderId"),this.workOrderId&&(this.fetchTicketDetails({id:this.workOrderId}),this.registerRecoveryMethod("fetchTicketDetails",{id:this.workOrderId}))},methods:{handelStatus2(t){try{if(t){let e=this.statusList.find((e=>e.value==t)).label;return this.$t(e)}}catch{return""}},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},async fetchTicketDetails(t){this.orderDetailsLoading=!0;const e=await(0,n.getTicketDetails)(t);e&&200==e.code&&(this.recordList=e.data.list,this.ticketDetails=e.data),this.orderDetailsLoading=!1},async fetchContinueSubmit(t){this.orderDetailsLoading=!0;let e=await(0,n.getResubmitTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.submitted"),type:"success"}),this.replyParams.desc="",this.fetchTicketDetails({id:this.workOrderId}),this.fileList=[]),this.orderDetailsLoading=!1},async fetchEndTicket(t){this.orderDetailsLoading=!0;let e=await(0,n.getEndTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.WKend"),type:"success"}),this.$router.push(`/${this.lang}/workOrderRecords`)),this.orderDetailsLoading=!1,this.closeDialogVisible=!1},handelEnd(){this.closeDialogVisible=!0},confirmCols(){this.fetchEndTicket({id:this.ticketDetails.id})},handelResubmit(){this.replyParams.id=this.ticketDetails.id,this.replyParams.desc?(this.orderDetailsLoading=!0,this.fileList[0]?(this.FormDatas=new FormData,this.fileList.forEach((t=>{this.FormDatas.append("file",t)})),this.$axios({method:"post",url:`${s.default.defaults.baseURL}pool/ticket/uploadFile`,headers:this.headers,timeout:3e4,data:this.FormDatas}).then((t=>{this.replyParams.files=t.data.data.id,this.replyParams.files&&this.fetchContinueSubmit(this.replyParams)}))):this.fetchContinueSubmit(this.replyParams),this.orderDetailsLoading=!1):this.$message({message:this.$t("work.confirmInput"),type:"error"})},handelKinds(){},handelEdit(){this.replyInput=!1},handelDownload(t){if(t){this.downloadUrl=` ${s.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handelChange(t,e){const a=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),i=this.fileType.includes(a),s=t.size/1024/1024<=this.fileSize;if(!i)return this.$message.error(`${this.$t("work.notSupported")} ${a}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!s)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let n=this.fileList.some((e=>e.name==t.name));if(n)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileList.push(t.raw)},handleRemove(t,e){let a=this.fileName.indexOf(t.name);-1!==a&&this.fileName.splice(a,1);let i=this.fileList.indexOf(t);-1!==i&&this.fileList.splice(i,1)},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},handleSuccess(){},handelTime(t){if(t)return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`}},beforeDestroy(){localStorage.setItem("workOrderId","")}}},71995:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(11685),s=a(20155),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"3554fa88",null),l=o.exports},72938:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(22489),a(7588),a(13579);var s=a(11503),n=i(a(35720));e["default"]={data(){return{ruleForm:{desc:"",files:""},rules:{desc:[{required:!0,message:this.$t("work.problemDescription"),trigger:"blur"}]},labelPosition:"top",fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,fileName:[],filesId:[],submitWorkOrderLoading:!1}},watch:{"$i18n.locale":function(){this.translate()}},mounted(){},methods:{translate(){this.rules={desc:[{required:!0,message:this.$t("work.problemDescription"),trigger:"blur"}]}},async fetchSubmitWork(t){this.submitWorkOrderLoading=!0;const e=await(0,s.getSubmitTicket)(t);if(200==e.code){this.$message({message:e.msg,type:"success",showClose:!0});for(const t in this.ruleForm)this.ruleForm[t]="";this.fileList=[]}this.submitWorkOrderLoading=!1},submitForm(){this.$refs.ruleForm.validate((t=>{t&&(console.log("进来?"),this.submitWorkOrderLoading=!0,this.fileList[0]?(this.FormDatas=new FormData,this.fileList.forEach((t=>{this.FormDatas.append("file",t)})),this.$axios({method:"post",url:`${n.default.defaults.baseURL}pool/ticket/uploadFile`,headers:this.headers,timeout:3e4,data:this.FormDatas}).then((t=>{console.log(t,"文件返回"),200!=t.status||200==t.data.code?(this.ruleForm.files=t.data.data.id,this.ruleForm.files&&this.fetchSubmitWork(this.ruleForm)):this.$message.error(t.data.msg)}))):this.fetchSubmitWork(this.ruleForm))})),this.submitWorkOrderLoading=!1},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},uploadFile(t){this.fileItem=t,this.fileList.push(t.file),this.fileName.push(t.file.name)},handleSuccess(){},handelDownload(t){if(t){this.downloadUrl=` ${n.default.defaults.baseURL}ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handleRemove(t,e){let a=this.fileName.indexOf(t.name);-1!==a&&this.fileName.splice(a,1);let i=this.fileList.indexOf(t);-1!==i&&this.fileList.splice(i,1)},beforeUpload(t){const e=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),a=this.fileType.includes(e),i=t.size/1024/1024<=this.fileSize;return a?i?void 0:(this.$message.error(`${this.$t("work.notSupported2")}${this.fileSize} MB.`),!1):(this.$message.error(`${this.$t("work.notSupported")}:${e}`),!1)},handelChange(t,e){const a=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),i=this.fileType.includes(a),s=t.size/1024/1024<=this.fileSize;if(!i)return this.$message.error(`${this.$t("work.notSupported")} ${a}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!s)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let n=this.fileList.some((e=>e.name==t.name));if(n)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileName.push(t.name),this.fileList.push(t.raw)}}}},73836:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(83625),s=a(2981),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"7b3906e4",null),l=o.exports},75410:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(56958));e.A={mixins:[s.default]}},75904:function(t,e,a){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"loginPage"},[t.$isMobile?e("section",{staticClass:"mobileMain"},[e("header",{staticClass:"headerBox2"},[e("img",{attrs:{src:a(87596),alt:"logo"},on:{click:function(e){return t.handelJump("/")}}}),e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.MRegister")))]),e("span")]),t._m(0),e("section",{staticClass:"formInput"},[e("el-form",{ref:"registerForm",staticClass:"demo-ruleForm",attrs:{model:t.registerForm,"status-icon":"",rules:t.registerRules}},[e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{type:"email","prefix-icon":"el-icon-message",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.registerForm.email,callback:function(e){t.$set(t.registerForm,"email",e)},expression:"registerForm.email"}})],1),e("el-form-item",{attrs:{prop:"emailCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.registerForm.emailCode,callback:function(e){t.$set(t.registerForm,"emailCode",e)},expression:"registerForm.emailCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{title:t.$t("user.passwordPrompt"),type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.password"),"show-password":""},model:{value:t.registerForm.password,callback:function(e){t.$set(t.registerForm,"password",e)},expression:"registerForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"confirmPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.confirmPassword"),"show-password":""},model:{value:t.registerForm.confirmPassword,callback:function(e){t.$set(t.registerForm,"confirmPassword",e)},expression:"registerForm.confirmPassword"}})],1),e("div",{staticClass:"register"},[e("span",[t._v(t._s(t.$t("user.havingAnAccount"))+" "),e("span",{staticClass:"goLogin",on:{click:t.goLogin}},[t._v(t._s(t.$t("user.login")))])])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.registerLoading},on:{click:t.handleRegister}},[t._v(t._s(t.$t("user.register")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)]):e("section",{staticClass:"loginModular"},[e("div",{staticClass:"leftBox"},[e("img",{staticClass:"logo",attrs:{src:a(79613),alt:"logo"},on:{click:t.handleClick}}),e("img",{attrs:{src:a(29500),alt:"Register Mining Pool"}})]),e("div",{staticClass:"loginBox"},[e("div",{staticClass:"closeBox",on:{click:t.handleClick}},[e("i",{staticClass:"iconfont icon-guanbi1 close"})]),e("el-form",{ref:"registerForm",staticClass:"demo-ruleForm",attrs:{model:t.registerForm,"status-icon":"",rules:t.registerRules}},[e("el-form-item",[e("p",{staticClass:"loginTitle"},[t._v(t._s(t.$t("user.newUser")))])]),e("el-form-item",{attrs:{prop:"email"}},[e("el-input",{attrs:{type:"email","prefix-icon":"el-icon-message",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.registerForm.email,callback:function(e){t.$set(t.registerForm,"email",e)},expression:"registerForm.email"}})],1),e("el-form-item",{attrs:{prop:"emailCode"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.registerForm.emailCode,callback:function(e){t.$set(t.registerForm,"emailCode",e)},expression:"registerForm.emailCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("el-form-item",{attrs:{prop:"password"}},[e("el-input",{attrs:{title:t.$t("user.passwordPrompt"),type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.password"),"show-password":""},model:{value:t.registerForm.password,callback:function(e){t.$set(t.registerForm,"password",e)},expression:"registerForm.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("el-form-item",{attrs:{prop:"confirmPassword"}},[e("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",placeholder:t.$t("user.confirmPassword"),"show-password":""},model:{value:t.registerForm.confirmPassword,callback:function(e){t.$set(t.registerForm,"confirmPassword",e)},expression:"registerForm.confirmPassword"}})],1),e("div",{staticClass:"register"},[e("span",[t._v(t._s(t.$t("user.havingAnAccount"))+" "),e("span",{staticClass:"goLogin",on:{click:t.goLogin}},[t._v(t._s(t.$t("user.login")))])])]),e("el-form-item",[e("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.registerLoading},on:{click:t.handleRegister}},[t._v(t._s(t.$t("user.register")))]),e("div",{staticStyle:{"text-align":"left"}},[e("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("简体中文")]),e("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgTop"},[e("img",{attrs:{src:a(11427),alt:"register",loading:"lazy"}})])}]},78221:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(2095));e.A={mixins:[s.default]}},79320:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.submitWorkOrderLoading,expression:"submitWorkOrderLoading"}],staticClass:"submitWorkOrder"},[t.$isMobile?e("section",{staticClass:"WorkOrder"},[e("h3",[t._v(t._s(t.$t("work.SubmitWK")))]),e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px","label-position":t.labelPosition}},[e("el-form-item",{attrs:{label:t.$t("work.problem"),prop:"desc"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",resize:"none",autosize:{minRows:5,maxRows:10},placeholder:t.$t("work.PleaseEnter"),maxlength:"250","show-word-limit":""},model:{value:t.ruleForm.desc,callback:function(e){t.$set(t.ruleForm,"desc",e)},expression:"ruleForm.desc"}})],1),e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%","font-weight":"600",color:"rgba(0,0,0,0.7)"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"before-upload":t.beforeUpload,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-form-item",[e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px"},attrs:{type:"plain"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("work.submit")))])],1)],1)],1):e("section",{staticClass:"WorkOrder"},[e("h3",[t._v(t._s(t.$t("work.SubmitWK")))]),e("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.ruleForm,rules:t.rules,"label-width":"100px","label-position":t.labelPosition}},[e("el-form-item",{attrs:{label:t.$t("work.problem"),prop:"desc"}},[e("el-input",{staticStyle:{width:"100%"},attrs:{type:"textarea",resize:"none",autosize:{minRows:5,maxRows:10},placeholder:t.$t("work.PleaseEnter"),maxlength:"250","show-word-limit":""},model:{value:t.ruleForm.desc,callback:function(e){t.$set(t.ruleForm,"desc",e)},expression:"ruleForm.desc"}})],1),e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%","font-weight":"600",color:"rgba(0,0,0,0.7)"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"before-upload":t.beforeUpload,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-form-item",[e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px"},attrs:{type:"plain"},on:{click:t.submitForm}},[t._v(" "+t._s(t.$t("work.submit")))])],1)],1)],1)])},e.Yp=[]},80238:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,a(44114),a(18111),a(20116);i(a(76466));var s=a(11503);e["default"]={data(){return{from0:[],from1:[],from2:[],from10:[],params:{page:1,limit:10,status:1},rechargeRecord:!1,activeName:"pendingProcessing",workBKLoading:!1,options:[{value:1,label:"待处理"},{value:3,label:"等待收货中"},{value:5,label:"已报价,等待付款"},{value:6,label:"已付款"},{value:7,label:"正在维修"},{value:8,label:"维修完成,等待发回"},{value:9,label:"已发回"},{value:10,label:"已完结"},{value:20,label:"确认收款中"},{value:21,label:"待寄件"}],value1:"",labelPosition:"top",formLabelAlign:{name:"",region:"",type:""},iconShow:!1,totalLimit0:0,totalLimit1:0,totalLimit2:0,totalLimit10:0,currentPage0:1,currentPage1:1,currentPage2:1,currentPage10:1,pageSizes:[10,50,100,300],faultList:[{id:1,name:"整机无算力",label:"user.fault"},{id:2,name:"某一块板无算力",label:"user.fault2"},{id:3,name:"整机算力过低",label:"user.fault3"},{id:4,name:"某一块板算力过低",label:"user.fault4"},{id:5,name:"其他故障",label:"user.fault5"}],typeList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],lang:this.$i18n.locale}},watch:{params:{handler(t){t.low||t.high?this.iconShow=!0:this.iconShow=!1},deep:!0}},mounted(){switch(this.activeName=sessionStorage.getItem("helpActiveName"),this.activeName||(this.activeName="pendingProcessing"),this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params),this.registerRecoveryMethod("fetchRechargeRecord0",this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params),this.registerRecoveryMethod("fetchRechargeRecord2",this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params),this.registerRecoveryMethod("fetchRechargeRecord10",this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params),this.registerRecoveryMethod("fetchRechargeRecord1",this.params);break;default:break}},methods:{async fetchBKendTicket(t){this.workBKLoading=!0;const e=await(0,s.getBKendTicket)(t);if(e&&200==e.code)switch(this.$message({message:this.$t("work.WKend"),type:"success"}),this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}this.workBKLoading=!1},handelType2(t){if(t)return this.typeList.find((e=>e.name==t)).label},handelStatus2(t){if(this.statusList&&t){const e=this.statusList.find((e=>e.value==t));if(e)return e.label}return""},async fetchRechargeRecord0(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);this.totalLimit0=e.total,this.from0=e.rows,this.workBKLoading=!1},async fetchRechargeRecord1(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);console.log(e,"哦客服"),this.from1=e.rows,this.totalLimit1=e.total,this.workBKLoading=!1},async fetchRechargeRecord2(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);this.from2=e.rows,this.totalLimit2=e.total,this.workBKLoading=!1},async fetchRechargeRecord10(t){this.workBKLoading=!0;const e=await(0,s.getTicketList)(t);this.from10=e.rows,this.totalLimit10=e.total,this.workBKLoading=!1},handelDetails(t){this.$router.push({path:`/${this.lang}/BKWorkDetails`,query:{totalID:t.id}}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)})),localStorage.setItem("totalID",t.id)},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},handelTime(t){if(t)return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handleChange(){if(this.value1)this.params.start=this.value1[0],this.params.end=this.value1[1];else switch(this.params.start="",this.params.end="",this.activeName){case"all":this.params.type=2,this.fetchRechargeRecord2(this.params);break;case"support":this.params.type=0,this.fetchRechargeRecord0(this.params);break;case"service":this.params.type=1,this.fetchRechargeRecord1(this.params);break;default:break}},handleSizeChange(t){switch(console.log(`每页 ${t} 条`),this.params.limit=t,this.params.page=1,this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}this.currentPage10=1,this.currentPage1=1,this.currentPage2=1,this.currentPage0=1},handleCurrentChange(t){switch(console.log(`当前页: ${t}`),this.params.page=t,this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}},handleElTabs(t,e){switch(sessionStorage.setItem("helpActiveName",t.name),this.params.page=1,this.params.limit=10,this.activeName){case"all":this.params.status=0,this.fetchRechargeRecord0(this.params);break;case"pending":this.params.status=2,this.fetchRechargeRecord2(this.params);break;case"Finished":this.params.status=10,this.fetchRechargeRecord10(this.params);break;case"pendingProcessing":this.params.status=1,this.fetchRechargeRecord1(this.params);break;default:break}},handleClick(){this.params.address=""},handelCloseWork(t){this.fetchBKendTicket({id:t.id})}}}},81529:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"Block"},[t.$isMobile?e("section",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"}]},[e("div",{staticClass:"currencySelect"},[e("el-menu",{staticClass:"el-menu-demo",attrs:{mode:"horizontal"}},[e("el-submenu",{staticStyle:{background:"transparent"},attrs:{index:"2"}},[e("template",{slot:"title"},[e("span",{ref:"coinSelect",staticClass:"coinSelect"},[e("img",{attrs:{src:t.currencyPath,alt:"coin"}}),e("span",[t._v(t._s(t.handelCurrencyLabel(t.params.coin)))])])]),e("ul",{staticClass:"moveCurrencyBox"},t._l(t.currencyList,(function(a){return e("li",{key:a.value,on:{click:function(e){return t.clickCurrency(a)}}},[e("img",{attrs:{src:a.img,alt:"coin",loading:"lazy"}}),e("p",[t._v(t._s(a.label))])])})),0)],2)],1)],1),e("div",{directives:[{name:"show",rawName:"v-show",value:"enx"!=this.activeItemCoin.value&&"alph"!=this.activeItemCoin.value,expression:"this.activeItemCoin.value != 'enx' && this.activeItemCoin.value != 'alph'"}],staticClass:"luckyBox"},[e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky3")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck3d)+"%")])]),e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky7")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck7d)+"%")])]),t.luckData.luck30d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky30")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck30d)+"%")])]):t._e(),t.luckData.luck90d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky90")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck90d)+"%")])]):t._e()]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),e("span",{attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.BlockInfoData,(function(a){return e("el-collapse-item",{key:a.hash,attrs:{name:a.hash}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.height))]),e("span",[t._v(t._s(a.date))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("home.blockRewards"))+" ("+t._s(t.handelLabel(t.BlockInfoParams.coin))+")")]),e("p",[t._v(t._s(a.reward))])])]),e("div",{attrs:{id:"hash"},on:{click:function(e){return t.clickItem(a)}}},[e("p",[t._v(t._s(t.$t("home.blockHash")))]),e("p",{staticClass:"text"},[t._v(t._s(a.hash)+" ")])])],2)})),1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[10,20,50,200],"page-size":10,layout:"sizes, prev, pager, next",total:t.totalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1)]):e("div",[e("section",{staticClass:"BlockTop"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[e("div",{staticClass:"currencyBox"},t._l(t.currencyList,(function(a){return e("div",{key:a.value,staticClass:"sunCurrency",on:{click:function(e){return t.clickCurrency(a)}}},[e("img",{staticClass:"currency-logo lazy lazy-coin-logo",attrs:{src:a.img}}),e("span",{class:{active:t.ItemActive==a.value}},[t._v(t._s(a.label))])])})),0)]),e("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[e("div",{directives:[{name:"show",rawName:"v-show",value:"enx"!=this.activeItemCoin.value&&"alph"!=this.activeItemCoin.value,expression:"this.activeItemCoin.value != 'enx' && this.activeItemCoin.value != 'alph'"}],staticClass:"luckyBox"},[e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky3")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck3d)+"%")])]),e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky7")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck7d)+"%")])]),t.luckData.luck30d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky30")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck30d)+"%")])]):t._e(),t.luckData.luck90d?e("div",{staticClass:"luckyItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("home.lucky90")))]),e("span",{staticClass:"text"},[t._v(t._s(t.luckData.luck90d)+"%")])]):t._e()])])],1)],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[e("div",{staticClass:"reportBlock"},[e("div",{staticClass:"reportBlockBox"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"}],staticClass:"belowTable"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),e("span",{attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))]),e("span",{staticClass:"hash",attrs:{title:t.$t("home.blockHash")}},[t._v(t._s(t.$t("home.blockHash")))]),e("div",{staticClass:"blockRewards"},[t._v(t._s(t.$t("home.blockRewards"))+" ("+t._s(t.handelLabel(t.BlockInfoParams.coin))+") ")])]),e("ul",t._l(t.BlockInfoData,(function(a){return e("li",{key:a.hash,staticClass:"currency-list",on:{click:function(e){return t.clickItem(a)}}},[e("span",[t._v(t._s(a.height))]),e("span",[t._v(t._s(a.date))]),e("span",{staticClass:"hash",attrs:{title:a.hash}},[t._v(t._s(a.hash))]),e("span",{staticClass:"reward",attrs:{title:a.reward}},[t._v(t._s(a.reward))])])})),0),e("el-pagination",{staticClass:"pageBox",attrs:{"current-page":t.currentPage,"page-sizes":[10,20,50,200],"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:t.totalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)])])])],1)],1)])},e.Yp=[]},83240:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(21440));e.A={mixins:[s.default]}},83443:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.WKRecordsLoading,expression:"WKRecordsLoading"}],staticClass:"workOrderRecords"},[t.$isMobile?e("section",{staticClass:"workMain"},[e("h3",[t._v(t._s(t.$t("personal.workOrderRecord")))]),e("el-tabs",{staticStyle:{width:"100%"},on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{staticClass:"pendingMain",attrs:{label:t.$t("work.pending"),name:"pending"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from1,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"success"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from2,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"reply"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from0,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1)])])],1)],1):e("section",{staticClass:"workBK"},[e("el-row",[e("el-col",{staticStyle:{display:"flex","align-items":"center"},attrs:{span:24}},[e("h2",[t._v(t._s(t.$t("personal.workOrderRecord")))]),e("i",{staticClass:"i ishuaxin1 Refresh"})])],1),e("el-tabs",{on:{"tab-click":t.handleClick},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{staticClass:"pendingMain",attrs:{label:t.$t("work.pending"),name:"pending"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from1,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a?.row?.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"success"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from2,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a?.row?.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"reply"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from0,stripe:"","max-height":"600"}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a?.row?.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1)],1)],1),e("el-dialog",{attrs:{title:t.$t("user.prompt3"),visible:t.dialogVisible,width:"30%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("span",[t._v(t._s(t.$t(t.msg)))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("user.cancel")))]),e("el-button",{attrs:{type:"primary"},on:{click:t.determineInformation}},[t._v(" "+t._s(t.$t("user.Confirm")))])],1)])],1)])},e.Yp=[]},83625:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"split-editor-demo"},[e("div",{staticClass:"page-header"},[t._m(0),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{loading:t.saveLoading,icon:"el-icon-document",type:"success"},on:{click:t.handleSave}},[t._v(" 保存内容 ")]),e("el-button",{attrs:{icon:"el-icon-delete",type:"danger"},on:{click:t.handleClear}},[t._v(" 清空内容 ")])],1)]),e("el-card",{staticClass:"document-config",attrs:{shadow:"never"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("span",[e("i",{staticClass:"el-icon-setting"}),t._v(" 文档配置")])]),e("el-form",{staticClass:"config-form",attrs:{model:t.documentForm,"label-width":"100px"}},[e("el-row",{attrs:{gutter:20}},[e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"文档标题"}},[e("el-input",{attrs:{placeholder:"请输入文档标题"},model:{value:t.documentForm.title,callback:function(e){t.$set(t.documentForm,"title",e)},expression:"documentForm.title"}})],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"文档类型"}},[e("el-select",{staticStyle:{width:"100%"},attrs:{placeholder:"请选择文档类型"},model:{value:t.documentForm.type,callback:function(e){t.$set(t.documentForm,"type",e)},expression:"documentForm.type"}},[e("el-option",{attrs:{label:"服务条款",value:"1"}}),e("el-option",{attrs:{label:"API文档",value:"2"}}),e("el-option",{attrs:{label:"挖矿教程",value:"3"}}),e("el-option",{attrs:{label:"其他",value:"0"}})],1)],1)],1),e("el-col",{attrs:{span:8}},[e("el-form-item",{attrs:{label:"文档状态"}},[e("el-tag",{attrs:{type:"published"===t.documentForm.status?"success":"info"}},[t._v(" "+t._s("published"===t.documentForm.status?"已发布":"草稿")+" ")])],1)],1)],1)],1)],1),e("el-card",{staticClass:"editor-card",attrs:{shadow:"never"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("span",[e("i",{staticClass:"el-icon-edit-outline"}),t._v(" 分屏编辑器")]),e("div",{staticClass:"header-tips"},[e("el-tag",{attrs:{size:"mini",type:"info"}},[t._v("支持实时预览")]),e("el-tag",{attrs:{size:"mini",type:"success"}},[t._v("自动保存")])],1)]),e("SplitScreenEditor",{ref:"splitEditor",attrs:{height:500,options:t.editorOptions},on:{change:t.handleContentChange,publish:t.handlePublish},model:{value:t.documentForm.content,callback:function(e){t.$set(t.documentForm,"content",e)},expression:"documentForm.content"}})],1),e("el-card",{staticClass:"usage-guide",attrs:{shadow:"never"}},[e("div",{attrs:{slot:"header"},slot:"header"},[e("span",[e("i",{staticClass:"el-icon-info"}),t._v(" 使用说明")]),e("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text"},on:{click:function(e){t.showGuide=!t.showGuide}}},[t._v(" "+t._s(t.showGuide?"收起":"展开")+" ")])],1),e("transition",{attrs:{name:"slide-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showGuide,expression:"showGuide"}],staticClass:"guide-content"},[e("div",{staticClass:"guide-section"},[e("h4",[t._v("🖥️ 三种显示模式")]),e("ul",[e("li",[e("strong",[t._v("编辑模式")]),t._v(":只显示编辑器,专注于内容编写")]),e("li",[e("strong",[t._v("预览模式")]),t._v(":只显示预览效果,方便查看最终结果")]),e("li",[e("strong",[t._v("分屏模式")]),t._v(":左边编辑,右边实时预览,所见即所得")])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("⚡ 快捷功能")]),e("ul",[e("li",[e("strong",[t._v("插入圆点")]),t._v(':点击工具栏中的"插入圆点"按钮,在当前位置插入 • 符号')]),e("li",[e("strong",[t._v("全屏编辑")]),t._v(":点击全屏按钮或按 F11 进入全屏模式")]),e("li",[e("strong",[t._v("复制HTML")]),t._v(":在预览区域可以复制生成的HTML代码")]),e("li",[e("strong",[t._v("字数统计")]),t._v(":实时显示当前内容的字符数量")])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("🎯 圆点列表示例")]),e("p",[t._v("在编辑器中输入以下内容来创建带圆点的列表:")]),e("div",{staticClass:"example-box"},[e("p",[e("code",[t._v("• ALEO矿工必须质押一定数量的ALEO代币")])]),e("p",[e("code",[t._v("• 否则将无法提交PoW工作量证明")])]),e("p",[e("code",[t._v("• 质押金额直接影响挖矿收益")])])])])])])],1)],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header-content"},[e("h1",{staticClass:"page-title"},[e("i",{staticClass:"el-icon-s-unfold"}),t._v(" 分屏编辑器演示 ")]),e("p",{staticClass:"page-subtitle"},[t._v("支持编辑、预览、分屏三种模式的富文本编辑器")])])}]},84419:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.workBKLoading,expression:"workBKLoading"}],staticClass:"workBK"},[t.$isMobile?e("section",{staticClass:"workMain"},[e("h3",[t._v(t._s(t.$t("work.WorkOrderManagement")))]),e("el-tabs",{staticStyle:{width:"100%"},on:{"tab-click":t.handleElTabs},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{staticClass:"pendingMain",attrs:{label:t.$t("work.pendingProcessing"),name:"pendingProcessing"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from1,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage1,"page-sizes":t.pageSizes,layout:"sizes, prev, pager, next",total:t.totalLimit1},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage1=e},"update:current-page":function(e){t.currentPage1=e}}})],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.pending"),name:"pending"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from2,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage2,"page-sizes":t.pageSizes,layout:" sizes, prev, pager, next",total:t.totalLimit2},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage2=e},"update:current-page":function(e){t.currentPage2=e}}})],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"Finished"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from10,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage10,"page-sizes":t.pageSizes,layout:" sizes, prev, pager, next",total:t.totalLimit10},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage10=e},"update:current-page":function(e){t.currentPage10=e}}})],1)])]),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"all"}},[e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("work.WorkID")}},[t._v("ID")]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.status")))]),e("span",{attrs:{title:t.$t("work.submissionTime")}},[t._v(t._s(t.$t("work.operation")))])]),e("div",{staticClass:"rollContentBox"},[e("el-collapse",{attrs:{accordion:""}},t._l(t.from0,(function(a){return e("el-collapse-item",{key:a.id,attrs:{name:a.id}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[t._v(t._s(a.id))]),e("span",[t._v(t._s(t.$t(t.handelStatus2(a.status))))]),e("span",{on:{click:function(e){return t.handelDetails(a)}}},[t._v(" "+t._s(t.$t("work.details")))])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("work.submissionTime"))+":")]),e("p",[t._v(t._s(t.handelTime(a.date)))])])]),e("div",{attrs:{id:"hash"}},[e("p",[t._v(t._s(t.$t("work.mailbox"))+": ")]),e("p",[t._v(t._s(a.email))])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage0,"page-sizes":t.pageSizes,layout:"sizes, prev, pager, next",total:t.totalLimit0},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage0=e},"update:current-page":function(e){t.currentPage0=e}}})],1)])])],1)],1):e("section",{staticClass:"workBKContent"},[e("el-row",{staticStyle:{"margin-bottom":"18px"}},[e("el-col",{staticStyle:{display:"flex","align-items":"center"},attrs:{span:24}},[e("h2",[t._v(t._s(t.$t("work.WorkOrderManagement")))]),e("i",{staticClass:"i ishuaxin1 Refresh"})])],1),e("el-tabs",{on:{"tab-click":t.handleElTabs},model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-tab-pane",{attrs:{label:t.$t("work.pendingProcessing"),name:"pendingProcessing"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from1,"max-height":"550",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0,width:"230"}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("work.confirmClose")},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"small"},slot:"reference"},[t._v(t._s(t.$t("work.close")))])],1)]}}])})],1),e("el-row",{staticStyle:{"margin-top":"20px","margin-bottom":"10px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage1,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit1},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage1=e},"update:current-page":function(e){t.currentPage1=e}}})],1)],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.pending"),name:"pending"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from2,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID"),width:"150"}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0,width:"230"}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime"),width:"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status"),width:"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"150"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("work.confirmClose")},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"small"},slot:"reference"},[t._v(t._s(t.$t("work.close")))])],1)]}}])})],1),e("el-row",{staticStyle:{"margin-top":"15px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage2,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit2},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage2=e},"update:current-page":function(e){t.currentPage2=e}}})],1)],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.completeWK"),name:"Finished"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from10,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")])]}}])})],1),e("el-row",{staticStyle:{"margin-top":"15px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage10,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit10},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage10=e},"update:current-page":function(e){t.currentPage10=e}}})],1)],1)],1),e("el-tab-pane",{attrs:{label:t.$t("work.allWK"),name:"all"}},[e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none"},attrs:{"header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},data:t.from0,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"id",label:t.$t("work.WorkID")}}),e("el-table-column",{attrs:{prop:"email",label:t.$t("work.mailbox"),"show-overflow-tooltip":!0,width:"230"}}),e("el-table-column",{attrs:{prop:"date",label:t.$t("work.submissionTime")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(t.handelTime(a.row.date)))])]}}])}),e("el-table-column",{attrs:{prop:"status",label:t.$t("work.status")},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(" "+t._s(t.$t(t.handelStatus2(a.row.status)))+" ")])]}}])}),e("el-table-column",{staticStyle:{"text-align":"left !important"},attrs:{fixed:"right",label:t.$t("work.operation"),"min-width":"80"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("el-button",{attrs:{type:"text",size:"small"},on:{click:function(e){return t.handelDetails(a.row)}}},[t._v(" "+t._s(t.$t("work.details"))+" ")]),"10"!==a.row.status?e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("work.confirmClose")},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"small"},slot:"reference"},[t._v(t._s(t.$t("work.close")))])],1):e("el-popconfirm",{attrs:{"confirm-button-text":"确认","cancel-button-text":"取消",icon:"el-icon-info","icon-color":"red",title:"确定关闭此工单吗?"},on:{confirm:function(e){return t.handelCloseWork(a.row)}}},[e("el-button",{staticStyle:{"margin-left":"18px",border:"none",background:"transparent",width:"50px"},attrs:{slot:"reference",size:"small"},slot:"reference"})],1)]}}])})],1),e("el-row",{staticStyle:{"margin-top":"15px"},attrs:{type:"flex",justify:"center"}},[e("el-col",{attrs:{span:10}},[e("el-pagination",{attrs:{"current-page":t.currentPage0,"page-sizes":t.pageSizes,layout:"total, sizes, prev, pager, next, jumper",total:t.totalLimit0},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage0=e},"update:current-page":function(e){t.currentPage0=e}}})],1)],1)],1)],1)],1)])},e.Yp=[]},89413:function(t,e,a){Object.defineProperty(e,"B",{value:!0}),e.A=void 0,a(44114);var i=a(47149),s=a(49704),n=a(6803),r=a(82908);e.A={data(){return{loginForm:{email:"",password:"",resetPwdCode:"",newPassword:""},loginRules:{email:[{required:!0,trigger:"blur",message:this.$t("user.inputEmail"),type:"email"}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],newPassword:[{required:!0,trigger:"blur",message:this.$t("user.confirmPassword2")}],resetPwdCode:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}],gCode:[{required:!0,trigger:"change",message:this.$t("personal.gCode")}]},radio:"zh",btnDisabled:!1,bthText:"user.obtainVerificationCode",time:"",loginLoading:!1,accountList:[],newPassword:"",securityLoading:!1,isItBound:!1,countDownTime:60,timer:null,lang:"zh"}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("Reset_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("Reset_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again")},watch:{"$i18n.locale":function(){this.translate()}},mounted(){this.lang=this.$i18n.locale,this.radio=localStorage.getItem("lang")?localStorage.getItem("lang"):"en"},methods:{translate(){this.loginRules={email:[{required:!0,type:"email",trigger:"blur",message:this.$t("user.inputEmail")}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],newPassword:[{required:!0,trigger:"blur",message:this.$t("user.confirmPassword2")}],resetPwdCode:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}],gCode:[{required:!0,trigger:"change",message:this.$t("personal.gCode")}]}},async fetchIfBind(t){this.securityLoading=!0;const e=await(0,n.getEmailIfBind)(t);if(e&&200===e.code){e.data?this.isItBound=!0:e.data||(this.isItBound=!1),this.fetchResetPwdCode({email:this.loginForm.email}),this.time=60;let t=setInterval((()=>{this.time?(this.time--,this.btnDisabled=!0,this.bthText="user.again"):(this.btnDisabled=!1,this.bthText="user.obtainVerificationCode",this.time="",clearTimeout(t))}),1e3)}this.securityLoading=!1},async fetchResetPwd(t){const e=await(0,i.getResetPwd)(t);if(e&&200==e.code){this.$message({message:this.$t("user.modifiedSuccessfully"),type:"success",showClose:!0});for(const t in this.loginForm)this.loginForm[t]="";this.$router.push(`/${this.lang}/login`)}},async fetchResetPwdCode(t){const e=await(0,i.getResetPwdCode)(t);e&&200==e.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},handelCode(){const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.loginForm.email);this.loginForm.email&&e?(this.fetchResetPwdCode({email:this.loginForm.email}),null==window.sessionStorage.getItem("Reset_time")||(this.countDownTime=Number(window.sessionStorage.getItem("Reset_time"))),this.startCountDown()):this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0})},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("Reset_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("Reset_time",this.countDownTime))}),1e3)},handelJump(t){const e=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${this.lang}/${e}`)},handelRadio(t){const e=this.lang;this.lang=t,this.$i18n.locale=t,localStorage.setItem("lang",t);const a=this.$route.path,i=a.replace(`/${e}`,`/${t}`);this.$router.push({path:i,query:this.$route.query}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)}))},submitForm:(0,r.Debounce)((function(){this.$refs.ruleForm.validate((t=>{if(t){if(this.loginForm.userName=this.loginForm.email.trim(),this.loginForm.password=this.loginForm.password.trim(),this.loginForm.newPassword=this.loginForm.newPassword.trim(),this.loginForm.password!==this.loginForm.newPassword)return void this.$message({message:this.$t("user.confirmPassword2"),type:"error",customClass:"messageClass",showClose:!0});const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.loginForm.email);if(!e)return void this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0});const a=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,i=a.test(this.loginForm.password);if(!i)return void this.$message({message:this.$t("user.PasswordReminder"),type:"error",showClose:!0});let n={email:this.loginForm.email,password:this.loginForm.password,resetPwdCode:this.loginForm.resetPwdCode};const r={...n};r.password=(0,s.encryption)(n.password),this.fetchResetPwd(r)}}))}),200),handleClick(){this.$router.push(`/${this.lang}`)}}}},92279:function(t,e,a){Object.defineProperty(e,"B",{value:!0}),e.A=void 0,a(44114);var i=a(47149),s=a(49704);e.A={data(){return{registerForm:{password:"",email:"",emailCode:"",confirmPassword:""},registerRules:{userName:[{required:!0,trigger:"blur",message:"请输入您的账号"},{min:3,max:16,message:"用户账号长度必须介于 3 和 16 之间",trigger:"blur"}],email:[{required:!0,trigger:"blur",message:this.$t("user.emailVerification"),type:"email"}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")},{min:8,max:32,message:this.$t("user.passwordVerification"),trigger:"blur"}],confirmPassword:[{required:!0,trigger:"blur",message:this.$t("user.secondaryPassword")}],emailCode:[{required:!0,trigger:"blur",message:this.$t("user.inputCode")}]},radio:"zh",loading:!1,codeParams:{email:""},btnDisabled:!1,bthText:"user.obtainVerificationCode",time:"",registerLoading:!1,countDownTime:60,timer:null,lang:"zh"}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("register_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("register_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again")},watch:{$route(t){const e=t.path.match(/^\/(zh|en)(\/|$)/);e&&(this.radio=e[1],this.lang=e[1],this.$i18n.locale=e[1],localStorage.setItem("lang",e[1]))},"$i18n.locale":function(){this.translate()}},mounted(){const t=this.$route.path,e=t.match(/^\/(zh|en)(\/|$)/);e?(this.radio=e[1],this.lang=e[1],this.$i18n.locale=e[1],localStorage.setItem("lang",e[1])):(this.radio=localStorage.getItem("lang")||"en",this.lang=this.radio,this.$i18n.locale=this.radio);for(const a in this.registerForm)this.registerForm[a]=""},methods:{handelJump(t){const e=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${this.lang}/${e}`)},translate(){this.registerRules={userName:[{required:!0,trigger:"blur",message:this.$t("user.inputAccount")},{min:3,max:16,message:"用户账号长度必须介于 3 和 16 之间",trigger:"blur"}],email:[{required:!0,trigger:"blur",message:this.$t("user.emailVerification"),type:"email"}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")},{min:8,max:32,message:this.$t("user.passwordVerification"),trigger:"blur"}],confirmPassword:[{required:!0,trigger:"blur",message:this.$t("user.secondaryPassword")}],emailCode:[{required:!0,trigger:"blur",message:this.$t("user.inputCode")}]}},async fetchRegisterCode(t){const e=await(0,i.getRegisterCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.verificationCodeSuccessful"),type:"success",showClose:!0})},handelCode(){this.codeParams.email=this.registerForm.email;const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.codeParams.email);this.codeParams.email&&e?(this.fetchRegisterCode(this.codeParams),null==window.sessionStorage.getItem("register_time")||(this.countDownTime=Number(window.sessionStorage.getItem("register_time"))),this.startCountDown()):this.$message({message:this.$t("user.emailVerification"),type:"error",showClose:!0})},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("register_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("register_time",this.countDownTime))}),1e3)},goLogin(){this.$router.push(`/${this.lang}/login`)},handelRadio(t){const e=this.lang;this.lang=t,this.$i18n.locale=t,localStorage.setItem("lang",t);const a=this.$route.path,i=a.replace(`/${e}`,`/${t}`);this.$router.push({path:i,query:this.$route.query}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)}))},handleRegister(){this.$refs.registerForm.validate((t=>{if(t){this.loading=!0;const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let e=t.test(this.registerForm.email);if(!this.registerForm.email||!e)return void this.$message({message:this.$t("user.emailVerification"),type:"error",showClose:!0});const a=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,n=a.test(this.registerForm.password);if(!n)return void this.$message({message:this.$t("user.passwordFormat"),type:"error"});this.registerLoading=!0;const r={...this.registerForm};r.password=(0,s.encryption)(this.registerForm.password),r.confirmPassword=(0,s.encryption)(this.registerForm.confirmPassword),(0,i.getRegister)(r).then((t=>{this.registerForm.userName;200==t.code&&this.$alert(`${this.$t("user.congratulations")}`,`${this.$t("user.system")}`,{dangerouslyUseHTMLString:!0}).then((()=>{this.$router.push(`/${this.lang}/login`)})).catch((()=>{}))})).catch((()=>{this.loading=!1,this.captchaOnOff})),this.registerLoading=!1}}))},handleClick(){this.$router.push(`/${this.lang}`)}}}},92879:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(79320),s=a(99398),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"2552dbca",null),l=o.exports},96909:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(41879),s=a(42251),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"40d264bd",null),l=o.exports},99398:function(t,e,a){var i=a(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var s=i(a(72938));e.A={mixins:[s.default]}},99675:function(t,e,a){a.r(e),a.d(e,{__esModule:function(){return s.B},default:function(){return l}});var i=a(75904),s=a(92279),n=s.A,r=a(81656),o=(0,r.A)(n,i.XX,i.Yp,!1,null,"45513616",null),l=o.exports}},e={};function a(i){var s=e[i];if(void 0!==s)return s.exports;var n=e[i]={id:i,loaded:!1,exports:{}};return t[i].call(n.exports,n,n.exports,a),n.loaded=!0,n.exports}a.m=t,function(){a.amdO={}}(),function(){var t=[];a.O=function(e,i,s,n){if(!i){var r=1/0;for(d=0;d=n)&&Object.keys(a.O).every((function(t){return a.O[t](i[l])}))?i.splice(l--,1):(o=!1,n0&&t[d-1][2]>n;d--)t[d]=t[d-1];t[d]=[i,s,n]}}(),function(){a.d=function(t,e){for(var i in e)a.o(e,i)&&!a.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){a.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){a.p="/"}(),function(){var t={531:0,562:0};a.O.j=function(e){return 0===t[e]};var e=function(e,i){var s,n,r=i[0],o=i[1],l=i[2],c=0;if(r.some((function(e){return 0!==t[e]}))){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(l)var d=l(a)}for(e&&e(i);c{let e=localStorage.getItem("token");this.token=JSON.parse(e);let t=localStorage.getItem("accountList");this.accountList=JSON.parse(t);let i=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(i);let n=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(n);let o=localStorage.getItem("currencyList");this.currencyList=JSON.parse(o);let s=localStorage.getItem("activeItemCoin");this.activeItem=JSON.parse(s);let a=localStorage.getItem("userEmail");this.userEmail=JSON.parse(a),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1})),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1,document.addEventListener("click",(function(){const e=document.querySelector(".dropdown"),t=document.querySelector(".arrow");try{e.classList.contains("show")&&(e.classList.remove("show"),t.classList.remove("up"))}catch(i){console.log(i)}}))},methods:{toggleDropdown(e){if(!e)return;const t=e.currentTarget,i=t.querySelector(".dropdown"),n=t.querySelector(".arrow");i&&(i.classList.toggle("show"),n?.classList.toggle("up"))},changeMenuName(e,t){if(!e)return;e.stopPropagation();const i=document.getElementById("menu1");if(!i)return;this.activeItem=t;const n=i.querySelector(".dropdown"),o=i.querySelector(".arrow");n?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t))},handelDarkMode(){},async fetchAccountGradeList(){const e=await(0,n.getAccountGradeList)();this.miningAccountList=e.data,this.$addStorageEvent(1,"miningAccountList",JSON.stringify(this.miningAccountList))},async fetchAccountList(e){const t=await(0,o.getAccountList)(e);t&&200==t.code&&(this.accountList=t.data,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)))},async fetchUserid(e){try{const t=await getUserid(e);t&&200==t.code&&(this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)))}catch(t){throw console.error("获取用户ID失败:",t),t}},async fetchSignOut(){const e=await(0,n.getLogout)();if(e&&200==e.code){await this.$store.dispatch("logout");const e=this.$i18n.locale;this.fetchUserid({email:this.userEmail}),this.$router.push(`/${e}`)}},handleDropdownClick(){this.isDropdownVisible=!0},handleCommand(e){},handleSelect(){},handelLogin(){this.isLogin=!0;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},handelRegister(){const e=this.$i18n.locale;this.$router.push(`/${e}/register`)},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){try{const t=this.$i18n.locale;if("personalCenter"===e)return void this.$router.push(`/${t}/personalCenter/personalMining`).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}));const i=`/${t}${"/"===e?"":"/"+e}`;this.$router.push(i).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t),this.$message.error(this.$t("common.navigationError"))}},handelJumpAccount(e,t,i){const n=this.$i18n.locale;let o={ma:t.account,coin:i,id:t.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(o)),this.$router.push({path:`/${n}/miningAccount`,query:{ma:t.account+i}}),this.isDropdownVisible=!1},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handelSignOut(){localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("userName"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1}}}},950:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACKCAYAAABW3IOxAAAAAXNSR0IArs4c6QAAElhJREFUeAHtnXuQHMV9x7tndvdOQkgCWZKxkITEQ5YB87AVCT9iEqgyTsXlyA42QVRcScXYzvOPkKeJLSrOy8RVxMSVBNuVqrhIxS7KJk5BKlWpQKiKX4hgwOII6CzLAk6H0Pt0e/uY6Xx+p7vT3Gl2b2e3Z2d2t7vqdzuP7l//+tvf6+75dU+PVi5kioAxZl01UDtMEG43Wu/AmOuUUYeVVqNKmVGjvX2+HAdqX6mkfqS1Pp2pwQkz1wnju+gdIACZlpTr6npU7FChETIh5uJkKvWYPkO+fUp7oyZUowWt9hWLahTyHU2mK/3YjmApYjxlzGWmSuukQ4iktwP2NZCsmFqWWh9D96hWZp+nvb2lgvompNubWn4tKHYEawGkVqJAnBWVutpmZlono2mdjFnVSlqbcTytnynSpHlaXYPeV5F3QLIDNvNIossRLAlaM3Ehk1etqitDIZGidTKMnbTayvVM8IRAZQj1dNHXF9N9blhQpBc4f2dW3WcmgCwAIPenEGdNJVDbGYhDpOmB+DaunZ+14VrpV31fjxb96dZqeRN7vs29m4WITeKkcssRbAGsEKdUq6lrQ7o6M9M6GWU2LYiW6Snd4HO+p8sFX70dQ7wWjfkW8T4IyYIW41uJNvAEKxuzUQbiSocMwqdbp+sh2ZAVdC0qgRhVur8nS75+A79b2lT9AHo+3mbatpINHMEgz/JKqH7ZmPBtJtA3J3cTtIVz+4m0PsyYfS8D9ytRsrp9RXMpd0Oye+bOUj4YOIJNVsJvQKqdgitAh8aocQbIr/P0d4pLNbmMDOPsXKk9tSYMzUrOux6wbaTg6SN0g9vI3HaLeif6v9SNQg0UwSZr5ndVGP51EmCpiJPEH4OAxwFLBskyhilyvozBzyp+L5JxWxKdjeKSl+j+Xqmgl0D66xrFs3Bd8tlJfv9mQVdTFQNDMMj1Tm3M45Ch0BSRhDeppBqtnXjXZXrnlApV1TAKxwe2hHsreEBYw/015NsYazzwdIM/KBT0ZURa6GZIaFHL0eWf5SZs/E7LKdqI2LjQbSjLaxIqd3W5ap6ma1yXiY2MowB6nLyPQbZJ7dE1Kzz6Ri2hG6zMdINZuD2OYNO7IJn4ylIJfU8wyOVN1cx/8MuAPj+BSq0PFabnFddnbNUB8r8Be8bSsKNVH0oaeXdF51Q13J03cknB8WM9TUeaNbnElI3Iv4NRM0etxGsr9HULRsv1XoAT8HJVToZozw8V9VvaqrH0Ej2G6ltoyao2s+jbFmzSmPX4IB7MG7mowIlSUa+xWYmWdP0Mev7JNl59STBAKqqa+XoWqxkWq+yCr1+iOX3DYvEyuv8R8r3bZt59SbByDV+XmV7QZxOrjnUx7tpT8FL1b3VsIwq22lAyq6PvCDZZMbfy+P/bswXMz68ew4FqtfLyU7bGlvQVwVhBeoXW5iuNi5vNHcZdhkH9cXI/LxsLssu1bwjGuGuJqZmH+M3CYdm0Bnlp49tM/Qxc6yWgWJ02aYpyyjenauHfMXF9dcrZJFZP6/UiKyG2J07YJwn6ogVjGujXINdH81YnkGuKrlFWQvTNP3JSjHueYNWquZY5xvuTFrwb8Zln3INLQjzlAxt6n2BBeBdPjaxm0CZPtYg9e5jEfleebMrClp5vuk9Vwl1CLqZf9nuePljy1YTvqxKku4iB9eUM+m0v1lu8nrR+fbioB7rlmgWp5wkmBYFEOjBmcxCqzbX6bNFkaao+4fvmh3RVRwu+Z3iau5CLl5LggrOx7B/h7xpF68AO7KOI9gXBogWKHrPmakU9UG+rB/SetWD6Fq1dQEv3Eu8QjtHCVYueWso4aT1xraxsQPcTEPmno3YM8nFfEyyuYmnt/CAwlweBujx6n0WARwqe9+OCF55kOodDbzXE20z8lpdD02LuZ42X7D3hwgwCA0ewRjVvQrOqFgar5K2PMyGQl0JqdK//xxzi6wzYA1qmFazhugTSrZiNNfsrcSHXBOebZq+53wH2z7RS+RCpWAvMFnrXLdPvG80kohscLxW8l30dln3PG+ZR/E2QcATy3dSK3kGK41qwNmqbV9nWTlWDtWeSnhnbrT6/kNclOG2U0F6SnveD2YOiY03unzUGQkewGFDcJXsIOILZw9JpikHAESwGFHfJHgKOYPawdJpiEHAEiwHFXbKHgCOYPSydphgEHMFiQHGX7CHgCGYPS6cpBgFHsBhQ3CV7CDiC2cPSaYpBwE1vxIAy4Jd+gUn+V1rA4Ani3CHr65rFdQRrhs5g3ltCsUUWC7cRQbYX/XiziK6LbIaOu7cYAnfS2t3TLJIjWDN03L1WEPg0JPtko4iOYI2QcdeTIPC3kOxDcQkcweJQcdeSIiA8ks3+blyY0BFsISLuvF0E5P3ThyGZfEZwLjiCzUHhDiwgIC/DyJ64cy++OIJZQNWpmIfARZzJtvHT31VyBJuHjTuxhIC8c/ooJJPP7bjgEEgFAfmW5UOOYKlg65TOIHCTI5jjQqoIOIKlCq9T7gjmOJAqAo5gqcLrlDuCOQ6kikBPEww/yw2+7z3FvlynU0XJKW8bgZ5bcAipZDHcLyG/gVy/+owrr16tq2fLNXO0UgtWhopPtmSxN2vb1dC/CdnErzcCxLoUSz+B/Cpy4SJWlys1M1KuhyeqdcP3svWbSe8vkqaj22zfFPqe6ukeoSMA4hPXc00wSCEVdgsirdX7kLbsZYfWE3yc9AW+fltmQ7mLjNJXoLstXdgQGxzBYmHJJ8GofGmhfgX5dWRzrOkdXOSrIIf5OsiLtHB1NgneQH6bOlA3ndQRLBbBfBGMipYNdKW1kjFWKy8exJYq6cXQqJch3GilFupqIIQ2FyfV4QgWi1j2BINUsovzrchvIjtizezyRfbb38cDw0E+sFXgeAs2LvoJZEew2ErKjmBU2gZMkleePoZMrx2KNTH7i2EtVCO0cIdo4ZaGodrKnvorF5rlCLYQkenz7hMMYt1M1tINvh9J9cluuoj2/9T4msjeybo5DOFWmFBdCeHOcwSLBbo7BINUy8n+o4gQa0usKb17cbJSV4+VCurneCy1+mTau5DMWZ4uwSDWVWQlpLoDWTaXbf8cvERR5FPJ2/qnSFZLUrfuyYdUonMnIsR6j1Vz86PsJ5jyMnID4lqtJvViDRyIJYv975yRNzXJs5dvjWO8tFrytGv9n7OXgWlg+2sdEwxivRvl0lp9ECk2yKjXL0s3+CwiXWHX/HM9DNppbL8PubdtgkGsN/INn78s+upnUbS+h8FoZroAtQe5DpEHFReaI1Dl9j8gn2Vbp9ckatsEK1eDrzHl8mEUhSj5AR+D4qOf6gp0in+r14MA9T1kK+K+QbR4bcoeYV9FdsOHA9HobRFsqm7eFwbho1FFcoxymUF+Zubzd/Ju3MaFcXJ+HmLfd5FLkH4dR1I0q+EbaLubuh+J05qYYHSNS6eqZi/OxUviFM5emyHbs0I2vqF9KRk1jT+bLsPf75P3amRThjb0Utb/ibF/RD3LEKJhSEywqUpwL//mdzXUGHNDyMaSmef4uOdhutG8ke1pTF6K9JsDOKYmrFySoYMQ67FWtCUiWLVqrgmU2UMr1tEjOsb9kJZtHLJtwgDry3FaKThx9iIydnhri/EHPZrgJV3hw0mAaJlgkMpjhcF3WIr8U0kyWCwuBu+dIdslXSLbPmwSt4O82u7C4gjsJ8pnkAepKxmjJgotE4xx12+FJvxCIu0JI1OAEcg2Rsu2EcNkibTNcBBlryDbkZbLbdOAHtN1CHs/izxAvZz9lHnCQrQENK3XOpYcj/B7fkL9bUenUPIx9lch24YOySb+GPG+C7E66trbLkxvJZTW/XPI31AHk52a3hLBJishj6JG5hczCRT0Rcj2CmRbj8GXtWiEAPUcsg0ZbjHNIEcTMkkP9VfgLdhZCYsSrFI3HwiC8GEruVlQQuH3QbaDBQ+y6ViyCVBPIdciXWtxLRQtKxXS/T2AiPddukWroSnB6BKXMfZ6Hp9XLqeCeOF2lFfFDhZ8vQ6ybQQZ8WWJ932VVZT6U5kM2B9EPgOxZCCfSmhKsMlqcJ8y6ndSydmiUgAKhor6dQqz1qLaflb1rxTuU+AmrodUQ0OC4fN6Oz6v79KK5X5Zs+/rl0u+TvwmUKrI5lP5f2HWH0MscZZ2JcQSTEiFz+tJfF6yiiDXAbAmhou6H1fL2sT9SZQJsWR6p6sh9rG9XKdb7AFyCVJFv30fTVeRziYzmYAW77tMSGcSzmnByvI6WY2BvTHnZWJRgkw1c5vDBb06QZJBiXqAgu5Gvgq5ZDoss3BOC2aq5ov4vHJPLkGMcZds/O/CWQTEqfxnyN9DLFnTlnmYRzB8Xr+Iz+vnM7eqBQM8Tx/ytHpjC1EHIcoJCnkvch/EOp2nAs91kXSJK3h7mT57+uWNPNl4ji2AWMMtUZwz/pwYA3OhTEnvR8T7fjSPpZ5rwdiH4S8wUN4Myn3Ai38Kcl2Ye0PTM1C8719B/hRivZpeNp1rnm4E8HntwOf1P7RiXucq09UAoCdxSyxPN5fcajdY9i/In4DDaG6tjBhWgFQFVko80AvkErtxSwxF7B+kw/+msHdBrKZLlPMGiDdVV3dBrqvzZlicPbgljjD3OGgEE1/WByDWjb1GLqlDjy3+buR1oCNxFZqna4Brhnw9SJPYsrLhE8jVlP1beaqLJLboseM1tizV1VLB+9+SH0762mM1Qv6eJFkxcYzu8YIkhevRuOJm+DzyOYiVK5dDO3ieIVgkJYUKqcxn8JAfw890GWTbELmdySE2VRjY93vXKB73f0RkAG99XVYmFUem5xBsoSG4BEaGCvpQ0ffWsy4MwnU/FAteGTuWdD/nruX4CDn9PsR6vms5dimjRQkWtcMvePuHff0TXqRdw5uOsrAv9eBpfQqnar+uTH0KAOXJ8PHUgcwog0QEi9rIVM3YkqLH8mVzASR4S1pujqGiZ+iq+81p/2OwvBv5Z8glvq2+DW0TLIqI53tHadle4KWMpZDhKvGtRe+3e8za+xOlQl9NaB8Diz9H7odYlXZx6aV0VggWLTBPoRNF34yUitBOs0Fum98MogJCxn40jlHtPXssKxu+iMjUjpBsYIJ1gkWRgx7VkqefZ1lNnXHbVsjW8jIgnmQncUssjerrwWPp/r6OyF4O+3vQ/o5NTpVgUeukRYIwI7gbJmnZ5FtBDddyEXeKeMPR9D14LFM7v0dZnuxB262Z3DWCLbQYx+5LeOaPez6bnxgzz0PPvYApody/bLKwTDPnMrXzhxCrZ73vDcrV1uXMCBa1tljQB0u+GmfItR7CLWPs1XJXGtWT8bE4R+9BvgS5Ml2mnDEO87LPBcGiFp0/7KvzhnpqZD87tXMvxJqIlsUd53AzEGYLqJeeIFhfTu3Y/qew4q+ybVQP6OvbqR3b2DuCJUNUpnbkyfCxZMkGN3bul0jnpGoOYMcdyDZHrmQ14lqw5njJPlkytfMFiDUQUzvN4Uh+1xEsHrPZqR3ZMyuXr4PFm52/q45g8+tk4Kd25sPR+Zkj2FkMn+BQ1mYN9NTOWTjsHDmCKfUCUP4BxHJTO3Y4NU/LID9FjoPEJ5GrHLnmccLqySC2YG5qxyqFmisrsBp5gumZQdghcHZq59O0WGPNYXF3bSHgrV3hrwXwXcgjSNtfdLBlUEp6HkXvNZTvY4gjV0ogx6mdN6t88qRZVQ7DDxsd7mLC+R0sCpx3P06B7WvLhj3W61gbGrqpHdsVlFBfQwIdK5uNlUp4u1Lh7TiHrkqot+3olggmUzufQvr+rZ22ge5SwoYEi+Y/PmHequr1XaHSt6X9pneHBHNTO9GKy8FxSwSbtVO6zMMT6t2hCW7nC6O3stTZ+iZwbRLMTe3MVlLOfhMRLGo7ZCuOnwpuYX3gLsj2flo2K28AJSTY7NSO7AH/o6h97jgfCLRNsKj5r/FNI3My2MnHb3ah8GbI1/YLGwkIJlM7sjbr+1Fb3HG+ELBCsGiRDp0ya1QYfmT64cCoHdF7rRy3QDA3tdMKkDmJY51g0XKNHzebcXnwFIrbw6g3R+81Om5CMJna2Y18mVar3ii9u54vBFIlWLSoh0+b6+u1+u3MHNzGzMG66L3ocQzB5PuPn0dkQzb31k4UrB447hrBZrFgfOYdmqi/RwcaZ676EGRbOXtPfiMEc1M7UWDccXIEINvQ+Mn6zrHj9YfGTtTLsp3nqamAy+YR5MrkGl0Kh0ADBI4Ys/zUVPj4sdPBPQ2iuMsOAYeAQ2A+Av8Pby5Qwk3kUm8AAAAASUVORK5CYII="},1652:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.addDocument=a,t.deleteDocument=r,t.documentsList=c,t.findDataInfo=l,t.getListDataByPage=s,t.updateDocument=d;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/documents/getListDataByPage",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/documents/addDocument",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/documents/deleteDocument",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/documents/findCatalogueDocumentList",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/documents/findDataInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"manage/documents/updateDocument",method:"post",data:e})}},1708:function(e,t,i){e.exports=i.p+"img/高度资源 26.2af0541e.svg"},1717:function(e,t,i){e.exports=i.p+"img/接入矿池.57f89e2c.svg"},3832:function(e,t,i){e.exports=i.p+"img/profit.adb6726b.svg"},4940:function(e,t,i){e.exports=i.p+"img/menu.5760bd15.svg"},4946:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getUserDetails=r,t.getUserLineChart=c,t.getUserList=s,t.getUserOnlineStatus=l,t.sendMail=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/user/list/info",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/user/send/text/mail/message",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/user/get/user/info",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/user/getMiningPowerInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/user/getMinerUserOnlineStatus",method:"post",data:e})}},6006:function(e,t,i){e.exports=i.p+"img/logointop.60501418.svg"},6803:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountList=c,t.getAddBalace=s,t.getAddMinerAccount=a,t.getBindCode=f,t.getBindGoogle=g,t.getBindInfo=p,t.getCheck=h,t.getCheckAccount=d,t.getCheckBalance=u,t.getCloseCode=y,t.getCloseStepTwo=v,t.getDelMinerAccount=r,t.getEmailIfBind=w,t.getIfBind=m,t.getMinerAccountBalance=l,t.getUpdatePwd=b,t.getUpdatePwdCode=C;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/addBalance",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/addMinerAccount",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/delMinerAccount",method:"Delete",data:e})}function c(e){return(0,o.default)({url:"pool/user/getAccountList",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/user/getMinerAccountBalance",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/user/checkAccount",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/user/checkBalance",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/user/check",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/user/ifBind",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/user/getBindInfo",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/user/bindGoogle",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/user/getBindCode",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/user/getCloseCode",method:"post",data:e})}function v(e){return(0,o.default)({url:"pool/user/closeStepTwo",method:"post",data:e})}function w(e){return(0,o.default)({url:"pool/user/emailIfBind",method:"post",data:e})}function b(e){return(0,o.default)({url:"auth/updatePwd",method:"post",data:e})}function C(e){return(0,o.default)({url:"auth/updatePwdCode",method:"post",data:e})}},8292:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114);var o=n(i(91774)),s=i(47149);t.A={computed:{key(){return this.$route.path}},components:{comAside:()=>Promise.resolve().then((()=>(0,o.default)(i(17623))))},data(){return{filters:{emailOrOrderNo:"",status:"",minAmount:null,maxAmount:null,dateRange:[]},activeTab:"all",tableData:[{index:1,email:"user@example.com",orderNo:"20230601001",type:"技术支持",machineCode:"K9-001",createTime:"2023-06-01",fault:"无法启动",status:"处理中",amount:844.01}],totalAmount:844.01,userEmail:null}},mounted(){let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e})),window.addEventListener("online",this.handleNetworkChange)},methods:{async fetchSignOut(){const e=await(0,s.getLogout)();e&&200==e.code&&await this.$store.dispatch("logout")},handelSignOut(){const e=this.$i18n.locale;this.$router.push(`/${e}/login`),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.fetchSignOut()},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handleNetworkChange(){navigator.onLine&&location.reload()}},beforeDestroy(){window.removeEventListener("online",this.handleNetworkChange)}}},8643:function(e,t,i){var n=i(91774)["default"],o=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);var s=o(i(91774)),a=i(84403),r=n(i(3574)),c=i(82908);t.A={name:"AppMain",components:{comHeard:()=>Promise.resolve().then((()=>(0,s.default)(i(13904))))},computed:{key(){return this.$route.path}},data(){return{activeName:"second",option:{...a.line},option2:{...a.line},powerDialogVisible:!1,minerDialogVisible:!1,currentPage:1,currency:"mona",currencyPath:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",currencyList:[{value:"grs",label:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png"},{value:"mona",label:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png"},{value:"dgb_skein",label:"dgb-skein-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit",label:"dgb-qubit-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo",label:"dgb-odocrypt-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb2_odo",label:"dgb-odocrypt-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit_a10",label:"dgb-qubit-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_skein_a10",label:"dgb-skein-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo_b20",label:"dgb-odoscrypt-pool3",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"}],scrollTop:0,isLogin:!0,bthText:"English",miningAccountList:[{title:"grs",coin:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"mona",coin:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"dgb-skein-pool1",coin:"dgb_skein",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]}],activeItemCoin:{coin:"nexa",imgUrl:(0,c.getImageUrl)("/img/nexa.png")},lang:"zh"}},created(){},mounted(){this.lang=this.$i18n.locale,window.scrollTo(0,0);let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t)}))},methods:{jumpPage(){const e=this.$i18n.locale;this.$router.push(`/${e}/ServiceTerms`)},jumpPage1(){const e=this.$i18n.locale;this.$router.push(`/${e}/apiFile`)},jumpPage2(){const e=this.$i18n.locale;this.$router.push(`/${e}/rate`)},jumpPage3(e){console.log(e,1366565);const t=this.$i18n.locale;if("/AccessMiningPool"===e){const e=this.currencyList.find((e=>e.value===this.activeItemCoin.value));if(!e)return;let t=e.path.charAt(0).toUpperCase()+e.path.slice(1);console.log(t,1366565,e);this.$router.push({name:"AccessMiningPool",params:{coin:this.activeItemCoin.value,imgUrl:this.activeItemCoin.imgUrl},replace:!1})}else{let e=`/${t}/AccessMiningPool`;this.$router.push(e)}},jumpPage4(){const e=this.$i18n.locale;this.$router.push(`/${e}/submitWorkOrder`)},handleCommand(e){},handleScroll(e){"/"==this.$route.path&&(this.scrollTop=e.target.scrollTop,this.scrollTop>=300?(this.$refs.head.style.backgroundColor="#FFF",this.$refs.head.style.position="fixed",this.$refs.head.style.top="0"):(this.$refs.head.style.backgroundColor="initial",this.$refs.head.style.position="tatic"))},clickCurrency(e){this.currency=e.label,this.currencyPath=e.imgUrl},handleClick(e,t){console.log(e,t)},handelPower(){this.powerDialogVisible=!0,this.$nextTick((()=>{this.inCharts()}))},handelMiner(){this.minerDialogVisible=!0,this.$nextTick((()=>{this.myChart2=r.init(document.getElementById("minerChart")),this.myChart2.setOption(this.option2)}))},handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log(`当前页: ${e}`)},inCharts(){this.myChart=r.init(document.getElementById("chart")),this.myChart.setOption(this.option)},handelLogin(){this.isLogin=!0,this.$router.push("/login")},handelRegister(){this.$router.push({path:"/register"})},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){this.$router.push({path:e})},handelLang(){const e=this.$route.path,t=this.$i18n.locale,i="zh"===t?"en":"zh";this.$i18n.locale=i,this.lang=i,this.bthText="zh"===i?"English":"简体中文";const n=e.replace(`/${t}/`,`/${i}/`);this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("路由跳转失败:",e)})),localStorage.setItem("lang",i)}}}},10673:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getApiInfo=l,t.getApiKey=s,t.getApiList=a,t.getDelApi=c,t.getUpdateAPI=r;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/getApiKey",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/getApiList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/updateAPI",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/user/delApi",method:"delete",data:e})}function l(e){return(0,o.default)({url:"pool/user/getApiInfo",method:"post",data:e})}},11427:function(e,t,i){e.exports=i.p+"img/registertop.d405fe96.svg"},11503:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBKendTicket=g,t.getDetails=h,t.getDownloadFile=u,t.getEndTicket=d,t.getPrivateTicket=c,t.getReadTicket=r,t.getReply=m,t.getResubmitTicket=a,t.getSubmitTicket=s,t.getTicketDetails=l,t.getTicketList=p;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/ticket/submitTicket",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/ticket/resubmitTicket",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/ticket/readTicket",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/ticket/getPrivateTicket",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/ticket/getTicketDetails",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/ticket/endTicket",method:"post",data:e})}function u(){return(0,o.default)({url:"pool/ticket/downloadFile",method:"get"})}function h(e){return(0,o.default)({url:"pool/ticket/bk/details",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/ticket/bk/respon",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/ticket/bk/list",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/ticket/bk/endTicket",method:"post",data:e})}},12173:function(e,t){Object.defineProperty(t,"B",{value:!0}),t.A=void 0;t.A={name:"Tooltip",props:{maxWidth:{type:Number,default:120}},data(){return{showTooltip:!1,hideTimer:null,top:0,left:0}},methods:{show(e){clearTimeout(this.hideTimer);const t=e.getBoundingClientRect(),i=t.top+window.pageYOffset,n=t.left+window.pageXOffset,o=t.width;this.showTooltip=!0,this.$nextTick((()=>{const e=this.$refs.tooltip.offsetWidth,t=this.$refs.tooltip.offsetHeight;this.top=i-t,this.left=n-(e-o)/2}))},onShow(){clearTimeout(this.hideTimer),this.showTooltip=!0},onHide(){this.hideTimer=setTimeout((()=>{this.showTooltip=!1}),100)}}}},13904:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(24597),o=i(857),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"2329c878",null),c=r.exports},16712:function(e,t,i){e.exports=i.p+"img/钱包.fbd8a674.svg"},17069:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(38450),o=i(8292),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"5b61c3ca",null),c=r.exports},17623:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(84269),o=i(99047),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"c3955b78",null),c=r.exports},20074:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(i(91774));t.A={components:{comHeard:()=>Promise.resolve().then((()=>(0,o.default)(i(13904)))),appMain:()=>Promise.resolve().then((()=>(0,o.default)(i(97223)))),MoveHead:()=>Promise.resolve().then((()=>(0,o.default)(i(34038)))),BackAdminLayout:()=>Promise.resolve().then((()=>(0,o.default)(i(17069))))},data(){return{jurisdiction:{roleKey:""}}},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))}}},21525:function(e,t,i){e.exports=i.p+"img/安全.225650c3.svg"},22016:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"chat-widget"},["offline"===e.networkStatus?t("div",{staticClass:"network-status"},[t("i",{staticClass:"el-icon-warning"}),t("span",[e._v(e._s(e.$t("chat.networkError")||"网络连接已断开"))])]):e._e(),t("div",{staticClass:"chat-icon",class:{active:e.isChatOpen},attrs:{"aria-label":e.$t("chat.openCustomerService")||"打开客服聊天",tabindex:"0"},on:{click:e.toggleChat,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggleChat.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.toggleChat.apply(null,arguments)}]}},[t("i",{staticClass:"el-icon-chat-dot-round"}),e.unreadMessages>0?t("span",{staticClass:"unread-badge"},[e._v(e._s(e.unreadMessages))]):e._e()]),t("transition",{attrs:{name:"chat-slide"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isChatOpen,expression:"isChatOpen"}],staticClass:"chat-dialog"},[t("div",{staticClass:"chat-header"},[t("div",{staticClass:"chat-title"},[e._v(e._s(e.$t("chat.title")||"在线客服"))]),t("div",{staticClass:"chat-actions"},[t("i",{staticClass:"el-icon-minus",on:{click:e.minimizeChat}}),t("i",{staticClass:"el-icon-close",on:{click:e.closeChat}})])]),t("div",{ref:"chatBody",staticClass:"chat-body"},[0===e.userType?t("div",{staticClass:"guest-notice"},[t("span",{staticClass:"guest-notice-content"},[t("i",{staticClass:"el-icon-info"}),t("span",[e._v(e._s(e.$t("chat.guestNotice")||"游客模式下聊天记录不会保存,")+" "),t("a",{staticClass:"login-link",on:{click:e.handleLoginClick}},[e._v(e._s(e.$t("chat.loginToSave")||"登录"))]),e._v(" "+e._s(e.$t("chat.guestNotice2")||"后即可保存")+" ")])])]):e._e(),"connecting"===e.connectionStatus?t("div",{staticClass:"chat-status connecting"},[t("i",{staticClass:"el-icon-loading"}),t("p",[e._v(" "+e._s(e.$t("chat.connectToCustomerService")||"正在连接客服系统...")+" ")])]):"error"===e.connectionStatus?t("div",{staticClass:"chat-status error"},[t("i",{staticClass:"el-icon-warning"}),t("p",[e._v(" "+e._s(e.connectionError||e.$t("chat.connectionFailed")||"连接失败,请稍后重试")+" ")]),t("div",{staticClass:"error-actions"},[t("button",{staticClass:"retry-button",on:{click:e.handleRetryConnect}},[e._v(" "+e._s(e.$t("chat.tryConnectingAgain")||"重试连接")+" ")]),e.showRefreshButton?t("button",{staticClass:"refresh-button",on:{click:e.refreshPage}},[e._v(" "+e._s(e.$t("chat.refreshPage")||"刷新页面")+" ")]):e._e()])]):[e.hasMoreHistory&&e.messages.length>0?t("div",{staticClass:"history-indicator",class:{"no-more":!e.hasMoreHistory},on:{click:function(t){return t.stopPropagation(),e.loadMoreHistory.apply(null,arguments)}}},[t("i",{staticClass:"el-icon-arrow-up"}),t("span",[e._v(e._s(e.isLoadingHistory?e.$t("chat.loading")||"加载中...":e.hasMoreHistory?e.$t("chat.loadMore")||"加载更多历史消息":e.$t("chat.noMoreHistory")||"没有更多历史消息了"))])]):e._e(),0===e.messages.length&&0!==e.userType?t("div",{staticClass:"chat-empty"},[e._v(" "+e._s(e.$t("chat.welcome")||"欢迎使用在线客服,请问有什么可以帮您?")+" ")]):e._e(),e._l(e.displayMessages,(function(i,n){return t("div",{key:i.id?`msg-${i.id}`:i.isTimeDivider?`divider-${n}-${i.time}`:`sys-${n}-${Date.now()}`},[i.isTimeDivider?t("div",{staticClass:"chat-time-divider"},[e._v(" "+e._s(e.formatTimeDivider(i.time))+" ")]):i.isLoading||i.isSystemHint?t("div",{staticClass:"system-hint"},[i.isLoading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("span",[e._v(e._s(i.text))])]):t("div",{staticClass:"chat-message",class:{"chat-message-user":"user"===i.type,"chat-message-system":"system"===i.type,"chat-message-loading":i.isLoading,"chat-message-hint":i.isSystemHint,"chat-message-history":i.isHistory}},[t("div",{staticClass:"message-avatar"},["system"===i.type?t("i",{staticClass:"el-icon-service"}):t("i",{staticClass:"el-icon-user"})]),t("div",{staticClass:"message-content"},[i.isImage?t("div",{staticClass:"message-image"},[t("img",{attrs:{src:i.imageUrl,alt:e.$t("chat.picture")||"聊天图片"},on:{click:function(t){return e.previewImage(i.imageUrl)},load:function(t){return e.handleImageLoad(i)}}})]):t("div",{staticClass:"message-text",domProps:{innerHTML:e._s(e.formatMessageText(i.text))}})])])])}))]],2),t("div",{staticClass:"chat-footer"},[t("div",{staticClass:"chat-toolbar"},[t("label",{staticClass:"image-upload-label",class:{disabled:"connected"!==e.connectionStatus},attrs:{for:"imageUpload"}},[t("i",{staticClass:"el-icon-picture-outline"})]),t("input",{ref:"imageUpload",staticStyle:{display:"none"},attrs:{type:"file",id:"imageUpload",accept:"image/*",disabled:"connected"!==e.connectionStatus},on:{change:e.handleImageUpload}})]),t("div",{staticClass:"chat-input-wrapper",staticStyle:{display:"flex","align-items":"center"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.inputMessage,expression:"inputMessage"}],staticClass:"chat-input",attrs:{type:"text",maxlength:e.maxMessageLength,placeholder:e.$t("chat.inputPlaceholder")||"请输入您的问题..."},domProps:{value:e.inputMessage},on:{input:[function(t){t.target.composing||(e.inputMessage=t.target.value)},e.handleInputMessage],keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnterKey.apply(null,arguments)}}})]),t("button",{staticClass:"chat-send",on:{click:e.sendMessage}},[e._v(" "+e._s(e.$t("chat.send")||"发送")+" ")])]),e.showImagePreview?t("div",{staticClass:"image-preview-overlay",on:{click:e.closeImagePreview}},[t("div",{staticClass:"image-preview-container"},[t("img",{staticClass:"preview-image",attrs:{src:e.previewImageUrl}}),t("i",{staticClass:"el-icon-close preview-close",on:{click:e.closeImagePreview}})])]):e._e()])])],1)},t.Yp=[]},22327:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=u,t.getHistoryIncome=l,t.getHistoryOutcome=d,t.getMinerAccountInfo=a,t.getMinerAccountPower=s,t.getMinerList=r,t.getMinerPower=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getMinerAccountPower",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getMinerAccountInfo",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getMinerPower",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getHistoryIncome",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getHistoryOutcome",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getAccountPowerDistribution",method:"post",data:e})}},22345:function(e,t,i){e.exports=i.p+"img/home.2a3cb050.png"},22704:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"MoveMain"},[t("header",{staticClass:"headerMove"},[t("img",{attrs:{src:i(87596),alt:"logo"},on:{click:function(t){return e.handelJump("/")}}}),t("span",{staticStyle:{"font-size":"0.9rem"}},[e._v(e._s(e.$t(e.key)))]),t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1}},[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{attrs:{src:i(4940),alt:"menu"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuItem",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(47761),alt:"home"}}),t("span",[e._v(" "+e._s(e.$t("home.home")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/reportBlock")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(36506),alt:"reportBlock"}}),t("span",[e._v(" "+e._s(e.$t("home.reportBlock")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{name:"1"}},[t("template",{slot:"title"},[t("div",{staticClass:"menuItem2"},[t("img",{attrs:{src:i(67069),alt:"account"}}),t("span",[e._v(e._s(e.$t("home.accountCenter")))])])]),e._l(e.newMiningAccountList,(function(i){return t("div",{key:i.id,staticClass:"accountBox",on:{click:function(t){return e.handelJumpAccount(i)}}},[t("div",{staticClass:"coinBox"},[t("img",{attrs:{src:i.img,alt:"coin"}}),t("span",{staticClass:"coin"},[e._v(e._s(i.coin))])]),t("span",{staticClass:"account"},[e._v(e._s(i.account))])])}))],2)],1)],1),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/personalCenter")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(91621),alt:"personalCenter"}}),t("span",[e._v(" "+e._s(e.$t("home.personalCenter")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderRecords")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(46165),alt:"workRecord"}}),t("span",[e._v(" "+e._s(e.$t("personal.workOrderRecord")))])])]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.ManagementShow,expression:"ManagementShow"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderBackend")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(60508),alt:"Work Order Management"}}),t("span",[e._v(" "+e._s(e.$t("work.WorkOrderManagement")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(76994),alt:"sign out"}}),t("span",[e._v(" "+e._s(e.$t("user.signOut")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"langBox"},[t("el-radio",{attrs:{fill:"red",label:"zh"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("简体中文")]),t("el-radio",{attrs:{fill:"#fff",label:"en"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("English")])],1)]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuLogin"},[t("el-button",{staticClass:"lgBTH",on:{click:function(t){return e.handelJump("/login")}}},[e._v(e._s(e.$t("home.MLogin")))]),t("el-button",{staticClass:"reBTH",on:{click:function(t){return e.handelJump("/register")}}},[e._v(e._s(e.$t("home.MRegister")))])],1)])],1)],1)],1)])},t.Yp=[]},22792:function(e,t,i){e.exports=i.p+"img/404.458c248a.png"},24597:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerBox",class:{whiteBg:"/"!==e.key}},[t("div",{staticClass:"header"},[t("div",{staticClass:"logo",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(65549),alt:"logo图片"}})]),t("div",{staticClass:"topMenu"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isLogin&&(e.$route.path.includes("reportBlock")||"Home"==e.$route.name),expression:"isLogin &&( $route.path.includes(`reportBlock`) || $route.name == `Home` ) "}],staticClass:"nav"},[t("div",{staticClass:"nav-item",attrs:{id:"menu1"},on:{click:function(t){return t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}},[t("img",{staticClass:"itemImg",attrs:{src:e.activeItem.imgUrl,alt:e.activeItem.label}}),t("span",{staticStyle:{"text-transform":"capitalize"}},[e._v(" "+e._s(e.activeItem.label))]),t("i",{staticClass:"arrow"}),t("div",{staticClass:"dropdown"},e._l(e.currencyList,(function(i){return t("div",{key:i.value,staticClass:"option",class:{optionActive:i.value===e.activeItem.value},on:{click:function(t){return t.stopPropagation(),e.changeMenuName(t,i)}}},[t("img",{staticClass:"dropdownCoin",attrs:{src:i.imgUrl,alt:i.label}}),t("div",{staticClass:"dropdownText"},[e._v(e._s(i.label))])])})),0)])]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"menuBox afterLoggingIn"},[t("li",{staticClass:"home",class:{active:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`},on:{click:function(t){return e.handelJump("/")}}},[e._v(" "+e._s(e.$t("home.home"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"miningAccount"},[t("el-menu",{staticClass:"el-menu-demo",attrs:{"active-text-color":"#6E3EDB",mode:"horizontal"}},[t("el-submenu",{attrs:{index:"888888"}},[t("span",{staticClass:"miningAccountTitle",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/miningAccount`)},staticStyle:{color:"#000"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t("home.accountCenter")))]),e._l(e.miningAccountList,(function(i){return t("el-submenu",{key:i.coin,attrs:{index:i.coin}},[t("template",{slot:"title"},[t("img",{staticStyle:{width:"20px"},attrs:{src:i.img,alt:i.coin}}),e._v(" "+e._s(i.title))]),e._l(i.children,(function(n){return t("el-menu-item",{key:n.id,attrs:{index:n.id.toString()},nativeOn:{click:function(t){return e.handelJumpAccount(i,n,i.coin)}}},[e._v(" "+e._s(n.account))])}))],2)})),t("el-menu-item",{staticClass:"signOut",staticStyle:{"font-size":"0.9rem"},attrs:{index:"999999"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[e._v("    "+e._s(e.$t("user.signOut")))])],2)],1),t("div",{staticClass:"horizontalLine",class:{hidden:"/miningAccount"==e.$route.path}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])],1),t("li",{staticClass:"reportBlock",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)},on:{click:function(t){return e.handelJump("reportBlock")}}},[e._v(" "+e._s(e.$t("home.reportBlock"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)},on:{click:function(t){return e.handelJump("personalCenter")}}},[e._v(" "+e._s(e.$t("home.personalCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)||e.$route.path.includes(`/${e.$i18n.locale}/personalCenter/personalMining`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/workOrderRecords`)},on:{click:function(t){return e.handelJump("workOrderRecords")}}},[e._v(" "+e._s(e.$t("personal.workOrderRecord"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("workOrderRecords")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)]),t("ul",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticClass:"menuBox notLoggedIn"},[t("li",{staticClass:"login",on:{click:e.handelLogin}},[e._v(e._s(e.$t("user.login")))]),t("li",{staticClass:"register",on:{click:e.handelRegister}},[e._v(" "+e._s(e.$t("user.register"))+" ")]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},staticStyle:{"margin-left":"20px"},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)])])])])},t.Yp=[]},27034:function(e,t,i){e.exports=i.p+"img/home.4c2d8f62.png"},27409:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockInfo=l,t.getCoinInfo=s,t.getLuck=c,t.getMinerCount=r,t.getNetPower=d,t.getParam=u,t.getPoolPower=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getCoinInfo",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getPoolPower",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerCount",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getLuck",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getBlockInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getNetPower",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getParam",method:"post",data:e})}},27579:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116),i(7588),i(61701),i(18237);var n=i(47149);t.A={data(){return{radio:"en",data:[{label:"一级 1",children:[{label:"二级 1-1",children:[{label:"三级 1-1-1"}]}]},{label:"一级 2",children:[{label:"二级 2-1",children:[{label:"三级 2-1-1"}]},{label:"二级 2-2",children:[{label:"三级 2-2-1"}]}]},{label:"一级 3",children:[{label:"二级 3-1",children:[{label:"三级 3-1-1"}]},{label:"二级 3-2",children:[{label:"三级 3-2-1"}]}]}],defaultProps:{children:"children",label:"label"},currencyList:[],miningAccountList:[],newMiningAccountList:[],activeNames:"",titleList:[{path:"/",label:"home.home"},{path:"/reportBlock",label:"home.reportBlock"},{path:"/miningAccount",label:"home.accountCenter"},{path:"/readOnlyDisplay",label:"personal.readOnlyPage"},{path:"/personalCenter",label:"home.personalCenter"},{path:"/personalCenter/personalMining",label:"home.accountSettings"},{path:"/personalCenter/readOnly",label:"personal.readOnlyPage"},{path:"/personalCenter/securitySetting",label:"personal.securitySetting"},{path:"/personalCenter/personalAPI",label:"home.API"}],token:"",isLogin:!1,jurisdiction:{roleKey:""},ManagementShow:!1}},computed:{key(){let e=this.titleList.find((e=>e.path==this.$route.path));return e?e.label:""}},watch:{token:{handler(e){this.isLogin=!!e},immediate:!0,deep:!0}},mounted(){this.radio=localStorage.getItem("lang")?localStorage.getItem("lang"):"en",this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t);let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList));let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?(console.log(565656),this.ManagementShow=!0):this.ManagementShow=!1})),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList)),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1},methods:{handelJump(e){console.log(e,"及附件");try{const t=this.$i18n.locale,i=e.startsWith("/")?e.slice(1):e,n=""===i?`/${t}`:`/${t}/${i}`;this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t)}},toggleDropdown(){this.showDropdown=!this.showDropdown},handelRadio(e){const t=this.$i18n.locale;this.$i18n.locale=e,localStorage.setItem("lang",e);const i=this.$route.path,n=i.replace(`/${t}`,`/${e}`),o=this.$route.query;this.$router.push({path:n,query:o}).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))},selectItem(e){this.selectedItem=e,this.showDropdown=!1,this.menuItems.forEach((t=>{t.isHighlighted=t.text===e}))},handelJumpAccount(e){const t=this.$i18n.locale;let i={ma:e.account,coin:e.coin,id:e.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(i)),this.$router.push({path:`/${t}/miningAccount`,query:{ma:e.account+e.coin}})},async fetchSignOut(){const e=this.$i18n.locale,t=await(0,n.getLogout)();t&&200==t.code&&this.$router.push(`/${e}/login`)},handelSignOut(){this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1},flattenArray(e){if(console.log(e,"进来的数组"),e[0])return e.reduce(((e,t)=>e.concat(t.children.map((e=>({...e,coin:t.coin,img:t.img,title:t.title}))))),[])}}}},27596:function(e,t,i){e.exports=i.p+"img/算力.cbdd6975.svg"},29500:function(e,t,i){e.exports=i.p+"img/reincon.5da4795a.png"},31114:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.shouldShowBroadcast?t("div",{staticClass:"horizontal-broadcast-container"},[e.showTitle?t("div",{staticClass:"broadcast-header"},[e.showIcon?t("i",{staticClass:"iconfont icon-tishishuoming"}):e._e(),t("span",{staticClass:"broadcast-title"},[e._v(e._s(e.$t("home.describeTitle")))])]):e._e(),t("div",{staticClass:"horizontal-scroll-wrapper",class:{"is-hovering":e.isHovering,"full-width":!e.showTitle},attrs:{title:e.isHovering?e.$t("backendSystem.broadcastPause")||"广播已暂停,移开鼠标继续滚动":e.$t("backendSystem.broadcastResume")||"鼠标悬停可暂停滚动"},on:{mouseenter:e.stopHorizontalScroll,mouseleave:e.resumeHorizontalScroll,touchstart:e.stopHorizontalScroll,touchend:e.startHorizontalScrollDelayed}},[t("div",{ref:"horizontalScrollContent",staticClass:"horizontal-scroll-content",style:e.horizontalScrollStyle},e._l(e.broadcastListForHorizontal,(function(i,n){return t("div",{key:i.id+"-horizontal-"+n,staticClass:"horizontal-broadcast-item",on:{click:function(t){return e.handleItemClick(i)}}},[t("span",{staticClass:"horizontal-item-content"},[e._v(e._s(i.content))]),i.buttonContent&&i.buttonContent.length>0?t("div",{staticClass:"button-group"},e._l(i.buttonContent,(function(n,o){return t("span",{key:`button-${i.id}-${o}`,staticClass:"view",on:{click:function(t){return t.stopPropagation(),e.handelJump(i.buttonPath[o])}}},[e._v(" "+e._s(n||e.$t("home.view"))+" ")])})),0):e._e(),n{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},beforeDestroy(){window.removeEventListener("resize",this.updateWindowWidth)},methods:{updateWindowWidth(){console.log(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth);const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=e<1280;a.default.prototype.$isMobile=t,location.reload()}}}},46165:function(e,t,i){e.exports=i.p+"img/workRecord.5123ed47.svg"},46373:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.alerts_zh=t.alerts_en=void 0;t.alerts_zh={alerts:{Alarm:"离线警报设置",beCareful:"矿机离线时,会通过以下对应邮箱通知您。",beCareful1:" 每个账号最多添加三个邮箱。",add:"添加邮箱",addAlarmEmail:"添加告警邮箱",modifyRemarks:"修改备注",deleteRemind:"确认删除吗?",addedSuccessfully:"添加成功",modifiedSuccessfully:"修改成功",deleteSuccessfully:"删除成功",modificationReminder:"修改备注内容不能为空",acquisitionFailed:"信息获取失败,请重新进入该页面",more:"更多",alarmNotification:"离线警报",alarmMove:"警报",turnOffReminder:"暂未开放该功能,请耐心等待.."}},t.alerts_en={alerts:{Alarm:"Offline alarm settings",beCareful:"When the mining machine is offline, you will be notified through the corresponding email address below.",beCareful1:"Each account can add up to three email addresses.",add:"Add Email",addAlarmEmail:"Add alarm email",modifyRemarks:"Modify remarks",deleteRemind:"Are you sure to delete?",addedSuccessfully:"Added successfully",modifiedSuccessfully:"Modified successfully",deleteSuccessfully:"Delete successfully",modificationReminder:"The modified remarks cannot be empty",acquisitionFailed:"Information retrieval failed, please re-enter the page",more:"More",alarmNotification:"Offline Alert",alarmMove:"Alarm",turnOffReminder:"This feature has not been opened yet, please be patient and wait.."}}},46508:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=d,t.getChangeUrlInfo=f,t.getDelPage=y,t.getHistoryIncome=h,t.getHistoryOutcome=m,t.getHtmlUrl=s,t.getMinerAccountPower=l,t.getMinerList=u,t.getMinerPower=p,t.getPageInfo=r,t.getProfitInfo=c,t.getUrlInfo=g,t.getUrlList=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/read/getHtmlUrl",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/read/getUrlList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/read/getPageInfo",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/read/getProfitInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/read/getMinerAccountPower",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/read/getAccountPowerDistribution",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/read/getMinerList",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/read/getHistoryIncome",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/read/getHistoryOutcome",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/read/getMinerPower",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/read/getUrlInfo",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/read/changeUrlInfo",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/read/delPage",method:"delete",data:e})}},47149:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountGradeList=d,t.getLogin=s,t.getLoginCode=c,t.getLogout=l,t.getRegister=a,t.getRegisterCode=r,t.getResetPwd=u,t.getResetPwdCode=h,t.getUserProfile=m;var o=n(i(35720));function s(e){return(0,o.default)({url:"auth/login",method:"post",data:e})}function a(e){return(0,o.default)({url:"auth/register",method:"post",data:e})}function r(e){return(0,o.default)({url:"auth/registerCode",method:"post",data:e})}function c(e){return(0,o.default)({url:"auth/loginCode",method:"post",data:e})}function l(e){return(0,o.default)({url:"auth/logout",method:"Delete",data:e})}function d(e){return(0,o.default)({url:"pool/user/getAccountGradeList",method:"post",data:e})}function u(e){return(0,o.default)({url:"auth/resetPwd",method:"post",data:e})}function h(e){return(0,o.default)({url:"auth/resetPwdCode",method:"post",data:e})}function m(){return(0,o.default)({url:"system/user/profile",method:"get"})}},47761:function(e,t,i){e.exports=i.p+"img/homeMenu.877d301d.svg"},48370:function(e,t,i){e.exports=i.p+"img/power1.e301c95e.svg"},49967:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(18111),i(7588);var n=i(1652);t.A={name:"SplitScreenEditor",props:{value:{type:String,default:""},options:{type:Object,default:()=>({})},height:{type:[String,Number],default:500}},data(){return{localContent:"",editorMode:"split",isFullscreen:!1,wordCount:0,editorInstance:null,editorId:`editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,showUsageGuide:!1,demoEditorInstance:null,demoEditorId:`demo_editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,publishLoading:!1,documentInfo:{title:"",subTitle:"",type:0,lang:"zh"},defaultOptions:{height:this.height,menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","preview","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","help","wordcount"],toolbar:["undo redo | formatselect | bold italic underline strikethrough","forecolor backcolor | alignleft aligncenter alignright alignjustify","bullist numlist outdent indent | removeformat | help"].join(" | "),content_style:"\n body { \n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; \n font-size: 14px; \n line-height: 1.6;\n color: #2c3e50;\n }\n p { margin: 10px 0; }\n ul, ol { margin: 10px 0; padding-left: 20px; }\n li { margin: 4px 0; }\n ",language:"zh_CN",branding:!1,resize:!1,statusbar:!1,placeholder:"开始编写您的内容...",setup:e=>{this.editorInstance=e,e.on("input",(()=>{this.handleEditorChange()})),e.on("change",(()=>{this.handleEditorChange()})),e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{this.insertBulletPoint()}})}}}},computed:{mergedOptions(){return{...this.defaultOptions,...this.options,height:this.height,toolbar:this.defaultOptions.toolbar+" | bulletpoint"}},previewContent(){if(!this.localContent)return'

预览内容将在这里显示...

';let e=this.localContent;return e=e.replace(/
    /g,'
      '),e=e.replace(/
        /g,'
          '),e=e.replace(/
        1. /g,'
        2. '),e}},watch:{value:{handler(e){e!==this.localContent&&(this.localContent=e,this.editorInstance&&this.editorInstance.setContent(e))},immediate:!0},localContent(){this.updateWordCount()}},mounted(){this.initEditor(),this.updateWordCount(),document.addEventListener("keydown",this.handleKeydown),this.showUsageGuide&&this.$nextTick((()=>{setTimeout((()=>{console.log("页面加载完成,初始化演示编辑器"),this.initDemoEditor()}),1e3)}))},beforeDestroy(){this.destroyEditor(),this.destroyDemoEditor(),document.removeEventListener("keydown",this.handleKeydown)},methods:{async initEditor(){if("undefined"!==typeof window.tinymce)try{await window.tinymce.init({selector:`#${this.editorId}`,...this.mergedOptions}),console.log("编辑器初始化成功")}catch(e){console.error("编辑器初始化失败:",e)}else console.error("TinyMCE未加载,请确保已正确引入TinyMCE")},destroyEditor(){this.editorInstance&&(this.editorInstance.destroy(),this.editorInstance=null)},handleEditorChange(){if(this.editorInstance){const e=this.editorInstance.getContent();this.localContent=e,this.$emit("input",e),this.$emit("change",e)}},handleContentChange(e){const t=e.target.value;this.localContent=t,this.$emit("input",t),this.$emit("change",t)},insertBulletPoint(){if(this.editorInstance){const e=this.editorInstance.selection,t=e.getContent({format:"text"});if(t){const e=`• ${t}`;this.editorInstance.execCommand("mceReplaceContent",!1,e)}else this.editorInstance.execCommand("mceInsertContent",!1,"• ");this.editorInstance.focus()}else{const e=document.getElementById(this.editorId);if(e){const t=e.selectionStart,i=e.selectionEnd,n=e.value,o=n.substring(0,t)+"• "+n.substring(i);this.localContent=o,this.$emit("input",o),this.$nextTick((()=>{e.focus(),e.setSelectionRange(t+2,t+2)}))}}},toggleFullscreen(){this.isFullscreen=!this.isFullscreen,this.isFullscreen?document.body.style.overflow="hidden":document.body.style.overflow=""},handleKeydown(e){"Escape"===e.key&&this.isFullscreen&&this.toggleFullscreen()},updateWordCount(){const e=this.localContent.replace(/<[^>]*>/g,"");this.wordCount=e.length},copyHtml(){if(navigator.clipboard)navigator.clipboard.writeText(this.localContent).then((()=>{this.$message.success("HTML内容已复制到剪贴板")})).catch((e=>{console.error("复制失败:",e),this.$message.error("复制失败")}));else{const t=document.createElement("textarea");t.value=this.localContent,document.body.appendChild(t),t.select();try{document.execCommand("copy"),this.$message.success("HTML内容已复制到剪贴板")}catch(e){console.error("复制失败:",e),this.$message.error("复制失败")}document.body.removeChild(t)}},getContent(){return this.localContent},setContent(e){this.localContent=e,this.editorInstance&&this.editorInstance.setContent(e)},clear(){this.setContent("")},toggleUsageGuide(){this.showUsageGuide=!this.showUsageGuide,this.showUsageGuide?(console.log("使用指南已打开,准备初始化演示编辑器"),this.$nextTick((()=>{setTimeout((()=>{this.initDemoEditor()}),500)}))):(console.log("使用指南已关闭,销毁演示编辑器"),this.destroyDemoEditor())},handlePublish(){this.localContent.trim()?this.showPublishDialog():this.$message.warning("请先输入内容再发布")},showPublishDialog(){this.$prompt("请输入文档标题:","发布文档",{confirmButtonText:"发布",cancelButtonText:"取消",inputPlaceholder:"请输入文档标题",inputValue:this.documentInfo.title||`编辑器文档_${(new Date).toLocaleDateString()}`,inputValidator:e=>e&&e.trim()?!(e.trim().length>100)||"文档标题不能超过100个字符":"文档标题不能为空"}).then((({value:e})=>{this.documentInfo.title=e.trim(),this.showDocumentTypeDialog()})).catch((()=>{console.log("用户取消发布")}))},showDocumentTypeDialog(){const e=[{label:"其他",value:0},{label:"服务条款",value:1},{label:"API文档",value:2},{label:"挖矿教程",value:3}],t=e.map((e=>``)).join("");this.$msgbox({title:"选择文档类型",message:`\n
          \n \n \n
          \n
          \n 文档信息:
          \n 标题:${this.documentInfo.title}
          \n 字数:${this.wordCount} 字\n
          \n `,dangerouslyUseHTMLString:!0,confirmButtonText:"确认发布",cancelButtonText:"取消",beforeClose:(e,t,i)=>{if("confirm"===e){const e=document.getElementById("documentTypeSelect");e&&(this.documentInfo.type=parseInt(e.value))}i()}}).then((()=>{this.confirmPublish()})).catch((()=>{console.log("用户取消选择文档类型")}))},async confirmPublish(){this.publishLoading=!0;try{let e=this.localContent;this.editorInstance?(e=this.editorInstance.getContent(),console.log("发布前 - 从编辑器获取的最新内容:",e),console.log("发布前 - 内容长度:",e.length),console.log("发布前 - localContent:",this.localContent),this.localContent=e):console.warn("编辑器实例不存在,使用本地内容:",e);const t=e.replace(/<[^>]*>/g,"").trim();if(!t)return this.$message.warning("编辑器内容为空,请先输入内容"),void(this.publishLoading=!1);const i={id:null,title:this.documentInfo.title,subTitle:this.documentInfo.subTitle||"",content:e,lang:this.$i18n?.locale||this.documentInfo.lang,type:this.documentInfo.type};console.log("=== 发布文档数据调试信息 ==="),console.log("完整参数:",i),console.log("当前语言:",this.$i18n?.locale),console.log("内容预览 (前200字符):",e.substring(0,200)),console.log("内容是否包含h2标签:",e.includes("

          ")),console.log("内容是否包含h3标签:",e.includes("

          ")),console.log("===========================");const o=await(0,n.addDocument)(i);if(!o||200!==o.code)throw new Error(o?.message||"发布失败");this.$message.success("文档发布成功!"),this.$emit("publish",{success:!0,documentId:o.data?.id,title:this.documentInfo.title,content:e,wordCount:t.length,timestamp:(new Date).toISOString(),response:o.data}),this.$notify({title:"发布成功",message:`文档 "${this.documentInfo.title}" 已成功发布`,type:"success",duration:4e3}),this.clearAutoSave()}catch(e){console.error("文档发布失败:",e),this.$message.error(`发布失败:${e.message||"网络错误"}`),this.$emit("publish",{success:!1,error:e.message||"发布失败",title:this.documentInfo.title,content:currentContent||this.localContent})}finally{this.publishLoading=!1}},async initDemoEditor(){if("undefined"===typeof window.tinymce)return void console.error("TinyMCE未加载,无法初始化演示编辑器");let e=0;const t=10,i=()=>{const n=document.getElementById(this.demoEditorId);n&&this.showUsageGuide?this.doInitDemoEditor():e{this.demoEditorInstance=e,console.log("演示编辑器实例已创建"),setTimeout((()=>{e.setContent('\n

          🎯 演示编辑器

          \n

          在这里直接尝试各种功能:

          \n
            \n
          • 选中文字后点击 粗体斜体下划线
          • \n
          • 使用颜色按钮改变文字颜色
          • \n
          • 点击"• 圆点"按钮插入项目符号
          • \n
          • 创建有序或无序列表
          • \n
          \n

          • ALEO矿工必须质押一定数量的ALEO代币

          \n

          💡 你可以直接编辑这些内容来测试功能!

          \n ')}),200)},setup:e=>{e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{e.insertContent("• "),e.focus()}})}};await window.tinymce.init({selector:`#${this.demoEditorId}`,...e}),console.log("演示编辑器初始化成功")}catch(t){console.error("演示编辑器初始化失败:",t)}},destroyDemoEditor(){if(this.demoEditorInstance)try{this.demoEditorInstance.destroy(),this.demoEditorInstance=null,console.log("演示编辑器已销毁")}catch(e){console.error("销毁演示编辑器时出错:",e)}},clearAutoSave(){try{const e=Object.keys(localStorage);e.forEach((e=>{e.startsWith("splitscreen_editor_draft_")&&localStorage.removeItem(e)})),console.log("已清空自动保存的草稿")}catch(e){console.warn("清空自动保存草稿时出错:",e)}},checkDemoEditorStatus(){console.log("=== 演示编辑器状态检查 ==="),console.log("使用指南显示状态:",this.showUsageGuide),console.log("演示编辑器ID:",this.demoEditorId),console.log("DOM元素存在:",!!document.getElementById(this.demoEditorId)),console.log("演示编辑器实例:",this.demoEditorInstance),console.log("TinyMCE可用:","undefined"!==typeof window.tinymce);const e=document.getElementById(this.demoEditorId);e&&console.log("DOM元素详情:",{id:e.id,className:e.className,offsetHeight:e.offsetHeight,offsetWidth:e.offsetWidth})}}}},51406:function(e,t,i){var n=i(3999)["default"],o=n(i(66848)),s=n(i(44239)),a=n(i(39325)),r=n(i(55129)),c=n(i(89143));i(91475),i(79412);var l=n(i(58044)),d=n(i(86425));i(40665);var u=i(82908),h=n(i(18614)),m=n(i(54211)),p=n(i(98986));i(9526);var g=n(i(37465));o.default.prototype.$bus=new o.default,o.default.use(h.default),o.default.prototype.$addStorageEvent=u.$addStorageEvent,o.default.config.productionTip=!1,o.default.use(c.default,{i18n:(e,t)=>l.default.t(e,t)}),o.default.prototype.$axios=d.default,console.log=()=>{},o.default.mixin(m.default),o.default.mixin(p.default),o.default.prototype.$baseApi="https://m2pool.com/";const f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,y=f<1280;o.default.prototype.$isMobile=y,window.addEventListener("unhandledrejection",(e=>{const t=e&&e.reason,i="string"===typeof t?t:t&&t.message;i&&("Network Error"===i||i.includes("timeout"))&&(e.preventDefault(),console.warn("[unhandledrejection] blocked network error:",i))})),a.default.beforeEach(((e,t,i)=>{const n=e.params.lang||localStorage.getItem("lang")||"en";document.documentElement.lang=n,l.default.locale!==n&&(l.default.locale=n);const o=localStorage.getItem("token");o&&"null"!==o||localStorage.setItem("cs_disconnect_all",Date.now().toString()),i()})),setInterval((()=>{g.default.cleanup()}),6e4),window.vm=new o.default({router:a.default,store:r.default,i18n:l.default,render:e=>e(s.default),created(){this.$watch((()=>this.$i18n.locale),(e=>{this.updateMetaAndTitle()})),this.updateMetaAndTitle()},mounted(){document.dispatchEvent(new Event("render-event"))},methods:{updateMetaAndTitle(){document.title=this.$i18n.t("home.appTitle");const e=document.querySelector('meta[name="description"]');e&&(e.content=this.$i18n.t("home.metaDescription"))}}}).$mount("#app"),document.addEventListener("DOMContentLoaded",(()=>{window.vm.updateMetaAndTitle()}))},51775:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getFileUpdate=u,t.getHistory=s,t.getHistory7=a,t.getReadMessage=r,t.getRoomList=c,t.getUpdateRoom=l,t.getUserid=d;var o=n(i(35720));function s(e){return(0,o.default)({url:"chat/message/find/history/message",method:"post",data:e})}function a(e){return(0,o.default)({url:"chat/message/find/recently/message",method:"post",data:e})}function r(e){return(0,o.default)({url:"chat/message/read/message",method:"post",data:e})}function c(e){return(0,o.default)({url:"/chat/rooms/find/room/list",method:"post",data:e})}function l(e){return(0,o.default)({url:"/chat/rooms/update/room",method:"post",data:e})}function d(e){return(0,o.default)({url:"chat/rooms/find/room/by/userid",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/ticket/uploadFile",method:"post",data:e})}},52217:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"contentMain"},[t("div",{staticClass:"contentPage"},[t("router-view",{key:e.key})],1),e.$isMobile?t("section",{staticClass:"moveFooterBox"},[t("div",{staticClass:"footerBox"},[e._m(0),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.mission")))]),t("p",{staticClass:"missionText"},[e._v(e._s(e.$t("home.missionText")))])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.service")))]),t("div",{staticClass:"FMenu"},[t("p",[t("span",{on:{click:function(t){return e.jumpPage1("/apiFile")}}},[e._v(e._s(e.$t("home.APIfile")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage2("/rate")}}},[e._v(e._s(e.$t("home.rateFooter")))])])])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.userAssistance")))]),t("div",{staticClass:"FMenu"},[t("p",[t("span",{on:{click:function(t){return e.jumpPage3("/AccessMiningPool")}}},[e._v(e._s(e.$t("home.miningTutorial")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage3("/submitWorkOrder")}}},[e._v(e._s(e.$t("home.submitWorkOrder")))])])])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.aboutUs")))]),t("div",{staticClass:"FMenu"},[t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.joinUs")))])]),t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.contactCustomerService")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage("/ServiceTerms")}}},[e._v(e._s(e.$t("home.serviceTerms")))])]),t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.businessCooperation")))])])])])])]):t("div",{staticClass:"footerBox"},[t("el-row",{staticStyle:{width:"100%"}},[t("el-col",{attrs:{xs:24,sm:24,md:5,lg:5,xl:5}},[t("div",{staticClass:"footerSon logo2"},[t("div",{staticClass:"logoBox"},[t("img",{staticClass:"logoImg",attrs:{src:i(65549),alt:"logo图片"}}),t("span",{staticClass:"copyright"},[e._v("Copyright © 2024 M2pool")])])])]),t("el-col",{attrs:{xs:24,sm:24,md:6,lg:6,xl:6}},[t("div",{staticClass:"footerSon text"},[t("h4",[e._v(e._s(e.$t("home.mission")))]),t("div",[e._v(e._s(e.$t("home.missionText")))])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.service")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage1("/apiFile")}}},[e._v(e._s(e.$t("home.APIfile")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage2("/rate")}}},[e._v(e._s(e.$t("home.rateFooter")))])])])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.userAssistance")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage3("/AccessMiningPool")}}},[e._v(" "+e._s(e.$t("home.miningTutorial")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage4("/submitWorkOrder")}}},[e._v(e._s(e.$t("home.submitWorkOrder")))])])])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.aboutUs")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.joinUs")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage("/ServiceTerms")}}},[e._v(" "+e._s(e.$t("home.serviceTerms")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.businessCooperation")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.contactCustomerService")))])])])])])],1)],1)])},t.Yp=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logoBox"},[t("img",{staticClass:"logoImg",attrs:{src:i(65549),alt:"logo图片"}}),t("span",{staticClass:"copyright"},[e._v("Copyright © 2024 M2pool")])])}]},53263:function(e,t,i){e.exports=i.p+"img/notOpen.759679bf.png"},53724:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.announcements_zh=t.announcements_en=void 0;t.announcements_zh={title:"公告中心",latestTitle:"最新公告",searchPlaceholder:"搜索",homeCenter:"首页中心",viewAll:"查看所有",articles:"篇文章",noData:"暂无公告",loadError:"加载公告失败",importantNotice:"重要通知",systemAnnouncement:"系统公告",marketDynamic:"市场动态",serviceNotice:"服务通知",faultDescription:"故障说明",offlineNotice:"下线通知",today:"今天",yesterday:"昨天",daysAgo:"天前",back:"返回",refresh:"刷新",search:"搜索",reset:"重置",total:"共",page:"页",items:"条",goToPage:"跳至",networkError:"网络连接失败,请检查网络设置",serverError:"服务器异常,请稍后重试",dataError:"数据加载失败",searchTip:"请输入关键词进行搜索",noSearchResult:"未找到相关公告",loadingTip:"正在加载...",published:"已发布",draft:"草稿",archived:"已归档",detail:"详情",content:"内容",publishTime:"发布时间",updateTime:"更新时间",author:"作者",category:"分类",tags:"标签",readCount:"阅读量",viewDetail:"查看详情",share:"分享",favorite:"收藏",print:"打印",download:"下载",filter:"筛选",sort:"排序",sortByTime:"按时间排序",sortByPopularity:"按热度排序",filterByType:"按类型筛选",filterByDate:"按日期筛选",allTypes:"全部类型",allDates:"全部日期",advancedSearch:"高级搜索",searchByTitle:"按标题搜索",searchByContent:"按内容搜索",searchByAuthor:"按作者搜索",dateRange:"日期范围",startDate:"开始日期",endDate:"结束日期"},t.announcements_en={title:"Announcement Center",latestTitle:"Latest Announcements",searchPlaceholder:"Search",homeCenter:"Home Center",viewAll:"View All",articles:"Articles",noData:"No announcements",loadError:"Failed to load announcements",importantNotice:"Important Notice",systemAnnouncement:"System Announcement",marketDynamic:"Market Dynamic",serviceNotice:"Service Notice",faultDescription:"Fault Description",offlineNotice:"Offline Notice",today:"Today",yesterday:"Yesterday",daysAgo:"days ago",back:"Back",refresh:"Refresh",search:"Search",reset:"Reset",total:"Total",page:"Page",items:"Items",goToPage:"Go to",networkError:"Network connection failed, please check network settings",serverError:"Server error, please try again later",dataError:"Data loading failed",searchTip:"Please enter keywords to search",noSearchResult:"No related announcements found",loadingTip:"Loading...",published:"Published",draft:"Draft",archived:"Archived",detail:"Detail",content:"Content",publishTime:"Publish Time",updateTime:"Update Time",author:"Author",category:"Category",tags:"Tags",readCount:"Read Count",viewDetail:"View Detail",share:"Share",favorite:"Favorite",print:"Print",download:"Download",filter:"Filter",sort:"Sort",sortByTime:"Sort by Time",sortByPopularity:"Sort by Popularity",filterByType:"Filter by Type",filterByDate:"Filter by Date",allTypes:"All Types",allDates:"All Dates",advancedSearch:"Advanced Search",searchByTitle:"Search by Title",searchByContent:"Search by Content",searchByAuthor:"Search by Author",dateRange:"Date Range",startDate:"Start Date",endDate:"End Date"}},54752:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(22489),i(20116),i(7588),i(61701),i(13579),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var n=i(92500),o=i(51775);t.A={name:"ChatWidget",data(){return{isChatOpen:!1,inputMessage:"",messages:[],unreadMessages:0,showImagePreview:!1,previewImageUrl:"",stompClient:null,receivingEmail:"",connectionStatus:"disconnected",userType:0,userEmail:"",autoResponses:{hello:"您好,有什么可以帮助您的?","你好":"您好,有什么可以帮助您的?",hi:"您好,有什么可以帮助您的?","挖矿":"您可以查看我们的挖矿教程,或者直接创建矿工账户开始挖矿。","算力":"您可以在首页查看当前的矿池算力和您的个人算力。","收益":"收益根据您的算力贡献按比例分配,详情可以查看收益计算器。","帮助":"您可以查看我们的帮助文档,或者提交工单咨询具体问题。"},isLoadingHistory:!1,hasMoreHistory:!0,roomId:"",isWebSocketConnected:!1,heartbeatInterval:null,lastHeartbeatTime:null,heartbeatTimeout:12e4,cachedMessages:{},isMinimized:!1,reconnectAttempts:0,maxReconnectAttempts:3,reconnectInterval:3e3,isReconnecting:!1,lastActivityTime:Date.now(),activityCheckInterval:null,networkStatus:"online",reconnectTimer:null,connectionError:null,showRefreshButton:!1,heartbeatCheckInterval:3e4,maxMessageLength:300,connectionVerifyTimer:null,isConnectionVerified:!1,isHandlingError:!1,lastErrorTime:0,lastConnectedEmail:null,userViewHistory:!1,customerIsOnline:!1,jurisdiction:{roleKey:""},token:""}},computed:{displayMessages(){const e=[],t=3e5;let i=null;return this.messages.forEach(((n,o)=>{if(!n.isSystemHint&&!n.isLoading){const s=new Date(n.time);(!i||s-i>t)&&(e.push({isTimeDivider:!0,time:n.time,id:`divider-${s.getTime()}-${o}`}),i=s)}e.push(n)})),e}},watch:{connectionStatus(e,t){e!==t&&(console.log(`🔄 连接状态变化: ${t} -> ${e}`),console.log(`🔍 当前时间: ${(new Date).toLocaleTimeString()}`),console.log(`🔍 WebSocket状态: ${this.isWebSocketConnected}`),console.log(`🔍 STOMP状态: ${this.stompClient?.connected}`),console.log(`🔍 重连状态: ${this.isReconnecting}`),console.log(`🔍 验证状态: ${this.isConnectionVerified}`),"connecting"===e&&"connected"===t&&(console.warn("⚠️ 连接状态从connected变为connecting,可能有问题"),console.trace("调用栈:")),"connected"===e&&(console.log("✅ 状态已变为connected,强制触发重新渲染"),this.$forceUpdate()))},isChatOpen(e){e&&this.$nextTick((()=>this.scrollToBottomOnInit()))},token(e){console.log("token变化打印",e),e||(localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.forceDisconnectAll(),this.$nextTick((()=>{this.determineUserType()})))}},async created(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e})),this.initUnreadMessages(),this.determineUserType()},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(n){e={roleKey:""}}this.jurisdiction=e;let t=localStorage.getItem("customerIsOnline");this.customerIsOnline=JSON.parse(t);let i=localStorage.getItem("token");this.token=JSON.parse(i),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(n){e={roleKey:""}}this.jurisdiction=e;let t=localStorage.getItem("customerIsOnline");this.customerIsOnline=JSON.parse(t);let i=localStorage.getItem("token");this.token=JSON.parse(i)})),window.addEventListener("beforeunload",this.handleBeforeUnload),window.addEventListener("storage",this.handleStorageChange),document.addEventListener("click",this.handleClickOutside),document.addEventListener("visibilitychange",this.handleVisibilityChange),window.addEventListener("online",this.handleNetworkChange),window.addEventListener("offline",this.handleNetworkChange),this.startActivityCheck(),document.addEventListener("mousemove",this.updateLastActivityTime),document.addEventListener("keydown",this.updateLastActivityTime),document.addEventListener("click",this.updateLastActivityTime),this.$bus.$on("user-logged-out",this.handleLogout),this.$bus.$on("user-logged-in",this.handleLoginSuccess),this.setupDebugMode(),this.$nextTick((()=>{this.$refs.chatBody&&this.$refs.chatBody.addEventListener("scroll",this.handleChatBodyScroll)})),this.scrollToBottomOnInit()},methods:{initUnreadMessages(){try{const e=this.getUnreadStorageKey(),t=localStorage.getItem(e);this.unreadMessages=t&&parseInt(t,10)||0}catch(e){console.warn("读取未读消息数失败:",e),this.unreadMessages=0}},getUnreadStorageKey(){return`chat_unread_${this.userEmail||"guest"}`},updateUnreadMessages(e){try{const t=this.getUnreadStorageKey();this.unreadMessages=e,localStorage.setItem(t,String(e))}catch(t){console.warn("保存未读消息数失败:",t)}},handleStorageChange(e){if(e.key&&e.key.startsWith("chat_unread_")){const t=this.getUnreadStorageKey();if(e.key===t){const t=parseInt(e.newValue,10)||0;this.unreadMessages=t}}},async initChatSystem(){if(this.userEmail)if(this.isWebSocketConnected&&"connected"===this.connectionStatus&&this.userEmail===this.lastConnectedEmail)console.log("✅ 聊天系统已初始化且连接正常,跳过重复初始化");else try{if(console.log("jurisdict口服空手道咖啡豆防控ion",this.jurisdiction),"customer_service"==this.jurisdiction.roleKey||"admin"==this.jurisdiction.roleKey||"back_admin"==this.jurisdiction.roleKey)return;const e=await this.fetchUserid({email:this.userEmail});e&&(this.roomId=e.id,this.receivingEmail=e.userEmail,this.customerIsOnline=e.customerIsOnline,this.updateUnreadMessages(e.clientReadNum||0),this.isWebSocketConnected&&this.userEmail===this.lastConnectedEmail||(this.isWebSocketConnected&&this.userEmail!==this.lastConnectedEmail&&await this.forceDisconnectAll(),this.initWebSocket(e.selfEmail),this.lastConnectedEmail=this.userEmail))}catch(e){console.error("初始化聊天系统失败:",e)}else console.log("❌ userEmail为空,跳过初始化")},initWebSocket(e){this.connectWebSocket(e)},async determineUserType(){console.log("token",this.token);try{const i=localStorage.getItem("token");if(!i){const e=sessionStorage.getItem("chatGuestEmail");return e&&e.startsWith("guest_")?(this.userType=0,this.userEmail=e):(this.userType=0,this.userEmail=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",this.userEmail)),void this.initChatSystem()}try{const t=JSON.parse(localStorage.getItem("jurisdiction")||"{}"),i=localStorage.getItem("userEmail")||"{}";let n="";try{const e=JSON.parse(i);n=e.email||e.value||e.userEmail||e,"string"!==typeof n&&(n="")}catch(e){n=i}this.userEmail=n,"customer_service"===t.roleKey||"admin"===t.roleKey?(this.userType=2,this.userEmail=""):(this.userType=1,this.userEmail=n),this.initUnreadMessages(),await this.initChatSystem()}catch(t){console.error("解析用户信息失败:",t),this.setupGuestIdentity()}}catch(i){console.error("获取用户信息失败:",i),this.setupGuestIdentity()}},setupGuestIdentity(){const e=sessionStorage.getItem("chatGuestEmail");e&&e.startsWith("guest_")?(this.userType=0,this.userEmail=e):(this.userType=0,this.userEmail=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",this.userEmail)),this.initChatSystem()},subscribeToPersonalMessages(e){if(!this.stompClient||!this.isWebSocketConnected)return console.error("❌ STOMP客户端未连接,无法订阅消息"),this.connectionStatus="error",this.connectionError=this.$t("chat.unableToSubscribe"),this.isWebSocketConnected=!1,this.showRefreshButton=!1,void this.$forceUpdate();if(!this.stompClient.connected)return console.error("❌ STOMP客户端已断开,无法订阅消息"),this.connectionStatus="error",this.connectionError="chat.unableToSubscribe",this.isWebSocketConnected=!1,this.showRefreshButton=!1,void this.$forceUpdate();try{this.stompClient.subscribe(`/sub/queue/user/${e}`,(e=>{this.lastHeartbeatTime=Date.now(),"connected"!==this.connectionStatus&&(this.connectionStatus="connected",this.isWebSocketConnected=!0,this.isReconnecting=!1,this.connectionError=null),this.markConnectionVerified(),this.onMessageReceived(e)}));this.connectionStatus="connected",this.isWebSocketConnected=!0,this.isReconnecting=!1,this.connectionError=null,this.reconnectAttempts=0,this.markConnectionVerified(),this.$forceUpdate(),this.startActivityCheck()}catch(t){console.error("❌ 订阅消息异常:",t),this.connectionStatus="error",this.connectionError=this.$t("chat.conflict"),this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!1,this.$forceUpdate()}},async connectWebSocket(e){let t=e||this.userEmail;if(!t)try{const e=localStorage.getItem("userEmail");if(e){const i=JSON.parse(e);t=i.email||i.value||i.userEmail||i,"string"!==typeof t&&(t="")}}catch(o){console.warn("[DEBUG] 解析localStorage userEmail失败:",o)}if(!t){const e=sessionStorage.getItem("chatGuestEmail");e&&e.startsWith("guest_")&&(t=e)}if(t||(t=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",t),console.warn("[DEBUG] 自动生成游客邮箱:",t)),this.userEmail=t,e=t,!e)return Promise.reject(new Error("缺少用户邮箱参数"));if(this.isWebSocketConnected&&this.lastConnectedEmail===e)return Promise.resolve("already_connected");if(this.isReconnecting)return Promise.resolve("reconnecting");this.connectionStatus="connecting",this.isReconnecting=!0,this.connectionError=null;const i=setTimeout((()=>{"connecting"!==this.connectionStatus||this.isConnectionVerified||this.handleConnectionTimeout()}),3e4);try{const t="https://m2pool.com/api/";let s="";t.startsWith("https://")&&(s=t.replace("https://","wss://")),t.startsWith("http://")&&(s=t.replace("http://","ws://"));const a=`${s}chat/ws`;if(this.stompClient){try{this.stompClient.disconnect()}catch(o){console.warn("[DEBUG] stompClient.disconnect异常",o)}this.stompClient=null}this.stompClient=n.Stomp.client(a),this.stompClient.webSocketFactory=()=>{const e=new WebSocket(a);return e.binaryType="arraybuffer",e.onerror=e=>{console.error("WebSocket连接错误:",e),clearTimeout(i),this.handleWebSocketError(e)},e.onopen=()=>{},e.onclose=e=>{clearTimeout(i),this.isReconnecting||this.handleWebSocketClose(e)},e};const r={email:e,type:this.userType};return this.stompClient.onStompError=e=>{const t=e.headers?.message||"";console.error("🔴 STOMP 错误:",t),t.includes("1020")?this.handleConnectionLimitError():(this.connectionError=t||this.$t("chat.abnormal"),this.connectionStatus="error",this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!0,this.$forceUpdate())},new Promise(((t,n)=>{this.stompClient.connect(r,(n=>{clearTimeout(i),this.isWebSocketConnected=!0,this.connectionStatus="connecting",this.reconnectAttempts=0,this.isReconnecting=!1,this.connectionError=null,this.subscribeToPersonalMessages(e),this.startHeartbeat(),setTimeout((()=>{"connecting"!==this.connectionStatus||this.isConnectionVerified||(console.warn("⚠️ 连接成功但5秒内未完成订阅验证,可能是多窗口冲突或订阅失败"),this.connectionStatus="error",this.connectionError=this.$t("chat.conflict"),this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!0,this.$forceUpdate())}),5e3),t(n)}),(e=>(console.error("WebSocket Error:",e),clearTimeout(i),this.isHandshakeError(e)?(this.handleHandshakeError(e),void n(e)):this.isConnectionLimitError(e.headers.message)?(this.connectionError=e.headers.message,this.connectionStatus="error",this.isReconnecting=!1,this.handleConnectionLimitError(),void n(e)):(e.headers.message.includes("503")?this.connectionError=this.$t("chat.server500"):e.headers.message.includes("handshake")?this.connectionError=this.$t("chat.networkAnomaly"):this.connectionError=this.$t("chat.abnormal"),this.isReconnecting=!1,this.handleDisconnect(),void n(e))))),this.stompClient.heartbeat.outgoing=3e4,this.stompClient.heartbeat.incoming=3e4}))}catch(s){return console.error("初始化 WebSocket 失败:",s),clearTimeout(i),this.connectionError=this.$t("chat.initializationFailed"),this.isReconnecting=!1,this.handleDisconnect(),Promise.reject(s)}},handleDisconnect(){this.isReconnecting||(this.isWebSocketConnected=!1,this.connectionStatus="error",this.isReconnecting=!0,this.clearConnectionVerification(),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.isConnectionLimitError(this.connectionError)?this.handleConnectionLimitError():this.handleConnectionError(this.connectionError)||(this.reconnectAttempts{if(this.isReconnecting=!1,!this.isWebSocketConnected){const e=this.connectWebSocket(this.userEmail);e&&"function"===typeof e.catch&&e.catch((e=>{console.error("[DEBUG] 自动重连失败:",e)}))}}),this.reconnectInterval)):(this.isReconnecting=!1,this.showRefreshButton=!0)))},handleNetworkChange(){this.networkStatus=navigator.onLine?"online":"offline",navigator.onLine&&(location.reload(),this.isChatOpen=!1,this.isMinimized=!1,this.isLoadingHistory=!1,this.isLoading=!1,this.isWebSocketConnected=!1,this.isReconnecting=!1)},startActivityCheck(){this.activityCheckInterval=setInterval((()=>{const e=Date.now(),t=e-this.lastActivityTime;t>3e5&&!this.isWebSocketConnected&&this.handleDisconnect()}),6e4)},updateLastActivityTime(){this.lastActivityTime=Date.now()},handleBeforeUnload(){this.disconnectWebSocket()},handleInputMessage(){this.inputMessage.length>this.maxMessageLength&&(this.inputMessage=this.inputMessage.slice(0,this.maxMessageLength))},handleEnterKey(e){"Enter"!==e.key||e.shiftKey||(e.preventDefault(),this.inputMessage.trim()&&"connected"===this.connectionStatus&&this.sendMessage())},sendMessage(){if("online"!==this.networkStatus)return void this.$message({message:this.$t("chat.networkError")||"网络连接已断开,无法发送消息",type:"error",showClose:!0});if(console.log("客服状态",this.customerIsOnline,"用户身份",this.userType,"用户邮箱",this.userEmail),0===this.userType&&!1===this.customerIsOnline)return void this.$message({message:this.$t("chat.customerServiceOffline")||"客服离线,请登录账号发送留言消息",type:"warning",showClose:!0});if(!this.inputMessage.trim())return void this.$message({message:this.$t("chat.sendMessageEmpty")||"发送消息不能为空",type:"warning",showClose:!0});if(this.inputMessage.length>this.maxMessageLength)return void this.$message.warning(this.$t("chat.contentMax")||"超出发送内容大小限制,请删除部分内容(300字以内)");if(!this.stompClient||!this.stompClient.connected)return void this.handleDisconnect();const e=this.inputMessage.trim(),t=Date.now(),i=Math.random().toString(36).substr(2,9),n=`local_${t}_${i}`,o={id:n,content:e,type:1,sendEmail:this.userEmail,sendTime:(new Date).toISOString(),roomId:this.roomId,isLocalMessage:!0};this.addMessageToChat(o,!0);try{const t={content:e,type:1,email:this.receivingEmail,receiveUserType:2,roomId:this.roomId};this.stompClient.send("/point/send/message/to/customer",{},JSON.stringify(t)),this.inputMessage=""}catch(s){console.error("发送消息失败:",s),this.$message.error(this.$t("chat.failInSend")||"发送失败,请重试")}},disconnectWebSocket(){if(this.stopHeartbeat(),this.clearConnectionVerification(),this.stompClient)try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((e=>{this.stompClient.unsubscribe(e)})),this.stompClient.deactivate(),this.isWebSocketConnected=!1,this.connectionStatus="disconnected",this.reconnectAttempts=0,this.isReconnecting=!1}catch(e){console.error("断开 WebSocket 连接失败:",e)}},handleVisibilityChange(){document.hidden||(this.isWebSocketConnected||this.handleDisconnect(),this.updateLastActivityTime())},async markMessagesAsRead(){if(this.roomId&&this.userEmail)try{const t={roomId:this.roomId,userType:this.userType,email:this.userEmail};let i=0;const n=3;let s=!1;while(i{"user"===e.type&&(e.isRead=!0)})),s=!0):(console.warn(`标记消息已读失败 (尝试 ${i+1}/${n}):`,e),i++,isetTimeout(e,1e3*i))))}catch(e){i++,isetTimeout(e,1e3*i)))}s||(console.warn("标记消息已读失败,已达到最大重试次数"),this.updateUnreadMessages(0),this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)})))}catch(e){console.error("标记消息已读出错:",e),this.updateUnreadMessages(0),this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)}))}else console.log("缺少必要参数,跳过标记已读")},async loadHistoryMessages(){if(!this.isLoadingHistory&&this.roomId){this.isLoadingHistory=!0;try{const e=await(0,o.getHistory7)({roomId:this.roomId,userType:this.userType,email:this.userEmail});if(200===e?.code&&Array.isArray(e.data)){const t=this.formatHistoryMessages(e.data);t.length>0?(this.messages=t.sort(((e,t)=>new Date(e.time)-new Date(t.time))),await this.$nextTick(),setTimeout((()=>{this.scrollToBottom(!0)}),100)):this.messages=[{type:"system",text:this.$t("chat.noHistory")||"暂无历史消息",isSystemHint:!0,time:(new Date).toISOString()}]}else this.messages=[{type:"system",text:this.$t("chat.noHistory")||"暂无历史消息",isSystemHint:!0,time:(new Date).toISOString()}]}catch(e){console.error("加载历史消息失败:",e),this.$message.error(this.$t("chat.loadHistoryFailed")||"加载历史消息失败"),this.messages=[{type:"system",text:"加载历史消息失败,请重试",isSystemHint:!0,time:(new Date).toISOString(),isError:!0}]}finally{this.isLoadingHistory=!1}}},async loadMoreHistory(){if(!this.isLoadingHistory&&this.roomId){this.isLoadingHistory=!0;try{let e=null,t=0;const i=this.$refs.chatBody;if(i&&i.children&&i.children.length>0)for(let o=0;o!e.isSystemHint&&!e.isLoading)),s=await(0,o.getHistory7)({roomId:this.roomId,userType:this.userType,email:this.userEmail,id:n?.id});if(s&&200===s.code&&s.data&&Array.isArray(s.data)&&s.data.length>0){const n=this.formatHistoryMessages(s.data);if(n.length>0){const o=new Set(this.messages.map((e=>e.id)).filter((e=>e))),s=n.filter((e=>!o.has(e.id)));s.length>0?(this.messages=[...s,...this.messages],this.$nextTick((()=>{if(i&&e){let n=this.messages.findIndex((t=>t.id===e));if(-1!==n&&i.children[n]){const e=i.children[n].offsetTop;i.scrollTop=e-t}}}))):(this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()}))}else this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()})}else this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()})}catch(e){this.$message.error(this.$t("chat.loadHistoryFailed")||"加载历史消息失败,请重试")}finally{this.isLoadingHistory=!1}}},formatHistoryMessages(e){if(!e||!Array.isArray(e)||0===e.length)return[];const t=e.filter((e=>e&&e.id&&(e.content||2===e.type))).map((e=>({type:1===e.isSelf?"user":"system",text:e.content||"",isImage:2===e.type,imageUrl:2===e.type?e.content:null,time:"string"===typeof e.createTime?e.createTime:e.createTime?new Date(e.createTime).toISOString():(new Date).toISOString(),id:e.id,roomId:e.roomId,sender:e.sendEmail,isHistory:!0,isRead:!0}))).sort(((e,t)=>{if(e.id&&t.id){const i=parseInt(e.id)-parseInt(t.id);if(0!==i)return i}const i=new Date(e.time).getTime(),n=new Date(t.time).getTime();return i-n}));return console.log("✅ 格式化历史消息完成,数量:",t.length),t},async fetchUserid(e){try{const t=await(0,o.getUserid)(e);return t&&200==t.code?(this.receivingEmail=t.data.userEmail,this.roomId=t.data.id,this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)),t.data):(console.warn("获取用户ID未返回有效数据"),null)}catch(t){throw console.error("获取用户ID失败:",t),t}},updateMessageReadStatus(e){Array.isArray(e)&&0!==e.length?this.messages.forEach((t=>{t.id&&e.includes(t.id)&&(t.isRead=!0)})):this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)}))},onMessageReceived(e){try{const t=JSON.parse(e.body);if(this.markConnectionVerified(),99===t.type||t.content&&(t.content.includes("__SYSTEM_PING__")||t.content.includes("connection_test_ping")||t.content.includes("SYSTEM_PING")))return;this.handleIncomingMessage(t)}catch(t){console.error("处理消息失败:",t)}},handleIncomingMessage(e){const t=e.sendEmail===this.userEmail,i={id:e.id,sender:e.sendEmail,content:e.content,createTime:e.createTime,sendTime:e.sendTime,type:e.type,roomId:e.roomId,sendEmail:e.sendEmail,isImage:2===e.type,clientReadNum:e.clientReadNum,isLocalMessage:e.isLocalMessage||!1};if(t){const e=this.messages.findIndex((e=>{if(!e.isLocalMessage)return!1;const t=e.text===i.content,n=new Date(e.time),o=i.createTime||i.sendTime;if(!o)return t;const s=new Date(o),a=Math.abs(s-n),r=a<3e4;return t&&r}));if(-1!==e){const t=this.createMessageObject(i);return void this.$set(this.messages,e,{...this.messages[e],id:i.id,time:t.time,isLocalMessage:!1})}}if(!this.checkDuplicateMessage(i)&&(this.addMessageToChat(i,t),!t))if(this.isChatOpen&&this.isAtBottom())this.updateUnreadMessages(0);else{void 0!==e.clientReadNum?this.updateUnreadMessages(e.clientReadNum):this.updateUnreadMessages(this.unreadMessages+1);const t=this.createMessageObject(e);this.showNotification(t)}},checkDuplicateMessage(e){const t=e.time||e.createTime||e.sendTime;if(!t)return!1;const i=e.content,n=e.sendEmail,o=e.id;if(o&&this.messages.some((e=>e.id===o)))return!0;const s=n===this.userEmail;if(!s)return!1;const a=Date.now()-3e4,r=new Date(t).getTime();return this.messages.some((e=>{if(e.isLocalMessage)return!1;if("user"!==e.type||e.text!==i)return!1;const t=new Date(e.time).getTime(),n=Math.abs(t-r),o=t>a,s=n<3e4;return!(!o||!s)}))},createMessageObject(e){let t;return t=e.sendTime?"string"===typeof e.sendTime?e.sendTime:new Date(e.sendTime).toISOString():e.createTime?"string"===typeof e.createTime?e.createTime:new Date(e.createTime).toISOString():(new Date).toISOString(),{type:e.sendEmail===this.userEmail?"user":"system",text:e.content,isImage:2===e.type,imageUrl:2===e.type?e.content:null,time:t,id:e.id,roomId:e.roomId,sender:e.sendEmail,isRead:!1,isLocalMessage:e.isLocalMessage||!1}},addMessageToChat(e,t=!1){const i=this.createMessageObject(e);this.messages.push(i),this.$nextTick((()=>{t||e.isNewMessage?(this.scrollToBottom(!0,"new"),setTimeout((()=>this.scrollToBottom(!0,"new")),100),this.userViewHistory=!1):this.userViewHistory||(this.scrollToBottom(!1,"new"),setTimeout((()=>this.scrollToBottom(!1,"new")),100))}))},showNotification(e){"Notification"in window&&("granted"===Notification.permission?this.createNotification(e):"denied"!==Notification.permission&&Notification.requestPermission().then((t=>{"granted"===t&&this.createNotification(e)})))},createNotification(e){const t=new Notification(this.$t("chat.newMessage")||"新消息",{body:e.isImage?`[ ${this.$t("chat.pictureMessage")}]`||"[图片消息]":e.text,icon:"/path/to/notification-icon.png"});t.onclick=()=>{window.focus(),this.openChat(e.roomId)}},async openChat(e){this.isChatOpen=!0,this.isMinimized=!1,e&&(this.currentContactId=e,this.messages=this.cachedMessages[e]||[],this.markMessagesAsRead(e),await this.$nextTick(),this.scrollToBottom(!0,"new"))},async toggleChat(){this.fetchUserid({email:this.userEmail}),console.log("请求客服状态",this.userEmail);const e=this.isChatOpen;this.isChatOpen=!this.isChatOpen;const t=JSON.parse(localStorage.getItem("jurisdiction")||"{}");if("customer_service"!==t.roleKey&&"admin"!==t.roleKey)if(!e&&this.isChatOpen&&this.$nextTick((()=>{this.isAtBottom()&&this.markMessagesAsRead()})),this.isChatOpen)try{this.userEmail||await this.determineUserType(),this.isWebSocketConnected&&"disconnected"!==this.connectionStatus&&"error"!==this.connectionStatus?"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected?this.markConnectionVerified():this.startConnectionVerification():await this.connectWebSocket(this.userEmail),0===this.messages.length?await this.loadHistoryMessages():(await this.$nextTick(),setTimeout((()=>{this.scrollToBottom(!0,"new")}),100)),setTimeout((()=>{this.isChatOpen&&this.$refs.chatBody&&this.scrollToBottom(!0,"new")}),300)}catch(i){console.error("初始化聊天失败:",i)}else this.clearConnectionVerification();else{this.userType=2;const e=this.$i18n.locale;this.$router.push(`/${e}/customerService`)}},minimizeChat(){this.isChatOpen=!1,this.isMinimized=!0},closeChat(){this.isChatOpen=!1,this.isMinimized=!0},addSystemMessage(e){this.messages.push({type:"system",text:e,isImage:!1,time:(new Date).toISOString()})},handleAutoResponse(e){setTimeout((()=>{let t=this.$t("chat.beSorry")||"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。";for(const[i,n]of Object.entries(this.autoResponses))if(e.toLowerCase().includes(i.toLowerCase())){t=n;break}this.messages.push({type:"system",text:t,isImage:!1,time:(new Date).toISOString()}),this.isChatOpen||this.unreadMessages++}),1e3)},handleImageLoad(e){e&&e.isHistory||this.scrollToBottom(!0,"new")},scrollToBottom(e=!1,t="new"){if(!this.$refs.chatBody)return void console.warn("[DEBUG] scrollToBottom: chatBody不存在");const i=this.$refs.chatBody,n=(i.scrollTop,i.scrollHeight,i.clientHeight,()=>{i.scrollTop=i.scrollHeight});this.$nextTick((()=>{this.$nextTick((()=>{n(),e&&setTimeout((()=>{this.$refs.chatBody&&n()}),50)}))}))},formatTime(e){if(!e)return"";try{let t="";if("string"===typeof e)t=e;else{if(!(e instanceof Date))return String(e);t=e.toISOString()}if(t.includes("T")){const[e,i]=t.split("T");if(e&&i){const t=i.split(":").slice(0,2).join(":"),n=new Date,o=n.toISOString().split("T")[0],s=e;if(o===s)return`UTC ${this.$t("chat.today")} ${t}`;const a=new Date(Date.now()-864e5).toISOString().split("T")[0];return a===s?`UTC ${this.$t("chat.yesterday")} ${t}`:`UTC ${e} ${t} `}}const i=new Date(t);if(isNaN(i.getTime()))return t;const n=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),s=String(i.getUTCDate()).padStart(2,"0"),a=String(i.getUTCHours()).padStart(2,"0"),r=String(i.getUTCMinutes()).padStart(2,"0");return`UTC ${n}-${o}-${s} ${a}:${r} `}catch(t){return console.error("格式化时间失败:",t),String(e)}},formatTimeDivider(e){if(!e)return"";try{let t="";if("string"===typeof e)t=e;else{if(!(e instanceof Date))return String(e);t=e.toISOString()}if(t.includes("T")){const[e,i]=t.split("T");if(e&&i){const t=i.split(":").slice(0,2).join(":"),n=new Date,o=n.toISOString().split("T")[0],s=e;if(o===s)return`UTC ${this.$t("chat.today")} ${t}`;const a=new Date(Date.now()-864e5).toISOString().split("T")[0];return a===s?`UTC ${this.$t("chat.yesterday")} ${t}`:`UTC ${e} ${t} `}}const i=new Date(t);if(isNaN(i.getTime()))return t;const n=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),s=String(i.getUTCDate()).padStart(2,"0"),a=String(i.getUTCHours()).padStart(2,"0"),r=String(i.getUTCMinutes()).padStart(2,"0");return`UTC ${n}-${o}-${s} ${a}:${r} `}catch(t){return console.error("格式化分割条时间失败:",t),String(e)}},handleClickOutside(e){if(this.isChatOpen){const t=this.$el.querySelector(".chat-dialog"),i=this.$el.querySelector(".chat-icon"),n=this.$el.querySelector(".history-indicator");if(n&&n.contains(e.target))return;!t||t.contains(e.target)||i.contains(e.target)||(this.isChatOpen=!1)}},async handleImageUpload(e){if("connected"!==this.connectionStatus)return;const t=e.target.files[0];if(!t)return;if(!t.type.startsWith("image/"))return void this.$message({message:this.$t("chat.onlyImages")||"只能上传图片文件!",type:"warning"});const i=5242880;if(t.size>i)this.$message({message:this.$t("chat.imageTooLarge")||"图片大小不能超过5MB!",type:"warning"});else try{const e=new FormData;e.append("file",t);const i=await this.$axios({method:"post",url:"https://m2pool.com/api/pool/ticket/uploadFile",data:e,headers:{"Content-Type":"multipart/form-data"}});if(200!==i.data.code)throw new Error(i.data.msg||this.$t("chat.pictureFailed")||"发送图片失败,请重试");{const e=i.data.data.url;this.sendImageMessage(e)}}catch(n){console.error("图片处理失败:",n),this.$message.error("图片处理失败,请重试")}finally{this.$refs.imageUpload.value=""}},sendImageMessage(e){if(!this.stompClient||!this.stompClient.connected)return void this.handleDisconnect();const t=Date.now(),i=Math.random().toString(36).substr(2,9),n=`local_img_${t}_${i}`,o={id:n,content:e,type:2,sendEmail:this.userEmail,sendTime:(new Date).toISOString(),roomId:this.roomId,isLocalMessage:!0};this.addMessageToChat(o,!0);try{const t={type:2,email:this.receivingEmail,receiveUserType:2,roomId:this.roomId,content:e};this.stompClient.send("/point/send/message/to/customer",{},JSON.stringify(t))}catch(s){console.error("发送图片消息失败:",s)}},previewImage(e){this.previewImageUrl=e,this.showImagePreview=!0},closeImagePreview(){this.showImagePreview=!1,this.previewImageUrl=""},async handleRetryConnect(){try{this.connectionStatus="connecting",this.connectionError=null,this.showRefreshButton=!1,this.isReconnecting=!1,this.isConnectionVerified=!1,this.isHandlingError=!1,this.lastErrorTime=0,this.reconnectAttempts=0,this.clearConnectionVerification(),await this.forceDisconnectAll(),await new Promise((e=>setTimeout(e,500))),this.userEmail||await this.determineUserType(),await this.connectWebSocket(this.userEmail),"connected"===this.connectionStatus&&(0===this.messages.length&&await this.loadHistoryMessages(),this.$nextTick((()=>{this.scrollToBottom(!0)})))}catch(e){console.error("❌ 重试连接失败:",e),this.connectionStatus="error",this.isReconnecting=!1,e.message&&(e.message.includes("handshake")||e.message.includes("503")||e.message.includes("网络"))?(this.connectionError=this.$t("chat.networkAnomaly")||"网络连接异常,请稍后重试",this.showRefreshButton=!1):(this.connectionError=this.$t("chat.abnormal")||"连接异常,请重试",this.showRefreshButton=e.message&&e.message.includes("1020"))}},refreshPage(){window.location.reload()},startHeartbeat(){this.stopHeartbeat(),this.lastHeartbeatTime=Date.now(),this.heartbeatInterval=setInterval((()=>{const e=Date.now();if(e-this.lastHeartbeatTime>this.heartbeatTimeout&&"connected"===this.connectionStatus&&this.stompClient&&this.stompClient.connected){if(this.stompClient.ws.readyState===WebSocket.OPEN)return void(this.lastHeartbeatTime=e);this.handleDisconnect()}}),this.heartbeatCheckInterval)},stopHeartbeat(){this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null)},handleLoginClick(){this.isChatOpen=!1;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},parseSocketError(e){let t="";if("string"===typeof e?t=e:e&&e.message?t=e.message:e&&e.body&&(t=e.body),t.includes("ERROR message:")){const e=t.split("ERROR message:")[1];if(e&&e.match(/^\d+/)){const i=e.match(/^(\d+)(.*)$/);if(i){const e=i[1],n=i[2]||"";return{code:e,message:n.trim(),original:t}}}}if(t.includes(",")){const e=t.split(",");if(e.length>=2){const i=e[0].trim(),n=e.slice(1).join(",").trim();return{code:i,message:n,original:t}}}const i=t.match(/^(\d+)(.*)$/);if(i){const e=i[1],n=i[2].trim();return{code:e,message:n,original:t}}return{code:null,message:t,original:t}},isConnectionLimitError(e){if(!e)return!1;const t=String(e),{code:i,message:n}=this.parseSocketError(t);if("1020"===i)return!0;const o=n.toLowerCase(),s=o.includes("连接数已达上限")||o.includes("本机连接数已达上限")||o.includes("本机连接已达上限")||o.includes("无法连接到已上线")||o.includes("请先关闭已有链接")||o.includes("maximum connections")||o.includes("connection limit")||o.includes("too many connections")||o.includes("1020");if(!s){if(t.includes("1020"))return!0;if(t.includes("ERROR message:1020"))return!0;if(t.includes("连接数上限")||t.includes("连接数已达上限"))return!0}return s},async handleConnectionLimitError(){this.connectionStatus="error",this.connectionError=this.$t("chat.connectionLimitError")||"连接数已达上限(超过10个窗口),请关闭一些窗口后重试",this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!1,this.$forceUpdate()},async forceDisconnectAll(){if(this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.activityCheckInterval&&(clearInterval(this.activityCheckInterval),this.activityCheckInterval=null),this.clearConnectionVerification(),this.stompClient){try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((e=>{try{this.stompClient.unsubscribe(e)}catch(t){}})),this.stompClient.connected&&this.stompClient.disconnect(),this.stompClient.ws&&this.stompClient.ws.readyState===WebSocket.OPEN&&this.stompClient.ws.close()}catch(e){}this.stompClient=null}this.isWebSocketConnected=!1,this.reconnectAttempts=0,this.connectionError=null},handleConnectionError(e){if(!e)return!1;let t;t="string"===typeof e?this.parseSocketError(e):e.message?this.parseSocketError(e.message):this.parseSocketError(e);const i=t.code;t.message||t.original;switch(i){case"1020":return!1;case"1021":return this.connectionError=this.$t("chat.serverBusy")||"服务器繁忙,请稍后刷新重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;case"1022":return this.connectionError=this.$t("chat.identityError")||"身份验证失败,请刷新页面重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;case"1023":return this.connectionError=this.$t("chat.emailError")||"用户信息获取失败,请刷新页面重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;default:return!1}},startConnectionVerification(){this.isConnectionVerified=!1,this.clearConnectionVerification(),"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected?this.markConnectionVerified():this.connectionVerifyTimer=setTimeout((()=>{this.isConnectionVerified||("connecting"===this.connectionStatus||"connected"===this.connectionStatus?this.handleConnectionTimeout():this.handleConnectionVerificationFailure())}),6e4)},markConnectionVerified(){this.isConnectionVerified||(this.isConnectionVerified=!0,this.clearConnectionVerification(),this.isHandlingError=!1,this.isReconnecting=!1,this.reconnectAttempts=0,this.connectionError=null,this.connectionStatus="connected",this.isWebSocketConnected=!0,this.$forceUpdate())},setupDebugMode(){document.addEventListener("keydown",(e=>{e.ctrlKey&&e.shiftKey&&"D"===e.key&&this.debugConnectionStatus()}))},debugConnectionStatus(){"connecting"===this.connectionStatus&&this.isConnectionVerified&&(console.warn("⚠️ 状态不一致:连接中但已验证"),this.connectionStatus="connected",this.$forceUpdate()),"connected"!==this.connectionStatus||this.isWebSocketConnected||(console.warn("⚠️ 状态不一致:已连接但WebSocket未连接"),this.connectionStatus="connecting",this.$forceUpdate())},clearConnectionVerification(){this.connectionVerifyTimer&&(clearTimeout(this.connectionVerifyTimer),this.connectionVerifyTimer=null)},handleConnectionVerificationFailure(){const e=Date.now();this.isHandlingError&&e-this.lastErrorTime<5e3||(this.isHandlingError=!0,this.lastErrorTime=e,this.clearConnectionVerification(),this.isWebSocketConnected=!1,this.connectionStatus="connecting",this.connectionError=this.$t("chat.reconnecting")||"正在重新连接...",setTimeout((()=>{if(this.isHandlingError=!1,this.stompClient)try{this.stompClient.disconnect()}catch(e){}this.connectWebSocket(this.userEmail).catch((e=>{this.isHandlingError=!1,this.connectionStatus="error",this.showRefreshButton=!0}))}),2e3))},handleConnectionTimeout(){const e=Date.now();if(!(this.isHandlingError&&e-this.lastErrorTime<5e3)){if(this.isHandlingError=!0,this.lastErrorTime=e,this.reconnectAttempts++,this.reconnectAttempts>=this.maxReconnectAttempts)return console.log("❌ 连接超时且已达最大重连次数,停止重连"),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError="连接超时,请刷新页面重试",void(this.showRefreshButton=!0);this.clearConnectionVerification(),this.forceDisconnectAll().then((()=>{this.connectionStatus="connecting",this.connectionError=this.$t("chat.connectionTimedOut")||"连接超时,稍后重试...",setTimeout((()=>{this.isHandlingError=!1,this.connectWebSocket(this.userEmail).catch((e=>{console.error("❌ 超时重连失败:",e),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.reconnectFailed")||"重连失败,请稍后重试",this.reconnectAttempts>=this.maxReconnectAttempts&&(this.showRefreshButton=!0,this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试")}))}),2e3)})).catch((e=>{console.error("❌ 强制断开连接失败:",e),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailed")||"连接处理失败,请稍后重试",this.reconnectAttempts>=this.maxReconnectAttempts&&(this.showRefreshButton=!0,this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试")}))}},isHandshakeError(e){if(!e||!e.message)return!1;const t=e.message.toLowerCase();return t.includes("handshake")||t.includes("websocket")||t.includes("unexpected response code: 200")||t.includes("unexpected response code: 404")||t.includes("unexpected response code: 500")||t.includes("unexpected response code: 502")||t.includes("unexpected response code: 503")||t.includes("connection refused")||t.includes("connection denied")||t.includes("connection reset")||t.includes("network error")||t.includes("connection failed")||t.includes("upgrade required")||t.includes("bad handshake")},handleHandshakeError(e){const t=Date.now();if(!(this.isHandlingError&&t-this.lastErrorTime<5e3)){if(this.isHandlingError=!0,this.lastErrorTime=t,this.isWebSocketConnected=!1,this.connectionStatus="error",this.isReconnecting=!1,e.message.includes("unexpected response code: 200")?this.connectionError=this.$t("chat.serviceConfigurationError")||"服务配置异常,请稍后重试":e.message.includes("unexpected response code: 404")?this.connectionError=this.$t("chat.serviceAddressUnavailable")||"服务地址不可用,请稍后重试":e.message.includes("unexpected response code: 500")?this.connectionError=this.$t("chat.server500")||"服务器暂时不可用,请稍后重试":e.message.includes("connection refused")?this.connectionError=this.$t("chat.connectionFailedService")||"无法连接到服务器,请稍后重试":this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请稍后重试",this.reconnectAttempts++,this.reconnectAttempts>=this.maxReconnectAttempts)return this.isHandlingError=!1,this.showRefreshButton=!0,void(this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试");setTimeout((()=>{this.isHandlingError=!1,this.connectionStatus="connecting",this.connectWebSocket(this.userEmail).catch((e=>{this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.reconnectFailed")||"重连失败,请稍后重试"}))}),3e3)}},handleWebSocketError(e){const t=Date.now();this.isHandlingError&&t-this.lastErrorTime<3e3||(this.isHandlingError=!0,this.lastErrorTime=t,this.isWebSocketConnected=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailedCustomer")||"连接客服系统失败,请检查网络或稍后重试",this.showRefreshButton=!1,setTimeout((()=>{this.isHandlingError=!1,this.handleDisconnect()}),1e3))},handleWebSocketClose(e){1e3!==e.code&&(this.isWebSocketConnected=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailedCustomer")||"连接客服系统失败,请检查网络或稍后重试",this.showRefreshButton=!1,setTimeout((()=>{this.isWebSocketConnected||this.handleDisconnect()}),1e3))},handleLogout(){this.disconnectWebSocket(),this.isChatOpen=!1,this.isMinimized=!0,this.messages=[],this.updateUnreadMessages(0),this.connectionStatus="disconnected",this.isWebSocketConnected=!1,this.userType=0,this.userEmail="",this.roomId="",sessionStorage.removeItem("chatGuestEmail"),this.lastConnectedEmail=null},async handleLoginSuccess(){this.disconnectWebSocket(),sessionStorage.removeItem("chatGuestEmail"),this.lastConnectedEmail=null,await new Promise((e=>setTimeout(e,100)));let e=0;const t=3;while(esetTimeout(t,500*e)))}},shouldAutoScrollOnNewMessage(){if(!this.isChatOpen)return!1;const e=this.$refs.chatBody;if(!e)return!1;const{scrollTop:t,scrollHeight:i,clientHeight:n}=e,o=Math.abs(i-(t+n)),s=o<100;return s},isAtBottom(){const e=this.$refs.chatBody;return!e||e.scrollHeight-e.scrollTop-e.clientHeight<2},handleChatBodyScroll(){this.$refs.chatBody&&(this.isAtBottom()?(this.userViewHistory=!1,this.markMessagesAsRead()):this.userViewHistory=!0)},scrollToBottomOnInit(){let e=0;const t=5,i=100,n=()=>{this.scrollToBottom(!0,"init"),e++,ee.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return t(e).replace(/\n/g,"
          ")}},beforeDestroy(){this.$bus.$off("user-logged-out",this.handleLogout),this.handleLogout(),document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.stompClient&&(this.stompClient.disconnect(),this.stompClient=null),this.disconnectWebSocket(),this.activityCheckInterval&&clearInterval(this.activityCheckInterval),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.clearConnectionVerification(),window.removeEventListener("online",this.handleNetworkChange),window.removeEventListener("offline",this.handleNetworkChange),document.removeEventListener("mousemove",this.updateLastActivityTime),document.removeEventListener("keydown",this.updateLastActivityTime),document.removeEventListener("click",this.updateLastActivityTime),window.removeEventListener("storage",this.handleStorageChange),this.stopHeartbeat(),this.$bus.$off("user-logged-in",this.handleLoginSuccess),this.$refs.chatBody&&this.$refs.chatBody.removeEventListener("scroll",this.handleChatBodyScroll)}}},57637:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.seo_zh=t.seo_en=void 0;n(i(94368));t.seo_zh={seo:{Home:"M2Pool 矿池,2024 全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。",miningAccount:"M2Pool 矿池的挖矿账户页面,为用户提供详尽的账户信息展示。在这里,您可以直观地查看该账户的收益情况,通过算力走势图清晰了解算力变化趋势,掌握矿工情况,同时还能深入查看收益及支付的详细信息,助力您更好地管理挖矿业务。",readOnlyDisplay:"M2Pool 矿池只读页面展示页,通过分享的链接地址及特定权限,清晰呈现矿池的收益状况、支付详情以及矿工信息等关键数据,让您随时了解矿池动态,把握挖矿收益走向。",reportBlock:"M2Pool 矿池报块页面,精准展示各个币种的幸运值、区块高度、出块时间、区块哈希值以及区块奖励等重要信息,为您提供全面的矿池运行数据,助力您做出更明智的挖矿决策。",rate:"M2Pool 矿池费率页面,清晰呈现各个币种的挖矿费率、收益计算模式以及起付额等关键信息,帮助您准确评估挖矿成本与收益,做出更合理的挖矿策略选择。",apiFile:"M2Pool 矿池 API 文档页面,为用户详细介绍如何通过 M2Pool 提供的 API 接口获取矿池及帐户算力。内容涵盖 API 的认证 token 生成、接口调用方法以及返回数据结构说明,助力开发者高效利用矿池数据资源。",AccessMiningPool:"M2Pool 矿池接入矿池页面,详细阐述每个币种接入矿池的具体步骤,为用户提供便捷的接入指南,轻松开启挖矿之旅。",ServiceTerms:"M2Pool 矿池服务条款页面,明确阐述关于使用 M2Pool 矿池网站的相关服务条款,确保用户在使用过程中清楚了解权利与义务,保障用户权益。",submitWorkOrder:"M2Pool 矿池提交工单页面,当您在使用矿池网站过程中遇到任何问题时,可在此提交工单。我们将尽快处理并回复,为您提供高效的技术支持服务。",workOrderRecords:"M2Pool 矿池工单记录页面,方便用户查看在 M2Pool 矿池网站提交的所有工单记录以及工单目前的处理状态,随时掌握问题解决进度。",userWorkDetails:"M2Pool 矿池用户工单详情页面,用户可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程。同时,也可以通过该页面继续对该工单进行补充提交。",alerts:"M2Pool 矿池矿机离线告警,根据不同账户用户自定义设置告警邮箱及备注信息,方便用户及时掌握矿机情况,提升用户体验。",personalCenter:"M2Pool 矿池个人中心,为用户提供全面的个性化管理功能。在这里,您可以便捷地设置挖矿账户、管理钱包地址、调整只读页面权限、强化安全设置,还能订阅挖矿报告,以及生成个人 API 密钥,满足您对矿池管理的多样化需求。",personalMining:"M2Pool 矿池个人中心挖矿账户设置页面,用户可在此设置各个币种的挖矿账户,方便地进行账户的添加、删除操作,以及绑定和修改钱包地址。",readOnly:"在 M2Pool 矿池的只读页面设置中,轻松添加只读权限,根据自选权限分享矿池信息。无论是管理员还是注册用户,都能便捷查看,随时掌握矿池动态。",securitySetting:"M2Pool 矿池个人中心安全设置页面,用户可在此修改密码并开启双重验证,为账户安全增添多一层保障。",personalAPI:"M2Pool 矿池个人中心 API 页面,用户可以选择默认本地 IP 或输入特定 IP 地址,自主选择权限并生成对应的 API KEY,方便进行个性化的数据管理。",miningReport:"M2Pool 矿池个人中心挖矿报告页面,用户可开启周报、月报订阅服务,固定时间将上周或上月的挖矿数据发送至用户注册邮箱,随时掌握挖矿成果。",personal:"显示用户信息、登录历史相关信息:时间、位置、ip、设备等",nexaAccess:"M2Pool 矿池 nexa 接入页面,详细介绍如何接入 M2Pool 矿池进行 nexa 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",grsAccess:"M2Pool 矿池 grs 接入页面,详细介绍如何接入 M2Pool 矿池进行 grs 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",monaAccess:"M2Pool 矿池 mona 接入页面,详细介绍如何接入 M2Pool 矿池进行 mona 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",dgbAccess:"M2Pool 矿池 dgb 接入页面,详细介绍如何接入 M2Pool 矿池进行 dgb 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",rxdAccess:"M2Pool 矿池 rxd 接入页面,详细介绍如何接入 M2Pool 矿池进行 radiant 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",allocationExplanation:"M2Pool 矿池分配及转账说明页面,详细介绍各币种的成熟条件、出块间隔及预估时间,何时将挖矿收益分配及转账至用户账户,提供用户清晰的了解分配及转账指南。",enxAccess:"Entropyx(enx) 接入页面,详细介绍如何接入 M2Pool 矿池进行 enx 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",alphAccess:"Alephium(alph) 接入页面,详细介绍如何接入 M2Pool 矿池进行 Alephium(alph) 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",broadcast:"M2Pool 矿池广播页面,管理员可在此查看已发布的广播信息,包括广播内容、发布时间、发布者等。",userManagement:"M2Pool 矿池用户管理页面,管理员可在此查看所有用户信息,包括用户名、邮箱、注册时间、登录时间等。",helpCenter:"M2Pool 矿池帮助中心页面,提供用户全面的帮助中心信息,包括新手入门、矿业数据、常见问题、公告中心、其他等。",announcements:"M2Pool 矿池公告中心页面,提供最新的矿池公告、系统通知、服务更新和重要信息,让用户及时了解矿池动态和政策变更。",documentManagement:"M2Pool 矿池文档管理页面,提供最新的文档信息,让用户及时了解文档信息。"}},t.seo_en={seo:{Home:"M2Pool mining pool, upgraded in 2024! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.",miningAccount:"The mining account page of M2Pool provides users with detailed account information display. Here, you can intuitively view the income situation of the account, clearly understand the trend of computing power changes through the computing power trend chart, grasp the situation of miners, and also deeply view detailed information on income and payments, helping you better manage mining business",readOnlyDisplay:"The M2Pool read-only page display page presents key data such as the mining pool's revenue status, payment details, and miner information clearly through shared link addresses and specific permissions, allowing you to stay informed of the mining pool's dynamics and grasp the direction of mining revenue at any time.",reportBlock:"The M2Pool mining pool block report page accurately displays important information such as lucky value, block height, block time, block hash value, and block rewards for each currency, providing you with comprehensive mining pool operation data to help you make more informed mining decisions.",rate:"The M2Pool mining rate page clearly presents key information such as mining rates, profit calculation models, and deductibles for various currencies, helping you accurately evaluate mining costs and profits and make more reasonable mining strategy choices.",apiFile:"The M2Pool API documentation page provides users with detailed instructions on how to obtain mining pools and account computing power through the API interface provided by M2Pool. The content covers API authentication token generation, interface calling methods, and return data structure explanations, helping developers efficiently utilize mining pool data resources.",AccessMiningPool:"The M2Pool mining pool access page provides a detailed explanation of the specific steps for each currency to access the mining pool, offering users a convenient access guide to easily start their mining journey.",ServiceTerms:"The M2Pool mining pool service terms page clearly explains the relevant service terms regarding the use of the M2Pool mining pool website, ensuring that users have a clear understanding of their rights and obligations during use and protecting their rights and interests.",submitWorkOrder:"M2Pool submission ticket page, where you can submit a ticket if you encounter any problems while using the mining pool website. We will handle and reply as soon as possible to provide you with efficient technical support services.",workOrderRecords:"The M2Pool mining pool work order record page facilitates users to view all work order records submitted on the M2Pool mining pool website, as well as the current processing status of work orders, and to keep track of the progress of problem resolution at any time.",userWorkDetails:"M2Pool user work order details page, where users can view the detailed information of submitted work orders, including submission time, detailed problem description, and processing procedures. At the same time, you can also continue to supplement and submit the work order through this page.",alerts:"M2Pool mining machine offline alarm, customized alarm email and note information according to different account users, convenient for users to timely grasp the mining machine situation and improve user experience.",personalCenter:"M2Pool personal center provides users with comprehensive personalized management functions. Here, you can easily set up mining accounts, manage wallet addresses, adjust read-only page permissions, strengthen security settings, subscribe to mining reports, and generate personal API keys to meet your diverse needs for mining pool management.",personalMining:"The M2Pool personal center mining account settings page allows users to set up mining accounts for various currencies, conveniently adding and deleting accounts, as well as binding and modifying wallet addresses.",readOnly:"In the read-only page settings of M2Pool mining pool, easily add read-only permissions and share mining pool information according to the selected permissions. Both administrators and registered users can easily view and keep track of the mining pool dynamics at any time.",securitySetting:"The M2Pool personal center security settings page allows users to change their password and enable two factor authentication, adding an extra layer of security to their account.",personalAPI:"The M2Pool personal center API page allows users to choose the default local IP or enter a specific IP address, autonomously select permissions, and generate corresponding API keys for personalized data management.",miningReport:"The M2Pool personal center mining report page allows users to subscribe to weekly and monthly reports, and send mining data from the previous week or month to the user's registered email at fixed times to keep track of mining results at any time.",personal:"Display user information, login history related information: time, location, ip, device, etc.",nexaAccess:"The M2Pool nexa access page provides detailed instructions on how to access the M2Pool mining pool for nexa currency mining, offering users a convenient access guide to easily start their mining journey.",grsAccess:"The M2Pool GRS access page provides detailed instructions on how to access the M2Pool mining pool for GRS currency mining, offering users a convenient access guide to easily start their mining journey.",monaAccess:"The M2Pool mona access page provides detailed instructions on how to access the M2Pool for mona currency mining, offering users a convenient access guide to easily start their mining journey.",dgbAccess:"The M2Pool dgb access page provides detailed instructions on how to access the M2Pool for dgb currency mining, offering users a convenient access guide to easily start their mining journey.",rxdAccess:"The M2Pool rxd access page provides detailed instructions on how to access the M2Pool for radial currency mining, offering users a convenient access guide to easily start their mining journey.",allocationExplanation:"The M2Pool mining pool allocation and transfer instructions page provides detailed information on the maturity conditions, block interval, and estimated time of each currency, as well as when to allocate and transfer mining profits to user accounts, providing users with a clear understanding of allocation and transfer guidelines.",enxAccess:"Entropyx (enx) access page provides detailed instructions on how to access the M2Pool mining pool for enx currency mining, offering users a convenient access guide to easily start their mining journey.",alphAccess:"The M2Pool Alephium(alph) access page provides detailed instructions on how to access the M2Pool mining pool for Alephium(alph) currency mining, offering users a convenient access guide to easily start their mining journey.",broadcast:"M2Pool mining pool broadcast page, where administrators can view published broadcast information, including broadcast content, release time, publisher, etc.",userManagement:"M2Pool mining pool user management page, where administrators can view all user information, including user name, email, registration time, login time, etc.",helpCenter:"M2Pool mining pool help center page, providing users with comprehensive help center information, including beginner's guide, mining data, frequently asked questions, announcement center, and other information.",announcements:"M2Pool mining pool announcement center page, providing the latest mining pool announcements, system notifications, service updates and important information, allowing users to stay informed of mining pool dynamics and policy changes.",documentManagement:"M2Pool mining pool document management page, providing the latest document information, allowing users to stay informed of document information."}}},58044:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(i(66848)),s=n(i(69522)),a=n(i(62806)),r=n(i(76466));o.default.use(s.default);const c=new s.default({locale:localStorage.getItem("lang")||"en",fallbackLocale:"en",messages:r.default,silentTranslationWarn:!0});a.default.i18n(((e,t)=>c.t(e,t)));t["default"]=c},58455:function(e,t,i){e.exports=i.p+"img/logicon.e79b64d3.png"},58538:function(e,t,i){i.r(t),i.d(t,{miningAccount_en:function(){return o},miningAccount_zh:function(){return n}});const n={mining:{totalRevenue:"总收入",totalExpenditure:"总支出",yesterdaySEarnings:"昨日收益",diggedToday:"今日已挖(预估)",accountBalance:"账户余额",paymentSettings:"付款设置",algorithmicDiagram:"算力图",computingPower:"矿机算力分布",miner:"矿工",profit:"收益",payment:"支付",all:"全部",onLine:"在线",offLine:"离线",hoursPower:"1小时算力",dayPower:"24小时算力",refusalRate:"拒绝率",settlementTime:"结算时间",remarks:"备注",withdrawalAddress:"提现地址",withdrawalTime:"提现时间",currency:"币种",withdrawalAmount:"提现金额",transactionId:"交易ID",pleaseEnter:"请输入...",power24H:"24小时算力图",logInFirst:"请先登录后查看该页面",totalRevenueTips:"本挖矿账户全部收益累计",totalExpenditureTips:"本挖矿账户已提现收益累计",yesterdaySEarningsTips:"昨日(utc)24小时收益,由于该收益需要5000个区块高度确认(大约为7天),因此该笔收益需要等待大约7天才可提现转账。",diggedTodayTips:"今日(utc)截止到目前的挖矿收益,该收益根据过去24小时算力预估,仅供参考,最终收益以PPLNS结算为准。",blockRewards:"仅指报块的固定奖励",transactionFeeExplanation:"仅指该区块支付给矿工打包交易的费用,和区块奖励一起组成最终的报块奖励",Withdrawable:"可提现余额",balanceReminder:"该数据不包含今日预估收益。可提现余额会在每天12点(utc)之前自动转入到您的挖矿钱包中。",mature:"成熟:已经被区块链确认的收益。未成熟:还未被区块链确认的收益。所有成熟和未成熟的收益都将暂时添加到您的账户余额中,但只有成熟的区块收益才能被提现。",submitTime:"最后提交时间",total:"合计",Minutes:"30分钟",state:"状态",date:"日期",settlementDate:"结算日期",paymentStatus:"支付状态",paymentInProgress:"支付中",paymentCompleted:"已支付",jurisdiction:"无访问权限!"}},o={mining:{totalRevenue:"Total revenue",totalExpenditure:"Total expenditure",yesterdaySEarnings:"Yesterday's earnings",diggedToday:"Excavated today (estimated)",accountBalance:"Account balance",paymentSettings:"Payment settings",algorithmicDiagram:"Algorithmic diagram",computingPower:"Distribution of mining machine computing power",miner:"miner",profit:"profit",payment:"payment",all:"whole",onLine:"on-line",offLine:"off-line",hoursPower:"1 hour of computing power",dayPower:"24-hour computing power",refusalRate:"Refusal rate",settlementTime:"Settlement time",remarks:"Remarks",withdrawalAddress:"Withdrawal address",currency:"Currency",withdrawalAmount:"Withdrawal amount",transactionId:"Transaction Id",pleaseEnter:"Please enter...",power24H:"24-hour calculation chart",logInFirst:"Please log in first and then view this page",totalRevenueTips:"Accumulate all profits of this mining account",totalExpenditureTips:"Accumulated withdrawal income of this mining account",yesterdaySEarningsTips:"Yesterday (UTC), there was a 24-hour return. As this return requires 5000 blocks to be highly confirmed (approximately 7 days), it will take about 7 days for the return to be withdrawn and transferred.",diggedTodayTips:"The mining income as of today (UTC) is estimated based on the computing power of the past 24 hours and is for reference only. The final income will be settled by PPLNS.",blockRewards:"Only refers to fixed rewards for block submissions",transactionFeeExplanation:"Only refers to the fee paid by the block to miners for packaging transactions, which, together with the block reward, constitutes the final block reward",Withdrawable:"Withdrawable balance",balanceReminder:"This data does not include today's estimated earnings. The withdrawable balance will be automatically transferred to your mining wallet before 12:00 UTC every day.",mature:"Mature: Earnings that have been confirmed by the blockchain. Unripe: Earnings that have not yet been confirmed by the blockchain. All mature and immature earnings will be temporarily added to your account balance, but only earnings from mature blocks can be withdrawn.",submitTime:"Final submission time",total:"Total",Minutes:"30 Minutes",state:"State",date:"date",withdrawalTime:"Withdrawal time",settlementDate:"Settlement date",paymentStatus:"Payment status",paymentInProgress:"default",paymentCompleted:"paid",jurisdiction:"No access permission!"}}},60508:function(e,t,i){e.exports=i.p+"img/workAdministration.d8f96ac7.svg"},62277:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(99945),o=i(20074),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"7e1a768d",null),c=r.exports},62901:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.home_zh=t.home_en=void 0;t.home_zh={home:{file:"文档",rate:"费率",home:"首页",accountCenter:"挖矿账户",personalCenter:"个人中心",power:"矿池算力",networkPower:"全网算力",networkDifficulty:"全网难度",miner:"在线矿工",algorithm:"算法",height:"当前高度",coinValue:"币价",blockHeight:"区块高度",blockingTime:"出块时间",blockHash:"区块哈希值",blockRewards:"区块奖励",transactionFee:"交易费",CurrencyPower:"矿池算力",hour:"1小时",day:"1天",realTime:"实时",lucky3:"3日幸运值",lucky7:"7日幸运值",lucky30:"30日幸运值",lucky90:"90日幸运值",luckyValue:"幸运值",reportBlock:"最新报块",computingPower:"矿池算力",rejectionRate:"拒绝率",onlineMiners:"在线矿工",miningMachineComputingPower:"矿机算力分布",profitCalculation:"收益计算器",ConnectMiningPool:"接入矿池",Power:"算力",time:"时间",profit:"收益",everyDay:"每天",weekly:"每周",monthly:"每月",annually:"每年",currencyPrice:"币价",finallyPower:"总算力",minerSComputingPower:"矿工算力",acquisitionFailed:"数据获取失败,请稍后重试",calculatorTips:"该值根据当前全网算力的估算,可能与您的实际收益有差别,仅供参考",caution:"注意:",numberOfMiningMachines:"矿机台数",requestTimeout:"系统接口请求超时,请刷新重试",NetworkError:"网络连接异常,请刷新重试",mission:"我们的使命",missionText:"本矿池旨在为客户提供更稳定的网络服务,更高效的单位收益,更透明的分配机制,更可靠的技术服务。",service:"提供服务",APIfile:"API文档",rateFooter:"费率",userAssistance:"用户帮助",miningTutorial:"挖矿教程",aboutUs:"关于我们",businessCooperation:"商务合作",contactCustomerService:"联系客服",serviceTerms:"服务条款",submitWorkOrder:"提交工单",historicalAnnouncement:"历史公告",commonProblem:"常见问题",joinUs:"加入我们",MLogin:"登录",MRegister:"注册",MResetPassword:"重置密码",API:"API",accountSettings:"挖矿账户设置",poolTitle:"稳定领先高收益矿池",metaDescription:"M2Pool 矿池,全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。",metaKeywords:"M2Pool,矿池,挖矿,nexa,grs,mona,dgb,rxd,Mining Pool",appTitle:"M2pool - 稳定领先的高收益矿池",mode:"模式/费率",describeTitle:"提示:",view:"详情",describe:"奖励分配:1天/次,每日0时(utc+0), 转账:1天/次,每日4时(utc+0)起,具体取决于区块成熟条件",networkReconnected:"网络已重新连接,正在恢复数据...",networkOffline:"网络连接已断开,系统将在恢复连接后自动重试",helpCenter:"帮助中心",announcements:"公告中心",latestTitle:"最新公告",noData:"暂无公告",viewAll:"查看所有",articles:"篇文章",allocationExplanation:"矿池分配及转账规则",loadingContent:"正在加载内容...",noContent:"暂无内容",unknownType:"未知类型",other:"其他"}},t.home_en={home:{file:"File",rate:"Rate",accountCenter:"Mining account",personalCenter:"Personal Center",power:"Mining Pool computing power",networkPower:"Full network computing power",networkDifficulty:"Network wide difficulty",miner:"Online miners",algorithm:"algorithm",height:"Current height",coinValue:"Coin value",blockHeight:"block height ",blockingTime:"Blocking time",blockHash:"Block hash value",blockRewards:"Block rewards",transactionFee:"Transaction fee",CurrencyPower:"Mining pool computing power",hour:"Hour",day:"Day",realTime:"Real time",lucky3:"3-day lucky value",lucky7:"7-day lucky value",lucky30:"30 day lucky value",lucky90:"90 day lucky value",luckyValue:"Lucky value",home:"Home",reportBlock:"Latest report block",computingPower:"Mining pool computing power",rejectionRate:"Rejection rate",onlineMiners:"Online miners",miningMachineComputingPower:"Distribution of mining machine computing power",profitCalculation:"Profit Calculator",ConnectMiningPool:"Connect Mining Pool",Power:"Computing power",time:"Time",profit:"Profit",everyDay:"Per day",weekly:"Weekly",monthly:"Monthly",annually:"Annually",currencyPrice:"Currency Price",finallyPower:"total computational power",minerSComputingPower:"miner's arithmetic",acquisitionFailed:"Data acquisition failed, please try again later",calculatorTips:"This value is estimated based on the current computing power of the entire network and may differ from your actual income. It is for reference only",caution:"Caution:",numberOfMiningMachines:"Number of mining machines",requestTimeout:"System interface request timed out, please refresh and retry",NetworkError:"Network connection is abnormal, please refresh and try again.",mission:"Our Mission",missionText:"This mining pool aims to provide customers with more stable network services, more efficient unit revenue, more transparent allocation mechanism, and more reliable technical services.",service:"Provide Services",APIfile:"API Documentation",rateFooter:"Rate",userAssistance:"User Help",miningTutorial:"Mining Tutorial",aboutUs:"About Us",businessCooperation:"Business Cooperation",contactCustomerService:"Contact Customer Service",serviceTerms:"Service Terms",submitWorkOrder:"Submit WorkOrder",historicalAnnouncement:"Historical Announcement",commonProblem:"Common Problem",joinUs:"Join Us",MLogin:"Login",MRegister:"Sign Up",MResetPassword:"Reset password",API:"API",accountSettings:"Mining account",poolTitle:"Stable leading high-yield mining pool",metaDescription:"M2Pool mining pool, newly upgraded! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.",metaKeywords:"M2Pool,mining pool,mining,nexa,grs,mona,dgb,rxd,Mining Pool",appTitle:"M2pool - Stable leading high-yield mining pool",mode:"Mode/Rate",describeTitle:"Prompts:",view:"Details",describe:"Reward distribution: 1 day/times, daily at 0:00 (utc+0), transfer: 1 day/times, daily from 4:00 (utc+0), depending on block maturity conditions ",networkReconnected:"Network has been reconnected, recovering data...",networkOffline:"Network connection has been disconnected, the system will automatically retry after recovery",helpCenter:"Help Center",announcements:"Announcements",latestTitle:"Latest Announcements",noData:"No data",viewAll:"View all",articles:" articles",allocationExplanation:"Pool allocation and transfer rules",loadingContent:"Loading content...",noContent:"No content",unknownType:"Unknown Type",other:"Other"}}},65549:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApwAAACdCAYAAAAZiKgpAAAACXBIWXMAAAsSAAALEgHS3X78AAAXM0lEQVR4nO3d31UbSRbH8Zo5fscbAT0RgCNAHQFyBOCH1avlBGToBEa86mVEBIYIJCIwRLBNBlYE3lNdVyMhJNCf7qpb1d/POZyd3R1bQg3Sr2/duvXH79+/DQAAAMLqZSYzpvryrRyVpmzyMT8c+hf0MvPRGHMqXx+X/q9SvoHpoY+BBuTFrj/Uv8xk8MilAACgMZfGmO8BXt5rY8xVkw+wV+CUkNk1xvSNMSfv/LvWgzHmzhgzHpXm157PFbvKi/mNgL0KHfnTZ3u/jnkx/6fn+Q2FfE2r/5wMGr07AgAAcdp5Sb2XVSHTpuCjPb/jW/vnmy7dtk5efJRQ2ZGQuX+wPIy9uXiUrykhFACA7fSyKl8FqXCOSiUVTukrGNcQZC7sVy+rgmefiucB3LJ4V0rwb1aaPTp78TOSF89SAZ0SQAEAaKetAmcvqypm0wOqmuvY4NntZeZyVFbL7djGImTaSvNxBK/Z8fwmo/pvefEkP0tjekIBAGiHdwNnQ2Fzzv6dP6h2biEvLqWSGWqpvC4n8vVVqp9DCZ9cewAAEvVm4JTNQU2FzWW2+nXay0yX3s4lri+zL0Ezhmrmruz39Hf1lRe3EjyZagAAQGL+fOfb8RE252zV61Eqqu1mg2ZeXMkO8O+Jhs1V9qZjYvJiavKis9sfBQAAmm0MnLJTyvdGFBtup60Nna+Dpq+wr8kZwRMAgLSsDZyyI70f6DttZ+h0PZptDpqrloMnVW8AACK2qcJ5yJzNOsxDZ4jjnfyyYcqGKmP+IWiuZYPnT5MXY+lpBQAAkXkVOCXkXSj4Nmz4upONS+lZLJ//TGDnuQ8XVQU4L0JV3gEAwJ7WVTgbnTS/oxMZm5MWt0Q8DXSaQMyOZEf7VOaRAgCACLwInEtnpGtyIcdppmFR1dRyMlCMzqqjM13fKwAAUG61wtlV2kd4FX0/p1tCp6pZn6Oq75XeTgAA1FsXODU6knPc4+SW0B/p1WzERdWewE52AADU+jdwynL6ueLnehbl0rpb9p22ZHh7KCcSOrXeMAEA0GrLFc4YhmxfRbVr3e2oZtyRH9W5/PR1AgCgT2yB80jZLvrNbG+hOyccftm+zvQmGwAAELHYAqf1Vf0GIhc2Ncwybauvcg0AAIACy4EzpjE9equchE0tLgidAADoUAXOXhZNdXPuQmWVk7CpDaETAAAFPshTiHHG5VDVGKf4wuZzdVTk4sus/LNlN2idrvzzx8iq4TZ0lmYyiKP3FwCABMUcOM9tZXZUViOHwtIfNmcymmlazQOdDHZ5ze7W/q9u7uWp9P52lI99+i6hk2onAAABzANnrEOzh8Gfuxt9pDFsPktYHJvJ4LH2v939nY//DuR3Z5vbivOl0gqo3b3+2MhrAQAA3jQPnLEeDXjSy8zlqAx0CpEbNK5t9NFtFcR9B6vJoJQbgKGEz76ET00zSKfVc5sMfil4LgAAtMZ8l3rM55QPgwyDd0vKWpZo7ZL5tTHmP2YyuAxexbPhczLom8nAXpcvUm3V4GhjiwAAAGjMPHDGfOyi/2HwefFRgkvo6t08aGbVphiNlTvbNzkZZIqC55nJCzYQAQDg0Z+JvNi+h8GPFYT0W9VBc9UieF5LUA7pu1SoAQCAB6kETuNtedttEjr38ljr2SphLkvn8fUiuvFENuw9BH4m7FgHAMCTP3tZtDvUV501PsDebYYJuRx7U4W13cYa6eN6PO21+haw2nkiNw8AAKBhHyLeob7OuOENUMNAfZuzatd3anMkJwO7o30q/bAhWhSuqhmqCe5al410tA3U53FUmuh+TqSgkNJ7vE+/RqWJcoyatJjFvBk4KBXzvRP0IbFv6biXmf6orIJhE4Yy5Nxn6JxVj5nq/Ej7fbl+ymmA+Z3zDWdJVDqlwn8ZwSD+KPWyqp3F/pyOtX4gyc9AV34GYjoRTKWei2wPclN8NypfnMSmhgTMrnydtf26HUqu+/z33V53ppvU4I//Hv+2b0yT6L+TBRvQssaqEW5Z/c7Tm/mThM12zI0Md2LTXzJHNEpSxRryQeOV/TDqa/ggkmr2pdw4caPRLBs+r7TccEjQvIrsWOUYzeZzppte6ehl1fX8HuA1uh6VzbYMprRpaO5IfjCa4YJJR3aJN6ldYdNUr+2lh9d1nWjHJMmb00/Cpnc22P3oZWYaZA6w6GVVRetRDqAgbDbP/p5Nepm5C3ndzeJ3/3+ETS+OJASW8rpjDylWOOc+Nd5/kxeX1ZGJ9Wtf2FwWptIZVZVTPuyGfNioULW9+Oz3k+s/Djwxo+28X3ezuPYhWpCwYD+jL5u49lQ449RclXPObeL5VPNO61m1PNbm4xddpfPJ86Neen68Q4VqP8Brtvox9TXxYylwEDbDml93b+8d8jNWEjaDO5Fr3+xknMSkHDjPZLmpWW4zT1bjXMl0NwjtpuP5ZKJoNg71supmirChi5fQSXVLHXvd//Fxs7FU1Q59wh2cI2mvaD5nJCLlwGm8VDlNFTp/yVzJmwP/pm+ETeEqvD5/kY+kRUI1uaP+qv15tlR1Vn/DvX2ETZ189PL62qyK3YwTmmfeqNQD57HXBt/JoC9nhu+zxP5QzaXE8uv5KMPhfYnhTpWGdd2Om7pGUtkmcOh01OTpZbJsz8ZAnY4kdDLv9h2pB06r7/UHwfV1dnbsQZxF2EPohwvhvo7BPDd5ofZNQ6qbfOjo91XG1dSGynYUzpvo6VvaIAi9TlKZ59wk34HTZ0/eXLNjktZxlTn7xnO/5Z8YxjwH0gOfv8iaq5zclMSj7p9ZKttxaOK9qkvfZhT8Frci5DtwhroDuPC+m8z1ddo3iut3/s1nMxnwYfIWF+B9zefUHDhpTo9HbddKqqVUtuNw3kDooHIWhyOKAm/zGjjlVA5fy6OrwoQ6Fybf6uskbG6nX/P4qU1U7v6WpnSqHPE4rnEjAR9icanzZuMjfbtR4Xf1DSF6OEPdrZ35nJf2wqKvczUwPcv/h/dfw1+yS7N5eaFxthpLNfGpq4+TWX9xqXPHMruf48LNwRu8B06ZzH/o+KB9XQXrsXDLwqcrm4mobu7G1+ul8QOeD5741HXNuPZxqfN6cbMRGYbBbxZql/qVp+XRVcdB+2EW57A/yRgkqpu7cK/fthuxDqHxA54KZ3vRSgEgekEC56g0vwJW9/p1jyzZiVsa7tDrsTcfy+rcoQIAUKNgczhHZTWqyPd52SbImKRVbgc7Y5D24yNwHmmexwkAQGxCD34PtbzdyIBeeOAqxG1dVgcAIEofQj7pUVmdP3sfaBTNMIZQ0cuqit6malspX++Zbvlw5ajc6u8LberhZyZc2wUAAIkJGjhFP1DgPLFjkkZlc+ff1sTubv++4a/adhj0pj//Sm+3mGVbIn7JP9uw6qsv9dHDYxA4AQCoSfCz1KWi9t5pPE0ZRnAU1TDQkaDbOJHQa7/8BffJYNuK7SEInAAA1CR44BShQtWR9mPDAu/o39a9bY/w/JhN/7wQOAEAqImKwBk4VH0POiZpC7Lsr7XKOQsU2tnlDwBAJLRUOOehKtQ56zEMYNdaiR1GstEIAAAEomHT0DJb5ZwEeFx7znonwLLw1kaluetlVSDfdqOQD8+jMlhletrwa9HWJfWZp01ZoWj6/dFoeSNgajI5bQ7rpfy7z++9AqoCp4xJujXGXAR4+HEEISNUIN8k5dOS2vrB9Dgq051R28vMbwVPQ7O+5hvvQ/Sy6v1z64kdLZTs7z6/9zqoWVJf0g91znov07uBSAbVa1r6D7FRCAAAREhd4JQNRKGOnrzSNibJbmjqZVWwmyiqus0UVDfZRQ4AQCQ0VjiN9AWGGpOkYgSRDb69rAre/1PYf3IlNwYhETgBAIiEysApQlXQvvaysEdeytK+3fn9NeTz2OBpVAarQPsUamICAADJURs4pT8w1Id+kEBl+zR7WbVL8G+ptmqkpc+VXYcAAERCc4XTBKxy2jFJXV8PJn2ad9KneeLrcfdwq2KjUF6wnA4AQERUB04ZKH4T6OEbr3JKn+aV9GmeN/14Bwp1otA6QVseAADAbrRXOI1s4gk1JqmxDUS9rKrelhHNhdOwUWjOR+Bk5BMAADVRHzgl5ISqrPXrHpMkfZo2zPyjuE9zlbaNQt7aHQAAwOFiqHDOz1l/CvDQR3UtrUuf5lj6NGPb8KJnIH5efPTU55ry8Y4AAHgVReAUoULPxSFjkpb6NB8DHdl5qBtlJwr52kiW6nnSAAB4F03glNBzH+jh96pyyk73R+nTjGX5fNlMyyD8JX5uPCYDejgBAKhJTBVOE/Cc9TPZ5LMVWxGVPs0fio6j3Edf0UYhu5x+6en1ZOg7AAA1iipwypgkteesy/K57dP8mcBg8gfpndXEV7WV6iYAADWKrcJpJHCGOGf9+K3lXOnTLCPt01xHz0YhU1U3+x6rxXeeHgcAgFaILnAqGJP04pQbGXNURtynuY7dKKRnl7bbme6ruvlsJgN2qAMAUKMYK5w2dN4F6rM7mgcfGXM0lTFHMfdprtK4UWjsMcxrmjcKAEASPkT8TfSlV9K3C+nl1H4U5b4ulW0U6np+rbX1rQIAEL0oK5zGVTntsudtoIdPNWw+SPVYB7eU7jMA3prJgPmbAADULNrAKUKNSUqVr6Hq2/K5lG5YTgcAoBlRB05Z+tXWbxiraxk7pYObuemzkvzAZiEAAJoRe4XThs5QY5JS8qyqupcXpwGeDzcuAAA0JPrAKbQtBcdGz4lCi75Nn0vpzxxlCQBAc5IInHLOOscRvmR7W78YY/5659+7V7NRyIVNey1PPD8y1U0AABqUSoXTUOV84cYYk9mjKaUvc9Nu/pmaE4XChU1b3WQUEgAADUomcEqwulbwVEKyVd6/RuWrJfJNu/mHKjYKhQubhuomAADNS6nCaWSjSRvHJNlNP59HpemsC5ASPlc34TyPSgVhK2zYfKC6CQBA85IKnIHPWQ9hJuOMsi36MFfDePgWhLBh07TsZwUAgGBSq3Da0DluyQaiW+nT3KpKuRLG72WjVTjhw+Y35m4CAOBHcoFTpNyXZ8N0Pip3P/NcwvhT8Opm+LBpl9I5VQgAAE8+pPhC2+pdL6sqgBcKnk5dZjIv86Cew1FpToN+F26o+9TznM1l9nXsBnpsAABaKdUKp5EqZyobiK7nY44UPJf96QibHTMZ6BhyDwBASyQbOGW3duzLpvMxR1dqTgLaV150AodNU/Ww0rcJAIB3KVc4jWyoifGc9Wfp01w75ig6eWF7RieBw+Y1I5AAAAgj6cApYhp9Y5d8v8mYozTO9s4LG/r/Cfwsbs1kwIB3AAACST5wynzKGMYkzcccpbN7Oi9sRfF74GdhwybHngIAEFCSu9TXsFXOn+qelfMgu8/T6S0MP/Zo7omwCQBAeG1YUjcS5m4UPJVltk/zi/RpphQ2T9WETbsjHQAABNeKwCk0jUmyY45Oox9ztGqxE11H2GT8EQAAKrQmcMpYodAbR+6TGXO0Ki/6CnaiG8ImAAD6tKnCaWRDzlOAh56POeomMeZoldsc9LeCZ0LYBABAobZsGlo2r8T5YJfwr5Laeb5Mz+YgQ9jUp5dVEyLO2/46RGbSy9r+ErTWWS8zv9v+IrTY91528FSZ/7y1etuqCqeRc9ZlabtpN8mNOVrmNgeVSsKmHX10StjUo5eZj4RNAGiV7lvfbOsCp+g3uIHIjjn6NCqrUUdpBiB3clDoYyrnmLOp05tvPACAdr3vtzJwSh9l3RuIbJ/m5+TGHK3Ki6GcHETYxFsInADQLueyurVWWyuc8w1EdSytz5bGHN3V8PfpZPs188JWNb8qeX7fCJs6sZwOAK21sdjQxk1Dyy4P3PRyK5uC0tt5vsz1a46V9GtaX8xkkNYM07RQ3QSAdupKXniltRVOs5jN2dmj0vkgY44uWxA2u4p2ottq8mfCpnoETgBop43L6q0OnEZCp52PWVXNXB/mW+4laHZkt3va3DD3H0r6NWcy9ijdtoUEsJwOAK23tujQ9iX1f8kxk+NeVlU8V8/gtpuApsnuOl/l5mvaHtcLJc/oqfoBngzSriangeomALTb2mV1AucKqVymX73cJC/s2Oc7Rf2aDxI2mbEZBwInALRbtay+WqQjcGLBbQ7SMl/TMPYoLiynA8DBUimuvKpytr6HE8INc/+pKGwy9ig+VDeb0dQhFQDqd2hgTGWO96vPAwInbNgcyzB3DeY70dM8EjRtBM6X6vrgSPcgiTTV2ZLV3vauSNVw8EsqexVe7VYncLbZYpi7ls1Bz+xEjxPL6WvV9cHB70Nc6rxB4GYjLgcfJiOjFt+bmBOLF0UIAmdbuX5N+2Z2puQVsJuDTs1kwBtsnKhuvjSr8YhbAmc8ZnWeOCebLuo4EQ9+1HXtU5k1TeBsPdevaSubx0peihszGXTYiR41AudLdYaOUk41g35N3BxwwxGHZxmvWIdhIr3bL5bVCZxtkxdX0q+pZXOQPaayr+B5YE8sp69Vd4Xiqua/D82o/TpJiElliTVltV17qWynso/h32IEgbMtXL+mvVP+ruQ7tndvnzimMglUN196qPskMqlyfqvz70Ttbho86piJHbo91FjdrIzKKsA+JfDaEDhbxQ1znyqqQtl+zYx+zWQQOF9qpGI/KquKB0vrOj01WYWWG5ibyF+jVD03+B54mcDS+r/L6gTO1OVFRzYHaTk5iH7NhLCc/sqXGjcLrdNPpOqREhsILps++nhUcu0Vste+29S1l/eSTgKhswrkBM6U5YV9g5oo6dec0a+ZJKqbC7d1L6utkg+2DpVONez7Wqfhm4xlHUKnGk8+rn0ioZPAmTQ3zP1vJd/ik8zXpF8zPQROx1Y2vfTZ2dApj3Xt4/GwkX1fO/UYNrnh0OPe542GPE4m7WgxqpbVCZypcZuDHhUNc7+XsEm/ZmJYTq/Y/q286crmOrKp4FPEH0Ixux6VVdj0firM0g3HZ4499c7+vn8elc0to28i171TrRTGed27BM6UuGHupaJ+TXseepd+zWS1ubr5LFXNrO4d6buwlQ/5EMoZEN64mVQW/5KwH5QMmM+k0s3YpGY9Lf2+B52LKje3mQTPmK5794OCJ4E6uGHuWs5Dd7v2qGqmrm2B80GmPdz5XEbdhoTeqVSdu7Lseqro5jNWD3ITfxc6aKwjVTYbfq96WXW9L+W6nyqatRyjZ9lsO/99V3W+uVx3GzzHct3nv/OZogNdVp3/8d/j3x3ZWNK4UWn+UPOtpyQv7LiUr0q+owcJm1Q1a9TLqg8VHzNUH6RiBgBAbahwxsz2a7pjz7Sch35tJgNORAEAAC8QOGPl+jXHSpbMnqulnMkgWC8bAADQi01DMcqLrvSWaAib91W/EGETAABsQIUzNm6Yu5b5mnYX+lDB8wAAAIoROGPh+jWHSuZrsgsdAABsjSX1GORFJkvoGsLmrSyhEzYBAMBWqHBq5zYHTRXMVJvJxiB1s+gAAIBuBE7NdA1zt4H3h8kLBU/Fi5yNUAAA1IPAqVVejBWdhw4AALA3Aqc2bnOQlpFHAAAAB2PTkCauX/ORsAkAAFJC4NTC9WtOFR+8DwAAsBcCpwZ5cSWbg0LvRAcAAKgdPZwhuX5NuznovL0vAgAASB0VzlAW8zUJmwAAIGlUOEPIi44x5o4ldAAA0AZUOH3Li74xZkLYBAAAbUGF0yeGuQMAgBYicPrAMHcAANBiLKk3zW0OKgmbAACgrQicTXLD3H/SrwkAANqMwNmUvBjKMHcAAIBWo4ezbq5f0448OkvrGwMAANgPFc46LYa5EzYBAAAEgbMuedFlJzoAAMBrBM465MWVMeYHm4MAAABeo4fzEK5fc8gwdwAAgM0InPvKi0w2B7GEDgAA8AYC5z4Wm4NYQgcAAHgHPZy7Ypg7AADATgicu2CYOwAAwG6MMf8HTxugm9hytvMAAAAASUVORK5CYII="},65745:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(22489),i(61701);var n=i(73723),o=i(66848);const s={name:"HorizontalBroadcast",props:{broadcastData:{type:Array,default:()=>[]},showTitle:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},title:{type:String,default:""},scrollSpeed:{type:Number,default:1},scrollInterval:{type:Number,default:50},autoFetch:{type:Boolean,default:!0},lang:{type:String,default:"zh"},minItems:{type:Number,default:1},height:{type:String,default:"40px"},clickable:{type:Boolean,default:!1}},data(){return{internalBroadcastList:[],horizontalScrollTimer:null,horizontalDelayTimer:null,horizontalScrollOffset:0,isHorizontalScrolling:!0,isHovering:!1,wasScrollingBeforeHover:!0,isLoading:!1,hasError:!1}},computed:{finalBroadcastList(){let e=this.broadcastData.length>0?this.broadcastData:this.internalBroadcastList;const t=e.map((e=>{const t={...e};if("string"===typeof t.buttonContent&&t.buttonContent.trim()?t.buttonContent=t.buttonContent.split(/[,,]\s*/).map((e=>e.trim())).filter((e=>e)):Array.isArray(t.buttonContent)||(t.buttonContent=[]),"string"===typeof t.buttonPath&&t.buttonPath.trim()?t.buttonPath=t.buttonPath.split(/[,,]\s*/).map((e=>e.trim())).filter((e=>e)):Array.isArray(t.buttonPath)||(t.buttonPath=[]),t.buttonContent.length>0&&t.buttonPath.length>0){const e=Math.min(t.buttonContent.length,t.buttonPath.length);t.buttonContent=t.buttonContent.slice(0,e),t.buttonPath=t.buttonPath.slice(0,e)}return t}));return t},shouldShowBroadcast(){return this.finalBroadcastList.length>=this.minItems&&!this.hasError},broadcastListForHorizontal(){const e=this.finalBroadcastList;if(0===e.length)return[];let t;return t=1===e.length?Array(3).fill().map(((t,i)=>({...e[0],id:e[0].id+"-copy-"+i}))):[...e,e[0]],t},horizontalScrollStyle(){return{transform:`translateX(-${this.horizontalScrollOffset}px)`,transition:this.isHorizontalScrolling?"none":"transform 0.3s ease"}}},watch:{broadcastData:{handler(e){e&&e.length>0&&this.resetScroll()},deep:!0,immediate:!0},scrollSpeed(e){this.horizontalScrollSpeed=e},scrollInterval(e){this.horizontalScrollInterval=e,this.isHorizontalScrolling&&this.restartScroll()}},mounted(){this.autoFetch&&0===this.broadcastData.length&&this.fetchBroadcastData(),this.$nextTick((()=>{this.startHorizontalScroll()}))},methods:{async fetchBroadcastData(){if(!this.isLoading)try{this.isLoading=!0,this.hasError=!1;const e=await(0,n.getBroadcast)({lang:this.lang||(this.$i18n?this.$i18n.locale:"zh")});e&&200===e.code&&Array.isArray(e.data)?(this.internalBroadcastList=e.data,this.resetScroll(),this.$emit("data-loaded",e.data)):(this.hasError=!0,this.$emit("error","获取广播数据失败"))}catch(e){console.error("获取广播数据失败:",e),this.hasError=!0,this.$emit("error",e)}finally{this.isLoading=!1}},startHorizontalScroll(){this.isHovering||this.finalBroadcastList.length<=1||(this.horizontalScrollTimer&&clearInterval(this.horizontalScrollTimer),this.isHorizontalScrolling=!0,this.horizontalScrollTimer=setInterval((()=>{this.horizontalScrollStep()}),this.scrollInterval))},stopHorizontalScroll(){this.wasScrollingBeforeHover=this.isHorizontalScrolling,this.isHovering=!0,this.horizontalScrollTimer&&(clearInterval(this.horizontalScrollTimer),this.horizontalScrollTimer=null),this.isHorizontalScrolling=!1},resumeHorizontalScroll(){this.isHovering=!1,this.wasScrollingBeforeHover&&this.finalBroadcastList.length>1&&setTimeout((()=>{this.isHovering||this.startHorizontalScroll()}),100)},handelJump(e){const t=this.$i18n.locale,i=e=>{if(!e||"string"!==typeof e)return void console.warn("无效的路径:",e);const i=e.trim();if(!i)return void console.warn("路径为空");let n;if("/"===i||""===i)n=`/${t}/`;else{const e=i.startsWith("/")?i.substring(1):i;n=`/${t}/${e}`}console.log("跳转路径:",n);try{this.$router.push(n)}catch(o){console.error("路由跳转失败:",o),window.location.href=n}};e?i(e):console.warn("未提供跳转路径")},startHorizontalScrollDelayed(){this.horizontalDelayTimer&&clearTimeout(this.horizontalDelayTimer),this.horizontalDelayTimer=setTimeout((()=>{this.resumeHorizontalScroll()}),1e3)},horizontalScrollStep(){if(!this.$refs.horizontalScrollContent)return;const e=this.$refs.horizontalScrollContent,t=e.scrollWidth,i=t/this.broadcastListForHorizontal.length*this.finalBroadcastList.length;this.horizontalScrollOffset+=this.scrollSpeed,this.horizontalScrollOffset>=i&&(this.horizontalScrollOffset=0)},resetScroll(){this.horizontalScrollOffset=0,this.$nextTick((()=>{this.finalBroadcastList.length>1&&this.startHorizontalScroll()}))},restartScroll(){this.stopHorizontalScroll(),this.$nextTick((()=>{this.startHorizontalScroll()}))},handleItemClick(e){this.clickable&&this.$emit("item-click",e)},refresh(){this.autoFetch?this.fetchBroadcastData():this.resetScroll()},togglePause(){this.isHorizontalScrolling?this.stopHorizontalScroll():this.resumeHorizontalScroll()},getStatus(){return{isScrolling:this.isHorizontalScrolling,isHovering:this.isHovering,currentOffset:this.horizontalScrollOffset,dataCount:this.finalBroadcastList.length,isLoading:this.isLoading,hasError:this.hasError}}},beforeDestroy(){this.horizontalScrollTimer&&clearInterval(this.horizontalScrollTimer),this.horizontalDelayTimer&&clearTimeout(this.horizontalDelayTimer),this.isHovering=!1,this.isHorizontalScrolling=!1}},a=()=>{(0,o.useCssVars)(((e,t)=>({fd811a88:e.height})))},r=s.setup;s.setup=r?(e,t)=>(a(),r(e,t)):a;t.A=s},66044:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(87579),o=i(49967),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"58290ecb",null),c=r.exports},66560:function(e,t,i){e.exports=i.p+"img/算法资源 24.983ac6e7.svg"},67069:function(e,t,i){e.exports=i.p+"img/mining.63661eb9.svg"},67698:function(e,t,i){e.exports=i.p+"img/计算器.bf2f4fbd.svg"},69218:function(e,t,i){e.exports=i.p+"img/难度.374a30f2.svg"},72498:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAACXBIWXMAAAsSAAALEgHS3X78AAACeUlEQVRYhcWX33HiQAzGv6QB6IDt4Ogg7uDoAL+cX0MqiNMB9+qXIx2QCs50YDpYOjgqIKOdb31Cif+QLIlmGMCrtX7SajXSzel0wqVSOGSVR633FQ5TAGsgfK8qDz/2vRdBiHEa+gHgACAXmMJhBaAEMFHqT6JbefxLAlE4OBpZ8tFRGdS/XwA0AB75X0A3QzC9EIXDAggfbbysPNaFQ86oRIA9QWseiRi/U68TwK2s26M6g6DHGQ3/VHpHvrTUHjEPVvzoo3ghjDdORNkTaFt5NAGCZ5rzrGFeFpV7z5aRWdAJDbQnUK3WZ2p9d/NrdpLNf/jgQGUxuu0zOgC0UBGNBh/kGLk+51rIHYEQ5b8AnisfvEkqhQuG7zWEgpVcON6qZy41AGXK78YARHvNrSo6U7s7kURjNqfa5zoSNimTQsgt6IBoIsQO/69capnxir8LZyMhMk8JoM+9B6KNxLXyoisf8GWR0N52rUmufGck2lz5lkjYXAkQV6wVgzUC70Qida0YrBEW4hq1YrBGWIgoSfJibI2wEKnzYlSNsBBRUt2QUTXCQtRaIYFEZ876STY0M3ZcsBCRePnZ5OT+2CDVZjk2Nm3n1kKwh3zm380nAxG78J3urAvXduBHBfOm254yfBM2ufmY4cXsX7O7FkNzgeBN0QCZrh1niUmDGRWl5fdsWscAZDzSpTLk2ck3BDhYgDeRMB5t1OzRGRXqlmxmwaIX80EPQL/t3NILoQws+KIJvcv1KEDvN6qtf6o8SjObtjNrl53BWbQjKnHqujfqB+bUoPcXQSgYHZUoYTblddOhH/T+QxAE0VEJZ2+uoORC0Bl9qwC8AjHhFndDIIoyAAAAAElFTkSuQmCC"},73723:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteBroadcast=r,t.dataInfo=d,t.getAddBroadcast=a,t.getBroadcast=s,t.listBroadcast=c,t.updateBroadcast=l;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/broadcast/find/data/by/id",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/broadcast/add",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/broadcast/delete",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/broadcast/get/list/by/page",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/broadcast/update",method:"post",data:e})}function d(e){return(0,o.default)({url:"manage/broadcast/find/data/info",method:"post",data:e})}},74431:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.personalCenter_zh=t.personalCenter_en=void 0;t.personalCenter_zh={personal:{miningAccount:"挖矿账户",readOnlyPage:"只读页面",securitySetting:"安全设置",personalCenter:"个人中心",miningReport:"挖矿报告",API:"API",add:"添加",delete:"删除",miningPool:"矿池",currency:"币种",remarks:"备注",operation:"操作",bindingWallet:"绑定付款钱包",addMiningPool:"添加挖矿账户",accountName:"账户名称",poolSelection:"币种选择",select:"请选择",remarks2:"备注(选填)",determine:"确 定",bindAddress:"付款设置",walletAddress:"钱包地址",Binding:"绑 定",establish:"创建",jurisdiction:"权限",account:"账户",readOnlyLink:"只读页面链接",setUp:"设置",miner:"矿工",profit:"收益",payment:"支付",loginPassword:"登录密码",accountSecurity:"用于保护账户安全。",setUp2:"已设置",modify:"修改",dualVerification:"双重验证",verificationInstructions:"用于添加、删除挖矿帐户和修改付款设置。",notEnabled:"未开启",Open:"开启",maintainPassword:"维护人员密码",maintenanceInstructions:"用于矿场维护人员登录帐户,使用此密码登录帐户时将隐藏“收益”和“帐户设置”页面。",deleteAccount:"删除账户",deleteDescription:"永久删除此主帐户及其子帐户。",Tips:"提示",enableVerificationDescription:"如需进行此操作,请先开启双重验证。",enableVerification:"开启双重验证",firstStep:"第一步",googleIdentity:"请使用您手机上的谷歌身份验证器(Google Authenticator)或其它兼容应用程序扫描下方二维码,也可手动输入以下16位密钥。",saveKey:"注意:请妥善保存密钥,避免被盗或丢失。",resetKeyDescription:"如遇手机丢失等情况,可通过该密钥恢复您的谷歌验证。如密钥丢失,需要提交工单通过人工客服重置,处理时间需7天。",nextStep:"下一步",step2:"第二步",verificationCode:"邮箱验证码",oneTimePassword:"双重验证动态口令",previousStep:"上一步",goOpenIt:"去开启",reasonForDeletion:"为了帮助我们优化服务,恳请您选择删除帐户的理由:",Cancel:"取 消",userName:"用户名",mailbox:"邮箱",phoneNumber:"手机号",mobilePhoneInstructions:" 用于添加或修改付款地址、修改登录密码,以及开启或修改维护人员密码。",loginHistory:"登录历史",time:"时间",loginResults:"登录结果",position:"位置",equipment:"设备",weekly:"周报",weeklyReportExplanation:"每个币种只能添加一份周报。开启后,每周二发送上周挖矿数据到您的注册邮箱。",weeklyReportTemplate:"查看周报模版",monthlyReport:"月报",monthlyReportExplanation:"每个币种只能添加一份月报。开启后,每月第二日发送上月挖矿数据到您的注册邮箱。",monthlyReportTemplate:"查看月报模版",addWeeklyReport:"添加周报",weeklyReportLanguage:"周报语言",weeklyReportCurrency:"周报币种",weeklyReportAccount:"周报账户",Submit:"提交",addMonthlyReport:"添加月报",monthlyReportLanguage:"月报语言",monthlyReportCurrency:"月报币种",monthlyReportAccount:"月报账户",nameDescription:"账号",pleaseEnter:"请输入..",pleaseEnter2:"输入搜索矿工",inputWalletAddress:"请输入钱包地址",remarksDescription:"请填写备注名,例如此只读页面链接分享给哪个合作伙伴",minimumPaymentAmount:"设置起付额",confirmSubmit:"确认提交",automaticWithdrawal:"是否自动提现",duplicateAccount:"账户名已存在,请重新填写",deleteConfirmation:"确认删除以下挖矿账户?",walletTips:"请确认填写钱包地址",PaymentAmountTips:"该币种起付金额不能小于",accountNumber:"请填写账号",selectCurrency:"请选择币种",invalidAddress:"钱包地址无效",yes:"是",no:"否",pleaseEnter3:"输入搜索账户",copySuccessful:"复制成功",copyFailed:"复制失败",confirm:"确 定",confirmSelection:"请确认勾选注意事项",pwd:"请输入登录密码",eCode:"请输入邮箱验证码",gCode:"请输入动态口令",copy:"复制",or:"或",accountSelection:"请选择账户",selectPermissions:"请选择只读权限",modify2:"修 改",accountFormat:"账户只能输入字母、数字、下划线,且不能以数字开头,长度不小于4位,不大于24位",close:"关闭",turnOffVerification:"关闭双重验证",Closed:"已成功关闭双重验证",day:"天",hour:"时",minute:"分",second:"秒",front:"前",loadingText:"拼命加载中...",deletePrompt:"确定删除勾选内容吗?",scanning:"(扫描`上一步`中的二维码获取最新口令)",apiKey:"API Key",ipAddress:"默认IP地址或者输入其他IP地址",defaultIp:"使用本机默认IP地址",ipAddressReminder:"请输入IP地址或勾选使用本机默认IP地址",permissionReminder:"请选择相关权限",minerAPI:"矿工",accountApi:"挖矿账户",miningPoolApi:"矿池",ipFormat:"请检查IP地址格式是否正确",screen:"筛选币种",workOrderRecord:"工单记录"}},t.personalCenter_en={personal:{miningAccount:"Mining account",readOnlyPage:"ReadOnly Page",securitySetting:"Security setting",personalCenter:"Personal Center",miningReport:"Mining report",API:"API",add:"Add",delete:"Delete",miningPool:"Mining pool",currency:"Currency",remarks:"Remarks",operation:"Operation",bindingWallet:"Bind payment wallet",addMiningPool:"Add mining account",accountName:"title of account",poolSelection:"Currency selection",select:"Please select",remarks2:"Remarks (optional)",determine:"determine",bindAddress:"Payment Settings",walletAddress:"Wallet address",Binding:"Binding",establish:"establish",jurisdiction:"Jurisdiction",account:"Account",readOnlyLink:"Read only page link",setUp:"Set up",miner:"miner",profit:"profit",payment:"payment",loginPassword:"Login password",accountSecurity:"Used to protect account security.",setUp2:"Set up",modify:"modify",dualVerification:"Dual verification",verificationInstructions:"Used for adding, deleting mining accounts, and modifying payment settings.",notEnabled:"Not enabled",Open:"open",maintainPassword:"Maintenance personnel password",maintenanceInstructions:'Used for mine maintenance personnel to log in to their account. When using this password to log in, the "Benefits" and "Account Settings" pages will be hidden.',deleteAccount:"Delete account",deleteDescription:"Permanently delete this main account and its sub accounts.",Tips:"Tips",enableVerificationDescription:"To perform this operation, please enable double verification first.",enableVerification:"Enable dual verification",firstStep:"The first step",googleIdentity:"Please use Google Authenticator or other compatible applications on your phone to scan the QR code below, or manually enter the following 16 digit key.",saveKey:"Be careful: Please keep the key properly to avoid theft or loss.",resetKeyDescription:"In case of phone loss or other situations, you can use this key to restore your Google verification. If the key is lost, a work order needs to be submitted for manual customer service reset, and the processing time takes 7 days.",nextStep:"next step",step2:"Step 2",verificationCode:"Email verification code",oneTimePassword:"Dual authentication dynamic password",previousStep:"Previous step",goOpenIt:"Go open it",reasonForDeletion:"To help us optimize our services, we kindly request that you choose the reason for deleting your account:",Cancel:"Cancel",userName:"User name",mailbox:"Mailbox",phoneNumber:"Cell-phone number",mobilePhoneInstructions:"Used to add or modify payment addresses, modify login passwords, and enable or modify maintenance personnel passwords.",loginHistory:"Login History",time:"Time",loginResults:"Login Results",position:"Position",equipment:"Equipment",weekly:"weekly",weeklyReportExplanation:"Only one weekly report can be added per currency. After activation, send last week's mining data to your registered email every Tuesday.",weeklyReportTemplate:"View weekly report template",monthlyReport:"Monthly report",monthlyReportExplanation:"Only one monthly report can be added per currency. After activation, send the mining data from the previous month to your registered email on the second day of each month.",monthlyReportTemplate:"View monthly report template",addWeeklyReport:"Add weekly report",weeklyReportLanguage:"Weekly Report Language",weeklyReportCurrency:"Weekly report currency",weeklyReportAccount:"Weekly report account",Submit:"Submit",addMonthlyReport:"Add monthly report",monthlyReportLanguage:"Monthly report language",monthlyReportCurrency:"Monthly report currency",monthlyReportAccount:"Monthly report account",nameDescription:"Account",pleaseEnter:"Please enter..",pleaseEnter2:"Enter search miner",inputWalletAddress:"Please enter the wallet address",remarksDescription:"Please fill in the note name, for example, which partner to share the read-only page link with",minimumPaymentAmount:"Minimum payment amount",confirmSubmit:"confirm Submit",automaticWithdrawal:"Whether to automatically withdraw funds",duplicateAccount:"The account name already exists, please fill it out again",deleteConfirmation:"Are you sure to delete the following mining accounts?",walletTips:"Please confirm to fill in the wallet address",PaymentAmountTips:"The fluctuation amount of this currency cannot be less than",accountNumber:"Please fill in the account number",selectCurrency:"Please select currency",invalidAddress:"Invalid wallet address",yes:"Yes",no:"No",pleaseEnter3:"Enter search account",copySuccessful:"Copy successful",copyFailed:"copy failed",confirm:"Confirm",confirmSelection:"Please confirm the selection of precautions",pwd:"Please enter your login password",eCode:"Please enter the email verification code",gCode:"Please enter the dynamic password",copy:"Copy",or:"Or",accountSelection:"Please select an account",selectPermissions:"Please select read-only permission",modify2:"Modify",accountFormat:"The account can only input letters, numbers, and underscores, and cannot start with a number. The length should not be less than 4 digits and not more than 24 digits",close:"close",turnOffVerification:"Turn off dual authentication",Closed:"Successfully disabled two factor authentication",day:"day",hour:"hours",minute:"minute",second:"second",front:"front",loadingText:"Desperately loading...",deletePrompt:"Are you sure to delete the selected content?",scanning:"(Scan the QR code from the `previous step` to obtain the latest password)",apiKey:"API Key",ipAddress:"Default IP address or enter another IP address",defaultIp:"Use the default IP address of this device",ipAddressReminder:"Please enter an IP address or check the option to use the default IP address on this device",permissionReminder:"Please select the relevant permissions",minerAPI:"miner",accountApi:"account",miningPoolApi:"pool",ipFormat:"Please check if the IP address format is correct",screen:"Filter currencies",workOrderRecord:"Work order record"}}},74910:function(e,t,i){e.exports=i.p+"img/费率.0ce18fa9.svg"},76466:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(i(41040)),s=n(i(12467)),a=i(87349),r=i(62901),c=i(58538),l=i(74431),d=i(43110),u=i(83536),h=i(79438),m=i(33859),p=i(46373),g=i(57637),f=i(42450),y=i(90444),v=i(42133),w=i(53724);t["default"]={zh:{...s.default,...a.userLang_zh,...r.home_zh,...c.miningAccount_zh,...l.personalCenter_zh,...d.AccessMiningPool_zh,...u.serviceTerms_zh,...h.api_zh,...m.workOrder_zh,...p.alerts_zh,...g.seo_zh,...f.chooseUs_zh,...y.ChatWidget_zh,...v.backendSystem_zh,...w.announcements_zh},en:{...o.default,...a.userLang_en,...r.home_en,...c.miningAccount_en,...l.personalCenter_en,...d.AccessMiningPool_en,...u.serviceTerms_en,...h.api_en,...m.workOrder_en,...p.alerts_en,...g.seo_en,...f.chooseUs_en,...y.ChatWidget_en,...v.backendSystem_en,...w.announcements_en}}},76994:function(e,t,i){e.exports=i.p+"img/lgout.189a539a.svg"},77738:function(e,t,i){e.exports=i.p+"img/lang.cef122f4.svg"},78628:function(e,t,i){e.exports=i.p+"img/grs.27ff84e3.svg"},79412:function(e,t,i){i.r(t)},79438:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.api_zh=t.api_en=void 0;t.api_zh={apiFile:{file:"M2pool API 文档",leftMenu:"API 文档 V1",survey:"概况",survey1:"用户可以通过 m2pool 提供的 API 接口,获取矿池、帐户的算力。",survey2:"本文档主要用于说明如何使用 m2pool 的 API接口,内容主要包括API的认证token生成以及API接口调用和返回数据结构。如果在调用 API 的返回值中,出现本文档中没有描述的字段,则说明这些字段为保留字段或是被弃用,请直接忽略。",apiAuthentication:"API 认证",apiAuthentication1:"查询 API 时需要提供由账号生产的具有对应权限的 token ,才能正常得到结果。用户可通过 m2pool 个人中心的",apiAuthentication5:"API页面",apiAuthentication6:"获取(请求 token 时可以根据需求自行勾选权限,可选权限分别为公共矿池数据查询接口调用权限、挖矿账户数据查询接口调用权限、矿机数据查询接口调用权限)。",apiAuthentication2:"在请求 API 时,将前面获取到的 token 放在 HTTP 请求Header 的API-KEY属性中即可完成认证。",apiAuthentication3:"请求API的IP要和获取API时的IP一致,且不能是本网站申明的禁止访问国家/地区的IP。",apiAuthentication4:"例如:",url:"示例url",explain:"说明",explain1:"获取某币种的矿池详情,包括矿池在线矿工数、最近7天的矿池算力、矿池当前算力、矿池最新高度、矿池费用、矿池提现起付额等",explain2:"获取某币种历史算力信息。start和end最多相差3个月",explain3:"当发生错误的时候,会返回给统一格式的数据",explain4:"错误描述",explain5:"当成功时返回同意格式的数据,数据具体字段见具体接口说明",explain6:"API 中 coin 字段可目前仅取值支持:nexa",miningPoolInformation:"矿池信息",miningPoolInformation1:"公共结构",miningPoolInformation2:"算力数据",name:"名称",type:"类型",remarks:"备注",Explain:"解释",powerStatistics:"算力统计时间",power:"算力",minersNum:"矿工数量数据",totalMiners:"总矿工数",onLineMiners:"在线矿工数",offLineMiners:"离线矿工数",overviewOfMiningPool:"矿池总览",jurisdiction:"所需权限",parameter:"请求参数",currency:"币种",response:"响应参数",serviceCharge:"矿池手续费",minimumPaymentAmount:"起付额",latelyPower24h:"最近七天算力(24h平均)",Power24h:"矿池最新算力(24h平均)",height:"矿池当前高度",currentMiners:"矿池当前矿工数",eachState:"各状态矿工数量",realTimePower:"矿池实时算力",averagePower30m:"当前30m平均算力",averagePower24h:"当前24h平均算力",Company:"单位",historyPower:"矿池总览历史算力",start:"开始时间",start2:"格式yyyy-MM-dd 与end相差最多三个月",end:"结束时间",end2:"格式yyyy-MM-dd 与star相差最多三个月",historyPower30m:"30m平均算力历史记录",historyPower24h:"24h平均算力历史记录",miningAccount:"挖矿账号信息",minerData:"矿工数量数据",stateData:"矿工状态数据",minerId:"矿工号",minerStatus:"矿工状态",minerStatus0:"0 代表在线",minerStatus1:"1 代表离线",minerStatus2:"2 代表异常状态",overviewOfMiners:"挖矿账号下矿工总览",accountApiKey:"该API-KEY绑定账号下的挖矿账号名",allMiners:"挖矿账号下所有矿工",realTimeAccount:"挖矿账号实时算力",account24h:"挖矿账号历史24h平均算力",account24h30m:"挖矿账号最近24h算力(30m平均算力)",average24h30m:"最近24h的30m平均算力",miningMachineInformation:"矿机信息",realTimeMiningMachine:"指定矿机实时算力",aCertainMiner:"挖矿账户下对应的某矿工号",miningMachineHistory24h:"指定矿机历史24h平均算力",realTimeMiningMachine24h30m:"指定矿机最近24h算力(30m平均算力)"}},t.api_en={apiFile:{file:"M2pool API documentation",leftMenu:"API documentation V1",survey:"survey",survey1:"Users can obtain the computing power of mining pools and accounts through the API interface provided by m2pool.",survey2:"This document is mainly used to explain how to use the API interface of m2pool, including the generation of authentication tokens for the API, API interface calls, and the return of data structures. If fields not described in this document appear in the return value of API calls, it indicates that these fields are reserved or abandoned, please ignore them directly.",apiAuthentication:"API certification",apiAuthentication1:"When querying the API, it is necessary to provide a token produced by the account with corresponding permissions in order to obtain normal results. Users can access the m2pool personal center through",apiAuthentication2:"When requesting an API, place the token obtained earlier in the API-KEY attribute of the HTTP request header to complete authentication.",apiAuthentication3:"The IP address requested for the API must be consistent with the IP address used to obtain the API, and cannot be the IP address of the prohibited country/region declared by this website.",apiAuthentication4:"For example:",url:"Example URL",explain:"explain",explain1:"Get the details of a mining pool for a certain currency, including the number of online miners in the pool, the computing power of the mining pool in the past 7 days, the current computing power of the mining pool, the latest height of the mining pool, mining pool fees, and the minimum withdrawal amount of the mining pool",explain2:"Obtain historical computing power information for a certain currency. The maximum difference between start and end is 3 months",explain3:"When an error occurs, data in a unified format will be returned",explain4:"Error description",explain5:"When successful, return data in the agreed format. Please refer to the specific interface instructions for the specific fields of the data",explain6:"The coin field in the API currently only supports values such as nexa",miningPoolInformation:"Mining Pool Information",miningPoolInformation1:"Public Structure",miningPoolInformation2:"Computing power data",name:"name",type:"type",remarks:"remarks",powerStatistics:"Computing power statistics time",power:"Computing power",minersNum:"Number of miners data",totalMiners:"Total number of miners",onLineMiners:"Number of online miners",offLineMiners:"Number of offline miners",Explain:"explain",overviewOfMiningPool:"Overview of Mining Pool",jurisdiction:"Required permissions",parameter:"Request parameters",currency:"currency",response:"Response parameters",serviceCharge:"Mining pool handling fee",minimumPaymentAmount:"Minimum payment amount",latelyPower24h:"Last seven days' computing power (24-hour average)",Power24h:"Latest computing power of mining pool (24-hour average)",height:"The current height of the mining pool",currentMiners:"The current number of miners in the mining pool",eachState:"Number of miners in each state",realTimePower:"Real time computing power of mining pool",averagePower30m:"Current average computing power of 30m",averagePower24h:"Current 24-hour average computing power",Company:"Company",historyPower:"Overview of Mining Pool Historical Computing Power",start:"start time",start2:"Format yyyy MM dd differs from end by up to three months",end:"End time",end2:"Format yyyy MM dd differs from star by up to three months",historyPower30m:"30m average computing power historical record",historyPower24h:"24-hour average computing power history record",miningAccount:"Mining account information",minerData:"Number of miners data",stateData:"Miner status data",minerId:"Miner ID",minerStatus:"Miner status",minerStatus0:"0 represents online",minerStatus1:"1 represents offline",minerStatus2:"2 represents abnormal state",overviewOfMiners:"Overview of miners under mining accounts",accountApiKey:"The mining account name under the API-KEY bound account",allMiners:"All miners under the mining account",realTimeAccount:"Real time computing power of mining accounts",account24h:"24-hour average computing power of mining account history",account24h30m:"Mining account's computing power in the past 24 hours (average computing power of 30m)",average24h30m:"The average computing power of 30m in the past 24 hours",miningMachineInformation:"Mining machine information",realTimeMiningMachine:"Specify the real-time computing power of the mining machine",aCertainMiner:"The corresponding miner account under the mining account",miningMachineHistory24h:"Specify the average computing power of the mining machine in the past 24 hours",realTimeMiningMachine24h30m:"Designated mining machine's computing power in the past 24 hours (average computing power of 30m)",apiAuthentication5:"API page",apiAuthentication6:"Obtain (When requesting tokens, you can check the permissions according to your needs, and the optional permissions are public mining pool data query interface call permission, mining account data query interface call permission, and mining machine data query interface call permission)."}}},79613:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAAhCAMAAAAxgsN7AAAAM1BMVEVMaXH////////////////////////////////////////////////////////////////x7/yuAAAAEHRSTlMAYKAwECDwQIDA0HDgsFCQfHx6EQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAihJREFUWIXFl9m2wyAIRR1wytD6/197VxQHFPtym5SnGozs6hGIEMKocL7EYGZ/hxBO/4LR81VzMRkuaew1OElIucVqQT6GcubR2fy6A7ks6GdQoATci1vGyW7bGILyKmEtLEnuYyEovobzhERdSoaXwuGk61tRoqkijsGUySgc22Rt3GTFOXvE0gOfUM46Vh04bN2eLQ7QJmHrY+UxG+ORH1Bi+g/Oxo1sIqQIR9kTTkpp08CynuulwL5kWJQ8N4czmyMouA+anO5o7pNH8B7Pouj8qFxo45O9XIqf77t8CEXkm1LFWU49s4XYxHI/Ch70G48EUVA0M0p3hJ6i+OZpU9OPMHoWKGLPD69LrKvKMGJ8FgXPJAgoWa3uEYn+BAo+Ve1KFuXkpADPoZQS3Uz2M9S0/o0oJHlZr/BV2UT0GEqfeBUIyDntnR/s8/p3otTMHVok1LBi1r8TBc/iaM0JlsK+PNb1MSP7QFGCr6YoyjF6Gor33lGUlMt8awdKqe0LdUXZe2n9M9vmPSMosO+1URFC2kEnBIXW/X+jRENRiKFgLW0mC8rQLGghNB/wUj/bPlx/UfejFQpgmjmGdr+g0PNJklSRsdaPjbYBeSesUMoHyDl+khWUvhs6VJ7lp2Ztwwslp+ZpQ002zwLFcTKhWvm+sShl94/QTP8CBdhDX1XmO1GAac9/g6L5m/cDFPY79RkUl4pCHUIrFINhGs6lp8vJ3zEhxB/YQnlvC83hegAAAABJRU5ErkJggg=="},83536:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.serviceTerms_zh=t.serviceTerms_en=void 0;t.serviceTerms_zh={ServiceTerms:{title:"服务条款内容",title1:"一、总则",clauseTotal1:"1.欢迎访问 M2pool 矿池网站(以下简称“本网站”)。使用本网站的服务(以下简称“服务”),即表示您同意遵守以下服务条款(以下简称“条款”)。",clauseTotal2:"2.请仔细阅读以下条款,如果您点击 “注册 ”按钮或查看、使用这些服务,即视为您已阅读并同意本服务条款及其所有附加条款。如果你不接受服务条款的限制,请不要查看或使用服务。",clauseTotal3:"3.我们保留随时修改这些条款的权利,修改后的条款将在网站上公布。您继续使用服务即表示您接受修改后的条款。",clauseTotal4:"4.我们希望您能定期查看本条款,以确保您已确认适用于您查看和使用的条款和条件。本条款及附加条款可供您查看,并可用于使用我们提供的任何服务,包括但不限于以下网站:https://www.m2pool.com/(以下简称 “本网站”)。",title2:"二、服务说明",clauseService1:"1.我们的服务旨在为用户提供数字货币挖矿相关的资源和支持,但不保证挖矿的收益或成功。",clauseService2:"2.服务可能会因维护、升级或其他原因而暂时中断,我们将尽力提前通知用户,但不对此类中断造成的损失负责。",clauseService3:"3.M2Pool 不向以下司法管辖区的个人或实体提供服务:阿富汗、白俄罗斯、中非共和国、刚果民主共和国、几内亚比绍、古巴、伊朗、伊拉克、朝鲜、利比亚、黎巴嫩、马里、叙利亚、委内瑞拉和津巴布韦。受限制的司法管辖区还包括M2pool选择不运营的任何国家/地区,包括但不限于阿尔及利亚、安哥拉、孟加拉国、中国、埃及、海地、科索沃、科威特、摩洛哥、俄罗斯、尼泊尔、索马里、南苏丹、苏丹、也门和新加坡。",clauseService4:" 通过访问和使用 M2Pool 服务,您声明并保证您不位于、不在上述任何国家/地区设立或不是上述任何国家的居民。M2Pool 保留自行决定限制或拒绝某些国家/地区提供服务的权利。如果 M2Pool 确定(自行决定)用户是指定国家/地区的居民,M2Pool 可能会冻结或终止这些帐户。",title3:"三、用户资格",clauseUser1:"1.您必须达到法定年龄并具备完全民事行为能力才能使用本服务。",clauseUser2:"2.您保证所提供的注册信息真实、准确、完整,并及时更新,您可以使用电子邮件地址我们允许的其他方式登录 M2Pool。如果您提供的注册信息不正确,我们将不承担任何责任。您将遭受任何直接或间接的损失和不利后果。",clauseUser3:"3.您应是具有完全行为能力和民事权利能力的法人、公司或其他组织。否则,您或您的监护人应承担一切后果。我们有权注销或永久中止您的账户,并要求您赔偿。",title4:"四、用户责任",clauseResponsibility1:"1.您应遵守所有适用的国家法律、法规等规范性文件及本规则的规定和要求,包括但不限于与数字货币挖矿相关的法律。不违反社会公共利益或公共道德,不损害他人合法权益,不偷逃应纳税款,不违反本规定及相关规则。如果您违反上述承诺并产生任何法律后果,您应自行承担所有法律责任,并确保我们免受任何损失。",clauseResponsibility2:"2.您不得利用本服务从事任何非法、欺诈、有害或侵犯他人权利的活动。",clauseResponsibility3:"3.您对自己的挖矿设备和网络连接负责,确保其符合相关要求并正常运行。",clauseResponsibility4:"4.您必须对您的M2Pool用户名和密码以及在您的用户名、M2Pool密码下发生的所有活动(包括但不限于信息披露和发布、在线点击同意或提交各种规则和协议、在线协议续签或购买服务、账户设置等)的保密性负责。",clauseResponsibility5:"5.如果任何人未经认证使用您的M2pool邮箱、账号等登录本网站,我们不对您因违反本条款而造成的任何损失负责。",title5:"五、费用与支付",clausePayment1:"1.我们可能会根据服务内容收取一定的费用,具体费用标准将在网站上公布。",clausePayment2:"2.您同意按照规定的支付方式和时间支付费用,逾期未支付可能导致服务暂停或终止。",clausePayment3:"3.您在使用本服务时所产生的应纳税额以及所有硬件、软件、服务或其他方面的费用均由您自行承担。",title6:"六、收益与分配",clauseProfit1:"1.挖矿收益将根据我们的分配机制进行分配,但不保证收益的稳定性和固定性。",clauseProfit2:"2.我们有权根据实际情况调整分配机制,但会提前通知用户。",title7:"七、数据与隐私",clausePrivacy1:"1.我们会收集和使用您在使用服务过程中产生的相关数据,但会严格遵守隐私政策保护您的隐私。",clausePrivacy2:"2.您同意我们对数据的收集、使用和处理,以提供和改进服务。",title8:"八、知识产权",clausePropertyRight1:"1.本网站的所有内容,包括但不限于商标、版权、专利等,均归本公司或相关权利人所有。",clausePropertyRight2:"2.未经授权,您不得复制、修改、传播或使用本网站的任何知识产权。",title9:"九、免责声明",clauseDisclaimer1:"1.对于因不可抗力、系统故障、网络问题等导致的服务中断或数据丢失,我们不承担责任。",clauseDisclaimer2:"2.对于您因使用本服务而产生的任何直接、间接、偶然、特殊或后果性的损失,包括但不限于挖矿收益损失、设备损坏等,我们不承担赔偿责任。",title10:"十、终止服务",clauseTermination1:"1.我们有权在以下情况下终止您的服务:违反本条款、法律法规、损害本公司或其他用户的利益。",clauseTermination2:"2.服务终止后,您的相关数据可能会被删除或保留,具体处理方式将根据法律法规和公司政策执行。",title11:"十一、法律适用与争议解决",clauseLaw1:"1.本条款受新加坡法律的管辖。",clauseLaw2:"2.如发生争议,双方应通过友好协商解决;协商不成的,可向有管辖权的法院提起诉讼。",loadingText:"正在加载文档内容...",noContent:"暂无自定义文档内容"}},t.serviceTerms_en={ServiceTerms:{title:"Content of Service Terms",title1:"1、 General Provisions",clauseTotal1:'Welcome to the M2pool mining pool website (hereinafter referred to as "this website"). By using the services of this website (hereinafter referred to as the "Services"), you agree to comply with the following terms of service (hereinafter referred to as the "Terms").',clauseTotal2:'2. Please carefully read the following terms. If you click the "Register" button or view or use these services, it is deemed that you have read and agreed to these terms of service and all its additional terms. If you do not accept the limitations of the terms of service, please do not view or use the service.',clauseTotal3:"3. We reserve the right to modify these terms at any time, and the modified terms will be published on the website. By continuing to use the service, you accept the revised terms.",clauseTotal4:'4. We hope that you can regularly review these terms to ensure that you have confirmed the terms and conditions applicable to your viewing and use. These terms and additional terms are available for your review and can be used to use any services we provide, including but not limited to the following websites: https://www.m2pool.com/ (hereinafter referred to as "this website").',title2:"2、 Service Description",clauseService1:"Our service aims to provide users with resources and support related to cryptocurrency mining, but we do not guarantee the profits or success of mining.",clauseService2:"2. The service may be temporarily interrupted due to maintenance, upgrades, or other reasons. We will do our best to notify users in advance, but we are not responsible for any losses caused by such interruptions.",clauseService3:"3.M2Pool does not provide services to individuals or entities in the following jurisdictions: Afghanistan, Belarus, Central African Republic, Democratic Republic of the Congo, Guinea Bissau, Cuba, Iran, Iraq, North Korea, Libya, Lebanon, Mali, Syria, Venezuela and Zimbabwe. Restricted jurisdictions also include any country/territory in which M2pool chooses not to operate, including but not limited to Algeria, Angola, Bangladesh, China, Egypt, Haiti, Kosovo, Kuwait, Morocco, Russia, Nepal, Somalia, South Sudan, Sudan, Yemen and Singapore.",title3:"3、 User Qualification",clauseUser1:"1. You must be of legal age and have full capacity for civil conduct to use this service.",clauseUser2:"2. You guarantee that the registration information provided is true, accurate, complete, and updated in a timely manner. You can log in to M2Pool using other methods allowed by our email address. If the registration information you provide is incorrect, we will not be held responsible. You will suffer any direct or indirect losses and adverse consequences.",clauseUser3:"3. You should be a legal person, company, or other organization with full capacity for conduct and civil rights. Otherwise, you or your guardian shall bear all consequences. We have the right to cancel or permanently suspend your account and demand compensation from you.",title4:"4、 User Responsibility",clauseResponsibility1:"1. You shall comply with all applicable national laws, regulations and normative documents, as well as the provisions and requirements of these rules, including but not limited to laws related to digital currency mining. Not violating the public interest or public morality, not harming the legitimate rights and interests of others, not evading taxes, and not violating these regulations and related rules. If you violate the above commitments and incur any legal consequences, you shall bear all legal responsibilities on your own and ensure that we are free from any losses.",clauseResponsibility2:"2. You are not allowed to engage in any illegal, fraudulent, harmful, or infringing activities using this service.",clauseResponsibility3:"3. You are responsible for your mining equipment and network connection, ensuring that it meets relevant requirements and operates normally.",clauseResponsibility4:"4. You are responsible for the confidentiality of your M2Pool username and password, as well as all activities that occur under your username and M2Pool password (including but not limited to information disclosure and publication, online click to agree or submit various rules and agreements, online agreement renewal or purchase of services, account settings, etc.).",clauseResponsibility5:"5. If anyone uses your M2pool email, account, etc. to log in to this website without authentication, we will not be responsible for any losses caused by your violation of these terms.",title5:"5、 Fees and Payment",clausePayment1:"We may charge a certain fee based on the service content, and the specific fee standard will be announced on the website.",clausePayment2:"2. You agree to pay the fees according to the prescribed payment method and time. Failure to pay on time may result in the suspension or termination of the service.",clausePayment3:"3. The taxable amount and all hardware, software, service or other expenses incurred by you when using this service shall be borne by you.",title6:"6、 Income and distribution",clauseProfit1:"1. Mining profits will be distributed according to our distribution mechanism, but we do not guarantee the stability and stability of the profits.",clauseProfit2:"2. We have the right to adjust the allocation mechanism according to the actual situation, but we will notify users in advance.",title7:"7、 Data and Privacy",clausePrivacy1:"1. We will collect and use relevant data generated during your use of the service, but we will strictly comply with the privacy policy to protect your privacy.",clausePrivacy2:"2. You agree to our collection, use, and processing of data to provide and improve services.",title8:"8、 Intellectual Property",clausePropertyRight1:"All content on this website, including but not limited to trademarks, copyrights, patents, etc., belongs to our company or relevant rights holders.",clausePropertyRight2:"2. Without authorization, you are not allowed to copy, modify, disseminate or use any intellectual property of this website.",title9:"9、 Disclaimer",clauseDisclaimer1:"We are not responsible for service interruptions or data loss caused by force majeure, system failures, network issues, etc.",clauseDisclaimer2:"2. We are not liable for any direct, indirect, incidental, special or consequential losses incurred by you as a result of using this service, including but not limited to mining revenue loss, equipment damage, etc.",title10:"10、 Termination of Service",clauseTermination1:"We have the right to terminate your service in the following circumstances: violation of these terms, laws and regulations, or damage to the interests of our company or other users.",clauseTermination2:"After the termination of the service, your relevant data may be deleted or retained, and the specific processing method will be implemented in accordance with laws, regulations, and company policies.",title11:"11、 Application of Law and Dispute Resolution",clauseLaw1:"1. This clause is governed by the laws of Singapore.",clauseLaw2:"2. In the event of a dispute, both parties shall resolve it through friendly consultation; If the negotiation fails, a lawsuit may be filed with a court with jurisdiction.",loadingText:"Loading document content...",noContent:"No custom document content"}}},84013:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(22016),o=i(54752),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"1a3f78b4",null),c=r.exports},84269:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("el-aside",{staticClass:"admin-sidebar",staticStyle:{height:"100vh",background:"#202940",width:"280px",padding:"0"}},[t("el-menu",{staticClass:"el-menu-vertical-demo",staticStyle:{border:"none",width:"280px"},attrs:{"default-active":e.activeIndex,"background-color":"#202940","text-color":"#fff","active-text-color":"#ffd04b"}},e._l(e.menuList,(function(i){return t("div",{key:i.id},[t("el-menu-item",{directives:[{name:"show",rawName:"v-show",value:!i.children,expression:"!item.children"}],staticStyle:{"padding-left":"20px !important"},attrs:{index:i.id},on:{click:function(t){return e.handleClick(i)}}},[t("i",{class:i.icon}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t(i.label)))])]),i.children?t("el-submenu",{attrs:{id:"el-submenu-bg",index:i.id}},[t("template",{slot:"title"},[t("i",{class:i.icon}),t("span",[e._v(e._s(e.$t(i.label)))])]),e._l(i.children,(function(i){return t("el-menu-item",{key:i.id,staticStyle:{"padding-left":"40px !important"},attrs:{index:i.id},on:{click:function(t){return e.handleClick(i)}}},[t("i",{class:i.icon}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t(i.label)))])])}))],2):e._e()],1)})),0)],1)},t.Yp=[]},84441:function(e,t,i){e.exports=i.p+"img/客服.b3d473b9.svg"},85857:function(e,t,i){e.exports=i.p+"img/mona.643bf599.svg"},87349:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.userLang_zh=t.userLang_en=void 0;t.userLang_zh={user:{login:"登 录",register:"去注册",Account:"邮箱",password:"密码",forgotPassword:"忘记密码",inputAccount:"请输入账号",inputPassword:"请输入密码",inputEmail:"请输入邮箱",accountReminder:"请确认账号输入格式是否正确(以字母开头,允许使用字母、数字、下划线,长度不小于3,不大于16位)",PasswordReminder:"请确认密码格式输入正确(应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位)",loginSuccess:"登录成功",inputCode:"请输入验证码",noPage:" 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。",canTFind:"找不到网页!",verificationCode:"验证码",obtainVerificationCode:"获取验证码",again:"s后重新获取",newUser:"新用户注册",confirmPassword:"确认密码",havingAnAccount:"已有账号?",loginExpired:"登录状态已过期",overduePrompt:"系统提示",Home:"首 页",signOut:"退出登录",codeSuccess:"已发送验证码",emailVerification:"请检查邮箱是否输入正确",passwordVerification:"用户密码长度必须介于 8 和 32 之间",secondaryPassword:"请再次输入您的密码",passwordFormat:"请确认密码格式输入正确",system:"系统提示",congratulations:"恭喜您的账号 注册成功!",passwordPrompt:"密码应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位",verificationCodeSuccessful:"验证码发送成功",noAccount:"没有账号?",resetPassword:"重置密码",newPassword:"确认密码",changePassword:"修改密码",returnToLogin:"返回登录",confirmPassword2:"确认两次密码输入一致",modifiedSuccessfully:"密码修改成功,请登录",verificationEnabled:"已开启验证",newPassword2:"新密码"}},t.userLang_en={user:{login:"Login",register:"Sign Up",Account:"Email",password:"Password",forgotPassword:"Forgot password",inputAccount:"Please enter an account",inputPassword:"Please enter the password",inputEmail:"Please enter your email address",accountReminder:"Please confirm if the account input format is correct (starting with a letter, allowing letters, numbers, and underscores, with a length of no less than 3 and no more than 16 digits)",PasswordReminder:"Please confirm that the password format is entered correctly (it should include uppercase and lowercase letters, numbers, and special characters, with a length of no less than 8 and no more than 32 bits)",loginSuccess:"Login successful",inputCode:"Please enter the verification code",noPage:" Sorry, the page you are looking for does not exist. Try checking for errors in the URL, then press the refresh button on the browser or try to find other content in our application.",canTFind:"Unable to find webpage!",verificationCode:"Code",obtainVerificationCode:"Obtain Code",again:"s again",newUser:"New user registration",confirmPassword:"Confirm password",havingAnAccount:"Existing account?",loginExpired:"Login status has expired",overduePrompt:"System prompt",Home:"Home",signOut:"Sign out",codeSuccess:"Verification code has been sent",emailVerification:"Please check if the email is entered correctly",passwordVerification:"Password length must be between 8 and 32",secondaryPassword:"Please enter your password again",passwordFormat:"Please confirm that the password format is entered correctly",system:"System prompt",congratulations:"Congratulations on the successful registration of your account!",passwordPrompt:"password Contains uppercase and lowercase letters, numbers, and special characters,Length not less than 8 and not more than 32",verificationCodeSuccessful:"Verification code sent successfully",noAccount:"Don't have an account?",resetPassword:"Reset Password",newPassword:"Confirm password",changePassword:"Change Password",returnToLogin:"Return to login",confirmPassword2:"Confirm that the two password inputs are consistent",modifiedSuccessfully:"Password changed successfully, please log in",verificationEnabled:"Verification enabled",newPassword2:"New Password"}}},87579:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"split-screen-editor"},[t("div",{staticClass:"editor-tools"},[t("div",{staticClass:"mode-switch"},[t("button",{staticClass:"mode-btn",class:{active:"edit"===e.editorMode},on:{click:function(t){e.editorMode="edit"}}},[t("i",{staticClass:"el-icon-edit"}),e._v(" 编辑 ")]),t("button",{staticClass:"mode-btn",class:{active:"preview"===e.editorMode},on:{click:function(t){e.editorMode="preview"}}},[t("i",{staticClass:"el-icon-view"}),e._v(" 预览 ")]),t("button",{staticClass:"mode-btn",class:{active:"split"===e.editorMode},on:{click:function(t){e.editorMode="split"}}},[t("i",{staticClass:"el-icon-s-unfold"}),e._v(" 分屏 ")])]),t("div",{staticClass:"tool-actions"},[t("span",{staticClass:"word-count"},[e._v(e._s(e.wordCount)+" 字")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-question"},on:{click:e.toggleUsageGuide}},[e._v(" "+e._s(e.showUsageGuide?"隐藏指南":"使用指南")+" ")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-full-screen"},on:{click:e.toggleFullscreen}},[e._v(" "+e._s(e.isFullscreen?"退出全屏":"全屏")+" ")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-upload",type:"warning",loading:e.publishLoading,disabled:!e.localContent.trim()},on:{click:e.handlePublish}},[e._v(" "+e._s(e.publishLoading?"发布中...":"发布")+" ")])],1)]),t("div",{staticClass:"editor-container",class:{fullscreen:e.isFullscreen}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:"preview"===e.editorMode?0:"split"===e.editorMode?12:24}},[t("div",{directives:[{name:"show",rawName:"v-show",value:"preview"!==e.editorMode,expression:"editorMode !== 'preview'"}],staticClass:"editor-panel"},[t("div",{staticClass:"panel-header"},[t("span",[t("i",{staticClass:"el-icon-edit"}),e._v(" 富文本编辑")]),t("div",{staticClass:"panel-actions"},[t("el-button",{attrs:{size:"mini",icon:"el-icon-arrow-right"},on:{click:e.insertBulletPoint}},[e._v(" 插入圆点 ")])],1)]),t("div",{staticClass:"editor-content"},[t("div",{ref:"editorContainer",staticClass:"tinymce-container"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.localContent,expression:"localContent"}],attrs:{id:e.editorId},domProps:{value:e.localContent},on:{input:[function(t){t.target.composing||(e.localContent=t.target.value)},e.handleContentChange]}})])])])]),t("el-col",{attrs:{span:"edit"===e.editorMode?0:"split"===e.editorMode?12:24}},[t("div",{directives:[{name:"show",rawName:"v-show",value:"edit"!==e.editorMode,expression:"editorMode !== 'edit'"}],staticClass:"editor-panel"},[t("div",{staticClass:"panel-header"},[t("span",[t("i",{staticClass:"el-icon-view"}),e._v(" 实时预览")]),t("div",{staticClass:"panel-actions"},[t("el-button",{attrs:{size:"mini",icon:"el-icon-document-copy"},on:{click:e.copyHtml}},[e._v(" 复制HTML ")])],1)]),t("div",{staticClass:"preview-content content-display",domProps:{innerHTML:e._s(e.previewContent)}})])])],1)],1),t("transition",{attrs:{name:"slide-fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showUsageGuide,expression:"showUsageGuide"}],staticClass:"usage-guide-panel"},[t("el-card",{attrs:{shadow:"never"}},[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[t("i",{staticClass:"el-icon-guide"}),e._v(" TinyMCE 富文本编辑器使用指南")]),t("el-button",{staticStyle:{float:"right",padding:"3px 0","margin-left":"10px"},attrs:{type:"text",icon:"el-icon-close"},on:{click:e.toggleUsageGuide}},[e._v(" 关闭指南 ")]),t("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text",icon:"el-icon-info"},on:{click:e.checkDemoEditorStatus}},[e._v(" 检查状态 ")])],1),t("div",{staticClass:"guide-content"},[t("div",{staticClass:"guide-section"},[t("h4",[e._v("💡 功能演示区域")]),t("p",{staticClass:"demo-description"},[e._v("在下方编辑器中直接尝试各种功能:")]),t("div",{staticClass:"demo-editor-container"},[t("div",{staticClass:"demo-editor",attrs:{id:e.demoEditorId}})]),t("div",{staticClass:"demo-tips"},[t("span",{staticClass:"tip-item"},[e._v("💡 提示:可以在此编辑器中直接尝试下方介绍的所有功能")])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("📝 基础文本编辑")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-refresh-left"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("撤销/重做")]),t("p",[t("kbd",[e._v("Ctrl + Z")]),e._v(" 撤销 | "),t("kbd",[e._v("Ctrl + Y")]),e._v(" 重做")]),t("span",{staticClass:"tips"},[e._v("快速回退或恢复编辑操作")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("strong",[e._v("B")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("字体样式")]),t("p",[t("kbd",[e._v("Ctrl + B")]),e._v(" 粗体 | "),t("kbd",[e._v("Ctrl + I")]),e._v(" 斜体 | "),t("kbd",[e._v("Ctrl + U")]),e._v(" 下划线")]),t("span",{staticClass:"tips"},[e._v("选中文字后使用快捷键或点击工具栏按钮")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🎨 格式与样式")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-s-grid"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("段落格式")]),t("p",[e._v("标题1-6、段落、预格式化文本")]),t("span",{staticClass:"tips"},[e._v('点击"格式"下拉菜单选择段落样式')])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("div",{staticClass:"color-icon"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("颜色设置")]),t("p",[e._v("字体颜色 "),t("span",{staticClass:"color-demo",staticStyle:{color:"#ff0000"}},[e._v("A")]),e._v(" | 背景颜色 "),t("span",{staticClass:"bg-demo"},[e._v("A")])]),t("span",{staticClass:"tips"},[e._v("选中文字后点击颜色按钮选择颜色")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-sort"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("文本对齐")]),t("p",[e._v("左对齐 | 居中 | 右对齐 | 两端对齐")]),t("span",{staticClass:"tips"},[e._v("将光标放在段落中,点击对应对齐按钮")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("📋 列表与缩进")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("span",{staticStyle:{"font-size":"18px"}},[e._v("•")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("无序列表(圆点)")]),t("p",[e._v("创建带圆点的项目列表")]),t("span",{staticClass:"tips"},[e._v('点击圆点按钮或使用"• 圆点"专用按钮')])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("span",{staticStyle:{"font-size":"16px"}},[e._v("1.")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("有序列表(数字)")]),t("p",[e._v("创建带数字编号的项目列表")]),t("span",{staticClass:"tips"},[e._v("点击数字列表按钮,自动生成编号")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-right"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("缩进控制")]),t("p",[t("kbd",[e._v("Tab")]),e._v(" 增加缩进 | "),t("kbd",[e._v("Shift + Tab")]),e._v(" 减少缩进")]),t("span",{staticClass:"tips"},[e._v("用于创建多层级列表结构")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🔗 插入与媒体")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-link"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("链接插入")]),t("p",[t("kbd",[e._v("Ctrl + K")]),e._v(" 插入链接")]),t("span",{staticClass:"tips"},[e._v("选中文字后按快捷键或点击链接按钮")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-picture"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("图片插入")]),t("p",[e._v("支持上传图片或插入图片链接")]),t("span",{staticClass:"tips"},[e._v("点击图片按钮,选择本地文件或输入URL")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-s-grid"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("表格插入")]),t("p",[e._v("创建和编辑表格数据")]),t("span",{staticClass:"tips"},[e._v("点击表格按钮选择行列数,右键编辑表格")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🛠️ 高级功能")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-search"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("搜索替换")]),t("p",[t("kbd",[e._v("Ctrl + F")]),e._v(" 查找 | "),t("kbd",[e._v("Ctrl + H")]),e._v(" 替换")]),t("span",{staticClass:"tips"},[e._v("快速查找和批量替换文本内容")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-view"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("源码编辑")]),t("p",[e._v("查看和编辑HTML源代码")]),t("span",{staticClass:"tips"},[e._v("点击代码按钮切换到HTML视图")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-full-screen"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("全屏编辑")]),t("p",[t("kbd",[e._v("F11")]),e._v(" 或点击全屏按钮")]),t("span",{staticClass:"tips"},[e._v("沉浸式编辑体验,"),t("kbd",[e._v("ESC")]),e._v("退出")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("⌨️ 快捷键汇总")]),t("div",{staticClass:"shortcuts-grid"},[t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("基础编辑")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + Z")]),t("span",[e._v("撤销")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + Y")]),t("span",[e._v("重做")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + A")]),t("span",[e._v("全选")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + C")]),t("span",[e._v("复制")])])])]),t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("格式化")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + B")]),t("span",[e._v("粗体")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + I")]),t("span",[e._v("斜体")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + U")]),t("span",[e._v("下划线")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + K")]),t("span",[e._v("插入链接")])])])]),t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("视图控制")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("F11")]),t("span",[e._v("全屏")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("ESC")]),t("span",[e._v("退出全屏")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + F")]),t("span",[e._v("查找")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + H")]),t("span",[e._v("替换")])])])])])]),t("div",{staticClass:"guide-section special-features"},[t("h4",[e._v("⭐ 专用功能说明")]),t("div",{staticClass:"special-function"},[t("div",{staticClass:"special-icon"},[t("span",[e._v("•")])]),t("div",{staticClass:"special-content"},[t("h5",[e._v("圆点插入专用按钮")]),t("p",[e._v('我们为您特别添加了"• 圆点"按钮,专门用于插入黑色圆点符号。')]),t("div",{staticClass:"usage-steps"},[t("span",{staticClass:"step"},[e._v("1")]),e._v(" 将光标定位到需要插入圆点的位置 "),t("span",{staticClass:"step"},[e._v("2")]),e._v(' 点击工具栏中的"• 圆点"按钮 '),t("span",{staticClass:"step"},[e._v("3")]),e._v(" 圆点自动插入,在分屏模式下立即可见 ")])])]),t("div",{staticClass:"special-function"},[t("div",{staticClass:"special-icon"},[t("i",{staticClass:"el-icon-s-unfold"})]),t("div",{staticClass:"special-content"},[t("h5",[e._v("分屏实时预览")]),t("p",[e._v("左边编辑,右边实时预览,完美解决圆点在预览时才显示的问题。")]),t("div",{staticClass:"usage-steps"},[t("span",{staticClass:"step"},[e._v("1")]),e._v(' 点击工具栏中的"分屏"按钮 '),t("span",{staticClass:"step"},[e._v("2")]),e._v(" 左侧编辑器,右侧实时预览 "),t("span",{staticClass:"step"},[e._v("3")]),e._v(" 圆点和格式化效果立即可见 ")])])])])])])],1)])],1)},t.Yp=[]},87596:function(e,t,i){e.exports=i.p+"img/LOGO.8ae69378.svg"},90444:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ChatWidget_zh=t.ChatWidget_en=void 0;t.ChatWidget_zh={chat:{title:"在线客服",welcome:"欢迎使用在线客服,请问有什么可以帮您?",placeholder:"请输入您的消息...",send:"发送",close:"关闭",inputPlaceholder:"请输入您的问题...",onlyImages:"只能上传图片文件!",imageTooLarge:"图片大小不能超过5MB!",imageReceived:"已收到您的图片,我们会尽快处理您的问题。",networkError:"网络连接已断开,请刷新页面重试",openCustomerService:"打开客服聊天",connectToCustomerService:"正在连接客服系统...",connectionFailed:"连接失败,请刷新页面重试",tryConnectingAgain:"重试连接",loading:"加载中...",loadMore:"加载更多历史消息",welcomeToUse:"欢迎使用在线客服,请问有什么可以帮您?",picture:"聊天图片",read:"已读",unread:"未读",subscriptionFailed:"消息订阅失败,可能无法接收新消息",break:"连接断开",retry:"秒后重试",disconnectWaiting:"断线重连中...",sendFailed:"发送消息失败,请重试",noHistory:"暂无历史消息",historicalFailure:"加载历史消息失败,请重试",loadingHistory:"正在加载更多历史消息...",noMoreHistory:"没有更多历史消息了",Loaded:"已加载历史消息",newMessage:"新消息",pictureMessage:"图片消息",initializationFailed:"初始化失败,请刷新页面重试",beSorry:"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。",today:"今天",yesterday:"昨天",canOnlyUploadImages:"只能上传图片文件!",imageSizeExceeded:"图片大小不能超过5MB!",uploading:"正在上传图片...",pictureFailed:"发送图片失败,请重试",readImage:"读取图片失败,请重试",processingFailed:"图片处理失败,请重试",Disconnected:"连接已断开",reconnecting:"正在连接...",contactList:"联系列表",search:"搜索最近联系人",tourist:"游客",important:"重要",markAsImportant:"标记为重要",cancelImportant:"已取消重要标记",markingFailed:"标记操作失败,请重试",Marked:"已标记为重要",select:"请选择联系人",notSelected:"您尚未选择联系人",None:"暂无消息记录",sendPicture:"发送图片",inputMessage:"请输入消息,按Enter键发送,按Ctrl+Enter键换行",bottom:"回到底部",Preview:"预览图片",chatRoom:"聊天室",CLOSED:"已关闭",picture2:"图片",Unnamed:"未命名聊天室",noNewsAtTheMoment:"暂无未读消息",contactFailed:"加载更多联系人失败",listException:"获取聊天室列表异常",my:"我",unknownSender:"未知发送者",recordFailed:"加载聊天记录失败",messageException:"加载消息异常",chooseFirst:"请先选择联系人",chatDisconnected:"聊天连接已断开,请刷新页面重试",pictureSuccessful:"图片已发送",history:"历史记录",loadFailed:"加载失败",guestNotice:"您当前以游客身份聊天,聊天记录将不会保存。",guestNotice2:"后即可保存聊天记录",loginToSave:"登录",server500:"服务器暂时不可用,请稍后重试",CheckNetwork:"连接失败,请检查网络后重试",attemptToReconnect:"连接已断开,正在尝试重连...",retryFailed:"重试连接失败,请刷新页面",maxConnectionsError:"连接数已达上限,请刷新页面重试",ipLimitError:"本机连接数已达上限,请刷新页面重试",serverLimitError:"服务器连接数已达上限,请稍后刷新重试",identityError:"用户身份设置失败,请刷新页面重试",emailError:"用户信息获取失败,请刷新页面重试",refreshPage:"刷新页面",reconnectSuccess:"重新连接成功",sendMessageEmpty:"发送消息不能为空",unableToSubscribe:"连接状态异常,刷新页面重试",conflict:"连接异常,可能是多窗口冲突,请关闭其他窗口重试",abnormal:"连接异常",networkAnomaly:"网络连接异常",customerServiceOffline:"客服离线,请登录账号发送留言消息",contentMax:"超出发送内容大小限制,请删除部分内容(300字以内)",failInSend:"发送失败,请重试",connectionLimitError:"连接数已达上限,请关闭一些窗口后刷新重试",serverBusy:"服务器繁忙,请稍后刷新重试",connectionTimedOut:"连接超时,稍后重试...",reconnectFailed:"重连失败,请稍后重试",serviceConfigurationError:"服务配置异常,请稍后重试",serviceAddressUnavailable:"服务地址不可用,请稍后重试",connectionFailedService:"无法连接到服务器,请稍后重试",connectionFailedCustomer:"连接客服系统失败,请检查网络或稍后重试",logoutSyncNotice:"检测到您已在其他窗口退出登录,当前窗口将自动跳转"}},t.ChatWidget_en={chat:{title:"Online Customer Service",welcome:"Welcome to the online customer service, what can I help you with?",placeholder:"Please enter your message...",send:"Send",close:"Close",inputPlaceholder:"Please enter your question...",onlyImages:"Only image files can be uploaded!",imageTooLarge:"The image size cannot exceed 5MB!",imageReceived:"We have received your image, and we will handle your question as soon as possible.",networkError:"Network disconnected, please refresh page",openCustomerService:"Open customer service chat",connectToCustomerService:"Connecting to customer service...",connectionFailed:"Connection failed, please refresh page",tryConnectingAgain:"Retry connection",loading:"Loading...",loadMore:"Load more history",welcomeToUse:"Welcome to online service, how can I help you?",picture:"Chat image",read:"Read",unread:"Unread",subscriptionFailed:"Message subscription failed",break:"Connection lost",retry:"Retry in seconds",disconnectWaiting:"connecting...",sendFailed:"Send failed, please retry",noHistory:"No history",historicalFailure:"Failed to load history",loadingHistory:"Loading more history...",noMoreHistory:"No more history",Loaded:"History loaded",newMessage:"New message",pictureMessage:"Image message",initializationFailed:"Initialization failed, please refresh",beSorry:"Sorry, I cannot answer this. Please wait for agent or submit ticket",today:"Today",yesterday:"Yesterday",canOnlyUploadImages:"Only image files allowed",imageSizeExceeded:"Image size exceeds 5MB",uploading:"Uploading image...",pictureFailed:"Failed to send image",readImage:"Failed to read image",processingFailed:"Image processing failed",Disconnected:"Disconnected",reconnecting:"Reconnecting...",contactList:"Contact list",search:"Search contacts",tourist:"Guest",important:"Important",markAsImportant:"Mark as important",cancelImportant:"Unmarked as important",markingFailed:"Marking failed",select:"Select contact",notSelected:"No contact selected",None:"No messages",sendPicture:"Send image",inputMessage:"Type message, Enter to send, Ctrl+Enter for new line",bottom:"to bottom",Preview:"Preview image",chatRoom:"Chat room",CLOSED:"Closed",picture2:"Image",Unnamed:"Unnamed chat",noNewsAtTheMoment:"No unread messages",contactFailed:"Failed to load contacts",listException:"Failed to get chat list",my:"Me",unknownSender:"Unknown sender",recordFailed:"Failed to load chat records",messageException:"Failed to load messages",chooseFirst:"Please select contact first",chatDisconnected:"Chat disconnected, please refresh",pictureSuccessful:"Image sent",history:"History",loadFailed:"Load Fail",Marked:"Marked as important",guestNotice:"You are currently chatting as a guest, and your chat history will not be saved.",guestNotice2:" to save chat history",loginToSave:"Login",server500:"The server is temporarily unavailable, please try again later",CheckNetwork:"Connection failed, please check the network and try again",attemptToReconnect:"Connection lost, attempting to reconnect...",retryFailed:"Retry connection failed, please refresh page",maxConnectionsError:"Connection limit reached, please refresh page",ipLimitError:"Connection limit reached, please refresh page",serverLimitError:"Connection limit reached, please try again later",identityError:"Failed to set user identity, please refresh page",emailError:"Failed to get user information, please refresh page",refreshPage:"Refresh page",reconnectSuccess:"Reconnect successfully",sendMessageEmpty:"Message cannot be empty",unableToSubscribe:"Connection status abnormal, please refresh the page",conflict:"Connection exception, possibly due to multiple window conflicts, please close other windows and try again",abnormal:"Connection exception",networkAnomaly:"Network connection exception",customerServiceOffline:"Customer service offline, please login to send message",contentMax:"Content exceeds the size limit, please delete some content(300 characters or less)",failInSend:"Failed to send, please try again",connectionLimitError:"Connection limit reached, please close some windows and refresh to try again",serverBusy:"Server busy, please refresh later",connectionTimedOut:"Connection timed out, please try again later",reconnectFailed:"Reconnect failed, please try again later",serviceConfigurationError:"Service configuration exception, please try again later",serviceAddressUnavailable:"Service address unavailable, please try again later",connectionFailedService:"Failed to connect to the server, please try again later",connectionFailedCustomer:"Failed to connect to the customer service system, please check the network or try again later"}}},90929:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.deleteEmail=l,t.getAddNoticeEmail=s,t.getCode=a,t.getList=r,t.getUpdateInfo=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/notice/addNoticeEmail",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/notice/getCode",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/notice/getList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/notice/updateInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/notice/deleteEmail",method:"delete",data:e})}},91621:function(e,t,i){e.exports=i.p+"img/personal.dccd7ff6.svg"},94045:function(e,t,i){e.exports=i.p+"img/DGB.12066a7e.svg"},94158:function(e,t,i){e.exports=i.p+"img/rxd.e5ec03d4.png"},95194:function(e,t,i){e.exports=i.p+"img/currency-nexa.8d3a28b9.png"},97223:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(52217),o=i(8643),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"43751b68",null),c=r.exports},97390:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showTooltip,expression:"showTooltip"}],ref:"tooltip",staticClass:"m-tooltip",style:`max-width: ${e.maxWidth}PX; top: ${e.top}PX; left: ${e.left}PX;`,on:{mouseenter:e.onShow,mouseleave:e.onHide}},[t("div",{staticClass:"u-tooltip-content"},[e._t("default",(function(){return[e._v("暂无内容")]}))],2),t("div",{staticClass:"u-tooltip-arrow"})])])},t.Yp=[]},99047:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);t.A={data(){return{menuList:[{path:"userManagement",label:"backendSystem.userManagement",icon:"el-icon-user",id:"2"},{path:"workOrderBackend",label:"backendSystem.workOrder",icon:"el-icon-document-copy",id:"3"},{path:"documentManagement",label:"backendSystem.documentManagement",icon:"el-icon-folder-opened",id:"4",children:[{path:"broadcast",label:"backendSystem.broadcast",icon:"el-icon-bell",id:"4-1"},{path:"documentManagement",label:"backendSystem.publishArticle",icon:"el-icon-edit-outline",id:"4-2"}]}],activeIndex:"0"}},mounted(){const e=this.$i18n.locale,t=this.$route.path.replace(`/${e}/`,""),i=this.menuList.find((e=>e.path===t));if(i)this.activeIndex=i.id,this.$addStorageEvent(1,"activeIndex",i.id);else{const e=localStorage.getItem("activeIndex");e?this.activeIndex=e:this.$addStorageEvent(1,"activeIndex",this.activeIndex)}},methods:{handleClick(e){console.log(e,"item");const t=this.$i18n.locale;this.$router.push(`/${t}/${e.path}`),this.activeIndex=e.id,this.$addStorageEvent(1,"activeIndex",e.id)}},beforeDestroy(){localStorage.removeItem("activeIndex")}}},99945:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.jurisdiction&&"back_admin"===e.jurisdiction.roleKey?t("BackAdminLayout"):t("el-container",{staticClass:"containerApp",staticStyle:{width:"100vw",height:"100vh"}},[t("el-header",{staticClass:"el-header"},[e.$isMobile?t("MoveHead"):t("comHeard")],1),t("el-main",{staticClass:"el-main"},[t("appMain")],1)],1)},t.Yp=[]}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/app-45954fd3.dcbd4e47.js b/mining-pool/public/dist/js/app-45954fd3.dcbd4e47.js new file mode 100644 index 0000000..6b6e2ca --- /dev/null +++ b/mining-pool/public/dist/js/app-45954fd3.dcbd4e47.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[259],{4447:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(17713));e.A={name:"Announcements",mixins:[a.default]}},4710:function(t,e,s){Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114),s(18111),s(22489),s(20116),s(7588),s(61701),s(18237),s(13579);var i=s(51775),a=s(92500);e.A={name:"CustomerServiceChat",data(){return{searchText:"",inputMessage:"",currentContactId:null,previewVisible:!1,previewImageUrl:"",contacts:[],messages:{},messagesLoading:!1,sending:!1,loadingRooms:!0,stompClient:null,wsConnected:!1,userEmail:"",userType:2,loadingHistory:!1,userViewHistory:!1,userScrolled:!1,history7Params:{id:"",roomId:"",userType:2,email:""},historyAllParams:{id:"",roomId:"",userType:2},receiveUserType:"",manualCreatedRooms:[],chatRooms:[],isWebSocketConnected:!1,connectionStatus:"disconnected",isLoadingMoreContacts:!1,lastContactTime:null,showScrollButton:!1,visibilityHandler:null,reconnectTimer:null,maxReconnectAttempts:5,reconnectInterval:5e3,reconnectAttempts:0,isHandlingError:!1,lastErrorTime:0,lastActivityTime:Date.now(),activityCheckInterval:null,activityEvents:null,activityHandler:null,connectionVerifyTimer:null,connectionVerifyTimeout:6e4,isConnectionVerified:!1,heartbeatInterval:null,heartbeatTimeout:3e4,lastHeartbeatTime:0,connectionCheckInterval:null,connectionCheckTimeout:6e4,hasMoreHistory:!0,noMoreHistoryMessage:"",networkStatus:"online",token:""}},computed:{filteredContacts(){return this.searchText?this.contacts.filter((t=>t.name.toLowerCase().includes(this.searchText.toLowerCase()))):this.contacts},currentContact(){return this.contacts.find((t=>t.roomId===this.currentContactId))},currentMessages(){return this.messages[this.currentContactId]||[]}},watch:{token:{handler(t){t||(console.log("token已过期,断开所有窗口连接"),localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.disconnectWebSocket())},deep:!0,immediate:!0}},created(){try{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t)})),this.fetchRoomList(),this.loadManualCreatedRooms(),console.log("mounted userEmail=",t,"parsed=",this.userEmail),this.initWebSocket()}catch(t){console.error("初始化失败:",t)}},mounted(){this.fetchRoomList();let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t);let e=localStorage.getItem("token");this.token=JSON.parse(e),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t);let e=localStorage.getItem("token");this.token=JSON.parse(e)})),window.addEventListener("online",this.handleNetworkChange),window.addEventListener("offline",this.handleNetworkChange),this.$nextTick((()=>{this.$refs.messageContainer&&this.$refs.messageContainer.addEventListener("scroll",this.handleScroll)})),this.$nextTick((()=>{const t=document.querySelector(".cs-contacts");t&&t.addEventListener("scroll",this.handleContactListScroll)})),this.visibilityHandler=()=>{"visible"===document.visibilityState?(console.log("🔍 客服页面重新可见,执行连接状态检查"),this.updateLastActivityTime(),this.performConnectionCheck(),"connected"===this.connectionStatus&&this.isWebSocketConnected?(console.log("✅ 客服页面可见,连接状态正常"),this.heartbeatInterval||this.startHeartbeat(),this.connectionCheckInterval||this.startConnectionCheck()):(console.log("🔄 客服页面可见,检测到连接异常,开始重连"),this.checkAndReconnect())):console.log("📱 客服页面变为隐藏状态")},document.addEventListener("visibilitychange",this.visibilityHandler),this.startActivityCheck(),this.activityEvents=["mousedown","mousemove","keypress","scroll","touchstart","click"],this.activityHandler=()=>{this.updateLastActivityTime()},this.activityEvents.forEach((t=>{document.addEventListener(t,this.activityHandler,!0)})),window.addEventListener("storage",this.handleStorageChange)},methods:{handleKeyDown(t){if("Enter"===t.key)if(t.ctrlKey){const e=t.target,s=e.value,i=e.selectionStart,a=e.selectionEnd;e.value=s.substring(0,i)+"\n"+s.substring(a),e.selectionStart=e.selectionEnd=i+1,t.preventDefault()}else t.preventDefault(),this.sendMessage()},initWebSocket(){if(this.isWebSocketConnected)console.log("WebSocket已连接,跳过初始化");else if(console.log("走这里了嘛 家电节爱哦都觉得久啊是哦大点击"),this.stompClient&&"DISCONNECTED"!==this.stompClient.state)console.log("WebSocket正在连接中,跳过初始化");else try{this.stompClient&&this.forceDisconnectAll(),console.log("开始初始化WebSocket连接...");const t="https://m2pool.com/api/".replace("https","wss"),e=`${t}chat/ws`;this.stompClient=a.Stomp.client(e),this.stompClient.splitLargeFrames=!0,this.stompClient.maxWebSocketFrameSize=16777216,this.stompClient.maxWebSocketMessageSize=16777216,this.stompClient.webSocketFactory=()=>{const t=new WebSocket(e);return t.binaryType="arraybuffer",t},this.stompClient.debug=t=>{(t.includes("CONNECTED")||t.includes("DISCONNECTED")||t.includes("ERROR"))&&console.log("[客服系统]",t)},this.userType=2;const s={email:this.userEmail,type:this.userType};this.stompClient.onStompError=t=>{console.error("[客服系统] STOMP 错误:",t),this.handleSocketError(t.headers?.message||t.body)},this.stompClient.connect(s,(t=>{console.log("🎉 [客服系统] WebSocket 连接成功",t),this.isWebSocketConnected=!0,this.connectionStatus="connected",this.reconnectAttempts=0,this.isConnectionVerified=!1,this.lastHeartbeatTime=Date.now(),console.log("🔗 开始订阅客服消息..."),this.subscribeToMessages(),this.updateLastActivityTime(),console.log("✅ 连接成功,只使用 STOMP 内置心跳机制"),console.log("⚡ 客服连接成功,等待订阅完成后验证")}),(t=>{console.error("[客服系统] WebSocket 错误:",t),this.handleSocketError(t)})),this.stompClient.heartbeat.outgoing=2e4,this.stompClient.heartbeat.incoming=2e4}catch(t){console.error("初始化 CustomerService WebSocket 失败:",t),this.handleDisconnect()}},subscribeToMessages(){if(this.stompClient&&this.isWebSocketConnected)try{console.log("开始订阅客服消息频道:",`/sub/queue/customer/${this.userEmail}`);const t=this.stompClient.subscribe(`/sub/queue/customer/${this.userEmail}`,this.handleIncomingMessage),e=this.stompClient.subscribe(`/sub/queue/close/room/${this.userEmail}`,this.handleRoomClose);t&&e?(console.log("✅ CustomerService 成功订阅消息频道:",`/sub/queue/customer/${this.userEmail}`),console.log("✅ CustomerService 成功订阅关闭消息频道:",`/sub/queue/close/room/${this.userEmail}`),console.log("📢 客服订阅成功,立即标记连接已验证"),this.markConnectionVerified(),this.isWebSocketConnected=!0,this.connectionStatus="connected",console.log("✅ 强制设置连接状态为已连接")):(console.error("❌ 客服订阅失败,返回空subscription"),this.startConnectionVerification())}catch(t){console.error("❌ CustomerService 订阅消息异常:",t),this.startConnectionVerification()}else console.log("STOMP客户端未连接,无法订阅消息")},handleRoomClose(t){try{const e=t.body,s=t=>t?("object"===typeof t&&"value"in t&&(t=t.value),t=String(t).trim().toLowerCase(),t=t.replace(/^['"]+|['"]+$/g,""),t):"",i=s(e),a=this.contacts.findIndex((t=>{const e=s(t.name);return e===i}));if(-1!==a){this.currentContactId===this.contacts[a].roomId&&(this.currentContactId=null),this.contacts.splice(a,1),this.$delete(this.messages,this.contacts[a].roomId);const t=this.manualCreatedRooms.findIndex((t=>t.name===e));-1!==t&&(this.manualCreatedRooms.splice(t,1),this.saveManualCreatedRooms()),console.log(`聊天室 ${e} 已关闭`)}}catch(e){console.error("处理聊天室关闭消息失败:",e)}},disconnectWebSocket(){if(this.stompClient)try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((t=>{this.stompClient.unsubscribe(t)})),this.stompClient.deactivate(),this.isWebSocketConnected=!1,this.connectionStatus="disconnected"}catch(t){console.error("断开 CustomerService WebSocket 连接失败:",t)}},parseSocketError(t){let e="";if(e="string"===typeof t?t:t&&"object"===typeof t?t.message||t.body||t.headers?.message||String(t):String(t||""),e.includes(",")){const t=e.split(","),s=t[0].trim(),i=t.slice(1).join(",").trim();return{code:s,message:i}}const s=e.match(/(\d{4})/);return s?{code:s[1],message:e}:{code:"",message:e}},async handleSocketError(t){const e=Date.now();if(this.isHandlingError||e-this.lastErrorTime<5e3)console.log("正在处理错误或错误处理间隔太短,跳过此次错误处理");else{this.isHandlingError=!0,this.lastErrorTime=e;try{const{code:e,message:s}=this.parseSocketError(t);switch(console.log("解析的错误信息:",{code:e,message:s}),e){case"1020":await this.handleConnectionLimitError();break;case"1021":this.handleServerLimitError(s);break;case"1022":this.handlePrincipalError(s);break;case"1023":this.handlePrincipalError(s);break;default:s.includes("连接数已达上限")||s.includes("本机连接数已达上限")?await this.handleConnectionLimitError():this.handleDisconnect();break}}catch(s){console.error("处理Socket错误时发生异常:",s),this.handleDisconnect()}finally{setTimeout((()=>{this.isHandlingError=!1}),2e3)}}},async handleConnectionLimitError(){console.log("检测到连接数上限错误,开始强制断开并重连..."),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.isWebSocketConnected=!1,this.connectionStatus="error",console.log("💡 检测到连接数上限,后台自动重连中...");try{this.forceDisconnectAll(),await new Promise((t=>setTimeout(t,3e3))),console.log("尝试重新连接..."),await this.initWebSocket(),this.isWebSocketConnected?console.log("✅ 客服连接已自动恢复正常"):console.error("❌ 客服连接重连失败")}catch(t){console.error("处理连接数上限错误失败:",t)}},handleServerLimitError(t){this.isWebSocketConnected=!1,this.connectionStatus="error",console.log("服务器连接数已达上限"),console.error("服务器繁忙,连接数已达上限"),this.reconnectTimer&&clearTimeout(this.reconnectTimer)},handlePrincipalError(t){this.isWebSocketConnected=!1,this.connectionStatus="error",console.log("用户身份验证失败:",t),console.error("身份验证失败:",t),this.reconnectTimer&&clearTimeout(this.reconnectTimer)},startConnectionVerification(){if(console.log("🔍 启动客服连接验证机制(被动验证)..."),console.log("当前连接状态:",this.connectionStatus),console.log("当前WebSocket连接状态:",this.isWebSocketConnected),console.log("当前STOMP连接状态:",this.stompClient?.connected),this.isConnectionVerified=!1,this.clearConnectionVerifyTimer(),"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected)return console.log("✅ 客服连接状态良好,立即标记为已验证"),void this.markConnectionVerified();this.connectionVerifyTimer=setTimeout((()=>{this.isConnectionVerified||(console.log("⏰ 客服连接验证超时(1分钟),当前状态:",this.connectionStatus),console.log("WebSocket连接状态:",this.isWebSocketConnected),console.log("STOMP连接状态:",this.stompClient?.connected),console.log("连接可能不可用"),this.handleConnectionVerificationFailure())}),this.connectionVerifyTimeout),console.log("⏲️ 已设置客服1分钟验证超时定时器")},markConnectionVerified(){this.isConnectionVerified?console.log("🔄 客服连接已经验证过了,跳过重复验证"):(console.log("🎉 客服连接验证成功!清除验证定时器"),this.isConnectionVerified=!0,this.clearConnectionVerifyTimer(),"connected"!==this.connectionStatus&&(console.log("📡 修正客服连接状态为connected"),this.connectionStatus="connected"))},handleConnectionVerificationFailure(){console.log("连接验证失败,连接可能无法正常收发消息");const t=Date.now();this.isHandlingError&&t-this.lastErrorTime<5e3?console.log("正在处理错误中,跳过重复处理"):(this.isHandlingError=!0,this.lastErrorTime=t,this.clearConnectionVerifyTimer(),this.isWebSocketConnected=!1,this.connectionStatus="error",setTimeout((()=>{if(console.log("连接验证失败,开始重新连接..."),this.isHandlingError=!1,this.stompClient)try{this.stompClient.disconnect()}catch(t){console.warn("断开连接时出错:",t)}this.initWebSocket().catch((t=>{console.error("重新连接失败:",t),this.isHandlingError=!1}))}),2e3))},async checkAndEnsureConnection(){return console.log("🔍 检查客服连接状态..."),this.updateLastActivityTime(),this.stompClient?this.stompClient.connected?this.stompClient.ws&&this.stompClient.ws.readyState!==WebSocket.OPEN?(console.log("❌ WebSocket底层连接异常,需要重新连接"),await this.reconnectForSend()):this.isWebSocketConnected&&"connected"===this.connectionStatus?(console.log("✅ 客服连接状态良好"),!0):(console.log("❌ 应用层连接状态异常,需要重新连接"),await this.reconnectForSend()):(console.log("❌ STOMP连接已断开,需要重新连接"),await this.reconnectForSend()):(console.log("❌ STOMP客户端不存在,需要重新连接"),await this.reconnectForSend())},async reconnectForSend(){try{return console.log("🔄 开始为发送消息重新连接..."),this.connectionStatus="connecting",this.forceDisconnectAll(),await new Promise((t=>setTimeout(t,1e3))),await this.initWebSocket(),this.isWebSocketConnected&&"connected"===this.connectionStatus?(console.log("✅ 重连成功"),!0):(console.log("❌ 重连失败"),console.error("❌ 重连失败"),!1)}catch(t){return console.error("重连过程异常:",t),console.error("❌ 连接异常"),!1}},isConnectionError(t){if(!t)return!1;const e=t.message||t.toString();return e.includes("ExecutorSubscribableChannel")||e.includes("NullPointerException")||e.includes("Failed to send message")||e.includes("connection")||e.includes("disconnect")||e.includes("websocket")||e.includes("STOMP")},async handleConnectionErrorInSend(t){console.log("🚨 发送消息时检测到连接错误:",t.message),console.log("🔄 连接已断开,正在重新连接..."),this.isWebSocketConnected=!1,this.connectionStatus="connecting";try{const t=await this.reconnectForSend();t&&console.log("✅ 发送消息时自动重连成功")}catch(e){console.error("🔄 客服自动重连失败:",e),this.connectionStatus="error"}},clearConnectionVerifyTimer(){this.connectionVerifyTimer?(console.log("🧹 清除客服连接验证定时器"),clearTimeout(this.connectionVerifyTimer),this.connectionVerifyTimer=null):console.log("🔍 没有需要清除的客服验证定时器")},startHeartbeat(){console.log("💓 启动客服心跳检测..."),this.stopHeartbeat(),this.heartbeatInterval=setInterval((()=>{this.isWebSocketConnected&&this.stompClient?.connected?this.sendHeartbeat():(console.warn("💔 客服心跳检测发现连接异常"),this.handleHeartbeatFailure())}),this.heartbeatTimeout),console.log(`💓 客服心跳检测已启动,间隔: ${this.heartbeatTimeout/1e3}秒`)},stopHeartbeat(){this.heartbeatInterval&&(console.log("💔 停止客服心跳检测"),clearInterval(this.heartbeatInterval),this.heartbeatInterval=null)},sendHeartbeat(){try{if(!this.stompClient?.connected)return console.warn("💔 STOMP未连接,无法发送心跳"),void this.handleHeartbeatFailure();this.stompClient.ws&&this.stompClient.ws.readyState===WebSocket.OPEN?(this.lastHeartbeatTime=Date.now(),this.updateLastActivityTime()):(console.warn("💔 WebSocket底层连接异常"),this.handleHeartbeatFailure())}catch(t){console.error("💔 客服心跳检测异常:",t),this.handleHeartbeatFailure()}},handleHeartbeatFailure(){console.warn("💔 客服心跳失败,开始重连..."),this.stopHeartbeat(),this.isWebSocketConnected=!1,this.connectionStatus="error",this.handleDisconnect()},startConnectionCheck(){console.log("🔍 启动客服连接状态检查..."),this.stopConnectionCheck(),this.connectionCheckInterval=setInterval((()=>{this.performConnectionCheck()}),this.connectionCheckTimeout),console.log(`🔍 客服连接状态检查已启动,间隔: ${this.connectionCheckTimeout/1e3}秒`)},stopConnectionCheck(){this.connectionCheckInterval&&(console.log("🔍 停止客服连接状态检查"),clearInterval(this.connectionCheckInterval),this.connectionCheckInterval=null)},performConnectionCheck(){const t=Date.now(),e=t-this.lastHeartbeatTime;return this.stompClient&&this.stompClient.connected&&this.isWebSocketConnected?e>18e4?(console.warn("🚨 客服连接状态检查:心跳超时"),void this.handleConnectionFailure("心跳超时")):this.stompClient.ws&&this.stompClient.ws.readyState!==WebSocket.OPEN?(console.warn("🚨 客服连接状态检查:WebSocket底层连接异常"),void this.handleConnectionFailure("WebSocket底层连接异常")):void 0:(console.warn("🚨 客服连接状态检查:基本连接异常"),void this.handleConnectionFailure("基本连接状态异常"))},handleConnectionFailure(t){console.warn(`🚨 客服连接失败: ${t}`);const e=Date.now();this.isHandlingError&&e-this.lastErrorTime<1e4?console.log("正在处理连接失败,跳过重复处理"):(this.isHandlingError=!0,this.lastErrorTime=e,this.stopHeartbeat(),this.stopConnectionCheck(),this.isWebSocketConnected=!1,this.connectionStatus="error",setTimeout((()=>{this.isHandlingError=!1,this.handleDisconnect()}),1e3))},forceDisconnectAll(){try{if(console.log("开始强制断开所有连接..."),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.clearConnectionVerifyTimer(),this.stopHeartbeat(),this.stopConnectionCheck(),this.stompClient){this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((t=>{try{this.stompClient.unsubscribe(t)}catch(e){console.log("取消订阅失败:",e)}}));try{this.stompClient.deactivate()}catch(t){console.log("断开连接失败:",t)}setTimeout((()=>{this.stompClient=null}),100)}this.isWebSocketConnected=!1,this.connectionStatus="disconnected",console.log("已强制断开所有连接")}catch(t){console.error("强制断开连接失败:",t),this.stompClient=null}},handleDisconnect(){this.isHandlingError?console.log("正在处理特殊错误,跳过普通断开处理"):(this.clearConnectionVerifyTimer(),this.stopHeartbeat(),this.stopConnectionCheck(),this.isWebSocketConnected=!1,this.connectionStatus="error",this.isConnectionVerified=!1,this.reconnectAttempts{this.isWebSocketConnected||this.isHandlingError||this.initWebSocket()}),this.reconnectInterval)):(console.log("❌ 达到最大重连次数,停止自动重连"),console.error("❌ 达到最大重连次数,连接失败")))},async checkAndReconnect(){this.isWebSocketConnected||(console.log("页面恢复可见,尝试重新连接..."),await this.initWebSocket())},startActivityCheck(){this.activityCheckInterval=setInterval((()=>{const t=Date.now(),e=t-this.lastActivityTime;e>144e5&&(console.log("客服系统:4小时无活动,断开连接防止僵尸连接"),this.disconnectWebSocket()),e>18e5&&e%18e5<6e4&&console.log(`客服系统:已无活动 ${Math.floor(e/6e4)} 分钟,连接状态:${this.connectionStatus}`)}),6e4)},updateLastActivityTime(){this.lastActivityTime=Date.now()},getUTCTime(){const t=new Date;return new Date(t.getTime()+6e4*t.getTimezoneOffset())},async sendMessage(){if("online"!==this.networkStatus)return void this.$message({message:this.$t("chat.networkError")||"网络连接已断开,无法发送消息",type:"error",showClose:!0});if(!this.inputMessage.trim()||!this.currentContact||this.sending)return;const t=this.inputMessage.trim();this.inputMessage="",this.sending=!0;try{const e=await this.checkAndEnsureConnection();if(!e)return console.log("客服连接检查失败,无法发送消息"),this.sending=!1,void(this.inputMessage=t);const s=void 0!==this.currentContact.sendUserType?this.currentContact.sendUserType:1,i={content:t,type:1,email:this.currentContact.name,receiveUserType:s,roomId:this.currentContactId};this.stompClient.send("/point/send/message/to/user",{},JSON.stringify(i));const a=(new Date).toISOString(),n=`local_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;console.log("📤 发送消息 - 立即添加到本地:",{currentContactId:this.currentContactId,currentContactName:this.currentContact?.name,messageContent:t,currentTime:a,localMessageId:n}),this.addMessageToChat({id:n,sender:this.$t("chat.my")||"我",avatar:"iconfont icon-icon28",content:t,time:a,isSelf:!0,isImage:!1,type:1,roomId:this.currentContactId,isLocalMessage:!0},!0),this.updateContactLastMessage({roomId:this.currentContactId,content:t,isImage:!1,time:a});const o=this.contacts.find((t=>t.roomId===this.currentContactId));o&&(o.unread=0),this.sending=!1,this.$nextTick((()=>{this.scrollToBottom()}))}catch(e){if(console.error("客服发送消息失败:",e),this.sending=!1,this.isConnectionError(e))console.log("检测到客服连接错误,开始重连..."),this.handleConnectionErrorInSend(e);else{const{code:t}=this.parseSocketError(e);if(["1020","1021","1022","1023"].includes(t))return;console.error("💬 客服发送消息错误详情:",e),e.message&&(e.message.includes("connection")||e.message.includes("WebSocket")||e.message.includes("STOMP"))?console.log("🔄 发送失败,触发自动重连机制"):(console.error("💬 发送消息失败,需要用户重试"),this.$message.error(this.$t("chat.failInSend")||"发送失败,请重试"))}}},formatMessageContent(t){return t?t.replace(/\n/g,"
          "):""},subscribeToPersonalMessages(){this.stompClient&&this.wsConnected&&this.stompClient.subscribe(`/user/queue/${this.userEmail}`,this.handleIncomingMessage)},async handleIncomingMessage(t){try{console.log("🎉 客服收到消息,标记连接已验证"),this.markConnectionVerified(),this.updateLastActivityTime(),this.lastHeartbeatTime=Date.now(),this.isWebSocketConnected=!0,this.connectionStatus="connected";const e=JSON.parse(t.body);console.log("客服收到的消息",e);const s=e.createTime||e.sendTime;let i;i=s?"string"===typeof s&&s.includes("T")?s:"number"===typeof s||/^\d+$/.test(s)?new Date(parseInt(s)).toISOString():new Date(s).toISOString():(new Date).toISOString();const a={id:e.id,sender:e.sendUserType===this.userType&&e.sendEmail===this.userEmail?this.$t("chat.my")||"我":e.sendEmail||this.$t("chat.unknownSender")||"未知发送者",avatar:2===e.sendUserType?"iconfont icon-icon28":"iconfont icon-user",content:e.content,time:i,isSelf:e.sendUserType===this.userType&&e.sendEmail===this.userEmail,isImage:2===e.type,type:e.type,roomId:e.roomId,sendUserType:e.sendUserType,isCreate:e.isCreate,clientReadNum:e.clientReadNum};if(a.isSelf){const t=this.messages[a.roomId]||[],e=t.findIndex((t=>{if(!t.isLocalMessage||t.content!==a.content)return!1;const e=new Date(t.time).getTime(),s=new Date(a.time).getTime(),i=Math.abs(s-e);return i<3e4}));if(-1!==e)return void this.$set(t,e,{...t[e],id:a.id,time:a.time,isLocalMessage:!1});const s=this.checkDuplicateMessage(a);if(s)return}const n=this.contacts.find((t=>t.roomId===a.roomId));if(n)n.lastMessage=a.isImage?this.$t("chat.picture2")||"[图片]":a.content,n.lastTime=a.time;else{const t={roomId:a.roomId,name:a.sender,lastMessage:a.isImage?this.$t("chat.picture2")||"[图片]":a.content,lastTime:a.time,unread:a.isSelf?0:1,important:!1,isGuest:0===e.sendUserType,sendUserType:a.sendUserType,isManualCreated:!0};this.contacts.push(t),this.$set(this.messages,a.roomId,[])}if(this.messages[a.roomId]||this.$set(this.messages,a.roomId,[]),this.messages[a.roomId].push({id:a.id,sender:a.sender,avatar:a.avatar,content:a.content,time:a.time,isSelf:a.isSelf,isImage:a.isImage,type:a.type,roomId:a.roomId}),this.needsResort(this.messages[a.roomId])&&(this.messages[a.roomId]=this.sortMessages(this.messages[a.roomId])),a.roomId===this.currentContactId)if(this.userViewHistory){const t=this.contacts.find((t=>t.roomId===a.roomId));t&&(t.unread=a.clientReadNum||t.unread+1||1,this.setUnreadCount(a.roomId,t.unread))}else await this.markMessagesAsRead(a.roomId);else if(!a.isSelf){const t=this.contacts.find((t=>t.roomId===a.roomId));t&&(t.unread=a.clientReadNum||t.unread+1||1,this.setUnreadCount(a.roomId,t.unread))}this.sortContacts()}catch(e){console.error("处理新消息失败:",e)}},handleContactListScroll(t){const e=t.target;e.scrollHeight-e.scrollTop-e.clientHeight<2&&this.loadMoreContacts()},async loadMoreContacts(){if(this.isLoadingMoreContacts)return;const t=this.contacts[this.contacts.length-1];if(t){this.isLoadingMoreContacts=!0;try{const e=t=>{if(!t)return null;const e=new Date(t),s=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),r=String(e.getSeconds()).padStart(2,"0");return`${s}-${i}-${a} ${n}:${o}:${r}`},s={sendDateTime:e(t.lastTime),userType:2,email:this.userEmail},a=await(0,i.getRoomList)(s);if(200===a?.code){const t=a.rows.map((t=>{const e=this.contacts.find((e=>e.roomId===t.id)),s=this.manualCreatedRooms.find((e=>e.roomId===t.id)),i=1===t.flag||0!==t.flag&&(1===t.important||!!e&&e.important),a=t.lastUserSendTime;let n;return n=a?"string"===typeof a&&a.includes("T")?a:"number"===typeof a||/^\d+$/.test(a)?new Date(parseInt(a)).toISOString():new Date(a).toISOString():(new Date).toISOString(),{roomId:t.id,name:t.userEmail||this.$t("chat.Unnamed")||"未命名聊天室",avatar:this.getDefaultAvatar(t.roomName||this.$t("chat.Unnamed")||"未命名聊天室"),lastMessage:t.lastMessage||(e?e.lastMessage:this.$t("chat.noNewsAtTheMoment")||"暂无消息"),lastTime:n,unread:e?.unread??t.clientReadNum??0,important:i,isManualCreated:!!s,sendUserType:t.sendUserType,isGuest:0===t.sendUserType}})),e=t.filter((t=>!this.contacts.some((e=>e.roomId===t.roomId))));e.length>0&&(this.contacts=[...this.contacts,...e],this.sortContacts())}else this.$message({message:this.$t("chat.contactFailed")||"加载更多联系人失败",type:"error",duration:3e3,showClose:!0})}catch(e){console.error("5858",e)}finally{this.isLoadingMoreContacts=!1}}},handleNewChatRoom(t){const e=this.contacts.find((e=>e.roomId===t.roomId));if(!e){const e={roomId:t.roomId,name:t.sender,lastMessage:t.isImage?this.$t("chat.picture2")||"[图片]":t.content,lastTime:t.time,unread:1,important:!1,isGuest:0===t.sendUserType,sendUserType:t.sendUserType,isManualCreated:!0,clientReadNum:t.clientReadNum};this.contacts.push(e),this.$set(this.messages,t.roomId,[]),this.messages[t.roomId].push({id:t.id,sender:t.sender,avatar:2===t.sendUserType?"iconfont icon-icon28":"iconfont icon-user",content:t.content,time:t.time,isSelf:!1,isImage:2===t.type,type:t.type,roomId:t.roomId}),this.needsResort(this.messages[t.roomId])&&(this.messages[t.roomId]=this.sortMessages(this.messages[t.roomId])),this.manualCreatedRooms.push(e),this.saveManualCreatedRooms(),this.sortContacts()}},saveManualCreatedRooms(){localStorage.setItem("manualCreatedRooms",JSON.stringify(this.manualCreatedRooms))},async loadManualCreatedRooms(){try{const t=localStorage.getItem("manualCreatedRooms");if(t){this.manualCreatedRooms=JSON.parse(t);for(const t of this.manualCreatedRooms){const e=this.contacts.find((e=>e.roomId===t.roomId));e||(this.contacts.push({...t,lastTime:t.lastTime||(new Date).toISOString()}),this.messages[t.roomId]||(this.$set(this.messages,t.roomId,[]),await this.loadMessages(t.roomId)))}this.sortContacts()}}catch(t){console.error("加载手动创建的聊天室失败:",t)}},async createNewChatRoom(t){try{const e=await createChatRoom({userEmail:t.sender,userType:t.sendUserType});if(e&&200===e.code){const s={userEmail:t.sender,roomId:e.data.roomId,lastMessage:t.content,lastMessageTime:t.time,unreadCount:t.clientReadNum||0,userType:t.sendUserType};return this.chatRooms.unshift(s),s}}catch(e){throw console.error("创建新聊天室失败:",e),e}},updateChatRoomList(t){const e=this.chatRooms.findIndex((e=>e.roomId===t.roomId));if(-1!==e){this.chatRooms[e]={...this.chatRooms[e],lastMessage:t.content,lastMessageTime:t.time,unreadCount:t.clientReadNum||this.chatRooms[e].unreadCount};const s=this.chatRooms.splice(e,1)[0];this.chatRooms.unshift(s)}},async markMessagesAsRead(t=this.currentContactId){if(t)try{const e={roomId:t,userType:2},s=await(0,i.getReadMessage)(e);if(s&&200===s.code){console.log("消息已标记为已读");const e=this.contacts.find((e=>e.roomId===t));e&&(e.unread=0,this.setUnreadCount(t,0))}else console.warn("标记消息已读失败",s)}catch(e){console.error("标记消息已读出错:",e)}},parseUTCTime(t){if(!t)return new Date;try{return new Date(t)}catch(e){return console.error("解析时间错误:",e),new Date}},async fetchRoomList(){try{this.loadingRooms=!0;const t={lastTime:null,userType:2,email:this.userEmail},e=await(0,i.getRoomList)(t);if(200===e?.code){const t=e.rows.map((t=>{const e=this.contacts.find((e=>e.roomId===t.id)),s=this.manualCreatedRooms.find((e=>e.roomId===t.id)),i=1===t.flag||0!==t.flag&&(1===t.important||!!e&&e.important),a=t.lastUserSendTime||t.createTime;let n;return n=a?"string"===typeof a&&a.includes("T")?a:"number"===typeof a||/^\d+$/.test(a)?new Date(parseInt(a)).toISOString():new Date(a).toISOString():(new Date).toISOString(),{roomId:t.id,name:t.userEmail||this.$t("chat.Unnamed")||"未命名聊天室",avatar:this.getDefaultAvatar(t.roomName||this.$t("chat.Unnamed")||"未命名聊天室"),lastMessage:t.lastMessage||(e?e.lastMessage:this.$t("chat.noNewsAtTheMoment")||"暂无消息"),lastTime:n,unread:e?.unread??t.clientReadNum??0,important:i,isManualCreated:!!s,sendUserType:t.sendUserType,isGuest:0===t.sendUserType}}));this.contacts=t,this.sortContacts()}}catch(t){if(t&&("canceled"===t.message||"Cancel"===t.message||t.message?.includes("canceled")))return;console.error("获取聊天室列表异常:",t),this.$message({message:this.$t("chat.listException")||"获取聊天室列表异常",type:"error",duration:3e3,showClose:!0})}finally{this.loadingRooms=!1}},async loadMoreHistory(){if(!this.currentContactId)return;const t=this.messages[this.currentContactId]||[];if(0===t.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");const e=this.getEarliestMessage(t);if(!e||!e.id)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");this.history7Params.id=e.id,this.history7Params.roomId=this.currentContactId,this.history7Params.email=this.userEmail;try{this.messagesLoading=!0;const t=await(0,i.getHistory7)(this.history7Params);if(!t||200!==t.code||!t.data||0===t.data.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");const e=t.data.filter((t=>t.roomId==this.currentContactId||String(t.roomId)===String(this.currentContactId)));if(0===e.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");let s=e.map((t=>({id:t.id,sender:1===t.isSelf?this.$t("chat.my")||"我":t.sendEmail||this.$t("chat.unknownSender")||"未知发送者",avatar:"iconfont icon-icon28",content:t.content,time:t.createTime,isSelf:1===t.isSelf,isImage:2===t.type,isRead:1===t.isRead,type:t.type,roomId:t.roomId})));const a=(this.messages[this.currentContactId]||[]).map((t=>t.id)),n=s.filter((t=>!a.includes(t.id)));if(0===n.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");s=this.sortMessages(n);const o=this.messages[this.currentContactId]||[];this.$set(this.messages,this.currentContactId,[...s,...o])}catch(s){console.error("加载更多历史消息失败:",s),this.$message.error(this.$t("chat.historicalFailure")||"加载更多历史消息失败")}finally{this.messagesLoading=!1}},async selectContact(t){if(this.currentContactId!==t){this.updateLastActivityTime();try{this.messagesLoading=!0,this.currentContactId=t,this.userViewHistory=!1,this.hasMoreHistory=!0,this.noMoreHistoryMessage="",this.history7Params={id:"",roomId:t,userType:2},await this.loadMessages(t),await this.markMessagesAsRead(t)}catch(e){console.error("选择联系人失败:",e),this.$message({message:this.$t("chat.loadFailed")||"加载失败",type:"error",duration:3e3,showClose:!0})}finally{this.messagesLoading=!1,this.$nextTick((()=>{this.scrollToBottom()}))}}},isAtBottom(){const t=this.$refs.messageContainer;return!t||t.scrollHeight-t.scrollTop-t.clientHeight<2},async loadMessages(t){if(t)try{console.log(this.userEmail,"加载聊天消息"),this.history7Params.email=this.userEmail,this.history7Params.roomId=t;const e=await(0,i.getHistory7)(this.history7Params);if(200===e?.code&&e.data){let s=e.data.filter((e=>e.roomId==t)).map((t=>({id:t.id,sender:1===t.isSelf?this.$t("chat.my")||"我":t.sendEmail||this.$t("chat.unknownSender")||"未知发送者",avatar:2==t.sendUserType?"iconfont icon-icon28":"iconfont icon-user",content:t.content,time:t.createTime,isSelf:1===t.isSelf,isImage:2===t.type,isRead:1===t.isRead,type:t.type,roomId:t.roomId,sendUserType:t.sendUserType})));s=this.sortMessages(s),this.$set(this.messages,t,s);const i=this.contacts.find((e=>e.roomId===t));if(i&&s.length>0){const t=s[s.length-1].time;i.lastTime=t}i&&(i.unread=0)}else this.$set(this.messages,t,[]),200!==e?.code&&this.$message({message:this.$t("chat.recordFailed")||"加载聊天记录失败",type:"error",duration:3e3,showClose:!0})}catch(e){console.error("加载消息异常:",e),this.$set(this.messages,t,[])}},checkDuplicateMessage(t){const e=this.messages[t.roomId];if(!e)return!1;if(t.id&&e.some((e=>e.id===t.id)))return console.log("🔍 发现相同ID的消息,判定为重复:",t.id),!0;const s=Date.now()-3e4,i=new Date(t.time).getTime();return e.some((e=>{if(e.isLocalMessage)return!1;if(!e.isSelf||e.content!==t.content)return!1;const a=new Date(e.time).getTime(),n=Math.abs(a-i),o=a>s,r=n<3e4;return!(!o||!r)&&(console.log("🔍 发现重复消息:",{existingTime:e.time,newTime:t.time,timeDiff:n,content:t.content.substring(0,50)}),!0)}))},addMessageToChat(t,e=!1){const s=t.roomId||this.currentContactId;this.messages[s]||this.$set(this.messages,s,[]);const i={id:t.id||Date.now(),sender:t.sender,avatar:t.avatar||(t.isSelf?"iconfont icon-icon28":"iconfont icon-user"),content:t.content,time:t.time||new Date,isSelf:t.isSelf,isImage:t.isImage||!1,type:t.type||1,roomId:s,isRead:t.isRead||!1,isLocalMessage:t.isLocalMessage||!1};this.messages[s].push(i),this.updateContactLastMessage({roomId:s,content:i.isImage?this.$t("chat.picture2")||"[图片]":i.content,isImage:i.isImage,time:i.time}),s===this.currentContactId&&(e?this.$nextTick((()=>{this.scrollToBottom(!0),this.userViewHistory=!1})):this.userViewHistory||this.$nextTick((()=>{this.scrollToBottom()})))},async handleImageUpload(t){if(!this.currentContact)return void this.$message({message:this.$t("chat.chooseFirst")||"请先选择联系人",type:"error",duration:3e3,showClose:!0});if(!this.stompClient||!this.isWebSocketConnected)return void this.$message({message:this.$t("chat.chatDisconnected")||"聊天连接已断开,请刷新页面重试",type:"error",duration:3e3,showClose:!0});const e=t.target.files[0];if(!e)return;if(!e.type.startsWith("image/"))return void this.$message({message:this.$t("chat.onlyImages")||"只能上传图片文件!",type:"error",duration:3e3,showClose:!0});const s=5242880;if(e.size>s)this.$message({message:this.$t("chat.imageTooLarge")||"图片大小不能超过5MB!",type:"error",duration:3e3,showClose:!0});else{this.sending=!0;try{console.log("📤 正在上传图片...");const t=new FormData;t.append("file",e);const s=await this.$axios({method:"post",url:"https://m2pool.com/api/pool/ticket/uploadFile",data:t,headers:{"Content-Type":"multipart/form-data"}});if(200!==s.data.code)throw new Error(s.data.msg||"上传失败");{const t=s.data.data.url;this.sendImageMessage(t),console.log("✅ 图片发送成功")}}catch(i){console.error("上传图片异常:",i),this.$message({message:this.$t("chat.pictureFailed")||"图片发送失败,请重试",type:"error",duration:3e3,showClose:!0})}finally{this.sending=!1,this.$refs.imageInput.value=""}}},async sendImageMessage(t){try{const e=await this.checkAndEnsureConnection();if(!e)return console.log("客服图片发送连接检查失败"),void console.error("❌ 连接异常,图片发送失败");const s={type:2,email:this.currentContact.name,receiveUserType:this.currentContact.sendUserType||1,roomId:this.currentContactId,content:t};this.stompClient.send("/point/send/message/to/user",{},JSON.stringify(s));const i=(new Date).toISOString(),a=`local_img_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;console.log("📤 发送图片 - 立即添加到本地:",{currentContactId:this.currentContactId,imageUrl:t,currentTime:i,localImageId:a}),this.addMessageToChat({id:a,sender:this.$t("chat.my")||"我",avatar:"iconfont icon-icon28",content:t,time:i,isSelf:!0,isImage:!0,type:2,roomId:this.currentContactId,isLocalMessage:!0},!0),this.updateContactLastMessage({roomId:this.currentContactId,content:t,isImage:!0,time:i})}catch(e){console.error("发送图片消息失败:",e),this.isConnectionError(e)?(console.log("图片发送时检测到连接错误,开始重连..."),this.handleConnectionErrorInSend(e)):(console.error("💬 图片发送失败,需要用户重试"),this.$message.error(this.$t("chat.pictureFailed")||"发送图片消息失败,请重试"))}},updateContactLastMessage(t){let e=this.contacts.find((e=>e.roomId===t.roomId));if(e||"string"!==typeof t.roomId||(e=this.contacts.find((e=>e.name&&e.name.includes(t.roomId)||e.roomId&&e.roomId.includes(t.roomId)))),e){const s=e.lastTime,i=t.time||(new Date).toISOString();e.lastMessage=t.isImage?this.$t("chat.picture2")||"[图片]":t.content,e.lastTime=i,console.log("⚡ updateContactLastMessage - 执行时间更新:",{contactName:e.name,roomId:t.roomId,oldTime:s,newTime:i,messageTime:t.time,isImage:t.isImage,contactsTotal:this.contacts.length}),this.$set(e,"lastTime",i),this.$set(e,"lastMessage",e.lastMessage),this.sortContacts(),this.$nextTick((()=>{this.$forceUpdate()}))}else console.error("❌ updateContactLastMessage - 未找到联系人:",{searchRoomId:t.roomId,messageContent:t.content,allContacts:this.contacts.map((t=>({roomId:t.roomId,name:t.name,lastTime:t.lastTime})))})},incrementUnreadCount(t,e=1){const s=this.contacts.find((e=>e.roomId===t));s&&(s.unread=e>1?e:(s.unread||0)+1)},previewImage(t){this.previewImageUrl=t,this.previewVisible=!0},async toggleImportant(t,e){if(t)try{const s=await(0,i.getUpdateRoom)({id:t,flag:e?1:0});if(s&&200===s.code){const s=this.contacts.find((e=>e.roomId===t));s&&(s.important=e),this.sortContacts(),console.log(e?"✅ 已标记为重要聊天":"✅ 已取消重要标记")}else this.$message({message:s?.msg||this.$t("chat.markingFailed")||"标记操作失败",type:"error",duration:3e3,showClose:!0})}catch(s){console.error("标记聊天状态异常:",s)}},parseTimeForSort(t){if(!t)return Date.now();let e;if("string"===typeof t){let s=t;s.includes("Z")||s.includes("+")||s.includes("-")||(s+="Z"),e=new Date(s).getTime()}else e=t instanceof Date?t.getTime():Date.now();return isNaN(e)&&(e=Date.now()),e},fixContactTimes(){this.contacts.forEach((t=>{if(!t.lastTime){const e=(new Date).toISOString();console.warn("🔧 修复联系人空时间:",{contactName:t.name,roomId:t.roomId,fixedTime:e}),this.$set(t,"lastTime",e)}}))},sortContacts(){this.fixContactTimes(),this.contacts=this.sortContactsByTime(this.contacts)},scrollToBottom(t=!1){const e=this.$refs.messageContainer;e&&this.$nextTick((()=>{setTimeout((()=>{const s={top:e.scrollHeight,behavior:t?"auto":"smooth"};try{e.scrollTo(s)}catch(i){e.scrollTop=e.scrollHeight}t&&(this.showScrollButton=!1)}),100)}))},showMessageTime(t){if(0===t)return!0;const e=this.currentMessages[t],s=this.currentMessages[t-1];if(!e.time||!s.time)return!1;const i=new Date(e.time).getTime(),a=new Date(s.time).getTime(),n=(i-a)/6e4;return n>5},formatTime(t){if(!t)return"";let e="";if("string"===typeof t&&t.includes("T"))e=t;else if(t instanceof Date)e=t.toISOString();else if("number"===typeof t||/^\d+$/.test(t))try{const s=new Date(parseInt(t));if(isNaN(s.getTime()))return String(t);e=s.toISOString()}catch(d){return String(t)}else try{const s=new Date(t);if(isNaN(s.getTime()))return String(t);e=s.toISOString()}catch(d){return String(t)}const[s,i]=e.split("T");if(!i)return e;const[a,n]=i.split(":"),o=new Date,r=o.toISOString().split("T")[0],l=s;if(r===l)return`UTC ${this.$t("chat.today")} ${a}:${n}`;const c=new Date(Date.now()-864e5).toISOString().split("T")[0];return c===l?`UTC ${this.$t("chat.yesterday")} ${a}:${n}`:`UTC ${s} ${a}:${n}`},formatLastTime(t){if(!t)return"";try{if("string"===typeof t&&t.includes("T")){const[e,s]=t.split("T");if(e&&s){const t=s.split(":").slice(0,2).join(":");return`UTC ${e} ${t}`}}else if(t instanceof Date){const e=t.toISOString(),[s,i]=e.split("T");if(s&&i){const t=i.split(":").slice(0,2).join(":");return`UTC ${s} ${t}`}}else if("number"===typeof t||/^\d+$/.test(t)){const e=new Date(parseInt(t));if(!isNaN(e.getTime())){const t=e.toISOString(),[s,i]=t.split("T");if(s&&i){const t=i.split(":").slice(0,2).join(":");return`UTC ${s} ${t}`}}}const e=new Date(t);if(!isNaN(e.getTime())){const t=e.toISOString(),[s,i]=t.split("T");if(s&&i){const t=i.split(":").slice(0,2).join(":");return`UTC ${s} ${t}`}}return String(t)}catch(e){return console.error("格式化时间失败:",e),String(t)}},getDefaultAvatar(t){if(!t)return"";const e=["#4CAF50","#9C27B0","#FF5722","#2196F3","#FFC107","#607D8B","#E91E63"],s=Math.abs(t.charCodeAt(0))%e.length,i=(e[s],t.charAt(0).toUpperCase());return i},handleScroll(){const t=this.$refs.messageContainer;t&&(this.updateLastActivityTime(),this.showScrollButton=!this.isAtBottom(),this.isAtBottom()?(this.userViewHistory=!1,this.markMessagesAsRead(this.currentContactId)):this.userViewHistory=!0)},async loadHistory(){if(this.loadingHistory=!0,this.userViewHistory=!0,this.currentContactId)try{this.messagesLoading=!0;const t=this.messages[this.currentContactId]||[];if(0===t.length)return void this.$message({message:this.$t("chat.noMoreHistory")||"没有更多历史消息",type:"warning",duration:3e3,showClose:!0});const e=this.getEarliestMessage(t);if(!e||!e.id)return void this.$message({message:this.$t("chat.noMoreHistory")||"没有更多历史消息",type:"warning",duration:3e3,showClose:!0});this.history7Params.id=e.id,console.log("🕐 小时钟加载历史消息 - 使用最早消息ID:",{totalMessages:t.length,earliestMessageId:e.id,earliestMessageTime:e.time}),this.history7Params.roomId=this.currentContactId,this.history7Params.email=this.userEmail;const s=await(0,i.getHistory7)(this.history7Params);if(console.log("📡 loadHistory - 小时钟接口响应详情:",{responseCode:s?.code,hasData:!!s?.data,dataLength:s?.data?.length||0,currentContactId:this.currentContactId,requestParams:this.history7Params}),s&&200===s.code&&s.data){console.log("📦 loadHistory - 小时钟原始数据:",s.data);const t=s.data.filter((t=>t.roomId==this.currentContactId||String(t.roomId)===String(this.currentContactId)));console.log("🔍 loadHistory - 小时钟过滤后数据:",{originalCount:s.data.length,filteredCount:t.length,targetRoomId:this.currentContactId,messageRoomIds:s.data.map((t=>t.roomId)).slice(0,5)});let e=t.map((t=>({id:t.id,sender:t.sendEmail,avatar:"iconfont icon-icon28",content:t.content,time:t.createTime,isSelf:1===t.isSelf,isImage:2===t.type,isRead:1===t.isRead,type:t.type,roomId:t.roomId})));console.log("🔄 loadHistory - 小时钟处理后消息:",{processedCount:e.length,messageIds:e.map((t=>t.id)),messageTimes:e.map((t=>t.time)).slice(0,3)});const i=(this.messages[this.currentContactId]||[]).map((t=>t.id)),a=e.map((t=>t.id)),n=a.filter((t=>i.includes(t)));if(console.log("🔍 loadHistory - 小时钟重复消息检查:",{currentMessageCount:i.length,newHistoryCount:a.length,duplicateCount:n.length,duplicateIds:n}),0===e.length)return console.warn("⚠️ loadHistory - 小时钟过滤后无消息,设置无更多历史状态"),this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");const o=e.filter((t=>!i.includes(t.id)));if(console.log("✂️ loadHistory - 小时钟去重后消息:",{originalCount:e.length,uniqueCount:o.length,removedDuplicates:e.length-o.length}),0===o.length)return console.warn("⚠️ loadHistory - 小时钟去重后无新消息,设置无更多历史状态"),this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");e=o,e=this.sortMessages(e);const r=this.messages[this.currentContactId]||[];this.$set(this.messages,this.currentContactId,[...e,...r]),console.log("✅ loadHistory - 小时钟历史消息加载完成:",{loadedCount:e.length,totalCount:this.messages[this.currentContactId].length})}else console.warn("⚠️ loadHistory - 小时钟接口返回无数据,设置无更多历史状态"),this.hasMoreHistory=!1,this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息"}catch(t){console.error("加载历史消息异常:",t),this.$message({message:this.$t("chat.historicalFailure")||"加载历史消息失败,请重试",type:"error",duration:3e3,showClose:!0})}finally{this.messagesLoading=!1,this.loadingHistory=!1}},async refreshMessages(){this.currentContactId&&await this.loadMessages(this.currentContactId)},openImageUpload(){this.currentContact&&this.$refs.imageInput.click()},convertToUTC(t){if(!t)return null;const e=new Date(t);return new Date(e.getTime()-6e4*e.getTimezoneOffset())},convertToLocal(t){if(!t)return null;const e=new Date(t);return new Date(e.getTime()+6e4*e.getTimezoneOffset())},fixToUTC(t){return"string"!==typeof t||t.endsWith("Z")||/[+-]\d{2}:?\d{2}$/.test(t)?t:t+"Z"},sortMessages(t){return!t||t.length<=1?t:t.sort(((t,e)=>{if(t.id&&e.id){const s=parseInt(t.id),i=parseInt(e.id);if(!isNaN(s)&&!isNaN(i)){const t=s-i;if(0!==t)return t}}const s=t.time?new Date(t.time).getTime():0,i=e.time?new Date(e.time).getTime():0;return s-i}))},needsResort(t){if(!t||t.length<=1)return!1;const e=Math.min(5,t.length),s=t.slice(-e);for(let i=1;iparseInt(e.id))return!0}else{const s=new Date(t.time).getTime(),i=new Date(e.time).getTime();if(s>i)return!0}}return!1},getEarliestMessage(t){if(!t||0===t.length)return console.warn("⚠️ getEarliestMessage: 消息数组为空"),null;console.log("🔍 查找最早消息:",{totalCount:t.length,messageIds:t.map((t=>t.id)).slice(0,5),messageTimes:t.map((t=>t.time)).slice(0,3)});const e=t.filter((t=>{const e=parseInt(t.id);return t.id&&!isNaN(e)&&e>0}));if(e.length>0){const t=e.reduce(((t,e)=>{const s=parseInt(t.id),i=parseInt(e.id);return i{const s=new Date(t.time||0).getTime(),i=new Date(e.time||0).getTime();return i{if(t.important&&!e.important)return-1;if(!t.important&&e.important)return 1;const s=this.parseTimeForSort(t.lastTime),i=this.parseTimeForSort(e.lastTime);return i-s}))},debugHistoryLoading(){console.log("🔍 历史消息加载调试信息:"),console.log("当前联系人ID:",this.currentContactId,typeof this.currentContactId),console.log("当前消息数量:",this.messages[this.currentContactId]?.length||0),console.log("历史消息状态:",{hasMoreHistory:this.hasMoreHistory,noMoreHistoryMessage:this.noMoreHistoryMessage}),console.log("请求参数:",this.history7Params);const t=this.messages[this.currentContactId]||[];if(t.length>0){const e=this.getEarliestMessage(t);console.log("最早消息:",e),console.log("消息ID分布:",t.map((t=>({id:t.id,time:t.time}))).slice(0,10))}return{currentContactId:this.currentContactId,messageCount:t.length,hasMoreHistory:this.hasMoreHistory,noMoreHistoryMessage:this.noMoreHistoryMessage,requestParams:this.history7Params,earliestMessage:this.getEarliestMessage(t)}},getUnreadStorageKey(t){return`cs_unread_${t}`},getUnreadCount(t){const e=this.getUnreadStorageKey(t);return parseInt(localStorage.getItem(e),10)||0},setUnreadCount(t,e){const s=this.getUnreadStorageKey(t);localStorage.setItem(s,String(e))},handleStorageChange(t){if(console.log("监听所有窗口状态统一 666",t),t.key&&t.key.startsWith("cs_unread_")){const e=t.key.replace("cs_unread_",""),s=parseInt(t.newValue,10)||0,i=this.contacts.find((t=>t.roomId==e));i&&(i.unread=s)}else{if("cs_disconnect_all"===t.key&&t.newValue)return console.log("收到断开所有连接通知"),void this.disconnectWebSocket();"userEmail"!==t.key||!t.oldValue||t.newValue&&"null"!==t.newValue||this.handleLogoutSync()}},handleLogoutSync(){try{this.forceDisconnectAll(),this.userEmail="",this.currentContactId=null,this.contacts=[],this.messages={},this.inputMessage="",this.isWebSocketConnected=!1,this.connectionStatus="disconnected",this.$router.replace("/")}catch(t){this.$router.replace("/")}},handleNetworkChange(){this.networkStatus=navigator.onLine?"online":"offline",navigator.onLine&&location.reload()}},beforeDestroy(){this.stompClient&&this.stompClient.connected&&this.stompClient.disconnect((()=>{console.log("WebSocket 已断开连接")})),this.disconnectWebSocket(),this.$refs.messageContainer&&this.$refs.messageContainer.removeEventListener("scroll",this.handleScroll),this.visibilityHandler&&document.removeEventListener("visibilitychange",this.visibilityHandler),this.activityCheckInterval&&clearInterval(this.activityCheckInterval),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.activityEvents&&this.activityHandler&&this.activityEvents.forEach((t=>{document.removeEventListener(t,this.activityHandler,!0)})),this.clearConnectionVerifyTimer(),this.stopHeartbeat(),this.stopConnectionCheck(),window.removeEventListener("storage",this.handleStorageChange),window.removeEventListener("online",this.handleNetworkChange),window.removeEventListener("offline",this.handleNetworkChange)}}},8619:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(70525));e.A={mixins:[a.default]}},9396:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(1652);e["default"]={data(){return{typeArray:[]}},mounted(){},methods:{async fetchDataInfo(t){const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.modifyData=e.data,this.addParams=this.modifyData,this.addParams.type=String(this.addParams.type),this.addParams.childType=String(this.addParams.childType),this.typeArray=[this.addParams.type],this.hasBackendData=!0,this.editor&&this.addParams.content&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content))},changeScreen(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],i=t.value;e===i&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}localStorage.setItem("userManagement_selectedCurrency",t)},handleClearScreen(){this.$refs.screen&&this.$refs.screen.$el&&(this.$refs.screen.$el.children[0].children[0].style.background="",this.$refs.screen.$el.children[0].children[0].style.paddingLeft=""),localStorage.removeItem("userManagement_selectedCurrency")}}}},10275:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(99129));e.A={mixins:[a.default]}},10647:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(43661),a=s(48047),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"4ca2f0fb",null),l=r.exports},13415:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.addLoading,expression:"addLoading"}],staticClass:"editor-page",class:{"no-scroll":t.addLoading}},[e("h2",{staticStyle:{"margin-bottom":"20px"}},[t._v(" "+t._s(t.$t("backendSystem.addDocument")||"新增文档")+" ")]),e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-left"},[e("div",{staticClass:"title-section"},[e("i",{staticClass:"el-icon-edit-outline title-icon"}),e("h1",{staticClass:"page-title"},[t._v(" "+t._s(t.$t("backendSystem.wangeditor")||"wangeditor 富文本文档编辑器")+" ")])])]),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{type:"primary",icon:"el-icon-link"},on:{click:t.handleInsertAnchor}},[t._v(" "+t._s(t.$t("backendSystem.insertAnchor")||"插入锚点")+" ")]),e("el-button",{attrs:{type:"info",icon:"el-icon-view"},on:{click:t.handlePreview}},[t._v(" "+t._s(t.$t("backendSystem.previewDocument")||"预览文档")+" ")]),e("el-button",{attrs:{type:"success",icon:"el-icon-document"},on:{click:t.handleSave}},[t._v(" "+t._s(t.$t("backendSystem.saveDocument")||"保存文档")+" ")]),e("el-button",{attrs:{type:"danger",icon:"el-icon-delete"},on:{click:t.handleReset}},[t._v(" "+t._s(t.$t("backendSystem.reset")||"重置")+" ")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-upload2"},on:{click:t.handelAddDocument}},[t._v(" "+t._s(t.$t("backendSystem.publishDocument")||"发布文档")+" ")])],1)]),e("div",{staticClass:"config-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-setting"}),e("span",[t._v(t._s(t.$t("backendSystem.documentConfiguration")||"文档配置"))])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.navigationTitle")||"导航标题"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputDocumentTitle")||"请输入文档标题",size:"medium",maxlength:"30","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.title,callback:function(e){t.$set(t.addParams,"title",e)},expression:"addParams.title"}})],1),e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v(t._s(t.$t("backendSystem.documentType")||"文档类型"))]),e("el-cascader",{attrs:{options:t.TypeList,placeholder:t.$t("backendSystem.pleaseSelectDocumentType")||"请选择文档类型",props:{label:"label",value:"value",children:"children"}},on:{change:function(e){return t.handleAutoSaveType(t.typeArray)}},model:{value:t.typeArray,callback:function(e){t.typeArray=e},expression:"typeArray"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.titleImageAddress")||"标题图片地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputImageAddress")||"请输入图片地址",size:"medium"},on:{input:t.handleAutoSave},model:{value:t.addParams.titleUrl,callback:function(e){t.$set(t.addParams,"titleUrl",e)},expression:"addParams.titleUrl"}})],1),e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.articleAccessAddress")||"文章访问地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputAccessAddress")||"请输入访问地址",size:"medium",maxlength:"50","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.articleUrl,callback:function(e){t.$set(t.addParams,"articleUrl",e)},expression:"addParams.articleUrl"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.coin2")||"币种"))]),e("el-select",{ref:"screen",staticClass:"input",attrs:{size:"middle",clearable:"",placeholder:t.$t("backendSystem.selectCurrency")},on:{change:function(e){return t.changeScreen(t.screenCurrency)},clear:t.handleClearScreen},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(s.label))])])])})),1)],1)])])]),e("div",{staticClass:"editor-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-edit-outline"}),e("span",[t._v(t._s(t.$t("backendSystem.richTextEditor")||"富文本编辑器"))])]),e("div",{staticClass:"editor-container"},[e("div",{ref:"editor"})])]),e("el-dialog",{staticClass:"preview-dialog wangeditor-preview",attrs:{title:t.$t("backendSystem.documentPreview")||"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-content"},[e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.addParams.content)}}),t.addParams.content?t._e():e("div",{staticClass:"preview-empty"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v(t._s(t.$t("backendSystem.noContent")||"暂无内容"))])])]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v(t._s(t.$t("backendSystem.close")||"关闭"))])],1)])],1)},e.Yp=[]},13821:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.broadcastLoading,expression:"broadcastLoading"}]},[e("div",{staticClass:"main-title-box"},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.publishedBroadcast")))]),e("el-button",{staticClass:"add-btn",on:{click:t.handelAddBroadcast}},[t._v(t._s(t.$t("backendSystem.addBroadcast"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.tableData,border:"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"60","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"createTime",label:t.$t("backendSystem.createTime"),width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.createTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"content",label:t.$t("backendSystem.content"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"createUser",label:t.$t("backendSystem.createUser"),width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"buttonContent",label:t.$t("backendSystem.bthContent2"),width:"200","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[s.row.buttonContent?e("div",t._l(t.formatButtonContent(s.row.buttonContent),(function(s,i){return e("el-tag",{key:i,staticStyle:{margin:"2px"},attrs:{size:"small"}},[t._v(" "+t._s(s)+" ")])})),1):e("span",{staticStyle:{color:"#999"}},[t._v("无")])]}}])}),e("el-table-column",{attrs:{prop:"buttonPath",label:t.$t("backendSystem.bthPath2"),width:"250","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[s.row.buttonPath?e("div",t._l(t.formatButtonPath(s.row.buttonPath),(function(s,i){return e("div",{key:i,staticClass:"path-item",staticStyle:{"font-size":"12px"}},[t._v(" "+t._s(i+1)+". "+t._s(s)+" ")])})),0):e("span",{staticStyle:{color:"#999"}},[t._v("无")])]}}])}),e("el-table-column",{attrs:{prop:"updateTime",label:t.$t("backendSystem.updateTime"),width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.updateTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"updateUser",label:t.$t("backendSystem.updateUser"),width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{label:t.$t("backendSystem.operation"),width:"160"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.handleEdit(s.row)}}},[t._v(t._s(t.$t("backendSystem.edit")))]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(s.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"mini"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1),e("el-dialog",{attrs:{title:t.$t("backendSystem.dialogTitle"),visible:t.dialogVisible,width:"50%","before-close":t.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("el-form",{ref:"addForm",attrs:{model:t.addParams}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.broadcastContent"),prop:"content"}},[e("el-input",{attrs:{resize:"none",type:"textarea",rows:5},on:{input:e=>t.handleInput(e,"add")},model:{value:t.addParams.content,callback:function(e){t.$set(t.addParams,"content",e)},expression:"addParams.content"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[t.isOverLimit?e("span",[t._v(" "+t._s(t.$t("backendSystem.exceedingInput")))]):t._e(),e("span",[t._v(" "+t._s(t.$t("backendSystem.newlineInvalid")))])])],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthContent"),prop:"buttonContent"}},[e("el-input",{attrs:{resize:"none",type:"text"},model:{value:t.addParams.buttonContent,callback:function(e){t.$set(t.addParams,"buttonContent",e)},expression:"addParams.buttonContent"}})],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthPath"),prop:"buttonPath"}},[e("el-input",{attrs:{resize:"none",type:"textarea",rows:2},model:{value:t.addParams.buttonPath,callback:function(e){t.$set(t.addParams,"buttonPath",e)},expression:"addParams.buttonPath"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[t.isOverLimit?e("span",[t._v(" "+t._s(t.$t("backendSystem.exceedingInput")))]):t._e(),e("span",[t._v(" "+t._s(t.$t("backendSystem.bthPathStandard")))]),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.showPathHelp}},[t._v(" 查看路径示例 ")])],1)],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v(t._s(t.$t("backendSystem.cancel")))]),e("el-button",{attrs:{type:"primary",loading:t.bthLoading},on:{click:t.sureAddBroadcast}},[t._v(t._s(t.$t("backendSystem.publish")))])],1)],1),e("el-dialog",{attrs:{title:t.$t("backendSystem.editContent"),visible:t.editDialogVisible,width:"50%","before-close":t.handleEditClose,"close-on-click-modal":!1},on:{"update:visible":function(e){t.editDialogVisible=e}}},[e("el-form",{attrs:{model:t.editParams}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.broadcastContent")}},[e("el-input",{attrs:{resize:"none",type:"textarea",rows:5},on:{input:e=>t.handleInput(e,"edit")},model:{value:t.editParams.content,callback:function(e){t.$set(t.editParams,"content",e)},expression:"editParams.content"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[t.isOverLimit?e("span",[t._v(" "+t._s(t.$t("backendSystem.exceedingInput")))]):t._e(),e("span",[t._v(" "+t._s(t.$t("backendSystem.newlineInvalid")))])])],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthContent")}},[e("el-input",{attrs:{type:"text"},model:{value:t.editParams.buttonContent,callback:function(e){t.$set(t.editParams,"buttonContent",e)},expression:"editParams.buttonContent"}})],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthPath")}},[e("el-input",{attrs:{type:"textarea",rows:2},model:{value:t.editParams.buttonPath,callback:function(e){t.$set(t.editParams,"buttonPath",e)},expression:"editParams.buttonPath"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[e("span",[t._v(t._s(t.$t("backendSystem.bthPathStandard")))]),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.showPathHelp}},[t._v(" 查看路径示例 ")])],1)],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleEditClose}},[t._v(t._s(t.$t("backendSystem.cancel")))]),e("el-button",{attrs:{type:"primary",loading:t.editLoading},on:{click:t.sureEditBroadcast}},[t._v(t._s(t.$t("backendSystem.editBroadcast")))])],1)],1)],1)},e.Yp=[]},14076:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(15086),a=s(10275),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"8b25bb5a",null),l=r.exports},15086:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"help-center"},[e("div",{staticClass:"top-section"},[e("div",{staticClass:"search-container"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"search-input",attrs:{type:"text",placeholder:t.$t("backendSystem.search")||"搜索"},domProps:{value:t.searchQuery},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSearch.apply(null,arguments)},input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])]),e("div",{staticClass:"main-content"},[e("div",{staticClass:"category-grid"},t._l(t.categories,(function(s){return e("button",{key:s.id,staticClass:"category-btn",attrs:{tabindex:"0"},on:{click:function(e){return t.handleCategoryClick(s)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleCategoryClick(s)}}},[t._v(" "+t._s(t.$t(s.name))+" ")])})),0),e("div",{staticClass:"recommended-section"},[e("h3",{staticClass:"section-title"},[t._v(t._s(t.$t("backendSystem.recommendContent")||"推荐的内容"))]),e("div",{staticClass:"recommended-items"},t._l(t.recommendedItems,(function(s){return e("div",{key:s.id,staticClass:"recommended-item",on:{click:function(e){return t.handleCategoryClick(s)}}},[e("p",{staticClass:"item-description"},[t._v(t._s(t.$t(s.description)))])])})),0)]),e("div",{staticClass:"recent-activities"},[e("h3",{staticClass:"section-title"},[t._v(t._s(t.$t("backendSystem.recentActivities")||"最近活动"))]),e("div",{staticClass:"activities-list"},t._l(t.activities,(function(s){return e("div",{key:s.id,staticClass:"activity-item",on:{click:function(e){return t.handleActivityClick(s)}}},[e("div",{staticClass:"activity-header"},[e("span",{staticClass:"activity-badge"},[t._v(t._s(t.handelType(s.type)))])]),e("p",{staticClass:"activity-title"},[t._v(t._s(s.title))]),e("div",{staticClass:"activity-meta"},[e("span",{staticClass:"activity-author"},[t._v(t._s(t.handelTime(s.createTime)))])])])})),0),e("div",{staticClass:"view-more"},[e("a",{staticClass:"view-more-link",attrs:{href:"#"},on:{click:t.handleViewMore}},[t._v(" "+t._s(t.$t("backendSystem.viewMore")||"查看更多活动公告")+" ")])])])])])},e.Yp=[]},15460:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(95307),a=s(78006),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"34c59056",null),l=r.exports},17308:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(77452));e.A={mixins:[a.default]}},17713:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var i=s(1652);e["default"]={name:"Announcements",data(){return{loading:!1,searchKeyword:"",currentPage:1,totalCount:0,announcements:[],searchTimer:null,showMarkdownGuide:!1,viewMode:"list",listParams:{type:"3",lang:this.$i18n.locale,pageNum:1,pageSize:10},announcementsLoading:!1}},mounted(){try{this.TypeList=JSON.parse(localStorage.getItem("TypeList"))}catch(t){console.log(t)}this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("announcementsLoading",!0);const e=await(0,i.documentsList)(t);console.log(e,"res"),200===e.code&&(this.announcements=e.rows,this.totalCount=e.total),this.setLoading("announcementsLoading",!1)},async loadAnnouncements(){this.loading=!0;try{await new Promise((t=>setTimeout(t,500)))}catch(t){console.error("加载公告失败:",t),this.$message.error(this.$t("announcements.loadError")||"加载公告失败")}finally{this.loading=!1}},handleSearchInput(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.handleSearch()}),500)},handleSearch(){this.currentPage=1},handleCurrentChange(t){this.currentPage=t,this.listParams.pageNum=t,this.fetchAllList(this.listParams)},handleSizeChange(t){this.listParams.pageNum=1,this.currentPage=1,this.listParams.pageSize=t,this.fetchAllList(this.listParams)},handleAnnouncementClick(t){console.log(t,"announcement");let e=`/${this.$i18n.locale}/announcementDetails`;this.$router.push({path:e,query:{id:t.id}})},handleViewAll(){this.pageSize=20,this.loadAnnouncements()},toggleMarkdownGuide(){this.showMarkdownGuide=!this.showMarkdownGuide},switchMode(t){this.viewMode=t},goHome(){this.$router.push("/")},formatDate(t){try{return`${t.split("T")[0]} ${t.split("T")[1]}`}catch(e){return""}},handelType(t){try{let e=this.TypeList.find((e=>e.value==t)).label;return this.$t(e)}catch(e){return""}}},beforeDestroy(){this.searchTimer&&clearTimeout(this.searchTimer)}}},21906:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(57270));e.A={mixins:[a.default]}},22093:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(1652);e["default"]={data(){return{params:{lang:"",type:0},infoParams:{lang:this.$i18n?.locale||"zh",childType:"1"},info:"",loading:!1}},mounted(){this.fetchDocumentsInfo(this.infoParams)},methods:{async fetchDocumentsInfo(t){this.setLoading("loading",!0);try{const e=await(0,i.findDataInfo)(t);e&&200===e.code?this.info=e.data.content||"":(console.warn("获取文档内容失败:",e),this.info="")}catch(e){console.error("获取文档内容失败:",e),this.info=""}this.setLoading("loading",!1)}}}},23389:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(23819),a=s(95664),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"7b2f7ae5",null),l=r.exports},23819:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rate"},[t.$isMobile?e("section",{staticClass:"rateMobile"},[e("h4",[t._v(t._s(t.$t("course.allocationExplanation")))]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("course.currency")}},[t._v(t._s(t.$t("course.currency")))]),e("span",{attrs:{title:t.$t("course.condition")}},[t._v(t._s(t.$t("course.condition")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.rateList,(function(s){return e("el-collapse-item",{key:s.value,attrs:{name:s.value}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[e("img",{attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.label))]),e("span",[t._v(t._s(t.$t(s.condition)))])])]),e("section",{staticClass:"contentBox2"},[e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.interval")))]),e("p",[t._v(t._s(t.$t(s.interval))+" ")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.estimatedTime")))]),e("p",[t._v(t._s(t.$t(s.estimatedTime)))])])]),e("div",{staticClass:"belowTable describe"},[e("div",[e("p",[t._v(t._s(t.$t("course.describe")))]),e("p",[t._v(t._s(t.$t(s.describe))+" ")])])])])],2)})),1)],1)]):e("section",{staticClass:"rateBox"},[e("section",{staticClass:"rightText"},[e("h2",[t._v(t._s(t.$t("course.allocationExplanation")))]),e("section",{staticClass:"table"},[e("div",{staticClass:"tableTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",[t._v(t._s(t.$t("course.condition")))]),e("span",[t._v(t._s(t.$t("course.interval")))]),e("span",[t._v(t._s(t.$t("course.estimatedTime")))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t("course.describe")))])]),e("ul",t._l(t.rateList,(function(s){return e("li",{key:s.value},[e("span",{staticClass:"coin"},[e("img",{attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.label))]),e("span",[t._v(t._s(t.$t(s.condition)))]),e("span",[t._v(t._s(t.$t(s.interval)))]),e("span",[t._v(t._s(t.$t(s.estimatedTime)))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t(s.describe)))])])})),0)])])])])},e.Yp=[]},32020:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114),s(18111),s(20116),s(61701);var a=i(s(66848)),n=i(s(5507)),o=s(1652),r=i(s(9396));e.A=a.default.extend({mixins:[r.default],data(){return{editor:null,html:"",hasSetEditorContent:!1,mode:"default",addParams:{title:"",content:"",type:"",lang:"",titleUrl:"",articleUrl:"",childType:"",coin:""},lastSaveTime:"",autoSaveTimer:null,isSaving:!1,previewVisible:!1,currentTime:"",TypeList:[],addLoading:!1,typeArray:[],currencyList:[],screenCurrency:""}},mounted(){this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))}));try{this.TypeList=JSON.parse(localStorage.getItem("TypeList")),this.TypeList=this.TypeList.map((t=>({...t,label:this.$t(t.label),children:t.children?t.children.map((t=>({...t,label:this.$t(t.label)}))):void 0})))}catch(t){console.log(t)}this.loadFromLocalStorage(),window.addEventListener("beforeunload",this.handleBeforeUnload),this.editor=new n.default(this.$refs.editor),this.editor.config.height=600,this.editor.config.onchange=t=>{this.html=t,this.addParams.content=t},this.editor.config.colors=["#651FFF","#FF4081","#FF9900","#FFC107","#FF5722","#9C27B0","#673AB7","#3F51B5","#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#a96b59","#2b2b2b","#b6975a","#5b9bd5","#70ad47","#ed7d31","#ffc000","#7030a0","#f4b084","#bdd7ee","#a9d08e","#ffe699","#d9d9d9","#f8cbad","#e2efda","#fff2cc","#dbe5f1","#e4dfec","#fbeee6","#f6f6f6","#ff0000","#00b050","#0070c0","#7030a0","#ff9900","#808080"],this.editor.config.fontNames=[{name:"黑体",value:"黑体"},{name:"绝绝字体",value:"Times New Roman"},"黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],this.editor.create(),this.addParams.content&&!this.hasSetEditorContent&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content,this.hasSetEditorContent=!0)},methods:{async fetchAddDocument(t){this.setLoading("addLoading",!0);const e=await(0,o.addDocument)(t);if(e&&200==e.code){this.$message.success(this.$t("backendSystem.updateSuccess"));const t="editor_draft_add";sessionStorage.removeItem(t),this.$router.push({path:`/${this.$i18n.locale}/documentManagement`});for(const e in this.addParams)this.addParams[e]="";this.editor&&this.editor.txt.clear()}this.setLoading("addLoading",!1)},onCreated(t){this.editor=t,console.log("编辑器已初始化",this.editor),this.addParams.content&&this.$nextTick((()=>{this.editor.txt.html(this.addParams.content)}))},handelAddDocument(){this.addParams.title=this.addParams.title.trim(),this.editor&&(this.addParams.content=this.editor.txt.html()),console.log(this.addParams.content,"this.addParams.content"),this.addParams.content?this.addParams.title?(console.log(this.addParams.type,this.typeArray,"this.addParams.type"),this.addParams.type?"0"!=this.addParams.type||this.addParams.childType&&"0"!=this.addParams.childType?"1"!=this.addParams.type||this.screenCurrency?(this.addParams.content&&(this.addParams.content=this.addParams.content.replace(/]*href="#[^"]*")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")}))),this.addParams.coin=this.screenCurrency,console.log(this.addParams.content,"this.addParams.content"),this.fetchAddDocument(this.addParams)):this.$message({message:this.$t("backendSystem.pleaseSelectCurrency2")||"添加挖矿教程,请选择币种",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseSelectDocumentType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0})):this.$message({message:this.$t("backendSystem.pleaseInputTitle")||"请输入标题",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputContent2")||"请输入内容",type:"warning",duration:4e3,showClose:!0})},handlePreview(){this.previewVisible=!0,this.currentTime=(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},handlePreviewClose(){this.previewVisible=!1},handleSave(){this.addParams.content=this.addParams.content.replace(/]*href="#([^"]*)")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")})),this.manualSave(),this.$message({message:this.$t("backendSystem.contentSaved")||"内容已保存到本地,请尽快发布,关闭页面可能丢失内容",type:"success",duration:4e3,showClose:!0})},handleEditorChange(){this.handleAutoSave()},handleAutoSaveType(t){if(0!=t.length){console.log("走这里了嘛",t);try{let e=this.TypeList.find((e=>e.value===t[0]));e.articleUrl?this.addParams.articleUrl=e.articleUrl:this.addParams.articleUrl="",this.addParams.type=t[0],this.addParams.childType=t[1]}catch(e){console.log(e,"error")}this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)}},handleAutoSave(){this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},saveToLocalStorage(){try{this.editor&&(this.addParams.content=this.editor.txt.html());const t={title:this.addParams.title,content:this.addParams.content,type:this.addParams.type,imageUrl:this.addParams.imageUrl,timestamp:(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lastModified:Date.now()},e="editor_draft_add";sessionStorage.setItem(e,JSON.stringify(t)),this.lastSaveTime=t.timestamp,this.isSaving=!1}catch(t){console.error("自动保存失败:",t),this.isSaving=!1}},loadFromLocalStorage(){try{const t="editor_draft_add",e=sessionStorage.getItem(t);if(e){const s=JSON.parse(e);console.log(s,"data");const i=Date.now()-(s.lastModified||0)>6048e5;if(i)return console.log("本地数据已过期,清除缓存"),void sessionStorage.removeItem(t);this.$nextTick((()=>{"0"!==s.type&&(this.addParams.title=s.title||"",this.addParams.content=s.content||"",this.addParams.type=s.type||"",this.addParams.imageUrl=s.imageUrl||"",this.lastSaveTime=s.timestamp||"",console.log(s.type,this.typeArray,"data.type"),this.typeArray=[s.type],this.editor&&this.editor.txt.html(s.content||""))}))}}catch(t){console.error("恢复数据失败:",t)}},clearDraft(){const t="editor_draft_add";sessionStorage.removeItem(t),this.lastSaveTime="",this.isSaving=!1},manualSave(){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage()},handleBeforeUnload(t){(this.addParams.title||this.addParams.content)&&(this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage())},getDocumentTypeName(t){switch(t){case"1":return"服务条款";case"2":return"api文档";case"3":return"挖矿教程";case"0":return"其他";default:return"未知类型"}},handleInsertAnchor(){this.editor?this.$prompt(this.$t("backendSystem.pleaseInputAnchorName")||"请输入锚点名称(不能重复)",this.$t("backendSystem.insertAnchor")||"插入锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorNameErrorMessage")||"锚点名只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.cmd.do("insertHTML",``),this.html=this.editor.txt.html(),this.addParams.content=this.html,this.$message.success(this.$t("backendSystem.anchorInserted")||"锚点已插入")})).catch((()=>{})):this.$message.warning("编辑器尚未初始化")},handleAddHeadingId(){if(!this.editor)return void this.$message.warning("编辑器尚未初始化");const t=this.editor.getElemsByTypePrefix("header");if(!t||0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseSelectHeader")||"请先选中一个标题(h1~h6)");const e=t[0];this.$prompt(this.$t("backendSystem.pleaseInputAnchorID")||"请输入锚点ID(不能重复)",this.$t("backendSystem.titleAnchor")||"标题锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorIDErrorMessage")||"ID只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.setElemAttribute(e,"id",t),this.$message.success(this.$t("backendSystem.anchorIDAdded")||"锚点ID已添加")})).catch((()=>{}))},handleReset(){for(const e in this.addParams)this.addParams[e]="";this.editor&&this.editor.txt.clear();const t="editor_draft_add";sessionStorage.removeItem(t),this.$message.success(this.$t("backendSystem.contentReset")||"内容已重置")}},beforeDestroy(){this.editor&&this.editor.destroy()},beforeRouteLeave(t,e,s){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage(),s()}})},35329:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cs-chat-container"},["offline"===t.networkStatus?e("div",{staticClass:"network-status"},[e("i",{staticClass:"el-icon-warning"}),e("span",[t._v(t._s(t.$t("chat.networkError")||"网络连接已断开"))])]):t._e(),"connected"!==t.connectionStatus&&"error"!==t.connectionStatus?e("div",{staticClass:"connection-status",class:t.connectionStatus},[e("i",{class:"error"===t.connectionStatus?"el-icon-warning":"el-icon-loading"}),e("span",[t._v(t._s("error"===t.connectionStatus?t.$t("chat.Disconnected")||"连接已断开":t.$t("chat.reconnecting")||"正在连接...")+" ")])]):t._e(),e("div",{staticClass:"cs-chat-wrapper"},[e("div",{staticClass:"cs-contact-list"},[e("div",{staticClass:"cs-header"},[e("i",{staticClass:"el-icon-s-custom"}),t._v(" "+t._s(t.$t("chat.contactList")||"联系列表")+" ")]),e("div",{staticClass:"cs-search"},[e("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:t.$t("chat.search")||"搜索最近联系人",clearable:""},model:{value:t.searchText,callback:function(e){t.searchText=e},expression:"searchText"}})],1),e("div",{staticClass:"cs-contacts"},t._l(t.filteredContacts,(function(s,i){return e("div",{key:i,staticClass:"cs-contact-item",class:{active:t.currentContactId===s.roomId},attrs:{title:s.name},on:{click:function(e){return t.selectContact(s.roomId)}}},[e("div",{staticClass:"cs-avatar"},[e("i",{staticClass:"iconfont icon-icon28",staticStyle:{"font-size":"1.5vw"}}),s.unread?e("span",{staticClass:"unread-badge"},[t._v(t._s(s.unread))]):t._e(),s.isGuest?e("span",{staticClass:"guest-badge"},[t._v(t._s(t.$t("chat.tourist")||"游客"))]):t._e()]),e("div",{staticClass:"cs-contact-info"},[e("div",{staticClass:"cs-contact-name"},[t._v(" "+t._s(s.name)+" ")]),e("div",{staticClass:"cs-contact-msg"},[s.important?e("span",{staticClass:"important-tag"},[t._v("["+t._s(t.$t("chat.important")||"重要")+"] ")]):t._e()]),e("div",[e("span",{staticClass:"cs-contact-time",attrs:{title:s.lastTime}},[t._v(t._s(t.formatLastTime(s.lastTime)))])])]),e("div",{staticClass:"important-star",class:{"is-important":s.important},attrs:{title:t.$t("chat.markAsImportant")||"标记为重要聊天"},on:{click:function(e){return e.stopPropagation(),t.toggleImportant(s.roomId,!s.important)}}},[e("i",{staticClass:"el-icon-star-on"})])])})),0)]),e("div",{staticClass:"cs-chat-area"},[e("div",{staticClass:"cs-chat-header"},[e("div",{staticClass:"cs-chat-title"},[t._v(" "+t._s(t.currentContact?t.currentContact.name:t.$t("chat.chooseFirst")||"请选择联系人")+" "),t.currentContact&&t.currentContact.important?e("el-tag",{attrs:{size:"small",type:"danger"},on:{click:function(e){return t.toggleImportant(t.currentContact.roomId,!t.currentContact.important)}}},[t._v(" "+t._s(t.$t("chat.important")||"重要")+" ")]):t.currentContact?e("el-tag",{staticStyle:{cursor:"pointer"},attrs:{size:"small",type:"info"},on:{click:function(e){return t.toggleImportant(t.currentContact.roomId,!t.currentContact.important)}}},[t._v(" "+t._s(t.$t("chat.markAsImportant")||"标记为重要")+" ")]):t._e()],1),e("div",{staticClass:"cs-header-actions"},[e("i",{staticClass:"el-icon-time",attrs:{title:t.$t("chat.history")||"历史记录"},on:{click:t.loadMoreHistory}})])]),e("div",{ref:"messageContainer",staticClass:"cs-chat-messages",on:{scroll:t.handleScroll}},[t.currentContact?[t.currentMessages.length>0?e("div",{staticClass:"history-section"},[t.hasMoreHistory?e("div",{staticClass:"history-indicator",staticStyle:{cursor:"pointer","text-align":"center",color:"#409eff","margin-bottom":"10px","font-size":"0.7vw"},on:{click:t.loadMoreHistory}},[e("i",{staticClass:"el-icon-arrow-up"}),e("span",[t._v(t._s(t.$t("chat.loadMore")||"加载更多历史消息"))])]):e("div",{staticClass:"no-more-history",staticStyle:{"text-align":"center",color:"#909399","margin-bottom":"10px","font-size":"0.7vw",padding:"8px 0"}},[e("i",{staticClass:"el-icon-info"}),e("span",[t._v(t._s(t.noMoreHistoryMessage||t.$t("chat.noMoreHistory")||"没有更多历史消息"))])])]):t._e(),t.messagesLoading?e("div",{staticClass:"cs-loading"},[e("i",{staticClass:"el-icon-loading"}),e("p",[t._v(t._s(t.$t("chat.loading")||"加载消息中..."))])]):0===t.currentMessages.length?e("div",{staticClass:"cs-empty-chat"},[e("i",{staticClass:"el-icon-chat-line-round"}),e("p",[t._v(t._s(t.$t("chat.None")||"暂无消息记录"))])]):e("div",{staticClass:"cs-message-list"},t._l(t.currentMessages,(function(s,i){return e("div",{key:i,staticClass:"cs-message",class:{"cs-message-self":s.isSelf}},[t.showMessageTime(i)?e("div",{staticClass:"cs-message-time"},[t._v(" "+t._s(t.formatTime(s.time))+" ")]):t._e(),e("div",{staticClass:"cs-message-content"},[t._m(0,!0),e("div",{staticClass:"cs-bubble"},[e("div",{staticClass:"cs-sender"},[t._v(t._s(s.sender))]),s.isImage?e("div",{staticClass:"cs-image"},[e("img",{attrs:{src:s.content},on:{click:function(e){return t.previewImage(s.content)}}})]):e("div",{staticClass:"cs-text",domProps:{innerHTML:t._s(t.formatMessageContent(s.content))}})])])])})),0)]:e("div",{staticClass:"cs-empty-chat"},[e("i",{staticClass:"el-icon-chat-dot-round"}),e("p",[t._v(t._s(t.$t("chat.notSelected")||"您尚未选择联系人"))])])],2),e("div",{staticClass:"cs-chat-input"},[e("div",{staticClass:"cs-toolbar"},[e("i",{staticClass:"el-icon-picture-outline",attrs:{title:t.$t("chat.sendPicture")||"发送图片"},on:{click:t.openImageUpload}}),e("input",{ref:"imageInput",staticStyle:{display:"none"},attrs:{type:"file",accept:"image/*"},on:{change:t.handleImageUpload}})]),e("div",{staticClass:"cs-input-area"},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:400,disabled:!t.currentContact,resize:"none",placeholder:t.$t("chat.inputMessage")||"请输入消息,按Enter键发送,按Ctrl+Enter键换行"},nativeOn:{keydown:function(e){return t.handleKeyDown.apply(null,arguments)}},model:{value:t.inputMessage,callback:function(e){t.inputMessage=e},expression:"inputMessage"}})],1),e("div",{staticClass:"cs-send-area"},[e("span",{staticClass:"cs-counter"},[t._v(t._s(t.inputMessage.length)+"/400")]),e("el-button",{attrs:{type:"primary",disabled:!t.currentContact||!t.inputMessage.trim()||t.sending},on:{click:t.sendMessage}},[t.sending?e("i",{staticClass:"el-icon-loading"}):e("span",[t._v(t._s(t.$t("chat.send")||"发送"))])])],1)])])]),t.showScrollButton?e("div",{staticClass:"scroll-to-bottom",on:{click:function(e){return t.scrollToBottom(!0)}}},[t._v(" "+t._s(t.$t("chat.bottom")||"回到底部")+" "),e("i",{staticClass:"el-icon-arrow-down"})]):t._e(),e("el-dialog",{staticClass:"image-preview-dialog",attrs:{visible:t.previewVisible,"append-to-body":""},on:{"update:visible":function(e){t.previewVisible=e}}},[e("img",{staticClass:"preview-image",attrs:{src:t.previewImageUrl,alt:t.$t("chat.Preview")||"预览图片"}})])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"cs-avatar"},[e("i",{staticClass:"iconfont icon-icon28",staticStyle:{"font-size":"2vw"}})])}]},35899:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(22093));e.A={mixins:[a.default],metaInfo:{meta:[{name:"keywords",content:"服务条款,用户权益,权利义务,Terms of Service, User Rights, Rights and Obligations"},{name:"description",content:window.vm.$t("seo.ServiceTerms")}]}}},36425:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(67975));e.A={mixins:[a.default]}},41300:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(13821),a=s(21906),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"76d940dc",null),l=r.exports},42287:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(63587),a=s(46388),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"4ff46502",null),l=r.exports},42389:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(1652);e["default"]={data(){return{typeArray:[],currencyList:[],screenCurrency:""}},mounted(){this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.$route.query.id&&this.fetchDataInfo({id:this.$route.query.id})},methods:{async fetchDataInfo(t){const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.modifyData=e.data,this.addParams=this.modifyData,this.addParams.type=String(this.addParams.type),this.addParams.childType=String(this.addParams.childType),this.modifyData.childType&&"0"!==this.modifyData.childType?this.typeArray=[this.addParams.type,this.modifyData.childType]:this.typeArray=[this.modifyData.type],this.hasBackendData=!0,this.screenCurrency=this.addParams.coin,this.editor&&this.addParams.content&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content))},changeScreen(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],i=t.value;e===i&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}localStorage.setItem("userManagement_selectedCurrency",t)}}}},43421:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114);var a=i(s(53667));e.A={mixins:[a.default],metaInfo:{meta:[{name:"keywords",content:"API 文档,认证 token,接口调用,API documentation, authentication tokens, interface calls"},{name:"description",content:window.vm.$t("seo.apiFile")}]},data(){return{}},mounted(){},methods:{handelJump(t){const e=this.$i18n.locale,s=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${e}/${s}`)}}}},43661:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.addLoading,expression:"addLoading"}],staticClass:"editor-page",class:{"no-scroll":t.addLoading}},[e("section",{staticClass:"header-section"},[e("h2",{staticStyle:{"margin-bottom":"20px"}},[t._v(t._s(t.$t("backendSystem.modifyDocument")||"修改文档"))]),e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-left"},[e("div",{staticClass:"title-section"},[e("i",{staticClass:"el-icon-edit-outline title-icon"}),e("h1",{staticClass:"page-title"},[t._v(t._s(t.$t("backendSystem.wangeditor")||"wangeditor 富文本文档编辑器"))])])]),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{type:"primary",icon:"el-icon-link"},on:{click:t.handleInsertAnchor}},[t._v(" "+t._s(t.$t("backendSystem.insertAnchor")||"插入锚点")+" ")]),e("el-button",{attrs:{type:"info",icon:"el-icon-view"},on:{click:t.handlePreview}},[t._v(" "+t._s(t.$t("backendSystem.previewDocument")||"预览文档")+" ")]),e("el-button",{attrs:{type:"success",icon:"el-icon-document"},on:{click:t.handleSave}},[t._v(" "+t._s(t.$t("backendSystem.saveDocument")||"保存文档")+" ")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-upload2"},on:{click:t.handelAddDocument}},[t._v(" "+t._s(t.$t("backendSystem.modifyDocument")||"修改文档")+" ")])],1)])]),e("section",{staticClass:"content-section"},[e("div",{staticClass:"config-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-setting"}),e("span",[t._v(t._s(t.$t("backendSystem.documentConfiguration")||"文档配置"))])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.navigationTitle")||"导航标题"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputDocumentTitle")||"请输入文档标题",size:"medium",maxlength:"30","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.title,callback:function(e){t.$set(t.addParams,"title",e)},expression:"addParams.title"}})],1),e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v(t._s(t.$t("backendSystem.documentType")||"文档类型"))]),e("el-cascader",{attrs:{options:t.TypeList,clearable:"",placeholder:t.$t("backendSystem.pleaseSelectDocumentType")||"请选择文档类型",props:{label:"label",value:"value",children:"children"}},on:{change:function(e){return t.handleAutoSaveType(t.typeArray)}},model:{value:t.typeArray,callback:function(e){t.typeArray=e},expression:"typeArray"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.titleImageAddress")||"标题图片地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputImageAddress")||"请输入图片地址",size:"medium"},on:{input:t.handleAutoSave},model:{value:t.addParams.titleUrl,callback:function(e){t.$set(t.addParams,"titleUrl",e)},expression:"addParams.titleUrl"}})],1),e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.articleAccessAddress")||"文章访问地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputAccessAddress")||"请输入访问地址",size:"medium",maxlength:"50","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.articleUrl,callback:function(e){t.$set(t.addParams,"articleUrl",e)},expression:"addParams.articleUrl"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.coin2")||"币种"))]),e("el-select",{ref:"screen",staticClass:"input",attrs:{size:"middle",placeholder:t.$t("backendSystem.selectCurrency")},on:{change:function(e){return t.changeScreen(t.screenCurrency)}},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(s.label))])])])})),1)],1)])])]),e("div",{staticClass:"editor-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-edit-outline"}),e("span",[t._v(t._s(t.$t("backendSystem.richTextEditor")||"富文本编辑器"))])]),e("div",{staticClass:"editor-container"},[e("div",{ref:"editor"})])])]),e("el-dialog",{staticClass:"preview-dialog wangeditor-preview",attrs:{title:t.$t("backendSystem.documentPreview")||"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-content"},[e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.addParams.content)}}),t.addParams.content?t._e():e("div",{staticClass:"preview-empty"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v(t._s(t.$t("backendSystem.noContent")||"暂无内容"))])])]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v(t._s(t.$t("backendSystem.close")||"关闭"))])],1)])],1)},e.Yp=[]},46212:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(13415),a=s(32020),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"35543353",null),l=r.exports},46388:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(66848)),n=(i(s(5507)),s(1652));e.A=a.default.extend({components:{Editor:Editor,Toolbar:Toolbar},data(){return{editor:null,html:"

          hello

          ",toolbarConfig:{excludeKeys:[],insertKeys:{index:0,keys:["bold","italic","underline","through","code","sub","sup","clearStyle"]}},editorConfig:{placeholder:"请在此输入文档内容...",MENU_CONF:{}},mode:"default",addParams:{title:"",content:"",type:"",lang:"",imageUrl:""},lastSaveTime:"",autoSaveTimer:null,isSaving:!1,previewVisible:!1,currentTime:"",TypeList:[]}},methods:{async fetchAddDocument(t){await(0,n.addDocument)(t)},onCreated(t){this.editor=Object.seal(t),this.addParams.content&&this.$nextTick((()=>{t.setHtml(this.addParams.content)}))},handelAddDocument(){this.addParams.type?(this.editor&&(this.addParams.content=this.editor.getHtml()),this.fetchAddDocument(this.addParams)):this.$message({message:"请填写文档类型",type:"warning",duration:4e3,showClose:!0})},handlePreview(){this.previewVisible=!0,this.currentTime=(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},handlePreviewClose(){this.previewVisible=!1},handlePrintPreview(){const t=window.open("","_blank");t&&(t.document.write(`\n \n \n ${this.addParams.title||"文档预览"}\n \n \n \n ${this.addParams.content||'
          📄

          暂无内容

          '}\n \n \n `),t.document.close(),t.print(),t.close())},handleSave(){this.manualSave(),this.$message({message:"内容已保存到本地,请尽快发布,关闭页面可能丢失内容",type:"success",duration:4e3,showClose:!0})},handleEditorChange(){this.handleAutoSave()},handleAutoSave(){this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},saveToLocalStorage(){try{this.editor&&(this.addParams.content=this.editor.getHtml());const t={title:this.addParams.title,content:this.addParams.content,type:this.addParams.type,imageUrl:this.addParams.imageUrl,timestamp:(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lastModified:Date.now()};localStorage.setItem("editor_draft",JSON.stringify(t)),this.lastSaveTime=t.timestamp,this.isSaving=!1}catch(t){console.error("自动保存失败:",t),this.isSaving=!1}},loadFromLocalStorage(){try{const t=localStorage.getItem("editor_draft");if(t){const e=JSON.parse(t),s=Date.now()-(e.lastModified||0)>6048e5;if(s)return console.log("本地数据已过期,清除缓存"),void localStorage.removeItem("editor_draft");this.$nextTick((()=>{this.addParams.title=e.title||"",this.addParams.content=e.content||"",this.addParams.type=e.type||"1",this.addParams.imageUrl=e.imageUrl||"",this.lastSaveTime=e.timestamp||"",this.editor&&this.editor.setHtml(e.content||"")}))}}catch(t){console.error("恢复数据失败:",t)}},clearDraft(){localStorage.removeItem("editor_draft"),this.lastSaveTime="",this.isSaving=!1},manualSave(){this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage()},handleBeforeUnload(t){(this.addParams.title||this.addParams.content)&&(this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage())},getDocumentTypeName(t){switch(t){case"1":return"服务条款";case"2":return"api文档";case"3":return"挖矿教程";case"0":return"其他";default:return"未知类型"}}},mounted(){this.loadFromLocalStorage(),window.addEventListener("beforeunload",this.handleBeforeUnload),setTimeout((()=>{this.addParams.content||(this.html="

          模拟 Ajax 异步设置内容 HTML

          ")}),1500)},beforeDestroy(){this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage(),window.removeEventListener("beforeunload",this.handleBeforeUnload),this.autoSaveTimer&&clearTimeout(this.autoSaveTimer);const t=this.editor;null!=t&&t.destroy()},beforeRouteLeave(t,e,s){this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage(),s()}})},48047:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114),s(18111),s(20116),s(61701);var a=i(s(66848)),n=i(s(5507)),o=s(1652),r=i(s(42389));e.A=a.default.extend({mixins:[r.default],data(){return{editor:null,html:"",hasSetEditorContent:!1,mode:"default",addParams:{title:"",content:"",type:"",lang:"",titleUrl:"",articleUrl:"",childType:"",coin:""},lastSaveTime:"",autoSaveTimer:null,isSaving:!1,previewVisible:!1,currentTime:"",TypeList:[],addLoading:!1,typeArray:[]}},mounted(){try{this.TypeList=JSON.parse(localStorage.getItem("TypeList")),this.TypeList=this.TypeList.map((t=>({...t,label:this.$t(t.label),children:t.children?t.children.map((t=>({...t,label:this.$t(t.label)}))):void 0})))}catch(t){console.log(t)}this.loadFromLocalStorage(),window.addEventListener("beforeunload",this.handleBeforeUnload),setTimeout((()=>{this.addParams.content||(this.html="

          模拟 Ajax 异步设置内容 HTML

          ")}),1500),this.editor=new n.default(this.$refs.editor),this.editor.config.height=600,this.editor.config.onchange=t=>{this.html=t,this.addParams.content=t},this.editor.config.colors=["#651FFF","#FF4081","#FF9900","#FFC107","#FF5722","#9C27B0","#673AB7","#3F51B5","#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#a96b59","#2b2b2b","#b6975a","#5b9bd5","#70ad47","#ed7d31","#ffc000","#7030a0","#f4b084","#bdd7ee","#a9d08e","#ffe699","#d9d9d9","#f8cbad","#e2efda","#fff2cc","#dbe5f1","#e4dfec","#fbeee6","#f6f6f6","#ff0000","#00b050","#0070c0","#7030a0","#ff9900","#808080"],this.editor.config.fontNames=[{name:"黑体",value:"黑体"},{name:"绝绝字体",value:"Times New Roman"},"黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],this.editor.create(),this.addParams.content&&!this.hasSetEditorContent&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content,this.hasSetEditorContent=!0)},methods:{async fetchUpdateDocument(t){this.setLoading("addLoading",!0);const e=await(0,o.updateDocument)(t);e&&200==e.code&&(this.$message.success(this.$t("backendSystem.updateSuccess")),this.$router.push({path:`/${this.$i18n.locale}/documentManagement`})),this.setLoading("addLoading",!1)},onCreated(t){this.editor=t,console.log("编辑器已初始化",this.editor),this.addParams.content&&this.$nextTick((()=>{this.editor.txt.html(this.addParams.content)}))},handelAddDocument(){this.editor&&(this.addParams.content=this.editor.txt.html()),this.addParams.title=this.addParams.title.trim(),this.addParams.content.trim()?this.addParams.type?(console.log(this.addParams.type,this.addParams.childType,"this.addP就发货很符合arams.type"),"0"!=this.addParams.type||this.addParams.childType&&"0"!=this.addParams.childType?this.addParams.title?"1"!=this.addParams.type||this.screenCurrency?(this.addParams.content&&(this.addParams.content=this.addParams.content.replace(/]*href="#[^"]*")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")}))),this.addParams.coin=this.screenCurrency,console.log(this.addParams.content,"this.addParams.content"),this.fetchUpdateDocument(this.addParams)):this.$message({message:this.$t("backendSystem.pleaseSelectCurrency2")||"添加挖矿教程,请选择币种",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputTitle")||"请输入标题",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0})):this.$message({message:this.$t("backendSystem.pleaseInputType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputContent2")||"请输入内容",type:"warning",duration:4e3,showClose:!0})},handlePreview(){this.previewVisible=!0,this.currentTime=(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},handlePreviewClose(){this.previewVisible=!1},handleSave(){this.addParams.content=this.addParams.content.replace(/]*href="#([^"]*)")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")})),this.manualSave(),this.$message({message:this.$t("backendSystem.contentSaved")||"内容已保存到本地,请尽快发布,关闭页面可能丢失内容",type:"success",duration:4e3,showClose:!0})},handleEditorChange(){this.handleAutoSave()},handleAutoSaveType(t){try{if(0==t.length)return;console.log("走这里了嘛",t);let e=this.TypeList.find((e=>e.value===t[0]));if(console.log(e,t,"item"),e.articleUrl)this.addParams.articleUrl=e.articleUrl;else if(e.children&&e.children.length>0){let s=e.children.find((e=>e.value===t[1]));this.addParams.articleUrl=s.articleUrl}else this.addParams.articleUrl="";this.addParams.type=t[0],this.addParams.childType=t[1]}catch(e){console.log(e,"error")}this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},handleAutoSave(){this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},saveToLocalStorage(){try{this.editor&&(this.addParams.content=this.editor.txt.html());const t={title:this.addParams.title,content:this.addParams.content,type:this.addParams.type,imageUrl:this.addParams.imageUrl,timestamp:(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lastModified:Date.now()};localStorage.setItem("editor_draft",JSON.stringify(t)),this.lastSaveTime=t.timestamp,this.isSaving=!1}catch(t){console.error("自动保存失败:",t),this.isSaving=!1}},loadFromLocalStorage(){try{const t=localStorage.getItem("editor_draft");if(t){const e=JSON.parse(t),s=Date.now()-(e.lastModified||0)>6048e5;if(s)return console.log("本地数据已过期,清除缓存"),void localStorage.removeItem("editor_draft");this.$nextTick((()=>{"0"!==e.type&&(this.addParams.title=e.title||"",this.addParams.content=e.content||"",this.addParams.type=e.type||"",this.addParams.imageUrl=e.imageUrl||"",this.lastSaveTime=e.timestamp||"",this.typeArray=[e.type],this.editor&&this.editor.txt.html(e.content||""))}))}}catch(t){console.error("恢复数据失败:",t)}},clearDraft(){localStorage.removeItem("editor_draft"),this.lastSaveTime="",this.isSaving=!1},manualSave(){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage()},handleBeforeUnload(t){(this.addParams.title||this.addParams.content)&&(this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage())},getDocumentTypeName(t){switch(t){case"1":return"home.serviceTerms";case"2":return"home.APIfile";case"3":return"home.miningTutorial";case"0":return"home.other";default:return"home.unknownType"}},handleInsertAnchor(){this.editor?this.$prompt(this.$t("backendSystem.pleaseInputAnchorName")||"请输入锚点名称(不能重复)",this.$t("backendSystem.insertAnchor")||"插入锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorNameErrorMessage")||"锚点名只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.cmd.do("insertHTML",``),this.html=this.editor.txt.html(),this.addParams.content=this.html,this.$message.success(this.$t("backendSystem.anchorInserted")||"锚点已插入")})).catch((()=>{})):this.$message.warning("编辑器尚未初始化")},handleAddHeadingId(){if(!this.editor)return void this.$message.warning("编辑器尚未初始化");const t=this.editor.getElemsByTypePrefix("header");if(!t||0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseSelectHeader")||"请先选中一个标题(h1~h6)");const e=t[0];this.$prompt(this.$t("backendSystem.pleaseInputAnchorID")||"请输入锚点ID(不能重复)",this.$t("backendSystem.titleAnchor")||"标题锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorIDErrorMessage")||"ID只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.setElemAttribute(e,"id",t),this.$message.success(this.$t("backendSystem.anchorIDAdded")||"锚点ID已添加")})).catch((()=>{}))}},beforeDestroy(){this.editor&&this.editor.destroy()},beforeRouteLeave(t,e,s){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage(),s()}})},50600:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dataMain"},[e("section",{staticClass:"content"},[e("p",{staticClass:"title2"},[t._v(t._s(t.$t("chooseUs.why")))]),e("section",{staticClass:"topBox"},[e("div",{staticClass:"top top1"},[e("div",{staticClass:"icon"},[e("img",{staticStyle:{width:"45px"},attrs:{src:s(16712),alt:"wallet",loading:"lazy"}}),e("h4",[t._v(t._s(t.$t("chooseUs.title1")))])]),e("p",[t._v("    "+t._s(t.$t("chooseUs.text1")))])]),e("div",{staticClass:"top top2"},[e("div",{staticClass:"icon"},[e("img",{attrs:{src:s(21525),alt:"security",loading:"lazy"}}),e("h4",[t._v(t._s(t.$t("chooseUs.title2")))])]),e("p",[t._v("     "+t._s(t.$t("chooseUs.text2")))])]),e("div",{staticClass:"top top3"},[e("div",{staticClass:"icon"},[e("img",{attrs:{src:s(84441),alt:"customer service",loading:"lazy"}}),e("h4",[t._v(t._s(t.$t("chooseUs.title3")))])]),e("p",[t._v("     "+t._s(t.$t("chooseUs.text3")))])])])])])},e.Yp=[]},53667:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588),s(61701),s(13579);var i=s(1652);e["default"]={name:"ApiFile",data(){return{listParams:{lang:`${this.$i18n.locale}`,childType:3,pageNum:1,pageSize:50},DetailsParams:{lang:`${this.$i18n.locale}`,childType:3},navContent:{},documentLoading:!0,documentContent:"",documentError:"",navList:[],info:""}},mounted(){this.getDocumentsList(this.listParams)},methods:{async getDocumentsList(t){try{const e=await(0,i.documentsList)(t);this.setLoading("documentLoading",!0),e&&200===e.code&&(this.navList=e.rows,this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=e.rows[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams))}catch(e){console.error("获取文档列表失败:",e)}},async fetchProblemDetails(t){this.setLoading("documentLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||""),this.setLoading("documentLoading",!1)},markdownToHtml(t){if(!t)return"";let e=this.processMarkdownTables(t);e=e.replace(/^### (.*$)/gim,"

          $1

          ").replace(/^## (.*$)/gim,"

          $1

          ").replace(/^# (.*$)/gim,"

          $1

          ").replace(/\*\*(.*?)\*\*/gim,"$1").replace(/\*(.*?)\*/gim,"$1").replace(/```([\s\S]*?)```/gim,"
          $1
          ").replace(/`([^`]*)`/gim,"$1").replace(/\[([^\]]*)\]\(([^)]*)\)/gim,'$1');const s=e.split(/()/g);return e=s.map((t=>t.startsWith("

          ").replace(/\n/gim,"
          "))).join(""),!e||e.startsWith("<")||e.includes(""+e+"

          "),e},processMarkdownTables(t){const e=/(\|.*\|[\r\n]+)+/g;return t.replace(e,(t=>{const e=t.trim().split(/[\r\n]+/);if(e.length<2)return t;let s='\n';return e.forEach(((t,e)=>{if(t=t.trim(),!t.startsWith("|")||!t.endsWith("|"))return;const i=t.slice(1,-1),a=i.split("|").map((t=>t.trim()));if(a.some((t=>/^-+$/.test(t))))return;const n=0===e,o=n?"th":"td",r=n?' style="background: #f8f9fa; font-weight: 600; padding: 8px 12px; border: 1px solid #ddd; text-align: left;"':' style="padding: 8px 12px; border: 1px solid #ddd; text-align: left;"';s+=" \n",a.forEach((t=>{s+=` <${o}${r}>${t}\n`})),s+=" \n"})),s+="
          \n",s}))},clickJump(t){this.DetailsParams.id=t.id,this.fetchProblemDetails(this.DetailsParams)}}}},54718:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(66443),a=s(35899),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"daa10838",null),l=r.exports},57270:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(22489),s(61701);var i=s(73723);s(34815),e["default"]={data(){return{tableData:[],listParams:{pageNum:1,pageSize:50},addParams:{content:"",buttonContent:"",buttonPath:""},editParams:{content:"",id:"",buttonContent:"",buttonPath:""},dialogVisible:!1,bthLoading:!1,broadcastLoading:!1,editDialogVisible:!1,editLoading:!1,byteCount:"",isOverLimit:!1,total:0,pageSizes:[50,100,300],currentPage:1}},mounted(){let t;try{t=JSON.parse(localStorage.getItem("token"))}catch(e){console.log(e)}t&&this.fetchList(this.listParams)},methods:{async fetchList(t){this.setLoading("broadcastLoading",!0);const e=await(0,i.listBroadcast)(t);200===e.code&&(this.tableData=e.rows,this.total=e.total),this.setLoading("broadcastLoading",!1)},async addBroadcast(t){this.setLoading("bthLoading",!0),console.log("发送广播请求的参数:",t);const e=await(0,i.getAddBroadcast)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.addSuccess")),this.dialogVisible=!1,this.addParams.content="",this.addParams.buttonContent="",this.addParams.buttonPath="",this.fetchList(this.listParams)),this.setLoading("bthLoading",!1)},async getBroadcast(t){this.setLoading("editLoading",!0);const e=await(0,i.dataInfo)(t);200===e.code&&(this.editParams={...e.data,buttonPath:Array.isArray(e.data.buttonPath)?e.data.buttonPath.join(","):e.data.buttonPath||""},this.editDialogVisible=!0),this.setLoading("editLoading",!1)},async editBroadcast(t){this.setLoading("editLoading",!0),console.log("发送编辑广播请求的参数:",t);const e=await(0,i.updateBroadcast)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.editSuccess")),this.editDialogVisible=!1,this.fetchList(this.listParams)),this.setLoading("editLoading",!1)},async deleteBroadcast(t){const e=await(0,i.DeleteBroadcast)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.deleteSuccess")),this.fetchList(this.listParams))},handelAddBroadcast(){this.dialogVisible=!0},handleClose(){this.dialogVisible=!1,this.addParams.content="",this.addParams.buttonContent="",this.addParams.buttonPath="",this.setLoading("bthLoading",!1)},sureAddBroadcast(){if(this.addParams.content=this.addParams.content.trim(),this.addParams.content=this.addParams.content.replace(/[\r\n]/g,""),this.addParams.buttonPath=this.addParams.buttonPath.trim(),this.addParams.buttonPath=this.addParams.buttonPath.replace(/[\r\n]/g,""),this.addParams.content)if(this.addParams.buttonContent&&this.addParams.buttonPath||!this.addParams.buttonContent&&!this.addParams.buttonPath){if(this.addParams.buttonPath){let t=this.addParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));const e=t.filter((t=>!t.startsWith("/")));if(e.length>0)return void this.$message.error(`路径必须以 / 开头: ${e.join(", ")}`);if(this.addParams.buttonContent){let e=this.addParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.addParams.buttonContent&&this.addParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}}this.addBroadcast(this.addParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},sureEditBroadcast(){let t,e;if(this.editParams.content=this.editParams.content.trim(),this.editParams.content=this.editParams.content.replace(/[\r\n]/g,""),this.editParams.content){if(this.editParams.buttonContent){if(this.editParams.buttonContent=this.editParams.buttonContent.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonContent){if(t=this.editParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"))}if(this.editParams.buttonPath){if(this.editParams.buttonPath=this.editParams.buttonPath.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonPath){if(e=this.editParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));const t=e.filter((t=>!t.startsWith("/")));if(t.length>0)return void this.$message.error(`路径必须以 / 开头: ${t.join(", ")}`)}}if(this.editParams.buttonContent&&this.editParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}this.editBroadcast(this.editParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},handleEdit(t){this.getBroadcast({id:t.id})},handleEditClose(){this.editDialogVisible=!1,this.editParams.content="",this.editParams.buttonContent="",this.editParams.buttonPath="",this.setLoading("editLoading",!1)},handelDelete(t){this.deleteBroadcast({id:t.id})},getUtf8Bytes(t){let e=0;for(let s=0;s100){this.isOverLimit=!0;let i="",a=0;for(let e of t){let t=this.getUtf8Bytes(e);if(a+t>100)break;i+=e,a+=t}"add"===e?this.addParams.content=i:this.editParams.content=i,s=a}else this.isOverLimit=!1,"add"===e?this.addParams.content=t:this.editParams.content=t;this.byteCount=s},handelTime(t){return`${t.split("T")[0]} ${t.split("T")[1]}`},handleSizeChange(t){console.log(`每页 ${t} 条`),this.listParams.pageSize=t,this.listParams.pageNum=1,this.currentPage=1,this.fetchList(this.listParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.listParams.pageNum=t,this.fetchList(this.listParams)},getValidPathSuggestions(){return[]},showPathHelp(){const t="\n 路径规则:\n • 多个路径用逗号分隔\n • 路径格式自由,不做严格验证\n • 支持任意路径格式\n ";this.$alert(t,"路径格式说明",{confirmButtonText:"知道了",type:"info",customClass:"path-help-dialog"})},formatButtonContent(t){return t&&"string"===typeof t?t.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):[]},formatButtonPath(t){return t&&"string"===typeof t?t.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):[]}}}},59018:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(13579);var i=s(1652);const a="announcementDetails:selectedId";e["default"]={data(){return{problems:[{id:1,title:"如何开始挖矿?",content:"详细步骤:注册、配置矿机、连接矿池。"},{id:2,title:"如何查看收益?",content:"登录后在个人中心查看收益统计。"},{id:3,title:"如何联系客服?",content:"可通过在线客服或提交工单联系我们。"}],listParams:{type:"3",lang:this.$i18n.locale,pageNum:1,pageSize:50},problemLoading:!1,DetailsParams:{id:"",lang:this.$i18n.locale},info:""}},mounted(){this.fetchProblemsList(this.listParams)},methods:{async fetchProblemsList(t){this.setLoading("problemLoading",!0);const e=await(0,i.documentsList)(t);if(e&&200===e.code){this.problems=e.rows;const t=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"",s=this.getSavedSelectedId();let i=t||s||"";if(!i&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id)),i){const t=(this.problems||[]).some((t=>String(t.id)===String(i)));!t&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id))}this.DetailsParams.id=i,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}this.setLoading("problemLoading",!1)},async fetchProblemDetails(t){this.setLoading("problemLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(console.log(e,"res"),this.info=e.data.content||""),this.setLoading("problemLoading",!1)},handleClick(t){this.DetailsParams.id=t,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.fetchProblemDetails(this.DetailsParams)},persistSelectedId(t){try{window.localStorage.setItem(a,String(t))}catch(e){console.error("persistSelectedId error",e)}},getSavedSelectedId(){try{return window.localStorage.getItem(a)||""}catch(t){return console.error("getSavedSelectedId error",t),""}},updateRouteQueryId(t){try{if(!this.$route)return;const e=String(t),s=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"";if(s===e)return;const i={...this.$route.query||{},id:e};if(this.$router&&"function"===typeof this.$router.replace){const t=this.$router.replace({query:i});t&&"function"===typeof t.catch&&t.catch((()=>{}))}}catch(e){console.error("updateRouteQueryId error",e)}}}}},63587:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"editor-page"},[e("div",{staticClass:"page-header"},[t._m(0),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{type:"info",icon:"el-icon-view"},on:{click:t.handlePreview}},[t._v(" 预览文档 ")]),e("el-button",{attrs:{type:"success",icon:"el-icon-document"},on:{click:t.handleSave}},[t._v(" 保存文档 ")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-upload2"},on:{click:t.handelAddDocument}},[t._v(" 发布文档 ")])],1)]),e("div",{staticClass:"config-section"},[t._m(1),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v("文档标题")]),e("el-input",{attrs:{placeholder:"请输入文档标题",size:"medium"},on:{input:t.handleAutoSave},model:{value:t.addParams.title,callback:function(e){t.$set(t.addParams,"title",e)},expression:"addParams.title"}})],1),e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v("文档类型")]),e("el-select",{attrs:{placeholder:"请选择文档类型",size:"medium"},on:{change:t.handleAutoSave},model:{value:t.addParams.type,callback:function(e){t.$set(t.addParams,"type",e)},expression:"addParams.type"}},t._l(t.TypeList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)])])]),e("div",{staticClass:"editor-section"},[t._m(2),e("div",{staticClass:"editor-container"},[e("Toolbar",{staticStyle:{"border-bottom":"1px solid #ccc"},attrs:{editor:t.editor,defaultConfig:t.toolbarConfig,mode:t.mode}}),e("Editor",{staticStyle:{height:"600px","overflow-y":"hidden"},attrs:{defaultConfig:t.editorConfig,mode:t.mode},on:{onCreated:t.onCreated,onChange:t.handleEditorChange},model:{value:t.addParams.content,callback:function(e){t.$set(t.addParams,"content",e)},expression:"addParams.content"}})],1)]),e("el-dialog",{staticClass:"preview-dialog",attrs:{title:"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-content"},[e("div",{domProps:{innerHTML:t._s(t.addParams.content)}}),t.addParams.content?t._e():e("div",{staticClass:"preview-empty"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v("暂无内容")])])]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v("关闭")]),e("el-button",{attrs:{type:"primary"},on:{click:t.handlePrintPreview}},[t._v("打印预览")])],1)])],1)},e.Yp=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"header-left"},[e("div",{staticClass:"title-section"},[e("i",{staticClass:"el-icon-edit-outline title-icon"}),e("h1",{staticClass:"page-title"},[t._v("wangeditor 富文本文档编辑器")])]),e("p",{staticClass:"page-description"},[t._v("使用富文本编辑器创建和管理文档,支持文本格式化、链接、列表等功能")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-setting"}),e("span",[t._v("文档配置")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-edit-outline"}),e("span",[t._v("富文本编辑器")])])}]},63683:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(91312),a=s(17308),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"ec5988d8",null),l=r.exports},64909:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(98383),a=s(8619),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"0e9d673d",null),l=r.exports},66443:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ServiceTerms"},[e("section",{staticClass:"content"},[t.loading?e("div",{staticClass:"loading-container"},[e("el-icon",{staticClass:"is-loading"},[e("i",{staticClass:"el-icon-loading"})]),e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("ServiceTerms.loadingText")||"正在加载文档内容..."))])],1):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("ServiceTerms.noContent")||"暂无自定义文档内容"))])])])])},e.Yp=[]},66888:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{rateList:[{value:"nexa",label:"nexa",img:`${this.$baseApi}img/nexa.png`,condition:"course.conditionNexa",interval:"course.intervalNexa",estimatedTime:"course.estimatedTimeNexa",describe:"course.describeNexa"},{value:"grs",label:"grs",img:`${this.$baseApi}img/grs.svg`,condition:"course.conditionGrs",interval:"course.intervalGrs",estimatedTime:"course.estimatedTimeGrs",describe:"course.describeGrs"},{value:"mona",label:"mona",img:`${this.$baseApi}img/mona.svg`,condition:"course.conditionMona",interval:"course.intervalMona",estimatedTime:"course.estimatedTimeMona",describe:"course.describeMona"},{value:"dgbs",label:"dgb(skein)",img:`${this.$baseApi}img/dgb.svg`,condition:"course.conditionDgbs",interval:"course.intervalDgbs",estimatedTime:"course.estimatedTimeDgbs",describe:"course.describeDgbs"},{value:"dgbq",label:"dgb(qubit)",img:`${this.$baseApi}img/dgb.svg`,condition:"course.conditionDgbq",interval:"course.intervalDgbq",estimatedTime:"course.estimatedTimeDgbq",describe:"course.describeDgbq"},{value:"dgbo",label:"dgb(odocrypt)",img:`${this.$baseApi}img/dgb.svg`,condition:"course.conditionDgbo",interval:"course.intervalDgbo",estimatedTime:"course.estimatedTimeDgbo",describe:"course.describeDgbo"},{value:"rxd",label:"radiant",img:`${this.$baseApi}img/rxd.png`,condition:"course.conditionRxd",interval:"course.intervalRxd",estimatedTime:"course.estimatedTimeRxd",describe:"course.describeRxd"},{value:"alph",label:"alephium",img:`${this.$baseApi}img/alph.svg`,condition:"course.conditionAlph",interval:"course.intervalAlph",estimatedTime:"course.estimatedTimeAlph",describe:"course.describeAlph"}]}}}},67975:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{currencyList:[{value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"NEXA 全名为NEXA Coin。它的主要目标是建立一个安全、高效的去中心化数字资产交易生态系统,提供更好的交易体验和丰富的金融服务‌。"},{value:"grs",label:"grs",img:s(78628),imgUrl:`${this.$baseApi}img/grs.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌GRS全称为Grscoin,也称为Groestlcoin。它于2014年创立,采用Groestl算法,旨在提供更快速、更节能的交易环境‌"},{value:"mona",label:"mona",img:s(85857),imgUrl:`${this.$baseApi}img/mona.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌Mona币(Monacoin)‌,中文名为萌奈币,是2013年12月诞生的日本第一个数字货币。Mona币采用Scrypt算法和Proof of Work机制,旨在成为一种广泛接受的数字货币,主要用于日本的在线交易、游戏和文化产业‌。"},{value:"dgbs",label:"dgb(skein)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台"},{value:"dgbq",label:"dgb(qubit)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台"},{value:"dgbo",label:"dgb(odocrypt)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台"},{value:"rxd",label:"radiant",img:s(94158),imgUrl:`${this.$baseApi}img/rxd.png`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"Radiant币(RDNT)是Radiant Capital项目的原生代币,主要用于借款利息支付、流动性挖矿释放以及提前提款的罚金‌‌.Radiant Capital是一个建立在Arbitrum上的跨链借贷协议平台,旨在发展成为一个跨链借贷市场,允许用户在多个区块链上进行借贷操作"}]}}}},70525:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(22489),s(20116),s(61701);var i=s(1652);e["default"]={data(){return{tableData:[],listParams:{pageNum:1,pageSize:50,keyword:"",lang:"",type:""},addParams:{content:"",buttonContent:"",buttonPath:""},editParams:{content:"",id:"",buttonContent:"",buttonPath:""},dialogVisible:!1,bthLoading:!1,documentLoading:!1,editDialogVisible:!1,editLoading:!1,byteCount:"",isOverLimit:!1,total:0,pageSizes:[50,100,300],currentPage:1,TypeList:[{value:"1",label:"backendSystem.miningTutorial",articleUrl:"AccessMiningPool"},{value:"2",label:"backendSystem.commonProblems",articleUrl:"commonProblem"},{value:"3",label:"backendSystem.announcementCenter",articleUrl:"announcements"},{value:"0",label:"backendSystem.other",articleUrl:"",children:[{value:"1",label:"home.serviceTerms",articleUrl:"serviceTerms"},{value:"2",label:"home.rate",articleUrl:"rate"},{value:"3",label:"home.APIfile",articleUrl:"apiFile"}]}],queryParams:{keyword:"",type:""}}},mounted(){let t;this.$addStorageEvent(1,"TypeList",JSON.stringify(this.TypeList)),this.listParams.lang=this.$i18n.locale;try{t=JSON.parse(localStorage.getItem("token"))}catch(e){console.log(e)}t&&this.fetchListData(this.listParams)},methods:{async fetchListData(t){this.setLoading("documentLoading",!0);const e=await(0,i.getListDataByPage)(t);200===e.code&&(this.tableData=e.rows,this.total=e.total),this.setLoading("documentLoading",!1)},async fetchUpdateDocument(t){this.setLoading("editLoading",!0),console.log("发送编辑广播请求的参数:",t);const e=await(0,i.updateDocument)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.editSuccess")),this.editDialogVisible=!1,this.fetchListData(this.listParams)),this.setLoading("editLoading",!1)},async deleteDocument(t){const e=await(0,i.deleteDocument)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.deleteSuccess")),this.fetchListData(this.listParams))},handelAddDocument(){const t=this.$i18n.locale;this.$router.push(`/${t}/addDocument`)},handleClose(){this.dialogVisible=!1,this.addParams.content="",this.addParams.buttonContent="",this.addParams.buttonPath="",this.setLoading("bthLoading",!1)},sureAddBroadcast(){if(this.addParams.content=this.addParams.content.trim(),this.addParams.content=this.addParams.content.replace(/[\r\n]/g,""),this.addParams.buttonPath=this.addParams.buttonPath.trim(),this.addParams.buttonPath=this.addParams.buttonPath.replace(/[\r\n]/g,""),this.addParams.content)if(this.addParams.buttonContent&&this.addParams.buttonPath||!this.addParams.buttonContent&&!this.addParams.buttonPath){if(this.addParams.buttonPath){let t=this.addParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.addParams.buttonContent){let e=this.addParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.addParams.buttonContent&&this.addParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}const e=t.filter((t=>!isValidPath(t)));if(e.length>0){const t=getPathSuggestions(e[0]);return void this.$message.error(`${this.$t("backendSystem.invalidPath")}: ${e.join(", ")}。${this.$t("backendSystem.invalidPathSuggestions")}: ${t.slice(0,3).join(", ")}`)}}this.addBroadcast(this.addParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},surefetchUpdateDocument(){let t,e;if(this.editParams.content=this.editParams.content.trim(),this.editParams.content=this.editParams.content.replace(/[\r\n]/g,""),this.editParams.content){if(this.editParams.buttonContent){if(this.editParams.buttonContent=this.editParams.buttonContent.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonContent){if(t=this.editParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"))}if(this.editParams.buttonPath){if(this.editParams.buttonPath=this.editParams.buttonPath.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonPath){if(e=this.editParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));const t=e.filter((t=>!isValidPath(t)));if(t.length>0){const e=getPathSuggestions(t[0]);return void this.$message.error(`${this.$t("backendSystem.invalidPath")}: ${t.join(", ")}。${this.$t("backendSystem.invalidPathSuggestions")}: ${e.slice(0,3).join(", ")}`)}}}if(this.editParams.buttonContent&&this.editParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}this.fetchUpdateDocument(this.editParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},handleEdit(t){this.$router.push({path:`/${this.$i18n.locale}/modifyDocument`,query:{id:t.id}})},handleEditClose(){this.editDialogVisible=!1,this.editParams.content="",this.editParams.buttonContent="",this.editParams.buttonPath="",this.setLoading("editLoading",!1)},handelDelete(t){this.deleteDocument({id:t.id})},getUtf8Bytes(t){let e=0;for(let s=0;s100){this.isOverLimit=!0;let i="",a=0;for(let e of t){let t=this.getUtf8Bytes(e);if(a+t>100)break;i+=e,a+=t}"add"===e?this.addParams.content=i:this.editParams.content=i,s=a}else this.isOverLimit=!1,"add"===e?this.addParams.content=t:this.editParams.content=t;this.byteCount=s},handelTime(t){return`${t.split("T")[0]} ${t.split("T")[1]}`},handleSizeChange(t){this.listParams.pageSize=t,this.listParams.pageNum=1,this.currentPage=1,this.fetchListData(this.listParams)},handleCurrentChange(t){this.listParams.pageNum=t,this.fetchListData(this.listParams)},getValidPathSuggestions(){return getPathSuggestions("").slice(0,8)},showPathHelp(){const t=this.getValidPathSuggestions(),e=`\n 常用路径示例:\n ${t.slice(0,10).join("\n")}\n \n 路径规则:\n • 多个路径用逗号分隔\n • 路径必须以 / 开头\n • 支持动态路由参数\n • 不要包含域名,只写路径部分\n `;this.$alert(e,"路径格式说明",{confirmButtonText:"知道了",type:"info",customClass:"path-help-dialog"})},formatButtonContent(t){return t&&"string"===typeof t?t.split(",").map((t=>t.trim())).filter((t=>t)):[]},formatButtonPath(t){return t&&"string"===typeof t?t.split(",").map((t=>t.trim())).filter((t=>t)):[]},handelType(t){try{let e=this.TypeList.find((e=>e.value==t)).label;return this.$t(e)}catch(e){return""}},changeScreen(t){this.listParams.type=t,this.fetchListData(this.listParams)},handelQuery(){this.listParams.keyword=this.queryParams.keyword,this.listParams.keyword?this.fetchListData(this.listParams):this.$message.warning(this.$t("backendSystem.pleaseInputKeyword"))},handleInputClear(){this.listParams.keyword=this.queryParams.keyword,this.fetchListData(this.listParams)}}}},72841:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(35329),a=s(4710),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"fdce8168",null),l=r.exports},75690:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcements-container"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.announcementsLoading,expression:"announcementsLoading"}],staticClass:"main-content"},[e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-left"},[e("h1",{staticClass:"page-title"},[t._v(t._s(t.$t("home.announcements")||"公告中心"))])])]),t.showMarkdownGuide?e("div",{staticClass:"markdown-guide-section"},[e("transition",{attrs:{name:"slide-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showMarkdownGuide,expression:"showMarkdownGuide"}],staticClass:"markdown-guide-content"},[e("div",{staticClass:"guide-container"},[e("h3",{staticClass:"guide-title"},[t._v("📝 Markdown 语法规则详解")]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("1. 标题语法 (#符号)")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("# 一级标题 (最大)\n## 二级标题 \n### 三级标题\n#### 四级标题\n##### 五级标题\n###### 六级标题 (最小)")])])]),e("div",{staticClass:"result-preview"},[e("h1",{staticStyle:{"font-size":"24px",margin:"8px 0"}},[t._v("一级标题")]),e("h2",{staticStyle:{"font-size":"20px",margin:"6px 0"}},[t._v("二级标题")]),e("h3",{staticStyle:{"font-size":"16px",margin:"4px 0"}},[t._v("三级标题")])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("2. 文本格式化")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("**粗体文本**\n*斜体文本*\n***粗斜体***\n~~删除线~~\n`行内代码`")])])]),e("div",{staticClass:"result-preview"},[e("p",[e("strong",[t._v("粗体文本")])]),e("p",[e("em",[t._v("斜体文本")])]),e("p",[e("strong",[e("em",[t._v("粗斜体")])])]),e("p",[e("del",[t._v("删除线")])]),e("p",[e("code",[t._v("行内代码")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("3. 列表语法")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("- 无序列表项 1\n- 无序列表项 2\n - 子列表项 2.1\n - 子列表项 2.2\n\n1. 有序列表项 1\n2. 有序列表项 2\n3. 有序列表项 3")])])]),e("div",{staticClass:"result-preview"},[e("ul",[e("li",[t._v("无序列表项 1")]),e("li",[t._v("无序列表项 2 "),e("ul",[e("li",[t._v("子列表项 2.1")]),e("li",[t._v("子列表项 2.2")])])])]),e("ol",[e("li",[t._v("有序列表项 1")]),e("li",[t._v("有序列表项 2")]),e("li",[t._v("有序列表项 3")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("4. 链接和图片")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("[链接文本](https://example.com)\n![图片描述](https://example.com/image.png)\n\n参考式链接:\n[链接文本][1]\n[1]: https://example.com")])])]),e("div",{staticClass:"result-preview"},[e("p",[e("a",{staticStyle:{color:"#5721E4"},attrs:{href:"#"}},[t._v("链接文本")])]),e("p",[t._v("📷 图片会在这里显示")]),e("p",[e("a",{staticStyle:{color:"#5721E4"},attrs:{href:"#"}},[t._v("参考式链接")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("5. 代码块")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v('```javascript\nfunction hello() {\n console.log("Hello World!");\n}\n```\n\n```python\ndef hello():\n print("Hello World!")\n```')])])]),e("div",{staticClass:"result-preview"},[e("pre",{staticStyle:{background:"#f8f9fa",padding:"12px","border-radius":"4px"}},[e("code",[t._v('function hello() {\n console.log("Hello World!");\n}')])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("6. 表格语法")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("| 列标题1 | 列标题2 | 列标题3 |\n|---------|---------|---------|\n| 单元格1 | 单元格2 | 单元格3 |\n| 数据A | 数据B | 数据C |\n\n对齐方式:\n| 左对齐 | 居中对齐 | 右对齐 |\n|:-------|:--------:|-------:|\n| 左 | 中 | 右 |")])])]),e("div",{staticClass:"result-preview"},[e("table",{staticStyle:{"border-collapse":"collapse",width:"100%"}},[e("thead",[e("tr",{staticStyle:{background:"#f8f9fa"}},[e("th",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("列标题1")]),e("th",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("列标题2")]),e("th",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("列标题3")])])]),e("tbody",[e("tr",[e("td",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("单元格1")]),e("td",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("单元格2")]),e("td",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("单元格3")])])])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("7. 引用语法")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("> 这是一个引用块\n> 可以包含多行内容\n> \n> > 嵌套引用\n> > 可以多层嵌套")])])]),e("div",{staticClass:"result-preview"},[e("blockquote",{staticStyle:{"border-left":"4px solid #5721E4","padding-left":"16px",margin:"16px 0",color:"#666"}},[e("p",[t._v("这是一个引用块"),e("br"),t._v("可以包含多行内容")]),e("blockquote",{staticStyle:{"border-left":"4px solid #ccc","padding-left":"16px"}},[e("p",[t._v("嵌套引用"),e("br"),t._v("可以多层嵌套")])])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("8. 分隔线")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("--- (三个或更多短横线)\n*** (三个或更多星号) \n___ (三个或更多下划线)")])])]),e("div",{staticClass:"result-preview"},[e("hr",{staticStyle:{border:"none","border-top":"1px solid #ddd",margin:"16px 0"}})])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("9. 任务列表")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("- [x] 已完成任务\n- [ ] 待完成任务\n- [x] 另一个已完成任务")])])]),e("div",{staticClass:"result-preview"},[e("ul",{staticStyle:{"list-style":"none","padding-left":"0"}},[e("li",[t._v("☑️ 已完成任务")]),e("li",[t._v("☐ 待完成任务")]),e("li",[t._v("☑️ 另一个已完成任务")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("10. 转义字符")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("\\* 显示星号而不是斜体\n\\# 显示井号而不是标题\n\\` 显示反引号\n\\\\ 显示反斜杠")])])]),e("div",{staticClass:"result-preview"},[e("p",[t._v("* 显示星号而不是斜体")]),e("p",[t._v("# 显示井号而不是标题")]),e("p",[t._v("` 显示反引号")]),e("p",[t._v("\\ 显示反斜杠")])])])]),e("div",{staticClass:"guide-section tips-section"},[e("h4",[t._v("💡 实用提示")]),e("div",{staticClass:"tips-grid"},[e("div",{staticClass:"tip-item"},[e("strong",[t._v("标题层级:")]),t._v("按逻辑顺序使用,不跳级 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("空行:")]),t._v("在不同元素之间添加空行提高可读性 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("列表缩进:")]),t._v("子列表用2个空格缩进 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("代码语言:")]),t._v("指定代码块语言以获得语法高亮 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("表格对齐:")]),t._v("保持表格列的对齐美观 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("链接描述:")]),t._v("使用有意义的链接文本 ")])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("⌨️ 编辑器快捷键")]),e("div",{staticClass:"shortcuts-grid"},[e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("B")]),t._v(" → 粗体 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("I")]),t._v(" → 斜体 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("K")]),t._v(" → 插入链接 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("`")]),t._v(" → 行内代码 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("1-6")]),t._v(" → 标题 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("Z")]),t._v(" → 撤销 ")])])])])])])],1):t._e(),e("div",{staticClass:"latest-section"},[e("h2",{staticClass:"section-title"},[t._v(t._s(t.$t("home.latestTitle")||"最新公告"))])]),!t.loading&&t.announcements.length>0?e("div",{staticClass:"announcement-list"},t._l(t.announcements,(function(s){return e("div",{key:s.id,staticClass:"announcement-item",on:{click:function(e){return t.handleAnnouncementClick(s)}}},[e("div",{staticClass:"announcement-content"},[e("h3",{staticClass:"announcement-title"},[t._v(t._s(s.title))]),e("div",{staticClass:"announcement-meta"},[e("span",{staticClass:"announcement-date"},[t._v(t._s(t.formatDate(s.createTime)))]),s.type?e("span",{staticClass:"announcement-type"},[t._v(t._s(t.handelType(s.type)))]):t._e()]),s.summary?e("p",{staticClass:"announcement-summary"},[t._v(" "+t._s(s.summary)+" ")]):t._e()]),t._m(0,!0)])})),0):t.loading||0!==t.announcements.length?t._e():e("div",{staticClass:"empty-state"},[e("div",{staticClass:"empty-content"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v(t._s(t.$t("home.noData")||"暂无公告"))])])]),t.announcements.length>0?e("div",{staticClass:"pagination-section"},[e("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],total:t.totalCount,layout:"total, sizes, prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1):t._e()])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-arrow"},[e("i",{staticClass:"el-icon-arrow-right"})])}]},77452:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(90929),a=s(82908);e["default"]={data(){return{receiveData:{img:"",maId:"",coin:"",ma:""},dialogVisible:!1,params:{email:"",remark:"",code:"",maId:""},tableData:[{email:"5656"}],alertsLoading:!1,addMinerLoading:!1,btnDisabled:!1,btnDisabledClose:!1,btnDisabledPassword:!1,bthText:"user.obtainVerificationCode",bthTextClose:"user.obtainVerificationCode",bthTextPassword:"user.obtainVerificationCode",time:"",countDownTime:60,timer:null,countDownTimeClose:60,timerclose:null,countDownTimePassword:60,timerPassword:null,listParams:{maId:"",limit:10,page:1},modifyDialogVisible:!1,modifyRemark:"",modifyParams:{id:"",remark:""},deleteLoading:!1,userEmail:""}},computed:{countDownPassword(){Math.floor(this.countDownTimePassword/60);const t=this.countDownTimePassword%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("alerts_time")&&(this.countDownTimePassword=Number(window.sessionStorage.getItem("alerts_time")),this.startCountDownPassword(),this.btnDisabledPassword=!0,this.bthTextPassword="user.again")},mounted(){let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t)})),this.params.email=this.userEmail,this.$route.query&&(this.receiveData=this.$route.query,this.listParams.maId=this.receiveData.id,this.params.maId=this.receiveData.id),this.fetchList(this.listParams),this.registerRecoveryMethod("fetchList",this.listParams)},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},async fetchAddNoticeEmail(t){this.setLoading("addMinerLoading",!0);const e=await(0,i.getAddNoticeEmail)(t);if(e&&200==e.code){this.$message({type:"success",message:this.$t("alerts.addedSuccessfully")}),this.fetchList(this.listParams),this.dialogVisible=!1;for(const t in this.params)"maId"!==t&&(this.params[t]="")}this.setLoading("addMinerLoading",!1)},async fetchList(t){this.setLoading("alertsLoading",!0);const e=await(0,i.getList)(t);e&&200==e.code&&(this.tableData=e.rows),this.setLoading("alertsLoading",!1)},async fetchCode(t){const e=await(0,i.getCode)(t);e&&200==e.code&&this.$message({type:"success",message:this.$t("user.verificationCodeSuccessful")})},async fetchUpdateInfo(t){this.setLoading("addMinerLoading",!0);const e=await(0,i.getUpdateInfo)(t);e&&200==e.code&&(this.$message({type:"success",message:this.$t("alerts.modifiedSuccessfully")}),this.modifyDialogVisible=!1,this.fetchList(this.listParams)),this.setLoading("addMinerLoading",!1)},async fetchDeleteEmail(t){this.setLoading("deleteLoading",!0);const e=await(0,i.deleteEmail)(t);e&&200==e.code&&(this.$message({type:"success",message:this.$t("alerts.deleteSuccessfully")}),this.fetchList(this.listParams)),this.setLoading("deleteLoading",!1)},add(){this.dialogVisible=!0},confirmAdd(){const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;this.params.email=this.params.email.trim();let e=t.test(this.params.email);this.params.email&&e?this.params.code?this.fetchAddNoticeEmail(this.params):this.$message({message:this.$t("personal.eCode"),type:"error",customClass:"messageClass",showClose:!0}):this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0})},modify(t){this.modifyParams.id=t.id,this.modifyParams.remark=t.remark,this.modifyDialogVisible=!0},confirmModify(){this.modifyParams.remark?this.fetchUpdateInfo(this.modifyParams):this.$message({message:this.$t("alerts.modificationReminder"),type:"error",customClass:"messageClass",showClose:!0})},handelDelete(t){this.fetchDeleteEmail({id:t.id})},handelCode(){const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;this.params.email=this.params.email.trim();let e=t.test(this.params.email);this.params.email&&e?0===this.listParams.maId||this.listParams.maId?(this.fetchCode({email:this.params.email,maId:this.listParams.maId}),null==window.sessionStorage.getItem("alerts_time")||(this.countDownTimePassword=Number(window.sessionStorage.getItem("alerts_time"))),this.startCountDownPassword()):this.$message({message:this.$t("alerts.acquisitionFailed"),type:"error",customClass:"messageClass",showClose:!0}):this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0})},startCountDownPassword(){this.timerPassword=setInterval((()=>{this.countDownTimePassword<=1?(clearInterval(this.timerPassword),sessionStorage.removeItem("alerts_time"),this.countDownTimePassword=60,this.btnDisabledPassword=!1,this.bthTextPassword="user.obtainVerificationCode"):this.countDownTimePassword>0&&(this.countDownTimePassword--,this.btnDisabledPassword=!0,this.bthTextPassword="user.again",window.sessionStorage.setItem("alerts_time",this.countDownTimePassword))}),1e3)}}}},78006:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(59018));e.A={mixins:[a.default]}},80267:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(88017),a=s(95935),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"445d273c",null),l=r.exports},81475:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(50600),a=s(36425),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"81190992",null),l=r.exports},86465:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(13579);var i=s(1652);const a="commonProblem:selectedId";e["default"]={data(){return{problems:[],listParams:{type:"2",lang:this.$i18n.locale,pageNum:1,pageSize:50},problemLoading:!1,DetailsParams:{id:"",lang:this.$i18n.locale},info:""}},mounted(){this.fetchProblemsList(this.listParams)},methods:{async fetchProblemsList(t){this.setLoading("problemLoading",!0);const e=await(0,i.documentsList)(t);if(e&&200===e.code){this.problems=e.rows;const t=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"",s=this.getSavedSelectedId();let i=t||s||"";if(!i&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id)),i){const t=(this.problems||[]).some((t=>String(t.id)===String(i)));!t&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id))}this.DetailsParams.id=i,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}this.setLoading("problemLoading",!1)},async fetchProblemDetails(t){this.setLoading("problemLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(console.log(e,"res"),this.info=e.data.content||""),this.setLoading("problemLoading",!1)},handleClick(t){this.DetailsParams.id=t,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.fetchProblemDetails(this.DetailsParams)},persistSelectedId(t){try{window.localStorage.setItem(a,String(t))}catch(e){console.error("persistSelectedId error",e)}},getSavedSelectedId(){try{return window.localStorage.getItem(a)||""}catch(t){return console.error("getSavedSelectedId error",t),""}},updateRouteQueryId(t){try{if(!this.$route)return;const e=String(t),s=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"";if(s===e)return;const i={...this.$route.query||{},id:e};if(this.$router&&"function"===typeof this.$router.replace){const t=this.$router.replace({query:i});t&&"function"===typeof t.catch&&t.catch((()=>{}))}}catch(e){console.error("updateRouteQueryId error",e)}}}}},87754:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rate"},[t.$isMobile?e("section",{staticClass:"rateMobile"},[e("section",{staticClass:"rightText"},[e("h3",[t._v(t._s(t.$t("apiFile.file")))]),e("div",{staticClass:"content"},[e("h4",[t._v(t._s(t.$t("apiFile.survey")))]),e("p",[t._v(t._s(t.$t("apiFile.survey1")))]),e("p",[t._v(t._s(t.$t("apiFile.survey2")))])]),e("div",{staticClass:"content"},[e("h3",[t._v(t._s(t.$t("apiFile.apiAuthentication")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication1"))+" "),e("span",{staticStyle:{color:"#651FFF",cursor:"pointer"},on:{click:function(e){return t.handelJump("personalCenter/personalAPI")}}},[t._v(t._s(t.$t("apiFile.apiAuthentication5")))]),t._v(" "+t._s(t.$t("apiFile.apiAuthentication6")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication2")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication3")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication4")))]),t._m(0)]),e("div",{staticClass:"ExampleTable"},[e("div",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("apiFile.url")))]),t._v(" "),e("span",[t._v(t._s(t.$t("apiFile.explain")))])]),e("div",[e("code",[t._v("https://m2pool.com/oapi/v1/pool/watch?coin={coin}")]),e("span",[t._v(t._s(t.$t("apiFile.explain1")))])]),e("div",[e("code",[t._v("https://m2pool.com/oapi/v1/pool/ hashrate_history?coin={coin}&start={yyyy-MM-dd}&end={yyyy-MM-dd }")]),e("span",[t._v(t._s(t.$t("apiFile.explain2")))])])]),e("div",{staticClass:"text-container"},[e("p",[t._v(t._s(t.$t("apiFile.explain3")))]),e("div",{staticClass:"container"},[e("p",[t._v("{")]),e("p",{staticStyle:{color:"crimson"}},[t._v('"code": {ERR_CODE},')]),e("p",[t._v(' "msg": "'+t._s(t.$t("apiFile.explain4"))+'"')]),e("p",[t._v("}")])])]),e("div",{staticClass:"text-container"},[e("p",[t._v(t._s(t.$t("apiFile.explain5")))]),t._m(1),e("p",[t._v(t._s(t.$t("apiFile.explain6")))])]),e("section",{staticClass:"MiningPool",attrs:{id:"HashRate"}},[e("h3",[t._v(t._s(t.$t("apiFile.miningPoolInformation")))]),e("div",{staticClass:"Pool"},[e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation1")))]),e("p",{staticClass:"hash"},[t._v("HashRate")]),e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation2")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("date")]),e("td",[t._v("Date")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.powerStatistics")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.power")))])])])]),e("div",{staticClass:"Pool",attrs:{id:"MinersList"}},[e("p",{staticClass:"hash"},[t._v("MinersList")]),e("p",[t._v(t._s(t.$t("apiFile.minersNum")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("total")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.totalMiners")))])]),e("tr",[e("td",[t._v("online")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.onLineMiners")))])]),e("tr",[e("td",[t._v("offline")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.offLineMiners")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.overviewOfMiningPool")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/watch")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("pool_fee")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.serviceCharge")))])]),e("tr",[e("td",[t._v("min_pay")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.minimumPaymentAmount")))])]),e("tr",[e("td",[t._v("miners")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.onLineMiners")))])]),e("tr",[e("td",[t._v("history_last_7days")]),t._m(2),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.latelyPower24h")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("Double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Power24h")))])]),e("tr",[e("td",[t._v("last_found")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.height")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.currentMiners")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/miners_list")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miners_list")]),t._m(3),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.eachState")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimePower")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/hashrate")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_realtime")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+" (h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.historyPower")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/hashrate_history")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("start")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.start2")))]),e("td",[t._v(t._s(t.$t("apiFile.start")))])]),e("tr",[e("td",[t._v("end")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.end2")))]),e("td",[t._v(t._s(t.$t("apiFile.end")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_30m")]),t._m(4),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),t._m(5),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])])]),e("section",{staticClass:"MiningPool",attrs:{id:"accountHashRate"}},[e("h3",[t._v(t._s(t.$t("apiFile.miningAccount")))]),e("div",{staticClass:"Pool"},[e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation1")))]),e("p",{staticClass:"hash"},[t._v("HashRate")]),e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation2")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("date")]),e("td",[t._v("Date")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.powerStatistics")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.power")))])])])]),e("div",{staticClass:"Pool",attrs:{id:"accountList"}},[e("p",{staticClass:"hash"},[t._v("MinersList")]),e("p",[t._v(t._s(t.$t("apiFile.minerData")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("total")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.totalMiners")))])]),e("tr",[e("td",[t._v("online")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.onLineMiners")))])]),e("tr",[e("td",[t._v("offline")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.offLineMiners")))])])])]),e("div",{staticClass:"Pool",attrs:{id:"MinerInfo"}},[e("p",{staticClass:"hash"},[t._v("MinerInfo")]),e("p",[t._v(t._s(t.$t("apiFile.stateData")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.minerId")))])]),e("tr",[e("td",[t._v("state")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.minerStatus"))),e("br"),t._v(" "+t._s(t.$t("apiFile.minerStatus0"))),e("br"),t._v(" "+t._s(t.$t("apiFile.minerStatus1"))),e("br"),t._v(" "+t._s(t.$t("apiFile.minerStatus2")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.overviewOfMiners")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/watch")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miners_list")]),t._m(6),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.eachState")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.allMiners")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/miners_list")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miners_list")]),t._m(7),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.eachState")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimeAccount")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/hashrate_real")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_realtime")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.account24h")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/hashrate_history")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("start")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.start2")))]),e("td",[t._v(t._s(t.$t("apiFile.start")))])]),e("tr",[e("td",[t._v("end")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.end2")))]),e("td",[t._v(t._s(t.$t("apiFile.end")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),t._m(8),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.account24h30m")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/hashrate_last24h")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_30m")]),t._m(9),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.average24h30m")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])])]),e("section",{staticClass:"MiningPool",attrs:{id:"minerHashRate"}},[e("h3",[t._v(t._s(t.$t("apiFile.miningMachineInformation")))]),e("div",{staticClass:"Pool"},[e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation1")))]),e("p",{staticClass:"hash"},[t._v("HashRate")]),e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation2")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("date")]),e("td",[t._v("Date")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.powerStatistics")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.power")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimeMiningMachine")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/miner/hashrate_real")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" miner")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.aCertainMiner")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_realtime")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.miningMachineHistory24h")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/miner/hashrate_history")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" miner")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.aCertainMiner")))])]),e("tr",[e("td",[t._v("start")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.start2")))]),e("td",[t._v(t._s(t.$t("apiFile.start")))])]),e("tr",[e("td",[t._v("end")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.end2")))]),e("td",[t._v(t._s(t.$t("apiFile.end")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),t._m(10),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v(" string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimeMiningMachine24h30m")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/miner/hashrate_last24h")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" miner")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.aCertainMiner")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_30m")]),t._m(11),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.average24h30m")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])])])])]):e("section",{staticClass:"rateBox"},[e("section",{staticClass:"leftMenu"},[e("ul",t._l(t.navList,(function(s){return e("li",{key:s.id,class:{navActive:String(s.id)===String(t.DetailsParams.id)},on:{click:function(e){return t.clickJump(s)}}},[e("i",{staticClass:"iconfont icon-baogao file"}),t._v(t._s(s.title)+" ")])})),0)]),e("section",{staticClass:"rightText"},[e("section",{staticClass:"rightContent"},[t.documentLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])])},e.Yp=[function(){var t=this,e=t._self._c;return e("ul",[e("li",[t._v("curl --request GET {url} \\")]),e("li",[t._v("--header 'Content-Type: application/json' \\")]),e("li",[t._v("--header 'API-KEY: {token}'")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("p",[t._v("{")]),e("p",{staticStyle:{color:"green"}},[t._v('"code": 200,')]),e("p",[t._v('"data": object')]),e("p",[t._v("}")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#HashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#MinersList"}},[t._v("MinersList")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#HashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#HashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#accountList"}},[t._v("MinersList")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#MinerInfo"}},[t._v("MinerInfo")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#accountHashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#accountHashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#minerHashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#minerHashRate"}},[t._v("HashRate")])])}]},88017:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"container"},[e("section",{staticClass:"leftNav"},t._l(t.problems,(function(s){return e("div",{key:s.id,staticClass:"leftNav-item",class:{active:t.DetailsParams.id==s.id},on:{click:function(e){return t.handleClick(s.id)}}},[t._v(" "+t._s(s.title)+" ")])})),0),e("section",{staticClass:"rightContent"},[t.problemLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])},e.Yp=[]},91312:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.alertsLoading,expression:"alertsLoading"}],staticClass:"alerts"},[t.$isMobile?e("section",{staticClass:"mobileMain"},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.receiveData.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.receiveData.coin))]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.receiveData.ma))])]),e("h4",[t._v(t._s(t.$t("alerts.Alarm")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful1")))]),e("section",{staticClass:"BthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.add}},[t._v(" "+t._s(t.$t("alerts.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow",attrs:{"data-v-76e7f323":""}})])],1),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("user.Account")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("work.operation")))])]),e("el-collapse",t._l(t.tableData,(function(s){return e("el-collapse-item",{key:s.id,attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[t._v(t._s(s.email))]),e("div",{staticClass:"operationBox"},[e("el-button",{staticClass:"modifyBth",attrs:{size:"small"},nativeOn:{click:function(e){return t.modify(s)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(t.scope.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",loading:t.deleteLoading,size:"small"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("user.Account")))]),e("p",[t._v(t._s(s.email))])]),e("div",[e("p",[t._v(t._s(t.$t("apiFile.remarks")))]),e("p",[t._v(t._s(s.remark))])])])],2)})),1)],1),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.addAlarmEmail")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.Account")))]),e("el-input",{staticClass:"input",attrs:{type:"email",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.email,callback:function(e){t.$set(t.params,"email",e)},expression:"params.email"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.params.code,callback:function(e){t.$set(t.params,"code",e)},expression:"params.code"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledPassword},on:{click:t.handelCode}},[t.countDownTimePassword<60&&t.countDownTimePassword>0?e("span",[t._v(t._s(t.countDownTimePassword))]):t._e(),t._v(t._s(t.$t(t.bthTextPassword)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmAdd}},[t._v(t._s(t.$t("personal.determine")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.modifyRemarks")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.modifyParams.remark,callback:function(e){t.$set(t.modifyParams,"remark",e)},expression:"modifyParams.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmModify}},[t._v(t._s(t.$t("personal.determine")))])],1)])],1):e("section",{staticClass:"pcMain"},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.receiveData.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.receiveData.coin))]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.receiveData.ma))])]),e("section",{staticClass:"content"},[e("h2",[t._v(t._s(t.$t("alerts.Alarm")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful1")))]),e("section",{staticClass:"BthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.add}},[t._v(" "+t._s(t.$t("alerts.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow",attrs:{"data-v-76e7f323":""}})])],1),e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none","border-radius":"5px","margin-top":"18px"},attrs:{height:"500","header-cell-style":{"text-align":"center",background:"#D2C3EA",color:"#36246F",height:"60px"},"cell-style":{"text-align":"center"},data:t.tableData,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"email",label:t.$t("user.Account"),width:"230"}}),e("el-table-column",{attrs:{prop:"remark",label:t.$t("apiFile.remarks"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),width:"230"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-button",{staticClass:"modifyBth",attrs:{size:"small"},on:{click:function(e){return t.modify(s.row)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(s.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",loading:t.deleteLoading,size:"small"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)]}}])})],1)],1),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.addAlarmEmail")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.Account")))]),e("el-input",{staticClass:"input",attrs:{type:"email",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.email,callback:function(e){t.$set(t.params,"email",e)},expression:"params.email"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.params.code,callback:function(e){t.$set(t.params,"code",e)},expression:"params.code"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledPassword},on:{click:t.handelCode}},[t.countDownTimePassword<60&&t.countDownTimePassword>0?e("span",[t._v(t._s(t.countDownTimePassword))]):t._e(),t._v(t._s(t.$t(t.bthTextPassword)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmAdd}},[t._v(t._s(t.$t("personal.determine")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.modifyRemarks")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.modifyParams.remark,callback:function(e){t.$set(t.modifyParams,"remark",e)},expression:"modifyParams.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmModify}},[t._v(t._s(t.$t("personal.determine")))])],1)])],1)])},e.Yp=[]},95307:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcementDetails"},[e("section",{staticClass:"container"},[e("section",{staticClass:"leftNav"},t._l(t.problems,(function(s){return e("div",{key:s.id,staticClass:"leftNav-item",class:{active:t.DetailsParams.id==s.id},on:{click:function(e){return t.handleClick(s.id)}}},[t._v(" "+t._s(s.title)+" ")])})),0),e("section",{staticClass:"rightContent"},[t.problemLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])},e.Yp=[]},95664:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(66888));e.A={metaInfo:{meta:[{name:"keywords",content:"分配、转账说明,矿池分配,转账说明,Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions"},{name:"description",content:window.vm.$t("seo.allocationExplanation")}]},mixins:[a.default]}},95935:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(86465));e.A={mixins:[a.default]}},96254:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(87754),a=s(43421),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"cf94a3bc",null),l=r.exports},98327:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(75690),a=s(4447),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"7ee09dfe",null),l=r.exports},98383:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.documentLoading,expression:"documentLoading"}]},[e("div",{staticClass:"main-title-box"},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.documentManagement")))]),e("el-button",{staticClass:"add-btn",on:{click:t.handelAddDocument}},[t._v(t._s(t.$t("backendSystem.addDocument"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1),e("el-form",{ref:"formRef",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.queryParams}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.documentType")||"文档类型",prop:"type"}},[e("el-select",{ref:"screen",staticClass:"input",attrs:{clearable:"",size:"middle",placeholder:t.$t("backendSystem.pleaseSelect")},on:{change:function(e){return t.changeScreen(t.queryParams.type)}},model:{value:t.queryParams.type,callback:function(e){t.$set(t.queryParams,"type",e)},expression:"queryParams.type"}},t._l(t.TypeList,(function(s){return e("el-option",{key:s.value,attrs:{label:t.$t(s.label),value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(t.$t(s.label)))])])])})),1)],1),e("el-form-item",{staticStyle:{"margin-left":"5vw"},attrs:{label:t.$t("backendSystem.search")||"搜索",prop:"minerUser"}},[e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInput"),clearable:""},on:{clear:t.handleInputClear},model:{value:t.queryParams.keyword,callback:function(e){t.$set(t.queryParams,"keyword",e)},expression:"queryParams.keyword"}})],1),e("el-form-item",{staticStyle:{"margin-left":"1vw"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handelQuery}},[t._v(t._s(t.$t("backendSystem.query")))])],1)],1),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.tableData,border:"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),e("el-table-column",{attrs:{prop:"createTime",label:t.$t("backendSystem.createTime")||"创建时间",width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.createTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"createUser",label:t.$t("backendSystem.createUser")||"创建人",width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"content",label:t.$t("backendSystem.content")||"文档内容","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"title",label:t.$t("backendSystem.documentTitle")||"文档标题",width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"type",label:t.$t("backendSystem.documentType")||"文档类型",width:"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelType(e.row.type))+" ")]}}])}),e("el-table-column",{attrs:{prop:"updateTime",label:t.$t("backendSystem.updateTime")||"修改时间",width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.updateTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"updateUser",label:t.$t("backendSystem.updateUser")||"修改人",width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{label:t.$t("backendSystem.operation"),width:"160"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.handleEdit(s.row)}}},[t._v(t._s(t.$t("backendSystem.edit")))]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(s.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"mini"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1)],1)},e.Yp=[]},99129:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var i=s(1652);e["default"]={name:"HelpCenter",data(){return{searchQuery:"",selectedLanguage:"zh",categories:[{id:1,name:"home.APIfile",route:"apiFile"},{id:2,name:"home.miningTutorial",route:"AccessMiningPool/nexaAccess"},{id:3,name:"home.serviceTerms",route:"ServiceTerms"},{id:4,name:"home.rate",route:"rate"},{id:5,name:"home.announcements",route:"announcements"},{id:6,name:"home.commonProblem",route:"commonProblem"}],recommendedItems:[{id:1,description:"home.allocationExplanation",route:"allocationExplanation"}],activities:[],activeParams:{type:"3",lang:this.$i18n.locale,pageNum:1,pageSize:10},TypeList:[{value:"1",label:"backendSystem.miningTutorial",articleUrl:"AccessMiningPool"},{value:"2",label:"backendSystem.commonProblems",articleUrl:"commonProblem"},{value:"3",label:"backendSystem.announcementCenter",articleUrl:"announcements"},{value:"0",label:"backendSystem.other",articleUrl:"",children:[{value:"1",label:"home.serviceTerms",articleUrl:"serviceTerms"},{value:"2",label:"home.rate",articleUrl:"rate"},{value:"3",label:"home.APIfile",articleUrl:"apiFile"}]}]}},mounted(){this.$addStorageEvent(1,"TypeList",JSON.stringify(this.TypeList)),this.fetchActivityList(this.activeParams)},methods:{async fetchActivityList(t){const e=await(0,i.documentsList)(t);console.log(e,"res"),200===e.code&&(this.activities=e.rows)},handleSearch(){if(this.searchQuery.trim()){let t=`/${this.$i18n.locale}/searchResult`;this.$router.push({path:t,query:{keyword:this.searchQuery}})}},handleCategoryClick(t){console.log(t,"i肯定看到");const e=this.$i18n.locale;this.$router.push(`/${e}/${t.route}`)},handleViewMore(){this.$router.push(`/${this.$i18n.locale}/announcements`)},handelType(t){try{let e=this.TypeList.find((e=>e.value==t)).label;return this.$t(e)}catch(e){return""}},handelTime(t){try{return`${t.split("T")[0]} ${t.split("T")[1]}`}catch(e){return""}},handleActivityClick(t){let e=`/${this.$i18n.locale}/announcementDetails`;this.$router.push({path:e,query:{id:t.id}})}}}}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/app-5c551db8.e21ab5eb.js b/mining-pool/public/dist/js/app-5c551db8.e21ab5eb.js new file mode 100644 index 0000000..e332541 --- /dev/null +++ b/mining-pool/public/dist/js/app-5c551db8.e21ab5eb.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[774],{2487:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.NEXAcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),t._v("Nexa")]),e("span",[t._v("10000")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://nexa.m2pool.com:33333"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://nexa.m2pool.com:33333")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://nexa.m2pool.com:33335 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://nexa.m2pool.com:33335")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.GPU")))]),e("p",[t._v("bzminer、lolminer、Rigel、WildRig")])]),e("div",[e("p",[t._v(t._s(t.$t("course.ASIC")))]),e("p",[t._v(t._s(t.$t("course.dragonBall")))])])])],2)],1)],1),e("p",{attrs:{id:"careful"}},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" (support@m2pool.com) "+t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://nexa.org/"}},[t._v("https://nexa.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.miningIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{directives:[{name:"show",rawName:"v-show",value:"nexa"==t.activeCoin,expression:"activeCoin == 'nexa'"}],staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.NEXAcourse")))])]),e("div",{staticClass:"theServer",attrs:{id:"selectServer"}},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Nexa")])]),e("span",{staticClass:"coin quota"},[t._v("10000")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://nexa.m2pool.com:33333  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://nexa.m2pool.com:33333")}}})]),e("span",{staticClass:"port"},[t._v("stratum+ssl://nexa.m2pool.com:33335   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://nexa.m2pool.com:33335")}}})])])]),e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.Adaptation")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.GPU")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.ASIC")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Nexa")])]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(" bzminer、lolminer、Rigel、WildRig  ")]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.dragonBall"))+"   ")])])])]),e("p",{staticClass:"careful"},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail"))+":support@m2pool.com ")]),t._v(t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://nexa.org/"}},[t._v("https://nexa.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#selectServer"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#step2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.miningIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},4460:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(87716));e.A={mixins:[o.default]}},5136:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.RXDcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),t._v("radiant")]),e("span",[t._v("100")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://rxd.m2pool.com:33370 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+tcp://rxd.m2pool.com:33370")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://rxd.m2pool.com:33375 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://rxd.m2pool.com:33375")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.GPU")))]),e("p",[t._v("lolminer")])]),e("div",[e("p",[t._v(t._s(t.$t("course.ASIC")))]),e("p",[t._v(t._s(t.$t("course.dragonBall"))+"、"+t._s(t.$t("course.RX0")))])])])],2)],1)],1),e("p",{attrs:{id:"careful"}},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" (support@m2pool.com) "+t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://radiantblockchain.org/"}},[t._v("https://radiantblockchain.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.rxdIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.RXDcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Rxd")])]),e("span",{staticClass:"coin quota"},[t._v("100")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://rxd.m2pool.com:33370  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://rxd.m2pool.com:33370")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://rxd.m2pool.com:33375   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://rxd.m2pool.com:33375")}}})])])]),e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.Adaptation")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.GPU")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.ASIC")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Rxd")])]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(" lolminer  ")]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.dragonBallA11"))+"  、 "+t._s(t.$t("course.RX0")))])])])]),e("p",{staticClass:"careful"},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail"))+":support@m2pool.com")]),t._v(t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://radiantblockchain.org/"}},[t._v("https://radiantblockchain.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.rxdIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},8705:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(68311));e.A={mixins:[o.default]}},9526:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.loadingRecoveryDirective=void 0;var o=a(s(66848));const i=e.loadingRecoveryDirective={inserted(t,e,s){const a=s.context,{loading:o,recovery:i}=e.value||{};if(!o||!i||!Array.isArray(i))return;const r=()=>{a[o]&&(a[o]=!1)};t._loadingRecovery=r,window.addEventListener("network-retry-complete",r),console.log(`[LoadingRecovery] 添加加载状态恢复: ${o}`)},unbind(t){t._loadingRecovery&&(window.removeEventListener("network-retry-complete",t._loadingRecovery),delete t._loadingRecovery)}};o.default.directive("loading-recovery",i)},9733:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(19559));e.A={mixins:[o.default],watch:{$route(t,e){this.handleRouteChange(t,e)}},methods:{handleRouteChange(t,e){t.name!==e.name&&this.$nextTick((()=>{this.$forceUpdate()}))}}}},11874:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(5136),o=s(86964),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"91fdfe0e",null),n=l.exports},16307:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgboCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("dgb(odocrypt)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbo.m2pool.com:33340"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+tcp://dgbo.m2pool.com:33340")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbo.m2pool.com:33345 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbo.m2pool.com:33345")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgboCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("dgb(odocrypt)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbo.m2pool.com:33340  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbo.m2pool.com:33340")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbo.m2pool.com:33345   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbo.m2pool.com:33345")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},17279:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},19526:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={401:"认证失败,无法访问系统资源,请重新登录",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},19559:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var a=s(1652);e["default"]={data(){return{menuList:[{path:"/AccessMiningPool",name:"course.NEXAcourse",value:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!1},{path:"",name:"course.RXDcourse",value:"rxd",show:!0}],activeCoin:"nexa",params:{coin:"nexa"},activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},pageTitle:"course.NEXAcourse",currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},{path:"grsAccess",value:"grs",label:"grs",imgUrl:`${this.$baseApi}img/grs.svg`,show:!0,name:"course.GRScourse",amount:1,tcp:"",ssl:""},{path:"monaAccess",value:"mona",label:"mona",imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",amount:1,tcp:"",show:!0,ssl:""},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgbsCourse",amount:1,tcp:"",ssl:""},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgbqCourse",amount:1,tcp:"",ssl:""},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgboCourse",amount:1,tcp:"",ssl:""},{path:"rxdAccess",value:"rxd",label:"radiant",img:s(94158),imgUrl:`${this.$baseApi}img/rxd.png`,show:!0,name:"course.RXDcourse",amount:100,tcp:"stratum+tcp://rxd.m2pool.com:33370",ssl:"stratum+ssl://rxd.m2pool.com:33375",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://radiantblockchain.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.rxdIncome1",miningIncome2:"course.miningIncome2",GPU:"lolminer",ASIC:"course.dragonBallA11Move",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},{path:"alphminingPool",value:"alph",label:"Alephium(alph)",imgUrl:`${this.$baseApi}img/alph.svg`,show:!0,name:"course.alphCourse",amount:1,tcp:"",ssl:""}],currencyPath:`${this.$baseApi}img/nexa.png`,openAPI:!0,imgUrl:`${this.$baseApi}img/nexa.png`,activeName:"1",currentRoutePath:"",listParams:{type:"1",lang:this.$i18n.locale,pageNum:1,pageSize:50},tutorialLoading:!1,navList:[],DetailsParams:{id:"",lang:this.$i18n.locale},info:"",activeId:""}},watch:{$route:{immediate:!0,handler(t){this.currentRoutePath=t.path.split("/")[3]}}},mounted(){let t=this.$route.params&&this.$route.params.coin,e=localStorage.getItem("activeCoin")?JSON.parse(localStorage.getItem("activeCoin")):null,s=t||e||this.currencyList[0]&&this.currencyList[0].value;this.activeCoin=s,this.activeItem=this.currencyList.find((t=>t.value===s))||this.currencyList[0],this.params.coin=s,t&&localStorage.setItem("activeCoin",JSON.stringify(t)),this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("tutorialLoading",!0);const e=await(0,a.documentsList)(t);if(console.log(e,"res"),e&&200===e.code){const t=(e.rows||[]).slice().sort(((t,e)=>Number(t.id)-Number(e.id)));this.navList=t;const s=this.navList.find((t=>t.coin==this.params.coin));s&&s.coin?(this.DetailsParams.id=s.id,this.DetailsParams.coin=s.coin,this.clickJump(s)):this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=this.navList[0]&&this.navList[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}},async fetchProblemDetails(t){this.setLoading("tutorialLoading",!0);const e=await(0,a.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||"",this.activeId=e.data.id),this.setLoading("tutorialLoading",!1)},toggleDropdown(t){if(!t)return;const e=t.currentTarget,s=e.querySelector(".dropdown"),a=e.querySelector(".arrow");s&&(s.classList.toggle("show"),a?.classList.toggle("up"))},changeMenuName(t,e){if(console.log("走移动端了?"),!t)return;if(!e.path)return;t.stopPropagation(),this.currentRoutePath=e.path,this.activeItem=e,this.activeCoin=e.value,this.$addStorageEvent(1,"activeItem",JSON.stringify(e));const s=document.getElementById("menu1");if(!s)return;const a=s.querySelector(".dropdown"),o=s.querySelector(".arrow");a?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(e)),this.$addStorageEvent(1,"activeCoin",JSON.stringify(e.value)),e.path&&this.$router.push(`/${this.$i18n.locale}/AccessMiningPool/${e.path}`)},clickJump(t){this.DetailsParams.id=t.id,this.DetailsParams.coin=t.coin,this.activeCoin=t.coin,localStorage.setItem("activeCoin",JSON.stringify(this.activeCoin)),this.fetchProblemDetails(this.DetailsParams)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},24727:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},27048:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(2487),o=s(66496),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"089a61bb",null),n=l.exports},29808:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(79894),o=s(88125),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"415158a6",null),n=l.exports},30140:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.GRScourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),t._v("Grs")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://grs.m2pool.com:33310"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://grs.m2pool.com:33310")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://grs.m2pool.com:33315 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://grs.m2pool.com:33315")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.groestlcoin.org/"}},[t._v("https://www.groestlcoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.GRScourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Grs")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://grs.m2pool.com:33310  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://grs.m2pool.com:33310")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://grs.m2pool.com:33315   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://grs.m2pool.com:33315")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.groestlcoin.org/"}},[t._v("https://www.groestlcoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},30926:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.totalDetailsLoading,expression:"totalDetailsLoading"}],staticClass:"main"},[t.$isMobile?e("section",{staticClass:"MobileMain"},[e("h4",[t._v(t._s(t.$t("work.WKDetails")))]),e("div",{staticClass:"contentMobile"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:12,xl:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1),e("el-row",{staticStyle:{"margin-top":"30px !important"}},[e("el-col",[e("h5",[t._v(t._s(t.$t("work.describe"))+":")]),e("div",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h5",{staticStyle:{"margin-top":"30px"}},[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(s){return e("div",{key:s.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("div",{staticClass:"userName"},[t._v(t._s(s.name))]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.handelTime(s.time)))])]),e("div",{attrs:{id:"contentBox"}},[t._v(" "+t._s(s.content)+" ")]),e("span",{directives:[{name:"show",rawName:"v-show",value:s.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(s.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",{staticStyle:{"margin-top":"30px"}},[e("div",[e("el-row",[e("el-col",[e("h5",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.ReplyContent"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",maxlength:"250","show-word-limit":"",autosize:{minRows:2,maxRows:6}},model:{value:t.replyParams.respon,callback:function(e){t.$set(t.replyParams,"respon",e)},expression:"replyParams.respon"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("div",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.ReplyWork")))]),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"70%","before-close":t.handleClose},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.totalDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)]):e("div",{staticClass:"content"},[e("el-row",{attrs:{type:"flex",justify:"end"}},[e("el-col",{staticClass:"orderDetails"},[e("h3",[t._v(t._s(t.$t("work.WKDetails")))]),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1)],1)],1),e("el-row",{staticStyle:{"margin-top":"30px"}},[e("el-col",[e("h4",[t._v(t._s(t.$t("work.describe"))+":")]),e("p",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h4",[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(s){return e("div",{key:s.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("span",[t._v(t._s(t.$t("work.user1"))+":"+t._s(s.name))]),e("span",[t._v(" "+t._s(t.$t("work.time4"))+":"+t._s(t.handelTime(s.time)))])]),e("div",{staticClass:"contentBox"},[e("span",{staticStyle:{display:"inline-block",width:"100%","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","overflow-y":"auto"}},[t._v(t._s(s.content))])]),e("span",{directives:[{name:"show",rawName:"v-show",value:s.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(s.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",[e("div",[e("el-row",[e("el-col",[e("h4",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.ReplyContent"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",maxlength:"250","show-word-limit":"",autosize:{minRows:2,maxRows:6}},model:{value:t.replyParams.respon,callback:function(e){t.$set(t.replyParams,"respon",e)},expression:"replyParams.respon"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.ReplyWork")))]),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.totalDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)])},e.Yp=[]},31863:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(16307),o=s(43232),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"340a7930",null),n=l.exports},34815:function(t,e,s){function a(){const t=["/","/home","/miningAccount","/readOnlyDisplay","/reportBlock","/broadcast","/userManagement","/userDetails","/rate","/allocationExplanation","/apiFile","/customerService","/ServiceTerms","/submitWorkOrder","/workOrderRecords","/userWorkDetails","/workOrderBackend","/BKWorkDetails","/dataDisplay","/alerts","/helpCenter","/commonProblem","/announcementDetails","/searchResult","/announcements","/announcementDetails","/personalCenter","/personalCenter/personalMining","/personalCenter/readOnly","/personalCenter/securitySetting","/personalCenter/personal","/personalCenter/miningReport","/personalCenter/personalAPI","/AccessMiningPool","/AccessMiningPool/nexaAccess","/AccessMiningPool/rxdAccess","/AccessMiningPool/monaAccess","/AccessMiningPool/grsAccess","/AccessMiningPool/dgbqAccess","/AccessMiningPool/dgboAccess","/AccessMiningPool/dgbsAccess","/AccessMiningPool/alphminingPool","/login","/register","/simulation","/resetPassword","/404"];return t}function o(t){if(!t||"string"!==typeof t)return!1;const e=t.trim();if("/"===e||""===e)return!0;const s=e.startsWith("/")?e.substring(1):e,o=a(),i=o.map((t=>t.replace(/^\//,""))).filter((t=>""!==t));return i.includes(s)}function i(t){if(!t)return a().slice(0,10);const e=a(),s=t.toLowerCase().trim();return e.filter((t=>t.toLowerCase().includes(s))).slice(0,5)}Object.defineProperty(e,"__esModule",{value:!0}),e.getAllValidPaths=a,e.getPathSuggestions=i,e.isValidPath=o,s(18111),s(22489),s(61701)},35221:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(22489),s(20116),s(13579);a(s(86425));var o=a(s(35720)),i=s(11503);e["default"]={data(){return{imgSrc:"https://studio.glassnode.com/images/crypto-icons/btc.png",navLabel:"Bitcoin (BTC)",userName:"LX",from:{title:"",kinds:"",description:"",radio:""},kindsList:[{value:"购买咨询",label:"购买咨询"},{value:"财务咨询",label:"财务咨询"},{value:"网页问题",label:"网页问题"},{value:"账户问题",label:"账户问题"},{value:"移动端问题",label:"移动端问题"},{value:"消息订阅",label:"消息订阅"},{value:"指标数据问题",label:"指标数据问题"},{value:"其他",label:"其他"}],params:[],input:1,tableData:[{num:1,time:"2022-09-01 16:00",problem:"账户问题",questionTitle:"账户不能登录",state:"已解决"}],textarea:"我是提交内容",textarea1:"我是回复内容",textarea2:"",replyInput:!0,ticketDetails:{id:"",type:"",title:"",userName:"",desc:"",responName:"",respon:"",submitTime:"",status:"",fileIds:"",files:"",responTime:""},fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,filesId:[],paramsDownload:{id:""},paramsResponTicket:{id:"",files:"",respon:""},paramsAuditTicket:{id:"",msg:""},paramsSubmitAuditTicket:{id:""},identity:{},detailsID:"",downloadUrl:"",workOrderId:"",recordList:[],replyParams:{id:"",respon:"",files:""},totalDetailsLoading:!1,faultList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],typeList:[],machineCoding:"",warrantyList:[],closeDialogVisible:!1,lang:"zh"}},mounted(){this.lang=this.$i18n.locale,this.workOrderId=localStorage.getItem("totalID"),this.fetchTicketDetails({id:this.workOrderId}),this.registerRecoveryMethod("fetchTicketDetails",{id:this.workOrderId})},methods:{async fetchBKendTicket(t){this.setLoading("totalDetailsLoading",!0);const e=await(0,i.getBKendTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.WKend"),type:"success"}),this.$router.push(`/${this.lang}/workOrderBackend`)),this.setLoading("totalDetailsLoading",!1)},async fetchReply(t){this.setLoading("totalDetailsLoading",!0);const e=await(0,i.getReply)(t);if(e&&200==e.code){this.$message({message:this.$t("work.submitted"),type:"success"});for(const t in this.replyParams)this.replyParams[t]="";this.fileList=[],this.fetchTicketDetails({id:this.workOrderId})}this.setLoading("totalDetailsLoading",!1)},handelType2(t){if(t)return this.typeList.find((e=>e.name==t)).label},handelStatus2(t){try{if(t){let e=this.statusList.find((e=>e.value==t)).label;return this.$t(e)}}catch{return""}},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},async fetchTicketDetails(t){this.setLoading("totalDetailsLoading",!0);const{data:e}=await(0,i.getDetails)(t);this.recordList=e.list,this.ticketDetails=e,this.setLoading("totalDetailsLoading",!1)},downloadExcel(t){this.downloadUrl=` ${o.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()},handelChange(t,e){const s=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),a=this.fileType.includes(s),o=t.size/1024/1024<=this.fileSize;if(!a)return this.$message.error(`${this.$t("work.notSupported")}${s}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!o)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let i=this.fileList.some((e=>e.name==t.name));if(i)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileList.push(t.raw)},handleRemove(t,e){let s=this.fileList.indexOf(t);-1!==s&&this.fileList.splice(s,1)},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},handelDownload(t){if(t){this.downloadUrl=` ${o.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handleSuccess(){},handelTime(t){if(t&&t.includes("T"))return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handelResubmit(){if(!this.replyParams.respon)return console.log(),void this.$message({message:this.$t("work.replyContent2"),type:"error",customClass:"messageClass"});this.replyParams.id=this.ticketDetails.id,this.fetchReply(this.replyParams)},handelEnd(){this.closeDialogVisible=!0},handleClose(){this.closeDialogVisible=!1},confirmCols(){this.fetchBKendTicket({id:this.ticketDetails.id})}}}},35720:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);var o=a(s(86425)),i=a(s(19526)),r=s(89143),l=a(s(84994)),n=a(s(37465));const c=new Map;function p(t){const{url:e,method:s,params:a,data:o}=t;return[e,s,JSON.stringify(a),JSON.stringify(o)].join("&")}const u=o.default.create({baseURL:"https://m2pool.com/api/",timeout:1e4}),m=6e4;let d=new Map,v={online:0,offline:0},_=!1;window.addEventListener("online",(()=>{const t=Date.now();if(_)return void console.log("[网络] 网络恢复处理已在进行中,忽略重复事件");if(_=!0,t-v.online>3e4){v.online=t;try{window.vm&&window.vm.$message&&(window.vm.$message({message:window.vm.$i18n.t("home.networkReconnected")||"网络已重新连接,正在恢复数据...",type:"success",duration:5e3,showClose:!0}),console.log("[网络] 显示网络恢复提示, 时间:",(new Date).toLocaleTimeString()))}catch(s){console.error("[网络] 显示网络恢复提示失败:",s)}}else console.log("[网络] 抑制重复的网络恢复提示, 间隔过短:",t-v.online+"ms");const e=[];d.forEach((async(s,a)=>{if(t-s.timestamp<=m)try{const t=await u(s.config);e.push(t),s.callback&&"function"===typeof s.callback&&s.callback(t),window.vm&&(s.config.url.includes("getPoolPower")&&t&&t.data?window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"poolPower",data:t.data}})):s.config.url.includes("getNetPower")&&t&&t.data?window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"netPower",data:t.data}})):s.config.url.includes("getBlockInfo")&&t&&t.rows&&window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"blockInfo",data:t.rows}}))),d.delete(a)}catch(o){console.error("重试请求失败:",o),d.delete(a)}else d.delete(a)})),Promise.allSettled(e).then((()=>{if(l.default&&l.default.resetAllLoadingStates(),window.vm){const t=["minerChartLoading","reportBlockLoading","apiPageLoading","MiningLoading","miniLoading","bthLoading","editLoading"];t.forEach((t=>{"undefined"!==typeof window.vm[t]&&(window.vm[t]=!1)})),Object.keys(window.vm).forEach((t=>{t.endsWith("Loading")&&(window.vm[t]=!1)}))}window.dispatchEvent(new CustomEvent("network-retry-complete")),setTimeout((()=>{_=!1}),5e3)}))})),window.addEventListener("offline",(()=>{window.vm&&window.vm.$message&&n.default.canShowError("networkOffline")&&window.vm.$message({message:window.vm.$i18n.t("home.networkOffline")||"网络连接已断开,系统将在恢复连接后自动重试",type:"error",duration:5e3,showClose:!0})})),u.defaults.retry=2,u.defaults.retryDelay=2e3,u.defaults.shouldRetry=t=>"Network Error"===t.message||t.message.includes("timeout"),localStorage.setItem("superReportError","");let h=localStorage.getItem("superReportError");window.addEventListener("setItem",(()=>{h=localStorage.getItem("superReportError")})),u.interceptors.request.use((t=>{let e;h="",localStorage.setItem("superReportError","");try{e=JSON.parse(localStorage.getItem("token"))}catch(i){console.log(i)}if(e&&(t.headers["Authorization"]=e),"get"==t.method&&t.data&&(t.params=t.data),"get"===t.method&&t.params){let e=t.url+"?";for(const a of Object.keys(t.params)){const o=t.params[a];var s=encodeURIComponent(a)+"=";if(null!==o&&"undefined"!==typeof o)if("object"===typeof o){for(const t of Object.keys(o))if(null!==o[t]&&"undefined"!==typeof o[t]){let s=a+"["+t+"]",i=encodeURIComponent(s)+"=";e+=i+encodeURIComponent(o[t])+"&"}}else e+=s+encodeURIComponent(o)+"&"}e=e.slice(0,-1),t.params={},t.url=e}const a=p(t);if(c.has(a)){const t=c.get(a);t(),c.delete(a)}return t.cancelToken=new o.default.CancelToken((t=>{c.set(a,t)})),t}),(t=>{Promise.reject(t)})),u.interceptors.response.use((t=>{const e=p(t.config);c.delete(e);const s=t.data.code||200,a=i.default[s]||t.data.msg||i.default["default"];return 421===s?(localStorage.setItem("cs_disconnect_all",Date.now().toString()),localStorage.removeItem("token"),h=localStorage.getItem("superReportError"),h||(h=421,localStorage.setItem("superReportError",h),r.MessageBox.confirm(window.vm.$i18n.t("user.loginExpired"),window.vm.$i18n.t("user.overduePrompt"),{distinguishCancelAndClose:!0,confirmButtonText:window.vm.$i18n.t("user.login"),cancelButtonText:window.vm.$i18n.t("user.Home"),closeOnClickModal:!1,showClose:!1,type:"warning"}).then((()=>{window.vm.$router.push(`/${window.vm.$i18n.locale}/login`),localStorage.removeItem("token")})).catch((()=>{window.vm.$router.push(`/${window.vm.$i18n.locale}/`),localStorage.removeItem("token")}))),Promise.reject("登录状态已过期")):s>=500&&!h?(h=500,localStorage.setItem("superReportError",h),void(0,r.Message)({dangerouslyUseHTMLString:!0,message:a,type:"error",showClose:!0})):200!==s?(r.Notification.error({title:a}),Promise.reject("error")):t.data}),(t=>{if("ERR_CANCELED"===t.code||t.message&&t.message.includes("canceled")||t.message?.includes("Request aborted"))return new Promise((()=>{}));if(t.config){const e=p(t.config);c.delete(e)}let{message:e}=t;if("Network Error"==e||e.includes("timeout"))if(navigator.onLine){if(t.config.__retryCount=t.config.__retryCount||0,t.config.__retryCount{setTimeout((()=>{e(u(t.config))}),u.defaults.retryDelay)}));console.log(`[请求失败] ${t.config.url} - 已达到最大重试次数`)}else{const e=JSON.stringify({url:t.config.url,method:t.config.method,params:t.config.params,data:t.config.data});let s=null;t.config.url.includes("getPoolPower")?s=t=>{window.vm&&(window.vm.minerChartLoading=!1)}:t.config.url.includes("getBlockInfo")&&(s=t=>{window.vm&&(window.vm.reportBlockLoading=!1)}),d.has(e)||(d.set(e,{config:t.config,timestamp:Date.now(),retryCount:0,callback:s}),console.log("请求已加入断网重连队列:",t.config.url))}return h||(h="error",localStorage.setItem("superReportError",h),n.default.canShowError(e)?"Network Error"==e?(0,r.Message)({message:window.vm.$i18n.t("home.NetworkError"),type:"error",duration:4e3,showClose:!0}):e.includes("timeout")?(0,r.Message)({message:window.vm.$i18n.t("home.requestTimeout"),type:"error",duration:5e3,showClose:!0}):e.includes("Request failed with status code")?(0,r.Message)({message:"系统接口"+e.substr(e.length-3)+"异常",type:"error",duration:5e3,showClose:!0}):(0,r.Message)({message:e,type:"error",duration:5e3,showClose:!0}):console.log("[错误提示] 已抑制重复错误:",e)),Promise.reject(t)}));e["default"]=u},37465:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588);class a{constructor(){this.recentErrors=new Map,this.throttleTime=3e3,this.errorTypes={"Network Error":"network",timeout:"timeout","Request failed with status code":"statusCode",networkReconnected:"networkStatus",NetworkError:"network"}}getErrorType(t){for(const[e,s]of Object.entries(this.errorTypes))if(t.includes(e))return s;return"unknown"}canShowError(t){const e=this.getErrorType(t),s=Date.now();if(this.recentErrors.has(e)){const t=this.recentErrors.get(e);if(s-t{t-e>this.throttleTime&&this.recentErrors.delete(s)}))}}const o=new a;e["default"]=o},39219:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgbqCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("Dgb(qubit)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbq.m2pool.com:33360"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbq.m2pool.com:33360")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbq.m2pool.com:33365 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+ssl://dgbq.m2pool.com:33365 ")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgbqCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Dgb(qubit)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbq.m2pool.com:33360  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbq.m2pool.com:33360")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbq.m2pool.com:33365   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbq.m2pool.com:33365")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},39325:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=a(s(91774)),i=a(s(66848)),r=a(s(22484)),l=a(s(62277)),n=s(89143),c=a(s(58044));i.default.use(r.default);const p=[{path:"",name:"Home",component:()=>Promise.resolve().then((()=>(0,o.default)(s(42232)))),meta:{title:"首页",description:c.default.t("seo.Home"),allAuthority:["all"],keywords:{en:"M2Pool, cryptocurrency mining pool, bitcoin mining, DGB mining, mining pool service, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务",zh:"M2Pool, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务"}}},{path:"miningAccount",name:"MiningAccount",component:()=>Promise.resolve().then((()=>(0,o.default)(s(30751)))),meta:{title:"挖矿账户页面",description:c.default.t("seo.miningAccount"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"M2Pool mining account, crypto mining stats, mining rewards, hashrate monitor, 矿池账户, 挖矿收益, 算力监控",zh:"M2Pool 挖矿账户, 加密挖矿统计, 挖矿奖励, 算力监控, 矿池账户, 挖矿收益, 算力监控"}}},{path:"readOnlyDisplay",name:"ReadOnlyDisplay",component:()=>Promise.resolve().then((()=>(0,o.default)(s(61969)))),meta:{title:"只读页面展示页",description:c.default.t("seo.readOnlyDisplay"),allAuthority:["all"],keywords:{en:"Read only page,Revenue situation,Mining Pool,Miner information",zh:"M2Pool 矿池,只读页面,收益状况,矿工信息"}}},{path:"reportBlock",name:"ReportBlock",component:()=>Promise.resolve().then((()=>(0,o.default)(s(58437)))),meta:{title:"报块页面",description:c.default.t("seo.reportBlock"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Block page,Lucky Value,block height,Mining Pool",zh:"M2Pool 矿池,报块页面,幸运值,区块高度"}}},{path:"helpCenter",name:"HelpCenter",component:()=>Promise.resolve().then((()=>(0,o.default)(s(14076)))),meta:{title:"帮助中心",description:c.default.t("seo.helpCenter"),allAuthority:["all"],keywords:{en:"Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other",zh:"帮助中心,新手入门,常见问题,公告中心"}}},{path:"editorDocument",name:"EditorDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(42287)))),meta:{title:"编辑器测试",description:c.default.t("seo.helpCenter"),allAuthority:["all"],keywords:{en:"Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other",zh:"帮助中心,新手入门,常见问题,公告中心"}}},{path:"broadcast",name:"Broadcast",component:()=>Promise.resolve().then((()=>(0,o.default)(s(41300)))),meta:{title:"广播页面",description:c.default.t("seo.broadcast"),allAuthority:["back_admin"],keywords:{en:"broadcast",zh:"广播"}}},{path:"userManagement",name:"UserManagement",component:()=>Promise.resolve().then((()=>(0,o.default)(s(51993)))),meta:{title:"用户管理",description:c.default.t("seo.userManagement"),allAuthority:["back_admin"],keywords:{en:"userManagement",zh:"用户管理"}}},{path:"userDetails",name:"UserDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(13537)))),meta:{title:"用户详情",description:c.default.t("seo.userManagement"),allAuthority:["back_admin"],keywords:{en:"userDetails",zh:"用户详情"}}},{path:"documentManagement",name:"DocumentManagement",component:()=>Promise.resolve().then((()=>(0,o.default)(s(64909)))),meta:{title:"文档管理",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"addDocument",name:"AddDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(46212)))),meta:{title:"新增文档",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"modifyDocument",name:"ModifyDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(10647)))),meta:{title:"修改文档",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"rate",name:"Rate",component:()=>Promise.resolve().then((()=>(0,o.default)(s(96909)))),meta:{title:"费率页面",description:c.default.t("seo.rate"),allAuthority:["all"],keywords:{en:"Mining Pool,Rate,Mining fee rate,Profit calculation",zh:"M2Pool 矿池,费率页面,挖矿费率,收益计算"}}},{path:"allocationExplanation",name:"AllocationExplanation",component:()=>Promise.resolve().then((()=>(0,o.default)(s(23389)))),meta:{title:"分配说明页面",description:c.default.t("seo.rate"),allAuthority:["all"],keywords:{en:"Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions",zh:"分配、转账说明,矿池分配,转账说明"}}},{path:"apiFile",name:"ApiFile",component:()=>Promise.resolve().then((()=>(0,o.default)(s(96254)))),meta:{title:"API文档页面",description:c.default.t("seo.apiFile"),allAuthority:["all"],keywords:{en:"API file,authentication token,Interface call",zh:"M2Pool 矿池,API 文档,认证 token,接口调用"}}},{path:"customerService",name:"CustomerService",component:()=>Promise.resolve().then((()=>(0,o.default)(s(72841)))),meta:{title:"在线客服",description:c.default.t("seo.apiFile"),allAuthority:["customer_service","admin"],keywords:{en:"API file,authentication token,Interface call",zh:"M2Pool 矿池,API 文档,认证 token,接口调用"}}},{path:"/:lang/AccessMiningPool",name:"AccessMiningPool",component:()=>Promise.resolve().then((()=>(0,o.default)(s(79838)))),meta:{title:"接入矿池页面",description:c.default.t("seo.allocationExplanation"),allAuthority:["all"],keywords:{en:"Access to Mining Pools,Coin Access,Mining Guide",zh:"M2Pool 矿池,接入矿池,币种接入,挖矿指南"}},children:[{path:"nexaAccess",name:"NexaAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(27048)))),meta:{title:"nexa 挖矿页面",description:c.default.t("seo.nexaAccess"),allAuthority:["all"],keepAlive:!0,requiresAuth:!1,keywords:{en:"Nexa Access,Mining Tutorial",zh:"nexa,挖矿教程,Nexa接入,Nexa Access,Mining Tutorial"}}},{path:"rxdAccess",name:"RxdAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(11874)))),meta:{title:"rxd 挖矿页面",description:c.default.t("seo.rxdAccess"),allAuthority:["all"],keywords:{en:"rxd Access,Radiant Access,Mining Tutorial,radiant",zh:"rxd,矿池挖矿教程,Radiant接入,"}}},{path:"monaAccess",name:"MonaAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(76177)))),meta:{title:"mona 挖矿页面",description:c.default.t("seo.monaAccess"),allAuthority:["all"],keywords:{en:"Mona Access,MONA Access,Mining Tutorial",zh:"mona,挖矿教程,mona接入,"}}},{path:"grsAccess",name:"GrsAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(61034)))),meta:{title:"grs 挖矿页面",description:c.default.t("seo.grsAccess"),allAuthority:["all"],keywords:{en:"GRS Access,grs Access,Mining Tutorial",zh:"GRS,Grs接入,GRS挖矿教程"}}},{path:"dgbqAccess",name:"DgbqAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(85278)))),meta:{title:"Dgbq 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(qubit) Access,DGB(qubit) Access,Mining Tutorial,DGB",zh:"Dgbq,dgb(qubit)接入,dgb(qubit)挖矿教程"}}},{path:"dgboAccess",name:"DgboAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(31863)))),meta:{title:"Dgbo 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(odocrypt) Access,DGB(odocrypt) Access,Mining Tutorial,DGB",zh:"dgbo,dgb(odocrypt)接入,dgb(odocrypt)挖矿教程"}}},{path:"dgbsAccess",name:"DgbsAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(89350)))),meta:{title:"Dgbs 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(skein) Access,DGB(skein) Access,Mining Tutorial,DGB",zh:"dgbs,dgb(skein)接入,dgb(skein)挖矿教程"}}},{path:"enxAccess",name:"EnxAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(29808)))),meta:{title:" Entropyx(enx) 挖矿页面",description:c.default.t("seo.enxAccess"),allAuthority:["all"],keywords:{en:"Entropyx(Enx), enx,ENX,Mining Tutorial",zh:"Entropyx(enx)接入,Entropyx挖矿教程"}}},{path:"alphminingPool",name:"AlphminingPool",component:()=>Promise.resolve().then((()=>(0,o.default)(s(65035)))),meta:{title:" alephium 挖矿页面",description:c.default.t("seo.alphAccess"),allAuthority:["all"],keywords:{en:"alephium(alph), Alephium,Mining Tutorial",zh:"alephium(alph)接入,alephium挖矿教程"}}}]},{path:"ServiceTerms",name:"ServiceTerms",component:()=>Promise.resolve().then((()=>(0,o.default)(s(54718)))),meta:{title:"服务条款页面",description:c.default.t("seo.ServiceTerms"),allAuthority:["all"],keywords:{en:"Terms of Service, User Rights, Rights and Obligations",zh:"M2Pool 矿池,服务条款,用户权益,权利义务"}}},{path:"submitWorkOrder",name:"SubmitWorkOrder",component:()=>Promise.resolve().then((()=>(0,o.default)(s(92879)))),meta:{title:"提交工单页面",description:c.default.t("seo.submitWorkOrder"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Mining Pool,Work Order Submission, Technical Support, Troubleshooting",zh:"M2Pool 矿池,提交工单,技术支持,问题处理"}}},{path:"workOrderRecords",name:"WorkOrderRecords",component:()=>Promise.resolve().then((()=>(0,o.default)(s(18311)))),meta:{title:"工单记录页面(用户)",description:c.default.t("seo.workOrderRecords"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"User Work Order Records, Processing Status, Issue Progress",zh:"M2Pool 矿池,用户工单记录,处理状态,问题进度"}}},{path:"userWorkDetails",name:"UserWorkDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(71995)))),meta:{title:"工单详情页面(用户)",description:c.default.t("seo.userWorkDetails"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"User Work Order Details, Problem Description, Additional Submissions",zh:"M2Pool 矿池,用户工单详情,问题描述,补充提交"}}},{path:"workOrderBackend",name:"WorkOrderBackend",component:()=>Promise.resolve().then((()=>(0,o.default)(s(25225)))),meta:{title:"工单管理页面(后台)",description:"M2Pool 矿池后台工单管理页面,供 M2Pool 管理员查看和管理用户提交的工单记录,确保问题及时处理,提升用户体验。",allAuthority:["back_admin"],keywords:{en:"Back-office work order management, user work orders, timely processing",zh:"M2Pool 矿池,后台工单管理,用户工单,及时处理"}}},{path:"BKWorkDetails",name:"BKWorkDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(86272)))),meta:{title:"工单详情页面(后台)",description:"M2Pool 矿池后台工单详情页面,管理员可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程,并通过本页面对该工单进行回复处理。",allAuthority:["back_admin"],keywords:{en:"Backend Work Order Details, Problem Handling, Responding to Work Orders",zh:"M2Pool 矿池,后台工单详情,问题处理,回复工单"}}},{path:"dataDisplay",name:"DataDisplay",component:()=>Promise.resolve().then((()=>(0,o.default)(s(81475)))),meta:{title:"数据展示页面",description:"M2Pool 矿池数据展示页面",allAuthority:["all"],keywords:{en:"Mining Pool,Data Display",zh:"M2Pool 矿池,数据展示"}}},{path:"announcements",name:"Announcements",component:()=>Promise.resolve().then((()=>(0,o.default)(s(98327)))),meta:{title:"公告中心",description:c.default.t("seo.announcements")||"M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。",allAuthority:["all"],keywords:{en:"Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices",zh:"M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知"}}},{path:"announcementDetails",name:"AnnouncementDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(15460)))),meta:{title:"公告详情",allAuthority:["all"]}},{path:"commonProblem",name:"CommonProblem",component:()=>Promise.resolve().then((()=>(0,o.default)(s(80267)))),meta:{title:"常见问题",allAuthority:["all"]}},{path:"searchResult",name:"SearchResult",component:()=>Promise.resolve().then((()=>(0,o.default)(s(23537)))),meta:{title:"搜索结果",allAuthority:["all"]}},{path:"alerts",name:"Alerts",component:()=>Promise.resolve().then((()=>(0,o.default)(s(63683)))),meta:{title:"警报通知",description:c.default.t("seo.alerts"),allAuthority:["admin","registered","back_admin"],keywords:{en:"Mining Pool,Offline Alarm Setting,Mining Machine Offline",zh:"M2Pool 矿池,离线告警设置,矿机离线"}}},{path:"personalCenter",name:"PersonalCenter",component:()=>Promise.resolve().then((()=>(0,o.default)(s(66683)))),meta:{title:"个人中心页面",description:c.default.t("seo.personalCenter"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Mining Account,Read-Only Page Setup,Security Settings,API Key Generation",zh:"M2Pool 矿池,个人中心,挖矿账户,只读页面设置,安全设置,API密钥生成"}},children:[{path:"personalMining",name:"PersonalMining",component:()=>Promise.resolve().then((()=>(0,o.default)(s(4572)))),meta:{title:"挖矿账户设置页面",description:c.default.t("seo.personalMining"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Mining Account Settings,Coin Accounts",zh:"M2Pool 矿池,个人中心,挖矿账户设置,币种账户"}}},{path:"readOnly",name:"ReadOnly",component:()=>Promise.resolve().then((()=>(0,o.default)(s(7267)))),meta:{title:"只读页面设置",description:c.default.t("seo.readOnly"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Read-Only Page Setting,Mining Pool Sharing",zh:"M2Pool 矿池,个人中心,只读页面设置,矿池分享"}}},{path:"securitySetting",name:"SecuritySetting",component:()=>Promise.resolve().then((()=>(0,o.default)(s(81988)))),meta:{title:"安全设置页面",description:c.default.t("seo.securitySetting"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Security settings, password change",zh:"M2Pool 矿池,安全设置,密码修改"}}},{path:"personal",name:"personal",component:()=>Promise.resolve().then((()=>(0,o.default)(s(36155)))),meta:{title:"个人信息页面",description:c.default.t("seo.personal"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Information, Login History",zh:"M2Pool 矿池,个人信息,登录历史"}}},{path:"miningReport",name:"MiningReport",component:()=>Promise.resolve().then((()=>(0,o.default)(s(65784)))),meta:{title:"挖矿报告页面",description:c.default.t("seo.miningReport"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Mining Report, Subscription Service",zh:"M2Pool 矿池,个人中心,挖矿报告,订阅服务"}}},{path:"personalAPI",name:"PersonalAPI",component:()=>Promise.resolve().then((()=>(0,o.default)(s(89175)))),meta:{title:"API页面",description:c.default.t("seo.personalAPI"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"API Page,API Key Generation",zh:"M2Pool 矿池,个人中心,API 页面,API密钥生成"}}}]}],u=[{path:"/:lang/login",name:"Login",component:()=>Promise.resolve().then((()=>(0,o.default)(s(88406)))),meta:{title:"登录页面",description:"M2Pool 矿池登录页面",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,login page,account password",zh:"M2Pool 矿池,登录页面,账号密码,安全登录"}}},{path:"/:lang/register",name:"Register",component:()=>Promise.resolve().then((()=>(0,o.default)(s(99675)))),meta:{title:"注册页面",description:"M2Pool 矿池注册页面,新用户可在此便捷注册账号,加入 M2Pool 矿池大家庭。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,register page,new user registration,account creation",zh:"M2Pool 矿池,注册页面,新用户注册,账号创建"}}},{path:"/:lang/simulation",name:"simulation",component:()=>Promise.resolve().then((()=>(0,o.default)(s(46763)))),meta:{title:"测试页面",description:"M2Pool 矿池测试页面,用于进行系统功能的模拟和测试,确保矿池稳定运行",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,test page,system test,stable operation",zh:"M2Pool 矿池,测试页面,系统测试,稳定运行"}}},{path:"/:lang/splitEditorDemo",name:"splitEditorDemo",component:()=>Promise.resolve().then((()=>(0,o.default)(s(73836)))),meta:{title:"分屏编辑器演示",description:"M2Pool 分屏编辑器演示页面,支持编辑、预览、分屏三种模式的富文本编辑器",allAuthority:["all"],keywords:{en:"split screen editor,rich text editor,real-time preview,WYSIWYG editor",zh:"分屏编辑器,富文本编辑器,实时预览,所见即所得编辑器"}}},{path:"/:lang/resetPassword",name:"ResetPassword",component:()=>Promise.resolve().then((()=>(0,o.default)(s(25422)))),meta:{title:"重置密码页面",description:"M2Pool 矿池重置密码页面,用户可在此修改矿池网站账号密码,保障账户安全。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,reset password,modify password,account security",zh:"M2Pool 矿池,重置密码,修改密码,账户安全"}}},{path:"/:lang/404",component:()=>Promise.resolve().then((()=>(0,o.default)(s(91064)))),meta:{title:"404页面",description:"M2Pool 矿池 404 页面,当 URL 错误时将跳转至此页面,提示用户页面不存在。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,404 page,page not found,error redirect",zh:"M2Pool 矿池,404 页面,页面不存在,错误跳转"}}}],m=[{path:"/:lang",component:l.default,beforeEnter:(t,e,s)=>{const a=t.params.lang,o=["zh","en"];return o.includes(a)?(c.default.locale!==a&&(c.default.locale=a,localStorage.setItem("lang",a)),s()):s(`/en${t.path}`)},children:p},{path:"/",redirect:()=>{const t=localStorage.getItem("lang")||"en";return`/${t}`}},...u,{path:"*",redirect:t=>{const e=localStorage.getItem("lang")||"en";return`/${e}/404`}}],d=new r.default({mode:"history",base:"/",routes:m,strict:!0,scrollBehavior(t,e,s){return s||{x:0,y:0,behavior:"smooth"}}});d.afterEach((()=>{i.default.nextTick((()=>{const t=document.querySelector(".el-main");t&&t.scrollTo({top:0,left:0,behavior:"smooth"}),window.scrollTo({top:0,left:0,behavior:"smooth"})}))})),d.beforeEach(((t,e,s)=>{const a=t.params.lang||localStorage.getItem("lang")||"en";let o=null;try{o=JSON.parse(localStorage.getItem("token"))}catch(r){o=null}let i=null;try{i=JSON.parse(localStorage.getItem("jurisdiction"))}catch(r){i=null}return o?i&&"back_admin"==i.roleKey?"Login"==t.name||"Register"==t.name||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey)?s():t.path==`/${a}`?s({path:`/${a}/userManagement`}):((0,n.Message)({showClose:!0,message:"当前身份只能访问后台管理系统",type:"error"}),localStorage.setItem("activeIndex","1"),s({path:`/${a}/broadcast`})):"Login"===t.name||"Register"===t.name?s({path:`/${a}`}):t.meta.allAuthority&&("all"===t.meta.allAuthority[0]||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey))?s():((0,n.Message)({showClose:!0,message:c.default.t("mining.jurisdiction"),type:"error"}),s({path:`/${a}/login`})):(console.log("未登录"),t.meta.allAuthority&&("all"===t.meta.allAuthority[0]||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey))?s():((0,n.Message)({showClose:!0,message:c.default.t("mining.jurisdiction"),type:"error"}),s({path:`/${a}/login`})))}));const v=r.default.prototype.push;r.default.prototype.push=function(t){return v.call(this,t).catch((t=>t))};e["default"]=d},41645:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(17279));e.A={mixins:[o.default]}},42440:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},43232:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(42440));e.A={mixins:[o.default]}},49704:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.encryption=void 0;var o=a(s(47522));const i="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwHkUfT2GAupZAL5DMnwETSywuPLIKUAR3hjhKvOls2u0YtIHlcfjhqGBfg0NEPi6Ig2GmK5KnjcdIppfNfBpSiJBEtMwM2E7WJbXBsYU0B4wB86XGW9fFQi0e8pGYvVbKvwP9MQeLnUC4xf2L+6Nw3xQZ9GAsE6GUJ4tUOSKK/QIDAQAB",r=t=>{const e=new o.default;e.setPublicKey(i);let s=e.encrypt(t);return s};e.encryption=r},50736:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(82908);e["default"]={data(){return{activeName:"1",activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"}}},mounted(){this.$route.query.coin&&(this.activeCoin=this.$route.query.coin,this.imgUrl=this.$route.query.imgUrl,this.currencyPath=this.$route.query.imgUrl,this.params.coin=this.$route.query.coin,this.$addStorageEvent(1,"activeCoin",JSON.stringify(this.activeCoin)),this.activeItem=this.currencyList.find((t=>t.value==this.params.coin)));let t=localStorage.getItem("activeCoin");if(this.activeCoin=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("activeCoin");this.activeCoin=JSON.parse(t)})),this.activeCoin)if("nexa"==this.activeCoin||"rxd"==this.activeCoin){this.openAPI=!0;try{this.pageTitle=this.currencyList.find((t=>t.value==this.activeCoin)).name,this.imgUrl=this.currencyList.find((t=>t.value==this.activeCoin)).imgUrl}catch(e){console.log(e)}}else this.openAPI=!1;else this.activeCoin="nexa",this.imgUrl=`${this.$baseApi}/img/nexa.png`,this.currencyPath=`${this.$baseApi}/img/nexa.png`,this.params.coin="nexa",this.$addStorageEvent(1,"activeCoin",JSON.stringify(this.activeCoin)),this.openAPI=!0},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},54211:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588);var o=a(s(84994));e["default"]={data(){return{componentId:this.$options.name||"unnamed-component"}},methods:{setLoading(t,e){this[t]=e,o.default.setLoading(this.componentId,t,e)},getLoading(t){return o.default.getLoading(this.componentId,t)}},mounted(){this._resetHandler=t=>{const{componentsToUpdate:e}=t.detail;e.forEach((t=>{t.componentId===this.componentId&&(this[t.stateKey]=!1)}))},window.addEventListener("reset-loading-states",this._resetHandler)},beforeDestroy(){window.removeEventListener("reset-loading-states",this._resetHandler);const t=o.default.resetComponentLoadingStates(this.componentId);t.forEach((t=>{this[t.stateKey]=!1}))}}},55129:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=a(s(66848)),i=a(s(93518));o.default.use(i.default);e["default"]=new i.default.Store({state:{isLoggedIn:!1,userInfo:null},getters:{isLoggedIn:t=>t.isLoggedIn,userInfo:t=>t.userInfo},mutations:{SET_LOGIN_STATE(t,e){t.isLoggedIn=e},SET_USER_INFO(t,e){t.userInfo=e},CLEAR_USER_DATA(t){t.isLoggedIn=!1,t.userInfo=null}},actions:{async logout({commit:t}){try{return localStorage.removeItem("token"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),t("CLEAR_USER_DATA"),o.default.prototype.$bus&&o.default.prototype.$bus.$emit("user-logged-out"),!0}catch(e){return console.error("退出登录失败:",e),!1}}},modules:{}})},55603:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;a(s(86425));var o=a(s(35221));e.A={mixins:[o.default],mounted(){},methods:{}}},57196:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgbsCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("Dgb(skein)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbs.m2pool.com:33350"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbs.m2pool.com:33350")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbs.m2pool.com:33355 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbs.m2pool.com:33355")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgbsCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Dgb(skein)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbs.m2pool.com:33350  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbs.m2pool.com:33350")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbs.m2pool.com:33355   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbs.m2pool.com:33355")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},58204:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(61256));e.A={mixins:[o.default]}},61034:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(30140),o=s(58204),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"708f8544",null),n=l.exports},61256:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},65035:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(98394),o=s(8705),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"0779e610",null),n=l.exports},65484:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.MONAcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),t._v("Mona")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://mona.m2pool.com:33320"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://mona.m2pool.com:33320")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://mona.m2pool.com:33325 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://mona.m2pool.com:33325")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://monacoin.org/"}},[t._v("https://monacoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.MONAcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Mona")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://mona.m2pool.com:33320  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://mona.m2pool.com:33320")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://mona.m2pool.com:33325   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://mona.m2pool.com:33325")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://monacoin.org/"}},[t._v("https://monacoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},66496:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(94368));e.A={mixins:[o.default]}},68311:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},70874:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},72902:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.tutorialLoading,expression:"tutorialLoading"}],staticClass:"AccessMiningPoolMain"},[t.openAPI?e("section",{staticClass:"openAPI"},[t.$isMobile?e("section",[e("div",{staticClass:"currencySelect"},[e("div",{staticClass:"nav"},[e("div",{staticClass:"nav-item",attrs:{id:"menu1"},on:{click:function(e){return e.stopPropagation(),t.toggleDropdown.apply(null,arguments)}}},[e("img",{staticClass:"itemImg",attrs:{src:t.activeItem.imgUrl||"",alt:t.activeItem.label||""}}),e("span",{staticStyle:{"text-transform":"capitalize"}},[t._v(" "+t._s(t.activeItem.label||""))]),e("i",{staticClass:"arrow"}),e("div",{staticClass:"dropdown"},t._l(t.currencyList,(function(s){return e("div",{key:s.value,staticClass:"option",class:{optionActive:t.$route.path.includes(s.path)},on:{click:function(e){return e.stopPropagation(),t.changeMenuName(e,s)}}},[e("img",{staticClass:"dropdownCoin",attrs:{src:s.imgUrl,alt:s.value}}),e("div",{staticClass:"dropdownText"},[t._v(t._s(s.label))])])})),0)])])]),e("section",[e("keep-alive",[e("router-view",{key:t.$route.fullPath})],1)],1)]):e("section",{staticClass:"AccessMiningPool"},[e("section",{staticClass:"menu"},[e("ul",t._l(t.navList,(function(s){return e("li",{key:s.id,class:{active:t.activeCoin==s.coin},on:{click:function(e){return t.clickJump(s)}}},[e("img",{attrs:{src:s.titleUrl,alt:"coin"}}),e("span",[t._v(" "+t._s(s.title)+" ")])])})),0)]),e("section",{staticClass:"tutorialContent"},[e("section",{staticClass:"rightContent"},[t.tutorialLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])]):e("section",[e("div",{staticClass:"notOpen"},[e("p",[t._v(t._s(t.$t("course.notOpenCurrency")))]),t._m(0)])])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgBox"},[e("img",{attrs:{src:s(53263),alt:"Not open",loading:"lazy"}})])}]},76177:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(65484),o=s(41645),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"ea469a34",null),n=l.exports},79838:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(72902),o=s(9733),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"28885394",null),n=l.exports},79894:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.ENXcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),t._v("Entropyx(enx)")]),e("span",[t._v("5000")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://enx.m2pool.com:33380"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://enx.m2pool.com:33380")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://enx.m2pool.com:33385 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://enx.m2pool.com:33385")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://entropyx.org/"}},[t._v("https://entropyx.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.ENXcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Entropyx(enx)")])]),e("span",{staticClass:"coin quota"},[t._v("5000 ")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://enx.m2pool.com:33380  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://enx.m2pool.com:33380")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://enx.m2pool.com:33385   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://enx.m2pool.com:33385")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://entropyx.org/"}},[t._v("https://entropyx.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},82066:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(70874));e.A={mixins:[o.default]}},82908:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.$addStorageEvent=void 0,e.Debounce=a,e.getImageUrl=void 0,e.throttle=o;const s=function(t,e,s){if(1===t){var a=document.createEvent("StorageEvent");const t={setItem:function(t,e){localStorage.setItem(t,e),a.initStorageEvent("setItem",!1,!1,t,null,e,null,null),window.dispatchEvent(a)}};return t.setItem(e,s)}{a=document.createEvent("StorageEvent");const t={setItem:function(t,e){sessionStorage.setItem(t,e),a.initStorageEvent("setItem",!1,!1,t,null,e,null,null),window.dispatchEvent(a)}};return t.setItem(e,s)}};function a(t,e){let s=null;return function(){let a=this,o=arguments;clearTimeout(s),s=setTimeout((function(){t.apply(a,o)}),e)}}function o(t,e){let s,a,o;return function(){const i=this,r=arguments;s?(clearTimeout(a),a=setTimeout((function(){Date.now()-o>=e&&(t.apply(i,r),o=Date.now())}),Math.max(e-(Date.now()-o),0))):(t.apply(i,r),o=Date.now(),s=!0)}}e.$addStorageEvent=s;const i=t=>{const e="https://m2pool.com/";return t?t.startsWith("http")?t.replace("http://test.m2pool.com",e):`${e}${t.startsWith("/")?"":"/"}${t}`:""};e.getImageUrl=i},84403:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e.line=e.bar=void 0;s(3574);e.line={legend:{right:100,formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:[{position:"left",type:"value"},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:10,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:10,end:100}],series:[{name:"line",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},data:[150,230,224,218,135,147,260]}]},e.bar={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0}],series:[{name:"Direct",type:"bar",barWidth:"60%",data:[10,52,200,334,390,330,220],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]}},84994:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);class a{constructor(){this.loadingStates=new Map,this.setupListeners()}setupListeners(){window.addEventListener("network-retry-complete",(()=>{this.resetAllLoadingStates()}))}setLoading(t,e,s){const a=`${t}:${e}`;this.loadingStates.set(a,{value:s,timestamp:Date.now()})}getLoading(t,e){const s=`${t}:${e}`,a=this.loadingStates.get(s);return!!a&&a.value}resetAllLoadingStates(){const t=[];this.loadingStates.forEach(((e,s)=>{if(!0===e.value){const[e,a]=s.split(":");t.push({componentId:e,stateKey:a}),this.loadingStates.set(s,{value:!1,timestamp:Date.now()})}})),window.dispatchEvent(new CustomEvent("reset-loading-states",{detail:{componentsToUpdate:t}}))}resetComponentLoadingStates(t){const e=[];return this.loadingStates.forEach(((s,a)=>{if(a.startsWith(`${t}:`)&&!0===s.value){const s=a.split(":")[1];e.push({componentId:t,stateKey:s}),this.loadingStates.set(a,{value:!1,timestamp:Date.now()})}})),e}}const o=new a;e["default"]=o},85278:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(39219),o=s(82066),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"76355f4e",null),n=l.exports},86272:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(30926),o=s(55603),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"10e0c45a",null),n=l.exports},86964:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(50736));e.A={mixins:[o.default]}},87716:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},88125:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(24727));e.A={mixins:[o.default]}},89350:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(57196),o=s(4460),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"5b6cc974",null),n=l.exports},94368:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(82908);e["default"]={data(){return{activeCoin:"nexa",activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},98394:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.alphCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),t._v("Alephium(alph)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://alph.m2pool.com:33390"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://alph.m2pool.com:33390")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://alph.m2pool.com:33395 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://alph.m2pool.com:33395")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://docs.alephium.org/"}},[t._v("https://docs.alephium.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.alphCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Alephium(alph)")])]),e("span",{staticClass:"coin quota"},[t._v("1 ")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://alph.m2pool.com:33390  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://alph.m2pool.com:33390")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://alph.m2pool.com:33395   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://alph.m2pool.com:33395")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://docs.alephium.org/"}},[t._v("https://docs.alephium.org/ ")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},98986:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);e["default"]={data(){return{recoveryMethods:[],methodParams:{}}},methods:{registerRecoveryMethod(t,e){"function"!==typeof this[t]||this.recoveryMethods.includes(t)||(this.recoveryMethods.push(t),this.methodParams[t]=e,console.log(`[NetworkRecovery] 注册方法: ${t}`))},updateMethodParams(t,e){this.recoveryMethods.includes(t)&&(this.methodParams[t]=e)},handleNetworkRecovery(){console.log("[NetworkRecovery] 网络已恢复,正在刷新数据..."),this.recoveryMethods.forEach((t=>{if("function"===typeof this[t]){const e=this.methodParams[t];console.log(`[NetworkRecovery] 重新调用方法: ${t}`),this[t](e)}}))}},mounted(){window.addEventListener("network-retry-complete",this.handleNetworkRecovery)},beforeDestroy(){window.removeEventListener("network-retry-complete",this.handleNetworkRecovery)}}}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/app-72600b29.a5711ed5.js b/mining-pool/public/dist/js/app-72600b29.a5711ed5.js new file mode 100644 index 0000000..e3d149f --- /dev/null +++ b/mining-pool/public/dist/js/app-72600b29.a5711ed5.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[545],{7330:function(t,i,e){var a=e(91774)["default"];Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=void 0,e(44114),e(18111),e(22489),e(20116),e(7588);var s=a(e(3574)),n=e(22327),o=e(82908);i["default"]={data(){return{activeName:"power",option:{legend:{right:100,show:!0,formatter:function(t){return t}},grid:{},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Rejection rate"==t[e].seriesName||"拒绝率"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}%`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:[]},yAxis:[{position:"left",type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,min:0,max:100,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2},{type:"inside",start:0,end:100}],series:[{name:"总算力",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1}]},barOption:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"8%",bottom:"3%",containLabel:!0},xAxis:[{name:"MH/s",type:"category",data:[],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0,name:"Pcs",nameTextStyle:{padding:[0,0,0,-25]}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"count",type:"bar",barWidth:"60%",data:[],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]},miniOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Rejection rate"==t[e].seriesName||"拒绝率"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}%`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},axisLabel:{},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},onLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;return i=t[0].axisValueLabel,i+=`
          ${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
          ${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},OffLineOption:{legend:{right:100,show:!1,formatter:function(t){return t}},grid:{left:"5%",containLabel:!0},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,formatter:function(t){var i;return i=t[0].axisValueLabel,i+=`
          ${t[0].marker} ${t[0].seriesName}     ${t[0].value}\n
          ${t[1].marker} ${t[1].seriesName}     ${t[1].value}% \n `,i},axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"]},yAxis:[{position:"left",type:"value",name:"MH/s",nameTextStyle:{padding:[0,0,0,-40]}},{position:"right",splitNumber:"5",show:!0,splitLine:{show:!1}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new s.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[12,15,8,3,6,9,78,12,63],yAxisIndex:1}]},sunTabActiveName:"all",Accordion:"",currentPage:1,params:{account:"lx888",coin:"grs"},PowerParams:{account:"lx888",coin:"grs",interval:"rt"},PowerDistribution:{account:"lx888",coin:"grs",interval:"rt"},MinerListParams:{account:"lx888",coin:"grs",type:"0",filter:"",limit:50,page:1,sort:"30m",collation:"asc"},activeName2:"power",IncomeParams:{account:"lx888",coin:"grs",limit:10,page:1},OutcomeParams:{account:"lx888",coin:"grs",limit:10,page:1},MinerAccountData:{},MinerListData:{},intervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],HistoryIncomeData:[],HistoryOutcomeData:[],currentPageIncome:1,MinerListTableData:[],AccountPowerDistributionintervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],miniLoading:!1,search:"",input2:"",timeActive:"rt",barActive:"rt",powerChartLoading:!1,barChartLoading:!1,miniChartParams:{miner:"",coin:"grs"},ids:"smallChart107fx61",activeMiner:"",miniId:"",MinerListLoading:!1,miner:"miner",accountId:"",currentPageMiner:1,minerTotal:0,accountItem:{},HistoryIncomeTotal:0,HistoryOutcomeTotal:0,stateList:[{value:"1",label:"mining.onLine"},{value:"2",label:"mining.offLine"}],Sort30:"asc",Sort1h:"asc",paymentStatusList:[{value:0,label:"mining.paymentInProgress"},{value:1,label:"mining.paymentCompleted"}],lang:"zh"}},computed:{sortedMinerListTableData(){return this.MinerListTableData?[...this.MinerListTableData].sort(((t,i)=>{const e=String(t.status),a=String(i.status);return"2"===e&&"2"!==a?-1:"2"!==e&&"2"===a?1:0})):[]}},watch:{$route(t,i){this.accountItem=JSON.parse(localStorage.getItem("accountItem")),this.accountId=this.accountItem.id,this.params.account=this.accountItem.ma,this.params.coin=this.accountItem.coin,this.PowerParams.account=this.accountItem.ma,this.PowerParams.coin=this.accountItem.coin,this.PowerDistribution.account=this.accountItem.ma,this.PowerDistribution.coin=this.accountItem.coin,this.MinerListParams.account=this.accountItem.ma,this.MinerListParams.coin=this.accountItem.coin,this.OutcomeParams.account=this.accountItem.ma,this.OutcomeParams.coin=this.accountItem.coin,this.IncomeParams.account=this.accountItem.ma,this.IncomeParams.coin=this.accountItem.coin,this.getMinerAccountInfoData(this.params),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution),this.getMinerListData(this.MinerListParams),this.getHistoryIncomeData(this.IncomeParams),this.getHistoryOutcomeData(this.OutcomeParams)},"$i18n.locale":{handler(t){location.reload()}}},mounted(){this.lang=this.$i18n.locale,this.accountItem=JSON.parse(localStorage.getItem("accountItem")),this.accountId=this.accountItem.id,this.params.account=this.accountItem.ma,this.params.coin=this.accountItem.coin,this.PowerParams.account=this.accountItem.ma,this.PowerParams.coin=this.accountItem.coin,this.PowerDistribution.account=this.accountItem.ma,this.PowerDistribution.coin=this.accountItem.coin,this.MinerListParams.account=this.accountItem.ma,this.MinerListParams.coin=this.accountItem.coin,this.OutcomeParams.account=this.accountItem.ma,this.OutcomeParams.coin=this.accountItem.coin,this.IncomeParams.account=this.accountItem.ma,this.IncomeParams.coin=this.accountItem.coin,this.$isMobile&&(this.option.yAxis[1].show=!1,this.option.grid.left="16%",this.option.grid.right="5%",this.option.grid.top="10%",this.option.grid.bottom="45%",this.option.legend.bottom=18,this.option.legend.right="30%",this.option.xAxis.axisLabel={interval:8,rotate:70},this.barOption.grid.right="16%",this.miniOption.yAxis[1].show=!1),this.getMinerAccountInfoData(this.params),this.getMinerAccountPowerData(this.PowerParams),this.getAccountPowerDistributionData(this.PowerDistribution),this.getMinerListData(this.MinerListParams),this.getHistoryIncomeData(this.IncomeParams),this.getHistoryOutcomeData(this.OutcomeParams),this.registerRecoveryMethod("getMinerAccountInfoData",this.params),this.registerRecoveryMethod("getMinerAccountPowerData",this.PowerParams),this.registerRecoveryMethod("getAccountPowerDistributionData",this.PowerDistribution),this.registerRecoveryMethod("getMinerListData",this.MinerListParams),this.registerRecoveryMethod("getHistoryIncomeData",this.IncomeParams),this.registerRecoveryMethod("getHistoryOutcomeData",this.OutcomeParams)},methods:{inCharts(){this.myChart=s.init(document.getElementById("powerChart")),this.option.series[0].name=this.$t("home.finallyPower"),this.option.series[1].name=this.$t("home.rejectionRate"),this.myChart.setOption(this.option),window.addEventListener("resize",(0,o.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},smallInCharts(t){this.$isMobile&&(this.miniOption.yAxis[1].show=!1),t.series[0].name=this.$t("home.minerSComputingPower"),t.series[1].name=this.$t("home.rejectionRate"),this.miniChart.setOption(t,!0),window.addEventListener("resize",(0,o.throttle)((()=>{this.miniChart&&this.miniChart.resize()}),200))},barInCharts(){null==this.barChart&&(this.barChart=s.init(document.getElementById("barChart"))),this.barOption.series[0].name=this.$t("home.numberOfMiningMachines"),this.barChart.setOption(this.barOption),window.addEventListener("resize",(0,o.throttle)((()=>{this.barChart&&this.barChart.resize()}),200))},async getMinerAccountInfoData(t){const i=await(0,n.getMinerAccountInfo)(t);this.MinerAccountData=i.data},async getMinerAccountPowerData(t){this.setLoading("powerChartLoading",!0);const i=await(0,n.getMinerAccountPower)(t);if(!i)return this.setLoading("powerChartLoading",!1),void(this.myChart&&this.myChart.dispose());let e=i.data,a=[],s=[],o=[];e.forEach((i=>{i.date.includes("T")&&"rt"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),a.push(i.date),s.push(i.pv.toFixed(2)),o.push((100*i.rejectRate).toFixed(4))}));let r=Math.max(...o);r=Math.round(3*r),r>0&&(this.option.yAxis[1].max=r),this.option.xAxis.data=a,this.option.series[0].data=s,this.option.series[1].data=o,this.inCharts(),this.setLoading("powerChartLoading",!1)},async getAccountPowerDistributionData(t){this.setLoading("barChartLoading",!0);const i=await(0,n.getAccountPowerDistribution)(t);let e=i.data,a=[],s=[];e.forEach((t=>{a.push(`${t.low}-${t.high}`),s.push(t.count)})),this.barOption.xAxis[0].data=a,this.barOption.series[0].data=s,this.barInCharts(),this.setLoading("barChartLoading",!1)},formatNumber(t){const i=Math.floor(t),e=Math.floor(100*(t-i));return`${i}.${String(e).padStart(2,"0")}`},async getMinerListData(t){this.setLoading("MinerListLoading",!0);const i=await(0,n.getMinerList)(t);i&&200==i.code&&(this.MinerListData=i.data,this.MinerListData.submit&&this.MinerListData.submit.includes("T")&&(this.MinerListData.submit=`${this.MinerListData.submit.split("T")[0]} ${this.MinerListData.submit.split("T")[1].split(".")[0]}`),this.MinerListTableData=i.data.rows,this.MinerListData.rate=this.formatNumber(this.MinerListData.rate),this.MinerListData.dailyRate=this.formatNumber(this.MinerListData.dailyRate),this.MinerListTableData.forEach((t=>{t.submit.includes("T")&&(t.submit=`${t.submit.split("T")[0]} ${t.submit.split("T")[1].split(".")[0]}`),t.rate=this.formatNumber(t.rate),t.dailyRate=this.formatNumber(t.dailyRate)})),this.minerTotal=i.data.total),this.setLoading("MinerListLoading",!1)},getMinerPowerData:(0,o.Debounce)((async function(t){this.setLoading("miniLoading",!0);const i=await(0,n.getMinerPower)(t);if(!i)return void this.setLoading("miniLoading",!1);let e=i.data,a=[],o=[],r=[];e.forEach((i=>{i.date.includes("T")&&"1h"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`,a.push(i.date),o.push(i.pv.toFixed(2)),r.push((100*i.rejectRate).toFixed(4))})),this.miniOption.xAxis.data=a,this.miniOption.series[0].data=o,this.miniOption.series[1].data=r,this.miniOption.series[0].name=this.$t("home.finallyPower"),this.miniOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallChart${this.miniId}`,this.miniChart=s.init(document.getElementById(this.ids));let l=Math.max(...r);l=Math.round(3*l),l>0&&(this.miniOption.yAxis[1].max=l),this.$nextTick((()=>{this.smallInCharts(this.miniOption)})),console.log(this.miniOption,5656565),this.setLoading("miniLoading",!1)}),200),getMinerPowerOnLine:(0,o.Debounce)((async function(t){this.setLoading("miniLoading",!0);const i=await(0,n.getMinerPower)(t);if(!i)return void this.setLoading("miniLoading",!1);let e=i.data,a=[],r=[],l=[];e.forEach((t=>{t.date.includes("T")?a.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):a.push(t.date),r.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.onLineOption.xAxis.data=a,this.onLineOption.series[0].data=r,this.onLineOption.series[1].data=l,this.onLineOption.series[0].name=this.$t("home.finallyPower"),this.onLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`Small${this.miniId}`,this.miniChartOnLine=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOnLine.setOption(this.onLineOption,!0),window.addEventListener("resize",(0,o.throttle)((()=>{this.miniChartOnLine&&this.miniChartOnLine.resize()}),200))})),this.setLoading("miniLoading",!1)}),200),getMinerPowerOffLine:(0,o.Debounce)((async function(t){this.setLoading("miniLoading",!0);const i=await(0,n.getMinerPower)(t);if(!i)return void this.setLoading("miniLoading",!1);let e=i.data,a=[],r=[],l=[];e.forEach((t=>{t.date.includes("T")?a.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):a.push(t.date),r.push(t.pv.toFixed(2)),l.push((100*t.rejectRate).toFixed(4))})),this.OffLineOption.xAxis.data=a,this.OffLineOption.series[0].data=r,this.OffLineOption.series[1].data=l,this.OffLineOption.series[0].name=this.$t("home.finallyPower"),this.OffLineOption.series[1].name=this.$t("home.rejectionRate"),this.ids=`SmallOff${this.miniId}`,this.miniChartOff=s.init(document.getElementById(this.ids)),this.$nextTick((()=>{this.miniChartOff.setOption(this.OffLineOption,!0),window.addEventListener("resize",(0,o.throttle)((()=>{this.miniChartOff&&this.miniChartOff.resize()}),200))})),this.setLoading("miniLoading",!1)}),200),async getHistoryIncomeData(t){const i=await(0,n.getHistoryIncome)(t);i&&200==i.code&&(this.HistoryIncomeData=i.rows,this.HistoryIncomeTotal=i.total,this.HistoryIncomeData.forEach((t=>{t.date.includes("T")&&(t.date=t.date.split("T")[0])})))},async getHistoryOutcomeData(t){const i=await(0,n.getHistoryOutcome)(t);i&&200==i.code&&(this.HistoryOutcomeData=i.rows,this.HistoryOutcomeTotal=i.total,this.HistoryOutcomeData.forEach((t=>{t.date.includes("T")&&(t.date=`${t.date.split("T")[0]} `)})))},handelMiniChart:(0,o.throttle)((function(t,i){this.Accordion&&(this.miniId=t,this.miner=i,this.$nextTick((()=>{this.getMinerPowerData({miner:i,coin:this.params.coin,account:this.params.account})})))}),1e3),handelOnLineMiniChart:(0,o.throttle)((function(t,i){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOnLine({miner:i,coin:this.params.coin,account:this.params.account})})))}),1e3),handelMiniOffLine:(0,o.throttle)((function(t,i){this.Accordion&&(this.miniId=t,this.$nextTick((()=>{this.getMinerPowerOffLine({miner:i,coin:this.params.coin,account:this.params.account})})))}),1e3),handleClick(){switch(this.activeName){case"power":this.inCharts();break;case"miningMachineDistribution":this.distributionInCharts();break;default:break}},handleClick2(t){switch(this.activeName2=t,this.search="",this.MinerListParams.filter="",this.Accordion="",this.IncomeParams.limit=10,this.MinerListParams.limit=50,this.OutcomeParams.limit=10,this.activeName2){case"power":this.getMinerListData(this.MinerListParams);break;case"miningMachine":this.getHistoryIncomeData(this.IncomeParams);break;case"payment":this.getHistoryOutcomeData(this.OutcomeParams);break;default:break}},onlineStatus(t){switch(this.Accordion="",this.search="",this.MinerListParams.filter="",this.sunTabActiveName=t,this.sunTabActiveName){case"all":this.MinerListParams.type=0;break;case"onLine":this.MinerListParams.type=1;break;case"off-line":this.MinerListParams.type=2;break;default:break}this.getMinerListData(this.MinerListParams)},handleInterval(t){this.PowerParams.interval=t,this.timeActive=t,this.getMinerAccountPowerData(this.PowerParams)},distributionInterval(t){this.PowerDistribution.interval=t,this.barActive=t,this.getAccountPowerDistributionData(this.PowerDistribution)},handelSearch(){this.MinerListParams.filter=this.search,this.getMinerListData(this.MinerListParams)},handleSizeChange(t){console.log(`每页 ${t} 条`),this.OutcomeParams.limit=t,this.OutcomeParams.page=1,this.getHistoryOutcomeData(this.OutcomeParams),this.currentPage=1},handleCurrentChange(t){console.log(`当前页: ${t}`),this.OutcomeParams.page=t,this.getHistoryOutcomeData(this.OutcomeParams)},handleSizeChangeIncome(t){console.log(`每页 ${t} 条`),this.IncomeParams.limit=t,this.IncomeParams.page=1,this.getHistoryIncomeData(this.IncomeParams),this.currentPageIncome=1},handleCurrentChangeIncome(t){console.log(`当前页: ${t}`),this.IncomeParams.page=t,this.getHistoryIncomeData(this.IncomeParams)},handleSizeMiner(t){console.log(`每页 ${t} 条`),this.MinerListParams.limit=t,this.MinerListParams.page=1,this.getMinerListData(this.MinerListParams),this.currentPageMiner=1},handleCurrentMiner(t){console.log(`当前页: ${t}`),this.MinerListParams.page=t,this.getMinerListData(this.MinerListParams)},handelStateList(t){return this.stateList.find((i=>i.value==t)).label||""},handleSort(t){this.MinerListParams.sort=t,"asc"==this.MinerListParams.collation?this.MinerListParams.collation="desc":this.MinerListParams.collation="asc",this.getMinerListData(this.MinerListParams)},handleSort30(){"asc"==this.MinerListParams.collation[0]?this.MinerListParams.collation[0]="desc":this.MinerListParams.collation[0]="asc",this.getMinerListData(this.MinerListParams)},handleSort1h(){"asc"==this.MinerListParams.collation[1]?this.MinerListParams.collation[1]="desc":this.MinerListParams.collation[1]="asc",this.getMinerListData(this.MinerListParams)},handelTimeInterval(t){if(t){var i=60*t,e=Math.floor(i/86400),a=Math.floor(i%86400/3600),s=Math.floor(i%3600/60);if(e)return`(${e}${this.$t("personal.day")} ${a}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(a)return`(${a}${this.$t("personal.hour")} ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`;if(s)return`( ${s}${this.$t("personal.minute")} ${this.$t("personal.front")})`}},jumpPage(){this.$router.push({path:`/${this.lang}/personalCenter/personalMining`,query:{id:this.accountId,coin:this.params.coin,ma:this.params.account}})},async copyTxid(t){let i=`id${t}`,e=document.getElementById(i);try{await navigator.clipboard.writeText(e.textContent),this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})}catch(a){console.log(a),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}},handelPayment(t){if(t||0==t){let i=this.paymentStatusList.find((i=>i.value==t));return i.label}return""},clickCopyAddress(t){var i=document.createElement("input");i.value=t.address,document.body.appendChild(i);try{i.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(error){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(i)?document.body.removeChild(i):console.log("临时输入框不是 body 的子节点,无法移除。")}},clickCopyTxid(t){var i=document.createElement("input");i.value=t.txid,document.body.appendChild(i);try{i.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(error){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(i)?document.body.removeChild(i):console.log("临时输入框不是 body 的子节点,无法移除。")}},handelTxid(t){if(this.accountItem.coin.includes("dgb"))window.open(`https://chainz.cryptoid.info/dgb/tx.dws?${t}.htm`);else switch(this.accountItem.coin){case"nexa":window.open(`https://explorer.nexa.org/tx/${t}`);break;case"mona":window.open(`https://mona.insight.monaco-ex.org/insight/tx/${t}`);break;case"grs":window.open(`https://chainz.cryptoid.info/grs/tx.dws?${t}.htm`);break;case"rxd":window.open(`https://explorer.radiantblockchain.org/tx/${t}`);break;case"enx":window.open(`https://explorer.entropyx.org/txs/${t}`);break;case"alph":window.open(`https://explorer.alephium.org/transactions/${t}`);break;default:break}}}}},18163:function(t,i,e){Object.defineProperty(i,"B",{value:!0}),i.A=void 0,e(44114);var a=e(47149),s=e(49704),n=e(6803);i.A={data(){return{loginForm:{userName:"",password:"",code:""},loginRules:{userName:[{required:!0,trigger:"blur",message:this.$t("user.inputEmail")}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],code:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}]},radio:"en",btnDisabled:!1,bthText:"user.obtainVerificationCode",time:"",loginLoading:!1,accountList:[],loginCodeTime:"",countDownTime:60,timer:null,lang:"en",currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:e(95194),imgUrl:`${this.$baseApi}img/nexa.png`,name:"course.NEXAcourse",show:!0,amount:1e4},{path:"grsAccess",value:"grs",label:"grs",img:e(78628),imgUrl:`${this.$baseApi}img/grs.svg`,name:"course.GRScourse",show:!0,amount:1},{path:"monaAccess",value:"mona",label:"mona",img:e(85857),imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",show:!0,amount:1},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbsCourse",show:!0,amount:1},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbqCourse",show:!0,amount:1},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgboCourse",show:!0,amount:1},{path:"rxdAccess",value:"rxd",label:"radiant(rxd)",img:e(94158),imgUrl:`${this.$baseApi}img/rxd.png`,name:"course.RXDcourse",show:!0,amount:100},{path:"alphminingPool",value:"alph",label:"alephium",img:e(31413),imgUrl:`${this.$baseApi}img/alph.svg`,name:"course.alphCourse",show:!0,amount:1}]}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,i=t<10?"0"+t:t;return`${i}`}},watch:{$route(t){const i=t.path.match(/^\/(zh|en)(\/|$)/);i&&(this.radio=i[1],this.lang=i[1],this.$i18n.locale=i[1],localStorage.setItem("lang",i[1]))},"$i18n.locale":function(){this.translate()}},created(){window.sessionStorage.getItem("exam_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("exam_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again")},mounted(){this.$addStorageEvent(1,"currencyList",JSON.stringify(this.currencyList));const t=this.$route.path,i=t.match(/^\/(zh|en)(\/|$)/);i?(this.radio=i[1],this.lang=i[1],this.$i18n.locale=i[1],localStorage.setItem("lang",i[1])):(this.radio=localStorage.getItem("lang")||"en",this.lang=this.radio,this.$i18n.locale=this.radio)},methods:{translate(){this.loginRules={userName:[{required:!0,trigger:"blur",message:this.$t("user.inputEmail")}],password:[{required:!0,trigger:"blur",message:this.$t("user.inputPassword")}],code:[{required:!0,trigger:"change",message:this.$t("user.inputCode")}]}},async fetchJurisdiction(){const t=await(0,a.getUserProfile)();this.$addStorageEvent(1,"jurisdiction",JSON.stringify(t.data.role)),this.$addStorageEvent(1,"userEmail",JSON.stringify(t.data.email)),t&&200==t.code&&(this.$message({message:this.$t("user.loginSuccess"),type:"success",showClose:!0}),this.$router.push(`/${this.lang}`))},async fetchAccountGradeList(){const t=await(0,a.getAccountGradeList)();t&&200==t.code&&this.$addStorageEvent(1,"miningAccountList",JSON.stringify(t.data))},async fetchAccountList(t){const i=await(0,n.getAccountList)(t);i&&200==i.code&&(this.accountList=i.data,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)))},async fetchLogin(t){this.loginLoading=!0;const i=await(0,a.getLogin)(t);i&&200===i.code&&(this.$addStorageEvent(1,"userName",i.data.userName),this.$addStorageEvent(1,"token",JSON.stringify(i.data.access_token)),await new Promise((t=>setTimeout(t,50))),this.$bus.$emit("user-logged-in"),this.fetchAccountList(),this.fetchAccountGradeList(),this.fetchJurisdiction()),this.loginLoading=!1},async fetchCOde(t){const i=await(0,a.getLoginCode)(t);i&&200==i.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},handelCode(){if(!this.loginForm.userName)return void this.$message({message:this.$t("user.inputAccount"),type:"error",customClass:"messageClass",showClose:!0});const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let i=t.test(this.loginForm.userName);this.loginForm.userName&&i?(this.fetchCOde({account:this.loginForm.userName}),null==window.sessionStorage.getItem("exam_time")||(this.countDownTime=Number(window.sessionStorage.getItem("exam_time"))),this.startCountDown()):this.$message({message:this.$t("user.emailVerification"),type:"error",showClose:!0})},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("exam_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("exam_time",this.countDownTime))}),1e3)},handelJump(t){const i=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${this.lang}/${i}`)},handelRadio(t){const i=this.lang;this.lang=t,this.$i18n.locale=t,localStorage.setItem("lang",t);const e=this.$route.path,a=e.replace(`/${i}`,`/${t}`);this.$router.push({path:a,query:this.$route.query}).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)}))},submitForm(){this.$refs.ruleForm.validate((t=>{if(t){this.loginForm.userName=this.loginForm.userName.trim(),this.loginForm.password=this.loginForm.password.trim();const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;let i=t.test(this.loginForm.userName);if(!i)return void this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0});const e=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,a=e.test(this.loginForm.password);if(!a)return void this.$message({message:this.$t("user.PasswordReminder"),type:"error",showClose:!0});const n={...this.loginForm};n.password=(0,s.encryption)(this.loginForm.password),this.fetchLogin(n)}}))},handleClick(){this.$router.push(`/${this.lang}`)}}}},28702:function(t,i,e){var a=e(3999)["default"];Object.defineProperty(i,"B",{value:!0}),i.A=void 0;var s=a(e(7330)),n=a(e(45438));i.A={components:{Tooltip:n.default},mixins:[s.default]}},30751:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(47105),s=e(28702),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"0a0e912e",null),l=r.exports},37320:function(t,i,e){var a=e(91774)["default"];Object.defineProperty(i,"__esModule",{value:!0}),i["default"]=void 0,e(44114),e(18111),e(22489),e(20116),e(7588),e(61701);e(66848);var s=e(27409),n=e(73723),o=e(84403),r=a(e(3574)),l=e(82908);i["default"]={data(){return{activeName:"second",option:{tooltip:{trigger:"axis",confine:!0,formatter:function(t){var i;i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Currency Price"==t[e].seriesName||"币价"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value} USD`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i}},legend:{right:"30"},grid:{left:"10%",right:"15%",top:"20%",bottom:"12%"},xAxis:{boundaryGap:!1,data:[]},yAxis:[{type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]},axisLabel:{formatter:function(t){return t}}},{position:"right",show:!0,splitLine:{show:!1},name:"USD",nameTextStyle:{padding:[0,0,0,40]}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"Computational power",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},zlevel:1,z:1,data:[]},{name:"Refusal rate",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1,zlevel:2,z:2}]},minerOption:{legend:{right:"50",formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,confine:!0,formatter:function(t){var i=t[0].axisValueLabel;for(let e=0;e<=t.length-1;e++)"Currency Price"==t[e].seriesName||"币价"==t[e].seriesName?i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value} USD`:i+=`
          ${t[e].marker} ${t[e].seriesName}      ${t[e].value}`;return i}},grid:{left:"10%",right:"15%",top:"20%",bottom:"12%"},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:[]},yAxis:[{position:"left",type:"value",name:"GH/s",nameTextStyle:{padding:[0,0,0,-40]},axisLabel:{formatter:function(t){return t}}},{position:"right",show:!0,splitLine:{show:!1},name:"USD",nameTextStyle:{padding:[0,0,0,40]}}],dataZoom:[{type:"inside",start:0,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:0,end:100}],series:[{name:"全网算力",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},areaStyle:{origin:"start",color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(210,195,234)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[]},{name:"币价",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#FE2E74",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#FE2E74",width:"2"},areaStyle:{origin:"start",color:new r.graphic.LinearGradient(0,0,0,1,[{offset:0,color:"rgb(252,220,233)"},{offset:1,color:"rgb(255, 255, 255)"}])},data:[],yAxisIndex:1,zlevel:2,z:2}]},CountOption:{...o.line},powerDialogVisible:!1,minerDialogVisible:!1,currentPage:1,currency:"nexa",currencyPath:`${this.$baseApi}img/nexa.png`,currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:e(95194),imgUrl:`${this.$baseApi}img/nexa.png`,name:"course.NEXAcourse",show:!0,amount:1e4},{path:"grsAccess",value:"grs",label:"grs",img:e(78628),imgUrl:`${this.$baseApi}img/grs.svg`,name:"course.GRScourse",show:!0,amount:1},{path:"monaAccess",value:"mona",label:"mona",img:e(85857),imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",show:!0,amount:1},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbsCourse",show:!0,amount:1},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgbqCourse",show:!0,amount:1},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",img:e(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,name:"course.dgboCourse",show:!0,amount:1},{path:"rxdAccess",value:"rxd",label:"radiant(rxd)",img:e(94158),imgUrl:`${this.$baseApi}img/rxd.png`,name:"course.RXDcourse",show:!0,amount:100},{path:"alphminingPool",value:"alph",label:"alephium",img:e(31413),imgUrl:`${this.$baseApi}img/alph.svg`,name:"course.alphCourse",show:!0,amount:1}],params:{coin:"nexa",interval:"rt"},PowerParams:{coin:"nexa",interval:"rt"},BlockInfoParams:{coin:"nexa",limit:10,page:1},CoinData:{algorithm:"",height:"",totalDifficulty:"",totalPower:"",price:"",poolPower:"",poolMc:""},luckData:{luck3d:"96.26 %",luck7d:"96.26 %",luck30d:"96.26 %",luck90d:"96.26 %"},BlockInfoData:[],intervalList:[{value:"rt",label:"home.realTime"},{value:"1d",label:"home.day"}],offset:0,itemWidth:30,listWidth:1e3,itemActive:"nexa",timeActive:"rt",powerActive:!0,minerChartLoading:!1,newBlockInfoData:[],reportBlockLoading:!1,BlockShow:!0,showCalculator:!1,value:"nexa",input3:"",select:"GH/s",selectTime:[{value:"day",label:"home.everyDay"},{value:"week",label:"home.weekly"},{value:"month",label:"home.monthly"},{value:"year",label:"home.annually"}],time:"day",input:"",inputPower:1,profit:"",factor:"",CalculatorData:{hpb:"10",reward:"20",price:"30",costTime:"600",poolFee:"0.15"},transactionFeeList:[{label:"grs",coin:"grs",feeShow:!1},{label:"mona",coin:"mona",feeShow:!1},{label:"radiant",coin:"rxd",feeShow:!1}],FeeShow:!0,lang:"en",activeItemCoin:{value:"nexa",label:"nexa",img:e(95194),imgUrl:`${this.$baseApi}img/nexa.png`},isInternalChange:!1,broadcastList:[{id:"b1",content:this.$t("home.describe"),buttonContent:[this.$t("home.view")],buttonPath:["/allocationExplanation"]}],currentBroadcastIndex:0,scrollTimer:null,delayScrollTimer:null,isTransition:!0}},computed:{broadcastListForLoop(){return 0===this.broadcastList.length?[]:1===this.broadcastList.length?this.broadcastList:[...this.broadcastList,this.broadcastList[0]]},scrollStyle(){return{transform:`translateY(-${30*this.currentBroadcastIndex}px)`,transition:this.isTransition?"transform 0.5s cubic-bezier(.4,0,.2,1)":"none"}},mobileScrollStyle(){return{transform:`translateY(-${40*this.currentBroadcastIndex}px)`,transition:this.isTransition?"transform 0.5s cubic-bezier(.4,0,.2,1)":"none"}}},watch:{"$i18n.locale":t=>{location.reload()},activeItemCoin:{handler(t){this.isInternalChange||this.handleActiveItemChange(t)},deep:!0}},mounted(){if(this.lang=this.$i18n.locale,this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(this.currencyList[0])),this.minerChartLoading=!0,this.$isMobile)this.option.yAxis[1].show=!1,this.option.grid.left="16%",this.option.grid.right="5%",this.option.grid.top="10%",this.option.grid.bottom="45%",this.option.legend.bottom=5,this.option.legend.right="30%",this.option.xAxis.axisLabel={interval:8,rotate:70},this.minerOption.yAxis[1].show=!1,this.minerOption.grid.left="16%",this.minerOption.grid.right="5%",this.minerOption.grid.top="10%",this.minerOption.grid.bottom="45%",this.minerOption.legend.bottom=5,this.minerOption.legend.right="30%",this.minerOption.xAxis.axisLabel={interval:8,rotate:70};else{const t=this.option.yAxis[0],i=Math.max(...this.option.series[0].data),e=t.axisLabel.formatter,a=e(i),s=document.createElement("div");s.style.position="absolute",s.style.visibility="hidden",s.style.fontSize="12px",s.innerText=a,document.body.appendChild(s);const n=s.offsetWidth;document.body.removeChild(s);const o=20;this.option.grid.left=n+o+"px";const r=this.minerOption.yAxis[0],l=Math.max(...this.minerOption.series[0].data),c=r.axisLabel.formatter,m=c(l),h=document.createElement("div");h.style.position="absolute",h.style.visibility="hidden",h.style.fontSize="12px",h.innerText=m,document.body.appendChild(h);const d=h.offsetWidth;document.body.removeChild(h);const u=20;this.minerOption.grid.left=d+u+"px"}this.getBlockInfoData(this.BlockInfoParams),this.getCoinInfoData(this.params),this.getPoolPowerData(this.PowerParams),this.registerRecoveryMethod("getCoinInfoData",this.params),this.registerRecoveryMethod("getPoolPowerData",this.PowerParams),this.registerRecoveryMethod("getBlockInfoData",this.BlockInfoParams),this.$addStorageEvent(1,"currencyList",JSON.stringify(this.currencyList)),this.$refs.select&&this.$refs.select.$el.children[0].children[0].setAttribute("style",`background:url(${this.$baseApi}/img/nexa.png) no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 30PX;`),this.fetchParam({coin:this.params.coin}),this.minerChartLoading=!1,window.addEventListener("setItem",(()=>{let t=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(t)})),this.getBroadcastList({lang:this.$i18n.locale}),this.startScroll(),this.$nextTick((()=>{this.startScroll()})),window.addEventListener("resize",this.setItemHeight)},methods:{handleCustomClick(t){console.log("广播项被点击:",t),this.$message.info(`广播: ${t.content}`)},handleBroadcastError(t){console.error("广播组件错误:",t)},async getBroadcastList(t){const i=await(0,n.getBroadcast)(t);if(i&&200==i.code){let t=i.data;t=t.map((t=>{if(t.buttonContent?"string"===typeof t.buttonContent?t.buttonContent=t.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):Array.isArray(t.buttonContent)||(t.buttonContent=[]):t.buttonContent=[],t.buttonPath?"string"===typeof t.buttonPath?t.buttonPath=t.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):Array.isArray(t.buttonPath)||(t.buttonPath=[]):t.buttonPath=[],t.buttonContent.length!==t.buttonPath.length){const i=Math.min(t.buttonContent.length,t.buttonPath.length);t.buttonContent=t.buttonContent.slice(0,i),t.buttonPath=t.buttonPath.slice(0,i)}return t})),this.broadcastList=[...this.broadcastList,...t],console.log(this.broadcastList,"this.broadcastList"),this.currentBroadcastIndex=0,this.broadcastList.length>1&&this.$nextTick((()=>{this.startScroll()}))}},handelOptionYAxis(t){const i=t.yAxis[0],e=Math.max(...t.series[0].data),a=i.axisLabel.formatter,s=a(e),n=document.createElement("div");n.style.position="absolute",n.style.visibility="hidden",n.style.fontSize="12px",n.innerText=s,document.body.appendChild(n);const o=n.offsetWidth;document.body.removeChild(n);const r=20;return t.grid.left=o+r+"px",t},slideLeft(){const t=120*this.currencyList.length,i=document.getElementById("list-box").clientWidth;if(t{this.minerChartLoading=!1})),window.addEventListener("resize",(0,l.throttle)((()=>{this.myChart&&this.myChart.resize()}),200))},inChartsMiner(){null==this.MinerChart&&(this.MinerChart=r.init(document.getElementById("minerChart"))),this.minerOption=this.handelOptionYAxis(this.minerOption),this.minerOption.series[0].name=this.$t("home.networkPower"),this.minerOption.series[1].name=this.$t("home.currencyPrice"),this.MinerChart.setOption(this.minerOption),this.MinerChart.on("finished",(()=>{this.minerChartLoading=!1})),window.addEventListener("resize",(0,l.throttle)((()=>{this.MinerChart&&this.MinerChart.resize()}),200))},countInCharts(){this.countChart=r.init(document.getElementById("minerChart")),this.countChart.setOption(this.CountOption)},async fetchParam(t){try{const i=await(0,s.getParam)(t);if(i&&200==i.code)this.CalculatorData=i.data;else for(const t in this.CalculatorData)this.CalculatorData[t]=0;this.calculateIncome(this.CalculatorData)}catch(error){console.log(error,"error")}},getCoinInfoData:(0,l.Debounce)((async function(t){const i=await(0,s.getCoinInfo)(t);i&&200==i.code?this.CoinData=i.data:this.CoinData={}}),200),getPoolPowerData:(0,l.Debounce)((async function(t){this.setLoading("minerChartLoading",!0);try{const i=await(0,s.getPoolPower)(t);if(!i)return this.setLoading("minerChartLoading",!1),void(this.myChart&&this.myChart.dispose());let e=i.data,a=[],n=[],o=[];e.forEach((i=>{i.date.includes("T")&&"rt"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),a.push(i.date),n.push(Number(i.pv).toFixed(2)),0==i.price?o.push(i.price):i.price<1?o.push(Number(i.price).toFixed(8)):o.push(Number(i.price).toFixed(2))})),this.option.xAxis.data=a,this.option.yAxis[0].name=e[0].unit,this.option.series[0].data=n,this.option.series[1].data=o,this.$nextTick((()=>{this.inCharts()}))}catch{console.error("获取数据失败:",error)}finally{this.setLoading("minerChartLoading",!1)}}),200),async fetchNetPower(t){this.setLoading("minerChartLoading",!0);const i=await(0,s.getNetPower)(t);if(!i)return this.minerChartLoading=!1,void(this.MinerChart&&this.MinerChart.dispose());let e=i.data,a=[],n=[],o=[];e.forEach((i=>{i.date.includes("T")&&"rt"==t.interval?i.date=`${i.date.split("T")[0]} ${i.date.split("T")[1].split(".")[0]}`:i.date.includes("T")&&"1d"==t.interval&&(i.date=i.date.split("T")[0]),a.push(i.date),n.push(Number(i.pv).toFixed(2)),0==i.price?o.push(i.price):i.price<1?o.push(Number(i.price).toFixed(8)):o.push(Number(i.price).toFixed(2))})),this.minerOption.xAxis.data=a,e[0]&&e[0].unit&&(this.minerOption.yAxis[0].name=e[0].unit),this.minerOption.series[0].data=n,this.minerOption.series[1].data=o,this.$nextTick((()=>{this.inChartsMiner()})),this.setLoading("minerChartLoading",!1)},getMinerCountData:(0,l.Debounce)((async function(t){this.setLoading("minerChartLoading",!0);const i=await(0,s.getMinerCount)(t);if(!i)return this.minerChartLoading=!1,void(this.MinerChart&&this.MinerChart.dispose());let e=i.data,a=[],n=[];e.forEach((t=>{t.date.includes("T")?a.push(`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`):a.push(t.date),n.push(t.value)})),this.minerOption.xAxis.data=a,this.minerOption.series[0].data=n,this.$nextTick((()=>{this.inChartsMiner()})),this.setLoading("minerChartLoading",!1)}),200),getBlockInfoData:(0,l.Debounce)((async function(t){try{this.setLoading("reportBlockLoading",!0);const i=await(0,s.getBlockInfo)(t);if(i&&200==i.code){if(this.BlockShow=!0,this.newBlockInfoData=[],this.BlockInfoData=i.rows,!this.BlockInfoData[0])return void this.setLoading("reportBlockLoading",!1);this.BlockInfoData.forEach(((t,i)=>{t.date=`${t.date.split("T")[0]} ${t.date.split("T")[1].split(".")[0]}`,i<8&&this.newBlockInfoData.push(t)}))}else this.BlockShow=!1;this.setLoading("reportBlockLoading",!1)}catch(error){console.error("获取区块信息失败:",error),this.BlockShow=!1}finally{this.setLoading("reportBlockLoading",!1)}}),200),calculateIncome(t){for(const l in this.CalculatorData)if(!this.CalculatorData[l])return void(this.profit=0);let i;switch(this.select){case"GH/s":i=this.inputPower*Math.pow(10,9);break;case"MH/s":i=this.inputPower*Math.pow(10,6);break;case"TH/s":i=this.inputPower*Math.pow(10,12);break;default:break}const e=this.CalculatorData.netHashrate,a=this.CalculatorData.reward,s=i/e,n=a*(1-this.CalculatorData.poolFee)*this.CalculatorData.count,o=s*n;switch(this.time){case"day":this.profit=o.toFixed(8);break;case"week":this.profit=(7*o).toFixed(8);break;case"month":this.profit=(30*o).toFixed(8);break;case"year":this.profit=(365*o).toFixed(8);break;default:break}const r=new Intl.NumberFormat("en-US",{minimumFractionDigits:2,maximumFractionDigits:2,useGrouping:!0});if("nexa"==this.value)this.profit=r.format(this.profit);else{const t=new Intl.NumberFormat("en-US",{minimumFractionDigits:8,useGrouping:!0});this.profit=t.format(this.profit)}},toFixedNoRound(t,i=10){const e=10**i;return(t<0?Math.ceil(t*e):Math.floor(t*e))/e},ProfitCalculator(t,i){const e=5646.62,a=1e7,s=t/e,n=a*(1-i)*720,o=s*n;return o},disableElement(t){t.setAttribute("data-disabled",!0),t.style.pointerEvents="none",t.style.opacity="0.5"},handelProfitCalculation(){for(const t in this.CalculatorData)if(0!==this.CalculatorData[t]&&!this.CalculatorData[t])return this.$message({message:this.$t("home.acquisitionFailed"),type:"error"}),this.profit=0,void this.fetchParam({coin:this.params.coin});this.showCalculator=!0},handelClose(){this.showCalculator=!1},changeSelection(t){let i=t;for(let e in this.currencyList){let t=this.currencyList[e],a=t.value;i===a&&this.$refs.select.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 35PX;")}this.fetchParam({coin:this.value})},handelJump(t){if("/AccessMiningPool"===t){const t=this.currencyList.find((t=>t.value===this.params.coin));if(!t)return;this.lang;this.$router.push({name:"AccessMiningPool",params:{coin:this.params.coin,imgUrl:this.currencyPath},replace:!1})}else{let t=`/${this.lang}/AccessMiningPool`;this.$router.push(t)}},handelJumpBroadcast(t){if("/AccessMiningPool"===t){const t=this.currencyList.find((t=>t.value===this.params.coin));if(!t)return;this.lang;this.$router.push({name:"AccessMiningPool",params:{coin:this.params.coin,imgUrl:this.currencyPath},replace:!1})}else this.$router.push(`/${this.lang}${t}`)},handelCalculation(){this.calculateIncome()},getItemFullWidth(){const t=this.$refs.currencyList;if(!t)return 120;const i=t.querySelector(".list-item");if(!i)return 120;const e=window.getComputedStyle(i),a=i.offsetWidth,s=parseInt(e.marginLeft)||0,n=parseInt(e.marginRight)||0;return a+s+n},scrollLeft(){const t=120*this.currencyList.length,i=document.getElementById("list-box").clientWidth;if(tt?"-"+(t-i)+"PX":"-"+(a+360)+"PX"},handleActiveItemChange(t){t&&(this.currency=t.label,this.currencyPath=t.imgUrl,this.params.coin=t.value,console.log(this.params.coin,"item"),this.BlockInfoParams.coin=t.value,this.itemActive=t.value,this.PowerParams.coin=t.value,this.getCoinInfoData(this.params),this.getBlockInfoData(this.BlockInfoParams),this.powerActive?this.handelPower():this.handelMiner(),this.handelCoinLabel(t.value))},clickCurrency(t){t&&(this.isInternalChange=!0,this.activeItemCoin=t,this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t)),this.$nextTick((()=>{this.isInternalChange=!1})),this.handleActiveItemChange(t))},clickReportBlock(){this.$router.push({path:`/${this.lang}/reportBlock`,query:{coin:this.params.coin,imgUrl:this.currencyPath}})},handleClick(t,i){},handelPower(){this.MinerChart&&(this.MinerChart.dispose(),this.MinerChart=null),this.option.xAxis.data=[],this.option.series[0].data=[],this.option.series[1].data=[],this.powerActive=!0,this.PowerParams.coin=this.params.coin,this.getPoolPowerData(this.PowerParams)},intervalChange(t){this.PowerParams.interval=t,this.params.interval=t,this.timeActive=t,this.powerActive?this.getPoolPowerData(this.PowerParams):this.powerActive||this.fetchNetPower(this.params)},handelMiner(){this.myChart&&(this.myChart.dispose(),this.myChart=null),this.minerOption.xAxis.data=[],this.minerOption.series[0].data=[],this.powerActive=!1,this.fetchNetPower(this.params)},handelLabel(t){let i=this.currencyList.find((i=>i.value==t));return i?i.label:""},handelLabel2(t){return t.includes("dgb")?"dgb":t},handelCoinLabel(t){let i={coin:""};t&&(i=this.transactionFeeList.find((i=>i.coin==t)),this.FeeShow=!1),i||(this.FeeShow=!0)},startScroll(){this.scrollTimer&&clearInterval(this.scrollTimer),this.broadcastList.length<=1||(this.scrollTimer=setInterval(this.nextScroll,3e3))},stopScroll(){this.scrollTimer&&clearInterval(this.scrollTimer),this.scrollTimer=null},startScrollDelayed(){this.delayScrollTimer&&clearTimeout(this.delayScrollTimer),this.delayScrollTimer=setTimeout((()=>{this.startScroll()}),1e3)},nextScroll(){this.broadcastList.length<=1||(this.isTransition=!0,this.currentBroadcastIndex+=1,this.currentBroadcastIndex===this.broadcastList.length&&setTimeout((()=>{this.isTransition=!1,this.currentBroadcastIndex=0}),500))}},beforeDestroy(){this.scrollTimer&&clearInterval(this.scrollTimer),this.delayScrollTimer&&clearTimeout(this.delayScrollTimer)}}},38927:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",{staticClass:"loginPage"},[t.$isMobile?i("section",{staticClass:"mobileMain"},[i("header",{staticClass:"headerBox"},[i("img",{attrs:{src:e(87596),alt:"logo",loading:"lazy"},on:{click:function(i){return t.handelJump("/")}}}),i("span",{staticClass:"title"},[t._v(t._s(t.$t("home.MLogin")))]),i("span")]),t._m(0),i("section",{staticClass:"formInput"},[i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[i("el-form-item",{attrs:{prop:"userName"}},[i("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account")},model:{value:t.loginForm.userName,callback:function(i){t.$set(t.loginForm,"userName",i)},expression:"loginForm.userName"}})],1),i("el-form-item",{attrs:{prop:"password"}},[i("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(i){t.$set(t.loginForm,"password",i)},expression:"loginForm.password"}})],1),i("el-form-item",{attrs:{prop:"code"}},[i("div",{staticClass:"verificationCode"},[i("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.code,callback:function(i){t.$set(t.loginForm,"code",i)},expression:"loginForm.code"}}),i("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?i("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(" "+t._s(t.$t(t.bthText)))])],1)]),i("div",{staticClass:"registerBox"},[i("span",{staticClass:"noAccount"},[t._v(t._s(t.$t("user.noAccount")))]),i("span",{staticStyle:{color:"#661fff"},on:{click:function(i){return t.handelJump("register")}}},[t._v(t._s(t.$t("user.register")))]),i("span",{staticClass:"forget",staticStyle:{color:"#661fff"},on:{click:function(i){return t.handelJump("resetPassword")}}},[t._v(t._s(t.$t("user.forgotPassword")))])]),i("el-form-item",[i("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(i){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.login")))]),i("div",{staticStyle:{"text-align":"left"}},[i("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("简体中文")]),i("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)]):i("section",{staticClass:"loginModular"},[i("div",{staticClass:"leftBox"},[i("img",{staticClass:"logo",attrs:{src:e(79613),alt:"logo"},on:{click:t.handleClick}}),i("img",{attrs:{src:e(58455),alt:"Login for mining"}})]),i("div",{staticClass:"loginBox"},[i("div",{staticClass:"closeBox",on:{click:t.handleClick}},[i("i",{staticClass:"iconfont icon-guanbi1 close"})]),i("el-form",{ref:"ruleForm",staticClass:"demo-ruleForm",attrs:{model:t.loginForm,"status-icon":"",rules:t.loginRules}},[i("el-form-item",[i("p",{staticClass:"loginTitle"},[t._v(t._s(t.$t("user.login")))])]),i("el-form-item",{attrs:{prop:"userName"}},[i("el-input",{attrs:{"prefix-icon":"el-icon-user",autocomplete:"off",placeholder:t.$t("user.Account"),type:"email"},model:{value:t.loginForm.userName,callback:function(i){t.$set(t.loginForm,"userName",i)},expression:"loginForm.userName"}})],1),i("el-form-item",{attrs:{prop:"password"}},[i("el-input",{attrs:{type:"password","prefix-icon":"el-icon-unlock",autocomplete:"off",showPassword:"",placeholder:t.$t("user.password")},model:{value:t.loginForm.password,callback:function(i){t.$set(t.loginForm,"password",i)},expression:"loginForm.password"}})],1),i("el-form-item",{attrs:{prop:"code"}},[i("div",{staticClass:"verificationCode"},[i("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.loginForm.code,callback:function(i){t.$set(t.loginForm,"code",i)},expression:"loginForm.code"}}),i("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t.countDownTime<60&&t.countDownTime>0?i("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(" "+t._s(t.$t(t.bthText)))])],1)]),i("div",{staticClass:"registerBox"},[i("span",{staticClass:"noAccount"},[t._v(t._s(t.$t("user.noAccount")))]),i("span",{staticStyle:{cursor:"pointer"},on:{click:function(i){return t.handelJump("/register")}}},[t._v(t._s(t.$t("user.register")))]),i("span",{staticClass:"forget",on:{click:function(i){return t.handelJump("/resetPassword")}}},[t._v(t._s(t.$t("user.forgotPassword")))])]),i("el-form-item",[i("el-button",{staticStyle:{width:"100%",background:"#661fff",color:"aliceblue","margin-top":"6%"},attrs:{loading:t.loginLoading},on:{click:function(i){return t.submitForm("ruleForm")}}},[t._v(t._s(t.$t("user.login")))]),i("div",{staticStyle:{"text-align":"left"}},[i("el-radio",{attrs:{label:"zh"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("简体中文")]),i("el-radio",{attrs:{label:"en"},on:{input:t.handelRadio},model:{value:t.radio,callback:function(i){t.radio=i},expression:"radio"}},[t._v("English")])],1)],1)],1)],1)])])},i.Yp=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgTop"},[i("img",{attrs:{src:e(6006),alt:"Login for mining",loading:"lazy"}})])}]},42232:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(59171),s=e(93852),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"196c2b91",null),l=r.exports},47105:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",{staticClass:"miningAccountMain"},[t.$isMobile?i("section",[i("div",{staticClass:"accountInformation"},[i("img",{attrs:{src:t.accountItem.img,alt:"coin"}}),i("span",{staticClass:"coin"},[t._v(t._s(t.accountItem.coin)+" ")]),i("i",{staticClass:"iconfont icon-youjiantou"}),i("span",{staticClass:"ma"},[t._v(" "+t._s(t.accountItem.ma))])]),i("div",{staticClass:"profitTop"},[i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalRevenueTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.totalExpenditureTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.yesterdaySEarningsTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),i("div",{staticClass:"accountBalance"},[i("div",{staticClass:"box2"},[i("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance))])]),i("el-button",{on:{click:t.jumpPage}},[t._v(t._s(t.$t("mining.paymentSettings")))])],1)]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm2"},[i("div",{staticClass:"right"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),i("div",{staticClass:"times"},t._l(t.intervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.handleInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),i("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"barBox"},[i("div",{staticClass:"lineBOX"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),i("div",{staticClass:"timesBox"},[i("div",{staticClass:"times2"},t._l(t.AccountPowerDistributionintervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.barActive==e.value},on:{click:function(i){return t.distributionInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)])]),i("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),i("div",{staticClass:"searchBox"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(i){i.target.composing||(t.search=i.target.value)}}}),i("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})]),i("div",{staticClass:"top3Box"},[i("section",{staticClass:"tabPageBox"},[i("div",{staticClass:"tabPageTitle"},[i("div",{staticClass:"TitleS minerTitle",on:{click:function(i){return t.handleClick2("power")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.miner")))])])]),i("div",{staticClass:"TitleS profitTitle",on:{click:function(i){return t.handleClick2("miningMachine")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.profit")))])])]),i("div",{staticClass:"TitleS paymentTitle",on:{click:function(i){return t.handleClick2("payment")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[i("div",{staticClass:"minerTitleBox"},[i("div",{staticClass:"TitleOnLine"},[i("span",{on:{click:function(i){return t.onlineStatus("all")}}},[i("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),i("span",{on:{click:function(i){return t.onlineStatus("onLine")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),i("span",{on:{click:function(i){return t.onlineStatus("off-line")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])])]),"all"==t.sunTabActiveName?i("div",{staticClass:"publicBox all"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(" "+t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.sortedMinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",{class:{activeState:"2"==e.status}},["1"==e.status?i("div",{staticClass:"circularDotsOnLine"}):t._e(),"2"==e.status?i("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))])])]),i("div",{staticClass:"table-item"},[i("div",[i("p",[t._v(t._s(t.$t("mining.submitTime")))]),i("p",[i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])]),i("div",[i("p",[t._v(t._s(t.$t("mining.state")))]),i("p",[i("span",{class:{activeState:"2"==e.status},attrs:{title:t.$t(t.handelStateList(e.status))}},[t._v(t._s(t.$t(t.handelStateList(e.status)))+" ")])])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+"  "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?i("div",{staticClass:"publicBox onLine"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:t.sunTabActiveName+e.miner,class:"item-"+(a%2==0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelOnLineMiniChart(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",[i("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))])])]),i("div",{staticClass:"table-itemOn"},[i("div",[i("p",[t._v(t._s(t.$t("mining.submitTime")))]),i("p",[i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"Small"+e.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?i("div",{staticClass:"publicBox off-line"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",{class:{activeState:"2"==e.status}},[i("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))])])]),i("div",{staticClass:"table-itemOn"},[i("div",[i("p",[t._v(t._s(t.$t("mining.submitTime")))]),i("p",[i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):t._e(),i("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"sizes, prev, pager, next",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(i){t.currentPageMiner=i},"update:current-page":function(i){t.currentPageMiner=i}}})],1):t._e(),"miningMachine"==t.activeName2?i("section",{staticClass:"miningMachine"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),i("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(e,a){return i("li",{key:a,staticClass:"currency-list"},[i("span",{attrs:{title:e.date}},[t._v(t._s(e.date))]),i("span",{attrs:{title:e.mhs}},[t._v(t._s(e.mhs)+" ")]),i("span",{attrs:{title:e.amount}},[t._v(t._s(e.amount)+" "),i("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin.includes("dgb")?"dgb":t.accountItem.coin))])])])}))],2),i("el-pagination",{staticClass:"pageBox",attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(i){t.currentPageIncome=i},"update:current-page":function(i){t.currentPageIncome=i}}})],1)]):t._e(),"payment"==t.activeName2?i("section",{staticClass:"payment"},[i("div",{staticClass:"belowTable"},[i("div",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),i("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),i("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),i("el-collapse",{attrs:{accordion:""}},t._l(t.HistoryOutcomeData,(function(e,a){return i("el-collapse-item",{key:e.txid,staticClass:"collapseItem",attrs:{name:a}},[i("template",{slot:"title"},[i("div",{staticClass:"paymentCollapseTitle"},[i("span",[t._v(t._s(e.date))]),i("span",[t._v(t._s(e.amount))]),i("span",[t._v(t._s(t.$t(t.handelPayment(e.status))))])])]),i("div",{staticClass:"dropDownContent"},[e.address?i("div",[i("p",[t._v(t._s(t.$t("mining.withdrawalAddress")))]),i("p",[t._v(t._s(e.address)+" "),i("span",{staticClass:"copy",on:{click:function(i){return t.clickCopyAddress(e)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e(),e.txid?i("div",[i("p",[t._v("Txid")]),i("p",[i("span",{staticStyle:{cursor:"pointer","text-decoration":"underline",color:"#433278"},on:{click:function(i){return t.handelTxid(e.txid)}}},[t._v(" "+t._s(e.txid)+" ")]),t._v(" "),i("span",{staticClass:"copy",on:{click:function(i){return t.clickCopyTxid(e)}}},[t._v(t._s(t.$t("personal.copy")))])])]):t._e()])],2)})),1),i("el-pagination",{staticStyle:{"margin-top":"10px","margin-bottom":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"sizes, prev, pager, next",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(i){t.currentPage=i},"update:current-page":function(i){t.currentPage=i}}})],1)]):t._e()])])]):i("section",{staticClass:"miningAccount"},[i("div",{staticClass:"accountInformation"},[i("img",{attrs:{src:t.accountItem.img,alt:"coin"}}),i("span",{staticClass:"coin"},[t._v(t._s(t.accountItem.coin)+" ")]),i("i",{staticClass:"iconfont icon-youjiantou"}),i("span",{staticClass:"ma"},[t._v(" "+t._s(t.accountItem.ma))])]),i("div",{staticClass:"profitBox"},[i("div",{staticClass:"profitTop"},[i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalRevenue"))+" ")]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.totalProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.totalExpenditure"))+" ")]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.expend))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.yesterdaySEarnings"))+" ")]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.preProfit))])]),i("div",{staticClass:"box"},[i("span",[t._v(t._s(t.$t("mining.diggedToday"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.diggedTodayTips")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.todayPorfit))])]),i("div",{staticClass:"box"},[i("span",{staticClass:"paymentSettings"},[t._v(t._s(t.$t("mining.accountBalance"))+" "),i("div",{staticClass:"boxTitle",attrs:{"data-title":t.$t("mining.balanceReminder")}},[i("img",{attrs:{src:e(3832),alt:"profit",loading:"lazy"}})])]),i("span",{staticClass:"text"},[t._v(t._s(t.MinerAccountData.balance))])])]),i("div",{staticClass:"paymentSettingBth"},[i("el-button",{on:{click:t.jumpPage}},[t._v(t._s(t.$t("mining.paymentSettings")))])],1),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.powerChartLoading,expression:"powerChartLoading"}],staticClass:"profitBtm"},[i("div",{staticClass:"right"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.algorithmicDiagram")))]),i("div",{staticClass:"times"},t._l(t.intervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.handleInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),i("div",{staticStyle:{width:"100%",height:"100%",padding:"0"},attrs:{id:"powerChart"}})])])]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.barChartLoading,expression:"barChartLoading"}],staticClass:"top2Box"},[i("div",{staticClass:"lineBOX"},[i("div",{staticClass:"intervalBox"},[i("div",{staticClass:"title"},[t._v(t._s(t.$t("mining.computingPower")))]),i("div",{staticClass:"times"},t._l(t.AccountPowerDistributionintervalList,(function(e){return i("span",{key:e.value,class:{timeActive:t.barActive==e.value},on:{click:function(i){return t.distributionInterval(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),i("div",{staticStyle:{width:"100%",height:"90%",padding:"0"},attrs:{id:"barChart"}})])]),i("div",{staticClass:"top3Box"},[i("section",{staticClass:"tabPageBox"},[i("div",{staticClass:"tabPageTitle"},[i("div",{staticClass:"TitleS minerTitle",on:{click:function(i){return t.handleClick2("power")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"power"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.miner")))])])]),i("div",{staticClass:"TitleS profitTitle",on:{click:function(i){return t.handleClick2("miningMachine")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"miningMachine"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.profit")))])])]),i("div",{staticClass:"TitleS paymentTitle",on:{click:function(i){return t.handleClick2("payment")}}},[i("span",{staticClass:"trapezoid",class:{activeHeadlines:"payment"==t.activeName2}},[i("span",[t._v(t._s(t.$t("mining.payment")))])])])]),"power"==t.activeName2?i("section",{directives:[{name:"loading",rawName:"v-loading",value:t.MinerListLoading,expression:"MinerListLoading"}],staticClass:"page"},[i("div",{staticClass:"minerTitleBox"},[i("div",{staticClass:"TitleOnLine"},[i("span",{on:{click:function(i){return t.onlineStatus("all")}}},[i("span",{staticClass:"circularDots3",class:{activeCircular:"all"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.all"))+" "+t._s(t.MinerListData.all))]),i("span",{on:{click:function(i){return t.onlineStatus("onLine")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"onLine"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.onLine"))+" "+t._s(t.MinerListData.online))]),i("span",{on:{click:function(i){return t.onlineStatus("off-line")}}},[i("div",{staticClass:"circularDots2",class:{activeCircular:"off-line"==t.sunTabActiveName}}),t._v(" "+t._s(t.$t("mining.offLine"))+" "+t._s(t.MinerListData.offline))])]),i("div",{staticClass:"searchBox"},[i("input",{directives:[{name:"model",rawName:"v-model",value:t.search,expression:"search"}],staticClass:"inout",attrs:{type:"text",placeholder:t.$t("personal.pleaseEnter2")},domProps:{value:t.search},on:{input:function(i){i.target.composing||(t.search=i.target.value)}}}),i("i",{staticClass:"el-icon-search",on:{click:t.handelSearch}})])]),"all"==t.sunTabActiveName?i("div",{staticClass:"publicBox all"},[i("div",{staticClass:"TitleAll",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(" "+t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})]),i("span",[t._v(t._s(t.$t("mining.submitTime")))]),i("span",[t._v(t._s(t.$t("mining.state")))])]),i("div",{staticClass:"totalTitleAll"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total")))]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),i("span",[t._v("   --- ")]),i("span")]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.sortedMinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitleAll"},[i("span",{class:{activeState:"2"==e.status}},["1"==e.status?i("div",{staticClass:"circularDotsOnLine"}):t._e(),"2"==e.status?i("div",{staticClass:"circularDotsOffLine"}):t._e(),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate)+" ")]),i("span",[t._v(t._s(e.dailyRate))]),i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()]),i("span",{class:{activeState:"2"==e.status},attrs:{title:t.$t(t.handelStateList(e.status))}},[t._v(t._s(t.$t(t.handelStateList(e.status)))+" ")])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+"  "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):"onLine"==t.sunTabActiveName?i("div",{staticClass:"publicBox onLine"},[i("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})]),i("span",[t._v(t._s(t.$t("mining.submitTime")))])]),i("div",{staticClass:"totalTitle"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),i("span",[t._v("   --- ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:t.sunTabActiveName+e.miner,class:"item-"+(a%2==0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelOnLineMiniChart(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitle"},[i("span",[i("div",{staticClass:"circularDotsOnLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))]),i("span",[t._v(t._s(e.submit))])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"Small"+e.id}})],2)],1)})),0)],1):"off-line"==t.sunTabActiveName?i("div",{staticClass:"publicBox off-line"},[i("div",{staticClass:"Title",staticStyle:{"font-weight":"600"}},[i("span",[t._v(" "+t._s(t.$t("mining.miner")))]),i("span",[t._v(t._s(t.$t("mining.Minutes"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("30m")}}})]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s "),i("i",{staticClass:"iconfont icon-paixu sort",on:{click:function(i){return t.handleSort("24h")}}})]),i("span",[t._v(t._s(t.$t("mining.submitTime")))])]),i("div",{staticClass:"totalTitle"},[i("span",[i("div",{staticClass:"circularDots"}),t._v(" "+t._s(t.$t("mining.total"))+" ")]),i("span",[t._v(t._s(t.MinerListData.rate)+" ")]),i("span",[t._v(t._s(t.MinerListData.dailyRate)+" ")]),i("span",[t._v("   --- ")])]),i("el-collapse",{staticStyle:{"max-height":"800px",overflow:"auto"},attrs:{accordion:""},model:{value:t.Accordion,callback:function(i){t.Accordion=i},expression:"Accordion"}},t._l(t.MinerListTableData,(function(e,a){return i("div",{key:e.miner,class:"item-"+(a%2===0?"even":"odd")},[i("el-collapse-item",{attrs:{name:e.id},nativeOn:{click:function(i){return t.handelMiniOffLine(e.id,e.miner)}}},[i("template",{slot:"title"},[i("div",{staticClass:"accordionTitle"},[i("span",{class:{activeState:"2"==e.status}},[i("div",{staticClass:"circularDotsOffLine"}),t._v(" "+t._s(e.miner))]),i("span",[t._v(t._s(e.rate))]),i("span",[t._v(t._s(e.dailyRate))]),i("span",{staticClass:"offlineTime",class:{activeState:"2"==e.status},attrs:{title:e.submit}},[i("span",[t._v(t._s(e.submit)+" ")]),"2"==e.status?i("span",{staticClass:"timeTips",attrs:{title:t.handelTimeInterval(e.offline)}},[t._v(t._s(t.handelTimeInterval(e.offline)))]):t._e()])])]),i("p",{staticClass:"chartTitle"},[t._v(" "+t._s(t.$t("mining.miner"))+t._s(e.miner)+" "+t._s(t.$t("mining.power24H"))+" ")]),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.miniLoading,expression:"miniLoading"}],staticStyle:{width:"100%",height:"300px"},attrs:{id:"SmallOff"+e.id}})],2)],1)})),0)],1):t._e(),i("el-pagination",{staticClass:"minerPagination",attrs:{"current-page":t.currentPageMiner,"page-sizes":[50,100,200,400],"page-size":t.MinerListParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.minerTotal},on:{"size-change":t.handleSizeMiner,"current-change":t.handleCurrentMiner,"update:currentPage":function(i){t.currentPageMiner=i},"update:current-page":function(i){t.currentPageMiner=i}}})],1):t._e(),"miningMachine"==t.activeName2?i("section",{staticClass:"miningMachine"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.settlementDate")}},[t._v(t._s(t.$t("mining.settlementDate")))]),i("span",[t._v(t._s(t.$t("mining.dayPower"))+" MH/s")]),i("span",{attrs:{title:t.$t("mining.profit")}},[t._v(t._s(t.$t("mining.profit")))])]),t._l(t.HistoryIncomeData,(function(e,a){return i("li",{key:a,staticClass:"currency-list"},[i("span",{attrs:{title:e.date}},[t._v(t._s(e.date))]),i("span",{attrs:{title:e.mhs}},[t._v(t._s(e.mhs)+" ")]),i("span",{attrs:{title:e.amount}},[t._v(t._s(e.amount)+" "),i("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin.includes("dgb")?"dgb":t.accountItem.coin))])])])}))],2),i("el-pagination",{attrs:{"current-page":t.currentPageIncome,"page-sizes":[10,50,100,400],"page-size":t.IncomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryIncomeTotal},on:{"size-change":t.handleSizeChangeIncome,"current-change":t.handleCurrentChangeIncome,"update:currentPage":function(i){t.currentPageIncome=i},"update:current-page":function(i){t.currentPageIncome=i}}})],1)]):t._e(),"payment"==t.activeName2?i("section",{staticClass:"payment"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("mining.withdrawalTime")}},[t._v(t._s(t.$t("mining.withdrawalTime")))]),i("span",{attrs:{title:t.$t("mining.withdrawalAddress")}},[t._v(t._s(t.$t("mining.withdrawalAddress")))]),i("span",{attrs:{title:t.$t("mining.withdrawalAmount")}},[t._v(t._s(t.$t("mining.withdrawalAmount")))]),i("span",{attrs:{title:t.$t("mining.paymentStatus")}},[t._v(t._s(t.$t("mining.paymentStatus")))])]),t._l(t.HistoryOutcomeData,(function(e){return i("li",{key:e.txid,staticClass:"currency-list"},[i("span",{attrs:{title:e.date}},[t._v(t._s(e.date))]),i("span",{staticStyle:{"text-align":"left"},attrs:{title:e.address}},[t._v(t._s(e.address))]),i("span",{attrs:{title:e.amount}},[t._v(t._s(e.amount)+" "),i("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)","text-transform":"capitalize"}},[t._v(t._s(t.accountItem.coin.includes("dgb")?"dgb":t.accountItem.coin))])]),i("span",{staticClass:"txidBox"},[i("span",{staticStyle:{"font-size":"0.8rem"}},[t._v(t._s(t.$t(t.handelPayment(e.status)))+" ")]),0!==e.status?i("span",{staticClass:"txid"},[i("el-popover",{attrs:{placement:"top",width:"300",trigger:"hover"}},[i("span",{ref:"txidRef",refInFor:!0,attrs:{id:`id${e.txid}`}},[t._v(t._s(e.txid)+" ")]),i("div",{staticStyle:{"text-align":"right",margin:"0"}},[i("el-button",{staticStyle:{"border-radius":"5px"},attrs:{size:"mini"},on:{click:function(i){return t.copyTxid(e.txid)}}},[t._v(t._s(t.$t("personal.copy"))+" ")])],1),i("div",{attrs:{slot:"reference"},on:{click:function(i){return t.handelTxid(e.txid)}},slot:"reference"},[t._v("Txid ")])])],1):t._e()])])}))],2),i("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":t.OutcomeParams.limit,layout:"total, sizes, prev, pager, next, jumper",total:t.HistoryOutcomeTotal},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(i){t.currentPage=i},"update:current-page":function(i){t.currentPage=i}}})],1)]):t._e()])])])])},i.Yp=[]},59171:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",[t.$isMobile?i("section",[i("section",{staticClass:"describeBox"},[i("div",{staticClass:"describe-row"},[i("div",{staticClass:"broadcast-scroll-wrap"},[i("div",{staticClass:"broadcast-scroll-list",style:t.scrollStyle,on:{mouseenter:t.stopScroll,mouseleave:t.startScroll}},t._l(t.broadcastList,(function(e){return i("div",{key:e.id,staticClass:"broadcast-scroll-item"},[i("i",{staticClass:"iconfont icon-tishishuoming"}),i("span",{staticClass:"describeTitle"},[t._v(t._s(t.$t("home.describeTitle")))]),i("span",{staticClass:"describeContent",attrs:{title:e.content}},[t._v(" "+t._s(e.content))]),e.buttonContent&&Array.isArray(e.buttonContent)&&e.buttonContent.length>0?i("div",{staticClass:"button-group"},t._l(e.buttonContent,(function(a,s){return i("span",{key:`button-${e.id}-${s}`,staticClass:"view",attrs:{title:a},on:{click:function(i){return i.stopPropagation(),t.handelJumpBroadcast(e.buttonPath[s])}}},[t._v(" "+t._s(a||t.$t("home.view"))+" ")])})),0):t._e()])})),0)])])]),t._m(0),i("div",{staticClass:"currencySelect"},[i("el-menu",{staticClass:"el-menu-demo",attrs:{mode:"horizontal"}},[i("el-submenu",{staticStyle:{background:"transparent"},attrs:{index:"1"}},[i("template",{slot:"title"},[i("span",{ref:"coinSelect",staticClass:"coinSelect"},[i("img",{attrs:{src:t.currencyPath,alt:"coin"}}),i("span",[t._v(t._s(t.handelLabel(t.params.coin)))])])]),i("ul",{staticClass:"moveCurrencyBox"},t._l(t.currencyList,(function(e){return i("li",{key:e.value,on:{click:function(i){return t.clickCurrency(e)}}},[i("img",{attrs:{src:e.img,alt:"coin",loading:"lazy"}}),i("p",[t._v(t._s(e.label))])])})),0)],2)],1)],1),i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.minerChartLoading,expression:"minerChartLoading"}],staticClass:"miningPoolLeft"},[i("div",{staticClass:"interval"},[i("div",{staticClass:"chartBth"},[i("div",{staticClass:"slideBox"},[i("span",{class:{slideActive:t.powerActive},on:{click:t.handelPower}},[t._v(t._s(t.$t("home.CurrencyPower")))]),i("span",{class:{slideActive:!t.powerActive},on:{click:t.handelMiner}},[t._v(t._s(t.$t("home.networkPower")))])])]),i("div",{staticClass:"timeBox"},t._l(t.intervalList,(function(e){return i("span",{key:e.value,staticClass:"times",class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.intervalChange(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0)]),t.powerActive?i("div",{staticStyle:{width:"100%",height:"100%","min-width":"200px"},attrs:{id:"chart"}}):t._e(),t.powerActive?t._e():i("div",{staticStyle:{width:"100%",height:"100%","min-width":"200px","min-height":"380px"},attrs:{id:"minerChart"}})]),i("div",{staticClass:"miningPoolRight"},[i("ul",{staticClass:"dataBlockBox"},[i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.power")}},[t._v(t._s(t.$t("home.power")))]),i("p",{staticClass:"content",attrs:{title:t.CoinData.poolPower}},[t._v(" "+t._s(t.CoinData.poolPower)+" ")])]),t._m(1)]),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkPower")}},[t._v(" "+t._s(t.$t("home.networkPower"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalPower}},[t._v(" "+t._s(t.CoinData.totalPower)+" ")])]),t._m(2)]):t._e(),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkDifficulty")}},[t._v(" "+t._s(t.$t("home.networkDifficulty"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalDifficulty}},[t._v(" "+t._s(t.CoinData.totalDifficulty)+" ")])]),t._m(3)]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.algorithm")}},[t._v(" "+t._s(t.$t("home.algorithm"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.algorithm}},[t._v(" "+t._s(t.CoinData.algorithm)+" ")])]),t._m(4)]),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.height")}},[t._v(t._s(t.$t("home.height")))]),i("p",{staticClass:"content",attrs:{title:t.CoinData.height}},[t._v(" "+t._s(t.CoinData.height)+" ")])]),t._m(5)]):t._e(),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.coinValue")}},[t._v(" "+t._s(t.$t("home.coinValue"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.price}},[t._v(" "+t._s(t.CoinData.price)+" ")])]),t._m(6)]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.mode")}},[t._v(" "+t._s(t.$t("home.mode"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.model}},[t._v(" "+t._s(t.CoinData.model)+" / "+t._s(t.CoinData.fee)+"% ")])]),t._m(7)]),i("li",{staticClass:"profitCalculation",attrs:{id:"myDiv"},on:{click:t.handelProfitCalculation}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.profitCalculation")}},[t._v(" "+t._s(t.$t("home.profitCalculation"))+" ")])]),t._m(8)]),i("li",{staticClass:"ConnectMiningPool",on:{click:function(i){return t.handelJump("/AccessMiningPool")}}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.ConnectMiningPool")}},[t._v(" "+t._s(t.$t("home.ConnectMiningPool"))+" ")]),i("p",{staticClass:"content"})]),t._m(9)])])]),i("div",{staticClass:"reportBlock"},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"}],staticClass:"reportBlockBox"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title2"},[i("span",{staticClass:"block-Height",attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),i("span",{staticClass:"block-Time",attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))])]),t._l(t.newBlockInfoData,(function(e){return i("li",{key:e.hash,staticClass:"currency-list2",on:{click:t.clickReportBlock}},[i("span",{staticClass:"block-height"},[t._v(t._s(e.height))]),i("span",{staticClass:"block-time"},[t._v(t._s(e.date))])])}))],2)])])]),i("section",{directives:[{name:"show",rawName:"v-show",value:t.showCalculator,expression:"showCalculator"}],staticClass:"Calculator"},[i("div",{staticClass:"prop"},[i("div",{staticClass:"titleBox"},[i("span",[t._v(t._s(t.$t("home.profitCalculation")))]),i("i",{staticClass:"iconfont icon-guanbi close",on:{click:t.handelClose}})]),i("div",{staticClass:"cautionBox"},[i("span",[t._v(t._s(t.$t("home.caution")))]),t._v(" "+t._s(t.$t("home.calculatorTips"))+" ")]),i("div",{staticClass:"selectCurrency"},[i("div",{staticClass:"Currency2"},[i("el-select",{ref:"select",on:{change:function(i){return t.changeSelection(t.value)}},model:{value:t.value,callback:function(i){t.value=i},expression:"value"}},t._l(t.currencyList,(function(e){return i("el-option",{key:e.value,attrs:{label:e.label,value:e.value}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:e.imgUrl}}),i("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(e.label))])])])})),1)],1)]),i("div",{staticClass:"content2"},[i("div",{staticClass:"item"},[i("p",{staticClass:"power"},[t._v(t._s(t.$t("home.Power"))+":")]),i("el-input",{staticClass:"input-with-select",staticStyle:{width:"90%",height:"30px"},on:{change:t.handelCalculation},model:{value:t.inputPower,callback:function(i){t.inputPower=i},expression:"inputPower"}},[i("el-select",{staticStyle:{width:"100px"},attrs:{slot:"append"},on:{change:t.handelCalculation},slot:"append",model:{value:t.select,callback:function(i){t.select=i},expression:"select"}},[i("el-option",{attrs:{label:"MH/s",value:"MH/s"}}),i("el-option",{attrs:{label:"GH/s",value:"GH/s"}}),i("el-option",{attrs:{label:"TH/s",value:"TH/s"}})],1)],1)],1),i("div",{staticClass:"item"},[i("p",{staticClass:"time"},[t._v(t._s(t.$t("home.time"))+":")]),i("el-select",{staticStyle:{width:"90%"},on:{change:t.handelCalculation},model:{value:t.time,callback:function(i){t.time=i},expression:"time"}},t._l(t.selectTime,(function(e){return i("el-option",{key:e.value,attrs:{label:t.$t(e.label),value:e.value}})})),1)],1),i("div",{staticClass:"item"},[i("p",{staticClass:"profit"},[t._v(t._s(t.$t("home.profit"))+":")]),i("el-input",{staticStyle:{width:"90%",height:"20px"},attrs:{disabled:"",placeholder:t.$t("mining.profit")},model:{value:t.profit,callback:function(i){t.profit=i},expression:"profit"}})],1)])])])]):i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.minerChartLoading,expression:"minerChartLoading"}],staticClass:"content"},[t._m(10),i("el-row",[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[i("el-card",[i("div",{staticClass:"monitor-list"},[i("div",{staticClass:"btn left",on:{click:t.scrollLeft}},[i("i",{staticClass:"iconfont icon-icon-prev"})]),i("div",{staticClass:"list-box",attrs:{id:"list-box"}},[i("div",{staticClass:"list",attrs:{id:"list"}},t._l(t.currencyList,(function(e){return i("div",{key:e.value,staticClass:"list-item",on:{click:function(i){return t.clickCurrency(e)}}},[i("img",{attrs:{src:e.img,alt:"coin"}}),i("span",{class:{active:t.itemActive===e.value}},[t._v(" "+t._s(e.label))])])})),0)]),i("div",{staticClass:"btn right",on:{click:t.scrollRight}},[i("i",{staticClass:"iconfont icon-zuoyoujiantou1"})])])])],1)],1),i("section",{staticClass:"describeBox"},[i("div",{staticClass:"describe-row"},[i("div",{staticClass:"broadcast-scroll-wrap"},[i("div",{staticClass:"broadcast-scroll-list",style:t.scrollStyle,on:{mouseenter:t.stopScroll,mouseleave:t.startScroll}},t._l(t.broadcastList,(function(e){return i("div",{key:e.id,staticClass:"broadcast-scroll-item"},[i("i",{staticClass:"iconfont icon-tishishuoming"}),i("span",{staticClass:"describeTitle"},[t._v(t._s(t.$t("home.describeTitle")))]),i("span",{staticClass:"describeContent",attrs:{title:e.content}},[t._v(" "+t._s(e.content))]),e.buttonContent&&Array.isArray(e.buttonContent)&&e.buttonContent.length>0?i("div",{staticClass:"button-group"},t._l(e.buttonContent,(function(a,s){return i("span",{key:`button-${e.id}-${s}`,staticClass:"view",attrs:{title:a},on:{click:function(i){return i.stopPropagation(),t.handelJumpBroadcast(e.buttonPath[s])}}},[t._v(" "+t._s(a||t.$t("home.view"))+" ")])})),0):t._e()])})),0)])])]),i("div",{staticClass:"contentBox"},[i("el-row",[i("div",{staticClass:"currencyDescription2"},[i("section",{staticClass:"miningPoolBox"},[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.minerChartLoading,expression:"minerChartLoading"},{name:"loading-recovery",rawName:"v-loading-recovery",value:{loading:"minerChartLoading",recovery:["getPoolPowerData","fetchNetPower"]},expression:"{\n loading: 'minerChartLoading',\n recovery: ['getPoolPowerData', 'fetchNetPower'],\n }"}],staticClass:"miningPoolLeft"},[i("div",{staticClass:"interval"},[i("div",{staticClass:"chartBth"},[i("div",{staticClass:"slideBox"},[i("span",{class:{slideActive:t.powerActive},on:{click:t.handelPower}},[t._v(t._s(t.$t("home.CurrencyPower")))]),i("span",{class:{slideActive:!t.powerActive},on:{click:t.handelMiner}},[t._v(t._s(t.$t("home.networkPower")))])])])]),i("div",{staticClass:"timeBox",staticStyle:{"text-align":"right","padding-right":"35px","margin-bottom":"8px"}},t._l(t.intervalList,(function(e){return i("span",{key:e.value,staticClass:"times",class:{timeActive:t.timeActive==e.value},on:{click:function(i){return t.intervalChange(e.value)}}},[t._v(t._s(t.$t(e.label)))])})),0),t.powerActive?i("div",{staticStyle:{width:"100%",height:"100%","min-width":"200px"},attrs:{id:"chart"}}):t._e(),t.powerActive?t._e():i("div",{staticStyle:{width:"100%",height:"100%"},attrs:{id:"minerChart"}})])]),i("el-col",{attrs:{xs:24,sm:24,md:24,lg:12,xl:12}},[i("div",{staticClass:"miningPoolRight"},[i("ul",{staticClass:"dataBlockBox"},[i("li",{class:{dataBlock:"enx"!==this.params.coin}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.power")}},[t._v(t._s(t.$t("home.power")))]),i("p",{staticClass:"content",attrs:{title:t.CoinData.poolPower}},[t._v(" "+t._s(t.CoinData.poolPower)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(48370),alt:"power"}})])]),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkPower")}},[t._v(" "+t._s(t.$t("home.networkPower"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalPower}},[t._v(" "+t._s(t.CoinData.totalPower)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(27596),alt:"Computing power"}})])]):t._e(),"enx"!==this.params.coin?i("li",{staticClass:"dataBlock"},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.networkDifficulty")}},[t._v(" "+t._s(t.$t("home.networkDifficulty"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.totalDifficulty}},[t._v(" "+t._s(t.CoinData.totalDifficulty)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(69218),alt:"difficulty"}})])]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.algorithm")}},[t._v(" "+t._s(t.$t("home.algorithm"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.algorithm}},[t._v(" "+t._s(t.CoinData.algorithm)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(66560),alt:"algorithm"}})])]),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.height")}},[t._v(" "+t._s(t.$t("home.height"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.height}},[t._v(" "+t._s(t.CoinData.height)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1708),alt:"height"}})])]):t._e(),"enx"!==this.params.coin?i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.coinValue")}},[t._v(" "+t._s(t.$t("home.coinValue"))+" ")]),i("p",{staticClass:"content",attrs:{title:t.CoinData.price}},[t._v(" "+t._s(t.CoinData.price)+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(37720),alt:"Currency price"}})])]):t._e(),i("li",[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.mode")}},[t._v(" "+t._s(t.$t("home.mode"))+" ")]),i("p",{staticClass:"content",staticStyle:{"font-size":"0.8rem","margin-right":"5px"},attrs:{title:t.CoinData.price}},[t._v(" "+t._s(t.CoinData.model)+" / "+t._s(t.CoinData.fee)+"% ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(74910),alt:"Profit Calculator"}})])]),i("li",{staticClass:"profitCalculation",attrs:{id:"myDiv"},on:{click:t.handelProfitCalculation}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.profitCalculation")}},[t._v(" "+t._s(t.$t("home.profitCalculation"))+" ")])]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(67698),alt:"Profit Calculator"}})])]),i("li",{staticClass:"ConnectMiningPool",on:{click:function(i){return t.handelJump("/AccessMiningPool")}}},[i("div",{staticClass:"text"},[i("p",{attrs:{title:t.$t("home.ConnectMiningPool")}},[t._v(" "+t._s(t.$t("home.ConnectMiningPool"))+" ")]),i("p",{staticClass:"content"})]),i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1717),alt:"Connect to the mining pool"}})])])])])])],1)])])],1),i("el-row",[i("el-col",{attrs:{xs:24,sm:24,md:24,lg:24,xl:24}},[i("div",{staticClass:"reportBlock"},[i("div",{directives:[{name:"loading",rawName:"v-loading",value:t.reportBlockLoading,expression:"reportBlockLoading"},{name:"loading-recovery",rawName:"v-loading-recovery",value:{loading:"reportBlockLoading",recovery:["getBlockInfoData"]},expression:"{\n loading: 'reportBlockLoading',\n recovery: ['getBlockInfoData'],\n }"}],staticClass:"reportBlockBox"},[i("div",{staticClass:"belowTable"},[i("ul",[i("li",{staticClass:"table-title"},[i("span",{attrs:{title:t.$t("home.blockHeight")}},[t._v(t._s(t.$t("home.blockHeight")))]),i("span",{attrs:{title:t.$t("home.blockingTime")}},[t._v(t._s(t.$t("home.blockingTime")))]),i("span",{staticClass:"hash",attrs:{title:t.$t("home.blockHash")}},[t._v(t._s(t.$t("home.blockHash")))]),i("div",{staticClass:"blockRewards",attrs:{title:t.$t("home.blockRewards")}},[t._v(" "+t._s(t.$t("home.blockRewards"))+" ("+t._s(t.handelLabel2(t.params.coin))+") ")])]),t._l(t.newBlockInfoData,(function(e){return i("li",{key:e.hash,staticClass:"currency-list",on:{click:t.clickReportBlock}},[i("span",[t._v(t._s(e.height))]),i("span",[t._v(t._s(e.date))]),i("span",{staticClass:"hash",attrs:{title:e.hash}},[t._v(t._s(e.hash))]),i("span",{staticClass:"reward",attrs:{title:e.reward}},[t._v(t._s(e.reward))])])}))],2)])])])])],1),i("section",{directives:[{name:"show",rawName:"v-show",value:t.showCalculator,expression:"showCalculator"}],staticClass:"Calculator"},[i("div",{staticClass:"prop"},[i("div",{staticClass:"titleBox"},[i("span",[t._v(t._s(t.$t("home.profitCalculation")))]),i("i",{staticClass:"iconfont icon-guanbi close",on:{click:t.handelClose}})]),i("div",{staticClass:"cautionBox"},[i("span",[t._v(t._s(t.$t("home.caution")))]),t._v(" "+t._s(t.$t("home.calculatorTips"))+" ")]),i("div",{staticClass:"selectCurrency"},[i("div",{staticClass:"Currency2"},[i("el-select",{ref:"select",on:{change:function(i){return t.changeSelection(t.value)}},model:{value:t.value,callback:function(i){t.value=i},expression:"value"}},t._l(t.currencyList,(function(e){return i("el-option",{directives:[{name:"show",rawName:"v-show",value:"enx"!==e.value,expression:"item.value !== 'enx'"}],key:e.value,attrs:{label:e.label,value:e.value}},[i("div",{staticStyle:{display:"flex","align-items":"center"}},[i("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:e.imgUrl}}),i("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(e.label))])])])})),1)],1)]),i("div",{staticClass:"content2"},[i("div",{staticClass:"titleS"},[i("span",{staticClass:"power"},[t._v(t._s(t.$t("home.Power")))]),i("span",{staticClass:"time"},[t._v(t._s(t.$t("home.time")))]),i("span",{staticClass:"profit"},[t._v(t._s(t.$t("home.profit")))])]),i("div",{staticClass:"computingPower"},[i("el-input",{staticClass:"input-with-select",staticStyle:{width:"40%",height:"50px"},on:{change:t.handelCalculation},model:{value:t.inputPower,callback:function(i){t.inputPower=i},expression:"inputPower"}},[i("el-select",{staticStyle:{width:"100px"},attrs:{slot:"append"},on:{change:t.handelCalculation},slot:"append",model:{value:t.select,callback:function(i){t.select=i},expression:"select"}},[i("el-option",{attrs:{label:"MH/s",value:"MH/s"}}),i("el-option",{attrs:{label:"GH/s",value:"GH/s"}}),i("el-option",{attrs:{label:"TH/s",value:"TH/s"}})],1)],1),i("el-select",{staticStyle:{width:"15%"},on:{change:t.handelCalculation},model:{value:t.time,callback:function(i){t.time=i},expression:"time"}},t._l(t.selectTime,(function(e){return i("el-option",{key:e.value,attrs:{label:t.$t(e.label),value:e.value}})})),1),i("el-input",{staticStyle:{width:"40%",height:"50px"},attrs:{disabled:"",placeholder:t.$t("mining.profit")},model:{value:t.profit,callback:function(i){t.profit=i},expression:"profit"}})],1)])])])],1)])},i.Yp=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgTop"},[i("img",{attrs:{src:e(27034),alt:"mining",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(48370),alt:"power",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(27596),alt:"Computing power",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(69218),alt:"difficulty",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(66560),alt:"algorithm"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1708),alt:"height",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(37720),alt:"Currency price",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(74910),alt:"Currency price",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(67698),alt:"Profit Calculator",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"imgIcon"},[i("img",{attrs:{src:e(1717),alt:"Connect to the mining pool",loading:"lazy"}})])},function(){var t=this,i=t._self._c;return i("div",{staticClass:"bgBox"},[i("img",{staticClass:"bgImg",attrs:{src:e(22345),alt:"mining",loading:"lazy"}})])}]},71133:function(t,i,e){i.Yp=i.XX=void 0;i.XX=function(){var t=this,i=t._self._c;return i("div",{staticClass:"wscn-http404-container"},[i("div",{staticClass:"wscn-http404"},[t._m(0),i("div",{staticClass:"bullshit"},[i("div",{staticClass:"bullshit__oops"},[t._v(" 404 ")]),i("div",{staticClass:"bullshit__headline"},[t._v(" "+t._s(t.$t(t.message))+" ")]),i("div",{staticClass:"bullshit__info"},[t._v(" "+t._s(t.$t("user.noPage"))+" ")])])])])},i.Yp=[function(){var t=this,i=t._self._c;return i("div",{staticClass:"pic-404"},[i("img",{staticClass:"pic-404__parent",attrs:{src:e(22792),alt:"404"}}),i("img",{staticClass:"pic-404__child left",attrs:{src:e(950),alt:"404"}}),i("img",{staticClass:"pic-404__child mid",attrs:{src:e(950),alt:"404"}}),i("img",{staticClass:"pic-404__child right",attrs:{src:e(950),alt:"404"}})])}]},88406:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(38927),s=e(18163),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"79fdbdb8",null),l=r.exports},91064:function(t,i,e){e.r(i),e.d(i,{__esModule:function(){return s.B},default:function(){return l}});var a=e(71133),s=e(94729),n=s.A,o=e(81656),r=(0,o.A)(n,a.XX,a.Yp,!1,null,"a5129446",null),l=r.exports},93852:function(t,i,e){var a=e(3999)["default"];Object.defineProperty(i,"B",{value:!0}),i.A=void 0;var s=a(e(37320)),n=a(e(45018));i.A={components:{HorizontalBroadcast:n.default},metaInfo:{meta:[{name:"keywords",content:"M2Pool 矿池,首页,热门币种挖矿,稳定收益,Home,Popular Coins Mining,Stable Income Permission Levels,Account Privileges,Member Level Rates"},{name:"description",content:window.vm.$t("seo.Home")}]},mixins:[s.default]}},94729:function(t,i){Object.defineProperty(i,"B",{value:!0}),i.A=void 0;i.A={name:"Page404",computed:{message(){return"user.canTFind"}}}}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/app-f035d474.908536ee.js b/mining-pool/public/dist/js/app-f035d474.908536ee.js new file mode 100644 index 0000000..eb9c3de --- /dev/null +++ b/mining-pool/public/dist/js/app-f035d474.908536ee.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[722],{4572:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(51490),i=s(52425),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"8c33fe2a",null),c=l.exports},5623:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(22617));e.A={mixins:[i.default]}},7267:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(68442),i=s(5623),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"5cdac29b",null),c=l.exports},7887:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"miningReport"},[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("h2",[t._v(t._s(t.$t("personal.miningReport")))])]),e("section",{staticClass:"contentBox"},[e("div",{staticClass:"block"},[e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.2em"}},[t._v(t._s(t.$t("personal.weekly")))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t("personal.weeklyReportExplanation"))),e("span",{staticClass:"see"},[t._v(t._s(t.$t("personal.weeklyReportTemplate")))])])])]),e("el-button",{staticClass:"bth",on:{click:t.handelWeek}},[t._v(t._s(t.$t("personal.add")))])],1),e("div",{staticClass:"block"},[e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.2em"}},[t._v(t._s(t.$t("personal.monthlyReport")))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t("personal.monthlyReportExplanation"))),e("span",{staticClass:"see"},[t._v(t._s(t.$t("personal.monthlyReportTemplate")))])])])]),e("el-button",{staticClass:"bth",on:{click:t.handelMonth}},[t._v(t._s(t.$t("personal.add")))])],1)]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%"},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.addWeeklyReport")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.weeklyReportLanguage")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.weeklyReportCurrency")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.weeklyReportAccount")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em","margin-top":"30PX"},attrs:{type:"primary"},on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("personal.Submit")))])],1)]),e("el-dialog",{attrs:{visible:t.monthlyReport,width:"45%"},on:{"update:visible":function(e){t.monthlyReport=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.addMonthlyReport")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.monthlyReportLanguage")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.monthlyReportCurrency")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.monthlyReportAccount")))]),e("el-select",{attrs:{placeholder:t.$t("personal.select")},model:{value:t.currency,callback:function(e){t.currency=e},expression:"currency"}},t._l(t.currencyList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em","margin-top":"30PX"},attrs:{type:"primary"},on:{click:function(e){t.monthlyReport=!1}}},[t._v(t._s(t.$t("personal.Submit")))])],1)])],1)},e.Yp=[]},10895:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(59553));e.A={mixins:[i.default]}},22617:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116),s(61701);a(s(88406));var i=s(46508);e["default"]={data(){return{activeName:"mining",dialogVisible:!1,labelPosition:"top",formLabelAlign:{},currencyList:[],Search:"",value:"https://www.f2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109",currency:"mona",readOnlyList:[],checkAll:!1,checkedItems:[],isIndeterminate:!0,selectedIndices:[],params:{account:"",coin:"",config:"",remark:"",lang:"zh"},listParams:{page:1,limit:10},checked:"",checkList:["1"],miningAccountList:[],newMiningAccountList:[],currentPage:1,TotalSize:0,establishLoading:!1,dialogData:{account:["nexa","a21miner"],remark:"566",config:["1","2"]},modifyDialogVisible:!1,dialogCheckList:[],modifyParams:{key:"",remark:"",config:""},modifyLoading:!1,jurisdictionList:[{value:"1",label:"mining.miner"},{value:"2",label:"mining.profit"},{value:"3",label:"mining.payment"}],UrlListLoading:!1,UrlListParams:{page:1,limit:10},dialogTitle:""}},watch:{miningAccountList:{handler(t){this.newMiningAccountList=this.miningAccountList.map((t=>({value:t.coin,img:t.img,label:t.title,children:t.children.map((t=>({value:t.account,label:t.account,id:t.id})))})))},deep:!0,immediate:!0}},mounted(){let t=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(t),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let t=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(t)})),this.newMiningAccountList=this.miningAccountList.map((t=>({value:t.coin,img:t.img,label:t.title,children:t.children.map((e=>({value:e.account,label:e.account,id:e.id,img:t.img})))}))),this.fetchUrlList(this.UrlListParams),this.registerRecoveryMethod("fetchUrlList",this.UrlListParams)},methods:{async fetchHtmlUrl(t){this.setLoading("establishLoading",!0);const e=await(0,i.getHtmlUrl)(t);e&&200==e.code&&(this.fetchUrlList(this.UrlListParams),this.dialogVisible=!1),this.setLoading("establishLoading",!1)},async fetchUrlList(t){this.setLoading("UrlListLoading",!0);const e=await(0,i.getUrlList)(t);console.log(e,666),this.readOnlyList=e.rows,this.TotalSize=e.total,this.setLoading("UrlListLoading",!1)},async fetchUrlInfo(t){const e=await(0,i.getUrlInfo)(t);console.log(e),e&&200==e.code&&(this.dialogData=e.data,this.modifyDialogVisible=!0,this.dialogTitle=`${this.dialogData.label}/${this.dialogData.account}`)},async fetchChangeUrlInfo(t){this.setLoading("modifyLoading",!0);const e=await(0,i.getChangeUrlInfo)(t);console.log(e),e&&200==e.code&&(this.fetchUrlList(this.UrlListParams),this.modifyDialogVisible=!1,console.log("修改成功")),this.setLoading("modifyLoading",!1)},async fetchDelete(t){const e=await(0,i.getDelPage)(t);console.log(e),e&&200==e.code&&(this.checkedItems=[],this.fetchUrlList(this.UrlListParams))},addTo(){this.dialogVisible=!0},handleChange(t){this.params.account=t[1],this.params.coin=t[0]},confirmAddition(){this.params.account&&this.params.coin?(console.log(this.checkList.length,6666),this.checkList.length<1?this.$message({showClose:!0,message:this.$t("personal.selectPermissions"),type:"error"}):(this.params.config=this.checkList.join(","),this.params.lang=this.$i18n.locale,this.fetchHtmlUrl(this.params))):this.$message({showClose:!0,message:this.$t("personal.accountSelection"),type:"error"})},modifyInfo(){this.dialogData.config.length<1?this.$message({showClose:!0,message:this.$t("personal.selectPermissions"),type:"error"}):(this.modifyParams.remark=this.dialogData.remark,this.modifyParams.config=this.dialogData.config.join(","),this.fetchChangeUrlInfo(this.modifyParams))},handleClose(){for(const t in this.params)this.params[t]="";this.checkList=["1"]},handleCheckAllChange(t){console.log(this.checkAll,t,6565),this.checkedItems=t?this.readOnlyList.map((t=>t.key)):[],this.isIndeterminate=!1},handleSingleCheckChange(t){console.log(t,"value");let e=t.length;this.checkAll=e===this.readOnlyList.length,this.isIndeterminate=e>0&&et==e.value));try{return e.value?e.label:""}catch{console.log(111)}},clickCopy(t){var e=document.createElement("input");e.value=t.url,document.body.appendChild(e);try{e.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(s){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(e)?document.body.removeChild(e):console.log("临时输入框不是 body 的子节点,无法移除。")}}}}},36155:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(63222),i=s(95525),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"164396ae",null),c=l.exports},40692:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(81148),s(22489),s(20116),s(61701);var a=s(6803),i=s(47149),n=s(82908);e["default"]={data(){return{activeName:"mining",dialogVisible:!1,labelPosition:"top",formLabelAlign:{},currencyList:[],walletDialogVisible:!1,accountList:[],params:{account:"",miningPool:"",currency:"",remarks:""},checked:"",checkAll:!1,checkedItems:[],isIndeterminate:!0,selectedIndices:[],WalletAddressParams:{ma:"",balance:"",coin:"",active:"0",amount:"0",remarks:"",gCode:""},AccountParams:{coin:"",ma:"",remarks:"",balance:"",code:""},options:[{value:"1",label:"personal.no"},{value:"0",label:"personal.yes"}],MiningLoading:!1,paymentSettingsData:{ma:"",balance:"",active:"",amount:""},deleteAccountDialog:!1,deleteAccount:"",confirmBindingLoading:!1,amountDisabled:!1,isItBound:!1,securityLoading:!1,deleteGCode:"",dialogVerification:!1,addMinerLoading:!1,screenCurrency:"",newAccountList:[],quotaList:[{value:"nexa",amount:1e4},{value:"grs",amount:1},{value:"mona",amount:1},{value:"dgbs",amount:1},{value:"dgbq",amount:1},{value:"dgbo",amount:1},{value:"rxd",amount:100},{value:"alph",amount:1}],amount:1,lang:this.$i18n.locale}},mounted(){this.fetchIfBind(),this.fetchAccountList(),this.registerRecoveryMethod("fetchIfBind",""),this.registerRecoveryMethod("fetchAccountList",""),this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.dialogVisible&&this.$refs.select.$el.children[0].children[0].setAttribute("style","background:#ffff;background-size: 20PX 20PX;color:#333;padding-left: 30PX;")},methods:{async fetchIfBind(t){this.setLoading("securityLoading",!0);const e=await(0,a.getIfBind)(t);e&&200===e.code&&(e.data?this.isItBound=!0:e.data||(this.isItBound=!1),this.$route.query.id&&this.$route.query.coin&&this.isItBound?(this.fetchMinerAccountBalance({id:this.$route.query.id}),this.WalletAddressParams.coin=this.$route.query.coin,this.WalletAddressParams.ma=this.$route.query.ma):this.$route.query.id&&this.$route.query.coin&&!this.isItBound&&(this.dialogVerification=!0)),this.setLoading("securityLoading",!1)},async fetchCheck(t){this.setLoading("addMinerLoading",!0);const e=await(0,a.getCheck)(t);e||this.setLoading("addMinerLoading",!1),e&&200===e.code?this.fetchAddMinerAccount(this.AccountParams):801===e.code?(this.$message({message:this.$t("personal.duplicateAccount"),type:"error",showClose:!0}),this.setLoading("addMinerLoading",!1)):802===e.code&&(this.$message({message:this.$t("personal.invalidAddress"),type:"error",showClose:!0}),this.setLoading("addMinerLoading",!1))},async fetchCheckBalance(t){this.setLoading("confirmBindingLoading",!0);const e=await(0,a.getCheckBalance)(t);e&&e.data?this.fetchWalletAddress(this.WalletAddressParams):this.$message({message:this.$t("personal.invalidAddress"),showClose:!0,type:"error"}),this.setLoading("confirmBindingLoading",!1)},async fetchAccountGradeList(){const t=await(0,i.getAccountGradeList)();this.$addStorageEvent(1,"miningAccountList",JSON.stringify(t.data))},async fetchCheckAccount(t){const e=await(0,a.getCheckAccount)(t);e&&200==e.code&&(e.data?this.fetchAddMinerAccount(this.AccountParams):this.$message({message:this.$t("personal.duplicateAccount"),type:"error",showClose:!0}))},async fetchMinerAccountBalance(t){this.setLoading("MiningLoading",!0);const e=await(0,a.getMinerAccountBalance)(t);e&&200==e.code&&(this.walletDialogVisible=!0,this.paymentSettingsData=e.data),"1"==this.paymentSettingsData.active||"否"==this.paymentSettingsData.active||"No"==this.paymentSettingsData.active?this.amountDisabled=!0:this.amountDisabled=!1,this.paymentSettingsData.active="1"==this.paymentSettingsData.active?this.$t("personal.no"):this.$t("personal.yes"),this.paymentSettingsData.amount=this.paymentSettingsData.amount?this.paymentSettingsData.amount:"0",this.setLoading("MiningLoading",!1)},async fetchDelMinerAccount(t){this.setLoading("MiningLoading",!0);const e=await(0,a.getDelMinerAccount)(t);e&&200==e.code&&(this.fetchAccountGradeList(),this.fetchAccountList(),this.checkedItems=[],this.deleteAccountDialog=!1),this.setLoading("MiningLoading",!1)},async fetchAccountList(t){this.setLoading("MiningLoading",!0);const e=await(0,a.getAccountList)(t);this.accountList=e.data,console.log("请求成功,",e),this.newAccountList=this.accountList,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)),this.setLoading("MiningLoading",!1)},async fetchWalletAddress(t){const e=await(0,a.getAddBalace)(t);if(e&&200==e.code){this.$message({message:e.msg,type:"success",showClose:!0}),this.walletDialogVisible=!1;for(const t in this.WalletAddressParams)this.WalletAddressParams[t]=""}this.fetchAccountList()},async fetchAddMinerAccount(t){this.setLoading("addMinerLoading",!0);const e=await(0,a.getAddMinerAccount)(t);e&&200==e.code&&(this.$message({message:e.msg,type:"success",showClose:!0}),this.dialogVisible=!1,this.AccountParams.ma="",this.AccountParams.coin="",this.AccountParams.remarks="",this.AccountParams.balance=""),this.fetchAccountList(),this.fetchAccountGradeList(),this.setLoading("addMinerLoading",!1)},handleCheckAllChange(t){this.checkedItems=t?this.accountList.map((t=>t.id)):[],this.isIndeterminate=!1},handleSingleCheckChange(t){this.checkedItems.every((t=>t))&&this.checkedItems.length==this.accountList.length?this.checkAll=!0:this.checkAll=!1,this.checkedItems[t]?this.selectedIndices.push(t):this.selectedIndices=this.selectedIndices.filter((e=>e!==t))},handelActive(){0==this.paymentSettingsData.active?this.amountDisabled=!1:1==this.paymentSettingsData.active&&(this.amountDisabled=!0)},closeDialog(){this.walletDialogVisible=!1,this.WalletAddressParams.gCode=""},addTo(){this.isItBound?this.dialogVisible=!0:this.dialogVerification=!0},confirmAdd:(0,n.Debounce)((function(){if(!this.AccountParams.ma)return void this.$message({message:this.$t("personal.accountNumber"),type:"error",showClose:!0});if(!this.AccountParams.balance)return void this.$message({message:this.$t("personal.inputWalletAddress"),type:"error",showClose:!0});if(!this.AccountParams.coin)return void this.$message({message:this.$t("personal.selectCurrency"),type:"error",showClose:!0});if(!this.AccountParams.code&&this.isItBound)return void this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"});const t=/^[a-zA-Z_][a-zA-Z0-9_]{3,23}$/,e=t.test(this.AccountParams.ma);e?this.fetchCheck({coin:this.AccountParams.coin,ma:this.AccountParams.ma,balance:this.AccountParams.balance}):this.$message({message:this.$t("personal.accountFormat"),type:"error",showClose:!0})}),200),handelAddClose(){for(let t in this.AccountParams)this.AccountParams[t]="";this.$refs.select.$el.children[0].children[0].setAttribute("style","background:#ffff;background-size: 20PX 20PX;color:#333;padding-left: 30PX;")},deleteSelected(){this.checkedItems.join(",");this.deleteAccount=this.accountList.filter((t=>this.checkedItems.includes(t.id))).map((t=>t.ma)),this.deleteAccount=this.deleteAccount.join("、"),this.isItBound?this.deleteAccountDialog=!0:this.dialogVerification=!0},confirmDelete(){this.deleteGCode||!this.isItBound?this.fetchDelMinerAccount({id:this.checkedItems.join(","),gCode:this.deleteGCode}):this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"})},handleCheckedCitiesChange(t){let e=t.length;this.checkAll=e===this.accountList.length,this.isIndeterminate=e>0&&et.value===this.WalletAddressParams.coin));t&&Number(this.paymentSettingsData.amount){"NavigationDuplicated"!==t.name&&console.error("路由跳转失败:",t)}))},closeDeleteDialog(){this.deleteGCode=""},changeSelection(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],a=t.value;e===a&&this.$refs.select.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}},changeScreen(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],a=t.value;e===a&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}t?this.newAccountList=this.accountList.filter((e=>e.coin==t)):(this.newAccountList=this.accountList,this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url(``) no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 8PX;"))},clickCopy(t){var e=document.createElement("input");e.value=t.addr,document.body.appendChild(e);try{e.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(s){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(e)?document.body.removeChild(e):console.log("临时输入框不是 body 的子节点,无法移除。")}},jumpAlerts(t){this.$message({showClose:!0,message:this.$t("alerts.turnOffReminder"),type:"error"})},handelQuotaList(t){try{let e=this.quotaList.find((e=>e.value==t));if(!e)return 0;this.amount=e.amount}catch(e){console.log(e)}}}}},51490:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.securityLoading,expression:"securityLoading"}],staticClass:"personalMiningBox"},[t.$isMobile?e("section",{staticClass:"Mining"},[e("div",{staticClass:"Delete"},[e("el-button",{staticClass:"delBth",attrs:{disabled:!this.checkedItems[0]},on:{click:t.deleteSelected}},[t._v(t._s(t.$t("personal.delete")))]),e("el-button",{staticClass:"bth",on:{click:t.addTo}},[t._v(t._s(t.$t("personal.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("personal.miningAccount")}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("span",{staticClass:"currency",attrs:{title:t.$t("personal.currency")}},[t._v(t._s(t.$t("personal.currency")))]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.newAccountList,(function(s){return e("el-collapse-item",{key:s.account,attrs:{name:s.hash}},[e("template",{slot:"title"},[e("el-checkbox-group",{staticClass:"checkbox",on:{change:t.handleCheckedCitiesChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"account"},[t._v(" "+t._s(s.ma))]),e("span",{staticClass:"currency2",attrs:{title:s.pool}},[e("img",{staticStyle:{width:"20PX"},attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.pool)+" ")]),e("span",{staticClass:"operation",on:{click:function(e){return t.bindWallet(s)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("span",{staticClass:"police",on:{click:function(e){return t.jumpAlerts(s)}}},[t._v(" "+t._s(t.$t("alerts.alarmMove")))])])],1),e("section",{staticClass:"content"},[e("div",[e("p",[t._v(t._s(t.$t("personal.miningAccount"))+" :")]),e("p",[t._v(t._s(s.ma))])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.currency"))+" :")]),e("p",[t._v(t._s(s.pool)+" ")])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.walletAddress"))+" :")]),e("p",[t._v(t._s(s.addr)+" "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(s)}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.remarks"))+" :")]),e("p",[t._v(t._s(s.remark))])])])],2)})),1)],1)]):e("section",{staticStyle:{padding:"18PX"}},[e("el-row",[e("div",{staticClass:"headTitle"},[e("el-col",{attrs:{xs:24,sm:24,md:16,lg:18,xl:18}},[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-kuanggong1"}),e("h2",[t._v(t._s(t.$t("personal.miningAccount")))]),e("div",{staticClass:"inputItem"},[e("el-select",{ref:"screen",staticClass:"input",attrs:{clearable:"",size:"mini",placeholder:t.$t("personal.screen")},on:{change:function(e){return t.changeScreen(t.screenCurrency)}},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20PX"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5PX"}},[t._v(" "+t._s(s.label))])])])})),1)],1)])]),e("el-col",{attrs:{xs:24,sm:24,md:8,lg:6,xl:6}},[e("div",{staticClass:"Delete"},[e("el-button",{staticClass:"delBth",attrs:{disabled:!this.checkedItems[0]},on:{click:t.deleteSelected}},[t._v(t._s(t.$t("personal.delete")))]),e("el-button",{staticClass:"bth",on:{click:t.addTo}},[t._v(t._s(t.$t("personal.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1)])],1)]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("personal.miningAccount")}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("span",{staticClass:"currency",attrs:{title:t.$t("personal.currency")}},[t._v(t._s(t.$t("personal.currency")))]),e("span",{staticClass:"addr",attrs:{title:t.$t("personal.walletAddress")}},[t._v(t._s(t.$t("personal.walletAddress")))]),e("span",{staticClass:"remarks",attrs:{title:t.$t("personal.remarks")}},[t._v(t._s(t.$t("personal.remarks")))]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("ul",{staticClass:"tabelList"},t._l(t.newAccountList,(function(s){return e("li",{key:s.account},[e("el-checkbox-group",{staticClass:"checkbox",on:{change:t.handleCheckedCitiesChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("span",{staticClass:"miningAccount",attrs:{title:s.ma}},[t._v(" "+t._s(s.ma))]),e("span",{staticClass:"currency",attrs:{title:s.pool}},[e("img",{staticStyle:{width:"20PX"},attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.pool)+" ")]),e("span",{staticClass:"addr",attrs:{title:s.addr}},[t._v(t._s(s.addr)+" ")]),e("span",{staticClass:"remarks",attrs:{title:s.remark}},[t._v(t._s(s.remark))]),e("div",{staticClass:"operationBox"},[e("span",{staticClass:"operation",on:{click:function(e){return t.bindWallet(s)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("span",{staticClass:"alerts"})])],1)})),0)])],1),e("el-dialog",{attrs:{visible:t.dialogVerification,width:"30%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVerification=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"verificationPrompt"},[t._v(t._s(t.$t("personal.enableVerificationDescription")))]),e("el-button",{staticClass:"dialogBth",staticStyle:{padding:"10PX 10%"},attrs:{type:"primary"},on:{click:t.jumpVerification}},[t._v(t._s(t.$t("personal.goOpenIt")))])],1)]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handelAddClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.addMiningPool")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.accountName")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.account")},model:{value:t.AccountParams.ma,callback:function(e){t.$set(t.AccountParams,"ma",e)},expression:"AccountParams.ma"}}),e("p",{staticClass:"accountFormat"},[t._v(t._s(t.$t("personal.accountFormat")))])],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.walletAddress")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.AccountParams.balance,callback:function(e){t.$set(t.AccountParams,"balance",e)},expression:"AccountParams.balance"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(" "+t._s(t.$t("personal.poolSelection")))]),e("el-select",{ref:"select",staticClass:"input",attrs:{placeholder:t.$t("personal.select")},on:{change:function(e){return t.changeSelection(t.AccountParams.coin)}},model:{value:t.AccountParams.coin,callback:function(e){t.$set(t.AccountParams,"coin",e)},expression:"AccountParams.coin"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20PX"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5PX"}},[t._v(" "+t._s(s.label))])])])})),1)],1),t.isItBound?e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.AccountParams.code,callback:function(e){t.$set(t.AccountParams,"code",e)},expression:"AccountParams.code"}})],1):t._e(),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks2")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.AccountParams.remarks,callback:function(e){t.$set(t.AccountParams,"remarks",e)},expression:"AccountParams.remarks"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmAdd}},[t._v(t._s(t.$t("personal.determine")))])],1)]),e("el-dialog",{attrs:{visible:t.walletDialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.walletDialogVisible=e},close:t.closeDialog}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.bindAddress")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.walletAddress")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.inputWalletAddress")},model:{value:t.paymentSettingsData.balance,callback:function(e){t.$set(t.paymentSettingsData,"balance",e)},expression:"paymentSettingsData.balance"}})],1)]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.minimumPaymentAmount")))]),e("el-input",{staticClass:"input",attrs:{disabled:t.amountDisabled,placeholder:t.$t("personal.pleaseEnter")},model:{value:t.paymentSettingsData.amount,callback:function(e){t.$set(t.paymentSettingsData,"amount",e)},expression:"paymentSettingsData.amount"}}),e("p",[t._v(t._s(t.$t("course.amount"))+": "+t._s(t.amount))])],1)]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.automaticWithdrawal")))]),e("el-select",{staticClass:"input",attrs:{placeholder:t.$t("personal.select")},on:{change:t.handelActive},model:{value:t.paymentSettingsData.active,callback:function(e){t.$set(t.paymentSettingsData,"active",e)},expression:"paymentSettingsData.active"}},t._l(t.options,(function(s){return e("el-option",{key:s.value,attrs:{label:t.$t(s.label),value:s.value}})})),1)],1)]),e("div",{staticClass:"inputBox"},[t.isItBound?e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.WalletAddressParams.gCode,callback:function(e){t.$set(t.WalletAddressParams,"gCode",e)},expression:"WalletAddressParams.gCode"}})],1):t._e()]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.paymentSettingsData.remark,callback:function(e){t.$set(t.paymentSettingsData,"remark",e)},expression:"paymentSettingsData.remark"}})],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em"},attrs:{loading:t.confirmBindingLoading},on:{click:t.confirmBinding}},[t._v(t._s(t.$t("personal.confirmSubmit")))])],1)]),e("el-dialog",{attrs:{visible:t.deleteAccountDialog,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.deleteAccountDialog=e},close:t.closeDeleteDialog}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("h4",[t._v(t._s(t.$t("personal.deleteConfirmation")))]),e("p",[t._v(t._s(t.$t("personal.miningAccount"))+": "+t._s(t.deleteAccount))])])]),e("div",{staticClass:"inputBox",staticStyle:{"margin-top":"10PX"}},[t.isItBound?e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.deleteGCode,callback:function(e){t.deleteGCode=e},expression:"deleteGCode"}})],1):t._e()]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em"},attrs:{loading:t.MiningLoading,type:"primary"},on:{click:t.confirmDelete}},[t._v(t._s(t.$t("personal.determine")))])],1)])],1)},e.Yp=[]},52425:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(40692));e.A={mixins:[i.default]}},53695:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114);var a=s(6803),i=s(49704);s(47149),e["default"]={data(){return{dialogVisible:!1,verificationDialogVisible:!1,checked:"",confirmationVerification:!1,maintainDialogVisible:!1,deleteAccountDialog:!1,params:{gCode:"",eCode:"",pwd:"",secret:""},btnDisabled:!1,btnDisabledClose:!1,btnDisabledPassword:!1,bthText:"user.obtainVerificationCode",bthTextClose:"user.obtainVerificationCode",bthTextPassword:"user.obtainVerificationCode",time:"",clauseList:[{title:"进行帐户删除操作将发生什么?",children:[{value:"1",label:"此帐户及其所属子帐户将无法继续使用。"},{value:"2",label:"此帐户及其子帐户的数据将按照我们的数据保留政策被删除。一些情况将不受此限。"},{value:"3",label:"帐户被永久删除后,您将无法找回帐户。"}]},{title:"在申请删除此帐户之前,请您:",children:[{value:"1",label:"在电脑端访问收益页面,导出您需要的收益记录进行备份。"},{value:"2",label:"仔细检查每个帐户、子帐户的余额。"},{value:"3",label:"在矿机及软件的挖矿配置中,确定已删除此帐户名及其子帐户名。"},{value:"4",label:"确定已经在所有设备登出此帐户。"}]}],reasonList:[],value:"",isItBound:!1,bindInfo:{},BindInfoLoading:!1,changePasswordDialogVisible:!1,securityLoading:!1,changePasswordParams:{password:"",updatePwdCode:""},newPassword:"",ResetPwdLoading:!1,closeDialogVisible:!1,closeLoading:!1,closeParams:{gCode:"",eCode:""},countDownTime:60,timer:null,countDownTimeClose:60,timerclose:null,countDownTimePassword:60,timerPassword:null,lang:"zh"}},computed:{countDown(){Math.floor(this.countDownTime/60);const t=this.countDownTime%60,e=t<10?"0"+t:t;return`${e}`},countDownClose(){Math.floor(this.countDownTimeClose/60);const t=this.countDownTimeClose%60,e=t<10?"0"+t:t;return`${e}`},countDownPassword(){Math.floor(this.countDownTimePassword/60);const t=this.countDownTimePassword%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("security_time")&&(this.countDownTime=Number(window.sessionStorage.getItem("security_time")),this.startCountDown(),this.btnDisabled=!0,this.bthText="user.again"),window.sessionStorage.getItem("close_time")&&(this.countDownTimeClose=Number(window.sessionStorage.getItem("close_time")),this.startCountDownClose(),this.btnDisabledClose=!0,this.bthTextClose="user.again"),window.sessionStorage.getItem("Password_time")&&(this.countDownTimePassword=Number(window.sessionStorage.getItem("Password_time")),this.startCountDownPassword(),this.btnDisabledPassword=!0,this.bthTextPassword="user.again")},mounted(){this.lang=this.$i18n.locale,this.fetchIfBind(),this.registerRecoveryMethod("fetchIfBind",""),this.$route.params.active&&this.handelVerification()},methods:{async fetchIfBind(t){this.setLoading("securityLoading",!0);const e=await(0,a.getIfBind)(t);e&&200===e.code&&(e.data?this.isItBound=!0:e.data||(this.isItBound=!1)),this.setLoading("securityLoading",!1)},async fetchBindInfo(t){this.setLoading("BindInfoLoading",!0);const e=await(0,a.getBindInfo)(t);console.log(e,"绑定信息"),e&&200===e.code&&(this.bindInfo=e.data,this.verificationDialogVisible=!0,this.dialogVisible=!1),this.setLoading("BindInfoLoading",!1)},async fetchBindGoogle(t){this.setLoading("BindInfoLoading",!0);const e=await(0,a.getBindGoogle)(t);if(console.log(e,"绑定"),e&&200===e.code){this.isItBound=!0,this.$message({message:this.$t("user.verificationEnabled"),type:"success",showClose:!0}),this.verificationDialogVisible=!1,this.confirmationVerification=!1;for(const t in this.params)this.params[t]=""}this.setLoading("BindInfoLoading",!1)},async fetchBindCode(t){const e=await(0,a.getBindCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.verificationCodeSuccessful"),type:"success",showClose:!0})},async fetchResetPwd(t){this.setLoading("ResetPwdLoading",!0);const e=await(0,a.getUpdatePwd)(t);e&&200===e.code&&(this.$message({message:this.$t("user.modifiedSuccessfully"),type:"success",showClose:!0}),this.changePasswordDialogVisible=!1,this.dialogVisible=!1,this.verificationDialogVisible=!1,localStorage.removeItem("token"),this.$router.push(`/${lang}/login`)),this.setLoading("ResetPwdLoading",!1)},async fetchResetPwdCode(t){const e=await(0,a.getUpdatePwdCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},async fetchCloseStepTwo(t){this.setLoading("closeLoading",!0);const e=await(0,a.getCloseStepTwo)(t);if(e&&200===e.code){this.$message({message:this.$t("personal.Closed"),type:"success",showClose:!0}),this.verificationDialogVisible=!1,this.confirmationVerification=!1,this.closeDialogVisible=!1,this.fetchIfBind();for(const t in this.closeParams)this.closeParams[t]=""}this.setLoading("closeLoading",!1)},async fetchCloseCode(t){const e=await(0,a.getCloseCode)(t);e&&200===e.code&&this.$message({message:this.$t("user.codeSuccess"),type:"success",showClose:!0})},changePassword(){this.changePasswordDialogVisible=!0},jumpVerification(){this.fetchBindInfo()},nextStep(){this.checked?(this.verificationDialogVisible=!1,this.maintainDialogVisible=!1,this.confirmationVerification=!0):this.$message({showClose:!0,message:this.$t("personal.confirmSelection"),type:"error"})},previousStep(){this.confirmationVerification=!1,this.verificationDialogVisible=!0},maintainPassword(){this.maintainDialogVisible=!0},deleteAccount(){this.deleteAccountDialog=!0},handelVerification(){this.fetchBindInfo()},modifyVerification(){this.fetchBindInfo()},closeVerification(){this.closeDialogVisible=!0},copySecret(){navigator.clipboard.writeText(this.bindInfo.secret).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},handelCode(){this.fetchResetPwdCode(),null==window.sessionStorage.getItem("Password_time")||(this.countDownTimePassword=Number(window.sessionStorage.getItem("Password_time"))),this.startCountDownPassword()},confirmchangePassword(){if(!this.changePasswordParams.password)return void this.$message({showClose:!0,message:this.$t("personal.pwd"),type:"error"});if(!this.changePasswordParams.updatePwdCode)return void this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"});if(this.changePasswordParams.password!==this.newPassword)return void this.$message({showClose:!0,message:this.$t("user.confirmPassword2"),type:"error"});const t=/^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/,e=t.test(this.changePasswordParams.password);if(!e)return void this.$message({message:this.$t("user.PasswordReminder"),type:"error",showClose:!0});const s={...this.changePasswordParams};s.password=(0,i.encryption)(this.changePasswordParams.password),this.fetchResetPwd(s)},confirmActivation(){if(!this.params.pwd)return void this.$message({showClose:!0,message:this.$t("personal.pwd"),type:"error"});if(!this.params.eCode)return void this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"});if(!this.params.gCode)return void this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"});this.params.secret=this.bindInfo.secret;const t={...this.params};t.pwd=(0,i.encryption)(this.params.pwd),this.fetchBindGoogle(t)},handelECode(){this.fetchBindCode(),null==window.sessionStorage.getItem("security_time")||(this.countDownTime=Number(window.sessionStorage.getItem("security_time"))),this.startCountDown()},startCountDown(){this.timer=setInterval((()=>{this.countDownTime<=1?(clearInterval(this.timer),sessionStorage.removeItem("security_time"),this.countDownTime=60,this.btnDisabled=!1,this.bthText="user.obtainVerificationCode"):this.countDownTime>0&&(this.countDownTime--,this.btnDisabled=!0,this.bthText="user.again",window.sessionStorage.setItem("security_time",this.countDownTime))}),1e3)},startCountDownClose(){this.timerclose=setInterval((()=>{this.countDownTimeClose<=1?(clearInterval(this.timerclose),sessionStorage.removeItem("close_time"),this.countDownTimeClose=60,this.btnDisabledClose=!1,this.bthTextClose="user.obtainVerificationCode"):this.countDownTimeClose>0&&(this.countDownTimeClose--,this.btnDisabledClose=!0,this.bthTextClose="user.again",window.sessionStorage.setItem("close_time",this.countDownTimeClose))}),1e3)},startCountDownPassword(){this.timerPassword=setInterval((()=>{this.countDownTimePassword<=1?(clearInterval(this.timerPassword),sessionStorage.removeItem("Password_time"),this.countDownTimePassword=60,this.btnDisabledPassword=!1,this.bthTextPassword="user.obtainVerificationCode"):this.countDownTimePassword>0&&(this.countDownTimePassword--,this.btnDisabledPassword=!0,this.bthTextPassword="user.again",window.sessionStorage.setItem("Password_time",this.countDownTimePassword))}),1e3)},handelCloseCode(){this.fetchCloseCode(),null==window.sessionStorage.getItem("close_time")||(this.countDownTimeClose=Number(window.sessionStorage.getItem("close_time"))),this.startCountDownClose()},confirmClose(){this.closeParams.eCode?this.closeParams.gCode?this.fetchCloseStepTwo(this.closeParams):this.$message({showClose:!0,message:this.$t("personal.gCode"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.eCode"),type:"error"})},closeDialog(){}}}},59553:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116),s(61701);s(66848);var a=s(10673);e["default"]={data(){return{dialogVisible:!1,modifyDialogVisible:!1,params:{ip:"",perms:""},listParams:{page:1,limit:10},ApiKeyLoading:!1,checkList:[],checkIp:!0,checkAll:!1,checkedItems:[],apiList:[{remark:"测试备注",jurisdiction:["矿工","收益","支付"],account:"afhaifhauhf",coin:"BTC",url:"https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109"},{remark:"测试备注",jurisdiction:["矿工","收益"],account:"afhaifddddhauhf",coin:"BTC",url:"https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109"}],jurisdictionList:[{value:"miner",label:"personal.minerAPI"},{value:"account",label:"personal.accountApi"},{value:"pool",label:"personal.miningPoolApi"}],apiPageLoading:!1,apiInfo:{ip:"",perms:[]},infoCheckIp:!0,modifyParams:{id:"",ip:"",perms:""}}},watch:{infoCheckIp(t){t&&(this.apiInfo.ip="")},checkIp(t){t&&(this.params.ip="")},params:{handler(t){t.ip&&(this.checkIp=!1)},deep:!0}},mounted(){this.fetchApiList(this.listParams),this.registerRecoveryMethod("fetchApiList",this.listParams)},methods:{async fetchApiKey(t){this.ApiKeyLoading=!0,this.setLoading("ApiKeyLoading",!0);const e=await(0,a.getApiKey)(t);e&&200==e.code&&(this.fetchApiList(this.listParams),this.dialogVisible=!1),this.setLoading("ApiKeyLoading",!1)},async fetchApiList(t){this.apiPageLoading=!0;const e=await(0,a.getApiList)(t);e&&200==e.code&&(this.apiList=e.rows),this.setLoading("apiPageLoading",!1)},async fetchApiInfo(t){this.apiPageLoading=!0;const e=await(0,a.getApiInfo)(t);e&&200==e.code&&(this.apiInfo=e.data,this.apiInfo.ip&&(this.infoCheckIp=!1)),this.setLoading("apiPageLoading",!1)},async fetchUpdateAPI(t){this.apiPageLoading=!0;const e=await(0,a.getUpdateAPI)(t);e&&200==e.code&&(this.fetchApiList(this.listParams),this.modifyDialogVisible=!1),this.setLoading("apiPageLoading",!1)},async fetchDelApi(t){this.apiPageLoading=!0;const e=await(0,a.getDelApi)(t);console.log(e,666),e&&200==e.code&&(this.checkedItems=[],this.fetchApiList(this.listParams)),this.setLoading("apiPageLoading",!1)},RequestApiKey(){this.dialogVisible=!0},handelJurisdiction(t){let e=this.jurisdictionList.find((e=>t==e.value));try{return e.value?e.label:""}catch{console.log(111)}},handelClose(){this.params.ip="",this.checkList=[]},confirmAddition(){if(!this.checkIp&&!this.params.ip)return void this.$message({showClose:!0,message:this.$t("personal.ipAddressReminder"),type:"error"});const t=/^[0-9.]*$/;t.test(this.params.ip)?0!=this.checkList.length?(this.checkList.length>0&&(this.params.perms=this.checkList.join(",")),this.fetchApiKey(this.params)):this.$message({showClose:!0,message:this.$t("personal.permissionReminder"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.ipFormat"),type:"error"})},handleCheckAllChange(t){console.log(this.checkAll,t,6565),this.checkedItems=t?this.apiList.map((t=>t.id)):[]},handleSingleCheckChange(t){console.log(t,"value");let e=t.length;this.checkAll=e===this.apiList.length,this.isIndeterminate=e>0&&e0&&(this.modifyParams.perms=this.apiInfo.perms.join(",")),this.apiInfo.ip?this.modifyParams.ip=this.apiInfo.ip:this.infoCheckIp&&(this.modifyParams.ip=""),this.fetchUpdateAPI(this.modifyParams)):this.$message({showClose:!0,message:this.$t("personal.permissionReminder"),type:"error"}):this.$message({showClose:!0,message:this.$t("personal.ipAddressReminder"),type:"error"})},clickCopy(t){var e=document.createElement("input");e.value=t.key,document.body.appendChild(e);try{e.select();const t=document.execCommand("copy");t?this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"}):this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}catch(s){this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"success"})}finally{document.body.contains(e)?document.body.removeChild(e):console.log("临时输入框不是 body 的子节点,无法移除。")}}}}},62486:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.apiPageLoading,expression:"apiPageLoading"}],staticClass:"miningReport"},[t.$isMobile?e("section",{staticClass:"miningMobile"},[e("section",{staticClass:"contentBox"},[e("div",{staticClass:"block"},[e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",[t._v("API Tokens "),e("router-link",{staticClass:"jumpAPI",attrs:{to:`/${t.$i18n.locale}/apiFile`}},[t._v(t._s(t.$t("home.APIfile")))])],1),e("span",{staticClass:"describe"},[t._v("Create an API token to access your M2pool data. ")])])])]),e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"bth",on:{click:t.RequestApiKey}},[t._v("Request a New Token")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle2"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("user.Account")}},[t._v(t._s(t.$t("user.Account")))]),e("span",{staticClass:"IP"},[t._v("IP")]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("el-collapse",{staticClass:"collapseBox",attrs:{accordion:""}},t._l(t.apiList,(function(s){return e("el-collapse-item",{key:s.id,attrs:{name:s.id}},[e("template",{slot:"title"},[e("el-checkbox-group",{staticClass:"checkbox",on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"user"},[t._v(" "+t._s(s.user))]),e("span",{staticClass:"IP",attrs:{title:s.ip}},[t._v(" "+t._s(s.ip)+" ")]),e("span",{staticClass:"operation",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(" "+t._s(t.$t("personal.setUp"))+" ")])])],1),e("section",{staticClass:"content"},[e("div",[e("p",[t._v(t._s(t.$t("user.Account"))+" :")]),e("p",[t._v(" "+t._s(s.user)+" ")])]),e("div",[e("p",[t._v("IP :")]),e("p",[t._v(" "+t._s(s.ip)+" ")])]),e("div",[e("p",[t._v(t._s(t.$t("personal.jurisdiction"))+" :")]),e("p",[e("span",{staticClass:"permissionBlock"},t._l(s.perms,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0)])]),e("div",{staticClass:"link"},[e("p",[t._v("API KEY :")]),e("p",[e("span",{attrs:{id:s.id}},[t._v(" "+t._s(s.key))]),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(s)}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)})),1)],1)]):e("section",[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-a-fenzhi1 ic"}),e("h2",[t._v("API ")]),e("router-link",{staticClass:"jumpAPI",attrs:{to:`/${t.$i18n.locale}/apiFile`}},[t._v(t._s(t.$t("home.APIfile")))])],1),e("section",{staticClass:"contentBox"},[e("div",{staticClass:"block"},[t._m(0),e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"bth",on:{click:t.RequestApiKey}},[t._v("Request a New Token")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"Account"},[t._v(t._s(t.$t("user.Account")))]),e("span",{staticClass:"permissionBlock"},[t._v(t._s(t.$t("personal.jurisdiction")))]),e("span",{staticClass:"IP"},[t._v("IP")]),e("span",{staticClass:"apiKey"},[t._v("API KEY")]),e("span",{staticClass:"binding"},[t._v(t._s(t.$t("personal.operation")))])]),e("ul",t._l(t.apiList,(function(s){return e("li",{key:s.id},[e("div",{staticClass:"checkbox"},[e("el-checkbox-group",{on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.id},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1)],1),e("span",{staticClass:"Account"},[t._v(" "+t._s(s.user))]),e("span",{staticClass:"permissionBlock"},t._l(s.perms,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0),e("span",{staticClass:"IP"},[t._v(" "+t._s(s.ip))]),e("span",{staticClass:"apiKey",attrs:{title:t.$t("personal.copy")},on:{click:function(e){return t.clickCopy(s)}}},[t._v(" "+t._s(s.key)+" ")]),e("span",{staticClass:"binding",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(t._s(t.$t("personal.setUp"))+" ")])])})),0)])]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handelClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.apiKey")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v("IP")]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.ipAddress")},model:{value:t.params.ip,callback:function(e){t.$set(t.params,"ip",e)},expression:"params.ip"}})],1),e("el-checkbox",{staticStyle:{"margin-top":"5px"},attrs:{label:"ip"},model:{value:t.checkIp,callback:function(e){t.checkIp=e},expression:"checkIp"}},[t._v(t._s(t.$t("personal.defaultIp")))])],1),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[e("el-checkbox",{attrs:{label:"miner"}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"account"}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("el-checkbox",{attrs:{label:"pool"}},[t._v(t._s(t.$t("personal.miningPool")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.ApiKeyLoading,type:"primary"},on:{click:t.confirmAddition}},[t._v(t._s(t.$t("personal.confirm")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.apiKey")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v("IP")]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.ipAddress")},model:{value:t.apiInfo.ip,callback:function(e){t.$set(t.apiInfo,"ip",e)},expression:"apiInfo.ip"}})],1),e("el-checkbox",{staticStyle:{"margin-top":"5px"},attrs:{label:"ip"},model:{value:t.infoCheckIp,callback:function(e){t.infoCheckIp=e},expression:"infoCheckIp"}},[t._v(t._s(t.$t("personal.defaultIp")))])],1),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.apiInfo.perms,callback:function(e){t.$set(t.apiInfo,"perms",e)},expression:"apiInfo.perms"}},[e("el-checkbox",{attrs:{label:"miner"}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"account"}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("el-checkbox",{attrs:{label:"pool"}},[t._v(t._s(t.$t("personal.miningPool")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.ApiKeyLoading,type:"primary"},on:{click:t.modifyInformation}},[t._v(t._s(t.$t("personal.confirm")))])],1)])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"left"},[e("i",{staticClass:"iconfont icon-baogao ic"}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.2em"}},[t._v("API Tokens")]),e("span",{staticClass:"describe"},[t._v("Create an API token to access your M2pool data. ")])])])}]},63222:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"personal"},[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-gerenzhongxin ic"}),e("h2",[t._v(t._s(t.$t("personal.personalCenter")))])]),e("section",{staticClass:"loginInformation"},[e("ul",[e("li",{staticClass:"one"},[e("div",{staticClass:"title"},[e("i",{staticClass:"iconfont icon-yonghu ic"}),e("span",[t._v(t._s(t.$t("personal.userName")))])]),e("span",{staticClass:"text"},[t._v("lx497681109")])]),e("li",[e("div",{staticClass:"title"},[e("i",{staticClass:"iconfont icon-youxiang ic"}),e("span",[t._v(t._s(t.$t("personal.mailbox")))])]),e("span",{staticClass:"text"},[t._v("497681109@qq.com")])]),e("li",[e("div",{staticClass:"title"},[e("i",{staticClass:"iconfont icon-shouji1 ic"}),e("span",[t._v(t._s(t.$t("personal.phoneNumber")))])]),e("span",{staticClass:"text"},[t._v(" "+t._s(t.$t("personal.mobilePhoneInstructions"))+" ")]),e("span",{staticClass:"addPhone",on:{click:t.handelAddPhone}},[t._v(" "+t._s(t.$t("personal.add")))])])])]),e("section",{staticClass:"loginTable"},[e("h2",[t._v(" "+t._s(t.$t("personal.loginHistory")))]),e("ul",[e("li",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("personal.time")))]),e("span",[t._v(t._s(t.$t("personal.loginResults")))]),e("span",[t._v("IP")]),e("span",[t._v(t._s(t.$t("personal.position")))]),e("span",[t._v(t._s(t.$t("personal.equipment")))])]),t._m(0),t._m(1),t._m(2),t._m(3),t._m(4),t._m(5)])]),e("el-dialog",{attrs:{title:"添加手机号码",visible:t.dialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("span",[t._v("手机号码用于修改登录密码,开启维护人员密码,添加/修改付款地址,开启双重验证。请为您的帐户添加一个手机号码,以提高帐户的安全性。")]),e("el-form",{staticClass:"demo-ruleForm",attrs:{model:t.params,"status-icon":""}},[e("el-form-item",[e("p",{staticClass:"loginTitle"})]),e("el-form-item",{attrs:{prop:"phone"}},[e("el-input",{attrs:{"prefix-icon":"el-icon-mobile-phone",autocomplete:"off",placeholder:"手机号码"},model:{value:t.params.phone,callback:function(e){t.$set(t.params,"phone",e)},expression:"params.phone"}})],1),e("el-form-item",{attrs:{prop:"code"}},[e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text","prefix-icon":"el-icon-chat-line-square",autocomplete:"off",placeholder:"短信验证码"},model:{value:t.params.code,callback:function(e){t.$set(t.params,"code",e)},expression:"params.code"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelCode}},[t._v(t._s(t.bthText))])],1)])],1),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{attrs:{type:"primary"},on:{click:function(e){t.dialogVisible=!1}}},[t._v(t._s(t.$t("personal.nextStep")))])],1)],1)],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])},function(){var t=this,e=t._self._c;return e("li",[e("span",[t._v("2024-06-06 14:52")]),e("span",[t._v("Success")]),e("span",[t._v("43.228.226.14,43.228.226.14")]),e("span",[t._v("Hong Kong Hong Kong")]),e("span",[t._v("Mozilla/5.0 (Windows NT 10.0; Win64; x64)")])])}]},65784:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(7887),i=s(97903),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"22d9d454",null),c=l.exports},66683:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(66908),i=s(75882),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"2e3719ed",null),c=l.exports},66908:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"personalCenter"},[t.$isMobile?e("section",{staticClass:"personalBox2"},[t._l(t.menuList,(function(s){return e("div",{directives:[{name:"show",rawName:"v-show",value:t.$route.path===`/${t.$i18n.locale}/personalCenter`,expression:"$route.path === `/${$i18n.locale}/personalCenter`"}],key:s.label,staticClass:"menuItem",on:{click:function(e){return t.handelMenuItem(s.path)}}},[e("i",{staticClass:"ic",class:s.icon}),e("span",{staticClass:"titleText",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.$t(s.label)))])])})),e("router-view",{directives:[{name:"show",rawName:"v-show",value:t.$route.path!==`/${t.$i18n.locale}/personalCenter`,expression:"$route.path !== `/${$i18n.locale}/personalCenter`"}]})],2):e("div",{staticClass:"personalBox"},[e("div",{staticClass:"personalLeft"},[e("div",{staticClass:"LeftHead"},[t._m(0),e("p",{staticClass:"emailBox"},[t._v(t._s(t.userEmail))])]),e("div",{staticClass:"LeftMenu"},[e("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":t.activePath}},t._l(t.menuList,(function(s){return e("el-menu-item",{key:s.path,staticStyle:{"padding-left":"18px"},attrs:{index:s.path},on:{click:function(e){return t.handelMenuItem(s.path)}}},[e("i",{staticClass:"ic",class:s.icon}),e("span",{staticClass:"titleText",attrs:{slot:"title"},slot:"title"},[t._v(t._s(t.$t(s.label)))])])})),1)],1)]),e("div",{staticClass:"personalRight"},[e("router-view")],1)])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"Avatar"},[e("i",{staticClass:"iconfont icon-morentouxiang headIcon"})])}]},68442:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.UrlListLoading,expression:"UrlListLoading"}],staticClass:"personalMiningBox"},[t.$isMobile?e("section",[e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.addTo}},[t._v("+ "+t._s(t.$t("personal.establish")))]),e("span",{attrs:{disabled:0==t.checkedItems.length}},[e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)],1),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",{staticClass:"miningAccount",attrs:{title:t.$t("personal.miningAccount")}},[t._v(t._s(t.$t("personal.miningAccount")))]),e("span",{staticClass:"currency",attrs:{title:t.$t("personal.currency")}},[t._v(t._s(t.$t("personal.currency")))]),e("span",{staticClass:"operation",attrs:{title:t.$t("personal.operation")}},[t._v(t._s(t.$t("personal.operation")))])]),e("el-collapse",{staticClass:"collapseBox",attrs:{accordion:""}},t._l(t.readOnlyList,(function(s){return e("el-collapse-item",{key:s.key,attrs:{name:s.key}},[e("template",{slot:"title"},[e("el-checkbox-group",{staticClass:"checkbox",staticStyle:{width:"5%"},on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.key},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1),e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"miningAccount"},[t._v(" "+t._s(s.account))]),e("span",{staticClass:"currency2",attrs:{title:s.label}},[e("img",{staticStyle:{width:"20px"},attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.label)+" ")]),e("span",{staticClass:"operation",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(" "+t._s(t.$t("personal.setUp"))+" ")])])],1),e("section",{staticClass:"content"},[e("div",[e("p",[t._v(t._s(t.$t("personal.jurisdiction"))+" :")]),e("p",[e("span",{staticClass:"permissionBlock"},t._l(s.config,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0)])]),e("div",{staticClass:"link"},[e("p",[t._v(t._s(t.$t("personal.readOnlyLink"))+" :")]),e("p",[e("a",{attrs:{href:s.url}},[t._v(t._s(s.url))]),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(s)}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",{staticClass:"remarks"},[e("p",[t._v(t._s(t.$t("personal.remarks"))+" :")]),e("p",[t._v(t._s(s.remark))])])])],2)})),1)],1),e("div",{staticClass:"paginationBox"},[e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":10,layout:"sizes, prev, pager, next",total:t.TotalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]):e("section",[e("div",{staticClass:"headTitle"},[e("i",{staticClass:"iconfont icon-yanjing ic"}),e("h2",[t._v(t._s(t.$t("personal.readOnlyPage")))])]),e("div",{staticClass:"operation"},[e("div",{staticClass:"bthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.addTo}},[t._v("+ "+t._s(t.$t("personal.establish")))]),e("span",{attrs:{disabled:0==t.checkedItems.length}},[e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("personal.determine"),"cancel-button-text":t.$t("personal.Cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("personal.deletePrompt")},on:{confirm:t.deleteSelected}},[e("el-button",{staticClass:"delBth",attrs:{slot:"reference",disabled:0==t.checkedItems.length},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)],1)]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"tabTitle"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{on:{change:t.handleCheckAllChange},model:{value:t.checkAll,callback:function(e){t.checkAll=e},expression:"checkAll"}})],1),e("span",[t._v(t._s(t.$t("personal.account")))]),e("span",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("span",{staticStyle:{"text-align":"left"}},[t._v(t._s(t.$t("personal.currency")))]),e("span",[t._v(t._s(t.$t("personal.readOnlyLink")))]),e("span",[t._v(t._s(t.$t("personal.remarks")))]),e("span",[t._v(t._s(t.$t("personal.operation")))])]),e("ul",t._l(t.readOnlyList,(function(s){return e("li",{key:s.key},[e("div",{staticClass:"checkbox"},[e("el-checkbox-group",{on:{change:t.handleSingleCheckChange},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("el-checkbox",{staticClass:"addressBox",attrs:{label:s.key},model:{value:t.checkedItems,callback:function(e){t.checkedItems=e},expression:"checkedItems"}},[e("br")])],1)],1),e("span",[t._v(" "+t._s(s.account))]),e("span",{staticClass:"permissionBlock"},t._l(s.config,(function(s,a){return e("span",{key:a,staticClass:"miner"},[t._v(t._s(t.$t(t.handelJurisdiction(s)))+" ")])})),0),e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px","margin-right":"5px"},attrs:{src:s.img,alt:"coin"}}),t._v(" "+t._s(s.label))]),e("span",[e("el-input",{ref:"inputRef",refInFor:!0,attrs:{id:s.key},nativeOn:{click:function(e){return t.handelCopy(s.key)}},model:{value:s.url,callback:function(e){t.$set(s,"url",e)},expression:"item.url"}})],1),e("span",{staticStyle:{"padding-left":"8px"},attrs:{title:s.remark}},[t._v(" "+t._s(s.remark))]),e("span",{staticClass:"binding",on:{click:function(e){return t.handelSetUp(s)}}},[t._v(t._s(t.$t("personal.setUp"))+" ")])])})),0)]),e("div",{staticClass:"paging"},[e("el-pagination",{attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],"page-size":10,layout:"total, sizes, prev, pager, next, jumper",total:t.TotalSize},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e},close:t.handleClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.readOnlyPage")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.account")))]),e("el-cascader",{ref:"cascader",staticStyle:{"text-transform":"uppercase"},attrs:{options:t.newMiningAccountList},on:{change:t.handleChange},scopedSlots:t._u([{key:"default",fn:function({node:s,data:a}){return[e("div",{staticClass:"cascaderBox"},[e("img",{staticStyle:{width:"25px"},attrs:{src:a.img}}),e("span",[t._v(t._s(a.label))]),s.isLeaf?t._e():e("span",[t._v(" ("+t._s(a.children.length)+") ")])])]}}]),model:{value:t.params.account,callback:function(e){t.$set(t.params,"account",e)},expression:"params.account"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks")))]),e("el-input",{staticClass:"input",attrs:{title:t.$t("personal.remarksDescription"),placeholder:t.$t("personal.remarksDescription")},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1)]),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.checkList,callback:function(e){t.checkList=e},expression:"checkList"}},[e("el-checkbox",{attrs:{label:"1",disabled:""}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"2"}},[t._v(t._s(t.$t("personal.profit")))]),e("el-checkbox",{attrs:{label:"3"}},[t._v(t._s(t.$t("personal.payment")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.establishLoading,type:"primary"},on:{click:t.confirmAddition}},[t._v(t._s(t.$t("personal.confirm")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e},close:t.handleClose}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.readOnlyPage")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.account")))]),e("el-input",{staticClass:"input",attrs:{title:t.$t("personal.account"),disabled:""},model:{value:t.dialogTitle,callback:function(e){t.dialogTitle=e},expression:"dialogTitle"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.remarks")))]),e("el-input",{staticClass:"input",attrs:{title:t.$t("personal.remarksDescription"),placeholder:t.$t("personal.remarksDescription")},model:{value:t.dialogData.remark,callback:function(e){t.$set(t.dialogData,"remark",e)},expression:"dialogData.remark"}})],1)]),e("div",{staticClass:"jurisdictionBox"},[e("div",[t._v(t._s(t.$t("personal.jurisdiction")))]),e("div",[e("el-checkbox-group",{staticClass:"checkboxS",model:{value:t.dialogData.config,callback:function(e){t.$set(t.dialogData,"config",e)},expression:"dialogData.config"}},[e("el-checkbox",{attrs:{label:"1",disabled:""}},[t._v(" "+t._s(t.$t("personal.miner")))]),e("el-checkbox",{attrs:{label:"2"}},[t._v(t._s(t.$t("personal.profit")))]),e("el-checkbox",{attrs:{label:"3"}},[t._v(t._s(t.$t("personal.payment")))])],1)],1)]),e("el-button",{staticStyle:{width:"50%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.modifyLoading,type:"primary"},on:{click:t.modifyInfo}},[t._v(t._s(t.$t("personal.modify2")))])],1)])],1)},e.Yp=[]},72767:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{dialogVisible:!1,params:{phone:"",code:""},btnDisabled:!1,bthText:"获取验证码"}},mounted(){},methods:{handelAddPhone(){this.dialogVisible=!0}}}},73122:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(13579);s(89143),e["default"]={computed:{key(){return this.$route.path},activePath(){const t=this.$route.path,e=t.split("/").pop();return console.log("Current Path:",e),console.log("Full Path:",t),this.menuList.some((t=>t.path===e))?e:"personalMining"}},data(){return{menuList:[{path:"personalMining",label:"personal.miningAccount",icon:"iconfont icon-kuanggong1"},{path:"readOnly",label:"personal.readOnlyPage",icon:"iconfont icon-yanjing"},{path:"securitySetting",label:"personal.securitySetting",icon:"iconfont icon-anquan"},{path:"personalAPI",label:"personal.API",icon:"iconfont icon-a-fenzhi1"}],userEmail:""}},mounted(){"PersonalCenter"!=this.$route.name||this.$isMobile||this.$router.go(-1);let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t)}))},methods:{handelMenuItem(t){const e=this.$i18n.locale;this.$router.push(`/${e}/personalCenter/${t}`).catch((t=>{"NavigationDuplicated"!==t.name&&console.error("Navigation failed:",t)})),this.$nextTick((()=>{this.$forceUpdate()}))}}}},75882:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(73122));e.A={mixins:[i.default]}},76829:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{dialogVisible:!1,monthlyReport:!1}},mounted(){},methods:{handelWeek(){this.dialogVisible=!0},handelMonth(){this.monthlyReport=!0}}}},80545:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(53695));e.A={mixins:[i.default]}},81988:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(88271),i=s(80545),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"b42565d2",null),c=l.exports},88271:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.securityLoading,expression:"securityLoading"}],staticClass:"security"},[t.$isMobile?e("section",{staticClass:"securityMain"},[e("div",{staticClass:"itemBox"},[e("div",{staticClass:"left"},[t._m(0),e("div",{staticClass:"text"},[e("p",[t._v(t._s(t.$t("personal.loginPassword")))]),e("p",[t._v(t._s(t.$t("personal.accountSecurity")))])])]),e("div",{staticClass:"right"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"modify",on:{click:t.changePassword}},[t._v(t._s(t.$t("personal.modify")))])],1)]),e("div",{staticClass:"itemBox"},[e("div",{staticClass:"left"},[t._m(1),e("div",{staticClass:"text"},[e("p",[t._v(t._s(t.$t("personal.dualVerification")))]),e("p",[t._v(t._s(t.$t("personal.verificationInstructions")))])])]),t.isItBound?e("div",{staticClass:"right"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"modify",on:{click:t.closeVerification}},[t._v(t._s(t.$t("personal.close")))])],1):t._e(),t.isItBound?t._e():e("div",{staticClass:"right2"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.notEnabled")))]),e("el-button",{staticClass:"modify",attrs:{loading:t.BindInfoLoading},on:{click:t.handelVerification}},[t._v(t._s(t.$t("personal.Open")))])],1)])]):e("section",[e("div",{staticClass:"titleBox"},[e("i",{staticClass:"iconfont icon-anquan ic"}),e("h2",[t._v(t._s(t.$t("personal.securitySetting")))])]),e("section",{staticClass:"table"},[e("ul",[e("li",{staticClass:"topOne"},[e("div",{staticClass:"topOneLeft"},[e("img",{attrs:{src:s(37851),alt:"password",loading:"lazy"}}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.1em"}},[t._v(t._s(t.$t("personal.loginPassword")))]),e("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)"}},[t._v(t._s(t.$t("personal.accountSecurity")))])])]),e("div",{staticClass:"topOneRight"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"line"}),e("span",{staticClass:"modify",on:{click:t.changePassword}},[t._v(t._s(t.$t("personal.modify")))])],1)]),e("li",[e("div",{staticClass:"topOneLeft"},[e("img",{attrs:{src:s(72498),alt:"security",loading:"lazy"}}),e("div",{staticClass:"text"},[e("span",{staticStyle:{"font-size":"1.1em"}},[t._v(t._s(t.$t("personal.dualVerification")))]),e("span",{staticStyle:{color:"rgba(0, 0, 0, 0.5)"}},[t._v(t._s(t.$t("personal.verificationInstructions")))])])]),t.isItBound?e("div",{staticClass:"topOneRight"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.setUp2")))]),e("span",{staticClass:"line"}),e("span",{staticClass:"modify",on:{click:t.closeVerification}},[t._v(t._s(t.$t("personal.close")))])],1):t._e(),t.isItBound?t._e():e("div",{staticClass:"topOneRight2"},[e("el-button",{staticClass:"notEnabled"},[t._v(t._s(t.$t("personal.notEnabled")))]),e("span",{staticClass:"line"}),e("el-button",{staticClass:"modify",attrs:{loading:t.BindInfoLoading},on:{click:t.handelVerification}},[t._v(t._s(t.$t("personal.Open")))])],1)])])])]),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"verificationPrompt"},[t._v(" "+t._s(t.$t("personal.enableVerificationDescription"))+" ")]),e("el-button",{staticClass:"dialogBth",attrs:{loading:t.BindInfoLoading,type:"primary"},on:{click:t.jumpVerification}},[t._v(t._s(t.$t("personal.goOpenIt")))])],1)]),e("el-dialog",{attrs:{visible:t.changePasswordDialogVisible,width:"40%","close-on-click-modal":!1},on:{"update:visible":function(e){t.changePasswordDialogVisible=e},close:t.closeDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("user.resetPassword")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"email",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.changePasswordParams.updatePwdCode,callback:function(e){t.$set(t.changePasswordParams,"updatePwdCode",e)},expression:"changePasswordParams.updatePwdCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledPassword},on:{click:t.handelCode}},[t.countDownTimePassword<60&&t.countDownTimePassword>0?e("span",[t._v(t._s(t.countDownTimePassword))]):t._e(),t._v(t._s(t.$t(t.bthTextPassword)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.newPassword2")))]),e("el-input",{staticClass:"input",attrs:{type:"password",showPassword:"",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.changePasswordParams.password,callback:function(e){t.$set(t.changePasswordParams,"password",e)},expression:"changePasswordParams.password"}}),e("p",{staticClass:"remind",attrs:{title:t.$t("user.passwordPrompt")}},[t._v(" "+t._s(t.$t("user.passwordPrompt"))+" ")])],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.confirmPassword")))]),e("el-input",{staticClass:"input",attrs:{type:"password",showPassword:"",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.newPassword,callback:function(e){t.newPassword=e},expression:"newPassword"}})],1)]),e("el-button",{staticClass:"changePasswordBth",attrs:{loading:t.ResetPwdLoading},on:{click:t.confirmchangePassword}},[t._v(t._s(t.$t("user.changePassword")))])],1)]),e("el-dialog",{attrs:{visible:t.closeDialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.closeDialogVisible=e},close:t.closeDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.turnOffVerification")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.closeParams.eCode,callback:function(e){t.$set(t.closeParams,"eCode",e)},expression:"closeParams.eCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledClose},on:{click:t.handelCloseCode}},[t.countDownTimeClose<60&&t.countDownTimeClose>0?e("span",[t._v(t._s(t.countDownTimeClose))]):t._e(),t._v(t._s(t.$t(t.bthTextClose)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.closeParams.gCode,callback:function(e){t.$set(t.closeParams,"gCode",e)},expression:"closeParams.gCode"}})],1)]),e("div",{staticClass:"verificationBthBox"},[e("el-button",{staticClass:"confirmBtn",staticStyle:{margin:"0 auto"},attrs:{loading:t.closeLoading},on:{click:t.confirmClose}},[t._v(t._s(t.$t("personal.turnOffVerification")))])],1)])]),e("el-dialog",{attrs:{visible:t.verificationDialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.verificationDialogVisible=e}}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.enableVerification")))]),e("p",{staticClass:"text1"},[t._v(t._s(t.$t("personal.googleIdentity")))]),e("div",{staticClass:"secretKeyBox"},[e("div",{staticClass:"code"},[e("img",{attrs:{id:"myImage",src:"data:image/jpeg;base64,"+t.bindInfo.img,alt:"Data return exception, please refresh or re enter the page"}})]),e("div",{staticClass:"centerLine"},[e("span",{staticClass:"topLine"}),e("span",{staticClass:"or"},[t._v(t._s(t.$t("personal.or")))]),e("span",{staticClass:"btLine"})]),e("div",{staticClass:"secretKey"},[e("span",{staticClass:"InfoSecret"},[t._v(" "+t._s(t.bindInfo.secret)+" "),e("span",{on:{click:t.copySecret}},[t._v(t._s(t.$t("personal.copy")))])])])]),e("div",{staticClass:"clause"},[e("div",{staticClass:"checkbox"},[e("el-checkbox",{model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}})],1),e("p",[e("span",[t._v(t._s(t.$t("personal.saveKey")))]),t._v(" "+t._s(t.$t("personal.resetKeyDescription"))+" ")])]),e("div",{staticClass:"nextStep",on:{click:t.nextStep}},[t._v(" "+t._s(t.$t("personal.nextStep"))+" ")])])]),e("el-dialog",{attrs:{visible:t.confirmationVerification,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.confirmationVerification=e},close:t.closeDialog}},[e("section",{staticClass:"verificationBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.enableVerification")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.loginPassword")))]),e("el-input",{staticClass:"input",attrs:{showPassword:"",type:"password",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.pwd,callback:function(e){t.$set(t.params,"pwd",e)},expression:"params.pwd"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"email",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.params.eCode,callback:function(e){t.$set(t.params,"eCode",e)},expression:"params.eCode"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabled},on:{click:t.handelECode}},[t.countDownTime<60&&t.countDownTime>0?e("span",[t._v(t._s(t.countDownTime))]):t._e(),t._v(t._s(t.$t(t.bthText)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.oneTimePassword"))+" "+t._s(t.$t("personal.scanning")))]),e("el-input",{staticClass:"input",attrs:{type:"number",placeholder:"000000"},model:{value:t.params.gCode,callback:function(e){t.$set(t.params,"gCode",e)},expression:"params.gCode"}})],1)]),e("div",{staticClass:"verificationBthBox"},[e("el-button",{staticClass:"previousStep",on:{click:t.previousStep}},[t._v(t._s(t.$t("personal.previousStep")))]),e("el-button",{staticClass:"confirmBtn",attrs:{loading:t.BindInfoLoading},on:{click:t.confirmActivation}},[t._v(t._s(t.$t("personal.enableVerification")))])],1)])]),e("el-dialog",{attrs:{visible:t.maintainDialogVisible,width:"35%"},on:{"update:visible":function(e){t.maintainDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.Tips")))]),e("div",{staticClass:"verificationPrompt"},[t._v(" "+t._s(t.$t("personal.enableVerificationDescription"))+" ")]),e("el-button",{staticClass:"dialogBth",staticStyle:{width:"30%","font-size":"1.1em","margin-top":"30px"},attrs:{loading:t.BindInfoLoading,type:"primary"},on:{click:t.jumpVerification}},[t._v(t._s(t.$t("personal.goOpenIt")))])],1)]),e("el-dialog",{attrs:{visible:t.deleteAccountDialog,width:"35%"},on:{"update:visible":function(e){t.deleteAccountDialog=e}}},[e("section",{staticClass:"dialogBox2"},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("personal.deleteAccount")))]),t._l(t.clauseList,(function(s){return e("div",{key:s.title,staticClass:"deleteClauseBox"},[e("h3",[t._v(t._s(s.title))]),e("ul",t._l(s.children,(function(s){return e("li",{key:s.label},[t._v(" "+t._s(s.label)+" ")])})),0)])})),e("div",{staticClass:"dashedLine"}),e("div",[e("p",[t._v(t._s(t.$t("personal.reasonForDeletion")))]),e("el-select",{staticClass:"select",attrs:{placeholder:t.$t("personal.select")},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},t._l(t.reasonList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1),e("div",{staticClass:"bthBox"},[e("el-button",{staticStyle:{width:"40%","font-size":"1.1em","margin-top":"30px"},on:{click:function(e){t.deleteAccountDialog=!1}}},[t._v(t._s(t.$t("personal.Cancel")))]),e("el-button",{staticStyle:{width:"40%","font-size":"1.1em","margin-top":"30px"},attrs:{type:"primary"},on:{click:function(e){t.deleteAccountDialog=!1}}},[t._v(t._s(t.$t("personal.determine")))])],1)],2)])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:s(37851),alt:"password",loading:"lazy"}})])},function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:s(72498),alt:"security",loading:"lazy"}})])}]},89175:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return i.B},default:function(){return c}});var a=s(62486),i=s(10895),n=i.A,o=s(81656),l=(0,o.A)(n,a.XX,a.Yp,!1,null,"18e9c054",null),c=l.exports},95525:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(72767));e.A={mixins:[i.default]}},97903:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var i=a(s(76829));e.A={mixins:[i.default]}}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-3003db77.d0b93d36.js b/mining-pool/public/dist/js/chunk-vendors-3003db77.d0b93d36.js new file mode 100644 index 0000000..c10fcae --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-3003db77.d0b93d36.js @@ -0,0 +1,25 @@ +(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[163],{3574:function(t,e,n){n(44114),n(16573),n(78100),n(77936),n(18111),n(22489),n(7588),n(61701),n(61806),n(37467),n(44732),n(79577),n(64979),function(t,n){n(e)}(0,(function(t){"use strict"; +/*! ***************************************************************************** + Copyright (c) Microsoft Corporation. + + Permission to use, copy, modify, and/or distribute this software for any + purpose with or without fee is hereby granted. + + THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH + REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, + INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM + LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR + OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR + PERFORMANCE OF THIS SOFTWARE. + ***************************************************************************** */var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},e(t,n)};function i(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}var r=function(){function t(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return t}(),o=function(){function t(){this.browser=new r,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!==typeof window}return t}(),a=new o;function s(t,e){var n=e.browser,i=t.match(/Firefox\/([\d.]+)/),r=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),o=t.match(/Edge?\/([\d.]+)/),a=/micromessenger/i.test(t);i&&(n.firefox=!0,n.version=i[1]),r&&(n.ie=!0,n.version=r[1]),o&&(n.edge=!0,n.version=o[1],n.newEdge=+o[1].split(".")[0]>18),a&&(n.weChat=!0),e.svgSupported="undefined"!==typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!==typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}"object"===typeof wx&&"function"===typeof wx.getSystemInfoSync?(a.wxa=!0,a.touchEventsSupported=!0):"undefined"===typeof document&&"undefined"!==typeof self?a.worker=!0:!a.hasGlobalWindow||"Deno"in window?(a.node=!0,a.svgSupported=!0):s(navigator.userAgent,a);var l=12,u="sans-serif",h=l+"px "+u,c=20,p=100,d="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function f(t){var e={};if("undefined"===typeof JSON)return e;for(var n=0;n=0)s=a*n.length;else for(var u=0;u>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}function ge(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,a=[],s=[],l=!0,u=0;u<4;u++){var h=t[u].getBoundingClientRect(),c=2*u,p=h.left,d=h.top;a.push(p,d),l=l&&o&&p===o[c]&&d===o[c+1],s.push(t[u].offsetLeft,t[u].offsetTop)}return l&&r?r:(e.srcCoords=a,e[i]=n?ue(s,a):ue(a,s))}function ye(t){return"CANVAS"===t.nodeName.toUpperCase()}var ve=/([&<>"'])/g,me={"&":"&","<":"<",">":">",'"':""","'":"'"};function xe(t){return null==t?"":(t+"").replace(ve,(function(t,e){return me[e]}))}var _e=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,we=[],be=a.browser.firefox&&+a.browser.version.split(".")[0]<39;function Se(t,e,n,i){return n=n||{},i?Me(t,e,n):be&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):Me(t,e,n),n}function Me(t,e,n){if(a.domSupported&&t.getBoundingClientRect){var i=e.clientX,r=e.clientY;if(ye(t)){var o=t.getBoundingClientRect();return n.zrX=i-o.left,void(n.zrY=r-o.top)}if(de(we,t,i,r))return n.zrX=we[0],void(n.zrY=we[1])}n.zrX=n.zrY=0}function Ie(t){return t||window.event}function Te(t,e,n){if(e=Ie(e),null!=e.zrX)return e;var i=e.type,r=i&&i.indexOf("touch")>=0;if(r){var o="touchend"!==i?e.targetTouches[0]:e.changedTouches[0];o&&Se(t,o,e,n)}else{Se(t,e,e,n);var a=Ce(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&_e.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function Ce(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;if(null==n||null==i)return e;var r=0!==i?Math.abs(i):Math.abs(n),o=i>0?-1:i<0?1:n>0?-1:1;return 3*r*o}function De(t,e,n,i){t.addEventListener(e,n,i)}function Ae(t,e,n,i){t.removeEventListener(e,n,i)}var ke=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function Le(t){return 2===t.which||3===t.which}var Pe=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var i=t.touches;if(i){for(var r={points:[],touches:[],target:e,event:t},o=0,a=i.length;o1&&i&&i.length>1){var o=Oe(i)/Oe(r);!isFinite(o)&&(o=1),e.pinchScale=o;var a=Re(i);return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}};function Ee(){return[1,0,0,1,0,0]}function ze(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function Ve(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function Be(t,e,n){var i=e[0]*n[0]+e[2]*n[1],r=e[1]*n[0]+e[3]*n[1],o=e[0]*n[2]+e[2]*n[3],a=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],l=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=i,t[1]=r,t[2]=o,t[3]=a,t[4]=s,t[5]=l,t}function Ge(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function Fe(t,e,n,i){void 0===i&&(i=[0,0]);var r=e[0],o=e[2],a=e[4],s=e[1],l=e[3],u=e[5],h=Math.sin(n),c=Math.cos(n);return t[0]=r*c+s*h,t[1]=-r*h+s*c,t[2]=o*c+l*h,t[3]=-o*h+c*l,t[4]=c*(a-i[0])+h*(u-i[1])+i[0],t[5]=c*(u-i[1])-h*(a-i[0])+i[1],t}function He(t,e,n){var i=n[0],r=n[1];return t[0]=e[0]*i,t[1]=e[1]*r,t[2]=e[2]*i,t[3]=e[3]*r,t[4]=e[4]*i,t[5]=e[5]*r,t}function We(t,e){var n=e[0],i=e[2],r=e[4],o=e[1],a=e[3],s=e[5],l=n*a-o*i;return l?(l=1/l,t[0]=a*l,t[1]=-o*l,t[2]=-i*l,t[3]=n*l,t[4]=(i*s-a*r)*l,t[5]=(o*r-n*s)*l,t):null}function Ue(t){var e=Ee();return Ve(e,t),e}var Ye=Object.freeze({__proto__:null,create:Ee,identity:ze,copy:Ve,mul:Be,translate:Ge,rotate:Fe,scale:He,invert:We,clone:Ue}),Xe=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,i){t.x=e.x+n.x*i,t.y=e.y+n.y*i},t.lerp=function(t,e,n,i){var r=1-i;t.x=r*e.x+i*n.x,t.y=r*e.y+i*n.y},t}(),Ze=Math.min,je=Math.max,qe=new Xe,Ke=new Xe,Je=new Xe,$e=new Xe,Qe=new Xe,tn=new Xe,en=function(){function t(t,e,n,i){n<0&&(t+=n,n=-n),i<0&&(e+=i,i=-i),this.x=t,this.y=e,this.width=n,this.height=i}return t.prototype.union=function(t){var e=Ze(t.x,this.x),n=Ze(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=je(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=je(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,i=t.height/e.height,r=Ee();return Ge(r,r,[-e.x,-e.y]),He(r,r,[n,i]),Ge(r,r,[t.x,t.y]),r},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var i=this,r=i.x,o=i.x+i.width,a=i.y,s=i.y+i.height,l=e.x,u=e.x+e.width,h=e.y,c=e.y+e.height,p=!(of&&(f=x,gf&&(f=_,v=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,i){if(i){if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],o=i[3],a=i[4],s=i[5];return e.x=n.x*r+a,e.y=n.y*o+s,e.width=n.width*r,e.height=n.height*o,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}qe.x=Je.x=n.x,qe.y=$e.y=n.y,Ke.x=$e.x=n.x+n.width,Ke.y=Je.y=n.y+n.height,qe.transform(i),$e.transform(i),Ke.transform(i),Je.transform(i),e.x=Ze(qe.x,Ke.x,Je.x,$e.x),e.y=Ze(qe.y,Ke.y,Je.y,$e.y);var l=je(qe.x,Ke.x,Je.x,$e.x),u=je(qe.y,Ke.y,Je.y,$e.y);e.width=l-e.x,e.height=u-e.y}else e!==n&&t.copy(e,n)},t}(),nn="silent";function rn(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:on}}function on(){ke(this.event)}var an=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return i(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(ae),sn=function(){function t(t,e){this.x=t,this.y=e}return t}(),ln=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],un=new en(0,0,0,0),hn=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new sn(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new an,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new oe(a),a}return i(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(H(ln,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,i=dn(this,e,n),r=this._hovered,o=r.target;o&&!o.__zr&&(r=this.findHover(r.x,r.y),o=r.target);var a=this._hovered=i?new sn(e,n):this.findHover(e,n),s=a.target,l=this.proxy;l.setCursor&&l.setCursor(s?s.cursor:"default"),o&&s!==o&&this.dispatchToElement(r,"mouseout",t),this.dispatchToElement(a,"mousemove",t),s&&s!==o&&this.dispatchToElement(a,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new sn(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){t=t||{};var i=t.target;if(!i||!i.silent){var r="on"+e,o=rn(e,t,n);while(i)if(i[r]&&(o.cancelBubble=!!i[r].call(i,o)),i.trigger(e,o),i=i.__hostTarget?i.__hostTarget:i.parent,o.cancelBubble)break;o.cancelBubble||(this.trigger(e,o),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"===typeof t[r]&&t[r].call(t,o),t.trigger&&t.trigger(e,o)})))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new sn(t,e);if(pn(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new en(t-s,e-s,a,a),u=i.length-1;u>=0;u--){var h=i[u];h===n||h.ignore||h.ignoreCoarsePointer||h.parent&&h.parent.ignoreCoarsePointer||(un.copy(h.getBoundingRect()),h.transform&&un.applyTransform(h.transform),un.intersect(l)&&o.push(h))}if(o.length)for(var c=4,p=Math.PI/12,d=2*Math.PI,f=0;f=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=cn(a,n,i))&&(!e.topTarget&&(e.topTarget=a),s!==nn)){e.target=a;break}}}function dn(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}H(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){hn.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=dn(this,r,o);if("mouseup"===t&&a||(n=this.findHover(r,o),i=n.target),"mousedown"===t)this._downEl=i,this._downPoint=[e.zrX,e.zrY],this._upEl=i;else if("mouseup"===t)this._upEl=i;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||qt(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));var fn=32,gn=7;function yn(t){var e=0;while(t>=fn)e|=1&t,t>>=1;return t+e}function vn(t,e,n,i){var r=e+1;if(r===n)return 1;if(i(t[r++],t[e])<0){while(r=0)r++;return r-e}function mn(t,e,n){n--;while(e>>1,r(a,t[o])<0?l=o:s=o+1;var u=i-s;switch(u){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:while(u>0)t[s+u]=t[s+u-1],u--}t[s]=a}}function _n(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){s=i-r;while(l0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{s=r+1;while(ls&&(l=s);var u=a;a=r-l,l=r-u}a++;while(a>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function wn(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])<0){s=r+1;while(ls&&(l=s);var u=a;a=r-l,l=r-u}else{s=i-r;while(l=0)a=l,l=1+(l<<1),l<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}a++;while(a>>1);o(t,e[n+h])<0?l=h:a=h+1}return l}function bn(t,e){var n,i,r=gn,o=0,a=[];function s(t,e){n[o]=t,i[o]=e,o+=1}function l(){while(o>1){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]i[t+1])break;h(t)}}function u(){while(o>1){var t=o-2;t>0&&i[t-1]=gn||d>=gn);if(f)break;g<0&&(g=0),g+=2}if(r=g,r<1&&(r=1),1===i){for(l=0;l=0;l--)t[d+l]=t[p+l];if(0===i){v=!0;break}}if(t[c--]=a[h--],1===--s){v=!0;break}if(y=s-_n(t[u],a,0,s,s-1,e),0!==y){for(c-=y,h-=y,s-=y,d=c+1,p=h+1,l=0;l=gn||y>=gn);if(v)break;f<0&&(f=0),f+=2}if(r=f,r<1&&(r=1),1===s){for(c-=i,u-=i,d=c+1,p=u+1,l=i-1;l>=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else{if(0===s)throw new Error;for(p=c-(s-1),l=0;l=0;l--)t[d+l]=t[p+l];t[c]=a[h]}else for(p=c-(s-1),l=0;ls&&(l=s),xn(t,n,n+l,n+o,e),o=l}a.pushRun(n,o),a.mergeRuns(),r-=o,n+=o}while(0!==r);a.forceMergeRuns()}}var Mn=1,In=2,Tn=4,Cn=!1;function Dn(){Cn||(Cn=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function An(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var kn,Ln=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=An}return t.prototype.traverse=function(t,e){for(var n=0;n0&&(u.__clipPaths=[]),isNaN(u.z)&&(Dn(),u.z=0),isNaN(u.z2)&&(Dn(),u.z2=0),isNaN(u.zlevel)&&(Dn(),u.zlevel=0),this._displayList[this._displayListLen++]=u}var h=t.getDecalElement&&t.getDecalElement();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextGuideLine();c&&this._updateAndAddDisplayable(c,e,n);var p=t.getTextContent();p&&this._updateAndAddDisplayable(p,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e=0&&this._roots.splice(i,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();kn=a.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var Pn=kn,On={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i))},elasticOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/i)+1)},elasticInOut:function(t){var e,n=.1,i=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=i/4):e=i*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/i)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-On.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*On.bounceIn(2*t):.5*On.bounceOut(2*t-1)+.5}},Rn=Math.pow,Nn=Math.sqrt,En=1e-8,zn=1e-4,Vn=Nn(3),Bn=1/3,Gn=Pt(),Fn=Pt(),Hn=Pt();function Wn(t){return t>-En&&tEn||t<-En}function Yn(t,e,n,i,r){var o=1-r;return o*o*(o*t+3*r*e)+r*r*(r*i+3*o*n)}function Xn(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function Zn(t,e,n,i,r,o){var a=i+3*(e-n)-t,s=3*(n-2*e+t),l=3*(e-t),u=t-r,h=s*s-3*a*l,c=s*l-9*a*u,p=l*l-3*s*u,d=0;if(Wn(h)&&Wn(c))if(Wn(s))o[0]=0;else{var f=-l/s;f>=0&&f<=1&&(o[d++]=f)}else{var g=c*c-4*h*p;if(Wn(g)){var y=c/h,v=(f=-s/a+y,-y/2);f>=0&&f<=1&&(o[d++]=f),v>=0&&v<=1&&(o[d++]=v)}else if(g>0){var m=Nn(g),x=h*s+1.5*a*(-c+m),_=h*s+1.5*a*(-c-m);x=x<0?-Rn(-x,Bn):Rn(x,Bn),_=_<0?-Rn(-_,Bn):Rn(_,Bn);f=(-s-(x+_))/(3*a);f>=0&&f<=1&&(o[d++]=f)}else{var w=(2*h*s-3*a*c)/(2*Nn(h*h*h)),b=Math.acos(w)/3,S=Nn(h),M=Math.cos(b),I=(f=(-s-2*S*M)/(3*a),v=(-s+S*(M+Vn*Math.sin(b)))/(3*a),(-s+S*(M-Vn*Math.sin(b)))/(3*a));f>=0&&f<=1&&(o[d++]=f),v>=0&&v<=1&&(o[d++]=v),I>=0&&I<=1&&(o[d++]=I)}}return d}function jn(t,e,n,i,r){var o=6*n-12*e+6*t,a=9*e+3*i-3*t-9*n,s=3*e-3*t,l=0;if(Wn(a)){if(Un(o)){var u=-s/o;u>=0&&u<=1&&(r[l++]=u)}}else{var h=o*o-4*a*s;if(Wn(h))r[0]=-o/(2*a);else if(h>0){var c=Nn(h),p=(u=(-o+c)/(2*a),(-o-c)/(2*a));u>=0&&u<=1&&(r[l++]=u),p>=0&&p<=1&&(r[l++]=p)}}return l}function qn(t,e,n,i,r,o){var a=(e-t)*r+t,s=(n-e)*r+e,l=(i-n)*r+n,u=(s-a)*r+a,h=(l-s)*r+s,c=(h-u)*r+u;o[0]=t,o[1]=a,o[2]=u,o[3]=c,o[4]=c,o[5]=h,o[6]=l,o[7]=i}function Kn(t,e,n,i,r,o,a,s,l,u,h){var c,p,d,f,g,y=.005,v=1/0;Gn[0]=l,Gn[1]=u;for(var m=0;m<1;m+=.05)Fn[0]=Yn(t,n,r,a,m),Fn[1]=Yn(e,i,o,s,m),f=Jt(Gn,Fn),f=0&&f=0&&u<=1&&(r[l++]=u)}}else{var h=a*a-4*o*s;if(Wn(h)){u=-a/(2*o);u>=0&&u<=1&&(r[l++]=u)}else if(h>0){var c=Nn(h),p=(u=(-a+c)/(2*o),(-a-c)/(2*o));u>=0&&u<=1&&(r[l++]=u),p>=0&&p<=1&&(r[l++]=p)}}return l}function ei(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function ni(t,e,n,i,r){var o=(e-t)*i+t,a=(n-e)*i+e,s=(a-o)*i+o;r[0]=t,r[1]=o,r[2]=s,r[3]=s,r[4]=a,r[5]=n}function ii(t,e,n,i,r,o,a,s,l){var u,h=.005,c=1/0;Gn[0]=a,Gn[1]=s;for(var p=0;p<1;p+=.05){Fn[0]=$n(t,n,r,p),Fn[1]=$n(e,i,o,p);var d=Jt(Gn,Fn);d=0&&d=1?1:Zn(0,i,o,1,t,s)&&Yn(0,r,a,1,s[0])}}}var si=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||At,this.ondestroy=t.ondestroy||At,this.onrestart=t.onrestart||At,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,i=t-this._startTime-this._pausedTime,r=i/n;r<0&&(r=0),r=Math.min(r,1);var o=this.easingFunc,a=o?o(r):r;if(this.onframe(a),1===r){if(!this.loop)return!0;var s=i%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=$(t)?t:On[t]||ai(t)},t}(),li=function(){function t(t){this.value=t}return t}(),ui=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new li(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),hi=function(){function t(t){this._list=new ui,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,i=this._map,r=null;if(null==i[t]){var o=n.len(),a=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var s=n.head;n.remove(s),delete i[s.key],r=s.value,this._lastRemovedEntry=s}a?a.value=e:a=new li(e),a.key=t,n.insertEntry(a),i[t]=a}return r},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}(),ci={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function pi(t){return t=Math.round(t),t<0?0:t>255?255:t}function di(t){return t=Math.round(t),t<0?0:t>360?360:t}function fi(t){return t<0?0:t>1?1:t}function gi(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?pi(parseFloat(e)/100*255):pi(parseInt(e,10))}function yi(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?fi(parseFloat(e)/100):fi(parseFloat(e))}function vi(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function mi(t,e,n){return t+(e-t)*n}function xi(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function _i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var wi=new hi(20),bi=null;function Si(t,e){bi&&_i(bi,e),bi=wi.put(t,bi||e.slice())}function Mi(t,e){if(t){e=e||[];var n=wi.get(t);if(n)return _i(e,n);t+="";var i=t.replace(/ /g,"").toLowerCase();if(i in ci)return _i(e,ci[i]),Si(t,e),e;var r=i.length;if("#"!==i.charAt(0)){var o=i.indexOf("("),a=i.indexOf(")");if(-1!==o&&a+1===r){var s=i.substr(0,o),l=i.substr(o+1,a-(o+1)).split(","),u=1;switch(s){case"rgba":if(4!==l.length)return 3===l.length?xi(e,+l[0],+l[1],+l[2],1):xi(e,0,0,0,1);u=yi(l.pop());case"rgb":return l.length>=3?(xi(e,gi(l[0]),gi(l[1]),gi(l[2]),3===l.length?u:yi(l[3])),Si(t,e),e):void xi(e,0,0,0,1);case"hsla":return 4!==l.length?void xi(e,0,0,0,1):(l[3]=yi(l[3]),Ii(l,e),Si(t,e),e);case"hsl":return 3!==l.length?void xi(e,0,0,0,1):(Ii(l,e),Si(t,e),e);default:return}}xi(e,0,0,0,1)}else{if(4===r||5===r){var h=parseInt(i.slice(1,4),16);return h>=0&&h<=4095?(xi(e,(3840&h)>>4|(3840&h)>>8,240&h|(240&h)>>4,15&h|(15&h)<<4,5===r?parseInt(i.slice(4),16)/15:1),Si(t,e),e):void xi(e,0,0,0,1)}if(7===r||9===r){h=parseInt(i.slice(1,7),16);return h>=0&&h<=16777215?(xi(e,(16711680&h)>>16,(65280&h)>>8,255&h,9===r?parseInt(i.slice(7),16)/255:1),Si(t,e),e):void xi(e,0,0,0,1)}}}}function Ii(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=yi(t[1]),r=yi(t[2]),o=r<=.5?r*(i+1):r+i-r*i,a=2*r-o;return e=e||[],xi(e,pi(255*vi(a,o,n+1/3)),pi(255*vi(a,o,n)),pi(255*vi(a,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function Ti(t){if(t){var e,n,i=t[0]/255,r=t[1]/255,o=t[2]/255,a=Math.min(i,r,o),s=Math.max(i,r,o),l=s-a,u=(s+a)/2;if(0===l)e=0,n=0;else{n=u<.5?l/(s+a):l/(2-s-a);var h=((s-i)/6+l/2)/l,c=((s-r)/6+l/2)/l,p=((s-o)/6+l/2)/l;i===s?e=p-c:r===s?e=1/3+h-p:o===s&&(e=2/3+c-h),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,u];return null!=t[3]&&d.push(t[3]),d}}function Ci(t,e){var n=Mi(t);if(n){for(var i=0;i<3;i++)n[i]=e<0?n[i]*(1-e)|0:(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return Ni(n,4===n.length?"rgba":"rgb")}}function Di(t){var e=Mi(t);if(e)return((1<<24)+(e[0]<<16)+(e[1]<<8)+ +e[2]).toString(16).slice(1)}function Ai(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=e[r],s=e[o],l=i-r;return n[0]=pi(mi(a[0],s[0],l)),n[1]=pi(mi(a[1],s[1],l)),n[2]=pi(mi(a[2],s[2],l)),n[3]=fi(mi(a[3],s[3],l)),n}}var ki=Ai;function Li(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i=t*(e.length-1),r=Math.floor(i),o=Math.ceil(i),a=Mi(e[r]),s=Mi(e[o]),l=i-r,u=Ni([pi(mi(a[0],s[0],l)),pi(mi(a[1],s[1],l)),pi(mi(a[2],s[2],l)),fi(mi(a[3],s[3],l))],"rgba");return n?{color:u,leftIndex:r,rightIndex:o,value:i}:u}}var Pi=Li;function Oi(t,e,n,i){var r=Mi(t);if(t)return r=Ti(r),null!=e&&(r[0]=di(e)),null!=n&&(r[1]=yi(n)),null!=i&&(r[2]=yi(i)),Ni(Ii(r),"rgba")}function Ri(t,e){var n=Mi(t);if(n&&null!=e)return n[3]=fi(e),Ni(n,"rgba")}function Ni(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function Ei(t,e){var n=Mi(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}function zi(){return Ni([Math.round(255*Math.random()),Math.round(255*Math.random()),Math.round(255*Math.random())],"rgb")}var Vi=new hi(100);function Bi(t){if(Q(t)){var e=Vi.get(t);return e||(e=Ci(t,-.1),Vi.put(t,e)),e}if(at(t)){var n=N({},t);return n.colorStops=W(t.colorStops,(function(t){return{offset:t.offset,color:Ci(t.color,-.1)}})),n}return t}var Gi=Object.freeze({__proto__:null,parse:Mi,lift:Ci,toHex:Di,fastLerp:Ai,fastMapToColor:ki,lerp:Li,mapToColor:Pi,modifyHSL:Oi,modifyAlpha:Ri,stringify:Ni,lum:Ei,random:zi,liftColor:Bi}),Fi=Math.round;function Hi(t){var e;if(t&&"transparent"!==t){if("string"===typeof t&&t.indexOf("rgba")>-1){var n=Mi(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var Wi=1e-4;function Ui(t){return t-Wi}function Yi(t){return Fi(1e3*t)/1e3}function Xi(t){return Fi(1e4*t)/1e4}function Zi(t){return"matrix("+Yi(t[0])+","+Yi(t[1])+","+Yi(t[2])+","+Yi(t[3])+","+Xi(t[4])+","+Xi(t[5])+")"}var ji={left:"start",right:"end",center:"middle",middle:"middle"};function qi(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}function Ki(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}function Ji(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}function $i(t){return t&&!!t.image}function Qi(t){return t&&!!t.svgElement}function tr(t){return $i(t)||Qi(t)}function er(t){return"linear"===t.type}function nr(t){return"radial"===t.type}function ir(t){return t&&("linear"===t.type||"radial"===t.type)}function rr(t){return"url(#"+t+")"}function or(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function ar(t){var e=t.x||0,n=t.y||0,i=(t.rotation||0)*kt,r=ct(t.scaleX,1),o=ct(t.scaleY,1),a=t.skewX||0,s=t.skewY||0,l=[];return(e||n)&&l.push("translate("+e+"px,"+n+"px)"),i&&l.push("rotate("+i+")"),1===r&&1===o||l.push("scale("+r+","+o+")"),(a||s)&&l.push("skew("+Fi(a*kt)+"deg, "+Fi(s*kt)+"deg)"),l.join(" ")}var sr=function(){return a.hasGlobalWindow&&$(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!==typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return L("Base64 isn't natively supported in the current environment."),null}}(),lr=Array.prototype.slice;function ur(t,e,n){return(e-t)*n+t}function hr(t,e,n,i){for(var r=e.length,o=0;oi?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;sa;if(s)i.length=a;else for(var l=o;l=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var i=this.keyframes,r=i.length,o=!1,a=Ir,s=e;if(F(e)){var l=mr(e);a=l,(1===l&&!et(e[0])||2===l&&!et(e[0][0]))&&(o=!0)}else if(et(e)&&!ut(e))a=xr;else if(Q(e))if(isNaN(+e)){var u=Mi(e);u&&(s=u,a=br)}else a=xr;else if(at(e)){var h=N({},s);h.colorStops=W(e.colorStops,(function(t){return{offset:t.offset,color:Mi(t.color)}})),er(e)?a=Sr:nr(e)&&(a=Mr),s=h}0===r?this.valType=a:a===this.valType&&a!==Ir||(o=!0),this.discrete=this.discrete||o;var c={time:t,value:s,rawValue:e,percent:0};return n&&(c.easing=n,c.easingFunc=$(n)?n:On[n]||ai(n)),i.push(c),c},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var i=this.valType,r=n.length,o=n[r-1],a=this.discrete,s=Cr(i),l=Tr(i),u=0;u=0;n--)if(l[n].percent<=e)break;n=d(n,u-2)}else{for(n=p;ne)break;n=d(n-1,u-2)}r=l[n+1],i=l[n]}if(i&&r){this._lastFr=n,this._lastFrP=e;var g=r.percent-i.percent,y=0===g?1:d((e-i.percent)/g,1);r.easingFunc&&(y=r.easingFunc(y));var v=o?this._additiveValue:c?Dr:t[h];if(!Cr(s)&&!c||v||(v=this._additiveValue=[]),this.discrete)t[h]=y<1?i.rawValue:r.rawValue;else if(Cr(s))s===_r?hr(v,i[a],r[a],y):cr(v,i[a],r[a],y);else if(Tr(s)){var m=i[a],x=r[a],_=s===Sr;t[h]={type:_?"linear":"radial",x:ur(m.x,x.x,y),y:ur(m.y,x.y,y),colorStops:W(m.colorStops,(function(t,e){var n=x.colorStops[e];return{offset:ur(t.offset,n.offset,y),color:vr(hr([],t.color,n.color,y))}})),global:x.global},_?(t[h].x2=ur(m.x2,x.x2,y),t[h].y2=ur(m.y2,x.y2,y)):t[h].r=ur(m.r,x.r,y)}else if(c)hr(v,i[a],r[a],y),o||(t[h]=vr(v));else{var w=ur(i[a],r[a],y);o?this._additiveValue=w:t[h]=w}o&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;e===xr?t[n]=t[n]+i:e===br?(Mi(t[n],Dr),pr(Dr,Dr,i,1),t[n]=vr(Dr)):e===_r?pr(t[n],t[n],i,1):e===wr&&dr(t[n],t[n],i,1)},t}(),kr=function(){function t(t,e,n,i){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i?L("Can' use additive animation on looped animation."):(this._additiveAnimators=i,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,Z(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o0&&s.addKeyframe(0,yr(l),i),this._trackKeys.push(a)}s.addKeyframe(t,yr(e[a]),i)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r1){var a=o.pop();r.addKeyframe(a.time,t[i]),r.prepare(this._maxTime,r.getAdditiveTrack())}}}},t}();function Lr(){return(new Date).getTime()}var Pr=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return i(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){var e=Lr()-this._pausedTime,n=e-this._time,i=this._head;while(i){var r=i.next,o=i.step(e,n);o?(i.ondestroy(),this.removeClip(i),i=r):i=r}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;function e(){t._running&&(Pn(e),!t._paused&&t.update())}this._running=!0,Pn(e)},e.prototype.start=function(){this._running||(this._time=Lr(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Lr(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Lr()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){var t=this._head;while(t){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new kr(t,e.loop);return this.addAnimator(n),n},e}(ae),Or=300,Rr=a.domSupported,Nr=function(){var t=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],e=["touchstart","touchend","touchmove"],n={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=W(t,(function(t){var e=t.replace("mouse","pointer");return n.hasOwnProperty(e)?e:t}));return{mouse:t,touch:e,pointer:i}}(),Er={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},zr=!1;function Vr(t){var e=t.pointerType;return"pen"===e||"touch"===e}function Br(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}function Gr(t){t&&(t.zrByTouch=!0)}function Fr(t,e){return Te(t.dom,new Wr(t,e),!0)}function Hr(t,e){var n=e,i=!1;while(n&&9!==n.nodeType&&!(i=n.domBelongToZr||n!==e&&n===t.painterRoot))n=n.parentNode;return i}var Wr=function(){function t(t,e){this.stopPropagation=At,this.stopImmediatePropagation=At,this.preventDefault=At,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY}return t}(),Ur={mousedown:function(t){t=Te(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=Te(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=Te(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){t=Te(this.dom,t);var e=t.toElement||t.relatedTarget;Hr(this,e)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){zr=!0,t=Te(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){zr||(t=Te(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){t=Te(this.dom,t),Gr(t),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),Ur.mousemove.call(this,t),Ur.mousedown.call(this,t)},touchmove:function(t){t=Te(this.dom,t),Gr(t),this.handler.processGesture(t,"change"),Ur.mousemove.call(this,t)},touchend:function(t){t=Te(this.dom,t),Gr(t),this.handler.processGesture(t,"end"),Ur.mouseup.call(this,t),+new Date-+this.__lastTouchMomentoo||t<-oo}var so=[],lo=[],uo=Ee(),ho=Math.abs,co=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return ao(this.rotation)||ao(this.x)||ao(this.y)||ao(this.scaleX-1)||ao(this.scaleY-1)||ao(this.skewX)||ao(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||Ee(),e?this.getLocalTransform(n):ro(n),t&&(e?Be(n,t,n):Ve(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&(ro(n),this.invTransform=null)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(so);var n=so[0]<0?-1:1,i=so[1]<0?-1:1,r=((so[0]-n)*e+n)/so[0]||0,o=((so[1]-i)*e+i)/so[1]||0;t[0]*=r,t[1]*=r,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Ee(),We(this.invTransform,t)},t.prototype.getComputedTransform=function(){var t=this,e=[];while(t)e.push(t),t=t.parent;while(t=e.pop())t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],i=Math.atan2(t[1],t[0]),r=Math.PI/2+i-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(r),e=Math.sqrt(e),this.skewX=r,this.skewY=0,this.rotation=-i,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||Ee(),Be(lo,t.invTransform,e),e=lo);var n=this.originX,i=this.originY;(n||i)&&(uo[4]=n,uo[5]=i,Be(lo,e,uo),lo[4]-=n,lo[5]-=i,e=lo),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&te(n,n,i),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&te(n,n,i),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&ho(t[0]-1)>1e-10&&ho(t[3]-1)>1e-10?Math.sqrt(ho(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){fo(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,i=t.originY||0,r=t.scaleX,o=t.scaleY,a=t.anchorX,s=t.anchorY,l=t.rotation||0,u=t.x,h=t.y,c=t.skewX?Math.tan(t.skewX):0,p=t.skewY?Math.tan(-t.skewY):0;if(n||i||a||s){var d=n+a,f=i+s;e[4]=-d*r-c*f*o,e[5]=-f*o-p*d*r}else e[4]=e[5]=0;return e[0]=r,e[3]=o,e[1]=p*r,e[2]=c*o,l&&Fe(e,e,l),e[4]+=n+u,e[5]+=i+h,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),po=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function fo(t,e){for(var n=0;n=0?parseFloat(t)/100*e:parseFloat(t):t}function So(t,e,n){var i=e.position||"inside",r=null!=e.distance?e.distance:5,o=n.height,a=n.width,s=o/2,l=n.x,u=n.y,h="left",c="top";if(i instanceof Array)l+=bo(i[0],n.width),u+=bo(i[1],n.height),h=null,c=null;else switch(i){case"left":l-=r,u+=s,h="right",c="middle";break;case"right":l+=r+a,u+=s,c="middle";break;case"top":l+=a/2,u-=r,h="center",c="bottom";break;case"bottom":l+=a/2,u+=o+r,h="center";break;case"inside":l+=a/2,u+=s,h="center",c="middle";break;case"insideLeft":l+=r,u+=s,c="middle";break;case"insideRight":l+=a-r,u+=s,h="right",c="middle";break;case"insideTop":l+=a/2,u+=r,h="center";break;case"insideBottom":l+=a/2,u+=o-r,h="center",c="bottom";break;case"insideTopLeft":l+=r,u+=r;break;case"insideTopRight":l+=a-r,u+=r,h="right";break;case"insideBottomLeft":l+=r,u+=o-r,c="bottom";break;case"insideBottomRight":l+=a-r,u+=o-r,h="right",c="bottom";break}return t=t||{},t.x=l,t.y=u,t.align=h,t.verticalAlign=c,t}var Mo="__zr_normal__",Io=po.concat(["ignore"]),To=U(po,(function(t,e){return t[e]=!0,t}),{ignore:!1}),Co={},Do=new en(0,0,0,0),Ao=function(){function t(t){this.id=k(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0;break}var i=this.transform;i||(i=this.transform=[1,0,0,1,0,0]),i[4]+=t,i[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,i=n.local,r=e.innerTransformable,o=void 0,a=void 0,s=!1;r.parent=i?this:null;var l=!1;if(r.copyTransform(e),null!=n.position){var u=Do;n.layoutRect?u.copy(n.layoutRect):u.copy(this.getBoundingRect()),i||u.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(Co,n,u):So(Co,n,u),r.x=Co.x,r.y=Co.y,o=Co.align,a=Co.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var c=void 0,p=void 0;"center"===h?(c=.5*u.width,p=.5*u.height):(c=bo(h[0],u.width),p=bo(h[1],u.height)),l=!0,r.originX=-r.x+c+(i?0:u.x),r.originY=-r.y+p+(i?0:u.y)}}null!=n.rotation&&(r.rotation=n.rotation);var d=n.offset;d&&(r.x+=d[0],r.y+=d[1],l||(r.originX=-d[0],r.originY=-d[1]));var f=null==n.inside?"string"===typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),y=void 0,v=void 0,m=void 0;f&&this.canBeInsideText()?(y=n.insideFill,v=n.insideStroke,null!=y&&"auto"!==y||(y=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(y),m=!0)):(y=n.outsideFill,v=n.outsideStroke,null!=y&&"auto"!==y||(y=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(y),m=!0)),y=y||"#000",y===g.fill&&v===g.stroke&&m===g.autoStroke&&o===g.align&&a===g.verticalAlign||(s=!0,g.fill=y,g.stroke=v,g.autoStroke=m,g.align=o,g.verticalAlign=a,e.setDefaultTextStyle(g)),e.__dirty|=Mn,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?no:eo},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"===typeof e&&Mi(e);n||(n=[255,255,255,1]);for(var i=n[3],r=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*i+(r?0:255)*(1-i);return n[3]=1,Ni(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},N(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"===typeof t)this.attrKV(t,e);else if(nt(t))for(var n=t,i=Z(n),r=0;r0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(Mo,!1,t)},t.prototype.useState=function(t,e,n,i){var r=t===Mo,o=this.hasState();if(o||!r){var a=this.currentStates,s=this.stateTransition;if(!(V(a,t)>=0)||!e&&1!==a.length){var l;if(this.stateProxy&&!r&&(l=this.stateProxy(t)),l||(l=this.states&&this.states[t]),l||r){r||this.saveCurrentToNormalState(l);var u=!!(l&&l.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,l,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,c=this._textGuide;return h&&h.useState(t,e,n,u),c&&c.useState(t,e,n,u),r?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Mn),l}L("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var i=[],r=this.currentStates,o=t.length,a=o===r.length;if(a)for(var s=0;s0,d);var f=this._textContent,g=this._textGuide;f&&f.useStates(t,e,c),g&&g.useStates(t,e,c),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Mn)}else this.clearStates()},t.prototype.isSilent=function(){var t=this.silent,e=this.parent;while(!t&&e){if(e.silent){t=!0;break}e=e.parent}return t},t.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var i=this.currentStates.slice(),r=V(i,t),o=V(i,e)>=0;r>=0?o?i.splice(r,1):i[r]=e:n&&!o&&i.push(e),this.useStates(i)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},i=0;i=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,i=n.length,r=[],o=0;o0&&n.during&&o[0].during((function(t,e){n.during(e)}));for(var p=0;p0||r.force&&!a.length){var M=void 0,I=void 0,T=void 0;if(s){I={},p&&(M={});for(_=0;_=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=V(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,i=n[e];if(t&&t!==this&&t.parent!==this&&t!==i){n[e]=t,i.parent=null;var r=this.__zr;r&&i.removeSelfFromZr(r),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,i=V(n,t);return i<0||(n.splice(i,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover())},t.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},t.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},t.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},t.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},t.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},t.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e0){if(t<=r)return a;if(t>=o)return s}else{if(t>=r)return a;if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function ia(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%";break}return Q(t)?ea(t).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function ra(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),ta),t=(+t).toFixed(e),n?t:+t}function oa(t){return t.sort((function(t,e){return t-e})),t}function aa(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return sa(t)}function sa(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),i=n>0?+e.slice(n+1):0,r=n>0?n:e.length,o=e.indexOf("."),a=o<0?0:r-1-o;return Math.max(0,a-i)}function la(t,e){var n=Math.log,i=Math.LN10,r=Math.floor(n(t[1]-t[0])/i),o=Math.round(n(Math.abs(e[1]-e[0]))/i),a=Math.min(Math.max(-r+o,0),20);return isFinite(a)?a:20}function ua(t,e,n){if(!t[e])return 0;var i=ha(t,n);return i[e]||0}function ha(t,e){var n=U(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];var i=Math.pow(10,e),r=W(t,(function(t){return(isNaN(t)?0:t)/n*i*100})),o=100*i,a=W(r,(function(t){return Math.floor(t)})),s=U(a,(function(t,e){return t+e}),0),l=W(r,(function(t,e){return t-a[e]}));while(su&&(u=l[c],h=c);++a[h],l[h]=0,++s}return W(a,(function(t){return t/i}))}function ca(t,e){var n=Math.max(aa(t),aa(e)),i=t+e;return n>ta?i:ra(i,n)}var pa=9007199254740991;function da(t){var e=2*Math.PI;return(t%e+e)%e}function fa(t){return t>-Qo&&t=10&&e++,e}function xa(t,e){var n,i=ma(t),r=Math.pow(10,i),o=t/r;return n=e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10,t=n*r,i>=-20?+t.toFixed(i<0?-i:0):t}function _a(t,e){var n=(t.length-1)*e+1,i=Math.floor(n),r=+t[i-1],o=n-i;return o?r+o*(t[i]-r):r}function wa(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,i=0;i=0||r&&V(r,s)<0)){var l=n.getShallow(s,e);null!=l&&(o[t[a][0]]=l)}}return o}}var Vs=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Bs=zs(Vs),Gs=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return Bs(this,t,e)},t}(),Fs=new hi(50);function Hs(t){if("string"===typeof t){var e=Fs.get(t);return e&&e.image}return t}function Ws(t,e,n,i,r){if(t){if("string"===typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var o=Fs.get(t),a={hostEl:n,cb:i,cbPayload:r};return o?(e=o.image,!Ys(e)&&o.pending.push(a)):(e=y.loadImage(t,Us,Us),e.__zrImageSrc=t,Fs.put(t,e.__cachedImgObj={image:e,pending:[a]})),e}return t}return e}function Us(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e=a;l++)s-=a;var u=yo(n,e);return u>s&&(n="",u=0),s=t-u,r.ellipsis=n,r.ellipsisWidth=u,r.contentWidth=s,r.containerWidth=t,r}function Ks(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i)return t.textLine="",void(t.isTruncated=!1);var a=yo(e,r);if(a<=i)return t.textLine=e,void(t.isTruncated=!1);for(var s=0;;s++){if(a<=o||s>=n.maxIterations){e+=n.ellipsis;break}var l=0===s?Js(e,o,n.ascCharWidth,n.cnCharWidth):a>0?Math.floor(e.length*o/a):0;e=e.substr(0,l),a=yo(e,r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}function Js(t,e,n,i){for(var r=0,o=0,a=t.length;of&&h){var g=Math.floor(f/l);c=c||n.length>g,n=n.slice(0,g)}if(t&&a&&null!=p)for(var y=qs(p,o,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),v={},m=0;ml&&il(n,t.substring(l,u),e,s),il(n,i[2],e,s,i[1]),l=Xs.lastIndex}lo){var A=n.lines.length;b>0?(x.tokens=x.tokens.slice(0,b),v(x,w,_),n.lines=n.lines.slice(0,m+1)):n.lines=n.lines.slice(0,m),n.isTruncated=n.isTruncated||n.lines.length0&&f+i.accumWidth>i.width&&(o=e.split("\n"),c=!0),i.accumWidth=f}else{var g=sl(e,h,i.width,i.breakAll,i.accumWidth);i.accumWidth=g.accumWidth+d,a=g.linesWidths,o=g.lines}}else o=e.split("\n");for(var y=0;y=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}var ol=U(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function al(t){return!rl(t)||!!ol[t]}function sl(t,e,n,i,r){for(var o=[],a=[],s="",l="",u=0,h=0,c=0;cn:r+h+d>n)?h?(s||l)&&(f?(s||(s=l,l="",u=0,h=u),o.push(s),a.push(h-u),l+=p,u+=d,s="",h=u):(l&&(s+=l,l="",u=0),o.push(s),a.push(h),s=p,h=d)):f?(o.push(l),a.push(u),l=p,u=d):(o.push(p),a.push(d)):(h+=d,f?(l+=p,u+=d):(l&&(s+=l,l="",u=0),s+=p))}else l&&(s+=l,h+=u),o.push(s),a.push(h),s="",l="",u=0,h=0}return o.length||s||(s=t,l="",u=0),l&&(s+=l),s&&(o.push(s),a.push(h)),1===o.length&&(h+=r),{accumWidth:h,lines:o,linesWidths:a}}var ll="__zr_style_"+Math.round(10*Math.random()),ul={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},hl={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};ul[ll]=!0;var cl=["z","z2","invisible"],pl=["invisible"],dl=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype._init=function(e){for(var n=Z(e),i=0;i1e-4)return s[0]=t-n,s[1]=e-i,l[0]=t+n,void(l[1]=e+i);if(bl[0]=_l(r)*n+t,bl[1]=xl(r)*i+e,Sl[0]=_l(o)*n+t,Sl[1]=xl(o)*i+e,u(s,bl,Sl),h(l,bl,Sl),r%=wl,r<0&&(r+=wl),o%=wl,o<0&&(o+=wl),r>o&&!a?o+=wl:rr&&(Ml[0]=_l(d)*n+t,Ml[1]=xl(d)*i+e,u(s,Ml,s),h(l,Ml,l))}var Pl={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ol=[],Rl=[],Nl=[],El=[],zl=[],Vl=[],Bl=Math.min,Gl=Math.max,Fl=Math.cos,Hl=Math.sin,Wl=Math.abs,Ul=Math.PI,Yl=2*Ul,Xl="undefined"!==typeof Float32Array,Zl=[];function jl(t){var e=Math.round(t/Ul*1e8)/1e8;return e%2*Ul}function ql(t,e){var n=jl(t[0]);n<0&&(n+=Yl);var i=n-t[0],r=t[1];r+=i,!e&&r-n>=Yl?r=n+Yl:e&&n-r>=Yl?r=n-Yl:!e&&n>r?r=n+(Yl-jl(n-r)):e&&n0&&(this._ux=Wl(n/Qr/t)||0,this._uy=Wl(n/Qr/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(Pl.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=Wl(t-this._xi),i=Wl(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(Pl.L,t,e),this._ctx&&r&&this._ctx.lineTo(t,e),r)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var o=n*n+i*i;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=o)}return this},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(Pl.C,t,e,n,i,r,o),this._ctx&&this._ctx.bezierCurveTo(t,e,n,i,r,o),this._xi=r,this._yi=o,this},t.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(Pl.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},t.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),Zl[0]=i,Zl[1]=r,ql(Zl,o),i=Zl[0],r=Zl[1];var a=r-i;return this.addData(Pl.A,t,e,n,n,i,a,0,o?0:1),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=Fl(r)*n+t,this._yi=Hl(r)*n+e,this},t.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},t.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(Pl.R,t,e,n,i),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(Pl.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!Xl||(this.data=new Float32Array(e));for(var n=0;nu.length&&(this._expandData(),u=this.data);for(var h=0;h0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){Nl[0]=Nl[1]=zl[0]=zl[1]=Number.MAX_VALUE,El[0]=El[1]=Vl[0]=Vl[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,i=0,r=0,o=0;for(t=0;tn||Wl(m)>i||c===e-1)&&(f=Math.sqrt(v*v+m*m),r=g,o=y);break;case Pl.C:var x=t[c++],_=t[c++],w=(g=t[c++],y=t[c++],t[c++]),b=t[c++];f=Jn(r,o,x,_,g,y,w,b,10),r=w,o=b;break;case Pl.Q:x=t[c++],_=t[c++],g=t[c++],y=t[c++];f=ri(r,o,x,_,g,y,10),r=g,o=y;break;case Pl.A:var S=t[c++],M=t[c++],I=t[c++],T=t[c++],C=t[c++],D=t[c++],A=D+C;c+=1,d&&(a=Fl(C)*I+S,s=Hl(C)*T+M),f=Gl(I,T)*Bl(Yl,Math.abs(D)),r=Fl(A)*I+S,o=Hl(A)*T+M;break;case Pl.R:a=r=t[c++],s=o=t[c++];var k=t[c++],L=t[c++];f=2*k+2*L;break;case Pl.Z:v=a-r,m=s-o;f=Math.sqrt(v*v+m*m),r=a,o=s;break}f>=0&&(l[h++]=f,u+=f)}return this._pathLen=u,u},t.prototype.rebuildPath=function(t,e){var n,i,r,o,a,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,m=0,x=0,_=0;if(!v||(this._pathSegLen||this._calculateLength(),l=this._pathSegLen,u=this._pathLen,h=e*u,h))t:for(var w=0;w0&&(t.lineTo(c,p),_=0),b){case Pl.M:n=r=d[w++],i=o=d[w++],t.moveTo(r,o);break;case Pl.L:a=d[w++],s=d[w++];var M=Wl(a-r),I=Wl(s-o);if(M>f||I>g){if(v){var T=l[x++];if(m+T>h){var C=(h-m)/T;t.lineTo(r*(1-C)+a*C,o*(1-C)+s*C);break t}m+=T}t.lineTo(a,s),r=a,o=s,_=0}else{var D=M*M+I*I;D>_&&(c=a,p=s,_=D)}break;case Pl.C:var A=d[w++],k=d[w++],L=d[w++],P=d[w++],O=d[w++],R=d[w++];if(v){T=l[x++];if(m+T>h){C=(h-m)/T;qn(r,A,L,O,C,Ol),qn(o,k,P,R,C,Rl),t.bezierCurveTo(Ol[1],Rl[1],Ol[2],Rl[2],Ol[3],Rl[3]);break t}m+=T}t.bezierCurveTo(A,k,L,P,O,R),r=O,o=R;break;case Pl.Q:A=d[w++],k=d[w++],L=d[w++],P=d[w++];if(v){T=l[x++];if(m+T>h){C=(h-m)/T;ni(r,A,L,C,Ol),ni(o,k,P,C,Rl),t.quadraticCurveTo(Ol[1],Rl[1],Ol[2],Rl[2]);break t}m+=T}t.quadraticCurveTo(A,k,L,P),r=L,o=P;break;case Pl.A:var N=d[w++],E=d[w++],z=d[w++],V=d[w++],B=d[w++],G=d[w++],F=d[w++],H=!d[w++],W=z>V?z:V,U=Wl(z-V)>.001,Y=B+G,X=!1;if(v){T=l[x++];m+T>h&&(Y=B+G*(h-m)/T,X=!0),m+=T}if(U&&t.ellipse?t.ellipse(N,E,z,V,F,B,Y,H):t.arc(N,E,W,B,Y,H),X)break t;S&&(n=Fl(B)*z+N,i=Hl(B)*V+E),r=Fl(Y)*z+N,o=Hl(Y)*V+E;break;case Pl.R:n=r=d[w],i=o=d[w+1],a=d[w++],s=d[w++];var Z=d[w++],j=d[w++];if(v){T=l[x++];if(m+T>h){var q=h-m;t.moveTo(a,s),t.lineTo(a+Bl(q,Z),s),q-=Z,q>0&&t.lineTo(a+Z,s+Bl(q,j)),q-=j,q>0&&t.lineTo(a+Gl(Z-q,0),s+j),q-=Z,q>0&&t.lineTo(a,s+Gl(j-q,0));break t}m+=T}t.rect(a,s,Z,j);break;case Pl.Z:if(v){T=l[x++];if(m+T>h){C=(h-m)/T;t.lineTo(r*(1-C)+n*C,o*(1-C)+i*C);break t}m+=T}t.closePath(),r=n,o=i}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=Pl,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();function Jl(t,e,n,i,r,o,a){if(0===r)return!1;var s=r,l=0,u=t;if(a>e+s&&a>i+s||at+s&&o>n+s||oe+c&&h>i+c&&h>o+c&&h>s+c||ht+c&&u>n+c&&u>r+c&&u>a+c||ue+u&&l>i+u&&l>o+u||lt+u&&s>n+u&&s>r+u||sn||h+ur&&(r+=nu);var p=Math.atan2(l,s);return p<0&&(p+=nu),p>=i&&p<=r||p+nu>=i&&p+nu<=r}function ru(t,e,n,i,r,o){if(o>e&&o>i||or?s:0}var ou=Kl.CMD,au=2*Math.PI,su=1e-4;function lu(t,e){return Math.abs(t-e)e&&u>i&&u>o&&u>s||u1&&cu(),d=Yn(e,i,o,s,hu[0]),p>1&&(f=Yn(e,i,o,s,hu[1]))),2===p?ye&&s>i&&s>o||s=0&&u<=1){for(var h=0,c=$n(e,i,o,u),p=0;pn||s<-n)return 0;var l=Math.sqrt(n*n-s*s);uu[0]=-l,uu[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=au-1e-4){i=0,r=au;var h=o?1:-1;return a>=uu[0]+t&&a<=uu[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=au,r+=au);for(var p=0,d=0;d<2;d++){var f=uu[d];if(f+t>a){var g=Math.atan2(s,f);h=o?1:-1;g<0&&(g=au+g),(g>=i&&g<=r||g+au>=i&&g+au<=r)&&(g>Math.PI/2&&g<1.5*Math.PI&&(h=-h),p+=h)}}return p}function gu(t,e,n,i,r){for(var o,a,s=t.data,l=t.len(),u=0,h=0,c=0,p=0,d=0,f=0;f1&&(n||(u+=ru(h,c,p,d,i,r))),y&&(h=s[f],c=s[f+1],p=h,d=c),g){case ou.M:p=s[f++],d=s[f++],h=p,c=d;break;case ou.L:if(n){if(Jl(h,c,s[f],s[f+1],e,i,r))return!0}else u+=ru(h,c,s[f],s[f+1],i,r)||0;h=s[f++],c=s[f++];break;case ou.C:if(n){if($l(h,c,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=pu(h,c,s[f++],s[f++],s[f++],s[f++],s[f],s[f+1],i,r)||0;h=s[f++],c=s[f++];break;case ou.Q:if(n){if(Ql(h,c,s[f++],s[f++],s[f],s[f+1],e,i,r))return!0}else u+=du(h,c,s[f++],s[f++],s[f],s[f+1],i,r)||0;h=s[f++],c=s[f++];break;case ou.A:var v=s[f++],m=s[f++],x=s[f++],_=s[f++],w=s[f++],b=s[f++];f+=1;var S=!!(1-s[f++]);o=Math.cos(w)*x+v,a=Math.sin(w)*_+m,y?(p=o,d=a):u+=ru(h,c,o,a,i,r);var M=(i-v)*_/x+v;if(n){if(iu(v,m,_,w,w+b,S,e,M,r))return!0}else u+=fu(v,m,_,w,w+b,S,M,r);h=Math.cos(w+b)*x+v,c=Math.sin(w+b)*_+m;break;case ou.R:p=h=s[f++],d=c=s[f++];var I=s[f++],T=s[f++];if(o=p+I,a=d+T,n){if(Jl(p,d,o,d,e,i,r)||Jl(o,d,o,a,e,i,r)||Jl(o,a,p,a,e,i,r)||Jl(p,a,p,d,e,i,r))return!0}else u+=ru(o,d,o,a,i,r),u+=ru(p,a,p,d,i,r);break;case ou.Z:if(n){if(Jl(h,c,p,d,e,i,r))return!0}else u+=ru(h,c,p,d,i,r);h=p,c=d;break}}return n||lu(c,d)||(u+=ru(h,c,p,d,i,r)||0),0!==u}function yu(t,e,n){return gu(t,0,!1,e,n)}function vu(t,e,n,i){return gu(t,e,!0,n,i)}var mu=E({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},ul),xu={style:E({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},hl.style)},_u=po.concat(["invisible","culling","z","z2","zlevel","parent"]),wu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var i=this.style;if(i.decal){var r=this._decalEl=this._decalEl||new e;r.buildPath===e.prototype.buildPath&&(r.buildPath=function(t){n.buildPath(t,n.shape)}),r.silent=!0;var o=r.style;for(var a in i)o[a]!==i[a]&&(o[a]=i[a]);o.fill=i.fill?i.decal:null,o.decal=null,o.shadowColor=null,i.strokeFirst&&(o.stroke=null);for(var s=0;s<_u.length;++s)r[_u[s]]=this[_u[s]];r.__dirty|=Mn}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=Z(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r.5?eo:e>.2?io:no}if(t)return no}return eo},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(Q(e)){var n=this.__zr,i=!(!n||!n.isDarkMode()),r=Ei(t,0)0))},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var i=!1;this.path||(i=!0,this.createPathProxy());var r=this.path;(i||this.__dirty&Tn)&&(r.beginPath(),this.buildPath(r,this.shape,!1),this.pathUpdated()),t=r.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var o=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){o.copy(t);var a=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var l=this.strokeContainThreshold;s=Math.max(s,null==l?4:l)}a>1e-10&&(o.width+=s/a,o.height+=s/a,o.x-=s/a/2,o.y-=s/a/2)}return o}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect(),r=this.style;if(t=n[0],e=n[1],i.contain(t,e)){var o=this.path;if(this.hasStroke()){var a=r.lineWidth,s=r.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(a=Math.max(a,this.strokeContainThreshold)),vu(o,a/s,t,e)))return!0}if(this.hasFill())return yu(o,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=Tn,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"===typeof t?n[t]=e:N(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(this.__dirty&Tn)},e.prototype.createStyle=function(t){return Tt(mu,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=N({},this.shape))},e.prototype._applyStateObj=function(e,n,i,r,o,a){t.prototype._applyStateObj.call(this,e,n,i,r,o,a);var s,l=!(n&&r);if(n&&n.shape?o?r?s=n.shape:(s=N({},i.shape),N(s,n.shape)):(s=N({},r?this.shape:i.shape),N(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=N({},this.shape);for(var u={},h=Z(s),c=0;c0},e.prototype.hasFill=function(){var t=this.style,e=t.fill;return null!=e&&"none"!==e},e.prototype.createStyle=function(t){return Tt(bu,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=mo(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var i=t.lineWidth;n.x-=i/2,n.y-=i/2,n.width+=i,n.height+=i}this._rect=n}return this._rect},e.initDefaultProps=function(){var t=e.prototype;t.dirtyRectTolerance=10}(),e}(dl);Su.prototype.type="tspan";var Mu=E({x:0,y:0},ul),Iu={style:E({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},hl.style)};function Tu(t){return!!(t&&"string"!==typeof t&&t.width&&t.height)}var Cu=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.createStyle=function(t){return Tt(Mu,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var i=Tu(e.image)?e.image:this.__image;if(!i)return 0;var r="width"===t?"height":"width",o=e[r];return null==o?i[t]:i[t]/i[r]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return Iu},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new en(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(dl);function Du(t,e){var n,i,r,o,a,s=e.x,l=e.y,u=e.width,h=e.height,c=e.r;u<0&&(s+=u,u=-u),h<0&&(l+=h,h=-h),"number"===typeof c?n=i=r=o=c:c instanceof Array?1===c.length?n=i=r=o=c[0]:2===c.length?(n=r=c[0],i=o=c[1]):3===c.length?(n=c[0],i=o=c[1],r=c[2]):(n=c[0],i=c[1],r=c[2],o=c[3]):n=i=r=o=0,n+i>u&&(a=n+i,n*=u/a,i*=u/a),r+o>u&&(a=r+o,r*=u/a,o*=u/a),i+r>h&&(a=i+r,i*=h/a,r*=h/a),n+o>h&&(a=n+o,n*=h/a,o*=h/a),t.moveTo(s+n,l),t.lineTo(s+u-i,l),0!==i&&t.arc(s+u-i,l+i,i,-Math.PI/2,0),t.lineTo(s+u,l+h-r),0!==r&&t.arc(s+u-r,l+h-r,r,0,Math.PI/2),t.lineTo(s+o,l+h),0!==o&&t.arc(s+o,l+h-o,o,Math.PI/2,Math.PI),t.lineTo(s,l+n),0!==n&&t.arc(s+n,l+n,n,Math.PI,1.5*Math.PI)}Cu.prototype.type="image";var Au=Math.round;function ku(t,e,n){if(e){var i=e.x1,r=e.x2,o=e.y1,a=e.y2;t.x1=i,t.x2=r,t.y1=o,t.y2=a;var s=n&&n.lineWidth;return s?(Au(2*i)===Au(2*r)&&(t.x1=t.x2=Pu(i,s,!0)),Au(2*o)===Au(2*a)&&(t.y1=t.y2=Pu(o,s,!0)),t):t}}function Lu(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,a=e.height;t.x=i,t.y=r,t.width=o,t.height=a;var s=n&&n.lineWidth;return s?(t.x=Pu(i,s,!0),t.y=Pu(r,s,!0),t.width=Math.max(Pu(i+o,s,!1)-t.x,0===o?0:1),t.height=Math.max(Pu(r+a,s,!1)-t.y,0===a?0:1),t):t}}function Pu(t,e,n){if(!e)return t;var i=Au(2*t);return(i+Au(e))%2===0?i/2:(i+(n?1:-1))/2}var Ou=function(){function t(){this.x=0,this.y=0,this.width=0,this.height=0}return t}(),Ru={},Nu=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new Ou},e.prototype.buildPath=function(t,e){var n,i,r,o;if(this.subPixelOptimize){var a=Lu(Ru,e,this.style);n=a.x,i=a.y,r=a.width,o=a.height,a.r=e.r,e=a}else n=e.x,i=e.y,r=e.width,o=e.height;e.r?Du(t,e):t.rect(n,i,r,o)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(wu);Nu.prototype.type="rect";var Eu={fill:"#000"},zu=2,Vu={style:E({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},hl.style)},Bu=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=Eu,n.attr(e),n}return i(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e0,C=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),D=r.calculatedLineHeight,A=0;A=0&&(D=_[C],"right"===D.align))this._placeToken(D,t,b,g,T,"right",v),S-=D.width,T-=D.width,C--;I+=(i-(I-f)-(y-T)-S)/2;while(M<=C)D=_[M],this._placeToken(D,t,b,g,I+D.width/2,"center",v),I+=D.width,M++;g+=b}},e.prototype._placeToken=function(t,e,n,i,r,o,a){var s=e.rich[t.styleName]||{};s.text=t.text;var l=t.verticalAlign,u=i+n/2;"top"===l?u=i+t.height/2:"bottom"===l&&(u=i+n-t.height/2);var c=!t.isLineHolder&&$u(s);c&&this._renderBackground(s,e,"right"===o?r-t.width:"center"===o?r-t.width/2:r,u-t.height/2,t.width,t.height);var p=!!s.backgroundColor,d=t.textPadding;d&&(r=Ku(r,o,d),u-=t.height/2-d[0]-t.innerHeight/2);var f=this._getOrCreateChild(Su),g=f.createStyle();f.useStyle(g);var y=this._defaultStyle,v=!1,m=0,x=qu("fill"in s?s.fill:"fill"in e?e.fill:(v=!0,y.fill)),_=ju("stroke"in s?s.stroke:"stroke"in e?e.stroke:p||a||y.autoStroke&&!v?null:(m=zu,y.stroke)),w=s.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=u,w&&(g.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,g.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=o,g.textBaseline="middle",g.font=t.font||h,g.opacity=pt(s.opacity,e.opacity,1),Uu(g,s),_&&(g.lineWidth=pt(s.lineWidth,e.lineWidth,m),g.lineDash=ct(s.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=_),x&&(g.fill=x);var b=t.contentWidth,S=t.contentHeight;f.setBoundingRect(new en(xo(g.x,b,g.textAlign),_o(g.y,S,g.textBaseline),b,S))},e.prototype._renderBackground=function(t,e,n,i,r,o){var a,s,l=t.backgroundColor,u=t.borderWidth,h=t.borderColor,c=l&&l.image,p=l&&!c,d=t.borderRadius,f=this;if(p||t.lineHeight||u&&h){a=this._getOrCreateChild(Nu),a.useStyle(a.createStyle()),a.style.fill=null;var g=a.shape;g.x=n,g.y=i,g.width=r,g.height=o,g.r=d,a.dirtyShape()}if(p){var y=a.style;y.fill=l||null,y.fillOpacity=ct(t.fillOpacity,1)}else if(c){s=this._getOrCreateChild(Cu),s.onload=function(){f.dirtyStyle()};var v=s.style;v.image=l.image,v.x=n,v.y=i,v.width=r,v.height=o}if(u&&h){y=a.style;y.lineWidth=u,y.stroke=h,y.strokeOpacity=ct(t.strokeOpacity,1),y.lineDash=t.borderDash,y.lineDashOffset=t.borderDashOffset||0,a.strokeContainThreshold=0,a.hasFill()&&a.hasStroke()&&(y.strokeFirst=!0,y.lineWidth*=2)}var m=(a||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=pt(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return Yu(t)&&(e=[t.fontStyle,t.fontWeight,Wu(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&yt(e)||t.textFont||t.font},e}(dl),Gu={left:!0,right:1,center:1},Fu={top:1,bottom:1,middle:1},Hu=["fontStyle","fontWeight","fontSize","fontFamily"];function Wu(t){return"string"!==typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?l+"px":t+"px":t}function Uu(t,e){for(var n=0;n=0,o=!1;if(t instanceof wu){var a=ih(t),s=r&&a.selectFill||a.normalFill,l=r&&a.selectStroke||a.normalStroke;if(vh(s)||vh(l)){i=i||{};var u=i.style||{};"inherit"===u.fill?(o=!0,i=N({},i),u=N({},u),u.fill=s):!vh(u.fill)&&vh(s)?(o=!0,i=N({},i),u=N({},u),u.fill=Bi(s)):!vh(u.stroke)&&vh(l)&&(o||(i=N({},i),u=N({},u)),u.stroke=Bi(l)),i.style=u}}if(i&&null==i.z2){o||(i=N({},i));var h=t.z2EmphasisLift;i.z2=t.z2+(null!=h?h:hh)}return i}function kh(t,e,n){if(n&&null==n.z2){n=N({},n);var i=t.z2SelectLift;n.z2=t.z2+(null!=i?i:ch)}return n}function Lh(t,e,n){var i=V(t.currentStates,e)>=0,r=t.style.opacity,o=i?null:Dh(t,["opacity"],e,{opacity:1});n=n||{};var a=n.style||{};return null==a.opacity&&(n=N({},n),a=N({opacity:i?r:.1*o.opacity},a),n.style=a),n}function Ph(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return Ah(this,t,e,n);if("blur"===t)return Lh(this,t,n);if("select"===t)return kh(this,t,n)}return n}function Oh(t){t.stateProxy=Ph;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=Ph),n&&(n.stateProxy=Ph)}function Rh(t,e){!Hh(t,e)&&!t.__highByOuter&&Th(t,xh)}function Nh(t,e){!Hh(t,e)&&!t.__highByOuter&&Th(t,_h)}function Eh(t,e){t.__highByOuter|=1<<(e||0),Th(t,xh)}function zh(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&Th(t,_h)}function Vh(t){Th(t,wh)}function Bh(t){Th(t,bh)}function Gh(t){Th(t,Sh)}function Fh(t){Th(t,Mh)}function Hh(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function Wh(t){var e=t.getModel(),n=[],i=[];e.eachComponent((function(e,r){var o=rh(r),a="series"===e,s=a?t.getViewOfSeriesModel(r):t.getViewOfComponentModel(r);!a&&i.push(s),o.isBlured&&(s.group.traverse((function(t){bh(t)})),a&&n.push(r)),o.isBlured=!1})),H(i,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function Uh(t,e,n,i){var r=i.getModel();function o(t,e){for(var n=0;n0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}}))})),e}function Qh(t,e,n){ac(t,!0),Th(t,Oh),nc(t,e,n)}function tc(t){ac(t,!1)}function ec(t,e,n,i){i?tc(t):Qh(t,e,n)}function nc(t,e,n){var i=Qu(t);null!=e?(i.focus=e,i.blurScope=n):i.focus&&(i.focus=null)}var ic=["emphasis","blur","select"],rc={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function oc(t,e,n,i){n=n||"itemStyle";for(var r=0;r1&&(a*=mc(f),s*=mc(f));var g=(r===o?-1:1)*mc((a*a*(s*s)-a*a*(d*d)-s*s*(p*p))/(a*a*(d*d)+s*s*(p*p)))||0,y=g*a*d/s,v=g*-s*p/a,m=(t+n)/2+_c(c)*y-xc(c)*v,x=(e+i)/2+xc(c)*y+_c(c)*v,_=Mc([1,0],[(p-y)/a,(d-v)/s]),w=[(p-y)/a,(d-v)/s],b=[(-1*p-y)/a,(-1*d-v)/s],S=Mc(w,b);if(Sc(w,b)<=-1&&(S=wc),Sc(w,b)>=1&&(S=0),S<0){var M=Math.round(S/wc*1e6)/1e6;S=2*wc+M%2*wc}h.addData(u,m,x,a,s,_,S,c,o)}var Tc=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,Cc=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function Dc(t){var e=new Kl;if(!t)return e;var n,i=0,r=0,o=i,a=r,s=Kl.CMD,l=t.match(Tc);if(!l)return e;for(var u=0;uk*k+L*L&&(M=T,I=C),{cx:M,cy:I,x0:-h,y0:-c,x1:M*(r/w-1),y1:I*(r/w-1)}}function Qc(t){var e;if(J(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}function tp(t,e){var n,i=jc(e.r,0),r=jc(e.r0||0,0),o=i>0,a=r>0;if(o||a){if(o||(i=r,r=0),r>i){var s=i;i=r,r=s}var l=e.startAngle,u=e.endAngle;if(!isNaN(l)&&!isNaN(u)){var h=e.cx,c=e.cy,p=!!e.clockwise,d=Xc(u-l),f=d>Fc&&d%Fc;if(f>Kc&&(d=f),i>Kc)if(d>Fc-Kc)t.moveTo(h+i*Wc(l),c+i*Hc(l)),t.arc(h,c,i,l,u,!p),r>Kc&&(t.moveTo(h+r*Wc(u),c+r*Hc(u)),t.arc(h,c,r,u,l,p));else{var g=void 0,y=void 0,v=void 0,m=void 0,x=void 0,_=void 0,w=void 0,b=void 0,S=void 0,M=void 0,I=void 0,T=void 0,C=void 0,D=void 0,A=void 0,k=void 0,L=i*Wc(l),P=i*Hc(l),O=r*Wc(u),R=r*Hc(u),N=d>Kc;if(N){var E=e.cornerRadius;E&&(n=Qc(E),g=n[0],y=n[1],v=n[2],m=n[3]);var z=Xc(i-r)/2;if(x=qc(z,v),_=qc(z,m),w=qc(z,g),b=qc(z,y),I=S=jc(x,_),T=M=jc(w,b),(S>Kc||M>Kc)&&(C=i*Wc(u),D=i*Hc(u),A=r*Wc(l),k=r*Hc(l),dKc){var Y=qc(v,I),X=qc(m,I),Z=$c(A,k,L,P,i,Y,p),j=$c(C,D,O,R,i,X,p);t.moveTo(h+Z.cx+Z.x0,c+Z.cy+Z.y0),I0&&t.arc(h+Z.cx,c+Z.cy,Y,Yc(Z.y0,Z.x0),Yc(Z.y1,Z.x1),!p),t.arc(h,c,i,Yc(Z.cy+Z.y1,Z.cx+Z.x1),Yc(j.cy+j.y1,j.cx+j.x1),!p),X>0&&t.arc(h+j.cx,c+j.cy,X,Yc(j.y1,j.x1),Yc(j.y0,j.x0),!p))}else t.moveTo(h+L,c+P),t.arc(h,c,i,l,u,!p);else t.moveTo(h+L,c+P);if(r>Kc&&N)if(T>Kc){Y=qc(g,T),X=qc(y,T),Z=$c(O,R,C,D,r,-X,p),j=$c(L,P,A,k,r,-Y,p);t.lineTo(h+Z.cx+Z.x0,c+Z.cy+Z.y0),T0&&t.arc(h+Z.cx,c+Z.cy,X,Yc(Z.y0,Z.x0),Yc(Z.y1,Z.x1),!p),t.arc(h,c,r,Yc(Z.cy+Z.y1,Z.cx+Z.x1),Yc(j.cy+j.y1,j.cx+j.x1),p),Y>0&&t.arc(h+j.cx,c+j.cy,Y,Yc(j.y1,j.x1),Yc(j.y0,j.x0),!p))}else t.lineTo(h+O,c+R),t.arc(h,c,r,u,l,p);else t.lineTo(h+O,c+R)}else t.moveTo(h,c);t.closePath()}}}var ep=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0}return t}(),np=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new ep},e.prototype.buildPath=function(t,e){tp(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(wu);np.prototype.type="sector";var ip=function(){function t(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return t}(),rp=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new ip},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=2*Math.PI;t.moveTo(n+e.r,i),t.arc(n,i,e.r,0,r,!1),t.moveTo(n+e.r0,i),t.arc(n,i,e.r0,0,r,!0)},e}(wu);function op(t,e,n,i){var r,o,a,s,l=[],u=[],h=[],c=[];if(i){a=[1/0,1/0],s=[-1/0,-1/0];for(var p=0,d=t.length;p=2){if(i){var o=op(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var a=r.length,s=0;s<(n?a:a-1);s++){var l=o[2*s],u=o[2*s+1],h=r[(s+1)%a];t.bezierCurveTo(l[0],l[1],u[0],u[1],h[0],h[1])}}else{t.moveTo(r[0][0],r[0][1]);s=1;for(var c=r.length;sIp[1]){if(a=!1,r)return a;var u=Math.abs(Ip[0]-Mp[1]),h=Math.abs(Mp[0]-Ip[1]);Math.min(u,h)>i.len()&&(u0){var c=h.duration,p=h.delay,d=h.easing,f={duration:c,delay:p||0,easing:d,done:o,force:!!o||!!a,setToFinal:!u,scope:t,during:a};l?e.animateFrom(n,f):e.animateTo(n,f)}else e.stopAnimation(),!l&&e.attr(n),a&&a(1),o&&o()}function Rp(t,e,n,i,r,o){Op("update",t,e,n,i,r,o)}function Np(t,e,n,i,r,o){Op("enter",t,e,n,i,r,o)}function Ep(t){if(!t.__zr)return!0;for(var e=0;eMath.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function sd(t){return!t.isGroup}function ld(t){return null!=t.shape}function ud(t,e,n){if(t&&e){var i=r(t);e.traverse((function(t){if(sd(t)&&t.anid){var e=i[t.anid];if(e){var r=o(t);t.attr(o(e)),Rp(t,r,n,Qu(t).dataIndex)}}}))}function r(t){var e={};return t.traverse((function(t){sd(t)&&t.anid&&(e[t.anid]=t)})),e}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return ld(t)&&(e.shape=N({},t.shape)),e}}function hd(t,e){return W(t,(function(t){var n=t[0];n=Hp(n,e.x),n=Wp(n,e.x+e.width);var i=t[1];return i=Hp(i,e.y),i=Wp(i,e.y+e.height),[n,i]}))}function cd(t,e){var n=Hp(t.x,e.x),i=Wp(t.x+t.width,e.x+e.width),r=Hp(t.y,e.y),o=Wp(t.y+t.height,e.y+e.height);if(i>=n&&o>=r)return{x:n,y:r,width:i-n,height:o-r}}function pd(t,e,n){var i=N({rectHover:!0},e),r=i.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(r.image=t.slice(8),E(r,n),new Cu(i)):Kp(t.replace("path://",""),i,n,"center")}function dd(t,e,n,i,r){for(var o=0,a=r[r.length-1];o1)return!1;var y=gd(d,f,h,c)/p;return!(y<0||y>1)}function gd(t,e,n,i){return t*i-n*e}function yd(t){return t<=1e-6&&t>=-1e-6}function vd(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=Q(e)?{formatter:e}:e,o=n.mainType,a=n.componentIndex,s={componentType:o,name:i,$vars:["name"]};s[o+"Index"]=a;var l=t.formatterParamsExtra;l&&H(Z(l),(function(t){Dt(s,t)||(s[t]=l[t],s.$vars.push(t))}));var u=Qu(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:E({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function md(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function xd(t,e){if(t)if(J(t))for(var n=0;n=0&&n.push(t)})),n}t.topologicalTravel=function(t,e,i,r){if(t.length){var o=n(e),a=o.graph,s=o.noEntryList,l={};H(t,(function(t){l[t]=!0}));while(s.length){var u=s.pop(),h=a[u],c=!!l[u];c&&(i.call(r,u,h.originalDeps.slice()),delete l[u]),H(h.successor,c?d:p)}H(l,(function(){var n="";throw n=Ea("Circular dependency may exists: ",l,t,e),new Error(n)}))}function p(t){a[t].entryCount--,0===a[t].entryCount&&s.push(t)}function d(t){l[t]=!0,p(t)}}}function Qd(t,e){return O(O({},t,!0),e,!0)}var tf={time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst",custom:"Custom chart",chart:"Chart"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}},ef={time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图",custom:"自定义图表",chart:"图表"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}},nf="ZH",rf="EN",of=rf,af={},sf={},lf=a.domSupported?function(){var t=(document.documentElement.lang||navigator.language||navigator.browserLanguage||of).toUpperCase();return t.indexOf(nf)>-1?nf:of}():of;function uf(t,e){t=t.toUpperCase(),sf[t]=new jd(e),af[t]=e}function hf(t){if(Q(t)){var e=af[t.toUpperCase()]||{};return t===nf||t===rf?P(e):O(P(e),P(af[of]),!1)}return O(P(t),P(af[of]),!1)}function cf(t){return sf[t]}function pf(){return sf[of]}uf(rf,tf),uf(nf,ef);var df=1e3,ff=60*df,gf=60*ff,yf=24*gf,vf=365*yf,mf={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},xf="{yyyy}-{MM}-{dd}",_f={year:"{yyyy}",month:"{yyyy}-{MM}",day:xf,hour:xf+" "+mf.hour,minute:xf+" "+mf.minute,second:xf+" "+mf.second,millisecond:mf.none},wf=["year","month","day","hour","minute","second","millisecond"],bf=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function Sf(t,e){return t+="","0000".substr(0,e-t.length)+t}function Mf(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function If(t){return t===Mf(t)}function Tf(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function Cf(t,e,n,i){var r=ya(t),o=r[Lf(n)](),a=r[Pf(n)]()+1,s=Math.floor((a-1)/3)+1,l=r[Of(n)](),u=r["get"+(n?"UTC":"")+"Day"](),h=r[Rf(n)](),c=(h-1)%12+1,p=r[Nf(n)](),d=r[Ef(n)](),f=r[zf(n)](),g=h>=12?"pm":"am",y=g.toUpperCase(),v=i instanceof jd?i:cf(i||lf)||pf(),m=v.getModel("time"),x=m.get("month"),_=m.get("monthAbbr"),w=m.get("dayOfWeek"),b=m.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,g+"").replace(/{A}/g,y+"").replace(/{yyyy}/g,o+"").replace(/{yy}/g,Sf(o%100+"",2)).replace(/{Q}/g,s+"").replace(/{MMMM}/g,x[a-1]).replace(/{MMM}/g,_[a-1]).replace(/{MM}/g,Sf(a,2)).replace(/{M}/g,a+"").replace(/{dd}/g,Sf(l,2)).replace(/{d}/g,l+"").replace(/{eeee}/g,w[u]).replace(/{ee}/g,b[u]).replace(/{e}/g,u+"").replace(/{HH}/g,Sf(h,2)).replace(/{H}/g,h+"").replace(/{hh}/g,Sf(c+"",2)).replace(/{h}/g,c+"").replace(/{mm}/g,Sf(p,2)).replace(/{m}/g,p+"").replace(/{ss}/g,Sf(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,Sf(f,3)).replace(/{S}/g,f+"")}function Df(t,e,n,i,r){var o=null;if(Q(n))o=n;else if($(n))o=n(t.value,e,{level:t.level});else{var a=N({},mf);if(t.level>0)for(var s=0;s=0;--s)if(l[u]){o=l[u];break}o=o||a.none}if(J(o)){var c=null==t.level?0:t.level>=0?t.level:o.length+t.level;c=Math.min(c,o.length-1),o=o[c]}}return Cf(new Date(t.value),o,r,i)}function Af(t,e){var n=ya(t),i=n[Pf(e)]()+1,r=n[Of(e)](),o=n[Rf(e)](),a=n[Nf(e)](),s=n[Ef(e)](),l=n[zf(e)](),u=0===l,h=u&&0===s,c=h&&0===a,p=c&&0===o,d=p&&1===r,f=d&&1===i;return f?"year":d?"month":p?"day":c?"hour":h?"minute":u?"second":"millisecond"}function kf(t,e,n){var i=et(t)?ya(t):t;switch(e=e||Af(t,n),e){case"year":return i[Lf(n)]();case"half-year":return i[Pf(n)]()>=6?1:0;case"quarter":return Math.floor((i[Pf(n)]()+1)/4);case"month":return i[Pf(n)]();case"day":return i[Of(n)]();case"half-day":return i[Rf(n)]()/24;case"hour":return i[Rf(n)]();case"minute":return i[Nf(n)]();case"second":return i[Ef(n)]();case"millisecond":return i[zf(n)]()}}function Lf(t){return t?"getUTCFullYear":"getFullYear"}function Pf(t){return t?"getUTCMonth":"getMonth"}function Of(t){return t?"getUTCDate":"getDate"}function Rf(t){return t?"getUTCHours":"getHours"}function Nf(t){return t?"getUTCMinutes":"getMinutes"}function Ef(t){return t?"getUTCSeconds":"getSeconds"}function zf(t){return t?"getUTCMilliseconds":"getMilliseconds"}function Vf(t){return t?"setUTCFullYear":"setFullYear"}function Bf(t){return t?"setUTCMonth":"setMonth"}function Gf(t){return t?"setUTCDate":"setDate"}function Ff(t){return t?"setUTCHours":"setHours"}function Hf(t){return t?"setUTCMinutes":"setMinutes"}function Wf(t){return t?"setUTCSeconds":"setSeconds"}function Uf(t){return t?"setUTCMilliseconds":"setMilliseconds"}function Yf(t,e,n,i,r,o,a,s){var l=new Bu({style:{text:t,font:e,align:n,verticalAlign:i,padding:r,rich:o,overflow:a?"truncate":null,lineHeight:s}});return l.getBoundingRect()}function Xf(t){if(!Sa(t))return Q(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function Zf(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var jf=ft;function qf(t,e,n){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function r(t){return t&&yt(t)?t:"-"}function o(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,s=t instanceof Date;if(a||s){var l=a?ya(t):t;if(!isNaN(+l))return Cf(l,i,n);if(s)return"-"}if("ordinal"===e)return tt(t)?r(t):et(t)&&o(t)?t+"":"-";var u=ba(t);return o(u)?Xf(u):tt(t)?r(t):"boolean"===typeof t?t+"":"-"}var Kf=["a","b","c","d","e","f","g"],Jf=function(t,e){return"{"+t+(null==e?"":e)+"}"};function $f(t,e,n){J(e)||(e=[e]);var i=e.length;if(!i)return"";for(var r=e[0].$vars||[],o=0;o':'';var a=n.markerId||"markerX";return{renderMode:o,content:"{"+a+"|} ",style:"subItem"===r?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function eg(t,e,n){Na("echarts.format.formatTime","echarts.time.format"),"week"!==t&&"month"!==t&&"quarter"!==t&&"half-year"!==t&&"year"!==t||(t="MM-dd\nyyyy");var i=ya(e),r=n?"getUTC":"get",o=i[r+"FullYear"](),a=i[r+"Month"]()+1,s=i[r+"Date"](),l=i[r+"Hours"](),u=i[r+"Minutes"](),h=i[r+"Seconds"](),c=i[r+"Milliseconds"]();return t=t.replace("MM",Sf(a,2)).replace("M",a).replace("yyyy",o).replace("yy",Sf(o%100+"",2)).replace("dd",Sf(s,2)).replace("d",s).replace("hh",Sf(l,2)).replace("h",l).replace("mm",Sf(u,2)).replace("m",u).replace("ss",Sf(h,2)).replace("s",h).replace("SSS",Sf(c,3)),t}function ng(t){return t?t.charAt(0).toUpperCase()+t.substr(1):t}function ig(t,e){return e=e||"transparent",Q(t)?t:nt(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function rg(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var og=H,ag=["left","right","top","bottom","width","height"],sg=[["width","left","right"],["height","top","bottom"]];function lg(t,e,n,i,r){var o=0,a=0;null==i&&(i=1/0),null==r&&(r=1/0);var s=0;e.eachChild((function(l,u){var h,c,p=l.getBoundingRect(),d=e.childAt(u+1),f=d&&d.getBoundingRect();if("horizontal"===t){var g=p.width+(f?-f.x+p.x:0);h=o+g,h>i||l.newline?(o=0,h=g,a+=s+n,s=p.height):s=Math.max(s,p.height)}else{var y=p.height+(f?-f.y+p.y:0);c=a+y,c>r||l.newline?(o+=s+n,a=0,c=y,s=p.width):s=Math.max(s,p.width)}l.newline||(l.x=o,l.y=a,l.markRedraw(),"horizontal"===t?o=h+n:a=c+n)}))}var ug=lg;K(lg,"vertical"),K(lg,"horizontal");function hg(t,e,n){var i=e.width,r=e.height,o=ia(t.left,i),a=ia(t.top,r),s=ia(t.right,i),l=ia(t.bottom,r);return(isNaN(o)||isNaN(parseFloat(t.left)))&&(o=0),(isNaN(s)||isNaN(parseFloat(t.right)))&&(s=i),(isNaN(a)||isNaN(parseFloat(t.top)))&&(a=0),(isNaN(l)||isNaN(parseFloat(t.bottom)))&&(l=r),n=jf(n||0),{width:Math.max(s-o-n[1]-n[3],0),height:Math.max(l-a-n[0]-n[2],0)}}function cg(t,e,n){n=jf(n||0);var i=e.width,r=e.height,o=ia(t.left,i),a=ia(t.top,r),s=ia(t.right,i),l=ia(t.bottom,r),u=ia(t.width,i),h=ia(t.height,r),c=n[2]+n[0],p=n[1]+n[3],d=t.aspect;switch(isNaN(u)&&(u=i-s-p-o),isNaN(h)&&(h=r-l-c-a),null!=d&&(isNaN(u)&&isNaN(h)&&(d>i/r?u=.8*i:h=.8*r),isNaN(u)&&(u=d*h),isNaN(h)&&(h=u/d)),isNaN(o)&&(o=i-s-u-p),isNaN(a)&&(a=r-l-h-c),t.left||t.right){case"center":o=i/2-u/2-n[3];break;case"right":o=i-u-p;break}switch(t.top||t.bottom){case"middle":case"center":a=r/2-h/2-n[0];break;case"bottom":a=r-h-c;break}o=o||0,a=a||0,isNaN(u)&&(u=i-p-o-(s||0)),isNaN(h)&&(h=r-c-a-(l||0));var f=new en(o+n[3],a+n[0],u,h);return f.margin=n,f}function pg(t,e,n,i,r,o){var a,s=!r||!r.hv||r.hv[0],l=!r||!r.hv||r.hv[1],u=r&&r.boundingMode||"all";if(o=o||t,o.x=t.x,o.y=t.y,!s&&!l)return!1;if("raw"===u)a="group"===t.type?new en(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(a=t.getBoundingRect(),t.needLocalTransform()){var h=t.getLocalTransform();a=a.clone(),a.applyTransform(h)}var c=cg(E({width:a.width,height:a.height},e),n,i),p=s?c.x-a.x:0,d=l?c.y-a.y:0;return"raw"===u?(o.x=p,o.y=d):(o.x+=p,o.y+=d),o===t&&t.markRedraw(),!0}function dg(t,e){return null!=t[sg[e][0]]||null!=t[sg[e][1]]&&null!=t[sg[e][2]]}function fg(t){var e=t.layoutMode||t.constructor.layoutMode;return nt(e)?e:e?{type:e}:null}function gg(t,e,n){var i=n&&n.ignoreSize;!J(i)&&(i=[i,i]);var r=a(sg[0],0),o=a(sg[1],1);function a(n,r){var o={},a=0,u={},h=0,c=2;if(og(n,(function(e){u[e]=t[e]})),og(n,(function(t){s(e,t)&&(o[t]=u[t]=e[t]),l(o,t)&&a++,l(u,t)&&h++})),i[r])return l(e,n[1])?u[n[2]]=null:l(e,n[2])&&(u[n[1]]=null),u;if(h!==c&&a){if(a>=c)return o;for(var p=0;p=0;a--)o=O(o,n[a],!0);e.defaultOption=o}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",i=t+"Id";return vs(this.ecModel,t,{index:this.get(n,!0),id:this.get(i,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(jd);function _g(t){var e=[];return H(xg.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=W(e,(function(t){return Ts(t).main})),"dataset"!==t&&V(e,"dataset")<=0&&e.unshift("dataset"),e}Ls(xg,jd),Es(xg),Jd(xg),$d(xg,_g);var wg="";"undefined"!==typeof navigator&&(wg=navigator.platform||"");var bg="rgba(0, 0, 0, 0.2)",Sg={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:bg,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:bg,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:bg,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:bg,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:bg,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:bg,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:wg.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1},Mg=Mt(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),Ig="original",Tg="arrayRows",Cg="objectRows",Dg="keyedColumns",Ag="typedArray",kg="unknown",Lg="column",Pg="row",Og={Must:1,Might:2,Not:3},Rg=cs();function Ng(t){Rg(t).datasetMap=Mt()}function Eg(t,e,n){var i={},r=Vg(e);if(!r||!t)return i;var o,a,s=[],l=[],u=e.ecModel,h=Rg(u).datasetMap,c=r.uid+"_"+n.seriesLayoutBy;t=t.slice(),H(t,(function(e,n){var r=nt(e)?e:t[n]={name:e};"ordinal"===r.type&&null==o&&(o=n,a=f(r)),i[r.name]=[]}));var p=h.get(c)||h.set(c,{categoryWayDim:a,valueWayDim:0});function d(t,e,n){for(var i=0;ie)return t[i];return t[n-1]}function Qg(t,e,n,i,r,o,a){o=o||t;var s=e(o),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?$g(i,a):n;if(h=h||n,h&&h.length){var c=h[l];return r&&(u[r]=c),s.paletteIdx=(l+1)%h.length,c}}function ty(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}var ey="\0_ec_inner",ny=1,iy={grid:"GridComponent",polar:"PolarComponent",geo:"GeoComponent",singleAxis:"SingleAxisComponent",parallel:"ParallelComponent",calendar:"CalendarComponent",graphic:"GraphicComponent",toolbox:"ToolboxComponent",tooltip:"TooltipComponent",axisPointer:"AxisPointerComponent",brush:"BrushComponent",title:"TitleComponent",timeline:"TimelineComponent",markPoint:"MarkPointComponent",markLine:"MarkLineComponent",markArea:"MarkAreaComponent",legend:"LegendComponent",dataZoom:"DataZoomComponent",visualMap:"VisualMapComponent",xAxis:"GridComponent",yAxis:"GridComponent",angleAxis:"PolarComponent",radiusAxis:"PolarComponent"},ry={line:"LineChart",bar:"BarChart",pie:"PieChart",scatter:"ScatterChart",radar:"RadarChart",map:"MapChart",tree:"TreeChart",treemap:"TreemapChart",graph:"GraphChart",gauge:"GaugeChart",funnel:"FunnelChart",parallel:"ParallelChart",sankey:"SankeyChart",boxplot:"BoxplotChart",candlestick:"CandlestickChart",effectScatter:"EffectScatterChart",lines:"LinesChart",heatmap:"HeatmapChart",pictorialBar:"PictorialBarChart",themeRiver:"ThemeRiverChart",sunburst:"SunburstChart",custom:"CustomChart"},oy={};function ay(t){H(t,(function(t,e){if(!xg.hasClass(e)){var n=iy[e];n&&!oy[n]&&(Oa("Component "+e+" is used but not imported.\nimport { "+n+" } from 'echarts/components';\necharts.use(["+n+"]);"),oy[n]=!0)}}))}var sy=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new jd(i),this._locale=new jd(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){gt(null!=t,"option is null/undefined"),gt(t[ey]!==ny,"please use chart.getOption()");var i=py(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,py(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);ay(r),this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):Zg(this,r),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var o=i.getTimelineOption(this);o&&(n=!0,this._mergeOption(o,e))}if(!t||"recreate"===t||"media"===t){var a=i.getMediaOption(this);a.length&&H(a,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,i=this._componentsMap,r=this._componentsCount,o=[],a=Mt(),s=e&&e.replaceMergeMainTypeMap;function l(e){var o=Ug(this,e,Fa(t[e])),a=i.get(e),l=a?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",u=Xa(a,o,l);ss(u,e,xg),n[e]=null,i.set(e,null),r.set(e,0);var h,c,p=[],d=[],f=0;H(u,(function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,a=xg.getClass(e,t.keyInfo.subType,!o);if(!a){var s=t.keyInfo.subType,l=ry[s];return void(oy[s]||(oy[s]=!0,Oa(l?"Series "+s+" is used but not imported.\nimport { "+l+" } from 'echarts/charts';\necharts.use(["+l+"]);":"Unknown series "+s)))}if("tooltip"===e){if(h)return void(c||(Pa("Currently only one tooltip component is allowed."),c=!0));h=!0}if(i&&i.constructor===a)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var u=N({componentIndex:n},t.keyInfo);i=new a(r,this,this,u),N(i,u),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))}),this),n[e]=p,i.set(e,d),r.set(e,f),"series"===e&&Yg(this)}Ng(this),H(t,(function(t,e){null!=t&&(xg.hasClass(e)?e&&(o.push(e),a.set(e,!0)):n[e]=null==n[e]?P(t):O(n[e],t,!0))})),s&&s.each((function(t,e){xg.hasClass(e)&&!a.get(e)&&(o.push(e),a.set(e,!0))})),xg.topologicalTravel(o,xg.getAllClassMainTypes(),l,this),this._seriesIndices||Yg(this)},e.prototype.getOption=function(){var t=P(this.option);return H(t,(function(e,n){if(xg.hasClass(n)){for(var i=Fa(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!os(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}})),delete t[ey],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var i=n[e||0];if(i)return i;if(null==e)for(var r=0;r=e:"max"===n?t<=e:t===e}function by(t,e){return t.join(",")===e.join(",")}var Sy=H,My=nt,Iy=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function Ty(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Iy.length;n=0;g--){var y=t[g];if(s||(p=y.data.rawIndexOf(y.stackedByDimension,c)),p>=0){var v=y.data.getByRawIndex(y.stackResultDimension,p);if("all"===l||"positive"===l&&v>0||"negative"===l&&v<0||"samesign"===l&&d>=0&&v>0||"samesign"===l&&d<=0&&v<0){d=ca(d,v),f=v;break}}}return i[0]=d,i[1]=f,i}))}))}var qy,Ky,Jy,$y,Qy,tv=function(){function t(t){this.data=t.data||(t.sourceFormat===Dg?{}:[]),this.sourceFormat=t.sourceFormat||kg,this.seriesLayoutBy=t.seriesLayoutBy||Lg,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;nu&&(u=d)}s[0]=l,s[1]=u}},i=function(){return this._data?this._data.length/this._dimSize:0};function r(t){for(var e=0;e=0&&(s=o.interpolatedValue[l])}return null!=s?s+"":""}))}},t.prototype.getRawValue=function(t,e){return bv(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Iv(t){var e,n;return nt(t)?t.type?n=t:console.warn("The return type of `formatTooltip` is not supported: "+Ea(t)):e=t,{text:e,frag:n}}function Tv(t){return new Cv(t)}var Cv=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,i=t&&t.skip;if(this._dirty&&n){var r=this.context;r.data=r.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!i&&(e=this._plan(this.context));var o,a=h(this._modBy),s=this._modDataCount||0,l=h(t&&t.modBy),u=t&&t.modDataCount||0;function h(t){return!(t>=1)&&(t=1),t}a===l&&s===u||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,o=this._doReset(i)),this._modBy=l,this._modDataCount=u;var c=t&&t.step;if(n?(gt(null!=n._outputDueEnd),this._dueEnd=n._outputDueEnd):(gt(!this._progress||this._count),this._dueEnd=this._count?this._count(this.context):1/0),this._progress){var p=this._dueIndex,d=Math.min(null!=c?this._dueIndex+c:1/0,this._dueEnd);if(!i&&(o||p=this._outputDueEnd),this._outputDueEnd=y}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){Dv.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:Dv.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&(e=this._reset(this.context),e&&e.progress&&(n=e.forceFirstProgress,e=e.progress),J(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var i=this._downstream;return i&&i.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex1&&i>0?s:a}};return o;function a(){return e=t?null:oe},gte:function(t,e){return t>=e}},Ov=function(){function t(t,e){if(!et(e)){var n="";n='rvalue of "<", ">", "<=", ">=" can only be number in filter.',za(n)}this._opFn=Pv[t],this._rvalFloat=ba(e)}return t.prototype.evaluate=function(t){return et(t)?this._opFn(t,this._rvalFloat):this._opFn(ba(t),this._rvalFloat)},t}(),Rv=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=et(t)?t:ba(t),i=et(e)?e:ba(e),r=isNaN(n),o=isNaN(i);if(r&&(n=this._incomparable),o&&(i=this._incomparable),r&&o){var a=Q(t),s=Q(e);a&&(n=s?t:0),s&&(i=a?e:0)}return ni?-this._resultLT:0},t}(),Nv=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=ba(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=ba(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function Ev(t,e){return"eq"===t||"ne"===t?new Nv("eq"===t,e):Dt(Pv,t)?new Ov(t,e):null}var zv=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return Av(t,e)},t}();function Vv(t,e){var n=new zv,i=t.data,r=n.sourceFormat=t.sourceFormat,o=t.startIndex,a="";t.seriesLayoutBy!==Lg&&(a='`seriesLayoutBy` of upstream dataset can only be "column" in data transform.',za(a));var s=[],l={},u=t.dimensionsDefine;if(u)H(u,(function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};if(s.push(i),null!=n){var r="";Dt(l,n)&&(r='dimension name "'+n+'" duplicated.',za(r)),l[n]=i}}));else for(var h=0;h65535?Kv:Jv}function nm(){return[1/0,-1/0]}function im(t){var e=t.constructor;return e===Array?t.slice():new e(t)}function rm(t,e,n,i,r){var o=tm[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;ug[1]&&(g[1]=f)}return this._rawCount=this._count=s,{start:a,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,r=this._chunks,o=this._dimensions,a=o.length,s=this._rawExtent,l=W(o,(function(t){return t.property})),u=0;uy[1]&&(y[1]=g)}}!i.persistent&&i.clean&&i.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e=0&&e=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&nt))return o;r=o-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var i=this._chunks,r=i[t],o=[];if(!r)return o;null==n&&(n=1/0);for(var a=1/0,s=-1,l=0,u=0,h=this.count();u=0&&s<0)&&(a=d,s=p,l=0),p===s&&(o[l++]=u))}return o.length=l,o},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,i=this._count;if(n===Array){t=new n(i);for(var r=0;r=h&&v<=c||isNaN(v))&&(s[l++]=f),f++}d=!0}else if(2===r){g=p[i[0]];var m=p[i[1]],x=t[i[1]][0],_=t[i[1]][1];for(y=0;y=h&&v<=c||isNaN(v))&&(w>=x&&w<=_||isNaN(w))&&(s[l++]=f),f++}d=!0}}if(!d)if(1===r)for(y=0;y=h&&v<=c||isNaN(v))&&(s[l++]=b)}else for(y=0;yt[I][1])&&(S=!1)}S&&(s[l++]=e.getRawIndex(y))}return ly[1]&&(y[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,i,r,o=this.clone([t],!0),a=o._chunks,s=a[t],l=this.count(),u=0,h=Math.floor(1/e),c=this.getRawIndex(0),p=new(em(this._rawCount))(Math.min(2*(Math.ceil(l/h)+2),l));p[u++]=c;for(var d=1;dn&&(n=i,r=x))}T>0&&Ta&&(f=a-u);for(var g=0;gd&&(d=v,p=u+g)}var m=this.getRawIndex(h),x=this.getRawIndex(p);hu-d&&(s=u-d,a.length=s);for(var f=0;fh[1]&&(h[1]=y),c[p++]=v}return r._count=p,r._indices=c,r._updateGetRawIdx(),r},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,i=this._chunks,r=0,o=this.count();rs&&(s=h)}return i=[a,s],this._extent[t]=i,i},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],i=this._chunks,r=0;r=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,i){return Av(t[i],this._dimensions[i])}jv={arrayRows:t,objectRows:function(t,e,n,i){return Av(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return Av(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}(),am=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,i=this._getUpstreamSourceManagers(),r=!!i.length;if(lm(n)){var o=n,a=void 0,s=void 0,l=void 0;if(r){var u=i[0];u.prepareSource(),l=u.getSource(),a=l.data,s=l.sourceFormat,e=[u._getVersionSign()]}else a=o.get("data",!0),s=rt(a)?Ag:Ig,e=[];var h=this._getSourceMetaRawOption()||{},c=l&&l.metaRawOption||{},p=ct(h.seriesLayoutBy,c.seriesLayoutBy)||null,d=ct(h.sourceHeader,c.sourceHeader),f=ct(h.dimensions,c.dimensions),g=p!==c.seriesLayoutBy||!!d!==!!c.sourceHeader||f;t=g?[nv(a,{seriesLayoutBy:p,sourceHeader:d,dimensions:f},s)]:[]}else{var y=n;if(r){var v=this._applyTransform(i);t=v.sourceList,e=v.upstreamSignList}else{var m=y.get("source",!0);t=[nv(m,this._getSourceMetaRawOption(),null)],e=[]}}gt(t&&e),this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,i=n.get("transform",!0),r=n.get("fromTransformResult",!0);if(gt(null!=r||null!=i),null!=r){var o="";1!==t.length&&(o="When using `fromTransformResult`, there should be only one upstream dataset",um(o))}var a=[],s=[];return H(t,(function(t){t.prepareSource();var e=t.getSource(r||0),n="";null==r||e||(n="Can not retrieve result by `fromTransformResult`: "+r,um(n)),a.push(e),s.push(t._getVersionSign())})),i?e=Yv(i,a,{datasetIndex:n.componentIndex}):null!=r&&(e=[rv(a[0])]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e1||n>0&&!t.noHeader;return H(t.blocks,(function(t){var n=mm(t);n>=e&&(e=n+ +(i&&(!n||ym(t)&&!t.noHeader)))})),e}return 0}function xm(t,e,n,i){var r=e.noHeader,o=bm(mm(e)),a=[],s=e.blocks||[];gt(!s||J(s)),s=s||[];var l=t.orderMode;if(e.sortBlocks&&l){s=s.slice();var u={valueAsc:"asc",valueDesc:"desc"};if(Dt(u,l)){var h=new Rv(u[l],null);s.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===l&&s.reverse()}H(s,(function(n,r){var s=e.valueFormatter,l=vm(n)(s?N(N({},t),{valueFormatter:s}):t,n,r>0?o.html:0,i);null!=l&&a.push(l)}));var c="richText"===t.renderMode?a.join(o.richText):Sm(i,a.join(""),r?n:o.html);if(r)return c;var p=qf(e.header,"ordinal",t.useUTC),d=pm(i,t.renderMode).nameStyle,f=cm(i);return"richText"===t.renderMode?Tm(t,p,d)+o.richText+c:Sm(i,'
          '+xe(p)+"
          "+c,n)}function _m(t,e,n,i){var r=t.renderMode,o=e.noName,a=e.noValue,s=!e.markerType,l=e.name,u=t.useUTC,h=e.valueFormatter||t.valueFormatter||function(t){return t=J(t)?t:[t],W(t,(function(t,e){return qf(t,J(d)?d[e]:d,u)}))};if(!o||!a){var c=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",r),p=o?"":qf(l,"ordinal",u),d=e.valueType,f=a?[]:h(e.value,e.dataIndex),g=!s||!o,y=!s&&o,v=pm(i,r),m=v.nameStyle,x=v.valueStyle;return"richText"===r?(s?"":c)+(o?"":Tm(t,p,m))+(a?"":Cm(t,f,g,y,x)):Sm(i,(s?"":c)+(o?"":Mm(p,!s,m))+(a?"":Im(f,g,y,x)),n)}}function wm(t,e,n,i,r,o){if(t){var a=vm(t),s={useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter};return a(s,t,0,o)}}function bm(t){return{html:dm[t],richText:fm[t]}}function Sm(t,e,n){var i='
          ',r="margin: "+n+"px 0 0",o=cm(t);return'
          '+e+i+"
          "}function Mm(t,e,n){var i=e?"margin-left:2px":"";return''+xe(t)+""}function Im(t,e,n,i){var r=n?"10px":"20px",o=e?"float:right;margin-left:"+r:"";return t=J(t)?t:[t],''+W(t,(function(t){return xe(t)})).join("  ")+""}function Tm(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function Cm(t,e,n,i,r){var o=[r],a=i?10:20;return n&&o.push({padding:[0,0,0,a],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(J(e)?e.join(" "):e,o)}function Dm(t,e){var n=t.getData().getItemVisual(e,"style"),i=n[t.visualDrawType];return ig(i)}function Am(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var km=function(){function t(){this.richTextStyles={},this._nextStyleNameId=Ma()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,r=tg({color:e,type:t,renderMode:n,markerId:i});return Q(r)?r:(gt(i),this.richTextStyles[i]=r.style,r.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};J(e)?H(e,(function(t){return N(n,t)})):N(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}();function Lm(t){var e,n,i,r,o=t.series,a=t.dataIndex,s=t.multipleSeries,l=o.getData(),u=l.mapDimensionsAll("defaultedTooltip"),h=u.length,c=o.getRawValue(a),p=J(c),d=Dm(o,a);if(h>1||p&&!h){var f=Pm(c,o,a,u,d);e=f.inlineValues,n=f.inlineValueTypes,i=f.blocks,r=f.inlineValues[0]}else if(h){var g=l.getDimensionInfo(u[0]);r=e=bv(l,a,u[0]),n=g.type}else r=e=p?c[0]:c;var y=rs(o),v=y&&o.name||"",m=l.getName(a),x=s?v:m;return gm("section",{header:v,noHeader:s||!y,sortParam:r,blocks:[gm("nameValue",{markerType:"item",markerColor:d,name:x,noName:!yt(x),value:e,valueType:n,dataIndex:a})].concat(i||[])})}function Pm(t,e,n,i,r){var o=e.getData(),a=U(t,(function(t,e,n){var i=o.getDimensionInfo(n);return t||i&&!1!==i.tooltip&&null!=i.displayName}),!1),s=[],l=[],u=[];function h(t,e){var n=o.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(a?u.push(gm("nameValue",{markerType:"subItem",markerColor:r,name:n.displayName,value:t,valueType:n.type})):(s.push(t),l.push(n.type)))}return i.length?H(i,(function(t){h(bv(o,n,t),t)})):H(t,h),{inlineValues:s,inlineValueTypes:l,blocks:u}}var Om=cs();function Rm(t,e){return t.getName(e)||t.getId(e)}var Nm="__universalTransitionEnabled",Em=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return i(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Tv({count:Bm,reset:Gm}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n);var i=Om(this).sourceManager=new am(this);i.prepareSource();var r=this.getInitialData(t,n);Hm(r,this),this.dataTask.context.data=r,gt(r,"getInitialData returned invalid data."),Om(this).dataBeforeProcessed=r,zm(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=fg(this),i=n?yg(t):{},r=this.subType;xg.hasClass(r)&&(r+="Series"),O(t,e.getTheme().get(this.subType)),O(t,this.getDefaultOption()),Ha(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&gg(t,i,n)},e.prototype.mergeOption=function(t,e){t=O(this.option,t,!0),this.fillDataTextStyle(t.data);var n=fg(this);n&&gg(this.option,t,n);var i=Om(this).sourceManager;i.dirty(),i.prepareSource();var r=this.getInitialData(t,e);Hm(r,this),this.dataTask.dirty(),this.dataTask.context.data=r,Om(this).dataBeforeProcessed=r,zm(this),this._initSelectedMapFromData(r)},e.prototype.fillDataTextStyle=function(t){if(t&&!rt(t))for(var e=["show"],n=0;nthis.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=Kg.prototype.getColorFromPalette.call(this,t,e,n);return r||(r=i.getColorFromPalette(t,e,n)),r},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var i=this.option.selectedMode,r=this.getData(e);if("series"===i||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var o=0;o=0&&n.push(r)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var i=this.getData(e);return("all"===n||n[Rm(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this[Nm])return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,i,r=this.option,o=r.selectedMode,a=e.length;if(o&&a)if("series"===o)r.selectedMap="all";else if("multiple"===o){nt(r.selectedMap)||(r.selectedMap={});for(var s=r.selectedMap,l=0;l0&&this._innerSelect(t,e)}},e.registerClass=function(t){return xg.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(xg);function zm(t){var e=t.name;rs(t)||(t.name=Vm(t)||e)}function Vm(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),i=[];return H(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)})),i.join(" ")}function Bm(t){return t.model.getRawData().count()}function Gm(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),Fm}function Fm(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function Hm(t,e){H(It(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,K(Wm,e))}))}function Wm(t,e){var n=Um(t);return n&&n.setOutputEnd((e||this).count()),e}function Um(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var i=n.currentTask;if(i){var r=i.agentStubMap;r&&(i=r.get(t.uid))}return i}}G(Em,Mv),G(Em,Kg),Ls(Em,xg);var Ym=function(){function t(){this.group=new zo,this.uid=Kd("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){},t.prototype.updateLayout=function(t,e,n,i){},t.prototype.updateVisual=function(t,e,n,i){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();function Xm(){var t=cs();return function(e){var n=t(e),i=e.pipelineContext,r=!!n.large,o=!!n.progressiveRender,a=n.large=!(!i||!i.large),s=n.progressiveRender=!(!i||!i.progressiveRender);return!(r===a&&o===s)&&"reset"}}As(Ym),Es(Ym);var Zm=cs(),jm=Xm(),qm=function(){function t(){this.group=new zo,this.uid=Kd("viewChart"),this.renderTask=Tv({plan:$m,reset:Qm}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){throw new Error("render method must been implemented")},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r?Jm(r,i,"emphasis"):Oa("Unknown dataType "+i.dataType)},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r?Jm(r,i,"normal"):Oa("Unknown dataType "+i.dataType)},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateLayout=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.updateVisual=function(t,e,n,i){this.render(t,e,n,i)},t.prototype.eachRendered=function(t){xd(this.group,t)},t.markUpdateMethod=function(t,e){Zm(t).updateMethod=e},t.protoInitialize=function(){var e=t.prototype;e.type="chart"}(),t}();function Km(t,e,n){t&&sc(t)&&("emphasis"===e?Eh:zh)(t,n)}function Jm(t,e,n){var i=hs(t,e),r=e&&null!=e.highlightKey?uc(e.highlightKey):null;null!=i?H(Fa(i),(function(e){Km(t.getItemGraphicEl(e),n,r)})):t.eachItemGraphicEl((function(t){Km(t,n,r)}))}function $m(t){return jm(t.model)}function Qm(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&Zm(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),tx[l]}As(qm,["dispose"]),Es(qm);var tx={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}},ex="\0__throttleOriginMethod",nx="\0__throttleRate",ix="\0__throttleType";function rx(t,e,n){var i,r,o,a,s,l=0,u=0,h=null;function c(){u=(new Date).getTime(),h=null,t.apply(o,a||[])}e=e||0;var p=function(){for(var t=[],p=0;p=0?c():h=setTimeout(c,-r),l=i};return p.clear=function(){h&&(clearTimeout(h),h=null)},p.debounceNextCall=function(t){s=t},p}function ox(t,e,n,i){var r=t[e];if(r){var o=r[ex]||r,a=r[ix],s=r[nx];if(s!==n||a!==i){if(null==n||!i)return t[e]=o;r=t[e]=rx(o,n,"debounce"===i),r[ex]=o,r[ix]=i,r[nx]=n}return r}}function ax(t,e){var n=t[e];n&&n[ex]&&(n.clear&&n.clear(),t[e]=n[ex])}var sx=cs(),lx={itemStyle:zs(Yd,!0),lineStyle:zs(Hd,!0)},ux={lineStyle:"stroke",itemStyle:"fill"};function hx(t,e){var n=t.visualStyleMapper||lx[e];return n||(console.warn("Unknown style type '"+e+"'."),lx.itemStyle)}function cx(t,e){var n=t.visualDrawType||ux[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var px={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=hx(t,i),a=o(r),s=r.getShallow("decal");s&&(n.setVisual("decal",s),s.dirty=!0);var l=cx(t,i),u=a[l],h=$(u)?u:null,c="auto"===a.fill||"auto"===a.stroke;if(!a[l]||h||c){var p=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[l]||(a[l]=p,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||$(a.fill)?p:a.fill,a.stroke="auto"===a.stroke||$(a.stroke)?p:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",l),!e.isSeriesFiltered(t)&&h)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var i=t.getDataParams(n),r=N({},a);r[l]=h(i),e.setItemVisual(n,"style",r)}}}},dx=new jd,fx={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=hx(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){dx.option=n[i];var a=r(dx),s=t.ensureUniqueItemVisual(e,"style");N(s,a),dx.option.decal&&(t.setItemVisual(e,"decal",dx.option.decal),dx.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},gx={performRawSeries:!0,overallReset:function(t){var e=Mt();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var i=t.type+"-"+n,r=e.get(i);r||(r={},e.set(i,r)),sx(t).scope=r}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),i={},r=e.getData(),o=sx(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=cx(e,a);r.each((function(t){var e=r.getRawIndex(t);i[e]=t})),n.each((function(t){var a=i[t],l=r.getItemVisual(a,"colorFromPalette");if(l){var u=r.ensureUniqueItemVisual(a,"style"),h=n.getName(t)||t+"",c=n.count();u[s]=e.getColorFromPalette(h,o,c)}}))}}))}},yx=Math.PI;function vx(t,e){e=e||{},E(e,{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new zo,i=new Nu({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(i);var r,o=new Bu({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),a=new Nu({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(a),e.showSpinner&&(r=new xp({shape:{startAngle:-yx/2,endAngle:-yx/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001}),r.animateShape(!0).when(1e3,{endAngle:3*yx/2}).start("circularInOut"),r.animateShape(!0).when(1e3,{startAngle:3*yx/2}).delay(300).start("circularInOut"),n.add(r)),n.resize=function(){var n=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),u=t.getHeight()/2;e.showSpinner&&r.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),i.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n}var mx=function(){function t(t,e,n,i){this._stageTaskMap=Mt(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),i=this._visualHandlers=i.slice(),this._allHandlers=n.concat(i)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),i=n.context,r=!e&&n.progressiveEnabled&&(!i||i.progressiveRender)&&t.__idxInPipeline>n.blockIndex,o=r?n.step:null,a=i&&i.modDataCount,s=null!=a?Math.ceil(a/o):null;return{step:o,modBy:s,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),i=t.getData(),r=i.count(),o=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),s="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:o,modDataCount:s,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=Mt();t.eachSeries((function(t){var i=t.getProgressive(),r=t.uid;n.set(r,{id:r,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:i&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(i||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;H(this._allHandlers,(function(i){var r=t.get(i.uid)||t.set(i.uid,{}),o="";o='"reset" and "overallReset" must not be both specified.',gt(!(i.reset&&i.overallReset),o),i.reset&&this._createSeriesStageTask(i,r,e,n),i.overallReset&&this._createOverallStageTask(i,r,e,n)}),this)},t.prototype.prepareView=function(t,e,n,i){var r=t.renderTask,o=r.context;o.model=e,o.ecModel=n,o.api=i,r.__block=!t.incrementalPrepareRender,this._pipe(e,r)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,i){i=i||{};var r=!1,o=this;function a(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}H(t,(function(t,s){if(!i.visualType||i.visualType===t.visualType){var l=o._stageTaskMap.get(t.uid),u=l.seriesTaskMap,h=l.overallTask;if(h){var c,p=h.agentStubMap;p.each((function(t){a(i,t)&&(t.dirty(),c=!0)})),c&&h.dirty(),o.updatePayload(h,n);var d=o.getPerformArgs(h,i.block);p.each((function(t){t.perform(d)})),h.perform(d)&&(r=!0)}else u&&u.each((function(s,l){a(i,s)&&s.dirty();var u=o.getPerformArgs(s,i.block);u.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),o.updatePayload(s,n),s.perform(u)&&(r=!0)}))}})),this.unfinished=r||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,i){var r=this,o=e.seriesTaskMap,a=e.seriesTaskMap=Mt(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||Tv({plan:Mx,reset:Ix,count:Dx}));l.context={model:e,ecModel:n,api:i,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:r},r._pipe(e,l)}t.createOnAllSeries?n.eachRawSeries(u):s?n.eachRawSeriesByType(s,u):l&&l(n,i).each(u)},t.prototype._createOverallStageTask=function(t,e,n,i){var r=this,o=e.overallTask=e.overallTask||Tv({reset:xx});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=Mt(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1,p="";function d(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,Tv({reset:_x,onDirty:Sx})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}p='"createOnAllSeries" is not supported for "overallReset", because it will block all streams.',gt(!t.createOnAllSeries,p),l?n.eachRawSeriesByType(l,d):u?u(n,i).each(d):(h=!1,H(n.getSeries(),d)),c&&o.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,i=this._pipelineMap.get(n);!i.head&&(i.head=e),i.tail&&i.tail.pipe(e),i.tail=e,e.__idxInPipeline=i.count++,e.__pipeline=i},t.wrapStageHandler=function(t,e){return $(t)&&(t={overallReset:t,seriesType:Ax(t)}),t.uid=Kd("stageHandler"),e&&(t.visualType=e),t},t}();function xx(t){t.overallReset(t.ecModel,t.api,t.payload)}function _x(t){return t.overallProgress&&bx}function bx(){this.agent.dirty(),this.getDownstream().dirty()}function Sx(){this.agent&&this.agent.dirty()}function Mx(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function Ix(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=Fa(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?W(e,(function(t,e){return Cx(e)})):Tx}var Tx=Cx(0);function Cx(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o0&&h===r.length-u.length){var c=r.slice(0,h);"data"!==c&&(e.mainType=c,e[u.toLowerCase()]=t,s=!0)}}a.hasOwnProperty(r)&&(n[r]=t,s=!0),s||(i[r]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:i}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var i=n.targetEl,r=n.packedEvent,o=n.model,a=n.view;if(!o||!a)return!0;var s=e.cptQuery,l=e.dataQuery;return u(s,o,"mainType")&&u(s,o,"subType")&&u(s,o,"index","componentIndex")&&u(s,o,"name")&&u(s,o,"id")&&u(l,r,"name")&&u(l,r,"dataIndex")&&u(l,r,"dataType")&&(!a.filterForExposedEvent||a.filterForExposedEvent(t,e.otherQuery,i,r));function u(t,e,n,i){return null==t[n]||e[i||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),Hx=["symbol","symbolSize","symbolRotate","symbolOffset"],Wx=Hx.concat(["symbolKeepAspect"]),Ux={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var i={},r={},o=!1,a=0;a=0&&f_(l)?l:.5;var u=t.createRadialGradient(a,s,0,a,s,l);return u}function v_(t,e,n){for(var i="radial"===e.type?y_(t,e,n):g_(t,e,n),r=e.colorStops,o=0;o0?"dashed"===t?[4*e,2*e]:"dotted"===t?[e]:et(t)?[t]:J(t)?t:null:null}function b_(t){var e=t.style,n=e.lineDash&&e.lineWidth>0&&w_(e.lineDash,e.lineWidth),i=e.lineDashOffset;if(n){var r=e.strokeNoScale&&t.getLineScale?t.getLineScale():1;r&&1!==r&&(n=W(n,(function(t){return t/r})),i/=r)}return[n,i]}var S_=new Kl(!0);function M_(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function I_(t){return"string"===typeof t&&"none"!==t}function T_(t){var e=t.fill;return null!=e&&"none"!==e}function C_(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function D_(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function A_(t,e,n){var i=Ws(e.image,e.__image,n);if(Ys(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"===typeof DOMMatrix&&r&&r.setTransform){var o=new DOMMatrix;o.translateSelf(e.x||0,e.y||0),o.rotateSelf(0,0,(e.rotation||0)*kt),o.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(o)}return r}}function k_(t,e,n,i){var r,o=M_(n),a=T_(n),s=n.strokePercent,l=s<1,u=!e.path;e.silent&&!l||!u||e.createPathProxy();var h=e.path||S_,c=e.__dirty;if(!i){var p=n.fill,d=n.stroke,f=a&&!!p.colorStops,g=o&&!!d.colorStops,y=a&&!!p.image,v=o&&!!d.image,m=void 0,x=void 0,_=void 0,w=void 0,b=void 0;(f||g)&&(b=e.getBoundingRect()),f&&(m=c?v_(t,p,b):e.__canvasFillGradient,e.__canvasFillGradient=m),g&&(x=c?v_(t,d,b):e.__canvasStrokeGradient,e.__canvasStrokeGradient=x),y&&(_=c||!e.__canvasFillPattern?A_(t,p,e):e.__canvasFillPattern,e.__canvasFillPattern=_),v&&(w=c||!e.__canvasStrokePattern?A_(t,d,e):e.__canvasStrokePattern,e.__canvasStrokePattern=_),f?t.fillStyle=m:y&&(_?t.fillStyle=_:a=!1),g?t.strokeStyle=x:v&&(w?t.strokeStyle=w:o=!1)}var S,M,I=e.getGlobalScale();h.setScale(I[0],I[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(r=b_(e),S=r[0],M=r[1]);var T=!0;(u||c&Tn)&&(h.setDPR(t.dpr),l?h.setContext(null):(h.setContext(t),T=!1),h.reset(),e.buildPath(h,e.shape,i),h.toStatic(),e.pathUpdated()),T&&h.rebuildPath(t,l?s:1),S&&(t.setLineDash(S),t.lineDashOffset=M),i||(n.strokeFirst?(o&&D_(t,n),a&&C_(t,n)):(a&&C_(t,n),o&&D_(t,n))),S&&t.setLineDash([])}function L_(t,e,n){var i=e.__image=Ws(n.image,e.__image,e,e.onload);if(i&&Ys(i)){var r=n.x||0,o=n.y||0,a=e.getWidth(),s=e.getHeight(),l=i.width/i.height;if(null==a&&null!=s?a=s*l:null==s&&null!=a?s=a/l:null==a&&null==s&&(a=i.width,s=i.height),n.sWidth&&n.sHeight){var u=n.sx||0,h=n.sy||0;t.drawImage(i,u,h,n.sWidth,n.sHeight,r,o,a,s)}else if(n.sx&&n.sy){u=n.sx,h=n.sy;var c=a-u,p=s-h;t.drawImage(i,u,h,c,p,r,o,a,s)}else t.drawImage(i,r,o,a,s)}}function P_(t,e,n){var i,r=n.text;if(null!=r&&(r+=""),r){t.font=n.font||h,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var o=void 0,a=void 0;t.setLineDash&&n.lineDash&&(i=b_(e),o=i[0],a=i[1]),o&&(t.setLineDash(o),t.lineDashOffset=a),n.strokeFirst?(M_(n)&&t.strokeText(r,n.x,n.y),T_(n)&&t.fillText(r,n.x,n.y)):(T_(n)&&t.fillText(r,n.x,n.y),M_(n)&&t.strokeText(r,n.x,n.y)),o&&t.setLineDash([])}}var O_=["shadowBlur","shadowOffsetX","shadowOffsetY"],R_=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function N_(t,e,n,i,r){var o=!1;if(!i&&(n=n||{},e===n))return!1;if(i||e.opacity!==n.opacity){X_(t,r),o=!0;var a=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(a)?ul.opacity:a}(i||e.blend!==n.blend)&&(o||(X_(t,r),o=!0),t.globalCompositeOperation=e.blend||ul.blend);for(var s=0;sa.maxTileWidth&&o("maxTileWidth"),r>a.maxTileHeight&&o("maxTileHeight"),{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}function b(){c&&(c.clearRect(0,0,m.width,m.height),a.backgroundColor&&(c.fillStyle=a.backgroundColor,c.fillRect(0,0,m.width,m.height)));for(var t=0,e=0;e0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(this[kw])Oa("`setOption` should not be called during main process.");else if(this._disposed)hb(this.id);else{var i,r,o;if(nt(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[kw]=!0,!this._model||e){var a=new my(this._api),s=this._theme,l=this._model=new sy;l.scheduler=this._scheduler,l.ssr=this._ssr,l.init(null,null,null,s,this._locale,a)}this._model.setOption(t,{replaceMerge:r},fb);var u={seriesTransition:o,optionChanged:!0};if(n)this[Lw]={silent:i,updateParams:u},this[kw]=!1,this.getZr().wakeUp();else{try{Fw(this),Uw.update.call(this,null,u)}catch(Kc){throw this[Lw]=null,this[kw]=!1,Kc}this._ssr||this._zr.flush(),this[Lw]=null,this[kw]=!1,jw.call(this,i),qw.call(this,i)}}},e.prototype.setTheme=function(){Ra("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||a.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return Na("getRenderedCanvas","renderToCanvas"),this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){t=t||{};var e=this._zr.painter;if("canvas"!==e.type)throw new Error("renderToCanvas can only be used in the canvas renderer.");return e.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){t=t||{};var e=this._zr.painter;if("svg"!==e.type)throw new Error("renderToSVGString can only be used in the svg renderer.");return e.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(a.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return H(e,(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){t=t||{};var e=t.excludeComponents,n=this._model,i=[],r=this;H(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=r._componentsMap[t.__viewId];e.group.ignore||(i.push(e),e.group.ignore=!0)}))}));var o="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return H(i,(function(t){t.group.ignore=!1})),o}hb(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(xb[n]){var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();H(mb,(function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas(P(t)),d=o.getDom().getBoundingClientRect();a=i(d.left,a),s=i(d.top,s),l=r(d.right,l),u=r(d.bottom,u),h.push({dom:p,left:d.left,top:d.top})}})),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=y.createCanvas(),g=Uo(f,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:d}),e){var v="";return H(h,(function(t){var e=t.left-a,n=t.top-s;v+=''+t.dom+""})),g.painter.getSvgRoot().innerHTML=v,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new Nu({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),H(h,(function(t){var e=new Cu({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)})),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}hb(this.id)},e.prototype.convertToPixel=function(t,e){return Yw(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return Yw(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(!this._disposed){var n,i=this._model,r=ds(i,t);return H(r,(function(t,i){i.indexOf("Models")>=0&&H(t,(function(t){var r=t.coordinateSystem;if(r&&r.containPoint)n=n||!!r.containPoint(e);else if("seriesModels"===i){var o=this._chartsMap[t.__viewId];o&&o.containPoint?n=n||o.containPoint(e,t):Pa(i+": "+(o?"The found component do not support containPoint.":"No view mapping to the found component."))}else Pa(i+": containPoint is not supported")}),this)}),this),!!n}hb(this.id)},e.prototype.getVisual=function(t,e){var n=this._model,i=ds(n,t,{defaultMainType:"series"}),r=i.seriesModel;r||Pa("There is no specified series model");var o=r.getData(),a=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?o.indexOfRawIndex(i.dataIndex):null;return null!=a?Xx(o,a,e):Zx(o,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t=this;H(ub,(function(e){var n=function(n){var i,r=t.getModel(),o=n.target,a="globalout"===e;if(a?i={}:o&&$x(o,(function(t){var e=Qu(t);if(e&&null!=e.dataIndex){var n=e.dataModel||r.getSeriesByIndex(e.seriesIndex);return i=n&&n.getDataParams(e.dataIndex,e.dataType,o)||{},!0}if(e.eventData)return i=N({},e.eventData),!0}),!0),i){var s=i.componentType,l=i.componentIndex;"markLine"!==s&&"markPoint"!==s&&"markArea"!==s||(s="series",l=i.seriesIndex);var u=s&&null!=l&&r.getComponent(s,l),h=u&&t["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];a||u&&h||Pa("model or view can not be found by params"),i.event=n,i.type=e,t._$eventProcessor.eventInfo={targetEl:o,packedEvent:i,model:u,view:h},t.trigger(e,i)}};n.zrEventfulCallAtLast=!0,t._zr.on(e,n,t)})),H(pb,(function(e,n){t._messageCenter.on(n,(function(t){this.trigger(n,t)}),t)})),H(["selectchanged"],(function(e){t._messageCenter.on(e,(function(t){this.trigger(e,t)}),t)})),Jx(this._messageCenter,this,this._api)},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?hb(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)hb(this.id);else{this._disposed=!0;var t=this.getDom();t&&ms(this.getDom(),bb,"");var e=this,n=e._api,i=e._model;H(e._componentsViews,(function(t){t.dispose(i,n)})),H(e._chartsViews,(function(t){t.dispose(i,n)})),e._zr.dispose(),e._dom=e._model=e._chartsMap=e._componentsMap=e._chartsViews=e._componentsViews=e._scheduler=e._api=e._zr=e._throttledZrFlush=e._theme=e._coordSysMgr=e._messageCenter=null,delete mb[e.id]}},e.prototype.resize=function(t){if(this[kw])Oa("`resize` should not be called during main process.");else if(this._disposed)hb(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),i=t&&t.silent;this[Lw]&&(null==i&&(i=this[Lw].silent),n=!0,this[Lw]=null),this[kw]=!0;try{n&&Fw(this),Uw.update.call(this,{type:"resize",animation:N({duration:0},t&&t.animation)})}catch(Kc){throw this[kw]=!1,Kc}this[kw]=!1,jw.call(this,i),qw.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)hb(this.id);else if(nt(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),vb[t]){var n=vb[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}else Pa("Loading effects "+t+" not exists.")},e.prototype.hideLoading=function(){this._disposed?hb(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=N({},t);return e.type=pb[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)hb(this.id);else if(nt(e)||(e={silent:!!e}),cb[t.type]&&this._model)if(this[kw])this._pendingActions.push(t);else{var n=e.silent;Zw.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&a.browser.weChat&&this._throttledZrFlush(),jw.call(this,n),qw.call(this,n)}},e.prototype.updateLabelLayout=function(){sw.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)hb(this.id);else{var e=t.seriesIndex,n=this.getModel(),i=n.getSeriesByIndex(e);gt(t.data&&i),i.appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){var e=[],n=[],i=!1;if(t.eachComponent((function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})})),i){var r,o,a=e.concat(n);Sn(a,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),H(a,(function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)}))}}function n(t){for(var e=[],n=t.currentStates,i=0;ie.get("hoverLayerThreshold")&&!a.node&&!a.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}function o(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}function s(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return l(t,n,i,-1/0),!0}))}}function l(t,e,n,i){var r=t.getTextContent(),o=t.getTextGuideLine(),a=t.isGroup;if(a)for(var s=t.childrenRef(),u=0;u0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;e.eachRendered((function(t){if(t.states&&t.states.emphasis){if(Ep(t))return;if(t instanceof wu&&pc(t),t.__dirty){var e=t.prevStates;e&&t.useStates(e)}if(r){t.stateTransition=a;var i=t.getTextContent(),o=t.getTextGuideLine();i&&(i.stateTransition=a),o&&(o.stateTransition=a)}t.__dirty&&n(t)}}))}Fw=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),Hw(t,!0),Hw(t,!1),e.plan()},Hw=function(t,e){for(var n=t._model,i=t._scheduler,r=e?t._componentsViews:t._chartsViews,o=e?t._componentsMap:t._chartsMap,a=t._zr,s=t._api,l=0;l=0)){Fb.push(n);var o=mx.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function Wb(t,e){vb[t]=e}function Ub(t){Ra("setCanvasCreator is deprecated. Use setPlatformAPI({ createCanvas }) instead."),v({createCanvas:t})}function Yb(t,e,n){var i=hw("registerMap");i&&i(t,e,n)}function Xb(t){var e=hw("getMap");return e&&e(t)}var Zb=Uv;Gb(ww,px),Gb(Mw,fx),Gb(Mw,gx),Gb(ww,Ux),Gb(Mw,Yx),Gb(Dw,aw),Lb(Xy),Pb(gw,Zy),Wb("default",vx),Eb({type:ph,event:ph,update:ph},At),Eb({type:dh,event:dh,update:dh},At),Eb({type:fh,event:fh,update:fh},At),Eb({type:gh,event:gh,update:gh},At),Eb({type:yh,event:yh,update:yh},At),kb("light",Nx),kb("dark",Gx);var jb={},qb=[],Kb={registerPreprocessor:Lb,registerProcessor:Pb,registerPostInit:Ob,registerPostUpdate:Rb,registerUpdateLifecycle:Nb,registerAction:Eb,registerCoordinateSystem:zb,registerLayout:Bb,registerVisual:Gb,registerTransform:Zb,registerLoading:Wb,registerMap:Yb,registerImpl:uw,PRIORITY:Aw,ComponentModel:xg,ComponentView:Ym,SeriesModel:Em,ChartView:qm,registerComponentModel:function(t){xg.registerClass(t)},registerComponentView:function(t){Ym.registerClass(t)},registerSeriesModel:function(t){Em.registerClass(t)},registerChartView:function(t){qm.registerClass(t)},registerSubTypeDefaulter:function(t,e){xg.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){jo(t,e)}};function Jb(t){J(t)?H(t,(function(t){Jb(t)})):V(qb,t)>=0||(qb.push(t),$(t)&&(t={install:t}),t.install(Kb))}function $b(t){return null==t?0:t.length||1}function Qb(t){return t}var tS=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||Qb,this._newKeyGetter=i||Qb,this.context=r,this._diffModeMultiple="multiple"===o}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},i=new Array(t.length),r=new Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o1){var u=s.shift();1===s.length&&(n[a]=s[0]),this._update&&this._update(u,o)}else 1===l?(n[a]=null,this._update&&this._update(s,o)):this._remove&&this._remove(o)}this._performRestAdd(r,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},i={},r=[],o=[];this._initIndexMap(t,n,r,"_oldKeyGetter"),this._initIndexMap(e,i,o,"_newKeyGetter");for(var a=0;a1&&1===c)this._updateManyToOne&&this._updateManyToOne(u,l),i[s]=null;else if(1===h&&c>1)this._updateOneToMany&&this._updateOneToMany(u,l),i[s]=null;else if(1===h&&1===c)this._update&&this._update(u,l),i[s]=null;else if(h>1&&c>1)this._updateManyToMany&&this._updateManyToMany(u,l),i[s]=null;else if(h>1)for(var p=0;p1)for(var a=0;a30}var fS,gS,yS,vS,mS,xS,_S,wS=nt,bS=W,SS="undefined"===typeof Int32Array?Array:Int32Array,MS="e\0\0",IS=-1,TS=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CS=["_approximateExtent"],DS=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var i=!1;hS(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(i=!0,n=t),n=n||["x","y"];for(var r={},o=[],a={},s=!1,l={},u=0;u=0),i&&(c.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var f=this._dimIdxToName=Mt();H(o,(function(t){f.set(r[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);return i?i.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(et(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){var e=this.getDimensionIndex(t);if(null==e)throw new Error("Unknown dimension "+t);return e},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){var e=this._dimSummary,n=e.encode[t];return(n||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r=this;if(t instanceof om&&(i=t),!i){var o=this.dimensions,a=ev(t)||F(t)?new cv(t,o.length):t;i=new om;var s=bS(o,(function(t){return{type:r._dimInfos[t].type,property:t}}));i.initData(a,s,n)}this._store=i,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,i.count()),this._dimSummary=nS(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a=e)){var n=this._store,i=n.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList,a=i.getSource().sourceFormat,s=a===Ig;if(s&&!i.pure)for(var l=[],u=t;u0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),J(r)?r=r.slice():wS(r)&&(r=N({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,wS(e)?N(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){wS(t)?N(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?N(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;th(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){H(this._graphicEls,(function(n,i){n&&t&&t.call(e,n,i)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:bS(this.dimensions,this._getDimInfo,this),this.hostModel)),mS(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];$(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(dt(arguments)))})},t.internalField=function(){fS=function(t){var e=t._invertedIndicesMap;H(e,(function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new SS(o.categories.length);for(var s=0;s1&&(s+="__ec__"+u),i[e]=s}}}(),t}();function AS(t,e){return kS(t,e).dimensions}function kS(t,e){ev(t)||(t=iv(t)),e=e||{};var n=e.coordDimensions||[],i=e.dimensionsDefine||t.dimensionsDefine||[],r=Mt(),o=[],a=PS(t,n,i,e.dimensionsCount),s=e.canOmitUnusedDimensions&&dS(a),l=i===t.dimensionsDefine,u=l?pS(t):cS(i),h=e.encodeDefine;!h&&e.encodeDefaulter&&(h=e.encodeDefaulter(t,a));for(var c=Mt(h),p=new $v(a),d=0;d0&&(i.name=r+(o-1)),o++,e.set(r,o)}}function PS(t,e,n,i){var r=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,i||0);return H(e,(function(t){var e;nt(t)&&(e=t.dimsDef)&&(r=Math.max(r,e.length))})),r}function OS(t,e,n){if(n||e.hasKey(t)){var i=0;while(e.hasKey(t+i))i++;t+=i}return e.set(t,!0),t}var RS=function(){function t(t){this.coordSysDims=[],this.axisMap=Mt(),this.categoryAxisMap=Mt(),this.coordSysName=t}return t}();function NS(t){var e=t.get("coordinateSystem"),n=new RS(e),i=ES[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}var ES={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",gs).models[0],o=t.getReferringComponents("yAxis",gs).models[0];if(!r)throw new Error('xAxis "'+ht(t.get("xAxisIndex"),t.get("xAxisId"),0)+'" not found');if(!o)throw new Error('yAxis "'+ht(t.get("xAxisIndex"),t.get("yAxisId"),0)+'" not found');e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),zS(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),zS(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",gs).models[0];if(!r)throw new Error("singleAxis should be specified.");e.coordSysDims=["single"],n.set("single",r),zS(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",gs).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");if(!a)throw new Error("angleAxis option not found");if(!o)throw new Error("radiusAxis option not found");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),zS(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),zS(a)&&(i.set("angle",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,i){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,i){var r=t.ecModel,o=r.getComponent("parallel",t.get("parallelIndex")),a=e.coordSysDims=o.dimensions.slice();H(o.parallelAxisIndex,(function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),zS(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))}))}};function zS(t){return"category"===t.get("type")}function VS(t,e,n){n=n||{};var i,r,o,a=n.byIndex,s=n.stackedCoordDimension;BS(e)?i=e:(r=e.schema,i=r.dimensions,o=e.store);var l,u,h,c,p=!(!t||!t.get("stack"));if(H(i,(function(t,e){Q(t)&&(i[e]=t={name:t}),p&&!t.isExtraCoord&&(a||l||!t.ordinalMeta||(l=t),u||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(u=t))})),!u||a||l||(a=!0),u){h="__\0ecstackresult_"+t.id,c="__\0ecstackedover_"+t.id,l&&(l.createInvertedIndices=!0);var d=u.coordDim,f=u.type,g=0;H(i,(function(t){t.coordDim===d&&g++}));var y={name:h,coordDim:d,coordDimIndex:g,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length},v={name:c,coordDim:c,coordDimIndex:g+1,type:f,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:i.length+1};r?(o&&(y.storeDimIndex=o.ensureCalculationDimension(c,f),v.storeDimIndex=o.ensureCalculationDimension(h,f)),r.appendCalculationDimension(y),r.appendCalculationDimension(v)):(i.push(y),i.push(v))}return{stackedDimension:u&&u.name,stackedByDimension:l&&l.name,isStackedByIndex:a,stackedOverDimension:c,stackResultDimension:h}}function BS(t){return!hS(t.schema)}function GS(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function FS(t,e){return GS(t,e)?t.getCalculationInfo("stackResultDimension"):e}function HS(t,e){var n,i=t.get("coordinateSystem"),r=yy.get(i);return e&&e.coordSysDims&&(n=W(e.coordSysDims,(function(t){var n={name:t},i=e.axisMap.get(t);if(i){var r=i.get("type");n.type=rS(r)}return n}))),n||(n=r&&(r.getDimensionsInfo?r.getDimensionsInfo():r.dimensions.slice())||["x","y"]),n}function WS(t,e,n){var i,r;return n&&H(t,(function(t,o){var a=t.coordDim,s=n.categoryAxisMap.get(a);s&&(null==i&&(i=o),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(r=!0)})),r||null==i||(t[i].otherDims.itemName=0),i}function US(t,e,n){n=n||{};var i,r=e.getSourceManager(),o=!1;t?(o=!0,i=iv(t)):(i=r.getSource(),o=i.sourceFormat===Ig);var a=NS(e),s=HS(e,a),l=n.useEncodeDefaulter,u=$(l)?l:l?K(Eg,s,e):null,h={coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:u,canOmitUnusedDimensions:!o},c=kS(i,h),p=WS(c.dimensions,n.createInvertedIndices,a),d=o?null:r.getSharedDataStore(c),f=VS(e,{schema:c,store:d}),g=new DS(c,e);g.setCalculationInfo(f);var y=null!=p&&YS(i)?function(t,e,n,i){return i===p?n:this.defaultDimValueGetter(t,e,n,i)}:null;return g.hasItemOption=!1,g.initData(o?i:d,null,y),g}function YS(t){if(t.sourceFormat===Ig){var e=XS(t.data||[]);return!J(Ua(e))}}function XS(t){var e=0;while(ee[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();Es(ZS);var jS=0,qS=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++jS}return t.createByAxisModel=function(e){var n=e.option,i=n.data,r=i&&W(i,KS);return new t({categories:r,needCollect:!r,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!Q(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var i=this._getOrCreateMap();return e=i.get(t),null==e&&(n?(e=this.categories.length,this.categories[e]=t,i.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=Mt(this.categories))},t}();function KS(t){return nt(t)&&null!=t.value?t.value:t+""}function JS(t){var e=Math.pow(10,ma(Math.abs(t))),n=Math.abs(t/e);return 0===n||1===n||2===n||3===n||5===n}function $S(t){return"interval"===t.type||"log"===t.type}function QS(t,e,n,i){var r={},o=t[1]-t[0],a=r.interval=xa(o/e,!0);null!=n&&ai&&(a=r.interval=i);var s=r.intervalPrecision=eM(a),l=r.niceTickExtent=[ra(Math.ceil(t[0]/a)*a,s),ra(Math.floor(t[1]/a)*a,s)];return iM(l,t),r}function tM(t){var e=Math.pow(10,ma(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,ra(n*e)}function eM(t){return aa(t)+2}function nM(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function iM(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),nM(t,0,e),nM(t,1,e),t[0]>t[1]&&(t[0]=t[1])}function rM(t,e){return t>=e[0]&&t<=e[1]}function oM(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function aM(t,e){return t*(e[1]-e[0])+e[0]}var sM=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var i=n.getSetting("ordinalMeta");return i||(i=new qS({})),J(i)&&(i=new qS({categories:W(i,(function(t){return nt(t)?t.value:t}))})),n._ordinalMeta=i,n._extent=n.getSetting("extent")||[0,i.categories.length-1],n}return i(e,t),e.prototype.parse=function(t){return null==t?NaN:Q(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),rM(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),oM(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(aM(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){var t=[],e=this._extent,n=e[0];while(n<=e[1])t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],i=this._ticksByOrdinalNumber=[],r=0,o=this._ordinalMeta.categories.length,a=Math.min(o,e.length);r=0&&t=0&&t=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(ZS);ZS.registerClass(sM);var lM=ra,uM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return i(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return rM(t,this._extent)},e.prototype.normalize=function(t){return oM(t,this._extent)},e.prototype.scale=function(t){return aM(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=eM(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,i=this._niceExtent,r=this._intervalPrecision,o=[];if(!e)return o;var a=1e4;n[0]a)return[]}var l=o.length?o[o.length-1].value:i[1];return n[1]>l&&(t?o.push({value:lM(l+e,r)}):o.push({value:n[1]})),o},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],i=this.getExtent(),r=1;ri[0]&&c0&&(o=null===o?s:Math.min(o,s))}n[i]=o}}return n}function xM(t){var e=mM(t),n=[];return H(t,(function(t){var i,r=t.coordinateSystem,o=r.getBaseAxis(),a=o.getExtent();if("category"===o.type)i=o.getBandWidth();else if("value"===o.type||"time"===o.type){var s=o.dim+"_"+o.index,l=e[s],u=Math.abs(a[1]-a[0]),h=o.scale.getExtent(),c=Math.abs(h[1]-h[0]);i=l?u/c*l:u}else{var p=t.getData();i=Math.abs(a[1]-a[0])/p.count()}var d=ia(t.get("barWidth"),i),f=ia(t.get("barMaxWidth"),i),g=ia(t.get("barMinWidth")||(IM(t)?.5:1),i),y=t.get("barGap"),v=t.get("barCategoryGap");n.push({bandWidth:i,barWidth:d,barMaxWidth:f,barMinWidth:g,barGap:y,barCategoryGap:v,axisKey:gM(o),stackId:fM(t)})})),_M(n)}function _M(t){var e={};H(t,(function(t,n){var i=t.axisKey,r=t.bandWidth,o=e[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;e[i]=o;var s=t.stackId;a[s]||o.autoWidthCount++,a[s]=a[s]||{width:0,maxWidth:0};var l=t.barWidth;l&&!a[s].width&&(a[s].width=l,l=Math.min(o.remainedWidth,l),o.remainedWidth-=l);var u=t.barMaxWidth;u&&(a[s].maxWidth=u);var h=t.barMinWidth;h&&(a[s].minWidth=h);var c=t.barGap;null!=c&&(o.gap=c);var p=t.barCategoryGap;null!=p&&(o.categoryGap=p)}));var n={};return H(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=t.categoryGap;if(null==o){var a=Z(i).length;o=Math.max(35-4*a,15)+"%"}var s=ia(o,r),l=ia(t.gap,1),u=t.remainedWidth,h=t.autoWidthCount,c=(u-s)/(h+(h-1)*l);c=Math.max(c,0),H(i,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,u-=i+l*i,h--}else{var i=c;e&&ei&&(i=n),i!==c&&(t.width=i,u-=i+l*i,h--)}})),c=(u-s)/(h+(h-1)*l),c=Math.max(c,0);var p,d=0;H(i,(function(t,e){t.width||(t.width=c),p=t,d+=t.width*(1+l)})),p&&(d-=p.width*l);var f=-d/2;H(i,(function(t,i){n[e][i]=n[e][i]||{bandWidth:r,offset:f,width:t.width},f+=t.width*(1+l)}))})),n}function wM(t,e,n){if(t&&e){var i=t[gM(e)];return null!=i&&null!=n?i[fM(n)]:i}}function bM(t,e){var n=vM(t,e),i=xM(n);H(n,(function(t){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),o=fM(t),a=i[gM(r)][o],s=a.offset,l=a.width;e.setLayout({bandWidth:a.bandWidth,offset:s,size:l})}))}function SM(t){return{seriesType:t,plan:Xm(),reset:function(t){if(MM(t)){var e=t.getData(),n=t.coordinateSystem,i=n.getBaseAxis(),r=n.getOtherAxis(i),o=e.getDimensionIndex(e.mapDimension(r.dim)),a=e.getDimensionIndex(e.mapDimension(i.dim)),s=t.get("showBackground",!0),l=e.mapDimension(r.dim),u=e.getCalculationInfo("stackResultDimension"),h=GS(e,l)&&!!e.getCalculationInfo("stackedOnSeries"),c=r.isHorizontal(),p=TM(i,r),d=IM(t),f=t.get("barMinHeight")||0,g=u&&e.getDimensionIndex(u),y=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){var i,r=t.count,l=d&&pM(3*r),u=d&&s&&pM(3*r),m=d&&pM(r),x=n.master.getRect(),_=c?x.width:x.height,w=e.getStore(),b=0;while(null!=(i=t.next())){var S=w.get(h?g:o,i),M=w.get(a,i),I=p,T=void 0;h&&(T=+S-w.get(o,i));var C=void 0,D=void 0,A=void 0,k=void 0;if(c){var L=n.dataToPoint([S,M]);if(h){var P=n.dataToPoint([T,M]);I=P[0]}C=I,D=L[1]+v,A=L[0]-I,k=y,Math.abs(A)0?n:1:n))}var CM=function(t,e,n,i){while(n>>1;t[r][1]n&&(this._approxInterval=n);var o=AM.length,a=Math.min(CM(AM,this._approxInterval,0,o),o-1);this._interval=AM[a][1],this._minLevelUnit=AM[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return et(t)?t:+ya(t)},e.prototype.contain=function(t){return rM(this.parse(t),this._extent)},e.prototype.normalize=function(t){return oM(this.parse(t),this._extent)},e.prototype.scale=function(t){return aM(t,this._extent)},e.type="time",e}(uM),AM=[["second",df],["minute",ff],["hour",gf],["quarter-day",6*gf],["half-day",12*gf],["day",1.2*yf],["half-week",3.5*yf],["week",7*yf],["month",31*yf],["quarter",95*yf],["half-year",vf/2],["year",vf]];function kM(t,e,n,i){var r=ya(e),o=ya(n),a=function(t){return kf(r,t,i)===kf(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},p=function(){return c()&&a("second")},d=function(){return p()&&a("millisecond")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return p();case"millisecond":return d()}}function LM(t,e){return t/=yf,t>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function PM(t){var e=30*yf;return t/=e,t>6?6:t>3?3:t>2?2:1}function OM(t){return t/=gf,t>12?12:t>6?6:t>3.5?4:t>2?2:1}function RM(t,e){return t/=e?ff:df,t>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function NM(t){return xa(t,!0)}function EM(t,e,n){var i=new Date(t);switch(Mf(e)){case"year":case"month":i[Bf(n)](0);case"day":i[Gf(n)](1);case"hour":i[Ff(n)](0);case"minute":i[Hf(n)](0);case"second":i[Wf(n)](0),i[Uf(n)](0)}return i.getTime()}function zM(t,e,n,i){var r=1e4,o=bf,a=0;function s(t,e,n,r,o,a,s){var l=new Date(e),u=e,h=l[r]();while(u1&&0===u&&o.unshift({value:o[0].value-p})}}for(u=0;u=i[0]&&m<=i[1]&&c++)}var x=(i[1]-i[0])/e;if(c>1.5*x&&p>x/1.5)break;if(u.push(y),c>x||t===o[d])break}h=[]}}}a>=r&&Pa("Exceed safe limit.");var _=Y(W(u,(function(t){return Y(t,(function(t){return t.value>=i[0]&&t.value<=i[1]&&!t.notAdd}))})),(function(t){return t.length>0})),w=[],b=_.length-1;for(d=0;d<_.length;++d)for(var S=_[d],M=0;M0)i*=10;var o=[ra(HM(e[0]/i)*i),ra(FM(e[1]/i)*i)];this._interval=i,this._niceExtent=o}},e.prototype.calcNiceExtent=function(t){BM.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return t=UM(t)/UM(this.base),rM(t,this._extent)},e.prototype.normalize=function(t){return t=UM(t)/UM(this.base),oM(t,this._extent)},e.prototype.scale=function(t){return t=aM(t,this._extent),WM(this.base,t)},e.type="log",e}(ZS),XM=YM.prototype;function ZM(t,e){return GM(t,aa(e))}XM.getMinorTicks=BM.getMinorTicks,XM.getLabel=BM.getLabel,ZS.registerClass(YM);var jM=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]0&&s>0&&!l&&(a=0),a<0&&s<0&&!u&&(s=0));var c=this._determinedMin,p=this._determinedMax;return null!=c&&(a=c,l=!0),null!=p&&(s=p,u=!0),{min:a,max:s,minFixed:l,maxFixed:u,isBlank:h}},t.prototype.modifyDataMinMax=function(t,e){gt(!this.frozen),this[KM[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){var n=qM[t];gt(!this.frozen&&null==this[n]),this[n]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),qM={min:"_determinedMin",max:"_determinedMax"},KM={min:"_dataMin",max:"_dataMax"};function JM(t,e,n){var i=t.rawExtentInfo;return i||(i=new jM(t,e,n),t.rawExtentInfo=i,i)}function $M(t,e){return null==e?null:ut(e)?NaN:t.parse(e)}function QM(t,e){var n=t.type,i=JM(t,e,t.getExtent()).calculate();t.setBlank(i.isBlank);var r=i.min,o=i.max,a=e.ecModel;if(a&&"time"===n){var s=vM("bar",a),l=!1;if(H(s,(function(t){l=l||t.getBaseAxis()===e.axis})),l){var u=xM(s),h=tI(r,o,e,u);r=h.min,o=h.max}}return{extent:[r,o],fixMin:i.minFixed,fixMax:i.maxFixed}}function tI(t,e,n,i){var r=n.axis.getExtent(),o=Math.abs(r[1]-r[0]),a=wM(i,n.axis);if(void 0===a)return{min:t,max:e};var s=1/0;H(a,(function(t){s=Math.min(t.offset,s)}));var l=-1/0;H(a,(function(t){l=Math.max(t.offset+t.width,l)})),s=Math.abs(s),l=Math.abs(l);var u=s+l,h=e-t,c=1-(s+l)/o,p=h/c-h;return e+=p*(l/u),t-=p*(s/u),{min:t,max:e}}function eI(t,e){var n=e,i=QM(t,n),r=i.extent,o=n.get("splitNumber");t instanceof YM&&(t.base=n.get("logBase"));var a=t.type,s=n.get("interval"),l="interval"===a||"time"===a;t.setExtent(r[0],r[1]),t.calcNiceExtent({splitNumber:o,fixMin:i.fixMin,fixMax:i.fixMax,minInterval:l?n.get("minInterval"):null,maxInterval:l?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function nI(t,e){if(e=e||t.get("type"),e)switch(e){case"category":return new sM({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new DM({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(ZS.getClass(e)||uM)}}function iI(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function rI(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(e){return function(n,i){return t.scale.getFormattedLabel(n,i,e)}}(e):Q(e)?function(e){return function(n){var i=t.scale.getLabel(n),r=e.replace("{value}",null!=i?i:"");return r}}(e):$(e)?function(e){return function(i,r){return null!=n&&(r=i.value-n),e(oI(t,i),r,null!=i.level?{level:i.level}:null)}}(e):function(e){return t.scale.getLabel(e)}}function oI(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function aI(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var i,r,o=n.getExtent();n instanceof sM?r=n.count():(i=n.getTicks(),r=i.length);var a,s=t.getLabelModel(),l=rI(t),u=1;r>40&&(u=Math.ceil(r/40));for(var h=0;ht[1]&&(t[1]=i[1])}))}var pI=function(){function t(){}return t.prototype.getNeedCrossZero=function(){var t=this.option;return!t.scale},t.prototype.getCoordSysModel=function(){},t}();function dI(t){return US(null,t)}var fI={isDimensionStacked:GS,enableDataStack:VS,getStackedDimension:FS};function gI(t,e){var n=e;e instanceof jd||(n=new jd(e));var i=nI(n);return i.setExtent(t[0],t[1]),eI(i,n),i}function yI(t){G(t,pI)}function vI(t,e){return e=e||{},Td(t,null,null,"normal"!==e.state)}var mI=Object.freeze({__proto__:null,createList:dI,getLayoutRect:cg,dataStack:fI,createScale:gI,mixinAxisModelCommonMethods:yI,getECData:Qu,createTextStyle:vI,createDimensions:AS,createSymbol:c_,enableHoverEmphasis:Qh}),xI=1e-8;function _I(t,e){return Math.abs(t-e)n&&(t=r,n=a)}if(t)return II(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],i=[-1/0,-1/0],r=this.geometries;return H(r,(function(e){"polygon"===e.type?MI(e.exterior,n,i,t):H(e.points,(function(e){MI(e,n,i,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(i[0])&&isFinite(i[1])||(n[0]=n[1]=i[0]=i[1]=0),e=new en(n[0],n[1],i[0]-n[0],i[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var i=0,r=n.length;i>1^-(1&s),l=l>>1^-(1&l),s+=r,l+=o,r=s,o=l,i.push([s/n,l/n])}return i}function RI(t,e){return t=LI(t),W(Y(t.features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,i=t.geometry,r=[];switch(i.type){case"Polygon":var o=i.coordinates;r.push(new CI(o[0],o.slice(1)));break;case"MultiPolygon":H(i.coordinates,(function(t){t[0]&&r.push(new CI(t[0],t.slice(1)))}));break;case"LineString":r.push(new DI([i.coordinates]));break;case"MultiLineString":r.push(new DI(i.coordinates))}var a=new AI(n[e||"name"],r,n.cp);return a.properties=n,a}))}var NI=Object.freeze({__proto__:null,linearMap:na,round:ra,asc:oa,getPrecision:aa,getPrecisionSafe:sa,getPixelPrecision:la,getPercentWithPrecision:ua,MAX_SAFE_INTEGER:pa,remRadian:da,isRadianAroundZero:fa,parseDate:ya,quantity:va,quantityExponent:ma,nice:xa,quantile:_a,reformIntervals:wa,isNumeric:Sa,numericToNumber:ba}),EI=Object.freeze({__proto__:null,parse:ya,format:Cf}),zI=Object.freeze({__proto__:null,extendShape:Yp,extendPath:Zp,makePath:Kp,makeImage:Jp,mergePath:Qp,resizePath:td,createIcon:pd,updateProps:Rp,initProps:Np,getTransform:rd,clipPointsByRect:hd,clipRectByRect:cd,registerShape:jp,getShapeClass:qp,Group:zo,Image:Cu,Text:Bu,Circle:zc,Ellipse:Bc,Sector:np,Ring:rp,Polygon:lp,Polyline:hp,Rect:Nu,Line:dp,BezierCurve:vp,Arc:xp,IncrementalDisplayable:kp,CompoundPath:_p,LinearGradient:bp,RadialGradient:Sp,BoundingRect:en}),VI=Object.freeze({__proto__:null,addCommas:Xf,toCamelCase:Zf,normalizeCssArray:jf,encodeHTML:xe,formatTpl:$f,getTooltipMarker:tg,formatTime:eg,capitalFirst:ng,truncateText:Zs,getTextRect:Yf}),BI=Object.freeze({__proto__:null,map:W,each:H,indexOf:V,inherits:B,reduce:U,filter:Y,bind:q,curry:K,isArray:J,isString:Q,isObject:nt,isFunction:$,extend:N,defaults:E,clone:P,merge:O}),GI=cs();function FI(t,e){var n=W(e,(function(e){return t.scale.parse(e)}));return"time"===t.type&&n.length>0&&(n.sort(),n.unshift(n[0]),n.push(n[n.length-1])),n}function HI(t){var e=t.getLabelModel().get("customValues");if(e){var n=rI(t),i=t.scale.getExtent(),r=FI(t,e),o=Y(r,(function(t){return t>=i[0]&&t<=i[1]}));return{labels:W(o,(function(e){var i={value:e};return{formattedLabel:n(i),rawLabel:t.scale.getLabel(i),tickValue:e}}))}}return"category"===t.type?UI(t):ZI(t)}function WI(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent(),r=FI(t,n);return{ticks:Y(r,(function(t){return t>=i[0]&&t<=i[1]}))}}return"category"===t.type?XI(t,e):{ticks:W(t.scale.getTicks(),(function(t){return t.value}))}}function UI(t){var e=t.getLabelModel(),n=YI(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}function YI(t,e){var n,i,r=jI(t,"labels"),o=lI(e),a=qI(r,o);return a||($(o)?n=eT(t,o):(i="auto"===o?JI(t):o,n=tT(t,i)),KI(r,o,{labels:n,labelCategoryInterval:i}))}function XI(t,e){var n,i,r=jI(t,"ticks"),o=lI(e),a=qI(r,o);if(a)return a;if(e.get("show")&&!t.scale.isBlank()||(n=[]),$(o))n=eT(t,o,!0);else if("auto"===o){var s=YI(t,t.getLabelModel());i=s.labelCategoryInterval,n=W(s.labels,(function(t){return t.tickValue}))}else i=o,n=tT(t,i,!0);return KI(r,o,{ticks:n,tickCategoryInterval:i})}function ZI(t){var e=t.scale.getTicks(),n=rI(t);return{labels:W(e,(function(e,i){return{level:e.level,formattedLabel:n(e,i),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}function jI(t,e){return GI(t)[e]||(GI(t)[e]=[])}function qI(t,e){for(var n=0;n40&&(s=Math.max(1,Math.floor(a/40)));for(var l=o[0],u=t.dataToCoord(l+1)-t.dataToCoord(l),h=Math.abs(u*Math.cos(i)),c=Math.abs(u*Math.sin(i)),p=0,d=0;l<=o[1];l+=s){var f=0,g=0,y=mo(n({value:l}),e.font,"center","top");f=1.3*y.width,g=1.3*y.height,p=Math.max(p,f,7),d=Math.max(d,g,7)}var v=p/h,m=d/c;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var x=Math.max(0,Math.floor(Math.min(v,m))),_=GI(t.model),w=t.getExtent(),b=_.lastAutoInterval,S=_.lastTickCount;return null!=b&&null!=S&&Math.abs(b-x)<=1&&Math.abs(S-a)<=1&&b>x&&_.axisExtent0===w[0]&&_.axisExtent1===w[1]?x=b:(_.lastTickCount=a,_.lastAutoInterval=x,_.axisExtent0=w[0],_.axisExtent1=w[1]),x}function QI(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}function tT(t,e,n){var i=rI(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=uI(t),p=a.get("showMinLabel")||c,d=a.get("showMaxLabel")||c;p&&u!==o[0]&&g(o[0]);for(var f=u;f<=o[1];f+=l)g(f);function g(t){var e={value:t};s.push(n?t:{formattedLabel:i(e),rawLabel:r.getLabel(e),tickValue:t})}return d&&f-l!==o[1]&&g(o[1]),s}function eT(t,e,n){var i=t.scale,r=rI(t),o=[];return H(i.getTicks(),(function(t){var a=i.getLabel(t),s=t.value;e(t.value,a)&&o.push(n?s:{formattedLabel:r(t),rawLabel:a,tickValue:s})})),o}var nT=[0,1],iT=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),i=Math.max(e[0],e[1]);return t>=n&&t<=i},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return la(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,i=this.scale;return t=i.normalize(t),this.onBand&&"ordinal"===i.type&&(n=n.slice(),rT(n,i.count())),na(t,nT,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&(n=n.slice(),rT(n,i.count()));var r=na(t,n,nT,e);return this.scale.scale(r)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){t=t||{};var e=t.tickModel||this.getTickModel(),n=WI(this,e),i=n.ticks,r=W(i,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this),o=e.get("alignWithLabel");return oT(this,r,o,t.clamp),r},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick"),e=t.get("splitNumber");e>0&&e<100||(e=5);var n=this.scale.getMinorTicks(e),i=W(n,(function(t){return W(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this);return i},t.prototype.getViewLabels=function(){return HI(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var i=Math.abs(t[1]-t[0]);return Math.abs(i)/n},t.prototype.calculateCategoryInterval=function(){return $I(this)},t}();function rT(t,e){var n=t[1]-t[0],i=e,r=n/i/2;t[0]+=r,t[1]-=r}function oT(t,e,n,i){var r=e.length;if(t.onBand&&!n&&r){var o,a,s=t.getExtent();if(1===r)e[0].coord=s[0],o=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var l=e[r-1].tickValue-e[0].tickValue,u=(e[r-1].coord-e[0].coord)/l;H(e,(function(t){t.coord-=u/2}));var h=t.scale.getExtent();a=1+h[1]-e[r-1].tickValue,o={coord:e[r-1].coord+u*a,tickValue:h[1]+1},e.push(o)}var c=s[0]>s[1];p(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&p(s[0],e[0].coord)&&e.unshift({coord:s[0]}),p(s[1],o.coord)&&(i?o.coord=s[1]:e.pop()),i&&p(o.coord,s[1])&&e.push({coord:s[1]})}function p(t,e){return t=ra(t),e=ra(e),c?t>e:tr&&(r+=hT);var d=Math.atan2(s,a);if(d<0&&(d+=hT),d>=i&&d<=r||d+hT>=i&&d+hT<=r)return l[0]=h,l[1]=c,u-n;var f=n*Math.cos(i)+t,g=n*Math.sin(i)+e,y=n*Math.cos(r)+t,v=n*Math.sin(r)+e,m=(f-a)*(f-a)+(g-s)*(g-s),x=(y-a)*(y-a)+(v-s)*(v-s);return m0){e=e/180*Math.PI,_T.fromArray(t[0]),wT.fromArray(t[1]),bT.fromArray(t[2]),Xe.sub(ST,_T,wT),Xe.sub(MT,bT,wT);var n=ST.len(),i=MT.len();if(!(n<.001||i<.001)){ST.scale(1/n),MT.scale(1/i);var r=ST.dot(MT),o=Math.cos(e);if(o1&&Xe.copy(CT,bT),CT.toArray(t[1])}}}}function AT(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,_T.fromArray(t[0]),wT.fromArray(t[1]),bT.fromArray(t[2]),Xe.sub(ST,wT,_T),Xe.sub(MT,bT,wT);var i=ST.len(),r=MT.len();if(!(i<.001||r<.001)){ST.scale(1/i),MT.scale(1/r);var o=ST.dot(e),a=Math.cos(n);if(o=l)Xe.copy(CT,bT);else{CT.scaleAndAdd(MT,s/Math.tan(Math.PI/2-h));var c=bT.x!==wT.x?(CT.x-wT.x)/(bT.x-wT.x):(CT.y-wT.y)/(bT.y-wT.y);if(isNaN(c))return;c<0?Xe.copy(CT,wT):c>1&&Xe.copy(CT,bT)}CT.toArray(t[1])}}}}function kT(t,e,n,i){var r="normal"===n,o=r?t:t.ensureState(n);o.ignore=e;var a=i.get("smooth");a&&!0===a&&(a=.3),o.shape=o.shape||{},a>0&&(o.shape.smooth=a);var s=i.getModel("lineStyle").getLineStyle();r?t.useStyle(s):o.style=s}function LT(t,e){var n=e.smooth,i=e.points;if(i)if(t.moveTo(i[0][0],i[0][1]),n>0&&i.length>=3){var r=qt(i[0],i[1]),o=qt(i[1],i[2]);if(!r||!o)return t.lineTo(i[1][0],i[1][1]),void t.lineTo(i[2][0],i[2][1]);var a=Math.min(r,o)*n,s=Qt([],i[1],i[0],a/r),l=Qt([],i[1],i[2],a/o),u=Qt([],s,l,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],u[0],u[1]),t.bezierCurveTo(l[0],l[1],l[0],l[1],i[2][0],i[2][1])}else for(var h=1;h0&&o&&w(-h/a,0,a);var g,y,v=t[0],m=t[a-1];return x(),g<0&&b(-g,.8),y<0&&b(y,.8),x(),_(g,y,1),_(y,g,-1),x(),g<0&&S(-g),y<0&&S(y),u}function x(){g=v.rect[e]-i,y=r-m.rect[e]-m.rect[n]}function _(t,e,n){if(t<0){var i=Math.min(e,-t);if(i>0){w(i*n,0,a);var r=i+t;r<0&&b(-r*n,1)}else b(-t*n,1)}}function w(n,i,r){0!==n&&(u=!0);for(var o=i;o0)for(l=0;l0;l--){p=o[l-1]*c;w(-p,l,a)}}}function S(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(a-1)),i=0;i0?w(n,0,i+1):w(-n,a-i-1,a),t-=n,t<=0)return}}function ET(t,e,n,i){return NT(t,"x","width",e,n,i)}function zT(t,e,n,i){return NT(t,"y","height",e,n,i)}function VT(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new en(0,0,0,0);function i(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var r=0;r=0&&n.attr(r.oldLayoutSelect),V(h,"emphasis")>=0&&n.attr(r.oldLayoutEmphasis)),Rp(n,l,e,s)}else if(n.attr(l),!Nd(n).valueAnimation){var c=ct(n.style.opacity,1);n.style.opacity=0,Np(n,{style:{opacity:c}},e,s)}if(r.oldLayout=l,n.states.select){var p=r.oldLayoutSelect={};YT(p,l,XT),YT(p,n.states.select,XT)}if(n.states.emphasis){var d=r.oldLayoutEmphasis={};YT(d,l,XT),YT(d,n.states.emphasis,XT)}zd(n,s,u,e,e)}if(i&&!i.ignore&&!i.invisible){r=UT(i),o=r.oldLayout;var f={points:i.shape.points};o?(i.attr({shape:o}),Rp(i,{shape:f},e)):(i.setShape(f),i.style.strokePercent=0,Np(i,{style:{strokePercent:1}},e)),r.oldLayout=f}},t}(),jT=cs();function qT(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var i=jT(e).labelManager;i||(i=jT(e).labelManager=new ZT),i.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var i=jT(e).labelManager;n.updatedSeries.forEach((function(t){i.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),i.updateLayoutConfig(e),i.layout(e),i.processLabelsOverall()}))}var KT=Math.sin,JT=Math.cos,$T=Math.PI,QT=2*Math.PI,tC=180/$T,eC=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,i,r,o){this._add("C",t,e,n,i,r,o)},t.prototype.quadraticCurveTo=function(t,e,n,i){this._add("Q",t,e,n,i)},t.prototype.arc=function(t,e,n,i,r,o){this.ellipse(t,e,n,n,0,i,r,o)},t.prototype.ellipse=function(t,e,n,i,r,o,a,s){var l=a-o,u=!s,h=Math.abs(l),c=Ui(h-QT)||(u?l>=QT:-l>=QT),p=l>0?l%QT:l%QT+QT,d=!1;d=!!c||!Ui(h)&&p>=$T===!!u;var f=t+n*JT(o),g=e+i*KT(o);this._start&&this._add("M",f,g);var y=Math.round(r*tC);if(c){var v=1/this._p,m=(u?1:-1)*(QT-v);this._add("A",n,i,y,1,+u,t+n*JT(o+m),e+i*KT(o+m)),v>.01&&this._add("A",n,i,y,0,+u,f,g)}else{var x=t+n*JT(a),_=e+i*KT(a);this._add("A",n,i,y,+d,+u,x,_)}},t.prototype.rect=function(t,e,n,i){this._add("M",t,e),this._add("l",n,0),this._add("l",0,i),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,i,r,o,a,s,l){for(var u=[],h=this._p,c=1;c"}function vC(t){return""}function mC(t,e){e=e||{};var n=e.newline?"\n":"";function i(t){var e=t.children,r=t.tag,o=t.attrs,a=t.text;return yC(r,o)+("style"!==r?xe(a):a||"")+(e?""+n+W(e,(function(t){return i(t)})).join(n)+n:"")+vC(r)}return i(t)}function xC(t,e,n){n=n||{};var i=n.newline?"\n":"",r=" {"+i,o=i+"}",a=W(Z(t),(function(e){return e+r+W(Z(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(i)+o})).join(i),s=W(Z(e),(function(t){return"@keyframes "+t+r+W(Z(e[t]),(function(n){return n+r+W(Z(e[t][n]),(function(i){var r=e[t][n][i];return"d"===i&&(r='path("'+r+'")'),i+":"+r+";"})).join(i)+o})).join(i)+o})).join(i);return a||s?[""].join(i):""}function _C(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function wC(t,e,n,i){return gC("svg","root",{width:t,height:e,xmlns:uC,"xmlns:xlink":hC,version:"1.1",baseProfile:"full",viewBox:!!i&&"0 0 "+t+" "+e},n)}var bC=0;function SC(){return bC++}var MC={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},IC="transform-origin";function TC(t,e,n){var i=N({},t.shape);N(i,e),t.buildPath(n,i);var r=new eC;return r.reset(or(t)),n.rebuildPath(r,1),r.generateStr(),r.getStr()}function CC(t,e){var n=e.originX,i=e.originY;(n||i)&&(t[IC]=n+"px "+i+"px")}var DC={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function AC(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function kC(t,e,n){var i,r,o=t.shape.paths,a={};if(H(o,(function(t){var e=_C(n.zrId);e.animation=!0,PC(t,{},e,!0);var o=e.cssAnims,s=e.cssNodes,l=Z(o),u=l.length;if(u){r=l[u-1];var h=o[r];for(var c in h){var p=h[c];a[c]=a[c]||{d:""},a[c].d+=p.d||""}for(var d in s){var f=s[d].animation;f.indexOf(r)>=0&&(i=f)}}})),i){e.d=!1;var s=AC(a,n);return i.replace(r,s)}}function LC(t){return Q(t)?MC[t]?"cubic-bezier("+MC[t]+")":ai(t)?t:"":""}function PC(t,e,n,i){var r=t.animators,o=r.length,a=[];if(t instanceof _p){var s=kC(t,e,n);if(s)a.push(s);else if(!o)return}else if(!o)return;for(var l={},u=0;u0})).length){var A=AC(h,n);return A+" "+r[0]+" both"}}for(var y in l){s=g(l[y]);s&&a.push(s)}if(a.length){var v=n.zrId+"-cls-"+SC();n.cssNodes["."+v]={animation:a.join(",")},e["class"]=v}}function OC(t,e,n){if(!t.ignore)if(t.isSilent()){var i={"pointer-events":"none"};RC(i,e,n,!0)}else{var r=t.states.emphasis&&t.states.emphasis.style?t.states.emphasis.style:{},o=r.fill;if(!o){var a=t.style&&t.style.fill,s=t.states.select&&t.states.select.style&&t.states.select.style.fill,l=t.currentStates.indexOf("select")>=0&&s||a;l&&(o=Bi(l))}var u=r.lineWidth;if(u){var h=!r.strokeNoScale&&t.transform?t.transform[0]:1;u/=h}i={cursor:"pointer"};o&&(i.fill=o),r.stroke&&(i.stroke=r.stroke),u&&(i["stroke-width"]=u),RC(i,e,n,!0)}}function RC(t,e,n,i){var r=JSON.stringify(t),o=n.cssStyleCache[r];o||(o=n.zrId+"-cls-"+SC(),n.cssStyleCache[r]=o,n.cssNodes["."+o+(i?":hover":"")]=t),e["class"]=e["class"]?e["class"]+" "+o:o}var NC=Math.round;function EC(t){return t&&Q(t.src)}function zC(t){return t&&$(t.toDataURL)}function VC(t,e,n,i){lC((function(r,o){var a="fill"===r||"stroke"===r;a&&ir(o)?QC(e,t,r,i):a&&tr(o)?tD(n,t,r,i):t[r]=o,a&&i.ssr&&"none"===o&&(t["pointer-events"]="visible")}),e,n,!1),$C(n,t,i)}function BC(t,e){var n=qo(e);n&&(n.each((function(e,n){null!=e&&(t[(dC+n).toLowerCase()]=e+"")})),e.isSilent()&&(t[dC+"silent"]="true"))}function GC(t){return Ui(t[0]-1)&&Ui(t[1])&&Ui(t[2])&&Ui(t[3]-1)}function FC(t){return Ui(t[4])&&Ui(t[5])}function HC(t,e,n){if(e&&(!FC(e)||!GC(e))){var i=n?10:1e4;t.transform=GC(e)?"translate("+NC(e[4]*i)/i+" "+NC(e[5]*i)/i+")":Zi(e)}}function WC(t,e,n){for(var i=t.points,r=[],o=0;ou?(a=null==n[p+1]?null:n[p+1].elm,vD(t,a,n,l,p)):mD(t,e,s,u))}function wD(t,e){var n=e.elm=t.elm,i=t.children,r=e.children;t!==e&&(xD(t,e),pD(e.text)?dD(i)&&dD(r)?i!==r&&_D(n,i,r):dD(r)?(dD(t.text)&&lD(n,""),vD(n,null,r,0,r.length-1)):dD(i)?mD(n,i,0,i.length-1):dD(t.text)&&lD(n,""):t.text!==e.text&&(dD(i)&&mD(n,i,0,i.length-1),lD(n,e.text)))}function bD(t,e){if(gD(t,e))wD(t,e);else{var n=t.elm,i=aD(n);yD(e),null!==i&&(iD(i,e.elm,sD(n)),mD(i,[t],0,0))}return e}var SD=0,MD=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=ID("refreshHover"),this.configLayer=ID("configLayer"),this.storage=e,this._opts=n=N({},n),this.root=t,this._id="zr"+SD++,this._oldVNode=wC(n.width,n.height),t&&!n.ssr){var i=this._viewport=document.createElement("div");i.style.cssText="position:relative;overflow:hidden";var r=this._svgDom=this._oldVNode.elm=fC("svg");xD(null,this._oldVNode),i.appendChild(r),t.appendChild(i)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",bD(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return JC(t,_C(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,i=this._height,r=_C(this._id);r.animation=t.animation,r.willUpdate=t.willUpdate,r.compress=t.compress,r.emphasis=t.emphasis,r.ssr=this._opts.ssr;var o=[],a=this._bgVNode=TD(n,i,this._backgroundColor,r);a&&o.push(a);var s=t.compress?null:this._mainVNode=gC("g","main",{},[]);this._paintList(e,r,s?s.children:o),s&&o.push(s);var l=W(Z(r.defs),(function(t){return r.defs[t]}));if(l.length&&o.push(gC("defs","defs",{},l)),t.animation){var u=xC(r.cssNodes,r.cssAnims,{newline:!0});if(u){var h=gC("style","stl",{},[],u);o.push(h)}}return wC(n,i,o,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},mC(this.renderToVNode({animation:ct(t.cssAnimation,!0),emphasis:ct(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:ct(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var i,r,o=t.length,a=[],s=0,l=0,u=0;u=0;f--)if(c&&r&&c[f]===r[f])break;for(var g=d-1;g>f;g--)s--,i=a[s-1];for(var y=f+1;y=a)}}for(var h=this.__startIndex;h15)break}}n.prevElClipPaths&&u.restore()};if(p)if(0===p.length)s=l.__endIndex;else for(var _=d.dpr,w=0;w0&&t>i[0]){for(s=0;st)break;a=n[i[s]]}if(i.splice(s+1,0,t),n[t]=e,!e.virtual)if(a){var l=a.dom;l.nextSibling?o.insertBefore(e.dom,l.nextSibling):o.appendChild(e.dom)}else o.firstChild?o.insertBefore(e.dom,o.firstChild):o.appendChild(e.dom);e.painter||(e.painter=this)}else L("Layer of zlevel "+t+" is not valid")},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,i=0;i0?PD:0),this._needsManuallyCompositing),u.__builtin__||L("ZLevel "+l+" has been used by unkown layer "+u.id),u!==a&&(u.__used=!0,u.__startIndex!==o&&(u.__dirty=!0),u.__startIndex=o,u.incremental?u.__drawIndex=-1:u.__drawIndex=o,e(o),a=u),i.__dirty&Mn&&!i.__inHover&&(u.__dirty=!0,u.incremental&&u.__drawIndex<0&&(u.__drawIndex=o))}e(o),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,H(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?O(n[t],e,!0):n[t]=e;for(var i=0;i-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(Em);function BD(t,e){var n=t.mapDimensionsAll("defaultedLabel"),i=n.length;if(1===i){var r=bv(t,e,n[0]);return null!=r?r+"":null}if(i){for(var o=[],a=0;a=0&&i.push(e[o])}return i.join(" ")}var FD=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return i(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=c_(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=HD,this._symbolType=t,this.add(o)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){Eh(this.childAt(0))},e.prototype.downplay=function(){zh(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,i,r){this.silent=!1;var o=t.getItemVisual(n,"symbol")||"circle",a=t.hostModel,s=e.getSymbolSize(t,n),l=o!==this._symbolType,u=r&&r.disableAnimation;if(l){var h=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,h)}else{var c=this.childAt(0);c.silent=!1;var p={scaleX:s[0]/2,scaleY:s[1]/2};u?c.attr(p):Rp(c,p,a,n),Gp(c)}if(this._updateCommon(t,n,s,i,r),l){c=this.childAt(0);if(!u){p={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:c.style.opacity}};c.scaleX=c.scaleY=0,c.style.opacity=0,Np(c,p,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,a,s,l,u,h,c,p,d,f=this.childAt(0),g=t.hostModel;if(i&&(o=i.emphasisItemStyle,a=i.blurItemStyle,s=i.selectItemStyle,l=i.focus,u=i.blurScope,c=i.labelStatesModels,p=i.hoverScale,d=i.cursorStyle,h=i.emphasisDisabled),!i||t.hasItemOption){var y=i&&i.itemModel?i.itemModel:t.getItemModel(e),v=y.getModel("emphasis");o=v.getModel("itemStyle").getItemStyle(),s=y.getModel(["select","itemStyle"]).getItemStyle(),a=y.getModel(["blur","itemStyle"]).getItemStyle(),l=v.get("focus"),u=v.get("blurScope"),h=v.get("disabled"),c=Id(y),p=v.getShallow("scale"),d=y.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");f.attr("rotation",(m||0)*Math.PI/180||0);var x=d_(t.getItemVisual(e,"symbolOffset"),n);x&&(f.x=x[0],f.y=x[1]),d&&f.attr("cursor",d);var _=t.getItemVisual(e,"style"),w=_.fill;if(f instanceof Cu){var b=f.style;f.useStyle(N({image:b.image,x:b.x,y:b.y,width:b.width,height:b.height},_))}else f.__isEmptyBrush?f.useStyle(N({},_)):f.useStyle(_),f.style.decal=null,f.setColor(w,r&&r.symbolInnerColor),f.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),M=this._z2;null!=S?null==M&&(this._z2=f.z2,f.z2+=S):null!=M&&(f.z2=M,this._z2=null);var I=r&&r.useNameLabel;function T(e){return I?t.getName(e):BD(t,e)}Md(f,c,{labelFetcher:g,labelDataIndex:e,defaultText:T,inheritColor:w,defaultOpacity:_.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var C=f.ensureState("emphasis");C.style=o,f.ensureState("select").style=s,f.ensureState("blur").style=a;var D=null==p||!0===p?Math.max(1.1,3/this._sizeY):isFinite(p)&&p>0?+p:1;C.scaleX=this._sizeX*D,C.scaleY=this._sizeY*D,this.setSymbolScale(1),ec(this,l,u,h)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=Qu(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&zp(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();zp(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return p_(t.getItemVisual(e,"symbolSize"))},e}(zo);function HD(t,e){this.parent.drift(t,e)}function WD(t,e,n,i){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(i.isIgnore&&i.isIgnore(n))&&!(i.clipShape&&!i.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function UD(t){return null==t||nt(t)||(t={isIgnore:t}),t||{}}function YD(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:Id(e),cursorStyle:e.get("cursor")}}var XD=function(){function t(t){this.group=new zo,this._SymbolCtor=t||FD}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=UD(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=YD(t),l={disableAnimation:a},u=e.getSymbolPoint||function(e){return t.getItemLayout(e)};r||n.removeAll(),t.diff(r).add((function(i){var r=u(i);if(WD(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}})).update((function(h,c){var p=r.getItemGraphicEl(c),d=u(h);if(WD(t,d,h,e)){var f=t.getItemVisual(h,"symbol")||"circle",g=p&&p.getSymbolType&&p.getSymbolType();if(!p||g&&g!==f)n.remove(p),p=new o(t,h,s,l),p.setPosition(d);else{p.updateData(t,h,s,l);var y={x:d[0],y:d[1]};a?p.attr(y):Rp(p,y,i)}n.add(p),t.setItemGraphicEl(h,p)}else n.remove(p)})).remove((function(t){var e=r.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),i)})).execute(),this._getSymbolPoint=u,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var i=t._getSymbolPoint(n);e.setPosition(i),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=YD(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function i(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=UD(n);for(var r=t.start;r0?n=i[0]:i[1]<0&&(n=i[1]),n}function qD(t,e,n,i){var r=NaN;t.stacked&&(r=n.get(n.getCalculationInfo("stackedOverDimension"),i)),isNaN(r)&&(r=t.valueStart);var o=t.baseDataOffset,a=[];return a[o]=n.get(t.baseDim,i),a[1-o]=r,e.dataToPoint(a)}function KD(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}function JD(t,e,n,i,r,o,a,s){for(var l=KD(t,e),u=[],h=[],c=[],p=[],d=[],f=[],g=[],y=ZD(r,e,a),v=t.getLayout("points")||[],m=e.getLayout("points")||[],x=0;x=r||g<0)break;if(tA(v,m)){if(l){g+=o;continue}break}if(g===n)t[o>0?"moveTo":"lineTo"](v,m),c=v,p=m;else{var x=v-u,_=m-h;if(x*x+_*_<.5){g+=o;continue}if(a>0){var w=g+o,b=e[2*w],S=e[2*w+1];while(b===v&&S===m&&y=i||tA(b,S))d=v,f=m;else{T=b-u,C=S-h;var k=v-u,L=b-v,P=m-h,O=S-m,R=void 0,N=void 0;if("x"===s){R=Math.abs(k),N=Math.abs(L);var E=T>0?1:-1;d=v-E*R*a,f=m,D=v+E*N*a,A=m}else if("y"===s){R=Math.abs(P),N=Math.abs(O);var z=C>0?1:-1;d=v,f=m-z*R*a,D=v,A=m+z*N*a}else R=Math.sqrt(k*k+P*P),N=Math.sqrt(L*L+O*O),I=N/(N+R),d=v-T*a*(1-I),f=m-C*a*(1-I),D=v+T*a*I,A=m+C*a*I,D=$D(D,QD(b,v)),A=$D(A,QD(S,m)),D=QD(D,$D(b,v)),A=QD(A,$D(S,m)),T=D-v,C=A-m,d=v-T*R/N,f=m-C*R/N,d=$D(d,QD(u,v)),f=$D(f,QD(h,m)),d=QD(d,$D(u,v)),f=QD(f,$D(h,m)),T=v-d,C=m-f,D=v+T*N/R,A=m+C*N/R}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=A}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var nA=function(){function t(){this.smooth=0,this.smoothConstraint=!0}return t}(),iA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new nA},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0;r--)if(!tA(n[2*r-2],n[2*r-1]))break;for(;i=0){var m=s?(p-i)*v+i:(c-n)*v+n;return s?[t,m]:[m,t]}n=c,i=p;break;case a.C:c=o[u++],p=o[u++],d=o[u++],f=o[u++],g=o[u++],y=o[u++];var x=s?Zn(n,c,d,g,t,l):Zn(i,p,f,y,t,l);if(x>0)for(var _=0;_=0){m=s?Yn(i,p,f,y,w):Yn(n,c,d,g,w);return s?[t,m]:[m,t]}}n=g,i=y;break}}},e}(wu),rA=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(nA),oA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return i(e,t),e.prototype.getDefaultShape=function(){return new rA},e.prototype.buildPath=function(t,e){var n=e.points,i=e.stackedOnPoints,r=0,o=n.length/2,a=e.smoothMonotone;if(e.connectNulls){for(;o>0;o--)if(!tA(n[2*o-2],n[2*o-1]))break;for(;re){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}}return r}function vA(t,e,n){var i=t.getVisual("visualMeta");if(i&&i.length&&t.count())if("cartesian2d"===e.type){for(var r,o,a=i.length-1;a>=0;a--){var s=t.getDimensionInfo(i[a].dimension);if(r=s&&s.coordDim,"x"===r||"y"===r){o=i[a];break}}if(o){var l=e.getAxis(r),u=W(o.stops,(function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}})),h=u.length,c=o.outerColors.slice();h&&u[0].coord>u[h-1].coord&&(u.reverse(),c.reverse());var p=yA(u,"x"===r?n.getWidth():n.getHeight()),d=p.length;if(!d&&h)return u[0].coord<0?c[1]?c[1]:u[h-1].color:c[0]?c[0]:u[0].color;var f=10,g=p[0].coord-f,y=p[d-1].coord+f,v=y-g;if(v<.001)return"transparent";H(p,(function(t){t.offset=(t.coord-g)/v})),p.push({offset:d?p[d-1].offset:.5,color:c[1]||"transparent"}),p.unshift({offset:d?p[0].offset:.5,color:c[0]||"transparent"});var m=new bp(0,0,0,0,p,!0);return m[r]=g,m[r+"2"]=y,m}console.warn("Visual map on line style only support x or y dimension.")}else console.warn("Visual map on line style is only supported on cartesian2d.")}function mA(t,e,n){var i=t.get("showAllSymbol"),r="auto"===i;if(!i||r){var o=n.getAxesByScale("ordinal")[0];if(o&&(!r||!xA(o,e))){var a=e.mapDimension(o.dim),s={};return H(o.getViewLabels(),(function(t){var e=o.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}function xA(t,e){var n=t.getExtent(),i=Math.abs(n[1]-n[0])/t.scale.count();isNaN(i)&&(i=0);for(var r=e.count(),o=Math.max(1,Math.round(r/5)),a=0;ai)return!1;return!0}function _A(t,e){return isNaN(t)||isNaN(e)}function wA(t){for(var e=t.length/2;e>0;e--)if(!_A(t[2*e-2],t[2*e-1]))break;return e-1}function bA(t,e){return[t[2*e],t[2*e+1]]}function SA(t,e,n){for(var i,r,o=t.length/2,a="x"===n?0:1,s=0,l=-1,u=0;u=e||i>=e&&r<=e){l=u;break}s=u,i=r}else i=r;return{range:[s,l],t:(e-i)/(r-i)}}function MA(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e0&&"bolder"===t.get(["emphasis","lineStyle","width"])){var O=p.getState("emphasis").style;O.lineWidth=+p.style.lineWidth+1}Qu(p).seriesIndex=t.seriesIndex,ec(p,k,L,P);var R=dA(t.get("smooth")),N=t.get("smoothMonotone");if(p.setShape({smooth:R,smoothMonotone:N,connectNulls:w}),d){var z=o.getCalculationInfo("stackedOnSeries"),V=0;d.useStyle(E(s.getAreaStyle(),{fill:T,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),z&&(V=dA(z.get("smooth"))),d.setShape({smooth:R,stackedOnSmooth:V,smoothMonotone:N,connectNulls:w}),oc(d,t,"areaStyle"),Qu(d).seriesIndex=t.seriesIndex,ec(d,k,L,P)}var B=this._changePolyState;o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=B)})),this._polyline.onHoverStateChange=B,this._data=o,this._coordSys=i,this._stackedOnPoints=x,this._points=l,this._step=I,this._valueOrigin=v,t.get("triggerLineEvent")&&(this.packEventData(t,p),d&&this.packEventData(t,d))},e.prototype.packEventData=function(t,e){Qu(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,i){var r=t.getData(),o=hs(r,i);if(this._changePolyState("emphasis"),!(o instanceof Array)&&null!=o&&o>=0){var a=r.getLayout("points"),s=r.getItemGraphicEl(o);if(!s){var l=a[2*o],u=a[2*o+1];if(isNaN(l)||isNaN(u))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;s=new FD(r,o),s.x=l,s.y=u,s.setZ(h,c);var p=s.getSymbolPath().getTextContent();p&&(p.zlevel=h,p.z=c,p.z2=this._polyline.z2+1),s.__temp=!0,r.setItemGraphicEl(o,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else qm.prototype.highlight.call(this,t,e,n,i)},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=hs(r,i);if(this._changePolyState("normal"),null!=o&&o>=0){var a=r.getItemGraphicEl(o);a&&(a.__temp?(r.setItemGraphicEl(o,null),this.group.remove(a)):a.downplay())}else qm.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;Ch(this._polyline,t),e&&Ch(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new iA({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new oA({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var i,r,o=e.getBaseAxis(),a=o.inverse;"cartesian2d"===e.type?(i=o.isHorizontal(),r=!1):"polar"===e.type&&(i="angle"===o.dim,r=!0);var s=t.hostModel,l=s.get("animationDuration");$(l)&&(l=l(null));var u=s.get("animationDelay")||0,h=$(u)?u(null):u;t.eachItemGraphicEl((function(t,o){var s=t;if(s){var c=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=n,y=e.pointToCoord(c);i?(p=g.startAngle,d=g.endAngle,f=-y[1]/180*Math.PI):(p=g.r0,d=g.r,f=y[0])}else{var v=n;i?(p=v.x,d=v.x+v.width,f=t.x):(p=v.y+v.height,d=v.y,f=t.y)}var m=d===p?0:(f-p)/(d-p);a&&(m=1-m);var x=$(u)?u(o):l*m+h,_=s.getSymbolPath(),w=_.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:x}),w&&w.animateFrom({style:{opacity:0}},{duration:300,delay:x}),_.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(MA(t)){var r=t.getData(),o=this._polyline,a=r.getLayout("points");if(!a)return o.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||(s=this._endLabel=new Bu({z2:200}),s.ignoreClip=!0,o.setTextContent(this._endLabel),o.disableLabelAnimation=!0);var l=wA(a);l>=0&&(Md(o,Id(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:l,defaultText:function(t,e,n){return null!=n?GD(r,n):BD(r,t)},enableTextSetter:!0},TA(i,e)),o.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,i,r,o,a){var s=this._endLabel,l=this._polyline;if(s){t<1&&null==i.originalX&&(i.originalX=s.x,i.originalY=s.y);var u=n.getLayout("points"),h=n.hostModel,c=h.get("connectNulls"),p=o.get("precision"),d=o.get("distance")||0,f=a.getBaseAxis(),g=f.isHorizontal(),y=f.inverse,v=e.shape,m=y?g?v.x:v.y+v.height:g?v.x+v.width:v.y,x=(g?d:0)*(y?-1:1),_=(g?0:-d)*(y?-1:1),w=g?"x":"y",b=SA(u,m,w),S=b.range,M=S[1]-S[0],I=void 0;if(M>=1){if(M>1&&!c){var T=bA(u,S[0]);s.attr({x:T[0]+x,y:T[1]+_}),r&&(I=h.getRawValue(S[0]))}else{T=l.getPointOn(m,w);T&&s.attr({x:T[0]+x,y:T[1]+_});var C=h.getRawValue(S[0]),D=h.getRawValue(S[1]);r&&(I=bs(n,p,C,D,b.t))}i.lastFrameIndex=S[0]}else{var A=1===t||i.lastFrameIndex>0?S[0]:0;T=bA(u,A);r&&(I=h.getRawValue(A)),s.attr({x:T[0]+x,y:T[1]+_})}if(r){var k=Nd(s);"function"===typeof k.setLabelText&&k.setLabelText(I)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,h=JD(this._data,t,this._stackedOnPoints,e,this._coordSys,n,this._valueOrigin),c=h.current,p=h.stackedOnCurrent,d=h.next,f=h.stackedOnNext;if(r&&(p=gA(h.stackedOnCurrent,h.current,n,r,a),c=gA(h.current,null,n,r,a),f=gA(h.stackedOnNext,h.next,n,r,a),d=gA(h.next,null,n,r,a)),pA(c,d)>3e3||l&&pA(p,f)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(l&&(l.stopAnimation(),l.setShape({points:d,stackedOnPoints:f})));s.shape.__points=h.current,s.shape.points=c;var g={shape:{points:d}};h.current!==c&&(g.shape.__points=h.next),s.stopAnimation(),Rp(s,g,u),l&&(l.setShape({points:c,stackedOnPoints:p}),l.stopAnimation(),Rp(l,{shape:{stackedOnPoints:f}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var y=[],v=h.status,m=0;me&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n10&&"cartesian2d"===o.type&&r){var s=o.getBaseAxis(),l=o.getOtherAxis(s),u=s.getExtent(),h=n.getDevicePixelRatio(),c=Math.abs(u[1]-u[0])*(h||1),p=Math.round(a/c);if(isFinite(p)&&p>1){"lttb"===r?t.setData(i.lttbDownSample(i.mapDimension(l.dim),1/p)):"minmax"===r&&t.setData(i.minmaxDownSample(i.mapDimension(l.dim),1/p));var d=void 0;Q(r)?d=AA[r]:$(r)&&(d=r),d&&t.setData(i.downSample(i.mapDimension(l.dim),1/p,d,kA))}}}}}function PA(t){t.registerChartView(CA),t.registerSeriesModel(VD),t.registerLayout(DA("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,LA("line"))}var OA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){return US(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var i=this.coordinateSystem;if(i&&i.clampData){var r=i.clampData(t),o=i.dataToPoint(r);if(n)H(i.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),a=t.getTickModel().get("alignWithLabel"),s=r[n],l="x1"===e[n]||"y1"===e[n];if(l&&!a&&(s+=1),i.length<2)return;if(2===i.length)return void(o[n]=t.toGlobalCoord(t.getExtent()[l?1:0]));for(var u=void 0,h=void 0,c=1,p=0;ps){h=(d+u)/2;break}1===p&&(c=f-i[0].tickValue)}null==h&&(u?u&&(h=i[i.length-1].coord):h=i[0].coord),o[n]=t.toGlobalCoord(h)}}));else{var a=this.getData(),s=a.getLayout("offset"),l=a.getLayout("size"),u=i.getBaseAxis().isHorizontal()?0:1;o[u]+=s+l/2}return o}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(Em);Em.registerClass(OA);var RA=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(){return US(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=Qd(OA.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(OA),NA=function(){function t(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0}return t}(),EA=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return i(e,t),e.prototype.getDefaultShape=function(){return new NA},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r0||0,0),o=Math.max(e.r,0),a=.5*(o-r),s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-lMath.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}}function BA(t,e,n){return e*Math.sin(t)*(n?-1:1)}function GA(t,e,n){return e*Math.cos(t)*(n?1:-1)}function FA(t,e,n){var i=t.get("borderRadius");if(null==i)return n?{cornerRadius:0}:null;J(i)||(i=[i,i,i,i]);var r=Math.abs(e.r||0-e.r0||0);return{cornerRadius:W(i,(function(t){return bo(t,r)}))}}var HA=Math.max,WA=Math.min;function UA(t,e){var n=t.getArea&&t.getArea();if(uA(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}var YA=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return i(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");"cartesian2d"===r||"polar"===r?(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i)):Pa("Only cartesian2d and polar supported for bar.")},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){xd(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var h=t.isAnimationEnabled()?t:null,c=jA(t,l);c&&this._enableRealtimeSort(c,a,n);var p=t.get("clip",!0)||c,d=UA(l,a);o.removeClipPath();var f=t.get("roundCap",!0),g=t.get("showBackground",!0),y=t.getModel("backgroundStyle"),v=y.get("borderRadius")||0,m=[],x=this._backgroundEls,_=i&&i.isInitSort,w=i&&"changeAxisOrder"===i.type;function b(t){var e=tk[l.type](a,t),n=ck(l,r,e);return n.useStyle(y.getItemStyle()),"cartesian2d"===l.type?n.setShape("r",v):n.setShape("cornerRadius",v),m[t]=n,n}a.diff(s).add((function(e){var n=a.getItemModel(e),i=tk[l.type](a,e,n);if(g&&b(e),a.hasValue(e)&&QA[l.type](i)){var s=!1;p&&(s=XA[l.type](d,i));var y=ZA[l.type](t,a,e,i,r,h,u.model,!1,f);c&&(y.forceLabelAnimation=!0),ik(y,a,e,n,i,t,r,"polar"===l.type),_?y.attr({shape:i}):c?qA(c,h,y,i,e,r,!1,!1):Np(y,{shape:i},t,e),a.setItemGraphicEl(e,y),o.add(y),y.ignore=s}})).update((function(e,n){var i=a.getItemModel(e),S=tk[l.type](a,e,i);if(g){var M=void 0;0===x.length?M=b(n):(M=x[n],M.useStyle(y.getItemStyle()),"cartesian2d"===l.type?M.setShape("r",v):M.setShape("cornerRadius",v),m[e]=M);var I=tk[l.type](a,e),T=hk(r,I,l);Rp(M,{shape:T},h,e)}var C=s.getItemGraphicEl(n);if(a.hasValue(e)&&QA[l.type](S)){var D=!1;if(p&&(D=XA[l.type](d,S),D&&o.remove(C)),C?Gp(C):C=ZA[l.type](t,a,e,S,r,h,u.model,!!C,f),c&&(C.forceLabelAnimation=!0),w){var A=C.getTextContent();if(A){var k=Nd(A);null!=k.prevValue&&(k.prevValue=k.value)}}else ik(C,a,e,i,S,t,r,"polar"===l.type);_?C.attr({shape:S}):c?qA(c,h,C,S,e,r,!0,w):Rp(C,{shape:S},t,e,null),a.setItemGraphicEl(e,C),C.ignore=D,o.add(C)}else o.remove(C)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&Bp(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new zo);S.removeAll();for(var M=0;Mo)return!0;o=u}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,i=n.getExtent(),r=Math.max(0,i[0]),o=Math.min(i[1],n.getOrdinalMeta().categories.length-1);r<=o;++r)if(t.ordinalNumbers[r]!==n.getRawOrdinalNumber(r))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,i){if(this._isOrderChangedWithinSameData(t,e,n)){var r=this._dataSort(t,n,e);this._isOrderDifferentInView(r,n)&&(this._removeOnRenderedListener(i),i.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:r}))}},e.prototype._dispatchInitSort=function(t,e,n){var i=e.baseAxis,r=this._dataSort(t,i,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:i.dim+"Axis",isInitSort:!0,axisId:i.index,sortInfo:r})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){Bp(e,t,Qu(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(qm),XA={cartesian2d:function(t,e){var n=e.width<0?-1:1,i=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height);var r=t.x+t.width,o=t.y+t.height,a=HA(e.x,t.x),s=WA(e.x+e.width,r),l=HA(e.y,t.y),u=WA(e.y+e.height,o),h=sr?s:a,e.y=c&&l>o?u:l,e.width=h?0:s-a,e.height=c?0:u-l,n<0&&(e.x+=e.width,e.width=-e.width),i<0&&(e.y+=e.height,e.height=-e.height),h||c},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}var r=WA(e.r,t.r),o=HA(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){i=e.r;e.r=e.r0,e.r0=i}return a}},ZA={cartesian2d:function(t,e,n,i,r,o,a,s,l){var u=new Nu({shape:N({},i),z2:1});if(u.__dataIndex=n,u.name="item",o){var h=u.shape,c=r?"height":"width";h[c]=0}return u},polar:function(t,e,n,i,r,o,a,s,l){var u=!r&&l?EA:np,h=new u({shape:i,z2:1});h.name="item";var c=nk(r);if(h.calculateTextPosition=zA(c,{isRoundCap:u===EA}),o){var p=h.shape,d=r?"r":"endAngle",f={};p[d]=r?i.r0:i.startAngle,f[d]=i[d],(s?Rp:Np)(h,{shape:f},o)}return h}};function jA(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&("category"!==i.type&&Pa("`realtimeSort` will not work because this bar series is not based on a category axis."),"cartesian2d"!==e.type&&Pa("`realtimeSort` will not work because this bar series is not on cartesian2d.")),n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}function qA(t,e,n,i,r,o,a,s){var l,u;o?(u={x:i.x,width:i.width},l={y:i.y,height:i.height}):(u={y:i.y,height:i.height},l={x:i.x,width:i.width}),s||(a?Rp:Np)(n,{shape:l},e,r,null);var h=e?t.baseAxis.model:null;(a?Rp:Np)(n,{shape:u},h,r)}function KA(t,e){for(var n=0;n0?1:-1,a=i.height>0?1:-1;return{x:i.x+o*r/2,y:i.y+a*r/2,width:i.width-o*r,height:i.height-a*r}},polar:function(t,e,n){var i=t.getItemLayout(e);return{cx:i.cx,cy:i.cy,r0:i.r0,r:i.r,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}}};function ek(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}function nk(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function ik(t,e,n,i,r,o,a,s){var l=e.getItemVisual(n,"style");if(s){if(!o.get("roundCap")){var u=t.shape,h=FA(i.getModel("itemStyle"),u,!0);N(u,h),t.setShape(u)}}else{var c=i.get(["itemStyle","borderRadius"])||0;t.setShape("r",c)}t.useStyle(l);var p=i.getShallow("cursor");p&&t.attr("cursor",p);var d=s?a?r.r>=r.r0?"endArc":"startArc":r.endAngle>=r.startAngle?"endAngle":"startAngle":a?r.height>=0?"bottom":"top":r.width>=0?"right":"left",f=Id(i);Md(t,f,{labelFetcher:o,labelDataIndex:n,defaultText:BD(o.getData(),n),inheritColor:l.fill,defaultOpacity:l.opacity,defaultOutsidePosition:d});var g=t.getTextContent();if(s&&g){var y=i.get(["label","position"]);t.textConfig.inside="middle"===y||null,VA(t,"outside"===y?d:y,nk(a),i.get(["label","rotate"]))}Ed(g,f,o.getRawValue(n),(function(t){return GD(e,t)}));var v=i.getModel(["emphasis"]);ec(t,v.get("focus"),v.get("blurScope"),v.get("disabled")),oc(t,i),ek(r)&&(t.style.fill="none",t.style.stroke="none",H(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}function rk(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var i=t.get(["itemStyle","borderWidth"])||0,r=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),o=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(i,r,o)}var ok=function(){function t(){}return t}(),ak=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return i(e,t),e.prototype.getDefaultShape=function(){return new ok},e.prototype.buildPath=function(t,e){for(var n=e.points,i=this.baseDimIdx,r=1-this.baseDimIdx,o=[],a=[],s=this.barWidth,l=0;l=0?n:null}),30,!1);function uk(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,h=0,c=o.length/3;h=s[0]&&e<=s[0]+l[0]&&n>=s[1]&&n<=s[1]+l[1])return a[h]}return-1}function hk(t,e,n){if(uA(n,"cartesian2d")){var i=e,r=n.getArea();return{x:t?i.x:r.x,y:t?r.y:i.y,width:t?i.width:r.width,height:t?r.height:i.height}}r=n.getArea();var o=e;return{cx:r.cx,cy:r.cy,r0:t?r.r0:o.r0,r:t?r.r:o.r,startAngle:t?o.startAngle:0,endAngle:t?o.endAngle:2*Math.PI}}function ck(t,e,n){var i="polar"===t.type?np:Nu;return new i({shape:hk(e,n,t),silent:!0,z2:0})}function pk(t){t.registerChartView(YA),t.registerSeriesModel(RA),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,K(bM,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,SM("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,LA("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))}var dk=2*Math.PI,fk=Math.PI/180;function gk(t,e){return cg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function yk(t,e){var n=gk(t,e),i=t.get("center"),r=t.get("radius");J(r)||(r=[0,r]);var o,a,s=ia(n.width,e.getWidth()),l=ia(n.height,e.getHeight()),u=Math.min(s,l),h=ia(r[0],u/2),c=ia(r[1],u/2),p=t.coordinateSystem;if(p){var d=p.dataToPoint(i);o=d[0]||0,a=d[1]||0}else J(i)||(i=[i,i]),o=ia(i[0],s)+n.x,a=ia(i[1],l)+n.y;return{cx:o,cy:a,r0:h,r:c}}function vk(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),i=e.mapDimension("value"),r=gk(t,n),o=yk(t,n),a=o.cx,s=o.cy,l=o.r,u=o.r0,h=-t.get("startAngle")*fk,c=t.get("endAngle"),p=t.get("padAngle")*fk;c="auto"===c?h-dk:-c*fk;var d=t.get("minAngle")*fk,f=d+p,g=0;e.each(i,(function(t){!isNaN(t)&&g++}));var y=e.getSum(i),v=Math.PI/(y||g)*2,m=t.get("clockwise"),x=t.get("roseType"),_=t.get("stillShowZeroSum"),w=e.getDataExtent(i);w[0]=0;var b=m?1:-1,S=[h,c],M=b*p/2;ql(S,!m),h=S[0],c=S[1];var I=mk(t);I.startAngle=h,I.endAngle=c,I.clockwise=m;var T=Math.abs(c-h),C=T,D=0,A=h;if(e.setLayout({viewRect:r,r:l}),e.each(i,(function(t,n){var i;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:m,cx:a,cy:s,r0:u,r:x?NaN:l});else{i="area"!==x?0===y&&_?v:t*v:T/g,ii?(o=A+b*i/2,h=o):(o=A+M,h=r-M),e.setItemLayout(n,{angle:i,startAngle:o,endAngle:h,clockwise:m,cx:a,cy:s,r0:u,r:x?na(t,w,[u,l]):l}),A=r}})),Cn?a:o,h=Math.abs(l.label.y-n);if(h>=u.maxY){var c=l.label.x-e-l.len2*r,p=i+l.len,f=Math.abs(c)t.unconstrainedWidth?null:d:null;i.setStyle("width",f)}var g=i.getBoundingRect();o.width=g.width;var y=(i.style.margin||0)+2.1;o.height=g.height+y,o.y-=(o.height-c)/2}}}function Mk(t){return"center"===t.position}function Ik(t){var e,n,i=t.getData(),r=[],o=!1,a=(t.get("minShowLabelAngle")||0)*_k,s=i.getLayout("viewRect"),l=i.getLayout("r"),u=s.width,h=s.x,c=s.y,p=s.height;function d(t){t.ignore=!0}function f(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}i.each((function(t){var s=i.getItemGraphicEl(t),c=s.shape,p=s.getTextContent(),g=s.getTextGuideLine(),y=i.getItemModel(t),v=y.getModel("label"),m=v.get("position")||y.get(["emphasis","label","position"]),x=v.get("distanceToLabelLine"),_=v.get("alignTo"),w=ia(v.get("edgeDistance"),u),b=v.get("bleedMargin"),S=y.getModel("labelLine"),M=S.get("length");M=ia(M,u);var I=S.get("length2");if(I=ia(I,u),Math.abs(c.endAngle-c.startAngle)0?"right":"left":L>0?"left":"right"}var G=Math.PI,F=0,W=v.get("rotate");if(et(W))F=W*(G/180);else if("center"===m)F=0;else if("radial"===W||!0===W){var U=L<0?-k+G:-k;F=U}else if("tangential"===W&&"outside"!==m&&"outer"!==m){var Y=Math.atan2(L,P);Y<0&&(Y=2*G+Y);var X=P>0;X&&(Y=G+Y),F=Y-G}if(o=!!F,p.x=T,p.y=C,p.rotation=F,p.setStyle({verticalAlign:"middle"}),O){p.setStyle({align:A});var Z=p.states.select;Z&&(Z.x+=p.x,Z.y+=p.y)}else{var j=p.getBoundingRect().clone();j.applyTransform(p.getComputedTransform());var q=(p.style.margin||0)+2.1;j.y-=q/2,j.height+=q,r.push({label:p,labelLine:g,position:m,len:M,len2:I,minTurnAngle:S.get("minTurnAngle"),maxSurfaceAngle:S.get("maxSurfaceAngle"),surfaceNormal:new Xe(L,P),linePoints:D,textAlign:A,labelDistance:x,labelAlignTo:_,edgeDistance:w,bleedMargin:b,rect:j,unconstrainedWidth:j.width,labelStyleWidth:p.style.width})}s.setTextConfig({inside:O})}})),!o&&t.get("avoidLabelOverlap")&&bk(r,e,n,l,u,p,h,c);for(var g=0;g0){for(var l=o.getItemLayout(0),u=1;isNaN(l&&l.startAngle)&&u=i.r0}},e.type="pie",e}(qm);function Dk(t,e,n){e=J(e)&&{coordDimensions:e}||N({encodeDefine:t.getEncode()},e);var i=t.getSource(),r=kS(i,e).dimensions,o=new DS(r,t);return o.initData(i,n),o}var Ak=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){var e=this._getRawData();return e.indexOfName(t)>=0},t.prototype.indexOfName=function(t){var e=this._getDataWithEncodedVisual();return e.indexOfName(t)},t.prototype.getItemVisual=function(t,e){var n=this._getDataWithEncodedVisual();return n.getItemVisual(t,e)},t}(),kk=cs(),Lk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ak(q(this.getData,this),q(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return Dk(this,{coordDimensions:["value"],encodeDefaulter:K(zg,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),i=kk(n),r=i.seats;if(!r){var o=[];n.each(n.mapDimension("value"),(function(t){o.push(t)})),r=i.seats=ha(o,n.hostModel.get("percentPrecision"))}var a=t.prototype.getDataParams.call(this,e);return a.percent=r[e]||0,a.$vars.push("percent"),a},e.prototype._defaultLabelLine=function(t){Ha(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,endAngle:"auto",padAngle:0,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(Em);function Pk(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),i=n.get(e,t);return!(et(i)&&!isNaN(i)&&i<0)}))}}}function Ok(t){t.registerChartView(Ck),t.registerSeriesModel(Lk),qx("pie",t.registerAction),t.registerLayout(K(vk,"pie")),t.registerProcessor(xk("pie")),t.registerProcessor(Pk("pie"))}var Rk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){return US(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(Em),Nk=4,Ek=function(){function t(){}return t}(),zk=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.getDefaultShape=function(){return new Ek},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,i=e.points,r=e.size,o=this.symbolProxy,a=o.shape,s=t.getContext?t.getContext():t,l=s&&r[0]=0;s--){var l=2*s,u=i[l]-o/2,h=i[l+1]-a/2;if(t>=u&&e>=h&&t<=u+o&&e<=h+a)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,i=e.size,r=i[0],o=i[1],a=1/0,s=1/0,l=-1/0,u=-1/0,h=0;h=0&&(l.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),Bk=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.updateData(i,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateSymbolDraw(i,t);r.incrementalPrepareUpdate(i),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var i=t.getData();if(this.group.dirty(),!this._finished||i.count()>1e4)return{update:!0};var r=DA("").reset(t,e,n);r.progress&&r.progress({start:0,end:i.count(),count:i.count()},i),this._symbolDraw.updateLayout(i)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){if(t.get("clip",!0)){var e=t.coordinateSystem;return e&&e.getArea&&e.getArea(.1)}},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,i=e.pipelineContext,r=i.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new Vk:new XD,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(qm),Gk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(xg),Fk=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",gs).models[0]},e.type="cartesian2dAxis",e}(xg);G(Fk,pI);var Hk={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,showMinLine:!0,showMaxLine:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},Wk=O({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},Hk),Uk=O({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},Hk),Yk=O({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},Uk),Xk=E({logBase:10},Uk),Zk={category:Wk,value:Uk,time:Yk,log:Xk},jk={value:1,category:1,time:1,log:1};function qk(t,e,n,r){H(jk,(function(o,a){var s=O(O({},Zk[a],!0),r,!0),l=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return i(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=fg(this),i=n?yg(t):{},r=e.getTheme();O(t,r.get(a+"Axis")),O(t,this.getDefaultOption()),t.type=Kk(t),n&&gg(t,i,n)},n.prototype.optionUpdated=function(){var t=this.option;"category"===t.type&&(this.__ordinalMeta=qS.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(l)})),t.registerSubTypeDefaulter(e+"Axis",Kk)}function Kk(t){return t.type||(t.data?"category":"value")}var Jk=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return W(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),Y(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}(),$k=["x","y"];function Qk(t){return"interval"===t.type||"time"===t.type}var tL=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=$k,e}return i(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(Qk(t)&&Qk(e)){var n=t.getExtent(),i=e.getExtent(),r=this.dataToPoint([n[0],i[0]]),o=this.dataToPoint([n[1],i[1]]),a=n[1]-n[0],s=i[1]-i[0];if(a&&s){var l=(o[0]-r[0])/a,u=(o[1]-r[1])/s,h=r[0]-n[0]*l,c=r[1]-i[0]*u,p=this._transform=[l,0,0,u,h,c];this._invTransform=We([],p)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),i=this.dataToPoint(e),r=this.getArea(),o=new en(n[0],n[1],i[0]-n[0],i[1]-n[1]);return r.intersect(o)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var i=t[0],r=t[1];if(this._transform&&null!=i&&isFinite(i)&&null!=r&&isFinite(r))return te(n,t,this._transform);var o=this.getAxis("x"),a=this.getAxis("y");return n[0]=o.toGlobalCoord(o.dataToCoord(i,e)),n[1]=a.toGlobalCoord(a.dataToCoord(r,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,i=this.getAxis("y").scale,r=n.getExtent(),o=i.getExtent(),a=n.parse(t[0]),s=i.parse(t[1]);return e=e||[],e[0]=Math.min(Math.max(Math.min(r[0],r[1]),a),Math.max(r[0],r[1])),e[1]=Math.min(Math.max(Math.min(o[0],o[1]),s),Math.max(o[0],o[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return te(n,t,this._invTransform);var i=this.getAxis("x"),r=this.getAxis("y");return n[0]=i.coordToData(i.toLocalCoord(t[0]),e),n[1]=r.coordToData(r.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(t){t=t||0;var e=this.getAxis("x").getGlobalExtent(),n=this.getAxis("y").getGlobalExtent(),i=Math.min(e[0],e[1])-t,r=Math.min(n[0],n[1])-t,o=Math.max(e[0],e[1])-i+t,a=Math.max(n[0],n[1])-r+t;return new en(i,r,o,a)},e}(Jk),eL=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.index=0,a.type=r||"value",a.position=o||"bottom",a}return i(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(iT);function nL(t,e,n){n=n||{};var i=t.coordinateSystem,r=e.axis,o={},a=r.getAxesOnZeroOf()[0],s=r.position,l=a?"onZero":s,u=r.dim,h=i.getRect(),c=[h.x,h.x+h.width,h.y,h.y+h.height],p={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,f="x"===u?[c[2]-d,c[3]+d]:[c[0]-d,c[1]+d];if(a){var g=a.toGlobalCoord(a.dataToCoord(0));f[p.onZero]=Math.max(Math.min(g,f[1]),f[0])}o.position=["y"===u?f[p[l]]:c[0],"x"===u?f[p[l]]:c[3]],o.rotation=Math.PI/2*("x"===u?0:1);var y={top:-1,bottom:1,left:-1,right:1};o.labelDirection=o.tickDirection=o.nameDirection=y[s],o.labelOffset=a?f[p[s]]-f[p.onZero]:0,e.get(["axisTick","inside"])&&(o.tickDirection=-o.tickDirection),ht(n.labelInside,e.get(["axisLabel","inside"]))&&(o.labelDirection=-o.labelDirection);var v=e.get(["axisLabel","rotate"]);return o.labelRotate="top"===l?-v:v,o.z2=1,o}function iL(t){return"cartesian2d"===t.get("coordinateSystem")}function rL(t){var e={xAxisModel:null,yAxisModel:null};return H(e,(function(n,i){var r=i.replace(/Model$/,""),o=t.getReferringComponents(r,gs).models[0];if(!o)throw new Error(r+' "'+pt(t.get(r+"Index"),t.get(r+"Id"),0)+'" not found');e[i]=o})),e}var oL=Math.log;function aL(t,e,n){var i=uM.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=QM(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=oL(t.base);u=[oL(u[0])/p,oL(u[1])/p]}t.setExtent(u[0],u[1]),t.calcNiceExtent({splitNumber:a,fixMin:h,fixMax:c});var d=i.getExtent.call(t);h&&(u[0]=d[0]),c&&(u[1]=d[1]);var f=i.getInterval.call(t),g=u[0],y=u[1];if(h&&c)f=(y-g)/a;else if(h){y=u[0]+f*a;while(yu[0]&&isFinite(g)&&isFinite(u[0]))f=tM(f),g=u[1]-f*a}else{var v=t.getTicks().length-1;v>a&&(f=tM(f));var m=f*a;y=Math.ceil(u[1]/f)*f,g=ra(y-m),g<0&&u[0]>=0?(g=0,y=ra(m)):y>0&&u[1]<=0&&(y=0,g=-ra(m))}var x=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*x,y+f*_),i.setInterval.call(t,f),(x||_)&&i.setNiceExtent.call(t,g+f,y-f);var w=i.getTicks.call(t);w[1]&&(!JS(f)||sa(w[1].value)>sa(f))&&Pa("The ticks may be not readable when set min: "+e.get("min")+", max: "+e.get("max")+" and alignTicks: true")}var sL=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=$k,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function i(t){var e,n=Z(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=+n[o],s=t[a],l=s.model,u=s.scale;$S(u)&&l.get("alignTicks")&&null==l.get("interval")?r.push(s):(eI(u,l),$S(u)&&(e=s))}r.length&&(e||(e=r.pop(),eI(e.scale,e.model)),H(r,(function(t){aL(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};H(n.x,(function(t){uL(n,"y",t,r)})),H(n.y,(function(t){uL(n,"x",t,r)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var i=t.getBoxLayoutParams(),r=!n&&t.get("containLabel"),o=cg(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){H(a,(function(t){var e=t.isHorizontal(),n=e?[0,o.width]:[0,o.height],i=t.inverse?1:0;t.setExtent(n[i],n[1-i]),cL(t,e?o.x:o.y)}))}s(),r&&(H(a,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=aI(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}})),s()),H(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}nt(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i0?"top":"bottom",i="center"):fa(o-pL)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o0?"right":"left":n>0?"left":"right"),{rotation:o,textAlign:i,textVerticalAlign:r}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),fL={axisLine:function(t,e,n,i){var r=e.get(["axisLine","show"]);if("auto"===r&&t.handleAutoShown&&(r=t.handleAutoShown("axisLine")),r){var o=e.axis.getExtent(),a=i.transform,s=[o[0],0],l=[o[1],0],u=s[0]>l[0];a&&(te(s,s,a),te(l,l,a));var h=N({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),c=new dp({shape:{x1:s[0],y1:s[1],x2:l[0],y2:l[1]},style:h,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});ed(c.shape,c.style.lineWidth),c.anid="line",n.add(c);var p=e.get(["axisLine","symbol"]);if(null!=p){var d=e.get(["axisLine","symbolSize"]);Q(p)&&(p=[p,p]),(Q(d)||et(d))&&(d=[d,d]);var f=d_(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],y=d[1];H([{rotate:t.rotation+Math.PI/2,offset:f[0],r:0},{rotate:t.rotation-Math.PI/2,offset:f[1],r:Math.sqrt((s[0]-l[0])*(s[0]-l[0])+(s[1]-l[1])*(s[1]-l[1]))}],(function(e,i){if("none"!==p[i]&&null!=p[i]){var r=c_(p[i],-g/2,-y/2,g,y,h.stroke,!0),o=e.r+e.offset,a=u?l:s;r.attr({rotation:e.rotate,x:a[0]+o*Math.cos(t.rotation),y:a[1]-o*Math.sin(t.rotation),silent:!0,z2:11}),n.add(r)}}))}}},axisTickLabel:function(t,e,n,i){var r=wL(n,i,e,t),o=SL(n,i,e,t);if(yL(e,o,r),bL(n,i,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])){var a=RT(W(o,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})));VT(a)}},axisName:function(t,e,n,i){var r=ht(t.axisName,e.get("name"));if(r){var o,a,s=e.get("nameLocation"),l=t.nameDirection,u=e.getModel("nameTextStyle"),h=e.get("nameGap")||0,c=e.axis.getExtent(),p=c[0]>c[1]?-1:1,d=["start"===s?c[0]-p*h:"end"===s?c[1]+p*h:(c[0]+c[1])/2,xL(s)?t.labelOffset+l*h:0],f=e.get("nameRotate");null!=f&&(f=f*pL/180),xL(s)?o=dL.innerTextLayout(t.rotation,null!=f?f:t.rotation,l):(o=gL(t.rotation,s,f||0,c),a=t.axisNameAvailableWidth,null!=a&&(a=Math.abs(a/Math.sin(o.rotation)),!isFinite(a)&&(a=null)));var g=u.getFont(),y=e.get("nameTruncate",!0)||{},v=y.ellipsis,m=ht(t.nameTruncateMaxWidth,y.maxWidth,a),x=new Bu({x:d[0],y:d[1],rotation:o.rotation,silent:dL.isLabelSilent(e),style:Td(u,{text:r,font:g,overflow:"truncate",width:m,ellipsis:v,fill:u.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:u.get("align")||o.textAlign,verticalAlign:u.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(vd({el:x,componentModel:e,itemName:r}),x.__fullText=r,x.anid="name",e.get("triggerEvent")){var _=dL.makeAxisEventDataBase(e);_.targetType="axisName",_.name=r,Qu(x).eventData=_}i.add(x),x.updateTransform(),n.add(x),x.decomposeTransform()}}};function gL(t,e,n,i){var r,o,a=da(n-t),s=i[0]>i[1],l="start"===e&&!s||"start"!==e&&s;return fa(a-pL/2)?(o=l?"bottom":"top",r="center"):fa(a-1.5*pL)?(o=l?"top":"bottom",r="center"):(o="middle",r=a<1.5*pL&&a>pL/2?l?"left":"right":l?"right":"left"),{rotation:a,textAlign:r,textVerticalAlign:o}}function yL(t,e,n){if(!uI(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);e=e||[],n=n||[];var o=e[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(vL(o),vL(u)):mL(o,a)&&(i?(vL(a),vL(h)):(vL(o),vL(u))),!1===r?(vL(s),vL(c)):mL(l,s)&&(r?(vL(l),vL(p)):(vL(s),vL(c)))}}function vL(t){t&&(t.ignore=!0)}function mL(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=ze([]);return Fe(r,r,-t.rotation),n.applyTransform(Be([],r,t.getLocalTransform())),i.applyTransform(Be([],r,e.getLocalTransform())),n.intersect(i)}}function xL(t){return"middle"===t||"center"===t}function _L(t,e,n,i,r){for(var o=[],a=[],s=[],l=0;l=0||t===e}function kL(t){var e=LL(t);if(e){var n=e.axisPointerModel,i=e.axis.scale,r=n.option,o=n.get("status"),a=n.get("value");null!=a&&(a=i.parse(a));var s=OL(n);null==o&&(r.status=s?"show":"hide");var l=i.getExtent().slice();l[0]>l[1]&&l.reverse(),(null==a||a>l[1])&&(a=l[1]),a0&&!c.min?c.min=0:null!=c.min&&c.min<0&&!c.max&&(c.max=0);var p=a;null!=c.color&&(p=E({color:c.color},a));var d=O(P(c),{boundaryGap:t,splitNumber:e,scale:n,axisLine:i,axisTick:r,axisLabel:o,name:c.text,showName:s,nameLocation:"end",nameGap:u,nameTextStyle:p,triggerEvent:h},!1);if(Q(l)){var f=d.name;d.name=l.replace("{value}",null!=f?f:"")}else $(l)&&(d.name=l(d.name,d));var g=new jd(d,null,this.ecModel);return G(g,pI.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=c},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:O({lineStyle:{color:"#bbb"}},nP.axisLine),axisLabel:iP(nP.axisLabel,!1),axisTick:iP(nP.axisTick,!1),splitLine:iP(nP.splitLine,!0),splitArea:iP(nP.splitArea,!0),indicator:[]},e}(xg),oP=["axisLine","axisTickLabel","axisName"],aP=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes(),i=W(n,(function(t){var n=t.model.get("showName")?t.name:"",i=new dL(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1});return i}));H(i,(function(t){H(oP,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var i=t.get("shape"),r=t.getModel("splitLine"),o=t.getModel("splitArea"),a=r.getModel("lineStyle"),s=o.getModel("areaStyle"),l=r.get("show"),u=o.get("show"),h=a.get("color"),c=s.get("color"),p=J(h)?h:[h],d=J(c)?c:[c],f=[],g=[];if("circle"===i)for(var y=n[0].getTicksCoords(),v=e.cx,m=e.cy,x=0;x3?1.4:r>1?1.2:1.1,l=i>0?s:1/s;vP(this,"zoom","zoomOnMouseWheel",t,{scale:l,originX:o,originY:a,isAvailableBehavior:null})}if(n){var u=Math.abs(i),h=(i>0?1:-1)*(u>3?.4:u>1?.15:.05);vP(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:h,originX:o,originY:a,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){if(!fP(this._zr,"globalPan")){var e=t.pinchScale>1?1.1:1/1.1;vP(this,"zoom",null,t,{scale:e,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})}},e}(ae);function vP(t,e,n,i,r){t.pointerChecker&&t.pointerChecker(i,r.originX,r.originY)&&(ke(i.event),mP(t,e,n,i,r))}function mP(t,e,n,i,r){r.isAvailableBehavior=q(xP,null,n,i),t.trigger(e,r)}function xP(t,e,n){var i=n[t];return!t||i&&(!Q(i)||e.event[i+"Key"])}function _P(t,e,n){var i=t.target;i.x+=e,i.y+=n,i.dirty()}function wP(t,e,n,i){var r=t.target,o=t.zoomLimit,a=t.zoom=t.zoom||1;if(a*=e,o){var s=o.min||0,l=o.max||1/0;a=Math.max(Math.min(l,a),s)}var u=a/t.zoom;t.zoom=a,r.x-=(n-r.x)*(u-1),r.y-=(i-r.y)*(u-1),r.scaleX*=u,r.scaleY*=u,r.dirty()}var bP,SP={axisPointer:1,tooltip:1,brush:1};function MP(t,e,n){var i=e.getComponentByElement(t.topTarget),r=i&&i.coordinateSystem;return i&&i!==n&&!SP.hasOwnProperty(i.mainType)&&r&&r.model!==n}function IP(t){if(Q(t)){var e=new DOMParser;t=e.parseFromString(t,"text/xml")}var n=t;9===n.nodeType&&(n=n.firstChild);while("svg"!==n.nodeName.toLowerCase()||1!==n.nodeType)n=n.nextSibling;return n}var TP={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},CP=Z(TP),DP={"alignment-baseline":"textBaseline","stop-color":"stopColor"},AP=Z(DP),kP=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=IP(t);if(!n)throw new Error("Illegal svg");this._defsUsePending=[];var i=new zo;this._root=i;var r=[],o=n.getAttribute("viewBox")||"",a=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(a)&&(a=null),isNaN(s)&&(s=null),EP(n,i,null,!0,!1);var l,u,h=n.firstChild;while(h)this._parseNode(h,i,r,null,!1,!1),h=h.nextSibling;if(GP(this._defs,this._defsUsePending),this._defsUsePending=[],o){var c=HP(o);c.length>=4&&(l={x:parseFloat(c[0]||0),y:parseFloat(c[1]||0),width:parseFloat(c[2]),height:parseFloat(c[3])})}if(l&&null!=a&&null!=s&&(u=qP(l,{x:0,y:0,width:a,height:s}),!e.ignoreViewBox)){var p=i;i=new zo,i.add(p),p.scaleX=p.scaleY=u.scale,p.x=u.x,p.y=u.y}return e.ignoreRootClip||null==a||null==s||i.setClipPath(new Nu({shape:{x:0,y:0,width:a,height:s}})),{root:i,width:a,height:s,viewBoxRect:l,viewBoxTransform:u,named:r}},t.prototype._parseNode=function(t,e,n,i,r,o){var a,s=t.nodeName.toLowerCase(),l=i;if("defs"===s&&(r=!0),"text"===s&&(o=!0),"defs"===s||"switch"===s)a=e;else{if(!r){var u=bP[s];if(u&&Dt(bP,s)){a=u.call(this,t,e);var h=t.getAttribute("name");if(h){var c={name:h,namedFrom:null,svgNodeTagLower:s,el:a};n.push(c),"g"===s&&(l=c)}else i&&n.push({name:i.name,namedFrom:i,svgNodeTagLower:s,el:a});e.add(a)}}var p=LP[s];if(p&&Dt(LP,s)){var d=p.call(this,t),f=t.getAttribute("id");f&&(this._defs[f]=d)}}if(a&&a.isGroup){var g=t.firstChild;while(g)1===g.nodeType?this._parseNode(g,a,n,l,r,o):3===g.nodeType&&o&&this._parseText(g,a),g=g.nextSibling}},t.prototype._parseText=function(t,e){var n=new Su({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});RP(e,n),EP(t,n,this._defsUsePending,!1,!1),zP(n,e);var i=n.style,r=i.fontSize;r&&r<9&&(i.fontSize=9,n.scaleX*=r/9,n.scaleY*=r/9);var o=(i.fontSize||i.fontFamily)&&[i.fontStyle,i.fontWeight,(i.fontSize||12)+"px",i.fontFamily||"sans-serif"].join(" ");i.font=o;var a=n.getBoundingRect();return this._textX+=a.width,e.add(n),n},t.internalField=function(){bP={g:function(t,e){var n=new zo;return RP(e,n),EP(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new Nu;return RP(e,n),EP(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new zc;return RP(e,n),EP(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new dp;return RP(e,n),EP(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new Bc;return RP(e,n),EP(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,i=t.getAttribute("points");i&&(n=NP(i));var r=new lp({shape:{points:n||[]},silent:!0});return RP(e,r),EP(t,r,this._defsUsePending,!1,!1),r},polyline:function(t,e){var n,i=t.getAttribute("points");i&&(n=NP(i));var r=new hp({shape:{points:n||[]},silent:!0});return RP(e,r),EP(t,r,this._defsUsePending,!1,!1),r},image:function(t,e){var n=new Cu;return RP(e,n),EP(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",i=t.getAttribute("y")||"0",r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(r),this._textY=parseFloat(i)+parseFloat(o);var a=new zo;return RP(e,a),EP(t,a,this._defsUsePending,!1,!0),a},tspan:function(t,e){var n=t.getAttribute("x"),i=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=i&&(this._textY=parseFloat(i));var r=t.getAttribute("dx")||"0",o=t.getAttribute("dy")||"0",a=new zo;return RP(e,a),EP(t,a,this._defsUsePending,!1,!0),this._textX+=parseFloat(r),this._textY+=parseFloat(o),a},path:function(t,e){var n=t.getAttribute("d")||"",i=Pc(n);return RP(e,i),EP(t,i,this._defsUsePending,!1,!1),i.silent=!0,i}}}(),t}(),LP={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),i=parseInt(t.getAttribute("x2")||"10",10),r=parseInt(t.getAttribute("y2")||"0",10),o=new bp(e,n,i,r);return PP(t,o),OP(t,o),o},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),i=parseInt(t.getAttribute("r")||"0",10),r=new Sp(e,n,i);return PP(t,r),OP(t,r),r}};function PP(t,e){var n=t.getAttribute("gradientUnits");"userSpaceOnUse"===n&&(e.global=!0)}function OP(t,e){var n=t.firstChild;while(n){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var i=n.getAttribute("offset"),r=void 0;r=i&&i.indexOf("%")>0?parseInt(i,10)/100:i?parseFloat(i):0;var o={};ZP(n,o,o);var a=o.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:r,color:a})}n=n.nextSibling}}function RP(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),E(e.__inheritedStyle,t.__inheritedStyle))}function NP(t){for(var e=HP(t),n=[],i=0;i0;o-=2){var a=i[o],s=i[o-1],l=HP(a);switch(r=r||Ee(),s){case"translate":Ge(r,r,[parseFloat(l[0]),parseFloat(l[1]||"0")]);break;case"scale":He(r,r,[parseFloat(l[0]),parseFloat(l[1]||l[0])]);break;case"rotate":Fe(r,r,-parseFloat(l[0])*UP,[parseFloat(l[1]||"0"),parseFloat(l[2]||"0")]);break;case"skewX":var u=Math.tan(parseFloat(l[0])*UP);Be(r,[1,0,u,1,0,0],r);break;case"skewY":var h=Math.tan(parseFloat(l[0])*UP);Be(r,[1,h,0,1,0,0],r);break;case"matrix":r[0]=parseFloat(l[0]),r[1]=parseFloat(l[1]),r[2]=parseFloat(l[2]),r[3]=parseFloat(l[3]),r[4]=parseFloat(l[4]),r[5]=parseFloat(l[5]);break}}e.setLocalTransform(r)}}var XP=/([^\s:;]+)\s*:\s*([^:;]+)/g;function ZP(t,e,n){var i=t.getAttribute("style");if(i){var r;XP.lastIndex=0;while(null!=(r=XP.exec(i))){var o=r[1],a=Dt(TP,o)?TP[o]:null;a&&(e[a]=r[2]);var s=Dt(DP,o)?DP[o]:null;s&&(n[s]=r[2])}}}function jP(t,e,n){for(var i=0;i0,g={api:n,geo:s,mapOrGeoModel:t,data:a,isVisualEncodedByVisualMap:f,isGeo:o,transformInfoRaw:c};"geoJSON"===s.resourceType?this._buildGeoJSON(g):"geoSVG"===s.resourceType&&this._buildSVG(g),this._updateController(t,e,n),this._updateMapSelectHandler(t,l,n,i)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=Mt(),n=Mt(),i=this._regionsGroup,r=t.transformInfoRaw,o=t.mapOrGeoModel,a=t.data,s=t.geo.projection,l=s&&s.stream;function u(t,e){return e&&(t=e(t)),t&&[t[0]*r.scaleX+r.x,t[1]*r.scaleY+r.y]}function h(t){for(var e=[],n=!l&&s&&s.project,i=0;i=0)&&(p=r);var d=a?{normal:{align:"center",verticalAlign:"middle"}}:null;Md(e,Id(i),{labelFetcher:p,labelDataIndex:c,defaultText:n},d);var f=e.getTextContent();if(f&&(wO(f).ignore=f.ignore,e.textConfig&&a)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(a[0]-g.x)/g.width*100+"%",(a[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function CO(t,e,n,i,r,o){t.data?t.data.setItemGraphicEl(o,e):Qu(e).eventData={componentType:"geo",componentIndex:r.componentIndex,geoIndex:r.componentIndex,name:n,region:i&&i.option||{}}}function DO(t,e,n,i,r){t.data||vd({el:e,componentModel:r,itemName:n,itemTooltipOption:i.get("tooltip")})}function AO(t,e,n,i,r){e.highDownSilentOnTouch=!!r.get("selectedMode");var o=i.getModel("emphasis"),a=o.get("focus");return ec(e,a,o.get("blurScope"),o.get("disabled")),t.isGeo&&lc(e,r,n),a}function kO(t,e,n){var i,r=[];function o(){i=[]}function a(){i.length&&(r.push(i),i=[])}var s=e({polygonStart:o,polygonEnd:a,lineStart:o,lineEnd:a,point:function(t,e){isFinite(t)&&isFinite(e)&&i.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),H(t,(function(t){s.lineStart();for(var e=0;e-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(Em);function OO(t,e){var n={};return H(t,(function(t){t.each(t.mapDimension("value"),(function(e,i){var r="ec-"+t.getName(i);n[r]=n[r]||[],isNaN(e)||n[r].push(e)}))})),t[0].map(t[0].mapDimension("value"),(function(i,r){for(var o,a="ec-"+t[0].getName(r),s=0,l=1/0,u=-1/0,h=n[a].length,c=0;c1?(d.width=p,d.height=p/x):(d.height=p,d.width=p*x),d.y=c[1]-d.height/2,d.x=c[0]-d.width/2;else{var w=t.getBoxLayoutParams();w.aspect=x,d=cg(w,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}function UO(t,e){H(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}G(FO,zO);var YO=function(){function t(){this.dimensions=GO}return t.prototype.create=function(t,e){var n=[];function i(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,r){var o=t.get("map"),a=new FO(o+r,o,N({nameMap:t.get("nameMap")},i(t)));a.zoomLimit=t.get("scaleLimit"),n.push(a),t.coordinateSystem=a,a.model=t,a.resize=WO,a.resize(t,e)})),t.eachSeries((function(t){var e=t.get("coordinateSystem");if("geo"===e){var i=t.get("geoIndex")||0;t.coordinateSystem=n[i]}}));var r={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();r[e]=r[e]||[],r[e].push(t)}})),H(r,(function(t,r){var o=W(t,(function(t){return t.get("nameMap")})),a=new FO(r,r,N({nameMap:R(o)},i(t[0])));a.zoomLimit=ht.apply(null,W(t,(function(t){return t.get("scaleLimit")}))),n.push(a),a.resize=WO,a.resize(t[0],e),H(t,(function(t){t.coordinateSystem=a,UO(a,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,i){for(var r=(t||[]).slice(),o=Mt(),a=0;a=0;a--){var s=i[a];s.hierNode={defaultAncestor:null,ancestor:s,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},r.push(s)}}function eR(t,e){var n=t.isExpand?t.children:[],i=t.parentNode.children,r=t.hierNode.i?i[t.hierNode.i-1]:null;if(n.length){aR(t);var o=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;r?(t.hierNode.prelim=r.hierNode.prelim+e(t,r),t.hierNode.modifier=t.hierNode.prelim-o):t.hierNode.prelim=o}else r&&(t.hierNode.prelim=r.hierNode.prelim+e(t,r));t.parentNode.hierNode.defaultAncestor=sR(t,r,t.parentNode.hierNode.defaultAncestor||i[0],e)}function nR(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function iR(t){return arguments.length?t:pR}function rR(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function oR(t,e){return cg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function aR(t){var e=t.children,n=e.length,i=0,r=0;while(--n>=0){var o=e[n];o.hierNode.prelim+=i,o.hierNode.modifier+=i,r+=o.hierNode.change,i+=o.hierNode.shift+r}}function sR(t,e,n,i){if(e){var r=t,o=t,a=o.parentNode.children[0],s=e,l=r.hierNode.modifier,u=o.hierNode.modifier,h=a.hierNode.modifier,c=s.hierNode.modifier;while(s=lR(s),o=uR(o),s&&o){r=lR(r),a=uR(a),r.hierNode.ancestor=t;var p=s.hierNode.prelim+c-o.hierNode.prelim-u+i(s,o);p>0&&(cR(hR(s,t,n),t,p),u+=p,l+=p),c+=s.hierNode.modifier,u+=o.hierNode.modifier,l+=r.hierNode.modifier,h+=a.hierNode.modifier}s&&!lR(r)&&(r.hierNode.thread=s,r.hierNode.modifier+=c-l),o&&!uR(a)&&(a.hierNode.thread=o,a.hierNode.modifier+=u-h,n=t)}return n}function lR(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function uR(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function hR(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function cR(t,e,n){var i=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=i,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=i}function pR(t,e){return t.parentNode===e.parentNode?1:2}var dR=function(){function t(){this.parentPoint=[],this.childPoints=[]}return t}(),fR=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dR},e.prototype.buildPath=function(t,e){var n=e.childPoints,i=n.length,r=e.parentPoint,o=n[0],a=n[i-1];if(1===i)return t.moveTo(r[0],r[1]),void t.lineTo(o[0],o[1]);var s=e.orient,l="TB"===s||"BT"===s?0:1,u=1-l,h=ia(e.forkPosition,1),c=[];c[l]=r[l],c[u]=r[u]+(a[u]-r[u])*h,t.moveTo(r[0],r[1]),t.lineTo(c[0],c[1]),t.moveTo(o[0],o[1]),c[l]=o[l],t.lineTo(c[0],c[1]),c[l]=a[l],t.lineTo(c[0],c[1]),t.lineTo(a[0],a[1]);for(var p=1;pm.x,w||(_-=Math.PI));var S=w?"left":"right",M=s.getModel("label"),I=M.get("rotate"),T=I*(Math.PI/180),C=y.getTextContent();C&&(y.setTextConfig({position:M.get("position")||S,rotation:null==I?-_:T,origin:"center"}),C.setStyle("verticalAlign","middle"))}var D=s.get(["emphasis","focus"]),A="relative"===D?It(a.getAncestorsIndices(),a.getDescendantIndices()):"ancestor"===D?a.getAncestorsIndices():"descendant"===D?a.getDescendantIndices():null;A&&(Qu(n).focus=A),mR(r,a,h,n,f,d,g,i),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var i=a.parentNode&&t.getItemGraphicEl(a.parentNode.dataIndex);i&&i.hoverState===ah||Ch(n.__edge,e)}})}function mR(t,e,n,i,r,o,a,s){var l=e.getModel(),u=t.get("edgeShape"),h=t.get("layout"),c=t.getOrient(),p=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),f=l.getModel("lineStyle").getLineStyle(),g=i.__edge;if("curve"===u)e.parentNode&&e.parentNode!==n&&(g||(g=i.__edge=new vp({shape:bR(h,c,p,r,r)})),Rp(g,{shape:bR(h,c,p,o,a)},t));else if("polyline"===u){if("orthogonal"!==h)throw new Error("The polyline edgeShape can only be used in orthogonal layout");if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var y=e.children,v=[],m=0;me&&(e=i.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,i=n.length;e=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0)){var e=this.hostTree,n=e.data.getItemModel(this.dataIndex);return n.getModel(t)}},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e=0){var i=n.getData().tree.root,r=t.targetNode;if(Q(r)&&(r=i.getNodeById(r)),r&&i.contains(r))return{node:r};var o=t.targetNodeId;if(null!=o&&(r=i.getNodeById(o)))return{node:r}}}function zR(t){var e=[];while(t)t=t.parentNode,t&&e.push(t);return e.reverse()}function VR(t,e){var n=zR(t);return V(n,e)>=0}function BR(t,e){var n=[];while(t){var i=t.dataIndex;n.push({name:t.name,dataIndex:i,value:e.getRawValue(i)}),t=t.parentNode}return n.reverse(),n}var GR=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return i(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},i=new jd(n,this,this.ecModel),r=RR.createTree(e,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=i),t}))}var a=0;r.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var s=t.expandAndCollapse,l=s&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return r.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=l})),r.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){var i=this.getData().tree,r=i.root.children[0],o=i.getNodeByDataIndex(t),a=o.getValue(),s=o.name;while(o&&o!==r)s=o.parentNode.name+"."+s,o=o.parentNode;return gm("nameValue",{name:s,value:a,noValue:isNaN(a)||null==a})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=BR(i,this),n.collapsed=!i.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(Em);function FR(t,e,n){var i,r=[t],o=[];while(i=r.pop())if(o.push(i),i.isExpand){var a=i.children;if(a.length)for(var s=0;s=0;o--)i.push(r[o])}}function WR(t,e){t.eachSeriesByType("tree",(function(t){UR(t,e)}))}function UR(t,e){var n=oR(t,e);t.layoutInfo=n;var i=t.get("layout"),r=0,o=0,a=null;"radial"===i?(r=2*Math.PI,o=Math.min(n.height,n.width)/2,a=iR((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(r=n.width,o=n.height,a=iR());var s=t.getData().tree.root,l=s.children[0];if(l){tR(s),FR(l,eR,a),s.hierNode.modifier=-l.hierNode.prelim,HR(l,nR);var u=l,h=l,c=l;HR(l,(function(t){var e=t.getLayout().x;eh.getLayout().x&&(h=t),t.depth>c.depth&&(c=t)}));var p=u===h?1:a(u,h)/2,d=p-u.getLayout().x,f=0,g=0,y=0,v=0;if("radial"===i)f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),HR(l,(function(t){y=(t.getLayout().x+d)*f,v=(t.depth-1)*g;var e=rR(y,v);t.setLayout({x:e.x,y:e.y,rawX:y,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=o/(h.getLayout().x+p+d),f=r/(c.depth-1||1),HR(l,(function(t){v=(t.getLayout().x+d)*g,y="LR"===m?(t.depth-1)*f:r-(t.depth-1)*f,t.setLayout({x:y,y:v},!0)}))):"TB"!==m&&"BT"!==m||(f=r/(h.getLayout().x+p+d),g=o/(c.depth-1||1),HR(l,(function(t){y=(t.getLayout().x+d)*f,v="TB"===m?(t.depth-1)*g:o-(t.depth-1)*g,t.setLayout({x:y,y:v},!0)})))}}}function YR(t){t.eachSeriesByType("tree",(function(t){var e=t.getData(),n=e.tree;n.eachNode((function(t){var n=t.getModel(),i=n.getModel("itemStyle").getItemStyle(),r=e.ensureUniqueItemVisual(t.dataIndex,"style");N(r,i)}))}))}function XR(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,i=e.getData().tree,r=i.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var i=e.coordinateSystem,r=qO(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}function ZR(t){t.registerChartView(gR),t.registerSeriesModel(GR),t.registerLayout(WR),t.registerVisual(YR),XR(t)}var jR=["treemapZoomToNode","treemapRender","treemapMove"];function qR(t){for(var e=0;e1)n=n.parentNode;var r=Jg(t.ecModel,n.name||n.dataIndex+"",i);e.setVisual("decal",r)}))}var JR=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};$R(n);var i=t.levels||[],r=this.designatedVisualItemStyle={},o=new jd({itemStyle:r},this,e);i=t.levels=QR(i,e);var a=W(i||[],(function(t){return new jd(t,o,e)}),this),s=RR.createTree(n,this,l);function l(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),i=n?a[n.depth]:null;return t.parentModel=i||o,t}))}return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=this.getRawValue(t),o=i.getName(t);return gm("nameValue",{name:o,value:r})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=BR(i,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},N(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=Mt(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){KR(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,scaleLimit:null,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(Em);function $R(t){var e=0;H(t.children,(function(t){$R(t);var n=t.value;J(n)&&(n=n[0]),e+=n}));var n=t.value;J(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),J(t.value)?t.value[0]=n:t.value=n}function QR(t,e){var n=Fa(e.get("color")),i=Fa(e.get(["aria","decal","decals"]));if(n){var r,o;t=t||[],H(t,(function(t){var e=new jd(t),n=e.get("color"),i=e.get("decal");(e.get(["itemStyle","color"])||n&&"none"!==n)&&(r=!0),(e.get(["itemStyle","decal"])||i&&"none"!==i)&&(o=!0)}));var a=t[0]||(t[0]={});return r||(a.color=n.slice()),!o&&i&&(a.decal=i.slice()),t}}var tN=8,eN=8,nN=5,iN=function(){function t(t){this.group=new zo,t.add(this.group)}return t.prototype.render=function(t,e,n,i){var r=t.getModel("breadcrumb"),o=this.group;if(o.removeAll(),r.get("show")&&n){var a=r.getModel("itemStyle"),s=r.getModel("emphasis"),l=a.getModel("textStyle"),u=s.getModel(["itemStyle","textStyle"]),h={pos:{left:r.get("left"),right:r.get("right"),top:r.get("top"),bottom:r.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:r.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,h,l),this._renderContent(t,h,a,s,l,u,i),pg(o,h.pos,h.box)}},t.prototype._prepare=function(t,e,n){for(var i=t;i;i=i.parentNode){var r=es(i.getModel().get("name"),""),o=n.getTextRect(r),a=Math.max(o.width+2*tN,e.emptyItemWidth);e.totalWidth+=a+eN,e.renderList.push({node:i,text:r,width:a})}},t.prototype._renderContent=function(t,e,n,i,r,o,a){for(var s=0,l=e.emptyItemWidth,u=t.get(["breadcrumb","height"]),h=hg(e.pos,e.box),c=e.totalWidth,p=e.renderList,d=i.getModel("itemStyle").getItemStyle(),f=p.length-1;f>=0;f--){var g=p[f],y=g.node,v=g.width,m=g.text;c>h.width&&(c-=v-l,v=l,m=null);var x=new lp({shape:{points:rN(s,0,v,u,f===p.length-1,0===f)},style:E(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new Bu({style:Td(r,{text:m})}),textConfig:{position:"inside"},z2:1e4*hh,onclick:K(a,y)});x.disableLabelAnimation=!0,x.getTextContent().ensureState("emphasis").style=Td(o,{text:m}),x.ensureState("emphasis").style=d,ec(x,i.get("focus"),i.get("blurScope"),i.get("disabled")),this.group.add(x),oN(x,t,y),s+=v+eN}},t.prototype.remove=function(){this.group.removeAll()},t}();function rN(t,e,n,i,r,o){var a=[[r?t:t-nN,e],[t+n,e],[t+n,e+i],[r?t:t-nN,e+i]];return!o&&a.splice(2,0,[t+n+nN,e+i/2]),!r&&a.push([t,e+i/2]),a}function oN(t,e,n){Qu(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&BR(n,e)}}var aN=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,i,r){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:i,easing:r}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){e--,e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},i=0,r=this._storage.length;ihN||Math.abs(t.dy)>hN)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY,i=t.scale;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var o=r.getLayout();if(!o)return;var a=new en(o.x,o.y,o.width,o.height),s=null,l=this._controllerHost;s=l.zoomLimit;var u=l.zoom=l.zoom||1;if(u*=i,s){var h=s.min||0,c=s.max||1/0;u=Math.max(Math.min(c,u),h)}var p=u/l.zoom;l.zoom=u;var d=this.seriesModel.layoutInfo;e-=d.x,n-=d.y;var f=Ee();Ge(f,f,[-e,-n]),He(f,f,[p,p]),Ge(f,f,[e,n]),a.applyTransform(f),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var i=e.findTarget(t.offsetX,t.offsetY);if(i){var r=i.node;if(r.getLayout().isLeafRoot)e._rootToNode(i);else if("zoomToNode"===n)e._zoomToNode(i);else if("link"===n){var o=r.hostTree.data.getItemModel(r.dataIndex),a=o.get("link",!0),s=o.get("target",!0)||"blank";a&&rg(a,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var i=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2),n||(n={node:t.getData().tree.root})),(this._breadcrumb||(this._breadcrumb=new iN(this.group))).render(t,e,n.node,(function(e){"animating"!==i._state&&(VR(t.getViewRoot(),e)?i._rootToNode({node:e}):i._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage=_N(),this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n,i=this.seriesModel.getViewRoot();return i.eachNode({attr:"viewChildren",order:"preorder"},(function(i){var r=this._storage.background[i.getRawIndex()];if(r){var o=r.transformCoordToLocal(t,e),a=r.shape;if(!(a.x<=o[0]&&o[0]<=a.x+a.width&&a.y<=o[1]&&o[1]<=a.y+a.height))return!1;n={node:i,offsetX:o[0],offsetY:o[1]}}}),this),n},e.type="treemap",e}(qm);function _N(){return{nodeGroup:[],background:[],content:[]}}function wN(t,e,n,i,r,o,a,s,l,u){if(a){var h=a.getLayout(),c=t.getData(),p=a.getModel();if(c.setItemGraphicEl(a.dataIndex,null),h&&h.isInView){var d=h.width,f=h.height,g=h.borderWidth,y=h.invisible,v=a.getRawIndex(),m=s&&s.getRawIndex(),x=a.viewChildren,_=h.upperHeight,w=x&&x.length,b=p.getModel("itemStyle"),S=p.getModel(["emphasis","itemStyle"]),M=p.getModel(["blur","itemStyle"]),I=p.getModel(["select","itemStyle"]),T=b.get("borderRadius")||0,C=H("nodeGroup",lN);if(C){if(l.add(C),C.x=h.x||0,C.y=h.y||0,C.markRedraw(),mN(C).nodeWidth=d,mN(C).nodeHeight=f,h.isAboveViewRoot)return C;var D=H("background",uN,u,fN);D&&z(C,D,w&&h.upperLabelHeight);var A=p.getModel("emphasis"),k=A.get("focus"),L=A.get("blurScope"),P=A.get("disabled"),O="ancestor"===k?a.getAncestorsIndices():"descendant"===k?a.getDescendantIndices():k;if(w)sc(C)&&ac(C,!1),D&&(ac(D,!P),c.setItemGraphicEl(a.dataIndex,D),nc(D,O,L));else{var R=H("content",uN,u,gN);R&&V(C,R),D.disableMorphing=!0,D&&sc(D)&&ac(D,!1),ac(C,!P),c.setItemGraphicEl(a.dataIndex,C);var E=p.getShallow("cursor");E&&R.attr("cursor",E),nc(C,O,L)}return C}}}function z(e,n,i){var r=Qu(n);if(r.dataIndex=a.dataIndex,r.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:d,height:f,r:T}),y)B(n);else{n.invisible=!1;var o=a.getVisual("style"),s=o.stroke,l=vN(b);l.fill=s;var u=yN(S);u.fill=S.get("borderColor");var h=yN(M);h.fill=M.get("borderColor");var c=yN(I);if(c.fill=I.get("borderColor"),i){var p=d-2*g;G(n,s,o.opacity,{x:g,y:0,width:p,height:_})}else n.removeTextContent();n.setStyle(l),n.ensureState("emphasis").style=u,n.ensureState("blur").style=h,n.ensureState("select").style=c,Oh(n)}e.add(n)}function V(e,n){var i=Qu(n);i.dataIndex=a.dataIndex,i.seriesIndex=t.seriesIndex;var r=Math.max(d-2*g,0),o=Math.max(f-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:r,height:o,r:T}),y)B(n);else{n.invisible=!1;var s=a.getVisual("style"),l=s.fill,u=vN(b);u.fill=l,u.decal=s.decal;var h=yN(S),c=yN(M),p=yN(I);G(n,l,s.opacity,null),n.setStyle(u),n.ensureState("emphasis").style=h,n.ensureState("blur").style=c,n.ensureState("select").style=p,Oh(n)}e.add(n)}function B(t){!t.invisible&&o.push(t)}function G(e,n,i,r){var o=p.getModel(r?pN:cN),s=es(p.get("name"),null),l=o.getShallow("show");Md(e,Id(p,r?pN:cN),{defaultText:l?s:null,inheritColor:n,defaultOpacity:i,labelFetcher:t,labelDataIndex:a.dataIndex});var u=e.getTextContent();if(u){var c=u.style,d=ft(c.padding||0);r&&(e.setTextConfig({layoutRect:r}),u.disableLabelLayout=!0),u.beforeUpdate=function(){var t=Math.max((r?r.width:e.shape.width)-d[1]-d[3],0),n=Math.max((r?r.height:e.shape.height)-d[0]-d[2],0);c.width===t&&c.height===n||u.setStyle({width:t,height:n})},c.truncateMinChar=2,c.lineOverflow="truncate",F(c,r,h);var f=u.getState("emphasis");F(f?f.style:null,r,h)}}function F(e,n,i){var r=e?e.text:null;if(!n&&i.isLeafRoot&&null!=r){var o=t.get("drillDownIcon",!0);e.text=o?o+" "+r:r}}function H(t,i,o,a){var s=null!=m&&n[t][m],l=r[t];return s?(n[t][m]=null,W(l,s)):y||(s=new i,s instanceof dl&&(s.z2=bN(o,a)),U(l,s)),e[t][v]=s}function W(t,e){var n=t[v]={};e instanceof lN?(n.oldX=e.x,n.oldY=e.y):n.oldShape=N({},e.shape)}function U(t,e){var n=t[v]={},o=a.parentNode,s=e instanceof zo;if(o&&(!i||"drillDown"===i.direction)){var l=0,u=0,h=r.background[o.getRawIndex()];!i&&h&&h.oldShape&&(l=h.oldShape.width,u=h.oldShape.height),s?(n.oldX=0,n.oldY=u):n.oldShape={x:l,y:u,width:0,height:0}}n.fadein=!s}}function bN(t,e){return t*dN+e}var SN=H,MN=nt,IN=-1,TN=function(){function t(e){var n=e.mappingMethod,i=e.type,r=this.option=P(e);this.type=i,this.mappingMethod=n,this._normalizeData=VN[n];var o=t.visualHandlers[i];this.applyVisual=o.applyVisual,this.getColorMapper=o.getColorMapper,this._normalizedToVisual=o._normalizedToVisual[n],"piecewise"===n?(AN(r),CN(r)):"category"===n?r.categories?DN(r):AN(r,!0):(gt("linear"!==n||r.dataExtent),AN(r))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return q(this._normalizeData,this)},t.listVisualTypes=function(){return Z(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){nt(t)?H(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,i){var r,o=J(e)?[]:nt(e)?{}:(r=!0,null);return t.eachVisual(e,(function(t,e){var a=n.call(i,t,e);r?o=a:o[e]=a})),o},t.retrieveVisuals=function(e){var n,i={};return e&&SN(t.visualHandlers,(function(t,r){e.hasOwnProperty(r)&&(i[r]=e[r],n=!0)})),n?i:null},t.prepareVisualTypes=function(t){if(J(t))t=t.slice();else{if(!MN(t))return[];var e=[];SN(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var i,r=1/0,o=0,a=e.length;o=0;o--)null==i[o]&&(delete n[e[o]],e.pop())}function AN(t,e){var n=t.visual,i=[];nt(n)?SN(n,(function(t){i.push(t)})):null!=n&&i.push(n);var r={color:1,symbol:1};e||1!==i.length||r.hasOwnProperty(t.type)||(i[1]=i[0]),zN(t,i)}function kN(t){return{applyVisual:function(e,n,i){var r=this.mapValueToVisual(e);i("color",t(n("color"),r))},_normalizedToVisual:NN([0,1])}}function LN(t){var e=this.option.visual;return e[Math.round(na(t,[0,1],[0,e.length-1],!0))]||{}}function PN(t){return function(e,n,i){i(t,this.mapValueToVisual(e))}}function ON(t){var e=this.option.visual;return e[this.option.loop&&t!==IN?t%e.length:t]}function RN(){return this.option.visual[0]}function NN(t){return{linear:function(e){return na(e,t,this.option.visual,!0)},category:ON,piecewise:function(e,n){var i=EN.call(this,n);return null==i&&(i=na(e,t,this.option.visual,!0)),i},fixed:RN}}function EN(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var i=TN.findPieceIndex(t,n),r=n[i];if(r&&r.visual)return r.visual[this.type]}}function zN(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=W(e,(function(t){var e=Mi(t);return e||Pa("'"+t+"' is an illegal color, fallback to '#000000'",!0),e||[0,0,0,1]}))),e}var VN={linear:function(t){return na(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=TN.findPieceIndex(t,e,!0);if(null!=n)return na(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?IN:e},fixed:At};function BN(t,e,n){return t?e<=n:e=n.length||t===n[t.depth]){var o=KN(r,u,t,e,f,i);WN(t,o,n,i)}}))}else s=YN(u),h.fill=s}}function UN(t,e,n){var i=N({},e),r=n.designatedVisualItemStyle;return H(["color","colorAlpha","colorSaturation"],(function(n){r[n]=e[n];var o=t.get(n);r[n]=null,null!=o&&(i[n]=o)})),i}function YN(t){var e=ZN(t,"color");if(e){var n=ZN(t,"colorAlpha"),i=ZN(t,"colorSaturation");return i&&(e=Oi(e,null,null,i)),n&&(e=Ri(e,n)),e}}function XN(t,e){return null!=e?Oi(e,null,null,t):null}function ZN(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function jN(t,e,n,i,r,o){if(o&&o.length){var a=qN(e,"color")||null!=r.color&&"none"!==r.color&&(qN(e,"colorAlpha")||qN(e,"colorSaturation"));if(a){var s=e.get("visualMin"),l=e.get("visualMax"),u=n.dataExtent.slice();null!=s&&su[1]&&(u[1]=l);var h=e.get("colorMappingBy"),c={type:a.name,dataExtent:u,visual:a.range};"color"!==c.type||"index"!==h&&"id"!==h?c.mappingMethod="linear":(c.mappingMethod="category",c.loop=!0);var p=new TN(c);return FN(p).drColorMappingBy=h,p}}}function qN(t,e){var n=t.get(e);return J(n)&&n.length?{name:e,range:n}:null}function KN(t,e,n,i,r,o){var a=N({},e);if(r){var s=r.type,l="color"===s&&FN(r).drColorMappingBy,u="index"===l?i:"id"===l?o.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));a[s]=r.mapValueToVisual(u)}return a}var JN=Math.max,$N=Math.min,QN=ht,tE=H,eE=["itemStyle","borderWidth"],nE=["itemStyle","gapWidth"],iE=["upperLabel","show"],rE=["upperLabel","height"],oE={seriesType:"treemap",reset:function(t,e,n,i){var r=n.getWidth(),o=n.getHeight(),a=t.option,s=cg(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),l=a.size||[],u=ia(QN(s.width,l[0]),r),h=ia(QN(s.height,l[1]),o),c=i&&i.type,p=["treemapZoomToNode","treemapRootToNode"],d=ER(i,p,t),f="treemapRender"===c||"treemapMove"===c?i.rootRect:null,g=t.getViewRoot(),y=zR(g);if("treemapMove"!==c){var v="treemapZoomToNode"===c?dE(t,d,g,u,h):f?[f.width,f.height]:[u,h],m=a.sort;m&&"asc"!==m&&"desc"!==m&&(m="desc");var x={squareRatio:a.squareRatio,sort:m,leafDepth:a.leafDepth};g.hostTree.clearLayouts();var _={x:0,y:0,width:v[0],height:v[1],area:v[0]*v[1]};g.setLayout(_),aE(g,x,!1,0),_=g.getLayout(),tE(y,(function(t,e){var n=(y[e+1]||g).getValue();t.setLayout(N({dataExtent:[n,n],borderWidth:0,upperHeight:0},_))}))}var w=t.getData().tree.root;w.setLayout(fE(s,f,d),!0),t.setLayoutInfo(s),gE(w,new en(-s.x,-s.y,r,o),y,g,0)}};function aE(t,e,n,i){var r,o;if(!t.isRemoved()){var a=t.getLayout();r=a.width,o=a.height;var s=t.getModel(),l=s.get(eE),u=s.get(nE)/2,h=yE(s),c=Math.max(l,h),p=l-u,d=c-u;t.setLayout({borderWidth:l,upperHeight:c,upperLabelHeight:h},!0),r=JN(r-2*p,0),o=JN(o-p-d,0);var f=r*o,g=sE(t,s,f,e,n,i);if(g.length){var y={x:p,y:d,width:r,height:o},v=$N(r,o),m=1/0,x=[];x.area=0;for(var _=0,w=g.length;_=0;l--){var u=r["asc"===i?a-l-1:l].getValue();u/n*ea[1]&&(a[1]=e)}))):a=[NaN,NaN],{sum:i,dataExtent:a}}function cE(t,e,n){for(var i=0,r=1/0,o=0,a=void 0,s=t.length;oi&&(i=a));var l=t.area*t.area,u=e*e*n;return l?JN(u*i/l,l/(u*r)):1/0}function pE(t,e,n,i,r){var o=e===n.width?0:1,a=1-o,s=["x","y"],l=["width","height"],u=n[s[o]],h=e?t.area/e:0;(r||h>n[l[a]])&&(h=n[l[a]]);for(var c=0,p=t.length;cpa&&(u=pa),a=o}ui&&(i=e);var o=i%2?i+2:i+3;r=[];for(var a=0;a0&&(m[0]=-m[0],m[1]=-m[1]);var _=v[0]<0?-1:1;if("start"!==i.__position&&"end"!==i.__position){var w=-Math.atan2(v[1],v[0]);u[0].8?"left":h[0]<-.8?"right":"center",p=h[1]>.8?"top":h[1]<-.8?"bottom":"middle";break;case"start":i.x=-h[0]*f+l[0],i.y=-h[1]*g+l[1],c=h[0]>.8?"right":h[0]<-.8?"left":"center",p=h[1]>.8?"bottom":h[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":i.x=f*_+l[0],i.y=l[1]+b,c=v[0]<0?"right":"left",i.originX=-f*_,i.originY=-b;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":i.x=x[0],i.y=x[1]+b,c="center",i.originY=-b;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":i.x=-f*_+u[0],i.y=u[1]+b,c=v[0]>=0?"right":"left",i.originX=f*_,i.originY=-b;break}i.scaleX=i.scaleY=r,i.setStyle({verticalAlign:i.__verticalAlign||p,align:i.__align||c})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var i=a.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(i[1],i[0]))}else t.attr("rotation",n)}},e}(zo),sz=function(){function t(t){this.group=new zo,this._LineCtor=t||az}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,i=n.group,r=n._lineData;n._lineData=t,r||i.removeAll();var o=uz(t);t.diff(r).add((function(n){e._doAdd(t,n,o)})).update((function(n,i){e._doUpdate(r,t,i,n,o)})).remove((function(t){i.remove(r.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=uz(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||lz(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var i=t.start;i0}function uz(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:Id(e)}}function hz(t){return isNaN(t[0])||isNaN(t[1])}function cz(t){return t&&!hz(t[0])&&!hz(t[1])}var pz=[],dz=[],fz=[],gz=$n,yz=Jt,vz=Math.abs;function mz(t,e,n){for(var i,r=t[0],o=t[1],a=t[2],s=1/0,l=n*n,u=.1,h=.1;h<=.9;h+=.1){pz[0]=gz(r[0],o[0],a[0],h),pz[1]=gz(r[1],o[1],a[1],h);var c=vz(yz(pz,e)-l);c=0?i+=u:i-=u:f>=0?i-=u:i+=u}return i}function xz(t,e){var n=[],i=ni,r=[[],[],[]],o=[[],[]],a=[];e/=2,t.eachEdge((function(t,s){var l=t.getLayout(),u=t.getVisual("fromSymbol"),h=t.getVisual("toSymbol");l.__original||(l.__original=[Rt(l[0]),Rt(l[1])],l[2]&&l.__original.push(Rt(l[2])));var c=l.__original;if(null!=l[2]){if(Ot(r[0],c[0]),Ot(r[1],c[2]),Ot(r[2],c[1]),u&&"none"!==u){var p=zE(t.node1),d=mz(r,c[0],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[0][0]=n[3],r[1][0]=n[4],i(r[0][1],r[1][1],r[2][1],d,n),r[0][1]=n[3],r[1][1]=n[4]}if(h&&"none"!==h){p=zE(t.node2),d=mz(r,c[1],p*e);i(r[0][0],r[1][0],r[2][0],d,n),r[1][0]=n[1],r[2][0]=n[2],i(r[0][1],r[1][1],r[2][1],d,n),r[1][1]=n[1],r[2][1]=n[2]}Ot(l[0],r[0]),Ot(l[1],r[2]),Ot(l[2],r[1])}else{if(Ot(o[0],c[0]),Ot(o[1],c[1]),Vt(a,o[1],o[0]),Zt(a,a),u&&"none"!==u){p=zE(t.node1);zt(o[0],o[0],a,p*e)}if(h&&"none"!==h){p=zE(t.node2);zt(o[1],o[1],a,-p*e)}Ot(l[0],o[0]),Ot(l[1],o[1])}}))}function _z(t){return"view"===t.type}var wz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){var n=new XD,i=new sz,r=this.group;this._controller=new yP(e.getZr()),this._controllerHost={target:r},r.add(n.group),r.add(i.group),this._symbolDraw=n,this._lineDraw=i,this._firstRender=!0},e.prototype.render=function(t,e,n){var i=this,r=t.coordinateSystem;this._model=t;var o=this._symbolDraw,a=this._lineDraw,s=this.group;if(_z(r)){var l={x:r.x,y:r.y,scaleX:r.scaleX,scaleY:r.scaleY};this._firstRender?s.attr(l):Rp(s,l,t)}xz(t.getGraph(),EE(t));var u=t.getData();o.updateData(u);var h=t.getEdgeData();a.updateData(h),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var c=t.forceLayout,p=t.get(["force","layoutAnimation"]);c&&this._startForceLayoutIteration(c,p);var d=t.get("layout");u.graph.eachNode((function(e){var n=e.dataIndex,r=e.getGraphicEl(),o=e.getModel();if(r){r.off("drag").off("dragend");var a=o.get("draggable");a&&r.on("drag",(function(o){switch(d){case"force":c.warmUp(),!i._layouting&&i._startForceLayoutIteration(c,p),c.setFixed(n),u.setItemLayout(n,[r.x,r.y]);break;case"circular":u.setItemLayout(n,[r.x,r.y]),e.setLayout({fixed:!0},!0),GE(t,"symbolSize",e,[o.offsetX,o.offsetY]),i.updateLayout(t);break;case"none":default:u.setItemLayout(n,[r.x,r.y]),RE(t.getGraph(),t),i.updateLayout(t);break}})).on("dragend",(function(){c&&c.setUnfixed(n)})),r.setDraggable(a,!!o.get("cursor"));var s=o.get(["emphasis","focus"]);"adjacency"===s&&(Qu(r).focus=e.getAdjacentDataIndices())}})),u.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(Qu(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var f="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=u.getLayout("cx"),y=u.getLayout("cy");u.graph.eachNode((function(t){HE(t,f,g,y)})),this._firstRender=!1},e.prototype.dispose=function(){this.remove(),this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;(function i(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(i,16):i())}))})()},e.prototype._updateController=function(t,e,n){var i=this,r=this._controller,o=this._controllerHost,a=this.group;r.setPointerChecker((function(e,i,r){var o=a.getBoundingRect();return o.applyTransform(a.transform),o.contain(i,r)&&!MP(e,n,t)})),_z(t.coordinateSystem)?(r.enable(t.get("roam")),o.zoomLimit=t.get("scaleLimit"),o.zoom=t.coordinateSystem.getZoom(),r.off("pan").off("zoom").on("pan",(function(e){_P(o,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){wP(o,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),i._updateNodeAndLinkScale(),xz(t.getGraph(),EE(t)),i._lineDraw.updateLayout(),n.updateLabelLayout()}))):r.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=EE(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){xz(t.getGraph(),EE(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(){clearTimeout(this._layoutTimeout),this._layouting=!1,this._layoutTimeout=null,this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(qm);function bz(t){return"_EC_"+t}var Sz=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[bz(t)]){var i=new Mz(t,e);return i.hostGraph=this,this.nodes.push(i),n[bz(t)]=i,i}console.error("Graph nodes have duplicate name or id")},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[bz(t)]},t.prototype.addEdge=function(t,e,n){var i=this._nodesMap,r=this._edgesMap;if(et(t)&&(t=this.nodes[t]),et(e)&&(e=this.nodes[e]),t instanceof Mz||(t=i[bz(t)]),e instanceof Mz||(e=i[bz(e)]),t&&e){var o=t.id+"-"+e.id,a=new Iz(t,e,n);return a.hostGraph=this,this._directed&&(t.outEdges.push(a),e.inEdges.push(a)),t.edges.push(a),t!==e&&e.edges.push(a),this.edges.push(a),r[o]=a,a}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof Mz&&(t=t.id),e instanceof Mz&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,i=n.length,r=0;r=0&&t.call(e,n[r],r)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,i=n.length,r=0;r=0&&n[r].node1.dataIndex>=0&&n[r].node2.dataIndex>=0&&t.call(e,n[r],r)},t.prototype.breadthFirstTraverse=function(t,e,n,i){if(e instanceof Mz||(e=this._nodesMap[bz(e)]),e){for(var r="out"===n?"outEdges":"in"===n?"inEdges":"edges",o=0;o=0&&n.node2.dataIndex>=0}));for(r=0,o=i.length;r=0&&this[t][e].setItemVisual(this.dataIndex,n,i)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,i){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,i)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}function Cz(t,e,n,i,r){for(var o=new Sz(i),a=0;a "+p)),u++)}var d,f=n.get("coordinateSystem");if("cartesian2d"===f||"polar"===f)d=US(t,n);else{var g=yy.get(f),y=g&&g.dimensions||[];V(y,"value")<0&&y.concat(["value"]);var v=kS(t,{coordDimensions:y,encodeDefine:n.getEncode()}).dimensions;d=new DS(v,n),d.initData(t)}var m=new DS(["value"],n);return m.initData(l,s),r&&r(d,m),MR({mainData:d,struct:o,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),o.update(),o}G(Mz,Tz("hostGraph","data")),G(Iz,Tz("hostGraph","edgeData"));var Dz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function i(){return n._categoriesData}this.legendVisualProvider=new Ak(i,i),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),Ha(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=this;if(i&&n){kE(this);var o=Cz(i,n,this,!0,a);return H(o.edges,(function(t){LE(t.node1,t.node2,this,t.dataIndex)}),this),o.data}function a(t,e){t.wrapMethod("getItemModel",(function(t){var e=r._categoriesModels,n=t.getShallow("category"),i=e[n];return i&&(i.parentModel=t.parentModel,t.parentModel=i),t}));var n=jd.prototype.getModel;function i(t,e){var i=n.call(this,t,e);return i.resolveParentPath=o,i}function o(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=o,t.getModel=i,t}))}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var i=this.getData(),r=this.getDataParams(t,n),o=i.graph.getEdgeByIndex(t),a=i.getName(o.node1.dataIndex),s=i.getName(o.node2.dataIndex),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),gm("nameValue",{name:l.join(" > "),value:r.value,noValue:null==r.value})}var u=Lm({series:this,dataIndex:t,multipleSeries:e});return u},e.prototype._updateCategoriesData=function(){var t=W(this.option.categories||[],(function(t){return null!=t.value?t:N({value:0},t)})),e=new DS(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Em),Az={type:"graphRoam",event:"graphRoam",update:"none"};function kz(t){t.registerChartView(wz),t.registerSeriesModel(Dz),t.registerProcessor(mE),t.registerVisual(xE),t.registerVisual(wE),t.registerLayout(NE),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,WE),t.registerLayout(XE),t.registerCoordinateSystem("graphView",{dimensions:zO.dimensions,create:jE}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},At),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},At),t.registerAction(Az,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var i=e.coordinateSystem,r=qO(i,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}var Lz=function(){function t(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0}return t}(),Pz=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return i(e,t),e.prototype.getDefaultShape=function(){return new Lz},e.prototype.buildPath=function(t,e){var n=Math.cos,i=Math.sin,r=e.r,o=e.width,a=e.angle,s=e.x-n(a)*o*(o>=r/3?1:2),l=e.y-i(a)*o*(o>=r/3?1:2);a=e.angle-Math.PI/2,t.moveTo(s,l),t.lineTo(e.x+n(a)*o,e.y+i(a)*o),t.lineTo(e.x+n(e.angle)*r,e.y+i(e.angle)*r),t.lineTo(e.x-n(a)*o,e.y-i(a)*o),t.lineTo(s,l)},e}(wu);function Oz(t,e){var n=t.get("center"),i=e.getWidth(),r=e.getHeight(),o=Math.min(i,r),a=ia(n[0],e.getWidth()),s=ia(n[1],e.getHeight()),l=ia(t.get("radius"),o/2);return{cx:a,cy:s,r:l}}function Rz(t,e){var n=null==t?"":t+"";return e&&(Q(e)?n=e.replace("{value}",n):$(e)&&(n=e(t))),n}var Nz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var i=t.get(["axisLine","lineStyle","color"]),r=Oz(t,n);this._renderMain(t,e,n,i,r),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,i,r){var o=this.group,a=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,l=-t.get("endAngle")/180*Math.PI,u=t.getModel("axisLine"),h=u.get("roundCap"),c=h?EA:np,p=u.get("show"),d=u.getModel("lineStyle"),f=d.get("width"),g=[s,l];ql(g,!a),s=g[0],l=g[1];for(var y=l-s,v=s,m=[],x=0;p&&x=t&&(0===e?0:i[e-1][0])Math.PI/2&&(V+=Math.PI)):"tangential"===z?V=-M-Math.PI/2:et(z)&&(V=z*Math.PI/180),0===V?c.add(new Bu({style:Td(x,{text:O,x:N,y:E,verticalAlign:h<-.8?"top":h>.8?"bottom":"middle",align:u<-.4?"left":u>.4?"right":"center"},{inheritColor:R}),silent:!0})):c.add(new Bu({style:Td(x,{text:O,x:N,y:E,verticalAlign:"middle",align:"center"},{inheritColor:R}),silent:!0,originX:N,originY:E,rotation:V}))}if(m.get("show")&&k!==_){L=m.get("distance");L=L?L+l:l;for(var B=0;B<=w;B++){u=Math.cos(M),h=Math.sin(M);var G=new dp({shape:{x1:u*(f-L)+p,y1:h*(f-L)+d,x2:u*(f-S-L)+p,y2:h*(f-S-L)+d},silent:!0,style:D});"auto"===D.stroke&&G.setStyle({stroke:i((k+B/w)/_)}),c.add(G),M+=T}M-=T}else M+=I}},e.prototype._renderPointer=function(t,e,n,i,r,o,a,s,l){var u=this.group,h=this._data,c=this._progressEls,p=[],d=t.get(["pointer","show"]),f=t.getModel("progress"),g=f.get("show"),y=t.getData(),v=y.mapDimension("value"),m=+t.get("min"),x=+t.get("max"),_=[m,x],w=[o,a];function b(e,n){var i,o=y.getItemModel(e),a=o.getModel("pointer"),s=ia(a.get("width"),r.r),l=ia(a.get("length"),r.r),u=t.get(["pointer","icon"]),h=a.get("offsetCenter"),c=ia(h[0],r.r),p=ia(h[1],r.r),d=a.get("keepAspect");return i=u?c_(u,c-s/2,p-l,s,l,null,d):new Pz({shape:{angle:-Math.PI/2,width:s,r:l,x:c,y:p}}),i.rotation=-(n+Math.PI/2),i.x=r.cx,i.y=r.cy,i}function S(t,e){var n=f.get("roundCap"),i=n?EA:np,a=f.get("overlap"),u=a?f.get("width"):l/y.count(),h=a?r.r-u:r.r-(t+1)*u,c=a?r.r:r.r-t*u,p=new i({shape:{startAngle:o,endAngle:e,cx:r.cx,cy:r.cy,clockwise:s,r0:h,r:c}});return a&&(p.z2=na(y.get(v,t),[m,x],[100,0],!0)),p}(g||d)&&(y.diff(h).add((function(e){var n=y.get(v,e);if(d){var i=b(e,o);Np(i,{rotation:-((isNaN(+n)?w[0]:na(n,_,w,!0))+Math.PI/2)},t),u.add(i),y.setItemGraphicEl(e,i)}if(g){var r=S(e,o),a=f.get("clip");Np(r,{shape:{endAngle:na(n,_,w,a)}},t),u.add(r),th(t.seriesIndex,y.dataType,e,r),p[e]=r}})).update((function(e,n){var i=y.get(v,e);if(d){var r=h.getItemGraphicEl(n),a=r?r.rotation:o,s=b(e,a);s.rotation=a,Rp(s,{rotation:-((isNaN(+i)?w[0]:na(i,_,w,!0))+Math.PI/2)},t),u.add(s),y.setItemGraphicEl(e,s)}if(g){var l=c[n],m=l?l.shape.endAngle:o,x=S(e,m),M=f.get("clip");Rp(x,{shape:{endAngle:na(i,_,w,M)}},t),u.add(x),th(t.seriesIndex,y.dataType,e,x),p[e]=x}})).execute(),y.each((function(t){var e=y.getItemModel(t),n=e.getModel("emphasis"),r=n.get("focus"),o=n.get("blurScope"),a=n.get("disabled");if(d){var s=y.getItemGraphicEl(t),l=y.getItemVisual(t,"style"),u=l.fill;if(s instanceof Cu){var h=s.style;s.useStyle(N({image:h.image,x:h.x,y:h.y,width:h.width,height:h.height},l))}else s.useStyle(l),"pointer"!==s.type&&s.setColor(u);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",i(na(y.get(v,t),_,[0,1],!0))),s.z2EmphasisLift=0,oc(s,e),ec(s,r,o,a)}if(g){var c=p[t];c.useStyle(y.getItemVisual(t,"style")),c.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),c.z2EmphasisLift=0,oc(c,e),ec(c,r,o,a)}})),this._progressEls=p)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor"),i=n.get("show");if(i){var r=n.get("size"),o=n.get("icon"),a=n.get("offsetCenter"),s=n.get("keepAspect"),l=c_(o,e.cx-r/2+ia(a[0],e.r),e.cy-r/2+ia(a[1],e.r),r,r,null,s);l.z2=n.get("showAbove")?1:0,l.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(l)}},e.prototype._renderTitleAndDetail=function(t,e,n,i,r){var o=this,a=t.getData(),s=a.mapDimension("value"),l=+t.get("min"),u=+t.get("max"),h=new zo,c=[],p=[],d=t.isAnimationEnabled(),f=t.get(["pointer","showAbove"]);a.diff(this._data).add((function(t){c[t]=new Bu({silent:!0}),p[t]=new Bu({silent:!0})})).update((function(t,e){c[t]=o._titleEls[e],p[t]=o._detailEls[e]})).execute(),a.each((function(e){var n=a.getItemModel(e),o=a.get(s,e),g=new zo,y=i(na(o,[l,u],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),x=r.cx+ia(m[0],r.r),_=r.cy+ia(m[1],r.r),w=c[e];w.attr({z2:f?0:2,style:Td(v,{x:x,y:_,text:a.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:y})}),g.add(w)}var b=n.getModel("detail");if(b.get("show")){var S=b.get("offsetCenter"),M=r.cx+ia(S[0],r.r),I=r.cy+ia(S[1],r.r),T=ia(b.get("width"),r.r),C=ia(b.get("height"),r.r),D=t.get(["progress","show"])?a.getItemVisual(e,"style").fill:y,A=(w=p[e],b.get("formatter"));w.attr({z2:f?0:2,style:Td(b,{x:M,y:I,text:Rz(o,A),width:isNaN(T)?null:T,height:isNaN(C)?null:C,align:"center",verticalAlign:"middle"},{inheritColor:D})}),Ed(w,{normal:b},o,(function(t){return Rz(t,A)})),d&&zd(w,e,a,t,{getFormattedLabel:function(t,e,n,i,r,a){return Rz(a?a.interpolatedValue:o,A)}}),g.add(w)}h.add(g)})),this.group.add(h),this._titleEls=c,this._detailEls=p},e.type="gauge",e}(qm),Ez=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return i(e,t),e.prototype.getInitialData=function(t,e){return Dk(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(Em);function zz(t){t.registerChartView(Nz),t.registerSeriesModel(Ez)}var Vz=["itemStyle","opacity"],Bz=function(t){function e(e,n){var i=t.call(this)||this,r=i,o=new hp,a=new Bu;return r.setTextContent(a),i.setTextGuideLine(o),i.updateData(e,n,!0),i}return i(e,t),e.prototype.updateData=function(t,e,n){var i=this,r=t.hostModel,o=t.getItemModel(e),a=t.getItemLayout(e),s=o.getModel("emphasis"),l=o.get(Vz);l=null==l?1:l,n||Gp(i),i.useStyle(t.getItemVisual(e,"style")),i.style.lineJoin="round",n?(i.setShape({points:a.points}),i.style.opacity=0,Np(i,{style:{opacity:l}},r,e)):Rp(i,{style:{opacity:l},shape:{points:a.points}},r,e),oc(i,o),this._updateLabel(t,e),ec(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,i=this.getTextGuideLine(),r=n.getTextContent(),o=t.hostModel,a=t.getItemModel(e),s=t.getItemLayout(e),l=s.label,u=t.getItemVisual(e,"style"),h=u.fill;Md(r,Id(a),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:u.opacity,defaultText:t.getName(e)},{normal:{align:l.textAlign,verticalAlign:l.verticalAlign}}),n.setTextConfig({local:!0,inside:!!l.inside,insideStroke:h,outsideFill:h});var c=l.linePoints;i.setShape({points:c}),n.textGuideLineConfig={anchor:c?new Xe(c[0][0],c[0][1]):null},Rp(r,{style:{x:l.x,y:l.y}},o,e),r.attr({rotation:l.rotation,originX:l.x,originY:l.y,z2:10}),PT(n,OT(a),{stroke:h})},e}(lp),Gz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this._data,o=this.group;i.diff(r).add((function(t){var e=new Bz(i,t);i.setItemGraphicEl(t,e),o.add(e)})).update((function(t,e){var n=r.getItemGraphicEl(e);n.updateData(i,t),o.add(n),i.setItemGraphicEl(t,n)})).remove((function(e){var n=r.getItemGraphicEl(e);Bp(n,t,e)})).execute(),this._data=i},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(qm),Fz=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Ak(q(this.getData,this),q(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return Dk(this,{coordDimensions:["value"],encodeDefaulter:K(zg,this)})},e.prototype._defaultLabelLine=function(t){Ha(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),i=t.prototype.getDataParams.call(this,e),r=n.mapDimension("value"),o=n.getSum(r);return i.percent=o?+(n.get(r,e)/o*100).toFixed(2):0,i.$vars.push("percent"),i},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(Em);function Hz(t,e){return cg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Wz(t,e){for(var n=t.mapDimension("value"),i=t.mapArray(n,(function(t){return t})),r=[],o="ascending"===e,a=0,s=t.count();a-1&&(u="left",console.warn("Position error: Funnel chart on vertical orient dose not support top and bottom.")),"horizontal"===n&&["left","right"].indexOf(u)>-1&&(u="bottom",console.warn("Position error: Funnel chart on horizontal orient dose not support left and right.")),"left"===u?(f=(p[3][0]+p[0][0])/2,g=(p[3][1]+p[0][1])/2,y=f-m,r=y-5,i="right"):"right"===u?(f=(p[1][0]+p[2][0])/2,g=(p[1][1]+p[2][1])/2,y=f+m,r=y+5,i="left"):"top"===u?(f=(p[3][0]+p[0][0])/2,g=(p[3][1]+p[0][1])/2,v=g-m,o=v-5,i="center"):"bottom"===u?(f=(p[1][0]+p[2][0])/2,g=(p[1][1]+p[2][1])/2,v=g+m,o=v+5,i="center"):"rightTop"===u?(f="horizontal"===n?p[3][0]:p[1][0],g="horizontal"===n?p[3][1]:p[1][1],"horizontal"===n?(v=g-m,o=v-5,i="center"):(y=f+m,r=y+5,i="top")):"rightBottom"===u?(f=p[2][0],g=p[2][1],"horizontal"===n?(v=g+m,o=v+5,i="center"):(y=f+m,r=y+5,i="bottom")):"leftTop"===u?(f=p[0][0],g="horizontal"===n?p[0][1]:p[1][1],"horizontal"===n?(v=g-m,o=v-5,i="center"):(y=f-m,r=y-5,i="right")):"leftBottom"===u?(f="horizontal"===n?p[1][0]:p[3][0],g="horizontal"===n?p[1][1]:p[2][1],"horizontal"===n?(v=g+m,o=v+5,i="center"):(y=f-m,r=y-5,i="right")):(f=(p[1][0]+p[2][0])/2,g=(p[1][1]+p[2][1])/2,"horizontal"===n?(v=g+m,o=v+5,i="center"):(y=f+m,r=y+5,i="left")),"horizontal"===n?(y=f,r=y):(v=g,o=v),a=[[f,g],[y,v]]}c.label={linePoints:a,x:r,y:o,verticalAlign:"middle",textAlign:i,inside:d}}))}function Yz(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),i=n.mapDimension("value"),r=t.get("sort"),o=Hz(t,e),a=t.get("orient"),s=o.width,l=o.height,u=Wz(n,r),h=o.x,c=o.y,p="horizontal"===a?[ia(t.get("minSize"),l),ia(t.get("maxSize"),l)]:[ia(t.get("minSize"),s),ia(t.get("maxSize"),s)],d=n.getDataExtent(i),f=t.get("min"),g=t.get("max");null==f&&(f=Math.min(d[0],0)),null==g&&(g=d[1]);var y=t.get("funnelAlign"),v=t.get("gap"),m="horizontal"===a?s:l,x=(m-v*(n.count()-1))/n.count(),_=function(t,e){if("horizontal"===a){var r=n.get(i,t)||0,o=na(r,[f,g],p,!0),u=void 0;switch(y){case"top":u=c;break;case"center":u=c+(l-o)/2;break;case"bottom":u=c+(l-o);break}return[[e,u],[e,u+o]]}var d,v=n.get(i,t)||0,m=na(v,[f,g],p,!0);switch(y){case"left":d=h;break;case"center":d=h+(s-m)/2;break;case"right":d=h+s-m;break}return[[d,e],[d+m,e]]};"ascending"===r&&(x=-x,v=-v,"horizontal"===a?h+=s:c+=l,u=u.reverse());for(var w=0;wuV)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&pV(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),i=n.behavior;"jump"===i&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===i?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===i?null:{duration:0}})}}};function pV(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}var dV=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&O(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){H(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[],n=Y(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this);H(n,(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(xg),fV=function(t){function e(e,n,i,r,o){var a=t.call(this,e,n,i)||this;return a.type=r||"value",a.axisIndex=o,a}return i(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(iT);function gV(t,e,n,i,r,o){t=t||0;var a=n[1]-n[0];if(null!=r&&(r=vV(r,[0,a])),null!=o&&(o=Math.max(o,null!=r?r:0)),"all"===i){var s=Math.abs(e[1]-e[0]);s=vV(s,[0,a]),r=o=vV(s,[r,o]),i=0}e[0]=vV(e[0],n),e[1]=vV(e[1],n);var l=yV(e,i);e[i]+=t;var u,h=r||0,c=n.slice();return l.sign<0?c[0]+=h:c[1]-=h,e[i]=vV(e[i],c),u=yV(e,i),null!=r&&(u.sign!==l.sign||u.spano&&(e[1-i]=e[i]+u.sign*o),e}function yV(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function vV(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var mV=H,xV=Math.min,_V=Math.max,wV=Math.floor,bV=Math.ceil,SV=ra,MV=Math.PI,IV=function(){function t(t,e,n){this.type="parallel",this._axesMap=Mt(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var i=t.dimensions,r=t.parallelAxisIndex;mV(i,(function(t,n){var i=r[n],o=e.getComponent("parallelAxis",i),a=this._axesMap.set(t,new fV(t,nI(o),[0,0],o.get("type"),i)),s="category"===a.type;a.onBand=s&&o.get("boundaryGap"),a.inverse=o.get("inverse"),o.axis=a,a.model=o,a.coordinateSystem=o.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,i=e.layoutBase,r=e.pixelDimIndex,o=t[1-r],a=t[r];return o>=n&&o<=n+e.axisLength&&a>=i&&a<=i+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var i=n.getData();mV(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(i,i.mapDimension(t)),eI(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=cg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,i=["x","y"],r=["width","height"],o=e.get("layout"),a="horizontal"===o?0:1,s=n[r[a]],l=[0,s],u=this.dimensions.length,h=TV(e.get("axisExpandWidth"),l),c=TV(e.get("axisExpandCount")||0,[0,u]),p=e.get("axisExpandable")&&u>3&&u>c&&c>1&&h>0&&s>0,d=e.get("axisExpandWindow");if(d)t=TV(d[1]-d[0],l),d[1]=d[0]+t;else{t=TV(h*(c-1),l);var f=e.get("axisExpandCenter")||wV(u/2);d=[h*f-t/2],d[1]=d[0]+t}var g=(s-t)/(u-c);g<3&&(g=0);var y=[wV(SV(d[0]/h,1))+1,bV(SV(d[1]/h,1))-1],v=g/h*d[0];return{layout:o,pixelDimIndex:a,layoutBase:n[i[a]],layoutLength:s,axisBase:n[i[1-a]],axisLength:n[r[1-a]],axisExpandable:p,axisExpandWidth:h,axisCollapseWidth:g,axisExpandWindow:d,axisCount:u,winInnerIndices:y,axisExpandWindow0Pos:v}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,i=this._makeLayoutInfo(),r=i.layout;e.each((function(t){var e=[0,i.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),mV(n,(function(e,n){var o=(i.axisExpandable?DV:CV)(n,i),a={horizontal:{x:o.position,y:i.axisLength},vertical:{x:0,y:o.position}},s={horizontal:MV/2,vertical:0},l=[a[r].x+t.x,a[r].y+t.y],u=s[r],h=Ee();Fe(h,h,u),Ge(h,h,l),this._axesLayout[e]={position:l,rotation:u,transform:h,axisNameAvailableWidth:o.axisNameAvailableWidth,axisLabelShow:o.axisLabelShow,nameTruncateMaxWidth:o.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,i){null==n&&(n=0),null==i&&(i=t.count());var r=this._axesMap,o=this.dimensions,a=[],s=[];H(o,(function(e){a.push(t.mapDimension(e)),s.push(r.get(e).model)}));for(var l=this.hasAxisBrushed(),u=n;ur*(1-h[0])?(l="jump",a=s-r*(1-h[2])):(a=s-r*h[1])>=0&&(a=s-r*(1-h[1]))<=0&&(a=0),a*=e.axisExpandWidth/u,a?gV(a,i,o,"all"):l="none";else{var p=i[1]-i[0],d=o[1]*s/p;i=[_V(0,d-p/2)],i[1]=xV(o[1],i[0]+p),i[0]=i[1]-p}return{axisExpandWindow:i,behavior:l}},t}();function TV(t,e){return xV(_V(t,e[0]),e[1])}function CV(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function DV(t,e){var n,i,r=e.layoutLength,o=e.axisExpandWidth,a=e.axisCount,s=e.axisCollapseWidth,l=e.winInnerIndices,u=s,h=!1;return t=0;n--)oa(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var i=0,r=e.length;izV}function nB(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function iB(t,e,n,i){var r=new zo;return r.add(new Nu({name:"main",style:sB(n),silent:!0,draggable:!0,cursor:"move",drift:K(pB,t,e,r,["n","s","w","e"]),ondragend:K(tB,e,{isEnd:!0})})),H(i,(function(n){r.add(new Nu({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:K(pB,t,e,r,n),ondragend:K(tB,e,{isEnd:!0})}))})),r}function rB(t,e,n,i){var r=i.brushStyle.lineWidth||0,o=RV(r,VV),a=n[0][0],s=n[1][0],l=a-r/2,u=s-r/2,h=n[0][1],c=n[1][1],p=h-o+r/2,d=c-o+r/2,f=h-a,g=c-s,y=f+r,v=g+r;aB(t,e,"main",a,s,f,g),i.transformable&&(aB(t,e,"w",l,u,o,v),aB(t,e,"e",p,u,o,v),aB(t,e,"n",l,u,y,o),aB(t,e,"s",l,d,y,o),aB(t,e,"nw",l,u,o,o),aB(t,e,"ne",p,u,o,o),aB(t,e,"sw",l,d,o,o),aB(t,e,"se",p,d,o,o))}function oB(t,e){var n=e.__brushOption,i=n.transformable,r=e.childAt(0);r.useStyle(sB(n)),r.attr({silent:!i,cursor:i?"move":"default"}),H([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var r=e.childOfName(n.join("")),o=1===n.length?hB(t,n[0]):cB(t,n);r&&r.attr({silent:!i,invisible:!i,cursor:i?FV[o]+"-resize":null})}))}function aB(t,e,n,i,r,o,a){var s=e.childOfName(n);s&&s.setShape(yB(gB(t,e,[[i,r],[i+o,r+a]])))}function sB(t){return E({strokeNoScale:!0},t.brushStyle)}function lB(t,e,n,i){var r=[OV(t,n),OV(e,i)],o=[RV(t,n),RV(e,i)];return[[r[0],o[0]],[r[1],o[1]]]}function uB(t){return rd(t.group)}function hB(t,e){var n={w:"left",e:"right",n:"top",s:"bottom"},i={left:"w",right:"e",top:"n",bottom:"s"},r=ad(n[e],uB(t));return i[r]}function cB(t,e){var n=[hB(t,e[0]),hB(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}function pB(t,e,n,i,r,o){var a=n.__brushOption,s=t.toRectRange(a.range),l=fB(e,r,o);H(i,(function(t){var e=GV[t];s[e[0]][e[1]]+=l[e[0]]})),a.range=t.fromRectRange(lB(s[0][0],s[1][0],s[0][1],s[1][1])),qV(e,n),tB(e,{isEnd:!1})}function dB(t,e,n,i){var r=e.__brushOption.range,o=fB(t,n,i);H(r,(function(t){t[0]+=o[0],t[1]+=o[1]})),qV(t,e),tB(t,{isEnd:!1})}function fB(t,e,n){var i=t.group,r=i.transformCoordToLocal(e,n),o=i.transformCoordToLocal(0,0);return[r[0]-o[0],r[1]-o[1]]}function gB(t,e,n){var i=$V(t,e);return i&&i!==PV?i.clipPath(n,t._transform):P(n)}function yB(t){var e=OV(t[0][0],t[1][0]),n=OV(t[0][1],t[1][1]),i=RV(t[0][0],t[1][0]),r=RV(t[0][1],t[1][1]);return{x:e,y:n,width:i-e,height:r-n}}function vB(t,e,n){if(t._brushType&&!MB(t,e.offsetX,e.offsetY)){var i=t._zr,r=t._covers,o=JV(t,e,n);if(!t._dragging)for(var a=0;ai.getWidth()||n<0||n>i.getHeight()}var IB={lineX:TB(0),lineY:TB(1),rect:{createCover:function(t,e){function n(t){return t}return iB({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=nB(t);return lB(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,i){rB(t,e,n,i)},updateCommon:oB,contain:xB},polygon:{createCover:function(t,e){var n=new zo;return n.add(new hp({name:"main",style:sB(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new lp({name:"main",draggable:!0,drift:K(dB,t,e),ondragend:K(tB,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,i){e.childAt(0).setShape({points:gB(t,e,n)})},updateCommon:oB,contain:xB}};function TB(t){return{createCover:function(e,n){return iB({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=nB(e),i=OV(n[0][t],n[1][t]),r=RV(n[0][t],n[1][t]);return[i,r]},updateCoverShape:function(e,n,i,r){var o,a=$V(e,n);if(a!==PV&&a.getLinearBrushOtherExtent)o=a.getLinearBrushOtherExtent(t);else{var s=e._zr;o=[0,[s.getWidth(),s.getHeight()][1-t]]}var l=[i,o];t&&l.reverse(),rB(e,n,l,r)},updateCommon:oB,contain:xB}}function CB(t){return t=kB(t),function(e){return hd(e,t)}}function DB(t,e){return t=kB(t),function(n){var i=null!=e?e:n,r=i?t.width:t.height,o=i?t.x:t.y;return[o,o+(r||0)]}}function AB(t,e,n){var i=kB(t);return function(t,r){return i.contain(r[0],r[1])&&!MP(t,e,n)}}function kB(t){return en.create(t)}var LB=["axisLine","axisTickLabel","axisName"],PB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new UV(n.getZr())).on("brush",q(this._onBrush,this))},e.prototype.render=function(t,e,n,i){if(!OB(t,e,i)){this.axisModel=t,this.api=n,this.group.removeAll();var r=this._axisGroup;if(this._axisGroup=new zo,this.group.add(this._axisGroup),t.get("show")){var o=NB(t,e),a=o.coordinateSystem,s=t.getAreaSelectStyle(),l=s.width,u=t.axis.dim,h=a.getAxisLayout(u),c=N({strokeContainThreshold:l},h),p=new dL(t,c);H(LB,p.add,p),this._axisGroup.add(p.getGroup()),this._refreshBrushController(c,s,t,o,l,n),ud(r,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,i,r,o){var a=n.axis.getExtent(),s=a[1]-a[0],l=Math.min(30,.1*Math.abs(s)),u=en.create({x:a[0],y:-r/2,width:s,height:r});u.x-=l,u.width+=2*l,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:CB(u),isTargetByCursor:AB(u,o,i),getLinearBrushOtherExtent:DB(u,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(RB(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,i=n.axis,r=W(e,(function(t){return[i.coordToData(t.range[0],!0),i.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:r})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(Ym);function OB(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}function RB(t){var e=t.axis;return W(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}function NB(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}var EB={type:"axisAreaSelect",event:"axisAreaSelected"};function zB(t){t.registerAction(EB,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}var VB={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function BB(t){t.registerComponentView(hV),t.registerComponentModel(dV),t.registerCoordinateSystem("parallel",kV),t.registerPreprocessor(aV),t.registerComponentModel(LV),t.registerComponentView(PB),qk(t,"parallel",LV,VB),zB(t)}function GB(t){Jb(BB),t.registerChartView(jz),t.registerSeriesModel(eV),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,oV)}var FB=function(){function t(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0}return t}(),HB=function(t){function e(e){return t.call(this,e)||this}return i(e,t),e.prototype.getDefaultShape=function(){return new FB},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){Eh(this)},e.prototype.downplay=function(){zh(this)},e}(wu),WB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return i(e,t),e.prototype.render=function(t,e,n){var i=this,r=t.getGraph(),o=this.group,a=t.layoutInfo,s=a.width,l=a.height,u=t.getData(),h=t.getData("edge"),c=t.get("orient");this._model=t,o.removeAll(),o.x=a.x,o.y=a.y,r.eachEdge((function(e){var n=new HB,i=Qu(n);i.dataIndex=e.dataIndex,i.seriesIndex=t.seriesIndex,i.dataType="edge";var r,a,u,p,d,f,g,y,v=e.getModel(),m=v.getModel("lineStyle"),x=m.get("curveness"),_=e.node1.getLayout(),w=e.node1.getModel(),b=w.get("localX"),S=w.get("localY"),M=e.node2.getLayout(),I=e.node2.getModel(),T=I.get("localX"),C=I.get("localY"),D=e.getLayout();n.shape.extent=Math.max(1,D.dy),n.shape.orient=c,"vertical"===c?(r=(null!=b?b*s:_.x)+D.sy,a=(null!=S?S*l:_.y)+_.dy,u=(null!=T?T*s:M.x)+D.ty,p=null!=C?C*l:M.y,d=r,f=a*(1-x)+p*x,g=u,y=a*x+p*(1-x)):(r=(null!=b?b*s:_.x)+_.dx,a=(null!=S?S*l:_.y)+D.sy,u=null!=T?T*s:M.x,p=(null!=C?C*l:M.y)+D.ty,d=r*(1-x)+u*x,f=a,g=r*x+u*(1-x),y=p),n.setShape({x1:r,y1:a,x2:u,y2:p,cpx1:d,cpy1:f,cpx2:g,cpy2:y}),n.useStyle(m.getItemStyle()),UB(n.style,c,e);var A=""+v.get("value"),k=Id(v,"edgeLabel");Md(n,k,{labelFetcher:{getFormattedLabel:function(e,n,i,r,o,a){return t.getFormattedLabel(e,n,"edge",r,pt(o,k.normal&&k.normal.get("formatter"),A),a)}},labelDataIndex:e.dataIndex,defaultText:A}),n.setTextConfig({position:"inside"});var L=v.getModel("emphasis");oc(n,v,"lineStyle",(function(t){var n=t.getItemStyle();return UB(n,c,e),n})),o.add(n),h.setItemGraphicEl(e.dataIndex,n);var P=L.get("focus");ec(n,"adjacency"===P?e.getAdjacentDataIndices():"trajectory"===P?e.getTrajectoryDataIndices():P,L.get("blurScope"),L.get("disabled"))})),r.eachNode((function(e){var n=e.getLayout(),i=e.getModel(),r=i.get("localX"),a=i.get("localY"),h=i.getModel("emphasis"),c=i.get(["itemStyle","borderRadius"])||0,p=new Nu({shape:{x:null!=r?r*s:n.x,y:null!=a?a*l:n.y,width:n.dx,height:n.dy,r:c},style:i.getModel("itemStyle").getItemStyle(),z2:10});Md(p,Id(i),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(e,n,"node")}},labelDataIndex:e.dataIndex,defaultText:e.id}),p.disableLabelAnimation=!0,p.setStyle("fill",e.getVisual("color")),p.setStyle("decal",e.getVisual("style").decal),oc(p,i),o.add(p),u.setItemGraphicEl(e.dataIndex,p),Qu(p).dataType="node";var d=h.get("focus");ec(p,"adjacency"===d?e.getAdjacentDataIndices():"trajectory"===d?e.getTrajectoryDataIndices():d,h.get("blurScope"),h.get("disabled"))})),u.eachItemGraphicEl((function(e,r){var o=u.getItemModel(r);o.get("draggable")&&(e.drift=function(e,o){i._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=o,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:u.getRawIndex(r),localX:this.shape.x/s,localY:this.shape.y/l})},e.ondragend=function(){i._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&o.setClipPath(YB(o.getBoundingRect(),t,(function(){o.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(qm);function UB(t,e,n){switch(t.fill){case"source":t.fill=n.node1.getVisual("color"),t.decal=n.node1.getVisual("style").decal;break;case"target":t.fill=n.node2.getVisual("color"),t.decal=n.node2.getVisual("style").decal;break;case"gradient":var i=n.node1.getVisual("color"),r=n.node2.getVisual("color");Q(i)&&Q(r)&&(t.fill=new bp(0,0,+("horizontal"===e),+("vertical"===e),[{color:i,offset:0},{color:r,offset:1}]))}}function YB(t,e,n){var i=new Nu({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return Np(i,{shape:{width:t.width+20}},e,n),i}var XB=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links||[],i=t.data||t.nodes||[],r=t.levels||[];this.levelModels=[];for(var o=this.levelModels,a=0;a=0))throw new Error("levels[i].depth is mandatory and should be natural number");o[r[a].depth]=new jd(r[a],this,e)}var s=Cz(i,n,this,!0,l);return s.data;function l(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getData().getItemLayout(e);if(i){var r=i.depth,o=n.levelModels[r];o&&(t.parentModel=o)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,i=n.getGraph().getEdgeByIndex(e),r=i.node1.getLayout();if(r){var o=r.depth,a=n.levelModels[o];a&&(t.parentModel=a)}return t}))}},e.prototype.setNodePosition=function(t,e){var n=this.option.data||this.option.nodes,i=n[t];i.localX=e[0],i.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function i(t){return isNaN(t)||null==t}if("edge"===n){var r=this.getDataParams(t,n),o=r.data,a=r.value,s=o.source+" -- "+o.target;return gm("nameValue",{name:s,value:a,noValue:i(a)})}var l=this.getGraph().getNodeByIndex(t),u=l.getLayout().value,h=this.getDataParams(t,n).data.name;return gm("nameValue",{name:null!=h?h+"":null,value:u,noValue:i(u)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var i=t.prototype.getDataParams.call(this,e,n);if(null==i.value&&"node"===n){var r=this.getGraph().getNodeByIndex(e),o=r.getLayout().value;i.value=o}return i},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(Em);function ZB(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),i=t.get("nodeGap"),r=jB(t,e);t.layoutInfo=r;var o=r.width,a=r.height,s=t.getGraph(),l=s.nodes,u=s.edges;KB(l);var h=Y(l,(function(t){return 0===t.getLayout().value})),c=0!==h.length?0:t.get("layoutIterations"),p=t.get("orient"),d=t.get("nodeAlign");qB(l,u,n,i,o,a,c,p,d)}))}function jB(t,e){return cg(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function qB(t,e,n,i,r,o,a,s,l){JB(t,e,n,r,o,s,l),nG(t,e,o,r,i,a,s),gG(t,s)}function KB(t){H(t,(function(t){var e=dG(t.outEdges,pG),n=dG(t.inEdges,pG),i=t.getValue()||0,r=Math.max(e,n,i);t.setLayout({value:r},!0)}))}function JB(t,e,n,i,r,o,a){for(var s=[],l=[],u=[],h=[],c=0,p=0;p=0;v&&y.depth>d&&(d=y.depth),g.setLayout({depth:v?y.depth:c},!0),"vertical"===o?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;mc-1?d:c-1;a&&"left"!==a&&QB(t,a,o,S);var M="vertical"===o?(r-n)/S:(i-n)/S;eG(t,M,o)}function $B(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function QB(t,e,n,i){if("right"===e){var r=[],o=t,a=0;while(o.length){for(var s=0;s0;o--)l*=.99,aG(s,l,a),oG(s,r,n,i,a),fG(s,l,a),oG(s,r,n,i,a)}function iG(t,e){var n=[],i="vertical"===e?"y":"x",r=ws(t,(function(t){return t.getLayout()[i]}));return r.keys.sort((function(t,e){return t-e})),H(r.keys,(function(t){n.push(r.buckets.get(t))})),n}function rG(t,e,n,i,r,o){var a=1/0;H(t,(function(t){var e=t.length,s=0;H(t,(function(t){s+=t.getLayout().value}));var l="vertical"===o?(i-(e-1)*r)/s:(n-(e-1)*r)/s;l0&&(a=s.getLayout()[o]+l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]+s.getLayout()[c]+e;var d="vertical"===r?i:n;if(l=u-e-d,l>0){a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0),u=a;for(p=h-2;p>=0;--p)s=t[p],l=s.getLayout()[o]+s.getLayout()[c]+e-u,l>0&&(a=s.getLayout()[o]-l,"vertical"===r?s.setLayout({x:a},!0):s.setLayout({y:a},!0)),u=s.getLayout()[o]}}))}function aG(t,e,n){H(t.slice().reverse(),(function(t){H(t,(function(t){if(t.outEdges.length){var i=dG(t.outEdges,sG,n)/dG(t.outEdges,pG);if(isNaN(i)){var r=t.outEdges.length;i=r?dG(t.outEdges,lG,n)/r:0}if("vertical"===n){var o=t.getLayout().x+(i-cG(t,n))*e;t.setLayout({x:o},!0)}else{var a=t.getLayout().y+(i-cG(t,n))*e;t.setLayout({y:a},!0)}}}))}))}function sG(t,e){return cG(t.node2,e)*t.getValue()}function lG(t,e){return cG(t.node2,e)}function uG(t,e){return cG(t.node1,e)*t.getValue()}function hG(t,e){return cG(t.node1,e)}function cG(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function pG(t){return t.getValue()}function dG(t,e,n){var i=0,r=t.length,o=-1;while(++oo&&(o=e)})),H(n,(function(e){var n=new TN({type:"color",mappingMethod:"linear",dataExtent:[r,o],visual:t.get("color")}),i=n.mapValueToVisual(e.getLayout().value),a=e.getModel().get(["itemStyle","color"]);null!=a?(e.setVisual("color",a),e.setVisual("style",{fill:a})):(e.setVisual("color",i),e.setVisual("style",{fill:i}))}))}i.length&&H(i,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}function vG(t){t.registerChartView(WB),t.registerSeriesModel(XB),t.registerLayout(ZB),t.registerVisual(yG),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))}var mG=function(){function t(){}return t.prototype._hasEncodeRule=function(t){var e=this.getEncode();return e&&null!=e.get(t)},t.prototype.getInitialData=function(t,e){var n,i,r=e.getComponent("xAxis",this.get("xAxisIndex")),o=e.getComponent("yAxis",this.get("yAxisIndex")),a=r.get("type"),s=o.get("type");"category"===a?(t.layout="horizontal",n=r.getOrdinalMeta(),i=!this._hasEncodeRule("x")):"category"===s?(t.layout="vertical",n=o.getOrdinalMeta(),i=!this._hasEncodeRule("y")):t.layout=t.layout||"horizontal";var l=["x","y"],u="horizontal"===t.layout?0:1,h=this._baseAxisDim=l[u],c=l[1-u],p=[r,o],d=p[u].get("type"),f=p[1-u].get("type"),g=t.data;if(g&&i){var y=[];H(g,(function(t,e){var n;J(t)?(n=t.slice(),t.unshift(e)):J(t.value)?(n=N({},t),n.value=n.value.slice(),t.value.unshift(e)):n=t,y.push(n)})),t.data=y}var v=this.defaultValueDimensions,m=[{name:h,type:rS(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:c,type:rS(f),dimsDef:v.slice()}];return Dk(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:K(Eg,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),xG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return i(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(Em);G(xG,mG,!0);var _G=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this.group,o=this._data;this._data||r.removeAll();var a="horizontal"===t.get("layout")?1:0;i.diff(o).add((function(t){if(i.hasValue(t)){var e=i.getItemLayout(t),n=SG(e,i,t,a,!0);i.setItemGraphicEl(t,n),r.add(n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(i.hasValue(t)){var s=i.getItemLayout(t);n?(Gp(n),MG(s,n,i,t)):n=SG(s,i,t,a),r.add(n),i.setItemGraphicEl(t,n)}else r.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=i},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(qm),wG=function(){function t(){}return t}(),bG=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return i(e,t),e.prototype.getDefaultShape=function(){return new wG},e.prototype.buildPath=function(t,e){var n=e.points,i=0;for(t.moveTo(n[i][0],n[i][1]),i++;i<4;i++)t.lineTo(n[i][0],n[i][1]);for(t.closePath();ig){var _=[v,x];i.push(_)}}}return{boxData:n,outliers:i}}var PG={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==Tg){var n="";n=Ea("source data is not applicable for this boxplot transform. Expect number[][]."),za(n)}var i=LG(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:i.boxData},{data:i.outliers}]}};function OG(t){t.registerSeriesModel(xG),t.registerChartView(_G),t.registerLayout(CG),t.registerTransform(PG)}var RG=["itemStyle","borderColor"],NG=["itemStyle","borderColor0"],EG=["itemStyle","borderColorDoji"],zG=["itemStyle","color"],VG=["itemStyle","color0"];function BG(t,e){return e.get(t>0?zG:VG)}function GG(t,e){return e.get(0===t?EG:t>0?RG:NG)}var FG={seriesType:"candlestick",plan:Xm(),performRawSeries:!0,reset:function(t,e){if(!e.isSeriesFiltered(t)){var n=t.pipelineContext.large;return!n&&{progress:function(t,e){var n;while(null!=(n=t.next())){var i=e.getItemModel(n),r=e.getItemLayout(n).sign,o=i.getItemStyle();o.fill=BG(r,i),o.stroke=GG(r,i)||o.fill;var a=e.ensureUniqueItemVisual(n,"style");N(a,o)}}}}}},HG=["color","borderColor"],WG=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,i){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){xd(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,i=this.group,r=e.getLayout("isSimpleBox"),o=t.get("clip",!0),a=t.coordinateSystem,s=a.getArea&&a.getArea();this._data||i.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var a=e.getItemLayout(n);if(o&&ZG(s,a))return;var l=XG(a,n,!0);Np(l,{shape:{points:a.ends}},t,n),jG(l,e,n,r),i.add(l),e.setItemGraphicEl(n,l)}})).update((function(a,l){var u=n.getItemGraphicEl(l);if(e.hasValue(a)){var h=e.getItemLayout(a);o&&ZG(s,h)?i.remove(u):(u?(Rp(u,{shape:{points:h.ends}},t,a),Gp(u)):u=XG(h),jG(u,e,a,r),i.add(u),e.setItemGraphicEl(a,u))}else i.remove(u)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),$G(t,this.group);var e=t.get("clip",!0)?lA(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){var n,i=e.getData(),r=i.getLayout("isSimpleBox");while(null!=(n=t.next())){var o=i.getItemLayout(n),a=XG(o);jG(a,i,n,r),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){$G(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(qm),UG=function(){function t(){}return t}(),YG=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return i(e,t),e.prototype.getDefaultShape=function(){return new UG},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(wu);function XG(t,e,n){var i=t.ends;return new YG({shape:{points:n?qG(i,t):i},z2:100})}function ZG(t,e){for(var n=!0,i=0;ig?w[o]:_[o],ends:M,brushRect:A(y,v,d)})}function C(t,n){var i=[];return i[r]=n,i[o]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(i)}function D(t,e,n){var o=e.slice(),a=e.slice();o[r]=id(o[r]+i/2,1,!1),a[r]=id(a[r]-i/2,1,!0),n?t.push(o,a):t.push(a,o)}function A(t,e,n){var o=C(t,n),a=C(e,n);return o[r]-=i/2,a[r]-=i/2,{x:o[0],y:o[1],width:i,height:a[1]-o[1]}}function k(t){return t[r]=id(t[r],1),t}}function f(n,i){var a,l,d=pM(4*n.count),f=0,g=[],y=[],v=i.getStore(),m=!!t.get(["itemStyle","borderColorDoji"]);while(null!=(l=n.next())){var x=v.get(s,l),_=v.get(u,l),w=v.get(h,l),b=v.get(c,l),S=v.get(p,l);isNaN(x)||isNaN(b)||isNaN(S)?(d[f++]=NaN,f+=3):(d[f++]=iF(v,l,_,w,h,m),g[r]=x,g[o]=b,a=e.dataToPoint(g,null,y),d[f++]=a?a[0]:NaN,d[f++]=a?a[1]:NaN,g[o]=S,a=e.dataToPoint(g,null,y),d[f++]=a?a[1]:NaN)}i.setLayout("largePoints",d)}}};function iF(t,e,n,i,r,o){var a;return a=n>i?-1:n0?t.get(r,e-1)<=i?1:-1:1,a}function rF(t,e){var n,i=t.getBaseAxis(),r="category"===i.type?i.getBandWidth():(n=i.getExtent(),Math.abs(n[1]-n[0])/e.count()),o=ia(ct(t.get("barMaxWidth"),r),r),a=ia(ct(t.get("barMinWidth"),1),r),s=t.get("barWidth");return null!=s?ia(s,r):Math.max(Math.min(r/2,o),a)}function oF(t){t.registerChartView(WG),t.registerSeriesModel(tF),t.registerPreprocessor(eF),t.registerVisual(FG),t.registerLayout(nF)}function aF(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var sF=function(t){function e(e,n){var i=t.call(this)||this,r=new FD(e,n),o=new zo;return i.add(r),i.add(o),i.updateData(e,n),i}return i(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,i=t.rippleNumber,r=this.childAt(1),o=0;o0&&(o=this._getLineLength(i)/l*1e3),o!==this._period||a!==this._loop||s!==this._roundTrip){i.stopAnimation();var h=void 0;h=$(u)?u(n):u,i.__t>0&&(h=-o*i.__t),this._animateSymbol(i,o,h,a,s)}this._period=o,this._loop=a,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,i,r){if(e>0){t.__t=0;var o=this,a=t.animate("",i).when(r?2*e:e,{__t:r?2:1}).delay(n).during((function(){o._updateSymbolPosition(t)}));i||a.done((function(){o.remove(t)})),a.start()}},e.prototype._getLineLength=function(t){return qt(t.__p1,t.__cp1)+qt(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,i=t.__cp1,r=t.__t<1?t.__t:2-t.__t,o=[t.x,t.y],a=o.slice(),s=$n,l=Qn;o[0]=s(e[0],i[0],n[0],r),o[1]=s(e[1],i[1],n[1],r);var u=t.__t<1?l(e[0],i[0],n[0],r):l(n[0],i[0],e[0],1-r),h=t.__t<1?l(e[1],i[1],n[1],r):l(n[1],i[1],e[1],1-r);t.rotation=-Math.atan2(h,u)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT=0;o--)if(i[o]<=e)break;o=Math.min(o,r-2)}else{for(o=a;oe)break;o=Math.min(o-1,r-2)}var l=(e-i[o])/(i[o+1]-i[o]),u=n[o],h=n[o+1];t.x=u[0]*(1-l)+l*h[0],t.y=u[1]*(1-l)+l*h[1];var c=t.__t<1?h[0]-u[0]:u[0]-h[0],p=t.__t<1?h[1]-u[1]:u[1]-h[1];t.rotation=-Math.atan2(p,c)-Math.PI/2,this._lastFrame=o,this._lastFramePercent=e,t.ignore=!1}},e}(cF),fF=function(){function t(){this.polyline=!1,this.curveness=0,this.segs=[]}return t}(),gF=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return i(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new fF},e.prototype.buildPath=function(t,e){var n,i=e.segs,r=e.curveness;if(e.polyline)for(n=this._off;n0){t.moveTo(i[n++],i[n++]);for(var a=1;a0){var c=(s+u)/2-(l-h)*r,p=(l+h)/2-(u-s)*r;t.quadraticCurveTo(c,p,u,h)}else t.lineTo(u,h)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,i=n.segs,r=n.curveness,o=this.style.lineWidth;if(n.polyline)for(var a=0,s=0;s0)for(var u=i[s++],h=i[s++],c=1;c0){var f=(u+p)/2-(h-d)*r,g=(h+d)/2-(p-u)*r;if(Ql(u,h,f,g,p,d,o,t,e))return a}else if(Jl(u,h,p,d,o,t,e))return a;a++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),i=this.getBoundingRect();if(t=n[0],e=n[1],i.contain(t,e)){var r=this.hoverDataIdx=this.findDataIndex(t,e);return r>=0}return this.hoverDataIdx=-1,!1},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.segs,i=1/0,r=1/0,o=-1/0,a=-1/0,s=0;s0&&(o.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}(),vF={seriesType:"lines",plan:Xm(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),i=t.pipelineContext.large;return{progress:function(r,o){var a=[];if(i){var s=void 0,l=r.end-r.start;if(n){for(var u=0,h=r.start;h0&&(l?console.warn("SVG render mode doesn't support lines with trail effect"):s.configLayer(o,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(a/10+.9,1),0)})),r.updateData(i);var u=t.get("clip",!0)&&lA(t.coordinateSystem,!1,t);u?this.group.setClipPath(u):this.group.removeClipPath(),this._lastZlevel=o,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var i=t.getData(),r=this._updateLineDraw(i,t);r.incrementalPrepareUpdate(i),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var i=t.getData(),r=t.pipelineContext;if(!this._finished||r.large||r.progressiveRender)return{update:!0};var o=vF.reset(t,e,n);o.progress&&o.progress({start:0,end:i.count(),count:i.count()},i),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,i=this._showEffect(e),r=!!e.get("polyline"),o=e.pipelineContext,a=o.large;return i&&a&&console.warn("Large lines not support effect"),n&&i===this._hasEffet&&r===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new yF:new sz(r?i?dF:pF:i?cF:az),this._hasEffet=i,this._isPolyline=r,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr(),n="svg"===e.painter.getType();n||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(qm),xF="undefined"===typeof Uint32Array?Array:Uint32Array,_F="undefined"===typeof Float64Array?Array:Float64Array;function wF(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(console.warn("Lines data configuration has been changed to { coords:[[1,2],[2,3]] }"),t.data=W(e,(function(t){var e=[t[0].coord,t[1].coord],n={coords:e};return t[0].name&&(n.fromName=t[0].name),t[1].name&&(n.toName=t[1].name),R([n,t[0],t[1]])})))}var bF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return i(e,t),e.prototype.init=function(e){e.data=e.data||[],wF(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if(wF(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=It(this._flatCoords,e.flatCoords),this._flatCoordsOffset=It(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t),n=e.option instanceof Array?e.option:e.getShallow("coords");if(!(n instanceof Array&&n.length>0&&n[0]instanceof Array))throw new Error("Invalid coords "+JSON.stringify(n)+". Lines must have 2d coords array in data item.");return n},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],i=this._flatCoordsOffset[2*t+1],r=0;rn)throw new Error("Invalid data format.")}}return{flatCoordsOffset:new Uint32Array(i.buffer,0,a),flatCoords:r,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=yy.get(t.coordinateSystem);if(!n)throw new Error("Unknown coordinate system "+t.coordinateSystem);var i=new DS(["value"],this);return i.hasItemOption=!1,i.initData(t.data,[],(function(t,e,n,r){if(t instanceof Array)return NaN;i.hasItemOption=!0;var o=t.value;return null!=o?o instanceof Array?o[r]:o:void 0})),i},e.prototype.formatTooltip=function(t,e,n){var i=this.getData(),r=i.getItemModel(t),o=r.get("name");if(o)return o;var a=r.get("fromName"),s=r.get("toName"),l=[];return null!=a&&l.push(a),null!=s&&l.push(s),gm("nameValue",{name:l.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(Em);function SF(t){return t instanceof Array||(t=[t,t]),t}var MF={seriesType:"lines",reset:function(t){var e=SF(t.get("symbol")),n=SF(t.get("symbolSize")),i=t.getData();function r(t,e){var n=t.getItemModel(e),i=SF(n.getShallow("symbol",!0)),r=SF(n.getShallow("symbolSize",!0));i[0]&&t.setItemVisual(e,"fromSymbol",i[0]),i[1]&&t.setItemVisual(e,"toSymbol",i[1]),r[0]&&t.setItemVisual(e,"fromSymbolSize",r[0]),r[1]&&t.setItemVisual(e,"toSymbolSize",r[1])}return i.setVisual("fromSymbol",e&&e[0]),i.setVisual("toSymbol",e&&e[1]),i.setVisual("fromSymbolSize",n&&n[0]),i.setVisual("toSymbolSize",n&&n[1]),{dataEach:i.hasItemOption?r:null}}};function IF(t){t.registerChartView(mF),t.registerSeriesModel(bF),t.registerLayout(vF),t.registerVisual(MF)}var TF=256,CF=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=y.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,i,r,o){var a=this._getBrush(),s=this._getGradient(r,"inRange"),l=this._getGradient(r,"outOfRange"),u=this.pointSize+this.blurSize,h=this.canvas,c=h.getContext("2d"),p=t.length;h.width=e,h.height=n;for(var d=0;d0){var C=o(m)?s:l;m>0&&(m=m*I+S),_[w++]=C[T],_[w++]=C[T+1],_[w++]=C[T+2],_[w++]=C[T+3]*m*256}else w+=4}return c.putImageData(x,0,0),h},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=y.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var i=t.getContext("2d");return i.clearRect(0,0,n,n),i.shadowOffsetX=n,i.shadowBlur=this.blurSize,i.shadowColor="#000",i.beginPath(),i.arc(-e,e,this.pointSize,0,2*Math.PI,!0),i.closePath(),i.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,i=n[e]||(n[e]=new Uint8ClampedArray(1024)),r=[0,0,0,0],o=0,a=0;a<256;a++)t[e](a/255,!0,r),i[o++]=r[0],i[o++]=r[1],i[o++]=r[2],i[o++]=r[3];return i},t}();function DF(t,e,n){var i=t[1]-t[0];e=W(e,(function(e){return{interval:[(e.interval[0]-t[0])/i,(e.interval[1]-t[0])/i]}}));var r=e.length,o=0;return function(t){var i;for(i=o;i=0;i--){a=e[i].interval;if(a[0]<=t&&t<=a[1]){o=i;break}}return i>=0&&i=e[0]&&t<=e[1]}}function kF(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var LF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i;if(e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(i=e)}))})),!i)throw new Error("Heatmap must use with visualMap");this._progressiveEls=null,this.group.removeAll();var r=t.coordinateSystem;"cartesian2d"===r.type||"calendar"===r.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):kF(r)&&this._renderOnGeo(r,t,i,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,i){var r=e.coordinateSystem;r&&(kF(r)?this.render(e,n,i):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,i,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){xd(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,i,r){var o,a,s,l,u=t.coordinateSystem,h=uA(u,"cartesian2d");if(h){var c=u.getAxis("x"),p=u.getAxis("y");if("category"!==c.type||"category"!==p.type)throw new Error("Heatmap on cartesian must have two category axes");if(!c.onBand||!p.onBand)throw new Error("Heatmap on cartesian must have two axes with boundaryGap true");o=c.getBandWidth()+.5,a=p.getBandWidth()+.5,s=c.scale.getExtent(),l=p.scale.getExtent()}for(var d=this.group,f=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),y=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),x=Id(t),_=t.getModel("emphasis"),w=_.get("focus"),b=_.get("blurScope"),S=_.get("disabled"),M=h?[f.mapDimension("x"),f.mapDimension("y"),f.mapDimension("value")]:[f.mapDimension("time"),f.mapDimension("value")],I=n;Is[1]||Al[1])continue;var k=u.dataToPoint([D,A]);T=new Nu({shape:{x:k[0]-o/2,y:k[1]-a/2,width:o,height:a},style:C})}else{if(isNaN(f.get(M[1],I)))continue;T=new Nu({z2:1,shape:u.dataToRect([f.get(M[0],I)]).contentShape,style:C})}if(f.hasItemOption){var L=f.getItemModel(I),P=L.getModel("emphasis");g=P.getModel("itemStyle").getItemStyle(),y=L.getModel(["blur","itemStyle"]).getItemStyle(),v=L.getModel(["select","itemStyle"]).getItemStyle(),m=L.get(["itemStyle","borderRadius"]),w=P.get("focus"),b=P.get("blurScope"),S=P.get("disabled"),x=Id(L)}T.shape.r=m;var O=t.getRawValue(I),R="-";O&&null!=O[2]&&(R=O[2]+""),Md(T,x,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:R}),T.ensureState("emphasis").style=g,T.ensureState("blur").style=y,T.ensureState("select").style=v,ec(T,w,b,S),T.incremental=r,r&&(T.states.emphasis.hoverLayer=!0),d.add(T),f.setItemGraphicEl(I,T),this._progressiveEls&&this._progressiveEls.push(T)}},e.prototype._renderOnGeo=function(t,e,n,i){var r=n.targetVisuals.inRange,o=n.targetVisuals.outOfRange,a=e.getData(),s=this._hmLayer||this._hmLayer||new CF;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var l=t.getViewRect().clone(),u=t.getRoamTransform();l.applyTransform(u);var h=Math.max(l.x,0),c=Math.max(l.y,0),p=Math.min(l.width+l.x,i.getWidth()),d=Math.min(l.height+l.y,i.getHeight()),f=p-h,g=d-c,y=[a.mapDimension("lng"),a.mapDimension("lat"),a.mapDimension("value")],v=a.mapArray(y,(function(e,n,i){var r=t.dataToPoint([e,n]);return r[0]-=h,r[1]-=c,r.push(i),r})),m=n.getExtent(),x="visualMap.continuous"===n.type?AF(m,n.option.range):DF(m,n.getPieceList(),n.option.selected);s.update(v,f,g,r.color.getNormalizer(),{inRange:r.color.getColorMapper(),outOfRange:o.color.getColorMapper()},x);var _=new Cu({style:{width:f,height:g,x:h,y:c,image:s.canvas},silent:!0});this.group.add(_)},e.type="heatmap",e}(qm),PF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.getInitialData=function(t,e){return US(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=yy.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(Em);function OF(t){t.registerChartView(LF),t.registerSeriesModel(PF)}var RF=["itemStyle","borderWidth"],NF=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],EF=new zc,zF=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=this.group,r=t.getData(),o=this._data,a=t.coordinateSystem,s=a.getBaseAxis(),l=s.isHorizontal(),u=a.master.getRect(),h={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:a,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:l,valueDim:NF[+l],categoryDim:NF[1-+l]};r.diff(o).add((function(t){if(r.hasValue(t)){var e=qF(r,t),n=VF(r,t,e,h),o=$F(r,h,n);r.setItemGraphicEl(t,o),i.add(o),rH(o,h,n)}})).update((function(t,e){var n=o.getItemGraphicEl(e);if(r.hasValue(t)){var a=qF(r,t),s=VF(r,t,a,h),l=eH(r,s);n&&l!==n.__pictorialShapeStr&&(i.remove(n),r.setItemGraphicEl(t,null),n=null),n?QF(n,h,s):n=$F(r,h,s,!0),r.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,i.add(n),rH(n,h,s)}else i.remove(n)})).remove((function(t){var e=o.getItemGraphicEl(t);e&&tH(o,t,e.__pictorialSymbolMeta.animationModel,e)})).execute();var c=t.get("clip",!0)?lA(t.coordinateSystem,!1,t):null;return c?i.setClipPath(c):i.removeClipPath(),this._data=r,this.group},e.prototype.remove=function(t,e){var n=this.group,i=this._data;t.get("animation")?i&&i.eachItemGraphicEl((function(e){tH(i,Qu(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(qm);function VF(t,e,n,i){var r=t.getItemLayout(e),o=n.get("symbolRepeat"),a=n.get("symbolClip"),s=n.get("symbolPosition")||"start",l=n.get("symbolRotate"),u=(l||0)*Math.PI/180||0,h=n.get("symbolPatternSize")||2,c=n.isAnimationEnabled(),p={dataIndex:e,layout:r,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:a,symbolRepeat:o,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:h,rotation:u,animationModel:c?n:null,hoverScale:c&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};BF(n,o,r,i,p),FF(t,e,r,o,a,p.boundingLength,p.pxSign,h,i,p),HF(n,p.symbolScale,u,i,p);var d=p.symbolSize,f=d_(n.get("symbolOffset"),d);return WF(n,d,r,o,a,f,s,p.valueLineWidth,p.boundingLength,p.repeatCutLength,i,p),p}function BF(t,e,n,i,r){var o,a=i.valueDim,s=t.get("symbolBoundingData"),l=i.coordSys.getOtherAxis(i.coordSys.getBaseAxis()),u=l.toGlobalCoord(l.dataToCoord(0)),h=1-+(n[a.wh]<=0);if(J(s)){var c=[GF(l,s[0])-u,GF(l,s[1])-u];c[1]=0?1:-1:o>0?1:-1}function GF(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function FF(t,e,n,i,r,o,a,s,l,u){var h,c=l.valueDim,p=l.categoryDim,d=Math.abs(n[p.wh]),f=t.getItemVisual(e,"symbolSize");h=J(f)?f.slice():null==f?["100%","100%"]:[f,f],h[p.index]=ia(h[p.index],d),h[c.index]=ia(h[c.index],i?d:Math.abs(o)),u.symbolSize=h;var g=u.symbolScale=[h[0]/s,h[1]/s];g[c.index]*=(l.isHorizontal?-1:1)*a}function HF(t,e,n,i,r){var o=t.get(RF)||0;o&&(EF.attr({scaleX:e[0],scaleY:e[1],rotation:n}),EF.updateTransform(),o/=EF.getLineScale(),o*=e[i.valueDim.index]),r.valueLineWidth=o||0}function WF(t,e,n,i,r,o,a,s,l,u,h,c){var p=h.categoryDim,d=h.valueDim,f=c.pxSign,g=Math.max(e[d.index]+s,0),y=g;if(i){var v=Math.abs(l),m=ht(t.get("symbolMargin"),"15%")+"",x=!1;m.lastIndexOf("!")===m.length-1&&(x=!0,m=m.slice(0,m.length-1));var _=ia(m,e[d.index]),w=Math.max(g+2*_,0),b=x?0:2*_,S=Sa(i),M=S?i:oH((v+b)/w),I=v-M*g;_=I/2/(x?M:Math.max(M-1,1)),w=g+2*_,b=x?0:2*_,S||"fixed"===i||(M=u?oH((Math.abs(u)+b)/w):0),y=M*w-b,c.repeatTimes=M,c.symbolMargin=_}var T=f*(y/2),C=c.pathPosition=[];C[p.index]=n[p.wh]/2,C[d.index]="start"===a?T:"end"===a?l-T:l/2,o&&(C[0]+=o[0],C[1]+=o[1]);var D=c.bundlePosition=[];D[p.index]=n[p.xy],D[d.index]=n[d.xy];var A=c.barRectShape=N({},n);A[d.wh]=f*Math.max(Math.abs(n[d.wh]),Math.abs(C[d.index]+T)),A[p.wh]=n[p.wh];var k=c.clipShape={};k[p.xy]=-n[p.xy],k[p.wh]=h.ecSize[p.wh],k[d.xy]=0,k[d.wh]=n[d.wh]}function UF(t){var e=t.symbolPatternSize,n=c_(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function YF(t,e,n,i){var r=t.__pictorialBundle,o=n.symbolSize,a=n.valueLineWidth,s=n.pathPosition,l=e.valueDim,u=n.repeatTimes||0,h=0,c=o[e.valueDim.index]+a+2*n.symbolMargin;for(nH(t,(function(t){t.__pictorialAnimationIndex=h,t.__pictorialRepeatTimes=u,h0:i<0)&&(r=u-1-t),e[l.index]=c*(r-u/2+.5)+s[l.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function XF(t,e,n,i){var r=t.__pictorialBundle,o=t.__pictorialMainPath;o?iH(o,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,i):(o=t.__pictorialMainPath=UF(n),r.add(o),iH(o,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,i))}function ZF(t,e,n){var i=N({},e.barRectShape),r=t.__pictorialBarRect;r?iH(r,null,{shape:i},e,n):(r=t.__pictorialBarRect=new Nu({z2:2,shape:i,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}}),r.disableMorphing=!0,t.add(r))}function jF(t,e,n,i){if(n.symbolClip){var r=t.__pictorialClipPath,o=N({},n.clipShape),a=e.valueDim,s=n.animationModel,l=n.dataIndex;if(r)Rp(r,{shape:o},s,l);else{o[a.wh]=0,r=new Nu({shape:o}),t.__pictorialBundle.setClipPath(r),t.__pictorialClipPath=r;var u={};u[a.wh]=n.clipShape[a.wh],_d[i?"updateProps":"initProps"](r,{shape:u},s,l)}}}function qF(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=KF,n.isAnimationEnabled=JF,n}function KF(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function JF(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function $F(t,e,n,i){var r=new zo,o=new zo;return r.add(o),r.__pictorialBundle=o,o.x=n.bundlePosition[0],o.y=n.bundlePosition[1],n.symbolRepeat?YF(r,e,n):XF(r,e,n),ZF(r,n,i),jF(r,e,n,i),r.__pictorialShapeStr=eH(t,n),r.__pictorialSymbolMeta=n,r}function QF(t,e,n){var i=n.animationModel,r=n.dataIndex,o=t.__pictorialBundle;Rp(o,{x:n.bundlePosition[0],y:n.bundlePosition[1]},i,r),n.symbolRepeat?YF(t,e,n,!0):XF(t,e,n,!0),ZF(t,n,!0),jF(t,e,n,!0)}function tH(t,e,n,i){var r=i.__pictorialBarRect;r&&r.removeTextContent();var o=[];nH(i,(function(t){o.push(t)})),i.__pictorialMainPath&&o.push(i.__pictorialMainPath),i.__pictorialClipPath&&(n=null),H(o,(function(t){zp(t,{scaleX:0,scaleY:0},n,e,(function(){i.parent&&i.parent.remove(i)}))})),t.setItemGraphicEl(e,null)}function eH(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function nH(t,e,n){H(t.__pictorialBundle.children(),(function(i){i!==t.__pictorialBarRect&&e.call(n,i)}))}function iH(t,e,n,i,r,o){e&&t.attr(e),i.symbolClip&&!r?n&&t.attr(n):n&&_d[r?"updateProps":"initProps"](t,n,i.animationModel,i.dataIndex,o)}function rH(t,e,n){var i=n.dataIndex,r=n.itemModel,o=r.getModel("emphasis"),a=o.getModel("itemStyle").getItemStyle(),s=r.getModel(["blur","itemStyle"]).getItemStyle(),l=r.getModel(["select","itemStyle"]).getItemStyle(),u=r.getShallow("cursor"),h=o.get("focus"),c=o.get("blurScope"),p=o.get("scale");nH(t,(function(t){if(t instanceof Cu){var e=t.style;t.useStyle(N({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var i=t.ensureState("emphasis");i.style=a,p&&(i.scaleX=1.1*t.scaleX,i.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=l,u&&(t.cursor=u),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)],f=t.__pictorialBarRect;f.ignoreClip=!0,Md(f,Id(r),{labelFetcher:e.seriesModel,labelDataIndex:i,defaultText:BD(e.seriesModel.getData(),i),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),ec(t,h,c,o.get("disabled"))}function oH(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}var aH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return i(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=Qd(OA.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",clip:!1,progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(OA);function sH(t){t.registerChartView(zF),t.registerSeriesModel(aH),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,K(bM,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,SM("pictorialBar"))}var lH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return i(e,t),e.prototype.render=function(t,e,n){var i=t.getData(),r=this,o=this.group,a=t.getLayerSeries(),s=i.getLayout("layoutInfo"),l=s.rect,u=s.boundaryGap;function h(t){return t.name}o.x=0,o.y=l.y+u[0];var c=new tS(this._layersSeries||[],a,h,h),p=[];function d(e,n,s){var l=r._layers;if("remove"!==e){for(var u,h,c=[],d=[],f=a[n].indices,g=0;go&&(o=s),i.push(s)}for(var u=0;uo&&(o=c)}return{y0:r,max:o}}function gH(t){t.registerChartView(lH),t.registerSeriesModel(cH),t.registerLayout(pH),t.registerProcessor(xk("themeRiver"))}var yH=2,vH=4,mH=function(t){function e(e,n,i,r){var o=t.call(this)||this;o.z2=yH,o.textConfig={inside:!0},Qu(o).seriesIndex=n.seriesIndex;var a=new Bu({z2:vH,silent:e.getModel().get(["label","silent"])});return o.setTextContent(a),o.updateData(!0,e,n,i,r),o}return i(e,t),e.prototype.updateData=function(t,e,n,i,r){this.node=e,e.piece=this,n=n||this._seriesModel,i=i||this._ecModel;var o=this;Qu(o).dataIndex=e.dataIndex;var a=e.getModel(),s=a.getModel("emphasis"),l=e.getLayout(),u=N({},l);u.label=null;var h=e.getVisual("style");h.lineJoin="bevel";var c=e.getVisual("decal");c&&(h.decal=tw(c,r));var p=FA(a.getModel("itemStyle"),u,!0);N(u,p),H(lh,(function(t){var e=o.ensureState(t),n=a.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var i=FA(n,u);i&&(e.shape=i)})),t?(o.setShape(u),o.shape.r=l.r0,Np(o,{shape:{r:l.r}},n,e.dataIndex)):(Rp(o,{shape:u},n),Gp(o)),o.useStyle(h),this._updateLabel(n);var d=a.getShallow("cursor");d&&o.attr("cursor",d),this._seriesModel=n||this._seriesModel,this._ecModel=i||this._ecModel;var f=s.get("focus"),g="relative"===f?It(e.getAncestorsIndices(),e.getDescendantIndices()):"ancestor"===f?e.getAncestorsIndices():"descendant"===f?e.getDescendantIndices():f;ec(this,g,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),i=n.getModel("label"),r=this.node.getLayout(),o=r.endAngle-r.startAngle,a=(r.startAngle+r.endAngle)/2,s=Math.cos(a),l=Math.sin(a),u=this,h=u.getTextContent(),c=this.node.dataIndex,p=i.get("minAngle")/180*Math.PI,d=i.get("show")&&!(null!=p&&Math.abs(o)I&&!fa(C-I)&&C0?(r.virtualPiece?r.virtualPiece.updateData(!1,i,t,e,n):(r.virtualPiece=new mH(i,t,e,n),l.add(r.virtualPiece)),o.piece.off("click"),r.virtualPiece.on("click",(function(t){r._rootToNode(o.parentNode)}))):r.virtualPiece&&(l.remove(r.virtualPiece),r.virtualPiece=null)}p(h,c),g(a,s),this._initEvents(),this._oldChildren=h},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1,i=t.seriesModel.getViewRoot();i.eachNode((function(i){if(!n&&i.piece&&i.piece===e.target){var r=i.getModel().get("nodeClick");if("rootToNode"===r)t._rootToNode(i);else if("link"===r){var o=i.getModel(),a=o.get("link");if(a){var s=o.get("target",!0)||"_blank";rg(a,s)}}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:xH,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData(),i=n.getItemLayout(0);if(i){var r=t[0]-i.cx,o=t[1]-i.cy,a=Math.sqrt(r*r+o*o);return a<=i.r&&a>=i.r0}},e.type="sunburst",e}(qm),MH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return i(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};IH(n);var i=this._levelModels=W(t.levels||[],(function(t){return new jd(t,this,e)}),this),r=RR.createTree(n,this,o);function o(t){t.wrapMethod("getItemModel",(function(t,e){var n=r.getNodeByDataIndex(e),o=i[n.depth];return o&&(t.parentModel=o),t}))}return r.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),i=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=BR(i,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){KR(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(Em);function IH(t){var e=0;H(t.children,(function(t){IH(t);var n=t.value;J(n)&&(n=n[0]),e+=n}));var n=t.value;J(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),J(t.value)?t.value[0]=n:t.value=n}var TH=Math.PI/180;function CH(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),i=t.get("radius");J(i)||(i=[0,i]),J(e)||(e=[e,e]);var r=n.getWidth(),o=n.getHeight(),a=Math.min(r,o),s=ia(e[0],r),l=ia(e[1],o),u=ia(i[0],a/2),h=ia(i[1],a/2),c=-t.get("startAngle")*TH,p=t.get("minAngle")*TH,d=t.getData().tree.root,f=t.getViewRoot(),g=f.depth,y=t.get("sort");null!=y&&DH(f,y);var v=0;H(f.children,(function(t){!isNaN(t.getValue())&&v++}));var m=f.getValue(),x=Math.PI/(m||v)*2,_=f.depth>0,w=f.height-(_?-1:1),b=(h-u)/(w||1),S=t.get("clockwise"),M=t.get("stillShowZeroSum"),I=S?1:-1,T=function(e,n){if(e){var i=n;if(e!==d){var r=e.getValue(),o=0===m&&M?x:r*x;o1)r=r.parentNode;var o=n.getColorFromPalette(r.name||r.dataIndex+"",e);return t.depth>1&&Q(o)&&(o=Ci(o,(t.depth-1)/(i-1)*.5)),o}t.eachSeriesByType("sunburst",(function(t){var e=t.getData(),i=e.tree;i.eachNode((function(r){var o=r.getModel(),a=o.getModel("itemStyle").getItemStyle();a.fill||(a.fill=n(r,t,i.root.height));var s=e.ensureUniqueItemVisual(r.dataIndex,"style");N(s,a)}))}))}function LH(t){t.registerChartView(SH),t.registerSeriesModel(MH),t.registerLayout(K(CH,"sunburst")),t.registerProcessor(K(xk,"sunburst")),t.registerVisual(kH),bH(t)}var PH={color:"fill",borderColor:"stroke"},OH={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},RH=cs(),NH=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return US(null,this)},e.prototype.getDataParams=function(e,n,i){var r=t.prototype.getDataParams.call(this,e,n);return i&&(r.info=RH(i).info),r},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(Em);function EH(t,e){return e=e||[0,0],W(["x","y"],(function(n,i){var r=this.getAxis(n),o=e[i],a=t[i]/2;return"category"===r.type?r.getBandWidth():Math.abs(r.dataToCoord(o-a)-r.dataToCoord(o+a))}),this)}function zH(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:q(EH,t)}}}function VH(t,e){return e=e||[0,0],W([0,1],(function(n){var i=e[n],r=t[n]/2,o=[],a=[];return o[n]=i-r,a[n]=i+r,o[1-n]=a[1-n]=e[1-n],Math.abs(this.dataToPoint(o)[n]-this.dataToPoint(a)[n])}),this)}function BH(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:q(VH,t)}}}function GH(t,e){var n=this.getAxis(),i=e instanceof Array?e[0]:e,r=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(i-r)-n.dataToCoord(i+r))}function FH(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:q(GH,t)}}}function HH(t,e){return e=e||[0,0],W(["Radius","Angle"],(function(n,i){var r="get"+n+"Axis",o=this[r](),a=e[i],s=t[i]/2,l="category"===o.type?o.getBandWidth():Math.abs(o.dataToCoord(a-s)-o.dataToCoord(a+s));return"Angle"===n&&(l=l*Math.PI/180),l}),this)}function WH(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),i=e.getExtent();return i[0]>i[1]&&i.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:i[1],r0:i[0]},api:{coord:function(i){var r=e.dataToRadius(i[0]),o=n.dataToAngle(i[1]),a=t.coordToPoint([r,o]);return a.push(r,o*Math.PI/180),a},size:q(HH,t)}}}function UH(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}var YH={};function XH(t,e,n,i){return t&&(t.legacy||!1!==t.legacy&&!n&&!i&&"tspan"!==e&&("text"===e||Dt(t,"text")))}function ZH(t,e,n){var i,r,o,a=t;if("text"===e)o=a;else{o={},Dt(a,"text")&&(o.text=a.text),Dt(a,"rich")&&(o.rich=a.rich),Dt(a,"textFill")&&(o.fill=a.textFill),Dt(a,"textStroke")&&(o.stroke=a.textStroke),Dt(a,"fontFamily")&&(o.fontFamily=a.fontFamily),Dt(a,"fontSize")&&(o.fontSize=a.fontSize),Dt(a,"fontStyle")&&(o.fontStyle=a.fontStyle),Dt(a,"fontWeight")&&(o.fontWeight=a.fontWeight),r={type:"text",style:o,silent:!0},i={};var s=Dt(a,"textPosition");n?i.position=s?a.textPosition:"inside":s&&(i.position=a.textPosition),Dt(a,"textPosition")&&(i.position=a.textPosition),Dt(a,"textOffset")&&(i.offset=a.textOffset),Dt(a,"textRotation")&&(i.rotation=a.textRotation),Dt(a,"textDistance")&&(i.distance=a.textDistance)}return jH(o,t),H(o.rich,(function(t){jH(t,t)})),{textConfig:i,textContent:r}}function jH(t,e){e&&(e.font=e.textFont||e.font,Dt(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),Dt(e,"textAlign")&&(t.align=e.textAlign),Dt(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),Dt(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),Dt(e,"textWidth")&&(t.width=e.textWidth),Dt(e,"textHeight")&&(t.height=e.textHeight),Dt(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),Dt(e,"textPadding")&&(t.padding=e.textPadding),Dt(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),Dt(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),Dt(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),Dt(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),Dt(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),Dt(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),Dt(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function qH(t,e,n){var i=t;i.textPosition=i.textPosition||n.position||"inside",null!=n.offset&&(i.textOffset=n.offset),null!=n.rotation&&(i.textRotation=n.rotation),null!=n.distance&&(i.textDistance=n.distance);var r=i.textPosition.indexOf("inside")>=0,o=t.fill||"#000";KH(i,e);var a=null==i.textFill;return r?a&&(i.textFill=n.insideFill||"#fff",!i.textStroke&&n.insideStroke&&(i.textStroke=n.insideStroke),!i.textStroke&&(i.textStroke=o),null==i.textStrokeWidth&&(i.textStrokeWidth=2)):(a&&(i.textFill=t.fill||n.outsideFill||"#000"),!i.textStroke&&n.outsideStroke&&(i.textStroke=n.outsideStroke)),i.text=e.text,i.rich=e.rich,H(e.rich,(function(t){KH(t,t)})),i}function KH(t,e){e&&(Dt(e,"fill")&&(t.textFill=e.fill),Dt(e,"stroke")&&(t.textStroke=e.fill),Dt(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),Dt(e,"font")&&(t.font=e.font),Dt(e,"fontStyle")&&(t.fontStyle=e.fontStyle),Dt(e,"fontWeight")&&(t.fontWeight=e.fontWeight),Dt(e,"fontSize")&&(t.fontSize=e.fontSize),Dt(e,"fontFamily")&&(t.fontFamily=e.fontFamily),Dt(e,"align")&&(t.textAlign=e.align),Dt(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),Dt(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),Dt(e,"width")&&(t.textWidth=e.width),Dt(e,"height")&&(t.textHeight=e.height),Dt(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),Dt(e,"padding")&&(t.textPadding=e.padding),Dt(e,"borderColor")&&(t.textBorderColor=e.borderColor),Dt(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),Dt(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),Dt(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),Dt(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),Dt(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),Dt(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),Dt(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),Dt(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),Dt(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),Dt(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}function JH(t,e){var n=t+"^_^"+e;YH[n]||(console.warn('[ECharts] DEPRECATED: "'+t+'" has been deprecated. '+e),YH[n]=!0)}var $H={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},QH=Z($H),tW=U(po,(function(t,e){return t[e]=1,t}),{}),eW=po.join(", "),nW=["","style","shape","extra"],iW=cs();function rW(t,e,n,i,r){var o=t+"Animation",a=Pp(t,i,r)||{},s=iW(e).userDuring;return a.duration>0&&(a.during=s?q(yW,{el:e,userDuring:s}):null,a.setToFinal=!0,a.scope=t),N(a,n[o]),a}function oW(t,e,n,i){i=i||{};var r=i.dataIndex,o=i.isInit,a=i.clearStyle,s=n.isAnimationEnabled(),l=iW(t),u=e.style;l.userDuring=e.during;var h={},c={};if(_W(t,e,c),mW("shape",e,c),mW("extra",e,c),!o&&s&&(xW(t,e,h),vW("shape",t,e,h),vW("extra",t,e,h),wW(t,e,u,h)),c.style=u,uW(t,c,a),cW(t,e),s)if(o){var p={};H(nW,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(p[t]=p[t]||{}),N(t?p[t]:p,n.enterFrom))}));var d=rW("enter",t,e,n,r);d.duration>0&&t.animateFrom(p,d)}else hW(t,e,r||0,n,h);aW(t,e),u?t.dirty():t.markRedraw()}function aW(t,e){for(var n=iW(t).leaveToProps,i=0;i0&&t.animateFrom(r,o)}}function cW(t,e){Dt(e,"silent")&&(t.silent=e.silent),Dt(e,"ignore")&&(t.ignore=e.ignore),t instanceof dl&&Dt(e,"invisible")&&(t.invisible=e.invisible),t instanceof wu&&Dt(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}var pW,dW={},fW={setTransform:function(t,e){return gt(Dt(tW,t),"Only "+eW+" available in `setTransform`."),dW.el[t]=e,this},getTransform:function(t){return gt(Dt(tW,t),"Only "+eW+" available in `getTransform`."),dW.el[t]},setShape:function(t,e){gW(t);var n=dW.el,i=n.shape||(n.shape={});return i[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){gW(t);var e=dW.el.shape;if(e)return e[t]},setStyle:function(t,e){gW(t);var n=dW.el,i=n.style;return i&&(ut(e)&&Pa("style."+t+" must not be assigned with NaN."),i[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){gW(t);var e=dW.el.style;if(e)return e[t]},setExtra:function(t,e){gW(t);var n=dW.el.extra||(dW.el.extra={});return n[t]=e,this},getExtra:function(t){gW(t);var e=dW.el.extra;if(e)return e[t]}};function gW(t){if("transition"===t||"enterFrom"===t||"leaveTo"===t)throw new Error('key must not be "'+t+'"')}function yW(){var t=this,e=t.el;if(e){var n=iW(e).userDuring,i=t.userDuring;n===i?(dW.el=e,i(fW)):t.el=t.userDuring=null}}function vW(t,e,n,i){var r=n[t];if(r){var o,a=e[t];if(a){var s=n.transition,l=r.transition;if(l)if(!o&&(o=i[t]={}),lW(l))N(o,a);else for(var u=Fa(l),h=0;h=0){!o&&(o=i[t]={});var d=Z(a);for(h=0;h=0)){var p=t.getAnimationStyleProps(),d=p?p.style:null;if(d){!r&&(r=i.style={});var f=Z(n);for(u=0;u=1&&(s=!0),u){var h=Z(u);if(n||(h=Y(h,(function(t){return V(MW,t)<0}))),h.length){o||(o=t.animate(n,e.loop,!0),o.scope="keyframe");for(var c=0;c=0?e.getStore().get(r,n):void 0}var o=e.get(i.name,n),a=i&&i.ordinalMeta;return a?a.categories[o]:o}function b(n,i){JH("api.style","Please write literal style directly instead."),null==i&&(i=s);var r=e.getItemVisual(i,"style"),o=r&&r.fill,a=r&&r.opacity,l=m(i,DW).getItemStyle();null!=o&&(l.fill=o),null!=a&&(l.opacity=a);var u={inheritColor:Q(o)?o:"#000"},h=x(i,DW),c=Td(h,null,u,!1,!0);c.text=h.getShallow("show")?ct(t.getFormattedLabel(i,DW),BD(e,i)):null;var p=Cd(h,u,!1);return I(n,l),l=qH(l,c,p),n&&M(l,n),l.legacy=!0,l}function S(n,i){JH("api.styleEmphasis","Please write literal style directly instead."),null==i&&(i=s);var r=m(i,CW).getItemStyle(),o=x(i,CW),a=Td(o,null,null,!0,!0);a.text=o.getShallow("show")?pt(t.getFormattedLabel(i,CW),t.getFormattedLabel(i,DW),BD(e,i)):null;var l=Cd(o,null,!0);return I(n,r),r=qH(r,a,l),n&&M(r,n),r.legacy=!0,r}function M(t,e){for(var n in e)Dt(e,n)&&(t[n]=e[n])}function I(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}function T(t,n){if(null==n&&(n=s),Dt(PH,t)){var i=e.getItemVisual(n,"style");return i?i[PH[t]]:null}if(Dt(OH,t))return e.getItemVisual(n,t)}function C(t){if("cartesian2d"===o.type){var e=o.getBaseAxis();return yM(E({axis:e},t))}}function D(){return n.getCurrentSeriesIndices()}function A(t){return Rd(t,n)}}function jW(t){var e={};return H(t.dimensions,(function(n){var i=t.getDimensionInfo(n);if(!i.isExtraCoord){var r=i.coordDim,o=e[r]=e[r]||[];o[i.coordDimIndex]=t.getDimensionIndex(n)}})),e}function qW(t,e,n,i,r,o,a){if(i){var s=KW(t,e,n,i,r,o);return s&&a.setItemGraphicEl(n,s),s&&ec(s,i.focus,i.blurScope,i.emphasisDisabled),s}o.remove(e)}function KW(t,e,n,i,r,o){gt(i,"should not have an null/undefined element setting");var a=-1,s=e;e&&JW(e,i,r)&&(a=V(o.childrenRef(),e),e=null);var l=!e,u=e;u?u.clearStates():(u=HW(i),s&&GW(s,u)),!1===i.morph?u.disableMorphing=!0:u.disableMorphing&&(u.disableMorphing=!1),EW.normal.cfg=EW.normal.conOpt=EW.emphasis.cfg=EW.emphasis.conOpt=EW.blur.cfg=EW.blur.conOpt=EW.select.cfg=EW.select.conOpt=null,EW.isLegacy=!1,QW(u,n,i,r,l,EW),$W(u,n,i,r,l),WW(t,u,n,i,EW,r,l),Dt(i,"info")&&(RH(u).info=i.info);for(var h=0;h=0?o.replaceAt(u,a):o.add(u),u}function JW(t,e,n){var i=RH(t),r=e.type,o=e.shape,a=e.style;return n.isUniversalTransitionEnabled()||null!=r&&r!==i.customGraphicType||"path"===r&&hU(o)&&uU(o)!==i.customPathData||"image"===r&&Dt(a,"image")&&a.image!==i.customImagePath}function $W(t,e,n,i,r){var o=n.clipPath;if(!1===o)t&&t.getClipPath()&&t.removeClipPath();else if(o){var a=t.getClipPath();a&&JW(a,o,i)&&(a=null),a||(a=HW(o),gt(VW(a),"Only any type of `path` can be used in `clipPath`, rather than "+a.type+"."),t.setClipPath(a)),WW(null,a,e,o,null,i,r)}}function QW(t,e,n,i,r,o){if(!t.isGroup){tU(n,null,o),tU(n,CW,o);var a=o.normal.conOpt,s=o.emphasis.conOpt,l=o.blur.conOpt,u=o.select.conOpt;if(null!=a||null!=s||null!=u||null!=l){var h=t.getTextContent();if(!1===a)h&&t.removeTextContent();else{a=o.normal.conOpt=a||{type:"text"},h?h.clearStates():(h=HW(a),t.setTextContent(h)),WW(null,h,e,a,null,i,r);for(var c=a&&a.style,p=0;p=h;d--){var f=e.childAt(d);rU(e,f,r)}}}function rU(t,e,n){e&&sW(e,RH(t).option,n)}function oU(t){new tS(t.oldChildren,t.newChildren,aU,aU,t).add(sU).update(sU).remove(lU).execute()}function aU(t,e){var n=t&&t.name;return null!=n?n:NW+e}function sU(t,e){var n=this.context,i=null!=t?n.newChildren[t]:null,r=null!=e?n.oldChildren[e]:null;KW(n.api,r,n.dataIndex,i,n.seriesModel,n.group)}function lU(t){var e=this.context,n=e.oldChildren[t];n&&sW(n,RH(n).option,e.seriesModel)}function uU(t){return t&&(t.pathData||t.d)}function hU(t){return t&&(Dt(t,"pathData")||Dt(t,"d"))}function cU(t){t.registerChartView(FW),t.registerSeriesModel(NH)}var pU=cs(),dU=P,fU=q,gU=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),o=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==o){this._lastValue=r,this._lastStatus=o;var a=this._group,s=this._handle;if(!o||"hide"===o)return a&&a.hide(),void(s&&s.hide());a&&a.show(),s&&s.show();var l={};this.makeElOption(l,r,t,e,n);var u=l.graphicKey;u!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=u;var h=this._moveAnimation=this.determineAnimation(t,e);if(a){var c=K(yU,e,h);this.updatePointerEl(a,l,c),this.updateLabelEl(a,l,c,e)}else a=this._group=new zo,this.createPointerEl(a,l,t,e),this.createLabelEl(a,l,t,e),n.getZr().add(a);_U(a,e,!0),this._renderHandle(r)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),i=t.axis,r="category"===i.type,o=e.get("snap");if(!o&&!r)return!1;if("auto"===n||null==n){var a=this.animationThreshold;if(r&&i.getBandWidth()>a)return!0;if(o){var s=LL(t).seriesDataCount,l=i.getExtent();return Math.abs(l[0]-l[1])/s>a}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,i,r){},t.prototype.createPointerEl=function(t,e,n,i){var r=e.pointer;if(r){var o=pU(t).pointerEl=new _d[r.type](dU(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=pU(t).labelEl=new Bu(dU(e.label));t.add(r),mU(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=pU(t).pointerEl;i&&e.pointer&&(i.setStyle(e.pointer.style),n(i,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,i){var r=pU(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),mU(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,o=n.getModel("handle"),a=n.get("status");if(!o.get("show")||!a||"hide"===a)return r&&i.remove(r),void(this._handle=null);this._handle||(e=!0,r=this._handle=pd(o.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){ke(t.event)},onmousedown:fU(this._onHandleDragMove,this,0,0),drift:fU(this._onHandleDragMove,this),ondragend:fU(this._onHandleDragEnd,this)}),i.add(r)),_U(r,n,!1),r.setStyle(o.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=o.get("size");J(s)||(s=[s,s]),r.scaleX=s[0]/2,r.scaleY=s[1]/2,ox(this,"_doDispatchAxisPointer",o.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){yU(this._axisPointerModel,!e&&this._moveAnimation,this._handle,xU(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var i=this.updateHandleTransform(xU(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(xU(i)),pU(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var e=this._payloadInfo,n=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:e.cursorPoint[0],y:e.cursorPoint[1],tooltipOption:e.tooltipOption,axesInfo:[{axisDim:n.axis.dim,axisIndex:n.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var e=this._axisPointerModel.get("value");this._moveHandleToValue(e),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,i=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),i&&e.remove(i),this._group=null,this._handle=null,this._payloadInfo=null),ax(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}},t}();function yU(t,e,n,i){vU(pU(n).lastProp,i)||(pU(n).lastProp=i,e?Rp(n,i,t):(n.stopAnimation(),n.attr(i)))}function vU(t,e){if(nt(t)&&nt(e)){var n=!0;return H(e,(function(e,i){n=n&&vU(t[i],e)})),!!n}return t===e}function mU(t,e){t[e.get(["label","show"])?"show":"hide"]()}function xU(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function _U(t,e,n){var i=e.get("z"),r=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=i&&(t.z=i),null!=r&&(t.zlevel=r),t.silent=n)}))}function wU(t){var e,n=t.get("type"),i=t.getModel(n+"Style");return"line"===n?(e=i.getLineStyle(),e.fill=null):"shadow"===n&&(e=i.getAreaStyle(),e.stroke=null),e}function bU(t,e,n,i,r){var o=n.get("value"),a=MU(o,e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),s=n.getModel("label"),l=jf(s.get("padding")||0),u=s.getFont(),h=mo(a,u),c=r.position,p=h.width+l[1]+l[3],d=h.height+l[0]+l[2],f=r.align;"right"===f&&(c[0]-=p),"center"===f&&(c[0]-=p/2);var g=r.verticalAlign;"bottom"===g&&(c[1]-=d),"middle"===g&&(c[1]-=d/2),SU(c,p,d,i);var y=s.get("backgroundColor");y&&"auto"!==y||(y=e.get(["axisLine","lineStyle","color"])),t.label={x:c[0],y:c[1],style:Td(s,{text:a,font:u,fill:s.getTextColor(),padding:l,backgroundColor:y}),z2:10}}function SU(t,e,n,i){var r=i.getWidth(),o=i.getHeight();t[0]=Math.min(t[0]+e,r)-e,t[1]=Math.min(t[1]+n,o)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}function MU(t,e,n,i,r){t=e.scale.parse(t);var o=e.scale.getLabel({value:t},{precision:r.precision}),a=r.formatter;if(a){var s={value:oI(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};H(i,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&s.seriesData.push(r)})),Q(a)?o=a.replace("{value}",o):$(a)&&(o=a(s))}return o}function IU(t,e,n){var i=Ee();return Fe(i,i,n.rotation),Ge(i,i,n.position),od([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function TU(t,e,n,i,r,o){var a=dL.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),bU(e,i,r,o,{position:IU(i.axis,t,n),align:a.textAlign,verticalAlign:a.textVerticalAlign})}function CU(t,e,n){return n=n||0,{x1:t[n],y1:t[1-n],x2:e[n],y2:e[1-n]}}function DU(t,e,n){return n=n||0,{x:t[n],y:t[1-n],width:e[n],height:e[1-n]}}function AU(t,e,n,i,r,o){return{cx:t,cy:e,r0:n,r:i,startAngle:r,endAngle:o,clockwise:!0}}var kU=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=LU(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=wU(i),c=PU[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=nL(a.model,n);TU(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=nL(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=IU(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.grid,a=r.getGlobalExtent(!0),s=LU(o,r).getOtherAxis(r).getGlobalExtent(),l="x"===r.dim?0:1,u=[t.x,t.y];u[l]+=e[l],u[l]=Math.min(a[1],u[l]),u[l]=Math.max(a[0],u[l]);var h=(s[1]+s[0])/2,c=[h,h];c[l]=u[l];var p=[{verticalAlign:"middle"},{align:"center"}];return{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:p[l]}},e}(gU);function LU(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var PU={line:function(t,e,n){var i=CU([e,n[0]],[e,n[1]],OU(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:DU([e-i/2,n[0]],[i,r],OU(t))}}};function OU(t){return"x"===t.dim?0:1}var RU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,triggerEmphasis:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(xg),NU=cs(),EU=H;function zU(t,e,n){if(!a.node){var i=e.getZr();NU(i).records||(NU(i).records={}),VU(i,e);var r=NU(i).records[t]||(NU(i).records[t]={});r.handler=n}}function VU(t,e){function n(n,i){t.on(n,(function(n){var r=HU(e);EU(NU(t).records,(function(t){t&&i(t,n,r.dispatchAction)})),BU(r.pendings,e)}))}NU(t).initialized||(NU(t).initialized=!0,n("click",K(FU,"click")),n("mousemove",K(FU,"mousemove")),n("globalout",GU))}function BU(t,e){var n,i=t.showTip.length,r=t.hideTip.length;i?n=t.showTip[i-1]:r&&(n=t.hideTip[r-1]),n&&(n.dispatchAction=null,e.dispatchAction(n))}function GU(t,e,n){t.handler("leave",null,n)}function FU(t,e,n,i){e.handler(t,n,i)}function HU(t){var e={showTip:[],hideTip:[]},n=function(i){var r=e[i.type];r?r.push(i):(i.dispatchAction=n,t.dispatchAction(i))};return{dispatchAction:n,pendings:e}}function WU(t,e){if(!a.node){var n=e.getZr(),i=(NU(n).records||{})[t];i&&(NU(n).records[t]=null)}}var UU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";zU("axisPointer",n,(function(t,e,n){"none"!==r&&("leave"===t||r.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){WU("axisPointer",e)},e.prototype.dispose=function(t,e){WU("axisPointer",e)},e.type="axisPointer",e}(Ym);function YU(t,e){var n,i=[],r=t.seriesIndex;if(null==r||!(n=e.getSeriesByIndex(r)))return{point:[]};var o=n.getData(),a=hs(o,t);if(null==a||a<0||J(a))return{point:[]};var s=o.getItemGraphicEl(a),l=n.coordinateSystem;if(n.getTooltipPosition)i=n.getTooltipPosition(a)||[];else if(l&&l.dataToPoint)if(t.isStacked){var u=l.getBaseAxis(),h=l.getOtherAxis(u),c=h.dim,p=u.dim,d="x"===c||"radius"===c?1:0,f=o.mapDimension(p),g=[];g[d]=o.get(f,a),g[1-d]=o.get(o.getCalculationInfo("stackResultDimension"),a),i=l.dataToPoint(g)||[]}else i=l.dataToPoint(o.getValues(W(l.dimensions,(function(t){return o.mapDimension(t)})),a))||[];else if(s){var y=s.getBoundingRect().clone();y.applyTransform(s.transform),i=[y.x+y.width/2,y.y+y.height/2]}return{point:i,el:s}}var XU=cs();function ZU(t,e,n){var i=t.currTrigger,r=[t.x,t.y],o=t,a=t.dispatchAction||q(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){iY(r)&&(r=YU({seriesIndex:o.seriesIndex,dataIndex:o.dataIndex},e).point);var l=iY(r),u=o.axesInfo,h=s.axesInfo,c="leave"===i||iY(r),p={},d={},f={list:[],map:{}},g={showPointer:K(KU,d),showTooltip:K(JU,f)};H(s.coordSysMap,(function(t,e){var n=l||t.containPoint(r);H(s.coordSysAxesInfo[e],(function(t,e){var i=t.axis,o=eY(u,t);if(!c&&n&&(!u||o)){var a=o&&o.value;null!=a||l||(a=i.pointToData(r)),null!=a&&jU(t,a,g,!1,p)}}))}));var y={};return H(h,(function(t,e){var n=t.linkGroup;n&&!d[e]&&H(n.axesInfo,(function(e,i){var r=d[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,nY(e),nY(t)))),y[t.key]=o}}))})),H(y,(function(t,e){jU(h[e],t,g,!0,p)})),$U(d,h,p),QU(f,r,t,a),tY(h,a,n),p}}function jU(t,e,n,i,r){var o=t.axis;if(!o.scale.isBlank()&&o.containData(e))if(t.involveSeries){var a=qU(e,t),s=a.payloadBatch,l=a.snapToValue;s[0]&&null==r.seriesIndex&&N(r,s[0]),!i&&t.snap&&o.containData(l)&&null!=l&&(e=l),n.showPointer(t,e,s),n.showTooltip(t,a,l)}else n.showPointer(t,e)}function qU(t,e){var n=e.axis,i=n.dim,r=t,o=[],a=Number.MAX_VALUE,s=-1;return H(e.seriesModels,(function(e,l){var u,h,c=e.getData().mapDimensionsAll(i);if(e.getAxisTooltipData){var p=e.getAxisTooltipData(c,t,n);h=p.dataIndices,u=p.nestestValue}else{if(h=e.getData().indicesOfNearest(c[0],t,"category"===n.type?.5:null),!h.length)return;u=e.getData().get(c[0],h[0])}if(null!=u&&isFinite(u)){var d=t-u,f=Math.abs(d);f<=a&&((f=0&&s<0)&&(a=f,s=d,r=u,o.length=0),H(h,(function(t){o.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:o,snapToValue:r}}function KU(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function JU(t,e,n,i){var r=n.payloadBatch,o=e.axis,a=o.model,s=e.axisPointerModel;if(e.triggerTooltip&&r.length){var l=e.coordSys.model,u=RL(l),h=t.map[u];h||(h=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(h)),h.dataByAxis.push({axisDim:o.dim,axisIndex:a.componentIndex,axisType:a.type,axisId:a.id,value:i,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:r.slice()})}}function $U(t,e,n){var i=n.axesInfo=[];H(e,(function(e,n){var r=e.axisPointerModel.option,o=t[n];o?(!e.useHandle&&(r.status="show"),r.value=o.value,r.seriesDataIndices=(o.payloadBatch||[]).slice()):!e.useHandle&&(r.status="hide"),"show"===r.status&&i.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:r.value})}))}function QU(t,e,n,i){if(!iY(e)&&t.list.length){var r=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:r.dataIndexInside,dataIndex:r.dataIndex,seriesIndex:r.seriesIndex,dataByCoordSys:t.list})}else i({type:"hideTip"})}function tY(t,e,n){var i=n.getZr(),r="axisPointerLastHighlights",o=XU(i)[r]||{},a=XU(i)[r]={};H(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&H(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;a[e]=t}))}));var s=[],l=[];H(o,(function(t,e){!a[e]&&l.push(t)})),H(a,(function(t,e){!o[e]&&s.push(t)})),l.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:l}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}function eY(t,e){for(var n=0;n<(t||[]).length;n++){var i=t[n];if(e.axis.dim===i.axisDim&&e.axis.model.componentIndex===i.axisIndex)return i}}function nY(t){var e=t.axis.model,n={},i=n.axisDim=t.axis.dim;return n.axisIndex=n[i+"AxisIndex"]=e.componentIndex,n.axisName=n[i+"AxisName"]=e.name,n.axisId=n[i+"AxisId"]=e.id,n}function iY(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function rY(t){EL.registerAxisPointerClass("CartesianAxisPointer",kU),t.registerComponentModel(RU),t.registerComponentView(UU),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!J(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=ML(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},ZU)}function oY(t){Jb(jL),Jb(rY)}var aY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis;"angle"===o.dim&&(this.animationThreshold=Math.PI/18);var a=o.polar,s=a.getOtherAxis(o),l=s.getExtent(),u=o.dataToCoord(e),h=i.get("type");if(h&&"none"!==h){var c=wU(i),p=lY[h](o,a,u,l);p.style=c,t.graphicKey=p.type,t.pointer=p}var d=i.get(["label","margin"]),f=sY(e,n,i,a,d);bU(t,n,i,r,f)},e}(gU);function sY(t,e,n,i,r){var o=e.axis,a=o.dataToCoord(t),s=i.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var l,u,h,c=i.getRadiusAxis().getExtent();if("radius"===o.dim){var p=Ee();Fe(p,p,s),Ge(p,p,[i.cx,i.cy]),l=od([a,-r],p);var d=e.getModel("axisLabel").get("rotate")||0,f=dL.innerTextLayout(s,d*Math.PI/180,-1);u=f.textAlign,h=f.textVerticalAlign}else{var g=c[1];l=i.coordToPoint([g+r,a]);var y=i.cx,v=i.cy;u=Math.abs(l[0]-y)/g<.3?"center":l[0]>y?"left":"right",h=Math.abs(l[1]-v)/g<.3?"middle":l[1]>v?"top":"bottom"}return{position:l,align:u,verticalAlign:h}}var lY={line:function(t,e,n,i){return"angle"===t.dim?{type:"Line",shape:CU(e.coordToPoint([i[0],n]),e.coordToPoint([i[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,i){var r=Math.max(1,t.getBandWidth()),o=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:AU(e.cx,e.cy,i[0],i[1],(-n-r/2)*o,(r/2-n)*o)}:{type:"Sector",shape:AU(e.cx,e.cy,n-r/2,n+r/2,0,2*Math.PI)}}},uY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.findAxisModel=function(t){var e,n=this.ecModel;return n.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(xg),hY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",gs).models[0]},e.type="polarAxis",e}(xg);G(hY,pI);var cY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="angleAxis",e}(hY),pY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="radiusAxis",e}(hY),dY=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(iT);dY.prototype.dataToRadius=iT.prototype.dataToCoord,dY.prototype.radiusToData=iT.prototype.coordToData;var fY=cs(),gY=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return i(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,i=n.getExtent(),r=n.count();if(i[1]-i[0]<1)return 0;var o=i[0],a=t.dataToCoord(o+1)-t.dataToCoord(o),s=Math.abs(a),l=mo(null==o?"":o+"",e.getFont(),"center","top"),u=Math.max(l.height,7),h=u/s;isNaN(h)&&(h=1/0);var c=Math.max(0,Math.floor(h)),p=fY(t.model),d=p.lastAutoInterval,f=p.lastTickCount;return null!=d&&null!=f&&Math.abs(d-c)<=1&&Math.abs(f-r)<=1&&d>c?c=d:(p.lastTickCount=r,p.lastAutoInterval=c),c},e}(iT);gY.prototype.dataToAngle=iT.prototype.dataToCoord,gY.prototype.angleToData=iT.prototype.coordToData;var yY=["radius","angle"],vY=function(){function t(t){this.dimensions=yY,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new dY,this._angleAxis=new gY,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){var e="_"+t+"Axis";return this[e]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,i=this._radiusAxis;return n.scale.type===t&&e.push(n),i.scale.type===t&&e.push(i),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,i=this.getAngleAxis(),r=i.getExtent(),o=Math.min(r[0],r[1]),a=Math.max(r[0],r[1]);i.inverse?o=a-360:a=o+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;var l=Math.atan2(-n,e)/Math.PI*180,u=la)l+=360*u;return[s,l]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI,i=Math.cos(n)*e+this.cx,r=-Math.sin(n)*e+this.cy;return[i,r]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis(),n=e.getExtent().slice();n[0]>n[1]&&n.reverse();var i=t.getExtent(),r=Math.PI/180,o=1e-4;return{cx:this.cx,cy:this.cy,r0:n[0],r:n[1],startAngle:-i[0]*r,endAngle:-i[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,i=e-this.cy,r=n*n+i*i,a=this.r,s=this.r0;return a!==s&&r-o<=a*a&&r+o>=s*s}}},t.prototype.convertToPixel=function(t,e,n){var i=mY(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=mY(e);return i===this?this.pointToData(n):null},t}();function mY(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function xY(t,e,n){var i=e.get("center"),r=n.getWidth(),o=n.getHeight();t.cx=ia(i[0],r),t.cy=ia(i[1],o);var a=t.getRadiusAxis(),s=Math.min(r,o)/2,l=e.get("radius");null==l?l=[0,"100%"]:J(l)||(l=[0,l]);var u=[ia(l[0],s),ia(l[1],s)];a.inverse?a.setExtent(u[1],u[0]):a.setExtent(u[0],u[1])}function _Y(t,e){var n=this,i=n.getAngleAxis(),r=n.getRadiusAxis();if(i.scale.setExtent(1/0,-1/0),r.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();H(hI(e,"radius"),(function(t){r.scale.unionExtentFromData(e,t)})),H(hI(e,"angle"),(function(t){i.scale.unionExtentFromData(e,t)}))}})),eI(i.scale,i.model),eI(r.scale,r.model),"category"===i.type&&!i.onBand){var o=i.getExtent(),a=360/i.scale.count();i.inverse?o[1]+=a:o[1]-=a,i.setExtent(o[0],o[1])}}function wY(t){return"angleAxis"===t.mainType}function bY(t,e){var n;if(t.type=e.get("type"),t.scale=nI(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),wY(e)){t.inverse=t.inverse!==e.get("clockwise");var i=e.get("startAngle"),r=null!==(n=e.get("endAngle"))&&void 0!==n?n:i+(t.inverse?-360:360);t.setExtent(i,r)}e.axis=t,t.model=e}var SY={dimensions:yY,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,i){var r=new vY(i+"");r.update=_Y;var o=r.getRadiusAxis(),a=r.getAngleAxis(),s=t.findAxisModel("radiusAxis"),l=t.findAxisModel("angleAxis");bY(o,s),bY(a,l),xY(r,t,e),n.push(r),t.coordinateSystem=r,r.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",gs).models[0];if(!e)throw new Error('Polar "'+ht(t.get("polarIndex"),t.get("polarId"),0)+'" not found');t.coordinateSystem=e.coordinateSystem}})),n}},MY=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function IY(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var i=t.coordToPoint([e[0],n]),r=t.coordToPoint([e[1],n]);return{x1:i[0],y1:i[1],x2:r[0],y2:r[1]}}function TY(t){var e=t.getRadiusAxis();return e.inverse?0:1}function CY(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var DY=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return i(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,i=n.polar,r=i.getRadiusAxis().getExtent(),o=n.getTicksCoords(),a=n.getMinorTicksCoords(),s=W(n.getViewLabels(),(function(t){t=P(t);var e=n.scale,i="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(i),t}));CY(s),CY(o),H(MY,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||AY[e](this.group,t,i,o,a,r,s)}),this)}},e.type="angleAxis",e}(EL),AY={axisLine:function(t,e,n,i,r,o){var a,s=e.getModel(["axisLine","lineStyle"]),l=n.getAngleAxis(),u=Math.PI/180,h=l.getExtent(),c=TY(n),p=c?0:1,d=360===Math.abs(h[1]-h[0])?"Circle":"Arc";a=0===o[p]?new _d[d]({shape:{cx:n.cx,cy:n.cy,r:o[c],startAngle:-h[0]*u,endAngle:-h[1]*u,clockwise:l.inverse},style:s.getLineStyle(),z2:1,silent:!0}):new rp({shape:{cx:n.cx,cy:n.cy,r:o[c],r0:o[p]},style:s.getLineStyle(),z2:1,silent:!0}),a.style.fill=null,t.add(a)},axisTick:function(t,e,n,i,r,o){var a=e.getModel("axisTick"),s=(a.get("inside")?-1:1)*a.get("length"),l=o[TY(n)],u=W(i,(function(t){return new dp({shape:IY(n,[l,l+s],t.coord)})}));t.add(Qp(u,{style:E(a.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,i,r,o){if(r.length){for(var a=e.getModel("axisTick"),s=e.getModel("minorTick"),l=(a.get("inside")?-1:1)*s.get("length"),u=o[TY(n)],h=[],c=0;cf?"left":"right",v=Math.abs(d[1]-g)/p<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[c]){var m=s[c];nt(m)&&m.textStyle&&(a=new jd(m.textStyle,l,l.ecModel))}var x=new Bu({silent:dL.isLabelSilent(e),style:Td(a,{x:d[0],y:d[1],fill:a.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:i.formattedLabel,align:y,verticalAlign:v})});if(t.add(x),h){var _=dL.makeAxisEventDataBase(e);_.targetType="axisLabel",_.value=i.rawLabel,Qu(x).eventData=_}}),this)},splitLine:function(t,e,n,i,r,o){var a=e.getModel("splitLine"),s=a.getModel("lineStyle"),l=s.get("color"),u=0;l=l instanceof Array?l:[l];for(var h=[],c=0;c=0?"p":"n",D=b;m&&(i[s][T]||(i[s][T]={p:b,n:b}),D=i[s][T][C]);var A=void 0,k=void 0,L=void 0,P=void 0;if("radius"===c.dim){var O=c.dataToCoord(I)-b,R=o.dataToCoord(T);Math.abs(O)=P})}}}))}function VY(t){var e={};H(t,(function(t,n){var i=t.getData(),r=t.coordinateSystem,o=r.getBaseAxis(),a=EY(r,o),s=o.getExtent(),l="category"===o.type?o.getBandWidth():Math.abs(s[1]-s[0])/i.count(),u=e[a]||{bandWidth:l,remainedWidth:l,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},h=u.stacks;e[a]=u;var c=NY(t);h[c]||u.autoWidthCount++,h[c]=h[c]||{width:0,maxWidth:0};var p=ia(t.get("barWidth"),l),d=ia(t.get("barMaxWidth"),l),f=t.get("barGap"),g=t.get("barCategoryGap");p&&!h[c].width&&(p=Math.min(u.remainedWidth,p),h[c].width=p,u.remainedWidth-=p),d&&(h[c].maxWidth=d),null!=f&&(u.gap=f),null!=g&&(u.categoryGap=g)}));var n={};return H(e,(function(t,e){n[e]={};var i=t.stacks,r=t.bandWidth,o=ia(t.categoryGap,r),a=ia(t.gap,1),s=t.remainedWidth,l=t.autoWidthCount,u=(s-o)/(l+(l-1)*a);u=Math.max(u,0),H(i,(function(t,e){var n=t.maxWidth;n&&n=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),i=[],r="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),i[r]=e.toGlobalCoord(e.dataToCoord(+t)),i[1-r]=0===r?n.y+n.height/2:n.x+n.width/2,i},t.prototype.convertToPixel=function(t,e,n){var i=$Y(e);return i===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var i=$Y(e);return i===this?this.pointToData(n):null},t}();function $Y(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}function QY(t,e){var n=[];return t.eachComponent("singleAxis",(function(i,r){var o=new JY(i,t,e);o.name="single_"+r,o.resize(i,e),i.coordinateSystem=o,n.push(o)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",gs).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n}var tX={create:QY,dimensions:KY},eX=["x","y"],nX=["width","height"],iX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.coordinateSystem,s=aX(a,1-oX(o)),l=a.dataToPoint(e)[0],u=i.get("type");if(u&&"none"!==u){var h=wU(i),c=rX[u](o,l,s);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=WY(n);TU(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=WY(e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=IU(e.axis,t,i);return{x:r[0],y:r[1],rotation:i.rotation+(i.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,i){var r=n.axis,o=r.coordinateSystem,a=oX(r),s=aX(o,a),l=[t.x,t.y];l[a]+=e[a],l[a]=Math.min(s[1],l[a]),l[a]=Math.max(s[0],l[a]);var u=aX(o,1-a),h=(u[1]+u[0])/2,c=[h,h];return c[a]=l[a],{x:l[0],y:l[1],rotation:t.rotation,cursorPoint:c,tooltipOption:{verticalAlign:"middle"}}},e}(gU),rX={line:function(t,e,n){var i=CU([e,n[0]],[e,n[1]],oX(t));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(t,e,n){var i=t.getBandWidth(),r=n[1]-n[0];return{type:"Rect",shape:DU([e-i/2,n[0]],[i,r],oX(t))}}};function oX(t){return t.isHorizontal()?0:1}function aX(t,e){var n=t.getRect();return[n[eX[e]],n[eX[e]]+n[nX[e]]]}var sX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="single",e}(Ym);function lX(t){Jb(rY),EL.registerAxisPointerClass("SingleAxisPointer",iX),t.registerComponentView(sX),t.registerComponentView(XY),t.registerComponentModel(jY),qk(t,"single",jY,jY.defaultOption),t.registerCoordinateSystem("single",tX)}var uX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(e,n,i){var r=yg(e);t.prototype.init.apply(this,arguments),hX(e,r)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),hX(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(xg);function hX(t,e){var n,i=t.cellSize;n=J(i)?i:t.cellSize=[i,i],1===n.length&&(n[1]=n[0]);var r=W([0,1],(function(t){return dg(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));gg(t,e,{type:"box",ignoreSize:r})}var cX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){var i=this.group;i.removeAll();var r=t.coordinateSystem,o=r.getRangeInfo(),a=r.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,o,i),this._renderLines(t,o,a,i),this._renderYearText(t,o,a,i),this._renderMonthText(t,s,a,i),this._renderWeekText(t,s,o,a,i)},e.prototype._renderDayRect=function(t,e,n){for(var i=t.coordinateSystem,r=t.getModel("itemStyle").getItemStyle(),o=i.getCellWidth(),a=i.getCellHeight(),s=e.start.time;s<=e.end.time;s=i.getNextNDay(s,1).time){var l=i.dataToRect([s],!1).tl,u=new Nu({shape:{x:l[0],y:l[1],width:o,height:a},cursor:"default",style:r});n.add(u)}},e.prototype._renderLines=function(t,e,n,i){var r=this,o=t.coordinateSystem,a=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),l=a.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var u=e.start,h=0;u.time<=e.end.time;h++){p(u.formatedDate),0===h&&(u=o.getDateInfo(e.start.y+"-"+e.start.m));var c=u.date;c.setMonth(c.getMonth()+1),u=o.getDateInfo(c)}function p(e){r._firstDayOfMonth.push(o.getDateInfo(e)),r._firstDayPoints.push(o.dataToRect([e],!1).tl);var l=r._getLinePointsOfOneWeek(t,e,n);r._tlpoints.push(l[0]),r._blpoints.push(l[l.length-1]),s&&r._drawSplitline(l,a,i)}p(o.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(r._getEdgesPoints(r._tlpoints,l,n),a,i),s&&this._drawSplitline(r._getEdgesPoints(r._blpoints,l,n),a,i)},e.prototype._getEdgesPoints=function(t,e,n){var i=[t[0].slice(),t[t.length-1].slice()],r="horizontal"===n?0:1;return i[0][r]=i[0][r]-e/2,i[1][r]=i[1][r]+e/2,i},e.prototype._drawSplitline=function(t,e,n){var i=new hp({z2:20,shape:{points:t},style:e});n.add(i)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var i=t.coordinateSystem,r=i.getDateInfo(e),o=[],a=0;a<7;a++){var s=i.getNextNDay(r.time,a),l=i.dataToRect([s.time],!1);o[2*s.day]=l.tl,o[2*s.day+1]=l["horizontal"===n?"bl":"tr"]}return o},e.prototype._formatterLabel=function(t,e){return Q(t)&&t?Qf(t,e):$(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,i,r){var o=e[0],a=e[1],s=["center","bottom"];"bottom"===i?(a+=r,s=["center","top"]):"left"===i?o-=r:"right"===i?(o+=r,s=["center","top"]):a-=r;var l=0;return"left"!==i&&"right"!==i||(l=Math.PI/2),{rotation:l,x:o,y:a,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,i){var r=t.getModel("yearLabel");if(r.get("show")){var o=r.get("margin"),a=r.get("position");a||(a="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],l=(s[0][0]+s[1][0])/2,u=(s[0][1]+s[1][1])/2,h="horizontal"===n?0:1,c={top:[l,s[h][1]],bottom:[l,s[1-h][1]],left:[s[1-h][0],u],right:[s[h][0],u]},p=e.start.y;+e.end.y>+e.start.y&&(p=p+"-"+e.end.y);var d=r.get("formatter"),f={start:e.start.y,end:e.end.y,nameMap:p},g=this._formatterLabel(d,f),y=new Bu({z2:30,style:Td(r,{text:g}),silent:r.get("silent")});y.attr(this._yearTextPositionControl(y,c[a],n,a,o)),i.add(y)}},e.prototype._monthTextPositionControl=function(t,e,n,i,r){var o="left",a="top",s=t[0],l=t[1];return"horizontal"===n?(l+=r,e&&(o="center"),"start"===i&&(a="bottom")):(s+=r,e&&(a="middle"),"start"===i&&(o="right")),{x:s,y:l,align:o,verticalAlign:a}},e.prototype._renderMonthText=function(t,e,n,i){var r=t.getModel("monthLabel");if(r.get("show")){var o=r.get("nameMap"),a=r.get("margin"),s=r.get("position"),l=r.get("align"),u=[this._tlpoints,this._blpoints];o&&!Q(o)||(o&&(e=cf(o)||e),o=e.get(["time","monthAbbr"])||[]);var h="start"===s?0:1,c="horizontal"===n?0:1;a="start"===s?-a:a;for(var p="center"===l,d=r.get("silent"),f=0;f=i.start.time&&n.timea.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var i=Math.floor(n[1].time/pX)-Math.floor(n[0].time/pX)+1,r=new Date(n[0].time),o=r.getDate(),a=n[1].date.getDate();r.setDate(o+i-1);var s=r.getDate();if(s!==a){var l=r.getTime()-n[1].time>0?1:-1;while((s=r.getDate())!==a&&(r.getTime()-n[1].time)*l>0)i-=l,r.setDate(s-l)}var u=Math.floor((i+n[0].day+6)/7),h=e?1-u:u-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:i,weeks:u,nthWeek:h,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var i=this._getRangeInfo(n);if(t>i.weeks||0===t&&ei.lweek)return null;var r=7*(t-1)-i.fweek+e,o=new Date(i.start.time);return o.setDate(+i.start.d+r),this.getDateInfo(o)},t.create=function(e,n){var i=[];return e.eachComponent("calendar",(function(r){var o=new t(r,e,n);i.push(o),r.coordinateSystem=o})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=i[t.get("calendarIndex")||0])})),i},t.dimensions=["time","value"],t}();function fX(t){var e=t.calendarModel,n=t.seriesModel,i=e?e.coordinateSystem:n?n.coordinateSystem:null;return i}function gX(t){t.registerComponentModel(uX),t.registerComponentView(cX),t.registerCoordinateSystem("calendar",dX)}function yX(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var i=e.parentOption;i?e.parentId=i.id:n&&(e.parentId=n.parentId)}e.parentOption=null}function vX(t,e){var n;return H(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}function mX(t,e,n){var i=N({},n),r=t[e],o=n.$action||"merge";if("merge"===o)if(r){var a=n.type;gt(!a||r.type===a,'Please set $action: "replace" to change `type`'),O(r,i,!0),gg(r,i,{ignoreSize:!0}),vg(n,r),wX(n,r),wX(n,r,"shape"),wX(n,r,"style"),wX(n,r,"extra"),n.clipPath=r.clipPath}else t[e]=i;else"replace"===o?t[e]=i:"remove"===o&&r&&(t[e]=null)}var xX=["transition","enterFrom","leaveTo"],_X=xX.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function wX(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var i=n?xX:_X,r=0;r=0;l--){u=n[l],h=es(u.id,null),c=null!=h?r.get(h):null;if(c){p=c.parent,g=IX(p);var y=p===i?{width:o,height:a}:{width:g.width,height:g.height},v={},m=pg(c,u,y,null,{hv:u.hv,boundingMode:u.bounding},v);if(!IX(c).isNew&&m){for(var x=u.transition,_={},w=0;w=0)?_[b]=S:c[b]=S}Rp(c,_,t,0)}else c.attr(v)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){AX(n,IX(n).option,e,t._lastGraphicModel)})),this._elMap=Mt()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(Ym);function CX(t){gt(t,"graphic type MUST be set");var e=Dt(MX,t)?MX[t]:qp(t);gt(e,"graphic type "+t+" can not be found");var n=new e({});return IX(n).type=t,n}function DX(t,e,n,i){var r=CX(n);return e.add(r),i.set(t,r),IX(r).id=t,IX(r).isNew=!0,r}function AX(t,e,n,i){var r=t&&t.parent;r&&("group"===t.type&&t.traverse((function(t){AX(t,e,n,i)})),sW(t,e,i),n.removeKey(IX(t).id))}function kX(t,e,n,i){t.isGroup||H([["cursor",dl.prototype.cursor],["zlevel",i||0],["z",n||0],["z2",0]],(function(n){var i=n[0];Dt(e,i)?t[i]=ct(e[i],n[1]):null==t[i]&&(t[i]=n[1])})),H(Z(e),(function(n){if(0===n.indexOf("on")){var i=e[n];t[n]=$(i)?i:null}})),Dt(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}function LX(t){return t=N({},t),H(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(ag),(function(e){delete t[e]})),t}function PX(t,e,n){var i=Qu(t).eventData;t.silent||t.ignore||i||(i=Qu(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name}),i&&(i.info=n.info)}function OX(t){t.registerComponentModel(SX),t.registerComponentView(TX),t.registerPreprocessor((function(t){var e=t.graphic;J(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))}var RX=["x","y","radius","angle","single"],NX=["cartesian2d","polar","singleAxis"];function EX(t){var e=t.get("coordinateSystem");return V(NX,e)>=0}function zX(t){return gt(t),t+"Axis"}function VX(t,e){var n,i=Mt(),r=[],o=Mt();t.eachComponent({mainType:"dataZoom",query:e},(function(t){o.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",a)}while(n);function a(t){!o.get(t.uid)&&l(t)&&(s(t),n=!0)}function s(t){o.set(t.uid,!0),r.push(t),u(t)}function l(t){var e=!1;return t.eachTargetAxis((function(t,n){var r=i.get(t);r&&r[n]&&(e=!0)})),e}function u(t){t.eachTargetAxis((function(t,e){(i.get(t)||i.set(t,[]))[e]=!0}))}return r}function BX(t){var e=t.ecModel,n={infoList:[],infoMap:Mt()};return t.eachTargetAxis((function(t,i){var r=e.getComponent(zX(t),i);if(r){var o=r.getCoordSysModel();if(o){var a=o.uid,s=n.infoMap.get(a);s||(s={model:o,axisModels:[]},n.infoList.push(s),n.infoMap.set(a,s)),s.axisModels.push(r)}}})),n}var GX=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),FX=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return i(e,t),e.prototype.init=function(t,e,n){var i=HX(t);this.settledOption=i,this.mergeDefaultAndTheme(t,n),this._doInit(i)},e.prototype.mergeOption=function(t){var e=HX(t);O(this.option,t,!0),O(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;H([["start","startValue"],["end","endValue"]],(function(t,i){"value"===this._rangePropMode[i]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=Mt(),n=this._fillSpecifiedTargetAxis(e);n?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return H(RX,(function(n){var i=this.getReferringComponents(zX(n),ys);if(i.specified){e=!0;var r=new GX;H(i.models,(function(t){r.add(t.componentIndex)})),t.set(n,r)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,i=!0;if(i){var r="vertical"===e?"y":"x",o=n.findComponents({mainType:r+"Axis"});a(o,r)}if(i){o=n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}});a(o,"single")}function a(e,n){var r=e[0];if(r){var o=new GX;if(o.add(r.componentIndex),t.set(n,o),i=!1,"x"===n||"y"===n){var a=r.getReferringComponents("grid",gs).models[0];a&&H(e,(function(t){r.componentIndex!==t.componentIndex&&a===t.getReferringComponents("grid",gs).models[0]&&o.add(t.componentIndex)}))}}}i&&H(RX,(function(e){if(i){var r=n.findComponents({mainType:zX(e),filter:function(t){return"category"===t.get("type",!0)}});if(r[0]){var o=new GX;o.add(r[0].componentIndex),t.set(e,o),i=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");H([["start","startValue"],["end","endValue"]],(function(i,r){var o=null!=t[i[0]],a=null!=t[i[1]];o&&!a?e[r]="percent":!o&&a?e[r]="value":n?e[r]=n[r]:o&&(e[r]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(zX(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,i){H(n.indexList,(function(n){t.call(e,i,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){gt(t&&null!=e);var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(zX(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;H([["start","startValue"],["end","endValue"]],(function(i){null==t[i[0]]&&null==t[i[1]]||(e[i[0]]=n[i[0]]=t[i[0]],e[i[1]]=n[i[1]]=t[i[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;H(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),i=0;io[1];if(h&&!c&&!p)return!0;h&&(r=!0),c&&(e=!0),p&&(n=!0)}return r&&e&&n}))}else XX(i,(function(n){if("empty"===r)t.setData(e=e.map(n,(function(t){return a(t)?t:NaN})));else{var i={};i[n]=o,e.selectRange(i)}}));XX(i,(function(t){e.setApproximateExtent(o,t)}))}}))}function a(t){return t>=o[0]&&t<=o[1]}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;XX(["min","max"],(function(i){var r=e.get(i+"Span"),o=e.get(i+"ValueSpan");null!=o&&(o=this.getAxisModel().axis.scale.parse(o)),null!=o?r=na(n[0]+o,n,[0,100],!0):null!=r&&(o=na(r,[0,100],n,!0)-n[0]),t[i+"Span"]=r,t[i+"ValueSpan"]=o}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var i=la(n,[0,500]);i=Math.min(i,20);var r=t.axis.scale.rawExtentInfo;0!==e[0]&&r.setDeterminedMinMax("min",+n[0].toFixed(i)),100!==e[1]&&r.setDeterminedMinMax("max",+n[1].toFixed(i)),r.freeze()}},t}();function qX(t,e,n){var i=[1/0,-1/0];XX(n,(function(t){cI(i,t.getData(),e)}));var r=t.getAxisModel(),o=JM(r.axis.scale,r,i).calculate();return[o.min,o.max]}var KX={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(i,r){var o=t.getComponent(zX(i),r);e(i,r,o,n)}))}))}e((function(t,e,n,i){n.__dzAxisProxy=null}));var n=[];e((function(e,i,r,o){r.__dzAxisProxy||(r.__dzAxisProxy=new jX(e,i,o,t),n.push(r.__dzAxisProxy))}));var i=Mt();return H(n,(function(t){H(t.getTargetSeriesModels(),(function(t){i.set(t.uid,t)}))})),i},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,i){t.getAxisProxy(n,i).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),i=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:i[0],endValue:i[1]})}}))}};function JX(t){t.registerAction("dataZoom",(function(t,e){var n=VX(e,t);H(n,(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}var $X=!1;function QX(t){$X||($X=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,KX),JX(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function tZ(t){t.registerComponentModel(WX),t.registerComponentView(YX),QX(t)}var eZ=function(){function t(){}return t}(),nZ={};function iZ(t,e){nZ[t]=e}function rZ(t){return nZ[t]}var oZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;H(this.option.feature,(function(t,n){var i=rZ(n);i&&(i.getDefaultOption&&(i.defaultOption=i.getDefaultOption(e)),O(t,i.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(xg);function aZ(t,e,n){var i=e.getBoxLayoutParams(),r=e.get("padding"),o={width:n.getWidth(),height:n.getHeight()},a=cg(i,o,r);ug(e.get("orient"),t,e.get("itemGap"),a.width,a.height),pg(t,i,o,r)}function sZ(t,e){var n=jf(e.get("padding")),i=e.getItemStyle(["color","opacity"]);return i.fill=e.get("backgroundColor"),t=new Nu({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:i,silent:!0,z2:-1}),t}var lZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,i){var r=this.group;if(r.removeAll(),t.get("show")){var o=+t.get("itemSize"),a="vertical"===t.get("orient"),s=t.get("feature")||{},l=this._features||(this._features={}),u=[];H(s,(function(t,e){u.push(e)})),new tS(this._featureNames||[],u).add(h).update(h).remove(K(h,null)).execute(),this._featureNames=u,aZ(r,t,n),r.add(sZ(r.getBoundingRect(),t)),a||r.eachChild((function(t){var e=t.__title,i=t.ensureState("emphasis"),a=i.textConfig||(i.textConfig={}),s=t.getTextContent(),l=s&&s.ensureState("emphasis");if(l&&!$(l)&&e){var u=l.style||(l.style={}),h=mo(e,Bu.makeFont(u)),c=t.x+r.x,p=t.y+r.y+o,d=!1;p+h.height>n.getHeight()&&(a.position="top",d=!0);var f=d?-5-h.height:o+10;c+h.width/2>n.getWidth()?(a.position=["100%",f],u.align="right"):c-h.width/2<0&&(a.position=[0,f],u.align="left")}}))}function h(r,o){var a,h=u[r],p=u[o],d=s[h],f=new jd(d,t,t.ecModel);if(i&&null!=i.newTitle&&i.featureName===h&&(d.title=i.newTitle),h&&!p){if(uZ(h))a={onclick:f.option.onclick,featureName:h};else{var g=rZ(h);if(!g)return;a=new g}l[h]=a}else if(a=l[p],!a)return;a.uid=Kd("toolbox-feature"),a.model=f,a.ecModel=e,a.api=n;var y=a instanceof eZ;h||!p?!f.get("show")||y&&a.unusable?y&&a.remove&&a.remove(e,n):(c(f,a,h),f.setIconStatus=function(t,e){var n=this.option,i=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,i[t]&&("emphasis"===e?Eh:zh)(i[t])},a instanceof eZ&&a.render&&a.render(f,e,n,i)):y&&a.dispose&&a.dispose(e,n)}function c(i,s,l){var u,h,c=i.getModel("iconStyle"),p=i.getModel(["emphasis","iconStyle"]),d=s instanceof eZ&&s.getIcons?s.getIcons():i.get("icon"),f=i.get("title")||{};Q(d)?(u={},u[l]=d):u=d,Q(f)?(h={},h[l]=f):h=f;var g=i.iconPaths={};H(u,(function(l,u){var d=pd(l,{},{x:-o/2,y:-o/2,width:o,height:o});d.setStyle(c.getItemStyle());var f=d.ensureState("emphasis");f.style=p.getItemStyle();var y=new Bu({style:{text:h[u],align:p.get("textAlign"),borderRadius:p.get("textBorderRadius"),padding:p.get("textPadding"),fill:null,font:Rd({fontStyle:p.get("textFontStyle"),fontFamily:p.get("textFontFamily"),fontSize:p.get("textFontSize"),fontWeight:p.get("textFontWeight")},e)},ignore:!0});d.setTextContent(y),vd({el:d,componentModel:t,itemName:u,formatterParamsExtra:{title:h[u]}}),d.__title=h[u],d.on("mouseover",(function(){var e=p.getItemStyle(),i=a?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";y.setStyle({fill:p.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:p.get("textBackgroundColor")}),d.setTextConfig({position:p.get("textPosition")||i}),y.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==i.get(["iconStatus",u])&&n.leaveEmphasis(this),y.hide()})),("emphasis"===i.get(["iconStatus",u])?Eh:zh)(d),r.add(d),d.on("click",q(s.onclick,s,e,n,u)),g[u]=d}))}},e.prototype.updateView=function(t,e,n,i){H(this._features,(function(t){t instanceof eZ&&t.updateView&&t.updateView(t.model,e,n,i)}))},e.prototype.remove=function(t,e){H(this._features,(function(n){n instanceof eZ&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){H(this._features,(function(n){n instanceof eZ&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(Ym);function uZ(t){return 0===t.indexOf("my")}var hZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){var n=this.model,i=n.get("name")||t.get("title.0.text")||"echarts",r="svg"===e.getZr().painter.getType(),o=r?"svg":n.get("type",!0)||"png",s=e.getConnectedDataURL({type:o,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),l=a.browser;if("function"!==typeof MouseEvent||!l.newEdge&&(l.ie||l.edge))if(window.navigator.msSaveOrOpenBlob||r){var u=s.split(","),h=u[0].indexOf("base64")>-1,c=r?decodeURIComponent(u[1]):u[1];h&&(c=window.atob(c));var p=i+"."+o;if(window.navigator.msSaveOrOpenBlob){var d=c.length,f=new Uint8Array(d);while(d--)f[d]=c.charCodeAt(d);var g=new Blob([f]);window.navigator.msSaveOrOpenBlob(g,p)}else{var y=document.createElement("iframe");document.body.appendChild(y);var v=y.contentWindow,m=v.document;m.open("image/svg+xml","replace"),m.write(c),m.close(),v.focus(),m.execCommand("SaveAs",!0,p),document.body.removeChild(y)}}else{var x=n.get("lang"),_='',w=window.open();w.document.write(_),w.document.title=i}else{var b=document.createElement("a");b.download=i+"."+o,b.target="_blank",b.href=s;var S=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});b.dispatchEvent(S)}},e.getDefaultOption=function(t){var e={show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])};return e},e}(eZ),cZ="__ec_magicType_stack__",pZ=[["line","bar"],["stack"]],dZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return H(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){var e={show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}};return e},e.prototype.onclick=function(t,e,n){var i=this.model,r=i.get(["seriesIndex",n]);if(fZ[n]){var o,a={series:[]},s=function(t){var e=t.subType,r=t.id,o=fZ[n](e,r,t,i);o&&(E(o,t.option),a.series.push(o));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var l=s.getAxesByScale("ordinal")[0];if(l){var u=l.dim,h=u+"Axis",c=t.getReferringComponents(h,gs).models[0],p=c.componentIndex;a[h]=a[h]||[];for(var d=0;d<=p;d++)a[h][p]=a[h][p]||{};a[h][p].boundaryGap="bar"===n}}};H(pZ,(function(t){V(t,n)>=0&&H(t,(function(t){i.setIconStatus(t,"normal")}))})),i.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==r?null:{seriesIndex:r}},s);var l=n;"stack"===n&&(o=O({stack:i.option.title.tiled,tiled:i.option.title.stack},i.option.title),"emphasis"!==i.get(["iconStatus",n])&&(l="tiled")),e.dispatchAction({type:"changeMagicType",currentType:l,newOption:a,newTitle:o,featureName:"magicType"})}},e}(eZ),fZ={line:function(t,e,n,i){if("bar"===t)return O({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","line"])||{},!0)},bar:function(t,e,n,i){if("line"===t)return O({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},i.get(["option","bar"])||{},!0)},stack:function(t,e,n,i){var r=n.get("stack")===cZ;if("line"===t||"bar"===t)return i.setIconStatus("stack",r?"normal":"emphasis"),O({id:e,stack:r?"":cZ},i.get(["option","stack"])||{},!0)}};Eb({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));var gZ=new Array(60).join("-"),yZ="\t";function vZ(t){var e={},n=[],i=[];return t.eachRawSeries((function(t){var r=t.coordinateSystem;if(!r||"cartesian2d"!==r.type&&"polar"!==r.type)n.push(t);else{var o=r.getBaseAxis();if("category"===o.type){var a=o.dim+"_"+o.index;e[a]||(e[a]={categoryAxis:o,valueAxis:r.getOtherAxis(o),series:[]},i.push({axisDim:o.dim,axisIndex:o.index})),e[a].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:i}}function mZ(t){var e=[];return H(t,(function(t,n){var i=t.categoryAxis,r=t.valueAxis,o=r.dim,a=[" "].concat(W(t.series,(function(t){return t.name}))),s=[i.model.getCategories()];H(t.series,(function(t){var e=t.getRawData();s.push(t.getRawData().mapArray(e.mapDimension(o),(function(t){return t})))}));for(var l=[a.join(yZ)],u=0;u=0)return!0}var SZ=new RegExp("["+yZ+"]+","g");function MZ(t){for(var e=t.split(/\n+/g),n=wZ(e.shift()).split(SZ),i=[],r=W(n,(function(t){return{name:t,data:[]}})),o=0;o=0;r--){var o=n[r];if(o[i])break}if(r<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:i})[0];if(a){var s=a.getPercentRange();n[0][i]={dataZoomId:i,start:s[0],end:s[1]}}}})),n.push(e)}function PZ(t){var e=NZ(t),n=e[e.length-1];e.length>1&&e.pop();var i={};return AZ(n,(function(t,n){for(var r=e.length-1;r>=0;r--)if(t=e[r][n],t){i[n]=t;break}})),i}function OZ(t){kZ(t).snapshots=null}function RZ(t){return NZ(t).length}function NZ(t){var e=kZ(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var EZ=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.onclick=function(t,e){OZ(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){var e={show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])};return e},e}(eZ);Eb({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));var zZ=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],VZ=function(){function t(t,e,n){var i=this;this._targetInfoList=[];var r=GZ(e,t);H(FZ,(function(t,e){(!n||!n.include||V(n.include,e)>=0)&&t(r,i._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var i=UZ[t.brushType](0,n,e);t.__rangeOffset={offset:XZ[t.brushType](i.values,t.range,[1,1]),xyMinMax:i.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){H(t,(function(t){var i=this.findTargetInfo(t,e);i&&!0!==i&&H(i.coordSyses,(function(i){var r=UZ[t.brushType](1,i,t.range,!0);n(t,r.values,i,e)}))}),this)},t.prototype.setInputRanges=function(t,e){H(t,(function(t){var n=this.findTargetInfo(t,e);if(gt(!n||!0===n||t.coordRange,"coordRange must be specified when coord index specified."),gt(!n||!0!==n||t.range,"range must be specified in global brush."),t.range=t.range||[],n&&!0!==n){t.panelId=n.panelId;var i=UZ[t.brushType](0,n.coordSys,t.coordRange),r=t.__rangeOffset;t.range=r?XZ[t.brushType](i.values,r.offset,jZ(i.xyMinMax,r.xyMinMax)):i.values}}),this)},t.prototype.makePanelOpts=function(t,e){return W(this._targetInfoList,(function(n){var i=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:CB(i),isTargetByCursor:AB(i,t,n.coordSysModel),getLinearBrushOtherExtent:DB(i)}}))},t.prototype.controlSeries=function(t,e,n){var i=this.findTargetInfo(t,n);return!0===i||i&&V(i.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,i=GZ(e,t),r=0;rt[1]&&t.reverse(),t}function GZ(t,e){return ds(t,e,{includeMainTypes:zZ})}var FZ={grid:function(t,e){var n=t.xAxisModels,i=t.yAxisModels,r=t.gridModels,o=Mt(),a={},s={};(n||i||r)&&(H(n,(function(t){var e=t.axis.grid.model;o.set(e.id,e),a[e.id]=!0})),H(i,(function(t){var e=t.axis.grid.model;o.set(e.id,e),s[e.id]=!0})),H(r,(function(t){o.set(t.id,t),a[t.id]=!0,s[t.id]=!0})),o.each((function(t){var r=t.coordinateSystem,o=[];H(r.getCartesians(),(function(t,e){(V(n,t.getAxis("x").model)>=0||V(i,t.getAxis("y").model)>=0)&&o.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:o[0],coordSyses:o,getPanelRect:WZ.grid,xAxisDeclared:a[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){H(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:WZ.geo})}))}},HZ=[function(t,e){var n=t.xAxisModel,i=t.yAxisModel,r=t.gridModel;return!r&&n&&(r=n.axis.grid.model),!r&&i&&(r=i.axis.grid.model),r&&r===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],WZ={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(rd(t)),e}},UZ={lineX:K(YZ,0),lineY:K(YZ,1),rect:function(t,e,n,i){var r=t?e.pointToData([n[0][0],n[1][0]],i):e.dataToPoint([n[0][0],n[1][0]],i),o=t?e.pointToData([n[0][1],n[1][1]],i):e.dataToPoint([n[0][1],n[1][1]],i),a=[BZ([r[0],o[0]]),BZ([r[1],o[1]])];return{values:a,xyMinMax:a}},polygon:function(t,e,n,i){var r=[[1/0,-1/0],[1/0,-1/0]],o=W(n,(function(n){var o=t?e.pointToData(n,i):e.dataToPoint(n,i);return r[0][0]=Math.min(r[0][0],o[0]),r[1][0]=Math.min(r[1][0],o[1]),r[0][1]=Math.max(r[0][1],o[0]),r[1][1]=Math.max(r[1][1],o[1]),o}));return{values:o,xyMinMax:r}}};function YZ(t,e,n,i){gt("cartesian2d"===n.type,"lineX/lineY brush is available only in cartesian2d.");var r=n.getAxis(["x","y"][t]),o=BZ(W([0,1],(function(t){return e?r.coordToData(r.toLocalCoord(i[t]),!0):r.toGlobalCoord(r.dataToCoord(i[t]))}))),a=[];return a[t]=o,a[1-t]=[NaN,NaN],{values:o,xyMinMax:a}}var XZ={lineX:K(ZZ,0),lineY:K(ZZ,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return W(t,(function(t,i){return[t[0]-n[0]*e[i][0],t[1]-n[1]*e[i][1]]}))}};function ZZ(t,e,n,i){return[e[0]-i[t]*n[0],e[1]-i[t]*n[1]]}function jZ(t,e){var n=qZ(t),i=qZ(e),r=[n[0]/i[0],n[1]/i[1]];return isNaN(r[0])&&(r[0]=1),isNaN(r[1])&&(r[1]=1),r}function qZ(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}var KZ=H,JZ=as("toolbox-dataZoom_"),$Z=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n,i){this._brushController||(this._brushController=new UV(n.getZr()),this._brushController.on("brush",q(this._onBrush,this)).mount()),nj(t,e,this,i,n),ej(t,e)},e.prototype.onclick=function(t,e,n){QZ[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},i=this.ecModel;this._brushController.updateCovers([]);var r=new VZ(tj(this.model),i,{include:["grid"]});r.matchOutputRanges(e,i,(function(t,e,n){if("cartesian2d"===n.type){var i=t.brushType;"rect"===i?(o("x",n,e[0]),o("y",n,e[1])):o({lineX:"x",lineY:"y"}[i],n,e)}})),LZ(i,n),this._dispatchZoomAction(n)}function o(t,e,r){var o=e.getAxis(t),s=o.model,l=a(t,s,i),u=l.findRepresentativeAxisProxy(s).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(r=gV(0,r.slice(),o.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),l&&(n[l.id]={dataZoomId:l.id,startValue:r[0],endValue:r[1]})}function a(t,e,n){var i;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){var r=n.getAxisModel(t,e.componentIndex);r&&(i=n)})),i}},e.prototype._dispatchZoomAction=function(t){var e=[];KZ(t,(function(t,n){e.push(P(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){var e={show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}};return e},e}(eZ),QZ={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(PZ(this.ecModel))}};function tj(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}function ej(t,e){t.setIconStatus("back",RZ(e)>1?"emphasis":"normal")}function nj(t,e,n,i,r){var o=n._isZoomActive;i&&"takeGlobalCursor"===i.type&&(o="dataZoomSelect"===i.key&&i.dataZoomSelectActive),n._isZoomActive=o,t.setIconStatus("zoom",o?"emphasis":"normal");var a=new VZ(tj(t),e,{include:["grid"]}),s=a.makePanelOpts(r,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(s).enableBrush(!(!o||!s.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}function ij(t){t.registerComponentModel(oZ),t.registerComponentView(lZ),iZ("saveAsImage",hZ),iZ("magicType",dZ),iZ("dataView",CZ),iZ("dataZoom",$Z),iZ("restore",EZ),Jb(tZ)}Wg("dataZoom",(function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var i=e.getModel(n),r=[],o=tj(i),a=ds(t,o);return KZ(a.xAxisModels,(function(t){return s(t,"xAxis","xAxisIndex")})),KZ(a.yAxisModels,(function(t){return s(t,"yAxis","yAxisIndex")})),r}function s(t,e,n){var o=t.componentIndex,a={type:"select",$fromToolbox:!0,filterMode:i.get("filterMode",!0)||"filter",id:JZ+e+o};a[n]=o,r.push(a)}}));var rj=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(xg);function oj(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function aj(t){if(a.domSupported)for(var e=document.documentElement.style,n=0,i=t.length;n-1?(l+="top:50%",u+="translateY(-50%) rotate("+(o="left"===a?-225:-45)+"deg)"):(l+="left:50%",u+="translateX(-50%) rotate("+(o="top"===a?225:45)+"deg)");var h=o*Math.PI/180,c=s+r,p=c*Math.abs(Math.cos(h))+c*Math.abs(Math.sin(h)),d=Math.round(100*((p-Math.SQRT2*r)/2+Math.SQRT2*r-(p-c)/2))/100;l+=";"+a+":-"+d+"px";var f=e+" solid "+r+"px;",g=["position:absolute;width:"+s+"px;height:"+s+"px;z-index:-1;",l+";"+u+";","border-bottom:"+f,"border-right:"+f,"background-color:"+i+";"];return'
          '}function yj(t,e){var n="cubic-bezier(0.23,1,0.32,1)",i=" "+t/2+"s "+n,r="opacity"+i+",visibility"+i;return e||(i=" "+t+"s "+n,r+=a.transformSupported?","+pj+i:",left"+i+",top"+i),cj+":"+r}function vj(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!a.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=a.transform3dSupported,s="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+pj+":"+s+";":[["top",0],["left",0],[sj,s]]}function mj(t){var e=[],n=t.get("fontSize"),i=t.getTextColor();i&&e.push("color:"+i),e.push("font:"+t.getFont());var r=ct(t.get("lineHeight"),Math.round(3*n/2));n&&e.push("line-height:"+r+"px");var o=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,s=t.get("textShadowOffsetX")||0,l=t.get("textShadowOffsetY")||0;return o&&a&&e.push("text-shadow:"+s+"px "+l+"px "+a+"px "+o),H(["decoration","align"],(function(n){var i=t.get(n);i&&e.push("text-"+n+":"+i)})),e.join(";")}function xj(t,e,n){var i=[],r=t.get("transitionDuration"),o=t.get("backgroundColor"),a=t.get("shadowBlur"),s=t.get("shadowColor"),l=t.get("shadowOffsetX"),u=t.get("shadowOffsetY"),h=t.getModel("textStyle"),c=Am(t,"html"),p=l+"px "+u+"px "+a+"px "+s;return i.push("box-shadow:"+p),e&&r&&i.push(yj(r,n)),o&&i.push("background-color:"+o),H(["width","color","radius"],(function(e){var n="border-"+e,r=Zf(n),o=t.get(r);null!=o&&i.push(n+":"+o+("color"===e?"":"px"))})),i.push(mj(h)),null!=c&&i.push("padding:"+jf(c).join("px ")+"px"),i.join(";")+";"}function _j(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&pe(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var wj=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,a.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&(Q(r)?document.querySelector(r):ot(r)?r:$(r)&&r(t.getDom()));_j(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var s=this;n.onmouseenter=function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!s._enterable){var e=i.handler,n=i.painter.getViewportRoot();Te(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){s._inContent=!1,s._enterable&&s._show&&s.hideLater(s._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e=this._api.getDom(),n=hj(e,"position"),i=e.style;"absolute"!==i.position&&"absolute"!==n&&(i.position="relative")}var r=t.get("alwaysShowContent");r&&this._moveIfResized(),this._alwaysShowContent=r,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,i=n.style,r=this._styleCoord;n.innerHTML?i.cssText=dj+xj(t,!this._firstShow,this._longHide)+vj(r[0],r[1],!0)+"border-color:"+ig(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):i.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null!=t){var a="";if(Q(r)&&"item"===n.get("trigger")&&!oj(n)&&(a=gj(n,i,r)),Q(t))o.innerHTML=t+a;else if(t){o.innerHTML="",J(t)||(t=[t]);for(var s=0;s=0?this._tryShow(n,i):"leave"===t&&this._hide(i))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,i=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==i&&"click"!==i){var r=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&r.manuallyShowTip(t,e,n,{x:r._lastX,y:r._lastY,dataByCoordSys:r._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,i){if(i.from!==this.uid&&!a.node&&n.getDom()){var r=Aj(i,n);this._ticket="";var o=i.dataByCoordSys,s=Rj(i,e,n);if(s){var l=s.el.getBoundingRect().clone();l.applyTransform(s.el.transform),this._tryShow({offsetX:l.x+l.width/2,offsetY:l.y+l.height/2,target:s.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y){var u=Tj;u.x=i.x,u.y=i.y,u.update(),Qu(u).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:u},r)}else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var h=YU(i,e),c=h.point[0],p=h.point[1];null!=c&&null!=p&&this._tryShow({offsetX:c,offsetY:p,target:h.el,position:i.position,positionDefault:"bottom"},r)}else null!=i.x&&null!=i.y&&(n.dispatchAction({type:"updateAxisPointer",x:i.x,y:i.y}),this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,target:n.getZr().findHover(i.x,i.y).target},r))}},e.prototype.manuallyHideTip=function(t,e,n,i){var r=this._tooltipContent;this._tooltipModel&&r.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,i.from!==this.uid&&this._hide(Aj(i,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,i){var r=i.seriesIndex,o=i.dataIndex,a=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=r&&null!=o&&null!=a){var s=e.getSeriesByIndex(r);if(s){var l=s.getData(),u=Dj([l.getItemModel(o),s,(s.coordinateSystem||{}).model],this._tooltipModel);if("axis"===u.get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:r,dataIndex:o,position:i.position}),!0}}},e.prototype._tryShow=function(t,e){var n=t.target,i=this._tooltipModel;if(i){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var o,a,s=Qu(n);if("legend"===s.ssrType)return;this._lastDataByCoordSys=null,$x(n,(function(t){return null!=Qu(t).dataIndex?(o=t,!0):null!=Qu(t).tooltipConfig?(a=t,!0):void 0}),!0),o?this._showSeriesItemTooltip(t,o,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=q(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,i=this._tooltipModel,r=[e.offsetX,e.offsetY],o=Dj([e.tooltipOption],i),a=this._renderMode,s=[],l=gm("section",{blocks:[],noHeader:!0}),u=[],h=new km;H(t,(function(t){H(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=MU(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),c=gm("section",{header:o,noHeader:!yt(o),sortBlocks:!0,blocks:[]});l.blocks.push(c),H(t.seriesDataIndices,(function(l){var p=n.getSeriesByIndex(l.seriesIndex),d=l.dataIndexInside,f=p.getDataParams(d);if(!(f.dataIndex<0)){f.axisDim=t.axisDim,f.axisIndex=t.axisIndex,f.axisType=t.axisType,f.axisId=t.axisId,f.axisValue=oI(e.axis,{value:r}),f.axisValueLabel=o,f.marker=h.makeTooltipMarker("item",ig(f.color),a);var g=Iv(p.formatTooltip(d,!0,null)),y=g.frag;if(y){var v=Dj([p],i).get("valueFormatter");c.blocks.push(v?N({valueFormatter:v},y):y)}g.text&&u.push(g.text),s.push(f)}}))}}))})),l.blocks.reverse(),u.reverse();var c=e.position,p=o.get("order"),d=wm(l,h,a,p,n.get("useUTC"),o.get("textStyle"));d&&u.unshift(d);var f="richText"===a?"\n\n":"
          ",g=u.join(f);this._showOrMove(o,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(o,c,r[0],r[1],this._tooltipContent,s):this._showTooltipContent(o,g,s,Math.random()+"",r[0],r[1],c,null,h)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=Qu(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),s=r.dataModel||a,l=r.dataIndex,u=r.dataType,h=s.getData(u),c=this._renderMode,p=t.positionDefault,d=Dj([h.getItemModel(l),s,a&&(a.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),f=d.get("trigger");if(null==f||"item"===f){var g=s.getDataParams(l,u),y=new km;g.marker=y.makeTooltipMarker("item",ig(g.color),c);var v=Iv(s.formatTooltip(l,!1,u)),m=d.get("order"),x=d.get("valueFormatter"),_=v.frag,w=_?wm(x?N({valueFormatter:x},_):_,y,c,m,i.get("useUTC"),d.get("textStyle")):v.text,b="item_"+s.name+"_"+l;this._showOrMove(d,(function(){this._showTooltipContent(d,w,g,b,t.offsetX,t.offsetY,t.position,t.target,y)})),n({type:"showTip",dataIndexInside:l,dataIndex:h.getRawIndex(l),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=Qu(e),o=r.tooltipConfig,a=o.option||{},s=a.encodeHTMLContent;if(Q(a)){var l=a;a={content:l,formatter:l},s=!0}s&&i&&a.content&&(a=P(a),a.content=xe(a.content));var u=[a],h=this._ecModel.getComponent(r.componentMainType,r.componentIndex);h&&u.push(h),u.push({formatter:a.content});var c=t.positionDefault,p=Dj(u,this._tooltipModel,c?{position:c}:null),d=p.get("content"),f=Math.random()+"",g=new km;this._showOrMove(p,(function(){var n=P(p.get("formatterParams")||{});this._showTooltipContent(p,d,n,f,t.offsetX,t.offsetY,t.position,e,g)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,s,l){if(this._ticket="",t.get("showContent")&&t.get("show")){var u=this._tooltipContent;u.setEnterable(t.get("enterable"));var h=t.get("formatter");a=a||t.get("position");var c=e,p=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")),d=p.color;if(h)if(Q(h)){var f=t.ecModel.get("useUTC"),g=J(n)?n[0]:n,y=g&&g.axisType&&g.axisType.indexOf("time")>=0;c=h,y&&(c=Cf(g.axisValue,c,f)),c=$f(c,n,!0)}else if($(h)){var v=q((function(e,i){e===this._ticket&&(u.setContent(i,l,t,d,a),this._updatePosition(t,a,r,o,u,n,s))}),this);this._ticket=i,c=h(n,i,v)}else c=h;u.setContent(c,l,t,d,a),u.show(t,d),this._updatePosition(t,a,r,o,u,n,s)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||J(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:J(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var s=this._api.getWidth(),l=this._api.getHeight();e=e||t.get("position");var u=r.getSize(),h=t.get("align"),c=t.get("verticalAlign"),p=a&&a.getBoundingRect().clone();if(a&&p.applyTransform(a.transform),$(e)&&(e=e([n,i],o,r.el,p,{viewSize:[s,l],contentSize:u.slice()})),J(e))n=ia(e[0],s),i=ia(e[1],l);else if(nt(e)){var d=e;d.width=u[0],d.height=u[1];var f=cg(d,{width:s,height:l});n=f.x,i=f.y,h=null,c=null}else if(Q(e)&&a){var g=Pj(e,p,u,t.get("borderWidth"));n=g[0],i=g[1]}else{g=kj(n,i,r,s,l,h?null:20,c?null:20);n=g[0],i=g[1]}if(h&&(n-=Oj(h)?u[0]/2:"right"===h?u[0]:0),c&&(i-=Oj(c)?u[1]/2:"bottom"===c?u[1]:0),oj(t)){g=Lj(n,i,r,s,l);n=g[0],i=g[1]}r.moveTo(n,i)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,i=this._cbParamsList,r=!!n&&n.length===t.length;return r&&H(n,(function(n,o){var a=n.dataByAxis||[],s=t[o]||{},l=s.dataByAxis||[];r=r&&a.length===l.length,r&&H(a,(function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],s=o.seriesDataIndices||[];r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===s.length,r&&H(a,(function(t,e){var n=s[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),i&&H(t.seriesDataIndices,(function(t){var n=t.seriesIndex,o=e[n],a=i[n];o&&a&&a.data!==o.data&&(r=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!r},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!a.node&&e.getDom()&&(ax(this,"_updatePosition"),this._tooltipContent.dispose(),WU("itemTooltip",e))},e.type="tooltip",e}(Ym);function Dj(t,e,n){var i,r=e.ecModel;n?(i=new jd(n,r,r),i=new jd(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof jd&&(a=a.get("tooltip",!0)),Q(a)&&(a={formatter:a}),a&&(i=new jd(a,i,r)))}return i}function Aj(t,e){return t.dispatchAction||q(e.dispatchAction,e)}function kj(t,e,n,i,r,o,a){var s=n.getSize(),l=s[0],u=s[1];return null!=o&&(t+l+o+2>i?t-=l+o:t+=o),null!=a&&(e+u+a>r?e-=u+a:e+=a),[t,e]}function Lj(t,e,n,i,r){var o=n.getSize(),a=o[0],s=o[1];return t=Math.min(t+a,i)-a,e=Math.min(e+s,r)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}function Pj(t,e,n,i){var r=n[0],o=n[1],a=Math.ceil(Math.SQRT2*i)+8,s=0,l=0,u=e.width,h=e.height;switch(t){case"inside":s=e.x+u/2-r/2,l=e.y+h/2-o/2;break;case"top":s=e.x+u/2-r/2,l=e.y-o-a;break;case"bottom":s=e.x+u/2-r/2,l=e.y+h+a;break;case"left":s=e.x-r-a,l=e.y+h/2-o/2;break;case"right":s=e.x+u+a,l=e.y+h/2-o/2}return[s,l]}function Oj(t){return"center"===t||"middle"===t}function Rj(t,e,n){var i=fs(t).queryOptionMap,r=i.keys()[0];if(r&&"series"!==r){var o=vs(e,r,i.get(r),{useDefault:!1,enableAll:!1,enableNone:!1}),a=o.models[0];if(a){var s,l=n.getViewOfComponentModel(a);return l.group.traverse((function(e){var n=Qu(e).tooltipConfig;if(n&&n.name===t.name)return s=e,!0})),s?{componentMainType:r,componentIndex:a.componentIndex,el:s}:void 0}}}function Nj(t){Jb(rY),t.registerComponentModel(rj),t.registerComponentView(Cj),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},At),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},At)}var Ej=["rect","polygon","keep","clear"];function zj(t,e){var n=Fa(t?t.brush:[]);if(n.length){var i=[];H(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(i=i.concat(e))}));var r=t&&t.toolbox;J(r)&&(r=r[0]),r||(r={feature:{}},t.toolbox=[r]);var o=r.feature||(r.feature={}),a=o.brush||(o.brush={}),s=a.type||(a.type=[]);s.push.apply(s,i),Vj(s),e&&!s.length&&s.push.apply(s,Ej)}}function Vj(t){var e={};H(t,(function(t){e[t]=1})),t.length=0,H(e,(function(e,n){t.push(n)}))}var Bj=H;function Gj(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Fj(t,e,n){var i={};return Bj(e,(function(e){var o=i[e]=r();Bj(t[e],(function(t,i){if(TN.isValidType(i)){var r={type:i,visual:t};n&&n(r,e),o[i]=new TN(r),"opacity"===i&&(r=P(r),r.type="colorAlpha",o.__hidden.__alphaForOpacity=new TN(r))}}))})),i;function r(){var t=function(){};t.prototype.__hidden=t.prototype;var e=new t;return e}}function Hj(t,e,n){var i;H(n,(function(t){e.hasOwnProperty(t)&&Gj(e[t])&&(i=!0)})),i&&H(n,(function(n){e.hasOwnProperty(n)&&Gj(e[n])?t[n]=P(e[n]):delete t[n]}))}function Wj(t,e,n,i,r,o){var a,s={};function l(t){return Xx(n,a,t)}function u(t,e){jx(n,a,t,e)}function h(t,h){a=null==o?t:h;var c=n.getRawDataItem(a);if(!c||!1!==c.visualMap)for(var p=i.call(r,t),d=e[p],f=s[p],g=0,y=f.length;ge[0][1]&&(e[0][1]=o[0]),o[1]e[1][1]&&(e[1][1]=o[1])}return e&&oq(e)}};function oq(t){return new en(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}var aq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new UV(e.getZr())).on("brush",q(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,i){this.model=t,this._updateController(t,e,n,i)},e.prototype.updateTransform=function(t,e,n,i){$j(e),this._updateController(t,e,n,i)},e.prototype.updateVisual=function(t,e,n,i){this.updateTransform(t,e,n,i)},e.prototype.updateView=function(t,e,n,i){this._updateController(t,e,n,i)},e.prototype._updateController=function(t,e,n,i){(!i||i.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:P(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:P(n),$from:e})},e.type="brush",e}(Ym),sq="#ddd",lq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return i(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Hj(n,t,["inBrush","outOfBrush"]);var i=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:sq},i.hasOwnProperty("liftZ")||(i.liftZ=5)},e.prototype.setAreas=function(t){gt(J(t)),H(t,(function(t){gt(t.brushType,"Illegal areas")})),t&&(this.areas=W(t,(function(t){return uq(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=uq(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(xg);function uq(t,e){return O({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new jd(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}var hq=["rect","polygon","lineX","lineY","keep","clear"],cq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.render=function(t,e,n){var i,r,o;e.eachComponent({mainType:"brush"},(function(t){i=t.brushType,r=t.brushOption.brushMode||"single",o=o||!!t.areas.length})),this._brushType=i,this._brushMode=r,H(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===r:"clear"===e?o:e===i)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return H(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var i=this._brushType,r=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?i:i!==n&&n,brushMode:"keep"===n?"multiple"===r?"single":"multiple":r}})},e.getDefaultOption=function(t){var e={show:!0,type:hq.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return e},e}(eZ);function pq(t){t.registerComponentView(aq),t.registerComponentModel(lq),t.registerPreprocessor(zj),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,Qj),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},At),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},At),iZ("brush",cq)}var dq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return i(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(xg),fq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,r=t.getModel("textStyle"),o=t.getModel("subtextStyle"),a=t.get("textAlign"),s=ct(t.get("textBaseline"),t.get("textVerticalAlign")),l=new Bu({style:Td(r,{text:t.get("text"),fill:r.getTextColor()},{disableBox:!0}),z2:10}),u=l.getBoundingRect(),h=t.get("subtext"),c=new Bu({style:Td(o,{text:h,fill:o.getTextColor(),y:u.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),d=t.get("sublink"),f=t.get("triggerEvent",!0);l.silent=!p&&!f,c.silent=!d&&!f,p&&l.on("click",(function(){rg(p,"_"+t.get("target"))})),d&&c.on("click",(function(){rg(d,"_"+t.get("subtarget"))})),Qu(l).eventData=Qu(c).eventData=f?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(l),h&&i.add(c);var g=i.getBoundingRect(),y=t.getBoxLayoutParams();y.width=g.width,y.height=g.height;var v=cg(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));a||(a=t.get("left")||t.get("right"),"middle"===a&&(a="center"),"right"===a?v.x+=v.width:"center"===a&&(v.x+=v.width/2)),s||(s=t.get("top")||t.get("bottom"),"center"===s&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),i.x=v.x,i.y=v.y,i.markRedraw();var m={align:a,verticalAlign:s};l.setStyle(m),c.setStyle(m),g=i.getBoundingRect();var x=v.margin,_=t.getItemStyle(["color","opacity"]);_.fill=t.get("backgroundColor");var w=new Nu({shape:{x:g.x-x[3],y:g.y-x[0],width:g.width+x[1]+x[3],height:g.height+x[0]+x[2],r:t.get("borderRadius")},style:_,subPixelOptimize:!0,silent:!0});i.add(w)}},e.type="title",e}(Ym);function gq(t){t.registerComponentModel(dq),t.registerComponentView(fq)}var yq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],i=e.axisType,r=this._names=[];"category"===i?(t=[],H(n,(function(e,n){var i,o=es(Ua(e),"");nt(e)?(i=P(e),i.value=n):i=n,t.push(i),r.push(o)}))):t=n;var o={category:"ordinal",time:"time",value:"number"}[i]||"number",a=this._data=new DS([{name:"value",type:o}],this);a.initData(t,r)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(xg),vq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline.slider",e.defaultOption=Qd(yq.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(yq);G(vq,Mv.prototype);var mq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="timeline",e}(Ym),xq=function(t){function e(e,n,i,r){var o=t.call(this,e,n,i)||this;return o.type=r||"value",o}return i(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(iT),_q=Math.PI,wq=cs(),bq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var i=this._layout(t,n),r=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),a=this._axis=this._createAxis(i,t);t.formatTooltip=function(t){var e=a.scale.getLabel({value:t});return gm("nameValue",{noName:!0,value:e})},H(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](i,r,a,t)}),this),this._renderAxisLabel(i,o,a,t),this._position(i,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,i=t.get(["label","position"]),r=t.get("orient"),o=Mq(t,e);n=null==i||"auto"===i?"horizontal"===r?o.y+o.height/2=0||"+"===n?"left":"right"},h={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:_q/2},p="vertical"===r?o.height:o.width,d=t.getModel("controlStyle"),f=d.get("show",!0),g=f?d.get("itemSize"):0,y=f?d.get("itemGap"):0,v=g+y,m=t.get(["label","rotate"])||0;m=m*_q/180;var x=d.get("position",!0),_=f&&d.get("showPlayBtn",!0),w=f&&d.get("showPrevBtn",!0),b=f&&d.get("showNextBtn",!0),S=0,M=p;"left"===x||"bottom"===x?(_&&(a=[0,0],S+=v),w&&(s=[S,0],S+=v),b&&(l=[M-g,0],M-=v)):(_&&(a=[M-g,0],M-=v),w&&(s=[0,0],S+=v),b&&(l=[M-g,0],M-=v));var I=[S,M];return t.get("inverse")&&I.reverse(),{viewRect:o,mainLength:p,orient:r,rotation:c[r],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||u[r],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||h[r],playPosition:a,prevBtnPosition:s,nextBtnPosition:l,axisExtent:I,controlSize:g,controlGap:y}},e.prototype._position=function(t,e){var n=this._mainGroup,i=this._labelGroup,r=t.viewRect;if("vertical"===t.orient){var o=Ee(),a=r.x,s=r.y+r.height;Ge(o,o,[-a,-s]),Fe(o,o,-_q/2),Ge(o,o,[a,s]),r=r.clone(),r.applyTransform(o)}var l=y(r),u=y(n.getBoundingRect()),h=y(i.getBoundingRect()),c=[n.x,n.y],p=[i.x,i.y];p[0]=c[0]=l[0][0];var d=t.labelPosOpt;if(null==d||Q(d)){var f="+"===d?0:1;v(c,u,l,1,f),v(p,h,l,1,1-f)}else{f=d>=0?0:1;v(c,u,l,1,f),p[1]=c[1]+d}function g(t){t.originX=l[0][0]-t.x,t.originY=l[1][0]-t.y}function y(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,i,r){t[i]+=n[i][r]-e[i][r]}n.setPosition(c),i.setPosition(p),n.rotation=i.rotation=t.rotation,g(n),g(i)},e.prototype._createAxis=function(t,e){var n=e.getData(),i=e.get("axisType"),r=Sq(e,i);r.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var o=n.getDataExtent("value");r.setExtent(o[0],o[1]),r.calcNiceTicks();var a=new xq("value",r,t.axisExtent,i);return a.model=e,a},e.prototype._createGroup=function(t){var e=this[t]=new zo;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,i){var r=n.getExtent();if(i.get(["lineStyle","show"])){var o=new dp({shape:{x1:r[0],y1:0,x2:r[1],y2:0},style:N({lineCap:"round"},i.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(o);var a=this._progressLine=new dp({shape:{x1:r[0],x2:this._currentPointer?this._currentPointer.x:r[0],y1:0,y2:0},style:E({lineCap:"round",lineWidth:o.style.lineWidth},i.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(a)}},e.prototype._renderAxisTick=function(t,e,n,i){var r=this,o=i.getData(),a=n.scale.getTicks();this._tickSymbols=[],H(a,(function(t){var a=n.dataToCoord(t.value),s=o.getItemModel(t.value),l=s.getModel("itemStyle"),u=s.getModel(["emphasis","itemStyle"]),h=s.getModel(["progress","itemStyle"]),c={x:a,y:0,onclick:q(r._changeTimeline,r,t.value)},p=Tq(s,l,e,c);p.ensureState("emphasis").style=u.getItemStyle(),p.ensureState("progress").style=h.getItemStyle(),Qh(p);var d=Qu(p);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=i):d.dataIndex=d.dataModel=null,r._tickSymbols.push(p)}))},e.prototype._renderAxisLabel=function(t,e,n,i){var r=this,o=n.getLabelModel();if(o.get("show")){var a=i.getData(),s=n.getViewLabels();this._tickLabels=[],H(s,(function(i){var o=i.tickValue,s=a.getItemModel(o),l=s.getModel("label"),u=s.getModel(["emphasis","label"]),h=s.getModel(["progress","label"]),c=n.dataToCoord(i.tickValue),p=new Bu({x:c,y:0,rotation:t.labelRotation-t.rotation,onclick:q(r._changeTimeline,r,o),silent:!1,style:Td(l,{text:i.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});p.ensureState("emphasis").style=Td(u),p.ensureState("progress").style=Td(h),e.add(p),Qh(p),wq(p).dataIndex=o,r._tickLabels.push(p)}))}},e.prototype._renderControl=function(t,e,n,i){var r=t.controlSize,o=t.rotation,a=i.getModel("controlStyle").getItemStyle(),s=i.getModel(["emphasis","controlStyle"]).getItemStyle(),l=i.getPlayState(),u=i.get("inverse",!0);function h(t,n,l,u){if(t){var h=bo(ct(i.get(["controlStyle",n+"BtnSize"]),r),r),c=[0,-h/2,h,h],p=Iq(i,n+"Icon",c,{x:t[0],y:t[1],originX:r/2,originY:0,rotation:u?-o:0,rectHover:!0,style:a,onclick:l});p.ensureState("emphasis").style=s,e.add(p),Qh(p)}}h(t.nextBtnPosition,"next",q(this._changeTimeline,this,u?"-":"+")),h(t.prevBtnPosition,"prev",q(this._changeTimeline,this,u?"+":"-")),h(t.playPosition,l?"stop":"play",q(this._handlePlayClick,this,!l),!0)},e.prototype._renderCurrentPointer=function(t,e,n,i){var r=i.getData(),o=i.getCurrentIndex(),a=r.getItemModel(o).getModel("checkpointStyle"),s=this,l={onCreate:function(t){t.draggable=!0,t.drift=q(s._handlePointerDrag,s),t.ondragend=q(s._handlePointerDragend,s),Cq(t,s._progressLine,o,n,i,!0)},onUpdate:function(t){Cq(t,s._progressLine,o,n,i)}};this._currentPointer=Tq(a,a,this._mainGroup,{},this._currentPointer,l)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],i=this._axis,r=oa(i.getExtent().slice());n>r[1]&&(n=r[1]),n=0&&(a[o]=+a[o].toFixed(p)),[a,c]}var Hq={min:K(Fq,"min"),max:K(Fq,"max"),average:K(Fq,"average"),median:K(Fq,"median")};function Wq(t,e){if(e){var n=t.getData(),i=t.coordinateSystem,r=i&&i.dimensions;if(!Gq(e)&&!J(e.coord)&&J(r)){var o=Uq(e,n,i,t);if(e=P(e),e.type&&Hq[e.type]&&o.baseAxis&&o.valueAxis){var a=V(r,o.baseAxis.dim),s=V(r,o.valueAxis.dim),l=Hq[e.type](n,o.baseDataDim,o.valueDataDim,a,s);e.coord=l[0],e.value=l[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&J(r))for(var u=e.coord,h=0;h<2;h++)Hq[u[h]]&&(u[h]=qq(n,n.mapDimension(r[h]),u[h]));else e.coord=[];return e}}function Uq(t,e,n,i){var r={};return null!=t.valueIndex||null!=t.valueDim?(r.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,r.valueAxis=n.getAxis(Yq(i,r.valueDataDim)),r.baseAxis=n.getOtherAxis(r.valueAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim)):(r.baseAxis=i.getBaseAxis(),r.valueAxis=n.getOtherAxis(r.baseAxis),r.baseDataDim=e.mapDimension(r.baseAxis.dim),r.valueDataDim=e.mapDimension(r.valueAxis.dim)),r}function Yq(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}function Xq(t,e){return!(t&&t.containData&&e.coord&&!Bq(e))||t.containData(e.coord)}function Zq(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!Bq(e)&&!Bq(n))||t.containZone(e.coord,n.coord)}function jq(t,e){return t?function(t,n,i,r){var o=r<2?t.coord&&t.coord[r]:t.value;return Av(o,e[r])}:function(t,n,i,r){return Av(t.value,e[r])}}function qq(t,e,n){if("average"===n){var i=0,r=0;return t.each(e,(function(t,e){isNaN(t)||(i+=t,r++)})),i/r}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var Kq=cs(),Jq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.init=function(){this.markerGroupMap=Mt()},e.prototype.render=function(t,e,n){var i=this,r=this.markerGroupMap;r.each((function(t){Kq(t).keep=!1})),e.eachSeries((function(t){var r=zq.getMarkerModelFromSeries(t,i.type);r&&i.renderSeries(t,r,e,n)})),r.each((function(t){!Kq(t).keep&&i.group.remove(t.group)}))},e.prototype.markKeep=function(t){Kq(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;H(t,(function(t){var i=zq.getMarkerModelFromSeries(t,n.type);if(i){var r=i.getData();r.eachItemGraphicEl((function(t){t&&(e?Vh(t):Bh(t))}))}}))},e.type="marker",e}(Ym);function $q(t,e,n){var i=e.coordinateSystem;t.each((function(r){var o,a=t.getItemModel(r),s=ia(a.get("x"),n.getWidth()),l=ia(a.get("y"),n.getHeight());if(isNaN(s)||isNaN(l)){if(e.getMarkerPosition)o=e.getMarkerPosition(t.getValues(t.dimensions,r));else if(i){var u=t.get(i.dimensions[0],r),h=t.get(i.dimensions[1],r);o=i.dataToPoint([u,h])}}else o=[s,l];isNaN(s)||(o[0]=s),isNaN(l)||(o[1]=l),t.setItemLayout(r,o)}))}var Qq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=zq.getMarkerModelFromSeries(t,"markPoint");e&&($q(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new XD),u=tK(r,t,e);e.setData(u),$q(e.getData(),t,i),u.each((function(t){var n=u.getItemModel(t),i=n.getShallow("symbol"),r=n.getShallow("symbolSize"),o=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),l=n.getShallow("symbolKeepAspect");if($(i)||$(r)||$(o)||$(s)){var h=e.getRawValue(t),c=e.getDataParams(t);$(i)&&(i=i(h,c)),$(r)&&(r=r(h,c)),$(o)&&(o=o(h,c)),$(s)&&(s=s(h,c))}var p=n.getModel("itemStyle").getItemStyle(),d=Zx(a,"color");p.fill||(p.fill=d),u.setItemVisual(t,{symbol:i,symbolSize:r,symbolRotate:o,symbolOffset:s,symbolKeepAspect:l,style:p})})),l.updateData(u),this.group.add(l.group),u.eachItemGraphicEl((function(t){t.traverse((function(t){Qu(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(Jq);function tK(t,e,n){var i;i=t?W(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return N(N({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new DS(i,n),o=W(n.get("data"),K(Wq,e));t&&(o=Y(o,K(Xq,t)));var a=jq(!!t,i);return r.initData(o,null,a),r}function eK(t){t.registerComponentModel(Vq),t.registerComponentView(Qq),t.registerPreprocessor((function(t){Rq(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))}var nK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(zq),iK=cs(),rK=function(t,e,n,i){var r,o=t.getData();if(J(i))r=i;else{var a=i.type;if("min"===a||"max"===a||"average"===a||"median"===a||null!=i.xAxis||null!=i.yAxis){var s=void 0,l=void 0;if(null!=i.yAxis||null!=i.xAxis)s=e.getAxis(null!=i.yAxis?"y":"x"),l=ht(i.yAxis,i.xAxis);else{var u=Uq(i,o,e,t);s=u.valueAxis;var h=FS(o,u.valueDataDim);l=qq(o,h,a)}var c="x"===s.dim?0:1,p=1-c,d=P(i),f={coord:[]};d.type=null,d.coord=[],d.coord[p]=-1/0,f.coord[p]=1/0;var g=n.get("precision");g>=0&&et(l)&&(l=+l.toFixed(Math.min(g,20))),d.coord[c]=f.coord[c]=l,r=[d,f,{type:a,valueIndex:i.valueIndex,value:l}]}else L("Invalid markLine data."),r=[]}var y=[Wq(t,r[0]),Wq(t,r[1]),N({},r[2])];return y[2].type=y[2].type||null,O(y[2],y[0]),O(y[2],y[1]),y};function oK(t){return!isNaN(t)&&!isFinite(t)}function aK(t,e,n,i){var r=1-t,o=i.dimensions[t];return oK(e[r])&&oK(n[r])&&e[t]===n[t]&&i.getAxis(o).containData(e[t])}function sK(t,e){if("cartesian2d"===t.type){var n=e[0].coord,i=e[1].coord;if(n&&i&&(aK(1,n,i,t)||aK(0,n,i,t)))return!0}return Xq(t,e[0])&&Xq(t,e[1])}function lK(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=ia(s.get("x"),r.getWidth()),u=ia(s.get("y"),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition)o=i.getMarkerPosition(t.getValues(t.dimensions,e));else{var h=a.dimensions,c=t.get(h[0],e),p=t.get(h[1],e);o=a.dataToPoint([c,p])}if(uA(a,"cartesian2d")){var d=a.getAxis("x"),f=a.getAxis("y");h=a.dimensions;oK(t.get(h[0],e))?o[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):oK(t.get(h[1],e))&&(o[1]=f.toGlobalCoord(f.getExtent()[n?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];t.setItemLayout(e,o)}var uK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=zq.getMarkerModelFromSeries(t,"markLine");if(e){var i=e.getData(),r=iK(e).from,o=iK(e).to;r.each((function(e){lK(r,e,!0,t,n),lK(o,e,!1,t,n)})),i.each((function(t){i.setItemLayout(t,[r.getItemLayout(t),o.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,new sz);this.group.add(l.group);var u=hK(r,t,e),h=u.from,c=u.to,p=u.line;iK(e).from=h,iK(e).to=c,e.setData(p);var d=e.get("symbol"),f=e.get("symbolSize"),g=e.get("symbolRotate"),y=e.get("symbolOffset");function v(e,n,r){var o=e.getItemModel(n);lK(e,n,r,t,i);var s=o.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=Zx(a,"color")),e.setItemVisual(n,{symbolKeepAspect:o.get("symbolKeepAspect"),symbolOffset:ct(o.get("symbolOffset",!0),y[r?0:1]),symbolRotate:ct(o.get("symbolRotate",!0),g[r?0:1]),symbolSize:ct(o.get("symbolSize"),f[r?0:1]),symbol:ct(o.get("symbol",!0),d[r?0:1]),style:s})}J(d)||(d=[d,d]),J(f)||(f=[f,f]),J(g)||(g=[g,g]),J(y)||(y=[y,y]),u.from.each((function(t){v(h,t,!0),v(c,t,!1)})),p.each((function(t){var e=p.getItemModel(t).getModel("lineStyle").getLineStyle();p.setItemLayout(t,[h.getItemLayout(t),c.getItemLayout(t)]),null==e.stroke&&(e.stroke=h.getItemVisual(t,"style").fill),p.setItemVisual(t,{fromSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:h.getItemVisual(t,"symbolOffset"),fromSymbolRotate:h.getItemVisual(t,"symbolRotate"),fromSymbolSize:h.getItemVisual(t,"symbolSize"),fromSymbol:h.getItemVisual(t,"symbol"),toSymbolKeepAspect:c.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:c.getItemVisual(t,"symbolOffset"),toSymbolRotate:c.getItemVisual(t,"symbolRotate"),toSymbolSize:c.getItemVisual(t,"symbolSize"),toSymbol:c.getItemVisual(t,"symbol"),style:e})})),l.updateData(p),u.line.eachItemGraphicEl((function(t){Qu(t).dataModel=e,t.traverse((function(t){Qu(t).dataModel=e}))})),this.markKeep(l),l.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(Jq);function hK(t,e,n){var i;i=t?W(t&&t.dimensions,(function(t){var n=e.getData().getDimensionInfo(e.getData().mapDimension(t))||{};return N(N({},n),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var r=new DS(i,n),o=new DS(i,n),a=new DS([],n),s=W(n.get("data"),K(rK,e,t,n));t&&(s=Y(s,K(sK,t)));var l=jq(!!t,i);return r.initData(W(s,(function(t){return t[0]})),null,l),o.initData(W(s,(function(t){return t[1]})),null,l),a.initData(W(s,(function(t){return t[2]}))),a.hasItemOption=!0,{from:r,to:o,line:a}}function cK(t){t.registerComponentModel(nK),t.registerComponentView(uK),t.registerPreprocessor((function(t){Rq(t.series,"markLine")&&(t.markLine=t.markLine||{})}))}var pK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,i){return new e(t,n,i)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(zq),dK=cs(),fK=function(t,e,n,i){var r=i[0],o=i[1];if(r&&o){var a=Wq(t,r),s=Wq(t,o),l=a.coord,u=s.coord;l[0]=ht(l[0],-1/0),l[1]=ht(l[1],-1/0),u[0]=ht(u[0],1/0),u[1]=ht(u[1],1/0);var h=R([{},a,s]);return h.coord=[a.coord,s.coord],h.x0=a.x,h.y0=a.y,h.x1=s.x,h.y1=s.y,h}};function gK(t){return!isNaN(t)&&!isFinite(t)}function yK(t,e,n,i){var r=1-t;return gK(e[r])&&gK(n[r])}function vK(t,e){var n=e.coord[0],i=e.coord[1],r={coord:n,x:e.x0,y:e.y0},o={coord:i,x:e.x1,y:e.y1};return uA(t,"cartesian2d")?!(!n||!i||!yK(1,n,i)&&!yK(0,n,i))||Zq(t,r,o):Xq(t,r)||Xq(t,o)}function mK(t,e,n,i,r){var o,a=i.coordinateSystem,s=t.getItemModel(e),l=ia(s.get(n[0]),r.getWidth()),u=ia(s.get(n[1]),r.getHeight());if(isNaN(l)||isNaN(u)){if(i.getMarkerPosition){var h=t.getValues(["x0","y0"],e),c=t.getValues(["x1","y1"],e),p=a.clampData(h),d=a.clampData(c),f=[];"x0"===n[0]?f[0]=p[0]>d[0]?c[0]:h[0]:f[0]=p[0]>d[0]?h[0]:c[0],"y0"===n[1]?f[1]=p[1]>d[1]?c[1]:h[1]:f[1]=p[1]>d[1]?h[1]:c[1],o=i.getMarkerPosition(f,n,!0)}else{var g=t.get(n[0],e),y=t.get(n[1],e),v=[g,y];a.clampData&&a.clampData(v,v),o=a.dataToPoint(v,!0)}if(uA(a,"cartesian2d")){var m=a.getAxis("x"),x=a.getAxis("y");g=t.get(n[0],e),y=t.get(n[1],e);gK(g)?o[0]=m.toGlobalCoord(m.getExtent()["x0"===n[0]?0:1]):gK(y)&&(o[1]=x.toGlobalCoord(x.getExtent()["y0"===n[1]?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}else o=[l,u];return o}var xK=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],_K=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=zq.getMarkerModelFromSeries(t,"markArea");if(e){var i=e.getData();i.each((function(e){var r=W(xK,(function(r){return mK(i,e,r,t,n)}));i.setItemLayout(e,r);var o=i.getItemGraphicEl(e);o.setShape("points",r)}))}}),this)},e.prototype.renderSeries=function(t,e,n,i){var r=t.coordinateSystem,o=t.id,a=t.getData(),s=this.markerGroupMap,l=s.get(o)||s.set(o,{group:new zo});this.group.add(l.group),this.markKeep(l);var u=wK(r,t,e);e.setData(u),u.each((function(e){var n=W(xK,(function(n){return mK(u,e,n,t,i)})),o=r.getAxis("x").scale,s=r.getAxis("y").scale,l=o.getExtent(),h=s.getExtent(),c=[o.parse(u.get("x0",e)),o.parse(u.get("x1",e))],p=[s.parse(u.get("y0",e)),s.parse(u.get("y1",e))];oa(c),oa(p);var d=!(l[0]>c[1]||l[1]p[1]||h[1]=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(xg),IK=K,TK=H,CK=zo,DK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return i(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new CK),this.group.add(this._selectorGroup=new CK),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var r=t.get("align"),o=t.get("orient");r&&"auto"!==r||(r="right"===t.get("left")&&"vertical"===o?"right":"left");var a=t.get("selector",!0),s=t.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===o?"end":"start"),this.renderInner(r,t,e,n,a,o,s);var l=t.getBoxLayoutParams(),u={width:n.getWidth(),height:n.getHeight()},h=t.get("padding"),c=cg(l,u,h),p=this.layoutInner(t,r,c,i,a,s),d=cg(E({width:p.width,height:p.height},l),u,h);this.group.x=d.x-p.x,this.group.y=d.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=sZ(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,i,r,o,a){var s=this.getContentGroup(),l=Mt(),u=e.get("selectedMode"),h=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&h.push(t.id)})),TK(e.getData(),(function(r,o){var a=r.get("name");if(!this.newlineDisabled&&(""===a||"\n"===a)){var c=new CK;return c.newline=!0,void s.add(c)}var p=n.getSeriesByName(a)[0];if(!l.get(a)){if(p){var d=p.getData(),f=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),y=d.getVisual("style"),v=this._createItem(p,a,o,r,e,t,f,y,g,u,i);v.on("click",IK(LK,a,null,i,h)).on("mouseover",IK(OK,p.name,null,i,h)).on("mouseout",IK(RK,p.name,null,i,h)),n.ssr&&v.eachChild((function(t){var e=Qu(t);e.seriesIndex=p.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}else n.eachRawSeries((function(s){if(!l.get(a)&&s.legendVisualProvider){var c=s.legendVisualProvider;if(!c.containName(a))return;var p=c.indexOfName(a),d=c.getItemVisual(p,"style"),f=c.getItemVisual(p,"legendIcon"),g=Mi(d.fill);g&&0===g[3]&&(g[3]=.2,d=N(N({},d),{fill:Ni(g,"rgba")}));var y=this._createItem(s,a,o,r,e,t,{},d,f,u,i);y.on("click",IK(LK,null,a,i,h)).on("mouseover",IK(OK,null,a,i,h)).on("mouseout",IK(RK,null,a,i,h)),n.ssr&&y.eachChild((function(t){var e=Qu(t);e.seriesIndex=s.seriesIndex,e.dataIndex=o,e.ssrType="legend"})),l.set(a,!0)}}),this);l.get(a)||console.warn(a+" series not exists. Legend data should be same with series name or data name.")}}),this),r&&this._createSelector(r,e,i,o,a)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();TK(t,(function(t){var i=t.type,r=new Bu({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);Md(r,{normal:a,emphasis:s},{defaultText:t.title}),Qh(r)}))},e.prototype._createItem=function(t,e,n,i,r,o,a,s,l,u,h){var c=t.visualDrawType,p=r.get("itemWidth"),d=r.get("itemHeight"),f=r.isSelected(e),g=i.get("symbolRotate"),y=i.get("symbolKeepAspect"),v=i.get("icon");l=v||l||"roundRect";var m=AK(l,i,a,s,c,f,h),x=new CK,_=i.getModel("textStyle");if(!$(t.getLegendIcon)||v&&"inherit"!==v){var w="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;x.add(kK({itemWidth:p,itemHeight:d,icon:l,iconRotate:w,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}))}else x.add(t.getLegendIcon({itemWidth:p,itemHeight:d,icon:l,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:y}));var b="left"===o?p+5:-5,S=o,M=r.get("formatter"),I=e;Q(M)&&M?I=M.replace("{name}",null!=e?e:""):$(M)&&(I=M(e));var T=f?_.getTextColor():i.get("inactiveColor");x.add(new Bu({style:Td(_,{text:I,x:b,y:d/2,fill:T,align:S,verticalAlign:"middle"},{inheritColor:T})}));var C=new Nu({shape:x.getBoundingRect(),style:{fill:"transparent"}}),D=i.getModel("tooltip");return D.get("show")&&vd({el:C,componentModel:r,itemName:e,itemTooltipOption:D.option}),x.add(C),x.eachChild((function(t){t.silent=!0})),C.silent=!u,this.getContentGroup().add(x),Qh(x),x.__legendDataIndex=n,x},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();ug(t.get("orient"),a,t.get("itemGap"),n.width,n.height);var l=a.getBoundingRect(),u=[-l.x,-l.y];if(s.markRedraw(),a.markRedraw(),r){ug("horizontal",s,t.get("selectorItemGap",!0));var h=s.getBoundingRect(),c=[-h.x,-h.y],p=t.get("selectorButtonGap",!0),d=t.getOrient().index,f=0===d?"width":"height",g=0===d?"height":"width",y=0===d?"y":"x";"end"===o?c[d]+=l[f]+p:u[d]+=h[f]+p,c[1-d]+=l[g]/2-h[g]/2,s.x=c[0],s.y=c[1],a.x=u[0],a.y=u[1];var v={x:0,y:0};return v[f]=l[f]+p+h[f],v[g]=Math.max(l[g],h[g]),v[y]=Math.min(0,h[y]+c[1-d]),v}return a.x=u[0],a.y=u[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(Ym);function AK(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),TK(t,(function(n,i){"inherit"===t[i]&&(t[i]=e[i])}))}var l=e.getModel("itemStyle"),u=l.getItemStyle(),h=0===t.lastIndexOf("empty",0)?"fill":"stroke",c=l.getShallow("decal");u.decal=c&&"inherit"!==c?tw(c,a):i.decal,"inherit"===u.fill&&(u.fill=i[r]),"inherit"===u.stroke&&(u.stroke=i[h]),"inherit"===u.opacity&&(u.opacity=("fill"===r?i:n).opacity),s(u,i);var p=e.getModel("lineStyle"),d=p.getLineStyle();if(s(d,n),"auto"===u.fill&&(u.fill=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),"auto"===d.stroke&&(d.stroke=i.fill),!o){var f=e.get("inactiveBorderWidth"),g=u[h];u.lineWidth="auto"===f?i.lineWidth>0&&g?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),d.stroke=p.get("inactiveColor"),d.lineWidth=p.get("inactiveWidth")}return{itemStyle:u,lineStyle:d}}function kK(t){var e=t.icon||"roundRect",n=c_(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);return n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n}function LK(t,e,n,i){RK(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),OK(t,e,n,i)}function PK(t){var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;while(in[r],f=[-c.x,-c.y];e||(f[i]=l[s]);var g=[0,0],y=[-p.x,-p.y],v=ct(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(d){var m=t.get("pageButtonPosition",!0);"end"===m?y[i]+=n[r]-p[r]:g[i]+=p[r]+v}y[1-i]+=c[o]/2-p[o]/2,l.setPosition(f),u.setPosition(g),h.setPosition(y);var x={x:0,y:0};if(x[r]=d?n[r]:c[r],x[o]=Math.max(c[o],p[o]),x[a]=Math.min(0,p[a]+y[1-i]),u.__rectSize=n[r],d){var _={x:0,y:0};_[r]=Math.max(n[r]-p[r]-v,0),_[o]=x[o],u.setClipPath(new Nu({shape:_})),u.__rectSize=_[r]}else h.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&Rp(l,{x:w.contentPosition[0],y:w.contentPosition[1]},d?t:null),this._updatePageInfoView(t,w),x},e.prototype._pageGo=function(t,e,n){var i=this._getPageInfo(e)[t];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;H(["pagePrev","pageNext"],(function(i){var r=i+"DataIndex",o=null!=e[r],a=n.childOfName(i);a&&(a.setStyle("fill",o?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=o?"pointer":"default")}));var i=n.childOfName("pageText"),r=t.get("pageFormatter"),o=e.pageIndex,a=null!=o?o+1:0,s=e.pageCount;i&&r&&i.setStyle("text",Q(r)?r.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):r({current:a,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=WK[r],a=UK[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=h?1:0,p={contentPosition:[n.x,n.y],pageCount:c,pageIndex:c-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!u)return p;var d=m(u);p.contentPosition[r]=-d.s;for(var f=s+1,g=d,y=d,v=null;f<=h;++f)v=m(l[f]),(!v&&y.e>g.s+i||v&&!x(v,g.s))&&(g=y.i>g.i?y:v,g&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount)),y=v;for(f=s-1,g=d,y=d,v=null;f>=-1;--f)v=m(l[f]),v&&x(y,v.s)||!(g.i=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var e,n,i=this.getContentGroup();return i.eachChild((function(i,r){var o=i.__legendDataIndex;null==n&&null!=o&&(n=r),o===t&&(e=r)})),null!=e?e:n},e.type="legend.scroll",e}(DK);function XK(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}function ZK(t){Jb(BK),t.registerComponentModel(GK),t.registerComponentView(YK),XK(t)}function jK(t){Jb(BK),Jb(ZK)}var qK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.inside",e.defaultOption=Qd(FX.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(FX),KK=cs();function JK(t,e,n){KK(t).coordSysRecordMap.each((function(t){var i=t.dataZoomInfoMap.get(e.uid);i&&(i.getRange=n)}))}function $K(t,e){for(var n=KK(t).coordSysRecordMap,i=n.keys(),r=0;ri[n+e]&&(e=a),r=r&&o.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!r}}}function rJ(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=KK(e),i=n.coordSysRecordMap||(n.coordSysRecordMap=Mt());i.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){var n=BX(t);H(n.infoList,(function(n){var r=n.model.uid,o=i.get(r)||i.set(r,tJ(e,n.model)),a=o.dataZoomInfoMap||(o.dataZoomInfoMap=Mt());a.set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),i.each((function(t){var e,n=t.controller,r=t.dataZoomInfoMap;if(r){var o=r.keys()[0];null!=o&&(e=r.get(o))}if(e){var a=iJ(r);n.enable(a.controlType,a.opt),n.setPointerChecker(t.containsPoint),ox(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else QK(i,t)}))}))}var oJ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return i(e,t),e.prototype.render=function(e,n,i){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),JK(i,e,{pan:q(aJ.pan,this),zoom:q(aJ.zoom,this),scrollMove:q(aJ.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){$K(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(UX),aJ={zoom:function(t,e,n,i){var r=this.range,o=r.slice(),a=t.axisModels[0];if(a){var s=lJ[e](null,[i.originX,i.originY],a,n,t),l=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(o[1]-o[0])+o[0],u=Math.max(1/i.scale,0);o[0]=(o[0]-l)*u+l,o[1]=(o[1]-l)*u+l;var h=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return gV(0,o,[0,100],0,h.minSpan,h.maxSpan),this.range=o,r[0]!==o[0]||r[1]!==o[1]?o:void 0}},pan:sJ((function(t,e,n,i,r,o){var a=lJ[i]([o.oldX,o.oldY],[o.newX,o.newY],e,r,n);return a.signal*(t[1]-t[0])*a.pixel/a.pixelLength})),scrollMove:sJ((function(t,e,n,i,r,o){var a=lJ[i]([0,0],[o.scrollDelta,o.scrollDelta],e,r,n);return a.signal*(t[1]-t[0])*o.scrollDelta}))};function sJ(t){return function(e,n,i,r){var o=this.range,a=o.slice(),s=e.axisModels[0];if(s){var l=t(a,s,e,n,i,r);return gV(l,a,[0,100],"all"),this.range=a,o[0]!==a[0]||o[1]!==a[1]?a:void 0}}}var lJ={grid:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem.getRect();return t=t||[0,0],"x"===o.dim?(a.pixel=e[0]-t[0],a.pixelLength=s.width,a.pixelStart=s.x,a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=s.height,a.pixelStart=s.y,a.signal=o.inverse?-1:1),a},polar:function(t,e,n,i,r){var o=n.axis,a={},s=r.model.coordinateSystem,l=s.getRadiusAxis().getExtent(),u=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(a.pixel=e[0]-t[0],a.pixelLength=l[1]-l[0],a.pixelStart=l[0],a.signal=o.inverse?1:-1):(a.pixel=e[1]-t[1],a.pixelLength=u[1]-u[0],a.pixelStart=u[0],a.signal=o.inverse?-1:1),a},singleAxis:function(t,e,n,i,r){var o=n.axis,a=r.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===o.orient?(s.pixel=e[0]-t[0],s.pixelLength=a.width,s.pixelStart=a.x,s.signal=o.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=a.height,s.pixelStart=a.y,s.signal=o.inverse?-1:1),s}};function uJ(t){QX(t),t.registerComponentModel(qK),t.registerComponentView(oJ),rJ(t)}var hJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=Qd(FX.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleLabel:{show:!0},handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(FX),cJ=Nu,pJ=7,dJ=1,fJ=30,gJ=7,yJ="horizontal",vJ="vertical",mJ=5,xJ=["line","bar","candlestick","scatter"],_J={easing:"cubicOut",duration:100,delay:0},wJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return i(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=q(this._onBrush,this),this._onBrushEnd=q(this._onBrushEnd,this)},e.prototype.render=function(e,n,i,r){if(t.prototype.render.apply(this,arguments),ox(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();r&&"dataZoom"===r.type&&r.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){ax(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new zo;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect"),i=n?gJ:0,r=this._findCoordRect(),o={width:e.getWidth(),height:e.getHeight()},a=this._orient===yJ?{right:o.width-r.x-r.width,top:o.height-fJ-pJ-i,width:r.width,height:fJ}:{right:pJ,top:r.y,width:fJ,height:r.height},s=yg(t.option);H(["right","top","width","height"],(function(t){"ph"===s[t]&&(s[t]=a[t])}));var l=cg(s,o);this._location={x:l.x,y:l.y},this._size=[l.width,l.height],this._orient===vJ&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,i=this.dataZoomModel.getFirstTargetAxisModel(),r=i&&i.get("inverse"),o=this._displayables.sliderGroup,a=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n!==yJ||r?n===yJ&&r?{scaleY:a?1:-1,scaleX:-1}:n!==vJ||r?{scaleY:a?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:a?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:a?1:-1,scaleX:1});var s=t.getBoundingRect([o]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,i=t.get("brushSelect");n.add(new cJ({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var r=new cJ({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:q(this._onClickPanel,this)}),o=this.api.getZr();i?(r.on("mousedown",this._onBrushStart,this),r.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(r)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],i=t.series,r=i.getRawData(),o=i.getShadowDim&&i.getShadowDim(),a=o&&r.getDimensionInfo(o)?i.getShadowDim():t.otherDim;if(null!=a){var s=this._shadowPolygonPts,l=this._shadowPolylinePts;if(r!==this._shadowData||a!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var u=r.getDataExtent(a),h=.3*(u[1]-u[0]);u=[u[0]-h,u[1]+h];var c,p=[0,e[1]],d=[0,e[0]],f=[[e[0],0],[0,0]],g=[],y=d[1]/(r.count()-1),v=0,m=Math.round(r.count()/e[0]);r.each([a],(function(t,e){if(m>0&&e%m)v+=y;else{var n=null==t||isNaN(t)||""===t,i=n?0:na(t,u,p,!0);n&&!c&&e?(f.push([f[f.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&c&&(f.push([v,0]),g.push([v,0])),f.push([v,i]),g.push([v,i]),v+=y,c=n}})),s=this._shadowPolygonPts=f,l=this._shadowPolylinePts=g}this._shadowData=r,this._shadowDim=a,this._shadowSize=[e[0],e[1]];for(var x=this.dataZoomModel,_=0;_<3;_++){var w=b(1===_);this._displayables.sliderGroup.add(w),this._displayables.dataShadowSegs.push(w)}}}function b(t){var e=x.getModel(t?"selectedDataBackground":"dataBackground"),n=new zo,i=new lp({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),r=new hp({shape:{points:l},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(i),n.add(r),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,i=this.ecModel;return t.eachTargetAxis((function(r,o){var a=t.getAxisProxy(r,o).getTargetSeriesModels();H(a,(function(t){if(!n&&!(!0!==e&&V(xJ,t.get("type"))<0)){var a,s=i.getComponent(zX(r),o).axis,l=bJ(r),u=t.coordinateSystem;null!=l&&u.getOtherAxis&&(a=u.getOtherAxis(s).inverse),l=t.getData().mapDimension(l),n={thisAxis:s,series:t,thisDim:r,otherDim:l,otherAxisInverse:a}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],i=e.handleLabels=[null,null],r=this._displayables.sliderGroup,o=this._size,a=this.dataZoomModel,s=this.api,l=a.get("borderRadius")||0,u=a.get("brushSelect"),h=e.filler=new cJ({silent:u,style:{fill:a.get("fillerColor")},textConfig:{position:"inside"}});r.add(h),r.add(new cJ({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:l},style:{stroke:a.get("dataBackgroundColor")||a.get("borderColor"),lineWidth:dJ,fill:"rgba(0,0,0,0)"}})),H([0,1],(function(e){var o=a.get("handleIcon");!l_[o]&&o.indexOf("path://")<0&&o.indexOf("image://")<0&&(o="path://"+o,Ra("handleIcon now needs 'path://' prefix when using a path string"));var s=c_(o,-1,0,2,2,null,!0);s.attr({cursor:SJ(this._orient),draggable:!0,drift:q(this._onDragMove,this,e),ondragend:q(this._onDragEnd,this),onmouseover:q(this._showDataInfo,this,!0),onmouseout:q(this._showDataInfo,this,!1),z2:5});var l=s.getBoundingRect(),u=a.get("handleSize");this._handleHeight=ia(u,this._size[1]),this._handleWidth=l.width/l.height*this._handleHeight,s.setStyle(a.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=a.getModel(["emphasis","handleStyle"]).getItemStyle(),Qh(s);var h=a.get("handleColor");null!=h&&(s.style.fill=h),r.add(n[e]=s);var c=a.getModel("textStyle"),p=a.get("handleLabel")||{},d=p.show||!1;t.add(i[e]=new Bu({silent:!0,invisible:!d,style:Td(c,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:c.getTextColor(),font:c.getFont()}),z2:10}))}),this);var c=h;if(u){var p=ia(a.get("moveHandleSize"),o[1]),d=e.moveHandle=new Nu({style:a.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),f=.8*p,g=e.moveHandleIcon=c_(a.get("moveHandleIcon"),-f/2,-f/2,f,f,"#fff",!0);g.silent=!0,g.y=o[1]+p/2-.5,d.ensureState("emphasis").style=a.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));c=e.moveZone=new Nu({invisible:!0,shape:{y:o[1]-y,height:p+y}}),c.on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),r.add(d),r.add(g),r.add(c)}c.attr({draggable:!0,cursor:SJ(this._orient),drift:q(this._onDragMove,this,"all"),ondragstart:q(this._showDataInfo,this,!0),ondragend:q(this._onDragEnd,this),onmouseover:q(this._showDataInfo,this,!0),onmouseout:q(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[na(t[0],[0,100],e,!0),na(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,i=this._handleEnds,r=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),a=[0,100];gV(e,i,r,n.get("zoomLock")?"all":t,null!=o.minSpan?na(o.minSpan,a,r,!0):null,null!=o.maxSpan?na(o.maxSpan,a,r,!0):null);var s=this._range,l=this._range=oa([na(i[0],r,a,!0),na(i[1],r,a,!0)]);return!s||s[0]!==l[0]||s[1]!==l[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,i=oa(n.slice()),r=this._size;H([0,1],(function(t){var i=e.handles[t],o=this._handleHeight;i.attr({scaleX:o/2,scaleY:o/2,x:n[t]+(t?-1:1),y:r[1]/2-o/2})}),this),e.filler.setShape({x:i[0],y:0,width:i[1]-i[0],height:r[1]});var o={x:i[0],width:i[1]-i[0]};e.moveHandle&&(e.moveHandle.setShape(o),e.moveZone.setShape(o),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",o.x+o.width/2));for(var a=e.dataShadowSegs,s=[0,i[0],i[1],r[0]],l=0;le[0]||n[1]<0||n[1]>e[1])){var i=this._handleEnds,r=(i[0]+i[1])/2,o=this._updateInterval("all",n[0]-r);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new Xe(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape,i=+new Date;if(!(i-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),o=[0,100];this._range=oa([na(n.x,r,o,!0),na(n.x+n.width,r,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(ke(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,i=this.dataZoomModel,r=n.brushRect;r||(r=n.brushRect=new cJ({silent:!0,style:i.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(r)),r.attr("ignore",!1);var o=this._brushStart,a=this._displayables.sliderGroup,s=a.transformCoordToLocal(t,e),l=a.transformCoordToLocal(o.x,o.y),u=this._size;s[0]=Math.max(Math.min(u[0],s[0]),0),r.setShape({x:l[0],y:0,width:s[0]-l[0],height:u[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?_J:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=BX(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var i=this.api.getWidth(),r=this.api.getHeight();t={x:.2*i,y:.2*r,width:.6*i,height:.6*r}}return t},e.type="dataZoom.slider",e}(UX);function bJ(t){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[t]}function SJ(t){return"vertical"===t?"ns-resize":"ew-resize"}function MJ(t){t.registerComponentModel(hJ),t.registerComponentView(wJ),QX(t)}function IJ(t){Jb(uJ),Jb(MJ)}var TJ={get:function(t,e,n){var i=P((CJ[t]||{})[e]);return n&&J(i)?i[i.length-1]:i}},CJ={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},DJ=TN.mapVisual,AJ=TN.eachVisual,kJ=J,LJ=H,PJ=oa,OJ=na,RJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return i(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&Hj(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=q(t,this),this.controllerVisuals=Fj(this.option.controller,e,t),this.targetVisuals=Fj(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=Fa(t),e},e.prototype.eachTargetSeries=function(t,e){H(this.getTargetSeriesIndices(),(function(n){var i=this.ecModel.getSeriesByIndex(n);i&&t.call(e,i)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var i,r=this.option,o=r.precision,a=this.dataBound,s=r.formatter;n=n||["<",">"],J(t)&&(t=t.slice(),i=!0);var l=e?t:i?[u(t[0]),u(t[1])]:u(t);return Q(s)?s.replace("{value}",i?l[0]:l).replace("{value2}",i?l[1]:l):$(s)?i?s(t[0],t[1]):s(t):i?t[0]===a[0]?n[0]+" "+l[1]:t[1]===a[1]?n[1]+" "+l[0]:l[0]+" - "+l[1]:l;function u(t){return t===a[0]?"min":t===a[1]?"max":(+t).toFixed(Math.min(o,20))}},e.prototype.resetExtent=function(){var t=this.option,e=PJ([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,i=n.length-1;i>=0;i--){var r=n[i],o=t.getDimensionInfo(r);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},i=e.target||(e.target={}),r=e.controller||(e.controller={});O(i,n),O(r,n);var o=this.isCategory();function a(n){kJ(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}function s(t,e,n){var i=t[e],r=t[n];i&&!r&&(r=t[n]={},LJ(i,(function(t,e){if(TN.isValidType(e)){var n=TJ.get(e,"inactive",o);null!=n&&(r[e]=n,"color"!==e||r.hasOwnProperty("opacity")||r.hasOwnProperty("colorAlpha")||(r.opacity=[0,0]))}})))}function l(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,i=this.get("inactiveColor"),r=this.getItemSymbol(),a=r||"roundRect";LJ(this.stateList,(function(r){var s=this.itemSize,l=t[r];l||(l=t[r]={color:o?i:[i]}),null==l.symbol&&(l.symbol=e&&P(e)||(o?a:[a])),null==l.symbolSize&&(l.symbolSize=n&&P(n)||(o?s[0]:[s[0],s[0]])),l.symbol=DJ(l.symbol,(function(t){return"none"===t?a:t}));var u=l.symbolSize;if(null!=u){var h=-1/0;AJ(u,(function(t){t>h&&(h=t)})),l.symbolSize=DJ(u,(function(t){return OJ(t,[0,h],[0,s[0]],!0)}))}}),this)}a.call(this,i),a.call(this,r),s.call(this,i,"inRange","outOfRange"),l.call(this,r)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(xg),NJ=[20,140],EJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=NJ[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=NJ[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):J(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),H(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=oa((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var i=[],r=n.getData();r.each(this.getDataDimensionIndex(r),(function(e,n){t[0]<=e&&e<=t[1]&&i.push(n)}),this),e.push({seriesId:n.id,dataIndex:i})}),this),e},e.prototype.getVisualMeta=function(t){var e=zJ(this,"outOfRange",this.getExtent()),n=zJ(this,"inRange",this.option.range.slice()),i=[];function r(e,n){i.push({value:e,color:t(e,n)})}for(var o=0,a=0,s=n.length,l=e.length;at[1])break;i.push({color:this.getControllerVisual(a,"color",e),offset:o/n})}return i.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),i},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new zo("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,i=this.visualMapModel,r=n.handleThumbs,o=n.handleLabels,a=i.itemSize,s=i.getExtent(),l=this._applyTransform("left",n.mainGroup);WJ([0,1],(function(u){var h=r[u];h.setStyle("fill",e.handlesColor[u]),h.y=t[u];var c=HJ(t[u],[0,a[1]],s,!0),p=this.getControllerVisual(c,"symbolSize");h.scaleX=h.scaleY=p/a[0],h.x=a[0]-p/2;var d=od(n.handleLabelPoints[u],rd(h,this.group));if("horizontal"===this._orient){var f="left"===l||"top"===l?(a[0]-p)/2:(a[0]-p)/-2;d[1]+=f}o[u].setStyle({x:d[0],y:d[1],text:i.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,i){var r=this.visualMapModel,o=r.getExtent(),a=r.itemSize,s=[0,a[1]],l=this._shapes,u=l.indicator;if(u){u.attr("invisible",!1);var h={convertOpacityToAlpha:!0},c=this.getControllerVisual(t,"color",h),p=this.getControllerVisual(t,"symbolSize"),d=HJ(t,o,s,!0),f=a[0]-p/2,g={x:u.x,y:u.y};u.y=d,u.x=f;var y=od(l.indicatorLabelPoint,rd(u,this.group)),v=l.indicatorLabel;v.attr("invisible",!1);var m=this._applyTransform("left",l.mainGroup),x=this._orient,_="horizontal"===x;v.setStyle({text:(n||"")+r.formatValueText(e),verticalAlign:_?m:"middle",align:_?"center":m});var w={x:f,y:d,style:{fill:c}},b={style:{x:y[0],y:y[1]}};if(r.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var S={duration:100,easing:"cubicInOut",additive:!0};u.x=g.x,u.y=g.y,u.animateTo(w,S),v.animateTo(b,S)}else u.attr(w),v.attr(b);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var I=0;Ir[1]&&(u[1]=1/0),e&&(u[0]===-1/0?this._showIndicator(l,u[1],"< ",a):u[1]===1/0?this._showIndicator(l,u[0],"> ",a):this._showIndicator(l,l,"≈ ",a));var h=this._hoverLinkDataIndices,c=[];(e||JJ(n))&&(c=this._hoverLinkDataIndices=n.findTargetDataIndices(u));var p=us(h,c);this._dispatchHighDown("downplay",FJ(p[0],n)),this._dispatchHighDown("highlight",FJ(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if($x(t.target,(function(t){var n=Qu(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),i=this.visualMapModel;if(i.isTargetSeries(n)){var r=n.getData(e.dataType),o=r.getStore().get(i.getDataDimensionIndex(r),e.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n=0&&(r.dimension=o,i.push(r))}})),t.getData().setVisual("visualMeta",i)}}];function n$(t,e,n,i){for(var r=e.targetVisuals[i],o=TN.prepareVisualTypes(r),a={color:Zx(t.getData(),"color")},s=0,l=o.length;s0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(QJ,t$),H(e$,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(r$))}function l$(t){t.registerComponentModel(EJ),t.registerComponentView(jJ),s$(t)}var u$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return i(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var i=this._mode=this._determineMode();this._pieceList=[],h$[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var r=this.option.categories;this.resetVisual((function(t,e){"categories"===i?(t.mappingMethod="category",t.categories=P(r)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=W(this._pieceList,(function(t){return t=P(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},i=TN.listVisualTypes(),r=this.isCategory();function o(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}H(e.pieces,(function(t){H(i,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),H(n,(function(t,n){var i=!1;H(this.stateList,(function(t){i=i||o(e,t,n)||o(e.target,t,n)}),this),!i&&H(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=TJ.get(n,"inRange"===t?"active":"inactive",r)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,i=this._pieceList,r=(e?n:t).selected||{};if(n.selected=r,H(i,(function(t,e){var n=this.getSelectedMapKey(t);r.hasOwnProperty(n)||(r[n]=!0)}),this),"single"===n.selectedMode){var o=!1;H(i,(function(t,e){var n=this.getSelectedMapKey(t);r[n]&&(o?r[n]=!1:o=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=P(t)},e.prototype.getValueState=function(t){var e=TN.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(i){var r=[],o=i.getData();o.each(this.getDataDimensionIndex(o),(function(e,i){var o=TN.findPieceIndex(e,n);o===t&&r.push(i)}),this),e.push({seriesId:i.id,dataIndex:r})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],i=this,r=this._pieceList.slice();if(r.length){var o=r[0].interval[0];o!==-1/0&&r.unshift({interval:[-1/0,o]}),o=r[r.length-1].interval[1],o!==1/0&&r.push({interval:[o,1/0]})}else r.push({interval:[-1/0,1/0]});var a=-1/0;return H(r,(function(t){var e=t.interval;e&&(e[0]>a&&s([a,e[0]],"outOfRange"),s(e.slice()),a=e[1])}),this),{stops:e,outerColors:n}}function s(r,o){var a=i.getRepresentValue({interval:r});o||(o=i.getValueState(a));var s=t(a,o);r[0]===-1/0?n[0]=s:r[1]===1/0?n[1]=s:e.push({value:r[0],color:s},{value:r[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=Qd(RJ.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(RJ),h$={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),i=this.getExtent(),r=e.splitNumber;r=Math.max(parseInt(r,10),1),e.splitNumber=r;var o=(i[1]-i[0])/r;while(+o.toFixed(n)!==o&&n<5)n++;e.precision=n,o=+o.toFixed(n),e.minOpen&&t.push({interval:[-1/0,i[0]],close:[0,0]});for(var a=0,s=i[0];ao[1]&&console.warn("Piece "+n+"is illegal: "+o+" lower bound should not greater then uppper bound."),o[0]===o[1]&&a[0]&&a[1]&&(i.value=o[0])}i.visual=TN.retrieveVisuals(e),t.push(i)}),this),c$(e,t),wa(t),H(t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function c$(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}var p$=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return i(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),i=e.textStyleModel,r=i.getFont(),o=i.getTextColor(),a=this._getItemAlign(),s=e.itemSize,l=this._getViewData(),u=l.endsText,h=ht(e.get("showLabel",!0),!u),c=!e.get("selectedMode");u&&this._renderEndsText(t,u[0],s,h,a),H(l.viewPieceList,(function(i){var l=i.piece,u=new zo;u.onclick=q(this._onItemClick,this,l),this._enableHoverLink(u,i.indexInModelPieceList);var p=e.getRepresentValue(l);if(this._createItemSymbol(u,p,[0,0,s[0],s[1]],c),h){var d=this.visualMapModel.getValueState(p);u.add(new Bu({style:{x:"right"===a?-n:s[0]+n,y:s[1]/2,text:l.text,verticalAlign:"middle",align:a,font:r,fill:o,opacity:"outOfRange"===d?.5:1},silent:c}))}t.add(u)}),this),u&&this._renderEndsText(t,u[1],s,h,a),ug(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return i("highlight")})).on("mouseout",(function(){return i("downplay")}));var i=function(t){var i=n.visualMapModel;i.option.hoverLink&&n.api.dispatchAction({type:t,batch:FJ(i.findTargetDataIndices(e),i)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return GJ(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,i,r){if(e){var o=new zo,a=this.visualMapModel.textStyleModel;o.add(new Bu({style:Td(a,{x:i?"right"===r?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:i?r:"center",text:e})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=W(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),i=t.get("orient"),r=t.get("inverse");return("horizontal"===i?r:!r)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n,i){var r=c_(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color"));r.silent=i,t.add(r)},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,i=n.selectedMode;if(i){var r=P(n.selected),o=e.getSelectedMapKey(t);"single"===i||!0===i?(r[o]=!0,H(r,(function(t,e){r[e]=e===o}))):r[o]=!r[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:r})}},e.type="visualMap.piecewise",e}(VJ);function d$(t){t.registerComponentModel(u$),t.registerComponentView(p$),s$(t)}function f$(t){Jb(l$),Jb(d$)}var g$={label:{enabled:!0},decal:{show:!1}},y$=cs(),v$={};function m$(t,e){var n=t.getModel("aria");if(n.get("enabled")){var i=P(g$);O(i.label,t.getLocaleModel().get("aria"),!1),O(n.option,i,!1),r(),o()}function r(){var e=n.getModel("decal"),i=e.get("show");if(i){var r=Mt();t.eachSeries((function(t){if(!t.isColorBySeries()){var e=r.get(t.type);e||(e={},r.set(t.type,e)),y$(t).scope=e}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if($(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var i=Jg(e.ecModel,e.name,v$,t.getSeriesCount()),r=n.getVisual("decal");n.setVisual("decal",u(r,i))}else{var o=e.getRawData(),a={},s=y$(e).scope;n.each((function(t){var e=n.getRawIndex(t);a[e]=t}));var l=o.count();o.each((function(t){var i=a[t],r=o.getName(t)||t+"",h=Jg(e.ecModel,r,s,l),c=n.getItemVisual(i,"decal");n.setItemVisual(i,"decal",u(c,h))}))}}function u(t,e){var n=t?N(N({},e),t):e;return n.dirty=!0,n}}))}}function o(){var i=e.getZr().dom;if(i){var r=t.getLocaleModel().get("aria"),o=n.getModel("label");if(o.option=E(o.option,r),o.get("enabled"))if(i.setAttribute("role","img"),o.get("description"))i.setAttribute("aria-label",o.get("description"));else{var u,h=t.getSeriesCount(),c=o.get(["data","maxCount"])||10,p=o.get(["series","maxCount"])||10,d=Math.min(h,p);if(!(h<1)){var f=s();if(f){var g=o.get(["general","withTitle"]);u=a(g,{title:f})}else u=o.get(["general","withoutTitle"]);var y=[],v=h>1?o.get(["series","multiple","prefix"]):o.get(["series","single","prefix"]);u+=a(v,{seriesCount:h}),t.eachSeries((function(t,e){if(e1?o.get(["series","multiple",r]):o.get(["series","single",r]),n=a(n,{seriesId:t.seriesIndex,seriesName:t.get("name"),seriesType:l(t.subType)});var s=t.getData();if(s.count()>c){var u=o.get(["data","partialData"]);n+=a(u,{displayCnt:c})}else n+=o.get(["data","allData"]);for(var p=o.get(["data","separator","middle"]),f=o.get(["data","separator","end"]),g=o.get(["data","excludeDimensionId"]),v=[],m=0;m":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},b$=function(){function t(t){var e=this._condVal=Q(t)?new RegExp(t):lt(t)?t:null;if(null==e){var n="";n=Ea("Illegal regexp",t,"in"),za(n)}}return t.prototype.evaluate=function(t){var e=typeof t;return Q(e)?this._condVal.test(t):!!et(e)&&this._condVal.test(t+"")},t}(),S$=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),M$=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e2&&l.push(e),e=[t,n]}function f(t,n,i,r){W$(t,i)&&W$(n,r)||e.push(t,n,i,r,i,r)}function g(t,n,i,r,o,a){var s=Math.abs(n-t),l=4*Math.tan(s/4)/3,u=nM:C2&&l.push(e),l}function Y$(t,e,n,i,r,o,a,s,l,u){if(W$(t,n)&&W$(e,i)&&W$(r,a)&&W$(o,s))l.push(a,s);else{var h=2/u,c=h*h,p=a-t,d=s-e,f=Math.sqrt(p*p+d*d);p/=f,d/=f;var g=n-t,y=i-e,v=r-a,m=o-s,x=g*g+y*y,_=v*v+m*m;if(x=0&&M=0)l.push(a,s);else{var I=[],T=[];qn(t,n,r,a,.5,I),qn(e,i,o,s,.5,T),Y$(I[0],T[0],I[1],T[1],I[2],T[2],I[3],T[3],l,u),Y$(I[4],T[4],I[5],T[5],I[6],T[6],I[7],T[7],l,u)}}}}function X$(t,e){var n=U$(t),i=[];e=e||1;for(var r=0;r0)for(u=0;uMath.abs(u),c=Z$([l,u],h?0:1,e),p=(h?s:u)/c.length,d=0;dr,a=Z$([i,r],o?0:1,e),s=o?"width":"height",l=o?"height":"width",u=o?"x":"y",h=o?"y":"x",c=t[s]/a.length,p=0;p1?null:new Xe(g*l+t,g*u+e)}function $$(t,e,n){var i=new Xe;Xe.sub(i,n,e),i.normalize();var r=new Xe;Xe.sub(r,t,e);var o=r.dot(i);return o}function Q$(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function tQ(t,e,n){for(var i=t.length,r=[],o=0;oa?(u.x=h.x=s+o/2,u.y=l,h.y=l+a):(u.y=h.y=l+a/2,u.x=s,h.x=s+o),tQ(e,u,h)}function nQ(t,e,n,i){if(1===n)i.push(e);else{var r=Math.floor(n/2),o=t(e);nQ(t,o[0],r,i),nQ(t,o[1],n-r,i)}return i}function iQ(t,e){for(var n=[],i=0;i0)for(var w=i/n,b=-i/2;b<=i/2;b+=w){var S=Math.sin(b),M=Math.cos(b),I=0;for(x=0;x0;u/=2){var h=0,c=0;(t&u)>0&&(h=1),(e&u)>0&&(c=1),l+=u*u*(3*h^c),0===c&&(1===h&&(t=u-1-t,e=u-1-e),s=t,t=e,e=s)}return l}function bQ(t){var e=1/0,n=1/0,i=-1/0,r=-1/0,o=W(t,(function(t){var o=t.getBoundingRect(),a=t.getComputedTransform(),s=o.x+o.width/2+(a?a[4]:0),l=o.y+o.height/2+(a?a[5]:0);return e=Math.min(s,e),n=Math.min(l,n),i=Math.max(s,i),r=Math.max(l,r),[s,l]})),a=W(o,(function(o,a){return{cp:o,z:wQ(o[0],o[1],e,n,i,r),path:t[a]}}));return a.sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function SQ(t){return aQ(t.path,t.count)}function MQ(){return{fromIndividuals:[],toIndividuals:[],count:0}}function IQ(t,e,n){var i=[];function r(t){for(var e=0;e=0;r--)if(!n[r].many.length){var l=n[s].many;if(l.length<=1){if(!s)return n;s=0}o=l.length;var u=Math.ceil(o/2);n[r].many=l.slice(u,o),n[s].many=l.slice(0,u),s++}return n}var AQ={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),i=0;i0){var s,l,u=i.getModel("universalTransition").get("delay"),h=Object.assign({setToFinal:!0},a);CQ(t)&&(s=t,l=e),CQ(e)&&(s=e,l=t);for(var c=s?s===t:t.length>e.length,p=s?DQ(l,s):DQ(c?e:t,[c?t:e]),d=0,f=0;fPQ)Pa("Universal transition is disabled on large data > 10k.");else for(var r=n.getIndices(),o=0;o0&&r.group.traverse((function(t){t instanceof wu&&!t.animators.length&&t.animateFrom({style:{opacity:0}},o)}))}))}function ZQ(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function jQ(t){return J(t)?t.sort().join(","):t}function qQ(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function KQ(t,e){var n=Mt(),i=Mt(),r=Mt();function o(t){n.get(t)&&Pa("Duplicated seriesKey in universalTransition "+t)}return H(t.oldSeries,(function(e,n){var o=t.oldDataGroupIds[n],a=t.oldData[n],s=ZQ(e),l=jQ(s);i.set(l,{dataGroupId:o,data:a}),J(s)&&H(s,(function(t){r.set(t,{key:l,dataGroupId:o,data:a})}))})),H(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),a=t.getData(),s=ZQ(t),l=jQ(s),u=i.get(l);if(u)o(l),n.set(l,{oldSeries:[{dataGroupId:u.dataGroupId,divide:qQ(u.data),data:u.data}],newSeries:[{dataGroupId:e,divide:qQ(a),data:a}]});else if(J(s)){o(l);var h=[];H(s,(function(t){var e=i.get(t);e.data&&h.push({dataGroupId:e.dataGroupId,divide:qQ(e.data),data:e.data})})),h.length&&n.set(l,{oldSeries:h,newSeries:[{dataGroupId:e,data:a,divide:qQ(a)}]})}else{var c=r.get(s);if(c){var p=n.get(c.key);p||(p={oldSeries:[{dataGroupId:c.dataGroupId,data:c.data,divide:qQ(c.data)}],newSeries:[]},n.set(c.key,p)),p.newSeries.push({dataGroupId:e,data:a,divide:qQ(a)})}}}})),n}function JQ(t,e){for(var n=0;n=0&&r.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:qQ(e.oldData[n]),groupIdDim:t.dimension})})),H(Fa(t.to),(function(t){var i=JQ(n.updatedSeries,t);if(i>=0){var r=n.updatedSeries[i].getData();o.push({dataGroupId:e.oldDataGroupIds[i],data:r,divide:qQ(r),groupIdDim:t.dimension})}})),r.length>0&&o.length>0&&XQ(r,o,i)}function QQ(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){H(Fa(n.seriesTransition),(function(t){H(Fa(t.to),(function(t){for(var e=n.updatedSeries,i=0;i-1;r--)"true"===n[r].getAttribute(e)&&t.removeChild(n[r])}function o(){var t=document.getElementsByTagName("head")[0];return{setMetaInfo:function(e){var r=function(r){"title"!==r?e.hasOwnProperty(r)&&e[r].forEach((function(e){var o=document.createElement(r);n(o,e),t.appendChild(o)})):document.title=e.title};for(var o in e)r(o)},removeMetaInfo:function(){r(t)}}}function i(t){o().removeMetaInfo(),o().setMetaInfo(t)}function a(t,e){var n=this;t&&e&&(t.title=e.title||"",t.render={},Object.keys(e).forEach((function(r){"title"!==r&&(t.render[r]=function(){var t="";return e[r]&&e[r].forEach((function(e){var n="<"+r+' data-vue-meta-info="true"';Object.keys(e).forEach((function(t){n+=t+'="'+e[t]+'"'})),n+=">\n",t+=n})),t}.bind(n))})))}var s=function(){};return s.install=function(e){e.mixin({beforeCreate:function(){var e=this;if(void 0!==this.$options[t]){var n=typeof this.$options[t];this._hasMetaInfo=!0,"undefined"===typeof this.$options.computed&&(this.$options.computed={}),this.$options.computed.$metaInfo="function"===n?this.$options[t]:function(){return e.$options[t]}}},created:function(){a(this.$ssrContext,this.$metaInfo)},beforeMount:function(){this._hasMetaInfo&&i(this.$metaInfo)},mounted:function(){var t=this;this._hasMetaInfo&&this.$watch("$metaInfo",(function(){i(t.$metaInfo)}))},activated:function(){this._hasMetaInfo&&i(this.$metaInfo)},deactivated:function(){this._hasMetaInfo&&i(this.$metaInfo)}})},s}))},22484:function(t,e,n){"use strict"; +/*! + * vue-router v3.6.5 + * (c) 2022 Evan You + * @license MIT + */function r(t,e){for(var n in e)t[n]=e[n];return t}n(44114),n(18111),n(81148),n(22489),n(7588),n(61701),n(13579);var o=/[!'()*]/g,i=function(t){return"%"+t.charCodeAt(0).toString(16)},a=/%2C/g,s=function(t){return encodeURIComponent(t).replace(o,i).replace(a,",")};function c(t){try{return decodeURIComponent(t)}catch(e){0}return t}function u(t,e,n){void 0===e&&(e={});var r,o=n||f;try{r=o(t||"")}catch(s){r={}}for(var i in e){var a=e[i];r[i]=Array.isArray(a)?a.map(l):l(a)}return r}var l=function(t){return null==t||"object"===typeof t?t:String(t)};function f(t){var e={};return t=t.trim().replace(/^(\?|#|&)/,""),t?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),r=c(n.shift()),o=n.length>0?c(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]})),e):e}function p(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return s(e);if(Array.isArray(n)){var r=[];return n.forEach((function(t){void 0!==t&&(null===t?r.push(s(e)):r.push(s(e)+"="+s(t)))})),r.join("&")}return s(e)+"="+s(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var h=/\/?$/;function d(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=v(i)}catch(s){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:y(e,o),matched:t?_(t):[]};return n&&(a.redirectedFrom=y(n,o)),Object.freeze(a)}function v(t){if(Array.isArray(t))return t.map(v);if(t&&"object"===typeof t){var e={};for(var n in t)e[n]=v(t[n]);return e}return t}var m=d(null,{path:"/"});function _(t){var e=[];while(t)e.unshift(t),t=t.parent;return e}function y(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;void 0===o&&(o="");var i=e||p;return(n||"/")+i(r)+o}function g(t,e,n){return e===m?t===e:!!e&&(t.path&&e.path?t.path.replace(h,"")===e.path.replace(h,"")&&(n||t.hash===e.hash&&b(t.query,e.query)):!(!t.name||!e.name)&&(t.name===e.name&&(n||t.hash===e.hash&&b(t.query,e.query)&&b(t.params,e.params))))}function b(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t).sort(),r=Object.keys(e).sort();return n.length===r.length&&n.every((function(n,o){var i=t[n],a=r[o];if(a!==n)return!1;var s=e[n];return null==i||null==s?i===s:"object"===typeof i&&"object"===typeof s?b(i,s):String(i)===String(s)}))}function w(t,e){return 0===t.path.replace(h,"/").indexOf(e.path.replace(h,"/"))&&(!e.hash||t.hash===e.hash)&&$(t.query,e.query)}function $(t,e){for(var n in e)if(!(n in t))return!1;return!0}function C(t){for(var e=0;e=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}function T(t){return t.replace(/\/(?:\s*\/)+/g,"/")}var j=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},A=Z,M=L,I=D,F=U,R=J,P=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function L(t,e){var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";while(null!=(n=P.exec(t))){var c=n[0],u=n[1],l=n.index;if(a+=t.slice(i,l),i=l+c.length,u)a+=u[1];else{var f=t[i],p=n[2],h=n[3],d=n[4],v=n[5],m=n[6],_=n[7];a&&(r.push(a),a="");var y=null!=p&&null!=f&&f!==p,g="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,$=d||v;r.push({name:h||o++,prefix:p||"",delimiter:w,optional:b,repeat:g,partial:y,asterisk:!!_,pattern:$?B($):_?".*":"[^"+H(w)+"]+?"})}}return i1||!k.length)return 0===k.length?t():t("span",{},k)}if("a"===this.tag)C.on=$,C.attrs={href:c,"aria-current":y};else{var x=at(this.$slots.default);if(x){x.isStatic=!1;var O=x.data=r({},x.data);for(var S in O.on=O.on||{},O.on){var E=O.on[S];S in $&&(O.on[S]=Array.isArray(E)?E:[E])}for(var T in $)T in O.on?O.on[T].push($[T]):O.on[T]=b;var j=x.data.attrs=r({},x.data.attrs);j.href=c,j["aria-current"]=y}else C.on=$}return t(this.tag,C,this.$slots.default)}};function it(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&(void 0===t.button||0===t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function at(t){if(t)for(var e,n=0;n-1&&(s.params[f]=n.params[f]);return s.path=Y(u.path,s.params,'named route "'+c+'"'),p(u,s,a)}if(s.path){s.params={};for(var h=0;h-1}function qt(t,e){return zt(t)&&t._isRouter&&(null==e||t.type===e)}function Gt(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],(function(){r(o+1)})):r(o+1)};r(0)}function Kt(t){return function(e,n,r){var o=!1,i=0,a=null;Jt(t,(function(t,e,n,s){if("function"===typeof t&&void 0===t.cid){o=!0,i++;var c,u=Qt((function(e){Yt(e)&&(e=e.default),t.resolved="function"===typeof e?e:tt.extend(e),n.components[s]=e,i--,i<=0&&r()})),l=Qt((function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=zt(t)?t:new Error(e),r(a))}));try{c=t(u,l)}catch(p){l(p)}if(c)if("function"===typeof c.then)c.then(u,l);else{var f=c.component;f&&"function"===typeof f.then&&f.then(u,l)}}})),o||r()}}function Jt(t,e){return Zt(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function Zt(t){return Array.prototype.concat.apply([],t)}var Xt="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag;function Yt(t){return t.__esModule||Xt&&"Module"===t[Symbol.toStringTag]}function Qt(t){var e=!1;return function(){var n=[],r=arguments.length;while(r--)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var te=function(t,e){this.router=t,this.base=ee(e),this.current=m,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function ee(t){if(!t)if(ct){var e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^https?:\/\/[^\/]+/,"")}else t="/";return"/"!==t.charAt(0)&&(t="/"+t),t.replace(/\/$/,"")}function ne(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n0)){var e=this.router,n=e.options.scrollBehavior,r=Ft&&n;r&&this.listeners.push($t());var o=function(){var n=t.current,o=fe(t.base);t.current===m&&o===t._startLocation||t.transitionTo(o,(function(t){r&&Ct(e,t,n,!0)}))};window.addEventListener("popstate",o),this.listeners.push((function(){window.removeEventListener("popstate",o)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Rt(T(r.base+t.fullPath)),Ct(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){Pt(T(r.base+t.fullPath)),Ct(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(fe(this.base)!==this.current.fullPath){var e=T(this.base+this.current.fullPath);t?Rt(e):Pt(e)}},e.prototype.getCurrentLocation=function(){return fe(this.base)},e}(te);function fe(t){var e=window.location.pathname,n=e.toLowerCase(),r=t.toLowerCase();return!t||n!==r&&0!==n.indexOf(T(r+"/"))||(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var pe=function(t){function e(e,n,r){t.call(this,e,n),r&&he(this.base)||de()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,r=Ft&&n;r&&this.listeners.push($t());var o=function(){var e=t.current;de()&&t.transitionTo(ve(),(function(n){r&&Ct(t.router,n,e,!0),Ft||ye(n.fullPath)}))},i=Ft?"popstate":"hashchange";window.addEventListener(i,o),this.listeners.push((function(){window.removeEventListener(i,o)}))}},e.prototype.push=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){_e(t.fullPath),Ct(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this,o=this,i=o.current;this.transitionTo(t,(function(t){ye(t.fullPath),Ct(r.router,t,i,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ve()!==e&&(t?_e(e):ye(e))},e.prototype.getCurrentLocation=function(){return ve()},e}(te);function he(t){var e=fe(t);if(!/^\/#/.test(e))return window.location.replace(T(t+"/#"+e)),!0}function de(){var t=ve();return"/"===t.charAt(0)||(ye("/"+t),!1)}function ve(){var t=window.location.href,e=t.indexOf("#");return e<0?"":(t=t.slice(e+1),t)}function me(t){var e=window.location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e;return r+"#"+t}function _e(t){Ft?Rt(me(t)):window.location.hash=t}function ye(t){Ft?Pt(me(t)):window.location.replace(me(t))}var ge=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,(function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,(function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach((function(e){e&&e(r,t)}))}),(function(t){qt(t,Lt.duplicated)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(te),be=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ht(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Ft&&!1!==t.fallback,this.fallback&&(e="hash"),ct||(e="abstract"),this.mode=e,e){case"history":this.history=new le(this,t.base);break;case"hash":this.history=new pe(this,t.base,this.fallback);break;case"abstract":this.history=new ge(this,t.base);break;default:0}},we={currentRoute:{configurable:!0}};be.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},we.currentRoute.get=function(){return this.history&&this.history.current},be.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()})),!this.app){this.app=t;var n=this.history;if(n instanceof le||n instanceof pe){var r=function(t){var r=n.current,o=e.options.scrollBehavior,i=Ft&&o;i&&"fullPath"in t&&Ct(e,t,r,!1)},o=function(t){n.setupListeners(),r(t)};n.transitionTo(n.getCurrentLocation(),o,o)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},be.prototype.beforeEach=function(t){return Ce(this.beforeHooks,t)},be.prototype.beforeResolve=function(t){return Ce(this.resolveHooks,t)},be.prototype.afterEach=function(t){return Ce(this.afterHooks,t)},be.prototype.onReady=function(t,e){this.history.onReady(t,e)},be.prototype.onError=function(t){this.history.onError(t)},be.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.push(t,e,n)}));this.history.push(t,e,n)},be.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!==typeof Promise)return new Promise((function(e,n){r.history.replace(t,e,n)}));this.history.replace(t,e,n)},be.prototype.go=function(t){this.history.go(t)},be.prototype.back=function(){this.go(-1)},be.prototype.forward=function(){this.go(1)},be.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},be.prototype.resolve=function(t,e,n){e=e||this.history.current;var r=Q(t,e,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath,a=this.history.base,s=ke(a,i,this.mode);return{location:r,route:o,href:s,normalizedTo:r,resolved:o}},be.prototype.getRoutes=function(){return this.matcher.getRoutes()},be.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},be.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==m&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(be.prototype,we);var $e=be;function Ce(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function ke(t,e,n){var r="hash"===n?"#"+e:e;return t?T(t+"/"+r):r}be.install=st,be.version="3.6.5",be.isNavigationFailure=qt,be.NavigationFailureType=Lt,be.START_LOCATION=m,ct&&window.Vue&&window.Vue.use(be),t.exports=$e},66848:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EffectScope=void 0,e.computed=_e,e.customRef=ce,e["default"]=Ko,e.defineAsyncComponent=nr,e.defineComponent=cr,e.del=Ht,e.effectScope=je,e.getCurrentInstance=_t,e.getCurrentScope=Me,e.h=Nn,e.inject=Pe,e.isProxy=Zt,e.isReactive=Gt,e.isReadonly=Jt,e.isRef=te,e.isShallow=Kt,e.markRaw=Yt,e.mergeDefaults=xn,e.nextTick=Qn,e.onDeactivated=e.onBeforeUpdate=e.onBeforeUnmount=e.onBeforeMount=e.onActivated=void 0,e.onErrorCaptured=ar,e.onRenderTriggered=e.onRenderTracked=e.onMounted=void 0,e.onScopeDispose=Ie,e.onUpdated=e.onUnmounted=e.onServerPrefetch=void 0,e.provide=Fe,e.proxyRefs=ae,e.reactive=Wt,e.readonly=he,e.ref=ee,e.set=Ut,e.shallowReactive=zt,e.shallowReadonly=me,e.shallowRef=ne,e.toRaw=Xt,e.toRef=le,e.toRefs=ue,e.triggerRef=oe,e.unref=ie,e.useAttrs=$n,e.useCssModule=tr,e.useCssVars=er,e.useListeners=Cn,e.useSlots=wn,e.version=void 0,e.watch=Se,e.watchEffect=$e,e.watchPostEffect=Ce,e.watchSyncEffect=ke,n(44114),n(18111),n(81148),n(22489),n(7588),n(61701),n(18237),n(13579),n(17642),n(58004),n(33853),n(45876),n(32475),n(15024),n(31698),n(59848); +/*! + * Vue.js v2.7.16 + * (c) 2014-2023 Evan You + * Released under the MIT License. + */ +var r=Object.freeze({}),o=Array.isArray;function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return"function"===typeof t}function f(t){return null!==t&&"object"===typeof t}var p=Object.prototype.toString;function h(t){return"[object Object]"===p.call(t)}function d(t){return"[object RegExp]"===p.call(t)}function v(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function _(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===p?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function g(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var C=Object.prototype.hasOwnProperty;function k(t,e){return C.call(t,e)}function x(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var O=/-(\w)/g,S=x((function(t){return t.replace(O,(function(t,e){return e?e.toUpperCase():""}))})),E=x((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,j=x((function(t){return t.replace(T,"-$1").toLowerCase()}));function A(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function M(t,e){return t.bind(e)}var I=Function.prototype.bind?M:A;function F(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function R(t,e){for(var n in e)t[n]=e[n];return t}function P(t){for(var e={},n=0;n0,ot=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var it=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),ct={}.watch,ut=!1;if(tt)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){ut=!0}}),window.addEventListener("test-passive",null,lt)}catch(Ks){}var ft=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),at},pt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ht(t){return"function"===typeof t&&/native code/.test(t.toString())}var dt,vt="undefined"!==typeof Symbol&&ht(Symbol)&&"undefined"!==typeof Reflect&&ht(Reflect.ownKeys);dt="undefined"!==typeof Set&&ht(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var mt=null;function _t(){return mt&&{proxy:mt}}function yt(t){void 0===t&&(t=null),t||mt&&mt._scope.off(),mt=t,t&&t._scope.on()}var gt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),bt=function(t){void 0===t&&(t="");var e=new gt;return e.text=t,e.isComment=!0,e};function wt(t){return new gt(void 0,void 0,void 0,String(t))}function $t(t){var e=new gt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"===typeof SuppressedError&&SuppressedError;var Ct=0,kt=[],xt=function(){for(var t=0;t1)return n&&l(e)?e.call(r):e}else 0}var Le=x((function(t){var e="&"===t.charAt(0);t=e?t.slice(1):t;var n="~"===t.charAt(0);t=n?t.slice(1):t;var r="!"===t.charAt(0);return t=r?t.slice(1):t,{name:t,once:n,capture:r,passive:e}}));function De(t,e){function n(){var t=n.fns;if(!o(t))return Un(t,null,arguments,e,"v-on handler");for(var r=t.slice(),i=0;i0&&(r=qe(r,"".concat(e||"","_").concat(n)),ze(r[0])&&ze(l)&&(f[c]=wt(l.text+r[0].text),r.shift()),f.push.apply(f,r)):u(r)?ze(l)?f[c]=wt(l.text+r):""!==r&&f.push(wt(r)):ze(r)&&ze(l)?f[c]=wt(l.text+r.text):(s(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function Ge(t,e){var n,r,i,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=hn(t,n,u,e[u]))}else i={};for(var l in n)l in i||(i[l]=dn(n,l));return e&&Object.isExtensible(e)&&(e._normalized=i),Z(i,"$stable",s),Z(i,"$key",c),Z(i,"$hasNormal",a),i}function hn(t,e,n,r){var i=function(){var e=mt;yt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:We(n);var i=n&&n[0];return yt(e),n&&(!i||1===n.length&&i.isComment&&!fn(i))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function dn(t,e){return function(){return t[e]}}function vn(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=mn(t);yt(t),Et();var o=Un(n,null,[t._props||zt({}),r],t,"setup");if(Tt(),yt(),l(o))e.render=o;else if(f(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&se(i,o,a)}else for(var a in o)J(a)||se(t,o,a);else 0}}function mn(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Z(e,"_v_attr_proxy",!0),_n(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};_n(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return gn(t)},emit:I(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return se(t,e,n)}))}}}function _n(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,yn(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function yn(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function gn(t){return t._slotsProxy||bn(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function bn(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function wn(){return kn().slots}function $n(){return kn().attrs}function Cn(){return kn().listeners}function kn(){var t=mt;return t._setupContext||(t._setupContext=mn(t))}function xn(t,e){var n=o(t)?t.reduce((function(t,e){return t[e]={},t}),{}):t;for(var r in e){var i=n[r];i?o(i)||l(i)?n[r]={type:i,default:e[r]}:i.default=e[r]:null===i&&(n[r]={default:e[r]})}return n}function On(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=un(e._renderChildren,o),t.$scopedSlots=n?pn(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return Rn(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Rn(t,e,n,r,o,!0)};var i=n&&n.data;Vt(t,"$attrs",i&&i.attrs||r,null,!0),Vt(t,"$listeners",e._parentListeners||r,null,!0)}var Sn=null;function En(t){cn(t.prototype),t.prototype.$nextTick=function(t){return Qn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=pn(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&bn(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var i,a=mt,s=Sn;try{yt(t),Sn=t,i=n.call(t._renderProxy,t.$createElement)}catch(Ks){Vn(Ks,t,"render"),i=t._vnode}finally{Sn=s,yt(a)}return o(i)&&1===i.length&&(i=i[0]),i instanceof gt||(i=bt()),i.parent=r,i}}function Tn(t,e){return(t.__esModule||vt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function jn(t,e,n,r,o){var i=bt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function An(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Sn;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return $(r,n)}));var l=function(t){for(var e=0,n=r.length;e1?F(n):n;for(var r=F(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Nr=function(){return Vr.now()})}var Ur=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Hr(){var t,e;for(Dr=Nr(),Rr=!0,Ar.sort(Ur),Pr=0;PrPr&&Ar[n].id>t.id)n--;Ar.splice(n+1,0,t)}else Ar.push(t);Fr||(Fr=!0,Qn(Hr))}}function Gr(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!f(n))return;for(var r=Re(t),o=vt?Reflect.ownKeys(n):Object.keys(n),i=0;i-1)if(i&&!k(o,"default"))a=!1;else if(""===a||a===j(t)){var c=So(String,o.type);(c<0||s-1)return this;var n=F(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}function Zo(t){t.mixin=function(t){return this.options=bo(this.options,t),this}}function Xo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=to(t)||to(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=bo(n.options,t),a["super"]=n,a.options.props&&Yo(a),a.options.computed&&Qo(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,z.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=R({},a.options),o[r]=a,a}}function Yo(t){var e=t.options.props;for(var n in e)To(t.prototype,"_props",n)}function Qo(t){var e=t.options.computed;for(var n in e)Po(t.prototype,n,e[n])}function ti(t){z.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function ei(t){return t&&(to(t.Ctor.options)||t.tag)}function ni(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!d(t)&&t.test(e)}function ri(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&oi(n,a,r,o)}}i.componentOptions.children=void 0}function oi(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,$(n,e)}Wo(Ko),Ho(Ko),br(Ko),kr(Ko),En(Ko);var ii=[String,RegExp,Array],ai={name:"keep-alive",abstract:!0,props:{include:ii,exclude:ii,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:ei(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&oi(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)oi(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){ri(t,(function(t){return ni(e,t)}))})),this.$watch("exclude",(function(e){ri(t,(function(t){return!ni(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Mn(t),n=e&&e.componentOptions;if(n){var r=ei(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!ni(i,r))||a&&r&&ni(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,$(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},si={KeepAlive:ai};function ci(t){var e={get:function(){return G}};Object.defineProperty(t,"config",e),t.util={warn:co,extend:R,mergeOptions:bo,defineReactive:Vt},t.set=Ut,t.delete=Ht,t.nextTick=Qn,t.observable=function(t){return Nt(t),t},t.options=Object.create(null),z.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,R(t.options.components,si),Jo(t),Zo(t),Xo(t),ti(t)}ci(Ko),Object.defineProperty(Ko.prototype,"$isServer",{get:ft}),Object.defineProperty(Ko.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Ko,"FunctionalRenderContext",{value:Zr}),Ko.version=sr;var ui=b("style,class"),li=b("input,textarea,option,select,progress"),fi=function(t,e,n){return"value"===n&&li(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},pi=b("contenteditable,draggable,spellcheck"),hi=b("events,caret,typing,plaintext-only"),di=function(t,e){return gi(e)||"false"===e?"false":"contenteditable"===t&&hi(e)?e:"true"},vi=b("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),mi="http://www.w3.org/1999/xlink",_i=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},yi=function(t){return _i(t)?t.slice(6,t.length):""},gi=function(t){return null==t||!1===t};function bi(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=wi(r.data,e));while(a(n=n.parent))n&&n.data&&(e=wi(e,n.data));return $i(e.staticClass,e.class)}function wi(t,e){return{staticClass:Ci(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function $i(t,e){return a(t)||a(e)?Ci(t,ki(e)):""}function Ci(t,e){return t?e?t+" "+e:t:e||""}function ki(t){return Array.isArray(t)?xi(t):f(t)?Oi(t):"string"===typeof t?t:""}function xi(t){for(var e,n="",r=0,o=t.length;r-1?Mi[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Mi[t]=/HTMLUnknownElement/.test(e.toString())}var Fi=b("text,number,password,search,email,tel,url");function Ri(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Pi(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Li(t,e){return document.createElementNS(Si[t],e)}function Di(t){return document.createTextNode(t)}function Ni(t){return document.createComment(t)}function Vi(t,e,n){t.insertBefore(e,n)}function Ui(t,e){t.removeChild(e)}function Hi(t,e){t.appendChild(e)}function Bi(t){return t.parentNode}function Wi(t){return t.nextSibling}function zi(t){return t.tagName}function qi(t,e){t.textContent=e}function Gi(t,e){t.setAttribute(e,"")}var Ki=Object.freeze({__proto__:null,createElement:Pi,createElementNS:Li,createTextNode:Di,createComment:Ni,insertBefore:Vi,removeChild:Ui,appendChild:Hi,parentNode:Bi,nextSibling:Wi,tagName:zi,setTextContent:qi,setStyleScope:Gi}),Ji={create:function(t,e){Zi(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Zi(t,!0),Zi(e))},destroy:function(t){Zi(t,!0)}};function Zi(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,s=e?null:i,c=e?void 0:i;if(l(n))Un(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"===typeof n||"number"===typeof n,p=te(n),h=r.$refs;if(f||p)if(u){var d=f?h[n]:n.value;e?o(d)&&$(d,i):o(d)?d.includes(i)||d.push(i):f?(h[n]=[i],Xi(r,n,h[n])):n.value=[i]}else if(f){if(e&&h[n]!==i)return;h[n]=c,Xi(r,n,s)}else if(p){if(e&&n.value!==i)return;n.value=s}else 0}}}function Xi(t,e,n){var r=t._setupState;r&&k(r,e)&&(te(r[e])?r[e].value=n:r[e]=n)}var Yi=new gt("",{},[]),Qi=["create","activate","update","remove","destroy"];function ta(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ea(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function ea(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===o||Fi(r)&&Fi(o)}function na(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,a(o)&&(i[o]=r);return i}function ra(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;ev?(f=i(n[y+1])?null:n[y+1].elm,k(t,f,n,h,y,r)):h>y&&O(e,p,v)}function T(t,e,n,r){for(var o=n;o-1?da(t,e,n):vi(e)?gi(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):pi(e)?t.setAttribute(e,di(e,n)):_i(e)?gi(n)?t.removeAttributeNS(mi,yi(e)):t.setAttributeNS(mi,e,n):da(t,e,n)}function da(t,e,n){if(gi(n))t.removeAttribute(e);else{if(nt&&!rt&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var va={create:pa,update:pa};function ma(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=bi(e),c=n._transitionClasses;a(c)&&(s=Ci(s,ki(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var _a,ya={create:ma,update:ma},ga="__r",ba="__c";function wa(t){if(a(t[ga])){var e=nt?"change":"input";t[e]=[].concat(t[ga],t[e]||[]),delete t[ga]}a(t[ba])&&(t.change=[].concat(t[ba],t.change||[]),delete t[ba])}function $a(t,e,n){var r=_a;return function o(){var i=e.apply(null,arguments);null!==i&&xa(t,o,n,r)}}var Ca=zn&&!(st&&Number(st[1])<=53);function ka(t,e,n,r){if(Ca){var o=Dr,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}_a.addEventListener(t,e,ut?{capture:n,passive:r}:n)}function xa(t,e,n,r){(r||_a).removeEventListener(t,e._wrapper||e,n)}function Oa(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};_a=e.elm||t.elm,wa(n),Ne(n,r,ka,xa,$a,e.context),_a=void 0}}var Sa,Ea={create:Oa,update:Oa,destroy:function(t){return Oa(t,Yi)}};function Ta(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=R({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=i(r)?"":String(r);ja(o,l)&&(o.value=l)}else if("innerHTML"===n&&Ti(o.tagName)&&i(o.innerHTML)){Sa=Sa||document.createElement("div"),Sa.innerHTML="".concat(r,"");var f=Sa.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(f.firstChild)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(Ks){}}}}function ja(t,e){return!t.composing&&("OPTION"===t.tagName||Aa(t,e)||Ma(t,e))}function Aa(t,e){var n=!0;try{n=document.activeElement!==t}catch(Ks){}return n&&t.value!==e}function Ma(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return g(n)!==g(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Ia={create:Ta,update:Ta},Fa=x((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ra(t){var e=Pa(t.style);return t.staticStyle?R(t.staticStyle,e):e}function Pa(t){return Array.isArray(t)?P(t):"string"===typeof t?Fa(t):t}function La(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Ra(o.data))&&R(r,n)}(n=Ra(t.data))&&R(r,n);var i=t;while(i=i.parent)i.data&&(n=Ra(i.data))&&R(r,n);return r}var Da,Na=/^--/,Va=/\s*!important$/,Ua=function(t,e,n){if(Na.test(e))t.style.setProperty(e,n);else if(Va.test(n))t.style.setProperty(j(e),n.replace(Va,""),"important");else{var r=Ba(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(qa).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Ka(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(qa).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function Ja(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&R(e,Za(t.name||"v")),R(e,t),e}return"string"===typeof t?Za(t):void 0}}var Za=x((function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}})),Xa=tt&&!rt,Ya="transition",Qa="animation",ts="transition",es="transitionend",ns="animation",rs="animationend";Xa&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ts="WebkitTransition",es="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(ns="WebkitAnimation",rs="webkitAnimationEnd"));var os=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function is(t){os((function(){os(t)}))}function as(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Ga(t,e))}function ss(t,e){t._transitionClasses&&$(t._transitionClasses,e),Ka(t,e)}function cs(t,e,n){var r=ls(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Ya?es:rs,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=Ya,l=a,f=i.length):e===Qa?u>0&&(n=Qa,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?Ya:Qa:null,f=n?n===Ya?i.length:c.length:0);var p=n===Ya&&us.test(r[ts+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:p}}function fs(t,e){while(t.length1}function _s(t,e){!0!==e.data.show&&hs(e)}var ys=tt?{create:_s,activate:_s,remove:function(t,e){!0!==t.data.show?ds(t,e):e()}}:{},gs=[va,ya,Ea,Ia,za,ys],bs=gs.concat(fa),ws=ra({nodeOps:Ki,modules:bs});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ts(t,"input")}));var $s={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Ve(n,"postpatch",(function(){$s.componentUpdated(t,e,n)})):Cs(t,e,n.context),t._vOptions=[].map.call(t.options,Os)):("textarea"===n.tag||Fi(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ss),t.addEventListener("compositionend",Es),t.addEventListener("change",Es),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Cs(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Os);if(o.some((function(t,e){return!V(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return xs(t,o)})):e.value!==e.oldValue&&xs(e.value,o);i&&Ts(t,"change")}}}};function Cs(t,e,n){ks(t,e,n),(nt||ot)&&setTimeout((function(){ks(t,e,n)}),0)}function ks(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(V(Os(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function xs(t,e){return e.every((function(e){return!V(e,t)}))}function Os(t){return"_value"in t?t._value:t.value}function Ss(t){t.target.composing=!0}function Es(t){t.target.composing&&(t.target.composing=!1,Ts(t.target,"input"))}function Ts(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function js(t){return!t.componentInstance||t.data&&t.data.transition?t:js(t.componentInstance._vnode)}var As={bind:function(t,e,n){var r=e.value;n=js(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,hs(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=js(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?hs(n,(function(){t.style.display=t.__vOriginalDisplay})):ds(n,(function(){t.style.display="none"}))):t.style.display=r?t.__vOriginalDisplay:"none"}},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Ms={model:$s,show:As},Is={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Fs(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Fs(Mn(e.children)):t}function Rs(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[S(r)]=o[r];return e}function Ps(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ls(t){while(t=t.parent)if(t.data.transition)return!0}function Ds(t,e){return e.key===t.key&&e.tag===t.tag}var Ns=function(t){return t.tag||fn(t)},Vs=function(t){return"show"===t.name},Us={name:"transition",props:Is,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ns),n.length)){0;var r=this.mode;0;var o=n[0];if(Ls(this.$vnode))return o;var i=Fs(o);if(!i)return o;if(this._leaving)return Ps(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Rs(this),c=this._vnode,l=Fs(c);if(i.data.directives&&i.data.directives.some(Vs)&&(i.data.show=!0),l&&l.data&&!Ds(i,l)&&!fn(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=R({},s);if("out-in"===r)return this._leaving=!0,Ve(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ps(t,o);if("in-out"===r){if(fn(i))return c;var p,h=function(){p()};Ve(s,"afterEnter",h),Ve(s,"enterCancelled",h),Ve(f,"delayLeave",(function(t){p=t}))}}return o}}},Hs=R({tag:String,moveClass:String},Is);delete Hs.mode;var Bs={props:Hs,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=$r(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Rs(this),s=0;st?u():!0!==e&&(o=setTimeout(r?l:u,void 0===r?t-s:t))}return"boolean"!==typeof e&&(r=n,n=e,e=void 0),a}},69522:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,n(44114),n(18111),n(81148),n(22489),n(7588),n(61701),n(18237),n(17642),n(58004),n(33853),n(45876),n(32475),n(15024),n(31698); +/*! + * vue-i18n v8.28.2 + * (c) 2022 kazuya kawaguchi + * Released under the MIT License. + */ +var r=["compactDisplay","currency","currencyDisplay","currencySign","localeMatcher","notation","numberingSystem","signDisplay","style","unit","unitDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"],o=["dateStyle","timeStyle","calendar","localeMatcher","hour12","hourCycle","timeZone","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"];function i(t,e){"undefined"!==typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}function a(t,e){"undefined"!==typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}var s=Array.isArray;function c(t){return null!==t&&"object"===typeof t}function u(t){return"boolean"===typeof t}function l(t){return"string"===typeof t}var f=Object.prototype.toString,p="[object Object]";function h(t){return f.call(t)===p}function d(t){return null===t||void 0===t}function v(t){return"function"===typeof t}function m(){var t=[],e=arguments.length;while(e--)t[e]=arguments[e];var n=null,r=null;return 1===t.length?c(t[0])||s(t[0])?r=t[0]:"string"===typeof t[0]&&(n=t[0]):2===t.length&&("string"===typeof t[0]&&(n=t[0]),(c(t[1])||s(t[1]))&&(r=t[1])),{locale:n,params:r}}function _(t){return JSON.parse(JSON.stringify(t))}function y(t,e){if(t.delete(e))return t}function g(t){var e=[];return t.forEach((function(t){return e.push(t)})),e}function b(t,e){return!!~t.indexOf(e)}var w=Object.prototype.hasOwnProperty;function $(t,e){return w.call(t,e)}function C(t){for(var e=arguments,n=Object(t),r=1;r/g,">").replace(/"/g,""").replace(/'/g,"'")}function O(t){return null!=t&&Object.keys(t).forEach((function(e){"string"==typeof t[e]&&(t[e]=x(t[e]))})),t}function S(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){var e=[],n=arguments.length-1;while(n-- >0)e[n]=arguments[n+1];var r=this.$i18n;return r._t.apply(r,[t,r.locale,r._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){var n=[],r=arguments.length-2;while(r-- >0)n[r]=arguments[r+2];var o=this.$i18n;return o._tc.apply(o,[t,o.locale,o._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}function E(t){function e(){this!==this.$root&&this.$options.__INTLIFY_META__&&this.$el&&this.$el.setAttribute("data-intlify",this.$options.__INTLIFY_META__)}return void 0===t&&(t=!1),t?{mounted:e}:{beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n)if(t.i18n instanceof Ot){if(t.__i18nBridge||t.__i18n)try{var e=t.i18n&&t.i18n.messages?t.i18n.messages:{},n=t.__i18nBridge||t.__i18n;n.forEach((function(t){e=C(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(c){0}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(h(t.i18n)){var r=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ot?this.$root.$i18n:null;if(r&&(t.i18n.root=this.$root,t.i18n.formatter=r.formatter,t.i18n.fallbackLocale=r.fallbackLocale,t.i18n.formatFallbackMessages=r.formatFallbackMessages,t.i18n.silentTranslationWarn=r.silentTranslationWarn,t.i18n.silentFallbackWarn=r.silentFallbackWarn,t.i18n.pluralizationRules=r.pluralizationRules,t.i18n.preserveDirectiveContent=r.preserveDirectiveContent),t.__i18nBridge||t.__i18n)try{var o=t.i18n&&t.i18n.messages?t.i18n.messages:{},i=t.__i18nBridge||t.__i18n;i.forEach((function(t){o=C(o,JSON.parse(t))})),t.i18n.messages=o}catch(c){0}var a=t.i18n,s=a.sharedMessages;s&&h(s)&&(t.i18n.messages=C(t.i18n.messages,s)),this._i18n=new Ot(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),r&&r.onComponentInstanceCreated(this._i18n)}else 0;else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ot?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ot&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18nBridge||t.__i18n?{}:null),t.i18n?(t.i18n instanceof Ot||h(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Ot||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Ot)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},mounted:e,beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}}}var T={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,r=e.parent,o=e.props,i=e.slots,a=r.$i18n;if(a){var s=o.path,c=o.locale,u=o.places,l=i(),f=a.i(s,c,j(l)||u?A(l.default,u):l),p=o.tag&&!0!==o.tag||!1===o.tag?o.tag:"span";return p?t(p,n,f):f}}};function j(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}function A(t,e){var n=e?M(e):{};if(!t)return n;t=t.filter((function(t){return t.tag||""!==t.text.trim()}));var r=t.every(R);return t.reduce(r?I:F,n)}function M(t){return Array.isArray(t)?t.reduce(F,{}):Object.assign({},t)}function I(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function F(t,e,n){return t[n]=e,t}function R(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var P,L={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean,Object],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,o=e.parent,i=e.data,a=o.$i18n;if(!a)return null;var s=null,u=null;l(n.format)?s=n.format:c(n.format)&&(n.format.key&&(s=n.format.key),u=Object.keys(n.format).reduce((function(t,e){var o;return b(r,e)?Object.assign({},t,(o={},o[e]=n.format[e],o)):t}),null));var f=n.locale||a.locale,p=a._ntp(n.value,f,s,u),h=p.map((function(t,e){var n,r=i.scopedSlots&&i.scopedSlots[t.type];return r?r((n={},n[t.type]=t.value,n.index=e,n.parts=p,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:i.attrs,class:i["class"],staticClass:i.staticClass},h):h}};function D(t,e,n){U(t,n)&&B(t,e,n)}function N(t,e,n,r){if(U(t,n)){var o=n.context.$i18n;H(t,n)&&k(e.value,e.oldValue)&&k(t._localeMessage,o.getLocaleMessage(o.locale))||B(t,e,n)}}function V(t,e,n,r){var o=n.context;if(o){var a=n.context.$i18n||{};e.modifiers.preserve||a.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t["_vt"],t._locale=void 0,delete t["_locale"],t._localeMessage=void 0,delete t["_localeMessage"]}else i("Vue instance does not exists in VNode context")}function U(t,e){var n=e.context;return n?!!n.$i18n||(i("VueI18n instance does not exists in Vue instance"),!1):(i("Vue instance does not exists in VNode context"),!1)}function H(t,e){var n=e.context;return t._locale===n.$i18n.locale}function B(t,e,n){var r,o,a=e.value,s=W(a),c=s.path,u=s.locale,l=s.args,f=s.choice;if(c||u||l)if(c){var p=n.context;t._vt=t.textContent=null!=f?(r=p.$i18n).tc.apply(r,[c,f].concat(z(u,l))):(o=p.$i18n).t.apply(o,[c].concat(z(u,l))),t._locale=p.$i18n.locale,t._localeMessage=p.$i18n.getLocaleMessage(p.$i18n.locale)}else i("`path` is required in v-t directive");else i("value type not supported")}function W(t){var e,n,r,o;return l(t)?e=t:h(t)&&(e=t.path,n=t.locale,r=t.args,o=t.choice),{path:e,locale:n,args:r,choice:o}}function z(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||h(e))&&n.push(e),n}function q(t,e){void 0===e&&(e={bridge:!1}),q.installed=!0,P=t;P.version&&Number(P.version.split(".")[0]);S(P),P.mixin(E(e.bridge)),P.directive("t",{bind:D,update:N,unbind:V}),P.component(T.name,T),P.component(L.name,L);var n=P.config.optionMergeStrategies;n.i18n=function(t,e){return void 0===e?t:e}}var G=function(){this._caches=Object.create(null)};G.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=Z(t),this._caches[t]=n),X(n,e)};var K=/^(?:\d)+/,J=/^(?:\w)+/;function Z(t){var e=[],n=0,r="";while(n0)f--,l=at,p[Y]();else{if(f=0,void 0===n)return!1;if(n=mt(n),!1===n)return!1;p[Q]()}};while(null!==l)if(u++,e=t[u],"\\"!==e||!h()){if(o=vt(e),s=ft[l],i=s[o]||s["else"]||lt,i===lt)return;if(l=i[0],a=p[i[1]],a&&(r=i[2],r=void 0===r?e:r,!1===a()))return;if(l===ut)return c}}var yt=function(){this._cache=Object.create(null)};yt.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=_t(t),e&&(this._cache[t]=e)),e||[]},yt.prototype.getPathValue=function(t,e){if(!c(t))return null;var n=this.parsePath(e);if(0===n.length)return null;var r=n.length,o=t,i=0;while(i/,wt=/(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\([\w\-_:|./]+\)))/g,$t=/^@(?:\.([a-zA-Z]+))?:/,Ct=/[()]/g,kt={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},xt=new G,Ot=function(t){var e=this;void 0===t&&(t={}),!P&&"undefined"!==typeof window&&window.Vue&&q(window.Vue);var n=t.locale||"en-US",r=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),o=t.messages||{},i=t.dateTimeFormats||t.datetimeFormats||{},a=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||xt,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._fallbackRootWithEmptyString=void 0===t.fallbackRootWithEmptyString||!!t.fallbackRootWithEmptyString,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new yt,this._dataListeners=new Set,this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this._escapeParameterHtml=t.escapeParameterHtml||!1,"__VUE_I18N_BRIDGE__"in t&&(this.__VUE_I18N_BRIDGE__=t.__VUE_I18N_BRIDGE__),this.getChoiceIndex=function(t,n){var r=Object.getPrototypeOf(e);if(r&&r.getChoiceIndex){var o=r.getChoiceIndex;return o.call(e,t,n)}var i=function(t,e){return t=Math.abs(t),2===e?t?t>1?1:0:1:t?Math.min(t,2):0};return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):i(t,n)},this._exist=function(t,n){return!(!t||!n)&&(!d(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(o).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,o[t])})),this._initVM({locale:n,fallbackLocale:r,messages:o,dateTimeFormats:i,numberFormats:a})},St={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0},sync:{configurable:!0}};Ot.prototype._checkLocaleMessage=function(t,e,n){var r=[],o=function(t,e,n,r){if(h(n))Object.keys(n).forEach((function(i){var a=n[i];h(a)?(r.push(i),r.push("."),o(t,e,a,r),r.pop(),r.pop()):(r.push(i),o(t,e,a,r),r.pop())}));else if(s(n))n.forEach((function(n,i){h(n)?(r.push("["+i+"]"),r.push("."),o(t,e,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),o(t,e,n,r),r.pop())}));else if(l(n)){var c=bt.test(n);if(c){var u="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?i(u):"error"===t&&a(u)}}};o(e,t,n,r)},Ot.prototype._initVM=function(t){var e=P.config.silent;P.config.silent=!0,this._vm=new P({data:t,__VUE18N__INSTANCE__:!0}),P.config.silent=e},Ot.prototype.destroyVM=function(){this._vm.$destroy()},Ot.prototype.subscribeDataChanging=function(t){this._dataListeners.add(t)},Ot.prototype.unsubscribeDataChanging=function(t){y(this._dataListeners,t)},Ot.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){var e=g(t._dataListeners),n=e.length;while(n--)P.nextTick((function(){e[n]&&e[n].$forceUpdate()}))}),{deep:!0})},Ot.prototype.watchLocale=function(t){if(t){if(!this.__VUE_I18N_BRIDGE__)return null;var e=this,n=this._vm;return this.vm.$watch("locale",(function(r){n.$set(n,"locale",r),e.__VUE_I18N_BRIDGE__&&t&&(t.locale.value=r),n.$forceUpdate()}),{immediate:!0})}if(!this._sync||!this._root)return null;var r=this._vm;return this._root.$i18n.vm.$watch("locale",(function(t){r.$set(r,"locale",t),r.$forceUpdate()}),{immediate:!0})},Ot.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},St.vm.get=function(){return this._vm},St.messages.get=function(){return _(this._getMessages())},St.dateTimeFormats.get=function(){return _(this._getDateTimeFormats())},St.numberFormats.get=function(){return _(this._getNumberFormats())},St.availableLocales.get=function(){return Object.keys(this.messages).sort()},St.locale.get=function(){return this._vm.locale},St.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},St.fallbackLocale.get=function(){return this._vm.fallbackLocale},St.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},St.formatFallbackMessages.get=function(){return this._formatFallbackMessages},St.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},St.missing.get=function(){return this._missing},St.missing.set=function(t){this._missing=t},St.formatter.get=function(){return this._formatter},St.formatter.set=function(t){this._formatter=t},St.silentTranslationWarn.get=function(){return this._silentTranslationWarn},St.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},St.silentFallbackWarn.get=function(){return this._silentFallbackWarn},St.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},St.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},St.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},St.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},St.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var r=this._getMessages();Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])}))}},St.postTranslation.get=function(){return this._postTranslation},St.postTranslation.set=function(t){this._postTranslation=t},St.sync.get=function(){return this._sync},St.sync.set=function(t){this._sync=t},Ot.prototype._getMessages=function(){return this._vm.messages},Ot.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Ot.prototype._getNumberFormats=function(){return this._vm.numberFormats},Ot.prototype._warnDefault=function(t,e,n,r,o,i){if(!d(n))return n;if(this._missing){var a=this._missing.apply(null,[t,e,r,o]);if(l(a))return a}else 0;if(this._formatFallbackMessages){var s=m.apply(void 0,o);return this._render(e,i,s.params,e)}return e},Ot.prototype._isFallbackRoot=function(t){return(this._fallbackRootWithEmptyString?!t:d(t))&&!d(this._root)&&this._fallbackRoot},Ot.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Ot.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Ot.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Ot.prototype._interpolate=function(t,e,n,r,o,i,a){if(!e)return null;var c,u=this._path.getPathValue(e,n);if(s(u)||h(u))return u;if(d(u)){if(!h(e))return null;if(c=e[n],!l(c)&&!v(c))return null}else{if(!l(u)&&!v(u))return null;c=u}return l(c)&&(c.indexOf("@:")>=0||c.indexOf("@.")>=0)&&(c=this._link(t,e,c,r,"raw",i,a)),this._render(c,o,i,n)},Ot.prototype._link=function(t,e,n,r,o,i,a){var c=n,u=c.match(wt);for(var l in u)if(u.hasOwnProperty(l)){var f=u[l],p=f.match($t),h=p[0],d=p[1],v=f.replace(h,"").replace(Ct,"");if(b(a,v))return c;a.push(v);var m=this._interpolate(t,e,v,r,"raw"===o?"string":o,"raw"===o?void 0:i,a);if(this._isFallbackRoot(m)){if(!this._root)throw Error("unexpected error");var _=this._root.$i18n;m=_._translate(_._getMessages(),_.locale,_.fallbackLocale,v,r,o,i)}m=this._warnDefault(t,v,m,r,s(i)?i:[i],o),this._modifiers.hasOwnProperty(d)?m=this._modifiers[d](m):kt.hasOwnProperty(d)&&(m=kt[d](m)),a.pop(),c=m?c.replace(f,m):c}return c},Ot.prototype._createMessageContext=function(t,e,n,r){var o=this,i=s(t)?t:[],a=c(t)?t:{},u=function(t){return i[t]},l=function(t){return a[t]},f=this._getMessages(),p=this.locale;return{list:u,named:l,values:t,formatter:e,path:n,messages:f,locale:p,linked:function(t){return o._interpolate(p,f[p]||{},t,null,r,void 0,[t])}}},Ot.prototype._render=function(t,e,n,r){if(v(t))return t(this._createMessageContext(n,this._formatter||xt,r,e));var o=this._formatter.interpolate(t,n,r);return o||(o=xt.interpolate(t,n,r)),"string"!==e||l(o)?o:o.join("")},Ot.prototype._appendItemToChain=function(t,e,n){var r=!1;return b(t,e)||(r=!0,e&&(r="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(r=n[e]))),r},Ot.prototype._appendLocaleToChain=function(t,e,n){var r,o=e.split("-");do{var i=o.join("-");r=this._appendItemToChain(t,i,n),o.splice(-1,1)}while(o.length&&!0===r);return r},Ot.prototype._appendBlockToChain=function(t,e,n){for(var r=!0,o=0;o0)i[a]=arguments[a+4];if(!t)return"";var s=m.apply(void 0,i);this._escapeParameterHtml&&(s.params=O(s.params));var c=s.locale||e,u=this._translate(n,c,this.fallbackLocale,t,r,"string",s.params);if(this._isFallbackRoot(u)){if(!this._root)throw Error("unexpected error");return(o=this._root).$t.apply(o,[t].concat(i))}return u=this._warnDefault(c,t,u,r,i,"string"),this._postTranslation&&null!==u&&void 0!==u&&(u=this._postTranslation(u,t)),u},Ot.prototype.t=function(t){var e,n=[],r=arguments.length-1;while(r-- >0)n[r]=arguments[r+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Ot.prototype._i=function(t,e,n,r,o){var i=this._translate(n,e,this.fallbackLocale,t,r,"raw",o);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,o)}return this._warnDefault(e,t,i,r,[o],"raw")},Ot.prototype.i=function(t,e,n){return t?(l(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Ot.prototype._tc=function(t,e,n,r,o){var i,a=[],s=arguments.length-5;while(s-- >0)a[s]=arguments[s+5];if(!t)return"";void 0===o&&(o=1);var c={count:o,n:o},u=m.apply(void 0,a);return u.params=Object.assign(c,u.params),a=null===u.locale?[u.params]:[u.locale,u.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,r].concat(a)),o)},Ot.prototype.fetchChoice=function(t,e){if(!t||!l(t))return null;var n=t.split("|");return e=this.getChoiceIndex(e,n.length),n[e]?n[e].trim():t},Ot.prototype.tc=function(t,e){var n,r=[],o=arguments.length-2;while(o-- >0)r[o]=arguments[o+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(r))},Ot.prototype._te=function(t,e,n){var r=[],o=arguments.length-3;while(o-- >0)r[o]=arguments[o+3];var i=m.apply(void 0,r).locale||e;return this._exist(n[i],t)},Ot.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Ot.prototype.getLocaleMessage=function(t){return _(this._vm.messages[t]||{})},Ot.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Ot.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,C("undefined"!==typeof this._vm.messages[t]&&Object.keys(this._vm.messages[t]).length?Object.assign({},this._vm.messages[t]):{},e))},Ot.prototype.getDateTimeFormat=function(t){return _(this._vm.dateTimeFormats[t]||{})},Ot.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Ot.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,C(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Ot.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(r)&&delete this._dateTimeFormatters[r]}},Ot.prototype._localizeDateTime=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var r=this.locale,i=null,a=null;return 1===e.length?(l(e[0])?i=e[0]:c(e[0])&&(e[0].locale&&(r=e[0].locale),e[0].key&&(i=e[0].key)),a=Object.keys(e[0]).reduce((function(t,n){var r;return b(o,n)?Object.assign({},t,(r={},r[n]=e[0][n],r)):t}),null)):2===e.length&&(l(e[0])&&(i=e[0]),l(e[1])&&(r=e[1])),this._d(t,r,i,a)},Ot.prototype.getNumberFormat=function(t){return _(this._vm.numberFormats[t]||{})},Ot.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Ot.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,C(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Ot.prototype._clearNumberFormat=function(t,e){for(var n in e){var r=t+"__"+n;this._numberFormatters.hasOwnProperty(r)&&delete this._numberFormatters[r]}},Ot.prototype._getNumberFormatter=function(t,e,n,r,o,i){for(var a=e,s=r[a],c=this._getLocaleChain(e,n),u=0;u0)e[n]=arguments[n+1];var o=this.locale,i=null,a=null;return 1===e.length?l(e[0])?i=e[0]:c(e[0])&&(e[0].locale&&(o=e[0].locale),e[0].key&&(i=e[0].key),a=Object.keys(e[0]).reduce((function(t,n){var o;return b(r,n)?Object.assign({},t,(o={},o[n]=e[0][n],o)):t}),null)):2===e.length&&(l(e[0])&&(i=e[0]),l(e[1])&&(o=e[1])),this._n(t,o,i,a)},Ot.prototype._ntp=function(t,e,n,r){if(!Ot.availabilities.numberFormat)return[];if(!n){var o=r?new Intl.NumberFormat(e,r):new Intl.NumberFormat(e);return o.formatToParts(t)}var i=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,r),a=i&&i.formatToParts(t);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,r)}return a||[]},Object.defineProperties(Ot.prototype,St),Object.defineProperty(Ot,"availabilities",{get:function(){if(!gt){var t="undefined"!==typeof Intl;gt={dateTimeFormat:t&&"undefined"!==typeof Intl.DateTimeFormat,numberFormat:t&&"undefined"!==typeof Intl.NumberFormat}}return gt}}),Ot.install=q,Ot.version="8.28.2";e["default"]=Ot},73843:function(t,e,n){var r=n(67996);t.exports=function(t,e,n){return void 0===n?r(t,e,!1):r(t,n,!1!==e)}},81656:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,{A:function(){return r}})},93518:function(t,e,n){"use strict"; +/*! + * vuex v3.6.2 + * (c) 2021 Evan You + * @license MIT + */ +function r(t){var e=Number(t.version.split(".")[0]);if(e>=2)t.mixin({beforeCreate:r});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[r].concat(t.init):r,n.call(this,t)}}function r(){var t=this.$options;t.store?this.$store="function"===typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}Object.defineProperty(e,"__esModule",{value:!0}),e.Store=void 0,e.createLogger=H,e["default"]=e.createNamespacedHelpers=void 0,e.install=M,e.mapState=e.mapMutations=e.mapGetters=e.mapActions=void 0,n(44114),n(18111),n(22489),n(7588),n(61701),n(18237);var o="undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:{},i=o.__VUE_DEVTOOLS_GLOBAL_HOOK__;function a(t){i&&(t._devtoolHook=i,i.emit("vuex:init",t),i.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){i.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){i.emit("vuex:action",t,e)}),{prepend:!0}))}function s(t,e){return t.filter(e)[0]}function c(t,e){if(void 0===e&&(e=[]),null===t||"object"!==typeof t)return t;var n=s(e,(function(e){return e.original===t}));if(n)return n.copy;var r=Array.isArray(t)?[]:{};return e.push({original:t,copy:r}),Object.keys(t).forEach((function(n){r[n]=c(t[n],e)})),r}function u(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function l(t){return null!==t&&"object"===typeof t}function f(t){return t&&"function"===typeof t.then}function p(t,e){return function(){return t(e)}}var h=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"===typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},h.prototype.addChild=function(t,e){this._children[t]=e},h.prototype.removeChild=function(t){delete this._children[t]},h.prototype.getChild=function(t){return this._children[t]},h.prototype.hasChild=function(t){return t in this._children},h.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},h.prototype.forEachChild=function(t){u(this._children,t)},h.prototype.forEachGetter=function(t){this._rawModule.getters&&u(this._rawModule.getters,t)},h.prototype.forEachAction=function(t){this._rawModule.actions&&u(this._rawModule.actions,t)},h.prototype.forEachMutation=function(t){this._rawModule.mutations&&u(this._rawModule.mutations,t)},Object.defineProperties(h.prototype,d);var v=function(t){this.register([],t,!1)};function m(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return void 0;m(t.concat(r),e.getChild(r),n.modules[r])}}v.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},v.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return e=e.getChild(n),t+(e.namespaced?n+"/":"")}),"")},v.prototype.update=function(t){m([],this.root,t)},v.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new h(e,n);if(0===t.length)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}e.modules&&u(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},v.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},v.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var _;var y=e.Store=function(t){var e=this;void 0===t&&(t={}),!_&&"undefined"!==typeof window&&window.Vue&&M(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new v(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new _,this._makeLocalGettersCache=Object.create(null);var o=this,i=this,s=i.dispatch,c=i.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return c.call(o,t,e,n)},this.strict=r;var u=this._modules.root.state;C(this,u,[],this._modules.root),$(this,u),n.forEach((function(t){return t(e)}));var l=void 0!==t.devtools?t.devtools:_.config.devtools;l&&a(this)},g={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function w(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;C(t,n,[],t._modules.root,!0),$(t,n,e)}function $(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,i={};u(o,(function(e,n){i[n]=p(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var a=_.config.silent;_.config.silent=!0,t._vm=new _({data:{$$state:e},computed:i}),_.config.silent=a,t.strict&&T(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),_.nextTick((function(){return r.$destroy()})))}function C(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!i&&!o){var s=j(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){_.set(s,c,r.state)}))}var u=r.context=k(t,a,n);r.forEachMutation((function(e,n){var r=a+n;O(t,r,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,o=e.handler||e;S(t,r,o,u)})),r.forEachGetter((function(e,n){var r=a+n;E(t,r,e,u)})),r.forEachChild((function(r,i){C(t,e,n.concat(i),r,o)}))}function k(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=A(n,r,o),a=i.payload,s=i.options,c=i.type;return s&&s.root||(c=e+c),t.dispatch(c,a)},commit:r?t.commit:function(n,r,o){var i=A(n,r,o),a=i.payload,s=i.options,c=i.type;s&&s.root||(c=e+c),t.commit(c,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return x(t,e)}},state:{get:function(){return j(t.state,n)}}}),o}function x(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}function O(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push((function(e){n.call(t,r.state,e)}))}function S(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push((function(e){var o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return f(o)||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}function E(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}function T(t){t._vm.$watch((function(){return this._data.$$state}),(function(){0}),{deep:!0,sync:!0})}function j(t,e){return e.reduce((function(t,e){return t[e]}),t)}function A(t,e,n){return l(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function M(t){_&&t===_||(_=t,r(_))}g.state.get=function(){return this._vm._data.$$state},g.state.set=function(t){0},y.prototype.commit=function(t,e,n){var r=this,o=A(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},y.prototype.dispatch=function(t,e){var n=this,r=A(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.state)}))}catch(u){0}var c=s.length>1?Promise.all(s.map((function(t){return t(i)}))):s[0](i);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(u){0}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(u){0}e(t)}))}))}},y.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},y.prototype.subscribeAction=function(t,e){var n="function"===typeof t?{before:t}:t;return b(n,this._actionSubscribers,e)},y.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},y.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},y.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"===typeof t&&(t=[t]),this._modules.register(t,e),C(this,this.state,t,this._modules.get(t),n.preserveState),$(this,this.state)},y.prototype.unregisterModule=function(t){var e=this;"string"===typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=j(e.state,t.slice(0,-1));_.delete(n,t[t.length-1])})),w(this)},y.prototype.hasModule=function(t){return"string"===typeof t&&(t=[t]),this._modules.isRegistered(t)},y.prototype.hotUpdate=function(t){this._modules.update(t),w(this,!0)},y.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(y.prototype,g);var I=e.mapState=V((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=U(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"===typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),F=e.mapMutations=V((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=U(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),R=e.mapGetters=V((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||U(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0})),n})),P=e.mapActions=V((function(t,e){var n={};return D(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=[],n=arguments.length;while(n--)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=U(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"===typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),L=function(t){return{mapState:I.bind(null,t),mapGetters:R.bind(null,t),mapMutations:F.bind(null,t),mapActions:P.bind(null,t)}};function D(t){return N(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function N(t){return Array.isArray(t)||l(t)}function V(t){return function(e,n){return"string"!==typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function U(t,e,n){var r=t._modulesNamespaceMap[n];return r}function H(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var r=t.transformer;void 0===r&&(r=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var i=t.actionFilter;void 0===i&&(i=function(t,e){return!0});var a=t.actionTransformer;void 0===a&&(a=function(t){return t});var s=t.logMutations;void 0===s&&(s=!0);var u=t.logActions;void 0===u&&(u=!0);var l=t.logger;return void 0===l&&(l=console),function(t){var f=c(t.state);"undefined"!==typeof l&&(s&&t.subscribe((function(t,i){var a=c(i);if(n(t,f,a)){var s=z(),u=o(t),p="mutation "+t.type+s;B(l,p,e),l.log("%c prev state","color: #9E9E9E; font-weight: bold",r(f)),l.log("%c mutation","color: #03A9F4; font-weight: bold",u),l.log("%c next state","color: #4CAF50; font-weight: bold",r(a)),W(l)}f=a})),u&&t.subscribeAction((function(t,n){if(i(t,n)){var r=z(),o=a(t),s="action "+t.type+r;B(l,s,e),l.log("%c action","color: #03A9F4; font-weight: bold",o),W(l)}})))}}function B(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(o){t.log(e)}}function W(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function z(){var t=new Date;return" @ "+G(t.getHours(),2)+":"+G(t.getMinutes(),2)+":"+G(t.getSeconds(),2)+"."+G(t.getMilliseconds(),3)}function q(t,e){return new Array(e+1).join(t)}function G(t,e){return q("0",e-t.toString().length)+t}e.createNamespacedHelpers=L;var K={Store:y,install:M,version:"3.6.2",mapState:I,mapMutations:F,mapGetters:R,mapActions:P,createNamespacedHelpers:L,createLogger:H};e["default"]=K},97534:function(t,e,n){var r=n(67996),o=n(73843);t.exports={throttle:r,debounce:o}}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-89d5c698.2190b4ca.js b/mining-pool/public/dist/js/chunk-vendors-89d5c698.2190b4ca.js new file mode 100644 index 0000000..11cc547 --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-89d5c698.2190b4ca.js @@ -0,0 +1,16 @@ +(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[853],{23606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0,n(44114),n(18111),n(22489),n(7588),n(61701),n(13579);var i=function(){if("undefined"!==typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,i){return e[0]===t&&(n=i,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),i=this.__entries__[n];return i&&i[1]},t.prototype.set=function(t,n){var i=e(this.__entries__,t);~i?this.__entries__[i][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,i=e(n,t);~i&&n.splice(i,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n0},e.prototype.connect_=function(){s&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){s&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t,i=d.some((function(e){return!!~n.indexOf(e)}));i&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),m=function(e,t){for(var n=0,i=Object.keys(t);n0},e}(),A="undefined"!==typeof WeakMap?new WeakMap:new i,H=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),i=new I(t,n,this);A.set(this,i)}return e}();["observe","unobserve","disconnect"].forEach((function(e){H.prototype[e]=function(){var t;return(t=A.get(this))[e].apply(t,arguments)}}));var N=function(){return"undefined"!==typeof o.ResizeObserver?o.ResizeObserver:H}();t["default"]=N},32456:function(e){var t,n,i,s,o,r,c,a,h,d,u,l,m,_,p,b=!1;function g(){if(!b){b=!0;var e=navigator.userAgent,g=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),f=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(l=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),d=/Android/i.exec(e),_=/FBAN\/\w+;/i.exec(e),p=/Mobile/i.exec(e),u=!!/Win64/.exec(e),g){t=g[1]?parseFloat(g[1]):g[5]?parseFloat(g[5]):NaN,t&&document&&document.documentMode&&(t=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(e);r=y?parseFloat(y[1])+4:t,n=g[2]?parseFloat(g[2]):NaN,i=g[3]?parseFloat(g[3]):NaN,s=g[4]?parseFloat(g[4]):NaN,s?(g=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=g&&g[1]?parseFloat(g[1]):NaN):o=NaN}else t=n=i=o=s=NaN;if(f){if(f[1]){var v=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);c=!v||parseFloat(v[1].replace("_","."))}else c=!1;a=!!f[2],h=!!f[3]}else c=a=h=!1}}var f={ie:function(){return g()||t},ieCompatibilityMode:function(){return g()||r>t},ie64:function(){return f.ie()&&u},firefox:function(){return g()||n},opera:function(){return g()||i},webkit:function(){return g()||s},safari:function(){return f.webkit()},chrome:function(){return g()||o},windows:function(){return g()||a},osx:function(){return g()||c},linux:function(){return g()||h},iphone:function(){return g()||l},mobile:function(){return g()||l||m||d||p},nativeApp:function(){return g()||_},android:function(){return g()||d},ipad:function(){return g()||m}};e.exports=f},34811:function(e,t,n){e.exports=n(99438)},50586:function(e,t,n){"use strict";var i,s=n(96083); +/** + * Checks if an event is supported in the current execution environment. + * + * NOTE: This will not work correctly for non-generic events such as `change`, + * `reset`, `load`, `error`, and `select`. + * + * Borrows from Modernizr. + * + * @param {string} eventNameSuffix Event name, e.g. "click". + * @param {?boolean} capture Check if the capture phase is supported. + * @return {boolean} True if the event is supported. + * @internal + * @license Modernizr 3.0.0pre (Custom Build) | MIT + */ +function o(e,t){if(!s.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,o=n in document;if(!o){var r=document.createElement("div");r.setAttribute(n,"return;"),o="function"===typeof r[n]}return!o&&i&&"wheel"===e&&(o=document.implementation.hasFeature("Events.wheel","3.0")),o}s.canUseDOM&&(i=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=o},92500:function(e,t,n){n(44114),n(16573),n(78100),n(77936),n(18111),n(22489),n(61701),n(37467),n(44732),n(79577),n(14603),n(47566),n(98721),function(e,n){n(t)}(0,(function(e){"use strict";function t(e,t){e.terminate=function(){const n=()=>{};this.onerror=n,this.onmessage=n,this.onopen=n;const i=new Date,s=Math.random().toString().substring(2,8),o=this.onclose;this.onclose=e=>{const n=(new Date).getTime()-i.getTime();t(`Discarded socket (#${s}) closed after ${n}ms, with code/reason: ${e.code}/${e.reason}`)},this.close(),o?.call(e,{code:4001,reason:`Quick discarding socket (#${s}) without waiting for the shutdown sequence.`,wasClean:!1})}}const n={LF:"\n",NULL:"\0"};class i{get body(){return!this._body&&this.isBinaryBody&&(this._body=(new TextDecoder).decode(this._binaryBody)),this._body||""}get binaryBody(){return this._binaryBody||this.isBinaryBody||(this._binaryBody=(new TextEncoder).encode(this._body)),this._binaryBody}constructor(e){const{command:t,headers:n,body:i,binaryBody:s,escapeHeaderValues:o,skipContentLengthHeader:r}=e;this.command=t,this.headers=Object.assign({},n||{}),s?(this._binaryBody=s,this.isBinaryBody=!0):(this._body=i||"",this.isBinaryBody=!1),this.escapeHeaderValues=o||!1,this.skipContentLengthHeader=r||!1}static fromRawFrame(e,t){const n={},s=e=>e.replace(/^\s+|\s+$/g,"");for(const o of e.headers.reverse()){o.indexOf(":");const r=s(o[0]);let c=s(o[1]);t&&"CONNECT"!==e.command&&"CONNECTED"!==e.command&&(c=i.hdrValueUnEscape(c)),n[r]=c}return new i({command:e.command,headers:n,binaryBody:e.binaryBody,escapeHeaderValues:t})}toString(){return this.serializeCmdAndHeaders()}serialize(){const e=this.serializeCmdAndHeaders();return this.isBinaryBody?i.toUnit8Array(e,this._binaryBody).buffer:e+this._body+n.NULL}serializeCmdAndHeaders(){const e=[this.command];this.skipContentLengthHeader&&delete this.headers["content-length"];for(const t of Object.keys(this.headers||{})){const n=this.headers[t];this.escapeHeaderValues&&"CONNECT"!==this.command&&"CONNECTED"!==this.command?e.push(`${t}:${i.hdrValueEscape(`${n}`)}`):e.push(`${t}:${n}`)}return(this.isBinaryBody||!this.isBodyEmpty()&&!this.skipContentLengthHeader)&&e.push(`content-length:${this.bodyLength()}`),e.join(n.LF)+n.LF+n.LF}isBodyEmpty(){return 0===this.bodyLength()}bodyLength(){const e=this.binaryBody;return e?e.length:0}static sizeOfUTF8(e){return e?(new TextEncoder).encode(e).length:0}static toUnit8Array(e,t){const n=(new TextEncoder).encode(e),i=new Uint8Array([0]),s=new Uint8Array(n.length+t.length+i.length);return s.set(n),s.set(t,n.length),s.set(i,n.length+t.length),s}static marshall(e){const t=new i(e);return t.serialize()}static hdrValueEscape(e){return e.replace(/\\/g,"\\\\").replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/:/g,"\\c")}static hdrValueUnEscape(e){return e.replace(/\\r/g,"\r").replace(/\\n/g,"\n").replace(/\\c/g,":").replace(/\\\\/g,"\\")}}const s=0,o=10,r=13,c=58;class a{constructor(e,t){this.onFrame=e,this.onIncomingPing=t,this._encoder=new TextEncoder,this._decoder=new TextDecoder,this._token=[],this._initState()}parseChunk(e,t=!1){let n;if(n="string"===typeof e?this._encoder.encode(e):new Uint8Array(e),t&&0!==n[n.length-1]){const e=new Uint8Array(n.length+1);e.set(n,0),e[n.length]=0,n=e}for(let i=0;i"content-length"===e[0]))[0];e?(this._bodyBytesRemaining=parseInt(e[1],10),this._onByte=this._collectBodyFixedSize):this._onByte=this._collectBodyNullTerminated}_collectBodyNullTerminated(e){e!==s?this._consumeByte(e):this._retrievedBody()}_collectBodyFixedSize(e){0!==this._bodyBytesRemaining--?this._consumeByte(e):this._retrievedBody()}_retrievedBody(){this._results.binaryBody=this._consumeTokenAsRaw();try{this.onFrame(this._results)}catch(e){console.log("Ignoring an exception thrown by a frame handler. Original exception: ",e)}this._initState()}_consumeByte(e){this._token.push(e)}_consumeTokenAsUTF8(){return this._decoder.decode(this._consumeTokenAsRaw())}_consumeTokenAsRaw(){const e=new Uint8Array(this._token);return this._token=[],e}_initState(){this._results={command:void 0,headers:[],binaryBody:void 0},this._token=[],this._headerKey=void 0,this._onByte=this._collectFrame}}e.StompSocketState=void 0,function(e){e[e["CONNECTING"]=0]="CONNECTING",e[e["OPEN"]=1]="OPEN",e[e["CLOSING"]=2]="CLOSING",e[e["CLOSED"]=3]="CLOSED"}(e.StompSocketState||(e.StompSocketState={})),e.ActivationState=void 0,function(e){e[e["ACTIVE"]=0]="ACTIVE",e[e["DEACTIVATING"]=1]="DEACTIVATING",e[e["INACTIVE"]=2]="INACTIVE"}(e.ActivationState||(e.ActivationState={})),e.ReconnectionTimeMode=void 0,function(e){e[e["LINEAR"]=0]="LINEAR",e[e["EXPONENTIAL"]=1]="EXPONENTIAL"}(e.ReconnectionTimeMode||(e.ReconnectionTimeMode={})),e.TickerStrategy=void 0,function(e){e["Interval"]="interval",e["Worker"]="worker"}(e.TickerStrategy||(e.TickerStrategy={}));class h{constructor(t,n=e.TickerStrategy.Interval,i){this._interval=t,this._strategy=n,this._debug=i,this._workerScript=`\n var startTime = Date.now();\n setInterval(function() {\n self.postMessage(Date.now() - startTime);\n }, ${this._interval});\n `}start(e){this.stop(),this.shouldUseWorker()?this.runWorker(e):this.runInterval(e)}stop(){this.disposeWorker(),this.disposeInterval()}shouldUseWorker(){return"undefined"!==typeof Worker&&this._strategy===e.TickerStrategy.Worker}runWorker(e){this._debug("Using runWorker for outgoing pings"),this._worker||(this._worker=new Worker(URL.createObjectURL(new Blob([this._workerScript],{type:"text/javascript"}))),this._worker.onmessage=t=>e(t.data))}runInterval(e){if(this._debug("Using runInterval for outgoing pings"),!this._timer){const t=Date.now();this._timer=setInterval((()=>{e(Date.now()-t)}),this._interval)}}disposeWorker(){this._worker&&(this._worker.terminate(),delete this._worker,this._debug("Outgoing ping disposeWorker"))}disposeInterval(){this._timer&&(clearInterval(this._timer),delete this._timer,this._debug("Outgoing ping disposeInterval"))}}class d{constructor(e){this.versions=e}supportedVersions(){return this.versions.join(",")}protocolVersions(){return this.versions.map((e=>`v${e.replace(".","")}.stomp`))}}d.V1_0="1.0",d.V1_1="1.1",d.V1_2="1.2",d.default=new d([d.V1_2,d.V1_1,d.V1_0]);class u{get connectedVersion(){return this._connectedVersion}get connected(){return this._connected}constructor(e,t,n){this._client=e,this._webSocket=t,this._connected=!1,this._serverFrameHandlers={CONNECTED:e=>{this.debug(`connected to server ${e.headers.server}`),this._connected=!0,this._connectedVersion=e.headers.version,this._connectedVersion===d.V1_2&&(this._escapeHeaderValues=!0),this._setupHeartbeat(e.headers),this.onConnect(e)},MESSAGE:e=>{const t=e.headers.subscription,n=this._subscriptions[t]||this.onUnhandledMessage,i=e,s=this,o=this._connectedVersion===d.V1_2?i.headers.ack:i.headers["message-id"];i.ack=(e={})=>s.ack(o,t,e),i.nack=(e={})=>s.nack(o,t,e),n(i)},RECEIPT:e=>{const t=this._receiptWatchers[e.headers["receipt-id"]];t?(t(e),delete this._receiptWatchers[e.headers["receipt-id"]]):this.onUnhandledReceipt(e)},ERROR:e=>{this.onStompError(e)}},this._counter=0,this._subscriptions={},this._receiptWatchers={},this._partialData="",this._escapeHeaderValues=!1,this._lastServerActivityTS=Date.now(),this.debug=n.debug,this.stompVersions=n.stompVersions,this.connectHeaders=n.connectHeaders,this.disconnectHeaders=n.disconnectHeaders,this.heartbeatIncoming=n.heartbeatIncoming,this.heartbeatOutgoing=n.heartbeatOutgoing,this.splitLargeFrames=n.splitLargeFrames,this.maxWebSocketChunkSize=n.maxWebSocketChunkSize,this.forceBinaryWSFrames=n.forceBinaryWSFrames,this.logRawCommunication=n.logRawCommunication,this.appendMissingNULLonIncoming=n.appendMissingNULLonIncoming,this.discardWebsocketOnCommFailure=n.discardWebsocketOnCommFailure,this.onConnect=n.onConnect,this.onDisconnect=n.onDisconnect,this.onStompError=n.onStompError,this.onWebSocketClose=n.onWebSocketClose,this.onWebSocketError=n.onWebSocketError,this.onUnhandledMessage=n.onUnhandledMessage,this.onUnhandledReceipt=n.onUnhandledReceipt,this.onUnhandledFrame=n.onUnhandledFrame}start(){const e=new a((e=>{const t=i.fromRawFrame(e,this._escapeHeaderValues);this.logRawCommunication||this.debug(`<<< ${t}`);const n=this._serverFrameHandlers[t.command]||this.onUnhandledFrame;n(t)}),(()=>{this.debug("<<< PONG")}));this._webSocket.onmessage=t=>{if(this.debug("Received data"),this._lastServerActivityTS=Date.now(),this.logRawCommunication){const e=t.data instanceof ArrayBuffer?(new TextDecoder).decode(t.data):t.data;this.debug(`<<< ${e}`)}e.parseChunk(t.data,this.appendMissingNULLonIncoming)},this._webSocket.onclose=e=>{this.debug(`Connection closed to ${this._webSocket.url}`),this._cleanUp(),this.onWebSocketClose(e)},this._webSocket.onerror=e=>{this.onWebSocketError(e)},this._webSocket.onopen=()=>{const e=Object.assign({},this.connectHeaders);this.debug("Web Socket Opened..."),e["accept-version"]=this.stompVersions.supportedVersions(),e["heart-beat"]=[this.heartbeatOutgoing,this.heartbeatIncoming].join(","),this._transmit({command:"CONNECT",headers:e})}}_setupHeartbeat(t){if(t.version!==d.V1_1&&t.version!==d.V1_2)return;if(!t["heart-beat"])return;const[i,s]=t["heart-beat"].split(",").map((e=>parseInt(e,10)));if(0!==this.heartbeatOutgoing&&0!==s){const t=Math.max(this.heartbeatOutgoing,s);this.debug(`send PING every ${t}ms`),this._pinger=new h(t,this._client.heartbeatStrategy,this.debug),this._pinger.start((()=>{this._webSocket.readyState===e.StompSocketState.OPEN&&(this._webSocket.send(n.LF),this.debug(">>> PING"))}))}if(0!==this.heartbeatIncoming&&0!==i){const e=Math.max(this.heartbeatIncoming,i);this.debug(`check PONG every ${e}ms`),this._ponger=setInterval((()=>{const t=Date.now()-this._lastServerActivityTS;t>2*e&&(this.debug(`did not receive server activity for the last ${t}ms`),this._closeOrDiscardWebsocket())}),e)}}_closeOrDiscardWebsocket(){this.discardWebsocketOnCommFailure?(this.debug("Discarding websocket, the underlying socket may linger for a while"),this.discardWebsocket()):(this.debug("Issuing close on the websocket"),this._closeWebsocket())}forceDisconnect(){this._webSocket&&(this._webSocket.readyState!==e.StompSocketState.CONNECTING&&this._webSocket.readyState!==e.StompSocketState.OPEN||this._closeOrDiscardWebsocket())}_closeWebsocket(){this._webSocket.onmessage=()=>{},this._webSocket.close()}discardWebsocket(){"function"!==typeof this._webSocket.terminate&&t(this._webSocket,(e=>this.debug(e))),this._webSocket.terminate()}_transmit(e){const{command:t,headers:n,body:s,binaryBody:o,skipContentLengthHeader:r}=e,c=new i({command:t,headers:n,body:s,binaryBody:o,escapeHeaderValues:this._escapeHeaderValues,skipContentLengthHeader:r});let a=c.serialize();if(this.logRawCommunication?this.debug(`>>> ${a}`):this.debug(`>>> ${c}`),this.forceBinaryWSFrames&&"string"===typeof a&&(a=(new TextEncoder).encode(a)),"string"===typeof a&&this.splitLargeFrames){let e=a;while(e.length>0){const t=e.substring(0,this.maxWebSocketChunkSize);e=e.substring(this.maxWebSocketChunkSize),this._webSocket.send(t),this.debug(`chunk sent = ${t.length}, remaining = ${e.length}`)}}else this._webSocket.send(a)}dispose(){if(this.connected)try{const e=Object.assign({},this.disconnectHeaders);e.receipt||(e.receipt="close-"+this._counter++),this.watchForReceipt(e.receipt,(e=>{this._closeWebsocket(),this._cleanUp(),this.onDisconnect(e)})),this._transmit({command:"DISCONNECT",headers:e})}catch(t){this.debug(`Ignoring error during disconnect ${t}`)}else this._webSocket.readyState!==e.StompSocketState.CONNECTING&&this._webSocket.readyState!==e.StompSocketState.OPEN||this._closeWebsocket()}_cleanUp(){this._connected=!1,this._pinger&&(this._pinger.stop(),this._pinger=void 0),this._ponger&&(clearInterval(this._ponger),this._ponger=void 0)}publish(e){const{destination:t,headers:n,body:i,binaryBody:s,skipContentLengthHeader:o}=e,r=Object.assign({destination:t},n);this._transmit({command:"SEND",headers:r,body:i,binaryBody:s,skipContentLengthHeader:o})}watchForReceipt(e,t){this._receiptWatchers[e]=t}subscribe(e,t,n={}){n=Object.assign({},n),n.id||(n.id="sub-"+this._counter++),n.destination=e,this._subscriptions[n.id]=t,this._transmit({command:"SUBSCRIBE",headers:n});const i=this;return{id:n.id,unsubscribe(e){return i.unsubscribe(n.id,e)}}}unsubscribe(e,t={}){t=Object.assign({},t),delete this._subscriptions[e],t.id=e,this._transmit({command:"UNSUBSCRIBE",headers:t})}begin(e){const t=e||"tx-"+this._counter++;this._transmit({command:"BEGIN",headers:{transaction:t}});const n=this;return{id:t,commit(){n.commit(t)},abort(){n.abort(t)}}}commit(e){this._transmit({command:"COMMIT",headers:{transaction:e}})}abort(e){this._transmit({command:"ABORT",headers:{transaction:e}})}ack(e,t,n={}){n=Object.assign({},n),this._connectedVersion===d.V1_2?n.id=e:n["message-id"]=e,n.subscription=t,this._transmit({command:"ACK",headers:n})}nack(e,t,n={}){return n=Object.assign({},n),this._connectedVersion===d.V1_2?n.id=e:n["message-id"]=e,n.subscription=t,this._transmit({command:"NACK",headers:n})}}class l{get webSocket(){return this._stompHandler?._webSocket}get disconnectHeaders(){return this._disconnectHeaders}set disconnectHeaders(e){this._disconnectHeaders=e,this._stompHandler&&(this._stompHandler.disconnectHeaders=this._disconnectHeaders)}get connected(){return!!this._stompHandler&&this._stompHandler.connected}get connectedVersion(){return this._stompHandler?this._stompHandler.connectedVersion:void 0}get active(){return this.state===e.ActivationState.ACTIVE}_changeState(e){this.state=e,this.onChangeState(e)}constructor(t={}){this.stompVersions=d.default,this.connectionTimeout=0,this.reconnectDelay=5e3,this._nextReconnectDelay=0,this.maxReconnectDelay=9e5,this.reconnectTimeMode=e.ReconnectionTimeMode.LINEAR,this.heartbeatIncoming=1e4,this.heartbeatOutgoing=1e4,this.heartbeatStrategy=e.TickerStrategy.Interval,this.splitLargeFrames=!1,this.maxWebSocketChunkSize=8192,this.forceBinaryWSFrames=!1,this.appendMissingNULLonIncoming=!1,this.discardWebsocketOnCommFailure=!1,this.state=e.ActivationState.INACTIVE;const n=()=>{};this.debug=n,this.beforeConnect=n,this.onConnect=n,this.onDisconnect=n,this.onUnhandledMessage=n,this.onUnhandledReceipt=n,this.onUnhandledFrame=n,this.onStompError=n,this.onWebSocketClose=n,this.onWebSocketError=n,this.logRawCommunication=!1,this.onChangeState=n,this.connectHeaders={},this._disconnectHeaders={},this.configure(t)}configure(e){Object.assign(this,e),this.maxReconnectDelay>0&&this.maxReconnectDelay{this.active?this.debug("Already ACTIVE, ignoring request to activate"):(this._changeState(e.ActivationState.ACTIVE),this._nextReconnectDelay=this.reconnectDelay,this._connect())};this.state===e.ActivationState.DEACTIVATING?(this.debug("Waiting for deactivation to finish before activating"),this.deactivate().then((()=>{t()}))):t()}async _connect(){if(await this.beforeConnect(this),this._stompHandler)return void this.debug("There is already a stompHandler, skipping the call to connect");if(!this.active)return void this.debug("Client has been marked inactive, will not attempt to connect");this.connectionTimeout>0&&(this._connectionWatcher&&clearTimeout(this._connectionWatcher),this._connectionWatcher=setTimeout((()=>{this.connected||(this.debug(`Connection not established in ${this.connectionTimeout}ms, closing socket`),this.forceDisconnect())}),this.connectionTimeout)),this.debug("Opening Web Socket...");const t=this._createWebSocket();this._stompHandler=new u(this,t,{debug:this.debug,stompVersions:this.stompVersions,connectHeaders:this.connectHeaders,disconnectHeaders:this._disconnectHeaders,heartbeatIncoming:this.heartbeatIncoming,heartbeatOutgoing:this.heartbeatOutgoing,heartbeatStrategy:this.heartbeatStrategy,splitLargeFrames:this.splitLargeFrames,maxWebSocketChunkSize:this.maxWebSocketChunkSize,forceBinaryWSFrames:this.forceBinaryWSFrames,logRawCommunication:this.logRawCommunication,appendMissingNULLonIncoming:this.appendMissingNULLonIncoming,discardWebsocketOnCommFailure:this.discardWebsocketOnCommFailure,onConnect:e=>{if(this._connectionWatcher&&(clearTimeout(this._connectionWatcher),this._connectionWatcher=void 0),!this.active)return this.debug("STOMP got connected while deactivate was issued, will disconnect now"),void this._disposeStompHandler();this.onConnect(e)},onDisconnect:e=>{this.onDisconnect(e)},onStompError:e=>{this.onStompError(e)},onWebSocketClose:t=>{this._stompHandler=void 0,this.state===e.ActivationState.DEACTIVATING&&this._changeState(e.ActivationState.INACTIVE),this.onWebSocketClose(t),this.active&&this._schedule_reconnect()},onWebSocketError:e=>{this.onWebSocketError(e)},onUnhandledMessage:e=>{this.onUnhandledMessage(e)},onUnhandledReceipt:e=>{this.onUnhandledReceipt(e)},onUnhandledFrame:e=>{this.onUnhandledFrame(e)}}),this._stompHandler.start()}_createWebSocket(){let e;if(this.webSocketFactory)e=this.webSocketFactory();else{if(!this.brokerURL)throw new Error("Either brokerURL or webSocketFactory must be provided");e=new WebSocket(this.brokerURL,this.stompVersions.protocolVersions())}return e.binaryType="arraybuffer",e}_schedule_reconnect(){this._nextReconnectDelay>0&&(this.debug(`STOMP: scheduling reconnection in ${this._nextReconnectDelay}ms`),this._reconnector=setTimeout((()=>{this.reconnectTimeMode===e.ReconnectionTimeMode.EXPONENTIAL&&(this._nextReconnectDelay=2*this._nextReconnectDelay,0!==this.maxReconnectDelay&&(this._nextReconnectDelay=Math.min(this._nextReconnectDelay,this.maxReconnectDelay))),this._connect()}),this._nextReconnectDelay))}async deactivate(t={}){const n=t.force||!1,i=this.active;let s;if(this.state===e.ActivationState.INACTIVE)return this.debug("Already INACTIVE, nothing more to do"),Promise.resolve();if(this._changeState(e.ActivationState.DEACTIVATING),this._nextReconnectDelay=0,this._reconnector&&(clearTimeout(this._reconnector),this._reconnector=void 0),!this._stompHandler||this.webSocket.readyState===e.StompSocketState.CLOSED)return this._changeState(e.ActivationState.INACTIVE),Promise.resolve();{const e=this._stompHandler.onWebSocketClose;s=new Promise(((t,n)=>{this._stompHandler.onWebSocketClose=n=>{e(n),t()}}))}return n?this._stompHandler?.discardWebsocket():i&&this._disposeStompHandler(),s}forceDisconnect(){this._stompHandler&&this._stompHandler.forceDisconnect()}_disposeStompHandler(){this._stompHandler&&this._stompHandler.dispose()}publish(e){this._checkConnection(),this._stompHandler.publish(e)}_checkConnection(){if(!this.connected)throw new TypeError("There is no underlying STOMP connection")}watchForReceipt(e,t){this._checkConnection(),this._stompHandler.watchForReceipt(e,t)}subscribe(e,t,n={}){return this._checkConnection(),this._stompHandler.subscribe(e,t,n)}unsubscribe(e,t={}){this._checkConnection(),this._stompHandler.unsubscribe(e,t)}begin(e){return this._checkConnection(),this._stompHandler.begin(e)}commit(e){this._checkConnection(),this._stompHandler.commit(e)}abort(e){this._checkConnection(),this._stompHandler.abort(e)}ack(e,t,n={}){this._checkConnection(),this._stompHandler.ack(e,t,n)}nack(e,t,n={}){this._checkConnection(),this._stompHandler.nack(e,t,n)}}class m{}class _{}class p{constructor(e){this.client=e}get outgoing(){return this.client.heartbeatOutgoing}set outgoing(e){this.client.heartbeatOutgoing=e}get incoming(){return this.client.heartbeatIncoming}set incoming(e){this.client.heartbeatIncoming=e}}class b extends l{constructor(e){super(),this.maxWebSocketFrameSize=16384,this._heartbeatInfo=new p(this),this.reconnect_delay=0,this.webSocketFactory=e,this.debug=(...e)=>{console.log(...e)}}_parseConnect(...e){let t,n,i,s={};if(e.length<2)throw new Error("Connect requires at least 2 arguments");if("function"===typeof e[1])[s,n,i,t]=e;else switch(e.length){case 6:[s.login,s.passcode,n,i,t,s.host]=e;break;default:[s.login,s.passcode,n,i,t]=e}return[s,n,i,t]}connect(...e){const t=this._parseConnect(...e);t[0]&&(this.connectHeaders=t[0]),t[1]&&(this.onConnect=t[1]),t[2]&&(this.onStompError=t[2]),t[3]&&(this.onWebSocketClose=t[3]),super.activate()}disconnect(e,t={}){e&&(this.onDisconnect=e),this.disconnectHeaders=t,super.deactivate()}send(e,t={},n=""){t=Object.assign({},t);const i=!1===t["content-length"];i&&delete t["content-length"],this.publish({destination:e,headers:t,body:n,skipContentLengthHeader:i})}set reconnect_delay(e){this.reconnectDelay=e}get ws(){return this.webSocket}get version(){return this.connectedVersion}get onreceive(){return this.onUnhandledMessage}set onreceive(e){this.onUnhandledMessage=e}get onreceipt(){return this.onUnhandledReceipt}set onreceipt(e){this.onUnhandledReceipt=e}get heartbeat(){return this._heartbeatInfo}set heartbeat(e){this.heartbeatIncoming=e.incoming,this.heartbeatOutgoing=e.outgoing}}class g{static client(e,t){null==t&&(t=d.default.protocolVersions());const n=()=>{const n=g.WebSocketClass||WebSocket;return new n(e,t)};return new b(n)}static over(e){let t;return"function"===typeof e?t=e:(console.warn("Stomp.over did not receive a factory, auto reconnect will not work. Please see https://stomp-js.github.io/api-docs/latest/classes/Stomp.html#over"),t=()=>e),new b(t)}}g.WebSocketClass=null,e.Client=l,e.CompatClient=b,e.FrameImpl=i,e.Parser=a,e.Stomp=g,e.StompConfig=m,e.StompHeaders=_,e.Versions=d}))},96083:function(e){"use strict";var t=!("undefined"===typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},99438:function(e,t,n){"use strict";var i=n(32456),s=n(50586),o=10,r=40,c=800;function a(e){var t=0,n=0,i=0,s=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=t*o,s=n*o,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(i=e.deltaX),(i||s)&&e.deltaMode&&(1==e.deltaMode?(i*=r,s*=r):(i*=c,s*=c)),i&&!t&&(t=i<1?-1:1),s&&!n&&(n=s<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:s}}a.getEventType=function(){return i.firefox()?"DOMMouseScroll":s("wheel")?"wheel":"mousewheel"},e.exports=a}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-96cecd74.a7d9b845.js b/mining-pool/public/dist/js/chunk-vendors-96cecd74.a7d9b845.js new file mode 100644 index 0000000..db337dc --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-96cecd74.a7d9b845.js @@ -0,0 +1,9 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[812],{69812:function(n,t,r){var e;n=r.nmd(n),r(44114),r(16573),r(78100),r(77936),r(18111),r(29314),r(81148),r(22489),r(20116),r(30531),r(7588),r(61701),r(18237),r(13579),r(54972),r(61806);var u="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"===typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n}; +/** + * @license + * Lodash + * Copyright JS Foundation and other contributors + * Released under MIT license + * Based on Underscore.js 1.8.3 + * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + */(function(){var i,o="4.17.10",a=200,f="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",l="__lodash_hash_undefined__",s=500,h="__lodash_placeholder__",p=1,v=2,_=4,g=1,y=2,d=1,w=2,b=4,m=8,x=16,j=32,A=64,k=128,O=256,I=512,R=30,S="...",z=800,E=16,C=1,W=2,L=3,U=1/0,B=9007199254740991,T=17976931348623157e292,$=NaN,D=4294967295,M=D-1,F=D>>>1,N=[["ary",k],["bind",d],["bindKey",w],["curry",m],["curryRight",x],["flip",I],["partial",j],["partialRight",A],["rearg",O]],P="[object Arguments]",q="[object Array]",Z="[object AsyncFunction]",K="[object Boolean]",V="[object Date]",G="[object DOMException]",H="[object Error]",J="[object Function]",Y="[object GeneratorFunction]",Q="[object Map]",X="[object Number]",nn="[object Null]",tn="[object Object]",rn="[object Promise]",en="[object Proxy]",un="[object RegExp]",on="[object Set]",an="[object String]",fn="[object Symbol]",cn="[object Undefined]",ln="[object WeakMap]",sn="[object WeakSet]",hn="[object ArrayBuffer]",pn="[object DataView]",vn="[object Float32Array]",_n="[object Float64Array]",gn="[object Int8Array]",yn="[object Int16Array]",dn="[object Int32Array]",wn="[object Uint8Array]",bn="[object Uint8ClampedArray]",mn="[object Uint16Array]",xn="[object Uint32Array]",jn=/\b__p \+= '';/g,An=/\b(__p \+=) '' \+/g,kn=/(__e\(.*?\)|\b__t\)) \+\n'';/g,On=/&(?:amp|lt|gt|quot|#39);/g,In=/[&<>"']/g,Rn=RegExp(On.source),Sn=RegExp(In.source),zn=/<%-([\s\S]+?)%>/g,En=/<%([\s\S]+?)%>/g,Cn=/<%=([\s\S]+?)%>/g,Wn=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ln=/^\w*$/,Un=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Bn=/[\\^$.*+?()[\]{}|]/g,Tn=RegExp(Bn.source),$n=/^\s+|\s+$/g,Dn=/^\s+/,Mn=/\s+$/,Fn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nn=/\{\n\/\* \[wrapped with (.+)\] \*/,Pn=/,? & /,qn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Zn=/\\(\\)?/g,Kn=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vn=/\w*$/,Gn=/^[-+]0x[0-9a-f]+$/i,Hn=/^0b[01]+$/i,Jn=/^\[object .+?Constructor\]$/,Yn=/^0o[0-7]+$/i,Qn=/^(?:0|[1-9]\d*)$/,Xn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,nt=/($^)/,tt=/['\n\r\u2028\u2029\\]/g,rt="\\ud800-\\udfff",et="\\u0300-\\u036f",ut="\\ufe20-\\ufe2f",it="\\u20d0-\\u20ff",ot=et+ut+it,at="\\u2700-\\u27bf",ft="a-z\\xdf-\\xf6\\xf8-\\xff",ct="\\xac\\xb1\\xd7\\xf7",lt="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",st="\\u2000-\\u206f",ht=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",pt="A-Z\\xc0-\\xd6\\xd8-\\xde",vt="\\ufe0e\\ufe0f",_t=ct+lt+st+ht,gt="['’]",yt="["+rt+"]",dt="["+_t+"]",wt="["+ot+"]",bt="\\d+",mt="["+at+"]",xt="["+ft+"]",jt="[^"+rt+_t+bt+at+ft+pt+"]",At="\\ud83c[\\udffb-\\udfff]",kt="(?:"+wt+"|"+At+")",Ot="[^"+rt+"]",It="(?:\\ud83c[\\udde6-\\uddff]){2}",Rt="[\\ud800-\\udbff][\\udc00-\\udfff]",St="["+pt+"]",zt="\\u200d",Et="(?:"+xt+"|"+jt+")",Ct="(?:"+St+"|"+jt+")",Wt="(?:"+gt+"(?:d|ll|m|re|s|t|ve))?",Lt="(?:"+gt+"(?:D|LL|M|RE|S|T|VE))?",Ut=kt+"?",Bt="["+vt+"]?",Tt="(?:"+zt+"(?:"+[Ot,It,Rt].join("|")+")"+Bt+Ut+")*",$t="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Dt="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Mt=Bt+Ut+Tt,Ft="(?:"+[mt,It,Rt].join("|")+")"+Mt,Nt="(?:"+[Ot+wt+"?",wt,It,Rt,yt].join("|")+")",Pt=RegExp(gt,"g"),qt=RegExp(wt,"g"),Zt=RegExp(At+"(?="+At+")|"+Nt+Mt,"g"),Kt=RegExp([St+"?"+xt+"+"+Wt+"(?="+[dt,St,"$"].join("|")+")",Ct+"+"+Lt+"(?="+[dt,St+Et,"$"].join("|")+")",St+"?"+Et+"+"+Wt,St+"+"+Lt,Dt,$t,bt,Ft].join("|"),"g"),Vt=RegExp("["+zt+rt+ot+vt+"]"),Gt=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ht=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Jt=-1,Yt={};Yt[vn]=Yt[_n]=Yt[gn]=Yt[yn]=Yt[dn]=Yt[wn]=Yt[bn]=Yt[mn]=Yt[xn]=!0,Yt[P]=Yt[q]=Yt[hn]=Yt[K]=Yt[pn]=Yt[V]=Yt[H]=Yt[J]=Yt[Q]=Yt[X]=Yt[tn]=Yt[un]=Yt[on]=Yt[an]=Yt[ln]=!1;var Qt={};Qt[P]=Qt[q]=Qt[hn]=Qt[pn]=Qt[K]=Qt[V]=Qt[vn]=Qt[_n]=Qt[gn]=Qt[yn]=Qt[dn]=Qt[Q]=Qt[X]=Qt[tn]=Qt[un]=Qt[on]=Qt[an]=Qt[fn]=Qt[wn]=Qt[bn]=Qt[mn]=Qt[xn]=!0,Qt[H]=Qt[J]=Qt[ln]=!1;var Xt={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},nr={"&":"&","<":"<",">":">",'"':""","'":"'"},tr={"&":"&","<":"<",">":">",""":'"',"'":"'"},rr={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},er=parseFloat,ur=parseInt,ir="object"===("undefined"===typeof r.g?"undefined":u(r.g))&&r.g&&r.g.Object===Object&&r.g,or="object"===("undefined"===typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,ar=ir||or||Function("return this")(),fr="object"===u(t)&&t&&!t.nodeType&&t,cr=fr&&"object"===u(n)&&n&&!n.nodeType&&n,lr=cr&&cr.exports===fr,sr=lr&&ir.process,hr=function(){try{var n=cr&&cr.require&&cr.require("util").types;return n||sr&&sr.binding&&sr.binding("util")}catch(t){}}(),pr=hr&&hr.isArrayBuffer,vr=hr&&hr.isDate,_r=hr&&hr.isMap,gr=hr&&hr.isRegExp,yr=hr&&hr.isSet,dr=hr&&hr.isTypedArray;function wr(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function br(n,t,r,e){var u=-1,i=null==n?0:n.length;while(++u-1}function Or(n,t,r){var e=-1,u=null==n?0:n.length;while(++e-1);return r}function Qr(n,t){var r=n.length;while(r--&&Tr(t,n[r],0)>-1);return r}function Xr(n,t){var r=n.length,e=0;while(r--)n[r]===t&&++e;return e}var ne=Nr(Xt),te=Nr(nr);function re(n){return"\\"+rr[n]}function ee(n,t){return null==n?i:n[t]}function ue(n){return Vt.test(n)}function ie(n){return Gt.test(n)}function oe(n){var t,r=[];while(!(t=n.next()).done)r.push(t.value);return r}function ae(n){var t=-1,r=Array(n.size);return n.forEach((function(n,e){r[++t]=[e,n]})),r}function fe(n,t){return function(r){return n(t(r))}}function ce(n,t){var r=-1,e=n.length,u=0,i=[];while(++r-1}function Ne(n,t){var r=this.__data__,e=lu(r,n);return e<0?(++this.size,r.push([n,t])):r[e][1]=t,this}function Pe(n){var t=-1,r=null==n?0:n.length;this.clear();while(++t=t?n:t)),n}function yu(n,t,r,e,u,o){var a,f=t&p,c=t&v,l=t&_;if(r&&(a=u?r(n,e,u,o):r(n)),a!==i)return a;if(!Al(n))return n;var s=fl(n);if(s){if(a=ta(n),!f)return eo(n,a)}else{var h=Yo(n),g=h==J||h==Y;if(pl(n))return Vi(n,f);if(h==tn||h==P||g&&!u){if(a=c||g?{}:ra(n),!f)return c?oo(n,pu(a,n)):io(n,hu(a,n))}else{if(!Qt[h])return u?n:{};a=ea(n,h,f)}}o||(o=new Qe);var y=o.get(n);if(y)return y;if(o.set(n,a),Tl(n))return n.forEach((function(e){a.add(yu(e,t,r,e,n,o))})),a;if(Ol(n))return n.forEach((function(e,u){a.set(u,yu(e,t,r,u,n,o))})),a;var d=l?c?Mo:Do:c?js:xs,w=s?i:d(n);return mr(w||n,(function(e,u){w&&(u=e,e=n[u]),cu(a,u,yu(e,t,r,u,n,o))})),a}function du(n){var t=xs(n);return function(r){return wu(r,n,t)}}function wu(n,t,r){var e=r.length;if(null==n)return!e;n=ut(n);while(e--){var u=r[e],o=t[u],a=n[u];if(a===i&&!(u in n)||!o(a))return!1}return!0}function bu(n,t,r){if("function"!==typeof n)throw new at(c);return Aa((function(){n.apply(i,r)}),t)}function mu(n,t,r,e){var u=-1,i=kr,o=!0,f=n.length,c=[],l=t.length;if(!f)return c;r&&(t=Ir(t,Gr(r))),e?(i=Or,o=!1):t.length>=a&&(i=Jr,o=!1,t=new He(t));n:while(++uu?0:u+r),e=e===i||e>u?u:Gl(e),e<0&&(e+=u),e=r>e?0:Hl(e);while(r0&&r(a)?t>1?Ru(a,t-1,r,e,u):Rr(u,a):e||(u[u.length]=a)}return u}var Su=lo(),zu=lo(!0);function Eu(n,t){return n&&Su(n,t,xs)}function Cu(n,t){return n&&zu(n,t,xs)}function Wu(n,t){return Ar(t,(function(t){return ml(n[t])}))}function Lu(n,t){t=Pi(t,n);var r=0,e=t.length;while(null!=n&&rt}function $u(n,t){return null!=n&&pt.call(n,t)}function Du(n,t){return null!=n&&t in ut(n)}function Mu(n,t,r){return n>=Zt(t,r)&&n=120&&h.length>=120)?new He(f&&h):i}h=n[0];var p=-1,v=c[0];n:while(++p-1)a!==n&&It.call(a,f,1),It.call(n,f,1)}return n}function gi(n,t){var r=n?t.length:0,e=r-1;while(r--){var u=t[r];if(r==e||u!==i){var i=u;oa(u)?It.call(n,u,1):Ui(n,u)}}return n}function yi(n,t){return n+Bt(Gt()*(t-n+1))}function di(n,t,e,u){var i=-1,o=Nt(Ut((t-n)/(e||1)),0),a=r(o);while(o--)a[u?o:++i]=n,n+=e;return a}function wi(n,t){var r="";if(!n||t<1||t>B)return r;do{t%2&&(r+=n),t=Bt(t/2),t&&(n+=n)}while(t);return r}function bi(n,t){return ka(ba(n,t,zh),n+"")}function mi(n){return iu(Fs(n))}function xi(n,t){var r=Fs(n);return Ra(r,gu(t,0,r.length))}function ji(n,t,r,e){if(!Al(n))return n;t=Pi(t,n);var u=-1,o=t.length,a=o-1,f=n;while(null!=f&&++ui?0:i+t),e=e>i?i:e,e<0&&(e+=i),i=t>e?0:e-t>>>0,t>>>=0;var o=r(i);while(++u>>1,o=n[i];null!==o&&!Dl(o)&&(r?o<=t:o=a){var l=t?null:So(n);if(l)return se(l);o=!1,u=Jr,c=new He}else c=t?[]:f;n:while(++e=e?n:Ii(n,t,r)}var Ki=Ct||function(n){return ar.clearTimeout(n)};function Vi(n,t){if(t)return n.slice();var r=n.length,e=jt?jt(r):new n.constructor(r);return n.copy(e),e}function Gi(n){var t=new n.constructor(n.byteLength);return new xt(t).set(new xt(n)),t}function Hi(n,t){var r=t?Gi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.byteLength)}function Ji(n){var t=new n.constructor(n.source,Vn.exec(n));return t.lastIndex=n.lastIndex,t}function Yi(n){return we?ut(we.call(n)):{}}function Qi(n,t){var r=t?Gi(n.buffer):n.buffer;return new n.constructor(r,n.byteOffset,n.length)}function Xi(n,t){if(n!==t){var r=n!==i,e=null===n,u=n===n,o=Dl(n),a=t!==i,f=null===t,c=t===t,l=Dl(t);if(!f&&!l&&!o&&n>t||o&&a&&c&&!f&&!l||e&&a&&c||!r&&c||!u)return 1;if(!e&&!o&&!l&&n=a)return f;var c=r[e];return f*("desc"==c?-1:1)}}return n.index-t.index}function to(n,t,e,u){var i=-1,o=n.length,a=e.length,f=-1,c=t.length,l=Nt(o-a,0),s=r(c+l),h=!u;while(++f1?r[u-1]:i,a=u>2?r[2]:i;o=n.length>3&&"function"===typeof o?(u--,o):i,a&&aa(r[0],r[1],a)&&(o=u<3?i:o,u=1),t=ut(t);while(++e-1?u[o?t[a]:a]:i}}function yo(n){return $o((function(t){var r=t.length,e=r,u=Oe.prototype.thru;n&&t.reverse();while(e--){var o=t[e];if("function"!==typeof o)throw new at(c);if(u&&!a&&"wrapper"==No(o))var a=new Oe([],!0)}e=a?e:r;while(++e1&&d.reverse(),h&&lf))return!1;var l=o.get(n);if(l&&o.get(t))return l==t;var s=-1,h=!0,p=r&y?new He:i;o.set(n,t),o.set(t,n);while(++s1?"& ":"")+t[e],t=t.join(r>2?", ":" "),n.replace(Fn,"{\n/* [wrapped with "+t+"] */\n")}function ia(n){return fl(n)||al(n)||!!(Rt&&n&&n[Rt])}function oa(n,t){var r="undefined"===typeof n?"undefined":u(n);return t=null==t?B:t,!!t&&("number"==r||"symbol"!=r&&Qn.test(n))&&n>-1&&n%1==0&&n0){if(++t>=z)return arguments[0]}else t=0;return n.apply(i,arguments)}}function Ra(n,t){var r=-1,e=n.length,u=e-1;t=t===i?e:t;while(++r1?n[t-1]:i;return r="function"===typeof r?(n.pop(),r):i,Bf(n,r)}));function Zf(n){var t=je(n);return t.__chain__=!0,t}function Kf(n,t){return t(n),n}function Vf(n,t){return t(n)}var Gf=$o((function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,u=function(t){return _u(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Ie&&oa(r)?(e=e.slice(r,+r+(t?1:0)),e.__actions__.push({func:Vf,args:[u],thisArg:i}),new Oe(e,this.__chain__).thru((function(n){return t&&!n.length&&n.push(i),n}))):this.thru(u)}));function Hf(){return Zf(this)}function Jf(){return new Oe(this.value(),this.__chain__)}function Yf(){this.__values__===i&&(this.__values__=Kl(this.value()));var n=this.__index__>=this.__values__.length,t=n?i:this.__values__[this.__index__++];return{done:n,value:t}}function Qf(){return this}function Xf(n){var t,r=this;while(r instanceof ke){var e=Wa(r);e.__index__=0,e.__values__=i,t?u.__wrapped__=e:t=e;var u=e;r=r.__wrapped__}return u.__wrapped__=n,t}function nc(){var n=this.__wrapped__;if(n instanceof Ie){var t=n;return this.__actions__.length&&(t=new Ie(this)),t=t.reverse(),t.__actions__.push({func:Vf,args:[vf],thisArg:i}),new Oe(t,this.__chain__)}return this.thru(vf)}function tc(){return $i(this.__wrapped__,this.__actions__)}var rc=ao((function(n,t,r){pt.call(n,r)?++n[r]:vu(n,r,1)}));function ec(n,t,r){var e=fl(n)?jr:Au;return r&&aa(n,t,r)&&(t=i),e(n,qo(t,3))}function uc(n,t){var r=fl(n)?Ar:Iu;return r(n,qo(t,3))}var ic=go(Za),oc=go(Ka);function ac(n,t){return Ru(gc(n,t),1)}function fc(n,t){return Ru(gc(n,t),U)}function cc(n,t,r){return r=r===i?1:Gl(r),Ru(gc(n,t),r)}function lc(n,t){var r=fl(n)?mr:xu;return r(n,qo(t,3))}function sc(n,t){var r=fl(n)?xr:ju;return r(n,qo(t,3))}var hc=ao((function(n,t,r){pt.call(n,r)?n[r].push(t):vu(n,r,[t])}));function pc(n,t,r,e){n=ll(n)?n:Fs(n),r=r&&!e?Gl(r):0;var u=n.length;return r<0&&(r=Nt(u+r,0)),$l(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&Tr(n,t,r)>-1}var vc=bi((function(n,t,e){var u=-1,i="function"===typeof t,o=ll(n)?r(n.length):[];return xu(n,(function(n){o[++u]=i?wr(t,n,e):Pu(n,t,e)})),o})),_c=ao((function(n,t,r){vu(n,r,t)}));function gc(n,t){var r=fl(n)?Ir:ii;return r(n,qo(t,3))}function yc(n,t,r,e){return null==n?[]:(fl(t)||(t=null==t?[]:[t]),r=e?i:r,fl(r)||(r=null==r?[]:[r]),si(n,t,r))}var dc=ao((function(n,t,r){n[r?0:1].push(t)}),(function(){return[[],[]]}));function wc(n,t,r){var e=fl(n)?Sr:Pr,u=arguments.length<3;return e(n,qo(t,4),r,u,xu)}function bc(n,t,r){var e=fl(n)?zr:Pr,u=arguments.length<3;return e(n,qo(t,4),r,u,ju)}function mc(n,t){var r=fl(n)?Ar:Iu;return r(n,Fc(qo(t,3)))}function xc(n){var t=fl(n)?iu:mi;return t(n)}function jc(n,t,r){t=(r?aa(n,t,r):t===i)?1:Gl(t);var e=fl(n)?ou:xi;return e(n,t)}function Ac(n){var t=fl(n)?au:Oi;return t(n)}function kc(n){if(null==n)return 0;if(ll(n))return $l(n)?_e(n):n.length;var t=Yo(n);return t==Q||t==on?n.size:ri(n).length}function Oc(n,t,r){var e=fl(n)?Er:Ri;return r&&aa(n,t,r)&&(t=i),e(n,qo(t,3))}var Ic=bi((function(n,t){if(null==n)return[];var r=t.length;return r>1&&aa(n,t[0],t[1])?t=[]:r>2&&aa(t[0],t[1],t[2])&&(t=[t[0]]),si(n,Ru(t,1),[])})),Rc=Wt||function(){return ar.Date.now()};function Sc(n,t){if("function"!==typeof t)throw new at(c);return n=Gl(n),function(){if(--n<1)return t.apply(this,arguments)}}function zc(n,t,r){return t=r?i:t,t=n&&null==t?n.length:t,Eo(n,k,i,i,i,i,t)}function Ec(n,t){var r;if("function"!==typeof t)throw new at(c);return n=Gl(n),function(){return--n>0&&(r=t.apply(this,arguments)),n<=1&&(t=i),r}}var Cc=bi((function(n,t,r){var e=d;if(r.length){var u=ce(r,Po(Cc));e|=j}return Eo(n,e,t,r,u)})),Wc=bi((function(n,t,r){var e=d|w;if(r.length){var u=ce(r,Po(Wc));e|=j}return Eo(t,e,n,r,u)}));function Lc(n,t,r){t=r?i:t;var e=Eo(n,m,i,i,i,i,i,t);return e.placeholder=Lc.placeholder,e}function Uc(n,t,r){t=r?i:t;var e=Eo(n,x,i,i,i,i,i,t);return e.placeholder=Uc.placeholder,e}function Bc(n,t,r){var e,u,o,a,f,l,s=0,h=!1,p=!1,v=!0;if("function"!==typeof n)throw new at(c);function _(t){var r=e,o=u;return e=u=i,s=t,a=n.apply(o,r),a}function g(n){return s=n,f=Aa(w,t),h?_(n):a}function y(n){var r=n-l,e=n-s,u=t-r;return p?Zt(u,o-e):u}function d(n){var r=n-l,e=n-s;return l===i||r>=t||r<0||p&&e>=o}function w(){var n=Rc();if(d(n))return b(n);f=Aa(w,y(n))}function b(n){return f=i,v&&e?_(n):(e=u=i,a)}function m(){f!==i&&Ki(f),s=0,e=l=u=f=i}function x(){return f===i?a:b(Rc())}function j(){var n=Rc(),r=d(n);if(e=arguments,u=this,l=n,r){if(f===i)return g(l);if(p)return f=Aa(w,t),_(l)}return f===i&&(f=Aa(w,t)),a}return t=Jl(t)||0,Al(r)&&(h=!!r.leading,p="maxWait"in r,o=p?Nt(Jl(r.maxWait)||0,t):o,v="trailing"in r?!!r.trailing:v),j.cancel=m,j.flush=x,j}var Tc=bi((function(n,t){return bu(n,1,t)})),$c=bi((function(n,t,r){return bu(n,Jl(t)||0,r)}));function Dc(n){return Eo(n,I)}function Mc(n,t){if("function"!==typeof n||null!=t&&"function"!==typeof t)throw new at(c);var r=function r(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i,o};return r.cache=new(Mc.Cache||Pe),r}function Fc(n){if("function"!==typeof n)throw new at(c);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:return!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}function Nc(n){return Ec(2,n)}Mc.Cache=Pe;var Pc=qi((function(n,t){t=1==t.length&&fl(t[0])?Ir(t[0],Gr(qo())):Ir(Ru(t,1),Gr(qo()));var r=t.length;return bi((function(e){var u=-1,i=Zt(e.length,r);while(++u=t})),al=qu(function(){return arguments}())?qu:function(n){return kl(n)&&pt.call(n,"callee")&&!Ot.call(n,"callee")},fl=r.isArray,cl=pr?Gr(pr):Zu;function ll(n){return null!=n&&jl(n.length)&&!ml(n)}function sl(n){return kl(n)&&ll(n)}function hl(n){return!0===n||!1===n||kl(n)&&Bu(n)==K}var pl=$t||Gh,vl=vr?Gr(vr):Ku;function _l(n){return kl(n)&&1===n.nodeType&&!Ll(n)}function gl(n){if(null==n)return!0;if(ll(n)&&(fl(n)||"string"===typeof n||"function"===typeof n.splice||pl(n)||Ml(n)||al(n)))return!n.length;var t=Yo(n);if(t==Q||t==on)return!n.size;if(pa(n))return!ri(n).length;for(var r in n)if(pt.call(n,r))return!1;return!0}function yl(n,t){return Vu(n,t)}function dl(n,t,r){r="function"===typeof r?r:i;var e=r?r(n,t):i;return e===i?Vu(n,t,i,r):!!e}function wl(n){if(!kl(n))return!1;var t=Bu(n);return t==H||t==G||"string"===typeof n.message&&"string"===typeof n.name&&!Ll(n)}function bl(n){return"number"===typeof n&&Dt(n)}function ml(n){if(!Al(n))return!1;var t=Bu(n);return t==J||t==Y||t==Z||t==en}function xl(n){return"number"===typeof n&&n==Gl(n)}function jl(n){return"number"===typeof n&&n>-1&&n%1==0&&n<=B}function Al(n){var t="undefined"===typeof n?"undefined":u(n);return null!=n&&("object"==t||"function"==t)}function kl(n){return null!=n&&"object"===("undefined"===typeof n?"undefined":u(n))}var Ol=_r?Gr(_r):Hu;function Il(n,t){return n===t||Ju(n,t,Ko(t))}function Rl(n,t,r){return r="function"===typeof r?r:i,Ju(n,t,Ko(t),r)}function Sl(n){return Wl(n)&&n!=+n}function zl(n){if(ha(n))throw new qn(f);return Yu(n)}function El(n){return null===n}function Cl(n){return null==n}function Wl(n){return"number"===typeof n||kl(n)&&Bu(n)==X}function Ll(n){if(!kl(n)||Bu(n)!=tn)return!1;var t=At(n);if(null===t)return!0;var r=pt.call(t,"constructor")&&t.constructor;return"function"===typeof r&&r instanceof r&&ht.call(r)==yt}var Ul=gr?Gr(gr):Qu;function Bl(n){return xl(n)&&n>=-B&&n<=B}var Tl=yr?Gr(yr):Xu;function $l(n){return"string"===typeof n||!fl(n)&&kl(n)&&Bu(n)==an}function Dl(n){return"symbol"===("undefined"===typeof n?"undefined":u(n))||kl(n)&&Bu(n)==fn}var Ml=dr?Gr(dr):ni;function Fl(n){return n===i}function Nl(n){return kl(n)&&Yo(n)==ln}function Pl(n){return kl(n)&&Bu(n)==sn}var ql=Oo(ui),Zl=Oo((function(n,t){return n<=t}));function Kl(n){if(!n)return[];if(ll(n))return $l(n)?ge(n):eo(n);if(St&&n[St])return oe(n[St]());var t=Yo(n),r=t==Q?ae:t==on?se:Fs;return r(n)}function Vl(n){if(!n)return 0===n?n:0;if(n=Jl(n),n===U||n===-U){var t=n<0?-1:1;return t*T}return n===n?n:0}function Gl(n){var t=Vl(n),r=t%1;return t===t?r?t-r:t:0}function Hl(n){return n?gu(Gl(n),0,D):0}function Jl(n){if("number"===typeof n)return n;if(Dl(n))return $;if(Al(n)){var t="function"===typeof n.valueOf?n.valueOf():n;n=Al(t)?t+"":t}if("string"!==typeof n)return 0===n?n:+n;n=n.replace($n,"");var r=Hn.test(n);return r||Yn.test(n)?ur(n.slice(2),r?2:8):Gn.test(n)?$:+n}function Yl(n){return uo(n,js(n))}function Ql(n){return n?gu(Gl(n),-B,B):0===n?n:0}function Xl(n){return null==n?"":Wi(n)}var ns=fo((function(n,t){if(pa(t)||ll(t))uo(t,xs(t),n);else for(var r in t)pt.call(t,r)&&cu(n,r,t[r])})),ts=fo((function(n,t){uo(t,js(t),n)})),rs=fo((function(n,t,r,e){uo(t,js(t),n,e)})),es=fo((function(n,t,r,e){uo(t,xs(t),n,e)})),us=$o(_u);function is(n,t){var r=Ae(n);return null==t?r:hu(r,t)}var os=bi((function(n,t){n=ut(n);var r=-1,e=t.length,u=e>2?t[2]:i;u&&aa(t[0],t[1],u)&&(e=1);while(++r1),t})),uo(n,Mo(n),r),e&&(r=yu(r,p|v|_,Lo));var u=t.length;while(u--)Ui(r,t[u]);return r}));function Ss(n,t){return Es(n,Fc(qo(t)))}var zs=$o((function(n,t){return null==n?{}:hi(n,t)}));function Es(n,t){if(null==n)return{};var r=Ir(Mo(n),(function(n){return[n]}));return t=qo(t),pi(n,r,(function(n,r){return t(n,r[0])}))}function Cs(n,t,r){t=Pi(t,n);var e=-1,u=t.length;u||(u=1,n=i);while(++et){var e=n;n=t,t=e}if(r||n%1||t%1){var u=Gt();return Zt(n+u*(t-n+er("1e-"+((u+"").length-1))),t)}return yi(n,t)}var Ks=po((function(n,t,r){return t=t.toLowerCase(),n+(r?Vs(t):t)}));function Vs(n){return bh(Xl(n).toLowerCase())}function Gs(n){return n=Xl(n),n&&n.replace(Xn,ne).replace(qt,"")}function Hs(n,t,r){n=Xl(n),t=Wi(t);var e=n.length;r=r===i?e:gu(Gl(r),0,e);var u=r;return r-=t.length,r>=0&&n.slice(r,u)==t}function Js(n){return n=Xl(n),n&&Sn.test(n)?n.replace(In,te):n}function Ys(n){return n=Xl(n),n&&Tn.test(n)?n.replace(Bn,"\\$&"):n}var Qs=po((function(n,t,r){return n+(r?"-":"")+t.toLowerCase()})),Xs=po((function(n,t,r){return n+(r?" ":"")+t.toLowerCase()})),nh=ho("toLowerCase");function th(n,t,r){n=Xl(n),t=Gl(t);var e=t?_e(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return jo(Bt(u),r)+n+jo(Ut(u),r)}function rh(n,t,r){n=Xl(n),t=Gl(t);var e=t?_e(n):0;return t&&e>>0,r?(n=Xl(n),n&&("string"===typeof t||null!=t&&!Ul(t))&&(t=Wi(t),!t&&ue(n))?Zi(ge(n),0,r):n.split(t,r)):[]}var ch=po((function(n,t,r){return n+(r?" ":"")+bh(t)}));function lh(n,t,r){return n=Xl(n),r=null==r?0:gu(Gl(r),0,n.length),t=Wi(t),n.slice(r,r+t.length)==t}function sh(n,t,r){var e=je.templateSettings;r&&aa(n,t,r)&&(t=i),n=Xl(n),t=rs({},t,e,Co);var u,o,a=rs({},t.imports,e.imports,Co),f=xs(a),c=Hr(a,f),l=0,s=t.interpolate||nt,h="__p += '",p=it((t.escape||nt).source+"|"+s.source+"|"+(s===Cn?Kn:nt).source+"|"+(t.evaluate||nt).source+"|$","g"),v="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++Jt+"]")+"\n";n.replace(p,(function(t,r,e,i,a,f){return e||(e=i),h+=n.slice(l,f).replace(tt,re),r&&(u=!0,h+="' +\n__e("+r+") +\n'"),a&&(o=!0,h+="';\n"+a+";\n__p += '"),e&&(h+="' +\n((__t = ("+e+")) == null ? '' : __t) +\n'"),l=f+t.length,t})),h+="';\n";var _=t.variable;_||(h="with (obj) {\n"+h+"\n}\n"),h=(o?h.replace(jn,""):h).replace(An,"$1").replace(kn,"$1;"),h="function("+(_||"obj")+") {\n"+(_?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(u?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+h+"return __p\n}";var g=xh((function(){return rt(f,v+"return "+h).apply(i,c)}));if(g.source=h,wl(g))throw g;return g}function hh(n){return Xl(n).toLowerCase()}function ph(n){return Xl(n).toUpperCase()}function vh(n,t,r){if(n=Xl(n),n&&(r||t===i))return n.replace($n,"");if(!n||!(t=Wi(t)))return n;var e=ge(n),u=ge(t),o=Yr(e,u),a=Qr(e,u)+1;return Zi(e,o,a).join("")}function _h(n,t,r){if(n=Xl(n),n&&(r||t===i))return n.replace(Mn,"");if(!n||!(t=Wi(t)))return n;var e=ge(n),u=Qr(e,ge(t))+1;return Zi(e,0,u).join("")}function gh(n,t,r){if(n=Xl(n),n&&(r||t===i))return n.replace(Dn,"");if(!n||!(t=Wi(t)))return n;var e=ge(n),u=Yr(e,ge(t));return Zi(e,u).join("")}function yh(n,t){var r=R,e=S;if(Al(t)){var u="separator"in t?t.separator:u;r="length"in t?Gl(t.length):r,e="omission"in t?Wi(t.omission):e}n=Xl(n);var o=n.length;if(ue(n)){var a=ge(n);o=a.length}if(r>=o)return n;var f=r-_e(e);if(f<1)return e;var c=a?Zi(a,0,f).join(""):n.slice(0,f);if(u===i)return c+e;if(a&&(f+=c.length-f),Ul(u)){if(n.slice(f).search(u)){var l,s=c;u.global||(u=it(u.source,Xl(Vn.exec(u))+"g")),u.lastIndex=0;while(l=u.exec(s))var h=l.index;c=c.slice(0,h===i?f:h)}}else if(n.indexOf(Wi(u),f)!=f){var p=c.lastIndexOf(u);p>-1&&(c=c.slice(0,p))}return c+e}function dh(n){return n=Xl(n),n&&Rn.test(n)?n.replace(On,ye):n}var wh=po((function(n,t,r){return n+(r?" ":"")+t.toUpperCase()})),bh=ho("toUpperCase");function mh(n,t,r){return n=Xl(n),t=r?i:t,t===i?ie(n)?be(n):Lr(n):n.match(t)||[]}var xh=bi((function(n,t){try{return wr(n,i,t)}catch(r){return wl(r)?r:new qn(r)}})),jh=$o((function(n,t){return mr(t,(function(t){t=za(t),vu(n,t,Cc(n[t],n))})),n}));function Ah(n){var t=null==n?0:n.length,r=qo();return n=t?Ir(n,(function(n){if("function"!==typeof n[1])throw new at(c);return[r(n[0]),n[1]]})):[],bi((function(r){var e=-1;while(++eB)return[];var r=D,e=Zt(n,D);t=qo(t),n-=D;var u=Kr(e,t);while(++r0||t<0)?new Ie(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)),t!==i&&(t=Gl(t),r=t<0?r.dropRight(-t):r.take(t-n)),r)},Ie.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()},Ie.prototype.toArray=function(){return this.take(D)},Eu(Ie.prototype,(function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=je[e?"take"+("last"==t?"Right":""):t],o=e||/^find/.test(t);u&&(je.prototype[t]=function(){var t=this.__wrapped__,a=e?[1]:arguments,f=t instanceof Ie,c=a[0],l=f||fl(t),s=function(n){var t=u.apply(je,Rr([n],a));return e&&h?t[0]:t};l&&r&&"function"===typeof c&&1!=c.length&&(f=l=!1);var h=this.__chain__,p=!!this.__actions__.length,v=o&&!h,_=f&&!p;if(!o&&l){t=_?t:new Ie(this);var g=n.apply(t,a);return g.__actions__.push({func:Vf,args:[s],thisArg:i}),new Oe(g,h)}return v&&_?n.apply(this,a):(g=this.thru(s),v?e?g.value()[0]:g.value():g)})})),mr(["pop","push","shift","sort","splice","unshift"],(function(n){var t=ft[n],r=/^(?:push|sort|unshift)$/.test(n)?"tap":"thru",e=/^(?:pop|shift)$/.test(n);je.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(fl(u)?u:[],n)}return this[r]((function(r){return t.apply(fl(r)?r:[],n)}))}})),Eu(Ie.prototype,(function(n,t){var r=je[t];if(r){var e=r.name+"",u=sr[e]||(sr[e]=[]);u.push({name:t,func:r})}})),sr[wo(i,w).name]=[{name:"wrapper",func:i}],Ie.prototype.clone=Re,Ie.prototype.reverse=Se,Ie.prototype.value=ze,je.prototype.at=Gf,je.prototype.chain=Hf,je.prototype.commit=Jf,je.prototype.next=Yf,je.prototype.plant=Xf,je.prototype.reverse=nc,je.prototype.toJSON=je.prototype.valueOf=je.prototype.value=tc,je.prototype.first=je.prototype.head,St&&(je.prototype[St]=Qf),je},xe=me();"object"===u(r.amdO)&&r.amdO?(ar._=xe,e=function(){return xe}.call(t,r,t,n),e===i||(n.exports=e)):cr?((cr.exports=xe)._=xe,fr._=xe):ar._=xe}).call(void 0)}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-9d134daf.bb668c99.js b/mining-pool/public/dist/js/chunk-vendors-9d134daf.bb668c99.js new file mode 100644 index 0000000..d46e68c --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-9d134daf.bb668c99.js @@ -0,0 +1 @@ +(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[107],{89143:function(e,t,i){i(44114),i(18111),i(81148),i(22489),i(20116),i(7588),i(61701),i(18237),i(13579),i(14603),i(47566),i(98721),e.exports=function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(n,s,function(t){return e[t]}.bind(null,s));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/dist/",i(i.s=46)}([function(e,t){e.exports=i(4698)},function(e,t){e.exports=i(3157)},function(e,t){e.exports=i(72125)},function(e,t){e.exports=i(99800)},function(e,t){e.exports=i(5078)},function(e,t){e.exports=i(93024)},function(e,t){e.exports=i(66848)},function(e,t){e.exports=i(58809)},function(e,t){e.exports=i(11227)},function(e,t){e.exports=i(6984)},function(e,t){e.exports=i(96834)},function(e,t){e.exports=i(2752)},function(e,t){e.exports=i(62806)},function(e,t){e.exports=i(29507)},function(e,t){e.exports=i(61178)},function(e,t){e.exports=i(72428)},function(e,t){e.exports=i(57012)},function(e,t){e.exports=i(73843)},function(e,t){e.exports=i(38121)},function(e,t){e.exports=i(91056)},function(e,t){e.exports=i(64925)},function(e,t){e.exports=i(15193)},function(e,t){e.exports=i(59699)},function(e,t){e.exports=i(83670)},function(e,t){e.exports=i(9298)},function(e,t){e.exports=i(67996)},function(e,t){e.exports=i(32672)},function(e,t){e.exports=i(69821)},function(e,t){e.exports=i(69812)},function(e,t){e.exports=i(74621)},function(e,t){e.exports=i(90167)},function(e,t){e.exports=i(4810)},function(e,t){e.exports=i(19940)},function(e,t){e.exports=i(14441)},function(e,t){e.exports=i(51120)},function(e,t){e.exports=i(79496)},function(e,t){e.exports=i(97534)},function(e,t){e.exports=i(25319)},function(e,t){e.exports=i(11362)},function(e,t){e.exports=i(34811)},function(e,t){e.exports=i(22817)},function(e,t){e.exports=i(14366)},function(e,t){e.exports=i(62381)},function(e,t){e.exports=i(11612)},function(e,t){e.exports=i(80544)},function(e,t){e.exports=i(94054)},function(e,t,i){e.exports=i(47)},function(e,t,i){"use strict";i.r(t);var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("ul",{staticClass:"el-pager",on:{click:e.onPagerClick}},[e.pageCount>0?i("li",{staticClass:"number",class:{active:1===e.currentPage,disabled:e.disabled}},[e._v("1")]):e._e(),e.showPrevMore?i("li",{staticClass:"el-icon more btn-quickprev",class:[e.quickprevIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("left")},mouseleave:function(t){e.quickprevIconClass="el-icon-more"}}}):e._e(),e._l(e.pagers,(function(t){return i("li",{key:t,staticClass:"number",class:{active:e.currentPage===t,disabled:e.disabled}},[e._v(e._s(t))])})),e.showNextMore?i("li",{staticClass:"el-icon more btn-quicknext",class:[e.quicknextIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("right")},mouseleave:function(t){e.quicknextIconClass="el-icon-more"}}}):e._e(),e.pageCount>1?i("li",{staticClass:"number",class:{active:e.currentPage===e.pageCount,disabled:e.disabled}},[e._v(e._s(e.pageCount))]):e._e()],2)},s=[];n._withStripped=!0;var a={name:"ElPager",props:{currentPage:Number,pageCount:Number,pagerCount:Number,disabled:Boolean},watch:{showPrevMore:function(e){e||(this.quickprevIconClass="el-icon-more")},showNextMore:function(e){e||(this.quicknextIconClass="el-icon-more")}},methods:{onPagerClick:function(e){var t=e.target;if("UL"!==t.tagName&&!this.disabled){var i=Number(e.target.textContent),n=this.pageCount,s=this.currentPage,a=this.pagerCount-2;-1!==t.className.indexOf("more")&&(-1!==t.className.indexOf("quickprev")?i=s-a:-1!==t.className.indexOf("quicknext")&&(i=s+a)),isNaN(i)||(i<1&&(i=1),i>n&&(i=n)),i!==s&&this.$emit("change",i)}},onMouseenter:function(e){this.disabled||("left"===e?this.quickprevIconClass="el-icon-d-arrow-left":this.quicknextIconClass="el-icon-d-arrow-right")}},computed:{pagers:function(){var e=this.pagerCount,t=(e-1)/2,i=Number(this.currentPage),n=Number(this.pageCount),s=!1,a=!1;n>e&&(i>e-t&&(s=!0),i4&&e<22&&e%2===1},default:7},currentPage:{type:Number,default:1},layout:{default:"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(e){var t=this.layout;if(!t)return null;if(this.hideOnSinglePage&&(!this.internalPageCount||1===this.internalPageCount))return null;var i=e("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]}),n={prev:e("prev"),jumper:e("jumper"),pager:e("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}}),next:e("next"),sizes:e("sizes",{attrs:{pageSizes:this.pageSizes}}),slot:e("slot",[this.$slots.default?this.$slots.default:""]),total:e("total")},s=t.split(",").map((function(e){return e.trim()})),a=e("div",{class:"el-pagination__rightwrapper"}),r=!1;return i.children=i.children||[],a.children=a.children||[],s.forEach((function(e){"->"!==e?r?a.children.push(n[e]):i.children.push(n[e]):r=!0})),r&&i.children.unshift(a),i},components:{Prev:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?e("span",[this.$parent.prevText]):e("i",{class:"el-icon el-icon-arrow-left"})])}},Next:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?e("span",[this.$parent.nextText]):e("i",{class:"el-icon el-icon-arrow-right"})])}},Sizes:{mixins:[g.a],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(e,t){Object(b["valueEquals"])(e,t)||Array.isArray(e)&&(this.$parent.internalPageSize=e.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.pageSizes[0])}}},render:function(e){var t=this;return e("span",{class:"el-pagination__sizes"},[e("el-select",{attrs:{value:this.$parent.internalPageSize,popperClass:this.$parent.popperClass||"",size:"mini",disabled:this.$parent.disabled},on:{input:this.handleChange}},[this.pageSizes.map((function(i){return e("el-option",{attrs:{value:i,label:i+t.t("el.pagination.pagesize")}})}))])])},components:{ElSelect:h.a,ElOption:p.a},methods:{handleChange:function(e){e!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=e=parseInt(e,10),this.$parent.userChangePageSize=!0,this.$parent.$emit("update:pageSize",e),this.$parent.$emit("size-change",e))}}},Jumper:{mixins:[g.a],components:{ElInput:m.a},data:function(){return{userInput:null}},watch:{"$parent.internalCurrentPage":function(){this.userInput=null}},methods:{handleKeyup:function(e){var t=e.keyCode,i=e.target;13===t&&this.handleChange(i.value)},handleInput:function(e){this.userInput=e},handleChange:function(e){this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(e),this.$parent.emitChange(),this.userInput=null}},render:function(e){return e("span",{class:"el-pagination__jump"},[this.t("el.pagination.goto"),e("el-input",{class:"el-pagination__editor is-in-pagination",attrs:{min:1,max:this.$parent.internalPageCount,value:null!==this.userInput?this.userInput:this.$parent.internalCurrentPage,type:"number",disabled:this.$parent.disabled},nativeOn:{keyup:this.handleKeyup},on:{input:this.handleInput,change:this.handleChange}}),this.t("el.pagination.pageClassifier")])}},Total:{mixins:[g.a],render:function(e){return"number"===typeof this.$parent.total?e("span",{class:"el-pagination__total"},[this.t("el.pagination.total",{total:this.$parent.total})]):""}},Pager:c},methods:{handleCurrentChange:function(e){this.internalCurrentPage=this.getValidCurrentPage(e),this.userChangePageSize=!0,this.emitChange()},prev:function(){if(!this.disabled){var e=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("prev-click",this.internalCurrentPage),this.emitChange()}},next:function(){if(!this.disabled){var e=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("next-click",this.internalCurrentPage),this.emitChange()}},getValidCurrentPage:function(e){e=parseInt(e,10);var t="number"===typeof this.internalPageCount,i=void 0;return t?e<1?i=1:e>this.internalPageCount&&(i=this.internalPageCount):(isNaN(e)||e<1)&&(i=1),(void 0===i&&isNaN(e)||0===i)&&(i=1),void 0===i?e:i},emitChange:function(){var e=this;this.$nextTick((function(){(e.internalCurrentPage!==e.lastEmittedPage||e.userChangePageSize)&&(e.$emit("current-change",e.internalCurrentPage),e.lastEmittedPage=e.internalCurrentPage,e.userChangePageSize=!1)}))}},computed:{internalPageCount:function(){return"number"===typeof this.total?Math.max(1,Math.ceil(this.total/this.internalPageSize)):"number"===typeof this.pageCount?Math.max(1,this.pageCount):null}},watch:{currentPage:{immediate:!0,handler:function(e){this.internalCurrentPage=this.getValidCurrentPage(e)}},pageSize:{immediate:!0,handler:function(e){this.internalPageSize=isNaN(e)?10:e}},internalCurrentPage:{immediate:!0,handler:function(e){this.$emit("update:currentPage",e),this.lastEmittedPage=-1}},internalPageCount:function(e){var t=this.internalCurrentPage;e>0&&0===t?this.internalCurrentPage=1:t>e&&(this.internalCurrentPage=0===e?1:e,this.userChangePageSize&&this.emitChange()),this.userChangePageSize=!1}},install:function(e){e.component(y.name,y)}},C=y,x=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"dialog-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[i("div",{key:e.key,ref:"dialog",class:["el-dialog",{"is-fullscreen":e.fullscreen,"el-dialog--center":e.center},e.customClass],style:e.style,attrs:{role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"}},[i("div",{staticClass:"el-dialog__header"},[e._t("title",[i("span",{staticClass:"el-dialog__title"},[e._v(e._s(e.title))])]),e.showClose?i("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[i("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2),e.rendered?i("div",{staticClass:"el-dialog__body"},[e._t("default")],2):e._e(),e.$slots.footer?i("div",{staticClass:"el-dialog__footer"},[e._t("footer")],2):e._e()])])])},_=[];x._withStripped=!0;var w=i(11),k=i.n(w),S=i(9),D=i.n(S),$=i(3),E=i.n($),O={name:"ElDialog",mixins:[k.a,E.a,D.a],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1},destroyOnClose:Boolean},data:function(){return{closed:!1,key:0}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick((function(){t.$refs.dialog.scrollTop=0})),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"),this.destroyOnClose&&this.$nextTick((function(){t.key++})))}},computed:{style:function(){var e={};return this.fullscreen||(e.marginTop=this.top,this.width&&(e.width=this.width)),e}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")},afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},T=O,N=o(T,x,_,!1,null,null,null);N.options.__file="packages/dialog/src/component.vue";var I=N.exports;I.install=function(e){e.component(I.name,I)};var P=I,M=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.close,expression:"close"}],staticClass:"el-autocomplete",attrs:{"aria-haspopup":"listbox",role:"combobox","aria-expanded":e.suggestionVisible,"aria-owns":e.id}},[i("el-input",e._b({ref:"input",on:{input:e.handleInput,change:e.handleChange,focus:e.handleFocus,blur:e.handleBlur,clear:e.handleClear},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex-1)},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.highlight(e.highlightedIndex+1)},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleKeyEnter(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab")?null:e.close(t)}]}},"el-input",[e.$props,e.$attrs],!1),[e.$slots.prepend?i("template",{slot:"prepend"},[e._t("prepend")],2):e._e(),e.$slots.append?i("template",{slot:"append"},[e._t("append")],2):e._e(),e.$slots.prefix?i("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),e.$slots.suffix?i("template",{slot:"suffix"},[e._t("suffix")],2):e._e()],2),i("el-autocomplete-suggestions",{ref:"suggestions",class:[e.popperClass?e.popperClass:""],attrs:{"visible-arrow":"","popper-options":e.popperOptions,"append-to-body":e.popperAppendToBody,placement:e.placement,id:e.id}},e._l(e.suggestions,(function(t,n){return i("li",{key:n,class:{highlighted:e.highlightedIndex===n},attrs:{id:e.id+"-item-"+n,role:"option","aria-selected":e.highlightedIndex===n},on:{click:function(i){e.select(t)}}},[e._t("default",[e._v("\n "+e._s(t[e.valueKey])+"\n ")],{item:t})],2)})),0)],1)},F=[];M._withStripped=!0;var V=i(17),L=i.n(V),j=i(10),A=i.n(j),B=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{"is-loading":!e.parent.hideLoading&&e.parent.loading},style:{width:e.dropdownWidth},attrs:{role:"region"}},[i("el-scrollbar",{attrs:{tag:"ul","wrap-class":"el-autocomplete-suggestion__wrap","view-class":"el-autocomplete-suggestion__list"}},[!e.parent.hideLoading&&e.parent.loading?i("li",[i("i",{staticClass:"el-icon-loading"})]):e._t("default")],2)],1)])},z=[];B._withStripped=!0;var R=i(5),H=i.n(R),W=i(18),Y=i.n(W),q={components:{ElScrollbar:Y.a},mixins:[H.a,E.a],componentName:"ElAutocompleteSuggestions",data:function(){return{parent:this.$parent,dropdownWidth:""}},props:{options:{default:function(){return{gpuAcceleration:!1}}},id:String},methods:{select:function(e){this.dispatch("ElAutocomplete","item-click",e)}},updated:function(){var e=this;this.$nextTick((function(t){e.popperJS&&e.updatePopper()}))},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$refs.input.$refs.input||this.$parent.$refs.input.$refs.textarea,this.referenceList=this.$el.querySelector(".el-autocomplete-suggestion__list"),this.referenceList.setAttribute("role","listbox"),this.referenceList.setAttribute("id",this.id)},created:function(){var e=this;this.$on("visible",(function(t,i){e.dropdownWidth=i+"px",e.showPopper=t}))}},K=q,G=o(K,B,z,!1,null,null,null);G.options.__file="packages/autocomplete/src/autocomplete-suggestions.vue";var U=G.exports,X=i(23),Z=i.n(X),Q={name:"ElAutocomplete",mixins:[E.a,Z()("input"),D.a],inheritAttrs:!1,componentName:"ElAutocomplete",components:{ElInput:m.a,ElAutocompleteSuggestions:U},directives:{Clickoutside:A.a},props:{valueKey:{type:String,default:"value"},popperClass:String,popperOptions:Object,placeholder:String,clearable:{type:Boolean,default:!1},disabled:Boolean,name:String,size:String,value:String,maxlength:Number,minlength:Number,autofocus:Boolean,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,default:!0},customItem:String,selectWhenUnmatched:{type:Boolean,default:!1},prefixIcon:String,suffixIcon:String,label:String,debounce:{type:Number,default:300},placement:{type:String,default:"bottom-start"},hideLoading:Boolean,popperAppendToBody:{type:Boolean,default:!0},highlightFirstItem:{type:Boolean,default:!1}},data:function(){return{activated:!1,suggestions:[],loading:!1,highlightedIndex:-1,suggestionDisabled:!1}},computed:{suggestionVisible:function(){var e=this.suggestions,t=Array.isArray(e)&&e.length>0;return(t||this.loading)&&this.activated},id:function(){return"el-autocomplete-"+Object(b["generateId"])()}},watch:{suggestionVisible:function(e){var t=this.getInput();t&&this.broadcast("ElAutocompleteSuggestions","visible",[e,t.offsetWidth])}},methods:{getMigratingConfig:function(){return{props:{"custom-item":"custom-item is removed, use scoped slot instead.",props:"props is removed, use value-key instead."}}},getData:function(e){var t=this;this.suggestionDisabled||(this.loading=!0,this.fetchSuggestions(e,(function(e){t.loading=!1,t.suggestionDisabled||(Array.isArray(e)?(t.suggestions=e,t.highlightedIndex=t.highlightFirstItem?0:-1):console.error("[Element Error][Autocomplete]autocomplete suggestions must be an array"))})))},handleInput:function(e){if(this.$emit("input",e),this.suggestionDisabled=!1,!this.triggerOnFocus&&!e)return this.suggestionDisabled=!0,void(this.suggestions=[]);this.debouncedGetData(e)},handleChange:function(e){this.$emit("change",e)},handleFocus:function(e){this.activated=!0,this.$emit("focus",e),this.triggerOnFocus&&this.debouncedGetData(this.value)},handleBlur:function(e){this.$emit("blur",e)},handleClear:function(){this.activated=!1,this.$emit("clear")},close:function(e){this.activated=!1},handleKeyEnter:function(e){var t=this;this.suggestionVisible&&this.highlightedIndex>=0&&this.highlightedIndex=this.suggestions.length&&(e=this.suggestions.length-1);var t=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),i=t.querySelectorAll(".el-autocomplete-suggestion__list li"),n=i[e],s=t.scrollTop,a=n.offsetTop;a+n.scrollHeight>s+t.clientHeight&&(t.scrollTop+=n.scrollHeight),a=0&&this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.visible=!1}),"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(e){var t=e.keyCode;[38,40].indexOf(t)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),e.preventDefault(),e.stopPropagation()):13===t?this.handleClick():[9,27].indexOf(t)>-1&&this.hide()},handleItemKeyDown:function(e){var t=e.keyCode,i=e.target,n=this.menuItemsArray.indexOf(i),s=this.menuItemsArray.length-1,a=void 0;[38,40].indexOf(t)>-1?(a=38===t?0!==n?n-1:0:n-1&&(this.hide(),this.triggerElmFocus())},resetTabindex:function(e){this.removeTabindex(),e.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach((function(e){e.setAttribute("tabindex","-1")}))},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex",this.tabindex),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var e=this,t=this.trigger,i=this.show,n=this.hide,s=this.handleClick,a=this.splitButton,r=this.handleTriggerKeyDown,o=this.handleItemKeyDown;this.triggerElm=a?this.$refs.trigger.$el:this.$slots.default[0].elm;var l=this.dropdownElm;this.triggerElm.addEventListener("keydown",r),l.addEventListener("keydown",o,!0),a||(this.triggerElm.addEventListener("focus",(function(){e.focusing=!0})),this.triggerElm.addEventListener("blur",(function(){e.focusing=!1})),this.triggerElm.addEventListener("click",(function(){e.focusing=!1}))),"hover"===t?(this.triggerElm.addEventListener("mouseenter",i),this.triggerElm.addEventListener("mouseleave",n),l.addEventListener("mouseenter",i),l.addEventListener("mouseleave",n)):"click"===t&&this.triggerElm.addEventListener("click",s)},handleMenuItemClick:function(e,t){this.hideOnClick&&(this.visible=!1),this.$emit("command",e,t)},triggerElmFocus:function(){this.triggerElm.focus&&this.triggerElm.focus()},initDomOperation:function(){this.dropdownElm=this.popperElm,this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=[].slice.call(this.menuItems),this.initEvent(),this.initAria()}},render:function(e){var t=this,i=this.hide,n=this.splitButton,s=this.type,a=this.dropdownSize,r=this.disabled,o=function(e){t.$emit("click",e),i()},l=null;if(n)l=e("el-button-group",[e("el-button",{attrs:{type:s,size:a,disabled:r},nativeOn:{click:o}},[this.$slots.default]),e("el-button",{ref:"trigger",attrs:{type:s,size:a,disabled:r},class:"el-dropdown__caret-button"},[e("i",{class:"el-dropdown__icon el-icon-arrow-down"})])]);else{l=this.$slots.default;var c=l[0].data||{},u=c.attrs,h=void 0===u?{}:u;r&&!h.disabled&&(h.disabled=!0,c.attrs=h)}var d=r?null:this.$slots.dropdown;return e("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:i}],attrs:{"aria-disabled":r}},[l,d])}},ue=ce,he=o(ue,ie,ne,!1,null,null,null);he.options.__file="packages/dropdown/src/dropdown.vue";var de=he.exports;de.install=function(e){e.component(de.name,de)};var pe=de,fe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[e.size&&"el-dropdown-menu--"+e.size]},[e._t("default")],2)])},me=[];fe._withStripped=!0;var ve={name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[H.a],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var e=this;this.$on("updatePopper",(function(){e.showPopper&&e.updatePopper()})),this.$on("visible",(function(t){e.showPopper=t}))},mounted:function(){this.dropdown.popperElm=this.popperElm=this.$el,this.referenceElm=this.dropdown.$el,this.dropdown.initDomOperation()},watch:{"dropdown.placement":{immediate:!0,handler:function(e){this.currentPlacement=e}}}},ge=ve,be=o(ge,fe,me,!1,null,null,null);be.options.__file="packages/dropdown/src/dropdown-menu.vue";var ye=be.exports;ye.install=function(e){e.component(ye.name,ye)};var Ce=ye,xe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e.icon?i("i",{class:e.icon}):e._e(),e._t("default")],2)},_e=[];xe._withStripped=!0;var we={name:"ElDropdownItem",mixins:[E.a],props:{command:{},disabled:Boolean,divided:Boolean,icon:String},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}},ke=we,Se=o(ke,xe,_e,!1,null,null,null);Se.options.__file="packages/dropdown/src/dropdown-item.vue";var De=Se.exports;De.install=function(e){e.component(De.name,De)};var $e=De,Ee=Ee||{};Ee.Utils=Ee.Utils||{},Ee.Utils.focusFirstDescendant=function(e){for(var t=0;t=0;t--){var i=e.childNodes[t];if(Ee.Utils.attemptFocus(i)||Ee.Utils.focusLastDescendant(i))return!0}return!1},Ee.Utils.attemptFocus=function(e){if(!Ee.Utils.isFocusable(e))return!1;Ee.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return Ee.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},Ee.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},Ee.Utils.triggerEvent=function(e,t){var i=void 0;i=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var n=document.createEvent(i),s=arguments.length,a=Array(s>2?s-2:0),r=2;r=0;t--)e.splice(t,0,e[t]);e=e.join("")}return/^[0-9a-fA-F]{6}$/.test(e)?{red:parseInt(e.slice(0,2),16),green:parseInt(e.slice(2,4),16),blue:parseInt(e.slice(4,6),16)}:{red:255,green:255,blue:255}},mixColor:function(e,t){var i=this.getColorChannels(e),n=i.red,s=i.green,a=i.blue;return t>0?(n*=1-t,s*=1-t,a*=1-t):(n+=(255-n)*t,s+=(255-s)*t,a+=(255-a)*t),"rgb("+Math.round(n)+", "+Math.round(s)+", "+Math.round(a)+")"},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},openMenu:function(e,t){var i=this.openedMenus;-1===i.indexOf(e)&&(this.uniqueOpened&&(this.openedMenus=i.filter((function(e){return-1!==t.indexOf(e)}))),this.openedMenus.push(e))},closeMenu:function(e){var t=this.openedMenus.indexOf(e);-1!==t&&this.openedMenus.splice(t,1)},handleSubmenuClick:function(e){var t=e.index,i=e.indexPath,n=-1!==this.openedMenus.indexOf(t);n?(this.closeMenu(t),this.$emit("close",t,i)):(this.openMenu(t,i),this.$emit("open",t,i))},handleItemClick:function(e){var t=this,i=e.index,n=e.indexPath,s=this.activeIndex,a=null!==e.index;a&&(this.activeIndex=e.index),this.$emit("select",i,n,e),("horizontal"===this.mode||this.collapse)&&(this.openedMenus=[]),this.router&&a&&this.routeToItem(e,(function(e){if(t.activeIndex=s,e){if("NavigationDuplicated"===e.name)return;console.error(e)}}))},initOpenedMenu:function(){var e=this,t=this.activeIndex,i=this.items[t];if(i&&"horizontal"!==this.mode&&!this.collapse){var n=i.indexPath;n.forEach((function(t){var i=e.submenus[t];i&&e.openMenu(t,i.indexPath)}))}},routeToItem:function(e,t){var i=e.route||e.index;try{this.$router.push(i,(function(){}),t)}catch(n){console.error(n)}},open:function(e){var t=this,i=this.submenus[e.toString()].indexPath;i.forEach((function(e){return t.openMenu(e,i)}))},close:function(e){this.closeMenu(e)}},mounted:function(){this.initOpenedMenu(),this.$on("item-click",this.handleItemClick),this.$on("submenu-click",this.handleSubmenuClick),"horizontal"===this.mode&&new Le(this.$el),this.$watch("items",this.updateActiveIndex)}},Be=Ae,ze=o(Be,Fe,Ve,!1,null,null,null);ze.options.__file="packages/menu/src/menu.vue";var Re=ze.exports;Re.install=function(e){e.component(Re.name,Re)};var He,We,Ye=Re,qe=i(21),Ke=i.n(qe),Ge={inject:["rootMenu"],computed:{indexPath:function(){var e=[this.index],t=this.$parent;while("ElMenu"!==t.$options.componentName)t.index&&e.unshift(t.index),t=t.$parent;return e},parentMenu:function(){var e=this.$parent;while(e&&-1===["ElMenu","ElSubmenu"].indexOf(e.$options.componentName))e=e.$parent;return e},paddingStyle:function(){if("vertical"!==this.rootMenu.mode)return{};var e=20,t=this.$parent;if(this.rootMenu.collapse)e=20;else while(t&&"ElMenu"!==t.$options.componentName)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return{paddingLeft:e+"px"}}}},Ue={props:{transformOrigin:{type:[Boolean,String],default:!1},offset:H.a.props.offset,boundariesPadding:H.a.props.boundariesPadding,popperOptions:H.a.props.popperOptions},data:H.a.data,methods:H.a.methods,beforeDestroy:H.a.beforeDestroy,deactivated:H.a.deactivated},Xe={name:"ElSubmenu",componentName:"ElSubmenu",mixins:[Ge,E.a,Ue],components:{ElCollapseTransition:Ke.a},props:{index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0}},data:function(){return{popperJS:null,timeout:null,items:{},submenus:{},mouseInChild:!1}},watch:{opened:function(e){var t=this;this.isMenuPopup&&this.$nextTick((function(e){t.updatePopper()}))}},computed:{appendToBody:function(){return void 0===this.popperAppendToBody?this.isFirstLevel:this.popperAppendToBody},menuTransitionName:function(){return this.rootMenu.collapse?"el-zoom-in-left":"el-zoom-in-top"},opened:function(){return this.rootMenu.openedMenus.indexOf(this.index)>-1},active:function(){var e=!1,t=this.submenus,i=this.items;return Object.keys(i).forEach((function(t){i[t].active&&(e=!0)})),Object.keys(t).forEach((function(i){t[i].active&&(e=!0)})),e},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},isMenuPopup:function(){return this.rootMenu.isMenuPopup},titleStyle:function(){return"horizontal"!==this.mode?{color:this.textColor}:{borderBottomColor:this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent",color:this.active?this.activeTextColor:this.textColor}},isFirstLevel:function(){var e=!0,t=this.$parent;while(t&&t!==this.rootMenu){if(["ElSubmenu","ElMenuItemGroup"].indexOf(t.$options.componentName)>-1){e=!1;break}t=t.$parent}return e}},methods:{handleCollapseToggle:function(e){e?this.initPopper():this.doDestroy()},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},handleClick:function(){var e=this.rootMenu,t=this.disabled;"hover"===e.menuTrigger&&"horizontal"===e.mode||e.collapse&&"vertical"===e.mode||t||this.dispatch("ElMenu","submenu-click",this)},handleMouseenter:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.showTimeout;if("ActiveXObject"in window||"focus"!==e.type||e.relatedTarget){var n=this.rootMenu,s=this.disabled;"click"===n.menuTrigger&&"horizontal"===n.mode||!n.collapse&&"vertical"===n.mode||s||(this.dispatch("ElSubmenu","mouse-enter-child"),clearTimeout(this.timeout),this.timeout=setTimeout((function(){t.rootMenu.openMenu(t.index,t.indexPath)}),i),this.appendToBody&&this.$parent.$el.dispatchEvent(new MouseEvent("mouseenter")))}},handleMouseleave:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],i=this.rootMenu;"click"===i.menuTrigger&&"horizontal"===i.mode||!i.collapse&&"vertical"===i.mode||(this.dispatch("ElSubmenu","mouse-leave-child"),clearTimeout(this.timeout),this.timeout=setTimeout((function(){!e.mouseInChild&&e.rootMenu.closeMenu(e.index)}),this.hideTimeout),this.appendToBody&&t&&"ElSubmenu"===this.$parent.$options.name&&this.$parent.handleMouseleave(!0))},handleTitleMouseenter:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.hoverBackground)}},handleTitleMouseleave:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.backgroundColor||"")}},updatePlacement:function(){this.currentPlacement="horizontal"===this.mode&&this.isFirstLevel?"bottom-start":"right-start"},initPopper:function(){this.referenceElm=this.$el,this.popperElm=this.$refs.menu,this.updatePlacement()}},created:function(){var e=this;this.$on("toggle-collapse",this.handleCollapseToggle),this.$on("mouse-enter-child",(function(){e.mouseInChild=!0,clearTimeout(e.timeout)})),this.$on("mouse-leave-child",(function(){e.mouseInChild=!1,clearTimeout(e.timeout)}))},mounted:function(){this.parentMenu.addSubmenu(this),this.rootMenu.addSubmenu(this),this.initPopper()},beforeDestroy:function(){this.parentMenu.removeSubmenu(this),this.rootMenu.removeSubmenu(this)},render:function(e){var t=this,i=this.active,n=this.opened,s=this.paddingStyle,a=this.titleStyle,r=this.backgroundColor,o=this.rootMenu,l=this.currentPlacement,c=this.menuTransitionName,u=this.mode,h=this.disabled,d=this.popperClass,p=this.$slots,f=this.isFirstLevel,m=e("transition",{attrs:{name:c}},[e("div",{ref:"menu",directives:[{name:"show",value:n}],class:["el-menu--"+u,d],on:{mouseenter:function(e){return t.handleMouseenter(e,100)},mouseleave:function(){return t.handleMouseleave(!0)},focus:function(e){return t.handleMouseenter(e,100)}}},[e("ul",{attrs:{role:"menu"},class:["el-menu el-menu--popup","el-menu--popup-"+l],style:{backgroundColor:o.backgroundColor||""}},[p.default])])]),v=e("el-collapse-transition",[e("ul",{attrs:{role:"menu"},class:"el-menu el-menu--inline",directives:[{name:"show",value:n}],style:{backgroundColor:o.backgroundColor||""}},[p.default])]),g="horizontal"===o.mode&&f||"vertical"===o.mode&&!o.collapse?"el-icon-arrow-down":"el-icon-arrow-right";return e("li",{class:{"el-submenu":!0,"is-active":i,"is-opened":n,"is-disabled":h},attrs:{role:"menuitem","aria-haspopup":"true","aria-expanded":n},on:{mouseenter:this.handleMouseenter,mouseleave:function(){return t.handleMouseleave(!1)},focus:this.handleMouseenter}},[e("div",{class:"el-submenu__title",ref:"submenu-title",on:{click:this.handleClick,mouseenter:this.handleTitleMouseenter,mouseleave:this.handleTitleMouseleave},style:[s,a,{backgroundColor:r}]},[p.title,e("i",{class:["el-submenu__icon-arrow",g]})]),this.isMenuPopup?m:v])}},Ze=Xe,Qe=o(Ze,He,We,!1,null,null,null);Qe.options.__file="packages/menu/src/submenu.vue";var Je=Qe.exports;Je.install=function(e){e.component(Je.name,Je)};var et=Je,tt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticClass:"el-menu-item",class:{"is-active":e.active,"is-disabled":e.disabled},style:[e.paddingStyle,e.itemStyle,{backgroundColor:e.backgroundColor}],attrs:{role:"menuitem",tabindex:"-1"},on:{click:e.handleClick,mouseenter:e.onMouseEnter,focus:e.onMouseEnter,blur:e.onMouseLeave,mouseleave:e.onMouseLeave}},["ElMenu"===e.parentMenu.$options.componentName&&e.rootMenu.collapse&&e.$slots.title?i("el-tooltip",{attrs:{effect:"dark",placement:"right"}},[i("div",{attrs:{slot:"content"},slot:"content"},[e._t("title")],2),i("div",{staticStyle:{position:"absolute",left:"0",top:"0",height:"100%",width:"100%",display:"inline-block","box-sizing":"border-box",padding:"0 20px"}},[e._t("default")],2)]):[e._t("default"),e._t("title")]],2)},it=[];tt._withStripped=!0;var nt=i(26),st=i.n(nt),at={name:"ElMenuItem",componentName:"ElMenuItem",mixins:[Ge,E.a],components:{ElTooltip:st.a},props:{index:{default:null,validator:function(e){return"string"===typeof e||null===e}},route:[String,Object],disabled:Boolean},computed:{active:function(){return this.index===this.rootMenu.activeIndex},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},itemStyle:function(){var e={color:this.active?this.activeTextColor:this.textColor};return"horizontal"!==this.mode||this.isNested||(e.borderBottomColor=this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent"),e},isNested:function(){return this.parentMenu!==this.rootMenu}},methods:{onMouseEnter:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.hoverBackground)},onMouseLeave:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.backgroundColor)},handleClick:function(){this.disabled||(this.dispatch("ElMenu","item-click",this),this.$emit("click",this))}},mounted:function(){this.parentMenu.addItem(this),this.rootMenu.addItem(this)},beforeDestroy:function(){this.parentMenu.removeItem(this),this.rootMenu.removeItem(this)}},rt=at,ot=o(rt,tt,it,!1,null,null,null);ot.options.__file="packages/menu/src/menu-item.vue";var lt=ot.exports;lt.install=function(e){e.component(lt.name,lt)};var ct=lt,ut=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticClass:"el-menu-item-group"},[i("div",{staticClass:"el-menu-item-group__title",style:{paddingLeft:e.levelPadding+"px"}},[e.$slots.title?e._t("title"):[e._v(e._s(e.title))]],2),i("ul",[e._t("default")],2)])},ht=[];ut._withStripped=!0;var dt={name:"ElMenuItemGroup",componentName:"ElMenuItemGroup",inject:["rootMenu"],props:{title:{type:String}},data:function(){return{paddingLeft:20}},computed:{levelPadding:function(){var e=20,t=this.$parent;if(this.rootMenu.collapse)return 20;while(t&&"ElMenu"!==t.$options.componentName)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return e}}},pt=dt,ft=o(pt,ut,ht,!1,null,null,null);ft.options.__file="packages/menu/src/menu-item-group.vue";var mt=ft.exports;mt.install=function(e){e.component(mt.name,mt)};var vt=mt,gt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?i("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?i("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?i("span",{staticClass:"el-input__prefix"},[e._t("prefix"),e.prefixIcon?i("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.getSuffixVisible()?i("span",{staticClass:"el-input__suffix"},[i("span",{staticClass:"el-input__suffix-inner"},[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?e._e():[e._t("suffix"),e.suffixIcon?i("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()],e.showClear?i("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{mousedown:function(e){e.preventDefault()},click:e.clear}}):e._e(),e.showPwdVisible?i("i",{staticClass:"el-input__icon el-icon-view el-input__clear",on:{click:e.handlePasswordVisible}}):e._e(),e.isWordLimitVisible?i("span",{staticClass:"el-input__count"},[i("span",{staticClass:"el-input__count-inner"},[e._v("\n "+e._s(e.textLength)+"/"+e._s(e.upperLimit)+"\n ")])]):e._e()],2),e.validateState?i("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?i("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:i("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autoComplete||e.autocomplete,"aria-label":e.label},on:{compositionstart:e.handleCompositionStart,compositionupdate:e.handleCompositionUpdate,compositionend:e.handleCompositionEnd,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1)),e.isWordLimitVisible&&"textarea"===e.type?i("span",{staticClass:"el-input__count"},[e._v(e._s(e.textLength)+"/"+e._s(e.upperLimit))]):e._e()],2)},bt=[];gt._withStripped=!0;var yt=void 0,Ct="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",xt=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function _t(e){var t=window.getComputedStyle(e),i=t.getPropertyValue("box-sizing"),n=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),s=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width")),a=xt.map((function(e){return e+":"+t.getPropertyValue(e)})).join(";");return{contextStyle:a,paddingSize:n,borderSize:s,boxSizing:i}}function wt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;yt||(yt=document.createElement("textarea"),document.body.appendChild(yt));var n=_t(e),s=n.paddingSize,a=n.borderSize,r=n.boxSizing,o=n.contextStyle;yt.setAttribute("style",o+";"+Ct),yt.value=e.value||e.placeholder||"";var l=yt.scrollHeight,c={};"border-box"===r?l+=a:"content-box"===r&&(l-=s),yt.value="";var u=yt.scrollHeight-s;if(null!==t){var h=u*t;"border-box"===r&&(h=h+s+a),l=Math.max(h,l),c.minHeight=h+"px"}if(null!==i){var d=u*i;"border-box"===r&&(d=d+s+a),l=Math.min(d,l)}return c.height=l+"px",yt.parentNode&&yt.parentNode.removeChild(yt),yt=null,c}var kt=i(7),St=i.n(kt),Dt=i(19),$t={name:"ElInput",componentName:"ElInput",mixins:[E.a,D.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return St()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var i=e.minRows,n=e.maxRows;this.textareaCalcStyle=wt(this.$refs.textarea,i,n)}else this.textareaCalcStyle={minHeight:wt(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,i=t[t.length-1]||"";this.isComposing=!Object(Dt["isKorean"])(i)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var i=null,n=0;n=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var i=this.getPrecision(this.step),n=Math.pow(10,i);t=Math.round(t/this.step)*n*this.step/n}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,i=this.getPrecision,n=this.precision,s=i(t);return void 0!==n?(s>n&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),n):Math.max(i(e),s)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),i=Math.pow(10,t);e=Math.round(e/this.step)*i*this.step/i}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),i=t.indexOf("."),n=0;return-1!==i&&(n=t.length-i-1),n},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var i=Math.pow(10,this.numPrecision);return this.toPrecision((i*e+i*t)/i)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var i=Math.pow(10,this.numPrecision);return this.toPrecision((i*e-i*t)/i)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},Vt=Ft,Lt=o(Vt,It,Pt,!1,null,null,null);Lt.options.__file="packages/input-number/src/input-number.vue";var jt=Lt.exports;jt.install=function(e){e.component(jt.name,jt)};var At=jt,Bt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.model=e.isDisabled?e.model:e.label}}},[i("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[i("span",{staticClass:"el-radio__inner"}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],ref:"radio",staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),i("span",{staticClass:"el-radio__label",on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},zt=[];Bt._withStripped=!0;var Rt={name:"ElRadio",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e),this.$refs.radio&&(this.$refs.radio.checked=this.model===this.label)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._radioGroup.radioGroupSize||e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this.isGroup&&this.model!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)}))}}},Ht=Rt,Wt=o(Ht,Bt,zt,!1,null,null,null);Wt.options.__file="packages/radio/src/radio.vue";var Yt=Wt.exports;Yt.install=function(e){e.component(Yt.name,Yt)};var qt=Yt,Kt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i(e._elTag,{tag:"component",staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:e.handleKeydown}},[e._t("default")],2)},Gt=[];Kt._withStripped=!0;var Ut=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40}),Xt={name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[E.a],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},_elTag:function(){var e=(this.$vnode.data||{}).tag;return e&&"component"!==e||(e="div"),e},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var e=this;this.$on("handleChange",(function(t){e.$emit("change",t)}))},mounted:function(){var e=this.$el.querySelectorAll("[type=radio]"),t=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(e,(function(e){return e.checked}))&&t&&(t.tabIndex=0)},methods:{handleKeydown:function(e){var t=e.target,i="INPUT"===t.nodeName?"[type=radio]":"[role=radio]",n=this.$el.querySelectorAll(i),s=n.length,a=[].indexOf.call(n,t),r=this.$el.querySelectorAll("[role=radio]");switch(e.keyCode){case Ut.LEFT:case Ut.UP:e.stopPropagation(),e.preventDefault(),0===a?(r[s-1].click(),r[s-1].focus()):(r[a-1].click(),r[a-1].focus());break;case Ut.RIGHT:case Ut.DOWN:a===s-1?(e.stopPropagation(),e.preventDefault(),r[0].click(),r[0].focus()):(r[a+1].click(),r[a+1].focus());break;default:break}}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[this.value])}}},Zt=Xt,Qt=o(Zt,Kt,Gt,!1,null,null,null);Qt.options.__file="packages/radio/src/radio-group.vue";var Jt=Qt.exports;Jt.install=function(e){e.component(Jt.name,Jt)};var ei=Jt,ti=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-radio-button",class:[e.size?"el-radio-button--"+e.size:"",{"is-active":e.value===e.label},{"is-disabled":e.isDisabled},{"is-focus":e.focus}],attrs:{role:"radio","aria-checked":e.value===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.stopPropagation(),t.preventDefault(),e.value=e.isDisabled?e.value:e.label}}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:e.name,disabled:e.isDisabled,tabindex:"-1",autocomplete:"off"},domProps:{value:e.label,checked:e._q(e.value,e.label)},on:{change:[function(t){e.value=e.label},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),i("span",{staticClass:"el-radio-button__inner",style:e.value===e.label?e.activeStyle:null,on:{keydown:function(e){e.stopPropagation()}}},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},ii=[];ti._withStripped=!0;var ni={name:"ElRadioButton",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(e){this._radioGroup.$emit("input",e)}},_radioGroup:function(){var e=this.$parent;while(e){if("ElRadioGroup"===e.$options.componentName)return e;e=e.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled||this._radioGroup&&this.value!==this.label?-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick((function(){e.dispatch("ElRadioGroup","handleChange",e.value)}))}}},si=ni,ai=o(si,ti,ii,!1,null,null,null);ai.options.__file="packages/radio/src/radio-button.vue";var ri=ai.exports;ri.install=function(e){e.component(ri.name,ri)};var oi=ri,li=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{id:e.id}},[i("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{tabindex:!!e.indeterminate&&0,role:!!e.indeterminate&&"checkbox","aria-checked":!!e.indeterminate&&"mixed"}},[i("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var i=e.model,n=t.target,s=n.checked?e.trueLabel:e.falseLabel;if(Array.isArray(i)){var a=null,r=e._i(i,a);n.checked?r<0&&(e.model=i.concat([a])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var i=e.model,n=t.target,s=!!n.checked;if(Array.isArray(i)){var a=e.label,r=e._i(i,a);n.checked?r<0&&(e.model=i.concat([a])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?i("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},ci=[];li._withStripped=!0;var ui={name:"ElCheckbox",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,i=e.min;return!(!t&&!i)&&this.model.length>=t&&!this.isChecked||this.model.length<=i&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var i=void 0;i=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",i,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},hi=ui,di=o(hi,li,ci,!1,null,null,null);di.options.__file="packages/checkbox/src/checkbox.vue";var pi=di.exports;pi.install=function(e){e.component(pi.name,pi)};var fi=pi,mi=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-checkbox-button",class:[e.size?"el-checkbox-button--"+e.size:"",{"is-disabled":e.isDisabled},{"is-checked":e.isChecked},{"is-focus":e.focus}],attrs:{role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled}},[e.trueLabel||e.falseLabel?i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var i=e.model,n=t.target,s=n.checked?e.trueLabel:e.falseLabel;if(Array.isArray(i)){var a=null,r=e._i(i,a);n.checked?r<0&&(e.model=i.concat([a])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var i=e.model,n=t.target,s=!!n.checked;if(Array.isArray(i)){var a=e.label,r=e._i(i,a);n.checked?r<0&&(e.model=i.concat([a])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),e.$slots.default||e.label?i("span",{staticClass:"el-checkbox-button__inner",style:e.isChecked?e.activeStyle:null},[e._t("default",[e._v(e._s(e.label))])],2):e._e()])},vi=[];mi._withStripped=!0;var gi={name:"ElCheckboxButton",mixins:[E.a],inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},props:{value:{},label:{},disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{model:{get:function(){return this._checkboxGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this._checkboxGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):void 0!==this.value?this.$emit("input",e):this.selfModel=e}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},_checkboxGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return e;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},activeStyle:function(){return{backgroundColor:this._checkboxGroup.fill||"",borderColor:this._checkboxGroup.fill||"",color:this._checkboxGroup.textColor||"","box-shadow":"-1px 0 0 0 "+this._checkboxGroup.fill}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._checkboxGroup.checkboxGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,i=e.min;return!(!t&&!i)&&this.model.length>=t&&!this.isChecked||this.model.length<=i&&this.isChecked},isDisabled:function(){return this._checkboxGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled}},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var i=void 0;i=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",i,e),this.$nextTick((function(){t._checkboxGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()}},bi=gi,yi=o(bi,mi,vi,!1,null,null,null);yi.options.__file="packages/checkbox/src/checkbox-button.vue";var Ci=yi.exports;Ci.install=function(e){e.component(Ci.name,Ci)};var xi=Ci,_i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},wi=[];_i._withStripped=!0;var ki={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[E.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},Si=ki,Di=o(Si,_i,wi,!1,null,null,null);Di.options.__file="packages/checkbox/src/checkbox-group.vue";var $i=Di.exports;$i.install=function(e){e.component($i.name,$i)};var Ei=$i,Oi=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-switch",class:{"is-disabled":e.switchDisabled,"is-checked":e.checked},attrs:{role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled},on:{click:function(t){return t.preventDefault(),e.switchValue(t)}}},[i("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:e.id,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled},on:{change:e.handleChange,keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.switchValue(t)}}}),e.inactiveIconClass||e.inactiveText?i("span",{class:["el-switch__label","el-switch__label--left",e.checked?"":"is-active"]},[e.inactiveIconClass?i("i",{class:[e.inactiveIconClass]}):e._e(),!e.inactiveIconClass&&e.inactiveText?i("span",{attrs:{"aria-hidden":e.checked}},[e._v(e._s(e.inactiveText))]):e._e()]):e._e(),i("span",{ref:"core",staticClass:"el-switch__core",style:{width:e.coreWidth+"px"}}),e.activeIconClass||e.activeText?i("span",{class:["el-switch__label","el-switch__label--right",e.checked?"is-active":""]},[e.activeIconClass?i("i",{class:[e.activeIconClass]}):e._e(),!e.activeIconClass&&e.activeText?i("span",{attrs:{"aria-hidden":!e.checked}},[e._v(e._s(e.activeText))]):e._e()]):e._e()])},Ti=[];Oi._withStripped=!0;var Ni={name:"ElSwitch",mixins:[Z()("input"),D.a,E.a],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[this.value])}},methods:{handleChange:function(e){var t=this,i=this.checked?this.inactiveValue:this.activeValue;this.$emit("input",i),this.$emit("change",i),this.$nextTick((function(){t.$refs.input&&(t.$refs.input.checked=t.checked)}))},setBackgroundColor:function(){var e=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=e,this.$refs.core.style.backgroundColor=e},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}},Ii=Ni,Pi=o(Ii,Oi,Ti,!1,null,null,null);Pi.options.__file="packages/switch/src/component.vue";var Mi=Pi.exports;Mi.install=function(e){e.component(Mi.name,Mi)};var Fi=Mi,Vi=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?i("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?i("span",[i("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[i("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?i("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[i("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():i("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return i("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(i){e.deleteTag(i,t)}}},[i("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?i("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),i("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?i("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),i("template",{slot:"suffix"},[i("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?i("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),i("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[i("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[i("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?i("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):i("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},Li=[];Vi._withStripped=!0;var ji=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},Ai=[];ji._withStripped=!0;var Bi={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[H.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},zi=Bi,Ri=o(zi,ji,Ai,!1,null,null,null);Ri.options.__file="packages/select/src/select-dropdown.vue";var Hi=Ri.exports,Wi=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){return t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[i("span",[e._v(e._s(e.currentLabel))])])],2)},Yi=[];Wi._withStripped=!0;var qi="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ki={mixins:[E.a],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var i=this.select,n=i.remote,s=i.valueKey;if(!this.created&&!n){if(s&&"object"===("undefined"===typeof e?"undefined":qi(e))&&"object"===("undefined"===typeof t?"undefined":qi(t))&&e[s]===t[s])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var i=this.select.valueKey;return Object(b["getValueByPath"])(e,i)===Object(b["getValueByPath"])(t,i)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var i=this.select.valueKey;return e&&e.some((function(e){return Object(b["getValueByPath"])(e,i)===Object(b["getValueByPath"])(t,i)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(b["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,i=e.multiple,n=i?t:[t],s=this.select.cachedOptions.indexOf(this),a=n.indexOf(this);s>-1&&a<0&&this.select.cachedOptions.splice(s,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},Gi=Ki,Ui=o(Gi,Wi,Yi,!1,null,null,null);Ui.options.__file="packages/select/src/option.vue";var Xi=Ui.exports,Zi=i(30),Qi=i.n(Zi),Ji=i(15),en=i(27),tn=i.n(en),nn={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var i=this.options[this.hoverIndex];!0!==i.disabled&&!0!==i.groupDisabled&&i.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},sn={mixins:[E.a,g.a,Z()("reference"),nn],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(b["isIE"])()&&!Object(b["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:m.a,ElSelectMenu:Hi,ElOption:Xi,ElTag:Qi.a,ElScrollbar:Y.a},directives:{Clickoutside:A.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(b["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,i=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(i)}));else{var n=i[i.length-1]||"";this.isOnComposition=!Object(Dt["isKorean"])(n)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var i=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");tn()(i,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(b["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,i="[object object]"===Object.prototype.toString.call(e).toLowerCase(),n="[object null]"===Object.prototype.toString.call(e).toLowerCase(),s="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),a=this.cachedOptions.length-1;a>=0;a--){var r=this.cachedOptions[a],o=i?Object(b["getValueByPath"])(r.value,this.valueKey)===Object(b["getValueByPath"])(e,this.valueKey):r.value===e;if(o){t=r;break}}if(t)return t;var l=i||n||s?"":String(e),c={value:e,currentLabel:l};return this.multiple&&(c.hitState=!1),c},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var i=[];Array.isArray(this.value)&&this.value.forEach((function(t){i.push(e.getOption(t))})),this.selected=i,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,i=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],n=e.$refs.tags,s=n?Math.round(n.getBoundingClientRect().height):0,a=e.initialInputHeight||40;i.style.height=0===e.selected.length?a+"px":Math.max(n?s+(s>a?6:0):0,a)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var i=this;if(this.multiple){var n=(this.value||[]).slice(),s=this.getValueIndex(n,e.value);s>-1?n.splice(s,1):(this.multipleLimit<=0||n.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],i="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(i){var n=this.valueKey,s=-1;return e.some((function(e,i){return Object(b["getValueByPath"])(e,n)===Object(b["getValueByPath"])(t,n)&&(s=i,!0)})),s}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var i=this.selected.indexOf(t);if(i>-1&&!this.selectDisabled){var n=this.value.slice();n.splice(i,1),this.$emit("input",n),this.emitChange(n),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var i=0;i!==this.options.length;++i){var n=this.options[i];if(this.query){if(!n.disabled&&!n.groupDisabled&&n.visible){this.hoverIndex=i;break}}else if(n.itemSelected){this.hoverIndex=i;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(b["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=L()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=L()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(Ji["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var i={medium:36,small:32,mini:28},n=t.$el.querySelector("input");this.initialInputHeight=n.getBoundingClientRect().height||i[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(Ji["removeResizeListener"])(this.$el,this.handleResize)}},an=sn,rn=o(an,Vi,Li,!1,null,null,null);rn.options.__file="packages/select/src/select.vue";var on=rn.exports;on.install=function(e){e.component(on.name,on)};var ln=on;Xi.install=function(e){e.component(Xi.name,Xi)};var cn=Xi,un=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-group__wrap"},[i("li",{staticClass:"el-select-group__title"},[e._v(e._s(e.label))]),i("li",[i("ul",{staticClass:"el-select-group"},[e._t("default")],2)])])},hn=[];un._withStripped=!0;var dn={mixins:[E.a],name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},data:function(){return{visible:!0}},watch:{disabled:function(e){this.broadcast("ElOption","handleGroupDisabled",e)}},methods:{queryChange:function(){this.visible=this.$children&&Array.isArray(this.$children)&&this.$children.some((function(e){return!0===e.visible}))}},created:function(){this.$on("queryChange",this.queryChange)},mounted:function(){this.disabled&&this.broadcast("ElOption","handleGroupDisabled",this.disabled)}},pn=dn,fn=o(pn,un,hn,!1,null,null,null);fn.options.__file="packages/select/src/option-group.vue";var mn=fn.exports;mn.install=function(e){e.component(mn.name,mn)};var vn=mn,gn=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?i("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?i("i",{class:e.icon}):e._e(),e.$slots.default?i("span",[e._t("default")],2):e._e()])},bn=[];gn._withStripped=!0;var yn={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},Cn=yn,xn=o(Cn,gn,bn,!1,null,null,null);xn.options.__file="packages/button/src/button.vue";var _n=xn.exports;_n.install=function(e){e.component(_n.name,_n)};var wn=_n,kn=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-button-group"},[e._t("default")],2)},Sn=[];kn._withStripped=!0;var Dn={name:"ElButtonGroup"},$n=Dn,En=o($n,kn,Sn,!1,null,null,null);En.options.__file="packages/button/src/button-group.vue";var On=En.exports;On.install=function(e){e.component(On.name,On)};var Tn=On,Nn=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-table",class:[{"el-table--fit":e.fit,"el-table--striped":e.stripe,"el-table--border":e.border||e.isGroup,"el-table--hidden":e.isHidden,"el-table--group":e.isGroup,"el-table--fluid-height":e.maxHeight,"el-table--scrollable-x":e.layout.scrollX,"el-table--scrollable-y":e.layout.scrollY,"el-table--enable-row-hover":!e.store.states.isComplex,"el-table--enable-row-transition":0!==(e.store.states.data||[]).length&&(e.store.states.data||[]).length<100},e.tableSize?"el-table--"+e.tableSize:""],on:{mouseleave:function(t){e.handleMouseLeave(t)}}},[i("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[e._t("default")],2),e.showHeader?i("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"headerWrapper",staticClass:"el-table__header-wrapper"},[i("table-header",{ref:"tableHeader",style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"default-sort":e.defaultSort}})],1):e._e(),i("div",{ref:"bodyWrapper",staticClass:"el-table__body-wrapper",class:[e.layout.scrollX?"is-scrolling-"+e.scrollPosition:"is-scrolling-none"],style:[e.bodyHeight]},[i("table-body",{style:{width:e.bodyWidth},attrs:{context:e.context,store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.data&&0!==e.data.length?e._e():i("div",{ref:"emptyBlock",staticClass:"el-table__empty-block",style:e.emptyBlockStyle},[i("span",{staticClass:"el-table__empty-text"},[e._t("empty",[e._v(e._s(e.emptyText||e.t("el.table.emptyText")))])],2)]),e.$slots.append?i("div",{ref:"appendWrapper",staticClass:"el-table__append-wrapper"},[e._t("append")],2):e._e()],1),e.showSummary?i("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"},{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[i("table-footer",{style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,"default-sort":e.defaultSort}})],1):e._e(),e.fixedColumns.length>0?i("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"fixedWrapper",staticClass:"el-table__fixed",style:[{width:e.layout.fixedWidth?e.layout.fixedWidth+"px":""},e.fixedHeight]},[e.showHeader?i("div",{ref:"fixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[i("table-header",{ref:"fixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,store:e.store}})],1):e._e(),i("div",{ref:"fixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[i("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"left",store:e.store,stripe:e.stripe,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"row-style":e.rowStyle}}),e.$slots.append?i("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?i("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[i("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?i("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"rightFixedWrapper",staticClass:"el-table__fixed-right",style:[{width:e.layout.rightFixedWidth?e.layout.rightFixedWidth+"px":"",right:e.layout.scrollY?(e.border?e.layout.gutterWidth:e.layout.gutterWidth||0)+"px":""},e.fixedHeight]},[e.showHeader?i("div",{ref:"rightFixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[i("table-header",{ref:"rightFixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,store:e.store}})],1):e._e(),i("div",{ref:"rightFixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[i("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"right",store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.$slots.append?i("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?i("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[i("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?i("div",{ref:"rightFixedPatch",staticClass:"el-table__fixed-right-patch",style:{width:e.layout.scrollY?e.layout.gutterWidth+"px":"0",height:e.layout.headerHeight+"px"}}):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})])},In=[];Nn._withStripped=!0;var Pn=i(14),Mn=i.n(Pn),Fn=i(36),Vn=i(39),Ln=i.n(Vn),jn="undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,An=function(e,t){e&&e.addEventListener&&e.addEventListener(jn?"DOMMouseScroll":"mousewheel",(function(e){var i=Ln()(e);t&&t.apply(this,[e,i])}))},Bn={bind:function(e,t){An(e,t.value)}},zn=i(6),Rn=i.n(zn),Hn="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wn=function(e){var t=e.target;while(t&&"HTML"!==t.tagName.toUpperCase()){if("TD"===t.tagName.toUpperCase())return t;t=t.parentNode}return null},Yn=function(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":Hn(e))},qn=function(e,t,i,n,s){if(!t&&!n&&(!s||Array.isArray(s)&&!s.length))return e;i="string"===typeof i?"descending"===i?-1:1:i&&i<0?-1:1;var a=n?null:function(i,n){return s?(Array.isArray(s)||(s=[s]),s.map((function(t){return"string"===typeof t?Object(b["getValueByPath"])(i,t):t(i,n,e)}))):("$key"!==t&&Yn(i)&&"$value"in i&&(i=i.$value),[Yn(i)?Object(b["getValueByPath"])(i,t):i])},r=function(e,t){if(n)return n(e.value,t.value);for(var i=0,s=e.key.length;it.key[i])return 1}return 0};return e.map((function(e,t){return{value:e,index:t,key:a?a(e,t):null}})).sort((function(e,t){var n=r(e,t);return n||(n=e.index-t.index),n*i})).map((function(e){return e.value}))},Kn=function(e,t){var i=null;return e.columns.forEach((function(e){e.id===t&&(i=e)})),i},Gn=function(e,t){for(var i=null,n=0;n2&&void 0!==arguments[2]?arguments[2]:"children",n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hasChildren",s=function(e){return!(Array.isArray(e)&&e.length)};function a(e,r,o){t(e,r,o),r.forEach((function(e){if(e[n])t(e,null,o+1);else{var r=e[i];s(r)||a(e,r,o+1)}}))}e.forEach((function(e){if(e[n])t(e,null,0);else{var r=e[i];s(r)||a(e,r,0)}}))}var rs=function(e,t){var i=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);if(i.length!==n.length)return!1;for(var s=0;s0&&t[0]&&"selection"===t[0].type&&!t[0].fixed&&(t[0].fixed=!0,e.fixedColumns.unshift(t[0]));var i=t.filter((function(e){return!e.fixed}));e.originColumns=[].concat(e.fixedColumns).concat(i).concat(e.rightFixedColumns);var n=ds(i),s=ds(e.fixedColumns),a=ds(e.rightFixedColumns);e.leafColumnsLength=n.length,e.fixedLeafColumnsLength=s.length,e.rightFixedLeafColumnsLength=a.length,e.columns=[].concat(s).concat(n).concat(a),e.isComplex=e.fixedColumns.length>0||e.rightFixedColumns.length>0},scheduleLayout:function(e){e&&this.updateColumns(),this.table.debouncedUpdateLayout()},isSelected:function(e){var t=this.states.selection,i=void 0===t?[]:t;return i.indexOf(e)>-1},clearSelection:function(){var e=this.states;e.isAllSelected=!1;var t=e.selection;t.length&&(e.selection=[],this.table.$emit("selection-change",[]))},cleanSelection:function(){var e=this.states,t=e.data,i=e.rowKey,n=e.selection,s=void 0;if(i){s=[];var a=Zn(n,i),r=Zn(t,i);for(var o in a)a.hasOwnProperty(o)&&!r[o]&&s.push(a[o].row)}else s=n.filter((function(e){return-1===t.indexOf(e)}));if(s.length){var l=n.filter((function(e){return-1===s.indexOf(e)}));e.selection=l,this.table.$emit("selection-change",l.slice())}},toggleRowSelection:function(e,t){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=ss(this.states.selection,e,t);if(n){var s=(this.states.selection||[]).slice();i&&this.table.$emit("select",s,e),this.table.$emit("selection-change",s)}},_toggleAllSelection:function(){var e=this.states,t=e.data,i=void 0===t?[]:t,n=e.selection,s=e.selectOnIndeterminate?!e.isAllSelected:!(e.isAllSelected||n.length);e.isAllSelected=s;var a=!1;i.forEach((function(t,i){e.selectable?e.selectable.call(null,t,i)&&ss(n,t,s)&&(a=!0):ss(n,t,s)&&(a=!0)})),a&&this.table.$emit("selection-change",n?n.slice():[]),this.table.$emit("select-all",n)},updateSelectionByRowKey:function(){var e=this.states,t=e.selection,i=e.rowKey,n=e.data,s=Zn(t,i);n.forEach((function(e){var n=Xn(e,i),a=s[n];a&&(t[a.index]=e)}))},updateAllSelected:function(){var e=this.states,t=e.selection,i=e.rowKey,n=e.selectable,s=e.data||[];if(0!==s.length){var a=void 0;i&&(a=Zn(t,i));for(var r=function(e){return a?!!a[Xn(e,i)]:-1!==t.indexOf(e)},o=!0,l=0,c=0,u=s.length;c1?i-1:0),s=1;s1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Table is required.");var i=new fs;return i.table=e,i.toggleAllSelection=L()(10,i._toggleAllSelection),Object.keys(t).forEach((function(e){i.states[e]=t[e]})),i}function vs(e){var t={};return Object.keys(e).forEach((function(i){var n=e[i],s=void 0;"string"===typeof n?s=function(){return this.store.states[n]}:"function"===typeof n?s=function(){return n.call(this,this.store.states)}:console.error("invalid value type"),s&&(t[i]=s)})),t}var gs=i(31),bs=i.n(gs);function ys(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Cs=function(){function e(t){for(var i in ys(this,e),this.observers=[],this.table=null,this.store=null,this.columns=null,this.fit=!0,this.showHeader=!0,this.height=null,this.scrollX=!1,this.scrollY=!1,this.bodyWidth=null,this.fixedWidth=null,this.rightFixedWidth=null,this.tableHeight=null,this.headerHeight=44,this.appendHeight=0,this.footerHeight=44,this.viewportHeight=null,this.bodyHeight=null,this.fixedBodyHeight=null,this.gutterWidth=bs()(),t)t.hasOwnProperty(i)&&(this[i]=t[i]);if(!this.table)throw new Error("table is required for Table Layout");if(!this.store)throw new Error("store is required for Table Layout")}return e.prototype.updateScrollY=function(){var e=this.height;if(null===e)return!1;var t=this.table.bodyWrapper;if(this.table.$el&&t){var i=t.querySelector(".el-table__body"),n=this.scrollY,s=i.offsetHeight>this.bodyHeight;return this.scrollY=s,n!==s}return!1},e.prototype.setHeight=function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!Rn.a.prototype.$isServer){var n=this.table.$el;if(e=is(e),this.height=e,!n&&(e||0===e))return Rn.a.nextTick((function(){return t.setHeight(e,i)}));"number"===typeof e?(n.style[i]=e+"px",this.updateElsHeight()):"string"===typeof e&&(n.style[i]=e,this.updateElsHeight())}},e.prototype.setMaxHeight=function(e){this.setHeight(e,"max-height")},e.prototype.getFlattenColumns=function(){var e=[],t=this.table.columns;return t.forEach((function(t){t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)})),e},e.prototype.updateElsHeight=function(){var e=this;if(!this.table.$ready)return Rn.a.nextTick((function(){return e.updateElsHeight()}));var t=this.table.$refs,i=t.headerWrapper,n=t.appendWrapper,s=t.footerWrapper;if(this.appendHeight=n?n.offsetHeight:0,!this.showHeader||i){var a=i?i.querySelector(".el-table__header tr"):null,r=this.headerDisplayNone(a),o=this.headerHeight=this.showHeader?i.offsetHeight:0;if(this.showHeader&&!r&&i.offsetWidth>0&&(this.table.columns||[]).length>0&&o<2)return Rn.a.nextTick((function(){return e.updateElsHeight()}));var l=this.tableHeight=this.table.$el.clientHeight,c=this.footerHeight=s?s.offsetHeight:0;null!==this.height&&(this.bodyHeight=l-o-c+(s?1:0)),this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var u=!(this.store.states.data&&this.store.states.data.length);this.viewportHeight=this.scrollX?l-(u?0:this.gutterWidth):l,this.updateScrollY(),this.notifyObservers("scrollable")}},e.prototype.headerDisplayNone=function(e){if(!e)return!0;var t=e;while("DIV"!==t.tagName){if("none"===getComputedStyle(t).display)return!0;t=t.parentElement}return!1},e.prototype.updateColumnsWidth=function(){if(!Rn.a.prototype.$isServer){var e=this.fit,t=this.table.$el.clientWidth,i=0,n=this.getFlattenColumns(),s=n.filter((function(e){return"number"!==typeof e.width}));if(n.forEach((function(e){"number"===typeof e.width&&e.realWidth&&(e.realWidth=null)})),s.length>0&&e){n.forEach((function(e){i+=e.width||e.minWidth||80}));var a=this.scrollY?this.gutterWidth:0;if(i<=t-a){this.scrollX=!1;var r=t-a-i;if(1===s.length)s[0].realWidth=(s[0].minWidth||80)+r;else{var o=s.reduce((function(e,t){return e+(t.minWidth||80)}),0),l=r/o,c=0;s.forEach((function(e,t){if(0!==t){var i=Math.floor((e.minWidth||80)*l);c+=i,e.realWidth=(e.minWidth||80)+i}})),s[0].realWidth=(s[0].minWidth||80)+r-c}}else this.scrollX=!0,s.forEach((function(e){e.realWidth=e.minWidth}));this.bodyWidth=Math.max(i,t),this.table.resizeState.width=this.bodyWidth}else n.forEach((function(e){e.width||e.minWidth?e.realWidth=e.width||e.minWidth:e.realWidth=80,i+=e.realWidth})),this.scrollX=i>t,this.bodyWidth=i;var u=this.store.states.fixedColumns;if(u.length>0){var h=0;u.forEach((function(e){h+=e.realWidth||e.width})),this.fixedWidth=h}var d=this.store.states.rightFixedColumns;if(d.length>0){var p=0;d.forEach((function(e){p+=e.realWidth||e.width})),this.rightFixedWidth=p}this.notifyObservers("columns")}},e.prototype.addObserver=function(e){this.observers.push(e)},e.prototype.removeObserver=function(e){var t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)},e.prototype.notifyObservers=function(e){var t=this,i=this.observers;i.forEach((function(i){switch(e){case"columns":i.onColumnsChange(t);break;case"scrollable":i.onScrollableChange(t);break;default:throw new Error("Table Layout don't have event "+e+".")}}))},e}(),xs=Cs,_s={created:function(){this.tableLayout.addObserver(this)},destroyed:function(){this.tableLayout.removeObserver(this)},computed:{tableLayout:function(){var e=this.layout;if(!e&&this.table&&(e=this.table.layout),!e)throw new Error("Can not find table layout.");return e}},mounted:function(){this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout)},updated:function(){this.__updated__||(this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout),this.__updated__=!0)},methods:{onColumnsChange:function(e){var t=this.$el.querySelectorAll("colgroup > col");if(t.length){var i=e.getFlattenColumns(),n={};i.forEach((function(e){n[e.id]=e}));for(var s=0,a=t.length;s col[name=gutter]"),i=0,n=t.length;i=this.leftFixedLeafCount:"right"===this.fixed?e=this.columnsCount-this.rightFixedLeafCount},getSpan:function(e,t,i,n){var s=1,a=1,r=this.table.spanMethod;if("function"===typeof r){var o=r({row:e,column:t,rowIndex:i,columnIndex:n});Array.isArray(o)?(s=o[0],a=o[1]):"object"===("undefined"===typeof o?"undefined":Ss(o))&&(s=o.rowspan,a=o.colspan)}return{rowspan:s,colspan:a}},getRowStyle:function(e,t){var i=this.table.rowStyle;return"function"===typeof i?i.call(null,{row:e,rowIndex:t}):i||null},getRowClass:function(e,t){var i=this.store.states.selection,n=["el-table__row"];if(this.table.highlightCurrentRow&&e===this.store.states.currentRow&&n.push("current-row"),this.table.highlightSelectionRow)for(var s=0;s-1&&n.push("expanded"),n},getCellStyle:function(e,t,i,n){var s=this.table.cellStyle;return"function"===typeof s?s.call(null,{rowIndex:e,columnIndex:t,row:i,column:n}):s},getCellClass:function(e,t,i,n){var s=[n.id,n.align,n.className];this.isColumnHidden(t)&&s.push("is-hidden");var a=this.table.cellClassName;return"string"===typeof a?s.push(a):"function"===typeof a&&s.push(a.call(null,{rowIndex:e,columnIndex:t,row:i,column:n})),s.push("el-table__cell"),s.join(" ")},getColspanRealWidth:function(e,t,i){if(t<1)return e[i].realWidth;var n=e.map((function(e){var t=e.realWidth;return t})).slice(i,i+t);return n.reduce((function(e,t){return e+t}),-1)},handleCellMouseEnter:function(e,t){var i=this.table,n=Wn(e);if(n){var s=Un(i,n),a=i.hoverState={cell:n,column:s,row:t};i.$emit("cell-mouse-enter",a.row,a.column,a.cell,e)}var r=e.target.querySelector(".cell");if(Object(je["hasClass"])(r,"el-tooltip")&&r.childNodes.length){var o=document.createRange();o.setStart(r,0),o.setEnd(r,r.childNodes.length);var l=o.getBoundingClientRect().width,c=(parseInt(Object(je["getStyle"])(r,"paddingLeft"),10)||0)+(parseInt(Object(je["getStyle"])(r,"paddingRight"),10)||0);if((l+c>r.offsetWidth||r.scrollWidth>r.offsetWidth)&&this.$refs.tooltip){var u=this.$refs.tooltip;this.tooltipContent=n.innerText||n.textContent,u.referenceElm=n,u.$refs.popper&&(u.$refs.popper.style.display="none"),u.doDestroy(),u.setExpectedState(!0),this.activateTooltip(u)}}},handleCellMouseLeave:function(e){var t=this.$refs.tooltip;t&&(t.setExpectedState(!1),t.handleClosePopper());var i=Wn(e);if(i){var n=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",n.row,n.column,n.cell,e)}},handleMouseEnter:L()(30,(function(e){this.store.commit("setHoverRow",e)})),handleMouseLeave:L()(30,(function(){this.store.commit("setHoverRow",null)})),handleContextMenu:function(e,t){this.handleEvent(e,t,"contextmenu")},handleDoubleClick:function(e,t){this.handleEvent(e,t,"dblclick")},handleClick:function(e,t){this.store.commit("setCurrentRow",t),this.handleEvent(e,t,"click")},handleEvent:function(e,t,i){var n=this.table,s=Wn(e),a=void 0;s&&(a=Un(n,s),a&&n.$emit("cell-"+i,t,a,s,e)),n.$emit("row-"+i,t,a,e)},rowRender:function(e,t,i){var n=this,s=this.$createElement,a=this.treeIndent,r=this.columns,o=this.firstDefaultColumnIndex,l=this.getRowClass(e,t),c=!0;i&&(l.push("el-table__row--level-"+i.level),c=i.display);var u=c?null:{display:"none"};return s(ks,{style:[u,this.getRowStyle(e,t)],class:l,key:this.getKeyOfRow(e,t),nativeOn:{dblclick:function(t){return n.handleDoubleClick(t,e)},click:function(t){return n.handleClick(t,e)},contextmenu:function(t){return n.handleContextMenu(t,e)},mouseenter:function(e){return n.handleMouseEnter(t)},mouseleave:this.handleMouseLeave},attrs:{columns:r,row:e,index:t,store:this.store,context:this.context||this.table.$vnode.context,firstDefaultColumnIndex:o,treeRowData:i,treeIndent:a,columnsHidden:this.columnsHidden,getSpan:this.getSpan,getColspanRealWidth:this.getColspanRealWidth,getCellStyle:this.getCellStyle,getCellClass:this.getCellClass,handleCellMouseEnter:this.handleCellMouseEnter,handleCellMouseLeave:this.handleCellMouseLeave,isSelected:this.store.isSelected(e),isExpanded:this.store.states.expandRows.indexOf(e)>-1,fixed:this.fixed}})},wrappedRowRender:function(e,t){var i=this,n=this.$createElement,s=this.store,a=s.isRowExpanded,r=s.assertRowKey,o=s.states,l=o.treeData,c=o.lazyTreeNodeMap,u=o.childrenColumnName,h=o.rowKey;if(this.hasExpandColumn&&a(e)){var d=this.table.renderExpanded,p=this.rowRender(e,t);return d?[[p,n("tr",{key:"expanded-row__"+p.key},[n("td",{attrs:{colspan:this.columnsCount},class:"el-table__cell el-table__expanded-cell"},[d(this.$createElement,{row:e,$index:t,store:this.store})])])]]:(console.error("[Element Error]renderExpanded is required."),p)}if(Object.keys(l).length){r();var f=Xn(e,h),m=l[f],v=null;m&&(v={expanded:m.expanded,level:m.level,display:!0},"boolean"===typeof m.lazy&&("boolean"===typeof m.loaded&&m.loaded&&(v.noLazyChildren=!(m.children&&m.children.length)),v.loading=m.loading));var g=[this.rowRender(e,t,v)];if(m){var b=0,y=function e(n,s){n&&n.length&&s&&n.forEach((function(n){var a={display:s.display&&s.expanded,level:s.level+1},r=Xn(n,h);if(void 0===r||null===r)throw new Error("for nested data item, row-key is required.");if(m=Ds({},l[r]),m&&(a.expanded=m.expanded,m.level=m.level||a.level,m.display=!(!m.expanded||!a.display),"boolean"===typeof m.lazy&&("boolean"===typeof m.loaded&&m.loaded&&(a.noLazyChildren=!(m.children&&m.children.length)),a.loading=m.loading)),b++,g.push(i.rowRender(n,t+b,a)),m){var o=c[r]||n[u];e(o,m)}}))};m.display=!0;var C=c[f]||e[u];y(C,m)}return g}return this.rowRender(e,t)}}},Es=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"}},[e.multiple?i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[i("div",{staticClass:"el-table-filter__content"},[i("el-scrollbar",{attrs:{"wrap-class":"el-table-filter__wrap"}},[i("el-checkbox-group",{staticClass:"el-table-filter__checkbox-group",model:{value:e.filteredValue,callback:function(t){e.filteredValue=t},expression:"filteredValue"}},e._l(e.filters,(function(t){return i("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.text))])})),1)],1)],1),i("div",{staticClass:"el-table-filter__bottom"},[i("button",{class:{"is-disabled":0===e.filteredValue.length},attrs:{disabled:0===e.filteredValue.length},on:{click:e.handleConfirm}},[e._v(e._s(e.t("el.table.confirmFilter")))]),i("button",{on:{click:e.handleReset}},[e._v(e._s(e.t("el.table.resetFilter")))])])]):i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[i("ul",{staticClass:"el-table-filter__list"},[i("li",{staticClass:"el-table-filter__list-item",class:{"is-active":void 0===e.filterValue||null===e.filterValue},on:{click:function(t){e.handleSelect(null)}}},[e._v(e._s(e.t("el.table.clearFilter")))]),e._l(e.filters,(function(t){return i("li",{key:t.value,staticClass:"el-table-filter__list-item",class:{"is-active":e.isActive(t)},attrs:{label:t.value},on:{click:function(i){e.handleSelect(t.value)}}},[e._v(e._s(t.text))])}))],2)])])},Os=[];Es._withStripped=!0;var Ts=[];!Rn.a.prototype.$isServer&&document.addEventListener("click",(function(e){Ts.forEach((function(t){var i=e.target;t&&t.$el&&(i===t.$el||t.$el.contains(i)||t.handleOutsideClick&&t.handleOutsideClick(e))}))}));var Ns={open:function(e){e&&Ts.push(e)},close:function(e){var t=Ts.indexOf(e);-1!==t&&Ts.splice(e,1)}},Is=i(32),Ps=i.n(Is),Ms={name:"ElTableFilterPanel",mixins:[H.a,g.a],directives:{Clickoutside:A.a},components:{ElCheckbox:Mn.a,ElCheckboxGroup:Ps.a,ElScrollbar:Y.a},props:{placement:{type:String,default:"bottom-end"}},methods:{isActive:function(e){return e.value===this.filterValue},handleOutsideClick:function(){var e=this;setTimeout((function(){e.showPopper=!1}),16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(e){this.filterValue=e,"undefined"!==typeof e&&null!==e?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(e){this.table.store.commit("filterChange",{column:this.column,values:e}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(e){this.filteredValue&&("undefined"!==typeof e&&null!==e?this.filteredValue.splice(0,1,e):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column&&this.column.filteredValue||[]},set:function(e){this.column&&(this.column.filteredValue=e)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var e=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",(function(){e.updatePopper()})),this.$watch("showPopper",(function(t){e.column&&(e.column.filterOpened=t),t?Ns.open(e):Ns.close(e)}))},watch:{showPopper:function(e){!0===e&&parseInt(this.popperJS._popper.style.zIndex,10)1;return s&&(this.$parent.isGroup=!0),e("table",{class:"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",[this.columns.map((function(t){return e("col",{attrs:{name:t.id},key:t.id})})),this.hasGutter?e("col",{attrs:{name:"gutter"}}):""]),e("thead",{class:[{"is-group":s,"has-gutter":this.hasGutter}]},[this._l(n,(function(i,n){return e("tr",{style:t.getHeaderRowStyle(n),class:t.getHeaderRowClass(n)},[i.map((function(s,a){return e("th",{attrs:{colspan:s.colSpan,rowspan:s.rowSpan},on:{mousemove:function(e){return t.handleMouseMove(e,s)},mouseout:t.handleMouseOut,mousedown:function(e){return t.handleMouseDown(e,s)},click:function(e){return t.handleHeaderClick(e,s)},contextmenu:function(e){return t.handleHeaderContextMenu(e,s)}},style:t.getHeaderCellStyle(n,a,i,s),class:t.getHeaderCellClass(n,a,i,s),key:s.id},[e("div",{class:["cell",s.filteredValue&&s.filteredValue.length>0?"highlight":"",s.labelClassName]},[s.renderHeader?s.renderHeader.call(t._renderProxy,e,{column:s,$index:a,store:t.store,_self:t.$parent.$vnode.context}):s.label,s.sortable?e("span",{class:"caret-wrapper",on:{click:function(e){return t.handleSortClick(e,s)}}},[e("i",{class:"sort-caret ascending",on:{click:function(e){return t.handleSortClick(e,s,"ascending")}}}),e("i",{class:"sort-caret descending",on:{click:function(e){return t.handleSortClick(e,s,"descending")}}})]):"",s.filterable?e("span",{class:"el-table__column-filter-trigger",on:{click:function(e){return t.handleFilterClick(e,s)}}},[e("i",{class:["el-icon-arrow-down",s.filterOpened?"el-icon-arrow-up":""]})]):""])])})),t.hasGutter?e("th",{class:"el-table__cell gutter"}):""])}))])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:Mn.a},computed:js({table:function(){return this.$parent},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},vs({columns:"columns",isAllSelected:"isAllSelected",leftFixedLeafCount:"fixedLeafColumnsLength",rightFixedLeafCount:"rightFixedLeafColumnsLength",columnsCount:function(e){return e.columns.length},leftFixedCount:function(e){return e.fixedColumns.length},rightFixedCount:function(e){return e.rightFixedColumns.length}})),created:function(){this.filterPanels={}},mounted:function(){var e=this;this.$nextTick((function(){var t=e.defaultSort,i=t.prop,n=t.order,s=!0;e.store.commit("sort",{prop:i,order:n,init:s})}))},beforeDestroy:function(){var e=this.filterPanels;for(var t in e)e.hasOwnProperty(t)&&e[t]&&e[t].$destroy(!0)},methods:{isCellHidden:function(e,t){for(var i=0,n=0;n=this.leftFixedLeafCount:"right"===this.fixed?i=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(e){var t=this.table.headerRowStyle;return"function"===typeof t?t.call(null,{rowIndex:e}):t},getHeaderRowClass:function(e){var t=[],i=this.table.headerRowClassName;return"string"===typeof i?t.push(i):"function"===typeof i&&t.push(i.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:function(e,t,i,n){var s=this.table.headerCellStyle;return"function"===typeof s?s.call(null,{rowIndex:e,columnIndex:t,row:i,column:n}):s},getHeaderCellClass:function(e,t,i,n){var s=[n.id,n.order,n.headerAlign,n.className,n.labelClassName];0===e&&this.isCellHidden(t,i)&&s.push("is-hidden"),n.children||s.push("is-leaf"),n.sortable&&s.push("is-sortable");var a=this.table.headerCellClassName;return"string"===typeof a?s.push(a):"function"===typeof a&&s.push(a.call(null,{rowIndex:e,columnIndex:t,row:i,column:n})),s.push("el-table__cell"),s.join(" ")},toggleAllSelection:function(){this.store.commit("toggleAllSelection")},handleFilterClick:function(e,t){e.stopPropagation();var i=e.target,n="TH"===i.tagName?i:i.parentNode;if(!Object(je["hasClass"])(n,"noclick")){n=n.querySelector(".el-table__column-filter-trigger")||n;var s=this.$parent,a=this.filterPanels[t.id];a&&t.filterOpened?a.showPopper=!1:(a||(a=new Rn.a(Ls),this.filterPanels[t.id]=a,t.filterPlacement&&(a.placement=t.filterPlacement),a.table=s,a.cell=n,a.column=t,!this.$isServer&&a.$mount(document.createElement("div"))),setTimeout((function(){a.showPopper=!0}),16))}},handleHeaderClick:function(e,t){!t.filters&&t.sortable?this.handleSortClick(e,t):t.filterable&&!t.sortable&&this.handleFilterClick(e,t),this.$parent.$emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){this.$parent.$emit("header-contextmenu",t,e)},handleMouseDown:function(e,t){var i=this;if(!this.$isServer&&!(t.children&&t.children.length>0)&&this.draggingColumn&&this.border){this.dragging=!0,this.$parent.resizeProxyVisible=!0;var n=this.$parent,s=n.$el,a=s.getBoundingClientRect().left,r=this.$el.querySelector("th."+t.id),o=r.getBoundingClientRect(),l=o.left-a+30;Object(je["addClass"])(r,"noclick"),this.dragState={startMouseLeft:e.clientX,startLeft:o.right-a,startColumnLeft:o.left-a,tableLeft:a};var c=n.$refs.resizeProxy;c.style.left=this.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var u=function(e){var t=e.clientX-i.dragState.startMouseLeft,n=i.dragState.startLeft+t;c.style.left=Math.max(l,n)+"px"},h=function s(){if(i.dragging){var a=i.dragState,o=a.startColumnLeft,l=a.startLeft,h=parseInt(c.style.left,10),d=h-o;t.width=t.realWidth=d,n.$emit("header-dragend",t.width,l-o,t,e),i.store.scheduleLayout(),document.body.style.cursor="",i.dragging=!1,i.draggingColumn=null,i.dragState={},n.resizeProxyVisible=!1}document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",s),document.onselectstart=null,document.ondragstart=null,setTimeout((function(){Object(je["removeClass"])(r,"noclick")}),0)};document.addEventListener("mousemove",u),document.addEventListener("mouseup",h)}},handleMouseMove:function(e,t){if(!(t.children&&t.children.length>0)){var i=e.target;while(i&&"TH"!==i.tagName)i=i.parentNode;if(t&&t.resizable&&!this.dragging&&this.border){var n=i.getBoundingClientRect(),s=document.body.style;n.width>12&&n.right-e.pageX<8?(s.cursor="col-resize",Object(je["hasClass"])(i,"is-sortable")&&(i.style.cursor="col-resize"),this.draggingColumn=t):this.dragging||(s.cursor="",Object(je["hasClass"])(i,"is-sortable")&&(i.style.cursor="pointer"),this.draggingColumn=null)}}},handleMouseOut:function(){this.$isServer||(document.body.style.cursor="")},toggleOrder:function(e){var t=e.order,i=e.sortOrders;if(""===t)return i[0];var n=i.indexOf(t||null);return i[n>i.length-2?0:n+1]},handleSortClick:function(e,t,i){e.stopPropagation();var n=t.order===i?null:i||this.toggleOrder(t),s=e.target;while(s&&"TH"!==s.tagName)s=s.parentNode;if(s&&"TH"===s.tagName&&Object(je["hasClass"])(s,"noclick"))Object(je["removeClass"])(s,"noclick");else if(t.sortable){var a=this.store.states,r=a.sortProp,o=void 0,l=a.sortingColumn;(l!==t||l===t&&null===l.order)&&(l&&(l.order=null),a.sortingColumn=t,r=t.property),o=t.order=n||null,a.sortProp=r,a.sortOrder=o,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}},Rs=Object.assign||function(e){for(var t=1;t=this.leftFixedLeafCount;if("right"===this.fixed){for(var n=0,s=0;s=this.columnsCount-this.rightFixedCount)},getRowClasses:function(e,t){var i=[e.id,e.align,e.labelClassName];return e.className&&i.push(e.className),this.isCellHidden(t,this.columns,e)&&i.push("is-hidden"),e.children||i.push("is-leaf"),i}}},Ws=Object.assign||function(e){for(var t=1;t0){var n=i.scrollTop;t.pixelY<0&&0!==n&&e.preventDefault(),t.pixelY>0&&i.scrollHeight-i.clientHeight>n&&e.preventDefault(),i.scrollTop+=Math.ceil(t.pixelY/5)}else i.scrollLeft+=Math.ceil(t.pixelX/5)},handleHeaderFooterMousewheel:function(e,t){var i=t.pixelX,n=t.pixelY;Math.abs(i)>=Math.abs(n)&&(this.bodyWrapper.scrollLeft+=t.pixelX/5)},syncPostion:function(){var e=this.bodyWrapper,t=e.scrollLeft,i=e.scrollTop,n=e.offsetWidth,s=e.scrollWidth,a=this.$refs,r=a.headerWrapper,o=a.footerWrapper,l=a.fixedBodyWrapper,c=a.rightFixedBodyWrapper;r&&(r.scrollLeft=t),o&&(o.scrollLeft=t),l&&(l.scrollTop=i),c&&(c.scrollTop=i);var u=s-n-1;this.scrollPosition=t>=u?"right":0===t?"left":"middle"},throttleSyncPostion:Object(Fn["throttle"])(16,(function(){this.syncPostion()})),onScroll:function(e){var t=window.requestAnimationFrame;t?t(this.syncPostion):this.throttleSyncPostion()},bindEvents:function(){this.bodyWrapper.addEventListener("scroll",this.onScroll,{passive:!0}),this.fit&&Object(Ji["addResizeListener"])(this.$el,this.resizeListener)},unbindEvents:function(){this.bodyWrapper.removeEventListener("scroll",this.onScroll,{passive:!0}),this.fit&&Object(Ji["removeResizeListener"])(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var e=!1,t=this.$el,i=this.resizeState,n=i.width,s=i.height,a=t.offsetWidth;n!==a&&(e=!0);var r=t.offsetHeight;(this.height||this.shouldUpdateHeight)&&s!==r&&(e=!0),e&&(this.resizeState.width=a,this.resizeState.height=r,this.doLayout())}},doLayout:function(){this.shouldUpdateHeight&&this.layout.updateElsHeight(),this.layout.updateColumnsWidth()},sort:function(e,t){this.store.commit("sort",{prop:e,order:t})},toggleAllSelection:function(){this.store.commit("toggleAllSelection")}},computed:Ws({tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||this.fixedColumns.length>0||this.rightFixedColumns.length>0},bodyWidth:function(){var e=this.layout,t=e.bodyWidth,i=e.scrollY,n=e.gutterWidth;return t?t-(i?n:0)+"px":""},bodyHeight:function(){var e=this.layout,t=e.headerHeight,i=void 0===t?0:t,n=e.bodyHeight,s=e.footerHeight,a=void 0===s?0:s;if(this.height)return{height:n?n+"px":""};if(this.maxHeight){var r=is(this.maxHeight);if("number"===typeof r)return{"max-height":r-a-(this.showHeader?i:0)+"px"}}return{}},fixedBodyHeight:function(){if(this.height)return{height:this.layout.fixedBodyHeight?this.layout.fixedBodyHeight+"px":""};if(this.maxHeight){var e=is(this.maxHeight);if("number"===typeof e)return e=this.layout.scrollX?e-this.layout.gutterWidth:e,this.showHeader&&(e-=this.layout.headerHeight),e-=this.layout.footerHeight,{"max-height":e+"px"}}return{}},fixedHeight:function(){return this.maxHeight?this.showSummary?{bottom:0}:{bottom:this.layout.scrollX&&this.data.length?this.layout.gutterWidth+"px":""}:this.showSummary?{height:this.layout.tableHeight?this.layout.tableHeight+"px":""}:{height:this.layout.viewportHeight?this.layout.viewportHeight+"px":""}},emptyBlockStyle:function(){if(this.data&&this.data.length)return null;var e="100%";return this.layout.appendHeight&&(e="calc(100% - "+this.layout.appendHeight+"px)"),{width:this.bodyWidth,height:e}}},vs({selection:"selection",columns:"columns",tableData:"data",fixedColumns:"fixedColumns",rightFixedColumns:"rightFixedColumns"})),watch:{height:{immediate:!0,handler:function(e){this.layout.setHeight(e)}},maxHeight:{immediate:!0,handler:function(e){this.layout.setMaxHeight(e)}},currentRowKey:{immediate:!0,handler:function(e){this.rowKey&&this.store.setCurrentRowKey(e)}},data:{immediate:!0,handler:function(e){this.store.commit("setData",e)}},expandRowKeys:{immediate:!0,handler:function(e){e&&this.store.setExpandRowKeysAdapter(e)}}},created:function(){var e=this;this.tableId="el-table_"+Ys++,this.debouncedUpdateLayout=Object(Fn["debounce"])(50,(function(){return e.doLayout()}))},mounted:function(){var e=this;this.bindEvents(),this.store.updateColumns(),this.doLayout(),this.resizeState={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.store.states.columns.forEach((function(t){t.filteredValue&&t.filteredValue.length&&e.store.commit("filterChange",{column:t,values:t.filteredValue,silent:!0})})),this.$ready=!0},destroyed:function(){this.unbindEvents()},data:function(){var e=this.treeProps,t=e.hasChildren,i=void 0===t?"hasChildren":t,n=e.children,s=void 0===n?"children":n;this.store=ms(this,{rowKey:this.rowKey,defaultExpandAll:this.defaultExpandAll,selectOnIndeterminate:this.selectOnIndeterminate,indent:this.indent,lazy:this.lazy,lazyColumnIdentifier:i,childrenColumnName:s});var a=new xs({store:this.store,table:this,fit:this.fit,showHeader:this.showHeader});return{layout:a,isHidden:!1,renderExpanded:null,resizeProxyVisible:!1,resizeState:{width:null,height:null},isGroup:!1,scrollPosition:"left"}}},Ks=qs,Gs=o(Ks,Nn,In,!1,null,null,null);Gs.options.__file="packages/table/src/table.vue";var Us=Gs.exports;Us.install=function(e){e.component(Us.name,Us)};var Xs=Us,Zs={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:"",className:"el-table-column--selection"},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},Qs={selection:{renderHeader:function(e,t){var i=t.store;return e("el-checkbox",{attrs:{disabled:i.states.data&&0===i.states.data.length,indeterminate:i.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},on:{input:this.toggleAllSelection}})},renderCell:function(e,t){var i=t.row,n=t.column,s=t.isSelected,a=t.store,r=t.$index;return e("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},attrs:{value:s,disabled:!!n.selectable&&!n.selectable.call(null,i,r)},on:{input:function(){a.commit("rowSelectedChanged",i)}}})},sortable:!1,resizable:!1},index:{renderHeader:function(e,t){var i=t.column;return i.label||"#"},renderCell:function(e,t){var i=t.$index,n=t.column,s=i+1,a=n.index;return"number"===typeof a?s=i+a:"function"===typeof a&&(s=a(i)),e("div",[s])},sortable:!1},expand:{renderHeader:function(e,t){var i=t.column;return i.label||""},renderCell:function(e,t){var i=t.row,n=t.store,s=t.isExpanded,a=["el-table__expand-icon"];s&&a.push("el-table__expand-icon--expanded");var r=function(e){e.stopPropagation(),n.toggleRowExpansion(i)};return e("div",{class:a,on:{click:r}},[e("i",{class:"el-icon el-icon-arrow-right"})])},sortable:!1,resizable:!1,className:"el-table__expand-column"}};function Js(e,t){var i=t.row,n=t.column,s=t.$index,a=n.property,r=a&&Object(b["getPropByPath"])(i,a).v;return n&&n.formatter?n.formatter(i,n,r,s):r}function ea(e,t){var i=t.row,n=t.treeNode,s=t.store;if(!n)return null;var a=[],r=function(e){e.stopPropagation(),s.loadOrToggle(i)};if(n.indent&&a.push(e("span",{class:"el-table__indent",style:{"padding-left":n.indent+"px"}})),"boolean"!==typeof n.expanded||n.noLazyChildren)a.push(e("span",{class:"el-table__placeholder"}));else{var o=["el-table__expand-icon",n.expanded?"el-table__expand-icon--expanded":""],l=["el-icon-arrow-right"];n.loading&&(l=["el-icon-loading"]),a.push(e("div",{class:o,on:{click:r}},[e("i",{class:l})]))}return a}var ta=Object.assign||function(e){for(var t=1;t-1}))}}},data:function(){return{isSubColumn:!1,columns:[]}},computed:{owner:function(){var e=this.$parent;while(e&&!e.tableId)e=e.$parent;return e},columnOrTableParent:function(){var e=this.$parent;while(e&&!e.tableId&&!e.columnId)e=e.$parent;return e},realWidth:function(){return es(this.width)},realMinWidth:function(){return ts(this.minWidth)},realAlign:function(){return this.align?"is-"+this.align:null},realHeaderAlign:function(){return this.headerAlign?"is-"+this.headerAlign:this.realAlign}},methods:{getPropsData:function(){for(var e=this,t=arguments.length,i=Array(t),n=0;n3&&void 0!==arguments[3]?arguments[3]:"-";if(!e)return null;var s=(ma[i]||ma["default"]).parser,a=t||ca[i];return s(e,a,n)},ba=function(e,t,i){if(!e)return null;var n=(ma[i]||ma["default"]).formatter,s=t||ca[i];return n(e,s)},ya=function(e,t){var i=function(e,t){var i=e instanceof Date,n=t instanceof Date;return i&&n?e.getTime()===t.getTime():!i&&!n&&e===t},n=e instanceof Array,s=t instanceof Array;return n&&s?e.length===t.length&&e.every((function(e,n){return i(e,t[n])})):!n&&!s&&i(e,t)},Ca=function(e){return"string"===typeof e||e instanceof String},xa=function(e){return null===e||void 0===e||Ca(e)||Array.isArray(e)&&2===e.length&&e.every(Ca)},_a={mixins:[E.a,la],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:xa},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:xa},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean,validateEvent:{type:Boolean,default:!0}},components:{ElInput:m.a},directives:{Clickoutside:A.a},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(e){this.readonly||this.pickerDisabled||(e?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?[].concat(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.validateEvent&&this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()))},parsedValue:{immediate:!0,handler:function(e){this.picker&&(this.picker.value=e)}},defaultValue:function(e){this.picker&&(this.picker.defaultValue=e)},value:function(e,t){ya(e,t)||this.pickerVisible||!this.validateEvent||this.dispatch("ElFormItem","el.form.change",e)}},computed:{ranged:function(){return this.type.indexOf("range")>-1},reference:function(){var e=this.$refs.reference;return e.$el||e},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var e=this.value;if(Array.isArray(e)){for(var t=0,i=e.length;t0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.userInput=null,e.pickerVisible=e.picker.visible=i,e.emitInput(t),e.picker.resetView&&e.picker.resetView()})),this.picker.$on("select-range",(function(t,i,n){0!==e.refInput.length&&(n&&"min"!==n?"max"===n&&(e.refInput[1].setSelectionRange(t,i),e.refInput[1].focus()):(e.refInput[0].setSelectionRange(t,i),e.refInput[0].focus()))}))},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"===typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(e){ya(e,this.valueOnOpen)||(this.$emit("change",e),this.valueOnOpen=e,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",e))},emitInput:function(e){var t=this.formatToValue(e);ya(this.value,t)||this.$emit("input",t)},isValidValue:function(e){return this.picker||this.mountPicker(),!this.picker.isValidValue||e&&this.picker.isValidValue(e)}}},wa=_a,ka=o(wa,aa,ra,!1,null,null,null);ka.options.__file="packages/date-picker/src/picker.vue";var Sa=ka.exports,Da=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":e.handleEnter,"after-leave":e.handleLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[i("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?i("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,n){return i("button",{key:n,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(i){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),i("div",{staticClass:"el-picker-panel__body"},[e.showTime?i("div",{staticClass:"el-date-picker__time-header"},[i("span",{staticClass:"el-date-picker__editor-wrap"},[i("el-input",{attrs:{placeholder:e.t("el.datepicker.selectDate"),value:e.visibleDate,size:"small"},on:{input:function(t){return e.userInputDate=t},change:e.handleVisibleDateChange}})],1),i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleTimePickClose,expression:"handleTimePickClose"}],staticClass:"el-date-picker__editor-wrap"},[i("el-input",{ref:"input",attrs:{placeholder:e.t("el.datepicker.selectTime"),value:e.visibleTime,size:"small"},on:{focus:function(t){e.timePickerVisible=!0},input:function(t){return e.userInputTime=t},change:e.handleVisibleTimeChange}}),i("time-picker",{ref:"timepicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.timePickerVisible},on:{pick:e.handleTimePick,mounted:e.proxyTimePickerDataProperties}})],1)]):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:"time"!==e.currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header",class:{"el-date-picker__header--bordered":"year"===e.currentView||"month"===e.currentView}},[i("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevYear")},on:{click:e.prevYear}}),i("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevMonth")},on:{click:e.prevMonth}}),i("span",{staticClass:"el-date-picker__header-label",attrs:{role:"button"},on:{click:e.showYearPicker}},[e._v(e._s(e.yearLabel))]),i("span",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label",class:{active:"month"===e.currentView},attrs:{role:"button"},on:{click:e.showMonthPicker}},[e._v(e._s(e.t("el.datepicker.month"+(e.month+1))))]),i("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextYear")},on:{click:e.nextYear}}),i("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextMonth")},on:{click:e.nextMonth}})]),i("div",{staticClass:"el-picker-panel__content"},[i("date-table",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],attrs:{"selection-mode":e.selectionMode,"first-day-of-week":e.firstDayOfWeek,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"cell-class-name":e.cellClassName,"disabled-date":e.disabledDate},on:{pick:e.handleDatePick}}),i("year-table",{directives:[{name:"show",rawName:"v-show",value:"year"===e.currentView,expression:"currentView === 'year'"}],attrs:{"selection-mode":e.selectionMode,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleYearPick}}),i("month-table",{directives:[{name:"show",rawName:"v-show",value:"month"===e.currentView,expression:"currentView === 'month'"}],attrs:{"selection-mode":e.selectionMode,value:e.value,"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleMonthPick}})],1)])],2),i("div",{directives:[{name:"show",rawName:"v-show",value:e.footerVisible&&("date"===e.currentView||"month"===e.currentView||"year"===e.currentView),expression:"footerVisible && (currentView === 'date' || currentView === 'month' || currentView === 'year')"}],staticClass:"el-picker-panel__footer"},[i("el-button",{directives:[{name:"show",rawName:"v-show",value:"dates"!==e.selectionMode&&"months"!==e.selectionMode&&"years"!==e.selectionMode,expression:"selectionMode !== 'dates' && selectionMode !== 'months' && selectionMode !== 'years'"}],staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.changeToNow}},[e._v("\n "+e._s(e.t("el.datepicker.now"))+"\n ")]),i("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini"},on:{click:e.confirm}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1)])])},$a=[];Da._withStripped=!0;var Ea=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-panel el-popper",class:e.popperClass},[i("div",{staticClass:"el-time-panel__content",class:{"has-seconds":e.showSeconds}},[i("time-spinner",{ref:"spinner",attrs:{"arrow-control":e.useArrow,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,date:e.date},on:{change:e.handleChange,"select-range":e.setSelectionRange}})],1),i("div",{staticClass:"el-time-panel__footer"},[i("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:e.handleCancel}},[e._v(e._s(e.t("el.datepicker.cancel")))]),i("button",{staticClass:"el-time-panel__btn",class:{confirm:!e.disabled},attrs:{type:"button"},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},Oa=[];Ea._withStripped=!0;var Ta=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-time-spinner",class:{"has-seconds":e.showSeconds}},[e.arrowControl?e._e():[i("el-scrollbar",{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("hours")},mousemove:function(t){e.adjustCurrentSpinner("hours")}}},e._l(e.hoursList,(function(t,n){return i("li",{key:n,staticClass:"el-time-spinner__item",class:{active:n===e.hours,disabled:t},on:{click:function(i){e.handleClick("hours",{value:n,disabled:t})}}},[e._v(e._s(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+e._s(e.amPm(n)))])})),0),i("el-scrollbar",{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("minutes")},mousemove:function(t){e.adjustCurrentSpinner("minutes")}}},e._l(e.minutesList,(function(t,n){return i("li",{key:n,staticClass:"el-time-spinner__item",class:{active:n===e.minutes,disabled:!t},on:{click:function(t){e.handleClick("minutes",{value:n,disabled:!1})}}},[e._v(e._s(("0"+n).slice(-2)))])})),0),i("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("seconds")},mousemove:function(t){e.adjustCurrentSpinner("seconds")}}},e._l(60,(function(t,n){return i("li",{key:n,staticClass:"el-time-spinner__item",class:{active:n===e.seconds},on:{click:function(t){e.handleClick("seconds",{value:n,disabled:!1})}}},[e._v(e._s(("0"+n).slice(-2)))])})),0)],e.arrowControl?[i("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("hours")}}},[i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),i("ul",{ref:"hours",staticClass:"el-time-spinner__list"},e._l(e.arrowHourList,(function(t,n){return i("li",{key:n,staticClass:"el-time-spinner__item",class:{active:t===e.hours,disabled:e.hoursList[t]}},[e._v(e._s(void 0===t?"":("0"+(e.amPmMode?t%12||12:t)).slice(-2)+e.amPm(t)))])})),0)]),i("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("minutes")}}},[i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),i("ul",{ref:"minutes",staticClass:"el-time-spinner__list"},e._l(e.arrowMinuteList,(function(t,n){return i("li",{key:n,staticClass:"el-time-spinner__item",class:{active:t===e.minutes}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])})),0)]),e.showSeconds?i("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("seconds")}}},[i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),i("ul",{ref:"seconds",staticClass:"el-time-spinner__list"},e._l(e.arrowSecondList,(function(t,n){return i("li",{key:n,staticClass:"el-time-spinner__item",class:{active:t===e.seconds}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])})),0)]):e._e()]:e._e()],2)},Na=[];Ta._withStripped=!0;var Ia={components:{ElScrollbar:Y.a},directives:{repeatClick:Mt},props:{date:{},defaultValue:{},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""}},computed:{hours:function(){return this.date.getHours()},minutes:function(){return this.date.getMinutes()},seconds:function(){return this.date.getSeconds()},hoursList:function(){return Object(oa["getRangeHours"])(this.selectableRange)},minutesList:function(){return Object(oa["getRangeMinutes"])(this.selectableRange,this.hours)},arrowHourList:function(){var e=this.hours;return[e>0?e-1:void 0,e,e<23?e+1:void 0]},arrowMinuteList:function(){var e=this.minutes;return[e>0?e-1:void 0,e,e<59?e+1:void 0]},arrowSecondList:function(){var e=this.seconds;return[e>0?e-1:void 0,e,e<59?e+1:void 0]}},data:function(){return{selectableRange:[],currentScrollbar:null}},mounted:function(){var e=this;this.$nextTick((function(){!e.arrowControl&&e.bindScrollEvent()}))},methods:{increase:function(){this.scrollDown(1)},decrease:function(){this.scrollDown(-1)},modifyDateField:function(e,t){switch(e){case"hours":this.$emit("change",Object(oa["modifyTime"])(this.date,t,this.minutes,this.seconds));break;case"minutes":this.$emit("change",Object(oa["modifyTime"])(this.date,this.hours,t,this.seconds));break;case"seconds":this.$emit("change",Object(oa["modifyTime"])(this.date,this.hours,this.minutes,t));break}},handleClick:function(e,t){var i=t.value,n=t.disabled;n||(this.modifyDateField(e,i),this.emitSelectRange(e),this.adjustSpinner(e,i))},emitSelectRange:function(e){"hours"===e?this.$emit("select-range",0,2):"minutes"===e?this.$emit("select-range",3,5):"seconds"===e&&this.$emit("select-range",6,8),this.currentScrollbar=e},bindScrollEvent:function(){var e=this,t=function(t){e.$refs[t].wrap.onscroll=function(i){e.handleScroll(t,i)}};t("hours"),t("minutes"),t("seconds")},handleScroll:function(e){var t=Math.min(Math.round((this.$refs[e].wrap.scrollTop-(.5*this.scrollBarHeight(e)-10)/this.typeItemHeight(e)+3)/this.typeItemHeight(e)),"hours"===e?23:59);this.modifyDateField(e,t)},adjustSpinners:function(){this.adjustSpinner("hours",this.hours),this.adjustSpinner("minutes",this.minutes),this.adjustSpinner("seconds",this.seconds)},adjustCurrentSpinner:function(e){this.adjustSpinner(e,this[e])},adjustSpinner:function(e,t){if(!this.arrowControl){var i=this.$refs[e].wrap;i&&(i.scrollTop=Math.max(0,t*this.typeItemHeight(e)))}},scrollDown:function(e){var t=this;this.currentScrollbar||this.emitSelectRange("hours");var i=this.currentScrollbar,n=this.hoursList,s=this[i];if("hours"===this.currentScrollbar){var a=Math.abs(e);e=e>0?1:-1;var r=n.length;while(r--&&a)s=(s+e+n.length)%n.length,n[s]||a--;if(n[s])return}else s=(s+e+60)%60;this.modifyDateField(i,s),this.adjustSpinner(i,s),this.$nextTick((function(){return t.emitSelectRange(t.currentScrollbar)}))},amPm:function(e){var t="a"===this.amPmMode.toLowerCase();if(!t)return"";var i="A"===this.amPmMode,n=e<12?" am":" pm";return i&&(n=n.toUpperCase()),n},typeItemHeight:function(e){return this.$refs[e].$el.querySelector("li").offsetHeight},scrollBarHeight:function(e){return this.$refs[e].$el.offsetHeight}}},Pa=Ia,Ma=o(Pa,Ta,Na,!1,null,null,null);Ma.options.__file="packages/date-picker/src/basic/time-spinner.vue";var Fa=Ma.exports,Va={mixins:[g.a],components:{TimeSpinner:Fa},props:{visible:Boolean,timeArrowControl:Boolean},watch:{visible:function(e){var t=this;e?(this.oldValue=this.value,this.$nextTick((function(){return t.$refs.spinner.emitSelectRange("hours")}))):this.needInitAdjust=!0},value:function(e){var t=this,i=void 0;e instanceof Date?i=Object(oa["limitTimeRange"])(e,this.selectableRange,this.format):e||(i=this.defaultValue?new Date(this.defaultValue):new Date),this.date=i,this.visible&&this.needInitAdjust&&(this.$nextTick((function(e){return t.adjustSpinners()})),this.needInitAdjust=!1)},selectableRange:function(e){this.$refs.spinner.selectableRange=e},defaultValue:function(e){Object(oa["isDate"])(this.value)||(this.date=e?new Date(e):new Date)}},data:function(){return{popperClass:"",format:"HH:mm:ss",value:"",defaultValue:null,date:new Date,oldValue:new Date,selectableRange:[],selectionRange:[0,2],disabled:!1,arrowControl:!1,needInitAdjust:!0}},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},useArrow:function(){return this.arrowControl||this.timeArrowControl||!1},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},methods:{handleCancel:function(){this.$emit("pick",this.oldValue,!1)},handleChange:function(e){this.visible&&(this.date=Object(oa["clearMilliseconds"])(e),this.isValidValue(this.date)&&this.$emit("pick",this.date,!0))},setSelectionRange:function(e,t){this.$emit("select-range",e,t),this.selectionRange=[e,t]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(!t){var i=Object(oa["clearMilliseconds"])(Object(oa["limitTimeRange"])(this.date,this.selectableRange,this.format));this.$emit("pick",i,e,t)}},handleKeydown:function(e){var t=e.keyCode,i={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var n=i[t];return this.changeSelectionRange(n),void e.preventDefault()}if(38===t||40===t){var s=i[t];return this.$refs.spinner.scrollDown(s),void e.preventDefault()}},isValidValue:function(e){return Object(oa["timeWithinRange"])(e,this.selectableRange,this.format)},adjustSpinners:function(){return this.$refs.spinner.adjustSpinners()},changeSelectionRange:function(e){var t=[0,3].concat(this.showSeconds?[6]:[]),i=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),n=t.indexOf(this.selectionRange[0]),s=(n+e+t.length)%t.length;this.$refs.spinner.emitSelectRange(i[s])}},mounted:function(){var e=this;this.$nextTick((function(){return e.handleConfirm(!0,!0)})),this.$emit("mounted")}},La=Va,ja=o(La,Ea,Oa,!1,null,null,null);ja.options.__file="packages/date-picker/src/panel/time.vue";var Aa=ja.exports,Ba=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("table",{staticClass:"el-year-table",on:{click:e.handleYearTableClick}},[i("tbody",[i("tr",[i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+0)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+1)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+1))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+2)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+2))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+3)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+3))])])]),i("tr",[i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+4)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+4))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+5)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+5))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+6)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+6))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+7)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+7))])])]),i("tr",[i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+8)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+8))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+9)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+9))])]),i("td"),i("td")])])])},za=[];Ba._withStripped=!0;var Ra=function(e){var t=Object(oa["getDayCountOfYear"])(e),i=new Date(e,0,1);return Object(oa["range"])(t).map((function(e){return Object(oa["nextDate"])(i,e)}))},Ha={props:{disabledDate:{},value:{},defaultValue:{validator:function(e){return null===e||e instanceof Date&&Object(oa["isDate"])(e)}},date:{},selectionMode:{}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{getCellStyle:function(e){var t={},i=new Date;return t.disabled="function"===typeof this.disabledDate&&Ra(e).every(this.disabledDate),t.current=Object(b["arrayFindIndex"])(Object(b["coerceTruthyValueToArray"])(this.value),(function(t){return t.getFullYear()===e}))>=0,t.today=i.getFullYear()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===e,t},handleYearTableClick:function(e){var t=e.target;if("A"===t.tagName){if(Object(je["hasClass"])(t.parentNode,"disabled"))return;var i=t.textContent||t.innerText;if("years"===this.selectionMode){var n=this.value||[],s=Object(b["arrayFindIndex"])(n,(function(e){return e.getFullYear()===Number(i)})),a=s>-1?[].concat(n.slice(0,s),n.slice(s+1)):[].concat(n,[new Date(i)]);this.$emit("pick",a)}else this.$emit("pick",Number(i))}}}},Wa=Ha,Ya=o(Wa,Ba,za,!1,null,null,null);Ya.options.__file="packages/date-picker/src/basic/year-table.vue";var qa=Ya.exports,Ka=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("table",{staticClass:"el-month-table",on:{click:e.handleMonthTableClick,mousemove:e.handleMouseMove}},[i("tbody",e._l(e.rows,(function(t,n){return i("tr",{key:n},e._l(t,(function(t,n){return i("td",{key:n,class:e.getCellStyle(t)},[i("div",[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months."+e.months[t.text])))])])])})),0)})),0)])},Ga=[];Ka._withStripped=!0;var Ua=function(e,t){var i=Object(oa["getDayCountOfMonth"])(e,t),n=new Date(e,t,1);return Object(oa["range"])(i).map((function(e){return Object(oa["nextDate"])(n,e)}))},Xa=function(e){return new Date(e.getFullYear(),e.getMonth())},Za=function(e){return"number"===typeof e||"string"===typeof e?Xa(new Date(e)).getTime():e instanceof Date?Xa(e).getTime():NaN},Qa=function(e,t){var i="function"===typeof t?Object(b["arrayFindIndex"])(e,t):e.indexOf(t);return i>=0?[].concat(e.slice(0,i),e.slice(i+1)):e},Ja={props:{disabledDate:{},value:{},selectionMode:{default:"month"},minDate:{},maxDate:{},defaultValue:{validator:function(e){return null===e||Object(oa["isDate"])(e)||Array.isArray(e)&&e.every(oa["isDate"])}},date:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},mixins:[g.a],watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){Za(e)!==Za(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){Za(e)!==Za(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{months:["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],tableRows:[[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var i=new Date(t);return this.date.getFullYear()===i.getFullYear()&&Number(e.text)===i.getMonth()},getCellStyle:function(e){var t=this,i={},n=this.date.getFullYear(),s=new Date,a=e.text,r=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[];return i.disabled="function"===typeof this.disabledDate&&Ua(n,a).every(this.disabledDate),i.current=Object(b["arrayFindIndex"])(Object(b["coerceTruthyValueToArray"])(this.value),(function(e){return e.getFullYear()===n&&e.getMonth()===a}))>=0,i.today=s.getFullYear()===n&&s.getMonth()===a,i.default=r.some((function(i){return t.cellMatchesDate(e,i)})),e.inRange&&(i["in-range"]=!0,e.start&&(i["start-date"]=!0),e.end&&(i["end-date"]=!0)),i},getMonthOfCell:function(e){var t=this.date.getFullYear();return new Date(t,e,1)},markRange:function(e,t){e=Za(e),t=Za(t)||e;var i=[Math.min(e,t),Math.max(e,t)];e=i[0],t=i[1];for(var n=this.rows,s=0,a=n.length;s=e&&h<=t,c.start=e&&h===e,c.end=t&&h===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var i=t.parentNode.rowIndex,n=t.cellIndex;this.rows[i][n].disabled||i===this.lastRow&&n===this.lastColumn||(this.lastRow=i,this.lastColumn=n,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getMonthOfCell(4*i+n)}}))}}},handleMonthTableClick:function(e){var t=e.target;if("A"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName&&!Object(je["hasClass"])(t,"disabled")){var i=t.cellIndex,n=t.parentNode.rowIndex,s=4*n+i,a=this.getMonthOfCell(s);if("range"===this.selectionMode)this.rangeState.selecting?(a>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:a}):this.$emit("pick",{minDate:a,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:a,maxDate:null}),this.rangeState.selecting=!0);else if("months"===this.selectionMode){var r=this.value||[],o=this.date.getFullYear(),l=Object(b["arrayFindIndex"])(r,(function(e){return e.getFullYear()===o&&e.getMonth()===s}))>=0?Qa(r,(function(e){return e.getTime()===a.getTime()})):[].concat(r,[a]);this.$emit("pick",l)}else this.$emit("pick",s)}}},computed:{rows:function(){for(var e=this,t=this.tableRows,i=this.disabledDate,n=[],s=Za(new Date),a=0;a<3;a++)for(var r=t[a],o=function(t){var o=r[t];o||(o={row:a,column:t,type:"normal",inRange:!1,start:!1,end:!1}),o.type="normal";var l=4*a+t,c=new Date(e.date.getFullYear(),l).getTime();o.inRange=c>=Za(e.minDate)&&c<=Za(e.maxDate),o.start=e.minDate&&c===Za(e.minDate),o.end=e.maxDate&&c===Za(e.maxDate);var u=c===s;u&&(o.type="today"),o.text=l;var h=new Date(c);o.disabled="function"===typeof i&&i(h),o.selected=Object(b["arrayFind"])(n,(function(e){return e.getTime()===h.getTime()})),e.$set(r,t,o)},l=0;l<4;l++)o(l);return t}}},er=Ja,tr=o(er,Ka,Ga,!1,null,null,null);tr.options.__file="packages/date-picker/src/basic/month-table.vue";var ir=tr.exports,nr=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===e.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:e.handleClick,mousemove:e.handleMouseMove}},[i("tbody",[i("tr",[e.showWeekNumber?i("th",[e._v(e._s(e.t("el.datepicker.week")))]):e._e(),e._l(e.WEEKS,(function(t,n){return i("th",{key:n},[e._v(e._s(e.t("el.datepicker.weeks."+t)))])}))],2),e._l(e.rows,(function(t,n){return i("tr",{key:n,staticClass:"el-date-table__row",class:{current:e.isWeekActive(t[1])}},e._l(t,(function(t,n){return i("td",{key:n,class:e.getCellClasses(t)},[i("div",[i("span",[e._v("\n "+e._s(t.text)+"\n ")])])])})),0)}))],2)])},sr=[];nr._withStripped=!0;var ar=["sun","mon","tue","wed","thu","fri","sat"],rr=function(e){return"number"===typeof e||"string"===typeof e?Object(oa["clearTime"])(new Date(e)).getTime():e instanceof Date?Object(oa["clearTime"])(e).getTime():NaN},or=function(e,t){var i="function"===typeof t?Object(b["arrayFindIndex"])(e,t):e.indexOf(t);return i>=0?[].concat(e.slice(0,i),e.slice(i+1)):e},lr={mixins:[g.a],props:{firstDayOfWeek:{default:7,type:Number,validator:function(e){return e>=1&&e<=7}},value:{},defaultValue:{validator:function(e){return null===e||Object(oa["isDate"])(e)||Array.isArray(e)&&e.every(oa["isDate"])}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},cellClassName:{},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1}}}},computed:{offsetDay:function(){var e=this.firstDayOfWeek;return e>3?7-e:-e},WEEKS:function(){var e=this.firstDayOfWeek;return ar.concat(ar).slice(e,e+7)},year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},startDate:function(){return Object(oa["getStartDateOfMonth"])(this.year,this.month)},rows:function(){var e=this,t=new Date(this.year,this.month,1),i=Object(oa["getFirstDayOfMonth"])(t),n=Object(oa["getDayCountOfMonth"])(t.getFullYear(),t.getMonth()),s=Object(oa["getDayCountOfMonth"])(t.getFullYear(),0===t.getMonth()?11:t.getMonth()-1);i=0===i?7:i;for(var a=this.offsetDay,r=this.tableRows,o=1,l=this.startDate,c=this.disabledDate,u=this.cellClassName,h="dates"===this.selectionMode?Object(b["coerceTruthyValueToArray"])(this.value):[],d=rr(new Date),p=0;p<6;p++){var f=r[p];this.showWeekNumber&&(f[0]||(f[0]={type:"week",text:Object(oa["getWeekNumber"])(Object(oa["nextDate"])(l,7*p+1))}));for(var m=function(t){var r=f[e.showWeekNumber?t+1:t];r||(r={row:p,column:t,type:"normal",inRange:!1,start:!1,end:!1}),r.type="normal";var m=7*p+t,v=Object(oa["nextDate"])(l,m-a).getTime();r.inRange=v>=rr(e.minDate)&&v<=rr(e.maxDate),r.start=e.minDate&&v===rr(e.minDate),r.end=e.maxDate&&v===rr(e.maxDate);var g=v===d;if(g&&(r.type="today"),p>=0&&p<=1){var y=i+a<0?7+i+a:i+a;t+7*p>=y?r.text=o++:(r.text=s-(y-t%7)+1+7*p,r.type="prev-month")}else o<=n?r.text=o++:(r.text=o++-n,r.type="next-month");var C=new Date(v);r.disabled="function"===typeof c&&c(C),r.selected=Object(b["arrayFind"])(h,(function(e){return e.getTime()===C.getTime()})),r.customClass="function"===typeof u&&u(C),e.$set(f,e.showWeekNumber?t+1:t,r)},v=0;v<7;v++)m(v);if("week"===this.selectionMode){var g=this.showWeekNumber?1:0,y=this.showWeekNumber?7:6,C=this.isWeekActive(f[g+1]);f[g].inRange=C,f[g].start=C,f[y].inRange=C,f[y].end=C}}return r}},watch:{"rangeState.endDate":function(e){this.markRange(this.minDate,e)},minDate:function(e,t){rr(e)!==rr(t)&&this.markRange(this.minDate,this.maxDate)},maxDate:function(e,t){rr(e)!==rr(t)&&this.markRange(this.minDate,this.maxDate)}},data:function(){return{tableRows:[[],[],[],[],[],[]],lastRow:null,lastColumn:null}},methods:{cellMatchesDate:function(e,t){var i=new Date(t);return this.year===i.getFullYear()&&this.month===i.getMonth()&&Number(e.text)===i.getDate()},getCellClasses:function(e){var t=this,i=this.selectionMode,n=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],s=[];return"normal"!==e.type&&"today"!==e.type||e.disabled?s.push(e.type):(s.push("available"),"today"===e.type&&s.push("today")),"normal"===e.type&&n.some((function(i){return t.cellMatchesDate(e,i)}))&&s.push("default"),"day"!==i||"normal"!==e.type&&"today"!==e.type||!this.cellMatchesDate(e,this.value)||s.push("current"),!e.inRange||"normal"!==e.type&&"today"!==e.type&&"week"!==this.selectionMode||(s.push("in-range"),e.start&&s.push("start-date"),e.end&&s.push("end-date")),e.disabled&&s.push("disabled"),e.selected&&s.push("selected"),e.customClass&&s.push(e.customClass),s.join(" ")},getDateOfCell:function(e,t){var i=7*e+(t-(this.showWeekNumber?1:0))-this.offsetDay;return Object(oa["nextDate"])(this.startDate,i)},isWeekActive:function(e){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),i=t.getFullYear(),n=t.getMonth();if("prev-month"===e.type&&(t.setMonth(0===n?11:n-1),t.setFullYear(0===n?i-1:i)),"next-month"===e.type&&(t.setMonth(11===n?0:n+1),t.setFullYear(11===n?i+1:i)),t.setDate(parseInt(e.text,10)),Object(oa["isDate"])(this.value)){var s=(this.value.getDay()-this.firstDayOfWeek+7)%7-1,a=Object(oa["prevDate"])(this.value,s);return a.getTime()===t.getTime()}return!1},markRange:function(e,t){e=rr(e),t=rr(t)||e;var i=[Math.min(e,t),Math.max(e,t)];e=i[0],t=i[1];for(var n=this.startDate,s=this.rows,a=0,r=s.length;a=e&&d<=t,u.start=e&&d===e,u.end=t&&d===t}},handleMouseMove:function(e){if(this.rangeState.selecting){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var i=t.parentNode.rowIndex-1,n=t.cellIndex;this.rows[i][n].disabled||i===this.lastRow&&n===this.lastColumn||(this.lastRow=i,this.lastColumn=n,this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:{selecting:!0,endDate:this.getDateOfCell(i,n)}}))}}},handleClick:function(e){var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var i=t.parentNode.rowIndex-1,n="week"===this.selectionMode?1:t.cellIndex,s=this.rows[i][n];if(!s.disabled&&"week"!==s.type){var a=this.getDateOfCell(i,n);if("range"===this.selectionMode)this.rangeState.selecting?(a>=this.minDate?this.$emit("pick",{minDate:this.minDate,maxDate:a}):this.$emit("pick",{minDate:a,maxDate:this.minDate}),this.rangeState.selecting=!1):(this.$emit("pick",{minDate:a,maxDate:null}),this.rangeState.selecting=!0);else if("day"===this.selectionMode)this.$emit("pick",a);else if("week"===this.selectionMode){var r=Object(oa["getWeekNumber"])(a),o=a.getFullYear()+"w"+r;this.$emit("pick",{year:a.getFullYear(),week:r,value:o,date:a})}else if("dates"===this.selectionMode){var l=this.value||[],c=s.selected?or(l,(function(e){return e.getTime()===a.getTime()})):[].concat(l,[a]);this.$emit("pick",c)}}}}}},cr=lr,ur=o(cr,nr,sr,!1,null,null,null);ur.options.__file="packages/date-picker/src/basic/date-table.vue";var hr=ur.exports,dr={mixins:[g.a],directives:{Clickoutside:A.a},watch:{showTime:function(e){var t=this;e&&this.$nextTick((function(e){var i=t.$refs.input.$el;i&&(t.pickerWidth=i.getBoundingClientRect().width+10)}))},value:function(e){"dates"===this.selectionMode&&this.value||"months"===this.selectionMode&&this.value||"years"===this.selectionMode&&this.value||(Object(oa["isDate"])(e)?this.date=new Date(e):this.date=this.getDefaultValue())},defaultValue:function(e){Object(oa["isDate"])(this.value)||(this.date=e?new Date(e):new Date)},timePickerVisible:function(e){var t=this;e&&this.$nextTick((function(){return t.$refs.timepicker.adjustSpinners()}))},selectionMode:function(e){"month"===e?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===e?this.currentView="date":"years"===e?this.currentView="year":"months"===e&&(this.currentView="month")}},methods:{proxyTimePickerDataProperties:function(){var e=this,t=function(t){e.$refs.timepicker.format=t},i=function(t){e.$refs.timepicker.value=t},n=function(t){e.$refs.timepicker.date=t},s=function(t){e.$refs.timepicker.selectableRange=t};this.$watch("value",i),this.$watch("date",n),this.$watch("selectableRange",s),t(this.timeFormat),i(this.value),n(this.date),s(this.selectableRange)},handleClear:function(){this.date=this.getDefaultValue(),this.$emit("pick",null)},emit:function(e){for(var t=this,i=arguments.length,n=Array(i>1?i-1:0),s=1;s0)||Object(oa["timeWithinRange"])(e,this.selectableRange,this.format||"HH:mm:ss")}},components:{TimePicker:Aa,YearTable:qa,MonthTable:ir,DateTable:hr,ElInput:m.a,ElButton:re.a},data:function(){return{popperClass:"",date:new Date,value:"",defaultValue:null,defaultTime:null,showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",cellClassName:"",selectableRange:[],firstDayOfWeek:7,showWeekNumber:!1,timePickerVisible:!1,format:"",arrowControl:!1,userInputDate:null,userInputTime:null}},computed:{year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},week:function(){return Object(oa["getWeekNumber"])(this.date)},monthDate:function(){return this.date.getDate()},footerVisible:function(){return this.showTime||"dates"===this.selectionMode||"months"===this.selectionMode||"years"===this.selectionMode},visibleTime:function(){return null!==this.userInputTime?this.userInputTime:Object(oa["formatDate"])(this.value||this.defaultValue,this.timeFormat)},visibleDate:function(){return null!==this.userInputDate?this.userInputDate:Object(oa["formatDate"])(this.value||this.defaultValue,this.dateFormat)},yearLabel:function(){var e=this.t("el.datepicker.year");if("year"===this.currentView){var t=10*Math.floor(this.year/10);return e?t+" "+e+" - "+(t+9)+" "+e:t+" - "+(t+9)}return this.year+" "+e},timeFormat:function(){return this.format?Object(oa["extractTimeFormat"])(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(oa["extractDateFormat"])(this.format):"yyyy-MM-dd"}}},pr=dr,fr=o(pr,Da,$a,!1,null,null,null);fr.options.__file="packages/date-picker/src/panel/date.vue";var mr=fr.exports,vr=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[i("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?i("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,n){return i("button",{key:n,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(i){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),i("div",{staticClass:"el-picker-panel__body"},[e.showTime?i("div",{staticClass:"el-date-range-picker__time-header"},[i("span",{staticClass:"el-date-range-picker__editors-wrap"},[i("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{ref:"minInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),value:e.minVisibleDate},on:{input:function(t){return e.handleDateInput(t,"min")},change:function(t){return e.handleDateChange(t,"min")}}})],1),i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMinTimeClose,expression:"handleMinTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),value:e.minVisibleTime},on:{focus:function(t){e.minTimePickerVisible=!0},input:function(t){return e.handleTimeInput(t,"min")},change:function(t){return e.handleTimeChange(t,"min")}}}),i("time-picker",{ref:"minTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.minTimePickerVisible},on:{pick:e.handleMinTimePick,mounted:function(t){e.$refs.minTimePicker.format=e.timeFormat}}})],1)]),i("span",{staticClass:"el-icon-arrow-right"}),i("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[i("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),value:e.maxVisibleDate,readonly:!e.minDate},on:{input:function(t){return e.handleDateInput(t,"max")},change:function(t){return e.handleDateChange(t,"max")}}})],1),i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleMaxTimeClose,expression:"handleMaxTimeClose"}],staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),value:e.maxVisibleTime,readonly:!e.minDate},on:{focus:function(t){e.minDate&&(e.maxTimePickerVisible=!0)},input:function(t){return e.handleTimeInput(t,"max")},change:function(t){return e.handleTimeChange(t,"max")}}}),i("time-picker",{ref:"maxTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.maxTimePickerVisible},on:{pick:e.handleMaxTimePick,mounted:function(t){e.$refs.maxTimePicker.format=e.timeFormat}}})],1)])]):e._e(),i("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[i("div",{staticClass:"el-date-range-picker__header"},[i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevMonth}}),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.leftNextMonth}}):e._e(),i("div",[e._v(e._s(e.leftLabel))])]),i("date-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),i("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[i("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.rightPrevMonth}}):e._e(),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:e.rightNextMonth}}),i("div",[e._v(e._s(e.rightLabel))])]),i("date-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"cell-class-name":e.cellClassName,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2),e.showTime?i("div",{staticClass:"el-picker-panel__footer"},[i("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.handleClear}},[e._v("\n "+e._s(e.t("el.datepicker.clear"))+"\n ")]),i("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm(!1)}}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1):e._e()])])},gr=[];vr._withStripped=!0;var br=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(oa["nextDate"])(new Date(e),1)]:[new Date,Object(oa["nextDate"])(new Date,1)]},yr={mixins:[g.a],directives:{Clickoutside:A.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.leftDate.getMonth()+1))},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.rightDate.getMonth()+1))},leftYear:function(){return this.leftDate.getFullYear()},leftMonth:function(){return this.leftDate.getMonth()},leftMonthDate:function(){return this.leftDate.getDate()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},rightMonthDate:function(){return this.rightDate.getDate()},minVisibleDate:function(){return null!==this.dateUserInput.min?this.dateUserInput.min:this.minDate?Object(oa["formatDate"])(this.minDate,this.dateFormat):""},maxVisibleDate:function(){return null!==this.dateUserInput.max?this.dateUserInput.max:this.maxDate||this.minDate?Object(oa["formatDate"])(this.maxDate||this.minDate,this.dateFormat):""},minVisibleTime:function(){return null!==this.timeUserInput.min?this.timeUserInput.min:this.minDate?Object(oa["formatDate"])(this.minDate,this.timeFormat):""},maxVisibleTime:function(){return null!==this.timeUserInput.max?this.timeUserInput.max:this.maxDate||this.minDate?Object(oa["formatDate"])(this.maxDate||this.minDate,this.timeFormat):""},timeFormat:function(){return this.format?Object(oa["extractTimeFormat"])(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?Object(oa["extractDateFormat"])(this.format):"yyyy-MM-dd"},enableMonthArrow:function(){var e=(this.leftMonth+1)%12,t=this.leftMonth+1>=12?1:0;return this.unlinkPanels&&new Date(this.leftYear+t,e)=12}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(oa["nextMonth"])(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",visible:"",disabledDate:"",cellClassName:"",firstDayOfWeek:7,minTimePickerVisible:!1,maxTimePickerVisible:!1,format:"",arrowControl:!1,unlinkPanels:!1,dateUserInput:{min:null,max:null},timeUserInput:{min:null,max:null}}},watch:{minDate:function(e){var t=this;this.dateUserInput.min=null,this.timeUserInput.min=null,this.$nextTick((function(){if(t.$refs.maxTimePicker&&t.maxDate&&t.maxDatethis.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=Object(oa["modifyDate"])(this.maxDate,i.getFullYear(),i.getMonth(),i.getDate()),this.maxDatethis.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=Object(oa["modifyTime"])(this.maxDate,i.getHours(),i.getMinutes(),i.getSeconds()),this.maxDate1&&void 0!==arguments[1])||arguments[1],n=this.defaultTime||[],s=Object(oa["modifyWithTimeString"])(e.minDate,n[0]),a=Object(oa["modifyWithTimeString"])(e.maxDate,n[1]);this.maxDate===a&&this.minDate===s||(this.onPick&&this.onPick(e),this.maxDate=a,this.minDate=s,setTimeout((function(){t.maxDate=a,t.minDate=s}),10),i&&!this.showTime&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleMinTimePick:function(e,t,i){this.minDate=this.minDate||new Date,e&&(this.minDate=Object(oa["modifyTime"])(this.minDate,e.getHours(),e.getMinutes(),e.getSeconds())),i||(this.minTimePickerVisible=t),(!this.maxDate||this.maxDate&&this.maxDate.getTime()this.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},handleMaxTimeClose:function(){this.maxTimePickerVisible=!1},leftPrevYear:function(){this.leftDate=Object(oa["prevYear"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(oa["nextMonth"])(this.leftDate))},leftPrevMonth:function(){this.leftDate=Object(oa["prevMonth"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(oa["nextMonth"])(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=Object(oa["nextYear"])(this.rightDate):(this.leftDate=Object(oa["nextYear"])(this.leftDate),this.rightDate=Object(oa["nextMonth"])(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=Object(oa["nextMonth"])(this.rightDate):(this.leftDate=Object(oa["nextMonth"])(this.leftDate),this.rightDate=Object(oa["nextMonth"])(this.leftDate))},leftNextYear:function(){this.leftDate=Object(oa["nextYear"])(this.leftDate)},leftNextMonth:function(){this.leftDate=Object(oa["nextMonth"])(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(oa["prevYear"])(this.rightDate)},rightPrevMonth:function(){this.rightDate=Object(oa["prevMonth"])(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(oa["isDate"])(e[0])&&Object(oa["isDate"])(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!==typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate&&null==this.maxDate&&(this.rangeState.selecting=!1),this.minDate=this.value&&Object(oa["isDate"])(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(oa["isDate"])(this.value[0])?new Date(this.value[1]):null}},components:{TimePicker:Aa,DateTable:hr,ElInput:m.a,ElButton:re.a}},Cr=yr,xr=o(Cr,vr,gr,!1,null,null,null);xr.options.__file="packages/date-picker/src/panel/date-range.vue";var _r=xr.exports,wr=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts},e.popperClass]},[i("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?i("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,(function(t,n){return i("button",{key:n,staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(i){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})),0):e._e(),i("div",{staticClass:"el-picker-panel__body"},[i("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[i("div",{staticClass:"el-date-range-picker__header"},[i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),i("div",[e._v(e._s(e.leftLabel))])]),i("month-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),i("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[i("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),i("div",[e._v(e._s(e.rightLabel))])]),i("month-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2)])])},kr=[];wr._withStripped=!0;var Sr=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),Object(oa["nextMonth"])(new Date(e))]:[new Date,Object(oa["nextMonth"])(new Date)]},Dr={mixins:[g.a],directives:{Clickoutside:A.a},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting&&this.isValidValue([this.minDate,this.maxDate]))},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")},leftYear:function(){return this.leftDate.getFullYear()},rightYear:function(){return this.rightDate.getFullYear()===this.leftDate.getFullYear()?this.leftDate.getFullYear()+1:this.rightDate.getFullYear()},enableYearArrow:function(){return this.unlinkPanels&&this.rightYear>this.leftYear+1}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:Object(oa["nextYear"])(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},shortcuts:"",visible:"",disabledDate:"",format:"",arrowControl:!1,unlinkPanels:!1}},watch:{value:function(e){if(e){if(Array.isArray(e))if(this.minDate=Object(oa["isDate"])(e[0])?new Date(e[0]):null,this.maxDate=Object(oa["isDate"])(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),i=this.maxDate.getFullYear();this.rightDate=t===i?Object(oa["nextYear"])(this.maxDate):this.maxDate}else this.rightDate=Object(oa["nextYear"])(this.leftDate);else this.leftDate=Sr(this.defaultValue)[0],this.rightDate=Object(oa["nextYear"])(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=Sr(e),i=t[0],n=t[1];this.leftDate=i,this.rightDate=e&&e[1]&&i.getFullYear()!==n.getFullYear()&&this.unlinkPanels?n:Object(oa["nextYear"])(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=Sr(this.defaultValue)[0],this.rightDate=Object(oa["nextYear"])(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleRangePick:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.defaultTime||[],s=Object(oa["modifyWithTimeString"])(e.minDate,n[0]),a=Object(oa["modifyWithTimeString"])(e.maxDate,n[1]);this.maxDate===a&&this.minDate===s||(this.onPick&&this.onPick(e),this.maxDate=a,this.minDate=s,setTimeout((function(){t.maxDate=a,t.minDate=s}),10),i&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},leftPrevYear:function(){this.leftDate=Object(oa["prevYear"])(this.leftDate),this.unlinkPanels||(this.rightDate=Object(oa["prevYear"])(this.rightDate))},rightNextYear:function(){this.unlinkPanels||(this.leftDate=Object(oa["nextYear"])(this.leftDate)),this.rightDate=Object(oa["nextYear"])(this.rightDate)},leftNextYear:function(){this.leftDate=Object(oa["nextYear"])(this.leftDate)},rightPrevYear:function(){this.rightDate=Object(oa["prevYear"])(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isValidValue([this.minDate,this.maxDate])&&this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&Object(oa["isDate"])(e[0])&&Object(oa["isDate"])(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!==typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))},resetView:function(){this.minDate=this.value&&Object(oa["isDate"])(this.value[0])?new Date(this.value[0]):null,this.maxDate=this.value&&Object(oa["isDate"])(this.value[0])?new Date(this.value[1]):null}},components:{MonthTable:ir,ElInput:m.a,ElButton:re.a}},$r=Dr,Er=o($r,wr,kr,!1,null,null,null);Er.options.__file="packages/date-picker/src/panel/month-range.vue";var Or=Er.exports,Tr=function(e){return"daterange"===e||"datetimerange"===e?_r:"monthrange"===e?Or:mr},Nr={mixins:[Sa],name:"ElDatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(e){this.picker?(this.unmountPicker(),this.panel=Tr(e),this.mountPicker()):this.panel=Tr(e)}},created:function(){this.panel=Tr(this.type)},install:function(e){e.component(Nr.name,Nr)}},Ir=Nr,Pr=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:e.popperClass,style:{width:e.width+"px"}},[i("el-scrollbar",{attrs:{noresize:"","wrap-class":"el-picker-panel__content"}},e._l(e.items,(function(t){return i("div",{key:t.value,staticClass:"time-select-item",class:{selected:e.value===t.value,disabled:t.disabled,default:t.value===e.defaultValue},attrs:{disabled:t.disabled},on:{click:function(i){e.handleClick(t)}}},[e._v(e._s(t.value))])})),0)],1)])},Mr=[];Pr._withStripped=!0;var Fr=function(e){var t=(e||"").split(":");if(t.length>=2){var i=parseInt(t[0],10),n=parseInt(t[1],10);return{hours:i,minutes:n}}return null},Vr=function(e,t){var i=Fr(e),n=Fr(t),s=i.minutes+60*i.hours,a=n.minutes+60*n.hours;return s===a?0:s>a?1:-1},Lr=function(e){return(e.hours<10?"0"+e.hours:e.hours)+":"+(e.minutes<10?"0"+e.minutes:e.minutes)},jr=function(e,t){var i=Fr(e),n=Fr(t),s={hours:i.hours,minutes:i.minutes};return s.minutes+=n.minutes,s.hours+=n.hours,s.hours+=Math.floor(s.minutes/60),s.minutes=s.minutes%60,Lr(s)},Ar={components:{ElScrollbar:Y.a},watch:{value:function(e){var t=this;e&&this.$nextTick((function(){return t.scrollToOption()}))}},methods:{handleClick:function(e){e.disabled||this.$emit("pick",e.value)},handleClear:function(){this.$emit("pick",null)},scrollToOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".selected",t=this.$refs.popper.querySelector(".el-picker-panel__content");tn()(t,t.querySelector(e))},handleMenuEnter:function(){var e=this,t=-1!==this.items.map((function(e){return e.value})).indexOf(this.value),i=-1!==this.items.map((function(e){return e.value})).indexOf(this.defaultValue),n=(t?".selected":i&&".default")||".time-select-item:not(.disabled)";this.$nextTick((function(){return e.scrollToOption(n)}))},scrollDown:function(e){var t=this.items,i=t.length,n=t.length,s=t.map((function(e){return e.value})).indexOf(this.value);while(n--)if(s=(s+e+i)%i,!t[s].disabled)return void this.$emit("pick",t[s].value,!0)},isValidValue:function(e){return-1!==this.items.filter((function(e){return!e.disabled})).map((function(e){return e.value})).indexOf(e)},handleKeydown:function(e){var t=e.keyCode;if(38===t||40===t){var i={40:1,38:-1},n=i[t.toString()];return this.scrollDown(n),void e.stopPropagation()}}},data:function(){return{popperClass:"",start:"09:00",end:"18:00",step:"00:30",value:"",defaultValue:"",visible:!1,minTime:"",maxTime:"",width:0}},computed:{items:function(){var e=this.start,t=this.end,i=this.step,n=[];if(e&&t&&i){var s=e;while(Vr(s,t)<=0)n.push({value:s,disabled:Vr(s,this.minTime||"-1:-1")<=0||Vr(s,this.maxTime||"100:100")>=0}),s=jr(s,i)}return n}}},Br=Ar,zr=o(Br,Pr,Mr,!1,null,null,null);zr.options.__file="packages/date-picker/src/panel/time-select.vue";var Rr=zr.exports,Hr={mixins:[Sa],name:"ElTimeSelect",componentName:"ElTimeSelect",props:{type:{type:String,default:"time-select"}},beforeCreate:function(){this.panel=Rr},install:function(e){e.component(Hr.name,Hr)}},Wr=Hr,Yr=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:e.popperClass},[i("div",{staticClass:"el-time-range-picker__content"},[i("div",{staticClass:"el-time-range-picker__cell"},[i("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.startTime")))]),i("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[i("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.minDate},on:{change:e.handleMinChange,"select-range":e.setMinSelectionRange}})],1)]),i("div",{staticClass:"el-time-range-picker__cell"},[i("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.endTime")))]),i("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[i("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.maxDate},on:{change:e.handleMaxChange,"select-range":e.setMaxSelectionRange}})],1)])]),i("div",{staticClass:"el-time-panel__footer"},[i("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(t){e.handleCancel()}}},[e._v(e._s(e.t("el.datepicker.cancel")))]),i("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},qr=[];Yr._withStripped=!0;var Kr=Object(oa["parseDate"])("00:00:00","HH:mm:ss"),Gr=Object(oa["parseDate"])("23:59:59","HH:mm:ss"),Ur=function(e){return Object(oa["modifyDate"])(Kr,e.getFullYear(),e.getMonth(),e.getDate())},Xr=function(e){return Object(oa["modifyDate"])(Gr,e.getFullYear(),e.getMonth(),e.getDate())},Zr=function(e,t){return new Date(Math.min(e.getTime()+t,Xr(e).getTime()))},Qr={mixins:[g.a],components:{TimeSpinner:Fa},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},offset:function(){return this.showSeconds?11:8},spinner:function(){return this.selectionRange[0]this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(e){Array.isArray(e)?(this.minDate=new Date(e[0]),this.maxDate=new Date(e[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=Zr(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=Zr(new Date,36e5))},visible:function(e){var t=this;e&&(this.oldValue=this.value,this.$nextTick((function(){return t.$refs.minSpinner.emitSelectRange("hours")})))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(e){this.minDate=Object(oa["clearMilliseconds"])(e),this.handleChange()},handleMaxChange:function(e){this.maxDate=Object(oa["clearMilliseconds"])(e),this.handleChange()},handleChange:function(){this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[Ur(this.minDate),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,Xr(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(e,t){this.$emit("select-range",e,t,"min"),this.selectionRange=[e,t]},setMaxSelectionRange:function(e,t){this.$emit("select-range",e,t,"max"),this.selectionRange=[e+this.offset,t+this.offset]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$refs.minSpinner.selectableRange,i=this.$refs.maxSpinner.selectableRange;this.minDate=Object(oa["limitTimeRange"])(this.minDate,t,this.format),this.maxDate=Object(oa["limitTimeRange"])(this.maxDate,i,this.format),this.$emit("pick",[this.minDate,this.maxDate],e)},adjustSpinners:function(){this.$refs.minSpinner.adjustSpinners(),this.$refs.maxSpinner.adjustSpinners()},changeSelectionRange:function(e){var t=this.showSeconds?[0,3,6,11,14,17]:[0,3,8,11],i=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),n=t.indexOf(this.selectionRange[0]),s=(n+e+t.length)%t.length,a=t.length/2;s-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(b["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,i=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(je["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),i.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(je["on"])(t,"focusin",(function(){e.handleFocus();var i=t.__vue__;i&&"function"===typeof i.focus&&i.focus()})),Object(je["on"])(i,"focusin",this.handleFocus),Object(je["on"])(t,"focusout",this.handleBlur),Object(je["on"])(i,"focusout",this.handleBlur)),Object(je["on"])(t,"keydown",this.handleKeydown),Object(je["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object(je["on"])(t,"click",this.doToggle),Object(je["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(je["on"])(t,"mouseenter",this.handleMouseEnter),Object(je["on"])(i,"mouseenter",this.handleMouseEnter),Object(je["on"])(t,"mouseleave",this.handleMouseLeave),Object(je["on"])(i,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(je["on"])(t,"focusin",this.doShow),Object(je["on"])(t,"focusout",this.doClose)):(Object(je["on"])(t,"mousedown",this.doShow),Object(je["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(je["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(je["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object(je["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,i=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&i&&!i.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(je["off"])(e,"click",this.doToggle),Object(je["off"])(e,"mouseup",this.doClose),Object(je["off"])(e,"mousedown",this.doShow),Object(je["off"])(e,"focusin",this.doShow),Object(je["off"])(e,"focusout",this.doClose),Object(je["off"])(e,"mousedown",this.doShow),Object(je["off"])(e,"mouseup",this.doClose),Object(je["off"])(e,"mouseleave",this.handleMouseLeave),Object(je["off"])(e,"mouseenter",this.handleMouseEnter),Object(je["off"])(document,"click",this.handleDocumentClick)}},oo=ro,lo=o(oo,so,ao,!1,null,null,null);lo.options.__file="packages/popover/src/main.vue";var co=lo.exports,uo=function(e,t,i){var n=t.expression?t.value:t.arg,s=i.context.$refs[n];s&&(Array.isArray(s)?s[0].$refs.reference=e:s.$refs.reference=e)},ho={bind:function(e,t,i){uo(e,t,i)},inserted:function(e,t,i){uo(e,t,i)}};Rn.a.directive("popover",ho),co.install=function(e){e.directive("popover",ho),e.component(co.name,co)},co.directive=ho;var po=co,fo={name:"ElTooltip",mixins:[H.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(b["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new Rn.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=L()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var i=this.getFirstElement();if(!i)return null;var n=i.data=i.data||{};return n.staticClass=this.addTooltipClass(n.staticClass),i},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(je["on"])(this.referenceElm,"mouseenter",this.show),Object(je["on"])(this.referenceElm,"mouseleave",this.hide),Object(je["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(je["on"])(this.referenceElm,"blur",this.handleBlur),Object(je["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(je["addClass"])(this.referenceElm,"focusing"):Object(je["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,i=0;i0){Io=Mo.shift();var t=Io.options;for(var i in t)t.hasOwnProperty(i)&&(Po[i]=t[i]);void 0===t.callback&&(Po.callback=Fo);var n=Po.callback;Po.callback=function(t,i){n(t,i),e()},Object(Eo["isVNode"])(Po.message)?(Po.$slots.default=[Po.message],Po.message=null):delete Po.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach((function(e){void 0===Po[e]&&(Po[e]=!0)})),document.body.appendChild(Po.$el),Rn.a.nextTick((function(){Po.visible=!0}))}},jo=function e(t,i){if(!Rn.a.prototype.$isServer){if("string"===typeof t||Object(Eo["isVNode"])(t)?(t={message:t},"string"===typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!i&&(i=t.callback),"undefined"!==typeof Promise)return new Promise((function(n,s){Mo.push({options:St()({},To,e.defaults,t),callback:i,resolve:n,reject:s}),Lo()}));Mo.push({options:St()({},To,e.defaults,t),callback:i}),Lo()}};jo.setDefaults=function(e){jo.defaults=e},jo.alert=function(e,t,i){return"object"===("undefined"===typeof t?"undefined":Oo(t))?(i=t,t=""):void 0===t&&(t=""),jo(St()({title:t,message:e,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},i))},jo.confirm=function(e,t,i){return"object"===("undefined"===typeof t?"undefined":Oo(t))?(i=t,t=""):void 0===t&&(t=""),jo(St()({title:t,message:e,$type:"confirm",showCancelButton:!0},i))},jo.prompt=function(e,t,i){return"object"===("undefined"===typeof t?"undefined":Oo(t))?(i=t,t=""):void 0===t&&(t=""),jo(St()({title:t,message:e,showCancelButton:!0,showInput:!0,$type:"prompt"},i))},jo.close=function(){Po.doClose(),Po.visible=!1,Mo=[],Io=null};var Ao=jo,Bo=Ao,zo=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[e._t("default")],2)},Ro=[];zo._withStripped=!0;var Ho={name:"ElBreadcrumb",props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide:function(){return{elBreadcrumb:this}},mounted:function(){var e=this.$el.querySelectorAll(".el-breadcrumb__item");e.length&&e[e.length-1].setAttribute("aria-current","page")}},Wo=Ho,Yo=o(Wo,zo,Ro,!1,null,null,null);Yo.options.__file="packages/breadcrumb/src/breadcrumb.vue";var qo=Yo.exports;qo.install=function(e){e.component(qo.name,qo)};var Ko=qo,Go=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"el-breadcrumb__item"},[i("span",{ref:"link",class:["el-breadcrumb__inner",e.to?"is-link":""],attrs:{role:"link"}},[e._t("default")],2),e.separatorClass?i("i",{staticClass:"el-breadcrumb__separator",class:e.separatorClass}):i("span",{staticClass:"el-breadcrumb__separator",attrs:{role:"presentation"}},[e._v(e._s(e.separator))])])},Uo=[];Go._withStripped=!0;var Xo={name:"ElBreadcrumbItem",props:{to:{},replace:Boolean},data:function(){return{separator:"",separatorClass:""}},inject:["elBreadcrumb"],mounted:function(){var e=this;this.separator=this.elBreadcrumb.separator,this.separatorClass=this.elBreadcrumb.separatorClass;var t=this.$refs.link;t.setAttribute("role","link"),t.addEventListener("click",(function(t){var i=e.to,n=e.$router;i&&n&&(e.replace?n.replace(i):n.push(i))}))}},Zo=Xo,Qo=o(Zo,Go,Uo,!1,null,null,null);Qo.options.__file="packages/breadcrumb/src/breadcrumb-item.vue";var Jo=Qo.exports;Jo.install=function(e){e.component(Jo.name,Jo)};var el=Jo,tl=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("form",{staticClass:"el-form",class:[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]},[e._t("default")],2)},il=[];tl._withStripped=!0;var nl={name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},watch:{rules:function(){this.fields.forEach((function(e){e.removeValidateEvents(),e.addValidateEvents()})),this.validateOnRuleChange&&this.validate((function(){}))}},computed:{autoLabelWidth:function(){if(!this.potentialLabelWidthArr.length)return 0;var e=Math.max.apply(Math,this.potentialLabelWidthArr);return e?e+"px":""}},data:function(){return{fields:[],potentialLabelWidthArr:[]}},created:function(){var e=this;this.$on("el.form.addField",(function(t){t&&e.fields.push(t)})),this.$on("el.form.removeField",(function(t){t.prop&&e.fields.splice(e.fields.indexOf(t),1)}))},methods:{resetFields:function(){this.model?this.fields.forEach((function(e){e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},clearValidate:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=e.length?"string"===typeof e?this.fields.filter((function(t){return e===t.prop})):this.fields.filter((function(t){return e.indexOf(t.prop)>-1})):this.fields;t.forEach((function(e){e.clearValidate()}))},validate:function(e){var t=this;if(this.model){var i=void 0;"function"!==typeof e&&window.Promise&&(i=new window.Promise((function(t,i){e=function(e,n){e?t(e):i(n)}})));var n=!0,s=0;0===this.fields.length&&e&&e(!0);var a={};return this.fields.forEach((function(i){i.validate("",(function(i,r){i&&(n=!1),a=St()({},a,r),"function"===typeof e&&++s===t.fields.length&&e(n,a)}))})),i||void 0}console.warn("[Element Warn][Form]model is required for validate to work!")},validateField:function(e,t){e=[].concat(e);var i=this.fields.filter((function(t){return-1!==e.indexOf(t.prop)}));i.length?i.forEach((function(e){e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},getLabelWidthIndex:function(e){var t=this.potentialLabelWidthArr.indexOf(e);if(-1===t)throw new Error("[ElementForm]unpected width ",e);return t},registerLabelWidth:function(e,t){if(e&&t){var i=this.getLabelWidthIndex(t);this.potentialLabelWidthArr.splice(i,1,e)}else e&&this.potentialLabelWidthArr.push(e)},deregisterLabelWidth:function(e){var t=this.getLabelWidthIndex(e);this.potentialLabelWidthArr.splice(t,1)}}},sl=nl,al=o(sl,tl,il,!1,null,null,null);al.options.__file="packages/form/src/form.vue";var rl=al.exports;rl.install=function(e){e.component(rl.name,rl)};var ol=rl,ll=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":e.elForm&&e.elForm.statusIcon,"is-error":"error"===e.validateState,"is-validating":"validating"===e.validateState,"is-success":"success"===e.validateState,"is-required":e.isRequired||e.required,"is-no-asterisk":e.elForm&&e.elForm.hideRequiredAsterisk},e.sizeClass?"el-form-item--"+e.sizeClass:""]},[i("label-wrap",{attrs:{"is-auto-width":e.labelStyle&&"auto"===e.labelStyle.width,"update-all":"auto"===e.form.labelWidth}},[e.label||e.$slots.label?i("label",{staticClass:"el-form-item__label",style:e.labelStyle,attrs:{for:e.labelFor}},[e._t("label",[e._v(e._s(e.label+e.form.labelSuffix))])],2):e._e()]),i("div",{staticClass:"el-form-item__content",style:e.contentStyle},[e._t("default"),i("transition",{attrs:{name:"el-zoom-in-top"}},["error"===e.validateState&&e.showMessage&&e.form.showMessage?e._t("error",[i("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"===typeof e.inlineMessage?e.inlineMessage:e.elForm&&e.elForm.inlineMessage||!1}},[e._v("\n "+e._s(e.validateMessage)+"\n ")])],{error:e.validateMessage}):e._e()],2)],2)],1)},cl=[];ll._withStripped=!0;var ul,hl,dl=i(41),pl=i.n(dl),fl={props:{isAutoWidth:Boolean,updateAll:Boolean},inject:["elForm","elFormItem"],render:function(){var e=arguments[0],t=this.$slots.default;if(!t)return null;if(this.isAutoWidth){var i=this.elForm.autoLabelWidth,n={};if(i&&"auto"!==i){var s=parseInt(i,10)-this.computedWidth;s&&(n.marginLeft=s+"px")}return e("div",{class:"el-form-item__label-wrap",style:n},[t])}return t[0]},methods:{getLabelWidth:function(){if(this.$el&&this.$el.firstElementChild){var e=window.getComputedStyle(this.$el.firstElementChild).width;return Math.ceil(parseFloat(e))}return 0},updateLabelWidth:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"update";this.$slots.default&&this.isAutoWidth&&this.$el.firstElementChild&&("update"===e?this.computedWidth=this.getLabelWidth():"remove"===e&&this.elForm.deregisterLabelWidth(this.computedWidth))}},watch:{computedWidth:function(e,t){this.updateAll&&(this.elForm.registerLabelWidth(e,t),this.elFormItem.updateComputedLabelWidth(e))}},data:function(){return{computedWidth:0}},mounted:function(){this.updateLabelWidth("update")},updated:function(){this.updateLabelWidth("update")},beforeDestroy:function(){this.updateLabelWidth("remove")}},ml=fl,vl=o(ml,ul,hl,!1,null,null,null);vl.options.__file="packages/form/src/label-wrap.vue";var gl=vl.exports,bl={name:"ElFormItem",componentName:"ElFormItem",mixins:[E.a],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},components:{LabelWrap:gl},watch:{error:{immediate:!0,handler:function(e){this.validateMessage=e,this.validateState=e?"error":""}},validateStatus:function(e){this.validateState=e},rules:function(e){e&&0!==e.length||void 0!==this.required||this.clearValidate()}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var e={};if("top"===this.form.labelPosition)return e;var t=this.labelWidth||this.form.labelWidth;return t&&(e.width=t),e},contentStyle:function(){var e={},t=this.label;if("top"===this.form.labelPosition||this.form.inline)return e;if(!t&&!this.labelWidth&&this.isNested)return e;var i=this.labelWidth||this.form.labelWidth;return"auto"===i?"auto"===this.labelWidth?e.marginLeft=this.computedLabelWidth:"auto"===this.form.labelWidth&&(e.marginLeft=this.elForm.autoLabelWidth):e.marginLeft=i,e},form:function(){var e=this.$parent,t=e.$options.componentName;while("ElForm"!==t)"ElFormItem"===t&&(this.isNested=!0),e=e.$parent,t=e.$options.componentName;return e},fieldValue:function(){var e=this.form.model;if(e&&this.prop){var t=this.prop;return-1!==t.indexOf(":")&&(t=t.replace(/:/,".")),Object(b["getPropByPath"])(e,t,!0).v}},isRequired:function(){var e=this.getRules(),t=!1;return e&&e.length&&e.every((function(e){return!e.required||(t=!0,!1)})),t},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return this.elFormItemSize||(this.$ELEMENT||{}).size}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1,computedLabelWidth:""}},methods:{validate:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b["noop"];this.validateDisabled=!1;var n=this.getFilteredRule(e);if((!n||0===n.length)&&void 0===this.required)return i(),!0;this.validateState="validating";var s={};n&&n.length>0&&n.forEach((function(e){delete e.trigger})),s[this.prop]=n;var a=new pl.a(s),r={};r[this.prop]=this.fieldValue,a.validate(r,{firstFields:!0},(function(e,n){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",i(t.validateMessage,n),t.elForm&&t.elForm.$emit("validate",t.prop,!e,t.validateMessage||null)}))},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){var e=this;this.validateState="",this.validateMessage="";var t=this.form.model,i=this.fieldValue,n=this.prop;-1!==n.indexOf(":")&&(n=n.replace(/:/,"."));var s=Object(b["getPropByPath"])(t,n,!0);this.validateDisabled=!0,Array.isArray(i)?s.o[s.k]=[].concat(this.initialValue):s.o[s.k]=this.initialValue,this.$nextTick((function(){e.validateDisabled=!1})),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var e=this.form.rules,t=this.rules,i=void 0!==this.required?{required:!!this.required}:[],n=Object(b["getPropByPath"])(e,this.prop||"");return e=e?n.o[this.prop||""]||n.v:[],[].concat(t||e||[]).concat(i)},getFilteredRule:function(e){var t=this.getRules();return t.filter((function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)})).map((function(e){return St()({},e)}))},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){this.validateDisabled?this.validateDisabled=!1:this.validate("change")},updateComputedLabelWidth:function(e){this.computedLabelWidth=e?e+"px":""},addValidateEvents:function(){var e=this.getRules();(e.length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))},removeValidateEvents:function(){this.$off()}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var e=this.fieldValue;Array.isArray(e)&&(e=[].concat(e)),Object.defineProperty(this,"initialValue",{value:e}),this.addValidateEvents()}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}},yl=bl,Cl=o(yl,ll,cl,!1,null,null,null);Cl.options.__file="packages/form/src/form-item.vue";var xl=Cl.exports;xl.install=function(e){e.component(xl.name,xl)};var _l=xl,wl=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-tabs__active-bar",class:"is-"+e.rootTabs.tabPosition,style:e.barStyle})},kl=[];wl._withStripped=!0;var Sl={name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{get:function(){var e=this,t={},i=0,n=0,s=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",a="width"===s?"x":"y",r=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))};this.tabs.every((function(t,a){var o=Object(b["arrayFind"])(e.$parent.$refs.tabs||[],(function(e){return e.id.replace("tab-","")===t.paneName}));if(!o)return!1;if(t.active){n=o["client"+r(s)];var l=window.getComputedStyle(o);return"width"===s&&e.tabs.length>1&&(n-=parseFloat(l.paddingLeft)+parseFloat(l.paddingRight)),"width"===s&&(i+=parseFloat(l.paddingLeft)),!1}return i+=o["client"+r(s)],!0}));var o="translate"+r(a)+"("+i+"px)";return t[s]=n+"px",t.transform=o,t.msTransform=o,t.webkitTransform=o,t}}}},Dl=Sl,$l=o(Dl,wl,kl,!1,null,null,null);$l.options.__file="packages/tabs/src/tab-bar.vue";var El=$l.exports;function Ol(){}var Tl,Nl,Il=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,(function(e){return e.toUpperCase()}))},Pl={name:"TabNav",components:{TabBar:El},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:Ol},onTabRemove:{type:Function,default:Ol},type:String,stretch:Boolean},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){var e=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y";return{transform:"translate"+e+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var e=this.$refs.navScroll["offset"+Il(this.sizeName)],t=this.navOffset;if(t){var i=t>e?t-e:0;this.navOffset=i}},scrollNext:function(){var e=this.$refs.nav["offset"+Il(this.sizeName)],t=this.$refs.navScroll["offset"+Il(this.sizeName)],i=this.navOffset;if(!(e-i<=t)){var n=e-i>2*t?i+t:e-t;this.navOffset=n}},scrollToActiveTab:function(){if(this.scrollable){var e=this.$refs.nav,t=this.$el.querySelector(".is-active");if(t){var i=this.$refs.navScroll,n=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition),s=t.getBoundingClientRect(),a=i.getBoundingClientRect(),r=n?e.offsetWidth-a.width:e.offsetHeight-a.height,o=this.navOffset,l=o;n?(s.lefta.right&&(l=o+s.right-a.right)):(s.topa.bottom&&(l=o+(s.bottom-a.bottom))),l=Math.max(l,0),this.navOffset=Math.min(l,r)}}},update:function(){if(this.$refs.nav){var e=this.sizeName,t=this.$refs.nav["offset"+Il(e)],i=this.$refs.navScroll["offset"+Il(e)],n=this.navOffset;if(i0&&(this.navOffset=0)}},changeTab:function(e){var t=e.keyCode,i=void 0,n=void 0,s=void 0;-1!==[37,38,39,40].indexOf(t)&&(s=e.currentTarget.querySelectorAll("[role=tab]"),n=Array.prototype.indexOf.call(s,e.target),i=37===t||38===t?0===n?s.length-1:n-1:n0&&void 0!==arguments[0]&&arguments[0];if(this.$slots.default){var i=this.$slots.default.filter((function(e){return e.tag&&e.componentOptions&&"ElTabPane"===e.componentOptions.Ctor.options.name})),n=i.map((function(e){var t=e.componentInstance;return t})),s=!(n.length===this.panes.length&&n.every((function(t,i){return t===e.panes[i]})));(t||s)&&(this.panes=n)}else 0!==this.panes.length&&(this.panes=[])},handleTabClick:function(e,t,i){e.disabled||(this.setCurrentName(t),this.$emit("tab-click",e,i))},handleTabRemove:function(e,t){e.disabled||(t.stopPropagation(),this.$emit("edit",e.name,"remove"),this.$emit("tab-remove",e.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(e){var t=this,i=function(){t.currentName=e,t.$emit("input",e)};if(this.currentName!==e&&this.beforeLeave){var n=this.beforeLeave(e,this.currentName);n&&n.then?n.then((function(){i(),t.$refs.nav&&t.$refs.nav.removeFocus()}),(function(){})):!1!==n&&i()}else i()}},render:function(e){var t,i=this.type,n=this.handleTabClick,s=this.handleTabRemove,a=this.handleTabAdd,r=this.currentName,o=this.panes,l=this.editable,c=this.addable,u=this.tabPosition,h=this.stretch,d=l||c?e("span",{class:"el-tabs__new-tab",on:{click:a,keydown:function(e){13===e.keyCode&&a()}},attrs:{tabindex:"0"}},[e("i",{class:"el-icon-plus"})]):null,p={props:{currentName:r,onTabClick:n,onTabRemove:s,editable:l,type:i,panes:o,stretch:h},ref:"nav"},f=e("div",{class:["el-tabs__header","is-"+u]},[d,e("tab-nav",p)]),m=e("div",{class:"el-tabs__content"},[this.$slots.default]);return e("div",{class:(t={"el-tabs":!0,"el-tabs--card":"card"===i},t["el-tabs--"+u]=!0,t["el-tabs--border-card"]="border-card"===i,t)},["bottom"!==u?[f,m]:[m,f]])},created:function(){this.currentName||this.setCurrentName("0"),this.$on("tab-nav-update",this.calcPaneInstances.bind(null,!0))},mounted:function(){this.calcPaneInstances()},updated:function(){this.calcPaneInstances()}},Bl=Al,zl=o(Bl,Vl,Ll,!1,null,null,null);zl.options.__file="packages/tabs/src/tabs.vue";var Rl=zl.exports;Rl.install=function(e){e.component(Rl.name,Rl)};var Hl=Rl,Wl=function(){var e=this,t=e.$createElement,i=e._self._c||t;return!e.lazy||e.loaded||e.active?i("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!e.active,id:"pane-"+e.paneName,"aria-labelledby":"tab-"+e.paneName}},[e._t("default")],2):e._e()},Yl=[];Wl._withStripped=!0;var ql={name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean,lazy:Boolean},data:function(){return{index:null,loaded:!1}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){var e=this.$parent.currentName===(this.name||this.index);return e&&(this.loaded=!0),e},paneName:function(){return this.name||this.index}},updated:function(){this.$parent.$emit("tab-nav-update")}},Kl=ql,Gl=o(Kl,Wl,Yl,!1,null,null,null);Gl.options.__file="packages/tabs/src/tab-pane.vue";var Ul=Gl.exports;Ul.install=function(e){e.component(Ul.name,Ul)};var Xl,Zl,Ql=Ul,Jl={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String,effect:{type:String,default:"light",validator:function(e){return-1!==["dark","light","plain"].indexOf(e)}}},methods:{handleClose:function(e){e.stopPropagation(),this.$emit("close",e)},handleClick:function(e){this.$emit("click",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}},render:function(e){var t=this.type,i=this.tagSize,n=this.hit,s=this.effect,a=["el-tag",t?"el-tag--"+t:"",i?"el-tag--"+i:"",s?"el-tag--"+s:"",n&&"is-hit"],r=e("span",{class:a,style:{backgroundColor:this.color},on:{click:this.handleClick}},[this.$slots.default,this.closable&&e("i",{class:"el-tag__close el-icon-close",on:{click:this.handleClose}})]);return this.disableTransitions?r:e("transition",{attrs:{name:"el-zoom-in-center"}},[r])}},ec=Jl,tc=o(ec,Xl,Zl,!1,null,null,null);tc.options.__file="packages/tag/src/tag.vue";var ic=tc.exports;ic.install=function(e){e.component(ic.name,ic)};var nc=ic,sc=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":e.highlightCurrent,"is-dragging":!!e.dragState.draggingNode,"is-drop-not-allow":!e.dragState.allowDrop,"is-drop-inner":"inner"===e.dragState.dropType},attrs:{role:"tree"}},[e._l(e.root.childNodes,(function(t){return i("el-tree-node",{key:e.getNodeKey(t),attrs:{node:t,props:e.props,"render-after-expand":e.renderAfterExpand,"show-checkbox":e.showCheckbox,"render-content":e.renderContent},on:{"node-expand":e.handleNodeExpand}})})),e.isEmpty?i("div",{staticClass:"el-tree__empty-block"},[i("span",{staticClass:"el-tree__empty-text"},[e._v(e._s(e.emptyText))])]):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)},ac=[];sc._withStripped=!0;var rc="$treeNodeId",oc=function(e,t){t&&!t[rc]&&Object.defineProperty(t,rc,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},lc=function(e,t){return e?t[e]:t[rc]},cc=function(e,t){var i=e;while(i&&"BODY"!==i.tagName){if(i.__vue__&&i.__vue__.$options.name===t)return i.__vue__;i=i.parentNode}return null},uc=function(){function e(e,t){for(var i=0;i0&&n.lazy&&n.defaultExpandAll&&this.expand(),Array.isArray(this.data)||oc(this,this.data),this.data){var r=n.defaultExpandedKeys,o=n.key;o&&r&&-1!==r.indexOf(this.key)&&this.expand(null,n.autoExpandParent),o&&void 0!==n.currentNodeKey&&this.key===n.currentNodeKey&&(n.currentNode=this,n.currentNode.isCurrent=!0),n.lazy&&n._initDefaultCheckedNode(this),this.updateLeafState()}}return e.prototype.setData=function(e){Array.isArray(e)||oc(this,e),this.data=e,this.childNodes=[];var t=void 0;t=0===this.level&&this.data instanceof Array?this.data:fc(this,"children")||[];for(var i=0,n=t.length;i1&&void 0!==arguments[1])||arguments[1],i=function i(n){for(var s=n.childNodes||[],a=!1,r=0,o=s.length;r-1&&t.splice(i,1);var n=this.childNodes.indexOf(e);n>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(n,1)),this.updateLeafState()},e.prototype.removeChildByData=function(e){for(var t=null,i=0;i0)n.expanded=!0,n=n.parent}i.expanded=!0,e&&e()};this.shouldLoadData()?this.loadData((function(e){e instanceof Array&&(i.checked?i.setChecked(!0,!0):i.store.checkStrictly||pc(i),n())})):n()},e.prototype.doCreateChildren=function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach((function(e){t.insertChild(St()({data:e},i),void 0,!0)}))},e.prototype.collapse=function(){this.expanded=!1},e.prototype.shouldLoadData=function(){return!0===this.store.lazy&&this.store.load&&!this.loaded},e.prototype.updateLeafState=function(){if(!0!==this.store.lazy||!0===this.loaded||"undefined"===typeof this.isLeafByUser){var e=this.childNodes;!this.store.lazy||!0===this.store.lazy&&!0===this.loaded?this.isLeaf=!e||0===e.length:this.isLeaf=!1}else this.isLeaf=this.isLeafByUser},e.prototype.setChecked=function(e,t,i,n){var s=this;if(this.indeterminate="half"===e,this.checked=!0===e,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var a=dc(this.childNodes),r=a.all,o=a.allWithoutDisable;this.isLeaf||r||!o||(this.checked=!1,e=!1);var l=function(){if(t){for(var i=s.childNodes,a=0,r=i.length;a0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var t=this.data;if(!t)return null;var i=this.store.props,n="children";return i&&(n=i.children||"children"),void 0===t[n]&&(t[n]=null),e&&!t[n]&&(t[n]=[]),t[n]},e.prototype.updateChildren=function(){var e=this,t=this.getChildren()||[],i=this.childNodes.map((function(e){return e.data})),n={},s=[];t.forEach((function(e,t){var a=e[rc],r=!!a&&Object(b["arrayFindIndex"])(i,(function(e){return e[rc]===a}))>=0;r?n[a]={index:t,data:e}:s.push({index:t,data:e})})),this.store.lazy||i.forEach((function(t){n[t[rc]]||e.removeChildByData(t)})),s.forEach((function(t){var i=t.index,n=t.data;e.insertChild({data:n},i)})),this.updateLeafState()},e.prototype.loadData=function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(i).length)e&&e.call(this);else{this.loading=!0;var n=function(n){t.childNodes=[],t.doCreateChildren(n,i),t.loaded=!0,t.loading=!1,t.updateLeafState(),e&&e.call(t,n)};this.store.load(this,n)}},uc(e,[{key:"label",get:function(){return fc(this,"label")}},{key:"key",get:function(){var e=this.store.key;return this.data?this.data[e]:null}},{key:"disabled",get:function(){return fc(this,"disabled")}},{key:"nextSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}},{key:"previousSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}}]),e}(),gc=vc,bc="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Cc=function(){function e(t){var i=this;for(var n in yc(this,e),this.currentNode=null,this.currentNodeKey=null,t)t.hasOwnProperty(n)&&(this[n]=t[n]);if(this.nodesMap={},this.root=new gc({data:this.data,store:this}),this.lazy&&this.load){var s=this.load;s(this.root,(function(e){i.root.doCreateChildren(e),i._initDefaultCheckedNodes()}))}else this._initDefaultCheckedNodes()}return e.prototype.filter=function(e){var t=this.filterNodeMethod,i=this.lazy,n=function n(s){var a=s.root?s.root.childNodes:s.childNodes;if(a.forEach((function(i){i.visible=t.call(i,e,i.data,i),n(i)})),!s.visible&&a.length){var r=!0;r=!a.some((function(e){return e.visible})),s.root?s.root.visible=!1===r:s.visible=!1===r}e&&(!s.visible||s.isLeaf||i||s.expand())};n(this)},e.prototype.setData=function(e){var t=e!==this.root.data;t?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()},e.prototype.getNode=function(e){if(e instanceof gc)return e;var t="object"!==("undefined"===typeof e?"undefined":bc(e))?e:lc(this.key,e);return this.nodesMap[t]||null},e.prototype.insertBefore=function(e,t){var i=this.getNode(t);i.parent.insertBefore({data:e},i)},e.prototype.insertAfter=function(e,t){var i=this.getNode(t);i.parent.insertAfter({data:e},i)},e.prototype.remove=function(e){var t=this.getNode(e);t&&t.parent&&(t===this.currentNode&&(this.currentNode=null),t.parent.removeChild(t))},e.prototype.append=function(e,t){var i=t?this.getNode(t):this.root;i&&i.insertChild({data:e})},e.prototype._initDefaultCheckedNodes=function(){var e=this,t=this.defaultCheckedKeys||[],i=this.nodesMap;t.forEach((function(t){var n=i[t];n&&n.setChecked(!0,!e.checkStrictly)}))},e.prototype._initDefaultCheckedNode=function(e){var t=this.defaultCheckedKeys||[];-1!==t.indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)},e.prototype.setDefaultCheckedKey=function(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())},e.prototype.registerNode=function(e){var t=this.key;if(t&&e&&e.data){var i=e.key;void 0!==i&&(this.nodesMap[e.key]=e)}},e.prototype.deregisterNode=function(e){var t=this,i=this.key;i&&e&&e.data&&(e.childNodes.forEach((function(e){t.deregisterNode(e)})),delete this.nodesMap[e.key])},e.prototype.getCheckedNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=[],n=function n(s){var a=s.root?s.root.childNodes:s.childNodes;a.forEach((function(s){(s.checked||t&&s.indeterminate)&&(!e||e&&s.isLeaf)&&i.push(s.data),n(s)}))};return n(this),i},e.prototype.getCheckedKeys=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(t).map((function(t){return(t||{})[e.key]}))},e.prototype.getHalfCheckedNodes=function(){var e=[],t=function t(i){var n=i.root?i.root.childNodes:i.childNodes;n.forEach((function(i){i.indeterminate&&e.push(i.data),t(i)}))};return t(this),e},e.prototype.getHalfCheckedKeys=function(){var e=this;return this.getHalfCheckedNodes().map((function(t){return(t||{})[e.key]}))},e.prototype._getAllNodes=function(){var e=[],t=this.nodesMap;for(var i in t)t.hasOwnProperty(i)&&e.push(t[i]);return e},e.prototype.updateChildren=function(e,t){var i=this.nodesMap[e];if(i){for(var n=i.childNodes,s=n.length-1;s>=0;s--){var a=n[s];this.remove(a.data)}for(var r=0,o=t.length;r1&&void 0!==arguments[1]&&arguments[1],i=arguments[2],n=this._getAllNodes().sort((function(e,t){return t.level-e.level})),s=Object.create(null),a=Object.keys(i);n.forEach((function(e){return e.setChecked(!1,!1)}));for(var r=0,o=n.length;r-1;if(u){var h=l.parent;while(h&&h.level>0)s[h.data[e]]=!0,h=h.parent;l.isLeaf||this.checkStrictly?l.setChecked(!0,!1):(l.setChecked(!0,!0),t&&function(){l.setChecked(!1,!1);var e=function e(t){var i=t.childNodes;i.forEach((function(t){t.isLeaf||t.setChecked(!1,!1),e(t)}))};e(l)}())}else l.checked&&!s[c]&&l.setChecked(!1,!1)}},e.prototype.setCheckedNodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.key,n={};e.forEach((function(e){n[(e||{})[i]]=!0})),this._setCheckedKeys(i,t,n)},e.prototype.setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=e;var i=this.key,n={};e.forEach((function(e){n[e]=!0})),this._setCheckedKeys(i,t,n)},e.prototype.setDefaultExpandedKeys=function(e){var t=this;e=e||[],this.defaultExpandedKeys=e,e.forEach((function(e){var i=t.getNode(e);i&&i.expand(null,t.autoExpandParent)}))},e.prototype.setChecked=function(e,t,i){var n=this.getNode(e);n&&n.setChecked(!!t,i)},e.prototype.getCurrentNode=function(){return this.currentNode},e.prototype.setCurrentNode=function(e){var t=this.currentNode;t&&(t.isCurrent=!1),this.currentNode=e,this.currentNode.isCurrent=!0},e.prototype.setUserCurrentNode=function(e){var t=e[this.key],i=this.nodesMap[t];this.setCurrentNode(i)},e.prototype.setCurrentNodeKey=function(e){if(null===e||void 0===e)return this.currentNode&&(this.currentNode.isCurrent=!1),void(this.currentNode=null);var t=this.getNode(e);t&&this.setCurrentNode(t)},e}(),xc=Cc,_c=function(){var e=this,t=this,i=t.$createElement,n=t._self._c||i;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.node.visible,expression:"node.visible"}],ref:"node",staticClass:"el-tree-node",class:{"is-expanded":t.expanded,"is-current":t.node.isCurrent,"is-hidden":!t.node.visible,"is-focusable":!t.node.disabled,"is-checked":!t.node.disabled&&t.node.checked},attrs:{role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.draggable},on:{click:function(e){return e.stopPropagation(),t.handleClick(e)},contextmenu:function(t){return e.handleContextMenu(t)},dragstart:function(e){return e.stopPropagation(),t.handleDragStart(e)},dragover:function(e){return e.stopPropagation(),t.handleDragOver(e)},dragend:function(e){return e.stopPropagation(),t.handleDragEnd(e)},drop:function(e){return e.stopPropagation(),t.handleDrop(e)}}},[n("div",{staticClass:"el-tree-node__content",style:{"padding-left":(t.node.level-1)*t.tree.indent+"px"}},[n("span",{class:[{"is-leaf":t.node.isLeaf,expanded:!t.node.isLeaf&&t.expanded},"el-tree-node__expand-icon",t.tree.iconClass?t.tree.iconClass:"el-icon-caret-right"],on:{click:function(e){return e.stopPropagation(),t.handleExpandIconClick(e)}}}),t.showCheckbox?n("el-checkbox",{attrs:{indeterminate:t.node.indeterminate,disabled:!!t.node.disabled},on:{change:t.handleCheckChange},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:t.node.checked,callback:function(e){t.$set(t.node,"checked",e)},expression:"node.checked"}}):t._e(),t.node.loading?n("span",{staticClass:"el-tree-node__loading-icon el-icon-loading"}):t._e(),n("node-content",{attrs:{node:t.node}})],1),n("el-collapse-transition",[!t.renderAfterExpand||t.childNodeRendered?n("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"el-tree-node__children",attrs:{role:"group","aria-expanded":t.expanded}},t._l(t.node.childNodes,(function(e){return n("el-tree-node",{key:t.getNodeKey(e),attrs:{"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,"show-checkbox":t.showCheckbox,node:e},on:{"node-expand":t.handleChildNodeExpand}})})),1):t._e()])],1)},wc=[];_c._withStripped=!0;var kc={name:"ElTreeNode",componentName:"ElTreeNode",mixins:[E.a],props:{node:{default:function(){return{}}},props:{},renderContent:Function,renderAfterExpand:{type:Boolean,default:!0},showCheckbox:{type:Boolean,default:!1}},components:{ElCollapseTransition:Ke.a,ElCheckbox:Mn.a,NodeContent:{props:{node:{required:!0}},render:function(e){var t=this.$parent,i=t.tree,n=this.node,s=n.data,a=n.store;return t.renderContent?t.renderContent.call(t._renderProxy,e,{_self:i.$vnode.context,node:n,data:s,store:a}):i.$scopedSlots.default?i.$scopedSlots.default({node:n,data:s}):e("span",{class:"el-tree-node__label"},[n.label])}}},data:function(){return{tree:null,expanded:!1,childNodeRendered:!1,oldChecked:null,oldIndeterminate:null}},watch:{"node.indeterminate":function(e){this.handleSelectChange(this.node.checked,e)},"node.checked":function(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded":function(e){var t=this;this.$nextTick((function(){return t.expanded=e})),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey:function(e){return lc(this.tree.nodeKey,e.data)},handleSelectChange:function(e,t){this.oldChecked!==e&&this.oldIndeterminate!==t&&this.tree.$emit("check-change",this.node.data,e,t),this.oldChecked=e,this.indeterminate=t},handleClick:function(){var e=this.tree.store;e.setCurrentNode(this.node),this.tree.$emit("current-change",e.currentNode?e.currentNode.data:null,e.currentNode),this.tree.currentNode=this,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&!this.node.disabled&&this.handleCheckChange(null,{target:{checked:!this.node.checked}}),this.tree.$emit("node-click",this.node.data,this.node,this)},handleContextMenu:function(e){this.tree._events["node-contextmenu"]&&this.tree._events["node-contextmenu"].length>0&&(e.stopPropagation(),e.preventDefault()),this.tree.$emit("node-contextmenu",e,this.node.data,this.node,this)},handleExpandIconClick:function(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node.data,this.node,this),this.node.collapse()):(this.node.expand(),this.$emit("node-expand",this.node.data,this.node,this)))},handleCheckChange:function(e,t){var i=this;this.node.setChecked(t.target.checked,!this.tree.checkStrictly),this.$nextTick((function(){var e=i.tree.store;i.tree.$emit("check",i.node.data,{checkedNodes:e.getCheckedNodes(),checkedKeys:e.getCheckedKeys(),halfCheckedNodes:e.getHalfCheckedNodes(),halfCheckedKeys:e.getHalfCheckedKeys()})}))},handleChildNodeExpand:function(e,t,i){this.broadcast("ElTreeNode","tree-node-expand",t),this.tree.$emit("node-expand",e,t,i)},handleDragStart:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-start",e,this)},handleDragOver:function(e){this.tree.draggable&&(this.tree.$emit("tree-node-drag-over",e,this),e.preventDefault())},handleDrop:function(e){e.preventDefault()},handleDragEnd:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-end",e,this)}},created:function(){var e=this,t=this.$parent;t.isTree?this.tree=t:this.tree=t.tree;var i=this.tree;i||console.warn("Can not find node's tree.");var n=i.props||{},s=n["children"]||"children";this.$watch("node.data."+s,(function(){e.node.updateChildren()})),this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0),this.tree.accordion&&this.$on("tree-node-expand",(function(t){e.node!==t&&e.node.collapse()}))}},Sc=kc,Dc=o(Sc,_c,wc,!1,null,null,null);Dc.options.__file="packages/tree/src/tree-node.vue";var $c=Dc.exports,Ec={name:"ElTree",mixins:[E.a],components:{ElTreeNode:$c},data:function(){return{store:null,root:null,currentNode:null,treeItems:null,checkboxItems:[],dragState:{showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0}}},props:{data:{type:Array},emptyText:{type:String,default:function(){return Object(bo["t"])("el.tree.emptyText")}},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,currentNodeKey:[String,Number],renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{default:function(){return{children:"children",label:"label",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18},iconClass:String},computed:{children:{set:function(e){this.data=e},get:function(){return this.data}},treeItemArray:function(){return Array.prototype.slice.call(this.treeItems)},isEmpty:function(){var e=this.root.childNodes;return!e||0===e.length||e.every((function(e){var t=e.visible;return!t}))}},watch:{defaultCheckedKeys:function(e){this.store.setDefaultCheckedKey(e)},defaultExpandedKeys:function(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},data:function(e){this.store.setData(e)},checkboxItems:function(e){Array.prototype.forEach.call(e,(function(e){e.setAttribute("tabindex",-1)}))},checkStrictly:function(e){this.store.checkStrictly=e}},methods:{filter:function(e){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e)},getNodeKey:function(e){return lc(this.nodeKey,e.data)},getNodePath:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var t=this.store.getNode(e);if(!t)return[];var i=[t.data],n=t.parent;while(n&&n!==this.root)i.push(n.data),n=n.parent;return i.reverse()},getCheckedNodes:function(e,t){return this.store.getCheckedNodes(e,t)},getCheckedKeys:function(e){return this.store.getCheckedKeys(e)},getCurrentNode:function(){var e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey:function(){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckedNodes:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");this.store.setCheckedNodes(e,t)},setCheckedKeys:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t)},setChecked:function(e,t,i){this.store.setChecked(e,t,i)},getHalfCheckedNodes:function(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return this.store.getHalfCheckedKeys()},setCurrentNode:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode:function(e){return this.store.getNode(e)},remove:function(e){this.store.remove(e)},append:function(e,t){this.store.append(e,t)},insertBefore:function(e,t){this.store.insertBefore(e,t)},insertAfter:function(e,t){this.store.insertAfter(e,t)},handleNodeExpand:function(e,t,i){this.broadcast("ElTreeNode","tree-node-expand",t),this.$emit("node-expand",e,t,i)},updateKeyChildren:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)},initTabIndex:function(){this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]");var e=this.$el.querySelectorAll(".is-checked[role=treeitem]");e.length?e[0].setAttribute("tabindex",0):this.treeItems[0]&&this.treeItems[0].setAttribute("tabindex",0)},handleKeydown:function(e){var t=e.target;if(-1!==t.className.indexOf("el-tree-node")){var i=e.keyCode;this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]");var n=this.treeItemArray.indexOf(t),s=void 0;[38,40].indexOf(i)>-1&&(e.preventDefault(),s=38===i?0!==n?n-1:0:n-1&&(e.preventDefault(),t.click());var a=t.querySelector('[type="checkbox"]');[13,32].indexOf(i)>-1&&a&&(e.preventDefault(),a.click())}}},created:function(){var e=this;this.isTree=!0,this.store=new xc({key:this.nodeKey,data:this.data,lazy:this.lazy,props:this.props,load:this.load,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly,checkDescendants:this.checkDescendants,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod}),this.root=this.store.root;var t=this.dragState;this.$on("tree-node-drag-start",(function(i,n){if("function"===typeof e.allowDrag&&!e.allowDrag(n.node))return i.preventDefault(),!1;i.dataTransfer.effectAllowed="move";try{i.dataTransfer.setData("text/plain","")}catch(s){}t.draggingNode=n,e.$emit("node-drag-start",n.node,i)})),this.$on("tree-node-drag-over",(function(i,n){var s=cc(i.target,"ElTreeNode"),a=t.dropNode;a&&a!==s&&Object(je["removeClass"])(a.$el,"is-drop-inner");var r=t.draggingNode;if(r&&s){var o=!0,l=!0,c=!0,u=!0;"function"===typeof e.allowDrop&&(o=e.allowDrop(r.node,s.node,"prev"),u=l=e.allowDrop(r.node,s.node,"inner"),c=e.allowDrop(r.node,s.node,"next")),i.dataTransfer.dropEffect=l?"move":"none",(o||l||c)&&a!==s&&(a&&e.$emit("node-drag-leave",r.node,a.node,i),e.$emit("node-drag-enter",r.node,s.node,i)),(o||l||c)&&(t.dropNode=s),s.node.nextSibling===r.node&&(c=!1),s.node.previousSibling===r.node&&(o=!1),s.node.contains(r.node,!1)&&(l=!1),(r.node===s.node||r.node.contains(s.node))&&(o=!1,l=!1,c=!1);var h=s.$el.getBoundingClientRect(),d=e.$el.getBoundingClientRect(),p=void 0,f=o?l?.25:c?.45:1:-1,m=c?l?.75:o?.55:0:1,v=-9999,g=i.clientY-h.top;p=gh.height*m?"after":l?"inner":"none";var b=s.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),y=e.$refs.dropIndicator;"before"===p?v=b.top-d.top:"after"===p&&(v=b.bottom-d.top),y.style.top=v+"px",y.style.left=b.right-d.left+"px","inner"===p?Object(je["addClass"])(s.$el,"is-drop-inner"):Object(je["removeClass"])(s.$el,"is-drop-inner"),t.showDropIndicator="before"===p||"after"===p,t.allowDrop=t.showDropIndicator||u,t.dropType=p,e.$emit("node-drag-over",r.node,s.node,i)}})),this.$on("tree-node-drag-end",(function(i){var n=t.draggingNode,s=t.dropType,a=t.dropNode;if(i.preventDefault(),i.dataTransfer.dropEffect="move",n&&a){var r={data:n.node.data};"none"!==s&&n.node.remove(),"before"===s?a.node.parent.insertBefore(r,a.node):"after"===s?a.node.parent.insertAfter(r,a.node):"inner"===s&&a.node.insertChild(r),"none"!==s&&e.store.registerNode(r),Object(je["removeClass"])(a.$el,"is-drop-inner"),e.$emit("node-drag-end",n.node,a.node,s,i),"none"!==s&&e.$emit("node-drop",n.node,a.node,s,i)}n&&!a&&e.$emit("node-drag-end",n.node,null,s,i),t.showDropIndicator=!1,t.draggingNode=null,t.dropNode=null,t.allowDrop=!0}))},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handleKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}},Oc=Ec,Tc=o(Oc,sc,ac,!1,null,null,null);Tc.options.__file="packages/tree/src/tree.vue";var Nc=Tc.exports;Nc.install=function(e){e.component(Nc.name,Nc)};var Ic=Nc,Pc=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-alert-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-alert",class:[e.typeClass,e.center?"is-center":"","is-"+e.effect],attrs:{role:"alert"}},[e.showIcon?i("i",{staticClass:"el-alert__icon",class:[e.iconClass,e.isBigIcon]}):e._e(),i("div",{staticClass:"el-alert__content"},[e.title||e.$slots.title?i("span",{staticClass:"el-alert__title",class:[e.isBoldTitle]},[e._t("title",[e._v(e._s(e.title))])],2):e._e(),e.$slots.default&&!e.description?i("p",{staticClass:"el-alert__description"},[e._t("default")],2):e._e(),e.description&&!e.$slots.default?i("p",{staticClass:"el-alert__description"},[e._v(e._s(e.description))]):e._e(),i("i",{directives:[{name:"show",rawName:"v-show",value:e.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==e.closeText,"el-icon-close":""===e.closeText},on:{click:function(t){e.close()}}},[e._v(e._s(e.closeText))])])])])},Mc=[];Pc._withStripped=!0;var Fc={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"},Vc={name:"ElAlert",props:{title:{type:String,default:""},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,default:"light",validator:function(e){return-1!==["light","dark"].indexOf(e)}}},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return Fc[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}},Lc=Vc,jc=o(Lc,Pc,Mc,!1,null,null,null);jc.options.__file="packages/alert/src/main.vue";var Ac=jc.exports;Ac.install=function(e){e.component(Ac.name,Ac)};var Bc=Ac,zc=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-notification-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-notification",e.customClass,e.horizontalClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:function(t){e.clearTimer()},mouseleave:function(t){e.startTimer()},click:e.click}},[e.type||e.iconClass?i("i",{staticClass:"el-notification__icon",class:[e.typeClass,e.iconClass]}):e._e(),i("div",{staticClass:"el-notification__group",class:{"is-with-icon":e.typeClass||e.iconClass}},[i("h2",{staticClass:"el-notification__title",domProps:{textContent:e._s(e.title)}}),i("div",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"}],staticClass:"el-notification__content"},[e._t("default",[e.dangerouslyUseHTMLString?i("p",{domProps:{innerHTML:e._s(e.message)}}):i("p",[e._v(e._s(e.message))])])],2),e.showClose?i("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(t){return t.stopPropagation(),e.close(t)}}}):e._e()])])])},Rc=[];zc._withStripped=!0;var Hc={success:"success",info:"info",warning:"warning",error:"error"},Wc={data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&Hc[this.type]?"el-icon-"+Hc[this.type]:""},horizontalClass:function(){return this.position.indexOf("right")>-1?"right":"left"},verticalProperty:function(){return/^top-/.test(this.position)?"top":"bottom"},positionStyle:function(){var e;return e={},e[this.verticalProperty]=this.verticalOffset+"px",e}},watch:{closed:function(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},click:function(){"function"===typeof this.onClick&&this.onClick()},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){46===e.keyCode||8===e.keyCode?this.clearTimer():27===e.keyCode?this.closed||this.close():this.startTimer()}},mounted:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration)),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},Yc=Wc,qc=o(Yc,zc,Rc,!1,null,null,null);qc.options.__file="packages/notification/src/main.vue";var Kc=qc.exports,Gc=Rn.a.extend(Kc),Uc=void 0,Xc=[],Zc=1,Qc=function e(t){if(!Rn.a.prototype.$isServer){t=St()({},t);var i=t.onClose,n="notification_"+Zc++,s=t.position||"top-right";t.onClose=function(){e.close(n,i)},Uc=new Gc({data:t}),Object(Eo["isVNode"])(t.message)&&(Uc.$slots.default=[t.message],t.message="REPLACED_BY_VNODE"),Uc.id=n,Uc.$mount(),document.body.appendChild(Uc.$el),Uc.visible=!0,Uc.dom=Uc.$el,Uc.dom.style.zIndex=w["PopupManager"].nextZIndex();var a=t.offset||0;return Xc.filter((function(e){return e.position===s})).forEach((function(e){a+=e.$el.offsetHeight+16})),a+=16,Uc.verticalOffset=a,Xc.push(Uc),Uc}};["success","warning","info","error"].forEach((function(e){Qc[e]=function(t){return("string"===typeof t||Object(Eo["isVNode"])(t))&&(t={message:t}),t.type=e,Qc(t)}})),Qc.close=function(e,t){var i=-1,n=Xc.length,s=Xc.filter((function(t,n){return t.id===e&&(i=n,!0)}))[0];if(s&&("function"===typeof t&&t(s),Xc.splice(i,1),!(n<=1)))for(var a=s.position,r=s.dom.offsetHeight,o=i;o=0;e--)Xc[e].close()};var Jc=Qc,eu=Jc,tu=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-slider",class:{"is-vertical":e.vertical,"el-slider--with-input":e.showInput},attrs:{role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled}},[e.showInput&&!e.range?i("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.inputSize},on:{change:e.emitChange},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}):e._e(),i("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":e.showInput,disabled:e.sliderDisabled},style:e.runwayStyle,on:{click:e.onSliderClick}},[i("div",{staticClass:"el-slider__bar",style:e.barStyle}),i("slider-button",{ref:"button1",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}),e.range?i("slider-button",{ref:"button2",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.secondValue,callback:function(t){e.secondValue=t},expression:"secondValue"}}):e._e(),e._l(e.stops,(function(t,n){return e.showStops?i("div",{key:n,staticClass:"el-slider__stop",style:e.getStopStyle(t)}):e._e()})),e.markList.length>0?[i("div",e._l(e.markList,(function(t,n){return i("div",{key:n,staticClass:"el-slider__stop el-slider__marks-stop",style:e.getStopStyle(t.position)})})),0),i("div",{staticClass:"el-slider__marks"},e._l(e.markList,(function(t,n){return i("slider-marker",{key:n,style:e.getStopStyle(t.position),attrs:{mark:t.mark}})})),1)]:e._e()],2)],1)},iu=[];tu._withStripped=!0;var nu=i(42),su=i.n(nu),au=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:e.hovering,dragging:e.dragging},style:e.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave,mousedown:e.onButtonDown,touchstart:e.onButtonDown,focus:e.handleMouseEnter,blur:e.handleMouseLeave,keydown:[function(t){return!("button"in t)&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:e.onLeftKeyDown(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"right",39,t.key,["Right","ArrowRight"])||"button"in t&&2!==t.button?null:e.onRightKeyDown(t)},function(t){return!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"])?null:(t.preventDefault(),e.onLeftKeyDown(t))},function(t){return!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"])?null:(t.preventDefault(),e.onRightKeyDown(t))}]}},[i("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":e.tooltipClass,disabled:!e.showTooltip}},[i("span",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.formatValue))]),i("div",{staticClass:"el-slider__button",class:{hover:e.hovering,dragging:e.dragging}})])],1)},ru=[];au._withStripped=!0;var ou={name:"ElSliderButton",components:{ElTooltip:st.a},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(e){this.$parent.dragging=e}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(e){this.disabled||(e.preventDefault(),this.onDragStart(e),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition),this.$parent.emitChange())},onDragStart:function(e){this.dragging=!0,this.isClick=!0,"touchstart"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?this.startY=e.clientY:this.startX=e.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(e){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var t=0;"touchmove"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?(this.currentY=e.clientY,t=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=e.clientX,t=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+t,this.setPosition(this.newPosition)}},onDragEnd:function(){var e=this;this.dragging&&(setTimeout((function(){e.dragging=!1,e.hideTooltip(),e.isClick||(e.setPosition(e.newPosition),e.$parent.emitChange())}),0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(e){var t=this;if(null!==e&&!isNaN(e)){e<0?e=0:e>100&&(e=100);var i=100/((this.max-this.min)/this.step),n=Math.round(e/i),s=n*i*(this.max-this.min)*.01+this.min;s=parseFloat(s.toFixed(this.precision)),this.$emit("input",s),this.$nextTick((function(){t.displayTooltip(),t.$refs.tooltip&&t.$refs.tooltip.updatePopper()})),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}},lu=ou,cu=o(lu,au,ru,!1,null,null,null);cu.options.__file="packages/slider/src/button.vue";var uu=cu.exports,hu={name:"ElMarker",props:{mark:{type:[String,Object]}},render:function(){var e=arguments[0],t="string"===typeof this.mark?this.mark:this.mark.label;return e("div",{class:"el-slider__marks-text",style:this.mark.style||{}},[t])}},du={name:"ElSlider",mixins:[E.a],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String,marks:Object},components:{ElInputNumber:su.a,SliderButton:uu,SliderMarker:hu},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(e,t){this.dragging||Array.isArray(e)&&Array.isArray(t)&&e.every((function(e,i){return e===t[i]}))||this.setValues()},dragging:function(e){e||this.setValues()},firstValue:function(e){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",e)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var e=this;return this.range?![this.minValue,this.maxValue].every((function(t,i){return t===e.oldValue[i]})):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)console.error("[Element Error][Slider]min should not be greater than max.");else{var e=this.value;this.range&&Array.isArray(e)?e[1]this.max?this.$emit("input",[this.max,this.max]):e[0]this.max?this.$emit("input",[e[0],this.max]):(this.firstValue=e[0],this.secondValue=e[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=e.slice())):this.range||"number"!==typeof e||isNaN(e)||(ethis.max?this.$emit("input",this.max):(this.firstValue=e,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",e),this.oldValue=e)))}},setPosition:function(e){var t=this.min+e*(this.max-this.min)/100;if(this.range){var i=void 0;i=Math.abs(this.minValue-t)this.secondValue?"button1":"button2",this.$refs[i].setPosition(e)}else this.$refs.button1.setPosition(e)},onSliderClick:function(e){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var t=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((t-e.clientY)/this.sliderSize*100)}else{var i=this.$refs.slider.getBoundingClientRect().left;this.setPosition((e.clientX-i)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var e=this;this.$nextTick((function(){e.$emit("change",e.range?[e.minValue,e.maxValue]:e.value)}))},getStopStyle:function(e){return this.vertical?{bottom:e+"%"}:{left:e+"%"}}},computed:{stops:function(){var e=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var t=(this.max-this.min)/this.step,i=100*this.step/(this.max-this.min),n=[],s=1;s100*(e.maxValue-e.min)/(e.max-e.min)})):n.filter((function(t){return t>100*(e.firstValue-e.min)/(e.max-e.min)}))},markList:function(){var e=this;if(!this.marks)return[];var t=Object.keys(this.marks);return t.map(parseFloat).sort((function(e,t){return e-t})).filter((function(t){return t<=e.max&&t>=e.min})).map((function(t){return{point:t,position:100*(t-e.min)/(e.max-e.min),mark:e.marks[t]}}))},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var e=[this.min,this.max,this.step].map((function(e){var t=(""+e).split(".")[1];return t?t.length:0}));return Math.max.apply(null,e)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var e=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],e=this.firstValue+"-"+this.secondValue):("number"!==typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,e=this.firstValue),this.$el.setAttribute("aria-valuetext",e),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}},pu=du,fu=o(pu,tu,iu,!1,null,null,null);fu.options.__file="packages/slider/src/main.vue";var mu=fu.exports;mu.install=function(e){e.component(mu.name,mu)};var vu=mu,gu=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[i("div",{staticClass:"el-loading-spinner"},[e.spinner?i("i",{class:e.spinner}):i("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?i("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])},bu=[];gu._withStripped=!0;var yu={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}},Cu=yu,xu=o(Cu,gu,bu,!1,null,null,null);xu.options.__file="packages/loading/src/loading.vue";var _u=xu.exports,wu=i(33),ku=i.n(wu),Su=Rn.a.extend(_u),Du={install:function(e){if(!e.prototype.$isServer){var t=function(t,n){n.value?e.nextTick((function(){n.modifiers.fullscreen?(t.originalPosition=Object(je["getStyle"])(document.body,"position"),t.originalOverflow=Object(je["getStyle"])(document.body,"overflow"),t.maskStyle.zIndex=w["PopupManager"].nextZIndex(),Object(je["addClass"])(t.mask,"is-fullscreen"),i(document.body,t,n)):(Object(je["removeClass"])(t.mask,"is-fullscreen"),n.modifiers.body?(t.originalPosition=Object(je["getStyle"])(document.body,"position"),["top","left"].forEach((function(e){var i="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[i]+document.documentElement[i]-parseInt(Object(je["getStyle"])(document.body,"margin-"+e),10)+"px"})),["height","width"].forEach((function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"})),i(document.body,t,n)):(t.originalPosition=Object(je["getStyle"])(t,"position"),i(t,t,n)))})):(ku()(t.instance,(function(e){if(t.instance.hiding){t.domVisible=!1;var i=n.modifiers.fullscreen||n.modifiers.body?document.body:t;Object(je["removeClass"])(i,"el-loading-parent--relative"),Object(je["removeClass"])(i,"el-loading-parent--hidden"),t.instance.hiding=!1}}),300,!0),t.instance.visible=!1,t.instance.hiding=!0)},i=function(t,i,n){i.domVisible||"none"===Object(je["getStyle"])(i,"display")||"hidden"===Object(je["getStyle"])(i,"visibility")?i.domVisible&&!0===i.instance.hiding&&(i.instance.visible=!0,i.instance.hiding=!1):(Object.keys(i.maskStyle).forEach((function(e){i.mask.style[e]=i.maskStyle[e]})),"absolute"!==i.originalPosition&&"fixed"!==i.originalPosition&&"sticky"!==i.originalPosition&&Object(je["addClass"])(t,"el-loading-parent--relative"),n.modifiers.fullscreen&&n.modifiers.lock&&Object(je["addClass"])(t,"el-loading-parent--hidden"),i.domVisible=!0,t.appendChild(i.mask),e.nextTick((function(){i.instance.hiding?i.instance.$emit("after-leave"):i.instance.visible=!0})),i.domInserted=!0)};e.directive("loading",{bind:function(e,i,n){var s=e.getAttribute("element-loading-text"),a=e.getAttribute("element-loading-spinner"),r=e.getAttribute("element-loading-background"),o=e.getAttribute("element-loading-custom-class"),l=n.context,c=new Su({el:document.createElement("div"),data:{text:l&&l[s]||s,spinner:l&&l[a]||a,background:l&&l[r]||r,customClass:l&&l[o]||o,fullscreen:!!i.modifiers.fullscreen}});e.instance=c,e.mask=c.$el,e.maskStyle={},i.value&&t(e,i)},update:function(e,i){e.instance.setText(e.getAttribute("element-loading-text")),i.oldValue!==i.value&&t(e,i)},unbind:function(e,i){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:i.modifiers})),e.instance&&e.instance.$destroy()}})}}},$u=Du,Eu=Rn.a.extend(_u),Ou={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},Tu=void 0;Eu.prototype.originalPosition="",Eu.prototype.originalOverflow="",Eu.prototype.close=function(){var e=this;this.fullscreen&&(Tu=void 0),ku()(this,(function(t){var i=e.fullscreen||e.body?document.body:e.target;Object(je["removeClass"])(i,"el-loading-parent--relative"),Object(je["removeClass"])(i,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()}),300),this.visible=!1};var Nu=function(e,t,i){var n={};e.fullscreen?(i.originalPosition=Object(je["getStyle"])(document.body,"position"),i.originalOverflow=Object(je["getStyle"])(document.body,"overflow"),n.zIndex=w["PopupManager"].nextZIndex()):e.body?(i.originalPosition=Object(je["getStyle"])(document.body,"position"),["top","left"].forEach((function(t){var i="top"===t?"scrollTop":"scrollLeft";n[t]=e.target.getBoundingClientRect()[t]+document.body[i]+document.documentElement[i]+"px"})),["height","width"].forEach((function(t){n[t]=e.target.getBoundingClientRect()[t]+"px"}))):i.originalPosition=Object(je["getStyle"])(t,"position"),Object.keys(n).forEach((function(e){i.$el.style[e]=n[e]}))},Iu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Rn.a.prototype.$isServer){if(e=St()({},Ou,e),"string"===typeof e.target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&Tu)return Tu;var t=e.body?document.body:e.target,i=new Eu({el:document.createElement("div"),data:e});return Nu(e,t,i),"absolute"!==i.originalPosition&&"fixed"!==i.originalPosition&&"sticky"!==i.originalPosition&&Object(je["addClass"])(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&Object(je["addClass"])(t,"el-loading-parent--hidden"),t.appendChild(i.$el),Rn.a.nextTick((function(){i.visible=!0})),e.fullscreen&&(Tu=i),i}},Pu=Iu,Mu={install:function(e){e.use($u),e.prototype.$loading=Pu},directive:$u,service:Pu},Fu=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("i",{class:"el-icon-"+e.name})},Vu=[];Fu._withStripped=!0;var Lu={name:"ElIcon",props:{name:String}},ju=Lu,Au=o(ju,Fu,Vu,!1,null,null,null);Au.options.__file="packages/icon/src/icon.vue";var Bu=Au.exports;Bu.install=function(e){e.component(Bu.name,Bu)};var zu=Bu,Ru={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:String},computed:{style:function(){var e={};return this.gutter&&(e.marginLeft="-"+this.gutter/2+"px",e.marginRight=e.marginLeft),e}},render:function(e){return e(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"",this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)},install:function(e){e.component(Ru.name,Ru)}},Hu=Ru,Wu="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Yu={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){var e=this.$parent;while(e&&"ElRow"!==e.$options.componentName)e=e.$parent;return e?e.gutter:0}},render:function(e){var t=this,i=[],n={};return this.gutter&&(n.paddingLeft=this.gutter/2+"px",n.paddingRight=n.paddingLeft),["span","offset","pull","push"].forEach((function(e){(t[e]||0===t[e])&&i.push("span"!==e?"el-col-"+e+"-"+t[e]:"el-col-"+t[e])})),["xs","sm","md","lg","xl"].forEach((function(e){if("number"===typeof t[e])i.push("el-col-"+e+"-"+t[e]);else if("object"===Wu(t[e])){var n=t[e];Object.keys(n).forEach((function(t){i.push("span"!==t?"el-col-"+e+"-"+t+"-"+n[t]:"el-col-"+e+"-"+n[t])}))}})),e(this.tag,{class:["el-col",i],style:n},this.$slots.default)},install:function(e){e.component(Yu.name,Yu)}},qu=Yu,Ku=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,(function(t){return i("li",{key:t.uid,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(i){if(!("button"in i)&&e._k(i.keyCode,"delete",[8,46],i.key,["Backspace","Delete","Del"]))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},[e._t("default",["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?i("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),i("a",{staticClass:"el-upload-list__item-name",on:{click:function(i){e.handleClick(t)}}},[i("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),i("label",{staticClass:"el-upload-list__item-status-label"},[i("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():i("i",{staticClass:"el-icon-close",on:{click:function(i){e.$emit("remove",t)}}}),e.disabled?e._e():i("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?i("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?i("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?i("span",{staticClass:"el-upload-list__item-preview",on:{click:function(i){e.handlePreview(t)}}},[i("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():i("span",{staticClass:"el-upload-list__item-delete",on:{click:function(i){e.$emit("remove",t)}}},[i("i",{staticClass:"el-icon-delete"})])]):e._e()],{file:t})],2)})),0)},Gu=[];Ku._withStripped=!0;var Uu=i(34),Xu=i.n(Uu),Zu={name:"ElUploadList",mixins:[g.a],data:function(){return{focusing:!1}},components:{ElProgress:Xu.a},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}},Qu=Zu,Ju=o(Qu,Ku,Gu,!1,null,null,null);Ju.options.__file="packages/upload/src/upload-list.vue";var eh=Ju.exports,th=i(24),ih=i.n(th);function nh(e,t,i){var n=void 0;n=i.response?""+(i.response.error||i.response):i.responseText?""+i.responseText:"fail to post "+e+" "+i.status;var s=new Error(n);return s.status=i.status,s.method="post",s.url=e,s}function sh(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(i){return t}}function ah(e){if("undefined"!==typeof XMLHttpRequest){var t=new XMLHttpRequest,i=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var n=new FormData;e.data&&Object.keys(e.data).forEach((function(t){n.append(t,e.data[t])})),n.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(nh(i,e,t));e.onSuccess(sh(t))},t.open("post",i,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var s=e.headers||{};for(var a in s)s.hasOwnProperty(a)&&null!==s[a]&&t.setRequestHeader(a,s[a]);return t.send(n),t}}var rh=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){return t.preventDefault(),e.onDrop(t)},dragover:function(t){return t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)},oh=[];rh._withStripped=!0;var lh={name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;this.dragover=!1,t?this.$emit("file",[].slice.call(e.dataTransfer.files).filter((function(e){var i=e.type,n=e.name,s=n.indexOf(".")>-1?"."+n.split(".").pop():"",a=i.replace(/\/.*$/,"");return t.split(",").map((function(e){return e.trim()})).filter((function(e){return e})).some((function(e){return/\..+$/.test(e)?s===e:/\/\*$/.test(e)?a===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&i===e}))}))):this.$emit("file",e.dataTransfer.files)}}}},ch=lh,uh=o(ch,rh,oh,!1,null,null,null);uh.options.__file="packages/upload/src/upload-dragger.vue";var hh,dh,ph=uh.exports,fh={inject:["uploader"],components:{UploadDragger:ph},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:ah},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)this.onExceed&&this.onExceed(e,this.fileList);else{var i=Array.prototype.slice.call(e);this.multiple||(i=i.slice(0,1)),0!==i.length&&i.forEach((function(e){t.onStart(e),t.autoUpload&&t.upload(e)}))}},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var i=this.beforeUpload(e);i&&i.then?i.then((function(i){var n=Object.prototype.toString.call(i);if("[object File]"===n||"[object Blob]"===n){for(var s in"[object Blob]"===n&&(i=new File([i],e.name,{type:e.type})),e)e.hasOwnProperty(s)&&(i[s]=e[s]);t.post(i)}else t.post(e)}),(function(){t.onRemove(null,e)})):!1!==i?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var i=e;e.uid&&(i=e.uid),t[i]&&t[i].abort()}else Object.keys(t).forEach((function(e){t[e]&&t[e].abort(),delete t[e]}))},post:function(e){var t=this,i=e.uid,n={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(i){t.onProgress(i,e)},onSuccess:function(n){t.onSuccess(n,e),delete t.reqs[i]},onError:function(n){t.onError(n,e),delete t.reqs[i]}},s=this.httpRequest(n);this.reqs[i]=s,s&&s.then&&s.then(n.onSuccess,n.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,i=this.drag,n=this.name,s=this.handleChange,a=this.multiple,r=this.accept,o=this.listType,l=this.uploadFiles,c=this.disabled,u=this.handleKeydown,h={class:{"el-upload":!0},on:{click:t,keydown:u}};return h.class["el-upload--"+o]=!0,e("div",ih()([h,{attrs:{tabindex:"0"}}]),[i?e("upload-dragger",{attrs:{disabled:c},on:{file:l}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:n,multiple:a,accept:r},ref:"input",on:{change:s}})])}},mh=fh,vh=o(mh,hh,dh,!1,null,null,null);vh.options.__file="packages/upload/src/upload.vue";var gh=vh.exports;function bh(){}var yh,Ch,xh={name:"ElUpload",mixins:[D.a],components:{ElProgress:Xu.a,UploadList:eh,Upload:gh},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:bh},onChange:{type:Function,default:bh},onPreview:{type:Function},onSuccess:{type:Function,default:bh},onProgress:{type:Function,default:bh},onError:{type:Function,default:bh},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:bh}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{listType:function(e){"picture-card"!==e&&"picture"!==e||(this.uploadFiles=this.uploadFiles.map((function(e){if(!e.url&&e.raw)try{e.url=URL.createObjectURL(e.raw)}catch(t){console.error("[Element Error][Upload]",t)}return e})))},fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map((function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e}))}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};if("picture-card"===this.listType||"picture"===this.listType)try{t.url=URL.createObjectURL(e)}catch(i){return void console.error("[Element Error][Upload]",i)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var i=this.getFile(t);this.onProgress(e,i,this.uploadFiles),i.status="uploading",i.percentage=e.percent||0},handleSuccess:function(e,t){var i=this.getFile(t);i&&(i.status="success",i.response=e,this.onSuccess(e,i,this.uploadFiles),this.onChange(i,this.uploadFiles))},handleError:function(e,t){var i=this.getFile(t),n=this.uploadFiles;i.status="fail",n.splice(n.indexOf(i),1),this.onError(e,i,this.uploadFiles),this.onChange(i,this.uploadFiles)},handleRemove:function(e,t){var i=this;t&&(e=this.getFile(t));var n=function(){i.abort(e);var t=i.uploadFiles;t.splice(t.indexOf(e),1),i.onRemove(e,t)};if(this.beforeRemove){if("function"===typeof this.beforeRemove){var s=this.beforeRemove(e,this.uploadFiles);s&&s.then?s.then((function(){n()}),bh):!1!==s&&n()}}else n()},getFile:function(e){var t=this.uploadFiles,i=void 0;return t.every((function(t){return i=e.uid===t.uid?t:null,!i})),i},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter((function(e){return"ready"===e.status})).forEach((function(t){e.$refs["upload-inner"].upload(t.raw)}))},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},beforeDestroy:function(){this.uploadFiles.forEach((function(e){e.url&&0===e.url.indexOf("blob:")&&URL.revokeObjectURL(e.url)}))},render:function(e){var t=this,i=void 0;this.showFileList&&(i=e(eh,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[function(e){if(t.$scopedSlots.file)return t.$scopedSlots.file({file:e.file})}]));var n={props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},s=this.$slots.trigger||this.$slots.default,a=e("upload",n,[s]);return e("div",["picture-card"===this.listType?i:"",this.$slots.trigger?[a,this.$slots.default]:a,this.$slots.tip,"picture-card"!==this.listType?i:""])}},_h=xh,wh=o(_h,yh,Ch,!1,null,null,null);wh.options.__file="packages/upload/src/index.vue";var kh=wh.exports;kh.install=function(e){e.component(kh.name,kh)};var Sh=kh,Dh=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?i("div",{staticClass:"el-progress-bar"},[i("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px",backgroundColor:e.defineBackColor}},[i("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?i("div",{staticClass:"el-progress-bar__innerText",style:{color:e.textColor}},[e._v(e._s(e.content))]):e._e()])])]):i("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[i("svg",{attrs:{viewBox:"0 0 100 100"}},[i("path",{staticClass:"el-progress-circle__track",style:e.trailPathStyle,attrs:{d:e.trackPath,stroke:e.defineBackColor,"stroke-width":e.relativeStrokeWidth,fill:"none"}}),i("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,stroke:e.stroke,fill:"none","stroke-linecap":e.strokeLinecap,"stroke-width":e.percentage?e.relativeStrokeWidth:0}})])]),e.showText&&!e.textInside?i("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px",color:e.textColor}},[e.status?i("i",{class:e.iconClass}):[e._v(e._s(e.content))]],2):e._e()])},$h=[];Dh._withStripped=!0;var Eh={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle","dashboard"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),i=0;ie)return t[i].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,i){return"string"===typeof e?{color:e,percentage:(i+1)*t}:e}))}}},Oh=Eh,Th=o(Oh,Dh,$h,!1,null,null,null);Th.options.__file="packages/progress/src/progress.vue";var Nh=Th.exports;Nh.install=function(e){e.component(Nh.name,Nh)};var Ih=Nh,Ph=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"el-spinner"},[i("svg",{staticClass:"el-spinner-inner",style:{width:e.radius/2+"px",height:e.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:e.strokeColor,"stroke-width":e.strokeWidth}})])])},Mh=[];Ph._withStripped=!0;var Fh={name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}},Vh=Fh,Lh=o(Vh,Ph,Mh,!1,null,null,null);Lh.options.__file="packages/spinner/src/spinner.vue";var jh=Lh.exports;jh.install=function(e){e.component(jh.name,jh)};var Ah=jh,Bh=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-message-fade"},on:{"after-leave":e.handleAfterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?i("i",{class:e.iconClass}):i("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?i("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):i("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?i("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},zh=[];Bh._withStripped=!0;var Rh={success:"success",info:"info",warning:"warning",error:"error"},Hh={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,verticalOffset:20,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+Rh[this.type]:""},positionStyle:function(){return{top:this.verticalOffset+"px"}}},watch:{closed:function(e){e&&(this.visible=!1)}},methods:{handleAfterLeave:function(){this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"===typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout((function(){e.closed||e.close()}),this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}},Wh=Hh,Yh=o(Wh,Bh,zh,!1,null,null,null);Yh.options.__file="packages/message/src/main.vue";var qh=Yh.exports,Kh=i(16),Gh=Object.assign||function(e){for(var t=1;tZh.length-1))for(var r=n;r=0;e--)Zh[e].close()};var ed=Jh,td=ed,id=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-badge"},[e._t("default"),i("transition",{attrs:{name:"el-zoom-in-center"}},[i("sup",{directives:[{name:"show",rawName:"v-show",value:!e.hidden&&(e.content||0===e.content||e.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:[e.type?"el-badge__content--"+e.type:null,{"is-fixed":e.$slots.default,"is-dot":e.isDot}],domProps:{textContent:e._s(e.content)}})])],2)},nd=[];id._withStripped=!0;var sd={name:"ElBadge",props:{value:[String,Number],max:Number,isDot:Boolean,hidden:Boolean,type:{type:String,validator:function(e){return["primary","success","warning","info","danger"].indexOf(e)>-1}}},computed:{content:function(){if(!this.isDot){var e=this.value,t=this.max;return"number"===typeof e&&"number"===typeof t&&t0&&e-1this.value,i=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||i},getIconStyle:function(e){var t=this.rateDisabled?this.disabledVoidColor:this.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,i=e.keyCode;38===i||39===i?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==i&&40!==i||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var i=t.target;Object(je["hasClass"])(i,"el-rate__item")&&(i=i.querySelector(".el-rate__icon")),Object(je["hasClass"])(i,"el-rate__decimal")&&(i=i.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=i.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}},yd=bd,Cd=o(yd,vd,gd,!1,null,null,null);Cd.options.__file="packages/rate/src/main.vue";var xd=Cd.exports;xd.install=function(e){e.component(xd.name,xd)};var _d=xd,wd=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-steps",class:[!e.simple&&"el-steps--"+e.direction,e.simple&&"el-steps--simple"]},[e._t("default")],2)},kd=[];wd._withStripped=!0;var Sd={name:"ElSteps",mixins:[D.a],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(e,t){this.$emit("change",e,t)},steps:function(e){e.forEach((function(e,t){e.index=t}))}}},Dd=Sd,$d=o(Dd,wd,kd,!1,null,null,null);$d.options.__file="packages/steps/src/steps.vue";var Ed=$d.exports;Ed.install=function(e){e.component(Ed.name,Ed)};var Od=Ed,Td=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-step",class:[!e.isSimple&&"is-"+e.$parent.direction,e.isSimple&&"is-simple",e.isLast&&!e.space&&!e.isCenter&&"is-flex",e.isCenter&&!e.isVertical&&!e.isSimple&&"is-center"],style:e.style},[i("div",{staticClass:"el-step__head",class:"is-"+e.currentStatus},[i("div",{staticClass:"el-step__line",style:e.isLast?"":{marginRight:e.$parent.stepOffset+"px"}},[i("i",{staticClass:"el-step__line-inner",style:e.lineStyle})]),i("div",{staticClass:"el-step__icon",class:"is-"+(e.icon?"icon":"text")},["success"!==e.currentStatus&&"error"!==e.currentStatus?e._t("icon",[e.icon?i("i",{staticClass:"el-step__icon-inner",class:[e.icon]}):e._e(),e.icon||e.isSimple?e._e():i("div",{staticClass:"el-step__icon-inner"},[e._v(e._s(e.index+1))])]):i("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===e.currentStatus?"check":"close")]})],2)]),i("div",{staticClass:"el-step__main"},[i("div",{ref:"title",staticClass:"el-step__title",class:["is-"+e.currentStatus]},[e._t("title",[e._v(e._s(e.title))])],2),e.isSimple?i("div",{staticClass:"el-step__arrow"}):i("div",{staticClass:"el-step__description",class:["is-"+e.currentStatus]},[e._t("description",[e._v(e._s(e.description))])],2)])])},Nd=[];Td._withStripped=!0;var Id={name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var e=this.$parent.steps,t=e.indexOf(this);t>=0&&e.splice(t,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var e=this.$parent.steps[this.index-1];return e?e.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var e=this.$parent;return e.steps[e.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var e=this.isSimple,t=this.$parent.space;return e?"":t},style:function(){var e={},t=this.$parent,i=t.steps.length,n="number"===typeof this.space?this.space+"px":this.space?this.space:100/(i-(this.isCenter?0:1))+"%";return e.flexBasis=n,this.isVertical||(this.isLast?e.maxWidth=100/this.stepsCount+"%":e.marginRight=-this.$parent.stepOffset+"px"),e}},methods:{updateStatus:function(e){var t=this.$parent.$children[this.index-1];e>this.index?this.internalStatus=this.$parent.finishStatus:e===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",t&&t.calcProgress(this.internalStatus)},calcProgress:function(e){var t=100,i={};i.transitionDelay=150*this.index+"ms",e===this.$parent.processStatus?(this.currentStatus,t=0):"wait"===e&&(t=0,i.transitionDelay=-150*this.index+"ms"),i.borderWidth=t&&!this.isSimple?"1px":0,"vertical"===this.$parent.direction?i.height=t+"%":i.width=t+"%",this.lineStyle=i}},mounted:function(){var e=this,t=this.$watch("index",(function(i){e.$watch("$parent.active",e.updateStatus,{immediate:!0}),e.$watch("$parent.processStatus",(function(){var t=e.$parent.active;e.updateStatus(t)}),{immediate:!0}),t()}))}},Pd=Id,Md=o(Pd,Td,Nd,!1,null,null,null);Md.options.__file="packages/steps/src/step.vue";var Fd=Md.exports;Fd.install=function(e){e.component(Fd.name,Fd)};var Vd=Fd,Ld=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:e.carouselClasses,on:{mouseenter:function(t){return t.stopPropagation(),e.handleMouseEnter(t)},mouseleave:function(t){return t.stopPropagation(),e.handleMouseLeave(t)}}},[i("div",{staticClass:"el-carousel__container",style:{height:e.height}},[e.arrowDisplay?i("transition",{attrs:{name:"carousel-arrow-left"}},[i("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex>0),expression:"(arrow === 'always' || hover) && (loop || activeIndex > 0)"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("left")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex-1)}}},[i("i",{staticClass:"el-icon-arrow-left"})])]):e._e(),e.arrowDisplay?i("transition",{attrs:{name:"carousel-arrow-right"}},[i("button",{directives:[{name:"show",rawName:"v-show",value:("always"===e.arrow||e.hover)&&(e.loop||e.activeIndex0}))},carouselClasses:function(){var e=["el-carousel","el-carousel--"+this.direction];return"card"===this.type&&e.push("el-carousel--card"),e},indicatorsClasses:function(){var e=["el-carousel__indicators","el-carousel__indicators--"+this.direction];return this.hasLabel&&e.push("el-carousel__indicators--labels"),"outside"!==this.indicatorPosition&&"card"!==this.type||e.push("el-carousel__indicators--outside"),e}},watch:{items:function(e){e.length>0&&this.setActiveItem(this.initialIndex)},activeIndex:function(e,t){this.resetItemPosition(t),t>-1&&this.$emit("change",e,t)},autoplay:function(e){e?this.startTimer():this.pauseTimer()},loop:function(){this.setActiveItem(this.activeIndex)},interval:function(){this.pauseTimer(),this.startTimer()}},methods:{handleMouseEnter:function(){this.hover=!0,this.pauseTimer()},handleMouseLeave:function(){this.hover=!1,this.startTimer()},itemInStage:function(e,t){var i=this.items.length;return t===i-1&&e.inStage&&this.items[0].active||e.inStage&&this.items[t+1]&&this.items[t+1].active?"left":!!(0===t&&e.inStage&&this.items[i-1].active||e.inStage&&this.items[t-1]&&this.items[t-1].active)&&"right"},handleButtonEnter:function(e){var t=this;"vertical"!==this.direction&&this.items.forEach((function(i,n){e===t.itemInStage(i,n)&&(i.hover=!0)}))},handleButtonLeave:function(){"vertical"!==this.direction&&this.items.forEach((function(e){e.hover=!1}))},updateItems:function(){this.items=this.$children.filter((function(e){return"ElCarouselItem"===e.$options.name}))},resetItemPosition:function(e){var t=this;this.items.forEach((function(i,n){i.translateItem(n,t.activeIndex,e)}))},playSlides:function(){this.activeIndex0&&(e=this.items.indexOf(t[0]))}if(e=Number(e),isNaN(e)||e!==Math.floor(e))console.warn("[Element Warn][Carousel]index must be an integer.");else{var i=this.items.length,n=this.activeIndex;this.activeIndex=e<0?this.loop?i-1:0:e>=i?this.loop?0:i-1:e,n===this.activeIndex&&this.resetItemPosition(n),this.resetTimer()}},prev:function(){this.setActiveItem(this.activeIndex-1)},next:function(){this.setActiveItem(this.activeIndex+1)},handleIndicatorClick:function(e){this.activeIndex=e},handleIndicatorHover:function(e){"hover"===this.trigger&&e!==this.activeIndex&&(this.activeIndex=e)}},created:function(){var e=this;this.throttledArrowClick=Bd()(300,!0,(function(t){e.setActiveItem(t)})),this.throttledIndicatorHover=Bd()(300,(function(t){e.handleIndicatorHover(t)}))},mounted:function(){var e=this;this.updateItems(),this.$nextTick((function(){Object(Ji["addResizeListener"])(e.$el,e.resetItemPosition),e.initialIndex=0&&(e.activeIndex=e.initialIndex),e.startTimer()}))},beforeDestroy:function(){this.$el&&Object(Ji["removeResizeListener"])(this.$el,this.resetItemPosition),this.pauseTimer()}},Rd=zd,Hd=o(Rd,Ld,jd,!1,null,null,null);Hd.options.__file="packages/carousel/src/main.vue";var Wd=Hd.exports;Wd.install=function(e){e.component(Wd.name,Wd)};var Yd=Wd,qd={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};function Kd(e){var t=e.move,i=e.size,n=e.bar,s={},a="translate"+n.axis+"("+t+"%)";return s[n.size]=i,s.transform=a,s.msTransform=a,s.webkitTransform=a,s}var Gd={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return qd[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,i=this.move,n=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+n.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:Kd({size:t,move:i,bar:n})})])},methods:{clickThumbHandler:function(e){e.ctrlKey||2===e.button||(this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction]))},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]/2,n=100*(t-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,Object(je["on"])(document,"mousemove",this.mouseMoveDocumentHandler),Object(je["on"])(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var i=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]-t,s=100*(i-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=s*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,Object(je["off"])(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){Object(je["off"])(document,"mouseup",this.mouseUpDocumentHandler)}},Ud={name:"ElScrollbar",components:{Bar:Gd},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=bs()(),i=this.wrapStyle;if(t){var n="-"+t+"px",s="margin-bottom: "+n+"; margin-right: "+n+";";Array.isArray(this.wrapStyle)?(i=Object(b["toObject"])(this.wrapStyle),i.marginRight=i.marginBottom=n):"string"===typeof this.wrapStyle?i+=s:i=s}var a=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),r=e("div",{ref:"wrap",style:i,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[a]]),o=void 0;return o=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:i},[[a]])]:[r,e(Gd,{attrs:{move:this.moveX,size:this.sizeWidth}}),e(Gd,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}})],e("div",{class:"el-scrollbar"},o)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,i=this.wrap;i&&(e=100*i.clientHeight/i.scrollHeight,t=100*i.clientWidth/i.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&Object(Ji["addResizeListener"])(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&Object(Ji["removeResizeListener"])(this.$refs.resize,this.update)},install:function(e){e.component(Ud.name,Ud)}},Xd=Ud,Zd=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],staticClass:"el-carousel__item",class:{"is-active":e.active,"el-carousel__item--card":"card"===e.$parent.type,"is-in-stage":e.inStage,"is-hover":e.hover,"is-animating":e.animating},style:e.itemStyle,on:{click:e.handleItemClick}},["card"===e.$parent.type?i("div",{directives:[{name:"show",rawName:"v-show",value:!e.active,expression:"!active"}],staticClass:"el-carousel__mask"}):e._e(),e._t("default")],2)},Qd=[];Zd._withStripped=!0;var Jd=.83,ep={name:"ElCarouselItem",props:{name:String,label:{type:[String,Number],default:""}},data:function(){return{hover:!1,translate:0,scale:1,active:!1,ready:!1,inStage:!1,animating:!1}},methods:{processIndex:function(e,t,i){return 0===t&&e===i-1?-1:t===i-1&&0===e?i:e=i/2?i+1:e>t+1&&e-t>=i/2?-2:e},calcCardTranslate:function(e,t){var i=this.$parent.$el.offsetWidth;return this.inStage?i*((2-Jd)*(e-t)+1)/4:e2&&this.$parent.loop&&(e=this.processIndex(e,t,a)),"card"===n)"vertical"===s&&console.warn("[Element Warn][Carousel]vertical direction is not supported in card mode"),this.inStage=Math.round(Math.abs(e-t))<=1,this.active=e===t,this.translate=this.calcCardTranslate(e,t),this.scale=this.active?1:Jd;else{this.active=e===t;var r="vertical"===s;this.translate=this.calcTranslate(e,t,r),this.scale=1}this.ready=!0},handleItemClick:function(){var e=this.$parent;if(e&&"card"===e.type){var t=e.items.indexOf(this);e.setActiveItem(t)}}},computed:{parentDirection:function(){return this.$parent.direction},itemStyle:function(){var e="vertical"===this.parentDirection?"translateY":"translateX",t=e+"("+this.translate+"px) scale("+this.scale+")",i={transform:t};return Object(b["autoprefixer"])(i)}},created:function(){this.$parent&&this.$parent.updateItems()},destroyed:function(){this.$parent&&this.$parent.updateItems()}},tp=ep,ip=o(tp,Zd,Qd,!1,null,null,null);ip.options.__file="packages/carousel/src/item.vue";var np=ip.exports;np.install=function(e){e.component(np.name,np)};var sp=np,ap=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-collapse",attrs:{role:"tablist","aria-multiselectable":"true"}},[e._t("default")],2)},rp=[];ap._withStripped=!0;var op={name:"ElCollapse",componentName:"ElCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:function(){return[]}}},data:function(){return{activeNames:[].concat(this.value)}},provide:function(){return{collapse:this}},watch:{value:function(e){this.activeNames=[].concat(e)}},methods:{setActiveNames:function(e){e=[].concat(e);var t=this.accordion?e[0]:e;this.activeNames=e,this.$emit("input",t),this.$emit("change",t)},handleItemClick:function(e){if(this.accordion)this.setActiveNames(!this.activeNames[0]&&0!==this.activeNames[0]||this.activeNames[0]!==e.name?e.name:"");else{var t=this.activeNames.slice(0),i=t.indexOf(e.name);i>-1?t.splice(i,1):t.push(e.name),this.setActiveNames(t)}}},created:function(){this.$on("item-click",this.handleItemClick)}},lp=op,cp=o(lp,ap,rp,!1,null,null,null);cp.options.__file="packages/collapse/src/collapse.vue";var up=cp.exports;up.install=function(e){e.component(up.name,up)};var hp=up,dp=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-collapse-item",class:{"is-active":e.isActive,"is-disabled":e.disabled}},[i("div",{attrs:{role:"tab","aria-expanded":e.isActive,"aria-controls":"el-collapse-content-"+e.id,"aria-describedby":"el-collapse-content-"+e.id}},[i("div",{staticClass:"el-collapse-item__header",class:{focusing:e.focusing,"is-active":e.isActive},attrs:{role:"button",id:"el-collapse-head-"+e.id,tabindex:e.disabled?void 0:0},on:{click:e.handleHeaderClick,keyup:function(t){return!("button"in t)&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.stopPropagation(),e.handleEnterClick(t))},focus:e.handleFocus,blur:function(t){e.focusing=!1}}},[e._t("title",[e._v(e._s(e.title))]),i("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right",class:{"is-active":e.isActive}})],2)]),i("el-collapse-transition",[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"el-collapse-item__wrap",attrs:{role:"tabpanel","aria-hidden":!e.isActive,"aria-labelledby":"el-collapse-head-"+e.id,id:"el-collapse-content-"+e.id}},[i("div",{staticClass:"el-collapse-item__content"},[e._t("default")],2)])])],1)},pp=[];dp._withStripped=!0;var fp={name:"ElCollapseItem",componentName:"ElCollapseItem",mixins:[E.a],components:{ElCollapseTransition:Ke.a},data:function(){return{contentWrapStyle:{height:"auto",display:"block"},contentHeight:0,focusing:!1,isClick:!1,id:Object(b["generateId"])()}},inject:["collapse"],props:{title:String,name:{type:[String,Number],default:function(){return this._uid}},disabled:Boolean},computed:{isActive:function(){return this.collapse.activeNames.indexOf(this.name)>-1}},methods:{handleFocus:function(){var e=this;setTimeout((function(){e.isClick?e.isClick=!1:e.focusing=!0}),50)},handleHeaderClick:function(){this.disabled||(this.dispatch("ElCollapse","item-click",this),this.focusing=!1,this.isClick=!0)},handleEnterClick:function(){this.dispatch("ElCollapse","item-click",this)}}},mp=fp,vp=o(mp,dp,pp,!1,null,null,null);vp.options.__file="packages/collapse/src/collapse-item.vue";var gp=vp.exports;gp.install=function(e){e.component(gp.name,gp)};var bp=gp,yp=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.toggleDropDownVisible(!1)},expression:"() => toggleDropDownVisible(false)"}],ref:"reference",class:["el-cascader",e.realSize&&"el-cascader--"+e.realSize,{"is-disabled":e.isDisabled}],on:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1},click:function(){return e.toggleDropDownVisible(!e.readonly||void 0)},keydown:e.handleKeyDown}},[i("el-input",{ref:"input",class:{"is-focus":e.dropDownVisible},attrs:{size:e.realSize,placeholder:e.placeholder,readonly:e.readonly,disabled:e.isDisabled,"validate-event":!1},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.handleInput},model:{value:e.multiple?e.presentText:e.inputValue,callback:function(t){e.multiple?e.presentText:e.inputValue=t},expression:"multiple ? presentText : inputValue"}},[i("template",{slot:"suffix"},[e.clearBtnVisible?i("i",{key:"clear",staticClass:"el-input__icon el-icon-circle-close",on:{click:function(t){return t.stopPropagation(),e.handleClear(t)}}}):i("i",{key:"arrow-down",class:["el-input__icon","el-icon-arrow-down",e.dropDownVisible&&"is-reverse"],on:{click:function(t){t.stopPropagation(),e.toggleDropDownVisible()}}})])],2),e.multiple?i("div",{staticClass:"el-cascader__tags"},[e._l(e.presentTags,(function(t){return i("el-tag",{key:t.key,attrs:{type:"info",size:e.tagSize,hit:t.hitState,closable:t.closable,"disable-transitions":""},on:{close:function(i){e.deleteTag(t)}}},[i("span",[e._v(e._s(t.text))])])})),e.filterable&&!e.isDisabled?i("input",{directives:[{name:"model",rawName:"v-model.trim",value:e.inputValue,expression:"inputValue",modifiers:{trim:!0}}],staticClass:"el-cascader__search-input",attrs:{type:"text",placeholder:e.presentTags.length?"":e.placeholder},domProps:{value:e.inputValue},on:{input:[function(t){t.target.composing||(e.inputValue=t.target.value.trim())},function(t){return e.handleInput(e.inputValue,t)}],click:function(t){t.stopPropagation(),e.toggleDropDownVisible(!0)},keydown:function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.handleDelete(t)},blur:function(t){e.$forceUpdate()}}}):e._e()],2):e._e(),i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.handleDropdownLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.dropDownVisible,expression:"dropDownVisible"}],ref:"popper",class:["el-popper","el-cascader__dropdown",e.popperClass]},[i("el-cascader-panel",{directives:[{name:"show",rawName:"v-show",value:!e.filtering,expression:"!filtering"}],ref:"panel",attrs:{options:e.options,props:e.config,border:!1,"render-label":e.$scopedSlots.default},on:{"expand-change":e.handleExpandChange,close:function(t){e.toggleDropDownVisible(!1)}},model:{value:e.checkedValue,callback:function(t){e.checkedValue=t},expression:"checkedValue"}}),e.filterable?i("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.filtering,expression:"filtering"}],ref:"suggestionPanel",staticClass:"el-cascader__suggestion-panel",attrs:{tag:"ul","view-class":"el-cascader__suggestion-list"},nativeOn:{keydown:function(t){return e.handleSuggestionKeyDown(t)}}},[e.suggestions.length?e._l(e.suggestions,(function(t,n){return i("li",{key:t.uid,class:["el-cascader__suggestion-item",t.checked&&"is-checked"],attrs:{tabindex:-1},on:{click:function(t){e.handleSuggestionClick(n)}}},[i("span",[e._v(e._s(t.text))]),t.checked?i("i",{staticClass:"el-icon-check"}):e._e()])})):e._t("empty",[i("li",{staticClass:"el-cascader__empty-text"},[e._v(e._s(e.t("el.cascader.noMatch")))])])],2):e._e()],1)])],1)},Cp=[];yp._withStripped=!0;var xp=i(43),_p=i.n(xp),wp=i(35),kp=i.n(wp),Sp=kp.a.keys,Dp={expandTrigger:{newProp:"expandTrigger",type:String},changeOnSelect:{newProp:"checkStrictly",type:Boolean},hoverThreshold:{newProp:"hoverThreshold",type:Number}},$p={props:{placement:{type:String,default:"bottom-start"},appendToBody:H.a.props.appendToBody,visibleArrow:{type:Boolean,default:!0},arrowOffset:H.a.props.arrowOffset,offset:H.a.props.offset,boundariesPadding:H.a.props.boundariesPadding,popperOptions:H.a.props.popperOptions,transformOrigin:H.a.props.transformOrigin},methods:H.a.methods,data:H.a.data,beforeDestroy:H.a.beforeDestroy},Ep={medium:36,small:32,mini:28},Op={name:"ElCascader",directives:{Clickoutside:A.a},mixins:[$p,E.a,g.a,D.a],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:m.a,ElTag:Qi.a,ElScrollbar:Y.a,ElCascaderPanel:_p.a},props:{value:{},options:Array,props:Object,size:String,placeholder:{type:String,default:function(){return Object(bo["t"])("el.cascader.placeholder")}},disabled:Boolean,clearable:Boolean,filterable:Boolean,filterMethod:Function,separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},popperClass:String},data:function(){return{dropDownVisible:!1,checkedValue:this.value,inputHover:!1,inputValue:null,presentText:null,presentTags:[],checkedNodes:[],filtering:!1,suggestions:[],inputInitialHeight:0,pressDeleteCount:0}},computed:{realSize:function(){var e=(this.elFormItem||{}).elFormItemSize;return this.size||e||(this.$ELEMENT||{}).size},tagSize:function(){return["small","mini"].indexOf(this.realSize)>-1?"mini":"small"},isDisabled:function(){return this.disabled||(this.elForm||{}).disabled},config:function(){var e=this.props||{},t=this.$attrs;return Object.keys(Dp).forEach((function(i){var n=Dp[i],s=n.newProp,a=n.type,r=t[i]||t[Object(b["kebabCase"])(i)];Object(Dt["isDef"])(i)&&!Object(Dt["isDef"])(e[s])&&(a===Boolean&&""===r&&(r=!0),e[s]=r)})),e},multiple:function(){return this.config.multiple},leafOnly:function(){return!this.config.checkStrictly},readonly:function(){return!this.filterable||this.multiple},clearBtnVisible:function(){return!(!this.clearable||this.isDisabled||this.filtering||!this.inputHover)&&(this.multiple?!!this.checkedNodes.filter((function(e){return!e.isDisabled})).length:!!this.presentText)},panel:function(){return this.$refs.panel}},watch:{disabled:function(){this.computePresentContent()},value:function(e){Object(b["isEqual"])(e,this.checkedValue)||(this.checkedValue=e,this.computePresentContent())},checkedValue:function(e){var t=this.value,i=this.dropDownVisible,n=this.config,s=n.checkStrictly,a=n.multiple;Object(b["isEqual"])(e,t)&&!Object(Kh["isUndefined"])(t)||(this.computePresentContent(),a||s||!i||this.toggleDropDownVisible(!1),this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",[e]))},options:{handler:function(){this.$nextTick(this.computePresentContent)},deep:!0},presentText:function(e){this.inputValue=e},presentTags:function(e,t){this.multiple&&(e.length||t.length)&&this.$nextTick(this.updateStyle)},filtering:function(e){this.$nextTick(this.updatePopper)}},mounted:function(){var e=this,t=this.$refs.input;t&&t.$el&&(this.inputInitialHeight=t.$el.offsetHeight||Ep[this.realSize]||40),this.isEmptyValue(this.value)||this.computePresentContent(),this.filterHandler=L()(this.debounce,(function(){var t=e.inputValue;if(t){var i=e.beforeFilter(t);i&&i.then?i.then(e.getSuggestions):!1!==i?e.getSuggestions():e.filtering=!1}else e.filtering=!1})),Object(Ji["addResizeListener"])(this.$el,this.updateStyle)},beforeDestroy:function(){Object(Ji["removeResizeListener"])(this.$el,this.updateStyle)},methods:{getMigratingConfig:function(){return{props:{"expand-trigger":"expand-trigger is removed, use `props.expandTrigger` instead.","change-on-select":"change-on-select is removed, use `props.checkStrictly` instead.","hover-threshold":"hover-threshold is removed, use `props.hoverThreshold` instead"},events:{"active-item-change":"active-item-change is renamed to expand-change"}}},toggleDropDownVisible:function(e){var t=this;if(!this.isDisabled){var i=this.dropDownVisible,n=this.$refs.input;e=Object(Dt["isDef"])(e)?e:!i,e!==i&&(this.dropDownVisible=e,e&&this.$nextTick((function(){t.updatePopper(),t.panel.scrollIntoView()})),n.$refs.input.setAttribute("aria-expanded",e),this.$emit("visible-change",e))}},handleDropdownLeave:function(){this.filtering=!1,this.inputValue=this.presentText,this.doDestroy()},handleKeyDown:function(e){switch(e.keyCode){case Sp.enter:this.toggleDropDownVisible();break;case Sp.down:this.toggleDropDownVisible(!0),this.focusFirstNode(),e.preventDefault();break;case Sp.esc:case Sp.tab:this.toggleDropDownVisible(!1);break}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)},handleInput:function(e,t){!this.dropDownVisible&&this.toggleDropDownVisible(!0),t&&t.isComposing||(e?this.filterHandler():this.filtering=!1)},handleClear:function(){this.presentText="",this.panel.clearCheckedNodes()},handleExpandChange:function(e){this.$nextTick(this.updatePopper.bind(this)),this.$emit("expand-change",e),this.$emit("active-item-change",e)},focusFirstNode:function(){var e=this;this.$nextTick((function(){var t=e.filtering,i=e.$refs,n=i.popper,s=i.suggestionPanel,a=null;if(t&&s)a=s.$el.querySelector(".el-cascader__suggestion-item");else{var r=n.querySelector(".el-cascader-menu");a=r.querySelector('.el-cascader-node[tabindex="-1"]')}a&&(a.focus(),!t&&a.click())}))},computePresentContent:function(){var e=this;this.$nextTick((function(){e.config.multiple?(e.computePresentTags(),e.presentText=e.presentTags.length?" ":null):e.computePresentText()}))},isEmptyValue:function(e){var t=this.multiple,i=this.panel.config.emitPath;return!(!t&&!i)&&Object(b["isEmpty"])(e)},computePresentText:function(){var e=this.checkedValue,t=this.config;if(!this.isEmptyValue(e)){var i=this.panel.getNodeByValue(e);if(i&&(t.checkStrictly||i.isLeaf))return void(this.presentText=i.getText(this.showAllLevels,this.separator))}this.presentText=null},computePresentTags:function(){var e=this.isDisabled,t=this.leafOnly,i=this.showAllLevels,n=this.separator,s=this.collapseTags,a=this.getCheckedNodes(t),r=[],o=function(t){return{node:t,key:t.uid,text:t.getText(i,n),hitState:!1,closable:!e&&!t.isDisabled}};if(a.length){var l=a[0],c=a.slice(1),u=c.length;r.push(o(l)),u&&(s?r.push({key:-1,text:"+ "+u,closable:!1}):c.forEach((function(e){return r.push(o(e))})))}this.checkedNodes=a,this.presentTags=r},getSuggestions:function(){var e=this,t=this.filterMethod;Object(Kh["isFunction"])(t)||(t=function(e,t){return e.text.includes(t)});var i=this.panel.getFlattedNodes(this.leafOnly).filter((function(i){return!i.isDisabled&&(i.text=i.getText(e.showAllLevels,e.separator)||"",t(i,e.inputValue))}));this.multiple?this.presentTags.forEach((function(e){e.hitState=!1})):i.forEach((function(t){t.checked=Object(b["isEqual"])(e.checkedValue,t.getValueByOption())})),this.filtering=!0,this.suggestions=i,this.$nextTick(this.updatePopper)},handleSuggestionKeyDown:function(e){var t=e.keyCode,i=e.target;switch(t){case Sp.enter:i.click();break;case Sp.up:var n=i.previousElementSibling;n&&n.focus();break;case Sp.down:var s=i.nextElementSibling;s&&s.focus();break;case Sp.esc:case Sp.tab:this.toggleDropDownVisible(!1);break}},handleDelete:function(){var e=this.inputValue,t=this.pressDeleteCount,i=this.presentTags,n=i.length-1,s=i[n];this.pressDeleteCount=e?0:t+1,s&&this.pressDeleteCount&&(s.hitState?this.deleteTag(s):s.hitState=!0)},handleSuggestionClick:function(e){var t=this.multiple,i=this.suggestions[e];if(t){var n=i.checked;i.doCheck(!n),this.panel.calculateMultiCheckedValue()}else this.checkedValue=i.getValueByOption(),this.toggleDropDownVisible(!1)},deleteTag:function(e){var t=this.checkedValue,i=e.node.getValueByOption(),n=t.find((function(e){return Object(b["isEqual"])(e,i)}));this.checkedValue=t.filter((function(e){return!Object(b["isEqual"])(e,i)})),this.$emit("remove-tag",n)},updateStyle:function(){var e=this.$el,t=this.inputInitialHeight;if(!this.$isServer&&e){var i=this.$refs.suggestionPanel,n=e.querySelector(".el-input__inner");if(n){var s=e.querySelector(".el-cascader__tags"),a=null;if(i&&(a=i.$el)){var r=a.querySelector(".el-cascader__suggestion-list");r.style.minWidth=n.offsetWidth+"px"}if(s){var o=Math.round(s.getBoundingClientRect().height),l=Math.max(o+6,t)+"px";n.style.height=l,this.dropDownVisible&&this.updatePopper()}}}},getCheckedNodes:function(e){return this.panel.getCheckedNodes(e)}}},Tp=Op,Np=o(Tp,yp,Cp,!1,null,null,null);Np.options.__file="packages/cascader/src/cascader.vue";var Ip=Np.exports;Ip.install=function(e){e.component(Ip.name,Ip)};var Pp=Ip,Mp=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.hide,expression:"hide"}],class:["el-color-picker",e.colorDisabled?"is-disabled":"",e.colorSize?"el-color-picker--"+e.colorSize:""]},[e.colorDisabled?i("div",{staticClass:"el-color-picker__mask"}):e._e(),i("div",{staticClass:"el-color-picker__trigger",on:{click:e.handleTrigger}},[i("span",{staticClass:"el-color-picker__color",class:{"is-alpha":e.showAlpha}},[i("span",{staticClass:"el-color-picker__color-inner",style:{backgroundColor:e.displayedColor}}),e.value||e.showPanelColor?e._e():i("span",{staticClass:"el-color-picker__empty el-icon-close"})]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.value||e.showPanelColor,expression:"value || showPanelColor"}],staticClass:"el-color-picker__icon el-icon-arrow-down"})]),i("picker-dropdown",{ref:"dropdown",class:["el-color-picker__panel",e.popperClass||""],attrs:{color:e.color,"show-alpha":e.showAlpha,predefine:e.predefine},on:{pick:e.confirmValue,clear:e.clearValue},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}})],1)},Fp=[];Mp._withStripped=!0;var Vp="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function Lp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var jp=function(e,t,i){return[e,t*i/((e=(2-t)*i)<1?e:2-e)||0,e/2]},Ap=function(e){return"string"===typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)},Bp=function(e){return"string"===typeof e&&-1!==e.indexOf("%")},zp=function(e,t){Ap(e)&&(e="100%");var i=Bp(e);return e=Math.min(t,Math.max(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)},Rp={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Hp=function(e){var t=e.r,i=e.g,n=e.b,s=function(e){e=Math.min(Math.round(e),255);var t=Math.floor(e/16),i=e%16;return""+(Rp[t]||t)+(Rp[i]||i)};return isNaN(t)||isNaN(i)||isNaN(n)?"":"#"+s(t)+s(i)+s(n)},Wp={A:10,B:11,C:12,D:13,E:14,F:15},Yp=function(e){return 2===e.length?16*(Wp[e[0].toUpperCase()]||+e[0])+(Wp[e[1].toUpperCase()]||+e[1]):Wp[e[1].toUpperCase()]||+e[1]},qp=function(e,t,i){t/=100,i/=100;var n=t,s=Math.max(i,.01),a=void 0,r=void 0;return i*=2,t*=i<=1?i:2-i,n*=s<=1?s:2-s,r=(i+t)/2,a=0===i?2*n/(s+n):2*t/(i+t),{h:e,s:100*a,v:100*r}},Kp=function(e,t,i){e=zp(e,255),t=zp(t,255),i=zp(i,255);var n=Math.max(e,t,i),s=Math.min(e,t,i),a=void 0,r=void 0,o=n,l=n-s;if(r=0===n?0:l/n,n===s)a=0;else{switch(n){case e:a=(t-i)/l+(t2?parseFloat(e):parseInt(e,10)}));if(4===n.length?this._alpha=Math.floor(100*parseFloat(n[3])):3===n.length&&(this._alpha=100),n.length>=3){var s=qp(n[0],n[1],n[2]),a=s.h,r=s.s,o=s.v;i(a,r,o)}}else if(-1!==e.indexOf("hsv")){var l=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));4===l.length?this._alpha=Math.floor(100*parseFloat(l[3])):3===l.length&&(this._alpha=100),l.length>=3&&i(l[0],l[1],l[2])}else if(-1!==e.indexOf("rgb")){var c=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((function(e){return""!==e})).map((function(e,t){return t>2?parseFloat(e):parseInt(e,10)}));if(4===c.length?this._alpha=Math.floor(100*parseFloat(c[3])):3===c.length&&(this._alpha=100),c.length>=3){var u=Kp(c[0],c[1],c[2]),h=u.h,d=u.s,p=u.v;i(h,d,p)}}else if(-1!==e.indexOf("#")){var f=e.replace("#","").trim();if(!/^(?:[0-9a-fA-F]{3}){1,2}|[0-9a-fA-F]{8}$/.test(f))return;var m=void 0,v=void 0,g=void 0;3===f.length?(m=Yp(f[0]+f[0]),v=Yp(f[1]+f[1]),g=Yp(f[2]+f[2])):6!==f.length&&8!==f.length||(m=Yp(f.substring(0,2)),v=Yp(f.substring(2,4)),g=Yp(f.substring(4,6))),8===f.length?this._alpha=Math.floor(Yp(f.substring(6))/255*100):3!==f.length&&6!==f.length||(this._alpha=100);var b=Kp(m,v,g),y=b.h,C=b.s,x=b.v;i(y,C,x)}},e.prototype.compare=function(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1},e.prototype.doOnChange=function(){var e=this._hue,t=this._saturation,i=this._value,n=this._alpha,s=this.format;if(this.enableAlpha)switch(s){case"hsl":var a=jp(e,t/100,i/100);this.value="hsla("+e+", "+Math.round(100*a[1])+"%, "+Math.round(100*a[2])+"%, "+n/100+")";break;case"hsv":this.value="hsva("+e+", "+Math.round(t)+"%, "+Math.round(i)+"%, "+n/100+")";break;default:var r=Gp(e,t,i),o=r.r,l=r.g,c=r.b;this.value="rgba("+o+", "+l+", "+c+", "+n/100+")"}else switch(s){case"hsl":var u=jp(e,t/100,i/100);this.value="hsl("+e+", "+Math.round(100*u[1])+"%, "+Math.round(100*u[2])+"%)";break;case"hsv":this.value="hsv("+e+", "+Math.round(t)+"%, "+Math.round(i)+"%)";break;case"rgb":var h=Gp(e,t,i),d=h.r,p=h.g,f=h.b;this.value="rgb("+d+", "+p+", "+f+")";break;default:this.value=Hp(Gp(e,t,i))}},e}(),Xp=Up,Zp=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-color-dropdown"},[i("div",{staticClass:"el-color-dropdown__main-wrapper"},[i("hue-slider",{ref:"hue",staticStyle:{float:"right"},attrs:{color:e.color,vertical:""}}),i("sv-panel",{ref:"sl",attrs:{color:e.color}})],1),e.showAlpha?i("alpha-slider",{ref:"alpha",attrs:{color:e.color}}):e._e(),e.predefine?i("predefine",{attrs:{color:e.color,colors:e.predefine}}):e._e(),i("div",{staticClass:"el-color-dropdown__btns"},[i("span",{staticClass:"el-color-dropdown__value"},[i("el-input",{attrs:{"validate-event":!1,size:"mini"},on:{blur:e.handleConfirm},nativeOn:{keyup:function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleConfirm(t)}},model:{value:e.customInput,callback:function(t){e.customInput=t},expression:"customInput"}})],1),i("el-button",{staticClass:"el-color-dropdown__link-btn",attrs:{size:"mini",type:"text"},on:{click:function(t){e.$emit("clear")}}},[e._v("\n "+e._s(e.t("el.colorpicker.clear"))+"\n ")]),i("el-button",{staticClass:"el-color-dropdown__btn",attrs:{plain:"",size:"mini"},on:{click:e.confirmValue}},[e._v("\n "+e._s(e.t("el.colorpicker.confirm"))+"\n ")])],1)],1)])},Qp=[];Zp._withStripped=!0;var Jp=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-svpanel",style:{backgroundColor:e.background}},[i("div",{staticClass:"el-color-svpanel__white"}),i("div",{staticClass:"el-color-svpanel__black"}),i("div",{staticClass:"el-color-svpanel__cursor",style:{top:e.cursorTop+"px",left:e.cursorLeft+"px"}},[i("div")])])},ef=[];Jp._withStripped=!0;var tf=!1,nf=function(e,t){if(!Rn.a.prototype.$isServer){var i=function(e){t.drag&&t.drag(e)},n=function e(n){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,tf=!1,t.end&&t.end(n)};e.addEventListener("mousedown",(function(e){tf||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},document.addEventListener("mousemove",i),document.addEventListener("mouseup",n),tf=!0,t.start&&t.start(e))}))}},sf={name:"el-sl-panel",props:{color:{required:!0}},computed:{colorValue:function(){var e=this.color.get("hue"),t=this.color.get("value");return{hue:e,value:t}}},watch:{colorValue:function(){this.update()}},methods:{update:function(){var e=this.color.get("saturation"),t=this.color.get("value"),i=this.$el,n=i.clientWidth,s=i.clientHeight;this.cursorLeft=e*n/100,this.cursorTop=(100-t)*s/100,this.background="hsl("+this.color.get("hue")+", 100%, 50%)"},handleDrag:function(e){var t=this.$el,i=t.getBoundingClientRect(),n=e.clientX-i.left,s=e.clientY-i.top;n=Math.max(0,n),n=Math.min(n,i.width),s=Math.max(0,s),s=Math.min(s,i.height),this.cursorLeft=n,this.cursorTop=s,this.color.set({saturation:n/i.width*100,value:100-s/i.height*100})}},mounted:function(){var e=this;nf(this.$el,{drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}}),this.update()},data:function(){return{cursorTop:0,cursorLeft:0,background:"hsl(0, 100%, 50%)"}}},af=sf,rf=o(af,Jp,ef,!1,null,null,null);rf.options.__file="packages/color-picker/src/components/sv-panel.vue";var of=rf.exports,lf=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-hue-slider",class:{"is-vertical":e.vertical}},[i("div",{ref:"bar",staticClass:"el-color-hue-slider__bar",on:{click:e.handleClick}}),i("div",{ref:"thumb",staticClass:"el-color-hue-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},cf=[];lf._withStripped=!0;var uf={name:"el-color-hue-slider",props:{color:{required:!0},vertical:Boolean},data:function(){return{thumbLeft:0,thumbTop:0}},computed:{hueValue:function(){var e=this.color.get("hue");return e}},watch:{hueValue:function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb,i=e.target;i!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),i=this.$refs.thumb,n=void 0;if(this.vertical){var s=e.clientY-t.top;s=Math.min(s,t.height-i.offsetHeight/2),s=Math.max(i.offsetHeight/2,s),n=Math.round((s-i.offsetHeight/2)/(t.height-i.offsetHeight)*360)}else{var a=e.clientX-t.left;a=Math.min(a,t.width-i.offsetWidth/2),a=Math.max(i.offsetWidth/2,a),n=Math.round((a-i.offsetWidth/2)/(t.width-i.offsetWidth)*360)}this.color.set("hue",n)},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetWidth-i.offsetWidth/2)/360)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetHeight-i.offsetHeight/2)/360)},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop()}},mounted:function(){var e=this,t=this.$refs,i=t.bar,n=t.thumb,s={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};nf(i,s),nf(n,s),this.update()}},hf=uf,df=o(hf,lf,cf,!1,null,null,null);df.options.__file="packages/color-picker/src/components/hue-slider.vue";var pf=df.exports,ff=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-alpha-slider",class:{"is-vertical":e.vertical}},[i("div",{ref:"bar",staticClass:"el-color-alpha-slider__bar",style:{background:e.background},on:{click:e.handleClick}}),i("div",{ref:"thumb",staticClass:"el-color-alpha-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},mf=[];ff._withStripped=!0;var vf={name:"el-color-alpha-slider",props:{color:{required:!0},vertical:Boolean},watch:{"color._alpha":function(){this.update()},"color.value":function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb,i=e.target;i!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),i=this.$refs.thumb;if(this.vertical){var n=e.clientY-t.top;n=Math.max(i.offsetHeight/2,n),n=Math.min(n,t.height-i.offsetHeight/2),this.color.set("alpha",Math.round((n-i.offsetHeight/2)/(t.height-i.offsetHeight)*100))}else{var s=e.clientX-t.left;s=Math.max(i.offsetWidth/2,s),s=Math.min(s,t.width-i.offsetWidth/2),this.color.set("alpha",Math.round((s-i.offsetWidth/2)/(t.width-i.offsetWidth)*100))}},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetWidth-i.offsetWidth/2)/100)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetHeight-i.offsetHeight/2)/100)},getBackground:function(){if(this.color&&this.color.value){var e=this.color.toRgb(),t=e.r,i=e.g,n=e.b;return"linear-gradient(to right, rgba("+t+", "+i+", "+n+", 0) 0%, rgba("+t+", "+i+", "+n+", 1) 100%)"}return null},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop(),this.background=this.getBackground()}},data:function(){return{thumbLeft:0,thumbTop:0,background:null}},mounted:function(){var e=this,t=this.$refs,i=t.bar,n=t.thumb,s={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};nf(i,s),nf(n,s),this.update()}},gf=vf,bf=o(gf,ff,mf,!1,null,null,null);bf.options.__file="packages/color-picker/src/components/alpha-slider.vue";var yf=bf.exports,Cf=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-predefine"},[i("div",{staticClass:"el-color-predefine__colors"},e._l(e.rgbaColors,(function(t,n){return i("div",{key:e.colors[n],staticClass:"el-color-predefine__color-selector",class:{selected:t.selected,"is-alpha":t._alpha<100},on:{click:function(t){e.handleSelect(n)}}},[i("div",{style:{"background-color":t.value}})])})),0)])},xf=[];Cf._withStripped=!0;var _f={props:{colors:{type:Array,required:!0},color:{required:!0}},data:function(){return{rgbaColors:this.parseColors(this.colors,this.color)}},methods:{handleSelect:function(e){this.color.fromString(this.colors[e])},parseColors:function(e,t){return e.map((function(e){var i=new Xp;return i.enableAlpha=!0,i.format="rgba",i.fromString(e),i.selected=i.value===t.value,i}))}},watch:{"$parent.currentColor":function(e){var t=new Xp;t.fromString(e),this.rgbaColors.forEach((function(e){e.selected=t.compare(e)}))},colors:function(e){this.rgbaColors=this.parseColors(e,this.color)},color:function(e){this.rgbaColors=this.parseColors(this.colors,e)}}},wf=_f,kf=o(wf,Cf,xf,!1,null,null,null);kf.options.__file="packages/color-picker/src/components/predefine.vue";var Sf=kf.exports,Df={name:"el-color-picker-dropdown",mixins:[H.a,g.a],components:{SvPanel:of,HueSlider:pf,AlphaSlider:yf,ElInput:m.a,ElButton:re.a,Predefine:Sf},props:{color:{required:!0},showAlpha:Boolean,predefine:Array},data:function(){return{customInput:""}},computed:{currentColor:function(){var e=this.$parent;return e.value||e.showPanelColor?e.color.value:""}},methods:{confirmValue:function(){this.$emit("pick")},handleConfirm:function(){this.color.fromString(this.customInput)}},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{showPopper:function(e){var t=this;!0===e&&this.$nextTick((function(){var e=t.$refs,i=e.sl,n=e.hue,s=e.alpha;i&&i.update(),n&&n.update(),s&&s.update()}))},currentColor:{immediate:!0,handler:function(e){this.customInput=e}}}},$f=Df,Ef=o($f,Zp,Qp,!1,null,null,null);Ef.options.__file="packages/color-picker/src/components/picker-dropdown.vue";var Of=Ef.exports,Tf={name:"ElColorPicker",mixins:[E.a],props:{value:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:String,popperClass:String,predefine:Array},inject:{elForm:{default:""},elFormItem:{default:""}},directives:{Clickoutside:A.a},computed:{displayedColor:function(){return this.value||this.showPanelColor?this.displayedRgb(this.color,this.showAlpha):"transparent"},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},colorSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},colorDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){e?e&&e!==this.color.value&&this.color.fromString(e):this.showPanelColor=!1},color:{deep:!0,handler:function(){this.showPanelColor=!0}},displayedColor:function(e){if(this.showPicker){var t=new Xp({enableAlpha:this.showAlpha,format:this.colorFormat});t.fromString(this.value);var i=this.displayedRgb(t,this.showAlpha);e!==i&&this.$emit("active-change",e)}}},methods:{handleTrigger:function(){this.colorDisabled||(this.showPicker=!this.showPicker)},confirmValue:function(){var e=this.color.value;this.$emit("input",e),this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",e),this.showPicker=!1},clearValue:function(){this.$emit("input",null),this.$emit("change",null),null!==this.value&&this.dispatch("ElFormItem","el.form.change",null),this.showPanelColor=!1,this.showPicker=!1,this.resetColor()},hide:function(){this.showPicker=!1,this.resetColor()},resetColor:function(){var e=this;this.$nextTick((function(t){e.value?e.color.fromString(e.value):e.showPanelColor=!1}))},displayedRgb:function(e,t){if(!(e instanceof Xp))throw Error("color should be instance of Color Class");var i=e.toRgb(),n=i.r,s=i.g,a=i.b;return t?"rgba("+n+", "+s+", "+a+", "+e.get("alpha")/100+")":"rgb("+n+", "+s+", "+a+")"}},mounted:function(){var e=this.value;e&&this.color.fromString(e),this.popperElm=this.$refs.dropdown.$el},data:function(){var e=new Xp({enableAlpha:this.showAlpha,format:this.colorFormat});return{color:e,showPicker:!1,showPanelColor:!1}},components:{PickerDropdown:Of}},Nf=Tf,If=o(Nf,Mp,Fp,!1,null,null,null);If.options.__file="packages/color-picker/src/main.vue";var Pf=If.exports;Pf.install=function(e){e.component(Pf.name,Pf)};var Mf=Pf,Ff=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-transfer"},[i("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),i("div",{staticClass:"el-transfer__buttons"},[i("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){return e.addToLeft(t)}}},[i("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?i("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),i("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){return e.addToRight(t)}}},[void 0!==e.buttonTexts[1]?i("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),i("i",{staticClass:"el-icon-arrow-right"})])],1),i("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)},Vf=[];Ff._withStripped=!0;var Lf=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-transfer-panel"},[i("p",{staticClass:"el-transfer-panel__header"},[i("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleAllCheckedChange},model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}},[e._v("\n "+e._s(e.title)+"\n "),i("span",[e._v(e._s(e.checkedSummary))])])],1),i("div",{class:["el-transfer-panel__body",e.hasFooter?"is-with-footer":""]},[e.filterable?i("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:e.placeholder},nativeOn:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}},[i("i",{class:["el-input__icon","el-icon-"+e.inputIcon],attrs:{slot:"prefix"},on:{click:e.clearQuery},slot:"prefix"})]):e._e(),i("el-checkbox-group",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoMatch&&e.data.length>0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":e.filterable},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},e._l(e.filteredData,(function(t){return i("el-checkbox",{key:t[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:t[e.keyProp],disabled:t[e.disabledProp]}},[i("option-content",{attrs:{option:t}})],1)})),1),i("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),i("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?i("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])},jf=[];Lf._withStripped=!0;var Af={mixins:[g.a],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:Ps.a,ElCheckbox:Mn.a,ElInput:m.a,OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t},i=t(this),n=i.$parent||i;return i.renderContent?i.renderContent(e,this.option):n.$scopedSlots.default?n.$scopedSlots.default({option:this.option}):e("span",[this.option[i.labelProp]||this.option[i.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){if(this.updateAllChecked(),this.checkChangeByUser){var i=e.concat(t).filter((function(i){return-1===e.indexOf(i)||-1===t.indexOf(i)}));this.$emit("checked-change",e,i)}else this.$emit("checked-change",e),this.checkChangeByUser=!0},data:function(){var e=this,t=[],i=this.filteredData.map((function(t){return t[e.keyProp]}));this.checked.forEach((function(e){i.indexOf(e)>-1&&t.push(e)})),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var i=this;if(!t||e.length!==t.length||!e.every((function(e){return t.indexOf(e)>-1}))){var n=[],s=this.checkableData.map((function(e){return e[i.keyProp]}));e.forEach((function(e){s.indexOf(e)>-1&&n.push(e)})),this.checkChangeByUser=!1,this.checked=n}}}},computed:{filteredData:function(){var e=this;return this.data.filter((function(t){if("function"===typeof e.filterMethod)return e.filterMethod(e.query,t);var i=t[e.labelProp]||t[e.keyProp].toString();return i.toLowerCase().indexOf(e.query.toLowerCase())>-1}))},checkableData:function(){var e=this;return this.filteredData.filter((function(t){return!t[e.disabledProp]}))},checkedSummary:function(){var e=this.checked.length,t=this.data.length,i=this.format,n=i.noChecked,s=i.hasChecked;return n&&s?e>0?s.replace(/\${checked}/g,e).replace(/\${total}/g,t):n.replace(/\${total}/g,t):e+"/"+t},isIndeterminate:function(){var e=this.checked.length;return e>0&&e0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var e=this,t=this.checkableData.map((function(t){return t[e.keyProp]}));this.allChecked=t.length>0&&t.every((function(t){return e.checked.indexOf(t)>-1}))},handleAllCheckedChange:function(e){var t=this;this.checked=e?this.checkableData.map((function(e){return e[t.keyProp]})):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}},Bf=Af,zf=o(Bf,Lf,jf,!1,null,null,null);zf.options.__file="packages/transfer/src/transfer-panel.vue";var Rf=zf.exports,Hf={name:"ElTransfer",mixins:[E.a,g.a,D.a],components:{TransferPanel:Rf,ElButton:re.a},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce((function(t,i){return(t[i[e]]=i)&&t}),{})},sourceData:function(){var e=this;return this.data.filter((function(t){return-1===e.value.indexOf(t[e.props.key])}))},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter((function(t){return e.value.indexOf(t[e.props.key])>-1})):this.value.reduce((function(t,i){var n=e.dataObj[i];return n&&t.push(n),t}),[])},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach((function(t){var i=e.indexOf(t);i>-1&&e.splice(i,1)})),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),i=[],n=this.props.key;this.data.forEach((function(t){var s=t[n];e.leftChecked.indexOf(s)>-1&&-1===e.value.indexOf(s)&&i.push(s)})),t="unshift"===this.targetOrder?i.concat(t):t.concat(i),this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}},Wf=Hf,Yf=o(Wf,Ff,Vf,!1,null,null,null);Yf.options.__file="packages/transfer/src/main.vue";var qf=Yf.exports;qf.install=function(e){e.component(qf.name,qf)};var Kf=qf,Gf=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{staticClass:"el-container",class:{"is-vertical":e.isVertical}},[e._t("default")],2)},Uf=[];Gf._withStripped=!0;var Xf={name:"ElContainer",componentName:"ElContainer",props:{direction:String},computed:{isVertical:function(){return"vertical"===this.direction||"horizontal"!==this.direction&&(!(!this.$slots||!this.$slots.default)&&this.$slots.default.some((function(e){var t=e.componentOptions&&e.componentOptions.tag;return"el-header"===t||"el-footer"===t})))}}},Zf=Xf,Qf=o(Zf,Gf,Uf,!1,null,null,null);Qf.options.__file="packages/container/src/main.vue";var Jf=Qf.exports;Jf.install=function(e){e.component(Jf.name,Jf)};var em=Jf,tm=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("header",{staticClass:"el-header",style:{height:e.height}},[e._t("default")],2)},im=[];tm._withStripped=!0;var nm={name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}},sm=nm,am=o(sm,tm,im,!1,null,null,null);am.options.__file="packages/header/src/main.vue";var rm=am.exports;rm.install=function(e){e.component(rm.name,rm)};var om=rm,lm=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("aside",{staticClass:"el-aside",style:{width:e.width}},[e._t("default")],2)},cm=[];lm._withStripped=!0;var um={name:"ElAside",componentName:"ElAside",props:{width:{type:String,default:"300px"}}},hm=um,dm=o(hm,lm,cm,!1,null,null,null);dm.options.__file="packages/aside/src/main.vue";var pm=dm.exports;pm.install=function(e){e.component(pm.name,pm)};var fm=pm,mm=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("main",{staticClass:"el-main"},[e._t("default")],2)},vm=[];mm._withStripped=!0;var gm={name:"ElMain",componentName:"ElMain"},bm=gm,ym=o(bm,mm,vm,!1,null,null,null);ym.options.__file="packages/main/src/main.vue";var Cm=ym.exports;Cm.install=function(e){e.component(Cm.name,Cm)};var xm=Cm,_m=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("footer",{staticClass:"el-footer",style:{height:e.height}},[e._t("default")],2)},wm=[];_m._withStripped=!0;var km={name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}},Sm=km,Dm=o(Sm,_m,wm,!1,null,null,null);Dm.options.__file="packages/footer/src/main.vue";var $m=Dm.exports;$m.install=function(e){e.component($m.name,$m)};var Em,Om,Tm=$m,Nm={name:"ElTimeline",props:{reverse:{type:Boolean,default:!1}},provide:function(){return{timeline:this}},render:function(){var e=arguments[0],t=this.reverse,i={"el-timeline":!0,"is-reverse":t},n=this.$slots.default||[];return t&&(n=n.reverse()),e("ul",{class:i},[n])}},Im=Nm,Pm=o(Im,Em,Om,!1,null,null,null);Pm.options.__file="packages/timeline/src/main.vue";var Mm=Pm.exports;Mm.install=function(e){e.component(Mm.name,Mm)};var Fm=Mm,Vm=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticClass:"el-timeline-item"},[i("div",{staticClass:"el-timeline-item__tail"}),e.$slots.dot?e._e():i("div",{staticClass:"el-timeline-item__node",class:["el-timeline-item__node--"+(e.size||""),"el-timeline-item__node--"+(e.type||"")],style:{backgroundColor:e.color}},[e.icon?i("i",{staticClass:"el-timeline-item__icon",class:e.icon}):e._e()]),e.$slots.dot?i("div",{staticClass:"el-timeline-item__dot"},[e._t("dot")],2):e._e(),i("div",{staticClass:"el-timeline-item__wrapper"},[e.hideTimestamp||"top"!==e.placement?e._e():i("div",{staticClass:"el-timeline-item__timestamp is-top"},[e._v("\n "+e._s(e.timestamp)+"\n ")]),i("div",{staticClass:"el-timeline-item__content"},[e._t("default")],2),e.hideTimestamp||"bottom"!==e.placement?e._e():i("div",{staticClass:"el-timeline-item__timestamp is-bottom"},[e._v("\n "+e._s(e.timestamp)+"\n ")])])])},Lm=[];Vm._withStripped=!0;var jm={name:"ElTimelineItem",inject:["timeline"],props:{timestamp:String,hideTimestamp:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},type:String,color:String,size:{type:String,default:"normal"},icon:String}},Am=jm,Bm=o(Am,Vm,Lm,!1,null,null,null);Bm.options.__file="packages/timeline/src/item.vue";var zm=Bm.exports;zm.install=function(e){e.component(zm.name,zm)};var Rm=zm,Hm=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("a",e._b({class:["el-link",e.type?"el-link--"+e.type:"",e.disabled&&"is-disabled",e.underline&&!e.disabled&&"is-underline"],attrs:{href:e.disabled?null:e.href},on:{click:e.handleClick}},"a",e.$attrs,!1),[e.icon?i("i",{class:e.icon}):e._e(),e.$slots.default?i("span",{staticClass:"el-link--inner"},[e._t("default")],2):e._e(),e.$slots.icon?[e.$slots.icon?e._t("icon"):e._e()]:e._e()],2)},Wm=[];Hm._withStripped=!0;var Ym={name:"ElLink",props:{type:{type:String,default:"default"},underline:{type:Boolean,default:!0},disabled:Boolean,href:String,icon:String},methods:{handleClick:function(e){this.disabled||this.href||this.$emit("click",e)}}},qm=Ym,Km=o(qm,Hm,Wm,!1,null,null,null);Km.options.__file="packages/link/src/main.vue";var Gm=Km.exports;Gm.install=function(e){e.component(Gm.name,Gm)};var Um=Gm,Xm=function(e,t){var i=t._c;return i("div",t._g(t._b({class:[t.data.staticClass,"el-divider","el-divider--"+t.props.direction]},"div",t.data.attrs,!1),t.listeners),[t.slots().default&&"vertical"!==t.props.direction?i("div",{class:["el-divider__text","is-"+t.props.contentPosition]},[t._t("default")],2):t._e()])},Zm=[];Xm._withStripped=!0;var Qm={name:"ElDivider",props:{direction:{type:String,default:"horizontal",validator:function(e){return-1!==["horizontal","vertical"].indexOf(e)}},contentPosition:{type:String,default:"center",validator:function(e){return-1!==["left","center","right"].indexOf(e)}}}},Jm=Qm,ev=o(Jm,Xm,Zm,!0,null,null,null);ev.options.__file="packages/divider/src/main.vue";var tv=ev.exports;tv.install=function(e){e.component(tv.name,tv)};var iv=tv,nv=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-image"},[e.loading?e._t("placeholder",[i("div",{staticClass:"el-image__placeholder"})]):e.error?e._t("error",[i("div",{staticClass:"el-image__error"},[e._v(e._s(e.t("el.image.error")))])]):i("img",e._g(e._b({staticClass:"el-image__inner",class:{"el-image__inner--center":e.alignCenter,"el-image__preview":e.preview},style:e.imageStyle,attrs:{src:e.src},on:{click:e.clickHandler}},"img",e.$attrs,!1),e.$listeners)),e.preview?[e.showViewer?i("image-viewer",{attrs:{"z-index":e.zIndex,"initial-index":e.imageIndex,"on-close":e.closeViewer,"url-list":e.previewSrcList}}):e._e()]:e._e()],2)},sv=[];nv._withStripped=!0;var av=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"viewer-fade"}},[i("div",{ref:"el-image-viewer__wrapper",staticClass:"el-image-viewer__wrapper",style:{"z-index":e.viewerZIndex},attrs:{tabindex:"-1"}},[i("div",{staticClass:"el-image-viewer__mask",on:{click:function(t){return t.target!==t.currentTarget?null:e.handleMaskClick(t)}}}),i("span",{staticClass:"el-image-viewer__btn el-image-viewer__close",on:{click:e.hide}},[i("i",{staticClass:"el-icon-close"})]),e.isSingle?e._e():[i("span",{staticClass:"el-image-viewer__btn el-image-viewer__prev",class:{"is-disabled":!e.infinite&&e.isFirst},on:{click:e.prev}},[i("i",{staticClass:"el-icon-arrow-left"})]),i("span",{staticClass:"el-image-viewer__btn el-image-viewer__next",class:{"is-disabled":!e.infinite&&e.isLast},on:{click:e.next}},[i("i",{staticClass:"el-icon-arrow-right"})])],i("div",{staticClass:"el-image-viewer__btn el-image-viewer__actions"},[i("div",{staticClass:"el-image-viewer__actions__inner"},[i("i",{staticClass:"el-icon-zoom-out",on:{click:function(t){e.handleActions("zoomOut")}}}),i("i",{staticClass:"el-icon-zoom-in",on:{click:function(t){e.handleActions("zoomIn")}}}),i("i",{staticClass:"el-image-viewer__actions__divider"}),i("i",{class:e.mode.icon,on:{click:e.toggleMode}}),i("i",{staticClass:"el-image-viewer__actions__divider"}),i("i",{staticClass:"el-icon-refresh-left",on:{click:function(t){e.handleActions("anticlocelise")}}}),i("i",{staticClass:"el-icon-refresh-right",on:{click:function(t){e.handleActions("clocelise")}}})])]),i("div",{staticClass:"el-image-viewer__canvas"},e._l(e.urlList,(function(t,n){return n===e.index?i("img",{key:t,ref:"img",refInFor:!0,staticClass:"el-image-viewer__img",style:e.imgStyle,attrs:{src:e.currentImg},on:{load:e.handleImgLoad,error:e.handleImgError,mousedown:e.handleMouseDown}}):e._e()})),0)],2)])},rv=[];av._withStripped=!0;var ov=Object.assign||function(e){for(var t=1;te?this.zIndex:e}},watch:{index:{handler:function(e){this.reset(),this.onSwitch(e)}},currentImg:function(e){var t=this;this.$nextTick((function(e){var i=t.$refs.img[0];i.complete||(t.loading=!0)}))}},methods:{hide:function(){this.deviceSupportUninstall(),this.onClose()},deviceSupportInstall:function(){var e=this;this._keyDownHandler=function(t){t.stopPropagation();var i=t.keyCode;switch(i){case 27:e.hide();break;case 32:e.toggleMode();break;case 37:e.prev();break;case 38:e.handleActions("zoomIn");break;case 39:e.next();break;case 40:e.handleActions("zoomOut");break}},this._mouseWheelHandler=Object(b["rafThrottle"])((function(t){var i=t.wheelDelta?t.wheelDelta:-t.detail;i>0?e.handleActions("zoomIn",{zoomRate:.015,enableTransition:!1}):e.handleActions("zoomOut",{zoomRate:.015,enableTransition:!1})})),Object(je["on"])(document,"keydown",this._keyDownHandler),Object(je["on"])(document,cv,this._mouseWheelHandler)},deviceSupportUninstall:function(){Object(je["off"])(document,"keydown",this._keyDownHandler),Object(je["off"])(document,cv,this._mouseWheelHandler),this._keyDownHandler=null,this._mouseWheelHandler=null},handleImgLoad:function(e){this.loading=!1},handleImgError:function(e){this.loading=!1,e.target.alt="加载失败"},handleMouseDown:function(e){var t=this;if(!this.loading&&0===e.button){var i=this.transform,n=i.offsetX,s=i.offsetY,a=e.pageX,r=e.pageY;this._dragHandler=Object(b["rafThrottle"])((function(e){t.transform.offsetX=n+e.pageX-a,t.transform.offsetY=s+e.pageY-r})),Object(je["on"])(document,"mousemove",this._dragHandler),Object(je["on"])(document,"mouseup",(function(e){Object(je["off"])(document,"mousemove",t._dragHandler)})),e.preventDefault()}},handleMaskClick:function(){this.maskClosable&&this.hide()},reset:function(){this.transform={scale:1,deg:0,offsetX:0,offsetY:0,enableTransition:!1}},toggleMode:function(){if(!this.loading){var e=Object.keys(lv),t=Object.values(lv),i=t.indexOf(this.mode),n=(i+1)%e.length;this.mode=lv[e[n]],this.reset()}},prev:function(){if(!this.isFirst||this.infinite){var e=this.urlList.length;this.index=(this.index-1+e)%e}},next:function(){if(!this.isLast||this.infinite){var e=this.urlList.length;this.index=(this.index+1)%e}},handleActions:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.loading){var i=ov({zoomRate:.2,rotateDeg:90,enableTransition:!0},t),n=i.zoomRate,s=i.rotateDeg,a=i.enableTransition,r=this.transform;switch(e){case"zoomOut":r.scale>.2&&(r.scale=parseFloat((r.scale-n).toFixed(3)));break;case"zoomIn":r.scale=parseFloat((r.scale+n).toFixed(3));break;case"clocelise":r.deg+=s;break;case"anticlocelise":r.deg-=s;break}r.enableTransition=a}}},mounted:function(){this.deviceSupportInstall(),this.appendToBody&&document.body.appendChild(this.$el),this.$refs["el-image-viewer__wrapper"].focus()},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},hv=uv,dv=o(hv,av,rv,!1,null,null,null);dv.options.__file="packages/image/src/image-viewer.vue";var pv=dv.exports,fv=function(){return void 0!==document.documentElement.style.objectFit},mv={NONE:"none",CONTAIN:"contain",COVER:"cover",FILL:"fill",SCALE_DOWN:"scale-down"},vv="",gv={name:"ElImage",mixins:[g.a],inheritAttrs:!1,components:{ImageViewer:pv},props:{src:String,fit:String,lazy:Boolean,scrollContainer:{},previewSrcList:{type:Array,default:function(){return[]}},zIndex:{type:Number,default:2e3},initialIndex:Number},data:function(){return{loading:!0,error:!1,show:!this.lazy,imageWidth:0,imageHeight:0,showViewer:!1}},computed:{imageStyle:function(){var e=this.fit;return!this.$isServer&&e?fv()?{"object-fit":e}:this.getImageStyle(e):{}},alignCenter:function(){return!this.$isServer&&!fv()&&this.fit!==mv.FILL},preview:function(){var e=this.previewSrcList;return Array.isArray(e)&&e.length>0},imageIndex:function(){var e=0,t=this.initialIndex;if(t>=0)return e=t,e;var i=this.previewSrcList.indexOf(this.src);return i>=0?(e=i,e):e}},watch:{src:function(e){this.show&&this.loadImage()},show:function(e){e&&this.loadImage()}},mounted:function(){this.lazy?this.addLazyLoadListener():this.loadImage()},beforeDestroy:function(){this.lazy&&this.removeLazyLoadListener()},methods:{loadImage:function(){var e=this;if(!this.$isServer){this.loading=!0,this.error=!1;var t=new Image;t.onload=function(i){return e.handleLoad(i,t)},t.onerror=this.handleError.bind(this),Object.keys(this.$attrs).forEach((function(i){var n=e.$attrs[i];t.setAttribute(i,n)})),t.src=this.src}},handleLoad:function(e,t){this.imageWidth=t.width,this.imageHeight=t.height,this.loading=!1,this.error=!1},handleError:function(e){this.loading=!1,this.error=!0,this.$emit("error",e)},handleLazyLoad:function(){Object(je["isInContainer"])(this.$el,this._scrollContainer)&&(this.show=!0,this.removeLazyLoadListener())},addLazyLoadListener:function(){if(!this.$isServer){var e=this.scrollContainer,t=null;t=Object(Kh["isHtmlElement"])(e)?e:Object(Kh["isString"])(e)?document.querySelector(e):Object(je["getScrollContainer"])(this.$el),t&&(this._scrollContainer=t,this._lazyLoadHandler=Bd()(200,this.handleLazyLoad),Object(je["on"])(t,"scroll",this._lazyLoadHandler),this.handleLazyLoad())}},removeLazyLoadListener:function(){var e=this._scrollContainer,t=this._lazyLoadHandler;!this.$isServer&&e&&t&&(Object(je["off"])(e,"scroll",t),this._scrollContainer=null,this._lazyLoadHandler=null)},getImageStyle:function(e){var t=this.imageWidth,i=this.imageHeight,n=this.$el,s=n.clientWidth,a=n.clientHeight;if(!t||!i||!s||!a)return{};var r=t/i,o=s/a;if(e===mv.SCALE_DOWN){var l=ts)return console.warn("[ElementCalendar]end time should be greater than start time"),[];if(Object(oa["validateRangeInOneMonth"])(n,s))return[[n,s]];var a=[],r=new Date(n.getFullYear(),n.getMonth()+1,1),o=this.toDate(r.getTime()-Mv);if(!Object(oa["validateRangeInOneMonth"])(r,s))return console.warn("[ElementCalendar]start time and end time interval must not exceed two months"),[];a.push([n,o]);var l=this.realFirstDayOfWeek,c=r.getDay(),u=0;return c!==l&&(0===l?u=7-c:(u=l-c,u=u>0?u:7+u)),r=this.toDate(r.getTime()+u*Mv),r.getDate()6?0:Math.floor(this.firstDayOfWeek)}},data:function(){return{selectedDay:"",now:new Date}}},Vv=Fv,Lv=o(Vv,_v,wv,!1,null,null,null);Lv.options.__file="packages/calendar/src/main.vue";var jv=Lv.exports;jv.install=function(e){e.component(jv.name,jv)};var Av=jv,Bv=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-fade-in"}},[e.visible?i("div",{staticClass:"el-backtop",style:{right:e.styleRight,bottom:e.styleBottom},on:{click:function(t){return t.stopPropagation(),e.handleClick(t)}}},[e._t("default",[i("el-icon",{attrs:{name:"caret-top"}})])],2):e._e()])},zv=[];Bv._withStripped=!0;var Rv=function(e){return Math.pow(e,3)},Hv=function(e){return e<.5?Rv(2*e)/2:1-Rv(2*(1-e))/2},Wv={name:"ElBacktop",props:{visibilityHeight:{type:Number,default:200},target:[String],right:{type:Number,default:40},bottom:{type:Number,default:40}},data:function(){return{el:null,container:null,visible:!1}},computed:{styleBottom:function(){return this.bottom+"px"},styleRight:function(){return this.right+"px"}},mounted:function(){this.init(),this.throttledScrollHandler=Bd()(300,this.onScroll),this.container.addEventListener("scroll",this.throttledScrollHandler)},methods:{init:function(){if(this.container=document,this.el=document.documentElement,this.target){if(this.el=document.querySelector(this.target),!this.el)throw new Error("target is not existed: "+this.target);this.container=this.el}},onScroll:function(){var e=this.el.scrollTop;this.visible=e>=this.visibilityHeight},handleClick:function(e){this.scrollToTop(),this.$emit("click",e)},scrollToTop:function(){var e=this.el,t=Date.now(),i=e.scrollTop,n=window.requestAnimationFrame||function(e){return setTimeout(e,16)},s=function s(){var a=(Date.now()-t)/500;a<1?(e.scrollTop=i*(1-Hv(a)),n(s)):e.scrollTop=0};n(s)}},beforeDestroy:function(){this.container.removeEventListener("scroll",this.throttledScrollHandler)}},Yv=Wv,qv=o(Yv,Bv,zv,!1,null,null,null);qv.options.__file="packages/backtop/src/main.vue";var Kv=qv.exports;Kv.install=function(e){e.component(Kv.name,Kv)};var Gv=Kv,Uv=function(e,t){if(e===window&&(e=document.documentElement),1!==e.nodeType)return[];var i=window.getComputedStyle(e,null);return t?i[t]:i},Xv=function(e){return Object.keys(e||{}).map((function(t){return[t,e[t]]}))},Zv=function(e,t){return e===window||e===document?document.documentElement[t]:e[t]},Qv=function(e){return Zv(e,"offsetHeight")},Jv=function(e){return Zv(e,"clientHeight")},eg="ElInfiniteScroll",tg={delay:{type:Number,default:200},distance:{type:Number,default:0},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},ig=function(e,t){return Object(Kh["isHtmlElement"])(e)?Xv(tg).reduce((function(i,n){var s=n[0],a=n[1],r=a.type,o=a.default,l=e.getAttribute("infinite-scroll-"+s);switch(l=Object(Kh["isUndefined"])(t[l])?l:t[l],r){case Number:l=Number(l),l=Number.isNaN(l)?o:l;break;case Boolean:l=Object(Kh["isDefined"])(l)?"false"!==l&&Boolean(l):o;break;default:l=r(l)}return i[s]=l,i}),{}):{}},ng=function(e){return e.getBoundingClientRect().top},sg=function(e){var t=this[eg],i=t.el,n=t.vm,s=t.container,a=t.observer,r=ig(i,n),o=r.distance,l=r.disabled;if(!l){var c=s.getBoundingClientRect();if(c.width||c.height){var u=!1;if(s===i){var h=s.scrollTop+Jv(s);u=s.scrollHeight-h<=o}else{var d=Qv(i)+ng(i)-ng(s),p=Qv(s),f=Number.parseFloat(Uv(s,"borderBottomWidth"));u=d-p+f<=o}u&&Object(Kh["isFunction"])(e)?e.call(n):a&&(a.disconnect(),this[eg].observer=null)}}},ag={name:"InfiniteScroll",inserted:function(e,t,i){var n=t.value,s=i.context,a=Object(je["getScrollContainer"])(e,!0),r=ig(e,s),o=r.delay,l=r.immediate,c=L()(o,sg.bind(e,n));if(e[eg]={el:e,vm:s,container:a,onScroll:c},a&&(a.addEventListener("scroll",c),l)){var u=e[eg].observer=new MutationObserver(c);u.observe(a,{childList:!0,subtree:!0}),c()}},unbind:function(e){var t=e[eg],i=t.container,n=t.onScroll;i&&i.removeEventListener("scroll",n)},install:function(e){e.directive(ag.name,ag)}},rg=ag,og=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-page-header"},[i("div",{staticClass:"el-page-header__left",on:{click:function(t){e.$emit("back")}}},[i("i",{staticClass:"el-icon-back"}),i("div",{staticClass:"el-page-header__title"},[e._t("title",[e._v(e._s(e.title))])],2)]),i("div",{staticClass:"el-page-header__content"},[e._t("content",[e._v(e._s(e.content))])],2)])},lg=[];og._withStripped=!0;var cg={name:"ElPageHeader",props:{title:{type:String,default:function(){return Object(bo["t"])("el.pageHeader.title")}},content:String}},ug=cg,hg=o(ug,og,lg,!1,null,null,null);hg.options.__file="packages/page-header/src/main.vue";var dg=hg.exports;dg.install=function(e){e.component(dg.name,dg)};var pg=dg,fg=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return i("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},mg=[];fg._withStripped=!0;var vg,gg,bg=i(44),yg=i.n(bg),Cg=function(e){return e.stopPropagation()},xg={inject:["panel"],components:{ElCheckbox:Mn.a,ElRadio:yg.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,i=this.node,n=this.isDisabled,s=this.config,a=s.multiple,r=s.checkStrictly;!r&&n||i.loading||(s.lazy&&!i.loaded?t.lazyLoad(i,(function(){var t=e.isLeaf;if(t||e.handleExpand(),a){var n=!!t&&i.checked;e.handleMultiCheckChange(n)}})):t.handleExpand(i))},handleCheckChange:function(){var e=this.panel,t=this.value,i=this.node;e.handleCheckChange(t),e.handleExpand(i)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,i=e[t.level-1]||{};return i.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,i=this.isChecked,n=this.config,s=n.checkStrictly,a=n.multiple;return a?this.renderCheckbox(e):s?this.renderRadio(e):t&&i?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,i=this.isLeaf;return t.loading?this.renderLoadingIcon(e):i?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,i=this.config,n=this.isDisabled,s={on:{change:this.handleMultiCheckChange},nativeOn:{}};return i.checkStrictly&&(s.nativeOn.click=Cg),e("el-checkbox",ih()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:n}},s]))},renderRadio:function(e){var t=this.checkedValue,i=this.value,n=this.isDisabled;return Object(b["isEqual"])(i,t)&&(i=t),e("el-radio",{attrs:{value:t,label:i,disabled:n},on:{change:this.handleCheckChange},nativeOn:{click:Cg}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,i=this.node,n=t.renderLabelFn,s=n?n({node:i,data:i.data}):null;return e("span",{class:"el-cascader-node__label"},[s||i.label])}},render:function(e){var t=this,i=this.inActivePath,n=this.inCheckedPath,s=this.isChecked,a=this.isLeaf,r=this.isDisabled,o=this.config,l=this.nodeId,c=o.expandTrigger,u=o.checkStrictly,h=o.multiple,d=!u&&r,p={on:{}};return"click"===c?p.on.click=this.handleExpand:(p.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},p.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!a||r||u||h||(p.on.click=this.handleCheckChange),e("li",ih()([{attrs:{role:"menuitem",id:l,"aria-expanded":i,tabindex:d?null:-1},class:{"el-cascader-node":!0,"is-selectable":u,"in-active-path":i,"in-checked-path":n,"is-active":s,"is-disabled":d}},p]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},_g=xg,wg=o(_g,vg,gg,!1,null,null,null);wg.options.__file="packages/cascader-panel/src/cascader-node.vue";var kg,Sg,Dg=wg.exports,$g={name:"ElCascaderMenu",mixins:[g.a],inject:["panel"],components:{ElScrollbar:Y.a,CascaderNode:Dg},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(b["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,i=this.hoverTimer,n=this.$refs.hoverZone;if(t&&n)if(t.contains(e.target)){clearTimeout(i);var s=this.$el.getBoundingClientRect(),a=s.left,r=e.clientX-a,o=this.$el,l=o.offsetWidth,c=o.offsetHeight,u=t.offsetTop,h=u+t.offsetHeight;n.innerHTML='\n \n \n '}else i||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,i=this.panel.isHoverMenu,n={on:{}};i&&(n.on.expand=this.handleExpand);var s=this.nodes.map((function(i,s){var a=i.hasChildren;return e("cascader-node",ih()([{key:i.uid,attrs:{node:i,"node-id":t+"-"+s,"aria-haspopup":a,"aria-owns":a?t:null}},n]))}));return[].concat(s,[i?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,i=this.menuId,n={nativeOn:{}};return this.panel.isHoverMenu&&(n.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",ih()([{attrs:{tag:"ul",role:"menu",id:i,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},n]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},Eg=$g,Og=o(Eg,kg,Sg,!1,null,null,null);Og.options.__file="packages/cascader-panel/src/cascader-menu.vue";var Tg=Og.exports,Ng=function(){function e(e,t){for(var i=0;i1?t-1:0),n=1;n1?n-1:0),a=1;a0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),i=this.isSameNode(e,t);this.doCheck(i)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},Ng(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,i=this.config,n=i.disabled,s=i.checkStrictly;return e[n]||!s&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,i=this.hasChildren,n=this.children,s=this.config,a=s.lazy,r=s.leaf;if(a){var o=Object(Dt["isDef"])(e[r])?e[r]:!!t&&!n.length;return this.hasChildren=!o,o}return!i}}]),e}(),Fg=Mg;function Vg(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Lg=function e(t,i){return t.reduce((function(t,n){return n.isLeaf?t.push(n):(!i&&t.push(n),t=t.concat(e(n.children,i))),t}),[])},jg=function(){function e(t,i){Vg(this,e),this.config=i,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(b["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new Fg(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var i=new Fg(e,this.config,t),n=t?t.children:this.nodes;n.push(i)},e.prototype.appendNodes=function(e,t){var i=this;e=Object(b["coerceTruthyValueToArray"])(e),e.forEach((function(e){return i.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=e?this.leafNodes:this.flattedNodes;return t?i:Lg(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(b["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),Ag=jg,Bg=Object.assign||function(e){for(var t=1;t0){var l=i.store.getNodeByValue(a);l.data[o]||i.lazyLoad(l,(function(){i.handleExpand(l)})),i.loadCount===i.checkedValue.length&&i.$parent.computePresentText()}}t&&t(n)};n.lazyLoad(e,s)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var i=t.querySelector(".el-scrollbar__wrap"),n=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");tn()(i,n)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,i=this.multiple;if(i){var n=this.getFlattedNodes(e);return n.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,i=e.multiple,n=e.emitPath;i?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=n?[]:null}}},Ug=Gg,Xg=o(Ug,fg,mg,!1,null,null,null);Xg.options.__file="packages/cascader-panel/src/cascader-panel.vue";var Zg=Xg.exports;Zg.install=function(e){e.component(Zg.name,Zg)};var Qg,Jg,eb=Zg,tb={name:"ElAvatar",props:{size:{type:[Number,String],validator:function(e){return"string"===typeof e?["large","medium","small"].includes(e):"number"===typeof e}},shape:{type:String,default:"circle",validator:function(e){return["circle","square"].includes(e)}},icon:String,src:String,alt:String,srcSet:String,error:Function,fit:{type:String,default:"cover"}},data:function(){return{isImageExist:!0}},computed:{avatarClass:function(){var e=this.size,t=this.icon,i=this.shape,n=["el-avatar"];return e&&"string"===typeof e&&n.push("el-avatar--"+e),t&&n.push("el-avatar--icon"),i&&n.push("el-avatar--"+i),n.join(" ")}},methods:{handleError:function(){var e=this.error,t=e?e():void 0;!1!==t&&(this.isImageExist=!1)},renderAvatar:function(){var e=this.$createElement,t=this.icon,i=this.src,n=this.alt,s=this.isImageExist,a=this.srcSet,r=this.fit;return s&&i?e("img",{attrs:{src:i,alt:n,srcSet:a},on:{error:this.handleError},style:{"object-fit":r}}):t?e("i",{class:t}):this.$slots.default}},render:function(){var e=arguments[0],t=this.avatarClass,i=this.size,n="number"===typeof i?{height:i+"px",width:i+"px",lineHeight:i+"px"}:{};return e("span",{class:t,style:n},[this.renderAvatar()])}},ib=tb,nb=o(ib,Qg,Jg,!1,null,null,null);nb.options.__file="packages/avatar/src/main.vue";var sb=nb.exports;sb.install=function(e){e.component(sb.name,sb)};var ab=sb,rb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-drawer-fade"},on:{"after-enter":e.afterEnter,"after-leave":e.afterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-drawer__wrapper",attrs:{tabindex:"-1"}},[i("div",{staticClass:"el-drawer__container",class:e.visible&&"el-drawer__open",attrs:{role:"document",tabindex:"-1"},on:{click:function(t){return t.target!==t.currentTarget?null:e.handleWrapperClick(t)}}},[i("div",{ref:"drawer",staticClass:"el-drawer",class:[e.direction,e.customClass],style:e.isHorizontal?"width: "+e.drawerSize:"height: "+e.drawerSize,attrs:{"aria-modal":"true","aria-labelledby":"el-drawer__title","aria-label":e.title,role:"dialog",tabindex:"-1"}},[e.withHeader?i("header",{staticClass:"el-drawer__header",attrs:{id:"el-drawer__title"}},[e._t("title",[i("span",{attrs:{role:"heading",title:e.title}},[e._v(e._s(e.title))])]),e.showClose?i("button",{staticClass:"el-drawer__close-btn",attrs:{"aria-label":"close "+(e.title||"drawer"),type:"button"},on:{click:e.closeDrawer}},[i("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2):e._e(),e.rendered?i("section",{staticClass:"el-drawer__body"},[e._t("default")],2):e._e()])])])])},ob=[];rb._withStripped=!0;var lb={name:"ElDrawer",mixins:[k.a,E.a],props:{appendToBody:{type:Boolean,default:!1},beforeClose:{type:Function},customClass:{type:String,default:""},closeOnPressEscape:{type:Boolean,default:!0},destroyOnClose:{type:Boolean,default:!1},modal:{type:Boolean,default:!0},direction:{type:String,default:"rtl",validator:function(e){return-1!==["ltr","rtl","ttb","btt"].indexOf(e)}},modalAppendToBody:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},size:{type:[Number,String],default:"30%"},title:{type:String,default:""},visible:{type:Boolean},wrapperClosable:{type:Boolean,default:!0},withHeader:{type:Boolean,default:!0}},computed:{isHorizontal:function(){return"rtl"===this.direction||"ltr"===this.direction},drawerSize:function(){return"number"===typeof this.size?this.size+"px":this.size}},data:function(){return{closed:!1,prevActiveElement:null}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.appendToBody&&document.body.appendChild(this.$el),this.prevActiveElement=document.activeElement):(this.closed||(this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1)),this.$nextTick((function(){t.prevActiveElement&&t.prevActiveElement.focus()})))}},methods:{afterEnter:function(){this.$emit("opened")},afterLeave:function(){this.$emit("closed")},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),!0===this.destroyOnClose&&(this.rendered=!1),this.closed=!0)},handleWrapperClick:function(){this.wrapperClosable&&this.closeDrawer()},closeDrawer:function(){"function"===typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},handleClose:function(){this.closeDrawer()}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}},cb=lb,ub=o(cb,rb,ob,!1,null,null,null);ub.options.__file="packages/drawer/src/main.vue";var hb=ub.exports;hb.install=function(e){e.component(hb.name,hb)};var db=hb,pb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-statistic"},[e.title||e.$slots.title?i("div",{staticClass:"head"},[e._t("title",[i("span",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n ")])])],2):e._e(),i("div",{staticClass:"con"},[e.prefix||e.$slots.prefix?i("span",{staticClass:"prefix"},[e._t("prefix",[e._v("\n "+e._s(e.prefix)+"\n ")])],2):e._e(),i("span",{staticClass:"number",style:e.valueStyle},[e._t("formatter",[e._v(" "+e._s(e.disposeValue))])],2),e.suffix||e.$slots.suffix?i("span",{staticClass:"suffix"},[e._t("suffix",[e._v("\n "+e._s(e.suffix)+"\n ")])],2):e._e()])])},fb=[];pb._withStripped=!0;var mb=i(28),vb={name:"ElStatistic",data:function(){return{disposeValue:"",timeTask:null,REFRESH_INTERVAL:1e3/30}},props:{decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:""},precision:{type:Number,default:null},value:{type:[String,Number,Date],default:""},prefix:{type:String,default:""},suffix:{type:String,default:""},title:{type:[String,Number],default:""},timeIndices:{type:Boolean,default:!1},valueStyle:{type:Object,default:function(){return{}}},format:{type:String,default:"HH:mm:ss:SSS"},rate:{type:Number,default:1e3}},created:function(){this.branch()},watch:{value:function(){this.branch()},groupSeparator:function(){this.dispose()},mulriple:function(){this.dispose()}},methods:{branch:function(){var e=this.timeIndices,t=this.countDown,i=this.dispose;e?t(this.value.valueOf()||this.value):i()},magnification:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",",n=String(t).length;return e.replace(new RegExp("(\\d)(?=(\\d{"+(n-1)+"})+$)","g"),"$1"+i)},dispose:function(){var e=this.value,t=this.rate,i=this.groupSeparator;if(!Object(mb["isNumber"])(e))return!1;this.precision&&(e=e.toFixed(this.precision));var n=String(e).split("."),s=n[0],a=n[1];i&&(s=this.magnification(s,t,i));var r=""+s+(a?this.decimalSeparator+a:"");return this.disposeValue=r,r},diffDate:function(e,t){return Math.max(e-t,0)},suspend:function(e){return e?this.timeTask&&(clearInterval(this.timeTask),this.timeTask=null):this.branch(),this.disposeValue},formatTimeStr:function(e){var t=this.format,i=/\[[^\]]*]/g,n=(t.match(i)||[]).map((function(e){return e.slice(1,-1)})),s=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],a=Object(mb["reduce"])(s,(function(t,i){var n=i[0];return t.replace(new RegExp(n+"+","g"),(function(t){var n=Object(mb["chain"])(e).divide(i[1]).floor(0).value();return e-=Object(mb["multiply"])(n,i[1]),Object(mb["padStart"])(String(n),String(t).length,0)}))}),t),r=0;return a.replace(i,(function(){var e=n[r];return r+=1,e}))},stopTime:function(e){var t=!0;return e?(this.$emit("change",e),t=!1):(t=!0,this.suspend(!0),this.$emit("finish",!0)),t},countDown:function(e){var t=this.REFRESH_INTERVAL,i=this.timeTask,n=this.diffDate,s=this.formatTimeStr,a=this.stopTime,r=this.suspend;if(!i){var o=this;this.timeTask=setInterval((function(){var t=n(e,Date.now());o.disposeValue=s(t),a(t)}),t),this.$once("hook:beforeDestroy",(function(){r(!0)}))}}}},gb=vb,bb=o(gb,pb,fb,!1,null,null,null);bb.options.__file="packages/statistic/src/main.vue";var yb=bb.exports;yb.install=function(e){e.component(yb.name,yb)};var Cb=yb,xb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-popover",e._b({attrs:{trigger:"click"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},"el-popover",e.$attrs,!1),[i("div",{staticClass:"el-popconfirm"},[i("p",{staticClass:"el-popconfirm__main"},[e.hideIcon?e._e():i("i",{staticClass:"el-popconfirm__icon",class:e.icon,style:{color:e.iconColor}}),e._v("\n "+e._s(e.title)+"\n ")]),i("div",{staticClass:"el-popconfirm__action"},[i("el-button",{attrs:{size:"mini",type:e.cancelButtonType},on:{click:e.cancel}},[e._v("\n "+e._s(e.displayCancelButtonText)+"\n ")]),i("el-button",{attrs:{size:"mini",type:e.confirmButtonType},on:{click:e.confirm}},[e._v("\n "+e._s(e.displayConfirmButtonText)+"\n ")])],1)]),e._t("reference",null,{slot:"reference"})],2)},_b=[];xb._withStripped=!0;var wb=i(45),kb=i.n(wb),Sb={name:"ElPopconfirm",props:{title:{type:String},confirmButtonText:{type:String},cancelButtonText:{type:String},confirmButtonType:{type:String,default:"primary"},cancelButtonType:{type:String,default:"text"},icon:{type:String,default:"el-icon-question"},iconColor:{type:String,default:"#f90"},hideIcon:{type:Boolean,default:!1}},components:{ElPopover:kb.a,ElButton:re.a},data:function(){return{visible:!1}},computed:{displayConfirmButtonText:function(){return this.confirmButtonText||Object(bo["t"])("el.popconfirm.confirmButtonText")},displayCancelButtonText:function(){return this.cancelButtonText||Object(bo["t"])("el.popconfirm.cancelButtonText")}},methods:{confirm:function(){this.visible=!1,this.$emit("confirm")},cancel:function(){this.visible=!1,this.$emit("cancel")}}},Db=Sb,$b=o(Db,xb,_b,!1,null,null,null);$b.options.__file="packages/popconfirm/src/main.vue";var Eb=$b.exports;Eb.install=function(e){e.component(Eb.name,Eb)};var Ob=Eb,Tb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.uiLoading?[i("div",e._b({class:["el-skeleton",e.animated?"is-animated":""]},"div",e.$attrs,!1),[e._l(e.count,(function(t){return[e.loading?e._t("template",e._l(e.rows,(function(n){return i("el-skeleton-item",{key:t+"-"+n,class:{"el-skeleton__paragraph":1!==n,"is-first":1===n,"is-last":n===e.rows&&e.rows>1},attrs:{variant:"p"}})}))):e._e()]}))],2)]:[e._t("default",null,null,e.$attrs)]],2)},Nb=[];Tb._withStripped=!0;var Ib={name:"ElSkeleton",props:{animated:{type:Boolean,default:!1},count:{type:Number,default:1},rows:{type:Number,default:4},loading:{type:Boolean,default:!0},throttle:{type:Number,default:0}},watch:{loading:{handler:function(e){var t=this;this.throttle<=0?this.uiLoading=e:e?(clearTimeout(this.timeoutHandle),this.timeoutHandle=setTimeout((function(){t.uiLoading=t.loading}),this.throttle)):this.uiLoading=e},immediate:!0}},data:function(){return{uiLoading:this.throttle<=0&&this.loading}}},Pb=Ib,Mb=o(Pb,Tb,Nb,!1,null,null,null);Mb.options.__file="packages/skeleton/src/index.vue";var Fb=Mb.exports;Fb.install=function(e){e.component(Fb.name,Fb)};var Vb=Fb,Lb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["el-skeleton__item","el-skeleton__"+e.variant]},["image"===e.variant?i("img-placeholder"):e._e()],1)},jb=[];Lb._withStripped=!0;var Ab=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"}},[i("path",{attrs:{d:"M64 896V128h896v768H64z m64-128l192-192 116.352 116.352L640 448l256 307.2V192H128v576z m224-480a96 96 0 1 1-0.064 192.064A96 96 0 0 1 352 288z"}})])},Bb=[];Ab._withStripped=!0;var zb={name:"ImgPlaceholder"},Rb=zb,Hb=o(Rb,Ab,Bb,!1,null,null,null);Hb.options.__file="packages/skeleton/src/img-placeholder.vue";var Wb,Yb=Hb.exports,qb={name:"ElSkeletonItem",props:{variant:{type:String,default:"text"}},components:(Wb={},Wb[Yb.name]=Yb,Wb)},Kb=qb,Gb=o(Kb,Lb,jb,!1,null,null,null);Gb.options.__file="packages/skeleton/src/item.vue";var Ub=Gb.exports;Ub.install=function(e){e.component(Ub.name,Ub)};var Xb=Ub,Zb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-empty"},[i("div",{staticClass:"el-empty__image",style:e.imageStyle},[e.image?i("img",{attrs:{src:e.image,ondragstart:"return false"}}):e._t("image",[i("img-empty")])],2),i("div",{staticClass:"el-empty__description"},[e.$slots.description?e._t("description"):i("p",[e._v(e._s(e.emptyDescription))])],2),e.$slots.default?i("div",{staticClass:"el-empty__bottom"},[e._t("default")],2):e._e()])},Qb=[];Zb._withStripped=!0;var Jb=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("svg",{attrs:{viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[i("defs",[i("linearGradient",{attrs:{id:"linearGradient-1-"+e.id,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"}},[i("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),i("stop",{attrs:{"stop-color":"#EEEFF3",offset:"100%"}})],1),i("linearGradient",{attrs:{id:"linearGradient-2-"+e.id,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"}},[i("stop",{attrs:{"stop-color":"#FCFCFD",offset:"0%"}}),i("stop",{attrs:{"stop-color":"#E9EBEF",offset:"100%"}})],1),i("rect",{attrs:{id:"path-3-"+e.id,x:"0",y:"0",width:"17",height:"36"}})],1),i("g",{attrs:{id:"Illustrations",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"}},[i("g",{attrs:{id:"B-type",transform:"translate(-1268.000000, -535.000000)"}},[i("g",{attrs:{id:"Group-2",transform:"translate(1268.000000, 535.000000)"}},[i("path",{attrs:{id:"Oval-Copy-2",d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:"#F7F8FC"}}),i("polygon",{attrs:{id:"Rectangle-Copy-14",fill:"#E5E7E9",transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"}}),i("g",{attrs:{id:"Group-Copy",transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"}},[i("polygon",{attrs:{id:"Rectangle-Copy-10",fill:"#E5E7E9",transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"}}),i("polygon",{attrs:{id:"Rectangle-Copy-11",fill:"#EDEEF2",points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"}}),i("rect",{attrs:{id:"Rectangle-Copy-12",fill:"url(#linearGradient-1-"+e.id+")",transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"}}),i("polygon",{attrs:{id:"Rectangle-Copy-13",fill:"#F8F9FB",transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"}})]),i("rect",{attrs:{id:"Rectangle-Copy-15",fill:"url(#linearGradient-2-"+e.id+")",x:"13",y:"45",width:"40",height:"36"}}),i("g",{attrs:{id:"Rectangle-Copy-17",transform:"translate(53.000000, 45.000000)"}},[i("mask",{attrs:{id:"mask-4-"+e.id,fill:"white"}},[i("use",{attrs:{"xlink:href":"#path-3-"+e.id}})]),i("use",{attrs:{id:"Mask",fill:"#E0E3E9",transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":"#path-3-"+e.id}}),i("polygon",{attrs:{id:"Rectangle-Copy",fill:"#D5D7DE",mask:"url(#mask-4-"+e.id+")",transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 -1.70530257e-13 16"}})]),i("polygon",{attrs:{id:"Rectangle-Copy-18",fill:"#F8F9FB",transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"}})])])])])},ey=[];Jb._withStripped=!0;var ty=0,iy={name:"ImgEmpty",data:function(){return{id:++ty}}},ny=iy,sy=o(ny,Jb,ey,!1,null,null,null);sy.options.__file="packages/empty/src/img-empty.vue";var ay,ry=sy.exports,oy={name:"ElEmpty",components:(ay={},ay[ry.name]=ry,ay),props:{image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}},computed:{emptyDescription:function(){return this.description||Object(bo["t"])("el.empty.description")},imageStyle:function(){return{width:this.imageSize?this.imageSize+"px":""}}}},ly=oy,cy=o(ly,Zb,Qb,!1,null,null,null);cy.options.__file="packages/empty/src/index.vue";var uy=cy.exports;uy.install=function(e){e.component(uy.name,uy)};var hy,dy=uy,py=Object.assign||function(e){for(var t=1;t3&&void 0!==arguments[3]&&arguments[3];return e.props||(e.props={}),t>i&&(e.props.span=i),n&&(e.props.span=i),e},getRows:function(){var e=this,t=(this.$slots.default||[]).filter((function(e){return e.tag&&e.componentOptions&&"ElDescriptionsItem"===e.componentOptions.Ctor.options.name})),i=t.map((function(t){return{props:e.getOptionProps(t),slots:e.getSlots(t),vnode:t}})),n=[],s=[],a=this.column;return i.forEach((function(i,r){var o=i.props.span||1;if(r===t.length-1)return s.push(e.filledNode(i,o,a,!0)),void n.push(s);o1&&void 0!==arguments[1]?arguments[1]:{};yo.a.use(t.locale),yo.a.i18n(t.i18n),Jy.forEach((function(t){e.component(t.name,t)})),e.use(rg),e.use(Mu.directive),e.prototype.$ELEMENT={size:t.size||"",zIndex:t.zIndex||2e3},e.prototype.$loading=Mu.service,e.prototype.$msgbox=Bo,e.prototype.$alert=Bo.alert,e.prototype.$confirm=Bo.confirm,e.prototype.$prompt=Bo.prompt,e.prototype.$notify=eu,e.prototype.$message=td};"undefined"!==typeof window&&window.Vue&&eC(window.Vue);t["default"]={version:"2.15.14",locale:yo.a.use,i18n:yo.a.i18n,install:eC,CollapseTransition:Ke.a,Loading:Mu,Pagination:C,Dialog:P,Autocomplete:se,Dropdown:pe,DropdownMenu:Ce,DropdownItem:$e,Menu:Ye,Submenu:et,MenuItem:ct,MenuItemGroup:vt,Input:Nt,InputNumber:At,Radio:qt,RadioGroup:ei,RadioButton:oi,Checkbox:fi,CheckboxButton:xi,CheckboxGroup:Ei,Switch:Fi,Select:ln,Option:cn,OptionGroup:vn,Button:wn,ButtonGroup:Tn,Table:Xs,TableColumn:sa,DatePicker:Ir,TimeSelect:Wr,TimePicker:no,Popover:po,Tooltip:mo,MessageBox:Bo,Breadcrumb:Ko,BreadcrumbItem:el,Form:ol,FormItem:_l,Tabs:Hl,TabPane:Ql,Tag:nc,Tree:Ic,Alert:Bc,Notification:eu,Slider:vu,Icon:zu,Row:Hu,Col:qu,Upload:Sh,Progress:Ih,Spinner:Ah,Message:td,Badge:ld,Card:md,Rate:_d,Steps:Od,Step:Vd,Carousel:Yd,Scrollbar:Xd,CarouselItem:sp,Collapse:hp,CollapseItem:bp,Cascader:Pp,ColorPicker:Mf,Transfer:Kf,Container:em,Header:om,Aside:fm,Main:xm,Footer:Tm,Timeline:Fm,TimelineItem:Rm,Link:Um,Divider:iv,Image:xv,Calendar:Av,Backtop:Gv,InfiniteScroll:rg,PageHeader:pg,CascaderPanel:eb,Avatar:ab,Drawer:db,Statistic:Cb,Popconfirm:Ob,Skeleton:Vb,SkeletonItem:Xb,Empty:dy,Descriptions:gy,DescriptionsItem:yy,Result:Qy}}])["default"]}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-bc050c32.8062ab74.js b/mining-pool/public/dist/js/chunk-vendors-bc050c32.8062ab74.js new file mode 100644 index 0000000..8d67de1 --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-bc050c32.8062ab74.js @@ -0,0 +1,25 @@ +(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[277],{2752:function(e,t,n){"use strict";t.__esModule=!0,t.PopupManager=void 0;var i=n(66848),o=h(i),r=n(58809),s=h(r),a=n(32380),l=h(a),u=n(4810),c=h(u),d=n(3157);function h(e){return e&&e.__esModule?e:{default:e}}var p=1,f=void 0;t["default"]={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+p++,l.default.register(this._popupId,this)},beforeDestroy:function(){l.default.deregister(this._popupId),l.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!0,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,o.default.nextTick((function(){t.open()})))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var n=(0,s.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var i=Number(n.openDelay);i>0?this._openTimer=setTimeout((function(){t._openTimer=null,t.doOpen(n)}),i):this.doOpen(n)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=this.$el,n=e.modal,i=e.zIndex;if(i&&(l.default.zIndex=i),n&&(this._closing&&(l.default.closeModal(this._popupId),this._closing=!1),l.default.openModal(this._popupId,l.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,d.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,d.getStyle)(document.body,"paddingRight"),10)),f=(0,c.default)();var o=document.documentElement.clientHeight0&&(o||"scroll"===r)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+f+"px"),(0,d.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=l.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout((function(){e._closeTimer=null,e.doClose()}),t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){l.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,d.removeClass)(document.body,"el-popup-parent--hidden")),this.withoutHiddenClass=!0}}},t.PopupManager=l.default},3157:function(e,t,n){"use strict";n(18111),n(22489),t.__esModule=!0,t.isInContainer=t.getScrollContainer=t.isScroll=t.getStyle=t.once=t.off=t.on=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.hasClass=m,t.addClass=v,t.removeClass=g,t.setStyle=y;var o=n(66848),r=s(o);function s(e){return e&&e.__esModule?e:{default:e}}var a=r.default.prototype.$isServer,l=/([\:\-\_]+(.))/g,u=/^moz([A-Z])/,c=a?0:Number(document.documentMode),d=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},h=function(e){return e.replace(l,(function(e,t,n,i){return i?n.toUpperCase():n})).replace(u,"Moz$1")},p=t.on=function(){return!a&&document.addEventListener?function(e,t,n){e&&t&&n&&e.addEventListener(t,n,!1)}:function(e,t,n){e&&t&&n&&e.attachEvent("on"+t,n)}}(),f=t.off=function(){return!a&&document.removeEventListener?function(e,t,n){e&&t&&e.removeEventListener(t,n,!1)}:function(e,t,n){e&&t&&e.detachEvent("on"+t,n)}}();t.once=function(e,t,n){var i=function i(){n&&n.apply(this,arguments),f(e,t,i)};p(e,t,i)};function m(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}function v(e,t){if(e){for(var n=e.className,i=(t||"").split(" "),o=0,r=i.length;oi.top&&n.right>i.left&&n.left1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()-t)});t.nextDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},t.getStartDateOfMonth=function(e,t){var n=new Date(e,t,1),i=n.getDay();return m(n,0===i?7:i)},t.getWeekNumber=function(e){if(!h(e))return null;var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},t.getRangeHours=function(e){var t=[],n=[];if((e||[]).forEach((function(e){var t=e.map((function(e){return e.getHours()}));n=n.concat(u(t[0],t[1]))})),n.length)for(var i=0;i<24;i++)t[i]=-1===n.indexOf(i);else for(var o=0;o<24;o++)t[o]=!1;return t},t.getPrevMonthLastDays=function(e,t){if(t<=0)return[];var n=new Date(e.getTime());n.setDate(0);var i=n.getDate();return g(t).map((function(e,n){return i-(t-n-1)}))},t.getMonthDays=function(e){var t=new Date(e.getFullYear(),e.getMonth()+1,0),n=t.getDate();return g(n).map((function(e,t){return t+1}))};function v(e,t,n,i){for(var o=t;o0?e.forEach((function(e){var i=e[0],o=e[1],r=i.getHours(),s=i.getMinutes(),a=o.getHours(),l=o.getMinutes();r===t&&a!==t?v(n,s,60,!0):r===t&&a===t?v(n,s,l+1,!0):r!==t&&a===t?v(n,0,l+1,!0):rt&&v(n,0,60,!0)})):v(n,0,60,!0),n};var g=t.range=function(e){return Array.apply(null,{length:e}).map((function(e,t){return t}))},b=t.modifyDate=function(e,t,n,i){return new Date(t,n,i,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())},y=t.modifyTime=function(e,t,n,i){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,n,i,e.getMilliseconds())},_=(t.modifyWithTimeString=function(e,t){return null!=e&&t?(t=p(t,"HH:mm:ss"),y(e,t.getHours(),t.getMinutes(),t.getSeconds())):e},t.clearTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.clearMilliseconds=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),0)},t.limitTimeRange=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"HH:mm:ss";if(0===t.length)return e;var i=function(e){return o.default.parse(o.default.format(e,n),n)},r=i(e),s=t.map((function(e){return e.map(i)}));if(s.some((function(e){return r>=e[0]&&r<=e[1]})))return e;var a=s[0][0],l=s[0][0];s.forEach((function(e){a=new Date(Math.min(e[0],a)),l=new Date(Math.max(e[1],a))}));var u=r1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),i=e.getMonth();return x(e,n-t,i)},t.nextYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=e.getFullYear(),i=e.getMonth();return x(e,n+t,i)},t.extractDateFormat=function(e){return e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},t.extractTimeFormat=function(e){return e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()},t.validateRangeInOneMonth=function(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}},4810:function(e,t,n){"use strict";t.__esModule=!0,t["default"]=function(){if(o.default.prototype.$isServer)return 0;if(void 0!==s)return s;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var n=document.createElement("div");n.style.width="100%",e.appendChild(n);var i=n.offsetWidth;return e.parentNode.removeChild(e),s=t-i,s};var i=n(66848),o=r(i);function r(e){return e&&e.__esModule?e:{default:e}}var s=void 0},5078:function(e,t,n){"use strict";t.__esModule=!0;var i=n(62806);t["default"]={methods:{t:function(){for(var e=arguments.length,t=Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;u||(u=document.createElement("textarea"),document.body.appendChild(u));var i=h(e),o=i.paddingSize,r=i.borderSize,s=i.boxSizing,a=i.contextStyle;u.setAttribute("style",a+";"+c),u.value=e.value||e.placeholder||"";var l=u.scrollHeight,d={};"border-box"===s?l+=r:"content-box"===s&&(l-=o),u.value="";var p=u.scrollHeight-o;if(null!==t){var f=p*t;"border-box"===s&&(f=f+o+r),l=Math.max(f,l),d.minHeight=f+"px"}if(null!==n){var m=p*n;"border-box"===s&&(m=m+o+r),l=Math.min(m,l)}return d.height=l+"px",u.parentNode&&u.parentNode.removeChild(u),u=null,d}var f=n(9),m=n.n(f),v=n(21),g={name:"ElInput",componentName:"ElInput",mixins:[s.a,l.a],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{textareaCalcStyle:{},hovering:!1,focused:!1,isComposing:!1,passwordVisible:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,readonly:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return m()({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},nativeInputValue:function(){return null===this.value||void 0===this.value?"":String(this.value)},showClear:function(){return this.clearable&&!this.inputDisabled&&!this.readonly&&this.nativeInputValue&&(this.focused||this.hovering)},showPwdVisible:function(){return this.showPassword&&!this.inputDisabled&&!this.readonly&&(!!this.nativeInputValue||this.focused)},isWordLimitVisible:function(){return this.showWordLimit&&this.$attrs.maxlength&&("text"===this.type||"textarea"===this.type)&&!this.inputDisabled&&!this.readonly&&!this.showPassword},upperLimit:function(){return this.$attrs.maxlength},textLength:function(){return"number"===typeof this.value?String(this.value).length:(this.value||"").length},inputExceed:function(){return this.isWordLimitVisible&&this.textLength>this.upperLimit}},watch:{value:function(e){this.$nextTick(this.resizeTextarea),this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e])},nativeInputValue:function(){this.setNativeInputValue()},type:function(){var e=this;this.$nextTick((function(){e.setNativeInputValue(),e.resizeTextarea(),e.updateIconOffset()}))}},methods:{focus:function(){this.getInput().focus()},blur:function(){this.getInput().blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.value])},select:function(){this.getInput().select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize,t=this.type;if("textarea"===t)if(e){var n=e.minRows,i=e.maxRows;this.textareaCalcStyle=p(this.$refs.textarea,n,i)}else this.textareaCalcStyle={minHeight:p(this.$refs.textarea).minHeight}}},setNativeInputValue:function(){var e=this.getInput();e&&e.value!==this.nativeInputValue&&(e.value=this.nativeInputValue)},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleCompositionStart:function(e){this.$emit("compositionstart",e),this.isComposing=!0},handleCompositionUpdate:function(e){this.$emit("compositionupdate",e);var t=e.target.value,n=t[t.length-1]||"";this.isComposing=!Object(v["isKorean"])(n)},handleCompositionEnd:function(e){this.$emit("compositionend",e),this.isComposing&&(this.isComposing=!1,this.handleInput(e))},handleInput:function(e){this.isComposing||e.target.value!==this.nativeInputValue&&(this.$emit("input",e.target.value),this.$nextTick(this.setNativeInputValue))},handleChange:function(e){this.$emit("change",e.target.value)},calcIconOffset:function(e){var t=[].slice.call(this.$el.querySelectorAll(".el-input__"+e)||[]);if(t.length){for(var n=null,i=0;i=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,o=n.valueKey;if(!this.created&&!i){if(o&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[o]===t[o])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(a["getValueByPath"])(e,n)===Object(a["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(a["getValueByPath"])(e,n)===Object(a["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(a["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],o=this.select.cachedOptions.indexOf(this),r=i.indexOf(this);o>-1&&r<0&&this.select.cachedOptions.splice(o,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=u,d=n(0),h=Object(d["a"])(c,i,o,!1,null,null,null);h.options.__file="packages/select/src/option.vue";t["a"]=h.exports},4:function(e,t){e.exports=n(99800)},54:function(e,t,n){"use strict";n.r(t);var i=n(33);i["a"].install=function(e){e.component(i["a"].name,i["a"])},t["default"]=i["a"]}})},11612:function(e,t,n){n(44114),n(18111),n(81148),n(22489),n(7588),n(61701),n(18237),n(13579),e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=61)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},15:function(e,t){e.exports=n(38121)},18:function(e,t){e.exports=n(61178)},21:function(e,t){e.exports=n(91056)},26:function(e,t){e.exports=n(9298)},3:function(e,t){e.exports=n(72125)},31:function(e,t){e.exports=n(69821)},41:function(e,t){e.exports=n(79496)},52:function(e,t){e.exports=n(80544)},6:function(e,t){e.exports=n(5078)},61:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,(function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})})),1)},o=[];i._withStripped=!0;var r,s,a=n(26),l=n.n(a),u=n(15),c=n.n(u),d=n(18),h=n.n(d),p=n(52),f=n.n(p),m=n(3),v=function(e){return e.stopPropagation()},g={inject:["panel"],components:{ElCheckbox:h.a,ElRadio:f.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some((function(t){return e.isInPath(t)}))},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,o=this.config,r=o.multiple,s=o.checkStrictly;!s&&i||n.loading||(o.lazy&&!n.loaded?t.lazyLoad(n,(function(){var t=e.isLeaf;if(t||e.handleExpand(),r){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}})):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,o=i.checkStrictly,r=i.multiple;return r?this.renderCheckbox(e):o?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,o={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(o.nativeOn.click=v),e("el-checkbox",l()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},o]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:v}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,o=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[o||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,o=this.isChecked,r=this.isLeaf,s=this.isDisabled,a=this.config,u=this.nodeId,c=a.expandTrigger,d=a.checkStrictly,h=a.multiple,p=!d&&s,f={on:{}};return"click"===c?f.on.click=this.handleExpand:(f.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},f.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!r||s||d||h||(f.on.click=this.handleCheckChange),e("li",l()([{attrs:{role:"menuitem",id:u,"aria-expanded":n,tabindex:p?null:-1},class:{"el-cascader-node":!0,"is-selectable":d,"in-active-path":n,"in-checked-path":i,"is-active":o,"is-disabled":p}},f]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},b=g,y=n(0),_=Object(y["a"])(b,r,s,!1,null,null,null);_.options.__file="packages/cascader-panel/src/cascader-node.vue";var x,S,C=_.exports,w=n(6),O=n.n(w),k={name:"ElCascaderMenu",mixins:[O.a],inject:["panel"],components:{ElScrollbar:c.a,CascaderNode:C},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var o=this.$el.getBoundingClientRect(),r=o.left,s=e.clientX-r,a=this.$el,l=a.offsetWidth,u=a.offsetHeight,c=t.offsetTop,d=c+t.offsetHeight;i.innerHTML='\n \n \n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var o=this.nodes.map((function(n,o){var r=n.hasChildren;return e("cascader-node",l()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+o,"aria-haspopup":r,"aria-owns":r?t:null}},i]))}));return[].concat(o,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",l()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},E=k,$=Object(y["a"])(E,x,S,!1,null,null,null);$.options.__file="packages/cascader-panel/src/cascader-menu.vue";var M=$.exports,T=n(21),j=function(){function e(e,t){for(var n=0;n1?t-1:0),i=1;i1?i-1:0),r=1;r0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},j(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,o=n.checkStrictly;return e[i]||!o&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,o=this.config,r=o.lazy,s=o.leaf;if(r){var a=Object(T["isDef"])(e[s])?e[s]:!!t&&!i.length;return this.hasChildren=!a,a}return!n}}]),e}(),I=N;function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var L=function e(t,n){return t.reduce((function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t}),[])},A=function(){function e(t,n){F(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map((function(e){return new I(e,t.config)})),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new I(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach((function(e){return n.appendNode(e,t)}))},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:L(this.nodes,e)},e.prototype.getNodeByValue=function(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter((function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e}));return t&&t.length?t[0]:null},e}(),z=A,B=n(9),V=n.n(B),R=n(41),H=n.n(R),q=n(31),W=n.n(q),U=Object.assign||function(e){for(var t=1;t0){var l=n.store.getNodeByValue(r);l.data[a]||n.lazyLoad(l,(function(){n.handleExpand(l)})),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,o)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map((function(e){return e.getValueByOption()}))},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach((function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");W()(n,i)}}))}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter((function(e){return e.checked}))}return this.isEmptyValue(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter((function(e){return!e.isDisabled})).forEach((function(e){return e.doCheck(!1)})),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(y["a"])(te,i,o,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},9:function(e,t){e.exports=n(58809)}})},12467:function(e,t){"use strict";t.__esModule=!0,t["default"]={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},empty:{description:"暂无数据"}}}},14441:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var o=!1,r=function(){o||(o=!0,t&&t.apply(null,arguments))};i?e.$once("after-leave",r):e.$on("after-leave",r),setTimeout((function(){r()}),n+100)}},15193:function(e,t,n){"use strict";t.__esModule=!0;var i=n(3157);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var r=function(){function e(){o(this,e)}return e.prototype.beforeEnter=function(e){(0,i.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,i.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,i.addClass)(e,"collapse-transition"),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0)},e.prototype.afterLeave=function(e){(0,i.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},e}();t["default"]={name:"ElCollapseTransition",functional:!0,render:function(e,t){var n=t.children,i={on:new r};return e("transition",i,n)}}},19940:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=93)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},4:function(e,t){e.exports=n(99800)},93:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},o=[];i._withStripped=!0;var r=n(4),s=n.n(r),a={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[s.a],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}},l=a,u=n(0),c=Object(u["a"])(l,i,o,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox-group.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},22071:function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t["default"]=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),s=1;s=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(e,t){var n=this.select,i=n.remote,o=n.valueKey;if(!this.created&&!i){if(o&&"object"===("undefined"===typeof e?"undefined":l(e))&&"object"===("undefined"===typeof t?"undefined":l(t))&&e[o]===t[o])return;this.dispatch("ElSelect","setSelected")}}},methods:{isEqual:function(e,t){if(this.isObject){var n=this.select.valueKey;return Object(a["getValueByPath"])(e,n)===Object(a["getValueByPath"])(t,n)}return e===t},contains:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1];if(this.isObject){var n=this.select.valueKey;return e&&e.some((function(e){return Object(a["getValueByPath"])(e,n)===Object(a["getValueByPath"])(t,n)}))}return e&&e.indexOf(t)>-1},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){this.visible=new RegExp(Object(a["escapeRegexpString"])(e),"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){var e=this.select,t=e.selected,n=e.multiple,i=n?t:[t],o=this.select.cachedOptions.indexOf(this),r=i.indexOf(this);o>-1&&r<0&&this.select.cachedOptions.splice(o,1),this.select.onOptionDestroy(this.select.options.indexOf(this))}},c=u,d=n(0),h=Object(d["a"])(c,i,o,!1,null,null,null);h.options.__file="packages/select/src/option.vue";t["a"]=h.exports},38:function(e,t){e.exports=n(90167)},4:function(e,t){e.exports=n(99800)},5:function(e,t){e.exports=n(93024)},6:function(e,t){e.exports=n(5078)},62:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){return t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?n("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?n("span",[n("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?n("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[n("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():n("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,(function(t){return n("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(n){e.deleteTag(n,t)}}},[n("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),1),e.filterable?n("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{"flex-grow":"1",width:e.inputLength/(e.inputWidth-32)+"%","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete||e.autocomplete},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){return!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key,["Backspace","Delete","Del"])?null:e.deletePrevTag(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},e.debouncedQueryChange]}}):e._e()],1):e._e(),n("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,autocomplete:e.autoComplete||e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,tabindex:e.multiple&&e.filterable?"-1":null},on:{focus:e.handleFocus,blur:e.handleBlur,input:e.debouncedOnInputChange,compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key,["Down","ArrowDown"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key,["Up","ArrowUp"]))return null;t.stopPropagation(),t.preventDefault(),e.handleNavigate("prev")},function(t){return!("button"in t)&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:(t.preventDefault(),e.selectOption(t))},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"]))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key,"Tab"))return null;e.visible=!1}],mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?n("template",{slot:"prefix"},[e._t("prefix")],2):e._e(),n("template",{slot:"suffix"},[n("i",{directives:[{name:"show",rawName:"v-show",value:!e.showClose,expression:"!showClose"}],class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]}),e.showClose?n("i",{staticClass:"el-select__caret el-input__icon el-icon-circle-close",on:{click:e.handleClearClick}}):e._e()])],2),n("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[n("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[n("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?n("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?[e.$slots.empty?e._t("empty"):n("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")])]:e._e()],2)],1)],1)},o=[];i._withStripped=!0;var r=n(4),s=n.n(r),a=n(22),l=n.n(a),u=n(6),c=n.n(u),d=n(10),h=n.n(d),p=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},f=[];p._withStripped=!0;var m=n(5),v=n.n(m),g={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[v.a],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",(function(){e.$parent.visible&&e.updatePopper()})),this.$on("destroyPopper",this.destroyPopper)}},b=g,y=n(0),_=Object(y["a"])(b,p,f,!1,null,null,null);_.options.__file="packages/select/src/select-dropdown.vue";var x=_.exports,S=n(33),C=n(38),w=n.n(C),O=n(15),k=n.n(O),E=n(19),$=n.n(E),M=n(12),T=n.n(M),j=n(16),P=n(31),D=n.n(P),N=n(3),I={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter((function(e){return e.visible})).every((function(e){return e.disabled}))}},watch:{hoverIndex:function(e){var t=this;"number"===typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach((function(e){e.hover=t.hoverOption===e}))}},methods:{navigateOptions:function(e){var t=this;if(this.visible){if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?(this.hoverIndex++,this.hoverIndex===this.options.length&&(this.hoverIndex=0)):"prev"===e&&(this.hoverIndex--,this.hoverIndex<0&&(this.hoverIndex=this.options.length-1));var n=this.options[this.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||this.navigateOptions(e),this.$nextTick((function(){return t.scrollToOption(t.hoverOption)}))}}else this.visible=!0}}},F=n(21),L={mixins:[s.a,c.a,l()("reference"),I],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){return!this.filterable||this.multiple||!Object(N["isIE"])()&&!Object(N["isEdge"])()&&!this.visible},showClose:function(){var e=this.multiple?Array.isArray(this.value)&&this.value.length>0:void 0!==this.value&&null!==this.value&&""!==this.value,t=this.clearable&&!this.selectDisabled&&this.inputHovering&&e;return t},iconClass:function(){return this.remote&&this.filterable?"":this.visible?"arrow-up is-reverse":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter((function(e){return!e.created})).some((function(t){return t.currentLabel===e.query}));return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"},propPlaceholder:function(){return"undefined"!==typeof this.placeholder?this.placeholder:this.t("el.select.placeholder")}},components:{ElInput:h.a,ElSelectMenu:x,ElOption:S["a"],ElTag:w.a,ElScrollbar:k.a},directives:{Clickoutside:T.a},props:{name:String,id:String,value:{required:!0},autocomplete:{type:String,default:"off"},autoComplete:{type:String,validator:function(e){return!0}},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,required:!1},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick((function(){e.resetInputHeight()}))},propPlaceholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e,t){this.multiple&&(this.resetInputHeight(),e&&e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20),Object(N["valueEquals"])(e,t)||this.dispatch("ElFormItem","el.form.change",e)},visible:function(e){var t=this;e?(this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.selectedLabel&&(this.currentPlaceholder=this.selectedLabel,this.selectedLabel="")))):(this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.menuVisibleOnFocus=!1,this.resetHoverIndex(),this.$nextTick((function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),this.multiple||(this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel)),this.filterable&&(this.currentPlaceholder=this.cachedPlaceHolder))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick((function(){e.broadcast("ElSelectDropdown","updatePopper")})),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleNavigate:function(e){this.isOnComposition||this.navigateOptions(e)},handleComposition:function(e){var t=this,n=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.$nextTick((function(e){return t.handleQueryChange(n)}));else{var i=n[n.length-1]||"";this.isOnComposition=!Object(F["isKorean"])(i)}},handleQueryChange:function(e){var t=this;this.previousQuery===e||this.isOnComposition||(null!==this.previousQuery||"function"!==typeof this.filterMethod&&"function"!==typeof this.remoteMethod?(this.previousQuery=e,this.$nextTick((function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")})),this.hoverIndex=-1,this.multiple&&this.filterable&&this.$nextTick((function(){var e=15*t.$refs.input.value.length+20;t.inputLength=t.collapseTags?Math.min(50,e):e,t.managePlaceholder(),t.resetInputHeight()})),this.remote&&"function"===typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"===typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()):this.previousQuery=e)},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var n=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");D()(n,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick((function(){return e.scrollToOption(e.selected)}))},emitChange:function(e){Object(N["valueEquals"])(this.value,e)||this.$emit("change",e)},getOption:function(e){for(var t=void 0,n="[object object]"===Object.prototype.toString.call(e).toLowerCase(),i="[object null]"===Object.prototype.toString.call(e).toLowerCase(),o="[object undefined]"===Object.prototype.toString.call(e).toLowerCase(),r=this.cachedOptions.length-1;r>=0;r--){var s=this.cachedOptions[r],a=n?Object(N["getValueByPath"])(s.value,this.valueKey)===Object(N["getValueByPath"])(e,this.valueKey):s.value===e;if(a){t=s;break}}if(t)return t;var l=n||i||o?"":String(e),u={value:e,currentLabel:l};return this.multiple&&(u.hitState=!1),u},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var n=[];Array.isArray(this.value)&&this.value.forEach((function(t){n.push(e.getOption(t))})),this.selected=n,this.$nextTick((function(){e.resetInputHeight()}))},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.filterable&&!this.visible&&(this.menuVisibleOnFocus=!0),this.visible=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout((function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)}),50),this.softFocus=!1},handleClearClick:function(e){this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick((function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,n=[].filter.call(t,(function(e){return"INPUT"===e.tagName}))[0],i=e.$refs.tags,o=i?Math.round(i.getBoundingClientRect().height):0,r=e.initialInputHeight||40;n.style.height=0===e.selected.length?r+"px":Math.max(i?o+(o>r?6:0):0,r)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}}))},resetHoverIndex:function(){var e=this;setTimeout((function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map((function(t){return e.options.indexOf(t)}))):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)}),300)},handleOptionSelect:function(e,t){var n=this;if(this.multiple){var i=(this.value||[]).slice(),o=this.getValueIndex(i,e.value);o>-1?i.splice(o,1):(this.multipleLimit<=0||i.length0&&void 0!==arguments[0]?arguments[0]:[],t=arguments[1],n="[object object]"===Object.prototype.toString.call(t).toLowerCase();if(n){var i=this.valueKey,o=-1;return e.some((function(e,n){return Object(N["getValueByPath"])(e,i)===Object(N["getValueByPath"])(t,i)&&(o=n,!0)})),o}return e.indexOf(t)},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation();var t=this.multiple?[]:"";this.$emit("input",t),this.emitChange(t),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var n=this.selected.indexOf(t);if(n>-1&&!this.selectDisabled){var i=this.value.slice();i.splice(n,1),this.$emit("input",i),this.emitChange(i),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var n=0;n!==this.options.length;++n){var i=this.options[n];if(this.query){if(!i.disabled&&!i.groupDisabled&&i.visible){this.hoverIndex=n;break}}else if(i.itemSelected){this.hoverIndex=n;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:Object(N["getValueByPath"])(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.propPlaceholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=$()(this.debounce,(function(){e.onInputChange()})),this.debouncedQueryChange=$()(this.debounce,(function(t){e.handleQueryChange(t.target.value)})),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected)},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),Object(j["addResizeListener"])(this.$el,this.handleResize);var t=this.$refs.reference;if(t&&t.$el){var n={medium:36,small:32,mini:28},i=t.$el.querySelector("input");this.initialInputHeight=i.getBoundingClientRect().height||n[this.selectSize]}this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick((function(){t&&t.$el&&(e.inputWidth=t.$el.getBoundingClientRect().width)})),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&Object(j["removeResizeListener"])(this.$el,this.handleResize)}},A=L,z=Object(y["a"])(A,i,o,!1,null,null,null);z.options.__file="packages/select/src/select.vue";var B=z.exports;B.install=function(e){e.component(B.name,B)};t["default"]=B}})},29507:function(e){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=96)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},96:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?n("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?n("i",{class:e.icon}):e._e(),e.$slots.default?n("span",[e._t("default")],2):e._e()])},o=[];i._withStripped=!0;var r={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.$options.propsData.hasOwnProperty("disabled")?this.disabled:(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}},s=r,a=n(0),l=Object(a["a"])(s,i,o,!1,null,null,null);l.options.__file="packages/button/src/button.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},32380:function(e,t,n){"use strict";n(44114),n(18111),n(7588),t.__esModule=!0;var i=n(66848),o=s(i),r=n(3157);function s(e){return e&&e.__esModule?e:{default:e}}var a=!1,l=!1,u=void 0,c=function(){if(!o.default.prototype.$isServer){var e=h.modalDom;return e?a=!0:(a=!1,e=document.createElement("div"),h.modalDom=e,e.addEventListener("touchmove",(function(e){e.preventDefault(),e.stopPropagation()})),e.addEventListener("click",(function(){h.doOnModalClick&&h.doOnModalClick()}))),e}},d={},h={modalFade:!0,getInstance:function(e){return d[e]},register:function(e,t){e&&t&&(d[e]=t)},deregister:function(e){e&&(d[e]=null,delete d[e])},nextZIndex:function(){return h.zIndex++},modalStack:[],doOnModalClick:function(){var e=h.modalStack[h.modalStack.length-1];if(e){var t=h.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,n,i,s){if(!o.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=s;for(var l=this.modalStack,u=0,d=l.length;u0){var i=t[t.length-1];if(i.id===e){if(i.modalClass){var o=i.modalClass.trim().split(/\s+/);o.forEach((function(e){return(0,r.removeClass)(n,e)}))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(var s=t.length-1;s>=0;s--)if(t[s].id===e){t.splice(s,1);break}}0===t.length&&(this.modalFade&&(0,r.addClass)(n,"v-modal-leave"),setTimeout((function(){0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",h.modalDom=void 0),(0,r.removeClass)(n,"v-modal-leave")}),200))}};Object.defineProperty(h,"zIndex",{configurable:!0,get:function(){return l||(u=u||(o.default.prototype.$ELEMENT||{}).zIndex||2e3,l=!0),u},set:function(e){u=e}});var p=function(){if(!o.default.prototype.$isServer&&h.modalStack.length>0){var e=h.modalStack[h.modalStack.length-1];if(!e)return;var t=h.getInstance(e.id);return t}};o.default.prototype.$isServer||window.addEventListener("keydown",(function(e){if(27===e.keyCode){var t=p();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}})),t["default"]=h},32672:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=138)}({138:function(e,t,n){"use strict";n.r(t);var i=n(5),o=n.n(i),r=n(19),s=n.n(r),a=n(2),l=n(3),u=n(7),c=n.n(u),d={name:"ElTooltip",mixins:[o.a],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0},tabindex:{type:Number,default:0}},data:function(){return{tooltipId:"el-tooltip-"+Object(l["generateId"])(),timeoutPending:null,focusing:!1}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new c.a({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=s()(200,(function(){return e.handleClosePopper()})))},render:function(e){var t=this;this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])]));var n=this.getFirstElement();if(!n)return null;var i=n.data=n.data||{};return i.staticClass=this.addTooltipClass(i.staticClass),n},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",this.tabindex),Object(a["on"])(this.referenceElm,"mouseenter",this.show),Object(a["on"])(this.referenceElm,"mouseleave",this.hide),Object(a["on"])(this.referenceElm,"focus",(function(){if(e.$slots.default&&e.$slots.default.length){var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}else e.handleFocus()})),Object(a["on"])(this.referenceElm,"blur",this.handleBlur),Object(a["on"])(this.referenceElm,"click",this.removeFocusing)),this.value&&this.popperVM&&this.popperVM.$nextTick((function(){e.value&&e.updatePopper()}))},watch:{focusing:function(e){e?Object(a["addClass"])(this.referenceElm,"focusing"):Object(a["removeClass"])(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},addTooltipClass:function(e){return e?"el-tooltip "+e.replace("el-tooltip",""):"el-tooltip"},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout((function(){e.showPopper=!0}),this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout((function(){e.showPopper=!1}),this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e},getFirstElement:function(){var e=this.$slots.default;if(!Array.isArray(e))return null;for(var t=null,n=0;n-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String,validator:function(e){return["success","exception","warning"].indexOf(e)>-1}},strokeWidth:{type:Number,default:6},strokeLinecap:{type:String,default:"round"},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:[String,Array,Function],default:""},defineBackColor:{type:[String,Array,Function],default:"#ebeef5"},textColor:{type:[String,Array,Function],default:"#606266"},format:Function},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.getCurrentColor(this.percentage),e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},radius:function(){return"circle"===this.type||"dashboard"===this.type?parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10):0},trackPath:function(){var e=this.radius,t="dashboard"===this.type;return"\n M 50 50\n m 0 "+(t?"":"-")+e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"-":"")+2*e+"\n a "+e+" "+e+" 0 1 1 0 "+(t?"":"-")+2*e+"\n "},perimeter:function(){return 2*Math.PI*this.radius},rate:function(){return"dashboard"===this.type?.75:1},strokeDashoffset:function(){var e=-1*this.perimeter*(1-this.rate)/2;return e+"px"},trailPathStyle:function(){return{strokeDasharray:this.perimeter*this.rate+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset}},circlePathStyle:function(){return{strokeDasharray:this.perimeter*this.rate*(this.percentage/100)+"px, "+this.perimeter+"px",strokeDashoffset:this.strokeDashoffset,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.getCurrentColor(this.percentage);else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;case"warning":e="#e6a23c";break;default:e="#20a0ff"}return e},iconClass:function(){return"warning"===this.status?"el-icon-warning":"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2},content:function(){return"function"===typeof this.format?this.format(this.percentage)||"":this.percentage+"%"}},methods:{getCurrentColor:function(e){return"function"===typeof this.color?this.color(e):"string"===typeof this.color?this.color:this.getLevelColor(e)},getLevelColor:function(e){for(var t=this.getColorArray().sort((function(e,t){return e.percentage-t.percentage})),n=0;ne)return t[n].color;return t[t.length-1].color},getColorArray:function(){var e=this.color,t=100/e.length;return e.map((function(e,n){return"string"===typeof e?{color:e,percentage:(n+1)*t}:e}))}}},s=r,a=n(0),l=Object(a["a"])(s,i,o,!1,null,null,null);l.options.__file="packages/progress/src/progress.vue";var u=l.exports;u.install=function(e){e.component(u.name,u)};t["default"]=u}})},57012:function(e,t,n){"use strict";n(16573),n(78100),n(77936),n(37467),n(44732),n(79577),t.__esModule=!0,t.isDefined=t.isUndefined=t.isFunction=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isString=a,t.isObject=l,t.isHtmlElement=u;var o=n(66848),r=s(o);function s(e){return e&&e.__esModule?e:{default:e}}function a(e){return"[object String]"===Object.prototype.toString.call(e)}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function u(e){return e&&e.nodeType===Node.ELEMENT_NODE}var c=function(e){var t={};return e&&"[object Function]"===t.toString.call(e)};"object"===("undefined"===typeof Int8Array?"undefined":i(Int8Array))||!r.default.prototype.$isServer&&"function"===typeof document.childNodes||(t.isFunction=c=function(e){return"function"===typeof e||!1}),t.isFunction=c;t.isUndefined=function(e){return void 0===e},t.isDefined=function(e){return void 0!==e&&null!==e}},58809:function(e,t){"use strict";t.__esModule=!0,t["default"]=function(e){for(var t=1,n=arguments.length;t-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var n=e.model,i=t.target,o=i.checked?e.trueLabel:e.falseLabel;if(Array.isArray(n)){var r=null,s=e._i(n,r);i.checked?s<0&&(e.model=n.concat([r])):s>-1&&(e.model=n.slice(0,s).concat(n.slice(s+1)))}else e.model=o},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":e.indeterminate?"true":"false",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var n=e.model,i=t.target,o=!!i.checked;if(Array.isArray(n)){var r=e.label,s=e._i(n,r);i.checked?s<0&&(e.model=n.concat([r])):s>-1&&(e.model=n.slice(0,s).concat(n.slice(s+1)))}else e.model=o},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?n("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},o=[];i._withStripped=!0;var r=n(4),s=n.n(r),a={name:"ElCheckbox",mixins:[s.a],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.lengththis._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){var e=this.$parent;while(e){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isLimitDisabled:function(){var e=this._checkboxGroup,t=e.max,n=e.min;return!(!t&&!n)&&this.model.length>=t&&!this.isChecked||this.model.length<=n&&this.isChecked},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled||this.isLimitDisabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup&&this._checkboxGroup.checkboxGroupSize||e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var n=void 0;n=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",n,e),this.$nextTick((function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])}))}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}}},l=a,u=n(0),c=Object(u["a"])(l,i,o,!1,null,null,null);c.options.__file="packages/checkbox/src/checkbox.vue";var d=c.exports;d.install=function(e){e.component(d.name,d)};t["default"]=d}})},62381:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=87)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},10:function(e,t){e.exports=n(11227)},2:function(e,t){e.exports=n(3157)},22:function(e,t){e.exports=n(83670)},3:function(e,t){e.exports=n(72125)},30:function(e,t,n){"use strict";var i=n(2),o=n(3);t["a"]={bind:function(e,t,n){var r=null,s=void 0,a=Object(o["isMac"])()?100:200,l=function(){return n.context[t.expression].apply()},u=function(){Date.now()-s=0&&e===parseInt(e,10)}}},data:function(){return{currentValue:0,userInput:null}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);if(void 0!==t){if(isNaN(t))return;if(this.stepStrictly){var n=this.getPrecision(this.step),i=Math.pow(10,n);t=Math.round(t/this.step)*i*this.step/i}void 0!==this.precision&&(t=this.toPrecision(t,this.precision))}t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.userInput=null,this.$emit("input",t)}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)this.max},numPrecision:function(){var e=this.value,t=this.step,n=this.getPrecision,i=this.precision,o=n(t);return void 0!==i?(o>i&&console.warn("[Element Warn][InputNumber]precision should not be less than the decimal places of step"),i):Math.max(n(e),o)},controlsAtRight:function(){return this.controls&&"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||!!(this.elForm||{}).disabled},displayValue:function(){if(null!==this.userInput)return this.userInput;var e=this.currentValue;if("number"===typeof e){if(this.stepStrictly){var t=this.getPrecision(this.step),n=Math.pow(10,t);e=Math.round(e/this.step)*n*this.step/n}void 0!==this.precision&&(e=e.toFixed(this.precision))}return e}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.numPrecision),parseFloat(Math.round(e*Math.pow(10,t))/Math.pow(10,t))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),n=t.indexOf("."),i=0;return-1!==n&&(i=t.length-n-1),i},_increase:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e+n*t)/n)},_decrease:function(e,t){if("number"!==typeof e&&void 0!==e)return this.currentValue;var n=Math.pow(10,this.numPrecision);return this.toPrecision((n*e-n*t)/n)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;"number"===typeof e&&void 0!==this.precision&&(e=this.toPrecision(e,this.precision)),e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t!==e&&(this.userInput=null,this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e)},handleInput:function(e){this.userInput=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t),this.userInput=null},select:function(){this.$refs.input.select()}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){var e=this.$refs.input.$refs.input;e.setAttribute("aria-valuenow",this.currentValue)}}},d=c,h=n(0),p=Object(h["a"])(d,i,o,!1,null,null,null);p.options.__file="packages/input-number/src/input-number.vue";var f=p.exports;f.install=function(e){e.component(f.name,f)};t["default"]=f}})},62806:function(e,t,n){"use strict";t.__esModule=!0,t.i18n=t.use=t.t=void 0;var i=n(12467),o=d(i),r=n(66848),s=d(r),a=n(64679),l=d(a),u=n(22071),c=d(u);function d(e){return e&&e.__esModule?e:{default:e}}var h=(0,c.default)(s.default),p=o.default,f=!1,m=function(){var e=Object.getPrototypeOf(this||s.default).$t;if("function"===typeof e&&s.default.locale)return f||(f=!0,s.default.locale(s.default.config.lang,(0,l.default)(p,s.default.locale(s.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},v=t.t=function(e,t){var n=m.apply(this,arguments);if(null!==n&&void 0!==n)return n;for(var i=e.split("."),o=p,r=0,s=i.length;r3?0:(e-e%10!==10)*e%10]}};var _={D:function(e){return e.getDay()},DD:function(e){return m(e.getDay())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return e.getDate()},dd:function(e){return m(e.getDate())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return m(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},yy:function(e){return m(String(e.getFullYear()),4).substr(2)},yyyy:function(e){return m(e.getFullYear(),4)},h:function(e){return e.getHours()%12||12},hh:function(e){return m(e.getHours()%12||12)},H:function(e){return e.getHours()},HH:function(e){return m(e.getHours())},m:function(e){return e.getMinutes()},mm:function(e){return m(e.getMinutes())},s:function(e){return e.getSeconds()},ss:function(e){return m(e.getSeconds())},S:function(e){return Math.round(e.getMilliseconds()/100)},SS:function(e){return m(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return m(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+m(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},x={d:[s,function(e,t){e.day=t}],Do:[s+u,function(e,t){e.day=parseInt(t,10)}],M:[s,function(e,t){e.month=t-1}],yy:[s,function(e,t){var n=new Date,i=+(""+n.getFullYear()).substr(0,2);e.year=""+(t>68?i-1:i)+t}],h:[s,function(e,t){e.hour=t}],m:[s,function(e,t){e.minute=t}],s:[s,function(e,t){e.second=t}],yyyy:[l,function(e,t){e.year=t}],S:["\\d",function(e,t){e.millisecond=100*t}],SS:["\\d{2}",function(e,t){e.millisecond=10*t}],SSS:[a,function(e,t){e.millisecond=t}],D:[s,d],ddd:[u,d],MMM:[u,f("monthNamesShort")],MMMM:[u,f("monthNames")],a:[u,function(e,t,n){var i=t.toLowerCase();i===n.amPm[0]?e.isPm=!1:i===n.amPm[1]&&(e.isPm=!0)}],ZZ:["[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z",function(e,t){var n,i=(t+"").match(/([+-]|\d\d)/gi);i&&(n=60*i[1]+parseInt(i[2],10),e.timezoneOffset="+"===i[0]?n:-n)}]};x.dd=x.d,x.dddd=x.ddd,x.DD=x.D,x.mm=x.m,x.hh=x.H=x.HH=x.h,x.MM=x.M,x.ss=x.s,x.A=x.a,o.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},o.format=function(e,t,n){var i=n||o.i18n;if("number"===typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");t=o.masks[t]||t||o.masks["default"];var s=[];return t=t.replace(c,(function(e,t){return s.push(t),"@@@"})),t=t.replace(r,(function(t){return t in _?_[t](e,i):t.slice(1,t.length-1)})),t.replace(/@@@/g,(function(){return s.shift()}))},o.parse=function(e,t,n){var i=n||o.i18n;if("string"!==typeof t)throw new Error("Invalid format in fecha.parse");if(t=o.masks[t]||t,e.length>1e3)return null;var s={},a=[],l=[];t=t.replace(c,(function(e,t){return l.push(t),"@@@"}));var u=h(t).replace(r,(function(e){if(x[e]){var t=x[e];return a.push(t[1]),"("+t[0]+")"}return e}));u=u.replace(/@@@/g,(function(){return l.shift()}));var d=e.match(new RegExp(u,"i"));if(!d)return null;for(var p=1;pl&&(e.scrollTop=s-e.clientHeight)}else e.scrollTop=0}},72125:function(e,t,n){"use strict";t.__esModule=!0,t.isMac=t.isEmpty=t.isEqual=t.arrayEquals=t.looseEqual=t.capitalize=t.kebabCase=t.autoprefixer=t.isFirefox=t.isEdge=t.isIE=t.coerceTruthyValueToArray=t.arrayFind=t.arrayFindIndex=t.escapeRegexpString=t.valueEquals=t.generateId=t.getValueByPath=void 0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.noop=u,t.hasOwn=c,t.toObject=h,t.getPropByPath=p,t.rafThrottle=b,t.objToArray=y;var o=n(66848),r=a(o),s=n(57012);function a(e){return e&&e.__esModule?e:{default:e}}var l=Object.prototype.hasOwnProperty;function u(){}function c(e,t){return l.call(e,t)}function d(e,t){for(var n in t)e[n]=t[n];return e}function h(e){for(var t={},n=0;n0&&void 0!==arguments[0]?arguments[0]:"";return String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")};var f=t.arrayFindIndex=function(e,t){for(var n=0;n!==e.length;++n)if(t(e[n]))return n;return-1},m=(t.arrayFind=function(e,t){var n=f(e,t);return-1!==n?e[n]:void 0},t.coerceTruthyValueToArray=function(e){return Array.isArray(e)?e:e?[e]:[]},t.isIE=function(){return!r.default.prototype.$isServer&&!isNaN(Number(document.documentMode))},t.isEdge=function(){return!r.default.prototype.$isServer&&navigator.userAgent.indexOf("Edge")>-1},t.isFirefox=function(){return!r.default.prototype.$isServer&&!!window.navigator.userAgent.match(/firefox/i)},t.autoprefixer=function(e){if("object"!==("undefined"===typeof e?"undefined":i(e)))return e;var t=["transform","transition","animation"],n=["ms-","webkit-"];return t.forEach((function(t){var i=e[t];t&&i&&n.forEach((function(n){e[n+t]=i}))})),e},t.kebabCase=function(e){var t=/([^-])([A-Z])/g;return e.replace(t,"$1-$2").replace(t,"$1-$2").toLowerCase()},t.capitalize=function(e){return(0,s.isString)(e)?e.charAt(0).toUpperCase()+e.slice(1):e},t.looseEqual=function(e,t){var n=(0,s.isObject)(e),i=(0,s.isObject)(t);return n&&i?JSON.stringify(e)===JSON.stringify(t):!n&&!i&&String(e)===String(t)}),v=t.arrayEquals=function(e,t){if(e=e||[],t=t||[],e.length!==t.length)return!1;for(var n=0;n=t.length)break;o=t[i++]}else{if(i=t.next(),i.done)break;o=i.value}var r=o,s=r.target.__resizeListeners__||[];s.length&&s.forEach((function(e){e()}))}};t.addResizeListener=function(e,t){a||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new o.default((0,r.debounce)(16,l)),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},73035:function(e,t,n){"use strict";var i,o;n(18111),n(22489),n(7588),n(61701);"function"===typeof Symbol&&Symbol.iterator; +/** + * @fileOverview Kickass library to create and place poppers near their reference elements. + * @version {{version}} + * @license + * Copyright (c) 2016 Federico Zivolo and contributors + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */(function(r,s){i=s,o="function"===typeof i?i.call(t,n,t,e):i,void 0===o||(e.exports=o)})(0,(function(){var e=window,t={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};function n(e,n,i){this._reference=e.jquery?e[0]:e,this.state={};var o="undefined"===typeof n||null===n,r=n&&"[object Object]"===Object.prototype.toString.call(n);return this._popper=o||r?this.parse(r?n:{}):n.jquery?n[0]:n,this._options=Object.assign({},t,i),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),d(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function i(t){var n=t.style.display,i=t.style.visibility;t.style.display="block",t.style.visibility="hidden";t.offsetWidth;var o=e.getComputedStyle(t),r=parseFloat(o.marginTop)+parseFloat(o.marginBottom),s=parseFloat(o.marginLeft)+parseFloat(o.marginRight),a={width:t.offsetWidth+s,height:t.offsetHeight+r};return t.style.display=n,t.style.visibility=i,a}function o(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function r(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function s(e,t){var n,i=0;for(n in e){if(e[n]===t)return i;i++}return null}function a(t,n){var i=e.getComputedStyle(t,null);return i[n]}function l(t){var n=t.offsetParent;return n!==e.document.body&&n?n:e.document.documentElement}function u(t){var n=t.parentNode;return n?n===e.document?e.document.body.scrollTop||e.document.body.scrollLeft?e.document.body:e.document.documentElement:-1!==["scroll","auto"].indexOf(a(n,"overflow"))||-1!==["scroll","auto"].indexOf(a(n,"overflow-x"))||-1!==["scroll","auto"].indexOf(a(n,"overflow-y"))?n:u(t.parentNode):t}function c(t){return t!==e.document.body&&("fixed"===a(t,"position")||(t.parentNode?c(t.parentNode):t))}function d(e,t){function n(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach((function(i){var o="";-1!==["width","height","top","right","bottom","left"].indexOf(i)&&n(t[i])&&(o="px"),e.style[i]=t[i]+o}))}function h(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function p(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function f(e){var t=e.getBoundingClientRect(),n=-1!=navigator.userAgent.indexOf("MSIE"),i=n&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:i,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-i}}function m(e,t,n){var i=f(e),o=f(t);if(n){var r=u(t);o.top+=r.scrollTop,o.bottom+=r.scrollTop,o.left+=r.scrollLeft,o.right+=r.scrollLeft}var s={top:i.top-o.top,left:i.left-o.left,bottom:i.top-o.top+i.height,right:i.left-o.left+i.width,width:i.width,height:i.height};return s}function v(t){for(var n=["","ms","webkit","moz","o"],i=0;i1&&console.warn("WARNING: the given `parent` query("+t.parent+") matched more than one element, the first one will be used"),0===s.length)throw"ERROR: the given `parent` doesn't exists!";s=s[0]}return s.length>1&&s instanceof Element===!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),s=s[0]),s.appendChild(o),o;function a(e,t){t.forEach((function(t){e.classList.add(t)}))}function l(e,t){t.forEach((function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")}))}},n.prototype._getPosition=function(e,t){var n=l(t);if(this._options.forceAbsolute)return"absolute";var i=c(t,n);return i?"fixed":"absolute"},n.prototype._getOffsets=function(e,t,n){n=n.split("-")[0];var o={};o.position=this.state.position;var r="fixed"===o.position,s=m(t,l(e),r),a=i(e);return-1!==["right","left"].indexOf(n)?(o.top=s.top+s.height/2-a.height/2,o.left="left"===n?s.left-a.width:s.right):(o.left=s.left+s.width/2-a.width/2,o.top="top"===n?s.top-a.height:s.bottom),o.width=a.width,o.height=a.height,{popper:o,reference:s}},n.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),e.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var t=u(this._reference);t!==e.document.body&&t!==e.document.documentElement||(t=e),t.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=t}},n.prototype._removeEventListeners=function(){e.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},n.prototype._getBoundaries=function(t,n,i){var o,r,s={};if("window"===i){var a=e.document.body,c=e.document.documentElement;r=Math.max(a.scrollHeight,a.offsetHeight,c.clientHeight,c.scrollHeight,c.offsetHeight),o=Math.max(a.scrollWidth,a.offsetWidth,c.clientWidth,c.scrollWidth,c.offsetWidth),s={top:0,right:o,bottom:r,left:0}}else if("viewport"===i){var d=l(this._popper),h=u(this._popper),f=p(d),m=function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop},v=function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft},g="fixed"===t.offsets.popper.position?0:m(h),b="fixed"===t.offsets.popper.position?0:v(h);s={top:0-(f.top-g),right:e.document.documentElement.clientWidth-(f.left-b),bottom:e.document.documentElement.clientHeight-(f.top-g),left:0-(f.left-b)}}else s=l(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:p(i);return s.left+=n,s.right-=n,s.top=s.top+n,s.bottom=s.bottom-n,s},n.prototype.runModifiers=function(e,t,n){var i=t.slice();return void 0!==n&&(i=this._options.modifiers.slice(0,s(this._options.modifiers,n))),i.forEach(function(t){h(t)&&(e=t.call(this,e))}.bind(this)),e},n.prototype.isModifierRequired=function(e,t){var n=s(this._options.modifiers,e);return!!this._options.modifiers.slice(0,n).filter((function(e){return e===t})).length},n.prototype.modifiers={},n.prototype.modifiers.applyStyle=function(e){var t,n={position:e.offsets.popper.position},i=Math.round(e.offsets.popper.left),o=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=v("transform"))?(n[t]="translate3d("+i+"px, "+o+"px, 0)",n.top=0,n.left=0):(n.left=i,n.top=o),Object.assign(n,e.styles),d(this._popper,n),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&d(e.arrowElement,e.offsets.arrow),e},n.prototype.modifiers.shift=function(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets.reference,s=r(e.offsets.popper),a={y:{start:{top:o.top},end:{top:o.top+o.height-s.height}},x:{start:{left:o.left},end:{left:o.left+o.width-s.width}}},l=-1!==["bottom","top"].indexOf(n)?"x":"y";e.offsets.popper=Object.assign(s,a[l][i])}return e},n.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,n=r(e.offsets.popper),i={left:function(){var t=n.left;return n.lefte.boundaries.right&&(t=Math.min(n.left,e.boundaries.right-n.width)),{left:t}},top:function(){var t=n.top;return n.tope.boundaries.bottom&&(t=Math.min(n.top,e.boundaries.bottom-n.height)),{top:t}}};return t.forEach((function(t){e.offsets.popper=Object.assign(n,i[t]())})),e},n.prototype.modifiers.keepTogether=function(e){var t=r(e.offsets.popper),n=e.offsets.reference,i=Math.floor;return t.righti(n.right)&&(e.offsets.popper.left=i(n.right)),t.bottomi(n.bottom)&&(e.offsets.popper.top=i(n.bottom)),e},n.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],n=o(t),i=e.placement.split("-")[1]||"",s=[];return s="flip"===this._options.flipBehavior?[t,n]:this._options.flipBehavior,s.forEach(function(a,l){if(t===a&&s.length!==l+1){t=e.placement.split("-")[0],n=o(t);var u=r(e.offsets.popper),c=-1!==["right","bottom"].indexOf(t);(c&&Math.floor(e.offsets.reference[t])>Math.floor(u[n])||!c&&Math.floor(e.offsets.reference[t])a[p]&&(e.offsets.popper[d]+=l[d]+f-a[p]);var m=l[d]+(n||l[c]/2-f/2),v=m-a[d];return v=Math.max(Math.min(a[c]-f-8,v),8),o[d]=v,o[h]="",e.offsets.arrow=o,e.arrowElement=t,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n=0;t--){var i=e.childNodes[t];if(n.Utils.attemptFocus(i)||n.Utils.focusLastDescendant(i))return!0}return!1},n.Utils.attemptFocus=function(e){if(!n.Utils.isFocusable(e))return!1;n.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(t){}return n.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},n.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},n.Utils.triggerEvent=function(e,t){var n=void 0;n=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var i=document.createEvent(n),o=arguments.length,r=Array(o>2?o-2:0),s=2;s-1?"center "+n:n+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){for(var n in this.appended=!0,e.attributes)if(/^_v-/.test(e.attributes[n].name)){t=e.attributes[n].name;break}var i=document.createElement("div");t&&i.setAttribute(t,""),i.setAttribute("x-arrow",""),i.className="popper__arrow",e.appendChild(i)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",l),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},94054:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=78)}({0:function(e,t,n){"use strict";function i(e,t,n,i,o,r,s,a){var l,u="function"===typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),i&&(u.functional=!0),r&&(u._scopeId="data-v-"+r),s?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=l):o&&(l=a?function(){o.call(this,this.$root.$options.shadowRoot)}:o),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return i}))},2:function(e,t){e.exports=n(3157)},3:function(e,t){e.exports=n(72125)},5:function(e,t){e.exports=n(93024)},7:function(e,t){e.exports=n(66848)},78:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",[n("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?n("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),n("span",{ref:"wrapper",staticClass:"el-popover__reference-wrapper"},[e._t("reference")],2)],1)},o=[];i._withStripped=!0;var r=n(5),s=n.n(r),a=n(2),l=n(3),u={name:"ElPopover",mixins:[s.a],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},closeDelay:{type:Number,default:200},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"},tabindex:{type:Number,default:0}},computed:{tooltipId:function(){return"el-popover-"+Object(l["generateId"])()}},watch:{showPopper:function(e){this.disabled||(e?this.$emit("show"):this.$emit("hide"))}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),t&&(Object(a["addClass"])(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",this.tabindex),n.setAttribute("tabindex",0),"click"!==this.trigger&&(Object(a["on"])(t,"focusin",(function(){e.handleFocus();var n=t.__vue__;n&&"function"===typeof n.focus&&n.focus()})),Object(a["on"])(n,"focusin",this.handleFocus),Object(a["on"])(t,"focusout",this.handleBlur),Object(a["on"])(n,"focusout",this.handleBlur)),Object(a["on"])(t,"keydown",this.handleKeydown),Object(a["on"])(t,"click",this.handleClick)),"click"===this.trigger?(Object(a["on"])(t,"click",this.doToggle),Object(a["on"])(document,"click",this.handleDocumentClick)):"hover"===this.trigger?(Object(a["on"])(t,"mouseenter",this.handleMouseEnter),Object(a["on"])(n,"mouseenter",this.handleMouseEnter),Object(a["on"])(t,"mouseleave",this.handleMouseLeave),Object(a["on"])(n,"mouseleave",this.handleMouseLeave)):"focus"===this.trigger&&(this.tabindex<0&&console.warn("[Element Warn][Popover]a negative taindex means that the element cannot be focused by tab key"),t.querySelector("input, textarea")?(Object(a["on"])(t,"focusin",this.doShow),Object(a["on"])(t,"focusout",this.doClose)):(Object(a["on"])(t,"mousedown",this.doShow),Object(a["on"])(t,"mouseup",this.doClose)))},beforeDestroy:function(){this.cleanup()},deactivated:function(){this.cleanup()},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){Object(a["addClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!0)},handleClick:function(){Object(a["removeClass"])(this.referenceElm,"focusing")},handleBlur:function(){Object(a["removeClass"])(this.referenceElm,"focusing"),"click"!==this.trigger&&"focus"!==this.trigger||(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout((function(){e.showPopper=!0}),this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this.closeDelay?this._timer=setTimeout((function(){e.showPopper=!1}),this.closeDelay):this.showPopper=!1},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,n=this.popper||this.$refs.popper;!t&&this.$refs.wrapper.children&&(t=this.referenceElm=this.$refs.wrapper.children[0]),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&n&&!n.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()},cleanup:function(){(this.openDelay||this.closeDelay)&&clearTimeout(this._timer)}},destroyed:function(){var e=this.reference;Object(a["off"])(e,"click",this.doToggle),Object(a["off"])(e,"mouseup",this.doClose),Object(a["off"])(e,"mousedown",this.doShow),Object(a["off"])(e,"focusin",this.doShow),Object(a["off"])(e,"focusout",this.doClose),Object(a["off"])(e,"mousedown",this.doShow),Object(a["off"])(e,"mouseup",this.doClose),Object(a["off"])(e,"mouseleave",this.handleMouseLeave),Object(a["off"])(e,"mouseenter",this.handleMouseEnter),Object(a["off"])(document,"click",this.handleDocumentClick)}},c=u,d=n(0),h=Object(d["a"])(c,i,o,!1,null,null,null);h.options.__file="packages/popover/src/main.vue";var p=h.exports,f=function(e,t,n){var i=t.expression?t.value:t.arg,o=n.context.$refs[i];o&&(Array.isArray(o)?o[0].$refs.reference=e:o.$refs.reference=e)},m={bind:function(e,t,n){f(e,t,n)},inserted:function(e,t,n){f(e,t,n)}},v=n(7),g=n.n(v);g.a.directive("popover",m),p.install=function(e){e.directive("popover",m),e.component(p.name,p)},p.directive=m;t["default"]=p}})},96834:function(e,t,n){"use strict";n(44114),t.__esModule=!0;var i=n(66848),o=s(i),r=n(3157);function s(e){return e&&e.__esModule?e:{default:e}}var a=[],l="@@clickoutsideContext",u=void 0,c=0;function d(e,t,n){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&o.target)||e.contains(i.target)||e.contains(o.target)||e===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(o.target))||(t.expression&&e[l].methodName&&n.context[e[l].methodName]?n.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}!o.default.prototype.$isServer&&(0,r.on)(document,"mousedown",(function(e){return u=e})),!o.default.prototype.$isServer&&(0,r.on)(document,"mouseup",(function(e){a.forEach((function(t){return t[l].documentHandler(e,u)}))})),t["default"]={bind:function(e,t,n){a.push(e);var i=c++;e[l]={id:i,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[l].documentHandler=d(e,t,n),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=a.length,n=0;n92||"NODE"===s&&i>94||"BROWSER"===s&&i>97)return!1;var t=new ArrayBuffer(8),e=u(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength}))},1625:function(t,e,r){"use strict";var n=r(79504);t.exports=n({}.isPrototypeOf)},1767:function(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},2360:function(t,e,r){"use strict";var n,o=r(28551),i=r(96801),s=r(88727),u=r(30421),a=r(20397),c=r(4055),f=r(66119),l=">",p="<",d="prototype",h="script",y=f("IE_PROTO"),v=function(){},m=function(t){return p+h+l+t+p+"/"+h+l},g=function(t){t.write(m("")),t.close();var e=t.parentWindow.Object;return t=null,e},b=function(){var t,e=c("iframe"),r="java"+h+":";return e.style.display="none",a.appendChild(e),e.src=String(r),t=e.contentWindow.document,t.open(),t.write(m("document.F=Object")),t.close(),t.F},w=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}w="undefined"!=typeof document?document.domain&&n?g(n):b():g(n);var t=s.length;while(t--)delete w[d][s[t]];return w()};u[y]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(v[d]=o(t),r=new v,v[d]=null,r[y]=t):r=w(),void 0===e?r:i.f(r,e)}},3238:function(t,e,r){"use strict";var n=r(44576),o=r(77811),i=r(67394),s=n.DataView;t.exports=function(t){if(!o||0!==i(t))return!1;try{return new s(t),!1}catch(e){return!0}}},3999:function(t){function e(t){return t&&t.__esModule?t:{default:t}}t.exports=e,t.exports.__esModule=!0,t.exports["default"]=t.exports},4055:function(t,e,r){"use strict";var n=r(44576),o=r(20034),i=n.document,s=o(i)&&o(i.createElement);t.exports=function(t){return s?i.createElement(t):{}}},4495:function(t,e,r){"use strict";var n=r(39519),o=r(79039),i=r(44576),s=i.String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!s(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},5065:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(51656)),i=n(r(45672)),s=n(r(61789)),u=n(r(29572)),a=n(r(78e3)),c=n(r(12599));e["default"]={required:o.default,whitespace:i.default,type:s.default,range:u.default,enum:a.default,pattern:c.default}},6791:function(t){var e=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=e)},6935:function(t,e,r){var n=r(21672),o=r(90531),i=r(64796);t.exports=r(75872)?Object.defineProperties:function(t,e){o(t);var r,s=i(e),u=s.length,a=0;while(u>a)n.f(t,r=s[a++],e[r]);return t}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7040:function(t,e,r){"use strict";var n=r(4495);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},7421:function(t,e,r){var n=r(6791),o=r(56903),i="__core-js_shared__",s=o[i]||(o[i]={});(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:n.version,mode:r(98849)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},7588:function(t,e,r){"use strict";var n=r(46518),o=r(72652),i=r(79306),s=r(28551),u=r(1767);n({target:"Iterator",proto:!0,real:!0},{forEach:function(t){s(this),i(t);var e=u(this),r=0;o(e,(function(e){t(e,r++)}),{IS_RECORD:!0})}})},7745:function(t,e,r){var n=r(56903).document;t.exports=n&&n.documentElement},8830:function(t,e,r){var n=r(43570),o=Math.max,i=Math.min;t.exports=function(t,e){return t=n(t),t<0?o(t+e,0):i(t,e)}},9250:function(t,e,r){var n=r(43570),o=Math.min;t.exports=function(t){return t>0?o(n(t),9007199254740991):0}},9298:function(t,e,r){r(18111),r(18237);var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;function o(t,e){return function(){t&&t.apply(this,arguments),e&&e.apply(this,arguments)}}t.exports=function(t){return t.reduce((function(t,e){var r,i,s,u,a;for(s in e)if(r=t[s],i=e[s],r&&n.test(s))if("class"===s&&("string"===typeof r&&(a=r,t[s]=r={},r[a]=!0),"string"===typeof i&&(a=i,e[s]=i={},i[a]=!0)),"on"===s||"nativeOn"===s||"hook"===s)for(u in i)r[u]=o(r[u],i[u]);else if(Array.isArray(r))t[s]=r.concat(i);else if(Array.isArray(i))t[s]=[r].concat(i);else for(u in i)r[u]=i[u];else t[s]=e[s];return t}),{})}},9539:function(t,e,r){"use strict";var n=r(69565),o=r(28551),i=r(55966);t.exports=function(t,e,r){var s,u;o(t);try{if(s=i(t,"return"),!s){if("throw"===e)throw r;return r}s=n(s,t)}catch(a){u=!0,s=a}if("throw"===e)throw r;if(u)throw s;return o(s),r}},10350:function(t,e,r){"use strict";var n=r(43724),o=r(39297),i=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,u=o(i,"name"),a=u&&"something"===function(){}.name,c=u&&(!n||n&&s(i,"name").configurable);t.exports={EXISTS:u,PROPER:a,CONFIGURABLE:c}},10757:function(t,e,r){"use strict";var n=r(97751),o=r(94901),i=r(1625),s=r(7040),u=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return o(e)&&i(e.prototype,u(t))}},12211:function(t,e,r){"use strict";var n=r(79039);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},12599:function(t,e,r){"use strict";var n=r(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,r(44114);var o=n(r(75088));function i(t,e,r,n,i){if(t.pattern)if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||n.push(o.format(i.messages.pattern.mismatch,t.fullField,e,t.pattern));else if("string"===typeof t.pattern){var s=new RegExp(t.pattern);s.test(e)||n.push(o.format(i.messages.pattern.mismatch,t.fullField,e,t.pattern))}}e["default"]=i},13579:function(t,e,r){"use strict";var n=r(46518),o=r(72652),i=r(79306),s=r(28551),u=r(1767);n({target:"Iterator",proto:!0,real:!0},{some:function(t){s(this),i(t);var e=u(this),r=0;return o(e,(function(e,n){if(t(e,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},13925:function(t,e,r){"use strict";var n=r(20034);t.exports=function(t){return n(t)||null===t}},14259:function(t,e){e.f=Object.getOwnPropertySymbols},14366:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,r(44114),r(18111),r(7588),r(61701);var o=n(r(95780)),i=n(r(48296)),s=r(75088),u=n(r(94135)),a=r(31228);function c(t){this.rules=null,this._messages=a.messages,this.define(t)}c.prototype={messages:function(t){return t&&(this._messages=(0,s.deepMerge)((0,a.newMessages)(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if("object"!==("undefined"===typeof t?"undefined":(0,i.default)(t))||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var e=void 0,r=void 0;for(e in t)t.hasOwnProperty(e)&&(r=t[e],this.rules[e]=Array.isArray(r)?r:[r])},validate:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2],u=t,f=r,l=n;if("function"===typeof f&&(l=f,f={}),this.rules&&0!==Object.keys(this.rules).length){if(f.messages){var p=this.messages();p===a.messages&&(p=(0,a.newMessages)()),(0,s.deepMerge)(p,f.messages),f.messages=p}else f.messages=this.messages();var d=void 0,h=void 0,y={},v=f.keys||Object.keys(this.rules);v.forEach((function(r){d=e.rules[r],h=u[r],d.forEach((function(n){var i=n;"function"===typeof i.transform&&(u===t&&(u=(0,o.default)({},u)),h=u[r]=i.transform(h)),i="function"===typeof i?{validator:i}:(0,o.default)({},i),i.validator=e.getValidationMethod(i),i.field=r,i.fullField=i.fullField||r,i.type=e.getType(i),i.validator&&(y[r]=y[r]||[],y[r].push({rule:i,value:h,source:u,field:r}))}))}));var m={};(0,s.asyncMap)(y,f,(function(t,e){var r=t.rule,n=("object"===r.type||"array"===r.type)&&("object"===(0,i.default)(r.fields)||"object"===(0,i.default)(r.defaultField));function u(t,e){return(0,o.default)({},e,{fullField:r.fullField+"."+t})}function a(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=i;if(Array.isArray(a)||(a=[a]),a.length&&(0,s.warning)("async-validator:",a),a.length&&r.message&&(a=[].concat(r.message)),a=a.map((0,s.complementError)(r)),f.first&&a.length)return m[r.field]=1,e(a);if(n){if(r.required&&!t.value)return a=r.message?[].concat(r.message).map((0,s.complementError)(r)):f.error?[f.error(r,(0,s.format)(f.messages.required,r.field))]:[],e(a);var l={};if(r.defaultField)for(var p in t.value)t.value.hasOwnProperty(p)&&(l[p]=r.defaultField);for(var d in l=(0,o.default)({},l,t.rule.fields),l)if(l.hasOwnProperty(d)){var h=Array.isArray(l[d])?l[d]:[l[d]];l[d]=h.map(u.bind(null,d))}var y=new c(l);y.messages(f.messages),t.rule.options&&(t.rule.options.messages=f.messages,t.rule.options.error=f.error),y.validate(t.value,t.rule.options||f,(function(t){e(t&&t.length?a.concat(t):t)}))}else e(a)}n=n&&(r.required||!r.required&&t.value),r.field=t.field;var l=r.validator(r,t.value,a,t.source,f);l&&l.then&&l.then((function(){return a()}),(function(t){return a(t)}))}),(function(t){g(t)}))}else l&&l();function g(t){var e=void 0,r=void 0,n=[],o={};function i(t){Array.isArray(t)?n=n.concat.apply(n,t):n.push(t)}for(e=0;e0?o(e,9007199254740991):0}},18111:function(t,e,r){"use strict";var n=r(46518),o=r(44576),i=r(90679),s=r(28551),u=r(94901),a=r(42787),c=r(62106),f=r(97040),l=r(79039),p=r(39297),d=r(78227),h=r(57657).IteratorPrototype,y=r(43724),v=r(96395),m="constructor",g="Iterator",b=d("toStringTag"),w=TypeError,E=o[g],O=v||!u(E)||E.prototype!==h||!l((function(){E({})})),x=function(){if(i(this,h),a(this)===h)throw new w("Abstract class Iterator not directly constructable")},S=function(t,e){y?c(h,t,{configurable:!0,get:function(){return e},set:function(e){if(s(this),this===h)throw new w("You can't redefine this property");p(this,t)?this[t]=e:f(this,t,e)}}):h[t]=e};p(h,b)||S(b,g),!O&&p(h,m)&&h[m]!==Object||S(m,x),x.prototype=h,n({global:!0,constructor:!0,forced:O},{Iterator:x})},18237:function(t,e,r){"use strict";var n=r(46518),o=r(72652),i=r(79306),s=r(28551),u=r(1767),a=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(t){s(this),i(t);var e=u(this),r=arguments.length<2,n=r?void 0:arguments[1],c=0;if(o(e,(function(e){r?(r=!1,n=e):n=t(n,e,c),c++}),{IS_RECORD:!0}),r)throw new a("Reduce of empty iterator with no initial value");return n}})},18727:function(t,e,r){"use strict";var n=r(36955);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},18745:function(t,e,r){"use strict";var n=r(40616),o=Function.prototype,i=o.apply,s=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(i):function(){return s.apply(i,arguments)})},19462:function(t,e,r){"use strict";var n=r(69565),o=r(2360),i=r(66699),s=r(56279),u=r(78227),a=r(91181),c=r(55966),f=r(57657).IteratorPrototype,l=r(62529),p=r(9539),d=u("toStringTag"),h="IteratorHelper",y="WrapForValidIterator",v=a.set,m=function(t){var e=a.getterFor(t?y:h);return s(o(f),{next:function(){var r=e(this);if(t)return r.nextHandler();if(r.done)return l(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:l(n,r.done)}catch(o){throw r.done=!0,o}},return:function(){var r=e(this),o=r.iterator;if(r.done=!0,t){var i=c(o,"return");return i?n(i,o):l(void 0,!0)}if(r.inner)try{p(r.inner.iterator,"normal")}catch(s){return p(o,"throw",s)}return o&&p(o,"normal"),l(void 0,!0)}})},g=m(!0),b=m(!1);i(b,d,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,o){o?(o.iterator=n.iterator,o.next=n.next):o=n,o.type=e?y:h,o.returnHandlerResult=!!r,o.nextHandler=t,o.counter=0,o.done=!1,v(this,o)};return n.prototype=e?g:b,n}},19617:function(t,e,r){"use strict";var n=r(25397),o=r(35610),i=r(26198),s=function(t){return function(e,r,s){var u=n(e),a=i(u);if(0===a)return!t&&-1;var c,f=o(s,a);if(t&&r!==r){while(a>f)if(c=u[f++],c!==c)return!0}else for(;a>f;f++)if((t||f in u)&&u[f]===r)return t||f||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},19786:function(t,e,r){var n=r(56903),o=r(6791),i=r(33971),s=r(14632),u=r(43066),a="prototype",c=function(t,e,r){var f,l,p,d=t&c.F,h=t&c.G,y=t&c.S,v=t&c.P,m=t&c.B,g=t&c.W,b=h?o:o[e]||(o[e]={}),w=b[a],E=h?n:y?n[e]:(n[e]||{})[a];for(f in h&&(r=e),r)l=!d&&E&&void 0!==E[f],l&&u(b,f)||(p=l?E[f]:r[f],b[f]=h&&"function"!=typeof E[f]?r[f]:m&&l?i(p,n):g&&E[f]==p?function(t){var e=function(e,r,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,r)}return new t(e,r,n)}return t.apply(this,arguments)};return e[a]=t[a],e}(p):v&&"function"==typeof p?i(Function.call,p):p,v&&((b.virtual||(b.virtual={}))[f]=p,t&c.R&&w&&!w[f]&&s(w,f,p)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},20034:function(t,e,r){"use strict";var n=r(94901);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},20116:function(t,e,r){"use strict";var n=r(46518),o=r(72652),i=r(79306),s=r(28551),u=r(1767);n({target:"Iterator",proto:!0,real:!0},{find:function(t){s(this),i(t);var e=u(this),r=0;return o(e,(function(e,n){if(t(e,r++))return n(e)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},20397:function(t,e,r){"use strict";var n=r(97751);t.exports=n("document","documentElement")},20713:function(t,e,r){"use strict";var n=r(69565),o=r(79306),i=r(28551),s=r(1767),u=r(19462),a=r(96319),c=u((function(){var t=this.iterator,e=i(n(this.next,t)),r=this.done=!!e.done;if(!r)return a(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return i(this),o(t),new c(s(this),{mapper:t})}},21039:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e)&&!t.required)return r();if(o.default.required(t,e,n,u,s),!(0,i.isEmptyValue)(e)){var c=void 0;c="number"===typeof e?new Date(e):e,o.default.type(t,c,n,u,s),c&&o.default.range(t,c.getTime(),n,u,s)}}r(u)}e["default"]=s},21672:function(t,e,r){var n=r(90531),o=r(14913),i=r(78381),s=Object.defineProperty;e.f=r(75872)?Object.defineProperty:function(t,e,r){if(n(t),e=i(e,!0),n(r),o)try{return s(t,e,r)}catch(u){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[e]=r.value),t}},22195:function(t,e,r){"use strict";var n=r(79504),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},22489:function(t,e,r){"use strict";var n=r(46518),o=r(69565),i=r(79306),s=r(28551),u=r(1767),a=r(19462),c=r(96319),f=r(96395),l=a((function(){var t,e,r,n=this.iterator,i=this.predicate,u=this.next;while(1){if(t=s(o(u,n)),e=this.done=!!t.done,e)return;if(r=t.value,c(n,i,[r,this.counter++],!0))return r}}));n({target:"Iterator",proto:!0,real:!0,forced:f},{filter:function(t){return s(this),i(t),new l(u(this),{predicate:t})}})},22499:function(t){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},22682:function(t,e,r){var n=r(98936),o=r(15495),i=r(69204),s=r(78381),u=r(43066),a=r(14913),c=Object.getOwnPropertyDescriptor;e.f=r(75872)?c:function(t,e){if(t=i(t),e=s(e,!0),a)try{return c(t,e)}catch(r){}if(u(t,e))return o(!n.f.call(t,e),t[e])}},22686:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e)&&!t.required)return r();o.default.required(t,e,n,u,s),void 0!==e&&o.default.type(t,e,n,u,s)}r(u)}e["default"]=s},22812:function(t){"use strict";var e=TypeError;t.exports=function(t,r){if(to)Y(t,r=n[o++],e[r]);return t},Q=function(t,e){return void 0===e?S(t):X(S(t),e)},Z=function(t){var e=U.call(this,t=O(t,!0));return!(this===V&&o(B,t)&&!o(z,t))&&(!(e||!o(this,t)||!o(B,t)||o(this,k)&&this[k][t])||e)},tt=function(t,e){if(t=E(t),e=O(e,!0),t!==V||!o(B,e)||o(z,e)){var r=P(t,e);return!r||!o(B,e)||o(t,k)&&t[k][e]||(r.enumerable=!0),r}},et=function(t){var e,r=C(E(t)),n=[],i=0;while(r.length>i)o(B,e=r[i++])||e==k||e==a||n.push(e);return n},rt=function(t){var e,r=t===V,n=C(r?z:E(t)),i=[],s=0;while(n.length>s)!o(B,e=n[s++])||r&&!o(V,e)||i.push(B[e]);return i};W||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var t=p(arguments.length>0?arguments[0]:void 0),e=function(r){this===V&&e.call(z,r),o(this,k)&&o(this[k],t)&&(this[k][t]=!1),G(this,t,x(1,r))};return i&&J&&G(V,t,{configurable:!0,set:e}),K(t)},u(I[D],"toString",(function(){return this._k})),_.f=tt,T.f=Y,r(79032).f=R.f=et,r(98936).f=Z,A.f=rt,i&&!r(98849)&&u(V,"propertyIsEnumerable",Z,!0),h.f=function(t){return K(d(t))}),s(s.G+s.W+s.F*!W,{Symbol:I});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ot=0;nt.length>ot;)d(nt[ot++]);for(var it=j(d.store),st=0;it.length>st;)y(it[st++]);s(s.S+s.F*!W,"Symbol",{for:function(t){return o(q,t+="")?q[t]:q[t]=I(t)},keyFor:function(t){if(!$(t))throw TypeError(t+" is not a symbol!");for(var e in q)if(q[e]===t)return e},useSetter:function(){J=!0},useSimple:function(){J=!1}}),s(s.S+s.F*!W,"Object",{create:Q,defineProperty:Y,defineProperties:X,getOwnPropertyDescriptor:tt,getOwnPropertyNames:et,getOwnPropertySymbols:rt});var ut=c((function(){A.f(1)}));s(s.S+s.F*ut,"Object",{getOwnPropertySymbols:function(t){return A.f(w(t))}}),M&&s(s.S+s.F*(!W||c((function(){var t=I();return"[null]"!=F([t])||"{}"!=F({a:t})||"{}"!=F(Object(t))}))),"JSON",{stringify:function(t){var e,r,n=[t],o=1;while(arguments.length>o)n.push(arguments[o++]);if(r=e=n[1],(b(e)||void 0!==t)&&!$(t))return m(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!$(e))return e}),n[1]=e,F.apply(M,n)}}),I[D][L]||r(14632)(I[D],L,I[D].valueOf),l(I,"Symbol"),l(Math,"Math",!0),l(n.JSON,"JSON",!0)},29309:function(t,e,r){"use strict";var n=r(46518),o=r(44576),i=r(59225).set,s=r(79472),u=o.setImmediate?s(i,!1):i;n({global:!0,bind:!0,enumerable:!0,forced:o.setImmediate!==u},{setImmediate:u})},29314:function(t,e,r){"use strict";var n=r(46518),o=r(69565),i=r(28551),s=r(1767),u=r(24149),a=r(99590),c=r(19462),f=r(96395),l=c((function(){var t,e,r=this.iterator,n=this.next;while(this.remaining)if(this.remaining--,t=i(o(n,r)),e=this.done=!!t.done,e)return;if(t=i(o(n,r)),e=this.done=!!t.done,!e)return t.value}));n({target:"Iterator",proto:!0,real:!0,forced:f},{drop:function(t){i(this);var e=a(u(+t));return new l(s(this),{remaining:e})}})},29491:function(t,e,r){var n=r(43570),o=r(54947);t.exports=function(t){return function(e,r){var i,s,u=String(o(e)),a=n(r),c=u.length;return a<0||a>=c?t?"":void 0:(i=u.charCodeAt(a),i<55296||i>56319||a+1===c||(s=u.charCodeAt(a+1))<56320||s>57343?t?u.charAt(a):i:t?u.slice(a,a+2):s-56320+(i-55296<<10)+65536)}}},29572:function(t,e,r){"use strict";var n=r(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,r(44114);var o=n(r(75088));function i(t,e,r,n,i){var s="number"===typeof t.len,u="number"===typeof t.min,a="number"===typeof t.max,c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,f=e,l=null,p="number"===typeof e,d="string"===typeof e,h=Array.isArray(e);if(p?l="number":d?l="string":h&&(l="array"),!l)return!1;h&&(f=e.length),d&&(f=e.replace(c,"_").length),s?f!==t.len&&n.push(o.format(i.messages[l].len,t.fullField,t.len)):u&&!a&&ft.max?n.push(o.format(i.messages[l].max,t.fullField,t.max)):u&&a&&(ft.max)&&n.push(o.format(i.messages[l].range,t.fullField,t.min,t.max))}e["default"]=i},30421:function(t){"use strict";t.exports={}},30531:function(t,e,r){"use strict";var n=r(46518),o=r(69565),i=r(79306),s=r(28551),u=r(1767),a=r(48646),c=r(19462),f=r(9539),l=r(96395),p=c((function(){var t,e,r=this.iterator,n=this.mapper;while(1){if(e=this.inner)try{if(t=s(o(e.next,e.iterator)),!t.done)return t.value;this.inner=null}catch(i){f(r,"throw",i)}if(t=s(o(this.next,r)),this.done=!!t.done)return;try{this.inner=a(n(t.value,this.counter++),!1)}catch(i){f(r,"throw",i)}}}));n({target:"Iterator",proto:!0,real:!0,forced:l},{flatMap:function(t){return s(this),i(t),new p(u(this),{mapper:t,inner:null})}})},30674:function(t,e,r){t.exports={default:r(37719),__esModule:!0}},31228:function(t,e){"use strict";function r(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}Object.defineProperty(e,"__esModule",{value:!0}),e.messages=void 0,e.newMessages=r;e.messages=r()},31698:function(t,e,r){"use strict";var n=r(46518),o=r(44204),i=r(84916);n({target:"Set",proto:!0,real:!0,forced:!i("union")},{union:o})},32469:function(t,e,r){r(62613)("asyncIterator")},32475:function(t,e,r){"use strict";var n=r(46518),o=r(28527),i=r(84916),s=!i("isSupersetOf",(function(t){return!t}));n({target:"Set",proto:!0,real:!0,forced:s},{isSupersetOf:o})},32603:function(t,e,r){"use strict";var n=r(655);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},33025:function(t,e,r){r(28957),r(44345),r(32469),r(75529),t.exports=r(6791).Symbol},33392:function(t,e,r){"use strict";var n=r(79504),o=0,i=Math.random(),s=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++o+i,36)}},33706:function(t,e,r){"use strict";var n=r(79504),o=r(94901),i=r(77629),s=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return s(t)}),t.exports=i.inspectSource},33717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},33853:function(t,e,r){"use strict";var n=r(46518),o=r(64449),i=r(84916),s=!i("isDisjointFrom",(function(t){return!t}));n({target:"Set",proto:!0,real:!0,forced:s},{isDisjointFrom:o})},33971:function(t,e,r){var n=r(73934);t.exports=function(t,e,r){if(n(t),void 0===e)return t;switch(r){case 1:return function(r){return t.call(e,r)};case 2:return function(r,n){return t.call(e,r,n)};case 3:return function(r,n,o){return t.call(e,r,n,o)}}return function(){return t.apply(e,arguments)}}},34376:function(t,e,r){"use strict";var n=r(22195);t.exports=Array.isArray||function(t){return"Array"===n(t)}},34527:function(t,e,r){"use strict";var n=r(43724),o=r(34376),i=TypeError,s=Object.getOwnPropertyDescriptor,u=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=u?function(t,e){if(o(t)&&!s(t,"length").writable)throw new i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},35031:function(t,e,r){"use strict";var n=r(97751),o=r(79504),i=r(38480),s=r(33717),u=r(28551),a=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=i.f(u(t)),r=s.f;return r?a(e,r(t)):e}},35370:function(t,e,r){"use strict";var n=r(26198);t.exports=function(t,e,r){var o=0,i=arguments.length>2?r:n(e),s=new t(i);while(i>o)s[o]=e[o++];return s}},35610:function(t,e,r){"use strict";var n=r(91291),o=Math.max,i=Math.min;t.exports=function(t,e){var r=n(t);return r<0?o(r+e,0):i(r,e)}},35917:function(t,e,r){"use strict";var n=r(43724),o=r(79039),i=r(4055);t.exports=!n&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},35945:function(t){t.exports=function(t,e){return{value:e,done:!!t}}},36211:function(t,e,r){var n=r(7421)("keys"),o=r(93108);t.exports=function(t){return n[t]||(n[t]=o(t))}},36840:function(t,e,r){"use strict";var n=r(94901),o=r(24913),i=r(50283),s=r(39433);t.exports=function(t,e,r,u){u||(u={});var a=u.enumerable,c=void 0!==u.name?u.name:e;if(n(r)&&i(r,c,u),u.global)a?t[e]=r:s(e,r);else{try{u.unsafe?t[e]&&(a=!0):delete t[e]}catch(f){}a?t[e]=r:o.f(t,e,{value:r,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return t}},36955:function(t,e,r){"use strict";var n=r(92140),o=r(94901),i=r(22195),s=r(78227),u=s("toStringTag"),a=Object,c="Arguments"===i(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(r){}};t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=f(e=a(t),u))?r:c?i(e):"Object"===(n=i(e))&&o(e.callee)?"Arguments":n}},37106:function(t,e,r){var n=r(69204),o=r(79032).f,i={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],u=function(t){try{return o(t)}catch(e){return s.slice()}};t.exports.f=function(t){return s&&"[object Window]"==i.call(t)?u(t):o(n(t))}},37467:function(t,e,r){"use strict";var n=r(37628),o=r(94644),i=o.aTypedArray,s=o.exportTypedArrayMethod,u=o.getTypedArrayConstructor;s("toReversed",(function(){return n(i(this),u(this))}))},37628:function(t,e,r){"use strict";var n=r(26198);t.exports=function(t,e){for(var r=n(t),o=new e(r),i=0;i0&&n[0]<4?1:+(n[0]+n[1])),!o&&s&&(n=s.match(/Edge\/(\d+)/),(!n||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/),n&&(o=+n[1]))),t.exports=o},39928:function(t,e,r){"use strict";var n=r(26198),o=r(91291),i=RangeError;t.exports=function(t,e,r,s){var u=n(t),a=o(r),c=a<0?u+a:a;if(c>=u||c<0)throw new i("Incorrect index");for(var f=new e(u),l=0;l0?r:e)(t)}},43724:function(t,e,r){"use strict";var n=r(79039);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},44114:function(t,e,r){"use strict";var n=r(46518),o=r(48981),i=r(26198),s=r(34527),u=r(96837),a=r(79039),c=a((function(){return 4294967297!==[].push.call({length:4294967296},1)})),f=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}},l=c||!f();n({target:"Array",proto:!0,arity:1,forced:l},{push:function(t){var e=o(this),r=i(e),n=arguments.length;u(r+n);for(var a=0;a=t.length?(this._t=void 0,o(1)):o(0,"keys"==e?r:"values"==e?t[r]:[r,t[r]])}),"values"),i.Arguments=i.Array,n("keys"),n("values"),n("entries")},45672:function(t,e,r){"use strict";var n=r(91774)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,r(44114);var o=n(r(75088));function i(t,e,r,n,i){(/^\s+$/.test(e)||""===e)&&n.push(o.format(i.messages.whitespace,t.fullField))}e["default"]=i},45876:function(t,e,r){"use strict";var n=r(46518),o=r(53838),i=r(84916),s=!i("isSubsetOf",(function(t){return t}));n({target:"Set",proto:!0,real:!0,forced:s},{isSubsetOf:o})},46518:function(t,e,r){"use strict";var n=r(44576),o=r(77347).f,i=r(66699),s=r(36840),u=r(39433),a=r(77740),c=r(92796);t.exports=function(t,e){var r,f,l,p,d,h,y=t.target,v=t.global,m=t.stat;if(f=v?n:m?n[y]||u(y,{}):n[y]&&n[y].prototype,f)for(l in e){if(d=e[l],t.dontCallGetSet?(h=o(f,l),p=h&&h.value):p=f[l],r=c(v?l:y+(m?".":"#")+l,t.forced),!r&&void 0!==p){if(typeof d==typeof p)continue;a(d,p)}(t.sham||p&&p.sham)&&i(d,"sham",!0),s(f,l,d,t)}}},46706:function(t,e,r){"use strict";var n=r(79504),o=r(79306);t.exports=function(t,e,r){try{return n(o(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(i){}}},47045:function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports["default"]=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports["default"]=t.exports},47055:function(t,e,r){"use strict";var n=r(79504),o=r(79039),i=r(22195),s=Object,u=n("".split);t.exports=o((function(){return!s("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?u(t,""):s(t)}:s},47566:function(t,e,r){"use strict";var n=r(36840),o=r(79504),i=r(655),s=r(22812),u=URLSearchParams,a=u.prototype,c=o(a.getAll),f=o(a.has),l=new u("a=1");!l.has("a",2)&&l.has("a",void 0)||n(a,"has",(function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return f(this,t);var n=c(this,t);s(e,1);var o=i(r),u=0;while(ur.size)&&!1!==i(e,(function(t){if(!r.includes(t))return!1}),!0)}},54947:function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},54972:function(t,e,r){"use strict";var n=r(46518),o=r(69565),i=r(28551),s=r(1767),u=r(24149),a=r(99590),c=r(19462),f=r(9539),l=r(96395),p=c((function(){var t=this.iterator;if(!this.remaining--)return this.done=!0,f(t,"normal",void 0);var e=i(o(this.next,t)),r=this.done=!!e.done;return r?void 0:e.value}));n({target:"Iterator",proto:!0,real:!0,forced:l},{take:function(t){i(this);var e=a(u(+t));return new p(s(this),{remaining:e})}})},55002:function(t){"use strict";t.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},55169:function(t,e,r){"use strict";var n=r(3238),o=TypeError;t.exports=function(t){if(n(t))throw new o("ArrayBuffer is detached");return t}},55966:function(t,e,r){"use strict";var n=r(79306),o=r(64117);t.exports=function(t,e){var r=t[e];return o(r)?void 0:n(r)}},56279:function(t,e,r){"use strict";var n=r(36840);t.exports=function(t,e,r){for(var o in e)n(t,o,e[o],r);return t}},56903:function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},56969:function(t,e,r){"use strict";var n=r(72777),o=r(10757);t.exports=function(t){var e=n(t,"string");return o(e)?e:e+""}},57339:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=t.type,a=[],c=t.required||!t.required&&n.hasOwnProperty(t.field);if(c){if((0,i.isEmptyValue)(e,u)&&!t.required)return r();o.default.required(t,e,n,a,s,u),(0,i.isEmptyValue)(e,u)||o.default.type(t,e,n,a,s)}r(a)}e["default"]=s},57657:function(t,e,r){"use strict";var n,o,i,s=r(79039),u=r(94901),a=r(20034),c=r(2360),f=r(42787),l=r(36840),p=r(78227),d=r(96395),h=p("iterator"),y=!1;[].keys&&(i=[].keys(),"next"in i?(o=f(f(i)),o!==Object.prototype&&(n=o)):y=!0);var v=!a(n)||s((function(){var t={};return n[h].call(t)!==t}));v?n={}:d&&(n=c(n)),u(n[h])||l(n,h,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:y}},57696:function(t,e,r){"use strict";var n=r(91291),o=r(18014),i=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=o(e);if(e!==r)throw new i("Wrong length or index");return r}},58004:function(t,e,r){"use strict";var n=r(46518),o=r(79039),i=r(68750),s=r(84916),u=!s("intersection",(function(t){return 2===t.size&&t.has(1)&&t.has(2)}))||o((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}));n({target:"Set",proto:!0,real:!0,forced:u},{intersection:i})},58489:function(t,e,r){r(79115),t.exports=r(6791).Object.assign},58622:function(t,e,r){"use strict";var n=r(44576),o=r(94901),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},59225:function(t,e,r){"use strict";var n,o,i,s,u=r(44576),a=r(18745),c=r(76080),f=r(94901),l=r(39297),p=r(79039),d=r(20397),h=r(67680),y=r(4055),v=r(22812),m=r(89544),g=r(16193),b=u.setImmediate,w=u.clearImmediate,E=u.process,O=u.Dispatch,x=u.Function,S=u.MessageChannel,R=u.String,_=0,A={},T="onreadystatechange";p((function(){n=u.location}));var j=function(t){if(l(A,t)){var e=A[t];delete A[t],e()}},P=function(t){return function(){j(t)}},N=function(t){j(t.data)},C=function(t){u.postMessage(R(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){v(arguments.length,1);var e=f(t)?t:x(t),r=h(arguments,1);return A[++_]=function(){a(e,void 0,r)},o(_),_},w=function(t){delete A[t]},g?o=function(t){E.nextTick(P(t))}:O&&O.now?o=function(t){O.now(P(t))}:S&&!m?(i=new S,s=i.port2,i.port1.onmessage=N,o=c(s.postMessage,s)):u.addEventListener&&f(u.postMessage)&&!u.importScripts&&n&&"file:"!==n.protocol&&!p(C)?(o=C,u.addEventListener("message",N,!1)):o=T in y("script")?function(t){d.appendChild(y("script"))[T]=function(){d.removeChild(this),j(t)}}:function(t){setTimeout(P(t),0)}),t.exports={set:b,clear:w}},59480:function(t,e,r){var n=r(43066),o=r(69204),i=r(73901)(!1),s=r(36211)("IE_PROTO");t.exports=function(t,e){var r,u=o(t),a=0,c=[];for(r in u)r!=s&&n(u,r)&&c.push(r);while(e.length>a)n(u,r=e[a++])&&(~i(c,r)||c.push(r));return c}},59848:function(t,e,r){"use strict";r(86368),r(29309)},61701:function(t,e,r){"use strict";var n=r(46518),o=r(20713),i=r(96395);n({target:"Iterator",proto:!0,real:!0,forced:i},{map:o})},61789:function(t,e,r){"use strict";var n=r(91774)["default"],o=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,r(44114);var i=o(r(48296)),s=n(r(75088)),u=o(r(51656)),a={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},c={integer:function(t){return c.number(t)&&parseInt(t,10)===t},float:function(t){return c.number(t)&&!c.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(e){return!1}},date:function(t){return"function"===typeof t.getTime&&"function"===typeof t.getMonth&&"function"===typeof t.getYear},number:function(t){return!isNaN(t)&&"number"===typeof t},object:function(t){return"object"===("undefined"===typeof t?"undefined":(0,i.default)(t))&&!c.array(t)},method:function(t){return"function"===typeof t},email:function(t){return"string"===typeof t&&!!t.match(a.email)&&t.length<255},url:function(t){return"string"===typeof t&&!!t.match(a.url)},hex:function(t){return"string"===typeof t&&!!t.match(a.hex)}};function f(t,e,r,n,o){if(t.required&&void 0===e)(0,u.default)(t,e,r,n,o);else{var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],f=t.type;a.indexOf(f)>-1?c[f](e)||n.push(s.format(o.messages.types[f],t.fullField,t.type)):f&&("undefined"===typeof e?"undefined":(0,i.default)(e))!==t.type&&n.push(s.format(o.messages.types[f],t.fullField,t.type))}}e["default"]=f},61806:function(t,e,r){"use strict";var n=r(46518),o=r(28551),i=r(72652),s=r(1767),u=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var t=[];return i(s(o(this)),u,{that:t,IS_RECORD:!0}),t}})},61828:function(t,e,r){"use strict";var n=r(79504),o=r(39297),i=r(25397),s=r(19617).indexOf,u=r(30421),a=n([].push);t.exports=function(t,e){var r,n=i(t),c=0,f=[];for(r in n)!o(u,r)&&o(n,r)&&a(f,r);while(e.length>c)o(n,r=e[c++])&&(~s(f,r)||a(f,r));return f}},62106:function(t,e,r){"use strict";var n=r(50283),o=r(24913);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),o.f(t,e,r)}},62529:function(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},62613:function(t,e,r){var n=r(56903),o=r(6791),i=r(98849),s=r(1275),u=r(21672).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=i?{}:n.Symbol||{});"_"==t.charAt(0)||t in e||u(e,t,{value:s.f(t)})}},63278:function(t,e,r){var n=r(64194);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},64117:function(t){"use strict";t.exports=function(t){return null===t||void 0===t}},64194:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},64233:function(t){t.exports=function(){}},64449:function(t,e,r){"use strict";var n=r(97080),o=r(94402).has,i=r(25170),s=r(83789),u=r(38469),a=r(40507),c=r(9539);t.exports=function(t){var e=n(this),r=s(t);if(i(e)<=r.size)return!1!==u(e,(function(t){if(r.includes(t))return!1}),!0);var f=r.getIterator();return!1!==a(f,(function(t){if(o(e,t))return c(f,"normal",!1)}))}},64796:function(t,e,r){var n=r(59480),o=r(22499);t.exports=Object.keys||function(t){return n(t,o)}},64873:function(t,e,r){var n=r(54947);t.exports=function(t){return Object(n(t))}},64979:function(t,e,r){"use strict";var n=r(46518),o=r(44576),i=r(97751),s=r(6980),u=r(24913).f,a=r(39297),c=r(90679),f=r(23167),l=r(32603),p=r(55002),d=r(38574),h=r(43724),y=r(96395),v="DOMException",m=i("Error"),g=i(v),b=function(){c(this,w);var t=arguments.length,e=l(t<1?void 0:arguments[0]),r=l(t<2?void 0:arguments[1],"Error"),n=new g(e,r),o=new m(e);return o.name=v,u(n,"stack",s(1,d(o.stack,1))),f(n,this,b),n},w=b.prototype=g.prototype,E="stack"in new m(v),O="stack"in new g(1,2),x=g&&h&&Object.getOwnPropertyDescriptor(o,v),S=!!x&&!(x.writable&&x.configurable),R=E&&!S&&!O;n({global:!0,constructor:!0,forced:y||R},{DOMException:R?b:g});var _=i(v),A=_.prototype;if(A.constructor!==_)for(var T in y||u(A,"constructor",s(1,_)),p)if(a(p,T)){var j=p[T],P=j.s;a(_,P)||u(_,P,s(6,j.c))}},66119:function(t,e,r){"use strict";var n=r(25745),o=r(33392),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},66632:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e)&&!t.required)return r();o.default.required(t,e,n,u,s),void 0!==e&&o.default.type(t,e,n,u,s)}r(u)}e["default"]=s},66699:function(t,e,r){"use strict";var n=r(43724),o=r(24913),i=r(6980);t.exports=n?function(t,e,r){return o.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},66870:function(t,e,r){var n=r(43066),o=r(64873),i=r(36211)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),n(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},67394:function(t,e,r){"use strict";var n=r(44576),o=r(46706),i=r(22195),s=n.ArrayBuffer,u=n.TypeError;t.exports=s&&o(s.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==i(t))throw new u("ArrayBuffer expected");return t.byteLength}},67680:function(t,e,r){"use strict";var n=r(79504);t.exports=n([].slice)},67750:function(t,e,r){"use strict";var n=r(64117),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},67780:function(t,e,r){var n=r(90531),o=r(6935),i=r(22499),s=r(36211)("IE_PROTO"),u=function(){},a="prototype",c=function(){var t,e=r(50559)("iframe"),n=i.length,o="<",s=">";e.style.display="none",r(7745).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(o+"script"+s+"document.F=Object"+o+"/script"+s),t.close(),c=t.F;while(n--)delete c[a][i[n]];return c()};t.exports=Object.create||function(t,e){var r;return null!==t?(u[a]=n(t),r=new u,u[a]=null,r[s]=t):r=c(),void 0===e?r:o(r,e)}},68750:function(t,e,r){"use strict";var n=r(97080),o=r(94402),i=r(25170),s=r(83789),u=r(38469),a=r(40507),c=o.Set,f=o.add,l=o.has;t.exports=function(t){var e=n(this),r=s(t),o=new c;return i(e)>r.size?a(r.getIterator(),(function(t){l(e,t)&&f(o,t)})):u(e,(function(t){r.includes(t)&&f(o,t)})),o}},69204:function(t,e,r){var n=r(63278),o=r(54947);t.exports=function(t){return n(o(t))}},69565:function(t,e,r){"use strict";var n=r(40616),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},70018:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e)&&!t.required)return r();o.default.required(t,e,n,u,s),(0,i.isEmptyValue)(e)||o.default.type(t,e,n,u,s)}r(u)}e["default"]=s},70081:function(t,e,r){"use strict";var n=r(69565),o=r(79306),i=r(28551),s=r(16823),u=r(50851),a=TypeError;t.exports=function(t,e){var r=arguments.length<2?u(t):e;if(o(r))return i(n(r,t));throw new a(s(t)+" is not iterable")}},71072:function(t,e,r){"use strict";var n=r(61828),o=r(88727);t.exports=Object.keys||function(t){return n(t,o)}},71382:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e,"string")&&!t.required)return r();o.default.required(t,e,n,u,s,"string"),(0,i.isEmptyValue)(e,"string")||(o.default.type(t,e,n,u,s),o.default.range(t,e,n,u,s),o.default.pattern(t,e,n,u,s),!0===t.whitespace&&o.default.whitespace(t,e,n,u,s))}r(u)}e["default"]=s},72652:function(t,e,r){"use strict";var n=r(76080),o=r(69565),i=r(28551),s=r(16823),u=r(44209),a=r(26198),c=r(1625),f=r(70081),l=r(50851),p=r(9539),d=TypeError,h=function(t,e){this.stopped=t,this.result=e},y=h.prototype;t.exports=function(t,e,r){var v,m,g,b,w,E,O,x=r&&r.that,S=!(!r||!r.AS_ENTRIES),R=!(!r||!r.IS_RECORD),_=!(!r||!r.IS_ITERATOR),A=!(!r||!r.INTERRUPTED),T=n(e,x),j=function(t){return v&&p(v,"normal",t),new h(!0,t)},P=function(t){return S?(i(t),A?T(t[0],t[1],j):T(t[0],t[1])):A?T(t,j):T(t)};if(R)v=t.iterator;else if(_)v=t;else{if(m=l(t),!m)throw new d(s(t)+" is not iterable");if(u(m)){for(g=0,b=a(t);b>g;g++)if(w=P(t[g]),w&&c(y,w))return w;return new h(!1)}v=f(t,m)}E=R?t.next:v.next;while(!(O=o(E,v)).done){try{w=P(O.value)}catch(N){p(v,"throw",N)}if("object"==typeof w&&w&&c(y,w))return w}return new h(!1)}},72777:function(t,e,r){"use strict";var n=r(69565),o=r(20034),i=r(10757),s=r(55966),u=r(84270),a=r(78227),c=TypeError,f=a("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var r,a=s(t,f);if(a){if(void 0===e&&(e="default"),r=n(a,t,e),!o(r)||i(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),u(t,e)}},73506:function(t,e,r){"use strict";var n=r(13925),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},73901:function(t,e,r){var n=r(69204),o=r(9250),i=r(8830);t.exports=function(t){return function(e,r,s){var u,a=n(e),c=o(a.length),f=i(s,c);if(t&&r!=r){while(c>f)if(u=a[f++],u!=u)return!0}else for(;c>f;f++)if((t||f in a)&&a[f]===r)return t||f||0;return!t&&-1}}},73934:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},74948:function(t,e,r){t.exports={default:r(58489),__esModule:!0}},75088:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.asyncMap=h,e.complementError=y,e.deepMerge=v,e.format=u,e.isEmptyObject=f,e.isEmptyValue=c,e.warning=void 0,r(44114),r(18111),r(81148),r(7588);var o=n(r(95780)),i=n(r(48296)),s=/%[sdj%]/g;e.warning=function(){};function u(){for(var t=arguments.length,e=Array(t),r=0;r=i)return t;switch(t){case"%s":return String(e[n++]);case"%d":return Number(e[n++]);case"%j":try{return JSON.stringify(e[n++])}catch(r){return"[Circular]"}break;default:return t}})),a=e[n];nc)a.call(t,s=u[c++])&&e.push(s)}return e}},76818:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e,"array")&&!t.required)return r();o.default.required(t,e,n,u,s,"array"),(0,i.isEmptyValue)(e,"array")||(o.default.type(t,e,n,u,s),o.default.range(t,e,n,u,s))}r(u)}e["default"]=s},77347:function(t,e,r){"use strict";var n=r(43724),o=r(69565),i=r(48773),s=r(6980),u=r(25397),a=r(56969),c=r(39297),f=r(35917),l=Object.getOwnPropertyDescriptor;e.f=n?l:function(t,e){if(t=u(t),e=a(e),f)try{return l(t,e)}catch(r){}if(c(t,e))return s(!o(i.f,t,e),t[e])}},77629:function(t,e,r){"use strict";var n=r(96395),o=r(44576),i=r(39433),s="__core-js_shared__",u=t.exports=o[s]||i(s,{});(u.versions||(u.versions=[])).push({version:"3.40.0",mode:n?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.40.0/LICENSE",source:"https://github.com/zloirock/core-js"})},77740:function(t,e,r){"use strict";var n=r(39297),o=r(35031),i=r(77347),s=r(24913);t.exports=function(t,e,r){for(var u=o(e),a=s.f,c=i.f,f=0;f=e.length?{value:void 0,done:!0}:(t=n(e,r),this._i+=t.length,{value:t,done:!1})}))},79032:function(t,e,r){var n=r(59480),o=r(22499).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},79039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},79115:function(t,e,r){var n=r(19786);n(n.S+n.F,"Object",{assign:r(99369)})},79306:function(t,e,r){"use strict";var n=r(94901),o=r(16823),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},79472:function(t,e,r){"use strict";var n=r(44576),o=r(18745),i=r(94901),s=r(84215),u=r(82839),a=r(67680),c=r(22812),f=n.Function,l=/MSIE .\./.test(u)||"BUN"===s&&function(){var t=n.Bun.version.split(".");return t.length<3||"0"===t[0]&&(t[1]<3||"3"===t[1]&&"0"===t[2])}();t.exports=function(t,e){var r=e?2:1;return l?function(n,s){var u=c(arguments.length,1)>r,l=i(n)?n:f(n),p=u?a(arguments,r):[],d=u?function(){o(l,this,p)}:l;return e?t(d,s):t(d)}:t}},79504:function(t,e,r){"use strict";var n=r(40616),o=Function.prototype,i=o.call,s=n&&o.bind.bind(i,i);t.exports=n?s:function(t){return function(){return i.apply(t,arguments)}}},79577:function(t,e,r){"use strict";var n=r(39928),o=r(94644),i=r(18727),s=r(91291),u=r(75854),a=o.aTypedArray,c=o.getTypedArrayConstructor,f=o.exportTypedArrayMethod,l=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}();f("with",{with:function(t,e){var r=a(this),o=s(t),f=i(r)?u(e):+e;return n(r,c(r),o,f)}}["with"],!l)},80741:function(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},81148:function(t,e,r){"use strict";var n=r(46518),o=r(72652),i=r(79306),s=r(28551),u=r(1767);n({target:"Iterator",proto:!0,real:!0},{every:function(t){s(this),i(t);var e=u(this),r=0;return!o(e,(function(e,n){if(!t(e,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},81199:function(t,e,r){"use strict";var n=r(67780),o=r(15495),i=r(1123),s={};r(14632)(s,r(15413)("iterator"),(function(){return this})),t.exports=function(t,e,r){t.prototype=n(s,{next:o(1,r)}),i(t,e+" Iterator")}},82451:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},82839:function(t,e,r){"use strict";var n=r(44576),o=n.navigator,i=o&&o.userAgent;t.exports=i?String(i):""},83070:function(t,e,r){t.exports=r(14632)},83281:function(t,e,r){var n=r(93108)("meta"),o=r(90326),i=r(43066),s=r(21672).f,u=0,a=Object.isExtensible||function(){return!0},c=!r(82451)((function(){return a(Object.preventExtensions({}))})),f=function(t){s(t,n,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,n)){if(!a(t))return"F";if(!e)return"E";f(t)}return t[n].i},p=function(t,e){if(!i(t,n)){if(!a(t))return!0;if(!e)return!1;f(t)}return t[n].w},d=function(t){return c&&h.NEED&&a(t)&&!i(t,n)&&f(t),t},h=t.exports={KEY:n,NEED:!1,fastKey:l,getWeak:p,onFreeze:d}},83440:function(t,e,r){"use strict";var n=r(97080),o=r(94402),i=r(89286),s=r(25170),u=r(83789),a=r(38469),c=r(40507),f=o.has,l=o.remove;t.exports=function(t){var e=n(this),r=u(t),o=i(e);return s(e)<=r.size?a(e,(function(t){r.includes(t)&&l(o,t)})):c(r.getIterator(),(function(t){f(e,t)&&l(o,t)})),o}},83650:function(t,e,r){"use strict";var n=r(97080),o=r(94402),i=r(89286),s=r(83789),u=r(40507),a=o.add,c=o.has,f=o.remove;t.exports=function(t){var e=n(this),r=s(t).getIterator(),o=i(e);return u(r,(function(t){c(e,t)?f(o,t):a(o,t)})),o}},83789:function(t,e,r){"use strict";var n=r(79306),o=r(28551),i=r(69565),s=r(91291),u=r(1767),a="Invalid size",c=RangeError,f=TypeError,l=Math.max,p=function(t,e){this.set=t,this.size=l(e,0),this.has=n(t.has),this.keys=n(t.keys)};p.prototype={getIterator:function(){return u(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var e=+t.size;if(e!==e)throw new f(a);var r=s(e);if(r<0)throw new c(a);return new p(t,r)}},84215:function(t,e,r){"use strict";var n=r(44576),o=r(82839),i=r(22195),s=function(t){return o.slice(0,t.length)===t};t.exports=function(){return s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===i(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"}()},84270:function(t,e,r){"use strict";var n=r(69565),o=r(94901),i=r(20034),s=TypeError;t.exports=function(t,e){var r,u;if("string"===e&&o(r=t.toString)&&!i(u=n(r,t)))return u;if(o(r=t.valueOf)&&!i(u=n(r,t)))return u;if("string"!==e&&o(r=t.toString)&&!i(u=n(r,t)))return u;throw new s("Can't convert object to primitive value")}},84916:function(t,e,r){"use strict";var n=r(97751),o=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},i=function(t){return{size:t,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(t,e){var r=n("Set");try{(new r)[t](o(0));try{return(new r)[t](o(-1)),!1}catch(u){if(!e)return!0;try{return(new r)[t](i(-1/0)),!1}catch(a){var s=new r;return s.add(1),s.add(2),e(s[t](i(1/0)))}}}catch(a){return!1}}},86368:function(t,e,r){"use strict";var n=r(46518),o=r(44576),i=r(59225).clear;n({global:!0,bind:!0,enumerable:!0,forced:o.clearImmediate!==i},{clearImmediate:i})},86425:function(t,e,r){"use strict"; +/*! Axios v1.8.4 Copyright (c) 2025 Matt Zabriskie and contributors */function n(t,e){return function(){return t.apply(e,arguments)}}const{toString:o}=Object.prototype,{getPrototypeOf:i}=Object,s=(t=>e=>{const r=o.call(e);return t[r]||(t[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),u=t=>(t=t.toLowerCase(),e=>s(e)===t),a=t=>e=>typeof e===t,{isArray:c}=Array,f=a("undefined");function l(t){return null!==t&&!f(t)&&null!==t.constructor&&!f(t.constructor)&&y(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const p=u("ArrayBuffer");function d(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&p(t.buffer),e}const h=a("string"),y=a("function"),v=a("number"),m=t=>null!==t&&"object"===typeof t,g=t=>!0===t||!1===t,b=t=>{if("object"!==s(t))return!1;const e=i(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},w=u("Date"),E=u("File"),O=u("Blob"),x=u("FileList"),S=t=>m(t)&&y(t.pipe),R=t=>{let e;return t&&("function"===typeof FormData&&t instanceof FormData||y(t.append)&&("formdata"===(e=s(t))||"object"===e&&y(t.toString)&&"[object FormData]"===t.toString()))},_=u("URLSearchParams"),[A,T,j,P]=["ReadableStream","Request","Response","Headers"].map(u),N=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function C(t,e,{allOwnKeys:r=!1}={}){if(null===t||"undefined"===typeof t)return;let n,o;if("object"!==typeof t&&(t=[t]),c(t))for(n=0,o=t.length;n0)if(n=r[o],e===n.toLowerCase())return n;return null}const M=(()=>"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:r.g)(),F=t=>!f(t)&&t!==M;function D(){const{caseless:t}=F(this)&&this||{},e={},r=(r,n)=>{const o=t&&I(e,n)||n;b(e[o])&&b(r)?e[o]=D(e[o],r):b(r)?e[o]=D({},r):c(r)?e[o]=r.slice():e[o]=r};for(let n=0,o=arguments.length;n(C(e,((e,o)=>{r&&y(e)?t[o]=n(e,r):t[o]=e}),{allOwnKeys:o}),t),L=t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),U=(t,e,r,n)=>{t.prototype=Object.create(e.prototype,n),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),r&&Object.assign(t.prototype,r)},q=(t,e,r,n)=>{let o,s,u;const a={};if(e=e||{},null==t)return e;do{o=Object.getOwnPropertyNames(t),s=o.length;while(s-- >0)u=o[s],n&&!n(u,t,e)||a[u]||(e[u]=t[u],a[u]=!0);t=!1!==r&&i(t)}while(t&&(!r||r(t,e))&&t!==Object.prototype);return e},B=(t,e,r)=>{t=String(t),(void 0===r||r>t.length)&&(r=t.length),r-=e.length;const n=t.indexOf(e,r);return-1!==n&&n===r},z=t=>{if(!t)return null;if(c(t))return t;let e=t.length;if(!v(e))return null;const r=new Array(e);while(e-- >0)r[e]=t[e];return r},V=(t=>e=>t&&e instanceof t)("undefined"!==typeof Uint8Array&&i(Uint8Array)),W=(t,e)=>{const r=t&&t[Symbol.iterator],n=r.call(t);let o;while((o=n.next())&&!o.done){const r=o.value;e.call(t,r[0],r[1])}},H=(t,e)=>{let r;const n=[];while(null!==(r=t.exec(e)))n.push(r);return n},J=u("HTMLFormElement"),G=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,r){return e.toUpperCase()+r})),K=(({hasOwnProperty:t})=>(e,r)=>t.call(e,r))(Object.prototype),$=u("RegExp"),Y=(t,e)=>{const r=Object.getOwnPropertyDescriptors(t),n={};C(r,((r,o)=>{let i;!1!==(i=e(r,o,t))&&(n[o]=i||r)})),Object.defineProperties(t,n)},X=t=>{Y(t,((e,r)=>{if(y(t)&&-1!==["arguments","caller","callee"].indexOf(r))return!1;const n=t[r];y(n)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))}))},Q=(t,e)=>{const r={},n=t=>{t.forEach((t=>{r[t]=!0}))};return c(t)?n(t):n(String(t).split(e)),r},Z=()=>{},tt=(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e;function et(t){return!!(t&&y(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])}const rt=t=>{const e=new Array(10),r=(t,n)=>{if(m(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[n]=t;const o=c(t)?[]:{};return C(t,((t,e)=>{const i=r(t,n+1);!f(i)&&(o[e]=i)})),e[n]=void 0,o}}return t};return r(t,0)},nt=u("AsyncFunction"),ot=t=>t&&(m(t)||y(t))&&y(t.then)&&y(t.catch),it=((t,e)=>t?setImmediate:e?((t,e)=>(M.addEventListener("message",(({source:r,data:n})=>{r===M&&n===t&&e.length&&e.shift()()}),!1),r=>{e.push(r),M.postMessage(t,"*")}))(`axios@${Math.random()}`,[]):t=>setTimeout(t))("function"===typeof setImmediate,y(M.postMessage)),st="undefined"!==typeof queueMicrotask?queueMicrotask.bind(M):"undefined"!==typeof process&&process.nextTick||it;var ut={isArray:c,isArrayBuffer:p,isBuffer:l,isFormData:R,isArrayBufferView:d,isString:h,isNumber:v,isBoolean:g,isObject:m,isPlainObject:b,isReadableStream:A,isRequest:T,isResponse:j,isHeaders:P,isUndefined:f,isDate:w,isFile:E,isBlob:O,isRegExp:$,isFunction:y,isStream:S,isURLSearchParams:_,isTypedArray:V,isFileList:x,forEach:C,merge:D,extend:k,trim:N,stripBOM:L,inherits:U,toFlatObject:q,kindOf:s,kindOfTest:u,endsWith:B,toArray:z,forEachEntry:W,matchAll:H,isHTMLForm:J,hasOwnProperty:K,hasOwnProp:K,reduceDescriptors:Y,freezeMethods:X,toObjectSet:Q,toCamelCase:G,noop:Z,toFiniteNumber:tt,findKey:I,global:M,isContextDefined:F,isSpecCompliantForm:et,toJSONObject:rt,isAsyncFn:nt,isThenable:ot,setImmediate:it,asap:st};function at(t,e,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status?o.status:null)}ut.inherits(at,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ut.toJSONObject(this.config),code:this.code,status:this.status}}});const ct=at.prototype,ft={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{ft[t]={value:t}})),Object.defineProperties(at,ft),Object.defineProperty(ct,"isAxiosError",{value:!0}),at.from=(t,e,r,n,o,i)=>{const s=Object.create(ct);return ut.toFlatObject(t,s,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),at.call(s,t.message,e,r,n,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};var lt=null;function pt(t){return ut.isPlainObject(t)||ut.isArray(t)}function dt(t){return ut.endsWith(t,"[]")?t.slice(0,-2):t}function ht(t,e,r){return t?t.concat(e).map((function(t,e){return t=dt(t),!r&&e?"["+t+"]":t})).join(r?".":""):e}function yt(t){return ut.isArray(t)&&!t.some(pt)}const vt=ut.toFlatObject(ut,{},null,(function(t){return/^is[A-Z]/.test(t)}));function mt(t,e,r){if(!ut.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,r=ut.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!ut.isUndefined(e[t])}));const n=r.metaTokens,o=r.visitor||f,i=r.dots,s=r.indexes,u=r.Blob||"undefined"!==typeof Blob&&Blob,a=u&&ut.isSpecCompliantForm(e);if(!ut.isFunction(o))throw new TypeError("visitor must be a function");function c(t){if(null===t)return"";if(ut.isDate(t))return t.toISOString();if(!a&&ut.isBlob(t))throw new at("Blob is not supported. Use a Buffer instead.");return ut.isArrayBuffer(t)||ut.isTypedArray(t)?a&&"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function f(t,r,o){let u=t;if(t&&!o&&"object"===typeof t)if(ut.endsWith(r,"{}"))r=n?r:r.slice(0,-2),t=JSON.stringify(t);else if(ut.isArray(t)&&yt(t)||(ut.isFileList(t)||ut.endsWith(r,"[]"))&&(u=ut.toArray(t)))return r=dt(r),u.forEach((function(t,n){!ut.isUndefined(t)&&null!==t&&e.append(!0===s?ht([r],n,i):null===s?r:r+"[]",c(t))})),!1;return!!pt(t)||(e.append(ht(o,r,i),c(t)),!1)}const l=[],p=Object.assign(vt,{defaultVisitor:f,convertValue:c,isVisitable:pt});function d(t,r){if(!ut.isUndefined(t)){if(-1!==l.indexOf(t))throw Error("Circular reference detected in "+r.join("."));l.push(t),ut.forEach(t,(function(t,n){const i=!(ut.isUndefined(t)||null===t)&&o.call(e,t,ut.isString(n)?n.trim():n,r,p);!0===i&&d(t,r?r.concat(n):[n])})),l.pop()}}if(!ut.isObject(t))throw new TypeError("data must be an object");return d(t),e}function gt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function bt(t,e){this._pairs=[],t&&mt(t,this,e)}const wt=bt.prototype;function Et(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ot(t,e,r){if(!e)return t;const n=r&&r.encode||Et;ut.isFunction(r)&&(r={serialize:r});const o=r&&r.serialize;let i;if(i=o?o(e,r):ut.isURLSearchParams(e)?e.toString():new bt(e,r).toString(n),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}wt.append=function(t,e){this._pairs.push([t,e])},wt.toString=function(t){const e=t?function(e){return t.call(this,e,gt)}:gt;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};class xt{constructor(){this.handlers=[]}use(t,e,r){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){ut.forEach(this.handlers,(function(e){null!==e&&t(e)}))}}var St=xt,Rt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},_t="undefined"!==typeof URLSearchParams?URLSearchParams:bt,At="undefined"!==typeof FormData?FormData:null,Tt="undefined"!==typeof Blob?Blob:null,jt={isBrowser:!0,classes:{URLSearchParams:_t,FormData:At,Blob:Tt},protocols:["http","https","file","blob","url","data"]};const Pt="undefined"!==typeof window&&"undefined"!==typeof document,Nt="object"===typeof navigator&&navigator||void 0,Ct=Pt&&(!Nt||["ReactNative","NativeScript","NS"].indexOf(Nt.product)<0),It=(()=>"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts)(),Mt=Pt&&window.location.href||"http://localhost";var Ft=Object.freeze({__proto__:null,hasBrowserEnv:Pt,hasStandardBrowserWebWorkerEnv:It,hasStandardBrowserEnv:Ct,navigator:Nt,origin:Mt}),Dt={...Ft,...jt};function kt(t,e){return mt(t,new Dt.classes.URLSearchParams,Object.assign({visitor:function(t,e,r,n){return Dt.isNode&&ut.isBuffer(t)?(this.append(e,t.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},e))}function Lt(t){return ut.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}function Ut(t){const e={},r=Object.keys(t);let n;const o=r.length;let i;for(n=0;n=t.length;if(i=!i&&ut.isArray(n)?n.length:i,u)return ut.hasOwnProp(n,i)?n[i]=[n[i],r]:n[i]=r,!s;n[i]&&ut.isObject(n[i])||(n[i]=[]);const a=e(t,r,n[i],o);return a&&ut.isArray(n[i])&&(n[i]=Ut(n[i])),!s}if(ut.isFormData(t)&&ut.isFunction(t.entries)){const r={};return ut.forEachEntry(t,((t,n)=>{e(Lt(t),n,r,0)})),r}return null}function Bt(t,e,r){if(ut.isString(t))try{return(e||JSON.parse)(t),ut.trim(t)}catch(n){if("SyntaxError"!==n.name)throw n}return(r||JSON.stringify)(t)}const zt={transitional:Rt,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const r=e.getContentType()||"",n=r.indexOf("application/json")>-1,o=ut.isObject(t);o&&ut.isHTMLForm(t)&&(t=new FormData(t));const i=ut.isFormData(t);if(i)return n?JSON.stringify(qt(t)):t;if(ut.isArrayBuffer(t)||ut.isBuffer(t)||ut.isStream(t)||ut.isFile(t)||ut.isBlob(t)||ut.isReadableStream(t))return t;if(ut.isArrayBufferView(t))return t.buffer;if(ut.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return kt(t,this.formSerializer).toString();if((s=ut.isFileList(t))||r.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return mt(s?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||n?(e.setContentType("application/json",!1),Bt(t)):t}],transformResponse:[function(t){const e=this.transitional||zt.transitional,r=e&&e.forcedJSONParsing,n="json"===this.responseType;if(ut.isResponse(t)||ut.isReadableStream(t))return t;if(t&&ut.isString(t)&&(r&&!this.responseType||n)){const r=e&&e.silentJSONParsing,i=!r&&n;try{return JSON.parse(t)}catch(o){if(i){if("SyntaxError"===o.name)throw at.from(o,at.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Dt.classes.FormData,Blob:Dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ut.forEach(["delete","get","head","post","put","patch"],(t=>{zt.headers[t]={}}));var Vt=zt;const Wt=ut.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Ht=t=>{const e={};let r,n,o;return t&&t.split("\n").forEach((function(t){o=t.indexOf(":"),r=t.substring(0,o).trim().toLowerCase(),n=t.substring(o+1).trim(),!r||e[r]&&Wt[r]||("set-cookie"===r?e[r]?e[r].push(n):e[r]=[n]:e[r]=e[r]?e[r]+", "+n:n)})),e};const Jt=Symbol("internals");function Gt(t){return t&&String(t).trim().toLowerCase()}function Kt(t){return!1===t||null==t?t:ut.isArray(t)?t.map(Kt):String(t)}function $t(t){const e=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;while(n=r.exec(t))e[n[1]]=n[2];return e}const Yt=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Xt(t,e,r,n,o){return ut.isFunction(n)?n.call(this,e,r):(o&&(e=r),ut.isString(e)?ut.isString(n)?-1!==e.indexOf(n):ut.isRegExp(n)?n.test(e):void 0:void 0)}function Qt(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,r)=>e.toUpperCase()+r))}function Zt(t,e){const r=ut.toCamelCase(" "+e);["get","set","has"].forEach((n=>{Object.defineProperty(t,n+r,{value:function(t,r,o){return this[n].call(this,e,t,r,o)},configurable:!0})}))}class te{constructor(t){t&&this.set(t)}set(t,e,r){const n=this;function o(t,e,r){const o=Gt(e);if(!o)throw new Error("header name must be a non-empty string");const i=ut.findKey(n,o);(!i||void 0===n[i]||!0===r||void 0===r&&!1!==n[i])&&(n[i||e]=Kt(t))}const i=(t,e)=>ut.forEach(t,((t,r)=>o(t,r,e)));if(ut.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(ut.isString(t)&&(t=t.trim())&&!Yt(t))i(Ht(t),e);else if(ut.isHeaders(t))for(const[s,u]of t.entries())o(u,s,r);else null!=t&&o(e,t,r);return this}get(t,e){if(t=Gt(t),t){const r=ut.findKey(this,t);if(r){const t=this[r];if(!e)return t;if(!0===e)return $t(t);if(ut.isFunction(e))return e.call(this,t,r);if(ut.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=Gt(t),t){const r=ut.findKey(this,t);return!(!r||void 0===this[r]||e&&!Xt(this,this[r],r,e))}return!1}delete(t,e){const r=this;let n=!1;function o(t){if(t=Gt(t),t){const o=ut.findKey(r,t);!o||e&&!Xt(r,r[o],o,e)||(delete r[o],n=!0)}}return ut.isArray(t)?t.forEach(o):o(t),n}clear(t){const e=Object.keys(this);let r=e.length,n=!1;while(r--){const o=e[r];t&&!Xt(this,this[o],o,t,!0)||(delete this[o],n=!0)}return n}normalize(t){const e=this,r={};return ut.forEach(this,((n,o)=>{const i=ut.findKey(r,o);if(i)return e[i]=Kt(n),void delete e[o];const s=t?Qt(o):String(o).trim();s!==o&&delete e[o],e[s]=Kt(n),r[s]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return ut.forEach(this,((r,n)=>{null!=r&&!1!==r&&(e[n]=t&&ut.isArray(r)?r.join(", "):r)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const r=new this(t);return e.forEach((t=>r.set(t))),r}static accessor(t){const e=this[Jt]=this[Jt]={accessors:{}},r=e.accessors,n=this.prototype;function o(t){const e=Gt(t);r[e]||(Zt(n,t),r[e]=!0)}return ut.isArray(t)?t.forEach(o):o(t),this}}te.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ut.reduceDescriptors(te.prototype,(({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[r]=t}}})),ut.freezeMethods(te);var ee=te;function re(t,e){const r=this||Vt,n=e||r,o=ee.from(n.headers);let i=n.data;return ut.forEach(t,(function(t){i=t.call(r,i,o.normalize(),e?e.status:void 0)})),o.normalize(),i}function ne(t){return!(!t||!t.__CANCEL__)}function oe(t,e,r){at.call(this,null==t?"canceled":t,at.ERR_CANCELED,e,r),this.name="CanceledError"}function ie(t,e,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?e(new at("Request failed with status code "+r.status,[at.ERR_BAD_REQUEST,at.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):t(r)}function se(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ue(t,e){t=t||10;const r=new Array(t),n=new Array(t);let o,i=0,s=0;return e=void 0!==e?e:1e3,function(u){const a=Date.now(),c=n[s];o||(o=a),r[i]=u,n[i]=a;let f=s,l=0;while(f!==i)l+=r[f++],f%=t;if(i=(i+1)%t,i===s&&(s=(s+1)%t),a-o{o=i,r=null,n&&(clearTimeout(n),n=null),t.apply(null,e)},u=(...t)=>{const e=Date.now(),u=e-o;u>=i?s(t,e):(r=t,n||(n=setTimeout((()=>{n=null,s(r)}),i-u)))},a=()=>r&&s(r);return[u,a]}ut.inherits(oe,at,{__CANCEL__:!0});const ce=(t,e,r=3)=>{let n=0;const o=ue(50,250);return ae((r=>{const i=r.loaded,s=r.lengthComputable?r.total:void 0,u=i-n,a=o(u),c=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:u,rate:a||void 0,estimated:a&&s&&c?(s-i)/a:void 0,event:r,lengthComputable:null!=s,[e?"download":"upload"]:!0};t(f)}),r)},fe=(t,e)=>{const r=null!=t;return[n=>e[0]({lengthComputable:r,total:t,loaded:n}),e[1]]},le=t=>(...e)=>ut.asap((()=>t(...e)));var pe=Dt.hasStandardBrowserEnv?((t,e)=>r=>(r=new URL(r,Dt.origin),t.protocol===r.protocol&&t.host===r.host&&(e||t.port===r.port)))(new URL(Dt.origin),Dt.navigator&&/(msie|trident)/i.test(Dt.navigator.userAgent)):()=>!0,de=Dt.hasStandardBrowserEnv?{write(t,e,r,n,o,i){const s=[t+"="+encodeURIComponent(e)];ut.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),ut.isString(n)&&s.push("path="+n),ut.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function he(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function ye(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function ve(t,e,r){let n=!he(e);return t&&(n||0==r)?ye(t,e):e}const me=t=>t instanceof ee?{...t}:t;function ge(t,e){e=e||{};const r={};function n(t,e,r,n){return ut.isPlainObject(t)&&ut.isPlainObject(e)?ut.merge.call({caseless:n},t,e):ut.isPlainObject(e)?ut.merge({},e):ut.isArray(e)?e.slice():e}function o(t,e,r,o){return ut.isUndefined(e)?ut.isUndefined(t)?void 0:n(void 0,t,r,o):n(t,e,r,o)}function i(t,e){if(!ut.isUndefined(e))return n(void 0,e)}function s(t,e){return ut.isUndefined(e)?ut.isUndefined(t)?void 0:n(void 0,t):n(void 0,e)}function u(r,o,i){return i in e?n(r,o):i in t?n(void 0,r):void 0}const a={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u,headers:(t,e,r)=>o(me(t),me(e),r,!0)};return ut.forEach(Object.keys(Object.assign({},t,e)),(function(n){const i=a[n]||o,s=i(t[n],e[n],n);ut.isUndefined(s)&&i!==u||(r[n]=s)})),r}var be=t=>{const e=ge({},t);let r,{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:u,auth:a}=e;if(e.headers=u=ee.from(u),e.url=Ot(ve(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),a&&u.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):""))),ut.isFormData(n))if(Dt.hasStandardBrowserEnv||Dt.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if(!1!==(r=u.getContentType())){const[t,...e]=r?r.split(";").map((t=>t.trim())).filter(Boolean):[];u.setContentType([t||"multipart/form-data",...e].join("; "))}if(Dt.hasStandardBrowserEnv&&(o&&ut.isFunction(o)&&(o=o(e)),o||!1!==o&&pe(e.url))){const t=i&&s&&de.read(s);t&&u.set(i,t)}return e};const we="undefined"!==typeof XMLHttpRequest;var Ee=we&&function(t){return new Promise((function(e,r){const n=be(t);let o=n.data;const i=ee.from(n.headers).normalize();let s,u,a,c,f,{responseType:l,onUploadProgress:p,onDownloadProgress:d}=n;function h(){c&&c(),f&&f(),n.cancelToken&&n.cancelToken.unsubscribe(s),n.signal&&n.signal.removeEventListener("abort",s)}let y=new XMLHttpRequest;function v(){if(!y)return;const n=ee.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),o=l&&"text"!==l&&"json"!==l?y.response:y.responseText,i={data:o,status:y.status,statusText:y.statusText,headers:n,config:t,request:y};ie((function(t){e(t),h()}),(function(t){r(t),h()}),i),y=null}y.open(n.method.toUpperCase(),n.url,!0),y.timeout=n.timeout,"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){y&&4===y.readyState&&(0!==y.status||y.responseURL&&0===y.responseURL.indexOf("file:"))&&setTimeout(v)},y.onabort=function(){y&&(r(new at("Request aborted",at.ECONNABORTED,t,y)),y=null)},y.onerror=function(){r(new at("Network Error",at.ERR_NETWORK,t,y)),y=null},y.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const o=n.transitional||Rt;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new at(e,o.clarifyTimeoutError?at.ETIMEDOUT:at.ECONNABORTED,t,y)),y=null},void 0===o&&i.setContentType(null),"setRequestHeader"in y&&ut.forEach(i.toJSON(),(function(t,e){y.setRequestHeader(e,t)})),ut.isUndefined(n.withCredentials)||(y.withCredentials=!!n.withCredentials),l&&"json"!==l&&(y.responseType=n.responseType),d&&([a,f]=ce(d,!0),y.addEventListener("progress",a)),p&&y.upload&&([u,c]=ce(p),y.upload.addEventListener("progress",u),y.upload.addEventListener("loadend",c)),(n.cancelToken||n.signal)&&(s=e=>{y&&(r(!e||e.type?new oe(null,t,y):e),y.abort(),y=null)},n.cancelToken&&n.cancelToken.subscribe(s),n.signal&&(n.signal.aborted?s():n.signal.addEventListener("abort",s)));const m=se(n.url);m&&-1===Dt.protocols.indexOf(m)?r(new at("Unsupported protocol "+m+":",at.ERR_BAD_REQUEST,t)):y.send(o||null)}))};const Oe=(t,e)=>{const{length:r}=t=t?t.filter(Boolean):[];if(e||r){let r,n=new AbortController;const o=function(t){if(!r){r=!0,s();const e=t instanceof Error?t:this.reason;n.abort(e instanceof at?e:new oe(e instanceof Error?e.message:e))}};let i=e&&setTimeout((()=>{i=null,o(new at(`timeout ${e} of ms exceeded`,at.ETIMEDOUT))}),e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach((t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)})),t=null)};t.forEach((t=>t.addEventListener("abort",o)));const{signal:u}=n;return u.unsubscribe=()=>ut.asap(s),u}};var xe=Oe;const Se=function*(t,e){let r=t.byteLength;if(!e||r{const o=Re(t,e);let i,s=0,u=t=>{i||(i=!0,n&&n(t))};return new ReadableStream({async pull(t){try{const{done:e,value:n}=await o.next();if(e)return u(),void t.close();let i=n.byteLength;if(r){let t=s+=i;r(t)}t.enqueue(new Uint8Array(n))}catch(e){throw u(e),e}},cancel(t){return u(t),o.return()}},{highWaterMark:2})},Te="function"===typeof fetch&&"function"===typeof Request&&"function"===typeof Response,je=Te&&"function"===typeof ReadableStream,Pe=Te&&("function"===typeof TextEncoder?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Ne=(t,...e)=>{try{return!!t(...e)}catch(r){return!1}},Ce=je&&Ne((()=>{let t=!1;const e=new Request(Dt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e})),Ie=65536,Me=je&&Ne((()=>ut.isReadableStream(new Response("").body))),Fe={stream:Me&&(t=>t.body)};Te&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!Fe[e]&&(Fe[e]=ut.isFunction(t[e])?t=>t[e]():(t,r)=>{throw new at(`Response type '${e}' is not supported`,at.ERR_NOT_SUPPORT,r)})}))})(new Response);const De=async t=>{if(null==t)return 0;if(ut.isBlob(t))return t.size;if(ut.isSpecCompliantForm(t)){const e=new Request(Dt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return ut.isArrayBufferView(t)||ut.isArrayBuffer(t)?t.byteLength:(ut.isURLSearchParams(t)&&(t+=""),ut.isString(t)?(await Pe(t)).byteLength:void 0)},ke=async(t,e)=>{const r=ut.toFiniteNumber(t.getContentLength());return null==r?De(e):r};var Le=Te&&(async t=>{let{url:e,method:r,data:n,signal:o,cancelToken:i,timeout:s,onDownloadProgress:u,onUploadProgress:a,responseType:c,headers:f,withCredentials:l="same-origin",fetchOptions:p}=be(t);c=c?(c+"").toLowerCase():"text";let d,h=xe([o,i&&i.toAbortSignal()],s);const y=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let v;try{if(a&&Ce&&"get"!==r&&"head"!==r&&0!==(v=await ke(f,n))){let t,r=new Request(e,{method:"POST",body:n,duplex:"half"});if(ut.isFormData(n)&&(t=r.headers.get("content-type"))&&f.setContentType(t),r.body){const[t,e]=fe(v,ce(le(a)));n=Ae(r.body,Ie,t,e)}}ut.isString(l)||(l=l?"include":"omit");const o="credentials"in Request.prototype;d=new Request(e,{...p,signal:h,method:r.toUpperCase(),headers:f.normalize().toJSON(),body:n,duplex:"half",credentials:o?l:void 0});let i=await fetch(d);const s=Me&&("stream"===c||"response"===c);if(Me&&(u||s&&y)){const t={};["status","statusText","headers"].forEach((e=>{t[e]=i[e]}));const e=ut.toFiniteNumber(i.headers.get("content-length")),[r,n]=u&&fe(e,ce(le(u),!0))||[];i=new Response(Ae(i.body,Ie,r,(()=>{n&&n(),y&&y()})),t)}c=c||"text";let m=await Fe[ut.findKey(Fe,c)||"text"](i,t);return!s&&y&&y(),await new Promise(((e,r)=>{ie(e,r,{data:m,headers:ee.from(i.headers),status:i.status,statusText:i.statusText,config:t,request:d})}))}catch(m){if(y&&y(),m&&"TypeError"===m.name&&/fetch/i.test(m.message))throw Object.assign(new at("Network Error",at.ERR_NETWORK,t,d),{cause:m.cause||m});throw at.from(m,m&&m.code,t,d)}});const Ue={http:lt,xhr:Ee,fetch:Le};ut.forEach(Ue,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}}));const qe=t=>`- ${t}`,Be=t=>ut.isFunction(t)||null===t||!1===t;var ze={getAdapter:t=>{t=ut.isArray(t)?t:[t];const{length:e}=t;let r,n;const o={};for(let i=0;i`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let r=e?t.length>1?"since :\n"+t.map(qe).join("\n"):" "+qe(t[0]):"as no adapter specified";throw new at("There is no suitable adapter to dispatch the request "+r,"ERR_NOT_SUPPORT")}return n},adapters:Ue};function Ve(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new oe(null,t)}function We(t){Ve(t),t.headers=ee.from(t.headers),t.data=re.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);const e=ze.getAdapter(t.adapter||Vt.adapter);return e(t).then((function(e){return Ve(t),e.data=re.call(t,t.transformResponse,e),e.headers=ee.from(e.headers),e}),(function(e){return ne(e)||(Ve(t),e&&e.response&&(e.response.data=re.call(t,t.transformResponse,e.response),e.response.headers=ee.from(e.response.headers))),Promise.reject(e)}))}const He="1.8.4",Je={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{Je[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}}));const Ge={};function Ke(t,e,r){if("object"!==typeof t)throw new at("options must be an object",at.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let o=n.length;while(o-- >0){const i=n[o],s=e[i];if(s){const e=t[i],r=void 0===e||s(e,i,t);if(!0!==r)throw new at("option "+i+" must be "+r,at.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new at("Unknown option "+i,at.ERR_BAD_OPTION)}}Je.transitional=function(t,e,r){function n(t,e){return"[Axios v"+He+"] Transitional option '"+t+"'"+e+(r?". "+r:"")}return(r,o,i)=>{if(!1===t)throw new at(n(o," has been removed"+(e?" in "+e:"")),at.ERR_DEPRECATED);return e&&!Ge[o]&&(Ge[o]=!0,console.warn(n(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(r,o,i)}},Je.spelling=function(t){return(e,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};var $e={assertOptions:Ke,validators:Je};const Ye=$e.validators;class Xe{constructor(t){this.defaults=t,this.interceptors={request:new St,response:new St}}async request(t,e){try{return await this._request(t,e)}catch(r){if(r instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{r.stack?e&&!String(r.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(r.stack+="\n"+e):r.stack=e}catch(n){}}throw r}}_request(t,e){"string"===typeof t?(e=e||{},e.url=t):e=t||{},e=ge(this.defaults,e);const{transitional:r,paramsSerializer:n,headers:o}=e;void 0!==r&&$e.assertOptions(r,{silentJSONParsing:Ye.transitional(Ye.boolean),forcedJSONParsing:Ye.transitional(Ye.boolean),clarifyTimeoutError:Ye.transitional(Ye.boolean)},!1),null!=n&&(ut.isFunction(n)?e.paramsSerializer={serialize:n}:$e.assertOptions(n,{encode:Ye.function,serialize:Ye.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),$e.assertOptions(e,{baseUrl:Ye.spelling("baseURL"),withXsrfToken:Ye.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&ut.merge(o.common,o[e.method]);o&&ut.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete o[t]})),e.headers=ee.concat(i,o);const s=[];let u=!0;this.interceptors.request.forEach((function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(u=u&&t.synchronous,s.unshift(t.fulfilled,t.rejected))}));const a=[];let c;this.interceptors.response.forEach((function(t){a.push(t.fulfilled,t.rejected)}));let f,l=0;if(!u){const t=[We.bind(this),void 0];t.unshift.apply(t,s),t.push.apply(t,a),f=t.length,c=Promise.resolve(e);while(l{if(!r._listeners)return;let e=r._listeners.length;while(e-- >0)r._listeners[e](t);r._listeners=null})),this.promise.then=t=>{let e;const n=new Promise((t=>{r.subscribe(t),e=t})).then(t);return n.cancel=function(){r.unsubscribe(e)},n},t((function(t,n,o){r.reason||(r.reason=new oe(t,n,o),e(r.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;const e=new Ze((function(e){t=e}));return{token:e,cancel:t}}}var tr=Ze;function er(t){return function(e){return t.apply(null,e)}}function rr(t){return ut.isObject(t)&&!0===t.isAxiosError}const nr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(nr).forEach((([t,e])=>{nr[e]=t}));var or=nr;function ir(t){const e=new Qe(t),r=n(Qe.prototype.request,e);return ut.extend(r,Qe.prototype,e,{allOwnKeys:!0}),ut.extend(r,e,null,{allOwnKeys:!0}),r.create=function(e){return ir(ge(t,e))},r}const sr=ir(Vt);sr.Axios=Qe,sr.CanceledError=oe,sr.CancelToken=tr,sr.isCancel=ne,sr.VERSION=He,sr.toFormData=mt,sr.AxiosError=at,sr.Cancel=sr.CanceledError,sr.all=function(t){return Promise.all(t)},sr.spread=er,sr.isAxiosError=rr,sr.mergeConfig=ge,sr.AxiosHeaders=ee,sr.formToJSON=t=>qt(ut.isHTMLForm(t)?new FormData(t):t),sr.getAdapter=ze.getAdapter,sr.HttpStatusCode=or,sr.default=sr,t.exports=sr},88727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},89286:function(t,e,r){"use strict";var n=r(94402),o=r(38469),i=n.Set,s=n.add;t.exports=function(t){var e=new i;return o(t,(function(t){s(e,t)})),e}},89429:function(t,e,r){"use strict";var n=r(44576),o=r(16193);t.exports=function(t){if(o){try{return n.process.getBuiltinModule(t)}catch(e){}try{return Function('return require("'+t+'")')()}catch(e){}}}},89544:function(t,e,r){"use strict";var n=r(82839);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},90326:function(t){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},90531:function(t,e,r){var n=r(90326);t.exports=function(t){if(!n(t))throw TypeError(t+" is not an object!");return t}},90679:function(t,e,r){"use strict";var n=r(1625),o=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new o("Incorrect invocation")}},91181:function(t,e,r){"use strict";var n,o,i,s=r(58622),u=r(44576),a=r(20034),c=r(66699),f=r(39297),l=r(77629),p=r(66119),d=r(30421),h="Object already initialized",y=u.TypeError,v=u.WeakMap,m=function(t){return i(t)?o(t):n(t,{})},g=function(t){return function(e){var r;if(!a(e)||(r=o(e)).type!==t)throw new y("Incompatible receiver, "+t+" required");return r}};if(s||l.state){var b=l.state||(l.state=new v);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,e){if(b.has(t))throw new y(h);return e.facade=t,b.set(t,e),e},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var w=p("state");d[w]=!0,n=function(t,e){if(f(t,w))throw new y(h);return e.facade=t,c(t,w,e),e},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:n,get:o,has:i,enforce:m,getterFor:g}},91291:function(t,e,r){"use strict";var n=r(80741);t.exports=function(t){var e=+t;return e!==e||0===e?0:n(e)}},91774:function(t,e,r){var n=r(47045)["default"];function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(o=function(t){return t?r:e})(t)}function i(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=n(t)&&"function"!=typeof t)return{default:t};var r=o(e);if(r&&r.has(t))return r.get(t);var i={__proto__:null},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if("default"!==u&&{}.hasOwnProperty.call(t,u)){var a=s?Object.getOwnPropertyDescriptor(t,u):null;a&&(a.get||a.set)?Object.defineProperty(i,u,a):i[u]=t[u]}return i["default"]=t,r&&r.set(t,i),i}t.exports=i,t.exports.__esModule=!0,t.exports["default"]=t.exports},91777:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(5065)),i=r(75088);function s(t,e,r,n,s){var u=[],a=t.required||!t.required&&n.hasOwnProperty(t.field);if(a){if((0,i.isEmptyValue)(e)&&!t.required)return r();o.default.required(t,e,n,u,s),void 0!==e&&(o.default.type(t,e,n,u,s),o.default.range(t,e,n,u,s))}r(u)}e["default"]=s},92140:function(t,e,r){"use strict";var n=r(78227),o=n("toStringTag"),i={};i[o]="z",t.exports="[object z]"===String(i)},92796:function(t,e,r){"use strict";var n=r(79039),o=r(94901),i=/#|\.prototype\./,s=function(t,e){var r=a[u(t)];return r===f||r!==c&&(o(e)?n(e):!!e)},u=s.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=s.data={},c=s.NATIVE="N",f=s.POLYFILL="P";t.exports=s},93108:function(t){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},94135:function(t,e,r){"use strict";var n=r(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=n(r(71382)),i=n(r(22686)),s=n(r(24894)),u=n(r(23783)),a=n(r(70018)),c=n(r(24833)),f=n(r(91777)),l=n(r(76818)),p=n(r(66632)),d=n(r(50)),h=n(r(49233)),y=n(r(21039)),v=n(r(422)),m=n(r(57339));e["default"]={string:o.default,method:i.default,number:s.default,boolean:u.default,regexp:a.default,integer:c.default,float:f.default,array:l.default,object:p.default,enum:d.default,pattern:h.default,date:y.default,url:m.default,hex:m.default,email:m.default,required:v.default}},94402:function(t,e,r){"use strict";var n=r(79504),o=Set.prototype;t.exports={Set:Set,add:n(o.add),has:n(o.has),remove:n(o["delete"]),proto:o}},94483:function(t,e,r){"use strict";var n,o,i,s,u=r(44576),a=r(89429),c=r(1548),f=u.structuredClone,l=u.ArrayBuffer,p=u.MessageChannel,d=!1;if(c)d=function(t){f(t,{transfer:[t]})};else if(l)try{p||(n=a("worker_threads"),n&&(p=n.MessageChannel)),p&&(o=new p,i=new l(2),s=function(t){o.port1.postMessage(null,[t])},2===i.byteLength&&(s(i),0===i.byteLength&&(d=s)))}catch(h){}t.exports=d},94644:function(t,e,r){"use strict";var n,o,i,s=r(77811),u=r(43724),a=r(44576),c=r(94901),f=r(20034),l=r(39297),p=r(36955),d=r(16823),h=r(66699),y=r(36840),v=r(62106),m=r(1625),g=r(42787),b=r(52967),w=r(78227),E=r(33392),O=r(91181),x=O.enforce,S=O.get,R=a.Int8Array,_=R&&R.prototype,A=a.Uint8ClampedArray,T=A&&A.prototype,j=R&&g(R),P=_&&g(_),N=Object.prototype,C=a.TypeError,I=w("toStringTag"),M=E("TYPED_ARRAY_TAG"),F="TypedArrayConstructor",D=s&&!!b&&"Opera"!==p(a.opera),k=!1,L={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},q=function(t){if(!f(t))return!1;var e=p(t);return"DataView"===e||l(L,e)||l(U,e)},B=function(t){var e=g(t);if(f(e)){var r=S(e);return r&&l(r,F)?r[F]:B(e)}},z=function(t){if(!f(t))return!1;var e=p(t);return l(L,e)||l(U,e)},V=function(t){if(z(t))return t;throw new C("Target is not a typed array")},W=function(t){if(c(t)&&(!b||m(j,t)))return t;throw new C(d(t)+" is not a typed array constructor")},H=function(t,e,r,n){if(u){if(r)for(var o in L){var i=a[o];if(i&&l(i.prototype,t))try{delete i.prototype[t]}catch(s){try{i.prototype[t]=e}catch(c){}}}P[t]&&!r||y(P,t,r?e:D&&_[t]||e,n)}},J=function(t,e,r){var n,o;if(u){if(b){if(r)for(n in L)if(o=a[n],o&&l(o,t))try{delete o[t]}catch(i){}if(j[t]&&!r)return;try{return y(j,t,r?e:D&&j[t]||e)}catch(i){}}for(n in L)o=a[n],!o||o[t]&&!r||y(o,t,e)}};for(n in L)o=a[n],i=o&&o.prototype,i?x(i)[F]=o:D=!1;for(n in U)o=a[n],i=o&&o.prototype,i&&(x(i)[F]=o);if((!D||!c(j)||j===Function.prototype)&&(j=function(){throw new C("Incorrect invocation")},D))for(n in L)a[n]&&b(a[n],j);if((!D||!P||P===N)&&(P=j.prototype,D))for(n in L)a[n]&&b(a[n].prototype,P);if(D&&g(T)!==P&&b(T,P),u&&!l(P,I))for(n in k=!0,v(P,I,{configurable:!0,get:function(){return f(this)?this[M]:void 0}}),L)a[n]&&h(a[n],M,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:D,TYPED_ARRAY_TAG:k&&M,aTypedArray:V,aTypedArrayConstructor:W,exportTypedArrayMethod:H,exportTypedArrayStaticMethod:J,getTypedArrayConstructor:B,isView:q,isTypedArray:z,TypedArray:j,TypedArrayPrototype:P}},94901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports="undefined"==typeof e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},95636:function(t,e,r){"use strict";var n=r(44576),o=r(79504),i=r(46706),s=r(57696),u=r(55169),a=r(67394),c=r(94483),f=r(1548),l=n.structuredClone,p=n.ArrayBuffer,d=n.DataView,h=Math.min,y=p.prototype,v=d.prototype,m=o(y.slice),g=i(y,"resizable","get"),b=i(y,"maxByteLength","get"),w=o(v.getInt8),E=o(v.setInt8);t.exports=(f||c)&&function(t,e,r){var n,o=a(t),i=void 0===e?o:s(e),y=!g||!g(t);if(u(t),f&&(t=l(t,{transfer:[t]}),o===i&&(r||y)))return t;if(o>=i&&(!r||y))n=m(t,0,i);else{var v=r&&!y&&b?{maxByteLength:b(t)}:void 0;n=new p(i,v);for(var O=new d(t),x=new d(n),S=h(i,o),R=0;Rf)i.f(t,r=o[f++],n[r]);return t}},96837:function(t){"use strict";var e=TypeError,r=9007199254740991;t.exports=function(t){if(t>r)throw e("Maximum allowed index exceeded");return t}},97040:function(t,e,r){"use strict";var n=r(43724),o=r(24913),i=r(6980);t.exports=function(t,e,r){n?o.f(t,e,i(0,r)):t[e]=r}},97080:function(t,e,r){"use strict";var n=r(94402).has;t.exports=function(t){return n(t),t}},97751:function(t,e,r){"use strict";var n=r(44576),o=r(94901),i=function(t){return o(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?i(n[t]):n[t]&&n[t][e]}},98721:function(t,e,r){"use strict";var n=r(43724),o=r(79504),i=r(62106),s=URLSearchParams.prototype,u=o(s.forEach);n&&!("size"in s)&&i(s,"size",{get:function(){var t=0;return u(this,(function(){t++})),t},configurable:!0,enumerable:!0})},98849:function(t){t.exports=!0},98936:function(t,e){e.f={}.propertyIsEnumerable},99369:function(t,e,r){"use strict";var n=r(75872),o=r(64796),i=r(14259),s=r(98936),u=r(64873),a=r(63278),c=Object.assign;t.exports=!c||r(82451)((function(){var t={},e={},r=Symbol(),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t})),7!=c({},t)[r]||Object.keys(c({},e)).join("")!=n}))?function(t,e){var r=u(t),c=arguments.length,f=1,l=i.f,p=s.f;while(c>f){var d,h=a(arguments[f++]),y=l?o(h).concat(l(h)):o(h),v=y.length,m=0;while(v>m)d=y[m++],n&&!p.call(h,d)||(r[d]=h[d])}return r}:c},99590:function(t,e,r){"use strict";var n=r(91291),o=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new o("The argument can't be less than 0");return e}}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-c2f7d60e.56cf0741.js b/mining-pool/public/dist/js/chunk-vendors-c2f7d60e.56cf0741.js new file mode 100644 index 0000000..4077cab --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-c2f7d60e.56cf0741.js @@ -0,0 +1,8 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[292],{7051:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Arcfour=void 0,e.prng_newstate=n,e.rng_psize=void 0;var i=e.Arcfour=function(){function t(){this.i=0,this.j=0,this.S=[]}return t.prototype.init=function(t){var e,i,n;for(e=0;e<256;++e)this.S[e]=e;for(i=0,e=0;e<256;++e)i=i+this.S[e]+t[e%t.length]&255,n=this.S[e],this.S[e]=this.S[i],this.S[i]=n;this.i=0,this.j=0},t.prototype.next=function(){var t;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,t=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=t,this.S[t+this.S[this.i]&255]},t}();function n(){return new i}e.rng_psize=256},14798:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.cbit=u,e.int2char=n,e.lbit=a,e.op_and=r,e.op_andnot=h,e.op_or=s,e.op_xor=o;var i="0123456789abcdefghijklmnopqrstuvwxyz";function n(t){return i.charAt(t)}function r(t,e){return t&e}function s(t,e){return t|e}function o(t,e){return t^e}function h(t,e){return t&~e}function a(t){if(0==t)return-1;var e=0;return 0==(65535&t)&&(t>>=16,e+=16),0==(255&t)&&(t>>=8,e+=8),0==(15&t)&&(t>>=4,e+=4),0==(3&t)&&(t>>=2,e+=2),0==(1&t)&&++e,e}function u(t){var e=0;while(0!=t)t&=t-1,++e;return e}},16235:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.YAHOO=void 0; +/*! +Copyright (c) 2011, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.com/yui/license.html +version: 2.9.0 +*/ +var i=e.YAHOO={};i.lang={extend:function(t,e,i){if(!e||!t)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var n=function(){};if(n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t,t.superclass=e.prototype,e.prototype.constructor==Object.prototype.constructor&&(e.prototype.constructor=e),i){var r;for(r in i)t.prototype[r]=i[r];var s=function(){},o=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(s=function(t,e){for(r=0;r15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);var r=128+n;return r.toString(16)+i},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},s.asn1.DERAbstractString=function(t){s.asn1.DERAbstractString.superclass.constructor.call(this);this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(this.s)},this.setStringHex=function(t){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("string"==typeof t?this.setString(t):"undefined"!=typeof t["str"]?this.setString(t["str"]):"undefined"!=typeof t["hex"]&&this.setStringHex(t["hex"]))},r.YAHOO.lang.extend(s.asn1.DERAbstractString,s.asn1.ASN1Object),s.asn1.DERAbstractTime=function(t){s.asn1.DERAbstractTime.superclass.constructor.call(this);this.localDateToUTC=function(t){utc=t.getTime()+6e4*t.getTimezoneOffset();var e=new Date(utc);return e},this.formatDate=function(t,e,i){var n=this.zeroPadding,r=this.localDateToUTC(t),s=String(r.getFullYear());"utc"==e&&(s=s.substr(2,2));var o=n(String(r.getMonth()+1),2),h=n(String(r.getDate()),2),a=n(String(r.getHours()),2),u=n(String(r.getMinutes()),2),c=n(String(r.getSeconds()),2),f=s+o+h+a+u+c;if(!0===i){var l=r.getMilliseconds();if(0!=l){var p=n(String(l),3);p=p.replace(/[0]+$/,""),f=f+"."+p}}return f+"Z"},this.zeroPadding=function(t,e){return t.length>=e?t:new Array(e-t.length+1).join("0")+t},this.getString=function(){return this.s},this.setString=function(t){this.hTLV=null,this.isModified=!0,this.s=t,this.hV=stohex(t)},this.setByDateValue=function(t,e,i,n,r,s){var o=new Date(Date.UTC(t,e-1,i,n,r,s,0));this.setByDate(o)},this.getFreshValueHex=function(){return this.hV}},r.YAHOO.lang.extend(s.asn1.DERAbstractTime,s.asn1.ASN1Object),s.asn1.DERAbstractStructured=function(t){s.asn1.DERAbstractString.superclass.constructor.call(this);this.setByASN1ObjectArray=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array=t},this.appendASN1Object=function(t){this.hTLV=null,this.isModified=!0,this.asn1Array.push(t)},this.asn1Array=new Array,"undefined"!=typeof t&&"undefined"!=typeof t["array"]&&(this.asn1Array=t["array"])},r.YAHOO.lang.extend(s.asn1.DERAbstractStructured,s.asn1.ASN1Object),s.asn1.DERBoolean=function(){s.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},r.YAHOO.lang.extend(s.asn1.DERBoolean,s.asn1.ASN1Object),s.asn1.DERInteger=function(t){s.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(t){this.hTLV=null,this.isModified=!0,this.hV=s.asn1.ASN1Util.bigIntToMinTwosComplementsHex(t)},this.setByInteger=function(t){var e=new n.BigInteger(String(t),10);this.setByBigInteger(e)},this.setValueHex=function(t){this.hV=t},this.getFreshValueHex=function(){return this.hV},"undefined"!=typeof t&&("undefined"!=typeof t["bigint"]?this.setByBigInteger(t["bigint"]):"undefined"!=typeof t["int"]?this.setByInteger(t["int"]):"number"==typeof t?this.setByInteger(t):"undefined"!=typeof t["hex"]&&this.setValueHex(t["hex"]))},r.YAHOO.lang.extend(s.asn1.DERInteger,s.asn1.ASN1Object),s.asn1.DERBitString=function(t){if(void 0!==t&&"undefined"!==typeof t.obj){var e=s.asn1.ASN1Util.newObject(t.obj);t.hex="00"+e.getEncodedHex()}s.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,e){if(t<0||7>6)+r.charAt(63&i);e+1==t.length?(i=parseInt(t.substring(e,e+1),16),n+=r.charAt(i<<2)):e+2==t.length&&(i=parseInt(t.substring(e,e+2),16),n+=r.charAt(i>>2)+r.charAt((3&i)<<4));while((3&n.length)>0)n+=s;return n}function h(t){var e,i="",o=0,h=0;for(e=0;e>2),h=3&a,o=1):1==o?(i+=(0,n.int2char)(h<<2|a>>4),h=15&a,o=2):2==o?(i+=(0,n.int2char)(h),i+=(0,n.int2char)(a>>2),h=3&a,o=3):(i+=(0,n.int2char)(h<<2|a>>4),i+=(0,n.int2char)(15&a),o=0))}return 1==o&&(i+=(0,n.int2char)(h<<2)),i}function a(t){var e,i=h(t),n=[];for(e=0;2*e=256||r>=s.rng_psize)window.removeEventListener?window.removeEventListener("mousemove",c,!1):window.detachEvent&&window.detachEvent("onmousemove",c);else try{var e=t.x+t.y;o[r++]=255&e,u+=1}catch(i){}};"undefined"!==typeof window&&(window.addEventListener?window.addEventListener("mousemove",c,!1):window.attachEvent&&window.attachEvent("onmousemove",c))}function f(){if(null==n){n=(0,s.prng_newstate)();while(r0){a>a)>0&&(s=!0,o=(0,r.int2char)(i));while(h>=0)a>(a+=this.DB-e)):(i=this[h]>>(a-=e)&n,a<=0&&(a+=this.DB,--h)),i>0&&(s=!0),s&&(o+=(0,r.int2char)(i))}return s?o:"0"},t.prototype.negate=function(){var e=g();return t.ZERO.subTo(this,e),e},t.prototype.abs=function(){return this.s<0?this.negate():this},t.prototype.compareTo=function(t){var e=this.s-t.s;if(0!=e)return e;var i=this.t;if(e=i-t.t,0!=e)return this.s<0?-e:e;while(--i>=0)if(0!=(e=this[i]-t[i]))return e;return 0},t.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+E(this[this.t-1]^this.s&this.DM)},t.prototype.mod=function(e){var i=g();return this.abs().divRemTo(e,null,i),this.s<0&&i.compareTo(t.ZERO)>0&&e.subTo(i,i),i},t.prototype.modPowInt=function(t,e){var i;return i=t<256||e.isEven()?new f(e):new l(e),this.exp(t,i)},t.prototype.clone=function(){var t=g();return this.copyTo(t),t},t.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<>24},t.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},t.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},t.prototype.toByteArray=function(){var t=this.t,e=[];e[0]=this.s;var i,n=this.DB-t*this.DB%8,r=0;if(t-- >0){n>n)!=(this.s&this.DM)>>n&&(e[r++]=i|this.s<=0)n<8?(i=(this[t]&(1<>(n+=this.DB-8)):(i=this[t]>>(n-=8)&255,n<=0&&(n+=this.DB,--t)),0!=(128&i)&&(i|=-256),0==r&&(128&this.s)!=(128&i)&&++r,(r>0||i!=this.s)&&(e[r++]=i)}return e},t.prototype.equals=function(t){return 0==this.compareTo(t)},t.prototype.min=function(t){return this.compareTo(t)<0?this:t},t.prototype.max=function(t){return this.compareTo(t)>0?this:t},t.prototype.and=function(t){var e=g();return this.bitwiseTo(t,r.op_and,e),e},t.prototype.or=function(t){var e=g();return this.bitwiseTo(t,r.op_or,e),e},t.prototype.xor=function(t){var e=g();return this.bitwiseTo(t,r.op_xor,e),e},t.prototype.andNot=function(t){var e=g();return this.bitwiseTo(t,r.op_andnot,e),e},t.prototype.not=function(){for(var t=g(),e=0;e=this.t?0!=this.s:0!=(this[e]&1<1){var c=g();n.sqrTo(o[1],c);while(h<=u)o[h]=g(),n.mulTo(c,o[h-2],o[h]),h+=2}var d,y,v=t.t-1,m=!0,b=g();r=E(t[v])-1;while(v>=0){r>=a?d=t[v]>>r-a&u:(d=(t[v]&(1<0&&(d|=t[v-1]>>this.DB+r-a)),h=i;while(0==(1&d))d>>=1,--h;if((r-=h)<0&&(r+=this.DB,--v),m)o[d].copyTo(s),m=!1;else{while(h>1)n.sqrTo(s,b),n.sqrTo(b,s),h-=2;h>0?n.sqrTo(s,b):(y=s,s=b,b=y),n.mulTo(b,o[d],s)}while(v>=0&&0==(t[v]&1<=0?(n.subTo(r,n),i&&s.subTo(h,s),o.subTo(a,o)):(r.subTo(n,r),i&&h.subTo(s,h),a.subTo(o,a))}return 0!=r.compareTo(t.ONE)?t.ZERO:a.compareTo(e)>=0?a.subtract(e):a.signum()<0?(a.addTo(e,a),a.signum()<0?a.add(e):a):a},t.prototype.pow=function(t){return this.exp(t,new c)},t.prototype.gcd=function(t){var e=this.s<0?this.negate():this.clone(),i=t.s<0?t.negate():t.clone();if(e.compareTo(i)<0){var n=e;e=i,i=n}var r=e.getLowestSetBit(),s=i.getLowestSetBit();if(s<0)return e;r0&&(e.rShiftTo(s,e),i.rShiftTo(s,i));while(e.signum()>0)(r=e.getLowestSetBit())>0&&e.rShiftTo(r,e),(r=i.getLowestSetBit())>0&&i.rShiftTo(r,i),e.compareTo(i)>=0?(e.subTo(i,e),e.rShiftTo(1,e)):(i.subTo(e,i),i.rShiftTo(1,i));return s>0&&i.lShiftTo(s,i),i},t.prototype.isProbablePrime=function(t){var e,i=this.abs();if(1==i.t&&i[0]<=h[h.length-1]){for(e=0;e=0;--e)t[e]=this[e];t.t=this.t,t.s=this.s},t.prototype.fromInt=function(t){this.t=1,this.s=t<0?-1:0,t>0?this[0]=t:t<-1?this[0]=t+this.DV:this.t=0},t.prototype.fromString=function(e,i){var n;if(16==i)n=4;else if(8==i)n=3;else if(256==i)n=8;else if(2==i)n=1;else if(32==i)n=5;else{if(4!=i)return void this.fromRadix(e,i);n=2}this.t=0,this.s=0;var r=e.length,s=!1,o=0;while(--r>=0){var h=8==n?255&+e[r]:T(e,r);h<0?"-"==e.charAt(r)&&(s=!0):(s=!1,0==o?this[this.t++]=h:o+n>this.DB?(this[this.t-1]|=(h&(1<>this.DB-o):this[this.t-1]|=h<=this.DB&&(o-=this.DB))}8==n&&0!=(128&+e[0])&&(this.s=-1,o>0&&(this[this.t-1]|=(1<0&&this[this.t-1]==t)--this.t},t.prototype.dlShiftTo=function(t,e){var i;for(i=this.t-1;i>=0;--i)e[i+t]=this[i];for(i=t-1;i>=0;--i)e[i]=0;e.t=this.t+t,e.s=this.s},t.prototype.drShiftTo=function(t,e){for(var i=t;i=0;--h)e[h+s+1]=this[h]>>n|o,o=(this[h]&r)<=0;--h)e[h]=0;e[s]=o,e.t=this.t+s+1,e.s=this.s,e.clamp()},t.prototype.rShiftTo=function(t,e){e.s=this.s;var i=Math.floor(t/this.DB);if(i>=this.t)e.t=0;else{var n=t%this.DB,r=this.DB-n,s=(1<>n;for(var o=i+1;o>n;n>0&&(e[this.t-i-1]|=(this.s&s)<>=this.DB;if(t.t>=this.DB;n+=this.s}else{n+=this.s;while(i>=this.DB;n-=t.s}e.s=n<0?-1:0,n<-1?e[i++]=this.DV+n:n>0&&(e[i++]=n),e.t=i,e.clamp()},t.prototype.multiplyTo=function(e,i){var n=this.abs(),r=e.abs(),s=n.t;i.t=s+r.t;while(--s>=0)i[s]=0;for(s=0;s=0)t[i]=0;for(i=0;i=e.DV&&(t[i+e.t]-=e.DV,t[i+e.t+1]=1)}t.t>0&&(t[t.t-1]+=e.am(i,e[i],t,2*i,0,1)),t.s=0,t.clamp()},t.prototype.divRemTo=function(e,i,n){var r=e.abs();if(!(r.t<=0)){var s=this.abs();if(s.t0?(r.lShiftTo(u,o),s.lShiftTo(u,n)):(r.copyTo(o),s.copyTo(n));var c=o.t,f=o[c-1];if(0!=f){var l=f*(1<1?o[c-2]>>this.F2:0),p=this.FV/l,d=(1<=0&&(n[n.t++]=1,n.subTo(b,n)),t.ONE.dlShiftTo(c,b),b.subTo(o,o);while(o.t=0){var S=n[--v]==f?this.DM:Math.floor(n[v]*p+(n[v-1]+y)*d);if((n[v]+=o.am(0,S,n,m,0,c))0&&n.rShiftTo(u,n),h<0&&t.ZERO.subTo(n,n)}}},t.prototype.invDigit=function(){if(this.t<1)return 0;var t=this[0];if(0==(1&t))return 0;var e=3&t;return e=e*(2-(15&t)*e)&15,e=e*(2-(255&t)*e)&255,e=e*(2-((65535&t)*e&65535))&65535,e=e*(2-t*e%this.DV)%this.DV,e>0?this.DV-e:-e},t.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},t.prototype.exp=function(e,i){if(e>4294967295||e<1)return t.ONE;var n=g(),r=g(),s=i.convert(this),o=E(e)-1;s.copyTo(n);while(--o>=0)if(i.sqrTo(n,r),(e&1<0)i.mulTo(r,s,n);else{var h=n;n=r,r=h}return i.revert(n)},t.prototype.chunkSize=function(t){return Math.floor(Math.LN2*this.DB/Math.log(t))},t.prototype.toRadix=function(t){if(null==t&&(t=10),0==this.signum()||t<2||t>36)return"0";var e=this.chunkSize(t),i=Math.pow(t,e),n=w(i),r=g(),s=g(),o="";this.divRemTo(n,r,s);while(r.signum()>0)o=(i+s.intValue()).toString(t).substr(1)+o,r.divRemTo(n,r,s);return s.intValue().toString(t)+o},t.prototype.fromRadix=function(e,i){this.fromInt(0),null==i&&(i=10);for(var n=this.chunkSize(i),r=Math.pow(i,n),s=!1,o=0,h=0,a=0;a=n&&(this.dMultiply(r),this.dAddOffset(h,0),o=0,h=0))}o>0&&(this.dMultiply(Math.pow(i,o)),this.dAddOffset(h,0)),s&&t.ZERO.subTo(this,this)},t.prototype.fromNumber=function(e,i,n){if("number"==typeof i)if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),r.op_or,this),this.isEven()&&this.dAddOffset(1,0);while(!this.isProbablePrime(i))this.dAddOffset(2,0),this.bitLength()>e&&this.subTo(t.ONE.shiftLeft(e-1),this)}else{var s=[],o=7&e;s.length=1+(e>>3),i.nextBytes(s),o>0?s[0]&=(1<>=this.DB;if(t.t>=this.DB;n+=this.s}else{n+=this.s;while(i>=this.DB;n+=t.s}e.s=n<0?-1:0,n>0?e[i++]=n:n<-1&&(e[i++]=this.DV+n),e.t=i,e.clamp()},t.prototype.dMultiply=function(t){this[this.t]=this.am(0,t-1,this,0,0,this.t),++this.t,this.clamp()},t.prototype.dAddOffset=function(t,e){if(0!=t){while(this.t<=e)this[this.t++]=0;this[e]+=t;while(this[e]>=this.DV)this[e]-=this.DV,++e>=this.t&&(this[this.t++]=0),++this[e]}},t.prototype.multiplyLowerTo=function(t,e,i){var n=Math.min(this.t+t.t,e);i.s=0,i.t=n;while(n>0)i[--n]=0;for(var r=i.t-this.t;n=0)i[n]=0;for(n=Math.max(e-this.t,0);n0)if(0==e)i=this[0]%t;else for(var n=this.t-1;n>=0;--n)i=(e*i+this[n])%t;return i},t.prototype.millerRabin=function(e){var i=this.subtract(t.ONE),n=i.getLowestSetBit();if(n<=0)return!1;var r=i.shiftRight(n);e=e+1>>1,e>h.length&&(e=h.length);for(var s=g(),o=0;o0&&(i.rShiftTo(o,i),n.rShiftTo(o,n));var h=function(){(s=i.getLowestSetBit())>0&&i.rShiftTo(s,i),(s=n.getLowestSetBit())>0&&n.rShiftTo(s,n),i.compareTo(n)>=0?(i.subTo(n,i),i.rShiftTo(1,i)):(n.subTo(i,n),n.rShiftTo(1,n)),i.signum()>0?setTimeout(h,0):(o>0&&n.lShiftTo(o,n),setTimeout((function(){e(n)}),0))};setTimeout(h,10)}},t.prototype.fromNumberAsync=function(e,i,n,s){if("number"==typeof i)if(e<2)this.fromInt(1);else{this.fromNumber(e,n),this.testBit(e-1)||this.bitwiseTo(t.ONE.shiftLeft(e-1),r.op_or,this),this.isEven()&&this.dAddOffset(1,0);var o=this,h=function(){o.dAddOffset(2,0),o.bitLength()>e&&o.subTo(t.ONE.shiftLeft(e-1),o),o.isProbablePrime(i)?setTimeout((function(){s()}),0):setTimeout(h,0)};setTimeout(h,0)}else{var a=[],u=7&e;a.length=1+(e>>3),i.nextBytes(a),u>0?a[0]&=(1<=0?t.mod(this.m):t},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.divRemTo(this.m,null,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),l=function(){function t(t){this.m=t,this.mp=t.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<0&&this.m.subTo(e,e),e},t.prototype.revert=function(t){var e=g();return t.copyTo(e),this.reduce(e),e},t.prototype.reduce=function(t){while(t.t<=this.mt2)t[t.t++]=0;for(var e=0;e>15)*this.mpl&this.um)<<15)&t.DM;i=e+this.m.t,t[i]+=this.m.am(0,n,t,e,0,this.m.t);while(t[i]>=t.DV)t[i]-=t.DV,t[++i]++}t.clamp(),t.drShiftTo(this.m.t,t),t.compareTo(this.m)>=0&&t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}(),p=function(){function t(t){this.m=t,this.r2=g(),this.q3=g(),u.ONE.dlShiftTo(2*t.t,this.r2),this.mu=this.r2.divide(t)}return t.prototype.convert=function(t){if(t.s<0||t.t>2*this.m.t)return t.mod(this.m);if(t.compareTo(this.m)<0)return t;var e=g();return t.copyTo(e),this.reduce(e),e},t.prototype.revert=function(t){return t},t.prototype.reduce=function(t){t.drShiftTo(this.m.t-1,this.r2),t.t>this.m.t+1&&(t.t=this.m.t+1,t.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);while(t.compareTo(this.r2)<0)t.dAddOffset(1,this.m.t+1);t.subTo(this.r2,t);while(t.compareTo(this.m)>=0)t.subTo(this.m,t)},t.prototype.mulTo=function(t,e,i){t.multiplyTo(e,i),this.reduce(i)},t.prototype.sqrTo=function(t,e){t.squareTo(e),this.reduce(e)},t}();function g(){return new u(null)}function d(t,e){return new u(t,e)}var y="undefined"!==typeof navigator;y&&o&&"Microsoft Internet Explorer"==navigator.appName?(u.prototype.am=function(t,e,i,n,r,s){var o=32767&e,h=e>>15;while(--s>=0){var a=32767&this[t],u=this[t++]>>15,c=h*a+u*o;a=o*a+((32767&c)<<15)+i[n]+(1073741823&r),r=(a>>>30)+(c>>>15)+h*u+(r>>>30),i[n++]=1073741823&a}return r},n=30):y&&o&&"Netscape"!=navigator.appName?(u.prototype.am=function(t,e,i,n,r,s){while(--s>=0){var o=e*this[t++]+i[n]+r;r=Math.floor(o/67108864),i[n++]=67108863&o}return r},n=26):(u.prototype.am=function(t,e,i,n,r,s){var o=16383&e,h=e>>14;while(--s>=0){var a=16383&this[t],u=this[t++]>>14,c=h*a+u*o;a=o*a+((16383&c)<<14)+i[n]+r,r=(a>>28)+(c>>14)+h*u,i[n++]=268435455&a}return r},n=28),u.prototype.DB=n,u.prototype.DM=(1<>>16)&&(t=e,i+=16),0!=(e=t>>8)&&(t=e,i+=8),0!=(e=t>>4)&&(t=e,i+=4),0!=(e=t>>2)&&(t=e,i+=2),0!=(e=t>>1)&&(t=e,i+=1),i}u.ZERO=w(0),u.ONE=w(1)},69315:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.JSEncryptRSAKey=void 0;var n=i(35273),r=i(80456),s=i(84878),o=i(73336),h=i(89294),a=i(55377),u=i(21206),c=function(){var t=function(e,i){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])},t(e,i)};return function(e,i){if("function"!==typeof i&&null!==i)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=e}t(e,i),e.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}();e.JSEncryptRSAKey=function(t){function e(i){var n=t.call(this)||this;return i&&("string"===typeof i?n.parseKey(i):(e.hasPrivateKeyProperty(i)||e.hasPublicKeyProperty(i))&&n.parsePropertiesFrom(i)),n}return c(e,t),e.prototype.parseKey=function(t){try{var e=0,i=0,n=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,h=n.test(t)?r.Hex.decode(t):s.Base64.unarmor(t),u=o.ASN1.decode(h);if(3===u.sub.length&&(u=u.sub[2].sub[0]),9===u.sub.length){e=u.sub[1].getHexStringValue(),this.n=(0,a.parseBigInt)(e,16),i=u.sub[2].getHexStringValue(),this.e=parseInt(i,16);var c=u.sub[3].getHexStringValue();this.d=(0,a.parseBigInt)(c,16);var f=u.sub[4].getHexStringValue();this.p=(0,a.parseBigInt)(f,16);var l=u.sub[5].getHexStringValue();this.q=(0,a.parseBigInt)(l,16);var p=u.sub[6].getHexStringValue();this.dmp1=(0,a.parseBigInt)(p,16);var g=u.sub[7].getHexStringValue();this.dmq1=(0,a.parseBigInt)(g,16);var d=u.sub[8].getHexStringValue();this.coeff=(0,a.parseBigInt)(d,16)}else{if(2!==u.sub.length)return!1;if(u.sub[0].sub){var y=u.sub[1],v=y.sub[0];e=v.sub[0].getHexStringValue(),this.n=(0,a.parseBigInt)(e,16),i=v.sub[1].getHexStringValue(),this.e=parseInt(i,16)}else e=u.sub[0].getHexStringValue(),this.n=(0,a.parseBigInt)(e,16),i=u.sub[1].getHexStringValue(),this.e=parseInt(i,16)}return!0}catch(m){return!1}},e.prototype.getPrivateBaseKey=function(){var t={array:[new u.KJUR.asn1.DERInteger({int:0}),new u.KJUR.asn1.DERInteger({bigint:this.n}),new u.KJUR.asn1.DERInteger({int:this.e}),new u.KJUR.asn1.DERInteger({bigint:this.d}),new u.KJUR.asn1.DERInteger({bigint:this.p}),new u.KJUR.asn1.DERInteger({bigint:this.q}),new u.KJUR.asn1.DERInteger({bigint:this.dmp1}),new u.KJUR.asn1.DERInteger({bigint:this.dmq1}),new u.KJUR.asn1.DERInteger({bigint:this.coeff})]},e=new u.KJUR.asn1.DERSequence(t);return e.getEncodedHex()},e.prototype.getPrivateBaseKeyB64=function(){return(0,n.hex2b64)(this.getPrivateBaseKey())},e.prototype.getPublicBaseKey=function(){var t=new u.KJUR.asn1.DERSequence({array:[new u.KJUR.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new u.KJUR.asn1.DERNull]}),e=new u.KJUR.asn1.DERSequence({array:[new u.KJUR.asn1.DERInteger({bigint:this.n}),new u.KJUR.asn1.DERInteger({int:this.e})]}),i=new u.KJUR.asn1.DERBitString({hex:"00"+e.getEncodedHex()}),n=new u.KJUR.asn1.DERSequence({array:[t,i]});return n.getEncodedHex()},e.prototype.getPublicBaseKeyB64=function(){return(0,n.hex2b64)(this.getPublicBaseKey())},e.wordwrap=function(t,e){if(e=e||64,!t)return t;var i="(.{1,"+e+"})( +|$\n?)|(.{1,"+e+"})";return t.match(RegExp(i,"g")).join("\n")},e.prototype.getPrivateKey=function(){var t="-----BEGIN RSA PRIVATE KEY-----\n";return t+=e.wordwrap(this.getPrivateBaseKeyB64())+"\n",t+="-----END RSA PRIVATE KEY-----",t},e.prototype.getPublicKey=function(){var t="-----BEGIN PUBLIC KEY-----\n";return t+=e.wordwrap(this.getPublicBaseKeyB64())+"\n",t+="-----END PUBLIC KEY-----",t},e.hasPublicKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")},e.hasPrivateKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},e.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},e}(h.RSAKey)},73336:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.Stream=e.ASN1Tag=e.ASN1=void 0;var n=i(97837),r="…",s=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,o=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function h(t,e){return t.length>e&&(t=t.substring(0,e)+r),t}var a=e.Stream=function(){function t(e,i){this.hexDigits="0123456789ABCDEF",e instanceof t?(this.enc=e.enc,this.pos=e.pos):(this.enc=e,this.pos=i)}return t.prototype.get=function(t){if(void 0===t&&(t=this.pos++),t>=this.enc.length)throw new Error("Requesting byte offset ".concat(t," on a stream of length ").concat(this.enc.length));return"string"===typeof this.enc?this.enc.charCodeAt(t):this.enc[t]},t.prototype.hexByte=function(t){return this.hexDigits.charAt(t>>4&15)+this.hexDigits.charAt(15&t)},t.prototype.hexDump=function(t,e,i){for(var n="",r=t;r176)return!1}return!0},t.prototype.parseStringISO=function(t,e){for(var i="",n=t;n191&&r<224?String.fromCharCode((31&r)<<6|63&this.get(n++)):String.fromCharCode((15&r)<<12|(63&this.get(n++))<<6|63&this.get(n++))}return i},t.prototype.parseStringBMP=function(t,e){for(var i,n,r="",s=t;s127,o=s?255:0,h="";while(r==o&&++t4){h=r,i<<=3;while(0==(128&(+h^o)))h=+h<<1,--i;h="("+i+" bit)\n"}s&&(r-=256);for(var a=new n.Int10(r),u=t+1;u=c;--f)o+=u>>f&1?"1":"0";if(o.length>i)return s+h(o,i)}return s+o},t.prototype.parseOctetString=function(t,e,i){if(this.isASCII(t,e))return h(this.parseStringISO(t,e),i);var n=e-t,s="("+n+" byte)\n";i/=2,n>i&&(e=t+i);for(var o=t;oi&&(s+=r),s},t.prototype.parseOID=function(t,e,i){for(var r="",s=new n.Int10,o=0,a=t;ai)return h(r,i);s=new n.Int10,o=0}}return o>0&&(r+=".incomplete"),r},t}(),u=(e.ASN1=function(){function t(t,e,i,n,r){if(!(n instanceof u))throw new Error("Invalid tag value.");this.stream=t,this.header=e,this.length=i,this.tag=n,this.sub=r}return t.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},t.prototype.content=function(t){if(void 0===this.tag)return null;void 0===t&&(t=1/0);var e=this.posContent(),i=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(e)?"false":"true";case 2:return this.stream.parseInteger(e,e+i);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(e,e+i,t);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(e,e+i,t);case 6:return this.stream.parseOID(e,e+i,t);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return h(this.stream.parseStringUTF(e,e+i),t);case 18:case 19:case 20:case 21:case 22:case 26:return h(this.stream.parseStringISO(e,e+i),t);case 30:return h(this.stream.parseStringBMP(e,e+i),t);case 23:case 24:return this.stream.parseTime(e,e+i,23==this.tag.tagNumber)}return null},t.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},t.prototype.toPrettyString=function(t){void 0===t&&(t="");var e=t+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(e+="+"),e+=this.length,this.tag.tagConstructed?e+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(e+=" (encapsulates)"),e+="\n",null!==this.sub){t+=" ";for(var i=0,n=this.sub.length;i6)throw new Error("Length over 48 bits not supported at position "+(t.pos-1));if(0===i)return null;e=0;for(var n=0;n>6,this.tagConstructed=0!==(32&e),this.tagNumber=31&e,31==this.tagNumber){var i=new n.Int10;do{e=t.get(),i.mulAdd(128,127&e)}while(128&e);this.tagNumber=i.simplify()}}return t.prototype.isUniversal=function(){return 0===this.tagClass},t.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},t}())},80456:function(t,e){var i;Object.defineProperty(e,"__esModule",{value:!0}),e.Hex=void 0;e.Hex={decode:function(t){var e;if(void 0===i){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(i={},e=0;e<16;++e)i[n.charAt(e)]=e;for(n=n.toLowerCase(),e=10;e<16;++e)i[n.charAt(e)]=e;for(e=0;e=2?(s[s.length]=o,o=0,h=0):o<<=4}}if(h)throw new Error("Hex encoding incomplete: 4 bits missing");return s}}},84878:function(t,e){var i;Object.defineProperty(e,"__esModule",{value:!0}),e.Base64=void 0;var n=e.Base64={decode:function(t){var e;if(void 0===i){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r="= \f\n\r\t \u2028\u2029";for(i=Object.create(null),e=0;e<64;++e)i[n.charAt(e)]=e;for(i["-"]=62,i["_"]=63,e=0;e=4?(s[s.length]=o>>16,s[s.length]=o>>8&255,s[s.length]=255&o,o=0,h=0):o<<=6}}switch(h){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:s[s.length]=o>>10;break;case 3:s[s.length]=o>>16,s[s.length]=o>>8&255;break}return s},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(t){var e=n.re.exec(t);if(e)if(e[1])t=e[1];else{if(!e[2])throw new Error("RegExp out of sync");t=e[2]}return n.decode(t)}}},89294:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.RSAKey=void 0;var n=i(55377),r=i(38881);function s(t,e){if(e=0&&e>0){var o=t.charCodeAt(s--);o<128?i[--e]=o:o>127&&o<2048?(i[--e]=63&o|128,i[--e]=o>>6|192):(i[--e]=63&o|128,i[--e]=o>>6&63|128,i[--e]=o>>12|224)}i[--e]=0;var h=new r.SecureRandom,a=[];while(e>2){a[0]=0;while(0==a[0])h.nextBytes(a);i[--e]=a[0]}return i[--e]=2,i[--e]=0,new n.BigInteger(i)}e.RSAKey=function(){function t(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return t.prototype.doPublic=function(t){return t.modPowInt(this.e,this.n)},t.prototype.doPrivate=function(t){if(null==this.p||null==this.q)return t.modPow(this.d,this.n);var e=t.mod(this.p).modPow(this.dmp1,this.p),i=t.mod(this.q).modPow(this.dmq1,this.q);while(e.compareTo(i)<0)e=e.add(this.p);return e.subtract(i).multiply(this.coeff).mod(this.p).multiply(this.q).add(i)},t.prototype.setPublic=function(t,e){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=(0,n.parseBigInt)(t,16),this.e=parseInt(e,16)):console.error("Invalid RSA public key")},t.prototype.encrypt=function(t){var e=this.n.bitLength()+7>>3,i=o(t,e);if(null==i)return null;var n=this.doPublic(i);if(null==n)return null;for(var r=n.toString(16),s=r.length,h=0;h<2*e-s;h++)r="0"+r;return r},t.prototype.setPrivate=function(t,e,i){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=(0,n.parseBigInt)(t,16),this.e=parseInt(e,16),this.d=(0,n.parseBigInt)(i,16)):console.error("Invalid RSA private key")},t.prototype.setPrivateEx=function(t,e,i,r,s,o,h,a){null!=t&&null!=e&&t.length>0&&e.length>0?(this.n=(0,n.parseBigInt)(t,16),this.e=parseInt(e,16),this.d=(0,n.parseBigInt)(i,16),this.p=(0,n.parseBigInt)(r,16),this.q=(0,n.parseBigInt)(s,16),this.dmp1=(0,n.parseBigInt)(o,16),this.dmq1=(0,n.parseBigInt)(h,16),this.coeff=(0,n.parseBigInt)(a,16)):console.error("Invalid RSA private key")},t.prototype.generate=function(t,e){var i=new r.SecureRandom,s=t>>1;this.e=parseInt(e,16);for(var o=new n.BigInteger(e,16);;){for(;;)if(this.p=new n.BigInteger(t-s,1,i),0==this.p.subtract(n.BigInteger.ONE).gcd(o).compareTo(n.BigInteger.ONE)&&this.p.isProbablePrime(10))break;for(;;)if(this.q=new n.BigInteger(s,1,i),0==this.q.subtract(n.BigInteger.ONE).gcd(o).compareTo(n.BigInteger.ONE)&&this.q.isProbablePrime(10))break;if(this.p.compareTo(this.q)<=0){var h=this.p;this.p=this.q,this.q=h}var a=this.p.subtract(n.BigInteger.ONE),u=this.q.subtract(n.BigInteger.ONE),c=a.multiply(u);if(0==c.gcd(o).compareTo(n.BigInteger.ONE)){this.n=this.p.multiply(this.q),this.d=o.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(u),this.coeff=this.q.modInverse(this.p);break}}},t.prototype.decrypt=function(t){var e=(0,n.parseBigInt)(t,16),i=this.doPrivate(e);return null==i?null:h(i,this.n.bitLength()+7>>3)},t.prototype.generateAsync=function(t,e,i){var s=new r.SecureRandom,o=t>>1;this.e=parseInt(e,16);var h=new n.BigInteger(e,16),a=this,u=function(){var e=function(){if(a.p.compareTo(a.q)<=0){var t=a.p;a.p=a.q,a.q=t}var e=a.p.subtract(n.BigInteger.ONE),r=a.q.subtract(n.BigInteger.ONE),s=e.multiply(r);0==s.gcd(h).compareTo(n.BigInteger.ONE)?(a.n=a.p.multiply(a.q),a.d=h.modInverse(s),a.dmp1=a.d.mod(e),a.dmq1=a.d.mod(r),a.coeff=a.q.modInverse(a.p),setTimeout((function(){i()}),0)):setTimeout(u,0)},r=function(){a.q=(0,n.nbi)(),a.q.fromNumberAsync(o,1,s,(function(){a.q.subtract(n.BigInteger.ONE).gcda(h,(function(t){0==t.compareTo(n.BigInteger.ONE)&&a.q.isProbablePrime(10)?setTimeout(e,0):setTimeout(r,0)}))}))},c=function(){a.p=(0,n.nbi)(),a.p.fromNumberAsync(t-o,1,s,(function(){a.p.subtract(n.BigInteger.ONE).gcda(h,(function(t){0==t.compareTo(n.BigInteger.ONE)&&a.p.isProbablePrime(10)?setTimeout(r,0):setTimeout(c,0)}))}))};setTimeout(c,0)};setTimeout(u,0)},t.prototype.sign=function(t,e,i){var n=u(i),r=n+e(t).toString(),o=s(r,this.n.bitLength()/4);if(null==o)return null;var h=this.doPrivate(o);if(null==h)return null;var a=h.toString(16);return 0==(1&a.length)?a:"0"+a},t.prototype.verify=function(t,e,i){var r=(0,n.parseBigInt)(e,16),s=this.doPublic(r);if(null==s)return null;var o=s.toString(16).replace(/^1f+00/,""),h=c(o);return h==i(t).toString()},t}();function h(t,e){var i=t.toByteArray(),n=0;while(n=i.length)return null;var r="";while(++n191&&s<224?(r+=String.fromCharCode((31&s)<<6|63&i[n+1]),++n):(r+=String.fromCharCode((15&s)<<12|(63&i[n+1])<<6|63&i[n+2]),n+=2)}return r}var a={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function u(t){return a[t]||""}function c(t){for(var e in a)if(a.hasOwnProperty(e)){var i=a[e],n=i.length;if(t.substr(0,n)==i)return t.substr(n)}return t}},97837:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.Int10=void 0;var i=1e13;e.Int10=function(){function t(t){this.buf=[+t||0]}return t.prototype.mulAdd=function(t,e){var n,r,s=this.buf,o=s.length;for(n=0;n0&&(s[n]=e)},t.prototype.sub=function(t){var e,n,r=this.buf,s=r.length;for(e=0;e=0;--r)n+=(i+e[r]).toString().substring(1);return n},t.prototype.valueOf=function(){for(var t=this.buf,e=0,n=t.length-1;n>=0;--n)e=e*i+t[n];return e},t.prototype.simplify=function(){var t=this.buf;return 1==t.length?t[0]:this},t}()}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/js/chunk-vendors-c9ff040c.57bd8c18.js b/mining-pool/public/dist/js/chunk-vendors-c9ff040c.57bd8c18.js new file mode 100644 index 0000000..eca51dc --- /dev/null +++ b/mining-pool/public/dist/js/chunk-vendors-c9ff040c.57bd8c18.js @@ -0,0 +1,15 @@ +(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[586],{5507:function(e,t,n){n(44114),n(18111),n(81148),n(22489),n(20116),n(7588),n(61701),n(13579),n(61806),n(64979),function(t,n){e.exports=n()}(window,(function(){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=141)}([function(e,t){function n(e){return e&&e.__esModule?e:{default:e}}e.exports=n},function(e,t,n){e.exports=n(142)},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return r})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return l})),n.d(t,"__param",(function(){return u})),n.d(t,"__metadata",(function(){return s})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return f})),n.d(t,"__createBinding",(function(){return d})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return v})),n.d(t,"__read",(function(){return h})),n.d(t,"__spread",(function(){return A})),n.d(t,"__spreadArrays",(function(){return m})),n.d(t,"__spreadArray",(function(){return g})),n.d(t,"__await",(function(){return y})),n.d(t,"__asyncGenerator",(function(){return w})),n.d(t,"__asyncDelegator",(function(){return x})),n.d(t,"__asyncValues",(function(){return _})),n.d(t,"__makeTemplateObject",(function(){return E})),n.d(t,"__importStar",(function(){return C})),n.d(t,"__importDefault",(function(){return S})),n.d(t,"__classPrivateFieldGet",(function(){return M})),n.d(t,"__classPrivateFieldSet",(function(){return k})); +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH +REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, +INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. +***************************************************************************** */var o=function(e,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},o(e,t)};function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0;l--)(i=e[l])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,o){t(n,o,e)}}function s(e,t){if("object"===typeof Reflect&&"function"===typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,o){function i(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function a(e){try{u(o.next(e))}catch(t){r(t)}}function l(e){try{u(o["throw"](e))}catch(t){r(t)}}function u(e){e.done?n(e.value):i(e.value).then(a,l)}u((o=o.apply(e,t||[])).next())}))}function f(e,t){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"===typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(e){return function(t){return u([e,t])}}function u(r){if(n)throw new TypeError("Generator is already executing.");while(a)try{if(n=1,o&&(i=2&r[0]?o["return"]:r[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,o=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(i=a.trys,!(i=i.length>0&&i[i.length-1])&&(6===r[0]||2===r[0])){a=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function h(e,t){var n="function"===typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,i,r=n.call(e),a=[];try{while((void 0===t||t-- >0)&&!(o=r.next()).done)a.push(o.value)}catch(l){i={error:l}}finally{try{o&&!o.done&&(n=r["return"])&&n.call(r)}finally{if(i)throw i.error}}return a}function A(){for(var e=[],t=0;t1||l(e,t)}))})}function l(e,t){try{u(i[e](t))}catch(n){f(r[0][3],n)}}function u(e){e.value instanceof y?Promise.resolve(e.value.v).then(s,c):f(r[0][2],e)}function s(e){l("next",e)}function c(e){l("throw",e)}function f(e,t){e(t),r.shift(),r.length&&l(r[0][0],r[0][1])}}function x(e){var t,n;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,i){t[o]=e[o]?function(t){return(n=!n)?{value:y(e[o](t)),done:"return"===o}:i?i(t):t}:i}}function _(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e="function"===typeof v?v(e):e[Symbol.iterator](),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,r){t=e[n](t),i(o,r,t.done,t.value)}))}}function i(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var b=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e["default"]=t};function C(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&d(t,e,n);return b(t,e),t}function S(e){return e&&e.__esModule?e:{default:e}}function M(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function k(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(89)),a=o(n(4)),l=o(n(26)),u=o(n(17)),s=o(n(121)),c=o(n(27)),f=o(n(91)),d=o(n(70)),p=o(n(28)),v=o(n(57));(0,i["default"])(t,"__esModule",{value:!0}),t.DomElement=void 0;var h=n(2),A=n(6),m=[];function g(e){var t=document.createElement("div");t.innerHTML=e;var n=t.children;return A.toArray(n)}function y(e){return!!e&&(e instanceof HTMLCollection||e instanceof NodeList)}function w(e){var t=document.querySelectorAll(e);return A.toArray(t)}function x(e){var t=[],n=[];return t=(0,r["default"])(e)?e:e.split(";"),(0,a["default"])(t).call(t,(function(e){var t,o=(0,l["default"])(t=e.split(":")).call(t,(function(e){return(0,u["default"])(e).call(e)}));2===o.length&&n.push(o[0]+":"+o[1])})),n}var _=function(){function e(t){if(this.elems=[],this.length=this.elems.length,this.dataSource=new s["default"],t){if(t instanceof e)return t;var n=[],o=t instanceof Node?t.nodeType:-1;if(this.selector=t,1===o||9===o)n=[t];else if(y(t))n=A.toArray(t);else if(t instanceof Array)n=t;else if("string"===typeof t){var i,r=(0,u["default"])(i=t.replace("/\n/mg","")).call(i);n=0===(0,c["default"])(r).call(r,"<")?g(r):w(r)}var a=n.length;if(!a)return this;for(var l=0;l=t&&(e%=t),E(this.elems[e])},e.prototype.first=function(){return this.get(0)},e.prototype.last=function(){var e=this.length;return this.get(e-1)},e.prototype.on=function(e,t,n){var o;return e?("function"===typeof t&&(n=t,t=""),(0,a["default"])(o=this).call(o,(function(o){if(t){var i=function(e){var o=e.target;o.matches(t)&&n.call(o,e)};o.addEventListener(e,i),m.push({elem:o,selector:t,fn:n,agentFn:i})}else o.addEventListener(e,n)}))):this},e.prototype.off=function(e,t,n){var o;return e?("function"===typeof t&&(n=t,t=""),(0,a["default"])(o=this).call(o,(function(o){if(t){for(var i=-1,r=0;r]+>/g,(function(){return""}))},e.prototype.html=function(e){var t=this.elems[0];return e?(t.innerHTML=e,this):t.innerHTML},e.prototype.val=function(){var e,t=this.elems[0];return(0,u["default"])(e=t.value).call(e)},e.prototype.focus=function(){var e;return(0,a["default"])(e=this).call(e,(function(e){e.focus()}))},e.prototype.prev=function(){var e=this.elems[0];return E(e.previousElementSibling)},e.prototype.next=function(){var e=this.elems[0];return E(e.nextElementSibling)},e.prototype.getNextSibling=function(){var e=this.elems[0];return E(e.nextSibling)},e.prototype.parent=function(){var e=this.elems[0];return E(e.parentElement)},e.prototype.parentUntil=function(e,t){var n=t||this.elems[0];if("BODY"===n.nodeName)return null;var o=n.parentElement;return null===o?null:o.matches(e)?E(o):this.parentUntil(e,o)},e.prototype.parentUntilEditor=function(e,t,n){var o=n||this.elems[0];if(E(o).equal(t.$textContainerElem)||E(o).equal(t.$toolbarElem))return null;var i=o.parentElement;return null===i?null:i.matches(e)?E(i):this.parentUntilEditor(e,t,i)},e.prototype.equal=function(t){return t instanceof e?this.elems[0]===t.elems[0]:t instanceof HTMLElement&&this.elems[0]===t},e.prototype.insertBefore=function(e){var t,n=E(e),o=n.elems[0];return o?(0,a["default"])(t=this).call(t,(function(e){var t=o.parentNode;null===t||void 0===t||t.insertBefore(e,o)})):this},e.prototype.insertAfter=function(e){var t,n=E(e),o=n.elems[0],i=o&&o.nextSibling;return o?(0,a["default"])(t=this).call(t,(function(e){var t=o.parentNode;i?t.insertBefore(e,i):t.appendChild(e)})):this},e.prototype.data=function(e,t){if(null==t)return this.dataSource.get(e);this.dataSource.set(e,t)},e.prototype.getNodeTop=function(e){if(this.length<1)return this;var t=this.parent();return e.$textElem.equal(this)||e.$textElem.equal(t)?this:(t.prior=this,t.getNodeTop(e))},e.prototype.getOffsetData=function(){var e=this.elems[0];return{top:e.offsetTop,left:e.offsetLeft,width:e.offsetWidth,height:e.offsetHeight,parent:e.offsetParent}},e.prototype.scrollTop=function(e){var t=this.elems[0];t.scrollTo({top:e})},e}();function E(){for(var e=[],t=0;t/gm,">").replace(/"/gm,""").replace(/(\r\n|\r|\n)/g,"
          ")}function h(e){return e.replace(/</gm,"<").replace(/>/gm,">").replace(/"/gm,'"')}function A(e,t){for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var o=t(n,e[n]);if(!1===o)break}}function m(e,t){var n,o,i,r=e.length||0;for(n=0;n

          ',t.EMPTY_P_LAST_REGEX=/

          <\/p>$/gim,t.EMPTY_P_REGEX=/

          /gim},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(145))},function(e,t){e.exports={}},function(e,t,n){var o=n(8),i=n(74),r=n(16),a=n(64),l=n(76),u=n(106),s=i("wks"),c=o.Symbol,f=u?c:c&&c.withoutSetter||a;e.exports=function(e){return r(s,e)||(l&&r(c,e)?s[e]=c[e]:s[e]=f("Symbol."+e)),s[e]}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t,n){var o=n(9),i=n(16),r=n(93),a=n(18).f;e.exports=function(e){var t=o.Symbol||(o.Symbol={});i(t,e)||a(t,e,{value:r.f(e)})}},function(e,t){e.exports=function(e){return"object"===typeof e?null!==e:"function"===typeof e}},function(e,t,n){var o=n(11);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,t,n){var o=n(9);e.exports=function(e){return o[e+"Prototype"]}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){e.exports=n(192)},function(e,t,n){var o=n(14),i=n(100),r=n(25),a=n(60),l=Object.defineProperty;t.f=o?l:function(e,t,n){if(r(e),t=a(t,!0),r(n),i)try{return l(e,t,n)}catch(o){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var o=n(14),i=n(18),r=n(48);e.exports=o?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){"use strict";var o=function(){var e;return function(){return"undefined"===typeof e&&(e=Boolean(window&&document&&document.all&&!window.atob)),e}}(),i=function(){var e={};return function(t){if("undefined"===typeof e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(o){n=null}e[t]=n}return e[t]}}(),r=[];function a(e){for(var t=-1,n=0;n0){var o=null===n||void 0===n?void 0:n.getNodeName();o&&"I"===o&&t.addClass(s)}}));var f=new c["default"](i,o);return i.dropList=f,t.on("click",(function(){var e;null!=n.selection.getRange()&&(t.css("z-index",n.zIndex.get("menu")),(0,r["default"])(e=n.txt.eventHooks.dropListMenuHoverEvents).call(e,(function(e){return e()})),f.show())})).on("mouseleave",(function(){t.css("z-index","auto"),f.hideTimeoutId=(0,a["default"])((function(){f.hide()}))})),i}return l.__extends(t,e),t}(s["default"]);t["default"]=f},function(e,t,n){var o=n(13);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){e.exports=n(188)},function(e,t,n){e.exports=n(201)},function(e,t,n){e.exports=n(213)},function(e,t,n){e.exports=n(283)},function(e,t,n){var o=n(72),i=n(49);e.exports=function(e){return o(i(e))}},function(e,t,n){var o=n(49);e.exports=function(e){return Object(o(e))}},function(e,t,n){var o=n(40),i=n(72),r=n(31),a=n(35),l=n(88),u=[].push,s=function(e){var t=1==e,n=2==e,s=3==e,c=4==e,f=6==e,d=5==e||f;return function(p,v,h,A){for(var m,g,y=r(p),w=i(y),x=o(v,h,3),_=a(w.length),E=0,b=A||l,C=t?b(p,_):n?b(p,0):void 0;_>E;E++)if((d||E in w)&&(m=w[E],g=x(m,E,y),e))if(t)C[E]=g;else if(g)switch(e){case 3:return!0;case 5:return m;case 6:return E;case 2:u.call(C,m)}else if(c)return!1;return f?-1:s||c?c:C}};e.exports={forEach:s(0),map:s(1),filter:s(2),some:s(3),every:s(4),find:s(5),findIndex:s(6)}},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(29)),l=o(n(132));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),s=u.__importDefault(n(3)),c=n(7),f=function(){function e(t,n){this.menu=t,this.conf=n,this.$container=s["default"]('

          ');var o=t.editor;o.txt.eventHooks.clickEvents.push(e.hideCurAllPanels),o.txt.eventHooks.toolbarClickEvents.push(e.hideCurAllPanels),o.txt.eventHooks.dropListMenuHoverEvents.push(e.hideCurAllPanels)}return e.prototype.create=function(){var t=this,n=this.menu;if(!e.createdMenus.has(n)){var o=this.conf,i=this.$container,l=o.width||300,f=n.editor.$toolbarElem.getBoundingClientRect(),d=n.$elem.getBoundingClientRect(),p=f.height+f.top-d.top,v=(f.width-l)/2+f.left-d.left,h=300;Math.abs(v)>h&&(v=d.left');i.append(A),A.on("click",(function(){t.remove()}));var m=s["default"]('
            '),g=s["default"]('
            ');i.append(m).append(g);var y=o.height;y&&g.css("height",y+"px").css("overflow-y","auto");var w=o.tabs||[],x=[],_=[];(0,r["default"])(w).call(w,(function(e,t){if(e){var n=e.title||"",o=e.tpl||"",i=s["default"]('
          • '+n+"
          • ");m.append(i);var a=s["default"](o);g.append(a),x.push(i),_.push(a),0===t?(i.data("active",!0),i.addClass("w-e-active")):a.hide(),i.on("click",(function(){i.data("active")||((0,r["default"])(x).call(x,(function(e){e.data("active",!1),e.removeClass("w-e-active")})),(0,r["default"])(_).call(_,(function(e){e.hide()})),i.data("active",!0),i.addClass("w-e-active"),a.show())}))}})),i.on("click",(function(e){e.stopPropagation()})),n.$elem.append(i),o.setLinkValue&&o.setLinkValue(i,"text"),o.setLinkValue&&o.setLinkValue(i,"link"),(0,r["default"])(w).call(w,(function(e,n){if(e){var o=e.events||[];(0,r["default"])(o).call(o,(function(e){var o,i=e.selector,r=e.type,l=e.fn||c.EMPTY_FN,s=_[n],f=null!==(o=e.bindEnter)&&void 0!==o&&o,d=function(e){return u.__awaiter(t,void 0,void 0,(function(){var t;return u.__generator(this,(function(n){switch(n.label){case 0:return e.stopPropagation(),[4,l(e)];case 1:return t=n.sent(),t&&this.remove(),[2]}}))}))};(0,a["default"])(s).call(s,i).on(r,d),f&&"click"===r&&s.on("keyup",(function(e){13==e.keyCode&&d(e)}))}))}}));var E=(0,a["default"])(i).call(i,"input[type=text],textarea");E.length&&E.get(0).focus(),e.hideCurAllPanels(),n.setPanel(this),e.createdMenus.add(n)}},e.prototype.remove=function(){var t=this.menu,n=this.$container;n&&n.remove(),e.createdMenus["delete"](t)},e.hideCurAllPanels=function(){var t;0!==e.createdMenus.size&&(0,r["default"])(t=e.createdMenus).call(t,(function(e){var t=e.panel;t&&t.remove()}))},e.createdMenus=new l["default"],e}();t["default"]=f},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var o=n(62),i=Math.min;e.exports=function(e){return e>0?i(o(e),9007199254740991):0}},function(e,t,n){var o=n(9),i=n(8),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?r(o[e])||r(i[e]):o[e]&&o[e][t]||i[e]&&i[e][t]}},function(e,t,n){var o=n(81),i=n(18).f,r=n(19),a=n(16),l=n(170),u=n(10),s=u("toStringTag");e.exports=function(e,t,n,u){if(e){var c=n?e:e.prototype;a(c,s)||i(c,s,{configurable:!0,value:t}),u&&!o&&r(c,"toString",l)}}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(95)),l=function(e){function t(t,n){return e.call(this,t,n)||this}return r.__extends(t,e),t.prototype.setPanel=function(e){this.panel=e},t}(a["default"]);t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(57));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(3)),s=function(){function e(e,t,n){this.editor=e,this.$targetElem=t,this.conf=n,this._show=!1,this._isInsertTextContainer=!1;var o=u["default"]("
            ");o.addClass("w-e-tooltip"),this.$container=o}return e.prototype.getPositionData=function(){var e=this.$container,t=0,n=0,o=20,i=document.documentElement.scrollTop,r=this.$targetElem.getBoundingClientRect(),a=this.editor.$textElem.getBoundingClientRect(),l=this.$targetElem.getOffsetData(),s=u["default"](l.parent),c=this.editor.$textElem.elems[0].scrollTop;if(this._isInsertTextContainer=s.equal(this.editor.$textContainerElem),this._isInsertTextContainer){var f=s.getBoundingClientRect().height,d=l.top,p=l.left,v=l.height,h=d-c;h>o+5?(t=h-o-15,e.addClass("w-e-tooltip-up")):h+v+o0?h:0)+o+10,e.addClass("w-e-tooltip-down")),n=p<0?0:p}else r.top");l.addClass("w-e-tooltip-item-wrapper "),l.append(a),i.append(l),a.on("click",(function(i){i.preventDefault();var r=t.onClick(n,o);r&&e.remove()}))}))},e.prototype.create=function(){var e,t,n=this.editor,o=this.$container;this.appendMenus();var i=this.getPositionData(),r=i.top,l=i.left;o.css("top",r+"px"),o.css("left",l+"px"),o.css("z-index",n.zIndex.get("tooltip")),this._isInsertTextContainer?this.editor.$textContainerElem.append(o):u["default"]("body").append(o),this._show=!0,n.beforeDestroy((0,a["default"])(e=this.remove).call(e,this)),n.txt.eventHooks.onBlurEvents.push((0,a["default"])(t=this.remove).call(t,this))},e.prototype.remove=function(){this.$container.remove(),this._show=!1},(0,i["default"])(e.prototype,"isShow",{get:function(){return this._show},enumerable:!1,configurable:!0}),e}();t["default"]=s},function(e,t,n){var o=n(41);e.exports=function(e,t,n){if(o(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,o){return e.call(t,n,o)};case 3:return function(n,o,i){return e.call(t,n,o,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){var o,i,r,a=n(165),l=n(8),u=n(13),s=n(19),c=n(16),f=n(63),d=n(51),p=l.WeakMap,v=function(e){return r(e)?i(e):o(e,{})},h=function(e){return function(t){var n;if(!u(t)||(n=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}};if(a){var A=new p,m=A.get,g=A.has,y=A.set;o=function(e,t){return y.call(A,e,t),t},i=function(e){return m.call(A,e)||{}},r=function(e){return g.call(A,e)}}else{var w=f("state");d[w]=!0,o=function(e,t){return s(e,w,t),t},i=function(e){return c(e,w)?e[w]:{}},r=function(e){return c(e,w)}}e.exports={set:o,get:i,has:r,enforce:v,getterFor:h}},function(e,t){e.exports=!0},function(e,t){e.exports={}},function(e,t,n){e.exports=n(261)},function(e,t,n){e.exports=n(265)},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0}),t.createElementFragment=t.createDocumentFragment=t.createElement=t.insertBefore=t.getEndPoint=t.getStartPoint=t.updateRange=t.filterSelectionNodes=void 0;var a=n(2),l=n(137),u=a.__importDefault(n(3));function s(e){var t=[];return(0,r["default"])(e).call(e,(function(e){var n=e.getNodeName();if(n!==l.ListType.OrderedList&&n!==l.ListType.UnorderedList)t.push(e);else if(e.prior)t.push(e.prior);else{var o=e.children();null===o||void 0===o||(0,r["default"])(o).call(o,(function(e){t.push(u["default"](e))}))}})),t}function c(e,t,n){var o=e.selection,i=document.createRange();t.length>1?(i.setStart(t.elems[0],0),i.setEnd(t.elems[t.length-1],t.elems[t.length-1].childNodes.length)):i.selectNodeContents(t.elems[0]),n&&i.collapse(!1),o.saveRange(i),o.restoreSelection()}function f(e){var t;return e.prior?e.prior:u["default"](null===(t=e.children())||void 0===t?void 0:t.elems[0])}function d(e){var t;return e.prior?e.prior:u["default"](null===(t=e.children())||void 0===t?void 0:t.last().elems[0])}function p(e,t,n){void 0===n&&(n=null),e.parent().elems[0].insertBefore(t,n)}function v(e){return document.createElement(e)}function h(){return document.createDocumentFragment()}function A(e,t,n){return void 0===n&&(n="li"),(0,r["default"])(e).call(e,(function(e){var o=v(n);o.innerHTML=e.html(),t.appendChild(o),e.remove()})),t}t.filterSelectionNodes=s,t.updateRange=c,t.getStartPoint=f,t.getEndPoint=d,t.insertBefore=p,t.createElement=v,t.createDocumentFragment=h,t.createElementFragment=A},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){"use strict";var o=n(164).charAt,i=n(42),r=n(75),a="String Iterator",l=i.set,u=i.getterFor(a);r(String,"String",(function(e){l(this,{type:a,string:String(e),index:0})}),(function(){var e,t=u(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=o(n,i),t.index+=e.length,{value:e,done:!1})}))},function(e,t){e.exports={}},function(e,t,n){var o=n(107),i=n(80);e.exports=Object.keys||function(e){return o(e,i)}},function(e,t,n){var o=n(19);e.exports=function(e,t,n,i){i&&i.enumerable?e[t]=n:o(e,t,n)}},function(e,t,n){n(173);var o=n(174),i=n(8),r=n(65),a=n(19),l=n(44),u=n(10),s=u("toStringTag");for(var c in o){var f=i[c],d=f&&f.prototype;d&&r(d)!==s&&a(d,s,c),l[c]=l.Array}},function(e,t,n){var o=n(34);e.exports=Array.isArray||function(e){return"Array"==o(e)}},function(e,t,n){var o=n(11),i=n(10),r=n(86),a=i("species");e.exports=function(e){return r>=51||!o((function(){var t=[],n=t.constructor={};return n[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){e.exports=n(222)},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.ListHandle=void 0;var r=n(2),a=r.__importDefault(n(373)),l=function(){function e(e){this.options=e,this.selectionRangeElem=new a["default"]}return e}();t.ListHandle=l},function(e,t,n){"use strict";var o={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!o.call({1:2},1);t.f=r?function(e){var t=i(this,e);return!!t&&t.enumerable}:o},function(e,t,n){var o=n(13);e.exports=function(e,t){if(!o(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!o(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!o(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t){},function(e,t){var n=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:n)(e)}},function(e,t,n){var o=n(74),i=n(64),r=o("keys");e.exports=function(e){return r[e]||(r[e]=i(e))}},function(e,t){var n=0,o=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+o).toString(36)}},function(e,t,n){var o=n(81),i=n(34),r=n(10),a=r("toStringTag"),l="Arguments"==i(function(){return arguments}()),u=function(e,t){try{return e[t]}catch(n){}};e.exports=o?i:function(e){var t,n,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=u(t=Object(e),a))?n:l?i(t):"Object"==(o=i(t))&&"function"==typeof t.callee?"Arguments":o}},function(e,t,n){var o=n(25),i=n(112),r=n(35),a=n(40),l=n(113),u=n(114),s=function(e,t){this.stopped=e,this.result=t},c=e.exports=function(e,t,n,c,f){var d,p,v,h,A,m,g,y=a(t,n,c?2:1);if(f)d=e;else{if(p=l(e),"function"!=typeof p)throw TypeError("Target is not iterable");if(i(p)){for(v=0,h=r(e.length);h>v;v++)if(A=c?y(o(g=e[v])[0],g[1]):y(e[v]),A&&A instanceof s)return A;return new s(!1)}d=p.call(e)}m=d.next;while(!(g=m.call(d)).done)if(A=u(d,y,g.value,c),"object"==typeof A&&A&&A instanceof s)return A;return new s(!1)};c.stop=function(e){return new s(!0,e)}},function(e,t,n){"use strict";var o=n(11);e.exports=function(e,t){var n=[][e];return!!n&&o((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t){e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(e,t,n){"use strict";var o=n(60),i=n(18),r=n(48);e.exports=function(e,t,n){var a=o(t);a in e?i.f(e,a,r(0,n)):e[a]=n}},function(e,t,n){e.exports=n(209)},function(e,t,n){var o=n(14),i=n(59),r=n(48),a=n(30),l=n(60),u=n(16),s=n(100),c=Object.getOwnPropertyDescriptor;t.f=o?c:function(e,t){if(e=a(e),t=l(t,!0),s)try{return c(e,t)}catch(n){}if(u(e,t))return r(!i.f.call(e,t),e[t])}},function(e,t,n){var o=n(11),i=n(34),r="".split;e.exports=o((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?r.call(e,""):Object(e)}:Object},function(e,t,n){var o=n(8),i=n(13),r=o.document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},function(e,t,n){var o=n(43),i=n(103);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.4",mode:o?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){"use strict";var o=n(5),i=n(167),r=n(105),a=n(171),l=n(37),u=n(19),s=n(53),c=n(10),f=n(43),d=n(44),p=n(104),v=p.IteratorPrototype,h=p.BUGGY_SAFARI_ITERATORS,A=c("iterator"),m="keys",g="values",y="entries",w=function(){return this};e.exports=function(e,t,n,c,p,x,_){i(n,t,c);var E,b,C,S=function(e){if(e===p&&T)return T;if(!h&&e in D)return D[e];switch(e){case m:return function(){return new n(this,e)};case g:return function(){return new n(this,e)};case y:return function(){return new n(this,e)}}return function(){return new n(this)}},M=t+" Iterator",k=!1,D=e.prototype,N=D[A]||D["@@iterator"]||p&&D[p],T=!h&&N||S(p),B="Array"==t&&D.entries||N;if(B&&(E=r(B.call(new e)),v!==Object.prototype&&E.next&&(f||r(E)===v||(a?a(E,v):"function"!=typeof E[A]&&u(E,A,w)),l(E,M,!0,!0),f&&(d[M]=w))),p==g&&N&&N.name!==g&&(k=!0,T=function(){return N.call(this)}),f&&!_||D[A]===T||u(D,A,T),d[t]=T,p)if(b={values:S(g),keys:x?T:S(m),entries:S(y)},_)for(C in b)(h||k||!(C in D))&&s(D,C,b[C]);else o({target:t,proto:!0,forced:h||k},b);return b}},function(e,t,n){var o=n(11);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){return!String(Symbol())}))},function(e,t,n){var o,i=n(25),r=n(169),a=n(80),l=n(51),u=n(108),s=n(73),c=n(63),f=">",d="<",p="prototype",v="script",h=c("IE_PROTO"),A=function(){},m=function(e){return d+v+f+e+d+"/"+v+f},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=s("iframe"),n="java"+v+":";return t.style.display="none",u.appendChild(t),t.src=String(n),e=t.contentWindow.document,e.open(),e.write(m("document.F=Object")),e.close(),e.F},w=function(){try{o=document.domain&&new ActiveXObject("htmlfile")}catch(t){}w=o?g(o):y();var e=a.length;while(e--)delete w[p][a[e]];return w()};l[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(A[p]=i(e),n=new A,A[p]=null,n[h]=e):n=w(),void 0===t?n:r(n,t)}},function(e,t,n){var o=n(30),i=n(35),r=n(79),a=function(e){return function(t,n,a){var l,u=o(t),s=i(u.length),c=r(a,s);if(e&&n!=n){while(s>c)if(l=u[c++],l!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===n)return e||c||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var o=n(62),i=Math.max,r=Math.min;e.exports=function(e,t){var n=o(e);return n<0?i(n+t,0):r(n,t)}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t,n){var o=n(10),i=o("toStringTag"),r={};r[i]="z",e.exports="[object z]"===String(r)},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var o=n(36);e.exports=o("navigator","userAgent")||""},function(e,t,n){"use strict";var o=n(41),i=function(e){var t,n;this.promise=new e((function(e,o){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=o})),this.resolve=o(t),this.reject=o(n)};e.exports.f=function(e){return new i(e)}},function(e,t,n){var o,i,r=n(8),a=n(84),l=r.process,u=l&&l.versions,s=u&&u.v8;s?(o=s.split("."),i=o[0]+o[1]):a&&(o=a.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=a.match(/Chrome\/(\d+)/),o&&(i=o[1]))),e.exports=i&&+i},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(6),s=a.__importDefault(n(267)),c=a.__importDefault(n(280)),f=a.__importDefault(n(281)),d=a.__importDefault(n(282)),p=a.__importDefault(n(301)),v=a.__importStar(n(416)),h=a.__importDefault(n(417)),A=a.__importDefault(n(418)),m=a.__importDefault(n(419)),g=a.__importStar(n(420)),y=a.__importDefault(n(423)),w=a.__importDefault(n(424)),x=a.__importDefault(n(425)),_=a.__importDefault(n(427)),E=a.__importDefault(n(437)),b=a.__importDefault(n(440)),C=a.__importStar(n(441)),S=a.__importDefault(n(23)),M=a.__importDefault(n(134)),k=a.__importDefault(n(24)),D=a.__importDefault(n(33)),N=a.__importDefault(n(38)),T=a.__importDefault(n(39)),B=1,I=function(){function e(e,t){this.pluginsFunctionList={},this.beforeDestroyHooks=[],this.id="wangEditor-"+B++,this.toolbarSelector=e,this.textSelector=t,v.selectorValidator(this),this.config=u.deepClone(s["default"]),this.$toolbarElem=l["default"]("
            "),this.$textContainerElem=l["default"]("
            "),this.$textElem=l["default"]("
            "),this.toolbarElemId="",this.textElemId="",this.isFocus=!1,this.isComposing=!1,this.isCompatibleMode=!1,this.selection=new c["default"](this),this.cmd=new f["default"](this),this.txt=new d["default"](this),this.menus=new p["default"](this),this.zIndex=new w["default"],this.change=new x["default"](this),this.history=new _["default"](this),this.onSelectionChange=new b["default"](this);var n=E["default"](this),o=n.disable,i=n.enable;this.disable=o,this.enable=i,this.isEnable=!0}return e.prototype.initSelection=function(e){h["default"](this,e)},e.prototype.create=function(){this.zIndex.init(this),this.isCompatibleMode=this.config.compatibleMode(),this.isCompatibleMode||(this.config.onchangeTimeout=30),m["default"](this),v["default"](this),this.txt.init(),this.menus.init(),g["default"](this),this.initSelection(!0),A["default"](this),this.change.observe(),this.history.observe(),C["default"](this)},e.prototype.beforeDestroy=function(e){return this.beforeDestroyHooks.push(e),this},e.prototype.destroy=function(){var e,t=this;(0,r["default"])(e=this.beforeDestroyHooks).call(e,(function(e){return e.call(t)})),this.$toolbarElem.remove(),this.$textContainerElem.remove()},e.prototype.fullScreen=function(){g.setFullScreen(this)},e.prototype.unFullScreen=function(){g.setUnFullScreen(this)},e.prototype.scrollToHead=function(e){y["default"](this,e)},e.registerMenu=function(t,n){n&&"function"===typeof n&&(e.globalCustomMenuConstructorList[t]=n)},e.prototype.registerPlugin=function(e,t){C.registerPlugin(e,t,this.pluginsFunctionList)},e.registerPlugin=function(t,n){C.registerPlugin(t,n,e.globalPluginsFunctionList)},e.$=l["default"],e.BtnMenu=S["default"],e.DropList=M["default"],e.DropListMenu=k["default"],e.Panel=D["default"],e.PanelMenu=N["default"],e.Tooltip=T["default"],e.globalCustomMenuConstructorList={},e.globalPluginsFunctionList={},e}();t["default"]=I},function(e,t,n){var o=n(13),i=n(55),r=n(10),a=r("species");e.exports=function(e,t){var n;return i(e)&&(n=e.constructor,"function"!=typeof n||n!==Array&&!i(n.prototype)?o(n)&&(n=n[a],null===n&&(n=void 0)):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},function(e,t,n){e.exports=n(185)},function(e,t,n){var o=n(49),i=n(68),r="["+i+"]",a=RegExp("^"+r+r+"*"),l=RegExp(r+r+"*$"),u=function(e){return function(t){var n=String(o(t));return 1&e&&(n=n.replace(a,"")),2&e&&(n=n.replace(l,"")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},function(e,t,n){e.exports=n(205)},function(e,t,n){var o=n(227),i=n(230);function r(t){return e.exports=r="function"===typeof i&&"symbol"===typeof o?function(e){return typeof e}:function(e){return e&&"function"===typeof i&&e.constructor===i&&e!==i.prototype?"symbol":typeof e},r(t)}e.exports=r},function(e,t,n){var o=n(10);t.f=o},function(e,t,n){e.exports=n(306)},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(33)),u=function(){function e(e,t){var n=this;this.$elem=e,this.editor=t,this._active=!1,e.on("click",(function(e){var o;l["default"].hideCurAllPanels(),(0,r["default"])(o=t.txt.eventHooks.menuClickEvents).call(o,(function(e){return e()})),e.stopPropagation(),null!=t.selection.getRange()&&n.clickHandler(e)}))}return e.prototype.clickHandler=function(e){},e.prototype.active=function(){this._active=!0,this.$elem.addClass("w-e-active")},e.prototype.unActive=function(){this._active=!1,this.$elem.removeClass("w-e-active")},(0,i["default"])(e.prototype,"isActive",{get:function(){return this._active},enumerable:!1,configurable:!0}),e}();t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(28));function a(e){var n=e.elems[0];while(n&&(0,r["default"])(o=t.EXTRA_TAG).call(o,n.nodeName)){var o;if(n=n.parentElement,"A"===n.nodeName)return n}}function l(e){var t,n=e.selection.getSelectionContainerElem();if(!(null===(t=null===n||void 0===n?void 0:n.elems)||void 0===t?void 0:t.length))return!1;if("A"===n.getNodeName())return!0;var o=a(n);return!(!o||"A"!==o.nodeName)}(0,i["default"])(t,"__esModule",{value:!0}),t.getParentNodeA=t.EXTRA_TAG=void 0,t.EXTRA_TAG=["B","FONT","I","STRIKE"],t.getParentNodeA=a,t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(57)),a=o(n(4)),l=o(n(27));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),s=n(6),c=u.__importDefault(n(135)),f=u.__importDefault(n(136)),d=function(){function e(e){this.editor=e}return e.prototype.insertImg=function(e,t,n){var o=this.editor,i=o.config,r="validate.",a=function(e,t){return void 0===t&&(t=r),o.i18next.t(t+e)},l=e.replace(//g,">");l=l.replace("'",'"');var u="";n&&(u=n.replace("'",'"'),u="data-href='"+encodeURIComponent(u)+"' ");var s="";t&&(s=t.replace(//g,">"),s=s.replace("'",'"'),s="alt='"+s+"' "),o.cmd["do"]("insertHTML","'),i.linkImgCallback(e,t,n);var c=document.createElement("img");c.onload=function(){c=null},c.onerror=function(){i.customAlert(a("插入图片错误"),"error","wangEditor: "+a("插入图片错误")+","+a("图片链接")+' "'+e+'",'+a("下载链接失败")),c=null},c.onabort=function(){return c=null},c.src=e},e.prototype.uploadImg=function(e){var t=this;if(e.length){var n=this.editor,o=n.config,i="validate.",u=function(e){return n.i18next.t(i+e)},d=o.uploadImgServer,p=o.uploadImgShowBase64,v=o.uploadImgMaxSize,h=v/1024/1024,A=o.uploadImgMaxLength,m=o.uploadFileName,g=o.uploadImgParams,y=o.uploadImgParamsWithUrl,w=o.uploadImgHeaders,x=o.uploadImgHooks,_=o.uploadImgTimeout,E=o.withCredentials,b=o.customUploadImg;if(b||d||p){var C=[],S=[];if(s.arrForEach(e,(function(e){if(e){var t=e.name||e.type.replace("/","."),o=e.size;if(t&&o){var i=n.config.uploadImgAccept.join("|"),r=".("+i+")$",a=new RegExp(r,"i");!1!==a.test(t)?vA)o.customAlert(u("一次最多上传")+A+u("张图片"),"warning");else if(b&&"function"===typeof b){var M;b(C,(0,r["default"])(M=this.insertImg).call(M,this))}else{var k=new FormData;if((0,a["default"])(C).call(C,(function(e,t){var n=m||e.name;C.length>1&&(n+=t+1),k.append(n,e)})),d){var D=d.split("#");d=D[0];var N=D[1]||"";(0,a["default"])(s).call(s,g,(function(e,t){y&&((0,l["default"])(d).call(d,"?")>0?d+="&":d+="?",d=d+e+"="+t),k.append(e,t)})),N&&(d+="#"+N);var T=c["default"](d,{timeout:_,formData:k,headers:w,withCredentials:!!E,beforeSend:function(e){if(x.before)return x.before(e,n,C)},onTimeout:function(e){o.customAlert(u("上传图片超时"),"error"),x.timeout&&x.timeout(e,n)},onProgress:function(e,t){var o=new f["default"](n);t.lengthComputable&&(e=t.loaded/t.total,o.show(e))},onError:function(e){o.customAlert(u("上传图片错误"),"error",u("上传图片错误")+","+u("服务器返回状态")+": "+e.status),x.error&&x.error(e,n)},onFail:function(e,t){o.customAlert(u("上传图片失败"),"error",u("上传图片返回结果错误")+","+u("返回结果")+": "+t),x.fail&&x.fail(e,n,t)},onSuccess:function(e,i){if(x.customInsert){var l;x.customInsert((0,r["default"])(l=t.insertImg).call(l,t),i,n)}else{if("0"!=i.errno)return o.customAlert(u("上传图片失败"),"error",u("上传图片返回结果错误")+","+u("返回结果")+" errno="+i.errno),void(x.fail&&x.fail(e,n,i));var s=i.data;(0,a["default"])(s).call(s,(function(e){"string"===typeof e?t.insertImg(e):t.insertImg(e.url,e.alt,e.href)})),x.success&&x.success(e,n,i)}}});"string"===typeof T&&o.customAlert(T,"error")}else p&&s.arrForEach(e,(function(e){var n=t,o=new FileReader;o.readAsDataURL(e),o.onload=function(){if(this.result){var e=this.result.toString();n.insertImg(e,e)}}}))}else o.customAlert(u("传入的文件不合法"),"warning")}}},e}();t["default"]=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(410)),a=o(n(4)),l=o(n(45));function u(e){return!!e.length&&"w-e-todo"===e.attr("class")}function s(e){var t=e.selection.getSelectionRangeTopNodes();if(0!==t.length)return(0,r["default"])(t).call(t,(function(e){return u(e)}))}function c(e,t,n){var o;if(e.hasChildNodes()){var i=e.cloneNode(),r=!1;""===t.nodeValue&&(r=!0);var l=[];return(0,a["default"])(o=e.childNodes).call(o,(function(e){if(!f(e,t)&&r&&(i.appendChild(e.cloneNode(!0)),"BR"!==e.nodeName&&l.push(e)),f(e,t)){if(1===e.nodeType){var o=c(e,t,n);o&&""!==o.textContent&&(null===i||void 0===i||i.appendChild(o))}if(3===e.nodeType&&t.isEqualNode(e)){var a=d(e,n);i.textContent=a}r=!0}})),(0,a["default"])(l).call(l,(function(e){var t=e;t.remove()})),i}}function f(e,t){return 3===e.nodeType?e.nodeValue===t.nodeValue:e.contains(t)}function d(e,t,n){void 0===n&&(n=!0);var o=e.nodeValue,i=null===o||void 0===o?void 0:(0,l["default"])(o).call(o,0,t);if(o=null===o||void 0===o?void 0:(0,l["default"])(o).call(o,t),!n){var r=o;o=i,i=r}return e.nodeValue=i,o}(0,i["default"])(t,"__esModule",{value:!0}),t.dealTextNode=t.isAllTodo=t.isTodo=t.getCursorNextNode=void 0,t.isTodo=u,t.isAllTodo=s,t.getCursorNextNode=c,t.dealTextNode=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(430),a=function(){function e(e){this.maxSize=e,this.isRe=!1,this.data=new r.CeilStack(e),this.revokeData=new r.CeilStack(e)}return(0,i["default"])(e.prototype,"size",{get:function(){return[this.data.size,this.revokeData.size]},enumerable:!1,configurable:!0}),e.prototype.resetMaxSize=function(e){this.data.resetMax(e),this.revokeData.resetMax(e)},e.prototype.save=function(e){return this.isRe&&(this.revokeData.clear(),this.isRe=!1),this.data.instack(e),this},e.prototype.revoke=function(e){!this.isRe&&(this.isRe=!0);var t=this.data.outstack();return!!t&&(this.revokeData.instack(t),e(t),!0)},e.prototype.restore=function(e){!this.isRe&&(this.isRe=!0);var t=this.revokeData.outstack();return!!t&&(this.data.instack(t),e(t),!0)},e}();t["default"]=a},function(e,t,n){var o=n(14),i=n(11),r=n(73);e.exports=!o&&!i((function(){return 7!=Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var o=n(11),i=/#|\.prototype\./,r=function(e,t){var n=l[a(e)];return n==s||n!=u&&("function"==typeof t?o(t):!!t)},a=r.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=r.data={},u=r.NATIVE="N",s=r.POLYFILL="P";e.exports=r},function(e,t,n){var o=n(103),i=Function.toString;"function"!=typeof o.inspectSource&&(o.inspectSource=function(e){return i.call(e)}),e.exports=o.inspectSource},function(e,t,n){var o=n(8),i=n(166),r="__core-js_shared__",a=o[r]||i(r,{});e.exports=a},function(e,t,n){"use strict";var o,i,r,a=n(105),l=n(19),u=n(16),s=n(10),c=n(43),f=s("iterator"),d=!1,p=function(){return this};[].keys&&(r=[].keys(),"next"in r?(i=a(a(r)),i!==Object.prototype&&(o=i)):d=!0),void 0==o&&(o={}),c||u(o,f)||l(o,f,p),e.exports={IteratorPrototype:o,BUGGY_SAFARI_ITERATORS:d}},function(e,t,n){var o=n(16),i=n(31),r=n(63),a=n(168),l=r("IE_PROTO"),u=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=i(e),o(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,t,n){var o=n(76);e.exports=o&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(e,t,n){var o=n(16),i=n(30),r=n(78).indexOf,a=n(51);e.exports=function(e,t){var n,l=i(e),u=0,s=[];for(n in l)!o(a,n)&&o(l,n)&&s.push(n);while(t.length>u)o(l,n=t[u++])&&(~r(s,n)||s.push(n));return s}},function(e,t,n){var o=n(36);e.exports=o("document","documentElement")},function(e,t,n){var o=n(8);e.exports=o.Promise},function(e,t,n){var o=n(53);e.exports=function(e,t,n){for(var i in t)n&&n.unsafe&&e[i]?e[i]=t[i]:o(e,i,t[i],n);return e}},function(e,t,n){"use strict";var o=n(36),i=n(18),r=n(10),a=n(14),l=r("species");e.exports=function(e){var t=o(e),n=i.f;a&&t&&!t[l]&&n(t,l,{configurable:!0,get:function(){return this}})}},function(e,t,n){var o=n(10),i=n(44),r=o("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[r]===e)}},function(e,t,n){var o=n(65),i=n(44),r=n(10),a=r("iterator");e.exports=function(e){if(void 0!=e)return e[a]||e["@@iterator"]||i[o(e)]}},function(e,t,n){var o=n(25);e.exports=function(e,t,n,i){try{return i?t(o(n)[0],n[1]):t(n)}catch(a){var r=e["return"];throw void 0!==r&&o(r.call(e)),a}}},function(e,t,n){var o=n(10),i=o("iterator"),r=!1;try{var a=0,l={next:function(){return{done:!!a++}},return:function(){r=!0}};l[i]=function(){return this},Array.from(l,(function(){throw 2}))}catch(u){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(u){}return n}},function(e,t,n){var o=n(25),i=n(41),r=n(10),a=r("species");e.exports=function(e,t){var n,r=o(e).constructor;return void 0===r||void 0==(n=o(r)[a])?t:i(n)}},function(e,t,n){var o,i,r,a=n(8),l=n(11),u=n(34),s=n(40),c=n(108),f=n(73),d=n(118),p=a.location,v=a.setImmediate,h=a.clearImmediate,A=a.process,m=a.MessageChannel,g=a.Dispatch,y=0,w={},x="onreadystatechange",_=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){_(e)}},b=function(e){_(e.data)},C=function(e){a.postMessage(e+"",p.protocol+"//"+p.host)};v&&h||(v=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return w[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},o(y),y},h=function(e){delete w[e]},"process"==u(A)?o=function(e){A.nextTick(E(e))}:g&&g.now?o=function(e){g.now(E(e))}:m&&!d?(i=new m,r=i.port2,i.port1.onmessage=b,o=s(r.postMessage,r,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||l(C)||"file:"===p.protocol?o=x in f("script")?function(e){c.appendChild(f("script"))[x]=function(){c.removeChild(this),_(e)}}:function(e){setTimeout(E(e),0)}:(o=C,a.addEventListener("message",b,!1))),e.exports={set:v,clear:h}},function(e,t,n){var o=n(84);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(o)},function(e,t,n){var o=n(25),i=n(13),r=n(85);e.exports=function(e,t){if(o(e),i(t)&&t.constructor===e)return t;var n=r.f(e),a=n.resolve;return a(t),n.promise}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},function(e,t,n){e.exports=n(197)},function(e,t,n){"use strict";var o=n(5),i=n(8),r=n(123),a=n(11),l=n(19),u=n(66),s=n(83),c=n(13),f=n(37),d=n(18).f,p=n(32).forEach,v=n(14),h=n(42),A=h.set,m=h.getterFor;e.exports=function(e,t,n){var h,g=-1!==e.indexOf("Map"),y=-1!==e.indexOf("Weak"),w=g?"set":"add",x=i[e],_=x&&x.prototype,E={};if(v&&"function"==typeof x&&(y||_.forEach&&!a((function(){(new x).entries().next()})))){h=t((function(t,n){A(s(t,h,e),{type:e,collection:new x}),void 0!=n&&u(n,t[w],t,g)}));var b=m(e);p(["add","clear","delete","forEach","get","has","set","keys","values","entries"],(function(e){var t="add"==e||"set"==e;!(e in _)||y&&"clear"==e||l(h.prototype,e,(function(n,o){var i=b(this).collection;if(!t&&y&&!c(n))return"get"==e&&void 0;var r=i[e](0===n?0:n,o);return t?this:r}))})),y||d(h.prototype,"size",{configurable:!0,get:function(){return b(this).collection.size}})}else h=n.getConstructor(t,e,g,w),r.REQUIRED=!0;return f(h,e,!1,!0),E[e]=h,o({global:!0,forced:!0},E),y||n.setStrong(h,e,g),h}},function(e,t,n){var o=n(51),i=n(13),r=n(16),a=n(18).f,l=n(64),u=n(200),s=l("meta"),c=0,f=Object.isExtensible||function(){return!0},d=function(e){a(e,s,{value:{objectID:"O"+ ++c,weakData:{}}})},p=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,s)){if(!f(e))return"F";if(!t)return"E";d(e)}return e[s].objectID},v=function(e,t){if(!r(e,s)){if(!f(e))return!0;if(!t)return!1;d(e)}return e[s].weakData},h=function(e){return u&&A.REQUIRED&&f(e)&&!r(e,s)&&d(e),e},A=e.exports={REQUIRED:!1,fastKey:p,getWeakData:v,onFreeze:h};o[s]=!0},function(e,t,n){"use strict";var o=n(18).f,i=n(77),r=n(110),a=n(40),l=n(83),u=n(66),s=n(75),c=n(111),f=n(14),d=n(123).fastKey,p=n(42),v=p.set,h=p.getterFor;e.exports={getConstructor:function(e,t,n,s){var c=e((function(e,o){l(e,c,t),v(e,{type:t,index:i(null),first:void 0,last:void 0,size:0}),f||(e.size=0),void 0!=o&&u(o,e[s],e,n)})),p=h(t),A=function(e,t,n){var o,i,r=p(e),a=m(e,t);return a?a.value=n:(r.last=a={index:i=d(t,!0),key:t,value:n,previous:o=r.last,next:void 0,removed:!1},r.first||(r.first=a),o&&(o.next=a),f?r.size++:e.size++,"F"!==i&&(r.index[i]=a)),e},m=function(e,t){var n,o=p(e),i=d(t);if("F"!==i)return o.index[i];for(n=o.first;n;n=n.next)if(n.key==t)return n};return r(c.prototype,{clear:function(){var e=this,t=p(e),n=t.index,o=t.first;while(o)o.removed=!0,o.previous&&(o.previous=o.previous.next=void 0),delete n[o.index],o=o.next;t.first=t.last=void 0,f?t.size=0:e.size=0},delete:function(e){var t=this,n=p(t),o=m(t,e);if(o){var i=o.next,r=o.previous;delete n.index[o.index],o.removed=!0,r&&(r.next=i),i&&(i.previous=r),n.first==o&&(n.first=i),n.last==o&&(n.last=r),f?n.size--:t.size--}return!!o},forEach:function(e){var t,n=p(this),o=a(e,arguments.length>1?arguments[1]:void 0,3);while(t=t?t.next:n.first){o(t.value,t.key,this);while(t&&t.removed)t=t.previous}},has:function(e){return!!m(this,e)}}),r(c.prototype,n?{get:function(e){var t=m(this,e);return t&&t.value},set:function(e,t){return A(this,0===e?0:e,t)}}:{add:function(e){return A(this,e=0===e?0:e,e)}}),f&&o(c.prototype,"size",{get:function(){return p(this).size}}),c},setStrong:function(e,t,n){var o=t+" Iterator",i=h(t),r=h(o);s(e,t,(function(e,t){v(this,{type:o,target:e,state:i(e),kind:t,last:void 0})}),(function(){var e=r(this),t=e.kind,n=e.last;while(n&&n.removed)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),c(t)}}},function(e,t,n){var o=n(12);o("iterator")},function(e,t,n){var o=n(107),i=n(80),r=i.concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return o(e,r)}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){e.exports=n(268)},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={zIndex:1e4}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={focus:!0,height:300,placeholder:"请输入正文",zIndexFullScreen:10002,showFullScreen:!0}},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0}),t.getPasteImgs=t.getPasteHtml=t.getPasteText=void 0;var a=n(2),l=n(6),u=a.__importDefault(n(292));function s(e){var t=e.clipboardData,n="";return n=null==t?window.clipboardData&&window.clipboardData.getData("text"):t.getData("text/plain"),l.replaceHtmlSymbol(n)}function c(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var o=e.clipboardData,i="";if(o&&(i=o.getData("text/html")),!i){var r=s(e);if(!r)return"";i="

            "+r+"

            "}return i=i.replace(/<(\d)/gm,(function(e,t){return"<"+t})),i=i.replace(/<(\/?meta.*?)>/gim,""),i=u["default"](i,t,n),i}function f(e){var t,n=[],o=s(e);if(o)return n;var i=null===(t=e.clipboardData)||void 0===t?void 0:t.items;return i?((0,r["default"])(l).call(l,i,(function(e,t){var o=t.type;/image/i.test(o)&&n.push(t.getAsFile())})),n):n}t.getPasteText=s,t.getPasteHtml=c,t.getPasteImgs=f},function(e,t,n){e.exports=n(294)},function(e,t,n){e.exports=n(310)},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(46));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(3)),s=n(7),c=function(){function e(e,t){var n=this;this.hideTimeoutId=0,this.menu=e,this.conf=t;var o=u["default"]('
            '),i=u["default"]("

            "+t.title+"

            ");i.addClass("w-e-dp-title"),o.append(i);var l=t.list||[],c=t.type||"list",f=t.clickHandler||s.EMPTY_FN,d=u["default"]('
              ');(0,r["default"])(l).call(l,(function(e){var t=e.$elem,o=e.value,i=u["default"]('
            • ');t&&(i.append(t),d.append(i),i.on("click",(function(e){f(o),e.stopPropagation(),n.hideTimeoutId=(0,a["default"])((function(){n.hide()}))})))})),o.append(d),o.on("mouseleave",(function(){n.hideTimeoutId=(0,a["default"])((function(){n.hide()}))})),this.$container=o,this.rendered=!1,this._show=!1}return e.prototype.show=function(){this.hideTimeoutId&&clearTimeout(this.hideTimeoutId);var e=this.menu,t=e.$elem,n=this.$container;if(!this._show){if(this.rendered)n.show();else{var o=t.getBoundingClientRect().height||0,i=this.conf.width||100;n.css("margin-top",o+"px").css("width",i+"px"),t.append(n),this.rendered=!0}this._show=!0}},e.prototype.hide=function(){var e=this.$container;this._show&&(e.hide(),this._show=!1)},(0,i["default"])(e.prototype,"isShow",{get:function(){return this._show},enumerable:!1,configurable:!0}),e}();t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(92)),r=o(n(1)),a=o(n(4));(0,r["default"])(t,"__esModule",{value:!0});var l=n(6);function u(e,t){var n=new XMLHttpRequest;if(n.open("POST",e),n.timeout=t.timeout||1e4,n.ontimeout=function(){console.error("wangEditor - 请求超时"),t.onTimeout&&t.onTimeout(n)},n.upload&&(n.upload.onprogress=function(e){var n=e.loaded/e.total;t.onProgress&&t.onProgress(n,e)}),t.headers&&(0,a["default"])(l).call(l,t.headers,(function(e,t){n.setRequestHeader(e,t)})),n.withCredentials=!!t.withCredentials,t.beforeSend){var o=t.beforeSend(n);if(o&&"object"===(0,i["default"])(o)&&o.prevent)return o.msg}return n.onreadystatechange=function(){if(4===n.readyState){var e=n.status;if(!(e<200)&&!(e>=300&&e<400)){if(e>=400)return console.error("wangEditor - XHR 报错,状态码 "+e),void(t.onError&&t.onError(n));var o,r=n.responseText;if("object"!==(0,i["default"])(r))try{o=JSON.parse(r)}catch(a){return console.error("wangEditor - 返回结果不是 JSON 格式",r),void(t.onFail&&t.onFail(n,r))}else o=r;t.onSuccess(n,o)}}},n.send(t.formData||null),n}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(342)),a=o(n(46));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(3)),s=function(){function e(e){this.editor=e,this.$textContainer=e.$textContainerElem,this.$bar=u["default"]('
              '),this.isShow=!1,this.time=0,this.timeoutId=0}return e.prototype.show=function(e){var t=this;if(!this.isShow){this.isShow=!0;var n=this.$bar,o=this.$textContainer;o.append(n),(0,r["default"])()-this.time>100&&e<=1&&(n.css("width",100*e+"%"),this.time=(0,r["default"])());var i=this.timeoutId;i&&clearTimeout(i),this.timeoutId=(0,a["default"])((function(){t.hide()}),500)}},e.prototype.hide=function(){var e=this.$bar;e.remove(),this.isShow=!1,this.time=0,this.timeoutId=0},e}();t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.ListType=void 0;var r,a=n(2),l=a.__importDefault(n(3)),u=a.__importDefault(n(24)),s=n(47),c=a.__importStar(n(371));(function(e){e["OrderedList"]="OL",e["UnorderedList"]="UL"})(r=t.ListType||(t.ListType={}));var f=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              '),i={width:130,title:"序列",type:"list",list:[{$elem:l["default"]('\n

              \n \n '+t.i18next.t("menus.dropListMenu.list.无序列表")+"\n

              "),value:r.UnorderedList},{$elem:l["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.list.有序列表")+"\n

              "),value:r.OrderedList}],clickHandler:function(e){n.command(e)}};return n=e.call(this,o,t,i)||this,n}return a.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();void 0!==n&&(this.handleSelectionRangeNodes(e),this.tryChangeActive())},t.prototype.validator=function(e,t,n){return!(!e.length||!t.length||n.equal(e)||n.equal(t))},t.prototype.handleSelectionRangeNodes=function(e){var t=this.editor,n=t.selection,o=e.toLowerCase(),i=n.getSelectionContainerElem(),r=n.getSelectionStartElem().getNodeTop(t),a=n.getSelectionEndElem().getNodeTop(t);if(this.validator(r,a,t.$textElem)){var l=n.getRange(),u=null===l||void 0===l?void 0:l.collapsed;t.$textElem.equal(i)||(i=i.getNodeTop(t));var f,d={editor:t,listType:e,listTarget:o,$selectionElem:i,$startElem:r,$endElem:a};f=this.isOrderElem(i)?c.ClassType.Wrap:this.isOrderElem(r)&&this.isOrderElem(a)?c.ClassType.Join:this.isOrderElem(r)?c.ClassType.StartJoin:this.isOrderElem(a)?c.ClassType.EndJoin:c.ClassType.Other;var p=new c["default"](c.createListHandle(f,d,l));s.updateRange(t,p.getSelectionRangeElem(),!!u)}},t.prototype.isOrderElem=function(e){var t=e.getNodeName();return t===r.OrderedList||t===r.UnorderedList},t.prototype.tryChangeActive=function(){},t}(u["default"]);t["default"]=f},function(e,t,n){e.exports=n(395)},function(e,t,n){"use strict";var o=n(0),i=o(n(1));function r(e){var t=e.selection.getSelectionContainerElem();return!!(null===t||void 0===t?void 0:t.length)&&!("CODE"!=t.getNodeName()&&"PRE"!=t.getNodeName()&&"CODE"!=t.parent().getNodeName()&&"PRE"!=t.parent().getNodeName()&&!/hljs/.test(t.parent().attr("class")))}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(29));(0,i["default"])(t,"__esModule",{value:!0}),t.todo=void 0;var a=n(2),l=a.__importDefault(n(3)),u=function(){function e(e){var t;this.template='

              ',this.checked=!1,this.$todo=l["default"](this.template),this.$child=null===(t=null===e||void 0===e?void 0:e.childNodes())||void 0===t?void 0:t.clone(!0)}return e.prototype.init=function(){var e=this.$child,t=this.getInputContainer();e&&e.insertAfter(t)},e.prototype.getInput=function(){var e=this.$todo,t=(0,r["default"])(e).call(e,"input");return t},e.prototype.getInputContainer=function(){var e=this.getInput().parent();return e},e.prototype.getTodo=function(){return this.$todo},e}();function s(e){var t=new u(e);return t.init(),t}t.todo=u,t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2);n(146),n(148),n(152),n(154),n(156),n(158),n(160);var a=r.__importDefault(n(87));r.__exportStar(n(442),t);try{document}catch(l){throw new Error("请在浏览器环境下运行")}t["default"]=a["default"]},function(e,t,n){var o=n(143);e.exports=o},function(e,t,n){n(144);var o=n(9),i=o.Object,r=e.exports=function(e,t,n){return i.defineProperty(e,t,n)};i.defineProperty.sham&&(r.sham=!0)},function(e,t,n){var o=n(5),i=n(14),r=n(18);o({target:"Object",stat:!0,forced:!i,sham:!i},{defineProperty:r.f})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(o){"object"===typeof window&&(n=window)}e.exports=n},function(e,t,n){var o=n(20),i=n(147);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,'.w-e-toolbar,\n.w-e-text-container,\n.w-e-menu-panel {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n background-color: #fff;\n /*表情菜单样式*/\n /*分割线样式*/\n}\n.w-e-toolbar h1,\n.w-e-text-container h1,\n.w-e-menu-panel h1 {\n font-size: 32px !important;\n}\n.w-e-toolbar h2,\n.w-e-text-container h2,\n.w-e-menu-panel h2 {\n font-size: 24px !important;\n}\n.w-e-toolbar h3,\n.w-e-text-container h3,\n.w-e-menu-panel h3 {\n font-size: 18.72px !important;\n}\n.w-e-toolbar h4,\n.w-e-text-container h4,\n.w-e-menu-panel h4 {\n font-size: 16px !important;\n}\n.w-e-toolbar h5,\n.w-e-text-container h5,\n.w-e-menu-panel h5 {\n font-size: 13.28px !important;\n}\n.w-e-toolbar p,\n.w-e-text-container p,\n.w-e-menu-panel p {\n font-size: 16px !important;\n}\n.w-e-toolbar .eleImg,\n.w-e-text-container .eleImg,\n.w-e-menu-panel .eleImg {\n cursor: pointer;\n display: inline-block;\n font-size: 18px;\n padding: 0 3px;\n}\n.w-e-toolbar *,\n.w-e-text-container *,\n.w-e-menu-panel * {\n padding: 0;\n margin: 0;\n box-sizing: border-box;\n}\n.w-e-toolbar hr,\n.w-e-text-container hr,\n.w-e-menu-panel hr {\n cursor: pointer;\n display: block;\n height: 0px;\n border: 0;\n border-top: 3px solid #ccc;\n margin: 20px 0;\n}\n.w-e-clear-fix:after {\n content: "";\n display: table;\n clear: both;\n}\n.w-e-drop-list-item {\n position: relative;\n top: 1px;\n padding-right: 7px;\n color: #333 !important;\n}\n.w-e-drop-list-tl {\n padding-left: 10px;\n text-align: left;\n}\n',""]),e.exports=t},function(e,t,n){var o=n(20),i=n(149);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21),i=n(150),r=n(151);t=o(!1);var a=i(r);t.push([e.i,"@font-face {\n font-family: 'w-e-icon';\n src: url("+a+') format(\'truetype\');\n font-weight: normal;\n font-style: normal;\n}\n[class^="w-e-icon-"],\n[class*=" w-e-icon-"] {\n /* use !important to prevent issues with browser extensions that change fonts */\n font-family: \'w-e-icon\' !important;\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n line-height: 1;\n /* Better Font Rendering =========== */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n.w-e-icon-close:before {\n content: "\\f00d";\n}\n.w-e-icon-upload2:before {\n content: "\\e9c6";\n}\n.w-e-icon-trash-o:before {\n content: "\\f014";\n}\n.w-e-icon-header:before {\n content: "\\f1dc";\n}\n.w-e-icon-pencil2:before {\n content: "\\e906";\n}\n.w-e-icon-paint-brush:before {\n content: "\\f1fc";\n}\n.w-e-icon-image:before {\n content: "\\e90d";\n}\n.w-e-icon-play:before {\n content: "\\e912";\n}\n.w-e-icon-location:before {\n content: "\\e947";\n}\n.w-e-icon-undo:before {\n content: "\\e965";\n}\n.w-e-icon-redo:before {\n content: "\\e966";\n}\n.w-e-icon-quotes-left:before {\n content: "\\e977";\n}\n.w-e-icon-list-numbered:before {\n content: "\\e9b9";\n}\n.w-e-icon-list2:before {\n content: "\\e9bb";\n}\n.w-e-icon-link:before {\n content: "\\e9cb";\n}\n.w-e-icon-happy:before {\n content: "\\e9df";\n}\n.w-e-icon-bold:before {\n content: "\\ea62";\n}\n.w-e-icon-underline:before {\n content: "\\ea63";\n}\n.w-e-icon-italic:before {\n content: "\\ea64";\n}\n.w-e-icon-strikethrough:before {\n content: "\\ea65";\n}\n.w-e-icon-table2:before {\n content: "\\ea71";\n}\n.w-e-icon-paragraph-left:before {\n content: "\\ea77";\n}\n.w-e-icon-paragraph-center:before {\n content: "\\ea78";\n}\n.w-e-icon-paragraph-right:before {\n content: "\\ea79";\n}\n.w-e-icon-paragraph-justify:before {\n content: "\\ea7a";\n}\n.w-e-icon-terminal:before {\n content: "\\f120";\n}\n.w-e-icon-page-break:before {\n content: "\\ea68";\n}\n.w-e-icon-cancel-circle:before {\n content: "\\ea0d";\n}\n.w-e-icon-font:before {\n content: "\\ea5c";\n}\n.w-e-icon-text-heigh:before {\n content: "\\ea5f";\n}\n.w-e-icon-paint-format:before {\n content: "\\e90c";\n}\n.w-e-icon-indent-increase:before {\n content: "\\ea7b";\n}\n.w-e-icon-indent-decrease:before {\n content: "\\ea7c";\n}\n.w-e-icon-row-height:before {\n content: "\\e9be";\n}\n.w-e-icon-fullscreen_exit:before {\n content: "\\e900";\n}\n.w-e-icon-fullscreen:before {\n content: "\\e901";\n}\n.w-e-icon-split-line:before {\n content: "\\ea0b";\n}\n.w-e-icon-checkbox-checked:before {\n content: "\\ea52";\n}\n',""]),e.exports=t},function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),e=e&&e.__esModule?e.default:e,"string"!==typeof e?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},function(e,t,n){"use strict";n.r(t),t["default"]="data:font/woff;base64,d09GRgABAAAAABskAAsAAAAAGtgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABPUy8yAAABCAAAAGAAAABgDxIPFWNtYXAAAAFoAAABHAAAARz2mfAgZ2FzcAAAAoQAAAAIAAAACAAAABBnbHlmAAACjAAAFXwAABV8IH7+mGhlYWQAABgIAAAANgAAADYb6gumaGhlYQAAGEAAAAAkAAAAJAkjBWlobXR4AAAYZAAAAKQAAACkmYcEbmxvY2EAABkIAAAAVAAAAFReAmKYbWF4cAAAGVwAAAAgAAAAIAA0ALZuYW1lAAAZfAAAAYYAAAGGmUoJ+3Bvc3QAABsEAAAAIAAAACAAAwAAAAMD7wGQAAUAAAKZAswAAACPApkCzAAAAesAMwEJAAAAAAAAAAAAAAAAAAAAARAAAAAAAAAAAAAAAAAAAAAAQAAA8fwDwP/AAEADwABAAAAAAQAAAAAAAAAAAAAAIAAAAAAAAwAAAAMAAAAcAAEAAwAAABwAAwABAAAAHAAEAQAAAAA8ACAABAAcAAEAIOkB6QbpDekS6UfpZul36bnpu+m+6cbpy+nf6gvqDepS6lzqX+pl6nHqfPAN8BTxIPHc8fz//f//AAAAAAAg6QDpBukM6RLpR+ll6Xfpuem76b7pxunL6d/qC+oN6lLqXOpf6mLqcep38A3wFPEg8dzx/P/9//8AAf/jFwQXABb7FvcWwxamFpYWVRZUFlIWSxZHFjQWCRYIFcQVuxW5FbcVrBWnEBcQEQ8GDksOLAADAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAAEAEEAAQO/A38ABQALABEAFwAAATMVIREzAxEhFSMVATUzESE1ETUhESM1Av/A/sJ+fgE+wP4Cfv7CAT5+Ar9+AT78ggE+fsACvsD+wn7+An7+wsAAAAAABABBAAEDvwN/AAUACwARABcAAAEhESM1IxM1MxEhNQERIRUjFREVMxUhEQKBAT5+wMB+/sL9wAE+wMD+wgN//sLA/X7A/sJ+AcIBPn7A/v7AfgE+AAAAAAIAAP/ABAADwAAEABMAAAE3AScBAy4BJxM3ASMBAyUBNQEHAYCAAcBA/kCfFzsyY4ABgMD+gMACgAGA/oBOAUBAAcBA/kD+nTI7FwERTgGA/oD9gMABgMD+gIAAAgAA/8AEAAOAACkALQAAAREjNTQmIyEiBh0BFBYzITI2PQEzESEVIyIGFREUFjsBMjY1ETQmKwE1ASE1IQQAwCYa/UAaJiYaAsAaJoD9wCANExMNgA0TEw0gAUD9QALAAYABgEAaJiYawBomJhpA/wCAEw3+wA0TEw0BQA0TQAGAQAAABAAAAAAEAAOAABAAIQAtADQAAAE4ATEROAExITgBMRE4ATEhNSEiBhURFBYzITI2NRE0JiMHFAYjIiY1NDYzMhYTITUTATM3A8D8gAOA/IAaJiYaA4AaJiYagDgoKDg4KCg4QP0A4AEAQOADQP0AAwBAJhr9ABomJhoDABom4Cg4OCgoODj9uIABgP7AwAAAAgAAAEAEAANAADgAPAAAASYnLgEnJiMiBw4BBwYHBgcOAQcGFRQXHgEXFhcWFx4BFxYzMjc+ATc2NzY3PgE3NjU0Jy4BJyYnARENAQPVNjg5djw9Pz89PHY5ODYLBwgLAwMDAwsIBws2ODl2PD0/Pz08djk4NgsHCAsDAwMDCwgHC/2rAUD+wAMgCAYGCAICAgIIBgYIKSoqWS0uLy8uLVkqKikIBgYIAgICAggGBggpKipZLS4vLy4tWSoqKf3gAYDAwAAAAAACAMD/wANAA8AAGwAnAAABIgcOAQcGFRQXHgEXFjEwNz4BNzY1NCcuAScmAyImNTQ2MzIWFRQGAgBCOzpXGRkyMngyMjIyeDIyGRlXOjtCUHBwUFBwcAPAGRlXOjtCeH19zEFBQUHMfX14Qjs6VxkZ/gBwUFBwcFBQcAAAAQAAAAAEAAOAACsAAAEiBw4BBwYHJxEhJz4BMzIXHgEXFhUUBw4BBwYHFzY3PgE3NjU0Jy4BJyYjAgA1MjJcKSkjlgGAkDWLUFBFRmkeHgkJIhgYHlUoICAtDAwoKIteXWoDgAoLJxscI5b+gJA0PB4eaUZFUCsoKUkgIRpgIysrYjY2OWpdXosoKAABAAAAAAQAA4AAKgAAExQXHgEXFhc3JicuAScmNTQ3PgE3NjMyFhcHIREHJicuAScmIyIHDgEHBgAMDC0gIChVHhgYIgkJHh5pRkVQUIs1kAGAliMpKVwyMjVqXV6LKCgBgDk2NmIrKyNgGiEgSSkoK1BFRmkeHjw0kAGAliMcGycLCigoi15dAAAAAAIAAABABAEDAAAmAE0AABMyFx4BFxYVFAcOAQcGIyInLgEnJjUnNDc+ATc2MxUiBgcOAQc+ASEyFx4BFxYVFAcOAQcGIyInLgEnJjUnNDc+ATc2MxUiBgcOAQc+AeEuKSk9ERISET0pKS4uKSk9ERIBIyN6UlFdQHUtCRAHCBICSS4pKT0REhIRPSkpLi4pKT0REgEjI3pSUV1AdS0JEAcIEgIAEhE9KSkuLikpPRESEhE9KSkuIF1RUnojI4AwLggTCgIBEhE9KSkuLikpPRESEhE9KSkuIF1RUnojI4AwLggTCgIBAAAGAED/wAQAA8AAAwAHAAsAEQAdACkAACUhFSERIRUhESEVIScRIzUjNRMVMxUjNTc1IzUzFRURIzUzNSM1MzUjNQGAAoD9gAKA/YACgP2AwEBAQIDAgIDAwICAgICAgAIAgAIAgMD/AMBA/fIyQJI8MkCS7v7AQEBAQEAABgAA/8AEAAPAAAMABwALABcAIwAvAAABIRUhESEVIREhFSEBNDYzMhYVFAYjIiYRNDYzMhYVFAYjIiYRNDYzMhYVFAYjIiYBgAKA/YACgP2AAoD9gP6ASzU1S0s1NUtLNTVLSzU1S0s1NUtLNTVLA4CA/wCA/wCAA0A1S0s1NUtL/rU1S0s1NUtL/rU1S0s1NUtLAAUAAABABWADAAADAAcACwAOABEAABMhFSEVIRUhFSEVIQEXNzUnBwADgPyAA4D8gAOA/IAD4MDAwMADAMBAwEDAAUDAwEDAwAAAAAADAAAAAAQAA6AAAwANABQAADchFSElFSE1EyEVITUhJQkBIxEjEQAEAPwABAD8AIABAAEAAQD9YAEgASDggEBAwEBAAQCAgMABIP7g/wABAAAAAAACAB7/zAPiA7QAMwBkAAABIiYnJicmNDc2PwE+ATMyFhcWFxYUBwYPAQYiJyY0PwE2NCcuASMiBg8BBhQXFhQHDgEjAyImJyYnJjQ3Nj8BNjIXFhQPAQYUFx4BMzI2PwE2NCcmNDc2MhcWFxYUBwYPAQ4BIwG4ChMIIxISEhIjwCNZMTFZIyMSEhISI1gPLA8PD1gpKRQzHBwzFMApKQ8PCBMKuDFZIyMSEhISI1gPLA8PD1gpKRQzHBwzFMApKQ8PDysQIxISEhIjwCNZMQFECAckLS1eLS0kwCIlJSIkLS1eLS0kVxAQDysPWCl0KRQVFRTAKXQpDysQBwj+iCUiJC0tXi0tJFcQEA8rD1gpdCkUFRUUwCl0KQ8rEA8PJC0tXi0tJMAiJQAAAAAFAAD/wAQAA8AAGwA3AFMAXwBrAAAFMjc+ATc2NTQnLgEnJiMiBw4BBwYVFBceARcWEzIXHgEXFhUUBw4BBwYjIicuAScmNTQ3PgE3NhMyNz4BNzY3BgcOAQcGIyInLgEnJicWFx4BFxYnNDYzMhYVFAYjIiYlNDYzMhYVFAYjIiYCAGpdXosoKCgoi15dampdXosoKCgoi15dalZMTHEgISEgcUxMVlZMTHEgISEgcUxMVisrKlEmJiMFHBtWODc/Pzc4VhscBSMmJlEqK9UlGxslJRsbJQGAJRsbJSUbGyVAKCiLXl1qal1eiygoKCiLXl1qal1eiygoA6AhIHFMTFZWTExxICEhIHFMTFZWTExxICH+CQYGFRAQFEM6OlYYGRkYVjo6QxQQEBUGBvcoODgoKDg4KCg4OCgoODgAAAEAAAFABAACQAAPAAATFRQWMyEyNj0BNCYjISIGABMNA8ANExMN/EANEwIgwA0TEw3ADRMTAAAAAwAA/8AEAAPAABsANwBDAAABIgcOAQcGFRQXHgEXFjMyNz4BNzY1NCcuAScmAyInLgEnJjU0Nz4BNzYzMhceARcWFRQHDgEHBhMHJwcXBxc3FzcnNwIAal1eiygoKCiLXl1qal1eiygoKCiLXl1qVkxMcSAhISBxTExWVkxMcSAhISBxTExKoKBgoKBgoKBgoKADwCgoi15dampdXosoKCgoi15dampdXosoKPxgISBxTExWVkxMcSAhISBxTExWVkxMcSAhAqCgoGCgoGCgoGCgoAACAAD/wAQAA8AADwAVAAABISIGFREUFjMhMjY1ETQmASc3FwEXA4D9ADVLSzUDADVLS/4L7VqTATNaA8BLNf0ANUtLNQMANUv85e5akgEyWgAAAAABAGX/wAObA8AAKQAAASImIyIHDgEHBhUUFjMuATU0NjcwBwYCBwYHFSETMzcjNx4BMzI2Nw4BAyBEaEZxU1RtGhtJSAYNZUoQEEs8PFkBPWzGLNc0LVUmLlAYHT0DsBAeHWE+P0FNOwsmN5lvA31+/sWPkCMZAgCA9gkPN2sJBwAAAAACAAAAAAQAA4AACQAXAAAlMwcnMxEjNxcjJREnIxEzFSE1MxEjBxEDgICgoICAoKCA/wBAwID+gIDAQMDAwAIAwMDA/wCA/UBAQALAgAEAAAMAwAAAA0ADgAAWAB8AKAAAAT4BNTQnLgEnJiMhESEyNz4BNzY1NCYBMzIWFRQGKwETIxEzMhYVFAYCxBwgFBRGLi81/sABgDUvLkYUFET+hGUqPDwpZp+fnyw+PgHbIlQvNS8uRhQU/IAUFEYuLzVGdAFGSzU1S/6AAQBLNTVLAAAAAAIAwAAAA0ADgAAfACMAAAEzERQHDgEHBiMiJy4BJyY1ETMRFBYXHgEzMjY3PgE1ASEVIQLAgBkZVzo7QkI7OlcZGYAbGBxJKChJHBgb/gACgP2AA4D+YDw0NU4WFxcWTjU0PAGg/mAeOBcYGxsYFzge/qCAAAAAAAEAgAAAA4ADgAALAAABFSMBMxUhNTMBIzUDgID+wID+QIABQIADgED9AEBAAwBAAAEAAAAABAADgAA9AAABFSMeARUUBgcOASMiJicuATUzFBYzMjY1NCYjITUhLgEnLgE1NDY3PgEzMhYXHgEVIzQmIyIGFRQWMzIWFwQA6xUWNTAscT4+cSwwNYByTk5yck7+AAEsAgQBMDU1MCxxPj5xLDA1gHJOTnJyTjtuKwHAQB1BIjViJCEkJCEkYjU0TEw0NExAAQMBJGI1NWIkISQkISRiNTRMTDQ0TCEfAAAACgAAAAAEAAOAAAMABwALAA8AEwAXABsAHwAjACcAABMRIREBNSEVHQEhNQEVITUjFSE1ESEVISUhFSERNSEVASEVISE1IRUABAD9gAEA/wABAP8AQP8AAQD/AAKAAQD/AAEA/IABAP8AAoABAAOA/IADgP3AwMBAwMACAMDAwMD/AMDAwAEAwMD+wMDAwAAABQAAAAAEAAOAAAMABwALAA8AEwAAEyEVIRUhFSERIRUhESEVIREhFSEABAD8AAKA/YACgP2ABAD8AAQA/AADgIBAgP8AgAFAgP8AgAAAAAAFAAAAAAQAA4AAAwAHAAsADwATAAATIRUhFyEVIREhFSEDIRUhESEVIQAEAPwAwAKA/YACgP2AwAQA/AAEAPwAA4CAQID/AIABQID/AIAAAAUAAAAABAADgAADAAcACwAPABMAABMhFSEFIRUhESEVIQEhFSERIRUhAAQA/AABgAKA/YACgP2A/oAEAPwABAD8AAOAgECA/wCAAUCA/wCAAAAAAAUAAAAABAADgAADAAcACwAPABMAABMhFSEVIRUhFSEVIRUhFSEVIRUhAAQA/AAEAPwABAD8AAQA/AAEAPwAA4CAQIBAgECAQIAAAAAGAAAAAAQAA4AAAwAHAAsADwATABYAABMhFSEFIRUhFSEVIRUhFSEFIRUhGQEFAAQA/AABgAKA/YACgP2AAoD9gP6ABAD8AAEAA4CAQIBAgECAQIABAAGAwAAAAAYAAAAABAADgAADAAcACwAPABMAFgAAEyEVIQUhFSEVIRUhFSEVIQUhFSEBESUABAD8AAGAAoD9gAKA/YACgP2A/oAEAPwAAQD/AAOAgECAQIBAgECAAoD+gMAAAQA/AD8C5gLmACwAACUUDwEGIyIvAQcGIyIvASY1ND8BJyY1ND8BNjMyHwE3NjMyHwEWFRQPARcWFQLmEE4QFxcQqKgQFxYQThAQqKgQEE4QFhcQqKgQFxcQThAQqKgQwxYQThAQqKgQEE4QFhcQqKgQFxcQThAQqKgQEE4QFxcQqKgQFwAAAAYAAAAAAyUDbgAUACgAPABNAFUAggAAAREUBwYrASInJjURNDc2OwEyFxYVMxEUBwYrASInJjURNDc2OwEyFxYXERQHBisBIicmNRE0NzY7ATIXFhMRIREUFxYXFjMhMjc2NzY1ASEnJicjBgcFFRQHBisBERQHBiMhIicmNREjIicmPQE0NzY7ATc2NzY7ATIXFh8BMzIXFhUBJQYFCCQIBQYGBQgkCAUGkgUFCCUIBQUFBQglCAUFkgUFCCUIBQUFBQglCAUFSf4ABAQFBAIB2wIEBAQE/oABABsEBrUGBAH3BgUINxobJv4lJhsbNwgFBQUFCLEoCBcWF7cXFhYJKLAIBQYCEv63CAUFBQUIAUkIBQYGBQj+twgFBQUFCAFJCAUGBgUI/rcIBQUFBQgBSQgFBgYF/lsCHf3jDQsKBQUFBQoLDQJmQwUCAgVVJAgGBf3jMCIjISIvAiAFBggkCAUFYBUPDw8PFWAFBQgAAgAHAEkDtwKvABoALgAACQEGIyIvASY1ND8BJyY1ND8BNjMyFwEWFRQHARUUBwYjISInJj0BNDc2MyEyFxYBTv72BgcIBR0GBuHhBgYdBQgHBgEKBgYCaQUFCP3bCAUFBQUIAiUIBQUBhf72BgYcBggHBuDhBgcHBh0FBf71BQgHBv77JQgFBQUFCCUIBQUFBQAAAAEAIwAAA90DbgCzAAAlIicmIyIHBiMiJyY1NDc2NzY3Njc2PQE0JyYjISIHBh0BFBcWFxYzFhcWFRQHBiMiJyYjIgcGIyInJjU0NzY3Njc2NzY9ARE0NTQ1NCc0JyYnJicmJyYnJiMiJyY1NDc2MzIXFjMyNzYzMhcWFRQHBiMGBwYHBh0BFBcWMyEyNzY9ATQnJicmJyY1NDc2MzIXFjMyNzYzMhcWFRQHBgciBwYHBhURFBcWFxYXMhcWFRQHBiMDwRkzMhoZMjMZDQgHCQoNDBEQChIBBxX+fhYHARUJEhMODgwLBwcOGzU1GhgxMRgNBwcJCQsMEA8JEgECAQIDBAQFCBIRDQ0KCwcHDho1NRoYMDEYDgcHCQoMDRAQCBQBBw8BkA4HARQKFxcPDgcHDhkzMhkZMTEZDgcHCgoNDRARCBQUCRERDg0KCwcHDgACAgICDAsPEQkJAQEDAwUMROAMBQMDBQzUUQ0GAQIBCAgSDwwNAgICAgwMDhEICQECAwMFDUUhAdACDQ0ICA4OCgoLCwcHAwYBAQgIEg8MDQICAgINDA8RCAgBAgEGDFC2DAcBAQcMtlAMBgEBBgcWDwwNAgICAg0MDxEICAEBAgYNT/3mRAwGAgIBCQgRDwwNAAACAAD/twP/A7cAEwA5AAABMhcWFRQHAgcGIyInJjU0NwE2MwEWFxYfARYHBiMiJyYnJicmNRYXFhcWFxYzMjc2NzY3Njc2NzY3A5soHh4avkw3RUg0NDUBbSEp/fgXJicvAQJMTHtHNjYhIRARBBMUEBASEQkXCA8SExUVHR0eHikDtxsaKCQz/plGNDU0SUkwAUsf/bErHx8NKHpNTBobLi86OkQDDw4LCwoKFiUbGhERCgsEBAIAAQAAAAAAAIWwaoFfDzz1AAsEAAAAAADbteOZAAAAANu145kAAP+3BWADwAAAAAgAAgAAAAAAAAABAAADwP/AAAAFgAAA//8FYAABAAAAAAAAAAAAAAAAAAAAKQQAAAAAAAAAAAAAAAIAAAAEAABBBAAAQQQAAAAEAAAABAAAAAQAAAAEAADABAAAAAQAAAAEAAAABAAAQAQAAAAFgAAABAAAAAQAAB4EAAAABAAAAAQAAAAEAAAABAAAZQQAAAAEAADABAAAwAQAAIAEAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAAAABAAAAAMlAD8DJQAAA74ABwQAACMD/wAAAAAAAAAKABQAHgBKAHYApADmAS4BkgHQAhYCXALQAw4DWAN+A6gEPgTeBPoFZAWOBdAF+AY6BnYGjgbmBy4HVgd+B6gHzgf8CCoIbgkmCXAKYgq+AAEAAAApALQACgAAAAAAAgAAAAAAAAAAAAAAAAAAAAAAAAAOAK4AAQAAAAAAAQAHAAAAAQAAAAAAAgAHAGAAAQAAAAAAAwAHADYAAQAAAAAABAAHAHUAAQAAAAAABQALABUAAQAAAAAABgAHAEsAAQAAAAAACgAaAIoAAwABBAkAAQAOAAcAAwABBAkAAgAOAGcAAwABBAkAAwAOAD0AAwABBAkABAAOAHwAAwABBAkABQAWACAAAwABBAkABgAOAFIAAwABBAkACgA0AKRpY29tb29uAGkAYwBvAG0AbwBvAG5WZXJzaW9uIDEuMABWAGUAcgBzAGkAbwBuACAAMQAuADBpY29tb29uAGkAYwBvAG0AbwBvAG5pY29tb29uAGkAYwBvAG0AbwBvAG5SZWd1bGFyAFIAZQBnAHUAbABhAHJpY29tb29uAGkAYwBvAG0AbwBvAG5Gb250IGdlbmVyYXRlZCBieSBJY29Nb29uLgBGAG8AbgB0ACAAZwBlAG4AZQByAGEAdABlAGQAIABiAHkAIABJAGMAbwBNAG8AbwBuAC4AAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"},function(e,t,n){var o=n(20),i=n(153);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,'.w-e-toolbar {\n display: flex;\n padding: 0 6px;\n flex-wrap: wrap;\n position: relative;\n /* 单个菜单 */\n}\n.w-e-toolbar .w-e-menu {\n position: relative;\n display: flex;\n width: 40px;\n height: 40px;\n align-items: center;\n justify-content: center;\n text-align: center;\n cursor: pointer;\n}\n.w-e-toolbar .w-e-menu i {\n color: #999;\n}\n.w-e-toolbar .w-e-menu:hover {\n background-color: #F6F6F6;\n}\n.w-e-toolbar .w-e-menu:hover i {\n color: #333;\n}\n.w-e-toolbar .w-e-active i {\n color: #1e88e5;\n}\n.w-e-toolbar .w-e-active:hover i {\n color: #1e88e5;\n}\n.w-e-menu-tooltip {\n position: absolute;\n display: flex;\n color: #f1f1f1;\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n padding: 4px 5px 6px;\n justify-content: center;\n align-items: center;\n}\n.w-e-menu-tooltip-up::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-top-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-menu-tooltip-down::after {\n content: "";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-bottom-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-menu-tooltip-item-wrapper {\n font-size: 14px;\n margin: 0 5px;\n}\n',""]),e.exports=t},function(e,t,n){var o=n(20),i=n(155);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,'.w-e-text-container {\n position: relative;\n height: 100%;\n}\n.w-e-text-container .w-e-progress {\n position: absolute;\n background-color: #1e88e5;\n top: 0;\n left: 0;\n height: 1px;\n}\n.w-e-text-container .placeholder {\n color: #D4D4D4;\n position: absolute;\n font-size: 11pt;\n line-height: 22px;\n left: 10px;\n top: 10px;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n z-index: -1;\n}\n.w-e-text {\n padding: 0 10px;\n overflow-y: auto;\n}\n.w-e-text p,\n.w-e-text h1,\n.w-e-text h2,\n.w-e-text h3,\n.w-e-text h4,\n.w-e-text h5,\n.w-e-text table,\n.w-e-text pre {\n margin: 10px 0;\n line-height: 1.5;\n}\n.w-e-text ul,\n.w-e-text ol {\n margin: 10px 0 10px 20px;\n}\n.w-e-text blockquote {\n display: block;\n border-left: 8px solid #d0e5f2;\n padding: 5px 10px;\n margin: 10px 0;\n line-height: 1.4;\n font-size: 100%;\n background-color: #f1f1f1;\n}\n.w-e-text code {\n display: inline-block;\n background-color: #f1f1f1;\n border-radius: 3px;\n padding: 3px 5px;\n margin: 0 3px;\n}\n.w-e-text pre code {\n display: block;\n}\n.w-e-text table {\n border-top: 1px solid #ccc;\n border-left: 1px solid #ccc;\n}\n.w-e-text table td,\n.w-e-text table th {\n border-bottom: 1px solid #ccc;\n border-right: 1px solid #ccc;\n padding: 3px 5px;\n min-height: 30px;\n height: 30px;\n}\n.w-e-text table th {\n border-bottom: 2px solid #ccc;\n text-align: center;\n background-color: #f1f1f1;\n}\n.w-e-text:focus {\n outline: none;\n}\n.w-e-text img {\n cursor: pointer;\n}\n.w-e-text img:hover {\n box-shadow: 0 0 5px #333;\n}\n.w-e-text .w-e-todo {\n margin: 0 0 0 20px;\n}\n.w-e-text .w-e-todo li {\n list-style: none;\n font-size: 1em;\n}\n.w-e-text .w-e-todo li span:nth-child(1) {\n position: relative;\n left: -18px;\n}\n.w-e-text .w-e-todo li span:nth-child(1) input {\n position: absolute;\n margin-right: 3px;\n}\n.w-e-text .w-e-todo li span:nth-child(1) input[type=checkbox] {\n top: 50%;\n margin-top: -6px;\n}\n.w-e-tooltip {\n position: absolute;\n display: flex;\n color: #f1f1f1;\n background-color: rgba(0, 0, 0, 0.75);\n box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.15);\n border-radius: 4px;\n padding: 4px 5px 6px;\n justify-content: center;\n align-items: center;\n}\n.w-e-tooltip-up::after {\n content: "";\n position: absolute;\n top: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-top-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-tooltip-down::after {\n content: "";\n position: absolute;\n bottom: 100%;\n left: 50%;\n margin-left: -5px;\n border: 5px solid rgba(0, 0, 0, 0);\n border-bottom-color: rgba(0, 0, 0, 0.73);\n}\n.w-e-tooltip-item-wrapper {\n cursor: pointer;\n font-size: 14px;\n margin: 0 5px;\n}\n.w-e-tooltip-item-wrapper:hover {\n color: #ccc;\n text-decoration: underline;\n}\n',""]),e.exports=t},function(e,t,n){var o=n(20),i=n(157);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,'.w-e-menu .w-e-panel-container {\n position: absolute;\n top: 0;\n left: 50%;\n border: 1px solid #ccc;\n border-top: 0;\n box-shadow: 1px 1px 2px #ccc;\n color: #333;\n background-color: #fff;\n text-align: left;\n /* 为 emotion panel 定制的样式 */\n /* 上传图片、上传视频的 panel 定制样式 */\n}\n.w-e-menu .w-e-panel-container .w-e-panel-close {\n position: absolute;\n right: 0;\n top: 0;\n padding: 5px;\n margin: 2px 5px 0 0;\n cursor: pointer;\n color: #999;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-close:hover {\n color: #333;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title {\n list-style: none;\n display: flex;\n font-size: 14px;\n margin: 2px 10px 0 10px;\n border-bottom: 1px solid #f1f1f1;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-item {\n padding: 3px 5px;\n color: #999;\n cursor: pointer;\n margin: 0 3px;\n position: relative;\n top: 1px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-title .w-e-active {\n color: #333;\n border-bottom: 1px solid #333;\n cursor: default;\n font-weight: 700;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content {\n padding: 10px 15px 10px 15px;\n font-size: 16px;\n /* 输入框的样式 */\n /* 按钮的样式 */\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input:focus,\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus,\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content button:focus {\n outline: none;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea {\n width: 100%;\n border: 1px solid #ccc;\n padding: 5px;\n margin-top: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content textarea:focus {\n border-color: #1e88e5;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text] {\n border: none;\n border-bottom: 1px solid #ccc;\n font-size: 14px;\n height: 20px;\n color: #333;\n text-align: left;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].small {\n width: 30px;\n text-align: center;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text].block {\n display: block;\n width: 100%;\n margin: 10px 0;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content input[type=text]:focus {\n border-bottom: 2px solid #1e88e5;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button {\n font-size: 14px;\n color: #1e88e5;\n border: none;\n padding: 5px 10px;\n background-color: #fff;\n cursor: pointer;\n border-radius: 3px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.left {\n float: left;\n margin-right: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.right {\n float: right;\n margin-left: 10px;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.gray {\n color: #999;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button.red {\n color: #c24f4a;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container button:hover {\n background-color: #f1f1f1;\n}\n.w-e-menu .w-e-panel-container .w-e-panel-tab-content .w-e-button-container:after {\n content: "";\n display: table;\n clear: both;\n}\n.w-e-menu .w-e-panel-container .w-e-emoticon-container .w-e-item {\n cursor: pointer;\n font-size: 18px;\n padding: 0 3px;\n display: inline-block;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container,\n.w-e-menu .w-e-panel-container .w-e-up-video-container {\n text-align: center;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn,\n.w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn {\n display: inline-block;\n color: #999;\n cursor: pointer;\n font-size: 60px;\n line-height: 1;\n}\n.w-e-menu .w-e-panel-container .w-e-up-img-container .w-e-up-btn:hover,\n.w-e-menu .w-e-panel-container .w-e-up-video-container .w-e-up-btn:hover {\n color: #333;\n}\n',""]),e.exports=t},function(e,t,n){var o=n(20),i=n(159);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,".w-e-toolbar .w-e-droplist {\n position: absolute;\n left: 0;\n top: 0;\n background-color: #fff;\n border: 1px solid #f1f1f1;\n border-right-color: #ccc;\n border-bottom-color: #ccc;\n}\n.w-e-toolbar .w-e-droplist .w-e-dp-title {\n text-align: center;\n color: #999;\n line-height: 2;\n border-bottom: 1px solid #f1f1f1;\n font-size: 13px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list {\n list-style: none;\n line-height: 1;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item {\n color: #333;\n padding: 5px 0;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-list li.w-e-item:hover {\n background-color: #f1f1f1;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block {\n list-style: none;\n text-align: left;\n padding: 5px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item {\n display: inline-block;\n padding: 3px 5px;\n}\n.w-e-toolbar .w-e-droplist ul.w-e-block li.w-e-item:hover {\n background-color: #f1f1f1;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var o=n(0),i=o(n(161));Element.prototype.matches||(Element.prototype.matches=function(e){var t=this.ownerDocument.querySelectorAll(e),n=t.length;for(n;n>=0;n--)if(t.item(n)===this)break;return n>-1}),i["default"]||(window.Promise=i["default"])},function(e,t,n){e.exports=n(162)},function(e,t,n){var o=n(163);e.exports=o},function(e,t,n){n(61),n(50),n(54),n(175),n(178),n(179);var o=n(9);e.exports=o.Promise},function(e,t,n){var o=n(62),i=n(49),r=function(e){return function(t,n){var r,a,l=String(i(t)),u=o(n),s=l.length;return u<0||u>=s?e?"":void 0:(r=l.charCodeAt(u),r<55296||r>56319||u+1===s||(a=l.charCodeAt(u+1))<56320||a>57343?e?l.charAt(u):r:e?l.slice(u,u+2):a-56320+(r-55296<<10)+65536)}};e.exports={codeAt:r(!1),charAt:r(!0)}},function(e,t,n){var o=n(8),i=n(102),r=o.WeakMap;e.exports="function"===typeof r&&/native code/.test(i(r))},function(e,t,n){var o=n(8),i=n(19);e.exports=function(e,t){try{i(o,e,t)}catch(n){o[e]=t}return t}},function(e,t,n){"use strict";var o=n(104).IteratorPrototype,i=n(77),r=n(48),a=n(37),l=n(44),u=function(){return this};e.exports=function(e,t,n){var s=t+" Iterator";return e.prototype=i(o,{next:r(1,n)}),a(e,s,!1,!0),l[s]=u,e}},function(e,t,n){var o=n(11);e.exports=!o((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var o=n(14),i=n(18),r=n(25),a=n(52);e.exports=o?Object.defineProperties:function(e,t){r(e);var n,o=a(t),l=o.length,u=0;while(l>u)i.f(e,n=o[u++],t[n]);return e}},function(e,t,n){"use strict";var o=n(81),i=n(65);e.exports=o?{}.toString:function(){return"[object "+i(this)+"]"}},function(e,t,n){var o=n(25),i=n(172);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,e.call(n,[]),t=n instanceof Array}catch(r){}return function(n,r){return o(n),i(r),t?e.call(n,r):n.__proto__=r,n}}():void 0)},function(e,t,n){var o=n(13);e.exports=function(e){if(!o(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var o=n(30),i=n(82),r=n(44),a=n(42),l=n(75),u="Array Iterator",s=a.set,c=a.getterFor(u);e.exports=l(Array,"Array",(function(e,t){s(this,{type:u,target:o(e),index:0,kind:t})}),(function(){var e=c(this),t=e.target,n=e.kind,o=e.index++;return!t||o>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:o,done:!1}:"values"==n?{value:t[o],done:!1}:{value:[o,t[o]],done:!1}}),"values"),r.Arguments=r.Array,i("keys"),i("values"),i("entries")},function(e,t){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(e,t,n){"use strict";var o,i,r,a,l=n(5),u=n(43),s=n(8),c=n(36),f=n(109),d=n(53),p=n(110),v=n(37),h=n(111),A=n(13),m=n(41),g=n(83),y=n(34),w=n(102),x=n(66),_=n(115),E=n(116),b=n(117).set,C=n(176),S=n(119),M=n(177),k=n(85),D=n(120),N=n(42),T=n(101),B=n(10),I=n(86),R=B("species"),P="Promise",H=N.get,F=N.set,L=N.getterFor(P),Q=f,O=s.TypeError,U=s.document,j=s.process,Y=c("fetch"),z=k.f,$=z,V="process"==y(j),G=!!(U&&U.createEvent&&s.dispatchEvent),J="unhandledrejection",K="rejectionhandled",W=0,q=1,X=2,Z=1,ee=2,te=T(P,(function(){var e=w(Q)!==String(Q);if(!e){if(66===I)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!Q.prototype["finally"])return!0;if(I>=51&&/native code/.test(Q))return!1;var t=Q.resolve(1),n=function(e){e((function(){}),(function(){}))},o=t.constructor={};return o[R]=n,!(t.then((function(){}))instanceof n)})),ne=te||!_((function(e){Q.all(e)["catch"]((function(){}))})),oe=function(e){var t;return!(!A(e)||"function"!=typeof(t=e.then))&&t},ie=function(e,t,n){if(!t.notified){t.notified=!0;var o=t.reactions;C((function(){var i=t.value,r=t.state==q,a=0;while(o.length>a){var l,u,s,c=o[a++],f=r?c.ok:c.fail,d=c.resolve,p=c.reject,v=c.domain;try{f?(r||(t.rejection===ee&&ue(e,t),t.rejection=Z),!0===f?l=i:(v&&v.enter(),l=f(i),v&&(v.exit(),s=!0)),l===c.promise?p(O("Promise-chain cycle")):(u=oe(l))?u.call(l,d,p):d(l)):p(i)}catch(h){v&&!s&&v.exit(),p(h)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ae(e,t)}))}},re=function(e,t,n){var o,i;G?(o=U.createEvent("Event"),o.promise=t,o.reason=n,o.initEvent(e,!1,!0),s.dispatchEvent(o)):o={promise:t,reason:n},(i=s["on"+e])?i(o):e===J&&M("Unhandled promise rejection",n)},ae=function(e,t){b.call(s,(function(){var n,o=t.value,i=le(t);if(i&&(n=D((function(){V?j.emit("unhandledRejection",o,e):re(J,e,o)})),t.rejection=V||le(t)?ee:Z,n.error))throw n.value}))},le=function(e){return e.rejection!==Z&&!e.parent},ue=function(e,t){b.call(s,(function(){V?j.emit("rejectionHandled",e):re(K,e,t.value)}))},se=function(e,t,n,o){return function(i){e(t,n,i,o)}},ce=function(e,t,n,o){t.done||(t.done=!0,o&&(t=o),t.value=n,t.state=X,ie(e,t,!0))},fe=function(e,t,n,o){if(!t.done){t.done=!0,o&&(t=o);try{if(e===n)throw O("Promise can't be resolved itself");var i=oe(n);i?C((function(){var o={done:!1};try{i.call(n,se(fe,e,o,t),se(ce,e,o,t))}catch(r){ce(e,o,r,t)}})):(t.value=n,t.state=q,ie(e,t,!1))}catch(r){ce(e,{done:!1},r,t)}}};te&&(Q=function(e){g(this,Q,P),m(e),o.call(this);var t=H(this);try{e(se(fe,this,t),se(ce,this,t))}catch(n){ce(this,t,n)}},o=function(e){F(this,{type:P,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:W,value:void 0})},o.prototype=p(Q.prototype,{then:function(e,t){var n=L(this),o=z(E(this,Q));return o.ok="function"!=typeof e||e,o.fail="function"==typeof t&&t,o.domain=V?j.domain:void 0,n.parent=!0,n.reactions.push(o),n.state!=W&&ie(this,n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new o,t=H(e);this.promise=e,this.resolve=se(fe,e,t),this.reject=se(ce,e,t)},k.f=z=function(e){return e===Q||e===r?new i(e):$(e)},u||"function"!=typeof f||(a=f.prototype.then,d(f.prototype,"then",(function(e,t){var n=this;return new Q((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof Y&&l({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return S(Q,Y.apply(s,arguments))}}))),l({global:!0,wrap:!0,forced:te},{Promise:Q}),v(Q,P,!1,!0),h(P),r=c(P),l({target:P,stat:!0,forced:te},{reject:function(e){var t=z(this);return t.reject.call(void 0,e),t.promise}}),l({target:P,stat:!0,forced:u||te},{resolve:function(e){return S(u&&this===r?Q:this,e)}}),l({target:P,stat:!0,forced:ne},{all:function(e){var t=this,n=z(t),o=n.resolve,i=n.reject,r=D((function(){var n=m(t.resolve),r=[],a=0,l=1;x(e,(function(e){var u=a++,s=!1;r.push(void 0),l++,n.call(t,e).then((function(e){s||(s=!0,r[u]=e,--l||o(r))}),i)})),--l||o(r)}));return r.error&&i(r.value),n.promise},race:function(e){var t=this,n=z(t),o=n.reject,i=D((function(){var i=m(t.resolve);x(e,(function(e){i.call(t,e).then(n.resolve,o)}))}));return i.error&&o(i.value),n.promise}})},function(e,t,n){var o,i,r,a,l,u,s,c,f=n(8),d=n(71).f,p=n(34),v=n(117).set,h=n(118),A=f.MutationObserver||f.WebKitMutationObserver,m=f.process,g=f.Promise,y="process"==p(m),w=d(f,"queueMicrotask"),x=w&&w.value;x||(o=function(){var e,t;y&&(e=m.domain)&&e.exit();while(i){t=i.fn,i=i.next;try{t()}catch(n){throw i?a():r=void 0,n}}r=void 0,e&&e.enter()},y?a=function(){m.nextTick(o)}:A&&!h?(l=!0,u=document.createTextNode(""),new A(o).observe(u,{characterData:!0}),a=function(){u.data=l=!l}):g&&g.resolve?(s=g.resolve(void 0),c=s.then,a=function(){c.call(s,o)}):a=function(){v.call(f,o)}),e.exports=x||function(e){var t={fn:e,next:void 0};r&&(r.next=t),i||(i=t,a()),r=t}},function(e,t,n){var o=n(8);e.exports=function(e,t){var n=o.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t,n){"use strict";var o=n(5),i=n(41),r=n(85),a=n(120),l=n(66);o({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=r.f(t),o=n.resolve,u=n.reject,s=a((function(){var n=i(t.resolve),r=[],a=0,u=1;l(e,(function(e){var i=a++,l=!1;r.push(void 0),u++,n.call(t,e).then((function(e){l||(l=!0,r[i]={status:"fulfilled",value:e},--u||o(r))}),(function(e){l||(l=!0,r[i]={status:"rejected",reason:e},--u||o(r))}))})),--u||o(r)}));return s.error&&u(s.value),n.promise}})},function(e,t,n){"use strict";var o=n(5),i=n(43),r=n(109),a=n(11),l=n(36),u=n(116),s=n(119),c=n(53),f=!!r&&a((function(){r.prototype["finally"].call({then:function(){}},(function(){}))}));o({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(e){var t=u(this,l("Promise")),n="function"==typeof e;return this.then(n?function(n){return s(t,e()).then((function(){return n}))}:e,n?function(n){return s(t,e()).then((function(){throw n}))}:e)}}),i||"function"!=typeof r||r.prototype["finally"]||c(r.prototype,"finally",l("Promise").prototype["finally"])},function(e,t,n){n(54);var o=n(181),i=n(65),r=Array.prototype,a={DOMTokenList:!0,NodeList:!0};e.exports=function(e){var t=e.forEach;return e===r||e instanceof Array&&t===r.forEach||a.hasOwnProperty(i(e))?o:t}},function(e,t,n){var o=n(182);e.exports=o},function(e,t,n){n(183);var o=n(15);e.exports=o("Array").forEach},function(e,t,n){"use strict";var o=n(5),i=n(184);o({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(e,t,n){"use strict";var o=n(32).forEach,i=n(67),r=n(22),a=i("forEach"),l=r("forEach");e.exports=a&&l?[].forEach:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}},function(e,t,n){var o=n(186);e.exports=o},function(e,t,n){n(187);var o=n(9);e.exports=o.Array.isArray},function(e,t,n){var o=n(5),i=n(55);o({target:"Array",stat:!0},{isArray:i})},function(e,t,n){var o=n(189);e.exports=o},function(e,t,n){var o=n(190),i=Array.prototype;e.exports=function(e){var t=e.map;return e===i||e instanceof Array&&t===i.map?o:t}},function(e,t,n){n(191);var o=n(15);e.exports=o("Array").map},function(e,t,n){"use strict";var o=n(5),i=n(32).map,r=n(56),a=n(22),l=r("map"),u=a("map");o({target:"Array",proto:!0,forced:!l||!u},{map:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var o=n(193);e.exports=o},function(e,t,n){var o=n(194),i=String.prototype;e.exports=function(e){var t=e.trim;return"string"===typeof e||e===i||e instanceof String&&t===i.trim?o:t}},function(e,t,n){n(195);var o=n(15);e.exports=o("String").trim},function(e,t,n){"use strict";var o=n(5),i=n(90).trim,r=n(196);o({target:"String",proto:!0,forced:r("trim")},{trim:function(){return i(this)}})},function(e,t,n){var o=n(11),i=n(68),r="​…᠎";e.exports=function(e){return o((function(){return!!i[e]()||r[e]()!=r||i[e].name!==e}))}},function(e,t,n){var o=n(198);e.exports=o},function(e,t,n){n(199),n(61),n(50),n(54);var o=n(9);e.exports=o.Map},function(e,t,n){"use strict";var o=n(122),i=n(124);e.exports=o("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t,n){var o=n(11);e.exports=!o((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var o=n(202);e.exports=o},function(e,t,n){var o=n(203),i=Array.prototype;e.exports=function(e){var t=e.indexOf;return e===i||e instanceof Array&&t===i.indexOf?o:t}},function(e,t,n){n(204);var o=n(15);e.exports=o("Array").indexOf},function(e,t,n){"use strict";var o=n(5),i=n(78).indexOf,r=n(67),a=n(22),l=[].indexOf,u=!!l&&1/[1].indexOf(1,-0)<0,s=r("indexOf"),c=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:u||!s||!c},{indexOf:function(e){return u?l.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var o=n(206);e.exports=o},function(e,t,n){var o=n(207),i=Array.prototype;e.exports=function(e){var t=e.splice;return e===i||e instanceof Array&&t===i.splice?o:t}},function(e,t,n){n(208);var o=n(15);e.exports=o("Array").splice},function(e,t,n){"use strict";var o=n(5),i=n(79),r=n(62),a=n(35),l=n(31),u=n(88),s=n(69),c=n(56),f=n(22),d=c("splice"),p=f("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,h=Math.min,A=9007199254740991,m="Maximum allowed length exceeded";o({target:"Array",proto:!0,forced:!d||!p},{splice:function(e,t){var n,o,c,f,d,p,g=l(this),y=a(g.length),w=i(e,y),x=arguments.length;if(0===x?n=o=0:1===x?(n=0,o=y-w):(n=x-2,o=h(v(r(t),0),y-w)),y+n-o>A)throw TypeError(m);for(c=u(g,o),f=0;fy-o+n;f--)delete g[f-1]}else if(n>o)for(f=y-o;f>w;f--)d=f+o-1,p=f+n-1,d in g?g[p]=g[d]:delete g[p];for(f=0;f1?arguments[1]:void 0)}})},function(e,t,n){var o=n(214);e.exports=o},function(e,t,n){var o=n(215),i=n(217),r=Array.prototype,a=String.prototype;e.exports=function(e){var t=e.includes;return e===r||e instanceof Array&&t===r.includes?o:"string"===typeof e||e===a||e instanceof String&&t===a.includes?i:t}},function(e,t,n){n(216);var o=n(15);e.exports=o("Array").includes},function(e,t,n){"use strict";var o=n(5),i=n(78).includes,r=n(82),a=n(22),l=a("indexOf",{ACCESSORS:!0,1:0});o({target:"Array",proto:!0,forced:!l},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r("includes")},function(e,t,n){n(218);var o=n(15);e.exports=o("String").includes},function(e,t,n){"use strict";var o=n(5),i=n(219),r=n(49),a=n(221);o({target:"String",proto:!0,forced:!a("includes")},{includes:function(e){return!!~String(r(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var o=n(220);e.exports=function(e){if(o(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var o=n(13),i=n(34),r=n(10),a=r("match");e.exports=function(e){var t;return o(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==i(e))}},function(e,t,n){var o=n(10),i=o("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[i]=!1,"/./"[e](t)}catch(o){}}return!1}},function(e,t,n){var o=n(223);e.exports=o},function(e,t,n){var o=n(224),i=Function.prototype;e.exports=function(e){var t=e.bind;return e===i||e instanceof Function&&t===i.bind?o:t}},function(e,t,n){n(225);var o=n(15);e.exports=o("Function").bind},function(e,t,n){var o=n(5),i=n(226);o({target:"Function",proto:!0},{bind:i})},function(e,t,n){"use strict";var o=n(41),i=n(13),r=[].slice,a={},l=function(e,t,n){if(!(t in a)){for(var o=[],i=0;i=51||!i((function(){var e=[];return e[v]=!1,e.concat()[0]!==e})),g=f("concat"),y=function(e){if(!a(e))return!1;var t=e[v];return void 0!==t?!!t:r(e)},w=!m||!g;o({target:"Array",proto:!0,forced:w},{concat:function(e){var t,n,o,i,r,a=l(this),f=c(a,0),d=0;for(t=-1,o=arguments.length;th)throw TypeError(A);for(n=0;n=h)throw TypeError(A);s(f,d++,r)}return f.length=d,f}})},function(e,t,n){"use strict";var o=n(5),i=n(8),r=n(36),a=n(43),l=n(14),u=n(76),s=n(106),c=n(11),f=n(16),d=n(55),p=n(13),v=n(25),h=n(31),A=n(30),m=n(60),g=n(48),y=n(77),w=n(52),x=n(126),_=n(235),E=n(127),b=n(71),C=n(18),S=n(59),M=n(19),k=n(53),D=n(74),N=n(63),T=n(51),B=n(64),I=n(10),R=n(93),P=n(12),H=n(37),F=n(42),L=n(32).forEach,Q=N("hidden"),O="Symbol",U="prototype",j=I("toPrimitive"),Y=F.set,z=F.getterFor(O),$=Object[U],V=i.Symbol,G=r("JSON","stringify"),J=b.f,K=C.f,W=_.f,q=S.f,X=D("symbols"),Z=D("op-symbols"),ee=D("string-to-symbol-registry"),te=D("symbol-to-string-registry"),ne=D("wks"),oe=i.QObject,ie=!oe||!oe[U]||!oe[U].findChild,re=l&&c((function(){return 7!=y(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var o=J($,t);o&&delete $[t],K(e,t,n),o&&e!==$&&K($,t,o)}:K,ae=function(e,t){var n=X[e]=y(V[U]);return Y(n,{type:O,tag:e,description:t}),l||(n.description=t),n},le=s?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},ue=function(e,t,n){e===$&&ue(Z,t,n),v(e);var o=m(t,!0);return v(n),f(X,o)?(n.enumerable?(f(e,Q)&&e[Q][o]&&(e[Q][o]=!1),n=y(n,{enumerable:g(0,!1)})):(f(e,Q)||K(e,Q,g(1,{})),e[Q][o]=!0),re(e,o,n)):K(e,o,n)},se=function(e,t){v(e);var n=A(t),o=w(n).concat(ve(n));return L(o,(function(t){l&&!fe.call(n,t)||ue(e,t,n[t])})),e},ce=function(e,t){return void 0===t?y(e):se(y(e),t)},fe=function(e){var t=m(e,!0),n=q.call(this,t);return!(this===$&&f(X,t)&&!f(Z,t))&&(!(n||!f(this,t)||!f(X,t)||f(this,Q)&&this[Q][t])||n)},de=function(e,t){var n=A(e),o=m(t,!0);if(n!==$||!f(X,o)||f(Z,o)){var i=J(n,o);return!i||!f(X,o)||f(n,Q)&&n[Q][o]||(i.enumerable=!0),i}},pe=function(e){var t=W(A(e)),n=[];return L(t,(function(e){f(X,e)||f(T,e)||n.push(e)})),n},ve=function(e){var t=e===$,n=W(t?Z:A(e)),o=[];return L(n,(function(e){!f(X,e)||t&&!f($,e)||o.push(X[e])})),o};if(u||(V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=B(e),n=function(e){this===$&&n.call(Z,e),f(this,Q)&&f(this[Q],t)&&(this[Q][t]=!1),re(this,t,g(1,e))};return l&&ie&&re($,t,{configurable:!0,set:n}),ae(t,e)},k(V[U],"toString",(function(){return z(this).tag})),k(V,"withoutSetter",(function(e){return ae(B(e),e)})),S.f=fe,C.f=ue,b.f=de,x.f=_.f=pe,E.f=ve,R.f=function(e){return ae(I(e),e)},l&&(K(V[U],"description",{configurable:!0,get:function(){return z(this).description}}),a||k($,"propertyIsEnumerable",fe,{unsafe:!0}))),o({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:V}),L(w(ne),(function(e){P(e)})),o({target:O,stat:!0,forced:!u},{for:function(e){var t=String(e);if(f(ee,t))return ee[t];var n=V(t);return ee[t]=n,te[n]=t,n},keyFor:function(e){if(!le(e))throw TypeError(e+" is not a symbol");if(f(te,e))return te[e]},useSetter:function(){ie=!0},useSimple:function(){ie=!1}}),o({target:"Object",stat:!0,forced:!u,sham:!l},{create:ce,defineProperty:ue,defineProperties:se,getOwnPropertyDescriptor:de}),o({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:pe,getOwnPropertySymbols:ve}),o({target:"Object",stat:!0,forced:c((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(h(e))}}),G){var he=!u||c((function(){var e=V();return"[null]"!=G([e])||"{}"!=G({a:e})||"{}"!=G(Object(e))}));o({target:"JSON",stat:!0,forced:he},{stringify:function(e,t,n){var o,i=[e],r=1;while(arguments.length>r)i.push(arguments[r++]);if(o=t,(p(t)||void 0!==e)&&!le(e))return d(t)||(t=function(e,t){if("function"==typeof o&&(t=o.call(this,e,t)),!le(t))return t}),i[1]=t,G.apply(null,i)}})}V[U][j]||M(V[U],j,V[U].valueOf),H(V,O),T[Q]=!0},function(e,t,n){var o=n(30),i=n(126).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(e){try{return i(e)}catch(t){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?l(e):i(o(e))}},function(e,t,n){var o=n(12);o("asyncIterator")},function(e,t){},function(e,t,n){var o=n(12);o("hasInstance")},function(e,t,n){var o=n(12);o("isConcatSpreadable")},function(e,t,n){var o=n(12);o("match")},function(e,t,n){var o=n(12);o("matchAll")},function(e,t,n){var o=n(12);o("replace")},function(e,t,n){var o=n(12);o("search")},function(e,t,n){var o=n(12);o("species")},function(e,t,n){var o=n(12);o("split")},function(e,t,n){var o=n(12);o("toPrimitive")},function(e,t,n){var o=n(12);o("toStringTag")},function(e,t,n){var o=n(12);o("unscopables")},function(e,t,n){var o=n(37);o(Math,"Math",!0)},function(e,t,n){var o=n(8),i=n(37);i(o.JSON,"JSON",!0)},function(e,t,n){var o=n(12);o("asyncDispose")},function(e,t,n){var o=n(12);o("dispose")},function(e,t,n){var o=n(12);o("observable")},function(e,t,n){var o=n(12);o("patternMatch")},function(e,t,n){var o=n(12);o("replaceAll")},function(e,t,n){e.exports=n(257)},function(e,t,n){var o=n(258);e.exports=o},function(e,t,n){n(259);var o=n(9);e.exports=o.parseInt},function(e,t,n){var o=n(5),i=n(260);o({global:!0,forced:parseInt!=i},{parseInt:i})},function(e,t,n){var o=n(8),i=n(90).trim,r=n(68),a=o.parseInt,l=/^[+-]?0[Xx]/,u=8!==a(r+"08")||22!==a(r+"0x16");e.exports=u?function(e,t){var n=i(String(e));return a(n,t>>>0||(l.test(n)?16:10))}:a},function(e,t,n){var o=n(262);e.exports=o},function(e,t,n){var o=n(263),i=Array.prototype;e.exports=function(e){var t=e.slice;return e===i||e instanceof Array&&t===i.slice?o:t}},function(e,t,n){n(264);var o=n(15);e.exports=o("Array").slice},function(e,t,n){"use strict";var o=n(5),i=n(13),r=n(55),a=n(79),l=n(35),u=n(30),s=n(69),c=n(10),f=n(56),d=n(22),p=f("slice"),v=d("slice",{ACCESSORS:!0,0:0,1:2}),h=c("species"),A=[].slice,m=Math.max;o({target:"Array",proto:!0,forced:!p||!v},{slice:function(e,t){var n,o,c,f=u(this),d=l(f.length),p=a(e,d),v=a(void 0===t?d:t,d);if(r(f)&&(n=f.constructor,"function"!=typeof n||n!==Array&&!r(n.prototype)?i(n)&&(n=n[h],null===n&&(n=void 0)):n=void 0,n===Array||void 0===n))return A.call(f,p,v);for(o=new(void 0===n?Array:n)(m(v-p,0)),c=0;p2,i=o?a.call(arguments,2):void 0;return e(o?function(){("function"==typeof t?t:Function(t)).apply(this,i)}:t,n)}};o({global:!0,bind:!0,forced:l},{setTimeout:u(i.setTimeout),setInterval:u(i.setInterval)})},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(128));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(272)),u=a.__importDefault(n(273)),s=a.__importDefault(n(129)),c=a.__importDefault(n(274)),f=a.__importDefault(n(275)),d=a.__importDefault(n(276)),p=a.__importDefault(n(130)),v=a.__importDefault(n(277)),h=a.__importDefault(n(278)),A=a.__importDefault(n(279)),m=(0,r["default"])({},l["default"],u["default"],s["default"],f["default"],c["default"],d["default"],p["default"],v["default"],h["default"],A["default"],{linkCheck:function(e,t){return!0}});t["default"]=m},function(e,t,n){var o=n(269);e.exports=o},function(e,t,n){n(270);var o=n(9);e.exports=o.Object.assign},function(e,t,n){var o=n(5),i=n(271);o({target:"Object",stat:!0,forced:Object.assign!==i},{assign:i})},function(e,t,n){"use strict";var o=n(14),i=n(11),r=n(52),a=n(127),l=n(59),u=n(31),s=n(72),c=Object.assign,f=Object.defineProperty;e.exports=!c||i((function(){if(o&&1!==c({b:1},c(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach((function(e){t[e]=e})),7!=c({},e)[n]||r(c({},t)).join("")!=i}))?function(e,t){var n=u(e),i=arguments.length,c=1,f=a.f,d=l.f;while(i>c){var p,v=s(arguments[c++]),h=f?r(v).concat(f(v)):r(v),A=h.length,m=0;while(A>m)p=h[m++],o&&!d.call(v,p)||(n[p]=v[p])}return n}:c},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={menus:["head","bold","fontSize","fontName","italic","underline","strikeThrough","indent","lineHeight","foreColor","backColor","link","list","todo","justify","quote","emoticon","image","video","table","code","splitLine","undo","redo"],fontNames:["黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],fontSizes:{"x-small":{name:"10px",value:"1"},small:{name:"13px",value:"2"},normal:{name:"16px",value:"3"},large:{name:"18px",value:"4"},"x-large":{name:"24px",value:"5"},"xx-large":{name:"32px",value:"6"},"xxx-large":{name:"48px",value:"7"}},colors:["#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#7b5ba1","#46acc8","#f9963b"],languageType:["Bash","C","C#","C++","CSS","Java","JavaScript","JSON","TypeScript","Plain text","Html","XML","SQL","Go","Kotlin","Lua","Markdown","PHP","Python","Shell Session","Ruby"],languageTab:"    ",emotions:[{title:"表情",type:"emoji",content:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣".split(/\s/)},{title:"手势",type:"emoji",content:"👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(/\s/)}],lineHeights:["1","1.15","1.6","2","2.5","3"],undoLimit:20,indentation:"2em",showMenuTooltips:!0,menuTooltipPosition:"up"}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(7);function a(e,t,n){window.alert(e),n&&console.error("wangEditor: "+n)}t["default"]={onchangeTimeout:200,onchange:null,onfocus:r.EMPTY_FN,onblur:r.EMPTY_FN,onCatalogChange:null,customAlert:a}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={pasteFilterStyle:!0,pasteIgnoreImg:!1,pasteTextHandle:function(e){return e}}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={styleWithCSS:!1}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(7);t["default"]={linkImgCheck:function(e,t,n){return!0},showLinkImg:!0,showLinkImgAlt:!0,showLinkImgHref:!0,linkImgCallback:r.EMPTY_FN,uploadImgAccept:["jpg","jpeg","png","gif","bmp"],uploadImgServer:"",uploadImgShowBase64:!1,uploadImgMaxSize:5242880,uploadImgMaxLength:100,uploadFileName:"",uploadImgParams:{},uploadImgParamsWithUrl:!1,uploadImgHeaders:{},uploadImgHooks:{},uploadImgTimeout:1e4,withCredentials:!1,customUploadImg:null,uploadImgFromMedia:null}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t["default"]={lang:"zh-CN",languages:{"zh-CN":{wangEditor:{"重置":"重置","插入":"插入","默认":"默认","创建":"创建","修改":"修改","如":"如","请输入正文":"请输入正文",menus:{title:{"标题":"标题","加粗":"加粗","字号":"字号","字体":"字体","斜体":"斜体","下划线":"下划线","删除线":"删除线","缩进":"缩进","行高":"行高","文字颜色":"文字颜色","背景色":"背景色","链接":"链接","序列":"序列","对齐":"对齐","引用":"引用","表情":"表情","图片":"图片","视频":"视频","表格":"表格","代码":"代码","分割线":"分割线","恢复":"恢复","撤销":"撤销","全屏":"全屏","取消全屏":"取消全屏","待办事项":"待办事项"},dropListMenu:{"设置标题":"设置标题","背景颜色":"背景颜色","文字颜色":"文字颜色","设置字号":"设置字号","设置字体":"设置字体","设置缩进":"设置缩进","对齐方式":"对齐方式","设置行高":"设置行高","序列":"序列",head:{"正文":"正文"},indent:{"增加缩进":"增加缩进","减少缩进":"减少缩进"},justify:{"靠左":"靠左","居中":"居中","靠右":"靠右","两端":"两端"},list:{"无序列表":"无序列表","有序列表":"有序列表"}},panelMenus:{emoticon:{"默认":"默认","新浪":"新浪",emoji:"emoji","手势":"手势"},image:{"上传图片":"上传图片","网络图片":"网络图片","图片地址":"图片地址","图片文字说明":"图片文字说明","跳转链接":"跳转链接"},link:{"链接":"链接","链接文字":"链接文字","取消链接":"取消链接","查看链接":"查看链接"},video:{"插入视频":"插入视频","上传视频":"上传视频"},table:{"行":"行","列":"列","的":"的","表格":"表格","添加行":"添加行","删除行":"删除行","添加列":"添加列","删除列":"删除列","设置表头":"设置表头","取消表头":"取消表头","插入表格":"插入表格","删除表格":"删除表格"},code:{"删除代码":"删除代码","修改代码":"修改代码","插入代码":"插入代码"}}},validate:{"张图片":"张图片","大于":"大于","图片链接":"图片链接","不是图片":"不是图片","返回结果":"返回结果","上传图片超时":"上传图片超时","上传图片错误":"上传图片错误","上传图片失败":"上传图片失败","插入图片错误":"插入图片错误","一次最多上传":"一次最多上传","下载链接失败":"下载链接失败","图片验证未通过":"图片验证未通过","服务器返回状态":"服务器返回状态","上传图片返回结果错误":"上传图片返回结果错误","请替换为支持的图片类型":"请替换为支持的图片类型","您插入的网络图片无法识别":"您插入的网络图片无法识别","您刚才插入的图片链接未通过编辑器校验":"您刚才插入的图片链接未通过编辑器校验","插入视频错误":"插入视频错误","视频链接":"视频链接","不是视频":"不是视频","视频验证未通过":"视频验证未通过","个视频":"个视频","上传视频超时":"上传视频超时","上传视频错误":"上传视频错误","上传视频失败":"上传视频失败","上传视频返回结果错误":"上传视频返回结果错误"}}},en:{wangEditor:{"重置":"reset","插入":"insert","默认":"default","创建":"create","修改":"edit","如":"like","请输入正文":"please enter the text",menus:{title:{"标题":"head","加粗":"bold","字号":"font size","字体":"font family","斜体":"italic","下划线":"underline","删除线":"strikethrough","缩进":"indent","行高":"line heihgt","文字颜色":"font color","背景色":"background","链接":"link","序列":"numbered list","对齐":"align","引用":"quote","表情":"emoticons","图片":"image","视频":"media","表格":"table","代码":"code","分割线":"split line","恢复":"redo","撤销":"undo","全屏":"fullscreen","取消全屏":"cancel fullscreen","待办事项":"todo"},dropListMenu:{"设置标题":"title","背景颜色":"background","文字颜色":"font color","设置字号":"font size","设置字体":"font family","设置缩进":"indent","对齐方式":"align","设置行高":"line heihgt","序列":"list",head:{"正文":"text"},indent:{"增加缩进":"indent","减少缩进":"outdent"},justify:{"靠左":"left","居中":"center","靠右":"right","两端":"justify"},list:{"无序列表":"unordered","有序列表":"ordered"}},panelMenus:{emoticon:{"表情":"emoji","手势":"gesture"},image:{"上传图片":"upload image","网络图片":"network image","图片地址":"image link","图片文字说明":"image alt","跳转链接":"hyperlink"},link:{"链接":"link","链接文字":"link text","取消链接":"unlink","查看链接":"view links"},video:{"插入视频":"insert video","上传视频":"upload local video"},table:{"行":"rows","列":"columns","的":" ","表格":"table","添加行":"insert row","删除行":"delete row","添加列":"insert column","删除列":"delete column","设置表头":"set header","取消表头":"cancel header","插入表格":"insert table","删除表格":"delete table"},code:{"删除代码":"delete code","修改代码":"edit code","插入代码":"insert code"}}},validate:{"张图片":"images","大于":"greater than","图片链接":"image link","不是图片":"is not image","返回结果":"return results","上传图片超时":"upload image timeout","上传图片错误":"upload image error","上传图片失败":"upload image failed","插入图片错误":"insert image error","一次最多上传":"once most at upload","下载链接失败":"download link failed","图片验证未通过":"image validate failed","服务器返回状态":"server return status","上传图片返回结果错误":"upload image return results error","请替换为支持的图片类型":"please replace with a supported image type","您插入的网络图片无法识别":"the network picture you inserted is not recognized","您刚才插入的图片链接未通过编辑器校验":"the image link you just inserted did not pass the editor verification","插入视频错误":"insert video error","视频链接":"video link","不是视频":"is not video","视频验证未通过":"video validate failed","个视频":"videos","上传视频超时":"upload video timeout","上传视频错误":"upload video error","上传视频失败":"upload video failed","上传视频返回结果错误":"upload video return results error"}}}}}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(6);function a(){return!(!r.UA.isIE()&&!r.UA.isOldEdge)}t["default"]={compatibleMode:a,historyMaxSize:30}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(7);t["default"]={onlineVideoCheck:function(e){return!0},onlineVideoCallback:r.EMPTY_FN,showLinkVideo:!0,uploadVideoAccept:["mp4"],uploadVideoServer:"",uploadVideoMaxSize:1073741824,uploadVideoName:"",uploadVideoParams:{},uploadVideoParamsWithUrl:!1,uploadVideoHeaders:{},uploadVideoHooks:{},uploadVideoTimeout:72e5,withVideoCredentials:!1,customUploadVideo:null,customInsertVideo:null}},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(17));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(6),s=n(7),c=function(){function e(e){this._currentRange=null,this.editor=e}return e.prototype.getRange=function(){return this._currentRange},e.prototype.saveRange=function(e){if(e)this._currentRange=e;else{var t=window.getSelection();if(0!==t.rangeCount){var n=t.getRangeAt(0),o=this.getSelectionContainerElem(n);if((null===o||void 0===o?void 0:o.length)&&"false"!==o.attr("contenteditable")&&!o.parentUntil("[contenteditable=false]")){var i=this.editor,a=i.$textElem;if(a.isContain(o)){var l;if(a.elems[0]===o.elems[0])if((0,r["default"])(l=a.html()).call(l)===s.EMPTY_P){var u=a.children(),c=null===u||void 0===u?void 0:u.last();i.selection.createRangeByElem(c,!0,!0),i.selection.restoreSelection()}this._currentRange=n}}}}},e.prototype.collapseRange=function(e){void 0===e&&(e=!1);var t=this._currentRange;t&&t.collapse(e)},e.prototype.getSelectionText=function(){var e=this._currentRange;return e?e.toString():""},e.prototype.getSelectionContainerElem=function(e){var t,n;if(t=e||this._currentRange,t)return n=t.commonAncestorContainer,l["default"](1===n.nodeType?n:n.parentNode)},e.prototype.getSelectionStartElem=function(e){var t,n;if(t=e||this._currentRange,t)return n=t.startContainer,l["default"](1===n.nodeType?n:n.parentNode)},e.prototype.getSelectionEndElem=function(e){var t,n;if(t=e||this._currentRange,t)return n=t.endContainer,l["default"](1===n.nodeType?n:n.parentNode)},e.prototype.isSelectionEmpty=function(){var e=this._currentRange;return!(!e||!e.startContainer||e.startContainer!==e.endContainer||e.startOffset!==e.endOffset)},e.prototype.restoreSelection=function(){var e=window.getSelection(),t=this._currentRange;e&&t&&(e.removeAllRanges(),e.addRange(t))},e.prototype.createEmptyRange=function(){var e,t=this.editor,n=this.getRange();if(n&&this.isSelectionEmpty())try{u.UA.isWebkit()?(t.cmd["do"]("insertHTML","​"),n.setEnd(n.endContainer,n.endOffset+1),this.saveRange(n)):(e=l["default"](""),t.cmd["do"]("insertElem",e),this.createRangeByElem(e,!0))}catch(o){}},e.prototype.createRangeByElems=function(e,t){var n=window.getSelection?window.getSelection():document.getSelection();null===n||void 0===n||n.removeAllRanges();var o=document.createRange();o.setStart(e,0),o.setEnd(t,t.childNodes.length||1),this.saveRange(o),this.restoreSelection()},e.prototype.createRangeByElem=function(e,t,n){if(e.length){var o=e.elems[0],i=document.createRange();n?i.selectNodeContents(o):i.selectNode(o),null!=t&&(i.collapse(t),t||(this.saveRange(i),this.editor.selection.moveCursor(o))),this.saveRange(i)}},e.prototype.getSelectionRangeTopNodes=function(){var e,t,n,o=null===(e=this.getSelectionStartElem())||void 0===e?void 0:e.getNodeTop(this.editor),i=null===(t=this.getSelectionEndElem())||void 0===t?void 0:t.getNodeTop(this.editor);return n=this.recordSelectionNodes(l["default"](o),l["default"](i)),n},e.prototype.moveCursor=function(e,t){var n,o=this.getRange(),i=3===e.nodeType?null===(n=e.nodeValue)||void 0===n?void 0:n.length:e.childNodes.length;(u.UA.isFirefox||u.UA.isIE())&&0!==i&&(3!==e.nodeType&&"BR"!==e.childNodes[i-1].nodeName||(i-=1));var r=null!==t&&void 0!==t?t:i;o&&e&&(o.setStart(e,r),o.setEnd(e,r),this.restoreSelection())},e.prototype.getCursorPos=function(){var e=window.getSelection();return null===e||void 0===e?void 0:e.anchorOffset},e.prototype.clearWindowSelectionRange=function(){var e=window.getSelection();e&&e.removeAllRanges()},e.prototype.recordSelectionNodes=function(e,t){var n=[],o=!0;try{var i=e,r=this.editor.$textElem;while(o){var a=null===i||void 0===i?void 0:i.getNodeTop(this.editor);"BODY"===a.getNodeName()&&(o=!1),a.length>0&&(n.push(l["default"](i)),(null===t||void 0===t?void 0:t.equal(a))||r.equal(a)?o=!1:i=a.getNextSibling())}}catch(u){o=!1}return n},e.prototype.setRangeToElem=function(e){var t=this.getRange();null===t||void 0===t||t.setStart(e,0),null===t||void 0===t||t.setEnd(e,0)},e}();t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=function(){function e(e){this.editor=e}return e.prototype["do"]=function(e,t){var n=this.editor;n.config.styleWithCSS&&document.execCommand("styleWithCSS",!1,"true");var o=n.selection;if(o.getRange()){switch(o.restoreSelection(),e){case"insertHTML":this.insertHTML(t);break;case"insertElem":this.insertElem(t);break;default:this.execCommand(e,t);break}n.menus.changeActive(),o.saveRange(),o.restoreSelection()}},e.prototype.insertHTML=function(e){var t=this.editor,n=t.selection.getRange();if(null!=n)if(this.queryCommandSupported("insertHTML"))this.execCommand("insertHTML",e);else if(n.insertNode){if(n.deleteContents(),a["default"](e).elems.length>0)n.insertNode(a["default"](e).elems[0]);else{var o=document.createElement("p");o.appendChild(document.createTextNode(e)),n.insertNode(o)}t.selection.collapseRange()}},e.prototype.insertElem=function(e){var t=this.editor,n=t.selection.getRange();null!=n&&n.insertNode&&(n.deleteContents(),n.insertNode(e.elems[0]))},e.prototype.execCommand=function(e,t){document.execCommand(e,!1,t)},e.prototype.queryCommandValue=function(e){return document.queryCommandValue(e)},e.prototype.queryCommandState=function(e){return document.queryCommandState(e)},e.prototype.queryCommandSupported=function(e){return document.queryCommandSupported(e)},e}();t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(29)),a=o(n(4)),l=o(n(17)),u=o(n(27)),s=o(n(46));(0,i["default"])(t,"__esModule",{value:!0});var c=n(2),f=c.__importDefault(n(3)),d=c.__importDefault(n(287)),p=n(6),v=c.__importDefault(n(299)),h=c.__importDefault(n(300)),A=n(7),m=function(){function e(e){this.editor=e,this.eventHooks={onBlurEvents:[],changeEvents:[],dropEvents:[],clickEvents:[],keydownEvents:[],keyupEvents:[],tabUpEvents:[],tabDownEvents:[],enterUpEvents:[],enterDownEvents:[],deleteUpEvents:[],deleteDownEvents:[],pasteEvents:[],linkClickEvents:[],codeClickEvents:[],textScrollEvents:[],toolbarClickEvents:[],imgClickEvents:[],imgDragBarMouseDownEvents:[],tableClickEvents:[],menuClickEvents:[],dropListMenuHoverEvents:[],splitLineEvents:[],videoClickEvents:[]}}return e.prototype.init=function(){this._saveRange(),this._bindEventHooks(),d["default"](this)},e.prototype.togglePlaceholder=function(){var e,t=this.html(),n=(0,r["default"])(e=this.editor.$textContainerElem).call(e,".placeholder");n.hide(),this.editor.isComposing||t&&" "!==t||n.show()},e.prototype.clear=function(){this.html(A.EMPTY_P)},e.prototype.html=function(e){var t=this.editor,n=t.$textElem;if(null==e){var o=n.html();o=o.replace(/\u200b/gm,""),o=o.replace(/

              <\/p>/gim,""),o=o.replace(A.EMPTY_P_LAST_REGEX,""),o=o.replace(A.EMPTY_P_REGEX,"

              ");var i=o.match(/<(img|br|hr|input)[^>]*>/gi);return null!==i&&(0,a["default"])(i).call(i,(function(e){e.match(/\/>/)||(o=o.replace(e,e.substring(0,e.length-1)+"/>"))})),o}e=(0,l["default"])(e).call(e),""===e&&(e=A.EMPTY_P),0!==(0,u["default"])(e).call(e,"<")&&(e="

              "+e+"

              "),n.html(e),t.initSelection()},e.prototype.setJSON=function(e){var t=h["default"](e).children(),n=this.editor,o=n.$textElem;t&&o.replaceChildAll(t)},e.prototype.getJSON=function(){var e=this.editor,t=e.$textElem;return v["default"](t)},e.prototype.text=function(e){var t=this.editor,n=t.$textElem;if(null==e){var o=n.text();return o=o.replace(/\u200b/gm,""),o}n.text("

              "+e+"

              "),t.initSelection()},e.prototype.append=function(e){var t=this.editor;0!==(0,u["default"])(e).call(e,"<")&&(e="

              "+e+"

              "),this.html(this.html()+e),t.initSelection()},e.prototype._saveRange=function(){var e=this.editor,t=e.$textElem,n=f["default"](document);function o(){e.selection.saveRange(),e.menus.changeActive()}function i(){o(),t.off("click",i)}function r(){o(),n.off("mouseup",r)}function a(){n.on("mouseup",r),t.off("mouseleave",a)}t.on("keyup",o),t.on("click",i),t.on("mousedown",(function(){t.on("mouseleave",a)})),t.on("mouseup",(function(n){t.off("mouseleave",a),(0,s["default"])((function(){var t=e.selection,n=t.getRange();null!==n&&o()}),0)}))},e.prototype._bindEventHooks=function(){var e=this.editor,t=e.$textElem,n=this.eventHooks;function o(e){e.preventDefault()}t.on("click",(function(e){var t=n.clickEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("keyup",(function(e){if(13===e.keyCode){var t=n.enterUpEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keyup",(function(e){var t=n.keyupEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("keydown",(function(e){var t=n.keydownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("keyup",(function(e){if(8===e.keyCode||46===e.keyCode){var t=n.deleteUpEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keydown",(function(e){if(8===e.keyCode||46===e.keyCode){var t=n.deleteDownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("paste",(function(e){if(!p.UA.isIE()){e.preventDefault();var t=n.pasteEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keydown",(function(t){(e.isFocus||e.isCompatibleMode)&&(t.ctrlKey||t.metaKey)&&90===t.keyCode&&(t.preventDefault(),t.shiftKey?e.history.restore():e.history.revoke())})),t.on("keyup",(function(e){if(9===e.keyCode){e.preventDefault();var t=n.tabUpEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("keydown",(function(e){if(9===e.keyCode){e.preventDefault();var t=n.tabDownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("scroll",p.throttle((function(e){var t=n.textScrollEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}),100)),f["default"](document).on("dragleave",o).on("drop",o).on("dragenter",o).on("dragover",o),e.beforeDestroy((function(){f["default"](document).off("dragleave",o).off("drop",o).off("dragenter",o).off("dragover",o)})),t.on("drop",(function(e){e.preventDefault();var t=n.dropEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),t.on("click",(function(e){var t=null,o=e.target,i=f["default"](o);if("A"===i.getNodeName())t=i;else{var r=i.parentUntil("a");null!=r&&(t=r)}if(t){var l=n.linkClickEvents;(0,a["default"])(l).call(l,(function(e){return e(t)}))}})),t.on("click",(function(e){var t=null,o=e.target,i=f["default"](o);if("IMG"!==i.getNodeName()||i.elems[0].getAttribute("data-emoji")||(e.stopPropagation(),t=i),t){var r=n.imgClickEvents;(0,a["default"])(r).call(r,(function(e){return e(t)}))}})),t.on("click",(function(e){var t=null,o=e.target,i=f["default"](o);if("PRE"===i.getNodeName())t=i;else{var r=i.parentUntil("pre");null!==r&&(t=r)}if(t){var l=n.codeClickEvents;(0,a["default"])(l).call(l,(function(e){return e(t)}))}})),t.on("click",(function(t){var o=null,i=t.target,r=f["default"](i);if("HR"===r.getNodeName()&&(o=r),o){e.selection.createRangeByElem(o),e.selection.restoreSelection();var l=n.splitLineEvents;(0,a["default"])(l).call(l,(function(e){return e(o)}))}})),e.$toolbarElem.on("click",(function(e){var t=n.toolbarClickEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))})),e.$textContainerElem.on("mousedown",(function(e){var t=e.target,o=f["default"](t);if(o.hasClass("w-e-img-drag-rb")){var i=n.imgDragBarMouseDownEvents;(0,a["default"])(i).call(i,(function(e){return e()}))}})),t.on("click",(function(t){var o=null,i=t.target;if(o=f["default"](i).parentUntilEditor("TABLE",e,i),o){var r=n.tableClickEvents;(0,a["default"])(r).call(r,(function(e){return e(o,t)}))}})),t.on("keydown",(function(e){if(13===e.keyCode){var t=n.enterDownEvents;(0,a["default"])(t).call(t,(function(t){return t(e)}))}})),t.on("click",(function(e){var t=null,o=e.target,i=f["default"](o);if("VIDEO"===i.getNodeName()&&(e.stopPropagation(),t=i),t){var r=n.videoClickEvents;(0,a["default"])(r).call(r,(function(e){return e(t)}))}}))},e}();t["default"]=m},function(e,t,n){var o=n(284);e.exports=o},function(e,t,n){var o=n(285),i=Array.prototype;e.exports=function(e){var t=e.find;return e===i||e instanceof Array&&t===i.find?o:t}},function(e,t,n){n(286);var o=n(15);e.exports=o("Array").find},function(e,t,n){"use strict";var o=n(5),i=n(32).find,r=n(82),a=n(22),l="find",u=!0,s=a(l);l in[]&&Array(1)[l]((function(){u=!1})),o({target:"Array",proto:!0,forced:u||!s},{find:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),r(l)},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(288)),l=r.__importStar(n(289)),u=r.__importDefault(n(290)),s=r.__importDefault(n(291)),c=r.__importDefault(n(298));function f(e){var t=e.editor,n=e.eventHooks;a["default"](t,n.enterUpEvents,n.enterDownEvents),l["default"](t,n.deleteUpEvents,n.deleteDownEvents),l.cutToKeepP(t,n.keyupEvents),u["default"](t,n.tabDownEvents),s["default"](t,n.pasteEvents),c["default"](t,n.imgClickEvents)}t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(27));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=n(7),u=a.__importDefault(n(3));function s(e,t,n){function o(t){var n,o=u["default"](l.EMPTY_P);o.insertBefore(t),(0,r["default"])(n=t.html()).call(n,"=0?o.remove():(e.selection.createRangeByElem(o,!0,!0),e.selection.restoreSelection(),t.remove())}function i(){var t=e.$textElem,n=e.selection.getSelectionContainerElem(),i=n.parent();if("
              "!==i.html())if("FONT"!==n.getNodeName()||""!==n.text()||"monospace"!==n.attr("face")){if(i.equal(t)){var r=n.getNodeName();"P"===r&&null===n.attr("data-we-empty-p")||n.text()||o(n)}}else o(i);else o(i)}function a(t){var n;e.selection.saveRange(null===(n=getSelection())||void 0===n?void 0:n.getRangeAt(0));var o=e.selection.getSelectionContainerElem();o.id===e.textElemId&&(t.preventDefault(),e.cmd["do"]("insertHTML","


              "))}t.push(i),n.push(a)}t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(17)),a=o(n(28));(0,i["default"])(t,"__esModule",{value:!0}),t.cutToKeepP=void 0;var l=n(2),u=n(7),s=l.__importDefault(n(3));function c(e,t,n){function o(){var t=e.$textElem,n=e.$textElem.html(),o=e.$textElem.text(),i=(0,r["default"])(n).call(n),l=["


              ","
              ",'

              ',u.EMPTY_P];if(/^\s*$/.test(o)&&(!i||(0,a["default"])(l).call(l,i))){t.html(u.EMPTY_P);var s=t.getNode();e.selection.createRangeByElems(s.childNodes[0],s.childNodes[0]);var c=e.selection.getSelectionContainerElem();e.selection.restoreSelection(),e.selection.moveCursor(c.getNode(),0)}}function i(t){var n,o=e.$textElem,i=(0,r["default"])(n=o.html().toLowerCase()).call(n);i!==u.EMPTY_P||t.preventDefault()}t.push(o),n.push(i)}function f(e,t){function n(t){var n;if(88===t.keyCode){var o=e.$textElem,i=(0,r["default"])(n=o.html().toLowerCase()).call(n);if(!i||"
              "===i){var a=s["default"](u.EMPTY_P);o.html(" "),o.append(a),e.selection.createRangeByElem(a,!1,!0),e.selection.restoreSelection(),e.selection.moveCursor(a.getNode(),0)}}}t.push(n)}t.cutToKeepP=f,t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1));function r(e,t){function n(){if(e.cmd.queryCommandSupported("insertHTML")){var t=e.selection.getSelectionContainerElem();if(t){var n=t.parent(),o=t.getNodeName(),i=n.getNodeName();"CODE"==o||"CODE"===i||"PRE"===i||/hljs/.test(i)?e.cmd["do"]("insertHTML",e.config.languageTab):e.cmd["do"]("insertHTML","    ")}}}t.push(n)}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(17)),a=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var l=n(131),u=n(6),s=n(7);function c(e){var t,n=(0,r["default"])(t=e.replace(/
              /gim,"

              ").replace(/<\/div>/gim,"

              ")).call(t),o=document.createElement("div");return o.innerHTML=n,o.innerHTML.replace(/

              <\/p>/gim,"")}function f(e){var t=e.replace(/
              |/gm,"\n").replace(/<[^>]+>/gm,"");return t}function d(e){var t;if(""===e)return!1;var n=document.createElement("div");return n.innerHTML=e,"P"===(null===(t=n.firstChild)||void 0===t?void 0:t.nodeName)}function p(e){if(!(null===e||void 0===e?void 0:e.length))return!1;var t=e.elems[0];return"P"===t.nodeName&&"
              "===t.innerHTML}function v(e,t){function n(t){var n=e.config,o=n.pasteFilterStyle,i=n.pasteIgnoreImg,r=n.pasteTextHandle,v=l.getPasteHtml(t,o,i),h=l.getPasteText(t);h=h.replace(/\n/gm,"
              ");var A=e.selection.getSelectionContainerElem();if(A){var m=null===A||void 0===A?void 0:A.getNodeName(),g=null===A||void 0===A?void 0:A.getNodeTop(e),y="";if(g.elems[0]&&(y=null===g||void 0===g?void 0:g.getNodeName()),"CODE"===m||"PRE"===y)return r&&u.isFunction(r)&&(h=""+(r(h)||"")),void e.cmd["do"]("insertHTML",f(h));if(s.urlRegex.test(h)&&o){r&&u.isFunction(r)&&(h=""+(r(h)||""));var w=h.replace(s.urlRegex,(function(e){return''+e+""})),x=e.selection.getRange(),_=document.createElement("div"),E=document.createDocumentFragment();if(_.innerHTML=w,null==x)return;while(_.childNodes.length)E.append(_.childNodes[0]);var b=E.querySelectorAll("a");return(0,a["default"])(b).call(b,(function(e){e.innerText=e.href})),x.insertNode&&(x.deleteContents(),x.insertNode(E)),void e.selection.clearWindowSelectionRange()}if(v)try{r&&u.isFunction(r)&&(v=""+(r(v)||""));var C=/[\.\#\@]?\w+[ ]+\{[^}]*\}/.test(v);if(C&&o)e.cmd["do"]("insertHTML",""+c(h));else{var S=c(v);if(d(S)){var M=e.$textElem;if(e.cmd["do"]("insertHTML",S),M.equal(A))return void e.selection.createEmptyRange();p(g)&&g.remove()}else e.cmd["do"]("insertHTML",S)}}catch(k){r&&u.isFunction(r)&&(h=""+(r(h)||"")),e.cmd["do"]("insertHTML",""+c(h))}}}t.push(n)}t["default"]=v},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(17)),a=o(n(4)),l=o(n(28));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),s=n(293),c=u.__importDefault(n(297));function f(e){var t=/.*?<\/span>/gi,n=/(.*?)<\/span>/;return e.replace(t,(function(e){var t=e.match(n);return null==t?"":t[1]}))}function d(e,t){var n;return e=(0,r["default"])(n=e.toLowerCase()).call(n),!!s.IGNORE_TAGS.has(e)||!(!t||"img"!==e)}function p(e,t){var n="";n="<"+e;var o=[];(0,a["default"])(t).call(t,(function(e){o.push(e.name+'="'+e.value+'"')})),o.length>0&&(n=n+" "+o.join(" "));var i=s.EMPTY_TAGS.has(e);return n=n+(i?"/":"")+">",n}function v(e){return""}function h(e,t,n){void 0===t&&(t=!0),void 0===n&&(n=!1);var o=[],i="";function u(e){e=(0,r["default"])(e).call(e),e&&(s.EMPTY_TAGS.has(e)||(i=e))}function h(){i=""}var A=new c["default"];A.parse(e,{startElement:function(e,i){if(u(e),!d(e,n)){var r=s.NECESSARY_ATTRS.get(e)||[],c=[];(0,a["default"])(i).call(i,(function(e){var n=e.name;"style"!==n?!1!==(0,l["default"])(r).call(r,n)&&c.push(e):t||c.push(e)}));var f=p(e,c);o.push(f)}},characters:function(e){e&&(d(i,n)||o.push(e))},endElement:function(e){if(!d(e,n)){var t=v(e);o.push(t),h()}},comment:function(e){u(e)}});var m=o.join("");return m=f(m),m}t["default"]=h},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(132)),a=o(n(121));(0,i["default"])(t,"__esModule",{value:!0}),t.TOP_LEVEL_TAGS=t.EMPTY_TAGS=t.NECESSARY_ATTRS=t.IGNORE_TAGS=void 0,t.IGNORE_TAGS=new r["default"](["doctype","!doctype","html","head","meta","body","script","style","link","frame","iframe","title","svg","center","o:p"]),t.NECESSARY_ATTRS=new a["default"]([["img",["src","alt"]],["a",["href","target"]],["td",["colspan","rowspan"]],["th",["colspan","rowspan"]]]),t.EMPTY_TAGS=new r["default"](["area","base","basefont","br","col","hr","img","input","isindex","embed"]),t.TOP_LEVEL_TAGS=new r["default"](["h1","h2","h3","h4","h5","p","ul","ol","table","blockquote","pre","hr","form"])},function(e,t,n){var o=n(295);e.exports=o},function(e,t,n){n(296),n(61),n(50),n(54);var o=n(9);e.exports=o.Set},function(e,t,n){"use strict";var o=n(122),i=n(124);e.exports=o("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),i)},function(e,t){function n(){}n.prototype={handler:null,startTagRe:/^<([^>\s\/]+)((\s+[^=>\s]+(\s*=\s*((\"[^"]*\")|(\'[^']*\')|[^>\s]+))?)*)\s*\/?\s*>/m,endTagRe:/^<\/([^>\s]+)[^>]*>/m,attrRe:/([^=\s]+)(\s*=\s*((\"([^"]*)\")|(\'([^']*)\')|[^>\s]+))?/gm,parse:function(e,t){t&&(this.contentHandler=t);var n,o,i,r=!1,a=this;while(e.length>0)"\x3c!--"==e.substring(0,4)?(i=e.indexOf("--\x3e"),-1!=i?(this.contentHandler.comment(e.substring(4,i)),e=e.substring(i+3),r=!1):r=!0):"0&&s(e.children,t.getRootNode()));t&&n.appendChild(t)})),u["default"](n)}t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(89)),a=o(n(70)),l=o(n(28)),u=o(n(302)),s=o(n(4)),c=o(n(94)),f=o(n(133)),d=o(n(46)),p=o(n(57));(0,i["default"])(t,"__esModule",{value:!0});var v=n(2),h=v.__importDefault(n(87)),A=v.__importDefault(n(314)),m=v.__importDefault(n(3)),g=function(){function e(e){this.editor=e,this.menuList=[],this.constructorList=A["default"]}return e.prototype.extend=function(e,t){t&&"function"===typeof t&&(this.constructorList[e]=t)},e.prototype.init=function(){var e,t,n=this,o=this.editor.config,i=o.excludeMenus;!1===(0,r["default"])(i)&&(i=[]),o.menus=(0,a["default"])(e=o.menus).call(e,(function(e){return!1===(0,l["default"])(i).call(i,e)}));var f=(0,u["default"])(h["default"].globalCustomMenuConstructorList);f=(0,a["default"])(f).call(f,(function(e){return(0,l["default"])(i).call(i,e)})),(0,s["default"])(f).call(f,(function(e){delete h["default"].globalCustomMenuConstructorList[e]})),(0,s["default"])(t=o.menus).call(t,(function(e){var t=n.constructorList[e];n._initMenuList(e,t)}));for(var d=0,p=(0,c["default"])(h["default"].globalCustomMenuConstructorList);d\n

              \n
              \n
              \n
              ');i.css("visibility","hidden"),t.append(i),i.css("z-index",e.zIndex.get("tooltip"));var r=0;function a(){r&&clearTimeout(r)}function l(){a(),i.css("visibility","hidden")}t.on("mouseover",(function(n){var u,s,c=n.target,f=m["default"](c);if(f.isContain(t))l();else{if(null!=f.parentUntil(".w-e-droplist"))l();else if(f.attr("data-title"))u=f.attr("data-title"),s=f;else{var p=f.parentUntil(".w-e-menu");null!=p&&(u=p.attr("data-title"),s=p)}if(u&&s){a();var v=s.getOffsetData();i.text(e.i18next.t("menus.title."+u));var h=i.getOffsetData(),A=v.left+v.width/2-h.width/2;i.css("left",A+"px"),"up"===o?i.css("top",v.top-h.height-8+"px"):"down"===o&&i.css("top",v.top+v.height+8+"px"),r=(0,d["default"])((function(){i.css("visibility","visible")}),200)}else l()}})).on("mouseleave",(function(){l()}))},e.prototype._addToToolbar=function(){var e,t=this.editor,n=t.$toolbarElem;(0,s["default"])(e=this.menuList).call(e,(function(e){var t=e.$elem;t&&n.append(t)}))},e.prototype.menuFind=function(e){for(var t=this.menuList,n=0,o=t.length;nc)n=u[c++],o&&!a.call(l,n)||f.push(e?[n,l[n]]:l[n]);return f}};e.exports={entries:l(!0),values:l(!1)}},function(e,t,n){var o=n(311);e.exports=o},function(e,t,n){var o=n(312),i=Array.prototype;e.exports=function(e){var t=e.some;return e===i||e instanceof Array&&t===i.some?o:t}},function(e,t,n){n(313);var o=n(15);e.exports=o("Array").some},function(e,t,n){"use strict";var o=n(5),i=n(32).some,r=n(67),a=n(22),l=r("some"),u=a("some");o({target:"Array",proto:!0,forced:!l||!u},{some:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(315)),l=r.__importDefault(n(316)),u=r.__importDefault(n(321)),s=r.__importDefault(n(326)),c=r.__importDefault(n(327)),f=r.__importDefault(n(328)),d=r.__importDefault(n(329)),p=r.__importDefault(n(331)),v=r.__importDefault(n(333)),h=r.__importDefault(n(334)),A=r.__importDefault(n(337)),m=r.__importDefault(n(338)),g=r.__importDefault(n(339)),y=r.__importDefault(n(350)),w=r.__importDefault(n(365)),x=r.__importDefault(n(369)),_=r.__importDefault(n(137)),E=r.__importDefault(n(378)),b=r.__importDefault(n(380)),C=r.__importDefault(n(381)),S=r.__importDefault(n(382)),M=r.__importDefault(n(401)),k=r.__importDefault(n(406)),D=r.__importDefault(n(409));t["default"]={bold:a["default"],head:l["default"],italic:s["default"],link:u["default"],underline:c["default"],strikeThrough:f["default"],fontName:d["default"],fontSize:p["default"],justify:v["default"],quote:h["default"],backColor:A["default"],foreColor:m["default"],video:g["default"],image:y["default"],indent:w["default"],emoticon:x["default"],list:_["default"],lineHeight:E["default"],undo:b["default"],redo:C["default"],table:S["default"],code:M["default"],splitLine:k["default"],todo:D["default"]}},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(23)),l=r.__importDefault(n(3)),u=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("bold"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("bold")?this.active():this.unActive()},t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(27)),a=o(n(29)),l=o(n(4)),u=o(n(317)),s=o(n(28));(0,i["default"])(t,"__esModule",{value:!0});var c=n(2),f=c.__importDefault(n(24)),d=c.__importDefault(n(3)),p=n(6),v=n(7),h=function(e){function t(t){var n=this,o=d["default"]('
              '),i={width:100,title:"设置标题",type:"list",list:[{$elem:d["default"]("

              H1

              "),value:"

              "},{$elem:d["default"]("

              H2

              "),value:"

              "},{$elem:d["default"]("

              H3

              "),value:"

              "},{$elem:d["default"]("

              H4

              "),value:"

              "},{$elem:d["default"]("

              H5
              "),value:"
              "},{$elem:d["default"]("

              "+t.i18next.t("menus.dropListMenu.head.正文")+"

              "),value:"

              "}],clickHandler:function(e){n.command(e)}};n=e.call(this,o,t,i)||this;var r=t.config.onCatalogChange;return r&&(n.oldCatalogs=[],n.addListenerCatalog(),n.getCatalogs()),n}return c.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();if(n&&t.$textElem.equal(n))this.setMultilineHead(e);else{var o;if((0,r["default"])(o=["OL","UL","LI","TABLE","TH","TR","CODE","HR"]).call(o,d["default"](n).getNodeName())>-1)return;t.cmd["do"]("formatBlock",e)}"

              "!==e&&this.addUidForSelectionElem()},t.prototype.addUidForSelectionElem=function(){var e=this.editor,t=e.selection.getSelectionContainerElem(),n=p.getRandomCode();d["default"](t).attr("id",n)},t.prototype.addListenerCatalog=function(){var e=this,t=this.editor;t.txt.eventHooks.changeEvents.push((function(){e.getCatalogs()}))},t.prototype.getCatalogs=function(){var e=this.editor,t=this.editor.$textElem,n=e.config.onCatalogChange,o=(0,a["default"])(t).call(t,"h1,h2,h3,h4,h5"),i=[];(0,l["default"])(o).call(o,(function(e,t){var n=d["default"](e),o=n.attr("id"),r=n.getNodeName(),a=n.text();o||(o=p.getRandomCode(),n.attr("id",o)),a&&i.push({tag:r,id:o,text:a})})),(0,u["default"])(this.oldCatalogs)!==(0,u["default"])(i)&&(this.oldCatalogs=i,n&&n(i))},t.prototype.setMultilineHead=function(e){var t,n,o=this,i=this.editor,r=i.selection,a=null===(t=r.getSelectionContainerElem())||void 0===t?void 0:t.elems[0],u=["IMG","VIDEO","TABLE","TH","TR","UL","OL","PRE","HR","BLOCKQUOTE"],s=d["default"](r.getSelectionStartElem()),c=d["default"](r.getSelectionEndElem());c.elems[0].outerHTML!==d["default"](v.EMPTY_P).elems[0].outerHTML||c.elems[0].nextSibling||(c=c.prev());var f=[];f.push(s.getNodeTop(i));var p=[],h=null===(n=r.getRange())||void 0===n?void 0:n.commonAncestorContainer.childNodes;null===h||void 0===h||(0,l["default"])(h).call(h,(function(e,t){e===f[0].getNode()&&p.push(t),e===c.getNodeTop(i).getNode()&&p.push(t)}));var A=0;while(f[A].getNode()!==c.getNodeTop(i).getNode()){if(!f[A].elems[0])return;var m=d["default"](f[A].next().getNode());f.push(m),A++}null===f||void 0===f||(0,l["default"])(f).call(f,(function(t,n){if(!o.hasTag(t,u)){var i=d["default"](e),r=t.parent().getNode();i.html(""+t.html()),r.insertBefore(i.getNode(),t.getNode()),t.remove()}})),r.createRangeByElems(a.children[p[0]],a.children[p[1]])},t.prototype.hasTag=function(e,t){var n,o=this;if(!e)return!1;if((0,s["default"])(t).call(t,null===e||void 0===e?void 0:e.getNodeName()))return!0;var i=!1;return null===(n=e.children())||void 0===n||(0,l["default"])(n).call(n,(function(e){i=o.hasTag(d["default"](e),t)})),i},t.prototype.tryChangeActive=function(){var e=this.editor,t=/^h/i,n=e.cmd.queryCommandValue("formatBlock");t.test(n)?this.active():this.unActive()},t}(f["default"]);t["default"]=h},function(e,t,n){e.exports=n(318)},function(e,t,n){var o=n(319);e.exports=o},function(e,t,n){n(320);var o=n(9);o.JSON||(o.JSON={stringify:JSON.stringify}),e.exports=function(e,t,n){return o.JSON.stringify.apply(null,arguments)}},function(e,t,n){var o=n(5),i=n(36),r=n(11),a=i("JSON","stringify"),l=/[\uD800-\uDFFF]/g,u=/^[\uD800-\uDBFF]$/,s=/^[\uDC00-\uDFFF]$/,c=function(e,t,n){var o=n.charAt(t-1),i=n.charAt(t+1);return u.test(e)&&!s.test(i)||s.test(e)&&!u.test(o)?"\\u"+e.charCodeAt(0).toString(16):e},f=r((function(){return'"\\udf06\\ud834"'!==a("\udf06\ud834")||'"\\udead"'!==a("\udead")}));a&&o({target:"JSON",stat:!0,forced:f},{stringify:function(e,t,n){var o=a.apply(null,arguments);return"string"==typeof o?o.replace(l,c):o}})},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(17));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(38)),u=a.__importDefault(n(3)),s=a.__importDefault(n(322)),c=a.__importStar(n(96)),f=a.__importDefault(n(33)),d=a.__importDefault(n(324)),p=n(7),v=function(e){function t(t){var n=this,o=u["default"]('

              ');return n=e.call(this,o,t)||this,d["default"](t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e,t=this.editor,n=t.selection.getSelectionContainerElem(),o=t.$textElem,i=o.html(),a=(0,r["default"])(i).call(i);if(a===p.EMPTY_P){var l=o.children();t.selection.createRangeByElem(l,!0,!0),n=t.selection.getSelectionContainerElem()}if(!n||!t.$textElem.equal(n))if(this.isActive){var s="",f="";if(e=t.selection.getSelectionContainerElem(),!e)return;if("A"!==e.getNodeName()){var d=c.getParentNodeA(e);e=u["default"](d)}s=e.elems[0].innerText,f=e.attr("href"),this.createPanel(s,f)}else t.selection.isSelectionEmpty()?this.createPanel("",""):this.createPanel(t.selection.getSelectionText(),"")},t.prototype.createPanel=function(e,t){var n=s["default"](this.editor,e,t),o=new f["default"](this,n);o.create()},t.prototype.tryChangeActive=function(){var e=this.editor;c["default"](e)?this.active():this.unActive()},t}(l["default"]);t["default"]=v},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(28)),a=o(n(17)),l=o(n(29));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),s=n(6),c=u.__importDefault(n(3)),f=u.__importStar(n(96)),d=n(323);function p(e,t,n){var o,i=s.getRandom("input-link"),u=s.getRandom("input-text"),p=s.getRandom("btn-ok"),v=s.getRandom("btn-del"),h=f["default"](e)?"inline-block":"none";function A(){if(f["default"](e)){var t=e.selection.getSelectionContainerElem();t&&(e.selection.createRangeByElem(t),e.selection.restoreSelection(),o=t)}}function m(t,n){var o=t.replace(//g,">"),i=c["default"](''+o+""),r=i.elems[0];r.innerText=t,r.href=n,f["default"](e)?(A(),e.cmd["do"]("insertElem",i)):e.cmd["do"]("insertElem",i)}function g(){if(f["default"](e))if(A(),"A"===o.getNodeName()){var t,n=o.elems[0],i=n.parentElement;i&&(0,r["default"])(t=f.EXTRA_TAG).call(t,i.nodeName)?i.innerHTML=n.innerHTML:e.cmd["do"]("insertHTML",""+n.innerHTML+"")}else{var a=f.getParentNodeA(o),l=a.innerHTML;e.cmd["do"]("insertHTML",""+l+"")}}function y(t,n){var o=e.config.linkCheck(t,n);if(void 0===o);else{if(!0===o)return!0;e.config.customAlert(o,"warning")}return!1}var w={width:300,height:0,tabs:[{title:e.i18next.t("menus.panelMenus.link.链接"),tpl:'
              \n \n \n \n \n
              \n \n \n
              \n
              ",events:[{selector:"#"+p,type:"click",fn:function(){var t,n,o,l,s,p=e.selection.getSelectionContainerElem(),v=null===p||void 0===p?void 0:p.elems[0];e.selection.restoreSelection();var h=e.selection.getSelectionRangeTopNodes()[0].getNode(),A=window.getSelection(),g=c["default"]("#"+i),w=c["default"]("#"+u),x=(0,a["default"])(t=g.val()).call(t),_=(0,a["default"])(n=w.val()).call(n),E="";A&&!(null===A||void 0===A?void 0:A.isCollapsed)&&(E=null===(l=d.insertHtml(A,h))||void 0===l?void 0:(0,a["default"])(l).call(l));var b=null===E||void 0===E?void 0:E.replace(/<.*?>/g,""),C=null!==(s=null===b||void 0===b?void 0:b.length)&&void 0!==s?s:0;if(C<=_.length){var S=_.substring(0,C),M=_.substring(C);b===S&&(_=b+M)}if(x&&(_||(_=x),y(_,x))){if("A"===(null===v||void 0===v?void 0:v.nodeName))return v.setAttribute("href",x),v.innerText=_,!0;if("A"!==(null===v||void 0===v?void 0:v.nodeName)&&(0,r["default"])(o=f.EXTRA_TAG).call(o,v.nodeName)){var k=f.getParentNodeA(p);if(k)return k.setAttribute("href",x),v.innerText=_,!0}return m(_,x),!0}},bindEnter:!0},{selector:"#"+v,type:"click",fn:function(){return g(),!0}}]}],setLinkValue:function(e,o){var r,a="",s="";"text"===o&&(a="#"+u,s=t),"link"===o&&(a="#"+i,s=n),r=(0,l["default"])(e).call(e,a).elems[0],r.value=s}};return w}t["default"]=p},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));function a(e,t){var n=e,o=e;do{if(n.textContent===t)break;o=n,n.parentNode&&(n=null===n||void 0===n?void 0:n.parentNode)}while("P"!==(null===n||void 0===n?void 0:n.nodeName));return o}function l(e,t){var n=e.nodeName,o="";if(3===e.nodeType||/^(h|H)[1-6]$/.test(n))return t;if(1===e.nodeType){var i=e.getAttribute("style"),r=e.getAttribute("face"),a=e.getAttribute("color");i&&(o=o+' style="'+i+'"'),r&&(o=o+' face="'+r+'"'),a&&(o=o+' color="'+a+'"')}return n=n.toLowerCase(),"<"+n+o+">"+t+""}function u(e,t,n,o){var i,r=null===(i=t.textContent)||void 0===i?void 0:i.substring(n,o),a=t,u="";do{u=l(a,null!==r&&void 0!==r?r:""),r=u,a=null===a||void 0===a?void 0:a.parentElement}while(a&&a.textContent!==e);return u}function s(e,t){var n,o,i,r,s,d=e.anchorNode,p=e.focusNode,v=e.anchorOffset,h=e.focusOffset,A=null!==(n=t.textContent)&&void 0!==n?n:"",m=c(t),g="",y="",w="",x="",_=d,E=p,b=d;if(null===d||void 0===d?void 0:d.isEqualNode(null!==p&&void 0!==p?p:null)){var C=u(A,d,v,h);return C=f(m,C),C}d&&(y=u(A,d,null!==v&&void 0!==v?v:0)),p&&(x=u(A,p,0,h)),d&&(_=a(d,A)),p&&(E=a(p,A)),b=null!==(o=null===_||void 0===_?void 0:_.nextSibling)&&void 0!==o?o:d;while(!(null===b||void 0===b?void 0:b.isEqualNode(null!==E&&void 0!==E?E:null))){var S=null===b||void 0===b?void 0:b.nodeName;if("#text"===S)w+=null===b||void 0===b?void 0:b.textContent;else{var M=null===(r=null===(i=null===b||void 0===b?void 0:b.firstChild)||void 0===i?void 0:i.parentElement)||void 0===r?void 0:r.innerHTML;b&&(w+=l(b,null!==M&&void 0!==M?M:""))}var k=null!==(s=null===b||void 0===b?void 0:b.nextSibling)&&void 0!==s?s:b;if(k===b)break;b=k}return g=""+y+w+x,g=f(m,g),g}function c(e){var t,n=null!==(t=e.textContent)&&void 0!==t?t:"",o=[];while((null===e||void 0===e?void 0:e.textContent)===n)"P"!==e.nodeName&&"TABLE"!==e.nodeName&&o.push(e),e=e.childNodes[0];return o}function f(e,t){return(0,r["default"])(e).call(e,(function(e){t=l(e,t)})),t}(0,i["default"])(t,"__esModule",{value:!0}),t.insertHtml=t.createPartHtml=t.makeHtmlString=t.getTopNode=void 0,t.getTopNode=a,t.makeHtmlString=l,t.createPartHtml=u,t.insertHtml=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(325));function l(e){a["default"](e)}t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(28));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=a.__importDefault(n(39)),s=n(96);function c(e){var t;function n(n){var o=[{$elem:l["default"](""+e.i18next.t("menus.panelMenus.link.查看链接")+""),onClick:function(e,t){var n=t.attr("href");return window.open(n,"_target"),!0}},{$elem:l["default"](""+e.i18next.t("menus.panelMenus.link.取消链接")+""),onClick:function(e,t){var n,o;e.selection.createRangeByElem(t),e.selection.restoreSelection();var i=t.childNodes();if("IMG"===(null===i||void 0===i?void 0:i.getNodeName())){var a=null===(o=null===(n=e.selection.getSelectionContainerElem())||void 0===n?void 0:n.children())||void 0===o?void 0:o.elems[0].children[0];e.cmd["do"]("insertHTML","")}else{var l,u=t.elems[0],c=u.innerHTML,f=u.parentElement;f&&(0,r["default"])(l=s.EXTRA_TAG).call(l,f.nodeName)?f.innerHTML=c:e.cmd["do"]("insertHTML",""+c+"")}return!0}}];t=new u["default"](e,n,o),t.create()}function o(){t&&(t.remove(),t=null)}return{showLinkTooltip:n,hideLinkTooltip:o}}function f(e){var t=c(e),n=t.showLinkTooltip,o=t.hideLinkTooltip;e.txt.eventHooks.linkClickEvents.push(n),e.txt.eventHooks.clickEvents.push(o),e.txt.eventHooks.keyupEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.textScrollEvents.push(o)}t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(23)),l=r.__importDefault(n(3)),u=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("italic"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("italic")?this.active():this.unActive()},t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(23)),l=r.__importDefault(n(3)),u=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("underline"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("underline")?this.active():this.unActive()},t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(23)),l=r.__importDefault(n(3)),u=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.isSelectionEmpty();t&&e.selection.createEmptyRange(),e.cmd["do"]("strikeThrough"),t&&(e.selection.collapseRange(),e.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e=this.editor;e.cmd.queryCommandState("strikeThrough")?this.active():this.unActive()},t}(a["default"]);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(24)),l=r.__importDefault(n(3)),u=r.__importDefault(n(330)),s=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              '),i=new u["default"](t.config.fontNames),r={width:100,title:"设置字体",type:"list",list:i.getItemList(),clickHandler:function(e){n.command(e)}};return n=e.call(this,o,t,r)||this,n}return r.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,o=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var r="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=(null===i||void 0===i?void 0:i.getAttribute("face"))===e;if(o){if(r&&!a){var l=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(l[0]),n.selection.moveCursor(l[0].elems[0])}n.selection.setRangeToElem(i),n.selection.createEmptyRange()}n.cmd["do"]("fontName",e),o&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=function(){function e(e){var t=this;this.itemList=[],(0,r["default"])(e).call(e,(function(e){var n="string"===typeof e?e:e.value,o="string"===typeof e?e:e.name;t.itemList.push({$elem:l["default"]("

              "+o+"

              "),value:o})}))}return e.prototype.getItemList=function(){return this.itemList},e}();t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(24)),l=r.__importDefault(n(3)),u=r.__importDefault(n(332)),s=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              '),i=new u["default"](t.config.fontSizes),r={width:160,title:"设置字号",type:"list",list:i.getItemList(),clickHandler:function(e){n.command(e)}};return n=e.call(this,o,t,r)||this,n}return r.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,o=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];null!=i&&(n.cmd["do"]("fontSize",e),o&&(n.selection.collapseRange(),n.selection.restoreSelection()))},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=function(){function e(e){for(var t in this.itemList=[],e){var n=e[t];this.itemList.push({$elem:a["default"]('

              '+n.name+"

              "),value:n.value})}}return e.prototype.getItemList=function(){return this.itemList},e}();t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(27));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(24)),s=l.__importDefault(n(3)),c=["LI"],f=["BLOCKQUOTE"],d=function(e){function t(t){var n=this,o=s["default"]('
              '),i={width:100,title:"对齐方式",type:"list",list:[{$elem:s["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.justify.靠左")+"\n

              "),value:"left"},{$elem:s["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.justify.居中")+"\n

              "),value:"center"},{$elem:s["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.justify.靠右")+"\n

              "),value:"right"},{$elem:s["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.justify.两端")+"\n

              "),value:"justify"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,o,t,i)||this,n}return l.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection,o=n.getSelectionContainerElem();n.saveRange();var i=t.selection.getSelectionRangeTopNodes();if(null===o||void 0===o?void 0:o.length)if(this.isSpecialNode(o,i[0])||this.isSpecialTopNode(i[0])){var a=this.getSpecialNodeUntilTop(o,i[0]);if(null==a)return;s["default"](a).css("text-align",e)}else(0,r["default"])(i).call(i,(function(t){t.css("text-align",e)}));n.restoreSelection()},t.prototype.getSpecialNodeUntilTop=function(e,t){var n=e.elems[0],o=t.elems[0];while(null!=n){if(-1!==(0,a["default"])(c).call(c,null===n||void 0===n?void 0:n.nodeName))return n;if(n.parentNode===o)return n;n=n.parentNode}return n},t.prototype.isSpecialNode=function(e,t){var n=this.getSpecialNodeUntilTop(e,t);return null!=n&&-1!==(0,a["default"])(c).call(c,n.nodeName)},t.prototype.isSpecialTopNode=function(e){var t;return null!=e&&-1!==(0,a["default"])(f).call(f,null===(t=e.elems[0])||void 0===t?void 0:t.nodeName)},t.prototype.tryChangeActive=function(){},t}(u["default"]);t["default"]=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=a.__importDefault(n(23)),s=a.__importDefault(n(335)),c=a.__importDefault(n(336)),f=n(7),d=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,s["default"](t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e,t,n=this.editor,o=n.selection.isSelectionEmpty(),i=n.selection.getSelectionRangeTopNodes(),a=i[i.length-1],u=this.getTopNodeName();if("BLOCKQUOTE"!==u){var s=c["default"](i);if(n.$textElem.equal(a)){var d=null===(e=n.selection.getSelectionContainerElem())||void 0===e?void 0:e.elems[0];n.selection.createRangeByElems(d.children[0],d.children[0]),i=n.selection.getSelectionRangeTopNodes(),s=c["default"](i),a.append(s)}else s.insertAfter(a);this.delSelectNode(i);var p=null===(t=s.childNodes())||void 0===t?void 0:t.last().getNode();if(null==p)return;return p.textContent?n.selection.moveCursor(p):n.selection.moveCursor(p,0),this.tryChangeActive(),void l["default"](f.EMPTY_P).insertAfter(s)}var v=l["default"](a.childNodes()),h=v.length,A=a;(0,r["default"])(v).call(v,(function(e){var t=l["default"](e);t.insertAfter(A),A=t})),a.remove(),n.selection.moveCursor(v.elems[h-1]),this.tryChangeActive(),o&&(n.selection.collapseRange(),n.selection.restoreSelection())},t.prototype.tryChangeActive=function(){var e,t=this.editor,n=null===(e=t.selection.getSelectionRangeTopNodes()[0])||void 0===e?void 0:e.getNodeName();"BLOCKQUOTE"===n?this.active():this.unActive()},t.prototype.getTopNodeName=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes()[0],n=null===t||void 0===t?void 0:t.getNodeName();return n},t.prototype.delSelectNode=function(e){(0,r["default"])(e).call(e,(function(e){e.remove()}))},t}(u["default"]);t["default"]=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=n(7),l=r.__importDefault(n(3));function u(e){function t(t){var n,o=e.selection.getSelectionContainerElem(),i=e.selection.getSelectionRangeTopNodes()[0];if("BLOCKQUOTE"===(null===i||void 0===i?void 0:i.getNodeName())){if("BLOCKQUOTE"===o.getNodeName()){var r=null===(n=o.childNodes())||void 0===n?void 0:n.getNode();e.selection.moveCursor(r)}if(""===o.text()){t.preventDefault(),o.remove();var u=l["default"](a.EMPTY_P);u.insertAfter(i),e.selection.moveCursor(u.getNode(),0)}""===i.text()&&i.remove()}}e.txt.eventHooks.enterDownEvents.push(t)}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3));function u(e){var t=l["default"]("
              ");return(0,r["default"])(e).call(e,(function(e){t.append(e.clone(!0))})),t}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(24)),u=a.__importDefault(n(3)),s=n(6),c=function(e){function t(t){var n,o=this,i=u["default"]('
              \n \n
              '),a={width:120,title:"背景颜色",type:"inline-block",list:(0,r["default"])(n=t.config.colors).call(n,(function(e){return{$elem:u["default"](''),value:e}})),clickHandler:function(e){o.command(e)}};return o=e.call(this,i,t,a)||this,o}return a.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,o=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var r="p"!==(null===i||void 0===i?void 0:i.nodeName.toLowerCase()),a=null===i||void 0===i?void 0:i.style.backgroundColor,l=s.hexToRgb(e)===a;if(o){if(r&&!l){var u=n.selection.getSelectionRangeTopNodes();n.selection.createRangeByElem(u[0]),n.selection.moveCursor(u[0].elems[0])}n.selection.createEmptyRange()}n.cmd["do"]("backColor",e),o&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(l["default"]);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(24)),u=a.__importDefault(n(3)),s=function(e){function t(t){var n,o=this,i=u["default"]('
              \n \n
              '),a={width:120,title:"文字颜色",type:"inline-block",list:(0,r["default"])(n=t.config.colors).call(n,(function(e){return{$elem:u["default"](''),value:e}})),clickHandler:function(e){o.command(e)}};return o=e.call(this,i,t,a)||this,o}return a.__extends(t,e),t.prototype.command=function(e){var t,n=this.editor,o=n.selection.isSelectionEmpty(),i=null===(t=n.selection.getSelectionContainerElem())||void 0===t?void 0:t.elems[0];if(null!=i){var r=n.selection.getSelectionText();if("A"===i.nodeName&&i.textContent===r){var a=u["default"]("").getNode();i.appendChild(a)}n.cmd["do"]("foreColor",e),o&&(n.selection.collapseRange(),n.selection.restoreSelection())}},t.prototype.tryChangeActive=function(){},t}(l["default"]);t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(33)),u=r.__importDefault(n(38)),s=r.__importDefault(n(340)),c=r.__importDefault(n(346)),f=function(e){function t(t){var n=this,o=a["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,c["default"](t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){this.createPanel("")},t.prototype.createPanel=function(e){var t=s["default"](this.editor,e),n=new l["default"](this,t);n.create()},t.prototype.tryChangeActive=function(){},t}(u["default"]);t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(17));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=n(6),u=a.__importDefault(n(3)),s=a.__importDefault(n(341)),c=n(7);function f(e,t){var n=e.config,o=new s["default"](e),i=l.getRandom("input-iframe"),a=l.getRandom("btn-ok"),f=l.getRandom("input-upload"),d=l.getRandom("btn-local-ok");function p(t){e.cmd["do"]("insertHTML",t+c.EMPTY_P),e.config.onlineVideoCallback(t)}function v(t){var n=e.config.onlineVideoCheck(t);return!0===n||("string"===typeof n&&e.config.customAlert(n,"error"),!1)}var h=[{title:e.i18next.t("menus.panelMenus.video.上传视频"),tpl:'
              \n
              \n \n
              \n
              \n \n
              \n
              ',events:[{selector:"#"+d,type:"click",fn:function(){var e=u["default"]("#"+f),t=e.elems[0];if(!t)return!0;t.click()}},{selector:"#"+f,type:"change",fn:function(){var e=u["default"]("#"+f),t=e.elems[0];if(!t)return!0;var n=t.files;return n.length&&o.uploadVideo(n),!0}}]},{title:e.i18next.t("menus.panelMenus.video.插入视频"),tpl:'
              \n "/>\n \n
              \n \n
              \n
              ",events:[{selector:"#"+a,type:"click",fn:function(){var e,t=u["default"]("#"+i),n=(0,r["default"])(e=t.val()).call(e);if(n&&v(n))return p(n),!0},bindEnter:!0}]}],A={width:300,height:0,tabs:[]};return window.FileReader&&(n.uploadVideoServer||n.customUploadVideo)&&A.tabs.push(h[0]),n.showLinkVideo&&A.tabs.push(h[1]),A}t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(133)),a=o(n(57)),l=o(n(4)),u=o(n(27));(0,i["default"])(t,"__esModule",{value:!0});var s=n(2),c=n(6),f=s.__importDefault(n(135)),d=s.__importDefault(n(136)),p=n(7),v=n(6),h=function(){function e(e){this.editor=e}return e.prototype.uploadVideo=function(e){var t=this;if(e.length){var n=this.editor,o=n.config,i="validate.",s=function(e){return n.i18next.t(i+e)},p=o.uploadVideoServer,v=o.uploadVideoMaxSize,h=v/1024,A=o.uploadVideoName,m=o.uploadVideoParams,g=o.uploadVideoParamsWithUrl,y=o.uploadVideoHeaders,w=o.uploadVideoHooks,x=o.uploadVideoTimeout,_=o.withVideoCredentials,E=o.customUploadVideo,b=o.uploadVideoAccept,C=[],S=[];if(c.arrForEach(e,(function(e){var t=e.name,n=e.size/1024/1024;t&&n&&(b instanceof Array?(0,r["default"])(b).call(b,(function(e){return e===t.split(".")[t.split(".").length-1]}))?h1&&(n+=t+1),k.append(n,e)})),p){var D=p.split("#");p=D[0];var N=D[1]||"";(0,l["default"])(c).call(c,m,(function(e,t){g&&((0,u["default"])(p).call(p,"?")>0?p+="&":p+="?",p=p+e+"="+t),k.append(e,t)})),N&&(p+="#"+N);var T=f["default"](p,{timeout:x,formData:k,headers:y,withCredentials:!!_,beforeSend:function(e){if(w.before)return w.before(e,n,C)},onTimeout:function(e){o.customAlert(s("上传视频超时"),"error"),w.timeout&&w.timeout(e,n)},onProgress:function(e,t){var o=new d["default"](n);t.lengthComputable&&(e=t.loaded/t.total,o.show(e))},onError:function(e){o.customAlert(s("上传视频错误"),"error",s("上传视频错误")+","+s("服务器返回状态")+": "+e.status),w.error&&w.error(e,n)},onFail:function(e,t){o.customAlert(s("上传视频失败"),"error",s("上传视频返回结果错误")+","+s("返回结果")+": "+t),w.fail&&w.fail(e,n,t)},onSuccess:function(e,i){if(w.customInsert){var r;w.customInsert((0,a["default"])(r=t.insertVideo).call(r,t),i,n)}else{if("0"!=i.errno)return o.customAlert(s("上传视频失败"),"error",s("上传视频返回结果错误")+","+s("返回结果")+" errno="+i.errno),void(w.fail&&w.fail(e,n,i));var l=i.data;t.insertVideo(l.url),w.success&&w.success(e,n,i)}}});"string"===typeof T&&o.customAlert(T,"error")}}else o.customAlert(s("传入的文件不合法"),"warning")}},e.prototype.insertVideo=function(e){var t=this.editor,n=t.config,o="validate.",i=function(e,n){return void 0===n&&(n=o),t.i18next.t(n+e)};if(n.customInsertVideo)n.customInsertVideo(e);else{v.UA.isFirefox?t.cmd["do"]("insertHTML",'

              '):t.cmd["do"]("insertHTML",''+p.EMPTY_P);var r=document.createElement("video");r.onload=function(){r=null},r.onerror=function(){n.customAlert(i("插入视频错误"),"error","wangEditor: "+i("插入视频错误")+","+i("视频链接")+' "'+e+'",'+i("下载链接失败")),r=null},r.onabort=function(){return r=null},r.src=e}},e}();t["default"]=h},function(e,t,n){e.exports=n(343)},function(e,t,n){var o=n(344);e.exports=o},function(e,t,n){n(345);var o=n(9);e.exports=o.Date.now},function(e,t,n){var o=n(5);o({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(347)),l=r.__importDefault(n(349));function u(e){a["default"](e),l["default"](e)}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(39)),u=r.__importDefault(n(348));function s(e){var t,n=function(t,n){return void 0===n&&(n=""),e.i18next.t(n+t)};function o(o){var i=[{$elem:a["default"](""),onClick:function(e,t){return t.remove(),!0}},{$elem:a["default"]("100%"),onClick:function(e,t){return t.attr("width","100%"),t.removeAttr("height"),!0}},{$elem:a["default"]("50%"),onClick:function(e,t){return t.attr("width","50%"),t.removeAttr("height"),!0}},{$elem:a["default"]("30%"),onClick:function(e,t){return t.attr("width","30%"),t.removeAttr("height"),!0}},{$elem:a["default"](""+n("重置")+""),onClick:function(e,t){return t.removeAttr("width"),t.removeAttr("height"),!0}},{$elem:a["default"](""+n("menus.justify.靠左")+""),onClick:function(e,t){return u["default"](t,"left"),!0}},{$elem:a["default"](""+n("menus.justify.居中")+""),onClick:function(e,t){return u["default"](t,"center"),!0}},{$elem:a["default"](""+n("menus.justify.靠右")+""),onClick:function(e,t){return u["default"](t,"right"),!0}}];t=new l["default"](e,o,i),t.create()}function i(){t&&(t.remove(),t=null)}return{showVideoTooltip:o,hideVideoTooltip:i}}function c(e){var t=s(e),n=t.showVideoTooltip,o=t.hideVideoTooltip;e.txt.eventHooks.videoClickEvents.push(n),e.txt.eventHooks.clickEvents.push(o),e.txt.eventHooks.keyupEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.textScrollEvents.push(o),e.txt.eventHooks.changeEvents.push(o)}t.createShowHideFn=s,t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(28));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3));function u(e,t){var n=["P"],o=s(e,n);o&&l["default"](o).css("text-align",t)}function s(e,t){var n,o=e.elems[0];while(null!=o){if((0,r["default"])(t).call(t,null===o||void 0===o?void 0:o.nodeName))return o;if("BODY"===(null===(n=null===o||void 0===o?void 0:o.parentNode)||void 0===n?void 0:n.nodeName))return null;o=o.parentNode}return o}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(6);function a(e){if(r.UA.isFirefox){var t=e.txt,n=e.selection,o=t.eventHooks.keydownEvents;o.push((function(t){var o=n.getSelectionContainerElem();if(o){var i=o.getNodeTop(e),r=i.length&&i.prev().length?i.prev():null;r&&r.attr("data-we-video-p")&&0===n.getCursorPos()&&8===t.keyCode&&r.remove()}}))}}t["default"]=a},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=n(7),u=a.__importDefault(n(3)),s=a.__importDefault(n(33)),c=a.__importDefault(n(38)),f=a.__importDefault(n(351)),d=a.__importDefault(n(364)),p=function(e){function t(t){var n,o=this,i=u["default"]('
              '),a=d["default"](t);a.onlyUploadConf&&(i=a.onlyUploadConf.$elem,(0,r["default"])(n=a.onlyUploadConf.events).call(n,(function(e){var t=e.type,n=e.fn||l.EMPTY_FN;i.on(t,(function(e){e.stopPropagation(),n(e)}))})));return o=e.call(this,i,t)||this,o.imgPanelConfig=a,f["default"](t),o}return a.__extends(t,e),t.prototype.clickHandler=function(){this.imgPanelConfig.onlyUploadConf||this.createPanel()},t.prototype.createPanel=function(){var e=this.imgPanelConfig,t=new s["default"](this,e);this.setPanel(t),t.create()},t.prototype.tryChangeActive=function(){},t}(c["default"]);t["default"]=p},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(352)),l=r.__importDefault(n(353)),u=r.__importDefault(n(354)),s=r.__importDefault(n(362)),c=r.__importDefault(n(363));function f(e){a["default"](e),l["default"](e),u["default"](e),s["default"](e),c["default"](e)}t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=n(131),l=r.__importDefault(n(97));function u(e,t){var n=e.config,o=n.pasteFilterStyle,i=n.pasteIgnoreImg,r=a.getPasteHtml(t,o,i);if(r)return!0;var l=a.getPasteText(t);return!!l}function s(e,t){for(var n,o=(null===(n=t.clipboardData)||void 0===n?void 0:n.types)||[],i=0;i\n
              \n
              \n ');return n.hide(),t.append(n),n}function d(e,t,n){var o=e.getBoundingClientRect(),i=n.getBoundingClientRect(),l=i.width.toFixed(2),u=i.height.toFixed(2);(0,r["default"])(t).call(t,".w-e-img-drag-show-size").text(l+"px * "+u+"px"),c(t,(0,a["default"])(l),(0,a["default"])(u),i.left-o.left,i.top-o.top),t.show()}function p(e){var t,n=e.$textContainerElem,o=f(e,n);function i(e,n){e.on("click",(function(e){e.stopPropagation()})),e.on("mousedown",".w-e-img-drag-rb",(function(o){if(o.preventDefault(),t){var i=o.clientX,l=o.clientY,s=n.getBoundingClientRect(),f=t.getBoundingClientRect(),d=f.width,p=f.height,v=f.left-s.left,h=f.top-s.top,A=d/p,m=d,g=p,y=u["default"](document);y.on("mousemove",x),y.on("mouseup",_),y.on("mouseleave",w)}function w(){y.off("mousemove",x),y.off("mouseup",_)}function x(t){t.stopPropagation(),t.preventDefault(),m=d+(t.clientX-i),g=p+(t.clientY-l),m/g!=A&&(g=m/A),m=(0,a["default"])(m.toFixed(2)),g=(0,a["default"])(g.toFixed(2)),(0,r["default"])(e).call(e,".w-e-img-drag-show-size").text(m.toFixed(2).replace(".00","")+"px * "+g.toFixed(2).replace(".00","")+"px"),c(e,m,g,v,h)}function _(){t.attr("width",m+""),t.attr("height",g+"");var n=t.getBoundingClientRect();c(e,m,g,n.left-s.left,n.top-s.top),w()}}))}function l(e){if(s.UA.isIE())return!1;e&&(t=e,d(n,o,t))}function p(){(0,r["default"])(n).call(n,".w-e-img-drag-mask").hide()}return i(o,n),u["default"](document).on("click",p),e.beforeDestroy((function(){u["default"](document).off("click",p)})),{showDrag:l,hideDrag:p}}function v(e){var t=p(e),n=t.showDrag,o=t.hideDrag;e.txt.eventHooks.imgClickEvents.push(n),e.txt.eventHooks.textScrollEvents.push(o),e.txt.eventHooks.keyupEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.changeEvents.push(o)}t.createShowHideFn=p,t["default"]=v},function(e,t,n){e.exports=n(356)},function(e,t,n){var o=n(357);e.exports=o},function(e,t,n){n(358);var o=n(9);e.exports=o.parseFloat},function(e,t,n){var o=n(5),i=n(359);o({global:!0,forced:parseFloat!=i},{parseFloat:i})},function(e,t,n){var o=n(8),i=n(90).trim,r=n(68),a=o.parseFloat,l=1/a(r+"-0")!==-1/0;e.exports=l?function(e){var t=i(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var o=n(20),i=n(361);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,".w-e-text-container {\n overflow: hidden;\n}\n.w-e-img-drag-mask {\n position: absolute;\n z-index: 1;\n border: 1px dashed #ccc;\n box-sizing: border-box;\n}\n.w-e-img-drag-mask .w-e-img-drag-rb {\n position: absolute;\n right: -5px;\n bottom: -5px;\n width: 16px;\n height: 16px;\n border-radius: 50%;\n background: #ccc;\n cursor: se-resize;\n}\n.w-e-img-drag-mask .w-e-img-drag-show-size {\n min-width: 110px;\n height: 22px;\n line-height: 22px;\n font-size: 14px;\n color: #999;\n position: absolute;\n left: 0;\n top: 0;\n background-color: #999;\n color: #fff;\n border-radius: 2px;\n padding: 0 5px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(39));function u(e){var t,n=function(t,n){return void 0===n&&(n=""),e.i18next.t(n+t)};function o(o){var i=[{$elem:a["default"](""),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("delete"),!0}},{$elem:a["default"]("30%"),onClick:function(e,t){return t.attr("width","30%"),t.removeAttr("height"),!0}},{$elem:a["default"]("50%"),onClick:function(e,t){return t.attr("width","50%"),t.removeAttr("height"),!0}},{$elem:a["default"]("100%"),onClick:function(e,t){return t.attr("width","100%"),t.removeAttr("height"),!0}}];i.push({$elem:a["default"](""+n("重置")+""),onClick:function(e,t){return t.removeAttr("width"),t.removeAttr("height"),!0}}),o.attr("data-href")&&i.push({$elem:a["default"](""+n("查看链接")+""),onClick:function(e,t){var n=t.attr("data-href");return n&&(n=decodeURIComponent(n),window.open(n,"_target")),!0}}),t=new l["default"](e,o,i),t.create()}function i(){t&&(t.remove(),t=null)}return{showImgTooltip:o,hideImgTooltip:i}}function s(e){var t=u(e),n=t.showImgTooltip,o=t.hideImgTooltip;e.txt.eventHooks.imgClickEvents.push(n),e.txt.eventHooks.clickEvents.push(o),e.txt.eventHooks.keyupEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.textScrollEvents.push(o),e.txt.eventHooks.imgDragBarMouseDownEvents.push(o),e.txt.eventHooks.changeEvents.push(o)}t.createShowHideFn=u,t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));function r(e){var t=e.txt,n=e.selection,o=t.eventHooks.keydownEvents;o.push((function(e){var t=n.getSelectionContainerElem(),o=n.getRange();if(o&&t&&8===e.keyCode&&n.isSelectionEmpty()){var i=o.startContainer,r=o.startOffset,a=null;if(0===r)while(i!==t.elems[0]&&t.elems[0].contains(i)&&i.parentNode&&!a){if(i.previousSibling){a=i.previousSibling;break}i=i.parentNode}else 3!==i.nodeType&&(a=i.childNodes[r-1]);if(a){var l=a;while(l.childNodes.length)l=l.childNodes[l.childNodes.length-1];l instanceof HTMLElement&&"IMG"===l.tagName&&(l.remove(),e.preventDefault())}}}))}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26)),a=o(n(17));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(3)),s=n(6),c=l.__importDefault(n(97));function f(e){var t,n=e.config,o=new c["default"](e),i=s.getRandom("up-trigger-id"),l=s.getRandom("up-file-id"),f=s.getRandom("input-link-url"),d=s.getRandom("input-link-url-alt"),p=s.getRandom("input-link-url-href"),v=s.getRandom("btn-link"),h="menus.panelMenus.image.",A=function(t,n){return void 0===n&&(n=h),e.i18next.t(n+t)};function m(e,t,o){var i=n.linkImgCheck(e);return!0===i||("string"===typeof i&&n.customAlert(i,"error"),!1)}var g=1===n.uploadImgMaxLength?"":'multiple="multiple"',y=(0,r["default"])(t=n.uploadImgAccept).call(t,(function(e){return"image/"+e})).join(","),w=function(e,t,n){return'
              \n
              \n \n
              \n
              \n \n
              \n
              '},x=[{selector:"#"+i,type:"click",fn:function(){var e=n.uploadImgFromMedia;if(e&&"function"===typeof e)return e(),!0;var t=u["default"]("#"+l),o=t.elems[0];if(!o)return!0;o.click()}},{selector:"#"+l,type:"change",fn:function(){var e=u["default"]("#"+l),t=e.elems[0];if(!t)return!0;var n=t.files;return(null===n||void 0===n?void 0:n.length)&&o.uploadImg(n),t&&(t.value=""),!0}}],_=[''];n.showLinkImgAlt&&_.push('\n '),n.showLinkImgHref&&_.push('\n ');var E=[{title:A("上传图片"),tpl:w("w-e-up-img-container","w-e-icon-upload2",""),events:x},{title:A("网络图片"),tpl:"
              \n "+_.join("")+'\n
              \n \n
              \n
              ",events:[{selector:"#"+v,type:"click",fn:function(){var e,t=u["default"]("#"+f),i=(0,a["default"])(e=t.val()).call(e);if(i){var r,l,s,c;if(n.showLinkImgAlt)r=(0,a["default"])(l=u["default"]("#"+d).val()).call(l);if(n.showLinkImgHref)s=(0,a["default"])(c=u["default"]("#"+p).val()).call(c);if(m(i,r,s))return o.insertImg(i,r,s),!0}},bindEnter:!0}]}],b={width:300,height:0,tabs:[],onlyUploadConf:{$elem:u["default"](w("w-e-menu","w-e-icon-image","图片")),events:x}};return window.FileReader&&(n.uploadImgShowBase64||n.uploadImgServer||n.customUploadImg||n.uploadImgFromMedia)&&b.tabs.push(E[0]),n.showLinkImg&&(b.tabs.push(E[1]),b.onlyUploadConf=void 0),b}t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=a.__importDefault(n(24)),s=a.__importDefault(n(366)),c=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              '),i={width:130,title:"设置缩进",type:"list",list:[{$elem:l["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.indent.增加缩进")+"\n

              "),value:"increase"},{$elem:l["default"]('

              \n \n '+t.i18next.t("menus.dropListMenu.indent.减少缩进")+"\n

              "),value:"decrease"}],clickHandler:function(e){n.command(e)}};return n=e.call(this,o,t,i)||this,n}return a.__extends(t,e),t.prototype.command=function(e){var t=this.editor,n=t.selection.getSelectionContainerElem();if(n&&t.$textElem.equal(n)){var o=t.selection.getSelectionRangeTopNodes();o.length>0&&(0,r["default"])(o).call(o,(function(n){s["default"](l["default"](n),e,t)}))}else n&&n.length>0&&(0,r["default"])(n).call(n,(function(n){s["default"](l["default"](n),e,t)}));t.selection.restoreSelection(),this.tryChangeActive()},t.prototype.tryChangeActive=function(){var e=this.editor,t=e.selection.getSelectionStartElem(),n=l["default"](t).getNodeTop(e);n.length<=0||(""!=n.elems[0].style["paddingLeft"]?this.active():this.unActive())},t}(u["default"]);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(45)),a=o(n(17));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(367)),s=l.__importDefault(n(368)),c=/^(\d+)(\w+)$/,f=/^(\d+)%$/;function d(e){var t=e.config.indentation;if("string"===typeof t){if(c.test(t)){var n,o=(0,r["default"])(n=(0,a["default"])(t).call(t).match(c)).call(n,1,3),i=o[0],l=o[1];return{value:Number(i),unit:l}}if(f.test(t))return{value:Number((0,a["default"])(t).call(t).match(f)[1]),unit:"%"}}else if(void 0!==t.value&&t.unit)return t;return{value:2,unit:"em"}}function p(e,t,n){var o=e.getNodeTop(n),i=/^(P|H[0-9]*)$/;i.test(o.getNodeName())&&("increase"===t?u["default"](o,d(n)):"decrease"===t&&s["default"](o,d(n)))}t["default"]=p},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(45));function a(e,t){var n=e.elems[0];if(""===n.style["paddingLeft"])e.css("padding-left",t.value+t.unit);else{var o=n.style["paddingLeft"],i=(0,r["default"])(o).call(o,0,o.length-t.unit.length),a=Number(i)+t.value;e.css("padding-left",""+a+t.unit)}}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=a},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(45));function a(e,t){var n=e.elems[0];if(""!==n.style["paddingLeft"]){var o=n.style["paddingLeft"],i=(0,r["default"])(o).call(o,0,o.length-t.unit.length),a=Number(i)-t.value;a>0?e.css("padding-left",""+a+t.unit):e.css("padding-left","")}}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=a},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(38)),u=r.__importDefault(n(33)),s=r.__importDefault(n(370)),c=function(e){function t(t){var n=this,o=a["default"]('

              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.createPanel=function(){var e=s["default"](this.editor),t=new u["default"](this,e);t.create()},t.prototype.clickHandler=function(){this.createPanel()},t.prototype.tryChangeActive=function(){},t}(l["default"]);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26)),a=o(n(70)),l=o(n(17));(0,i["default"])(t,"__esModule",{value:!0});var u=n(2),s=u.__importDefault(n(3));function c(e){var t=e.config.emotions;function n(e){var t,n,o=[];"image"==e.type?(o=(0,r["default"])(t=e.content).call(t,(function(e){return"string"==typeof e?"":'\n ['+e.alt+']\n '})),o=(0,a["default"])(o).call(o,(function(e){return""!==e}))):o=(0,r["default"])(n=e.content).call(n,(function(e){return''+e+""}));return o.join("").replace(/ /g,"")}var o=(0,r["default"])(t).call(t,(function(t){return{title:e.i18next.t("menus.panelMenus.emoticon."+t.title),tpl:"
              "+n(t)+"
              ",events:[{selector:".eleImg",type:"click",fn:function(t){var n,o,i=s["default"](t.target),r=i.getNodeName();"IMG"===r?n=(0,l["default"])(o=i.parent().html()).call(o):n=""+i.html()+"";return e.cmd["do"]("insertHTML",n),!0}}]}})),i={width:300,height:230,tabs:o};return i}t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createListHandle=t.ClassType=void 0;var r,a=n(2),l=a.__importDefault(n(3)),u=a.__importDefault(n(372)),s=a.__importDefault(n(374)),c=a.__importDefault(n(375)),f=a.__importDefault(n(376)),d=a.__importDefault(n(377));(function(e){e["Wrap"]="WrapListHandle",e["Join"]="JoinListHandle",e["StartJoin"]="StartJoinListHandle",e["EndJoin"]="EndJoinListHandle",e["Other"]="OtherListHandle"})(r=t.ClassType||(t.ClassType={}));var p={WrapListHandle:u["default"],JoinListHandle:s["default"],StartJoinListHandle:c["default"],EndJoinListHandle:f["default"],OtherListHandle:d["default"]};function v(e,t,n){if(e===r.Other&&void 0===n)throw new Error("other 类需要传入 range");return e!==r.Other?new p[e](t):new p[e](t,n)}t.createListHandle=v;var h=function(){function e(e){this.handle=e,this.handle.exec()}return e.prototype.getSelectionRangeElem=function(){return l["default"](this.handle.selectionRangeElem.get())},e}();t["default"]=h},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t=this.options,n=t.listType,o=t.listTarget,i=t.$selectionElem,a=t.$startElem,u=t.$endElem,c=[],f=null===i||void 0===i?void 0:i.getNodeName(),d=a.prior,p=u.prior;if(!a.prior&&!u.prior||!(null===d||void 0===d?void 0:d.prev().length)&&!(null===p||void 0===p?void 0:p.next().length)){var v;(0,r["default"])(v=null===i||void 0===i?void 0:i.children()).call(v,(function(e){c.push(l["default"](e))})),f===n?e=s.createElementFragment(c,s.createDocumentFragment(),"p"):(e=s.createElement(o),(0,r["default"])(c).call(c,(function(t){e.appendChild(t.elems[0])}))),this.selectionRangeElem.set(e),s.insertBefore(i,e,i.elems[0]),i.remove()}else{var h=d;while(h.length)c.push(h),h=(null===p||void 0===p?void 0:p.equal(h))?l["default"](void 0):h.next();var A=d.prev(),m=p.next();if(f===n?e=s.createElementFragment(c,s.createDocumentFragment(),"p"):(e=s.createElement(o),(0,r["default"])(c).call(c,(function(t){e.append(t.elems[0])}))),A.length&&m.length){var g=[];while(m.length)g.push(m),m=m.next();var y=s.createElement(f);(0,r["default"])(g).call(g,(function(e){y.append(e.elems[0])})),l["default"](y).insertAfter(i),this.selectionRangeElem.set(e);var w=i.next();w.length?s.insertBefore(i,e,w.elems[0]):i.parent().elems[0].append(e)}else if(A.length){this.selectionRangeElem.set(e);w=i.next();w.length?s.insertBefore(i,e,w.elems[0]):i.parent().elems[0].append(e)}else this.selectionRangeElem.set(e),s.insertBefore(i,e,i.elems[0])}},t}(u.ListHandle);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=function(){function e(){this._element=null}return e.prototype.set=function(e){if(e instanceof DocumentFragment){var t,n=[];(0,r["default"])(t=e.childNodes).call(t,(function(e){n.push(e)})),e=n}this._element=e},e.prototype.get=function(){return this._element},e.prototype.clear=function(){this._element=null},e}();t["default"]=a},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n,o,i,a,u,c,f=this.options,d=f.editor,p=f.listType,v=f.listTarget,h=f.$startElem,A=f.$endElem,m=d.selection.getSelectionRangeTopNodes(),g=null===h||void 0===h?void 0:h.getNodeName(),y=null===A||void 0===A?void 0:A.getNodeName();if(g===y)if(m.length>2)if(m.shift(),m.pop(),c=s.createElementFragment(s.filterSelectionNodes(m),s.createDocumentFragment()),g===p)null===(e=A.children())||void 0===e||(0,r["default"])(e).call(e,(function(e){c.append(e)})),A.remove(),this.selectionRangeElem.set(c),h.elems[0].append(c);else{var w=document.createDocumentFragment(),x=document.createDocumentFragment(),_=s.getStartPoint(h);while(_.length){var E=_.elems[0];_=_.next(),w.append(E)}var b=s.getEndPoint(A),C=[];while(b.length)C.unshift(b.elems[0]),b=b.prev();(0,r["default"])(C).call(C,(function(e){x.append(e)}));var S=s.createElement(v);S.append(w),S.append(c),S.append(x),c=S,this.selectionRangeElem.set(c),l["default"](S).insertAfter(h),!(null===(t=h.children())||void 0===t?void 0:t.length)&&h.remove(),!(null===(n=A.children())||void 0===n?void 0:n.length)&&A.remove()}else{m.length=0;_=s.getStartPoint(h);while(_.length)m.push(_),_=_.next();b=s.getEndPoint(A),C=[];while(b.length)C.unshift(b),b=b.prev();m.push.apply(m,C),g===p?(c=s.createElementFragment(m,s.createDocumentFragment(),"p"),this.selectionRangeElem.set(c),s.insertBefore(h,c,A.elems[0])):(c=s.createElement(v),(0,r["default"])(m).call(m,(function(e){c.append(e.elems[0])})),this.selectionRangeElem.set(c),l["default"](c).insertAfter(h)),!(null===(o=h.children())||void 0===o?void 0:o.length)&&A.remove(),!(null===(i=A.children())||void 0===i?void 0:i.length)&&A.remove()}else{var M=[];b=s.getEndPoint(A);while(b.length)M.unshift(b),b=b.prev();var k=[];_=s.getStartPoint(h);while(_.length)k.push(_),_=_.next();if(c=s.createDocumentFragment(),m.shift(),m.pop(),(0,r["default"])(k).call(k,(function(e){return c.append(e.elems[0])})),c=s.createElementFragment(s.filterSelectionNodes(m),c),(0,r["default"])(M).call(M,(function(e){return c.append(e.elems[0])})),this.selectionRangeElem.set(c),g===p)h.elems[0].append(c),!(null===(a=A.children())||void 0===a?void 0:a.length)&&A.remove();else if(null===(u=A.children())||void 0===u?void 0:u.length){var D=A.children();s.insertBefore(D,c,D.elems[0])}else A.elems[0].append(c)}},t}(u.ListHandle);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n=this.options,o=n.editor,i=n.listType,a=n.listTarget,u=n.$startElem,c=o.selection.getSelectionRangeTopNodes(),f=null===u||void 0===u?void 0:u.getNodeName();c.shift();var d=[],p=s.getStartPoint(u);while(p.length)d.push(p),p=p.next();f===i?(t=s.createDocumentFragment(),(0,r["default"])(d).call(d,(function(e){return t.append(e.elems[0])})),t=s.createElementFragment(s.filterSelectionNodes(c),t),this.selectionRangeElem.set(t),u.elems[0].append(t)):(t=s.createElement(a),(0,r["default"])(d).call(d,(function(e){return t.append(e.elems[0])})),t=s.createElementFragment(s.filterSelectionNodes(c),t),this.selectionRangeElem.set(t),l["default"](t).insertAfter(u),!(null===(e=u.children())||void 0===e?void 0:e.length)&&u.remove())},t}(u.ListHandle);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(58),s=n(47),c=function(e){function t(t){return e.call(this,t)||this}return a.__extends(t,e),t.prototype.exec=function(){var e,t,n,o=this.options,i=o.editor,a=o.listType,u=o.listTarget,c=o.$endElem,f=i.selection.getSelectionRangeTopNodes(),d=null===c||void 0===c?void 0:c.getNodeName();f.pop();var p=[],v=s.getEndPoint(c);while(v.length)p.unshift(v),v=v.prev();if(d===a)if(n=s.createElementFragment(s.filterSelectionNodes(f),s.createDocumentFragment()),(0,r["default"])(p).call(p,(function(e){return n.append(e.elems[0])})),this.selectionRangeElem.set(n),null===(e=c.children())||void 0===e?void 0:e.length){var h=c.children();s.insertBefore(h,n,h.elems[0])}else c.elems[0].append(n);else{var A=s.filterSelectionNodes(f);A.push.apply(A,p),n=s.createElementFragment(A,s.createElement(u)),this.selectionRangeElem.set(n),l["default"](n).insertBefore(c),!(null===(t=c.children())||void 0===t?void 0:t.length)&&c.remove()}},t}(u.ListHandle);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=n(58),l=n(47),u=function(e){function t(t,n){var o=e.call(this,t)||this;return o.range=n,o}return r.__extends(t,e),t.prototype.exec=function(){var e=this.options,t=e.editor,n=e.listTarget,o=t.selection.getSelectionRangeTopNodes(),i=l.createElementFragment(l.filterSelectionNodes(o),l.createElement(n));this.selectionRangeElem.set(i),this.range.insertNode(i)},t}(a.ListHandle);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(27));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(24)),s=l.__importDefault(n(3)),c=l.__importDefault(n(379)),f=function(e){function t(t){var n=this,o=s["default"]('
              \n \n
              '),i=new c["default"](t,t.config.lineHeights),r={width:100,title:"设置行高",type:"list",list:i.getItemList(),clickHandler:function(e){t.selection.saveRange(),n.command(e)}};return n=e.call(this,o,t,r)||this,n}return l.__extends(t,e),t.prototype.command=function(e){var t=this.editor;t.selection.restoreSelection();var n=s["default"](t.selection.getSelectionContainerElem());if(n.elems.length)if(n&&t.$textElem.equal(n)){for(var o=!1,i=s["default"](t.selection.getSelectionStartElem()).elems[0],r=s["default"](t.selection.getSelectionEndElem()).elems[0],a=this.getDom(i),l=this.getDom(r),u=n.elems[0].children,c=0;c"+e.i18next.t("默认")+""),value:""}],(0,r["default"])(t).call(t,(function(e){n.itemList.push({$elem:l["default"](""+e+""),value:e})}))}return e.prototype.getItemList=function(){return this.itemList},e}();t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(23)),u=function(e){function t(t){var n=this,o=a["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;e.history.revoke();var t=e.$textElem.children();if(null===t||void 0===t?void 0:t.length){var n=t.last();e.selection.createRangeByElem(n,!1,!0),e.selection.restoreSelection()}},t.prototype.tryChangeActive=function(){this.editor.isCompatibleMode||(this.editor.history.size[0]?this.active():this.unActive())},t}(l["default"]);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(23)),u=function(e){function t(t){var n=this,o=a["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;e.history.restore();var t=e.$textElem.children();if(null===t||void 0===t?void 0:t.length){var n=t.last();e.selection.createRangeByElem(n,!1,!0),e.selection.restoreSelection()}},t.prototype.tryChangeActive=function(){this.editor.isCompatibleMode||(this.editor.history.size[1]?this.active():this.unActive())},t}(l["default"]);t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(38)),l=r.__importDefault(n(3)),u=r.__importDefault(n(383)),s=r.__importDefault(n(33)),c=r.__importDefault(n(392)),f=function(e){function t(t){var n=this,o=l["default"]('
              ');return n=e.call(this,o,t)||this,c["default"](t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){this.createPanel()},t.prototype.createPanel=function(){var e=u["default"](this.editor),t=new s["default"](this,e);t.create()},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(384));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=n(6),u=a.__importDefault(n(3));n(389);var s=a.__importDefault(n(391));function c(e){return e>0&&(0,r["default"])(e)}function f(e){var t=new s["default"](e),n=l.getRandom("w-col-id"),o=l.getRandom("w-row-id"),i=l.getRandom("btn-link"),r="menus.panelMenus.table.",a=function(t){return e.i18next.t(t)},f=[{title:a(r+"插入表格"),tpl:'
              \n
              \n '+a("创建")+'\n \n '+a(r+"行")+'\n \n '+(a(r+"列")+a(r+"的")+a(r+"表格"))+'\n
              \n
              \n \n
              \n
              ",events:[{selector:"#"+i,type:"click",fn:function(){var i=Number(u["default"]("#"+n).val()),r=Number(u["default"]("#"+o).val());return c(r)&&c(i)?(t.createAction(r,i),!0):(e.config.customAlert("表格行列请输入正整数","warning"),!1)},bindEnter:!0}]}],d={width:330,height:0,tabs:[]};return d.tabs.push(f[0]),d}t["default"]=f},function(e,t,n){e.exports=n(385)},function(e,t,n){var o=n(386);e.exports=o},function(e,t,n){n(387);var o=n(9);e.exports=o.Number.isInteger},function(e,t,n){var o=n(5),i=n(388);o({target:"Number",stat:!0},{isInteger:i})},function(e,t,n){var o=n(13),i=Math.floor;e.exports=function(e){return!o(e)&&isFinite(e)&&i(e)===e}},function(e,t,n){var o=n(20),i=n(390);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,".w-e-table {\n display: flex;\n}\n.w-e-table .w-e-table-input {\n width: 40px;\n text-align: center!important;\n margin: 0 5px;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=n(7),l=r.__importDefault(n(3)),u=function(){function e(e){this.editor=e}return e.prototype.createAction=function(e,t){var n=this.editor,o=l["default"](n.selection.getSelectionContainerElem()),i=l["default"](o.elems[0]).parentUntilEditor("UL",n),r=l["default"](o.elems[0]).parentUntilEditor("OL",n);if(!i&&!r){var a=this.createTableHtml(e,t);n.cmd["do"]("insertHTML",a)}},e.prototype.createTableHtml=function(e,t){for(var n="",o="",i=0;i":"";n=n+""+o+""}var l=''+n+"
              "+a.EMPTY_P;return l},e}();t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(393)),l=n(400);function u(e){a["default"](e),l.bindEventKeyboardEvent(e),l.bindClickEvent(e)}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(39)),u=r.__importDefault(n(394)),s=r.__importDefault(n(399)),c=n(7);function f(e){var t;function n(n){var o=new s["default"](e),i="menus.panelMenus.table.",r=function(t,n){return void 0===n&&(n=i),e.i18next.t(n+t)},f=[{$elem:a["default"](""+r("删除表格")+""),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",c.EMPTY_P),!0}},{$elem:a["default"](""+r("添加行")+""),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),r=o.getRowNode(i.elems[0]);if(!r)return!0;var l=Number(o.getCurrentRowIndex(t.elems[0],r)),s=o.getTableHtml(t.elems[0]),c=o.getTableHtml(u["default"].ProcessingRow(a["default"](s),l).elems[0]);return c=v(t,c),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",c),!0}},{$elem:a["default"](""+r("删除行")+""),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),r=o.getRowNode(i.elems[0]);if(!r)return!0;var l=Number(o.getCurrentRowIndex(t.elems[0],r)),s=o.getTableHtml(t.elems[0]),f=u["default"].DeleteRow(a["default"](s),l).elems[0].children[0].children.length,p="";return e.selection.createRangeByElem(t),e.selection.restoreSelection(),p=0===f?c.EMPTY_P:o.getTableHtml(u["default"].DeleteRow(a["default"](s),l).elems[0]),p=v(t,p),e.cmd["do"]("insertHTML",p),!0}},{$elem:a["default"](""+r("添加列")+""),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),r=o.getCurrentColIndex(i.elems[0]),l=o.getTableHtml(t.elems[0]),s=o.getTableHtml(u["default"].ProcessingCol(a["default"](l),r).elems[0]);return s=v(t,s),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",s),!0}},{$elem:a["default"](""+r("删除列")+""),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),r=o.getCurrentColIndex(i.elems[0]),l=o.getTableHtml(t.elems[0]),s=u["default"].DeleteCol(a["default"](l),r),f=s.elems[0].children[0].children[0].children.length,p="";return e.selection.createRangeByElem(t),e.selection.restoreSelection(),p=0===f?c.EMPTY_P:o.getTableHtml(s.elems[0]),p=v(t,p),e.cmd["do"]("insertHTML",p),!0}},{$elem:a["default"](""+r("设置表头")+""),onClick:function(e,t){var n=d(e);if(n)return!0;var i=a["default"](e.selection.getSelectionStartElem()),r=o.getRowNode(i.elems[0]);if(!r)return!0;var l=Number(o.getCurrentRowIndex(t.elems[0],r));0!==l&&(l=0);var s=o.getTableHtml(t.elems[0]),c=o.getTableHtml(u["default"].setTheHeader(a["default"](s),l,"th").elems[0]);return c=v(t,c),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",c),!0}},{$elem:a["default"](""+r("取消表头")+""),onClick:function(e,t){var n=a["default"](e.selection.getSelectionStartElem()),i=o.getRowNode(n.elems[0]);if(!i)return!0;var r=Number(o.getCurrentRowIndex(t.elems[0],i));0!==r&&(r=0);var l=o.getTableHtml(t.elems[0]),s=o.getTableHtml(u["default"].setTheHeader(a["default"](l),r,"td").elems[0]);return s=v(t,s),e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("insertHTML",s),!0}}];t=new l["default"](e,n,f),t.create()}function o(){t&&(t.remove(),t=null)}return{showTableTooltip:n,hideTableTooltip:o}}function d(e){var t=e.selection.getSelectionStartElem(),n=e.selection.getSelectionEndElem();return(null===t||void 0===t?void 0:t.elems[0])!==(null===n||void 0===n?void 0:n.elems[0])}function p(e){var t=f(e),n=t.showTableTooltip,o=t.hideTableTooltip;e.txt.eventHooks.tableClickEvents.push(n),e.txt.eventHooks.clickEvents.push(o),e.txt.eventHooks.keyupEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.textScrollEvents.push(o)}function v(e,t){var n=e.elems[0].nextSibling;return n&&"
              "!==n.innerHTML||(t+=""+c.EMPTY_P),t}t["default"]=p},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(45)),a=o(n(91)),l=o(n(4)),u=o(n(138));(0,i["default"])(t,"__esModule",{value:!0});var s=n(2),c=s.__importDefault(n(3));function f(e,t){for(var n=m(e),o=(0,r["default"])(Array.prototype).apply(n.children),i=o[0].children.length,l=document.createElement("tr"),u=0;u1?arguments[1]:void 0,g=void 0!==m,y=s(v),w=0;if(g&&(m=o(m,A>2?arguments[2]:void 0,2)),void 0==y||h==Array&&a(y))for(t=l(v.length),n=new h(t);t>w;w++)p=g?m(v[w],w):v[w],u(n,w,p);else for(f=y.call(v),d=f.next,n=new h;!(c=d.call(f)).done;w++)p=g?r(f,m,[c.value,w],!0):c.value,u(n,w,p);return n.length=w,n}},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(138));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(3)),s=function(){function e(e){this.editor=e}return e.prototype.getRowNode=function(e){var t,n=u["default"](e).elems[0];return n.parentNode?(n=null===(t=u["default"](n).parentUntil("TR",n))||void 0===t?void 0:t.elems[0],n):n},e.prototype.getCurrentRowIndex=function(e,t){var n,o=0,i=e.children[0];return"COLGROUP"===i.nodeName&&(i=e.children[e.children.length-1]),(0,r["default"])(n=(0,a["default"])(i.children)).call(n,(function(e,n){e===t&&(o=n)})),o},e.prototype.getCurrentColIndex=function(e){var t,n,o=0,i="TD"===u["default"](e).getNodeName()||"TH"===u["default"](e).getNodeName()?e:null===(n=u["default"](e).parentUntil("TD",e))||void 0===n?void 0:n.elems[0],l=u["default"](i).parent();return(0,r["default"])(t=(0,a["default"])(l.elems[0].children)).call(t,(function(e,t){e===i&&(o=t)})),o},e.prototype.getTableHtml=function(e){var t=''+u["default"](e).html()+"
              ";return t},e}();t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.bindEventKeyboardEvent=t.bindClickEvent=void 0;var r=n(2),a=r.__importDefault(n(3));function l(e){if(!e.length)return!1;var t=e.elems[0];return"P"===t.nodeName&&"
              "===t.innerHTML}function u(e){function t(t,n){if(n.detail>=3){var o=window.getSelection();if(o){var i=o.focusNode,r=o.anchorNode,l=a["default"](null===r||void 0===r?void 0:r.parentElement);if(!t.isContain(a["default"](i))){var u="TD"===l.elems[0].tagName?l:l.parentUntilEditor("td",e);if(u){var s=e.selection.getRange();null===s||void 0===s||s.setEnd(u.elems[0],u.elems[0].childNodes.length),e.selection.restoreSelection()}}}}}e.txt.eventHooks.tableClickEvents.push(t)}function s(e){var t=e.txt,n=e.selection,o=t.eventHooks.keydownEvents;o.push((function(t){e.selection.saveRange();var o=n.getSelectionContainerElem();if(o){var i=o.getNodeTop(e),r=i.length&&i.prev().length?i.prev():null;if(r&&"TABLE"===r.getNodeName()&&n.isSelectionEmpty()&&0===n.getCursorPos()&&8===t.keyCode){var a=i.next(),u=!!a.length;u&&l(i)&&(i.remove(),e.selection.setRangeToElem(a.elems[0])),t.preventDefault()}}}))}t.bindClickEvent=u,t.bindEventKeyboardEvent=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26));(0,i["default"])(t,"__esModule",{value:!0}),t.formatCodeHtml=void 0;var a=n(2),l=a.__importDefault(n(38)),u=a.__importDefault(n(3)),s=n(6),c=a.__importDefault(n(402)),f=a.__importDefault(n(139)),d=a.__importDefault(n(33)),p=a.__importDefault(n(403));function v(e,t){return t?(t=o(t),t=n(t),t=s.replaceSpecialSymbol(t),t):t;function n(e){var t=e.match(//g);return null===t||(0,r["default"])(t).call(t,(function(t){e=e.replace(t,t.replace(/<\/code>/g,"\n").replace(/
              /g,""))})),e}function o(e){var t,n=e.match(//gm);if(!n||!n.length)return e;for(var i=(0,r["default"])(t=s.deepClone(n)).call(t,(function(e){return e=e.replace(/]+>/,""),e.replace(/<\/span>/,"")})),a=0;a');return n=e.call(this,o,t)||this,p["default"](t),n}return a.__extends(t,e),t.prototype.insertLineCode=function(e){var t=this.editor,n=u["default"](""+e+"");t.cmd["do"]("insertElem",n),t.selection.createRangeByElem(n,!1),t.selection.restoreSelection()},t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.getSelectionText();this.isActive||(e.selection.isSelectionEmpty()?this.createPanel("",""):this.insertLineCode(t))},t.prototype.createPanel=function(e,t){var n=c["default"](this.editor,e,t),o=new d["default"](this,n);o.create()},t.prototype.tryChangeActive=function(){var e=this.editor;f["default"](e)?this.active():this.unActive()},t}(l["default"]);t["default"]=h},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(26));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=n(6),u=a.__importDefault(n(3)),s=a.__importDefault(n(139)),c=n(7);function f(e,t,n){var o,i=l.getRandom("input-iframe"),a=l.getRandom("select"),f=l.getRandom("btn-ok");function d(t,n){var o,i=s["default"](e);i&&p();var r=null===(o=e.selection.getSelectionStartElem())||void 0===o?void 0:o.elems[0].innerHTML;r&&e.cmd["do"]("insertHTML",c.EMPTY_P);var a=n.replace(//g,">");e.highlight&&(a=e.highlight.highlightAuto(a).value),e.cmd["do"]("insertHTML",'
              '+a+"
              ");var l=e.selection.getSelectionStartElem(),f=null===l||void 0===l?void 0:l.getNodeTop(e);0===(null===f||void 0===f?void 0:f.getNextSibling().elems.length)&&u["default"](c.EMPTY_P).insertAfter(f)}function p(){if(s["default"](e)){var t=e.selection.getSelectionStartElem(),n=null===t||void 0===t?void 0:t.getNodeTop(e);n&&(e.selection.createRangeByElem(n),e.selection.restoreSelection(),n)}}var v=function(t){return e.i18next.t(t)},h={width:500,height:0,tabs:[{title:v("menus.panelMenus.code.插入代码"),tpl:'
              \n \n \n
              \n \n
              \n
              ",events:[{selector:"#"+f,type:"click",fn:function(){var t=document.getElementById(i),n=u["default"]("#"+a),o=n.val(),r=t.value;if(r)return!s["default"](e)&&(d(o,r),!0)}}]}]};return h}t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(404)),l=r.__importDefault(n(405));function u(e){a["default"](e),l["default"](e)}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.createShowHideFn=void 0;var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(39));function u(e){var t;function n(n){var o="menus.panelMenus.code.",i=function(t,n){return void 0===n&&(n=o),e.i18next.t(n+t)},r=[{$elem:a["default"](""+i("删除代码")+""),onClick:function(e,t){return t.remove(),!0}}];t=new l["default"](e,n,r),t.create()}function o(){t&&(t.remove(),t=null)}return{showCodeTooltip:n,hideCodeTooltip:o}}function s(e){var t=u(e),n=t.showCodeTooltip,o=t.hideCodeTooltip;e.txt.eventHooks.codeClickEvents.push(n),e.txt.eventHooks.clickEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.textScrollEvents.push(o)}t.createShowHideFn=u,t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=n(7),l=r.__importDefault(n(3));function u(e){var t=e.$textElem,n=e.selection,o=e.txt,i=o.eventHooks.keydownEvents;i.push((function(e){var o;if(40===e.keyCode){var i=n.getSelectionContainerElem(),r=null===(o=t.children())||void 0===o?void 0:o.last();if("XMP"===(null===i||void 0===i?void 0:i.elems[0].tagName)&&"PRE"===(null===r||void 0===r?void 0:r.elems[0].tagName)){var u=l["default"](a.EMPTY_P);t.append(u)}}})),i.push((function(o){e.selection.saveRange();var i=n.getSelectionContainerElem();if(i){var r=i.getNodeTop(e),u=null===r||void 0===r?void 0:r.prev(),s=null===r||void 0===r?void 0:r.getNextSibling();if(u.length&&"PRE"===(null===u||void 0===u?void 0:u.getNodeName())&&0===s.length&&0===n.getCursorPos()&&8===o.keyCode){var c=l["default"](a.EMPTY_P);t.append(c)}}}))}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(23)),l=r.__importDefault(n(3)),u=r.__importDefault(n(407)),s=n(6),c=n(7),f=function(e){function t(t){var n=this,o=l["default"]('
              ');return n=e.call(this,o,t)||this,u["default"](t),n}return r.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor,t=e.selection.getRange(),n=e.selection.getSelectionContainerElem();if(null===n||void 0===n?void 0:n.length){var o=l["default"](n.elems[0]),i=o.parentUntil("TABLE",n.elems[0]),r=o.children();"CODE"!==o.getNodeName()&&(i&&"TABLE"===l["default"](i.elems[0]).getNodeName()||r&&0!==r.length&&"IMG"===l["default"](r.elems[0]).getNodeName()&&!(null===t||void 0===t?void 0:t.collapsed)||this.createSplitLine())}},t.prototype.createSplitLine=function(){var e="
              "+c.EMPTY_P;s.UA.isFirefox&&(e="

              "),this.editor.cmd["do"]("insertHTML",e)},t.prototype.tryChangeActive=function(){},t}(a["default"]);t["default"]=f},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(408));function l(e){a["default"](e)}t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=r.__importDefault(n(39));function u(e){var t;function n(n){var o=[{$elem:a["default"](""+e.i18next.t("menus.panelMenus.删除")+""),onClick:function(e,t){return e.selection.createRangeByElem(t),e.selection.restoreSelection(),e.cmd["do"]("delete"),!0}}];t=new l["default"](e,n,o),t.create()}function o(){t&&(t.remove(),t=null)}return{showSplitLineTooltip:n,hideSplitLineTooltip:o}}function s(e){var t=u(e),n=t.showSplitLineTooltip,o=t.hideSplitLineTooltip;e.txt.eventHooks.splitLineEvents.push(n),e.txt.eventHooks.clickEvents.push(o),e.txt.eventHooks.keyupEvents.push(o),e.txt.eventHooks.toolbarClickEvents.push(o),e.txt.eventHooks.menuClickEvents.push(o),e.txt.eventHooks.textScrollEvents.push(o)}t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=a.__importDefault(n(23)),s=n(98),c=a.__importDefault(n(415)),f=a.__importDefault(n(140)),d=function(e){function t(t){var n=this,o=l["default"]('
              \n \n
              ');return n=e.call(this,o,t)||this,c["default"](t),n}return a.__extends(t,e),t.prototype.clickHandler=function(){var e=this.editor;s.isAllTodo(e)?(this.cancelTodo(),this.tryChangeActive()):this.setTodo()},t.prototype.tryChangeActive=function(){s.isAllTodo(this.editor)?this.active():this.unActive()},t.prototype.setTodo=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes();(0,r["default"])(t).call(t,(function(t){var n,o=null===t||void 0===t?void 0:t.getNodeName();if("P"===o){var i=f["default"](t),r=i.getTodo(),a=null===(n=r.children())||void 0===n?void 0:n.getNode();r.insertAfter(t),e.selection.moveCursor(a),t.remove()}})),this.tryChangeActive()},t.prototype.cancelTodo=function(){var e=this.editor,t=e.selection.getSelectionRangeTopNodes();(0,r["default"])(t).call(t,(function(t){var n,o,i,r=null===(o=null===(n=t.childNodes())||void 0===n?void 0:n.childNodes())||void 0===o?void 0:o.clone(!0),a=l["default"]("

              ");a.append(r),a.insertAfter(t),null===(i=a.childNodes())||void 0===i||i.get(0).remove(),e.selection.moveCursor(a.getNode()),t.remove()}))},t}(u["default"]);t["default"]=d},function(e,t,n){e.exports=n(411)},function(e,t,n){var o=n(412);e.exports=o},function(e,t,n){var o=n(413),i=Array.prototype;e.exports=function(e){var t=e.every;return e===i||e instanceof Array&&t===i.every?o:t}},function(e,t,n){n(414);var o=n(15);e.exports=o("Array").every},function(e,t,n){"use strict";var o=n(5),i=n(32).every,r=n(67),a=n(22),l=r("every"),u=a("every");o({target:"Array",proto:!0,forced:!l||!u},{every:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3)),u=n(98),s=a.__importDefault(n(140)),c=n(98),f=n(7);function d(e){function t(t){var n,o;if(u.isAllTodo(e)){t.preventDefault();var i=e.selection,a=i.getSelectionRangeTopNodes()[0],d=null===(n=a.childNodes())||void 0===n?void 0:n.get(0),p=null===(o=window.getSelection())||void 0===o?void 0:o.anchorNode,v=i.getRange();if(!(null===v||void 0===v?void 0:v.collapsed)){var h=null===v||void 0===v?void 0:v.commonAncestorContainer.childNodes,A=null===v||void 0===v?void 0:v.startContainer,m=null===v||void 0===v?void 0:v.endContainer,g=null===v||void 0===v?void 0:v.startOffset,y=null===v||void 0===v?void 0:v.endOffset,w=0,x=0,_=[];null===h||void 0===h||(0,r["default"])(h).call(h,(function(e,t){e.contains(A)&&(w=t),e.contains(m)&&(x=t)})),x-w>1&&(null===h||void 0===h||(0,r["default"])(h).call(h,(function(e,t){t<=w||t>=x||_.push(e)})),(0,r["default"])(_).call(_,(function(e){e.remove()}))),c.dealTextNode(A,g),c.dealTextNode(m,y,!1),e.selection.moveCursor(m,0)}if(""===a.text()){var E=l["default"](f.EMPTY_P);return E.insertAfter(a),i.moveCursor(E.getNode()),void a.remove()}var b=i.getCursorPos(),C=u.getCursorNextNode(null===d||void 0===d?void 0:d.getNode(),p,b),S=s["default"](l["default"](C)),M=S.getInputContainer(),k=M.parent().getNode(),D=S.getTodo(),N=M.getNode().nextSibling;if(""===(null===d||void 0===d?void 0:d.text())&&(null===d||void 0===d||d.append(l["default"]("
              "))),D.insertAfter(a),N&&""!==(null===N||void 0===N?void 0:N.textContent))i.moveCursor(k);else{if("BR"!==(null===N||void 0===N?void 0:N.nodeName)){var T=l["default"]("
              ");T.insertAfter(M)}i.moveCursor(k,1)}}}function n(t){var n,o;if(u.isAllTodo(e)){var i,a=e.selection,s=a.getSelectionRangeTopNodes()[0],c=null===(n=s.childNodes())||void 0===n?void 0:n.getNode(),d=l["default"]("

              "),p=d.getNode(),v=null===(o=window.getSelection())||void 0===o?void 0:o.anchorNode,h=a.getCursorPos(),A=v.previousSibling;if(""===s.text()){t.preventDefault();var m=l["default"](f.EMPTY_P);return m.insertAfter(s),s.remove(),void a.moveCursor(m.getNode(),0)}if("SPAN"===(null===A||void 0===A?void 0:A.nodeName)&&"INPUT"===A.childNodes[0].nodeName&&0===h)t.preventDefault(),null===c||void 0===c||(0,r["default"])(i=c.childNodes).call(i,(function(e,t){0!==t&&p.appendChild(e.cloneNode(!0))})),d.insertAfter(s),s.remove()}}function o(){var t=e.selection,n=t.getSelectionRangeTopNodes()[0];n&&c.isTodo(n)&&""===n.text()&&(l["default"](f.EMPTY_P).insertAfter(n),n.remove())}function i(e){e&&e.target instanceof HTMLInputElement&&"checkbox"===e.target.type&&(e.target.checked?e.target.setAttribute("checked","true"):e.target.removeAttribute("checked"))}e.txt.eventHooks.enterDownEvents.push(t),e.txt.eventHooks.deleteUpEvents.push(o),e.txt.eventHooks.deleteDownEvents.push(n),e.txt.eventHooks.clickEvents.push(i)}t["default"]=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.selectorValidator=void 0;var r=n(2),a=r.__importDefault(n(3)),l=n(6),u=n(7),s=r.__importDefault(n(130)),c={border:"1px solid #c9d8db",toolbarBgColor:"#FFF",toolbarBottomBorder:"1px solid #EEE"};function f(e){var t,n,o,i=e.toolbarSelector,r=a["default"](i),f=e.textSelector,d=e.config,p=d.height,v=e.i18next,h=a["default"]("
              "),A=a["default"]("
              "),m=null;null==f?(n=r.children(),r.append(h).append(A),h.css("background-color",c.toolbarBgColor).css("border",c.border).css("border-bottom",c.toolbarBottomBorder),A.css("border",c.border).css("border-top","none").css("height",p+"px")):(r.append(h),m=a["default"](f).children(),a["default"](f).append(A),n=A.children()),t=a["default"]("
              "),t.attr("contenteditable","true").css("width","100%").css("height","100%");var g=e.config.placeholder;o=g!==s["default"].placeholder?a["default"]("
              "+g+"
              "):a["default"]("
              "+v.t(g)+"
              "),o.addClass("placeholder"),n&&n.length?(t.append(n),o.hide()):t.append(a["default"](u.EMPTY_P)),m&&m.length&&(t.append(m),o.hide()),A.append(t),A.append(o),h.addClass("w-e-toolbar").css("z-index",e.zIndex.get("toolbar")),A.addClass("w-e-text-container"),A.css("z-index",e.zIndex.get()),t.addClass("w-e-text");var y=l.getRandom("toolbar-elem");h.attr("id",y);var w=l.getRandom("text-elem");t.attr("id",w);var x=A.getBoundingClientRect().height,_=t.getBoundingClientRect().height;x!==_&&t.css("min-height",x+"px"),e.$toolbarElem=h,e.$textContainerElem=A,e.$textElem=t,e.toolbarElemId=y,e.textElemId=w}function d(e){var t="data-we-id",n=/^wangEditor-\d+$/,o=e.textSelector,i=e.toolbarSelector,r={bar:a["default"]("
              "),text:a["default"]("
              ")};if(null==i)throw new Error("错误:初始化编辑器时候未传入任何参数,请查阅文档");if(r.bar=a["default"](i),!r.bar.elems.length)throw new Error("无效的节点选择器:"+i);if(n.test(r.bar.attr(t)))throw new Error("初始化节点已存在编辑器实例,无法重复创建编辑器");if(o){if(r.text=a["default"](o),!r.text.elems.length)throw new Error("无效的节点选择器:"+o);if(n.test(r.text.attr(t)))throw new Error("初始化节点已存在编辑器实例,无法重复创建编辑器")}r.bar.attr(t,e.id),r.text.attr(t,e.id),e.beforeDestroy((function(){r.bar.removeAttr(t),r.text.removeAttr(t)}))}t["default"]=f,t.selectorValidator=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(3)),l=n(7);function u(e,t){var n=e.$textElem,o=n.children();if(!o||!o.length)return n.append(a["default"](l.EMPTY_P)),void u(e);var i=o.last();if(t){var r=i.html().toLowerCase(),s=i.getNodeName();if("
              "!==r&&"
              "!==r||"P"!==s)return n.append(a["default"](l.EMPTY_P)),void u(e)}e.selection.createRangeByElem(i,!1,!0),e.config.focus?e.selection.restoreSelection():e.selection.clearWindowSelectionRange()}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3));function u(e){s(e),c(e),f(e)}function s(e){e.txt.eventHooks.changeEvents.push((function(){var t=e.config.onchange;if(t){var n=e.txt.html()||"";e.isFocus=!0,t(n)}e.txt.togglePlaceholder()}))}function c(e){function t(t){var n=t.target,o=l["default"](n),i=e.$textElem,r=e.$toolbarElem,a=i.isContain(o),u=r.isContain(o),s=r.elems[0]==t.target;if(a)e.isFocus||p(e),e.isFocus=!0;else{if(u&&!s||!e.isFocus)return;d(e),e.isFocus=!1}}e.isFocus=!1,document.activeElement===e.$textElem.elems[0]&&e.config.focus&&(p(e),e.isFocus=!0),l["default"](document).on("click",t),e.beforeDestroy((function(){l["default"](document).off("click",t)}))}function f(e){e.$textElem.on("compositionstart",(function(){e.isComposing=!0,e.txt.togglePlaceholder()})).on("compositionend",(function(){e.isComposing=!1,e.txt.togglePlaceholder()}))}function d(e){var t,n=e.config,o=n.onblur,i=e.txt.html()||"";(0,r["default"])(t=e.txt.eventHooks.onBlurEvents).call(t,(function(e){return e()})),o(i)}function p(e){var t=e.config,n=t.onfocus,o=e.txt.html()||"";n(o)}t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));function r(e){var t=e.config,n=t.lang,o=t.languages;if(null==e.i18next)e.i18next={t:function(e){var t=e.split(".");return t[t.length-1]}};else try{e.i18next.init({ns:"wangEditor",lng:n,defaultNS:"wangEditor",resources:o})}catch(i){throw new Error("i18next:"+i)}}(0,i["default"])(t,"__esModule",{value:!0}),t["default"]=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(29));(0,i["default"])(t,"__esModule",{value:!0}),t.setUnFullScreen=t.setFullScreen=void 0;var a=n(2),l=a.__importDefault(n(3));n(421);var u="w-e-icon-fullscreen",s="w-e-icon-fullscreen_exit",c="w-e-full-screen-editor";t.setFullScreen=function(e){var t=l["default"](e.toolbarSelector),n=e.$textContainerElem,o=e.$toolbarElem,i=(0,r["default"])(o).call(o,"i."+u),a=e.config;i.removeClass(u),i.addClass(s),t.addClass(c),t.css("z-index",a.zIndexFullScreen);var f=o.getBoundingClientRect();n.css("height","calc(100% - "+f.height+"px)")},t.setUnFullScreen=function(e){var t=l["default"](e.toolbarSelector),n=e.$textContainerElem,o=e.$toolbarElem,i=(0,r["default"])(o).call(o,"i."+s),a=e.config;i.removeClass(s),i.addClass(u),t.removeClass(c),t.css("z-index","auto"),n.css("height",a.height+"px")};var f=function(e){if(!e.textSelector&&e.config.showFullScreen){var n=e.$toolbarElem,o=l["default"]('
              \n \n
              ');o.on("click",(function(n){var i,a=(0,r["default"])(i=l["default"](n.currentTarget)).call(i,"i");a.hasClass(u)?(o.attr("data-title","取消全屏"),t.setFullScreen(e)):(o.attr("data-title","全屏"),t.setUnFullScreen(e))})),n.append(o)}};t["default"]=f},function(e,t,n){var o=n(20),i=n(422);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,".w-e-full-screen-editor {\n position: fixed;\n width: 100%!important;\n height: 100%!important;\n left: 0;\n top: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(29));(0,i["default"])(t,"__esModule",{value:!0});var a=function(e,t){var n,o=e.isEnable?e.$textElem:(0,r["default"])(n=e.$textContainerElem).call(n,".w-e-content-mantle"),i=(0,r["default"])(o).call(o,"[id='"+t+"']"),a=i.getOffsetData().top;o.scrollTop(a)};t["default"]=a},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(129)),l={menu:2,panel:2,toolbar:1,tooltip:1,textContainer:1},u=function(){function e(){this.tier=l,this.baseZIndex=a["default"].zIndex}return e.prototype.get=function(e){return e&&this.tier[e]?this.baseZIndex+this.tier[e]:this.baseZIndex},e.prototype.init=function(e){this.baseZIndex==a["default"].zIndex&&(this.baseZIndex=e.config.zIndex)},e}();t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(70)),a=o(n(4));(0,i["default"])(t,"__esModule",{value:!0});var l=n(2),u=l.__importDefault(n(426)),s=n(6),c=n(7);function f(e,t){return(0,r["default"])(e).call(e,(function(e){var n=e.type,o=e.target,i=e.attributeName;return"attributes"!=n||"attributes"==n&&("contenteditable"==i||o!=t)}))}var d=function(e){function t(t){var n=e.call(this,(function(e,o){var i;if(e=f(e,o.target),(i=n.data).push.apply(i,e),t.isCompatibleMode)n.asyncSave();else if(!t.isComposing)return n.asyncSave()}))||this;return n.editor=t,n.data=[],n.asyncSave=c.EMPTY_FN,n}return l.__extends(t,e),t.prototype.save=function(){this.data.length&&(this.editor.history.save(this.data),this.data.length=0,this.emit())},t.prototype.emit=function(){var e;(0,a["default"])(e=this.editor.txt.eventHooks.changeEvents).call(e,(function(e){return e()}))},t.prototype.observe=function(){var t=this;e.prototype.observe.call(this,this.editor.$textElem.elems[0]);var n=this.editor.config.onchangeTimeout;this.asyncSave=s.debounce((function(){t.save()}),n),this.editor.isCompatibleMode||this.editor.$textElem.on("compositionend",(function(){t.asyncSave()}))},t}(u["default"]);t["default"]=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=function(){function e(e,t){var n=this;this.options={subtree:!0,childList:!0,attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0},this.callback=function(t){e(t,n)},this.observer=new MutationObserver(this.callback),t&&(this.options=t)}return(0,i["default"])(e.prototype,"target",{get:function(){return this.node},enumerable:!1,configurable:!0}),e.prototype.observe=function(e){this.node instanceof Node||(this.node=e,this.connect())},e.prototype.connect=function(){if(this.node)return this.observer.observe(this.node,this.options),this;throw new Error("还未初始化绑定,请您先绑定有效的 Node 节点")},e.prototype.disconnect=function(){var e=this.observer.takeRecords();e.length&&this.callback(e),this.observer.disconnect()},e}();t["default"]=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(428)),l=r.__importDefault(n(435)),u=r.__importDefault(n(436)),s=function(){function e(e){this.editor=e,this.content=new a["default"](e),this.scroll=new l["default"](e),this.range=new u["default"](e)}return(0,i["default"])(e.prototype,"size",{get:function(){return this.scroll.size},enumerable:!1,configurable:!0}),e.prototype.observe=function(){this.content.observe(),this.scroll.observe(),!this.editor.isCompatibleMode&&this.range.observe()},e.prototype.save=function(e){e.length&&(this.content.save(e),this.scroll.save(),!this.editor.isCompatibleMode&&this.range.save())},e.prototype.revoke=function(){this.editor.change.disconnect();var e=this.content.revoke();e&&(this.scroll.revoke(),this.editor.isCompatibleMode||(this.range.revoke(),this.editor.$textElem.focus())),this.editor.change.connect(),e&&this.editor.change.emit()},e.prototype.restore=function(){this.editor.change.disconnect();var e=this.content.restore();e&&(this.scroll.restore(),this.editor.isCompatibleMode||(this.range.restore(),this.editor.$textElem.focus())),this.editor.change.connect(),e&&this.editor.change.emit()},e}();t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(429)),l=r.__importDefault(n(433)),u=function(){function e(e){this.editor=e}return e.prototype.observe=function(){this.editor.isCompatibleMode?this.cache=new l["default"](this.editor):this.cache=new a["default"](this.editor),this.cache.observe()},e.prototype.save=function(e){this.editor.isCompatibleMode?this.cache.save():this.cache.compile(e)},e.prototype.revoke=function(){var e;return null===(e=this.cache)||void 0===e?void 0:e.revoke()},e.prototype.restore=function(){var e;return null===(e=this.cache)||void 0===e?void 0:e.restore()},e}();t["default"]=u},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(99)),l=r.__importDefault(n(431)),u=n(432),s=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n}return r.__extends(t,e),t.prototype.observe=function(){this.resetMaxSize(this.editor.config.historyMaxSize)},t.prototype.compile=function(e){return this.save(l["default"](e)),this},t.prototype.revoke=function(){return e.prototype.revoke.call(this,(function(e){u.revoke(e)}))},t.prototype.restore=function(){return e.prototype.restore.call(this,(function(e){u.restore(e)}))},t}(a["default"]);t["default"]=s},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0}),t.CeilStack=void 0;var r=function(){function e(e){void 0===e&&(e=0),this.data=[],this.max=0,this.reset=!1,e=Math.abs(e),e&&(this.max=e)}return e.prototype.resetMax=function(e){e=Math.abs(e),this.reset||isNaN(e)||(this.max=e,this.reset=!0)},(0,i["default"])(e.prototype,"size",{get:function(){return this.data.length},enumerable:!1,configurable:!0}),e.prototype.instack=function(e){return this.data.unshift(e),this.max&&this.size>this.max&&(this.data.length=this.max),this},e.prototype.outstack=function(){return this.data.shift()},e.prototype.clear=function(){return this.data.length=0,this},e}();t.CeilStack=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(27));(0,i["default"])(t,"__esModule",{value:!0}),t.compliePosition=t.complieNodes=t.compileValue=t.compileType=void 0;var l=n(6);function u(e){switch(e){case"childList":return"node";case"attributes":return"attr";default:return"text"}}function s(e){switch(e.type){case"attributes":return e.target.getAttribute(e.attributeName)||"";case"characterData":return e.target.textContent;default:return""}}function c(e){var t={};return e.addedNodes.length&&(t.add=l.toArray(e.addedNodes)),e.removedNodes.length&&(t.remove=l.toArray(e.removedNodes)),t}function f(e){var t;return t=e.previousSibling?{type:"before",target:e.previousSibling}:e.nextSibling?{type:"after",target:e.nextSibling}:{type:"parent",target:e.target},t}t.compileType=u,t.compileValue=s,t.complieNodes=c,t.compliePosition=f;var d=["UL","OL","H1","H2","H3","H4","H5","H6"];function p(e){var t=[],n=!1,o=[];return(0,r["default"])(e).call(e,(function(e,i){var r={type:u(e.type),target:e.target,attr:e.attributeName||"",value:s(e)||"",oldValue:e.oldValue||"",nodes:c(e),position:f(e)};if(t.push(r),l.UA.isFirefox){if(n&&e.addedNodes.length&&1==e.addedNodes[0].nodeType){var p=e.addedNodes[0],h={type:"node",target:p,attr:"",value:"",oldValue:"",nodes:{add:[n]},position:{type:"parent",target:p}};-1!=(0,a["default"])(d).call(d,p.nodeName)?(h.nodes.add=l.toArray(p.childNodes),t.push(h)):3==n.nodeType?(v(p,o)&&(h.nodes.add=l.toArray(p.childNodes)),t.push(h)):-1==(0,a["default"])(d).call(d,e.target.nodeName)&&v(p,o)&&(h.nodes.add=l.toArray(p.childNodes),t.push(h))}"node"==r.type&&1==e.removedNodes.length?(n=e.removedNodes[0],o.push(n)):(n=!1,o.length=0)}})),t}function v(e,t){for(var n=0,o=t.length-1;o>0;o--){if(!e.contains(t[o]))break;n++}return n}t["default"]=p},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(4)),a=o(n(94));function l(e,t){var n=e.position.target;switch(e.position.type){case"before":n.nextSibling?(n=n.nextSibling,(0,r["default"])(t).call(t,(function(t){e.target.insertBefore(t,n)}))):(0,r["default"])(t).call(t,(function(t){e.target.appendChild(t)}));break;case"after":(0,r["default"])(t).call(t,(function(t){e.target.insertBefore(t,n)}));break;default:(0,r["default"])(t).call(t,(function(e){n.appendChild(e)}));break}}function u(e){for(var t=0,n=(0,a["default"])(e.nodes);t-1;t--){var n=e[t];f[n.type](n)}}function p(e){for(var t=0,n=(0,a["default"])(e.nodes);tthis.max)this.data.shift();return this.point=this.size-1,this},e.prototype.current=function(){return this.data[this.point]},e.prototype.prev=function(){if(!this.isRe&&(this.isRe=!0),this.point--,!(this.point<0))return this.current();this.point=0},e.prototype.next=function(){if(!this.isRe&&(this.isRe=!0),this.point++,!(this.point>=this.size))return this.current();this.point=this.size-1},e}();t.TailChain=a},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(99)),l=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n.last=0,n.target=t.$textElem.elems[0],n}return r.__extends(t,e),t.prototype.observe=function(){var e=this;this.target=this.editor.$textElem.elems[0],this.editor.$textElem.on("scroll",(function(){e.last=e.target.scrollTop})),this.resetMaxSize(this.editor.config.historyMaxSize)},t.prototype.save=function(){return e.prototype.save.call(this,[this.last,this.target.scrollTop]),this},t.prototype.revoke=function(){var t=this;return e.prototype.revoke.call(this,(function(e){t.target.scrollTop=e[0]}))},t.prototype.restore=function(){var t=this;return e.prototype.restore.call(this,(function(e){t.target.scrollTop=e[1]}))},t}(a["default"]);t["default"]=l},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=n(2),a=r.__importDefault(n(99)),l=r.__importDefault(n(3)),u=n(6);function s(e){return{start:[e.startContainer,e.startOffset],end:[e.endContainer,e.endOffset],root:e.commonAncestorContainer,collapsed:e.collapsed}}var c=function(e){function t(t){var n=e.call(this,t.config.historyMaxSize)||this;return n.editor=t,n.lastRange=s(document.createRange()),n.root=t.$textElem.elems[0],n.updateLastRange=u.debounce((function(){n.lastRange=s(n.rangeHandle)}),t.config.onchangeTimeout),n}return r.__extends(t,e),(0,i["default"])(t.prototype,"rangeHandle",{get:function(){var e=document.getSelection();return e&&e.rangeCount?e.getRangeAt(0):document.createRange()},enumerable:!1,configurable:!0}),t.prototype.observe=function(){var e=this;function t(){var t=e.rangeHandle;(e.root===t.commonAncestorContainer||e.root.contains(t.commonAncestorContainer))&&(e.editor.isComposing||e.updateLastRange())}function n(t){"Backspace"!=t.key&&"Delete"!=t.key||e.updateLastRange()}this.root=this.editor.$textElem.elems[0],this.resetMaxSize(this.editor.config.historyMaxSize),l["default"](document).on("selectionchange",t),this.editor.beforeDestroy((function(){l["default"](document).off("selectionchange",t)})),e.editor.$textElem.on("keydown",n)},t.prototype.save=function(){var t=s(this.rangeHandle);return e.prototype.save.call(this,[this.lastRange,t]),this.lastRange=t,this},t.prototype.set=function(e){try{if(e){var t=this.rangeHandle;return t.setStart.apply(t,e.start),t.setEnd.apply(t,e.end),this.editor.menus.changeActive(),!0}}catch(n){return!1}return!1},t.prototype.revoke=function(){var t=this;return e.prototype.revoke.call(this,(function(e){t.set(e[0])}))},t.prototype.restore=function(){var t=this;return e.prototype.restore.call(this,(function(e){t.set(e[1])}))},t}(a["default"]);t["default"]=c},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(29));(0,i["default"])(t,"__esModule",{value:!0});var a=n(2),l=a.__importDefault(n(3));function u(e){var t,n,o=!1;function i(){if(!o){e.$textElem.hide();var i=e.zIndex.get("textContainer"),r=e.txt.html();t=l["default"]('
              \n
              '+r+"
              \n
              "),e.$textContainerElem.append(t);var a=e.zIndex.get("menu");n=l["default"]('
              '),e.$toolbarElem.append(n),o=!0,e.isEnable=!1}}function a(){o&&(t.remove(),n.remove(),e.$textElem.show(),o=!1,e.isEnable=!0)}return e.txt.eventHooks.changeEvents.push((function(){o&&(0,r["default"])(t).call(t,".w-e-content-preview").html(e.$textElem.html())})),{disable:i,enable:a}}n(438),t["default"]=u},function(e,t,n){var o=n(20),i=n(439);i=i.__esModule?i.default:i,"string"===typeof i&&(i=[[e.i,i,""]]);var r={insert:"head",singleton:!1};o(i,r);e.exports=i.locals||{}},function(e,t,n){var o=n(21);t=o(!1),t.push([e.i,".w-e-content-mantle {\n width: 100%;\n height: 100%;\n overflow-y: auto;\n}\n.w-e-content-mantle .w-e-content-preview {\n width: 100%;\n min-height: 100%;\n padding: 0 10px;\n line-height: 1.5;\n}\n.w-e-content-mantle .w-e-content-preview img {\n cursor: default;\n}\n.w-e-content-mantle .w-e-content-preview img:hover {\n box-shadow: none;\n}\n.w-e-menue-mantle {\n position: absolute;\n height: 100%;\n width: 100%;\n top: 0;\n left: 0;\n}\n",""]),e.exports=t},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0});var r=function(){function e(e){var t=this;this.editor=e;var n=function(){var n=document.activeElement;n===e.$textElem.elems[0]&&t.emit()};window.document.addEventListener("selectionchange",n),this.editor.beforeDestroy((function(){window.document.removeEventListener("selectionchange",n)}))}return e.prototype.emit=function(){var e,t=this.editor.config.onSelectionChange;if(t){var n=this.editor.selection;n.saveRange(),n.isSelectionEmpty()||t({text:n.getSelectionText(),html:null===(e=n.getSelectionContainerElem())||void 0===e?void 0:e.elems[0].innerHTML,selection:n})}},e}();t["default"]=r},function(e,t,n){"use strict";var o=n(0),i=o(n(1)),r=o(n(128)),a=o(n(94)),l=o(n(4));(0,i["default"])(t,"__esModule",{value:!0}),t.registerPlugin=void 0;var u=n(2),s=u.__importDefault(n(87)),c=n(6);function f(e,t,n){if(!e)throw new TypeError("name is not define");if(!t)throw new TypeError("options is not define");if(!t.intention)throw new TypeError("options.intention is not define");if(t.intention&&"function"!==typeof t.intention)throw new TypeError("options.intention is not function");n[e]&&console.warn("plugin "+e+" 已存在,已覆盖。"),n[e]=t}function d(e){var t=(0,r["default"])({},c.deepClone(s["default"].globalPluginsFunctionList),c.deepClone(e.pluginsFunctionList)),n=(0,a["default"])(t);(0,l["default"])(n).call(n,(function(t){var n=t[0],o=t[1];console.info("plugin "+n+" initializing");var i=o.intention,r=o.config;i(e,r),console.info("plugin "+n+" initialization complete")}))}t.registerPlugin=f,t["default"]=d},function(e,t,n){"use strict";var o=n(0),i=o(n(1));(0,i["default"])(t,"__esModule",{value:!0})}])["default"]}))}}]); \ No newline at end of file diff --git a/mining-pool/public/dist/robots.txt b/mining-pool/public/dist/robots.txt new file mode 100644 index 0000000..7281063 --- /dev/null +++ b/mining-pool/public/dist/robots.txt @@ -0,0 +1,30 @@ +User-agent: * # 适用于所有搜索引擎爬虫 +Allow: / #允许爬取根目录下的所有内容 +Disallow: /admin +Disallow: /oapi #禁止爬取oapi和api开头的接口内容 +Disallow: /api +# 明确禁止访问不存在的路径 $精确匹配 +Disallow: /*/AccessMiningPool/enx$ +Disallow: /en/AccessMiningPool/enx$ +Disallow: /zh/AccessMiningPool/enx$ + + +# 站点地图配置 +Sitemap: https://m2pool.com/sitemap-zh.xml # 中文站点地图 +Sitemap: https://m2pool.com/sitemap-en.xml # 英文站点地图 + +# 语言版本 +Allow: /zh +Allow: /en + +# SEO优化 允许爬取各类静态资源文件 +Allow: /*.js +Allow: /*.css +Allow: /*.png +Allow: /*.jpg +Allow: /*.gif +Allow: /*.svg +Allow: /*.ico + +# 爬虫频率控制 设置爬虫延迟避免服务器负载过高 +Crawl-delay: 10 \ No newline at end of file diff --git a/mining-pool/public/dist/tinymce/langs/zh_CN.js b/mining-pool/public/dist/tinymce/langs/zh_CN.js new file mode 100644 index 0000000..4e164a4 --- /dev/null +++ b/mining-pool/public/dist/tinymce/langs/zh_CN.js @@ -0,0 +1,7 @@ +/*! + * TinyMCE Language Pack + * + * Copyright (c) 2023 Ephox Corporation DBA Tiny Technologies, Inc. + * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ + */ +tinymce.addI18n("zh_CN",{"#":"#","A - acute":"A - \u9ad8\u97f3","A - circumflex":"A - \u6298\u97f3","A - diaeresis":"A - \u4e24\u70b9\u97f3","A - grave":"A - \u91cd\u97f3","A - macron":"A - \u957f\u97f3","A - ring above":"A - \u73af\u4e0a\u97f3","A - tilde":"A - \u989a\u97f3","Accessibility":"\u8f85\u52a9\u529f\u80fd","Accordion":"\u6298\u53e0\u9762\u677f","Accordion body...":"\u6298\u53e0\u9762\u677f\u6b63\u6587...","Accordion summary...":"\u6298\u53e0\u9762\u677f\u6458\u8981...","Action":"\u52a8\u4f5c","Activity":"\u6d3b\u52a8","Address":"\u5730\u5740","Advanced":"\u9ad8\u7ea7","Align":"\u5bf9\u9f50","Align center":"\u4e2d\u95f4\u5bf9\u9f50","Align left":"\u5de6\u8fb9\u5bf9\u9f50","Align right":"\u53f3\u8fb9\u5bf9\u9f50","Alignment":"\u5bf9\u9f50","Alignment {0}":"\u5bf9\u9f50{0}","All":"\u6240\u6709","Alpha":"Alpha (\u0391)","Alternative description":"\u66ff\u4ee3\u8bf4\u660e","Alternative source":"\u955c\u50cf","Alternative source URL":"\u66ff\u4ee3\u6765\u6e90\u7f51\u5740","Anchor":"\u951a\u70b9","Anchor...":"\u951a\u70b9...","Anchors":"\u951a\u70b9","Animals and Nature":"\u52a8\u7269\u548c\u81ea\u7136","Arrows":"\u7bad\u5934","B":"B","Background color":"\u80cc\u666f\u989c\u8272","Background color {0}":"\u80cc\u666f\u989c\u8272 {0}","Beta":"Beta (\u0392)","Black":"\u9ed1\u8272","Block":"\u5757","Block {0}":"\u6587\u672c\u5757{0}","Blockquote":"\u5f15\u6587\u533a\u5757","Blocks":"\u57fa\u5757","Blue":"\u84dd\u8272","Blue component":"\u84dd\u8272\u6210\u5206","Body":"\u8868\u4f53","Bold":"\u7c97\u4f53","Border":"\u6846\u7ebf","Border color":"\u6846\u7ebf\u989c\u8272","Border style":"\u8fb9\u6846\u6837\u5f0f","Border width":"\u8fb9\u6846\u5bbd\u5ea6","Bottom":"\u4e0b\u65b9\u5bf9\u9f50","Browse files":"\u6d4f\u89c8\u6587\u4ef6","Browse for an image":"\u6d4f\u89c8\u56fe\u50cf","Browse links":"\u6d4f\u89c8\u94fe\u63a5","Bullet list":"\u9879\u76ee\u7b26\u53f7","C - cedilla":"C - \u8f6f\u97f3\u7b26","Cancel":"\u53d6\u6d88","Capitalization":"\u5927\u5199","Caption":"\u6807\u9898","Case Change":"\u53d8\u683c","Cell":"\u50a8\u5b58\u683c","Cell padding":"\u5355\u5143\u683c\u5185\u8fb9\u8ddd","Cell properties":"\u5355\u5143\u683c\u5c5e\u6027","Cell spacing":"\u5355\u5143\u683c\u5916\u95f4\u8ddd","Cell styles":"\u5355\u5143\u683c\u6837\u5f0f","Cell type":"\u50a8\u5b58\u683c\u522b","Center":"\u5c45\u4e2d","Characters":"\u5b57\u7b26","Characters (no spaces)":"\u5b57\u7b26(\u65e0\u7a7a\u683c)","Checklist":"\u68c0\u67e5\u8868","Chi":"Chi (\u03a7)","Circle":"\u7a7a\u5fc3\u5706","Class":"\u7c7b\u578b","Clear formatting":"\u6e05\u9664\u683c\u5f0f","Close":"\u5173\u95ed","Code":"\u4ee3\u7801","Code sample...":"\u793a\u4f8b\u4ee3\u7801...","Code view":"\u4ee3\u7801\u89c6\u56fe","Color Picker":"\u9009\u8272\u5668","Color swatch":"\u989c\u8272\u6837\u672c","Cols":"\u5217","Column":"\u680f\u76ee","Column clipboard actions":"\u5217\u526a\u8d34\u677f\u64cd\u4f5c","Column group":"\u5217\u7ec4","Column header":"\u5217\u6807\u9898","Constrain proportions":"\u4fdd\u6301\u6bd4\u4f8b","Copy":"\u590d\u5236","Copy column":"\u590d\u5236\u5217","Copy row":"\u590d\u5236\u884c","Could not find the specified string.":"\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9\u3002","Could not load emojis":"\u672a\u80fd\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7","Count":"\u8ba1\u7b97","Currency":"\u8d27\u5e01","Current window":"\u5f53\u524d\u7a97\u53e3","Custom color":"\u81ea\u5b9a\u4e49\u989c\u8272","Custom...":"\u81ea\u5b9a\u4e49......","Cut":"\u526a\u5207","Cut column":"\u526a\u5207\u5217","Cut row":"\u526a\u5207\u884c","Dark Blue":"\u6df1\u84dd\u8272","Dark Gray":"\u6df1\u7070\u8272","Dark Green":"\u6df1\u7eff\u8272","Dark Orange":"\u6df1\u6a59\u8272","Dark Purple":"\u6df1\u7d2b\u8272","Dark Red":"\u6df1\u7ea2\u8272","Dark Turquoise":"\u6df1\u84dd\u7eff\u8272","Dark Yellow":"\u6697\u9ec4\u8272","Dashed":"\u865a\u7ebf","Date/time":"\u65e5\u671f/\u65f6\u95f4","Decrease indent":"\u51cf\u5c11\u7f29\u8fdb","Default":"\u9884\u8bbe","Delete accordion":"\u5220\u9664\u6298\u53e0\u9762\u677f","Delete column":"\u5220\u9664\u5217","Delete row":"\u5220\u9664\u884c","Delete table":"\u5220\u9664\u8868\u683c","Delta":"Delta (\u0394)","Dimensions":"\u5c3a\u5bf8","Disc":"\u5b9e\u5fc3\u5706","Div":"Div","Document":"\u6587\u4ef6","Dotted":"\u70b9\u7ebf","Double":"\u53cc\u7ebf","Drop an image here":"\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64","Dropped file type is not supported":"\u4e0d\u652f\u6301\u62d6\u653e\u6587\u4ef6\u7c7b\u578b","E - acute":"E - \u9ad8\u97f3","E - circumflex":"E - \u6298\u97f3","E - diaeresis":"E - \u4e24\u70b9\u97f3","E - grave":"E - \u91cd\u97f3","E - macron":"E - \u957f\u97f3","ETH":"ETH (\xd0)","Edit":"\u7f16\u8f91","Embed":"\u5d4c\u5165","Emojis":"\u8868\u60c5\u7b26\u53f7","Emojis...":"\u8868\u60c5\u7b26\u53f7...","Epsilon":"Epsilon (\u0395)","Error":"\u9519\u8bef","Error: Form submit field collision.":"\u9519\u8bef: \u8868\u683c\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002","Error: No form element found.":"\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002","Eta":"Eta (\u0397)","Extended Latin":"\u6269\u5c55\u62c9\u4e01\u6587","Failed to initialize plugin: {0}":"\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff1a{0}","Failed to load plugin url: {0}":"\u63d2\u4ef6url\u52a0\u8f7d\u5931\u8d25\uff1a{0}","Failed to load plugin: {0} from url {1}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25\uff1a{1}\u6765\u81eaurl\u7684{0}","Failed to upload image: {0}":"\u56fe\u50cf\u4e0a\u4f20\u5931\u8d25\uff1a{0}","File":"\u6587\u4ef6","Find":"\u5bfb\u627e","Find (if searchreplace plugin activated)":"\u67e5\u627e(\u5982\u679c\u67e5\u627e\u66ff\u6362\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Find and Replace":"\u67e5\u627e\u548c\u66ff\u6362","Find and replace...":"\u67e5\u627e\u5e76\u66ff\u6362...","Find in selection":"\u5728\u9009\u4e2d\u8303\u56f4\u5185\u641c\u7d22","Find whole words only":"\u5168\u5b57\u5339\u914d","Flags":"\u65d7\u5e1c","Focus to contextual toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u4e0a\u4e0b\u6587\u83dc\u5355","Focus to element path":"\u79fb\u52a8\u7126\u70b9\u5230\u5143\u7d20\u8def\u5f84","Focus to menubar":"\u79fb\u52a8\u7126\u70b9\u5230\u83dc\u5355\u680f","Focus to toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u5de5\u5177\u680f","Font":"\u5b57\u4f53","Font size {0}":"\u5b57\u4f53\u5927\u5c0f{0}","Font sizes":"\u5b57\u53f7","Font {0}":"\u5b57\u4f53{0}","Fonts":"\u5b57\u4f53","Food and Drink":"\u98df\u7269\u548c\u996e\u54c1","Footer":"\u9875\u811a","Format":"\u683c\u5f0f","Format painter":"\u683c\u5f0f\u5237","Format {0}":"\u683c\u5f0f{0}","Formats":"\u683c\u5f0f","Fullscreen":"\u5168\u5c4f\u5e55","G":"G","Gamma":"Gamma (\u0393)","General":"\u4e00\u822c","Gray":"\u7070\u8272","Green":"\u7eff\u8272","Green component":"\u7eff\u8272\u6210\u5206","Groove":"\u51f9\u7ebf","Handy Shortcuts":"\u5feb\u6377\u952e","Header":"\u9875\u5934","Header cell":"\u8868\u5934\u5355\u5143\u683c","Heading 1":"\u6807\u98981","Heading 2":"\u6807\u98982","Heading 3":"\u6807\u98983","Heading 4":"\u6807\u98984","Heading 5":"\u6807\u98985","Heading 6":"\u6807\u98986","Headings":"\u6807\u9898","Height":"\u9ad8\u5ea6","Help":"\u5e2e\u52a9","Hex color code":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801","Hidden":"\u5df2\u9690\u85cf","Horizontal align":"\u6c34\u5e73\u5bf9\u9f50","Horizontal line":"\u6c34\u5e73\u5206\u5272\u7ebf","Horizontal space":"\u6c34\u5e73\u95f4\u8ddd","I - acute":"I - \u9ad8\u97f3","I - circumflex":"I - \u6298\u97f3","I - diaeresis":"I - \u4e24\u70b9\u97f3","I - grave":"I - \u91cd\u97f3","I - macron":"I - \u957f\u97f3","ID":"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"ID \u5e94\u4ee5\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u63a5\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u77ed\u5212\u7ebf\u3001\u70b9\u53f7\u3001\u5192\u53f7\u548c\u4e0b\u5212\u7ebf\u3002","Image is decorative":"\u56fe\u7247\u7528\u4e8e\u88c5\u9970\u76ee\u7684","Image list":"\u56fe\u7247\u6e05\u5355","Image title":"\u56fe\u7247\u6807\u9898","Image...":"\u56fe\u7247......","ImageProxy HTTP error: Could not find Image Proxy":"ImageProxy HTTP\u9519\u8bef\uff1a\u672a\u627e\u5230Image Proxy","ImageProxy HTTP error: Incorrect Image Proxy URL":"ImageProxy HTTP\u9519\u8bef\uff1aImage Proxy URL\u6709\u8bef","ImageProxy HTTP error: Rejected request":"ImageProxy HTTP\u9519\u8bef\uff1a\u62d2\u7edd\u7684\u8bf7\u6c42","ImageProxy HTTP error: Unknown ImageProxy error":"ImageProxy HTTP\u9519\u8bef\uff1a\u672a\u77e5\u7684ImageProxy\u9519\u8bef","Increase indent":"\u589e\u52a0\u7f29\u8fdb","Inline":"\u6587\u672c","Insert":"\u63d2\u5165","Insert Template":"\u63d2\u5165\u6a21\u677f","Insert accordion":"\u63d2\u5165\u6298\u53e0\u9762\u677f","Insert checklist":"\u63d2\u5165\u6e05\u5355","Insert column after":"\u5728\u53f3\u4fa7\u63d2\u5165\u5217","Insert column before":"\u5728\u5de6\u4fa7\u63d2\u5165\u5217","Insert date/time":"\u63d2\u5165\u65e5\u671f/\u65f6\u95f4","Insert image":"\u63d2\u5165\u56fe\u7247","Insert link (if link plugin activated)":"\u63d2\u5165\u94fe\u63a5 (\u5982\u679c\u94fe\u63a5\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Insert row after":"\u5728\u4e0b\u65b9\u63d2\u5165\u884c","Insert row before":"\u5728\u4e0a\u65b9\u63d2\u5165\u884c","Insert table":"\u63d2\u5165\u8868\u683c","Insert template...":"\u63d2\u5165\u6a21\u677f...","Insert video":"\u63d2\u5165\u89c6\u9891","Insert/Edit code sample":"\u63d2\u5165/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b","Insert/edit image":"\u63d2\u5165/\u7f16\u8f91\u56fe\u7247","Insert/edit link":"\u63d2\u5165/\u7f16\u8f91\u94fe\u63a5","Insert/edit media":"\u63d2\u5165/\u7f16\u8f91\u5a92\u4f53","Insert/edit video":"\u63d2\u5165/\u7f16\u8f91\u89c6\u9891","Inset":"\u5d4c\u5165","Invalid hex color code: {0}":"\u65e0\u6548\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\uff1a{0}","Invalid input":"\u8f93\u5165\u65e0\u6548","Iota":"Iota (\u0399)","Italic":"\u659c\u4f53","Justify":"\u4e24\u7aef\u5bf9\u9f50","Kappa":"Kappa (\u039a)","Keyboard Navigation":"\u952e\u76d8\u5bfc\u822a","Lambda":"Lambda (\u039b)","Language":"\u8bed\u8a00","Learn more...":"\u4e86\u89e3\u66f4\u591a...","Left":"\u5de6","Left to right":"\u7531\u5de6\u5230\u53f3","Light Blue":"\u6d45\u84dd\u8272","Light Gray":"\u6d45\u7070\u8272","Light Green":"\u6de1\u7eff\u8272","Light Purple":"\u6d45\u7d2b\u8272","Light Red":"\u6d45\u7ea2\u8272","Light Yellow":"\u6d45\u9ec4\u8272","Line height":"\u884c\u9ad8","Link list":"\u94fe\u63a5\u6e05\u5355","Link...":"\u94fe\u63a5...","List Properties":"\u5217\u8868\u5c5e\u6027","List properties...":"\u5217\u8868\u5c5e\u6027...","Loading emojis...":"\u6b63\u5728\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7...","Loading...":"\u4e0a\u4f20\u4e2d......","Lower Alpha":"\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd","Lower Greek":"\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd","Lower Roman":"\u5c0f\u5199\u7f57\u9a6c\u6570\u5b57","Match case":"\u5927\u5c0f\u5199\u5339\u914d","Mathematical":"\u6570\u5b66","Media poster (Image URL)":"\u5c01\u9762(\u56fe\u7247\u5730\u5740)","Media...":"\u591a\u5a92\u4f53...","Medium Blue":"\u4e2d\u84dd\u8272","Medium Gray":"\u4e2d\u7070\u8272","Medium Purple":"\u4e2d\u7d2b\u8272","Merge cells":"\u5408\u5e76\u5355\u5143\u683c","Middle":"\u5c45\u4e2d\u5bf9\u9f50","Midnight Blue":"\u6df1\u84dd\u8272","More...":"\u66f4\u591a\u4fe1\u606f......","Mu":"Mu (\u039c)","N - tilde":"N - \u989a\u97f3","Name":"\u540d\u79f0","Navy Blue":"\u6d77\u519b\u84dd","New document":"\u65b0\u6587\u4ef6","New window":"\u65b0\u7a97\u53e3","Next":"\u4e0b\u4e00\u4e2a","No":"\u5426","No alignment":"\u672a\u5bf9\u9f50","No color":"\u65e0","Nonbreaking space":"\u4e0d\u95f4\u65ad\u7a7a\u683c","None":"\u65e0","Nu":"Nu (\u039d)","Numbered list":"\u7f16\u53f7\u5217\u8868","O - acute":"O - \u9ad8\u97f3","O - circumflex":"O - \u6298\u97f3","O - diaeresis":"O - \u4e24\u70b9\u97f3","O - grave":"O - \u91cd\u97f3","O - macron":"O - \u957f\u97f3","O - slash":"O - \u659c\u7ebf\u97f3","O - tilde":"O - \u989a\u97f3","OR":"\u6216","Objects":"\u7269\u4ef6","Ok":"\u786e\u5b9a","Omega":"Omega (\u03a9)","Omicron":"Omicron (\u039f)","Open help dialog":"\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846","Open link":"\u6253\u5f00\u94fe\u63a5","Open link in...":"\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...","Open popup menu for split buttons":"\u4e3a\u62c6\u5206\u6309\u94ae\u6253\u5f00\u5f39\u51fa\u83dc\u5355","Orange":"\u6a59\u8272","Outset":"\u5916\u5d4c","Page break":"\u5206\u9875\u7b26","Paragraph":"\u6bb5\u843d","Paste":"\u7c98\u8d34","Paste as text":"\u7c98\u8d34\u4e3a\u6587\u672c","Paste column after":"\u7c98\u8d34\u5217\u5230\u4e0b\u65b9","Paste column before":"\u7c98\u8d34\u5217\u5230\u4e0a\u65b9","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"\u7c98\u8d34\u76ee\u524d\u5904\u4e8e\u7eaf\u6587\u672c\u6a21\u5f0f\u3002 \u73b0\u5728\u5c06\u4ee5\u7eaf\u6587\u672c\u683c\u5f0f\u7c98\u8d34\u5185\u5bb9\uff0c\u76f4\u5230\u60a8\u5173\u95ed\u6b64\u9009\u9879\u3002","Paste or type a link":"\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5","Paste row after":"\u7c98\u8d34\u884c\u5230\u4e0b\u65b9","Paste row before":"\u7c98\u8d34\u884c\u5230\u4e0a\u65b9","Paste your embed code below:":"\u5c06\u5d4c\u5165\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:","People":"\u4eba\u7c7b","Permanent Pen Properties":"\u6c38\u4e45\u6807\u8bb0\u5c5e\u6027","Permanent pen":"\u8bb0\u53f7\u7b14","Permanent pen properties...":"\u6c38\u4e45\u6807\u8bb0\u5c5e\u6027......","Phi":"Phi (\u03a6)","Pi":"Pi (\u03a0)","Plugins":"\u5168\u90e8\u5916\u6302\u7a0b\u5e8f","Plugins installed ({0}):":"\u5df2\u5b89\u88c5\u63d2\u4ef6({0}):","Powered by {0}":"\u6280\u672f\u652f\u6301\uff1a{0}","Pre":"Pre","Preferences":"\u9996\u9009\u9879","Preformatted":"\u9884\u5148\u683c\u5f0f\u5316\u7684","Premium plugins:":"\u4f18\u79c0\u63d2\u4ef6\uff1a","Press the Up and Down arrow keys to resize the editor.":"\u6309\u4e0a\u4e0b\u7bad\u5934\u952e\u4ee5\u8c03\u6574\u7f16\u8f91\u5668\u5927\u5c0f\u3002","Press the arrow keys to resize the editor.":"\u6309\u7bad\u5934\u952e\u4ee5\u8c03\u6574\u7f16\u8f91\u5668\u5927\u5c0f\u3002","Press {0} for help":"\u6309 {0} \u83b7\u5f97\u5e2e\u52a9","Preview":"\u9884\u89c8","Previous":"\u4e0a\u4e00\u4e2a","Print":"\u6253\u5370","Print...":"\u6253\u5370...","Psi":"Psi (\u03a8)","Purple":"\u7d2b\u8272","Quotations":"\u5f15\u53f7","R":"R","Range 0 to 255":"0 \u81f3 255 \u7684\u8303\u56f4","Red":"\u7ea2\u8272","Red component":"\u7ea2\u8272\u6210\u5206","Redo":"\u91cd\u505a","Remove":"\u5220\u9664","Remove color":"\u79fb\u9664\u989c\u8272","Remove link":"\u79fb\u9664\u94fe\u63a5","Replace":"\u66ff\u6362","Replace all":"\u66ff\u6362\u5168\u90e8","Replace with":"\u66ff\u6362\u4e3a","Resize":"\u8c03\u6574\u5927\u5c0f","Restore last draft":"\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f","Reveal or hide additional toolbar items":"\u663e\u793a\u6216\u9690\u85cf\u5176\u4ed6\u5de5\u5177\u680f\u9879","Rho":"Rho (\u03a1)","Rich Text Area":"RTF \u533a\u57df","Rich Text Area. Press ALT-0 for help.":"\u5bcc\u6587\u672c\u533a\u57df\u3002 \u6309ALT-0\u5bfb\u6c42\u5e2e\u52a9\u3002","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"\u5bcc\u6587\u672c\u533a\u57df\u3002 \u6309ALT-F9\u8c03\u51fa\u83dc\u5355\u3002 \u6309ALT-F10\u8c03\u51fa\u5de5\u5177\u680f\u3002 \u6309ALT-0\u5bfb\u6c42\u5e2e\u52a9","Ridge":"\u51f8\u7ebf","Right":"\u53f3","Right to left":"\u7531\u53f3\u5230\u5de6","Row":"\u884c","Row clipboard actions":"\u884c\u526a\u8d34\u677f\u64cd\u4f5c","Row group":"\u884c\u7ec4","Row header":"\u884c\u6807\u9898","Row properties":"\u884c\u5c5e\u6027","Row type":"\u884c\u7c7b\u578b","Rows":"\u884c\u6570","S - caron":"S - \u8f66\u97f3","Save":"\u4fdd\u5b58","Save (if save plugin activated)":"\u4fdd\u5b58(\u5982\u679c\u4fdd\u5b58\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Scope":"\u8303\u56f4","Search":"\u641c\u7d22","Select all":"\u5168\u9009","Select...":"\u9009\u62e9......","Selection":"\u9009\u9879","Shortcut":"\u5feb\u6377\u65b9\u5f0f","Show blocks":"\u663e\u793a\u533a\u5757\u8fb9\u6846","Show caption":"\u663e\u793a\u6807\u9898","Show invisible characters":"\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26","Sigma":"Sigma (\u03a3)","Size":"\u5b57\u53f7","Solid":"\u5b9e\u7ebf","Source":"\u539f\u59cb\u7801","Source code":"\u6e90\u4ee3\u7801","Special Character":"\u7279\u6b8a\u5b57\u7b26","Special character...":"\u7279\u6b8a\u5b57\u7b26......","Split cell":"\u62c6\u5206\u5355\u5143\u683c","Square":"\u5b9e\u5fc3\u65b9\u5757","Start list at number":"\u4ee5\u7f16\u53f7...\u5f00\u59cb\u5217\u8868","Strikethrough":"\u5220\u9664\u7ebf","Style":"\u6837\u5f0f","Subscript":"\u4e0b\u6807","Superscript":"\u4e0a\u6807","Switch to or from fullscreen mode":"\u5207\u6362\u5168\u5c4f\u6a21\u5f0f","Symbols":"\u7b26\u53f7","System Font":"\u7cfb\u7edf\u5b57\u4f53","THORN":"THORN (\xde)","Table":"\u8868\u683c","Table caption":"\u8868\u683c\u6807\u9898","Table properties":"\u8868\u683c\u5c5e\u6027","Table styles":"\u8868\u683c\u6837\u5f0f","Tau":"Tau (\u03a4)","Template":"\u6a21\u677f","Templates":"\u6a21\u677f","Text":"\u6587\u672c","Text color":"\u6587\u672c\u989c\u8272","Text color {0}":"\u6587\u672c\u989c\u8272 {0}","Text to display":"\u8981\u663e\u793a\u7684\u6587\u672c","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"\u60a8\u8f93\u5165\u7684URL\u4f3c\u4e4e\u662f\u4e00\u4e2a\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002 \u662f\u5426\u8981\u6dfb\u52a0\u6240\u9700\u7684mailto:\u524d\u7f00\uff1f","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"\u60a8\u8f93\u5165\u7684URL\u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002 \u662f\u5426\u8981\u6dfb\u52a0\u6240\u9700\u7684http://\u524d\u7f00\uff1f","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"\u60a8\u8f93\u5165\u7684URL\u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002 \u662f\u5426\u8981\u6dfb\u52a0\u6240\u9700\u7684https://\u524d\u7f00\uff1f","Theta":"Theta (\u0398)","Title":"\u6807\u9898","Title Case":"\u5b57\u9996\u5927\u5199","To open the popup, press Shift+Enter":"\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846","Toggle accordion":"\u5207\u6362\u6298\u53e0\u9762\u677f","Tools":"\u5de5\u5177","Top":"\u4e0a\u65b9\u5bf9\u9f50","Travel and Places":"\u65c5\u6e38\u548c\u5730\u70b9","Turquoise":"\u9752\u7eff\u8272","U - acute":"U - \u9ad8\u97f3","U - circumflex":"U - \u6298\u97f3","U - diaeresis":"U - \u4e24\u70b9\u97f3","U - grave":"U - \u91cd\u97f3","U - macron":"U - \u957f\u97f3","UPPERCASE":"\u5927\u5199","Underline":"\u4e0b\u5212\u7ebf","Undo":"\u64a4\u9500","Upload":"\u4e0a\u4f20","Uploading image":"\u6b63\u5728\u4e0a\u4f20\u56fe\u50cf","Upper Alpha":"\u5927\u5199\u82f1\u6587\u5b57\u6bcd","Upper Roman":"\u5927\u5199\u7f57\u9a6c\u6570\u5b57","Upsilon":"Upsilon (\u03a5)","Url":"\u5730\u5740","User Defined":"\u81ea\u5b9a\u4e49","Valid":"\u6709\u6548","Version":"\u7248\u672c","Vertical align":"\u5782\u76f4\u5bf9\u9f50","Vertical space":"\u5782\u76f4\u95f4\u8ddd","View":"\u67e5\u770b","Visual aids":"\u7f51\u683c\u7ebf","Warn":"\u8b66\u544a","White":"\u767d\u8272","Width":"\u5bbd\u5ea6","Word count":"\u5b57\u6570","Words":"\u5b57\u6570","Words: {0}":"\u5b57\u6570\uff1a{0}","Xi":"Xi (\u039e)","Y - acute":"Y - \u9ad8\u97f3","Y - diaeresis":"Y - \u4e24\u70b9\u97f3","Y - macron":"Y - \u957f\u97f3","Yellow":"\u9ec4\u8272","Yes":"\u662f","You are using {0}":"\u60a8\u6b63\u5728\u4f7f\u7528{0}","You have unsaved changes are you sure you want to navigate away?":"\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u76f4\u63a5\u8bbf\u95ee\u526a\u8d34\u677f\u3002 \u8bf7\u6539\u7528Ctrl+X/C/V\u952e\u76d8\u5feb\u6377\u952e\u3002","Zeta":"Zeta (\u0396)","a - acute":"a - \u9ad8\u97f3","a - circumflex":"a - \u6298\u97f3","a - diaeresis":"a - \u4e24\u70b9\u97f3","a - grave":"a - \u91cd\u97f3","a - macron":"a - \u957f\u97f3","a - ring above":"a - \u73af\u4e0a\u97f3","a - tilde":"a - \u989a\u97f3","alignment":"\u5bf9\u9f50","almost equal to":"\u51e0\u4e4e\u7b49\u4e8e","alpha":"alpha (\u03b1)","angle":"\u89d2","approximately equal to":"\u5927\u7ea6\u7b49\u4e8e","asterisk operator":"\u661f\u53f7\u8fd0\u7b97\u7b26","austral sign":"\u5965\u65af\u7279\u62c9\u5c14\u7b26\u53f7","backward difference":"\u5411\u540e\u5dee\u5206","beta":"beta (\u03b2)","broken bar":"\u65ad\u6761\u7b26","bullet":"\u9879\u76ee\u7b26\u53f7","c - cedilla":"c - \u8f6f\u97f3\u7b26","cedi sign":"\u585e\u5730\u7b26\u53f7","cent sign":"\u5206\u7b26\u53f7","chi":"chi (\u03c7)","circumflex accent":"\u8131\u5b57\u7b26","colon sign":"\u5192\u53f7\u7b26\u53f7","comments":"\u5907\u6ce8","contains as member":"\u5305\u542b\u4e3a\u6210\u5458","copyright sign":"\u7248\u6743\u7b26\u53f7","cruzeiro sign":"\u514b\u9c81\u585e\u7f57\u7b26\u53f7","currency sign":"\u8d27\u5e01\u7b26\u53f7","degree sign":"\u5ea6\u7b26\u53f7","delta":"delta (\u03b4)","diaeresis":"\u5206\u97f3\u7b26","diameter":"\u76f4\u5f84","division sign":"\u9664\u53f7","dollar sign":"\u7f8e\u5143\u7b26\u53f7","dong sign":"\u8d8a\u5357\u76fe\u7b26\u53f7","double low-9 quotation mark":"\u53cc\u4f4e-9 \u5f15\u53f7","drachma sign":"\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7","e - acute":"e - \u9ad8\u97f3","e - circumflex":"e - \u6298\u97f3","e - diaeresis":"e - \u4e24\u70b9\u97f3","e - grave":"e - \u91cd\u97f3","e - macron":"e - \u957f\u97f3","element of":"\u5c5e\u4e8e","em dash":"\u957f\u7834\u6298\u53f7","en dash":"\u77ed\u7834\u6298\u53f7","epsilon":"epsilon (\u03b5)","eta":"eta (\u03b7)","eth":"eth (\xf0)","euro sign":"\u6b27\u5143\u7b26\u53f7","euro-currency sign":"\u6b27\u5143\u8d27\u5e01\u7b26\u53f7","example":"\u793a\u4f8b","final sigma":"final sigma (\u03c2)","for all":"\u5bf9\u4e8e\u6240\u6709","formatting":"\u683c\u5f0f\u5316","fraction one half":"\u4e8c\u5206\u4e4b\u4e00\u5206\u6570","fraction one quarter":"\u56db\u5206\u4e4b\u4e00\u5206\u6570","fraction slash":"\u5206\u6570\u659c\u6760","fraction three quarters":"\u56db\u5206\u4e4b\u4e09\u5206\u6570","french franc sign":"\u6cd5\u90ce\u7b26\u53f7","function / florin":"\u51fd\u6570 / \u5f17\u7f57\u6797","gamma":"gamma (\u03b3)","german penny symbol":"\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7","greater-than or equal to":"\u5927\u4e8e\u6216\u7b49\u4e8e","greater-than sign":"\u5927\u4e8e\u53f7","guarani sign":"\u74dc\u62c9\u5c3c\u7b26\u53f7","history":"\u5386\u53f2","hryvnia sign":"\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7","i - acute":"i - \u9ad8\u97f3","i - circumflex":"i - \u6298\u97f3","i - diaeresis":"i - \u4e24\u70b9\u97f3","i - grave":"i - \u91cd\u97f3","i - macron":"i - \u957f\u97f3","identical to":"\u76f8\u540c\u4e8e","indentation":"\u7f29\u8fdb","indian rupee sign":"\u5370\u5ea6\u5362\u6bd4\u7b26\u53f7","infinity":"\u65e0\u7a77\u5927","integral":"\u79ef\u5206","intersection":"\u4ea4\u96c6","inverted exclamation mark":"\u5012\u611f\u53f9\u53f7","iota":"iota (\u03b9)","kappa":"kappa (\u03ba)","kip sign":"\u5409\u666e\u514b\u7b26\u53f7","lambda":"lambda (\u03bb)","left double quotation mark":"\u5de6\u53cc\u5f15\u53f7","left pointing guillemet":"\u5de6\u5c16\u62ec\u53f7","left single quotation mark":"\u5de6\u5355\u5f15\u53f7","less-than or equal to":"\u5c0f\u4e8e\u6216\u7b49\u4e8e","less-than sign":"\u5c0f\u4e8e\u53f7","ligature AE":"\u8fde\u5b57 AE","ligature OE":"\u8fde\u5b57OE","ligature ae":"\u8fde\u5b57ae","ligature oe":"\u8fde\u5b57oe","lira sign":"\u91cc\u62c9\u7b26\u53f7","livre tournois sign":"\u91cc\u5f17\u56fe\u74e6\u7b26\u53f7","logical and":"\u903b\u8f91\u4e0e","logical or":"\u903b\u8f91\u6216","lowercase":"\u5c0f\u5199","macron":"\u957f\u97f3\u7b26","manat sign":"\u9a6c\u7eb3\u7279\u7b26\u53f7","micro sign":"\u5fae\u7b26\u53f7","middle dot":"\u4e2d\u95f4\u70b9","mill sign":"\u6beb\u7b26\u53f7","minus sign":"\u51cf\u53f7","minutes / feet":"\u5206\u949f/\u82f1\u5c3a","mu":"mu (\u03bc)","multiplication sign":"\u4e58\u53f7","n - tilde":"n - \u989a\u97f3","n-ary product":"n\u5143\u79ef","n-ary sumation":"n \u5143\u6c42\u548c","naira sign":"\u5948\u62c9\u7b26\u53f7","new sheqel sign":"\u65b0\u8c22\u514b\u5c14\u7b26\u53f7","nordic mark sign":"\u5317\u6b27\u9a6c\u514b\u7b26\u53f7","not an element of":"\u4e0d\u5c5e\u4e8e","not equal to":"\u4e0d\u7b49\u4e8e","not sign":"\u975e\u7b26\u53f7","nu":"nu (\u03bd)","o - acute":"o - \u6298\u97f3","o - circumflex":"o - \u4e24\u70b9\u97f3","o - diaeresis":"o - \u4e24\u70b9\u97f3","o - grave":"o - \u9ad8\u97f3","o - tilde":"o - \u91cd\u97f3","o macron":"o - \u957f\u97f3","o slash":"o \u659c\u7ebf","omega":"omega (\u03c9)","omicron":"omicron (\u03bf)","overline":"\u4e0a\u5212\u7ebf","paragraph sign":"\u6bb5\u843d\u7b26\u53f7","partial differential":"\u504f\u5fae\u5206","per mille sign":"\u5343\u5206\u53f7","peseta sign":"\u6bd4\u585e\u5854\u7b26\u53f7","peso sign":"\u6bd4\u7d22\u7b26\u53f7","phi":"phi (\u03c6)","pi":"pi (\u03c0)","plus-minus sign":"\u6b63\u8d1f\u53f7","pound sign":"\u82f1\u9551\u7b26\u53f7","proportional to":"\u4e0e\u6bd4\u4f8b","psi":"psi (\u03c8)","registered sign":"\u6ce8\u518c\u5546\u6807\u7b26\u53f7","rho":"rho (\u03c1)","right double quotation mark":"\u53f3\u53cc\u5f15\u53f7","right pointing guillemet":"\u53f3\u5c16\u62ec\u53f7","right single quotation mark":"\u53f3\u5355\u5f15\u53f7","ruble sign":"\u5362\u5e03\u7b26\u53f7","rupee sign":"\u5362\u6bd4\u7b26\u53f7","s - caron":"s - \u8f66\u97f3","seconds / inches":"\u79d2/\u82f1\u5bf8","section sign":"\u7ae0\u8282\u7b26\u53f7","sharp s / ess-zed":"\xdf","sigma":"sigma (\u03c3)","similar to":"\u7c7b\u4f3c\u4e8e","single left-pointing angle quotation mark":"\u5355\u5de6\u5c16\u5f15\u53f7","single low-9 quotation mark":"\u5355\u4f4e-9 \u5f15\u53f7","single right-pointing angle quotation mark":"\u5355\u53f3\u5c16\u5f15\u53f7","small tilde":"\u5c0f\u6ce2\u5f62\u7b26","spesmilo sign":"\u65af\u4f69\u65af\u7c73\u6d1b\u7b26\u53f7","square root":"\u5e73\u65b9\u6839","styles":"\u6837\u5f0f","superscript one":"\u4e0a\u6807\u4e00","superscript three":"\u4e0a\u6807\u4e09","superscript two":"\u4e0a\u6807\u4e8c","tau":"tau (\u03c4)","tenge sign":"\u5766\u683c\u7b26\u53f7","there exists":"\u5b58\u5728","theta":"theta (\u03b8)","thorn":"thorn (\xfe)","three dot leader":"\u7701\u7565\u53f7","trade mark sign":"\u5546\u6807\u7b26\u53f7","tugrik sign":"\u56fe\u683c\u91cc\u514b\u7b26\u53f7","turkish lira sign":"\u571f\u8033\u5176\u91cc\u62c9\u7b26\u53f7","turned question mark":"\u7ffb\u8f6c\u95ee\u53f7","u - acute":"u - \u9ad8\u97f3","u - circumflex":"u - \u6298\u97f3","u - diaeresis":"u - \u4e24\u70b9\u97f3","u - grave":"u - \u91cd\u97f3","u - macron":"u - \u957f\u97f3","union":"\u5e76\u96c6","upsilon":"upsilon (\u03c5)","won sign":"\u97e9\u5143\u7b26\u53f7","xi":"xi (\u03be)","y - acute":"y - \u9ad8\u97f3","y - diaeresis":"y - \u4e24\u70b9\u97f3","y - macron":"y - \u957f\u97f3","yen character":"\u65e5\u5143\u5b57\u7b26","yen sign":"\u65e5\u5143\u7b26\u53f7","yen/yuan character variant one":"\u65e5\u5143/\u4eba\u6c11\u5e01\u5b57\u7b26\u53d8\u4f53\u4e00","yuan character":"\u4eba\u6c11\u5e01\u5b57\u7b26","yuan character, in hong kong and taiwan":"\u6e2f\u6f8e\u53f0\u5143\u5b57\u7b26","zeta":"zeta (\u03b6)","{0} characters":"{0}\u4e2a\u5b57\u7b26","{0} columns, {1} rows":"{0} \u5217\uff0c{1} \u884c","{0} words":"{0}\u5b57"}); \ No newline at end of file diff --git a/mining-pool/public/public/favicon.ico b/mining-pool/public/public/favicon.ico new file mode 100644 index 0000000..699af6b Binary files /dev/null and b/mining-pool/public/public/favicon.ico differ diff --git a/mining-pool/public/public/index.html b/mining-pool/public/public/index.html new file mode 100644 index 0000000..bccf443 --- /dev/null +++ b/mining-pool/public/public/index.html @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + M2pool - Stable leading high-yield mining pool + + + + + + + +
              + + + + \ No newline at end of file diff --git a/mining-pool/public/public/robots.txt b/mining-pool/public/public/robots.txt new file mode 100644 index 0000000..7281063 --- /dev/null +++ b/mining-pool/public/public/robots.txt @@ -0,0 +1,30 @@ +User-agent: * # 适用于所有搜索引擎爬虫 +Allow: / #允许爬取根目录下的所有内容 +Disallow: /admin +Disallow: /oapi #禁止爬取oapi和api开头的接口内容 +Disallow: /api +# 明确禁止访问不存在的路径 $精确匹配 +Disallow: /*/AccessMiningPool/enx$ +Disallow: /en/AccessMiningPool/enx$ +Disallow: /zh/AccessMiningPool/enx$ + + +# 站点地图配置 +Sitemap: https://m2pool.com/sitemap-zh.xml # 中文站点地图 +Sitemap: https://m2pool.com/sitemap-en.xml # 英文站点地图 + +# 语言版本 +Allow: /zh +Allow: /en + +# SEO优化 允许爬取各类静态资源文件 +Allow: /*.js +Allow: /*.css +Allow: /*.png +Allow: /*.jpg +Allow: /*.gif +Allow: /*.svg +Allow: /*.ico + +# 爬虫频率控制 设置爬虫延迟避免服务器负载过高 +Crawl-delay: 10 \ No newline at end of file diff --git a/mining-pool/public/public/tinymce/langs/zh_CN.js b/mining-pool/public/public/tinymce/langs/zh_CN.js new file mode 100644 index 0000000..4e164a4 --- /dev/null +++ b/mining-pool/public/public/tinymce/langs/zh_CN.js @@ -0,0 +1,7 @@ +/*! + * TinyMCE Language Pack + * + * Copyright (c) 2023 Ephox Corporation DBA Tiny Technologies, Inc. + * Licensed under the Tiny commercial license. See https://www.tiny.cloud/legal/ + */ +tinymce.addI18n("zh_CN",{"#":"#","A - acute":"A - \u9ad8\u97f3","A - circumflex":"A - \u6298\u97f3","A - diaeresis":"A - \u4e24\u70b9\u97f3","A - grave":"A - \u91cd\u97f3","A - macron":"A - \u957f\u97f3","A - ring above":"A - \u73af\u4e0a\u97f3","A - tilde":"A - \u989a\u97f3","Accessibility":"\u8f85\u52a9\u529f\u80fd","Accordion":"\u6298\u53e0\u9762\u677f","Accordion body...":"\u6298\u53e0\u9762\u677f\u6b63\u6587...","Accordion summary...":"\u6298\u53e0\u9762\u677f\u6458\u8981...","Action":"\u52a8\u4f5c","Activity":"\u6d3b\u52a8","Address":"\u5730\u5740","Advanced":"\u9ad8\u7ea7","Align":"\u5bf9\u9f50","Align center":"\u4e2d\u95f4\u5bf9\u9f50","Align left":"\u5de6\u8fb9\u5bf9\u9f50","Align right":"\u53f3\u8fb9\u5bf9\u9f50","Alignment":"\u5bf9\u9f50","Alignment {0}":"\u5bf9\u9f50{0}","All":"\u6240\u6709","Alpha":"Alpha (\u0391)","Alternative description":"\u66ff\u4ee3\u8bf4\u660e","Alternative source":"\u955c\u50cf","Alternative source URL":"\u66ff\u4ee3\u6765\u6e90\u7f51\u5740","Anchor":"\u951a\u70b9","Anchor...":"\u951a\u70b9...","Anchors":"\u951a\u70b9","Animals and Nature":"\u52a8\u7269\u548c\u81ea\u7136","Arrows":"\u7bad\u5934","B":"B","Background color":"\u80cc\u666f\u989c\u8272","Background color {0}":"\u80cc\u666f\u989c\u8272 {0}","Beta":"Beta (\u0392)","Black":"\u9ed1\u8272","Block":"\u5757","Block {0}":"\u6587\u672c\u5757{0}","Blockquote":"\u5f15\u6587\u533a\u5757","Blocks":"\u57fa\u5757","Blue":"\u84dd\u8272","Blue component":"\u84dd\u8272\u6210\u5206","Body":"\u8868\u4f53","Bold":"\u7c97\u4f53","Border":"\u6846\u7ebf","Border color":"\u6846\u7ebf\u989c\u8272","Border style":"\u8fb9\u6846\u6837\u5f0f","Border width":"\u8fb9\u6846\u5bbd\u5ea6","Bottom":"\u4e0b\u65b9\u5bf9\u9f50","Browse files":"\u6d4f\u89c8\u6587\u4ef6","Browse for an image":"\u6d4f\u89c8\u56fe\u50cf","Browse links":"\u6d4f\u89c8\u94fe\u63a5","Bullet list":"\u9879\u76ee\u7b26\u53f7","C - cedilla":"C - \u8f6f\u97f3\u7b26","Cancel":"\u53d6\u6d88","Capitalization":"\u5927\u5199","Caption":"\u6807\u9898","Case Change":"\u53d8\u683c","Cell":"\u50a8\u5b58\u683c","Cell padding":"\u5355\u5143\u683c\u5185\u8fb9\u8ddd","Cell properties":"\u5355\u5143\u683c\u5c5e\u6027","Cell spacing":"\u5355\u5143\u683c\u5916\u95f4\u8ddd","Cell styles":"\u5355\u5143\u683c\u6837\u5f0f","Cell type":"\u50a8\u5b58\u683c\u522b","Center":"\u5c45\u4e2d","Characters":"\u5b57\u7b26","Characters (no spaces)":"\u5b57\u7b26(\u65e0\u7a7a\u683c)","Checklist":"\u68c0\u67e5\u8868","Chi":"Chi (\u03a7)","Circle":"\u7a7a\u5fc3\u5706","Class":"\u7c7b\u578b","Clear formatting":"\u6e05\u9664\u683c\u5f0f","Close":"\u5173\u95ed","Code":"\u4ee3\u7801","Code sample...":"\u793a\u4f8b\u4ee3\u7801...","Code view":"\u4ee3\u7801\u89c6\u56fe","Color Picker":"\u9009\u8272\u5668","Color swatch":"\u989c\u8272\u6837\u672c","Cols":"\u5217","Column":"\u680f\u76ee","Column clipboard actions":"\u5217\u526a\u8d34\u677f\u64cd\u4f5c","Column group":"\u5217\u7ec4","Column header":"\u5217\u6807\u9898","Constrain proportions":"\u4fdd\u6301\u6bd4\u4f8b","Copy":"\u590d\u5236","Copy column":"\u590d\u5236\u5217","Copy row":"\u590d\u5236\u884c","Could not find the specified string.":"\u672a\u627e\u5230\u641c\u7d22\u5185\u5bb9\u3002","Could not load emojis":"\u672a\u80fd\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7","Count":"\u8ba1\u7b97","Currency":"\u8d27\u5e01","Current window":"\u5f53\u524d\u7a97\u53e3","Custom color":"\u81ea\u5b9a\u4e49\u989c\u8272","Custom...":"\u81ea\u5b9a\u4e49......","Cut":"\u526a\u5207","Cut column":"\u526a\u5207\u5217","Cut row":"\u526a\u5207\u884c","Dark Blue":"\u6df1\u84dd\u8272","Dark Gray":"\u6df1\u7070\u8272","Dark Green":"\u6df1\u7eff\u8272","Dark Orange":"\u6df1\u6a59\u8272","Dark Purple":"\u6df1\u7d2b\u8272","Dark Red":"\u6df1\u7ea2\u8272","Dark Turquoise":"\u6df1\u84dd\u7eff\u8272","Dark Yellow":"\u6697\u9ec4\u8272","Dashed":"\u865a\u7ebf","Date/time":"\u65e5\u671f/\u65f6\u95f4","Decrease indent":"\u51cf\u5c11\u7f29\u8fdb","Default":"\u9884\u8bbe","Delete accordion":"\u5220\u9664\u6298\u53e0\u9762\u677f","Delete column":"\u5220\u9664\u5217","Delete row":"\u5220\u9664\u884c","Delete table":"\u5220\u9664\u8868\u683c","Delta":"Delta (\u0394)","Dimensions":"\u5c3a\u5bf8","Disc":"\u5b9e\u5fc3\u5706","Div":"Div","Document":"\u6587\u4ef6","Dotted":"\u70b9\u7ebf","Double":"\u53cc\u7ebf","Drop an image here":"\u62d6\u653e\u4e00\u5f20\u56fe\u50cf\u81f3\u6b64","Dropped file type is not supported":"\u4e0d\u652f\u6301\u62d6\u653e\u6587\u4ef6\u7c7b\u578b","E - acute":"E - \u9ad8\u97f3","E - circumflex":"E - \u6298\u97f3","E - diaeresis":"E - \u4e24\u70b9\u97f3","E - grave":"E - \u91cd\u97f3","E - macron":"E - \u957f\u97f3","ETH":"ETH (\xd0)","Edit":"\u7f16\u8f91","Embed":"\u5d4c\u5165","Emojis":"\u8868\u60c5\u7b26\u53f7","Emojis...":"\u8868\u60c5\u7b26\u53f7...","Epsilon":"Epsilon (\u0395)","Error":"\u9519\u8bef","Error: Form submit field collision.":"\u9519\u8bef: \u8868\u683c\u63d0\u4ea4\u5b57\u6bb5\u51b2\u7a81\u3002","Error: No form element found.":"\u9519\u8bef: \u6ca1\u6709\u8868\u5355\u63a7\u4ef6\u3002","Eta":"Eta (\u0397)","Extended Latin":"\u6269\u5c55\u62c9\u4e01\u6587","Failed to initialize plugin: {0}":"\u63d2\u4ef6\u521d\u59cb\u5316\u5931\u8d25\uff1a{0}","Failed to load plugin url: {0}":"\u63d2\u4ef6url\u52a0\u8f7d\u5931\u8d25\uff1a{0}","Failed to load plugin: {0} from url {1}":"\u63d2\u4ef6\u52a0\u8f7d\u5931\u8d25\uff1a{1}\u6765\u81eaurl\u7684{0}","Failed to upload image: {0}":"\u56fe\u50cf\u4e0a\u4f20\u5931\u8d25\uff1a{0}","File":"\u6587\u4ef6","Find":"\u5bfb\u627e","Find (if searchreplace plugin activated)":"\u67e5\u627e(\u5982\u679c\u67e5\u627e\u66ff\u6362\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Find and Replace":"\u67e5\u627e\u548c\u66ff\u6362","Find and replace...":"\u67e5\u627e\u5e76\u66ff\u6362...","Find in selection":"\u5728\u9009\u4e2d\u8303\u56f4\u5185\u641c\u7d22","Find whole words only":"\u5168\u5b57\u5339\u914d","Flags":"\u65d7\u5e1c","Focus to contextual toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u4e0a\u4e0b\u6587\u83dc\u5355","Focus to element path":"\u79fb\u52a8\u7126\u70b9\u5230\u5143\u7d20\u8def\u5f84","Focus to menubar":"\u79fb\u52a8\u7126\u70b9\u5230\u83dc\u5355\u680f","Focus to toolbar":"\u79fb\u52a8\u7126\u70b9\u5230\u5de5\u5177\u680f","Font":"\u5b57\u4f53","Font size {0}":"\u5b57\u4f53\u5927\u5c0f{0}","Font sizes":"\u5b57\u53f7","Font {0}":"\u5b57\u4f53{0}","Fonts":"\u5b57\u4f53","Food and Drink":"\u98df\u7269\u548c\u996e\u54c1","Footer":"\u9875\u811a","Format":"\u683c\u5f0f","Format painter":"\u683c\u5f0f\u5237","Format {0}":"\u683c\u5f0f{0}","Formats":"\u683c\u5f0f","Fullscreen":"\u5168\u5c4f\u5e55","G":"G","Gamma":"Gamma (\u0393)","General":"\u4e00\u822c","Gray":"\u7070\u8272","Green":"\u7eff\u8272","Green component":"\u7eff\u8272\u6210\u5206","Groove":"\u51f9\u7ebf","Handy Shortcuts":"\u5feb\u6377\u952e","Header":"\u9875\u5934","Header cell":"\u8868\u5934\u5355\u5143\u683c","Heading 1":"\u6807\u98981","Heading 2":"\u6807\u98982","Heading 3":"\u6807\u98983","Heading 4":"\u6807\u98984","Heading 5":"\u6807\u98985","Heading 6":"\u6807\u98986","Headings":"\u6807\u9898","Height":"\u9ad8\u5ea6","Help":"\u5e2e\u52a9","Hex color code":"\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801","Hidden":"\u5df2\u9690\u85cf","Horizontal align":"\u6c34\u5e73\u5bf9\u9f50","Horizontal line":"\u6c34\u5e73\u5206\u5272\u7ebf","Horizontal space":"\u6c34\u5e73\u95f4\u8ddd","I - acute":"I - \u9ad8\u97f3","I - circumflex":"I - \u6298\u97f3","I - diaeresis":"I - \u4e24\u70b9\u97f3","I - grave":"I - \u91cd\u97f3","I - macron":"I - \u957f\u97f3","ID":"ID","ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.":"ID \u5e94\u4ee5\u5b57\u6bcd\u5f00\u5934\uff0c\u540e\u63a5\u5b57\u6bcd\u3001\u6570\u5b57\u3001\u77ed\u5212\u7ebf\u3001\u70b9\u53f7\u3001\u5192\u53f7\u548c\u4e0b\u5212\u7ebf\u3002","Image is decorative":"\u56fe\u7247\u7528\u4e8e\u88c5\u9970\u76ee\u7684","Image list":"\u56fe\u7247\u6e05\u5355","Image title":"\u56fe\u7247\u6807\u9898","Image...":"\u56fe\u7247......","ImageProxy HTTP error: Could not find Image Proxy":"ImageProxy HTTP\u9519\u8bef\uff1a\u672a\u627e\u5230Image Proxy","ImageProxy HTTP error: Incorrect Image Proxy URL":"ImageProxy HTTP\u9519\u8bef\uff1aImage Proxy URL\u6709\u8bef","ImageProxy HTTP error: Rejected request":"ImageProxy HTTP\u9519\u8bef\uff1a\u62d2\u7edd\u7684\u8bf7\u6c42","ImageProxy HTTP error: Unknown ImageProxy error":"ImageProxy HTTP\u9519\u8bef\uff1a\u672a\u77e5\u7684ImageProxy\u9519\u8bef","Increase indent":"\u589e\u52a0\u7f29\u8fdb","Inline":"\u6587\u672c","Insert":"\u63d2\u5165","Insert Template":"\u63d2\u5165\u6a21\u677f","Insert accordion":"\u63d2\u5165\u6298\u53e0\u9762\u677f","Insert checklist":"\u63d2\u5165\u6e05\u5355","Insert column after":"\u5728\u53f3\u4fa7\u63d2\u5165\u5217","Insert column before":"\u5728\u5de6\u4fa7\u63d2\u5165\u5217","Insert date/time":"\u63d2\u5165\u65e5\u671f/\u65f6\u95f4","Insert image":"\u63d2\u5165\u56fe\u7247","Insert link (if link plugin activated)":"\u63d2\u5165\u94fe\u63a5 (\u5982\u679c\u94fe\u63a5\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Insert row after":"\u5728\u4e0b\u65b9\u63d2\u5165\u884c","Insert row before":"\u5728\u4e0a\u65b9\u63d2\u5165\u884c","Insert table":"\u63d2\u5165\u8868\u683c","Insert template...":"\u63d2\u5165\u6a21\u677f...","Insert video":"\u63d2\u5165\u89c6\u9891","Insert/Edit code sample":"\u63d2\u5165/\u7f16\u8f91\u4ee3\u7801\u793a\u4f8b","Insert/edit image":"\u63d2\u5165/\u7f16\u8f91\u56fe\u7247","Insert/edit link":"\u63d2\u5165/\u7f16\u8f91\u94fe\u63a5","Insert/edit media":"\u63d2\u5165/\u7f16\u8f91\u5a92\u4f53","Insert/edit video":"\u63d2\u5165/\u7f16\u8f91\u89c6\u9891","Inset":"\u5d4c\u5165","Invalid hex color code: {0}":"\u65e0\u6548\u7684\u5341\u516d\u8fdb\u5236\u989c\u8272\u4ee3\u7801\uff1a{0}","Invalid input":"\u8f93\u5165\u65e0\u6548","Iota":"Iota (\u0399)","Italic":"\u659c\u4f53","Justify":"\u4e24\u7aef\u5bf9\u9f50","Kappa":"Kappa (\u039a)","Keyboard Navigation":"\u952e\u76d8\u5bfc\u822a","Lambda":"Lambda (\u039b)","Language":"\u8bed\u8a00","Learn more...":"\u4e86\u89e3\u66f4\u591a...","Left":"\u5de6","Left to right":"\u7531\u5de6\u5230\u53f3","Light Blue":"\u6d45\u84dd\u8272","Light Gray":"\u6d45\u7070\u8272","Light Green":"\u6de1\u7eff\u8272","Light Purple":"\u6d45\u7d2b\u8272","Light Red":"\u6d45\u7ea2\u8272","Light Yellow":"\u6d45\u9ec4\u8272","Line height":"\u884c\u9ad8","Link list":"\u94fe\u63a5\u6e05\u5355","Link...":"\u94fe\u63a5...","List Properties":"\u5217\u8868\u5c5e\u6027","List properties...":"\u5217\u8868\u5c5e\u6027...","Loading emojis...":"\u6b63\u5728\u52a0\u8f7d\u8868\u60c5\u7b26\u53f7...","Loading...":"\u4e0a\u4f20\u4e2d......","Lower Alpha":"\u5c0f\u5199\u82f1\u6587\u5b57\u6bcd","Lower Greek":"\u5c0f\u5199\u5e0c\u814a\u5b57\u6bcd","Lower Roman":"\u5c0f\u5199\u7f57\u9a6c\u6570\u5b57","Match case":"\u5927\u5c0f\u5199\u5339\u914d","Mathematical":"\u6570\u5b66","Media poster (Image URL)":"\u5c01\u9762(\u56fe\u7247\u5730\u5740)","Media...":"\u591a\u5a92\u4f53...","Medium Blue":"\u4e2d\u84dd\u8272","Medium Gray":"\u4e2d\u7070\u8272","Medium Purple":"\u4e2d\u7d2b\u8272","Merge cells":"\u5408\u5e76\u5355\u5143\u683c","Middle":"\u5c45\u4e2d\u5bf9\u9f50","Midnight Blue":"\u6df1\u84dd\u8272","More...":"\u66f4\u591a\u4fe1\u606f......","Mu":"Mu (\u039c)","N - tilde":"N - \u989a\u97f3","Name":"\u540d\u79f0","Navy Blue":"\u6d77\u519b\u84dd","New document":"\u65b0\u6587\u4ef6","New window":"\u65b0\u7a97\u53e3","Next":"\u4e0b\u4e00\u4e2a","No":"\u5426","No alignment":"\u672a\u5bf9\u9f50","No color":"\u65e0","Nonbreaking space":"\u4e0d\u95f4\u65ad\u7a7a\u683c","None":"\u65e0","Nu":"Nu (\u039d)","Numbered list":"\u7f16\u53f7\u5217\u8868","O - acute":"O - \u9ad8\u97f3","O - circumflex":"O - \u6298\u97f3","O - diaeresis":"O - \u4e24\u70b9\u97f3","O - grave":"O - \u91cd\u97f3","O - macron":"O - \u957f\u97f3","O - slash":"O - \u659c\u7ebf\u97f3","O - tilde":"O - \u989a\u97f3","OR":"\u6216","Objects":"\u7269\u4ef6","Ok":"\u786e\u5b9a","Omega":"Omega (\u03a9)","Omicron":"Omicron (\u039f)","Open help dialog":"\u6253\u5f00\u5e2e\u52a9\u5bf9\u8bdd\u6846","Open link":"\u6253\u5f00\u94fe\u63a5","Open link in...":"\u94fe\u63a5\u6253\u5f00\u4f4d\u7f6e...","Open popup menu for split buttons":"\u4e3a\u62c6\u5206\u6309\u94ae\u6253\u5f00\u5f39\u51fa\u83dc\u5355","Orange":"\u6a59\u8272","Outset":"\u5916\u5d4c","Page break":"\u5206\u9875\u7b26","Paragraph":"\u6bb5\u843d","Paste":"\u7c98\u8d34","Paste as text":"\u7c98\u8d34\u4e3a\u6587\u672c","Paste column after":"\u7c98\u8d34\u5217\u5230\u4e0b\u65b9","Paste column before":"\u7c98\u8d34\u5217\u5230\u4e0a\u65b9","Paste is now in plain text mode. Contents will now be pasted as plain text until you toggle this option off.":"\u7c98\u8d34\u76ee\u524d\u5904\u4e8e\u7eaf\u6587\u672c\u6a21\u5f0f\u3002 \u73b0\u5728\u5c06\u4ee5\u7eaf\u6587\u672c\u683c\u5f0f\u7c98\u8d34\u5185\u5bb9\uff0c\u76f4\u5230\u60a8\u5173\u95ed\u6b64\u9009\u9879\u3002","Paste or type a link":"\u7c98\u8d34\u6216\u8f93\u5165\u94fe\u63a5","Paste row after":"\u7c98\u8d34\u884c\u5230\u4e0b\u65b9","Paste row before":"\u7c98\u8d34\u884c\u5230\u4e0a\u65b9","Paste your embed code below:":"\u5c06\u5d4c\u5165\u4ee3\u7801\u7c98\u8d34\u5728\u4e0b\u9762:","People":"\u4eba\u7c7b","Permanent Pen Properties":"\u6c38\u4e45\u6807\u8bb0\u5c5e\u6027","Permanent pen":"\u8bb0\u53f7\u7b14","Permanent pen properties...":"\u6c38\u4e45\u6807\u8bb0\u5c5e\u6027......","Phi":"Phi (\u03a6)","Pi":"Pi (\u03a0)","Plugins":"\u5168\u90e8\u5916\u6302\u7a0b\u5e8f","Plugins installed ({0}):":"\u5df2\u5b89\u88c5\u63d2\u4ef6({0}):","Powered by {0}":"\u6280\u672f\u652f\u6301\uff1a{0}","Pre":"Pre","Preferences":"\u9996\u9009\u9879","Preformatted":"\u9884\u5148\u683c\u5f0f\u5316\u7684","Premium plugins:":"\u4f18\u79c0\u63d2\u4ef6\uff1a","Press the Up and Down arrow keys to resize the editor.":"\u6309\u4e0a\u4e0b\u7bad\u5934\u952e\u4ee5\u8c03\u6574\u7f16\u8f91\u5668\u5927\u5c0f\u3002","Press the arrow keys to resize the editor.":"\u6309\u7bad\u5934\u952e\u4ee5\u8c03\u6574\u7f16\u8f91\u5668\u5927\u5c0f\u3002","Press {0} for help":"\u6309 {0} \u83b7\u5f97\u5e2e\u52a9","Preview":"\u9884\u89c8","Previous":"\u4e0a\u4e00\u4e2a","Print":"\u6253\u5370","Print...":"\u6253\u5370...","Psi":"Psi (\u03a8)","Purple":"\u7d2b\u8272","Quotations":"\u5f15\u53f7","R":"R","Range 0 to 255":"0 \u81f3 255 \u7684\u8303\u56f4","Red":"\u7ea2\u8272","Red component":"\u7ea2\u8272\u6210\u5206","Redo":"\u91cd\u505a","Remove":"\u5220\u9664","Remove color":"\u79fb\u9664\u989c\u8272","Remove link":"\u79fb\u9664\u94fe\u63a5","Replace":"\u66ff\u6362","Replace all":"\u66ff\u6362\u5168\u90e8","Replace with":"\u66ff\u6362\u4e3a","Resize":"\u8c03\u6574\u5927\u5c0f","Restore last draft":"\u6062\u590d\u4e0a\u6b21\u7684\u8349\u7a3f","Reveal or hide additional toolbar items":"\u663e\u793a\u6216\u9690\u85cf\u5176\u4ed6\u5de5\u5177\u680f\u9879","Rho":"Rho (\u03a1)","Rich Text Area":"RTF \u533a\u57df","Rich Text Area. Press ALT-0 for help.":"\u5bcc\u6587\u672c\u533a\u57df\u3002 \u6309ALT-0\u5bfb\u6c42\u5e2e\u52a9\u3002","Rich Text Area. Press ALT-F9 for menu. Press ALT-F10 for toolbar. Press ALT-0 for help":"\u5bcc\u6587\u672c\u533a\u57df\u3002 \u6309ALT-F9\u8c03\u51fa\u83dc\u5355\u3002 \u6309ALT-F10\u8c03\u51fa\u5de5\u5177\u680f\u3002 \u6309ALT-0\u5bfb\u6c42\u5e2e\u52a9","Ridge":"\u51f8\u7ebf","Right":"\u53f3","Right to left":"\u7531\u53f3\u5230\u5de6","Row":"\u884c","Row clipboard actions":"\u884c\u526a\u8d34\u677f\u64cd\u4f5c","Row group":"\u884c\u7ec4","Row header":"\u884c\u6807\u9898","Row properties":"\u884c\u5c5e\u6027","Row type":"\u884c\u7c7b\u578b","Rows":"\u884c\u6570","S - caron":"S - \u8f66\u97f3","Save":"\u4fdd\u5b58","Save (if save plugin activated)":"\u4fdd\u5b58(\u5982\u679c\u4fdd\u5b58\u63d2\u4ef6\u5df2\u6fc0\u6d3b)","Scope":"\u8303\u56f4","Search":"\u641c\u7d22","Select all":"\u5168\u9009","Select...":"\u9009\u62e9......","Selection":"\u9009\u9879","Shortcut":"\u5feb\u6377\u65b9\u5f0f","Show blocks":"\u663e\u793a\u533a\u5757\u8fb9\u6846","Show caption":"\u663e\u793a\u6807\u9898","Show invisible characters":"\u663e\u793a\u4e0d\u53ef\u89c1\u5b57\u7b26","Sigma":"Sigma (\u03a3)","Size":"\u5b57\u53f7","Solid":"\u5b9e\u7ebf","Source":"\u539f\u59cb\u7801","Source code":"\u6e90\u4ee3\u7801","Special Character":"\u7279\u6b8a\u5b57\u7b26","Special character...":"\u7279\u6b8a\u5b57\u7b26......","Split cell":"\u62c6\u5206\u5355\u5143\u683c","Square":"\u5b9e\u5fc3\u65b9\u5757","Start list at number":"\u4ee5\u7f16\u53f7...\u5f00\u59cb\u5217\u8868","Strikethrough":"\u5220\u9664\u7ebf","Style":"\u6837\u5f0f","Subscript":"\u4e0b\u6807","Superscript":"\u4e0a\u6807","Switch to or from fullscreen mode":"\u5207\u6362\u5168\u5c4f\u6a21\u5f0f","Symbols":"\u7b26\u53f7","System Font":"\u7cfb\u7edf\u5b57\u4f53","THORN":"THORN (\xde)","Table":"\u8868\u683c","Table caption":"\u8868\u683c\u6807\u9898","Table properties":"\u8868\u683c\u5c5e\u6027","Table styles":"\u8868\u683c\u6837\u5f0f","Tau":"Tau (\u03a4)","Template":"\u6a21\u677f","Templates":"\u6a21\u677f","Text":"\u6587\u672c","Text color":"\u6587\u672c\u989c\u8272","Text color {0}":"\u6587\u672c\u989c\u8272 {0}","Text to display":"\u8981\u663e\u793a\u7684\u6587\u672c","The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?":"\u60a8\u8f93\u5165\u7684URL\u4f3c\u4e4e\u662f\u4e00\u4e2a\u7535\u5b50\u90ae\u4ef6\u5730\u5740\u3002 \u662f\u5426\u8981\u6dfb\u52a0\u6240\u9700\u7684mailto:\u524d\u7f00\uff1f","The URL you entered seems to be an external link. Do you want to add the required http:// prefix?":"\u60a8\u8f93\u5165\u7684URL\u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002 \u662f\u5426\u8981\u6dfb\u52a0\u6240\u9700\u7684http://\u524d\u7f00\uff1f","The URL you entered seems to be an external link. Do you want to add the required https:// prefix?":"\u60a8\u8f93\u5165\u7684URL\u4f3c\u4e4e\u662f\u4e00\u4e2a\u5916\u90e8\u94fe\u63a5\u3002 \u662f\u5426\u8981\u6dfb\u52a0\u6240\u9700\u7684https://\u524d\u7f00\uff1f","Theta":"Theta (\u0398)","Title":"\u6807\u9898","Title Case":"\u5b57\u9996\u5927\u5199","To open the popup, press Shift+Enter":"\u6309Shitf+Enter\u952e\u6253\u5f00\u5bf9\u8bdd\u6846","Toggle accordion":"\u5207\u6362\u6298\u53e0\u9762\u677f","Tools":"\u5de5\u5177","Top":"\u4e0a\u65b9\u5bf9\u9f50","Travel and Places":"\u65c5\u6e38\u548c\u5730\u70b9","Turquoise":"\u9752\u7eff\u8272","U - acute":"U - \u9ad8\u97f3","U - circumflex":"U - \u6298\u97f3","U - diaeresis":"U - \u4e24\u70b9\u97f3","U - grave":"U - \u91cd\u97f3","U - macron":"U - \u957f\u97f3","UPPERCASE":"\u5927\u5199","Underline":"\u4e0b\u5212\u7ebf","Undo":"\u64a4\u9500","Upload":"\u4e0a\u4f20","Uploading image":"\u6b63\u5728\u4e0a\u4f20\u56fe\u50cf","Upper Alpha":"\u5927\u5199\u82f1\u6587\u5b57\u6bcd","Upper Roman":"\u5927\u5199\u7f57\u9a6c\u6570\u5b57","Upsilon":"Upsilon (\u03a5)","Url":"\u5730\u5740","User Defined":"\u81ea\u5b9a\u4e49","Valid":"\u6709\u6548","Version":"\u7248\u672c","Vertical align":"\u5782\u76f4\u5bf9\u9f50","Vertical space":"\u5782\u76f4\u95f4\u8ddd","View":"\u67e5\u770b","Visual aids":"\u7f51\u683c\u7ebf","Warn":"\u8b66\u544a","White":"\u767d\u8272","Width":"\u5bbd\u5ea6","Word count":"\u5b57\u6570","Words":"\u5b57\u6570","Words: {0}":"\u5b57\u6570\uff1a{0}","Xi":"Xi (\u039e)","Y - acute":"Y - \u9ad8\u97f3","Y - diaeresis":"Y - \u4e24\u70b9\u97f3","Y - macron":"Y - \u957f\u97f3","Yellow":"\u9ec4\u8272","Yes":"\u662f","You are using {0}":"\u60a8\u6b63\u5728\u4f7f\u7528{0}","You have unsaved changes are you sure you want to navigate away?":"\u4f60\u8fd8\u6709\u6587\u6863\u5c1a\u672a\u4fdd\u5b58\uff0c\u786e\u5b9a\u8981\u79bb\u5f00\uff1f","Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.":"\u60a8\u7684\u6d4f\u89c8\u5668\u4e0d\u652f\u6301\u76f4\u63a5\u8bbf\u95ee\u526a\u8d34\u677f\u3002 \u8bf7\u6539\u7528Ctrl+X/C/V\u952e\u76d8\u5feb\u6377\u952e\u3002","Zeta":"Zeta (\u0396)","a - acute":"a - \u9ad8\u97f3","a - circumflex":"a - \u6298\u97f3","a - diaeresis":"a - \u4e24\u70b9\u97f3","a - grave":"a - \u91cd\u97f3","a - macron":"a - \u957f\u97f3","a - ring above":"a - \u73af\u4e0a\u97f3","a - tilde":"a - \u989a\u97f3","alignment":"\u5bf9\u9f50","almost equal to":"\u51e0\u4e4e\u7b49\u4e8e","alpha":"alpha (\u03b1)","angle":"\u89d2","approximately equal to":"\u5927\u7ea6\u7b49\u4e8e","asterisk operator":"\u661f\u53f7\u8fd0\u7b97\u7b26","austral sign":"\u5965\u65af\u7279\u62c9\u5c14\u7b26\u53f7","backward difference":"\u5411\u540e\u5dee\u5206","beta":"beta (\u03b2)","broken bar":"\u65ad\u6761\u7b26","bullet":"\u9879\u76ee\u7b26\u53f7","c - cedilla":"c - \u8f6f\u97f3\u7b26","cedi sign":"\u585e\u5730\u7b26\u53f7","cent sign":"\u5206\u7b26\u53f7","chi":"chi (\u03c7)","circumflex accent":"\u8131\u5b57\u7b26","colon sign":"\u5192\u53f7\u7b26\u53f7","comments":"\u5907\u6ce8","contains as member":"\u5305\u542b\u4e3a\u6210\u5458","copyright sign":"\u7248\u6743\u7b26\u53f7","cruzeiro sign":"\u514b\u9c81\u585e\u7f57\u7b26\u53f7","currency sign":"\u8d27\u5e01\u7b26\u53f7","degree sign":"\u5ea6\u7b26\u53f7","delta":"delta (\u03b4)","diaeresis":"\u5206\u97f3\u7b26","diameter":"\u76f4\u5f84","division sign":"\u9664\u53f7","dollar sign":"\u7f8e\u5143\u7b26\u53f7","dong sign":"\u8d8a\u5357\u76fe\u7b26\u53f7","double low-9 quotation mark":"\u53cc\u4f4e-9 \u5f15\u53f7","drachma sign":"\u5fb7\u62c9\u514b\u9a6c\u7b26\u53f7","e - acute":"e - \u9ad8\u97f3","e - circumflex":"e - \u6298\u97f3","e - diaeresis":"e - \u4e24\u70b9\u97f3","e - grave":"e - \u91cd\u97f3","e - macron":"e - \u957f\u97f3","element of":"\u5c5e\u4e8e","em dash":"\u957f\u7834\u6298\u53f7","en dash":"\u77ed\u7834\u6298\u53f7","epsilon":"epsilon (\u03b5)","eta":"eta (\u03b7)","eth":"eth (\xf0)","euro sign":"\u6b27\u5143\u7b26\u53f7","euro-currency sign":"\u6b27\u5143\u8d27\u5e01\u7b26\u53f7","example":"\u793a\u4f8b","final sigma":"final sigma (\u03c2)","for all":"\u5bf9\u4e8e\u6240\u6709","formatting":"\u683c\u5f0f\u5316","fraction one half":"\u4e8c\u5206\u4e4b\u4e00\u5206\u6570","fraction one quarter":"\u56db\u5206\u4e4b\u4e00\u5206\u6570","fraction slash":"\u5206\u6570\u659c\u6760","fraction three quarters":"\u56db\u5206\u4e4b\u4e09\u5206\u6570","french franc sign":"\u6cd5\u90ce\u7b26\u53f7","function / florin":"\u51fd\u6570 / \u5f17\u7f57\u6797","gamma":"gamma (\u03b3)","german penny symbol":"\u5fb7\u56fd\u4fbf\u58eb\u7b26\u53f7","greater-than or equal to":"\u5927\u4e8e\u6216\u7b49\u4e8e","greater-than sign":"\u5927\u4e8e\u53f7","guarani sign":"\u74dc\u62c9\u5c3c\u7b26\u53f7","history":"\u5386\u53f2","hryvnia sign":"\u683c\u91cc\u592b\u5c3c\u4e9a\u7b26\u53f7","i - acute":"i - \u9ad8\u97f3","i - circumflex":"i - \u6298\u97f3","i - diaeresis":"i - \u4e24\u70b9\u97f3","i - grave":"i - \u91cd\u97f3","i - macron":"i - \u957f\u97f3","identical to":"\u76f8\u540c\u4e8e","indentation":"\u7f29\u8fdb","indian rupee sign":"\u5370\u5ea6\u5362\u6bd4\u7b26\u53f7","infinity":"\u65e0\u7a77\u5927","integral":"\u79ef\u5206","intersection":"\u4ea4\u96c6","inverted exclamation mark":"\u5012\u611f\u53f9\u53f7","iota":"iota (\u03b9)","kappa":"kappa (\u03ba)","kip sign":"\u5409\u666e\u514b\u7b26\u53f7","lambda":"lambda (\u03bb)","left double quotation mark":"\u5de6\u53cc\u5f15\u53f7","left pointing guillemet":"\u5de6\u5c16\u62ec\u53f7","left single quotation mark":"\u5de6\u5355\u5f15\u53f7","less-than or equal to":"\u5c0f\u4e8e\u6216\u7b49\u4e8e","less-than sign":"\u5c0f\u4e8e\u53f7","ligature AE":"\u8fde\u5b57 AE","ligature OE":"\u8fde\u5b57OE","ligature ae":"\u8fde\u5b57ae","ligature oe":"\u8fde\u5b57oe","lira sign":"\u91cc\u62c9\u7b26\u53f7","livre tournois sign":"\u91cc\u5f17\u56fe\u74e6\u7b26\u53f7","logical and":"\u903b\u8f91\u4e0e","logical or":"\u903b\u8f91\u6216","lowercase":"\u5c0f\u5199","macron":"\u957f\u97f3\u7b26","manat sign":"\u9a6c\u7eb3\u7279\u7b26\u53f7","micro sign":"\u5fae\u7b26\u53f7","middle dot":"\u4e2d\u95f4\u70b9","mill sign":"\u6beb\u7b26\u53f7","minus sign":"\u51cf\u53f7","minutes / feet":"\u5206\u949f/\u82f1\u5c3a","mu":"mu (\u03bc)","multiplication sign":"\u4e58\u53f7","n - tilde":"n - \u989a\u97f3","n-ary product":"n\u5143\u79ef","n-ary sumation":"n \u5143\u6c42\u548c","naira sign":"\u5948\u62c9\u7b26\u53f7","new sheqel sign":"\u65b0\u8c22\u514b\u5c14\u7b26\u53f7","nordic mark sign":"\u5317\u6b27\u9a6c\u514b\u7b26\u53f7","not an element of":"\u4e0d\u5c5e\u4e8e","not equal to":"\u4e0d\u7b49\u4e8e","not sign":"\u975e\u7b26\u53f7","nu":"nu (\u03bd)","o - acute":"o - \u6298\u97f3","o - circumflex":"o - \u4e24\u70b9\u97f3","o - diaeresis":"o - \u4e24\u70b9\u97f3","o - grave":"o - \u9ad8\u97f3","o - tilde":"o - \u91cd\u97f3","o macron":"o - \u957f\u97f3","o slash":"o \u659c\u7ebf","omega":"omega (\u03c9)","omicron":"omicron (\u03bf)","overline":"\u4e0a\u5212\u7ebf","paragraph sign":"\u6bb5\u843d\u7b26\u53f7","partial differential":"\u504f\u5fae\u5206","per mille sign":"\u5343\u5206\u53f7","peseta sign":"\u6bd4\u585e\u5854\u7b26\u53f7","peso sign":"\u6bd4\u7d22\u7b26\u53f7","phi":"phi (\u03c6)","pi":"pi (\u03c0)","plus-minus sign":"\u6b63\u8d1f\u53f7","pound sign":"\u82f1\u9551\u7b26\u53f7","proportional to":"\u4e0e\u6bd4\u4f8b","psi":"psi (\u03c8)","registered sign":"\u6ce8\u518c\u5546\u6807\u7b26\u53f7","rho":"rho (\u03c1)","right double quotation mark":"\u53f3\u53cc\u5f15\u53f7","right pointing guillemet":"\u53f3\u5c16\u62ec\u53f7","right single quotation mark":"\u53f3\u5355\u5f15\u53f7","ruble sign":"\u5362\u5e03\u7b26\u53f7","rupee sign":"\u5362\u6bd4\u7b26\u53f7","s - caron":"s - \u8f66\u97f3","seconds / inches":"\u79d2/\u82f1\u5bf8","section sign":"\u7ae0\u8282\u7b26\u53f7","sharp s / ess-zed":"\xdf","sigma":"sigma (\u03c3)","similar to":"\u7c7b\u4f3c\u4e8e","single left-pointing angle quotation mark":"\u5355\u5de6\u5c16\u5f15\u53f7","single low-9 quotation mark":"\u5355\u4f4e-9 \u5f15\u53f7","single right-pointing angle quotation mark":"\u5355\u53f3\u5c16\u5f15\u53f7","small tilde":"\u5c0f\u6ce2\u5f62\u7b26","spesmilo sign":"\u65af\u4f69\u65af\u7c73\u6d1b\u7b26\u53f7","square root":"\u5e73\u65b9\u6839","styles":"\u6837\u5f0f","superscript one":"\u4e0a\u6807\u4e00","superscript three":"\u4e0a\u6807\u4e09","superscript two":"\u4e0a\u6807\u4e8c","tau":"tau (\u03c4)","tenge sign":"\u5766\u683c\u7b26\u53f7","there exists":"\u5b58\u5728","theta":"theta (\u03b8)","thorn":"thorn (\xfe)","three dot leader":"\u7701\u7565\u53f7","trade mark sign":"\u5546\u6807\u7b26\u53f7","tugrik sign":"\u56fe\u683c\u91cc\u514b\u7b26\u53f7","turkish lira sign":"\u571f\u8033\u5176\u91cc\u62c9\u7b26\u53f7","turned question mark":"\u7ffb\u8f6c\u95ee\u53f7","u - acute":"u - \u9ad8\u97f3","u - circumflex":"u - \u6298\u97f3","u - diaeresis":"u - \u4e24\u70b9\u97f3","u - grave":"u - \u91cd\u97f3","u - macron":"u - \u957f\u97f3","union":"\u5e76\u96c6","upsilon":"upsilon (\u03c5)","won sign":"\u97e9\u5143\u7b26\u53f7","xi":"xi (\u03be)","y - acute":"y - \u9ad8\u97f3","y - diaeresis":"y - \u4e24\u70b9\u97f3","y - macron":"y - \u957f\u97f3","yen character":"\u65e5\u5143\u5b57\u7b26","yen sign":"\u65e5\u5143\u7b26\u53f7","yen/yuan character variant one":"\u65e5\u5143/\u4eba\u6c11\u5e01\u5b57\u7b26\u53d8\u4f53\u4e00","yuan character":"\u4eba\u6c11\u5e01\u5b57\u7b26","yuan character, in hong kong and taiwan":"\u6e2f\u6f8e\u53f0\u5143\u5b57\u7b26","zeta":"zeta (\u03b6)","{0} characters":"{0}\u4e2a\u5b57\u7b26","{0} columns, {1} rows":"{0} \u5217\uff0c{1} \u884c","{0} words":"{0}\u5b57"}); \ No newline at end of file diff --git a/mining-pool/public/src/App.vue b/mining-pool/public/src/App.vue new file mode 100644 index 0000000..8df1832 --- /dev/null +++ b/mining-pool/public/src/App.vue @@ -0,0 +1,179 @@ + + + + diff --git a/mining-pool/public/src/api/APIkey.js b/mining-pool/public/src/api/APIkey.js new file mode 100644 index 0000000..1cd4dfa --- /dev/null +++ b/mining-pool/public/src/api/APIkey.js @@ -0,0 +1,47 @@ +import request from '../utils/request' + +//申请APIKEY +export function getApiKey(data) { + return request({ + url: `pool/user/getApiKey`, + method: 'post', + data + }) +} + +//获取API列表 +export function getApiList(data) { + return request({ + url: `pool/user/getApiList`, + method: 'post', + data + }) +} + + +//修改指定apikey绑定的IP地址/权限 +export function getUpdateAPI(data) { + return request({ + url: `pool/user/updateAPI`, + method: 'post', + data + }) +} + +//删除API +export function getDelApi(data) { + return request({ + url: `pool/user/delApi`, + method: 'delete', + data + }) +} + +//获取当前apiKey基本信息 +export function getApiInfo(data) { + return request({ + url: `pool/user/getApiInfo`, + method: 'post', + data + }) +} diff --git a/mining-pool/public/src/api/alerts.js b/mining-pool/public/src/api/alerts.js new file mode 100644 index 0000000..5dd18f5 --- /dev/null +++ b/mining-pool/public/src/api/alerts.js @@ -0,0 +1,48 @@ +import request from '../utils/request' + +//添加通知邮箱 +export function getAddNoticeEmail(data) { + return request({ + url: `pool/notice/addNoticeEmail`, + method: 'post', + data + }) +} + + +//发送添加通知邮件邮箱验证码 +export function getCode(data) { + return request({ + url: `pool/notice/getCode`, + method: 'post', + data + }) + } + + +//获取当前挖矿账户通知邮箱列表 +export function getList(data) { + return request({ + url: `pool/notice/getList`, + method: 'post', + data + }) + } + + //修改通知邮箱备注 +export function getUpdateInfo(data) { + return request({ + url: `pool/notice/updateInfo`, + method: 'post', + data + }) + } + + //删除通知邮箱 +export function deleteEmail(data) { + return request({ + url: `pool/notice/deleteEmail`, + method: 'delete', + data + }) + } \ No newline at end of file diff --git a/mining-pool/public/src/api/auth.ts b/mining-pool/public/src/api/auth.ts new file mode 100644 index 0000000..8ac1922 --- /dev/null +++ b/mining-pool/public/src/api/auth.ts @@ -0,0 +1,15 @@ +import request from '@/utils/request' + +interface LoginParams { + username: string + password: string + remember: boolean +} + +export const login = (data: LoginParams) => { + return request({ + url: '/api/login', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/mining-pool/public/src/api/broadcast.js b/mining-pool/public/src/api/broadcast.js new file mode 100644 index 0000000..cae81ee --- /dev/null +++ b/mining-pool/public/src/api/broadcast.js @@ -0,0 +1,54 @@ +import request from '../utils/request' + +//用于获取m2pool广播数据 主页循环播放 +export function getBroadcast(data) { + return request({ + url: `manage/broadcast/find/data/by/id`, + method: 'post', + data + }) +} +//新增广播 +export function getAddBroadcast(data) { + return request({ + url: `manage/broadcast/add`, + method: 'post', + data + }) + } + + //删除广播 +export function DeleteBroadcast(data) { + return request({ + url: `manage/broadcast/delete`, + method: 'post', + data + }) + } + + //分页查询所有广播信息 +export function listBroadcast(data) { + return request({ + url: `manage/broadcast/get/list/by/page`, + method: 'post', + data + }) + } + + //修改广播内容 +export function updateBroadcast(data) { + return request({ + url: `manage/broadcast/update`, + method: 'post', + data + }) + } + +//修改查看通知详情 +export function dataInfo(data) { + return request({ + url: `manage/broadcast/find/data/info`, + method: 'post', + data + }) +} \ No newline at end of file diff --git a/mining-pool/public/src/api/customerService.js b/mining-pool/public/src/api/customerService.js new file mode 100644 index 0000000..6558277 --- /dev/null +++ b/mining-pool/public/src/api/customerService.js @@ -0,0 +1,78 @@ +import request from '../utils/request' + +//历史聊天记录查询 用户查询七天前的聊天信息 +export function getHistory(data) { + return request({ + url: `chat/message/find/history/message`, + method: 'post', + data + }) + } + + //历史聊天记录查询 查询七天内记录 +export function getHistory7(data) { + return request({ + url: `chat/message/find/recently/message`, + method: 'post', + data + }) + } + + //用户点击对话框默认已读 +export function getReadMessage(data) { + return request({ + url: `chat/message/read/message`, + method: 'post', + data + + }) + } + + //聊天列表 +export function getRoomList(data) { + return request({ + url: `/chat/rooms/find/room/list`, + method: 'post', + data + }) + } + + + //重要聊天标记 +export function getUpdateRoom(data) { + return request({ + url: `/chat/rooms/update/room`, + method: 'post', + data + }) + } + +//图片上传接口 +// export function getFileUpdate(data) { +// return request({ +// url: `file/update`, +// method: 'post', +// data +// }) +// } + + +//图根据当前用户邮箱查询聊天室id +export function getUserid(data) { + return request({ + url: `chat/rooms/find/room/by/userid`, + method: 'post', + data + }) + } + + +//上传图片 +export function getFileUpdate(data) { + return request({ + url: `pool/ticket/uploadFile`, + method: 'post', + data + }) +} + diff --git a/mining-pool/public/src/api/documentManagement.js b/mining-pool/public/src/api/documentManagement.js new file mode 100644 index 0000000..2a91a03 --- /dev/null +++ b/mining-pool/public/src/api/documentManagement.js @@ -0,0 +1,59 @@ +import request from '../utils/request' + +//查询文档列表 及根据关键搜素接口 +export function getListDataByPage(data) { + return request({ + url: `manage/documents/getListDataByPage`, + method: 'post', + data + }) +} + +//新增文档 +export function addDocument(data) { + return request({ + url: `manage/documents/addDocument`, + method: 'post', + data + }) + } + + + //删除文档 +export function deleteDocument(data) { + return request({ + url: `manage/documents/deleteDocument`, + method: 'post', + data + }) + } + +//业务系统获取文档列表 +export function documentsList(data) { + return request({ + url: `manage/documents/findCatalogueDocumentList`, + method: 'post', + data + }) + } + + + //文档详情 +export function findDataInfo(data) { + return request({ + url: `manage/documents/findDataInfo`, + method: 'post', + data + }) + } + + //修改文档 +export function updateDocument(data) { + return request({ + url: `manage/documents/updateDocument`, + method: 'post', + data + }) + } + + diff --git a/mining-pool/public/src/api/home.js b/mining-pool/public/src/api/home.js new file mode 100644 index 0000000..cc61444 --- /dev/null +++ b/mining-pool/public/src/api/home.js @@ -0,0 +1,64 @@ +import request from '../utils/request' + +//获取当前币种信息 +export function getCoinInfo(data) { + return request({ + url: `pool/getCoinInfo`, + method: 'post', + data + }) + } + + //获取币种算力(曲线图) +export function getPoolPower(data) { + return request({ + url: `pool/getPoolPower`, + method: 'post', + data + }) + } + +//获取币种矿工数量(曲线图) +export function getMinerCount(data) { + return request({ + url: `pool/getMinerCount`, + method: 'post', + data + }) + } + +//获取当前幸运值 +export function getLuck(data) { + return request({ + url: `pool/getLuck`, + method: 'post', + data + }) + } + +//获取币种报块信息 +export function getBlockInfo(data) { + return request({ + url: `pool/getBlockInfo`, + method: 'post', + data + }) + } + + //获取全网算力 +export function getNetPower(data) { + return request({ + url: `pool/getNetPower`, + method: 'post', + data + }) +} + + //计算器数据 + export function getParam(data) { + return request({ + url: `pool/getParam`, + method: 'post', + data + }) + } \ No newline at end of file diff --git a/mining-pool/public/src/api/login.js b/mining-pool/public/src/api/login.js new file mode 100644 index 0000000..73e7d43 --- /dev/null +++ b/mining-pool/public/src/api/login.js @@ -0,0 +1,86 @@ +import request from '../utils/request' + +//登录 +export function getLogin(data) { + return request({ + url: `auth/login`, + method: 'post', + data + }) + } + + //注册 +export function getRegister(data) { + return request({ + url: `auth/register`, + method: 'post', + data + }) +} + + //注册验证码 + export function getRegisterCode(data) { + return request({ + url: `auth/registerCode`, + method: 'post', + data + }) +} + + //登录验证码获取 + export function getLoginCode(data) { + return request({ + url: `auth/loginCode`, + method: 'post', + data + }) +} + + + //退出 + export function getLogout(data) { + return request({ + url: `auth/logout`, + method: 'Delete', + data + }) +} + + + //获取用户当前币种下账号 分级 + export function getAccountGradeList(data) { + return request({ + url: `pool/user/getAccountGradeList`, + method: 'post', + data + }) +} + +//修改密码 +export function getResetPwd(data) { + return request({ + url: `auth/resetPwd`, + method: 'post', + data + }) +} + + +//修改密码验证码获取 +export function getResetPwdCode(data) { + return request({ + url: `auth/resetPwdCode`, + method: 'post', + data + }) +} + + +//获取用户权限 +export function getUserProfile() { + return request({ + url: `system/user/profile`, + method: 'get', + + }) +} \ No newline at end of file diff --git a/mining-pool/public/src/api/miningAccount.js b/mining-pool/public/src/api/miningAccount.js new file mode 100644 index 0000000..5110eb6 --- /dev/null +++ b/mining-pool/public/src/api/miningAccount.js @@ -0,0 +1,63 @@ +import request from '../utils/request' + +//获取当前挖矿账号算力图 +export function getMinerAccountPower(data) { + return request({ + url: `pool/getMinerAccountPower`, + method: 'post', + data + }) + } + + //获取当前挖矿账号信息(包含收益、余额) +export function getMinerAccountInfo(data) { + return request({ + url: `pool/getMinerAccountInfo`, + method: 'post', + data + }) + } + +//获取当前挖矿账号下的矿工总览表 +export function getMinerList(data) { + return request({ + url: `pool/getMinerList`, + method: 'post', + data + }) + } + +//获取矿工算力(曲线图) +export function getMinerPower(data) { + return request({ + url: `pool/getMinerPower`, + method: 'post', + data + }) + } + +//获取收益历史记录 +export function getHistoryIncome(data) { + return request({ + url: `pool/getHistoryIncome`, + method: 'post', + data + }) + } +//获取提现历史记录 +export function getHistoryOutcome(data) { + return request({ + url: `pool/getHistoryOutcome`, + method: 'post', + data + }) + } + + //获取当前挖矿账号算力分布图(柱状图) +export function getAccountPowerDistribution(data) { + return request({ + url: `pool/getAccountPowerDistribution`, + method: 'post', + data + }) +} \ No newline at end of file diff --git a/mining-pool/public/src/api/personalCenter.js b/mining-pool/public/src/api/personalCenter.js new file mode 100644 index 0000000..e506017 --- /dev/null +++ b/mining-pool/public/src/api/personalCenter.js @@ -0,0 +1,167 @@ +import request from '../utils/request' + + +//指定挖矿账号添加钱包 绑定钱包地址 +export function getAddBalace(data) { + return request({ + url: `pool/user/addBalance`, + method: 'post', + data + }) + } + +// 添加 绑定挖矿账号 +export function getAddMinerAccount(data) { + return request({ + url: `pool/user/addMinerAccount`, + method: 'post', + data + }) +} +// 解绑(删除)挖矿账号 +export function getDelMinerAccount(data) { + return request({ + url: `pool/user/delMinerAccount`, + method: 'Delete', + data + }) +} + +// 获取用户当前币种下账号 +export function getAccountList(data) { + return request({ + url: `pool/user/getAccountList`, + method: 'post', + data + }) +} + +// 获取付款设置相关内容 获取当前矿工账号绑定钱包地址 +export function getMinerAccountBalance(data) { + return request({ + url: `pool/user/getMinerAccountBalance`, + method: 'post', + data + }) +} + + +// 判断挖矿账户名是否存在 +export function getCheckAccount(data) { + return request({ + url: `pool/user/checkAccount`, + method: 'post', + data + }) +} + +// 校验钱包地址是否有效 +export function getCheckBalance(data) { + return request({ + url: `pool/user/checkBalance`, + method: 'post', + data + }) +} + +// 校验账号和钱包地址 +export function getCheck(data) { + return request({ + url: `pool/user/check`, + method: 'post', + data + }) +} + +// 判断是否绑定 开启验证 +export function getIfBind(data) { + return request({ + url: `pool/user/ifBind`, + method: 'post', + data + }) +} +//绑定 获取二维码和安全码 +export function getBindInfo(data) { + return request({ + url: `pool/user/getBindInfo`, + method: 'post', + data + }) +} + +//绑定谷歌验证器 +export function getBindGoogle(data) { + return request({ + url: `pool/user/bindGoogle`, + method: 'post', + data + }) +} + +//绑定谷歌 邮箱验证码 +export function getBindCode(data) { + return request({ + url: `pool/user/getBindCode`, + method: 'post', + data + }) +} + +//关闭双重验证 邮箱验证码 +export function getCloseCode(data) { + return request({ + url: `pool/user/getCloseCode`, + method: 'post', + data + }) +} + +//关闭谷歌验证 +export function getCloseStepTwo(data) { + return request({ + url: `pool/user/closeStepTwo`, + method: 'post', + data + }) +} + +//邮箱查询是否绑定双重验证 +export function getEmailIfBind(data) { + return request({ + url: `pool/user/emailIfBind`, + method: 'post', + data + }) +} + + +//个人中心修改密码 +export function getUpdatePwd(data) { + return request({ + url: `auth/updatePwd`, + method: 'post', + data + }) +} + +//个人中心修改密码 验证码 +export function getUpdatePwdCode(data) { + return request({ + url: `auth/updatePwdCode`, + method: 'post', + data + }) +} + + + + + + + + + + + + diff --git a/mining-pool/public/src/api/readOnlyDisplay.js b/mining-pool/public/src/api/readOnlyDisplay.js new file mode 100644 index 0000000..ff6f82f --- /dev/null +++ b/mining-pool/public/src/api/readOnlyDisplay.js @@ -0,0 +1,121 @@ +import request from '../utils/request' + + +//生成只读页面链接 +export function getHtmlUrl(data) { + return request({ + url: `pool/read/getHtmlUrl`, + method: 'post', + data + }) +} + +//获取只读页面list +export function getUrlList(data) { + return request({ + url: `pool/read/getUrlList`, + method: 'post', + data + }) +} + + +//获取当前只读页面基础信息(仅包含页面权限,用户信息根据key) +export function getPageInfo(data) { + return request({ + url: `pool/read/getPageInfo`, + method: 'post', + data + }) +} + +//只读页面获取收益信息 +export function getProfitInfo(data) { + return request({ + url: `pool/read/getProfitInfo`, + method: 'post', + data + }) +} + +//只读页面挖矿账号算力(曲线图) +export function getMinerAccountPower(data) { + return request({ + url: `pool/read/getMinerAccountPower`, + method: 'post', + data + }) +} + + +//只读页面挖矿账号算力分布图(柱状图) +export function getAccountPowerDistribution(data) { + return request({ + url: `pool/read/getAccountPowerDistribution`, + method: 'post', + data + }) +} + +//只读页面 矿工总览表 +export function getMinerList(data) { + return request({ + url: `pool/read/getMinerList`, + method: 'post', + data + }) +} + +//只读页面 获取收益历史记录 +export function getHistoryIncome(data) { + return request({ + url: `pool/read/getHistoryIncome`, + method: 'post', + data + }) +} + +//只读页面 获取提现历史记录 +export function getHistoryOutcome(data) { + return request({ + url: `pool/read/getHistoryOutcome`, + method: 'post', + data + }) +} + +//只读页面 小折线图 +export function getMinerPower(data) { + return request({ + url: `pool/read/getMinerPower`, + method: 'post', + data + }) +} + +//创建只读页面 弹窗信息 +export function getUrlInfo(data) { + return request({ + url: `pool/read/getUrlInfo`, + method: 'post', + data + }) +} + +//创建只读页面 修改信息 +export function getChangeUrlInfo(data) { + return request({ + url: `pool/read/changeUrlInfo`, + method: 'post', + data + }) +} + +//删除只读信息 +export function getDelPage(data) { + return request({ + url: `pool/read/delPage`, + method: 'delete', + data + }) +} \ No newline at end of file diff --git a/mining-pool/public/src/api/staticDocumentManagement.js b/mining-pool/public/src/api/staticDocumentManagement.js new file mode 100644 index 0000000..17ccb94 --- /dev/null +++ b/mining-pool/public/src/api/staticDocumentManagement.js @@ -0,0 +1,33 @@ +import request from '../utils/request' + + +//新增文档页面 +export function addDocument(data) { + return request({ + url: `manage/documents/addDocument`, + method: 'post', + data + }) +} + + +//业务系统获取对应文档列表 +export function documentsList(data) { + return request({ + url: `manage/documents/findCatalogueDocumentList`, + method: 'post', + data + }) +} + + +//从列表获取文档详情 +export function findDataInfo(data) { + return request({ + url: `manage/documents/findDataInfo`, + method: 'post', + data + }) +} + + diff --git a/mining-pool/public/src/api/userManagement.js b/mining-pool/public/src/api/userManagement.js new file mode 100644 index 0000000..a553748 --- /dev/null +++ b/mining-pool/public/src/api/userManagement.js @@ -0,0 +1,50 @@ +import request from '../utils/request' + +//根据条件 查询注册用户列表 +export function getUserList(data) { + return request({ + url: `manage/user/list/info`, + method: 'post', + data + }) +} + + +//发送邮件给用户 +export function sendMail(data) { + return request({ + url: `manage/user/send/text/mail/message`, + method: 'post', + data + }) + } + + +//获取单个用户详情 +export function getUserDetails(data) { + return request({ + url: `manage/user/get/user/info`, + method: 'post', + data + }) + } + + +//用户详情曲线图 +export function getUserLineChart(data) { + return request({ + url: `manage/user/getMiningPowerInfo`, + method: 'post', + data + }) +} + + +//用户离线柱状图 +export function getUserOnlineStatus(data) { + return request({ + url: `manage/user/getMinerUserOnlineStatus`, + method: 'post', + data + }) +} \ No newline at end of file diff --git a/mining-pool/public/src/api/work.js b/mining-pool/public/src/api/work.js new file mode 100644 index 0000000..2663052 --- /dev/null +++ b/mining-pool/public/src/api/work.js @@ -0,0 +1,105 @@ +import request from '../utils/request' + +//提交工单 +export function getSubmitTicket(data) { + return request({ + url: `pool/ticket/submitTicket`, + method: 'post', + data + }) + } + + //工单继续提交 +export function getResubmitTicket(data) { + return request({ + url: `pool/ticket/resubmitTicket`, + method: 'post', + data + }) + } + + + //已回复工单更改状态 +export function getReadTicket(data) { + return request({ + url: `pool/ticket/readTicket`, + method: 'post', + data + }) + } + + + //个人工单列表 +export function getPrivateTicket(data) { + return request({ + url: `pool/ticket/getPrivateTicket`, + method: 'post', + data + }) + } + + + //工单详情 +export function getTicketDetails(data) { + return request({ + url: `pool/ticket/getTicketDetails`, + method: 'post', + data + }) + } + + + //结束工单 +export function getEndTicket(data) { + return request({ + url: `pool/ticket/endTicket`, + method: 'post', + data + }) + } + + + //文件下载 +export function getDownloadFile() { + return request({ + url: `pool/ticket/downloadFile`, + method: 'get', + + }) + } + + + //后台 查看工单详情 +export function getDetails(data) { + return request({ + url: `pool/ticket/bk/details`, + method: 'post', + data + }) + } +//后台 回复工单 +export function getReply(data) { + return request({ + url: `pool/ticket/bk/respon`, + method: 'post', + data + }) + } + //后台工单列表 +export function getTicketList(data) { + return request({ + url: `pool/ticket/bk/list`, + method: 'post', + data + }) + } + + //后台 关闭指定工单 +export function getBKendTicket(data) { + return request({ + url: `pool/ticket/bk/endTicket`, + method: 'post', + data + }) + } + \ No newline at end of file diff --git a/mining-pool/public/src/assets/404_images/404.png b/mining-pool/public/src/assets/404_images/404.png new file mode 100644 index 0000000..3d8e230 Binary files /dev/null and b/mining-pool/public/src/assets/404_images/404.png differ diff --git a/mining-pool/public/src/assets/404_images/404_cloud.png b/mining-pool/public/src/assets/404_images/404_cloud.png new file mode 100644 index 0000000..c6281d0 Binary files /dev/null and b/mining-pool/public/src/assets/404_images/404_cloud.png differ diff --git a/mining-pool/public/src/assets/404_images/notOpen.png b/mining-pool/public/src/assets/404_images/notOpen.png new file mode 100644 index 0000000..68d7f83 Binary files /dev/null and b/mining-pool/public/src/assets/404_images/notOpen.png differ diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.css b/mining-pool/public/src/assets/icons/iconfont/iconfont.css new file mode 100644 index 0000000..9221baf --- /dev/null +++ b/mining-pool/public/src/assets/icons/iconfont/iconfont.css @@ -0,0 +1,210 @@ +@font-face { + font-family: "iconfont"; /* Project id 4582735 */ + src: url('iconfont.eot?t=1736415197719'); /* IE9 */ + src: url('iconfont.eot?t=1736415197719#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAB84AAsAAAAANsAAAB7oAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACKIgrTQMRNATYCJAOBRAtkAAQgBYRnB4RfGyYuM6PCxgEgIH0VRFEmKGn2f0qgY+xQ7mCSEVtlq9SoKuwv1Cnr08zEkkel3w43Ornq0AgWLycGMvPaIYUUfpot7oMWyRHZsMxQyoTnebve82beQOvZv/tBBXIFllCtKpWKKq1QEUWZDrqJK2GH57fZg6/wUSqUaMFowEAMaKNBrCKMzblSV6LuJq5Sl6Fr127T5ZW7qRdeuV2li3YBAXC5+xVRhGVj4h40QSNNOGxzvAOgzdHV1xs2Z65EvEkL7F61zf/dB97r9nr44sOUYUFC66vuuvYdEKOQI8YXnrfdbu8L1SUUZT7EhnKazQTau5GhYEnZ3ZYTXgIQJAsYWGQfzLS/mTsWGAIF25HlZIEDvAjS6ODVAgj4P51lK3mPq7uES717Ck64qKFO1/0ZybeeGRnG9oHWR1rWshwyBO7YAcCKoKgk+0BalA7loDcIVd7VeenTp8WmTN2maOtoW6Ix/RY0d03dTWHs/7HZPq7K4zmmjYgxxSisi3o/KODrNZmRec/V4OewWmLS7k9UMG+q5nrUAe8KNGON4mZs3lmTX9eDBMYeOQocJb+8+tMfuGCwIu7HtXSY7RsRvoztgAcznxxMbgc4sAEsYIJOwYrGg92nTpg67STcp/38dXASYKEU3sKXw5eUxcDGFUAqTIQUWcwcmjRbqMe/9BuTp/L1XWb5DXSjoZ68d7dg6775bz77P76AIJ5EQkvF10Lyv+N+e2WhYqXK1aWV12z1/4QH6NKjTk4sI6tDitamm8lmSEiqVqFVjUaVfOWKIkqvBnn1OtWqEipoEmjWoozD4mnnSkOlgBuHAKOkjPVCwAhdEIXQAzEQ6iAmQg6iEWKIhZCB2AhZiIPQAfEQUhAfQUMSCG2QJEI3JItgQsoYyRqVgGBAqhnRjUZggNEEDJbRAggVkC6EVkgPQg1kCkMxpgIjDWMxIPiQlQjlkO0IRcgOhAiyC0FB9mvVahwBhAbICYQ85AZCPeQ+QifkKUIt5CtCFd4tQgjxbgVCAe/OIDTh3UWEAO9uIzTj3WOEFrx3EcrwYYHAIcZRQLDwcbHAA+MXILTjc9HENWLqUEcaQB/MsAngmugO6SO4n6F2Z9RU12oWw9RMjbhkpWPZI4ps6QwAd7m5BkIjUQimNuI+k4euuGG6KrtOxcRRkCrGaeU1N9l2KhXHjZ5r65bemq0xjqOoUlcVdFRUYfjmbmayOe37nuv4Tmo0D6etWX66GBdSOuevVjRFixK2pIrpnCrGzdGaXRROtN04VlF7nF0PhaqpiiMn8oLQ1rDQc82dscXzorfArrJcvtAZhWEi4QX5phD9uGYvcTl9gFhGtu0GthWGg555GbckjhBVjBj0gKea47onDWzyVRjob5Zcn5KWA41o9RQaZV0bPQVy7fXklMQ1rgdC+wcy1Ve8nYpm0QwWVdMUmKzbJEfP3Q8g4Zx6HsD+rEx5TDSAOMhX3/9As9/N8jzlOTXPCpDowcQJAZL2FhrXTEGU7wvMfZrJ7J8UP0nG3rBXI3j4JX09egK/pe/JB/buSoRyDotJ8CEQosz3QRH2vJNR9uI2hJ8AV1v+7qUIveO0gk/Jref1AssDgJ39xXW4EJJC/JV4k8eKICkKXCyM8MbUqeJiP2SI/TVr9Mej4LtDTKdxSPpYD8CKgh0FZTaAuNSJm9ihklZiAiqO5IVoLkXSnSILgjS85VIrLdtMPA2wWFJaCccSzaxQUGepDeGvQWAMExdRb3zMB5p1tVS4gj5uUrRzIdrbPmGX3cmyYkOy9YFab2RoTtqZ6ugTwqyn7QAVif0oHPurmOyHdPMaszNC1QqQwEe8CyBIvu6okwsyTKchGaT9AJEgqKxafKPaiFU7XcoxlEsK7JJQEoGoNAqKQiBcfLIo7EvYoBYyB1EolFdRckAQmIkNhOpBwOJawVnpezUCjgRZVixhM8yGwtg2MwGoNey1M68VD7OBILT/SAcVa2gaNazU9KE2mBbanZHH5QHwxa/k+brbgUcv/g4tiGFouFroHSrCcZhaRG4RoxrHGo0wlZqtTAmxqQj151ps4tJYY3OztNXUaOA8k1uaTFYg0sef/+6zuNjUYt/Pt8UaOb2cO1Jzo3HHbZdbIvcX7scPNiaNaH15IaqEPNJDNtn1KSDGcTLLOtMklaOZxCk9UramENXCaC/FIhwHlXIkjnB3D+u7Dsl7+lYJQHJ5D3XP67ymLwPAn//U0pRndQVS29xSqGOf6kYHn2t2yRCracrjo8rI5NxUWo5LQlMUok9vgBJ885kQlpWRi+GS0L7GKAMhSIau7MpgGOB+LVeka1rxCI2VSK/c0tjUNM13a1sdWrtdMYXFulYb1r4oe/ew36IIfc8yP5wIEakUx131DpTgt1epo9C8FXd5B3HRbkTLX29H+Su875W9WTEGCR+Pyj0P4GUjm3rlzArAoiiYJrNlQbIgCdos3qyPxSi2bEN4cbdizaMjxp638jHncQTJco6oMgwAog4oahacplQ83UEyZYwt6wYg1ICQbsXXYogNABwzYnE6DHA8JHAGnMBdXu5gbe1TjDuSZt1x2kTVvCuwF3W63S5Zd658Qq3czWQLnzITlGDjZLQ4Eo30nh3GOQZo60ZD5xlEiSAwd1bR7wpBPs5yV75R9Lfdqe7dl3ueEm6rCcU6Eujya14xM6jU87DvsyAgnDdxWx7l/PJ+ttGXw3jkFXszRkZff7ls7rylixcuXzB/xaJToFfxUCdaL0AZNW8PvSgx89nAzWvNjf6n6GKmv0yi5SiW8EJlvAy0ctFTJxe8uT04if15PWxB33DPGvqg1y9cczzKaz3vmwCbBRiv1t1U9102VvTQzr4p12ePwUnd87xtcgTTTME1obsnCfNSwqnRVCK2OxnDcECZkUxWFGFTvOMhyu+XvydZXE8X+u5/slWdhTSRUm6llZKs8VbObU+n5Y6vO4K6wtCLJwJ71NMjdvtftn1pmsmGAWljV9cc4iEsowbASUFg/byAFM1ENOFqci5Vm+udDe9+mRzdzXbJtXgSCsBDD+CRZ7NAT8QvIq3z94u7Byqys4DLZGkI77+5DdNaziWFqoZEOcz2gOTe4Wz3bXLjsVDDl1PPuzDggzG9u9w0sydYwiMlgoT/1IrnJe5oeMk3W6lprKnY4y+ws6JoJi5dr4XFqHUrc7NzCNHyO9UOXtY9z+wspKRBTmRoz+kUBFZxN+DBAfYWGgnRFJ9terWsFd4SkmCHnXZzMfmuVp+pd9mcYEMg9yxoDVwZiNPKJEkkF2+zAtFq2YCTZRahJnqcqdkKU8yOzP411YpDazWXzzMBVbbcWRWoVMmUlxvOobdbVM2FCr3OCHalylwlV+3OrJk0YopBZVmkbGuQqB6iOy0i//+vDSaO/ada8LuAIq+XIV2eepazD2NyH353jLH5X3h3ljyjvp/pfQ4PhfoyhQcFoW/BfieE2Qcnf1+I5DuXKHsRfQ8h+SAI7B0A+K1GnQfON9njfbEeSSiR1iXqnYbNFnHfV00n40q/NPgC3+BEJmel5CDQ3VtwzrdOs2ySypAkCFh6xSHJxZEwaC4FMy1QaCdAye5xwt7w6JBRp2BsHvAEGyKjdBgPnMLvSiOCSp/fIrdfsGc38Y2nGu3HA/6PYPC439XYy4+MnK3mu+t7NcjnP59f9C4jXfquwqsmv65HFf15z2oGzkdjHNC1JaoSor3X2mGxri7UlGWIOGbOwrhpAVuwqM7vx6zS2sWNDh0ldS2LXT4W1Kh5PIyOBUNYU+wtNVCESpzrgVqvAkwh9JRtS73W2z1FYBghX40G+vAchWvSVoO6RN7RyxXVFJOt5WPPQKZ3/IFFEclqY4NZdSLZ2vUAXc4I6Zzw/783/O9v9cOTlRXiDA7azILg+9DPvn9IBL0mP+HQfCzuzdwc/8PB8f3eN9Ff+OJEv/7KV8UIDIItdhbIxlsRW36yyjStvHGeTUTvj3a/vrHebNDm4rnRMVOsqQu2qEqNKYKcpq19sTfP6nYsLKx0x3idVGvWvfKXSq48I21P/LKtZkE/WbfYgnvGoBdi39fHZYFyS3JrXBF+1eIOOAZhut29pwAET7xX0nqDpksxi1wb7HXcIOXecwAgXeMYPVr0QX/XI50ZIuyc05avUChtYlyNTBhVx3qqBJAcMwywHNtZX8+CwUSqnHZnkelIIcOVi62CGLbz0y3eDCtGbHEwOC+G5FnqQkuyYCetx9ga7TX3PGX1qRF15S+T97dNWnvtOzVfE8DDHX/Alu0JixLVkT3161+v+mniQX2RsnhxksLzIHBBp6BauYyTSIpJdp00iOyREBUL0dhkSN4zjgGwEFkzCXmfw3Z8yhKTYhXcrBPq2fsTbEhcpcnI1mXOwf999fhfG0cqRzzJcI+/AvCeY+BD+alx//rst26+cWrLt0DgjvPu3z7717jyU8BPOtEAl2e/Q4Dkl/8Xpsc3ScAcSVq8c+pVFrccMQjq0A2dSf0USv8FnyMGdYjBHch//rE7WhgERsvCFt1vKN+W9+9sHQUflo/GpkdKA9QaSZZaIlFLI+PSrs13HiDbMV47bIqW1l9EqUFRkXl5kdWaPiIvKlhk+qW1DNvbEVIb6lj4fZkf9lRIRVCpSZEaeyIt1qgo2HkT7RM8xCviFsSmREKIrtAA7VwL3yRIs/o8oE37lApyBJnzHca3AvQczRy0RhuN1kntWepRgvj1cEdUTkREbuRxEVNNSmGKOyJzlVRkwmp/Tb2Sgx3hvCG8ob2aasqKV9Kapl7RCJwR7C81m2hTNG+cJL6AD+Fz07gG7uzZHAMvbb/AUJ4Gbhr3QCrXyJ01m7uh+w8pQwf4pHJzs7tmqxuTkhtTmrwEBgKFd9NhdVKjGkSToINN6o5agg7v2+2zXkGmRwVQFD4bfFbgdYSyaNpo0I9BU0H3QDJ526PgB9Pb1cWSwugsqSYgJSWgfH+i+NWT7Mk1Y9HmqChzNBqWdifWb38Q8iCCiMJIWb07HgRPhUx/9Z2js3Q2nnqPtpWBQSEizZaoaNpU8BQtvi44JyekDhxnZURqUw9sTbMRB8W28IwIi98WcH/PXr+wpYP3K9feF96PKRXnloZx95ius0nrpEHmx3px4KnoLMpdeBXOLbm5Mq4sJqYsrvIXgXNlMfud/3KI1aun59ADnj85DlY6wM+fEwTTmmlBTkhwampwAYEzhHBti539FITS2z0VOKQ6wVfBLgAO4MudsVgKBgaC2z/RAfD3lO+P9FFfAa+fP83v5z3Cb+dLfafoU75SoQsWPhKiXcJpoQstJOh5umKk7YLfR+xj/Bjfe3ylGCEcZMfAlSLgN0gb4fXzQh6Qhy5w5ZG3xWvkdO8Rr0N6fWbGCZlCXDrvCo/LSHclfXFAHy/gETRXxZXFxpbFVf0iMNSTV8X94hpDU5h2a83mrKMCv7I5yho9qnQOGQSPkmxx8RbyENkSH2ePxhTExdnIn5Ms8fEW0igIaUcg3EwS0w2BAM+EP0YlgV8vUH/vPHB9a7mpuFAwfOn0If4K8lU/Pzrjc2Gd4HN2QiAY4neTjovEAv5VoZMEYnO3AU/PJjN7PvtsPo7EJOHmN7uHSWb1eAUtoOvR0DSRY774yTXspa2zxVL2mkmgb/7x+5Eulxqhy3TwtaAHiuhHIY/yD+GDoC+4EUA57sqnF9hCbQV0IdCBE9aFjEehjxgL6Z5Qzz/X+9yXz7BcxMIQEnSENdNh07Ufwj4AXOMpAlcAd31rqywOkohMvduymJZYisNXASpcbW0gShgFDhwkRhGz8/1//WlftnYARD0d545zuDWcsBvc/dwboZwaLnucS6uZJk3rNtdw3Bz6NJ3T6geFf11bOaHToRz3aCGW5D8lxHcE5HO37ESlaLUWsmVujJcXynsl/huijPDmNUmoIAtevqyCNz579vQZFfWNV3B4v5gk+kZEEpODgZ8EN4VAtFMEhKuDcbVMUgt5J7mFdHNV0Xp4DDNEuop5Yl8lDYHYSDTI5Bk42tkOvf94+qxUo6FlocHoY2wx6BU1rSz9Z4P/LAdXyzOALG9vpg/C5z39PbiwUCmR8wsLmyOWAgw1mIJiY+jeTG9vpTpGXlIcU5VbTNgstCqnMiKIihrJv7vwRITeVhWpfzj/bj6lj/IHNiSow4eGCx5CndDDghEw3J6SQm47VroUz3Er3Rz80tJjgA+5nBXSEsnq1ZISacWYwFCvXiKpkI5R3FFdZxbWKqvi4qqUtf8R+MpVcbXK/1zeBbaxV0PiS1uaj4rpGpjyfQOdSaPec/cLL/0LwGjOEh9ULxpC96JIOA/vn1//6Raje1C3siRaiVodoJHuFjCERC3RZt1C9TB5XoMG3YKF+tUATDWsSF4PE+GYhCEdst5ogDyW1i2alxZwoXTDfJ1uQU/K3KoojX+K9Nc91QJFnkGiC7B2orP3V3He83OmCQ/9rHojK2pu8jxN4n7zdfpkuVUmszplhdZop8An4ZRZrTLwQl4YHV3ojLYWypysTyRZuC9YH7xfv5+pZ+7b40pKdN05vz4za/15oFu78j5expHhf9Xi318ZI/ktK2A3W22nss+wxPYo9m5WtE3MOt0wYsfuZrt/YBxiN6f7NEgYb29VOZQ1tUq76qnA/sqaBEdrmShfmONanMvL5B5FrDxe+2Jhjji/zFEWKyvZpssWXpSXxsnDrFmy0gb4MuTH31WaA3MDlQZ7dWEG4zMTKzuV83karTb3ZnyWJaQwzAbAVITLKS2XlKxZUyIpl44BAIUb/KHLxyi9Hn2xIyNWrcrxMmtS7ZM7VC9drug7SWJreEx0QUF0o8ARY8Kt4qRMQfmaAjyJTcKrVHa7qtW+4ip7y4LyNSMJoo1BhqCNBu0/BLwnUYO2fjwxZ90SmDczNIeVwQmdUYbAFbrnJd4iTqZXPioH1vj8bT7ik4dRx68z3vtxmFnqdDPxfpfxC1+XNlXuiyftb/j9MspWSU/LUP1KoTO4jX8knNjLzpq7LXDz9IrtVUQ94QSsPf853EU0k14QLMS1mJ0k7CaMDWYQabD3BdhN7ICrGT/2FTDYY/tIgB+PW1q6uZ1LsLB/+oJyFgr1l/iH3lGrZVJy2qJV4o8ut4SE4EgFeCpasXiAEodbw8ghRQ3emRH6nFpwbFvkpRVmxdPfur7zZaFyVYuciTal0pbofJ7o4LAtwal6rsrahASbyvFc5YR/rdKZiD6Q2VCqKJTJixQlk9guLyyU7y7flCiK5LLCmJJJbJcVFcngAvboleb8DRvyjwKcPapXBUY/UTgS8KIONyU8LCszrIxAGt4B37UIr5TZxpwiY74ul+qkNZrG84y5Oie1gTZhNJr1Oe4QYgfH2t752/my7PCM0NCM8OzLBOYyQvc7v3z4cYtm5i1HLL9Y+mf3RWJbOWg7fKgB0dgIjgY9ESwJVEwL/z5S1aFI0xy82zc9Z/snTe79iJCt88LTEq+Cf/OblWr1vnP/Q+00dmTaxpoUSfa3d1XtOKF+h7Z4c+D7LYH9K8syJK/Y2OdH7ujVqtJ2mSvv5RtYCzNQt7ecy0QtNLDy71UCE9vA1tU3G0TBfT3+An93VlpmmvvZtMeaT0kiADaCkMRbS6BKgwdsIl6ThATAU/J4BIqDKysCfCjEWUH/5sit6pmTog6+QN/5y/FzGecyXqdAz+8Qn5iZO3jpTgXdkVxZRD3UIrkVSuggKb/7t+kI/wjifackdRBUg5LuLUXUwOsWCBqKTLZ89XUvs7e+3lJ+Q15elvx84En++5JoNXc10hNk+K/k2wc8k7lRxa0fpJMGavMEzubpjnVikoFkwk8OPMMR0+3D0wardSDCUC9LFu1jGpj7DFpbYJJ3MlgfGKgPvh4UaNAHBmtVWoldcl1qkZ7E1nVJgdRFmBcwBF0PDtQ7TzXsC9AG8BG8sqyl7M4WHMB+gwW4n7GrmbHbk4axRH8SdhiH8AeyZcCSAKdHt6ckUsKC/khPNs/uRpnxkvFqrimxvEoxt1rhsCaf0wzBTAcGba1fmcf5aKcgONBoCDIrWpAxWHSPIcFg1lPXw5iEmOI4WaWyraYq15SYX2OK4uTHdsz6N9T4RDAS3nLBr4LNBAleQtgsiG4UE3VcPVFMsHDN+O83Esw8M0H7xOilQo/+sfax3gN+YYqBiWgiGcnmDdywicTxsETOeOIEh9vvJ4xShSaBCdiKMCFhpSpsRRjHio6KjsSFxtmAdxqsVE0QDUNBFqm+h6v9PtO+Fj7uSBFfzwJpXOIq31Ifj+PxAXVsCv/9pSK+jlmdI4i+/igmwuI7DS6FnRzJsFCbFj18GUyrGpvxMz58sUWjZVpOjUSxqH60XfG9nb/61d393r3xcWpmml1HelgU/x7X4aaP+M6TxYvb1BNGZ/GS3d1Iw/kUZMtnU07ThAB89mO1Tym3kL1yqcQitValhfVcGaaupA7LDaH9vlZsTaxZkZcnt8QM63OCcoNy6rC56pYhYYtwyKHJ83FmB+YFZmOKIk2VUalwUTazKtvXkZxHahnYtHmltb1C+vXVnb22gHPX0/NrOmy9VkA4BG3CboJCkdpVkXkhUBeuC7K0ueDFBjhPRJOdRqTINXDHDum6dvlGWt1GejF8uwTr5YMtue0/YVbZlaoa3xu+iYdFcwbvO9Ur87WrFmjDYRyn2S3sWLkulmXN7WI1R5Roydru18ysEdRf1C9BGAlmItK4Ko/MhzFMgo5rjnqUM6euLqUVpbO2YmJev0Cg3Tg3+mOtUHROKBGKBJLRpZu8NkEv2lC9uF5UAyrITxoFqgYeH/vwKD3jfnHxjp3YIqyXfONGklY7GtAjvpqW6tA4/rdr7CUl49mtHR0kGWnZMs+HM52e/uP4U92WzW4/7/LkEla1f5mL4g7opSxhFrCKNNal7h3E0W2zpZVga02YKWmrLtVS2yOGVXxLZUq4ZboVYgq9BZYUzRDZPSNIpJAjjdA/S98gR/qwooaH3zyM3YZLv+1/Ox3Xlt7Wo9zxu5M+0gYzw+VPmehmck+kgUGLQu5T90NtGW3IvoBjlDbY/6ksmZHiH9J2Z0Yb7Vt5HxHWJfFbw/4R2l/Xoxch+iR95EUZi7Dn0/3Tz2P1KrRMZYgntlF83fktujz4EsH2+NJjG+GV7cy+iIzluJK5bm3mtc8zrphMoz/M0qtyDsEXU062Lz9muqIf/bLl6pOYi9mH9KpZP4waTRlXwGeZ19atvZL584+wuWpVX9ox2BQ6dLob0ZqU0YTSnq9Z1YROP2Q5NbMnFeXIyp+9xK+mcUWL8LdrGLtt+vTT30gt3Y36clTqIW0WevL48f4W91h1mDoBLpQbrcT0MH9zQI7LxJBkbL97V9fYeOxx+FzMOj224Q5cnJWZB3tFznhjCQwCFvGDZA0R+9jvMRaejIki5qO91DNeWED1ys/3L9mQiqUOkbVLew0tLmh/76ndgwtQuqkDSgKg9HUAVANA6XXSIRiA0m4/QRUAlNppMlZ+tRfiKC5UqMN7j5+hKgDA1JADK2W5t9Di1v/YCtEBKD2wHxKySnOQF8npf0buO70Pcb7ZG+TvngDQEPF1ksakoVzv55BC2dWPocq1N/Cg5FIBeQMSit7SdfNoWJQudckVQJQuW6Al8JjfQOmgDMcbUiu3XIMSSx1u8IyOGodyoq45Cq2lJ0Um6CVfq4RC0upOU3loLsRTDvoVKqXHoxARR3f6BLLzrBlE/k27WfIKpdMk1Flqh96lZXYHoeh/8jsQeFe/4UYFQfUC9v0v4OCrQ6YykvKMnvboIU4fLsOvpPAHPrPed3xQT+2lH/ri/xvpuPFg7lvQkt5HvPdZnM4uQCvQ5j5X/r6lFZv66v3g73zbMp6idJabaNS16VvV4KhQTa56WS9tVy2BftXmmqT6OsyaO5C1E0TFHtDs8EpVUk6phoSrqinlsayXPlEteW9VW8o/1bc6wIULNC/+7cVxCLyh1ZHqGo1QJpB3+sll7MB5Df9y5zUGKcsK58QHN9zFEeBHWYYgqHDY0/fN8fGuQzo4bHkdMhXC8JznghaQ1difvTgOQbtwQ1XHq+oajbjzYP/1fXIZO3Cc8q/pvELQO6eYTMEhf3DDtUtBqv0oSwGZgmLq0HhPve8AtNuOIjXQ7ZbX51JGRbCHZ7l6Z4KXZ+mn+x7Hz9rdbu+nLEuBBgMWHHgIECFBhgIVGnQYzVa70+31B8PReDKdzRfL1Xqz3e0Px9P5cr3dHy+vEjA2gmHTvwZz0I6bxOozV4DXJxWPmgygD5FdP9771KMLqYhdt/xHIw/a7LlRgImIJ6X/8HrDiWYx8opJFHWipJniKGcnxjbxsoBxrXgMJpgGP+8Uce49wTYejN9N0hqH48zWw9i0AzrSwfFxFWHHdQ8hykInTsJVlMn1loycaKSKk2Le+hRJE7XEWOxz0hVRolYCMwjCkqw4DOCyx7JIh2Qyk2d6FQSXj7PSgPNaxYxz67i5L5Yvzl08qWpJzwL1HyMnqTiSI5hWJ5MkgpEYBiTggguHAPVOIRWKpdn0x79JSoQgXt/W6ZmjgZ2KZeIzwhZE6TfNlj87AwAA') format('woff2'), + url('iconfont.woff?t=1736415197719') format('woff'), + url('iconfont.ttf?t=1736415197719') format('truetype'), + url('iconfont.svg?t=1736415197719#iconfont') format('svg'); +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-anquan1:before { + content: "\e671"; +} + +.icon-lianxiren:before { + content: "\e61c"; +} + +.icon-qianbao:before { + content: "\e613"; +} + +.icon-zhuyi:before { + content: "\e60a"; +} + +.icon-paixu1:before { + content: "\ea8f"; +} + +.icon-paixu:before { + content: "\e617"; +} + +.icon-sort-full:before { + content: "\ea4b"; +} + +.icon-kongxinwenhao:before { + content: "\ed19"; +} + +.icon-fuzhi_o:before { + content: "\eb4e"; +} + +.icon-fuzhi:before { + content: "\e64e"; +} + +.icon-fuzhi1:before { + content: "\e8b0"; +} + +.icon-guanbi:before { + content: "\e84d"; +} + +.icon-guanbi1:before { + content: "\e66f"; +} + +.icon-guanbi2:before { + content: "\e61e"; +} + +.icon-youjiantou:before { + content: "\e624"; +} + +.icon-hengxiandianzuo:before { + content: "\e609"; +} + +.icon-youjiantou1:before { + content: "\ee39"; +} + +.icon-sanhengxian-copy:before { + content: "\e605"; +} + +.icon-hengxian11:before { + content: "\e606"; +} + +.icon-icon-prev:before { + content: "\e603"; +} + +.icon-zuoyoujiantou1:before { + content: "\e604"; +} + +.icon-shouji:before { + content: "\e692"; +} + +.icon-youxiang:before { + content: "\e908"; +} + +.icon-shouji1:before { + content: "\e853"; +} + +.icon-yonghu:before { + content: "\e667"; +} + +.icon-anquanzu:before { + content: "\e654"; +} + +.icon-duigou:before { + content: "\e627"; +} + +.icon-anquan-:before { + content: "\e640"; +} + +.icon-shanchuzhanghu:before { + content: "\e6f4"; +} + +.icon-diannao:before { + content: "\e625"; +} + +.icon-morentouxiang:before { + content: "\e62f"; +} + +.icon-touxiang:before { + content: "\e6de"; +} + +.icon-zhanghubaobiao:before { + content: "\e602"; +} + +.icon-chongzhi360:before { + content: "\e6bc"; +} + +.icon-gerenzhongxin:before { + content: "\e689"; +} + +.icon-zhanghuyue:before { + content: "\e63f"; +} + +.icon-anquan:before { + content: "\e8ab"; +} + +.icon-yanjing:before { + content: "\e8bf"; +} + +.icon-yanjing1:before { + content: "\e8c7"; +} + +.icon-baogao:before { + content: "\e62d"; +} + +.icon-zhanghuxinxi:before { + content: "\e60e"; +} + +.icon-a-fenzhi1:before { + content: "\ebf9"; +} + +.icon-kuanggong:before { + content: "\e607"; +} + +.icon-suanli:before { + content: "\e6c3"; +} + +.icon-kuanggong1:before { + content: "\e600"; +} + +.icon-kuanggong2:before { + content: "\e60f"; +} + +.icon-suanli1:before { + content: "\e601"; +} + +.icon-shishisuanli:before { + content: "\e676"; +} + diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.eot b/mining-pool/public/src/assets/icons/iconfont/iconfont.eot new file mode 100644 index 0000000..bee66a1 Binary files /dev/null and b/mining-pool/public/src/assets/icons/iconfont/iconfont.eot differ diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.js b/mining-pool/public/src/assets/icons/iconfont/iconfont.js new file mode 100644 index 0000000..28311e7 --- /dev/null +++ b/mining-pool/public/src/assets/icons/iconfont/iconfont.js @@ -0,0 +1 @@ +window._iconfont_svg_string_4582735='',(c=>{var a=(l=(l=document.getElementsByTagName("script"))[l.length-1]).getAttribute("data-injectcss"),l=l.getAttribute("data-disable-injectsvg");if(!l){var h,t,i,o,s,p=function(a,l){l.parentNode.insertBefore(a,l)};if(a&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(a){console&&console.log(a)}}h=function(){var a,l=document.createElement("div");l.innerHTML=c._iconfont_svg_string_4582735,(l=l.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",l=l,(a=document.body).firstChild?p(l,a.firstChild):a.appendChild(l))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(h,0):(t=function(){document.removeEventListener("DOMContentLoaded",t,!1),h()},document.addEventListener("DOMContentLoaded",t,!1)):document.attachEvent&&(i=h,o=c.document,s=!1,d(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,n())})}function n(){s||(s=!0,i())}function d(){try{o.documentElement.doScroll("left")}catch(a){return void setTimeout(d,50)}n()}})(window); \ No newline at end of file diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.json b/mining-pool/public/src/assets/icons/iconfont/iconfont.json new file mode 100644 index 0000000..4a02c70 --- /dev/null +++ b/mining-pool/public/src/assets/icons/iconfont/iconfont.json @@ -0,0 +1,345 @@ +{ + "id": "4582735", + "name": "m2pool", + "font_family": "iconfont", + "css_prefix_text": "icon-", + "description": "", + "glyphs": [ + { + "icon_id": "1134317", + "name": "安全", + "font_class": "anquan1", + "unicode": "e671", + "unicode_decimal": 58993 + }, + { + "icon_id": "6880576", + "name": "联系人", + "font_class": "lianxiren", + "unicode": "e61c", + "unicode_decimal": 58908 + }, + { + "icon_id": "12320663", + "name": "钱包", + "font_class": "qianbao", + "unicode": "e613", + "unicode_decimal": 58899 + }, + { + "icon_id": "20999446", + "name": "注意", + "font_class": "zhuyi", + "unicode": "e60a", + "unicode_decimal": 58890 + }, + { + "icon_id": "39869386", + "name": "排序", + "font_class": "paixu1", + "unicode": "ea8f", + "unicode_decimal": 60047 + }, + { + "icon_id": "3930485", + "name": "排序", + "font_class": "paixu", + "unicode": "e617", + "unicode_decimal": 58903 + }, + { + "icon_id": "18174900", + "name": "排序", + "font_class": "sort-full", + "unicode": "ea4b", + "unicode_decimal": 59979 + }, + { + "icon_id": "7947379", + "name": "空心问号", + "font_class": "kongxinwenhao", + "unicode": "ed19", + "unicode_decimal": 60697 + }, + { + "icon_id": "5387764", + "name": "复制_o", + "font_class": "fuzhi_o", + "unicode": "eb4e", + "unicode_decimal": 60238 + }, + { + "icon_id": "5858501", + "name": "复制", + "font_class": "fuzhi", + "unicode": "e64e", + "unicode_decimal": 58958 + }, + { + "icon_id": "11372665", + "name": "复制", + "font_class": "fuzhi1", + "unicode": "e8b0", + "unicode_decimal": 59568 + }, + { + "icon_id": "8288846", + "name": "关闭", + "font_class": "guanbi", + "unicode": "e84d", + "unicode_decimal": 59469 + }, + { + "icon_id": "21523408", + "name": "关闭", + "font_class": "guanbi1", + "unicode": "e66f", + "unicode_decimal": 58991 + }, + { + "icon_id": "33987013", + "name": "关闭", + "font_class": "guanbi2", + "unicode": "e61e", + "unicode_decimal": 58910 + }, + { + "icon_id": "1304892", + "name": "右箭头", + "font_class": "youjiantou", + "unicode": "e624", + "unicode_decimal": 58916 + }, + { + "icon_id": "14784103", + "name": "横线点 左", + "font_class": "hengxiandianzuo", + "unicode": "e609", + "unicode_decimal": 58889 + }, + { + "icon_id": "27402517", + "name": "右箭头", + "font_class": "youjiantou1", + "unicode": "ee39", + "unicode_decimal": 60985 + }, + { + "icon_id": "27714466", + "name": "三横线", + "font_class": "sanhengxian-copy", + "unicode": "e605", + "unicode_decimal": 58885 + }, + { + "icon_id": "39075853", + "name": "横线2-copy", + "font_class": "hengxian11", + "unicode": "e606", + "unicode_decimal": 58886 + }, + { + "icon_id": "11586543", + "name": "左右箭头", + "font_class": "icon-prev", + "unicode": "e603", + "unicode_decimal": 58883 + }, + { + "icon_id": "27922783", + "name": "左右箭头", + "font_class": "zuoyoujiantou1", + "unicode": "e604", + "unicode_decimal": 58884 + }, + { + "icon_id": "666888", + "name": "手机", + "font_class": "shouji", + "unicode": "e692", + "unicode_decimal": 59026 + }, + { + "icon_id": "4552970", + "name": "邮箱", + "font_class": "youxiang", + "unicode": "e908", + "unicode_decimal": 59656 + }, + { + "icon_id": "8288872", + "name": "手机", + "font_class": "shouji1", + "unicode": "e853", + "unicode_decimal": 59475 + }, + { + "icon_id": "8605745", + "name": "用户", + "font_class": "yonghu", + "unicode": "e667", + "unicode_decimal": 58983 + }, + { + "icon_id": "587277", + "name": "安全组", + "font_class": "anquanzu", + "unicode": "e654", + "unicode_decimal": 58964 + }, + { + "icon_id": "2674480", + "name": "对勾", + "font_class": "duigou", + "unicode": "e627", + "unicode_decimal": 58919 + }, + { + "icon_id": "5734716", + "name": "安全-2", + "font_class": "anquan-", + "unicode": "e640", + "unicode_decimal": 58944 + }, + { + "icon_id": "12654125", + "name": "删除账户", + "font_class": "shanchuzhanghu", + "unicode": "e6f4", + "unicode_decimal": 59124 + }, + { + "icon_id": "15714215", + "name": "电脑", + "font_class": "diannao", + "unicode": "e625", + "unicode_decimal": 58917 + }, + { + "icon_id": "1346662", + "name": "默认头像", + "font_class": "morentouxiang", + "unicode": "e62f", + "unicode_decimal": 58927 + }, + { + "icon_id": "9874537", + "name": "KHCFDC_头像 ", + "font_class": "touxiang", + "unicode": "e6de", + "unicode_decimal": 59102 + }, + { + "icon_id": "1196", + "name": "账户报表", + "font_class": "zhanghubaobiao", + "unicode": "e602", + "unicode_decimal": 58882 + }, + { + "icon_id": "815114", + "name": "我的账户", + "font_class": "chongzhi360", + "unicode": "e6bc", + "unicode_decimal": 59068 + }, + { + "icon_id": "4520161", + "name": "个人中心", + "font_class": "gerenzhongxin", + "unicode": "e689", + "unicode_decimal": 59017 + }, + { + "icon_id": "5131593", + "name": "账户余额", + "font_class": "zhanghuyue", + "unicode": "e63f", + "unicode_decimal": 58943 + }, + { + "icon_id": "11372643", + "name": "安全", + "font_class": "anquan", + "unicode": "e8ab", + "unicode_decimal": 59563 + }, + { + "icon_id": "11372728", + "name": "眼睛", + "font_class": "yanjing", + "unicode": "e8bf", + "unicode_decimal": 59583 + }, + { + "icon_id": "11372780", + "name": "眼睛", + "font_class": "yanjing1", + "unicode": "e8c7", + "unicode_decimal": 59591 + }, + { + "icon_id": "11810655", + "name": "报告", + "font_class": "baogao", + "unicode": "e62d", + "unicode_decimal": 58925 + }, + { + "icon_id": "12497993", + "name": "账户信息", + "font_class": "zhanghuxinxi", + "unicode": "e60e", + "unicode_decimal": 58894 + }, + { + "icon_id": "36180280", + "name": "分支 (1)", + "font_class": "a-fenzhi1", + "unicode": "ebf9", + "unicode_decimal": 60409 + }, + { + "icon_id": "10306878", + "name": "矿工", + "font_class": "kuanggong", + "unicode": "e607", + "unicode_decimal": 58887 + }, + { + "icon_id": "12241982", + "name": "算力", + "font_class": "suanli", + "unicode": "e6c3", + "unicode_decimal": 59075 + }, + { + "icon_id": "13617777", + "name": "矿工", + "font_class": "kuanggong1", + "unicode": "e600", + "unicode_decimal": 58880 + }, + { + "icon_id": "20184649", + "name": "矿工", + "font_class": "kuanggong2", + "unicode": "e60f", + "unicode_decimal": 58895 + }, + { + "icon_id": "39379624", + "name": "算力-copy", + "font_class": "suanli1", + "unicode": "e601", + "unicode_decimal": 58881 + }, + { + "icon_id": "39509013", + "name": "实时算力", + "font_class": "shishisuanli", + "unicode": "e676", + "unicode_decimal": 58998 + } + ] +} diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.svg b/mining-pool/public/src/assets/icons/iconfont/iconfont.svg new file mode 100644 index 0000000..4dd348f --- /dev/null +++ b/mining-pool/public/src/assets/icons/iconfont/iconfont.svg @@ -0,0 +1,115 @@ + + + + Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.ttf b/mining-pool/public/src/assets/icons/iconfont/iconfont.ttf new file mode 100644 index 0000000..fa103e7 Binary files /dev/null and b/mining-pool/public/src/assets/icons/iconfont/iconfont.ttf differ diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.woff b/mining-pool/public/src/assets/icons/iconfont/iconfont.woff new file mode 100644 index 0000000..3d251c5 Binary files /dev/null and b/mining-pool/public/src/assets/icons/iconfont/iconfont.woff differ diff --git a/mining-pool/public/src/assets/icons/iconfont/iconfont.woff2 b/mining-pool/public/src/assets/icons/iconfont/iconfont.woff2 new file mode 100644 index 0000000..4c258f8 Binary files /dev/null and b/mining-pool/public/src/assets/icons/iconfont/iconfont.woff2 differ diff --git a/mining-pool/public/src/assets/img/Group 9 Copy 2.svg b/mining-pool/public/src/assets/img/Group 9 Copy 2.svg new file mode 100644 index 0000000..c579a84 --- /dev/null +++ b/mining-pool/public/src/assets/img/Group 9 Copy 2.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/Group 9 Copy 3.svg b/mining-pool/public/src/assets/img/Group 9 Copy 3.svg new file mode 100644 index 0000000..2080305 --- /dev/null +++ b/mining-pool/public/src/assets/img/Group 9 Copy 3.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/Group 9 Copy.svg b/mining-pool/public/src/assets/img/Group 9 Copy.svg new file mode 100644 index 0000000..bba2797 --- /dev/null +++ b/mining-pool/public/src/assets/img/Group 9 Copy.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/Group 9.svg b/mining-pool/public/src/assets/img/Group 9.svg new file mode 100644 index 0000000..4252434 --- /dev/null +++ b/mining-pool/public/src/assets/img/Group 9.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/WILOGO.png b/mining-pool/public/src/assets/img/WILOGO.png new file mode 100644 index 0000000..8070647 Binary files /dev/null and b/mining-pool/public/src/assets/img/WILOGO.png differ diff --git a/mining-pool/public/src/assets/img/bkbuttom.png b/mining-pool/public/src/assets/img/bkbuttom.png new file mode 100644 index 0000000..f0803a7 Binary files /dev/null and b/mining-pool/public/src/assets/img/bkbuttom.png differ diff --git a/mining-pool/public/src/assets/img/bktop.png b/mining-pool/public/src/assets/img/bktop.png new file mode 100644 index 0000000..e1b539f Binary files /dev/null and b/mining-pool/public/src/assets/img/bktop.png differ diff --git a/mining-pool/public/src/assets/img/currency-btc.png b/mining-pool/public/src/assets/img/currency-btc.png new file mode 100644 index 0000000..9ce7932 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-btc.png differ diff --git a/mining-pool/public/src/assets/img/currency-etc.png b/mining-pool/public/src/assets/img/currency-etc.png new file mode 100644 index 0000000..b278741 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-etc.png differ diff --git a/mining-pool/public/src/assets/img/currency-kas.png b/mining-pool/public/src/assets/img/currency-kas.png new file mode 100644 index 0000000..1800ba0 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-kas.png differ diff --git a/mining-pool/public/src/assets/img/currency-nexa.png b/mining-pool/public/src/assets/img/currency-nexa.png new file mode 100644 index 0000000..8b48de3 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-nexa.png differ diff --git a/mining-pool/public/src/assets/img/currency-rvn.png b/mining-pool/public/src/assets/img/currency-rvn.png new file mode 100644 index 0000000..178c802 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-rvn.png differ diff --git a/mining-pool/public/src/assets/img/currency-space.png b/mining-pool/public/src/assets/img/currency-space.png new file mode 100644 index 0000000..a77259f Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-space.png differ diff --git a/mining-pool/public/src/assets/img/currency-zeph.png b/mining-pool/public/src/assets/img/currency-zeph.png new file mode 100644 index 0000000..9cff87d Binary files /dev/null and b/mining-pool/public/src/assets/img/currency-zeph.png differ diff --git a/mining-pool/public/src/assets/img/currency/DGB.svg b/mining-pool/public/src/assets/img/currency/DGB.svg new file mode 100644 index 0000000..80e826d --- /dev/null +++ b/mining-pool/public/src/assets/img/currency/DGB.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/mining-pool/public/src/assets/img/currency/MonaCoin (MONA).svg b/mining-pool/public/src/assets/img/currency/MonaCoin (MONA).svg new file mode 100644 index 0000000..5d6463c --- /dev/null +++ b/mining-pool/public/src/assets/img/currency/MonaCoin (MONA).svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/mining-pool/public/src/assets/img/currency/alph.svg b/mining-pool/public/src/assets/img/currency/alph.svg new file mode 100644 index 0000000..dae25fe --- /dev/null +++ b/mining-pool/public/src/assets/img/currency/alph.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/currency/enx.svg b/mining-pool/public/src/assets/img/currency/enx.svg new file mode 100644 index 0000000..c43c52e --- /dev/null +++ b/mining-pool/public/src/assets/img/currency/enx.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/currency/grs.svg b/mining-pool/public/src/assets/img/currency/grs.svg new file mode 100644 index 0000000..c6ba33e --- /dev/null +++ b/mining-pool/public/src/assets/img/currency/grs.svg @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/mining-pool/public/src/assets/img/currency/mona.svg b/mining-pool/public/src/assets/img/currency/mona.svg new file mode 100644 index 0000000..e082d2b --- /dev/null +++ b/mining-pool/public/src/assets/img/currency/mona.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/currency/rxd.png b/mining-pool/public/src/assets/img/currency/rxd.png new file mode 100644 index 0000000..1a74cd4 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency/rxd.png differ diff --git a/mining-pool/public/src/assets/img/currency/xmr.png b/mining-pool/public/src/assets/img/currency/xmr.png new file mode 100644 index 0000000..1ad9ea8 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency/xmr.png differ diff --git a/mining-pool/public/src/assets/img/currency/xtm.jpg b/mining-pool/public/src/assets/img/currency/xtm.jpg new file mode 100644 index 0000000..b140fc7 Binary files /dev/null and b/mining-pool/public/src/assets/img/currency/xtm.jpg differ diff --git a/mining-pool/public/src/assets/img/deleteUser.png b/mining-pool/public/src/assets/img/deleteUser.png new file mode 100644 index 0000000..47f87e5 Binary files /dev/null and b/mining-pool/public/src/assets/img/deleteUser.png differ diff --git a/mining-pool/public/src/assets/img/dgb.png b/mining-pool/public/src/assets/img/dgb.png new file mode 100644 index 0000000..a9e608e Binary files /dev/null and b/mining-pool/public/src/assets/img/dgb.png differ diff --git a/mining-pool/public/src/assets/img/dialog1.png b/mining-pool/public/src/assets/img/dialog1.png new file mode 100644 index 0000000..29e52b0 Binary files /dev/null and b/mining-pool/public/src/assets/img/dialog1.png differ diff --git a/mining-pool/public/src/assets/img/dialog2.png b/mining-pool/public/src/assets/img/dialog2.png new file mode 100644 index 0000000..22fb2e4 Binary files /dev/null and b/mining-pool/public/src/assets/img/dialog2.png differ diff --git a/mining-pool/public/src/assets/img/dialog3.png b/mining-pool/public/src/assets/img/dialog3.png new file mode 100644 index 0000000..22847d8 Binary files /dev/null and b/mining-pool/public/src/assets/img/dialog3.png differ diff --git a/mining-pool/public/src/assets/img/enx推广.png b/mining-pool/public/src/assets/img/enx推广.png new file mode 100644 index 0000000..df20a6c Binary files /dev/null and b/mining-pool/public/src/assets/img/enx推广.png differ diff --git a/mining-pool/public/src/assets/img/enx英文推广.png b/mining-pool/public/src/assets/img/enx英文推广.png new file mode 100644 index 0000000..aa938ad Binary files /dev/null and b/mining-pool/public/src/assets/img/enx英文推广.png differ diff --git a/mining-pool/public/src/assets/img/grs.png b/mining-pool/public/src/assets/img/grs.png new file mode 100644 index 0000000..14ad2c9 Binary files /dev/null and b/mining-pool/public/src/assets/img/grs.png differ diff --git a/mining-pool/public/src/assets/img/home.png b/mining-pool/public/src/assets/img/home.png new file mode 100644 index 0000000..2ec15e5 Binary files /dev/null and b/mining-pool/public/src/assets/img/home.png differ diff --git a/mining-pool/public/src/assets/img/lang.svg b/mining-pool/public/src/assets/img/lang.svg new file mode 100644 index 0000000..c0a49bf --- /dev/null +++ b/mining-pool/public/src/assets/img/lang.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/logBg.png b/mining-pool/public/src/assets/img/logBg.png new file mode 100644 index 0000000..1826ef6 Binary files /dev/null and b/mining-pool/public/src/assets/img/logBg.png differ diff --git a/mining-pool/public/src/assets/img/logicon.png b/mining-pool/public/src/assets/img/logicon.png new file mode 100644 index 0000000..7dd4102 Binary files /dev/null and b/mining-pool/public/src/assets/img/logicon.png differ diff --git a/mining-pool/public/src/assets/img/logo.png b/mining-pool/public/src/assets/img/logo.png new file mode 100644 index 0000000..b03f646 Binary files /dev/null and b/mining-pool/public/src/assets/img/logo.png differ diff --git a/mining-pool/public/src/assets/img/maintain.png b/mining-pool/public/src/assets/img/maintain.png new file mode 100644 index 0000000..8347ada Binary files /dev/null and b/mining-pool/public/src/assets/img/maintain.png differ diff --git a/mining-pool/public/src/assets/img/miningAccount/btm.png b/mining-pool/public/src/assets/img/miningAccount/btm.png new file mode 100644 index 0000000..f0803a7 Binary files /dev/null and b/mining-pool/public/src/assets/img/miningAccount/btm.png differ diff --git a/mining-pool/public/src/assets/img/miningAccount/top.png b/mining-pool/public/src/assets/img/miningAccount/top.png new file mode 100644 index 0000000..a5b1fe9 Binary files /dev/null and b/mining-pool/public/src/assets/img/miningAccount/top.png differ diff --git a/mining-pool/public/src/assets/img/miningAccount/安全.svg b/mining-pool/public/src/assets/img/miningAccount/安全.svg new file mode 100644 index 0000000..656de64 --- /dev/null +++ b/mining-pool/public/src/assets/img/miningAccount/安全.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/miningAccount/客服.svg b/mining-pool/public/src/assets/img/miningAccount/客服.svg new file mode 100644 index 0000000..861fc37 --- /dev/null +++ b/mining-pool/public/src/assets/img/miningAccount/客服.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/miningAccount/钱包.svg b/mining-pool/public/src/assets/img/miningAccount/钱包.svg new file mode 100644 index 0000000..6ca95f8 --- /dev/null +++ b/mining-pool/public/src/assets/img/miningAccount/钱包.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/mona.png b/mining-pool/public/src/assets/img/mona.png new file mode 100644 index 0000000..4bc6d86 Binary files /dev/null and b/mining-pool/public/src/assets/img/mona.png differ diff --git a/mining-pool/public/src/assets/img/password.png b/mining-pool/public/src/assets/img/password.png new file mode 100644 index 0000000..6b9f104 Binary files /dev/null and b/mining-pool/public/src/assets/img/password.png differ diff --git a/mining-pool/public/src/assets/img/power1.svg b/mining-pool/public/src/assets/img/power1.svg new file mode 100644 index 0000000..652b8c6 --- /dev/null +++ b/mining-pool/public/src/assets/img/power1.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/profit.svg b/mining-pool/public/src/assets/img/profit.svg new file mode 100644 index 0000000..d544a67 --- /dev/null +++ b/mining-pool/public/src/assets/img/profit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/reincon.png b/mining-pool/public/src/assets/img/reincon.png new file mode 100644 index 0000000..c0d18ba Binary files /dev/null and b/mining-pool/public/src/assets/img/reincon.png differ diff --git a/mining-pool/public/src/assets/img/security.png b/mining-pool/public/src/assets/img/security.png new file mode 100644 index 0000000..426cfca Binary files /dev/null and b/mining-pool/public/src/assets/img/security.png differ diff --git a/mining-pool/public/src/assets/img/币价资源 19.svg b/mining-pool/public/src/assets/img/币价资源 19.svg new file mode 100644 index 0000000..ca3762c --- /dev/null +++ b/mining-pool/public/src/assets/img/币价资源 19.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/接入矿池.svg b/mining-pool/public/src/assets/img/接入矿池.svg new file mode 100644 index 0000000..c18955d --- /dev/null +++ b/mining-pool/public/src/assets/img/接入矿池.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/注意.svg b/mining-pool/public/src/assets/img/注意.svg new file mode 100644 index 0000000..e5b3a64 --- /dev/null +++ b/mining-pool/public/src/assets/img/注意.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/矿工数资源 22.svg b/mining-pool/public/src/assets/img/矿工数资源 22.svg new file mode 100644 index 0000000..4249a1f --- /dev/null +++ b/mining-pool/public/src/assets/img/矿工数资源 22.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/矿池算力资源 23.svg b/mining-pool/public/src/assets/img/矿池算力资源 23.svg new file mode 100644 index 0000000..33e6868 --- /dev/null +++ b/mining-pool/public/src/assets/img/矿池算力资源 23.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/算力.svg b/mining-pool/public/src/assets/img/算力.svg new file mode 100644 index 0000000..7922247 --- /dev/null +++ b/mining-pool/public/src/assets/img/算力.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/算法资源 24.svg b/mining-pool/public/src/assets/img/算法资源 24.svg new file mode 100644 index 0000000..b36dbb1 --- /dev/null +++ b/mining-pool/public/src/assets/img/算法资源 24.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/计算器.svg b/mining-pool/public/src/assets/img/计算器.svg new file mode 100644 index 0000000..cb03f69 --- /dev/null +++ b/mining-pool/public/src/assets/img/计算器.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/费率.svg b/mining-pool/public/src/assets/img/费率.svg new file mode 100644 index 0000000..417f6d2 --- /dev/null +++ b/mining-pool/public/src/assets/img/费率.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/难度.svg b/mining-pool/public/src/assets/img/难度.svg new file mode 100644 index 0000000..4ab3c63 --- /dev/null +++ b/mining-pool/public/src/assets/img/难度.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/img/高度资源 26.svg b/mining-pool/public/src/assets/img/高度资源 26.svg new file mode 100644 index 0000000..7380b62 --- /dev/null +++ b/mining-pool/public/src/assets/img/高度资源 26.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/logo.png b/mining-pool/public/src/assets/logo.png new file mode 100644 index 0000000..f3d2503 Binary files /dev/null and b/mining-pool/public/src/assets/logo.png differ diff --git a/mining-pool/public/src/assets/mobile/home/home.png b/mining-pool/public/src/assets/mobile/home/home.png new file mode 100644 index 0000000..0748c2e Binary files /dev/null and b/mining-pool/public/src/assets/mobile/home/home.png differ diff --git a/mining-pool/public/src/assets/mobile/home/homeMenu.svg b/mining-pool/public/src/assets/mobile/home/homeMenu.svg new file mode 100644 index 0000000..e6802d1 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/homeMenu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/home/homebgbtm.png b/mining-pool/public/src/assets/mobile/home/homebgbtm.png new file mode 100644 index 0000000..905d349 Binary files /dev/null and b/mining-pool/public/src/assets/mobile/home/homebgbtm.png differ diff --git a/mining-pool/public/src/assets/mobile/home/homebgtop.png b/mining-pool/public/src/assets/mobile/home/homebgtop.png new file mode 100644 index 0000000..589663a Binary files /dev/null and b/mining-pool/public/src/assets/mobile/home/homebgtop.png differ diff --git a/mining-pool/public/src/assets/mobile/home/lgout.svg b/mining-pool/public/src/assets/mobile/home/lgout.svg new file mode 100644 index 0000000..1836936 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/lgout.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/home/mining.svg b/mining-pool/public/src/assets/mobile/home/mining.svg new file mode 100644 index 0000000..2bb88a8 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/mining.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/home/personal.svg b/mining-pool/public/src/assets/mobile/home/personal.svg new file mode 100644 index 0000000..30af657 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/personal.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/home/reportBlock.svg b/mining-pool/public/src/assets/mobile/home/reportBlock.svg new file mode 100644 index 0000000..6746103 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/reportBlock.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/home/workAdministration.svg b/mining-pool/public/src/assets/mobile/home/workAdministration.svg new file mode 100644 index 0000000..51fcbda --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/workAdministration.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/home/workRecord.svg b/mining-pool/public/src/assets/mobile/home/workRecord.svg new file mode 100644 index 0000000..819f1ea --- /dev/null +++ b/mining-pool/public/src/assets/mobile/home/workRecord.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/login/LOGO.svg b/mining-pool/public/src/assets/mobile/login/LOGO.svg new file mode 100644 index 0000000..fd81643 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/login/LOGO.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/login/bgtop.svg b/mining-pool/public/src/assets/mobile/login/bgtop.svg new file mode 100644 index 0000000..129a967 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/login/bgtop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/login/logointop.svg b/mining-pool/public/src/assets/mobile/login/logointop.svg new file mode 100644 index 0000000..976b5ae --- /dev/null +++ b/mining-pool/public/src/assets/mobile/login/logointop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/login/menu.svg b/mining-pool/public/src/assets/mobile/login/menu.svg new file mode 100644 index 0000000..26cbfc1 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/login/menu.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/login/registertop.svg b/mining-pool/public/src/assets/mobile/login/registertop.svg new file mode 100644 index 0000000..b5d2675 --- /dev/null +++ b/mining-pool/public/src/assets/mobile/login/registertop.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/mining-pool/public/src/assets/mobile/login/注册、登录页背景下.png b/mining-pool/public/src/assets/mobile/login/注册、登录页背景下.png new file mode 100644 index 0000000..295d489 Binary files /dev/null and b/mining-pool/public/src/assets/mobile/login/注册、登录页背景下.png differ diff --git a/mining-pool/public/src/assets/styles/btn.scss b/mining-pool/public/src/assets/styles/btn.scss new file mode 100644 index 0000000..e6ba1a8 --- /dev/null +++ b/mining-pool/public/src/assets/styles/btn.scss @@ -0,0 +1,99 @@ +@import './variables.scss'; + +@mixin colorBtn($color) { + background: $color; + + &:hover { + color: $color; + + &:before, + &:after { + background: $color; + } + } +} + +.blue-btn { + @include colorBtn($blue) +} + +.light-blue-btn { + @include colorBtn($light-blue) +} + +.red-btn { + @include colorBtn($red) +} + +.pink-btn { + @include colorBtn($pink) +} + +.green-btn { + @include colorBtn($green) +} + +.tiffany-btn { + @include colorBtn($tiffany) +} + +.yellow-btn { + @include colorBtn($yellow) +} + +.pan-btn { + font-size: 14px; + color: #fff; + padding: 14px 36px; + border-radius: 8px; + border: none; + outline: none; + transition: 600ms ease all; + position: relative; + display: inline-block; + + &:hover { + background: #fff; + + &:before, + &:after { + width: 100%; + transition: 600ms ease all; + } + } + + &:before, + &:after { + content: ''; + position: absolute; + top: 0; + right: 0; + height: 2px; + width: 0; + transition: 400ms ease all; + } + + &::after { + right: inherit; + top: inherit; + left: 0; + bottom: 0; + } +} + +.custom-button { + display: inline-block; + line-height: 1; + white-space: nowrap; + cursor: pointer; + background: #fff; + color: #fff; + -webkit-appearance: none; + text-align: center; + box-sizing: border-box; + outline: 0; + margin: 0; + padding: 10px 15px; + font-size: 14px; + border-radius: 4px; +} diff --git a/mining-pool/public/src/assets/styles/element-ui.scss b/mining-pool/public/src/assets/styles/element-ui.scss new file mode 100644 index 0000000..363092a --- /dev/null +++ b/mining-pool/public/src/assets/styles/element-ui.scss @@ -0,0 +1,92 @@ +// cover some element-ui styles + +.el-breadcrumb__inner, +.el-breadcrumb__inner a { + font-weight: 400 !important; +} + +.el-upload { + input[type="file"] { + display: none !important; + } +} + +.el-upload__input { + display: none; +} + +.cell { + .el-tag { + margin-right: 0px; + } +} + +.small-padding { + .cell { + padding-left: 5px; + padding-right: 5px; + } +} + +.fixed-width { + .el-button--mini { + padding: 7px 10px; + width: 60px; + } +} + +.status-col { + .cell { + padding: 0 10px; + text-align: center; + + .el-tag { + margin-right: 0px; + } + } +} + +// to fixed https://github.com/ElemeFE/element/issues/2461 +.el-dialog { + transform: none; + left: 0; + position: relative; + margin: 0 auto; +} + +// refine element ui upload +.upload-container { + .el-upload { + width: 100%; + + .el-upload-dragger { + width: 100%; + height: 200px; + } + } +} + +// dropdown +.el-dropdown-menu { + a { + display: block + } +} + +// fix date-picker ui bug in filter-item +.el-range-editor.el-input__inner { + display: inline-flex !important; +} + +// to fix el-date-picker css style +.el-range-separator { + box-sizing: content-box; +} + +.el-menu--collapse + > div + > .el-submenu + > .el-submenu__title + .el-submenu__icon-arrow { + display: none; +} \ No newline at end of file diff --git a/mining-pool/public/src/assets/styles/element-variables.scss b/mining-pool/public/src/assets/styles/element-variables.scss new file mode 100644 index 0000000..8b7a48e --- /dev/null +++ b/mining-pool/public/src/assets/styles/element-variables.scss @@ -0,0 +1,31 @@ +/** +* I think element-ui's default theme color is too light for long-term use. +* So I modified the default color and you can modify it to your liking. +**/ + +/* theme color */ +$--color-primary: #1890ff; +$--color-success: #13ce66; +$--color-warning: #ffba00; +$--color-danger: #ff4949; +// $--color-info: #1E1E1E; + +$--button-font-weight: 400; + +// $--color-text-regular: #1f2d3d; + +$--border-color-light: #dfe4ed; +$--border-color-lighter: #e6ebf5; + +$--table-border:1px solid#dfe6ec; + +/* icon font path, required */ +$--font-path: '~element-ui/lib/theme-chalk/fonts'; + +@import "~element-ui/packages/theme-chalk/src/index"; + +// the :export directive is the magic sauce for webpack +// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass +:export { + theme: $--color-primary; +} diff --git a/mining-pool/public/src/assets/styles/font.scss b/mining-pool/public/src/assets/styles/font.scss new file mode 100644 index 0000000..8c801b2 --- /dev/null +++ b/mining-pool/public/src/assets/styles/font.scss @@ -0,0 +1,2 @@ +@import "../fonts/ym/iconfont.css"; +@import "../fonts/ym-custom/iconfont.css"; \ No newline at end of file diff --git a/mining-pool/public/src/assets/styles/index.scss b/mining-pool/public/src/assets/styles/index.scss new file mode 100644 index 0000000..fb44fc8 --- /dev/null +++ b/mining-pool/public/src/assets/styles/index.scss @@ -0,0 +1,192 @@ +// @import './variables.scss'; +// @import './mixin.scss'; +// @import './transition.scss'; +// @import './element-ui.scss'; +// @import './sidebar.scss'; +// @import './btn.scss'; + +body { + height: 100%; + margin: 0; + -moz-osx-font-smoothing: grayscale; + -webkit-font-smoothing: antialiased; + text-rendering: optimizeLegibility; + font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif; +} + +label { + font-weight: 700; +} + +html { + height: 100%; + box-sizing: border-box; +} + +#app { + height: 100%; +} + +*, +*:before, +*:after { + box-sizing: inherit; +} + +.no-padding { + padding: 0px !important; +} + +.padding-content { + padding: 4px 0; +} + +a:focus, +a:active { + outline: none; +} + +a, +a:focus, +a:hover { + cursor: pointer; + color: inherit; + text-decoration: none; +} + +div:focus { + outline: none; +} + +.fr { + float: right; +} + +.fl { + float: left; +} + +.pr-5 { + padding-right: 5px; +} + +.pl-5 { + padding-left: 5px; +} + +.block { + display: block; +} + +.pointer { + cursor: pointer; +} + +.inlineBlock { + display: block; +} + +.clearfix { + &:after { + visibility: hidden; + display: block; + // font-size: 0; + content: " "; + clear: both; + height: 0; + } +} + +aside { + background: #eef1f6; + padding: 8px 24px; + margin-bottom: 20px; + border-radius: 2px; + display: block; + line-height: 32px; + font-size: 16px; + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; + color: #2c3e50; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + a { + color: #337ab7; + cursor: pointer; + + &:hover { + color: rgb(32, 160, 255); + } + } +} + +//main-container全局样式 +.app-container { + padding: 20px; +} + +.components-container { + margin: 30px 50px; + position: relative; +} + +.pagination-container { + margin-top: 30px; +} + +.text-center { + text-align: center +} + +.sub-navbar { + height: 50px; + line-height: 50px; + position: relative; + width: 100%; + text-align: right; + padding-right: 20px; + transition: 600ms ease position; + background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%); + + .subtitle { + // font-size: 20px; + color: #fff; + } + + &.draft { + background: #d0d0d0; + } + + &.deleted { + background: #d0d0d0; + } +} + +.link-type, +.link-type:focus { + color: #337ab7; + cursor: pointer; + + &:hover { + color: rgb(32, 160, 255); + } +} + +.filter-container { + padding-bottom: 10px; + + .filter-item { + display: inline-block; + vertical-align: middle; + margin-bottom: 10px; + } +} + +//refine vue-multiselect plugin +.multiselect { + line-height: 16px; +} + +.multiselect--active { + z-index: 1000 !important; +} diff --git a/mining-pool/public/src/assets/styles/mixin.scss b/mining-pool/public/src/assets/styles/mixin.scss new file mode 100644 index 0000000..06fa061 --- /dev/null +++ b/mining-pool/public/src/assets/styles/mixin.scss @@ -0,0 +1,66 @@ +@mixin clearfix { + &:after { + content: ""; + display: table; + clear: both; + } +} + +@mixin scrollBar { + &::-webkit-scrollbar-track-piece { + background: #d3dce6; + } + + &::-webkit-scrollbar { + width: 6px; + } + + &::-webkit-scrollbar-thumb { + background: #99a9bf; + border-radius: 20px; + } +} + +@mixin relative { + position: relative; + width: 100%; + height: 100%; +} + +@mixin pct($pct) { + width: #{$pct}; + position: relative; + margin: 0 auto; +} + +@mixin triangle($width, $height, $color, $direction) { + $width: $width/2; + $color-border-style: $height solid $color; + $transparent-border-style: $width solid transparent; + height: 0; + width: 0; + + @if $direction==up { + border-bottom: $color-border-style; + border-left: $transparent-border-style; + border-right: $transparent-border-style; + } + + @else if $direction==right { + border-left: $color-border-style; + border-top: $transparent-border-style; + border-bottom: $transparent-border-style; + } + + @else if $direction==down { + border-top: $color-border-style; + border-left: $transparent-border-style; + border-right: $transparent-border-style; + } + + @else if $direction==left { + border-right: $color-border-style; + border-top: $transparent-border-style; + border-bottom: $transparent-border-style; + } +} diff --git a/mining-pool/public/src/assets/styles/ruoyi.scss b/mining-pool/public/src/assets/styles/ruoyi.scss new file mode 100644 index 0000000..f270313 --- /dev/null +++ b/mining-pool/public/src/assets/styles/ruoyi.scss @@ -0,0 +1,276 @@ + /** + * 通用css样式布局处理 + * Copyright (c) 2019 ruoyi + */ + + /** 基础通用 **/ +.pt5 { + padding-top: 5px; +} +.pr5 { + padding-right: 5px; +} +.pb5 { + padding-bottom: 5px; +} +.mt5 { + margin-top: 5px; +} +.mr5 { + margin-right: 5px; +} +.mb5 { + margin-bottom: 5px; +} +.mb8 { + margin-bottom: 8px; +} +.ml5 { + margin-left: 5px; +} +.mt10 { + margin-top: 10px; +} +.mr10 { + margin-right: 10px; +} +.mb10 { + margin-bottom: 10px; +} +.ml0 { + margin-left: 10px; +} +.mt20 { + margin-top: 20px; +} +.mr20 { + margin-right: 20px; +} +.mb20 { + margin-bottom: 20px; +} +.m20 { + margin-left: 20px; +} + +.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 { + font-family: inherit; + font-weight: 500; + line-height: 1.1; + color: inherit; +} + +.el-dialog:not(.is-fullscreen) { + margin-top: 6vh !important; +} + +.el-dialog__wrapper.scrollbar .el-dialog .el-dialog__body { + overflow: auto; + overflow-x: hidden; + max-height: 70vh; + padding: 10px 20px 0; +} + +.el-table { + .el-table__header-wrapper, .el-table__fixed-header-wrapper { + th { + word-break: break-word; + background-color: #f8f8f9; + color: #515a6e; + height: 40px; + font-size: 13px; + } + } + .el-table__body-wrapper { + .el-button [class*="el-icon-"] + span { + margin-left: 1px; + } + } +} + +/** 表单布局 **/ +.form-header { + font-size:15px; + color:#6379bb; + border-bottom:1px solid #ddd; + margin:8px 10px 25px 10px; + padding-bottom:5px +} + +/** 表格布局 **/ +.pagination-container { + position: relative; + height: 25px; + margin-bottom: 10px; + margin-top: 15px; + padding: 10px 20px !important; +} + +/* tree border */ +.tree-border { + margin-top: 5px; + border: 1px solid #e5e6e7; + background: #FFFFFF none; + border-radius:4px; +} + +.pagination-container .el-pagination { + right: 0; + position: absolute; +} + +@media ( max-width : 768px) { + .pagination-container .el-pagination > .el-pagination__jump { + display: none !important; + } + .pagination-container .el-pagination > .el-pagination__sizes { + display: none !important; + } +} + +.el-table .fixed-width .el-button--mini { + padding-left: 0; + padding-right: 0; + width: inherit; +} + +/** 表格更多操作下拉样式 */ +.el-table .el-dropdown-link { + cursor: pointer; + color: #409EFF; + margin-left: 5px; +} + +.el-table .el-dropdown, .el-icon-arrow-down { + font-size: 12px; +} + +.el-tree-node__content > .el-checkbox { + margin-right: 8px; +} + +.list-group-striped > .list-group-item { + border-left: 0; + border-right: 0; + border-radius: 0; + padding-left: 0; + padding-right: 0; +} + +.list-group { + padding-left: 0px; + list-style: none; +} + +.list-group-item { + border-bottom: 1px solid #e7eaec; + border-top: 1px solid #e7eaec; + margin-bottom: -1px; + padding: 11px 0px; + font-size: 13px; +} + +.pull-right { + float: right !important; +} + +.el-card__header { + padding: 14px 15px 7px; + min-height: 40px; +} + +.el-card__body { + padding: 15px 20px 20px 20px; +} + +.card-box { + padding-right: 15px; + padding-left: 15px; + margin-bottom: 10px; +} + +/* button color */ +.el-button--cyan.is-active, +.el-button--cyan:active { + background: #20B2AA; + border-color: #20B2AA; + color: #FFFFFF; +} + +.el-button--cyan:focus, +.el-button--cyan:hover { + background: #48D1CC; + border-color: #48D1CC; + color: #FFFFFF; +} + +.el-button--cyan { + background-color: #20B2AA; + border-color: #20B2AA; + color: #FFFFFF; +} + +/* text color */ +.text-navy { + color: #1ab394; +} + +.text-primary { + color: inherit; +} + +.text-success { + color: #1c84c6; +} + +.text-info { + color: #23c6c8; +} + +.text-warning { + color: #f8ac59; +} + +.text-danger { + color: #ed5565; +} + +.text-muted { + color: #888888; +} + +/* image */ +.img-circle { + border-radius: 50%; +} + +.img-lg { + width: 120px; + height: 120px; +} + +.avatar-upload-preview { + position: absolute; + top: 50%; + transform: translate(50%, -50%); + width: 200px; + height: 200px; + border-radius: 50%; + box-shadow: 0 0 4px #ccc; + overflow: hidden; +} + +/* 拖拽列样式 */ +.sortable-ghost{ + opacity: .8; + color: #fff!important; + background: #42b983!important; +} + +.top-right-btn { + position: relative; + float: right; +} +.app-container{ + background-color: white; +} \ No newline at end of file diff --git a/mining-pool/public/src/assets/styles/sidebar.scss b/mining-pool/public/src/assets/styles/sidebar.scss new file mode 100644 index 0000000..40e8926 --- /dev/null +++ b/mining-pool/public/src/assets/styles/sidebar.scss @@ -0,0 +1,292 @@ +#app { + + .main-container { + // min-height: 100%; + height: 100%; + transition: margin-left .28s; + margin-left: $sideBarWidth; + position: relative; + background-color: #EBEEF5; + overflow: hidden; + + &::-webkit-scrollbar { + width: 0; + } + } + + .sidebar-container { + transition: width 0.28s; + width: $sideBarWidth; + background-color: $menuBg; + height: 100%; + position: fixed; + font-size: 0px; + top: 0; + bottom: 0; + left: 0; + z-index: 1001; + overflow: hidden; + box-shadow: 0 66px 12px 0 rgba(0, 0, 0, .1); + + // reset element-ui css + .horizontal-collapse-transition { + transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out; + } + + .scrollbar-wrapper { + overflow-x: hidden !important; + } + + .el-scrollbar__bar.is-vertical { + right: 0px; + } + + .el-scrollbar { + height: 100%; + } + + &.has-logo { + .el-scrollbar { + height: calc(100% - 64px); + } + } + + .is-horizontal { + display: none; + } + + a { + display: inline-block; + width: 100%; + overflow: hidden; + } + + .left-icon { + margin-right: 10px; + } + + .el-menu { + border: none; + height: 100%; + width: 100% !important; + background: #001529; + color: #fff; + + .el-submenu__title, + .el-menu-item { + color: #fff; + + i { + color: #fff; + font-size: 20px; + } + + &:hover { + color: #1890ff; + background-color: transparent; + + i { + color: #1890ff; + } + } + + &.is-active { + color: #fff; + background-color: #1890ff; + + i { + color: #fff; + } + } + } + + } + + .submenu-title-noDropdown { + + &:focus, + &:hover { + background-color: transparent; + } + } + + & .nest-menu .el-submenu>.el-submenu__title, + & .el-submenu .el-menu-item { + min-width: $sideBarWidth !important; + background-color: $subMenuBg; + + &:hover { + color: #1890ff; + background-color: #000c17; + } + + &.is-active { + &:hover { + color: #fff; + background-color: #1890ff; + } + } + } + } + + .hideSidebar { + .sidebar-container { + width: 60px !important; + } + + .main-container { + margin-left: 60px; + } + + .submenu-title-noDropdown { + padding: 0 !important; + position: relative; + + .el-tooltip { + padding: 0 !important; + + .left-icon { + font-size: 20px; + margin-left: 20px; + } + } + } + + + + .el-submenu { + overflow: hidden; + + &>.el-submenu__title { + padding: 0 !important; + + .left-icon { + font-size: 20px; + margin-left: 20px; + } + + .el-submenu__icon-arrow { + display: none; + } + } + } + + .el-menu--collapse { + .el-submenu { + &>.el-submenu__title { + &>span { + height: 0; + width: 0; + overflow: hidden; + visibility: hidden; + display: inline-block; + } + } + } + } + } + + .el-menu--collapse .el-menu .el-submenu { + min-width: $sideBarWidth !important; + } + + // mobile responsive + .mobile { + .main-container { + margin-left: 0px; + } + + .sidebar-container { + transition: transform .28s; + width: $sideBarWidth !important; + } + + &.hideSidebar { + .sidebar-container { + pointer-events: none; + transition-duration: 0.3s; + transform: translate3d(-$sideBarWidth, 0, 0); + } + } + } + + .withoutAnimation { + + .main-container, + .sidebar-container { + transition: none; + } + } + + +} + +// when menu collapsed +.el-menu--vertical { + .left-icon { + margin-right: 10px; + } + + .el-submenu__title, + .el-menu-item { + color: #fff; + + i { + color: #fff + } + + &:hover { + color: #1890ff; + background-color: transparent; + + i { + color: #1890ff; + } + } + + &.is-active { + color: #fff; + background-color: #1890ff; + + i { + color: #fff; + } + } + } + + // the scroll bar appears when the subMenu is too long + >.el-menu--popup { + max-height: 100vh; + overflow-y: auto; + + &::-webkit-scrollbar-track-piece { + background: #d3dce6; + } + + &::-webkit-scrollbar { + width: 6px; + } + + &::-webkit-scrollbar-thumb { + background: #99a9bf; + border-radius: 20px; + } + } +} + +.el-menu--vertical>.el-menu--popup { + background: #001529; + // color: #fff; +} + + +.el-icon-arrow-down { + font-size: 12px !important; +} + + +.el-menu-item, +.el-submenu__title { + height: 46px !important; + line-height: 46px !important; +} \ No newline at end of file diff --git a/mining-pool/public/src/assets/styles/transition.scss b/mining-pool/public/src/assets/styles/transition.scss new file mode 100644 index 0000000..4cb27cc --- /dev/null +++ b/mining-pool/public/src/assets/styles/transition.scss @@ -0,0 +1,48 @@ +// global transition css + +/* fade */ +.fade-enter-active, +.fade-leave-active { + transition: opacity 0.28s; +} + +.fade-enter, +.fade-leave-active { + opacity: 0; +} + +/* fade-transform */ +.fade-transform-leave-active, +.fade-transform-enter-active { + transition: all .5s; +} + +.fade-transform-enter { + opacity: 0; + transform: translateX(-30px); +} + +.fade-transform-leave-to { + opacity: 0; + transform: translateX(30px); +} + +/* breadcrumb transition */ +.breadcrumb-enter-active, +.breadcrumb-leave-active { + transition: all .5s; +} + +.breadcrumb-enter, +.breadcrumb-leave-active { + opacity: 0; + transform: translateX(20px); +} + +.breadcrumb-move { + transition: all .5s; +} + +.breadcrumb-leave-active { + position: absolute; +} diff --git a/mining-pool/public/src/assets/styles/variables-bak.scss b/mining-pool/public/src/assets/styles/variables-bak.scss new file mode 100644 index 0000000..34484d4 --- /dev/null +++ b/mining-pool/public/src/assets/styles/variables-bak.scss @@ -0,0 +1,54 @@ +// base color +$blue:#324157; +$light-blue:#3A71A8; +$red:#C03639; +$pink: #E65D6E; +$green: #30B08F; +$tiffany: #4AB7BD; +$yellow:#FEC171; +$panGreen: #30B08F; + +// 默认菜单主题风格 +$base-menu-color:#bfcbd9; +$base-menu-color-active:#f4f4f5; +$base-menu-background:#304156; +$base-logo-title-color: #ffffff; + +$base-menu-light-color:rgba(0,0,0,.70); +$base-menu-light-background:#ffffff; +$base-logo-light-title-color: #001529; + +$base-sub-menu-background:#1f2d3d; +$base-sub-menu-hover:#001528; + +// 自定义暗色菜单风格 +/** +$base-menu-color:hsla(0,0%,100%,.65); +$base-menu-color-active:#fff; +$base-menu-background:#001529; +$base-logo-title-color: #ffffff; + +$base-menu-light-color:rgba(0,0,0,.70); +$base-menu-light-background:#ffffff; +$base-logo-light-title-color: #001529; + +$base-sub-menu-background:#000c17; +$base-sub-menu-hover:#001528; +*/ + +$base-sidebar-width: 200px; + +// the :export directive is the magic sauce for webpack +// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass +:export { + menuColor: $base-menu-color; + menuLightColor: $base-menu-light-color; + menuColorActive: $base-menu-color-active; + menuBackground: $base-menu-background; + menuLightBackground: $base-menu-light-background; + subMenuBackground: $base-sub-menu-background; + subMenuHover: $base-sub-menu-hover; + sideBarWidth: $base-sidebar-width; + logoTitleColor: $base-logo-title-color; + logoLightTitleColor: $base-logo-light-title-color +} diff --git a/mining-pool/public/src/assets/styles/variables.scss b/mining-pool/public/src/assets/styles/variables.scss new file mode 100644 index 0000000..d038aaa --- /dev/null +++ b/mining-pool/public/src/assets/styles/variables.scss @@ -0,0 +1,35 @@ +// base color +$blue:#324157; +$light-blue:#3A71A8; +$red:#C03639; +$pink: #E65D6E; +$green: #30B08F; +$tiffany: #4AB7BD; +$yellow:#FEC171; +$panGreen: #30B08F; + +// sidebar +$menuText:#fff; +$menuActiveText:#409EFF; +$subMenuActiveText:#fff; // https://github.com/ElemeFE/element/issues/12951 + +$menuBg:#001529; +$menuHover:#1890ff; + +$subMenuBg:#000c17; +$subMenuHover:#1890ff; + +$sideBarWidth: 210px; + +// the :export directive is the magic sauce for webpack +// https://www.bluematador.com/blog/how-to-share-variables-between-js-and-sass +:export { + menuText: $menuText; + menuActiveText: $menuActiveText; + subMenuActiveText: $subMenuActiveText; + menuBg: $menuBg; + menuHover: $menuHover; + subMenuBg: $subMenuBg; + subMenuHover: $subMenuHover; + sideBarWidth: $sideBarWidth; +} \ No newline at end of file diff --git a/mining-pool/public/src/assets/styles/wangEditorv4.scss b/mining-pool/public/src/assets/styles/wangEditorv4.scss new file mode 100644 index 0000000..d9f219c --- /dev/null +++ b/mining-pool/public/src/assets/styles/wangEditorv4.scss @@ -0,0 +1,40 @@ +.dynamic-content { + width: 100%; + margin: 0 auto; + font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif; + font-size: 16px; + line-height: 1.7; + color: #222; + // 富文本样式 + :deep(table) { + border-collapse: collapse; + width: 100%; + margin: 16px 0; + } + + :deep(th), :deep(td) { + border: 1px solid #d1d5db; + padding: 8px 12px; + text-align: left; + } + :deep(th) { + background: #f3f4f6; + font-weight: bold; + } + :deep(strong), :deep(b) { + font-weight: bold !important; + color: inherit !important; + font-style: normal !important; + } + :deep(em), :deep(i) { + font-style: italic !important; + color: inherit !important; + } + :deep(a) { + color: #661FFB !important; + text-decoration: none !important; + &:hover { + text-decoration: underline !important; + } + } + } \ No newline at end of file diff --git a/mining-pool/public/src/components/BackAdminLayout.vue b/mining-pool/public/src/components/BackAdminLayout.vue new file mode 100644 index 0000000..105bb09 --- /dev/null +++ b/mining-pool/public/src/components/BackAdminLayout.vue @@ -0,0 +1,275 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/ChatWidget.vue b/mining-pool/public/src/components/ChatWidget.vue new file mode 100644 index 0000000..6f35e6a --- /dev/null +++ b/mining-pool/public/src/components/ChatWidget.vue @@ -0,0 +1,4183 @@ + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/HorizontalBroadcast.vue b/mining-pool/public/src/components/HorizontalBroadcast.vue new file mode 100644 index 0000000..39ad45c --- /dev/null +++ b/mining-pool/public/src/components/HorizontalBroadcast.vue @@ -0,0 +1,724 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/MoveHead.vue b/mining-pool/public/src/components/MoveHead.vue new file mode 100644 index 0000000..5b2f948 --- /dev/null +++ b/mining-pool/public/src/components/MoveHead.vue @@ -0,0 +1,684 @@ + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/README.md b/mining-pool/public/src/components/README.md new file mode 100644 index 0000000..323164b --- /dev/null +++ b/mining-pool/public/src/components/README.md @@ -0,0 +1,293 @@ +# HorizontalBroadcast 横向滚动广播组件 + +一个功能完整的横向滚动广播通知栏组件,支持自动获取数据、鼠标交互、触摸交互等特性。 + +## 🚀 快速开始 + +### 基础用法 + +```vue + + + +``` + +## 📋 Props 属性 + +| 属性名 | 类型 | 默认值 | 说明 | +|--------|------|--------|------| +| `broadcastData` | Array | `[]` | 广播数据,如果不传则自动获取 | +| `showTitle` | Boolean | `true` | 是否显示标题 | +| `showIcon` | Boolean | `true` | 是否显示图标 | +| `title` | String | `''` | 自定义标题,不传则使用国际化标题 | +| `scrollSpeed` | Number | `1` | 滚动速度(像素/步) | +| `scrollInterval` | Number | `50` | 滚动间隔(毫秒) | +| `autoFetch` | Boolean | `true` | 是否自动获取数据 | +| `lang` | String | `'zh'` | 获取数据的语言参数 | +| `minItems` | Number | `1` | 最小显示条数,少于此数不显示组件 | +| `height` | String | `'40px'` | 组件高度 | +| `clickable` | Boolean | `false` | 是否启用点击事件 | + +## 📡 Events 事件 + +| 事件名 | 参数 | 说明 | +|--------|------|------| +| `data-loaded` | `data: Array` | 数据加载完成时触发 | +| `error` | `error: Error` | 发生错误时触发 | +| `item-click` | `item: Object` | 广播项被点击时触发(需要 `clickable=true`) | + +## 🎯 使用示例 + +### 1. 自定义样式和行为 + +```vue + + + +``` + +### 2. 使用外部数据 + +```vue + + + +``` + +### 3. 极简模式(无标题无图标) + +```vue + +``` + +### 4. 错误处理 + +```vue + + + +``` + +## 🎮 组件方法 + +通过 `ref` 访问组件实例,可以调用以下方法: + +```vue + + + +``` + +### 可用方法: + +- `refresh()` - 刷新数据 +- `togglePause()` - 切换暂停/继续状态 +- `getStatus()` - 获取当前状态信息 + +## 🎨 样式定制 + +组件使用 scoped 样式,如需定制外观,可以通过以下方式: + +### 1. 通过 Props 定制 + +```vue + + title="自定义标题" +/> +``` + +### 2. 全局样式覆盖 + +```scss +// 在全局样式中 +.horizontal-broadcast-container { + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); + + .broadcast-title { + color: white; + } + + .horizontal-scroll-wrapper { + background: rgba(255, 255, 255, 0.2); + border: 1px solid rgba(255, 255, 255, 0.3); + } +} +``` + +## 📱 移动端适配 + +组件已内置移动端适配: + +- 自动调整字体大小和间距 +- 支持触摸交互(触摸暂停,松开恢复) +- 响应式布局自适应 + +## 🔧 数据格式 + +广播数据应遵循以下格式: + +```javascript +[ + { + id: 'unique-id-1', // 必需:唯一标识 + content: '广播内容...' // 必需:显示内容 + }, + { + id: 'unique-id-2', + content: '另一条广播内容...' + } +] +``` + +## 🌐 国际化支持 + +组件支持国际化,默认标题会使用 `this.$t('home.describeTitle')`。 + +如需自定义,可以: + +```vue + +``` + +## ⚡ 性能优化 + +组件已内置以下性能优化: + +- 使用 `will-change: transform` 启用硬件加速 +- 智能的数据复制策略减少 DOM 操作 +- 自动清理定时器防止内存泄漏 +- 合理的滚动间隔和步进设置 + +## 🐛 常见问题 + +### Q: 为什么组件没有显示? + +A: 检查以下几点: +1. 数据是否正确加载(通过 `@data-loaded` 事件检查) +2. `minItems` 设置是否过高 +3. 是否有 CSS 冲突 + +### Q: 如何调整滚动速度? + +A: 通过 `scrollSpeed` 和 `scrollInterval` 两个属性: +- `scrollSpeed`: 每次移动的像素数(越大越快) +- `scrollInterval`: 滚动间隔毫秒数(越小越快) + +### Q: 点击事件不生效? + +A: 确保设置了 `clickable="true"` 并监听 `@item-click` 事件。 + +## �� 许可证 + +MIT License \ No newline at end of file diff --git a/mining-pool/public/src/components/SplitScreenEditor.vue b/mining-pool/public/src/components/SplitScreenEditor.vue new file mode 100644 index 0000000..93acfd3 --- /dev/null +++ b/mining-pool/public/src/components/SplitScreenEditor.vue @@ -0,0 +1,1800 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/comAside.vue b/mining-pool/public/src/components/comAside.vue new file mode 100644 index 0000000..4cb17d3 --- /dev/null +++ b/mining-pool/public/src/components/comAside.vue @@ -0,0 +1,137 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/content.vue b/mining-pool/public/src/components/content.vue new file mode 100644 index 0000000..e53c46f --- /dev/null +++ b/mining-pool/public/src/components/content.vue @@ -0,0 +1,1072 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/header.vue b/mining-pool/public/src/components/header.vue new file mode 100644 index 0000000..e822727 --- /dev/null +++ b/mining-pool/public/src/components/header.vue @@ -0,0 +1,1010 @@ + + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/components/promptBox.vue b/mining-pool/public/src/components/promptBox.vue new file mode 100644 index 0000000..5abf6f0 --- /dev/null +++ b/mining-pool/public/src/components/promptBox.vue @@ -0,0 +1,119 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/i18n/AccessMiningPool.js b/mining-pool/public/src/i18n/AccessMiningPool.js new file mode 100644 index 0000000..9484fd0 --- /dev/null +++ b/mining-pool/public/src/i18n/AccessMiningPool.js @@ -0,0 +1,224 @@ +export const AccessMiningPool_zh = { + course: { + NEXAcourse:"Nexa 挖矿教程", + selectServer:"选择挖矿地址", + serverLocation:"服务器地点", + difficulty:"难度", + TCP:"TCP 端口", + SSL:"SSL 端口", + rateRelated:"币种矿池费率相关", + currency:"币种", + miningAddress:"挖矿地址", + miningFeeRate:"挖矿费率", + settlementMode:"收益结算模式", + minimumPaymentAmount:"起付额", + Step1:"步骤1 - 注册m2pool账号", + accountContent1:"1. m2pool 矿池挖矿方式为用户名挖矿,需注册m2pool账号", + accountContent2:"2. 注册账号成功后,请前往个人中心-挖矿账户页面,添加币种挖矿账户,此处创建的挖矿账户即为您需要在矿机上配置的用户名。", + Step2:"步骤2 - 获得并绑定钱包地址", + bindWalletText1:"1. 获取钱包,您可以通过以下方式获得币种的的钱包地址,用于接收挖矿收益。", + bindWalletText2:"(1) 官方全节点钱包:", + bindWalletText3:"该类型钱包需要实时同步币种区块链节点。", + bindWalletText4:"(2) 交易所钱包:前往支持该币种现货交易的交易所,", + bindWalletText5:"等,找到充值即可获得钱包。", + bindWalletText6:"(3) 硬件钱包:", + bindWalletText7:"取决于您的硬件钱包是否支持该币种区块链,该类型钱包安全性高,但不是所有硬件钱包都支持,请您仔细了解您的硬件钱包。", + bindWalletText8:"2. 获得钱包地址后,在个人中心-挖矿账户页面,点击右上方添加按钮,在钱包地址一栏填入您的钱包即可。", + Step3:"步骤4 - 坐等挖矿收益", + miningIncome1:"1. 在您添加完挖矿钱包后,即可在您的nexa矿机上配置相关参数,开启nexa挖矿。由于nexa区块需要5000个高度才能成熟,因此您的挖矿收益,需要等待5000个高度才可提现(大约为7天时间)。", + miningIncome2:"2. 您在m2pool上的所有挖矿收益均为自动结算(不同币种有不同的收益结算方式,请仔细查看您选择币种的收益结算方式)。", + Step4:"步骤3 - 矿工接入参数示例", + parameter:"1. Pool/Url: 见上方", + parameter5:"挖矿地址", + parameter6:"表格", + parameter2:"2. Wallet/User/Worker: 挖矿账户名.矿工号(英文句号.分隔挖矿账户名和矿工号),(用户名为您在 ", + parameter3:"3. Password:任意输入,不同的挖矿软件或矿机可能会有不同的配置方式,但只需保证上述3个参数配置正确,即可接入m2pool矿池,如果您需要帮助,请通过", + parameter4:"联系我们。", + parameter7:"步骤1的第2步", + parameter8:"生成的挖矿账号(非m2pool的登陆邮箱号),矿工号为您自行定义(长度不超过36个字符),如果您有多个矿工,请勿设置相同的矿工号,设置相同矿工号会将多个矿工的算力合并,虽然不会影响您的收益,但这会导致无法区分不同的矿工,不便于您对矿工的管理。)", + + notOpen:"矿池暂未开放,请耐心等待....", + RXDcourse:"Rxd 挖矿教程", + GRScourse:"Grs 挖矿教程", + MONAcourse:"Mona 挖矿教程", + dgbsCourse:"Dgb(skein) 挖矿教程", + dgbqCourse:"Dgb(qubit) 挖矿教程", + dgboCourse:"Dgb(odocrypt) 挖矿教程", + ENXcourse:"Entropyx(Enx) 挖矿教程", + alphCourse:"Alephium(alph) 挖矿教程", + xmrCourse:"xmr(monero) 挖矿教程", + rxdIncome1:"1. 在您添加完挖矿钱包后,即可在您的Rxd矿机上配置相关参数,开启Rxd挖矿。", + Adaptation:"适配性", + amount:"最小起付额", + ASIC:"ASIC矿机型号", + GPU:"GPU挖矿软件", + careful:"注意:如果您的GPU挖矿软件或ASIC矿机与m2pool无法适配,请通过", + mail:"邮件", + careful2:"与我们取得联系", + dragonBall:"龍珠A21", + dragonBallA11:"龍珠A11", + RX0:"冰河RXD RX0", + dragonBallA11Move:"龍珠A11、冰河RXD RX0", + notOpenCurrency:"该币种暂未开放,请耐心等待....", + Wallet1:"(该数据来源于", + Wallet2:"本网站不能完全保证该数据的准确性,请您仔细甄别)", + general4_1:"1.在您添加完挖矿钱包后,即可在您的矿机上配置相关参数,开启挖矿。", + allocationExplanation:"矿池分配及转账规则", + conditionNexa:"5000高度", + conditionRxd:"100高度", + conditionGrs:"140高度", + conditionDgbs:"40高度", + conditionDgbq:"40高度", + conditionDgbo:"40高度", + conditionMona:"100高度", + conditionAlph:"500分钟", + conditionXmr:"60高度", + conditionEnx:"", + intervalNexa:"120秒", + intervalRxd:"300秒", + intervalGrs:"60秒", + intervalDgbs:"15秒", + intervalDgbq:"15秒", + intervalDgbo:"15秒", + intervalMona:"90秒", + intervalAlph:"16秒", + intervalEnx:"1秒", + intervalXmr:"120秒", + estimatedTimeNexa:"≈ 7天", + estimatedTimeRxd:"≈ 8.3小时", + estimatedTimeGrs:"≈ 2.3小时", + estimatedTimeDgbs:"≈ 10分钟", + estimatedTimeDgbq:"≈ 10分钟", + estimatedTimeDgbo:"≈ 10分钟", + estimatedTimeMona:"≈ 2.5小时", + estimatedTimeAlph:"500分钟", + estimatedTimeEnx:"", + describeNexa:"例如1月1日获得了1000000 NEXA奖励,则该笔奖励会在大约7天之后(1月8日)支付,具体取决于实际区块高度", + describeAlph:"alph是固定成熟时间,而非区块高度", + describeGrs:"", + describeDgbs:"", + describeDgbq:"", + describeDgbo:"", + describeMona:"", + describeRxd:"", + describeEnx:"", + condition:"成熟条件", + interval:"出块间隔", + estimatedTime:"预估时间", + describe:"说明", + timeLimited:"限时", + + } +} + +export const AccessMiningPool_en = { + course: { + + NEXAcourse:"Nexa Mining Tutorial", + selectServer:"Select mining address", + serverLocation:"Server location", + difficulty:"Difficulty", + TCP:"TCP Port", + SSL:"SSL Port", + rateRelated:"Currency mining pool rate related", + currency:"Currency", + miningAddress:"Mining address", + miningFeeRate:"Mining fee rate", + settlementMode:"Revenue settlement mode", + minimumPaymentAmount:"Minimum payment amount", + notOpen:"Mining pool is not open yet, please be patient....", + RXDcourse:"Rxd Mining Tutorial", + GRScourse:"Grs Mining Tutorial", + dgbsCourse:"Dgb(skein) Mining Tutorial", + dgbqCourse:"Dgb(qubit) Mining Tutorial", + dgboCourse:"Dgb(odocrypt) Mining Tutorial", + Step1:"Step 1 - Register for an m2pool account", + accountContent1:"1. m2pool mining pool mining method for the user name mining, need to register m2pool account", + accountContent2:"2. After successfully registering an account, please go to Personal Center - Mining Accounts page to add a cryptocurrency mining account, the mining account created here is the user name you need to configure on the mining machine.", + Step2:"Step 2 - Obtain and bind the wallet address", + bindWalletText1:"1. Getting a wallet, you can get the wallet address of the coin for receiving mining proceeds in the following ways.", + bindWalletText2:"(1) Official full node wallet:", + bindWalletText3:"This type of wallet requires real-time synchronization of coin blockchain nodes.Type wallets need to synchronize coin blockchain nodes in real time.", + bindWalletText4:"(2) Exchange Wallet: Go to an exchange that supports spot trading of this coin.", + bindWalletText5:"etc., find the recharge to get your wallet.", + bindWalletText6:"(3) Hardware wallet.", + bindWalletText7:"Depends on whether your hardware wallet supports this coin blockchain or not, this type of wallet is highly secure, but not all hardware wallets support it, please know your hardware wallet carefully.", + bindWalletText8:"2. Once you have obtained your wallet address, click the Add button at the top right of the Personal Center - Mining Account page, and fill in your wallet address in the Wallet Address column.", + Step3:"Step 4 - Sit Back and Wait for the Mining Profits", + miningIncome1:"1. After you have added your mining wallet, you can configure the relevant parameters on your nexa miner and start nexa mining. Since nexa blocks need 5000 heights to mature, you need to wait for 5000 heights before you can withdraw your mining earnings (about 7 days).", + miningIncome2:"2. All your mining earnings on m2pool are automatically settled (different coins have different earnings settlement methods, please check the earnings settlement methods of the coins you choose carefully).", + rxdIncome1:"1. After you have added your mining wallet, you can configure the relevant parameters on your Rxd mining machine to enable Rxd mining.", + Adaptation:"Adaptability", + amount:"Minimum Starting Amount", + ASIC:"ASIC Miner Model", + GPU:"GPU Mining Software", + careful:"Note: If your GPU mining software or ASIC mining machine is not compatible with the m2pool, please check your GPU mining software through the", + mail:" mail ", + careful2:"Get in touch with us", + dragonBall:"DragonBall Miner A21", + dragonBallA11:"DragonBall Miner A11", + Step4:"Step 3 - Example Miner Access Parameters", + parameter:"1. Pool/Url: see above", + parameter2:"2. Wallet/User/Worker: Mining account name. Miner number (period. Separate mining account name and miner number), (username is the name of the miner you are working with in the", + parameter3:"3. Password: any input, different mining software or mining machine may have different configuration, but only need to ensure that the above three parameters are configured correctly, you can access the m2pool mining pool, if you need help, please through the", + parameter4:"Contact Us", + parameter5:" Mining address ", + parameter6:" table ", + parameter7:"Step 2 of Step 1", + parameter8:"Generated mining account (not m2pool login email number), miner number for your own definition (length not more than 36 characters), if you have more than one miner, please do not set up the same miner number, set up the same miner number will be more than one miner arithmetic will be merged, although it will not affect your revenue, but this will lead to the inability to distinguish between the different miners, it is not easy for you to the management of the miners).", + RX0:"ICERIVER RXD RX0", + dragonBallA11Move:"DragonBall Miner A11、ICERIVER RXD RX0", + notOpenCurrency:"This currency is currently not open, please be patient and wait....", + MONAcourse:"Mona Mining Tutorial", + Wallet1:"(This data is sourced from ", + Wallet2:"This website cannot fully guarantee the accuracy of this data, please carefully verify)", + general4_1:"1.After adding the mining wallet, you can configure the relevant parameters on your mining machine to enable mining.", + conditionNexa:"5000 height", + conditionRxd:"100 height", + conditionGrs:"140 height", + conditionDgbs:"40 height", + conditionDgbq:"40 height", + conditionDgbo:"40 height", + conditionMona:"100 height", + conditionAlph:"500 minutes", + conditionEnx:"", + intervalNexa:"120 seconds", + intervalRxd:"300 seconds", + intervalGrs:"60 seconds", + intervalDgbs:"15 seconds", + intervalDgbq:"15 seconds", + intervalDgbo:"15 seconds", + intervalMona:"90 seconds", + intervalAlph:"16 seconds", + intervalEnx:"1 second", + estimatedTimeNexa:"≈ 7 days", + estimatedTimeRxd:"≈ 8.3 hours", + estimatedTimeGrs:"≈ 2.3 hours", + estimatedTimeDgbs:"≈ 10 minutes", + estimatedTimeDgbq:"≈ 10 minutes", + estimatedTimeDgbo:"≈ 10 minutes", + estimatedTimeMona:"≈ 2.5 hours", + estimatedTimeAlph:" 500 minutes", + estimatedTimeEnx:"", + estimatedTimeXmr:"≈2小时", + describeNexa:"For example, if you receive a reward of 1000000 NEXA on January 1st, the reward will be paid approximately 7 days later (January 8th), depending on the actual block height", + describeAlph:"alph is a fixed maturity time, not a block height", + describeGrs:"", + describeDgbs:"", + describeDgbq:"", + describeDgbo:"", + describeMona:"", + describeRxd:"", + describeEnx:"", + describeXmr:"", + allocationExplanation:"Mining Pool Allocation and Transfer Rules", + condition:"Maturity conditions", + interval:"Chunking interval", + estimatedTime:"Estimated time", + describe:"Clarification", + ENXcourse:"Entropyx(Enx) Mining Tutorial", + timeLimited:"Time limited", + alphCourse:"Alephium(alph) Mining Tutorial", + xmrCourse:"Xmr(monero) Mining Tutorial", + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/ChatWidget.js b/mining-pool/public/src/i18n/ChatWidget.js new file mode 100644 index 0000000..2ebb503 --- /dev/null +++ b/mining-pool/public/src/i18n/ChatWidget.js @@ -0,0 +1,236 @@ +export const ChatWidget_zh = { + chat:{ + + title: '在线客服', + welcome: '欢迎使用在线客服,请问有什么可以帮您?', + placeholder: '请输入您的消息...', + send: '发送', + close: '关闭', + inputPlaceholder:"请输入您的问题...", + onlyImages:"只能上传图片文件!", + imageTooLarge:"图片大小不能超过5MB!", + imageReceived:"已收到您的图片,我们会尽快处理您的问题。", + + networkError:"网络连接已断开,请刷新页面重试", + openCustomerService:"打开客服聊天", + connectToCustomerService:"正在连接客服系统...", + connectionFailed:"连接失败,请刷新页面重试", + tryConnectingAgain:"重试连接", + loading:"加载中...", + loadMore:"加载更多历史消息", + welcomeToUse:"欢迎使用在线客服,请问有什么可以帮您?", + picture:"聊天图片", + read:"已读", + unread:"未读", + subscriptionFailed:"消息订阅失败,可能无法接收新消息", + break:"连接断开", + retry:"秒后重试", + disconnectWaiting:"断线重连中...", + sendFailed:"发送消息失败,请重试", + noHistory:"暂无历史消息", + historicalFailure:"加载历史消息失败,请重试", + loadingHistory:"正在加载更多历史消息...", + noMoreHistory:"没有更多历史消息了", + Loaded:"已加载历史消息", + newMessage:"新消息", + pictureMessage:"图片消息", + initializationFailed:"初始化失败,请刷新页面重试", + beSorry:"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。", + today:"今天", + yesterday:"昨天", + canOnlyUploadImages:"只能上传图片文件!", + imageSizeExceeded:"图片大小不能超过5MB!", + uploading:"正在上传图片...", + pictureFailed:"发送图片失败,请重试", + readImage:"读取图片失败,请重试", + processingFailed:"图片处理失败,请重试", + Disconnected:"连接已断开", + reconnecting:"正在连接...", + contactList:"联系列表", + search:"搜索最近联系人", + tourist:"游客", + important:"重要", + markAsImportant:"标记为重要", + cancelImportant:"已取消重要标记", + markingFailed:"标记操作失败,请重试", + Marked:"已标记为重要", + select:"请选择联系人", + notSelected:"您尚未选择联系人", + None:"暂无消息记录", + sendPicture:"发送图片", + inputMessage:"请输入消息,按Enter键发送,按Ctrl+Enter键换行", + bottom:"回到底部", + Preview:"预览图片", + chatRoom:"聊天室", + CLOSED:"已关闭", + picture2:"图片", + Unnamed:"未命名聊天室", + noNewsAtTheMoment:"暂无未读消息", + contactFailed:"加载更多联系人失败", + listException:"获取聊天室列表异常", + my:"我", + unknownSender:"未知发送者", + recordFailed:"加载聊天记录失败", + messageException:"加载消息异常", + chooseFirst:"请先选择联系人", + chatDisconnected:"聊天连接已断开,请刷新页面重试", + pictureSuccessful:"图片已发送", + history:"历史记录", + loadFailed:"加载失败", + guestNotice:"您当前以游客身份聊天,聊天记录将不会保存。", + guestNotice2:"后即可保存聊天记录", + loginToSave:"登录", + server500:"服务器暂时不可用,请稍后重试", + CheckNetwork:"连接失败,请检查网络后重试", + attemptToReconnect:"连接已断开,正在尝试重连...", + retryFailed:"重试连接失败,请刷新页面", + maxConnectionsError:"连接数已达上限,请刷新页面重试", + ipLimitError:"本机连接数已达上限,请刷新页面重试", + serverLimitError:"服务器连接数已达上限,请稍后刷新重试", + identityError:"用户身份设置失败,请刷新页面重试", + emailError:"用户信息获取失败,请刷新页面重试", + refreshPage:"刷新页面", + reconnectSuccess:"重新连接成功", + sendMessageEmpty:"发送消息不能为空", + unableToSubscribe:"连接状态异常,刷新页面重试", + conflict:"连接异常,可能是多窗口冲突,请关闭其他窗口重试", + abnormal:"连接异常", + networkAnomaly:"网络连接异常", + customerServiceOffline:"客服离线,请登录账号发送留言消息", + contentMax:"超出发送内容大小限制,请删除部分内容(300字以内)", + failInSend:"发送失败,请重试", + connectionLimitError:"连接数已达上限,请关闭一些窗口后刷新重试", + serverBusy:"服务器繁忙,请稍后刷新重试", + connectionTimedOut:"连接超时,稍后重试...", + reconnectFailed:"重连失败,请稍后重试", + serviceConfigurationError:"服务配置异常,请稍后重试", + serviceAddressUnavailable:"服务地址不可用,请稍后重试", + connectionFailedService:"无法连接到服务器,请稍后重试", + connectionFailedCustomer:"连接客服系统失败,请检查网络或稍后重试", + logoutSyncNotice:"检测到您已在其他窗口退出登录,当前窗口将自动跳转", + }, + + +} + +export const ChatWidget_en = { + + + chat:{ + title: 'Online Customer Service', + welcome: 'Welcome to the online customer service, what can I help you with?', + placeholder: 'Please enter your message...', + send: 'Send', + close: 'Close', + inputPlaceholder:"Please enter your question...", + onlyImages:"Only image files can be uploaded!", + imageTooLarge:"The image size cannot exceed 5MB!", + imageReceived:"We have received your image, and we will handle your question as soon as possible.", + + networkError: "Network disconnected, please refresh page", + openCustomerService: "Open customer service chat", + connectToCustomerService: "Connecting to customer service...", + connectionFailed: "Connection failed, please refresh page", + tryConnectingAgain: "Retry connection", + loading: "Loading...", + loadMore: "Load more history", + welcomeToUse: "Welcome to online service, how can I help you?", + picture: "Chat image", + read: "Read", + unread: "Unread", + subscriptionFailed: "Message subscription failed", + break: "Connection lost", + retry: "Retry in seconds", + disconnectWaiting: "connecting...", + sendFailed: "Send failed, please retry", + noHistory: "No history", + historicalFailure: "Failed to load history", + loadingHistory: "Loading more history...", + noMoreHistory: "No more history", + Loaded: "History loaded", + newMessage: "New message", + pictureMessage: "Image message", + initializationFailed: "Initialization failed, please refresh", + beSorry: "Sorry, I cannot answer this. Please wait for agent or submit ticket", + today: "Today", + yesterday: "Yesterday", + canOnlyUploadImages: "Only image files allowed", + imageSizeExceeded: "Image size exceeds 5MB", + uploading: "Uploading image...", + pictureFailed: "Failed to send image", + readImage: "Failed to read image", + processingFailed: "Image processing failed", + Disconnected: "Disconnected", + reconnecting: "Reconnecting...", + contactList: "Contact list", + search: "Search contacts", + tourist: "Guest", + important: "Important", + markAsImportant: "Mark as important", + cancelImportant: "Unmarked as important", + markingFailed: "Marking failed", + select: "Select contact", + notSelected: "No contact selected", + None: "No messages", + sendPicture: "Send image", + inputMessage: "Type message, Enter to send, Ctrl+Enter for new line", + bottom: "to bottom", + Preview: "Preview image", + chatRoom: "Chat room", + CLOSED: "Closed", + picture2: "Image", + Unnamed: "Unnamed chat", + noNewsAtTheMoment: "No unread messages", + contactFailed: "Failed to load contacts", + listException: "Failed to get chat list", + my: "Me", + unknownSender: "Unknown sender", + recordFailed: "Failed to load chat records", + messageException: "Failed to load messages", + chooseFirst: "Please select contact first", + chatDisconnected: "Chat disconnected, please refresh", + pictureSuccessful: "Image sent", + history:"History", + loadFailed:"Load Fail", + Marked:"Marked as important", + guestNotice:"You are currently chatting as a guest, and your chat history will not be saved.", + guestNotice2:" to save chat history", + loginToSave:"Login", + server500:"The server is temporarily unavailable, please try again later", + CheckNetwork:"Connection failed, please check the network and try again", + attemptToReconnect:"Connection lost, attempting to reconnect...", + retryFailed:"Retry connection failed, please refresh page", + maxConnectionsError:"Connection limit reached, please refresh page", + ipLimitError:"Connection limit reached, please refresh page", + serverLimitError:"Connection limit reached, please try again later", + identityError:"Failed to set user identity, please refresh page", + emailError:"Failed to get user information, please refresh page", + refreshPage:"Refresh page", + reconnectSuccess:"Reconnect successfully", + sendMessageEmpty:"Message cannot be empty", + unableToSubscribe:"Connection status abnormal, please refresh the page", + conflict:"Connection exception, possibly due to multiple window conflicts, please close other windows and try again", + abnormal:"Connection exception", + networkAnomaly:"Network connection exception", + customerServiceOffline:"Customer service offline, please login to send message", + contentMax:"Content exceeds the size limit, please delete some content(300 characters or less)", + failInSend:"Failed to send, please try again", + connectionLimitError:"Connection limit reached, please close some windows and refresh to try again", + serverBusy:"Server busy, please refresh later", + connectionTimedOut:"Connection timed out, please try again later", + reconnectFailed:"Reconnect failed, please try again later", + serviceConfigurationError:"Service configuration exception, please try again later", + serviceAddressUnavailable:"Service address unavailable, please try again later", + connectionFailedService:"Failed to connect to the server, please try again later", + connectionFailedCustomer:"Failed to connect to the customer service system, please check the network or try again later", + + + + + + + + + +} + } \ No newline at end of file diff --git a/mining-pool/public/src/i18n/ServiceTerms.js b/mining-pool/public/src/i18n/ServiceTerms.js new file mode 100644 index 0000000..a973262 --- /dev/null +++ b/mining-pool/public/src/i18n/ServiceTerms.js @@ -0,0 +1,64 @@ +export const serviceTerms_zh = { + ServiceTerms: { + title:"服务条款内容", + title1:"一、总则", + clauseTotal1:"1.欢迎访问 M2pool 矿池网站(以下简称“本网站”)。使用本网站的服务(以下简称“服务”),即表示您同意遵守以下服务条款(以下简称“条款”)。", + clauseTotal2:"2.请仔细阅读以下条款,如果您点击 “注册 ”按钮或查看、使用这些服务,即视为您已阅读并同意本服务条款及其所有附加条款。如果你不接受服务条款的限制,请不要查看或使用服务。", + clauseTotal3:"3.我们保留随时修改这些条款的权利,修改后的条款将在网站上公布。您继续使用服务即表示您接受修改后的条款。", + clauseTotal4:"4.我们希望您能定期查看本条款,以确保您已确认适用于您查看和使用的条款和条件。本条款及附加条款可供您查看,并可用于使用我们提供的任何服务,包括但不限于以下网站:https://www.m2pool.com/(以下简称 “本网站”)。", + title2:"二、服务说明", + clauseService1:"1.我们的服务旨在为用户提供数字货币挖矿相关的资源和支持,但不保证挖矿的收益或成功。", + clauseService2:"2.服务可能会因维护、升级或其他原因而暂时中断,我们将尽力提前通知用户,但不对此类中断造成的损失负责。", + clauseService3:"3.M2Pool 不向以下司法管辖区的个人或实体提供服务:阿富汗、白俄罗斯、中非共和国、刚果民主共和国、几内亚比绍、古巴、伊朗、伊拉克、朝鲜、利比亚、黎巴嫩、马里、叙利亚、委内瑞拉和津巴布韦。受限制的司法管辖区还包括M2pool选择不运营的任何国家/地区,包括但不限于阿尔及利亚、安哥拉、孟加拉国、中国、埃及、海地、科索沃、科威特、摩洛哥、俄罗斯、尼泊尔、索马里、南苏丹、苏丹、也门和新加坡。", + clauseService4:" 通过访问和使用 M2Pool 服务,您声明并保证您不位于、不在上述任何国家/地区设立或不是上述任何国家的居民。M2Pool 保留自行决定限制或拒绝某些国家/地区提供服务的权利。如果 M2Pool 确定(自行决定)用户是指定国家/地区的居民,M2Pool 可能会冻结或终止这些帐户。", + title3:"三、用户资格", + clauseUser1:"1.您必须达到法定年龄并具备完全民事行为能力才能使用本服务。", + clauseUser2:"2.您保证所提供的注册信息真实、准确、完整,并及时更新,您可以使用电子邮件地址我们允许的其他方式登录 M2Pool。如果您提供的注册信息不正确,我们将不承担任何责任。您将遭受任何直接或间接的损失和不利后果。", + clauseUser3:"3.您应是具有完全行为能力和民事权利能力的法人、公司或其他组织。否则,您或您的监护人应承担一切后果。我们有权注销或永久中止您的账户,并要求您赔偿。", + title4:"四、用户责任", + clauseResponsibility1:"1.您应遵守所有适用的国家法律、法规等规范性文件及本规则的规定和要求,包括但不限于与数字货币挖矿相关的法律。不违反社会公共利益或公共道德,不损害他人合法权益,不偷逃应纳税款,不违反本规定及相关规则。如果您违反上述承诺并产生任何法律后果,您应自行承担所有法律责任,并确保我们免受任何损失。", + clauseResponsibility2:"2.您不得利用本服务从事任何非法、欺诈、有害或侵犯他人权利的活动。", + clauseResponsibility3:"3.您对自己的挖矿设备和网络连接负责,确保其符合相关要求并正常运行。", + clauseResponsibility4:"4.您必须对您的M2Pool用户名和密码以及在您的用户名、M2Pool密码下发生的所有活动(包括但不限于信息披露和发布、在线点击同意或提交各种规则和协议、在线协议续签或购买服务、账户设置等)的保密性负责。", + clauseResponsibility5:"5.如果任何人未经认证使用您的M2pool邮箱、账号等登录本网站,我们不对您因违反本条款而造成的任何损失负责。", + title5:"五、费用与支付", + clausePayment1:"1.我们可能会根据服务内容收取一定的费用,具体费用标准将在网站上公布。", + clausePayment2:"2.您同意按照规定的支付方式和时间支付费用,逾期未支付可能导致服务暂停或终止。", + clausePayment3:"3.您在使用本服务时所产生的应纳税额以及所有硬件、软件、服务或其他方面的费用均由您自行承担。", + title6:"六、收益与分配", + clauseProfit1:"1.挖矿收益将根据我们的分配机制进行分配,但不保证收益的稳定性和固定性。", + clauseProfit2:"2.我们有权根据实际情况调整分配机制,但会提前通知用户。", + title7:"七、数据与隐私", + clausePrivacy1:"1.我们会收集和使用您在使用服务过程中产生的相关数据,但会严格遵守隐私政策保护您的隐私。", + clausePrivacy2:"2.您同意我们对数据的收集、使用和处理,以提供和改进服务。", + title8:"八、知识产权", + clausePropertyRight1:"1.本网站的所有内容,包括但不限于商标、版权、专利等,均归本公司或相关权利人所有。", + clausePropertyRight2:"2.未经授权,您不得复制、修改、传播或使用本网站的任何知识产权。", + title9:"九、免责声明", + clauseDisclaimer1:"1.对于因不可抗力、系统故障、网络问题等导致的服务中断或数据丢失,我们不承担责任。", + clauseDisclaimer2:"2.对于您因使用本服务而产生的任何直接、间接、偶然、特殊或后果性的损失,包括但不限于挖矿收益损失、设备损坏等,我们不承担赔偿责任。", + title10:"十、终止服务", + clauseTermination1:"1.我们有权在以下情况下终止您的服务:违反本条款、法律法规、损害本公司或其他用户的利益。", + clauseTermination2:"2.服务终止后,您的相关数据可能会被删除或保留,具体处理方式将根据法律法规和公司政策执行。", + title11:"十一、法律适用与争议解决", + clauseLaw1:"1.本条款受新加坡法律的管辖。", + clauseLaw2:"2.如发生争议,双方应通过友好协商解决;协商不成的,可向有管辖权的法院提起诉讼。", + loadingText:"正在加载文档内容...", + noContent:"暂无自定义文档内容", + + } +} + +export const serviceTerms_en = { + ServiceTerms: { + "title": "Content of Service Terms", + "title1": "1、 General Provisions", + "clauseTotal1": "Welcome to the M2pool mining pool website (hereinafter referred to as \"this website\"). By using the services of this website (hereinafter referred to as the \"Services\"), you agree to comply with the following terms of service (hereinafter referred to as the \"Terms\").", "clauseTotal2": "2. Please carefully read the following terms. If you click the \"Register\" button or view or use these services, it is deemed that you have read and agreed to these terms of service and all its additional terms. If you do not accept the limitations of the terms of service, please do not view or use the service.", "clauseTotal3": "3. We reserve the right to modify these terms at any time, and the modified terms will be published on the website. By continuing to use the service, you accept the revised terms.", "clauseTotal4": "4. We hope that you can regularly review these terms to ensure that you have confirmed the terms and conditions applicable to your viewing and use. These terms and additional terms are available for your review and can be used to use any services we provide, including but not limited to the following websites: https://www.m2pool.com/ (hereinafter referred to as \"this website\").", "title2": "2、 Service Description", "clauseService1": "Our service aims to provide users with resources and support related to cryptocurrency mining, but we do not guarantee the profits or success of mining.", + "clauseService2": "2. The service may be temporarily interrupted due to maintenance, upgrades, or other reasons. We will do our best to notify users in advance, but we are not responsible for any losses caused by such interruptions.", + "clauseService3": "3.M2Pool does not provide services to individuals or entities in the following jurisdictions: Afghanistan, Belarus, Central African Republic, Democratic Republic of the Congo, Guinea Bissau, Cuba, Iran, Iraq, North Korea, Libya, Lebanon, Mali, Syria, Venezuela and Zimbabwe. Restricted jurisdictions also include any country/territory in which M2pool chooses not to operate, including but not limited to Algeria, Angola, Bangladesh, China, Egypt, Haiti, Kosovo, Kuwait, Morocco, Russia, Nepal, Somalia, South Sudan, Sudan, Yemen and Singapore.", + "title3": "3、 User Qualification", + "clauseUser1": "1. You must be of legal age and have full capacity for civil conduct to use this service.", "clauseUser2": "2. You guarantee that the registration information provided is true, accurate, complete, and updated in a timely manner. You can log in to M2Pool using other methods allowed by our email address. If the registration information you provide is incorrect, we will not be held responsible. You will suffer any direct or indirect losses and adverse consequences.", "clauseUser3": "3. You should be a legal person, company, or other organization with full capacity for conduct and civil rights. Otherwise, you or your guardian shall bear all consequences. We have the right to cancel or permanently suspend your account and demand compensation from you.", "title4": "4、 User Responsibility", "clauseResponsibility1": "1. You shall comply with all applicable national laws, regulations and normative documents, as well as the provisions and requirements of these rules, including but not limited to laws related to digital currency mining. Not violating the public interest or public morality, not harming the legitimate rights and interests of others, not evading taxes, and not violating these regulations and related rules. If you violate the above commitments and incur any legal consequences, you shall bear all legal responsibilities on your own and ensure that we are free from any losses.", "clauseResponsibility2": "2. You are not allowed to engage in any illegal, fraudulent, harmful, or infringing activities using this service.", "clauseResponsibility3": "3. You are responsible for your mining equipment and network connection, ensuring that it meets relevant requirements and operates normally.", "clauseResponsibility4": "4. You are responsible for the confidentiality of your M2Pool username and password, as well as all activities that occur under your username and M2Pool password (including but not limited to information disclosure and publication, online click to agree or submit various rules and agreements, online agreement renewal or purchase of services, account settings, etc.).", "clauseResponsibility5": "5. If anyone uses your M2pool email, account, etc. to log in to this website without authentication, we will not be responsible for any losses caused by your violation of these terms.", "title5": "5、 Fees and Payment", "clausePayment1": "We may charge a certain fee based on the service content, and the specific fee standard will be announced on the website.", "clausePayment2": "2. You agree to pay the fees according to the prescribed payment method and time. Failure to pay on time may result in the suspension or termination of the service.", "clausePayment3": "3. The taxable amount and all hardware, software, service or other expenses incurred by you when using this service shall be borne by you.", "title6": "6、 Income and distribution", "clauseProfit1": "1. Mining profits will be distributed according to our distribution mechanism, but we do not guarantee the stability and stability of the profits.", "clauseProfit2": "2. We have the right to adjust the allocation mechanism according to the actual situation, but we will notify users in advance.", "title7": "7、 Data and Privacy", "clausePrivacy1": "1. We will collect and use relevant data generated during your use of the service, but we will strictly comply with the privacy policy to protect your privacy.", "clausePrivacy2": "2. You agree to our collection, use, and processing of data to provide and improve services.", "title8": "8、 Intellectual Property", "clausePropertyRight1": "All content on this website, including but not limited to trademarks, copyrights, patents, etc., belongs to our company or relevant rights holders.", "clausePropertyRight2": "2. Without authorization, you are not allowed to copy, modify, disseminate or use any intellectual property of this website.", "title9": "9、 Disclaimer", "clauseDisclaimer1": "We are not responsible for service interruptions or data loss caused by force majeure, system failures, network issues, etc.", "clauseDisclaimer2": "2. We are not liable for any direct, indirect, incidental, special or consequential losses incurred by you as a result of using this service, including but not limited to mining revenue loss, equipment damage, etc.", "title10": "10、 Termination of Service", "clauseTermination1": "We have the right to terminate your service in the following circumstances: violation of these terms, laws and regulations, or damage to the interests of our company or other users.", "clauseTermination2": "After the termination of the service, your relevant data may be deleted or retained, and the specific processing method will be implemented in accordance with laws, regulations, and company policies.", "title11": "11、 Application of Law and Dispute Resolution", "clauseLaw1": "1. This clause is governed by the laws of Singapore.", "clauseLaw2": "2. In the event of a dispute, both parties shall resolve it through friendly consultation; If the negotiation fails, a lawsuit may be filed with a court with jurisdiction.", + loadingText:"Loading document content...", + noContent:"No custom document content", + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/alerts.js b/mining-pool/public/src/i18n/alerts.js new file mode 100644 index 0000000..c0fabbb --- /dev/null +++ b/mining-pool/public/src/i18n/alerts.js @@ -0,0 +1,41 @@ +export const alerts_zh = { + alerts: { + Alarm: "离线警报设置", + beCareful:"矿机离线时,会通过以下对应邮箱通知您。", + beCareful1:" 每个账号最多添加三个邮箱。", + add:"添加邮箱", + addAlarmEmail:"添加告警邮箱", + modifyRemarks:"修改备注", + deleteRemind:"确认删除吗?", + addedSuccessfully:"添加成功", + modifiedSuccessfully:"修改成功", + deleteSuccessfully:"删除成功", + modificationReminder:"修改备注内容不能为空", + acquisitionFailed:"信息获取失败,请重新进入该页面", + more:"更多", + alarmNotification:"离线警报", + alarmMove:"警报", + turnOffReminder:"暂未开放该功能,请耐心等待..", + } +} + +export const alerts_en = { + alerts: { + Alarm: "Offline alarm settings", + beCareful:"When the mining machine is offline, you will be notified through the corresponding email address below.", + beCareful1:"Each account can add up to three email addresses.", + add:"Add Email", + addAlarmEmail:"Add alarm email", + modifyRemarks:"Modify remarks", + deleteRemind:"Are you sure to delete?", + addedSuccessfully:"Added successfully", + modifiedSuccessfully:"Modified successfully", + deleteSuccessfully:"Delete successfully", + modificationReminder:"The modified remarks cannot be empty", + acquisitionFailed:"Information retrieval failed, please re-enter the page", + more:"More", + alarmNotification:"Offline Alert", + alarmMove:"Alarm", + turnOffReminder:"This feature has not been opened yet, please be patient and wait..", + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/announcements.js b/mining-pool/public/src/i18n/announcements.js new file mode 100644 index 0000000..87cfbd8 --- /dev/null +++ b/mining-pool/public/src/i18n/announcements.js @@ -0,0 +1,190 @@ +/** + * 公告中心页面国际化文件 + * 包含公告中心页面相关的中英文翻译 + */ + +// 中文翻译 +export const announcements_zh = { + // 页面标题和导航 + title: '公告中心', + latestTitle: '最新公告', + searchPlaceholder: '搜索', + + // 面包屑导航 + homeCenter: '首页中心', + + // 公告相关 + viewAll: '查看所有', + articles: '篇文章', + noData: '暂无公告', + loadError: '加载公告失败', + + // 公告类型 + importantNotice: '重要通知', + systemAnnouncement: '系统公告', + marketDynamic: '市场动态', + serviceNotice: '服务通知', + faultDescription: '故障说明', + offlineNotice: '下线通知', + + // 时间相关 + today: '今天', + yesterday: '昨天', + daysAgo: '天前', + + // 操作 + back: '返回', + refresh: '刷新', + search: '搜索', + reset: '重置', + + // 分页 + total: '共', + page: '页', + items: '条', + goToPage: '跳至', + + // 错误信息 + networkError: '网络连接失败,请检查网络设置', + serverError: '服务器异常,请稍后重试', + dataError: '数据加载失败', + + // 提示信息 + searchTip: '请输入关键词进行搜索', + noSearchResult: '未找到相关公告', + loadingTip: '正在加载...', + + // 公告状态 + published: '已发布', + draft: '草稿', + archived: '已归档', + + // 公告详情 + detail: '详情', + content: '内容', + publishTime: '发布时间', + updateTime: '更新时间', + author: '作者', + category: '分类', + tags: '标签', + readCount: '阅读量', + + // 操作按钮 + viewDetail: '查看详情', + share: '分享', + favorite: '收藏', + print: '打印', + download: '下载', + + // 筛选和排序 + filter: '筛选', + sort: '排序', + sortByTime: '按时间排序', + sortByPopularity: '按热度排序', + filterByType: '按类型筛选', + filterByDate: '按日期筛选', + allTypes: '全部类型', + allDates: '全部日期', + + // 高级搜索 + advancedSearch: '高级搜索', + searchByTitle: '按标题搜索', + searchByContent: '按内容搜索', + searchByAuthor: '按作者搜索', + dateRange: '日期范围', + startDate: '开始日期', + endDate: '结束日期' +}; + +// 英文翻译 +export const announcements_en = { + // 页面标题和导航 + title: 'Announcement Center', + latestTitle: 'Latest Announcements', + searchPlaceholder: 'Search', + + // 面包屑导航 + homeCenter: 'Home Center', + + // 公告相关 + viewAll: 'View All', + articles: 'Articles', + noData: 'No announcements', + loadError: 'Failed to load announcements', + + // 公告类型 + importantNotice: 'Important Notice', + systemAnnouncement: 'System Announcement', + marketDynamic: 'Market Dynamic', + serviceNotice: 'Service Notice', + faultDescription: 'Fault Description', + offlineNotice: 'Offline Notice', + + // 时间相关 + today: 'Today', + yesterday: 'Yesterday', + daysAgo: 'days ago', + + // 操作 + back: 'Back', + refresh: 'Refresh', + search: 'Search', + reset: 'Reset', + + // 分页 + total: 'Total', + page: 'Page', + items: 'Items', + goToPage: 'Go to', + + // 错误信息 + networkError: 'Network connection failed, please check network settings', + serverError: 'Server error, please try again later', + dataError: 'Data loading failed', + + // 提示信息 + searchTip: 'Please enter keywords to search', + noSearchResult: 'No related announcements found', + loadingTip: 'Loading...', + + // 公告状态 + published: 'Published', + draft: 'Draft', + archived: 'Archived', + + // 公告详情 + detail: 'Detail', + content: 'Content', + publishTime: 'Publish Time', + updateTime: 'Update Time', + author: 'Author', + category: 'Category', + tags: 'Tags', + readCount: 'Read Count', + + // 操作按钮 + viewDetail: 'View Detail', + share: 'Share', + favorite: 'Favorite', + print: 'Print', + download: 'Download', + + // 筛选和排序 + filter: 'Filter', + sort: 'Sort', + sortByTime: 'Sort by Time', + sortByPopularity: 'Sort by Popularity', + filterByType: 'Filter by Type', + filterByDate: 'Filter by Date', + allTypes: 'All Types', + allDates: 'All Dates', + + // 高级搜索 + advancedSearch: 'Advanced Search', + searchByTitle: 'Search by Title', + searchByContent: 'Search by Content', + searchByAuthor: 'Search by Author', + dateRange: 'Date Range', + startDate: 'Start Date', + endDate: 'End Date' +}; \ No newline at end of file diff --git a/mining-pool/public/src/i18n/apiFile.js b/mining-pool/public/src/i18n/apiFile.js new file mode 100644 index 0000000..8fc39fe --- /dev/null +++ b/mining-pool/public/src/i18n/apiFile.js @@ -0,0 +1,117 @@ +export const api_zh = { + apiFile: { + file: "M2pool API 文档", + leftMenu: "API 文档 V1", + survey: "概况", + survey1: "用户可以通过 m2pool 提供的 API 接口,获取矿池、帐户的算力。", + survey2: "本文档主要用于说明如何使用 m2pool 的 API接口,内容主要包括API的认证token生成以及API接口调用和返回数据结构。如果在调用 API 的返回值中,出现本文档中没有描述的字段,则说明这些字段为保留字段或是被弃用,请直接忽略。", + apiAuthentication: "API 认证", + apiAuthentication1: "查询 API 时需要提供由账号生产的具有对应权限的 token ,才能正常得到结果。用户可通过 m2pool 个人中心的", + apiAuthentication5:"API页面", + apiAuthentication6:"获取(请求 token 时可以根据需求自行勾选权限,可选权限分别为公共矿池数据查询接口调用权限、挖矿账户数据查询接口调用权限、矿机数据查询接口调用权限)。", + apiAuthentication2: "在请求 API 时,将前面获取到的 token 放在 HTTP 请求Header 的API-KEY属性中即可完成认证。", + apiAuthentication3: "请求API的IP要和获取API时的IP一致,且不能是本网站申明的禁止访问国家/地区的IP。", + apiAuthentication4: "例如:", + url: "示例url", + explain: "说明", + explain1: "获取某币种的矿池详情,包括矿池在线矿工数、最近7天的矿池算力、矿池当前算力、矿池最新高度、矿池费用、矿池提现起付额等", + explain2: "获取某币种历史算力信息。start和end最多相差3个月", + explain3: "当发生错误的时候,会返回给统一格式的数据", + explain4: "错误描述", + explain5: "当成功时返回同意格式的数据,数据具体字段见具体接口说明", + explain6: "API 中 coin 字段可目前仅取值支持:nexa", + miningPoolInformation: "矿池信息", + miningPoolInformation1: "公共结构", + miningPoolInformation2: "算力数据", + name: "名称", + type: "类型", + remarks: "备注", + Explain: "解释", + powerStatistics: "算力统计时间", + power: "算力", + minersNum: "矿工数量数据", + totalMiners: "总矿工数", + onLineMiners: "在线矿工数", + offLineMiners: "离线矿工数", + overviewOfMiningPool: "矿池总览", + jurisdiction: "所需权限", + parameter: "请求参数", + currency: "币种", + response: "响应参数", + serviceCharge: "矿池手续费", + minimumPaymentAmount: "起付额", + latelyPower24h: "最近七天算力(24h平均)", + Power24h: "矿池最新算力(24h平均)", + height: "矿池当前高度", + currentMiners: "矿池当前矿工数", + eachState: "各状态矿工数量", + realTimePower: "矿池实时算力", + averagePower30m: "当前30m平均算力", + averagePower24h: "当前24h平均算力", + Company: "单位", + historyPower: "矿池总览历史算力", + start: "开始时间", + start2: "格式yyyy-MM-dd 与end相差最多三个月", + end: "结束时间", + end2: "格式yyyy-MM-dd 与star相差最多三个月", + historyPower30m: "30m平均算力历史记录", + historyPower24h: "24h平均算力历史记录", + miningAccount: "挖矿账号信息", + minerData: "矿工数量数据", + stateData: "矿工状态数据", + minerId: "矿工号", + minerStatus: "矿工状态", + minerStatus0: "0 代表在线", + minerStatus1: "1 代表离线", + minerStatus2: "2 代表异常状态", + overviewOfMiners: "挖矿账号下矿工总览", + accountApiKey: "该API-KEY绑定账号下的挖矿账号名", + allMiners: "挖矿账号下所有矿工", + realTimeAccount: "挖矿账号实时算力", + account24h: "挖矿账号历史24h平均算力", + account24h30m: "挖矿账号最近24h算力(30m平均算力)", + average24h30m: "最近24h的30m平均算力", + miningMachineInformation: "矿机信息", + realTimeMiningMachine: "指定矿机实时算力", + aCertainMiner: "挖矿账户下对应的某矿工号", + miningMachineHistory24h: "指定矿机历史24h平均算力", + realTimeMiningMachine24h30m: "指定矿机最近24h算力(30m平均算力)", + } +} + +export const api_en = { + apiFile: { + file: "M2pool API documentation", + leftMenu: "API documentation V1", + "survey": "survey", + "survey1": "Users can obtain the computing power of mining pools and accounts through the API interface provided by m2pool.", + "survey2": "This document is mainly used to explain how to use the API interface of m2pool, including the generation of authentication tokens for the API, API interface calls, and the return of data structures. If fields not described in this document appear in the return value of API calls, it indicates that these fields are reserved or abandoned, please ignore them directly.", + "apiAuthentication": "API certification", + "apiAuthentication1": "When querying the API, it is necessary to provide a token produced by the account with corresponding permissions in order to obtain normal results. Users can access the m2pool personal center through", + "apiAuthentication2": "When requesting an API, place the token obtained earlier in the API-KEY attribute of the HTTP request header to complete authentication.", "apiAuthentication3": "The IP address requested for the API must be consistent with the IP address used to obtain the API, and cannot be the IP address of the prohibited country/region declared by this website.", + "apiAuthentication4": "For example:", + "url": "Example URL", + "explain": "explain", + "explain1": "Get the details of a mining pool for a certain currency, including the number of online miners in the pool, the computing power of the mining pool in the past 7 days, the current computing power of the mining pool, the latest height of the mining pool, mining pool fees, and the minimum withdrawal amount of the mining pool", + "explain2": "Obtain historical computing power information for a certain currency. The maximum difference between start and end is 3 months", + "explain3": "When an error occurs, data in a unified format will be returned", "explain4": "Error description", + "explain5": "When successful, return data in the agreed format. Please refer to the specific interface instructions for the specific fields of the data", + "explain6": "The coin field in the API currently only supports values such as nexa", + "miningPoolInformation": "Mining Pool Information", + "miningPoolInformation1": "Public Structure", + "miningPoolInformation2": "Computing power data", + "name": "name", "type": "type", + "remarks": "remarks", + "powerStatistics": "Computing power statistics time", + "power": "Computing power", + "minersNum": "Number of miners data", + "totalMiners": "Total number of miners", + "onLineMiners": "Number of online miners", + "offLineMiners": "Number of offline miners", + Explain: "explain", + "overviewOfMiningPool": "Overview of Mining Pool", "jurisdiction": "Required permissions", "parameter": "Request parameters", "currency": "currency", "response": "Response parameters", "serviceCharge": "Mining pool handling fee", "minimumPaymentAmount": "Minimum payment amount", "latelyPower24h": "Last seven days' computing power (24-hour average)", "Power24h": "Latest computing power of mining pool (24-hour average)", "height": "The current height of the mining pool", "currentMiners": "The current number of miners in the mining pool", "eachState": "Number of miners in each state", "realTimePower": "Real time computing power of mining pool", "averagePower30m": "Current average computing power of 30m", "averagePower24h": "Current 24-hour average computing power", "Company": "Company", "historyPower": "Overview of Mining Pool Historical Computing Power", "start": "start time", "start2": "Format yyyy MM dd differs from end by up to three months", "end": "End time", "end2": "Format yyyy MM dd differs from star by up to three months", "historyPower30m": "30m average computing power historical record", "historyPower24h": "24-hour average computing power history record", "miningAccount": "Mining account information", "minerData": "Number of miners data", "stateData": "Miner status data", "minerId": "Miner ID", "minerStatus": "Miner status", "minerStatus0": "0 represents online", "minerStatus1": "1 represents offline", "minerStatus2": "2 represents abnormal state", "overviewOfMiners": "Overview of miners under mining accounts", "accountApiKey": "The mining account name under the API-KEY bound account", "allMiners": "All miners under the mining account", "realTimeAccount": "Real time computing power of mining accounts", "account24h": "24-hour average computing power of mining account history", "account24h30m": "Mining account's computing power in the past 24 hours (average computing power of 30m)", "average24h30m": "The average computing power of 30m in the past 24 hours", "miningMachineInformation": "Mining machine information", "realTimeMiningMachine": "Specify the real-time computing power of the mining machine", "aCertainMiner": "The corresponding miner account under the mining account", "miningMachineHistory24h": "Specify the average computing power of the mining machine in the past 24 hours", "realTimeMiningMachine24h30m": "Designated mining machine's computing power in the past 24 hours (average computing power of 30m)", + apiAuthentication5:"API page", + apiAuthentication6:"Obtain (When requesting tokens, you can check the permissions according to your needs, and the optional permissions are public mining pool data query interface call permission, mining account data query interface call permission, and mining machine data query interface call permission).", + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/backendSystem.js b/mining-pool/public/src/i18n/backendSystem.js new file mode 100644 index 0000000..e785e5e --- /dev/null +++ b/mining-pool/public/src/i18n/backendSystem.js @@ -0,0 +1,341 @@ +export const backendSystem_zh = { + backendSystem: { + title: "后台管理系统", + broadcast: "广播", + userManagement: "用户管理", + workOrder: "工单管理", + workOrderRecord: "工单记录", + userComputingPower: "用户算力", + addBroadcast: "新增广播", + editBroadcast: "修 改", + publishedBroadcast: "已发布广播", + createTime: "创建时间", + content: "内容", + createUser: "创建人", + updateTime: "修改时间", + updateUser: "修改人", + operation: "操作", + edit: "编辑", + exceedingInput:"超出输入最大限制", + deleteRemind:"确定删除该广播吗?", + deleteSuccess:"删除成功", + editSuccess:"修改成功", + addSuccess:"发布成功", + cancel:"取 消", + publish:"发 布", + logout:"退出", + editContent:"修改广播内容", + dialogTitle:"新增广播内容", + pleaseInputContent:"请输入广播内容", + pleaseInputContent2:"请输入内容", + newlineInvalid:"广播内容输入换行符无效", + onlineUserNum:"在线数量", + offlineUserNum:"离线数量", + userPower:"用户算力", + chartTitle:"用户算力及在离线状态图", + noData:"无数据", + startDate:"开始日期", + endDate:"结束日期", + to:"至", + userDetails:"用户详情", + return:"返回", + coin:"币种:", + user:"挖矿账户:", + amount:"交易金额:", + createDate:"收益分配日期", + maxHeight:"最大高度", + shouldOutDate:"实际转账日期", + address:"转账地址", + historyAddress:"历史支付地址:", + + userManagementTitle:"注册用户管理", + pleaseInput:"请输入", + email:"邮箱:", + email2:"邮箱", + query:"查询", + coin2:"币种", + amount2:"最小起付金额", + status2:"用户状态", + minerUser2:"挖矿账号", + balance2:"支付地址", + active2:"是否自动提现", + normal:"正常", + delete:"删除", + yes:"是", + no:"否", + Details:"详情", + sendEmail:"发送邮件", + sendSuccess:"发送成功", + sendFail:"发送失败", + sendRemind:"确定发送邮件吗?", + recipient:"收件人", + subject:"邮件主题", + text:"邮件内容", + send:"发送", + emailRemind:"可输入多个邮箱,用逗号隔开", + pleaseInputCorrectEmail:"请输入正确的邮箱地址", + pleaseInputSubject:"请输入邮件主题", + pleaseInputText:"请输入邮件内容", + pleaseInputCorrectEmail2:"请输入正确的邮箱地址,多个邮箱用逗号分隔", + existDuplicateEmail:"存在重复邮箱,请检查", + pleaseInputQueryConditions:"请输入查询条件(挖矿账号、邮箱)", + emailContent:"邮件内容", + leftNavigation:"选择左侧导航栏查看页面", + broadcastPause:"广播已暂停,移开鼠标继续滚动", + broadcastResume:"鼠标悬停可暂停滚动", + transactionAmount:"交易金额", + walletBalance:"钱包余额", + bthContent:"广播按钮内容(输入多个按钮,用逗号隔开):", + bthContent2:"广播按钮内容", + bthPath:"按钮对应跳转页面路径(根据按钮数量顺序输入):", + bthPath2:"按钮对应跳转页面路径", + broadcastContent:"广播内容:", + bthPathStandard:"跳转路径以逗号分隔,最多5个(例:/reportBlock,/miningAccount,/personalMining,/workOrderRecords,/UserWorkDetails),输入换行符无效", + pleaseInputButtonContentAndPath:"请输入广播按钮内容和跳转路径", + max5:"跳转路径最多输入5个", + invalidPath:"无效的跳转地址", + invalidPathSuggestions:"建议使用", + pathNumberNotMatch:"按钮数量和路径数量不匹配", + documentManagement:"文档管理", + addDocument:"新增文档", + allocationAmount:"分配金额", + transferAmount:"转账金额", + updateSuccess:"修改成功", + publishArticle:"发布文章", + pleaseInputKeyword:"请输入搜索内容", + pleaseInputType:"请选择文档类型", + pleaseSelect:"请选择", + miningTutorial:"挖矿教程", + commonProblems:"常见问题", + other:"其他", + announcementCenter:"公告中心", + search:"搜索", + recommendContent:"推荐内容", + recentActivities:"最近活动", + viewMore:"查看更多活动公告", + documentType:"文档类型", + documentTitle:"文档标题", + wangeditor:"wangeditor 富文本文档编辑器", + insertAnchor:"插入锚点", + previewDocument:"预览文档", + saveDocument:"保存文档", + publishDocument:"发布文档", + reset:"重置", + documentConfiguration:"文档配置", + navigationTitle:"导航标题", + pleaseInputDocumentTitle:"请输入文档标题", + pleaseSelectDocumentType:"请选择文档类型", + titleImageAddress:"标题图片地址", + pleaseInputImageAddress:"请输入图片地址", + articleAccessAddress:"文章访问地址", + pleaseInputAccessAddress:"请输入访问地址", + richTextEditor:"富文本编辑器", + documentPreview:"文档预览", + printPreview:"打印预览", + close:"关闭", + noContent:"暂无内容", + modifyDocument:"修改文档", + contentSaved:"内容已保存到本地,请尽快发布,关闭页面可能丢失内容", + + pleaseInputAnchorName:"请输入锚点名称(不能重复)", + anchorNameErrorMessage:"锚点名只能包含字母、数字、下划线和中划线", + anchorInserted:"锚点已插入", + confirm:"确定", + pleaseSelectHeader:"请先选中一个标题(h1~h6)", + pleaseInputAnchorID:"请输入锚点ID(不能重复)", + titleAnchor:"标题锚点", + anchorIDErrorMessage:"ID只能包含字母、数字、下划线和中划线", + anchorIDAdded:"锚点ID已添加", + contentReset:"内容已重置", + selectCurrency:"选择币种", + pleaseSelectCurrency2:"添加挖矿教程,请选择币种", + pleaseInputTitle:"请输入标题", + + searchResult:"搜索结果", + returnSearch:"返回搜索", + keyword:"关键词", + find:"找到", + relatedResults:"条相关结果", + documentIcon:"文档图标", + preview:"预览", + noResult:"未找到相关结果", + keyword2:"关键词", + noMatch:"没有找到匹配的文档", + resetSearch:"重新搜索", + 类型:"类型", + 创建时间:"创建时间", + 创建者:"创建者", + + } +} + +export const backendSystem_en = { + backendSystem: { + title: "Backend System", + broadcast: "Broadcast", + userManagement: "User Management", + workOrder: "Work Order Management", + workOrderRecord: "Work Order Record", + userComputingPower: "User Computing Power", + addBroadcast: "Add Broadcast", + editBroadcast: "Modify", + publishedBroadcast: "Published Broadcast", + createTime: "Create Time", + content: "Content", + createUser: "Create User", + updateTime: "Update Time", + updateUser: "Update User", + operation: "Operation", + edit: "Edit", + exceedingInput:"Exceeding Input Maximum Limit", + deleteRemind:"Are you sure you want to delete this broadcast?", + deleteSuccess:"Delete Success", + editSuccess:"Edit Success", + addSuccess:"Add Success", + cancel:"Cancel", + publish:"Publish", + logout:"Logout", + editContent:"Edit Broadcast Content", + dialogTitle:"Add Broadcast Content", + pleaseInputContent:"Please input broadcast content", + newlineInvalid:"Invalid line break for broadcasting content input", + onlineUserNum:"Online Number", + offlineUserNum:"Offline Number", + userPower:"User Power", + chartTitle:"User Power and Online/Offline Status Chart", + noData:"No Data", + startDate:"Start Date", + endDate:"End Date", + to:"To", + userDetails:"User Details", + return:"Return", + coin:"Coin:", + user:"Mining account:", + amount:"Amount:", + createDate:"Create Date", + maxHeight:"Max Height", + shouldOutDate:"Should Out Date", + address:"Address", + historyAddress:"History Payment Address:", + userManagementTitle:"User Management", + pleaseInput:"Please Input", + email:"Email:", + email2:"Email", + query:"Query", + coin2:"Coin", + amount2:"Minimum Payout Amount", + status2:"User Status", + minerUser2:"Miner User", + balance2:"Payment Address", + active2:"Automatic Withdrawal", + normal:"Normal", + delete:"Delete", + yes:"Yes", + no:"No", + Details:"Details", + sendEmail:"Send Email", + sendSuccess:"Send Success", + sendFail:"Send Fail", + sendRemind:"Are you sure you want to send an email?", + recipient:"Recipient", + subject:"Email Subject", + text:"Email Content", + send:"Send", + emailRemind:"Multiple emails can be entered, separated by commas", + pleaseInputCorrectEmail:"Please enter a valid email address", + pleaseInputSubject:"Please enter an email subject", + pleaseInputText:"Please enter an email content", + pleaseInputCorrectEmail2:"Please enter a valid email address, multiple emails separated by commas", + existDuplicateEmail:"Duplicate email exists, please check", + pleaseInputQueryConditions:"Please enter the query conditions (miner account, email)", + + emailContent:"Email Content", + leftNavigation:"Select the left navigation bar to view the page", + + broadcastPause:"Broadcast has been paused, move the mouse to continue scrolling", + broadcastResume:"Hover to pause scrolling", + transactionAmount:"Transaction Amount", + walletBalance:"Wallet Balance", + bthContent:"Broadcast Button Content:", + bthPath:"Button Corresponding Jump Page Path:", + broadcastContent:"Broadcast Content:", + bthPathStandard:"Jump paths separated by commas, up to 5 (example: /reportBlock,/miningAccount,/personalMining,/workOrderRecords,/UserWorkDetails), invalid for line breaks", + pleaseInputButtonContentAndPath:"Please input broadcast button content and jump path", + bthContent2:"Broadcast Button Content", + bthPath2:"Button Corresponding Jump Page Path", + max5:"The number of jump paths is up to 5", + invalidPath:"Invalid jump address", + invalidPathSuggestions:"Suggested paths", + pathNumberNotMatch:"The number of buttons and paths does not match", + documentManagement:"Document Management", + addDocument:"Add Document", + allocationAmount:"Allocation Amount", + transferAmount:"Transfer Amount", + updateSuccess:"Update Success", + publishArticle:"Publish Article", + pleaseInputKeyword:"Please input search content", + pleaseInputType:"Please select document type", + pleaseSelect:"Please select", + miningTutorial:"Mining Tutorial", + commonProblems:"Common Problems", + other:"Other", + announcementCenter:"Announcement Center", + search:"Search", + recommendContent:"Recommend Content", + recentActivities:"Recent Activities", + viewMore:"View More Activity Announcements", + documentType:"Document Type", + documentTitle:"Document Title", + wangeditor:"wangeditor Rich Text Editor", + insertAnchor:"Insert Anchor", + previewDocument:"Preview Document", + saveDocument:"Save Document", + publishDocument:"Publish Document", + reset:"Reset", + documentConfiguration:"Document Configuration", + navigationTitle:"Navigation Title", + pleaseInputDocumentTitle:"Please input document title", + pleaseSelectDocumentType:"Please select document type", + titleImageAddress:"Title Image Address", + pleaseInputImageAddress:"Please input image address", + articleAccessAddress:"Article Access Address", + pleaseInputAccessAddress:"Please input access address", + richTextEditor:"Rich Text Editor", + documentPreview:"Document Preview", + printPreview:"Print Preview", + close:"Close", + noContent:"No Content", + modifyDocument:"Modify Document", + contentSaved:"Content has been saved to local, please publish it as soon as possible, the content may be lost if the page is closed", + + pleaseInputAnchorName:"Please input anchor name (cannot be repeated)", + anchorNameErrorMessage:"Anchor name can only contain letters, numbers, underscores, and hyphens", + anchorInserted:"Anchor inserted", + confirm:"Confirm", + pleaseSelectHeader:"Please select a title (h1~h6)", + pleaseInputAnchorID:"Please input anchor ID (cannot be repeated)", + titleAnchor:"Title Anchor", + anchorIDErrorMessage:"ID can only contain letters, numbers, underscores, and hyphens", + anchorIDAdded:"Anchor ID added", + contentReset:"Content has been reset", + selectCurrency:"Select Currency", + pleaseSelectCurrency2:"Please select a currency when adding mining tutorials", + pleaseInputContent2:"Please input content", + pleaseInputTitle:"Please input title", + searchResult:"Search Result", + returnSearch:"Return Search", + keyword:"Keyword", + find:"Find", + relatedResults:"Items", + documentIcon:"Document Icon", + preview:"Preview", + noResult:"No Related Results", + keyword2:"Keyword", + noMatch:"No Matching Document", + resetSearch:"Reset Search", + 类型:"Type", + 创建时间:"Create Time", + 创建者:"Create User", + } +} + diff --git a/mining-pool/public/src/i18n/dataDisplay.js b/mining-pool/public/src/i18n/dataDisplay.js new file mode 100644 index 0000000..c69a1c6 --- /dev/null +++ b/mining-pool/public/src/i18n/dataDisplay.js @@ -0,0 +1,29 @@ +export const chooseUs_zh = { + chooseUs:{ + why:"为什么选择我们?", + title1:"高效挖矿 稳定收益", + text1:"m2pool 矿池是全网费率最低的矿池之一,采用两种收益结算模式(PPLNS+PROPDIF)。自有开发运维团队在技术方面:我们自有软硬件开发运维能力。在团队方面:我们软硬件团队不断迭代维护,服务稳定性极高。高挖矿成功的概率和效率,使得挖矿收益更具稳定性和可预测性。", + title2:"低风险成本", + text2:"公平的分配机制,根据矿工的算力贡献来分配收益,确保每个参与者都能得到应有的回报。此外,m2pool 矿池降低了个体矿工的风险,即使个人算力有限,也能通过参与矿池获得收益‌。", + title3:"技术支持 为您保驾护航", + text3:"当您在使用m2pool 矿池网站过程中遇到任何问题时,可在网站提交工单。我们将尽快处理并回复,为您提供高效的技术支持服务。", + + + } +} + + + + +export const chooseUs_en = { + chooseUs:{ + why:"Why choose us?", + title1:"Efficient mining and stable returns", + text1:"The m2pool mining pool is one of the lowest rate mining pools in the entire network, using two revenue settlement models (PPLNS+ROPDIF). We have our own development and operation team in terms of technology: we have our own software and hardware development and operation capabilities. In terms of team: Our software and hardware team constantly iterates and maintains, with extremely high service stability. The high probability and efficiency of successful mining make mining profits more stable and predictable.", + title2:"Low risk cost", + text2:"A fair distribution mechanism that distributes profits based on the contribution of miners' computing power, ensuring that each participant receives the appropriate return. In addition, the m2pool mining pool reduces the risk for individual miners, and even if their computing power is limited, they can still earn profits by participating in the mining pool.", + title3:"Technical support to safeguard you", + text3:"When you encounter any problems while using the m2pool mining pool website, you can submit a work order on the website. We will handle and reply as soon as possible to provide you with efficient technical support services.", + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/home.js b/mining-pool/public/src/i18n/home.js new file mode 100644 index 0000000..856c9f0 --- /dev/null +++ b/mining-pool/public/src/i18n/home.js @@ -0,0 +1,190 @@ +export const home_zh = { + home: { + file: "文档", + rate: "费率", + home:"首页", + accountCenter: "挖矿账户", + personalCenter: "个人中心", + power: "矿池算力", + networkPower: "全网算力", + networkDifficulty: "全网难度", + miner: "在线矿工", + algorithm: "算法", + height: "当前高度", + coinValue: "币价", + blockHeight: "区块高度", + blockingTime: "出块时间", + blockHash: "区块哈希值", + blockRewards: "区块奖励", + transactionFee: "交易费", + CurrencyPower: "矿池算力", + hour: "1小时", + day: "1天", + realTime: "实时", + lucky3:"3日幸运值", + lucky7:"7日幸运值", + lucky30:"30日幸运值", + lucky90:"90日幸运值", + luckyValue:"幸运值", + reportBlock:"最新报块", + computingPower:"矿池算力", + rejectionRate:"拒绝率", + onlineMiners:"在线矿工", + miningMachineComputingPower:"矿机算力分布", + profitCalculation:"收益计算器", + ConnectMiningPool:"接入矿池", + Power:"算力", + time:"时间", + profit:"收益", + everyDay:"每天", + weekly:"每周", + monthly:"每月", + annually:"每年", + currencyPrice:"币价", + finallyPower:"总算力", + minerSComputingPower:"矿工算力", + acquisitionFailed:"数据获取失败,请稍后重试", + calculatorTips:"该值根据当前全网算力的估算,可能与您的实际收益有差别,仅供参考", + caution:"注意:", + numberOfMiningMachines:"矿机台数", + requestTimeout:"系统接口请求超时,请刷新重试", + NetworkError:"网络连接异常,请刷新重试", + mission:"我们的使命", + missionText:"本矿池旨在为客户提供更稳定的网络服务,更高效的单位收益,更透明的分配机制,更可靠的技术服务。", + service:"提供服务", + APIfile:"API文档", + rateFooter:"费率", + userAssistance:"用户帮助", + miningTutorial:"挖矿教程", + aboutUs:"关于我们", + businessCooperation:"商务合作", + contactCustomerService:"联系客服", + serviceTerms:"服务条款", + submitWorkOrder:"提交工单", + historicalAnnouncement:"历史公告", + commonProblem:"常见问题", + joinUs:"加入我们", + MLogin:"登录", + MRegister:"注册", + MResetPassword:"重置密码", + API:"API", + accountSettings:"挖矿账户设置", + poolTitle:"稳定领先高收益矿池", + metaDescription:"M2Pool 矿池,全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。", + metaKeywords:"M2Pool,矿池,挖矿,nexa,grs,mona,dgb,rxd,Mining Pool", + appTitle:"M2pool - 稳定领先的高收益矿池", + mode:"模式/费率", + describeTitle:"提示:", + view:"详情", + describe:"奖励分配:1天/次,每日0时(utc+0), 转账:1天/次,每日4时(utc+0)起,具体取决于区块成熟条件", + networkReconnected:"网络已重新连接,正在恢复数据...", + networkOffline:"网络连接已断开,系统将在恢复连接后自动重试", + helpCenter:"帮助中心", + announcements:"公告中心", + latestTitle:"最新公告", + noData:"暂无公告", + viewAll:"查看所有", + articles:"篇文章", + allocationExplanation:"矿池分配及转账规则", + loadingContent:"正在加载内容...", + noContent:"暂无内容", + unknownType:"未知类型", + other:"其他", + } +} + +export const home_en = { + home: { + file: "File", + rate: "Rate", + accountCenter: "Mining account", + personalCenter: "Personal Center", + "power": "Mining Pool computing power", + "networkPower": "Full network computing power", + "networkDifficulty": "Network wide difficulty", + "miner": "Online miners", + "algorithm": "algorithm", + "height": "Current height", + "coinValue": "Coin value", + "blockHeight": "block height ", + "blockingTime": "Blocking time", + "blockHash": "Block hash value", + "blockRewards": "Block rewards", + "transactionFee": "Transaction fee", + CurrencyPower: "Mining pool computing power", + hour: "Hour", + day: "Day", + realTime: "Real time", + lucky3:"3-day lucky value", + lucky7:"7-day lucky value", + lucky30:"30 day lucky value", + lucky90:"90 day lucky value", + luckyValue:"Lucky value", + home:"Home", + reportBlock:"Latest report block", + computingPower:"Mining pool computing power", + rejectionRate:"Rejection rate", + onlineMiners:"Online miners", + miningMachineComputingPower:"Distribution of mining machine computing power", + profitCalculation:"Profit Calculator", + ConnectMiningPool:"Connect Mining Pool", + Power:"Computing power", + time:"Time", + profit:"Profit", + everyDay:"Per day", + weekly:"Weekly", + monthly:"Monthly", + annually:"Annually", + currencyPrice:"Currency Price", + finallyPower:"total computational power", + minerSComputingPower:"miner's arithmetic", + acquisitionFailed:"Data acquisition failed, please try again later", + calculatorTips:"This value is estimated based on the current computing power of the entire network and may differ from your actual income. It is for reference only", + caution:"Caution:", + numberOfMiningMachines:"Number of mining machines", + requestTimeout:"System interface request timed out, please refresh and retry", + NetworkError:"Network connection is abnormal, please refresh and try again.", + mission:"Our Mission", + missionText:"This mining pool aims to provide customers with more stable network services, more efficient unit revenue, more transparent allocation mechanism, and more reliable technical services.", + service:"Provide Services", + APIfile:"API Documentation", + rateFooter:"Rate", + userAssistance:"User Help", + miningTutorial:"Mining Tutorial", + aboutUs:"About Us", + businessCooperation:"Business Cooperation", + contactCustomerService:"Contact Customer Service", + serviceTerms:"Service Terms", + submitWorkOrder:"Submit WorkOrder", + historicalAnnouncement:"Historical Announcement", + commonProblem:"Common Problem", + joinUs:"Join Us", + MLogin:"Login", + MRegister:"Sign Up", + MResetPassword:"Reset password", + API:"API", + accountSettings:"Mining account", + poolTitle:"Stable leading high-yield mining pool", + metaDescription:"M2Pool mining pool, newly upgraded! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.", + metaKeywords:"M2Pool,mining pool,mining,nexa,grs,mona,dgb,rxd,Mining Pool", + appTitle:"M2pool - Stable leading high-yield mining pool", + mode:"Mode/Rate", + describeTitle:"Prompts:", + view:"Details", + describe:"Reward distribution: 1 day/times, daily at 0:00 (utc+0), transfer: 1 day/times, daily from 4:00 (utc+0), depending on block maturity conditions ", + networkReconnected:"Network has been reconnected, recovering data...", + networkOffline:"Network connection has been disconnected, the system will automatically retry after recovery", + helpCenter:"Help Center", + announcements:"Announcements", + latestTitle:"Latest Announcements", + noData:"No data", + viewAll:"View all", + articles:" articles", + allocationExplanation:"Pool allocation and transfer rules", + loadingContent:"Loading content...", + noContent:"No content", + unknownType:"Unknown Type", + other:"Other", + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/index.js b/mining-pool/public/src/i18n/index.js new file mode 100644 index 0000000..7079f08 --- /dev/null +++ b/mining-pool/public/src/i18n/index.js @@ -0,0 +1,17 @@ +import Vue from 'vue' +import VueI18n from 'vue-i18n' +import locale from 'element-ui/lib/locale' // 引入elementui语言包模块 +import messages from './messages' + +Vue.use(VueI18n) // vue使用i18n模块 + + +const i18n = new VueI18n({ + locale: localStorage.getItem('lang') || 'en', + fallbackLocale: 'en', //首选语言缺少翻译时要使用的语言, + messages,// 设置语言环境信息 + silentTranslationWarn: true,//去掉页面警告 +}) + +locale.i18n((key, value) => i18n.t(key, value)) // 在注册Element时设置i18n的处理方法 +export default i18n \ No newline at end of file diff --git a/mining-pool/public/src/i18n/messages.js b/mining-pool/public/src/i18n/messages.js new file mode 100644 index 0000000..37b3a31 --- /dev/null +++ b/mining-pool/public/src/i18n/messages.js @@ -0,0 +1,68 @@ +import elementEnLocale from 'element-ui/lib/locale/lang/en' +import elementZhLocale from 'element-ui/lib/locale/lang/zh-CN' +import {userLang_zh,userLang_en} from'./userLang' +import {home_zh,home_en} from'./home' +import {miningAccount_zh,miningAccount_en} from'./miningAccount.JS' +import {personalCenter_zh,personalCenter_en} from'./personalCenter' +import {AccessMiningPool_zh,AccessMiningPool_en} from'./AccessMiningPool' +import {serviceTerms_zh,serviceTerms_en} from'./ServiceTerms' +import {api_zh,api_en} from'./apiFile' +import {workOrder_zh,workOrder_en} from'./submitWorkOrder' +import {alerts_zh,alerts_en} from'./alerts' +import {seo_zh,seo_en} from'./seo' +import {chooseUs_zh,chooseUs_en} from'./dataDisplay' +import {ChatWidget_zh,ChatWidget_en} from'./ChatWidget' +import {backendSystem_zh,backendSystem_en} from'./backendSystem' +import {announcements_zh,announcements_en} from'./announcements' + + + + +export default { + zh: { + // 传入element相关模块 + ...elementZhLocale, + // 自定义国际化对象引入 + ...userLang_zh, + ...home_zh, + ...miningAccount_zh, + ...personalCenter_zh, + ...AccessMiningPool_zh, + ...serviceTerms_zh, + ...api_zh, + ...workOrder_zh, + ...alerts_zh, + ...seo_zh, + ...chooseUs_zh, + ...ChatWidget_zh, + ...backendSystem_zh, + ...announcements_zh, + + + }, + + en: { + // 传入element相关模块 + ...elementEnLocale, + // 自定义国际化对象引入 + ...userLang_en, + ...home_en, + ...miningAccount_en, + ...personalCenter_en, + ...AccessMiningPool_en, + ...serviceTerms_en, + ...api_en, + ...workOrder_en, + ...alerts_en, + ...seo_en, + ...chooseUs_en, + ...ChatWidget_en, + ...backendSystem_en, + ...announcements_en, + + + + + }, + + }; \ No newline at end of file diff --git a/mining-pool/public/src/i18n/miningAccount.JS b/mining-pool/public/src/i18n/miningAccount.JS new file mode 100644 index 0000000..315149f --- /dev/null +++ b/mining-pool/public/src/i18n/miningAccount.JS @@ -0,0 +1,103 @@ +export const miningAccount_zh = { + mining: { + totalRevenue: "总收入", + totalExpenditure: "总支出", + yesterdaySEarnings: "昨日收益", + diggedToday: "今日已挖(预估)", + accountBalance: "账户余额", + paymentSettings: "付款设置", + algorithmicDiagram: "算力图", + computingPower: "矿机算力分布", + miner: "矿工", + profit: "收益", + payment: "支付", + all:"全部", + onLine:"在线", + offLine:"离线", + hoursPower:"1小时算力", + dayPower:"24小时算力", + refusalRate:"拒绝率", + settlementTime:"结算时间", + remarks:"备注", + withdrawalAddress:"提现地址", + withdrawalTime:"提现时间", + currency:"币种", + withdrawalAmount:"提现金额", + transactionId:"交易ID", + pleaseEnter:"请输入...", + power24H:"24小时算力图", + logInFirst:"请先登录后查看该页面", + totalRevenueTips:"本挖矿账户全部收益累计", + totalExpenditureTips:"本挖矿账户已提现收益累计", + yesterdaySEarningsTips:"昨日(utc)24小时收益,由于该收益需要5000个区块高度确认(大约为7天),因此该笔收益需要等待大约7天才可提现转账。", + diggedTodayTips:"今日(utc)截止到目前的挖矿收益,该收益根据过去24小时算力预估,仅供参考,最终收益以PPLNS结算为准。", + blockRewards:"仅指报块的固定奖励", + transactionFeeExplanation:"仅指该区块支付给矿工打包交易的费用,和区块奖励一起组成最终的报块奖励", + Withdrawable:"可提现余额", + balanceReminder:"该数据不包含今日预估收益。可提现余额会在每天12点(utc)之前自动转入到您的挖矿钱包中。", + mature:"成熟:已经被区块链确认的收益。未成熟:还未被区块链确认的收益。所有成熟和未成熟的收益都将暂时添加到您的账户余额中,但只有成熟的区块收益才能被提现。", + submitTime:"最后提交时间", + total:"合计", + Minutes:"30分钟", + state:"状态", + date:"日期", + settlementDate:"结算日期", + paymentStatus:"支付状态", + paymentInProgress:"支付中", + paymentCompleted:"已支付", + jurisdiction:"无访问权限!", + + + + + } +} + +export const miningAccount_en = { + mining: { + "totalRevenue":"Total revenue", + "totalExpenditure":"Total expenditure", + "yesterdaySEarnings":"Yesterday's earnings", + "diggedToday":"Excavated today (estimated)", + "accountBalance":"Account balance", + "paymentSettings":"Payment settings", + "algorithmicDiagram":"Algorithmic diagram", + "computingPower":"Distribution of mining machine computing power", + "miner":"miner","profit":"profit","payment":"payment", + "all":"whole","onLine":"on-line", + "offLine":"off-line", + "hoursPower":"1 hour of computing power", + "dayPower":"24-hour computing power", + "refusalRate":"Refusal rate", + settlementTime:"Settlement time", + remarks:"Remarks", + withdrawalAddress:"Withdrawal address", + currency:"Currency", + withdrawalAmount:"Withdrawal amount", + transactionId:"Transaction Id", + pleaseEnter:"Please enter...", + power24H:"24-hour calculation chart", + logInFirst:"Please log in first and then view this page", + totalRevenueTips:"Accumulate all profits of this mining account", + totalExpenditureTips:"Accumulated withdrawal income of this mining account", + yesterdaySEarningsTips:"Yesterday (UTC), there was a 24-hour return. As this return requires 5000 blocks to be highly confirmed (approximately 7 days), it will take about 7 days for the return to be withdrawn and transferred.", + diggedTodayTips:"The mining income as of today (UTC) is estimated based on the computing power of the past 24 hours and is for reference only. The final income will be settled by PPLNS.", + blockRewards:"Only refers to fixed rewards for block submissions", + transactionFeeExplanation:"Only refers to the fee paid by the block to miners for packaging transactions, which, together with the block reward, constitutes the final block reward", + Withdrawable:"Withdrawable balance", + balanceReminder:"This data does not include today's estimated earnings. The withdrawable balance will be automatically transferred to your mining wallet before 12:00 UTC every day.", + mature:"Mature: Earnings that have been confirmed by the blockchain. Unripe: Earnings that have not yet been confirmed by the blockchain. All mature and immature earnings will be temporarily added to your account balance, but only earnings from mature blocks can be withdrawn.", + submitTime:"Final submission time", + total:"Total", + Minutes:"30 Minutes", + state:"State", + date:"date", + withdrawalTime:"Withdrawal time", + settlementDate:"Settlement date", + paymentStatus:"Payment status", + paymentInProgress:"default", + paymentCompleted:"paid", + jurisdiction:"No access permission!", + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/personalCenter.js b/mining-pool/public/src/i18n/personalCenter.js new file mode 100644 index 0000000..926814d --- /dev/null +++ b/mining-pool/public/src/i18n/personalCenter.js @@ -0,0 +1,247 @@ +export const personalCenter_zh = { + personal: { + miningAccount: "挖矿账户", + readOnlyPage: "只读页面", + securitySetting: "安全设置", + personalCenter: "个人中心", + miningReport: "挖矿报告", + API: "API", + add: "添加", + delete: "删除", + miningPool: "矿池", + currency: "币种", + remarks: "备注", + operation: "操作", + bindingWallet :"绑定付款钱包", + addMiningPool: "添加挖矿账户", + accountName:"账户名称", + poolSelection:"币种选择", + select:"请选择", + remarks2: "备注(选填)", + determine: "确 定", + bindAddress: "付款设置", + walletAddress: "钱包地址", + Binding:"绑 定", + establish:"创建", + jurisdiction:"权限", + account:"账户", + readOnlyLink:"只读页面链接", + setUp:"设置", + miner: "矿工", + profit: "收益", + payment: "支付", + loginPassword: "登录密码", + accountSecurity: "用于保护账户安全。", + setUp2: "已设置", + modify: "修改", + dualVerification:"双重验证", + verificationInstructions:"用于添加、删除挖矿帐户和修改付款设置。", + notEnabled:"未开启", + Open:"开启", + maintainPassword:"维护人员密码", + maintenanceInstructions:"用于矿场维护人员登录帐户,使用此密码登录帐户时将隐藏“收益”和“帐户设置”页面。", + deleteAccount:"删除账户", + deleteDescription:"永久删除此主帐户及其子帐户。", + Tips:"提示", + enableVerificationDescription:"如需进行此操作,请先开启双重验证。", + enableVerification:"开启双重验证", + firstStep:"第一步", + googleIdentity:"请使用您手机上的谷歌身份验证器(Google Authenticator)或其它兼容应用程序扫描下方二维码,也可手动输入以下16位密钥。", + saveKey:"注意:请妥善保存密钥,避免被盗或丢失。", + resetKeyDescription:"如遇手机丢失等情况,可通过该密钥恢复您的谷歌验证。如密钥丢失,需要提交工单通过人工客服重置,处理时间需7天。", + nextStep:"下一步", + step2:"第二步", + verificationCode:"邮箱验证码", + oneTimePassword:"双重验证动态口令", + previousStep:"上一步", + goOpenIt:"去开启", + reasonForDeletion:"为了帮助我们优化服务,恳请您选择删除帐户的理由:", + Cancel:"取 消", + userName:"用户名", + mailbox:"邮箱", + phoneNumber:"手机号", + mobilePhoneInstructions:" 用于添加或修改付款地址、修改登录密码,以及开启或修改维护人员密码。", + loginHistory:"登录历史", + time:"时间", + loginResults:"登录结果", + position:"位置", + equipment:"设备", + weekly:"周报", + weeklyReportExplanation:"每个币种只能添加一份周报。开启后,每周二发送上周挖矿数据到您的注册邮箱。", + weeklyReportTemplate:"查看周报模版", + monthlyReport:"月报", + monthlyReportExplanation:"每个币种只能添加一份月报。开启后,每月第二日发送上月挖矿数据到您的注册邮箱。", + monthlyReportTemplate:"查看月报模版", + addWeeklyReport:"添加周报", + weeklyReportLanguage:"周报语言", + weeklyReportCurrency:"周报币种", + weeklyReportAccount:"周报账户", + Submit:"提交", + addMonthlyReport:"添加月报", + monthlyReportLanguage:"月报语言", + monthlyReportCurrency:"月报币种", + monthlyReportAccount:"月报账户", + nameDescription:"账号", + pleaseEnter:"请输入..", + pleaseEnter2:"输入搜索矿工", + inputWalletAddress:"请输入钱包地址", + remarksDescription:"请填写备注名,例如此只读页面链接分享给哪个合作伙伴", + minimumPaymentAmount:"设置起付额", + confirmSubmit:"确认提交", + automaticWithdrawal:"是否自动提现", + duplicateAccount:"账户名已存在,请重新填写", + deleteConfirmation:"确认删除以下挖矿账户?", + walletTips:"请确认填写钱包地址", + PaymentAmountTips:"该币种起付金额不能小于", + accountNumber:"请填写账号", + selectCurrency:"请选择币种", + invalidAddress:"钱包地址无效", + yes:"是", + no:"否", + pleaseEnter3:"输入搜索账户", + copySuccessful:"复制成功", + copyFailed:"复制失败", + confirm:"确 定", + confirmSelection:"请确认勾选注意事项", + pwd:"请输入登录密码", + eCode:"请输入邮箱验证码", + gCode:"请输入动态口令", + copy:"复制", + or:"或", + accountSelection:"请选择账户", + selectPermissions:"请选择只读权限", + modify2: "修 改", + accountFormat:"账户只能输入字母、数字、下划线,且不能以数字开头,长度不小于4位,不大于24位", + close:"关闭", + turnOffVerification:"关闭双重验证", + Closed:"已成功关闭双重验证", + day:"天", + hour:"时", + minute:"分", + second:"秒", + front:"前", + loadingText:"拼命加载中...", + deletePrompt:"确定删除勾选内容吗?", + scanning:"(扫描`上一步`中的二维码获取最新口令)", + apiKey:"API Key", + ipAddress:"默认IP地址或者输入其他IP地址", + defaultIp:"使用本机默认IP地址", + ipAddressReminder:"请输入IP地址或勾选使用本机默认IP地址", + permissionReminder:"请选择相关权限", + minerAPI:"矿工", + accountApi:"挖矿账户", + miningPoolApi:"矿池", + ipFormat:"请检查IP地址格式是否正确", + screen:"筛选币种", + workOrderRecord:"工单记录", + + } +} + +export const personalCenter_en = { + personal: { + miningAccount: "Mining account", + readOnlyPage: "ReadOnly Page", + securitySetting: "Security setting", + personalCenter: "Personal Center", + miningReport: "Mining report", + API: "API", + "add":"Add", + "delete":"Delete", + "miningPool":"Mining pool", + "currency":"Currency", + "remarks":"Remarks", + "operation":"Operation", + "bindingWallet":"Bind payment wallet", + "addMiningPool":"Add mining account", + "accountName":"title of account", + "poolSelection":"Currency selection", + "select":"Please select", + "remarks2":"Remarks (optional)", + "determine":"determine", + "bindAddress":"Payment Settings", + "walletAddress":"Wallet address", + "Binding":"Binding", + "establish":"establish", + "jurisdiction":"Jurisdiction", + "account":"Account", + "readOnlyLink":"Read only page link", + "setUp":"Set up", + "miner":"miner", + "profit":"profit", + "payment":"payment", + "loginPassword":"Login password", + "accountSecurity":"Used to protect account security.", + "setUp2":"Set up", + "modify":"modify", + "dualVerification":"Dual verification", + "verificationInstructions":"Used for adding, deleting mining accounts, and modifying payment settings.","notEnabled":"Not enabled","Open":"open","maintainPassword":"Maintenance personnel password","maintenanceInstructions":"Used for mine maintenance personnel to log in to their account. When using this password to log in, the \"Benefits\" and \"Account Settings\" pages will be hidden.","deleteAccount":"Delete account","deleteDescription":"Permanently delete this main account and its sub accounts.","Tips":"Tips","enableVerificationDescription":"To perform this operation, please enable double verification first.","enableVerification":"Enable dual verification","firstStep":"The first step", + "googleIdentity":"Please use Google Authenticator or other compatible applications on your phone to scan the QR code below, or manually enter the following 16 digit key.", + "saveKey":"Be careful: Please keep the key properly to avoid theft or loss.","resetKeyDescription":"In case of phone loss or other situations, you can use this key to restore your Google verification. If the key is lost, a work order needs to be submitted for manual customer service reset, and the processing time takes 7 days.","nextStep":"next step","step2":"Step 2","verificationCode":"Email verification code","oneTimePassword":"Dual authentication dynamic password","previousStep":"Previous step","goOpenIt":"Go open it","reasonForDeletion":"To help us optimize our services, we kindly request that you choose the reason for deleting your account:","Cancel":"Cancel", + "userName":"User name","mailbox":"Mailbox", + "phoneNumber":"Cell-phone number", + "mobilePhoneInstructions":"Used to add or modify payment addresses, modify login passwords, and enable or modify maintenance personnel passwords.","loginHistory":"Login History","time":"Time","loginResults":"Login Results","position":"Position","equipment":"Equipment","weekly":"weekly","weeklyReportExplanation":"Only one weekly report can be added per currency. After activation, send last week's mining data to your registered email every Tuesday.","weeklyReportTemplate":"View weekly report template","monthlyReport":"Monthly report","monthlyReportExplanation":"Only one monthly report can be added per currency. After activation, send the mining data from the previous month to your registered email on the second day of each month.","monthlyReportTemplate":"View monthly report template", + "addWeeklyReport":"Add weekly report", + "weeklyReportLanguage":"Weekly Report Language", + "weeklyReportCurrency":"Weekly report currency", + "weeklyReportAccount":"Weekly report account", + "Submit":"Submit", + "addMonthlyReport":"Add monthly report", + "monthlyReportLanguage":"Monthly report language", + "monthlyReportCurrency":"Monthly report currency", + "monthlyReportAccount":"Monthly report account", + nameDescription:"Account", + pleaseEnter:"Please enter..", + pleaseEnter2:"Enter search miner", + inputWalletAddress:"Please enter the wallet address", + remarksDescription:"Please fill in the note name, for example, which partner to share the read-only page link with", + minimumPaymentAmount:"Minimum payment amount", + confirmSubmit:"confirm Submit", + automaticWithdrawal:"Whether to automatically withdraw funds", + duplicateAccount:"The account name already exists, please fill it out again", + deleteConfirmation:"Are you sure to delete the following mining accounts?", + walletTips:"Please confirm to fill in the wallet address", + PaymentAmountTips:"The fluctuation amount of this currency cannot be less than", + accountNumber:"Please fill in the account number", + selectCurrency:"Please select currency", + invalidAddress:"Invalid wallet address", + yes:"Yes", + no:"No", + pleaseEnter3:"Enter search account", + copySuccessful:"Copy successful", + copyFailed:"copy failed", + confirm:"Confirm", + confirmSelection:"Please confirm the selection of precautions", + pwd:"Please enter your login password", + eCode:"Please enter the email verification code", + gCode:"Please enter the dynamic password", + copy:"Copy", + or:"Or", + accountSelection:"Please select an account", + selectPermissions:"Please select read-only permission", + modify2: "Modify", + accountFormat:"The account can only input letters, numbers, and underscores, and cannot start with a number. The length should not be less than 4 digits and not more than 24 digits", + close:"close", + turnOffVerification:"Turn off dual authentication", + Closed:"Successfully disabled two factor authentication", + day:"day", + hour:"hours", + minute:"minute", + second:"second", + front:"front", + loadingText:"Desperately loading...", + deletePrompt:"Are you sure to delete the selected content?", + scanning:"(Scan the QR code from the `previous step` to obtain the latest password)", + apiKey:"API Key", + ipAddress:"Default IP address or enter another IP address", + defaultIp:"Use the default IP address of this device", + ipAddressReminder:"Please enter an IP address or check the option to use the default IP address on this device", + permissionReminder:"Please select the relevant permissions", + minerAPI:"miner", + accountApi:"account", + miningPoolApi:"pool", + ipFormat:"Please check if the IP address format is correct", + screen:"Filter currencies", + workOrderRecord:"Work order record", + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/seo.js b/mining-pool/public/src/i18n/seo.js new file mode 100644 index 0000000..211fdb4 --- /dev/null +++ b/mining-pool/public/src/i18n/seo.js @@ -0,0 +1,70 @@ +import nexaAccess from "@/views/AccessMiningPool/nexaAccess" + +export const seo_zh = { + seo: { + Home: "M2Pool 矿池,2024 全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。", + miningAccount: "M2Pool 矿池的挖矿账户页面,为用户提供详尽的账户信息展示。在这里,您可以直观地查看该账户的收益情况,通过算力走势图清晰了解算力变化趋势,掌握矿工情况,同时还能深入查看收益及支付的详细信息,助力您更好地管理挖矿业务。", + readOnlyDisplay: "M2Pool 矿池只读页面展示页,通过分享的链接地址及特定权限,清晰呈现矿池的收益状况、支付详情以及矿工信息等关键数据,让您随时了解矿池动态,把握挖矿收益走向。", + reportBlock: "M2Pool 矿池报块页面,精准展示各个币种的幸运值、区块高度、出块时间、区块哈希值以及区块奖励等重要信息,为您提供全面的矿池运行数据,助力您做出更明智的挖矿决策。", + rate: "M2Pool 矿池费率页面,清晰呈现各个币种的挖矿费率、收益计算模式以及起付额等关键信息,帮助您准确评估挖矿成本与收益,做出更合理的挖矿策略选择。", + apiFile: "M2Pool 矿池 API 文档页面,为用户详细介绍如何通过 M2Pool 提供的 API 接口获取矿池及帐户算力。内容涵盖 API 的认证 token 生成、接口调用方法以及返回数据结构说明,助力开发者高效利用矿池数据资源。", + AccessMiningPool: "M2Pool 矿池接入矿池页面,详细阐述每个币种接入矿池的具体步骤,为用户提供便捷的接入指南,轻松开启挖矿之旅。", + ServiceTerms: "M2Pool 矿池服务条款页面,明确阐述关于使用 M2Pool 矿池网站的相关服务条款,确保用户在使用过程中清楚了解权利与义务,保障用户权益。", + submitWorkOrder: "M2Pool 矿池提交工单页面,当您在使用矿池网站过程中遇到任何问题时,可在此提交工单。我们将尽快处理并回复,为您提供高效的技术支持服务。", + workOrderRecords: "M2Pool 矿池工单记录页面,方便用户查看在 M2Pool 矿池网站提交的所有工单记录以及工单目前的处理状态,随时掌握问题解决进度。", + userWorkDetails: "M2Pool 矿池用户工单详情页面,用户可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程。同时,也可以通过该页面继续对该工单进行补充提交。", + alerts: "M2Pool 矿池矿机离线告警,根据不同账户用户自定义设置告警邮箱及备注信息,方便用户及时掌握矿机情况,提升用户体验。", + personalCenter: "M2Pool 矿池个人中心,为用户提供全面的个性化管理功能。在这里,您可以便捷地设置挖矿账户、管理钱包地址、调整只读页面权限、强化安全设置,还能订阅挖矿报告,以及生成个人 API 密钥,满足您对矿池管理的多样化需求。", + personalMining: "M2Pool 矿池个人中心挖矿账户设置页面,用户可在此设置各个币种的挖矿账户,方便地进行账户的添加、删除操作,以及绑定和修改钱包地址。", + readOnly: "在 M2Pool 矿池的只读页面设置中,轻松添加只读权限,根据自选权限分享矿池信息。无论是管理员还是注册用户,都能便捷查看,随时掌握矿池动态。", + securitySetting: "M2Pool 矿池个人中心安全设置页面,用户可在此修改密码并开启双重验证,为账户安全增添多一层保障。", + personalAPI: "M2Pool 矿池个人中心 API 页面,用户可以选择默认本地 IP 或输入特定 IP 地址,自主选择权限并生成对应的 API KEY,方便进行个性化的数据管理。", + miningReport: "M2Pool 矿池个人中心挖矿报告页面,用户可开启周报、月报订阅服务,固定时间将上周或上月的挖矿数据发送至用户注册邮箱,随时掌握挖矿成果。", + personal: "显示用户信息、登录历史相关信息:时间、位置、ip、设备等", + nexaAccess: "M2Pool 矿池 nexa 接入页面,详细介绍如何接入 M2Pool 矿池进行 nexa 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + grsAccess: "M2Pool 矿池 grs 接入页面,详细介绍如何接入 M2Pool 矿池进行 grs 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + monaAccess: "M2Pool 矿池 mona 接入页面,详细介绍如何接入 M2Pool 矿池进行 mona 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + dgbAccess: "M2Pool 矿池 dgb 接入页面,详细介绍如何接入 M2Pool 矿池进行 dgb 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + rxdAccess: "M2Pool 矿池 rxd 接入页面,详细介绍如何接入 M2Pool 矿池进行 radiant 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + allocationExplanation: "M2Pool 矿池分配及转账说明页面,详细介绍各币种的成熟条件、出块间隔及预估时间,何时将挖矿收益分配及转账至用户账户,提供用户清晰的了解分配及转账指南。", + enxAccess: "Entropyx(enx) 接入页面,详细介绍如何接入 M2Pool 矿池进行 enx 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + alphAccess: "Alephium(alph) 接入页面,详细介绍如何接入 M2Pool 矿池进行 Alephium(alph) 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。", + broadcast: "M2Pool 矿池广播页面,管理员可在此查看已发布的广播信息,包括广播内容、发布时间、发布者等。", + userManagement: "M2Pool 矿池用户管理页面,管理员可在此查看所有用户信息,包括用户名、邮箱、注册时间、登录时间等。", + helpCenter:"M2Pool 矿池帮助中心页面,提供用户全面的帮助中心信息,包括新手入门、矿业数据、常见问题、公告中心、其他等。", + announcements:"M2Pool 矿池公告中心页面,提供最新的矿池公告、系统通知、服务更新和重要信息,让用户及时了解矿池动态和政策变更。", + documentManagement:"M2Pool 矿池文档管理页面,提供最新的文档信息,让用户及时了解文档信息。", + + + + } +} +export const seo_en = { + seo: { + "Home": "M2Pool mining pool, upgraded in 2024! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.", + miningAccount:"The mining account page of M2Pool provides users with detailed account information display. Here, you can intuitively view the income situation of the account, clearly understand the trend of computing power changes through the computing power trend chart, grasp the situation of miners, and also deeply view detailed information on income and payments, helping you better manage mining business", + readOnlyDisplay:"The M2Pool read-only page display page presents key data such as the mining pool's revenue status, payment details, and miner information clearly through shared link addresses and specific permissions, allowing you to stay informed of the mining pool's dynamics and grasp the direction of mining revenue at any time.", + "reportBlock": "The M2Pool mining pool block report page accurately displays important information such as lucky value, block height, block time, block hash value, and block rewards for each currency, providing you with comprehensive mining pool operation data to help you make more informed mining decisions.", + "rate": "The M2Pool mining rate page clearly presents key information such as mining rates, profit calculation models, and deductibles for various currencies, helping you accurately evaluate mining costs and profits and make more reasonable mining strategy choices.", + "apiFile": "The M2Pool API documentation page provides users with detailed instructions on how to obtain mining pools and account computing power through the API interface provided by M2Pool. The content covers API authentication token generation, interface calling methods, and return data structure explanations, helping developers efficiently utilize mining pool data resources.", + "AccessMiningPool": "The M2Pool mining pool access page provides a detailed explanation of the specific steps for each currency to access the mining pool, offering users a convenient access guide to easily start their mining journey.", + "ServiceTerms": "The M2Pool mining pool service terms page clearly explains the relevant service terms regarding the use of the M2Pool mining pool website, ensuring that users have a clear understanding of their rights and obligations during use and protecting their rights and interests.", + "submitWorkOrder": "M2Pool submission ticket page, where you can submit a ticket if you encounter any problems while using the mining pool website. We will handle and reply as soon as possible to provide you with efficient technical support services.", + "workOrderRecords": "The M2Pool mining pool work order record page facilitates users to view all work order records submitted on the M2Pool mining pool website, as well as the current processing status of work orders, and to keep track of the progress of problem resolution at any time.", "userWorkDetails": "M2Pool user work order details page, where users can view the detailed information of submitted work orders, including submission time, detailed problem description, and processing procedures. At the same time, you can also continue to supplement and submit the work order through this page.", "alerts": "M2Pool mining machine offline alarm, customized alarm email and note information according to different account users, convenient for users to timely grasp the mining machine situation and improve user experience.", "personalCenter": "M2Pool personal center provides users with comprehensive personalized management functions. Here, you can easily set up mining accounts, manage wallet addresses, adjust read-only page permissions, strengthen security settings, subscribe to mining reports, and generate personal API keys to meet your diverse needs for mining pool management.", "personalMining": "The M2Pool personal center mining account settings page allows users to set up mining accounts for various currencies, conveniently adding and deleting accounts, as well as binding and modifying wallet addresses.", "readOnly": "In the read-only page settings of M2Pool mining pool, easily add read-only permissions and share mining pool information according to the selected permissions. Both administrators and registered users can easily view and keep track of the mining pool dynamics at any time.", "securitySetting": "The M2Pool personal center security settings page allows users to change their password and enable two factor authentication, adding an extra layer of security to their account.", "personalAPI": "The M2Pool personal center API page allows users to choose the default local IP or enter a specific IP address, autonomously select permissions, and generate corresponding API keys for personalized data management.", "miningReport": "The M2Pool personal center mining report page allows users to subscribe to weekly and monthly reports, and send mining data from the previous week or month to the user's registered email at fixed times to keep track of mining results at any time.", + personal: "Display user information, login history related information: time, location, ip, device, etc.", + nexaAccess: "The M2Pool nexa access page provides detailed instructions on how to access the M2Pool mining pool for nexa currency mining, offering users a convenient access guide to easily start their mining journey.", + grsAccess: "The M2Pool GRS access page provides detailed instructions on how to access the M2Pool mining pool for GRS currency mining, offering users a convenient access guide to easily start their mining journey.", + monaAccess: "The M2Pool mona access page provides detailed instructions on how to access the M2Pool for mona currency mining, offering users a convenient access guide to easily start their mining journey.", + dgbAccess: "The M2Pool dgb access page provides detailed instructions on how to access the M2Pool for dgb currency mining, offering users a convenient access guide to easily start their mining journey.", + rxdAccess: "The M2Pool rxd access page provides detailed instructions on how to access the M2Pool for radial currency mining, offering users a convenient access guide to easily start their mining journey.", + allocationExplanation: "The M2Pool mining pool allocation and transfer instructions page provides detailed information on the maturity conditions, block interval, and estimated time of each currency, as well as when to allocate and transfer mining profits to user accounts, providing users with a clear understanding of allocation and transfer guidelines.", + enxAccess: "Entropyx (enx) access page provides detailed instructions on how to access the M2Pool mining pool for enx currency mining, offering users a convenient access guide to easily start their mining journey.", + alphAccess: "The M2Pool Alephium(alph) access page provides detailed instructions on how to access the M2Pool mining pool for Alephium(alph) currency mining, offering users a convenient access guide to easily start their mining journey.", + broadcast: "M2Pool mining pool broadcast page, where administrators can view published broadcast information, including broadcast content, release time, publisher, etc.", + userManagement: "M2Pool mining pool user management page, where administrators can view all user information, including user name, email, registration time, login time, etc.", + helpCenter:"M2Pool mining pool help center page, providing users with comprehensive help center information, including beginner's guide, mining data, frequently asked questions, announcement center, and other information.", + announcements:"M2Pool mining pool announcement center page, providing the latest mining pool announcements, system notifications, service updates and important information, allowing users to stay informed of mining pool dynamics and policy changes.", + documentManagement:"M2Pool mining pool document management page, providing the latest document information, allowing users to stay informed of document information.", + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/submitWorkOrder.js b/mining-pool/public/src/i18n/submitWorkOrder.js new file mode 100644 index 0000000..f3b061c --- /dev/null +++ b/mining-pool/public/src/i18n/submitWorkOrder.js @@ -0,0 +1,105 @@ +export const workOrder_zh = { + work: { + mailbox:"用户邮箱", + problem:"问题描述", + enclosure:"附件", + fileType:"支持上传文件类型", + PleaseEnter:"请输入问题描述", + fileCharacters: "将文件拖到此处,或", + fileCharacters2: "点击上传", + submit:"提 交", + enterEmail:"请输入邮箱", + pending:"进行中", + completeWK:"已完成", + allWK:"全部工单", + WorkID:"工单号", + submissionTime:"提交时间", + status:"工单状态", + operation:"操作", + notSupported4: "最多上传3个文件!", + notSupported: "不支持文件类型:", + notSupported2: "文件大小不能超过", + notSupported3: "同一文件名不能重复上传!", + details:"详情", + WKDetails:"工单详情", + describe:"故障描述", + record:"处理记录", + continue:"继续提交", + input: "请输入...", + user1: "用户", + time4: "时间", + downloadFile:"下载附件", + submit2:"继续提交", + confirmInput: "请确认输入提交内容", + submitted: "提交成功!", + endWork:"关闭工单", + WKend: "工单已关闭!", + WorkOrderManagement:"工单管理", + processed:"处理中", + pendingProcessing:"待处理", + ReplyWork:"回复工单", + ReplyContent:"回复内容", + SubmitWK:"提交工单", + problemDescription:"请填写问题描述", + close:"关闭", + confirm:"确认", + cancel:"取消", + confirmClose:"确定关闭此工单吗?", + replyContent2:"请输入回复内容!", + Tips:"提示", + + } +} + +export const workOrder_en = { + work: { + mailbox:"Contact email", + problem:"Problem Description", + enclosure:"Upload attachments", + fileType:"Support uploading file types", + PleaseEnter:"Please enter a problem description", + "fileCharacters": "Drag files here, or", + "fileCharacters2": "Click to upload", + submit:"Submit", + enterEmail:"Please enter your email address", + pending:"Toward", + completeWK:"Done", + allWK:"All Work Orders", + WorkID:"work order number", + submissionTime:"Submission time", + status:"Status", + operation:"Operation", + "notSupported": "Unsupported file type:", + "notSupported2": "The file size cannot exceed", + "notSupported3": "The same file name cannot be uploaded repeatedly!", + "notSupported4": "Upload up to 3 files!", + details:"Particulars", + WKDetails:"Work Order Details", + describe:"fault description", + record:"Processing records", + continue:"Continued submission", + input: "Please enter...", + user1: "user", + time4: "time", + downloadFile:"Download file", + submit2:"Continue submitting", + confirmInput: "Please confirm the input of the submitted content", + submitted: "Submitted successfully!", + endWork:"close workOrder", + WKend: "The work order has been closed!", + WorkOrderManagement:"WorkOrder Management", + processed:"processed", + pendingProcessing:"pending", + ReplyWork:"Restore", + ReplyContent:"Reply content", + SubmitWK:"Submit work order", + problemDescription:"Please fill in the problem description", + close:"Close", + confirm:"Confirm", + cancel:"Cancel", + confirmClose:"Are you sure to close this ticket?", + replyContent2:"Please enter the reply content!", + Tips:"Tips", + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/i18n/userLang.js b/mining-pool/public/src/i18n/userLang.js new file mode 100644 index 0000000..b70b2cf --- /dev/null +++ b/mining-pool/public/src/i18n/userLang.js @@ -0,0 +1,93 @@ +export const userLang_zh = { + user: { + login:"登 录", + register:"去注册", + Account:"邮箱", + password:"密码", + forgotPassword:"忘记密码", + inputAccount:"请输入账号", + inputPassword:"请输入密码", + inputEmail:"请输入邮箱", + accountReminder:"请确认账号输入格式是否正确(以字母开头,允许使用字母、数字、下划线,长度不小于3,不大于16位)", + PasswordReminder:"请确认密码格式输入正确(应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位)", + loginSuccess:"登录成功", + inputCode:"请输入验证码", + noPage:" 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。", + canTFind:"找不到网页!", + verificationCode:"验证码", + obtainVerificationCode:"获取验证码", + again:"s后重新获取", + newUser:"新用户注册", + confirmPassword:"确认密码", + havingAnAccount:"已有账号?", + loginExpired:"登录状态已过期", + overduePrompt:"系统提示", + Home:"首 页", + signOut:"退出登录", + codeSuccess:"已发送验证码", + emailVerification:"请检查邮箱是否输入正确", + passwordVerification:"用户密码长度必须介于 8 和 32 之间", + secondaryPassword:"请再次输入您的密码", + passwordFormat:"请确认密码格式输入正确", + system:"系统提示", + congratulations:"恭喜您的账号 注册成功!", + passwordPrompt:"密码应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位", + verificationCodeSuccessful:"验证码发送成功", + noAccount:"没有账号?", + resetPassword:"重置密码", + newPassword:"确认密码", + changePassword:"修改密码", + returnToLogin:"返回登录", + confirmPassword2:"确认两次密码输入一致", + modifiedSuccessfully:"密码修改成功,请登录", + verificationEnabled:"已开启验证", + newPassword2:"新密码", + } +} + +export const userLang_en = { + user: { + login:"Login", + register:"Sign Up", + Account:"Email", + password:"Password", + forgotPassword:"Forgot password", + inputAccount:"Please enter an account", + inputPassword:"Please enter the password", + inputEmail:"Please enter your email address", + accountReminder:"Please confirm if the account input format is correct (starting with a letter, allowing letters, numbers, and underscores, with a length of no less than 3 and no more than 16 digits)", + PasswordReminder:"Please confirm that the password format is entered correctly (it should include uppercase and lowercase letters, numbers, and special characters, with a length of no less than 8 and no more than 32 bits)", + loginSuccess:"Login successful", + inputCode:"Please enter the verification code", + noPage:" Sorry, the page you are looking for does not exist. Try checking for errors in the URL, then press the refresh button on the browser or try to find other content in our application.", + canTFind:"Unable to find webpage!", + verificationCode:"Code", + obtainVerificationCode:"Obtain Code", + again:"s again", + newUser:"New user registration", + confirmPassword:"Confirm password", + havingAnAccount:"Existing account?", + loginExpired:"Login status has expired", + overduePrompt:"System prompt", + Home:"Home", + signOut:"Sign out", + codeSuccess:"Verification code has been sent", + emailVerification:"Please check if the email is entered correctly", + passwordVerification:"Password length must be between 8 and 32", + secondaryPassword:"Please enter your password again", + passwordFormat:"Please confirm that the password format is entered correctly", + system:"System prompt", + congratulations:"Congratulations on the successful registration of your account!", + passwordPrompt:"password Contains uppercase and lowercase letters, numbers, and special characters,Length not less than 8 and not more than 32", + verificationCodeSuccessful:"Verification code sent successfully", + noAccount:"Don't have an account?", + resetPassword:"Reset Password", + newPassword:"Confirm password", + changePassword:"Change Password", + returnToLogin:"Return to login", + confirmPassword2:"Confirm that the two password inputs are consistent", + modifiedSuccessfully:"Password changed successfully, please log in", + verificationEnabled:"Verification enabled", + newPassword2:"New Password", + } +} \ No newline at end of file diff --git a/mining-pool/public/src/layout/index.vue b/mining-pool/public/src/layout/index.vue new file mode 100644 index 0000000..c80e6c7 --- /dev/null +++ b/mining-pool/public/src/layout/index.vue @@ -0,0 +1,123 @@ + + + + + diff --git a/mining-pool/public/src/main.js b/mining-pool/public/src/main.js new file mode 100644 index 0000000..94e4dcb --- /dev/null +++ b/mining-pool/public/src/main.js @@ -0,0 +1,121 @@ +import Vue from 'vue' +import App from './App.vue' +import router from './router' +import store from './store' +import ElementUI from 'element-ui'; +import 'element-ui/lib/theme-chalk/index.css'; +import '@/assets/styles/index.scss' +import i18n from './i18n/index' +import axios from "axios"; +import './assets/icons/iconfont/iconfont.css' +import {$addStorageEvent} from '../src/utils/publicMethods' +import MetaInfo from 'vue-meta-info' +import loadingStateMixin from './utils/loadingStateMixin'; +import networkRecoveryMixin from './mixins/networkRecoveryMixin'; +import './utils/loadingRecovery'; +import errorNotificationManager from '../src/utils/errorNotificationManager'; + + + +// 创建事件总线 用于组件通信 +Vue.prototype.$bus = new Vue(); + +Vue.use(MetaInfo) +Vue.prototype.$addStorageEvent = $addStorageEvent // 添加storage事件 +Vue.config.productionTip = false +Vue.use(ElementUI, { + i18n: (key, value) => i18n.t(key, value) +}); +Vue.prototype.$axios = axios + +console.log = ()=>{} //全局关闭打印 +// 全局注册混入 +Vue.mixin(loadingStateMixin);//loading状态管理 +Vue.mixin(networkRecoveryMixin);//网络恢复后数据刷新 + +Vue.prototype.$baseApi = process.env.VUE_APP_BASE_URL //图片base路径 +const screenWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; +const isNarrowScreen = screenWidth < 1280; +Vue.prototype.$isMobile = isNarrowScreen + + + + + +/** + * 全局处理未捕获的 Promise 拒绝(仅限网络类错误), + * 防止错误遮罩层把页面完全遮挡。不影响其他错误的默认行为。 + */ +window.addEventListener('unhandledrejection', (event) => { + const reason = event && event.reason; + const message = typeof reason === 'string' ? reason : (reason && reason.message); + if (message && (message === 'Network Error' || message.includes('timeout'))) { + event.preventDefault(); + console.warn('[unhandledrejection] blocked network error:', message); + } +}); + +// 在路由守卫中设置 +router.beforeEach((to, from, next) => { + // 从路由中获取语言参数 + const lang = to.params.lang || (localStorage.getItem('lang') || 'en'); + + // 设置 HTML 的 lang 属性 + document.documentElement.lang = lang; + + // 设置i18n语言 + if (i18n.locale !== lang) { + i18n.locale = lang; + } + const token = localStorage.getItem('token'); + if (!token || token === 'null') { + // 通知断开所有客服连接 + localStorage.setItem('cs_disconnect_all', Date.now().toString()); + } + + + next(); +}); + +// 定期清理过期的错误记录 +setInterval(() => { + errorNotificationManager.cleanup(); +}, 60000); // 每分钟清理一次 + +window.vm = new Vue({ + router, + store, + i18n, + render: h => h(App), + created() { + this.$watch( + () => this.$i18n.locale, + (newLocale) => { + this.updateMetaAndTitle(); + } + ); + this.updateMetaAndTitle(); + }, + mounted () { + document.dispatchEvent(new Event('render-event')) + }, + methods: { + updateMetaAndTitle() { + document.title = this.$i18n.t('home.appTitle'); + const descriptionMeta = document.querySelector('meta[name="description"]'); + // const keywordsMeta = document.querySelector('meta[name="keywords"]'); + + if (descriptionMeta) { + descriptionMeta.content = this.$i18n.t('home.metaDescription'); + } + // if (keywordsMeta) { + // keywordsMeta.content = this.$i18n.t('home.metaKeywords'); + // } + } + } +}).$mount('#app') + +// 初次加载和DOM加载完成时更新 +document.addEventListener('DOMContentLoaded', () => { + window.vm.updateMetaAndTitle(); +}); \ No newline at end of file diff --git a/mining-pool/public/src/mixins/networkRecoveryMixin.js b/mining-pool/public/src/mixins/networkRecoveryMixin.js new file mode 100644 index 0000000..636b7e4 --- /dev/null +++ b/mining-pool/public/src/mixins/networkRecoveryMixin.js @@ -0,0 +1,61 @@ +//处理断网重连后数据刷新的混入 +export default { + data() { + return { + // 注册需要在网络恢复时调用的方法名 + recoveryMethods: [], + // 上次调用这些方法时的参数 + methodParams: {} + }; + }, + + methods: { + /** + * 注册需要在网络恢复时自动重新调用的方法 + * @param {String} methodName - 方法名 + * @param {*} params - 调用方法时需要的参数 + */ + registerRecoveryMethod(methodName, params) { + if (typeof this[methodName] === 'function' && !this.recoveryMethods.includes(methodName)) { + this.recoveryMethods.push(methodName); + this.methodParams[methodName] = params; + console.log(`[NetworkRecovery] 注册方法: ${methodName}`); + } + }, + + /** + * 更新方法的参数 + * @param {String} methodName - 方法名 + * @param {*} params - 新的参数 + */ + updateMethodParams(methodName, params) { + if (this.recoveryMethods.includes(methodName)) { + this.methodParams[methodName] = params; + } + }, + + /** + * 网络恢复后调用所有注册的方法 + */ + handleNetworkRecovery() { + console.log('[NetworkRecovery] 网络已恢复,正在刷新数据...'); + this.recoveryMethods.forEach(methodName => { + if (typeof this[methodName] === 'function') { + const params = this.methodParams[methodName]; + console.log(`[NetworkRecovery] 重新调用方法: ${methodName}`); + this[methodName](params); + } + }); + } + }, + + mounted() { + // 监听网络恢复事件 + window.addEventListener('network-retry-complete', this.handleNetworkRecovery); + }, + + beforeDestroy() { + // 清理事件监听 + window.removeEventListener('network-retry-complete', this.handleNetworkRecovery); + } + }; \ No newline at end of file diff --git a/mining-pool/public/src/router/index.js b/mining-pool/public/src/router/index.js new file mode 100644 index 0000000..abbd613 --- /dev/null +++ b/mining-pool/public/src/router/index.js @@ -0,0 +1,990 @@ +import Vue from 'vue' +import VueRouter from 'vue-router' +import Layout from '../layout/index.vue' +import { Message } from 'element-ui'; +import i18n from '../i18n/index' +Vue.use(VueRouter) + + +// 提取子路由配置 +const childrenRoutes = [ + { + path: '', + name: 'Home', + component: () => import('../views/home/index.vue'), + meta: { + title: '首页', + description: i18n.t(`seo.Home`), + allAuthority: [`all`], + // keywords: 'M2Pool, cryptocurrency mining pool, bitcoin mining, DGB mining, mining pool service, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务' + keywords: { + en: 'M2Pool, cryptocurrency mining pool, bitcoin mining, DGB mining, mining pool service, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务', + zh: 'M2Pool, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务' + } + + + + } + }, + {//只读页面挖矿账户页 + path: 'miningAccount', + name: 'MiningAccount', + component: () => import('../views/miningAccount/index.vue'), + meta: { + title: '挖矿账户页面', + description: i18n.t(`seo.miningAccount`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool mining account, crypto mining stats, mining rewards, hashrate monitor, 矿池账户, 挖矿收益, 算力监控' + keywords: { + en: 'M2Pool mining account, crypto mining stats, mining rewards, hashrate monitor, 矿池账户, 挖矿收益, 算力监控', + zh: 'M2Pool 挖矿账户, 加密挖矿统计, 挖矿奖励, 算力监控, 矿池账户, 挖矿收益, 算力监控' + } + } + }, + {//只读页面展示页 + path: 'readOnlyDisplay', + name: 'ReadOnlyDisplay', + component: () => import('../views/readOnlyDisplay/index.vue'), + meta: { + title: '只读页面展示页', + description: i18n.t(`seo.readOnlyDisplay`), + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,只读页面,收益状况,矿工信息,Read only page,Revenue situation,Mining Pool,Miner information' + keywords: { + en: 'Read only page,Revenue situation,Mining Pool,Miner information', + zh: 'M2Pool 矿池,只读页面,收益状况,矿工信息' + } + + + + } + }, + {//报块页面 + path: 'reportBlock', + name: 'ReportBlock', + component: () => import('../views/reportBlock/index.vue'), + meta: { + title: '报块页面', + description: i18n.t(`seo.reportBlock`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,报块页面,幸运值,区块高度,Block page,Lucky Value,block height,Mining Pool' + keywords: { + en: 'Block page,Lucky Value,block height,Mining Pool', + zh: 'M2Pool 矿池,报块页面,幸运值,区块高度' + } + + + } + }, + {//帮助中心 + path: 'helpCenter', + name: 'HelpCenter', + component: () => import('../views/helpCenter/index.vue'), + meta: { + title: '帮助中心', + description: i18n.t(`seo.helpCenter`), + allAuthority: [`all`], + keywords: { + en: 'Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other', + zh: '帮助中心,新手入门,常见问题,公告中心' + } + + + } + }, + {//编辑器测试 + path: 'editorDocument', + name: 'EditorDocument', + component: () => import('../views/editorDocument.vue'), + meta: { + title: '编辑器测试', + description: i18n.t(`seo.helpCenter`), + allAuthority: [`all`], + keywords: { + en: 'Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other', + zh: '帮助中心,新手入门,常见问题,公告中心' + } + + + } + }, + + {//广播页面 + path: 'broadcast', + name: 'Broadcast', + component: () => import('../views/broadcast/index.vue'), + meta: { + title: '广播页面', + description: i18n.t(`seo.broadcast`), + allAuthority: [`back_admin`], + keywords: { + en: 'broadcast', + zh: '广播' + } + } + }, + {//用户管理 + path: 'userManagement', + name: 'UserManagement', + component: () => import('../views/userManagement/index.vue'), + meta: { + title: '用户管理', + description: i18n.t(`seo.userManagement`), + allAuthority: [`back_admin`], + keywords: { + en: 'userManagement', + zh: '用户管理' + } + }, + + }, + {//用户详情 + path: 'userDetails', + name: 'UserDetails', + component: () => import('../views/userDetails/index.vue'), + meta: { + title: '用户详情', + description: i18n.t(`seo.userManagement`), + allAuthority: [`back_admin`], + keywords: { + en: 'userDetails', + zh: '用户详情' + } + } + }, + {//文档管理 + path: 'documentManagement', + name: 'DocumentManagement', + component: () => import('../views/documentManagement/index.vue'), + meta: { + title: '文档管理', + description: i18n.t(`seo.documentManagement`), + allAuthority: [`back_admin`], + keywords: { + en: 'documentManagement', + zh: '文档管理' + } + } + }, + {//新增文档 modifyDocument + path: 'addDocument', + name: 'AddDocument', + component: () => import('../views/documentManagement/addDocument/index.vue'), + meta: { + title: '新增文档', + description: i18n.t(`seo.documentManagement`), + allAuthority: [`back_admin`], + keywords: { + en: 'documentManagement', + zh: '文档管理' + } + } + }, + {//修改文档 + path: 'modifyDocument', + name: 'ModifyDocument', + component: () => import('../views/documentManagement/modifyDocument/index.vue'), + meta: { + title: '修改文档', + description: i18n.t(`seo.documentManagement`), + allAuthority: [`back_admin`], + keywords: { + en: 'documentManagement', + zh: '文档管理' + } + } + }, + + + {//费率 + path: 'rate', + name: 'Rate', + component: () => import('../views/rate/index.vue'), + meta: { + title: '费率页面', + description: i18n.t(`seo.rate`), + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,费率页面,挖矿费率,收益计算,Mining Pool,Rate,Mining fee rate,Profit calculation' + keywords: { + en: 'Mining Pool,Rate,Mining fee rate,Profit calculation', + zh: 'M2Pool 矿池,费率页面,挖矿费率,收益计算' + } + + + } + }, + {//分配说明 + path: 'allocationExplanation', + name: 'AllocationExplanation', + component: () => import('../views/allocationExplanation/index.vue'), + meta: { + title: '分配说明页面', + description: i18n.t(`seo.rate`), + allAuthority: [`all`], + // keywords: '分配、转账说明,矿池分配,转账说明,Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions' + keywords: { + en: 'Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions', + zh: '分配、转账说明,矿池分配,转账说明' + } + } + }, + {//API文档 + path: 'apiFile', + name: 'ApiFile', + component: () => import('../views/apiFile/index.vue'), + meta: { + title: 'API文档页面', + description: i18n.t(`seo.apiFile`), + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,API 文档,认证 token,接口调用,API file,authentication token,Interface call' + keywords: { + en: 'API file,authentication token,Interface call', + zh: 'M2Pool 矿池,API 文档,认证 token,接口调用' + } + + } + }, + {//在线客服 + path: 'customerService', + name: 'CustomerService', + component: () => import('../views/customerService/index.vue'), + meta: { + title: '在线客服', + description: i18n.t(`seo.apiFile`), + allAuthority: [`customer_service`, `admin`,],//客服权限 + // keywords: 'M2Pool 矿池,API 文档,认证 token,接口调用,API file,authentication token,Interface call' + keywords: { + en: 'API file,authentication token,Interface call', + zh: 'M2Pool 矿池,API 文档,认证 token,接口调用' + } + + } + }, + + {//接入矿池页面 + path: '/:lang/AccessMiningPool', + name: 'AccessMiningPool', + component: () => import('../views/AccessMiningPool/index.vue'), + meta: { + title: '接入矿池页面', + description: i18n.t(`seo.allocationExplanation`), + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,接入矿池,币种接入,挖矿指南,Access to Mining Pools,Coin Access,Mining Guide' + keywords: { + en: 'Access to Mining Pools,Coin Access,Mining Guide', + zh: 'M2Pool 矿池,接入矿池,币种接入,挖矿指南' + } + + }, + children: [ + {//nexa 挖矿页面 + path: 'nexaAccess', + name: 'NexaAccess', + component: () => import('../views/AccessMiningPool/nexaAccess/index.vue'), + meta: { + title: 'nexa 挖矿页面', + description: i18n.t(`seo.nexaAccess`), + allAuthority: [`all`], + keepAlive: true, + requiresAuth: false, + // keywords: 'nexa,挖矿教程,Nexa接入,Nexa Access,Mining Tutorial' + keywords: { + en: 'Nexa Access,Mining Tutorial', + zh: 'nexa,挖矿教程,Nexa接入,Nexa Access,Mining Tutorial' + } + } + }, + {//rxd 挖矿页面 + path: 'rxdAccess', + name: 'RxdAccess', + component: () => import('../views/AccessMiningPool/rxdAccess/index.vue'), + meta: { + title: 'rxd 挖矿页面', + description: i18n.t(`seo.rxdAccess`), + allAuthority: [`all`], + // keywords: 'rxd,挖矿教程,Radiant接入,rxd Access,Radiant Access,Mining Tutorial,radiant' + keywords: { + en: 'rxd Access,Radiant Access,Mining Tutorial,radiant', + zh: 'rxd,矿池挖矿教程,Radiant接入,' + } + } + }, + {//mona 挖矿页面 + path: 'monaAccess', + name: 'MonaAccess', + component: () => import('../views/AccessMiningPool/monaAccess/index.vue'), + meta: { + title: 'mona 挖矿页面', + description: i18n.t(`seo.monaAccess`), + allAuthority: [`all`], + // keywords: 'mona,挖矿教程,mona接入,Mona Access,MONA Access,Mining Tutorial' + keywords: { + en: 'Mona Access,MONA Access,Mining Tutorial', + zh: 'mona,挖矿教程,mona接入,' + } + }, + + }, + {//grs 挖矿页面 + path: 'grsAccess', + name: 'GrsAccess', + component: () => import('../views/AccessMiningPool/grsAccess/index.vue'), + meta: { + title: 'grs 挖矿页面', + description: i18n.t(`seo.grsAccess`), + allAuthority: [`all`], + // keywords: 'GRS,Grs接入,GRS Access,grs Access,Mining Tutorial' + keywords: { + en: 'GRS Access,grs Access,Mining Tutorial', + zh: 'GRS,Grs接入,GRS挖矿教程' + } + }, + + }, + {//dgbqA挖矿页面 dgboAccess + path: 'dgbqAccess', + name: 'DgbqAccess', + component: () => import('../views/AccessMiningPool/dgbqAccess/index.vue'), + meta: { + title: 'Dgbq 挖矿页面', + description: i18n.t(`seo.dgbAccess`), + allAuthority: [`all`], + // keywords: 'Dgbq,dgb(qubit)接入,Dgb(qubit) Access,DGB(qubit) Access,Mining Tutorial,DGB' + keywords: { + en: 'Dgb(qubit) Access,DGB(qubit) Access,Mining Tutorial,DGB', + zh: 'Dgbq,dgb(qubit)接入,dgb(qubit)挖矿教程' + } + }, + + }, + {//dgboAccess 挖矿页面 + path: 'dgboAccess', + name: 'DgboAccess', + component: () => import('../views/AccessMiningPool/dgboAccess/index.vue'), + meta: { + title: 'Dgbo 挖矿页面', + description: i18n.t(`seo.dgbAccess`), + allAuthority: [`all`], + // keywords: 'dgbo,dgb(odocrypt)接入,Dgb(odocrypt) Access,DGB(odocrypt) Access,Mining Tutorial,DGB' + keywords: { + en: 'Dgb(odocrypt) Access,DGB(odocrypt) Access,Mining Tutorial,DGB', + zh: 'dgbo,dgb(odocrypt)接入,dgb(odocrypt)挖矿教程' + } + }, + + }, + {//dgbsAccess 挖矿页面 + path: 'dgbsAccess', + name: 'DgbsAccess', + component: () => import('../views/AccessMiningPool/dgbsAccess/index.vue'), + meta: { + title: 'Dgbs 挖矿页面', + description: i18n.t(`seo.dgbAccess`), + allAuthority: [`all`], + // keywords: 'dgbs,dgb(skein)接入,Dgb(skein) Access,DGB(skein) Access,Mining Tutorial,DGB' + keywords: { + en: 'Dgb(skein) Access,DGB(skein) Access,Mining Tutorial,DGB', + zh: 'dgbs,dgb(skein)接入,dgb(skein)挖矿教程' + } + }, + + }, + {//enxAccess 挖矿页面 + path: 'enxAccess', + name: 'EnxAccess', + component: () => import('../views/AccessMiningPool/enxAccess/index.vue'), + meta: { + title: ' Entropyx(enx) 挖矿页面', + description: i18n.t(`seo.enxAccess`), + allAuthority: [`all`], + // keywords: 'Entropyx(Enx), Entropyx(enx)接入,enx,ENX,Mining Tutorial' + keywords: { + en: 'Entropyx(Enx), enx,ENX,Mining Tutorial', + zh: 'Entropyx(enx)接入,Entropyx挖矿教程' + } + }, + + }, + {//alphminingPool 挖矿页面 + path: 'alphminingPool', + name: 'AlphminingPool', + component: () => import('../views/AccessMiningPool/alphminingPool/index.vue'), + meta: { + title: ' alephium 挖矿页面', + description: i18n.t(`seo.alphAccess`), + allAuthority: [`all`], + // keywords: 'Entropyx(Enx), Entropyx(enx)接入,enx,ENX,Mining Tutorial' + keywords: { + en: 'alephium(alph), Alephium,Mining Tutorial', + zh: 'alephium(alph)接入,alephium挖矿教程' + } + }, + + }, + + + ] + }, + {//服务条款 + path: 'ServiceTerms', + name: 'ServiceTerms', + component: () => import('../views/ServiceTerms/index.vue'), + meta: { + title: '服务条款页面', + description: i18n.t(`seo.ServiceTerms`), + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,服务条款,用户权益,权利义务,Terms of Service, User Rights, Rights and Obligations' + keywords: { + en: 'Terms of Service, User Rights, Rights and Obligations', + zh: 'M2Pool 矿池,服务条款,用户权益,权利义务' + } + } + }, + {//提交工单 + path: 'submitWorkOrder', + name: 'SubmitWorkOrder', + component: () => import('../views/submitWorkOrder/index.vue'), + meta: { + title: '提交工单页面', + description: i18n.t(`seo.submitWorkOrder`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,提交工单,技术支持,问题处理,Mining Pool,Work Order Submission, Technical Support, Troubleshooting' + keywords: { + en: 'Mining Pool,Work Order Submission, Technical Support, Troubleshooting', + zh: 'M2Pool 矿池,提交工单,技术支持,问题处理' + } + } + }, + {//用户查看工单记录 + path: 'workOrderRecords', + name: 'WorkOrderRecords', + component: () => import('../views/workOrderRecords/index.vue'), + meta: { + title: '工单记录页面(用户)', + description: i18n.t(`seo.workOrderRecords`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,用户工单记录,处理状态,问题进度,User Work Order Records, Processing Status, Issue Progress' + keywords: { + en: 'User Work Order Records, Processing Status, Issue Progress', + zh: 'M2Pool 矿池,用户工单记录,处理状态,问题进度' + } + } + }, + {//用户查看工单详情 + path: 'userWorkDetails', + name: 'UserWorkDetails', + component: () => import('../views/userWorkDetails/index.vue'), + meta: { + title: '工单详情页面(用户)', + description: i18n.t(`seo.userWorkDetails`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,用户工单详情,问题描述,补充提交,User Work Order Details, Problem Description, Additional Submissions' + keywords: { + en: 'User Work Order Details, Problem Description, Additional Submissions', + zh: 'M2Pool 矿池,用户工单详情,问题描述,补充提交' + } + } + }, + {//后台工单管理 + path: 'workOrderBackend', + name: 'WorkOrderBackend', + component: () => import('../views/workOrderBackend/index.vue'), + meta: { + title: '工单管理页面(后台)', + description: "M2Pool 矿池后台工单管理页面,供 M2Pool 管理员查看和管理用户提交的工单记录,确保问题及时处理,提升用户体验。", + allAuthority: [`back_admin`], + // keywords: 'M2Pool 矿池,后台工单管理,用户工单,及时处理,Back-office work order management, user work orders, timely processing' + keywords: { + en: 'Back-office work order management, user work orders, timely processing', + zh: 'M2Pool 矿池,后台工单管理,用户工单,及时处理' + } + } + }, + {//后台工单详情页面 + path: 'BKWorkDetails', + name: 'BKWorkDetails', + component: () => import('../views/BKWorkDetails/index.vue'), + meta: { + title: '工单详情页面(后台)', + description: "M2Pool 矿池后台工单详情页面,管理员可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程,并通过本页面对该工单进行回复处理。", + allAuthority: [`back_admin`], + // keywords: 'M2Pool 矿池,后台工单详情,问题处理,回复工单,Backend Work Order Details, Problem Handling, Responding to Work Orders' + keywords: { + en: 'Backend Work Order Details, Problem Handling, Responding to Work Orders', + zh: 'M2Pool 矿池,后台工单详情,问题处理,回复工单' + } + } + }, + {//数据展示 + path: 'dataDisplay', + name: 'DataDisplay', + component: () => import('../views/dataDisplay/index.vue'), + meta: { + title: '数据展示页面', + description: "M2Pool 矿池数据展示页面", + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,数据展示,Mining Pool,Data Display' + keywords: { + en: 'Mining Pool,Data Display', + zh: 'M2Pool 矿池,数据展示' + } + } + }, + {//公告中心 + path: 'announcements', + name: 'Announcements', + component: () => import('../views/announcements/index.vue'), + meta: { + title: '公告中心', + description: i18n.t(`seo.announcements`) || 'M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。', + allAuthority: [`all`], + keywords: { + en: 'Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices', + zh: 'M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知' + } + } + }, + {//公告详情 + path: 'announcementDetails', + name: 'AnnouncementDetails', + component: () => import('../views/announcementDetails/index.vue'), + meta: { + title: '公告详情', + // description: i18n.t(`seo.announcements`) || 'M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。', + allAuthority: [`all`], + // keywords: { + // en: 'Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices', + // zh: 'M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知' + // } + } + }, + {//常见问题 + path: 'commonProblem', + name: 'CommonProblem', + component: () => import('../views/commonProblem/index.vue'), + meta: { + title: '常见问题', + // description: i18n.t(`seo.announcements`) || 'M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。', + allAuthority: [`all`], + // keywords: { + // en: 'Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices', + // zh: 'M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知' + // } + } + }, + {//搜索结果页面 + path: 'searchResult', + name: 'SearchResult', + component: () => import('../views/searchResult/index.vue'), + meta: { + title: '搜索结果', + // description: i18n.t(`seo.announcements`) || 'M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。', + allAuthority: [`all`], + // keywords: { + // en: 'Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices', + // zh: 'M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知' + // } + } + }, + + {//警报通知 + path: 'alerts', + name: 'Alerts', + component: () => import('../views/alerts/index.vue'), + meta: { + title: '警报通知', + description: i18n.t(`seo.alerts`), + allAuthority: [`admin`, `registered`, `back_admin`], + // keywords: 'M2Pool, 矿池,离线告警设置,矿机离线,Mining Pool,Offline Alarm Setting,Mining Machine Offline' + keywords: { + en: 'Mining Pool,Offline Alarm Setting,Mining Machine Offline', + zh: 'M2Pool 矿池,离线告警设置,矿机离线' + } + } + }, + + {//个人中心 + path: 'personalCenter', + name: 'PersonalCenter', + // redirect: "/personalCenter/personalMining", + component: () => import('../views/personalCenter/index.vue'), + meta: { + title: '个人中心页面', + description: i18n.t(`seo.personalCenter`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,个人中心,挖矿账户,只读页面设置,安全设置,API密钥生成,Personal Center,Mining Account,Read-Only Page Setup,Security Settings,API Key Generation' + keywords: { + en: 'Personal Center,Mining Account,Read-Only Page Setup,Security Settings,API Key Generation', + zh: 'M2Pool 矿池,个人中心,挖矿账户,只读页面设置,安全设置,API密钥生成' + } + }, + children: [ + {//个人中心挖矿账户 + path: 'personalMining', + name: 'PersonalMining', + component: () => import('../views/personalCenter/personalMining/index.vue'), + meta: { + title: '挖矿账户设置页面', + description: i18n.t(`seo.personalMining`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,个人中心,挖矿账户设置,币种账户,Personal Center,Mining Account Settings,Coin Accounts' + keywords: { + en: 'Personal Center,Mining Account Settings,Coin Accounts', + zh: 'M2Pool 矿池,个人中心,挖矿账户设置,币种账户' + } + } + }, + {//个人中心只读页面 securitySetting + path: 'readOnly', + name: 'ReadOnly', + component: () => import('../views/personalCenter/readOnly/index.vue'), + meta: { + title: '只读页面设置', + description: i18n.t(`seo.readOnly`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,个人中心,只读页面设置,矿池分享,Personal Center,Read-Only Page Setting,Mining Pool Sharing' + keywords: { + en: 'Personal Center,Read-Only Page Setting,Mining Pool Sharing', + zh: 'M2Pool 矿池,个人中心,只读页面设置,矿池分享' + } + } + }, + {//个人中心安全设置personal + path: 'securitySetting', + name: 'SecuritySetting', + component: () => import('../views/personalCenter/securitySetting/index.vue'), + meta: { + title: '安全设置页面', + description: i18n.t(`seo.securitySetting`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,安全设置,密码修改,Security settings, password change' + keywords: { + en: 'Security settings, password change', + zh: 'M2Pool 矿池,安全设置,密码修改' + } + } + }, + {//个人中心 + path: 'personal', + name: 'personal', + component: () => import('../views/personalCenter/personal/index.vue'), + meta: { + title: '个人信息页面', + description: i18n.t(`seo.personal`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,个人信息,登录历史,Personal Information, Login History' + keywords: { + en: 'Personal Information, Login History', + zh: 'M2Pool 矿池,个人信息,登录历史' + } + } + }, + {//个人中心 挖矿报告 (隐藏) + path: 'miningReport', + name: 'MiningReport', + component: () => import('../views/personalCenter/miningReport/index.vue'), + meta: { + title: '挖矿报告页面', + description: i18n.t(`seo.miningReport`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,个人中心,挖矿报告,订阅服务,Mining Report, Subscription Service' + keywords: { + en: 'Mining Report, Subscription Service', + zh: 'M2Pool 矿池,个人中心,挖矿报告,订阅服务' + } + } + }, + + {//个人中心 API + path: 'personalAPI', + name: 'PersonalAPI', + component: () => import('../views/personalCenter/personalAPI/index.vue'), + meta: { + title: 'API页面', + description: i18n.t(`seo.personalAPI`), + allAuthority: [`admin`, `registered`, `customer_service`, `back_admin`], + // keywords: 'M2Pool 矿池,个人中心,API 页面,API密钥生成,API Page,API Key Generation' + keywords: { + en: 'API Page,API Key Generation', + zh: 'M2Pool 矿池,个人中心,API 页面,API密钥生成' + } + } + }, + + ] + }, + + +] + +// 独立页面路由 +const staticRoutes = [ + { + path: '/:lang/login', + name: 'Login', + component: () => import('../views/login/login.vue'), + meta: { + title: '登录页面', + description: "M2Pool 矿池登录页面", + allAuthority: [`all`], + // keywords: 'M2Pool 矿池,登录页面,账号密码,安全登录' + keywords: { + en: 'M2Pool Mining Pool,login page,account password', + zh: 'M2Pool 矿池,登录页面,账号密码,安全登录' + } + } + }, + { + path: '/:lang/register', + name: 'Register', + component: () => import('../views/register/register.vue'), + meta: { + title: '注册页面', description: "M2Pool 矿池注册页面,新用户可在此便捷注册账号,加入 M2Pool 矿池大家庭。", allAuthority: [`all`], + // keywords: 'M2Pool 矿池,注册页面,新用户注册,账号创建' + keywords: { + en: 'M2Pool Mining Pool,register page,new user registration,account creation', + zh: 'M2Pool 矿池,注册页面,新用户注册,账号创建' + } + } + }, + { + path: '/:lang/simulation', + name: 'simulation', + component: () => import('../views/simulation.vue'), + meta: { + title: '测试页面', description: "M2Pool 矿池测试页面,用于进行系统功能的模拟和测试,确保矿池稳定运行", allAuthority: [`all`], + // keywords: 'M2Pool 矿池,测试页面,系统测试,稳定运行' + keywords: { + en: 'M2Pool Mining Pool,test page,system test,stable operation', + zh: 'M2Pool 矿池,测试页面,系统测试,稳定运行' + } + } + }, + { + path: '/:lang/splitEditorDemo', + name: 'splitEditorDemo', + component: () => import('../views/splitEditorDemo/index.vue'), + meta: { + title: '分屏编辑器演示', + description: "M2Pool 分屏编辑器演示页面,支持编辑、预览、分屏三种模式的富文本编辑器", + allAuthority: [`all`], + keywords: { + en: 'split screen editor,rich text editor,real-time preview,WYSIWYG editor', + zh: '分屏编辑器,富文本编辑器,实时预览,所见即所得编辑器' + } + } + }, + + + + { + path: '/:lang/resetPassword', + name: 'ResetPassword', + component: () => import('../views/resetPassword/index.vue'), + meta: { + title: '重置密码页面', description: "M2Pool 矿池重置密码页面,用户可在此修改矿池网站账号密码,保障账户安全。", allAuthority: [`all`], + // keywords: 'M2Pool 矿池,重置密码,修改密码,账户安全' + keywords: { + en: 'M2Pool Mining Pool,reset password,modify password,account security', + zh: 'M2Pool 矿池,重置密码,修改密码,账户安全' + } + } + }, + {//404 + path: '/:lang/404', + component: () => import('../views/page404.vue'), + meta: { + title: '404页面', description: "M2Pool 矿池 404 页面,当 URL 错误时将跳转至此页面,提示用户页面不存在。", allAuthority: [`all`], + // keywords: 'M2Pool 矿池,404 页面,页面不存在,错误跳转' + keywords: { + en: 'M2Pool Mining Pool,404 page,page not found,error redirect', + zh: 'M2Pool 矿池,404 页面,页面不存在,错误跳转' + } + } + }, + +] + + +const routes = [ + { + path: '/:lang', + component: Layout, + beforeEnter: (to, from, next) => { + const lang = to.params.lang + const supportedLanguages = ['zh', 'en'] + + // 检查语言参数 + if (!supportedLanguages.includes(lang)) { + return next(`/en${to.path}`) + } + + // 设置语言 + if (i18n.locale !== lang) { + i18n.locale = lang + localStorage.setItem('lang', lang) + } + return next() + }, + children: childrenRoutes + }, + // 根路径重定向 + { + path: '/', + redirect: () => { + const defaultLang = localStorage.getItem('lang') || 'en' + return `/${defaultLang}` + } + }, + // 添加所有静态路由 + ...staticRoutes, + // 404页面 + { + path: '*', + redirect: to => { + const lang = localStorage.getItem('lang') || 'en' + return `/${lang}/404` + } + } +] + + + +const router = new VueRouter({ + mode: 'history', + base: process.env.BASE_URL, + routes, + strict: true, // 启用严格模式,不允许尾部斜杠 + scrollBehavior(to, from, savedPosition) { //每次路由跳转时,滚动到顶部 + // 如果有保存的滚动位置(比如浏览器前进后退),就用它 + if (savedPosition) { + return savedPosition; + } else { + // 否则滚动到顶部,并使用平滑滚动 + return { x: 0, y: 0, behavior: 'smooth' }; + } + } + +}) +router.afterEach(() => { + Vue.nextTick(() => { + // 滚动主内容区 + const contentMain = document.querySelector('.el-main'); + if (contentMain) { + contentMain.scrollTo({ top: 0, left: 0, behavior: 'smooth' }); + } + // 兼容其它页面(如登录页等) + window.scrollTo({ top: 0, left: 0, behavior: 'smooth' }); + }); +}); + +router.beforeEach((to, from, next) => { + const lang = to.params.lang || (localStorage.getItem('lang') || 'en'); + let token = null; + try { + token = JSON.parse(localStorage.getItem('token')); + } catch (e) { + token = null; + } + // 权限判断 + let jurisdiction = null; + try { + jurisdiction = JSON.parse(localStorage.getItem("jurisdiction")); + } catch (e) { + jurisdiction = null; + } + + + + +// -------------------------- +// 未登录 +if (!token) { + console.log(`未登录`); + if ( + to.meta.allAuthority && + ( + to.meta.allAuthority[0] === 'all' || + (jurisdiction && jurisdiction.roleKey && to.meta.allAuthority.includes(jurisdiction.roleKey)) + ) + ) { + return next(); + } else { + + + // 无权限 + Message({ + showClose: true, + message: i18n.t(`mining.jurisdiction`), + type: 'error' + }); + return next({ path: `/${lang}/login` }); + } + +} else { + + + if (jurisdiction && jurisdiction.roleKey == `back_admin`) { + if (to.name == 'Login' || to.name == 'Register' || jurisdiction && jurisdiction.roleKey && to.meta.allAuthority.includes(jurisdiction.roleKey)) { + return next(); + } else if(to.path == `/${lang}`) { + return next({ path: `/${lang}/userManagement` }); + }else { + // 无权限 + Message({ + showClose: true, + message: `当前身份只能访问后台管理系统`, + type: 'error' + }); + localStorage.setItem("activeIndex", `1`); + return next({ path: `/${lang}/broadcast` }); + + + } + + } else { + + if (to.name === 'Login' || to.name === 'Register') { + return next({ path: `/${lang}` }); + } else if (to.meta.allAuthority && + ( + to.meta.allAuthority[0] === 'all' || + (jurisdiction && jurisdiction.roleKey && to.meta.allAuthority.includes(jurisdiction.roleKey)) + ) + ) { + return next(); + } else { + // 无权限 + Message({ + showClose: true, + message: i18n.t(`mining.jurisdiction`), + type: 'error' + }); + return next({ path: `/${lang}/login` }); + } + + + } + + + + + + +} + + + + + +}); + + + + +// 解决报错 此方法只针对VueRouter3.0以上 +const originalPush = VueRouter.prototype.push +VueRouter.prototype.push = function push(location) { + return originalPush.call(this, location).catch(err => err) +} +export default router diff --git a/mining-pool/public/src/store/index.js b/mining-pool/public/src/store/index.js new file mode 100644 index 0000000..cf260b8 --- /dev/null +++ b/mining-pool/public/src/store/index.js @@ -0,0 +1,53 @@ +import Vue from 'vue' +import Vuex from 'vuex' + +Vue.use(Vuex) + +export default new Vuex.Store({ + state: { + isLoggedIn: false, + userInfo: null + }, + getters: { + isLoggedIn: state => state.isLoggedIn, + userInfo: state => state.userInfo + }, + mutations: { + SET_LOGIN_STATE(state, isLoggedIn) { + state.isLoggedIn = isLoggedIn + }, + SET_USER_INFO(state, userInfo) { + state.userInfo = userInfo + }, + CLEAR_USER_DATA(state) { + state.isLoggedIn = false + state.userInfo = null + } + }, + actions: { + // 退出登录 + async logout({ commit }) { + try { + // 清除本地存储 + localStorage.removeItem('token') + localStorage.removeItem('userEmail') + localStorage.removeItem('jurisdiction') + + // 清除 Vuex 状态 + commit('CLEAR_USER_DATA') + + // 触发全局事件,通知其他组件用户已退出 + if (Vue.prototype.$bus) { + Vue.prototype.$bus.$emit('user-logged-out') + } + + return true + } catch (error) { + console.error('退出登录失败:', error) + return false + } + } + }, + modules: { + } +}) diff --git a/mining-pool/public/src/utils/echarts.js b/mining-pool/public/src/utils/echarts.js new file mode 100644 index 0000000..7a3f2df --- /dev/null +++ b/mining-pool/public/src/utils/echarts.js @@ -0,0 +1,179 @@ +import { color } from "echarts"; + +//折线图 +export const line = { + legend: { + right: 100, + formatter: function (name) { + return name; + }, + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + // formatter: function (params) { + // var res = params[0].axisValueLabel; + + // for (let i = 0; i <= params.length - 1; i++) { + // res += `
              ${params[i].marker} ${params[i].value[1]} ${params[i].seriesName}`; + // } + // return res; + // }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'] + }, + yAxis: [ + { + position: "left", + type: "value", + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + ], + dataZoom: [ + { + type: "inside", + start: 10, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 10, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "line", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + data: [150, 230, 224, 218, 135, 147, 260], + }, + + + + ], +} +//柱状图 +export const bar ={ + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow' + } + }, + grid: { + left: '3%', + right: '4%', + bottom: '3%', + containLabel: true + }, + xAxis: [ + { + type: 'category', + data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], + axisTick: { + alignWithLabel: true + } + } + ], + yAxis: [ + { + type: 'value', + show:true + + } + ], + series: [ + { + name: 'Direct', + type: 'bar', + barWidth: '60%', + data: [10, 52, 200, 334, 390, 330, 220], + itemStyle:{ + borderRadius:[100,100,0,0], + color:"#7645EE", + } + } + ] + } \ No newline at end of file diff --git a/mining-pool/public/src/utils/errorCode.js b/mining-pool/public/src/utils/errorCode.js new file mode 100644 index 0000000..7dcc089 --- /dev/null +++ b/mining-pool/public/src/utils/errorCode.js @@ -0,0 +1,6 @@ +export default { + '401': '认证失败,无法访问系统资源,请重新登录', + '403': '当前操作没有权限', + '404': '访问资源不存在', + 'default': '系统未知错误,请反馈给管理员' +} diff --git a/mining-pool/public/src/utils/errorNotificationManager.js b/mining-pool/public/src/utils/errorNotificationManager.js new file mode 100644 index 0000000..9218b65 --- /dev/null +++ b/mining-pool/public/src/utils/errorNotificationManager.js @@ -0,0 +1,74 @@ +/** + * 错误提示管理器 + * 用于控制错误提示的频率,避免短时间内重复显示相同类型的错误 + */ +class ErrorNotificationManager { + constructor() { + // 记录最近显示的错误信息 + this.recentErrors = new Map(); + // 默认节流时间 (30秒) + this.throttleTime = 3000; + // 错误类型映射 + this.errorTypes = { + 'Network Error': 'network', + 'timeout': 'timeout', + 'Request failed with status code': 'statusCode', + // 添加网络状态类型 + 'networkReconnected': 'networkStatus', + 'NetworkError': 'network' + }; + } + + /** + * 获取错误类型 + * @param {String} message 错误信息 + * @returns {String} 错误类型 + */ + getErrorType(message) { + for (const [key, type] of Object.entries(this.errorTypes)) { + if (message.includes(key)) { + return type; + } + } + return 'unknown'; + } + + /** + * 检查是否可以显示错误 + * @param {String} message 错误信息 + * @returns {Boolean} 是否可以显示 + */ + canShowError(message) { + const errorType = this.getErrorType(message); + const now = Date.now(); + + // 检查同类型的错误是否最近已经显示过 + if (this.recentErrors.has(errorType)) { + const lastTime = this.recentErrors.get(errorType); + if (now - lastTime < this.throttleTime) { + console.log(`[错误提示] 已抑制重复错误: ${errorType}`); + return false; + } + } + + // 更新最后显示时间 + this.recentErrors.set(errorType, now); + return true; + } + + /** + * 清理过期的错误记录 + */ + cleanup() { + const now = Date.now(); + this.recentErrors.forEach((time, type) => { + if (now - time > this.throttleTime) { + this.recentErrors.delete(type); + } + }); + } +} + +// 创建单例实例 +const errorNotificationManager = new ErrorNotificationManager(); +export default errorNotificationManager; \ No newline at end of file diff --git a/mining-pool/public/src/utils/fun.js b/mining-pool/public/src/utils/fun.js new file mode 100644 index 0000000..b65b17d --- /dev/null +++ b/mining-pool/public/src/utils/fun.js @@ -0,0 +1,14 @@ + +import JSEncrypt from "jsencrypt"; //引入模块 + +const publicKey = `MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwHkUfT2GAupZAL5DMnwETSywuPLIKUAR3hjhKvOls2u0YtIHlcfjhqGBfg0NEPi6Ig2GmK5KnjcdIppfNfBpSiJBEtMwM2E7WJbXBsYU0B4wB86XGW9fFQi0e8pGYvVbKvwP9MQeLnUC4xf2L+6Nw3xQZ9GAsE6GUJ4tUOSKK/QIDAQAB` +export const encryption = (str) => { + //创建实例 + const jse = new JSEncrypt() + //添加秘钥 秘钥放过来 + jse.setPublicKey(publicKey) + //加密 + let data = jse.encrypt(str) + return data + +} diff --git a/mining-pool/public/src/utils/loadingManager.js b/mining-pool/public/src/utils/loadingManager.js new file mode 100644 index 0000000..9d618fd --- /dev/null +++ b/mining-pool/public/src/utils/loadingManager.js @@ -0,0 +1,68 @@ +// 全局 loading 状态管理器 +class LoadingManager { + constructor() { + this.loadingStates = new Map(); // 存储所有 loading 状态 + this.setupListeners(); + } + + setupListeners() { + // 监听网络重试完成事件 + window.addEventListener('network-retry-complete', () => { + this.resetAllLoadingStates(); + }); + } + + // 设置 loading 状态 + setLoading(componentId, stateKey, value) { + const key = `${componentId}:${stateKey}`; + this.loadingStates.set(key, { + value, + timestamp: Date.now() + }); + } + + // 获取 loading 状态 + getLoading(componentId, stateKey) { + const key = `${componentId}:${stateKey}`; + const state = this.loadingStates.get(key); + return state ? state.value : false; + } + + // 重置所有 loading 状态 + resetAllLoadingStates() { + // 清除所有处于加载状态的组件 + const componentsToUpdate = []; + + this.loadingStates.forEach((state, key) => { + if (state.value === true) { + const [componentId, stateKey] = key.split(':'); + componentsToUpdate.push({ componentId, stateKey }); + this.loadingStates.set(key, { value: false, timestamp: Date.now() }); + } + }); + + // 使用事件通知各组件更新 + window.dispatchEvent(new CustomEvent('reset-loading-states', { + detail: { componentsToUpdate } + })); + } + + // 重置特定组件的所有 loading 状态 + resetComponentLoadingStates(componentId) { + const componentsToUpdate = []; + + this.loadingStates.forEach((state, key) => { + if (key.startsWith(`${componentId}:`) && state.value === true) { + const stateKey = key.split(':')[1]; + componentsToUpdate.push({ componentId, stateKey }); + this.loadingStates.set(key, { value: false, timestamp: Date.now() }); + } + }); + + return componentsToUpdate; + } + } + + // 创建单例实例 + const loadingManager = new LoadingManager(); + export default loadingManager; \ No newline at end of file diff --git a/mining-pool/public/src/utils/loadingRecovery.js b/mining-pool/public/src/utils/loadingRecovery.js new file mode 100644 index 0000000..79cc5a0 --- /dev/null +++ b/mining-pool/public/src/utils/loadingRecovery.js @@ -0,0 +1,41 @@ +import Vue from 'vue'; + +/** + * 自动恢复加载状态的指令 + * 用法: v-loading-recovery="{ loading: 'loadingProp', recovery: ['method1', 'method2'] }" + */ +export const loadingRecoveryDirective = { + // 当绑定元素插入到 DOM 中时 + inserted(el, binding, vnode) { + const component = vnode.context; + const { loading, recovery } = binding.value || {}; + + if (!loading || !recovery || !Array.isArray(recovery)) return; + + // 为组件添加加载状态恢复的逻辑 + const handleNetworkRecovery = () => { + // 当网络恢复时,自动设置loading为false + if (component[loading]) { + component[loading] = false; + } + }; + + // 保存到元素上,以便后续清理 + el._loadingRecovery = handleNetworkRecovery; + window.addEventListener('network-retry-complete', handleNetworkRecovery); + + console.log(`[LoadingRecovery] 添加加载状态恢复: ${loading}`); + }, + + // 当指令与元素解绑时 + unbind(el) { + // 清理事件监听 + if (el._loadingRecovery) { + window.removeEventListener('network-retry-complete', el._loadingRecovery); + delete el._loadingRecovery; + } + } +}; + +// 注册全局指令 +Vue.directive('loading-recovery', loadingRecoveryDirective); \ No newline at end of file diff --git a/mining-pool/public/src/utils/loadingStateMixin.js b/mining-pool/public/src/utils/loadingStateMixin.js new file mode 100644 index 0000000..bb083b6 --- /dev/null +++ b/mining-pool/public/src/utils/loadingStateMixin.js @@ -0,0 +1,48 @@ +import loadingManager from '../utils/loadingManager'; + +export default { + data() { + return { + componentId: this.$options.name || 'unnamed-component' + }; + }, + + methods: { + // 设置 loading 状态 + setLoading(stateKey, value) { + // 同时更新组件本地状态和全局状态 + this[stateKey] = value; + loadingManager.setLoading(this.componentId, stateKey, value); + }, + + // 获取 loading 状态 + getLoading(stateKey) { + return loadingManager.getLoading(this.componentId, stateKey); + } + }, + + mounted() { + // 监听重置 loading 状态事件 + this._resetHandler = (event) => { + const { componentsToUpdate } = event.detail; + componentsToUpdate.forEach(item => { + if (item.componentId === this.componentId) { + this[item.stateKey] = false; + } + }); + }; + + window.addEventListener('reset-loading-states', this._resetHandler); + }, + + beforeDestroy() { + // 清理监听器 + window.removeEventListener('reset-loading-states', this._resetHandler); + + // 组件销毁时清理该组件的所有loading状态 + const componentsToUpdate = loadingManager.resetComponentLoadingStates(this.componentId); + componentsToUpdate.forEach(item => { + this[item.stateKey] = false; + }); + } +}; \ No newline at end of file diff --git a/mining-pool/public/src/utils/publicMethods.js b/mining-pool/public/src/utils/publicMethods.js new file mode 100644 index 0000000..9a4dd33 --- /dev/null +++ b/mining-pool/public/src/utils/publicMethods.js @@ -0,0 +1,107 @@ +//监听localstorage +export const $addStorageEvent = function (type, key, data) { + // localStorage + if (type === 1) { + // 创建一个StorageEvent事件 + var newStorageEvent = document.createEvent('StorageEvent'); + const storage = { + setItem: function (k, val) { + localStorage.setItem(k, val); + // 初始化创建的事件 + newStorageEvent.initStorageEvent('setItem', false, false, k, null, val, null, null); + // 派发对象 + window.dispatchEvent(newStorageEvent); + } + } + return storage.setItem(key, data); + } else { + // sessionStorage + // 创建一个StorageEvent事件 + var newStorageEvent = document.createEvent('StorageEvent'); + const storage = { + setItem: function (k, val) { + sessionStorage.setItem(k, val); + // 初始化创建的事件 + newStorageEvent.initStorageEvent('setItem', false, false, k, null, val, null, null); + // 派发对象 + window.dispatchEvent(newStorageEvent); + } + } + return storage.setItem(key, data); + } + } + +/** + * @desc 防抖函数 + * @param {()=>void} fn 接收一个需要防抖的函数 + * @param {number} delay 延迟时间,单位 ms。默认为 0。 可选参数,表示重复执行的时间间隔, + * @returns {()=>void} 返回一个实际执的函数 + */ + +// 防抖函数 +export function Debounce(fn, delay) { + let timer = null; + return function () { + let context = this; + let args = arguments; + clearTimeout(timer); + timer = setTimeout(function () { + fn.apply(context, args); + }, delay); + }; +} + +//节流函数 +// export function throttle(func, delay) { +// let timer = null; +// return function () { +// if (!timer) { +// func.apply(this, arguments); +// timer = setTimeout(() => { +// timer = null; +// }, delay); +// } +// }; +// } + + + // 节流函数 + export function throttle(fn, wait) { + let inThrottle, lastFn, lastTime; + return function() { + const context = this, + args = arguments; + if (!inThrottle) { + fn.apply(context, args); + lastTime = Date.now(); + inThrottle = true; + } else { + clearTimeout(lastFn); + lastFn = setTimeout(function() { + if (Date.now() - lastTime >= wait) { + fn.apply(context, args); + lastTime = Date.now(); + } + }, Math.max(wait - (Date.now() - lastTime), 0)); + } + }; +} + +export const getImageUrl = (path) => { + const baseUrl = process.env.VUE_APP_BASE_URL; + if (!path) return ''; + if (path.startsWith('http')) { + return path.replace('http://test.m2pool.com', baseUrl); + } + return `${baseUrl}${path.startsWith('/') ? '' : '/'}${path}`; +}; + + + + // (function() { + // window.addEventListener('storage', function(event) { + // if (event.key === 'accountList') { // 将 'yourKey' 替换为存储数据的键 + // location.reload(); + // } + // }); + // })(); \ No newline at end of file diff --git a/mining-pool/public/src/utils/request.js b/mining-pool/public/src/utils/request.js new file mode 100644 index 0000000..a8873de --- /dev/null +++ b/mining-pool/public/src/utils/request.js @@ -0,0 +1,457 @@ +import axios from 'axios' +import errorCode from './errorCode' +import { Notification, MessageBox, Message } from 'element-ui' +import loadingManager from './loadingManager'; +import errorNotificationManager from './errorNotificationManager'; + + +const pendingRequestMap = new Map(); //处理Request aborted 错误 + +function getRequestKey(config) { //处理Request aborted 错误 生成唯一 key 的函数 + const { url, method, params, data } = config; + return [url, method, JSON.stringify(params), JSON.stringify(data)].join('&'); +} +// 创建axios实例 +const service = axios.create({ + // axios中请求配置有baseURL选项,表示请求URL公共部分 + baseURL: process.env.VUE_APP_BASE_API, + // 超时 + timeout: 10000, +}) + +// 网络错误相关配置 +const NETWORK_ERROR_THROTTLE_TIME = 5000; // 错误提示节流时间 +const RETRY_DELAY = 2000; // 重试间隔时间 +const MAX_RETRY_TIMES = 3; // 最大重试次数 +const RETRY_WINDOW = 60000; // 60秒重试窗口 +let lastNetworkErrorTime = 0; // 上次网络错误提示时间 +let pendingRequests = new Map(); + + +// 网络状态监听器 +// 网络状态最后提示时间 +let lastNetworkStatusTime = { + online: 0, + offline: 0 +}; + +// 创建一个全局标志,确保每次网络恢复只显示一次提示 +let networkRecoveryInProgress = false; + +// 网络状态监听器 +window.addEventListener('online', () => { + const now = Date.now(); + + // 避免短时间内多次触发 + if (networkRecoveryInProgress) { + console.log('[网络] 网络恢复处理已在进行中,忽略重复事件'); + return; + } + + networkRecoveryInProgress = true; + + // 严格检查是否应该显示提示 + if (now - lastNetworkStatusTime.online > 30000) { // 30秒内不重复提示 + lastNetworkStatusTime.online = now; + + try { + if (window.vm && window.vm.$message) { + // 确保消息只显示一次 + window.vm.$message({ + message: window.vm.$i18n.t('home.networkReconnected') || '网络已重新连接,正在恢复数据...', + type: 'success', + duration: 5000, + showClose: true, + }); + console.log('[网络] 显示网络恢复提示, 时间:', new Date().toLocaleTimeString()); + } + } catch (e) { + console.error('[网络] 显示网络恢复提示失败:', e); + } + } else { + console.log('[网络] 抑制重复的网络恢复提示, 间隔过短:', now - lastNetworkStatusTime.online + 'ms'); + } + + // 网络恢复时,重试所有待处理的请求 + const pendingPromises = []; + + pendingRequests.forEach(async (request, key) => { + if (now - request.timestamp <= RETRY_WINDOW) { + try { + // 获取新的响应数据 + const response = await service(request.config); + pendingPromises.push(response); + + // 执行请求特定的回调 + if (request.callback && typeof request.callback === 'function') { + request.callback(response); + } + + // 处理特定类型的请求 + if (window.vm) { + // 处理图表数据请求 + if (request.config.url.includes('getPoolPower') && response && response.data) { + // 触发图表更新事件 + window.dispatchEvent(new CustomEvent('chart-data-updated', { + detail: { type: 'poolPower', data: response.data } + })); + } + else if (request.config.url.includes('getNetPower') && response && response.data) { + window.dispatchEvent(new CustomEvent('chart-data-updated', { + detail: { type: 'netPower', data: response.data } + })); + } + else if (request.config.url.includes('getBlockInfo') && response && response.rows) { + window.dispatchEvent(new CustomEvent('chart-data-updated', { + detail: { type: 'blockInfo', data: response.rows } + })); + } + } + + pendingRequests.delete(key); + } catch (error) { + console.error('重试请求失败:', error); + pendingRequests.delete(key); + } + } else { + pendingRequests.delete(key); + } + }); + + // 等待所有请求完成 + Promise.allSettled(pendingPromises).then(() => { + // 重置所有 loading 状态 + if (loadingManager) { + loadingManager.resetAllLoadingStates(); + } + + // 手动重置一些关键的 loading 状态 + if (window.vm) { + // 常见的加载状态 + const commonLoadingProps = [ + 'minerChartLoading', 'reportBlockLoading', 'apiPageLoading', + 'MiningLoading', 'miniLoading', 'bthLoading', 'editLoading' + ]; + + commonLoadingProps.forEach(prop => { + if (typeof window.vm[prop] !== 'undefined') { + window.vm[prop] = false; + } + }); + + // 重置所有以Loading结尾的状态 + Object.keys(window.vm).forEach(key => { + if (key.endsWith('Loading')) { + window.vm[key] = false; + } + }); + + + } + + // 触发网络重试完成事件 + window.dispatchEvent(new CustomEvent('network-retry-complete')); + + // 重置网络恢复标志 + setTimeout(() => { + networkRecoveryInProgress = false; + }, 5000); // 5秒后允许再次处理网络恢复 + }); +}); + + // 使用错误提示管理器控制网络断开提示 +window.addEventListener('offline', () => { + if (window.vm && window.vm.$message && errorNotificationManager.canShowError('networkOffline')) { + window.vm.$message({ + message: window.vm.$i18n.t('home.networkOffline') || '网络连接已断开,系统将在恢复连接后自动重试', + type: 'error', + duration: 5000, + showClose: true, + }); + } +}); + +service.defaults.retry = 2;// 重试次数 +service.defaults.retryDelay = 2000; +service.defaults.shouldRetry = (error) => { + // 只有网络错误或超时错误才进行重试 + return error.message === "Network Error" || error.message.includes("timeout"); +}; + +localStorage.setItem('superReportError', "") +let superReportError = localStorage.getItem('superReportError') +window.addEventListener("setItem", () => { + superReportError = localStorage.getItem('superReportError') +}); + +// request拦截器 +service.interceptors.request.use(config => { + superReportError = "" + // retryCount =0 + localStorage.setItem('superReportError', "") + // 是否需要设置 token + let token + try { + token = JSON.parse(localStorage.getItem('token')) + } catch (e) { + console.log(e); + } + if (token) { + config.headers['Authorization'] = token + } + + + if (config.method == 'get' && config.data) { + config.params = config.data + } + // get请求映射params参数 + if (config.method === 'get' && config.params) { + let url = config.url + '?'; + for (const propName of Object.keys(config.params)) { + const value = config.params[propName]; + var part = encodeURIComponent(propName) + "="; + if (value !== null && typeof (value) !== "undefined") { + if (typeof value === 'object') { + for (const key of Object.keys(value)) { + if (value[key] !== null && typeof (value[key]) !== 'undefined') { + let params = propName + '[' + key + ']'; + let subPart = encodeURIComponent(params) + '='; + url += subPart + encodeURIComponent(value[key]) + '&'; + } + } + } else { + url += part + encodeURIComponent(value) + "&"; + } + } + } + url = url.slice(0, -1); + config.params = {}; + config.url = url; + } + + // 生成请求唯一key 处理Request aborted 错误 + const requestKey = getRequestKey(config); + + // 如果有相同请求,先取消 处理Request aborted 错误 + if (pendingRequestMap.has(requestKey)) { + const cancel = pendingRequestMap.get(requestKey); + cancel(); // 取消上一次请求 + pendingRequestMap.delete(requestKey); + } + + // 创建新的CancelToken 处理Request aborted 错误 + config.cancelToken = new axios.CancelToken(cancel => { + pendingRequestMap.set(requestKey, cancel); + }); + + return config +}, error => { + Promise.reject(error) +}) + +// 响应拦截器 +service.interceptors.response.use(res => { + + // 请求完成后移除 + const requestKey = getRequestKey(res.config); + pendingRequestMap.delete(requestKey); + // 未设置状态码则默认成功状态 + const code = res.data.code || 200; + // 获取错误信息 + const msg = errorCode[code] || res.data.msg || errorCode['default'] + if (code === 421) { + localStorage.setItem('cs_disconnect_all', Date.now().toString()); //告知客服页面断开连接 + localStorage.removeItem('token') + // 系统状态已过期,请重新点击SUPPORT按钮进入 + superReportError = localStorage.getItem('superReportError') + if (!superReportError) { + superReportError = 421 + localStorage.setItem('superReportError', superReportError) + MessageBox.confirm(window.vm.$i18n.t(`user.loginExpired`), window.vm.$i18n.t(`user.overduePrompt`), { + distinguishCancelAndClose: true, + confirmButtonText: window.vm.$i18n.t(`user.login`), + cancelButtonText: window.vm.$i18n.t(`user.Home`), + // showCancelButton: false, // 隐藏取消按钮 + closeOnClickModal: false, // 点击空白处不关闭对话框 + showClose: false, // 隐藏关闭按钮 + type: 'warning' + } + ).then(() => { + window.vm.$router.push(`/${window.vm.$i18n.locale}/login`) + localStorage.removeItem('token') + }).catch(() => { + window.vm.$router.push(`/${window.vm.$i18n.locale}/`) + localStorage.removeItem('token') + }); + + } + + + return Promise.reject('登录状态已过期') + } else if (code >= 500 && !superReportError) { + superReportError = 500 + localStorage.setItem('superReportError', superReportError) + Message({ + dangerouslyUseHTMLString: true, + message: msg, + type: 'error', + showClose: true + }) + // throw msg; // 抛出错误,中断请求链并触发后续的错误处理逻辑 + // return Promise.reject(new Error(msg)) + } else if (code !== 200) { + + + + Notification.error({ + title: msg + }) + return Promise.reject('error') + + } else { + + return res.data + } + + + + +}, + error => { + + // 主动取消的请求,直接忽略,不提示 + if ( + error.code === 'ERR_CANCELED' || + (error.message && error.message.includes('canceled')) || + error.message?.includes('Request aborted') + ) { + // 静默处理,不提示,不冒泡 + return new Promise(() => {}); // 返回pending Promise,阻止控制台报错 + } + + + + + // 请求异常也要移除 处理Request aborted 错误 + if (error.config) { + const requestKey = getRequestKey(error.config); + pendingRequestMap.delete(requestKey); + } + + + let { message } = error; + if (message == "Network Error" || message.includes("timeout")) { + if (!navigator.onLine) { + // 断网状态,添加到重试队列 + const requestKey = JSON.stringify({ + url: error.config.url, + method: error.config.method, + params: error.config.params, + data: error.config.data + }); + + // 根据URL确定请求类型并记录回调 + let callback = null; + if (error.config.url.includes('getPoolPower')) { + callback = (data) => { + if (window.vm) { + // 清除loading状态 + window.vm.minerChartLoading = false; + } + }; + } else if (error.config.url.includes('getBlockInfo')) { + callback = (data) => { + if (window.vm) { + window.vm.reportBlockLoading = false; + } + }; + } + + if (!pendingRequests.has(requestKey)) { + pendingRequests.set(requestKey, { + config: error.config, + timestamp: Date.now(), + retryCount: 0, + callback: callback + }); + + console.log('请求已加入断网重连队列:', error.config.url); + } + } else { + // 网络已连接,但请求失败,尝试重试 + // 确保 config 中有 __retryCount 字段 + error.config.__retryCount = error.config.__retryCount || 0; + + // 判断是否可以重试 + if (error.config.__retryCount < service.defaults.retry && service.defaults.shouldRetry(error)) { + // 增加重试计数 + error.config.__retryCount += 1; + + console.log(`[请求重试] ${error.config.url} - 第 ${error.config.__retryCount} 次重试`); + + // 创建新的Promise等待一段时间后重试 + return new Promise(resolve => { + setTimeout(() => { + resolve(service(error.config)); + }, service.defaults.retryDelay); + }); + } + + // 达到最大重试次数,不再重试 + console.log(`[请求失败] ${error.config.url} - 已达到最大重试次数`); + } + } + + if (!superReportError) { + superReportError = "error" + localStorage.setItem('superReportError', superReportError) + //使用错误提示管理器errorNotificationManager + if (errorNotificationManager.canShowError(message)) { + if (message == "Network Error") { + Message({ + message: window.vm.$i18n.t(`home.NetworkError`), + type: 'error', + duration: 4 * 1000, + showClose: true + }); + } + else if (message.includes("timeout")) { + Message({ + message: window.vm.$i18n.t(`home.requestTimeout`), + type: 'error', + duration: 5 * 1000, + showClose: true + }); + } + else if (message.includes("Request failed with status code")) { + Message({ + message: "系统接口" + message.substr(message.length - 3) + "异常", + type: 'error', + duration: 5 * 1000, + showClose: true + }); + } else { + Message({ + message: message, + type: 'error', + duration: 5 * 1000, + showClose: true + }); + } + } else { + // 避免完全不提示,可以在控制台记录被抑制的错误 + console.log('[错误提示] 已抑制重复错误:', message); + } + } + + + + + return Promise.reject(error) + + } +) + + + +export default service \ No newline at end of file diff --git a/mining-pool/public/src/utils/requestWrapper.js b/mining-pool/public/src/utils/requestWrapper.js new file mode 100644 index 0000000..667fc2a --- /dev/null +++ b/mining-pool/public/src/utils/requestWrapper.js @@ -0,0 +1,34 @@ +//自动记录请求参数,并支持断网重连,创建一个函数装饰器 +/** + * 包装请求方法,自动注册断网重连恢复 + * @param {Object} component - 组件实例 + * @param {String} methodName - 方法名 + * @param {Function} originalMethod - 原始方法 + * @returns {Function} 包装后的方法 + */ +export function wrapRequestMethod(component, methodName, originalMethod) { + return async function(...args) { + // 注册为恢复方法(仅当组件支持断网重连恢复) + if (component.registerRecoveryMethod) { + component.registerRecoveryMethod(methodName, args[0]); + } + + // 调用原始方法 + return await originalMethod.apply(component, args); + }; + } + + /** + * 自动包装组件中的所有请求方法 + * @param {Object} component - 组件实例 + * @param {Array} methodNames - 方法名列表 + */ + export function wrapComponentMethods(component, methodNames) { + methodNames.forEach(methodName => { + if (typeof component[methodName] === 'function') { + const originalMethod = component[methodName]; + component[methodName] = wrapRequestMethod(component, methodName, originalMethod); + console.log(`[RequestWrapper] 包装方法: ${methodName}`); + } + }); + } \ No newline at end of file diff --git a/mining-pool/public/src/utils/routeUtils.js b/mining-pool/public/src/utils/routeUtils.js new file mode 100644 index 0000000..ef813ef --- /dev/null +++ b/mining-pool/public/src/utils/routeUtils.js @@ -0,0 +1,117 @@ +/** + * 路由工具函数 + * 用于获取项目中所有有效的路由路径 + */ + +/** + * 获取所有有效的路由路径 + * @returns {Array} 有效路径数组 + */ +export function getAllValidPaths() { + const validPaths = [ + // 主要页面路径 + '/', + '/home', + '/miningAccount', + '/readOnlyDisplay', + '/reportBlock', + '/broadcast', + '/userManagement', + '/userDetails', + '/rate', + '/allocationExplanation', + '/apiFile', + '/customerService', + '/ServiceTerms', + '/submitWorkOrder', + '/workOrderRecords', + '/userWorkDetails', + '/workOrderBackend', + '/BKWorkDetails', + '/dataDisplay', + '/alerts', + '/helpCenter', + '/commonProblem', + '/announcementDetails', + '/searchResult', + '/announcements', + '/announcementDetails', + + // 个人中心子页面 + '/personalCenter', + '/personalCenter/personalMining', + '/personalCenter/readOnly', + '/personalCenter/securitySetting', + '/personalCenter/personal', + '/personalCenter/miningReport', + '/personalCenter/personalAPI', + + // 接入矿池页面 + '/AccessMiningPool', + '/AccessMiningPool/nexaAccess', + '/AccessMiningPool/rxdAccess', + '/AccessMiningPool/monaAccess', + '/AccessMiningPool/grsAccess', + '/AccessMiningPool/dgbqAccess', + '/AccessMiningPool/dgboAccess', + '/AccessMiningPool/dgbsAccess', + // '/AccessMiningPool/enxAccess', + '/AccessMiningPool/alphminingPool', + + // 独立页面 + '/login', + '/register', + '/simulation', + '/resetPassword', + '/404' + ]; + + return validPaths; +} + +/** + * 验证路径是否有效 + * @param {string} path - 要验证的路径 + * @returns {boolean} 是否为有效路径 + */ +export function isValidPath(path) { + if (!path || typeof path !== 'string') { + return false; + } + + const trimmedPath = path.trim(); + + // 主页路径的特殊处理 + if (trimmedPath === '/' || trimmedPath === '') { + return true; + } + + // 去除开头的斜杠进行标准化 + const normalizedPath = trimmedPath.startsWith('/') ? trimmedPath.substring(1) : trimmedPath; + + const validPaths = getAllValidPaths(); + + // 检查标准化路径是否匹配 + const pathsWithoutSlash = validPaths.map(p => p.replace(/^\//, '')).filter(p => p !== ''); + + return pathsWithoutSlash.includes(normalizedPath); +} + +/** + * 获取路径建议列表(用于错误提示或自动完成) + * @param {string} input - 用户输入的路径 + * @returns {Array} 建议的路径列表 + */ +export function getPathSuggestions(input) { + if (!input) { + return getAllValidPaths().slice(0, 10); // 返回前10个路径作为建议 + } + + const validPaths = getAllValidPaths(); + const normalizedInput = input.toLowerCase().trim(); + + // 查找包含输入内容的路径 + return validPaths.filter(path => + path.toLowerCase().includes(normalizedInput) + ).slice(0, 5); // 最多返回5个建议 +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/alphminingPool/index.js b/mining-pool/public/src/views/AccessMiningPool/alphminingPool/index.js new file mode 100644 index 0000000..1511e2a --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/alphminingPool/index.js @@ -0,0 +1,96 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" +export default { + data(){ + return{ + activeItem:{ + path:"nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show:true, + name:"course.NEXAcourse", + amount:10000, + tcp:"stratum+tcp://nexa.m2pool.com:33333", + ssl:"stratum+ssl://nexa.m2pool.com:33335", + Step1:"course.Step1", + accountContent1:"course.accountContent1", + accountContent2:"course.accountContent2", + Step2:"course.Step2", + bindWalletText1:"course.bindWalletText1", + bindWalletText2:"course.bindWalletText2", + walletAddr:"https://nexa.org/", + bindWalletText3:"course.bindWalletText3", + bindWalletText4:"course.bindWalletText4", + exchangeAddr1:"https://www.mxc.com/", + exchangeAddr1Label:"MEXC", + exchangeAddr2:"https://www.coinex.com/zh-hans/", + exchangeAddr2Label:"CoinEx", + bindWalletText5:"course.bindWalletText5", + bindWalletText6:"course.bindWalletText6", + bindWalletText7:"course.bindWalletText7", + bindWalletText8:"course.bindWalletText8", + Step3:"course.Step3", + miningIncome1:"course.miningIncome1", + miningIncome2:"course.miningIncome2", + GPU:"bzminer、lolminer、Rigel、WildRig", + ASIC:"course.dragonBall", + Step4:"course.Step4", + parameter:"course.parameter", + parameter2:"course.parameter2", + parameter3:"course.parameter3", + parameter4:"course.parameter4", + parameter5:"course.parameter5", + parameter6:"course.parameter6", + parameter7:"course.parameter7", + parameter8:"course.parameter8", + + + + + }, + activeName:"1", + } + }, + mounted(){ + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/alphminingPool/index.vue b/mining-pool/public/src/views/AccessMiningPool/alphminingPool/index.vue new file mode 100644 index 0000000..25f306c --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/alphminingPool/index.vue @@ -0,0 +1,791 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/dgboAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/dgboAccess/index.js new file mode 100644 index 0000000..77e619e --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/dgboAccess/index.js @@ -0,0 +1,97 @@ + +import {getImageUrl} from "../../../utils/publicMethods.js" +export default { + data(){ + return{ + + activeName:"1", + } + }, + mounted(){ + + // if (this.$route.query.coin) { + // this.activeCoin = this.$route.query.coin + // // this.currencyPath = this.$route.query.imgUrl + // this.imgUrl = this.$route.query.imgUrl + // this.currencyPath= this.$route.query.imgUrl + // this.params.coin = this.$route.query.coin + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.activeItem = this.currencyList.find(item=>{return item.value==this.params.coin}) + // } + + + + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // window.addEventListener("setItem", () => { + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // }); + + // console.log(this.activeCoin,"鸡脚低端局"); + + + // if ( !this.activeCoin ) { + // this.activeCoin ="nexa" + // this.imgUrl = `https://test.m2pool.com/img/nexa.png` + // this.currencyPath= `https://test.m2pool.com/img/nexa.png` + // this.params.coin ="nexa" + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.openAPI =true + // }else if(this.activeCoin==`nexa` || this.activeCoin==`rxd`){ + + // this.openAPI =true + // try { + // this.pageTitle = this.currencyList.find(item => item.value == this.activeCoin).name + // this.imgUrl = this.currencyList.find(item => item.value == this.activeCoin).imgUrl + // } catch (error) { + // console.log(error); + + // } + + // }else{ + // this.openAPI =false + // } + + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/dgboAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/dgboAccess/index.vue new file mode 100644 index 0000000..76b4fba --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/dgboAccess/index.vue @@ -0,0 +1,792 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/dgbqAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/dgbqAccess/index.js new file mode 100644 index 0000000..c79f9d2 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/dgbqAccess/index.js @@ -0,0 +1,97 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" + +export default { + data(){ + return{ + + activeName:"1", + } + }, + mounted(){ + + // if (this.$route.query.coin) { + // this.activeCoin = this.$route.query.coin + // // this.currencyPath = this.$route.query.imgUrl + // this.imgUrl = this.$route.query.imgUrl + // this.currencyPath= this.$route.query.imgUrl + // this.params.coin = this.$route.query.coin + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.activeItem = this.currencyList.find(item=>{return item.value==this.params.coin}) + // } + + + + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // window.addEventListener("setItem", () => { + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // }); + + // console.log(this.activeCoin,"鸡脚低端局"); + + + // if ( !this.activeCoin ) { + // this.activeCoin ="nexa" + // this.imgUrl = `https://test.m2pool.com/img/nexa.png` + // this.currencyPath= `https://test.m2pool.com/img/nexa.png` + // this.params.coin ="nexa" + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.openAPI =true + // }else if(this.activeCoin==`nexa` || this.activeCoin==`rxd`){ + + // this.openAPI =true + // try { + // this.pageTitle = this.currencyList.find(item => item.value == this.activeCoin).name + // this.imgUrl = this.currencyList.find(item => item.value == this.activeCoin).imgUrl + // } catch (error) { + // console.log(error); + + // } + + // }else{ + // this.openAPI =false + // } + + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/dgbqAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/dgbqAccess/index.vue new file mode 100644 index 0000000..1ee5930 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/dgbqAccess/index.vue @@ -0,0 +1,788 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/dgbsAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/dgbsAccess/index.js new file mode 100644 index 0000000..9ec6ec0 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/dgbsAccess/index.js @@ -0,0 +1,365 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" + +export default { + data() { + return { + activeItem: { + path: "nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show: true, + name: "course.NEXAcourse", + amount: 10000, + tcp: "stratum+tcp://nexa.m2pool.com:33333", + ssl: "stratum+ssl://nexa.m2pool.com:33335", + Step1: "course.Step1", + accountContent1: "course.accountContent1", + accountContent2: "course.accountContent2", + Step2: "course.Step2", + bindWalletText1: "course.bindWalletText1", + bindWalletText2: "course.bindWalletText2", + walletAddr: "https://nexa.org/", + bindWalletText3: "course.bindWalletText3", + bindWalletText4: "course.bindWalletText4", + exchangeAddr1: "https://www.mxc.com/", + exchangeAddr1Label: "MEXC", + exchangeAddr2: "https://www.coinex.com/zh-hans/", + exchangeAddr2Label: "CoinEx", + bindWalletText5: "course.bindWalletText5", + bindWalletText6: "course.bindWalletText6", + bindWalletText7: "course.bindWalletText7", + bindWalletText8: "course.bindWalletText8", + Step3: "course.Step3", + miningIncome1: "course.miningIncome1", + miningIncome2: "course.miningIncome2", + GPU: "bzminer、lolminer、Rigel、WildRig", + ASIC: "course.dragonBall", + Step4: "course.Step4", + parameter: "course.parameter", + parameter2: "course.parameter2", + parameter3: "course.parameter3", + parameter4: "course.parameter4", + parameter5: "course.parameter5", + parameter6: "course.parameter6", + parameter7: "course.parameter7", + parameter8: "course.parameter8", + + + + + }, + activeName: "1", + // menuList:[ + // { + // path:"/AccessMiningPool", + // name:"course.NEXAcourse", + // value:"nexa", + // imgUrl:`${this.$baseApi}img/nexa.png`, + // show:false, + // }, + // { + // path:"", + // name:"course.RXDcourse", + // value:"rxd", + // show:true, + // }, + + + // ], + // activeCoin:"nexa", + // params: { + // coin: "nexa", + // }, + // activeItem:{ + // value: "nexa", + // label: "nexa", + + // imgUrl: `${this.$baseApi}img/nexa.png`, + // show:true, + // name:"course.NEXAcourse", + // amount:10000, + // tcp:"stratum+tcp://nexa.m2pool.com:33333", + // ssl:"stratum+ssl://nexa.m2pool.com:33335", + // Step1:"course.Step1", + // accountContent1:"course.accountContent1", + // accountContent2:"course.accountContent2", + // Step2:"course.Step2", + // bindWalletText1:"course.bindWalletText1", + // bindWalletText2:"course.bindWalletText2", + // walletAddr:"https://nexa.org/", + // bindWalletText3:"course.bindWalletText3", + // bindWalletText4:"course.bindWalletText4", + // exchangeAddr1:"https://www.mxc.com/", + // exchangeAddr1Label:"MEXC", + // exchangeAddr2:"https://www.coinex.com/zh-hans/", + // exchangeAddr2Label:"CoinEx", + // bindWalletText5:"course.bindWalletText5", + // bindWalletText6:"course.bindWalletText6", + // bindWalletText7:"course.bindWalletText7", + // bindWalletText8:"course.bindWalletText8", + // Step3:"course.Step3", + // miningIncome1:"course.miningIncome1", + // miningIncome2:"course.miningIncome2", + // GPU:"bzminer、lolminer、Rigel、WildRig", + // ASIC:"course.dragonBall", + // Step4:"course.Step4", + // parameter:"course.parameter", + // parameter2:"course.parameter2", + // parameter3:"course.parameter3", + // parameter4:"course.parameter4", + // parameter5:"course.parameter5", + // parameter6:"course.parameter6", + // parameter7:"course.parameter7", + // parameter8:"course.parameter8", + + + + + // }, + // pageTitle:"course.NEXAcourse", + // currencyList: [ + // { + // value: "nexa", + // label: "nexa", + + // imgUrl: `${this.$baseApi}img/nexa.png`, + // show:true, + // name:"course.NEXAcourse", + // amount:10000, + // tcp:"stratum+tcp://nexa.m2pool.com:33333", + // ssl:"stratum+ssl://nexa.m2pool.com:33335", + // Step1:"course.Step1", + // accountContent1:"course.accountContent1", + // accountContent2:"course.accountContent2", + // Step2:"course.Step2", + // bindWalletText1:"course.bindWalletText1", + // bindWalletText2:"course.bindWalletText2", + // walletAddr:"https://nexa.org/", + // bindWalletText3:"course.bindWalletText3", + // bindWalletText4:"course.bindWalletText4", + // exchangeAddr1:"https://www.mxc.com/", + // exchangeAddr1Label:"MEXC", + // exchangeAddr2:"https://www.coinex.com/zh-hans/", + // exchangeAddr2Label:"CoinEx", + // bindWalletText5:"course.bindWalletText5", + // bindWalletText6:"course.bindWalletText6", + // bindWalletText7:"course.bindWalletText7", + // bindWalletText8:"course.bindWalletText8", + // Step3:"course.Step3", + // miningIncome1:"course.miningIncome1", + // miningIncome2:"course.miningIncome2", + // GPU:"bzminer、lolminer、Rigel、WildRig", + // ASIC:"course.dragonBall", + // Step4:"course.Step4", + // parameter:"course.parameter", + // parameter2:"course.parameter2", + // parameter3:"course.parameter3", + // parameter4:"course.parameter4", + // parameter5:"course.parameter5", + // parameter6:"course.parameter6", + // parameter7:"course.parameter7", + // parameter8:"course.parameter8", + + // }, + // // { + // // value: "grs", + // // label: "grs", + // // img: require("../../assets/img/currency/grs.svg"), + // // imgUrl: `${this.$baseApi}img/grs.svg`, + // // show:false, + // // name:"course.GRScourse", + // // amount:1, + // // tcp:"", + // // ssl:"" + + + // // }, + // // { + // // value: "mona", + // // label: "mona", + // // img: require("../../assets/img/currency/mona.svg"), + // // imgUrl: `${this.$baseApi}img/mona.svg`, + // // show:false, + // // name:"course.MONAcourse", + // // amount:1, + // // tcp:"", + // // ssl:"" + // // }, + // // { + // // value: "dgbs", + // // // label: "dgb-skein-pool1", + // // label:"dgb(skein)", + // // img: require("../../assets/img/currency/DGB.svg"), + // // imgUrl: `${this.$baseApi}img/dgb.svg`, + // // show:false, + // // name:"course.dgbsCourse", + // // amount:1, + // // tcp:"", + // // ssl:"" + // // }, + // // { + // // value: "dgbq", + // // // label: "dgb(qubit-pool1)", + // // label:"dgb(qubit)", + // // img: require("../../assets/img/currency/DGB.svg"), + // // imgUrl: `${this.$baseApi}img/dgb.svg`, + // // show:false, + // // name:"course.dgbqCourse", + // // amount:1, + // // tcp:"", + // // ssl:"" + // // }, + // // { + // // value: "dgbo", + // // // label: "dgb-odocrypt-pool1", + // // label: "dgb(odocrypt)", + // // img: require("../../assets/img/currency/DGB.svg"), + // // imgUrl: `${this.$baseApi}img/dgb.svg`, + // // show:false, + // // name:"course.dgboCourse", + // // amount:1, + // // tcp:"", + // // ssl:"" + // // }, + // { + // value: "rxd", + // label: "radiant", + + // imgUrl: `${this.$baseApi}img/rxd.png`, + // show:true, + // name:"course.RXDcourse", + // amount:100, + // tcp:"stratum+tcp://rxd.m2pool.com:33370", + // ssl:"stratum+ssl://rxd.m2pool.com:33375", + // Step1:"course.Step1", + // accountContent1:"course.accountContent1", + // accountContent2:"course.accountContent2", + // Step2:"course.Step2", + // bindWalletText1:"course.bindWalletText1", + // bindWalletText2:"course.bindWalletText2", + // walletAddr:"https://radiantblockchain.org/", + // bindWalletText3:"course.bindWalletText3", + // bindWalletText4:"course.bindWalletText4", + // exchangeAddr1:"https://www.mxc.com/", + // exchangeAddr1Label:"MEXC", + // exchangeAddr2:"https://www.coinex.com/zh-hans/", + // exchangeAddr2Label:"CoinEx", + // bindWalletText5:"course.bindWalletText5", + // bindWalletText6:"course.bindWalletText6", + // bindWalletText7:"course.bindWalletText7", + // bindWalletText8:"course.bindWalletText8", + // Step3:"course.Step3", + // miningIncome1:"course.rxdIncome1", + // miningIncome2:"course.miningIncome2", + // GPU:"lolminer", + // ASIC:"course.dragonBallA11Move", + // Step4:"course.Step4", + // parameter:"course.parameter", + // parameter2:"course.parameter2", + // parameter3:"course.parameter3", + // parameter4:"course.parameter4", + // parameter5:"course.parameter5", + // parameter6:"course.parameter6", + // parameter7:"course.parameter7", + // parameter8:"course.parameter8", + + + // } + + + // ], + // currencyPath: `${this.$baseApi}img/nexa.png`, + // openAPI:true, + // imgUrl: `${this.$baseApi}img/nexa.png`, + // activeName:"1", + } + }, + mounted() { + + // if (this.$route.query.coin) { + // this.activeCoin = this.$route.query.coin + // // this.currencyPath = this.$route.query.imgUrl + // this.imgUrl = this.$route.query.imgUrl + // this.currencyPath= this.$route.query.imgUrl + // this.params.coin = this.$route.query.coin + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.activeItem = this.currencyList.find(item=>{return item.value==this.params.coin}) + // } + + + + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // window.addEventListener("setItem", () => { + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // }); + + // console.log(this.activeCoin,"鸡脚低端局"); + + + // if ( !this.activeCoin ) { + // this.activeCoin ="nexa" + // this.imgUrl = `https://test.m2pool.com/img/nexa.png` + // this.currencyPath= `https://test.m2pool.com/img/nexa.png` + // this.params.coin ="nexa" + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.openAPI =true + // }else if(this.activeCoin==`nexa` || this.activeCoin==`rxd`){ + + // this.openAPI =true + // try { + // this.pageTitle = this.currencyList.find(item => item.value == this.activeCoin).name + // this.imgUrl = this.currencyList.find(item => item.value == this.activeCoin).imgUrl + // } catch (error) { + // console.log(error); + + // } + + // }else{ + // this.openAPI =false + // } + + + + + + }, + methods: { + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item) { + + this.activeCoin = item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1, `activeCoin`, JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value) { + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/dgbsAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/dgbsAccess/index.vue new file mode 100644 index 0000000..f290004 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/dgbsAccess/index.vue @@ -0,0 +1,793 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/enxAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/enxAccess/index.js new file mode 100644 index 0000000..1511e2a --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/enxAccess/index.js @@ -0,0 +1,96 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" +export default { + data(){ + return{ + activeItem:{ + path:"nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show:true, + name:"course.NEXAcourse", + amount:10000, + tcp:"stratum+tcp://nexa.m2pool.com:33333", + ssl:"stratum+ssl://nexa.m2pool.com:33335", + Step1:"course.Step1", + accountContent1:"course.accountContent1", + accountContent2:"course.accountContent2", + Step2:"course.Step2", + bindWalletText1:"course.bindWalletText1", + bindWalletText2:"course.bindWalletText2", + walletAddr:"https://nexa.org/", + bindWalletText3:"course.bindWalletText3", + bindWalletText4:"course.bindWalletText4", + exchangeAddr1:"https://www.mxc.com/", + exchangeAddr1Label:"MEXC", + exchangeAddr2:"https://www.coinex.com/zh-hans/", + exchangeAddr2Label:"CoinEx", + bindWalletText5:"course.bindWalletText5", + bindWalletText6:"course.bindWalletText6", + bindWalletText7:"course.bindWalletText7", + bindWalletText8:"course.bindWalletText8", + Step3:"course.Step3", + miningIncome1:"course.miningIncome1", + miningIncome2:"course.miningIncome2", + GPU:"bzminer、lolminer、Rigel、WildRig", + ASIC:"course.dragonBall", + Step4:"course.Step4", + parameter:"course.parameter", + parameter2:"course.parameter2", + parameter3:"course.parameter3", + parameter4:"course.parameter4", + parameter5:"course.parameter5", + parameter6:"course.parameter6", + parameter7:"course.parameter7", + parameter8:"course.parameter8", + + + + + }, + activeName:"1", + } + }, + mounted(){ + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/enxAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/enxAccess/index.vue new file mode 100644 index 0000000..2cd3e1a --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/enxAccess/index.vue @@ -0,0 +1,790 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/grsAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/grsAccess/index.js new file mode 100644 index 0000000..b5ead45 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/grsAccess/index.js @@ -0,0 +1,143 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" + +export default { + data(){ + return{ + activeItem:{ + path:"nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show:true, + name:"course.NEXAcourse", + amount:10000, + tcp:"stratum+tcp://nexa.m2pool.com:33333", + ssl:"stratum+ssl://nexa.m2pool.com:33335", + Step1:"course.Step1", + accountContent1:"course.accountContent1", + accountContent2:"course.accountContent2", + Step2:"course.Step2", + bindWalletText1:"course.bindWalletText1", + bindWalletText2:"course.bindWalletText2", + walletAddr:"https://nexa.org/", + bindWalletText3:"course.bindWalletText3", + bindWalletText4:"course.bindWalletText4", + exchangeAddr1:"https://www.mxc.com/", + exchangeAddr1Label:"MEXC", + exchangeAddr2:"https://www.coinex.com/zh-hans/", + exchangeAddr2Label:"CoinEx", + bindWalletText5:"course.bindWalletText5", + bindWalletText6:"course.bindWalletText6", + bindWalletText7:"course.bindWalletText7", + bindWalletText8:"course.bindWalletText8", + Step3:"course.Step3", + miningIncome1:"course.miningIncome1", + miningIncome2:"course.miningIncome2", + GPU:"bzminer、lolminer、Rigel、WildRig", + ASIC:"course.dragonBall", + Step4:"course.Step4", + parameter:"course.parameter", + parameter2:"course.parameter2", + parameter3:"course.parameter3", + parameter4:"course.parameter4", + parameter5:"course.parameter5", + parameter6:"course.parameter6", + parameter7:"course.parameter7", + parameter8:"course.parameter8", + + + + + }, + activeName:"1", + } + }, + mounted(){ + + // if (this.$route.query.coin) { + // this.activeCoin = this.$route.query.coin + // // this.currencyPath = this.$route.query.imgUrl + // this.imgUrl = this.$route.query.imgUrl + // this.currencyPath= this.$route.query.imgUrl + // this.params.coin = this.$route.query.coin + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.activeItem = this.currencyList.find(item=>{return item.value==this.params.coin}) + // } + + + + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // window.addEventListener("setItem", () => { + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // }); + + // console.log(this.activeCoin,"鸡脚低端局"); + + + // if ( !this.activeCoin ) { + // this.activeCoin ="nexa" + // this.imgUrl = `https://test.m2pool.com/img/nexa.png` + // this.currencyPath= `https://test.m2pool.com/img/nexa.png` + // this.params.coin ="nexa" + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.openAPI =true + // }else if(this.activeCoin==`nexa` || this.activeCoin==`rxd`){ + + // this.openAPI =true + // try { + // this.pageTitle = this.currencyList.find(item => item.value == this.activeCoin).name + // this.imgUrl = this.currencyList.find(item => item.value == this.activeCoin).imgUrl + // } catch (error) { + // console.log(error); + + // } + + // }else{ + // this.openAPI =false + // } + + + + + + }, + methods:{ + + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/grsAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/grsAccess/index.vue new file mode 100644 index 0000000..59f50ee --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/grsAccess/index.vue @@ -0,0 +1,785 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/index.js b/mining-pool/public/src/views/AccessMiningPool/index.js new file mode 100644 index 0000000..2adc67e --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/index.js @@ -0,0 +1,474 @@ +import { findDataInfo ,documentsList} from '../../api/documentManagement' +export default { + data() { + return { + menuList: [ + { + path: "/AccessMiningPool", + name: "course.NEXAcourse", + value: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show: false, + }, + { + path: "", + name: "course.RXDcourse", + value: "rxd", + show: true, + }, + + + ], + activeCoin: "nexa", + params: { + coin: "nexa", + }, + activeItem: { + path: "nexaAccess", + value: "nexa", + label: "nexa", + img: require("../../assets/img/currency-nexa.png"), + imgUrl: `${this.$baseApi}img/nexa.png`, + show: true, + name: "course.NEXAcourse", + amount: 10000, + tcp: "stratum+tcp://nexa.m2pool.com:33333", + ssl: "stratum+ssl://nexa.m2pool.com:33335", + Step1: "course.Step1", + accountContent1: "course.accountContent1", + accountContent2: "course.accountContent2", + Step2: "course.Step2", + bindWalletText1: "course.bindWalletText1", + bindWalletText2: "course.bindWalletText2", + walletAddr: "https://nexa.org/", + bindWalletText3: "course.bindWalletText3", + bindWalletText4: "course.bindWalletText4", + exchangeAddr1: "https://www.mxc.com/", + exchangeAddr1Label: "MEXC", + exchangeAddr2: "https://www.coinex.com/zh-hans/", + exchangeAddr2Label: "CoinEx", + bindWalletText5: "course.bindWalletText5", + bindWalletText6: "course.bindWalletText6", + bindWalletText7: "course.bindWalletText7", + bindWalletText8: "course.bindWalletText8", + Step3: "course.Step3", + miningIncome1: "course.miningIncome1", + miningIncome2: "course.miningIncome2", + GPU: "bzminer、lolminer、Rigel、WildRig", + ASIC: "course.dragonBall", + Step4: "course.Step4", + parameter: "course.parameter", + parameter2: "course.parameter2", + parameter3: "course.parameter3", + parameter4: "course.parameter4", + parameter5: "course.parameter5", + parameter6: "course.parameter6", + parameter7: "course.parameter7", + parameter8: "course.parameter8", + + + + + }, + pageTitle: "course.NEXAcourse", + currencyList: [ + { + path: "nexaAccess", + value: "nexa", + label: "nexa", + img: require("../../assets/img/currency-nexa.png"), + imgUrl: `${this.$baseApi}img/nexa.png`, + show: true, + name: "course.NEXAcourse", + amount: 10000, + tcp: "stratum+tcp://nexa.m2pool.com:33333", + ssl: "stratum+ssl://nexa.m2pool.com:33335", + Step1: "course.Step1", + accountContent1: "course.accountContent1", + accountContent2: "course.accountContent2", + Step2: "course.Step2", + bindWalletText1: "course.bindWalletText1", + bindWalletText2: "course.bindWalletText2", + walletAddr: "https://nexa.org/", + bindWalletText3: "course.bindWalletText3", + bindWalletText4: "course.bindWalletText4", + exchangeAddr1: "https://www.mxc.com/", + exchangeAddr1Label: "MEXC", + exchangeAddr2: "https://www.coinex.com/zh-hans/", + exchangeAddr2Label: "CoinEx", + bindWalletText5: "course.bindWalletText5", + bindWalletText6: "course.bindWalletText6", + bindWalletText7: "course.bindWalletText7", + bindWalletText8: "course.bindWalletText8", + Step3: "course.Step3", + miningIncome1: "course.miningIncome1", + miningIncome2: "course.miningIncome2", + GPU: "bzminer、lolminer、Rigel、WildRig", + ASIC: "course.dragonBall", + Step4: "course.Step4", + parameter: "course.parameter", + parameter2: "course.parameter2", + parameter3: "course.parameter3", + parameter4: "course.parameter4", + parameter5: "course.parameter5", + parameter6: "course.parameter6", + parameter7: "course.parameter7", + parameter8: "course.parameter8", + + }, + { + path: "grsAccess", + value: "grs", + label: "grs", + imgUrl:`${this.$baseApi}img/grs.svg`, + show: true, + name: "course.GRScourse", + amount: 1, + tcp: "", + ssl: "" + + + }, + { + path: "monaAccess", + value: "mona", + label: "mona", + imgUrl: `${this.$baseApi}img/mona.svg`, + name: "course.MONAcourse", + amount: 1, + tcp: "", + show: true, + ssl: "" + }, + { + path: "dgbsAccess", + value: "dgbs", + // label: "dgb-skein-pool1", + label: "dgb(skein)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + show: false, + name: "course.dgbsCourse", + amount: 1, + tcp: "", + ssl: "" + }, + { + path: "dgbqAccess", + value: "dgbq", + // label: "dgb(qubit-pool1)", + label: "dgb(qubit)", + imgUrl: `${this.$baseApi}img/dgb.svg`, + show: false, + name: "course.dgbqCourse", + amount: 1, + tcp: "", + ssl: "" + }, + { + path: "dgboAccess", + value: "dgbo", + // label: "dgb-odocrypt-pool1", + label: "dgb(odocrypt)", + imgUrl: `${this.$baseApi}img/dgb.svg`, + show: false, + name: "course.dgboCourse", + amount: 1, + tcp: "", + ssl: "" + }, + { + path: "rxdAccess", + value: "rxd", + label: "radiant", + img: require("../../assets/img/currency/rxd.png"), + imgUrl: `${this.$baseApi}img/rxd.png`, + show: true, + name: "course.RXDcourse", + amount: 100, + tcp: "stratum+tcp://rxd.m2pool.com:33370", + ssl: "stratum+ssl://rxd.m2pool.com:33375", + Step1: "course.Step1", + accountContent1: "course.accountContent1", + accountContent2: "course.accountContent2", + Step2: "course.Step2", + bindWalletText1: "course.bindWalletText1", + bindWalletText2: "course.bindWalletText2", + walletAddr: "https://radiantblockchain.org/", + bindWalletText3: "course.bindWalletText3", + bindWalletText4: "course.bindWalletText4", + exchangeAddr1: "https://www.mxc.com/", + exchangeAddr1Label: "MEXC", + exchangeAddr2: "https://www.coinex.com/zh-hans/", + exchangeAddr2Label: "CoinEx", + bindWalletText5: "course.bindWalletText5", + bindWalletText6: "course.bindWalletText6", + bindWalletText7: "course.bindWalletText7", + bindWalletText8: "course.bindWalletText8", + Step3: "course.Step3", + miningIncome1: "course.rxdIncome1", + miningIncome2: "course.miningIncome2", + GPU: "lolminer", + ASIC: "course.dragonBallA11Move", + Step4: "course.Step4", + parameter: "course.parameter", + parameter2: "course.parameter2", + parameter3: "course.parameter3", + parameter4: "course.parameter4", + parameter5: "course.parameter5", + parameter6: "course.parameter6", + parameter7: "course.parameter7", + parameter8: "course.parameter8", + + + }, + // { + // path: "enxAccess", + // value: "enx", + // label: "Entropyx(enx)", + // imgUrl:`${this.$baseApi}img/enx.svg`, + // show: true, + // name: "course.ENXcourse", + // amount: 5000, + // tcp: "", + // ssl: "" + + + // }, + { + path: "alphminingPool", + value: "alph", + label: "Alephium(alph)", + imgUrl:`${this.$baseApi}img/alph.svg`, + show: true, + name: "course.alphCourse", + amount: 1, + tcp: "", + ssl: "" + + + }, + + + ], + currencyPath: `${this.$baseApi}img/nexa.png`, + openAPI: true, + imgUrl: `${this.$baseApi}img/nexa.png`, + activeName: "1", + currentRoutePath:"", + + listParams:{ + type:"1",//挖矿教程 + lang:this.$i18n.locale, + pageNum:1, + pageSize:50 + }, + tutorialLoading:false, + navList:[], + DetailsParams:{ + id:"", + lang:this.$i18n.locale, + }, + info:"", + activeId:"" + } + }, + + watch: { + '$route': { + immediate: true, + handler(to) { + + + this.currentRoutePath =to.path.split(`/`)[3] + + + // this.activeItem = this.currencyList.find(item => { return item.path == this.currentRoutePath }) + // this.$addStorageEvent(1, `activeItem`, JSON.stringify( this.activeItem)) + + + + } + } + }, + + mounted() { + // 优先级:路由参数 > localStorage > 默认 + let coinFromRoute = this.$route.params && this.$route.params.coin; + let localActiveCoin = localStorage.getItem('activeCoin') ? JSON.parse(localStorage.getItem('activeCoin')) : null; + let targetCoin = coinFromRoute || localActiveCoin || (this.currencyList[0] && this.currencyList[0].value); + + this.activeCoin = targetCoin; + this.activeItem = this.currencyList.find(item => item.value === targetCoin) || this.currencyList[0]; + this.params.coin = targetCoin; + + // 如果是路由参数,记忆到localStorage + if (coinFromRoute) { + localStorage.setItem('activeCoin', JSON.stringify(coinFromRoute)); + } + + this.fetchAllList(this.listParams); + }, + methods: { + async fetchAllList(params){ + this.setLoading('tutorialLoading', true); + const res = await documentsList(params) + console.log(res,"res"); + + if (res && res.code === 200) { + // 按照id升序排序,确保最小id在最上面 + const sortedRows = (res.rows || []).slice().sort((a, b) => Number(a.id) - Number(b.id)) + this.navList = sortedRows + + const item = this.navList.find(item => { return item.coin == this.params.coin }) + + + if (item && item.coin) { + this.DetailsParams.id= item.id + this.DetailsParams.coin = item.coin + this.clickJump(item) + + }else if (this.$route.query.id) { + this.DetailsParams.id = this.$route.query.id + + }else{ + this.DetailsParams.id = this.navList[0] && this.navList[0].id; + } + + if (this.DetailsParams.id) { + this.fetchProblemDetails(this.DetailsParams) + } + + } + + }, + + async fetchProblemDetails(params) { + this.setLoading('tutorialLoading', true); + const res = await findDataInfo(params) + if(res && res.code === 200){ + + this.info = res.data.content || "" + this.activeId = res.data.id + } + this.setLoading('tutorialLoading', false); + }, + + + + // isActiveRoute(item) { + // // 直接使用完整的路径进行比较 + // return this.currentRoutePath.includes(`AccessMiningPool/${item.path}`); + // }, + toggleDropdown(e) { + if (!e) return; + const menuItem = e.currentTarget; + const dropdown = menuItem.querySelector(".dropdown"); + const arrow = menuItem.querySelector(".arrow"); + + if (dropdown) { + dropdown.classList.toggle("show"); + arrow?.classList.toggle("up"); + } + }, + changeMenuName(e, item) { + + console.log(`走移动端了?`); + + + if (!e) return; + if (!item.path) return; // 添加路径检查 + + e.stopPropagation(); // 阻止事件冒泡 + + this.currentRoutePath = item.path + // 更新 activeItem + this.activeItem = item; + this.activeCoin = item.value; + this.$addStorageEvent(1, 'activeItem', JSON.stringify(item)); + const menuItem = document.getElementById("menu1"); + if (!menuItem) return; + const dropdown = menuItem.querySelector(".dropdown"); + const arrow = menuItem.querySelector(".arrow"); + dropdown?.classList.remove("show"); + arrow?.classList.remove("up"); + + this.$addStorageEvent(1, "activeItemCoin", JSON.stringify(item)); + + + this.$addStorageEvent(1, `activeCoin`, JSON.stringify(item.value)) + // 路由跳转 + if (item.path) { + this.$router.push(`/${this.$i18n.locale}/AccessMiningPool/${item.path}`); + } + + + }, + + + clickJump(item) { + + this.DetailsParams.id = item.id + this.DetailsParams.coin = item.coin + this.activeCoin = item.coin + localStorage.setItem('activeCoin', JSON.stringify(this.activeCoin)) + this.fetchProblemDetails(this.DetailsParams) + // if (!item.path) return; // 添加路径检查 + // this.activeCoin = item.value + // this.pageTitle = item.name + // this.imgUrl = item.imgUrl + // this.$addStorageEvent(1, `activeCoin`, JSON.stringify(item.value)) + // // this.$router.push(item.url) + // const lang = this.$i18n.locale; + // this.$router.push(`/${lang}/AccessMiningPool/${item.path}`).catch(err => { + // if (err.name !== 'NavigationDuplicated') { + // console.error('Navigation failed:', err); + // } + // }); + + + + }, + clickCopy(value) { + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + clickCurrency(item) { + + + this.currencyPath = item.imgUrl + this.params.coin = item.value + this.activeItem = item + + + + + }, + handelCurrencyLabel(coin) { + let obj = this.currencyList.find(item => item.value == coin) + if (obj) { + return obj.label + } else { + return "" + } + + + } + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/index.vue b/mining-pool/public/src/views/AccessMiningPool/index.vue new file mode 100644 index 0000000..cce374c --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/index.vue @@ -0,0 +1,882 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/monaAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/monaAccess/index.js new file mode 100644 index 0000000..1511e2a --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/monaAccess/index.js @@ -0,0 +1,96 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" +export default { + data(){ + return{ + activeItem:{ + path:"nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show:true, + name:"course.NEXAcourse", + amount:10000, + tcp:"stratum+tcp://nexa.m2pool.com:33333", + ssl:"stratum+ssl://nexa.m2pool.com:33335", + Step1:"course.Step1", + accountContent1:"course.accountContent1", + accountContent2:"course.accountContent2", + Step2:"course.Step2", + bindWalletText1:"course.bindWalletText1", + bindWalletText2:"course.bindWalletText2", + walletAddr:"https://nexa.org/", + bindWalletText3:"course.bindWalletText3", + bindWalletText4:"course.bindWalletText4", + exchangeAddr1:"https://www.mxc.com/", + exchangeAddr1Label:"MEXC", + exchangeAddr2:"https://www.coinex.com/zh-hans/", + exchangeAddr2Label:"CoinEx", + bindWalletText5:"course.bindWalletText5", + bindWalletText6:"course.bindWalletText6", + bindWalletText7:"course.bindWalletText7", + bindWalletText8:"course.bindWalletText8", + Step3:"course.Step3", + miningIncome1:"course.miningIncome1", + miningIncome2:"course.miningIncome2", + GPU:"bzminer、lolminer、Rigel、WildRig", + ASIC:"course.dragonBall", + Step4:"course.Step4", + parameter:"course.parameter", + parameter2:"course.parameter2", + parameter3:"course.parameter3", + parameter4:"course.parameter4", + parameter5:"course.parameter5", + parameter6:"course.parameter6", + parameter7:"course.parameter7", + parameter8:"course.parameter8", + + + + + }, + activeName:"1", + } + }, + mounted(){ + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + + + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/monaAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/monaAccess/index.vue new file mode 100644 index 0000000..b6b0fd3 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/monaAccess/index.vue @@ -0,0 +1,789 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/nexaAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/nexaAccess/index.js new file mode 100644 index 0000000..292331b --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/nexaAccess/index.js @@ -0,0 +1,161 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" + +export default { + data(){ + return{ + + activeCoin:"nexa", + activeItem:{ + path:"nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show:true, + name:"course.NEXAcourse", + amount:10000, + tcp:"stratum+tcp://nexa.m2pool.com:33333", + ssl:"stratum+ssl://nexa.m2pool.com:33335", + Step1:"course.Step1", + accountContent1:"course.accountContent1", + accountContent2:"course.accountContent2", + Step2:"course.Step2", + bindWalletText1:"course.bindWalletText1", + bindWalletText2:"course.bindWalletText2", + walletAddr:"https://nexa.org/", + bindWalletText3:"course.bindWalletText3", + bindWalletText4:"course.bindWalletText4", + exchangeAddr1:"https://www.mxc.com/", + exchangeAddr1Label:"MEXC", + exchangeAddr2:"https://www.coinex.com/zh-hans/", + exchangeAddr2Label:"CoinEx", + bindWalletText5:"course.bindWalletText5", + bindWalletText6:"course.bindWalletText6", + bindWalletText7:"course.bindWalletText7", + bindWalletText8:"course.bindWalletText8", + Step3:"course.Step3", + miningIncome1:"course.miningIncome1", + miningIncome2:"course.miningIncome2", + GPU:"bzminer、lolminer、Rigel、WildRig", + ASIC:"course.dragonBall", + Step4:"course.Step4", + parameter:"course.parameter", + parameter2:"course.parameter2", + parameter3:"course.parameter3", + parameter4:"course.parameter4", + parameter5:"course.parameter5", + parameter6:"course.parameter6", + parameter7:"course.parameter7", + parameter8:"course.parameter8", + + + + + }, + activeName:"1", + + + } + }, + mounted(){ + + // if (this.$route.query.coin) { + // this.activeCoin = this.$route.query.coin + // // this.currencyPath = this.$route.query.imgUrl + // this.imgUrl = this.$route.query.imgUrl + // this.currencyPath= this.$route.query.imgUrl + // this.params.coin = this.$route.query.coin + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // this.activeItem = this.currencyList.find(item=>{return item.value==this.params.coin}) + // } + + + + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // window.addEventListener("setItem", () => { + // let activeCoin=localStorage.getItem("activeCoin") + // this.activeCoin= JSON.parse(activeCoin) + // }); + + // console.log(this.activeCoin,"鸡脚低端局"); + + + // if ( !this.activeCoin ) { + // this.activeCoin ="nexa" + // this.imgUrl = `https://test.m2pool.com/img/nexa.png` + // this.currencyPath= `https://test.m2pool.com/img/nexa.png` + // this.params.coin ="nexa" + // this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + // }else if(this.activeCoin==`nexa` || this.activeCoin==`rxd`){ + + // try { + // this.pageTitle = this.currencyList.find(item => item.value == this.activeCoin).name + // this.imgUrl = this.currencyList.find(item => item.value == this.activeCoin).imgUrl + // } catch (error) { + // console.log(error); + + // } + + // } + + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + clickCurrency(item) { + + + this.currencyPath = item.imgUrl + this.params.coin = item.value + this.activeItem = item + + + + + }, + handelCurrencyLabel(coin){ + let obj = this.currencyList.find(item => item.value == coin) + if (obj) { + return obj.label + }else{ + return "" + } + + + } + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/nexaAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/nexaAccess/index.vue new file mode 100644 index 0000000..9ee2c76 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/nexaAccess/index.vue @@ -0,0 +1,792 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/rxdAccess/index.js b/mining-pool/public/src/views/AccessMiningPool/rxdAccess/index.js new file mode 100644 index 0000000..d115f06 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/rxdAccess/index.js @@ -0,0 +1,160 @@ +import {getImageUrl} from "../../../utils/publicMethods.js" +export default { + data(){ + return{ + + activeName:"1", + activeItem:{ + path:"nexaAccess", + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + show:true, + name:"course.NEXAcourse", + amount:10000, + tcp:"stratum+tcp://nexa.m2pool.com:33333", + ssl:"stratum+ssl://nexa.m2pool.com:33335", + Step1:"course.Step1", + accountContent1:"course.accountContent1", + accountContent2:"course.accountContent2", + Step2:"course.Step2", + bindWalletText1:"course.bindWalletText1", + bindWalletText2:"course.bindWalletText2", + walletAddr:"https://nexa.org/", + bindWalletText3:"course.bindWalletText3", + bindWalletText4:"course.bindWalletText4", + exchangeAddr1:"https://www.mxc.com/", + exchangeAddr1Label:"MEXC", + exchangeAddr2:"https://www.coinex.com/zh-hans/", + exchangeAddr2Label:"CoinEx", + bindWalletText5:"course.bindWalletText5", + bindWalletText6:"course.bindWalletText6", + bindWalletText7:"course.bindWalletText7", + bindWalletText8:"course.bindWalletText8", + Step3:"course.Step3", + miningIncome1:"course.miningIncome1", + miningIncome2:"course.miningIncome2", + GPU:"bzminer、lolminer、Rigel、WildRig", + ASIC:"course.dragonBall", + Step4:"course.Step4", + parameter:"course.parameter", + parameter2:"course.parameter2", + parameter3:"course.parameter3", + parameter4:"course.parameter4", + parameter5:"course.parameter5", + parameter6:"course.parameter6", + parameter7:"course.parameter7", + parameter8:"course.parameter8", + + + + + }, + } + }, + mounted(){ + + if (this.$route.query.coin) { + this.activeCoin = this.$route.query.coin + // this.currencyPath = this.$route.query.imgUrl + this.imgUrl = this.$route.query.imgUrl + this.currencyPath= this.$route.query.imgUrl + this.params.coin = this.$route.query.coin + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + this.activeItem = this.currencyList.find(item=>{return item.value==this.params.coin}) + } + + + + let activeCoin=localStorage.getItem("activeCoin") + this.activeCoin= JSON.parse(activeCoin) + window.addEventListener("setItem", () => { + let activeCoin=localStorage.getItem("activeCoin") + this.activeCoin= JSON.parse(activeCoin) + }); + + + + if ( !this.activeCoin ) { + this.activeCoin ="nexa" + this.imgUrl = `${this.$baseApi}/img/nexa.png` + this.currencyPath= `${this.$baseApi}/img/nexa.png` + this.params.coin ="nexa" + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(this.activeCoin)) + this.openAPI =true + }else if(this.activeCoin==`nexa` || this.activeCoin==`rxd`){ + + this.openAPI =true + try { + this.pageTitle = this.currencyList.find(item => item.value == this.activeCoin).name + this.imgUrl = this.currencyList.find(item => item.value == this.activeCoin).imgUrl + } catch (error) { + console.log(error); + + } + + }else{ + this.openAPI =false + } + + + + + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + clickJump(item){ + + this.activeCoin=item.value + this.pageTitle = item.name + this.imgUrl = item.imgUrl + this.$addStorageEvent(1,`activeCoin`,JSON.stringify(item.value)) + // this.$router.push(item.url) + console.log(this.activeCoin); + }, + clickCopy(value){ + navigator.clipboard.writeText(value).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error', + + }); + }); + }, + clickCurrency(item) { + + + this.currencyPath = item.imgUrl + this.params.coin = item.value + this.activeItem = item + + + + + }, + handelCurrencyLabel(coin){ + let obj = this.currencyList.find(item => item.value == coin) + if (obj) { + return obj.label + }else{ + return "" + } + + + } + }, + + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/AccessMiningPool/rxdAccess/index.vue b/mining-pool/public/src/views/AccessMiningPool/rxdAccess/index.vue new file mode 100644 index 0000000..6b366f4 --- /dev/null +++ b/mining-pool/public/src/views/AccessMiningPool/rxdAccess/index.vue @@ -0,0 +1,775 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/BKWorkDetails/index.js b/mining-pool/public/src/views/BKWorkDetails/index.js new file mode 100644 index 0000000..bdbf034 --- /dev/null +++ b/mining-pool/public/src/views/BKWorkDetails/index.js @@ -0,0 +1,365 @@ +// import { mapState } from "vuex"; +import axios from 'axios' +import request from '../../utils/request' +import { getDetails,getReply,getBKendTicket } from "../../api/work" + +export default { + data() { + return { + + imgSrc: "https://studio.glassnode.com/images/crypto-icons/btc.png", + navLabel: "Bitcoin (BTC)", + userName: "LX", + from: { + title: "", + kinds: "", + description: "", + radio: "", + }, + kindsList: [{ + value: "购买咨询", + label: "购买咨询", + }, { + value: "财务咨询", + label: "财务咨询", + }, { + value: "网页问题", + label: "网页问题", + }, + { + value: "账户问题", + label: "账户问题", + }, + { + value: "移动端问题", + label: "移动端问题", + }, + { + value: "消息订阅", + label: "消息订阅", + }, + { + value: "指标数据问题", + label: "指标数据问题", + }, + { + value: "其他", + label: "其他", + }], + params: [], + input: 1, + tableData: [{ + num: 1, + time: "2022-09-01 16:00", + problem: "账户问题", + questionTitle: "账户不能登录", + state: "已解决" + }], + textarea: "我是提交内容", + textarea1: "我是回复内容", + textarea2: "", + replyInput: true, + ticketDetails: { + id: "", + type: "", + title: "", + userName: "", + desc: "", + responName: "", + respon: "", + submitTime: "", + status: "", + fileIds: "", + files: "", + responTime: "" + + }, + //上传后的文件列表 + fileList: [], + // 允许的文件类型 + fileType: ["jpg", "jpeg", "png", "mp3", "aif", "aiff", "wav", "wma", "mp4", "avi", "rmvb",], + // 运行上传文件大小,单位 M + fileSize: 20, + // 附件数量限制 + fileLimit: 3, + //请求头 + headers: { "Content-Type": "multipart/form-data" }, + FormDatas: null, + filesId: [], + paramsDownload: { + id: "" + }, + //回复工单参数 + paramsResponTicket: { + id: "", + files: "", + respon: "", + + }, + //审核工单参数 + paramsAuditTicket: { + id: "", + msg: "" + }, + //提交审核参数 + paramsSubmitAuditTicket: { + id: "" + }, + identity: {}, + detailsID: "", + + downloadUrl: "", + // -------------- + workOrderId: "", + recordList: [ + // { + // time: "2021-3-5", + // content: "这是内容", + // name: "lx888", + // videoPath: "", + // audioPath: "", + // imagePath: "", + // }, + // { + // time: "2021-3-8", + // content: "这是内容2", + // name: "admin", + // videoPath: "", + // audioPath: "", + // imagePath: "", + // }, + + ], + replyParams: { + id: "", + respon: "", + files: "", + }, + totalDetailsLoading: false, + faultList:[], + + statusList:[ + {//待处理 + value:1, + label:"work.pendingProcessing" + }, + {//处理中 + value:2, + label:"work.processed" + }, + {//已完结 + value:10, + label:"work.completeWK" + } + + ], + typeList:[], + machineCoding: "", + warrantyList: [], + closeDialogVisible:false, + lang: 'zh', + + + } + }, + + mounted() { + this.lang = this.$i18n.locale; // 初始化语言值 + this.workOrderId = localStorage.getItem("totalID") + this.fetchTicketDetails({ id: this.workOrderId }) + // this.faultList = JSON.parse(localStorage.getItem('faultList') ) + // this.stateList = JSON.parse(localStorage.getItem('stateList') ) + // this.typeList = JSON.parse(localStorage.getItem('typeList') ) + + this.registerRecoveryMethod('fetchTicketDetails', { id: this.workOrderId }); + + }, + methods: { + async fetchBKendTicket(params){ + // this.totalDetailsLoading =true + this.setLoading('totalDetailsLoading', true); + const data = await getBKendTicket(params) + if (data && data.code == 200) { + this.$message({ + message:this.$t(`work.WKend`), + type: "success", + }); + this.$router.push(`/${this.lang}/workOrderBackend`); + + } + + this.setLoading('totalDetailsLoading', false); + }, + + async fetchReply(params){ + // this.totalDetailsLoading = true + this.setLoading('totalDetailsLoading', true); + const data = await getReply(params) + if (data && data.code == 200) { + this.$message({ + message:this.$t(`work.submitted`), + type: 'success', + + }) + for (const key in this.replyParams) { + this.replyParams[key] ="" + } + this.fileList = [] + this.fetchTicketDetails({ id: this.workOrderId }) + } + + + this.setLoading('totalDetailsLoading', false); + }, + handelType2(label){ + if (label) { + return this.typeList.find(item=>item.name==label).label + } + }, + handelStatus2(label){ + + try{ + if (label) { + let value = this.statusList.find(item=>item.value==label).label + return this.$t(value) + } + }catch{ + return "" + } + }, + handelPhenomenon(id){ + if (id) { + return this.faultList.find(item=>item.id==id).label + } + + }, + //请求工单详情 + async fetchTicketDetails(param) { + // this.totalDetailsLoading = true + this.setLoading('totalDetailsLoading', true); + const { data } = await getDetails(param) + + this.recordList = data.list + this.ticketDetails = data + + + this.setLoading('totalDetailsLoading', false); + }, + + + + + + //点击下载附件 + downloadExcel(id) { + this.downloadUrl = ` ${request.defaults.baseURL}pool/ticket/downloadFile?ids=${id}` + let a = document.createElement(`a`) + a.href = this.downloadUrl + a.click() + }, + + handelChange(file, fileList) { //控制显示上传显示列表 + // 校验文件类型和大小 + const fileType = file.name.slice(file.name.lastIndexOf('.') + 1).toLowerCase(); + const isTypeValid = this.fileType.includes(fileType); + const isSizeValid = file.size / 1024 / 1024 <= this.fileSize; + if (!isTypeValid) {//不支持的文件类型 + this.$message.error(`${this.$t(`work.notSupported`)}${fileType}`); + this.fileList = this.fileList.filter(item => item.name != file.name); + return false; + } + if (!isSizeValid) {//文件大小不能超过 + this.fileList = this.fileList.filter(item => item.name != file.name); + this.$message.error(`${this.$t(`work.notSupported2`)} ${this.fileSize} MB.`); + return false; + } + let flag = this.fileList.some(item => item.name == file.name) + if (flag) { + this.$message.warning(this.$t(`work.notSupported3`)); + this.$refs.upload.handleRemove(file) + + return false + } + // this.fileName.push(file.name) + this.fileList.push(file.raw) + + }, + //上传了的文件给移除的事件 + handleRemove(file, fileList) { + // this.fileList = this.fileList.filter(item => item.name !== file.name) + // this.fileName = this.fileName.filter(item => item !== file.name) + + let index = this.fileList.indexOf(file); // 获取第一个重复元素的索引 + + if (index !== -1) { + this.fileList.splice(index, 1); // 删除第一个重复元素 + } + }, + + //超出文件个数的回调 + handleExceed() { + this.$message({ + type: 'warning', + message: this.$t(`work.notSupported4`) + }); return + }, + //下载附件 + handelDownload(id) { + + if (id) { + this.downloadUrl = ` ${request.defaults.baseURL}pool/ticket/downloadFile?ids=${id}` + let a = document.createElement(`a`) + a.href = this.downloadUrl + a.click() + } + + + }, + + + + //上传成功后的回调 + handleSuccess() { + + }, + + handelTime(time) { + + if (time && time.includes(`T`)) { + return `${time.split(`T`)[0]} ${time.split(`T`)[1].split(`.`)[0]}` + } + + }, + + handelResubmit(){ + if (!this.replyParams.respon) { + + console.log(); + + this.$message({ + message: this.$t(`work.replyContent2`), + type: 'error', + customClass: 'messageClass' + }) + + return + } + this.replyParams.id = this.ticketDetails.id + + + this.fetchReply(this.replyParams) + + + }, + handelEnd(){ + this.closeDialogVisible=true + }, + handleClose(){ + this.closeDialogVisible=false + }, + confirmCols(){ + this.fetchBKendTicket({id:this.ticketDetails.id}) + }, + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/BKWorkDetails/index.vue b/mining-pool/public/src/views/BKWorkDetails/index.vue new file mode 100644 index 0000000..11f469b --- /dev/null +++ b/mining-pool/public/src/views/BKWorkDetails/index.vue @@ -0,0 +1,663 @@ + + + + + diff --git a/mining-pool/public/src/views/alerts/index.js b/mining-pool/public/src/views/alerts/index.js new file mode 100644 index 0000000..8b71f5b --- /dev/null +++ b/mining-pool/public/src/views/alerts/index.js @@ -0,0 +1,295 @@ +import {getAddNoticeEmail,getCode,getList,getUpdateInfo,deleteEmail} from "../../api/alerts"; +import {getImageUrl} from "../../utils/publicMethods"; +export default { + data() { + return{ + receiveData:{ + img:"", + maId:"", + coin:"", + ma:"", + }, + dialogVisible:false, + params:{ + email:"", + remark:"", + code:"", + maId:"" + }, + tableData:[ + { + email:"5656", + } + ], + alertsLoading:false, + + addMinerLoading:false, + btnDisabled: false, + btnDisabledClose: false, + btnDisabledPassword: false, + bthText: "user.obtainVerificationCode", + bthTextClose: "user.obtainVerificationCode", + bthTextPassword: "user.obtainVerificationCode", + time: "", + countDownTime: 60, + timer: null, + countDownTimeClose: 60, + timerclose: null, + countDownTimePassword: 60, + timerPassword: null, + listParams:{ + maId:"", + limit:10, + page:1, + + }, + modifyDialogVisible:false, + modifyRemark:"", + modifyParams:{ + id:"", + remark:"", + }, + deleteLoading:false, + userEmail:"", + + } + }, + + computed: { + countDownPassword() { + const minutes = Math.floor(this.countDownTimePassword / 60); + const seconds = this.countDownTimePassword % 60; + const m = minutes < 10 ? "0" + minutes : minutes; + const s = seconds < 10 ? "0" + seconds : seconds; + return `${s}`; + // return`${s}` + }, + + }, + created() { + + if (window.sessionStorage.getItem("alerts_time")) { + this.countDownTimePassword = Number(window.sessionStorage.getItem("alerts_time")); + this.startCountDownPassword() + this.btnDisabledPassword = true; + this.bthTextPassword = `user.again` + } + + }, + + + mounted() { + let userEmail=localStorage.getItem("userEmail") + this.userEmail= JSON.parse(userEmail) + window.addEventListener("setItem", () => { + let userEmail=localStorage.getItem("userEmail") + this.userEmail= JSON.parse(userEmail) + }); + this.params.email = this.userEmail + if (this.$route.query) { + this.receiveData = this.$route.query; + this.listParams.maId = this.receiveData.id + this.params.maId = this.receiveData.id + } + this.fetchList(this.listParams) + this.registerRecoveryMethod('fetchList', this.listParams); + + }, + methods:{ + getImageUrl(path) { + return getImageUrl(path); + }, + async fetchAddNoticeEmail(params){ + // this.addMinerLoading = true + this.setLoading('addMinerLoading', true); + const data = await getAddNoticeEmail(params) + if (data && data.code == 200) { + this.$message({ + type: "success", + message:this.$t("alerts.addedSuccessfully"), + + }); + this.fetchList(this.listParams) + + this.dialogVisible = false + + for (const key in this.params) { + + + if (key !== "maId") { + this.params[key] ="" + } + + } + } + this.setLoading('addMinerLoading', false); + + }, + async fetchList(params){ + // this.alertsLoading=true + this.setLoading('alertsLoading', true); + const data = await getList(params) + if (data && data.code == 200) { + this.tableData = data.rows + + } + this.setLoading('alertsLoading', false); + + }, + async fetchCode(params){ + const data = await getCode(params) + if (data && data.code == 200) { + this.$message({ + type: "success", + message:this.$t("user.verificationCodeSuccessful"),//this.$t("user.addSuccess") + + }); + + } + + }, + async fetchUpdateInfo(params){ + // this.addMinerLoading = true + this.setLoading('addMinerLoading', true); + const data = await getUpdateInfo(params) + if (data && data.code == 200) { + this.$message({ + type: "success", + message:this.$t("alerts.modifiedSuccessfully"),//this.$t("user.addSuccess") + + }); + this.modifyDialogVisible = false + this.fetchList(this.listParams) + } + + this.setLoading('addMinerLoading', false); + + }, + async fetchDeleteEmail(params){ + // this.deleteLoading = true + this.setLoading('deleteLoading', true); + const data = await deleteEmail(params) + if (data && data.code == 200) { + this.$message({ + type: "success", + message: this.$t("alerts.deleteSuccessfully"),//this.$t("user.addSuccess") + + }); + + this.fetchList(this.listParams) + } + + this.setLoading('deleteLoading', false); + + }, + + add(){ + this.dialogVisible =true + }, + confirmAdd(){ + //邮箱格式验证 + const emailRegex =/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/; + this.params.email = this.params.email.trim() + let isMailbox = emailRegex.test(this.params.email); + + if (!this.params.email || !isMailbox) { + this.$message({ + message: this.$t(`user.emailVerification`), + type: "error", + customClass: "messageClass", + showClose: true + }); + return + } + if ( !this.params.code) { + this.$message({ + message: this.$t(`personal.eCode`), + type: "error", + customClass: "messageClass", + showClose: true + }); + return + } + + this.fetchAddNoticeEmail(this.params) + }, + modify(item){ + + this.modifyParams.id = item.id + this.modifyParams.remark = item.remark + this.modifyDialogVisible =true + }, + confirmModify(){ + if (!this.modifyParams.remark) { + this.$message({ + message:this.$t("alerts.modificationReminder"), + type: "error", + customClass: "messageClass", + showClose: true + }); + + return + } + this.fetchUpdateInfo( this.modifyParams) + }, + handelDelete(item){ + this.fetchDeleteEmail({id:item.id}) + }, + handelCode() { + //邮箱格式验证 + const emailRegex =/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/; + this.params.email = this.params.email.trim() + let isMailbox = emailRegex.test(this.params.email); + + if (!this.params.email || !isMailbox) { + this.$message({ + message: this.$t(`user.emailVerification`), + type: "error", + customClass: "messageClass", + showClose: true + }); + return + } + if (this.listParams.maId !== 0 && !this.listParams.maId) { + this.$message({ + message: this.$t("alerts.acquisitionFailed"), + type: "error", + customClass: "messageClass", + showClose: true + }); + return + } + + this.fetchCode({email:this.params.email,maId:this.listParams.maId}) + + if (window.sessionStorage.getItem("alerts_time") == null) { + this.startCountDownPassword() + } else { + this.countDownTimePassword = Number(window.sessionStorage.getItem("alerts_time")); + this.startCountDownPassword() + } + + }, + startCountDownPassword() { + this.timerPassword = setInterval(() => { + + if (this.countDownTimePassword <= 1) { + //当监测到countDownTime为0时,清除计数器并且移除sessionStorage,然后执行提交试卷逻辑 + clearInterval(this.timerPassword); + sessionStorage.removeItem("alerts_time"); + + this.countDownTimePassword = 60 + this.btnDisabledPassword = false; + this.bthTextPassword = `user.obtainVerificationCode` + } else if (this.countDownTimePassword > 0) { + //每秒让countDownTimePassword -1秒,并设置到sessionStorage中 + this.countDownTimePassword--; + this.btnDisabledPassword = true; + this.bthTextPassword = `user.again` + window.sessionStorage.setItem("alerts_time", this.countDownTimePassword); + } + }, 1000); + }, + } + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/alerts/index.vue b/mining-pool/public/src/views/alerts/index.vue new file mode 100644 index 0000000..fc9e9df --- /dev/null +++ b/mining-pool/public/src/views/alerts/index.vue @@ -0,0 +1,657 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/allocationExplanation/index.js b/mining-pool/public/src/views/allocationExplanation/index.js new file mode 100644 index 0000000..4372fcb --- /dev/null +++ b/mining-pool/public/src/views/allocationExplanation/index.js @@ -0,0 +1,104 @@ +export default { + data(){ + return{ + rateList:[ + { + value:"nexa", + label:"nexa", + img:`${this.$baseApi}img/nexa.png`, + condition:"course.conditionNexa", + interval:"course.intervalNexa", + estimatedTime:"course.estimatedTimeNexa", + describe:"course.describeNexa", + + }, + { + value:"grs", + label:"grs", + img:`${this.$baseApi}img/grs.svg`, + condition:"course.conditionGrs", + interval:"course.intervalGrs", + estimatedTime:"course.estimatedTimeGrs", + describe:"course.describeGrs", + }, + { + value:"mona", + label:"mona", + img:`${this.$baseApi}img/mona.svg`, + condition:"course.conditionMona", + interval:"course.intervalMona", + estimatedTime:"course.estimatedTimeMona", + describe:"course.describeMona", + }, + { + value:"dgbs", + label:"dgb(skein)", + img:`${this.$baseApi}img/dgb.svg`, + condition:"course.conditionDgbs", + interval:"course.intervalDgbs", + estimatedTime:"course.estimatedTimeDgbs", + describe:"course.describeDgbs", + }, + { + value:"dgbq", + label:"dgb(qubit)", + img:`${this.$baseApi}img/dgb.svg`, + condition:"course.conditionDgbq", + interval:"course.intervalDgbq", + estimatedTime:"course.estimatedTimeDgbq", + describe:"course.describeDgbq", + }, + { + value:"dgbo", + label:"dgb(odocrypt)", + img:`${this.$baseApi}img/dgb.svg`, + condition:"course.conditionDgbo", + interval:"course.intervalDgbo", + estimatedTime:"course.estimatedTimeDgbo", + describe:"course.describeDgbo", + }, + { + value:"rxd", + label:"radiant", + img:`${this.$baseApi}img/rxd.png`, + condition:"course.conditionRxd", + interval:"course.intervalRxd", + estimatedTime:"course.estimatedTimeRxd", + describe:"course.describeRxd", + }, + // { + // value:"enx", + // label:"Entropyx(enx)", + // img:`${this.$baseApi}img/enx.svg`, + // condition:"course.conditionEnx", + // interval:"course.intervalEnx", + // estimatedTime:"course.estimatedTimeEnx", + // describe:"course.describeEnx", + // }, + { + value:"alph", + label:"alephium", + img:`${this.$baseApi}img/alph.svg`, + condition:"course.conditionAlph", + interval:"course.intervalAlph", + estimatedTime:"course.estimatedTimeAlph", + describe:"course.describeAlph", + }, + + { + value:"xmr", + label:"xmr", + img:`${this.$baseApi}img/xmr.png`, + condition:"course.conditionXmr", + interval:"course.intervalXmr", + estimatedTime:"course.estimatedTimeXmr", + describe:"course.describeXmr", + }, + + + + + ] + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/allocationExplanation/index.vue b/mining-pool/public/src/views/allocationExplanation/index.vue new file mode 100644 index 0000000..035a4eb --- /dev/null +++ b/mining-pool/public/src/views/allocationExplanation/index.vue @@ -0,0 +1,382 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/announcementDetails/index.js b/mining-pool/public/src/views/announcementDetails/index.js new file mode 100644 index 0000000..5ea8923 --- /dev/null +++ b/mining-pool/public/src/views/announcementDetails/index.js @@ -0,0 +1,166 @@ +import { documentsList,findDataInfo} from '../../api/documentManagement' + +/** + * 本地存储选中的问题ID的键名 + * @type {string} + */ +const SELECTED_PROBLEM_ID_KEY = 'announcementDetails:selectedId' +export default { + data() { + return { + problems: [ + { + id: 1, + title: "如何开始挖矿?", + content: "详细步骤:注册、配置矿机、连接矿池。", + }, + { + id: 2, + title: "如何查看收益?", + content: "登录后在个人中心查看收益统计。", + }, + { + id: 3, + title: "如何联系客服?", + content: "可通过在线客服或提交工单联系我们。", + }, + ], + listParams:{ + type:"3",//常见问题 + lang:this.$i18n.locale, + pageNum:1, + pageSize:50 + }, + problemLoading:false, + DetailsParams:{ + id:"", + lang:this.$i18n.locale, + }, + info:"" + }; + }, + mounted() { + // this.DetailsParams.id = this.$route.query.id; + // console.log(this.$route.query.id,"this.DetailsParams.id"); + // if (this.DetailsParams.id) { + // this.fetchProblemDetails(this.DetailsParams) + // } + this.fetchProblemsList(this.listParams) + }, + methods: { + async fetchProblemsList(params) { + this.setLoading('problemLoading', true); + const res = await documentsList(params) + if(res && res.code === 200){ + this.problems = res.rows; + // 优先级:URL 参数 > 本地存储 > 列表首项 + const routeId = this.$route && this.$route.query && this.$route.query.id ? String(this.$route.query.id) : '' + const savedId = this.getSavedSelectedId() + + let resolvedId = routeId || savedId || '' + + if (!resolvedId && this.problems && this.problems.length > 0) { + resolvedId = String(this.problems[0].id) + } + + // 如果存在但不在当前列表中,则回退到首项 + if (resolvedId) { + const existsInList = (this.problems || []).some(item => String(item.id) === String(resolvedId)) + if (!existsInList && this.problems && this.problems.length > 0) { + resolvedId = String(this.problems[0].id) + } + } + + this.DetailsParams.id = resolvedId + + // 同步到URL与本地存储 + this.persistSelectedId(this.DetailsParams.id) + this.updateRouteQueryId(this.DetailsParams.id) + + if (this.DetailsParams.id) { + this.fetchProblemDetails(this.DetailsParams) + } + } + this.setLoading('problemLoading', false); + }, + + async fetchProblemDetails(params) { + this.setLoading('problemLoading', true); + const res = await findDataInfo(params) + if(res && res.code === 200){ + console.log(res,"res"); + this.info = res.data.content || "" + } + this.setLoading('problemLoading', false); + }, + + + + + /** + * 跳转到问题详情页 + * @param {number} id 问题ID + */ + handleClick(id) { + // 更新当前选中ID + this.DetailsParams.id = id + // 持久化并同步URL + this.persistSelectedId(this.DetailsParams.id) + this.updateRouteQueryId(this.DetailsParams.id) + // 获取详情 + this.fetchProblemDetails(this.DetailsParams) + }, + + /** + * 将选中的问题ID持久化到本地存储 + * @param {string|number} id 问题ID + * @returns {void} + */ + persistSelectedId(id) { + try { + window.localStorage.setItem(SELECTED_PROBLEM_ID_KEY, String(id)) + } catch (error) { + // 上报或静默处理本地存储异常 + console.error('persistSelectedId error', error) + } + }, + + /** + * 读取本地存储中保存的选中问题ID + * @returns {string} + */ + getSavedSelectedId() { + try { + return window.localStorage.getItem(SELECTED_PROBLEM_ID_KEY) || '' + } catch (error) { + console.error('getSavedSelectedId error', error) + return '' + } + }, + + /** + * 使用 replace 同步更新当前路由的查询参数中的 id + * 避免产生新的历史记录条目 + * @param {string|number} id 问题ID + * @returns {void} + */ + updateRouteQueryId(id) { + try { + if (!this.$route) return + const targetId = String(id) + const currentId = this.$route && this.$route.query && this.$route.query.id ? String(this.$route.query.id) : '' + if (currentId === targetId) return + + const nextQuery = { ...(this.$route.query || {}), id: targetId } + if (this.$router && typeof this.$router.replace === 'function') { + const maybePromise = this.$router.replace({ query: nextQuery }) + if (maybePromise && typeof maybePromise.catch === 'function') { + maybePromise.catch(() => {}) + } + } + } catch (error) { + console.error('updateRouteQueryId error', error) + } + }, + }, + }; \ No newline at end of file diff --git a/mining-pool/public/src/views/announcementDetails/index.vue b/mining-pool/public/src/views/announcementDetails/index.vue new file mode 100644 index 0000000..f3f2c1d --- /dev/null +++ b/mining-pool/public/src/views/announcementDetails/index.vue @@ -0,0 +1,131 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/announcements/index.js b/mining-pool/public/src/views/announcements/index.js new file mode 100644 index 0000000..31b2ac7 --- /dev/null +++ b/mining-pool/public/src/views/announcements/index.js @@ -0,0 +1,243 @@ +import { documentsList } from '../../api/documentManagement' +export default { + name: 'Announcements', + data() { + return { + // 加载状态 + loading: false, + + // 搜索关键词 + searchKeyword: '', + + // 分页参数 + currentPage: 1, + totalCount: 0, + + // 公告数据 + announcements: [ + // { + // id: 1, + // title: 'ZEN挖矿服务即将结束', + // summary: 'ZEN挖矿服务将于近期结束,请及时调整您的挖矿设置。', + // type: '重要通知', + // createTime: '2025-01-20T10:00:00.000Z', + // isTop: true + // }, + // { + // id: 2, + // title: 'LKY即将减半', + // summary: 'LKY币种将在近期进行减半操作,请关注相关通知。', + // type: '系统公告', + // createTime: '2025-01-19T15:30:00.000Z', + // isTop: false + // }, + // { + // id: 3, + // title: 'PEP即将减产', + // summary: 'PEP币种挖矿难度调整,产量将有所减少。', + // type: '市场动态', + // createTime: '2025-01-18T09:15:00.000Z', + // isTop: false + // }, + // { + // id: 4, + // title: 'ETC+ZIL挖矿服务已结束', + // summary: 'ETC+ZIL双挖服务已正式结束,感谢您的支持。', + // type: '服务通知', + // createTime: '2025-01-17T14:45:00.000Z', + // isTop: false + // }, + // { + // id: 5, + // title: '有关2025年06月19日SCT池异常的说明', + // summary: 'SCT矿池在指定时间出现异常情况,现已修复并提供补偿方案。', + // type: '故障说明', + // createTime: '2025-01-16T11:20:00.000Z', + // isTop: false + // }, + // { + // id: 6, + // title: 'FB单挖矿池下线公告', + // summary: 'FB单挖矿池将于本月底正式下线,请及时转移算力。', + // type: '下线通知', + // createTime: '2025-01-15T16:10:00.000Z', + // isTop: false + // } + ], + + // 搜索防抖定时器 + searchTimer: null, + + // Markdown 使用规则指南 + showMarkdownGuide: false, + viewMode: 'list', // 'list' or 'editor'0 + listParams:{ + type:"3", + lang:this.$i18n.locale, + pageNum:1, + pageSize:10 + }, + announcementsLoading:false + } + }, + + mounted() { + try { + this.TypeList = JSON.parse(localStorage.getItem('TypeList')) + } catch (error) { + console.log(error); + } + // this.loadAnnouncements(); + + this.fetchAllList(this.listParams) + }, + + methods: { + async fetchAllList(params){ + this.setLoading('announcementsLoading', true); + const res = await documentsList(params) + console.log(res,"res"); + + if (res.code === 200) { + this.announcements = res.rows + this.totalCount = res.total + } + this.setLoading('announcementsLoading', false); + }, + /** + * 加载公告数据 + */ + async loadAnnouncements() { + this.loading = true; + try { + // 这里应该调用API获取公告数据 + // const response = await this.$api.getAnnouncements({ + // page: this.currentPage, + // pageSize: this.pageSize, + // keyword: this.searchKeyword + // }); + // this.announcements = response.data; + // this.totalCount = response.total; + + // 模拟API调用延迟 + await new Promise(resolve => setTimeout(resolve, 500)); + + } catch (error) { + console.error('加载公告失败:', error); + this.$message.error(this.$t('announcements.loadError') || '加载公告失败'); + } finally { + this.loading = false; + } + }, + + /** + * 处理搜索输入 + */ + handleSearchInput() { + if (this.searchTimer) { + clearTimeout(this.searchTimer); + } + + // 防抖处理,500ms后执行搜索 + this.searchTimer = setTimeout(() => { + this.handleSearch(); + }, 500); + }, + + /** + * 执行搜索 + */ + handleSearch() { + this.currentPage = 1; + + }, + + /** + * 处理页码变化 + */ + handleCurrentChange(page) { + this.currentPage = page; + this.listParams.pageNum = page + this.fetchAllList(this.listParams) + }, + handleSizeChange(size){ + this.listParams.pageNum = 1 + this.currentPage = 1; + this.listParams.pageSize = size + this.fetchAllList(this.listParams) + }, + + /** + * 处理公告点击 + */ + handleAnnouncementClick(announcement) { + + console.log(announcement,"announcement"); + let url = `/${this.$i18n.locale}/announcementDetails` + // 跳转到公告详情页 + this.$router.push({ + path:url, + query:{ + id:announcement.id + } + }); + }, + + /** + * 查看所有公告 + */ + handleViewAll() { + // 可以跳转到完整的公告列表页面或展开显示更多 + this.pageSize = 20; + this.loadAnnouncements(); + }, + + /** + * 切换Markdown使用规则指南的显示状态 + */ + toggleMarkdownGuide() { + this.showMarkdownGuide = !this.showMarkdownGuide; + }, + + /** + * 切换视图模式 (list/editor) + */ + switchMode(mode) { + this.viewMode = mode; + // Markdown指南现在完全独立控制,不与视图模式绑定 + }, + + /** + * 返回首页 + */ + goHome() { + this.$router.push('/'); + }, + + /** + * 格式化日期 + */ + formatDate(dateString) { + try { + return `${dateString.split("T")[0]} ${dateString.split("T")[1]}` + } catch (error) { + return '' + } + }, + handelType(type){ + try { + let label = this.TypeList.find(item => item.value == type).label + return this.$t(label) + } catch (error) { + return '' + } + }, + }, + + beforeDestroy() { + // 清理定时器 + if (this.searchTimer) { + clearTimeout(this.searchTimer); + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/announcements/index.vue b/mining-pool/public/src/views/announcements/index.vue new file mode 100644 index 0000000..bbb5c34 --- /dev/null +++ b/mining-pool/public/src/views/announcements/index.vue @@ -0,0 +1,1032 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/apiFile/index.js b/mining-pool/public/src/views/apiFile/index.js new file mode 100644 index 0000000..635a833 --- /dev/null +++ b/mining-pool/public/src/views/apiFile/index.js @@ -0,0 +1,187 @@ +import { documentsList, findDataInfo } from '../../api/documentManagement' + +export default { + name: 'ApiFile', + data() { + return { + listParams: { + lang: `${this.$i18n.locale}`, + childType: 3, + pageNum:1, + pageSize:50 + }, + DetailsParams: { + lang: `${this.$i18n.locale}`, + childType:3,//1服务条款、2费率、3API文档 childType + }, + navContent: {}, + documentLoading: true, + documentContent: '', + documentError: '', + navList:[], + info: '', + } + }, + mounted() { + this.getDocumentsList(this.listParams) + + }, + methods: { + async getDocumentsList(params) { + try { + const res = await documentsList(params) + this.setLoading('documentLoading', true); + if (res && res.code === 200) { + this.navList = res.rows + + if (this.$route.query.id) { + this.DetailsParams.id = this.$route.query.id + + }else{ + this.DetailsParams.id = res.rows[0].id; + } + if (this.DetailsParams.id) { + this.fetchProblemDetails(this.DetailsParams) + } + + } + + + + + } catch (error) { + console.error('获取文档列表失败:', error) + } + }, + + async fetchProblemDetails(params) { + this.setLoading('documentLoading', true); + const res = await findDataInfo(params) + if(res && res.code === 200){ + + this.info = res.data.content || "" + + } + this.setLoading('documentLoading', false); + }, + + + // async getDocumentsInfo(params) { + // this.documentLoading = true + // this.documentError = '' + + // try { + // const res = await findDataInfo(params) + // console.log('文档详情:', res) + + // if (res && res.code === 200 && res.data) { + // this.navContent = res.data + // // 将Markdown内容转换为HTML + // this.documentContent = this.markdownToHtml(res.data.content || '') + // } else { + // this.documentError = '获取文档失败: ' + (res?.msg || '未知错误') + // } + // } catch (error) { + // console.error('获取文档详情失败:', error) + // this.documentError = '获取文档失败: ' + (error.message || '网络错误') + // } finally { + // this.documentLoading = false + // } + // }, + + /** + * 改进的Markdown转HTML方法 + * @param {string} markdown - Markdown内容 + * @returns {string} - HTML内容 + */ + markdownToHtml(markdown) { + if (!markdown) return '' + + // 先处理表格(在换行处理之前) + let html = this.processMarkdownTables(markdown) + + html = html + // 标题处理 + .replace(/^### (.*$)/gim, '

              $1

              ') + .replace(/^## (.*$)/gim, '

              $1

              ') + .replace(/^# (.*$)/gim, '

              $1

              ') + // 粗体和斜体 + .replace(/\*\*(.*?)\*\*/gim, '$1') + .replace(/\*(.*?)\*/gim, '$1') + // 代码块 + .replace(/```([\s\S]*?)```/gim, '
              $1
              ') + .replace(/`([^`]*)`/gim, '$1') + // 链接 + .replace(/\[([^\]]*)\]\(([^)]*)\)/gim, '$1') + + // 处理段落和换行(避免影响表格) + const parts = html.split(/()/g) + html = parts.map(part => { + if (part.startsWith('

              ') + .replace(/\n/gim, '
              ') + }).join('') + + // 包装段落 + if (html && !html.startsWith('<') && !html.includes('' + } + + return html + }, + + /** + * 处理Markdown表格 + * @param {string} text - 包含表格的文本 + * @returns {string} - 转换后的HTML + */ + processMarkdownTables(text) { + // 匹配Markdown表格的正则表达式 + const tableRegex = /(\|.*\|[\r\n]+)+/g + + return text.replace(tableRegex, (match) => { + const lines = match.trim().split(/[\r\n]+/) + if (lines.length < 2) return match + + let html = '\n' + + lines.forEach((line, index) => { + line = line.trim() + if (!line.startsWith('|') || !line.endsWith('|')) return + + // 移除首尾的 | + const content = line.slice(1, -1) + const cells = content.split('|').map(cell => cell.trim()) + + // 跳过分隔线(包含 --- 的行) + if (cells.some(cell => /^-+$/.test(cell))) return + + const isHeader = index === 0 + const tag = isHeader ? 'th' : 'td' + const style = isHeader ? + ' style="background: #f8f9fa; font-weight: 600; padding: 8px 12px; border: 1px solid #ddd; text-align: left;"' : + ' style="padding: 8px 12px; border: 1px solid #ddd; text-align: left;"' + + html += ' \n' + cells.forEach(cell => { + html += ` <${tag}${style}>${cell}\n` + }) + html += ' \n' + }) + + html += '
              \n' + return html + }) + }, + + clickJump(item) { + + this.DetailsParams.id = item.id + this.fetchProblemDetails(this.DetailsParams) + + }, + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/apiFile/index.vue b/mining-pool/public/src/views/apiFile/index.vue new file mode 100644 index 0000000..0e48e4e --- /dev/null +++ b/mining-pool/public/src/views/apiFile/index.vue @@ -0,0 +1,2588 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/broadcast/index.js b/mining-pool/public/src/views/broadcast/index.js new file mode 100644 index 0000000..183cd38 --- /dev/null +++ b/mining-pool/public/src/views/broadcast/index.js @@ -0,0 +1,420 @@ +import { listBroadcast, getAddBroadcast, updateBroadcast, DeleteBroadcast, getBroadcast, dataInfo } from '../../api/broadcast' +import { isValidPath, getPathSuggestions } from '../../utils/routeUtils' + +export default { + data() { + return { + tableData: [ + // { + // id: 1, + // createTime: "2025-06-24 10:00:00", + // content: "内isjisjfidjfjfjffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff容", + // createUser: "创建人", + // updateTime: "2025-06-24 10:00:00", + // updateUser: "修改人", + // }, + // { + // id: 2, + // createTime: "2025-06-24 10:00:00", + // content: "内容", + // createUser: "创建人", + // updateTime: "2025-06-24 10:00:00", + // updateUser: "修改人", + // }, + ], + listParams: { + pageNum: 1, + pageSize: 50 + }, + addParams: { + content: "", + buttonContent: "", + buttonPath: "", + }, + editParams: { + content: "", + id: "", + buttonContent: "", + buttonPath: "", + }, + dialogVisible: false, + bthLoading: false, + broadcastLoading: false, + editDialogVisible: false, + editLoading: false, + byteCount: "", + isOverLimit: false, + total: 0, + pageSizes: [50, 100, 300], + currentPage: 1, + + } + }, + mounted() { + + + let token + try { + token = JSON.parse(localStorage.getItem('token')) + } catch (e) { + console.log(e); + } + if (token) { + this.fetchList(this.listParams); + } + + }, + methods: { + async fetchList(params) { + + this.setLoading('broadcastLoading', true); + const res = await listBroadcast(params) + if (res.code === 200) { + this.tableData = res.rows + this.total = res.total + } + this.setLoading('broadcastLoading', false); + }, + async addBroadcast(params) { + this.setLoading('bthLoading', true); + + // 发送请求前打印参数,用于调试 + console.log('发送广播请求的参数:', params); + + const res = await getAddBroadcast(params) + if (res.code === 200) { + this.$message.success(this.$t("backendSystem.addSuccess")) + this.dialogVisible = false; + // 清空表单参数 + this.addParams.content = "" + this.addParams.buttonContent = "" + this.addParams.buttonPath = "" + this.fetchList(this.listParams); + } + this.setLoading('bthLoading', false); + }, + async getBroadcast(params) { + this.setLoading('editLoading', true); + const res = await dataInfo(params) + if (res.code === 200) { + this.editParams = { + ...res.data, + // 确保按钮路径是字符串格式(如果是数组则转换为逗号分隔的字符串) + buttonPath: Array.isArray(res.data.buttonPath) + ? res.data.buttonPath.join(',') + : (res.data.buttonPath || '') + }; + this.editDialogVisible = true; + } + this.setLoading('editLoading', false); + }, + async editBroadcast(params) { + this.setLoading('editLoading', true); + + // 发送请求前打印参数,用于调试 + console.log('发送编辑广播请求的参数:', params); + + const res = await updateBroadcast(params) + if (res.code === 200) { + this.$message.success(this.$t("backendSystem.editSuccess")) + this.editDialogVisible = false; + + this.fetchList(this.listParams); + } + this.setLoading('editLoading', false); + }, + async deleteBroadcast(params) { + const res = await DeleteBroadcast(params) + if (res.code === 200) { + this.$message.success(this.$t("backendSystem.deleteSuccess")) + this.fetchList(this.listParams); + } + }, + handelAddBroadcast() { + this.dialogVisible = true; + }, + handleClose() { + this.dialogVisible = false; + this.addParams.content = "" + this.addParams.buttonContent = "" + this.addParams.buttonPath = "" + this.setLoading('bthLoading', false); + }, + sureAddBroadcast() { + + this.addParams.content = this.addParams.content.trim() + this.addParams.content = this.addParams.content.replace(/[\r\n]/g, ''); + this.addParams.buttonPath = this.addParams.buttonPath.trim() + this.addParams.buttonPath = this.addParams.buttonPath.replace(/[\r\n]/g, ''); + if (!this.addParams.content) { + this.$message.warning(this.$t("backendSystem.pleaseInputContent")) + return + } + + if ((this.addParams.buttonContent && this.addParams.buttonPath) || (!this.addParams.buttonContent && !this.addParams.buttonPath)) { + + if (this.addParams.buttonPath) { + // 兼容中英文逗号分割 + let pathArray = this.addParams.buttonPath.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (pathArray.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (pathArray.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + // 验证每个路径是否以/开头 + const invalidPaths = pathArray.filter(path => !path.startsWith('/')); + if (invalidPaths.length > 0) { + this.$message.error(`路径必须以 / 开头: ${invalidPaths.join(', ')}`); + return + } + + if (this.addParams.buttonContent) { + // 兼容中英文逗号分割 + let pathArray2 = this.addParams.buttonContent.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (pathArray2.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (pathArray2.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + + if (this.addParams.buttonContent && this.addParams.buttonPath) { + if (pathArray.length !== pathArray2.length) { + this.$message.warning(this.$t("backendSystem.pathNumberNotMatch")) + return + } + } + + + } + + // 验证通过,保持字符串格式传给后端(不转换为数组) + // this.addParams.buttonPath 保持原始字符串格式 + } + + + this.addBroadcast(this.addParams); + } else { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + } + + + + + + }, + sureEditBroadcast() { + this.editParams.content = this.editParams.content.trim() + this.editParams.content = this.editParams.content.replace(/[\r\n]/g, ''); + let buttonContentArray + let pathArray + if (!this.editParams.content) { + this.$message.warning(this.$t("backendSystem.pleaseInputContent")) + return + } + if (this.editParams.buttonContent) { + this.editParams.buttonContent = this.editParams.buttonContent.trim().replace(/[\r\n]/g, ''); + + // 验证按钮内容和路径是否匹配 + if ((this.editParams.buttonContent && this.editParams.buttonPath) || (!this.editParams.buttonContent && !this.editParams.buttonPath)) { + if (this.editParams.buttonContent) { + // 兼容中英文逗号分割 + buttonContentArray = this.editParams.buttonContent.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (buttonContentArray.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (buttonContentArray.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + } + + // 如果有按钮路径,进行验证 + if (this.editParams.buttonPath) { + this.editParams.buttonPath = this.editParams.buttonPath.trim().replace(/[\r\n]/g, ''); + + // 验证按钮内容和路径是否匹配 + if ((this.editParams.buttonContent && this.editParams.buttonPath) || (!this.editParams.buttonContent && !this.editParams.buttonPath)) { + if (this.editParams.buttonPath) { + // 兼容中英文逗号分割 + pathArray = this.editParams.buttonPath.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (pathArray.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (pathArray.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + // 验证每个路径是否以/开头 + const invalidPaths = pathArray.filter(path => !path.startsWith('/')); + if (invalidPaths.length > 0) { + this.$message.error(`路径必须以 / 开头: ${invalidPaths.join(', ')}`); + return + } + } + } else { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + } + + if (this.editParams.buttonContent && this.editParams.buttonPath) { + if (buttonContentArray.length !== pathArray.length) { + this.$message.warning(this.$t("backendSystem.pathNumberNotMatch")) + return + } + } + + } else { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + } + + + this.editBroadcast(this.editParams); + }, + handleEdit(row) { + + this.getBroadcast({ id: row.id }); + }, + handleEditClose() { + this.editDialogVisible = false; + this.editParams.content = "" + this.editParams.buttonContent = "" + this.editParams.buttonPath = "" + this.setLoading('editLoading', false); + }, + handelDelete(row) { + this.deleteBroadcast({ id: row.id }); + }, + getUtf8Bytes(str) { + let bytes = 0; + for (let i = 0; i < str.length; i++) { + const code = str.charCodeAt(i); + if (code <= 0x7f) bytes += 1; + else if (code <= 0x7ff) bytes += 2; + else if (code <= 0xffff) bytes += 3; + else bytes += 4; + } + return bytes; + }, + + handleInput(val, type = 'add') { + let bytes = this.getUtf8Bytes(val); + if (bytes > 100) { + this.isOverLimit = true; + // 截断到100字节 + let newVal = ''; + let total = 0; + for (let ch of val) { + let chBytes = this.getUtf8Bytes(ch); + if (total + chBytes > 100) break; + newVal += ch; + total += chBytes; + } + if (type === 'add') { + this.addParams.content = newVal; + } else { + this.editParams.content = newVal; + } + bytes = total; + } else { + this.isOverLimit = false; + if (type === 'add') { + this.addParams.content = val; + } else { + this.editParams.content = val; + } + } + this.byteCount = bytes; + }, + + handelTime(time) { + return `${time.split("T")[0]} ${time.split("T")[1]}` + }, + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + this.listParams.pageSize = val + this.listParams.pageNum = 1 + this.currentPage = 1 + this.fetchList(this.listParams); + + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); + this.listParams.pageNum = val + this.fetchList(this.listParams); + }, + + /** + * 获取有效路径建议信息 + * @returns {Array} 路径建议列表 + */ + getValidPathSuggestions() { + // 移除路径建议,返回空数组 + return []; + }, + + /** + * 显示路径使用帮助 + */ + showPathHelp() { + const helpMessage = ` + 路径规则: + • 多个路径用逗号分隔 + • 路径格式自由,不做严格验证 + • 支持任意路径格式 + `; + + this.$alert(helpMessage, '路径格式说明', { + confirmButtonText: '知道了', + type: 'info', + customClass: 'path-help-dialog' + }); + }, + + /** + * 格式化按钮内容显示 + * @param {string} buttonContent - 逗号分隔的按钮内容字符串 + * @returns {Array} 按钮内容数组 + */ + formatButtonContent(buttonContent) { + if (!buttonContent || typeof buttonContent !== 'string') { + return []; + } + return buttonContent + .split(/[,,]/) + .map(btn => btn.trim()) + .filter(btn => btn); + }, + + /** + * 格式化按钮路径显示 + * @param {string} buttonPath - 逗号分隔的路径字符串 + * @returns {Array} 路径数组 + */ + formatButtonPath(buttonPath) { + if (!buttonPath || typeof buttonPath !== 'string') { + return []; + } + return buttonPath + .split(/[,,]/) + .map(path => path.trim()) + .filter(path => path); + }, + + + + + + }, + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/broadcast/index.vue b/mining-pool/public/src/views/broadcast/index.vue new file mode 100644 index 0000000..0268802 --- /dev/null +++ b/mining-pool/public/src/views/broadcast/index.vue @@ -0,0 +1,382 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/commonProblem/index.js b/mining-pool/public/src/views/commonProblem/index.js new file mode 100644 index 0000000..6dc25e6 --- /dev/null +++ b/mining-pool/public/src/views/commonProblem/index.js @@ -0,0 +1,157 @@ +import { documentsList,findDataInfo} from '../../api/documentManagement' + +/** + * 本地存储选中的问题ID的键名(常见问题页) + * @type {string} + */ +const SELECTED_PROBLEM_ID_KEY = 'commonProblem:selectedId' +export default { + data() { + return { + problems: [ + // { + // id: 1, + // title: "如何开始挖矿?", + // content: "详细步骤:注册、配置矿机、连接矿池。", + // }, + // { + // id: 2, + // title: "如何查看收益?", + // content: "登录后在个人中心查看收益统计。", + // }, + // { + // id: 3, + // title: "如何联系客服?", + // content: "可通过在线客服或提交工单联系我们。", + // }, + ], + listParams:{ + type:"2",//常见问题 + lang:this.$i18n.locale, + pageNum:1, + pageSize:50 + }, + problemLoading:false, + DetailsParams:{ + id:"", + lang:this.$i18n.locale, + }, + info:"" + }; + }, + mounted() { + this.fetchProblemsList(this.listParams) + + + + + }, + methods: { + async fetchProblemsList(params) { + this.setLoading('problemLoading', true); + const res = await documentsList(params) + if(res && res.code === 200){ + this.problems = res.rows; + + // 优先级:URL 参数 > 本地存储 > 列表首项 + const routeId = this.$route && this.$route.query && this.$route.query.id ? String(this.$route.query.id) : '' + const savedId = this.getSavedSelectedId() + let resolvedId = routeId || savedId || '' + + if (!resolvedId && this.problems && this.problems.length > 0) { + resolvedId = String(this.problems[0].id) + } + + if (resolvedId) { + const existsInList = (this.problems || []).some(item => String(item.id) === String(resolvedId)) + if (!existsInList && this.problems && this.problems.length > 0) { + resolvedId = String(this.problems[0].id) + } + } + + this.DetailsParams.id = resolvedId + this.persistSelectedId(this.DetailsParams.id) + this.updateRouteQueryId(this.DetailsParams.id) + if (this.DetailsParams.id) { + this.fetchProblemDetails(this.DetailsParams) + } + } + this.setLoading('problemLoading', false); + }, + + async fetchProblemDetails(params) { + this.setLoading('problemLoading', true); + const res = await findDataInfo(params) + if(res && res.code === 200){ + console.log(res,"res"); + this.info = res.data.content || "" + } + this.setLoading('problemLoading', false); + }, + + + + + /** + * 跳转到问题详情页 + * @param {number} id 问题ID + */ + handleClick(id) { + this.DetailsParams.id = id; + this.persistSelectedId(this.DetailsParams.id) + this.updateRouteQueryId(this.DetailsParams.id) + this.fetchProblemDetails(this.DetailsParams) + }, + + /** + * 将选中的问题ID持久化到本地存储 + * @param {string|number} id 问题ID + * @returns {void} + */ + persistSelectedId(id) { + try { + window.localStorage.setItem(SELECTED_PROBLEM_ID_KEY, String(id)) + } catch (error) { + console.error('persistSelectedId error', error) + } + }, + + /** + * 读取本地存储中保存的选中问题ID + * @returns {string} + */ + getSavedSelectedId() { + try { + return window.localStorage.getItem(SELECTED_PROBLEM_ID_KEY) || '' + } catch (error) { + console.error('getSavedSelectedId error', error) + return '' + } + }, + + /** + * 使用 replace 同步更新当前路由的查询参数中的 id + * 避免产生新的历史记录条目 + * @param {string|number} id 问题ID + * @returns {void} + */ + updateRouteQueryId(id) { + try { + if (!this.$route) return + const targetId = String(id) + const currentId = this.$route && this.$route.query && this.$route.query.id ? String(this.$route.query.id) : '' + if (currentId === targetId) return + + const nextQuery = { ...(this.$route.query || {}), id: targetId } + if (this.$router && typeof this.$router.replace === 'function') { + const maybePromise = this.$router.replace({ query: nextQuery }) + if (maybePromise && typeof maybePromise.catch === 'function') { + maybePromise.catch(() => {}) + } + } + } catch (error) { + console.error('updateRouteQueryId error', error) + } + }, + }, + }; \ No newline at end of file diff --git a/mining-pool/public/src/views/commonProblem/index.vue b/mining-pool/public/src/views/commonProblem/index.vue new file mode 100644 index 0000000..b183907 --- /dev/null +++ b/mining-pool/public/src/views/commonProblem/index.vue @@ -0,0 +1,153 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/customerService/README.md b/mining-pool/public/src/views/customerService/README.md new file mode 100644 index 0000000..18853fc --- /dev/null +++ b/mining-pool/public/src/views/customerService/README.md @@ -0,0 +1,162 @@ +# 客服系统Socket连接优化说明 + +## 优化概述 + +本次优化采用**简洁的路由控制方案**,实现Socket连接的智能管理: +- **进入页面**:在`mounted`生命周期中自动建立Socket连接 +- **离开页面**:在`beforeRouteLeave`路由守卫中立即断开所有Socket连接 + +## 核心功能 + +### 🎯 简洁实现 +- **页面加载时**:自动建立Socket连接 +- **路由离开时**:立即断开所有Socket连接 +- **组件销毁时**:全面清理资源 + +## 技术实现 + +### 核心生命周期 + +#### `mounted` - 建立连接 +```javascript +async mounted() { + // 获取聊天室列表 + await this.fetchRoomList(); + + // 设置事件监听器 + // ...其他初始化代码 + + // 添加存储变化监听 + window.addEventListener("storage", this.handleStorageChange); +} +``` + +#### `beforeRouteLeave` - 断开连接 +```javascript +beforeRouteLeave(to, from, next) { + console.log("🚪 离开客服页面,断开Socket连接"); + this.disconnectWebSocket(); + next(); +} +``` + +#### `beforeDestroy` - 清理资源 +```javascript +beforeDestroy() { + console.log("🧹 组件销毁,清理资源"); + + // 断开Socket连接 + this.disconnectWebSocket(); + + // 清理定时器 + // 移除事件监听 + // ... +} +``` + +## 使用场景 + +### 1. 页面跳转 🚪 +- 用户从任何页面进入客服页面:自动建立连接 +- 用户从客服页面跳转到其他页面:立即断开连接 + +### 2. 浏览器操作 🔄 +- 刷新页面:重新建立连接 +- 关闭标签页:自动断开连接 + +### 3. 多窗口管理 🪟 +- 每个窗口独立管理自己的连接 +- 不会相互干扰 + +## 性能优势 + +### 1. **简洁高效** ⚡ +- 代码量最少,逻辑最清晰 +- 没有复杂的页面可见性检测 +- 没有多余的活动时间监测 + +### 2. **资源节省** 💾 +- 确保离开页面时立即断开连接 +- 避免僵尸连接占用服务器资源 +- 减少不必要的网络活动 + +### 3. **稳定可靠** 🛡️ +- 路由级别的控制更加可靠 +- 避免了复杂逻辑带来的潜在bug +- 易于维护和调试 + +## 关键代码 + +### Socket连接管理 +```javascript +// 建立连接(在 created 中调用) +this.initWebSocket(); + +// 断开连接(在路由守卫中调用) +this.disconnectWebSocket(); +``` + +### 路由守卫 +```javascript +beforeRouteLeave(to, from, next) { + console.log("🚪 离开客服页面,断开Socket连接"); + this.disconnectWebSocket(); + next(); +} +``` + +## 调试监控 + +### 控制台日志 +``` +🚪 离开客服页面,断开Socket连接 +🧹 组件销毁,清理资源 +🎉 [客服系统] WebSocket 连接成功 +``` + +### 连接状态 +- `isWebSocketConnected`: WebSocket连接状态 +- `connectionStatus`: 应用层连接状态 + +## 优化亮点 + +### 1. **极简设计** ✨ +- 移除了复杂的页面可见性检测 +- 移除了用户活动时间监测 +- 移除了多余的重连逻辑 + +### 2. **路由驱动** 🛣️ +- 利用Vue Router的生命周期 +- 在路由层面控制连接状态 +- 更符合SPA应用的设计理念 + +### 3. **资源清理** 🧹 +- 完善的组件销毁清理逻辑 +- 确保没有内存泄漏 +- 移除所有事件监听器 + +## 对比优势 + +| 特性 | 复杂方案 | 简洁方案 ✅ | +|------|---------|------------| +| 代码量 | 大量额外代码 | 最少必要代码 | +| 可维护性 | 复杂难维护 | 简单易维护 | +| 性能开销 | 需要监听多个事件 | 几乎无开销 | +| 可靠性 | 依赖浏览器API | 依赖路由机制 | +| 调试难度 | 复杂状态管理 | 简单直观 | + +## 注意事项 + +1. **连接时机**:Socket连接在组件`created`时建立 +2. **断开时机**:在路由离开时立即断开 +3. **资源清理**:组件销毁时进行全面清理 +4. **兼容性**:依赖Vue Router,适用于所有现代浏览器 + +## 总结 + +这个简洁的路由控制方案完美实现了用户的需求: +- ✅ **在当前页面才连接Socket** +- ✅ **离开页面就断开所有Socket连接** +- ✅ **不加多余代码,简洁实现** + +通过移除复杂的页面可见性检测和用户活动监测,我们得到了一个更加稳定、高效、易维护的解决方案。 \ No newline at end of file diff --git a/mining-pool/public/src/views/customerService/index.js b/mining-pool/public/src/views/customerService/index.js new file mode 100644 index 0000000..e69de29 diff --git a/mining-pool/public/src/views/customerService/index.vue b/mining-pool/public/src/views/customerService/index.vue new file mode 100644 index 0000000..a9dc0a9 --- /dev/null +++ b/mining-pool/public/src/views/customerService/index.vue @@ -0,0 +1,4309 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/dataDisplay/index.js b/mining-pool/public/src/views/dataDisplay/index.js new file mode 100644 index 0000000..729cd31 --- /dev/null +++ b/mining-pool/public/src/views/dataDisplay/index.js @@ -0,0 +1,109 @@ +export default{ + data(){ + return { + currencyList: [ + { + value: "nexa", + label: "nexa", + img: require("../../assets/img/currency-nexa.png"), + imgUrl: `${this.$baseApi}img/nexa.png`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"NEXA 全名为NEXA Coin。它的主要目标是建立一个安全、高效的去中心化数字资产交易生态系统,提供更好的交易体验和丰富的金融服务‌。", + + }, + { + value: "grs", + label: "grs", + img: require("../../assets/img/currency/grs.svg"), + imgUrl: `${this.$baseApi}img/grs.svg`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"‌GRS全称为Grscoin,也称为Groestlcoin。它于2014年创立,采用Groestl算法,旨在提供更快速、更节能的交易环境‌", + + }, + { + value: "mona", + label: "mona", + img: require("../../assets/img/currency/mona.svg"), + imgUrl: `${this.$baseApi}img/mona.svg`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"‌Mona币(Monacoin)‌,中文名为萌奈币,是2013年12月诞生的日本第一个数字货币。Mona币采用Scrypt算法和Proof of Work机制,旨在成为一种广泛接受的数字货币,主要用于日本的在线交易、游戏和文化产业‌。", + }, + { + value: "dgbs", + // label: "dgb-skein-pool1", + label:"dgb(skein)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台", + }, + { + value: "dgbq", + // label: "dgb(qubit-pool1)", + label:"dgb(qubit)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台", + + }, + { + value: "dgbo", + // label: "dgb-odocrypt-pool1", + label: "dgb(odocrypt)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台", + + }, + { + value: "rxd", + label: "radiant", + img: require("../../assets/img/currency/rxd.png"), + imgUrl: `${this.$baseApi}img/rxd.png`, + poolPower:"565656", + totalPower:"5656", + totalDifficulty:"879789", + algorithm:"545", + height:"898989", + price:"3333 USD", + describe:"Radiant币(RDNT)是Radiant Capital项目的原生代币,主要用于借款利息支付、流动性挖矿释放以及提前提款的罚金‌‌.Radiant Capital是一个建立在Arbitrum上的跨链借贷协议平台,旨在发展成为一个跨链借贷市场,允许用户在多个区块链上进行借贷操作", + + } + + ], + + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/dataDisplay/index.vue b/mining-pool/public/src/views/dataDisplay/index.vue new file mode 100644 index 0000000..9b69808 --- /dev/null +++ b/mining-pool/public/src/views/dataDisplay/index.vue @@ -0,0 +1,215 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/documentManagement/addDocument/index.js b/mining-pool/public/src/views/documentManagement/addDocument/index.js new file mode 100644 index 0000000..c2f28f8 --- /dev/null +++ b/mining-pool/public/src/views/documentManagement/addDocument/index.js @@ -0,0 +1,68 @@ +import { findDataInfo } from "../../../api/documentManagement" +export default{ + data(){ + return{ + typeArray:[], + + } + }, + mounted(){ + // this.fetchDataInfo() + + + // if (this.$route.query.id) { + // this.fetchDataInfo({id:this.$route.query.id}) + // } + + }, + methods:{ + async fetchDataInfo(params){ + const res = await findDataInfo(params) + if (res && res.code === 200) { + this.modifyData = res.data + this.addParams = this.modifyData + // 确保type字段为字符串类型,以便与TypeList中的value匹配 + this.addParams.type = String(this.addParams.type) + this.addParams.childType = String(this.addParams.childType) + this.typeArray = [this.addParams.type] + // 标记已从后台获取数据,避免被本地存储覆盖 + this.hasBackendData = true + // 强制用接口数据刷新编辑器内容 + if (this.editor && this.addParams.content) { + this.editor.txt.html(this.addParams.content) + this.html = this.addParams.content + } + } + }, + /** + * 币种选择变更处理 + * @param {string} scope - 选择的币种 + */ + changeScreen(scope) { + let brand = scope + for (let index in this.currencyList) { + let aa = this.currencyList[index]; + let value = aa.value; + if (brand === value) { + this.$refs.screen.$el.children[0].children[0].setAttribute('style', "background:url(" + aa.imgUrl + ") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;"); + } + } + + // 保存用户选择的币种到localStorage + localStorage.setItem('userManagement_selectedCurrency', scope); + + + + }, + + handleClearScreen(){ + // 清除币种图片样式 + if (this.$refs.screen && this.$refs.screen.$el) { + this.$refs.screen.$el.children[0].children[0].style.background = ''; + this.$refs.screen.$el.children[0].children[0].style.paddingLeft = ''; + } + // 也可以清除 localStorage 里的币种选择 + localStorage.removeItem('userManagement_selectedCurrency'); + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/documentManagement/addDocument/index.vue b/mining-pool/public/src/views/documentManagement/addDocument/index.vue new file mode 100644 index 0000000..ed22a61 --- /dev/null +++ b/mining-pool/public/src/views/documentManagement/addDocument/index.vue @@ -0,0 +1,1180 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/documentManagement/index.js b/mining-pool/public/src/views/documentManagement/index.js new file mode 100644 index 0000000..99c7a51 --- /dev/null +++ b/mining-pool/public/src/views/documentManagement/index.js @@ -0,0 +1,471 @@ +import { getListDataByPage, addDocument, deleteDocument, documentsList, findDataInfo, updateDocument } from '../../api/documentManagement' + +export default { + data() { + return { + tableData: [ + // { + // id: 1, + // createTime: "2025-06-24 10:00:00", + // content: "内isjisjfidjfjfjffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff容", + // createUser: "创建人", + // updateTime: "2025-06-24 10:00:00", + // updateUser: "修改人", + // }, + // { + // id: 2, + // createTime: "2025-06-24 10:00:00", + // content: "内容", + // createUser: "创建人", + // updateTime: "2025-06-24 10:00:00", + // updateUser: "修改人", + // }, + ], + listParams: { + pageNum: 1, + pageSize: 50, + keyword:"", + lang:"", + type:"", + }, + addParams: { + content: "", + buttonContent: "", + buttonPath: "", + }, + editParams: { + content: "", + id: "", + buttonContent: "", + buttonPath: "", + }, + dialogVisible: false, + bthLoading: false, + documentLoading: false, + editDialogVisible: false, + editLoading: false, + byteCount: "", + isOverLimit: false, + total: 0, + pageSizes: [50, 100, 300], + currentPage: 1, + TypeList:[ + {//挖矿教程 + value:"1", + label:"backendSystem.miningTutorial", + articleUrl:"AccessMiningPool" + }, + {//常见问题 + value:"2", + label:"backendSystem.commonProblems", + articleUrl:"commonProblem" + }, + {//公告中心 + value:"3", + label:"backendSystem.announcementCenter", + articleUrl:"announcements" + }, + {//其他 + value:"0", + label:"backendSystem.other", + articleUrl:"", + children:[{ + value:"1", + label:"home.serviceTerms", + articleUrl:"serviceTerms" + },{ + value:"2", + label:"home.rate", + articleUrl:"rate" + },{ + value:"3", + label:"home.APIfile", + articleUrl:"apiFile" + } + ] + + } + ], + queryParams:{ + keyword:"", + type:"", + }, + + } + }, + mounted() { + this.$addStorageEvent(1, "TypeList", JSON.stringify(this.TypeList)); + this.listParams.lang = this.$i18n.locale + let token + try { + token = JSON.parse(localStorage.getItem('token')) + } catch (e) { + console.log(e); + } + if (token) { + this.fetchListData(this.listParams); + } + + }, + methods: { + async fetchListData(params) { + + this.setLoading('documentLoading', true); + const res = await getListDataByPage(params) + if (res.code === 200) { + this.tableData = res.rows + this.total = res.total + } + this.setLoading('documentLoading', false); + }, + + async fetchUpdateDocument(params) { + this.setLoading('editLoading', true); + + // 发送请求前打印参数,用于调试 + console.log('发送编辑广播请求的参数:', params); + + const res = await updateDocument(params) + if (res.code === 200) { + this.$message.success(this.$t("backendSystem.editSuccess")) + this.editDialogVisible = false; + + this.fetchListData(this.listParams); + } + this.setLoading('editLoading', false); + }, + async deleteDocument(params) { + const res = await deleteDocument(params) + if (res.code === 200) { + this.$message.success(this.$t("backendSystem.deleteSuccess")) + this.fetchListData(this.listParams); + } + }, + + handelAddDocument(){ + const lang = this.$i18n.locale + this.$router.push(`/${lang}/addDocument`) + }, + handleClose() { + this.dialogVisible = false; + this.addParams.content = "" + this.addParams.buttonContent = "" + this.addParams.buttonPath = "" + this.setLoading('bthLoading', false); + }, + sureAddBroadcast() { + + this.addParams.content = this.addParams.content.trim() + this.addParams.content = this.addParams.content.replace(/[\r\n]/g, ''); + this.addParams.buttonPath = this.addParams.buttonPath.trim() + this.addParams.buttonPath = this.addParams.buttonPath.replace(/[\r\n]/g, ''); + if (!this.addParams.content) { + this.$message.warning(this.$t("backendSystem.pleaseInputContent")) + return + } + + if ((this.addParams.buttonContent && this.addParams.buttonPath) || (!this.addParams.buttonContent && !this.addParams.buttonPath)) { + + if (this.addParams.buttonPath) { + // 兼容中英文逗号分割 + let pathArray = this.addParams.buttonPath.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (pathArray.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (pathArray.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + + if (this.addParams.buttonContent) { + // 兼容中英文逗号分割 + let pathArray2 = this.addParams.buttonContent.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (pathArray2.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (pathArray2.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + + if (this.addParams.buttonContent && this.addParams.buttonPath) { + if (pathArray.length !== pathArray2.length) { + this.$message.warning(this.$t("backendSystem.pathNumberNotMatch")) + return + } + } + + + } + + // 验证每个路径是否有效 + const invalidPaths = pathArray.filter(path => !isValidPath(path)); + if (invalidPaths.length > 0) { + const suggestions = getPathSuggestions(invalidPaths[0]); + this.$message.error(`${this.$t("backendSystem.invalidPath")}: ${invalidPaths.join(', ')}。${this.$t("backendSystem.invalidPathSuggestions")}: ${suggestions.slice(0, 3).join(', ')}`); + return + } + + // 验证通过,保持字符串格式传给后端(不转换为数组) + // this.addParams.buttonPath 保持原始字符串格式 + } + + + this.addBroadcast(this.addParams); + } else { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + } + + + + + + }, + surefetchUpdateDocument() { + this.editParams.content = this.editParams.content.trim() + this.editParams.content = this.editParams.content.replace(/[\r\n]/g, ''); + let buttonContentArray + let pathArray + if (!this.editParams.content) { + this.$message.warning(this.$t("backendSystem.pleaseInputContent")) + return + } + if (this.editParams.buttonContent) { + this.editParams.buttonContent = this.editParams.buttonContent.trim().replace(/[\r\n]/g, ''); + + // 验证按钮内容和路径是否匹配 + if ((this.editParams.buttonContent && this.editParams.buttonPath) || (!this.editParams.buttonContent && !this.editParams.buttonPath)) { + if (this.editParams.buttonContent) { + // 兼容中英文逗号分割 + buttonContentArray = this.editParams.buttonContent.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (buttonContentArray.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (buttonContentArray.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + } + + // 如果有按钮路径,进行验证 + if (this.editParams.buttonPath) { + this.editParams.buttonPath = this.editParams.buttonPath.trim().replace(/[\r\n]/g, ''); + + // 验证按钮内容和路径是否匹配 + if ((this.editParams.buttonContent && this.editParams.buttonPath) || (!this.editParams.buttonContent && !this.editParams.buttonPath)) { + if (this.editParams.buttonPath) { + // 兼容中英文逗号分割 + pathArray = this.editParams.buttonPath.split(/[,,]/).map(e => e.trim()).filter(e => e); + if (pathArray.length > 5) { + this.$message.warning(this.$t("backendSystem.max5")) + return + } else if (pathArray.length === 0) { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + + // 验证每个路径是否有效 + const invalidPaths = pathArray.filter(path => !isValidPath(path)); + if (invalidPaths.length > 0) { + const suggestions = getPathSuggestions(invalidPaths[0]); + this.$message.error(`${this.$t("backendSystem.invalidPath")}: ${invalidPaths.join(', ')}。${this.$t("backendSystem.invalidPathSuggestions")}: ${suggestions.slice(0, 3).join(', ')}`); + return + } + + } + } else { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + } + + if (this.editParams.buttonContent && this.editParams.buttonPath) { + if (buttonContentArray.length !== pathArray.length) { + this.$message.warning(this.$t("backendSystem.pathNumberNotMatch")) + return + } + } + + } else { + this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath")) + return + } + } + + + this.fetchUpdateDocument(this.editParams); + }, + handleEdit(row) { + this.$router.push({ + path: `/${this.$i18n.locale}/modifyDocument`, + query: { + id: row.id + } + }) + }, + handleEditClose() { + this.editDialogVisible = false; + this.editParams.content = "" + this.editParams.buttonContent = "" + this.editParams.buttonPath = "" + this.setLoading('editLoading', false); + }, + handelDelete(row) { + this.deleteDocument({ id: row.id }); + }, + getUtf8Bytes(str) { + let bytes = 0; + for (let i = 0; i < str.length; i++) { + const code = str.charCodeAt(i); + if (code <= 0x7f) bytes += 1; + else if (code <= 0x7ff) bytes += 2; + else if (code <= 0xffff) bytes += 3; + else bytes += 4; + } + return bytes; + }, + + handleInput(val, type = 'add') { + let bytes = this.getUtf8Bytes(val); + if (bytes > 100) { + this.isOverLimit = true; + // 截断到100字节 + let newVal = ''; + let total = 0; + for (let ch of val) { + let chBytes = this.getUtf8Bytes(ch); + if (total + chBytes > 100) break; + newVal += ch; + total += chBytes; + } + if (type === 'add') { + this.addParams.content = newVal; + } else { + this.editParams.content = newVal; + } + bytes = total; + } else { + this.isOverLimit = false; + if (type === 'add') { + this.addParams.content = val; + } else { + this.editParams.content = val; + } + } + this.byteCount = bytes; + }, + + handelTime(time) { + return `${time.split("T")[0]} ${time.split("T")[1]}` + }, + handleSizeChange(val) { + + this.listParams.pageSize = val + this.listParams.pageNum = 1 + this.currentPage = 1 + this.fetchListData(this.listParams); + + }, + handleCurrentChange(val) { + + this.listParams.pageNum = val + this.fetchListData(this.listParams); + }, + + /** + * 获取有效路径建议信息 + * @returns {Array} 路径建议列表 + */ + getValidPathSuggestions() { + return getPathSuggestions('').slice(0, 8); // 返回前8个常用路径 + }, + + /** + * 显示路径使用帮助 + */ + showPathHelp() { + const suggestions = this.getValidPathSuggestions(); + const helpMessage = ` + 常用路径示例: + ${suggestions.slice(0, 10).join('\n')} + + 路径规则: + • 多个路径用逗号分隔 + • 路径必须以 / 开头 + • 支持动态路由参数 + • 不要包含域名,只写路径部分 + `; + + this.$alert(helpMessage, '路径格式说明', { + confirmButtonText: '知道了', + type: 'info', + customClass: 'path-help-dialog' + }); + }, + + /** + * 格式化按钮内容显示 + * @param {string} buttonContent - 逗号分隔的按钮内容字符串 + * @returns {Array} 按钮内容数组 + */ + formatButtonContent(buttonContent) { + if (!buttonContent || typeof buttonContent !== 'string') { + return []; + } + return buttonContent + .split(',') + .map(btn => btn.trim()) + .filter(btn => btn); + }, + + /** + * 格式化按钮路径显示 + * @param {string} buttonPath - 逗号分隔的路径字符串 + * @returns {Array} 路径数组 + */ + formatButtonPath(buttonPath) { + if (!buttonPath || typeof buttonPath !== 'string') { + return []; + } + return buttonPath + .split(',') + .map(path => path.trim()) + .filter(path => path); + }, + + handelType(type){ + try { + let label = this.TypeList.find(item => item.value == type).label + return this.$t(label) + } catch (error) { + return '' + } + }, + changeScreen(type){ + this.listParams.type = type + this.fetchListData(this.listParams); + }, + handelQuery(){ + this.listParams.keyword = this.queryParams.keyword + if (!this.listParams.keyword) { + this.$message.warning(this.$t("backendSystem.pleaseInputKeyword")) + return + } + this.fetchListData(this.listParams); + }, + handleInputClear(){ + this.listParams.keyword = this.queryParams.keyword + this.fetchListData(this.listParams); + }, + + + + + + + }, + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/documentManagement/index.vue b/mining-pool/public/src/views/documentManagement/index.vue new file mode 100644 index 0000000..762a4a2 --- /dev/null +++ b/mining-pool/public/src/views/documentManagement/index.vue @@ -0,0 +1,200 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/documentManagement/modifyDocument/index.js b/mining-pool/public/src/views/documentManagement/modifyDocument/index.js new file mode 100644 index 0000000..52f847d --- /dev/null +++ b/mining-pool/public/src/views/documentManagement/modifyDocument/index.js @@ -0,0 +1,73 @@ +import { findDataInfo } from "../../../api/documentManagement" +export default{ + data(){ + return{ + typeArray:[], + currencyList: [], + screenCurrency: "", + + } + }, + mounted(){ + // this.fetchDataInfo() + this.currencyList = JSON.parse(localStorage.getItem("currencyList")); + window.addEventListener("setItem", () => { + this.currencyList = JSON.parse(localStorage.getItem("currencyList")); + }); + + if (this.$route.query.id) { + this.fetchDataInfo({id:this.$route.query.id}) + } + + }, + methods:{ + async fetchDataInfo(params){ + const res = await findDataInfo(params) + if (res && res.code === 200) { + this.modifyData = res.data + this.addParams = this.modifyData + // 确保type字段为字符串类型,以便与TypeList中的value匹配 + this.addParams.type = String(this.addParams.type) + this.addParams.childType = String(this.addParams.childType) + + if (this.modifyData.childType && this.modifyData.childType !== `0`) { + this.typeArray = [this.addParams.type,this.modifyData.childType] + + + }else{ + this.typeArray = [this.modifyData.type] + + + } + // 标记已从后台获取数据,避免被本地存储覆盖 + this.hasBackendData = true + this.screenCurrency = this.addParams.coin + // 强制用接口数据刷新编辑器内容 + if (this.editor && this.addParams.content) { + this.editor.txt.html(this.addParams.content) + this.html = this.addParams.content + } + } + }, + /** + * 币种选择变更处理 + * @param {string} scope - 选择的币种 + */ + changeScreen(scope) { + let brand = scope + for (let index in this.currencyList) { + let aa = this.currencyList[index]; + let value = aa.value; + if (brand === value) { + this.$refs.screen.$el.children[0].children[0].setAttribute('style', "background:url(" + aa.imgUrl + ") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;"); + } + } + + // 保存用户选择的币种到localStorage + localStorage.setItem('userManagement_selectedCurrency', scope); + + + + }, + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/documentManagement/modifyDocument/index.vue b/mining-pool/public/src/views/documentManagement/modifyDocument/index.vue new file mode 100644 index 0000000..eead055 --- /dev/null +++ b/mining-pool/public/src/views/documentManagement/modifyDocument/index.vue @@ -0,0 +1,1121 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/editorDocument.vue b/mining-pool/public/src/views/editorDocument.vue new file mode 100644 index 0000000..3b3a112 --- /dev/null +++ b/mining-pool/public/src/views/editorDocument.vue @@ -0,0 +1,760 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/helpCenter/index.js b/mining-pool/public/src/views/helpCenter/index.js new file mode 100644 index 0000000..5522fc9 --- /dev/null +++ b/mining-pool/public/src/views/helpCenter/index.js @@ -0,0 +1,185 @@ +import { documentsList } from '../../api/documentManagement' + +export default{ + name: 'HelpCenter', + data() { + return { + /** 搜索查询字符串 */ + searchQuery: '', + /** 选中的语言 */ + selectedLanguage: 'zh', + /** 分类按钮数据 */ + categories: [ + { id: 1, name: 'home.APIfile', route: 'apiFile' },//API文档 + { id: 2, name: 'home.miningTutorial', route: 'AccessMiningPool/nexaAccess' },//挖矿教程 + { id: 3, name: 'home.serviceTerms', route: 'ServiceTerms' },//服务条款 + { id: 4, name: 'home.rate', route: 'rate' },//费率 + { id: 5, name: 'home.announcements', route: 'announcements' },//公告中心 + { id: 6, name: 'home.commonProblem', route: 'commonProblem' },//常见问题 + + ], + /** 推荐内容数据 */ + recommendedItems: [ + { id: 1, description: 'home.allocationExplanation' ,route:"allocationExplanation"},//矿池分配及转账规则 + // { id: 2, description: '余额不足如何任何偿还,该如何规划运营?' }, + // { id: 3, description: '矿池选择它已经拥有综合的优势时间,怎么办?' } + ], + /** 活动数据 */ + activities: [ + // { + // id: 1, + // type: '最新公告', + // title: 'LKY将停减税', + // author: '文章ID1星期 主发布', + // comments: '0' + // }, + // { + // id: 2, + // type: '最新公告', + // title: 'PFP将停减税', + // author: '文章ID1星期 11发布', + // comments: '0' + // }, + // { + // id: 3, + // type: '最新公告', + // title: 'ETC+ZIL停研发综合日获得', + // author: '文章ID1星期 15发布', + // comments: '0' + // }, + // { + // id: 4, + // type: '最新公告', + // title: '预计2023年06月19日SCC收益分配说明', + // author: '文章ID1星期 18发布', + // comments: '0' + // }, + // { + // id: 5, + // type: '其他', + // title: '关于临时(信为网站、备案管理、矿池编码)', + // author: '文章ID1星期 19发布', + // comments: '0' + // } + ], + activeParams:{ + type:"3",//公告中心 + lang:this.$i18n.locale, + pageNum:1, + pageSize:10 + }, + TypeList:[ + {//挖矿教程 + value:"1", + label:"backendSystem.miningTutorial", + articleUrl:"AccessMiningPool" + }, + {//常见问题 + value:"2", + label:"backendSystem.commonProblems", + articleUrl:"commonProblem" + }, + {//公告中心 + value:"3", + label:"backendSystem.announcementCenter", + articleUrl:"announcements" + }, + {//其他 + value:"0", + label:"backendSystem.other", + articleUrl:"", + children:[{ + value:"1", + label:"home.serviceTerms", + articleUrl:"serviceTerms" + },{ + value:"2", + label:"home.rate", + articleUrl:"rate" + },{ + value:"3", + label:"home.APIfile", + articleUrl:"apiFile" + } + ] + + } + ], + } + }, + mounted(){ + this.$addStorageEvent(1, "TypeList", JSON.stringify(this.TypeList)); + + this.fetchActivityList(this.activeParams) + }, + methods: { + async fetchActivityList(params){ + const res = await documentsList(params) + console.log(res,"res"); + + if (res.code === 200) { + this.activities = res.rows + } + }, + /** + * 处理搜索功能 + */ + handleSearch() { + if (this.searchQuery.trim()) { + let url = `/${this.$i18n.locale}/searchResult` + this.$router.push({ + path:url, + query:{ + keyword:this.searchQuery + } + }) + } + }, + + /** + * 处理分类按钮点击 + * @param {Object} category - 分类对象 + */ + handleCategoryClick(category) { + console.log(category,"i肯定看到"); + + const lang = this.$i18n.locale; + this.$router.push(`/${lang}/${category.route}`); + }, + + /** + * 处理查看更多按钮点击 跳转公告中心页面 + */ + handleViewMore() { + this.$router.push(`/${this.$i18n.locale}/announcements`); + }, + handelType(type){ + try { + let label = this.TypeList.find(item => item.value == type).label + return this.$t(label) + } catch (error) { + return '' + } + }, + handelTime(time){ + + try { + return `${time.split("T")[0]} ${time.split("T")[1]}` + } catch (error) { + return '' + } + + }, + handleActivityClick(activity){ + + let url = `/${this.$i18n.locale}/announcementDetails` + // 跳转到公告详情页 + this.$router.push({ + path:url, + query:{ + id:activity.id + } + }); + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/helpCenter/index.vue b/mining-pool/public/src/views/helpCenter/index.vue new file mode 100644 index 0000000..e2088aa --- /dev/null +++ b/mining-pool/public/src/views/helpCenter/index.vue @@ -0,0 +1,388 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/home/index.js b/mining-pool/public/src/views/home/index.js new file mode 100644 index 0000000..0507f70 --- /dev/null +++ b/mining-pool/public/src/views/home/index.js @@ -0,0 +1,1889 @@ +import { watch } from "vue"; +import { getCoinInfo, getPoolPower, getMinerCount, getLuck, getBlockInfo, getNetPower, getParam } from "../../api/home" +import { listBroadcast,getBroadcast} from "../../api/broadcast" +import { line } from "../../utils/echarts"; +import * as echarts from "echarts"; +import { Debounce, throttle } from "../../utils/publicMethods"; + +export default { + + data() { + return { + activeName: "second", + + option: { + tooltip: { + trigger: "axis", + //解决tooltip显示不全问题1 + confine: true, + + formatter: function (params) { + var res + res = params[0].axisValueLabel; + + + for (let i = 0; i <= params.length - 1; i++) { + + if (params[i].seriesName == "Currency Price" || params[i].seriesName == "币价") { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value} USD` + } else { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}` + } + + } + + + + return res; + }, + + }, + legend: { + right: "30", + + }, + // grid: {//解决Y轴显示不全 + // left: "10%",//10% + // containLabel: true + // }, + grid: { + left: "10%", + right: "15%", + top: "20%", + bottom: "12%", + }, + + + xAxis: { + // type: "time", + boundaryGap: false, + + // axisTick: { + // //去除刻度 + // show: false, + // }, + // axisLine: { + // //去除轴线 + // show: false, + // }, + data: [] + }, + yAxis: [ + { + // position: "left", + type: "value", + name: "GH/s", + nameTextStyle: { + + padding: [0, 0, 0, -40], + }, + // min: `dataMin`, + // max: `dataMax`, + axisLabel: { + formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + return value + } + } + }, + { + + position: "right", + // type: "log", + // splitNumber: "5", + show: true, + // min: 0, + // max: this.maxValue, + splitLine: {//不显示右侧Y轴横线 + show: false + }, + name: "USD", + nameTextStyle: { + + padding: [0, 0, 0, 40], + } + }, + + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + zlevel: 1, z: 1, + data: [], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [], + yAxisIndex: 1, + zlevel: 2, z: 2, + }, + + + + ], + }, + minerOption: { + legend: { + right: "50", + formatter: function (name) { + return name; + }, + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + confine: true, + formatter: function (params) { + var res = params[0].axisValueLabel; + + for (let i = 0; i <= params.length - 1; i++) { + + if (params[i].seriesName == "Currency Price" || params[i].seriesName == "币价") { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value} USD` + } else { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}` + } + + } + + return res; + }, + // axisPointer: { + // animation: false, + // snap: true, + // label: { + // precision: 2, //坐标轴保留的位数 + // }, + // type: "cross", //cross shadow + // crossStyle: { + // //十字轴横线 + // // opacity: "0", + // width: 0.5, + // }, + // lineStyle: { + // // opacity: 0, + // }, + // }, + }, + grid: { + left: "10%", + right: "15%", + top: "20%", + bottom: "12%", + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: [] + }, + yAxis: [ + { + position: "left", + type: "value", + // min: `dataMin`, + // max: `dataMax`, + name: "GH/s", + nameTextStyle: { + padding: [0, 0, 0, -40], + }, + axisLabel: { + formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + return value + } + } + }, + { + position: "right", + // type: "log", + // splitNumber: "5", + show: true, + // min: 0, + // max: this.maxValue, + splitLine: {//不显示右侧Y轴横线 + show: false + }, + name: "USD", + nameTextStyle: { + + padding: [0, 0, 0, 40], + } + }, + + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "全网算力", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start', + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + + data: [], + }, + { + name: "币价", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + // rgb(253,64,128) + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [], + yAxisIndex: 1, + zlevel: 2, z: 2, + }, + + + + + + ], + }, + CountOption: { ...line }, + powerDialogVisible: false, + minerDialogVisible: false, + currentPage: 1, + currency: "nexa", + currencyPath: `${this.$baseApi}img/nexa.png`, + currencyList: [ + { + path: "nexaAccess", + value: "nexa", + label: "nexa", + img: require("../../assets/img/currency-nexa.png"), + imgUrl: `${this.$baseApi}img/nexa.png`, + name: "course.NEXAcourse", + show: true, + amount: 10000, + + }, + { + path: "grsAccess", + value: "grs", + label: "grs", + img: require("../../assets/img/currency/grs.svg"), + imgUrl: `${this.$baseApi}img/grs.svg`, + name: "course.GRScourse", + show: true, + amount: 1, + + }, + { + path: "monaAccess", + value: "mona", + label: "mona", + img: require("../../assets/img/currency/mona.svg"), + imgUrl: `${this.$baseApi}img/mona.svg`, + name: "course.MONAcourse", + show: true, + amount: 1, + + }, + { + path: "dgbsAccess", + value: "dgbs", + // label: "dgb-skein-pool1", + label: "dgb(skein)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + name: "course.dgbsCourse", + show: true, + amount: 1, + }, + { + path: "dgbqAccess", + value: "dgbq", + // label: "dgb(qubit-pool1)", + label: "dgb(qubit)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + name: "course.dgbqCourse", + show: true, + amount: 1, + }, + { + path: "dgboAccess", + value: "dgbo", + // label: "dgb-odocrypt-pool1", + label: "dgb(odocrypt)", + img: require("../../assets/img/currency/DGB.svg"), + imgUrl: `${this.$baseApi}img/dgb.svg`, + name: "course.dgboCourse", + show: true, + amount: 1, + }, + { + path: "rxdAccess", + value: "rxd", + label: "radiant(rxd)", + img: require("../../assets/img/currency/rxd.png"), + imgUrl: `${this.$baseApi}img/rxd.png`, + name: "course.RXDcourse", + show: true, + amount: 100, + + }, + // { + // path: "enxAccess", + // value: "enx", + // label: "Entropyx(enx)", + // img: require("../../assets/img/currency/enx.svg"), + // imgUrl: `${this.$baseApi}img/enx.svg`, + // name: "course.ENXcourse", + // show: true, + // amount: 5000, + + // }, + { + path: "alphminingPool", + value: "alph", + label: "alephium", + img: require("../../assets/img/currency/alph.svg"), + imgUrl: `${this.$baseApi}img/alph.svg`, + name: "course.alphCourse", + show: true, + amount: 1, + + }, + { + path: "xmr", + value: "monero", + label: "xmr", + img: require("../../assets/img/currency/xmr.png"), + imgUrl: `${this.$baseApi}img/xmr.png`, + name: "course.xmrCourse", + show: true, + amount: 0.1, + + }, + { + path: "xtm", + value: "xtm", + label: "xtm", + img: require("../../assets/img/currency/xtm.jpg"), + imgUrl: `${this.$baseApi}img/xtm.jpg`, + name: "course.xmrCourse", + show: true, + amount: 10000, + + }, + + // { //告知已删除此币种 Radiant + // value: "dgb2_odo", + // label: "dgb-odocrypt-pool2", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_qubit_a10", + // label: "dgb-qubit-pool2", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_skein_a10", + // label: "dgb-skein-pool2", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_odo_b20", + // label: "dgb-odoscrypt-pool3", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + + ], + params: { + coin: "nexa", + interval: "rt", + }, + PowerParams: { + coin: "nexa", + interval: "rt", + }, + BlockInfoParams: { + coin: "nexa", + limit: 10, + page: 1, + }, + CoinData: { + algorithm: "", + height: "", + totalDifficulty: "", + totalPower: "", + price: "", + poolPower: "", + poolMc: "", + }, + luckData: { + luck3d: "96.26 %", + luck7d: "96.26 %", + luck30d: "96.26 %", + luck90d: "96.26 %", + }, + BlockInfoData: [ + // { + // height: "847545", + // date: "2024-06-12 09:11:57", + // hash: "00000…9392577", + // reward: "3.12500000", + // fees: "0.40962024", + // }, + // { + // height: "847545", + // date: "2024-06-12 09:11:57", + // hash: "00000…9942577", + // reward: "3.12500000", + // fees: "0.40962024", + // }, { + // height: "847545", + // date: "2024-06-12 09:11:57", + // hash: "00000…9925757", + // reward: "3.12500000", + // fees: "0.40962024", + // }, { + // height: "847545", + // date: "2024-06-12 09:11:57", + // hash: "00000…9925677", + // reward: "3.12500000", + // fees: "0.40962024", + // }, { + // height: "847545", + // date: "2024-06-12 09:11:57", + // hash: "00000…9925877", + // reward: "3.12500000", + // fees: "0.40962024", + // }, { + // height: "847545", + // date: "2024-06-12 09:11:57", + // hash: "00000…9928577", + // reward: "3.12500000", + // fees: "0.40962024", + // }, + + + ], + intervalList: [ + // { + // value: "1h", + // label: "home.hour", + // }, + { + value: "rt", + label: "home.realTime", + }, + { + value: "1d", + label: "home.day", + }, + ], + offset: 0, + itemWidth: 30, // 每个小容器(包含图片)的宽度 + listWidth: 1000, // 整个图片列表的宽度(10 个小容器的宽度总和) + itemActive: "nexa", + timeActive: "rt", + powerActive: true, + minerChartLoading: false, + newBlockInfoData: [ + // { + // height:"556", + // date:"", + // hash:"SDJFIOSJISJIODJIFJ", + // reward:"545", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + // { + // height:"5556", + // date:"", + // hash:"SDJFIOSJISJ66IODJIFJ", + // reward:"5465", + // fees:"56", + // }, + + ], + reportBlockLoading: false, + BlockShow: true, + showCalculator: false, + value: "nexa", + input3: "", + select: "GH/s", + selectTime: [ + { + value: "day", + label: "home.everyDay", + }, + { + value: "week", + label: "home.weekly", + }, + { + value: "month", + label: "home.monthly", + }, + { + value: "year", + label: "home.annually", + }, + ], + time: "day", + input: "", + inputPower: 1, + profit: "", + factor: "", + CalculatorData: { + hpb: "10", + reward: "20", + price: "30", + costTime: "600", + poolFee: "0.15", + }, + transactionFeeList: [//没有交易费 + + { + label: "grs", + coin: "grs", + feeShow: false, + }, + { + label: "mona", + coin: "mona", + feeShow: false, + }, + { + label: "radiant", + coin: "rxd", + feeShow: false, + }, + // { + + // label:"dgb(skein)", + // coin: "dgbs", + // feeShow: false, + // }, + // { + + // coin: "dgbq", + // label:"dgb(qubit)", + // feeShow: false, + // }, + // { + + // coin: "dgbo", + // label: "dgb(odocrypt)", + // feeShow: false, + // }, + + + ], + FeeShow: true, + lang: 'en', + activeItemCoin: { + value: "nexa", + label: "nexa", + img: require("../../assets/img/currency-nexa.png"), + imgUrl: `${this.$baseApi}img/nexa.png`, + + }, + isInternalChange: false, + broadcastList: [ + { id: `b1`, content: this.$t(`home.describe`),buttonContent:[this.$t(`home.view`)],buttonPath:["/allocationExplanation"] }, + // { id: `b2`, content: `广播内容2测试` }, + // { id: `b3`, content: `广播内容3测试` }, + // { id: `b4`, content: `广播内容4测试` }, + + ], + currentBroadcastIndex: 0, + scrollTimer: null, + delayScrollTimer: null, // 移动端延迟滚动定时器 + isTransition: true, + }; + }, + computed: { + // 末尾加一条"克隆的第一条"用于无缝滚动 + broadcastListForLoop() { + if (this.broadcastList.length === 0) return []; + if (this.broadcastList.length === 1) return this.broadcastList; + return [...this.broadcastList, this.broadcastList[0]]; + }, + scrollStyle() { + return { + transform: `translateY(-${this.currentBroadcastIndex * 30}px)`, + transition: this.isTransition ? 'transform 0.5s cubic-bezier(.4,0,.2,1)' : 'none', + }; + }, + // 移动端专用滚动样式 + mobileScrollStyle() { + return { + transform: `translateY(-${this.currentBroadcastIndex * 40}px)`, // 移动端使用更大的行高 + transition: this.isTransition ? 'transform 0.5s cubic-bezier(.4,0,.2,1)' : 'none', + }; + }, + }, + watch: { + "$i18n.locale": (val) => { + location.reload();//刷新页面 刷新echarts + + }, + activeItemCoin: { + handler(newVal) { + // 防止无限循环 + if (this.isInternalChange) { + return; + } + this.handleActiveItemChange(newVal); + }, + deep: true + } + }, + mounted() { + this.lang = this.$i18n.locale; // 初始化语言值 + this.$addStorageEvent(1, `activeItemCoin`, JSON.stringify(this.currencyList[0])) + this.minerChartLoading = true + if (this.$isMobile) { + this.option.yAxis[1].show = false + this.option.grid.left = "16%" + this.option.grid.right = "5%" + this.option.grid.top = "10%" + this.option.grid.bottom = "45%" + + this.option.legend.bottom = 5 + this.option.legend.right = "30%" + this.option.xAxis.axisLabel = { + interval: 8, + rotate: 70 + } + + this.minerOption.yAxis[1].show = false + this.minerOption.grid.left = "16%" + this.minerOption.grid.right = "5%" + this.minerOption.grid.top = "10%" + this.minerOption.grid.bottom = "45%" + + this.minerOption.legend.bottom = 5 + this.minerOption.legend.right = "30%" + this.minerOption.xAxis.axisLabel = { + interval: 8, + rotate: 70 + } + + + }else{ //动态计算图表的grid.left 让左侧的Y轴标签显示完全 + + + const yAxis = this.option.yAxis[0]; // 第一个 Y 轴 + const maxValue = Math.max(...this.option.series[0].data); // 获取数据最大值 + const formatter = yAxis.axisLabel.formatter; + const formattedValue = formatter(maxValue); // 格式化最大值 + + + // 创建一个临时 DOM 元素计算宽度 + const tempDiv = document.createElement('div'); + tempDiv.style.position = 'absolute'; + tempDiv.style.visibility = 'hidden'; + tempDiv.style.fontSize = '12px'; // 与 axisLabel.fontSize 一致 + tempDiv.innerText = formattedValue; + document.body.appendChild(tempDiv); + const labelWidth = tempDiv.offsetWidth; + document.body.removeChild(tempDiv); + + // 动态设置 grid.left,加上安全边距 + const safeMargin = 20; + this.option.grid.left = labelWidth + safeMargin + 'px'; + + + // ------------全网算力图--------------- + // + + const yAxis2 = this.minerOption.yAxis[0]; // 第一个 Y 轴 + const maxValue2 = Math.max(...this.minerOption.series[0].data); // 获取数据最大值 + const formatter2 = yAxis2.axisLabel.formatter; + const formattedValue2 = formatter2(maxValue2); // 格式化最大值 + + + // 创建一个临时 DOM 元素计算宽度 + const tempDiv2 = document.createElement('div'); + tempDiv2.style.position = 'absolute'; + tempDiv2.style.visibility = 'hidden'; + tempDiv2.style.fontSize = '12px'; // 与 axisLabel.fontSize 一致 + tempDiv2.innerText = formattedValue2; + document.body.appendChild(tempDiv2); + const labelWidth2 = tempDiv2.offsetWidth; + document.body.removeChild(tempDiv2); + // 动态设置 grid.left,加上安全边距 + const safeMargin2 = 20; + this.minerOption.grid.left = labelWidth2 + safeMargin2 + 'px'; + + + } + + + + + this.getBlockInfoData(this.BlockInfoParams) + this.getCoinInfoData(this.params) + this.getPoolPowerData(this.PowerParams) + + // 注册需要在网络恢复后自动重新调用的方法 + this.registerRecoveryMethod('getCoinInfoData', this.params); + this.registerRecoveryMethod('getPoolPowerData', this.PowerParams); + this.registerRecoveryMethod('getBlockInfoData', this.BlockInfoParams); + + this.$addStorageEvent(1, `currencyList`, JSON.stringify(this.currencyList)) + if (this.$refs.select) { + this.$refs.select.$el.children[0].children[0].setAttribute('style', `background:url(${this.$baseApi}/img/nexa.png) no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 30PX;`); + + } + this.fetchParam({ coin: this.params.coin }) + + this.minerChartLoading = false + + // let activeItemCoin =localStorage.getItem(`activeItemCoin`) + // this.activeItemCoin=JSON.parse(activeItemCoin) + window.addEventListener("setItem", () => { + let value = localStorage.getItem(`activeItemCoin`) + this.activeItemCoin = JSON.parse(value) + + }); + // this.getBroadcastList({pageNum:1,pageSize:100}) + + this.getBroadcastList({lang:this.$i18n.locale}) + this.startScroll(); + + this.$nextTick(() => { + + this.startScroll(); + }); + window.addEventListener('resize', this.setItemHeight); + + }, + + + methods: { + /** + * 处理广播项点击事件 + */ + handleCustomClick(item) { + console.log('广播项被点击:', item); + this.$message.info(`广播: ${item.content}`); + }, + + /** + * 处理广播错误 + */ + handleBroadcastError(error) { + console.error('广播组件错误:', error); + }, + //获取广播列表 + async getBroadcastList(params){ + // const data = await listBroadcast(params) + const data = await getBroadcast(params) + + if (data && data.code == 200) { + + let broadcastList = data.data + + // 处理接口返回的数据,将字符串格式的buttonContent和buttonPath转换为数组 + broadcastList = broadcastList.map(item => { + // 处理 buttonContent + if (item.buttonContent) { + if (typeof item.buttonContent === 'string') { + // 将逗号分隔的字符串转换为数组,兼容中英文逗号 + item.buttonContent = item.buttonContent.split(/[,,]/).map(btn => btn.trim()).filter(btn => btn); + } else if (!Array.isArray(item.buttonContent)) { + // 如果不是字符串也不是数组,转为空数组 + item.buttonContent = []; + } + } else { + // 如果 buttonContent 不存在,设为空数组 + item.buttonContent = []; + } + + // 处理 buttonPath + if (item.buttonPath) { + if (typeof item.buttonPath === 'string') { + // 将逗号分隔的字符串转换为数组,兼容中英文逗号 + item.buttonPath = item.buttonPath.split(/[,,]/).map(path => path.trim()).filter(path => path); + } else if (!Array.isArray(item.buttonPath)) { + // 如果不是字符串也不是数组,转为空数组 + item.buttonPath = []; + } + } else { + // 如果 buttonPath 不存在,设为空数组 + item.buttonPath = []; + } + + // 确保 buttonContent 和 buttonPath 长度一致 + if (item.buttonContent.length !== item.buttonPath.length) { + const minLength = Math.min(item.buttonContent.length, item.buttonPath.length); + item.buttonContent = item.buttonContent.slice(0, minLength); + item.buttonPath = item.buttonPath.slice(0, minLength); + } + + return item; + }); + + this.broadcastList =[...this.broadcastList,...broadcastList] + + console.log(this.broadcastList,'this.broadcastList'); + + this.currentBroadcastIndex = 0; // 新数据时重置索引 + if(this.broadcastList.length > 1){ + this.$nextTick(() => { + this.startScroll(); + }); + } + + } + + }, + + handelOptionYAxis(option){ + const yAxis = option.yAxis[0]; // 第一个 Y 轴 + const maxValue = Math.max(...option.series[0].data); // 获取数据最大值 + const formatter = yAxis.axisLabel.formatter; + const formattedValue = formatter(maxValue); // 格式化最大值 + + + // 创建一个临时 DOM 元素计算宽度 + const tempDiv = document.createElement('div'); + tempDiv.style.position = 'absolute'; + tempDiv.style.visibility = 'hidden'; + tempDiv.style.fontSize = '12px'; // 与 axisLabel.fontSize 一致 + tempDiv.innerText = formattedValue; + document.body.appendChild(tempDiv); + const labelWidth = tempDiv.offsetWidth; + document.body.removeChild(tempDiv); + + // 动态设置 grid.left,加上安全边距 + const safeMargin = 20; + option.grid.left = labelWidth + safeMargin + 'px'; + + return option + }, + slideLeft() { + const allLength = this.currencyList.length * 120 + const boxLength = document.getElementById('list-box').clientWidth + if (allLength < boxLength) return + const listEl = document.getElementById('list') + const leftMove = Math.abs(parseInt(window.getComputedStyle(listEl, null)?.left)) + if (leftMove + boxLength - 360 < boxLength) { + // 到最开始的时候 + listEl.style.left = '0PX' + } else { + listEl.style.left = '-' + (leftMove - 360) + 'PX' + } + }, + + + //初始化图表 + inCharts() { + if (this.myChart == null) { + this.myChart = echarts.init(document.getElementById("chart")); + } + // this.maxValue = Math.round(this.maxValue * 3) + // if (this.maxValue > 0) { + // this.option.yAxis[1].max = this.maxValue + // } + + // this.option.legend.show = false + + + this.option.series[0].name = this.$t(`home.computingPower`) + this.option.series[1].name = this.$t(`home.currencyPrice`) + + this.myChart.setOption(this.option); + // 回调函数,在渲染完成后执行 + this.myChart.on('finished', () => { + // 在这里执行显示给用户的操作 + // console.log('图表渲染完成,显示给用户'); + this.minerChartLoading = false + + }); + // window.addEventListener("resize", () => { + // if (this.myChart) this.myChart.resize(); + // }); + + window.addEventListener('resize', throttle(() => { + if (this.myChart) this.myChart.resize(); + }, 200)); + }, + inChartsMiner() { + if (this.MinerChart == null) { + this.MinerChart = echarts.init(document.getElementById("minerChart")); + } + + this.minerOption= this.handelOptionYAxis(this.minerOption) // Y轴文字显示动态调整grid.left + this.minerOption.series[0].name = this.$t(`home.networkPower`) + this.minerOption.series[1].name = this.$t(`home.currencyPrice`) + this.MinerChart.setOption(this.minerOption); + // 回调函数,在渲染完成后执行 + this.MinerChart.on('finished', () => { + // console.log('图表渲染完成,显示给用户'); + this.minerChartLoading = false + }); + + window.addEventListener('resize', throttle(() => { + if (this.MinerChart) this.MinerChart.resize(); + }, 200)); + + }, + countInCharts() { + this.countChart = echarts.init(document.getElementById("minerChart")); + + this.countChart.setOption(this.CountOption); + + // window.addEventListener("resize", () => { + // if (this.myChart) this.myChart.resize(); + // }); + }, + async fetchParam(params) { + try { + const data = await getParam(params) + if (data && data.code == 200) { + this.CalculatorData = data.data + + } else { + for (const key in this.CalculatorData) { + this.CalculatorData[key] = 0 + } + } + + this.calculateIncome(this.CalculatorData) + } catch (error) { + console.log(error, 'error') + } + + }, + //获取币种信息 + // async getCoinInfoData(params) { + // const data = await getCoinInfo(params) + + // if (data && data.code == 200) { + // this.CoinData = data.data + + // // this.CoinData.poolPower =Number(this.CoinData.poolPower) .toFixed(2)//算力保留两位小数 + // // this.CoinData.price =this.CoinData.price.toFixed(8) + // } + // }, + getCoinInfoData: Debounce(async function (params) { + + const data = await getCoinInfo(params) + + if (data && data.code == 200) { + this.CoinData = data.data + + // this.CoinData.poolPower =Number(this.CoinData.poolPower) .toFixed(2)//算力保留两位小数 + // this.CoinData.price =this.CoinData.price.toFixed(8) + } else { + this.CoinData = {} + } + + }, 200), + + + getPoolPowerData: Debounce(async function (params) { + // this.minerChartLoading = true + this.setLoading('minerChartLoading', true); + try { + const data = await getPoolPower(params) + if (!data) { + // this.minerChartLoading = false + this.setLoading('minerChartLoading', false); + if (this.myChart) { + this.myChart.dispose()//销毁图表实列 + } + return + } + let chartData = data.data + let xData = [] + let pvData = [] + let rejectRate = [] + let price = [] + chartData.forEach(item => { + + if (item.date.includes(`T`) && params.interval == `rt`) { + + item.date = `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + } else if (item.date.includes(`T`) && params.interval == `1d`) { + item.date = item.date.split("T")[0] + } + + + xData.push(item.date) + pvData.push(Number(item.pv).toFixed(2)) + // rejectRate.push((item.rejectRate * 100).toFixed(2)) + if (item.price == 0) { + price.push(item.price) + } else if (item.price < 1) { + price.push(Number(item.price).toFixed(8)) + + } else { + price.push(Number(item.price).toFixed(2)) + } + + + + }); + // this.maxValue = Math.max(...rejectRate); + // let leftYMaxData = Math.max(...pvData); + // this.option.yAxis[0].max =leftYMaxData*2 + this.option.xAxis.data = xData + + this.option.yAxis[0].name = chartData[0].unit + this.option.series[0].data = pvData + // this.option.series[1].data = rejectRate + this.option.series[1].data = price + this.$nextTick(() => { + this.inCharts() + }) + + } catch { + console.error('获取数据失败:', error); + } finally { + // 确保无论成功失败都设置loading为false + this.setLoading('minerChartLoading', false); + } + + + + + + + }, 200), + async fetchNetPower(params) { + // this.minerChartLoading = true + this.setLoading('minerChartLoading', true); + const data = await getNetPower(params) + if (!data) { + this.minerChartLoading = false + if (this.MinerChart) { + this.MinerChart.dispose() + } + return + } + let MinerCount = data.data + let xData = [] + let pvData = [] + let price = [] + MinerCount.forEach(item => { + if (item.date.includes(`T`) && params.interval == `rt`) { + + item.date = `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + } else if (item.date.includes(`T`) && params.interval == `1d`) { + item.date = item.date.split("T")[0] + } + xData.push(item.date) + pvData.push(Number(item.pv).toFixed(2)) + if (item.price == 0) { + price.push(item.price) + } else if (item.price < 1) { + price.push(Number(item.price).toFixed(8)) + + } else { + price.push(Number(item.price).toFixed(2)) + } + + + + }); + + + this.minerOption.xAxis.data = xData + if (MinerCount[0] && MinerCount[0].unit) { + this.minerOption.yAxis[0].name = MinerCount[0].unit + } + + this.minerOption.series[0].data = pvData + this.minerOption.series[1].data = price + this.$nextTick(() => { + this.inChartsMiner() + }) + + + + + // this.minerChartLoading = false + this.setLoading('minerChartLoading', false); + + }, + // async getMinerCountData(params) { + // this.minerChartLoading = true + // const data = await getMinerCount(params) + // if (!data) { + // this.minerChartLoading = false + // if (this.MinerChart) { + // this.MinerChart.dispose() + // } + // return + // } + // let MinerCount = data.data + // let xData = [] + // let Count = [] + // MinerCount.forEach((item) => { + // if (item.date.includes(`T`)) { + // // item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + // xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}`) + // } else { + // xData.push(item.date) + // } + + // Count.push(item.value) + // }) + + + // this.minerOption.xAxis.data = xData + // this.minerOption.series[0].data = Count + // this.$nextTick(() => { + // this.inChartsMiner() + // }) + + // this.minerChartLoading = false + + + // }, + + getMinerCountData: Debounce(async function (params) { + // this.minerChartLoading = true + this.setLoading('minerChartLoading', true); + const data = await getMinerCount(params) + if (!data) { + this.minerChartLoading = false + if (this.MinerChart) { + this.MinerChart.dispose() + } + return + } + let MinerCount = data.data + let xData = [] + let Count = [] + MinerCount.forEach((item) => { + if (item.date.includes(`T`)) { + // item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}`) + } else { + xData.push(item.date) + } + + Count.push(item.value) + }) + + + this.minerOption.xAxis.data = xData + this.minerOption.series[0].data = Count + this.$nextTick(() => { + this.inChartsMiner() + }) + this.setLoading('minerChartLoading', false); + // this.minerChartLoading = false + + + + }, 200), + + + + getBlockInfoData: Debounce(async function (params) { + try { + // this.reportBlockLoading = true + this.setLoading('reportBlockLoading', true); + const data = await getBlockInfo(params) + if (data && data.code == 200) { + this.BlockShow = true + this.newBlockInfoData = [] + this.BlockInfoData = data.rows + if (!this.BlockInfoData[0]) { + // this.reportBlockLoading = false + this.setLoading('reportBlockLoading', false); + return + } + + + this.BlockInfoData.forEach((item, index) => { + item.date = `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + if (index < 8) { + this.newBlockInfoData.push(item) + } + }) + + } else { + this.BlockShow = false + } + this.setLoading('reportBlockLoading', false); + // this.reportBlockLoading = false + } catch (error) { + console.error('获取区块信息失败:', error); + this.BlockShow = false; + }finally { + // 确保在任何情况下都会重置 loading 状态 + this.setLoading('reportBlockLoading', false); + } + + + + + + + }, 200), + calculateIncome(data) { + + for (const key in this.CalculatorData) { + if (!this.CalculatorData[key]) { + + this.profit = 0 + // var myDiv = document.getElementById('myDiv'); + // this.disableElement(myDiv); + return + } + } + // 收益计算器实现算法: + + // 每日币收益 = (目标算力 / 全网算力)* 全网每日出块 * 单个块奖励 * (1 - 矿池手续费率) + // 每日美元收益 = 每日币收益 * 币价(美元计) + let target_hashrate + switch (this.select) { + case `GH/s`://GH/S(吉哈希每秒):1 GH/S 就是 1×10^9 哈希每秒。 + target_hashrate = this.inputPower * Math.pow(10, 9) + break; + case `MH/s`://MH/S(兆哈希每秒):1 MH/S 是 1×10^6 哈希每秒 + target_hashrate = this.inputPower * Math.pow(10, 6) + break; + case `TH/s`:// TH/S(太哈希每秒):1 TH/S 是 1×10^12 哈希每秒 + target_hashrate = this.inputPower * Math.pow(10, 12) + break; + default: + break; + } + // 这里从response中解析出全网算力、矿池算力、区块奖励 + const net_hashrate = this.CalculatorData.netHashrate // 全网算力,这里的数据是模拟的,实际数据从response中解析 + const reward = this.CalculatorData.reward// 区块奖励, 同上 + // 计算 + const target_hashrate_ratio = target_hashrate / net_hashrate // 用户算力全网占比 + const per_day_reward = (reward * (1 - this.CalculatorData.poolFee)) * this.CalculatorData.count // 全网每日奖励 + const result = target_hashrate_ratio * per_day_reward + + switch (this.time) { + case "day": + this.profit = result.toFixed(8) + // this.profit = Math.floor(result * 1e10) / 1e10; + // this.profit = this.toFixedNoRound(result, 10); + break; + case "week": + this.profit = (result * 7).toFixed(8) + // this.profit = Math.floor(result * 7 * 1e10) / 1e10; + // this.profit = this.toFixedNoRound(result * 7, 10); + break; + case "month": + this.profit = (result * 30).toFixed(8) + // this.profit = Math.floor(result * 30 * 1e10) / 1e10; + // this.profit = this.toFixedNoRound(result * 30, 10); + break; + case "year": + this.profit = (result * 365).toFixed(8) + // this.profit = Math.floor(result * 365 * 1e10) / 1e10; + // this.profit = this.toFixedNoRound(result * 365, 10); + break; + + default: + break; + } + const nexaFormatter = new Intl.NumberFormat("en-US", { + minimumFractionDigits: 2, // 强制显示 2 位小数(不足补零) + maximumFractionDigits: 2, // 可选:限制最多 2 位小数(避免多余位数) + useGrouping: true, // 不使用千位分隔符(如 1,000) + }); + if (this.value == "nexa") { + this.profit = nexaFormatter.format(this.profit); + } else { + const formatter = new Intl.NumberFormat("en-US", { + minimumFractionDigits: 8, // 强制显示足够多的小数位 + useGrouping: true, // 不使用千位分隔符(如 1,000) + }); + + + this.profit = formatter.format(this.profit); + } + + + // const formatter = new Intl.NumberFormat("en-US", { + // minimumFractionDigits: 8, // 强制显示足够多的小数位 + // useGrouping: false, // 不使用千位分隔符(如 1,000) + // }); + + + // this.profit = formatter.format(this.profit); + + + }, + toFixedNoRound(value, decimals = 10) {//保留10位小数 不四舍五入 + const factor = 10 ** decimals; + return (value < 0 ? Math.ceil(value * factor) : Math.floor(value * factor)) / factor; + }, + ProfitCalculator(target_hashrate, fee) { + // 收益计算器实现算法: + + // 每日币收益 = (目标算力 / 全网算力)* 全网每日出块 * 单个块奖励 * (1 - 矿池手续费率) + // 每日美元收益 = 每日币收益 * 币价(美元计) + + // 这里从response中解析出全网算力、矿池算力、区块奖励 + const net_hashrate = 5646.62 // 全网算力,这里的数据是模拟的,实际数据从response中解析 + const reward = 10000000 // 区块奖励, 同上 + // 计算 + const target_hashrate_ratio = target_hashrate / net_hashrate // 用户算力全网占比 + const per_day_reward = (reward * (1 - fee)) * 720 // 全网每日奖励 + const result = target_hashrate_ratio * per_day_reward + return result + }, + //禁用 + disableElement(element) { + element.setAttribute('data-disabled', true); + element.style.pointerEvents = 'none'; // 阻止鼠标事件 + element.style.opacity = '0.5'; // 设置半透明度 + // 其他CSS样式可以根据需要添加 + }, + handelProfitCalculation() { + + for (const key in this.CalculatorData) { + if (this.CalculatorData[key]!==0 && !this.CalculatorData[key]) { + this.$message({ + message: this.$t(`home.acquisitionFailed`), + type: "error", + }); + this.profit = 0 + // var myDiv = document.getElementById('myDiv'); + // this.disableElement(myDiv); + this.fetchParam({ coin: this.params.coin }) + return + } + } + + + this.showCalculator = true + }, + handelClose() { + this.showCalculator = false + }, + + + changeSelection(scope) { + let brand = scope + for (let index in this.currencyList) { + let aa = this.currencyList[index]; + let value = aa.value; + if (brand === value) { + this.$refs.select.$el.children[0].children[0].setAttribute('style', "background:url(" + aa.imgUrl + ") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 35PX;"); + } + } + this.fetchParam({ coin: this.value }) + + }, + handelJump(url) { + + if (url === '/AccessMiningPool') { + const coin = this.currencyList.find(item => item.value === this.params.coin); + if (!coin) return; + // let jumpName = coin.path.charAt(0).toUpperCase() + coin.path.slice(1) //name跳转 首字母大写 + + let url = `/${this.lang}/AccessMiningPool` + // 使用 name 进行导航,避免重复的路由参数 + this.$router.push({ + name:'AccessMiningPool', + params: { + coin: this.params.coin, + imgUrl: this.currencyPath + + }, + replace: false // 保留历史记录,允许回退 + }); + + } else { + // 移除开头的斜杠,统一处理路径格式 + // const cleanPath = url.startsWith('/') ? url.slice(1) : url; + let cleanPath = `/${this.lang}/AccessMiningPool` + this.$router.push(cleanPath); + } + + }, + handelJumpBroadcast(url){ + + if (url === '/AccessMiningPool') { + const coin = this.currencyList.find(item => item.value === this.params.coin); + if (!coin) return; + // let jumpName = coin.path.charAt(0).toUpperCase() + coin.path.slice(1) //name跳转 首字母大写 + + let url = `/${this.lang}/AccessMiningPool` + // 使用 name 进行导航,避免重复的路由参数 + this.$router.push({ + name:'AccessMiningPool', + params: { + coin: this.params.coin, + imgUrl: this.currencyPath + + }, + replace: false // 保留历史记录,允许回退 + }); + + } else { + this.$router.push(`/${this.lang}${url}`) + } + + + + }, + handelCalculation() { + this.calculateIncome() + }, + // 获取单个币种项目的完整宽度(包含margin) + getItemFullWidth() { + const listEl = this.$refs.currencyList; + if (!listEl) return 120; + + const firstItem = listEl.querySelector('.list-item'); + if (!firstItem) return 120; + + const style = window.getComputedStyle(firstItem); + const width = firstItem.offsetWidth; + const marginLeft = parseInt(style.marginLeft) || 0; + const marginRight = parseInt(style.marginRight) || 0; + + return width + marginLeft + marginRight; + }, + + // 左滑动逻辑 + scrollLeft() { + const allLength = this.currencyList.length * 120 + const boxLength = document.getElementById('list-box').clientWidth + if (allLength < boxLength) return + const listEl = document.getElementById('list') + const leftMove = Math.abs(parseInt(window.getComputedStyle(listEl, null)?.left)) + if (leftMove + boxLength - 360 < boxLength) { + // 到最开始的时候 + listEl.style.left = '0PX' + } else { + listEl.style.left = '-' + (leftMove - 360) + 'PX' + } +}, +// 右滑动逻辑 +scrollRight() { + const allLength = this.currencyList.length * 120 + const boxLength = document.getElementById('list-box').clientWidth + if (allLength < boxLength) return + const listEl = document.getElementById('list') + const leftMove = Math.abs(parseInt(window.getComputedStyle(listEl, null)?.left)) + if (leftMove + boxLength + 360 > allLength) { + listEl.style.left = '-' + (allLength - boxLength) + 'PX' + } else { + listEl.style.left = '-' + (leftMove + 360) + 'PX' + } +}, + + + + // // 左滑动逻辑 + // scrollLeft() { + // const allLength = this.currencyList.length * 120 + // const boxLength = document.getElementById('list-box').clientWidth + // if (allLength < boxLength) return + // const listEl = document.getElementById('list') + // const leftMove = Math.abs(parseInt(window.getComputedStyle(listEl, null)?.left)) + // if (leftMove + boxLength - 360 < boxLength) { + // // 到最开始的时候 + // listEl.style.left = '0PX' + // } else { + // listEl.style.left = '-' + (leftMove - 360) + 'PX' + // } + // }, + // // 右滑动逻辑 + // scrollRight() { + // const allLength = this.currencyList.length * 120 + // const boxLength = document.getElementById('list-box').clientWidth + // if (allLength < boxLength) return + // const listEl = document.getElementById('list') + // const leftMove = Math.abs(parseInt(window.getComputedStyle(listEl, null)?.left)) + // if (leftMove + boxLength + 360 > allLength) { + // listEl.style.left = '-' + (allLength - boxLength) + 'PX' + // } else { + // listEl.style.left = '-' + (leftMove + 360) + 'PX' + // } + // }, + + + handleActiveItemChange(item) { + if (!item) return; + + + this.currency = item.label; + this.currencyPath = item.imgUrl; + this.params.coin = item.value; + + console.log(this.params.coin, "item"); + this.BlockInfoParams.coin = item.value; + this.itemActive = item.value; + this.PowerParams.coin = item.value; + + // 调用相关数据更新方法 + this.getCoinInfoData(this.params); + this.getBlockInfoData(this.BlockInfoParams); + + if (this.powerActive) { + this.handelPower(); + } else { + this.handelMiner(); + } + + this.handelCoinLabel(item.value); + }, + + clickCurrency(item) { + if (!item) return; + // 设置标记,防止触发 watch + this.isInternalChange = true; + this.activeItemCoin = item; + this.$addStorageEvent(1, `activeItemCoin`, JSON.stringify(item)) + // this.currency = item.label + // this.currencyPath = item.imgUrl + // this.params.coin = item.value + // this.BlockInfoParams.coin = item.value + // this.itemActive = item.value + // this.PowerParams.coin = item.value + // this.getCoinInfoData(this.params) + // this.getBlockInfoData(this.BlockInfoParams) + + // 在下一个事件循环中重置标记 + this.$nextTick(() => { + this.isInternalChange = false; + }); + + + // 直接调用处理方法 + this.handleActiveItemChange(item); + + }, + clickReportBlock() { + this.$router.push({ + path: `/${this.lang}/reportBlock`, + query: { + coin: this.params.coin, + imgUrl: this.currencyPath + } + }); + }, + handleClick(tab, event) { + }, + handelPower() { + // this.powerDialogVisible = true; + if (this.MinerChart) { + this.MinerChart.dispose(); + this.MinerChart = null; + } + + // 初始化相关数据 + this.option.xAxis.data = []; + this.option.series[0].data = []; + this.option.series[1].data = []; + + this.powerActive = true + this.PowerParams.coin = this.params.coin + this.getPoolPowerData(this.PowerParams) + + }, + intervalChange(value) { + this.PowerParams.interval = value + this.params.interval = value + this.timeActive = value + if (this.powerActive) { + this.getPoolPowerData(this.PowerParams) + } else if (!this.powerActive) { + this.fetchNetPower(this.params) + } + + + }, + handelMiner() { + // this.minerDialogVisible = true; + // 先销毁可能存在的上一个图表实例 + if (this.myChart) { + this.myChart.dispose(); + this.myChart = null; + } + // 初始化相关数据 + this.minerOption.xAxis.data = []; + this.minerOption.series[0].data = []; + + this.powerActive = false + // this.getMinerCountData(this.params) + this.fetchNetPower(this.params) + + }, + handelLabel(coin) { + let obj = this.currencyList.find(item => item.value == coin) + if (obj) { + return obj.label + } else { + return "" + } + + + }, + handelLabel2(coin) { + if (coin.includes("dgb")) { + return "dgb" + } else { + return coin + } + + }, + handelCoinLabel(coin) { + let obj = { + coin: "", + } + + if (coin) { + obj = this.transactionFeeList.find(item => item.coin == coin) + this.FeeShow = false + } + if (!obj) { + this.FeeShow = true + } + + }, + startScroll() { + if (this.scrollTimer) clearInterval(this.scrollTimer); + // 只有多于1条才滚动 + if (this.broadcastList.length <= 1) return; + this.scrollTimer = setInterval(this.nextScroll, 3000); + }, + stopScroll() { + if (this.scrollTimer) clearInterval(this.scrollTimer); + this.scrollTimer = null; + }, + // 移动端延迟重启滚动(触摸结束后1秒再重启) + startScrollDelayed() { + if (this.delayScrollTimer) clearTimeout(this.delayScrollTimer); + this.delayScrollTimer = setTimeout(() => { + this.startScroll(); + }, 1000); + }, + nextScroll() { + if (this.broadcastList.length <= 1) return; + this.isTransition = true; + this.currentBroadcastIndex += 1; + // 如果到"克隆的第一条",0.5s后瞬间跳回真正的第一条 + if (this.currentBroadcastIndex === this.broadcastList.length) { + setTimeout(() => { + this.isTransition = false; + this.currentBroadcastIndex = 0; + }, 500); + } + }, + }, + beforeDestroy() { + if (this.scrollTimer) clearInterval(this.scrollTimer); + if (this.delayScrollTimer) clearTimeout(this.delayScrollTimer); + + }, +} \ No newline at end of file diff --git a/mining-pool/public/src/views/home/index.vue b/mining-pool/public/src/views/home/index.vue new file mode 100644 index 0000000..e60de5a --- /dev/null +++ b/mining-pool/public/src/views/home/index.vue @@ -0,0 +1,3628 @@ + + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/login/login.vue b/mining-pool/public/src/views/login/login.vue new file mode 100644 index 0000000..48c9cdf --- /dev/null +++ b/mining-pool/public/src/views/login/login.vue @@ -0,0 +1,923 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/markdown.vue b/mining-pool/public/src/views/markdown.vue new file mode 100644 index 0000000..d4d8d5d --- /dev/null +++ b/mining-pool/public/src/views/markdown.vue @@ -0,0 +1,2424 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/miningAccount/index.js b/mining-pool/public/src/views/miningAccount/index.js new file mode 100644 index 0000000..dbc2034 --- /dev/null +++ b/mining-pool/public/src/views/miningAccount/index.js @@ -0,0 +1,2208 @@ + +import * as echarts from "echarts"; +import { getMinerAccountPower, getMinerAccountInfo, getMinerList, getMinerPower, getHistoryIncome, getHistoryOutcome, getAccountPowerDistribution } from "../../api/miningAccount" +import { Debounce,throttle }from "../../utils/publicMethods"; + +export default { + data() { + return { + activeName: "power", + option: { + legend: { + right: 100, + show: true, + formatter: function (name) { + return name; + }, + }, + // grid: {//解决Y轴显示不全 + // left: "2%", + // containLabel: true + // }, + grid:{}, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + + + for (let i = 0; i <= params.length - 1; i++) { + + if (params[i].seriesName == "Rejection rate" || params[i].seriesName == "拒绝率") { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}%` + }else{ + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}` + } + + } + + + + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: [] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"GH/s", + nameTextStyle:{ + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + min:0, + max:100, + splitLine:{//不显示右侧Y轴横线 + show: false + } + }, + + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + // animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "总算力", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [], + yAxisIndex: 1, + }, + + + + ], + }, + barOption: { + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow' + } + }, + grid: { + left: '3%', + right: '8%', + bottom: '3%', + containLabel: true + }, + xAxis: [ + { + name:"MH/s", + type: 'category', + data: [], + axisTick: { + alignWithLabel: true + } + } + ], + yAxis: [ + { + type: 'value', + show: true, + name:"Pcs", + nameTextStyle:{ + padding: [0, 0, 0,-25], + } + + } + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: 'count', + type: 'bar', + barWidth: '60%', + data: [], + itemStyle: { + borderRadius: [100, 100, 0, 0], + color: "#7645EE", + } + } + ] + }, + miniOption: { + legend: { + right: 100, + show:false, + formatter: function (name) { + return name; + }, + }, + grid: {//解决Y轴显示不全 + left: "5%", + containLabel: true + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + + + for (let i = 0; i <= params.length - 1; i++) { + + if (params[i].seriesName == "Rejection rate" || params[i].seriesName == "拒绝率") { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}%` + }else{ + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}` + } + + } + + + + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + axisLabel:{}, + + data: ["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"MH/s", + nameTextStyle:{ + + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + splitLine:{//不显示右侧Y轴横线 + show: false + } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + yAxisIndex: 1, + }, + + + + ], + }, + onLineOption: { + legend: { + right: 100, + show:false, + formatter: function (name) { + return name; + }, + }, + grid: {//解决Y轴显示不全 + left: "5%", + containLabel: true + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + res += `
              ${params[0].marker} ${params[0].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[0].value} +
              ${params[1].marker} ${params[1].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[1].value}% + `; + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: ["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"MH/s", + nameTextStyle:{ + + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + yAxisIndex: 1, + }, + + + + ], + }, + OffLineOption: { + legend: { + right: 100, + show:false, + formatter: function (name) { + return name; + }, + }, + grid: {//解决Y轴显示不全 + left: "5%", + containLabel: true + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + res += `
              ${params[0].marker} ${params[0].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[0].value} +
              ${params[1].marker} ${params[1].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[1].value}% + `; + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: ["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"MH/s", + nameTextStyle:{ + + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + splitLine:{//不显示右侧Y轴横线 + show: false + } + }, + + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + yAxisIndex: 1, + }, + + + + ], + }, + sunTabActiveName: "all", + Accordion: "", + currentPage: 1, + params: { + account: "lx888", + coin: "grs", + }, + PowerParams: { + account: "lx888", + coin: "grs", + interval: "rt", + }, + PowerDistribution: { + account: "lx888", + coin: "grs", + interval: "rt", + }, + MinerListParams: { + account: "lx888", + coin: "grs", + type: "0", + filter: "", + limit: 50, + page: 1, + sort:`30m`, + collation:`asc`, + }, + activeName2: "power", //power + IncomeParams: { + account: "lx888", + coin: "grs", + limit: 10, + page: 1, + }, + OutcomeParams: { + account: "lx888", + coin: "grs", + limit: 10, + page: 1, + }, + MinerAccountData: { + // totalProfit: "78678862.96791889", + // expend: "78678862.96791889", + // preProfit: "78678862.96791889", + // todayPorfit: "78678862.96791889", + // balance: "78678862.96791889", + }, + MinerListData: { + // all: "100", + // online: "99", + // offline: "1", + // miner: "", + // rate: "55656", + // dailyRate: "5656", + // reject: "", + }, + intervalList: [ + // { + // value: "1h", + // label: "home.hour", + // }, + { + value: "rt", + label: "home.realTime", + }, + { + value: "1d", + label: "home.day", + }, + ], + HistoryIncomeData: [ + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "565S656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "56G5656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "565Y656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + + + + + ], + HistoryOutcomeData: [ + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // status: 0, + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // status: 0, + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // status: 0, + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // status: 0, + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + + + + + ], + currentPageIncome: 1, + MinerListTableData: [ + // { + // miner: "107fx61", + // rate: "0.0066666 ", + // dailyRate: "0.019999 ", + // reject: "0.01 TH/s", + // offline:1442, + // status:1 + // }, + // { + // miner: "107dfx62", + // rate: "0.407777 ", + // dailyRate: "0.016666 ", + // reject: "0.01 TH/s", + // offline:82, + // status:2 + // }, + // { + // miner: "107dfsx63", + // rate: "0.9635656 ", + // dailyRate: "0.018888", + // reject: "0.01 TH/s", + // offline:78, + // status:2 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:1 + // }, + // { + // miner: "107xsf666", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + // { + // miner: "107xsf678", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:1 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + + ], + AccountPowerDistributionintervalList: [ + { + value: "rt", + label: "home.realTime", + }, + { + value: "1d", + label: "home.day", + }, + ], + miniLoading:false, + search: "", + input2: "", + timeActive: "rt", + barActive: "rt", + powerChartLoading: false, + barChartLoading: false, + miniChartParams: { + miner: "", + coin: "grs", + }, + ids: "smallChart107fx61", + activeMiner:"", + miniId:"", + MinerListLoading:false, + miner:"miner", + accountId:"", + currentPageMiner: 1, + minerTotal:0, + accountItem:{}, + HistoryIncomeTotal:0, + HistoryOutcomeTotal:0, + stateList:[{ + value: "1", + label: "mining.onLine" + },{ + value: "2", + label: "mining.offLine" + }, + ], + Sort30:"asc", + Sort1h:"asc", + paymentStatusList:[ + { + value: 0, + label: "mining.paymentInProgress" + }, + { + value: 1, + label: "mining.paymentCompleted" + } + + + ], + lang: 'zh', + + } + }, + computed: { + sortedMinerListTableData() { //离线旷工靠前 + if (!this.MinerListTableData) return []; + + return [...this.MinerListTableData].sort((a, b) => { + // 确保 status 是字符串类型 + const statusA = String(a.status); + const statusB = String(b.status); + + // 离线(status='2')的排在前面 + if (statusA === '2' && statusB !== '2') return -1; + if (statusA !== '2' && statusB === '2') return 1; + + // status 相同时保持原有顺序 + return 0; + }); + } + }, + watch: { + '$route' (to, from) { + this.accountItem = JSON.parse(localStorage.getItem(`accountItem`)) + this.accountId = this.accountItem .id + this.params.account = this.accountItem .ma + this.params.coin = this.accountItem .coin + this.PowerParams.account = this.accountItem .ma + this.PowerParams.coin = this.accountItem .coin + this.PowerDistribution.account = this.accountItem .ma + this.PowerDistribution.coin = this.accountItem .coin + this.MinerListParams.account = this.accountItem .ma + this.MinerListParams.coin = this.accountItem .coin + this.OutcomeParams.account = this.accountItem .ma + this.OutcomeParams.coin = this.accountItem .coin + this.IncomeParams.account = this.accountItem .ma + this.IncomeParams.coin = this.accountItem .coin + + + + + + + this.getMinerAccountInfoData(this.params) + this.getMinerAccountPowerData(this.PowerParams) + this.getAccountPowerDistributionData(this.PowerDistribution) + this.getMinerListData(this.MinerListParams) + this.getHistoryIncomeData(this.IncomeParams) + this.getHistoryOutcomeData(this.OutcomeParams) + + + + + + + }, + "$i18n.locale":{ + + handler(val) { + // this.lang = val; + location.reload();//刷新页面 刷新echarts + }, + + } + }, + mounted() { + this.lang = this.$i18n.locale; + this.accountItem = JSON.parse(localStorage.getItem(`accountItem`)) + this.accountId = this.accountItem .id + this.params.account = this.accountItem .ma + this.params.coin = this.accountItem .coin + this.PowerParams.account = this.accountItem .ma + this.PowerParams.coin = this.accountItem .coin + this.PowerDistribution.account = this.accountItem .ma + this.PowerDistribution.coin = this.accountItem .coin + this.MinerListParams.account = this.accountItem .ma + this.MinerListParams.coin = this.accountItem .coin + this.OutcomeParams.account = this.accountItem .ma + this.OutcomeParams.coin = this.accountItem .coin + this.IncomeParams.account = this.accountItem .ma + this.IncomeParams.coin = this.accountItem .coin + + if (this.$isMobile) { + + + this.option.yAxis[1].show =false + this.option.grid.left="16%" + this.option.grid.right="5%" + this.option.grid.top="10%" + this.option.grid.bottom="45%" + + this.option.legend.bottom=18 + this.option.legend.right="30%" + this.option.xAxis.axisLabel= { + interval: 8, + rotate: 70 + } + + + this.barOption.grid.right="16%" + + this.miniOption.yAxis[1].show =false + + + + + } + + + + this.getMinerAccountInfoData(this.params) + this.getMinerAccountPowerData(this.PowerParams) + this.getAccountPowerDistributionData(this.PowerDistribution) + this.getMinerListData(this.MinerListParams) + this.getHistoryIncomeData(this.IncomeParams) + this.getHistoryOutcomeData(this.OutcomeParams) + + + this.registerRecoveryMethod('getMinerAccountInfoData', this.params); + this.registerRecoveryMethod('getMinerAccountPowerData', this.PowerParams); + this.registerRecoveryMethod('getAccountPowerDistributionData', this.PowerDistribution); + this.registerRecoveryMethod('getMinerListData', this.MinerListParams); + this.registerRecoveryMethod('getHistoryIncomeData', this.IncomeParams); + this.registerRecoveryMethod('getHistoryOutcomeData', this.OutcomeParams); + }, + methods: { + + //初始化图表 + inCharts() { + this.myChart = echarts.init(document.getElementById("powerChart")); + this.option.series[0].name= this.$t(`home.finallyPower`) + this.option.series[1].name= this.$t(`home.rejectionRate`) + this.myChart.setOption(this.option); + + window.addEventListener('resize', throttle(() => { + if (this.myChart) this.myChart.resize(); + }, 200)); + }, + //初始化小图表 + smallInCharts(option) { + + // if (this.miniChart == null) { + // this.miniChart = echarts.init(document.getElementById("smallChart")); + // } + // this.miniChart.setOption(this.miniOption,true); + + if (this.$isMobile) { + this.miniOption.yAxis[1].show =false + } + option.series[0].name= this.$t(`home.minerSComputingPower`) + option.series[1].name= this.$t(`home.rejectionRate`) + this.miniChart.setOption(option,true); + + window.addEventListener('resize', throttle(() => { + if (this.miniChart) this.miniChart.resize(); + }, 200)); + + + }, + barInCharts() { + if (this.barChart == null) { + this.barChart = echarts.init(document.getElementById("barChart")); + } + this.barOption.series[0].name = this.$t(`home.numberOfMiningMachines`); + this.barChart.setOption(this.barOption); + + + window.addEventListener('resize', throttle(() => { + if (this.barChart) this.barChart.resize(); + }, 200)); + }, + //获取当前挖矿账号信息(包含收益、余额) + async getMinerAccountInfoData(params) { + const data = await getMinerAccountInfo(params) + this.MinerAccountData = data.data + // console.log(data,"获取币种信息"); + }, + async getMinerAccountPowerData(params) { + // this.powerChartLoading = true + this.setLoading('powerChartLoading', true); + const data = await getMinerAccountPower(params) + + if (!data) { + this.setLoading('powerChartLoading', false); + if (this.myChart) { + this.myChart.dispose()//销毁图表实列 + } + return + } + let chartData = data.data + let xData = [] + let pvData = [] + let rejectRate = [] + chartData.forEach(item => { + + if (item.date.includes(`T`) && params.interval == `rt`) { + item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + } else if(item.date.includes(`T`) && params.interval == `1d`){ + item.date= item.date.split("T")[0] + } + xData.push(item.date) + pvData.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }); + let maxValue = Math.max(...rejectRate) + maxValue= Math.round(maxValue*3) + if (maxValue>0) { + + this.option.yAxis[1].max=maxValue + } + + this.option.xAxis.data = xData + this.option.series[0].data = pvData + this.option.series[1].data = rejectRate + + this.inCharts() + this.setLoading('powerChartLoading', false); + + + + }, + async getAccountPowerDistributionData(params) { + this.setLoading('barChartLoading', true); + const data = await getAccountPowerDistribution(params) + let barData = data.data + let xData = [] + let barValueList = [] + barData.forEach(item => { + xData.push(`${item.low}-${item.high}`) + barValueList.push(item.count) + }) + this.barOption.xAxis[0].data = xData + this.barOption.series[0].data = barValueList + this.barInCharts() + this.setLoading('barChartLoading', false); + }, + formatNumber(num) {//保留两位小数并补0 + const intPart = Math.floor(num); + const decimalPart = Math.floor((num - intPart) * 100); + return `${intPart}.${String(decimalPart).padStart(2, '0')}`; + }, + async getMinerListData(params) { + this.setLoading('MinerListLoading', true); + const data = await getMinerList(params) + if (data && data.code == 200) { + this.MinerListData = data.data + if (this.MinerListData.submit && this.MinerListData.submit.includes(`T`)) { + this.MinerListData.submit =`${this.MinerListData.submit.split(`T`)[0]} ${this.MinerListData.submit.split(`T`)[1].split(`.`)[0]}` + } + this.MinerListTableData = data.data.rows + + this.MinerListData.rate = this.formatNumber(this.MinerListData.rate) + this.MinerListData.dailyRate = this.formatNumber(this.MinerListData.dailyRate) + + this.MinerListTableData.forEach(item=>{ + if (item.submit.includes(`T`)) { + item.submit = `${item.submit.split(`T`)[0]} ${item.submit.split(`T`)[1].split(`.`)[0]}` + + } + item.rate= this.formatNumber(item.rate) + item.dailyRate= this.formatNumber(item.dailyRate) + + }) + this.minerTotal= data.data.total + // switch (this.sunTabActiveName) { + // case "all": + // this.minerTotal=data.data.all + // break; + // case "onLine": + // this.minerTotal=data.data.online + // break; + // case "off-line": + // this.minerTotal=data.data.offline + // break; + + // default: + // break; + // } + + + } + + this.setLoading('MinerListLoading', false); + + }, + + //小图 + // async getMinerPowerData(params) { + // this.miniLoading=true + // const data = await getMinerPower(params) + + // if (!data) { + // this.miniLoading=false + // return + // } + // let miniData = data.data + // let xData = [] + // let pv = [] + // let rejectRate = [] + + // miniData.forEach(item => { + + // if (item.date.includes(`T`) && params.interval == `1h`) { + // item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + // } else if(item.date.includes(`T`) && params.interval == `1d`){ + // item.date= item.date.split("T")[0] + // } + // item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + // xData.push(item.date) + + + + + // pv.push(item.pv.toFixed(2)) + // rejectRate.push((item.rejectRate * 100).toFixed(4)) + // }) + + // this.miniOption.xAxis.data = xData + // this.miniOption.series[0].data = pv + // this.miniOption.series[1].data = rejectRate + + // this.miniOption.series[0].name= this.$t(`home.finallyPower`) + // this.miniOption.series[1].name= this.$t(`home.rejectionRate`) + + // this.ids = `SmallChart${this.miniId}` + // this.miniChart = echarts.init(document.getElementById(this.ids)) + // let maxValue = Math.max(...rejectRate) + // maxValue= Math.round(maxValue*3) + // if (maxValue>0) { + // this.miniOption.yAxis[1].max=maxValue + // } + + // this.$nextTick(() => { + // this.smallInCharts(this.miniOption) + // }); + + + + // this.miniLoading=false + // }, + getMinerPowerData:Debounce(async function(params){ + this.setLoading('miniLoading', true); + const data = await getMinerPower(params) + + if (!data) { + this.setLoading('miniLoading', false); + return + } + let miniData = data.data + let xData = [] + let pv = [] + let rejectRate = [] + + miniData.forEach(item => { + + if (item.date.includes(`T`) && params.interval == `1h`) { + item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + } else if(item.date.includes(`T`) && params.interval == `1d`){ + item.date= item.date.split("T")[0] + } + item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + xData.push(item.date) + + + + + pv.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }) + + this.miniOption.xAxis.data = xData + this.miniOption.series[0].data = pv + this.miniOption.series[1].data = rejectRate + + this.miniOption.series[0].name= this.$t(`home.finallyPower`) + this.miniOption.series[1].name= this.$t(`home.rejectionRate`) + + this.ids = `SmallChart${this.miniId}` + this.miniChart = echarts.init(document.getElementById(this.ids)) + let maxValue = Math.max(...rejectRate) + maxValue= Math.round(maxValue*3) + if (maxValue>0) { + this.miniOption.yAxis[1].max=maxValue + } + + + + + + + this.$nextTick(() => { + this.smallInCharts(this.miniOption) + }); + console.log(this.miniOption,5656565); + + + + this.setLoading('miniLoading', false); + },200), + + // this.miniLoading=false + // }, + getMinerPowerOnLine:Debounce(async function(params){ + + this.setLoading('miniLoading', true); + const data = await getMinerPower(params) + + if (!data) { + this.setLoading('miniLoading', false); + return + } + let miniData = data.data + let xData = [] + let pv = [] + let rejectRate = [] + + miniData.forEach(item => { + if (item.date.includes(`T`)) { + xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(".")[0]}` ) + + } else { + xData.push(item.date) + } + + pv.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }) + + + this.onLineOption.xAxis.data = xData + this.onLineOption.series[0].data = pv + this.onLineOption.series[1].data = rejectRate + this.onLineOption.series[0].name= this.$t(`home.finallyPower`) + this.onLineOption.series[1].name= this.$t(`home.rejectionRate`) + + this.ids = `Small${this.miniId}` + this.miniChartOnLine = echarts.init(document.getElementById(this.ids)) + + this.$nextTick(() => { + this.miniChartOnLine.setOption(this.onLineOption,true); + // window.addEventListener("resize", () => { + // if (this.miniChartOnLine) this.miniChartOnLine.resize(); + // }); + window.addEventListener('resize', throttle(() => { + if (this.miniChartOnLine) this.miniChartOnLine.resize(); + }, 200)); + + }); + + + + this.setLoading('miniLoading', false); + + + },200), + //小图 + // async getMinerPowerOffLine(params) { + // this.miniLoading=true + // const data = await getMinerPower(params) + // if (!data) { + // this.miniLoading=false + // return + // } + // let miniData = data.data + // let xData = [] + // let pv = [] + // let rejectRate = [] + + // miniData.forEach(item => { + // if (item.date.includes(`T`)) { + // xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(".")[0]}` ) + + // } else { + // xData.push(item.date) + // } + + // pv.push(item.pv.toFixed(2)) + // rejectRate.push((item.rejectRate * 100).toFixed(4)) + // }) + + + // this.OffLineOption.xAxis.data = xData + // this.OffLineOption.series[0].data = pv + // this.OffLineOption.series[1].data = rejectRate + // this.OffLineOption.series[0].name= this.$t(`home.finallyPower`) + // this.OffLineOption.series[1].name= this.$t(`home.rejectionRate`) + + + // this.ids = `SmallOff${this.miniId}` + // this.miniChartOff = echarts.init(document.getElementById(this.ids)) + + // this.$nextTick(() => { + // this.miniChartOff.setOption(this.OffLineOption,true); + // window.addEventListener("resize", () => { + // if (this.miniChartOff) this.miniChartOff.resize(); + // }); + // }); + + + + // this.miniLoading=false + // }, + getMinerPowerOffLine:Debounce(async function(params){ + this.setLoading('miniLoading', true); + const data = await getMinerPower(params) + if (!data) { + this.setLoading('miniLoading', false); + return + } + let miniData = data.data + let xData = [] + let pv = [] + let rejectRate = [] + + miniData.forEach(item => { + if (item.date.includes(`T`)) { + xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(".")[0]}` ) + + } else { + xData.push(item.date) + } + + pv.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }) + + + this.OffLineOption.xAxis.data = xData + this.OffLineOption.series[0].data = pv + this.OffLineOption.series[1].data = rejectRate + this.OffLineOption.series[0].name= this.$t(`home.finallyPower`) + this.OffLineOption.series[1].name= this.$t(`home.rejectionRate`) + + + this.ids = `SmallOff${this.miniId}` + this.miniChartOff = echarts.init(document.getElementById(this.ids)) + + this.$nextTick(() => { + this.miniChartOff.setOption(this.OffLineOption,true); + // window.addEventListener("resize", () => { + // if (this.miniChartOff) this.miniChartOff.resize(); + // }); + + window.addEventListener('resize', throttle(() => { + if (this.miniChartOff) this.miniChartOff.resize(); + }, 200)) + }); + + + + this.setLoading('miniLoading', false); + + + },200), + async getHistoryIncomeData(params) { + const data = await getHistoryIncome(params) + + if (data && data.code == 200) { + this.HistoryIncomeData = data.rows + this.HistoryIncomeTotal=data.total + this.HistoryIncomeData.forEach(item=>{ + if (item.date.includes(`T`)) { + item.date =item.date.split(`T`)[0] + } + }) + + + } + + }, + async getHistoryOutcomeData(params) { + const data = await getHistoryOutcome(params) + if (data && data.code == 200) { + this.HistoryOutcomeData = data.rows + this.HistoryOutcomeTotal=data.total + + this.HistoryOutcomeData.forEach(item=>{ + if (item.date.includes(`T`)) { + item.date =`${item.date.split(`T`)[0]} ` + } + }) + } + + + + }, + + // handelMiniChart(id, miner) { + + // if (!this.Accordion) return + // this.miniId = id + // this.miner = miner + // this.$nextTick(() => { + // this.getMinerPowerData({ miner:miner, coin: this.params.coin, account: this.params.account }) + // }); + + // }, + + handelMiniChart: throttle(function(id, miner) { + if (!this.Accordion) return + this.miniId = id + this.miner = miner + this.$nextTick(() => { + this.getMinerPowerData({ miner:miner, coin: this.params.coin, account: this.params.account }) + }); + }, 1000), + + + + // handelOnLineMiniChart(id, miner){ + // if (!this.Accordion) return + // this.miniId = id + // this.$nextTick(() => { + // this.getMinerPowerOnLine({ miner:miner, coin: this.params.coin, account: this.params.account }) + // }); + // }, + + + handelOnLineMiniChart: throttle(function(id, miner) { + if (!this.Accordion) return + this.miniId = id + this.$nextTick(() => { + this.getMinerPowerOnLine({ miner:miner, coin: this.params.coin, account: this.params.account }) + }); + }, 1000), + // handelMiniOffLine(id, miner){ + // if (!this.Accordion) return + // this.miniId = id + // this.$nextTick(() => { + // this.getMinerPowerOffLine({ miner:miner, coin: this.params.coin, account: this.params.account }) + // }); + // }, + + handelMiniOffLine: throttle(function(id, miner) { + if (!this.Accordion) return + this.miniId = id + this.$nextTick(() => { + this.getMinerPowerOffLine({ miner:miner, coin: this.params.coin, account: this.params.account }) + }); + }, 1000), + + + + handleClick() { + switch (this.activeName) { + case "power": + this.inCharts() + // this.getMinerAccountPowerData(this.PowerParams) + break; + case "miningMachineDistribution": + this.distributionInCharts() + // this.getAccountPowerDistributionData(this.PowerDistribution) + break; + + + + default: + break; + } + }, + handleClick2(activeName2) { + this.activeName2 = activeName2; + this.search="" + this.MinerListParams.filter="" + this.Accordion="" + this.IncomeParams.limit=10 + this.MinerListParams.limit=50 + this.OutcomeParams.limit =10 + switch (this.activeName2) { + case "power": + this.getMinerListData(this.MinerListParams) + break; + case "miningMachine": + this.getHistoryIncomeData(this.IncomeParams) + break; + case "payment": + this.getHistoryOutcomeData(this.OutcomeParams) + break; + + + default: + break; + } + + + }, + onlineStatus(sunTabActiveName) { + this.Accordion="" + this.search="" + this.MinerListParams.filter="" + this.sunTabActiveName = sunTabActiveName + switch (this.sunTabActiveName) { + case "all": + this.MinerListParams.type = 0 + break; + case "onLine": + this.MinerListParams.type = 1 + break; + case "off-line": + this.MinerListParams.type = 2 + break; + + default: + break; + } + this.getMinerListData(this.MinerListParams) + }, + handleInterval(value) { + this.PowerParams.interval = value + this.timeActive = value + this.getMinerAccountPowerData(this.PowerParams) + }, + distributionInterval(value) { + this.PowerDistribution.interval = value + this.barActive = value + this.getAccountPowerDistributionData(this.PowerDistribution) + }, + + handelSearch() { + this.MinerListParams.filter = this.search + this.getMinerListData(this.MinerListParams) + }, + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + this.OutcomeParams.limit = val + this.OutcomeParams.page = 1 + this.getHistoryOutcomeData(this.OutcomeParams) + this.currentPage = 1 + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); + this.OutcomeParams.page = val + this.getHistoryOutcomeData(this.OutcomeParams) + }, + handleSizeChangeIncome(val) { + console.log(`每页 ${val} 条`); + this.IncomeParams.limit = val + this.IncomeParams.page = 1 + this.getHistoryIncomeData(this.IncomeParams) + this.currentPageIncome = 1 + }, + handleCurrentChangeIncome(val) { + console.log(`当前页: ${val}`); + this.IncomeParams.page = val + this.getHistoryIncomeData(this.IncomeParams) + }, + handleSizeMiner(val) { + console.log(`每页 ${val} 条`); + this.MinerListParams.limit = val + this.MinerListParams.page = 1 + this.getMinerListData(this.MinerListParams) + this.currentPageMiner = 1 + }, + handleCurrentMiner(val) { + console.log(`当前页: ${val}`); + this.MinerListParams.page = val + this.getMinerListData(this.MinerListParams) + }, + + handelStateList(value ){ + return this.stateList.find(item => item.value == value).label || "" + }, + handleSort(sort){ + this.MinerListParams.sort = sort + if ( this.MinerListParams.collation == "asc") { + this.MinerListParams.collation = "desc" + }else{ + this.MinerListParams.collation = "asc" + } + this.getMinerListData(this.MinerListParams) + }, + handleSort30(){ + if ( this.MinerListParams.collation[0] == "asc") { + this.MinerListParams.collation[0] = "desc" + }else{ + this.MinerListParams.collation[0] = "asc" + } + this.getMinerListData(this.MinerListParams) + }, + handleSort1h(){ + if ( this.MinerListParams.collation[1] == "asc") { + this.MinerListParams.collation[1] = "desc" + }else{ + this.MinerListParams.collation[1] = "asc" + } + this.getMinerListData(this.MinerListParams) + }, + handelTimeInterval(time){ + if (time) { + + var seconds = time * 60; + var days = Math.floor(seconds / (3600 * 24)); + var hours = Math.floor((seconds % (3600 * 24)) / 3600); + var minutes = Math.floor((seconds % 3600) / 60); + var secs = seconds % 60; + + + // var hours = Math.floor(minutes / 60); + // var remainingMinutes = minutes % 60; + // return hours + "时" + remainingMinutes + "分"; + + if (days) { + return `(${days}${this.$t(`personal.day`)} ${hours}${this.$t(`personal.hour`)} ${minutes}${this.$t(`personal.minute`)} ${this.$t(`personal.front`)})` + }else if (hours) { + return `(${hours}${this.$t(`personal.hour`)} ${minutes}${this.$t(`personal.minute`)} ${this.$t(`personal.front`)})` + }else if(minutes){ + return `( ${minutes}${this.$t(`personal.minute`)} ${this.$t(`personal.front`)})` + } + } + }, + + jumpPage() { + + this.$router.push({ + path: `/${this.lang}/personalCenter/personalMining`, + query: { + id: this.accountId, + coin: this.params.coin, + ma: this.params.account + } + }); + }, + async copyTxid(ID) { + let id = `id${ID}` + let d= document.getElementById(id) + // d.select() //选中 + // document.execCommand("copy") //直接复制 + try { + await navigator.clipboard.writeText(d.textContent); + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success' + }); + } catch (err) { + console.log(err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error' + }); + } + }, + handelPayment(val){ + if (val || val == 0) { + let obj= this.paymentStatusList.find(item=>item.value ==val) + + return obj.label + }else{ + return '' + } + }, + clickCopyAddress(item){ + // 创建临时输入框 + var tempInput = document.createElement('input'); + tempInput.value = item.address; + document.body.appendChild(tempInput); + + try { + tempInput.select(); + const isCopySuccessful = document.execCommand('copy'); + if (isCopySuccessful) { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + + }); + } else { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } + } catch (error) { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } finally { + if (document.body.contains(tempInput)) { + document.body.removeChild(tempInput); + } else { + console.log('临时输入框不是 body 的子节点,无法移除。'); + } + } + + }, + clickCopyTxid(item){ + // 创建临时输入框 + var tempInput = document.createElement('input'); + tempInput.value = item.txid; + document.body.appendChild(tempInput); + + try { + tempInput.select(); + const isCopySuccessful = document.execCommand('copy'); + if (isCopySuccessful) { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + + }); + } else { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } + } catch (error) { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } finally { + if (document.body.contains(tempInput)) { + document.body.removeChild(tempInput); + } else { + console.log('临时输入框不是 body 的子节点,无法移除。'); + } + } + + }, + + handelTxid(txid){ + if (this.accountItem.coin.includes(`dgb`)) { + window.open(`https://chainz.cryptoid.info/dgb/tx.dws?${txid}.htm`) + + }else{ + switch (this.accountItem.coin) { + case `nexa`: + window.open(`https://explorer.nexa.org/tx/${txid}`) + break; + case `mona`: + window.open(`https://mona.insight.monaco-ex.org/insight/tx/${txid}`) + break; + case `grs`: + window.open(`https://chainz.cryptoid.info/grs/tx.dws?${txid}.htm`) + break; + case `rxd`: + window.open(`https://explorer.radiantblockchain.org/tx/${txid}`) + break; + case `enx`: + window.open(`https://explorer.entropyx.org/txs/${txid}`) + break; + case `alph`: + window.open(`https://explorer.alephium.org/transactions/${txid}`) + break; + case `xmr`: + window.open(`https://localmonero.co/blocks/tx/${txid}`) + break; + + default: + break; + } + } + + // + } + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/miningAccount/index.vue b/mining-pool/public/src/views/miningAccount/index.vue new file mode 100644 index 0000000..43059bd --- /dev/null +++ b/mining-pool/public/src/views/miningAccount/index.vue @@ -0,0 +1,3042 @@ + + + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/page404.vue b/mining-pool/public/src/views/page404.vue new file mode 100644 index 0000000..295e6ac --- /dev/null +++ b/mining-pool/public/src/views/page404.vue @@ -0,0 +1,239 @@ + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/index.js b/mining-pool/public/src/views/personalCenter/index.js new file mode 100644 index 0000000..cbf9add --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/index.js @@ -0,0 +1,120 @@ +import { Icon } from "element-ui" + +export default { + computed: { + key() { + + + + return this.$route.path; + }, + activePath() { + // 从完整路径中获取最后一段 + const fullPath = this.$route.path; + const currentPath = fullPath.split('/').pop(); + console.log('Current Path:', currentPath); + console.log('Full Path:', fullPath); + // 如果当前路径存在于菜单列表中,则返回该路径 + if (this.menuList.some(item => item.path === currentPath)) { + return currentPath; + } + + // 如果未找到匹配项,返回默认路径 + return 'personalMining'; + } + }, + data() { + return { + menuList: [ + { + path: "personalMining", + label: 'personal.miningAccount', + icon: "iconfont icon-kuanggong1", + + }, + { //只读页面 + path: "readOnly", + label: 'personal.readOnlyPage', + icon: "iconfont icon-yanjing", + + }, + { //安全设置 + path: "securitySetting", + label: 'personal.securitySetting', + icon: "iconfont icon-anquan", + + }, + // { //个人中心 + // path:"/personalCenter/personal", + // label:'personal.personalCenter', + // icon:"iconfont icon-gerenzhongxin", + + // }, + // { //挖矿报告 + // path:"/personalCenter/miningReport", + // label:'personal.miningReport', + // icon:"iconfont icon-baogao", + + // }, + { + path: "personalAPI", + label: 'personal.API', + icon: "iconfont icon-a-fenzhi1", + + }, + + // { + // path:"", + // label:'U 账户', + // icon:"iconfont icon-zhanghuyue", + + // }, + + + ], + userEmail: "", + } + }, + + + + mounted() { + + + if (this.$route.name =="PersonalCenter" && !this.$isMobile) { + this.$router.go(-1); + } + + + let userEmail = localStorage.getItem("userEmail") + this.userEmail = JSON.parse(userEmail) + window.addEventListener("setItem", () => { + let userEmail = localStorage.getItem("userEmail") + this.userEmail = JSON.parse(userEmail) + }); + + + + + + + + }, + methods: { + handelMenuItem(path) { + + + const lang = this.$i18n.locale; + this.$router.push(`/${lang}/personalCenter/${path}`).catch(err => { + if (err.name !== 'NavigationDuplicated') { + console.error('Navigation failed:', err); + } + }); + + // 可以考虑添加这行代码手动触发重新计算 + this.$nextTick(() => { + this.$forceUpdate(); + }); + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/index.vue b/mining-pool/public/src/views/personalCenter/index.vue new file mode 100644 index 0000000..2a8adbe --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/index.vue @@ -0,0 +1,254 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/miningReport/index.js b/mining-pool/public/src/views/personalCenter/miningReport/index.js new file mode 100644 index 0000000..3931be1 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/miningReport/index.js @@ -0,0 +1,20 @@ +export default { + data(){ + return{ + dialogVisible:false, + monthlyReport:false, + } + }, + mounted(){ + + }, + methods:{ + handelWeek(){ + this.dialogVisible=true + }, + + handelMonth(){ + this.monthlyReport=true + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/miningReport/index.vue b/mining-pool/public/src/views/personalCenter/miningReport/index.vue new file mode 100644 index 0000000..ab1127f --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/miningReport/index.vue @@ -0,0 +1,250 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/personal/index.js b/mining-pool/public/src/views/personalCenter/personal/index.js new file mode 100644 index 0000000..0460ea0 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/personal/index.js @@ -0,0 +1,21 @@ +export default { + data(){ + return{ + dialogVisible:false, + params:{ + phone:"", + code:"", + }, + btnDisabled:false, + bthText:"获取验证码", + } + }, + mounted(){ + + }, + methods:{ + handelAddPhone(){ + this.dialogVisible =true + }, + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/personal/index.vue b/mining-pool/public/src/views/personalCenter/personal/index.vue new file mode 100644 index 0000000..b5aa154 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/personal/index.vue @@ -0,0 +1,255 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/personalAPI/index.js b/mining-pool/public/src/views/personalCenter/personalAPI/index.js new file mode 100644 index 0000000..ffaa889 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/personalAPI/index.js @@ -0,0 +1,367 @@ + +import { watch } from "vue"; +import { getApiKey, getApiList, getDelApi, getApiInfo ,getUpdateAPI} from "../../../api/APIkey"; +export default { + data() { + return { + dialogVisible: false, + modifyDialogVisible: false, + params: { + ip: "", + perms: "", + }, + listParams: { + page: 1, + limit: 10, + }, + ApiKeyLoading: false, + checkList: [], + checkIp: true, + + checkAll: false, + checkedItems: [], + apiList: [ + + { + remark: "测试备注", + jurisdiction: [ + "矿工", "收益", "支付", + ], + account: "afhaifhauhf", + coin: "BTC", + url: "https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109", + }, + { + remark: "测试备注", + jurisdiction: [ + "矿工", "收益", + ], + account: "afhaifddddhauhf", + coin: "BTC", + url: "https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109", + }, + + + ], + jurisdictionList: [ + { + value: "miner", + label: "personal.minerAPI" + }, + { + value: "account", + label: "personal.accountApi" + }, + { + value: "pool", + label: "personal.miningPoolApi" + }, + + + ], + apiPageLoading: false, + apiInfo: { + ip: "", + perms: [], + }, + infoCheckIp: true, + modifyParams: { + id: "", + ip: "", + perms: "", + }, + } + }, + watch: { + infoCheckIp(val) { + if (val) { + this.apiInfo.ip = "" + } + }, + checkIp(val) { + if (val) { + this.params.ip = "" + } + }, + params:{ + handler(newValue) { + if (newValue.ip) { + this.checkIp =false + } + }, + deep: true, + + } + + }, + mounted() { + this.fetchApiList(this.listParams) + this.registerRecoveryMethod('fetchApiList', this.listParams); + + }, + methods: { + async fetchApiKey(params) { + this.ApiKeyLoading = true + this.setLoading('ApiKeyLoading', true); + const data = await getApiKey(params) + if (data && data.code == 200) { + this.fetchApiList(this.listParams) + this.dialogVisible = false + } + + this.setLoading('ApiKeyLoading', false); + }, + async fetchApiList(params) { + this.apiPageLoading = true + const data = await getApiList(params) + if (data && data.code == 200) { + this.apiList = data.rows + } + + this.setLoading('apiPageLoading', false); + }, + async fetchApiInfo(params) { + this.apiPageLoading = true + const data = await getApiInfo(params) + if (data && data.code == 200) { + this.apiInfo = data.data + if (this.apiInfo.ip) { + this.infoCheckIp = false + } + } + + this.setLoading('apiPageLoading', false); + }, + async fetchUpdateAPI(params) { + this.apiPageLoading = true + const data = await getUpdateAPI(params) + if (data && data.code == 200) { + this.fetchApiList(this.listParams) + this.modifyDialogVisible =false + } + + this.setLoading('apiPageLoading', false); + }, + async fetchDelApi(params) { + this.apiPageLoading = true + const data = await getDelApi(params) + console.log(data, 666); + + if (data && data.code == 200) { + this.checkedItems = [] + this.fetchApiList(this.listParams) + } + + this.setLoading('apiPageLoading', false); + }, + RequestApiKey() { + this.dialogVisible = true + }, + handelJurisdiction(subItem) { + let obj = this.jurisdictionList.find(item => subItem == item.value) + + try { + if (obj.value) { + return obj.label + } else { + return "" + } + } catch { + console.log(111); + + } + + + + }, + handelClose(){ + this.params.ip = "" + this.checkList =[] + }, + confirmAddition() { + if (!this.checkIp && !this.params.ip) { + this.$message({ + showClose: true, + message: this.$t(`personal.ipAddressReminder`), + type: 'error' + }); + return + } + const validPattern = /^[0-9.]*$/; + if (!validPattern.test(this.params.ip)) { + this.$message({ + showClose: true, + message: this.$t(`personal.ipFormat`), + type: 'error' + }); + return + } + + if (this.checkList.length == 0) { + this.$message({ + showClose: true, + message: this.$t(`personal.permissionReminder`), + type: 'error' + }); + return + } + + if (this.checkList.length > 0) { + this.params.perms = this.checkList.join(",") + } + + this.fetchApiKey(this.params) + }, + handleCheckAllChange(val) { + console.log(this.checkAll, val, 6565); + + if (val) { + this.checkedItems = this.apiList.map(item => item.id); + } else { + this.checkedItems = [] + + } + }, + handleSingleCheckChange(value) { + console.log(value, "value"); + + let checkedCount = value.length; + this.checkAll = checkedCount === this.apiList.length; + this.isIndeterminate = checkedCount > 0 && checkedCount < this.apiList.length; + + }, + deleteSelected() { + + let ids = this.checkedItems.join(",") + this.fetchDelApi({ ids: ids }) + }, + + async handelCopy(id) { + + // var d = document.getElementById(id) //获取需要复制的元素 + + + + // d.select() //选中 + // document.execCommand("copy") //直接复制 + + var copyText = document.getElementById(id); + + // 选中文本 + copyText.select(); + copyText.setSelectionRange(0, 99999); // 对于移动设备 + + // 执行复制命令 + document.execCommand('copy'); + + // 可以通知用户复制成功 + alert("文本已复制到剪贴板"); + + + + // try { + // await navigator.clipboard.writeText(d.value); + // this.$message({ + // showClose: true, + // message: this.$t(`personal.copySuccessful`), + // type: 'success' + // }); + // } catch (err) { + // console.log(err); + // this.$message({ + // showClose: true, + // message: this.$t(`personal.copyFailed`), + // type: 'error' + // }); + // } + }, + + + + + + + handelSetUp(item) { + this.modifyParams.id= item.id + this.modifyDialogVisible = true + this.fetchApiInfo({ id: item.id }) + }, + + modifyInformation() { + + if (!this.infoCheckIp && !this.apiInfo.ip) { + this.$message({ + showClose: true, + message: this.$t(`personal.ipAddressReminder`), + type: 'error' + }); + return + } + + if (this.apiInfo.perms.length == 0) { + this.$message({ + showClose: true, + message: this.$t(`personal.permissionReminder`), + type: 'error' + }); + return + } + + if (this.apiInfo.perms.length > 0) { + this.modifyParams.perms = this.apiInfo.perms.join(",") + } + if (this.apiInfo.ip) { + this.modifyParams.ip = this.apiInfo.ip + }else if(this.infoCheckIp){ + this.modifyParams.ip="" + } + + this.fetchUpdateAPI(this.modifyParams) + }, + clickCopy(item){ + + + // 创建临时输入框 + var tempInput = document.createElement('input'); + tempInput.value = item.key; + document.body.appendChild(tempInput); + + try { + tempInput.select(); + const isCopySuccessful = document.execCommand('copy'); + if (isCopySuccessful) { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + + }); + } else { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } + } catch (error) { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } finally { + if (document.body.contains(tempInput)) { + document.body.removeChild(tempInput); + } else { + console.log('临时输入框不是 body 的子节点,无法移除。'); + } + } + + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/personalAPI/index.vue b/mining-pool/public/src/views/personalCenter/personalAPI/index.vue new file mode 100644 index 0000000..7e9285e --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/personalAPI/index.vue @@ -0,0 +1,1068 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/personalMining/index.js b/mining-pool/public/src/views/personalCenter/personalMining/index.js new file mode 100644 index 0000000..cbbb3c8 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/personalMining/index.js @@ -0,0 +1,953 @@ + +import { getCheck,getAddBalace, getAddMinerAccount, getAccountList, getDelMinerAccount, getMinerAccountBalance, getCheckAccount,getCheckBalance,getIfBind } from "../../../api/personalCenter" +import {getAccountGradeList } from "../../../api/login" +import { Debounce,throttle }from "../../../utils/publicMethods"; + +export default { + data() { + return { + activeName: "mining", + dialogVisible: false, + labelPosition: "top", + formLabelAlign: { + + }, + currencyList: [ + // { + // value: "nexa", + // label: "nexa", + // img: require("../../../assets/img/currency-nexa.png"), + // imgUrl: `${this.$baseApi}img/nexa.png`, + + // }, + // { + // value: "grs", + // label: "grs", + // // img: require("../assets/images/grs.png"), + // imgUrl: `${this.$baseApi}img/grs.svg`, + + // }, + // { + // value: "mona", + // label: "mona", + // imgUrl: `${this.$baseApi}img/mona.svg`, + // }, + // { + // value: "dgb_skein", + // label: "dgb-skein-pool1", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + // { + // value: "dgb_qubit", + // label: "dgb-qubit-pool1", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + // { + // value: "dgb_odo", + // label: "dgb-odocrypt-pool1", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + // { + // value: "dgb2_odo", + // label: "dgb-odocrypt-pool2", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + // { + // value: "dgb_qubit_a10", + // label: "dgb-qubit-pool2", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + // { + // value: "dgb_skein_a10", + // label: "dgb-skein-pool2", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + // { + // value: "dgb_odo_b20", + // label: "dgb-odoscrypt-pool3", + // imgUrl: `${this.$baseApi}img/dgb.svg`, + // }, + + ], + walletDialogVisible: false, + accountList: [ + + // { + // addr: "sdijfsjdfdiougujidododododododododod44444444444444444444444dodododododododododoufsohifsfhifhsidi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remark: "备注信息jiojgddddddddddddddddddddddddddddddddddddd测试", + // }, + // { + // addr: "sdijfsdsiofjsiofjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remark: "备注信息测试", + // }, + // { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, + // { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remarks: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remark: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remark: "备注信息测试", + // }, { + // account: "sdijf6656fjsdifi", + // miningPool: "dgb-skein-pool1", + // currency: "dgb", + // remark: "备注信息测试", + // }, + ], + params: { + account: "", + miningPool: "", + currency: "", + remarks: "", + }, + checked: "", + checkAll: false, + checkedItems: [], + isIndeterminate: true, + selectedIndices: [], + WalletAddressParams: { + ma: "", + balance: "", + coin: "", + active: "0", + amount: "0", + remarks:"", + gCode:"" + }, + AccountParams: { + coin: "", + ma: "", + remarks: "", + balance:"", + code:"", + + }, + options: [ + + { + value: "1", + label: "personal.no" + }, + { + value: "0", + label: "personal.yes" + }, + ], + MiningLoading: false, + paymentSettingsData: { + ma: "", + balance: "", + active: "", + amount: "", + }, + deleteAccountDialog: false, + deleteAccount: "", + confirmBindingLoading:false, + amountDisabled:false, + isItBound:false, + securityLoading:false, + deleteGCode:"", + dialogVerification:false, + addMinerLoading:false, + screenCurrency:"", + newAccountList:[], + quotaList:[//起付额 + + { + value:"nexa", + amount:10000, + + }, + { + value:"grs", + amount:1, + + }, + { + value:"mona", + amount:1, + + }, + { + value:"dgbs", + amount:1, + + }, + { + value:"dgbq", + amount:1, + + }, + { + value:"dgbo", + amount:1, + + }, + { + value:"rxd", + amount:100, + + }, + + // { + // value:"enx", + // amount:5000, + + // }, + { + value:"alph", + amount:1, + + }, + { + value:"xmr", + amount:0.1, + + }, + + ], + amount:1, + lang: this.$i18n.locale, + } + }, + + mounted() { + + + + this.fetchIfBind() + + this.fetchAccountList() + + this.registerRecoveryMethod('fetchIfBind', ""); + this.registerRecoveryMethod('fetchAccountList', ""); + + this.currencyList = JSON.parse(localStorage.getItem("currencyList")) + window.addEventListener("setItem", () => { + this.currencyList = JSON.parse(localStorage.getItem("currencyList")) + }); + if (this.dialogVisible) { + this.$refs.select.$el.children[0].children[0].setAttribute('style', "background:#ffff;background-size: 20PX 20PX;color:#333;padding-left: 30PX;"); + + } + + + + }, + methods: { + async fetchIfBind(params){ + // this.securityLoading = true + this.setLoading('securityLoading', true); + const data = await getIfBind(params) + if (data && data.code === 200) { + if (data.data) { + this.isItBound =true + }else if(!data.data){ + this.isItBound =false + } + + if (this.$route.query.id && this.$route.query.coin && this.isItBound) { + this.fetchMinerAccountBalance({ id: this.$route.query.id }) + this.WalletAddressParams.coin =this.$route.query.coin + this.WalletAddressParams.ma =this.$route.query.ma + + }else if(this.$route.query.id && this.$route.query.coin && !this.isItBound){ + this.dialogVerification=true + } + } + this.setLoading('securityLoading', false); + }, + async fetchCheck(params){ + // this.addMinerLoading =true + this.setLoading('addMinerLoading', true); + const data = await getCheck(params) + if (!data) { + this.setLoading('addMinerLoading', false); + + } + if (data && data.code === 200) { + this.fetchAddMinerAccount(this.AccountParams) + }else if(data.code === 801){//账号不可用 + + this.$message({ + message: this.$t(`personal.duplicateAccount`), + type: "error", + showClose: true + }); + this.setLoading('addMinerLoading', false); + }else if(data.code === 802){//钱包不可用 + this.$message({ + message: this.$t(`personal.invalidAddress`), + type: "error", + showClose: true + }); + this.setLoading('addMinerLoading', false); + } + + }, + + async fetchCheckBalance(params){ + // this.confirmBindingLoading =true + this.setLoading('confirmBindingLoading', true); + const data = await getCheckBalance(params) + if (data && data.data) { + this.fetchWalletAddress(this.WalletAddressParams) + }else{ + this.$message({ + message: this.$t(`personal.invalidAddress`), + showClose: true, + type: 'error' + }); + } + this.setLoading('confirmBindingLoading', false); + }, + async fetchAccountGradeList(){ + const data = await getAccountGradeList() + this.$addStorageEvent(1,`miningAccountList`,JSON.stringify(data.data)) + }, + + + async fetchCheckAccount(params) { + const data = await getCheckAccount(params) + if (data && data.code == 200) { + if (data.data) { + this.fetchAddMinerAccount(this.AccountParams) + + + } else { + this.$message({ + message: this.$t(`personal.duplicateAccount`), + type: "error", + showClose: true + }); + } + } + }, + async fetchMinerAccountBalance(params) { + // this.MiningLoading = true + this.setLoading('MiningLoading', true); + const data = await getMinerAccountBalance(params) + if (data && data.code == 200) { + this.walletDialogVisible = true + this.paymentSettingsData = data.data + } + + if ( this.paymentSettingsData.active == `1` || this.paymentSettingsData.active == `否`|| this.paymentSettingsData.active == `No`) { + this.amountDisabled=true + + }else{ + this.amountDisabled=false + } + // this.paymentSettingsData.active = this.paymentSettingsData.active ? this.paymentSettingsData.active : `0` + this.paymentSettingsData.active = this.paymentSettingsData.active==`1` ? this.$t(`personal.no`) :this.$t(`personal.yes`) + + this.paymentSettingsData.amount = this.paymentSettingsData.amount ? this.paymentSettingsData.amount : `0` + this.setLoading('MiningLoading', false); + }, + async fetchDelMinerAccount(params) { + // this.MiningLoading = true + this.setLoading('MiningLoading', true); + const data = await getDelMinerAccount(params) + + if (data && data.code == 200) { + this.fetchAccountGradeList() + this.fetchAccountList() + this.checkedItems = [] + this.deleteAccountDialog = false + + + } + this.setLoading('MiningLoading', false); + }, + async fetchAccountList(params) { + // this.MiningLoading = true + this.setLoading('MiningLoading', true); + const data = await getAccountList(params) + this.accountList = data.data + console.log("请求成功,",data); + this.newAccountList = this.accountList + this.$addStorageEvent(1, `accountList`, JSON.stringify(this.accountList)) + + this.setLoading('MiningLoading', false); + + }, + + async fetchWalletAddress(params) { + const data = await getAddBalace(params) + if (data && data.code == 200) { + this.$message({ + message: data.msg, + type: "success", + showClose: true + }); + this.walletDialogVisible = false + for (const key in this.WalletAddressParams) { + this.WalletAddressParams[key]="" + } + } + this.fetchAccountList() + }, + //添加挖矿账户 + async fetchAddMinerAccount(params) { + // this.addMinerLoading =true + this.setLoading('addMinerLoading', true); + const data = await getAddMinerAccount(params) + if (data && data.code == 200) { + this.$message({ + message: data.msg, + type: "success", + showClose: true + }); + this.dialogVisible = false + this.AccountParams.ma="" + this.AccountParams.coin="" + this.AccountParams.remarks ="" + this.AccountParams.balance ="" + // this.fetchAccountList() + // this.fetchAccountGradeList() + } + + this.fetchAccountList() + this.fetchAccountGradeList() + + this.setLoading('addMinerLoading', false); + }, + handleCheckAllChange(val) { + + if (val) { + this.checkedItems = this.accountList.map(item => item.id); + }else{ + this.checkedItems=[] + + } + this.isIndeterminate = false; + // if (val) { + // this.checkedItems = this.accountList.map(() => true); + // this.selectedIndices = this.accountList.map((_, index) => index); + // } else { + // this.checkedItems = this.accountList.map(() => false); + // this.selectedIndices = []; + // } + + // this.isIndeterminate = false; + // ------------------------------------- + + + // if (val) { + // this.checkedItems = this.accountList.map((_, index) => index !== 0); + // this.selectedIndices = this.accountList.map((_, index) => index !== 0 ? index : null).filter(Boolean); + // } else { + // this.checkedItems = this.accountList.map(() => false); + // this.selectedIndices = []; + // } + // this.isIndeterminate = false; + }, + handleSingleCheckChange(index) { + if ((this.checkedItems.every((item) => item)) && (this.checkedItems.length == this.accountList.length)) { + this.checkAll = true + } else { + this.checkAll = false + } + if (this.checkedItems[index]) { + this.selectedIndices.push(index); + } else { + this.selectedIndices = this.selectedIndices.filter(i => i !== index); + } + // --------------------------- + // if (index === 0) { + // return; + // } + // if (this.checkedItems.every((item, i) => i !== 0 && item) && this.checkedItems.filter((item, i) => i !== 0).length === this.accountList.filter((_, i) => i !== 0).length) { + // this.checkAll = true; + // } else { + // this.checkAll = false; + // } + // if (index !== 0 && this.checkedItems[index]) { + // this.selectedIndices.push(index); + // } else if (index !== 0) { + // this.selectedIndices = this.selectedIndices.filter(i => i !== index); + // } + // console.log(!this.selectedIndices[0],5656); + + }, + handelActive(){ + + if (this.paymentSettingsData.active ==0) { + this.amountDisabled = false + }else if(this.paymentSettingsData.active ==1){ + this.amountDisabled = true + } + }, + + closeDialog(){ + this.walletDialogVisible =false + this.WalletAddressParams.gCode ="" + }, + addTo() { + if (this.isItBound) { + this.dialogVisible = true + }else{ + this.dialogVerification=true + } + + }, + confirmAdd:Debounce(function(){ + if (!this.AccountParams.ma) { + this.$message({ + message: this.$t(`personal.accountNumber`), + type: "error", + showClose: true + }); + return + } + if (!this.AccountParams.balance) { + this.$message({ + message: this.$t(`personal.inputWalletAddress`), + type: "error", + showClose: true + }); + return + } + if (!this.AccountParams.coin) { + this.$message({ + message:this.$t(`personal.selectCurrency`), + type: "error", + showClose: true + }); + return + } + + if (!this.AccountParams.code && this.isItBound) { + this.$message({ + showClose: true, + message: this.$t(`personal.gCode`), + type: 'error' + }); + + return + } + + // 账户只能输入字母、数字、下划线,且不能以数字开头,长度不小于4位,不大于24位 + const regexAccount=/^[a-zA-Z_][a-zA-Z0-9_]{3,23}$/ + + const PasswordIsValid = regexAccount.test(this.AccountParams.ma); + if (!PasswordIsValid) { + // 如果输入不符合要求,可以根据具体需求给出错误提示或进行其他处理 + this.$message({ + message: this.$t(`personal.accountFormat`), + type: "error", + showClose: true + }); + + return; + } + + this.fetchCheck({ coin: this.AccountParams.coin, ma: this.AccountParams.ma,balance: this.AccountParams.balance}) + },200), + // confirmAdd() { + + // if (!this.AccountParams.ma) { + // this.$message({ + // message: this.$t(`personal.accountNumber`), + // type: "error", + // showClose: true + // }); + // return + // } + // if (!this.AccountParams.balance) { + // this.$message({ + // message: this.$t(`personal.inputWalletAddress`), + // type: "error", + // showClose: true + // }); + // return + // } + // if (!this.AccountParams.coin) { + // this.$message({ + // message:this.$t(`personal.selectCurrency`), + // type: "error", + // showClose: true + // }); + // return + // } + + // if (!this.AccountParams.code && this.isItBound) { + // this.$message({ + // showClose: true, + // message: this.$t(`personal.gCode`), + // type: 'error' + // }); + + // return + // } + + // // 账户只能输入字母、数字、下划线,且不能以数字开头,长度不小于4位,不大于24位 + // const regexAccount=/^[a-zA-Z_][a-zA-Z0-9_]{3,23}$/ + + // const PasswordIsValid = regexAccount.test(this.AccountParams.ma); + // if (!PasswordIsValid) { + // // 如果输入不符合要求,可以根据具体需求给出错误提示或进行其他处理 + // this.$message({ + // message: this.$t(`personal.accountFormat`), + // type: "error", + // showClose: true + // }); + + // return; + // } + + // this.fetchCheck({ coin: this.AccountParams.coin, ma: this.AccountParams.ma,balance: this.AccountParams.balance}) + // // this.fetchCheckAccount({ coin: this.AccountParams.coin, ma: this.AccountParams.ma }) + + + + + // }, + handelAddClose(){ + for (let key in this.AccountParams) { + this.AccountParams[key] = ""; + } + this.$refs.select.$el.children[0].children[0].setAttribute('style', "background:#ffff;background-size: 20PX 20PX;color:#333;padding-left: 30PX;"); + + }, + deleteSelected() { + let id = this.checkedItems.join(`,`) + this.deleteAccount = this.accountList.filter(item => this.checkedItems.includes(item.id)).map(item => item.ma); + this.deleteAccount = this.deleteAccount.join(`、`) + + if (this.isItBound) { + this.deleteAccountDialog = true + }else{ + this.dialogVerification=true + } + + + //删除选中项 + // this.selectedIndices.sort((a, b) => b - a); + // this.selectedIndices.forEach(index => { + // this.accountList.splice(index, 1); + // }); + // // 清空选中索引数组 + // this.selectedIndices = []; + // this.checkedItems = [] + // ----------- + //删除选中项 默认第一项不能删除 + // const validSelectedIndices = this.selectedIndices.filter(index => index !== 0); + // validSelectedIndices.sort((a, b) => b - a); + // validSelectedIndices.forEach(index => { + // this.accountList.splice(index, 1); + // }); + // this.selectedIndices = []; + // this.checkedItems = this.accountList.map(() => false); + }, + confirmDelete() { + if (!this.deleteGCode && this.isItBound) { + this.$message({ + showClose: true, + message: this.$t(`personal.gCode`), + type: 'error' + }); + + return + } + + this.fetchDelMinerAccount({ id: this.checkedItems.join(`,`), gCode:this.deleteGCode}) + }, + handleCheckedCitiesChange(value) { + let checkedCount = value.length; + this.checkAll = checkedCount === this.accountList.length; + this.isIndeterminate = checkedCount > 0 && checkedCount < this.accountList.length; + }, + + bindWallet(item) { + + + this.handelQuotaList(item.coin) + this.WalletAddressParams.ma = item.ma + this.WalletAddressParams.coin = item.coin + + if (this.isItBound) { + this.fetchMinerAccountBalance({ id: item.id }) + }else{ + this.dialogVerification=true + } + + + + }, + confirmBinding() { + if (!this.paymentSettingsData.balance) { + this.$message({ + message: this.$t(`personal.walletTips`), + type: "error", + showClose: true + }); + return + } + + if ( this.WalletAddressParams.coin.includes(`dgb`) &&this.paymentSettingsData.amount < 1) { + this.$message({ + message: `${this.$t(`personal.PaymentAmountTips`)} 1`, + type: "error", + showClose: true + }); + return + } + if (this.isItBound && !this.WalletAddressParams.gCode) { + this.$message({ + showClose: true, + message: this.$t(`personal.gCode`), + type: 'error' + }); + + return + } + + + + const currentQuota = this.quotaList.find(item => item.value === this.WalletAddressParams.coin); + if (currentQuota) { + // 比较用户设置的支付额度是否小于最小支付额度 + if (Number(this.paymentSettingsData.amount) < currentQuota.amount) { + // 如果小于最小支付额度,显示错误提示 + this.$message({ + message: `${this.$t(`personal.PaymentAmountTips`)} ${currentQuota.amount} `, + type: "error", + showClose: true + }); + + + + return + } + } + + + + this.WalletAddressParams.balance = this.paymentSettingsData.balance + this.WalletAddressParams.amount = this.paymentSettingsData.amount + this.WalletAddressParams.active = this.paymentSettingsData.active + this.WalletAddressParams.remarks = this.paymentSettingsData.remark + + if (this.WalletAddressParams.active == "是" ||this.WalletAddressParams.active == "Yes" ) { + this.WalletAddressParams.active=0 + }else if(this.WalletAddressParams.active == "否" ||this.WalletAddressParams.active == "No"){ + this.WalletAddressParams.active=1 + } + this.fetchCheckBalance({coin:this.WalletAddressParams.coin,balance:this.WalletAddressParams.balance}) + + // this.fetchWalletAddress(this.WalletAddressParams) + }, + jumpVerification(){ + // this.$router.push( { name: 'SecuritySetting', params: { active: true} }) + + this.$router.push({ + path: `/${this.lang}/personalCenter/securitySetting`, + params: { active: true } + }).catch(err => { + if(err.name !== 'NavigationDuplicated') { + console.error('路由跳转失败:', err); + } + }); + + }, + closeDeleteDialog(){ + this.deleteGCode ="" + }, + changeSelection(scope) { + let brand = scope + for (let index in this.currencyList) { + let aa = this.currencyList[index]; + let value = aa.value; + if (brand === value) { + this.$refs.select.$el.children[0].children[0].setAttribute('style', "background:url(" + aa.imgUrl + ") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;"); + } + } + // this.fetchParam({ coin: this.value }) + + }, + changeScreen(scope) { + let brand = scope + for (let index in this.currencyList) { + let aa = this.currencyList[index]; + let value = aa.value; + if (brand === value) { + this.$refs.screen.$el.children[0].children[0].setAttribute('style', "background:url(" + aa.imgUrl + ") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;"); + } + } + if (!scope) { + this.newAccountList =this.accountList + + this.$refs.screen.$el.children[0].children[0].setAttribute('style', "background:url(``) no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 8PX;"); + + }else{ + this.newAccountList = this.accountList.filter(item=>item.coin == scope) + } + + + // this.fetchParam({ coin: this.value }) + + }, + clickCopy(item){ + + + // 创建临时输入框 + var tempInput = document.createElement('input'); + tempInput.value = item.addr; + document.body.appendChild(tempInput); + + try { + tempInput.select(); + const isCopySuccessful = document.execCommand('copy'); + if (isCopySuccessful) { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + + }); + } else { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } + } catch (error) { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } finally { + if (document.body.contains(tempInput)) { + document.body.removeChild(tempInput); + } else { + console.log('临时输入框不是 body 的子节点,无法移除。'); + } + } + + + + // navigator.clipboard.writeText(value).then(() => { + // this.$message({ + // showClose: true, + // message: this.$t(`personal.copySuccessful`), + // type: 'success', + + // }); + // }).catch(err => { + // this.$message({ + // showClose: true, + // message: this.$t(`personal.copyFailed`), + // type: 'error', + + // }); + // }); + }, + jumpAlerts(item){ + + + this.$message({ + showClose: true, + message: this.$t(`alerts.turnOffReminder`), + type: 'error', + + }); + // const lang = this.lang; + // this.$router.push({ + // path: `/${lang}/alerts`, + // query: { + // ma: item.ma, + // img: item.img, + // id: item.id, + // coin: item.coin + // } + // }); + + // this.$router.push({ + // path: "/alerts", + // query: { ma:item.ma,img:item.img, id:item.id,coin:item.coin }, + // }); + }, + handelQuotaList(coin){ + try { + let obj = this.quotaList.find(item=>item.value == coin) + + + if (obj) { + this.amount = obj.amount + }else{ + return 0 + } + } catch (error) { + console.log(error); + + } + } + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/personalMining/index.vue b/mining-pool/public/src/views/personalCenter/personalMining/index.vue new file mode 100644 index 0000000..61d6b78 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/personalMining/index.vue @@ -0,0 +1,880 @@ + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/readOnly/index.js b/mining-pool/public/src/views/personalCenter/readOnly/index.js new file mode 100644 index 0000000..496f591 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/readOnly/index.js @@ -0,0 +1,530 @@ + + +import Login from "@/views/login/login.vue"; +import {getHtmlUrl,getUrlList,getUrlInfo,getChangeUrlInfo,getDelPage} from "../../../api/readOnlyDisplay"; + +export default { + data() { + return { + activeName: "mining", + dialogVisible: false, + labelPosition: "top", + formLabelAlign: { + + }, + currencyList: [ + // { + // value: "grs", + // label: "grs", + // // img: require("../assets/images/grs.png"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/258.png", + + // }, + // { + // value: "mona", + // label: "mona", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/213.png", + // }, + // { + // value: "dgb_skein", + // label: "dgb-skein-pool1", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_qubit", + // label: "dgb-qubit-pool1", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_odo", + // label: "dgb-odocrypt-pool1", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb2_odo", + // label: "dgb-odocrypt-pool2", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_qubit_a10", + // label: "dgb-qubit-pool2", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_skein_a10", + // label: "dgb-skein-pool2", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_odo_b20", + // label: "dgb-odoscrypt-pool3", + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + + ], + Search: "", + value: "https://www.f2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109", + currency: "mona", + readOnlyList: [ + + // { + // remark: "测试备注", + // jurisdiction: [ + // "矿工", "收益", "支付", + // ], + // account: "afhaifhauhf", + // coin: "BTC", + // url: "https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109", + // }, + // { + // remark: "测试备注", + // jurisdiction: [ + // "矿工", "收益", + // ], + // account: "afhaifddddhauhf", + // coin: "BTC", + // url: "https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109", + // }, + + + ], + checkAll: false, + checkedItems: [], + isIndeterminate: true, + selectedIndices: [], + params: { + account: "", + coin: "", + config: "", + remark: "", + lang:"zh", + }, + listParams:{ + page: 1, + limit:10, + }, + checked: "", + checkList: ["1"], + miningAccountList: [], + + newMiningAccountList:[], + currentPage:1, + TotalSize: 0, + establishLoading:false, + dialogData:{ + account:["nexa","a21miner"], + remark:"566", + config:["1","2"] + }, + modifyDialogVisible:false, + dialogCheckList:[], + modifyParams:{ + key:"", + remark:"", + config:"", + }, + modifyLoading:false, + jurisdictionList:[ + { + value:"1", + label:"mining.miner" + }, + { + value:"2", + label:"mining.profit" + }, + { + value:"3", + label:"mining.payment" + }, + + + ], + UrlListLoading:false, + UrlListParams:{ + page:1, + limit:10, + }, + dialogTitle:"", + } + }, + watch:{ + miningAccountList: { + handler(val){ + this.newMiningAccountList= this.miningAccountList.map(item => ({ + value: item.coin, + img: item.img, + label: item.title, + children: item.children.map(child => ({ + value: child.account, + label: child.account, + id: child.id + })) + })); + + }, + deep: true, + immediate: true, + + + } + }, + mounted() { + + + + let miningAccountList = localStorage.getItem("miningAccountList") + this.miningAccountList = JSON.parse(miningAccountList) + + + this.currencyList = JSON.parse(localStorage.getItem(`currencyList`)) + window.addEventListener("setItem", () => { + this.currencyList = JSON.parse(localStorage.getItem("currencyList")) + let miningAccountList = localStorage.getItem("miningAccountList") + this.miningAccountList = JSON.parse(miningAccountList) + }); + + + this.newMiningAccountList= this.miningAccountList.map(item => ({ + value: item.coin, + img: item.img, + label: item.title, + children: item.children.map(child => ({ + value: child.account, + label: child.account, + id: child.id, + img: item.img, + })) + })); + + + + + this.fetchUrlList(this.UrlListParams) + this.registerRecoveryMethod('fetchUrlList', this.UrlListParams); + }, + methods: { + async fetchHtmlUrl(params){ + // this.establishLoading = true + this.setLoading('establishLoading', true); + const data = await getHtmlUrl(params) + + if (data && data.code == 200) { + this.fetchUrlList(this.UrlListParams) + this.dialogVisible=false + } + + this.setLoading('establishLoading', false); + }, + async fetchUrlList(params){ + // this.UrlListLoading = true + this.setLoading('UrlListLoading', true); + const data = await getUrlList(params) + console.log(data,666 ); + + this.readOnlyList = data.rows + + this.TotalSize = data.total + + this.setLoading('UrlListLoading', false); + }, + async fetchUrlInfo(params){ + const data = await getUrlInfo(params) + console.log(data); + if (data && data.code == 200) { + this.dialogData = data.data + this.modifyDialogVisible = true + this.dialogTitle = `${this.dialogData.label}/${this.dialogData.account}` + + } + + + + }, + async fetchChangeUrlInfo(params){ + // this.modifyLoading=true + this.setLoading('modifyLoading', true); + const data = await getChangeUrlInfo(params) + console.log(data); + if (data && data.code == 200) { + this.fetchUrlList(this.UrlListParams) + this.modifyDialogVisible=false + console.log("修改成功"); + + } + this.setLoading('modifyLoading', false); + + }, + async fetchDelete(params){ + const data = await getDelPage(params) + console.log(data); + if (data && data.code == 200) { + this.checkedItems =[] + this.fetchUrlList(this.UrlListParams) + } + }, + + + addTo() { + this.dialogVisible = true + + + }, + handleChange(selectedOptions){ + + // const allSelectedNodes = this.$refs.cascader.getCheckedNodes(true); + // console.log(allSelectedNodes,"sfkospfko "); + this.params.account=selectedOptions[1] + this.params.coin = selectedOptions[0] + + + + }, + confirmAddition() { + if (!this.params.account || !this.params.coin) { + this.$message({ + showClose: true, + message: this.$t(`personal.accountSelection`), + type: 'error' + }); + return + } + console.log(this.checkList.length,6666); + + if (this.checkList.length < 1) { + this.$message({ + showClose: true, + message: this.$t(`personal.selectPermissions`), + type: 'error' + }); + return + } + + this.params.config = this.checkList.join(",") + this.params.lang = this.$i18n.locale + this.fetchHtmlUrl(this.params) + // this.readOnlyList.push( + + // { + // remarks:this.params.remarks, + // jurisdiction:this.checkList, + // account:this.params.account, + // currency:this.params.miningPool, + // link:"https://www.m2pool.com/mining-user/10f74b7beb73e27e8d442e7958801fda?user_name=lx497681109", + // }, + + // ) + // this.dialogVisible=false + // this.checkedItems=[] + // this.selectedIndices = []; + // this.handleCheckAllChange() + }, + modifyInfo(){ + + if (this.dialogData.config.length < 1) { + this.$message({ + showClose: true, + message: this.$t(`personal.selectPermissions`), + type: 'error' + }); + return + } + + this.modifyParams.remark = this.dialogData.remark + this.modifyParams.config = this.dialogData.config.join(",") + + this.fetchChangeUrlInfo(this.modifyParams) + }, + handleClose() { + for (const key in this.params) { + this.params[key] = "" + } + + this.checkList = ["1"] + }, + + handleCheckAllChange(val) { + console.log(this.checkAll,val,6565); + + if (val) { + // this.checkedItems = this.readOnlyList.map(item => item.account); + this.checkedItems = this.readOnlyList.map(item => item.key); + } else { + this.checkedItems = [] + + } + this.isIndeterminate = false; + + + + // if (val) { + // this.checkedItems = this.readOnlyList.map(() => true); + // this.selectedIndices = this.readOnlyList.map((_, index) => index); + // } else { + // this.checkedItems = this.readOnlyList.map(() => false); + // this.selectedIndices = []; + + // } + // this.isIndeterminate = false; + }, + handleSingleCheckChange(value) { + console.log(value,"value"); + + let checkedCount = value.length; + this.checkAll = checkedCount === this.readOnlyList.length; + this.isIndeterminate = checkedCount > 0 && checkedCount < this.readOnlyList.length; + + // if ( (this.checkedItems.every((item) => item)) && (this.checkedItems.length == this.readOnlyList.length)) { + // this.checkAll=true + // }else{ + // this.checkAll=false + // } + // if (this.checkedItems[index]) { + // this.selectedIndices.push(index); + // } else { + // this.selectedIndices = this.selectedIndices.filter(i => i!== index); + // } + + + }, + deleteSelected() { + + console.log( this.checkedItems,"积分积分就"); + + this.fetchDelete({key:this.checkedItems.join(",")}) + + // 从选中索引的最大值开始删除,以避免删除后索引的变化影响后续删除 + // this.selectedIndices.sort((a, b) => b - a); + // this.selectedIndices.forEach(index => { + // this.readOnlyList.splice(index, 1); + // }); + // 清空选中索引数组 + // this.selectedIndices = []; + // this.handleCheckAllChange() + + + + }, + async handelCopy(id) { + + var d = document.getElementById(id) //获取需要复制的元素 + + + + d.select() //选中 + // document.execCommand("copy") //直接复制 + + try { + await navigator.clipboard.writeText(d.value); + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success' + }); + } catch (err) { + console.log(err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error' + }); + } + }, + handelSetUp(item) { + + this.modifyDialogVisible = true + this.fetchUrlInfo({key:item.key}) + this.modifyParams.key= item.key + }, + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + this.UrlListParams.limit = val + this.UrlListParams.page = 1 + this.fetchUrlList(this.UrlListParams) + this.currentPage = 1 + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); + this.UrlListParams.page = val + this.fetchUrlList(this.UrlListParams) + }, + handelJurisdiction(subItem){ + let obj= this.jurisdictionList.find(item=>subItem == item.value) + + try{ + if (obj.value) { + return obj.label + }else{ + return "" + } + }catch{ + console.log(111); + + } + + + + }, + clickCopy(item){ + + // 创建临时输入框 + var tempInput = document.createElement('input'); + tempInput.value = item.url; + document.body.appendChild(tempInput); + + try { + tempInput.select(); + const isCopySuccessful = document.execCommand('copy'); + if (isCopySuccessful) { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success', + + + }); + } else { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } + } catch (error) { + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'success', + + + }); + } finally { + if (document.body.contains(tempInput)) { + document.body.removeChild(tempInput); + } else { + console.log('临时输入框不是 body 的子节点,无法移除。'); + } + } + + + + // navigator.clipboard.writeText(value).then(() => { + // this.$message({ + // showClose: true, + // message: this.$t(`personal.copySuccessful`), + // type: 'success', + + // }); + // }).catch(err => { + // this.$message({ + // showClose: true, + // message: this.$t(`personal.copyFailed`), + // type: 'error', + + // }); + // }); + } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/readOnly/index.vue b/mining-pool/public/src/views/personalCenter/readOnly/index.vue new file mode 100644 index 0000000..b00257e --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/readOnly/index.vue @@ -0,0 +1,935 @@ + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/securitySetting/index.js b/mining-pool/public/src/views/personalCenter/securitySetting/index.js new file mode 100644 index 0000000..63beedd --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/securitySetting/index.js @@ -0,0 +1,632 @@ +import { getIfBind, getBindInfo, getBindGoogle, getBindCode, getCloseStepTwo, getCloseCode, getUpdatePwd, getUpdatePwdCode } from "../../../api/personalCenter" +import { encryption } from "../../../utils/fun"; +import { getResetPwd, getResetPwdCode } from "../../../api/login" +export default { + data() { + return { + dialogVisible: false, + verificationDialogVisible: false, + checked: "", + confirmationVerification: false, + maintainDialogVisible: false, + deleteAccountDialog: false, + params: { + gCode: "", + eCode: "", + pwd: "", + secret: "", + }, + btnDisabled: false, + btnDisabledClose: false, + btnDisabledPassword: false, + bthText: "user.obtainVerificationCode", + bthTextClose: "user.obtainVerificationCode", + bthTextPassword: "user.obtainVerificationCode", + time: "", + clauseList: [ + { + title: "进行帐户删除操作将发生什么?", + children: [ + { + value: "1", + label: "此帐户及其所属子帐户将无法继续使用。", + }, + { + value: "2", + label: "此帐户及其子帐户的数据将按照我们的数据保留政策被删除。一些情况将不受此限。", + }, + { + value: "3", + label: "帐户被永久删除后,您将无法找回帐户。", + }, + + ] + }, + { + title: "在申请删除此帐户之前,请您:", + children: [ + { + value: "1", + label: "在电脑端访问收益页面,导出您需要的收益记录进行备份。", + }, + { + value: "2", + label: "仔细检查每个帐户、子帐户的余额。", + }, + { + value: "3", + label: "在矿机及软件的挖矿配置中,确定已删除此帐户名及其子帐户名。", + }, + { + value: "4", + label: "确定已经在所有设备登出此帐户。", + }, + + ] + }, + ], + reasonList: [], + value: "", + isItBound: false, + bindInfo: { + // secret:"455645645646ABC", + // img:"iVBORw0KGgoAAAANSUhEUgAAAIwAAACMCAYAAACuwEE+AAAC+UlEQVR42u3dW27lQAgFQO9/05MljJJu4GAXUr5y4/i6yxKCfjz/hPhFPB6BAEYAI0LBPM/T+vPfG/zl359+/vR53L5+2vgAAwwwwAADzBYw15Om4QG/DeIU/OkL1D4+wAADDDDAALMUTHcSWD1A3Un1dBJ9fH1ggAEGGGCAASYiSb1dSKy+H2CAAQYYYIAB5htgqpuf0yCAAQYYYIABBphvNh9vf5/upFu3GhhggAEGGGBqksrppPjtv//8qgG/BwYYYIAB5iWR1rxMS2qPny8wwAADDDDALAUzPeGoe+FZNdjuF+D4BQEGGGCAAQaYUDDTA7htgtPtz3c3K8srvcAAAwwwwAATAiZ9sXva9aZBAgMMMMAAA8xXwaQVntL+32lS3n398ZWPwAADDDDAAFMEproZ172JYHczr7sZ2w0YGGCAAQYYYFLBpDf/pu9nerOA8cIjMMAAAwwwwISC6f7C00C3FdrGX0hggAEGGGCACQWTXlj6elI7njQDAwwwwAADzBIw1c286qS4uxm4bePq8kngwAADDDDAANMEpnsAbaS8/HAKYIABBhhggFl6XlJ3YSwtiU4/yPz6/QMDDDDAAANMKJhqAN2FveoH2F04HG9eAgMMMMAAA0womOlCWHchaluS3D2BDRhggAEGGGC2gOlOMqubfdVguw/1nE7agQEGGGCAASYVzPSAdQ/odOHvdasGgAEGGGCAASZkXdJ0ErftfqYLa9WFQGCAAQYYYIBJBZO26eD0gVnpGya1T7gCBhhggAEGmFAwb0s605LG6iR5/JBQYIABBhhggBkCM52UdU8KX7ehz/RCP2CAAQYYYIBZAibtgUwDn55Qdb0QBwwwwAADDDAfAfO2pHb7oaDtGzoBAwwwwAADDDCfOMBrunl7/QUABhhggAEGGGAiD9mcBt2dBK9PeoEBBhhggAEmpPnYnXSmbZAUv4ERMMAAAwwwwCwBs26xePNCsLSFd59bNQAMMMAAAwwwQvyl+SgEMAIYMRM/WzKCeTSdtfoAAAAASUVORK5CYII", + }, + BindInfoLoading: false, + changePasswordDialogVisible: false, + securityLoading: false, + changePasswordParams: { + // email:"", + password: "", + updatePwdCode: "", + // gCode:"", + }, + newPassword: "", + ResetPwdLoading: false, + closeDialogVisible: false, + closeLoading: false, + closeParams: { + gCode: "", + eCode: "", + + }, + countDownTime: 60, + timer: null, + countDownTimeClose: 60, + timerclose: null, + countDownTimePassword: 60, + timerPassword: null, + lang:"zh", + } + }, + computed: { + countDown() { + const minutes = Math.floor(this.countDownTime / 60); + const seconds = this.countDownTime % 60; + const m = minutes < 10 ? "0" + minutes : minutes; + const s = seconds < 10 ? "0" + seconds : seconds; + return `${s}`; + // return`${s}` + }, + countDownClose() { + const minutes = Math.floor(this.countDownTimeClose / 60); + const seconds = this.countDownTimeClose % 60; + const m = minutes < 10 ? "0" + minutes : minutes; + const s = seconds < 10 ? "0" + seconds : seconds; + return `${s}`; + // return`${s}` + }, + + countDownPassword() { + const minutes = Math.floor(this.countDownTimePassword / 60); + const seconds = this.countDownTimePassword % 60; + const m = minutes < 10 ? "0" + minutes : minutes; + const s = seconds < 10 ? "0" + seconds : seconds; + return `${s}`; + // return`${s}` + }, + + }, + created() { + + + if (window.sessionStorage.getItem("security_time")) { + this.countDownTime = Number(window.sessionStorage.getItem("security_time")); + this.startCountDown() + this.btnDisabled = true; + this.bthText = `user.again` + } + + if (window.sessionStorage.getItem("close_time")) { + this.countDownTimeClose = Number(window.sessionStorage.getItem("close_time")); + this.startCountDownClose() + this.btnDisabledClose = true; + this.bthTextClose = `user.again` + } + if (window.sessionStorage.getItem("Password_time")) { + this.countDownTimePassword = Number(window.sessionStorage.getItem("Password_time")); + this.startCountDownPassword() + this.btnDisabledPassword = true; + this.bthTextPassword = `user.again` + } + + }, + mounted() { + + this.lang = this.$i18n.locale; // 初始化语言值 + this.fetchIfBind() + this.registerRecoveryMethod('fetchIfBind', ""); + if (this.$route.params.active) { + this.handelVerification() + } + }, + methods: { + async fetchIfBind(params) { + this.setLoading('securityLoading', true); + const data = await getIfBind(params) + if (data && data.code === 200) { + if (data.data) { + this.isItBound = true + } else if (!data.data) { + this.isItBound = false + } + } + this.setLoading('securityLoading', false); + }, + async fetchBindInfo(params) { + this.setLoading('BindInfoLoading', true); + const data = await getBindInfo(params) + console.log(data, "绑定信息"); + if (data && data.code === 200) { + this.bindInfo = data.data + this.verificationDialogVisible = true + this.dialogVisible = false + } + + this.setLoading('BindInfoLoading', false); + }, + async fetchBindGoogle(params) { + this.setLoading('BindInfoLoading', true); + const data = await getBindGoogle(params) + console.log(data, "绑定"); + if (data && data.code === 200) { + this.isItBound = true + this.$message({ + message: this.$t(`user.verificationEnabled`), + type: "success", + showClose: true + }); + this.verificationDialogVisible = false + this.confirmationVerification = false + for (const key in this.params) { + this.params[key] = "" + } + + + } + this.setLoading('BindInfoLoading', false); + }, + async fetchBindCode(params) { + const data = await getBindCode(params) + if (data && data.code === 200) { + this.$message({ + message: this.$t(`user.verificationCodeSuccessful`), + type: "success", + showClose: true + }); + } + }, + async fetchResetPwd(params) { + this.setLoading('ResetPwdLoading', true); + const data = await getUpdatePwd(params) + if (data && data.code === 200) { + this.$message({ + message: this.$t(`user.modifiedSuccessfully`), + type: "success", + showClose: true + }); + this.changePasswordDialogVisible = false + this.dialogVisible = false + this.verificationDialogVisible = false + localStorage.removeItem("token") + this.$router.push(`/${lang}/login`); + } + this.setLoading('ResetPwdLoading', false); + }, + async fetchResetPwdCode(params) { + const data = await getUpdatePwdCode(params) + if (data && data.code === 200) { + this.$message({ + message: this.$t(`user.codeSuccess`), + type: "success", + showClose: true + }); + } + + }, + async fetchCloseStepTwo(params) { + this.setLoading('closeLoading', true); + const data = await getCloseStepTwo(params) + if (data && data.code === 200) { + this.$message({ + message: this.$t(`personal.Closed`), + type: "success", + showClose: true + }); + this.verificationDialogVisible = false + this.confirmationVerification = false + this.closeDialogVisible = false + this.fetchIfBind() + for (const key in this.closeParams) { + this.closeParams[key] = "" + } + } + this.setLoading('closeLoading', false); + }, + async fetchCloseCode(params) { + const data = await getCloseCode(params) + if (data && data.code === 200) { + this.$message({ + message: this.$t(`user.codeSuccess`), + type: "success", + showClose: true + }); + + } + }, + changePassword() { + + this.changePasswordDialogVisible = true + // if ( this.isItBound) { + // this.changePasswordDialogVisible =true + // }else{ + // this.dialogVisible=true + // } + + }, + jumpVerification() { + // this.dialogVisible=false + // this.verificationDialogVisible = true + this.fetchBindInfo() + + }, + nextStep() { + if (!this.checked) { + this.$message({ + showClose: true, + message: this.$t(`personal.confirmSelection`), + type: 'error' + }); + return + } + this.verificationDialogVisible = false + this.maintainDialogVisible = false + this.confirmationVerification = true + }, + previousStep() { + this.confirmationVerification = false + this.verificationDialogVisible = true + }, + maintainPassword() { + this.maintainDialogVisible = true + }, + + deleteAccount() { + this.deleteAccountDialog = true + }, + handelVerification() { + // this.verificationDialogVisible = true + this.fetchBindInfo() + + }, + modifyVerification() { + this.fetchBindInfo() + // this.verificationDialogVisible = true + }, + closeVerification() { + this.closeDialogVisible = true + }, + copySecret() { + + navigator.clipboard.writeText(this.bindInfo.secret).then(() => { + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success' + }); + }).catch(err => { + console.log('复制失败', err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error' + }); + }); + + }, + + handelCode() { + // if (!this.changePasswordParams.email) { + // this.$message({ + // showClose: true, + // message: this.$t(`user.inputEmail`), + // type: 'error' + // }); + // return + // } + this.fetchResetPwdCode() + + if (window.sessionStorage.getItem("Password_time") == null) { + this.startCountDownPassword() + } else { + this.countDownTimePassword = Number(window.sessionStorage.getItem("Password_time")); + this.startCountDownPassword() + } + // this.time = 60; + // let timer = setInterval(() => { + // if (this.time) { + // this.time-- + // this.btnDisabled = true; + // // this.bthText= this.time+`s后重新获取` + // this.bthText = `user.again` + // } else { + // this.btnDisabled = false; + // this.bthText = "user.obtainVerificationCode" + // this.time = ""; + // clearTimeout(timer) + // } + // }, 1000) + }, + confirmchangePassword() { + // if (!this.changePasswordParams.email) { + // this.$message({ + // showClose: true, + // message: this.$t(`user.inputEmail`), + // type: 'error' + // }); + // return + // } + + if (!this.changePasswordParams.password) { + this.$message({ + showClose: true, + message: this.$t(`personal.pwd`), + type: 'error' + }); + return + } + + if (!this.changePasswordParams.updatePwdCode) { + this.$message({ + showClose: true, + message: this.$t(`personal.eCode`), + type: 'error' + }); + return + } + // if (this.isItBound && !this.changePasswordParams.gCode) { + // this.$message({ + // showClose: true, + // message: this.$t(`personal.gCode`), + // type: 'error' + // }); + // return + // } + if (this.changePasswordParams.password !== this.newPassword) { + + this.$message({ + showClose: true, + message: this.$t(`user.confirmPassword2`), + type: 'error' + }); + return + + } + + // 密码验证 8<=密码<=32 包含大小写字母、数字和特殊字符(!@#¥%……&*) + const regexPassword = + /^(?!.*[\u4e00-\u9fa5])(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\W_]+$)(?![a-z0-9]+$)(?![a-z\W_]+$)(?![0-9\W_]+$)[a-zA-Z0-9\W_]{8,32}$/; // 正则表达式 + + const PasswordIsValid = regexPassword.test(this.changePasswordParams.password); + if (!PasswordIsValid) { + // 如果输入不符合要求,可以根据具体需求给出错误提示或进行其他处理 + this.$message({ + message: this.$t(`user.PasswordReminder`), + type: "error", + showClose: true + }); + + return; + } + + //加密 + const form = { ...this.changePasswordParams }; + form.password = encryption(this.changePasswordParams.password); + + + this.fetchResetPwd(form) + + }, + + + confirmActivation() { + + + if (!this.params.pwd) { + this.$message({ + showClose: true, + message: this.$t(`personal.pwd`), + type: 'error' + }); + return + } + + if (!this.params.eCode) { + this.$message({ + showClose: true, + message: this.$t(`personal.eCode`), + type: 'error' + }); + return + } + if (!this.params.gCode) { + this.$message({ + showClose: true, + message: this.$t(`personal.gCode`), + type: 'error' + }); + return + } + + this.params.secret = this.bindInfo.secret + + //加密 + const form = { ... this.params }; + form.pwd = encryption(this.params.pwd); + + + this.fetchBindGoogle(form) + + }, + handelECode() { + + this.fetchBindCode() + + if (window.sessionStorage.getItem("security_time") == null) { + this.startCountDown() + } else { + this.countDownTime = Number(window.sessionStorage.getItem("security_time")); + this.startCountDown() + } + + // this.time = 60; + // let timer = setInterval(()=>{ + // if ( this.time) { + // this.time-- + // this.btnDisabled = true; + // // this.bthText= this.time+`s后重新获取` + // this.bthText= `user.again` + // }else { + // this.btnDisabled = false; + // this.bthText="user.obtainVerificationCode" + // this.time = ""; + // clearTimeout(timer) + // } + // },1000) + }, + startCountDown() { + this.timer = setInterval(() => { + + if (this.countDownTime <= 1) { + //当监测到countDownTime为0时,清除计数器并且移除sessionStorage,然后执行提交试卷逻辑 + clearInterval(this.timer); + sessionStorage.removeItem("security_time"); + + this.countDownTime = 60 + this.btnDisabled = false; + this.bthText = `user.obtainVerificationCode` + } else if (this.countDownTime > 0) { + //每秒让countDownTime -1秒,并设置到sessionStorage中 + this.countDownTime--; + this.btnDisabled = true; + this.bthText = `user.again` + window.sessionStorage.setItem("security_time", this.countDownTime); + } + }, 1000); + }, + startCountDownClose() { + this.timerclose = setInterval(() => { + + if (this.countDownTimeClose <= 1) { + //当监测到countDownTime为0时,清除计数器并且移除sessionStorage,然后执行提交试卷逻辑 + clearInterval(this.timerclose); + sessionStorage.removeItem("close_time"); + + this.countDownTimeClose = 60 + this.btnDisabledClose = false; + this.bthTextClose = `user.obtainVerificationCode` + } else if (this.countDownTimeClose > 0) { + //每秒让countDownTimeClose -1秒,并设置到sessionStorage中 + this.countDownTimeClose--; + this.btnDisabledClose = true; + this.bthTextClose = `user.again` + window.sessionStorage.setItem("close_time", this.countDownTimeClose); + } + }, 1000); + }, + startCountDownPassword() { + this.timerPassword = setInterval(() => { + + if (this.countDownTimePassword <= 1) { + //当监测到countDownTime为0时,清除计数器并且移除sessionStorage,然后执行提交试卷逻辑 + clearInterval(this.timerPassword); + sessionStorage.removeItem("Password_time"); + + this.countDownTimePassword = 60 + this.btnDisabledPassword = false; + this.bthTextPassword = `user.obtainVerificationCode` + } else if (this.countDownTimePassword > 0) { + //每秒让countDownTimePassword -1秒,并设置到sessionStorage中 + this.countDownTimePassword--; + this.btnDisabledPassword = true; + this.bthTextPassword = `user.again` + window.sessionStorage.setItem("Password_time", this.countDownTimePassword); + } + }, 1000); + }, + + handelCloseCode() { + this.fetchCloseCode() + + if (window.sessionStorage.getItem("close_time") == null) { + this.startCountDownClose() + } else { + this.countDownTimeClose = Number(window.sessionStorage.getItem("close_time")); + this.startCountDownClose() + } + // this.time = 60; + // let timer = setInterval(()=>{ + // if ( this.time) { + // this.time-- + // this.btnDisabled = true; + // // this.bthText= this.time+`s后重新获取` + // this.bthText= `user.again` + // }else { + // this.btnDisabled = false; + // this.bthText="user.obtainVerificationCode" + // this.time = ""; + // clearTimeout(timer) + // } + // },1000) + }, + confirmClose() { + if (!this.closeParams.eCode) { + this.$message({ + showClose: true, + message: this.$t(`personal.eCode`), + type: 'error' + }); + return + } + if (!this.closeParams.gCode) { + this.$message({ + showClose: true, + message: this.$t(`personal.gCode`), + type: 'error' + }); + return + } + + this.fetchCloseStepTwo(this.closeParams) + + }, + closeDialog() { + // this.btnDisabled = false; + // this.bthText="user.obtainVerificationCode" + // this.time = ""; + }, + + + + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/personalCenter/securitySetting/index.vue b/mining-pool/public/src/views/personalCenter/securitySetting/index.vue new file mode 100644 index 0000000..75793a0 --- /dev/null +++ b/mining-pool/public/src/views/personalCenter/securitySetting/index.vue @@ -0,0 +1,1161 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/rate/index.js b/mining-pool/public/src/views/rate/index.js new file mode 100644 index 0000000..7502e8e --- /dev/null +++ b/mining-pool/public/src/views/rate/index.js @@ -0,0 +1,160 @@ +import { findDataInfo ,documentsList} from '../../api/documentManagement' +export default { + data(){ + return{ + rateList:[ + { + value:"nexa", + label:"nexa", + img:`${this.$baseApi}img/nexa.png`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"10000", + }, + { + value:"grs", + label:"grs", + img:`${this.$baseApi}img/grs.svg`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"1", + }, + { + value:"mona", + label:"mona", + img:`${this.$baseApi}img/mona.svg`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"1", + }, + { + value:"dgbs", + label:"dgb(skein)", + img:`${this.$baseApi}img/dgb.svg`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"1", + }, + { + value:"dgbq", + label:"dgb(qubit)", + img:`${this.$baseApi}img/dgb.svg`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"1", + }, + { + value:"dgbo", + label:"dgb(odocrypt)", + img:`${this.$baseApi}img/dgb.svg`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"1", + }, + { + value:"rxd", + label:"radiant", + img:`${this.$baseApi}img/rxd.png`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"100", + }, + // { + // value:"enx", + // label:"Entropyx(Enx)", + // img:`${this.$baseApi}img/enx.svg`, + // rate:"1%", + // address:"", + // mode:"PPLNS+PROPDIF", + // quota:"5000", + // }, + { + value:"alph", + label:"alephium(alph)", + img:`${this.$baseApi}img/alph.svg`, + rate:"1%", + address:"", + mode:"PPLNS+PROPDIF", + quota:"1", + }, + + + + + + ], + DetailsParams:{ + lang:this.$i18n.locale, + childType:2,//1服务条款、2费率、3API文档 childType + id:'', + }, + info:"", + rateLoading:false, + + listParams:{ + // type:"1",//挖矿教程 + lang:this.$i18n.locale, + pageNum:1, + pageSize:50, + childType:2,//1服务条款、2费率、3API文档 childType + }, + navList:[], + + } + }, + mounted(){ + this.fetchAllList(this.listParams) + // this.fetchProblemDetails(this.DetailsParams) + }, + methods:{ + async fetchAllList(params){ + this.setLoading('rateLoading', true); + const res = await documentsList(params) + console.log(res,"res"); + + if (res && res.code === 200) { + this.navList = res.rows + + if (this.$route.query.id) { + this.DetailsParams.id = this.$route.query.id + + }else{ + this.DetailsParams.id = res.rows[0].id; + } + if (this.DetailsParams.id) { + this.fetchProblemDetails(this.DetailsParams) + } + + } + + }, + async fetchProblemDetails(params) { + this.setLoading('rateLoading', true); + const res = await findDataInfo(params) + if(res && res.code === 200){ + + this.info = res.data.content || "" + + } + this.setLoading('rateLoading', false); + }, + + + clickJump(item) { + + this.DetailsParams.id = item.id + this.fetchProblemDetails(this.DetailsParams) + + + + + }, + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/rate/index.vue b/mining-pool/public/src/views/rate/index.vue new file mode 100644 index 0000000..0ce3853 --- /dev/null +++ b/mining-pool/public/src/views/rate/index.vue @@ -0,0 +1,427 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/readOnlyDisplay/index.js b/mining-pool/public/src/views/readOnlyDisplay/index.js new file mode 100644 index 0000000..bb63008 --- /dev/null +++ b/mining-pool/public/src/views/readOnlyDisplay/index.js @@ -0,0 +1,1949 @@ + +import * as echarts from "echarts"; +import {getPageInfo,getProfitInfo,getMinerAccountPower,getAccountPowerDistribution,getMinerList,getHistoryIncome,getHistoryOutcome,getMinerPower} from "../../api/readOnlyDisplay" +import { Debounce,throttle }from "../../utils/publicMethods"; + +export default { + data() { + return { + activeName: "power", + option: { + legend: { + right: 100, + show: true, + formatter: function (name) { + return name; + }, + }, + // grid: {//解决Y轴显示不全 + // left: "2%", + // containLabel: true + // }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + + + for (let i = 0; i <= params.length - 1; i++) { + + if (params[i].seriesName == "Rejection rate" || params[i].seriesName == "拒绝率") { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}%` + }else{ + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}` + } + + } + + + + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: [] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"GH/s", + nameTextStyle:{ + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + min:0, + max:100, + splitLine:{//不显示右侧Y轴横线 + show: false + } + }, + + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + // animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "总算力", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [], + yAxisIndex: 1, + }, + + + + ], + }, + barOption: { + tooltip: { + trigger: 'axis', + axisPointer: { + type: 'shadow' + } + }, + grid: { + left: '3%', + right: '4%', + bottom: '3%', + containLabel: true + }, + xAxis: [ + { + name:"MH/s", + type: 'category', + data: [], + axisTick: { + alignWithLabel: true + } + } + ], + yAxis: [ + { + type: 'value', + show: true, + name:"Pcs", + nameTextStyle:{ + padding: [0, 0, 0,-25], + } + + } + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 80, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: 'count', + type: 'bar', + barWidth: '60%', + data: [], + itemStyle: { + borderRadius: [100, 100, 0, 0], + color: "#7645EE", + } + } + ] + }, + miniOption: { + legend: { + right: 100, + show:false, + formatter: function (name) { + return name; + }, + }, + grid: {//解决Y轴显示不全 + left: "5%", + containLabel: true + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + + + for (let i = 0; i <= params.length - 1; i++) { + + if (params[i].seriesName == "Rejection rate" || params[i].seriesName == "拒绝率") { + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}%` + }else{ + res += `
              ${params[i].marker} ${params[i].seriesName}      ${params[i].value}` + } + + } + + + + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: ["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"MH/s", + nameTextStyle:{ + + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + splitLine:{//不显示右侧Y轴横线 + show: false + } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + yAxisIndex: 1, + }, + + + + ], + }, + onLineOption: { + legend: { + right: 100, + show:false, + formatter: function (name) { + return name; + }, + }, + grid: {//解决Y轴显示不全 + left: "5%", + containLabel: true + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + res += `
              ${params[0].marker} ${params[0].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[0].value} +
              ${params[1].marker} ${params[1].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[1].value}% + `; + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: ["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"MH/s", + nameTextStyle:{ + + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: false, + }, + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + yAxisIndex: 1, + }, + + + + ], + }, + OffLineOption: { + legend: { + right: 100, + show:false, + formatter: function (name) { + return name; + }, + }, + grid: {//解决Y轴显示不全 + left: "5%", + containLabel: true + }, + tooltip: { + trigger: "axis", + textStyle: { + align: "left", + }, + animation: false, + formatter: function (params) { + var res + res = params[0].axisValueLabel; + res += `
              ${params[0].marker} ${params[0].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[0].value} +
              ${params[1].marker} ${params[1].seriesName}\u00A0\u00A0\u00A0\u00A0 ${params[1].value}% + `; + return res; + }, + axisPointer: { + animation: false, + snap: true, + label: { + precision: 2, //坐标轴保留的位数 + }, + type: "cross", //cross shadow + crossStyle: { + //十字轴横线 + // opacity: "0", + width: 0.5, + }, + lineStyle: { + // opacity: 0, + }, + }, + }, + + xAxis: { + // type: "time", + boundaryGap: false, + + axisTick: { + //去除刻度 + show: false, + }, + axisLine: { + //去除轴线 + show: false, + }, + data: ["07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1","07-1"] + }, + yAxis: [ + { + position: "left", + type: "value", + name:"MH/s", + nameTextStyle:{ + + padding: [0, 0, 0,-40], + } + // min: `dataMin`, + // max: `dataMax`, + // axisLabel: { + // formatter: function (value) { + // let data + // if (value > 10000000) { + // data = `${(value / 10000000)} KW` + // } else if (value > 1000000) { + // data = `${(value / 1000000)} M` + // } else if (value / 10000) { + // data = `${(value / 10000)} W` + // } + // return data + // } + // } + }, + { + position: "right", + // type: "log", + splitNumber: "5", + show: true, + splitLine:{//不显示右侧Y轴横线 + show: false + } + }, + + ], + dataZoom: [ + { + type: "inside", + start: 0, + end: 100, + maxSpan: 100, + minSpan: 2, + animation: false, + }, + { + type: "inside",//slider + start: 0, + end: 100, + // showDetail: false, + }, + ], + series: [ + { + name: "Computational power", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#5721E4", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#5721E4", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(210,195,234)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + }, + { + name: "Refusal rate", + type: "line", + smooth: false, //线条是否圆滑 + symbol: "circle", + symbolSize: 5, + showSymbol: false, + itemStyle: { + color: "#FE2E74", + borderColor: "rgba(221,220,107,0.1)", + borderWidth: 12, + }, + lineStyle: { + //线条样式 + color: "#FE2E74", + width: "2", + }, + areaStyle: { + origin: 'start',//颜色始终显示在线条下 + color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: 'rgb(252,220,233)' + }, + { + offset: 1, + color: 'rgb(255, 255, 255)' + } + ]) + }, + data: [12,15,8,3,6,9,78,12,63], + yAxisIndex: 1, + }, + + + + ], + }, + sunTabActiveName: "all", + Accordion: "", + currentPage: 1, + params: { + // account: "lx888", + // coin: "nexa", + key:"", + }, + PowerParams: { + // account: "lx888", + // coin: "nexa", + interval: "rt", + key:"", + }, + PowerDistribution: { + // account: "lx888", + // coin: "nexa", + interval: "rt", + key:"", + }, + MinerListParams: { + // account: "lx888", + // coin: "nexa", + type: "0", + filter: "", + limit: 50, + page: 1, + key:"", + sort:"30m", + collation:"asc", + }, + activeName2: "power", + IncomeParams: { + // account: "lx888", + // coin: "nexa", + limit: 10, + page: 1, + key:"", + }, + OutcomeParams: { + // account: "lx888", + // coin: "grs", + limit: 10, + page: 1, + key:"", + }, + MinerAccountData: { + // totalProfit: "78678862.96791889", + // expend: "78678862.96791889", + // preProfit: "78678862.96791889", + // todayPorfit: "78678862.96791889", + // balance: "78678862.96791889", + }, + MinerListData: { + // all: "100", + // online: "99", + // offline: "1", + // miner: "", + // rate: "", + // dailyRate: "", + // reject: "", + }, + intervalList: [ + { + value: "rt", + label: "home.realTime", + }, + // { + // value: "1h", + // label: "home.hour", + // }, + { + value: "1d", + label: "home.day", + }, + ], + HistoryIncomeData: [ + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "565S656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "56G5656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "565Y656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + // { + // date: "2021-09-21", + // coin: "ETH", + // amount: "5645656", + // comment: "挖矿收益", + + // }, + + + + + + ], + HistoryOutcomeData: [ + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56D5656", + // txid: "12345678d90", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "56G5656", + // txid: "123456f7890", + // }, + // { + // date: "2021-09-21", + // address: "0x1234567890", + // comment: "mona", + // amount: "565T656", + // txid: "123sf4567890", + // }, + + + + + ], + currentPageIncome: 1, + MinerListTableData: [ + // { + // miner: "107fx61", + // rate: "0.0066666 ", + // dailyRate: "0.019999 ", + // reject: "0.01 TH/s", + // offline:1442, + // status:2 + // }, + // { + // miner: "107dfx62", + // rate: "0.407777 ", + // dailyRate: "0.016666 ", + // reject: "0.01 TH/s", + // offline:82, + // status:2 + // }, + // { + // miner: "107dfsx63", + // rate: "0.9635656 ", + // dailyRate: "0.018888", + // reject: "0.01 TH/s", + // offline:78, + // status:1 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:1 + // }, + // { + // miner: "107xsf666", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + // { + // miner: "107xsf6", + // rate: "0.00 H/s", + // dailyRate: "0.01 TH/s", + // reject: "0.01 TH/s", + // offline:61, + // status:2 + // }, + + ], + AccountPowerDistributionintervalList: [ + { + value: "rt", + label: "home.realTime", + }, + { + value: "1d", + label: "home.day", + }, + ], + miniLoading:false, + search: "", + input2: "", + timeActive: "rt", + barActive: "rt", + powerChartLoading: false, + barChartLoading: false, + miniChartParams: { + miner: "", + coin: "grs", + key:"", + }, + ids: "smallChart107fx61", + activeMiner:"", + miniId:"", + MinerListLoading:false, + miner:"miner", + accountId:"", + currentPageMiner: 1, + minerTotal:0, + accountItem:{}, + HistoryIncomeTotal:0, + HistoryOutcomeTotal:0, + jurisdiction:[], + minerShow:false, + profitShow:false, + paymentShow:false, + jurisdictionLoading:false, + stateList:[{ + value: "1", + label: "mining.onLine" + },{ + value: "2", + label: "mining.offLine" + }, + ], + loadingText:"personal.loadingText", + directives: { + // 定义节流函数 + throttle: { + bind(el, binding) { + let throttleTime; + el.addEventListener('click', (e) => { + if (!throttleTime || Date.now() - throttleTime >= binding.value) { + throttleTime = Date.now(); + binding.value.apply(e.target, [e]); + } + }); + } + } + }, + paymentStatusList:[ + { + value: 0, + label: "mining.paymentInProgress" + }, + { + value: 1, + label: "mining.paymentCompleted" + } + + + ] + + } + }, + watch: { + '$route' (to, from) { + + this.loadingText = this.$t("personal.loadingText") + + this.fetchPageInfo({key:this.params.key}) + + this.getMinerListData(this.MinerListParams) + this.getMinerAccountPowerData(this.PowerParams) + this.getAccountPowerDistributionData(this.PowerDistribution) + + + + }, + "$i18n.locale":(val)=>{ + location.reload();//刷新页面 刷新echarts + } + }, + + computed: { + sortedMinerListTableData() { //离线旷工靠前 + if (!this.MinerListTableData) return []; + + return [...this.MinerListTableData].sort((a, b) => { + // 确保 status 是字符串类型 + const statusA = String(a.status); + const statusB = String(b.status); + + // 离线(status='2')的排在前面 + if (statusA === '2' && statusB !== '2') return -1; + if (statusA !== '2' && statusB === '2') return 1; + + // status 相同时保持原有顺序 + return 0; + }); + } + }, + mounted() { + + this.loadingText = this.$t("personal.loadingText") + const urlParams = new URLSearchParams(window.location.search); + this.params.key = urlParams.get('key'); // 获取order_key参数的值 + this.PowerParams.key = urlParams.get('key'); + this.PowerDistribution.key = urlParams.get('key'); + this.MinerListParams.key = urlParams.get('key'); + this.IncomeParams.key = urlParams.get('key'); + this.OutcomeParams.key = urlParams.get('key'); + + + this.fetchPageInfo({key:this.params.key}) + + this.getMinerListData(this.MinerListParams) + this.getMinerAccountPowerData(this.PowerParams) + this.getAccountPowerDistributionData(this.PowerDistribution) + + + this.registerRecoveryMethod('getMinerListData', this.MinerListParams); + this.registerRecoveryMethod('getMinerAccountPowerData', this.PowerParams); + this.registerRecoveryMethod('getAccountPowerDistributionData', this.PowerDistribution); + this.registerRecoveryMethod('fetchPageInfo', {key:this.params.key}); + + + }, + methods: { + + //初始化图表 + inCharts() { + // if (this.myChart == null) { + // this.myChart = echarts.init(document.getElementById("powerChart")); + // } + this.myChart = echarts.init(document.getElementById("powerChart")); + this.option.series[0].name= this.$t(`home.finallyPower`) + this.option.series[1].name= this.$t(`home.rejectionRate`) + this.myChart.setOption(this.option); + // window.addEventListener("resize", () => { + // if (this.myChart) this.myChart.resize(); + // }); + + window.addEventListener('resize', throttle(() => { + if (this.myChart) this.myChart.resize(); + }, 200)); + }, + //初始化小图表 + smallInCharts(option) { + + // if (this.miniChart == null) { + // this.miniChart = echarts.init(document.getElementById("smallChart")); + // } + // this.miniChart.setOption(this.miniOption,true); + option.series[0].name= this.$t(`home.minerSComputingPower`) + option.series[1].name= this.$t(`home.rejectionRate`) + this.miniChart.setOption(option,true); + + + window.addEventListener('resize', throttle(() => { + if (this.miniChart) this.miniChart.resize(); + }, 200)); + }, + barInCharts() { + if (this.barChart == null) { + this.barChart = echarts.init(document.getElementById("barChart")); + } + this.barOption.series[0].name = this.$t(`home.numberOfMiningMachines`); + this.barChart.setOption(this.barOption); + + window.addEventListener('resize', throttle(() => { + if (this.barChart) this.barChart.resize(); + }, 200)); + }, + //返回权限 1矿工 2收益 3支付 + async fetchPageInfo(params){ + this.setLoading('jurisdictionLoading', true); + const data = await getPageInfo(params) + console.log(data); + if (data && data.code == 200) { + this.jurisdiction =data.data + + if (this.jurisdiction.config.includes(`3`)) { + this.paymentShow =true + } + + if (this.jurisdiction.config.includes(`2`)) { + this.profitShow =true + } + + if (this.jurisdiction.config.includes(`1`)) { + this.minerShow =true + } + + + // if (this.minerShow) { + // this.getMinerListData(this.MinerListParams) + // } + if (this.profitShow) { + this.getHistoryIncomeData(this.IncomeParams) + this.getMinerAccountInfoData(this.params) + } + if (this.paymentShow) { + this.getHistoryOutcomeData(this.OutcomeParams) + } + + + + } + + this.setLoading('jurisdictionLoading', false); + }, + //获取当前挖矿账号信息(包含收益、余额) + async getMinerAccountInfoData(params) { + const data = await getProfitInfo(params) + this.MinerAccountData = data.data + }, + async getMinerAccountPowerData(params) { + this.setLoading('powerChartLoading', true); + const data = await getMinerAccountPower(params) + + if (!data) { + this.setLoading('powerChartLoading', false); + if (this.myChart) { + this.myChart.dispose()//销毁图表实列 + } + return + } + let chartData = data.data + let xData = [] + let pvData = [] + let rejectRate = [] + chartData.forEach(item => { + + if (item.date.includes(`T`) && params.interval == `rt`) { + item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + } else if(item.date.includes(`T`) && params.interval == `1d`){ + item.date= item.date.split("T")[0] + } + xData.push(item.date) + pvData.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }); + let maxValue = Math.max(...rejectRate) + maxValue= Math.round(maxValue*3) + if (maxValue>0) { + + this.option.yAxis[1].max=maxValue + } + + this.option.xAxis.data = xData + this.option.series[0].data = pvData + this.option.series[1].data = rejectRate + + this.inCharts() + this.setLoading('powerChartLoading', false); + + + + }, + async getAccountPowerDistributionData(params) { + this.setLoading('barChartLoading', true); + const data = await getAccountPowerDistribution(params) + let barData = data.data + let xData = [] + let barValueList = [] + barData.forEach(item => { + xData.push(`${item.low}-${item.high}`) + barValueList.push(item.count) + }) + this.barOption.xAxis[0].data = xData + this.barOption.series[0].data = barValueList + this.barInCharts() + this.setLoading('barChartLoading', false); + }, + formatNumber(num) {//保留两位小数并补0 + const intPart = Math.floor(num); + const decimalPart = Math.floor((num - intPart) * 100); + return `${intPart}.${String(decimalPart).padStart(2, '0')}`; + }, + async getMinerListData(params) { + this.setLoading('MinerListLoading', true); + const data = await getMinerList(params) + if (data && data.code == 200) { + this.MinerListData = data.data + if (this.MinerListData.submit && this.MinerListData.submit.includes(`T`)) { + this.MinerListData.submit =`${this.MinerListData.submit.split(`T`)[0]} ${this.MinerListData.submit.split(`T`)[1].split(`.`)[0]}` + } + this.MinerListData.rate = this.formatNumber(this.MinerListData.rate) + this.MinerListData.dailyRate = this.formatNumber(this.MinerListData.dailyRate) + + + this.MinerListTableData = data.data.rows + this.MinerListTableData.forEach(item=>{ + if (item.submit.includes(`T`)) { + item.submit = `${item.submit.split(`T`)[0]} ${item.submit.split(`T`)[1].split(`.`)[0]}` + + } + item.rate= this.formatNumber(item.rate) + item.dailyRate= this.formatNumber(item.dailyRate) + + + }) + this.minerTotal= data.data.total + + } + + this.setLoading('MinerListLoading', false); + + }, + + //小图 + async getMinerPowerData(params) { + this.setLoading('miniLoading', true); + const data = await getMinerPower(params) + + if (!data) { + this.setLoading('miniLoading', false); + return + } + let miniData = data.data + let xData = [] + let pv = [] + let rejectRate = [] + + miniData.forEach(item => { + + if (item.date.includes(`T`) && params.interval == `rt`) { + item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + } else if(item.date.includes(`T`) && params.interval == `1d`){ + item.date= item.date.split("T")[0] + } + item.date= `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + xData.push(item.date) + + + + + pv.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }) + + this.miniOption.xAxis.data = xData + this.miniOption.series[0].data = pv + this.miniOption.series[1].data = rejectRate + + this.miniOption.series[0].name= this.$t(`home.finallyPower`) + this.miniOption.series[1].name= this.$t(`home.rejectionRate`) + + this.ids = `SmallChart${this.miniId}` + this.miniChart = echarts.init(document.getElementById(this.ids)) + let maxValue = Math.max(...rejectRate) + maxValue= Math.round(maxValue*3) + if (maxValue>0) { + this.miniOption.yAxis[1].max=maxValue + } + + this.$nextTick(() => { + this.smallInCharts(this.miniOption) + }); + + + + this.setLoading('miniLoading', false); + }, + //小图 + async getMinerPowerOnLine(params) { + this.setLoading('miniLoading', true); + const data = await getMinerPower(params) + + if (!data) { + this.setLoading('miniLoading', false); + return + } + let miniData = data.data + let xData = [] + let pv = [] + let rejectRate = [] + + miniData.forEach(item => { + if (item.date.includes(`T`)) { + xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(".")[0]}` ) + + } else { + xData.push(item.date) + } + + pv.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }) + + + this.onLineOption.xAxis.data = xData + this.onLineOption.series[0].data = pv + this.onLineOption.series[1].data = rejectRate + this.onLineOption.series[0].name= this.$t(`home.finallyPower`) + this.onLineOption.series[1].name= this.$t(`home.rejectionRate`) + + this.ids = `Small${this.miniId}` + this.miniChartOnLine = echarts.init(document.getElementById(this.ids)) + + this.$nextTick(() => { + this.miniChartOnLine.setOption(this.onLineOption,true); + + + window.addEventListener('resize', throttle(() => { + if (this.miniChartOnLine) this.miniChartOnLine.resize(); + }, 200)); + }); + + + + this.setLoading('miniLoading', false); + }, + //小图 + async getMinerPowerOffLine(params) { + this.setLoading('miniLoading', true); + const data = await getMinerPower(params) + if (!data) { + this.setLoading('miniLoading', false); + return + } + let miniData = data.data + let xData = [] + let pv = [] + let rejectRate = [] + + miniData.forEach(item => { + if (item.date.includes(`T`)) { + xData.push(`${item.date.split("T")[0]} ${item.date.split("T")[1].split(".")[0]}` ) + + } else { + xData.push(item.date) + } + + pv.push(item.pv.toFixed(2)) + rejectRate.push((item.rejectRate * 100).toFixed(4)) + }) + + + this.OffLineOption.xAxis.data = xData + this.OffLineOption.series[0].data = pv + this.OffLineOption.series[1].data = rejectRate + this.OffLineOption.series[0].name= this.$t(`home.finallyPower`) + this.OffLineOption.series[1].name= this.$t(`home.rejectionRate`) + + + this.ids = `SmallOff${this.miniId}` + this.miniChartOff = echarts.init(document.getElementById(this.ids)) + + this.$nextTick(() => { + this.miniChartOff.setOption(this.OffLineOption,true); + + + window.addEventListener('resize', throttle(() => { + if (this.miniChartOff) this.miniChartOff.resize(); + }, 200)); + }); + + + + this.setLoading('miniLoading', false); + }, + async getHistoryIncomeData(params) { + const data = await getHistoryIncome(params) + + if (data && data.code == 200) { + this.HistoryIncomeData = data.rows + this.HistoryIncomeTotal=data.total + this.HistoryIncomeData.forEach(item=>{ + if (item.date.includes(`T`)) { + item.date =item.date.split(`T`)[0] + } + }) + + + } + + }, + async getHistoryOutcomeData(params) { + const data = await getHistoryOutcome(params) + if (data && data.code == 200) { + this.HistoryOutcomeData = data.rows + this.HistoryOutcomeTotal=data.total + + this.HistoryOutcomeData.forEach(item=>{ + if (item.date.includes(`T`)) { + item.date =`${item.date.split(`T`)[0]} ` + } + }) + } + + + + }, + + + + handelMiniChart: throttle(function(id, miner) { + if (!this.Accordion) return + this.miniId = id + this.miner = miner + this.$nextTick(() => { + // this.getMinerPowerData({ miner:miner, coin: this.params.coin, account: this.params.account }) + this.getMinerPowerData({key:this.params.key, account: miner }) + }); + + + }, 1000), + + + handelOnLineMiniChart: throttle(function(id, miner) { + if (!this.Accordion) return + this.miniId = id + this.$nextTick(() => { + // this.getMinerPowerOnLine({ miner:miner, coin: this.params.coin, account: this.params.account }) + this.getMinerPowerOnLine({key:this.params.key, account:miner }) + }); + + }, 1000), + + + handelMiniOffLine: throttle(function(id, miner) { + if (!this.Accordion) return + this.miniId = id + this.$nextTick(() => { + this.getMinerPowerOffLine({key:this.params.key, account: miner }) + }); + }, 1000), + + + + handleClick() { + switch (this.activeName) { + case "power": + this.inCharts() + // this.getMinerAccountPowerData(this.PowerParams) + break; + case "miningMachineDistribution": + this.distributionInCharts() + // this.getAccountPowerDistributionData(this.PowerDistribution) + break; + + + + default: + break; + } + }, + handleClick2(activeName2) { + this.search="" + this.MinerListParams.filter="" + this.Accordion="" + this.IncomeParams.limit=10 + this.MinerListParams.limit=50 + this.OutcomeParams.limit =10 + switch (activeName2) { + case "power": + // if (!this.minerShow) { + // return + // } + this.activeName2 = activeName2; + this.getMinerListData(this.MinerListParams) + break; + case "miningMachine": + if (!this.profitShow) { + + + return + } + this.activeName2 = activeName2; + + + this.getHistoryIncomeData(this.IncomeParams) + break; + case "payment": + if (!this.paymentShow) { + return + } + this.activeName2 = activeName2; + this.getHistoryOutcomeData(this.OutcomeParams) + break; + + + default: + break; + } + + + + }, + onlineStatus(sunTabActiveName) { + this.Accordion="" + this.search="" + this.MinerListParams.filter="" + this.sunTabActiveName = sunTabActiveName + switch (this.sunTabActiveName) { + case "all": + this.MinerListParams.type = 0 + break; + case "onLine": + this.MinerListParams.type = 1 + break; + case "off-line": + this.MinerListParams.type = 2 + break; + + default: + break; + } + this.getMinerListData(this.MinerListParams) + }, + handleInterval(value) { + this.PowerParams.interval = value + this.timeActive = value + this.getMinerAccountPowerData(this.PowerParams) + }, + distributionInterval(value) { + this.PowerDistribution.interval = value + this.barActive = value + this.getAccountPowerDistributionData(this.PowerDistribution) + }, + + handelSearch() { + this.MinerListParams.filter = this.search + this.getMinerListData(this.MinerListParams) + }, + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + this.OutcomeParams.limit = val + this.OutcomeParams.page = 1 + this.getHistoryOutcomeData(this.OutcomeParams) + this.currentPage = 1 + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); + this.OutcomeParams.page = val + this.getHistoryOutcomeData(this.OutcomeParams) + }, + handleSizeChangeIncome(val) { + console.log(`每页 ${val} 条`); + this.IncomeParams.limit = val + this.IncomeParams.page = 1 + this.getHistoryIncomeData(this.IncomeParams) + this.currentPageIncome = 1 + }, + handleCurrentChangeIncome(val) { + console.log(`当前页: ${val}`); + this.IncomeParams.page = val + this.getHistoryIncomeData(this.IncomeParams) + }, + handleSizeMiner(val) { + console.log(`每页 ${val} 条`); + this.MinerListParams.limit = val + this.MinerListParams.page = 1 + this.getMinerListData(this.MinerListParams) + this.currentPageMiner = 1 + }, + handleCurrentMiner(val) { + console.log(`当前页: ${val}`); + this.MinerListParams.page = val + this.getMinerListData(this.MinerListParams) + }, + + handelStateList(value ){ + return this.stateList.find(item => item.value == value).label || "" + }, + + handleSort(sort){ + this.MinerListParams.sort = sort + if ( this.MinerListParams.collation == "asc") { + this.MinerListParams.collation = "desc" + }else{ + this.MinerListParams.collation = "asc" + } + this.getMinerListData(this.MinerListParams) + }, + + handleSort30(){ + if ( this.MinerListParams.collation[0] == "asc") { + this.MinerListParams.collation[0] = "desc" + }else{ + this.MinerListParams.collation[0] = "asc" + } + this.getMinerListData(this.MinerListParams) + }, + handleSort1h(){ + if ( this.MinerListParams.collation[1] == "asc") { + this.MinerListParams.collation[1] = "desc" + }else{ + this.MinerListParams.collation[1] = "asc" + } + this.getMinerListData(this.MinerListParams) + }, + handelTimeInterval(time){ + if (time) { + + var seconds = time * 60; + var days = Math.floor(seconds / (3600 * 24)); + var hours = Math.floor((seconds % (3600 * 24)) / 3600); + var minutes = Math.floor((seconds % 3600) / 60); + var secs = seconds % 60; + + if (days) { + return `(${days}${this.$t(`personal.day`)} ${hours}${this.$t(`personal.hour`)} ${minutes}${this.$t(`personal.minute`)} ${this.$t(`personal.front`)})` + }else if (hours) { + return `(${hours}${this.$t(`personal.hour`)} ${minutes}${this.$t(`personal.minute`)} ${this.$t(`personal.front`)})` + }else if(minutes){ + return `( ${minutes}${this.$t(`personal.minute`)} ${this.$t(`personal.front`)})` + } + } + }, + + async copyTxid(ID) { + + let id = `id${ID}` + let d= document.getElementById(id) + + // d.select() //选中 + // document.execCommand("copy") //直接复制 + try { + await navigator.clipboard.writeText(d.textContent); + this.$message({ + showClose: true, + message: this.$t(`personal.copySuccessful`), + type: 'success' + }); + } catch (err) { + console.log(err); + this.$message({ + showClose: true, + message: this.$t(`personal.copyFailed`), + type: 'error' + }); + } + }, + handelPayment(val){ + if (val || val == 0) { + let obj= this.paymentStatusList.find(item=>item.value ==val) + + return obj.label + }else{ + return '' + } + }, + handelTxid(txid){ + if (this.jurisdiction.coin.includes(`dgb`)) { + window.open(`https://chainz.cryptoid.info/dgb/tx.dws?${txid}.htm`) + + }else{ + switch (this.jurisdiction.coin) { + case `nexa`: + window.open(`https://explorer.nexa.org/tx/${txid}`) + break; + case `mona`: + window.open(`https://mona.insight.monaco-ex.org/insight/tx/${txid}`) + break; + case `grs`: + window.open(`https://chainz.cryptoid.info/grs/tx.dws?${txid}.htm`) + break; + case `rxd`: + window.open(`https://explorer.radiantblockchain.org/tx/${txid}`) + break; + case `enx`: + window.open(`https://explorer.entropyx.org/txs/${txid}`) + break; + case `alph`: + window.open(`https://explorer.alephium.org/transactions/${txid}`) + break; + case `xmr`: + window.open(`https://localmonero.co/blocks/tx/${txid}`) + break; + + default: + break; + } + } + + // +} + + + + + + + + + // jumpPage() { + + // this.$router.push({path:`/personalCenter/personalMining`,query:{id:this.accountId,coin:this.params.coin,ma:this.params.account}}) + + // } + } +} \ No newline at end of file diff --git a/mining-pool/public/src/views/readOnlyDisplay/index.vue b/mining-pool/public/src/views/readOnlyDisplay/index.vue new file mode 100644 index 0000000..61bdaaa --- /dev/null +++ b/mining-pool/public/src/views/readOnlyDisplay/index.vue @@ -0,0 +1,2882 @@ + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/register/register.vue b/mining-pool/public/src/views/register/register.vue new file mode 100644 index 0000000..a6f0a48 --- /dev/null +++ b/mining-pool/public/src/views/register/register.vue @@ -0,0 +1,832 @@ + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/reportBlock/index.js b/mining-pool/public/src/views/reportBlock/index.js new file mode 100644 index 0000000..17ec886 --- /dev/null +++ b/mining-pool/public/src/views/reportBlock/index.js @@ -0,0 +1,417 @@ +import { getLuck, getBlockInfo } from "../../api/home" +import { Debounce } from "../../utils/publicMethods"; + +export default { + data() { + return { + luckData: { + luck3d: "0", + luck7d: "0", + luck30d: 0, + luck90d: 0, + }, + BlockInfoData: [ + // { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…9392577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, + // { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…9942577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…9925757", + // reward:"3.12500000", + // fees:"0.40962024", + // }, { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…9925677", + // reward:"3.12500000", + // fees:"0.40962024", + // }, { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…9925877", + // reward:"3.12500000", + // fees:"0.40962024", + // }, { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…9928577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, + // { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…99S28577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, + // { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…A99S28577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, + // { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…A9W9S28577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, + // { + // height:"847545", + // date:"2024-06-12 09:11:57", + // hash:"00000…A9W9SQ28577", + // reward:"3.12500000", + // fees:"0.40962024", + // }, + + + ], + currentPage: 1, + currencyList: [ + // { + // value: "nexa", + // label: "nexa", + // img: require("../../assets/img/currency-nexa.png"), + // imgUrl: "", + + // }, + // { + // value: "grs", + // label: "grs", + // img: require("../../assets/img/currency/grs.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/258.png", + + // }, + // { + // value: "mona", + // label: "mona", + // img: require("../../assets/img/currency/mona.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/213.png", + // }, + // { + // value: "dgb_skein", + // label: "dgb-skein-pool1", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_qubit", + // label: "dgb-qubit-pool1", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_odo", + // label: "dgb-odocrypt-pool1", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // // { + // // value: "dgb2_odo", + // // label: "dgb-odocrypt-pool2", + // // img: require("../../assets/img/currency/DGB.svg"), + // // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // // }, + // { + // value: "dgb_qubit_a10", + // label: "dgb-qubit-pool2", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_skein_a10", + // label: "dgb-skein-pool2", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + // { + // value: "dgb_odo_b20", + // label: "dgb-odoscrypt-pool3", + // img: require("../../assets/img/currency/DGB.svg"), + // imgUrl: "https://s2.coinmarketcap.com/static/img/coins/64x64/109.png", + // }, + + ], + BlockInfoParams: { + coin: "nexa", + limit: 10, + page: 1, + }, + params: { + coin: "nexa", + }, + customColor: '#C1A1FE', + weekColor: '#F6C12B', + monthColor: '#7DD491', + MarchColor: '#F94280', + ItemActive: "nexa", + reportBlockLoading: false, + totalSize: 0, + LuckDataLoading: false, + currencyPath: `${this.$baseApi}img/nexa.png`, + transactionFeeList: [//没有交易费 + + // { + // label:"grs", + // coin: "grs", + // feeShow: false, + // }, + { + label: "mona", + coin: "mona", + feeShow: false, + }, + { + + label: "dgb(skein)", + coin: "dgbs", + feeShow: false, + }, + { + + coin: "dgbq", + label: "dgb(qubit)", + feeShow: false, + }, + { + + coin: "dgbo", + label: "dgb(odocrypt)", + feeShow: false, + }, + + + ], + FeeShow: true, + activeItemCoin: { + value: "nexa", + label: "nexa", + imgUrl: `${this.$baseApi}img/nexa.png`, + + }, + isInternalChange: false + + + + } + }, + watch: { + activeItemCoin: { + handler(newVal) { + // 防止无限循环 + if (this.isInternalChange) { + return; + } + this.handleActiveItemChange(newVal); + }, + deep: true + } + }, + mounted() { + + + if (this.$route.query.coin) { + this.ItemActive = this.$route.query.coin + this.currencyPath = this.$route.query.imgUrl + this.params.coin = this.$route.query.coin + this.BlockInfoParams.coin = this.$route.query.coin + this.ItemActive = this.$route.query.coin + this.handelCoinLabel(this.$route.query.coin) + } + + this.getLuckData(this.params) + this.getBlockInfoData(this.BlockInfoParams) + + this.registerRecoveryMethod('getLuckData', this.params); + this.registerRecoveryMethod('getBlockInfoData', this.BlockInfoParams); + + let value = localStorage.getItem("activeItemCoin") + this.activeItemCoin = JSON.parse(value) + this.currencyList = JSON.parse(localStorage.getItem("currencyList")) + window.addEventListener("setItem", () => { + this.currencyList = JSON.parse(localStorage.getItem("currencyList")) + let value = localStorage.getItem("activeItemCoin") + this.activeItemCoin = JSON.parse(value) + }); + + + }, + methods: { + // async getLuckData(params) { + // this.LuckDataLoading = true + // const data = await getLuck(params) + // if (data && data.code == 200) { + // this.luckData= data.data + // } + + + // this.LuckDataLoading = false + + // }, + + getLuckData: Debounce(async function (params) { + this.setLoading('LuckDataLoading', true); + const data = await getLuck(params) + if (data && data.code == 200) { + this.luckData = data.data + } + + + this.setLoading('LuckDataLoading', false); + }, 200), + // async getBlockInfoData(params) { + // this.reportBlockLoading=true + // const data = await getBlockInfo(params) + // if (!data) { + // this.reportBlockLoading=false + // } + // this.totalSize = data.total + // this.BlockInfoData = data.rows + // this.BlockInfoData.forEach((item,index)=>{ + // item.date = `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + // }) + // // this.currentPage = 1 + // // console.log(data,"获取币种信息"); + // this.reportBlockLoading=false + // }, + getBlockInfoData: Debounce(async function (params) { + + this.setLoading('reportBlockLoading', true); + const data = await getBlockInfo(params) + if (!data) { + this.setLoading('reportBlockLoading', false); + } + this.totalSize = data.total + this.BlockInfoData = data.rows + this.BlockInfoData.forEach((item, index) => { + item.date = `${item.date.split("T")[0]} ${item.date.split("T")[1].split(`.`)[0]}` + }) + // this.currentPage = 1 + // console.log(data,"获取币种信息"); + this.setLoading('reportBlockLoading', false); + + }, 200), + handleActiveItemChange(item) { + this.currencyPath = item.imgUrl + this.params.coin = item.value + this.BlockInfoParams.coin = item.value + this.ItemActive = item.value + this.getBlockInfoData(this.BlockInfoParams) + this.getLuckData(this.params) + this.handelCoinLabel(item.value) + }, + + clickCurrency(item) { + if (!item) return; + // 设置标记,防止触发 watch + + this.luckData = {} + + this.isInternalChange = true; + this.activeItemCoin = item; + this.$addStorageEvent(1, `activeItemCoin`, JSON.stringify(item)) + + // 在下一个事件循环中重置标记 + this.$nextTick(() => { + this.isInternalChange = false; + }); + + // 直接调用处理方法 + this.handleActiveItemChange(item); + + }, + clickItem(item) { + + switch (this.ItemActive) { + case `nexa`: + window.open(`https://explorer.nexa.org/block-height/${item.height}`) + break; + case `grs`: + window.open(`https://chainz.cryptoid.info/grs/block.dws?${item.height}.htm`) + break; + case `mona`: + window.open(`https://mona.insight.monaco-ex.org/insight/block/${item.hash}`) + break; + case `rxd`: + window.open(`https://explorer.radiantblockchain.org/block-height/${item.height}`) + break; + case `enx`: + // window.open(`https://explorer.entropyx.org/blocks/${item.hash}`) + break; + case `alph`: + window.open(`https://explorer.alephium.org/blocks/${item.hash}`) + break; + case `xmr`: + window.open(`https://localmonero.co/blocks/block/${item.height}`) + break; + + default: + break; + } + + if (this.ItemActive.includes("dgb")) { + window.open(`https://chainz.cryptoid.info/dgb/block.dws?${item.height}.htm`) + } + + }, + handleSizeChange(val) { + console.log(`每页 ${val} 条`); + this.BlockInfoParams.limit = val + this.BlockInfoParams.page = 1 + this.currentPage = 1 + this.getBlockInfoData(this.BlockInfoParams) + }, + handleCurrentChange(val) { + console.log(`当前页: ${val}`); + this.BlockInfoParams.page = val + this.getBlockInfoData(this.BlockInfoParams) + }, + handelCoinLabel(coin) { + let obj = { + coin: "", + } + + if (coin) { + obj = this.transactionFeeList.find(item => item.coin == coin) + this.FeeShow = false + } + if (!obj) { + this.FeeShow = true + } + + }, + handelLabel(coin) { + if (coin.includes("dgb")) { + return "dgb" + } else { + return coin + } + + }, + handelCurrencyLabel(coin) { + let obj = this.currencyList.find(item => item.value == coin) + if (obj) { + return obj.label + } else { + return "" + } + + + } + }, + +} \ No newline at end of file diff --git a/mining-pool/public/src/views/reportBlock/index.vue b/mining-pool/public/src/views/reportBlock/index.vue new file mode 100644 index 0000000..7728ab0 --- /dev/null +++ b/mining-pool/public/src/views/reportBlock/index.vue @@ -0,0 +1,979 @@ + + + + + + \ No newline at end of file diff --git a/mining-pool/public/src/views/simulation.vue b/mining-pool/public/src/views/simulation.vue new file mode 100644 index 0000000..e69de29 diff --git a/mining-pool/src/App.vue b/mining-pool/src/App.vue index 3226c15..8df1832 100644 --- a/mining-pool/src/App.vue +++ b/mining-pool/src/App.vue @@ -159,4 +159,21 @@ body { z-index: 99999 !important; min-width: 300px !important; } + +.dynamic-content { + + :deep(p) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: 2 !important; + margin: 0.8em 0 !important; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; + + } + } diff --git a/mining-pool/src/assets/img/currency/xmr.png b/mining-pool/src/assets/img/currency/xmr.png new file mode 100644 index 0000000..1ad9ea8 Binary files /dev/null and b/mining-pool/src/assets/img/currency/xmr.png differ diff --git a/mining-pool/src/assets/img/currency/xtm.jpg b/mining-pool/src/assets/img/currency/xtm.jpg new file mode 100644 index 0000000..b140fc7 Binary files /dev/null and b/mining-pool/src/assets/img/currency/xtm.jpg differ diff --git a/mining-pool/src/i18n/AccessMiningPool.js b/mining-pool/src/i18n/AccessMiningPool.js index 5919c0d..9484fd0 100644 --- a/mining-pool/src/i18n/AccessMiningPool.js +++ b/mining-pool/src/i18n/AccessMiningPool.js @@ -46,6 +46,7 @@ export const AccessMiningPool_zh = { dgboCourse:"Dgb(odocrypt) 挖矿教程", ENXcourse:"Entropyx(Enx) 挖矿教程", alphCourse:"Alephium(alph) 挖矿教程", + xmrCourse:"xmr(monero) 挖矿教程", rxdIncome1:"1. 在您添加完挖矿钱包后,即可在您的Rxd矿机上配置相关参数,开启Rxd挖矿。", Adaptation:"适配性", amount:"最小起付额", @@ -71,6 +72,7 @@ export const AccessMiningPool_zh = { conditionDgbo:"40高度", conditionMona:"100高度", conditionAlph:"500分钟", + conditionXmr:"60高度", conditionEnx:"", intervalNexa:"120秒", intervalRxd:"300秒", @@ -81,6 +83,7 @@ export const AccessMiningPool_zh = { intervalMona:"90秒", intervalAlph:"16秒", intervalEnx:"1秒", + intervalXmr:"120秒", estimatedTimeNexa:"≈ 7天", estimatedTimeRxd:"≈ 8.3小时", estimatedTimeGrs:"≈ 2.3小时", @@ -197,6 +200,7 @@ export const AccessMiningPool_en = { estimatedTimeMona:"≈ 2.5 hours", estimatedTimeAlph:" 500 minutes", estimatedTimeEnx:"", + estimatedTimeXmr:"≈2小时", describeNexa:"For example, if you receive a reward of 1000000 NEXA on January 1st, the reward will be paid approximately 7 days later (January 8th), depending on the actual block height", describeAlph:"alph is a fixed maturity time, not a block height", describeGrs:"", @@ -206,6 +210,7 @@ export const AccessMiningPool_en = { describeMona:"", describeRxd:"", describeEnx:"", + describeXmr:"", allocationExplanation:"Mining Pool Allocation and Transfer Rules", condition:"Maturity conditions", interval:"Chunking interval", @@ -214,5 +219,6 @@ export const AccessMiningPool_en = { ENXcourse:"Entropyx(Enx) Mining Tutorial", timeLimited:"Time limited", alphCourse:"Alephium(alph) Mining Tutorial", + xmrCourse:"Xmr(monero) Mining Tutorial", } } \ No newline at end of file diff --git a/mining-pool/src/i18n/ServiceTerms.js b/mining-pool/src/i18n/ServiceTerms.js index f797b31..a973262 100644 --- a/mining-pool/src/i18n/ServiceTerms.js +++ b/mining-pool/src/i18n/ServiceTerms.js @@ -43,6 +43,8 @@ export const serviceTerms_zh = { title11:"十一、法律适用与争议解决", clauseLaw1:"1.本条款受新加坡法律的管辖。", clauseLaw2:"2.如发生争议,双方应通过友好协商解决;协商不成的,可向有管辖权的法院提起诉讼。", + loadingText:"正在加载文档内容...", + noContent:"暂无自定义文档内容", } } @@ -55,7 +57,8 @@ export const serviceTerms_en = { "clauseService2": "2. The service may be temporarily interrupted due to maintenance, upgrades, or other reasons. We will do our best to notify users in advance, but we are not responsible for any losses caused by such interruptions.", "clauseService3": "3.M2Pool does not provide services to individuals or entities in the following jurisdictions: Afghanistan, Belarus, Central African Republic, Democratic Republic of the Congo, Guinea Bissau, Cuba, Iran, Iraq, North Korea, Libya, Lebanon, Mali, Syria, Venezuela and Zimbabwe. Restricted jurisdictions also include any country/territory in which M2pool chooses not to operate, including but not limited to Algeria, Angola, Bangladesh, China, Egypt, Haiti, Kosovo, Kuwait, Morocco, Russia, Nepal, Somalia, South Sudan, Sudan, Yemen and Singapore.", "title3": "3、 User Qualification", - "clauseUser1": "1. You must be of legal age and have full capacity for civil conduct to use this service.", "clauseUser2": "2. You guarantee that the registration information provided is true, accurate, complete, and updated in a timely manner. You can log in to M2Pool using other methods allowed by our email address. If the registration information you provide is incorrect, we will not be held responsible. You will suffer any direct or indirect losses and adverse consequences.", "clauseUser3": "3. You should be a legal person, company, or other organization with full capacity for conduct and civil rights. Otherwise, you or your guardian shall bear all consequences. We have the right to cancel or permanently suspend your account and demand compensation from you.", "title4": "4、 User Responsibility", "clauseResponsibility1": "1. You shall comply with all applicable national laws, regulations and normative documents, as well as the provisions and requirements of these rules, including but not limited to laws related to digital currency mining. Not violating the public interest or public morality, not harming the legitimate rights and interests of others, not evading taxes, and not violating these regulations and related rules. If you violate the above commitments and incur any legal consequences, you shall bear all legal responsibilities on your own and ensure that we are free from any losses.", "clauseResponsibility2": "2. You are not allowed to engage in any illegal, fraudulent, harmful, or infringing activities using this service.", "clauseResponsibility3": "3. You are responsible for your mining equipment and network connection, ensuring that it meets relevant requirements and operates normally.", "clauseResponsibility4": "4. You are responsible for the confidentiality of your M2Pool username and password, as well as all activities that occur under your username and M2Pool password (including but not limited to information disclosure and publication, online click to agree or submit various rules and agreements, online agreement renewal or purchase of services, account settings, etc.).", "clauseResponsibility5": "5. If anyone uses your M2pool email, account, etc. to log in to this website without authentication, we will not be responsible for any losses caused by your violation of these terms.", "title5": "5、 Fees and Payment", "clausePayment1": "We may charge a certain fee based on the service content, and the specific fee standard will be announced on the website.", "clausePayment2": "2. You agree to pay the fees according to the prescribed payment method and time. Failure to pay on time may result in the suspension or termination of the service.", "clausePayment3": "3. The taxable amount and all hardware, software, service or other expenses incurred by you when using this service shall be borne by you.", "title6": "6、 Income and distribution", "clauseProfit1": "1. Mining profits will be distributed according to our distribution mechanism, but we do not guarantee the stability and stability of the profits.", "clauseProfit2": "2. We have the right to adjust the allocation mechanism according to the actual situation, but we will notify users in advance.", "title7": "7、 Data and Privacy", "clausePrivacy1": "1. We will collect and use relevant data generated during your use of the service, but we will strictly comply with the privacy policy to protect your privacy.", "clausePrivacy2": "2. You agree to our collection, use, and processing of data to provide and improve services.", "title8": "8、 Intellectual Property", "clausePropertyRight1": "All content on this website, including but not limited to trademarks, copyrights, patents, etc., belongs to our company or relevant rights holders.", "clausePropertyRight2": "2. Without authorization, you are not allowed to copy, modify, disseminate or use any intellectual property of this website.", "title9": "9、 Disclaimer", "clauseDisclaimer1": "We are not responsible for service interruptions or data loss caused by force majeure, system failures, network issues, etc.", "clauseDisclaimer2": "2. We are not liable for any direct, indirect, incidental, special or consequential losses incurred by you as a result of using this service, including but not limited to mining revenue loss, equipment damage, etc.", "title10": "10、 Termination of Service", "clauseTermination1": "We have the right to terminate your service in the following circumstances: violation of these terms, laws and regulations, or damage to the interests of our company or other users.", "clauseTermination2": "After the termination of the service, your relevant data may be deleted or retained, and the specific processing method will be implemented in accordance with laws, regulations, and company policies.", "title11": "11、 Application of Law and Dispute Resolution", "clauseLaw1": "1. This clause is governed by the laws of Singapore.", "clauseLaw2": "2. In the event of a dispute, both parties shall resolve it through friendly consultation; If the negotiation fails, a lawsuit may be filed with a court with jurisdiction." - + "clauseUser1": "1. You must be of legal age and have full capacity for civil conduct to use this service.", "clauseUser2": "2. You guarantee that the registration information provided is true, accurate, complete, and updated in a timely manner. You can log in to M2Pool using other methods allowed by our email address. If the registration information you provide is incorrect, we will not be held responsible. You will suffer any direct or indirect losses and adverse consequences.", "clauseUser3": "3. You should be a legal person, company, or other organization with full capacity for conduct and civil rights. Otherwise, you or your guardian shall bear all consequences. We have the right to cancel or permanently suspend your account and demand compensation from you.", "title4": "4、 User Responsibility", "clauseResponsibility1": "1. You shall comply with all applicable national laws, regulations and normative documents, as well as the provisions and requirements of these rules, including but not limited to laws related to digital currency mining. Not violating the public interest or public morality, not harming the legitimate rights and interests of others, not evading taxes, and not violating these regulations and related rules. If you violate the above commitments and incur any legal consequences, you shall bear all legal responsibilities on your own and ensure that we are free from any losses.", "clauseResponsibility2": "2. You are not allowed to engage in any illegal, fraudulent, harmful, or infringing activities using this service.", "clauseResponsibility3": "3. You are responsible for your mining equipment and network connection, ensuring that it meets relevant requirements and operates normally.", "clauseResponsibility4": "4. You are responsible for the confidentiality of your M2Pool username and password, as well as all activities that occur under your username and M2Pool password (including but not limited to information disclosure and publication, online click to agree or submit various rules and agreements, online agreement renewal or purchase of services, account settings, etc.).", "clauseResponsibility5": "5. If anyone uses your M2pool email, account, etc. to log in to this website without authentication, we will not be responsible for any losses caused by your violation of these terms.", "title5": "5、 Fees and Payment", "clausePayment1": "We may charge a certain fee based on the service content, and the specific fee standard will be announced on the website.", "clausePayment2": "2. You agree to pay the fees according to the prescribed payment method and time. Failure to pay on time may result in the suspension or termination of the service.", "clausePayment3": "3. The taxable amount and all hardware, software, service or other expenses incurred by you when using this service shall be borne by you.", "title6": "6、 Income and distribution", "clauseProfit1": "1. Mining profits will be distributed according to our distribution mechanism, but we do not guarantee the stability and stability of the profits.", "clauseProfit2": "2. We have the right to adjust the allocation mechanism according to the actual situation, but we will notify users in advance.", "title7": "7、 Data and Privacy", "clausePrivacy1": "1. We will collect and use relevant data generated during your use of the service, but we will strictly comply with the privacy policy to protect your privacy.", "clausePrivacy2": "2. You agree to our collection, use, and processing of data to provide and improve services.", "title8": "8、 Intellectual Property", "clausePropertyRight1": "All content on this website, including but not limited to trademarks, copyrights, patents, etc., belongs to our company or relevant rights holders.", "clausePropertyRight2": "2. Without authorization, you are not allowed to copy, modify, disseminate or use any intellectual property of this website.", "title9": "9、 Disclaimer", "clauseDisclaimer1": "We are not responsible for service interruptions or data loss caused by force majeure, system failures, network issues, etc.", "clauseDisclaimer2": "2. We are not liable for any direct, indirect, incidental, special or consequential losses incurred by you as a result of using this service, including but not limited to mining revenue loss, equipment damage, etc.", "title10": "10、 Termination of Service", "clauseTermination1": "We have the right to terminate your service in the following circumstances: violation of these terms, laws and regulations, or damage to the interests of our company or other users.", "clauseTermination2": "After the termination of the service, your relevant data may be deleted or retained, and the specific processing method will be implemented in accordance with laws, regulations, and company policies.", "title11": "11、 Application of Law and Dispute Resolution", "clauseLaw1": "1. This clause is governed by the laws of Singapore.", "clauseLaw2": "2. In the event of a dispute, both parties shall resolve it through friendly consultation; If the negotiation fails, a lawsuit may be filed with a court with jurisdiction.", + loadingText:"Loading document content...", + noContent:"No custom document content", } } \ No newline at end of file diff --git a/mining-pool/src/views/AccessMiningPool/index.vue b/mining-pool/src/views/AccessMiningPool/index.vue index 18a3d7a..cce374c 100644 --- a/mining-pool/src/views/AccessMiningPool/index.vue +++ b/mining-pool/src/views/AccessMiningPool/index.vue @@ -805,16 +805,18 @@ export default { width: 100%; margin: 16px 0; font-size: 14px; + text-align: center; } :deep(th), :deep(td) { border: 1px solid #d1d5db; padding: 8px 12px; - text-align: left; + text-align: center; } :deep(th) { background: #D2C3EA; font-weight: bold; + text-align: center; } :deep(strong), :deep(b) { font-weight: bold !important; @@ -838,7 +840,23 @@ export default { text-indent: 0 !important; line-height: 2 !important; margin: 0.8em 0 !important; - word-break: break-all; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; + } + :deep(div) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: 2 !important; + margin: 0.8em 0 !important; + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; } } diff --git a/mining-pool/src/views/ServiceTerms/index.vue b/mining-pool/src/views/ServiceTerms/index.vue index c0040b7..7fe17ff 100644 --- a/mining-pool/src/views/ServiceTerms/index.vue +++ b/mining-pool/src/views/ServiceTerms/index.vue @@ -9,14 +9,14 @@ - 正在加载文档内容... + {{ $t(`ServiceTerms.loadingText`) || "正在加载文档内容..." }}

              -

              暂无自定义文档内容

              +

              {{ $t(`ServiceTerms.noContent`) || "暂无自定义文档内容" }}

              @@ -296,6 +296,9 @@ export default { .dynamic-content { width: 100% !important; padding: 10px !important; + /* 统一控制富文本行距与段落间距(移动端) */ + --dc-line-height: 1.8; /* 行距:1.6~2 可按需调整 */ + --dc-p-margin: 0.6em; /* 段落上下间距 */ // 确保HTML标签正确渲染 :deep(strong) { @@ -341,6 +344,30 @@ export default { text-decoration: underline !important; } } + + :deep(p) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: var(--dc-line-height) !important; + margin: var(--dc-p-margin) 0 !important; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; + } + :deep(div) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: var(--dc-line-height) !important; + margin: var(--dc-p-margin) 0 !important; + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; + word-wrap: break-word !important; + hyphens: none; + } } } @@ -420,6 +447,9 @@ export default { width: 70%; margin: 0 auto; padding: 20px 0; + /* 统一控制富文本行距与段落间距(桌面端) */ + --dc-line-height: 1.8; /* 行距:1.6~2 可按需调整 */ + --dc-p-margin: 0.6em; /* 段落上下间距 */ // 确保HTML标签正确渲染 :deep(strong) { @@ -465,6 +495,30 @@ export default { text-decoration: underline !important; } } + + :deep(p) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: var(--dc-line-height) !important; + margin: var(--dc-p-margin) 0 !important; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; + } + :deep(div) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: var(--dc-line-height) !important; + margin: var(--dc-p-margin) 0 !important; + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; + word-wrap: break-word !important; + hyphens: none; + } } } diff --git a/mining-pool/src/views/allocationExplanation/index.js b/mining-pool/src/views/allocationExplanation/index.js index 961a394..4372fcb 100644 --- a/mining-pool/src/views/allocationExplanation/index.js +++ b/mining-pool/src/views/allocationExplanation/index.js @@ -84,6 +84,16 @@ export default { estimatedTime:"course.estimatedTimeAlph", describe:"course.describeAlph", }, + + { + value:"xmr", + label:"xmr", + img:`${this.$baseApi}img/xmr.png`, + condition:"course.conditionXmr", + interval:"course.intervalXmr", + estimatedTime:"course.estimatedTimeXmr", + describe:"course.describeXmr", + }, diff --git a/mining-pool/src/views/announcementDetails/index.vue b/mining-pool/src/views/announcementDetails/index.vue index de6618f..f3f2c1d 100644 --- a/mining-pool/src/views/announcementDetails/index.vue +++ b/mining-pool/src/views/announcementDetails/index.vue @@ -46,7 +46,7 @@ padding-top: 50px; .leftNav{ - width: 200px; + width: 230px; height: 100%; overflow-y: auto; } diff --git a/mining-pool/src/views/apiFile/index.vue b/mining-pool/src/views/apiFile/index.vue index ffa8c4c..0e48e4e 100644 --- a/mining-pool/src/views/apiFile/index.vue +++ b/mining-pool/src/views/apiFile/index.vue @@ -2530,7 +2530,23 @@ a{ line-height: 2 !important; margin: 0.8em 0 !important; - word-break: break-all; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 兼容现代浏览器 */ + word-wrap: break-word !important; /* 兼容旧版浏览器 */ + hyphens: none; /* 禁止连字符,保持整词换行 */ + } + :deep(div) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: 2 !important; + margin: 0.8em 0 !important; + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 兼容现代浏览器 */ + word-wrap: break-word !important; /* 兼容旧版浏览器 */ + hyphens: none; } diff --git a/mining-pool/src/views/commonProblem/index.vue b/mining-pool/src/views/commonProblem/index.vue index 38ab0e3..b183907 100644 --- a/mining-pool/src/views/commonProblem/index.vue +++ b/mining-pool/src/views/commonProblem/index.vue @@ -85,6 +85,34 @@ export default { text-decoration: underline !important; } } + + :deep(p) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: 2 !important; + margin: 0.8em 0 !important; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; + } + + :deep(div) { + text-align: justify !important; + text-justify: inter-ideograph !important; + line-height: 2 !important; + margin: 0.8em 0 !important; + /* 英文按单词换行,避免拆词;超长连续单词在必要时断行 */ + white-space: normal !important; + word-break: normal !important; + overflow-wrap: break-word !important; /* 现代浏览器 */ + word-wrap: break-word !important; /* 旧版兼容 */ + hyphens: none; + } + + } .loading-container { text-align: center; diff --git a/mining-pool/src/views/home/index.js b/mining-pool/src/views/home/index.js index 57d5054..0507f70 100644 --- a/mining-pool/src/views/home/index.js +++ b/mining-pool/src/views/home/index.js @@ -506,6 +506,28 @@ export default { show: true, amount: 1, + }, + { + path: "xmr", + value: "monero", + label: "xmr", + img: require("../../assets/img/currency/xmr.png"), + imgUrl: `${this.$baseApi}img/xmr.png`, + name: "course.xmrCourse", + show: true, + amount: 0.1, + + }, + { + path: "xtm", + value: "xtm", + label: "xtm", + img: require("../../assets/img/currency/xtm.jpg"), + imgUrl: `${this.$baseApi}img/xtm.jpg`, + name: "course.xmrCourse", + show: true, + amount: 10000, + }, // { //告知已删除此币种 Radiant diff --git a/mining-pool/src/views/login/login.vue b/mining-pool/src/views/login/login.vue index d63d65e..48c9cdf 100644 --- a/mining-pool/src/views/login/login.vue +++ b/mining-pool/src/views/login/login.vue @@ -356,6 +356,17 @@ export default { show: true, amount: 1, + }, + { + path: "xmr", + value: "monero", + label: "xmr", + img: require("../../assets/img/currency/xmr.png"), + imgUrl: `${this.$baseApi}img/xmr.png`, + name: "course.xmrCourse", + show: true, + amount: 1, + }, // { //告知已删除此币种 Radiant diff --git a/mining-pool/src/views/miningAccount/index.js b/mining-pool/src/views/miningAccount/index.js index d2f1c5b..dbc2034 100644 --- a/mining-pool/src/views/miningAccount/index.js +++ b/mining-pool/src/views/miningAccount/index.js @@ -2192,6 +2192,9 @@ export default { case `alph`: window.open(`https://explorer.alephium.org/transactions/${txid}`) break; + case `xmr`: + window.open(`https://localmonero.co/blocks/tx/${txid}`) + break; default: break; diff --git a/mining-pool/src/views/personalCenter/personalMining/index.js b/mining-pool/src/views/personalCenter/personalMining/index.js index 5548907..cbbb3c8 100644 --- a/mining-pool/src/views/personalCenter/personalMining/index.js +++ b/mining-pool/src/views/personalCenter/personalMining/index.js @@ -209,7 +209,7 @@ export default { addMinerLoading:false, screenCurrency:"", newAccountList:[], - quotaList:[ + quotaList:[//起付额 { value:"nexa", @@ -246,6 +246,7 @@ export default { amount:100, }, + // { // value:"enx", // amount:5000, @@ -256,6 +257,11 @@ export default { amount:1, }, + { + value:"xmr", + amount:0.1, + + }, ], amount:1, diff --git a/mining-pool/src/views/readOnlyDisplay/index.js b/mining-pool/src/views/readOnlyDisplay/index.js index f84c7e8..bb63008 100644 --- a/mining-pool/src/views/readOnlyDisplay/index.js +++ b/mining-pool/src/views/readOnlyDisplay/index.js @@ -1921,6 +1921,9 @@ export default { case `alph`: window.open(`https://explorer.alephium.org/transactions/${txid}`) break; + case `xmr`: + window.open(`https://localmonero.co/blocks/tx/${txid}`) + break; default: break; diff --git a/mining-pool/src/views/reportBlock/index.js b/mining-pool/src/views/reportBlock/index.js index 66cd68e..17ec886 100644 --- a/mining-pool/src/views/reportBlock/index.js +++ b/mining-pool/src/views/reportBlock/index.js @@ -318,9 +318,9 @@ export default { clickCurrency(item) { if (!item) return; // 设置标记,防止触发 watch - - this.luckData={} - + + this.luckData = {} + this.isInternalChange = true; this.activeItemCoin = item; this.$addStorageEvent(1, `activeItemCoin`, JSON.stringify(item)) @@ -355,6 +355,9 @@ export default { case `alph`: window.open(`https://explorer.alephium.org/blocks/${item.hash}`) break; + case `xmr`: + window.open(`https://localmonero.co/blocks/block/${item.height}`) + break; default: break; diff --git a/mining-pool/test.zip b/mining-pool/test.zip index ffd80c3..265118b 100644 Binary files a/mining-pool/test.zip and b/mining-pool/test.zip differ diff --git a/mining-pool/test/css/app-189e7968.d4db0c40.css b/mining-pool/test/css/app-189e7968.d4db0c40.css new file mode 100644 index 0000000..9274ffe --- /dev/null +++ b/mining-pool/test/css/app-189e7968.d4db0c40.css @@ -0,0 +1 @@ +.chat-widget[data-v-1a3f78b4]{position:fixed;bottom:40px;right:60px;z-index:1000;font-family:Arial,sans-serif}.chat-icon[data-v-1a3f78b4]{width:60px;height:60px;border-radius:50%;background-color:#ac85e0;color:#fff;display:flex;justify-content:center;align-items:center;cursor:pointer;box-shadow:0 4px 10px rgba(0,0,0,.2);transition:all .3s ease;position:relative}.chat-icon i[data-v-1a3f78b4]{font-size:28px}.chat-icon[data-v-1a3f78b4]:hover{transform:scale(1.05);background-color:#6e3edb}.chat-icon.active[data-v-1a3f78b4]{background-color:#6e3edb}.unread-badge[data-v-1a3f78b4]{position:absolute;top:-5px;right:-5px;background-color:#e74c3c;color:#fff;border-radius:50%;width:20px;height:20px;font-size:12px;display:flex;justify-content:center;align-items:center}.chat-dialog[data-v-1a3f78b4]{position:absolute;bottom:80px;right:0;width:350px;height:450px;background-color:#fff;border-radius:10px;box-shadow:0 5px 25px rgba(0,0,0,.1);display:flex;flex-direction:column;overflow:hidden}.chat-header[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff;padding:15px;display:flex;justify-content:space-between;align-items:center}.chat-title[data-v-1a3f78b4]{font-weight:700;font-size:16px}.chat-actions[data-v-1a3f78b4]{display:flex;gap:15px}.chat-actions i[data-v-1a3f78b4]{cursor:pointer;font-size:16px}.chat-actions i[data-v-1a3f78b4]:hover{opacity:.8}.chat-body[data-v-1a3f78b4]{flex:1;overflow-y:auto;padding:15px;background-color:#f8f9fa}.chat-status[data-v-1a3f78b4]{display:flex;flex-direction:column;justify-content:center;align-items:center;height:100%}.chat-status i[data-v-1a3f78b4]{font-size:32px;margin-bottom:16px}.chat-status p[data-v-1a3f78b4]{margin:8px 0;color:#666}.chat-status.connecting i[data-v-1a3f78b4]{color:#ac85e0}.chat-status.error i[data-v-1a3f78b4],.chat-status.error p[data-v-1a3f78b4]{color:#e74c3c}.chat-status.disconnected i[data-v-1a3f78b4],.chat-status.disconnected p[data-v-1a3f78b4]{color:#f39c12}.chat-status .retry-button[data-v-1a3f78b4]{margin-top:16px;padding:8px 16px;background-color:#ac85e0;color:#fff;border:none;border-radius:20px;cursor:pointer}.chat-status .retry-button[data-v-1a3f78b4]:hover{background-color:#6e3edb}.chat-empty[data-v-1a3f78b4]{color:#777;text-align:center;margin-top:30px}.chat-message[data-v-1a3f78b4]{display:flex;margin-bottom:15px}.chat-message.chat-message-user[data-v-1a3f78b4]{flex-direction:row-reverse}.chat-message.chat-message-user .message-content[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff;border-radius:18px 18px 0 18px}.chat-message.chat-message-user .message-time[data-v-1a3f78b4]{text-align:right;color:hsla(0,0%,100%,.7)}.chat-message.chat-message-system .message-content[data-v-1a3f78b4]{background-color:#fff;border-radius:18px 18px 18px 0}.message-avatar[data-v-1a3f78b4]{width:36px;height:36px;border-radius:50%;display:flex;justify-content:center;align-items:center;background-color:#e0e0e0;margin:0 10px}.message-avatar i[data-v-1a3f78b4]{font-size:18px;color:#555}.message-content[data-v-1a3f78b4]{position:relative;max-width:70%;padding:18px 15px 10px 15px;box-shadow:0 1px 2px rgba(0,0,0,.1)}.message-content .message-time[data-v-1a3f78b4]{position:absolute;top:6px;right:15px;font-size:11px;color:#bbb;pointer-events:none;user-select:none}.chat-message-user .message-content .message-time[data-v-1a3f78b4]{color:hsla(0,0%,100%,.7)}.message-text[data-v-1a3f78b4]{line-height:1.4;font-size:14px;word-break:break-word}.message-image img[data-v-1a3f78b4]{max-width:200px;max-height:200px;border-radius:8px;cursor:pointer;transition:transform .2s}.message-image img[data-v-1a3f78b4]:hover{transform:scale(1.03)}.message-time[data-v-1a3f78b4]{font-size:11px;margin-top:4px}.chat-footer[data-v-1a3f78b4]{padding:10px;display:flex;border-top:1px solid #e0e0e0;align-items:center}.chat-toolbar[data-v-1a3f78b4]{margin-right:8px}.image-upload-label[data-v-1a3f78b4]{display:flex;align-items:center;justify-content:center;width:30px;height:30px;cursor:pointer;color:#666}.image-upload-label[data-v-1a3f78b4]:hover:not(.disabled){color:#ac85e0}.image-upload-label.disabled[data-v-1a3f78b4]{opacity:.5;cursor:not-allowed}.image-upload-label i[data-v-1a3f78b4]{font-size:20px}.chat-input[data-v-1a3f78b4]{flex:1;border:1px solid #ddd;border-radius:20px;padding:8px 15px;outline:none}.chat-input[data-v-1a3f78b4]:focus:not(:disabled){border-color:#ac85e0}.chat-input[data-v-1a3f78b4]:disabled{background-color:#f5f5f5;cursor:not-allowed}.chat-send[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff;border:none;border-radius:20px;padding:8px 15px;margin-left:10px;cursor:pointer;font-weight:700}.chat-send[data-v-1a3f78b4]:hover:not(:disabled){background-color:#6e3edb}.chat-send[data-v-1a3f78b4]:disabled{opacity:.5;cursor:not-allowed}.image-preview-overlay[data-v-1a3f78b4]{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,.8);z-index:1100;display:flex;justify-content:center;align-items:center}.image-preview-container[data-v-1a3f78b4]{position:relative;max-width:90%;max-height:90%}.preview-image[data-v-1a3f78b4]{max-width:100%;max-height:90vh;object-fit:contain}.preview-close[data-v-1a3f78b4]{position:absolute;top:-40px;right:0;color:#fff;font-size:24px;cursor:pointer;background-color:rgba(0,0,0,.5);width:36px;height:36px;border-radius:50%;display:flex;justify-content:center;align-items:center}.preview-close[data-v-1a3f78b4]:hover{background-color:rgba(0,0,0,.8)}.chat-slide-enter-active[data-v-1a3f78b4],.chat-slide-leave-active[data-v-1a3f78b4]{transition:all .3s ease}.chat-slide-enter[data-v-1a3f78b4],.chat-slide-leave-to[data-v-1a3f78b4]{transform:translateY(20px);opacity:0}@media(max-width:768px){.chat-widget[data-v-1a3f78b4]{bottom:20px;right:20px}.chat-dialog[data-v-1a3f78b4]{width:300px;height:400px;bottom:70px}.message-image img[data-v-1a3f78b4]{max-width:150px;max-height:150px}}.system-hint[data-v-1a3f78b4]{color:#999;gap:6px}.history-indicator[data-v-1a3f78b4],.system-hint[data-v-1a3f78b4]{text-align:center;font-size:12px;margin:10px 0;display:flex;align-items:center;justify-content:center}.history-indicator[data-v-1a3f78b4]{color:#666;cursor:pointer;gap:4px;padding:5px;border-radius:15px;background-color:#f0f0f0;width:fit-content;margin:0 auto 10px}.history-indicator[data-v-1a3f78b4]:hover{background-color:#e0e0e0;color:#333}.chat-message-history[data-v-1a3f78b4]{opacity:.8}.chat-message-hint[data-v-1a3f78b4],.chat-message-loading[data-v-1a3f78b4]{margin:5px 0;justify-content:center}.chat-message-hint span[data-v-1a3f78b4],.chat-message-loading span[data-v-1a3f78b4]{color:#999;font-size:12px}.message-footer[data-v-1a3f78b4]{display:flex;justify-content:space-between;align-items:center;margin-top:4px;font-size:11px}.message-time[data-v-1a3f78b4]{color:#999}.message-read-status[data-v-1a3f78b4]{color:#999;font-size:10px;margin-left:5px}.chat-message-user .message-read-status[data-v-1a3f78b4]{color:hsla(0,0%,100%,.7)}.network-status[data-v-1a3f78b4]{position:fixed;top:80px;right:20px;padding:8px 16px;border-radius:4px;display:flex;align-items:center;gap:8px;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.1);background-color:#fef0f0;color:#f56c6c}.guest-notice[data-v-1a3f78b4]{background-color:#f8f9fa;border-radius:8px;padding:8px 12px;margin-bottom:10px;text-align:center;border:1px solid #e0e0e0}.guest-notice .guest-notice-content[data-v-1a3f78b4]{display:inline-flex;gap:2px;color:#666;font-size:13px;line-height:1.4}.guest-notice .guest-notice-content i[data-v-1a3f78b4]{color:#ac85e0;font-size:16px;flex-shrink:0}.guest-notice .guest-notice-content .login-link[data-v-1a3f78b4]{color:#ac85e0;text-decoration:none;font-weight:700;cursor:pointer;transition:color .3s;margin:0 2px}.guest-notice .guest-notice-content .login-link[data-v-1a3f78b4]:hover{color:#6e3edb;text-decoration:underline}.error-actions[data-v-1a3f78b4]{display:flex;gap:10px;margin-top:16px;justify-content:center}.error-actions .refresh-button[data-v-1a3f78b4],.error-actions .retry-button[data-v-1a3f78b4]{padding:8px 16px;border:none;border-radius:20px;cursor:pointer;font-weight:700;transition:all .3s ease}.error-actions .refresh-button[data-v-1a3f78b4]:hover,.error-actions .retry-button[data-v-1a3f78b4]:hover{transform:translateY(-1px)}.error-actions .retry-button[data-v-1a3f78b4]{background-color:#ac85e0;color:#fff}.error-actions .retry-button[data-v-1a3f78b4]:hover{background-color:#6e3edb}.error-actions .refresh-button[data-v-1a3f78b4]{background-color:#f0f0f0;color:#666;padding:0 16px}.error-actions .refresh-button[data-v-1a3f78b4]:hover{background-color:#e0e0e0}.chat-time-divider[data-v-1a3f78b4]{text-align:center;margin:16px 0;font-size:12px;color:#fff;background:hsla(0,0%,71%,.6);display:inline-block;padding:2px 12px;border-radius:10px;box-shadow:0 1px 2px rgba(0,0,0,.04);left:50%;transform:translateX(-50%);position:relative}:root{--background-color:#fff;--text-color:#000}.dark-mode{--background-color:#000;--text-color:#fff}*{margin:0;padding:0}*,body,html{box-sizing:border-box}body,html{scrollbar-width:none;-ms-overflow-style:none;border-right:none;overflow:hidden}#app{overflow-x:hidden;font-size:1rem}#app ::-webkit-scrollbar{width:5px;height:6px}#app ::-webkit-scrollbar-thumb{background-color:#d2c3e9;border-radius:20px}#app ::-webkit-scrollbar-track{background-color:#f0f0f0}#app input::-webkit-inner-spin-button,#app input::-webkit-outer-spin-button{-webkit-appearance:none}#app input[type=number]{-moz-appearance:textfield}.el-message{z-index:99999!important;min-width:300px!important}.dynamic-content :deep(p){text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}[data-v-2329c878]{margin:0;padding:0;box-sizing:border-box}.nav[data-v-2329c878]{z-index:1000;margin-right:8px;font-size:.9rem}.nav-item[data-v-2329c878]{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 10px}.nav-item .itemImg[data-v-2329c878]{width:20px;margin-right:5px}.nav-item .arrow[data-v-2329c878]{margin-left:5px;border:solid rgba(0,0,0,.3);border-width:0 1px 1px 0;display:inline-block;padding:3px;transform:rotate(45deg);transition:transform .3s}.nav-item .arrow.up[data-v-2329c878]{transform:rotate(-135deg)}.dropdown[data-v-2329c878]{position:absolute;top:47px;left:0;width:392px;background:#fff;border:1px solid #eee;border-radius:4px;padding:3px;display:none;flex-wrap:wrap;gap:1px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);z-index:999999}.dropdown.show[data-v-2329c878]{display:flex}.dropdown .option[data-v-2329c878]{width:76px;height:80px;background:#f5f5f5;cursor:pointer;transition:all .3s;border-radius:4px;overflow:hidden;text-align:center;padding:5px}.dropdown .optionActive[data-v-2329c878],.dropdown .option[data-v-2329c878]:hover{background:#e8e8e8;color:#6e3edb;border:1px solid #9d8ac9}.dropdownCoin[data-v-2329c878]{width:32px;margin:0}.dropdownText[data-v-2329c878]{width:100%;font-size:.8rem;text-align:center;margin:0;word-break:break-word;margin-top:5px}.headerBox[data-v-2329c878]{width:100%;font-size:.95rem;display:flex;justify-content:center}.miningAccountTitle[data-v-2329c878]:hover{color:#6e3edb!important}.hidden[data-v-2329c878]{display:block;opacity:1!important}.el-menu--horizontal>.el-submenu .el-submenu__title[data-v-2329c878]{color:#000}.el-menu--horizontal[data-v-2329c878]{background:transparent}.el-submenu[data-v-2329c878]:hover{background-color:transparent!important}.el-submenu.is-active[data-v-2329c878]:after{border-bottom:none!important;border-bottom-color:transparent!important;border:none!important;outline:none!important}.is-order[data-v-2329c878]{background:#21a0ff}.dropdownItem[data-v-2329c878]{display:flex;align-items:center}.dropdownItem img[data-v-2329c878]{margin-right:5px}.active[data-v-2329c878]{color:#6e3edb!important;font-weight:600}.whiteBg[data-v-2329c878]{background:hsla(0,0%,100%,.5)}.header[data-v-2329c878]{display:flex;justify-content:space-between;align-items:center;height:100%;width:95%}.logo[data-v-2329c878]{width:18%;height:100%;display:flex;justify-content:right;align-items:center;font-size:.9rem}.logo img[data-v-2329c878]{width:100px}.topMenu[data-v-2329c878]{width:80%;height:100%;display:flex;justify-content:end;align-items:center}.topMenu .afterLoggingIn[data-v-2329c878]{min-width:50%;display:flex;justify-content:right;align-items:center}.topMenu .afterLoggingIn .langBox[data-v-2329c878]{display:flex;justify-content:space-around;align-items:center;width:70px}.topMenu .afterLoggingIn .LangLine[data-v-2329c878]{width:1px;height:60%;background:#ccc;margin-right:8px}.topMenu .afterLoggingIn li[data-v-2329c878]{position:relative}.topMenu .afterLoggingIn .horizontalLine[data-v-2329c878]{width:100%;position:absolute;bottom:-10px;display:flex;justify-content:center;align-items:center;opacity:0;transition:all .3s linear}.topMenu .afterLoggingIn .horizontalLine .circular[data-v-2329c878]{width:5px;height:5px;background:#6e3edb;border-radius:50%}.topMenu .afterLoggingIn .horizontalLine .line[data-v-2329c878]{width:20px;height:5px;background:#6e3edb;margin-left:2px;border-radius:22px}.topMenu .notLoggedIn[data-v-2329c878]{width:40%}.topMenu .notLoggedIn li[data-v-2329c878]{margin-left:1%}.topMenu .notLoggedIn .langBox[data-v-2329c878]{display:flex;justify-content:space-around;align-items:center;width:20%}.topMenu .notLoggedIn .register.register[data-v-2329c878]{padding:1px 30px}.topMenu .notLoggedIn .LangLine[data-v-2329c878]{width:1px;height:60%;background:#ccc;margin-right:2%}.menuBox[data-v-2329c878]{min-width:42%!important;height:100%;display:flex;justify-content:end;align-items:center;margin:0}.menuBox li[data-v-2329c878]{list-style:none;height:45%;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:3%;font-size:.9rem;position:relative;text-align:center;min-width:61px}.menuBox li[data-v-2329c878]:hover{color:#6e3edb;font-weight:600}.menuBox .login[data-v-2329c878]{padding:2px 18px}.menuBox .login[data-v-2329c878]:hover{color:#21a0ff;border:1px solid #21a0ff;border-radius:10px}.menuBox .register[data-v-2329c878]{background:#d2c3ea;border-radius:25px;padding:0 25px}.menuBox .register[data-v-2329c878]:hover{color:#000;color:#fe4886}.el-submenu__title[data-v-2329c878]:hover{background-color:transparent!important;background:transparent!important;color:#6e3edb!important}.el-menu-item.is-active[data-v-2329c878]:not(.is-index){border-bottom:none!important}.el-submenu__title[data-v-2329c878]{margin-right:10px}.el-submenu.is-active[data-v-2329c878],.el-submenu__title[data-v-2329c878]{border:none!important;border-bottom:none!important;border-bottom-color:transparent!important}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title[data-v-2329c878]{border-bottom:0!important}.el-submenu.is-active .el-submenu__title[data-v-2329c878]{border-bottom-color:transparent!important}.el-menu.el-menu--horizontal[data-v-2329c878]{border-bottom:0!important}@media screen and (min-width:220px)and (max-width:1279px){.contentMain[data-v-43751b68]{background-image:none!important}.contentPage[data-v-43751b68]{min-height:200px!important}.moveFooterBox[data-v-43751b68]{width:100%;background-image:url(/img/homebgbtm.8b659935.png);background-repeat:no-repeat;background-size:100% 90%}.footerBox[data-v-43751b68]{align-items:flex-start!important;margin:0!important;display:flex;flex-direction:column;height:auto!important;padding-left:0!important}.footerBox .logoBox[data-v-43751b68]{width:100%;height:100px;display:flex;flex-direction:column;justify-content:center;padding:18px 18px;border-bottom:1px solid #ccc}.footerBox .logoBox .logoImg[data-v-43751b68]{width:140px}.footerBox .logoBox .copyright[data-v-43751b68]{margin-top:15px;font-size:.8rem;color:rgba(0,0,0,.7)}.footerBox .missionBox[data-v-43751b68]{width:100%;min-height:130px;border-bottom:1px solid #ccc;padding:10px 18px}.footerBox .missionBox .mission[data-v-43751b68]{font-size:.9rem;font-weight:600}.footerBox .missionBox .missionText[data-v-43751b68]{margin-top:18px;font-size:.85rem;color:rgba(0,0,0,.7);padding-left:18px;cursor:pointer}.footerBox .missionBox .FMenu[data-v-43751b68]{width:100%;padding-left:18px;font-size:.85rem;color:rgba(0,0,0,.8);margin-top:18px}.footerBox .missionBox .FMenu p[data-v-43751b68]{line-height:30px;width:50%}.footerBox .missionBox .FMenu p a[data-v-43751b68]:nth-of-type(2){margin-left:28%}.footerBox .missionBox .FMenu p span[data-v-43751b68]{cursor:pointer}}.contentPage[data-v-43751b68]{min-height:630px}.contentMain[data-v-43751b68]{width:100%;min-height:100vh;background-image:url(/img/bktop.91a777f0.png);background-size:100% 28%;background-repeat:no-repeat;background-position:0 -6%;position:relative;overflow-x:hidden;overflow-y:auto}.header[data-v-43751b68]{display:flex;justify-content:space-between;align-items:center;height:100%;width:95%;padding:0 5%}.logo[data-v-43751b68]{width:18%;height:100%;display:flex;justify-content:center;align-items:center;font-size:1.8em}.logo img[data-v-43751b68]{width:38%}.topMenu[data-v-43751b68]{width:80%;height:100%;display:flex;justify-content:end;align-items:center}.topMenu .afterLoggingIn[data-v-43751b68]{width:35%}.topMenu .afterLoggingIn .langBox[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;width:20%}.topMenu .afterLoggingIn .LangLine[data-v-43751b68]{width:1px;height:60%;background:#ccc;margin-right:2%}.topMenu .notLoggedIn[data-v-43751b68]{width:35%}.topMenu .notLoggedIn .langBox[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;width:20%}.topMenu .notLoggedIn .LangLine[data-v-43751b68]{width:1px;height:60%;background:#ccc;margin-right:2%}.menuBox[data-v-43751b68]{width:50%;height:100%;display:flex;justify-content:end;align-items:center;margin:0}.menuBox li[data-v-43751b68]{list-style:none;height:45%;display:flex;justify-content:center;align-items:center;cursor:pointer;margin-left:8%}.menuBox li[data-v-43751b68]:hover{color:#000}.menuBox .login[data-v-43751b68]{padding:2px 18px}.menuBox .login[data-v-43751b68]:hover{color:#21a0ff;border:1px solid #21a0ff;border-radius:10px}.menuBox .register[data-v-43751b68]{background:#d2c3ea;border-radius:25px;padding:0 25px}.menuBox .register[data-v-43751b68]:hover{color:#000;color:#fe4886}.whiteBg[data-v-43751b68]{background:hsla(0,0%,100%,.2)}.head[data-v-43751b68]{position:fixed;top:0;left:0}.contentBox[data-v-43751b68]{width:100%;display:flex;justify-content:start;align-items:center;flex-direction:column;padding-top:5%}.contentBox .currencyBox[data-v-43751b68]{width:85%;display:flex;justify-content:center;align-items:center}.contentBox .currencyBox .sunCurrency[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8px 10px;border-radius:22px;cursor:pointer;font-weight:600;margin-left:10px;font-size:1em}.contentBox .currencyBox .sunCurrency img[data-v-43751b68]{width:35px;margin-left:5%}.contentBox .currencyBox .sunCurrency span[data-v-43751b68]{text-transform:uppercase;margin-top:10px}.contentBox .currencyBox .sunCurrency[data-v-43751b68]:hover{background:rgba(223,83,52,.05);font-size:12px;box-shadow:0 0 5px 3px rgba(223,83,52,.05)}.contentBox .currencyDescription[data-v-43751b68]{width:85%;display:flex;justify-content:center}.contentBox .currencyDescription .currencyDescriptionBox[data-v-43751b68]{width:90%;height:600px;box-shadow:0 0 3px 1px #ccc;margin-top:2%;display:flex;justify-content:start;flex-direction:column;align-items:center;position:relative}.contentBox .currencyDescription .currencyDescriptionBox .titleBOX[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;padding:20px 10px;width:100%;border-bottom:1px solid rgba(0,0,0,.1)}.contentBox .currencyDescription .currencyDescriptionBox .titleBOX h3[data-v-43751b68]{width:90%;font-size:1.5em;text-align:center}.contentBox .currencyDescription .currencyDescriptionBox .titleBOX .titleCurrency[data-v-43751b68]:hover{background:rgba(223,83,52,.05);font-size:13px;box-shadow:0 0 5px 3px rgba(223,83,52,.05)}.contentBox .currencyDescription .currencyDescriptionBox .titleCurrency[data-v-43751b68]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8px 10px;border-radius:22px;font-weight:600;margin-left:30px;font-size:1.1em;margin-right:1%;position:absolute;top:10px;right:60px}.contentBox .currencyDescription .currencyDescriptionBox .titleCurrency img[data-v-43751b68]{width:35px;margin-left:1%}.contentBox .currencyDescription .currencyDescriptionBox .titleCurrency span[data-v-43751b68]{margin-top:10px;text-transform:uppercase}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower[data-v-43751b68]{height:15%;width:100%;display:flex;justify-content:space-around;align-items:center;font-size:1.3em;margin:10px 10px}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower .PowerBox[data-v-43751b68]{display:flex;flex-direction:column;justify-content:center;align-content:center}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower span[data-v-43751b68]{cursor:pointer;width:100%;text-align:center}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower span[data-v-43751b68]:hover{color:#df5334;font-weight:600}.contentBox .currencyDescription .currencyDescriptionBox .computationalPower .Power[data-v-43751b68]{font-size:1.5em}.contentBox .currencyDescription .currencyDescriptionBox p[data-v-43751b68]{width:80%;margin:0;font-size:1em;margin-top:3px;margin-left:5%;text-align:left;height:8%;padding:0 10px;line-height:50px;box-shadow:0 0 2px 1px #ccc;margin-top:1%}.contentBox .reportBlock[data-v-43751b68]{width:85%;display:flex;justify-content:center;height:1200px;margin-top:1%}.contentBox .reportBlock .reportBlockBox[data-v-43751b68]{width:90%;height:100%;box-shadow:0 0 3px 1px #ccc;background:#f5f9fd;display:flex;justify-content:space-between;flex-direction:column;align-items:center;padding:10px 10px}.contentBox .reportBlock .reportBlockBox .top[data-v-43751b68]{width:100%;height:18%;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(0,0,0,.1);padding:20px 0;color:#fff;font-weight:600;font-size:1.2em}.contentBox .reportBlock .reportBlockBox .top div[data-v-43751b68]{width:20%;background:#2eaeff;height:100%;display:flex;align-items:center;justify-content:space-around;margin-left:3%;border-radius:5%}.contentBox .reportBlock .reportBlockBox .belowTable[data-v-43751b68]{width:100%;height:80%;display:flex;justify-content:center;flex-direction:column;align-items:center}.contentBox .reportBlock .reportBlockBox .belowTable ul[data-v-43751b68]{width:100%;height:90%;padding:0;overflow:hidden;overflow-y:auto}.contentBox .reportBlock .reportBlockBox .belowTable ul .table-title[data-v-43751b68]{position:sticky;top:0;background:#f5f9fd;padding:0 10px}.contentBox .reportBlock .reportBlockBox .belowTable ul li[data-v-43751b68]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:7%}.contentBox .reportBlock .reportBlockBox .belowTable ul li span[data-v-43751b68]{height:100%;width:20%;line-height:55px;font-size:1.1em;font-weight:600;text-align:center}.contentBox .reportBlock .reportBlockBox .belowTable ul .currency-list[data-v-43751b68]{background:#fff;box-shadow:0 0 2px 1px rgba(0,0,0,.02);margin-top:1%;padding:0 10px}.contentBox .EchartsBox[data-v-43751b68]{width:80%;min-height:300px}.contentBox .EchartsBox .chart[data-v-43751b68]{height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.contentBox .formBox[data-v-43751b68]{width:80%;min-height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.footerBox[data-v-43751b68]{justify-content:space-around;width:100%;height:300px;display:flex;justify-content:center;align-items:center;padding-left:15%;background-image:url(/img/bkbuttom.05337f57.png);background-repeat:no-repeat;background-size:100% 100%;color:rgba(0,0,0,.9);margin-top:100px}.footerBox .one .oneText[data-v-43751b68]{width:40%;margin:0 auto;height:30%;display:flex;flex-direction:column;justify-content:space-between}.footerBox .one .oneText img[data-v-43751b68]{width:100%}.footerBox .logo2[data-v-43751b68]{display:flex}.footerBox .logo2 .logoBox[data-v-43751b68]{display:flex;flex-direction:column;justify-content:start;margin-top:4%}.footerBox .logo2 .logoBox .logoImg[data-v-43751b68]{width:160px}.footerBox .logo2 .logoBox .copyright[data-v-43751b68]{font-size:.8rem;width:100%;margin-top:15px}.footerBox .logo2 .logoBox .socialContact[data-v-43751b68]{display:flex;justify-content:space-around;width:120%;margin-top:28px}.footerBox .logo2 .logoBox .socialContact img[data-v-43751b68]{width:25px;transition:.1s linear;cursor:pointer}.footerBox .logo2 .logoBox .socialContact img[data-v-43751b68]:hover{width:28px}.footerBox .text div[data-v-43751b68]{width:77%;height:60%;line-height:28px;margin-top:25px;font-size:.95rem}.footerBox .product ul[data-v-43751b68]{margin:0;padding:0;display:flex;justify-content:center;flex-direction:column}.footerBox .product ul .productTitle[data-v-43751b68]{margin:0}.footerBox .product ul li[data-v-43751b68]{margin-top:15px;list-style:none;font-size:.95rem}.footerBox .product ul li span[data-v-43751b68]{cursor:pointer}.footerBox .product ul li span[data-v-43751b68]:hover{color:#6e3edb}.footerBox .product ul li a[data-v-43751b68]:hover{color:#6e3edb;cursor:pointer}.footerSon[data-v-43751b68]{width:100%;height:90%;margin:18px 10px}.footerSon .productTitle[data-v-43751b68],.footerSon h4[data-v-43751b68]{color:#000}.MoveMain[data-v-5f8aca30]{width:100%;height:100%;position:relative;z-index:9999}.headerMove[data-v-5f8aca30]{width:100%;min-height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;z-index:999}.headerMove img[data-v-5f8aca30]{width:30px}.headerMove .title[data-v-5f8aca30]{font-weight:600}.headerMove .menu[data-v-5f8aca30]{width:15%;height:100%;display:flex;align-items:center;justify-content:right}.menuItem[data-v-5f8aca30]{background:#d2c4e8;padding-left:5%;border-radius:5px;margin-top:20px;display:flex;align-items:center;justify-content:left}.menuItem img[data-v-5f8aca30]{width:15px;margin-right:5px}.menuItem2[data-v-5f8aca30]{background:#d2c4e8;padding-left:5%;border-radius:5px;display:flex;align-items:center}.menuItem2 img[data-v-5f8aca30]{width:15px;margin-right:5px}.menuLogin[data-v-5f8aca30]{display:flex;margin-top:10px;justify-content:space-around;margin-bottom:20px}.langBox[data-v-5f8aca30]{width:100%;display:flex;font-size:.6em;margin-top:18px;justify-content:space-around}[data-v-5f8aca30] .el-collapse-item__content{max-height:300px;overflow-y:auto}.el-radio[data-v-5f8aca30]{margin:0!important;margin-left:2px!important;font-size:.6em!important}.lgBTH[data-v-5f8aca30]{background:#651efe;color:#fff;padding:8px 23px}.reBTH[data-v-5f8aca30]{padding:8px 23px;color:#fff;background:#ff4181}[data-v-5f8aca30].el-dropdown-menu{left:40%!important;top:48px!important;padding-bottom:30px}.el-popper[x-placement^=bottom][data-v-5f8aca30]{min-width:60%!important}[data-v-5f8aca30] .el-collapse-item__header{border:none!important;height:36px!important;line-height:36px!important;background:#d2c4e8!important;margin-top:20px;border-radius:5px}.el-dropdown-menu__item[data-v-5f8aca30]:not(.is-disabled):hover,[data-v-5f8aca30].el-dropdown-menu__item:focus{padding:0}[data-v-5f8aca30] .el-collapse-item__wrap,[data-v-5f8aca30].el-collapse{border:none!important}.currencyBox[data-v-5f8aca30]{margin:0;padding:0;width:88%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto}.currencyBox li[data-v-5f8aca30]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.currencyBox li img[data-v-5f8aca30]{width:25px}.currencyBox li p[data-v-5f8aca30]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.accountBox[data-v-5f8aca30]{padding:8px 12px;font-size:.8rem;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1)}.accountBox .coinBox[data-v-5f8aca30],.accountBox[data-v-5f8aca30]{display:flex;align-items:center}.accountBox .coinBox img[data-v-5f8aca30]{width:20px}.accountBox .coinBox .coin[data-v-5f8aca30]{margin-left:5px}.accountBox .coin[data-v-5f8aca30]{text-transform:capitalize}.el-menu--horizontal>.el-submenu .el-submenu__title[data-v-5f8aca30]{color:#000}.el-menu--horizontal[data-v-5f8aca30]{background:transparent}.el-submenu[data-v-5f8aca30]:hover{background-color:transparent!important}.el-submenu.is-active[data-v-5f8aca30]:after{border-bottom:none!important;border-bottom-color:transparent!important;border:none!important;outline:none!important;background:transparent}.el-submenu__title:hover{background-color:transparent!important;background:transparent!important;color:#6e3edb!important}.el-menu-item.is-active:not(.is-index){border-bottom:none!important}.el-submenu.is-active,.el-submenu__title{border:none!important;border-bottom:none!important;border-bottom-color:transparent!important}.el-menu--horizontal>.el-submenu.is-active .el-submenu__title{border-bottom:0!important}.el-submenu.is-active .el-submenu__title{border-bottom-color:transparent!important}.el-menu.el-menu--horizontal{border-bottom:0!important}.el-dropdown-menu__item,.el-menu-item{padding:0 10px!important}.el-submenu .el-menu-item[data-v-c3955b78]{padding-left:40px!important}[data-v-5b61c3ca]{margin:0;padding:0;box-sizing:border-box}.back-admin-layout[data-v-5b61c3ca]{width:100vw;height:100vh;background:#f5f6fa;overflow:hidden}.admin-header[data-v-5b61c3ca]{justify-content:space-between;height:15vh;background:#fff;border-bottom:1px solid #eee;padding:0 32px}.admin-header[data-v-5b61c3ca],.logo[data-v-5b61c3ca]{display:flex;align-items:center}.logo-img[data-v-5b61c3ca]{width:6vw;height:auto;margin-right:12px}.logo-title[data-v-5b61c3ca]{font-size:1vw;font-weight:700;color:rgba(0,0,0,.6)}.logo-sub[data-v-5b61c3ca]{font-size:12px;color:#888}.admin-header-right[data-v-5b61c3ca]{display:flex;align-items:center;gap:24px}.lang[data-v-5b61c3ca]{color:#333;font-size:14px;margin-left:16px}.admin-main[data-v-5b61c3ca]{background:#fff;margin:24px;border-radius:8px;padding:30px;min-width:0;min-height:0;box-shadow:0 2px 8px rgba(0,0,0,.04);display:flex;flex-direction:column;height:84vh;overflow:hidden}.main-title[data-v-5b61c3ca]{font-size:22px;font-weight:700;margin-bottom:18px}.main-filters[data-v-5b61c3ca]{margin-bottom:18px}.el-main[data-v-7e1a768d]{scrollbar-width:none;-ms-overflow-style:none;border-right:none}.containerApp[data-v-7e1a768d]{overflow-x:hidden}[data-v-7e1a768d]::-webkit-scrollbar{width:0;height:0}.el-header[data-v-7e1a768d]{height:8%!important;display:flex;justify-content:center;background-image:url(/img/bktop.91a777f0.png);background-position:60% 8%;background-size:cover;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.el-main[data-v-7e1a768d]{padding:0;overflow-y:auto}@media screen and (min-width:220px)and (max-width:1279px){.el-header[data-v-7e1a768d]{width:100%;background-image:none;height:auto!important;padding:0;box-shadow:0 0 3px 2px #ccc!important;margin:0 auto}.containerApp[data-v-7e1a768d]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/homebgtop.733f659d.png);background-repeat:no-repeat;background-size:115%;background-position:40% -2%}}.horizontal-broadcast-container[data-v-1553ea89]{width:100%;background:#fff;display:flex;align-items:center;padding:0 20px!important;position:relative;z-index:100;background:#e7dff3}.broadcast-header[data-v-1553ea89]{display:flex;align-items:center;margin-right:15px;flex-shrink:0}.broadcast-header i[data-v-1553ea89]{color:#5721e4;font-size:18px;margin-right:8px}.broadcast-header .broadcast-title[data-v-1553ea89]{color:#5721e4;font-weight:600;font-size:14px;white-space:nowrap}.horizontal-scroll-wrapper[data-v-1553ea89]{flex:1;overflow:hidden;position:relative;height:var(--fd811a88);border-radius:8px;cursor:pointer;display:flex;align-items:center}.horizontal-scroll-wrapper.full-width[data-v-1553ea89]{margin-right:0}.horizontal-scroll-content[data-v-1553ea89]{display:flex;align-items:center;height:100%;white-space:nowrap;will-change:transform}.horizontal-broadcast-item[data-v-1553ea89]{display:inline-flex;align-items:center;height:100%;margin-right:30px;flex-shrink:0;font-size:.85rem}.horizontal-broadcast-item .horizontal-item-content[data-v-1553ea89]{color:#333;font-size:14px;line-height:1.4;padding:0 15px;white-space:nowrap;transition:color .3s ease}.horizontal-broadcast-item .button-group[data-v-1553ea89]{display:inline-flex;align-items:center;gap:0}.horizontal-broadcast-item .horizontal-item-separator[data-v-1553ea89]{color:#ccc;margin:0 15px;font-size:12px}.horizontal-scroll-wrapper.is-hovering[data-v-1553ea89],.horizontal-scroll-wrapper[data-v-1553ea89]:hover{border-color:#5721e4;transition:all .3s ease}.horizontal-scroll-wrapper.is-hovering .horizontal-item-content[data-v-1553ea89]{font-weight:500;transition:all .3s ease}.horizontal-scroll-wrapper.is-hovering[data-v-1553ea89]:before{content:"";position:absolute;top:50%;right:8px;transform:translateY(-50%);width:6px;height:6px;background:#5721e4;border-radius:50%;animation:pausePulse-1553ea89 1.5s ease-in-out infinite;z-index:1}.view[data-v-1553ea89]{color:#5721e4;cursor:pointer;padding:2px 8px;border-radius:4px;transition:all .3s ease;white-space:nowrap;border:1px solid transparent}.view[data-v-1553ea89]:hover{background-color:#5721e4;color:#fff;border-color:#5721e4;transform:translateY(-1px)}.view[data-v-1553ea89]:active{transform:translateY(0)}@keyframes pausePulse-1553ea89{0%,to{opacity:.6;transform:translateY(-50%) scale(1)}50%{opacity:1;transform:translateY(-50%) scale(1.2)}}@media screen and (max-width:768px){.horizontal-broadcast-container[data-v-1553ea89]{padding:8px 15px}.horizontal-broadcast-container .broadcast-header[data-v-1553ea89]{margin-right:10px}.horizontal-broadcast-container .broadcast-header i[data-v-1553ea89]{font-size:16px;margin-right:5px}.horizontal-broadcast-container .broadcast-header .broadcast-title[data-v-1553ea89]{font-size:12px}.horizontal-broadcast-item[data-v-1553ea89]{margin-right:20px}.horizontal-broadcast-item .horizontal-item-content[data-v-1553ea89]{font-size:13px;padding:0 10px}.horizontal-broadcast-item .button-group[data-v-1553ea89]{margin-left:5px;gap:5px}.horizontal-broadcast-item .button-group .view[data-v-1553ea89]{font-size:12px;padding:1px 6px;margin-left:0}.horizontal-broadcast-item .horizontal-item-separator[data-v-1553ea89]{margin:0 10px}.horizontal-scroll-wrapper.is-hovering[data-v-1553ea89]:before{right:5px;width:4px;height:4px}}.horizontal-scroll-wrapper[data-v-1553ea89]::-webkit-scrollbar{display:none}@media screen and (min-width:220px)and (max-width:800px){.imgTop[data-v-196c2b91]{width:100%;text-align:center}.imgTop img[data-v-196c2b91]{width:100%}#chart[data-v-196c2b91]{height:400px!important}.moveCurrencyBox[data-v-196c2b91]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 18px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-196c2b91]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box;cursor:pointer}.moveCurrencyBox li img[data-v-196c2b91]{width:25px}.moveCurrencyBox li p[data-v-196c2b91]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.moveCurrencyBox li[data-v-196c2b91]:hover{transform:scale(1.05)}.currencySelect[data-v-196c2b91]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-196c2b91]{flex:1}.currencySelect .el-menu[data-v-196c2b91]{background:transparent}.currencySelect .coinSelect img[data-v-196c2b91]{width:25px}.currencySelect .coinSelect span[data-v-196c2b91]{text-transform:capitalize;margin-left:5px}.miningPoolLeft[data-v-196c2b91]{margin:0 auto;width:95%;min-height:300px;box-shadow:0 0 1px 1px #ccc;padding-top:18px;border-radius:10px;overflow:hidden;background:#fff}.miningPoolLeft .interval[data-v-196c2b91]{padding:0 8px;font-size:.7rem;width:100%;display:block}.miningPoolLeft .interval .timeBox[data-v-196c2b91]{padding:0 10px}.miningPoolLeft .interval .times[data-v-196c2b91]{width:15%;text-align:center;border-radius:10px;line-height:30px}.miningPoolLeft .interval .timeActive[data-v-196c2b91],.miningPoolLeft .interval .times[data-v-196c2b91]:hover{color:#5721e4}.miningPoolLeft .interval .chartBth .slideBox[data-v-196c2b91]{background-image:linear-gradient(90deg,#b6e6f1 0,#f8bbd0);padding:0 2px;border-radius:20px;display:flex;align-items:center;justify-content:left;height:30px;width:auto}.miningPoolLeft .interval .chartBth .slideBox span[data-v-196c2b91]{text-align:center;border-radius:20px;height:80%;line-height:25px;margin:0;transition:all .3s linear;padding:0 5px}.miningPoolLeft .interval .chartBth .slideActive[data-v-196c2b91]{background:#5721e4;color:#fff}.miningPoolLeft .timeBox[data-v-196c2b91]{width:100%;text-align:right}.miningPoolRight[data-v-196c2b91]{display:flex;justify-content:center;margin-top:10px;min-width:300px}.miningPoolRight ul[data-v-196c2b91]{padding:0;padding:0 2%;margin:0;height:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between}.miningPoolRight ul li[data-v-196c2b91]{list-style:none;width:160px;height:80px;background:#fff;border-radius:5%;display:flex;align-items:center;justify-content:space-between;box-shadow:3px 3px 5px 2px #ccc;margin-top:18px;transition:all .2s linear}.miningPoolRight ul li .text[data-v-196c2b91]{height:90%;width:70%;padding-left:5%;overflow:hidden}.miningPoolRight ul li .text p[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.miningPoolRight ul li .text .content[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;margin-top:23%}.miningPoolRight ul li .imgIcon[data-v-196c2b91]{height:90%;width:30%;padding-top:5%}.miningPoolRight ul li .imgIcon img[data-v-196c2b91]{width:80%}.miningPoolRight ul li[data-v-196c2b91]:hover{box-shadow:0 0 5px 2px #d2c3ea}.miningPoolRight ul .ConnectMiningPool[data-v-196c2b91],.miningPoolRight ul .profitCalculation[data-v-196c2b91]{cursor:pointer}.reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:3%;padding-bottom:2%;background:transparent!important}.reportBlock .reportBlockBox[data-v-196c2b91]{width:96%!important;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear;padding:0!important;height:auto!important;margin-top:20px}.reportBlock .reportBlockBox .belowTable[data-v-196c2b91]{width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:100px}.reportBlock .reportBlockBox .belowTable ul[data-v-196c2b91]{width:100%;max-height:650px;min-height:200px;padding:0;margin:0;overflow:hidden;border-radius:10px!important;border:1px solid #ccc!important}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]{margin:0!important;border:none!important}.reportBlock .reportBlockBox .belowTable ul .table-title2[data-v-196c2b91]{position:sticky;top:0;background:#d2c3ea!important;color:#433278;font-weight:600;height:40px;display:flex;justify-content:space-around;padding-right:10px!important}.reportBlock .reportBlockBox .belowTable ul .table-title2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:40px;text-align:center}.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Height[data-v-196c2b91],.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Time[data-v-196c2b91]{width:50%}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]:nth-child(2n){background-color:#fff;background:#f8f8fa!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:40px;padding-right:20px!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{height:100%;width:50%;font-weight:600;text-align:center;font-size:.85rem;line-height:40px}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{background:#efefef;box-shadow:0 0 2px 1px rgba(0,0,0,.02);padding:0 10px;margin-top:10px;background:#f8f8fa;border:1px solid #efefef}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.Calculator[data-v-196c2b91]{width:100%;min-height:400px;background:rgba(0,0,0,.5);position:fixed;padding:20px;top:10%;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.Calculator .prop[data-v-196c2b91]{width:98%;height:98%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px;padding-bottom:50px}.Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:.95rem;color:rgba(0,0,0,.7);padding-left:3%}.Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:1.5rem;cursor:pointer;position:absolute;top:1px;right:10px}.Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:.85rem;color:rgba(0,0,0,.7)}.Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;width:100%}.Calculator .prop .content2 .item[data-v-196c2b91]{width:100%;margin-top:10px}.Calculator .prop .content2 .item p[data-v-196c2b91]{margin-bottom:8px;font-size:.9rem}.describeBox[data-v-196c2b91]{width:100%;text-align:center;margin:0!important;font-size:.85rem;overflow:hidden;max-height:100px}.describeBox p[data-v-196c2b91]{margin:0 auto;width:100%!important;text-align:left;padding:2px 5px!important;border-radius:0!important;display:flex;align-items:center!important}.describeBox p .describeTitle[data-v-196c2b91]{font-weight:700;margin-right:8px;color:#5721e4;max-width:63px;min-width:41px!important}.describeBox p i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.describeBox p .view[data-v-196c2b91]{cursor:pointer;margin-left:8px;color:#6e3edb;text-transform:uppercase}.describeBox p .view[data-v-196c2b91]:hover{color:#000}.describe-row[data-v-196c2b91]{width:100%!important;margin:0 auto;border-radius:0!important;display:flex;justify-content:left;padding:5px 0}.broadcast-scroll-item[data-v-196c2b91]{width:100%;display:flex;align-items:center;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.describeContent[data-v-196c2b91]{display:inline-block;max-width:70%;min-width:100px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.broadcast-scroll-list[data-v-196c2b91]{padding-left:5px!important}.view[data-v-196c2b91]{color:#5721e4;cursor:pointer;padding:2px 2px;transition:all .3s ease;border:1px solid transparent;max-width:8vw!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.view[data-v-196c2b91]:hover{background-color:#5721e4;color:#fff;transform:translateY(-1px);border-radius:8px}}@media screen and (min-width:800px)and (max-width:1279px){.imgTop[data-v-196c2b91]{width:100%;padding-left:20%;text-align:left}.imgTop img[data-v-196c2b91]{width:auto;height:300px}#chart[data-v-196c2b91]{height:400px!important}.moveCurrencyBox[data-v-196c2b91]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 18px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-196c2b91]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box;cursor:pointer}.moveCurrencyBox li img[data-v-196c2b91]{width:25px}.moveCurrencyBox li p[data-v-196c2b91]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.moveCurrencyBox li[data-v-196c2b91]:hover{transform:scale(1.05)}.currencySelect[data-v-196c2b91]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-196c2b91]{flex:1}.currencySelect .el-menu[data-v-196c2b91]{background:transparent}.currencySelect .coinSelect img[data-v-196c2b91]{width:25px}.currencySelect .coinSelect span[data-v-196c2b91]{text-transform:capitalize;margin-left:5px}.miningPoolLeft[data-v-196c2b91]{margin:0 auto;width:95%;min-height:300px;box-shadow:0 0 1px 1px #ccc;padding-top:18px;border-radius:10px;overflow:hidden;background:#fff}.miningPoolLeft .interval[data-v-196c2b91]{padding:0 8px;font-size:.7rem;width:100%;display:block}.miningPoolLeft .interval .timeBox[data-v-196c2b91]{padding:0 10px}.miningPoolLeft .interval .times[data-v-196c2b91]{width:15%;text-align:center;border-radius:10px;line-height:30px}.miningPoolLeft .interval .timeActive[data-v-196c2b91],.miningPoolLeft .interval .times[data-v-196c2b91]:hover{color:#5721e4}.miningPoolLeft .interval .chartBth .slideBox[data-v-196c2b91]{background-image:linear-gradient(90deg,#b6e6f1 0,#f8bbd0);padding:0 2px;border-radius:20px;display:flex;align-items:center;justify-content:left;height:30px;width:auto}.miningPoolLeft .interval .chartBth .slideBox span[data-v-196c2b91]{text-align:center;border-radius:20px;height:80%;line-height:25px;margin:0;transition:all .3s linear;padding:0 5px}.miningPoolLeft .interval .chartBth .slideActive[data-v-196c2b91]{background:#5721e4;color:#fff}.miningPoolLeft .timeBox[data-v-196c2b91]{width:100%;text-align:right}.miningPoolRight[data-v-196c2b91]{display:flex;justify-content:center;margin-top:10px;min-width:300px}.miningPoolRight ul[data-v-196c2b91]{padding:0;padding:0 2%;margin:0;height:100%;display:flex;align-items:center;flex-wrap:wrap;justify-content:left}.miningPoolRight ul li[data-v-196c2b91]{list-style:none;width:160px;height:80px;background:#fff;border-radius:5%;display:flex;align-items:center;justify-content:space-between;box-shadow:3px 3px 5px 2px #ccc;margin-top:18px;transition:all .2s linear;margin-left:2%}.miningPoolRight ul li .text[data-v-196c2b91]{height:90%;width:70%;padding-left:5%;overflow:hidden}.miningPoolRight ul li .text p[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;font-size:.9rem}.miningPoolRight ul li .text .content[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.8rem;margin-top:23%}.miningPoolRight ul li .imgIcon[data-v-196c2b91]{height:90%;width:30%;padding-top:5%}.miningPoolRight ul li .imgIcon img[data-v-196c2b91]{width:80%}.miningPoolRight ul li[data-v-196c2b91]:hover{box-shadow:0 0 5px 2px #d2c3ea}.miningPoolRight ul .ConnectMiningPool[data-v-196c2b91],.miningPoolRight ul .profitCalculation[data-v-196c2b91]{cursor:pointer}.reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:3%;padding-bottom:2%;background:transparent!important}.reportBlock .reportBlockBox[data-v-196c2b91]{width:96%!important;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear;padding:0!important;height:auto!important;margin-top:20px}.reportBlock .reportBlockBox .belowTable[data-v-196c2b91]{width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:100px}.reportBlock .reportBlockBox .belowTable ul[data-v-196c2b91]{width:100%;max-height:650px;min-height:200px;padding:0;margin:0;overflow:hidden;border-radius:10px!important;border:1px solid #ccc!important}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]{margin:0!important;border:none!important}.reportBlock .reportBlockBox .belowTable ul .table-title2[data-v-196c2b91]{position:sticky;top:0;background:#d2c3ea!important;color:#433278;font-weight:600;height:40px;display:flex;justify-content:space-around;padding-right:10px!important}.reportBlock .reportBlockBox .belowTable ul .table-title2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.9rem;line-height:40px;text-align:center}.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Height[data-v-196c2b91],.reportBlock .reportBlockBox .belowTable ul .table-title2 .block-Time[data-v-196c2b91]{width:50%}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]:nth-child(2n){background-color:#fff;background:#f8f8fa!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:40px;padding-right:20px!important}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{height:100%;width:50%;font-weight:600;text-align:center;font-size:.85rem;line-height:40px}.reportBlock .reportBlockBox .belowTable ul .currency-list2[data-v-196c2b91]{background:#efefef;box-shadow:0 0 2px 1px rgba(0,0,0,.02);padding:0 10px;margin-top:10px;background:#f8f8fa;border:1px solid #efefef}.reportBlock .reportBlockBox .belowTable ul .currency-list2 span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.Calculator[data-v-196c2b91]{width:100%;min-height:400px;background:rgba(0,0,0,.5);position:fixed;padding:20px;top:10%;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.Calculator .prop[data-v-196c2b91]{width:98%;height:98%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px;padding-bottom:50px}.Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:.95rem;color:rgba(0,0,0,.7);padding-left:3%}.Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:1.5rem;cursor:pointer;position:absolute;top:1px;right:10px}.Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:.85rem;color:rgba(0,0,0,.7)}.Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;width:100%}.Calculator .prop .content2 .item[data-v-196c2b91]{width:100%;margin-top:10px}.Calculator .prop .content2 .item p[data-v-196c2b91]{margin-bottom:8px;font-size:.9rem}.describeBox[data-v-196c2b91]{width:100%;text-align:center;margin:0!important;font-size:.85rem;overflow:hidden;max-height:100px}.describeBox p[data-v-196c2b91]{margin:0 auto;width:100%!important;text-align:left;padding:2px 5px!important;border-radius:0!important;display:flex;align-items:center!important}.describeBox p .describeTitle[data-v-196c2b91]{font-weight:700;margin-right:8px;color:#5721e4;max-width:63px;min-width:41px!important}.describeBox p i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.describeBox p .view[data-v-196c2b91]{cursor:pointer;margin-left:8px;color:#6e3edb;text-transform:capitalize}.describeBox p .view[data-v-196c2b91]:hover{color:#000}.describe-row[data-v-196c2b91]{width:100%!important;margin:0 auto;border-radius:0!important;display:flex;justify-content:left;padding:5px 0}.broadcast-scroll-item[data-v-196c2b91]{width:100%;display:flex;align-items:center;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.describeContent[data-v-196c2b91]{display:inline-block;max-width:70%;min-width:100px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.broadcast-scroll-list[data-v-196c2b91]{padding-left:5px!important}.view[data-v-196c2b91]{color:#5721e4;cursor:pointer;padding:2px 2px;transition:all .3s ease;border:1px solid transparent;max-width:8vw!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.view[data-v-196c2b91]:hover{background-color:#5721e4;color:#fff;transform:translateY(-1px);border-radius:8px}}@media screen and (min-width:500px)and (max-width:800px){.Calculator[data-v-196c2b91]{width:100%;min-height:400px;padding:20px;background:rgba(0,0,0,.5);position:fixed;top:25%;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.Calculator .prop[data-v-196c2b91]{width:80%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px;padding-bottom:50px}.Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:.95rem;color:rgba(0,0,0,.7);padding-left:3%}.Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:1.5rem;cursor:pointer;position:absolute;top:1px;right:10px}.Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:.85rem;color:rgba(0,0,0,.7)}.Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;width:100%}.Calculator .prop .content2 .item[data-v-196c2b91]{width:100%;margin-top:10px}.Calculator .prop .content2 .item p[data-v-196c2b91]{margin-bottom:8px;font-size:.9rem}}#boxTitle2[data-title][data-v-196c2b91]{position:relative;display:inline-block}#boxTitle2[data-title][data-v-196c2b91]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}#boxTitle2[data-title][data-v-196c2b91]:after{min-width:180px;max-width:300px;content:attr(data-title);position:absolute;padding:5px 10px;right:28px;border-radius:4px;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4px rgba(0,0,0,.16);font-size:.8em;visibility:hidden;opacity:0;text-align:center;overflow-wrap:break-word!important}.content[data-v-196c2b91]{width:100%;overflow-y:auto}.content .Calculator[data-v-196c2b91]{width:100%;height:100vh;background:rgba(0,0,0,.5);position:fixed;top:0;left:0;z-index:2001;display:flex;align-items:center;justify-content:center}.content .Calculator .prop[data-v-196c2b91]{width:52%;height:45%;background:#fafbff;border-radius:10px;display:flex;flex-direction:column;padding:20px 5px}.content .Calculator .prop .titleBox[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;width:100%;height:35px;position:relative}.content .Calculator .prop .titleBox span[data-v-196c2b91]{width:100%;text-align:left;font-size:1.8em;color:rgba(0,0,0,.7);padding-left:3%}.content .Calculator .prop .titleBox .close[data-v-196c2b91]{font-size:2em;cursor:pointer;position:absolute;top:1px;right:10px}.content .Calculator .prop .titleBox .close[data-v-196c2b91]:hover{color:#6e3edb}.content .Calculator .prop .selectCurrency[data-v-196c2b91]{width:100%;display:flex;justify-content:center}.content .Calculator .prop .selectCurrency .Currency2[data-v-196c2b91]{display:flex;justify-content:space-between;align-items:center;justify-content:center;padding:5px;margin-top:3%}.content .Calculator .prop .selectCurrency .Currency2 img[data-v-196c2b91]{width:28px}.content .Calculator .prop .cautionBox[data-v-196c2b91]{padding:10px 10px;margin-left:3%;font-size:1.2em;color:rgba(0,0,0,.7)}.content .Calculator .prop .cautionBox span[data-v-196c2b91]{color:#8d72db;font-weight:600}.content .Calculator .prop .content2[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column}.content .Calculator .prop .content2 .titleS[data-v-196c2b91]{display:flex;justify-content:space-around;width:90%;margin-top:5%}.content .Calculator .prop .content2 .titleS span[data-v-196c2b91]{text-align:left;font-size:1.2em;color:rgba(0,0,0,.7)}.content .Calculator .prop .content2 .titleS .power[data-v-196c2b91]{width:40%}.content .Calculator .prop .content2 .titleS .time[data-v-196c2b91]{width:15%}.content .Calculator .prop .content2 .titleS .profit[data-v-196c2b91]{width:40%}.content .Calculator .prop .content2 .computingPower[data-v-196c2b91]{display:flex;height:50px;justify-content:space-around;width:90%;margin-top:1%}.content .bgBox[data-v-196c2b91]{width:100%;height:300px;box-sizing:border-box;position:relative;text-align:left}.content .bgBox .bgImg[data-v-196c2b91]{height:100%;width:auto;position:absolute;left:25vw;top:0}.content .bgBox .bgBoxImg[data-v-196c2b91]{height:100%;width:auto;position:absolute;left:23%;transition:all .3s linear}.content .bgBoxImg2Img[data-v-196c2b91]{width:73vw;height:40vh;margin:0 auto;overflow:hidden}.content .bgBoxImg[data-v-196c2b91]:hover{height:98%;position:absolute;left:23%}.content .container[data-v-196c2b91]{width:100%;display:flex;justify-content:center;height:80px}.content .container .containerBox[data-v-196c2b91]{width:80%;display:flex;background:#db7093;justify-content:center}.content .container .containerBox .image-list[data-v-196c2b91]{display:flex;padding:0 20px}.content .container .containerBox .image-list .imageBOX[data-v-196c2b91]{margin-left:10px;background:green;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:8px 10px}.content .container .containerBox .image-list img[data-v-196c2b91]{width:30px}.content .container .containerBox .image-list span[data-v-196c2b91]{text-align:center}.content .contentBox[data-v-196c2b91]{width:100%}.Currency2 .el-select[data-v-196c2b91]{width:80%!important}[data-v-196c2b91] .el-input__inner{height:50px}@media screen and (min-width:220px)and (max-width:1279px){[data-v-196c2b91] .el-input__inner{height:40px}}.contentBox[data-v-196c2b91]{width:100%;display:flex;justify-content:start;align-items:center;flex-direction:column}.contentBox .currencyDescription2[data-v-196c2b91]{width:100%;display:flex;justify-content:center;align-items:center}.contentBox .currencyDescription2 .miningPoolBox[data-v-196c2b91]{width:75%;padding:0 20px;margin:0 auto;font-size:.9rem}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft[data-v-196c2b91]{width:100%;height:80%;box-shadow:0 0 10px 3px #ccc;padding:20px 10px;border-radius:10px;transition:all .3s linear;height:380px;display:flex;justify-content:center;flex-direction:column;margin-top:10px;min-width:300px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval[data-v-196c2b91]{display:flex;justify-content:space-between;padding:2px 10px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval .chartBth .slideBox[data-v-196c2b91]{background-image:linear-gradient(90deg,#b6e6f1 0,#f8bbd0);padding:0 2px;border-radius:20px;display:flex;align-items:center;justify-content:center;height:30px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval .chartBth .slideBox span[data-v-196c2b91]{text-align:center;border-radius:20px;height:80%;line-height:25px;margin:0;transition:all .3s linear;padding:0 5px;overflow:hidden;text-overflow:ellipsis}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .interval .chartBth .slideActive[data-v-196c2b91]{background:#5721e4;color:#fff}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .timeBox[data-v-196c2b91]{padding:0 10px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .timeBox span[data-v-196c2b91]{margin-left:8px;cursor:pointer}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .times[data-v-196c2b91]{width:15%;text-align:center;border-radius:10px;font-size:.9rem;line-height:30px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .timeActive[data-v-196c2b91],.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft .times[data-v-196c2b91]:hover{color:#5721e4}.contentBox .currencyDescription2 .miningPoolBox .miningPoolLeft[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 5px #d2c3e9}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight[data-v-196c2b91]{width:100%;display:flex;justify-content:center;margin-top:10px;min-width:300px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul[data-v-196c2b91]{padding:0;padding:0 10px;margin:0;height:100%;display:flex;align-items:center;flex-wrap:wrap}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul .dataBlock[data-v-196c2b91]{margin:0;margin-left:3%}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li[data-v-196c2b91]{list-style:none;width:30%;height:110px;background:#fff;border-radius:5%;display:flex;align-items:center;justify-content:space-between;box-shadow:3px 3px 5px 2px #ccc;margin-top:3%;transition:all .2s linear;margin-left:3%;overflow:hidden;text-overflow:ellipsis}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .text[data-v-196c2b91]{height:90%;width:70%;padding-left:5%;overflow:hidden}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .text p[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;font-size:.85rem;margin-top:5px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .text .content[data-v-196c2b91]{overflow:hidden;word-wrap:break-word;text-overflow:ellipsis;margin-top:5px}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .imgIcon[data-v-196c2b91]{height:90%;width:30%;padding-top:5%}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li .imgIcon img[data-v-196c2b91]{width:80%}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul li[data-v-196c2b91]:hover{box-shadow:0 0 5px 2px #d2c3ea}.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul .ConnectMiningPool[data-v-196c2b91],.contentBox .currencyDescription2 .miningPoolBox .miningPoolRight ul .profitCalculation[data-v-196c2b91]{cursor:pointer}.contentBox .currencyDescription2 .currencyDescriptionBox[data-v-196c2b91]{width:90%;height:600px;box-shadow:0 0 3px 1px #ccc;margin-top:2%;display:flex;justify-content:start;flex-direction:column;align-items:center;position:relative}.contentBox .currencyDescription2 .currencyDescriptionBox .titleBOX[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;padding:20px 10px;width:100%;border-bottom:1px solid rgba(0,0,0,.1)}.contentBox .currencyDescription2 .currencyDescriptionBox .titleBOX h3[data-v-196c2b91]{width:90%;font-size:1rem;text-align:center}.contentBox .currencyDescription2 .currencyDescriptionBox .titleBOX .titleCurrency[data-v-196c2b91]:hover{background:rgba(223,83,52,.05);font-size:13px;box-shadow:0 0 5px 3px rgba(223,83,52,.05)}.contentBox .currencyDescription2 .currencyDescriptionBox .titleCurrency[data-v-196c2b91]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8px 10px;border-radius:22px;font-weight:600;margin-left:30px;font-size:1.1em;margin-right:1%;position:absolute;top:10px;right:60px;transition:all .2s linear}.contentBox .currencyDescription2 .currencyDescriptionBox .titleCurrency img[data-v-196c2b91]{width:35px;margin-left:1%}.contentBox .currencyDescription2 .currencyDescriptionBox .titleCurrency span[data-v-196c2b91]{margin-top:10px;text-transform:capitalize}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower[data-v-196c2b91]{height:15%;width:100%;display:flex;justify-content:space-around;align-items:center;font-size:1.3em;margin:10px 10px}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower .PowerBox[data-v-196c2b91]{display:flex;flex-direction:column;justify-content:center;align-content:center}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower span[data-v-196c2b91]{cursor:pointer;width:100%;text-align:center;transition:all .2s linear}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower span[data-v-196c2b91]:hover{color:#df5334;font-weight:600}.contentBox .currencyDescription2 .currencyDescriptionBox .computationalPower .Power[data-v-196c2b91]{font-size:1.5em}.contentBox .currencyDescription2 .currencyDescriptionBox p[data-v-196c2b91]{width:80%;margin:0;font-size:1em;margin-top:3px;margin-left:5%;text-align:left;height:8%;padding:0 10px;line-height:50px;box-shadow:0 0 2px 1px #ccc;margin-top:1%}.contentBox .reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:1%;padding-bottom:2%;background:#433278}.contentBox .reportBlock .reportBlockBox[data-v-196c2b91]{width:75%;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear}.contentBox .reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.contentBox .EchartsBox[data-v-196c2b91]{width:80%;min-height:300px}.contentBox .EchartsBox .chart[data-v-196c2b91]{height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.contentBox .formBox[data-v-196c2b91]{width:80%;min-height:300px;border:1px solid rgba(0,0,0,.1);margin-top:2%}.reportBlock[data-v-196c2b91]{width:100%;display:flex;justify-content:center;max-height:700px;margin-top:3%;padding-bottom:2%}.reportBlock .reportBlockBox[data-v-196c2b91]{width:75%;display:flex;justify-content:space-between;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;transition:all .2s linear}.reportBlock .reportBlockBox .top[data-v-196c2b91]{width:100%;height:28%;display:flex;align-items:center;justify-content:center;border-bottom:1px solid rgba(0,0,0,.1);padding:20px 0;color:#fff;font-weight:600;font-size:1.2em}.reportBlock .reportBlockBox .top .lucky[data-v-196c2b91]{display:flex;align-items:center;flex-direction:column;justify-content:center}.reportBlock .reportBlockBox .top .lucky .luckyNum[data-v-196c2b91]{font-size:1.8em}.reportBlock .reportBlockBox .top .lucky .luckyText[data-v-196c2b91]{font-size:1em;margin-top:5%}.reportBlock .reportBlockBox .top div[data-v-196c2b91]{width:20%;background:#2eaeff;height:100%;display:flex;align-items:center;justify-content:space-around;margin-left:3%;border-radius:15px;box-shadow:0 8px 20px 0 rgba(46,174,255,.5)}.reportBlock .reportBlockBox .belowTable[data-v-196c2b91]{width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;margin-bottom:100px}.reportBlock .reportBlockBox .belowTable ul[data-v-196c2b91]{width:100%;max-height:650px;min-height:200px;padding:0;margin:0;overflow:hidden}.reportBlock .reportBlockBox .belowTable ul .table-title[data-v-196c2b91]{position:sticky;top:0;background:#d2c3ea;padding:0 10px;color:#433278;font-weight:600}.reportBlock .reportBlockBox .belowTable ul .table-title .hash[data-v-196c2b91]{width:58%;text-align:left;margin-left:5%}.reportBlock .reportBlockBox .belowTable ul .table-title .blockRewards[data-v-196c2b91]{width:18%;font-weight:600;font-size:.95em;text-align:left;margin-left:1%}.reportBlock .reportBlockBox .belowTable ul .table-title .transactionFee[data-v-196c2b91]{width:18%;font-weight:600;font-size:.95em}.reportBlock .reportBlockBox .belowTable ul .table-title span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.95em}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]:nth-child(2n){background-color:#fff;background:#f8f8fa}.reportBlock .reportBlockBox .belowTable ul li[data-v-196c2b91]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:60px}.reportBlock .reportBlockBox .belowTable ul li span[data-v-196c2b91]{height:100%;width:20%;line-height:60px;font-weight:600;text-align:center;font-size:.95rem}.reportBlock .reportBlockBox .belowTable ul .currency-list[data-v-196c2b91]{background:#efefef;box-shadow:0 0 2px 1px rgba(0,0,0,.02);padding:0 10px;margin-top:10px;background:#f8f8fa;border:1px solid #efefef}.reportBlock .reportBlockBox .belowTable ul .currency-list span[data-v-196c2b91]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox .belowTable ul .currency-list .hash[data-v-196c2b91]{width:58%;margin-left:5%;text-align:left}.reportBlock .reportBlockBox .belowTable ul .currency-list .reward[data-v-196c2b91]{width:18%;text-align:left;margin-left:1%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox[data-v-196c2b91]:hover{box-shadow:3px 3px 10px 4px #d2c3e9}.interval span[data-v-196c2b91]{margin-left:10px;cursor:pointer;transition:all .2s linear}.interval span[data-v-196c2b91]:hover{color:#2eaeff}.footerBox[data-v-196c2b91]{justify-content:space-around;width:100%;height:300px;display:flex;justify-content:center;align-items:center;background:hsla(0,0%,80%,.1)}.footerSon[data-v-196c2b91]{width:33.3333333333%;height:80%;border-right:1px solid rgba(0,0,0,.1)}.active[data-v-196c2b91]{background:#6e3edb;color:#fff}.el-card[data-v-196c2b91]{background:transparent;padding-left:12%;box-shadow:none;border:none}.monitor-list[data-v-196c2b91]{display:flex;justify-content:space-between;height:9vh;width:86%;box-shadow:0 0 10px 3px #ccc;border-radius:5px;background:#fff}.monitor-list i[data-v-196c2b91]{font-size:.8em}.monitor-list .btn[data-v-196c2b91]{width:50px;height:100%;line-height:9vh;text-align:center;cursor:pointer;background-color:#ecf5ff;font-size:24px;color:#000;background:#d2c3e9;transition:all .3s linear}.monitor-list .btn[data-v-196c2b91]:hover{background-color:#e0dfff}.monitor-list .left[data-v-196c2b91]{border-radius:5px 0 0 5px;box-shadow:0 0 5px 1px #ccc}.monitor-list .right[data-v-196c2b91]{border-radius:0 5px 5px 0;box-shadow:0 0 5px 1px #ccc}.monitor-list .list-box[data-v-196c2b91]{width:calc(100vw - 100px);overflow:hidden;display:flex;align-items:center;justify-items:center}.monitor-list .list-box .list[data-v-196c2b91]{width:100%;transform:all 2s;display:flex;align-items:center;justify-items:center;padding-left:2%;height:90%;position:relative;left:0;transition:left 1s}.monitor-list .list-box .list .list-item[data-v-196c2b91]{width:120px;height:95%;text-align:center;cursor:pointer;margin-left:18px;display:flex;flex-direction:column;align-items:center;justify-content:space-around;border-radius:10px;transition:all .3s linear;padding:5px}.monitor-list .list-box .list .list-item span[data-v-196c2b91]{width:100%;height:25%;border-radius:5px;padding:0 2px;text-transform:capitalize;font-size:.8rem;display:flex;align-items:center;justify-content:center}.monitor-list .list-box .list .list-item img[data-v-196c2b91]{width:2.3vw}.monitor-list .list-box .list .list-item[data-v-196c2b91]:hover{font-size:1rem;box-shadow:0 0 3px 1px rgba(210,195,234,.8)}.monitor-list .list-box .list .list-item:hover span[data-v-196c2b91]{background:#6e3edb;color:#fff}.monitor-list .list-box .list .list-item:hover img[data-v-196c2b91]{width:38px}.timeActive[data-v-196c2b91]{color:#5721e4}.describeBox[data-v-196c2b91]{width:100%;text-align:center;margin-top:30px;font-size:.85rem;overflow:hidden;max-height:100px}.describeBox p[data-v-196c2b91]{margin:0 auto;width:72%;text-align:left;padding:0 20px;background:#e7dff3;border-radius:8px;padding:10px 20px;display:flex;align-items:start}.describeBox p .describeTitle[data-v-196c2b91]{font-weight:600;color:#6e3edb}.describeBox p i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.describeBox p .view[data-v-196c2b91]{cursor:pointer;margin-left:8px;color:#6e3edb;text-transform:capitalize}.describeBox p .view[data-v-196c2b91]:hover{color:#000}.describe-row[data-v-196c2b91]{width:73%;margin:0 auto;background:#e7dff3;border-radius:8px;display:flex;justify-content:left;padding:5px 0}.describeTitle[data-v-196c2b91]{font-weight:700;margin-right:8px;color:#5721e4}.broadcast-scroll-wrap[data-v-196c2b91]{display:inline-block;min-width:0;height:30px;position:relative}.broadcast-scroll-list[data-v-196c2b91]{display:flex;flex-direction:column;text-align:left;padding:0;padding-left:18px}.broadcast-scroll-item[data-v-196c2b91]{width:100%;display:flex;align-items:center;height:30px;line-height:30px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.describeContent[data-v-196c2b91]{display:inline-block;max-width:70%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:top}.describeTitle[data-v-196c2b91]{font-weight:600;color:#6e3edb}i[data-v-196c2b91]{color:#6e3edb;margin-right:5px;line-height:18px}.view[data-v-196c2b91]{margin-left:8px;color:#6e3edb}.view[data-v-196c2b91]:hover{color:#000}.button-group[data-v-196c2b91]{display:inline-flex;align-items:center;gap:0}.horizontal-item-separator[data-v-196c2b91]{color:#ccc;margin:0 15px;font-size:12px}.view[data-v-196c2b91]{color:#5721e4;cursor:pointer;padding:2px 2px;transition:all .3s ease;border:1px solid transparent;max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-transform:capitalize}.view[data-v-196c2b91]:hover{background-color:#5721e4;color:#fff;transform:translateY(-1px);border-radius:8px}.el-input.is-disabled .el-input__inner{color:rgba(0,0,0,.8)}@media screen and (min-width:220px) and (max-width:1279px){.el-menu--horizontal{width:100%}}.fade-enter-active[data-v-763fcf11],.fade-leave-active[data-v-763fcf11]{transition:all .3s}.fade-enter[data-v-763fcf11],.fade-leave-to[data-v-763fcf11]{opacity:0;transform:scale(.8);-ms-transform:scale(.8);-webkit-transform:scale(.8)}.slide-fade-enter-active[data-v-763fcf11],.slide-fade-leave-active[data-v-763fcf11]{transition:all .3s ease}.slide-fade-enter[data-v-763fcf11],.slide-fade-leave-to[data-v-763fcf11]{transform:translateY(6PX);-ms-transform:translateY(6PX);-webkit-transform:translateY(6PX);opacity:0}.m-tooltip[data-v-763fcf11]{position:absolute;top:0;z-index:999;padding-bottom:6PX}.m-tooltip .u-tooltip-content[data-v-763fcf11]{padding:10PX;margin:0 auto;word-break:break-all;word-wrap:break-word;border-radius:4PX;font-weight:400;font-size:14PX;background:rgba(0,0,0,.5);color:#fff}.m-tooltip .u-tooltip-arrow[data-v-763fcf11]{margin:0 auto;width:0;height:0;border-left:2PX solid transparent;border-right:2PX solid transparent;border-top:4PX solid rgba(0,0,0,.5)}@media screen and (min-width:220px)and (max-width:1279px){[data-v-0a0e912e]::-webkit-scrollbar{width:0!important;height:0}[data-v-0a0e912e]::-webkit-scrollbar-thumb{background-color:#d2c3e9;border-radius:20PX}[data-v-0a0e912e]::-webkit-scrollbar-track{background-color:#f0f0f0}.accountInformation[data-v-0a0e912e]{width:100%;height:33px!important;background:rgba(0,0,0,.5);position:fixed;top:61px!important;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001;line-height:33px!important}.accountInformation img[data-v-0a0e912e]{width:18px!important}.accountInformation i[data-v-0a0e912e]{color:#fff;font-size:.95rem!important;margin-left:10px}.accountInformation .coin[data-v-0a0e912e]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize;font-size:.8rem!important}.accountInformation .ma[data-v-0a0e912e]{font-weight:400!important;color:#fff;margin-left:10px;font-size:.9rem!important}.profitTop[data-v-0a0e912e]{width:100%;height:auto;display:flex;flex-wrap:wrap;justify-content:space-around;padding-top:40px}.profitTop .box[data-v-0a0e912e]{width:45%;height:80px;background:#fff;margin-top:10px;display:flex;flex-direction:column;align-items:left;justify-content:space-around;padding:8px;font-size:.9rem;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance[data-v-0a0e912e]{width:95%;display:flex;justify-content:space-between;padding:15px 15px;background:#fff;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance .box2[data-v-0a0e912e]{display:flex;flex-direction:column;align-items:left;font-size:.9rem}.profitTop .accountBalance .el-button[data-v-0a0e912e]{background:#661fff;color:#fff}.profitBtm2[data-v-0a0e912e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;padding:8px;font-size:.95rem;background:#fff}.profitBtm2 .right[data-v-0a0e912e]{width:100%;height:95%;background:#fff;transition:all .2s linear}.profitBtm2 .right .intervalBox[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;padding:5px 10px}.profitBtm2 .right .intervalBox .title[data-v-0a0e912e]{text-align:center;font-size:.95rem;color:rgba(0,0,0,.8)}.profitBtm2 .right .intervalBox .times[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;cursor:pointer;font-size:.8rem;margin-top:5px}.profitBtm2 .right .intervalBox .times span[data-v-0a0e912e]{min-width:55px;text-align:center;border-radius:20px;margin:0}.profitBtm2 .right .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.barBox[data-v-0a0e912e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;font-size:.95rem;background:#fff}.barBox .lineBOX[data-v-0a0e912e]{width:100%;height:98%;padding:10px 20px;transition:all .2s linear}.barBox .lineBOX .intervalBox[data-v-0a0e912e]{font-size:.9rem}.barBox .lineBOX .intervalBox .title[data-v-0a0e912e]{text-align:left;font-size:.95rem;color:rgba(0,0,0,.8)}.barBox .lineBOX .intervalBox .timesBox[data-v-0a0e912e]{width:100%;text-align:right;display:flex;justify-content:right}.barBox .lineBOX .intervalBox .timesBox .times2[data-v-0a0e912e]{max-width:47%;display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;font-size:.8rem;margin-top:5px}.barBox .lineBOX .intervalBox .timesBox .times2 span[data-v-0a0e912e]{text-align:center;padding:0 15px;border-radius:20px;margin:0}.barBox .lineBOX .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.searchBox[data-v-0a0e912e]{width:92%;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden;margin:0 auto;margin-top:25px}.searchBox .inout[data-v-0a0e912e]{border:none;outline:none;padding:0 10px;background:transparent}.searchBox i[data-v-0a0e912e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box[data-v-0a0e912e]{margin-top:8px!important;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%;font-size:.95rem}.top3Box .tabPageBox[data-v-0a0e912e]{width:98%!important;display:flex;justify-content:center;flex-direction:column;margin-bottom:10px}.top3Box .tabPageBox .activeHeadlines[data-v-0a0e912e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-0a0e912e]{width:100%!important;height:60px;display:flex;align-items:end;position:relative;padding:0!important;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]{position:relative;display:inline-block;filter:drop-shadow(0 -5px 10px rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-0a0e912e]{display:inline-block;width:130px!important;height:40px;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-0a0e912e]{width:10%;height:60px;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20px 20px 10px 10px rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-0a0e912e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-0a0e912e]{position:absolute;left:94px!important;z-index:98}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-0a0e912e]{position:absolute;left:188px!important;z-index:97}.top3Box .tabPageBox .page[data-v-0a0e912e]{width:100%;min-height:380px!important;box-shadow:5px 4px 8px 5px rgba(0,0,0,.1);z-index:999;margin-top:-3px;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-0a0e912e]{min-height:300px!important}.top3Box .tabPageBox .page .minerPagination[data-v-0a0e912e]{margin:0 auto;margin-top:30px;margin-bottom:30px}.top3Box .tabPageBox .page .minerTitleBox[data-v-0a0e912e]{width:100%;height:40px;background:#efefef;padding:0!important}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-0a0e912e]{width:100%!important;font-weight:600;display:flex;justify-content:left}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-0a0e912e]{display:inline-block;cursor:pointer;margin-left:18!important;padding:0!important;font-size:.9rem}.top3Box .tabPageBox .page .TitleAll[data-v-0a0e912e]{background:#d2c3ea;height:60px!important;display:flex;justify-content:left;align-items:center;padding:0!important;padding-left:5px!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]:first-of-type{width:25%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]:nth-of-type(2){width:35%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]:nth-of-type(3){width:40%!important;padding-left:0!important}.top3Box .tabPageBox .page .TitleAll span[data-v-0a0e912e]{font-size:.9rem;text-align:left;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .elTabs3[data-v-0a0e912e]{width:70%;position:relative}.top3Box .elTabs3 .searchBox[data-v-0a0e912e]{width:25%;position:absolute;right:0;top:-5px;z-index:99999;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-0a0e912e]{border:none;outline:none;padding:0 10px}.top3Box .elTabs3 .searchBox i[data-v-0a0e912e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-0a0e912e]{width:98%;margin-left:2%;margin-top:1%;min-height:600px}.top3Box .accordionTitle[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitle span[data-v-0a0e912e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0!important;padding-left:5px!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]:first-of-type{width:25%!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]:nth-of-type(2){width:35%!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]:nth-of-type(3){width:40%!important}.top3Box .accordionTitleAll span[data-v-0a0e912e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .Title[data-v-0a0e912e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 30px}.top3Box .Title span[data-v-0a0e912e]{width:24.5%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-0a0e912e]{height:40px!important;display:flex;justify-content:left;align-items:center;padding:0!important;background:#efefef;padding-left:5px!important}.top3Box .totalTitleAll span[data-v-0a0e912e]:first-of-type{width:25%!important}.top3Box .totalTitleAll span[data-v-0a0e912e]:nth-of-type(2){width:35%!important}.top3Box .totalTitleAll span[data-v-0a0e912e]:nth-of-type(3){width:40%!important}.top3Box .totalTitleAll span[data-v-0a0e912e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .totalTitle[data-v-0a0e912e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 20px;background:#efefef}.top3Box .totalTitle span[data-v-0a0e912e]{width:24.25%;text-align:left}.top3Box .miningMachine[data-v-0a0e912e]{background:#fff;box-shadow:0 0 3px 1px #ccc;overflow:hidden;border-radius:5px}.top3Box .miningMachine .belowTable[data-v-0a0e912e]{border-radius:5px!important;width:100%!important;margin-bottom:20px!important}.top3Box .payment .belowTable[data-v-0a0e912e]{box-shadow:0 0 3px 1px #ccc}.top3Box .payment .belowTable .table-title[data-v-0a0e912e]{height:50px;display:flex;align-items:center;background:#d2c3ea;color:#433278;font-weight:600;width:100%;font-size:.8rem!important;overflow:hidden}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]{display:inline-block;text-align:left}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]:first-of-type{width:200px;padding-left:10px}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]:nth-of-type(2){width:300px;text-align:left}.top3Box .payment .belowTable .table-title span[data-v-0a0e912e]:nth-of-type(3){width:300px}.top3Box .payment .belowTable .el-collapse[data-v-0a0e912e]{width:100%;max-height:500px;overflow-y:auto;min-height:200px}.top3Box .payment .belowTable .paymentCollapseTitle[data-v-0a0e912e]{display:flex;justify-content:left;align-items:center;width:100%;overflow:hidden}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]{display:inline-block;text-align:left}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]:first-of-type{width:200px;padding-left:10px}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]:nth-of-type(2){width:300px}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-0a0e912e]:nth-of-type(3){width:260px}.top3Box .payment .belowTable .dropDownContent[data-v-0a0e912e]{width:100%;padding:0 10px;word-wrap:break-word}.top3Box .payment .belowTable .dropDownContent div[data-v-0a0e912e]{margin-top:8px}.top3Box .payment .belowTable .copy[data-v-0a0e912e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.el-collapse[data-v-0a0e912e]{max-height:500px!important;overflow-y:auto}.table-item[data-v-0a0e912e]{display:flex;height:59px;width:100%;align-items:center;justify-content:space-around;padding:8px}.table-item div[data-v-0a0e912e]{width:50%;display:flex;align-items:center;flex-direction:column;justify-content:space-around;height:100%}.table-item div p[data-v-0a0e912e]{text-align:left}.table-itemOn[data-v-0a0e912e]{display:flex;height:59px;width:100%;align-items:center;justify-content:left;padding:8px}.table-itemOn div[data-v-0a0e912e]{width:50%;display:flex;align-items:left;flex-direction:column;justify-content:space-around;height:100%}.table-itemOn div p[data-v-0a0e912e]{text-align:left}.chartTitle[data-v-0a0e912e]{padding-left:3%;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6);font-size:.9rem!important}[data-v-0a0e912e] .el-collapse-item__header{height:45px!important}.belowTable[data-v-0a0e912e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;margin:0 auto;padding:0;margin-top:-1px;margin-bottom:50px}.belowTable ul[data-v-0a0e912e]{width:100%;min-height:200px;max-height:690px;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50px}.belowTable ul .table-title[data-v-0a0e912e]{position:sticky;top:0;background:#d2c3ea;padding:0 5px!important;color:#433278;font-weight:600;height:50px!important}.belowTable ul li[data-v-0a0e912e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:40px!important;background:#f8f8fa}.belowTable ul li span[data-v-0a0e912e]{width:33.3333333333%!important;font-size:.8rem!important;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li[data-v-0a0e912e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-0a0e912e]{background:#efefef;padding:0!important;background:#f8f8fa;margin-top:5px!important;border:1px solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-0a0e912e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-0a0e912e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-0a0e912e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-0a0e912e]:hover{cursor:pointer;color:#2889fc;font-weight:600}[data-v-0a0e912e] .el-pager li{min-width:19px}[data-v-0a0e912e] .el-pagination .el-select .el-input{margin:0}[data-v-0a0e912e] .el-pagination .btn-next{padding:0!important;min-width:auto}}.activeState[data-v-0a0e912e]{color:red!important}.sort[data-v-0a0e912e]{font-size:.95rem;cursor:pointer;color:#1e52e8}.sort[data-v-0a0e912e]:hover{color:#433299}.boxTitle[data-title][data-v-0a0e912e]{position:relative;display:inline-block}.boxTitle[data-title][data-v-0a0e912e]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}.boxTitle[data-title][data-v-0a0e912e]:after{min-width:180px;max-width:300px;content:attr(data-title);position:absolute;padding:5px 10px;right:28px;border-radius:4px;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4px rgba(0,0,0,.16);font-size:.8rem;visibility:hidden;opacity:0;text-align:center;z-index:999}[data-v-0a0e912e] .el-collapse-item__header{background:transparent;height:60px}.item-even[data-v-0a0e912e]{background-color:#fff}.item-odd[data-v-0a0e912e]{background-color:#efefef}.miningAccount[data-v-0a0e912e]{width:100%;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 30%;background-repeat:no-repeat;background-position:0 -8%;padding-top:60px}.accountInformation[data-v-0a0e912e]{width:100%;height:30px;background:rgba(0,0,0,.5);position:fixed;top:8%;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.accountInformation img[data-v-0a0e912e]{width:23px}.accountInformation i[data-v-0a0e912e]{color:#fff;font-size:1.5em;margin-left:10px}.accountInformation .coin[data-v-0a0e912e]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize}.accountInformation .ma[data-v-0a0e912e]{font-weight:600;color:#fff;margin-left:10px}.DropDownChart[data-v-0a0e912e]{width:100%;height:500px}.circularDots2[data-v-0a0e912e],.circularDots3.circularDots3[data-v-0a0e912e]{width:11px!important;height:11px!important;border-radius:50%;display:inline-block;border:2px solid #ccc}.circularDots3.circularDots3[data-v-0a0e912e]{margin:0;padding:0!important}.activeCircular[data-v-0a0e912e]{width:11px!important;height:11px!important;border-radius:50%;border:none!important;background:radial-gradient(circle at center,#ebace3,#9754f1)}.chartTitle[data-v-0a0e912e]{padding-left:3%;font-size:1.3em;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6)}.circularDots[data-v-0a0e912e]{display:inline-block;width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at center,#ebace3,#9754f1)}.circularDotsOnLine[data-v-0a0e912e]{display:inline-block;width:8px;background:#17cac7;height:8px;border-radius:50%}.circularDotsOffLine[data-v-0a0e912e]{display:inline-block;width:8px;background:#ff6565;height:8px;border-radius:50%}.profitBox[data-v-0a0e912e]{width:70%;min-height:650px;padding:20px 1%}.profitBox .paymentSettingBth[data-v-0a0e912e]{width:100%;text-align:right;margin-top:18px}.profitBox .paymentSettingBth .el-button[data-v-0a0e912e]{background:#7245e8;color:#fff;padding:13px 40px;border-radius:8px}.profitBox .profitTop[data-v-0a0e912e]{display:flex;min-height:20%;align-items:center;justify-content:space-between;margin:0 auto;font-size:.95rem}.profitBox .profitTop .box[data-v-0a0e912e]{width:230px;height:100px;background:#fff;box-shadow:0 0 10px 1px #ccc;border-radius:3%;transition:all .2s linear;padding:0;margin-left:8px}.profitBox .profitTop .box .paymentSettings[data-v-0a0e912e]{display:flex}.profitBox .profitTop .box .paymentSettings span[data-v-0a0e912e]{width:45%;background:#661fff;color:#fff;border-radius:5px;cursor:pointer;text-align:center;padding:0;display:inline-block;line-height:25px}.profitBox .profitTop .box .paymentSettings span[data-v-0a0e912e]:hover{background:#7a50e7;color:#fff}.profitBox .profitTop .box span[data-v-0a0e912e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 20px}.profitBox .profitTop .box span span[data-v-0a0e912e]{width:8%}.profitBox .profitTop .box span img[data-v-0a0e912e]{width:18px;margin-left:5px}.profitBox .profitTop .box .text[data-v-0a0e912e]{justify-content:right;font-weight:600}.profitBox .profitTop .box[data-v-0a0e912e]:hover{box-shadow:10px 5px 10px 3px #e4dbf3}.profitBox .profitBtm[data-v-0a0e912e]{height:600px;width:100%;display:flex;align-items:center;justify-content:space-between}.profitBox .profitBtm .left[data-v-0a0e912e]{width:23%;height:90%;background:#fff;box-shadow:0 0 5px 2px #ccc;border-radius:3%;display:flex;flex-direction:column}.profitBox .profitBtm .left .box[data-v-0a0e912e]{width:100%;height:80%;background:#fff;border-radius:3%}.profitBox .profitBtm .left .box span[data-v-0a0e912e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 25px}.profitBox .profitBtm .left .box .text[data-v-0a0e912e]{justify-content:right;font-weight:600}.profitBox .profitBtm .left .bth[data-v-0a0e912e]{width:100%;text-align:center}.profitBox .profitBtm .left .bth .el-button[data-v-0a0e912e]{width:60%;background:#661fff;color:#fff}.profitBox .profitBtm .right[data-v-0a0e912e]{width:100%;height:90%;background:#fff;box-shadow:0 0 10px 3px #ccc;border-radius:15px;padding:10px 10px;transition:all .2s linear}.profitBox .profitBtm .right .intervalBox[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:.9rem}.profitBox .profitBtm .right .intervalBox .title[data-v-0a0e912e]{text-align:center;font-size:1.1em}.profitBox .profitBtm .right .intervalBox .times[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;cursor:pointer}.profitBox .profitBtm .right .intervalBox .times span[data-v-0a0e912e]{min-width:55px;text-align:center;border-radius:20px;margin:0}.profitBox .profitBtm .right .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.profitBox .profitBtm .right[data-v-0a0e912e]:hover{box-shadow:0 0 20px 3px #e4dbf3}.top1Box[data-v-0a0e912e]{width:90%;height:400px;background-image:linear-gradient(90deg,#1e52e8 0,#1e52e8 80%,#0bb7bf);border-radius:10px;color:#fff;font-size:1.3em;display:flex;flex-direction:column}.top1Box .top1BoxOne[data-v-0a0e912e]{height:12%;background:rgba(0,0,0,.3);border-radius:28px 1px 100px 1px;width:800px;padding:5px 20px;line-height:40px}.top1Box .top1BoxTwo[data-v-0a0e912e]{flex:1;width:100%;display:flex;flex-wrap:wrap;justify-content:left;align-items:center;padding:0 100px}.top1Box .top1BoxTwo div[data-v-0a0e912e]{display:flex;flex-direction:column}.top1Box .top1BoxTwo div .income[data-v-0a0e912e]{margin-top:20px;font-size:1.5em}.top1Box .top1BoxTwo .content[data-v-0a0e912e]{position:relative;padding:0 50px;width:25%}.top1Box .top1BoxTwo .iconLine[data-v-0a0e912e]{width:1px;background:hsla(0,0%,100%,.6);height:50%;position:absolute;right:0;top:25%}.top1Box .top1BoxThree[data-v-0a0e912e]{height:13%;background:rgba(0,0,0,.4);display:flex;justify-content:center;align-items:center}.top1Box .top1BoxThree .onlineSituation[data-v-0a0e912e]{width:50%;display:flex;justify-content:center;align-items:center;font-size:.8em}.top1Box .top1BoxThree .onlineSituation div[data-v-0a0e912e]{width:33.3333333333%;text-align:center}.top1Box .top1BoxThree .onlineSituation .whole[data-v-0a0e912e]{color:#fff}.top1Box .top1BoxThree .onlineSituation .onLine[data-v-0a0e912e]{color:#04c904}.top1Box .top1BoxThree .onlineSituation .off-line[data-v-0a0e912e]{color:#ef6565}.top2Box[data-v-0a0e912e]{margin-top:1%;width:70%;height:500px;display:flex;justify-content:center;margin-bottom:2%;padding:0 1%}.top2Box .lineBOX[data-v-0a0e912e]{width:100%;padding:10px 20px;border-radius:15px;box-shadow:0 0 10px 3px #ccc;transition:all .2s linear;background:#fff}.top2Box .lineBOX .intervalBox[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px;font-size:.9rem}.top2Box .lineBOX .intervalBox .title[data-v-0a0e912e]{text-align:center;font-size:1.1em}.top2Box .lineBOX .intervalBox .times[data-v-0a0e912e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4}.top2Box .lineBOX .intervalBox .times span[data-v-0a0e912e]{text-align:center;padding:0 15px;border-radius:20px;margin:0}.top2Box .lineBOX .intervalBox .timeActive[data-v-0a0e912e]{background:#7245e8;color:#fff}.top2Box .lineBOX[data-v-0a0e912e]:hover{box-shadow:0 0 20px 3px #e4dbf3}.top2Box .elTabs[data-v-0a0e912e]{width:100%;font-size:1em}.top2Box .intervalBox[data-v-0a0e912e]{display:flex;width:100%;justify-content:right}.top2Box .intervalBox span[data-v-0a0e912e]{margin-left:1%;cursor:pointer}.top2Box .intervalBox span[data-v-0a0e912e]:hover{color:#7245e8}.top3Box[data-v-0a0e912e]{margin-top:1%;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%;font-size:.95rem}.top3Box .tabPageBox[data-v-0a0e912e]{width:70%;display:flex;justify-content:center;flex-direction:column;margin-bottom:10px}.top3Box .tabPageBox .activeHeadlines[data-v-0a0e912e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-0a0e912e]{width:70%;height:60px;display:flex;align-items:end;position:relative;padding:0;padding-left:1%;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]{position:relative;display:inline-block;filter:drop-shadow(0 -5px 10px rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-0a0e912e]{display:inline-block;width:150px;height:40px;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-0a0e912e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-0a0e912e]{width:10%;height:60px;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20px 20px 10px 10px rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-0a0e912e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-0a0e912e]{position:absolute;left:120px;z-index:98}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-0a0e912e]{position:absolute;left:230px;z-index:97}.top3Box .tabPageBox .page[data-v-0a0e912e]{width:100%;min-height:730px;box-shadow:5px 4px 8px 5px rgba(0,0,0,.1);z-index:999;margin-top:-3px;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-0a0e912e]{min-height:600px}.top3Box .tabPageBox .page .minerPagination[data-v-0a0e912e]{margin:0 auto;margin-top:30px;margin-bottom:30px}.top3Box .tabPageBox .page .minerTitleBox[data-v-0a0e912e]{width:100%;height:40px;background:#efefef;padding:0 30px;display:flex;align-items:center;justify-content:space-between}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-0a0e912e]{width:60%;font-weight:600}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-0a0e912e]{display:inline-block;cursor:pointer;margin-left:20px;padding:0 5px;font-size:.9rem}.top3Box .tabPageBox .page .minerTitleBox .searchBox[data-v-0a0e912e]{width:260px;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden;margin:0;margin-right:10px}.top3Box .tabPageBox .page .minerTitleBox .searchBox .inout[data-v-0a0e912e]{border:none;outline:none;padding:0 10px;background:transparent}.top3Box .tabPageBox .page .minerTitleBox .searchBox i[data-v-0a0e912e]{width:35px;height:29px;background:#641fff;color:#fff;font-size:1.2em;line-height:29px;text-align:center}.top3Box .elTabs3[data-v-0a0e912e]{width:70%;position:relative}.top3Box .elTabs3 .searchBox[data-v-0a0e912e]{width:25%;position:absolute;right:0;top:-5px;z-index:99999;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-0a0e912e]{border:none;outline:none;padding:0 10px}.top3Box .elTabs3 .searchBox i[data-v-0a0e912e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-0a0e912e]{width:98%;margin-left:2%;margin-top:1%;min-height:600px}.top3Box .accordionTitle[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitle span[data-v-0a0e912e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-0a0e912e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitleAll span[data-v-0a0e912e]{width:24%;text-align:left;padding-left:1.5%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .Title[data-v-0a0e912e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 30px}.top3Box .Title span[data-v-0a0e912e]{width:24.5%;color:#433278;text-align:left}.top3Box .TitleAll[data-v-0a0e912e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 35px}.top3Box .TitleAll span[data-v-0a0e912e]{width:20%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-0a0e912e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 35px;background:#efefef}.top3Box .totalTitleAll span[data-v-0a0e912e]{width:20%;text-align:left}.top3Box .totalTitle[data-v-0a0e912e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 20px;background:#efefef}.top3Box .totalTitle span[data-v-0a0e912e]{width:24.25%;text-align:left}.belowTable[data-v-0a0e912e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;margin:0 auto;padding:0;margin-top:-1px;margin-bottom:50px}.belowTable ul[data-v-0a0e912e]{width:100%;min-height:200px;max-height:690px;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50px}.belowTable ul .table-title[data-v-0a0e912e]{position:sticky;top:0;background:#d2c3ea;padding:0 10px;color:#433278;font-weight:600;font-size:.95rem}.belowTable ul li[data-v-0a0e912e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:60px;background:#f8f8fa}.belowTable ul li span[data-v-0a0e912e]{width:25%;font-size:.95rem;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li span[data-v-0a0e912e]:nth-of-type(4){width:28%}.belowTable ul li[data-v-0a0e912e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-0a0e912e]{background:#efefef;padding:10px 10px;background:#f8f8fa;margin-top:10px;border:1px solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-0a0e912e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-0a0e912e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-0a0e912e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-0a0e912e]:hover{cursor:pointer;color:#2889fc;font-weight:600}.currency-list2.currency-list2.currency-list2[data-v-0a0e912e]{background:#efefef;padding:10px 10px}.el-input-group__append button.el-button[data-v-0a0e912e],.el-input-group__append div.el-select .el-input__inner[data-v-0a0e912e],.el-input-group__append div.el-select:hover .el-input__inner[data-v-0a0e912e],.el-input-group__prepend button.el-button[data-v-0a0e912e],.el-input-group__prepend div.el-select .el-input__inner[data-v-0a0e912e],.el-input-group__prepend div.el-select:hover .el-input__inner[data-v-0a0e912e]{background:#631ffc;color:#fff}.offlineTime[data-v-0a0e912e]{display:flex;flex-direction:column;justify-content:center}.offlineTime span[data-v-0a0e912e]{width:100%!important;display:inline-block;line-height:15px!important}@media screen and (min-width:220px)and (max-width:1279px){[data-v-a57ca41e]::-webkit-scrollbar{width:0!important;height:0}[data-v-a57ca41e]::-webkit-scrollbar-thumb{background-color:#d2c3e9;border-radius:20PX}[data-v-a57ca41e]::-webkit-scrollbar-track{background-color:#f0f0f0}.accountInformation[data-v-a57ca41e]{width:100%!important;height:33px!important;background:rgba(0,0,0,.5);position:fixed;top:61px!important;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001;line-height:33px!important}.accountInformation img[data-v-a57ca41e]{width:18px!important}.accountInformation i[data-v-a57ca41e]{color:#fff;font-size:.95rem!important;margin-left:10px}.accountInformation .coin[data-v-a57ca41e]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize;font-size:.8rem!important}.accountInformation .ma[data-v-a57ca41e]{font-weight:400!important;color:#fff;margin-left:10px;font-size:.9rem!important}.profitTop[data-v-a57ca41e]{width:100%;height:auto;display:flex;flex-wrap:wrap;justify-content:space-around;padding-top:40px}.profitTop .box[data-v-a57ca41e]{width:45%;height:80px;background:#fff;margin-top:10px;display:flex;flex-direction:column;align-items:left;justify-content:space-around;padding:8px;font-size:.9rem;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance[data-v-a57ca41e]{width:95%;display:flex;justify-content:space-between;padding:15px 15px;background:#fff;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc}.profitTop .accountBalance .box2[data-v-a57ca41e]{display:flex;flex-direction:column;align-items:left;font-size:.9rem}.profitTop .accountBalance .el-button[data-v-a57ca41e]{background:#661fff;color:#fff}.profitBtm2[data-v-a57ca41e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;padding:8px;font-size:.95rem;background:#fff}.profitBtm2 .right[data-v-a57ca41e]{width:100%;height:95%;background:#fff;transition:all .2s linear}.profitBtm2 .right .intervalBox[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;padding:5px 10px}.profitBtm2 .right .intervalBox .title[data-v-a57ca41e]{text-align:center;font-size:.95rem;color:rgba(0,0,0,.8)}.profitBtm2 .right .intervalBox .times[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;cursor:pointer;font-size:.8rem;margin-top:5px}.profitBtm2 .right .intervalBox .times span[data-v-a57ca41e]{min-width:55px;text-align:center;border-radius:20px;margin:0}.profitBtm2 .right .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.barBox[data-v-a57ca41e]{width:95%;height:400px;margin:0 auto;margin-top:18px;border-radius:5px;box-shadow:0 0 3px 1px #ccc;font-size:.95rem;background:#fff}.barBox .lineBOX[data-v-a57ca41e]{width:100%;height:98%;padding:10px 20px;transition:all .2s linear}.barBox .lineBOX .intervalBox[data-v-a57ca41e]{font-size:.9rem}.barBox .lineBOX .intervalBox .title[data-v-a57ca41e]{text-align:left;font-size:.95rem;color:rgba(0,0,0,.8)}.barBox .lineBOX .intervalBox .timesBox[data-v-a57ca41e]{width:100%;text-align:right;display:flex;justify-content:right}.barBox .lineBOX .intervalBox .timesBox .times2[data-v-a57ca41e]{max-width:47%;display:flex;align-items:center;justify-content:space-between;border-radius:20px;padding:1px 1px;border:1px solid #5721e4;font-size:.8rem}.barBox .lineBOX .intervalBox .timesBox .times2 span[data-v-a57ca41e]{text-align:center;padding:0 15px;border-radius:20px;margin:0}.barBox .lineBOX .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.searchBox[data-v-a57ca41e]{width:92%;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden;margin:0 auto;margin-top:25px}.searchBox .inout[data-v-a57ca41e]{border:none;outline:none;padding:0 10px;background:transparent}.searchBox i[data-v-a57ca41e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box[data-v-a57ca41e]{margin-top:8px!important;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%;font-size:.95rem}.top3Box .tabPageBox[data-v-a57ca41e]{width:98%!important;display:flex;justify-content:center;flex-direction:column;margin-bottom:10px}.top3Box .tabPageBox .activeHeadlines[data-v-a57ca41e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-a57ca41e]{width:100%!important;height:60px;display:flex;align-items:end;position:relative;padding:0!important;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]{position:relative;display:inline-block;filter:drop-shadow(0 -5px 10px rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-a57ca41e]{display:inline-block;width:130px!important;height:40px;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-a57ca41e]{width:10%;height:60px;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20px 20px 10px 10px rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-a57ca41e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-a57ca41e]{position:absolute;left:-37px!important;z-index:98;margin:0!important}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-a57ca41e]{position:absolute;left:-72px!important;z-index:97;margin:0!important}.top3Box .tabPageBox .page[data-v-a57ca41e]{width:100%;min-height:380px!important;box-shadow:0 0 3px 3px rgba(0,0,0,.1)!important;z-index:999;margin-top:-3px;border-radius:20px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-a57ca41e]{min-height:300px!important}.top3Box .tabPageBox .page .minerPagination[data-v-a57ca41e]{margin:0 auto;margin-top:30px;margin-bottom:30px}.top3Box .tabPageBox .page .minerTitleBox[data-v-a57ca41e]{width:100%;height:40px;background:#efefef;padding:0!important}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-a57ca41e]{width:100%!important;font-weight:600;display:flex;justify-content:left}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-a57ca41e]{display:inline-block;cursor:pointer;margin-left:18!important;padding:0!important;font-size:.9rem}.top3Box .tabPageBox .page .TitleAll[data-v-a57ca41e]{display:flex;width:100%!important;padding:0!important;padding-left:5px!important;border-radius:0!important}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]:first-of-type{width:19%!important;text-align:center}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]:nth-of-type(2){width:38%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]:nth-of-type(3){width:43%!important}.top3Box .tabPageBox .page .TitleAll span[data-v-a57ca41e]{font-size:.8rem;text-align:left}.top3Box .elTabs3[data-v-a57ca41e]{width:70%;position:relative}.top3Box .elTabs3 .searchBox[data-v-a57ca41e]{width:25%;position:absolute;right:0;top:-5px;z-index:99999;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-a57ca41e]{border:none;outline:none;padding:0 10px}.top3Box .elTabs3 .searchBox i[data-v-a57ca41e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-a57ca41e]{width:98%;margin-left:2%;margin-top:1%;min-height:600px}.top3Box .accordionTitle[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20px}.top3Box .accordionTitle span[data-v-a57ca41e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0!important;padding-left:5px!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]:first-of-type{width:25%!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]:nth-of-type(2){width:35%!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]:nth-of-type(3){width:40%!important}.top3Box .accordionTitleAll span[data-v-a57ca41e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .Title[data-v-a57ca41e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 30px}.top3Box .Title span[data-v-a57ca41e]{width:24.5%;color:#433278;text-align:left}.top3Box .TitleAll[data-v-a57ca41e]{height:60px;background:#d2c3ea;border-radius:5px;display:flex;justify-content:left;align-items:center;padding:0 35px}.top3Box .TitleAll span[data-v-a57ca41e]{width:20%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-a57ca41e]{height:40px!important;display:flex;justify-content:left;align-items:center;padding:0!important;background:#efefef;padding-left:5px!important}.top3Box .totalTitleAll span[data-v-a57ca41e]:first-of-type{width:25%!important}.top3Box .totalTitleAll span[data-v-a57ca41e]:nth-of-type(2){width:35%!important}.top3Box .totalTitleAll span[data-v-a57ca41e]:nth-of-type(3){width:40%!important}.top3Box .totalTitleAll span[data-v-a57ca41e]{font-size:.8rem;text-align:center;padding-left:5px!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.top3Box .totalTitle[data-v-a57ca41e]{height:60px;display:flex;justify-content:left;align-items:center;padding:0 20px;background:#efefef}.top3Box .totalTitle span[data-v-a57ca41e]{width:24.25%;text-align:left}.top3Box .miningMachine[data-v-a57ca41e]{background:#fff;box-shadow:0 0 3px 1px #ccc;overflow:hidden;border-radius:5px}.top3Box .miningMachine .belowTable[data-v-a57ca41e]{border-radius:5px!important;width:100%!important;margin-bottom:20px!important}.top3Box .payment .belowTable[data-v-a57ca41e]{box-shadow:0 0 3px 1px #ccc}.top3Box .payment .belowTable .table-title[data-v-a57ca41e]{height:50px;display:flex;justify-content:space-around;align-items:center;background:#d2c3ea;color:#433278;font-weight:600;width:100%;font-size:.8rem!important}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]{display:inline-block}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]:first-of-type{width:35%;padding-left:10px}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]:nth-of-type(2){width:35%;text-align:left}.top3Box .payment .belowTable .table-title span[data-v-a57ca41e]:nth-of-type(3){width:27%;text-align:center}.top3Box .payment .belowTable .el-collapse[data-v-a57ca41e]{width:100%;max-height:500px;overflow-y:auto}.top3Box .payment .belowTable .paymentCollapseTitle[data-v-a57ca41e]{display:flex;justify-content:left;align-items:center;width:100%}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]{display:inline-block}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]:first-of-type{width:35%;padding-left:10px}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]:nth-of-type(2){width:32%;text-align:center}.top3Box .payment .belowTable .paymentCollapseTitle span[data-v-a57ca41e]:nth-of-type(3){width:27%;text-align:right}.top3Box .payment .belowTable .dropDownContent[data-v-a57ca41e]{width:100%;padding:0 10px;word-wrap:break-word}.top3Box .payment .belowTable .dropDownContent div[data-v-a57ca41e]{margin-top:8px}.top3Box .payment .belowTable .copy[data-v-a57ca41e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.el-collapse[data-v-a57ca41e]{max-height:500px!important;overflow-y:auto}.table-item[data-v-a57ca41e]{display:flex;height:59px;width:100%;align-items:center;justify-content:space-around;padding:8px}.table-item div[data-v-a57ca41e]{width:50%;display:flex;align-items:center;flex-direction:column;justify-content:space-around;height:100%}.table-item div p[data-v-a57ca41e]{text-align:left}.table-itemOn[data-v-a57ca41e]{display:flex;height:59px;width:100%;align-items:center;justify-content:left;padding:8px}.table-itemOn div[data-v-a57ca41e]{width:50%;display:flex;align-items:left;flex-direction:column;justify-content:space-around;height:100%}.table-itemOn div p[data-v-a57ca41e]{text-align:left}.chartTitle[data-v-a57ca41e]{padding-left:3%;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6);font-size:.9rem!important}[data-v-a57ca41e] .el-collapse-item__header{height:45px!important}.belowTable[data-v-a57ca41e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10px;overflow:hidden;margin:0 auto;padding:0;margin-top:-1px;margin-bottom:50px}.belowTable ul[data-v-a57ca41e]{width:100%;min-height:200px;max-height:690px;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50px}.belowTable ul .table-title[data-v-a57ca41e]{position:sticky;top:0;background:#d2c3ea;padding:0 5px!important;color:#433278;font-weight:600;height:50px!important}.belowTable ul li[data-v-a57ca41e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:40px!important;background:#f8f8fa}.belowTable ul li span[data-v-a57ca41e]{width:33.3333333333%!important;font-size:.8rem!important;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li[data-v-a57ca41e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-a57ca41e]{background:#efefef;padding:0!important;background:#f8f8fa;margin-top:5px!important;border:1px solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-a57ca41e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-a57ca41e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-a57ca41e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-a57ca41e]:hover{cursor:pointer;color:#2889fc;font-weight:600}[data-v-a57ca41e] .el-pager li{min-width:19px}[data-v-a57ca41e] .el-pagination .el-select .el-input{margin:0}[data-v-a57ca41e] .el-pagination .btn-next{padding:0!important;min-width:auto}}.activeState[data-v-a57ca41e]{color:red!important}.boxTitle[data-title][data-v-a57ca41e]{position:relative;display:inline-block}.boxTitle[data-title][data-v-a57ca41e]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}.boxTitle[data-title][data-v-a57ca41e]:after{min-width:180PX;max-width:300PX;content:attr(data-title);position:absolute;padding:5PX 10PX;right:28PX;border-radius:4PX;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4PX rgba(0,0,0,.16);font-size:.8rem;visibility:hidden;opacity:0;text-align:center;z-index:999}[data-v-a57ca41e] .el-collapse-item__header{background:transparent;height:60PX}.item-even[data-v-a57ca41e]{background-color:#fff}.item-odd[data-v-a57ca41e]{background-color:#efefef}.miningAccount[data-v-a57ca41e]{width:100%;margin:0 auto;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 30%;background-repeat:no-repeat;background-position:0 -8%;padding-top:60PX}.accountInformation[data-v-a57ca41e]{width:100%;height:30PX;background:rgba(0,0,0,.5);position:fixed;top:8%;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.accountInformation img[data-v-a57ca41e]{width:23PX}.accountInformation i[data-v-a57ca41e]{color:#fff;font-size:.9rem;margin-left:10PX}.accountInformation .coin[data-v-a57ca41e]{margin-left:5PX;font-weight:600;color:#fff;text-transform:capitalize}.accountInformation .ma[data-v-a57ca41e]{font-weight:600;color:#fff;margin-left:10PX;font-size:.9rem}.DropDownChart[data-v-a57ca41e]{width:100%;height:500PX}.circularDots2[data-v-a57ca41e],.circularDots3.circularDots3[data-v-a57ca41e]{width:11PX!important;height:11PX!important;border-radius:50%;display:inline-block;border:2PX solid #ccc}.circularDots3.circularDots3[data-v-a57ca41e]{margin:0;padding:0!important}.activeCircular[data-v-a57ca41e]{width:11PX!important;height:11PX!important;border-radius:50%;border:none!important;background:radial-gradient(circle at center,#ebace3,#9754f1)}.chartTitle[data-v-a57ca41e]{padding-left:3%;font-size:1.3em;font-weight:600;color:#7245e8;color:rgba(0,0,0,.6)}.circularDots[data-v-a57ca41e]{display:inline-block;width:10PX;height:10PX;border-radius:50%;background:radial-gradient(circle at center,#ebace3,#9754f1)}.circularDotsOnLine[data-v-a57ca41e]{display:inline-block;width:8PX;background:#17cac7;height:8PX;border-radius:50%}.circularDotsOffLine[data-v-a57ca41e]{display:inline-block;width:8PX;background:#ff6565;height:8PX;border-radius:50%}.profitBox[data-v-a57ca41e]{width:70%;min-height:650PX;padding:20PX 1%}.profitBox .paymentSettingBth[data-v-a57ca41e]{width:100%;text-align:right}.profitBox .paymentSettingBth .el-button[data-v-a57ca41e]{background:#7245e8;color:#fff;padding:13PX 40PX;border-radius:8PX}.profitBox .profitTop[data-v-a57ca41e]{display:flex;min-height:20%;align-items:center;justify-content:space-between;margin:0 auto;flex-wrap:wrap}.profitBox .profitTop .box[data-v-a57ca41e]{width:230px;height:100px;background:#fff;box-shadow:0 0 10PX 1PX #ccc;border-radius:3%;transition:all .2s linear;padding:0;font-size:.95rem;margin:5px}.profitBox .profitTop .box .paymentSettings[data-v-a57ca41e]{display:flex}.profitBox .profitTop .box .paymentSettings span[data-v-a57ca41e]{width:45%;background:#661fff;color:#fff;border-radius:5PX;cursor:pointer;font-size:.8em;text-align:center;padding:0;display:inline-block;line-height:25PX}.profitBox .profitTop .box .paymentSettings span[data-v-a57ca41e]:hover{background:#7a50e7;color:#fff}.profitBox .profitTop .box span[data-v-a57ca41e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 20PX}.profitBox .profitTop .box span span[data-v-a57ca41e]{width:8%}.profitBox .profitTop .box span img[data-v-a57ca41e]{width:18PX;margin-left:5PX}.profitBox .profitTop .box .text[data-v-a57ca41e]{justify-content:right;font-weight:600}.profitBox .profitTop .box[data-v-a57ca41e]:hover{box-shadow:10PX 5PX 10PX 3PX #e4dbf3}.profitBox .profitBtm[data-v-a57ca41e]{height:600px;width:100%;display:flex;align-items:center;justify-content:space-between}.profitBox .profitBtm .left[data-v-a57ca41e]{width:23%;height:90%;background:#fff;box-shadow:0 0 5PX 2PX #ccc;border-radius:3%;display:flex;flex-direction:column}.profitBox .profitBtm .left .box[data-v-a57ca41e]{width:100%;height:80%;background:#fff;border-radius:3%}.profitBox .profitBtm .left .box span[data-v-a57ca41e]{display:inline-block;width:100%;height:50%;display:flex;align-items:center;padding:0 25PX}.profitBox .profitBtm .left .box .text[data-v-a57ca41e]{justify-content:right;font-weight:600}.profitBox .profitBtm .left .bth[data-v-a57ca41e]{width:100%;text-align:center}.profitBox .profitBtm .left .bth .el-button[data-v-a57ca41e]{width:60%;background:#661fff;color:#fff}.profitBox .profitBtm .right[data-v-a57ca41e]{width:100%;height:90%;background:#fff;box-shadow:0 0 10PX 3PX #ccc;border-radius:15PX;padding:10PX 10PX;transition:all .2s linear}.profitBox .profitBtm .right .intervalBox[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;padding:10PX 20PX;font-size:.95rem}.profitBox .profitBtm .right .intervalBox .title[data-v-a57ca41e]{text-align:center;font-size:1.1em}.profitBox .profitBtm .right .intervalBox .times[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;border-radius:20PX;padding:1PX 1PX;border:1PX solid #5721e4;cursor:pointer}.profitBox .profitBtm .right .intervalBox .times span[data-v-a57ca41e]{min-width:55px;text-align:center;border-radius:20PX;margin:0}.profitBox .profitBtm .right .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.profitBox .profitBtm .right[data-v-a57ca41e]:hover{box-shadow:0 0 20PX 3PX #e4dbf3}.top1Box[data-v-a57ca41e]{width:90%;height:400PX;background-image:linear-gradient(90deg,#1e52e8 0,#1e52e8 80%,#0bb7bf);border-radius:10PX;color:#fff;font-size:1.3em;display:flex;flex-direction:column}.top1Box .top1BoxOne[data-v-a57ca41e]{height:12%;background:rgba(0,0,0,.3);border-radius:28PX 1PX 100PX 1PX;width:800PX;padding:5PX 20PX;line-height:40PX}.top1Box .top1BoxTwo[data-v-a57ca41e]{flex:1;width:100%;display:flex;flex-wrap:wrap;justify-content:left;align-items:center;padding:0 100PX}.top1Box .top1BoxTwo div[data-v-a57ca41e]{display:flex;flex-direction:column}.top1Box .top1BoxTwo div .income[data-v-a57ca41e]{margin-top:20PX;font-size:1.5em}.top1Box .top1BoxTwo .content[data-v-a57ca41e]{position:relative;padding:0 50PX;width:25%}.top1Box .top1BoxTwo .iconLine[data-v-a57ca41e]{width:1PX;background:hsla(0,0%,100%,.6);height:50%;position:absolute;right:0;top:25%}.top1Box .top1BoxThree[data-v-a57ca41e]{height:13%;background:rgba(0,0,0,.4);display:flex;justify-content:center;align-items:center}.top1Box .top1BoxThree .onlineSituation[data-v-a57ca41e]{width:50%;display:flex;justify-content:center;align-items:center;font-size:.8em}.top1Box .top1BoxThree .onlineSituation div[data-v-a57ca41e]{width:33.3333333333%;text-align:center}.top1Box .top1BoxThree .onlineSituation .whole[data-v-a57ca41e]{color:#fff}.top1Box .top1BoxThree .onlineSituation .onLine[data-v-a57ca41e]{color:#04c904}.top1Box .top1BoxThree .onlineSituation .off-line[data-v-a57ca41e]{color:#ef6565}.top2Box[data-v-a57ca41e]{margin-top:1%;width:70%;height:500PX;display:flex;justify-content:center;margin-bottom:2%;padding:0 1%}.top2Box .lineBOX[data-v-a57ca41e]{width:100%;padding:10PX 20PX;border-radius:15PX;box-shadow:0 0 10PX 3PX #ccc;transition:all .2s linear;background:#fff}.top2Box .lineBOX .intervalBox[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;padding:10PX 20PX;font-size:.95rem}.top2Box .lineBOX .intervalBox .title[data-v-a57ca41e]{text-align:center;font-size:1.1em}.top2Box .lineBOX .intervalBox .times[data-v-a57ca41e]{display:flex;align-items:center;justify-content:space-between;border-radius:20PX;padding:1PX 1PX;border:1PX solid #5721e4}.top2Box .lineBOX .intervalBox .times span[data-v-a57ca41e]{text-align:center;padding:0 15PX;border-radius:20PX;margin:0}.top2Box .lineBOX .intervalBox .timeActive[data-v-a57ca41e]{background:#7245e8;color:#fff}.top2Box .lineBOX[data-v-a57ca41e]:hover{box-shadow:0 0 20PX 3PX #e4dbf3}.top2Box .elTabs[data-v-a57ca41e]{width:100%;font-size:1em}.top2Box .intervalBox[data-v-a57ca41e]{display:flex;width:100%;justify-content:right}.top2Box .intervalBox span[data-v-a57ca41e]{margin-left:1%;cursor:pointer}.top2Box .intervalBox span[data-v-a57ca41e]:hover{color:#7245e8}.top3Box[data-v-a57ca41e]{margin-top:1%;width:100%;display:flex;justify-content:center;flex-direction:column;align-items:center;padding:0 1%;padding-bottom:5%}.top3Box .tabPageBox[data-v-a57ca41e]{width:70%;display:flex;justify-content:center;flex-direction:column;margin-bottom:10PX}.top3Box .tabPageBox .activeHeadlines[data-v-a57ca41e]{background:#651efe!important;color:#fff}.top3Box .tabPageBox .tabPageTitle[data-v-a57ca41e]{width:70%;height:60PX;display:flex;align-items:end;position:relative;padding:0;padding-left:1%;font-weight:600}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]{position:relative;display:inline-block;filter:drop-shadow(0 -5PX 10PX rgba(0,0,0,.3));cursor:pointer;margin:0;background:transparent}.top3Box .tabPageBox .tabPageTitle .TitleS .trapezoid[data-v-a57ca41e]{display:inline-block;width:150PX;height:40PX;background:#f9bbd0;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);display:flex;justify-content:center;align-items:center;font-size:.95rem}.top3Box .tabPageBox .tabPageTitle .TitleS[data-v-a57ca41e]:hover{font-weight:700}.top3Box .tabPageBox .tabPageTitle .ces[data-v-a57ca41e]{width:10%;height:60PX;position:absolute;left:50%;clip-path:polygon(22% 0,79% 0,94% 100%,10% 100%);filter:drop-shadow(20PX 20PX 10PX 10PX rgba(0,0,0,.6))!important}.top3Box .tabPageBox .tabPageTitle .minerTitle[data-v-a57ca41e]{z-index:99}.top3Box .tabPageBox .tabPageTitle .profitTitle[data-v-a57ca41e]{z-index:98;margin-left:-40PX}.top3Box .tabPageBox .tabPageTitle .paymentTitle[data-v-a57ca41e]{z-index:97;margin-left:-45PX}.top3Box .tabPageBox .page[data-v-a57ca41e]{width:100%;min-height:730PX;box-shadow:5PX 4PX 8PX 5PX rgba(0,0,0,.1);z-index:999;margin-top:-3PX;border-radius:20PX;overflow:hidden;background:#fff;display:flex;flex-direction:column}.top3Box .tabPageBox .page .publicBox[data-v-a57ca41e]{min-height:600PX}.top3Box .tabPageBox .page .minerPagination[data-v-a57ca41e]{margin:0 auto;margin-top:30PX;margin-bottom:30PX}.top3Box .tabPageBox .page .minerTitleBox[data-v-a57ca41e]{width:100%;height:40PX;background:#efefef;padding:0 30PX;display:flex;align-items:center;justify-content:space-between;font-size:.9rem}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine[data-v-a57ca41e]{width:60%;font-weight:600}.top3Box .tabPageBox .page .minerTitleBox .TitleOnLine span[data-v-a57ca41e]{display:inline-block;cursor:pointer;margin-left:20PX;padding:0 5PX}.top3Box .tabPageBox .page .minerTitleBox .searchBox[data-v-a57ca41e]{width:260px;border:2PX solid #641fff;height:30PX;display:flex;align-items:center;justify-content:space-between;border-radius:25PX;overflow:hidden;margin:0;margin-right:10px}.top3Box .tabPageBox .page .minerTitleBox .searchBox .inout[data-v-a57ca41e]{border:none;outline:none;padding:0 10PX;background:transparent}.top3Box .tabPageBox .page .minerTitleBox .searchBox i[data-v-a57ca41e]{width:35px;height:29px;background:#641fff;color:#fff;font-size:1.2em;line-height:29PX;text-align:center}.top3Box .elTabs3[data-v-a57ca41e]{width:70%;font-size:1em;position:relative}.top3Box .elTabs3 .searchBox[data-v-a57ca41e]{width:25%;position:absolute;right:0;top:-5PX;z-index:99999;border:2PX solid #641fff;height:30PX;display:flex;align-items:center;justify-content:space-between;border-radius:25PX;overflow:hidden}.top3Box .elTabs3 .searchBox .ipt[data-v-a57ca41e]{border:none;outline:none;padding:0 10PX}.top3Box .elTabs3 .searchBox i[data-v-a57ca41e]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25PX;text-align:center}.top3Box .elTabs3 .minerTabs[data-v-a57ca41e]{width:98%;margin-left:2%;margin-top:1%;min-height:600PX}.top3Box .accordionTitle[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20PX}.top3Box .accordionTitle span[data-v-a57ca41e]{width:25%;text-align:left}.top3Box .accordionTitleAll[data-v-a57ca41e]{width:100%;display:flex;justify-content:left;align-items:center;padding:0 20PX}.top3Box .accordionTitleAll span[data-v-a57ca41e]{width:24%;text-align:left;padding-left:1.5%}.top3Box .Title[data-v-a57ca41e]{height:60PX;background:#d2c3ea;border-radius:5PX;display:flex;justify-content:left;align-items:center;padding:0 30PX}.top3Box .Title span[data-v-a57ca41e]{width:24.5%;color:#433278;text-align:left}.top3Box .TitleAll[data-v-a57ca41e]{height:60PX;background:#d2c3ea;border-radius:5PX;display:flex;justify-content:left;align-items:center;padding:0 35PX;font-size:.95rem}.top3Box .TitleAll span[data-v-a57ca41e]{width:20%;color:#433278;text-align:left}.top3Box .totalTitleAll[data-v-a57ca41e]{height:60PX;display:flex;justify-content:left;align-items:center;padding:0 35PX;background:#efefef;font-size:.95rem}.top3Box .totalTitleAll span[data-v-a57ca41e]{width:20%;text-align:left}.top3Box .totalTitle[data-v-a57ca41e]{height:60PX;display:flex;justify-content:left;align-items:center;padding:0 20PX;background:#efefef;font-size:.95rem}.top3Box .totalTitle span[data-v-a57ca41e]{width:24.25%;text-align:left}.belowTable[data-v-a57ca41e]{width:99%;display:flex;flex-direction:column;align-items:center;border-radius:10PX;overflow:hidden;margin:0 auto;padding:0;margin-top:-1PX;margin-bottom:50PX;font-size:.95rem}.belowTable ul[data-v-a57ca41e]{width:100%;min-height:200PX;max-height:690PX;padding:0;overflow:hidden;overflow-y:auto;margin:0;margin-bottom:50PX}.belowTable ul .table-title[data-v-a57ca41e]{position:sticky;top:0;background:#d2c3ea;padding:0 10PX;color:#433278;font-weight:600}.belowTable ul li[data-v-a57ca41e]{width:100%;list-style:none;display:flex;justify-content:space-around;align-items:center;height:60PX;background:#f8f8fa}.belowTable ul li span[data-v-a57ca41e]{width:25%;font-size:.95rem;text-align:center;word-wrap:break-word;overflow-wrap:break-word;white-space:normal}.belowTable ul li[data-v-a57ca41e]:nth-child(2n){background-color:#fff;background:#f8f8fa}.belowTable ul .currency-list[data-v-a57ca41e]{background:#efefef;padding:10PX 10PX;background:#f8f8fa;margin-top:10PX;border:1PX solid #efefef;color:rgba(0,0,0,.9)}.belowTable ul .currency-list .txidBox[data-v-a57ca41e]{display:flex;justify-content:left;box-sizing:border-box}.belowTable ul .currency-list .txidBox span[data-v-a57ca41e]:first-of-type{width:50%;text-align:right;display:inline-block;box-sizing:border-box;margin-right:10px}.belowTable ul .currency-list .txid[data-v-a57ca41e]{border-left:2px solid rgba(0,0,0,.1);margin-left:5px}.belowTable ul .currency-list .txid[data-v-a57ca41e]:hover{cursor:pointer;color:#2889fc;font-weight:600}.currency-list2.currency-list2.currency-list2[data-v-a57ca41e]{background:#efefef;padding:10PX 10PX}.el-input-group__append button.el-button[data-v-a57ca41e],.el-input-group__append div.el-select .el-input__inner[data-v-a57ca41e],.el-input-group__append div.el-select:hover .el-input__inner[data-v-a57ca41e],.el-input-group__prepend button.el-button[data-v-a57ca41e],.el-input-group__prepend div.el-select .el-input__inner[data-v-a57ca41e],.el-input-group__prepend div.el-select:hover .el-input__inner[data-v-a57ca41e]{background:#631ffc;color:#fff}.offlineTime[data-v-a57ca41e]{display:flex;flex-direction:column;justify-content:center}.offlineTime span[data-v-a57ca41e]{width:100%!important;display:inline-block;line-height:15PX!important}.sort[data-v-a57ca41e]{font-size:1.3em;cursor:pointer;color:#1e52e8}.sort[data-v-a57ca41e]:hover{color:#433299}[data-v-a57ca41e] .el-loading-spinner{top:25%!important}@media screen and (min-width:220px)and (max-width:1279px){.Block[data-v-d42df632]{width:100%;background:transparent!important;padding-top:10px!important}.currencySelect[data-v-d42df632]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-d42df632]{width:100%}.currencySelect .el-menu[data-v-d42df632]{background:transparent}.currencySelect .coinSelect img[data-v-d42df632]{width:25px}.currencySelect .coinSelect span[data-v-d42df632]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-d42df632]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-d42df632]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-d42df632]{width:25px}.moveCurrencyBox li p[data-v-d42df632]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.luckyBox[data-v-d42df632]{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between!important;width:100%;height:auto!important}.luckyBox .luckyItem[data-v-d42df632]{width:155px!important;margin-left:2%!important;height:88px!important;margin-top:10px;justify-content:space-between!important;padding-bottom:10px}.luckyBox .luckyItem .text[data-v-d42df632]{font-size:1.8rem!important}.tableBox[data-v-d42df632]{margin:0 auto;width:95%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-d42df632]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-d42df632]{text-align:center}.tableBox .table-title span[data-v-d42df632]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-d42df632]:nth-of-type(2){width:70%!important}.tableBox .collapseTitle[data-v-d42df632]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important}.tableBox .collapseTitle span[data-v-d42df632]{text-align:center}.tableBox .collapseTitle span[data-v-d42df632]:first-of-type{width:30%!important}.tableBox .collapseTitle span[data-v-d42df632]:nth-of-type(2){width:70%!important}.tableBox .belowTable[data-v-d42df632]{display:flex;justify-content:space-between}.tableBox .belowTable div[data-v-d42df632]{width:50%;height:auto;text-align:left;padding-left:8%}.tableBox #hash[data-v-d42df632]{width:100%;padding-left:8%;margin-top:8px}.tableBox #hash .text[data-v-d42df632]{width:93%;height:auto;word-wrap:break-word;overflow-wrap:break-word;color:#8f61f5;text-decoration:underline}.tableBox .paginationBox[data-v-d42df632]{text-align:center}[data-v-d42df632] .el-pager li{min-width:19px}[data-v-d42df632] .el-pagination .el-select .el-input{margin:0}.el-pagination button[data-v-d42df632],.el-pagination span[data-v-d42df632]:not([class*=suffix]){min-width:20px}[data-v-d42df632] .el-pagination .btn-next,[data-v-d42df632] .el-pagination .btn-prev{padding:0!important;min-width:auto}[data-v-d42df632] .el-pagination .el-select .el-input{width:92px}}#boxTitle2[data-title][data-v-d42df632]{position:relative;display:inline-block}#boxTitle2[data-title][data-v-d42df632]:hover:after{opacity:1;transition:all .1s ease .5s;visibility:visible}#boxTitle2[data-title][data-v-d42df632]:after{min-width:180PX;max-width:300PX;content:attr(data-title);position:absolute;padding:5PX 10PX;right:28PX;border-radius:4PX;color:hsla(0,0%,100%,.8);background-color:rgba(80,79,79,.8);box-shadow:0 0 4PX rgba(0,0,0,.16);font-size:.8rem;visibility:hidden;opacity:0;text-align:center;overflow-wrap:break-word!important}.Block[data-v-d42df632]{background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding-top:60PX}.BlockTop[data-v-d42df632]{width:75%;margin:0 auto}.luckyBox[data-v-d42df632]{width:100%;height:280PX;border-radius:10PX;transition:all .3s linear;padding:0;display:flex;flex-wrap:wrap;justify-content:left;padding:10PX 10PX}.luckyBox .luckyItem[data-v-d42df632]{background:#d2c3ea;width:38%;height:45%;border-radius:5PX;display:flex;flex-direction:column;justify-content:left;align-items:center;color:#fff;font-weight:600;background-image:linear-gradient(-20deg,#b868da,#89e0f3);margin-left:50PX}.luckyBox .luckyItem span[data-v-d42df632]{font-size:.9em}.luckyBox .luckyItem .title[data-v-d42df632]{width:100%;height:35%;display:inline-block;text-align:right;padding:10PX 15PX}.luckyBox .luckyItem .text[data-v-d42df632]{font-size:2.5em}.luckyBox .luckyItem[data-v-d42df632]:hover{border:1PX solid #d2c3ea}.luckyBox p[data-v-d42df632]{width:100%;text-align:right;padding-right:10%}.luckyBox ul[data-v-d42df632]{padding:0;width:95%;padding-left:5%;height:90%}.luckyBox ul li[data-v-d42df632]{list-style:none;display:flex;width:100%;align-items:center;justify-content:space-between;height:20%}.luckyBox ul li .progressBar[data-v-d42df632]{width:82%;margin-left:1%;overflow:hidden}.luckyBox .progress-container[data-v-d42df632]{display:flex;align-items:center}.luckyBox .progress-bar[data-v-d42df632]{width:80%;height:10PX;background-color:#f0f0f0;border-radius:5PX}.luckyBox .progress[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:10PX;transition:width .3s ease;background:linear-gradient(180deg,#d0c7ec 60%,#6427df 0);margin-left:-3PX}.luckyBox .progress7[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:25PX;transition:width .3s ease;background:linear-gradient(180deg,#f4da95 60%,#ceac37 0);margin-left:-3PX}.luckyBox .progress30[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:25PX;transition:width .3s ease;background:linear-gradient(180deg,#7bd28e 60%,#349b53 0);margin-left:-3PX}.luckyBox .progress90[data-v-d42df632]{height:100%;background-color:#4caf50;border-radius:25PX;transition:width .3s ease;background:linear-gradient(180deg,#fcbad0 60%,#f2407c 0);margin-left:-3PX}.luckyBox .progress-percentage[data-v-d42df632]{width:20%;text-align:right;padding-right:5PX}[data-v-d42df632] .el-progress__text{text-align:left}.currencyBox[data-v-d42df632]{width:100%;display:flex;justify-content:left;align-items:start;padding:10PX 10PX;height:280PX;flex-wrap:wrap;box-shadow:0 0 10PX 3PX #ccc;border-radius:2%;background:#fff;transition:all .3s linear;overflow:hidden;overflow-y:auto}.currencyBox .sunCurrency[data-v-d42df632]{display:flex;justify-content:space-around;align-items:center;flex-direction:column;padding:8PX 5PX;border-radius:22PX;width:18%;cursor:pointer;margin-left:8PX;font-size:1em;text-align:center;height:100PX;transition:all .2s linear}.currencyBox .sunCurrency img[data-v-d42df632]{width:38PX;transition:all .2s linear}.currencyBox .sunCurrency span[data-v-d42df632]{text-transform:capitalize;margin-top:5PX;width:100%;font-size:.7em;padding:5PX 0;border-radius:5PX}.currencyBox .sunCurrency[data-v-d42df632]:hover{font-size:1.1em;box-shadow:0 0 5PX 3PX rgba(210,195,234,.8)}.currencyBox .sunCurrency:hover img[data-v-d42df632]{width:40PX}.currencyBox[data-v-d42df632]:hover{box-shadow:3PX 3PX 20PX 3PX #c1a1fe}.reportBlock[data-v-d42df632]{width:100%;display:flex;justify-content:center;margin-top:1%;padding-bottom:1%;background-size:100% 40%;background-repeat:no-repeat;background-position:30% 130%}.reportBlock .reportBlockBox[data-v-d42df632]{width:100%;height:100%;display:flex;justify-content:space-between;flex-direction:column;align-items:center}.reportBlock .reportBlockBox .top[data-v-d42df632]{width:100%;height:18%;display:flex;align-items:center;justify-content:center;border-bottom:1PX solid rgba(0,0,0,.1);padding:20PX 0;color:#fff;font-weight:600}.reportBlock .reportBlockBox .top .lucky[data-v-d42df632]{display:flex;align-items:center;flex-direction:column;justify-content:center}.reportBlock .reportBlockBox .top .lucky .luckyNum[data-v-d42df632]{font-size:1.8em}.reportBlock .reportBlockBox .top .lucky .luckyText[data-v-d42df632]{font-size:1em;margin-top:5%}.reportBlock .reportBlockBox .top div[data-v-d42df632]{width:16%;background:#2eaeff;height:100%;display:flex;align-items:center;justify-content:space-around;margin-left:5%;border-radius:10PX;box-shadow:0 8PX 20PX 0 rgba(46,174,255,.5)}.reportBlock .reportBlockBox .belowTable[data-v-d42df632]{width:75%;max-height:80%;display:flex;justify-content:center;flex-direction:column;align-items:center;border-radius:10PX;overflow:hidden;transition:all .3s linear;margin-bottom:120PX}.reportBlock .reportBlockBox .belowTable .table-title[data-v-d42df632]{width:100%;display:flex;align-items:center;height:68PX;position:sticky;top:0;background:#d2c3ea;padding:0 10PX;color:#4e3e7d;position:relative}.reportBlock .reportBlockBox .belowTable .table-title span[data-v-d42df632]{height:100%;width:20%;line-height:63PX;font-size:.95rem;font-weight:600;text-align:center}.reportBlock .reportBlockBox .belowTable .table-title .hash[data-v-d42df632]{width:58%;font-size:.95rem;text-align:left;margin-left:5%;justify-content:left}.reportBlock .reportBlockBox .belowTable .table-title .blockRewards[data-v-d42df632]{width:20%;font-weight:600;font-size:.95rem;text-align:left;margin-left:1%}.reportBlock .reportBlockBox .belowTable .table-title .transactionFee[data-v-d42df632]{width:18%;font-weight:600;font-size:.95rem}.reportBlock .reportBlockBox .belowTable .table-title span[data-v-d42df632]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:center}.reportBlock .reportBlockBox .belowTable ul[data-v-d42df632]{width:100%;min-height:200PX;max-height:818PX;padding:0;background:#fff;margin:0;overflow:hidden;overflow-y:auto}.reportBlock .reportBlockBox .belowTable ul .table-title[data-v-d42df632]{position:sticky;top:0;background:#d2c3ea;padding:0 10PX;color:#4e3e7d;position:relative}.reportBlock .reportBlockBox .belowTable ul .table-title .hash[data-v-d42df632]{width:50%;text-align:left}.reportBlock .reportBlockBox .belowTable ul .table-title .blockRewards[data-v-d42df632],.reportBlock .reportBlockBox .belowTable ul .table-title .transactionFee[data-v-d42df632]{width:18%;font-weight:600}.reportBlock .reportBlockBox .belowTable ul .table-title span[data-v-d42df632]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:center}.reportBlock .reportBlockBox .belowTable ul li[data-v-d42df632]{width:100%;list-style:none;display:flex;cursor:pointer;justify-content:space-around;align-items:center;height:9%}.reportBlock .reportBlockBox .belowTable ul li span[data-v-d42df632]{height:100%;width:20%;line-height:63PX;font-size:.95rem;font-weight:600;text-align:center}.reportBlock .reportBlockBox .belowTable ul li[data-v-d42df632]:nth-child(2n){background-color:#fff;background:#f8f8fa}.reportBlock .reportBlockBox .belowTable ul .currency-list[data-v-d42df632]{background:#efefef;box-shadow:0 0 2PX 1PX rgba(0,0,0,.02);padding:0 10PX;border:1PX solid #efefef;background:#f8f8fa;margin-top:10PX}.reportBlock .reportBlockBox .belowTable ul .currency-list span[data-v-d42df632]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.reportBlock .reportBlockBox .belowTable ul .currency-list .hash[data-v-d42df632]{width:58%;text-align:left;margin-left:5%}.reportBlock .reportBlockBox .belowTable ul .currency-list .reward[data-v-d42df632]{width:20%;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:1%}.reportBlock .reportBlockBox .belowTable .pageBox[data-v-d42df632]{padding:2%}.reportBlock .reportBlockBox .belowTable[data-v-d42df632]:hover{box-shadow:0 0 15PX 3PX #c1a1fe}.el-progress[data-v-d42df632]{width:400PX;margin-left:-5PX;white-space:nowrap}.active[data-v-d42df632]{color:#fff;background:#641ffc}@media screen and (min-width:220px) and (max-width:1279px){.el-menu--horizontal{width:95%}}.help-center[data-v-8b25bb5a]{min-height:100vh;background-color:#f5f5f5}.top-section[data-v-8b25bb5a]{position:relative;height:200px;background:linear-gradient(135deg,#5721e4,#5721e4 50%,#f4bdd1);display:flex;align-items:center;justify-content:center;padding:20px}.filter-icon[data-v-8b25bb5a]{position:absolute;top:20px;right:20px;color:#fff;cursor:pointer;padding:8px;border-radius:50%;background:hsla(0,0%,100%,.1);transition:background .3s ease}.filter-icon[data-v-8b25bb5a]:hover{background:hsla(0,0%,100%,.2)}.search-container[data-v-8b25bb5a]{width:100%;max-width:400px}.search-input[data-v-8b25bb5a]{width:100%;padding:12px 20px;border:none;border-radius:25px;background:hsla(0,0%,100%,.9);font-size:16px;outline:none;transition:background .3s ease}.search-input[data-v-8b25bb5a]:focus{background:#fff}.search-input[data-v-8b25bb5a]::placeholder{color:#999}.main-content[data-v-8b25bb5a]{max-width:1200px;margin:0 auto;padding:40px 20px}.category-grid[data-v-8b25bb5a]{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:60px}.category-btn[data-v-8b25bb5a]{padding:20px;border:2px solid #e0e0e0;border-radius:8px;background:#fff;color:#333;font-size:16px;font-weight:500;cursor:pointer;transition:all .3s ease;text-align:center;min-height:60px;display:flex;align-items:center;justify-content:center}.category-btn[data-v-8b25bb5a]:hover{border-color:#5721e4;background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(42,82,152,.1)}.category-btn[data-v-8b25bb5a]:focus{outline:none;border-color:#2a5298;box-shadow:0 0 0 3px rgba(42,82,152,.1)}.section-title[data-v-8b25bb5a]{font-size:20px;font-weight:600;color:#333;margin-bottom:20px}.recommended-section[data-v-8b25bb5a]{margin-bottom:60px}.recommended-items[data-v-8b25bb5a]{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.recommended-item[data-v-8b25bb5a]{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .3s ease;cursor:pointer}.recommended-item[data-v-8b25bb5a]:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.item-description[data-v-8b25bb5a]{color:#666;line-height:1.6;margin:0}.recent-activities[data-v-8b25bb5a]{margin-bottom:40px}.activities-list[data-v-8b25bb5a]{display:flex;flex-direction:column;gap:20px}.activity-item[data-v-8b25bb5a]{background:#fff;padding:20px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);transition:transform .3s ease}.activity-item[data-v-8b25bb5a]:hover{transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15)}.activity-header[data-v-8b25bb5a]{margin-bottom:10px}.activity-badge[data-v-8b25bb5a]{display:inline-block;padding:4px 12px;background:#e3f2fd;color:#1976d2;border-radius:12px;font-size:12px;font-weight:500}.activity-title[data-v-8b25bb5a]{font-size:16px;font-weight:500;color:#333;margin:0 0 10px 0;line-height:1.4}.activity-meta[data-v-8b25bb5a]{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#666}.activity-comments[data-v-8b25bb5a]{color:#999}.view-more[data-v-8b25bb5a]{text-align:center;margin-top:40px}.view-more-link[data-v-8b25bb5a]{color:#2a5298;text-decoration:none;font-weight:500;transition:color .3s ease}.view-more-link[data-v-8b25bb5a]:hover{color:#1e3c72;text-decoration:underline}.bottom-section[data-v-8b25bb5a]{background:#f8f9fa;padding:20px;border-top:1px solid #e0e0e0}.help-center-link[data-v-8b25bb5a]{max-width:1200px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;color:#666}.language-select[data-v-8b25bb5a]{padding:5px 10px;border:1px solid #ddd;border-radius:4px;background:#fff;color:#333;font-size:14px}@media (max-width:768px){.category-grid[data-v-8b25bb5a],.recommended-items[data-v-8b25bb5a]{grid-template-columns:1fr}.main-content[data-v-8b25bb5a]{padding:20px 15px}.search-container[data-v-8b25bb5a]{max-width:300px}.help-center-link[data-v-8b25bb5a]{flex-direction:column;gap:10px}.activity-meta[data-v-8b25bb5a]{flex-direction:column;align-items:flex-start;gap:5px}}.editor-page[data-v-4ff46502]{max-width:1200px;margin:0 auto;padding:20px;background:#f8f9fa;min-height:100vh}.page-header[data-v-4ff46502]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 8px 32px rgba(102,126,234,.3)}.header-left[data-v-4ff46502]{flex:1}.title-section[data-v-4ff46502]{display:flex;align-items:center;margin-bottom:12px}.title-icon[data-v-4ff46502]{font-size:28px;margin-right:12px;color:gold}.page-title[data-v-4ff46502]{font-size:28px;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.1)}.page-description[data-v-4ff46502]{font-size:16px;opacity:.9;margin:0;line-height:1.6}.header-actions[data-v-4ff46502]{display:flex;gap:12px;flex-wrap:wrap}.header-actions .el-button[data-v-4ff46502]{border-radius:8px;font-weight:500;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}.header-actions .el-button[data-v-4ff46502]:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.config-section[data-v-4ff46502]{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.section-header[data-v-4ff46502]{display:flex;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f8f9fa;color:#2c3e50;font-weight:600;font-size:18px}.section-header i[data-v-4ff46502]{margin-right:10px;color:#667eea;font-size:20px}.config-content[data-v-4ff46502]{display:flex;flex-direction:column;gap:20px}.config-row[data-v-4ff46502]{display:grid;grid-template-columns:1fr 1fr;gap:24px}.config-item[data-v-4ff46502]{display:flex;flex-direction:column}.config-item label[data-v-4ff46502]{margin-bottom:8px;font-weight:600;color:#495057;font-size:14px}.required[data-v-4ff46502]:after{content:"*";color:#e74c3c;margin-left:4px;font-weight:700}.editor-section[data-v-4ff46502]{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.editor-container[data-v-4ff46502]{border:1px solid #dcdfe6;border-radius:8px;overflow:hidden;background:#fff;min-height:650px}.editor-container .w-e-text-container[data-v-4ff46502],.editor-container .w-e-text[data-v-4ff46502]{height:600px!important;min-height:600px!important}.save-status[data-v-4ff46502]{position:fixed;bottom:20px;right:20px;background:#67c23a;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(103,194,58,.3);display:flex;align-items:center;gap:8px;font-size:14px;z-index:1000;animation:slideIn-4ff46502 .3s ease}@keyframes slideIn-4ff46502{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.preview-dialog .el-dialog__body[data-v-4ff46502]{padding:20px;max-height:70vh;overflow-y:auto}.preview-dialog .el-dialog__header[data-v-4ff46502]{background-color:#f8f9fa;border-bottom:1px solid #ebeef5}.preview-dialog .el-dialog__header .el-dialog__title[data-v-4ff46502]{color:#333;font-weight:600}.preview-dialog .el-dialog__footer[data-v-4ff46502]{background-color:#f8f9fa;border-top:1px solid #ebeef5;padding:15px 20px}.preview-dialog .el-dialog__footer .dialog-footer[data-v-4ff46502]{text-align:right}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]{border-radius:6px;padding:8px 15px;font-weight:500}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]:first-child{margin-right:10px}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]:last-child{background-color:#667eea;border-color:#667eea}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ff46502]:last-child:hover{background-color:#5a67d8;border-color:#5a67d8}.preview-content[data-v-4ff46502]{background:#fff;padding:20px}.preview-empty[data-v-4ff46502]{text-align:center;padding:50px 20px;color:#95a5a6}.preview-empty i[data-v-4ff46502]{font-size:48px;margin-bottom:15px;display:block}.preview-empty p[data-v-4ff46502]{margin:0;font-size:16px}@media (max-width:768px){.editor-page[data-v-4ff46502]{padding:10px}.page-header[data-v-4ff46502]{flex-direction:column;gap:20px;padding:20px}.header-actions[data-v-4ff46502]{width:100%;justify-content:center}.config-row[data-v-4ff46502]{grid-template-columns:1fr;gap:16px}.page-title[data-v-4ff46502]{font-size:24px}.save-status[data-v-4ff46502]{bottom:10px;right:10px;left:10px;text-align:center;justify-content:center}}.el-input[data-v-4ff46502],.el-select[data-v-4ff46502]{border-radius:8px}.el-input__inner[data-v-4ff46502],.el-select .el-input__inner[data-v-4ff46502]{border-radius:8px;border:1px solid #dcdfe6;transition:all .3s ease}.el-input__inner[data-v-4ff46502]:focus,.el-select .el-input__inner[data-v-4ff46502]:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.2)}.el-tag[data-v-4ff46502]{border-radius:6px;font-weight:500}.main-title-box[data-v-76d940dc]{display:flex;align-items:center;margin-bottom:20px}.main-title-box .add-btn[data-v-76d940dc]{background:#661ffb;color:#fff;border:none;margin-left:28px;border-radius:20px;padding:10px 20px;transition:all .3s ease}.main-title-box .add-btn .arrow[data-v-76d940dc]{margin-left:10px}.main-title-box .add-btn[data-v-76d940dc]:hover{transform:scale(1.05)}.main-title[data-v-76d940dc]{font-size:24px;font-weight:700;color:#333}.elBtn[data-v-76d940dc]{background:#e60751;color:#fff;border:none;margin-left:18px}.el-table .cell[data-v-76d940dc]{word-break:break-word}[data-v-76d940dc] .path-help-dialog .el-message-box__message{white-space:pre-line;font-family:Courier New,monospace;font-size:13px;line-height:1.6}.el-tag[data-v-76d940dc]{max-width:80px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.path-item[data-v-76d940dc]{font-family:Courier New,monospace;background:#f5f7fa;padding:2px 6px;border-radius:3px;margin:1px 0;border-left:3px solid #409eff}[data-v-76d940dc] .el-tag{max-width:200px!important}.main-title[data-v-21797be4],.main-title[data-v-ecb06f72]{font-size:24px;font-weight:700;color:#333;margin-bottom:18px}.user-details-box[data-v-21797be4]{width:100%;margin:0 auto;box-sizing:border-box;padding:20px;background-color:#fff;border-radius:10px;margin-bottom:20px;height:73vh;overflow:hidden;overflow-y:auto}.time-box[data-v-21797be4]{display:flex;justify-content:space-between;margin-bottom:10px;padding-right:20px;font-size:14px;color:#333}.user-details-form[data-v-21797be4]{width:80%;box-sizing:border-box;padding:20px;background-color:#fff;border-radius:10px;margin-bottom:20px}.no-data-tip[data-v-21797be4]{width:80%;margin:0 auto;font-size:16px;color:#999;text-align:center;margin-top:20px}.history-balance-item[data-v-21797be4]{display:inline-block;background:#e7dff3;padding:8px 20px;border-radius:20px;margin-bottom:10px;color:rgba(0,0,0,.6);flex:none;align-self:flex-start;margin-left:10px}[data-v-21797be4] .el-form-item__label{font-weight:700;font-size:16px;letter-spacing:1px}.chartBox[data-v-21797be4]{width:80vw;box-sizing:border-box;padding:0;margin:30px 0}.lineChartBox[data-v-21797be4]{width:97%;height:80%;box-sizing:border-box;box-shadow:0 0 1px 1px #ccc;padding:20px;border-radius:10px}.lineChartBox-title[data-v-21797be4]{font-size:16px;font-weight:700;color:rgba(0,0,0,.6);margin-bottom:20px}.lineChartBox-header[data-v-21797be4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;padding:1% 5%}.el-date-editor .el-range-separator{padding:0!important;color:#333!important}::v-deep .el-table td{vertical-align:middle}::v-deep .el-table .cell{padding:0 12px;word-break:break-word}::v-deep .el-table tbody tr:hover>td{background-color:#f5f7fa}::v-deep .el-table--border td{border-right:1px solid #ebeef5}::v-deep .el-table--border th{border-right:1px solid #ebeef5}.main-title-box[data-v-0e9d673d]{display:flex;align-items:center;margin-bottom:20px}.main-title-box .add-btn[data-v-0e9d673d]{background:#661ffb;color:#fff;border:none;margin-left:28px;border-radius:20px;padding:10px 20px;transition:all .3s ease}.main-title-box .add-btn .arrow[data-v-0e9d673d]{margin-left:10px}.main-title-box .add-btn[data-v-0e9d673d]:hover{transform:scale(1.05)}.main-title[data-v-0e9d673d]{font-size:24px;font-weight:700;color:#333;margin-bottom:18px}.elBtn[data-v-0e9d673d]{background:#e60751;color:#fff;border:none;margin-left:18px}.editor-page[data-v-35543353]{width:100%;margin:0 auto;padding:20px;background:#f8f9fa;min-height:60vh;overflow-y:auto}.page-header[data-v-35543353]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 8px 32px rgba(102,126,234,.3)}.header-left[data-v-35543353]{flex:1}.title-section[data-v-35543353]{display:flex;align-items:center;margin-bottom:12px}.title-icon[data-v-35543353]{font-size:28px;margin-right:12px;color:gold}.page-title[data-v-35543353]{font-size:28px;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.1)}.page-description[data-v-35543353]{font-size:16px;opacity:.9;margin:0;line-height:1.6}.header-actions[data-v-35543353]{display:flex;gap:12px;flex-wrap:wrap}.header-actions .el-button[data-v-35543353]{border-radius:8px;font-weight:500;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}.header-actions .el-button[data-v-35543353]:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.config-section[data-v-35543353]{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.section-header[data-v-35543353]{display:flex;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f8f9fa;color:#2c3e50;font-weight:600;font-size:18px}.section-header i[data-v-35543353]{margin-right:10px;color:#667eea;font-size:20px}.config-content[data-v-35543353]{display:flex;flex-direction:column;gap:20px;margin-top:18px}.config-row[data-v-35543353]{display:grid;grid-template-columns:1fr 1fr;gap:24px}.config-item[data-v-35543353]{display:flex;flex-direction:column}.config-item label[data-v-35543353]{margin-bottom:8px;font-weight:600;color:#495057;font-size:14px}.required[data-v-35543353]:after{content:"*";color:#e74c3c;margin-left:4px;font-weight:700}.editor-section[data-v-35543353]{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.editor-container[data-v-35543353]{border:1px solid #dcdfe6;border-radius:8px;overflow:hidden;background:#fff;min-height:650px;position:relative;z-index:1}[data-v-35543353] .editor-container .w-e-text-container{min-height:600px!important;z-index:1!important;position:relative}[data-v-35543353] .w-e-toolbar{z-index:10!important;position:relative}.editor-container .w-e-text[data-v-35543353]{height:600px!important;min-height:600px!important}.save-status[data-v-35543353]{position:fixed;bottom:20px;right:20px;background:#67c23a;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(103,194,58,.3);display:flex;align-items:center;gap:8px;font-size:14px;z-index:1000;animation:slideIn-35543353 .3s ease}@keyframes slideIn-35543353{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.preview-dialog .el-dialog__body[data-v-35543353]{padding:20px;max-height:70vh;overflow-y:auto;z-index:9999}.preview-dialog .el-dialog__header[data-v-35543353]{background-color:#f8f9fa;border-bottom:1px solid #ebeef5}.preview-dialog .el-dialog__header .el-dialog__title[data-v-35543353]{color:#333;font-weight:600}.preview-dialog .el-dialog__footer[data-v-35543353]{background-color:#f8f9fa;border-top:1px solid #ebeef5;padding:15px 20px}.preview-dialog .el-dialog__footer .dialog-footer[data-v-35543353]{text-align:right}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]{border-radius:6px;padding:8px 15px;font-weight:500}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]:first-child{margin-right:10px}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]:last-child{background-color:#667eea;border-color:#667eea}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-35543353]:last-child:hover{background-color:#5a67d8;border-color:#5a67d8}.preview-content[data-v-35543353]{background:#fff;padding:20px}.preview-empty[data-v-35543353]{text-align:center;padding:50px 20px;color:#95a5a6}.preview-empty i[data-v-35543353]{font-size:48px;margin-bottom:15px;display:block}.preview-empty p[data-v-35543353]{margin:0;font-size:16px}@media(max-width:768px){.editor-page[data-v-35543353]{padding:10px}.page-header[data-v-35543353]{flex-direction:column;gap:20px;padding:20px}.header-actions[data-v-35543353]{width:100%;justify-content:center}.config-row[data-v-35543353]{grid-template-columns:1fr;gap:16px}.page-title[data-v-35543353]{font-size:24px}.save-status[data-v-35543353]{bottom:10px;right:10px;left:10px;text-align:center;justify-content:center}}.el-input[data-v-35543353],.el-select[data-v-35543353]{border-radius:8px}.el-input__inner[data-v-35543353],.el-select .el-input__inner[data-v-35543353]{border-radius:8px;border:1px solid #dcdfe6;transition:all .3s ease}.el-input__inner[data-v-35543353]:focus,.el-select .el-input__inner[data-v-35543353]:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.2)}.el-tag[data-v-35543353]{border-radius:6px;font-weight:500}.dynamic-content[data-v-35543353]{width:100%;margin:0 auto}.dynamic-content[data-v-35543353] table{border-collapse:collapse;width:100%;margin:16px 0}.dynamic-content[data-v-35543353] td,.dynamic-content[data-v-35543353] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.dynamic-content[data-v-35543353] th{background:#f3f4f6;font-weight:700}.dynamic-content[data-v-35543353] b,.dynamic-content[data-v-35543353] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-35543353] em,.dynamic-content[data-v-35543353] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-35543353] a{color:#007bff!important;text-decoration:none!important}.dynamic-content[data-v-35543353] a:hover{text-decoration:underline!important}.no-scroll[data-v-35543353]{overflow:hidden!important}.editor-page[data-v-4ca2f0fb]{width:100%;margin:0 auto;padding:10px;background:#f8f9fa;min-height:60vh}.page-header[data-v-4ca2f0fb]{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:30px;border-radius:12px;margin-bottom:24px;display:flex;justify-content:space-between;align-items:flex-start;box-shadow:0 8px 32px rgba(102,126,234,.3)}.header-left[data-v-4ca2f0fb]{flex:1}.title-section[data-v-4ca2f0fb]{display:flex;align-items:center;margin-bottom:12px}.title-icon[data-v-4ca2f0fb]{font-size:28px;margin-right:12px;color:gold}.page-title[data-v-4ca2f0fb]{font-size:28px;font-weight:700;margin:0;text-shadow:0 2px 4px rgba(0,0,0,.1)}.page-description[data-v-4ca2f0fb]{font-size:16px;opacity:.9;margin:0;line-height:1.6}.header-actions[data-v-4ca2f0fb]{display:flex;gap:12px;flex-wrap:wrap}.header-actions .el-button[data-v-4ca2f0fb]{border-radius:8px;font-weight:500;padding:12px 20px;box-shadow:0 4px 12px rgba(0,0,0,.15);transition:all .3s ease}.header-actions .el-button[data-v-4ca2f0fb]:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.2)}.content-section[data-v-4ca2f0fb]{width:100%;height:80%;overflow-y:auto;padding:10px}.config-section[data-v-4ca2f0fb]{background:#fff;border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.section-header[data-v-4ca2f0fb]{display:flex;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:2px solid #f8f9fa;color:#2c3e50;font-weight:600;font-size:18px}.section-header i[data-v-4ca2f0fb]{margin-right:10px;color:#667eea;font-size:20px}.config-content[data-v-4ca2f0fb]{display:flex;flex-direction:column;gap:20px;margin-top:18px}.config-row[data-v-4ca2f0fb]{display:grid;grid-template-columns:1fr 1fr;gap:24px}.config-item[data-v-4ca2f0fb]{display:flex;flex-direction:column}.config-item label[data-v-4ca2f0fb]{margin-bottom:8px;font-weight:600;color:#495057;font-size:14px}.required[data-v-4ca2f0fb]:after{content:"*";color:#e74c3c;margin-left:4px;font-weight:700}.editor-section[data-v-4ca2f0fb]{background:#fff;border-radius:12px;padding:24px;box-shadow:0 4px 20px rgba(0,0,0,.08);border:1px solid #e9ecef}.editor-container[data-v-4ca2f0fb]{border:1px solid #dcdfe6;border-radius:8px;overflow:hidden;background:#fff;min-height:650px;position:relative;z-index:1}[data-v-4ca2f0fb] .editor-container .w-e-text-container{min-height:600px!important;z-index:1!important;position:relative}[data-v-4ca2f0fb] .w-e-toolbar{z-index:10!important;position:relative}.editor-container .w-e-text[data-v-4ca2f0fb]{height:600px!important;min-height:600px!important}.save-status[data-v-4ca2f0fb]{position:fixed;bottom:20px;right:20px;background:#67c23a;color:#fff;padding:12px 20px;border-radius:8px;box-shadow:0 4px 12px rgba(103,194,58,.3);display:flex;align-items:center;gap:8px;font-size:14px;z-index:1000;animation:slideIn-4ca2f0fb .3s ease}@keyframes slideIn-4ca2f0fb{0%{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}.preview-dialog .el-dialog__body[data-v-4ca2f0fb]{padding:20px;max-height:70vh;overflow-y:auto;z-index:9999}.preview-dialog .el-dialog__header[data-v-4ca2f0fb]{background-color:#f8f9fa;border-bottom:1px solid #ebeef5}.preview-dialog .el-dialog__header .el-dialog__title[data-v-4ca2f0fb]{color:#333;font-weight:600}.preview-dialog .el-dialog__footer[data-v-4ca2f0fb]{background-color:#f8f9fa;border-top:1px solid #ebeef5;padding:15px 20px}.preview-dialog .el-dialog__footer .dialog-footer[data-v-4ca2f0fb]{text-align:right}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]{border-radius:6px;padding:8px 15px;font-weight:500}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]:first-child{margin-right:10px}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]:last-child{background-color:#667eea;border-color:#667eea}.preview-dialog .el-dialog__footer .dialog-footer .el-button[data-v-4ca2f0fb]:last-child:hover{background-color:#5a67d8;border-color:#5a67d8}.preview-content[data-v-4ca2f0fb]{background:#fff;padding:20px}.preview-empty[data-v-4ca2f0fb]{text-align:center;padding:50px 20px;color:#95a5a6}.preview-empty i[data-v-4ca2f0fb]{font-size:48px;margin-bottom:15px;display:block}.preview-empty p[data-v-4ca2f0fb]{margin:0;font-size:16px}@media(max-width:768px){.editor-page[data-v-4ca2f0fb]{padding:10px}.page-header[data-v-4ca2f0fb]{flex-direction:column;gap:20px;padding:20px}.header-actions[data-v-4ca2f0fb]{width:100%;justify-content:center}.config-row[data-v-4ca2f0fb]{grid-template-columns:1fr;gap:16px}.page-title[data-v-4ca2f0fb]{font-size:24px}.save-status[data-v-4ca2f0fb]{bottom:10px;right:10px;left:10px;text-align:center;justify-content:center}}.el-input[data-v-4ca2f0fb],.el-select[data-v-4ca2f0fb]{border-radius:8px}.el-input__inner[data-v-4ca2f0fb],.el-select .el-input__inner[data-v-4ca2f0fb]{border-radius:8px;border:1px solid #dcdfe6;transition:all .3s ease}.el-input__inner[data-v-4ca2f0fb]:focus,.el-select .el-input__inner[data-v-4ca2f0fb]:focus{border-color:#667eea;box-shadow:0 0 0 2px rgba(102,126,234,.2)}.el-tag[data-v-4ca2f0fb]{border-radius:6px;font-weight:500}.dynamic-content[data-v-4ca2f0fb]{width:100%;margin:0 auto}.dynamic-content[data-v-4ca2f0fb] table{border-collapse:collapse;width:100%;margin:16px 0}.dynamic-content[data-v-4ca2f0fb] td,.dynamic-content[data-v-4ca2f0fb] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.dynamic-content[data-v-4ca2f0fb] th{background:#f3f4f6;font-weight:700}.dynamic-content[data-v-4ca2f0fb] b,.dynamic-content[data-v-4ca2f0fb] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-4ca2f0fb] em,.dynamic-content[data-v-4ca2f0fb] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-4ca2f0fb] a{color:#007bff!important;text-decoration:none!important}.dynamic-content[data-v-4ca2f0fb] a:hover{text-decoration:underline!important}.no-scroll[data-v-4ca2f0fb]{overflow:hidden!important}@media screen and (min-width:220px)and (max-width:1279px){.rate[data-v-40d264bd]{min-height:360px!important;background:transparent!important;padding-top:20PX!important}.rateMobile[data-v-40d264bd]{padding:10px}h4[data-v-40d264bd]{color:rgba(0,0,0,.8);padding-left:5%}.tableBox[data-v-40d264bd]{margin:0 auto;width:98%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-40d264bd]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-40d264bd]{text-align:center}.tableBox .table-title span[data-v-40d264bd]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-40d264bd]:nth-of-type(2){width:70%!important}.tableBox .collapseTitle[data-v-40d264bd]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;font-size:.95rem!important}.tableBox .collapseTitle span[data-v-40d264bd]{text-align:center}.tableBox .collapseTitle span[data-v-40d264bd]:first-of-type{width:40%!important;display:flex;align-items:center;justify-content:left;padding-left:4%}.tableBox .collapseTitle span:first-of-type img[data-v-40d264bd]{width:20px;margin-right:5px}.tableBox .collapseTitle span[data-v-40d264bd]:nth-of-type(2){width:60%!important}.tableBox[data-v-40d264bd] .el-collapse-item__wrap{background:#f0e9f5}.tableBox .belowTable[data-v-40d264bd]{margin-top:8px}.tableBox .belowTable div[data-v-40d264bd]{width:50%;height:auto;text-align:left;padding-left:8%;font-size:.85rem!important}.tableBox .belowTable div p[data-v-40d264bd]:first-of-type{font-weight:600}.tableBox .paginationBox[data-v-40d264bd]{text-align:center}}.rate[data-v-40d264bd]{width:100%;min-height:600PX;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;font-size:.9rem}.rateBox[data-v-40d264bd]{width:80%;margin:0 auto;min-height:700PX;display:flex;justify-content:center;border-radius:8PX;overflow:hidden;padding:20PX;transition:.3S linear}.rateBox .leftMenu[data-v-40d264bd]{width:18%;text-align:center;margin-right:2%;padding-top:50PX;box-sizing:border-box;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px}.rateBox .leftMenu ul[data-v-40d264bd]{padding:0;margin:0}.rateBox .leftMenu ul li[data-v-40d264bd]{width:100%;list-style:none;min-height:40PX;display:flex;align-items:center;justify-content:center;margin-top:10PX;border-radius:5PX;background:rgba(210,195,234,.3);width:90%;padding:8px 8px;font-size:.9rem;text-align:left;cursor:pointer}.rateBox .leftMenu ul li[data-v-40d264bd]:hover{background:#d2c3ea}.rateBox .rightText[data-v-40d264bd]{box-sizing:border-box;width:80%;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px;text-align:center;padding-top:30px;background:#fff;padding:20px}.rateBox .rightText h2[data-v-40d264bd]{text-align:left;padding-left:50px;margin-bottom:20px}.rateBox .rightText .table[data-v-40d264bd]{width:100%;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.rateBox .rightText .tableTitle[data-v-40d264bd]{width:90%;display:flex;align-items:center;height:60PX;background:#d2c3ea;border-radius:5px 5px 0 0}.rateBox .rightText .tableTitle span[data-v-40d264bd]{display:inline-block;width:20%;text-align:center}.rateBox .rightText ul[data-v-40d264bd]{width:90%;padding:0;margin:0;display:flex;justify-content:center;flex-direction:column}.rateBox .rightText ul li[data-v-40d264bd]{width:100%;list-style:none;display:flex;align-items:center;height:50PX;background:#f8f8fa;margin-top:8PX;font-size:.95rem}.rateBox .rightText ul li span[data-v-40d264bd]{display:inline-block;width:20%;text-align:center}.rateBox .rightText ul li .coin[data-v-40d264bd]{display:flex;justify-content:left;align-items:center;padding-left:4%;text-transform:uppercase}.rateBox .rightText ul li .coin img[data-v-40d264bd]{width:22px;margin-right:5px}.dynamic-content[data-v-40d264bd]{width:100%;margin:0 auto;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:16px;line-height:1.7;color:#222}.dynamic-content[data-v-40d264bd] table{border-collapse:collapse;width:100%;margin:16px 0}.dynamic-content[data-v-40d264bd] td,.dynamic-content[data-v-40d264bd] th{border:1px solid #d1d5db;padding:8px 8px;text-align:left}.dynamic-content[data-v-40d264bd] th{background:#d2c3ea;font-weight:700}.dynamic-content[data-v-40d264bd] b,.dynamic-content[data-v-40d264bd] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-40d264bd] em,.dynamic-content[data-v-40d264bd] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-40d264bd] a{color:#661ffb!important;text-decoration:none!important}.dynamic-content[data-v-40d264bd] a:hover{text-decoration:underline!important}.navActive[data-v-40d264bd]{background:#ac85e0!important}@media screen and (min-width:220px)and (max-width:1279px){.rate[data-v-7b2f7ae5]{min-height:360px!important;background:transparent!important;padding-top:20PX!important}.rateMobile[data-v-7b2f7ae5]{padding:10px}h4[data-v-7b2f7ae5]{color:rgba(0,0,0,.8);padding-left:5%;font-size:18px}.tableBox[data-v-7b2f7ae5]{margin:0 auto;width:98%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-7b2f7ae5]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-7b2f7ae5]{text-align:center}.tableBox .table-title span[data-v-7b2f7ae5]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-7b2f7ae5]:nth-of-type(2){width:70%!important}.tableBox .collapseTitle[data-v-7b2f7ae5]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;font-size:.95rem!important}.tableBox .collapseTitle span[data-v-7b2f7ae5]{text-align:center}.tableBox .collapseTitle span[data-v-7b2f7ae5]:first-of-type{width:40%!important;display:flex;align-items:center;justify-content:left;padding-left:4%}.tableBox .collapseTitle span:first-of-type img[data-v-7b2f7ae5]{width:20px;margin-right:5px}.tableBox .collapseTitle span[data-v-7b2f7ae5]:nth-of-type(2){width:60%!important}.tableBox[data-v-7b2f7ae5] .el-collapse-item__wrap{background:#f0e9f5}.tableBox .belowTable[data-v-7b2f7ae5]{margin-top:8px}.tableBox .belowTable div[data-v-7b2f7ae5]{min-width:50%;height:auto;text-align:left;padding-left:8%;font-size:.85rem!important}.tableBox .belowTable div p[data-v-7b2f7ae5]:first-of-type{font-weight:600}.tableBox .paginationBox[data-v-7b2f7ae5]{text-align:center}}.rate[data-v-7b2f7ae5]{width:100%;min-height:600PX;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;font-size:.9rem}.rateBox[data-v-7b2f7ae5]{width:80%;margin:0 auto;min-height:700PX;display:flex;justify-content:center;border-radius:8PX;overflow:hidden;padding:20PX;transition:.3S linear}.rateBox .leftMenu[data-v-7b2f7ae5]{width:18%;text-align:center;margin-right:2%;padding-top:50PX;box-sizing:border-box;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px}.rateBox .leftMenu ul[data-v-7b2f7ae5]{display:flex;justify-content:center;padding:0;margin:0}.rateBox .leftMenu ul li[data-v-7b2f7ae5]{list-style:none;min-height:40PX;display:flex;align-items:center;justify-content:center;margin-top:10PX;border-radius:5PX;background:rgba(210,195,234,.3);width:90%;padding:8px 8px;font-size:.9rem;text-align:left}.rateBox .rightText[data-v-7b2f7ae5]{box-sizing:border-box;width:90%;box-shadow:0 0 5px 2px #ccc;border-radius:8px;overflow:hidden;padding:10px;text-align:center;padding-top:30px}.rateBox .rightText h2[data-v-7b2f7ae5]{text-align:left;padding-left:50px;margin-bottom:20px}.rateBox .rightText .table[data-v-7b2f7ae5]{width:100%;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column}.rateBox .rightText .tableTitle[data-v-7b2f7ae5]{width:90%;display:flex;align-items:center;height:60PX;background:#d2c3ea;border-radius:5px 5px 0 0}.rateBox .rightText .tableTitle span[data-v-7b2f7ae5]{display:inline-block;width:20%;text-align:left;padding-left:2%}.rateBox .rightText .tableTitle .coin[data-v-7b2f7ae5]{width:18%;padding-left:2%}.rateBox .rightText .tableTitle .describe[data-v-7b2f7ae5]{width:35%}.rateBox .rightText ul[data-v-7b2f7ae5]{width:90%;padding:0;margin:0;display:flex;justify-content:center;flex-direction:column}.rateBox .rightText ul li[data-v-7b2f7ae5]{width:100%;list-style:none;display:flex;align-items:center;min-height:50PX;background:#f8f8fa;margin-top:8PX;font-size:.85rem;max-height:200px;overflow:hidden}.rateBox .rightText ul li span[data-v-7b2f7ae5]{display:inline-block;width:20%;text-align:left;padding-left:2%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rateBox .rightText ul li .coin[data-v-7b2f7ae5]{width:18%;display:flex;justify-content:left;align-items:center;padding-left:2%;text-transform:uppercase}.rateBox .rightText ul li .coin img[data-v-7b2f7ae5]{width:22px;margin-right:5px}.rateBox .rightText ul li .describe[data-v-7b2f7ae5]{width:35%;text-align:left;padding-right:8px;font-size:.8rem;word-wrap:break-word;word-break:break-word;white-space:pre-wrap;overflow-wrap:break-word}@media screen and (min-width:220px)and (max-width:1279px){.rate[data-v-cf94a3bc]{background:transparent!important;min-height:360px}.rateMobile[data-v-cf94a3bc]{padding:10px}.ExampleTable[data-v-cf94a3bc],.MiningPool[data-v-cf94a3bc],.content[data-v-cf94a3bc],.text-container[data-v-cf94a3bc]{margin-top:18px;font-size:.9rem}.ExampleTable p[data-v-cf94a3bc],.MiningPool p[data-v-cf94a3bc],.content p[data-v-cf94a3bc],.text-container p[data-v-cf94a3bc]{font-size:.9rem;margin-top:5px}.ExampleTable div[data-v-cf94a3bc],.ExampleTable li[data-v-cf94a3bc],.ExampleTable span[data-v-cf94a3bc],.MiningPool div[data-v-cf94a3bc],.MiningPool li[data-v-cf94a3bc],.MiningPool span[data-v-cf94a3bc],.content div[data-v-cf94a3bc],.content li[data-v-cf94a3bc],.content span[data-v-cf94a3bc],.text-container div[data-v-cf94a3bc],.text-container li[data-v-cf94a3bc],.text-container span[data-v-cf94a3bc]{font-size:.9rem}.ExampleTable table[data-v-cf94a3bc],.MiningPool table[data-v-cf94a3bc],.content table[data-v-cf94a3bc],.text-container table[data-v-cf94a3bc]{border-collapse:collapse;margin-top:8px}.ExampleTable table[data-v-cf94a3bc],.ExampleTable td[data-v-cf94a3bc],.ExampleTable th[data-v-cf94a3bc],.MiningPool table[data-v-cf94a3bc],.MiningPool td[data-v-cf94a3bc],.MiningPool th[data-v-cf94a3bc],.content table[data-v-cf94a3bc],.content td[data-v-cf94a3bc],.content th[data-v-cf94a3bc],.text-container table[data-v-cf94a3bc],.text-container td[data-v-cf94a3bc],.text-container th[data-v-cf94a3bc]{border:1px solid gray;font-size:.9rem;padding:5px}.active[data-v-cf94a3bc]{font-weight:600;background:#f2ecf6;cursor:pointer;text-decoration:underline}.navContent[data-v-cf94a3bc]{width:100%;padding:15px;background:#fff;border-radius:8px;margin-bottom:15px;box-shadow:0 2px 4px rgba(0,0,0,.1);overflow:hidden}.navContent .error-container[data-v-cf94a3bc],.navContent .loading-container[data-v-cf94a3bc]{text-align:center;padding:30px 15px;color:#666;font-size:.9rem}.navContent .error-container[data-v-cf94a3bc]{color:#f56c6c}.navContent .document-content[data-v-cf94a3bc]{font-size:.9rem;line-height:1.5;color:#333;word-wrap:break-word}.navContent .document-content h1[data-v-cf94a3bc],.navContent .document-content h2[data-v-cf94a3bc],.navContent .document-content h3[data-v-cf94a3bc]{margin:15px 0 10px 0;color:#2c3e50;font-weight:600}.navContent .document-content h1[data-v-cf94a3bc]{font-size:1.4rem}.navContent .document-content h2[data-v-cf94a3bc]{font-size:1.2rem}.navContent .document-content h3[data-v-cf94a3bc]{font-size:1.1rem}.navContent .document-content p[data-v-cf94a3bc]{margin:8px 0;line-height:1.5}.navContent .document-content code[data-v-cf94a3bc]{background:#f4f4f4;padding:2px 4px;border-radius:2px;font-size:.85rem}.navContent .document-content pre[data-v-cf94a3bc]{background:#f4f4f4;padding:10px;border-radius:4px;overflow-x:auto;margin:10px 0;font-size:.8rem}.navContent .document-content table[data-v-cf94a3bc]{width:100%;border-collapse:collapse;margin:10px 0;font-size:.8rem}.navContent .document-content table td[data-v-cf94a3bc],.navContent .document-content table th[data-v-cf94a3bc]{border:1px solid #ddd;padding:6px 8px;text-align:left}.navContent .document-content table th[data-v-cf94a3bc]{background:#f8f9fa;font-weight:600}.navContent .document-content a[data-v-cf94a3bc]{color:#5721e4;text-decoration:none}.navContent .document-content [data-v-cf94a3bc]{max-width:100%;box-sizing:border-box}}.rate[data-v-cf94a3bc]{width:100%;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:20px}a[data-v-cf94a3bc]{transition:all .3s}.rateBox[data-v-cf94a3bc]{width:90%;height:830px;margin:0 auto;display:flex;justify-content:center;border-radius:8px;overflow:hidden;padding:20px;transition:.3s linear}.rateBox .leftMenu[data-v-cf94a3bc]{min-width:240px;text-align:center;margin-right:2%;padding-top:50px;border-radius:10px;background:#fff;box-shadow:0 0 8px 2px #ccc}.rateBox .leftMenu ul[data-v-cf94a3bc]{display:flex;flex-direction:column;align-items:center;padding:0;margin:0}.rateBox .leftMenu ul li[data-v-cf94a3bc]{width:100%;list-style:none;min-height:40px;display:flex;align-items:center;justify-content:center;width:90%;margin-top:10px;border-radius:5px;background:rgba(210,195,234,.3);color:#000;cursor:pointer}.rateBox .leftMenu ul li .file[data-v-cf94a3bc]{margin-right:5px}.rateBox .rightText[data-v-cf94a3bc]{flex:1;background:#fff;padding:50px;box-shadow:0 0 8px 2px #ccc;height:100%;overflow-y:auto}.rateBox .rightText .Interface[data-v-cf94a3bc]{height:50px;line-height:50px;background:#f7f7f7;padding-left:10px}.rateBox .rightText .tableTitle[data-v-cf94a3bc]{width:90%;display:flex;align-items:center;height:60px;background:#d2c3ea}.rateBox .rightText .tableTitle span[data-v-cf94a3bc]{display:inline-block;width:20%;text-align:center}.rateBox .rightText .content[data-v-cf94a3bc]{margin-top:30px}.rateBox .rightText .content h3[data-v-cf94a3bc]{margin-bottom:20px}.rateBox .rightText .content p[data-v-cf94a3bc]{line-height:30px;font-size:.95rem}.rateBox .rightText .content ul[data-v-cf94a3bc]{padding:20px;padding-left:20px;background:#f7f7f7;font-size:.9rem}.rateBox .rightText .content ul li[data-v-cf94a3bc]{margin-top:8px}.rateBox .rightText .ExampleTable[data-v-cf94a3bc]{background:#f7f7f7;width:100%;padding-left:10px;padding-bottom:20px}.rateBox .rightText .ExampleTable .title[data-v-cf94a3bc]{height:35px;line-height:35px;font-weight:700;overflow:hidden}.rateBox .rightText .ExampleTable div[data-v-cf94a3bc]{box-sizing:border-box;width:95%;display:flex;height:120px;font-size:.9rem;align-items:center;overflow-y:auto}.rateBox .rightText .ExampleTable div span[data-v-cf94a3bc]{width:100%;border:1px solid rgba(0,0,0,.3);height:100%;padding-left:10px}.rateBox .rightText .text-container[data-v-cf94a3bc]{margin-top:15px}.rateBox .rightText .text-container p[data-v-cf94a3bc]{margin-top:10px;font-size:.95rem}.rateBox .rightText .text-container .container[data-v-cf94a3bc]{background:#f7f7f7;padding-left:10px}.rateBox .rightText .MiningPool[data-v-cf94a3bc]{margin-top:50px;font-size:.95rem}.rateBox .rightText .MiningPool .Pool[data-v-cf94a3bc]{margin-top:20px}.rateBox .rightText .MiningPool .Pool p[data-v-cf94a3bc]{margin-top:8px}.rateBox .rightText .MiningPool .Pool .hash[data-v-cf94a3bc]{font-weight:600}.rateBox .active[data-v-cf94a3bc]{font-weight:600;background:#f2ecf6;cursor:pointer;text-decoration:underline}.rateBox table[data-v-cf94a3bc]{border-collapse:collapse;margin-top:8px}.rateBox table[data-v-cf94a3bc],.rateBox td[data-v-cf94a3bc],.rateBox th[data-v-cf94a3bc]{border:1px solid gray;font-size:.95rem}.rateBox td[data-v-cf94a3bc]{padding:5px;min-width:160px;height:40px;text-align:center;font-size:.9rem}.rateBox th[data-v-cf94a3bc]{font-weight:700;padding:8px}.rateBox tr[data-v-cf94a3bc]:nth-child(odd){background-color:#f7f7f7}.rateBox tr[data-v-cf94a3bc]:first-child,.rateBox tr[data-v-cf94a3bc]:nth-child(2n){background-color:#fff}.rateBox .navContent[data-v-cf94a3bc]{width:100%;max-width:100%;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);margin-bottom:20px;overflow:hidden}.rateBox .navContent .error-container[data-v-cf94a3bc],.rateBox .navContent .loading-container[data-v-cf94a3bc]{text-align:center;padding:40px 20px;color:#666;font-size:14px}.rateBox .navContent .error-container[data-v-cf94a3bc]{color:#f56c6c}.rateBox .navContent .document-content[data-v-cf94a3bc]{font-size:14px;line-height:1.6;color:#333;word-wrap:break-word;overflow-wrap:break-word}.rateBox .navContent .document-content h1[data-v-cf94a3bc],.rateBox .navContent .document-content h2[data-v-cf94a3bc],.rateBox .navContent .document-content h3[data-v-cf94a3bc],.rateBox .navContent .document-content h4[data-v-cf94a3bc],.rateBox .navContent .document-content h5[data-v-cf94a3bc],.rateBox .navContent .document-content h6[data-v-cf94a3bc]{margin:20px 0 15px 0;color:#2c3e50;font-weight:600}.rateBox .navContent .document-content h1[data-v-cf94a3bc]{font-size:28px}.rateBox .navContent .document-content h2[data-v-cf94a3bc]{font-size:24px}.rateBox .navContent .document-content h3[data-v-cf94a3bc]{font-size:20px}.rateBox .navContent .document-content p[data-v-cf94a3bc]{margin:10px 0;line-height:1.6}.rateBox .navContent .document-content code[data-v-cf94a3bc]{background:#f4f4f4;padding:2px 6px;border-radius:3px;font-family:Courier New,monospace;font-size:13px}.rateBox .navContent .document-content pre[data-v-cf94a3bc]{background:#f4f4f4;padding:15px;border-radius:5px;overflow-x:auto;margin:15px 0}.rateBox .navContent .document-content pre code[data-v-cf94a3bc]{background:none;padding:0}.rateBox .navContent .document-content table[data-v-cf94a3bc]{width:100%;border-collapse:collapse;margin:15px 0;font-size:13px}.rateBox .navContent .document-content table td[data-v-cf94a3bc],.rateBox .navContent .document-content table th[data-v-cf94a3bc]{border:1px solid #ddd;padding:8px 12px;text-align:left}.rateBox .navContent .document-content table th[data-v-cf94a3bc]{background:#f8f9fa;font-weight:600}.rateBox .navContent .document-content table tr[data-v-cf94a3bc]:nth-child(2n){background:#f9f9f9}.rateBox .navContent .document-content a[data-v-cf94a3bc]{color:#5721e4;text-decoration:none}.rateBox .navContent .document-content a[data-v-cf94a3bc]:hover{text-decoration:underline}.rateBox .navContent .document-content strong[data-v-cf94a3bc]{font-weight:600;color:#2c3e50}.rateBox .navContent .document-content em[data-v-cf94a3bc]{font-style:italic;color:#666}.rateBox .navContent .document-content [data-v-cf94a3bc]{max-width:100%;box-sizing:border-box}.rateBox .navContent .document-content img[data-v-cf94a3bc]{max-width:100%;height:auto;border-radius:4px}.navContent[data-v-cf94a3bc]{background:#fff;padding:24px;border-radius:12px;box-shadow:0 2px 12px rgba(0,0,0,.05);margin-bottom:20px}.loading-container[data-v-cf94a3bc]{background:#f8f9fa;padding:40px 20px;text-align:center;border-radius:8px;border:1px solid #e9ecef}.loading-container p[data-v-cf94a3bc]{color:#6c757d;font-size:14px;margin:0;animation:pulse-cf94a3bc 1.5s ease-in-out infinite}.document-content[data-v-cf94a3bc]{background:#fff;padding:20px;border-radius:8px;line-height:1.6;color:#2c3e50;max-height:70vh;overflow-y:auto}.error-container[data-v-cf94a3bc]{background:#fef5f5;padding:30px 20px;text-align:center;border-radius:8px;border:1px solid #fecaca}.error-container p[data-v-cf94a3bc]{color:#dc2626;font-size:14px;margin:0}.dynamic-content[data-v-cf94a3bc]{width:100%;margin:0 auto;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:16px;line-height:1.7;color:#222}.dynamic-content[data-v-cf94a3bc] table{border-collapse:collapse;width:100%;margin:16px 0;font-size:14px}.dynamic-content[data-v-cf94a3bc] ul{background:#f4f4f4;padding:10px;padding-left:18px}.dynamic-content[data-v-cf94a3bc] li{margin-top:10px}.dynamic-content[data-v-cf94a3bc] code{line-height:1px!important}.dynamic-content[data-v-cf94a3bc] span{background-color:transparent!important}.dynamic-content[data-v-cf94a3bc] pre{background:#f4f4f4;line-height:1!important;padding:18px 8px}.dynamic-content[data-v-cf94a3bc] td,.dynamic-content[data-v-cf94a3bc] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.dynamic-content[data-v-cf94a3bc] th{background:#d2c3ea;font-weight:700}.dynamic-content[data-v-cf94a3bc] b,.dynamic-content[data-v-cf94a3bc] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.dynamic-content[data-v-cf94a3bc] em,.dynamic-content[data-v-cf94a3bc] i{font-style:italic!important;color:inherit!important}.dynamic-content[data-v-cf94a3bc] a{color:#661ffb!important;text-decoration:none!important}.dynamic-content[data-v-cf94a3bc] a:hover{text-decoration:underline!important}.dynamic-content[data-v-cf94a3bc] div,.dynamic-content[data-v-cf94a3bc] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}@keyframes pulse-cf94a3bc{0%,to{opacity:1}50%{opacity:.5}}@media(max-width:768px){.navContent[data-v-cf94a3bc]{padding:16px;margin:10px}.document-content[data-v-cf94a3bc]{padding:15px;max-height:60vh}.error-container[data-v-cf94a3bc],.loading-container[data-v-cf94a3bc]{padding:25px 15px}}.navActive[data-v-cf94a3bc]{background:#ac85e0!important}.cs-chat-container[data-v-fdce8168]{width:65%;height:600px;margin:0 auto;background-color:#f5f6f7;border-radius:10px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);overflow:hidden;margin-top:50px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;position:relative}.cs-chat-wrapper[data-v-fdce8168]{display:flex;height:100%}.cs-contact-list[data-v-fdce8168]{width:290px;min-width:260px;border-right:1px solid #e0e0e0;background-color:#fff;display:flex;flex-direction:column;height:100%;overflow:hidden}.cs-header[data-v-fdce8168]{padding:15px;font-weight:700;border-bottom:1px solid #e0e0e0;color:#333;font-size:16px;background-color:#f8f8f8}.cs-search[data-v-fdce8168]{padding:10px;border-bottom:1px solid #e0e0e0}.cs-contacts[data-v-fdce8168]{flex:1;overflow-y:auto}.cs-contact-item[data-v-fdce8168]:hover{background-color:#f5f5f5}.cs-contact-item.active[data-v-fdce8168]{background-color:#e6f7ff}.cs-avatar[data-v-fdce8168]{position:relative;margin-right:10px;flex-shrink:0}.unread-badge[data-v-fdce8168]{position:absolute;top:-5px;right:-5px;background-color:#f56c6c;color:#fff;font-size:12px;min-width:16px;height:16px;text-align:center;line-height:16px;border-radius:8px;padding:0 4px}.cs-contact-info[data-v-fdce8168]{flex:1;min-width:0;overflow:hidden}.cs-contact-name[data-v-fdce8168]{font-weight:500;font-size:14px;color:#333;display:flex;justify-content:space-between;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cs-contact-time[data-v-fdce8168]{font-size:12px;color:#999;font-weight:400}.cs-contact-msg[data-v-fdce8168]{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.important-tag[data-v-fdce8168]{color:#f56c6c}.cs-chat-area[data-v-fdce8168]{flex:1;display:flex;flex-direction:column;background-color:#f5f5f5}.cs-chat-header[data-v-fdce8168]{padding:15px;border-bottom:1px solid #e0e0e0;display:flex;justify-content:space-between;align-items:center;background-color:#fff}.cs-chat-title[data-v-fdce8168]{font-weight:700;font-size:16px;color:#333;display:flex;align-items:center;gap:10px}.cs-header-actions i[data-v-fdce8168]{font-size:18px;margin-left:15px;color:#666;cursor:pointer}.cs-header-actions i[data-v-fdce8168]:hover{color:#409eff}.cs-chat-messages[data-v-fdce8168]{flex:1;padding:15px;overflow-y:auto;background-color:#f5f5f5;height:calc(100% - 180px);position:relative}.cs-empty-chat[data-v-fdce8168],.cs-loading[data-v-fdce8168]{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;color:#909399}.cs-empty-chat i[data-v-fdce8168],.cs-loading i[data-v-fdce8168]{font-size:60px;margin-bottom:20px;color:#dcdfe6}.cs-message-list[data-v-fdce8168]{display:flex;flex-direction:column;padding-bottom:20px}.cs-message[data-v-fdce8168]{margin-bottom:15px}.cs-message-time[data-v-fdce8168]{text-align:center;margin:10px 0;font-size:12px;color:#909399}.cs-message-content[data-v-fdce8168]{display:flex;align-items:flex-start}.cs-message-self .cs-message-content[data-v-fdce8168]{flex-direction:row-reverse}.cs-message-self .cs-avatar[data-v-fdce8168]{margin-right:0;margin-left:10px}.cs-bubble[data-v-fdce8168]{max-width:70%;padding:8px 12px;border-radius:4px;background-color:#fff;box-shadow:0 1px 2px rgba(0,0,0,.05);position:relative;margin-bottom:4px}.cs-message-self .cs-bubble[data-v-fdce8168]{background-color:#d8f4fe}.cs-sender[data-v-fdce8168]{font-size:12px;color:#909399;margin-bottom:4px}.cs-text[data-v-fdce8168]{font-size:14px;line-height:1.5;word-break:break-word}.cs-image img[data-v-fdce8168]{max-width:200px;max-height:200px;border-radius:4px;cursor:pointer;display:block}.cs-chat-input[data-v-fdce8168]{padding:10px;background-color:#fff;border-top:1px solid #e0e0e0}.cs-toolbar[data-v-fdce8168]{padding:5px 0;margin-bottom:5px}.cs-toolbar i[data-v-fdce8168]{font-size:18px;margin-right:15px;color:#606266;cursor:pointer}.cs-toolbar i[data-v-fdce8168]:hover{color:#409eff}.cs-input-area[data-v-fdce8168]{margin-bottom:10px}.cs-send-area[data-v-fdce8168]{display:flex;justify-content:flex-end;align-items:center}.cs-counter[data-v-fdce8168]{margin-right:10px;font-size:12px;color:#909399}.shop-type[data-v-fdce8168]{font-size:12px;color:#909399;font-weight:400;margin-left:5px}.image-preview-dialog[data-v-fdce8168]{display:flex;justify-content:center;align-items:center}.preview-image[data-v-fdce8168]{max-width:100%;max-height:80vh}@media (max-width:768px){.cs-contact-list[data-v-fdce8168]{width:200px}.cs-image img[data-v-fdce8168]{max-width:150px;max-height:150px}}.important-star[data-v-fdce8168]{display:flex;align-items:center;justify-content:center;width:30px;height:30px;cursor:pointer;margin-left:5px;color:#c0c4cc;transition:color .3s;flex-shrink:0}.important-star.is-important[data-v-fdce8168],.important-star[data-v-fdce8168]:hover{color:#ac85e0}.important-star i[data-v-fdce8168]{font-size:16px}.cs-contact-item[data-v-fdce8168]{display:flex;padding:10px;cursor:pointer;border-bottom:1px solid #f0f0f0;transition:background-color .2s;align-items:center;width:100%;box-sizing:border-box}.important-tag[data-v-fdce8168]{color:#ac85e0;font-size:12px;margin-right:4px;font-weight:700}.guest-badge[data-v-fdce8168]{position:absolute;bottom:-5px;right:-5px;background-color:#67c23a;color:#fff;font-size:10px;width:16px;height:16px;text-align:center;line-height:16px;border-radius:8px}.cs-contact-item.is-guest[data-v-fdce8168]{background-color:#f9f9f9}.scroll-to-bottom[data-v-fdce8168]{position:absolute;right:4px;bottom:184px;background-color:#fff;border-radius:5px 0 0 5px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .3s;z-index:1000;padding:5px 1vw;font-size:.7vw;color:#7638ff}.scroll-to-bottom[data-v-fdce8168]:hover{background-color:#f0f0f0;transform:translateY(-2px)}.scroll-to-bottom i[data-v-fdce8168]{font-size:.8vw;color:#7638ff;margin-left:5px}.connection-status[data-v-fdce8168]{position:fixed;top:8%;right:41%;padding:8px 16px;border-radius:4px;display:flex;align-items:center;gap:8px;z-index:1000;color:#7638ff}.connection-status.error[data-v-fdce8168]{background-color:#fef0f0;color:#f56c6c}.connection-status.connecting[data-v-fdce8168]{background-color:#f0f9eb;color:#67c23a}.history-section[data-v-fdce8168]{margin-bottom:10px}.history-indicator[data-v-fdce8168]{padding:8px 12px}.history-indicator[data-v-fdce8168],.no-more-history[data-v-fdce8168]{transition:all .3s ease;border-radius:4px}.no-more-history i[data-v-fdce8168]{margin-right:6px;font-size:.8em}.network-status[data-v-fdce8168]{position:fixed;top:80px;right:20px;padding:8px 16px;border-radius:4px;display:flex;align-items:center;gap:8px;z-index:1000;box-shadow:0 2px 12px rgba(0,0,0,.1);background-color:#fef0f0;color:#f56c6c}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-28885394]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30px;display:flex;justify-content:center;overflow-y:auto;height:100%}.AccessMiningPoolMain .mail[data-v-28885394]{color:#5917c4}.notOpen[data-v-28885394]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-28885394]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-28885394]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-28885394]{width:80%}.currencySelect[data-v-28885394]{display:flex;align-items:center;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-28885394]{width:100%}.currencySelect .el-menu[data-v-28885394]{background:transparent}.currencySelect .coinSelect img[data-v-28885394]{width:25px}.currencySelect .coinSelect span[data-v-28885394]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-28885394]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-28885394]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-28885394]{width:25px}.moveCurrencyBox li p[data-v-28885394]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-28885394]{padding:0 20px}.mainTitle span[data-v-28885394]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-28885394]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-28885394]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-28885394]{text-align:center}.tableBox .table-title span[data-v-28885394]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-28885394]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-28885394]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-28885394]{text-align:center}.tableBox .collapseTitle span[data-v-28885394]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-28885394]{margin-right:5px}.tableBox .collapseTitle span[data-v-28885394]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-28885394]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-28885394]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-28885394]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-28885394]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-28885394]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-28885394]{text-align:center}#careful[data-v-28885394]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-28885394]{color:#5917c4}.step[data-v-28885394]{width:99%!important;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:15px!important}.step p[data-v-28885394]{line-height:25px!important}.step .stepTitle[data-v-28885394]{height:auto!important;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:30px!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-28885394]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-28885394] .el-collapse-item__content{padding:0!important}.nav[data-v-28885394]{z-index:1000;margin-right:8px}.nav-item[data-v-28885394]{position:relative;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 10px}.nav-item .itemImg[data-v-28885394]{width:20px;margin-right:5px}.nav-item .arrow[data-v-28885394]{margin-left:5px;border:solid rgba(0,0,0,.3);border-width:0 1px 1px 0;display:inline-block;padding:3px;transform:rotate(45deg);transition:transform .3s}.nav-item .arrow.up[data-v-28885394]{transform:rotate(-135deg)}.dropdown[data-v-28885394]{position:absolute;top:28px;left:0;width:362px;background:#fff;border:1px solid #eee;border-radius:4px;padding:3px;display:none;flex-wrap:wrap;gap:1px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);z-index:999999}.dropdown.show[data-v-28885394]{display:flex}.dropdown .option[data-v-28885394]{width:70px;height:70px;background:#f5f5f5;cursor:pointer;transition:all .3s;border-radius:4px;overflow:hidden;text-align:center;padding:5px;text-overflow:ellipsis}.dropdown .optionActive[data-v-28885394],.dropdown .option[data-v-28885394]:hover{background:#e8e8e8;color:#6e3edb;border:1px solid #9d8ac9}.dropdownCoin[data-v-28885394]{width:23px;margin:0}.dropdownText[data-v-28885394]{width:100%;font-size:.8rem;text-align:center;margin:0;word-break:break-word;margin-top:5px}}.AccessMiningPoolMain[data-v-28885394],.openAPI[data-v-28885394]{width:100%;height:100%}.AccessMiningPool[data-v-28885394]{width:100%;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 65%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60px;display:flex;justify-content:center}.AccessMiningPool a[data-v-28885394]{color:#8a2be2}.tutorialContent[data-v-28885394]{width:60%;box-shadow:0 0 10px 3px rgba(0,0,0,.1);border-radius:8px;overflow:hidden;background:#fff;padding-top:30px;height:100%;overflow-y:auto;padding:20px;padding-bottom:30px}.notOpen[data-v-28885394]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-28885394]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-28885394]{width:18%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1);min-height:300px}.menu ul[data-v-28885394]{margin:0;padding:0}.menu ul li[data-v-28885394]{list-style:none;min-height:40px;line-height:20px;text-align:left;margin-top:8px;cursor:pointer;align-items:start;padding:5px;transition:all .3s;display:flex;align-items:center;justify-content:left}.menu ul li img[data-v-28885394]{width:25px;margin-right:5px}.menu ul li span[data-v-28885394]{font-size:.9rem}.menu ul li[data-v-28885394]:hover{text-decoration:underline}.active[data-v-28885394]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-28885394]{width:70%;box-shadow:0 0 10px 3px rgba(0,0,0,.1);background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-28885394]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-28885394]{width:30px;margin-right:5px}.table .theServer[data-v-28885394]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-28885394]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-28885394]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-28885394]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-28885394]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-28885394]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-28885394]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-28885394]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-28885394]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-28885394]{width:10%}.table .theServer ul li .port[data-v-28885394]{width:35%}.table .theServer ul li .port i[data-v-28885394]{font-size:1em}.table .theServer ul li .port i[data-v-28885394]:hover{color:#6924ff}.table .theServer ul li i[data-v-28885394]{cursor:pointer}.table .theServer ul li[data-v-28885394]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-28885394]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-28885394]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-28885394]{width:25px}.table .theServer ul .liTitle .coin span[data-v-28885394]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-28885394]{width:35%}.table .careful[data-v-28885394]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-28885394]{color:#6924ff}.step[data-v-28885394]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-28885394]{line-height:30px}.step .stepTitle[data-v-28885394]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-28885394]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.rightContent[data-v-28885394]{flex:1;height:100%;margin-left:50px;overflow-y:auto;padding-right:20px;background:#fff}.rightContent .dynamic-content[data-v-28885394]{width:100%;margin:0 auto;font-family:PingFang SC,Microsoft YaHei,Arial,sans-serif;font-size:16px;line-height:1.7;color:#222}.rightContent .dynamic-content[data-v-28885394] table{border-collapse:collapse;width:100%;margin:16px 0;font-size:14px}.rightContent .dynamic-content[data-v-28885394] td,.rightContent .dynamic-content[data-v-28885394] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.rightContent .dynamic-content[data-v-28885394] th{background:#d2c3ea;font-weight:700}.rightContent .dynamic-content[data-v-28885394] b,.rightContent .dynamic-content[data-v-28885394] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.rightContent .dynamic-content[data-v-28885394] em,.rightContent .dynamic-content[data-v-28885394] i{font-style:italic!important;color:inherit!important}.rightContent .dynamic-content[data-v-28885394] a{color:#661ffb!important;text-decoration:none!important}.rightContent .dynamic-content[data-v-28885394] a:hover{text-decoration:underline!important}.rightContent .dynamic-content[data-v-28885394] p{text-indent:0!important}.rightContent .dynamic-content[data-v-28885394] div,.rightContent .dynamic-content[data-v-28885394] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}.rightContent .loading-container[data-v-28885394]{text-align:center;padding:40px 0}.rightContent .loading-container .loading-text[data-v-28885394]{font-size:16px;color:#666;vertical-align:middle}.rightContent .no-content[data-v-28885394]{text-align:center;padding:40px 0}.rightContent .no-content p[data-v-28885394]{font-size:16px;color:#999;margin:0}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-089a61bb]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-089a61bb]{color:#5917c4}.notOpen[data-v-089a61bb]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-089a61bb]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-089a61bb]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-089a61bb]{width:80%}.currencySelect[data-v-089a61bb]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-089a61bb]{width:100%}.currencySelect .el-menu[data-v-089a61bb]{background:transparent}.currencySelect .coinSelect img[data-v-089a61bb]{width:25px}.currencySelect .coinSelect span[data-v-089a61bb]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-089a61bb]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-089a61bb]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-089a61bb]{width:25px}.moveCurrencyBox li p[data-v-089a61bb]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-089a61bb]{padding:0 20px}.mainTitle span[data-v-089a61bb]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-089a61bb]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-089a61bb]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-089a61bb]{text-align:center}.tableBox .table-title span[data-v-089a61bb]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-089a61bb]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-089a61bb]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-089a61bb]{text-align:center}.tableBox .collapseTitle span[data-v-089a61bb]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-089a61bb]{margin-right:5px}.tableBox .collapseTitle span[data-v-089a61bb]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-089a61bb]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-089a61bb]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-089a61bb]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-089a61bb]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-089a61bb]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-089a61bb]{text-align:center}#careful[data-v-089a61bb]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-089a61bb]{color:#5917c4}.step[data-v-089a61bb]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-089a61bb]{line-height:25PX!important}.step .stepTitle[data-v-089a61bb]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-089a61bb]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-089a61bb] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-089a61bb]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-089a61bb]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-089a61bb]{color:#8a2be2}.notOpen[data-v-089a61bb]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-089a61bb]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-089a61bb]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-089a61bb]{margin:0;padding:0}.menu ul li[data-v-089a61bb]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-089a61bb]:hover{text-decoration:underline}.active[data-v-089a61bb]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-089a61bb]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-089a61bb]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-089a61bb]{width:30px;margin-right:5px}.table .theServer[data-v-089a61bb]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-089a61bb]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-089a61bb]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-089a61bb]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-089a61bb]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-089a61bb]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-089a61bb]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-089a61bb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-089a61bb]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-089a61bb]{width:10%}.table .theServer ul li .port[data-v-089a61bb]{width:35%}.table .theServer ul li .port i[data-v-089a61bb]{font-size:1em}.table .theServer ul li .port i[data-v-089a61bb]:hover{color:#6924ff}.table .theServer ul li i[data-v-089a61bb]{cursor:pointer}.table .theServer ul li[data-v-089a61bb]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-089a61bb]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-089a61bb]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-089a61bb]{width:25px}.table .theServer ul .liTitle .coin span[data-v-089a61bb]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-089a61bb]{width:35%}.table .careful[data-v-089a61bb]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-089a61bb]{color:#6924ff}.step[data-v-089a61bb]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-089a61bb]{line-height:30px}.step .stepTitle[data-v-089a61bb]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-089a61bb]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-91fdfe0e]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30px;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-91fdfe0e]{color:#5917c4}.notOpen[data-v-91fdfe0e]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-91fdfe0e]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-91fdfe0e]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-91fdfe0e]{width:80%}.currencySelect[data-v-91fdfe0e]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-91fdfe0e]{width:100%}.currencySelect .el-menu[data-v-91fdfe0e]{background:transparent}.currencySelect .coinSelect img[data-v-91fdfe0e]{width:25px}.currencySelect .coinSelect span[data-v-91fdfe0e]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-91fdfe0e]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-91fdfe0e]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-91fdfe0e]{width:25px}.moveCurrencyBox li p[data-v-91fdfe0e]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-91fdfe0e]{padding:0 20px}.mainTitle span[data-v-91fdfe0e]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-91fdfe0e]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-91fdfe0e]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-91fdfe0e]{text-align:center}.tableBox .table-title span[data-v-91fdfe0e]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-91fdfe0e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-91fdfe0e]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-91fdfe0e]{text-align:center}.tableBox .collapseTitle span[data-v-91fdfe0e]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-91fdfe0e]{margin-right:5px}.tableBox .collapseTitle span[data-v-91fdfe0e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-91fdfe0e]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-91fdfe0e]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-91fdfe0e]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-91fdfe0e]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-91fdfe0e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-91fdfe0e]{text-align:center}#careful[data-v-91fdfe0e]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-91fdfe0e]{color:#5917c4}.step[data-v-91fdfe0e]{width:99%!important;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:15px!important}.step p[data-v-91fdfe0e]{line-height:25px!important}.step .stepTitle[data-v-91fdfe0e]{height:auto!important;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:30px!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-91fdfe0e]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-91fdfe0e] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-91fdfe0e]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-91fdfe0e]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-91fdfe0e]{color:#8a2be2}.notOpen[data-v-91fdfe0e]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-91fdfe0e]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-91fdfe0e]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-91fdfe0e]{margin:0;padding:0}.menu ul li[data-v-91fdfe0e]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-91fdfe0e]:hover{text-decoration:underline}.active[data-v-91fdfe0e]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-91fdfe0e]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-91fdfe0e]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-91fdfe0e]{width:30px;margin-right:5px}.table .theServer[data-v-91fdfe0e]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-91fdfe0e]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-91fdfe0e]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-91fdfe0e]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-91fdfe0e]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-91fdfe0e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-91fdfe0e]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-91fdfe0e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-91fdfe0e]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-91fdfe0e]{width:10%}.table .theServer ul li .port[data-v-91fdfe0e]{width:35%}.table .theServer ul li .port i[data-v-91fdfe0e]{font-size:1em}.table .theServer ul li .port i[data-v-91fdfe0e]:hover{color:#6924ff}.table .theServer ul li i[data-v-91fdfe0e]{cursor:pointer}.table .theServer ul li[data-v-91fdfe0e]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-91fdfe0e]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-91fdfe0e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-91fdfe0e]{width:25px}.table .theServer ul .liTitle .coin span[data-v-91fdfe0e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-91fdfe0e]{width:35%}.table .careful[data-v-91fdfe0e]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-91fdfe0e]{color:#6924ff}.step[data-v-91fdfe0e]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-91fdfe0e]{line-height:30px}.step .stepTitle[data-v-91fdfe0e]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-91fdfe0e]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-ea469a34]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-ea469a34]{color:#5917c4}.notOpen[data-v-ea469a34]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-ea469a34]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-ea469a34]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-ea469a34]{width:80%}.currencySelect[data-v-ea469a34]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-ea469a34]{width:100%}.currencySelect .el-menu[data-v-ea469a34]{background:transparent}.currencySelect .coinSelect img[data-v-ea469a34]{width:25px}.currencySelect .coinSelect span[data-v-ea469a34]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-ea469a34]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-ea469a34]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-ea469a34]{width:25px}.moveCurrencyBox li p[data-v-ea469a34]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-ea469a34]{padding:0 20px}.mainTitle span[data-v-ea469a34]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-ea469a34]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-ea469a34]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-ea469a34]{text-align:center}.tableBox .table-title span[data-v-ea469a34]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-ea469a34]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-ea469a34]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-ea469a34]{text-align:center}.tableBox .collapseTitle span[data-v-ea469a34]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-ea469a34]{margin-right:5px}.tableBox .collapseTitle span[data-v-ea469a34]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-ea469a34]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-ea469a34]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-ea469a34]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-ea469a34]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-ea469a34]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-ea469a34]{text-align:center}#careful[data-v-ea469a34]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-ea469a34]{color:#5917c4}.step[data-v-ea469a34]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-ea469a34]{line-height:25PX!important}.step .stepTitle[data-v-ea469a34]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-ea469a34]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-ea469a34] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-ea469a34]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-ea469a34]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-ea469a34]{color:#8a2be2}.notOpen[data-v-ea469a34]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-ea469a34]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-ea469a34]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-ea469a34]{margin:0;padding:0}.menu ul li[data-v-ea469a34]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-ea469a34]:hover{text-decoration:underline}.active[data-v-ea469a34]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-ea469a34]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-ea469a34]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-ea469a34]{width:30px;margin-right:5px}.table .theServer[data-v-ea469a34]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-ea469a34]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-ea469a34]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-ea469a34]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-ea469a34]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-ea469a34]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-ea469a34]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-ea469a34]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-ea469a34]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-ea469a34]{width:10%}.table .theServer ul li .port[data-v-ea469a34]{width:35%}.table .theServer ul li .port i[data-v-ea469a34]{font-size:1em}.table .theServer ul li .port i[data-v-ea469a34]:hover{color:#6924ff}.table .theServer ul li i[data-v-ea469a34]{cursor:pointer}.table .theServer ul li[data-v-ea469a34]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-ea469a34]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-ea469a34]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-ea469a34]{width:25px}.table .theServer ul .liTitle .coin span[data-v-ea469a34]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-ea469a34]{width:35%}.table .careful[data-v-ea469a34]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-ea469a34]{color:#6924ff}.step[data-v-ea469a34]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-ea469a34]{line-height:30px;text-align:left}.step .stepTitle[data-v-ea469a34]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-ea469a34]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-ea469a34]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-708f8544]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-708f8544]{color:#5917c4}.notOpen[data-v-708f8544]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-708f8544]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-708f8544]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-708f8544]{width:80%}.currencySelect[data-v-708f8544]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-708f8544]{width:100%}.currencySelect .el-menu[data-v-708f8544]{background:transparent}.currencySelect .coinSelect img[data-v-708f8544]{width:25px}.currencySelect .coinSelect span[data-v-708f8544]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-708f8544]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-708f8544]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-708f8544]{width:25px}.moveCurrencyBox li p[data-v-708f8544]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-708f8544]{padding:0 20px}.mainTitle span[data-v-708f8544]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-708f8544]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-708f8544]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-708f8544]{text-align:center}.tableBox .table-title span[data-v-708f8544]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-708f8544]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-708f8544]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-708f8544]{text-align:center}.tableBox .collapseTitle span[data-v-708f8544]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-708f8544]{margin-right:5px}.tableBox .collapseTitle span[data-v-708f8544]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-708f8544]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-708f8544]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-708f8544]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-708f8544]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-708f8544]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-708f8544]{text-align:center}#careful[data-v-708f8544]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-708f8544]{color:#5917c4}.step[data-v-708f8544]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-708f8544]{line-height:25PX!important}.step .stepTitle[data-v-708f8544]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-708f8544]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-708f8544] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-708f8544]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-708f8544]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-708f8544]{color:#8a2be2}.notOpen[data-v-708f8544]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-708f8544]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-708f8544]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-708f8544]{margin:0;padding:0}.menu ul li[data-v-708f8544]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-708f8544]:hover{text-decoration:underline}.active[data-v-708f8544]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-708f8544]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-708f8544]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-708f8544]{width:30px;margin-right:5px}.table .theServer[data-v-708f8544]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-708f8544]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-708f8544]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-708f8544]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-708f8544]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-708f8544]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-708f8544]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-708f8544]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-708f8544]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-708f8544]{width:10%}.table .theServer ul li .port[data-v-708f8544]{width:35%}.table .theServer ul li .port i[data-v-708f8544]{font-size:1em}.table .theServer ul li .port i[data-v-708f8544]:hover{color:#6924ff}.table .theServer ul li i[data-v-708f8544]{cursor:pointer}.table .theServer ul li[data-v-708f8544]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-708f8544]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-708f8544]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-708f8544]{width:25px}.table .theServer ul .liTitle .coin span[data-v-708f8544]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-708f8544]{width:35%}.table .careful[data-v-708f8544]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-708f8544]{color:#6924ff}.step[data-v-708f8544]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-708f8544]{line-height:30px;text-align:left}.step .stepTitle[data-v-708f8544]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-708f8544]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-708f8544]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-76355f4e]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-76355f4e]{color:#5917c4}.notOpen[data-v-76355f4e]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-76355f4e]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-76355f4e]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-76355f4e]{width:80%}.currencySelect[data-v-76355f4e]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-76355f4e]{width:100%}.currencySelect .el-menu[data-v-76355f4e]{background:transparent}.currencySelect .coinSelect img[data-v-76355f4e]{width:25px}.currencySelect .coinSelect span[data-v-76355f4e]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-76355f4e]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-76355f4e]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-76355f4e]{width:25px}.moveCurrencyBox li p[data-v-76355f4e]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-76355f4e]{padding:0 20px}.mainTitle span[data-v-76355f4e]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-76355f4e]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-76355f4e]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-76355f4e]{text-align:center}.tableBox .table-title span[data-v-76355f4e]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-76355f4e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-76355f4e]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-76355f4e]{text-align:center}.tableBox .collapseTitle span[data-v-76355f4e]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-76355f4e]{margin-right:5px}.tableBox .collapseTitle span[data-v-76355f4e]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-76355f4e]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-76355f4e]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-76355f4e]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-76355f4e]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-76355f4e]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-76355f4e]{text-align:center}#careful[data-v-76355f4e]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-76355f4e]{color:#5917c4}.step[data-v-76355f4e]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-76355f4e]{line-height:25PX!important}.step .stepTitle[data-v-76355f4e]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-76355f4e]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-76355f4e] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-76355f4e]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-76355f4e]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-76355f4e]{color:#8a2be2}.notOpen[data-v-76355f4e]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-76355f4e]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-76355f4e]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-76355f4e]{margin:0;padding:0}.menu ul li[data-v-76355f4e]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-76355f4e]:hover{text-decoration:underline}.active[data-v-76355f4e]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-76355f4e]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-76355f4e]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-76355f4e]{width:30px;margin-right:5px}.table .theServer[data-v-76355f4e]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-76355f4e]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-76355f4e]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-76355f4e]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-76355f4e]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-76355f4e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-76355f4e]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-76355f4e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-76355f4e]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-76355f4e]{width:10%}.table .theServer ul li .port[data-v-76355f4e]{width:35%}.table .theServer ul li .port i[data-v-76355f4e]{font-size:1em}.table .theServer ul li .port i[data-v-76355f4e]:hover{color:#6924ff}.table .theServer ul li i[data-v-76355f4e]{cursor:pointer}.table .theServer ul li[data-v-76355f4e]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-76355f4e]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-76355f4e]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-76355f4e]{width:25px}.table .theServer ul .liTitle .coin span[data-v-76355f4e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-76355f4e]{width:35%}.table .careful[data-v-76355f4e]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-76355f4e]{color:#6924ff}.step[data-v-76355f4e]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-76355f4e]{line-height:30px;text-align:left}.step .stepTitle[data-v-76355f4e]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-76355f4e]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-76355f4e]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-340a7930]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-340a7930]{color:#5917c4}.notOpen[data-v-340a7930]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-340a7930]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-340a7930]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-340a7930]{width:80%}.currencySelect[data-v-340a7930]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-340a7930]{width:100%}.currencySelect .el-menu[data-v-340a7930]{background:transparent}.currencySelect .coinSelect img[data-v-340a7930]{width:25px}.currencySelect .coinSelect span[data-v-340a7930]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-340a7930]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-340a7930]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-340a7930]{width:25px}.moveCurrencyBox li p[data-v-340a7930]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-340a7930]{padding:0 20px}.mainTitle span[data-v-340a7930]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-340a7930]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-340a7930]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-340a7930]{text-align:center}.tableBox .table-title span[data-v-340a7930]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-340a7930]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-340a7930]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-340a7930]{text-align:center}.tableBox .collapseTitle span[data-v-340a7930]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-340a7930]{margin-right:5px}.tableBox .collapseTitle span[data-v-340a7930]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-340a7930]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-340a7930]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-340a7930]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-340a7930]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-340a7930]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-340a7930]{text-align:center}#careful[data-v-340a7930]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-340a7930]{color:#5917c4}.step[data-v-340a7930]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-340a7930]{line-height:25PX!important}.step .stepTitle[data-v-340a7930]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-340a7930]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-340a7930] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-340a7930]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-340a7930]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-340a7930]{color:#8a2be2}.notOpen[data-v-340a7930]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-340a7930]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-340a7930]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-340a7930]{margin:0;padding:0}.menu ul li[data-v-340a7930]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-340a7930]:hover{text-decoration:underline}.active[data-v-340a7930]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-340a7930]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-340a7930]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-340a7930]{width:30px;margin-right:5px}.table .theServer[data-v-340a7930]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-340a7930]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-340a7930]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-340a7930]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-340a7930]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-340a7930]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-340a7930]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-340a7930]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-340a7930]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-340a7930]{width:10%}.table .theServer ul li .port[data-v-340a7930]{width:35%}.table .theServer ul li .port i[data-v-340a7930]{font-size:1em}.table .theServer ul li .port i[data-v-340a7930]:hover{color:#6924ff}.table .theServer ul li i[data-v-340a7930]{cursor:pointer}.table .theServer ul li[data-v-340a7930]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-340a7930]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-340a7930]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-340a7930]{width:25px}.table .theServer ul .liTitle .coin span[data-v-340a7930]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-340a7930]{width:35%}.table .careful[data-v-340a7930]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-340a7930]{color:#6924ff}.step[data-v-340a7930]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-340a7930]{line-height:30px;text-align:left}.step .stepTitle[data-v-340a7930]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-340a7930]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-340a7930]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-5b6cc974]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-5b6cc974]{color:#5917c4}.notOpen[data-v-5b6cc974]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-5b6cc974]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-5b6cc974]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-5b6cc974]{width:80%}.currencySelect[data-v-5b6cc974]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-5b6cc974]{width:100%}.currencySelect .el-menu[data-v-5b6cc974]{background:transparent}.currencySelect .coinSelect img[data-v-5b6cc974]{width:25px}.currencySelect .coinSelect span[data-v-5b6cc974]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-5b6cc974]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-5b6cc974]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-5b6cc974]{width:25px}.moveCurrencyBox li p[data-v-5b6cc974]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-5b6cc974]{padding:0 20px}.mainTitle span[data-v-5b6cc974]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-5b6cc974]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-5b6cc974]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-5b6cc974]{text-align:center}.tableBox .table-title span[data-v-5b6cc974]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-5b6cc974]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-5b6cc974]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-5b6cc974]{text-align:center}.tableBox .collapseTitle span[data-v-5b6cc974]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-5b6cc974]{margin-right:5px}.tableBox .collapseTitle span[data-v-5b6cc974]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-5b6cc974]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-5b6cc974]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-5b6cc974]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-5b6cc974]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-5b6cc974]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-5b6cc974]{text-align:center}#careful[data-v-5b6cc974]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-5b6cc974]{color:#5917c4}.step[data-v-5b6cc974]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-5b6cc974]{line-height:25PX!important}.step .stepTitle[data-v-5b6cc974]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-5b6cc974]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-5b6cc974] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-5b6cc974]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-5b6cc974]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-5b6cc974]{color:#8a2be2}.notOpen[data-v-5b6cc974]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-5b6cc974]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-5b6cc974]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-5b6cc974]{margin:0;padding:0}.menu ul li[data-v-5b6cc974]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-5b6cc974]:hover{text-decoration:underline}.active[data-v-5b6cc974]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-5b6cc974]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-5b6cc974]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-5b6cc974]{width:30px;margin-right:5px}.table .theServer[data-v-5b6cc974]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-5b6cc974]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-5b6cc974]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-5b6cc974]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-5b6cc974]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-5b6cc974]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-5b6cc974]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-5b6cc974]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-5b6cc974]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-5b6cc974]{width:10%}.table .theServer ul li .port[data-v-5b6cc974]{width:35%}.table .theServer ul li .port i[data-v-5b6cc974]{font-size:1em}.table .theServer ul li .port i[data-v-5b6cc974]:hover{color:#6924ff}.table .theServer ul li i[data-v-5b6cc974]{cursor:pointer}.table .theServer ul li[data-v-5b6cc974]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-5b6cc974]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-5b6cc974]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-5b6cc974]{width:25px}.table .theServer ul .liTitle .coin span[data-v-5b6cc974]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-5b6cc974]{width:35%}.table .careful[data-v-5b6cc974]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-5b6cc974]{color:#6924ff}.step[data-v-5b6cc974]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-5b6cc974]{line-height:30px;text-align:left}.step .stepTitle[data-v-5b6cc974]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-5b6cc974]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-5b6cc974]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-415158a6]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-415158a6]{color:#5917c4}.notOpen[data-v-415158a6]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-415158a6]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-415158a6]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-415158a6]{width:80%}.currencySelect[data-v-415158a6]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-415158a6]{width:100%}.currencySelect .el-menu[data-v-415158a6]{background:transparent}.currencySelect .coinSelect img[data-v-415158a6]{width:25px}.currencySelect .coinSelect span[data-v-415158a6]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-415158a6]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-415158a6]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-415158a6]{width:25px}.moveCurrencyBox li p[data-v-415158a6]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-415158a6]{padding:0 20px}.mainTitle span[data-v-415158a6]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-415158a6]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-415158a6]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-415158a6]{text-align:center}.tableBox .table-title span[data-v-415158a6]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-415158a6]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-415158a6]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-415158a6]{text-align:center}.tableBox .collapseTitle span[data-v-415158a6]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-415158a6]{margin-right:5px}.tableBox .collapseTitle span[data-v-415158a6]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-415158a6]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-415158a6]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-415158a6]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-415158a6]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-415158a6]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-415158a6]{text-align:center}#careful[data-v-415158a6]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-415158a6]{color:#5917c4}.step[data-v-415158a6]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-415158a6]{line-height:25PX!important}.step .stepTitle[data-v-415158a6]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-415158a6]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-415158a6] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-415158a6]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-415158a6]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-415158a6]{color:#8a2be2}.notOpen[data-v-415158a6]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-415158a6]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-415158a6]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-415158a6]{margin:0;padding:0}.menu ul li[data-v-415158a6]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-415158a6]:hover{text-decoration:underline}.active[data-v-415158a6]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-415158a6]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-415158a6]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-415158a6]{width:30px;margin-right:5px}.table .theServer[data-v-415158a6]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-415158a6]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-415158a6]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-415158a6]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-415158a6]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-415158a6]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-415158a6]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-415158a6]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-415158a6]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-415158a6]{width:10%}.table .theServer ul li .port[data-v-415158a6]{width:35%}.table .theServer ul li .port i[data-v-415158a6]{font-size:1em}.table .theServer ul li .port i[data-v-415158a6]:hover{color:#6924ff}.table .theServer ul li i[data-v-415158a6]{cursor:pointer}.table .theServer ul li[data-v-415158a6]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-415158a6]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-415158a6]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-415158a6]{width:25px}.table .theServer ul .liTitle .coin span[data-v-415158a6]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-415158a6]{width:35%}.table .careful[data-v-415158a6]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-415158a6]{color:#6924ff}.step[data-v-415158a6]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-415158a6]{line-height:30px;text-align:left}.step .stepTitle[data-v-415158a6]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-415158a6]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-415158a6]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.AccessMiningPoolMain[data-v-0779e610]{width:100%;background:transparent!important;padding:0;margin:0;padding-top:30PX;display:flex;justify-content:center}.AccessMiningPoolMain .mail[data-v-0779e610]{color:#5917c4}.notOpen[data-v-0779e610]{width:100%;display:inline-block!important;margin:50px 0;justify-content:center;padding:0 30px}.notOpen p[data-v-0779e610]{font-size:20px!important;width:100%!important;line-height:50px;color:#6a24ff;text-align:center}.notOpen .imgBox[data-v-0779e610]{display:flex;justify-content:center;margin-top:30px}.notOpen img[data-v-0779e610]{width:80%}.currencySelect[data-v-0779e610]{display:flex;align-items:center;margin-bottom:10px;padding-left:8px;font-size:.85rem}.currencySelect .el-menu-demo[data-v-0779e610]{width:100%}.currencySelect .el-menu[data-v-0779e610]{background:transparent}.currencySelect .coinSelect img[data-v-0779e610]{width:25px}.currencySelect .coinSelect span[data-v-0779e610]{text-transform:capitalize;margin-left:5px}.moveCurrencyBox[data-v-0779e610]{margin:0;padding:0;width:100%;display:flex;min-height:200px;flex-wrap:wrap;padding:10px 20px;margin:0 auto;background:#fff}.moveCurrencyBox li[data-v-0779e610]{list-style:none;display:flex;flex-direction:column;align-items:center!important;margin-left:10px;padding:5px 5px;box-sizing:border-box}.moveCurrencyBox li img[data-v-0779e610]{width:25px}.moveCurrencyBox li p[data-v-0779e610]{min-width:50px;margin-top:8px;font-size:.85rem;word-wrap:break-word;word-break:break-all;text-align:center;text-transform:capitalize}.mainTitle[data-v-0779e610]{padding:0 20px}.mainTitle span[data-v-0779e610]{font-size:.95rem;color:rgba(0,0,0,.7);font-weight:600}.tableBox[data-v-0779e610]{margin:0 auto;width:96%;min-height:230px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-0779e610]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important}.tableBox .table-title span[data-v-0779e610]{text-align:center}.tableBox .table-title span[data-v-0779e610]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-0779e610]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700;padding-right:5px}.tableBox .collapseTitle[data-v-0779e610]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle span[data-v-0779e610]{text-align:center}.tableBox .collapseTitle span[data-v-0779e610]:first-of-type{width:50%!important;display:flex;align-items:center;justify-content:center}.tableBox .collapseTitle span:first-of-type img[data-v-0779e610]{margin-right:5px}.tableBox .collapseTitle span[data-v-0779e610]:nth-of-type(2){width:50%!important;color:#ca094a;font-weight:700}.tableBox .belowTable[data-v-0779e610]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-0779e610]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-0779e610]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-0779e610]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-0779e610]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-0779e610]{text-align:center}#careful[data-v-0779e610]{padding:0 8px;font-size:.85rem;color:rgba(0,0,0,.7);line-height:25px}#careful .mail[data-v-0779e610]{color:#5917c4}.step[data-v-0779e610]{width:99%!important;margin:0 auto;margin-top:3%;border:1PX solid rgba(0,0,0,.1);box-sizing:border-box;padding:15PX!important}.step p[data-v-0779e610]{line-height:25PX!important}.step .stepTitle[data-v-0779e610]{height:auto!important;width:100%;border-bottom:1PX solid rgba(0,0,0,.1);line-height:30PX!important;font-size:.95rem!important;color:rgba(0,0,0,.6);font-weight:600;word-wrap:break-word}.step .textBox[data-v-0779e610]{padding:10px!important;color:rgba(5,32,75,.6);font-weight:400!important;font-size:.85rem!important}[data-v-0779e610] .el-collapse-item__content{padding:0!important}}.nexaAccess[data-v-0779e610]{width:100%;font-size:.9rem}.AccessMiningPool2[data-v-0779e610]{width:100%;padding:0;margin:0;display:flex;justify-content:center}.AccessMiningPool2 a[data-v-0779e610]{color:#8a2be2}.notOpen[data-v-0779e610]{display:flex;margin-top:10%;justify-content:center}.notOpen p[data-v-0779e610]{font-size:25px;width:25%;line-height:50px;color:#6a24ff}.menu[data-v-0779e610]{width:15%;margin-right:30px;background:#fff;padding:20px!important;border-radius:8px;box-shadow:0 0 10px 3px rgba(0,0,0,.1)}.menu ul[data-v-0779e610]{margin:0;padding:0}.menu ul li[data-v-0779e610]{list-style:none;min-height:40px;line-height:40px;font-size:1.1rem;text-align:center;margin-top:8px;cursor:pointer}.menu ul li[data-v-0779e610]:hover{text-decoration:underline}.active[data-v-0779e610]{color:#6924ff;background:#d2c3ea;border-radius:5px}.table[data-v-0779e610]{width:100%;background:#fff;border-radius:8px;padding:50px}.table .mainTitle[data-v-0779e610]{font-size:1.5em;width:100%;margin:0 auto;font-weight:600;color:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:left}.table .mainTitle img[data-v-0779e610]{width:30px;margin-right:5px}.table .theServer[data-v-0779e610]{width:100%;margin:0 auto;box-shadow:0 0 3px 1px rgba(0,0,0,.1);padding:10px 10px;margin-top:20px}.table .theServer .title[data-v-0779e610]{width:100%;padding-left:3%;height:50px;line-height:50px;font-size:1.3em;color:rgba(0,0,0,.6);font-weight:600;border-bottom:1px solid rgba(0,0,0,.1)}.table .theServer ul[data-v-0779e610]{width:100%;height:90%;padding:0;margin:0;margin-top:1%}.table .theServer ul li[data-v-0779e610]{list-style:none;height:40px;line-height:40px;background:#efefef;display:flex;justify-content:space-between;font-size:.9rem}.table .theServer ul li span[data-v-0779e610]{display:inline-block;text-align:center;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(0,0,0,.7)}.table .theServer ul li .coin[data-v-0779e610]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul li .coin img[data-v-0779e610]{width:25px;margin-right:5px}.table .theServer ul li .coin span[data-v-0779e610]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul li .quota[data-v-0779e610]{color:#ca094a;font-weight:600}.table .theServer ul li .difficulty[data-v-0779e610]{width:10%}.table .theServer ul li .port[data-v-0779e610]{width:35%}.table .theServer ul li .port i[data-v-0779e610]{font-size:1em}.table .theServer ul li .port i[data-v-0779e610]:hover{color:#6924ff}.table .theServer ul li i[data-v-0779e610]{cursor:pointer}.table .theServer ul li[data-v-0779e610]:nth-child(2n){background-color:#fff}.table .theServer ul .liTitle[data-v-0779e610]{width:100%;height:50px;line-height:50px;background:#d2c3ea;color:#36246f;font-size:.95rem}.table .theServer ul .liTitle .coin[data-v-0779e610]{width:18%;display:flex;align-items:center;justify-content:center}.table .theServer ul .liTitle .coin img[data-v-0779e610]{width:25px}.table .theServer ul .liTitle .coin span[data-v-0779e610]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.table .theServer ul .liTitle .port[data-v-0779e610]{width:35%}.table .careful[data-v-0779e610]{margin-top:8px;font-size:.9rem;color:rgba(0,0,0,.7)}.table .careful a[data-v-0779e610]{color:#6924ff}.step[data-v-0779e610]{width:100%;margin:0 auto;margin-top:3%;border:1px solid rgba(0,0,0,.1);box-sizing:border-box;padding:20px}.step p[data-v-0779e610]{line-height:30px;text-align:left}.step .stepTitle[data-v-0779e610]{height:40px;width:100%;border-bottom:1px solid rgba(0,0,0,.1);line-height:40px;font-size:1rem;color:rgba(0,0,0,.6);font-weight:600}.step .textBox[data-v-0779e610]{padding:20px;color:rgba(5,32,75,.6);font-weight:600;font-size:.95rem}.step .wallet-text[data-v-0779e610]{text-align:left;padding-left:10px}@media screen and (min-width:220px)and (max-width:1279px){.ServiceTerms[data-v-daa10838]{background:transparent!important;min-height:360PX!important;padding:5%!important;padding-top:20px!important}.clauseBox[data-v-daa10838]{width:100%!important;min-height:100PX;margin:0 auto}.clauseBox .textBox[data-v-daa10838],.clauseBox h5[data-v-daa10838]{margin-top:10px}.clauseBox p[data-v-daa10838]{line-height:20PX!important;font-size:.9rem!important;margin-top:8px!important}.content[data-v-daa10838]{margin-bottom:20px!important}.content .loading-container[data-v-daa10838]{width:100%!important;margin:20px auto!important;padding:20px 0!important}.content .loading-container .el-icon[data-v-daa10838]{font-size:20px!important}.content .loading-container .loading-text[data-v-daa10838]{font-size:14px!important}.content .no-content[data-v-daa10838]{width:100%!important;margin:20px auto!important;padding:20px 0!important}.content .no-content p[data-v-daa10838]{font-size:14px!important}.content .dynamic-content[data-v-daa10838]{width:100%!important;padding:10px!important;--dc-line-height:1.8;--dc-p-margin:0.6em}.content .dynamic-content[data-v-daa10838] b,.content .dynamic-content[data-v-daa10838] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.content .dynamic-content[data-v-daa10838] em,.content .dynamic-content[data-v-daa10838] i{font-style:italic!important;color:inherit!important}.content .dynamic-content[data-v-daa10838] code{background-color:#f5f5f5!important;padding:2px 4px!important;border-radius:3px!important;font-family:Courier New,monospace!important;font-size:.9em!important}.content .dynamic-content[data-v-daa10838] del{text-decoration:line-through!important;color:#666!important}.content .dynamic-content[data-v-daa10838] a{color:#007bff!important;text-decoration:none!important}.content .dynamic-content[data-v-daa10838] a:hover{text-decoration:underline!important}.content .dynamic-content[data-v-daa10838] div,.content .dynamic-content[data-v-daa10838] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:var(--dc-line-height)!important;margin:var(--dc-p-margin) 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}}.ServiceTerms[data-v-daa10838]{width:100%;min-height:600PX;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX}.ServiceTerms h2[data-v-daa10838]{width:70%;margin:0 auto;margin-bottom:30PX}.clauseBox[data-v-daa10838]{width:70%;min-height:100PX;margin:0 auto}.clauseBox p[data-v-daa10838]{line-height:28PX}.content[data-v-daa10838]{width:100%;margin-bottom:40px}.content .loading-container[data-v-daa10838]{width:70%;margin:40px auto;text-align:center;padding:40px 0}.content .loading-container .el-icon[data-v-daa10838]{font-size:24px;color:#409eff;margin-right:8px}.content .loading-container .loading-text[data-v-daa10838]{font-size:16px;color:#666;vertical-align:middle}.content .no-content[data-v-daa10838]{width:70%;margin:40px auto;text-align:center;padding:40px 0}.content .no-content p[data-v-daa10838]{font-size:16px;color:#999;margin:0}.content .dynamic-content[data-v-daa10838]{width:70%;margin:0 auto;padding:20px 0;--dc-line-height:1.8;--dc-p-margin:0.6em}.content .dynamic-content[data-v-daa10838] b,.content .dynamic-content[data-v-daa10838] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.content .dynamic-content[data-v-daa10838] em,.content .dynamic-content[data-v-daa10838] i{font-style:italic!important;color:inherit!important}.content .dynamic-content[data-v-daa10838] code{background-color:#f5f5f5!important;padding:2px 4px!important;border-radius:3px!important;font-family:Courier New,monospace!important;font-size:.9em!important}.content .dynamic-content[data-v-daa10838] del{text-decoration:line-through!important;color:#666!important}.content .dynamic-content[data-v-daa10838] a{color:#007bff!important;text-decoration:none!important}.content .dynamic-content[data-v-daa10838] a:hover{text-decoration:underline!important}.content .dynamic-content[data-v-daa10838] div,.content .dynamic-content[data-v-daa10838] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:var(--dc-line-height)!important;margin:var(--dc-p-margin) 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}@media screen and (min-width:220px)and (max-width:1279px){.submitWorkOrder[data-v-2552dbca]{width:100%;min-height:300px;background:transparent!important;padding:0!important}.WorkOrder[data-v-2552dbca]{width:100%!important;margin:0 auto;padding:10px 18px!important;border-radius:8px;transition:all .2s linear}.prompt[data-v-2552dbca]{width:100%}[data-v-2552dbca] .el-upload-dragger{width:332px!important}}.submitWorkOrder[data-v-2552dbca]{width:100%;min-height:360px;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding-top:60px}.WorkOrder[data-v-2552dbca]{width:70%;margin:0 auto;padding:50px 88px;border-radius:8px;transition:all .2s linear}.elBtn[data-v-2552dbca]{background:#661ffb;color:#fff;border-radius:20px}h3[data-v-2552dbca]{margin-bottom:30px}@media screen and (min-width:220px)and (max-width:1279px){.workOrderRecords[data-v-10849caa]{width:100%;padding:0;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.workMain[data-v-10849caa]{width:100%!important;padding:10px 5px}.tableBox[data-v-10849caa]{margin:0 auto;width:95%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-10849caa]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important;padding-right:18PX}.tableBox .table-title span[data-v-10849caa]{text-align:center}.tableBox .table-title span[data-v-10849caa]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-10849caa]:nth-of-type(2){width:40%!important}.tableBox .table-title span[data-v-10849caa]:nth-of-type(3){width:30%!important}.tableBox .rollContentBox[data-v-10849caa]{background:#eee8aa;max-height:500px;overflow:hidden;overflow-y:auto}.tableBox .collapseTitle[data-v-10849caa]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important}.tableBox .collapseTitle span[data-v-10849caa]{text-align:center;overflow:hidden;text-overflow:ellipsis}.tableBox .collapseTitle span[data-v-10849caa]:first-of-type{width:30%!important}.tableBox .collapseTitle span[data-v-10849caa]:nth-of-type(2){width:40%!important}.tableBox .collapseTitle span[data-v-10849caa]:nth-of-type(3){width:30%!important;color:#6621ff}.tableBox .belowTable[data-v-10849caa]{display:flex;justify-content:space-between}.tableBox .belowTable div[data-v-10849caa]{width:50%;height:auto;text-align:left;padding-left:8%}.tableBox #hash[data-v-10849caa]{width:100%;padding-left:8%;margin-top:8px}.tableBox #hash .text[data-v-10849caa]{width:93%;height:auto;word-wrap:break-word;overflow-wrap:break-word;color:#8f61f5;text-decoration:underline}.tableBox .paginationBox[data-v-10849caa]{text-align:center}[data-v-10849caa] .el-collapse-item__content{background:#edf2fa!important;padding:8px}.el-tab-pane[data-v-10849caa]{padding:1px;border-radius:0!important;overflow:hidden!important;border:none!important}}.workOrderRecords[data-v-10849caa]{width:100%;min-height:100vh;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;display:flex;justify-content:center}.bth[data-v-10849caa]{padding-top:51px;padding-left:70px!important}.workBK[data-v-10849caa]{padding:30px 50px;width:75%;margin:0 auto;min-height:360px;border-radius:8px}.el-tabs[data-v-10849caa]{margin-top:30px}.elBtn[data-v-10849caa]{background:#697861;color:#f0f8ff}.elBtn[data-v-10849caa]:hover{background:#ecf5ff;color:#409eff}.el-tab-pane[data-v-10849caa]{padding:1px;border-radius:5px;overflow:hidden!important;border:1px solid rgba(0,0,0,.1)}[data-v-10849caa] .el-tabs__item.is-active{color:#6621ff!important}[data-v-10849caa] .el-tabs__active-bar{background-color:#6621ff!important}[data-v-10849caa] .el-button--text{color:#6621ff!important}@media screen and (min-width:220px)and (max-width:1279px){.main[data-v-3554fa88]{width:100%;padding:15px 18px!important;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.MobileMain[data-v-3554fa88]{width:100%}.contentMobile p[data-v-3554fa88]{height:40px;line-height:40px;padding:0 8px;margin-top:8px;border-radius:5px;border:1px solid rgba(0,0,0,.1);font-size:.9rem;margin-left:18px}.el-row[data-v-3554fa88]{margin:0!important}.submitTitle[data-v-3554fa88]{font-size:14px;width:600px}.submitTitle .userName[data-v-3554fa88]{color:#661ffb}.submitTitle .time[data-v-3554fa88]{margin-left:8px}#contentBox[data-v-3554fa88]{border:1px solid rgba(0,0,0,.1);margin-top:5px;padding:8px;border-radius:5px;font-size:.9rem;word-wrap:break-word}[data-v-3554fa88] .el-upload-dragger{width:332px!important}}.main[data-v-3554fa88]{width:100%;min-height:100vh;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;display:flex;justify-content:center}.content[data-v-3554fa88]{width:50%;margin:0 auto}.orderDetails p[data-v-3554fa88]{width:80%;outline:1px solid rgba(0,0,0,.1);border-radius:4px;font-weight:600;padding:10px 10px;font-size:14px;display:flex;align-items:center}.orderDetails .orderTitle[data-v-3554fa88]{display:inline-block;text-align:center}.orderDetails .orderContent[data-v-3554fa88]{flex:1;display:inline-block;color:#661ffb;font-weight:400;border-radius:4px;text-align:left;padding-left:5px}.submitContent[data-v-3554fa88]{max-height:300px;overflow:hidden;overflow-y:auto;display:flex;flex-direction:column;padding:20px;border:1px solid #ccc;background:rgba(255,0,0,.01);border-radius:5px;margin-top:18px}.submitContent .submitTitle[data-v-3554fa88]{font-size:14px;width:600px;display:flex;justify-content:left}.submitContent .submitTitle span[data-v-3554fa88]:nth-of-type(2){margin-left:50px}.submitContent .contentBox[data-v-3554fa88]{width:50vw;padding:0 10px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.submitContent .downloadBox[data-v-3554fa88]{font-size:15px;color:#661ffb;display:inline-block;cursor:pointer}.submitContent .replyBox[data-v-3554fa88]{margin-top:20px}.download[data-v-3554fa88]{display:inline-block;margin-top:10px;margin-left:20px;padding:8px 15px;border-radius:4px;font-size:14px;background:#f0f9eb;color:#67c23a;cursor:pointer}.download[data-v-3554fa88]:hover{color:#000;outline:1px solid rgba(0,0,0,.1)}.reply[data-v-3554fa88]{font-size:15px;margin-top:10px;padding:5px 0}.reply .replyTitle[data-v-3554fa88]{font-weight:600}.reply .replyContent[data-v-3554fa88]{color:#661ffb}[data-v-3554fa88].replyInput .el-input.is-disabled .el-input__inner{color:#000}.edit[data-v-3554fa88]{font-size:15px;color:#661ffb;cursor:pointer;margin-left:10px}.auditBox .submitTitle[data-v-3554fa88]{font-size:14px;width:600px;display:flex;justify-content:left}.auditBox .submitTitle span[data-v-3554fa88]:nth-of-type(2){margin-left:50px}.auditBox .contentBox[data-v-3554fa88]{width:54vw;border:1px solid rgba(0,0,0,.1);padding:5px 5px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.auditBox .downloadBox[data-v-3554fa88]{font-size:15px;color:#661ffb;cursor:pointer;display:inline-block}.registeredForm .mandatory[data-v-3554fa88]{color:red;margin-right:5px}.logistics[data-v-3554fa88]{display:flex;margin-bottom:30px;width:26%;justify-content:space-between}.closingOrder[data-v-3554fa88]{font-size:14px;margin:0}.closingOrder span[data-v-3554fa88]{cursor:pointer;color:#661ffb}.closingOrder span[data-v-3554fa88]:hover{color:#67c23a}.elBtn[data-v-3554fa88]{background:#661ffb;color:#f0f8ff}.elBtn[data-v-3554fa88]:hover{background:#ecf5ff;color:#409eff}.machineCoding[data-v-3554fa88]{outline:1px solid rgba(0,0,0,.1);display:flex;max-height:300px;padding:10px!important;margin-top:8px;overflow-y:auto}.orderNum[data-v-3554fa88]{width:800px!important;padding:0!important;outline:none!important;border:none!important}.el-row[data-v-3554fa88]{margin:18px 0}@media screen and (min-width:220px)and (max-width:1279px){.workBK[data-v-19141cf8]{width:100%;padding:0;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.workMain[data-v-19141cf8]{width:100%!important;padding:10px 5px}.tableBox[data-v-19141cf8]{margin:0 auto;width:95%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px}.tableBox .table-title[data-v-19141cf8]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important;padding-right:18PX}.tableBox .table-title span[data-v-19141cf8]{text-align:center}.tableBox .table-title span[data-v-19141cf8]:first-of-type{width:30%!important}.tableBox .table-title span[data-v-19141cf8]:nth-of-type(2){width:40%!important}.tableBox .table-title span[data-v-19141cf8]:nth-of-type(3){width:30%!important}.tableBox .rollContentBox[data-v-19141cf8]{background:#eee8aa;max-height:500px;overflow:hidden;overflow-y:auto}.tableBox .collapseTitle[data-v-19141cf8]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important}.tableBox .collapseTitle span[data-v-19141cf8]{text-align:center;overflow:hidden;text-overflow:ellipsis}.tableBox .collapseTitle span[data-v-19141cf8]:first-of-type{width:30%!important}.tableBox .collapseTitle span[data-v-19141cf8]:nth-of-type(2){width:40%!important}.tableBox .collapseTitle span[data-v-19141cf8]:nth-of-type(3){width:30%!important;color:#6621ff}.tableBox .belowTable[data-v-19141cf8]{display:flex;justify-content:space-between}.tableBox .belowTable div[data-v-19141cf8]{width:50%;height:auto;text-align:left;padding-left:8%}.tableBox #hash[data-v-19141cf8]{width:100%;padding-left:8%;margin-top:8px}.tableBox #hash .text[data-v-19141cf8]{width:93%;height:auto;word-wrap:break-word;overflow-wrap:break-word;color:#8f61f5;text-decoration:underline}.tableBox .paginationBox[data-v-19141cf8]{text-align:center;margin:18px 8px}[data-v-19141cf8] .el-collapse-item__content{background:#edf2fa!important;padding:8px}.el-tab-pane[data-v-19141cf8]{padding:1px;border-radius:0!important;overflow:hidden!important;border:none!important}.paginationBox[data-v-19141cf8]{text-align:center}[data-v-19141cf8] .el-pager li{min-width:19px}[data-v-19141cf8] .el-pagination .el-select .el-input{margin:0}}.workBK[data-v-19141cf8]{width:100%;min-height:100vh;background:#fff;padding:0;margin:0;display:flex;justify-content:center}.workBKContent[data-v-19141cf8]{width:100%;margin:0 auto}.elBtn[data-v-19141cf8]{background:#e60751;color:#fff;border:none;margin-left:18px}.el-table__header-wrapper tbody td.el-table__cell[data-v-19141cf8],[data-v-19141cf8] .el-table__footer-wrapper tbody td.el-table__cell{text-align:center}.moneyItem[data-v-19141cf8]{width:80%;display:flex;font-size:14px;align-items:center;font-weight:550;color:rgba(0,0,0,.7);flex-direction:column;height:100px;justify-content:center}.moneyItem div[data-v-19141cf8]:first-of-type{width:100%;padding-left:10px}.moneyItem .moneyInput[data-v-19141cf8]{display:flex;align-items:center;outline:1px solid #dcdfe6;margin:0;padding:0;border-radius:4px;height:38px;margin-top:25px}.moneyItem .moneyInput p[data-v-19141cf8]{display:inline-block;height:30px;margin:0;padding:0;padding-top:5px;color:rgba(0,0,0,.3)}.moneyItem .moneyInput input[data-v-19141cf8]:first-of-type{padding-left:5%}.moneyItem .moneyInput input[data-v-19141cf8]{display:inline-block;width:45%;height:30px;border:none;outline:none}.moneyItem .moneyInput input[data-v-19141cf8]::-webkit-input-placeholder{color:#c0c4cc}.moneyItem .moneyInput .InputIcon[data-v-19141cf8]:hover{color:#409eff;cursor:pointer}[data-v-19141cf8] .el-tabs__item.is-active{color:#6621ff!important}[data-v-19141cf8] .el-tabs__active-bar{background-color:#6621ff!important}[data-v-19141cf8] .el-button--text{color:#6621ff!important}.el-tab-pane[data-v-19141cf8]{padding:1px;border-radius:5px;overflow:hidden!important;border:1px solid rgba(0,0,0,.1)}@media screen and (min-width:220px)and (max-width:1279px){.main[data-v-10e0c45a]{width:100%;padding:15px 18px!important;margin:0;padding-top:30PX!important;background:transparent!important;min-height:300px!important}.MobileMain[data-v-10e0c45a]{width:100%}.contentMobile p[data-v-10e0c45a]{height:40px;line-height:40px;padding:0 8px;margin-top:8px;border-radius:5px;border:1px solid rgba(0,0,0,.1);font-size:.9rem;margin-left:18px}.el-row[data-v-10e0c45a]{margin:0!important}.submitTitle[data-v-10e0c45a]{font-size:14px;width:600px}.submitTitle .userName[data-v-10e0c45a]{color:#661ffb}.submitTitle .time[data-v-10e0c45a]{margin-left:8px}#contentBox[data-v-10e0c45a]{border:1px solid rgba(0,0,0,.1);margin-top:5px;padding:8px;border-radius:5px;font-size:.9rem;word-wrap:break-word}[data-v-10e0c45a] .el-upload-dragger{width:332px!important}}.main[data-v-10e0c45a]{width:100%;background:#fff;padding:0;margin:0;display:flex;justify-content:center;height:100%;overflow-y:auto}.content[data-v-10e0c45a]{width:100%;margin:0 auto;padding:20px;box-sizing:border-box}.elBtn[data-v-10e0c45a]{background:#661ffb;color:#fff;border-radius:20px}.orderDetails p[data-v-10e0c45a]{width:80%;outline:1px solid rgba(0,0,0,.1);border-radius:4px;display:flex;font-weight:600;padding:10px 10px;font-size:14px}.orderDetails .orderTitle[data-v-10e0c45a]{display:inline-block;text-align:center}.orderDetails .orderContent[data-v-10e0c45a]{flex:1;display:inline-block;color:#661ffb;font-weight:400;border-radius:4px;text-align:left;padding-left:5px}.submitContent[data-v-10e0c45a]{max-height:300px;overflow:hidden;overflow-y:auto;margin-top:18px;display:flex;flex-direction:column;padding:20px;border:1px solid #ccc;background:rgba(255,0,0,.01);border-radius:5px}.submitContent .submitTitle[data-v-10e0c45a]{font-size:14px;width:600px;display:flex;justify-content:left}.submitContent .submitTitle span[data-v-10e0c45a]:nth-of-type(2){margin-left:50px}.submitContent .contentBox[data-v-10e0c45a]{width:50vw;padding:10px 10px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.submitContent .downloadBox[data-v-10e0c45a]{font-size:15px;color:#661ffb;display:inline-block;cursor:pointer}.submitContent .replyBox[data-v-10e0c45a]{margin-top:20px}.download[data-v-10e0c45a]{display:inline-block;margin-top:10px;margin-left:20px;padding:8px 15px;border-radius:4px;font-size:14px;background:#f0f9eb;color:#67c23a;cursor:pointer}.download[data-v-10e0c45a]:hover{color:#000;outline:1px solid rgba(0,0,0,.1)}.reply[data-v-10e0c45a]{font-size:15px;margin-top:10px;padding:5px 0}.reply .replyTitle[data-v-10e0c45a]{font-weight:600}.reply .replyContent[data-v-10e0c45a]{color:#661ffb}[data-v-10e0c45a].replyInput .el-input.is-disabled .el-input__inner{color:#000}.edit[data-v-10e0c45a]{font-size:15px;color:#661ffb;cursor:pointer;margin-left:10px}.auditBox .submitTitle[data-v-10e0c45a]{font-size:14px;width:600px;display:flex;justify-content:left}.auditBox .submitTitle span[data-v-10e0c45a]:nth-of-type(2){margin-left:50px}.auditBox .contentBox[data-v-10e0c45a]{width:54vw;border:1px solid rgba(0,0,0,.1);padding:5px 5px;padding-left:5px;font-size:15px;max-height:80px;display:inline-block;overflow:scroll;overflow-x:auto;overflow-y:auto}.auditBox .downloadBox[data-v-10e0c45a]{font-size:15px;color:#661ffb;cursor:pointer;display:inline-block}.registeredForm .mandatory[data-v-10e0c45a]{color:red;margin-right:5px}.logistics[data-v-10e0c45a]{display:flex;margin-bottom:30px;width:26%;justify-content:space-between}.closingOrder[data-v-10e0c45a]{font-size:14px;margin:0}.closingOrder span[data-v-10e0c45a]{cursor:pointer;color:#661ffb}.closingOrder span[data-v-10e0c45a]:hover{color:#67c23a}.machineCoding[data-v-10e0c45a]{outline:1px solid rgba(0,0,0,.1);display:flex;max-height:300px;padding:10px!important;margin-top:8px;overflow-y:auto}.orderNum[data-v-10e0c45a]{width:800px!important;padding:0!important;outline:none!important;border:none!important}.el-row[data-v-10e0c45a]{margin:18px 0}.dataMain[data-v-81190992]{width:100%;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 30%;background-repeat:no-repeat;background-position:10% -15%;padding:0;margin:0;padding-top:60PX}.dataMain .content[data-v-81190992]{width:85%;min-height:300px;margin:0 auto;padding:20px;border-radius:5px}.dataMain .content .title[data-v-81190992]{font-size:30px;color:#651fff;font-weight:600}.dataMain .content .title span[data-v-81190992]{color:rgba(0,0,0,.7)}.dataMain .content .title2[data-v-81190992]{font-size:28px;color:rgba(0,0,0,.7);width:100%;text-align:center;letter-spacing:3px;color:#651fff;font-weight:600}.dataMain .content .topBox[data-v-81190992]{width:100%;min-height:230px;margin-top:50px;display:flex;justify-content:space-around;align-items:center}.dataMain .content .topBox .top[data-v-81190992]{width:360px;height:440px;border-radius:18px;box-shadow:0 0 5px 2px rgba(0,0,0,.1);transition:all .2s linear;padding:18px;box-shadow:0 0 5px 2px #d2c3ea;padding-top:30px}.dataMain .content .topBox .top h4[data-v-81190992]{color:#651fff;margin-top:18px}.dataMain .content .topBox .top p[data-v-81190992]{margin-top:10px;font-size:.9rem;line-height:25px}.dataMain .content .topBox .top .icon[data-v-81190992]{width:100%;text-align:center}.dataMain .content .topBox .top .icon img[data-v-81190992]{width:50px}.dataMain .content .currencyDisplay[data-v-81190992]{width:100%;min-height:300px;border-radius:5px;border:1px solid #ccc;margin-top:30px;padding:18PX 28px}.dataMain .content .currencyDisplay .currency[data-v-81190992]{width:100%;min-height:200px;padding:10px 0;margin-top:20px}.dataMain .content .currencyDisplay .currency h3[data-v-81190992]{margin-bottom:8px;color:rgba(0,0,0,.8);display:flex;align-items:center;text-transform:uppercase}.dataMain .content .currencyDisplay .currency h3 img[data-v-81190992]{width:25px;margin-right:8px}.dataMain .content .currencyDisplay .currency .describe[data-v-81190992]{width:100%;margin:10px 0;font-size:.9rem;padding-left:8px}.dataMain .content .currencyDisplay .currency .currencyTitle[data-v-81190992]{width:100%;height:60px;background:#d2c3ea;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:.95rem;border-radius:5px;overflow:hidden}.dataMain .content .currencyDisplay .currency .currencyTitle span[data-v-81190992]{width:15%}.dataMain .content .currencyDisplay .currency .currencyContent[data-v-81190992]{width:100%;min-height:60px;display:flex;justify-content:space-between;align-items:center;padding:0 18px;font-size:.9rem;border-bottom:1px solid #ccc}.dataMain .content .currencyDisplay .currency .currencyContent span[data-v-81190992]{width:15%}.dataMain .content .currencyDisplay .currency .charts[data-v-81190992]{width:100%;min-height:300px;padding:0 18px;text-align:center}.announcements-container[data-v-7ee09dfe]{min-height:100vh;background-color:#f8f9fa;padding:20px}.breadcrumb-section[data-v-7ee09dfe]{display:flex;justify-content:space-between;align-items:center;margin-bottom:30px;background:#fff;padding:16px 24px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.06)}.breadcrumb[data-v-7ee09dfe]{font-size:14px}.breadcrumb .breadcrumb-item[data-v-7ee09dfe]{color:#666;cursor:pointer;transition:color .3s ease}.breadcrumb .breadcrumb-item[data-v-7ee09dfe]:hover{color:#5721e4}.search-section .search-input[data-v-7ee09dfe]{width:300px}.main-content[data-v-7ee09dfe]{max-width:1200px;margin:0 auto;background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden;margin-top:60px}.page-header[data-v-7ee09dfe]{padding:40px 40px 20px;border-bottom:1px solid #f0f0f0;text-align:center}.page-title[data-v-7ee09dfe]{font-size:32px;font-weight:600;color:#2c3e50;margin:0}.markdown-guide-section[data-v-7ee09dfe]{padding:30px 40px 20px;border-bottom:1px solid #f0f0f0}.guide-header[data-v-7ee09dfe]{display:flex;justify-content:flex-start;margin-bottom:20px}.guide-toggle-btn[data-v-7ee09dfe]{font-size:14px;color:#5721e4;text-decoration:none;transition:color .3s ease}.guide-toggle-btn[data-v-7ee09dfe]:hover{color:#5721e4;text-decoration:underline}.markdown-guide-content[data-v-7ee09dfe]{background:#f8f9ff;border-radius:8px;padding:20px;border:1px solid #e0e0e0;box-shadow:inset 0 1px 3px rgba(0,0,0,.05)}.guide-container[data-v-7ee09dfe]{max-height:0;overflow:hidden;transition:max-height .3s ease-in-out}.guide-container.show[data-v-7ee09dfe]{max-height:1000px}.guide-title[data-v-7ee09dfe]{font-size:20px;font-weight:600;color:#34495e;margin-bottom:20px;border-bottom:1px solid #f0f0f0;padding-bottom:10px}.guide-section[data-v-7ee09dfe]{margin-bottom:25px;padding-bottom:20px;border-bottom:1px dashed #eee}.guide-section[data-v-7ee09dfe]:last-child{border-bottom:none;padding-bottom:0}.guide-section h4[data-v-7ee09dfe]{font-size:16px;font-weight:500;color:#4a4a4a;margin-bottom:15px;position:relative;padding-left:15px}.guide-section h4[data-v-7ee09dfe]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:15px;background:#5721e4;border-radius:2px}.example-container[data-v-7ee09dfe]{display:flex;gap:20px;margin-bottom:15px}.syntax-example[data-v-7ee09dfe]{flex:1;background:#f0f0f0;border-radius:4px;padding:10px;overflow-x:auto;font-size:14px;color:#333;line-height:1.6;white-space:pre-wrap;word-break:break-all;border:1px solid #ccc}.result-preview[data-v-7ee09dfe]{flex:1;padding:10px;background:#fff;border-radius:4px;border:1px solid #eee;box-shadow:0 1px 3px rgba(0,0,0,.05);min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;font-size:14px;color:#555;line-height:1.8}.tips-section[data-v-7ee09dfe]{margin-top:20px;padding-top:20px;border-top:1px dashed #eee}.tips-grid[data-v-7ee09dfe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:15px;margin-top:15px}.tip-item[data-v-7ee09dfe]{background:#f0edff;padding:10px 15px;border-radius:6px;font-size:13px;color:#5721e4;font-weight:500;display:flex;align-items:center;gap:8px}.shortcuts-grid[data-v-7ee09dfe]{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-top:15px}.shortcut-item[data-v-7ee09dfe]{background:#f0edff;padding:8px 12px;border-radius:6px;font-size:13px;color:#5721e4;font-weight:500;display:flex;align-items:center;gap:8px}.shortcut-item kbd[data-v-7ee09dfe]{background-color:#e0e0e0;border-radius:4px;padding:2px 4px;font-size:12px;font-family:monospace;color:#333;box-shadow:1px 1px 1px rgba(0,0,0,.2)}.latest-section[data-v-7ee09dfe]{padding:30px 40px 20px}.section-title[data-v-7ee09dfe]{font-size:20px;font-weight:600;color:#34495e;margin:0;position:relative}.section-title[data-v-7ee09dfe]:before{content:"";position:absolute;left:-20px;top:50%;transform:translateY(-50%);width:4px;height:20px;background:#5721e4;border-radius:2px}.announcement-list[data-v-7ee09dfe]{padding:0 40px 20px}.announcement-item[data-v-7ee09dfe]{display:flex;align-items:center;justify-content:space-between;padding:20px 0;border-bottom:1px solid #f5f5f5;cursor:pointer;transition:all .3s ease}.announcement-item[data-v-7ee09dfe]:hover{background-color:#f8f9ff;transform:translateX(5px)}.announcement-item[data-v-7ee09dfe]:last-child{border-bottom:none}.announcement-content[data-v-7ee09dfe]{flex:1}.announcement-title[data-v-7ee09dfe]{font-size:16px;font-weight:500;color:#2c3e50;margin:0 0 8px;line-height:1.4;transition:color .3s ease}.announcement-item:hover .announcement-title[data-v-7ee09dfe]{color:#5721e4}.announcement-meta[data-v-7ee09dfe]{display:flex;align-items:center;gap:16px;margin-bottom:8px}.announcement-date[data-v-7ee09dfe]{font-size:12px;color:#999}.announcement-type[data-v-7ee09dfe]{font-size:12px;color:#5721e4;background:#f0edff;padding:2px 8px;border-radius:12px}.announcement-summary[data-v-7ee09dfe]{font-size:14px;color:#666;line-height:1.5;margin:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.announcement-arrow[data-v-7ee09dfe]{color:#ccc;transition:color .3s ease}.announcement-item:hover .announcement-arrow[data-v-7ee09dfe]{color:#5721e4}.empty-state[data-v-7ee09dfe]{text-align:center;padding:80px 40px}.empty-content i[data-v-7ee09dfe]{font-size:64px;color:#ddd;margin-bottom:20px}.empty-content p[data-v-7ee09dfe]{font-size:16px;color:#999;margin:0}.pagination-section[data-v-7ee09dfe]{padding:30px 40px 40px;text-align:center;border-top:1px solid #f0f0f0}.view-all-button[data-v-7ee09dfe]{margin-bottom:20px;display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap}.view-all-link[data-v-7ee09dfe]{font-size:14px;color:#5721e4;text-decoration:none}.view-all-link[data-v-7ee09dfe]:hover{text-decoration:underline}.markdown-guide-btn[data-v-7ee09dfe]{font-size:14px;color:#5721e4!important;font-weight:500;transition:all .3s ease;border:1px solid #5721e4;border-radius:4px;padding:8px 16px}.markdown-guide-btn[data-v-7ee09dfe]:hover{color:#fff!important;background-color:#5721e4!important;transform:translateY(-1px);box-shadow:0 4px 8px rgba(87,33,228,.3)}.pagination[data-v-7ee09dfe]{justify-content:center}.pagination[data-v-7ee09dfe] .el-pager li{background-color:transparent;color:#666}.pagination[data-v-7ee09dfe] .el-pager li.active{background-color:#5721e4;color:#fff}.pagination[data-v-7ee09dfe] .el-pager li:hover:not(.active){background-color:#f0edff;color:#5721e4}.pagination[data-v-7ee09dfe] .btn-next,.pagination[data-v-7ee09dfe] .btn-prev{background-color:transparent;color:#666}.pagination[data-v-7ee09dfe] .btn-next:hover,.pagination[data-v-7ee09dfe] .btn-prev:hover{background-color:#f0edff;color:#5721e4}@media screen and (max-width:768px){.announcements-container[data-v-7ee09dfe]{padding:10px}.breadcrumb-section[data-v-7ee09dfe]{flex-direction:column;gap:16px;align-items:stretch;padding:16px}.search-section .search-input[data-v-7ee09dfe]{width:100%}.main-content[data-v-7ee09dfe]{border-radius:8px}.markdown-guide-section[data-v-7ee09dfe]{padding:15px 20px}.guide-header[data-v-7ee09dfe]{justify-content:center}.guide-toggle-btn[data-v-7ee09dfe]{font-size:13px}.markdown-guide-content[data-v-7ee09dfe]{padding:10px}.guide-container.show[data-v-7ee09dfe],.guide-container[data-v-7ee09dfe]{max-height:none}.example-container[data-v-7ee09dfe]{flex-direction:column;gap:10px}.result-preview[data-v-7ee09dfe],.syntax-example[data-v-7ee09dfe]{width:100%}.shortcuts-grid[data-v-7ee09dfe],.tips-grid[data-v-7ee09dfe]{grid-template-columns:1fr}.shortcut-item[data-v-7ee09dfe],.tip-item[data-v-7ee09dfe]{justify-content:flex-start;padding-left:15px}.shortcut-item kbd[data-v-7ee09dfe]{font-size:11px}.announcement-list[data-v-7ee09dfe],.latest-section[data-v-7ee09dfe],.page-header[data-v-7ee09dfe],.pagination-section[data-v-7ee09dfe]{padding-left:20px;padding-right:20px}.page-title[data-v-7ee09dfe]{font-size:24px}.section-title[data-v-7ee09dfe]{font-size:18px}.section-title[data-v-7ee09dfe]:before{left:-16px}.announcement-item[data-v-7ee09dfe]{padding:16px 0}.announcement-title[data-v-7ee09dfe]{font-size:15px}.announcement-meta[data-v-7ee09dfe]{flex-direction:column;align-items:flex-start;gap:4px}.view-all-button[data-v-7ee09dfe]{flex-direction:column;gap:12px}.markdown-guide-btn[data-v-7ee09dfe]{font-size:13px;padding:6px 12px}}@media(prefers-color-scheme:dark){.announcements-container[data-v-7ee09dfe]{background-color:#1a1a1a}.breadcrumb-section[data-v-7ee09dfe],.main-content[data-v-7ee09dfe]{background:#2d2d2d;color:#fff}.markdown-guide-section[data-v-7ee09dfe]{background:#2d2d2d;border-color:#3a3a3a}.guide-section h4[data-v-7ee09dfe],.guide-title[data-v-7ee09dfe]{color:#fff}.syntax-example[data-v-7ee09dfe]{background:#3a3a3a;border-color:#555;color:#ccc}.result-preview[data-v-7ee09dfe]{background:#333;border-color:#555;color:#bbb}.tips-section[data-v-7ee09dfe]{border-top-color:#3a3a3a}.shortcut-item[data-v-7ee09dfe],.tip-item[data-v-7ee09dfe]{background:#3a3a3a;color:#888}.shortcut-item kbd[data-v-7ee09dfe]{background-color:#444;color:#eee;box-shadow:1px 1px 1px rgba(0,0,0,.3)}.announcement-title[data-v-7ee09dfe],.page-title[data-v-7ee09dfe],.section-title[data-v-7ee09dfe]{color:#fff}.announcement-item[data-v-7ee09dfe]:hover{background-color:#3a3a3a}.announcement-summary[data-v-7ee09dfe]{color:#ccc}.announcement-date[data-v-7ee09dfe]{color:#999}}.slide-fade-enter-active[data-v-7ee09dfe],.slide-fade-leave-active[data-v-7ee09dfe]{transition:all .3s ease}.slide-fade-enter[data-v-7ee09dfe],.slide-fade-leave-to[data-v-7ee09dfe]{transform:translateY(-10px);opacity:0}.announcementDetails[data-v-34c59056]{width:100vw;height:100vh;background:#f8f9fa;padding-top:60px}.container[data-v-34c59056]{display:flex;justify-content:center;width:70vw;height:80vh;margin:0 auto;background:#fff;border-radius:10px;box-shadow:0 0 10px 0 rgba(0,0,0,.1);padding:20px;padding-top:50px}.container .leftNav[data-v-34c59056]{width:230px;height:100%;overflow-y:auto}.container .rightContent[data-v-34c59056]{flex:1;height:100%;margin-left:50px;overflow-y:auto;padding-right:20px}.container .rightContent .dynamic-content[data-v-34c59056]{width:100%;margin:0 auto}.container .rightContent .dynamic-content[data-v-34c59056] table{border-collapse:collapse;width:100%;margin:16px 0}.container .rightContent .dynamic-content[data-v-34c59056] td,.container .rightContent .dynamic-content[data-v-34c59056] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.container .rightContent .dynamic-content[data-v-34c59056] th{background:#f3f4f6;font-weight:700}.container .rightContent .dynamic-content[data-v-34c59056] b,.container .rightContent .dynamic-content[data-v-34c59056] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.container .rightContent .dynamic-content[data-v-34c59056] em,.container .rightContent .dynamic-content[data-v-34c59056] i{font-style:italic!important;color:inherit!important}.container .rightContent .dynamic-content[data-v-34c59056] a{color:#007bff!important;text-decoration:none!important}.container .rightContent .dynamic-content[data-v-34c59056] a:hover{text-decoration:underline!important}.container .rightContent .loading-container[data-v-34c59056]{text-align:center;padding:40px 0}.container .rightContent .loading-container .loading-text[data-v-34c59056]{font-size:16px;color:#666;vertical-align:middle}.container .rightContent .no-content[data-v-34c59056]{text-align:center;padding:40px 0}.container .rightContent .no-content p[data-v-34c59056]{font-size:16px;color:#999;margin:0}.leftNav-item[data-v-34c59056]{cursor:pointer;padding:10px;margin-bottom:10px;text-decoration:underline;text-align:right}.leftNav-item[data-v-34c59056]:hover{background:rgba(0,0,0,.02);color:#651fff}.active[data-v-34c59056]{color:#651fff}.container[data-v-445d273c]{display:flex;justify-content:center;width:80vw;height:80vh;margin:0 auto;border-radius:10px;padding:20px;margin-top:60px;padding-top:50px}.container .leftNav[data-v-445d273c]{width:200px;height:100%;overflow-y:auto}.container .rightContent[data-v-445d273c]{flex:1;height:100%;margin-left:50px;overflow-y:auto;padding-right:20px}.container .rightContent .dynamic-content[data-v-445d273c]{width:100%;margin:0 auto}.container .rightContent .dynamic-content[data-v-445d273c] table{border-collapse:collapse;width:100%;margin:16px 0}.container .rightContent .dynamic-content[data-v-445d273c] td,.container .rightContent .dynamic-content[data-v-445d273c] th{border:1px solid #d1d5db;padding:8px 12px;text-align:left}.container .rightContent .dynamic-content[data-v-445d273c] th{background:#f3f4f6;font-weight:700}.container .rightContent .dynamic-content[data-v-445d273c] b,.container .rightContent .dynamic-content[data-v-445d273c] strong{font-weight:700!important;color:inherit!important;font-style:normal!important}.container .rightContent .dynamic-content[data-v-445d273c] em,.container .rightContent .dynamic-content[data-v-445d273c] i{font-style:italic!important;color:inherit!important}.container .rightContent .dynamic-content[data-v-445d273c] a{color:#007bff!important;text-decoration:none!important}.container .rightContent .dynamic-content[data-v-445d273c] a:hover{text-decoration:underline!important}.container .rightContent .dynamic-content[data-v-445d273c] div,.container .rightContent .dynamic-content[data-v-445d273c] p{text-align:justify!important;text-justify:inter-ideograph!important;line-height:2!important;margin:.8em 0!important;white-space:normal!important;word-break:normal!important;overflow-wrap:break-word!important;word-wrap:break-word!important;hyphens:none}.container .rightContent .loading-container[data-v-445d273c]{text-align:center;padding:40px 0}.container .rightContent .loading-container .loading-text[data-v-445d273c]{font-size:16px;color:#666;vertical-align:middle}.container .rightContent .no-content[data-v-445d273c]{text-align:center;padding:40px 0}.container .rightContent .no-content p[data-v-445d273c]{font-size:16px;color:#999;margin:0}.leftNav-item[data-v-445d273c]{cursor:pointer;padding:10px;margin-bottom:10px;text-decoration:underline;text-align:right}.leftNav-item[data-v-445d273c]:hover{background:rgba(0,0,0,.02);color:#651fff}.active[data-v-445d273c]{color:#651fff}.search-result-page[data-v-eda2be10]{min-height:100vh;background:#f5f7fa}.result-header[data-v-eda2be10]{background:linear-gradient(135deg,#667eea,#764ba2);padding:18px 0;box-shadow:0 4px 20px rgba(0,0,0,.1)}.header-container[data-v-eda2be10]{max-width:1200px;margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center}.header-left[data-v-eda2be10]{color:#fff}.page-title[data-v-eda2be10]{margin:0 0 8px 0;font-size:28px;font-weight:600}.search-info[data-v-eda2be10]{margin:0;font-size:16px;opacity:.9}.search-info strong[data-v-eda2be10]{color:gold}.header-right .el-button[data-v-eda2be10]{background:hsla(0,0%,100%,.2);border:1px solid hsla(0,0%,100%,.3);color:#fff}.header-right .el-button[data-v-eda2be10]:hover{background:hsla(0,0%,100%,.3)}.search-content[data-v-eda2be10]{max-width:1200px;margin:0 auto;padding:40px 20px}.result-container[data-v-eda2be10]{background:#fff;border-radius:12px;box-shadow:0 4px 20px rgba(0,0,0,.08);overflow:hidden}.result-list[data-v-eda2be10]{padding:0}.result-item[data-v-eda2be10]{display:flex;align-items:flex-start;padding:24px 30px;border-bottom:1px solid #f5f5f5;cursor:pointer;transition:all .3s ease}.result-item[data-v-eda2be10]:hover{background:#f8f9ff;transform:translateX(4px)}.result-item[data-v-eda2be10]:last-child{border-bottom:none}.item-icon[data-v-eda2be10]{margin-right:16px;flex-shrink:0}.doc-icon[data-v-eda2be10]{width:40px;height:40px;border-radius:8px;object-fit:cover}.doc-icon-placeholder[data-v-eda2be10]{width:40px;height:40px;border-radius:8px;background:#f0f0f0;display:flex;align-items:center;justify-content:center;color:#999;font-size:20px}.item-content[data-v-eda2be10]{flex:1;min-width:0}.item-title[data-v-eda2be10]{margin:0 0 8px 0;font-size:18px;font-weight:600;color:#333;line-height:1.4}.item-title mark[data-v-eda2be10]{background:#fff3cd;color:#856404;padding:2px 4px;border-radius:3px}.item-subtitle[data-v-eda2be10]{margin:0 0 8px 0;font-size:14px;color:#666;line-height:1.4}.item-meta[data-v-eda2be10]{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:12px}.meta-item[data-v-eda2be10]{display:flex;align-items:center;font-size:12px;color:#999}.meta-item i[data-v-eda2be10]{margin-right:4px;font-size:14px}.item-preview[data-v-eda2be10]{font-size:14px;color:#666;line-height:1.6;background:#f8f9fa;padding:12px;border-radius:6px;border-left:3px solid #667eea}.item-actions[data-v-eda2be10]{display:flex;flex-direction:column;gap:8px;margin-left:16px;flex-shrink:0}.no-result[data-v-eda2be10]{text-align:center;padding:80px 20px;color:#666}.no-result strong[data-v-eda2be10]{color:#667eea}.no-result-icon[data-v-eda2be10]{font-size:64px;color:#ddd;margin-bottom:20px}.no-result h3[data-v-eda2be10]{margin:0 0 12px 0;font-size:24px;font-weight:500;color:#333}.no-result p[data-v-eda2be10]{margin:0 0 24px 0;font-size:16px;color:#999}.pagination-container[data-v-eda2be10]{padding:30px;text-align:center;border-top:1px solid #f0f0f0;background:#fafbfc}.preview-dialog .preview-content h2[data-v-eda2be10]{margin:0 0 16px 0;color:#333;font-size:24px}.preview-dialog .preview-meta[data-v-eda2be10]{display:flex;gap:20px;margin-bottom:24px;padding:16px;background:#f8f9fa;border-radius:6px;font-size:14px;color:#666}.preview-dialog .preview-body[data-v-eda2be10]{line-height:1.8;color:#333}.preview-dialog .preview-body[data-v-eda2be10] h1,.preview-dialog .preview-body[data-v-eda2be10] h2,.preview-dialog .preview-body[data-v-eda2be10] h3{color:#333;margin:20px 0 12px 0}.preview-dialog .preview-body[data-v-eda2be10] p{margin:12px 0}.preview-dialog .preview-body[data-v-eda2be10] img{max-width:100%;height:auto;border-radius:6px}.preview-dialog .preview-body[data-v-eda2be10] table{border-collapse:collapse;width:100%;margin:16px 0}.preview-dialog .preview-body[data-v-eda2be10] td,.preview-dialog .preview-body[data-v-eda2be10] th{border:1px solid #ddd;padding:8px 12px;text-align:left}.preview-dialog .preview-body[data-v-eda2be10] th{background:#f5f5f5;font-weight:700}@media(max-width:768px){.header-container[data-v-eda2be10]{padding:0 15px;flex-direction:column;gap:20px;text-align:center}.page-title[data-v-eda2be10]{font-size:24px}.search-content[data-v-eda2be10]{padding:20px 15px}.result-item[data-v-eda2be10]{padding:16px 20px;flex-direction:column}.item-icon[data-v-eda2be10]{margin-right:0;margin-bottom:12px}.item-actions[data-v-eda2be10]{margin-left:0;margin-top:12px;flex-direction:row;justify-content:flex-end}.item-meta[data-v-eda2be10]{gap:12px}.preview-meta[data-v-eda2be10]{flex-direction:column;gap:8px}}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-ec5988d8]{width:100%;background:transparent!important;padding:0;margin:0;padding:8px;padding-top:60PX}.mobileMain h4[data-v-ec5988d8]{color:rgba(0,0,0,.8);text-align:left;width:100%;padding-left:3px}.mobileMain .explain[data-v-ec5988d8]{font-size:.85rem;margin-top:8px;color:rgba(0,0,0,.6)}.mobileMain .accountInformation[data-v-ec5988d8]{width:100%;height:30px;background:rgba(0,0,0,.5);position:fixed;top:62px;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.mobileMain .accountInformation img[data-v-ec5988d8]{width:20px}.mobileMain .accountInformation i[data-v-ec5988d8]{color:#fff;font-size:1.2rem;margin-left:10px}.mobileMain .accountInformation .coin[data-v-ec5988d8]{font-size:.9rem;margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize}.mobileMain .accountInformation .ma[data-v-ec5988d8]{font-size:.9rem;font-weight:600;color:#fff;margin-left:10px}.BthBox[data-v-ec5988d8]{width:100%;text-align:right;padding:0 20px}.BthBox .addBth[data-v-ec5988d8]{border-radius:20px;color:#fff;background:#661ffb;margin-top:18px}.tableBox[data-v-ec5988d8]{margin:0 auto;width:96%;min-height:300px;overflow:hidden;border-radius:8px;font-size:.9rem;margin-bottom:20px;box-shadow:0 0 5px 2px #ccc;margin-top:10px;background:#fff}.tableBox .table-title[data-v-ec5988d8]{height:50px;background:#d2c4e8;display:flex;justify-content:space-around;align-items:center;font-weight:600;padding-left:0!important;text-align:center}.tableBox .table-title span[data-v-ec5988d8]:first-of-type{width:50%!important}.tableBox .table-title span[data-v-ec5988d8]:nth-of-type(2){min-width:30%}.tableBox .collapseTitle[data-v-ec5988d8]{width:100%;display:flex;justify-content:space-around;align-items:center;padding-left:0!important;text-align:center}.tableBox .collapseTitle .coinBox[data-v-ec5988d8]{width:50%;overflow:hidden;text-overflow:ellipsis}.tableBox .collapseTitle .operationBox[data-v-ec5988d8]{min-width:30%}.tableBox .belowTable[data-v-ec5988d8]{background:#f0e9f5;padding:10px 0}.tableBox .belowTable div[data-v-ec5988d8]{width:100%;height:auto;text-align:left;padding-left:8%}.tableBox .belowTable div p[data-v-ec5988d8]:first-of-type{font-weight:600}.tableBox .belowTable div p[data-v-ec5988d8]{word-wrap:break-word}.tableBox .belowTable div p .copy[data-v-ec5988d8]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .paginationBox[data-v-ec5988d8]{text-align:center}}@media screen and (min-width:220px)and (max-width:500px){[data-v-ec5988d8] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-ec5988d8] .el-dialog__body{padding:0!important}[data-v-ec5988d8] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-ec5988d8] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-ec5988d8] .el-dialog__body{padding:0!important}[data-v-ec5988d8] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.pcMain[data-v-ec5988d8]{width:100%;min-height:100vh;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding:0;margin:0;padding-top:60PX;display:flex;justify-content:center}.alerts[data-v-ec5988d8]{width:100%}.accountInformation[data-v-ec5988d8]{width:100%;height:30px;background:rgba(0,0,0,.5);position:fixed;top:8%;left:0;display:flex;align-items:center;padding:1% 5%;z-index:2001}.accountInformation img[data-v-ec5988d8]{width:23px}.accountInformation i[data-v-ec5988d8]{color:#fff;font-size:1.5em;margin-left:10px}.accountInformation .coin[data-v-ec5988d8]{margin-left:5px;font-weight:600;color:#fff;text-transform:capitalize}.accountInformation .ma[data-v-ec5988d8]{font-weight:600;color:#fff;margin-left:10px}.content[data-v-ec5988d8]{width:70%;min-height:500px;padding:20px}.content h2[data-v-ec5988d8]{color:rgba(0,0,0,.8);margin-bottom:18px}.content .explain[data-v-ec5988d8]{color:rgba(0,0,0,.6);font-size:.9rem;margin-top:5px}.content .BthBox[data-v-ec5988d8]{width:100%;text-align:right;padding:0 20px}.content .BthBox .addBth[data-v-ec5988d8]{border-radius:20px;color:#fff;background:#661ffb}.modifyBth[data-v-ec5988d8]{margin-right:8px;color:#fff;background:#661ffb}.elBtn[data-v-ec5988d8]{color:#fff;background:#f0286a}.dialogBox[data-v-ec5988d8]{padding:0 20PX;padding-bottom:50PX;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-ec5988d8]{width:100%;text-align:center;font-size:1em;font-weight:600}.dialogBox .inputBox[data-v-ec5988d8]{width:70%;margin-top:20PX}.dialogBox .inputBox .inputItem[data-v-ec5988d8]{margin-top:30PX;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-ec5988d8]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-ec5988d8]{margin-top:10PX}.dialogBox .el-button[data-v-ec5988d8]{background:#661fff;color:#edf2ff;border:none;outline:none;margin-top:30PX}[data-v-ec5988d8] .el-dialog{background-image:url(/img/dialog1.6b499f8a.png);background-size:130% 105%;background-repeat:no-repeat;background-position:100% 100%;border-radius:32PX}.verificationCode[data-v-ec5988d8]{display:flex;margin-top:10px}.verificationCode .codeBtn[data-v-ec5988d8]{font-size:13px;margin-left:2px;margin:0;margin-left:8px}.bthBox[data-v-ec5988d8]{width:100%;display:flex;align-items:center;padding:0 15%}.bthBox .previousStep[data-v-ec5988d8]{width:35%;font-size:1.3em}.verificationBthBox[data-v-ec5988d8]{width:70%;display:flex;justify-content:left}.verificationBthBox .el-button.previousStep[data-v-ec5988d8]{min-width:28%;background:#d0c4e8;color:#fff}.verificationBthBox .el-button.confirmBtn[data-v-ec5988d8]{min-width:60%;background:#661fff;color:#fff;border:none}.table[data-v-ec5988d8]{box-shadow:0 3px 20px 1px #ccc}@media screen and (min-width:220px)and (max-width:1279px){.personalCenter[data-v-2e3719ed]{height:auto!important;min-height:200px!important;background:transparent!important;padding:0!important}.personalBox2[data-v-2e3719ed]{width:100%!important;height:auto!important;padding:15px!important;min-height:360px}.menuItem[data-v-2e3719ed]{width:95%;height:45px;background:#d2c3ea;margin-top:18px;line-height:45px;padding:0 18px;font-size:.9rem;border-radius:5px;overflow:hidden}.menuItem .titleText[data-v-2e3719ed]{margin-left:8px}}.personalCenter[data-v-2e3719ed]{width:100%;min-height:800PX;display:flex;justify-content:center;padding:30PX 0;background:#fff;background-image:url(/img/top.7f0acfc3.png);background-size:100% 50%;background-repeat:no-repeat;background-position:30% -15%;padding-top:60PX}.personalCenter .personalBox[data-v-2e3719ed]{width:100%;display:flex;justify-content:center;height:800PX;padding:0 10%;flex-wrap:nowrap;position:relative;overflow:hidden}.personalCenter .personalBox .personalLeft[data-v-2e3719ed]{display:flex;flex-direction:column}.personalCenter .personalBox .personalLeft .LeftHead[data-v-2e3719ed]{height:20%;display:flex;justify-content:center;align-items:center;flex-direction:column}.personalCenter .personalBox .personalLeft .LeftHead .Avatar[data-v-2e3719ed]{width:100PX;height:100PX;border:1PX solid rgba(0,0,0,.1);border-radius:50%;display:flex;justify-content:center;align-items:center}.personalCenter .personalBox .personalLeft .LeftHead .Avatar .headIcon[data-v-2e3719ed]{font-size:100PX;text-align:center}.personalCenter .personalBox .personalLeft .LeftHead .emailBox[data-v-2e3719ed]{font-size:.95rem;margin-top:8px;max-width:230px;overflow:hidden;text-overflow:ellipsis;color:rgba(0,0,0,.8)}.personalCenter .personalBox .personalLeft .LeftMenu[data-v-2e3719ed]{width:100%;min-width:160px;padding-left:8px}.personalCenter .personalBox .personalLeft .LeftMenu .ic[data-v-2e3719ed]{font-size:16PX;color:#409eff;font-weight:700;border:1PX solid #409eff;padding:3PX;border-radius:50%}.personalCenter .personalBox .personalLeft .LeftMenu .titleText[data-v-2e3719ed]{margin-left:5PX}.personalCenter .personalBox .personalRight[data-v-2e3719ed]{width:78%;background:#fff;padding:10PX;height:80%;border-radius:20PX;border:2PX solid #885bcd;box-shadow:5PX 3PX 3PX 3PX rgba(190,160,223,.5);scrollbar-width:none;-ms-overflow-style:none;border-right:none;overflow:hidden}.personalCenter .personalBox .personalRight[data-v-2e3719ed]::-webkit-scrollbar{width:0;height:0}.personalCenter[data-v-2e3719ed]:after{content:"";width:100%;height:180PX;position:absolute;bottom:25%;left:0}.el-menu[data-v-2e3719ed]{background-color:transparent}.el-menu-item[data-v-2e3719ed]{position:relative;border-radius:30PX 0 0 30PX;transition:all .2s linear;width:101%}.el-menu-item[data-v-2e3719ed]:hover{width:100%;box-shadow:0 3PX 0 0 rgba(190,160,223,.5)}.el-menu-item.is-active[data-v-2e3719ed]{width:101%;border:2PX solid #885bcd;border-radius:30PX 0 0 30PX;border-right:none;box-shadow:0 5PX 0 0 rgba(190,160,223,.5)}.el-menu-item.is-active .el-menu-item[data-v-2e3719ed]:after{display:block}.el-menu-item.is-active.el-menu-item[data-v-2e3719ed]:after{content:"";width:6PX;height:100%;background:#fff;position:absolute;top:0;right:-3PX;z-index:99}@media screen and (min-width:220px)and (max-width:1279px){.personalMiningBox[data-v-8c33fe2a]{padding:0!important}.personalBox[data-v-8c33fe2a]{padding:14px!important;background:#eee8aa!important}.Mining[data-v-8c33fe2a]{width:100%}.Delete[data-v-8c33fe2a]{width:100%;display:flex;justify-content:left;margin-top:18px}.Delete .delBth[data-v-8c33fe2a]{background:#ff4181}.Delete .bth[data-v-8c33fe2a],.Delete .delBth[data-v-8c33fe2a]{color:#fff;padding:13px 40px!important;border-radius:10px!important}.Delete .bth[data-v-8c33fe2a]{background:#651efe;margin-left:18px}.personalMiningBox .tableBox[data-v-8c33fe2a]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.personalMiningBox .tableBox .tabTitle[data-v-8c33fe2a]{display:flex;align-items:center}.personalMiningBox .tableBox .tabTitle span[data-v-8c33fe2a]{width:31.6666666667%!important;font-size:.9rem!important}.personalMiningBox .tableBox .tabTitle .miningAccount[data-v-8c33fe2a]{width:27%!important;margin:0!important}.personalMiningBox .tableBox .tabTitle .checkbox[data-v-8c33fe2a]{width:31px!important}.personalMiningBox .tableBox .collapseTitle[data-v-8c33fe2a]{width:100%;padding-left:0;display:flex}.personalMiningBox .tableBox .collapseTitle span[data-v-8c33fe2a]{display:inline-block;align-items:center;text-align:center;text-overflow:ellipsis;overflow:hidden;text-align:left;white-space:nowrap}.personalMiningBox .tableBox .collapseTitle .account[data-v-8c33fe2a]{width:29%}.personalMiningBox .tableBox .collapseTitle .currency2[data-v-8c33fe2a]{display:flex;line-height:48px;width:38%}.personalMiningBox .tableBox .collapseTitle .currency2 img[data-v-8c33fe2a]{margin-right:5px}.personalMiningBox .tableBox .collapseTitle .operation[data-v-8c33fe2a]{color:#661fff}.personalMiningBox .tableBox .collapseTitle .police[data-v-8c33fe2a]{width:18%;color:#ccc;text-align:center}.personalMiningBox .tableBox .content[data-v-8c33fe2a]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.personalMiningBox .tableBox .content .remarks[data-v-8c33fe2a]{margin-top:10px}.personalMiningBox .tableBox .content p[data-v-8c33fe2a]:first-of-type{font-weight:600}.personalMiningBox .tableBox .content p[data-v-8c33fe2a]{word-wrap:break-word}.personalMiningBox .tableBox .content p .copy[data-v-8c33fe2a]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.personalMiningBox .tableBox[data-v-8c33fe2a] .el-collapse-item__header{padding-left:10px}.dialogBox .inputBox .inputItem[data-v-8c33fe2a]{margin-top:10px!important}.dialogBox .inputBox .inputItem .title[data-v-8c33fe2a]{font-size:.9rem!important}[data-v-8c33fe2a] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-8c33fe2a] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-8c33fe2a] .el-dialog__body{padding:0!important}[data-v-8c33fe2a] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-8c33fe2a] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-8c33fe2a] .el-dialog__body{padding:0!important}[data-v-8c33fe2a] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.personalMiningBox[data-v-8c33fe2a]{padding:18PX}.personalMiningBox .headTitle[data-v-8c33fe2a]{display:flex;justify-content:space-between;align-items:center;border-bottom:1PX solid rgba(0,0,0,.1)}.personalMiningBox .headTitle .titleBox[data-v-8c33fe2a]{display:flex;align-items:center}.personalMiningBox .headTitle h2[data-v-8c33fe2a]{color:#36246f}.personalMiningBox .headTitle i[data-v-8c33fe2a]{font-size:1.8em;margin-right:5PX;color:#36246f;font-weight:600}.personalMiningBox .headTitle .inputItem[data-v-8c33fe2a]{margin-left:18px}.personalMiningBox .headTitle .Delete[data-v-8c33fe2a]{display:flex;align-items:center}.personalMiningBox .headTitle .Delete .delBth[data-v-8c33fe2a]{border:none}.personalMiningBox .headTitle .Delete .delBth[data-v-8c33fe2a]:hover{color:#661ffb;background:transparent;font-weight:600}.personalMiningBox .headTitle .Delete .bth[data-v-8c33fe2a]{width:50%;background:#661ffb;margin-left:3%;text-align:center;border:1PX solid #661ffb;border-radius:5PX;color:#fff;border-radius:25PX}.personalMiningBox .headTitle .Delete .bth i[data-v-8c33fe2a]{font-size:1em}.personalMiningBox .headTitle .Delete span[data-v-8c33fe2a]:hover{border:1PX solid #0062cc}.personalMiningBox .headTitle .Delete .arrow[data-v-8c33fe2a]{color:#fff}.personalMiningBox .tableBox[data-v-8c33fe2a]{min-height:400PX}.personalMiningBox .tableBox .tabTitle[data-v-8c33fe2a]{width:100%;background:#d2c3ea;color:#36246f;display:flex;align-items:center;height:55PX;border-radius:5PX 5PX 0 0}.personalMiningBox .tableBox .tabTitle span[data-v-8c33fe2a]{margin-left:8px;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:600}.personalMiningBox .tableBox .tabTitle .checkbox[data-v-8c33fe2a]{width:40px;text-align:center;display:flex;justify-content:center;padding-left:1%}.personalMiningBox .tableBox .tabTitle .currency[data-v-8c33fe2a]{width:120px}.personalMiningBox .tableBox .tabTitle .miningAccount[data-v-8c33fe2a]{width:140px}.personalMiningBox .tableBox .tabTitle .addr[data-v-8c33fe2a]{display:inline-block;width:400px;padding-left:10px}.personalMiningBox .tableBox .tabTitle .remarks[data-v-8c33fe2a]{width:200px;padding-left:10px}.personalMiningBox .tableBox .tabTitle .operation[data-v-8c33fe2a]{padding-left:20px;width:140px}.personalMiningBox .tableBox ul[data-v-8c33fe2a]{width:100%;padding:0;border:1PX solid rgba(0,0,0,.1);border-radius:5PX;overflow:hidden;overflow-y:auto;height:430PX;scrollbar-width:none;-ms-overflow-style:none;border-right:none;margin:0}.personalMiningBox .tableBox ul li[data-v-8c33fe2a]{list-style:none;width:100%;display:flex;align-items:center;background:#efefef;height:50PX}.personalMiningBox .tableBox ul li .checkbox[data-v-8c33fe2a]{width:40px;text-align:center;display:flex;justify-content:center;padding-left:1%}.personalMiningBox .tableBox ul li span[data-v-8c33fe2a]{display:inline-block;margin-left:8px;overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;font-size:.85rem;text-align:left;padding:0}.personalMiningBox .tableBox ul li .currency[data-v-8c33fe2a]{width:13%;width:130px;display:flex;align-items:center}.personalMiningBox .tableBox ul li .currency img[data-v-8c33fe2a]{width:20PX;margin-right:5PX}.personalMiningBox .tableBox ul li .miningAccount[data-v-8c33fe2a]{width:140px!important}.personalMiningBox .tableBox ul li .addr[data-v-8c33fe2a]{width:45%;width:400px!important;word-wrap:break-word;overflow:visible;text-overflow:clip;white-space:normal;padding:0 5PX}.personalMiningBox .tableBox ul li .remarks[data-v-8c33fe2a]{width:18%;width:200px!important}.personalMiningBox .tableBox ul li .operationBox[data-v-8c33fe2a]{padding-right:5px;width:15%;width:140px!important;display:flex;justify-content:space-around}.personalMiningBox .tableBox ul li .operationBox .alerts[data-v-8c33fe2a]{width:24%;cursor:pointer}.personalMiningBox .tableBox ul li[data-v-8c33fe2a] .el-dropdown-link{color:#000}.personalMiningBox .tableBox ul li[data-v-8c33fe2a] .el-dropdown-link:hover{color:#661ffb;cursor:pointer}.personalMiningBox .tableBox ul li .operation[data-v-8c33fe2a]{cursor:pointer}.personalMiningBox .tableBox ul li .operation[data-v-8c33fe2a]:hover{color:#661ffb}.personalMiningBox .tableBox ul li[data-v-8c33fe2a]:nth-child(2n){background-color:#fff}.personalMiningBox .tableBox ul .tabTitle[data-v-8c33fe2a]{background:#d2c3ea;color:#36246f}.personalMiningBox .tableBox ul .tabTitle span[data-v-8c33fe2a]{width:8%}.personalMiningBox .tableBox ul .tabTitle .miningAccount[data-v-8c33fe2a]{width:12%}.personalMiningBox .tableBox ul .tabTitle .addr[data-v-8c33fe2a]{width:42%}.personalMiningBox .tableBox ul .tabTitle .remarks[data-v-8c33fe2a]{width:12%}.accountFormat[data-v-8c33fe2a]{color:#ff4081;font-size:.8em;line-height:18PX;margin:0}[data-v-8c33fe2a] .el-checkbox__inner{border-color:#000}.el-checkbox__input.is-indeterminate .el-checkbox__inner[data-v-8c33fe2a],[data-v-8c33fe2a] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#000!important;border-color:#000!important}.dialogBox[data-v-8c33fe2a]{padding:0 20PX;padding-bottom:50PX;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-8c33fe2a]{width:100%;text-align:center;font-size:1em;font-weight:600}.dialogBox .inputBox[data-v-8c33fe2a]{width:70%;margin-top:20PX}.dialogBox .inputBox .inputItem[data-v-8c33fe2a]{margin-top:30PX;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-8c33fe2a]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-8c33fe2a]{margin-top:10PX}.dialogBox .el-button[data-v-8c33fe2a]{background:#661fff;color:#edf2ff;border:none;outline:none;margin-top:30PX}[data-v-8c33fe2a] .el-dialog{background-image:url(/img/dialog1.6b499f8a.png);background-size:130% 105%;background-repeat:no-repeat;background-position:100% 100%;border-radius:32PX}.tabelList span[data-v-8c33fe2a]{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.loginPage[data-v-79fdbdb8]{width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;padding:100px 0;background-image:url(/img/logBg.3050d0aa.png);background-size:cover;background-repeat:no-repeat}.loginPage .loginModular[data-v-79fdbdb8]{width:50%;height:85%;display:flex;border-radius:10px;overflow:hidden;box-shadow:0 0 20px 18px #d6d2ea}.loginPage .leftBox[data-v-79fdbdb8]{width:47%;height:100%;background-image:linear-gradient(150deg,#18b7e6 -20%,#651fff 60%);position:relative}.loginPage .leftBox .logo[data-v-79fdbdb8]{position:absolute;left:30px;top:18px;width:22%}.loginPage .leftBox img[data-v-79fdbdb8]{width:100%;position:absolute;right:-16%;bottom:0;z-index:99}.el-form[data-v-79fdbdb8]{width:90%;padding:0 20px 50px 20px}.el-form-item[data-v-79fdbdb8]{width:100%}.loginBox[data-v-79fdbdb8]{width:53%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:10px;flex-direction:column;overflow:hidden;background:#fff;position:relative;padding:0 35px}.loginBox .demo-ruleForm[data-v-79fdbdb8]{height:100%;padding-top:5%}.loginBox img[data-v-79fdbdb8]{width:18%;position:absolute;top:20px;left:30px;cursor:pointer}.loginBox .closeBox[data-v-79fdbdb8]{position:absolute;top:18px;right:30px;cursor:pointer}.loginBox .closeBox .close[data-v-79fdbdb8]{font-size:1.3em}.loginBox .closeBox[data-v-79fdbdb8]:hover{color:#661fff}.loginTitle[data-v-79fdbdb8]{font-size:20px;font-weight:600;margin-bottom:30px;text-align:center}.loginColor[data-v-79fdbdb8]{width:100%;height:15px;background:#661fff}.langBox[data-v-79fdbdb8]{display:flex;justify-content:space-between;align-content:center}.registerBox[data-v-79fdbdb8]{display:flex;justify-content:start;margin:0;font-size:12px;height:20px}.registerBox span[data-v-79fdbdb8]{padding:5px 0;display:inline-block;height:100%;z-index:99}.registerBox span[data-v-79fdbdb8]:hover{color:#661fff}.registerBox .noAccount[data-v-79fdbdb8]:hover{color:#000}.registerBox .forget[data-v-79fdbdb8]{margin-left:8px;cursor:pointer}.forget[data-v-79fdbdb8]{margin-left:10px}.forgotPassword[data-v-79fdbdb8]{display:inline-block;width:20%}.verificationCode[data-v-79fdbdb8]{display:flex}.verificationCode .codeBtn[data-v-79fdbdb8]{font-size:13px;margin-left:2px}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-79fdbdb8]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/bgtop.d1ac5a03.svg);background-repeat:no-repeat;background-size:115%;background-position:49% 47%}.headerBox[data-v-79fdbdb8]{width:100%;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 0 2px 1px #ccc}.headerBox img[data-v-79fdbdb8]{width:30px}.headerBox .title[data-v-79fdbdb8]{font-weight:600}.imgTop[data-v-79fdbdb8]{width:100%;display:flex;justify-content:center;margin-top:2%}.imgTop img[data-v-79fdbdb8]{height:159px}.formInput[data-v-79fdbdb8]{width:100%;display:flex;justify-content:center}.footer[data-v-79fdbdb8]{width:100%;height:100px;background:#651fff}.personalMiningBox[data-v-5cdac29b]{padding:0!important}.bthBox[data-v-5cdac29b]{display:flex;justify-content:left}.bthBox .addBth[data-v-5cdac29b]{background:#651efe}.bthBox .addBth[data-v-5cdac29b],.bthBox .delBth[data-v-5cdac29b]{color:#fff;padding:13px 40px!important;border-radius:10px!important}.bthBox .delBth[data-v-5cdac29b]{background:#ff4181;margin-left:18px}.tableBox[data-v-5cdac29b]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.tableBox .collapseBox[data-v-5cdac29b]{max-height:600px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox .tabTitle[data-v-5cdac29b]{display:flex;align-items:center}.tableBox .tabTitle .checkbox[data-v-5cdac29b]{width:45px}.tableBox .tabTitle .miningAccount[data-v-5cdac29b]{width:42%}.tableBox .tabTitle .currency[data-v-5cdac29b]{width:42%;text-align:left;padding-left:5px}.tableBox .tabTitle .operation[data-v-5cdac29b]{width:100px;padding-left:10px}.tableBox .tabTitle span[data-v-5cdac29b]{font-size:.9rem!important;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.tableBox .collapseTitle[data-v-5cdac29b]{width:100%;padding-left:0;display:flex}.tableBox .collapseTitle span[data-v-5cdac29b]{display:inline-block;align-items:center;text-align:center;text-overflow:ellipsis;overflow:hidden}.tableBox .collapseTitle .miningAccount[data-v-5cdac29b]{width:46%}.tableBox .collapseTitle .currency2[data-v-5cdac29b]{width:45%;display:flex;line-height:48px}.tableBox .collapseTitle .currency2 img[data-v-5cdac29b]{margin-right:5px}.tableBox .collapseTitle .operation[data-v-5cdac29b]{width:90px;color:#661fff}.tableBox .content[data-v-5cdac29b]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.tableBox .content .link[data-v-5cdac29b],.tableBox .content .remarks[data-v-5cdac29b]{margin-top:10px}.tableBox .content p[data-v-5cdac29b]:first-of-type{font-weight:600}.tableBox .content p[data-v-5cdac29b]{word-wrap:break-word;width:100%}.tableBox .content p .copy[data-v-5cdac29b]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .content p a[data-v-5cdac29b]{color:#6d5c9b}.tableBox .content .permissionBlock[data-v-5cdac29b]{width:100%}.tableBox .content .permissionBlock span[data-v-5cdac29b]{display:inline-block;background:#d2c3ea;padding:3px 12px;border-radius:5px;margin-left:8px}.tableBox[data-v-5cdac29b] .el-collapse-item__header{padding-left:10px}.paginationBox[data-v-5cdac29b]{width:100%;display:flex;justify-content:center;padding:18px 10px}.personalMiningBox .operation[data-v-5cdac29b]{margin-top:0!important}.dialogBox .inputBox .inputItem[data-v-5cdac29b]{margin-top:10px!important}.dialogBox .inputBox .inputItem .title[data-v-5cdac29b]{font-size:.9rem!important}[data-v-5cdac29b] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-5cdac29b] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-5cdac29b] .el-dialog__body{padding:0!important}[data-v-5cdac29b] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-5cdac29b] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-5cdac29b] .el-dialog__body{padding:0!important}[data-v-5cdac29b] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.personalMiningBox[data-v-5cdac29b]{padding:20px}.personalMiningBox .headTitle[data-v-5cdac29b]{display:flex;align-items:center;border-bottom:1px solid rgba(0,0,0,.1)}.personalMiningBox .headTitle h2[data-v-5cdac29b]{color:#36246f}.personalMiningBox .headTitle i[data-v-5cdac29b]{font-size:1.8em;margin-right:5px;color:#36246f;font-weight:600}.personalMiningBox .headTitle .Delete[data-v-5cdac29b]{width:20%;display:flex;align-items:center}.personalMiningBox .headTitle .Delete span[data-v-5cdac29b]{width:40%;height:35px;line-height:35px;background:#edf2ff;margin-left:3%;text-align:center;border:1px solid #84a4ff;border-radius:5px;cursor:pointer}.personalMiningBox .headTitle .Delete span[data-v-5cdac29b]:hover{border:1px solid #0062cc}.personalMiningBox .operation[data-v-5cdac29b]{display:flex;align-items:center;justify-content:space-between;margin-top:10px}.personalMiningBox .operation .bthBox .el-button[data-v-5cdac29b]{background:#edf2ff;padding:10px 25px}.personalMiningBox .operation .bthBox .addBth[data-v-5cdac29b]{padding:10px 35px;border-radius:25px;background:#661ffb;color:#fff}.personalMiningBox .operation .bthBox .delBth[data-v-5cdac29b]{background:transparent;border:none}.personalMiningBox .operation .bthBox .delBth[data-v-5cdac29b]:hover{color:#661ffb;font-weight:600}.personalMiningBox .operation .searchBox[data-v-5cdac29b]{width:25%;border:2px solid #641fff;height:30px;display:flex;align-items:center;justify-content:space-between;border-radius:25px;overflow:hidden}.personalMiningBox .operation .searchBox .inout[data-v-5cdac29b]{border:none;outline:none;padding:0 10px;background:transparent}.personalMiningBox .operation .searchBox i[data-v-5cdac29b]{width:15%;height:101%;background:#641fff;color:#fff;font-size:1.2em;line-height:25px;text-align:center}.personalMiningBox .tableBox[data-v-5cdac29b]{font-size:.95rem}.personalMiningBox .tableBox ul[data-v-5cdac29b]{width:100%;padding:0;border:1px solid rgba(0,0,0,.1);border-radius:5px;height:370px;overflow-y:auto;margin:0;margin-bottom:10px;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.personalMiningBox .tableBox ul li[data-v-5cdac29b]{list-style:none;width:100%;display:flex;align-items:center;justify-content:center;height:55px;background:#efefef}.personalMiningBox .tableBox ul li .checkbox[data-v-5cdac29b]{width:5%;text-align:center}.personalMiningBox .tableBox ul li span[data-v-5cdac29b]{width:18%;height:90%;text-align:center;line-height:45px;font-size:.85rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.personalMiningBox .tableBox ul li .binding[data-v-5cdac29b]{color:#69adf5;cursor:pointer}.personalMiningBox .tableBox ul li .binding[data-v-5cdac29b]:hover{color:#0974e7}.personalMiningBox .tableBox ul li .permissionBlock[data-v-5cdac29b]{display:flex;align-items:center;justify-content:left}.personalMiningBox .tableBox ul li .permissionBlock span[data-v-5cdac29b]{width:25%;line-height:25px;height:25px;font-size:.8rem;margin-left:5px;color:#6440b9}.personalMiningBox .tableBox ul li .coinBox[data-v-5cdac29b]{display:flex;align-items:center;justify-content:left}.personalMiningBox .tableBox ul li[data-v-5cdac29b]:nth-child(2n){background-color:#fff}.personalMiningBox .tableBox ul .tabTitle[data-v-5cdac29b]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f}.personalMiningBox .paging[data-v-5cdac29b]{width:100%;display:flex;justify-content:center}.tabTitle[data-v-5cdac29b]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f;display:flex;align-items:center;justify-content:center;height:55px;margin-top:10px;border-radius:5px 5px 0 0;font-weight:600}.tabTitle .checkbox[data-v-5cdac29b]{width:5%;text-align:center}.tabTitle span[data-v-5cdac29b]{width:18%;height:90%;text-align:center;line-height:55px}[data-v-5cdac29b] .el-checkbox__input.is-disabled+span.el-checkbox__label{color:rgba(0,0,0,.6);color:#46a2ff}.cascaderBox[data-v-5cdac29b]{display:flex;align-items:center}.cascaderBox img[data-v-5cdac29b]{margin-right:5px}[data-v-5cdac29b] .el-checkbox__inner{border-color:#000}.el-checkbox__input.is-indeterminate .el-checkbox__inner[data-v-5cdac29b],[data-v-5cdac29b] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#000!important;border-color:#000!important}.dialogBox[data-v-5cdac29b]{padding:0 20px;padding-bottom:20px;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-5cdac29b]{width:100%;text-align:center;font-size:1.2rem;font-weight:600}.dialogBox .inputBox[data-v-5cdac29b]{width:70%;margin-top:20px;margin:30px 0}.dialogBox .inputBox .inputItem[data-v-5cdac29b]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-5cdac29b]{font-size:1.1em;text-align:left;margin-bottom:10px}.dialogBox .el-button[data-v-5cdac29b]{background:#661fff;color:#edf2ff;border:none;outline:none}.dialogBox .jurisdictionBox[data-v-5cdac29b]{width:70%;height:50px}.dialogBox .jurisdictionBox .checkboxS[data-v-5cdac29b]{margin-top:10px;display:flex}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-5cdac29b]{width:33.3333333333%;font-weight:600}[data-v-5cdac29b] .el-dialog{background:#fff;background-image:url(/img/dialog2.902b738d.png);background-size:cover;background-repeat:no-repeat;border-radius:32px}[data-v-5cdac29b] .el-cascader .el-input .el-input__inner{text-transform:capitalize}@media screen and (min-width:220px)and (max-width:1279px){.security[data-v-b42565d2]{padding:0!important}.securityMain[data-v-b42565d2]{width:100%;min-height:360px}.securityMain .itemBox[data-v-b42565d2]{width:100%;display:flex;min-height:80px;align-content:center;justify-content:space-between;border-bottom:1px solid rgba(0,0,0,.1);padding:10px 18px}.securityMain .itemBox .left[data-v-b42565d2]{display:flex;align-items:center;width:52%}.securityMain .itemBox .left .text[data-v-b42565d2]{margin-left:10px}.securityMain .itemBox .left .text p[data-v-b42565d2]:first-of-type{font-size:.9rem}.securityMain .itemBox .left .text p[data-v-b42565d2]:nth-of-type(2){font-size:.75rem;margin-top:5px;color:rgba(0,0,0,.6);word-wrap:break-word}.securityMain .itemBox .right[data-v-b42565d2]{display:flex;align-items:center;font-size:.9rem}.securityMain .itemBox .right .notEnabled[data-v-b42565d2]{border:none;background:transparent;padding:0}.securityMain .itemBox .right .modify[data-v-b42565d2]{padding:5px 15px;background:#661fff;color:#fff;border-radius:5px;margin-left:10px}.securityMain .itemBox .right2[data-v-b42565d2]{display:flex;align-items:center;font-size:.9rem}.securityMain .itemBox .right2 .notEnabled[data-v-b42565d2]{border:none;background:transparent;padding:0}.securityMain .itemBox .right2 .modify[data-v-b42565d2]{padding:7px 15px;background:#661fff;color:#fff;border-radius:5px}.verificationBox[data-v-b42565d2]{padding:0!important;padding-bottom:30px!important}.verificationBox .title[data-v-b42565d2]{font-size:.95rem!important}.verificationBox .inputBox[data-v-b42565d2]{font-size:.9rem!important}.verificationBox .inputBox .inputItem[data-v-b42565d2]{margin-top:10px!important}.verificationBox .inputBox .inputItem .title[data-v-b42565d2]{font-size:.9rem!important}.verificationBox .text1[data-v-b42565d2]{margin:10px}.verificationBox .secretKeyBox[data-v-b42565d2]{padding:5px}.verificationBox .secretKeyBox .code img[data-v-b42565d2]{max-width:120px}.verificationBox .secretKeyBox .secretKey .InfoSecret[data-v-b42565d2]{font-size:.95rem!important}.verificationBox .clause[data-v-b42565d2]{padding:5px}.verificationBthBox[data-v-b42565d2]{flex-wrap:wrap;justify-content:space-around}.verificationBthBox .el-button--default[data-v-b42565d2]{margin:5px!important}.verificationBthBox .confirmBtn[data-v-b42565d2]{margin:0 auto;width:auto!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-b42565d2] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-b42565d2] .el-dialog__body{padding:0!important}[data-v-b42565d2] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-b42565d2] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-b42565d2] .el-dialog__body{padding:0!important}[data-v-b42565d2] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.remind[data-v-b42565d2]{font-size:.8em;padding:0;margin:0;min-height:15px;line-height:15px;color:#ff4081;cursor:pointer}.security[data-v-b42565d2]{width:100%;padding:15px}.security .titleBox[data-v-b42565d2]{display:flex;align-items:center}.security .titleBox h2[data-v-b42565d2]{color:#36246f}.security .ic[data-v-b42565d2]{font-size:1.8em;margin-right:5px;color:#36246f;font-weight:600}.security .table[data-v-b42565d2]{width:100%}.security .table ul[data-v-b42565d2]{width:100%;height:500px;border-radius:10px;padding:10px 40px;font-size:.9rem}.security .table ul .topOne[data-v-b42565d2]{border:none}.security .table ul .topOne .topOneLeft[data-v-b42565d2]{display:flex;height:70%}.security .table ul .topOne .topOneLeft img[data-v-b42565d2]{height:70%}.security .table ul .topOne .topOneLeft .text[data-v-b42565d2]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px}.security .table ul .topOne .topOneRight[data-v-b42565d2]{display:flex;align-items:center;width:18%;justify-content:space-around}.security .table ul .topOne .topOneRight .notEnabled[data-v-b42565d2]{padding:5px 10px;color:#ccc;border:none}.security .table ul .topOne .topOneRight .line[data-v-b42565d2]{display:inline-block;width:1px;height:20px;background:#ccc}.security .table ul .topOne .topOneRight .modify[data-v-b42565d2]{color:#fff;cursor:pointer;background:#6620fb;padding:6px 18px;border-radius:5px}.security .table ul .topOne .topOneRight .modifyDelete[data-v-b42565d2]{display:inline-block;width:90%;text-align:right;color:#2889fc;cursor:pointer}.security .table ul li[data-v-b42565d2]{list-style:none;padding:10px 0;border-top:1px solid rgba(0,0,0,.1);height:20%;display:flex;justify-content:space-between;align-items:center}.security .table ul li .topOneLeft[data-v-b42565d2]{display:flex;height:70%}.security .table ul li .topOneLeft img[data-v-b42565d2]{height:70%}.security .table ul li .topOneLeft .text[data-v-b42565d2]{display:flex;flex-direction:column;justify-content:space-between;margin-left:10px}.security .table ul li .topOneRight[data-v-b42565d2]{display:flex;align-items:center;width:18%;justify-content:space-around}.security .table ul li .topOneRight .notEnabled[data-v-b42565d2]{padding:5px 10px;color:#ccc;border:none}.security .table ul li .topOneRight .line[data-v-b42565d2]{display:inline-block;width:1px;height:20px;background:#ccc}.security .table ul li .topOneRight .modify[data-v-b42565d2]{color:#fff;cursor:pointer;background:#6620fb;padding:6px 18px;border-radius:5px}.security .table ul li .topOneRight .modifyDelete[data-v-b42565d2]{display:inline-block;width:90%;text-align:right;color:#2889fc;cursor:pointer}.security .table ul li .topOneRight2[data-v-b42565d2]{display:flex;align-items:center;justify-content:space-around}.security .table ul li .topOneRight2 .notEnabled[data-v-b42565d2]{padding:5px 10px;color:#e7155e;border:none}.security .table ul li .topOneRight2 .line[data-v-b42565d2]{display:inline-block;width:1px;height:20px;background:#ccc;margin:0 5px}.security .table ul li .topOneRight2 .modify[data-v-b42565d2]{color:#fff;cursor:pointer;background:#6620fb;padding:6px 18px;border-radius:5px}.security .table ul li .topOneRight2 .modifyDelete[data-v-b42565d2]{display:inline-block;width:90%;text-align:right;color:#2889fc;cursor:pointer}.dialogBox[data-v-b42565d2]{padding:0 20px;padding-bottom:50px;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-b42565d2]{width:100%;text-align:center;font-size:25px}.dialogBox .verificationPrompt[data-v-b42565d2]{margin-top:5%;font-size:1.3em}.dialogBox .inputBox[data-v-b42565d2]{width:70%;margin-top:20px;margin:30px 0}.dialogBox .inputBox .inputItem[data-v-b42565d2]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-b42565d2]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-b42565d2]{margin-top:10px}.dialogBox .jurisdictionBox[data-v-b42565d2]{width:70%;height:50px}.dialogBox .jurisdictionBox .checkboxS[data-v-b42565d2]{margin-top:10px;display:flex}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-b42565d2]{width:33.3333333333%}.dialogBox .deleteClauseBox ul[data-v-b42565d2],.dialogBox .deleteClauseBox[data-v-b42565d2]{margin:0;padding:0}.dialogBox2[data-v-b42565d2]{padding:0 55px;padding-bottom:50px;display:flex;justify-content:center;flex-direction:column}.dialogBox2 .dashedLine[data-v-b42565d2]{width:100%;border-bottom:1px dashed #ccc;margin-top:5%}.dialogBox2 .select[data-v-b42565d2]{width:100%}.dialogBox2 .bthBox[data-v-b42565d2]{display:flex;justify-content:space-between}.dialogBox2 .title[data-v-b42565d2]{width:100%;text-align:center;font-size:25px}.dialogBox2 .verificationPrompt[data-v-b42565d2]{margin-top:5%;font-size:1.3em}.dialogBox2 .inputBox[data-v-b42565d2]{width:70%;margin-top:20px;margin:30px 0}.dialogBox2 .inputBox .inputItem[data-v-b42565d2]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox2 .inputBox .title[data-v-b42565d2]{font-size:1.1em;text-align:left}.dialogBox2 .inputBox .input[data-v-b42565d2]{margin-top:10px}.dialogBox2 .jurisdictionBox[data-v-b42565d2]{width:70%;height:50px}.dialogBox2 .jurisdictionBox .checkboxS[data-v-b42565d2]{margin-top:10px;display:flex}.dialogBox2 .jurisdictionBox .checkboxS .el-checkbox[data-v-b42565d2]{width:33.3333333333%}.dialogBox2 .deleteClauseBox ul[data-v-b42565d2],.dialogBox2 .deleteClauseBox[data-v-b42565d2]{margin:0;padding:0}.verificationBox[data-v-b42565d2]{padding:0 20px;padding-bottom:50px;display:flex;justify-content:center;flex-direction:column;align-items:center}.verificationBox .title[data-v-b42565d2]{width:100%;text-align:center;font-size:25px}.verificationBox .title span[data-v-b42565d2]{color:#2889fc}.verificationBox .inputBox[data-v-b42565d2]{width:70%;margin-top:20px;margin:30px 0}.verificationBox .inputBox .inputItem[data-v-b42565d2]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.verificationBox .inputBox .title[data-v-b42565d2]{font-size:1.1em;text-align:left}.verificationBox .inputBox .input[data-v-b42565d2]{margin-top:10px}.verificationBox .secretKeyBox[data-v-b42565d2]{display:flex;justify-content:space-around;width:100%;height:150px}.verificationBox .secretKeyBox .code[data-v-b42565d2]{width:45%;text-align:center}.verificationBox .secretKeyBox .centerLine[data-v-b42565d2]{width:2%;height:100%;position:relative;display:flex;justify-content:center;align-items:center;flex-direction:column}.verificationBox .secretKeyBox .centerLine .topLine[data-v-b42565d2]{width:2px;height:40%;background:#c9d1f0}.verificationBox .secretKeyBox .centerLine .or[data-v-b42565d2]{width:18px;display:inline-block;height:30px;line-height:30px}.verificationBox .secretKeyBox .centerLine .btLine[data-v-b42565d2]{width:2px;height:40%;background:#c9d1f0}.verificationBox .secretKeyBox .secretKey[data-v-b42565d2]{width:45%;text-align:center;display:flex;justify-content:center;align-items:center}.verificationBox .secretKeyBox .secretKey .InfoSecret[data-v-b42565d2]{padding:15px 20px;background:#fff;color:#f84481;font-weight:600;font-size:1.2em}.verificationBox .secretKeyBox .secretKey .InfoSecret span[data-v-b42565d2]{color:#ccc;cursor:pointer;font-size:.9em;font-weight:400;margin-left:2px}.verificationBox .secretKeyBox .secretKey .InfoSecret span[data-v-b42565d2]:hover{color:#f84481}.verificationBox .clause[data-v-b42565d2]{display:flex;align-items:start;margin:18px 0;width:100%}.verificationBox .clause p[data-v-b42565d2]{margin:0;margin-left:10px}.verificationBox .clause p span[data-v-b42565d2]{color:#f84481}.verificationBox .clause .checkbox[data-v-b42565d2]{margin-top:3px}.verificationBox .nextStep[data-v-b42565d2]{width:50%;text-align:center;font-size:1em;background:#661fff;color:#fff;padding:10px 0;border-radius:5px}.verificationBox .verificationCode[data-v-b42565d2]{display:flex;margin-top:10px}.verificationBox .verificationCode .codeBtn[data-v-b42565d2]{font-size:13px;margin-left:2px}.verificationBox .bthBox[data-v-b42565d2]{width:100%;display:flex;align-items:center;padding:0 15%}.verificationBox .bthBox .previousStep[data-v-b42565d2]{width:35%;font-size:1.3em}.verificationBox .verificationBthBox[data-v-b42565d2]{width:70%;display:flex;justify-content:left}.verificationBox .verificationBthBox .el-button.previousStep[data-v-b42565d2]{min-width:28%;background:#d0c4e8;color:#fff}.verificationBox .verificationBthBox .el-button.confirmBtn[data-v-b42565d2]{min-width:60%;background:#661fff;color:#fff;border:none}[data-v-b42565d2] .el-dialog{background:#fff;background-image:url(/img/dialog3.676187b6.png);background-size:102% 100%;background-repeat:no-repeat;border-radius:32px}.dialogBth[data-v-b42565d2]{width:30%;font-size:1.1em;margin-top:30px;background:#661fff;border:none}.changePasswordBth[data-v-b42565d2]{background:#661fff;color:#fff}.personal[data-v-164396ae]{width:100%;padding:20PX;height:100%}.personal .titleBox[data-v-164396ae]{display:flex;align-items:center}.personal .titleBox h2[data-v-164396ae]{color:#36246f}.personal .ic[data-v-164396ae]{font-size:1.8em;margin-right:5PX;color:#36246f;font-weight:600}.personal .loginInformation[data-v-164396ae]{width:98%;border:1PX solid rgba(0,0,0,.1);height:30%}.personal .loginInformation ul[data-v-164396ae]{width:100%;height:100%;padding:0 30PX}.personal .loginInformation ul .one[data-v-164396ae]{border:none}.personal .loginInformation ul li[data-v-164396ae]{position:relative;list-style:none;width:100%;height:28%;display:flex;align-items:center;border-top:1PX solid rgba(0,0,0,.1)}.personal .loginInformation ul li .title[data-v-164396ae]{width:15%;display:flex;align-items:center;font-size:1.2em}.personal .loginInformation ul li .title i[data-v-164396ae]{font-size:1em}.personal .loginInformation ul li .text[data-v-164396ae]{color:rgba(0,0,0,.5)}.personal .loginInformation ul .addPhone[data-v-164396ae]{color:#429fff;position:absolute;right:20PX;top:30PX;cursor:pointer}.personal .loginTable[data-v-164396ae]{width:98%;padding:20PX 0}.personal .loginTable ul[data-v-164396ae]{width:100%;height:600PX;padding:0;border:1PX solid rgba(0,0,0,.1);border-radius:8PX;overflow:hidden}.personal .loginTable ul .title.title[data-v-164396ae]{background:#ebeef3}.personal .loginTable ul li[data-v-164396ae]{list-style:none;height:13%;display:flex;justify-content:space-between;align-items:center}.personal .loginTable ul li span[data-v-164396ae]{width:20%;text-align:center}.personal .loginTable ul li[data-v-164396ae]:nth-child(odd){background-color:#f8f9f8}.personal .loginTable ul li[data-v-164396ae]:nth-child(2n){background-color:#fff}.verificationCode[data-v-164396ae]{display:flex}.verificationCode .codeBtn[data-v-164396ae]{font-size:13PX;margin-left:2PX}.miningReport[data-v-22d9d454]{width:100%;padding:20PX}.miningReport .titleBox[data-v-22d9d454]{display:flex;align-items:center}.miningReport .titleBox h2[data-v-22d9d454]{color:#36246f}.miningReport .ic[data-v-22d9d454]{font-size:1.8em;margin-right:5PX;color:#36246f;font-weight:600}.miningReport .contentBox[data-v-22d9d454]{width:100%}.miningReport .contentBox .block[data-v-22d9d454]{width:95%;display:flex;justify-content:space-between;align-items:center;border:1PX solid rgba(0,0,0,.1);padding:20PX 50PX;height:130PX;border-radius:5PX;margin-top:30PX}.miningReport .contentBox .block .left[data-v-22d9d454]{display:flex;height:50PX}.miningReport .contentBox .block .left .text[data-v-22d9d454]{display:flex;flex-direction:column;height:100%;justify-content:space-between;margin-left:10PX}.miningReport .contentBox .block .left .text .describe[data-v-22d9d454]{color:rgba(0,0,0,.5)}.miningReport .contentBox .block .left .text .describe .see[data-v-22d9d454]{color:#2889fc;cursor:pointer}.miningReport .contentBox .block .bth[data-v-22d9d454]{padding:5PX 10PX;background:#edf2ff;border:1PX solid #8dabff;color:#2889fc}.dialogBox[data-v-22d9d454]{padding:0 20PX;padding-bottom:50PX;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-22d9d454]{width:100%;text-align:center;font-size:25PX;margin:10PX 0}.dialogBox .inputBox[data-v-22d9d454]{width:70%;margin-top:20PX;margin:30PX 0}.dialogBox .inputBox .inputItem[data-v-22d9d454]{margin-top:30PX;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-22d9d454]{font-size:1.1em;text-align:left}.dialogBox .inputBox .input[data-v-22d9d454]{margin-top:10PX}.dialogBox .jurisdictionBox[data-v-22d9d454]{width:70%;height:50PX}.dialogBox .jurisdictionBox .checkboxS[data-v-22d9d454]{margin-top:10PX;display:flex}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-22d9d454]{width:33.3333333333%}@media screen and (min-width:220px)and (max-width:1279px){.miningMobile[data-v-18e9c054]{min-height:400px}.miningReport[data-v-18e9c054]{padding:0!important}.block[data-v-18e9c054]{padding:0!important;height:80px!important;margin:0!important;border:none!important}.block .ic[data-v-18e9c054]{font-size:1.5rem!important}.block .text .jumpAPI[data-v-18e9c054]{display:inline-block;font-size:.9rem;color:#6440b9;margin-left:8px}.block .text span[data-v-18e9c054]:nth-of-type(2){font-size:.9rem!important}.bthBox[data-v-18e9c054]{width:100%}.bthBox .el-button[data-v-18e9c054]{padding:8px 15px}.bthBox .delBth[data-v-18e9c054]{margin-left:10px}.tableBox[data-v-18e9c054]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.tableBox .checkbox[data-v-18e9c054]{width:100px!important}.tableBox .collapseBox[data-v-18e9c054]{max-height:600px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox .collapseBox .checkbox[data-v-18e9c054]{width:19px!important}.tableBox .tabTitle2[data-v-18e9c054]{display:flex;align-items:center;background:#d2c4e8;height:50px;color:#36246f;font-weight:600;padding-right:8px;padding-left:5px}.tableBox .tabTitle2 span[data-v-18e9c054]{font-size:.9rem!important;text-overflow:ellipsis;overflow:hidden;display:inline-block;margin-left:6px}.tableBox .tabTitle2 .checkbox[data-v-18e9c054]{width:25px!important}.tableBox .tabTitle2 .miningAccount[data-v-18e9c054]{width:45%!important;overflow:hidden}.tableBox .tabTitle2 .IP[data-v-18e9c054]{width:45%!important}.tableBox .tabTitle2 .operation[data-v-18e9c054]{width:110px!important;text-align:left!important}.tableBox .collapseTitle[data-v-18e9c054]{width:100%;padding-left:0;display:flex}.tableBox .collapseTitle span[data-v-18e9c054]{display:inline-block;margin:0!important;padding:0!important;overflow:hidden;text-overflow:ellipsis;margin-left:3px!important}.tableBox .collapseTitle .user[data-v-18e9c054]{min-width:110px;width:45%!important;text-overflow:ellipsis;overflow:hidden}.tableBox .collapseTitle .IP[data-v-18e9c054]{min-width:100px;width:45%!important}.tableBox .collapseTitle .operation[data-v-18e9c054]{width:110px!important;color:#661fff;text-align:left;padding-left:15px!important}.tableBox .content[data-v-18e9c054]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.tableBox .content div[data-v-18e9c054]{margin-top:10px}.tableBox .content div p[data-v-18e9c054]:first-of-type{font-weight:600}.tableBox .content p[data-v-18e9c054]{word-wrap:break-word;width:100%}.tableBox .content p .copy[data-v-18e9c054]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .content p a[data-v-18e9c054]{color:#6d5c9b}.tableBox .content .permissionBlock[data-v-18e9c054]{width:100%}.tableBox .content .permissionBlock span[data-v-18e9c054]{display:inline-block;background:#d2c3ea;padding:3px 12px;border-radius:5px;font-size:.8rem;margin-left:8px}.tableBox[data-v-18e9c054] .el-collapse-item__header{padding-left:5px}.tableBox[data-v-18e9c054] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:220px)and (max-width:500px){[data-v-18e9c054] .el-dialog{width:98%!important;border-radius:10px!important}[data-v-18e9c054] .el-dialog__body{padding:0!important}[data-v-18e9c054] .dialogBox .inputBox{width:93%!important;margin-top:8px!important}.tableBox[data-v-18e9c054]{width:100%;margin-top:10px;box-shadow:0 0 3px 2px #ccc;border-radius:5px}.tableBox .checkbox[data-v-18e9c054]{width:100px!important}.tableBox .collapseBox[data-v-18e9c054]{max-height:600px;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox .collapseBox .checkbox[data-v-18e9c054]{width:19px!important}.tableBox .tabTitle2[data-v-18e9c054]{display:flex;align-items:center;background:#d2c4e8;height:50px;color:#36246f;font-weight:600;padding-right:8px;padding-left:5px}.tableBox .tabTitle2 span[data-v-18e9c054]{font-size:.9rem!important;text-overflow:ellipsis;overflow:hidden;display:inline-block;margin-left:6px}.tableBox .tabTitle2 .checkbox[data-v-18e9c054]{width:25px!important}.tableBox .tabTitle2 .miningAccount[data-v-18e9c054]{width:45%!important;overflow:hidden}.tableBox .tabTitle2 .IP[data-v-18e9c054]{width:45%!important}.tableBox .tabTitle2 .operation[data-v-18e9c054]{width:110px!important;text-align:center!important}.tableBox .collapseTitle[data-v-18e9c054]{width:100%;padding-left:0;display:flex;overflow:hidden}.tableBox .collapseTitle span[data-v-18e9c054]{display:inline-block;margin:0!important;padding:0!important;overflow:hidden;text-overflow:ellipsis;margin-left:3px!important}.tableBox .collapseTitle .user[data-v-18e9c054]{min-width:110px;width:45%!important;text-overflow:ellipsis;overflow:hidden}.tableBox .collapseTitle .IP[data-v-18e9c054]{min-width:100px;width:40%!important}.tableBox .collapseTitle .operation[data-v-18e9c054]{width:110px!important;color:#661fff;text-align:center}.tableBox .content[data-v-18e9c054]{width:100%;padding:10px 8px;background:#f0e9f5;padding-bottom:25px}.tableBox .content div[data-v-18e9c054]{margin-top:10px}.tableBox .content div p[data-v-18e9c054]:first-of-type{font-weight:600}.tableBox .content p[data-v-18e9c054]{word-wrap:break-word;width:100%}.tableBox .content p .copy[data-v-18e9c054]{padding:0 5px;display:inline-block;cursor:pointer;border:1px solid #d1c2e9;border-radius:5px;margin-left:10px;font-size:.8rem}.tableBox .content p a[data-v-18e9c054]{color:#6d5c9b}.tableBox .content .permissionBlock[data-v-18e9c054]{width:100%}.tableBox .content .permissionBlock span[data-v-18e9c054]{display:inline-block;background:#d2c3ea;padding:3px 12px;border-radius:5px;font-size:.8rem;margin-left:8px}.tableBox[data-v-18e9c054] .el-collapse-item__header{padding-left:5px}.tableBox[data-v-18e9c054] .el-collapse-item__content{padding:0!important}}@media screen and (min-width:500px)and (max-width:800px){[data-v-18e9c054] .el-dialog{width:80%!important;border-radius:10px!important}[data-v-18e9c054] .el-dialog__body{padding:0!important}[data-v-18e9c054] .dialogBox .inputBox{width:80%!important;margin-top:8px!important}}.dialogBox[data-v-18e9c054]{padding:0 20px;padding-bottom:20px;display:flex;justify-content:center;flex-direction:column;align-items:center}.dialogBox .title[data-v-18e9c054]{width:100%;text-align:center;font-size:1.2rem;font-weight:600}.dialogBox .inputBox[data-v-18e9c054]{width:70%;margin-top:20px;margin:30px 0}.dialogBox .inputBox .inputItem[data-v-18e9c054]{margin-top:30px;display:flex;flex-direction:column;align-items:left;justify-content:left}.dialogBox .inputBox .title[data-v-18e9c054]{font-size:1.1em;text-align:left;margin-bottom:10px}.dialogBox .el-button[data-v-18e9c054]{background:#661fff;color:#edf2ff;border:none;outline:none}.dialogBox .jurisdictionBox[data-v-18e9c054]{width:70%;height:50px}.dialogBox .jurisdictionBox .checkboxS[data-v-18e9c054]{margin-top:10px;display:flex;flex-wrap:wrap}.dialogBox .jurisdictionBox .checkboxS .el-checkbox[data-v-18e9c054]{width:33.3333333333%;font-weight:600}.tableBox[data-v-18e9c054]{font-size:.95rem}.tableBox ul[data-v-18e9c054]{width:100%;padding:0;border:1px solid rgba(0,0,0,.1);border-radius:5px;height:370px;overflow-y:auto;margin:0;margin-bottom:10px;scrollbar-width:none;-ms-overflow-style:none;border-right:none}.tableBox ul li[data-v-18e9c054]{list-style:none;width:100%;display:flex;align-items:center;justify-content:left;height:55px;background:#efefef}.tableBox ul li span[data-v-18e9c054]{height:90%;text-align:left;line-height:55px;margin-left:5px;overflow:hidden;text-overflow:ellipsis}.tableBox ul li .checkbox[data-v-18e9c054]{width:4%!important;padding-left:6px;overflow:hidden}.tableBox ul li .Account[data-v-18e9c054]{width:21%!important}.tableBox ul li .checkbox[data-v-18e9c054]{width:4%;text-align:center}.tableBox ul li .permissionBlock[data-v-18e9c054]{width:25%!important;display:flex;align-items:center;justify-content:left}.tableBox ul li .permissionBlock span[data-v-18e9c054]{display:inline-block;width:55px;line-height:25px;height:25px;font-size:.8rem;margin-left:5px;color:#6440b9}.tableBox ul li .IP[data-v-18e9c054]{width:20%!important}.tableBox ul li .apiKey[data-v-18e9c054]{width:35%!important}.tableBox ul li .binding[data-v-18e9c054]{width:100px!important;text-align:center;padding-right:10px;color:#69adf5;cursor:pointer}.tableBox ul li .binding[data-v-18e9c054]:hover{color:#0974e7}.tableBox ul li .apiKey[data-v-18e9c054]:hover{font-weight:600}.tableBox ul li[data-v-18e9c054]:nth-child(2n){background-color:#fff}.tableBox ul .tabTitle[data-v-18e9c054]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f}.delBth[data-v-18e9c054]{background:transparent;padding:5px 18px}.delBth[data-v-18e9c054]:hover{color:#661ffb;font-weight:600}.tabTitle[data-v-18e9c054]{background:rgba(0,0,0,.05);background:#d2c3ea;color:#36246f;display:flex;align-items:center;justify-content:left;height:55px;margin-top:10px;border-radius:5px 5px 0 0;font-weight:600}.tabTitle .Account[data-v-18e9c054]{width:21.5%}.tabTitle .checkbox[data-v-18e9c054]{width:4%!important;text-align:center}.tabTitle .permissionBlock[data-v-18e9c054]{width:25%!important}.tabTitle .IP[data-v-18e9c054]{width:20%!important}.tabTitle .apiKey[data-v-18e9c054]{width:35%!important}.tabTitle .binding[data-v-18e9c054]{width:105px!important;text-align:center;padding-right:10px}.tabTitle span[data-v-18e9c054]{height:90%;text-align:left;line-height:55px;margin-left:5px;padding-left:5px;overflow:hidden}[data-v-18e9c054] .el-dialog{background:#fff;background-image:url(/img/dialog2.902b738d.png);background-size:cover;background-repeat:no-repeat;border-radius:32px}.miningReport[data-v-18e9c054]{width:100%;padding:20px}.miningReport .titleBox[data-v-18e9c054]{display:flex;align-items:center}.miningReport .titleBox h2[data-v-18e9c054]{color:#36246f}.miningReport .titleBox .jumpAPI[data-v-18e9c054]{width:100%;margin-left:18px;font-size:.9rem;color:#4d2eb4}.miningReport .titleBox .jumpAPI[data-v-18e9c054]:hover{color:#4d2eb4;font-weight:600}.miningReport .ic[data-v-18e9c054]{font-size:1.8em;margin-right:5px;color:#36246f;font-weight:600}.miningReport .contentBox[data-v-18e9c054]{width:100%}.miningReport .contentBox .block[data-v-18e9c054]{width:95%;display:flex;justify-content:space-between;align-items:center;border:1px solid rgba(0,0,0,.1);padding:20px 50px;height:130px;border-radius:5px;margin-top:30px}.miningReport .contentBox .block .left[data-v-18e9c054]{display:flex;height:50px}.miningReport .contentBox .block .left .text[data-v-18e9c054]{display:flex;flex-direction:column;height:100%;justify-content:space-between;margin-left:10px}.miningReport .contentBox .block .left .text .describe[data-v-18e9c054]{color:rgba(0,0,0,.5)}.miningReport .contentBox .block .left .text .describe .see[data-v-18e9c054]{color:#2889fc;cursor:pointer}.miningReport .contentBox .block .bth[data-v-18e9c054]{padding:5px 10px;background:#edf2ff;border:1px solid #8dabff;color:#2889fc;margin-right:8px}[data-v-18e9c054] .el-checkbox__inner{border-color:#000}.el-checkbox__input.is-indeterminate .el-checkbox__inner[data-v-18e9c054],[data-v-18e9c054] .el-checkbox__input.is-checked .el-checkbox__inner{background-color:#000!important;border-color:#000!important}.loginPage[data-v-45513616]{width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;background-image:url(/img/logBg.3050d0aa.png);background-size:cover;background-repeat:no-repeat}.loginPage .loginModular[data-v-45513616]{width:53%;height:68%;display:flex;border-radius:10px;overflow:hidden;box-shadow:0 0 20px 18px #d6d2ea}.loginPage .remind[data-v-45513616]{font-size:.8em;padding:0;margin:0;min-height:15px;line-height:15px;color:#ff4081}.loginPage .leftBox[data-v-45513616]{width:47%;height:100%;background-image:linear-gradient(150deg,#18b7e6 -20%,#651fff 60%);position:relative}.loginPage .leftBox img[data-v-45513616]{width:100%;position:absolute;right:-15%;bottom:0;z-index:99}.loginPage .leftBox .logo[data-v-45513616]{position:absolute;left:30px;top:18px;width:22%}.el-form[data-v-45513616]{width:90%;padding:0 20px 50px 20px}.el-form-item[data-v-45513616]{width:100%}.loginBox[data-v-45513616]{width:53%;display:flex;justify-content:center;align-items:center;border-radius:10px;position:relative;flex-direction:column;overflow:hidden;padding:0 25px;background:#fff}.loginBox .demo-ruleForm[data-v-45513616]{height:100%;padding-top:3%}.loginBox img[data-v-45513616]{width:18%;position:absolute;top:20px;right:30px;cursor:pointer}.loginBox .closeBox[data-v-45513616]{position:absolute;top:18px;right:30px;cursor:pointer}.loginBox .closeBox .close[data-v-45513616]{font-size:1.3em}.loginBox .closeBox[data-v-45513616]:hover{color:#661fff}.loginTitle[data-v-45513616]{font-size:20px;font-weight:600;margin-bottom:30px;text-align:center}.loginColor[data-v-45513616]{width:100%;height:15px;background:#661fff}.langBox[data-v-45513616]{display:flex;justify-content:space-between;align-content:center}.register[data-v-45513616]{display:flex;justify-content:start;margin:0;font-size:12px;height:10px}.register .goLogin[data-v-45513616]:hover{color:#661fff;cursor:pointer}.forget[data-v-45513616]{margin-left:10px}.forgotPassword[data-v-45513616]{display:inline-block;width:20%}.verificationCode[data-v-45513616]{display:flex}.verificationCode .codeBtn[data-v-45513616]{font-size:13px;margin-left:2px}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-45513616]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/bgtop.d1ac5a03.svg);background-repeat:no-repeat;background-size:115%;background-position:49% 47%;box-sizing:border-box}.headerBox2[data-v-45513616]{width:100%;height:60px;display:flex;align-items:center;justify-content:space-between;line-height:60px;padding:0 20px;padding-top:10px;box-shadow:0 0 2px 1px #ccc}.headerBox2 img[data-v-45513616]{width:30px}.headerBox2 .title[data-v-45513616]{height:100%;font-weight:600}.imgTop[data-v-45513616]{width:100%;display:flex;justify-content:center;margin-top:2%}.imgTop img[data-v-45513616]{height:159px}.formInput[data-v-45513616]{width:100%;display:flex;justify-content:center}.register .goLogin[data-v-45513616]{color:#651fff;padding:0 8px}}.split-screen-editor[data-v-58290ecb]{border:1px solid #e0e0e0;border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.1)}.editor-tools[data-v-58290ecb]{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;border-bottom:1px solid #e0e0e0}.mode-switch[data-v-58290ecb]{display:flex;background:#fff;border-radius:6px;padding:2px;box-shadow:0 1px 3px rgba(0,0,0,.1)}.mode-switch .mode-btn[data-v-58290ecb]{padding:8px 16px;border:none;background:transparent;cursor:pointer;border-radius:4px;font-size:13px;font-weight:500;color:#7f8c8d;transition:all .2s ease;display:flex;align-items:center;gap:4px}.mode-switch .mode-btn.active[data-v-58290ecb]{background:#5721e4;color:#fff;box-shadow:0 2px 4px rgba(87,33,228,.2)}.mode-switch .mode-btn[data-v-58290ecb]:hover:not(.active){background:#f0f0f0;color:#5721e4}.tool-actions[data-v-58290ecb]{display:flex;gap:12px;align-items:center}.word-count[data-v-58290ecb]{font-size:12px;color:#7f8c8d;font-weight:500}.editor-container[data-v-58290ecb]{transition:all .3s ease}.editor-container.fullscreen[data-v-58290ecb]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;background:#fff;border-radius:0}.editor-panel[data-v-58290ecb]{border:1px solid #e0e0e0;border-radius:6px;overflow:hidden;background:#fff;height:100%}.panel-header[data-v-58290ecb]{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50;font-size:14px}.panel-header i[data-v-58290ecb]{color:#5721e4;margin-right:6px}.panel-actions[data-v-58290ecb]{display:flex;gap:8px;align-items:center}.editor-content[data-v-58290ecb]{padding:0}.tinymce-container[data-v-58290ecb]{width:100%}.tinymce-container textarea[data-v-58290ecb]{width:100%;min-height:500px;border:none;outline:none;padding:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.6;resize:vertical}.content-display[data-v-58290ecb]{white-space:pre-wrap!important;word-wrap:break-word!important;word-break:break-word!important;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif!important;font-size:14px!important;line-height:1.6!important;color:#2c3e50!important}.preview-content[data-v-58290ecb]{padding:16px;max-height:500px;overflow-y:auto;background:#fff}@media screen and (max-width:768px){.editor-tools[data-v-58290ecb]{flex-direction:column;gap:12px;align-items:stretch}.mode-switch[data-v-58290ecb],.tool-actions[data-v-58290ecb]{justify-content:center}.panel-header[data-v-58290ecb]{flex-direction:column;gap:8px;align-items:flex-start!important}.panel-actions[data-v-58290ecb]{align-self:stretch;justify-content:center}.tinymce-container textarea[data-v-58290ecb]{min-height:300px;font-size:13px}.preview-content[data-v-58290ecb]{max-height:300px;font-size:13px}}.preview-content[data-v-58290ecb]::-webkit-scrollbar{width:6px}.preview-content[data-v-58290ecb]::-webkit-scrollbar-track{background:#f1f1f1;border-radius:3px}.preview-content[data-v-58290ecb]::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:3px}.preview-content[data-v-58290ecb]::-webkit-scrollbar-thumb:hover{background:#a8a8a8}.usage-guide-panel[data-v-58290ecb]{margin-top:20px}.usage-guide-panel[data-v-58290ecb] .el-card__header{background:linear-gradient(135deg,#5721e4,#8b5fbf);color:#fff;border-bottom:none;font-weight:600}.usage-guide-panel[data-v-58290ecb] .el-card__header .el-button--text{color:#fff;font-weight:500}.usage-guide-panel[data-v-58290ecb] .el-card__header .el-button--text:hover{color:#fff;background:hsla(0,0%,100%,.1)}.guide-content[data-v-58290ecb]{max-height:70vh;overflow-y:auto;padding:20px}.guide-section[data-v-58290ecb]{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid #f0f0f0}.guide-section[data-v-58290ecb]:last-child{border-bottom:none;padding-bottom:0;margin-bottom:0}.guide-section h4[data-v-58290ecb]{font-size:18px;font-weight:600;color:#2c3e50;margin-bottom:20px;position:relative;padding-left:30px}.guide-section h4[data-v-58290ecb]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:20px;background:linear-gradient(135deg,#5721e4,#8b5fbf);border-radius:2px}.function-grid[data-v-58290ecb]{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px;margin-bottom:16px}.function-item[data-v-58290ecb]{display:flex;align-items:flex-start;gap:12px;padding:16px;border:1px solid #e4e7ed;border-radius:8px;background:#fafbfc;transition:all .3s ease}.function-item[data-v-58290ecb]:hover{border-color:#5721e4;background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 12px rgba(87,33,228,.1)}.function-icon[data-v-58290ecb]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,#5721e4,#8b5fbf);color:#fff;font-weight:600;font-size:16px;flex-shrink:0}.function-icon i[data-v-58290ecb]{font-size:18px}.color-icon[data-v-58290ecb]{width:20px;height:20px;background:linear-gradient(45deg,#ff6b6b,#4ecdc4,#45b7d1,#96ceb4,#ffeaa7,#fd79a8);border-radius:4px}.function-detail[data-v-58290ecb]{flex:1}.function-detail h5[data-v-58290ecb]{margin:0 0 8px 0;font-size:16px;font-weight:600;color:#2c3e50}.function-detail p[data-v-58290ecb]{margin:0 0 6px 0;font-size:14px;color:#606266;line-height:1.5}.function-detail .tips[data-v-58290ecb]{font-size:12px;color:#909399;font-style:italic}kbd[data-v-58290ecb]{display:inline-block;padding:2px 6px;font-size:12px;line-height:1.4;color:#2c3e50;background:#f8f9fa;border:1px solid #dee2e6;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.2),inset 0 0 0 2px #fff;white-space:nowrap;font-family:Monaco,Consolas,monospace}.color-demo[data-v-58290ecb]{font-weight:600}.bg-demo[data-v-58290ecb]{background:#ffeb3b;padding:2px 4px;border-radius:2px;color:#333;font-weight:600}.shortcuts-grid[data-v-58290ecb]{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px}.shortcut-category[data-v-58290ecb]{background:#f8f9fa;border-radius:8px;padding:16px;border:1px solid #e9ecef}.shortcut-category h5[data-v-58290ecb]{margin:0 0 12px 0;font-size:14px;font-weight:600;color:#5721e4;text-align:center;padding-bottom:8px;border-bottom:1px solid #dee2e6}.shortcut-list[data-v-58290ecb]{display:flex;flex-direction:column;gap:8px}.shortcut-item[data-v-58290ecb]{display:flex;justify-content:space-between;align-items:center;font-size:13px}.shortcut-item kbd[data-v-58290ecb]{font-size:11px;padding:1px 4px}.shortcut-item span[data-v-58290ecb]{color:#606266}.special-features[data-v-58290ecb]{background:linear-gradient(135deg,#f8f9ff,#f0f2ff);border:1px solid #e4e7ff;border-radius:12px;padding:24px;margin-top:20px}.special-function[data-v-58290ecb]{display:flex;align-items:flex-start;gap:16px;margin-bottom:24px}.special-function[data-v-58290ecb]:last-child{margin-bottom:0}.special-icon[data-v-58290ecb]{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:12px;background:linear-gradient(135deg,#5721e4,#8b5fbf);color:#fff;font-weight:600;font-size:20px;flex-shrink:0;box-shadow:0 4px 12px rgba(87,33,228,.3)}.special-content[data-v-58290ecb]{flex:1}.special-content h5[data-v-58290ecb]{margin:0 0 8px 0;font-size:18px;font-weight:600;color:#2c3e50}.special-content p[data-v-58290ecb]{margin:0 0 12px 0;font-size:14px;color:#606266;line-height:1.6}.usage-steps[data-v-58290ecb]{display:flex;flex-direction:column;gap:8px;font-size:13px;color:#606266}.step[data-v-58290ecb]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:50%;background:#5721e4;color:#fff;font-size:11px;font-weight:600;margin-right:8px;flex-shrink:0}.slide-fade-enter-active[data-v-58290ecb],.slide-fade-leave-active[data-v-58290ecb]{transition:all .4s ease}.slide-fade-enter[data-v-58290ecb],.slide-fade-leave-to[data-v-58290ecb]{transform:translateY(-20px);opacity:0}@media (max-width:768px){.function-grid[data-v-58290ecb],.shortcuts-grid[data-v-58290ecb]{grid-template-columns:1fr;gap:12px}.function-item[data-v-58290ecb]{padding:12px}.function-icon[data-v-58290ecb]{width:36px;height:36px;font-size:14px}.function-detail h5[data-v-58290ecb]{font-size:14px}.function-detail p[data-v-58290ecb]{font-size:13px}.special-function[data-v-58290ecb]{flex-direction:column;gap:12px;text-align:center}.special-icon[data-v-58290ecb]{align-self:center}.guide-content[data-v-58290ecb]{max-height:60vh;padding:16px}.guide-section[data-v-58290ecb]{margin-bottom:24px;padding-bottom:16px}.guide-section h4[data-v-58290ecb]{font-size:16px;padding-left:20px}.usage-steps[data-v-58290ecb]{text-align:left}.demo-editor-container[data-v-58290ecb]{margin:16px 0;padding:16px;background:#f8f9fa;border:2px solid #e9ecef;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.demo-description[data-v-58290ecb]{margin-bottom:12px;font-size:14px;color:#495057;font-weight:600;text-align:center}.demo-editor[data-v-58290ecb]{border:2px solid #d1d5db;border-radius:6px;min-height:220px;background:#fff;width:100%;display:block}.demo-editor-container .tox-tinymce[data-v-58290ecb]{border:2px solid #d1d5db!important;border-radius:6px!important}.demo-editor-container .tox-editor-header[data-v-58290ecb]{background:#f8f9fa!important;border-bottom:1px solid #e9ecef!important}.demo-tips[data-v-58290ecb]{margin-top:12px;padding:10px 15px;background:linear-gradient(135deg,#e3f2fd,#f3e5f5);border:1px solid #bbdefb;border-radius:6px;font-size:13px;text-align:center}.tip-item[data-v-58290ecb]{color:#1565c0;font-weight:600}}.split-editor-demo[data-v-7b3906e4]{padding:20px;background:#f5f7fa;min-height:calc(100vh - 140px)}.page-header[data-v-7b3906e4]{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding:20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1)}.header-content[data-v-7b3906e4]{flex:1}.page-title[data-v-7b3906e4]{margin:0 0 8px 0;color:#2c3e50;font-size:28px;font-weight:600;display:flex;align-items:center;gap:12px}.page-title i[data-v-7b3906e4]{color:#5721e4;font-size:32px}.page-subtitle[data-v-7b3906e4]{margin:0;color:#7f8c8d;font-size:14px;line-height:1.5}.header-actions[data-v-7b3906e4]{display:flex;gap:12px}.document-config[data-v-7b3906e4]{margin-bottom:20px}.document-config[data-v-7b3906e4] .el-card__header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50}.document-config[data-v-7b3906e4] .el-card__header i{color:#5721e4;margin-right:8px}.config-form .el-form-item[data-v-7b3906e4]{margin-bottom:16px}.editor-card[data-v-7b3906e4]{margin-bottom:20px}.editor-card[data-v-7b3906e4] .el-card__header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50;display:flex;justify-content:space-between;align-items:center}.editor-card[data-v-7b3906e4] .el-card__header i{color:#5721e4;margin-right:8px}.header-tips[data-v-7b3906e4]{display:flex;gap:8px}.usage-guide[data-v-7b3906e4]{margin-bottom:20px}.usage-guide[data-v-7b3906e4] .el-card__header{background:#f8f9fa;border-bottom:1px solid #e0e0e0;font-weight:600;color:#2c3e50;display:flex;justify-content:space-between;align-items:center}.usage-guide[data-v-7b3906e4] .el-card__header i{color:#5721e4;margin-right:8px}.guide-content[data-v-7b3906e4]{padding:10px 0}.guide-section[data-v-7b3906e4]{margin-bottom:20px;padding-bottom:16px;border-bottom:1px dashed #eee}.guide-section[data-v-7b3906e4]:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.guide-section h4[data-v-7b3906e4]{font-size:16px;font-weight:600;color:#5721e4;margin-bottom:12px;position:relative;padding-left:20px}.guide-section h4[data-v-7b3906e4]:before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:4px;height:16px;background:#5721e4;border-radius:2px}.guide-section ul[data-v-7b3906e4]{margin:8px 0;padding-left:20px}.guide-section li[data-v-7b3906e4]{margin:6px 0;line-height:1.6;color:#2c3e50}.guide-section li strong[data-v-7b3906e4]{color:#5721e4;font-weight:600}.example-box[data-v-7b3906e4]{background:#f8f9fa;border:1px solid #e0e0e0;border-radius:6px;padding:12px;margin:8px 0}.example-box p[data-v-7b3906e4]{margin:4px 0;font-family:Monaco,Consolas,monospace;font-size:13px}.example-box code[data-v-7b3906e4]{background:#fff;color:#e74c3c;padding:2px 6px;border-radius:3px;border:1px solid #ddd}.slide-fade-enter-active[data-v-7b3906e4],.slide-fade-leave-active[data-v-7b3906e4]{transition:all .4s ease}.slide-fade-enter[data-v-7b3906e4],.slide-fade-leave-to[data-v-7b3906e4]{transform:translateY(-10px);opacity:0}@media screen and (max-width:768px){.split-editor-demo[data-v-7b3906e4]{padding:10px}.page-header[data-v-7b3906e4]{flex-direction:column;gap:16px;align-items:stretch}.header-actions[data-v-7b3906e4]{justify-content:center}.config-form .el-row .el-col[data-v-7b3906e4]{width:100%!important;margin-bottom:12px}.page-title[data-v-7b3906e4]{font-size:24px;text-align:center}.page-title i[data-v-7b3906e4]{font-size:28px}.page-subtitle[data-v-7b3906e4]{text-align:center}.header-tips[data-v-7b3906e4]{justify-content:center;flex-wrap:wrap}}@media screen and (min-width:220px)and (max-width:1279px){.mobileMain[data-v-5cb463fb]{width:100vw;min-height:100vh;background:#fff;background-image:url(/img/bgtop.d1ac5a03.svg);background-repeat:no-repeat;background-size:115%;background-position:49% 47%}.headerBox[data-v-5cb463fb]{width:100%;height:60px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;box-shadow:0 0 2px 1px #ccc}.headerBox img[data-v-5cb463fb]{width:30px}.headerBox .title[data-v-5cb463fb]{height:100%;font-weight:600;line-height:75px}.imgTop[data-v-5cb463fb]{width:100%;display:flex;justify-content:center;margin-top:2%}.imgTop img[data-v-5cb463fb]{height:159px}.formInput[data-v-5cb463fb]{width:100%;display:flex;justify-content:center}.footer[data-v-5cb463fb]{width:100%;height:100px;background:#651fff}}.loginPage[data-v-5cb463fb]{width:100%;height:100%;background-color:#fff;display:flex;justify-content:center;align-items:center;padding:100px 0;background-image:url(/img/logBg.3050d0aa.png);background-size:cover;background-repeat:no-repeat}.loginPage .loginModular[data-v-5cb463fb]{width:50%;height:85%;display:flex;border-radius:10px;overflow:hidden;box-shadow:0 0 20px 18px #d6d2ea}.loginPage .leftBox[data-v-5cb463fb]{width:47%;height:100%;background-image:linear-gradient(150deg,#18b7e6 -20%,#651fff 60%);position:relative}.loginPage .leftBox .logo[data-v-5cb463fb]{position:absolute;left:30px;top:18px;width:22%}.loginPage .leftBox img[data-v-5cb463fb]{width:100%;position:absolute;right:-16%;bottom:0;z-index:99}.remind[data-v-5cb463fb]{font-size:.8em;padding:0;margin:0;min-height:15px;line-height:15px;color:#ff4081}.el-form[data-v-5cb463fb]{width:90%;padding:0 20px 50px 20px}.el-form-item[data-v-5cb463fb]{width:100%}.loginBox[data-v-5cb463fb]{width:53%;height:100%;display:flex;justify-content:center;align-items:center;border-radius:10px;flex-direction:column;overflow:hidden;background:#fff;position:relative;padding:0 35px}.loginBox .demo-ruleForm[data-v-5cb463fb]{height:100%;padding-top:5%}.loginBox img[data-v-5cb463fb]{width:18%;position:absolute;top:20px;left:30px;cursor:pointer}.loginBox .closeBox[data-v-5cb463fb]{position:absolute;top:18px;right:30px;cursor:pointer}.loginBox .closeBox .close[data-v-5cb463fb]{font-size:1.3em}.loginBox .closeBox[data-v-5cb463fb]:hover{color:#661fff}.loginTitle[data-v-5cb463fb]{font-size:20px;font-weight:600;margin-bottom:30px;text-align:center}.loginColor[data-v-5cb463fb]{width:100%;height:15px;background:#661fff}.langBox[data-v-5cb463fb]{display:flex;justify-content:space-between;align-content:center}.registerBox[data-v-5cb463fb]{display:flex;justify-content:start;margin:0;font-size:12px;height:20px;cursor:pointer}.registerBox span[data-v-5cb463fb]{padding:5px 0;display:inline-block;height:100%;z-index:99}.registerBox span[data-v-5cb463fb]:hover{color:#661fff}.registerBox .noAccount[data-v-5cb463fb]:hover{color:#000}.registerBox .forget[data-v-5cb463fb]{margin-left:8px}.forget[data-v-5cb463fb]{margin-left:10px}.forgotPassword[data-v-5cb463fb]{display:inline-block;width:20%}.verificationCode[data-v-5cb463fb]{display:flex}.verificationCode .codeBtn[data-v-5cb463fb]{font-size:13px;margin-left:2px}.wscn-http404-container[data-v-a5129446]{display:flex;justify-content:center;align-items:center;height:100vh;width:100vw}.wscn-http404[data-v-a5129446]{position:relative;width:1200PX;padding:0 50PX;overflow:hidden}.wscn-http404 .pic-404[data-v-a5129446]{position:relative;float:left;width:600PX;overflow:hidden}.wscn-http404 .pic-404__parent[data-v-a5129446]{width:100%}.wscn-http404 .pic-404__child[data-v-a5129446]{position:absolute}.wscn-http404 .pic-404__child.left[data-v-a5129446]{width:80PX;top:17PX;left:220PX;opacity:0;animation-name:cloudLeft-a5129446;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}.wscn-http404 .pic-404__child.mid[data-v-a5129446]{width:46PX;top:10PX;left:420PX;opacity:0;animation-name:cloudMid-a5129446;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1.2s}.wscn-http404 .pic-404__child.right[data-v-a5129446]{width:62PX;top:100PX;left:500PX;opacity:0;animation-name:cloudRight-a5129446;animation-duration:2s;animation-timing-function:linear;animation-fill-mode:forwards;animation-delay:1s}@keyframes cloudLeft-a5129446{0%{top:17PX;left:220PX;opacity:0}20%{top:33PX;left:188PX;opacity:1}80%{top:81PX;left:92PX;opacity:1}to{top:97PX;left:60PX;opacity:0}}@keyframes cloudMid-a5129446{0%{top:10PX;left:420PX;opacity:0}20%{top:40PX;left:360PX;opacity:1}70%{top:130PX;left:180PX;opacity:1}to{top:160PX;left:120PX;opacity:0}}@keyframes cloudRight-a5129446{0%{top:100PX;left:500PX;opacity:0}20%{top:120PX;left:460PX;opacity:1}80%{top:180PX;left:340PX;opacity:1}to{top:200PX;left:300PX;opacity:0}}.wscn-http404 .bullshit[data-v-a5129446]{position:relative;float:left;width:300PX;padding:30PX 0;overflow:hidden}.wscn-http404 .bullshit__oops[data-v-a5129446]{font-size:32PX;font-weight:700;line-height:40PX;color:#1482f0;opacity:0;margin-bottom:20PX;animation-name:slideUp-a5129446;animation-duration:.5s;animation-fill-mode:forwards}.wscn-http404 .bullshit__headline[data-v-a5129446]{font-size:20PX;line-height:24PX;color:#222;font-weight:700;opacity:0;margin-bottom:10PX;animation-name:slideUp-a5129446;animation-duration:.5s;animation-delay:.1s;animation-fill-mode:forwards}.wscn-http404 .bullshit__info[data-v-a5129446]{font-size:13PX;line-height:21PX;color:gray;opacity:0;margin-bottom:30PX;animation-name:slideUp-a5129446;animation-duration:.5s;animation-delay:.2s;animation-fill-mode:forwards}.wscn-http404 .bullshit__return-home[data-v-a5129446]{display:block;float:left;width:110PX;height:36PX;background:#1482f0;border-radius:100PX;text-align:center;color:#fff;opacity:0;font-size:14PX;line-height:36PX;cursor:pointer;animation-name:slideUp-a5129446;animation-duration:.5s;animation-delay:.3s;animation-fill-mode:forwards}@keyframes slideUp-a5129446{0%{transform:translateY(60PX);opacity:0}to{transform:translateY(0);opacity:1}}body{height:100%;margin:0;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;font-family:Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}label{font-weight:700}html{box-sizing:border-box}#app,html{height:100%}*,:after,:before{box-sizing:inherit}.no-padding{padding:0!important}.padding-content{padding:4px 0}a:active,a:focus{outline:none}a,a:focus,a:hover{cursor:pointer;color:inherit;text-decoration:none}div:focus{outline:none}.fr{float:right}.fl{float:left}.pr-5{padding-right:5px}.pl-5{padding-left:5px}.block{display:block}.pointer{cursor:pointer}.inlineBlock{display:block}.clearfix:after{visibility:hidden;display:block;content:" ";clear:both;height:0}aside{background:#eef1f6;padding:8px 24px;margin-bottom:20px;border-radius:2px;display:block;line-height:32px;font-size:16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;color:#2c3e50;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}aside a{color:#337ab7;cursor:pointer}aside a:hover{color:#20a0ff}.app-container{padding:20px}.components-container{margin:30px 50px;position:relative}.pagination-container{margin-top:30px}.text-center{text-align:center}.sub-navbar{height:50px;line-height:50px;position:relative;width:100%;text-align:right;padding-right:20px;transition:position .6s ease;background:linear-gradient(90deg,#20b6f9,#20b6f9 0,#2178f1 100%,#2178f1 0)}.sub-navbar .subtitle{color:#fff}.sub-navbar.deleted,.sub-navbar.draft{background:#d0d0d0}.link-type,.link-type:focus{color:#337ab7;cursor:pointer}.link-type:focus:hover,.link-type:hover{color:#20a0ff}.filter-container{padding-bottom:10px}.filter-container .filter-item{display:inline-block;vertical-align:middle;margin-bottom:10px}.multiselect{line-height:16px}.multiselect--active{z-index:1000!important}@font-face{font-family:iconfont;src:url(/fonts/iconfont.5b7e587a.eot);src:url(/fonts/iconfont.5b7e587a.eot#iefix) format("embedded-opentype"),url(data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAB84AAsAAAAANsAAAB7oAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACKIgrTQMRNATYCJAOBRAtkAAQgBYRnB4RfGyYuM6PCxgEgIH0VRFEmKGn2f0qgY+xQ7mCSEVtlq9SoKuwv1Cnr08zEkkel3w43Ornq0AgWLycGMvPaIYUUfpot7oMWyRHZsMxQyoTnebve82beQOvZv/tBBXIFllCtKpWKKq1QEUWZDrqJK2GH57fZg6/wUSqUaMFowEAMaKNBrCKMzblSV6LuJq5Sl6Fr127T5ZW7qRdeuV2li3YBAXC5+xVRhGVj4h40QSNNOGxzvAOgzdHV1xs2Z65EvEkL7F61zf/dB97r9nr44sOUYUFC66vuuvYdEKOQI8YXnrfdbu8L1SUUZT7EhnKazQTau5GhYEnZ3ZYTXgIQJAsYWGQfzLS/mTsWGAIF25HlZIEDvAjS6ODVAgj4P51lK3mPq7uES717Ck64qKFO1/0ZybeeGRnG9oHWR1rWshwyBO7YAcCKoKgk+0BalA7loDcIVd7VeenTp8WmTN2maOtoW6Ix/RY0d03dTWHs/7HZPq7K4zmmjYgxxSisi3o/KODrNZmRec/V4OewWmLS7k9UMG+q5nrUAe8KNGON4mZs3lmTX9eDBMYeOQocJb+8+tMfuGCwIu7HtXSY7RsRvoztgAcznxxMbgc4sAEsYIJOwYrGg92nTpg67STcp/38dXASYKEU3sKXw5eUxcDGFUAqTIQUWcwcmjRbqMe/9BuTp/L1XWb5DXSjoZ68d7dg6775bz77P76AIJ5EQkvF10Lyv+N+e2WhYqXK1aWV12z1/4QH6NKjTk4sI6tDitamm8lmSEiqVqFVjUaVfOWKIkqvBnn1OtWqEipoEmjWoozD4mnnSkOlgBuHAKOkjPVCwAhdEIXQAzEQ6iAmQg6iEWKIhZCB2AhZiIPQAfEQUhAfQUMSCG2QJEI3JItgQsoYyRqVgGBAqhnRjUZggNEEDJbRAggVkC6EVkgPQg1kCkMxpgIjDWMxIPiQlQjlkO0IRcgOhAiyC0FB9mvVahwBhAbICYQ85AZCPeQ+QifkKUIt5CtCFd4tQgjxbgVCAe/OIDTh3UWEAO9uIzTj3WOEFrx3EcrwYYHAIcZRQLDwcbHAA+MXILTjc9HENWLqUEcaQB/MsAngmugO6SO4n6F2Z9RU12oWw9RMjbhkpWPZI4ps6QwAd7m5BkIjUQimNuI+k4euuGG6KrtOxcRRkCrGaeU1N9l2KhXHjZ5r65bemq0xjqOoUlcVdFRUYfjmbmayOe37nuv4Tmo0D6etWX66GBdSOuevVjRFixK2pIrpnCrGzdGaXRROtN04VlF7nF0PhaqpiiMn8oLQ1rDQc82dscXzorfArrJcvtAZhWEi4QX5phD9uGYvcTl9gFhGtu0GthWGg555GbckjhBVjBj0gKea47onDWzyVRjob5Zcn5KWA41o9RQaZV0bPQVy7fXklMQ1rgdC+wcy1Ve8nYpm0QwWVdMUmKzbJEfP3Q8g4Zx6HsD+rEx5TDSAOMhX3/9As9/N8jzlOTXPCpDowcQJAZL2FhrXTEGU7wvMfZrJ7J8UP0nG3rBXI3j4JX09egK/pe/JB/buSoRyDotJ8CEQosz3QRH2vJNR9uI2hJ8AV1v+7qUIveO0gk/Jref1AssDgJ39xXW4EJJC/JV4k8eKICkKXCyM8MbUqeJiP2SI/TVr9Mej4LtDTKdxSPpYD8CKgh0FZTaAuNSJm9ihklZiAiqO5IVoLkXSnSILgjS85VIrLdtMPA2wWFJaCccSzaxQUGepDeGvQWAMExdRb3zMB5p1tVS4gj5uUrRzIdrbPmGX3cmyYkOy9YFab2RoTtqZ6ugTwqyn7QAVif0oHPurmOyHdPMaszNC1QqQwEe8CyBIvu6okwsyTKchGaT9AJEgqKxafKPaiFU7XcoxlEsK7JJQEoGoNAqKQiBcfLIo7EvYoBYyB1EolFdRckAQmIkNhOpBwOJawVnpezUCjgRZVixhM8yGwtg2MwGoNey1M68VD7OBILT/SAcVa2gaNazU9KE2mBbanZHH5QHwxa/k+brbgUcv/g4tiGFouFroHSrCcZhaRG4RoxrHGo0wlZqtTAmxqQj151ps4tJYY3OztNXUaOA8k1uaTFYg0sef/+6zuNjUYt/Pt8UaOb2cO1Jzo3HHbZdbIvcX7scPNiaNaH15IaqEPNJDNtn1KSDGcTLLOtMklaOZxCk9UramENXCaC/FIhwHlXIkjnB3D+u7Dsl7+lYJQHJ5D3XP67ymLwPAn//U0pRndQVS29xSqGOf6kYHn2t2yRCracrjo8rI5NxUWo5LQlMUok9vgBJ885kQlpWRi+GS0L7GKAMhSIau7MpgGOB+LVeka1rxCI2VSK/c0tjUNM13a1sdWrtdMYXFulYb1r4oe/ew36IIfc8yP5wIEakUx131DpTgt1epo9C8FXd5B3HRbkTLX29H+Su875W9WTEGCR+Pyj0P4GUjm3rlzArAoiiYJrNlQbIgCdos3qyPxSi2bEN4cbdizaMjxp638jHncQTJco6oMgwAog4oahacplQ83UEyZYwt6wYg1ICQbsXXYogNABwzYnE6DHA8JHAGnMBdXu5gbe1TjDuSZt1x2kTVvCuwF3W63S5Zd658Qq3czWQLnzITlGDjZLQ4Eo30nh3GOQZo60ZD5xlEiSAwd1bR7wpBPs5yV75R9Lfdqe7dl3ueEm6rCcU6Eujya14xM6jU87DvsyAgnDdxWx7l/PJ+ttGXw3jkFXszRkZff7ls7rylixcuXzB/xaJToFfxUCdaL0AZNW8PvSgx89nAzWvNjf6n6GKmv0yi5SiW8EJlvAy0ctFTJxe8uT04if15PWxB33DPGvqg1y9cczzKaz3vmwCbBRiv1t1U9102VvTQzr4p12ePwUnd87xtcgTTTME1obsnCfNSwqnRVCK2OxnDcECZkUxWFGFTvOMhyu+XvydZXE8X+u5/slWdhTSRUm6llZKs8VbObU+n5Y6vO4K6wtCLJwJ71NMjdvtftn1pmsmGAWljV9cc4iEsowbASUFg/byAFM1ENOFqci5Vm+udDe9+mRzdzXbJtXgSCsBDD+CRZ7NAT8QvIq3z94u7Byqys4DLZGkI77+5DdNaziWFqoZEOcz2gOTe4Wz3bXLjsVDDl1PPuzDggzG9u9w0sydYwiMlgoT/1IrnJe5oeMk3W6lprKnY4y+ws6JoJi5dr4XFqHUrc7NzCNHyO9UOXtY9z+wspKRBTmRoz+kUBFZxN+DBAfYWGgnRFJ9terWsFd4SkmCHnXZzMfmuVp+pd9mcYEMg9yxoDVwZiNPKJEkkF2+zAtFq2YCTZRahJnqcqdkKU8yOzP411YpDazWXzzMBVbbcWRWoVMmUlxvOobdbVM2FCr3OCHalylwlV+3OrJk0YopBZVmkbGuQqB6iOy0i//+vDSaO/ada8LuAIq+XIV2eepazD2NyH353jLH5X3h3ljyjvp/pfQ4PhfoyhQcFoW/BfieE2Qcnf1+I5DuXKHsRfQ8h+SAI7B0A+K1GnQfON9njfbEeSSiR1iXqnYbNFnHfV00n40q/NPgC3+BEJmel5CDQ3VtwzrdOs2ySypAkCFh6xSHJxZEwaC4FMy1QaCdAye5xwt7w6JBRp2BsHvAEGyKjdBgPnMLvSiOCSp/fIrdfsGc38Y2nGu3HA/6PYPC439XYy4+MnK3mu+t7NcjnP59f9C4jXfquwqsmv65HFf15z2oGzkdjHNC1JaoSor3X2mGxri7UlGWIOGbOwrhpAVuwqM7vx6zS2sWNDh0ldS2LXT4W1Kh5PIyOBUNYU+wtNVCESpzrgVqvAkwh9JRtS73W2z1FYBghX40G+vAchWvSVoO6RN7RyxXVFJOt5WPPQKZ3/IFFEclqY4NZdSLZ2vUAXc4I6Zzw/783/O9v9cOTlRXiDA7azILg+9DPvn9IBL0mP+HQfCzuzdwc/8PB8f3eN9Ff+OJEv/7KV8UIDIItdhbIxlsRW36yyjStvHGeTUTvj3a/vrHebNDm4rnRMVOsqQu2qEqNKYKcpq19sTfP6nYsLKx0x3idVGvWvfKXSq48I21P/LKtZkE/WbfYgnvGoBdi39fHZYFyS3JrXBF+1eIOOAZhut29pwAET7xX0nqDpksxi1wb7HXcIOXecwAgXeMYPVr0QX/XI50ZIuyc05avUChtYlyNTBhVx3qqBJAcMwywHNtZX8+CwUSqnHZnkelIIcOVi62CGLbz0y3eDCtGbHEwOC+G5FnqQkuyYCetx9ga7TX3PGX1qRF15S+T97dNWnvtOzVfE8DDHX/Alu0JixLVkT3161+v+mniQX2RsnhxksLzIHBBp6BauYyTSIpJdp00iOyREBUL0dhkSN4zjgGwEFkzCXmfw3Z8yhKTYhXcrBPq2fsTbEhcpcnI1mXOwf999fhfG0cqRzzJcI+/AvCeY+BD+alx//rst26+cWrLt0DgjvPu3z7717jyU8BPOtEAl2e/Q4Dkl/8Xpsc3ScAcSVq8c+pVFrccMQjq0A2dSf0USv8FnyMGdYjBHch//rE7WhgERsvCFt1vKN+W9+9sHQUflo/GpkdKA9QaSZZaIlFLI+PSrs13HiDbMV47bIqW1l9EqUFRkXl5kdWaPiIvKlhk+qW1DNvbEVIb6lj4fZkf9lRIRVCpSZEaeyIt1qgo2HkT7RM8xCviFsSmREKIrtAA7VwL3yRIs/o8oE37lApyBJnzHca3AvQczRy0RhuN1kntWepRgvj1cEdUTkREbuRxEVNNSmGKOyJzlVRkwmp/Tb2Sgx3hvCG8ob2aasqKV9Kapl7RCJwR7C81m2hTNG+cJL6AD+Fz07gG7uzZHAMvbb/AUJ4Gbhr3QCrXyJ01m7uh+w8pQwf4pHJzs7tmqxuTkhtTmrwEBgKFd9NhdVKjGkSToINN6o5agg7v2+2zXkGmRwVQFD4bfFbgdYSyaNpo0I9BU0H3QDJ526PgB9Pb1cWSwugsqSYgJSWgfH+i+NWT7Mk1Y9HmqChzNBqWdifWb38Q8iCCiMJIWb07HgRPhUx/9Z2js3Q2nnqPtpWBQSEizZaoaNpU8BQtvi44JyekDhxnZURqUw9sTbMRB8W28IwIi98WcH/PXr+wpYP3K9feF96PKRXnloZx95ius0nrpEHmx3px4KnoLMpdeBXOLbm5Mq4sJqYsrvIXgXNlMfud/3KI1aun59ADnj85DlY6wM+fEwTTmmlBTkhwampwAYEzhHBti539FITS2z0VOKQ6wVfBLgAO4MudsVgKBgaC2z/RAfD3lO+P9FFfAa+fP83v5z3Cb+dLfafoU75SoQsWPhKiXcJpoQstJOh5umKk7YLfR+xj/Bjfe3ylGCEcZMfAlSLgN0gb4fXzQh6Qhy5w5ZG3xWvkdO8Rr0N6fWbGCZlCXDrvCo/LSHclfXFAHy/gETRXxZXFxpbFVf0iMNSTV8X94hpDU5h2a83mrKMCv7I5yho9qnQOGQSPkmxx8RbyENkSH2ePxhTExdnIn5Ms8fEW0igIaUcg3EwS0w2BAM+EP0YlgV8vUH/vPHB9a7mpuFAwfOn0If4K8lU/Pzrjc2Gd4HN2QiAY4neTjovEAv5VoZMEYnO3AU/PJjN7PvtsPo7EJOHmN7uHSWb1eAUtoOvR0DSRY774yTXspa2zxVL2mkmgb/7x+5Eulxqhy3TwtaAHiuhHIY/yD+GDoC+4EUA57sqnF9hCbQV0IdCBE9aFjEehjxgL6Z5Qzz/X+9yXz7BcxMIQEnSENdNh07Ufwj4AXOMpAlcAd31rqywOkohMvduymJZYisNXASpcbW0gShgFDhwkRhGz8/1//WlftnYARD0d545zuDWcsBvc/dwboZwaLnucS6uZJk3rNtdw3Bz6NJ3T6geFf11bOaHToRz3aCGW5D8lxHcE5HO37ESlaLUWsmVujJcXynsl/huijPDmNUmoIAtevqyCNz579vQZFfWNV3B4v5gk+kZEEpODgZ8EN4VAtFMEhKuDcbVMUgt5J7mFdHNV0Xp4DDNEuop5Yl8lDYHYSDTI5Bk42tkOvf94+qxUo6FlocHoY2wx6BU1rSz9Z4P/LAdXyzOALG9vpg/C5z39PbiwUCmR8wsLmyOWAgw1mIJiY+jeTG9vpTpGXlIcU5VbTNgstCqnMiKIihrJv7vwRITeVhWpfzj/bj6lj/IHNiSow4eGCx5CndDDghEw3J6SQm47VroUz3Er3Rz80tJjgA+5nBXSEsnq1ZISacWYwFCvXiKpkI5R3FFdZxbWKqvi4qqUtf8R+MpVcbXK/1zeBbaxV0PiS1uaj4rpGpjyfQOdSaPec/cLL/0LwGjOEh9ULxpC96JIOA/vn1//6Raje1C3siRaiVodoJHuFjCERC3RZt1C9TB5XoMG3YKF+tUATDWsSF4PE+GYhCEdst5ogDyW1i2alxZwoXTDfJ1uQU/K3KoojX+K9Nc91QJFnkGiC7B2orP3V3He83OmCQ/9rHojK2pu8jxN4n7zdfpkuVUmszplhdZop8An4ZRZrTLwQl4YHV3ojLYWypysTyRZuC9YH7xfv5+pZ+7b40pKdN05vz4za/15oFu78j5expHhf9Xi318ZI/ktK2A3W22nss+wxPYo9m5WtE3MOt0wYsfuZrt/YBxiN6f7NEgYb29VOZQ1tUq76qnA/sqaBEdrmShfmONanMvL5B5FrDxe+2Jhjji/zFEWKyvZpssWXpSXxsnDrFmy0gb4MuTH31WaA3MDlQZ7dWEG4zMTKzuV83karTb3ZnyWJaQwzAbAVITLKS2XlKxZUyIpl44BAIUb/KHLxyi9Hn2xIyNWrcrxMmtS7ZM7VC9drug7SWJreEx0QUF0o8ARY8Kt4qRMQfmaAjyJTcKrVHa7qtW+4ip7y4LyNSMJoo1BhqCNBu0/BLwnUYO2fjwxZ90SmDczNIeVwQmdUYbAFbrnJd4iTqZXPioH1vj8bT7ik4dRx68z3vtxmFnqdDPxfpfxC1+XNlXuiyftb/j9MspWSU/LUP1KoTO4jX8knNjLzpq7LXDz9IrtVUQ94QSsPf853EU0k14QLMS1mJ0k7CaMDWYQabD3BdhN7ICrGT/2FTDYY/tIgB+PW1q6uZ1LsLB/+oJyFgr1l/iH3lGrZVJy2qJV4o8ut4SE4EgFeCpasXiAEodbw8ghRQ3emRH6nFpwbFvkpRVmxdPfur7zZaFyVYuciTal0pbofJ7o4LAtwal6rsrahASbyvFc5YR/rdKZiD6Q2VCqKJTJixQlk9guLyyU7y7flCiK5LLCmJJJbJcVFcngAvboleb8DRvyjwKcPapXBUY/UTgS8KIONyU8LCszrIxAGt4B37UIr5TZxpwiY74ul+qkNZrG84y5Oie1gTZhNJr1Oe4QYgfH2t752/my7PCM0NCM8OzLBOYyQvc7v3z4cYtm5i1HLL9Y+mf3RWJbOWg7fKgB0dgIjgY9ESwJVEwL/z5S1aFI0xy82zc9Z/snTe79iJCt88LTEq+Cf/OblWr1vnP/Q+00dmTaxpoUSfa3d1XtOKF+h7Z4c+D7LYH9K8syJK/Y2OdH7ujVqtJ2mSvv5RtYCzNQt7ecy0QtNLDy71UCE9vA1tU3G0TBfT3+An93VlpmmvvZtMeaT0kiADaCkMRbS6BKgwdsIl6ThATAU/J4BIqDKysCfCjEWUH/5sit6pmTog6+QN/5y/FzGecyXqdAz+8Qn5iZO3jpTgXdkVxZRD3UIrkVSuggKb/7t+kI/wjifackdRBUg5LuLUXUwOsWCBqKTLZ89XUvs7e+3lJ+Q15elvx84En++5JoNXc10hNk+K/k2wc8k7lRxa0fpJMGavMEzubpjnVikoFkwk8OPMMR0+3D0wardSDCUC9LFu1jGpj7DFpbYJJ3MlgfGKgPvh4UaNAHBmtVWoldcl1qkZ7E1nVJgdRFmBcwBF0PDtQ7TzXsC9AG8BG8sqyl7M4WHMB+gwW4n7GrmbHbk4axRH8SdhiH8AeyZcCSAKdHt6ckUsKC/khPNs/uRpnxkvFqrimxvEoxt1rhsCaf0wzBTAcGba1fmcf5aKcgONBoCDIrWpAxWHSPIcFg1lPXw5iEmOI4WaWyraYq15SYX2OK4uTHdsz6N9T4RDAS3nLBr4LNBAleQtgsiG4UE3VcPVFMsHDN+O83Esw8M0H7xOilQo/+sfax3gN+YYqBiWgiGcnmDdywicTxsETOeOIEh9vvJ4xShSaBCdiKMCFhpSpsRRjHio6KjsSFxtmAdxqsVE0QDUNBFqm+h6v9PtO+Fj7uSBFfzwJpXOIq31Ifj+PxAXVsCv/9pSK+jlmdI4i+/igmwuI7DS6FnRzJsFCbFj18GUyrGpvxMz58sUWjZVpOjUSxqH60XfG9nb/61d393r3xcWpmml1HelgU/x7X4aaP+M6TxYvb1BNGZ/GS3d1Iw/kUZMtnU07ThAB89mO1Tym3kL1yqcQitValhfVcGaaupA7LDaH9vlZsTaxZkZcnt8QM63OCcoNy6rC56pYhYYtwyKHJ83FmB+YFZmOKIk2VUalwUTazKtvXkZxHahnYtHmltb1C+vXVnb22gHPX0/NrOmy9VkA4BG3CboJCkdpVkXkhUBeuC7K0ueDFBjhPRJOdRqTINXDHDum6dvlGWt1GejF8uwTr5YMtue0/YVbZlaoa3xu+iYdFcwbvO9Ur87WrFmjDYRyn2S3sWLkulmXN7WI1R5Roydru18ysEdRf1C9BGAlmItK4Ko/MhzFMgo5rjnqUM6euLqUVpbO2YmJev0Cg3Tg3+mOtUHROKBGKBJLRpZu8NkEv2lC9uF5UAyrITxoFqgYeH/vwKD3jfnHxjp3YIqyXfONGklY7GtAjvpqW6tA4/rdr7CUl49mtHR0kGWnZMs+HM52e/uP4U92WzW4/7/LkEla1f5mL4g7opSxhFrCKNNal7h3E0W2zpZVga02YKWmrLtVS2yOGVXxLZUq4ZboVYgq9BZYUzRDZPSNIpJAjjdA/S98gR/qwooaH3zyM3YZLv+1/Ox3Xlt7Wo9zxu5M+0gYzw+VPmehmck+kgUGLQu5T90NtGW3IvoBjlDbY/6ksmZHiH9J2Z0Yb7Vt5HxHWJfFbw/4R2l/Xoxch+iR95EUZi7Dn0/3Tz2P1KrRMZYgntlF83fktujz4EsH2+NJjG+GV7cy+iIzluJK5bm3mtc8zrphMoz/M0qtyDsEXU062Lz9muqIf/bLl6pOYi9mH9KpZP4waTRlXwGeZ19atvZL584+wuWpVX9ox2BQ6dLob0ZqU0YTSnq9Z1YROP2Q5NbMnFeXIyp+9xK+mcUWL8LdrGLtt+vTT30gt3Y36clTqIW0WevL48f4W91h1mDoBLpQbrcT0MH9zQI7LxJBkbL97V9fYeOxx+FzMOj224Q5cnJWZB3tFznhjCQwCFvGDZA0R+9jvMRaejIki5qO91DNeWED1ys/3L9mQiqUOkbVLew0tLmh/76ndgwtQuqkDSgKg9HUAVANA6XXSIRiA0m4/QRUAlNppMlZ+tRfiKC5UqMN7j5+hKgDA1JADK2W5t9Di1v/YCtEBKD2wHxKySnOQF8npf0buO70Pcb7ZG+TvngDQEPF1ksakoVzv55BC2dWPocq1N/Cg5FIBeQMSit7SdfNoWJQudckVQJQuW6Al8JjfQOmgDMcbUiu3XIMSSx1u8IyOGodyoq45Cq2lJ0Um6CVfq4RC0upOU3loLsRTDvoVKqXHoxARR3f6BLLzrBlE/k27WfIKpdMk1Flqh96lZXYHoeh/8jsQeFe/4UYFQfUC9v0v4OCrQ6YykvKMnvboIU4fLsOvpPAHPrPed3xQT+2lH/ri/xvpuPFg7lvQkt5HvPdZnM4uQCvQ5j5X/r6lFZv66v3g73zbMp6idJabaNS16VvV4KhQTa56WS9tVy2BftXmmqT6OsyaO5C1E0TFHtDs8EpVUk6phoSrqinlsayXPlEteW9VW8o/1bc6wIULNC/+7cVxCLyh1ZHqGo1QJpB3+sll7MB5Df9y5zUGKcsK58QHN9zFEeBHWYYgqHDY0/fN8fGuQzo4bHkdMhXC8JznghaQ1difvTgOQbtwQ1XHq+oajbjzYP/1fXIZO3Cc8q/pvELQO6eYTMEhf3DDtUtBqv0oSwGZgmLq0HhPve8AtNuOIjXQ7ZbX51JGRbCHZ7l6Z4KXZ+mn+x7Hz9rdbu+nLEuBBgMWHHgIECFBhgIVGnQYzVa70+31B8PReDKdzRfL1Xqz3e0Px9P5cr3dHy+vEjA2gmHTvwZz0I6bxOozV4DXJxWPmgygD5FdP9771KMLqYhdt/xHIw/a7LlRgImIJ6X/8HrDiWYx8opJFHWipJniKGcnxjbxsoBxrXgMJpgGP+8Uce49wTYejN9N0hqH48zWw9i0AzrSwfFxFWHHdQ8hykInTsJVlMn1loycaKSKk2Le+hRJE7XEWOxz0hVRolYCMwjCkqw4DOCyx7JIh2Qyk2d6FQSXj7PSgPNaxYxz67i5L5Yvzl08qWpJzwL1HyMnqTiSI5hWJ5MkgpEYBiTggguHAPVOIRWKpdn0x79JSoQgXt/W6ZmjgZ2KZeIzwhZE6TfNlj87AwAA) format("woff2"),url(/fonts/iconfont.822d0662.woff) format("woff"),url(/fonts/iconfont.f799a9e7.ttf) format("truetype"),url(/img/iconfont.39b68b2e.svg#iconfont) format("svg")}.iconfont{font-family:iconfont!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-anquan1:before{content:"\e671"}.icon-lianxiren:before{content:"\e61c"}.icon-qianbao:before{content:"\e613"}.icon-zhuyi:before{content:"\e60a"}.icon-paixu1:before{content:"\ea8f"}.icon-paixu:before{content:"\e617"}.icon-sort-full:before{content:"\ea4b"}.icon-kongxinwenhao:before{content:"\ed19"}.icon-fuzhi_o:before{content:"\eb4e"}.icon-fuzhi:before{content:"\e64e"}.icon-fuzhi1:before{content:"\e8b0"}.icon-guanbi:before{content:"\e84d"}.icon-guanbi1:before{content:"\e66f"}.icon-guanbi2:before{content:"\e61e"}.icon-youjiantou:before{content:"\e624"}.icon-hengxiandianzuo:before{content:"\e609"}.icon-youjiantou1:before{content:"\ee39"}.icon-sanhengxian-copy:before{content:"\e605"}.icon-hengxian11:before{content:"\e606"}.icon-icon-prev:before{content:"\e603"}.icon-zuoyoujiantou1:before{content:"\e604"}.icon-shouji:before{content:"\e692"}.icon-youxiang:before{content:"\e908"}.icon-shouji1:before{content:"\e853"}.icon-yonghu:before{content:"\e667"}.icon-anquanzu:before{content:"\e654"}.icon-duigou:before{content:"\e627"}.icon-anquan-:before{content:"\e640"}.icon-shanchuzhanghu:before{content:"\e6f4"}.icon-diannao:before{content:"\e625"}.icon-morentouxiang:before{content:"\e62f"}.icon-touxiang:before{content:"\e6de"}.icon-zhanghubaobiao:before{content:"\e602"}.icon-chongzhi360:before{content:"\e6bc"}.icon-gerenzhongxin:before{content:"\e689"}.icon-zhanghuyue:before{content:"\e63f"}.icon-anquan:before{content:"\e8ab"}.icon-yanjing:before{content:"\e8bf"}.icon-yanjing1:before{content:"\e8c7"}.icon-baogao:before{content:"\e62d"}.icon-zhanghuxinxi:before{content:"\e60e"}.icon-a-fenzhi1:before{content:"\ebf9"}.icon-kuanggong:before{content:"\e607"}.icon-suanli:before{content:"\e6c3"}.icon-kuanggong1:before{content:"\e600"}.icon-kuanggong2:before{content:"\e60f"}.icon-suanli1:before{content:"\e601"}.icon-shishisuanli:before{content:"\e676"} \ No newline at end of file diff --git a/mining-pool/test/index.html b/mining-pool/test/index.html index af2fccb..5ac410a 100644 --- a/mining-pool/test/index.html +++ b/mining-pool/test/index.html @@ -1 +1 @@ -M2pool - Stable leading high-yield mining pool
              \ No newline at end of file +M2pool - Stable leading high-yield mining pool
              \ No newline at end of file diff --git a/mining-pool/test/js/app-42f9d7e6.ddb7a461.js b/mining-pool/test/js/app-42f9d7e6.ddb7a461.js new file mode 100644 index 0000000..caa48f2 --- /dev/null +++ b/mining-pool/test/js/app-42f9d7e6.ddb7a461.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[282],{857:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114);var n=i(47149),o=i(6803),s=i(82908);t.A={computed:{key(){return this.$route.path}},data(){return{isLogin:!1,bthText:"English",token:"",accountList:[],miningAccountList:[],isOrderKey:"",activeIndex2:"",isDropdownVisible:!1,activeIndex:"",jurisdiction:{roleKey:""},ManagementShow:!1,currencyList:[],activeItem:{value:"nexa",label:"nexa",imgUrl:(0,s.getImageUrl)("/img/nexa.png")},customerIsOnline:!1,userEmail:""}},watch:{token:{handler(e){this.isLogin=!!e},immediate:!0,deep:!0},accountList:{handler(e){},immediate:!0,deep:!0},miningAccountList:{handler(e){},immediate:!0,deep:!0},$route(e,t){"/miningAccount"!==e.path&&(this.activeIndex="")},activeItemCoin:{handler(e){this.changeMenuName($event,this.activeItem)},deep:!0}},mounted(){this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(this.activeItem));let e=localStorage.getItem("token");this.token=JSON.parse(e);let t=localStorage.getItem("accountList");this.accountList=JSON.parse(t);let i=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(i);let n=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(n);let o=localStorage.getItem("currencyList");this.currencyList=JSON.parse(o);let s=localStorage.getItem("userEmail");this.userEmail=JSON.parse(s),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("token");this.token=JSON.parse(e);let t=localStorage.getItem("accountList");this.accountList=JSON.parse(t);let i=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(i);let n=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(n);let o=localStorage.getItem("currencyList");this.currencyList=JSON.parse(o);let s=localStorage.getItem("activeItemCoin");this.activeItem=JSON.parse(s);let a=localStorage.getItem("userEmail");this.userEmail=JSON.parse(a),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1})),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1,document.addEventListener("click",(function(){const e=document.querySelector(".dropdown"),t=document.querySelector(".arrow");try{e.classList.contains("show")&&(e.classList.remove("show"),t.classList.remove("up"))}catch(i){console.log(i)}}))},methods:{toggleDropdown(e){if(!e)return;const t=e.currentTarget,i=t.querySelector(".dropdown"),n=t.querySelector(".arrow");i&&(i.classList.toggle("show"),n?.classList.toggle("up"))},changeMenuName(e,t){if(!e)return;e.stopPropagation();const i=document.getElementById("menu1");if(!i)return;this.activeItem=t;const n=i.querySelector(".dropdown"),o=i.querySelector(".arrow");n?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(t))},handelDarkMode(){},async fetchAccountGradeList(){const e=await(0,n.getAccountGradeList)();this.miningAccountList=e.data,this.$addStorageEvent(1,"miningAccountList",JSON.stringify(this.miningAccountList))},async fetchAccountList(e){const t=await(0,o.getAccountList)(e);t&&200==t.code&&(this.accountList=t.data,this.$addStorageEvent(1,"accountList",JSON.stringify(this.accountList)))},async fetchUserid(e){try{const t=await getUserid(e);t&&200==t.code&&(this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)))}catch(t){throw console.error("获取用户ID失败:",t),t}},async fetchSignOut(){const e=await(0,n.getLogout)();if(e&&200==e.code){await this.$store.dispatch("logout");const e=this.$i18n.locale;this.fetchUserid({email:this.userEmail}),this.$router.push(`/${e}`)}},handleDropdownClick(){this.isDropdownVisible=!0},handleCommand(e){},handleSelect(){},handelLogin(){this.isLogin=!0;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},handelRegister(){const e=this.$i18n.locale;this.$router.push(`/${e}/register`)},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){try{const t=this.$i18n.locale;if("personalCenter"===e)return void this.$router.push(`/${t}/personalCenter/personalMining`).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}));const i=`/${t}${"/"===e?"":"/"+e}`;this.$router.push(i).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t),this.$message.error(this.$t("common.navigationError"))}},handelJumpAccount(e,t,i){const n=this.$i18n.locale;let o={ma:t.account,coin:i,id:t.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(o)),this.$router.push({path:`/${n}/miningAccount`,query:{ma:t.account+i}}),this.isDropdownVisible=!1},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handelSignOut(){localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("userName"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1}}}},950:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJgAAACKCAYAAABW3IOxAAAAAXNSR0IArs4c6QAAElhJREFUeAHtnXuQHMV9x7tndvdOQkgCWZKxkITEQ5YB87AVCT9iEqgyTsXlyA42QVRcScXYzvOPkKeJLSrOy8RVxMSVBNuVqrhIxS7KJk5BKlWpQKiKX4hgwOII6CzLAk6H0Pt0e/uY6Xx+p7vT3Gl2b2e3Z2d2t7vqdzuP7l//+tvf6+75dU+PVi5kioAxZl01UDtMEG43Wu/AmOuUUYeVVqNKmVGjvX2+HAdqX6mkfqS1Pp2pwQkz1wnju+gdIACZlpTr6npU7FChETIh5uJkKvWYPkO+fUp7oyZUowWt9hWLahTyHU2mK/3YjmApYjxlzGWmSuukQ4iktwP2NZCsmFqWWh9D96hWZp+nvb2lgvompNubWn4tKHYEawGkVqJAnBWVutpmZlono2mdjFnVSlqbcTytnynSpHlaXYPeV5F3QLIDNvNIossRLAlaM3Ehk1etqitDIZGidTKMnbTayvVM8IRAZQj1dNHXF9N9blhQpBc4f2dW3WcmgCwAIPenEGdNJVDbGYhDpOmB+DaunZ+14VrpV31fjxb96dZqeRN7vs29m4WITeKkcssRbAGsEKdUq6lrQ7o6M9M6GWU2LYiW6Snd4HO+p8sFX70dQ7wWjfkW8T4IyYIW41uJNvAEKxuzUQbiSocMwqdbp+sh2ZAVdC0qgRhVur8nS75+A79b2lT9AHo+3mbatpINHMEgz/JKqH7ZmPBtJtA3J3cTtIVz+4m0PsyYfS8D9ytRsrp9RXMpd0Oye+bOUj4YOIJNVsJvQKqdgitAh8aocQbIr/P0d4pLNbmMDOPsXKk9tSYMzUrOux6wbaTg6SN0g9vI3HaLeif6v9SNQg0UwSZr5ndVGP51EmCpiJPEH4OAxwFLBskyhilyvozBzyp+L5JxWxKdjeKSl+j+Xqmgl0D66xrFs3Bd8tlJfv9mQVdTFQNDMMj1Tm3M45Ch0BSRhDeppBqtnXjXZXrnlApV1TAKxwe2hHsreEBYw/015NsYazzwdIM/KBT0ZURa6GZIaFHL0eWf5SZs/E7LKdqI2LjQbSjLaxIqd3W5ap6ma1yXiY2MowB6nLyPQbZJ7dE1Kzz6Ri2hG6zMdINZuD2OYNO7IJn4ylIJfU8wyOVN1cx/8MuAPj+BSq0PFabnFddnbNUB8r8Be8bSsKNVH0oaeXdF51Q13J03cknB8WM9TUeaNbnElI3Iv4NRM0etxGsr9HULRsv1XoAT8HJVToZozw8V9VvaqrH0Ej2G6ltoyao2s+jbFmzSmPX4IB7MG7mowIlSUa+xWYmWdP0Mev7JNl59STBAKqqa+XoWqxkWq+yCr1+iOX3DYvEyuv8R8r3bZt59SbByDV+XmV7QZxOrjnUx7tpT8FL1b3VsIwq22lAyq6PvCDZZMbfy+P/bswXMz68ew4FqtfLyU7bGlvQVwVhBeoXW5iuNi5vNHcZdhkH9cXI/LxsLssu1bwjGuGuJqZmH+M3CYdm0Bnlp49tM/Qxc6yWgWJ02aYpyyjenauHfMXF9dcrZJFZP6/UiKyG2J07YJwn6ogVjGujXINdH81YnkGuKrlFWQvTNP3JSjHueYNWquZY5xvuTFrwb8Zln3INLQjzlAxt6n2BBeBdPjaxm0CZPtYg9e5jEfleebMrClp5vuk9Vwl1CLqZf9nuePljy1YTvqxKku4iB9eUM+m0v1lu8nrR+fbioB7rlmgWp5wkmBYFEOjBmcxCqzbX6bNFkaao+4fvmh3RVRwu+Z3iau5CLl5LggrOx7B/h7xpF68AO7KOI9gXBogWKHrPmakU9UG+rB/SetWD6Fq1dQEv3Eu8QjtHCVYueWso4aT1xraxsQPcTEPmno3YM8nFfEyyuYmnt/CAwlweBujx6n0WARwqe9+OCF55kOodDbzXE20z8lpdD02LuZ42X7D3hwgwCA0ewRjVvQrOqFgar5K2PMyGQl0JqdK//xxzi6wzYA1qmFazhugTSrZiNNfsrcSHXBOebZq+53wH2z7RS+RCpWAvMFnrXLdPvG80kohscLxW8l30dln3PG+ZR/E2QcATy3dSK3kGK41qwNmqbV9nWTlWDtWeSnhnbrT6/kNclOG2U0F6SnveD2YOiY03unzUGQkewGFDcJXsIOILZw9JpikHAESwGFHfJHgKOYPawdJpiEHAEiwHFXbKHgCOYPSydphgEHMFiQHGX7CHgCGYPS6cpBgFHsBhQ3CV7CDiC2cPSaYpBwE1vxIAy4Jd+gUn+V1rA4Ani3CHr65rFdQRrhs5g3ltCsUUWC7cRQbYX/XiziK6LbIaOu7cYAnfS2t3TLJIjWDN03L1WEPg0JPtko4iOYI2QcdeTIPC3kOxDcQkcweJQcdeSIiA8ks3+blyY0BFsISLuvF0E5P3ThyGZfEZwLjiCzUHhDiwgIC/DyJ64cy++OIJZQNWpmIfARZzJtvHT31VyBJuHjTuxhIC8c/ooJJPP7bjgEEgFAfmW5UOOYKlg65TOIHCTI5jjQqoIOIKlCq9T7gjmOJAqAo5gqcLrlDuCOQ6kikBPEww/yw2+7z3FvlynU0XJKW8bgZ5bcAipZDHcLyG/gVy/+owrr16tq2fLNXO0UgtWhopPtmSxN2vb1dC/CdnErzcCxLoUSz+B/Cpy4SJWlys1M1KuhyeqdcP3svWbSe8vkqaj22zfFPqe6ukeoSMA4hPXc00wSCEVdgsirdX7kLbsZYfWE3yc9AW+fltmQ7mLjNJXoLstXdgQGxzBYmHJJ8GofGmhfgX5dWRzrOkdXOSrIIf5OsiLtHB1NgneQH6bOlA3ndQRLBbBfBGMipYNdKW1kjFWKy8exJYq6cXQqJch3GilFupqIIQ2FyfV4QgWi1j2BINUsovzrchvIjtizezyRfbb38cDw0E+sFXgeAs2LvoJZEew2ErKjmBU2gZMkleePoZMrx2KNTH7i2EtVCO0cIdo4ZaGodrKnvorF5rlCLYQkenz7hMMYt1M1tINvh9J9cluuoj2/9T4msjeybo5DOFWmFBdCeHOcwSLBbo7BINUy8n+o4gQa0usKb17cbJSV4+VCurneCy1+mTau5DMWZ4uwSDWVWQlpLoDWTaXbf8cvERR5FPJ2/qnSFZLUrfuyYdUonMnIsR6j1Vz86PsJ5jyMnID4lqtJvViDRyIJYv975yRNzXJs5dvjWO8tFrytGv9n7OXgWlg+2sdEwxivRvl0lp9ECk2yKjXL0s3+CwiXWHX/HM9DNppbL8PubdtgkGsN/INn78s+upnUbS+h8FoZroAtQe5DpEHFReaI1Dl9j8gn2Vbp9ckatsEK1eDrzHl8mEUhSj5AR+D4qOf6gp0in+r14MA9T1kK+K+QbR4bcoeYV9FdsOHA9HobRFsqm7eFwbho1FFcoxymUF+Zubzd/Ju3MaFcXJ+HmLfd5FLkH4dR1I0q+EbaLubuh+J05qYYHSNS6eqZi/OxUviFM5emyHbs0I2vqF9KRk1jT+bLsPf75P3amRThjb0Utb/ibF/RD3LEKJhSEywqUpwL//mdzXUGHNDyMaSmef4uOdhutG8ke1pTF6K9JsDOKYmrFySoYMQ67FWtCUiWLVqrgmU2UMr1tEjOsb9kJZtHLJtwgDry3FaKThx9iIydnhri/EHPZrgJV3hw0mAaJlgkMpjhcF3WIr8U0kyWCwuBu+dIdslXSLbPmwSt4O82u7C4gjsJ8pnkAepKxmjJgotE4xx12+FJvxCIu0JI1OAEcg2Rsu2EcNkibTNcBBlryDbkZbLbdOAHtN1CHs/izxAvZz9lHnCQrQENK3XOpYcj/B7fkL9bUenUPIx9lch24YOySb+GPG+C7E66trbLkxvJZTW/XPI31AHk52a3hLBJishj6JG5hczCRT0Rcj2CmRbj8GXtWiEAPUcsg0ZbjHNIEcTMkkP9VfgLdhZCYsSrFI3HwiC8GEruVlQQuH3QbaDBQ+y6ViyCVBPIdciXWtxLRQtKxXS/T2AiPddukWroSnB6BKXMfZ6Hp9XLqeCeOF2lFfFDhZ8vQ6ybQQZ8WWJ932VVZT6U5kM2B9EPgOxZCCfSmhKsMlqcJ8y6ndSydmiUgAKhor6dQqz1qLaflb1rxTuU+AmrodUQ0OC4fN6Oz6v79KK5X5Zs+/rl0u+TvwmUKrI5lP5f2HWH0MscZZ2JcQSTEiFz+tJfF6yiiDXAbAmhou6H1fL2sT9SZQJsWR6p6sh9rG9XKdb7AFyCVJFv30fTVeRziYzmYAW77tMSGcSzmnByvI6WY2BvTHnZWJRgkw1c5vDBb06QZJBiXqAgu5Gvgq5ZDoss3BOC2aq5ov4vHJPLkGMcZds/O/CWQTEqfxnyN9DLFnTlnmYRzB8Xr+Iz+vnM7eqBQM8Tx/ytHpjC1EHIcoJCnkvch/EOp2nAs91kXSJK3h7mT57+uWNPNl4ji2AWMMtUZwz/pwYA3OhTEnvR8T7fjSPpZ5rwdiH4S8wUN4Myn3Ai38Kcl2Ye0PTM1C8719B/hRivZpeNp1rnm4E8HntwOf1P7RiXucq09UAoCdxSyxPN5fcajdY9i/In4DDaG6tjBhWgFQFVko80AvkErtxSwxF7B+kw/+msHdBrKZLlPMGiDdVV3dBrqvzZlicPbgljjD3OGgEE1/WByDWjb1GLqlDjy3+buR1oCNxFZqna4Brhnw9SJPYsrLhE8jVlP1beaqLJLboseM1tizV1VLB+9+SH0762mM1Qv6eJFkxcYzu8YIkhevRuOJm+DzyOYiVK5dDO3ieIVgkJYUKqcxn8JAfw890GWTbELmdySE2VRjY93vXKB73f0RkAG99XVYmFUem5xBsoSG4BEaGCvpQ0ffWsy4MwnU/FAteGTuWdD/nruX4CDn9PsR6vms5dimjRQkWtcMvePuHff0TXqRdw5uOsrAv9eBpfQqnar+uTH0KAOXJ8PHUgcwog0QEi9rIVM3YkqLH8mVzASR4S1pujqGiZ+iq+81p/2OwvBv5Z8glvq2+DW0TLIqI53tHadle4KWMpZDhKvGtRe+3e8za+xOlQl9NaB8Diz9H7odYlXZx6aV0VggWLTBPoRNF34yUitBOs0Fum98MogJCxn40jlHtPXssKxu+iMjUjpBsYIJ1gkWRgx7VkqefZ1lNnXHbVsjW8jIgnmQncUssjerrwWPp/r6OyF4O+3vQ/o5NTpVgUeukRYIwI7gbJmnZ5FtBDddyEXeKeMPR9D14LFM7v0dZnuxB262Z3DWCLbQYx+5LeOaPez6bnxgzz0PPvYApody/bLKwTDPnMrXzhxCrZ73vDcrV1uXMCBa1tljQB0u+GmfItR7CLWPs1XJXGtWT8bE4R+9BvgS5Ml2mnDEO87LPBcGiFp0/7KvzhnpqZD87tXMvxJqIlsUd53AzEGYLqJeeIFhfTu3Y/qew4q+ybVQP6OvbqR3b2DuCJUNUpnbkyfCxZMkGN3bul0jnpGoOYMcdyDZHrmQ14lqw5njJPlkytfMFiDUQUzvN4Uh+1xEsHrPZqR3ZMyuXr4PFm52/q45g8+tk4Kd25sPR+Zkj2FkMn+BQ1mYN9NTOWTjsHDmCKfUCUP4BxHJTO3Y4NU/LID9FjoPEJ5GrHLnmccLqySC2YG5qxyqFmisrsBp5gumZQdghcHZq59O0WGPNYXF3bSHgrV3hrwXwXcgjSNtfdLBlUEp6HkXvNZTvY4gjV0ogx6mdN6t88qRZVQ7DDxsd7mLC+R0sCpx3P06B7WvLhj3W61gbGrqpHdsVlFBfQwIdK5uNlUp4u1Lh7TiHrkqot+3olggmUzufQvr+rZ22ge5SwoYEi+Y/PmHequr1XaHSt6X9pneHBHNTO9GKy8FxSwSbtVO6zMMT6t2hCW7nC6O3stTZ+iZwbRLMTe3MVlLOfhMRLGo7ZCuOnwpuYX3gLsj2flo2K28AJSTY7NSO7AH/o6h97jgfCLRNsKj5r/FNI3My2MnHb3ah8GbI1/YLGwkIJlM7sjbr+1Fb3HG+ELBCsGiRDp0ya1QYfmT64cCoHdF7rRy3QDA3tdMKkDmJY51g0XKNHzebcXnwFIrbw6g3R+81Om5CMJna2Y18mVar3ii9u54vBFIlWLSoh0+b6+u1+u3MHNzGzMG66L3ocQzB5PuPn0dkQzb31k4UrB447hrBZrFgfOYdmqi/RwcaZ676EGRbOXtPfiMEc1M7UWDccXIEINvQ+Mn6zrHj9YfGTtTLsp3nqamAy+YR5MrkGl0Kh0ADBI4Ys/zUVPj4sdPBPQ2iuMsOAYeAQ2A+Av8Pby5Qwk3kUm8AAAAASUVORK5CYII="},1652:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.addDocument=a,t.deleteDocument=r,t.documentsList=c,t.findDataInfo=l,t.getListDataByPage=s,t.updateDocument=d;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/documents/getListDataByPage",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/documents/addDocument",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/documents/deleteDocument",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/documents/findCatalogueDocumentList",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/documents/findDataInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"manage/documents/updateDocument",method:"post",data:e})}},1708:function(e,t,i){e.exports=i.p+"img/高度资源 26.2af0541e.svg"},1717:function(e,t,i){e.exports=i.p+"img/接入矿池.57f89e2c.svg"},3832:function(e,t,i){e.exports=i.p+"img/profit.adb6726b.svg"},4940:function(e,t,i){e.exports=i.p+"img/menu.5760bd15.svg"},4946:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getUserDetails=r,t.getUserLineChart=c,t.getUserList=s,t.getUserOnlineStatus=l,t.sendMail=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/user/list/info",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/user/send/text/mail/message",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/user/get/user/info",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/user/getMiningPowerInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/user/getMinerUserOnlineStatus",method:"post",data:e})}},6006:function(e,t,i){e.exports=i.p+"img/logointop.60501418.svg"},6803:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountList=c,t.getAddBalace=s,t.getAddMinerAccount=a,t.getBindCode=f,t.getBindGoogle=g,t.getBindInfo=p,t.getCheck=h,t.getCheckAccount=d,t.getCheckBalance=u,t.getCloseCode=y,t.getCloseStepTwo=v,t.getDelMinerAccount=r,t.getEmailIfBind=w,t.getIfBind=m,t.getMinerAccountBalance=l,t.getUpdatePwd=b,t.getUpdatePwdCode=C;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/addBalance",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/addMinerAccount",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/delMinerAccount",method:"Delete",data:e})}function c(e){return(0,o.default)({url:"pool/user/getAccountList",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/user/getMinerAccountBalance",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/user/checkAccount",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/user/checkBalance",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/user/check",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/user/ifBind",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/user/getBindInfo",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/user/bindGoogle",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/user/getBindCode",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/user/getCloseCode",method:"post",data:e})}function v(e){return(0,o.default)({url:"pool/user/closeStepTwo",method:"post",data:e})}function w(e){return(0,o.default)({url:"pool/user/emailIfBind",method:"post",data:e})}function b(e){return(0,o.default)({url:"auth/updatePwd",method:"post",data:e})}function C(e){return(0,o.default)({url:"auth/updatePwdCode",method:"post",data:e})}},8292:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114);var o=n(i(91774)),s=i(47149);t.A={computed:{key(){return this.$route.path}},components:{comAside:()=>Promise.resolve().then((()=>(0,o.default)(i(17623))))},data(){return{filters:{emailOrOrderNo:"",status:"",minAmount:null,maxAmount:null,dateRange:[]},activeTab:"all",tableData:[{index:1,email:"user@example.com",orderNo:"20230601001",type:"技术支持",machineCode:"K9-001",createTime:"2023-06-01",fault:"无法启动",status:"处理中",amount:844.01}],totalAmount:844.01,userEmail:null}},mounted(){let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("userEmail");try{e=e?JSON.parse(e):""}catch(t){e=""}this.userEmail=e})),window.addEventListener("online",this.handleNetworkChange)},methods:{async fetchSignOut(){const e=await(0,s.getLogout)();e&&200==e.code&&await this.$store.dispatch("logout")},handelSignOut(){const e=this.$i18n.locale;this.$router.push(`/${e}/login`),localStorage.removeItem("token"),localStorage.removeItem("username"),localStorage.removeItem("jurisdiction"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.fetchSignOut()},handelLang(e){try{const t=this.$route.path,i=this.$i18n.locale,n=this.$route.query;if(!["zh","en"].includes(e))throw new Error("Unsupported language");this.$i18n.locale=e,localStorage.setItem("lang",e||"en");const o=t.replace(`/${i}`,`/${e}`);this.$router.push({path:o,query:n}).catch((e=>{"NavigationDuplicated"!==e.name&&(console.error("路由更新失败:",e),this.$message.error(this.$t("common.langChangeFailed")))})),document.documentElement.lang=e}catch(t){console.error("语言切换失败:",t),this.$message.error(this.$t("common.langChangeFailed"))}},handleNetworkChange(){navigator.onLine&&location.reload()}},beforeDestroy(){window.removeEventListener("online",this.handleNetworkChange)}}},8643:function(e,t,i){var n=i(91774)["default"],o=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);var s=o(i(91774)),a=i(84403),r=n(i(3574)),c=i(82908);t.A={name:"AppMain",components:{comHeard:()=>Promise.resolve().then((()=>(0,s.default)(i(13904))))},computed:{key(){return this.$route.path}},data(){return{activeName:"second",option:{...a.line},option2:{...a.line},powerDialogVisible:!1,minerDialogVisible:!1,currentPage:1,currency:"mona",currencyPath:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",currencyList:[{value:"grs",label:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png"},{value:"mona",label:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png"},{value:"dgb_skein",label:"dgb-skein-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit",label:"dgb-qubit-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo",label:"dgb-odocrypt-pool1",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb2_odo",label:"dgb-odocrypt-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_qubit_a10",label:"dgb-qubit-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_skein_a10",label:"dgb-skein-pool2",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"},{value:"dgb_odo_b20",label:"dgb-odoscrypt-pool3",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png"}],scrollTop:0,isLogin:!0,bthText:"English",miningAccountList:[{title:"grs",coin:"grs",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/258.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"mona",coin:"mona",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/213.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]},{title:"dgb-skein-pool1",coin:"dgb_skein",imgUrl:"https://s2.coinmarketcap.com/static/img/coins/64x64/109.png",children:[{account:"miner",id:"1"},{account:"test",id:"2"}]}],activeItemCoin:{coin:"nexa",imgUrl:(0,c.getImageUrl)("/img/nexa.png")},lang:"zh"}},created(){},mounted(){this.lang=this.$i18n.locale,window.scrollTo(0,0);let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("activeItemCoin");this.activeItemCoin=JSON.parse(e);let t=localStorage.getItem("currencyList");this.currencyList=JSON.parse(t)}))},methods:{jumpPage(){const e=this.$i18n.locale;this.$router.push(`/${e}/ServiceTerms`)},jumpPage1(){const e=this.$i18n.locale;this.$router.push(`/${e}/apiFile`)},jumpPage2(){const e=this.$i18n.locale;this.$router.push(`/${e}/rate`)},jumpPage3(e){console.log(e,1366565);const t=this.$i18n.locale;if("/AccessMiningPool"===e){const e=this.currencyList.find((e=>e.value===this.activeItemCoin.value));if(!e)return;let t=e.path.charAt(0).toUpperCase()+e.path.slice(1);console.log(t,1366565,e);this.$router.push({name:"AccessMiningPool",params:{coin:this.activeItemCoin.value,imgUrl:this.activeItemCoin.imgUrl},replace:!1})}else{let e=`/${t}/AccessMiningPool`;this.$router.push(e)}},jumpPage4(){const e=this.$i18n.locale;this.$router.push(`/${e}/submitWorkOrder`)},handleCommand(e){},handleScroll(e){"/"==this.$route.path&&(this.scrollTop=e.target.scrollTop,this.scrollTop>=300?(this.$refs.head.style.backgroundColor="#FFF",this.$refs.head.style.position="fixed",this.$refs.head.style.top="0"):(this.$refs.head.style.backgroundColor="initial",this.$refs.head.style.position="tatic"))},clickCurrency(e){this.currency=e.label,this.currencyPath=e.imgUrl},handleClick(e,t){console.log(e,t)},handelPower(){this.powerDialogVisible=!0,this.$nextTick((()=>{this.inCharts()}))},handelMiner(){this.minerDialogVisible=!0,this.$nextTick((()=>{this.myChart2=r.init(document.getElementById("minerChart")),this.myChart2.setOption(this.option2)}))},handleSizeChange(e){console.log(`每页 ${e} 条`)},handleCurrentChange(e){console.log(`当前页: ${e}`)},inCharts(){this.myChart=r.init(document.getElementById("chart")),this.myChart.setOption(this.option)},handelLogin(){this.isLogin=!0,this.$router.push("/login")},handelRegister(){this.$router.push({path:"/register"})},handelLogin222(){this.isLogin=!this.isLogin},handelJump(e){this.$router.push({path:e})},handelLang(){const e=this.$route.path,t=this.$i18n.locale,i="zh"===t?"en":"zh";this.$i18n.locale=i,this.lang=i,this.bthText="zh"===i?"English":"简体中文";const n=e.replace(`/${t}/`,`/${i}/`);this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("路由跳转失败:",e)})),localStorage.setItem("lang",i)}}}},10673:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getApiInfo=l,t.getApiKey=s,t.getApiList=a,t.getDelApi=c,t.getUpdateAPI=r;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/user/getApiKey",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/user/getApiList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/user/updateAPI",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/user/delApi",method:"delete",data:e})}function l(e){return(0,o.default)({url:"pool/user/getApiInfo",method:"post",data:e})}},11427:function(e,t,i){e.exports=i.p+"img/registertop.d405fe96.svg"},11503:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBKendTicket=g,t.getDetails=h,t.getDownloadFile=u,t.getEndTicket=d,t.getPrivateTicket=c,t.getReadTicket=r,t.getReply=m,t.getResubmitTicket=a,t.getSubmitTicket=s,t.getTicketDetails=l,t.getTicketList=p;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/ticket/submitTicket",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/ticket/resubmitTicket",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/ticket/readTicket",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/ticket/getPrivateTicket",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/ticket/getTicketDetails",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/ticket/endTicket",method:"post",data:e})}function u(){return(0,o.default)({url:"pool/ticket/downloadFile",method:"get"})}function h(e){return(0,o.default)({url:"pool/ticket/bk/details",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/ticket/bk/respon",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/ticket/bk/list",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/ticket/bk/endTicket",method:"post",data:e})}},12173:function(e,t){Object.defineProperty(t,"B",{value:!0}),t.A=void 0;t.A={name:"Tooltip",props:{maxWidth:{type:Number,default:120}},data(){return{showTooltip:!1,hideTimer:null,top:0,left:0}},methods:{show(e){clearTimeout(this.hideTimer);const t=e.getBoundingClientRect(),i=t.top+window.pageYOffset,n=t.left+window.pageXOffset,o=t.width;this.showTooltip=!0,this.$nextTick((()=>{const e=this.$refs.tooltip.offsetWidth,t=this.$refs.tooltip.offsetHeight;this.top=i-t,this.left=n-(e-o)/2}))},onShow(){clearTimeout(this.hideTimer),this.showTooltip=!0},onHide(){this.hideTimer=setTimeout((()=>{this.showTooltip=!1}),100)}}}},13904:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(24597),o=i(857),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"2329c878",null),c=r.exports},16712:function(e,t,i){e.exports=i.p+"img/钱包.fbd8a674.svg"},17069:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(38450),o=i(8292),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"5b61c3ca",null),c=r.exports},17623:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(84269),o=i(99047),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"c3955b78",null),c=r.exports},20074:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"B",{value:!0}),t.A=void 0;var o=n(i(91774));t.A={components:{comHeard:()=>Promise.resolve().then((()=>(0,o.default)(i(13904)))),appMain:()=>Promise.resolve().then((()=>(0,o.default)(i(97223)))),MoveHead:()=>Promise.resolve().then((()=>(0,o.default)(i(34038)))),BackAdminLayout:()=>Promise.resolve().then((()=>(0,o.default)(i(17069))))},data(){return{jurisdiction:{roleKey:""}}},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))}}},21525:function(e,t,i){e.exports=i.p+"img/安全.225650c3.svg"},22016:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"chat-widget"},["offline"===e.networkStatus?t("div",{staticClass:"network-status"},[t("i",{staticClass:"el-icon-warning"}),t("span",[e._v(e._s(e.$t("chat.networkError")||"网络连接已断开"))])]):e._e(),t("div",{staticClass:"chat-icon",class:{active:e.isChatOpen},attrs:{"aria-label":e.$t("chat.openCustomerService")||"打开客服聊天",tabindex:"0"},on:{click:e.toggleChat,keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.toggleChat.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.toggleChat.apply(null,arguments)}]}},[t("i",{staticClass:"el-icon-chat-dot-round"}),e.unreadMessages>0?t("span",{staticClass:"unread-badge"},[e._v(e._s(e.unreadMessages))]):e._e()]),t("transition",{attrs:{name:"chat-slide"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isChatOpen,expression:"isChatOpen"}],staticClass:"chat-dialog"},[t("div",{staticClass:"chat-header"},[t("div",{staticClass:"chat-title"},[e._v(e._s(e.$t("chat.title")||"在线客服"))]),t("div",{staticClass:"chat-actions"},[t("i",{staticClass:"el-icon-minus",on:{click:e.minimizeChat}}),t("i",{staticClass:"el-icon-close",on:{click:e.closeChat}})])]),t("div",{ref:"chatBody",staticClass:"chat-body"},[0===e.userType?t("div",{staticClass:"guest-notice"},[t("span",{staticClass:"guest-notice-content"},[t("i",{staticClass:"el-icon-info"}),t("span",[e._v(e._s(e.$t("chat.guestNotice")||"游客模式下聊天记录不会保存,")+" "),t("a",{staticClass:"login-link",on:{click:e.handleLoginClick}},[e._v(e._s(e.$t("chat.loginToSave")||"登录"))]),e._v(" "+e._s(e.$t("chat.guestNotice2")||"后即可保存")+" ")])])]):e._e(),"connecting"===e.connectionStatus?t("div",{staticClass:"chat-status connecting"},[t("i",{staticClass:"el-icon-loading"}),t("p",[e._v(" "+e._s(e.$t("chat.connectToCustomerService")||"正在连接客服系统...")+" ")])]):"error"===e.connectionStatus?t("div",{staticClass:"chat-status error"},[t("i",{staticClass:"el-icon-warning"}),t("p",[e._v(" "+e._s(e.connectionError||e.$t("chat.connectionFailed")||"连接失败,请稍后重试")+" ")]),t("div",{staticClass:"error-actions"},[t("button",{staticClass:"retry-button",on:{click:e.handleRetryConnect}},[e._v(" "+e._s(e.$t("chat.tryConnectingAgain")||"重试连接")+" ")]),e.showRefreshButton?t("button",{staticClass:"refresh-button",on:{click:e.refreshPage}},[e._v(" "+e._s(e.$t("chat.refreshPage")||"刷新页面")+" ")]):e._e()])]):[e.hasMoreHistory&&e.messages.length>0?t("div",{staticClass:"history-indicator",class:{"no-more":!e.hasMoreHistory},on:{click:function(t){return t.stopPropagation(),e.loadMoreHistory.apply(null,arguments)}}},[t("i",{staticClass:"el-icon-arrow-up"}),t("span",[e._v(e._s(e.isLoadingHistory?e.$t("chat.loading")||"加载中...":e.hasMoreHistory?e.$t("chat.loadMore")||"加载更多历史消息":e.$t("chat.noMoreHistory")||"没有更多历史消息了"))])]):e._e(),0===e.messages.length&&0!==e.userType?t("div",{staticClass:"chat-empty"},[e._v(" "+e._s(e.$t("chat.welcome")||"欢迎使用在线客服,请问有什么可以帮您?")+" ")]):e._e(),e._l(e.displayMessages,(function(i,n){return t("div",{key:i.id?`msg-${i.id}`:i.isTimeDivider?`divider-${n}-${i.time}`:`sys-${n}-${Date.now()}`},[i.isTimeDivider?t("div",{staticClass:"chat-time-divider"},[e._v(" "+e._s(e.formatTimeDivider(i.time))+" ")]):i.isLoading||i.isSystemHint?t("div",{staticClass:"system-hint"},[i.isLoading?t("i",{staticClass:"el-icon-loading"}):e._e(),t("span",[e._v(e._s(i.text))])]):t("div",{staticClass:"chat-message",class:{"chat-message-user":"user"===i.type,"chat-message-system":"system"===i.type,"chat-message-loading":i.isLoading,"chat-message-hint":i.isSystemHint,"chat-message-history":i.isHistory}},[t("div",{staticClass:"message-avatar"},["system"===i.type?t("i",{staticClass:"el-icon-service"}):t("i",{staticClass:"el-icon-user"})]),t("div",{staticClass:"message-content"},[i.isImage?t("div",{staticClass:"message-image"},[t("img",{attrs:{src:i.imageUrl,alt:e.$t("chat.picture")||"聊天图片"},on:{click:function(t){return e.previewImage(i.imageUrl)},load:function(t){return e.handleImageLoad(i)}}})]):t("div",{staticClass:"message-text",domProps:{innerHTML:e._s(e.formatMessageText(i.text))}})])])])}))]],2),t("div",{staticClass:"chat-footer"},[t("div",{staticClass:"chat-toolbar"},[t("label",{staticClass:"image-upload-label",class:{disabled:"connected"!==e.connectionStatus},attrs:{for:"imageUpload"}},[t("i",{staticClass:"el-icon-picture-outline"})]),t("input",{ref:"imageUpload",staticStyle:{display:"none"},attrs:{type:"file",id:"imageUpload",accept:"image/*",disabled:"connected"!==e.connectionStatus},on:{change:e.handleImageUpload}})]),t("div",{staticClass:"chat-input-wrapper",staticStyle:{display:"flex","align-items":"center"}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.inputMessage,expression:"inputMessage"}],staticClass:"chat-input",attrs:{type:"text",maxlength:e.maxMessageLength,placeholder:e.$t("chat.inputPlaceholder")||"请输入您的问题..."},domProps:{value:e.inputMessage},on:{input:[function(t){t.target.composing||(e.inputMessage=t.target.value)},e.handleInputMessage],keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.handleEnterKey.apply(null,arguments)}}})]),t("button",{staticClass:"chat-send",on:{click:e.sendMessage}},[e._v(" "+e._s(e.$t("chat.send")||"发送")+" ")])]),e.showImagePreview?t("div",{staticClass:"image-preview-overlay",on:{click:e.closeImagePreview}},[t("div",{staticClass:"image-preview-container"},[t("img",{staticClass:"preview-image",attrs:{src:e.previewImageUrl}}),t("i",{staticClass:"el-icon-close preview-close",on:{click:e.closeImagePreview}})])]):e._e()])])],1)},t.Yp=[]},22327:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=u,t.getHistoryIncome=l,t.getHistoryOutcome=d,t.getMinerAccountInfo=a,t.getMinerAccountPower=s,t.getMinerList=r,t.getMinerPower=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getMinerAccountPower",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getMinerAccountInfo",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getMinerPower",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getHistoryIncome",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getHistoryOutcome",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getAccountPowerDistribution",method:"post",data:e})}},22345:function(e,t,i){e.exports=i.p+"img/home.2a3cb050.png"},22704:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"MoveMain"},[t("header",{staticClass:"headerMove"},[t("img",{attrs:{src:i(87596),alt:"logo"},on:{click:function(t){return e.handelJump("/")}}}),t("span",{staticStyle:{"font-size":"0.9rem"}},[e._v(e._s(e.$t(e.key)))]),t("el-dropdown",{attrs:{trigger:"click","hide-on-click":!1}},[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{attrs:{src:i(4940),alt:"menu"}})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuItem",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(47761),alt:"home"}}),t("span",[e._v(" "+e._s(e.$t("home.home")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/reportBlock")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(36506),alt:"reportBlock"}}),t("span",[e._v(" "+e._s(e.$t("home.reportBlock")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("el-collapse",{model:{value:e.activeNames,callback:function(t){e.activeNames=t},expression:"activeNames"}},[t("el-collapse-item",{attrs:{name:"1"}},[t("template",{slot:"title"},[t("div",{staticClass:"menuItem2"},[t("img",{attrs:{src:i(67069),alt:"account"}}),t("span",[e._v(e._s(e.$t("home.accountCenter")))])])]),e._l(e.newMiningAccountList,(function(i){return t("div",{key:i.id,staticClass:"accountBox",on:{click:function(t){return e.handelJumpAccount(i)}}},[t("div",{staticClass:"coinBox"},[t("img",{attrs:{src:i.img,alt:"coin"}}),t("span",{staticClass:"coin"},[e._v(e._s(i.coin))])]),t("span",{staticClass:"account"},[e._v(e._s(i.account))])])}))],2)],1)],1),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/personalCenter")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(91621),alt:"personalCenter"}}),t("span",[e._v(" "+e._s(e.$t("home.personalCenter")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderRecords")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(46165),alt:"workRecord"}}),t("span",[e._v(" "+e._s(e.$t("personal.workOrderRecord")))])])]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:e.ManagementShow,expression:"ManagementShow"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelJump("/workOrderBackend")}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(60508),alt:"Work Order Management"}}),t("span",[e._v(" "+e._s(e.$t("work.WorkOrderManagement")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[t("div",{staticClass:"menuItem"},[t("img",{attrs:{src:i(76994),alt:"sign out"}}),t("span",[e._v(" "+e._s(e.$t("user.signOut")))])])]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"langBox"},[t("el-radio",{attrs:{fill:"red",label:"zh"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("简体中文")]),t("el-radio",{attrs:{fill:"#fff",label:"en"},on:{input:e.handelRadio},model:{value:e.radio,callback:function(t){e.radio=t},expression:"radio"}},[e._v("English")])],1)]),t("el-dropdown-item",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"}},[t("div",{staticClass:"menuLogin"},[t("el-button",{staticClass:"lgBTH",on:{click:function(t){return e.handelJump("/login")}}},[e._v(e._s(e.$t("home.MLogin")))]),t("el-button",{staticClass:"reBTH",on:{click:function(t){return e.handelJump("/register")}}},[e._v(e._s(e.$t("home.MRegister")))])],1)])],1)],1)],1)])},t.Yp=[]},22792:function(e,t,i){e.exports=i.p+"img/404.458c248a.png"},24597:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"headerBox",class:{whiteBg:"/"!==e.key}},[t("div",{staticClass:"header"},[t("div",{staticClass:"logo",on:{click:function(t){return e.handelJump("/")}}},[t("img",{attrs:{src:i(65549),alt:"logo图片"}})]),t("div",{staticClass:"topMenu"},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isLogin&&(e.$route.path.includes("reportBlock")||"Home"==e.$route.name),expression:"isLogin &&( $route.path.includes(`reportBlock`) || $route.name == `Home` ) "}],staticClass:"nav"},[t("div",{staticClass:"nav-item",attrs:{id:"menu1"},on:{click:function(t){return t.stopPropagation(),e.toggleDropdown.apply(null,arguments)}}},[t("img",{staticClass:"itemImg",attrs:{src:e.activeItem.imgUrl,alt:e.activeItem.label}}),t("span",{staticStyle:{"text-transform":"capitalize"}},[e._v(" "+e._s(e.activeItem.label))]),t("i",{staticClass:"arrow"}),t("div",{staticClass:"dropdown"},e._l(e.currencyList,(function(i){return t("div",{key:i.value,staticClass:"option",class:{optionActive:i.value===e.activeItem.value},on:{click:function(t){return t.stopPropagation(),e.changeMenuName(t,i)}}},[t("img",{staticClass:"dropdownCoin",attrs:{src:i.imgUrl,alt:i.label}}),t("div",{staticClass:"dropdownText"},[e._v(e._s(i.label))])])})),0)])]),t("ul",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"menuBox afterLoggingIn"},[t("li",{staticClass:"home",class:{active:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`},on:{click:function(t){return e.handelJump("/")}}},[e._v(" "+e._s(e.$t("home.home"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path===`/${e.$i18n.locale}`||e.$route.path===`/${e.$i18n.locale}/`}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{directives:[{name:"show",rawName:"v-show",value:e.isLogin,expression:"isLogin"}],staticClass:"miningAccount"},[t("el-menu",{staticClass:"el-menu-demo",attrs:{"active-text-color":"#6E3EDB",mode:"horizontal"}},[t("el-submenu",{attrs:{index:"888888"}},[t("span",{staticClass:"miningAccountTitle",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/miningAccount`)},staticStyle:{color:"#000"},attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t("home.accountCenter")))]),e._l(e.miningAccountList,(function(i){return t("el-submenu",{key:i.coin,attrs:{index:i.coin}},[t("template",{slot:"title"},[t("img",{staticStyle:{width:"20px"},attrs:{src:i.img,alt:i.coin}}),e._v(" "+e._s(i.title))]),e._l(i.children,(function(n){return t("el-menu-item",{key:n.id,attrs:{index:n.id.toString()},nativeOn:{click:function(t){return e.handelJumpAccount(i,n,i.coin)}}},[e._v(" "+e._s(n.account))])}))],2)})),t("el-menu-item",{staticClass:"signOut",staticStyle:{"font-size":"0.9rem"},attrs:{index:"999999"},nativeOn:{click:function(t){return e.handelSignOut.apply(null,arguments)}}},[e._v("    "+e._s(e.$t("user.signOut")))])],2)],1),t("div",{staticClass:"horizontalLine",class:{hidden:"/miningAccount"==e.$route.path}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])],1),t("li",{staticClass:"reportBlock",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)},on:{click:function(t){return e.handelJump("reportBlock")}}},[e._v(" "+e._s(e.$t("home.reportBlock"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/reportBlock`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)},on:{click:function(t){return e.handelJump("personalCenter")}}},[e._v(" "+e._s(e.$t("home.personalCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes(`/${e.$i18n.locale}/personalCenter`)||e.$route.path.includes(`/${e.$i18n.locale}/personalCenter/personalMining`)}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/workOrderRecords`)},on:{click:function(t){return e.handelJump("workOrderRecords")}}},[e._v(" "+e._s(e.$t("personal.workOrderRecord"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("workOrderRecords")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)]),t("ul",{directives:[{name:"show",rawName:"v-show",value:!e.isLogin,expression:"!isLogin"}],staticClass:"menuBox notLoggedIn"},[t("li",{staticClass:"login",on:{click:e.handelLogin}},[e._v(e._s(e.$t("user.login")))]),t("li",{staticClass:"register",on:{click:e.handelRegister}},[e._v(" "+e._s(e.$t("user.register"))+" ")]),t("li",{staticClass:"personalCenter",class:{active:e.$route.path.includes(`/${e.$i18n.locale}/helpCenter`)},staticStyle:{"margin-left":"20px"},on:{click:function(t){return e.handelJump("helpCenter")}}},[e._v(" "+e._s(e.$t("home.helpCenter"))+" "),t("div",{staticClass:"horizontalLine",class:{hidden:e.$route.path.includes("helpCenter")}},[t("span",{staticClass:"circular"}),t("span",{staticClass:"line"})])]),t("li",{staticClass:"langBox"},[t("div",{staticClass:"LangLine"}),t("el-dropdown",[t("span",{staticClass:"el-dropdown-link",staticStyle:{"font-size":"0.9rem",color:"rgba(0, 0, 0, 1)"}},[t("img",{staticStyle:{width:"20px"},attrs:{src:i(77738),alt:"lang"}}),t("i",{staticClass:"el-icon-caret-bottom el-icon--right"})]),t("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("zh")}}},[e._v("简体中文")]),t("el-dropdown-item",{staticStyle:{"font-size":"0.8rem",color:"rgba(0, 0, 0, 1)"},nativeOn:{click:function(t){return e.handelLang("en")}}},[e._v("English")])],1)],1)],1)])])])])},t.Yp=[]},27034:function(e,t,i){e.exports=i.p+"img/home.4c2d8f62.png"},27409:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockInfo=l,t.getCoinInfo=s,t.getLuck=c,t.getMinerCount=r,t.getNetPower=d,t.getParam=u,t.getPoolPower=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/getCoinInfo",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/getPoolPower",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/getMinerCount",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/getLuck",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/getBlockInfo",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/getNetPower",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/getParam",method:"post",data:e})}},27579:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116),i(7588),i(61701),i(18237);var n=i(47149);t.A={data(){return{radio:"en",data:[{label:"一级 1",children:[{label:"二级 1-1",children:[{label:"三级 1-1-1"}]}]},{label:"一级 2",children:[{label:"二级 2-1",children:[{label:"三级 2-1-1"}]},{label:"二级 2-2",children:[{label:"三级 2-2-1"}]}]},{label:"一级 3",children:[{label:"二级 3-1",children:[{label:"三级 3-1-1"}]},{label:"二级 3-2",children:[{label:"三级 3-2-1"}]}]}],defaultProps:{children:"children",label:"label"},currencyList:[],miningAccountList:[],newMiningAccountList:[],activeNames:"",titleList:[{path:"/",label:"home.home"},{path:"/reportBlock",label:"home.reportBlock"},{path:"/miningAccount",label:"home.accountCenter"},{path:"/readOnlyDisplay",label:"personal.readOnlyPage"},{path:"/personalCenter",label:"home.personalCenter"},{path:"/personalCenter/personalMining",label:"home.accountSettings"},{path:"/personalCenter/readOnly",label:"personal.readOnlyPage"},{path:"/personalCenter/securitySetting",label:"personal.securitySetting"},{path:"/personalCenter/personalAPI",label:"home.API"}],token:"",isLogin:!1,jurisdiction:{roleKey:""},ManagementShow:!1}},computed:{key(){let e=this.titleList.find((e=>e.path==this.$route.path));return e?e.label:""}},watch:{token:{handler(e){this.isLogin=!!e},immediate:!0,deep:!0}},mounted(){this.radio=localStorage.getItem("lang")?localStorage.getItem("lang"):"en",this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t);let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"));let e=localStorage.getItem("miningAccountList");this.miningAccountList=JSON.parse(e);let t=localStorage.getItem("token");this.token=JSON.parse(t),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList));let i=localStorage.getItem("jurisdiction");this.jurisdiction=JSON.parse(i),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?(console.log(565656),this.ManagementShow=!0):this.ManagementShow=!1})),this.miningAccountList[0]&&(this.newMiningAccountList=this.flattenArray(this.miningAccountList)),this.jurisdiction&&"admin"==this.jurisdiction.roleKey?this.ManagementShow=!0:this.ManagementShow=!1},methods:{handelJump(e){console.log(e,"及附件");try{const t=this.$i18n.locale,i=e.startsWith("/")?e.slice(1):e,n=""===i?`/${t}`:`/${t}/${i}`;this.$router.push(n).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))}catch(t){console.error("Navigation error:",t)}},toggleDropdown(){this.showDropdown=!this.showDropdown},handelRadio(e){const t=this.$i18n.locale;this.$i18n.locale=e,localStorage.setItem("lang",e);const i=this.$route.path,n=i.replace(`/${t}`,`/${e}`),o=this.$route.query;this.$router.push({path:n,query:o}).catch((e=>{"NavigationDuplicated"!==e.name&&console.error("Navigation failed:",e)}))},selectItem(e){this.selectedItem=e,this.showDropdown=!1,this.menuItems.forEach((t=>{t.isHighlighted=t.text===e}))},handelJumpAccount(e){const t=this.$i18n.locale;let i={ma:e.account,coin:e.coin,id:e.id,img:e.img};this.$addStorageEvent(1,"accountItem",JSON.stringify(i)),this.$router.push({path:`/${t}/miningAccount`,query:{ma:e.account+e.coin}})},async fetchSignOut(){const e=this.$i18n.locale,t=await(0,n.getLogout)();t&&200==t.code&&this.$router.push(`/${e}/login`)},handelSignOut(){this.fetchSignOut(),localStorage.removeItem("token"),localStorage.removeItem("username"),this.$addStorageEvent(1,"miningAccountList",JSON.stringify("")),this.isLogin=!1,this.isDropdownVisible=!1},flattenArray(e){if(console.log(e,"进来的数组"),e[0])return e.reduce(((e,t)=>e.concat(t.children.map((e=>({...e,coin:t.coin,img:t.img,title:t.title}))))),[])}}}},27596:function(e,t,i){e.exports=i.p+"img/算力.cbdd6975.svg"},29500:function(e,t,i){e.exports=i.p+"img/reincon.5da4795a.png"},31114:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.shouldShowBroadcast?t("div",{staticClass:"horizontal-broadcast-container"},[e.showTitle?t("div",{staticClass:"broadcast-header"},[e.showIcon?t("i",{staticClass:"iconfont icon-tishishuoming"}):e._e(),t("span",{staticClass:"broadcast-title"},[e._v(e._s(e.$t("home.describeTitle")))])]):e._e(),t("div",{staticClass:"horizontal-scroll-wrapper",class:{"is-hovering":e.isHovering,"full-width":!e.showTitle},attrs:{title:e.isHovering?e.$t("backendSystem.broadcastPause")||"广播已暂停,移开鼠标继续滚动":e.$t("backendSystem.broadcastResume")||"鼠标悬停可暂停滚动"},on:{mouseenter:e.stopHorizontalScroll,mouseleave:e.resumeHorizontalScroll,touchstart:e.stopHorizontalScroll,touchend:e.startHorizontalScrollDelayed}},[t("div",{ref:"horizontalScrollContent",staticClass:"horizontal-scroll-content",style:e.horizontalScrollStyle},e._l(e.broadcastListForHorizontal,(function(i,n){return t("div",{key:i.id+"-horizontal-"+n,staticClass:"horizontal-broadcast-item",on:{click:function(t){return e.handleItemClick(i)}}},[t("span",{staticClass:"horizontal-item-content"},[e._v(e._s(i.content))]),i.buttonContent&&i.buttonContent.length>0?t("div",{staticClass:"button-group"},e._l(i.buttonContent,(function(n,o){return t("span",{key:`button-${i.id}-${o}`,staticClass:"view",on:{click:function(t){return t.stopPropagation(),e.handelJump(i.buttonPath[o])}}},[e._v(" "+e._s(n||e.$t("home.view"))+" ")])})),0):e._e(),n{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e}))},beforeDestroy(){window.removeEventListener("resize",this.updateWindowWidth)},methods:{updateWindowWidth(){console.log(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth);const e=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,t=e<1280;a.default.prototype.$isMobile=t,location.reload()}}}},46165:function(e,t,i){e.exports=i.p+"img/workRecord.5123ed47.svg"},46373:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.alerts_zh=t.alerts_en=void 0;t.alerts_zh={alerts:{Alarm:"离线警报设置",beCareful:"矿机离线时,会通过以下对应邮箱通知您。",beCareful1:" 每个账号最多添加三个邮箱。",add:"添加邮箱",addAlarmEmail:"添加告警邮箱",modifyRemarks:"修改备注",deleteRemind:"确认删除吗?",addedSuccessfully:"添加成功",modifiedSuccessfully:"修改成功",deleteSuccessfully:"删除成功",modificationReminder:"修改备注内容不能为空",acquisitionFailed:"信息获取失败,请重新进入该页面",more:"更多",alarmNotification:"离线警报",alarmMove:"警报",turnOffReminder:"暂未开放该功能,请耐心等待.."}},t.alerts_en={alerts:{Alarm:"Offline alarm settings",beCareful:"When the mining machine is offline, you will be notified through the corresponding email address below.",beCareful1:"Each account can add up to three email addresses.",add:"Add Email",addAlarmEmail:"Add alarm email",modifyRemarks:"Modify remarks",deleteRemind:"Are you sure to delete?",addedSuccessfully:"Added successfully",modifiedSuccessfully:"Modified successfully",deleteSuccessfully:"Delete successfully",modificationReminder:"The modified remarks cannot be empty",acquisitionFailed:"Information retrieval failed, please re-enter the page",more:"More",alarmNotification:"Offline Alert",alarmMove:"Alarm",turnOffReminder:"This feature has not been opened yet, please be patient and wait.."}}},46508:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountPowerDistribution=d,t.getChangeUrlInfo=f,t.getDelPage=y,t.getHistoryIncome=h,t.getHistoryOutcome=m,t.getHtmlUrl=s,t.getMinerAccountPower=l,t.getMinerList=u,t.getMinerPower=p,t.getPageInfo=r,t.getProfitInfo=c,t.getUrlInfo=g,t.getUrlList=a;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/read/getHtmlUrl",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/read/getUrlList",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/read/getPageInfo",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/read/getProfitInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/read/getMinerAccountPower",method:"post",data:e})}function d(e){return(0,o.default)({url:"pool/read/getAccountPowerDistribution",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/read/getMinerList",method:"post",data:e})}function h(e){return(0,o.default)({url:"pool/read/getHistoryIncome",method:"post",data:e})}function m(e){return(0,o.default)({url:"pool/read/getHistoryOutcome",method:"post",data:e})}function p(e){return(0,o.default)({url:"pool/read/getMinerPower",method:"post",data:e})}function g(e){return(0,o.default)({url:"pool/read/getUrlInfo",method:"post",data:e})}function f(e){return(0,o.default)({url:"pool/read/changeUrlInfo",method:"post",data:e})}function y(e){return(0,o.default)({url:"pool/read/delPage",method:"delete",data:e})}},47149:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getAccountGradeList=d,t.getLogin=s,t.getLoginCode=c,t.getLogout=l,t.getRegister=a,t.getRegisterCode=r,t.getResetPwd=u,t.getResetPwdCode=h,t.getUserProfile=m;var o=n(i(35720));function s(e){return(0,o.default)({url:"auth/login",method:"post",data:e})}function a(e){return(0,o.default)({url:"auth/register",method:"post",data:e})}function r(e){return(0,o.default)({url:"auth/registerCode",method:"post",data:e})}function c(e){return(0,o.default)({url:"auth/loginCode",method:"post",data:e})}function l(e){return(0,o.default)({url:"auth/logout",method:"Delete",data:e})}function d(e){return(0,o.default)({url:"pool/user/getAccountGradeList",method:"post",data:e})}function u(e){return(0,o.default)({url:"auth/resetPwd",method:"post",data:e})}function h(e){return(0,o.default)({url:"auth/resetPwdCode",method:"post",data:e})}function m(){return(0,o.default)({url:"system/user/profile",method:"get"})}},47761:function(e,t,i){e.exports=i.p+"img/homeMenu.877d301d.svg"},48370:function(e,t,i){e.exports=i.p+"img/power1.e301c95e.svg"},49967:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(18111),i(7588);var n=i(1652);t.A={name:"SplitScreenEditor",props:{value:{type:String,default:""},options:{type:Object,default:()=>({})},height:{type:[String,Number],default:500}},data(){return{localContent:"",editorMode:"split",isFullscreen:!1,wordCount:0,editorInstance:null,editorId:`editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,showUsageGuide:!1,demoEditorInstance:null,demoEditorId:`demo_editor_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,publishLoading:!1,documentInfo:{title:"",subTitle:"",type:0,lang:"zh"},defaultOptions:{height:this.height,menubar:!1,plugins:["advlist","autolink","lists","link","image","charmap","preview","anchor","searchreplace","visualblocks","code","fullscreen","insertdatetime","media","table","help","wordcount"],toolbar:["undo redo | formatselect | bold italic underline strikethrough","forecolor backcolor | alignleft aligncenter alignright alignjustify","bullist numlist outdent indent | removeformat | help"].join(" | "),content_style:"\n body { \n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; \n font-size: 14px; \n line-height: 1.6;\n color: #2c3e50;\n }\n p { margin: 10px 0; }\n ul, ol { margin: 10px 0; padding-left: 20px; }\n li { margin: 4px 0; }\n ",language:"zh_CN",branding:!1,resize:!1,statusbar:!1,placeholder:"开始编写您的内容...",setup:e=>{this.editorInstance=e,e.on("input",(()=>{this.handleEditorChange()})),e.on("change",(()=>{this.handleEditorChange()})),e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{this.insertBulletPoint()}})}}}},computed:{mergedOptions(){return{...this.defaultOptions,...this.options,height:this.height,toolbar:this.defaultOptions.toolbar+" | bulletpoint"}},previewContent(){if(!this.localContent)return'

              预览内容将在这里显示...

              ';let e=this.localContent;return e=e.replace(/
                /g,'
                  '),e=e.replace(/
                    /g,'
                      '),e=e.replace(/
                    1. /g,'
                    2. '),e}},watch:{value:{handler(e){e!==this.localContent&&(this.localContent=e,this.editorInstance&&this.editorInstance.setContent(e))},immediate:!0},localContent(){this.updateWordCount()}},mounted(){this.initEditor(),this.updateWordCount(),document.addEventListener("keydown",this.handleKeydown),this.showUsageGuide&&this.$nextTick((()=>{setTimeout((()=>{console.log("页面加载完成,初始化演示编辑器"),this.initDemoEditor()}),1e3)}))},beforeDestroy(){this.destroyEditor(),this.destroyDemoEditor(),document.removeEventListener("keydown",this.handleKeydown)},methods:{async initEditor(){if("undefined"!==typeof window.tinymce)try{await window.tinymce.init({selector:`#${this.editorId}`,...this.mergedOptions}),console.log("编辑器初始化成功")}catch(e){console.error("编辑器初始化失败:",e)}else console.error("TinyMCE未加载,请确保已正确引入TinyMCE")},destroyEditor(){this.editorInstance&&(this.editorInstance.destroy(),this.editorInstance=null)},handleEditorChange(){if(this.editorInstance){const e=this.editorInstance.getContent();this.localContent=e,this.$emit("input",e),this.$emit("change",e)}},handleContentChange(e){const t=e.target.value;this.localContent=t,this.$emit("input",t),this.$emit("change",t)},insertBulletPoint(){if(this.editorInstance){const e=this.editorInstance.selection,t=e.getContent({format:"text"});if(t){const e=`• ${t}`;this.editorInstance.execCommand("mceReplaceContent",!1,e)}else this.editorInstance.execCommand("mceInsertContent",!1,"• ");this.editorInstance.focus()}else{const e=document.getElementById(this.editorId);if(e){const t=e.selectionStart,i=e.selectionEnd,n=e.value,o=n.substring(0,t)+"• "+n.substring(i);this.localContent=o,this.$emit("input",o),this.$nextTick((()=>{e.focus(),e.setSelectionRange(t+2,t+2)}))}}},toggleFullscreen(){this.isFullscreen=!this.isFullscreen,this.isFullscreen?document.body.style.overflow="hidden":document.body.style.overflow=""},handleKeydown(e){"Escape"===e.key&&this.isFullscreen&&this.toggleFullscreen()},updateWordCount(){const e=this.localContent.replace(/<[^>]*>/g,"");this.wordCount=e.length},copyHtml(){if(navigator.clipboard)navigator.clipboard.writeText(this.localContent).then((()=>{this.$message.success("HTML内容已复制到剪贴板")})).catch((e=>{console.error("复制失败:",e),this.$message.error("复制失败")}));else{const t=document.createElement("textarea");t.value=this.localContent,document.body.appendChild(t),t.select();try{document.execCommand("copy"),this.$message.success("HTML内容已复制到剪贴板")}catch(e){console.error("复制失败:",e),this.$message.error("复制失败")}document.body.removeChild(t)}},getContent(){return this.localContent},setContent(e){this.localContent=e,this.editorInstance&&this.editorInstance.setContent(e)},clear(){this.setContent("")},toggleUsageGuide(){this.showUsageGuide=!this.showUsageGuide,this.showUsageGuide?(console.log("使用指南已打开,准备初始化演示编辑器"),this.$nextTick((()=>{setTimeout((()=>{this.initDemoEditor()}),500)}))):(console.log("使用指南已关闭,销毁演示编辑器"),this.destroyDemoEditor())},handlePublish(){this.localContent.trim()?this.showPublishDialog():this.$message.warning("请先输入内容再发布")},showPublishDialog(){this.$prompt("请输入文档标题:","发布文档",{confirmButtonText:"发布",cancelButtonText:"取消",inputPlaceholder:"请输入文档标题",inputValue:this.documentInfo.title||`编辑器文档_${(new Date).toLocaleDateString()}`,inputValidator:e=>e&&e.trim()?!(e.trim().length>100)||"文档标题不能超过100个字符":"文档标题不能为空"}).then((({value:e})=>{this.documentInfo.title=e.trim(),this.showDocumentTypeDialog()})).catch((()=>{console.log("用户取消发布")}))},showDocumentTypeDialog(){const e=[{label:"其他",value:0},{label:"服务条款",value:1},{label:"API文档",value:2},{label:"挖矿教程",value:3}],t=e.map((e=>``)).join("");this.$msgbox({title:"选择文档类型",message:`\n
                      \n \n \n
                      \n
                      \n 文档信息:
                      \n 标题:${this.documentInfo.title}
                      \n 字数:${this.wordCount} 字\n
                      \n `,dangerouslyUseHTMLString:!0,confirmButtonText:"确认发布",cancelButtonText:"取消",beforeClose:(e,t,i)=>{if("confirm"===e){const e=document.getElementById("documentTypeSelect");e&&(this.documentInfo.type=parseInt(e.value))}i()}}).then((()=>{this.confirmPublish()})).catch((()=>{console.log("用户取消选择文档类型")}))},async confirmPublish(){this.publishLoading=!0;try{let e=this.localContent;this.editorInstance?(e=this.editorInstance.getContent(),console.log("发布前 - 从编辑器获取的最新内容:",e),console.log("发布前 - 内容长度:",e.length),console.log("发布前 - localContent:",this.localContent),this.localContent=e):console.warn("编辑器实例不存在,使用本地内容:",e);const t=e.replace(/<[^>]*>/g,"").trim();if(!t)return this.$message.warning("编辑器内容为空,请先输入内容"),void(this.publishLoading=!1);const i={id:null,title:this.documentInfo.title,subTitle:this.documentInfo.subTitle||"",content:e,lang:this.$i18n?.locale||this.documentInfo.lang,type:this.documentInfo.type};console.log("=== 发布文档数据调试信息 ==="),console.log("完整参数:",i),console.log("当前语言:",this.$i18n?.locale),console.log("内容预览 (前200字符):",e.substring(0,200)),console.log("内容是否包含h2标签:",e.includes("

                      ")),console.log("内容是否包含h3标签:",e.includes("

                      ")),console.log("===========================");const o=await(0,n.addDocument)(i);if(!o||200!==o.code)throw new Error(o?.message||"发布失败");this.$message.success("文档发布成功!"),this.$emit("publish",{success:!0,documentId:o.data?.id,title:this.documentInfo.title,content:e,wordCount:t.length,timestamp:(new Date).toISOString(),response:o.data}),this.$notify({title:"发布成功",message:`文档 "${this.documentInfo.title}" 已成功发布`,type:"success",duration:4e3}),this.clearAutoSave()}catch(e){console.error("文档发布失败:",e),this.$message.error(`发布失败:${e.message||"网络错误"}`),this.$emit("publish",{success:!1,error:e.message||"发布失败",title:this.documentInfo.title,content:currentContent||this.localContent})}finally{this.publishLoading=!1}},async initDemoEditor(){if("undefined"===typeof window.tinymce)return void console.error("TinyMCE未加载,无法初始化演示编辑器");let e=0;const t=10,i=()=>{const n=document.getElementById(this.demoEditorId);n&&this.showUsageGuide?this.doInitDemoEditor():e{this.demoEditorInstance=e,console.log("演示编辑器实例已创建"),setTimeout((()=>{e.setContent('\n

                      🎯 演示编辑器

                      \n

                      在这里直接尝试各种功能:

                      \n
                        \n
                      • 选中文字后点击 粗体斜体下划线
                      • \n
                      • 使用颜色按钮改变文字颜色
                      • \n
                      • 点击"• 圆点"按钮插入项目符号
                      • \n
                      • 创建有序或无序列表
                      • \n
                      \n

                      • ALEO矿工必须质押一定数量的ALEO代币

                      \n

                      💡 你可以直接编辑这些内容来测试功能!

                      \n ')}),200)},setup:e=>{e.ui.registry.addButton("bulletpoint",{text:"• 圆点",tooltip:"插入黑色圆点",onAction:()=>{e.insertContent("• "),e.focus()}})}};await window.tinymce.init({selector:`#${this.demoEditorId}`,...e}),console.log("演示编辑器初始化成功")}catch(t){console.error("演示编辑器初始化失败:",t)}},destroyDemoEditor(){if(this.demoEditorInstance)try{this.demoEditorInstance.destroy(),this.demoEditorInstance=null,console.log("演示编辑器已销毁")}catch(e){console.error("销毁演示编辑器时出错:",e)}},clearAutoSave(){try{const e=Object.keys(localStorage);e.forEach((e=>{e.startsWith("splitscreen_editor_draft_")&&localStorage.removeItem(e)})),console.log("已清空自动保存的草稿")}catch(e){console.warn("清空自动保存草稿时出错:",e)}},checkDemoEditorStatus(){console.log("=== 演示编辑器状态检查 ==="),console.log("使用指南显示状态:",this.showUsageGuide),console.log("演示编辑器ID:",this.demoEditorId),console.log("DOM元素存在:",!!document.getElementById(this.demoEditorId)),console.log("演示编辑器实例:",this.demoEditorInstance),console.log("TinyMCE可用:","undefined"!==typeof window.tinymce);const e=document.getElementById(this.demoEditorId);e&&console.log("DOM元素详情:",{id:e.id,className:e.className,offsetHeight:e.offsetHeight,offsetWidth:e.offsetWidth})}}}},51406:function(e,t,i){var n=i(3999)["default"],o=n(i(66848)),s=n(i(44239)),a=n(i(39325)),r=n(i(55129)),c=n(i(89143));i(91475),i(79412);var l=n(i(58044)),d=n(i(86425));i(40665);var u=i(82908),h=n(i(18614)),m=n(i(54211)),p=n(i(98986));i(9526);var g=n(i(37465));o.default.prototype.$bus=new o.default,o.default.use(h.default),o.default.prototype.$addStorageEvent=u.$addStorageEvent,o.default.config.productionTip=!1,o.default.use(c.default,{i18n:(e,t)=>l.default.t(e,t)}),o.default.prototype.$axios=d.default,console.log=()=>{},o.default.mixin(m.default),o.default.mixin(p.default),o.default.prototype.$baseApi="https://test.m2pool.com/";const f=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,y=f<1280;o.default.prototype.$isMobile=y,window.addEventListener("unhandledrejection",(e=>{const t=e&&e.reason,i="string"===typeof t?t:t&&t.message;i&&("Network Error"===i||i.includes("timeout"))&&(e.preventDefault(),console.warn("[unhandledrejection] blocked network error:",i))})),a.default.beforeEach(((e,t,i)=>{const n=e.params.lang||localStorage.getItem("lang")||"en";document.documentElement.lang=n,l.default.locale!==n&&(l.default.locale=n);const o=localStorage.getItem("token");o&&"null"!==o||localStorage.setItem("cs_disconnect_all",Date.now().toString()),i()})),setInterval((()=>{g.default.cleanup()}),6e4),window.vm=new o.default({router:a.default,store:r.default,i18n:l.default,render:e=>e(s.default),created(){this.$watch((()=>this.$i18n.locale),(e=>{this.updateMetaAndTitle()})),this.updateMetaAndTitle()},mounted(){document.dispatchEvent(new Event("render-event"))},methods:{updateMetaAndTitle(){document.title=this.$i18n.t("home.appTitle");const e=document.querySelector('meta[name="description"]');e&&(e.content=this.$i18n.t("home.metaDescription"))}}}).$mount("#app"),document.addEventListener("DOMContentLoaded",(()=>{window.vm.updateMetaAndTitle()}))},51775:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.getFileUpdate=u,t.getHistory=s,t.getHistory7=a,t.getReadMessage=r,t.getRoomList=c,t.getUpdateRoom=l,t.getUserid=d;var o=n(i(35720));function s(e){return(0,o.default)({url:"chat/message/find/history/message",method:"post",data:e})}function a(e){return(0,o.default)({url:"chat/message/find/recently/message",method:"post",data:e})}function r(e){return(0,o.default)({url:"chat/message/read/message",method:"post",data:e})}function c(e){return(0,o.default)({url:"/chat/rooms/find/room/list",method:"post",data:e})}function l(e){return(0,o.default)({url:"/chat/rooms/update/room",method:"post",data:e})}function d(e){return(0,o.default)({url:"chat/rooms/find/room/by/userid",method:"post",data:e})}function u(e){return(0,o.default)({url:"pool/ticket/uploadFile",method:"post",data:e})}},52217:function(e,t,i){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"contentMain"},[t("div",{staticClass:"contentPage"},[t("router-view",{key:e.key})],1),e.$isMobile?t("section",{staticClass:"moveFooterBox"},[t("div",{staticClass:"footerBox"},[e._m(0),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.mission")))]),t("p",{staticClass:"missionText"},[e._v(e._s(e.$t("home.missionText")))])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.service")))]),t("div",{staticClass:"FMenu"},[t("p",[t("span",{on:{click:function(t){return e.jumpPage1("/apiFile")}}},[e._v(e._s(e.$t("home.APIfile")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage2("/rate")}}},[e._v(e._s(e.$t("home.rateFooter")))])])])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.userAssistance")))]),t("div",{staticClass:"FMenu"},[t("p",[t("span",{on:{click:function(t){return e.jumpPage3("/AccessMiningPool")}}},[e._v(e._s(e.$t("home.miningTutorial")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage3("/submitWorkOrder")}}},[e._v(e._s(e.$t("home.submitWorkOrder")))])])])]),t("div",{staticClass:"missionBox"},[t("p",{staticClass:"mission"},[e._v(e._s(e.$t("home.aboutUs")))]),t("div",{staticClass:"FMenu"},[t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.joinUs")))])]),t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.contactCustomerService")))])]),t("p",[t("span",{on:{click:function(t){return e.jumpPage("/ServiceTerms")}}},[e._v(e._s(e.$t("home.serviceTerms")))])]),t("p",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.businessCooperation")))])])])])])]):t("div",{staticClass:"footerBox"},[t("el-row",{staticStyle:{width:"100%"}},[t("el-col",{attrs:{xs:24,sm:24,md:5,lg:5,xl:5}},[t("div",{staticClass:"footerSon logo2"},[t("div",{staticClass:"logoBox"},[t("img",{staticClass:"logoImg",attrs:{src:i(65549),alt:"logo图片"}}),t("span",{staticClass:"copyright"},[e._v("Copyright © 2024 M2pool")])])])]),t("el-col",{attrs:{xs:24,sm:24,md:6,lg:6,xl:6}},[t("div",{staticClass:"footerSon text"},[t("h4",[e._v(e._s(e.$t("home.mission")))]),t("div",[e._v(e._s(e.$t("home.missionText")))])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.service")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage1("/apiFile")}}},[e._v(e._s(e.$t("home.APIfile")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage2("/rate")}}},[e._v(e._s(e.$t("home.rateFooter")))])])])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.userAssistance")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage3("/AccessMiningPool")}}},[e._v(" "+e._s(e.$t("home.miningTutorial")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage4("/submitWorkOrder")}}},[e._v(e._s(e.$t("home.submitWorkOrder")))])])])])]),t("el-col",{attrs:{xs:24,sm:24,md:4,lg:4,xl:4}},[t("div",{staticClass:"footerSon product"},[t("ul",[t("li",{staticClass:"productTitle"},[t("h4",[e._v(e._s(e.$t("home.aboutUs")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.joinUs")))])]),t("li",[t("span",{on:{click:function(t){return e.jumpPage("/ServiceTerms")}}},[e._v(" "+e._s(e.$t("home.serviceTerms")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.businessCooperation")))])]),t("li",[t("a",{attrs:{href:"mailto:support@m2pool.com"}},[e._v(e._s(e.$t("home.contactCustomerService")))])])])])])],1)],1)])},t.Yp=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"logoBox"},[t("img",{staticClass:"logoImg",attrs:{src:i(65549),alt:"logo图片"}}),t("span",{staticClass:"copyright"},[e._v("Copyright © 2024 M2pool")])])}]},53263:function(e,t,i){e.exports=i.p+"img/notOpen.759679bf.png"},53724:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.announcements_zh=t.announcements_en=void 0;t.announcements_zh={title:"公告中心",latestTitle:"最新公告",searchPlaceholder:"搜索",homeCenter:"首页中心",viewAll:"查看所有",articles:"篇文章",noData:"暂无公告",loadError:"加载公告失败",importantNotice:"重要通知",systemAnnouncement:"系统公告",marketDynamic:"市场动态",serviceNotice:"服务通知",faultDescription:"故障说明",offlineNotice:"下线通知",today:"今天",yesterday:"昨天",daysAgo:"天前",back:"返回",refresh:"刷新",search:"搜索",reset:"重置",total:"共",page:"页",items:"条",goToPage:"跳至",networkError:"网络连接失败,请检查网络设置",serverError:"服务器异常,请稍后重试",dataError:"数据加载失败",searchTip:"请输入关键词进行搜索",noSearchResult:"未找到相关公告",loadingTip:"正在加载...",published:"已发布",draft:"草稿",archived:"已归档",detail:"详情",content:"内容",publishTime:"发布时间",updateTime:"更新时间",author:"作者",category:"分类",tags:"标签",readCount:"阅读量",viewDetail:"查看详情",share:"分享",favorite:"收藏",print:"打印",download:"下载",filter:"筛选",sort:"排序",sortByTime:"按时间排序",sortByPopularity:"按热度排序",filterByType:"按类型筛选",filterByDate:"按日期筛选",allTypes:"全部类型",allDates:"全部日期",advancedSearch:"高级搜索",searchByTitle:"按标题搜索",searchByContent:"按内容搜索",searchByAuthor:"按作者搜索",dateRange:"日期范围",startDate:"开始日期",endDate:"结束日期"},t.announcements_en={title:"Announcement Center",latestTitle:"Latest Announcements",searchPlaceholder:"Search",homeCenter:"Home Center",viewAll:"View All",articles:"Articles",noData:"No announcements",loadError:"Failed to load announcements",importantNotice:"Important Notice",systemAnnouncement:"System Announcement",marketDynamic:"Market Dynamic",serviceNotice:"Service Notice",faultDescription:"Fault Description",offlineNotice:"Offline Notice",today:"Today",yesterday:"Yesterday",daysAgo:"days ago",back:"Back",refresh:"Refresh",search:"Search",reset:"Reset",total:"Total",page:"Page",items:"Items",goToPage:"Go to",networkError:"Network connection failed, please check network settings",serverError:"Server error, please try again later",dataError:"Data loading failed",searchTip:"Please enter keywords to search",noSearchResult:"No related announcements found",loadingTip:"Loading...",published:"Published",draft:"Draft",archived:"Archived",detail:"Detail",content:"Content",publishTime:"Publish Time",updateTime:"Update Time",author:"Author",category:"Category",tags:"Tags",readCount:"Read Count",viewDetail:"View Detail",share:"Share",favorite:"Favorite",print:"Print",download:"Download",filter:"Filter",sort:"Sort",sortByTime:"Sort by Time",sortByPopularity:"Sort by Popularity",filterByType:"Filter by Type",filterByDate:"Filter by Date",allTypes:"All Types",allDates:"All Dates",advancedSearch:"Advanced Search",searchByTitle:"Search by Title",searchByContent:"Search by Content",searchByAuthor:"Search by Author",dateRange:"Date Range",startDate:"Start Date",endDate:"End Date"}},54752:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(22489),i(20116),i(7588),i(61701),i(13579),i(17642),i(58004),i(33853),i(45876),i(32475),i(15024),i(31698);var n=i(92500),o=i(51775);t.A={name:"ChatWidget",data(){return{isChatOpen:!1,inputMessage:"",messages:[],unreadMessages:0,showImagePreview:!1,previewImageUrl:"",stompClient:null,receivingEmail:"",connectionStatus:"disconnected",userType:0,userEmail:"",autoResponses:{hello:"您好,有什么可以帮助您的?","你好":"您好,有什么可以帮助您的?",hi:"您好,有什么可以帮助您的?","挖矿":"您可以查看我们的挖矿教程,或者直接创建矿工账户开始挖矿。","算力":"您可以在首页查看当前的矿池算力和您的个人算力。","收益":"收益根据您的算力贡献按比例分配,详情可以查看收益计算器。","帮助":"您可以查看我们的帮助文档,或者提交工单咨询具体问题。"},isLoadingHistory:!1,hasMoreHistory:!0,roomId:"",isWebSocketConnected:!1,heartbeatInterval:null,lastHeartbeatTime:null,heartbeatTimeout:12e4,cachedMessages:{},isMinimized:!1,reconnectAttempts:0,maxReconnectAttempts:3,reconnectInterval:3e3,isReconnecting:!1,lastActivityTime:Date.now(),activityCheckInterval:null,networkStatus:"online",reconnectTimer:null,connectionError:null,showRefreshButton:!1,heartbeatCheckInterval:3e4,maxMessageLength:300,connectionVerifyTimer:null,isConnectionVerified:!1,isHandlingError:!1,lastErrorTime:0,lastConnectedEmail:null,userViewHistory:!1,customerIsOnline:!1,jurisdiction:{roleKey:""},token:""}},computed:{displayMessages(){const e=[],t=3e5;let i=null;return this.messages.forEach(((n,o)=>{if(!n.isSystemHint&&!n.isLoading){const s=new Date(n.time);(!i||s-i>t)&&(e.push({isTimeDivider:!0,time:n.time,id:`divider-${s.getTime()}-${o}`}),i=s)}e.push(n)})),e}},watch:{connectionStatus(e,t){e!==t&&(console.log(`🔄 连接状态变化: ${t} -> ${e}`),console.log(`🔍 当前时间: ${(new Date).toLocaleTimeString()}`),console.log(`🔍 WebSocket状态: ${this.isWebSocketConnected}`),console.log(`🔍 STOMP状态: ${this.stompClient?.connected}`),console.log(`🔍 重连状态: ${this.isReconnecting}`),console.log(`🔍 验证状态: ${this.isConnectionVerified}`),"connecting"===e&&"connected"===t&&(console.warn("⚠️ 连接状态从connected变为connecting,可能有问题"),console.trace("调用栈:")),"connected"===e&&(console.log("✅ 状态已变为connected,强制触发重新渲染"),this.$forceUpdate()))},isChatOpen(e){e&&this.$nextTick((()=>this.scrollToBottomOnInit()))},token(e){console.log("token变化打印",e),e||(localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.forceDisconnectAll(),this.$nextTick((()=>{this.determineUserType()})))}},async created(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e,window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(t){e={roleKey:""}}this.jurisdiction=e})),this.initUnreadMessages(),this.determineUserType()},mounted(){let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(n){e={roleKey:""}}this.jurisdiction=e;let t=localStorage.getItem("customerIsOnline");this.customerIsOnline=JSON.parse(t);let i=localStorage.getItem("token");this.token=JSON.parse(i),window.addEventListener("setItem",(()=>{let e=localStorage.getItem("jurisdiction");try{e=e?JSON.parse(e):{roleKey:""}}catch(n){e={roleKey:""}}this.jurisdiction=e;let t=localStorage.getItem("customerIsOnline");this.customerIsOnline=JSON.parse(t);let i=localStorage.getItem("token");this.token=JSON.parse(i)})),window.addEventListener("beforeunload",this.handleBeforeUnload),window.addEventListener("storage",this.handleStorageChange),document.addEventListener("click",this.handleClickOutside),document.addEventListener("visibilitychange",this.handleVisibilityChange),window.addEventListener("online",this.handleNetworkChange),window.addEventListener("offline",this.handleNetworkChange),this.startActivityCheck(),document.addEventListener("mousemove",this.updateLastActivityTime),document.addEventListener("keydown",this.updateLastActivityTime),document.addEventListener("click",this.updateLastActivityTime),this.$bus.$on("user-logged-out",this.handleLogout),this.$bus.$on("user-logged-in",this.handleLoginSuccess),this.setupDebugMode(),this.$nextTick((()=>{this.$refs.chatBody&&this.$refs.chatBody.addEventListener("scroll",this.handleChatBodyScroll)})),this.scrollToBottomOnInit()},methods:{initUnreadMessages(){try{const e=this.getUnreadStorageKey(),t=localStorage.getItem(e);this.unreadMessages=t&&parseInt(t,10)||0}catch(e){console.warn("读取未读消息数失败:",e),this.unreadMessages=0}},getUnreadStorageKey(){return`chat_unread_${this.userEmail||"guest"}`},updateUnreadMessages(e){try{const t=this.getUnreadStorageKey();this.unreadMessages=e,localStorage.setItem(t,String(e))}catch(t){console.warn("保存未读消息数失败:",t)}},handleStorageChange(e){if(e.key&&e.key.startsWith("chat_unread_")){const t=this.getUnreadStorageKey();if(e.key===t){const t=parseInt(e.newValue,10)||0;this.unreadMessages=t}}},async initChatSystem(){if(this.userEmail)if(this.isWebSocketConnected&&"connected"===this.connectionStatus&&this.userEmail===this.lastConnectedEmail)console.log("✅ 聊天系统已初始化且连接正常,跳过重复初始化");else try{if(console.log("jurisdict口服空手道咖啡豆防控ion",this.jurisdiction),"customer_service"==this.jurisdiction.roleKey||"admin"==this.jurisdiction.roleKey||"back_admin"==this.jurisdiction.roleKey)return;const e=await this.fetchUserid({email:this.userEmail});e&&(this.roomId=e.id,this.receivingEmail=e.userEmail,this.customerIsOnline=e.customerIsOnline,this.updateUnreadMessages(e.clientReadNum||0),this.isWebSocketConnected&&this.userEmail===this.lastConnectedEmail||(this.isWebSocketConnected&&this.userEmail!==this.lastConnectedEmail&&await this.forceDisconnectAll(),this.initWebSocket(e.selfEmail),this.lastConnectedEmail=this.userEmail))}catch(e){console.error("初始化聊天系统失败:",e)}else console.log("❌ userEmail为空,跳过初始化")},initWebSocket(e){this.connectWebSocket(e)},async determineUserType(){console.log("token",this.token);try{const i=localStorage.getItem("token");if(!i){const e=sessionStorage.getItem("chatGuestEmail");return e&&e.startsWith("guest_")?(this.userType=0,this.userEmail=e):(this.userType=0,this.userEmail=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",this.userEmail)),void this.initChatSystem()}try{const t=JSON.parse(localStorage.getItem("jurisdiction")||"{}"),i=localStorage.getItem("userEmail")||"{}";let n="";try{const e=JSON.parse(i);n=e.email||e.value||e.userEmail||e,"string"!==typeof n&&(n="")}catch(e){n=i}this.userEmail=n,"customer_service"===t.roleKey||"admin"===t.roleKey?(this.userType=2,this.userEmail=""):(this.userType=1,this.userEmail=n),this.initUnreadMessages(),await this.initChatSystem()}catch(t){console.error("解析用户信息失败:",t),this.setupGuestIdentity()}}catch(i){console.error("获取用户信息失败:",i),this.setupGuestIdentity()}},setupGuestIdentity(){const e=sessionStorage.getItem("chatGuestEmail");e&&e.startsWith("guest_")?(this.userType=0,this.userEmail=e):(this.userType=0,this.userEmail=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",this.userEmail)),this.initChatSystem()},subscribeToPersonalMessages(e){if(!this.stompClient||!this.isWebSocketConnected)return console.error("❌ STOMP客户端未连接,无法订阅消息"),this.connectionStatus="error",this.connectionError=this.$t("chat.unableToSubscribe"),this.isWebSocketConnected=!1,this.showRefreshButton=!1,void this.$forceUpdate();if(!this.stompClient.connected)return console.error("❌ STOMP客户端已断开,无法订阅消息"),this.connectionStatus="error",this.connectionError="chat.unableToSubscribe",this.isWebSocketConnected=!1,this.showRefreshButton=!1,void this.$forceUpdate();try{this.stompClient.subscribe(`/sub/queue/user/${e}`,(e=>{this.lastHeartbeatTime=Date.now(),"connected"!==this.connectionStatus&&(this.connectionStatus="connected",this.isWebSocketConnected=!0,this.isReconnecting=!1,this.connectionError=null),this.markConnectionVerified(),this.onMessageReceived(e)}));this.connectionStatus="connected",this.isWebSocketConnected=!0,this.isReconnecting=!1,this.connectionError=null,this.reconnectAttempts=0,this.markConnectionVerified(),this.$forceUpdate(),this.startActivityCheck()}catch(t){console.error("❌ 订阅消息异常:",t),this.connectionStatus="error",this.connectionError=this.$t("chat.conflict"),this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!1,this.$forceUpdate()}},async connectWebSocket(e){let t=e||this.userEmail;if(!t)try{const e=localStorage.getItem("userEmail");if(e){const i=JSON.parse(e);t=i.email||i.value||i.userEmail||i,"string"!==typeof t&&(t="")}}catch(o){console.warn("[DEBUG] 解析localStorage userEmail失败:",o)}if(!t){const e=sessionStorage.getItem("chatGuestEmail");e&&e.startsWith("guest_")&&(t=e)}if(t||(t=`guest_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,sessionStorage.setItem("chatGuestEmail",t),console.warn("[DEBUG] 自动生成游客邮箱:",t)),this.userEmail=t,e=t,!e)return Promise.reject(new Error("缺少用户邮箱参数"));if(this.isWebSocketConnected&&this.lastConnectedEmail===e)return Promise.resolve("already_connected");if(this.isReconnecting)return Promise.resolve("reconnecting");this.connectionStatus="connecting",this.isReconnecting=!0,this.connectionError=null;const i=setTimeout((()=>{"connecting"!==this.connectionStatus||this.isConnectionVerified||this.handleConnectionTimeout()}),3e4);try{const t="https://test.m2pool.com/api/";let s="";t.startsWith("https://")&&(s=t.replace("https://","wss://")),t.startsWith("http://")&&(s=t.replace("http://","ws://"));const a=`${s}chat/ws`;if(this.stompClient){try{this.stompClient.disconnect()}catch(o){console.warn("[DEBUG] stompClient.disconnect异常",o)}this.stompClient=null}this.stompClient=n.Stomp.client(a),this.stompClient.webSocketFactory=()=>{const e=new WebSocket(a);return e.binaryType="arraybuffer",e.onerror=e=>{console.error("WebSocket连接错误:",e),clearTimeout(i),this.handleWebSocketError(e)},e.onopen=()=>{},e.onclose=e=>{clearTimeout(i),this.isReconnecting||this.handleWebSocketClose(e)},e};const r={email:e,type:this.userType};return this.stompClient.onStompError=e=>{const t=e.headers?.message||"";console.error("🔴 STOMP 错误:",t),t.includes("1020")?this.handleConnectionLimitError():(this.connectionError=t||this.$t("chat.abnormal"),this.connectionStatus="error",this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!0,this.$forceUpdate())},new Promise(((t,n)=>{this.stompClient.connect(r,(n=>{clearTimeout(i),this.isWebSocketConnected=!0,this.connectionStatus="connecting",this.reconnectAttempts=0,this.isReconnecting=!1,this.connectionError=null,this.subscribeToPersonalMessages(e),this.startHeartbeat(),setTimeout((()=>{"connecting"!==this.connectionStatus||this.isConnectionVerified||(console.warn("⚠️ 连接成功但5秒内未完成订阅验证,可能是多窗口冲突或订阅失败"),this.connectionStatus="error",this.connectionError=this.$t("chat.conflict"),this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!0,this.$forceUpdate())}),5e3),t(n)}),(e=>(console.error("WebSocket Error:",e),clearTimeout(i),this.isHandshakeError(e)?(this.handleHandshakeError(e),void n(e)):this.isConnectionLimitError(e.headers.message)?(this.connectionError=e.headers.message,this.connectionStatus="error",this.isReconnecting=!1,this.handleConnectionLimitError(),void n(e)):(e.headers.message.includes("503")?this.connectionError=this.$t("chat.server500"):e.headers.message.includes("handshake")?this.connectionError=this.$t("chat.networkAnomaly"):this.connectionError=this.$t("chat.abnormal"),this.isReconnecting=!1,this.handleDisconnect(),void n(e))))),this.stompClient.heartbeat.outgoing=3e4,this.stompClient.heartbeat.incoming=3e4}))}catch(s){return console.error("初始化 WebSocket 失败:",s),clearTimeout(i),this.connectionError=this.$t("chat.initializationFailed"),this.isReconnecting=!1,this.handleDisconnect(),Promise.reject(s)}},handleDisconnect(){this.isReconnecting||(this.isWebSocketConnected=!1,this.connectionStatus="error",this.isReconnecting=!0,this.clearConnectionVerification(),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.isConnectionLimitError(this.connectionError)?this.handleConnectionLimitError():this.handleConnectionError(this.connectionError)||(this.reconnectAttempts{if(this.isReconnecting=!1,!this.isWebSocketConnected){const e=this.connectWebSocket(this.userEmail);e&&"function"===typeof e.catch&&e.catch((e=>{console.error("[DEBUG] 自动重连失败:",e)}))}}),this.reconnectInterval)):(this.isReconnecting=!1,this.showRefreshButton=!0)))},handleNetworkChange(){this.networkStatus=navigator.onLine?"online":"offline",navigator.onLine&&(location.reload(),this.isChatOpen=!1,this.isMinimized=!1,this.isLoadingHistory=!1,this.isLoading=!1,this.isWebSocketConnected=!1,this.isReconnecting=!1)},startActivityCheck(){this.activityCheckInterval=setInterval((()=>{const e=Date.now(),t=e-this.lastActivityTime;t>3e5&&!this.isWebSocketConnected&&this.handleDisconnect()}),6e4)},updateLastActivityTime(){this.lastActivityTime=Date.now()},handleBeforeUnload(){this.disconnectWebSocket()},handleInputMessage(){this.inputMessage.length>this.maxMessageLength&&(this.inputMessage=this.inputMessage.slice(0,this.maxMessageLength))},handleEnterKey(e){"Enter"!==e.key||e.shiftKey||(e.preventDefault(),this.inputMessage.trim()&&"connected"===this.connectionStatus&&this.sendMessage())},sendMessage(){if("online"!==this.networkStatus)return void this.$message({message:this.$t("chat.networkError")||"网络连接已断开,无法发送消息",type:"error",showClose:!0});if(console.log("客服状态",this.customerIsOnline,"用户身份",this.userType,"用户邮箱",this.userEmail),0===this.userType&&!1===this.customerIsOnline)return void this.$message({message:this.$t("chat.customerServiceOffline")||"客服离线,请登录账号发送留言消息",type:"warning",showClose:!0});if(!this.inputMessage.trim())return void this.$message({message:this.$t("chat.sendMessageEmpty")||"发送消息不能为空",type:"warning",showClose:!0});if(this.inputMessage.length>this.maxMessageLength)return void this.$message.warning(this.$t("chat.contentMax")||"超出发送内容大小限制,请删除部分内容(300字以内)");if(!this.stompClient||!this.stompClient.connected)return void this.handleDisconnect();const e=this.inputMessage.trim(),t=Date.now(),i=Math.random().toString(36).substr(2,9),n=`local_${t}_${i}`,o={id:n,content:e,type:1,sendEmail:this.userEmail,sendTime:(new Date).toISOString(),roomId:this.roomId,isLocalMessage:!0};this.addMessageToChat(o,!0);try{const t={content:e,type:1,email:this.receivingEmail,receiveUserType:2,roomId:this.roomId};this.stompClient.send("/point/send/message/to/customer",{},JSON.stringify(t)),this.inputMessage=""}catch(s){console.error("发送消息失败:",s),this.$message.error(this.$t("chat.failInSend")||"发送失败,请重试")}},disconnectWebSocket(){if(this.stopHeartbeat(),this.clearConnectionVerification(),this.stompClient)try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((e=>{this.stompClient.unsubscribe(e)})),this.stompClient.deactivate(),this.isWebSocketConnected=!1,this.connectionStatus="disconnected",this.reconnectAttempts=0,this.isReconnecting=!1}catch(e){console.error("断开 WebSocket 连接失败:",e)}},handleVisibilityChange(){document.hidden||(this.isWebSocketConnected||this.handleDisconnect(),this.updateLastActivityTime())},async markMessagesAsRead(){if(this.roomId&&this.userEmail)try{const t={roomId:this.roomId,userType:this.userType,email:this.userEmail};let i=0;const n=3;let s=!1;while(i{"user"===e.type&&(e.isRead=!0)})),s=!0):(console.warn(`标记消息已读失败 (尝试 ${i+1}/${n}):`,e),i++,isetTimeout(e,1e3*i))))}catch(e){i++,isetTimeout(e,1e3*i)))}s||(console.warn("标记消息已读失败,已达到最大重试次数"),this.updateUnreadMessages(0),this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)})))}catch(e){console.error("标记消息已读出错:",e),this.updateUnreadMessages(0),this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)}))}else console.log("缺少必要参数,跳过标记已读")},async loadHistoryMessages(){if(!this.isLoadingHistory&&this.roomId){this.isLoadingHistory=!0;try{const e=await(0,o.getHistory7)({roomId:this.roomId,userType:this.userType,email:this.userEmail});if(200===e?.code&&Array.isArray(e.data)){const t=this.formatHistoryMessages(e.data);t.length>0?(this.messages=t.sort(((e,t)=>new Date(e.time)-new Date(t.time))),await this.$nextTick(),setTimeout((()=>{this.scrollToBottom(!0)}),100)):this.messages=[{type:"system",text:this.$t("chat.noHistory")||"暂无历史消息",isSystemHint:!0,time:(new Date).toISOString()}]}else this.messages=[{type:"system",text:this.$t("chat.noHistory")||"暂无历史消息",isSystemHint:!0,time:(new Date).toISOString()}]}catch(e){console.error("加载历史消息失败:",e),this.$message.error(this.$t("chat.loadHistoryFailed")||"加载历史消息失败"),this.messages=[{type:"system",text:"加载历史消息失败,请重试",isSystemHint:!0,time:(new Date).toISOString(),isError:!0}]}finally{this.isLoadingHistory=!1}}},async loadMoreHistory(){if(!this.isLoadingHistory&&this.roomId){this.isLoadingHistory=!0;try{let e=null,t=0;const i=this.$refs.chatBody;if(i&&i.children&&i.children.length>0)for(let o=0;o!e.isSystemHint&&!e.isLoading)),s=await(0,o.getHistory7)({roomId:this.roomId,userType:this.userType,email:this.userEmail,id:n?.id});if(s&&200===s.code&&s.data&&Array.isArray(s.data)&&s.data.length>0){const n=this.formatHistoryMessages(s.data);if(n.length>0){const o=new Set(this.messages.map((e=>e.id)).filter((e=>e))),s=n.filter((e=>!o.has(e.id)));s.length>0?(this.messages=[...s,...this.messages],this.$nextTick((()=>{if(i&&e){let n=this.messages.findIndex((t=>t.id===e));if(-1!==n&&i.children[n]){const e=i.children[n].offsetTop;i.scrollTop=e-t}}}))):(this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()}))}else this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()})}else this.hasMoreHistory=!1,this.messages.unshift({type:"system",text:this.$t("chat.noMoreHistory")||"没有更多历史消息了",isSystemHint:!0,time:(new Date).toISOString()})}catch(e){this.$message.error(this.$t("chat.loadHistoryFailed")||"加载历史消息失败,请重试")}finally{this.isLoadingHistory=!1}}},formatHistoryMessages(e){if(!e||!Array.isArray(e)||0===e.length)return[];const t=e.filter((e=>e&&e.id&&(e.content||2===e.type))).map((e=>({type:1===e.isSelf?"user":"system",text:e.content||"",isImage:2===e.type,imageUrl:2===e.type?e.content:null,time:"string"===typeof e.createTime?e.createTime:e.createTime?new Date(e.createTime).toISOString():(new Date).toISOString(),id:e.id,roomId:e.roomId,sender:e.sendEmail,isHistory:!0,isRead:!0}))).sort(((e,t)=>{if(e.id&&t.id){const i=parseInt(e.id)-parseInt(t.id);if(0!==i)return i}const i=new Date(e.time).getTime(),n=new Date(t.time).getTime();return i-n}));return console.log("✅ 格式化历史消息完成,数量:",t.length),t},async fetchUserid(e){try{const t=await(0,o.getUserid)(e);return t&&200==t.code?(this.receivingEmail=t.data.userEmail,this.roomId=t.data.id,this.customerIsOnline=t.data.customerIsOnline,localStorage.setItem("customerIsOnline",JSON.stringify(this.customerIsOnline)),t.data):(console.warn("获取用户ID未返回有效数据"),null)}catch(t){throw console.error("获取用户ID失败:",t),t}},updateMessageReadStatus(e){Array.isArray(e)&&0!==e.length?this.messages.forEach((t=>{t.id&&e.includes(t.id)&&(t.isRead=!0)})):this.messages.forEach((e=>{"user"===e.type&&(e.isRead=!0)}))},onMessageReceived(e){try{const t=JSON.parse(e.body);if(this.markConnectionVerified(),99===t.type||t.content&&(t.content.includes("__SYSTEM_PING__")||t.content.includes("connection_test_ping")||t.content.includes("SYSTEM_PING")))return;this.handleIncomingMessage(t)}catch(t){console.error("处理消息失败:",t)}},handleIncomingMessage(e){const t=e.sendEmail===this.userEmail,i={id:e.id,sender:e.sendEmail,content:e.content,createTime:e.createTime,sendTime:e.sendTime,type:e.type,roomId:e.roomId,sendEmail:e.sendEmail,isImage:2===e.type,clientReadNum:e.clientReadNum,isLocalMessage:e.isLocalMessage||!1};if(t){const e=this.messages.findIndex((e=>{if(!e.isLocalMessage)return!1;const t=e.text===i.content,n=new Date(e.time),o=i.createTime||i.sendTime;if(!o)return t;const s=new Date(o),a=Math.abs(s-n),r=a<3e4;return t&&r}));if(-1!==e){const t=this.createMessageObject(i);return void this.$set(this.messages,e,{...this.messages[e],id:i.id,time:t.time,isLocalMessage:!1})}}if(!this.checkDuplicateMessage(i)&&(this.addMessageToChat(i,t),!t))if(this.isChatOpen&&this.isAtBottom())this.updateUnreadMessages(0);else{void 0!==e.clientReadNum?this.updateUnreadMessages(e.clientReadNum):this.updateUnreadMessages(this.unreadMessages+1);const t=this.createMessageObject(e);this.showNotification(t)}},checkDuplicateMessage(e){const t=e.time||e.createTime||e.sendTime;if(!t)return!1;const i=e.content,n=e.sendEmail,o=e.id;if(o&&this.messages.some((e=>e.id===o)))return!0;const s=n===this.userEmail;if(!s)return!1;const a=Date.now()-3e4,r=new Date(t).getTime();return this.messages.some((e=>{if(e.isLocalMessage)return!1;if("user"!==e.type||e.text!==i)return!1;const t=new Date(e.time).getTime(),n=Math.abs(t-r),o=t>a,s=n<3e4;return!(!o||!s)}))},createMessageObject(e){let t;return t=e.sendTime?"string"===typeof e.sendTime?e.sendTime:new Date(e.sendTime).toISOString():e.createTime?"string"===typeof e.createTime?e.createTime:new Date(e.createTime).toISOString():(new Date).toISOString(),{type:e.sendEmail===this.userEmail?"user":"system",text:e.content,isImage:2===e.type,imageUrl:2===e.type?e.content:null,time:t,id:e.id,roomId:e.roomId,sender:e.sendEmail,isRead:!1,isLocalMessage:e.isLocalMessage||!1}},addMessageToChat(e,t=!1){const i=this.createMessageObject(e);this.messages.push(i),this.$nextTick((()=>{t||e.isNewMessage?(this.scrollToBottom(!0,"new"),setTimeout((()=>this.scrollToBottom(!0,"new")),100),this.userViewHistory=!1):this.userViewHistory||(this.scrollToBottom(!1,"new"),setTimeout((()=>this.scrollToBottom(!1,"new")),100))}))},showNotification(e){"Notification"in window&&("granted"===Notification.permission?this.createNotification(e):"denied"!==Notification.permission&&Notification.requestPermission().then((t=>{"granted"===t&&this.createNotification(e)})))},createNotification(e){const t=new Notification(this.$t("chat.newMessage")||"新消息",{body:e.isImage?`[ ${this.$t("chat.pictureMessage")}]`||"[图片消息]":e.text,icon:"/path/to/notification-icon.png"});t.onclick=()=>{window.focus(),this.openChat(e.roomId)}},async openChat(e){this.isChatOpen=!0,this.isMinimized=!1,e&&(this.currentContactId=e,this.messages=this.cachedMessages[e]||[],this.markMessagesAsRead(e),await this.$nextTick(),this.scrollToBottom(!0,"new"))},async toggleChat(){this.fetchUserid({email:this.userEmail}),console.log("请求客服状态",this.userEmail);const e=this.isChatOpen;this.isChatOpen=!this.isChatOpen;const t=JSON.parse(localStorage.getItem("jurisdiction")||"{}");if("customer_service"!==t.roleKey&&"admin"!==t.roleKey)if(!e&&this.isChatOpen&&this.$nextTick((()=>{this.isAtBottom()&&this.markMessagesAsRead()})),this.isChatOpen)try{this.userEmail||await this.determineUserType(),this.isWebSocketConnected&&"disconnected"!==this.connectionStatus&&"error"!==this.connectionStatus?"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected?this.markConnectionVerified():this.startConnectionVerification():await this.connectWebSocket(this.userEmail),0===this.messages.length?await this.loadHistoryMessages():(await this.$nextTick(),setTimeout((()=>{this.scrollToBottom(!0,"new")}),100)),setTimeout((()=>{this.isChatOpen&&this.$refs.chatBody&&this.scrollToBottom(!0,"new")}),300)}catch(i){console.error("初始化聊天失败:",i)}else this.clearConnectionVerification();else{this.userType=2;const e=this.$i18n.locale;this.$router.push(`/${e}/customerService`)}},minimizeChat(){this.isChatOpen=!1,this.isMinimized=!0},closeChat(){this.isChatOpen=!1,this.isMinimized=!0},addSystemMessage(e){this.messages.push({type:"system",text:e,isImage:!1,time:(new Date).toISOString()})},handleAutoResponse(e){setTimeout((()=>{let t=this.$t("chat.beSorry")||"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。";for(const[i,n]of Object.entries(this.autoResponses))if(e.toLowerCase().includes(i.toLowerCase())){t=n;break}this.messages.push({type:"system",text:t,isImage:!1,time:(new Date).toISOString()}),this.isChatOpen||this.unreadMessages++}),1e3)},handleImageLoad(e){e&&e.isHistory||this.scrollToBottom(!0,"new")},scrollToBottom(e=!1,t="new"){if(!this.$refs.chatBody)return void console.warn("[DEBUG] scrollToBottom: chatBody不存在");const i=this.$refs.chatBody,n=(i.scrollTop,i.scrollHeight,i.clientHeight,()=>{i.scrollTop=i.scrollHeight});this.$nextTick((()=>{this.$nextTick((()=>{n(),e&&setTimeout((()=>{this.$refs.chatBody&&n()}),50)}))}))},formatTime(e){if(!e)return"";try{let t="";if("string"===typeof e)t=e;else{if(!(e instanceof Date))return String(e);t=e.toISOString()}if(t.includes("T")){const[e,i]=t.split("T");if(e&&i){const t=i.split(":").slice(0,2).join(":"),n=new Date,o=n.toISOString().split("T")[0],s=e;if(o===s)return`UTC ${this.$t("chat.today")} ${t}`;const a=new Date(Date.now()-864e5).toISOString().split("T")[0];return a===s?`UTC ${this.$t("chat.yesterday")} ${t}`:`UTC ${e} ${t} `}}const i=new Date(t);if(isNaN(i.getTime()))return t;const n=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),s=String(i.getUTCDate()).padStart(2,"0"),a=String(i.getUTCHours()).padStart(2,"0"),r=String(i.getUTCMinutes()).padStart(2,"0");return`UTC ${n}-${o}-${s} ${a}:${r} `}catch(t){return console.error("格式化时间失败:",t),String(e)}},formatTimeDivider(e){if(!e)return"";try{let t="";if("string"===typeof e)t=e;else{if(!(e instanceof Date))return String(e);t=e.toISOString()}if(t.includes("T")){const[e,i]=t.split("T");if(e&&i){const t=i.split(":").slice(0,2).join(":"),n=new Date,o=n.toISOString().split("T")[0],s=e;if(o===s)return`UTC ${this.$t("chat.today")} ${t}`;const a=new Date(Date.now()-864e5).toISOString().split("T")[0];return a===s?`UTC ${this.$t("chat.yesterday")} ${t}`:`UTC ${e} ${t} `}}const i=new Date(t);if(isNaN(i.getTime()))return t;const n=i.getUTCFullYear(),o=String(i.getUTCMonth()+1).padStart(2,"0"),s=String(i.getUTCDate()).padStart(2,"0"),a=String(i.getUTCHours()).padStart(2,"0"),r=String(i.getUTCMinutes()).padStart(2,"0");return`UTC ${n}-${o}-${s} ${a}:${r} `}catch(t){return console.error("格式化分割条时间失败:",t),String(e)}},handleClickOutside(e){if(this.isChatOpen){const t=this.$el.querySelector(".chat-dialog"),i=this.$el.querySelector(".chat-icon"),n=this.$el.querySelector(".history-indicator");if(n&&n.contains(e.target))return;!t||t.contains(e.target)||i.contains(e.target)||(this.isChatOpen=!1)}},async handleImageUpload(e){if("connected"!==this.connectionStatus)return;const t=e.target.files[0];if(!t)return;if(!t.type.startsWith("image/"))return void this.$message({message:this.$t("chat.onlyImages")||"只能上传图片文件!",type:"warning"});const i=5242880;if(t.size>i)this.$message({message:this.$t("chat.imageTooLarge")||"图片大小不能超过5MB!",type:"warning"});else try{const e=new FormData;e.append("file",t);const i=await this.$axios({method:"post",url:"https://test.m2pool.com/api/pool/ticket/uploadFile",data:e,headers:{"Content-Type":"multipart/form-data"}});if(200!==i.data.code)throw new Error(i.data.msg||this.$t("chat.pictureFailed")||"发送图片失败,请重试");{const e=i.data.data.url;this.sendImageMessage(e)}}catch(n){console.error("图片处理失败:",n),this.$message.error("图片处理失败,请重试")}finally{this.$refs.imageUpload.value=""}},sendImageMessage(e){if(!this.stompClient||!this.stompClient.connected)return void this.handleDisconnect();const t=Date.now(),i=Math.random().toString(36).substr(2,9),n=`local_img_${t}_${i}`,o={id:n,content:e,type:2,sendEmail:this.userEmail,sendTime:(new Date).toISOString(),roomId:this.roomId,isLocalMessage:!0};this.addMessageToChat(o,!0);try{const t={type:2,email:this.receivingEmail,receiveUserType:2,roomId:this.roomId,content:e};this.stompClient.send("/point/send/message/to/customer",{},JSON.stringify(t))}catch(s){console.error("发送图片消息失败:",s)}},previewImage(e){this.previewImageUrl=e,this.showImagePreview=!0},closeImagePreview(){this.showImagePreview=!1,this.previewImageUrl=""},async handleRetryConnect(){try{this.connectionStatus="connecting",this.connectionError=null,this.showRefreshButton=!1,this.isReconnecting=!1,this.isConnectionVerified=!1,this.isHandlingError=!1,this.lastErrorTime=0,this.reconnectAttempts=0,this.clearConnectionVerification(),await this.forceDisconnectAll(),await new Promise((e=>setTimeout(e,500))),this.userEmail||await this.determineUserType(),await this.connectWebSocket(this.userEmail),"connected"===this.connectionStatus&&(0===this.messages.length&&await this.loadHistoryMessages(),this.$nextTick((()=>{this.scrollToBottom(!0)})))}catch(e){console.error("❌ 重试连接失败:",e),this.connectionStatus="error",this.isReconnecting=!1,e.message&&(e.message.includes("handshake")||e.message.includes("503")||e.message.includes("网络"))?(this.connectionError=this.$t("chat.networkAnomaly")||"网络连接异常,请稍后重试",this.showRefreshButton=!1):(this.connectionError=this.$t("chat.abnormal")||"连接异常,请重试",this.showRefreshButton=e.message&&e.message.includes("1020"))}},refreshPage(){window.location.reload()},startHeartbeat(){this.stopHeartbeat(),this.lastHeartbeatTime=Date.now(),this.heartbeatInterval=setInterval((()=>{const e=Date.now();if(e-this.lastHeartbeatTime>this.heartbeatTimeout&&"connected"===this.connectionStatus&&this.stompClient&&this.stompClient.connected){if(this.stompClient.ws.readyState===WebSocket.OPEN)return void(this.lastHeartbeatTime=e);this.handleDisconnect()}}),this.heartbeatCheckInterval)},stopHeartbeat(){this.heartbeatInterval&&(clearInterval(this.heartbeatInterval),this.heartbeatInterval=null)},handleLoginClick(){this.isChatOpen=!1;const e=this.$i18n.locale;this.$router.push(`/${e}/login`)},parseSocketError(e){let t="";if("string"===typeof e?t=e:e&&e.message?t=e.message:e&&e.body&&(t=e.body),t.includes("ERROR message:")){const e=t.split("ERROR message:")[1];if(e&&e.match(/^\d+/)){const i=e.match(/^(\d+)(.*)$/);if(i){const e=i[1],n=i[2]||"";return{code:e,message:n.trim(),original:t}}}}if(t.includes(",")){const e=t.split(",");if(e.length>=2){const i=e[0].trim(),n=e.slice(1).join(",").trim();return{code:i,message:n,original:t}}}const i=t.match(/^(\d+)(.*)$/);if(i){const e=i[1],n=i[2].trim();return{code:e,message:n,original:t}}return{code:null,message:t,original:t}},isConnectionLimitError(e){if(!e)return!1;const t=String(e),{code:i,message:n}=this.parseSocketError(t);if("1020"===i)return!0;const o=n.toLowerCase(),s=o.includes("连接数已达上限")||o.includes("本机连接数已达上限")||o.includes("本机连接已达上限")||o.includes("无法连接到已上线")||o.includes("请先关闭已有链接")||o.includes("maximum connections")||o.includes("connection limit")||o.includes("too many connections")||o.includes("1020");if(!s){if(t.includes("1020"))return!0;if(t.includes("ERROR message:1020"))return!0;if(t.includes("连接数上限")||t.includes("连接数已达上限"))return!0}return s},async handleConnectionLimitError(){this.connectionStatus="error",this.connectionError=this.$t("chat.connectionLimitError")||"连接数已达上限(超过10个窗口),请关闭一些窗口后重试",this.isWebSocketConnected=!1,this.isReconnecting=!1,this.showRefreshButton=!1,this.$forceUpdate()},async forceDisconnectAll(){if(this.stopHeartbeat(),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.activityCheckInterval&&(clearInterval(this.activityCheckInterval),this.activityCheckInterval=null),this.clearConnectionVerification(),this.stompClient){try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((e=>{try{this.stompClient.unsubscribe(e)}catch(t){}})),this.stompClient.connected&&this.stompClient.disconnect(),this.stompClient.ws&&this.stompClient.ws.readyState===WebSocket.OPEN&&this.stompClient.ws.close()}catch(e){}this.stompClient=null}this.isWebSocketConnected=!1,this.reconnectAttempts=0,this.connectionError=null},handleConnectionError(e){if(!e)return!1;let t;t="string"===typeof e?this.parseSocketError(e):e.message?this.parseSocketError(e.message):this.parseSocketError(e);const i=t.code;t.message||t.original;switch(i){case"1020":return!1;case"1021":return this.connectionError=this.$t("chat.serverBusy")||"服务器繁忙,请稍后刷新重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;case"1022":return this.connectionError=this.$t("chat.identityError")||"身份验证失败,请刷新页面重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;case"1023":return this.connectionError=this.$t("chat.emailError")||"用户信息获取失败,请刷新页面重试",this.connectionStatus="error",this.isReconnecting=!1,this.showRefreshButton=!0,this.$message.error(this.connectionError),!0;default:return!1}},startConnectionVerification(){this.isConnectionVerified=!1,this.clearConnectionVerification(),"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected?this.markConnectionVerified():this.connectionVerifyTimer=setTimeout((()=>{this.isConnectionVerified||("connecting"===this.connectionStatus||"connected"===this.connectionStatus?this.handleConnectionTimeout():this.handleConnectionVerificationFailure())}),6e4)},markConnectionVerified(){this.isConnectionVerified||(this.isConnectionVerified=!0,this.clearConnectionVerification(),this.isHandlingError=!1,this.isReconnecting=!1,this.reconnectAttempts=0,this.connectionError=null,this.connectionStatus="connected",this.isWebSocketConnected=!0,this.$forceUpdate())},setupDebugMode(){document.addEventListener("keydown",(e=>{e.ctrlKey&&e.shiftKey&&"D"===e.key&&this.debugConnectionStatus()}))},debugConnectionStatus(){"connecting"===this.connectionStatus&&this.isConnectionVerified&&(console.warn("⚠️ 状态不一致:连接中但已验证"),this.connectionStatus="connected",this.$forceUpdate()),"connected"!==this.connectionStatus||this.isWebSocketConnected||(console.warn("⚠️ 状态不一致:已连接但WebSocket未连接"),this.connectionStatus="connecting",this.$forceUpdate())},clearConnectionVerification(){this.connectionVerifyTimer&&(clearTimeout(this.connectionVerifyTimer),this.connectionVerifyTimer=null)},handleConnectionVerificationFailure(){const e=Date.now();this.isHandlingError&&e-this.lastErrorTime<5e3||(this.isHandlingError=!0,this.lastErrorTime=e,this.clearConnectionVerification(),this.isWebSocketConnected=!1,this.connectionStatus="connecting",this.connectionError=this.$t("chat.reconnecting")||"正在重新连接...",setTimeout((()=>{if(this.isHandlingError=!1,this.stompClient)try{this.stompClient.disconnect()}catch(e){}this.connectWebSocket(this.userEmail).catch((e=>{this.isHandlingError=!1,this.connectionStatus="error",this.showRefreshButton=!0}))}),2e3))},handleConnectionTimeout(){const e=Date.now();if(!(this.isHandlingError&&e-this.lastErrorTime<5e3)){if(this.isHandlingError=!0,this.lastErrorTime=e,this.reconnectAttempts++,this.reconnectAttempts>=this.maxReconnectAttempts)return console.log("❌ 连接超时且已达最大重连次数,停止重连"),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError="连接超时,请刷新页面重试",void(this.showRefreshButton=!0);this.clearConnectionVerification(),this.forceDisconnectAll().then((()=>{this.connectionStatus="connecting",this.connectionError=this.$t("chat.connectionTimedOut")||"连接超时,稍后重试...",setTimeout((()=>{this.isHandlingError=!1,this.connectWebSocket(this.userEmail).catch((e=>{console.error("❌ 超时重连失败:",e),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.reconnectFailed")||"重连失败,请稍后重试",this.reconnectAttempts>=this.maxReconnectAttempts&&(this.showRefreshButton=!0,this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试")}))}),2e3)})).catch((e=>{console.error("❌ 强制断开连接失败:",e),this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailed")||"连接处理失败,请稍后重试",this.reconnectAttempts>=this.maxReconnectAttempts&&(this.showRefreshButton=!0,this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试")}))}},isHandshakeError(e){if(!e||!e.message)return!1;const t=e.message.toLowerCase();return t.includes("handshake")||t.includes("websocket")||t.includes("unexpected response code: 200")||t.includes("unexpected response code: 404")||t.includes("unexpected response code: 500")||t.includes("unexpected response code: 502")||t.includes("unexpected response code: 503")||t.includes("connection refused")||t.includes("connection denied")||t.includes("connection reset")||t.includes("network error")||t.includes("connection failed")||t.includes("upgrade required")||t.includes("bad handshake")},handleHandshakeError(e){const t=Date.now();if(!(this.isHandlingError&&t-this.lastErrorTime<5e3)){if(this.isHandlingError=!0,this.lastErrorTime=t,this.isWebSocketConnected=!1,this.connectionStatus="error",this.isReconnecting=!1,e.message.includes("unexpected response code: 200")?this.connectionError=this.$t("chat.serviceConfigurationError")||"服务配置异常,请稍后重试":e.message.includes("unexpected response code: 404")?this.connectionError=this.$t("chat.serviceAddressUnavailable")||"服务地址不可用,请稍后重试":e.message.includes("unexpected response code: 500")?this.connectionError=this.$t("chat.server500")||"服务器暂时不可用,请稍后重试":e.message.includes("connection refused")?this.connectionError=this.$t("chat.connectionFailedService")||"无法连接到服务器,请稍后重试":this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请稍后重试",this.reconnectAttempts++,this.reconnectAttempts>=this.maxReconnectAttempts)return this.isHandlingError=!1,this.showRefreshButton=!0,void(this.connectionError=this.$t("chat.connectionFailed")||"连接失败,请刷新页面重试");setTimeout((()=>{this.isHandlingError=!1,this.connectionStatus="connecting",this.connectWebSocket(this.userEmail).catch((e=>{this.isHandlingError=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.reconnectFailed")||"重连失败,请稍后重试"}))}),3e3)}},handleWebSocketError(e){const t=Date.now();this.isHandlingError&&t-this.lastErrorTime<3e3||(this.isHandlingError=!0,this.lastErrorTime=t,this.isWebSocketConnected=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailedCustomer")||"连接客服系统失败,请检查网络或稍后重试",this.showRefreshButton=!1,setTimeout((()=>{this.isHandlingError=!1,this.handleDisconnect()}),1e3))},handleWebSocketClose(e){1e3!==e.code&&(this.isWebSocketConnected=!1,this.connectionStatus="error",this.connectionError=this.$t("chat.connectionFailedCustomer")||"连接客服系统失败,请检查网络或稍后重试",this.showRefreshButton=!1,setTimeout((()=>{this.isWebSocketConnected||this.handleDisconnect()}),1e3))},handleLogout(){this.disconnectWebSocket(),this.isChatOpen=!1,this.isMinimized=!0,this.messages=[],this.updateUnreadMessages(0),this.connectionStatus="disconnected",this.isWebSocketConnected=!1,this.userType=0,this.userEmail="",this.roomId="",sessionStorage.removeItem("chatGuestEmail"),this.lastConnectedEmail=null},async handleLoginSuccess(){this.disconnectWebSocket(),sessionStorage.removeItem("chatGuestEmail"),this.lastConnectedEmail=null,await new Promise((e=>setTimeout(e,100)));let e=0;const t=3;while(esetTimeout(t,500*e)))}},shouldAutoScrollOnNewMessage(){if(!this.isChatOpen)return!1;const e=this.$refs.chatBody;if(!e)return!1;const{scrollTop:t,scrollHeight:i,clientHeight:n}=e,o=Math.abs(i-(t+n)),s=o<100;return s},isAtBottom(){const e=this.$refs.chatBody;return!e||e.scrollHeight-e.scrollTop-e.clientHeight<2},handleChatBodyScroll(){this.$refs.chatBody&&(this.isAtBottom()?(this.userViewHistory=!1,this.markMessagesAsRead()):this.userViewHistory=!0)},scrollToBottomOnInit(){let e=0;const t=5,i=100,n=()=>{this.scrollToBottom(!0,"init"),e++,ee.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return t(e).replace(/\n/g,"
                      ")}},beforeDestroy(){this.$bus.$off("user-logged-out",this.handleLogout),this.handleLogout(),document.removeEventListener("visibilitychange",this.handleVisibilityChange),this.stompClient&&(this.stompClient.disconnect(),this.stompClient=null),this.disconnectWebSocket(),this.activityCheckInterval&&clearInterval(this.activityCheckInterval),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.clearConnectionVerification(),window.removeEventListener("online",this.handleNetworkChange),window.removeEventListener("offline",this.handleNetworkChange),document.removeEventListener("mousemove",this.updateLastActivityTime),document.removeEventListener("keydown",this.updateLastActivityTime),document.removeEventListener("click",this.updateLastActivityTime),window.removeEventListener("storage",this.handleStorageChange),this.stopHeartbeat(),this.$bus.$off("user-logged-in",this.handleLoginSuccess),this.$refs.chatBody&&this.$refs.chatBody.removeEventListener("scroll",this.handleChatBodyScroll)}}},57637:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.seo_zh=t.seo_en=void 0;n(i(94368));t.seo_zh={seo:{Home:"M2Pool 矿池,2024 全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。",miningAccount:"M2Pool 矿池的挖矿账户页面,为用户提供详尽的账户信息展示。在这里,您可以直观地查看该账户的收益情况,通过算力走势图清晰了解算力变化趋势,掌握矿工情况,同时还能深入查看收益及支付的详细信息,助力您更好地管理挖矿业务。",readOnlyDisplay:"M2Pool 矿池只读页面展示页,通过分享的链接地址及特定权限,清晰呈现矿池的收益状况、支付详情以及矿工信息等关键数据,让您随时了解矿池动态,把握挖矿收益走向。",reportBlock:"M2Pool 矿池报块页面,精准展示各个币种的幸运值、区块高度、出块时间、区块哈希值以及区块奖励等重要信息,为您提供全面的矿池运行数据,助力您做出更明智的挖矿决策。",rate:"M2Pool 矿池费率页面,清晰呈现各个币种的挖矿费率、收益计算模式以及起付额等关键信息,帮助您准确评估挖矿成本与收益,做出更合理的挖矿策略选择。",apiFile:"M2Pool 矿池 API 文档页面,为用户详细介绍如何通过 M2Pool 提供的 API 接口获取矿池及帐户算力。内容涵盖 API 的认证 token 生成、接口调用方法以及返回数据结构说明,助力开发者高效利用矿池数据资源。",AccessMiningPool:"M2Pool 矿池接入矿池页面,详细阐述每个币种接入矿池的具体步骤,为用户提供便捷的接入指南,轻松开启挖矿之旅。",ServiceTerms:"M2Pool 矿池服务条款页面,明确阐述关于使用 M2Pool 矿池网站的相关服务条款,确保用户在使用过程中清楚了解权利与义务,保障用户权益。",submitWorkOrder:"M2Pool 矿池提交工单页面,当您在使用矿池网站过程中遇到任何问题时,可在此提交工单。我们将尽快处理并回复,为您提供高效的技术支持服务。",workOrderRecords:"M2Pool 矿池工单记录页面,方便用户查看在 M2Pool 矿池网站提交的所有工单记录以及工单目前的处理状态,随时掌握问题解决进度。",userWorkDetails:"M2Pool 矿池用户工单详情页面,用户可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程。同时,也可以通过该页面继续对该工单进行补充提交。",alerts:"M2Pool 矿池矿机离线告警,根据不同账户用户自定义设置告警邮箱及备注信息,方便用户及时掌握矿机情况,提升用户体验。",personalCenter:"M2Pool 矿池个人中心,为用户提供全面的个性化管理功能。在这里,您可以便捷地设置挖矿账户、管理钱包地址、调整只读页面权限、强化安全设置,还能订阅挖矿报告,以及生成个人 API 密钥,满足您对矿池管理的多样化需求。",personalMining:"M2Pool 矿池个人中心挖矿账户设置页面,用户可在此设置各个币种的挖矿账户,方便地进行账户的添加、删除操作,以及绑定和修改钱包地址。",readOnly:"在 M2Pool 矿池的只读页面设置中,轻松添加只读权限,根据自选权限分享矿池信息。无论是管理员还是注册用户,都能便捷查看,随时掌握矿池动态。",securitySetting:"M2Pool 矿池个人中心安全设置页面,用户可在此修改密码并开启双重验证,为账户安全增添多一层保障。",personalAPI:"M2Pool 矿池个人中心 API 页面,用户可以选择默认本地 IP 或输入特定 IP 地址,自主选择权限并生成对应的 API KEY,方便进行个性化的数据管理。",miningReport:"M2Pool 矿池个人中心挖矿报告页面,用户可开启周报、月报订阅服务,固定时间将上周或上月的挖矿数据发送至用户注册邮箱,随时掌握挖矿成果。",personal:"显示用户信息、登录历史相关信息:时间、位置、ip、设备等",nexaAccess:"M2Pool 矿池 nexa 接入页面,详细介绍如何接入 M2Pool 矿池进行 nexa 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",grsAccess:"M2Pool 矿池 grs 接入页面,详细介绍如何接入 M2Pool 矿池进行 grs 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",monaAccess:"M2Pool 矿池 mona 接入页面,详细介绍如何接入 M2Pool 矿池进行 mona 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",dgbAccess:"M2Pool 矿池 dgb 接入页面,详细介绍如何接入 M2Pool 矿池进行 dgb 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",rxdAccess:"M2Pool 矿池 rxd 接入页面,详细介绍如何接入 M2Pool 矿池进行 radiant 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",allocationExplanation:"M2Pool 矿池分配及转账说明页面,详细介绍各币种的成熟条件、出块间隔及预估时间,何时将挖矿收益分配及转账至用户账户,提供用户清晰的了解分配及转账指南。",enxAccess:"Entropyx(enx) 接入页面,详细介绍如何接入 M2Pool 矿池进行 enx 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",alphAccess:"Alephium(alph) 接入页面,详细介绍如何接入 M2Pool 矿池进行 Alephium(alph) 币种挖矿,提供用户便捷的接入指南,轻松开启挖矿之旅。",broadcast:"M2Pool 矿池广播页面,管理员可在此查看已发布的广播信息,包括广播内容、发布时间、发布者等。",userManagement:"M2Pool 矿池用户管理页面,管理员可在此查看所有用户信息,包括用户名、邮箱、注册时间、登录时间等。",helpCenter:"M2Pool 矿池帮助中心页面,提供用户全面的帮助中心信息,包括新手入门、矿业数据、常见问题、公告中心、其他等。",announcements:"M2Pool 矿池公告中心页面,提供最新的矿池公告、系统通知、服务更新和重要信息,让用户及时了解矿池动态和政策变更。",documentManagement:"M2Pool 矿池文档管理页面,提供最新的文档信息,让用户及时了解文档信息。"}},t.seo_en={seo:{Home:"M2Pool mining pool, upgraded in 2024! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.",miningAccount:"The mining account page of M2Pool provides users with detailed account information display. Here, you can intuitively view the income situation of the account, clearly understand the trend of computing power changes through the computing power trend chart, grasp the situation of miners, and also deeply view detailed information on income and payments, helping you better manage mining business",readOnlyDisplay:"The M2Pool read-only page display page presents key data such as the mining pool's revenue status, payment details, and miner information clearly through shared link addresses and specific permissions, allowing you to stay informed of the mining pool's dynamics and grasp the direction of mining revenue at any time.",reportBlock:"The M2Pool mining pool block report page accurately displays important information such as lucky value, block height, block time, block hash value, and block rewards for each currency, providing you with comprehensive mining pool operation data to help you make more informed mining decisions.",rate:"The M2Pool mining rate page clearly presents key information such as mining rates, profit calculation models, and deductibles for various currencies, helping you accurately evaluate mining costs and profits and make more reasonable mining strategy choices.",apiFile:"The M2Pool API documentation page provides users with detailed instructions on how to obtain mining pools and account computing power through the API interface provided by M2Pool. The content covers API authentication token generation, interface calling methods, and return data structure explanations, helping developers efficiently utilize mining pool data resources.",AccessMiningPool:"The M2Pool mining pool access page provides a detailed explanation of the specific steps for each currency to access the mining pool, offering users a convenient access guide to easily start their mining journey.",ServiceTerms:"The M2Pool mining pool service terms page clearly explains the relevant service terms regarding the use of the M2Pool mining pool website, ensuring that users have a clear understanding of their rights and obligations during use and protecting their rights and interests.",submitWorkOrder:"M2Pool submission ticket page, where you can submit a ticket if you encounter any problems while using the mining pool website. We will handle and reply as soon as possible to provide you with efficient technical support services.",workOrderRecords:"The M2Pool mining pool work order record page facilitates users to view all work order records submitted on the M2Pool mining pool website, as well as the current processing status of work orders, and to keep track of the progress of problem resolution at any time.",userWorkDetails:"M2Pool user work order details page, where users can view the detailed information of submitted work orders, including submission time, detailed problem description, and processing procedures. At the same time, you can also continue to supplement and submit the work order through this page.",alerts:"M2Pool mining machine offline alarm, customized alarm email and note information according to different account users, convenient for users to timely grasp the mining machine situation and improve user experience.",personalCenter:"M2Pool personal center provides users with comprehensive personalized management functions. Here, you can easily set up mining accounts, manage wallet addresses, adjust read-only page permissions, strengthen security settings, subscribe to mining reports, and generate personal API keys to meet your diverse needs for mining pool management.",personalMining:"The M2Pool personal center mining account settings page allows users to set up mining accounts for various currencies, conveniently adding and deleting accounts, as well as binding and modifying wallet addresses.",readOnly:"In the read-only page settings of M2Pool mining pool, easily add read-only permissions and share mining pool information according to the selected permissions. Both administrators and registered users can easily view and keep track of the mining pool dynamics at any time.",securitySetting:"The M2Pool personal center security settings page allows users to change their password and enable two factor authentication, adding an extra layer of security to their account.",personalAPI:"The M2Pool personal center API page allows users to choose the default local IP or enter a specific IP address, autonomously select permissions, and generate corresponding API keys for personalized data management.",miningReport:"The M2Pool personal center mining report page allows users to subscribe to weekly and monthly reports, and send mining data from the previous week or month to the user's registered email at fixed times to keep track of mining results at any time.",personal:"Display user information, login history related information: time, location, ip, device, etc.",nexaAccess:"The M2Pool nexa access page provides detailed instructions on how to access the M2Pool mining pool for nexa currency mining, offering users a convenient access guide to easily start their mining journey.",grsAccess:"The M2Pool GRS access page provides detailed instructions on how to access the M2Pool mining pool for GRS currency mining, offering users a convenient access guide to easily start their mining journey.",monaAccess:"The M2Pool mona access page provides detailed instructions on how to access the M2Pool for mona currency mining, offering users a convenient access guide to easily start their mining journey.",dgbAccess:"The M2Pool dgb access page provides detailed instructions on how to access the M2Pool for dgb currency mining, offering users a convenient access guide to easily start their mining journey.",rxdAccess:"The M2Pool rxd access page provides detailed instructions on how to access the M2Pool for radial currency mining, offering users a convenient access guide to easily start their mining journey.",allocationExplanation:"The M2Pool mining pool allocation and transfer instructions page provides detailed information on the maturity conditions, block interval, and estimated time of each currency, as well as when to allocate and transfer mining profits to user accounts, providing users with a clear understanding of allocation and transfer guidelines.",enxAccess:"Entropyx (enx) access page provides detailed instructions on how to access the M2Pool mining pool for enx currency mining, offering users a convenient access guide to easily start their mining journey.",alphAccess:"The M2Pool Alephium(alph) access page provides detailed instructions on how to access the M2Pool mining pool for Alephium(alph) currency mining, offering users a convenient access guide to easily start their mining journey.",broadcast:"M2Pool mining pool broadcast page, where administrators can view published broadcast information, including broadcast content, release time, publisher, etc.",userManagement:"M2Pool mining pool user management page, where administrators can view all user information, including user name, email, registration time, login time, etc.",helpCenter:"M2Pool mining pool help center page, providing users with comprehensive help center information, including beginner's guide, mining data, frequently asked questions, announcement center, and other information.",announcements:"M2Pool mining pool announcement center page, providing the latest mining pool announcements, system notifications, service updates and important information, allowing users to stay informed of mining pool dynamics and policy changes.",documentManagement:"M2Pool mining pool document management page, providing the latest document information, allowing users to stay informed of document information."}}},58044:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(i(66848)),s=n(i(69522)),a=n(i(62806)),r=n(i(76466));o.default.use(s.default);const c=new s.default({locale:localStorage.getItem("lang")||"en",fallbackLocale:"en",messages:r.default,silentTranslationWarn:!0});a.default.i18n(((e,t)=>c.t(e,t)));t["default"]=c},58455:function(e,t,i){e.exports=i.p+"img/logicon.e79b64d3.png"},58538:function(e,t,i){i.r(t),i.d(t,{miningAccount_en:function(){return o},miningAccount_zh:function(){return n}});const n={mining:{totalRevenue:"总收入",totalExpenditure:"总支出",yesterdaySEarnings:"昨日收益",diggedToday:"今日已挖(预估)",accountBalance:"账户余额",paymentSettings:"付款设置",algorithmicDiagram:"算力图",computingPower:"矿机算力分布",miner:"矿工",profit:"收益",payment:"支付",all:"全部",onLine:"在线",offLine:"离线",hoursPower:"1小时算力",dayPower:"24小时算力",refusalRate:"拒绝率",settlementTime:"结算时间",remarks:"备注",withdrawalAddress:"提现地址",withdrawalTime:"提现时间",currency:"币种",withdrawalAmount:"提现金额",transactionId:"交易ID",pleaseEnter:"请输入...",power24H:"24小时算力图",logInFirst:"请先登录后查看该页面",totalRevenueTips:"本挖矿账户全部收益累计",totalExpenditureTips:"本挖矿账户已提现收益累计",yesterdaySEarningsTips:"昨日(utc)24小时收益,由于该收益需要5000个区块高度确认(大约为7天),因此该笔收益需要等待大约7天才可提现转账。",diggedTodayTips:"今日(utc)截止到目前的挖矿收益,该收益根据过去24小时算力预估,仅供参考,最终收益以PPLNS结算为准。",blockRewards:"仅指报块的固定奖励",transactionFeeExplanation:"仅指该区块支付给矿工打包交易的费用,和区块奖励一起组成最终的报块奖励",Withdrawable:"可提现余额",balanceReminder:"该数据不包含今日预估收益。可提现余额会在每天12点(utc)之前自动转入到您的挖矿钱包中。",mature:"成熟:已经被区块链确认的收益。未成熟:还未被区块链确认的收益。所有成熟和未成熟的收益都将暂时添加到您的账户余额中,但只有成熟的区块收益才能被提现。",submitTime:"最后提交时间",total:"合计",Minutes:"30分钟",state:"状态",date:"日期",settlementDate:"结算日期",paymentStatus:"支付状态",paymentInProgress:"支付中",paymentCompleted:"已支付",jurisdiction:"无访问权限!"}},o={mining:{totalRevenue:"Total revenue",totalExpenditure:"Total expenditure",yesterdaySEarnings:"Yesterday's earnings",diggedToday:"Excavated today (estimated)",accountBalance:"Account balance",paymentSettings:"Payment settings",algorithmicDiagram:"Algorithmic diagram",computingPower:"Distribution of mining machine computing power",miner:"miner",profit:"profit",payment:"payment",all:"whole",onLine:"on-line",offLine:"off-line",hoursPower:"1 hour of computing power",dayPower:"24-hour computing power",refusalRate:"Refusal rate",settlementTime:"Settlement time",remarks:"Remarks",withdrawalAddress:"Withdrawal address",currency:"Currency",withdrawalAmount:"Withdrawal amount",transactionId:"Transaction Id",pleaseEnter:"Please enter...",power24H:"24-hour calculation chart",logInFirst:"Please log in first and then view this page",totalRevenueTips:"Accumulate all profits of this mining account",totalExpenditureTips:"Accumulated withdrawal income of this mining account",yesterdaySEarningsTips:"Yesterday (UTC), there was a 24-hour return. As this return requires 5000 blocks to be highly confirmed (approximately 7 days), it will take about 7 days for the return to be withdrawn and transferred.",diggedTodayTips:"The mining income as of today (UTC) is estimated based on the computing power of the past 24 hours and is for reference only. The final income will be settled by PPLNS.",blockRewards:"Only refers to fixed rewards for block submissions",transactionFeeExplanation:"Only refers to the fee paid by the block to miners for packaging transactions, which, together with the block reward, constitutes the final block reward",Withdrawable:"Withdrawable balance",balanceReminder:"This data does not include today's estimated earnings. The withdrawable balance will be automatically transferred to your mining wallet before 12:00 UTC every day.",mature:"Mature: Earnings that have been confirmed by the blockchain. Unripe: Earnings that have not yet been confirmed by the blockchain. All mature and immature earnings will be temporarily added to your account balance, but only earnings from mature blocks can be withdrawn.",submitTime:"Final submission time",total:"Total",Minutes:"30 Minutes",state:"State",date:"date",withdrawalTime:"Withdrawal time",settlementDate:"Settlement date",paymentStatus:"Payment status",paymentInProgress:"default",paymentCompleted:"paid",jurisdiction:"No access permission!"}}},60508:function(e,t,i){e.exports=i.p+"img/workAdministration.d8f96ac7.svg"},62277:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(99945),o=i(20074),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"7e1a768d",null),c=r.exports},62901:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.home_zh=t.home_en=void 0;t.home_zh={home:{file:"文档",rate:"费率",home:"首页",accountCenter:"挖矿账户",personalCenter:"个人中心",power:"矿池算力",networkPower:"全网算力",networkDifficulty:"全网难度",miner:"在线矿工",algorithm:"算法",height:"当前高度",coinValue:"币价",blockHeight:"区块高度",blockingTime:"出块时间",blockHash:"区块哈希值",blockRewards:"区块奖励",transactionFee:"交易费",CurrencyPower:"矿池算力",hour:"1小时",day:"1天",realTime:"实时",lucky3:"3日幸运值",lucky7:"7日幸运值",lucky30:"30日幸运值",lucky90:"90日幸运值",luckyValue:"幸运值",reportBlock:"最新报块",computingPower:"矿池算力",rejectionRate:"拒绝率",onlineMiners:"在线矿工",miningMachineComputingPower:"矿机算力分布",profitCalculation:"收益计算器",ConnectMiningPool:"接入矿池",Power:"算力",time:"时间",profit:"收益",everyDay:"每天",weekly:"每周",monthly:"每月",annually:"每年",currencyPrice:"币价",finallyPower:"总算力",minerSComputingPower:"矿工算力",acquisitionFailed:"数据获取失败,请稍后重试",calculatorTips:"该值根据当前全网算力的估算,可能与您的实际收益有差别,仅供参考",caution:"注意:",numberOfMiningMachines:"矿机台数",requestTimeout:"系统接口请求超时,请刷新重试",NetworkError:"网络连接异常,请刷新重试",mission:"我们的使命",missionText:"本矿池旨在为客户提供更稳定的网络服务,更高效的单位收益,更透明的分配机制,更可靠的技术服务。",service:"提供服务",APIfile:"API文档",rateFooter:"费率",userAssistance:"用户帮助",miningTutorial:"挖矿教程",aboutUs:"关于我们",businessCooperation:"商务合作",contactCustomerService:"联系客服",serviceTerms:"服务条款",submitWorkOrder:"提交工单",historicalAnnouncement:"历史公告",commonProblem:"常见问题",joinUs:"加入我们",MLogin:"登录",MRegister:"注册",MResetPassword:"重置密码",API:"API",accountSettings:"挖矿账户设置",poolTitle:"稳定领先高收益矿池",metaDescription:"M2Pool 矿池,全新升级!为您带来更稳定的网络服务,高效提升单位收益。透明的分配机制,可靠的技术服务,让您挖矿无忧。支持 nexa、grs、mona、dgb、rxd 等众多热门币种挖矿,开启财富增长新通道。",metaKeywords:"M2Pool,矿池,挖矿,nexa,grs,mona,dgb,rxd,Mining Pool",appTitle:"M2pool - 稳定领先的高收益矿池",mode:"模式/费率",describeTitle:"提示:",view:"详情",describe:"奖励分配:1天/次,每日0时(utc+0), 转账:1天/次,每日4时(utc+0)起,具体取决于区块成熟条件",networkReconnected:"网络已重新连接,正在恢复数据...",networkOffline:"网络连接已断开,系统将在恢复连接后自动重试",helpCenter:"帮助中心",announcements:"公告中心",latestTitle:"最新公告",noData:"暂无公告",viewAll:"查看所有",articles:"篇文章",allocationExplanation:"矿池分配及转账规则",loadingContent:"正在加载内容...",noContent:"暂无内容",unknownType:"未知类型",other:"其他"}},t.home_en={home:{file:"File",rate:"Rate",accountCenter:"Mining account",personalCenter:"Personal Center",power:"Mining Pool computing power",networkPower:"Full network computing power",networkDifficulty:"Network wide difficulty",miner:"Online miners",algorithm:"algorithm",height:"Current height",coinValue:"Coin value",blockHeight:"block height ",blockingTime:"Blocking time",blockHash:"Block hash value",blockRewards:"Block rewards",transactionFee:"Transaction fee",CurrencyPower:"Mining pool computing power",hour:"Hour",day:"Day",realTime:"Real time",lucky3:"3-day lucky value",lucky7:"7-day lucky value",lucky30:"30 day lucky value",lucky90:"90 day lucky value",luckyValue:"Lucky value",home:"Home",reportBlock:"Latest report block",computingPower:"Mining pool computing power",rejectionRate:"Rejection rate",onlineMiners:"Online miners",miningMachineComputingPower:"Distribution of mining machine computing power",profitCalculation:"Profit Calculator",ConnectMiningPool:"Connect Mining Pool",Power:"Computing power",time:"Time",profit:"Profit",everyDay:"Per day",weekly:"Weekly",monthly:"Monthly",annually:"Annually",currencyPrice:"Currency Price",finallyPower:"total computational power",minerSComputingPower:"miner's arithmetic",acquisitionFailed:"Data acquisition failed, please try again later",calculatorTips:"This value is estimated based on the current computing power of the entire network and may differ from your actual income. It is for reference only",caution:"Caution:",numberOfMiningMachines:"Number of mining machines",requestTimeout:"System interface request timed out, please refresh and retry",NetworkError:"Network connection is abnormal, please refresh and try again.",mission:"Our Mission",missionText:"This mining pool aims to provide customers with more stable network services, more efficient unit revenue, more transparent allocation mechanism, and more reliable technical services.",service:"Provide Services",APIfile:"API Documentation",rateFooter:"Rate",userAssistance:"User Help",miningTutorial:"Mining Tutorial",aboutUs:"About Us",businessCooperation:"Business Cooperation",contactCustomerService:"Contact Customer Service",serviceTerms:"Service Terms",submitWorkOrder:"Submit WorkOrder",historicalAnnouncement:"Historical Announcement",commonProblem:"Common Problem",joinUs:"Join Us",MLogin:"Login",MRegister:"Sign Up",MResetPassword:"Reset password",API:"API",accountSettings:"Mining account",poolTitle:"Stable leading high-yield mining pool",metaDescription:"M2Pool mining pool, newly upgraded! Bringing you more stable network services and efficiently increasing unit revenue. Transparent allocation mechanism and reliable technical services ensure worry free mining for you. Support mining of many popular currencies such as nexa, grs, mona, dgb, rxd, etc., opening up new channels for wealth growth.",metaKeywords:"M2Pool,mining pool,mining,nexa,grs,mona,dgb,rxd,Mining Pool",appTitle:"M2pool - Stable leading high-yield mining pool",mode:"Mode/Rate",describeTitle:"Prompts:",view:"Details",describe:"Reward distribution: 1 day/times, daily at 0:00 (utc+0), transfer: 1 day/times, daily from 4:00 (utc+0), depending on block maturity conditions ",networkReconnected:"Network has been reconnected, recovering data...",networkOffline:"Network connection has been disconnected, the system will automatically retry after recovery",helpCenter:"Help Center",announcements:"Announcements",latestTitle:"Latest Announcements",noData:"No data",viewAll:"View all",articles:" articles",allocationExplanation:"Pool allocation and transfer rules",loadingContent:"Loading content...",noContent:"No content",unknownType:"Unknown Type",other:"Other"}}},65549:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAApwAAACdCAYAAAAZiKgpAAAACXBIWXMAAAsSAAALEgHS3X78AAAXM0lEQVR4nO3d31UbSRbH8Zo5fscbAT0RgCNAHQFyBOCH1avlBGToBEa86mVEBIYIJCIwRLBNBlYE3lNdVyMhJNCf7qpb1d/POZyd3R1bQg3Sr2/duvXH79+/DQAAAMLqZSYzpvryrRyVpmzyMT8c+hf0MvPRGHMqXx+X/q9SvoHpoY+BBuTFrj/Uv8xk8MilAACgMZfGmO8BXt5rY8xVkw+wV+CUkNk1xvSNMSfv/LvWgzHmzhgzHpXm157PFbvKi/mNgL0KHfnTZ3u/jnkx/6fn+Q2FfE2r/5wMGr07AgAAcdp5Sb2XVSHTpuCjPb/jW/vnmy7dtk5efJRQ2ZGQuX+wPIy9uXiUrykhFACA7fSyKl8FqXCOSiUVTukrGNcQZC7sVy+rgmefiucB3LJ4V0rwb1aaPTp78TOSF89SAZ0SQAEAaKetAmcvqypm0wOqmuvY4NntZeZyVFbL7djGImTaSvNxBK/Z8fwmo/pvefEkP0tjekIBAGiHdwNnQ2Fzzv6dP6h2biEvLqWSGWqpvC4n8vVVqp9DCZ9cewAAEvVm4JTNQU2FzWW2+nXay0yX3s4lri+zL0Ezhmrmruz39Hf1lRe3EjyZagAAQGL+fOfb8RE252zV61Eqqu1mg2ZeXMkO8O+Jhs1V9qZjYvJiavKis9sfBQAAmm0MnLJTyvdGFBtup60Nna+Dpq+wr8kZwRMAgLSsDZyyI70f6DttZ+h0PZptDpqrloMnVW8AACK2qcJ5yJzNOsxDZ4jjnfyyYcqGKmP+IWiuZYPnT5MXY+lpBQAAkXkVOCXkXSj4Nmz4upONS+lZLJ//TGDnuQ8XVQU4L0JV3gEAwJ7WVTgbnTS/oxMZm5MWt0Q8DXSaQMyOZEf7VOaRAgCACLwInEtnpGtyIcdppmFR1dRyMlCMzqqjM13fKwAAUG61wtlV2kd4FX0/p1tCp6pZn6Oq75XeTgAA1FsXODU6knPc4+SW0B/p1WzERdWewE52AADU+jdwynL6ueLnehbl0rpb9p22ZHh7KCcSOrXeMAEA0GrLFc4YhmxfRbVr3e2oZtyRH9W5/PR1AgCgT2yB80jZLvrNbG+hOyccftm+zvQmGwAAELHYAqf1Vf0GIhc2Ncwybauvcg0AAIACy4EzpjE9equchE0tLgidAADoUAXOXhZNdXPuQmWVk7CpDaETAAAFPshTiHHG5VDVGKf4wuZzdVTk4sus/LNlN2idrvzzx8iq4TZ0lmYyiKP3FwCABMUcOM9tZXZUViOHwtIfNmcymmlazQOdDHZ5ze7W/q9u7uWp9P52lI99+i6hk2onAAABzANnrEOzh8Gfuxt9pDFsPktYHJvJ4LH2v939nY//DuR3Z5vbivOl0gqo3b3+2MhrAQAA3jQPnLEeDXjSy8zlqAx0CpEbNK5t9NFtFcR9B6vJoJQbgKGEz76ET00zSKfVc5sMfil4LgAAtMZ8l3rM55QPgwyDd0vKWpZo7ZL5tTHmP2YyuAxexbPhczLom8nAXpcvUm3V4GhjiwAAAGjMPHDGfOyi/2HwefFRgkvo6t08aGbVphiNlTvbNzkZZIqC55nJCzYQAQDg0Z+JvNi+h8GPFYT0W9VBc9UieF5LUA7pu1SoAQCAB6kETuNtedttEjr38ljr2SphLkvn8fUiuvFENuw9BH4m7FgHAMCTP3tZtDvUV501PsDebYYJuRx7U4W13cYa6eN6PO21+haw2nkiNw8AAKBhHyLeob7OuOENUMNAfZuzatd3anMkJwO7o30q/bAhWhSuqhmqCe5al410tA3U53FUmuh+TqSgkNJ7vE+/RqWJcoyatJjFvBk4KBXzvRP0IbFv6biXmf6orIJhE4Yy5Nxn6JxVj5nq/Ej7fbl+ymmA+Z3zDWdJVDqlwn8ZwSD+KPWyqp3F/pyOtX4gyc9AV34GYjoRTKWei2wPclN8NypfnMSmhgTMrnydtf26HUqu+/z33V53ppvU4I//Hv+2b0yT6L+TBRvQssaqEW5Z/c7Tm/mThM12zI0Md2LTXzJHNEpSxRryQeOV/TDqa/ggkmr2pdw4caPRLBs+r7TccEjQvIrsWOUYzeZzppte6ehl1fX8HuA1uh6VzbYMprRpaO5IfjCa4YJJR3aJN6ldYdNUr+2lh9d1nWjHJMmb00/Cpnc22P3oZWYaZA6w6GVVRetRDqAgbDbP/p5Nepm5C3ndzeJ3/3+ETS+OJASW8rpjDylWOOc+Nd5/kxeX1ZGJ9Wtf2FwWptIZVZVTPuyGfNioULW9+Oz3k+s/Djwxo+28X3ezuPYhWpCwYD+jL5u49lQ449RclXPObeL5VPNO61m1PNbm4xddpfPJ86Neen68Q4VqP8Brtvox9TXxYylwEDbDml93b+8d8jNWEjaDO5Fr3+xknMSkHDjPZLmpWW4zT1bjXMl0NwjtpuP5ZKJoNg71supmirChi5fQSXVLHXvd//Fxs7FU1Q59wh2cI2mvaD5nJCLlwGm8VDlNFTp/yVzJmwP/pm+ETeEqvD5/kY+kRUI1uaP+qv15tlR1Vn/DvX2ETZ189PL62qyK3YwTmmfeqNQD57HXBt/JoC9nhu+zxP5QzaXE8uv5KMPhfYnhTpWGdd2Om7pGUtkmcOh01OTpZbJsz8ZAnY4kdDLv9h2pB06r7/UHwfV1dnbsQZxF2EPohwvhvo7BPDd5ofZNQ6qbfOjo91XG1dSGynYUzpvo6VvaIAi9TlKZ59wk34HTZ0/eXLNjktZxlTn7xnO/5Z8YxjwH0gOfv8iaq5zclMSj7p9ZKttxaOK9qkvfZhT8Frci5DtwhroDuPC+m8z1ddo3iut3/s1nMxnwYfIWF+B9zefUHDhpTo9HbddKqqVUtuNw3kDooHIWhyOKAm/zGjjlVA5fy6OrwoQ6Fybf6uskbG6nX/P4qU1U7v6WpnSqHPE4rnEjAR9icanzZuMjfbtR4Xf1DSF6OEPdrZ35nJf2wqKvczUwPcv/h/dfw1+yS7N5eaFxthpLNfGpq4+TWX9xqXPHMruf48LNwRu8B06ZzH/o+KB9XQXrsXDLwqcrm4mobu7G1+ul8QOeD5741HXNuPZxqfN6cbMRGYbBbxZql/qVp+XRVcdB+2EW57A/yRgkqpu7cK/fthuxDqHxA54KZ3vRSgEgekEC56g0vwJW9/p1jyzZiVsa7tDrsTcfy+rcoQIAUKNgczhHZTWqyPd52SbImKRVbgc7Y5D24yNwHmmexwkAQGxCD34PtbzdyIBeeOAqxG1dVgcAIEofQj7pUVmdP3sfaBTNMIZQ0cuqit6malspX++Zbvlw5ajc6u8LberhZyZc2wUAAIkJGjhFP1DgPLFjkkZlc+ff1sTubv++4a/adhj0pj//Sm+3mGVbIn7JP9uw6qsv9dHDYxA4AQCoSfCz1KWi9t5pPE0ZRnAU1TDQkaDbOJHQa7/8BffJYNuK7SEInAAA1CR44BShQtWR9mPDAu/o39a9bY/w/JhN/7wQOAEAqImKwBk4VH0POiZpC7Lsr7XKOQsU2tnlDwBAJLRUOOehKtQ56zEMYNdaiR1GstEIAAAEomHT0DJb5ZwEeFx7znonwLLw1kaluetlVSDfdqOQD8+jMlhletrwa9HWJfWZp01ZoWj6/dFoeSNgajI5bQ7rpfy7z++9AqoCp4xJujXGXAR4+HEEISNUIN8k5dOS2vrB9Dgq051R28vMbwVPQ7O+5hvvQ/Sy6v1z64kdLZTs7z6/9zqoWVJf0g91znov07uBSAbVa1r6D7FRCAAAREhd4JQNRKGOnrzSNibJbmjqZVWwmyiqus0UVDfZRQ4AQCQ0VjiN9AWGGpOkYgSRDb69rAre/1PYf3IlNwYhETgBAIiEysApQlXQvvaysEdeytK+3fn9NeTz2OBpVAarQPsUamICAADJURs4pT8w1Id+kEBl+zR7WbVL8G+ptmqkpc+VXYcAAERCc4XTBKxy2jFJXV8PJn2ad9KneeLrcfdwq2KjUF6wnA4AQERUB04ZKH4T6OEbr3JKn+aV9GmeN/14Bwp1otA6QVseAADAbrRXOI1s4gk1JqmxDUS9rKrelhHNhdOwUWjOR+Bk5BMAADVRHzgl5ISqrPXrHpMkfZo2zPyjuE9zlbaNQt7aHQAAwOFiqHDOz1l/CvDQR3UtrUuf5lj6NGPb8KJnIH5efPTU55ry8Y4AAHgVReAUoULPxSFjkpb6NB8DHdl5qBtlJwr52kiW6nnSAAB4F03glNBzH+jh96pyyk73R+nTjGX5fNlMyyD8JX5uPCYDejgBAKhJTBVOE/Cc9TPZ5LMVWxGVPs0fio6j3Edf0UYhu5x+6en1ZOg7AAA1iipwypgkteesy/K57dP8mcBg8gfpndXEV7WV6iYAADWKrcJpJHCGOGf9+K3lXOnTLCPt01xHz0YhU1U3+x6rxXeeHgcAgFaILnAqGJP04pQbGXNURtynuY7dKKRnl7bbme6ruvlsJgN2qAMAUKMYK5w2dN4F6rM7mgcfGXM0lTFHMfdprtK4UWjsMcxrmjcKAEASPkT8TfSlV9K3C+nl1H4U5b4ulW0U6np+rbX1rQIAEL0oK5zGVTntsudtoIdPNWw+SPVYB7eU7jMA3prJgPmbAADULNrAKUKNSUqVr6Hq2/K5lG5YTgcAoBlRB05Z+tXWbxiraxk7pYObuemzkvzAZiEAAJoRe4XThs5QY5JS8qyqupcXpwGeDzcuAAA0JPrAKbQtBcdGz4lCi75Nn0vpzxxlCQBAc5IInHLOOscRvmR7W78YY/5659+7V7NRyIVNey1PPD8y1U0AABqUSoXTUOV84cYYk9mjKaUvc9Nu/pmaE4XChU1b3WQUEgAADUomcEqwulbwVEKyVd6/RuWrJfJNu/mHKjYKhQubhuomAADNS6nCaWSjSRvHJNlNP59HpemsC5ASPlc34TyPSgVhK2zYfKC6CQBA85IKnIHPWQ9hJuOMsi36MFfDePgWhLBh07TsZwUAgGBSq3Da0DluyQaiW+nT3KpKuRLG72WjVTjhw+Y35m4CAOBHcoFTpNyXZ8N0Pip3P/NcwvhT8Opm+LBpl9I5VQgAAE8+pPhC2+pdL6sqgBcKnk5dZjIv86Cew1FpToN+F26o+9TznM1l9nXsBnpsAABaKdUKp5EqZyobiK7nY44UPJf96QibHTMZ6BhyDwBASyQbOGW3duzLpvMxR1dqTgLaV150AodNU/Ww0rcJAIB3KVc4jWyoifGc9Wfp01w75ig6eWF7RieBw+Y1I5AAAAgj6cApYhp9Y5d8v8mYozTO9s4LG/r/Cfwsbs1kwIB3AAACST5wynzKGMYkzcccpbN7Oi9sRfF74GdhwybHngIAEFCSu9TXsFXOn+qelfMgu8/T6S0MP/Zo7omwCQBAeG1YUjcS5m4UPJVltk/zi/RpphQ2T9WETbsjHQAABNeKwCk0jUmyY45Oox9ztGqxE11H2GT8EQAAKrQmcMpYodAbR+6TGXO0Ki/6CnaiG8ImAAD6tKnCaWRDzlOAh56POeomMeZoldsc9LeCZ0LYBABAobZsGlo2r8T5YJfwr5Laeb5Mz+YgQ9jUp5dVEyLO2/46RGbSy9r+ErTWWS8zv9v+IrTY91528FSZ/7y1etuqCqeRc9ZlabtpN8mNOVrmNgeVSsKmHX10StjUo5eZj4RNAGiV7lvfbOsCp+g3uIHIjjn6NCqrUUdpBiB3clDoYyrnmLOp05tvPACAdr3vtzJwSh9l3RuIbJ/m5+TGHK3Ki6GcHETYxFsInADQLueyurVWWyuc8w1EdSytz5bGHN3V8PfpZPs188JWNb8qeX7fCJs6sZwOAK21sdjQxk1Dyy4P3PRyK5uC0tt5vsz1a46V9GtaX8xkkNYM07RQ3QSAdupKXniltRVOs5jN2dmj0vkgY44uWxA2u4p2ottq8mfCpnoETgBop43L6q0OnEZCp52PWVXNXB/mW+4laHZkt3va3DD3H0r6NWcy9ijdtoUEsJwOAK23tujQ9iX1f8kxk+NeVlU8V8/gtpuApsnuOl/l5mvaHtcLJc/oqfoBngzSriangeomALTb2mV1AucKqVymX73cJC/s2Oc7Rf2aDxI2mbEZBwInALRbtay+WqQjcGLBbQ7SMl/TMPYoLiynA8DBUimuvKpytr6HE8INc/+pKGwy9ig+VDeb0dQhFQDqd2hgTGWO96vPAwInbNgcyzB3DeY70dM8EjRtBM6X6vrgSPcgiTTV2ZLV3vauSNVw8EsqexVe7VYncLbZYpi7ls1Bz+xEjxPL6WvV9cHB70Nc6rxB4GYjLgcfJiOjFt+bmBOLF0UIAmdbuX5N+2Z2puQVsJuDTs1kwBtsnKhuvjSr8YhbAmc8ZnWeOCebLuo4EQ9+1HXtU5k1TeBsPdevaSubx0peihszGXTYiR41AudLdYaOUk41g35N3BxwwxGHZxmvWIdhIr3bL5bVCZxtkxdX0q+pZXOQPaayr+B5YE8sp69Vd4Xiqua/D82o/TpJiElliTVltV17qWynso/h32IEgbMtXL+mvVP+ruQ7tndvnzimMglUN196qPskMqlyfqvz70Ttbho86piJHbo91FjdrIzKKsA+JfDaEDhbxQ1znyqqQtl+zYx+zWQQOF9qpGI/KquKB0vrOj01WYWWG5ibyF+jVD03+B54mcDS+r/L6gTO1OVFRzYHaTk5iH7NhLCc/sqXGjcLrdNPpOqREhsILps++nhUcu0Vste+29S1l/eSTgKhswrkBM6U5YV9g5oo6dec0a+ZJKqbC7d1L6utkg+2DpVONez7Wqfhm4xlHUKnGk8+rn0ioZPAmTQ3zP1vJd/ik8zXpF8zPQROx1Y2vfTZ2dApj3Xt4/GwkX1fO/UYNrnh0OPe542GPE4m7WgxqpbVCZypcZuDHhUNc7+XsEm/ZmJYTq/Y/q286crmOrKp4FPEH0Ixux6VVdj0firM0g3HZ4499c7+vn8elc0to28i171TrRTGed27BM6UuGHupaJ+TXseepd+zWS1ubr5LFXNrO4d6buwlQ/5EMoZEN64mVQW/5KwH5QMmM+k0s3YpGY9Lf2+B52LKje3mQTPmK5794OCJ4E6uGHuWs5Dd7v2qGqmrm2B80GmPdz5XEbdhoTeqVSdu7Lseqro5jNWD3ITfxc6aKwjVTYbfq96WXW9L+W6nyqatRyjZ9lsO/99V3W+uVx3GzzHct3nv/OZogNdVp3/8d/j3x3ZWNK4UWn+UPOtpyQv7LiUr0q+owcJm1Q1a9TLqg8VHzNUH6RiBgBAbahwxsz2a7pjz7Sch35tJgNORAEAAC8QOGPl+jXHSpbMnqulnMkgWC8bAADQi01DMcqLrvSWaAib91W/EGETAABsQIUzNm6Yu5b5mnYX+lDB8wAAAIoROGPh+jWHSuZrsgsdAABsjSX1GORFJkvoGsLmrSyhEzYBAMBWqHBq5zYHTRXMVJvJxiB1s+gAAIBuBE7NdA1zt4H3h8kLBU/Fi5yNUAAA1IPAqVVejBWdhw4AALA3Aqc2bnOQlpFHAAAAB2PTkCauX/ORsAkAAFJC4NTC9WtOFR+8DwAAsBcCpwZ5cSWbg0LvRAcAAKgdPZwhuX5NuznovL0vAgAASB0VzlAW8zUJmwAAIGlUOEPIi44x5o4ldAAA0AZUOH3Li74xZkLYBAAAbUGF0yeGuQMAgBYicPrAMHcAANBiLKk3zW0OKgmbAACgrQicTXLD3H/SrwkAANqMwNmUvBjKMHcAAIBWo4ezbq5f0448OkvrGwMAANgPFc46LYa5EzYBAAAEgbMuedFlJzoAAMBrBM465MWVMeYHm4MAAABeo4fzEK5fc8gwdwAAgM0InPvKi0w2B7GEDgAA8AYC5z4Wm4NYQgcAAHgHPZy7Ypg7AADATgicu2CYOwAAwG6MMf8HTxugm9hytvMAAAAASUVORK5CYII="},65745:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(22489),i(61701);var n=i(73723),o=i(66848);const s={name:"HorizontalBroadcast",props:{broadcastData:{type:Array,default:()=>[]},showTitle:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},title:{type:String,default:""},scrollSpeed:{type:Number,default:1},scrollInterval:{type:Number,default:50},autoFetch:{type:Boolean,default:!0},lang:{type:String,default:"zh"},minItems:{type:Number,default:1},height:{type:String,default:"40px"},clickable:{type:Boolean,default:!1}},data(){return{internalBroadcastList:[],horizontalScrollTimer:null,horizontalDelayTimer:null,horizontalScrollOffset:0,isHorizontalScrolling:!0,isHovering:!1,wasScrollingBeforeHover:!0,isLoading:!1,hasError:!1}},computed:{finalBroadcastList(){let e=this.broadcastData.length>0?this.broadcastData:this.internalBroadcastList;const t=e.map((e=>{const t={...e};if("string"===typeof t.buttonContent&&t.buttonContent.trim()?t.buttonContent=t.buttonContent.split(/[,,]\s*/).map((e=>e.trim())).filter((e=>e)):Array.isArray(t.buttonContent)||(t.buttonContent=[]),"string"===typeof t.buttonPath&&t.buttonPath.trim()?t.buttonPath=t.buttonPath.split(/[,,]\s*/).map((e=>e.trim())).filter((e=>e)):Array.isArray(t.buttonPath)||(t.buttonPath=[]),t.buttonContent.length>0&&t.buttonPath.length>0){const e=Math.min(t.buttonContent.length,t.buttonPath.length);t.buttonContent=t.buttonContent.slice(0,e),t.buttonPath=t.buttonPath.slice(0,e)}return t}));return t},shouldShowBroadcast(){return this.finalBroadcastList.length>=this.minItems&&!this.hasError},broadcastListForHorizontal(){const e=this.finalBroadcastList;if(0===e.length)return[];let t;return t=1===e.length?Array(3).fill().map(((t,i)=>({...e[0],id:e[0].id+"-copy-"+i}))):[...e,e[0]],t},horizontalScrollStyle(){return{transform:`translateX(-${this.horizontalScrollOffset}px)`,transition:this.isHorizontalScrolling?"none":"transform 0.3s ease"}}},watch:{broadcastData:{handler(e){e&&e.length>0&&this.resetScroll()},deep:!0,immediate:!0},scrollSpeed(e){this.horizontalScrollSpeed=e},scrollInterval(e){this.horizontalScrollInterval=e,this.isHorizontalScrolling&&this.restartScroll()}},mounted(){this.autoFetch&&0===this.broadcastData.length&&this.fetchBroadcastData(),this.$nextTick((()=>{this.startHorizontalScroll()}))},methods:{async fetchBroadcastData(){if(!this.isLoading)try{this.isLoading=!0,this.hasError=!1;const e=await(0,n.getBroadcast)({lang:this.lang||(this.$i18n?this.$i18n.locale:"zh")});e&&200===e.code&&Array.isArray(e.data)?(this.internalBroadcastList=e.data,this.resetScroll(),this.$emit("data-loaded",e.data)):(this.hasError=!0,this.$emit("error","获取广播数据失败"))}catch(e){console.error("获取广播数据失败:",e),this.hasError=!0,this.$emit("error",e)}finally{this.isLoading=!1}},startHorizontalScroll(){this.isHovering||this.finalBroadcastList.length<=1||(this.horizontalScrollTimer&&clearInterval(this.horizontalScrollTimer),this.isHorizontalScrolling=!0,this.horizontalScrollTimer=setInterval((()=>{this.horizontalScrollStep()}),this.scrollInterval))},stopHorizontalScroll(){this.wasScrollingBeforeHover=this.isHorizontalScrolling,this.isHovering=!0,this.horizontalScrollTimer&&(clearInterval(this.horizontalScrollTimer),this.horizontalScrollTimer=null),this.isHorizontalScrolling=!1},resumeHorizontalScroll(){this.isHovering=!1,this.wasScrollingBeforeHover&&this.finalBroadcastList.length>1&&setTimeout((()=>{this.isHovering||this.startHorizontalScroll()}),100)},handelJump(e){const t=this.$i18n.locale,i=e=>{if(!e||"string"!==typeof e)return void console.warn("无效的路径:",e);const i=e.trim();if(!i)return void console.warn("路径为空");let n;if("/"===i||""===i)n=`/${t}/`;else{const e=i.startsWith("/")?i.substring(1):i;n=`/${t}/${e}`}console.log("跳转路径:",n);try{this.$router.push(n)}catch(o){console.error("路由跳转失败:",o),window.location.href=n}};e?i(e):console.warn("未提供跳转路径")},startHorizontalScrollDelayed(){this.horizontalDelayTimer&&clearTimeout(this.horizontalDelayTimer),this.horizontalDelayTimer=setTimeout((()=>{this.resumeHorizontalScroll()}),1e3)},horizontalScrollStep(){if(!this.$refs.horizontalScrollContent)return;const e=this.$refs.horizontalScrollContent,t=e.scrollWidth,i=t/this.broadcastListForHorizontal.length*this.finalBroadcastList.length;this.horizontalScrollOffset+=this.scrollSpeed,this.horizontalScrollOffset>=i&&(this.horizontalScrollOffset=0)},resetScroll(){this.horizontalScrollOffset=0,this.$nextTick((()=>{this.finalBroadcastList.length>1&&this.startHorizontalScroll()}))},restartScroll(){this.stopHorizontalScroll(),this.$nextTick((()=>{this.startHorizontalScroll()}))},handleItemClick(e){this.clickable&&this.$emit("item-click",e)},refresh(){this.autoFetch?this.fetchBroadcastData():this.resetScroll()},togglePause(){this.isHorizontalScrolling?this.stopHorizontalScroll():this.resumeHorizontalScroll()},getStatus(){return{isScrolling:this.isHorizontalScrolling,isHovering:this.isHovering,currentOffset:this.horizontalScrollOffset,dataCount:this.finalBroadcastList.length,isLoading:this.isLoading,hasError:this.hasError}}},beforeDestroy(){this.horizontalScrollTimer&&clearInterval(this.horizontalScrollTimer),this.horizontalDelayTimer&&clearTimeout(this.horizontalDelayTimer),this.isHovering=!1,this.isHorizontalScrolling=!1}},a=()=>{(0,o.useCssVars)(((e,t)=>({fd811a88:e.height})))},r=s.setup;s.setup=r?(e,t)=>(a(),r(e,t)):a;t.A=s},66044:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(87579),o=i(49967),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"58290ecb",null),c=r.exports},66560:function(e,t,i){e.exports=i.p+"img/算法资源 24.983ac6e7.svg"},67069:function(e,t,i){e.exports=i.p+"img/mining.63661eb9.svg"},67698:function(e,t,i){e.exports=i.p+"img/计算器.bf2f4fbd.svg"},69218:function(e,t,i){e.exports=i.p+"img/难度.374a30f2.svg"},72498:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACEAAAAhCAYAAABX5MJvAAAACXBIWXMAAAsSAAALEgHS3X78AAACeUlEQVRYhcWX33HiQAzGv6QB6IDt4Ogg7uDoAL+cX0MqiNMB9+qXIx2QCs50YDpYOjgqIKOdb31Cif+QLIlmGMCrtX7SajXSzel0wqVSOGSVR633FQ5TAGsgfK8qDz/2vRdBiHEa+gHgACAXmMJhBaAEMFHqT6JbefxLAlE4OBpZ8tFRGdS/XwA0AB75X0A3QzC9EIXDAggfbbysPNaFQ86oRIA9QWseiRi/U68TwK2s26M6g6DHGQ3/VHpHvrTUHjEPVvzoo3ghjDdORNkTaFt5NAGCZ5rzrGFeFpV7z5aRWdAJDbQnUK3WZ2p9d/NrdpLNf/jgQGUxuu0zOgC0UBGNBh/kGLk+51rIHYEQ5b8AnisfvEkqhQuG7zWEgpVcON6qZy41AGXK78YARHvNrSo6U7s7kURjNqfa5zoSNimTQsgt6IBoIsQO/69capnxir8LZyMhMk8JoM+9B6KNxLXyoisf8GWR0N52rUmufGck2lz5lkjYXAkQV6wVgzUC70Qida0YrBEW4hq1YrBGWIgoSfJibI2wEKnzYlSNsBBRUt2QUTXCQtRaIYFEZ876STY0M3ZcsBCRePnZ5OT+2CDVZjk2Nm3n1kKwh3zm380nAxG78J3urAvXduBHBfOm254yfBM2ufmY4cXsX7O7FkNzgeBN0QCZrh1niUmDGRWl5fdsWscAZDzSpTLk2ck3BDhYgDeRMB5t1OzRGRXqlmxmwaIX80EPQL/t3NILoQws+KIJvcv1KEDvN6qtf6o8SjObtjNrl53BWbQjKnHqujfqB+bUoPcXQSgYHZUoYTblddOhH/T+QxAE0VEJZ2+uoORC0Bl9qwC8AjHhFndDIIoyAAAAAElFTkSuQmCC"},73723:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.DeleteBroadcast=r,t.dataInfo=d,t.getAddBroadcast=a,t.getBroadcast=s,t.listBroadcast=c,t.updateBroadcast=l;var o=n(i(35720));function s(e){return(0,o.default)({url:"manage/broadcast/find/data/by/id",method:"post",data:e})}function a(e){return(0,o.default)({url:"manage/broadcast/add",method:"post",data:e})}function r(e){return(0,o.default)({url:"manage/broadcast/delete",method:"post",data:e})}function c(e){return(0,o.default)({url:"manage/broadcast/get/list/by/page",method:"post",data:e})}function l(e){return(0,o.default)({url:"manage/broadcast/update",method:"post",data:e})}function d(e){return(0,o.default)({url:"manage/broadcast/find/data/info",method:"post",data:e})}},74431:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.personalCenter_zh=t.personalCenter_en=void 0;t.personalCenter_zh={personal:{miningAccount:"挖矿账户",readOnlyPage:"只读页面",securitySetting:"安全设置",personalCenter:"个人中心",miningReport:"挖矿报告",API:"API",add:"添加",delete:"删除",miningPool:"矿池",currency:"币种",remarks:"备注",operation:"操作",bindingWallet:"绑定付款钱包",addMiningPool:"添加挖矿账户",accountName:"账户名称",poolSelection:"币种选择",select:"请选择",remarks2:"备注(选填)",determine:"确 定",bindAddress:"付款设置",walletAddress:"钱包地址",Binding:"绑 定",establish:"创建",jurisdiction:"权限",account:"账户",readOnlyLink:"只读页面链接",setUp:"设置",miner:"矿工",profit:"收益",payment:"支付",loginPassword:"登录密码",accountSecurity:"用于保护账户安全。",setUp2:"已设置",modify:"修改",dualVerification:"双重验证",verificationInstructions:"用于添加、删除挖矿帐户和修改付款设置。",notEnabled:"未开启",Open:"开启",maintainPassword:"维护人员密码",maintenanceInstructions:"用于矿场维护人员登录帐户,使用此密码登录帐户时将隐藏“收益”和“帐户设置”页面。",deleteAccount:"删除账户",deleteDescription:"永久删除此主帐户及其子帐户。",Tips:"提示",enableVerificationDescription:"如需进行此操作,请先开启双重验证。",enableVerification:"开启双重验证",firstStep:"第一步",googleIdentity:"请使用您手机上的谷歌身份验证器(Google Authenticator)或其它兼容应用程序扫描下方二维码,也可手动输入以下16位密钥。",saveKey:"注意:请妥善保存密钥,避免被盗或丢失。",resetKeyDescription:"如遇手机丢失等情况,可通过该密钥恢复您的谷歌验证。如密钥丢失,需要提交工单通过人工客服重置,处理时间需7天。",nextStep:"下一步",step2:"第二步",verificationCode:"邮箱验证码",oneTimePassword:"双重验证动态口令",previousStep:"上一步",goOpenIt:"去开启",reasonForDeletion:"为了帮助我们优化服务,恳请您选择删除帐户的理由:",Cancel:"取 消",userName:"用户名",mailbox:"邮箱",phoneNumber:"手机号",mobilePhoneInstructions:" 用于添加或修改付款地址、修改登录密码,以及开启或修改维护人员密码。",loginHistory:"登录历史",time:"时间",loginResults:"登录结果",position:"位置",equipment:"设备",weekly:"周报",weeklyReportExplanation:"每个币种只能添加一份周报。开启后,每周二发送上周挖矿数据到您的注册邮箱。",weeklyReportTemplate:"查看周报模版",monthlyReport:"月报",monthlyReportExplanation:"每个币种只能添加一份月报。开启后,每月第二日发送上月挖矿数据到您的注册邮箱。",monthlyReportTemplate:"查看月报模版",addWeeklyReport:"添加周报",weeklyReportLanguage:"周报语言",weeklyReportCurrency:"周报币种",weeklyReportAccount:"周报账户",Submit:"提交",addMonthlyReport:"添加月报",monthlyReportLanguage:"月报语言",monthlyReportCurrency:"月报币种",monthlyReportAccount:"月报账户",nameDescription:"账号",pleaseEnter:"请输入..",pleaseEnter2:"输入搜索矿工",inputWalletAddress:"请输入钱包地址",remarksDescription:"请填写备注名,例如此只读页面链接分享给哪个合作伙伴",minimumPaymentAmount:"设置起付额",confirmSubmit:"确认提交",automaticWithdrawal:"是否自动提现",duplicateAccount:"账户名已存在,请重新填写",deleteConfirmation:"确认删除以下挖矿账户?",walletTips:"请确认填写钱包地址",PaymentAmountTips:"该币种起付金额不能小于",accountNumber:"请填写账号",selectCurrency:"请选择币种",invalidAddress:"钱包地址无效",yes:"是",no:"否",pleaseEnter3:"输入搜索账户",copySuccessful:"复制成功",copyFailed:"复制失败",confirm:"确 定",confirmSelection:"请确认勾选注意事项",pwd:"请输入登录密码",eCode:"请输入邮箱验证码",gCode:"请输入动态口令",copy:"复制",or:"或",accountSelection:"请选择账户",selectPermissions:"请选择只读权限",modify2:"修 改",accountFormat:"账户只能输入字母、数字、下划线,且不能以数字开头,长度不小于4位,不大于24位",close:"关闭",turnOffVerification:"关闭双重验证",Closed:"已成功关闭双重验证",day:"天",hour:"时",minute:"分",second:"秒",front:"前",loadingText:"拼命加载中...",deletePrompt:"确定删除勾选内容吗?",scanning:"(扫描`上一步`中的二维码获取最新口令)",apiKey:"API Key",ipAddress:"默认IP地址或者输入其他IP地址",defaultIp:"使用本机默认IP地址",ipAddressReminder:"请输入IP地址或勾选使用本机默认IP地址",permissionReminder:"请选择相关权限",minerAPI:"矿工",accountApi:"挖矿账户",miningPoolApi:"矿池",ipFormat:"请检查IP地址格式是否正确",screen:"筛选币种",workOrderRecord:"工单记录"}},t.personalCenter_en={personal:{miningAccount:"Mining account",readOnlyPage:"ReadOnly Page",securitySetting:"Security setting",personalCenter:"Personal Center",miningReport:"Mining report",API:"API",add:"Add",delete:"Delete",miningPool:"Mining pool",currency:"Currency",remarks:"Remarks",operation:"Operation",bindingWallet:"Bind payment wallet",addMiningPool:"Add mining account",accountName:"title of account",poolSelection:"Currency selection",select:"Please select",remarks2:"Remarks (optional)",determine:"determine",bindAddress:"Payment Settings",walletAddress:"Wallet address",Binding:"Binding",establish:"establish",jurisdiction:"Jurisdiction",account:"Account",readOnlyLink:"Read only page link",setUp:"Set up",miner:"miner",profit:"profit",payment:"payment",loginPassword:"Login password",accountSecurity:"Used to protect account security.",setUp2:"Set up",modify:"modify",dualVerification:"Dual verification",verificationInstructions:"Used for adding, deleting mining accounts, and modifying payment settings.",notEnabled:"Not enabled",Open:"open",maintainPassword:"Maintenance personnel password",maintenanceInstructions:'Used for mine maintenance personnel to log in to their account. When using this password to log in, the "Benefits" and "Account Settings" pages will be hidden.',deleteAccount:"Delete account",deleteDescription:"Permanently delete this main account and its sub accounts.",Tips:"Tips",enableVerificationDescription:"To perform this operation, please enable double verification first.",enableVerification:"Enable dual verification",firstStep:"The first step",googleIdentity:"Please use Google Authenticator or other compatible applications on your phone to scan the QR code below, or manually enter the following 16 digit key.",saveKey:"Be careful: Please keep the key properly to avoid theft or loss.",resetKeyDescription:"In case of phone loss or other situations, you can use this key to restore your Google verification. If the key is lost, a work order needs to be submitted for manual customer service reset, and the processing time takes 7 days.",nextStep:"next step",step2:"Step 2",verificationCode:"Email verification code",oneTimePassword:"Dual authentication dynamic password",previousStep:"Previous step",goOpenIt:"Go open it",reasonForDeletion:"To help us optimize our services, we kindly request that you choose the reason for deleting your account:",Cancel:"Cancel",userName:"User name",mailbox:"Mailbox",phoneNumber:"Cell-phone number",mobilePhoneInstructions:"Used to add or modify payment addresses, modify login passwords, and enable or modify maintenance personnel passwords.",loginHistory:"Login History",time:"Time",loginResults:"Login Results",position:"Position",equipment:"Equipment",weekly:"weekly",weeklyReportExplanation:"Only one weekly report can be added per currency. After activation, send last week's mining data to your registered email every Tuesday.",weeklyReportTemplate:"View weekly report template",monthlyReport:"Monthly report",monthlyReportExplanation:"Only one monthly report can be added per currency. After activation, send the mining data from the previous month to your registered email on the second day of each month.",monthlyReportTemplate:"View monthly report template",addWeeklyReport:"Add weekly report",weeklyReportLanguage:"Weekly Report Language",weeklyReportCurrency:"Weekly report currency",weeklyReportAccount:"Weekly report account",Submit:"Submit",addMonthlyReport:"Add monthly report",monthlyReportLanguage:"Monthly report language",monthlyReportCurrency:"Monthly report currency",monthlyReportAccount:"Monthly report account",nameDescription:"Account",pleaseEnter:"Please enter..",pleaseEnter2:"Enter search miner",inputWalletAddress:"Please enter the wallet address",remarksDescription:"Please fill in the note name, for example, which partner to share the read-only page link with",minimumPaymentAmount:"Minimum payment amount",confirmSubmit:"confirm Submit",automaticWithdrawal:"Whether to automatically withdraw funds",duplicateAccount:"The account name already exists, please fill it out again",deleteConfirmation:"Are you sure to delete the following mining accounts?",walletTips:"Please confirm to fill in the wallet address",PaymentAmountTips:"The fluctuation amount of this currency cannot be less than",accountNumber:"Please fill in the account number",selectCurrency:"Please select currency",invalidAddress:"Invalid wallet address",yes:"Yes",no:"No",pleaseEnter3:"Enter search account",copySuccessful:"Copy successful",copyFailed:"copy failed",confirm:"Confirm",confirmSelection:"Please confirm the selection of precautions",pwd:"Please enter your login password",eCode:"Please enter the email verification code",gCode:"Please enter the dynamic password",copy:"Copy",or:"Or",accountSelection:"Please select an account",selectPermissions:"Please select read-only permission",modify2:"Modify",accountFormat:"The account can only input letters, numbers, and underscores, and cannot start with a number. The length should not be less than 4 digits and not more than 24 digits",close:"close",turnOffVerification:"Turn off dual authentication",Closed:"Successfully disabled two factor authentication",day:"day",hour:"hours",minute:"minute",second:"second",front:"front",loadingText:"Desperately loading...",deletePrompt:"Are you sure to delete the selected content?",scanning:"(Scan the QR code from the `previous step` to obtain the latest password)",apiKey:"API Key",ipAddress:"Default IP address or enter another IP address",defaultIp:"Use the default IP address of this device",ipAddressReminder:"Please enter an IP address or check the option to use the default IP address on this device",permissionReminder:"Please select the relevant permissions",minerAPI:"miner",accountApi:"account",miningPoolApi:"pool",ipFormat:"Please check if the IP address format is correct",screen:"Filter currencies",workOrderRecord:"Work order record"}}},74910:function(e,t,i){e.exports=i.p+"img/费率.0ce18fa9.svg"},76466:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var o=n(i(41040)),s=n(i(12467)),a=i(87349),r=i(62901),c=i(58538),l=i(74431),d=i(43110),u=i(83536),h=i(79438),m=i(33859),p=i(46373),g=i(57637),f=i(42450),y=i(90444),v=i(42133),w=i(53724);t["default"]={zh:{...s.default,...a.userLang_zh,...r.home_zh,...c.miningAccount_zh,...l.personalCenter_zh,...d.AccessMiningPool_zh,...u.serviceTerms_zh,...h.api_zh,...m.workOrder_zh,...p.alerts_zh,...g.seo_zh,...f.chooseUs_zh,...y.ChatWidget_zh,...v.backendSystem_zh,...w.announcements_zh},en:{...o.default,...a.userLang_en,...r.home_en,...c.miningAccount_en,...l.personalCenter_en,...d.AccessMiningPool_en,...u.serviceTerms_en,...h.api_en,...m.workOrder_en,...p.alerts_en,...g.seo_en,...f.chooseUs_en,...y.ChatWidget_en,...v.backendSystem_en,...w.announcements_en}}},76994:function(e,t,i){e.exports=i.p+"img/lgout.189a539a.svg"},77738:function(e,t,i){e.exports=i.p+"img/lang.cef122f4.svg"},78628:function(e,t,i){e.exports=i.p+"img/grs.27ff84e3.svg"},79412:function(e,t,i){i.r(t)},79438:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.api_zh=t.api_en=void 0;t.api_zh={apiFile:{file:"M2pool API 文档",leftMenu:"API 文档 V1",survey:"概况",survey1:"用户可以通过 m2pool 提供的 API 接口,获取矿池、帐户的算力。",survey2:"本文档主要用于说明如何使用 m2pool 的 API接口,内容主要包括API的认证token生成以及API接口调用和返回数据结构。如果在调用 API 的返回值中,出现本文档中没有描述的字段,则说明这些字段为保留字段或是被弃用,请直接忽略。",apiAuthentication:"API 认证",apiAuthentication1:"查询 API 时需要提供由账号生产的具有对应权限的 token ,才能正常得到结果。用户可通过 m2pool 个人中心的",apiAuthentication5:"API页面",apiAuthentication6:"获取(请求 token 时可以根据需求自行勾选权限,可选权限分别为公共矿池数据查询接口调用权限、挖矿账户数据查询接口调用权限、矿机数据查询接口调用权限)。",apiAuthentication2:"在请求 API 时,将前面获取到的 token 放在 HTTP 请求Header 的API-KEY属性中即可完成认证。",apiAuthentication3:"请求API的IP要和获取API时的IP一致,且不能是本网站申明的禁止访问国家/地区的IP。",apiAuthentication4:"例如:",url:"示例url",explain:"说明",explain1:"获取某币种的矿池详情,包括矿池在线矿工数、最近7天的矿池算力、矿池当前算力、矿池最新高度、矿池费用、矿池提现起付额等",explain2:"获取某币种历史算力信息。start和end最多相差3个月",explain3:"当发生错误的时候,会返回给统一格式的数据",explain4:"错误描述",explain5:"当成功时返回同意格式的数据,数据具体字段见具体接口说明",explain6:"API 中 coin 字段可目前仅取值支持:nexa",miningPoolInformation:"矿池信息",miningPoolInformation1:"公共结构",miningPoolInformation2:"算力数据",name:"名称",type:"类型",remarks:"备注",Explain:"解释",powerStatistics:"算力统计时间",power:"算力",minersNum:"矿工数量数据",totalMiners:"总矿工数",onLineMiners:"在线矿工数",offLineMiners:"离线矿工数",overviewOfMiningPool:"矿池总览",jurisdiction:"所需权限",parameter:"请求参数",currency:"币种",response:"响应参数",serviceCharge:"矿池手续费",minimumPaymentAmount:"起付额",latelyPower24h:"最近七天算力(24h平均)",Power24h:"矿池最新算力(24h平均)",height:"矿池当前高度",currentMiners:"矿池当前矿工数",eachState:"各状态矿工数量",realTimePower:"矿池实时算力",averagePower30m:"当前30m平均算力",averagePower24h:"当前24h平均算力",Company:"单位",historyPower:"矿池总览历史算力",start:"开始时间",start2:"格式yyyy-MM-dd 与end相差最多三个月",end:"结束时间",end2:"格式yyyy-MM-dd 与star相差最多三个月",historyPower30m:"30m平均算力历史记录",historyPower24h:"24h平均算力历史记录",miningAccount:"挖矿账号信息",minerData:"矿工数量数据",stateData:"矿工状态数据",minerId:"矿工号",minerStatus:"矿工状态",minerStatus0:"0 代表在线",minerStatus1:"1 代表离线",minerStatus2:"2 代表异常状态",overviewOfMiners:"挖矿账号下矿工总览",accountApiKey:"该API-KEY绑定账号下的挖矿账号名",allMiners:"挖矿账号下所有矿工",realTimeAccount:"挖矿账号实时算力",account24h:"挖矿账号历史24h平均算力",account24h30m:"挖矿账号最近24h算力(30m平均算力)",average24h30m:"最近24h的30m平均算力",miningMachineInformation:"矿机信息",realTimeMiningMachine:"指定矿机实时算力",aCertainMiner:"挖矿账户下对应的某矿工号",miningMachineHistory24h:"指定矿机历史24h平均算力",realTimeMiningMachine24h30m:"指定矿机最近24h算力(30m平均算力)"}},t.api_en={apiFile:{file:"M2pool API documentation",leftMenu:"API documentation V1",survey:"survey",survey1:"Users can obtain the computing power of mining pools and accounts through the API interface provided by m2pool.",survey2:"This document is mainly used to explain how to use the API interface of m2pool, including the generation of authentication tokens for the API, API interface calls, and the return of data structures. If fields not described in this document appear in the return value of API calls, it indicates that these fields are reserved or abandoned, please ignore them directly.",apiAuthentication:"API certification",apiAuthentication1:"When querying the API, it is necessary to provide a token produced by the account with corresponding permissions in order to obtain normal results. Users can access the m2pool personal center through",apiAuthentication2:"When requesting an API, place the token obtained earlier in the API-KEY attribute of the HTTP request header to complete authentication.",apiAuthentication3:"The IP address requested for the API must be consistent with the IP address used to obtain the API, and cannot be the IP address of the prohibited country/region declared by this website.",apiAuthentication4:"For example:",url:"Example URL",explain:"explain",explain1:"Get the details of a mining pool for a certain currency, including the number of online miners in the pool, the computing power of the mining pool in the past 7 days, the current computing power of the mining pool, the latest height of the mining pool, mining pool fees, and the minimum withdrawal amount of the mining pool",explain2:"Obtain historical computing power information for a certain currency. The maximum difference between start and end is 3 months",explain3:"When an error occurs, data in a unified format will be returned",explain4:"Error description",explain5:"When successful, return data in the agreed format. Please refer to the specific interface instructions for the specific fields of the data",explain6:"The coin field in the API currently only supports values such as nexa",miningPoolInformation:"Mining Pool Information",miningPoolInformation1:"Public Structure",miningPoolInformation2:"Computing power data",name:"name",type:"type",remarks:"remarks",powerStatistics:"Computing power statistics time",power:"Computing power",minersNum:"Number of miners data",totalMiners:"Total number of miners",onLineMiners:"Number of online miners",offLineMiners:"Number of offline miners",Explain:"explain",overviewOfMiningPool:"Overview of Mining Pool",jurisdiction:"Required permissions",parameter:"Request parameters",currency:"currency",response:"Response parameters",serviceCharge:"Mining pool handling fee",minimumPaymentAmount:"Minimum payment amount",latelyPower24h:"Last seven days' computing power (24-hour average)",Power24h:"Latest computing power of mining pool (24-hour average)",height:"The current height of the mining pool",currentMiners:"The current number of miners in the mining pool",eachState:"Number of miners in each state",realTimePower:"Real time computing power of mining pool",averagePower30m:"Current average computing power of 30m",averagePower24h:"Current 24-hour average computing power",Company:"Company",historyPower:"Overview of Mining Pool Historical Computing Power",start:"start time",start2:"Format yyyy MM dd differs from end by up to three months",end:"End time",end2:"Format yyyy MM dd differs from star by up to three months",historyPower30m:"30m average computing power historical record",historyPower24h:"24-hour average computing power history record",miningAccount:"Mining account information",minerData:"Number of miners data",stateData:"Miner status data",minerId:"Miner ID",minerStatus:"Miner status",minerStatus0:"0 represents online",minerStatus1:"1 represents offline",minerStatus2:"2 represents abnormal state",overviewOfMiners:"Overview of miners under mining accounts",accountApiKey:"The mining account name under the API-KEY bound account",allMiners:"All miners under the mining account",realTimeAccount:"Real time computing power of mining accounts",account24h:"24-hour average computing power of mining account history",account24h30m:"Mining account's computing power in the past 24 hours (average computing power of 30m)",average24h30m:"The average computing power of 30m in the past 24 hours",miningMachineInformation:"Mining machine information",realTimeMiningMachine:"Specify the real-time computing power of the mining machine",aCertainMiner:"The corresponding miner account under the mining account",miningMachineHistory24h:"Specify the average computing power of the mining machine in the past 24 hours",realTimeMiningMachine24h30m:"Designated mining machine's computing power in the past 24 hours (average computing power of 30m)",apiAuthentication5:"API page",apiAuthentication6:"Obtain (When requesting tokens, you can check the permissions according to your needs, and the optional permissions are public mining pool data query interface call permission, mining account data query interface call permission, and mining machine data query interface call permission)."}}},79613:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIoAAAAhCAMAAAAxgsN7AAAAM1BMVEVMaXH////////////////////////////////////////////////////////////////x7/yuAAAAEHRSTlMAYKAwECDwQIDA0HDgsFCQfHx6EQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAihJREFUWIXFl9m2wyAIRR1wytD6/197VxQHFPtym5SnGozs6hGIEMKocL7EYGZ/hxBO/4LR81VzMRkuaew1OElIucVqQT6GcubR2fy6A7ks6GdQoATci1vGyW7bGILyKmEtLEnuYyEovobzhERdSoaXwuGk61tRoqkijsGUySgc22Rt3GTFOXvE0gOfUM46Vh04bN2eLQ7QJmHrY+UxG+ORH1Bi+g/Oxo1sIqQIR9kTTkpp08CynuulwL5kWJQ8N4czmyMouA+anO5o7pNH8B7Pouj8qFxo45O9XIqf77t8CEXkm1LFWU49s4XYxHI/Ch70G48EUVA0M0p3hJ6i+OZpU9OPMHoWKGLPD69LrKvKMGJ8FgXPJAgoWa3uEYn+BAo+Ve1KFuXkpADPoZQS3Uz2M9S0/o0oJHlZr/BV2UT0GEqfeBUIyDntnR/s8/p3otTMHVok1LBi1r8TBc/iaM0JlsK+PNb1MSP7QFGCr6YoyjF6Gor33lGUlMt8awdKqe0LdUXZe2n9M9vmPSMosO+1URFC2kEnBIXW/X+jRENRiKFgLW0mC8rQLGghNB/wUj/bPlx/UfejFQpgmjmGdr+g0PNJklSRsdaPjbYBeSesUMoHyDl+khWUvhs6VJ7lp2Ztwwslp+ZpQ002zwLFcTKhWvm+sShl94/QTP8CBdhDX1XmO1GAac9/g6L5m/cDFPY79RkUl4pCHUIrFINhGs6lp8vJ3zEhxB/YQnlvC83hegAAAABJRU5ErkJggg=="},83536:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.serviceTerms_zh=t.serviceTerms_en=void 0;t.serviceTerms_zh={ServiceTerms:{title:"服务条款内容",title1:"一、总则",clauseTotal1:"1.欢迎访问 M2pool 矿池网站(以下简称“本网站”)。使用本网站的服务(以下简称“服务”),即表示您同意遵守以下服务条款(以下简称“条款”)。",clauseTotal2:"2.请仔细阅读以下条款,如果您点击 “注册 ”按钮或查看、使用这些服务,即视为您已阅读并同意本服务条款及其所有附加条款。如果你不接受服务条款的限制,请不要查看或使用服务。",clauseTotal3:"3.我们保留随时修改这些条款的权利,修改后的条款将在网站上公布。您继续使用服务即表示您接受修改后的条款。",clauseTotal4:"4.我们希望您能定期查看本条款,以确保您已确认适用于您查看和使用的条款和条件。本条款及附加条款可供您查看,并可用于使用我们提供的任何服务,包括但不限于以下网站:https://www.m2pool.com/(以下简称 “本网站”)。",title2:"二、服务说明",clauseService1:"1.我们的服务旨在为用户提供数字货币挖矿相关的资源和支持,但不保证挖矿的收益或成功。",clauseService2:"2.服务可能会因维护、升级或其他原因而暂时中断,我们将尽力提前通知用户,但不对此类中断造成的损失负责。",clauseService3:"3.M2Pool 不向以下司法管辖区的个人或实体提供服务:阿富汗、白俄罗斯、中非共和国、刚果民主共和国、几内亚比绍、古巴、伊朗、伊拉克、朝鲜、利比亚、黎巴嫩、马里、叙利亚、委内瑞拉和津巴布韦。受限制的司法管辖区还包括M2pool选择不运营的任何国家/地区,包括但不限于阿尔及利亚、安哥拉、孟加拉国、中国、埃及、海地、科索沃、科威特、摩洛哥、俄罗斯、尼泊尔、索马里、南苏丹、苏丹、也门和新加坡。",clauseService4:" 通过访问和使用 M2Pool 服务,您声明并保证您不位于、不在上述任何国家/地区设立或不是上述任何国家的居民。M2Pool 保留自行决定限制或拒绝某些国家/地区提供服务的权利。如果 M2Pool 确定(自行决定)用户是指定国家/地区的居民,M2Pool 可能会冻结或终止这些帐户。",title3:"三、用户资格",clauseUser1:"1.您必须达到法定年龄并具备完全民事行为能力才能使用本服务。",clauseUser2:"2.您保证所提供的注册信息真实、准确、完整,并及时更新,您可以使用电子邮件地址我们允许的其他方式登录 M2Pool。如果您提供的注册信息不正确,我们将不承担任何责任。您将遭受任何直接或间接的损失和不利后果。",clauseUser3:"3.您应是具有完全行为能力和民事权利能力的法人、公司或其他组织。否则,您或您的监护人应承担一切后果。我们有权注销或永久中止您的账户,并要求您赔偿。",title4:"四、用户责任",clauseResponsibility1:"1.您应遵守所有适用的国家法律、法规等规范性文件及本规则的规定和要求,包括但不限于与数字货币挖矿相关的法律。不违反社会公共利益或公共道德,不损害他人合法权益,不偷逃应纳税款,不违反本规定及相关规则。如果您违反上述承诺并产生任何法律后果,您应自行承担所有法律责任,并确保我们免受任何损失。",clauseResponsibility2:"2.您不得利用本服务从事任何非法、欺诈、有害或侵犯他人权利的活动。",clauseResponsibility3:"3.您对自己的挖矿设备和网络连接负责,确保其符合相关要求并正常运行。",clauseResponsibility4:"4.您必须对您的M2Pool用户名和密码以及在您的用户名、M2Pool密码下发生的所有活动(包括但不限于信息披露和发布、在线点击同意或提交各种规则和协议、在线协议续签或购买服务、账户设置等)的保密性负责。",clauseResponsibility5:"5.如果任何人未经认证使用您的M2pool邮箱、账号等登录本网站,我们不对您因违反本条款而造成的任何损失负责。",title5:"五、费用与支付",clausePayment1:"1.我们可能会根据服务内容收取一定的费用,具体费用标准将在网站上公布。",clausePayment2:"2.您同意按照规定的支付方式和时间支付费用,逾期未支付可能导致服务暂停或终止。",clausePayment3:"3.您在使用本服务时所产生的应纳税额以及所有硬件、软件、服务或其他方面的费用均由您自行承担。",title6:"六、收益与分配",clauseProfit1:"1.挖矿收益将根据我们的分配机制进行分配,但不保证收益的稳定性和固定性。",clauseProfit2:"2.我们有权根据实际情况调整分配机制,但会提前通知用户。",title7:"七、数据与隐私",clausePrivacy1:"1.我们会收集和使用您在使用服务过程中产生的相关数据,但会严格遵守隐私政策保护您的隐私。",clausePrivacy2:"2.您同意我们对数据的收集、使用和处理,以提供和改进服务。",title8:"八、知识产权",clausePropertyRight1:"1.本网站的所有内容,包括但不限于商标、版权、专利等,均归本公司或相关权利人所有。",clausePropertyRight2:"2.未经授权,您不得复制、修改、传播或使用本网站的任何知识产权。",title9:"九、免责声明",clauseDisclaimer1:"1.对于因不可抗力、系统故障、网络问题等导致的服务中断或数据丢失,我们不承担责任。",clauseDisclaimer2:"2.对于您因使用本服务而产生的任何直接、间接、偶然、特殊或后果性的损失,包括但不限于挖矿收益损失、设备损坏等,我们不承担赔偿责任。",title10:"十、终止服务",clauseTermination1:"1.我们有权在以下情况下终止您的服务:违反本条款、法律法规、损害本公司或其他用户的利益。",clauseTermination2:"2.服务终止后,您的相关数据可能会被删除或保留,具体处理方式将根据法律法规和公司政策执行。",title11:"十一、法律适用与争议解决",clauseLaw1:"1.本条款受新加坡法律的管辖。",clauseLaw2:"2.如发生争议,双方应通过友好协商解决;协商不成的,可向有管辖权的法院提起诉讼。",loadingText:"正在加载文档内容...",noContent:"暂无自定义文档内容"}},t.serviceTerms_en={ServiceTerms:{title:"Content of Service Terms",title1:"1、 General Provisions",clauseTotal1:'Welcome to the M2pool mining pool website (hereinafter referred to as "this website"). By using the services of this website (hereinafter referred to as the "Services"), you agree to comply with the following terms of service (hereinafter referred to as the "Terms").',clauseTotal2:'2. Please carefully read the following terms. If you click the "Register" button or view or use these services, it is deemed that you have read and agreed to these terms of service and all its additional terms. If you do not accept the limitations of the terms of service, please do not view or use the service.',clauseTotal3:"3. We reserve the right to modify these terms at any time, and the modified terms will be published on the website. By continuing to use the service, you accept the revised terms.",clauseTotal4:'4. We hope that you can regularly review these terms to ensure that you have confirmed the terms and conditions applicable to your viewing and use. These terms and additional terms are available for your review and can be used to use any services we provide, including but not limited to the following websites: https://www.m2pool.com/ (hereinafter referred to as "this website").',title2:"2、 Service Description",clauseService1:"Our service aims to provide users with resources and support related to cryptocurrency mining, but we do not guarantee the profits or success of mining.",clauseService2:"2. The service may be temporarily interrupted due to maintenance, upgrades, or other reasons. We will do our best to notify users in advance, but we are not responsible for any losses caused by such interruptions.",clauseService3:"3.M2Pool does not provide services to individuals or entities in the following jurisdictions: Afghanistan, Belarus, Central African Republic, Democratic Republic of the Congo, Guinea Bissau, Cuba, Iran, Iraq, North Korea, Libya, Lebanon, Mali, Syria, Venezuela and Zimbabwe. Restricted jurisdictions also include any country/territory in which M2pool chooses not to operate, including but not limited to Algeria, Angola, Bangladesh, China, Egypt, Haiti, Kosovo, Kuwait, Morocco, Russia, Nepal, Somalia, South Sudan, Sudan, Yemen and Singapore.",title3:"3、 User Qualification",clauseUser1:"1. You must be of legal age and have full capacity for civil conduct to use this service.",clauseUser2:"2. You guarantee that the registration information provided is true, accurate, complete, and updated in a timely manner. You can log in to M2Pool using other methods allowed by our email address. If the registration information you provide is incorrect, we will not be held responsible. You will suffer any direct or indirect losses and adverse consequences.",clauseUser3:"3. You should be a legal person, company, or other organization with full capacity for conduct and civil rights. Otherwise, you or your guardian shall bear all consequences. We have the right to cancel or permanently suspend your account and demand compensation from you.",title4:"4、 User Responsibility",clauseResponsibility1:"1. You shall comply with all applicable national laws, regulations and normative documents, as well as the provisions and requirements of these rules, including but not limited to laws related to digital currency mining. Not violating the public interest or public morality, not harming the legitimate rights and interests of others, not evading taxes, and not violating these regulations and related rules. If you violate the above commitments and incur any legal consequences, you shall bear all legal responsibilities on your own and ensure that we are free from any losses.",clauseResponsibility2:"2. You are not allowed to engage in any illegal, fraudulent, harmful, or infringing activities using this service.",clauseResponsibility3:"3. You are responsible for your mining equipment and network connection, ensuring that it meets relevant requirements and operates normally.",clauseResponsibility4:"4. You are responsible for the confidentiality of your M2Pool username and password, as well as all activities that occur under your username and M2Pool password (including but not limited to information disclosure and publication, online click to agree or submit various rules and agreements, online agreement renewal or purchase of services, account settings, etc.).",clauseResponsibility5:"5. If anyone uses your M2pool email, account, etc. to log in to this website without authentication, we will not be responsible for any losses caused by your violation of these terms.",title5:"5、 Fees and Payment",clausePayment1:"We may charge a certain fee based on the service content, and the specific fee standard will be announced on the website.",clausePayment2:"2. You agree to pay the fees according to the prescribed payment method and time. Failure to pay on time may result in the suspension or termination of the service.",clausePayment3:"3. The taxable amount and all hardware, software, service or other expenses incurred by you when using this service shall be borne by you.",title6:"6、 Income and distribution",clauseProfit1:"1. Mining profits will be distributed according to our distribution mechanism, but we do not guarantee the stability and stability of the profits.",clauseProfit2:"2. We have the right to adjust the allocation mechanism according to the actual situation, but we will notify users in advance.",title7:"7、 Data and Privacy",clausePrivacy1:"1. We will collect and use relevant data generated during your use of the service, but we will strictly comply with the privacy policy to protect your privacy.",clausePrivacy2:"2. You agree to our collection, use, and processing of data to provide and improve services.",title8:"8、 Intellectual Property",clausePropertyRight1:"All content on this website, including but not limited to trademarks, copyrights, patents, etc., belongs to our company or relevant rights holders.",clausePropertyRight2:"2. Without authorization, you are not allowed to copy, modify, disseminate or use any intellectual property of this website.",title9:"9、 Disclaimer",clauseDisclaimer1:"We are not responsible for service interruptions or data loss caused by force majeure, system failures, network issues, etc.",clauseDisclaimer2:"2. We are not liable for any direct, indirect, incidental, special or consequential losses incurred by you as a result of using this service, including but not limited to mining revenue loss, equipment damage, etc.",title10:"10、 Termination of Service",clauseTermination1:"We have the right to terminate your service in the following circumstances: violation of these terms, laws and regulations, or damage to the interests of our company or other users.",clauseTermination2:"After the termination of the service, your relevant data may be deleted or retained, and the specific processing method will be implemented in accordance with laws, regulations, and company policies.",title11:"11、 Application of Law and Dispute Resolution",clauseLaw1:"1. This clause is governed by the laws of Singapore.",clauseLaw2:"2. In the event of a dispute, both parties shall resolve it through friendly consultation; If the negotiation fails, a lawsuit may be filed with a court with jurisdiction.",loadingText:"Loading document content...",noContent:"No custom document content"}}},84013:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(22016),o=i(54752),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"1a3f78b4",null),c=r.exports},84269:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("el-aside",{staticClass:"admin-sidebar",staticStyle:{height:"100vh",background:"#202940",width:"280px",padding:"0"}},[t("el-menu",{staticClass:"el-menu-vertical-demo",staticStyle:{border:"none",width:"280px"},attrs:{"default-active":e.activeIndex,"background-color":"#202940","text-color":"#fff","active-text-color":"#ffd04b"}},e._l(e.menuList,(function(i){return t("div",{key:i.id},[t("el-menu-item",{directives:[{name:"show",rawName:"v-show",value:!i.children,expression:"!item.children"}],staticStyle:{"padding-left":"20px !important"},attrs:{index:i.id},on:{click:function(t){return e.handleClick(i)}}},[t("i",{class:i.icon}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t(i.label)))])]),i.children?t("el-submenu",{attrs:{id:"el-submenu-bg",index:i.id}},[t("template",{slot:"title"},[t("i",{class:i.icon}),t("span",[e._v(e._s(e.$t(i.label)))])]),e._l(i.children,(function(i){return t("el-menu-item",{key:i.id,staticStyle:{"padding-left":"40px !important"},attrs:{index:i.id},on:{click:function(t){return e.handleClick(i)}}},[t("i",{class:i.icon}),t("span",{attrs:{slot:"title"},slot:"title"},[e._v(e._s(e.$t(i.label)))])])}))],2):e._e()],1)})),0)],1)},t.Yp=[]},84441:function(e,t,i){e.exports=i.p+"img/客服.b3d473b9.svg"},85857:function(e,t,i){e.exports=i.p+"img/mona.643bf599.svg"},87349:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.userLang_zh=t.userLang_en=void 0;t.userLang_zh={user:{login:"登 录",register:"去注册",Account:"邮箱",password:"密码",forgotPassword:"忘记密码",inputAccount:"请输入账号",inputPassword:"请输入密码",inputEmail:"请输入邮箱",accountReminder:"请确认账号输入格式是否正确(以字母开头,允许使用字母、数字、下划线,长度不小于3,不大于16位)",PasswordReminder:"请确认密码格式输入正确(应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位)",loginSuccess:"登录成功",inputCode:"请输入验证码",noPage:" 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。",canTFind:"找不到网页!",verificationCode:"验证码",obtainVerificationCode:"获取验证码",again:"s后重新获取",newUser:"新用户注册",confirmPassword:"确认密码",havingAnAccount:"已有账号?",loginExpired:"登录状态已过期",overduePrompt:"系统提示",Home:"首 页",signOut:"退出登录",codeSuccess:"已发送验证码",emailVerification:"请检查邮箱是否输入正确",passwordVerification:"用户密码长度必须介于 8 和 32 之间",secondaryPassword:"请再次输入您的密码",passwordFormat:"请确认密码格式输入正确",system:"系统提示",congratulations:"恭喜您的账号 注册成功!",passwordPrompt:"密码应包含大小写字母、数字和特殊字符,长度不小于8,不大于32位",verificationCodeSuccessful:"验证码发送成功",noAccount:"没有账号?",resetPassword:"重置密码",newPassword:"确认密码",changePassword:"修改密码",returnToLogin:"返回登录",confirmPassword2:"确认两次密码输入一致",modifiedSuccessfully:"密码修改成功,请登录",verificationEnabled:"已开启验证",newPassword2:"新密码"}},t.userLang_en={user:{login:"Login",register:"Sign Up",Account:"Email",password:"Password",forgotPassword:"Forgot password",inputAccount:"Please enter an account",inputPassword:"Please enter the password",inputEmail:"Please enter your email address",accountReminder:"Please confirm if the account input format is correct (starting with a letter, allowing letters, numbers, and underscores, with a length of no less than 3 and no more than 16 digits)",PasswordReminder:"Please confirm that the password format is entered correctly (it should include uppercase and lowercase letters, numbers, and special characters, with a length of no less than 8 and no more than 32 bits)",loginSuccess:"Login successful",inputCode:"Please enter the verification code",noPage:" Sorry, the page you are looking for does not exist. Try checking for errors in the URL, then press the refresh button on the browser or try to find other content in our application.",canTFind:"Unable to find webpage!",verificationCode:"Code",obtainVerificationCode:"Obtain Code",again:"s again",newUser:"New user registration",confirmPassword:"Confirm password",havingAnAccount:"Existing account?",loginExpired:"Login status has expired",overduePrompt:"System prompt",Home:"Home",signOut:"Sign out",codeSuccess:"Verification code has been sent",emailVerification:"Please check if the email is entered correctly",passwordVerification:"Password length must be between 8 and 32",secondaryPassword:"Please enter your password again",passwordFormat:"Please confirm that the password format is entered correctly",system:"System prompt",congratulations:"Congratulations on the successful registration of your account!",passwordPrompt:"password Contains uppercase and lowercase letters, numbers, and special characters,Length not less than 8 and not more than 32",verificationCodeSuccessful:"Verification code sent successfully",noAccount:"Don't have an account?",resetPassword:"Reset Password",newPassword:"Confirm password",changePassword:"Change Password",returnToLogin:"Return to login",confirmPassword2:"Confirm that the two password inputs are consistent",modifiedSuccessfully:"Password changed successfully, please log in",verificationEnabled:"Verification enabled",newPassword2:"New Password"}}},87579:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("div",{staticClass:"split-screen-editor"},[t("div",{staticClass:"editor-tools"},[t("div",{staticClass:"mode-switch"},[t("button",{staticClass:"mode-btn",class:{active:"edit"===e.editorMode},on:{click:function(t){e.editorMode="edit"}}},[t("i",{staticClass:"el-icon-edit"}),e._v(" 编辑 ")]),t("button",{staticClass:"mode-btn",class:{active:"preview"===e.editorMode},on:{click:function(t){e.editorMode="preview"}}},[t("i",{staticClass:"el-icon-view"}),e._v(" 预览 ")]),t("button",{staticClass:"mode-btn",class:{active:"split"===e.editorMode},on:{click:function(t){e.editorMode="split"}}},[t("i",{staticClass:"el-icon-s-unfold"}),e._v(" 分屏 ")])]),t("div",{staticClass:"tool-actions"},[t("span",{staticClass:"word-count"},[e._v(e._s(e.wordCount)+" 字")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-question"},on:{click:e.toggleUsageGuide}},[e._v(" "+e._s(e.showUsageGuide?"隐藏指南":"使用指南")+" ")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-full-screen"},on:{click:e.toggleFullscreen}},[e._v(" "+e._s(e.isFullscreen?"退出全屏":"全屏")+" ")]),t("el-button",{attrs:{size:"mini",icon:"el-icon-upload",type:"warning",loading:e.publishLoading,disabled:!e.localContent.trim()},on:{click:e.handlePublish}},[e._v(" "+e._s(e.publishLoading?"发布中...":"发布")+" ")])],1)]),t("div",{staticClass:"editor-container",class:{fullscreen:e.isFullscreen}},[t("el-row",{attrs:{gutter:20}},[t("el-col",{attrs:{span:"preview"===e.editorMode?0:"split"===e.editorMode?12:24}},[t("div",{directives:[{name:"show",rawName:"v-show",value:"preview"!==e.editorMode,expression:"editorMode !== 'preview'"}],staticClass:"editor-panel"},[t("div",{staticClass:"panel-header"},[t("span",[t("i",{staticClass:"el-icon-edit"}),e._v(" 富文本编辑")]),t("div",{staticClass:"panel-actions"},[t("el-button",{attrs:{size:"mini",icon:"el-icon-arrow-right"},on:{click:e.insertBulletPoint}},[e._v(" 插入圆点 ")])],1)]),t("div",{staticClass:"editor-content"},[t("div",{ref:"editorContainer",staticClass:"tinymce-container"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.localContent,expression:"localContent"}],attrs:{id:e.editorId},domProps:{value:e.localContent},on:{input:[function(t){t.target.composing||(e.localContent=t.target.value)},e.handleContentChange]}})])])])]),t("el-col",{attrs:{span:"edit"===e.editorMode?0:"split"===e.editorMode?12:24}},[t("div",{directives:[{name:"show",rawName:"v-show",value:"edit"!==e.editorMode,expression:"editorMode !== 'edit'"}],staticClass:"editor-panel"},[t("div",{staticClass:"panel-header"},[t("span",[t("i",{staticClass:"el-icon-view"}),e._v(" 实时预览")]),t("div",{staticClass:"panel-actions"},[t("el-button",{attrs:{size:"mini",icon:"el-icon-document-copy"},on:{click:e.copyHtml}},[e._v(" 复制HTML ")])],1)]),t("div",{staticClass:"preview-content content-display",domProps:{innerHTML:e._s(e.previewContent)}})])])],1)],1),t("transition",{attrs:{name:"slide-fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showUsageGuide,expression:"showUsageGuide"}],staticClass:"usage-guide-panel"},[t("el-card",{attrs:{shadow:"never"}},[t("div",{attrs:{slot:"header"},slot:"header"},[t("span",[t("i",{staticClass:"el-icon-guide"}),e._v(" TinyMCE 富文本编辑器使用指南")]),t("el-button",{staticStyle:{float:"right",padding:"3px 0","margin-left":"10px"},attrs:{type:"text",icon:"el-icon-close"},on:{click:e.toggleUsageGuide}},[e._v(" 关闭指南 ")]),t("el-button",{staticStyle:{float:"right",padding:"3px 0"},attrs:{type:"text",icon:"el-icon-info"},on:{click:e.checkDemoEditorStatus}},[e._v(" 检查状态 ")])],1),t("div",{staticClass:"guide-content"},[t("div",{staticClass:"guide-section"},[t("h4",[e._v("💡 功能演示区域")]),t("p",{staticClass:"demo-description"},[e._v("在下方编辑器中直接尝试各种功能:")]),t("div",{staticClass:"demo-editor-container"},[t("div",{staticClass:"demo-editor",attrs:{id:e.demoEditorId}})]),t("div",{staticClass:"demo-tips"},[t("span",{staticClass:"tip-item"},[e._v("💡 提示:可以在此编辑器中直接尝试下方介绍的所有功能")])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("📝 基础文本编辑")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-refresh-left"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("撤销/重做")]),t("p",[t("kbd",[e._v("Ctrl + Z")]),e._v(" 撤销 | "),t("kbd",[e._v("Ctrl + Y")]),e._v(" 重做")]),t("span",{staticClass:"tips"},[e._v("快速回退或恢复编辑操作")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("strong",[e._v("B")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("字体样式")]),t("p",[t("kbd",[e._v("Ctrl + B")]),e._v(" 粗体 | "),t("kbd",[e._v("Ctrl + I")]),e._v(" 斜体 | "),t("kbd",[e._v("Ctrl + U")]),e._v(" 下划线")]),t("span",{staticClass:"tips"},[e._v("选中文字后使用快捷键或点击工具栏按钮")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🎨 格式与样式")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-s-grid"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("段落格式")]),t("p",[e._v("标题1-6、段落、预格式化文本")]),t("span",{staticClass:"tips"},[e._v('点击"格式"下拉菜单选择段落样式')])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("div",{staticClass:"color-icon"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("颜色设置")]),t("p",[e._v("字体颜色 "),t("span",{staticClass:"color-demo",staticStyle:{color:"#ff0000"}},[e._v("A")]),e._v(" | 背景颜色 "),t("span",{staticClass:"bg-demo"},[e._v("A")])]),t("span",{staticClass:"tips"},[e._v("选中文字后点击颜色按钮选择颜色")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-sort"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("文本对齐")]),t("p",[e._v("左对齐 | 居中 | 右对齐 | 两端对齐")]),t("span",{staticClass:"tips"},[e._v("将光标放在段落中,点击对应对齐按钮")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("📋 列表与缩进")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("span",{staticStyle:{"font-size":"18px"}},[e._v("•")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("无序列表(圆点)")]),t("p",[e._v("创建带圆点的项目列表")]),t("span",{staticClass:"tips"},[e._v('点击圆点按钮或使用"• 圆点"专用按钮')])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("span",{staticStyle:{"font-size":"16px"}},[e._v("1.")])]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("有序列表(数字)")]),t("p",[e._v("创建带数字编号的项目列表")]),t("span",{staticClass:"tips"},[e._v("点击数字列表按钮,自动生成编号")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-right"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("缩进控制")]),t("p",[t("kbd",[e._v("Tab")]),e._v(" 增加缩进 | "),t("kbd",[e._v("Shift + Tab")]),e._v(" 减少缩进")]),t("span",{staticClass:"tips"},[e._v("用于创建多层级列表结构")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🔗 插入与媒体")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-link"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("链接插入")]),t("p",[t("kbd",[e._v("Ctrl + K")]),e._v(" 插入链接")]),t("span",{staticClass:"tips"},[e._v("选中文字后按快捷键或点击链接按钮")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-picture"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("图片插入")]),t("p",[e._v("支持上传图片或插入图片链接")]),t("span",{staticClass:"tips"},[e._v("点击图片按钮,选择本地文件或输入URL")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-s-grid"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("表格插入")]),t("p",[e._v("创建和编辑表格数据")]),t("span",{staticClass:"tips"},[e._v("点击表格按钮选择行列数,右键编辑表格")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("🛠️ 高级功能")]),t("div",{staticClass:"function-grid"},[t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-search"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("搜索替换")]),t("p",[t("kbd",[e._v("Ctrl + F")]),e._v(" 查找 | "),t("kbd",[e._v("Ctrl + H")]),e._v(" 替换")]),t("span",{staticClass:"tips"},[e._v("快速查找和批量替换文本内容")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-view"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("源码编辑")]),t("p",[e._v("查看和编辑HTML源代码")]),t("span",{staticClass:"tips"},[e._v("点击代码按钮切换到HTML视图")])])]),t("div",{staticClass:"function-item"},[t("div",{staticClass:"function-icon"},[t("i",{staticClass:"el-icon-full-screen"})]),t("div",{staticClass:"function-detail"},[t("h5",[e._v("全屏编辑")]),t("p",[t("kbd",[e._v("F11")]),e._v(" 或点击全屏按钮")]),t("span",{staticClass:"tips"},[e._v("沉浸式编辑体验,"),t("kbd",[e._v("ESC")]),e._v("退出")])])])])]),t("div",{staticClass:"guide-section"},[t("h4",[e._v("⌨️ 快捷键汇总")]),t("div",{staticClass:"shortcuts-grid"},[t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("基础编辑")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + Z")]),t("span",[e._v("撤销")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + Y")]),t("span",[e._v("重做")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + A")]),t("span",[e._v("全选")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + C")]),t("span",[e._v("复制")])])])]),t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("格式化")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + B")]),t("span",[e._v("粗体")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + I")]),t("span",[e._v("斜体")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + U")]),t("span",[e._v("下划线")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + K")]),t("span",[e._v("插入链接")])])])]),t("div",{staticClass:"shortcut-category"},[t("h5",[e._v("视图控制")]),t("div",{staticClass:"shortcut-list"},[t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("F11")]),t("span",[e._v("全屏")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("ESC")]),t("span",[e._v("退出全屏")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + F")]),t("span",[e._v("查找")])]),t("div",{staticClass:"shortcut-item"},[t("kbd",[e._v("Ctrl + H")]),t("span",[e._v("替换")])])])])])]),t("div",{staticClass:"guide-section special-features"},[t("h4",[e._v("⭐ 专用功能说明")]),t("div",{staticClass:"special-function"},[t("div",{staticClass:"special-icon"},[t("span",[e._v("•")])]),t("div",{staticClass:"special-content"},[t("h5",[e._v("圆点插入专用按钮")]),t("p",[e._v('我们为您特别添加了"• 圆点"按钮,专门用于插入黑色圆点符号。')]),t("div",{staticClass:"usage-steps"},[t("span",{staticClass:"step"},[e._v("1")]),e._v(" 将光标定位到需要插入圆点的位置 "),t("span",{staticClass:"step"},[e._v("2")]),e._v(' 点击工具栏中的"• 圆点"按钮 '),t("span",{staticClass:"step"},[e._v("3")]),e._v(" 圆点自动插入,在分屏模式下立即可见 ")])])]),t("div",{staticClass:"special-function"},[t("div",{staticClass:"special-icon"},[t("i",{staticClass:"el-icon-s-unfold"})]),t("div",{staticClass:"special-content"},[t("h5",[e._v("分屏实时预览")]),t("p",[e._v("左边编辑,右边实时预览,完美解决圆点在预览时才显示的问题。")]),t("div",{staticClass:"usage-steps"},[t("span",{staticClass:"step"},[e._v("1")]),e._v(' 点击工具栏中的"分屏"按钮 '),t("span",{staticClass:"step"},[e._v("2")]),e._v(" 左侧编辑器,右侧实时预览 "),t("span",{staticClass:"step"},[e._v("3")]),e._v(" 圆点和格式化效果立即可见 ")])])])])])])],1)])],1)},t.Yp=[]},87596:function(e,t,i){e.exports=i.p+"img/LOGO.8ae69378.svg"},90444:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ChatWidget_zh=t.ChatWidget_en=void 0;t.ChatWidget_zh={chat:{title:"在线客服",welcome:"欢迎使用在线客服,请问有什么可以帮您?",placeholder:"请输入您的消息...",send:"发送",close:"关闭",inputPlaceholder:"请输入您的问题...",onlyImages:"只能上传图片文件!",imageTooLarge:"图片大小不能超过5MB!",imageReceived:"已收到您的图片,我们会尽快处理您的问题。",networkError:"网络连接已断开,请刷新页面重试",openCustomerService:"打开客服聊天",connectToCustomerService:"正在连接客服系统...",connectionFailed:"连接失败,请刷新页面重试",tryConnectingAgain:"重试连接",loading:"加载中...",loadMore:"加载更多历史消息",welcomeToUse:"欢迎使用在线客服,请问有什么可以帮您?",picture:"聊天图片",read:"已读",unread:"未读",subscriptionFailed:"消息订阅失败,可能无法接收新消息",break:"连接断开",retry:"秒后重试",disconnectWaiting:"断线重连中...",sendFailed:"发送消息失败,请重试",noHistory:"暂无历史消息",historicalFailure:"加载历史消息失败,请重试",loadingHistory:"正在加载更多历史消息...",noMoreHistory:"没有更多历史消息了",Loaded:"已加载历史消息",newMessage:"新消息",pictureMessage:"图片消息",initializationFailed:"初始化失败,请刷新页面重试",beSorry:"抱歉,我暂时无法回答这个问题。请排队等待人工客服或提交工单。",today:"今天",yesterday:"昨天",canOnlyUploadImages:"只能上传图片文件!",imageSizeExceeded:"图片大小不能超过5MB!",uploading:"正在上传图片...",pictureFailed:"发送图片失败,请重试",readImage:"读取图片失败,请重试",processingFailed:"图片处理失败,请重试",Disconnected:"连接已断开",reconnecting:"正在连接...",contactList:"联系列表",search:"搜索最近联系人",tourist:"游客",important:"重要",markAsImportant:"标记为重要",cancelImportant:"已取消重要标记",markingFailed:"标记操作失败,请重试",Marked:"已标记为重要",select:"请选择联系人",notSelected:"您尚未选择联系人",None:"暂无消息记录",sendPicture:"发送图片",inputMessage:"请输入消息,按Enter键发送,按Ctrl+Enter键换行",bottom:"回到底部",Preview:"预览图片",chatRoom:"聊天室",CLOSED:"已关闭",picture2:"图片",Unnamed:"未命名聊天室",noNewsAtTheMoment:"暂无未读消息",contactFailed:"加载更多联系人失败",listException:"获取聊天室列表异常",my:"我",unknownSender:"未知发送者",recordFailed:"加载聊天记录失败",messageException:"加载消息异常",chooseFirst:"请先选择联系人",chatDisconnected:"聊天连接已断开,请刷新页面重试",pictureSuccessful:"图片已发送",history:"历史记录",loadFailed:"加载失败",guestNotice:"您当前以游客身份聊天,聊天记录将不会保存。",guestNotice2:"后即可保存聊天记录",loginToSave:"登录",server500:"服务器暂时不可用,请稍后重试",CheckNetwork:"连接失败,请检查网络后重试",attemptToReconnect:"连接已断开,正在尝试重连...",retryFailed:"重试连接失败,请刷新页面",maxConnectionsError:"连接数已达上限,请刷新页面重试",ipLimitError:"本机连接数已达上限,请刷新页面重试",serverLimitError:"服务器连接数已达上限,请稍后刷新重试",identityError:"用户身份设置失败,请刷新页面重试",emailError:"用户信息获取失败,请刷新页面重试",refreshPage:"刷新页面",reconnectSuccess:"重新连接成功",sendMessageEmpty:"发送消息不能为空",unableToSubscribe:"连接状态异常,刷新页面重试",conflict:"连接异常,可能是多窗口冲突,请关闭其他窗口重试",abnormal:"连接异常",networkAnomaly:"网络连接异常",customerServiceOffline:"客服离线,请登录账号发送留言消息",contentMax:"超出发送内容大小限制,请删除部分内容(300字以内)",failInSend:"发送失败,请重试",connectionLimitError:"连接数已达上限,请关闭一些窗口后刷新重试",serverBusy:"服务器繁忙,请稍后刷新重试",connectionTimedOut:"连接超时,稍后重试...",reconnectFailed:"重连失败,请稍后重试",serviceConfigurationError:"服务配置异常,请稍后重试",serviceAddressUnavailable:"服务地址不可用,请稍后重试",connectionFailedService:"无法连接到服务器,请稍后重试",connectionFailedCustomer:"连接客服系统失败,请检查网络或稍后重试",logoutSyncNotice:"检测到您已在其他窗口退出登录,当前窗口将自动跳转"}},t.ChatWidget_en={chat:{title:"Online Customer Service",welcome:"Welcome to the online customer service, what can I help you with?",placeholder:"Please enter your message...",send:"Send",close:"Close",inputPlaceholder:"Please enter your question...",onlyImages:"Only image files can be uploaded!",imageTooLarge:"The image size cannot exceed 5MB!",imageReceived:"We have received your image, and we will handle your question as soon as possible.",networkError:"Network disconnected, please refresh page",openCustomerService:"Open customer service chat",connectToCustomerService:"Connecting to customer service...",connectionFailed:"Connection failed, please refresh page",tryConnectingAgain:"Retry connection",loading:"Loading...",loadMore:"Load more history",welcomeToUse:"Welcome to online service, how can I help you?",picture:"Chat image",read:"Read",unread:"Unread",subscriptionFailed:"Message subscription failed",break:"Connection lost",retry:"Retry in seconds",disconnectWaiting:"connecting...",sendFailed:"Send failed, please retry",noHistory:"No history",historicalFailure:"Failed to load history",loadingHistory:"Loading more history...",noMoreHistory:"No more history",Loaded:"History loaded",newMessage:"New message",pictureMessage:"Image message",initializationFailed:"Initialization failed, please refresh",beSorry:"Sorry, I cannot answer this. Please wait for agent or submit ticket",today:"Today",yesterday:"Yesterday",canOnlyUploadImages:"Only image files allowed",imageSizeExceeded:"Image size exceeds 5MB",uploading:"Uploading image...",pictureFailed:"Failed to send image",readImage:"Failed to read image",processingFailed:"Image processing failed",Disconnected:"Disconnected",reconnecting:"Reconnecting...",contactList:"Contact list",search:"Search contacts",tourist:"Guest",important:"Important",markAsImportant:"Mark as important",cancelImportant:"Unmarked as important",markingFailed:"Marking failed",select:"Select contact",notSelected:"No contact selected",None:"No messages",sendPicture:"Send image",inputMessage:"Type message, Enter to send, Ctrl+Enter for new line",bottom:"to bottom",Preview:"Preview image",chatRoom:"Chat room",CLOSED:"Closed",picture2:"Image",Unnamed:"Unnamed chat",noNewsAtTheMoment:"No unread messages",contactFailed:"Failed to load contacts",listException:"Failed to get chat list",my:"Me",unknownSender:"Unknown sender",recordFailed:"Failed to load chat records",messageException:"Failed to load messages",chooseFirst:"Please select contact first",chatDisconnected:"Chat disconnected, please refresh",pictureSuccessful:"Image sent",history:"History",loadFailed:"Load Fail",Marked:"Marked as important",guestNotice:"You are currently chatting as a guest, and your chat history will not be saved.",guestNotice2:" to save chat history",loginToSave:"Login",server500:"The server is temporarily unavailable, please try again later",CheckNetwork:"Connection failed, please check the network and try again",attemptToReconnect:"Connection lost, attempting to reconnect...",retryFailed:"Retry connection failed, please refresh page",maxConnectionsError:"Connection limit reached, please refresh page",ipLimitError:"Connection limit reached, please refresh page",serverLimitError:"Connection limit reached, please try again later",identityError:"Failed to set user identity, please refresh page",emailError:"Failed to get user information, please refresh page",refreshPage:"Refresh page",reconnectSuccess:"Reconnect successfully",sendMessageEmpty:"Message cannot be empty",unableToSubscribe:"Connection status abnormal, please refresh the page",conflict:"Connection exception, possibly due to multiple window conflicts, please close other windows and try again",abnormal:"Connection exception",networkAnomaly:"Network connection exception",customerServiceOffline:"Customer service offline, please login to send message",contentMax:"Content exceeds the size limit, please delete some content(300 characters or less)",failInSend:"Failed to send, please try again",connectionLimitError:"Connection limit reached, please close some windows and refresh to try again",serverBusy:"Server busy, please refresh later",connectionTimedOut:"Connection timed out, please try again later",reconnectFailed:"Reconnect failed, please try again later",serviceConfigurationError:"Service configuration exception, please try again later",serviceAddressUnavailable:"Service address unavailable, please try again later",connectionFailedService:"Failed to connect to the server, please try again later",connectionFailedCustomer:"Failed to connect to the customer service system, please check the network or try again later"}}},90929:function(e,t,i){var n=i(3999)["default"];Object.defineProperty(t,"__esModule",{value:!0}),t.deleteEmail=l,t.getAddNoticeEmail=s,t.getCode=a,t.getList=r,t.getUpdateInfo=c;var o=n(i(35720));function s(e){return(0,o.default)({url:"pool/notice/addNoticeEmail",method:"post",data:e})}function a(e){return(0,o.default)({url:"pool/notice/getCode",method:"post",data:e})}function r(e){return(0,o.default)({url:"pool/notice/getList",method:"post",data:e})}function c(e){return(0,o.default)({url:"pool/notice/updateInfo",method:"post",data:e})}function l(e){return(0,o.default)({url:"pool/notice/deleteEmail",method:"delete",data:e})}},91621:function(e,t,i){e.exports=i.p+"img/personal.dccd7ff6.svg"},94045:function(e,t,i){e.exports=i.p+"img/DGB.12066a7e.svg"},94158:function(e,t,i){e.exports=i.p+"img/rxd.e5ec03d4.png"},95194:function(e,t,i){e.exports=i.p+"img/currency-nexa.8d3a28b9.png"},97223:function(e,t,i){i.r(t),i.d(t,{__esModule:function(){return o.B},default:function(){return c}});var n=i(52217),o=i(8643),s=o.A,a=i(81656),r=(0,a.A)(s,n.XX,n.Yp,!1,null,"43751b68",null),c=r.exports},97390:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.showTooltip,expression:"showTooltip"}],ref:"tooltip",staticClass:"m-tooltip",style:`max-width: ${e.maxWidth}PX; top: ${e.top}PX; left: ${e.left}PX;`,on:{mouseenter:e.onShow,mouseleave:e.onHide}},[t("div",{staticClass:"u-tooltip-content"},[e._t("default",(function(){return[e._v("暂无内容")]}))],2),t("div",{staticClass:"u-tooltip-arrow"})])])},t.Yp=[]},99047:function(e,t,i){Object.defineProperty(t,"B",{value:!0}),t.A=void 0,i(44114),i(18111),i(20116);t.A={data(){return{menuList:[{path:"userManagement",label:"backendSystem.userManagement",icon:"el-icon-user",id:"2"},{path:"workOrderBackend",label:"backendSystem.workOrder",icon:"el-icon-document-copy",id:"3"},{path:"documentManagement",label:"backendSystem.documentManagement",icon:"el-icon-folder-opened",id:"4",children:[{path:"broadcast",label:"backendSystem.broadcast",icon:"el-icon-bell",id:"4-1"},{path:"documentManagement",label:"backendSystem.publishArticle",icon:"el-icon-edit-outline",id:"4-2"}]}],activeIndex:"0"}},mounted(){const e=this.$i18n.locale,t=this.$route.path.replace(`/${e}/`,""),i=this.menuList.find((e=>e.path===t));if(i)this.activeIndex=i.id,this.$addStorageEvent(1,"activeIndex",i.id);else{const e=localStorage.getItem("activeIndex");e?this.activeIndex=e:this.$addStorageEvent(1,"activeIndex",this.activeIndex)}},methods:{handleClick(e){console.log(e,"item");const t=this.$i18n.locale;this.$router.push(`/${t}/${e.path}`),this.activeIndex=e.id,this.$addStorageEvent(1,"activeIndex",e.id)}},beforeDestroy(){localStorage.removeItem("activeIndex")}}},99945:function(e,t){t.Yp=t.XX=void 0;t.XX=function(){var e=this,t=e._self._c;return e.jurisdiction&&"back_admin"===e.jurisdiction.roleKey?t("BackAdminLayout"):t("el-container",{staticClass:"containerApp",staticStyle:{width:"100vw",height:"100vh"}},[t("el-header",{staticClass:"el-header"},[e.$isMobile?t("MoveHead"):t("comHeard")],1),t("el-main",{staticClass:"el-main"},[t("appMain")],1)],1)},t.Yp=[]}}]); \ No newline at end of file diff --git a/mining-pool/test/js/app-45954fd3.14032da4.js b/mining-pool/test/js/app-45954fd3.14032da4.js new file mode 100644 index 0000000..20da4f1 --- /dev/null +++ b/mining-pool/test/js/app-45954fd3.14032da4.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[259],{4447:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(17713));e.A={name:"Announcements",mixins:[a.default]}},4710:function(t,e,s){Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114),s(18111),s(22489),s(20116),s(7588),s(61701),s(18237),s(13579);var i=s(51775),a=s(92500);e.A={name:"CustomerServiceChat",data(){return{searchText:"",inputMessage:"",currentContactId:null,previewVisible:!1,previewImageUrl:"",contacts:[],messages:{},messagesLoading:!1,sending:!1,loadingRooms:!0,stompClient:null,wsConnected:!1,userEmail:"",userType:2,loadingHistory:!1,userViewHistory:!1,userScrolled:!1,history7Params:{id:"",roomId:"",userType:2,email:""},historyAllParams:{id:"",roomId:"",userType:2},receiveUserType:"",manualCreatedRooms:[],chatRooms:[],isWebSocketConnected:!1,connectionStatus:"disconnected",isLoadingMoreContacts:!1,lastContactTime:null,showScrollButton:!1,visibilityHandler:null,reconnectTimer:null,maxReconnectAttempts:5,reconnectInterval:5e3,reconnectAttempts:0,isHandlingError:!1,lastErrorTime:0,lastActivityTime:Date.now(),activityCheckInterval:null,activityEvents:null,activityHandler:null,connectionVerifyTimer:null,connectionVerifyTimeout:6e4,isConnectionVerified:!1,heartbeatInterval:null,heartbeatTimeout:3e4,lastHeartbeatTime:0,connectionCheckInterval:null,connectionCheckTimeout:6e4,hasMoreHistory:!0,noMoreHistoryMessage:"",networkStatus:"online",token:""}},computed:{filteredContacts(){return this.searchText?this.contacts.filter((t=>t.name.toLowerCase().includes(this.searchText.toLowerCase()))):this.contacts},currentContact(){return this.contacts.find((t=>t.roomId===this.currentContactId))},currentMessages(){return this.messages[this.currentContactId]||[]}},watch:{token:{handler(t){t||(console.log("token已过期,断开所有窗口连接"),localStorage.setItem("cs_disconnect_all",Date.now().toString()),this.disconnectWebSocket())},deep:!0,immediate:!0}},created(){try{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t)})),this.fetchRoomList(),this.loadManualCreatedRooms(),console.log("mounted userEmail=",t,"parsed=",this.userEmail),this.initWebSocket()}catch(t){console.error("初始化失败:",t)}},mounted(){this.fetchRoomList();let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t);let e=localStorage.getItem("token");this.token=JSON.parse(e),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t);let e=localStorage.getItem("token");this.token=JSON.parse(e)})),window.addEventListener("online",this.handleNetworkChange),window.addEventListener("offline",this.handleNetworkChange),this.$nextTick((()=>{this.$refs.messageContainer&&this.$refs.messageContainer.addEventListener("scroll",this.handleScroll)})),this.$nextTick((()=>{const t=document.querySelector(".cs-contacts");t&&t.addEventListener("scroll",this.handleContactListScroll)})),this.visibilityHandler=()=>{"visible"===document.visibilityState?(console.log("🔍 客服页面重新可见,执行连接状态检查"),this.updateLastActivityTime(),this.performConnectionCheck(),"connected"===this.connectionStatus&&this.isWebSocketConnected?(console.log("✅ 客服页面可见,连接状态正常"),this.heartbeatInterval||this.startHeartbeat(),this.connectionCheckInterval||this.startConnectionCheck()):(console.log("🔄 客服页面可见,检测到连接异常,开始重连"),this.checkAndReconnect())):console.log("📱 客服页面变为隐藏状态")},document.addEventListener("visibilitychange",this.visibilityHandler),this.startActivityCheck(),this.activityEvents=["mousedown","mousemove","keypress","scroll","touchstart","click"],this.activityHandler=()=>{this.updateLastActivityTime()},this.activityEvents.forEach((t=>{document.addEventListener(t,this.activityHandler,!0)})),window.addEventListener("storage",this.handleStorageChange)},methods:{handleKeyDown(t){if("Enter"===t.key)if(t.ctrlKey){const e=t.target,s=e.value,i=e.selectionStart,a=e.selectionEnd;e.value=s.substring(0,i)+"\n"+s.substring(a),e.selectionStart=e.selectionEnd=i+1,t.preventDefault()}else t.preventDefault(),this.sendMessage()},initWebSocket(){if(this.isWebSocketConnected)console.log("WebSocket已连接,跳过初始化");else if(console.log("走这里了嘛 家电节爱哦都觉得久啊是哦大点击"),this.stompClient&&"DISCONNECTED"!==this.stompClient.state)console.log("WebSocket正在连接中,跳过初始化");else try{this.stompClient&&this.forceDisconnectAll(),console.log("开始初始化WebSocket连接...");const t="https://test.m2pool.com/api/".replace("https","wss"),e=`${t}chat/ws`;this.stompClient=a.Stomp.client(e),this.stompClient.splitLargeFrames=!0,this.stompClient.maxWebSocketFrameSize=16777216,this.stompClient.maxWebSocketMessageSize=16777216,this.stompClient.webSocketFactory=()=>{const t=new WebSocket(e);return t.binaryType="arraybuffer",t},this.stompClient.debug=t=>{(t.includes("CONNECTED")||t.includes("DISCONNECTED")||t.includes("ERROR"))&&console.log("[客服系统]",t)},this.userType=2;const s={email:this.userEmail,type:this.userType};this.stompClient.onStompError=t=>{console.error("[客服系统] STOMP 错误:",t),this.handleSocketError(t.headers?.message||t.body)},this.stompClient.connect(s,(t=>{console.log("🎉 [客服系统] WebSocket 连接成功",t),this.isWebSocketConnected=!0,this.connectionStatus="connected",this.reconnectAttempts=0,this.isConnectionVerified=!1,this.lastHeartbeatTime=Date.now(),console.log("🔗 开始订阅客服消息..."),this.subscribeToMessages(),this.updateLastActivityTime(),console.log("✅ 连接成功,只使用 STOMP 内置心跳机制"),console.log("⚡ 客服连接成功,等待订阅完成后验证")}),(t=>{console.error("[客服系统] WebSocket 错误:",t),this.handleSocketError(t)})),this.stompClient.heartbeat.outgoing=2e4,this.stompClient.heartbeat.incoming=2e4}catch(t){console.error("初始化 CustomerService WebSocket 失败:",t),this.handleDisconnect()}},subscribeToMessages(){if(this.stompClient&&this.isWebSocketConnected)try{console.log("开始订阅客服消息频道:",`/sub/queue/customer/${this.userEmail}`);const t=this.stompClient.subscribe(`/sub/queue/customer/${this.userEmail}`,this.handleIncomingMessage),e=this.stompClient.subscribe(`/sub/queue/close/room/${this.userEmail}`,this.handleRoomClose);t&&e?(console.log("✅ CustomerService 成功订阅消息频道:",`/sub/queue/customer/${this.userEmail}`),console.log("✅ CustomerService 成功订阅关闭消息频道:",`/sub/queue/close/room/${this.userEmail}`),console.log("📢 客服订阅成功,立即标记连接已验证"),this.markConnectionVerified(),this.isWebSocketConnected=!0,this.connectionStatus="connected",console.log("✅ 强制设置连接状态为已连接")):(console.error("❌ 客服订阅失败,返回空subscription"),this.startConnectionVerification())}catch(t){console.error("❌ CustomerService 订阅消息异常:",t),this.startConnectionVerification()}else console.log("STOMP客户端未连接,无法订阅消息")},handleRoomClose(t){try{const e=t.body,s=t=>t?("object"===typeof t&&"value"in t&&(t=t.value),t=String(t).trim().toLowerCase(),t=t.replace(/^['"]+|['"]+$/g,""),t):"",i=s(e),a=this.contacts.findIndex((t=>{const e=s(t.name);return e===i}));if(-1!==a){this.currentContactId===this.contacts[a].roomId&&(this.currentContactId=null),this.contacts.splice(a,1),this.$delete(this.messages,this.contacts[a].roomId);const t=this.manualCreatedRooms.findIndex((t=>t.name===e));-1!==t&&(this.manualCreatedRooms.splice(t,1),this.saveManualCreatedRooms()),console.log(`聊天室 ${e} 已关闭`)}}catch(e){console.error("处理聊天室关闭消息失败:",e)}},disconnectWebSocket(){if(this.stompClient)try{this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((t=>{this.stompClient.unsubscribe(t)})),this.stompClient.deactivate(),this.isWebSocketConnected=!1,this.connectionStatus="disconnected"}catch(t){console.error("断开 CustomerService WebSocket 连接失败:",t)}},parseSocketError(t){let e="";if(e="string"===typeof t?t:t&&"object"===typeof t?t.message||t.body||t.headers?.message||String(t):String(t||""),e.includes(",")){const t=e.split(","),s=t[0].trim(),i=t.slice(1).join(",").trim();return{code:s,message:i}}const s=e.match(/(\d{4})/);return s?{code:s[1],message:e}:{code:"",message:e}},async handleSocketError(t){const e=Date.now();if(this.isHandlingError||e-this.lastErrorTime<5e3)console.log("正在处理错误或错误处理间隔太短,跳过此次错误处理");else{this.isHandlingError=!0,this.lastErrorTime=e;try{const{code:e,message:s}=this.parseSocketError(t);switch(console.log("解析的错误信息:",{code:e,message:s}),e){case"1020":await this.handleConnectionLimitError();break;case"1021":this.handleServerLimitError(s);break;case"1022":this.handlePrincipalError(s);break;case"1023":this.handlePrincipalError(s);break;default:s.includes("连接数已达上限")||s.includes("本机连接数已达上限")?await this.handleConnectionLimitError():this.handleDisconnect();break}}catch(s){console.error("处理Socket错误时发生异常:",s),this.handleDisconnect()}finally{setTimeout((()=>{this.isHandlingError=!1}),2e3)}}},async handleConnectionLimitError(){console.log("检测到连接数上限错误,开始强制断开并重连..."),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.isWebSocketConnected=!1,this.connectionStatus="error",console.log("💡 检测到连接数上限,后台自动重连中...");try{this.forceDisconnectAll(),await new Promise((t=>setTimeout(t,3e3))),console.log("尝试重新连接..."),await this.initWebSocket(),this.isWebSocketConnected?console.log("✅ 客服连接已自动恢复正常"):console.error("❌ 客服连接重连失败")}catch(t){console.error("处理连接数上限错误失败:",t)}},handleServerLimitError(t){this.isWebSocketConnected=!1,this.connectionStatus="error",console.log("服务器连接数已达上限"),console.error("服务器繁忙,连接数已达上限"),this.reconnectTimer&&clearTimeout(this.reconnectTimer)},handlePrincipalError(t){this.isWebSocketConnected=!1,this.connectionStatus="error",console.log("用户身份验证失败:",t),console.error("身份验证失败:",t),this.reconnectTimer&&clearTimeout(this.reconnectTimer)},startConnectionVerification(){if(console.log("🔍 启动客服连接验证机制(被动验证)..."),console.log("当前连接状态:",this.connectionStatus),console.log("当前WebSocket连接状态:",this.isWebSocketConnected),console.log("当前STOMP连接状态:",this.stompClient?.connected),this.isConnectionVerified=!1,this.clearConnectionVerifyTimer(),"connected"===this.connectionStatus&&this.isWebSocketConnected&&this.stompClient?.connected)return console.log("✅ 客服连接状态良好,立即标记为已验证"),void this.markConnectionVerified();this.connectionVerifyTimer=setTimeout((()=>{this.isConnectionVerified||(console.log("⏰ 客服连接验证超时(1分钟),当前状态:",this.connectionStatus),console.log("WebSocket连接状态:",this.isWebSocketConnected),console.log("STOMP连接状态:",this.stompClient?.connected),console.log("连接可能不可用"),this.handleConnectionVerificationFailure())}),this.connectionVerifyTimeout),console.log("⏲️ 已设置客服1分钟验证超时定时器")},markConnectionVerified(){this.isConnectionVerified?console.log("🔄 客服连接已经验证过了,跳过重复验证"):(console.log("🎉 客服连接验证成功!清除验证定时器"),this.isConnectionVerified=!0,this.clearConnectionVerifyTimer(),"connected"!==this.connectionStatus&&(console.log("📡 修正客服连接状态为connected"),this.connectionStatus="connected"))},handleConnectionVerificationFailure(){console.log("连接验证失败,连接可能无法正常收发消息");const t=Date.now();this.isHandlingError&&t-this.lastErrorTime<5e3?console.log("正在处理错误中,跳过重复处理"):(this.isHandlingError=!0,this.lastErrorTime=t,this.clearConnectionVerifyTimer(),this.isWebSocketConnected=!1,this.connectionStatus="error",setTimeout((()=>{if(console.log("连接验证失败,开始重新连接..."),this.isHandlingError=!1,this.stompClient)try{this.stompClient.disconnect()}catch(t){console.warn("断开连接时出错:",t)}this.initWebSocket().catch((t=>{console.error("重新连接失败:",t),this.isHandlingError=!1}))}),2e3))},async checkAndEnsureConnection(){return console.log("🔍 检查客服连接状态..."),this.updateLastActivityTime(),this.stompClient?this.stompClient.connected?this.stompClient.ws&&this.stompClient.ws.readyState!==WebSocket.OPEN?(console.log("❌ WebSocket底层连接异常,需要重新连接"),await this.reconnectForSend()):this.isWebSocketConnected&&"connected"===this.connectionStatus?(console.log("✅ 客服连接状态良好"),!0):(console.log("❌ 应用层连接状态异常,需要重新连接"),await this.reconnectForSend()):(console.log("❌ STOMP连接已断开,需要重新连接"),await this.reconnectForSend()):(console.log("❌ STOMP客户端不存在,需要重新连接"),await this.reconnectForSend())},async reconnectForSend(){try{return console.log("🔄 开始为发送消息重新连接..."),this.connectionStatus="connecting",this.forceDisconnectAll(),await new Promise((t=>setTimeout(t,1e3))),await this.initWebSocket(),this.isWebSocketConnected&&"connected"===this.connectionStatus?(console.log("✅ 重连成功"),!0):(console.log("❌ 重连失败"),console.error("❌ 重连失败"),!1)}catch(t){return console.error("重连过程异常:",t),console.error("❌ 连接异常"),!1}},isConnectionError(t){if(!t)return!1;const e=t.message||t.toString();return e.includes("ExecutorSubscribableChannel")||e.includes("NullPointerException")||e.includes("Failed to send message")||e.includes("connection")||e.includes("disconnect")||e.includes("websocket")||e.includes("STOMP")},async handleConnectionErrorInSend(t){console.log("🚨 发送消息时检测到连接错误:",t.message),console.log("🔄 连接已断开,正在重新连接..."),this.isWebSocketConnected=!1,this.connectionStatus="connecting";try{const t=await this.reconnectForSend();t&&console.log("✅ 发送消息时自动重连成功")}catch(e){console.error("🔄 客服自动重连失败:",e),this.connectionStatus="error"}},clearConnectionVerifyTimer(){this.connectionVerifyTimer?(console.log("🧹 清除客服连接验证定时器"),clearTimeout(this.connectionVerifyTimer),this.connectionVerifyTimer=null):console.log("🔍 没有需要清除的客服验证定时器")},startHeartbeat(){console.log("💓 启动客服心跳检测..."),this.stopHeartbeat(),this.heartbeatInterval=setInterval((()=>{this.isWebSocketConnected&&this.stompClient?.connected?this.sendHeartbeat():(console.warn("💔 客服心跳检测发现连接异常"),this.handleHeartbeatFailure())}),this.heartbeatTimeout),console.log(`💓 客服心跳检测已启动,间隔: ${this.heartbeatTimeout/1e3}秒`)},stopHeartbeat(){this.heartbeatInterval&&(console.log("💔 停止客服心跳检测"),clearInterval(this.heartbeatInterval),this.heartbeatInterval=null)},sendHeartbeat(){try{if(!this.stompClient?.connected)return console.warn("💔 STOMP未连接,无法发送心跳"),void this.handleHeartbeatFailure();this.stompClient.ws&&this.stompClient.ws.readyState===WebSocket.OPEN?(this.lastHeartbeatTime=Date.now(),this.updateLastActivityTime()):(console.warn("💔 WebSocket底层连接异常"),this.handleHeartbeatFailure())}catch(t){console.error("💔 客服心跳检测异常:",t),this.handleHeartbeatFailure()}},handleHeartbeatFailure(){console.warn("💔 客服心跳失败,开始重连..."),this.stopHeartbeat(),this.isWebSocketConnected=!1,this.connectionStatus="error",this.handleDisconnect()},startConnectionCheck(){console.log("🔍 启动客服连接状态检查..."),this.stopConnectionCheck(),this.connectionCheckInterval=setInterval((()=>{this.performConnectionCheck()}),this.connectionCheckTimeout),console.log(`🔍 客服连接状态检查已启动,间隔: ${this.connectionCheckTimeout/1e3}秒`)},stopConnectionCheck(){this.connectionCheckInterval&&(console.log("🔍 停止客服连接状态检查"),clearInterval(this.connectionCheckInterval),this.connectionCheckInterval=null)},performConnectionCheck(){const t=Date.now(),e=t-this.lastHeartbeatTime;return this.stompClient&&this.stompClient.connected&&this.isWebSocketConnected?e>18e4?(console.warn("🚨 客服连接状态检查:心跳超时"),void this.handleConnectionFailure("心跳超时")):this.stompClient.ws&&this.stompClient.ws.readyState!==WebSocket.OPEN?(console.warn("🚨 客服连接状态检查:WebSocket底层连接异常"),void this.handleConnectionFailure("WebSocket底层连接异常")):void 0:(console.warn("🚨 客服连接状态检查:基本连接异常"),void this.handleConnectionFailure("基本连接状态异常"))},handleConnectionFailure(t){console.warn(`🚨 客服连接失败: ${t}`);const e=Date.now();this.isHandlingError&&e-this.lastErrorTime<1e4?console.log("正在处理连接失败,跳过重复处理"):(this.isHandlingError=!0,this.lastErrorTime=e,this.stopHeartbeat(),this.stopConnectionCheck(),this.isWebSocketConnected=!1,this.connectionStatus="error",setTimeout((()=>{this.isHandlingError=!1,this.handleDisconnect()}),1e3))},forceDisconnectAll(){try{if(console.log("开始强制断开所有连接..."),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.clearConnectionVerifyTimer(),this.stopHeartbeat(),this.stopConnectionCheck(),this.stompClient){this.stompClient.subscriptions&&Object.keys(this.stompClient.subscriptions).forEach((t=>{try{this.stompClient.unsubscribe(t)}catch(e){console.log("取消订阅失败:",e)}}));try{this.stompClient.deactivate()}catch(t){console.log("断开连接失败:",t)}setTimeout((()=>{this.stompClient=null}),100)}this.isWebSocketConnected=!1,this.connectionStatus="disconnected",console.log("已强制断开所有连接")}catch(t){console.error("强制断开连接失败:",t),this.stompClient=null}},handleDisconnect(){this.isHandlingError?console.log("正在处理特殊错误,跳过普通断开处理"):(this.clearConnectionVerifyTimer(),this.stopHeartbeat(),this.stopConnectionCheck(),this.isWebSocketConnected=!1,this.connectionStatus="error",this.isConnectionVerified=!1,this.reconnectAttempts{this.isWebSocketConnected||this.isHandlingError||this.initWebSocket()}),this.reconnectInterval)):(console.log("❌ 达到最大重连次数,停止自动重连"),console.error("❌ 达到最大重连次数,连接失败")))},async checkAndReconnect(){this.isWebSocketConnected||(console.log("页面恢复可见,尝试重新连接..."),await this.initWebSocket())},startActivityCheck(){this.activityCheckInterval=setInterval((()=>{const t=Date.now(),e=t-this.lastActivityTime;e>144e5&&(console.log("客服系统:4小时无活动,断开连接防止僵尸连接"),this.disconnectWebSocket()),e>18e5&&e%18e5<6e4&&console.log(`客服系统:已无活动 ${Math.floor(e/6e4)} 分钟,连接状态:${this.connectionStatus}`)}),6e4)},updateLastActivityTime(){this.lastActivityTime=Date.now()},getUTCTime(){const t=new Date;return new Date(t.getTime()+6e4*t.getTimezoneOffset())},async sendMessage(){if("online"!==this.networkStatus)return void this.$message({message:this.$t("chat.networkError")||"网络连接已断开,无法发送消息",type:"error",showClose:!0});if(!this.inputMessage.trim()||!this.currentContact||this.sending)return;const t=this.inputMessage.trim();this.inputMessage="",this.sending=!0;try{const e=await this.checkAndEnsureConnection();if(!e)return console.log("客服连接检查失败,无法发送消息"),this.sending=!1,void(this.inputMessage=t);const s=void 0!==this.currentContact.sendUserType?this.currentContact.sendUserType:1,i={content:t,type:1,email:this.currentContact.name,receiveUserType:s,roomId:this.currentContactId};this.stompClient.send("/point/send/message/to/user",{},JSON.stringify(i));const a=(new Date).toISOString(),n=`local_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;console.log("📤 发送消息 - 立即添加到本地:",{currentContactId:this.currentContactId,currentContactName:this.currentContact?.name,messageContent:t,currentTime:a,localMessageId:n}),this.addMessageToChat({id:n,sender:this.$t("chat.my")||"我",avatar:"iconfont icon-icon28",content:t,time:a,isSelf:!0,isImage:!1,type:1,roomId:this.currentContactId,isLocalMessage:!0},!0),this.updateContactLastMessage({roomId:this.currentContactId,content:t,isImage:!1,time:a});const o=this.contacts.find((t=>t.roomId===this.currentContactId));o&&(o.unread=0),this.sending=!1,this.$nextTick((()=>{this.scrollToBottom()}))}catch(e){if(console.error("客服发送消息失败:",e),this.sending=!1,this.isConnectionError(e))console.log("检测到客服连接错误,开始重连..."),this.handleConnectionErrorInSend(e);else{const{code:t}=this.parseSocketError(e);if(["1020","1021","1022","1023"].includes(t))return;console.error("💬 客服发送消息错误详情:",e),e.message&&(e.message.includes("connection")||e.message.includes("WebSocket")||e.message.includes("STOMP"))?console.log("🔄 发送失败,触发自动重连机制"):(console.error("💬 发送消息失败,需要用户重试"),this.$message.error(this.$t("chat.failInSend")||"发送失败,请重试"))}}},formatMessageContent(t){return t?t.replace(/\n/g,"
                      "):""},subscribeToPersonalMessages(){this.stompClient&&this.wsConnected&&this.stompClient.subscribe(`/user/queue/${this.userEmail}`,this.handleIncomingMessage)},async handleIncomingMessage(t){try{console.log("🎉 客服收到消息,标记连接已验证"),this.markConnectionVerified(),this.updateLastActivityTime(),this.lastHeartbeatTime=Date.now(),this.isWebSocketConnected=!0,this.connectionStatus="connected";const e=JSON.parse(t.body);console.log("客服收到的消息",e);const s=e.createTime||e.sendTime;let i;i=s?"string"===typeof s&&s.includes("T")?s:"number"===typeof s||/^\d+$/.test(s)?new Date(parseInt(s)).toISOString():new Date(s).toISOString():(new Date).toISOString();const a={id:e.id,sender:e.sendUserType===this.userType&&e.sendEmail===this.userEmail?this.$t("chat.my")||"我":e.sendEmail||this.$t("chat.unknownSender")||"未知发送者",avatar:2===e.sendUserType?"iconfont icon-icon28":"iconfont icon-user",content:e.content,time:i,isSelf:e.sendUserType===this.userType&&e.sendEmail===this.userEmail,isImage:2===e.type,type:e.type,roomId:e.roomId,sendUserType:e.sendUserType,isCreate:e.isCreate,clientReadNum:e.clientReadNum};if(a.isSelf){const t=this.messages[a.roomId]||[],e=t.findIndex((t=>{if(!t.isLocalMessage||t.content!==a.content)return!1;const e=new Date(t.time).getTime(),s=new Date(a.time).getTime(),i=Math.abs(s-e);return i<3e4}));if(-1!==e)return void this.$set(t,e,{...t[e],id:a.id,time:a.time,isLocalMessage:!1});const s=this.checkDuplicateMessage(a);if(s)return}const n=this.contacts.find((t=>t.roomId===a.roomId));if(n)n.lastMessage=a.isImage?this.$t("chat.picture2")||"[图片]":a.content,n.lastTime=a.time;else{const t={roomId:a.roomId,name:a.sender,lastMessage:a.isImage?this.$t("chat.picture2")||"[图片]":a.content,lastTime:a.time,unread:a.isSelf?0:1,important:!1,isGuest:0===e.sendUserType,sendUserType:a.sendUserType,isManualCreated:!0};this.contacts.push(t),this.$set(this.messages,a.roomId,[])}if(this.messages[a.roomId]||this.$set(this.messages,a.roomId,[]),this.messages[a.roomId].push({id:a.id,sender:a.sender,avatar:a.avatar,content:a.content,time:a.time,isSelf:a.isSelf,isImage:a.isImage,type:a.type,roomId:a.roomId}),this.needsResort(this.messages[a.roomId])&&(this.messages[a.roomId]=this.sortMessages(this.messages[a.roomId])),a.roomId===this.currentContactId)if(this.userViewHistory){const t=this.contacts.find((t=>t.roomId===a.roomId));t&&(t.unread=a.clientReadNum||t.unread+1||1,this.setUnreadCount(a.roomId,t.unread))}else await this.markMessagesAsRead(a.roomId);else if(!a.isSelf){const t=this.contacts.find((t=>t.roomId===a.roomId));t&&(t.unread=a.clientReadNum||t.unread+1||1,this.setUnreadCount(a.roomId,t.unread))}this.sortContacts()}catch(e){console.error("处理新消息失败:",e)}},handleContactListScroll(t){const e=t.target;e.scrollHeight-e.scrollTop-e.clientHeight<2&&this.loadMoreContacts()},async loadMoreContacts(){if(this.isLoadingMoreContacts)return;const t=this.contacts[this.contacts.length-1];if(t){this.isLoadingMoreContacts=!0;try{const e=t=>{if(!t)return null;const e=new Date(t),s=e.getFullYear(),i=String(e.getMonth()+1).padStart(2,"0"),a=String(e.getDate()).padStart(2,"0"),n=String(e.getHours()).padStart(2,"0"),o=String(e.getMinutes()).padStart(2,"0"),r=String(e.getSeconds()).padStart(2,"0");return`${s}-${i}-${a} ${n}:${o}:${r}`},s={sendDateTime:e(t.lastTime),userType:2,email:this.userEmail},a=await(0,i.getRoomList)(s);if(200===a?.code){const t=a.rows.map((t=>{const e=this.contacts.find((e=>e.roomId===t.id)),s=this.manualCreatedRooms.find((e=>e.roomId===t.id)),i=1===t.flag||0!==t.flag&&(1===t.important||!!e&&e.important),a=t.lastUserSendTime;let n;return n=a?"string"===typeof a&&a.includes("T")?a:"number"===typeof a||/^\d+$/.test(a)?new Date(parseInt(a)).toISOString():new Date(a).toISOString():(new Date).toISOString(),{roomId:t.id,name:t.userEmail||this.$t("chat.Unnamed")||"未命名聊天室",avatar:this.getDefaultAvatar(t.roomName||this.$t("chat.Unnamed")||"未命名聊天室"),lastMessage:t.lastMessage||(e?e.lastMessage:this.$t("chat.noNewsAtTheMoment")||"暂无消息"),lastTime:n,unread:e?.unread??t.clientReadNum??0,important:i,isManualCreated:!!s,sendUserType:t.sendUserType,isGuest:0===t.sendUserType}})),e=t.filter((t=>!this.contacts.some((e=>e.roomId===t.roomId))));e.length>0&&(this.contacts=[...this.contacts,...e],this.sortContacts())}else this.$message({message:this.$t("chat.contactFailed")||"加载更多联系人失败",type:"error",duration:3e3,showClose:!0})}catch(e){console.error("5858",e)}finally{this.isLoadingMoreContacts=!1}}},handleNewChatRoom(t){const e=this.contacts.find((e=>e.roomId===t.roomId));if(!e){const e={roomId:t.roomId,name:t.sender,lastMessage:t.isImage?this.$t("chat.picture2")||"[图片]":t.content,lastTime:t.time,unread:1,important:!1,isGuest:0===t.sendUserType,sendUserType:t.sendUserType,isManualCreated:!0,clientReadNum:t.clientReadNum};this.contacts.push(e),this.$set(this.messages,t.roomId,[]),this.messages[t.roomId].push({id:t.id,sender:t.sender,avatar:2===t.sendUserType?"iconfont icon-icon28":"iconfont icon-user",content:t.content,time:t.time,isSelf:!1,isImage:2===t.type,type:t.type,roomId:t.roomId}),this.needsResort(this.messages[t.roomId])&&(this.messages[t.roomId]=this.sortMessages(this.messages[t.roomId])),this.manualCreatedRooms.push(e),this.saveManualCreatedRooms(),this.sortContacts()}},saveManualCreatedRooms(){localStorage.setItem("manualCreatedRooms",JSON.stringify(this.manualCreatedRooms))},async loadManualCreatedRooms(){try{const t=localStorage.getItem("manualCreatedRooms");if(t){this.manualCreatedRooms=JSON.parse(t);for(const t of this.manualCreatedRooms){const e=this.contacts.find((e=>e.roomId===t.roomId));e||(this.contacts.push({...t,lastTime:t.lastTime||(new Date).toISOString()}),this.messages[t.roomId]||(this.$set(this.messages,t.roomId,[]),await this.loadMessages(t.roomId)))}this.sortContacts()}}catch(t){console.error("加载手动创建的聊天室失败:",t)}},async createNewChatRoom(t){try{const e=await createChatRoom({userEmail:t.sender,userType:t.sendUserType});if(e&&200===e.code){const s={userEmail:t.sender,roomId:e.data.roomId,lastMessage:t.content,lastMessageTime:t.time,unreadCount:t.clientReadNum||0,userType:t.sendUserType};return this.chatRooms.unshift(s),s}}catch(e){throw console.error("创建新聊天室失败:",e),e}},updateChatRoomList(t){const e=this.chatRooms.findIndex((e=>e.roomId===t.roomId));if(-1!==e){this.chatRooms[e]={...this.chatRooms[e],lastMessage:t.content,lastMessageTime:t.time,unreadCount:t.clientReadNum||this.chatRooms[e].unreadCount};const s=this.chatRooms.splice(e,1)[0];this.chatRooms.unshift(s)}},async markMessagesAsRead(t=this.currentContactId){if(t)try{const e={roomId:t,userType:2},s=await(0,i.getReadMessage)(e);if(s&&200===s.code){console.log("消息已标记为已读");const e=this.contacts.find((e=>e.roomId===t));e&&(e.unread=0,this.setUnreadCount(t,0))}else console.warn("标记消息已读失败",s)}catch(e){console.error("标记消息已读出错:",e)}},parseUTCTime(t){if(!t)return new Date;try{return new Date(t)}catch(e){return console.error("解析时间错误:",e),new Date}},async fetchRoomList(){try{this.loadingRooms=!0;const t={lastTime:null,userType:2,email:this.userEmail},e=await(0,i.getRoomList)(t);if(200===e?.code){const t=e.rows.map((t=>{const e=this.contacts.find((e=>e.roomId===t.id)),s=this.manualCreatedRooms.find((e=>e.roomId===t.id)),i=1===t.flag||0!==t.flag&&(1===t.important||!!e&&e.important),a=t.lastUserSendTime||t.createTime;let n;return n=a?"string"===typeof a&&a.includes("T")?a:"number"===typeof a||/^\d+$/.test(a)?new Date(parseInt(a)).toISOString():new Date(a).toISOString():(new Date).toISOString(),{roomId:t.id,name:t.userEmail||this.$t("chat.Unnamed")||"未命名聊天室",avatar:this.getDefaultAvatar(t.roomName||this.$t("chat.Unnamed")||"未命名聊天室"),lastMessage:t.lastMessage||(e?e.lastMessage:this.$t("chat.noNewsAtTheMoment")||"暂无消息"),lastTime:n,unread:e?.unread??t.clientReadNum??0,important:i,isManualCreated:!!s,sendUserType:t.sendUserType,isGuest:0===t.sendUserType}}));this.contacts=t,this.sortContacts()}}catch(t){if(t&&("canceled"===t.message||"Cancel"===t.message||t.message?.includes("canceled")))return;console.error("获取聊天室列表异常:",t),this.$message({message:this.$t("chat.listException")||"获取聊天室列表异常",type:"error",duration:3e3,showClose:!0})}finally{this.loadingRooms=!1}},async loadMoreHistory(){if(!this.currentContactId)return;const t=this.messages[this.currentContactId]||[];if(0===t.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");const e=this.getEarliestMessage(t);if(!e||!e.id)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");this.history7Params.id=e.id,this.history7Params.roomId=this.currentContactId,this.history7Params.email=this.userEmail;try{this.messagesLoading=!0;const t=await(0,i.getHistory7)(this.history7Params);if(!t||200!==t.code||!t.data||0===t.data.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");const e=t.data.filter((t=>t.roomId==this.currentContactId||String(t.roomId)===String(this.currentContactId)));if(0===e.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");let s=e.map((t=>({id:t.id,sender:1===t.isSelf?this.$t("chat.my")||"我":t.sendEmail||this.$t("chat.unknownSender")||"未知发送者",avatar:"iconfont icon-icon28",content:t.content,time:t.createTime,isSelf:1===t.isSelf,isImage:2===t.type,isRead:1===t.isRead,type:t.type,roomId:t.roomId})));const a=(this.messages[this.currentContactId]||[]).map((t=>t.id)),n=s.filter((t=>!a.includes(t.id)));if(0===n.length)return this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");s=this.sortMessages(n);const o=this.messages[this.currentContactId]||[];this.$set(this.messages,this.currentContactId,[...s,...o])}catch(s){console.error("加载更多历史消息失败:",s),this.$message.error(this.$t("chat.historicalFailure")||"加载更多历史消息失败")}finally{this.messagesLoading=!1}},async selectContact(t){if(this.currentContactId!==t){this.updateLastActivityTime();try{this.messagesLoading=!0,this.currentContactId=t,this.userViewHistory=!1,this.hasMoreHistory=!0,this.noMoreHistoryMessage="",this.history7Params={id:"",roomId:t,userType:2},await this.loadMessages(t),await this.markMessagesAsRead(t)}catch(e){console.error("选择联系人失败:",e),this.$message({message:this.$t("chat.loadFailed")||"加载失败",type:"error",duration:3e3,showClose:!0})}finally{this.messagesLoading=!1,this.$nextTick((()=>{this.scrollToBottom()}))}}},isAtBottom(){const t=this.$refs.messageContainer;return!t||t.scrollHeight-t.scrollTop-t.clientHeight<2},async loadMessages(t){if(t)try{console.log(this.userEmail,"加载聊天消息"),this.history7Params.email=this.userEmail,this.history7Params.roomId=t;const e=await(0,i.getHistory7)(this.history7Params);if(200===e?.code&&e.data){let s=e.data.filter((e=>e.roomId==t)).map((t=>({id:t.id,sender:1===t.isSelf?this.$t("chat.my")||"我":t.sendEmail||this.$t("chat.unknownSender")||"未知发送者",avatar:2==t.sendUserType?"iconfont icon-icon28":"iconfont icon-user",content:t.content,time:t.createTime,isSelf:1===t.isSelf,isImage:2===t.type,isRead:1===t.isRead,type:t.type,roomId:t.roomId,sendUserType:t.sendUserType})));s=this.sortMessages(s),this.$set(this.messages,t,s);const i=this.contacts.find((e=>e.roomId===t));if(i&&s.length>0){const t=s[s.length-1].time;i.lastTime=t}i&&(i.unread=0)}else this.$set(this.messages,t,[]),200!==e?.code&&this.$message({message:this.$t("chat.recordFailed")||"加载聊天记录失败",type:"error",duration:3e3,showClose:!0})}catch(e){console.error("加载消息异常:",e),this.$set(this.messages,t,[])}},checkDuplicateMessage(t){const e=this.messages[t.roomId];if(!e)return!1;if(t.id&&e.some((e=>e.id===t.id)))return console.log("🔍 发现相同ID的消息,判定为重复:",t.id),!0;const s=Date.now()-3e4,i=new Date(t.time).getTime();return e.some((e=>{if(e.isLocalMessage)return!1;if(!e.isSelf||e.content!==t.content)return!1;const a=new Date(e.time).getTime(),n=Math.abs(a-i),o=a>s,r=n<3e4;return!(!o||!r)&&(console.log("🔍 发现重复消息:",{existingTime:e.time,newTime:t.time,timeDiff:n,content:t.content.substring(0,50)}),!0)}))},addMessageToChat(t,e=!1){const s=t.roomId||this.currentContactId;this.messages[s]||this.$set(this.messages,s,[]);const i={id:t.id||Date.now(),sender:t.sender,avatar:t.avatar||(t.isSelf?"iconfont icon-icon28":"iconfont icon-user"),content:t.content,time:t.time||new Date,isSelf:t.isSelf,isImage:t.isImage||!1,type:t.type||1,roomId:s,isRead:t.isRead||!1,isLocalMessage:t.isLocalMessage||!1};this.messages[s].push(i),this.updateContactLastMessage({roomId:s,content:i.isImage?this.$t("chat.picture2")||"[图片]":i.content,isImage:i.isImage,time:i.time}),s===this.currentContactId&&(e?this.$nextTick((()=>{this.scrollToBottom(!0),this.userViewHistory=!1})):this.userViewHistory||this.$nextTick((()=>{this.scrollToBottom()})))},async handleImageUpload(t){if(!this.currentContact)return void this.$message({message:this.$t("chat.chooseFirst")||"请先选择联系人",type:"error",duration:3e3,showClose:!0});if(!this.stompClient||!this.isWebSocketConnected)return void this.$message({message:this.$t("chat.chatDisconnected")||"聊天连接已断开,请刷新页面重试",type:"error",duration:3e3,showClose:!0});const e=t.target.files[0];if(!e)return;if(!e.type.startsWith("image/"))return void this.$message({message:this.$t("chat.onlyImages")||"只能上传图片文件!",type:"error",duration:3e3,showClose:!0});const s=5242880;if(e.size>s)this.$message({message:this.$t("chat.imageTooLarge")||"图片大小不能超过5MB!",type:"error",duration:3e3,showClose:!0});else{this.sending=!0;try{console.log("📤 正在上传图片...");const t=new FormData;t.append("file",e);const s=await this.$axios({method:"post",url:"https://test.m2pool.com/api/pool/ticket/uploadFile",data:t,headers:{"Content-Type":"multipart/form-data"}});if(200!==s.data.code)throw new Error(s.data.msg||"上传失败");{const t=s.data.data.url;this.sendImageMessage(t),console.log("✅ 图片发送成功")}}catch(i){console.error("上传图片异常:",i),this.$message({message:this.$t("chat.pictureFailed")||"图片发送失败,请重试",type:"error",duration:3e3,showClose:!0})}finally{this.sending=!1,this.$refs.imageInput.value=""}}},async sendImageMessage(t){try{const e=await this.checkAndEnsureConnection();if(!e)return console.log("客服图片发送连接检查失败"),void console.error("❌ 连接异常,图片发送失败");const s={type:2,email:this.currentContact.name,receiveUserType:this.currentContact.sendUserType||1,roomId:this.currentContactId,content:t};this.stompClient.send("/point/send/message/to/user",{},JSON.stringify(s));const i=(new Date).toISOString(),a=`local_img_${Date.now()}_${Math.random().toString(36).substr(2,9)}`;console.log("📤 发送图片 - 立即添加到本地:",{currentContactId:this.currentContactId,imageUrl:t,currentTime:i,localImageId:a}),this.addMessageToChat({id:a,sender:this.$t("chat.my")||"我",avatar:"iconfont icon-icon28",content:t,time:i,isSelf:!0,isImage:!0,type:2,roomId:this.currentContactId,isLocalMessage:!0},!0),this.updateContactLastMessage({roomId:this.currentContactId,content:t,isImage:!0,time:i})}catch(e){console.error("发送图片消息失败:",e),this.isConnectionError(e)?(console.log("图片发送时检测到连接错误,开始重连..."),this.handleConnectionErrorInSend(e)):(console.error("💬 图片发送失败,需要用户重试"),this.$message.error(this.$t("chat.pictureFailed")||"发送图片消息失败,请重试"))}},updateContactLastMessage(t){let e=this.contacts.find((e=>e.roomId===t.roomId));if(e||"string"!==typeof t.roomId||(e=this.contacts.find((e=>e.name&&e.name.includes(t.roomId)||e.roomId&&e.roomId.includes(t.roomId)))),e){const s=e.lastTime,i=t.time||(new Date).toISOString();e.lastMessage=t.isImage?this.$t("chat.picture2")||"[图片]":t.content,e.lastTime=i,console.log("⚡ updateContactLastMessage - 执行时间更新:",{contactName:e.name,roomId:t.roomId,oldTime:s,newTime:i,messageTime:t.time,isImage:t.isImage,contactsTotal:this.contacts.length}),this.$set(e,"lastTime",i),this.$set(e,"lastMessage",e.lastMessage),this.sortContacts(),this.$nextTick((()=>{this.$forceUpdate()}))}else console.error("❌ updateContactLastMessage - 未找到联系人:",{searchRoomId:t.roomId,messageContent:t.content,allContacts:this.contacts.map((t=>({roomId:t.roomId,name:t.name,lastTime:t.lastTime})))})},incrementUnreadCount(t,e=1){const s=this.contacts.find((e=>e.roomId===t));s&&(s.unread=e>1?e:(s.unread||0)+1)},previewImage(t){this.previewImageUrl=t,this.previewVisible=!0},async toggleImportant(t,e){if(t)try{const s=await(0,i.getUpdateRoom)({id:t,flag:e?1:0});if(s&&200===s.code){const s=this.contacts.find((e=>e.roomId===t));s&&(s.important=e),this.sortContacts(),console.log(e?"✅ 已标记为重要聊天":"✅ 已取消重要标记")}else this.$message({message:s?.msg||this.$t("chat.markingFailed")||"标记操作失败",type:"error",duration:3e3,showClose:!0})}catch(s){console.error("标记聊天状态异常:",s)}},parseTimeForSort(t){if(!t)return Date.now();let e;if("string"===typeof t){let s=t;s.includes("Z")||s.includes("+")||s.includes("-")||(s+="Z"),e=new Date(s).getTime()}else e=t instanceof Date?t.getTime():Date.now();return isNaN(e)&&(e=Date.now()),e},fixContactTimes(){this.contacts.forEach((t=>{if(!t.lastTime){const e=(new Date).toISOString();console.warn("🔧 修复联系人空时间:",{contactName:t.name,roomId:t.roomId,fixedTime:e}),this.$set(t,"lastTime",e)}}))},sortContacts(){this.fixContactTimes(),this.contacts=this.sortContactsByTime(this.contacts)},scrollToBottom(t=!1){const e=this.$refs.messageContainer;e&&this.$nextTick((()=>{setTimeout((()=>{const s={top:e.scrollHeight,behavior:t?"auto":"smooth"};try{e.scrollTo(s)}catch(i){e.scrollTop=e.scrollHeight}t&&(this.showScrollButton=!1)}),100)}))},showMessageTime(t){if(0===t)return!0;const e=this.currentMessages[t],s=this.currentMessages[t-1];if(!e.time||!s.time)return!1;const i=new Date(e.time).getTime(),a=new Date(s.time).getTime(),n=(i-a)/6e4;return n>5},formatTime(t){if(!t)return"";let e="";if("string"===typeof t&&t.includes("T"))e=t;else if(t instanceof Date)e=t.toISOString();else if("number"===typeof t||/^\d+$/.test(t))try{const s=new Date(parseInt(t));if(isNaN(s.getTime()))return String(t);e=s.toISOString()}catch(d){return String(t)}else try{const s=new Date(t);if(isNaN(s.getTime()))return String(t);e=s.toISOString()}catch(d){return String(t)}const[s,i]=e.split("T");if(!i)return e;const[a,n]=i.split(":"),o=new Date,r=o.toISOString().split("T")[0],l=s;if(r===l)return`UTC ${this.$t("chat.today")} ${a}:${n}`;const c=new Date(Date.now()-864e5).toISOString().split("T")[0];return c===l?`UTC ${this.$t("chat.yesterday")} ${a}:${n}`:`UTC ${s} ${a}:${n}`},formatLastTime(t){if(!t)return"";try{if("string"===typeof t&&t.includes("T")){const[e,s]=t.split("T");if(e&&s){const t=s.split(":").slice(0,2).join(":");return`UTC ${e} ${t}`}}else if(t instanceof Date){const e=t.toISOString(),[s,i]=e.split("T");if(s&&i){const t=i.split(":").slice(0,2).join(":");return`UTC ${s} ${t}`}}else if("number"===typeof t||/^\d+$/.test(t)){const e=new Date(parseInt(t));if(!isNaN(e.getTime())){const t=e.toISOString(),[s,i]=t.split("T");if(s&&i){const t=i.split(":").slice(0,2).join(":");return`UTC ${s} ${t}`}}}const e=new Date(t);if(!isNaN(e.getTime())){const t=e.toISOString(),[s,i]=t.split("T");if(s&&i){const t=i.split(":").slice(0,2).join(":");return`UTC ${s} ${t}`}}return String(t)}catch(e){return console.error("格式化时间失败:",e),String(t)}},getDefaultAvatar(t){if(!t)return"";const e=["#4CAF50","#9C27B0","#FF5722","#2196F3","#FFC107","#607D8B","#E91E63"],s=Math.abs(t.charCodeAt(0))%e.length,i=(e[s],t.charAt(0).toUpperCase());return i},handleScroll(){const t=this.$refs.messageContainer;t&&(this.updateLastActivityTime(),this.showScrollButton=!this.isAtBottom(),this.isAtBottom()?(this.userViewHistory=!1,this.markMessagesAsRead(this.currentContactId)):this.userViewHistory=!0)},async loadHistory(){if(this.loadingHistory=!0,this.userViewHistory=!0,this.currentContactId)try{this.messagesLoading=!0;const t=this.messages[this.currentContactId]||[];if(0===t.length)return void this.$message({message:this.$t("chat.noMoreHistory")||"没有更多历史消息",type:"warning",duration:3e3,showClose:!0});const e=this.getEarliestMessage(t);if(!e||!e.id)return void this.$message({message:this.$t("chat.noMoreHistory")||"没有更多历史消息",type:"warning",duration:3e3,showClose:!0});this.history7Params.id=e.id,console.log("🕐 小时钟加载历史消息 - 使用最早消息ID:",{totalMessages:t.length,earliestMessageId:e.id,earliestMessageTime:e.time}),this.history7Params.roomId=this.currentContactId,this.history7Params.email=this.userEmail;const s=await(0,i.getHistory7)(this.history7Params);if(console.log("📡 loadHistory - 小时钟接口响应详情:",{responseCode:s?.code,hasData:!!s?.data,dataLength:s?.data?.length||0,currentContactId:this.currentContactId,requestParams:this.history7Params}),s&&200===s.code&&s.data){console.log("📦 loadHistory - 小时钟原始数据:",s.data);const t=s.data.filter((t=>t.roomId==this.currentContactId||String(t.roomId)===String(this.currentContactId)));console.log("🔍 loadHistory - 小时钟过滤后数据:",{originalCount:s.data.length,filteredCount:t.length,targetRoomId:this.currentContactId,messageRoomIds:s.data.map((t=>t.roomId)).slice(0,5)});let e=t.map((t=>({id:t.id,sender:t.sendEmail,avatar:"iconfont icon-icon28",content:t.content,time:t.createTime,isSelf:1===t.isSelf,isImage:2===t.type,isRead:1===t.isRead,type:t.type,roomId:t.roomId})));console.log("🔄 loadHistory - 小时钟处理后消息:",{processedCount:e.length,messageIds:e.map((t=>t.id)),messageTimes:e.map((t=>t.time)).slice(0,3)});const i=(this.messages[this.currentContactId]||[]).map((t=>t.id)),a=e.map((t=>t.id)),n=a.filter((t=>i.includes(t)));if(console.log("🔍 loadHistory - 小时钟重复消息检查:",{currentMessageCount:i.length,newHistoryCount:a.length,duplicateCount:n.length,duplicateIds:n}),0===e.length)return console.warn("⚠️ loadHistory - 小时钟过滤后无消息,设置无更多历史状态"),this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");const o=e.filter((t=>!i.includes(t.id)));if(console.log("✂️ loadHistory - 小时钟去重后消息:",{originalCount:e.length,uniqueCount:o.length,removedDuplicates:e.length-o.length}),0===o.length)return console.warn("⚠️ loadHistory - 小时钟去重后无新消息,设置无更多历史状态"),this.hasMoreHistory=!1,void(this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息");e=o,e=this.sortMessages(e);const r=this.messages[this.currentContactId]||[];this.$set(this.messages,this.currentContactId,[...e,...r]),console.log("✅ loadHistory - 小时钟历史消息加载完成:",{loadedCount:e.length,totalCount:this.messages[this.currentContactId].length})}else console.warn("⚠️ loadHistory - 小时钟接口返回无数据,设置无更多历史状态"),this.hasMoreHistory=!1,this.noMoreHistoryMessage=this.$t("chat.noMoreHistory")||"没有更多历史消息"}catch(t){console.error("加载历史消息异常:",t),this.$message({message:this.$t("chat.historicalFailure")||"加载历史消息失败,请重试",type:"error",duration:3e3,showClose:!0})}finally{this.messagesLoading=!1,this.loadingHistory=!1}},async refreshMessages(){this.currentContactId&&await this.loadMessages(this.currentContactId)},openImageUpload(){this.currentContact&&this.$refs.imageInput.click()},convertToUTC(t){if(!t)return null;const e=new Date(t);return new Date(e.getTime()-6e4*e.getTimezoneOffset())},convertToLocal(t){if(!t)return null;const e=new Date(t);return new Date(e.getTime()+6e4*e.getTimezoneOffset())},fixToUTC(t){return"string"!==typeof t||t.endsWith("Z")||/[+-]\d{2}:?\d{2}$/.test(t)?t:t+"Z"},sortMessages(t){return!t||t.length<=1?t:t.sort(((t,e)=>{if(t.id&&e.id){const s=parseInt(t.id),i=parseInt(e.id);if(!isNaN(s)&&!isNaN(i)){const t=s-i;if(0!==t)return t}}const s=t.time?new Date(t.time).getTime():0,i=e.time?new Date(e.time).getTime():0;return s-i}))},needsResort(t){if(!t||t.length<=1)return!1;const e=Math.min(5,t.length),s=t.slice(-e);for(let i=1;iparseInt(e.id))return!0}else{const s=new Date(t.time).getTime(),i=new Date(e.time).getTime();if(s>i)return!0}}return!1},getEarliestMessage(t){if(!t||0===t.length)return console.warn("⚠️ getEarliestMessage: 消息数组为空"),null;console.log("🔍 查找最早消息:",{totalCount:t.length,messageIds:t.map((t=>t.id)).slice(0,5),messageTimes:t.map((t=>t.time)).slice(0,3)});const e=t.filter((t=>{const e=parseInt(t.id);return t.id&&!isNaN(e)&&e>0}));if(e.length>0){const t=e.reduce(((t,e)=>{const s=parseInt(t.id),i=parseInt(e.id);return i{const s=new Date(t.time||0).getTime(),i=new Date(e.time||0).getTime();return i{if(t.important&&!e.important)return-1;if(!t.important&&e.important)return 1;const s=this.parseTimeForSort(t.lastTime),i=this.parseTimeForSort(e.lastTime);return i-s}))},debugHistoryLoading(){console.log("🔍 历史消息加载调试信息:"),console.log("当前联系人ID:",this.currentContactId,typeof this.currentContactId),console.log("当前消息数量:",this.messages[this.currentContactId]?.length||0),console.log("历史消息状态:",{hasMoreHistory:this.hasMoreHistory,noMoreHistoryMessage:this.noMoreHistoryMessage}),console.log("请求参数:",this.history7Params);const t=this.messages[this.currentContactId]||[];if(t.length>0){const e=this.getEarliestMessage(t);console.log("最早消息:",e),console.log("消息ID分布:",t.map((t=>({id:t.id,time:t.time}))).slice(0,10))}return{currentContactId:this.currentContactId,messageCount:t.length,hasMoreHistory:this.hasMoreHistory,noMoreHistoryMessage:this.noMoreHistoryMessage,requestParams:this.history7Params,earliestMessage:this.getEarliestMessage(t)}},getUnreadStorageKey(t){return`cs_unread_${t}`},getUnreadCount(t){const e=this.getUnreadStorageKey(t);return parseInt(localStorage.getItem(e),10)||0},setUnreadCount(t,e){const s=this.getUnreadStorageKey(t);localStorage.setItem(s,String(e))},handleStorageChange(t){if(console.log("监听所有窗口状态统一 666",t),t.key&&t.key.startsWith("cs_unread_")){const e=t.key.replace("cs_unread_",""),s=parseInt(t.newValue,10)||0,i=this.contacts.find((t=>t.roomId==e));i&&(i.unread=s)}else{if("cs_disconnect_all"===t.key&&t.newValue)return console.log("收到断开所有连接通知"),void this.disconnectWebSocket();"userEmail"!==t.key||!t.oldValue||t.newValue&&"null"!==t.newValue||this.handleLogoutSync()}},handleLogoutSync(){try{this.forceDisconnectAll(),this.userEmail="",this.currentContactId=null,this.contacts=[],this.messages={},this.inputMessage="",this.isWebSocketConnected=!1,this.connectionStatus="disconnected",this.$router.replace("/")}catch(t){this.$router.replace("/")}},handleNetworkChange(){this.networkStatus=navigator.onLine?"online":"offline",navigator.onLine&&location.reload()}},beforeDestroy(){this.stompClient&&this.stompClient.connected&&this.stompClient.disconnect((()=>{console.log("WebSocket 已断开连接")})),this.disconnectWebSocket(),this.$refs.messageContainer&&this.$refs.messageContainer.removeEventListener("scroll",this.handleScroll),this.visibilityHandler&&document.removeEventListener("visibilitychange",this.visibilityHandler),this.activityCheckInterval&&clearInterval(this.activityCheckInterval),this.reconnectTimer&&clearTimeout(this.reconnectTimer),this.activityEvents&&this.activityHandler&&this.activityEvents.forEach((t=>{document.removeEventListener(t,this.activityHandler,!0)})),this.clearConnectionVerifyTimer(),this.stopHeartbeat(),this.stopConnectionCheck(),window.removeEventListener("storage",this.handleStorageChange),window.removeEventListener("online",this.handleNetworkChange),window.removeEventListener("offline",this.handleNetworkChange)}}},8619:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(70525));e.A={mixins:[a.default]}},9396:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(1652);e["default"]={data(){return{typeArray:[]}},mounted(){},methods:{async fetchDataInfo(t){const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.modifyData=e.data,this.addParams=this.modifyData,this.addParams.type=String(this.addParams.type),this.addParams.childType=String(this.addParams.childType),this.typeArray=[this.addParams.type],this.hasBackendData=!0,this.editor&&this.addParams.content&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content))},changeScreen(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],i=t.value;e===i&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}localStorage.setItem("userManagement_selectedCurrency",t)},handleClearScreen(){this.$refs.screen&&this.$refs.screen.$el&&(this.$refs.screen.$el.children[0].children[0].style.background="",this.$refs.screen.$el.children[0].children[0].style.paddingLeft=""),localStorage.removeItem("userManagement_selectedCurrency")}}}},10275:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(99129));e.A={mixins:[a.default]}},10647:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(43661),a=s(48047),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"4ca2f0fb",null),l=r.exports},13415:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.addLoading,expression:"addLoading"}],staticClass:"editor-page",class:{"no-scroll":t.addLoading}},[e("h2",{staticStyle:{"margin-bottom":"20px"}},[t._v(" "+t._s(t.$t("backendSystem.addDocument")||"新增文档")+" ")]),e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-left"},[e("div",{staticClass:"title-section"},[e("i",{staticClass:"el-icon-edit-outline title-icon"}),e("h1",{staticClass:"page-title"},[t._v(" "+t._s(t.$t("backendSystem.wangeditor")||"wangeditor 富文本文档编辑器")+" ")])])]),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{type:"primary",icon:"el-icon-link"},on:{click:t.handleInsertAnchor}},[t._v(" "+t._s(t.$t("backendSystem.insertAnchor")||"插入锚点")+" ")]),e("el-button",{attrs:{type:"info",icon:"el-icon-view"},on:{click:t.handlePreview}},[t._v(" "+t._s(t.$t("backendSystem.previewDocument")||"预览文档")+" ")]),e("el-button",{attrs:{type:"success",icon:"el-icon-document"},on:{click:t.handleSave}},[t._v(" "+t._s(t.$t("backendSystem.saveDocument")||"保存文档")+" ")]),e("el-button",{attrs:{type:"danger",icon:"el-icon-delete"},on:{click:t.handleReset}},[t._v(" "+t._s(t.$t("backendSystem.reset")||"重置")+" ")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-upload2"},on:{click:t.handelAddDocument}},[t._v(" "+t._s(t.$t("backendSystem.publishDocument")||"发布文档")+" ")])],1)]),e("div",{staticClass:"config-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-setting"}),e("span",[t._v(t._s(t.$t("backendSystem.documentConfiguration")||"文档配置"))])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.navigationTitle")||"导航标题"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputDocumentTitle")||"请输入文档标题",size:"medium",maxlength:"30","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.title,callback:function(e){t.$set(t.addParams,"title",e)},expression:"addParams.title"}})],1),e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v(t._s(t.$t("backendSystem.documentType")||"文档类型"))]),e("el-cascader",{attrs:{options:t.TypeList,placeholder:t.$t("backendSystem.pleaseSelectDocumentType")||"请选择文档类型",props:{label:"label",value:"value",children:"children"}},on:{change:function(e){return t.handleAutoSaveType(t.typeArray)}},model:{value:t.typeArray,callback:function(e){t.typeArray=e},expression:"typeArray"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.titleImageAddress")||"标题图片地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputImageAddress")||"请输入图片地址",size:"medium"},on:{input:t.handleAutoSave},model:{value:t.addParams.titleUrl,callback:function(e){t.$set(t.addParams,"titleUrl",e)},expression:"addParams.titleUrl"}})],1),e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.articleAccessAddress")||"文章访问地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputAccessAddress")||"请输入访问地址",size:"medium",maxlength:"50","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.articleUrl,callback:function(e){t.$set(t.addParams,"articleUrl",e)},expression:"addParams.articleUrl"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.coin2")||"币种"))]),e("el-select",{ref:"screen",staticClass:"input",attrs:{size:"middle",clearable:"",placeholder:t.$t("backendSystem.selectCurrency")},on:{change:function(e){return t.changeScreen(t.screenCurrency)},clear:t.handleClearScreen},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(s.label))])])])})),1)],1)])])]),e("div",{staticClass:"editor-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-edit-outline"}),e("span",[t._v(t._s(t.$t("backendSystem.richTextEditor")||"富文本编辑器"))])]),e("div",{staticClass:"editor-container"},[e("div",{ref:"editor"})])]),e("el-dialog",{staticClass:"preview-dialog wangeditor-preview",attrs:{title:t.$t("backendSystem.documentPreview")||"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-content"},[e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.addParams.content)}}),t.addParams.content?t._e():e("div",{staticClass:"preview-empty"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v(t._s(t.$t("backendSystem.noContent")||"暂无内容"))])])]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v(t._s(t.$t("backendSystem.close")||"关闭"))])],1)])],1)},e.Yp=[]},13821:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.broadcastLoading,expression:"broadcastLoading"}]},[e("div",{staticClass:"main-title-box"},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.publishedBroadcast")))]),e("el-button",{staticClass:"add-btn",on:{click:t.handelAddBroadcast}},[t._v(t._s(t.$t("backendSystem.addBroadcast"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.tableData,border:"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"60","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"createTime",label:t.$t("backendSystem.createTime"),width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.createTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"content",label:t.$t("backendSystem.content"),"show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"createUser",label:t.$t("backendSystem.createUser"),width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"buttonContent",label:t.$t("backendSystem.bthContent2"),width:"200","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[s.row.buttonContent?e("div",t._l(t.formatButtonContent(s.row.buttonContent),(function(s,i){return e("el-tag",{key:i,staticStyle:{margin:"2px"},attrs:{size:"small"}},[t._v(" "+t._s(s)+" ")])})),1):e("span",{staticStyle:{color:"#999"}},[t._v("无")])]}}])}),e("el-table-column",{attrs:{prop:"buttonPath",label:t.$t("backendSystem.bthPath2"),width:"250","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(s){return[s.row.buttonPath?e("div",t._l(t.formatButtonPath(s.row.buttonPath),(function(s,i){return e("div",{key:i,staticClass:"path-item",staticStyle:{"font-size":"12px"}},[t._v(" "+t._s(i+1)+". "+t._s(s)+" ")])})),0):e("span",{staticStyle:{color:"#999"}},[t._v("无")])]}}])}),e("el-table-column",{attrs:{prop:"updateTime",label:t.$t("backendSystem.updateTime"),width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.updateTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"updateUser",label:t.$t("backendSystem.updateUser"),width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{label:t.$t("backendSystem.operation"),width:"160"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.handleEdit(s.row)}}},[t._v(t._s(t.$t("backendSystem.edit")))]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(s.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"mini"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto","margin-top":"10px"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1),e("el-dialog",{attrs:{title:t.$t("backendSystem.dialogTitle"),visible:t.dialogVisible,width:"50%","before-close":t.handleClose,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("el-form",{ref:"addForm",attrs:{model:t.addParams}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.broadcastContent"),prop:"content"}},[e("el-input",{attrs:{resize:"none",type:"textarea",rows:5},on:{input:e=>t.handleInput(e,"add")},model:{value:t.addParams.content,callback:function(e){t.$set(t.addParams,"content",e)},expression:"addParams.content"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[t.isOverLimit?e("span",[t._v(" "+t._s(t.$t("backendSystem.exceedingInput")))]):t._e(),e("span",[t._v(" "+t._s(t.$t("backendSystem.newlineInvalid")))])])],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthContent"),prop:"buttonContent"}},[e("el-input",{attrs:{resize:"none",type:"text"},model:{value:t.addParams.buttonContent,callback:function(e){t.$set(t.addParams,"buttonContent",e)},expression:"addParams.buttonContent"}})],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthPath"),prop:"buttonPath"}},[e("el-input",{attrs:{resize:"none",type:"textarea",rows:2},model:{value:t.addParams.buttonPath,callback:function(e){t.$set(t.addParams,"buttonPath",e)},expression:"addParams.buttonPath"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[t.isOverLimit?e("span",[t._v(" "+t._s(t.$t("backendSystem.exceedingInput")))]):t._e(),e("span",[t._v(" "+t._s(t.$t("backendSystem.bthPathStandard")))]),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.showPathHelp}},[t._v(" 查看路径示例 ")])],1)],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleClose}},[t._v(t._s(t.$t("backendSystem.cancel")))]),e("el-button",{attrs:{type:"primary",loading:t.bthLoading},on:{click:t.sureAddBroadcast}},[t._v(t._s(t.$t("backendSystem.publish")))])],1)],1),e("el-dialog",{attrs:{title:t.$t("backendSystem.editContent"),visible:t.editDialogVisible,width:"50%","before-close":t.handleEditClose,"close-on-click-modal":!1},on:{"update:visible":function(e){t.editDialogVisible=e}}},[e("el-form",{attrs:{model:t.editParams}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.broadcastContent")}},[e("el-input",{attrs:{resize:"none",type:"textarea",rows:5},on:{input:e=>t.handleInput(e,"edit")},model:{value:t.editParams.content,callback:function(e){t.$set(t.editParams,"content",e)},expression:"editParams.content"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[t.isOverLimit?e("span",[t._v(" "+t._s(t.$t("backendSystem.exceedingInput")))]):t._e(),e("span",[t._v(" "+t._s(t.$t("backendSystem.newlineInvalid")))])])],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthContent")}},[e("el-input",{attrs:{type:"text"},model:{value:t.editParams.buttonContent,callback:function(e){t.$set(t.editParams,"buttonContent",e)},expression:"editParams.buttonContent"}})],1),e("el-form-item",{attrs:{label:t.$t("backendSystem.bthPath")}},[e("el-input",{attrs:{type:"textarea",rows:2},model:{value:t.editParams.buttonPath,callback:function(e){t.$set(t.editParams,"buttonPath",e)},expression:"editParams.buttonPath"}}),e("div",{staticStyle:{color:"#999","font-size":"12px","margin-top":"4px",display:"flex","align-items":"center","justify-content":"space-between"}},[e("span",[t._v(t._s(t.$t("backendSystem.bthPathStandard")))]),e("el-button",{attrs:{type:"text",size:"mini"},on:{click:t.showPathHelp}},[t._v(" 查看路径示例 ")])],1)],1)],1),e("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:t.handleEditClose}},[t._v(t._s(t.$t("backendSystem.cancel")))]),e("el-button",{attrs:{type:"primary",loading:t.editLoading},on:{click:t.sureEditBroadcast}},[t._v(t._s(t.$t("backendSystem.editBroadcast")))])],1)],1)],1)},e.Yp=[]},14076:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(15086),a=s(10275),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"8b25bb5a",null),l=r.exports},15086:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"help-center"},[e("div",{staticClass:"top-section"},[e("div",{staticClass:"search-container"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.searchQuery,expression:"searchQuery"}],staticClass:"search-input",attrs:{type:"text",placeholder:t.$t("backendSystem.search")||"搜索"},domProps:{value:t.searchQuery},on:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleSearch.apply(null,arguments)},input:function(e){e.target.composing||(t.searchQuery=e.target.value)}}})])]),e("div",{staticClass:"main-content"},[e("div",{staticClass:"category-grid"},t._l(t.categories,(function(s){return e("button",{key:s.id,staticClass:"category-btn",attrs:{tabindex:"0"},on:{click:function(e){return t.handleCategoryClick(s)},keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleCategoryClick(s)}}},[t._v(" "+t._s(t.$t(s.name))+" ")])})),0),e("div",{staticClass:"recommended-section"},[e("h3",{staticClass:"section-title"},[t._v(t._s(t.$t("backendSystem.recommendContent")||"推荐的内容"))]),e("div",{staticClass:"recommended-items"},t._l(t.recommendedItems,(function(s){return e("div",{key:s.id,staticClass:"recommended-item",on:{click:function(e){return t.handleCategoryClick(s)}}},[e("p",{staticClass:"item-description"},[t._v(t._s(t.$t(s.description)))])])})),0)]),e("div",{staticClass:"recent-activities"},[e("h3",{staticClass:"section-title"},[t._v(t._s(t.$t("backendSystem.recentActivities")||"最近活动"))]),e("div",{staticClass:"activities-list"},t._l(t.activities,(function(s){return e("div",{key:s.id,staticClass:"activity-item",on:{click:function(e){return t.handleActivityClick(s)}}},[e("div",{staticClass:"activity-header"},[e("span",{staticClass:"activity-badge"},[t._v(t._s(t.handelType(s.type)))])]),e("p",{staticClass:"activity-title"},[t._v(t._s(s.title))]),e("div",{staticClass:"activity-meta"},[e("span",{staticClass:"activity-author"},[t._v(t._s(t.handelTime(s.createTime)))])])])})),0),e("div",{staticClass:"view-more"},[e("a",{staticClass:"view-more-link",attrs:{href:"#"},on:{click:t.handleViewMore}},[t._v(" "+t._s(t.$t("backendSystem.viewMore")||"查看更多活动公告")+" ")])])])])])},e.Yp=[]},15460:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(95307),a=s(78006),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"34c59056",null),l=r.exports},17308:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(77452));e.A={mixins:[a.default]}},17713:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var i=s(1652);e["default"]={name:"Announcements",data(){return{loading:!1,searchKeyword:"",currentPage:1,totalCount:0,announcements:[],searchTimer:null,showMarkdownGuide:!1,viewMode:"list",listParams:{type:"3",lang:this.$i18n.locale,pageNum:1,pageSize:10},announcementsLoading:!1}},mounted(){try{this.TypeList=JSON.parse(localStorage.getItem("TypeList"))}catch(t){console.log(t)}this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("announcementsLoading",!0);const e=await(0,i.documentsList)(t);console.log(e,"res"),200===e.code&&(this.announcements=e.rows,this.totalCount=e.total),this.setLoading("announcementsLoading",!1)},async loadAnnouncements(){this.loading=!0;try{await new Promise((t=>setTimeout(t,500)))}catch(t){console.error("加载公告失败:",t),this.$message.error(this.$t("announcements.loadError")||"加载公告失败")}finally{this.loading=!1}},handleSearchInput(){this.searchTimer&&clearTimeout(this.searchTimer),this.searchTimer=setTimeout((()=>{this.handleSearch()}),500)},handleSearch(){this.currentPage=1},handleCurrentChange(t){this.currentPage=t,this.listParams.pageNum=t,this.fetchAllList(this.listParams)},handleSizeChange(t){this.listParams.pageNum=1,this.currentPage=1,this.listParams.pageSize=t,this.fetchAllList(this.listParams)},handleAnnouncementClick(t){console.log(t,"announcement");let e=`/${this.$i18n.locale}/announcementDetails`;this.$router.push({path:e,query:{id:t.id}})},handleViewAll(){this.pageSize=20,this.loadAnnouncements()},toggleMarkdownGuide(){this.showMarkdownGuide=!this.showMarkdownGuide},switchMode(t){this.viewMode=t},goHome(){this.$router.push("/")},formatDate(t){try{return`${t.split("T")[0]} ${t.split("T")[1]}`}catch(e){return""}},handelType(t){try{let e=this.TypeList.find((e=>e.value==t)).label;return this.$t(e)}catch(e){return""}}},beforeDestroy(){this.searchTimer&&clearTimeout(this.searchTimer)}}},21906:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(57270));e.A={mixins:[a.default]}},22093:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(1652);e["default"]={data(){return{params:{lang:"",type:0},infoParams:{lang:this.$i18n?.locale||"zh",childType:"1"},info:"",loading:!1}},mounted(){this.fetchDocumentsInfo(this.infoParams)},methods:{async fetchDocumentsInfo(t){this.setLoading("loading",!0);try{const e=await(0,i.findDataInfo)(t);e&&200===e.code?this.info=e.data.content||"":(console.warn("获取文档内容失败:",e),this.info="")}catch(e){console.error("获取文档内容失败:",e),this.info=""}this.setLoading("loading",!1)}}}},23389:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(23819),a=s(95664),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"7b2f7ae5",null),l=r.exports},23819:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rate"},[t.$isMobile?e("section",{staticClass:"rateMobile"},[e("h4",[t._v(t._s(t.$t("course.allocationExplanation")))]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{attrs:{title:t.$t("course.currency")}},[t._v(t._s(t.$t("course.currency")))]),e("span",{attrs:{title:t.$t("course.condition")}},[t._v(t._s(t.$t("course.condition")))])]),e("el-collapse",{attrs:{accordion:""}},t._l(t.rateList,(function(s){return e("el-collapse-item",{key:s.value,attrs:{name:s.value}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",[e("img",{attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.label))]),e("span",[t._v(t._s(t.$t(s.condition)))])])]),e("section",{staticClass:"contentBox2"},[e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.interval")))]),e("p",[t._v(t._s(t.$t(s.interval))+" ")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.estimatedTime")))]),e("p",[t._v(t._s(t.$t(s.estimatedTime)))])])]),e("div",{staticClass:"belowTable describe"},[e("div",[e("p",[t._v(t._s(t.$t("course.describe")))]),e("p",[t._v(t._s(t.$t(s.describe))+" ")])])])])],2)})),1)],1)]):e("section",{staticClass:"rateBox"},[e("section",{staticClass:"rightText"},[e("h2",[t._v(t._s(t.$t("course.allocationExplanation")))]),e("section",{staticClass:"table"},[e("div",{staticClass:"tableTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",[t._v(t._s(t.$t("course.condition")))]),e("span",[t._v(t._s(t.$t("course.interval")))]),e("span",[t._v(t._s(t.$t("course.estimatedTime")))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t("course.describe")))])]),e("ul",t._l(t.rateList,(function(s){return e("li",{key:s.value},[e("span",{staticClass:"coin"},[e("img",{attrs:{src:s.img,alt:"coin",loading:"lazy"}}),t._v(" "+t._s(s.label))]),e("span",[t._v(t._s(t.$t(s.condition)))]),e("span",[t._v(t._s(t.$t(s.interval)))]),e("span",[t._v(t._s(t.$t(s.estimatedTime)))]),e("span",{staticClass:"describe"},[t._v(t._s(t.$t(s.describe)))])])})),0)])])])])},e.Yp=[]},32020:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114),s(18111),s(20116),s(61701);var a=i(s(66848)),n=i(s(5507)),o=s(1652),r=i(s(9396));e.A=a.default.extend({mixins:[r.default],data(){return{editor:null,html:"",hasSetEditorContent:!1,mode:"default",addParams:{title:"",content:"",type:"",lang:"",titleUrl:"",articleUrl:"",childType:"",coin:""},lastSaveTime:"",autoSaveTimer:null,isSaving:!1,previewVisible:!1,currentTime:"",TypeList:[],addLoading:!1,typeArray:[],currencyList:[],screenCurrency:""}},mounted(){this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))}));try{this.TypeList=JSON.parse(localStorage.getItem("TypeList")),this.TypeList=this.TypeList.map((t=>({...t,label:this.$t(t.label),children:t.children?t.children.map((t=>({...t,label:this.$t(t.label)}))):void 0})))}catch(t){console.log(t)}this.loadFromLocalStorage(),window.addEventListener("beforeunload",this.handleBeforeUnload),this.editor=new n.default(this.$refs.editor),this.editor.config.height=600,this.editor.config.onchange=t=>{this.html=t,this.addParams.content=t},this.editor.config.colors=["#651FFF","#FF4081","#FF9900","#FFC107","#FF5722","#9C27B0","#673AB7","#3F51B5","#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#a96b59","#2b2b2b","#b6975a","#5b9bd5","#70ad47","#ed7d31","#ffc000","#7030a0","#f4b084","#bdd7ee","#a9d08e","#ffe699","#d9d9d9","#f8cbad","#e2efda","#fff2cc","#dbe5f1","#e4dfec","#fbeee6","#f6f6f6","#ff0000","#00b050","#0070c0","#7030a0","#ff9900","#808080"],this.editor.config.fontNames=[{name:"黑体",value:"黑体"},{name:"绝绝字体",value:"Times New Roman"},"黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],this.editor.create(),this.addParams.content&&!this.hasSetEditorContent&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content,this.hasSetEditorContent=!0)},methods:{async fetchAddDocument(t){this.setLoading("addLoading",!0);const e=await(0,o.addDocument)(t);if(e&&200==e.code){this.$message.success(this.$t("backendSystem.updateSuccess"));const t="editor_draft_add";sessionStorage.removeItem(t),this.$router.push({path:`/${this.$i18n.locale}/documentManagement`});for(const e in this.addParams)this.addParams[e]="";this.editor&&this.editor.txt.clear()}this.setLoading("addLoading",!1)},onCreated(t){this.editor=t,console.log("编辑器已初始化",this.editor),this.addParams.content&&this.$nextTick((()=>{this.editor.txt.html(this.addParams.content)}))},handelAddDocument(){this.addParams.title=this.addParams.title.trim(),this.editor&&(this.addParams.content=this.editor.txt.html()),console.log(this.addParams.content,"this.addParams.content"),this.addParams.content?this.addParams.title?(console.log(this.addParams.type,this.typeArray,"this.addParams.type"),this.addParams.type?"0"!=this.addParams.type||this.addParams.childType&&"0"!=this.addParams.childType?"1"!=this.addParams.type||this.screenCurrency?(this.addParams.content&&(this.addParams.content=this.addParams.content.replace(/]*href="#[^"]*")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")}))),this.addParams.coin=this.screenCurrency,console.log(this.addParams.content,"this.addParams.content"),this.fetchAddDocument(this.addParams)):this.$message({message:this.$t("backendSystem.pleaseSelectCurrency2")||"添加挖矿教程,请选择币种",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseSelectDocumentType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0})):this.$message({message:this.$t("backendSystem.pleaseInputTitle")||"请输入标题",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputContent2")||"请输入内容",type:"warning",duration:4e3,showClose:!0})},handlePreview(){this.previewVisible=!0,this.currentTime=(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},handlePreviewClose(){this.previewVisible=!1},handleSave(){this.addParams.content=this.addParams.content.replace(/]*href="#([^"]*)")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")})),this.manualSave(),this.$message({message:this.$t("backendSystem.contentSaved")||"内容已保存到本地,请尽快发布,关闭页面可能丢失内容",type:"success",duration:4e3,showClose:!0})},handleEditorChange(){this.handleAutoSave()},handleAutoSaveType(t){if(0!=t.length){console.log("走这里了嘛",t);try{let e=this.TypeList.find((e=>e.value===t[0]));e.articleUrl?this.addParams.articleUrl=e.articleUrl:this.addParams.articleUrl="",this.addParams.type=t[0],this.addParams.childType=t[1]}catch(e){console.log(e,"error")}this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)}},handleAutoSave(){this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},saveToLocalStorage(){try{this.editor&&(this.addParams.content=this.editor.txt.html());const t={title:this.addParams.title,content:this.addParams.content,type:this.addParams.type,imageUrl:this.addParams.imageUrl,timestamp:(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lastModified:Date.now()},e="editor_draft_add";sessionStorage.setItem(e,JSON.stringify(t)),this.lastSaveTime=t.timestamp,this.isSaving=!1}catch(t){console.error("自动保存失败:",t),this.isSaving=!1}},loadFromLocalStorage(){try{const t="editor_draft_add",e=sessionStorage.getItem(t);if(e){const s=JSON.parse(e);console.log(s,"data");const i=Date.now()-(s.lastModified||0)>6048e5;if(i)return console.log("本地数据已过期,清除缓存"),void sessionStorage.removeItem(t);this.$nextTick((()=>{"0"!==s.type&&(this.addParams.title=s.title||"",this.addParams.content=s.content||"",this.addParams.type=s.type||"",this.addParams.imageUrl=s.imageUrl||"",this.lastSaveTime=s.timestamp||"",console.log(s.type,this.typeArray,"data.type"),this.typeArray=[s.type],this.editor&&this.editor.txt.html(s.content||""))}))}}catch(t){console.error("恢复数据失败:",t)}},clearDraft(){const t="editor_draft_add";sessionStorage.removeItem(t),this.lastSaveTime="",this.isSaving=!1},manualSave(){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage()},handleBeforeUnload(t){(this.addParams.title||this.addParams.content)&&(this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage())},getDocumentTypeName(t){switch(t){case"1":return"服务条款";case"2":return"api文档";case"3":return"挖矿教程";case"0":return"其他";default:return"未知类型"}},handleInsertAnchor(){this.editor?this.$prompt(this.$t("backendSystem.pleaseInputAnchorName")||"请输入锚点名称(不能重复)",this.$t("backendSystem.insertAnchor")||"插入锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorNameErrorMessage")||"锚点名只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.cmd.do("insertHTML",``),this.html=this.editor.txt.html(),this.addParams.content=this.html,this.$message.success(this.$t("backendSystem.anchorInserted")||"锚点已插入")})).catch((()=>{})):this.$message.warning("编辑器尚未初始化")},handleAddHeadingId(){if(!this.editor)return void this.$message.warning("编辑器尚未初始化");const t=this.editor.getElemsByTypePrefix("header");if(!t||0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseSelectHeader")||"请先选中一个标题(h1~h6)");const e=t[0];this.$prompt(this.$t("backendSystem.pleaseInputAnchorID")||"请输入锚点ID(不能重复)",this.$t("backendSystem.titleAnchor")||"标题锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorIDErrorMessage")||"ID只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.setElemAttribute(e,"id",t),this.$message.success(this.$t("backendSystem.anchorIDAdded")||"锚点ID已添加")})).catch((()=>{}))},handleReset(){for(const e in this.addParams)this.addParams[e]="";this.editor&&this.editor.txt.clear();const t="editor_draft_add";sessionStorage.removeItem(t),this.$message.success(this.$t("backendSystem.contentReset")||"内容已重置")}},beforeDestroy(){this.editor&&this.editor.destroy()},beforeRouteLeave(t,e,s){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage(),s()}})},35329:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"cs-chat-container"},["offline"===t.networkStatus?e("div",{staticClass:"network-status"},[e("i",{staticClass:"el-icon-warning"}),e("span",[t._v(t._s(t.$t("chat.networkError")||"网络连接已断开"))])]):t._e(),"connected"!==t.connectionStatus&&"error"!==t.connectionStatus?e("div",{staticClass:"connection-status",class:t.connectionStatus},[e("i",{class:"error"===t.connectionStatus?"el-icon-warning":"el-icon-loading"}),e("span",[t._v(t._s("error"===t.connectionStatus?t.$t("chat.Disconnected")||"连接已断开":t.$t("chat.reconnecting")||"正在连接...")+" ")])]):t._e(),e("div",{staticClass:"cs-chat-wrapper"},[e("div",{staticClass:"cs-contact-list"},[e("div",{staticClass:"cs-header"},[e("i",{staticClass:"el-icon-s-custom"}),t._v(" "+t._s(t.$t("chat.contactList")||"联系列表")+" ")]),e("div",{staticClass:"cs-search"},[e("el-input",{attrs:{"prefix-icon":"el-icon-search",placeholder:t.$t("chat.search")||"搜索最近联系人",clearable:""},model:{value:t.searchText,callback:function(e){t.searchText=e},expression:"searchText"}})],1),e("div",{staticClass:"cs-contacts"},t._l(t.filteredContacts,(function(s,i){return e("div",{key:i,staticClass:"cs-contact-item",class:{active:t.currentContactId===s.roomId},attrs:{title:s.name},on:{click:function(e){return t.selectContact(s.roomId)}}},[e("div",{staticClass:"cs-avatar"},[e("i",{staticClass:"iconfont icon-icon28",staticStyle:{"font-size":"1.5vw"}}),s.unread?e("span",{staticClass:"unread-badge"},[t._v(t._s(s.unread))]):t._e(),s.isGuest?e("span",{staticClass:"guest-badge"},[t._v(t._s(t.$t("chat.tourist")||"游客"))]):t._e()]),e("div",{staticClass:"cs-contact-info"},[e("div",{staticClass:"cs-contact-name"},[t._v(" "+t._s(s.name)+" ")]),e("div",{staticClass:"cs-contact-msg"},[s.important?e("span",{staticClass:"important-tag"},[t._v("["+t._s(t.$t("chat.important")||"重要")+"] ")]):t._e()]),e("div",[e("span",{staticClass:"cs-contact-time",attrs:{title:s.lastTime}},[t._v(t._s(t.formatLastTime(s.lastTime)))])])]),e("div",{staticClass:"important-star",class:{"is-important":s.important},attrs:{title:t.$t("chat.markAsImportant")||"标记为重要聊天"},on:{click:function(e){return e.stopPropagation(),t.toggleImportant(s.roomId,!s.important)}}},[e("i",{staticClass:"el-icon-star-on"})])])})),0)]),e("div",{staticClass:"cs-chat-area"},[e("div",{staticClass:"cs-chat-header"},[e("div",{staticClass:"cs-chat-title"},[t._v(" "+t._s(t.currentContact?t.currentContact.name:t.$t("chat.chooseFirst")||"请选择联系人")+" "),t.currentContact&&t.currentContact.important?e("el-tag",{attrs:{size:"small",type:"danger"},on:{click:function(e){return t.toggleImportant(t.currentContact.roomId,!t.currentContact.important)}}},[t._v(" "+t._s(t.$t("chat.important")||"重要")+" ")]):t.currentContact?e("el-tag",{staticStyle:{cursor:"pointer"},attrs:{size:"small",type:"info"},on:{click:function(e){return t.toggleImportant(t.currentContact.roomId,!t.currentContact.important)}}},[t._v(" "+t._s(t.$t("chat.markAsImportant")||"标记为重要")+" ")]):t._e()],1),e("div",{staticClass:"cs-header-actions"},[e("i",{staticClass:"el-icon-time",attrs:{title:t.$t("chat.history")||"历史记录"},on:{click:t.loadMoreHistory}})])]),e("div",{ref:"messageContainer",staticClass:"cs-chat-messages",on:{scroll:t.handleScroll}},[t.currentContact?[t.currentMessages.length>0?e("div",{staticClass:"history-section"},[t.hasMoreHistory?e("div",{staticClass:"history-indicator",staticStyle:{cursor:"pointer","text-align":"center",color:"#409eff","margin-bottom":"10px","font-size":"0.7vw"},on:{click:t.loadMoreHistory}},[e("i",{staticClass:"el-icon-arrow-up"}),e("span",[t._v(t._s(t.$t("chat.loadMore")||"加载更多历史消息"))])]):e("div",{staticClass:"no-more-history",staticStyle:{"text-align":"center",color:"#909399","margin-bottom":"10px","font-size":"0.7vw",padding:"8px 0"}},[e("i",{staticClass:"el-icon-info"}),e("span",[t._v(t._s(t.noMoreHistoryMessage||t.$t("chat.noMoreHistory")||"没有更多历史消息"))])])]):t._e(),t.messagesLoading?e("div",{staticClass:"cs-loading"},[e("i",{staticClass:"el-icon-loading"}),e("p",[t._v(t._s(t.$t("chat.loading")||"加载消息中..."))])]):0===t.currentMessages.length?e("div",{staticClass:"cs-empty-chat"},[e("i",{staticClass:"el-icon-chat-line-round"}),e("p",[t._v(t._s(t.$t("chat.None")||"暂无消息记录"))])]):e("div",{staticClass:"cs-message-list"},t._l(t.currentMessages,(function(s,i){return e("div",{key:i,staticClass:"cs-message",class:{"cs-message-self":s.isSelf}},[t.showMessageTime(i)?e("div",{staticClass:"cs-message-time"},[t._v(" "+t._s(t.formatTime(s.time))+" ")]):t._e(),e("div",{staticClass:"cs-message-content"},[t._m(0,!0),e("div",{staticClass:"cs-bubble"},[e("div",{staticClass:"cs-sender"},[t._v(t._s(s.sender))]),s.isImage?e("div",{staticClass:"cs-image"},[e("img",{attrs:{src:s.content},on:{click:function(e){return t.previewImage(s.content)}}})]):e("div",{staticClass:"cs-text",domProps:{innerHTML:t._s(t.formatMessageContent(s.content))}})])])])})),0)]:e("div",{staticClass:"cs-empty-chat"},[e("i",{staticClass:"el-icon-chat-dot-round"}),e("p",[t._v(t._s(t.$t("chat.notSelected")||"您尚未选择联系人"))])])],2),e("div",{staticClass:"cs-chat-input"},[e("div",{staticClass:"cs-toolbar"},[e("i",{staticClass:"el-icon-picture-outline",attrs:{title:t.$t("chat.sendPicture")||"发送图片"},on:{click:t.openImageUpload}}),e("input",{ref:"imageInput",staticStyle:{display:"none"},attrs:{type:"file",accept:"image/*"},on:{change:t.handleImageUpload}})]),e("div",{staticClass:"cs-input-area"},[e("el-input",{attrs:{type:"textarea",rows:3,maxlength:400,disabled:!t.currentContact,resize:"none",placeholder:t.$t("chat.inputMessage")||"请输入消息,按Enter键发送,按Ctrl+Enter键换行"},nativeOn:{keydown:function(e){return t.handleKeyDown.apply(null,arguments)}},model:{value:t.inputMessage,callback:function(e){t.inputMessage=e},expression:"inputMessage"}})],1),e("div",{staticClass:"cs-send-area"},[e("span",{staticClass:"cs-counter"},[t._v(t._s(t.inputMessage.length)+"/400")]),e("el-button",{attrs:{type:"primary",disabled:!t.currentContact||!t.inputMessage.trim()||t.sending},on:{click:t.sendMessage}},[t.sending?e("i",{staticClass:"el-icon-loading"}):e("span",[t._v(t._s(t.$t("chat.send")||"发送"))])])],1)])])]),t.showScrollButton?e("div",{staticClass:"scroll-to-bottom",on:{click:function(e){return t.scrollToBottom(!0)}}},[t._v(" "+t._s(t.$t("chat.bottom")||"回到底部")+" "),e("i",{staticClass:"el-icon-arrow-down"})]):t._e(),e("el-dialog",{staticClass:"image-preview-dialog",attrs:{visible:t.previewVisible,"append-to-body":""},on:{"update:visible":function(e){t.previewVisible=e}}},[e("img",{staticClass:"preview-image",attrs:{src:t.previewImageUrl,alt:t.$t("chat.Preview")||"预览图片"}})])],1)},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"cs-avatar"},[e("i",{staticClass:"iconfont icon-icon28",staticStyle:{"font-size":"2vw"}})])}]},35899:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(22093));e.A={mixins:[a.default],metaInfo:{meta:[{name:"keywords",content:"服务条款,用户权益,权利义务,Terms of Service, User Rights, Rights and Obligations"},{name:"description",content:window.vm.$t("seo.ServiceTerms")}]}}},36425:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(67975));e.A={mixins:[a.default]}},41300:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(13821),a=s(21906),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"76d940dc",null),l=r.exports},42287:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(63587),a=s(46388),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"4ff46502",null),l=r.exports},42389:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(1652);e["default"]={data(){return{typeArray:[],currencyList:[],screenCurrency:""}},mounted(){this.currencyList=JSON.parse(localStorage.getItem("currencyList")),window.addEventListener("setItem",(()=>{this.currencyList=JSON.parse(localStorage.getItem("currencyList"))})),this.$route.query.id&&this.fetchDataInfo({id:this.$route.query.id})},methods:{async fetchDataInfo(t){const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.modifyData=e.data,this.addParams=this.modifyData,this.addParams.type=String(this.addParams.type),this.addParams.childType=String(this.addParams.childType),this.modifyData.childType&&"0"!==this.modifyData.childType?this.typeArray=[this.addParams.type,this.modifyData.childType]:this.typeArray=[this.modifyData.type],this.hasBackendData=!0,this.screenCurrency=this.addParams.coin,this.editor&&this.addParams.content&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content))},changeScreen(t){let e=t;for(let s in this.currencyList){let t=this.currencyList[s],i=t.value;e===i&&this.$refs.screen.$el.children[0].children[0].setAttribute("style","background:url("+t.imgUrl+") no-repeat 10PX;background-size: 20PX 20PX;color:#333;padding-left: 33PX;")}localStorage.setItem("userManagement_selectedCurrency",t)}}}},43421:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114);var a=i(s(53667));e.A={mixins:[a.default],metaInfo:{meta:[{name:"keywords",content:"API 文档,认证 token,接口调用,API documentation, authentication tokens, interface calls"},{name:"description",content:window.vm.$t("seo.apiFile")}]},data(){return{}},mounted(){},methods:{handelJump(t){const e=this.$i18n.locale,s=t.startsWith("/")?t.slice(1):t;this.$router.push(`/${e}/${s}`)}}}},43661:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.addLoading,expression:"addLoading"}],staticClass:"editor-page",class:{"no-scroll":t.addLoading}},[e("section",{staticClass:"header-section"},[e("h2",{staticStyle:{"margin-bottom":"20px"}},[t._v(t._s(t.$t("backendSystem.modifyDocument")||"修改文档"))]),e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-left"},[e("div",{staticClass:"title-section"},[e("i",{staticClass:"el-icon-edit-outline title-icon"}),e("h1",{staticClass:"page-title"},[t._v(t._s(t.$t("backendSystem.wangeditor")||"wangeditor 富文本文档编辑器"))])])]),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{type:"primary",icon:"el-icon-link"},on:{click:t.handleInsertAnchor}},[t._v(" "+t._s(t.$t("backendSystem.insertAnchor")||"插入锚点")+" ")]),e("el-button",{attrs:{type:"info",icon:"el-icon-view"},on:{click:t.handlePreview}},[t._v(" "+t._s(t.$t("backendSystem.previewDocument")||"预览文档")+" ")]),e("el-button",{attrs:{type:"success",icon:"el-icon-document"},on:{click:t.handleSave}},[t._v(" "+t._s(t.$t("backendSystem.saveDocument")||"保存文档")+" ")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-upload2"},on:{click:t.handelAddDocument}},[t._v(" "+t._s(t.$t("backendSystem.modifyDocument")||"修改文档")+" ")])],1)])]),e("section",{staticClass:"content-section"},[e("div",{staticClass:"config-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-setting"}),e("span",[t._v(t._s(t.$t("backendSystem.documentConfiguration")||"文档配置"))])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.navigationTitle")||"导航标题"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputDocumentTitle")||"请输入文档标题",size:"medium",maxlength:"30","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.title,callback:function(e){t.$set(t.addParams,"title",e)},expression:"addParams.title"}})],1),e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v(t._s(t.$t("backendSystem.documentType")||"文档类型"))]),e("el-cascader",{attrs:{options:t.TypeList,clearable:"",placeholder:t.$t("backendSystem.pleaseSelectDocumentType")||"请选择文档类型",props:{label:"label",value:"value",children:"children"}},on:{change:function(e){return t.handleAutoSaveType(t.typeArray)}},model:{value:t.typeArray,callback:function(e){t.typeArray=e},expression:"typeArray"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.titleImageAddress")||"标题图片地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputImageAddress")||"请输入图片地址",size:"medium"},on:{input:t.handleAutoSave},model:{value:t.addParams.titleUrl,callback:function(e){t.$set(t.addParams,"titleUrl",e)},expression:"addParams.titleUrl"}})],1),e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.articleAccessAddress")||"文章访问地址"))]),e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInputAccessAddress")||"请输入访问地址",size:"medium",maxlength:"50","show-word-limit":""},on:{input:t.handleAutoSave},model:{value:t.addParams.articleUrl,callback:function(e){t.$set(t.addParams,"articleUrl",e)},expression:"addParams.articleUrl"}})],1)])]),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",[t._v(t._s(t.$t("backendSystem.coin2")||"币种"))]),e("el-select",{ref:"screen",staticClass:"input",attrs:{size:"middle",placeholder:t.$t("backendSystem.selectCurrency")},on:{change:function(e){return t.changeScreen(t.screenCurrency)}},model:{value:t.screenCurrency,callback:function(e){t.screenCurrency=e},expression:"screenCurrency"}},t._l(t.currencyList,(function(s){return e("el-option",{key:s.value,attrs:{label:s.label,value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(s.label))])])])})),1)],1)])])]),e("div",{staticClass:"editor-section"},[e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-edit-outline"}),e("span",[t._v(t._s(t.$t("backendSystem.richTextEditor")||"富文本编辑器"))])]),e("div",{staticClass:"editor-container"},[e("div",{ref:"editor"})])])]),e("el-dialog",{staticClass:"preview-dialog wangeditor-preview",attrs:{title:t.$t("backendSystem.documentPreview")||"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-content"},[e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.addParams.content)}}),t.addParams.content?t._e():e("div",{staticClass:"preview-empty"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v(t._s(t.$t("backendSystem.noContent")||"暂无内容"))])])]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v(t._s(t.$t("backendSystem.close")||"关闭"))])],1)])],1)},e.Yp=[]},46212:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(13415),a=s(32020),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"35543353",null),l=r.exports},46388:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(66848)),n=(i(s(5507)),s(1652));e.A=a.default.extend({components:{Editor:Editor,Toolbar:Toolbar},data(){return{editor:null,html:"

                      hello

                      ",toolbarConfig:{excludeKeys:[],insertKeys:{index:0,keys:["bold","italic","underline","through","code","sub","sup","clearStyle"]}},editorConfig:{placeholder:"请在此输入文档内容...",MENU_CONF:{}},mode:"default",addParams:{title:"",content:"",type:"",lang:"",imageUrl:""},lastSaveTime:"",autoSaveTimer:null,isSaving:!1,previewVisible:!1,currentTime:"",TypeList:[]}},methods:{async fetchAddDocument(t){await(0,n.addDocument)(t)},onCreated(t){this.editor=Object.seal(t),this.addParams.content&&this.$nextTick((()=>{t.setHtml(this.addParams.content)}))},handelAddDocument(){this.addParams.type?(this.editor&&(this.addParams.content=this.editor.getHtml()),this.fetchAddDocument(this.addParams)):this.$message({message:"请填写文档类型",type:"warning",duration:4e3,showClose:!0})},handlePreview(){this.previewVisible=!0,this.currentTime=(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},handlePreviewClose(){this.previewVisible=!1},handlePrintPreview(){const t=window.open("","_blank");t&&(t.document.write(`\n \n \n ${this.addParams.title||"文档预览"}\n \n \n \n ${this.addParams.content||'
                      📄

                      暂无内容

                      '}\n \n \n `),t.document.close(),t.print(),t.close())},handleSave(){this.manualSave(),this.$message({message:"内容已保存到本地,请尽快发布,关闭页面可能丢失内容",type:"success",duration:4e3,showClose:!0})},handleEditorChange(){this.handleAutoSave()},handleAutoSave(){this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},saveToLocalStorage(){try{this.editor&&(this.addParams.content=this.editor.getHtml());const t={title:this.addParams.title,content:this.addParams.content,type:this.addParams.type,imageUrl:this.addParams.imageUrl,timestamp:(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lastModified:Date.now()};localStorage.setItem("editor_draft",JSON.stringify(t)),this.lastSaveTime=t.timestamp,this.isSaving=!1}catch(t){console.error("自动保存失败:",t),this.isSaving=!1}},loadFromLocalStorage(){try{const t=localStorage.getItem("editor_draft");if(t){const e=JSON.parse(t),s=Date.now()-(e.lastModified||0)>6048e5;if(s)return console.log("本地数据已过期,清除缓存"),void localStorage.removeItem("editor_draft");this.$nextTick((()=>{this.addParams.title=e.title||"",this.addParams.content=e.content||"",this.addParams.type=e.type||"1",this.addParams.imageUrl=e.imageUrl||"",this.lastSaveTime=e.timestamp||"",this.editor&&this.editor.setHtml(e.content||"")}))}}catch(t){console.error("恢复数据失败:",t)}},clearDraft(){localStorage.removeItem("editor_draft"),this.lastSaveTime="",this.isSaving=!1},manualSave(){this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage()},handleBeforeUnload(t){(this.addParams.title||this.addParams.content)&&(this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage())},getDocumentTypeName(t){switch(t){case"1":return"服务条款";case"2":return"api文档";case"3":return"挖矿教程";case"0":return"其他";default:return"未知类型"}}},mounted(){this.loadFromLocalStorage(),window.addEventListener("beforeunload",this.handleBeforeUnload),setTimeout((()=>{this.addParams.content||(this.html="

                      模拟 Ajax 异步设置内容 HTML

                      ")}),1500)},beforeDestroy(){this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage(),window.removeEventListener("beforeunload",this.handleBeforeUnload),this.autoSaveTimer&&clearTimeout(this.autoSaveTimer);const t=this.editor;null!=t&&t.destroy()},beforeRouteLeave(t,e,s){this.editor&&(this.addParams.content=this.editor.getHtml()),this.saveToLocalStorage(),s()}})},48047:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0,s(44114),s(18111),s(20116),s(61701);var a=i(s(66848)),n=i(s(5507)),o=s(1652),r=i(s(42389));e.A=a.default.extend({mixins:[r.default],data(){return{editor:null,html:"",hasSetEditorContent:!1,mode:"default",addParams:{title:"",content:"",type:"",lang:"",titleUrl:"",articleUrl:"",childType:"",coin:""},lastSaveTime:"",autoSaveTimer:null,isSaving:!1,previewVisible:!1,currentTime:"",TypeList:[],addLoading:!1,typeArray:[]}},mounted(){try{this.TypeList=JSON.parse(localStorage.getItem("TypeList")),this.TypeList=this.TypeList.map((t=>({...t,label:this.$t(t.label),children:t.children?t.children.map((t=>({...t,label:this.$t(t.label)}))):void 0})))}catch(t){console.log(t)}this.loadFromLocalStorage(),window.addEventListener("beforeunload",this.handleBeforeUnload),setTimeout((()=>{this.addParams.content||(this.html="

                      模拟 Ajax 异步设置内容 HTML

                      ")}),1500),this.editor=new n.default(this.$refs.editor),this.editor.config.height=600,this.editor.config.onchange=t=>{this.html=t,this.addParams.content=t},this.editor.config.colors=["#651FFF","#FF4081","#FF9900","#FFC107","#FF5722","#9C27B0","#673AB7","#3F51B5","#000000","#ffffff","#eeece0","#1c487f","#4d80bf","#c24f4a","#8baa4a","#a96b59","#2b2b2b","#b6975a","#5b9bd5","#70ad47","#ed7d31","#ffc000","#7030a0","#f4b084","#bdd7ee","#a9d08e","#ffe699","#d9d9d9","#f8cbad","#e2efda","#fff2cc","#dbe5f1","#e4dfec","#fbeee6","#f6f6f6","#ff0000","#00b050","#0070c0","#7030a0","#ff9900","#808080"],this.editor.config.fontNames=[{name:"黑体",value:"黑体"},{name:"绝绝字体",value:"Times New Roman"},"黑体","仿宋","楷体","标楷体","华文仿宋","华文楷体","宋体","微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"],this.editor.create(),this.addParams.content&&!this.hasSetEditorContent&&(this.editor.txt.html(this.addParams.content),this.html=this.addParams.content,this.hasSetEditorContent=!0)},methods:{async fetchUpdateDocument(t){this.setLoading("addLoading",!0);const e=await(0,o.updateDocument)(t);e&&200==e.code&&(this.$message.success(this.$t("backendSystem.updateSuccess")),this.$router.push({path:`/${this.$i18n.locale}/documentManagement`})),this.setLoading("addLoading",!1)},onCreated(t){this.editor=t,console.log("编辑器已初始化",this.editor),this.addParams.content&&this.$nextTick((()=>{this.editor.txt.html(this.addParams.content)}))},handelAddDocument(){this.editor&&(this.addParams.content=this.editor.txt.html()),this.addParams.title=this.addParams.title.trim(),this.addParams.content.trim()?this.addParams.type?(console.log(this.addParams.type,this.addParams.childType,"this.addP就发货很符合arams.type"),"0"!=this.addParams.type||this.addParams.childType&&"0"!=this.addParams.childType?this.addParams.title?"1"!=this.addParams.type||this.screenCurrency?(this.addParams.content&&(this.addParams.content=this.addParams.content.replace(/]*href="#[^"]*")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")}))),this.addParams.coin=this.screenCurrency,console.log(this.addParams.content,"this.addParams.content"),this.fetchUpdateDocument(this.addParams)):this.$message({message:this.$t("backendSystem.pleaseSelectCurrency2")||"添加挖矿教程,请选择币种",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputTitle")||"请输入标题",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0})):this.$message({message:this.$t("backendSystem.pleaseInputType")||"请填写文档类型",type:"warning",duration:4e3,showClose:!0}):this.$message({message:this.$t("backendSystem.pleaseInputContent2")||"请输入内容",type:"warning",duration:4e3,showClose:!0})},handlePreview(){this.previewVisible=!0,this.currentTime=(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})},handlePreviewClose(){this.previewVisible=!1},handleSave(){this.addParams.content=this.addParams.content.replace(/]*href="#([^"]*)")[^>]*>/gi,(function(t){return t.replace(/\s*target="_blank"/gi,"")})),this.manualSave(),this.$message({message:this.$t("backendSystem.contentSaved")||"内容已保存到本地,请尽快发布,关闭页面可能丢失内容",type:"success",duration:4e3,showClose:!0})},handleEditorChange(){this.handleAutoSave()},handleAutoSaveType(t){try{if(0==t.length)return;console.log("走这里了嘛",t);let e=this.TypeList.find((e=>e.value===t[0]));if(console.log(e,t,"item"),e.articleUrl)this.addParams.articleUrl=e.articleUrl;else if(e.children&&e.children.length>0){let s=e.children.find((e=>e.value===t[1]));this.addParams.articleUrl=s.articleUrl}else this.addParams.articleUrl="";this.addParams.type=t[0],this.addParams.childType=t[1]}catch(e){console.log(e,"error")}this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},handleAutoSave(){this.isSaving=!0,this.autoSaveTimer&&clearTimeout(this.autoSaveTimer),this.autoSaveTimer=setTimeout((()=>{this.saveToLocalStorage()}),1500)},saveToLocalStorage(){try{this.editor&&(this.addParams.content=this.editor.txt.html());const t={title:this.addParams.title,content:this.addParams.content,type:this.addParams.type,imageUrl:this.addParams.imageUrl,timestamp:(new Date).toLocaleString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}),lastModified:Date.now()};localStorage.setItem("editor_draft",JSON.stringify(t)),this.lastSaveTime=t.timestamp,this.isSaving=!1}catch(t){console.error("自动保存失败:",t),this.isSaving=!1}},loadFromLocalStorage(){try{const t=localStorage.getItem("editor_draft");if(t){const e=JSON.parse(t),s=Date.now()-(e.lastModified||0)>6048e5;if(s)return console.log("本地数据已过期,清除缓存"),void localStorage.removeItem("editor_draft");this.$nextTick((()=>{"0"!==e.type&&(this.addParams.title=e.title||"",this.addParams.content=e.content||"",this.addParams.type=e.type||"",this.addParams.imageUrl=e.imageUrl||"",this.lastSaveTime=e.timestamp||"",this.typeArray=[e.type],this.editor&&this.editor.txt.html(e.content||""))}))}}catch(t){console.error("恢复数据失败:",t)}},clearDraft(){localStorage.removeItem("editor_draft"),this.lastSaveTime="",this.isSaving=!1},manualSave(){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage()},handleBeforeUnload(t){(this.addParams.title||this.addParams.content)&&(this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage())},getDocumentTypeName(t){switch(t){case"1":return"home.serviceTerms";case"2":return"home.APIfile";case"3":return"home.miningTutorial";case"0":return"home.other";default:return"home.unknownType"}},handleInsertAnchor(){this.editor?this.$prompt(this.$t("backendSystem.pleaseInputAnchorName")||"请输入锚点名称(不能重复)",this.$t("backendSystem.insertAnchor")||"插入锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorNameErrorMessage")||"锚点名只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.cmd.do("insertHTML",``),this.html=this.editor.txt.html(),this.addParams.content=this.html,this.$message.success(this.$t("backendSystem.anchorInserted")||"锚点已插入")})).catch((()=>{})):this.$message.warning("编辑器尚未初始化")},handleAddHeadingId(){if(!this.editor)return void this.$message.warning("编辑器尚未初始化");const t=this.editor.getElemsByTypePrefix("header");if(!t||0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseSelectHeader")||"请先选中一个标题(h1~h6)");const e=t[0];this.$prompt(this.$t("backendSystem.pleaseInputAnchorID")||"请输入锚点ID(不能重复)",this.$t("backendSystem.titleAnchor")||"标题锚点",{confirmButtonText:this.$t("backendSystem.confirm")||"确定",cancelButtonText:this.$t("backendSystem.cancel")||"取消",inputPattern:/^[a-zA-Z0-9_-]+$/,inputErrorMessage:this.$t("backendSystem.anchorIDErrorMessage")||"ID只能包含字母、数字、下划线和中划线"}).then((({value:t})=>{this.editor.setElemAttribute(e,"id",t),this.$message.success(this.$t("backendSystem.anchorIDAdded")||"锚点ID已添加")})).catch((()=>{}))}},beforeDestroy(){this.editor&&this.editor.destroy()},beforeRouteLeave(t,e,s){this.editor&&(this.addParams.content=this.editor.txt.html()),this.saveToLocalStorage(),s()}})},50600:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"dataMain"},[e("section",{staticClass:"content"},[e("p",{staticClass:"title2"},[t._v(t._s(t.$t("chooseUs.why")))]),e("section",{staticClass:"topBox"},[e("div",{staticClass:"top top1"},[e("div",{staticClass:"icon"},[e("img",{staticStyle:{width:"45px"},attrs:{src:s(16712),alt:"wallet",loading:"lazy"}}),e("h4",[t._v(t._s(t.$t("chooseUs.title1")))])]),e("p",[t._v("    "+t._s(t.$t("chooseUs.text1")))])]),e("div",{staticClass:"top top2"},[e("div",{staticClass:"icon"},[e("img",{attrs:{src:s(21525),alt:"security",loading:"lazy"}}),e("h4",[t._v(t._s(t.$t("chooseUs.title2")))])]),e("p",[t._v("     "+t._s(t.$t("chooseUs.text2")))])]),e("div",{staticClass:"top top3"},[e("div",{staticClass:"icon"},[e("img",{attrs:{src:s(84441),alt:"customer service",loading:"lazy"}}),e("h4",[t._v(t._s(t.$t("chooseUs.title3")))])]),e("p",[t._v("     "+t._s(t.$t("chooseUs.text3")))])])])])])},e.Yp=[]},53667:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588),s(61701),s(13579);var i=s(1652);e["default"]={name:"ApiFile",data(){return{listParams:{lang:`${this.$i18n.locale}`,childType:3,pageNum:1,pageSize:50},DetailsParams:{lang:`${this.$i18n.locale}`,childType:3},navContent:{},documentLoading:!0,documentContent:"",documentError:"",navList:[],info:""}},mounted(){this.getDocumentsList(this.listParams)},methods:{async getDocumentsList(t){try{const e=await(0,i.documentsList)(t);this.setLoading("documentLoading",!0),e&&200===e.code&&(this.navList=e.rows,this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=e.rows[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams))}catch(e){console.error("获取文档列表失败:",e)}},async fetchProblemDetails(t){this.setLoading("documentLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||""),this.setLoading("documentLoading",!1)},markdownToHtml(t){if(!t)return"";let e=this.processMarkdownTables(t);e=e.replace(/^### (.*$)/gim,"

                      $1

                      ").replace(/^## (.*$)/gim,"

                      $1

                      ").replace(/^# (.*$)/gim,"

                      $1

                      ").replace(/\*\*(.*?)\*\*/gim,"$1").replace(/\*(.*?)\*/gim,"$1").replace(/```([\s\S]*?)```/gim,"
                      $1
                      ").replace(/`([^`]*)`/gim,"$1").replace(/\[([^\]]*)\]\(([^)]*)\)/gim,'$1');const s=e.split(/()/g);return e=s.map((t=>t.startsWith("

                      ").replace(/\n/gim,"
                      "))).join(""),!e||e.startsWith("<")||e.includes(""+e+"

                      "),e},processMarkdownTables(t){const e=/(\|.*\|[\r\n]+)+/g;return t.replace(e,(t=>{const e=t.trim().split(/[\r\n]+/);if(e.length<2)return t;let s='\n';return e.forEach(((t,e)=>{if(t=t.trim(),!t.startsWith("|")||!t.endsWith("|"))return;const i=t.slice(1,-1),a=i.split("|").map((t=>t.trim()));if(a.some((t=>/^-+$/.test(t))))return;const n=0===e,o=n?"th":"td",r=n?' style="background: #f8f9fa; font-weight: 600; padding: 8px 12px; border: 1px solid #ddd; text-align: left;"':' style="padding: 8px 12px; border: 1px solid #ddd; text-align: left;"';s+=" \n",a.forEach((t=>{s+=` <${o}${r}>${t}\n`})),s+=" \n"})),s+="
                      \n",s}))},clickJump(t){this.DetailsParams.id=t.id,this.fetchProblemDetails(this.DetailsParams)}}}},54718:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(66443),a=s(35899),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"daa10838",null),l=r.exports},57270:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(22489),s(61701);var i=s(73723);s(34815),e["default"]={data(){return{tableData:[],listParams:{pageNum:1,pageSize:50},addParams:{content:"",buttonContent:"",buttonPath:""},editParams:{content:"",id:"",buttonContent:"",buttonPath:""},dialogVisible:!1,bthLoading:!1,broadcastLoading:!1,editDialogVisible:!1,editLoading:!1,byteCount:"",isOverLimit:!1,total:0,pageSizes:[50,100,300],currentPage:1}},mounted(){let t;try{t=JSON.parse(localStorage.getItem("token"))}catch(e){console.log(e)}t&&this.fetchList(this.listParams)},methods:{async fetchList(t){this.setLoading("broadcastLoading",!0);const e=await(0,i.listBroadcast)(t);200===e.code&&(this.tableData=e.rows,this.total=e.total),this.setLoading("broadcastLoading",!1)},async addBroadcast(t){this.setLoading("bthLoading",!0),console.log("发送广播请求的参数:",t);const e=await(0,i.getAddBroadcast)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.addSuccess")),this.dialogVisible=!1,this.addParams.content="",this.addParams.buttonContent="",this.addParams.buttonPath="",this.fetchList(this.listParams)),this.setLoading("bthLoading",!1)},async getBroadcast(t){this.setLoading("editLoading",!0);const e=await(0,i.dataInfo)(t);200===e.code&&(this.editParams={...e.data,buttonPath:Array.isArray(e.data.buttonPath)?e.data.buttonPath.join(","):e.data.buttonPath||""},this.editDialogVisible=!0),this.setLoading("editLoading",!1)},async editBroadcast(t){this.setLoading("editLoading",!0),console.log("发送编辑广播请求的参数:",t);const e=await(0,i.updateBroadcast)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.editSuccess")),this.editDialogVisible=!1,this.fetchList(this.listParams)),this.setLoading("editLoading",!1)},async deleteBroadcast(t){const e=await(0,i.DeleteBroadcast)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.deleteSuccess")),this.fetchList(this.listParams))},handelAddBroadcast(){this.dialogVisible=!0},handleClose(){this.dialogVisible=!1,this.addParams.content="",this.addParams.buttonContent="",this.addParams.buttonPath="",this.setLoading("bthLoading",!1)},sureAddBroadcast(){if(this.addParams.content=this.addParams.content.trim(),this.addParams.content=this.addParams.content.replace(/[\r\n]/g,""),this.addParams.buttonPath=this.addParams.buttonPath.trim(),this.addParams.buttonPath=this.addParams.buttonPath.replace(/[\r\n]/g,""),this.addParams.content)if(this.addParams.buttonContent&&this.addParams.buttonPath||!this.addParams.buttonContent&&!this.addParams.buttonPath){if(this.addParams.buttonPath){let t=this.addParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));const e=t.filter((t=>!t.startsWith("/")));if(e.length>0)return void this.$message.error(`路径必须以 / 开头: ${e.join(", ")}`);if(this.addParams.buttonContent){let e=this.addParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.addParams.buttonContent&&this.addParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}}this.addBroadcast(this.addParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},sureEditBroadcast(){let t,e;if(this.editParams.content=this.editParams.content.trim(),this.editParams.content=this.editParams.content.replace(/[\r\n]/g,""),this.editParams.content){if(this.editParams.buttonContent){if(this.editParams.buttonContent=this.editParams.buttonContent.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonContent){if(t=this.editParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"))}if(this.editParams.buttonPath){if(this.editParams.buttonPath=this.editParams.buttonPath.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonPath){if(e=this.editParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));const t=e.filter((t=>!t.startsWith("/")));if(t.length>0)return void this.$message.error(`路径必须以 / 开头: ${t.join(", ")}`)}}if(this.editParams.buttonContent&&this.editParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}this.editBroadcast(this.editParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},handleEdit(t){this.getBroadcast({id:t.id})},handleEditClose(){this.editDialogVisible=!1,this.editParams.content="",this.editParams.buttonContent="",this.editParams.buttonPath="",this.setLoading("editLoading",!1)},handelDelete(t){this.deleteBroadcast({id:t.id})},getUtf8Bytes(t){let e=0;for(let s=0;s100){this.isOverLimit=!0;let i="",a=0;for(let e of t){let t=this.getUtf8Bytes(e);if(a+t>100)break;i+=e,a+=t}"add"===e?this.addParams.content=i:this.editParams.content=i,s=a}else this.isOverLimit=!1,"add"===e?this.addParams.content=t:this.editParams.content=t;this.byteCount=s},handelTime(t){return`${t.split("T")[0]} ${t.split("T")[1]}`},handleSizeChange(t){console.log(`每页 ${t} 条`),this.listParams.pageSize=t,this.listParams.pageNum=1,this.currentPage=1,this.fetchList(this.listParams)},handleCurrentChange(t){console.log(`当前页: ${t}`),this.listParams.pageNum=t,this.fetchList(this.listParams)},getValidPathSuggestions(){return[]},showPathHelp(){const t="\n 路径规则:\n • 多个路径用逗号分隔\n • 路径格式自由,不做严格验证\n • 支持任意路径格式\n ";this.$alert(t,"路径格式说明",{confirmButtonText:"知道了",type:"info",customClass:"path-help-dialog"})},formatButtonContent(t){return t&&"string"===typeof t?t.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):[]},formatButtonPath(t){return t&&"string"===typeof t?t.split(/[,,]/).map((t=>t.trim())).filter((t=>t)):[]}}}},59018:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(13579);var i=s(1652);const a="announcementDetails:selectedId";e["default"]={data(){return{problems:[{id:1,title:"如何开始挖矿?",content:"详细步骤:注册、配置矿机、连接矿池。"},{id:2,title:"如何查看收益?",content:"登录后在个人中心查看收益统计。"},{id:3,title:"如何联系客服?",content:"可通过在线客服或提交工单联系我们。"}],listParams:{type:"3",lang:this.$i18n.locale,pageNum:1,pageSize:50},problemLoading:!1,DetailsParams:{id:"",lang:this.$i18n.locale},info:""}},mounted(){this.fetchProblemsList(this.listParams)},methods:{async fetchProblemsList(t){this.setLoading("problemLoading",!0);const e=await(0,i.documentsList)(t);if(e&&200===e.code){this.problems=e.rows;const t=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"",s=this.getSavedSelectedId();let i=t||s||"";if(!i&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id)),i){const t=(this.problems||[]).some((t=>String(t.id)===String(i)));!t&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id))}this.DetailsParams.id=i,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}this.setLoading("problemLoading",!1)},async fetchProblemDetails(t){this.setLoading("problemLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(console.log(e,"res"),this.info=e.data.content||""),this.setLoading("problemLoading",!1)},handleClick(t){this.DetailsParams.id=t,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.fetchProblemDetails(this.DetailsParams)},persistSelectedId(t){try{window.localStorage.setItem(a,String(t))}catch(e){console.error("persistSelectedId error",e)}},getSavedSelectedId(){try{return window.localStorage.getItem(a)||""}catch(t){return console.error("getSavedSelectedId error",t),""}},updateRouteQueryId(t){try{if(!this.$route)return;const e=String(t),s=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"";if(s===e)return;const i={...this.$route.query||{},id:e};if(this.$router&&"function"===typeof this.$router.replace){const t=this.$router.replace({query:i});t&&"function"===typeof t.catch&&t.catch((()=>{}))}}catch(e){console.error("updateRouteQueryId error",e)}}}}},63587:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"editor-page"},[e("div",{staticClass:"page-header"},[t._m(0),e("div",{staticClass:"header-actions"},[e("el-button",{attrs:{type:"info",icon:"el-icon-view"},on:{click:t.handlePreview}},[t._v(" 预览文档 ")]),e("el-button",{attrs:{type:"success",icon:"el-icon-document"},on:{click:t.handleSave}},[t._v(" 保存文档 ")]),e("el-button",{attrs:{type:"warning",icon:"el-icon-upload2"},on:{click:t.handelAddDocument}},[t._v(" 发布文档 ")])],1)]),e("div",{staticClass:"config-section"},[t._m(1),e("div",{staticClass:"config-content"},[e("div",{staticClass:"config-row"},[e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v("文档标题")]),e("el-input",{attrs:{placeholder:"请输入文档标题",size:"medium"},on:{input:t.handleAutoSave},model:{value:t.addParams.title,callback:function(e){t.$set(t.addParams,"title",e)},expression:"addParams.title"}})],1),e("div",{staticClass:"config-item"},[e("label",{staticClass:"required"},[t._v("文档类型")]),e("el-select",{attrs:{placeholder:"请选择文档类型",size:"medium"},on:{change:t.handleAutoSave},model:{value:t.addParams.type,callback:function(e){t.$set(t.addParams,"type",e)},expression:"addParams.type"}},t._l(t.TypeList,(function(t){return e("el-option",{key:t.value,attrs:{label:t.label,value:t.value}})})),1)],1)])])]),e("div",{staticClass:"editor-section"},[t._m(2),e("div",{staticClass:"editor-container"},[e("Toolbar",{staticStyle:{"border-bottom":"1px solid #ccc"},attrs:{editor:t.editor,defaultConfig:t.toolbarConfig,mode:t.mode}}),e("Editor",{staticStyle:{height:"600px","overflow-y":"hidden"},attrs:{defaultConfig:t.editorConfig,mode:t.mode},on:{onCreated:t.onCreated,onChange:t.handleEditorChange},model:{value:t.addParams.content,callback:function(e){t.$set(t.addParams,"content",e)},expression:"addParams.content"}})],1)]),e("el-dialog",{staticClass:"preview-dialog",attrs:{title:"文档预览",visible:t.previewVisible,width:"80%","before-close":t.handlePreviewClose},on:{"update:visible":function(e){t.previewVisible=e}}},[e("div",{staticClass:"preview-content"},[e("div",{domProps:{innerHTML:t._s(t.addParams.content)}}),t.addParams.content?t._e():e("div",{staticClass:"preview-empty"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v("暂无内容")])])]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{on:{click:function(e){t.previewVisible=!1}}},[t._v("关闭")]),e("el-button",{attrs:{type:"primary"},on:{click:t.handlePrintPreview}},[t._v("打印预览")])],1)])],1)},e.Yp=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"header-left"},[e("div",{staticClass:"title-section"},[e("i",{staticClass:"el-icon-edit-outline title-icon"}),e("h1",{staticClass:"page-title"},[t._v("wangeditor 富文本文档编辑器")])]),e("p",{staticClass:"page-description"},[t._v("使用富文本编辑器创建和管理文档,支持文本格式化、链接、列表等功能")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-setting"}),e("span",[t._v("文档配置")])])},function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"section-header"},[e("i",{staticClass:"el-icon-edit-outline"}),e("span",[t._v("富文本编辑器")])])}]},63683:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(91312),a=s(17308),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"ec5988d8",null),l=r.exports},64909:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(98383),a=s(8619),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"0e9d673d",null),l=r.exports},66443:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"ServiceTerms"},[e("section",{staticClass:"content"},[t.loading?e("div",{staticClass:"loading-container"},[e("el-icon",{staticClass:"is-loading"},[e("i",{staticClass:"el-icon-loading"})]),e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("ServiceTerms.loadingText")||"正在加载文档内容..."))])],1):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("ServiceTerms.noContent")||"暂无自定义文档内容"))])])])])},e.Yp=[]},66888:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{rateList:[{value:"nexa",label:"nexa",img:`${this.$baseApi}img/nexa.png`,condition:"course.conditionNexa",interval:"course.intervalNexa",estimatedTime:"course.estimatedTimeNexa",describe:"course.describeNexa"},{value:"grs",label:"grs",img:`${this.$baseApi}img/grs.svg`,condition:"course.conditionGrs",interval:"course.intervalGrs",estimatedTime:"course.estimatedTimeGrs",describe:"course.describeGrs"},{value:"mona",label:"mona",img:`${this.$baseApi}img/mona.svg`,condition:"course.conditionMona",interval:"course.intervalMona",estimatedTime:"course.estimatedTimeMona",describe:"course.describeMona"},{value:"dgbs",label:"dgb(skein)",img:`${this.$baseApi}img/dgb.svg`,condition:"course.conditionDgbs",interval:"course.intervalDgbs",estimatedTime:"course.estimatedTimeDgbs",describe:"course.describeDgbs"},{value:"dgbq",label:"dgb(qubit)",img:`${this.$baseApi}img/dgb.svg`,condition:"course.conditionDgbq",interval:"course.intervalDgbq",estimatedTime:"course.estimatedTimeDgbq",describe:"course.describeDgbq"},{value:"dgbo",label:"dgb(odocrypt)",img:`${this.$baseApi}img/dgb.svg`,condition:"course.conditionDgbo",interval:"course.intervalDgbo",estimatedTime:"course.estimatedTimeDgbo",describe:"course.describeDgbo"},{value:"rxd",label:"radiant",img:`${this.$baseApi}img/rxd.png`,condition:"course.conditionRxd",interval:"course.intervalRxd",estimatedTime:"course.estimatedTimeRxd",describe:"course.describeRxd"},{value:"alph",label:"alephium",img:`${this.$baseApi}img/alph.svg`,condition:"course.conditionAlph",interval:"course.intervalAlph",estimatedTime:"course.estimatedTimeAlph",describe:"course.describeAlph"}]}}}},67975:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={data(){return{currencyList:[{value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"NEXA 全名为NEXA Coin。它的主要目标是建立一个安全、高效的去中心化数字资产交易生态系统,提供更好的交易体验和丰富的金融服务‌。"},{value:"grs",label:"grs",img:s(78628),imgUrl:`${this.$baseApi}img/grs.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌GRS全称为Grscoin,也称为Groestlcoin。它于2014年创立,采用Groestl算法,旨在提供更快速、更节能的交易环境‌"},{value:"mona",label:"mona",img:s(85857),imgUrl:`${this.$baseApi}img/mona.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌Mona币(Monacoin)‌,中文名为萌奈币,是2013年12月诞生的日本第一个数字货币。Mona币采用Scrypt算法和Proof of Work机制,旨在成为一种广泛接受的数字货币,主要用于日本的在线交易、游戏和文化产业‌。"},{value:"dgbs",label:"dgb(skein)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台"},{value:"dgbq",label:"dgb(qubit)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台"},{value:"dgbo",label:"dgb(odocrypt)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"‌DGB币(DigiByte)是一种全球性的去中心化支付网络和数字货币,灵感来源于比特币‌‌ DGB币的中文名称为“极特币”,其设计理念是提供一个快速、安全且低成本的交易平台"},{value:"rxd",label:"radiant",img:s(94158),imgUrl:`${this.$baseApi}img/rxd.png`,poolPower:"565656",totalPower:"5656",totalDifficulty:"879789",algorithm:"545",height:"898989",price:"3333 USD",describe:"Radiant币(RDNT)是Radiant Capital项目的原生代币,主要用于借款利息支付、流动性挖矿释放以及提前提款的罚金‌‌.Radiant Capital是一个建立在Arbitrum上的跨链借贷协议平台,旨在发展成为一个跨链借贷市场,允许用户在多个区块链上进行借贷操作"}]}}}},70525:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(22489),s(20116),s(61701);var i=s(1652);e["default"]={data(){return{tableData:[],listParams:{pageNum:1,pageSize:50,keyword:"",lang:"",type:""},addParams:{content:"",buttonContent:"",buttonPath:""},editParams:{content:"",id:"",buttonContent:"",buttonPath:""},dialogVisible:!1,bthLoading:!1,documentLoading:!1,editDialogVisible:!1,editLoading:!1,byteCount:"",isOverLimit:!1,total:0,pageSizes:[50,100,300],currentPage:1,TypeList:[{value:"1",label:"backendSystem.miningTutorial",articleUrl:"AccessMiningPool"},{value:"2",label:"backendSystem.commonProblems",articleUrl:"commonProblem"},{value:"3",label:"backendSystem.announcementCenter",articleUrl:"announcements"},{value:"0",label:"backendSystem.other",articleUrl:"",children:[{value:"1",label:"home.serviceTerms",articleUrl:"serviceTerms"},{value:"2",label:"home.rate",articleUrl:"rate"},{value:"3",label:"home.APIfile",articleUrl:"apiFile"}]}],queryParams:{keyword:"",type:""}}},mounted(){let t;this.$addStorageEvent(1,"TypeList",JSON.stringify(this.TypeList)),this.listParams.lang=this.$i18n.locale;try{t=JSON.parse(localStorage.getItem("token"))}catch(e){console.log(e)}t&&this.fetchListData(this.listParams)},methods:{async fetchListData(t){this.setLoading("documentLoading",!0);const e=await(0,i.getListDataByPage)(t);200===e.code&&(this.tableData=e.rows,this.total=e.total),this.setLoading("documentLoading",!1)},async fetchUpdateDocument(t){this.setLoading("editLoading",!0),console.log("发送编辑广播请求的参数:",t);const e=await(0,i.updateDocument)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.editSuccess")),this.editDialogVisible=!1,this.fetchListData(this.listParams)),this.setLoading("editLoading",!1)},async deleteDocument(t){const e=await(0,i.deleteDocument)(t);200===e.code&&(this.$message.success(this.$t("backendSystem.deleteSuccess")),this.fetchListData(this.listParams))},handelAddDocument(){const t=this.$i18n.locale;this.$router.push(`/${t}/addDocument`)},handleClose(){this.dialogVisible=!1,this.addParams.content="",this.addParams.buttonContent="",this.addParams.buttonPath="",this.setLoading("bthLoading",!1)},sureAddBroadcast(){if(this.addParams.content=this.addParams.content.trim(),this.addParams.content=this.addParams.content.replace(/[\r\n]/g,""),this.addParams.buttonPath=this.addParams.buttonPath.trim(),this.addParams.buttonPath=this.addParams.buttonPath.replace(/[\r\n]/g,""),this.addParams.content)if(this.addParams.buttonContent&&this.addParams.buttonPath||!this.addParams.buttonContent&&!this.addParams.buttonPath){if(this.addParams.buttonPath){let t=this.addParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.addParams.buttonContent){let e=this.addParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t));if(e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.addParams.buttonContent&&this.addParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}const e=t.filter((t=>!isValidPath(t)));if(e.length>0){const t=getPathSuggestions(e[0]);return void this.$message.error(`${this.$t("backendSystem.invalidPath")}: ${e.join(", ")}。${this.$t("backendSystem.invalidPathSuggestions")}: ${t.slice(0,3).join(", ")}`)}}this.addBroadcast(this.addParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},surefetchUpdateDocument(){let t,e;if(this.editParams.content=this.editParams.content.trim(),this.editParams.content=this.editParams.content.replace(/[\r\n]/g,""),this.editParams.content){if(this.editParams.buttonContent){if(this.editParams.buttonContent=this.editParams.buttonContent.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonContent){if(t=this.editParams.buttonContent.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),t.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===t.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"))}if(this.editParams.buttonPath){if(this.editParams.buttonPath=this.editParams.buttonPath.trim().replace(/[\r\n]/g,""),!(this.editParams.buttonContent&&this.editParams.buttonPath||!this.editParams.buttonContent&&!this.editParams.buttonPath))return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));if(this.editParams.buttonPath){if(e=this.editParams.buttonPath.split(/[,,]/).map((t=>t.trim())).filter((t=>t)),e.length>5)return void this.$message.warning(this.$t("backendSystem.max5"));if(0===e.length)return void this.$message.warning(this.$t("backendSystem.pleaseInputButtonContentAndPath"));const t=e.filter((t=>!isValidPath(t)));if(t.length>0){const e=getPathSuggestions(t[0]);return void this.$message.error(`${this.$t("backendSystem.invalidPath")}: ${t.join(", ")}。${this.$t("backendSystem.invalidPathSuggestions")}: ${e.slice(0,3).join(", ")}`)}}}if(this.editParams.buttonContent&&this.editParams.buttonPath&&t.length!==e.length)return void this.$message.warning(this.$t("backendSystem.pathNumberNotMatch"))}this.fetchUpdateDocument(this.editParams)}else this.$message.warning(this.$t("backendSystem.pleaseInputContent"))},handleEdit(t){this.$router.push({path:`/${this.$i18n.locale}/modifyDocument`,query:{id:t.id}})},handleEditClose(){this.editDialogVisible=!1,this.editParams.content="",this.editParams.buttonContent="",this.editParams.buttonPath="",this.setLoading("editLoading",!1)},handelDelete(t){this.deleteDocument({id:t.id})},getUtf8Bytes(t){let e=0;for(let s=0;s100){this.isOverLimit=!0;let i="",a=0;for(let e of t){let t=this.getUtf8Bytes(e);if(a+t>100)break;i+=e,a+=t}"add"===e?this.addParams.content=i:this.editParams.content=i,s=a}else this.isOverLimit=!1,"add"===e?this.addParams.content=t:this.editParams.content=t;this.byteCount=s},handelTime(t){return`${t.split("T")[0]} ${t.split("T")[1]}`},handleSizeChange(t){this.listParams.pageSize=t,this.listParams.pageNum=1,this.currentPage=1,this.fetchListData(this.listParams)},handleCurrentChange(t){this.listParams.pageNum=t,this.fetchListData(this.listParams)},getValidPathSuggestions(){return getPathSuggestions("").slice(0,8)},showPathHelp(){const t=this.getValidPathSuggestions(),e=`\n 常用路径示例:\n ${t.slice(0,10).join("\n")}\n \n 路径规则:\n • 多个路径用逗号分隔\n • 路径必须以 / 开头\n • 支持动态路由参数\n • 不要包含域名,只写路径部分\n `;this.$alert(e,"路径格式说明",{confirmButtonText:"知道了",type:"info",customClass:"path-help-dialog"})},formatButtonContent(t){return t&&"string"===typeof t?t.split(",").map((t=>t.trim())).filter((t=>t)):[]},formatButtonPath(t){return t&&"string"===typeof t?t.split(",").map((t=>t.trim())).filter((t=>t)):[]},handelType(t){try{let e=this.TypeList.find((e=>e.value==t)).label;return this.$t(e)}catch(e){return""}},changeScreen(t){this.listParams.type=t,this.fetchListData(this.listParams)},handelQuery(){this.listParams.keyword=this.queryParams.keyword,this.listParams.keyword?this.fetchListData(this.listParams):this.$message.warning(this.$t("backendSystem.pleaseInputKeyword"))},handleInputClear(){this.listParams.keyword=this.queryParams.keyword,this.fetchListData(this.listParams)}}}},72841:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(35329),a=s(4710),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"fdce8168",null),l=r.exports},75690:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcements-container"},[e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.announcementsLoading,expression:"announcementsLoading"}],staticClass:"main-content"},[e("div",{staticClass:"page-header"},[e("div",{staticClass:"header-left"},[e("h1",{staticClass:"page-title"},[t._v(t._s(t.$t("home.announcements")||"公告中心"))])])]),t.showMarkdownGuide?e("div",{staticClass:"markdown-guide-section"},[e("transition",{attrs:{name:"slide-fade"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.showMarkdownGuide,expression:"showMarkdownGuide"}],staticClass:"markdown-guide-content"},[e("div",{staticClass:"guide-container"},[e("h3",{staticClass:"guide-title"},[t._v("📝 Markdown 语法规则详解")]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("1. 标题语法 (#符号)")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("# 一级标题 (最大)\n## 二级标题 \n### 三级标题\n#### 四级标题\n##### 五级标题\n###### 六级标题 (最小)")])])]),e("div",{staticClass:"result-preview"},[e("h1",{staticStyle:{"font-size":"24px",margin:"8px 0"}},[t._v("一级标题")]),e("h2",{staticStyle:{"font-size":"20px",margin:"6px 0"}},[t._v("二级标题")]),e("h3",{staticStyle:{"font-size":"16px",margin:"4px 0"}},[t._v("三级标题")])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("2. 文本格式化")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("**粗体文本**\n*斜体文本*\n***粗斜体***\n~~删除线~~\n`行内代码`")])])]),e("div",{staticClass:"result-preview"},[e("p",[e("strong",[t._v("粗体文本")])]),e("p",[e("em",[t._v("斜体文本")])]),e("p",[e("strong",[e("em",[t._v("粗斜体")])])]),e("p",[e("del",[t._v("删除线")])]),e("p",[e("code",[t._v("行内代码")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("3. 列表语法")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("- 无序列表项 1\n- 无序列表项 2\n - 子列表项 2.1\n - 子列表项 2.2\n\n1. 有序列表项 1\n2. 有序列表项 2\n3. 有序列表项 3")])])]),e("div",{staticClass:"result-preview"},[e("ul",[e("li",[t._v("无序列表项 1")]),e("li",[t._v("无序列表项 2 "),e("ul",[e("li",[t._v("子列表项 2.1")]),e("li",[t._v("子列表项 2.2")])])])]),e("ol",[e("li",[t._v("有序列表项 1")]),e("li",[t._v("有序列表项 2")]),e("li",[t._v("有序列表项 3")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("4. 链接和图片")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("[链接文本](https://example.com)\n![图片描述](https://example.com/image.png)\n\n参考式链接:\n[链接文本][1]\n[1]: https://example.com")])])]),e("div",{staticClass:"result-preview"},[e("p",[e("a",{staticStyle:{color:"#5721E4"},attrs:{href:"#"}},[t._v("链接文本")])]),e("p",[t._v("📷 图片会在这里显示")]),e("p",[e("a",{staticStyle:{color:"#5721E4"},attrs:{href:"#"}},[t._v("参考式链接")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("5. 代码块")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v('```javascript\nfunction hello() {\n console.log("Hello World!");\n}\n```\n\n```python\ndef hello():\n print("Hello World!")\n```')])])]),e("div",{staticClass:"result-preview"},[e("pre",{staticStyle:{background:"#f8f9fa",padding:"12px","border-radius":"4px"}},[e("code",[t._v('function hello() {\n console.log("Hello World!");\n}')])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("6. 表格语法")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("| 列标题1 | 列标题2 | 列标题3 |\n|---------|---------|---------|\n| 单元格1 | 单元格2 | 单元格3 |\n| 数据A | 数据B | 数据C |\n\n对齐方式:\n| 左对齐 | 居中对齐 | 右对齐 |\n|:-------|:--------:|-------:|\n| 左 | 中 | 右 |")])])]),e("div",{staticClass:"result-preview"},[e("table",{staticStyle:{"border-collapse":"collapse",width:"100%"}},[e("thead",[e("tr",{staticStyle:{background:"#f8f9fa"}},[e("th",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("列标题1")]),e("th",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("列标题2")]),e("th",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("列标题3")])])]),e("tbody",[e("tr",[e("td",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("单元格1")]),e("td",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("单元格2")]),e("td",{staticStyle:{border:"1px solid #ddd",padding:"8px"}},[t._v("单元格3")])])])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("7. 引用语法")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("> 这是一个引用块\n> 可以包含多行内容\n> \n> > 嵌套引用\n> > 可以多层嵌套")])])]),e("div",{staticClass:"result-preview"},[e("blockquote",{staticStyle:{"border-left":"4px solid #5721E4","padding-left":"16px",margin:"16px 0",color:"#666"}},[e("p",[t._v("这是一个引用块"),e("br"),t._v("可以包含多行内容")]),e("blockquote",{staticStyle:{"border-left":"4px solid #ccc","padding-left":"16px"}},[e("p",[t._v("嵌套引用"),e("br"),t._v("可以多层嵌套")])])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("8. 分隔线")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("--- (三个或更多短横线)\n*** (三个或更多星号) \n___ (三个或更多下划线)")])])]),e("div",{staticClass:"result-preview"},[e("hr",{staticStyle:{border:"none","border-top":"1px solid #ddd",margin:"16px 0"}})])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("9. 任务列表")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("- [x] 已完成任务\n- [ ] 待完成任务\n- [x] 另一个已完成任务")])])]),e("div",{staticClass:"result-preview"},[e("ul",{staticStyle:{"list-style":"none","padding-left":"0"}},[e("li",[t._v("☑️ 已完成任务")]),e("li",[t._v("☐ 待完成任务")]),e("li",[t._v("☑️ 另一个已完成任务")])])])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("10. 转义字符")]),e("div",{staticClass:"example-container"},[e("div",{staticClass:"syntax-example"},[e("pre",[e("code",[t._v("\\* 显示星号而不是斜体\n\\# 显示井号而不是标题\n\\` 显示反引号\n\\\\ 显示反斜杠")])])]),e("div",{staticClass:"result-preview"},[e("p",[t._v("* 显示星号而不是斜体")]),e("p",[t._v("# 显示井号而不是标题")]),e("p",[t._v("` 显示反引号")]),e("p",[t._v("\\ 显示反斜杠")])])])]),e("div",{staticClass:"guide-section tips-section"},[e("h4",[t._v("💡 实用提示")]),e("div",{staticClass:"tips-grid"},[e("div",{staticClass:"tip-item"},[e("strong",[t._v("标题层级:")]),t._v("按逻辑顺序使用,不跳级 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("空行:")]),t._v("在不同元素之间添加空行提高可读性 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("列表缩进:")]),t._v("子列表用2个空格缩进 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("代码语言:")]),t._v("指定代码块语言以获得语法高亮 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("表格对齐:")]),t._v("保持表格列的对齐美观 ")]),e("div",{staticClass:"tip-item"},[e("strong",[t._v("链接描述:")]),t._v("使用有意义的链接文本 ")])])]),e("div",{staticClass:"guide-section"},[e("h4",[t._v("⌨️ 编辑器快捷键")]),e("div",{staticClass:"shortcuts-grid"},[e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("B")]),t._v(" → 粗体 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("I")]),t._v(" → 斜体 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("K")]),t._v(" → 插入链接 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("`")]),t._v(" → 行内代码 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("1-6")]),t._v(" → 标题 ")]),e("div",{staticClass:"shortcut-item"},[e("kbd",[t._v("Ctrl")]),t._v(" + "),e("kbd",[t._v("Z")]),t._v(" → 撤销 ")])])])])])])],1):t._e(),e("div",{staticClass:"latest-section"},[e("h2",{staticClass:"section-title"},[t._v(t._s(t.$t("home.latestTitle")||"最新公告"))])]),!t.loading&&t.announcements.length>0?e("div",{staticClass:"announcement-list"},t._l(t.announcements,(function(s){return e("div",{key:s.id,staticClass:"announcement-item",on:{click:function(e){return t.handleAnnouncementClick(s)}}},[e("div",{staticClass:"announcement-content"},[e("h3",{staticClass:"announcement-title"},[t._v(t._s(s.title))]),e("div",{staticClass:"announcement-meta"},[e("span",{staticClass:"announcement-date"},[t._v(t._s(t.formatDate(s.createTime)))]),s.type?e("span",{staticClass:"announcement-type"},[t._v(t._s(t.handelType(s.type)))]):t._e()]),s.summary?e("p",{staticClass:"announcement-summary"},[t._v(" "+t._s(s.summary)+" ")]):t._e()]),t._m(0,!0)])})),0):t.loading||0!==t.announcements.length?t._e():e("div",{staticClass:"empty-state"},[e("div",{staticClass:"empty-content"},[e("i",{staticClass:"el-icon-document"}),e("p",[t._v(t._s(t.$t("home.noData")||"暂无公告"))])])]),t.announcements.length>0?e("div",{staticClass:"pagination-section"},[e("el-pagination",{staticClass:"pagination",attrs:{"current-page":t.currentPage,"page-sizes":[10,50,100,400],total:t.totalCount,layout:"total, sizes, prev, pager, next, jumper"},on:{"current-change":t.handleCurrentChange,"size-change":t.handleSizeChange}})],1):t._e()])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcement-arrow"},[e("i",{staticClass:"el-icon-arrow-right"})])}]},77452:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var i=s(90929),a=s(82908);e["default"]={data(){return{receiveData:{img:"",maId:"",coin:"",ma:""},dialogVisible:!1,params:{email:"",remark:"",code:"",maId:""},tableData:[{email:"5656"}],alertsLoading:!1,addMinerLoading:!1,btnDisabled:!1,btnDisabledClose:!1,btnDisabledPassword:!1,bthText:"user.obtainVerificationCode",bthTextClose:"user.obtainVerificationCode",bthTextPassword:"user.obtainVerificationCode",time:"",countDownTime:60,timer:null,countDownTimeClose:60,timerclose:null,countDownTimePassword:60,timerPassword:null,listParams:{maId:"",limit:10,page:1},modifyDialogVisible:!1,modifyRemark:"",modifyParams:{id:"",remark:""},deleteLoading:!1,userEmail:""}},computed:{countDownPassword(){Math.floor(this.countDownTimePassword/60);const t=this.countDownTimePassword%60,e=t<10?"0"+t:t;return`${e}`}},created(){window.sessionStorage.getItem("alerts_time")&&(this.countDownTimePassword=Number(window.sessionStorage.getItem("alerts_time")),this.startCountDownPassword(),this.btnDisabledPassword=!0,this.bthTextPassword="user.again")},mounted(){let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("userEmail");this.userEmail=JSON.parse(t)})),this.params.email=this.userEmail,this.$route.query&&(this.receiveData=this.$route.query,this.listParams.maId=this.receiveData.id,this.params.maId=this.receiveData.id),this.fetchList(this.listParams),this.registerRecoveryMethod("fetchList",this.listParams)},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},async fetchAddNoticeEmail(t){this.setLoading("addMinerLoading",!0);const e=await(0,i.getAddNoticeEmail)(t);if(e&&200==e.code){this.$message({type:"success",message:this.$t("alerts.addedSuccessfully")}),this.fetchList(this.listParams),this.dialogVisible=!1;for(const t in this.params)"maId"!==t&&(this.params[t]="")}this.setLoading("addMinerLoading",!1)},async fetchList(t){this.setLoading("alertsLoading",!0);const e=await(0,i.getList)(t);e&&200==e.code&&(this.tableData=e.rows),this.setLoading("alertsLoading",!1)},async fetchCode(t){const e=await(0,i.getCode)(t);e&&200==e.code&&this.$message({type:"success",message:this.$t("user.verificationCodeSuccessful")})},async fetchUpdateInfo(t){this.setLoading("addMinerLoading",!0);const e=await(0,i.getUpdateInfo)(t);e&&200==e.code&&(this.$message({type:"success",message:this.$t("alerts.modifiedSuccessfully")}),this.modifyDialogVisible=!1,this.fetchList(this.listParams)),this.setLoading("addMinerLoading",!1)},async fetchDeleteEmail(t){this.setLoading("deleteLoading",!0);const e=await(0,i.deleteEmail)(t);e&&200==e.code&&(this.$message({type:"success",message:this.$t("alerts.deleteSuccessfully")}),this.fetchList(this.listParams)),this.setLoading("deleteLoading",!1)},add(){this.dialogVisible=!0},confirmAdd(){const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;this.params.email=this.params.email.trim();let e=t.test(this.params.email);this.params.email&&e?this.params.code?this.fetchAddNoticeEmail(this.params):this.$message({message:this.$t("personal.eCode"),type:"error",customClass:"messageClass",showClose:!0}):this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0})},modify(t){this.modifyParams.id=t.id,this.modifyParams.remark=t.remark,this.modifyDialogVisible=!0},confirmModify(){this.modifyParams.remark?this.fetchUpdateInfo(this.modifyParams):this.$message({message:this.$t("alerts.modificationReminder"),type:"error",customClass:"messageClass",showClose:!0})},handelDelete(t){this.fetchDeleteEmail({id:t.id})},handelCode(){const t=/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$/;this.params.email=this.params.email.trim();let e=t.test(this.params.email);this.params.email&&e?0===this.listParams.maId||this.listParams.maId?(this.fetchCode({email:this.params.email,maId:this.listParams.maId}),null==window.sessionStorage.getItem("alerts_time")||(this.countDownTimePassword=Number(window.sessionStorage.getItem("alerts_time"))),this.startCountDownPassword()):this.$message({message:this.$t("alerts.acquisitionFailed"),type:"error",customClass:"messageClass",showClose:!0}):this.$message({message:this.$t("user.emailVerification"),type:"error",customClass:"messageClass",showClose:!0})},startCountDownPassword(){this.timerPassword=setInterval((()=>{this.countDownTimePassword<=1?(clearInterval(this.timerPassword),sessionStorage.removeItem("alerts_time"),this.countDownTimePassword=60,this.btnDisabledPassword=!1,this.bthTextPassword="user.obtainVerificationCode"):this.countDownTimePassword>0&&(this.countDownTimePassword--,this.btnDisabledPassword=!0,this.bthTextPassword="user.again",window.sessionStorage.setItem("alerts_time",this.countDownTimePassword))}),1e3)}}}},78006:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(59018));e.A={mixins:[a.default]}},80267:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(88017),a=s(95935),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"445d273c",null),l=r.exports},81475:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(50600),a=s(36425),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"81190992",null),l=r.exports},86465:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(13579);var i=s(1652);const a="commonProblem:selectedId";e["default"]={data(){return{problems:[],listParams:{type:"2",lang:this.$i18n.locale,pageNum:1,pageSize:50},problemLoading:!1,DetailsParams:{id:"",lang:this.$i18n.locale},info:""}},mounted(){this.fetchProblemsList(this.listParams)},methods:{async fetchProblemsList(t){this.setLoading("problemLoading",!0);const e=await(0,i.documentsList)(t);if(e&&200===e.code){this.problems=e.rows;const t=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"",s=this.getSavedSelectedId();let i=t||s||"";if(!i&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id)),i){const t=(this.problems||[]).some((t=>String(t.id)===String(i)));!t&&this.problems&&this.problems.length>0&&(i=String(this.problems[0].id))}this.DetailsParams.id=i,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}this.setLoading("problemLoading",!1)},async fetchProblemDetails(t){this.setLoading("problemLoading",!0);const e=await(0,i.findDataInfo)(t);e&&200===e.code&&(console.log(e,"res"),this.info=e.data.content||""),this.setLoading("problemLoading",!1)},handleClick(t){this.DetailsParams.id=t,this.persistSelectedId(this.DetailsParams.id),this.updateRouteQueryId(this.DetailsParams.id),this.fetchProblemDetails(this.DetailsParams)},persistSelectedId(t){try{window.localStorage.setItem(a,String(t))}catch(e){console.error("persistSelectedId error",e)}},getSavedSelectedId(){try{return window.localStorage.getItem(a)||""}catch(t){return console.error("getSavedSelectedId error",t),""}},updateRouteQueryId(t){try{if(!this.$route)return;const e=String(t),s=this.$route&&this.$route.query&&this.$route.query.id?String(this.$route.query.id):"";if(s===e)return;const i={...this.$route.query||{},id:e};if(this.$router&&"function"===typeof this.$router.replace){const t=this.$router.replace({query:i});t&&"function"===typeof t.catch&&t.catch((()=>{}))}}catch(e){console.error("updateRouteQueryId error",e)}}}}},87754:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rate"},[t.$isMobile?e("section",{staticClass:"rateMobile"},[e("section",{staticClass:"rightText"},[e("h3",[t._v(t._s(t.$t("apiFile.file")))]),e("div",{staticClass:"content"},[e("h4",[t._v(t._s(t.$t("apiFile.survey")))]),e("p",[t._v(t._s(t.$t("apiFile.survey1")))]),e("p",[t._v(t._s(t.$t("apiFile.survey2")))])]),e("div",{staticClass:"content"},[e("h3",[t._v(t._s(t.$t("apiFile.apiAuthentication")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication1"))+" "),e("span",{staticStyle:{color:"#651FFF",cursor:"pointer"},on:{click:function(e){return t.handelJump("personalCenter/personalAPI")}}},[t._v(t._s(t.$t("apiFile.apiAuthentication5")))]),t._v(" "+t._s(t.$t("apiFile.apiAuthentication6")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication2")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication3")))]),e("p",[t._v(t._s(t.$t("apiFile.apiAuthentication4")))]),t._m(0)]),e("div",{staticClass:"ExampleTable"},[e("div",{staticClass:"title"},[e("span",[t._v(t._s(t.$t("apiFile.url")))]),t._v(" "),e("span",[t._v(t._s(t.$t("apiFile.explain")))])]),e("div",[e("code",[t._v("https://m2pool.com/oapi/v1/pool/watch?coin={coin}")]),e("span",[t._v(t._s(t.$t("apiFile.explain1")))])]),e("div",[e("code",[t._v("https://m2pool.com/oapi/v1/pool/ hashrate_history?coin={coin}&start={yyyy-MM-dd}&end={yyyy-MM-dd }")]),e("span",[t._v(t._s(t.$t("apiFile.explain2")))])])]),e("div",{staticClass:"text-container"},[e("p",[t._v(t._s(t.$t("apiFile.explain3")))]),e("div",{staticClass:"container"},[e("p",[t._v("{")]),e("p",{staticStyle:{color:"crimson"}},[t._v('"code": {ERR_CODE},')]),e("p",[t._v(' "msg": "'+t._s(t.$t("apiFile.explain4"))+'"')]),e("p",[t._v("}")])])]),e("div",{staticClass:"text-container"},[e("p",[t._v(t._s(t.$t("apiFile.explain5")))]),t._m(1),e("p",[t._v(t._s(t.$t("apiFile.explain6")))])]),e("section",{staticClass:"MiningPool",attrs:{id:"HashRate"}},[e("h3",[t._v(t._s(t.$t("apiFile.miningPoolInformation")))]),e("div",{staticClass:"Pool"},[e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation1")))]),e("p",{staticClass:"hash"},[t._v("HashRate")]),e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation2")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("date")]),e("td",[t._v("Date")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.powerStatistics")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.power")))])])])]),e("div",{staticClass:"Pool",attrs:{id:"MinersList"}},[e("p",{staticClass:"hash"},[t._v("MinersList")]),e("p",[t._v(t._s(t.$t("apiFile.minersNum")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("total")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.totalMiners")))])]),e("tr",[e("td",[t._v("online")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.onLineMiners")))])]),e("tr",[e("td",[t._v("offline")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.offLineMiners")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.overviewOfMiningPool")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/watch")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("pool_fee")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.serviceCharge")))])]),e("tr",[e("td",[t._v("min_pay")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.minimumPaymentAmount")))])]),e("tr",[e("td",[t._v("miners")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.onLineMiners")))])]),e("tr",[e("td",[t._v("history_last_7days")]),t._m(2),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.latelyPower24h")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("Double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Power24h")))])]),e("tr",[e("td",[t._v("last_found")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.height")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.currentMiners")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/miners_list")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miners_list")]),t._m(3),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.eachState")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimePower")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/hashrate")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_realtime")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+" (h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.historyPower")))]),e("p",{staticClass:"Interface"},[t._v("Get /oapi/v1/pool/hashrate_history")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" pool")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("start")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.start2")))]),e("td",[t._v(t._s(t.$t("apiFile.start")))])]),e("tr",[e("td",[t._v("end")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.end2")))]),e("td",[t._v(t._s(t.$t("apiFile.end")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_30m")]),t._m(4),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),t._m(5),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])])]),e("section",{staticClass:"MiningPool",attrs:{id:"accountHashRate"}},[e("h3",[t._v(t._s(t.$t("apiFile.miningAccount")))]),e("div",{staticClass:"Pool"},[e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation1")))]),e("p",{staticClass:"hash"},[t._v("HashRate")]),e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation2")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("date")]),e("td",[t._v("Date")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.powerStatistics")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.power")))])])])]),e("div",{staticClass:"Pool",attrs:{id:"accountList"}},[e("p",{staticClass:"hash"},[t._v("MinersList")]),e("p",[t._v(t._s(t.$t("apiFile.minerData")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("total")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.totalMiners")))])]),e("tr",[e("td",[t._v("online")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.onLineMiners")))])]),e("tr",[e("td",[t._v("offline")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.offLineMiners")))])])])]),e("div",{staticClass:"Pool",attrs:{id:"MinerInfo"}},[e("p",{staticClass:"hash"},[t._v("MinerInfo")]),e("p",[t._v(t._s(t.$t("apiFile.stateData")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.minerId")))])]),e("tr",[e("td",[t._v("state")]),e("td",[t._v("int")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.minerStatus"))),e("br"),t._v(" "+t._s(t.$t("apiFile.minerStatus0"))),e("br"),t._v(" "+t._s(t.$t("apiFile.minerStatus1"))),e("br"),t._v(" "+t._s(t.$t("apiFile.minerStatus2")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.overviewOfMiners")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/watch")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miners_list")]),t._m(6),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.eachState")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.allMiners")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/miners_list")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("miners_list")]),t._m(7),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.eachState")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimeAccount")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/hashrate_real")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_realtime")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.account24h")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/hashrate_history")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("start")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.start2")))]),e("td",[t._v(t._s(t.$t("apiFile.start")))])]),e("tr",[e("td",[t._v("end")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.end2")))]),e("td",[t._v(t._s(t.$t("apiFile.end")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),t._m(8),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.account24h30m")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/account/hashrate_last24h")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" account")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_30m")]),t._m(9),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.average24h30m")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])])]),e("section",{staticClass:"MiningPool",attrs:{id:"minerHashRate"}},[e("h3",[t._v(t._s(t.$t("apiFile.miningMachineInformation")))]),e("div",{staticClass:"Pool"},[e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation1")))]),e("p",{staticClass:"hash"},[t._v("HashRate")]),e("p",[t._v(t._s(t.$t("apiFile.miningPoolInformation2")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("date")]),e("td",[t._v("Date")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.powerStatistics")))])]),e("tr",[e("td",[t._v("hashrate")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.power")))])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimeMiningMachine")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/miner/hashrate_real")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" miner")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.aCertainMiner")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_realtime")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower30m")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),e("td",[t._v("double")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.averagePower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.miningMachineHistory24h")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/miner/hashrate_history")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" miner")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.aCertainMiner")))])]),e("tr",[e("td",[t._v("start")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.start2")))]),e("td",[t._v(t._s(t.$t("apiFile.start")))])]),e("tr",[e("td",[t._v("end")]),e("td",[t._v("string")]),e("td",[t._v(t._s(t.$t("apiFile.end2")))]),e("td",[t._v(t._s(t.$t("apiFile.end")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_24h")]),t._m(10),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.historyPower24h")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v(" string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])]),e("div",{staticClass:"Pool"},[e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.realTimeMiningMachine24h30m")))]),e("p",{staticClass:"Interface"},[t._v("Post /oapi/v1/miner/hashrate_last24h")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.jurisdiction"))+" miner")]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.parameter")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("coin")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.currency")))])]),e("tr",[e("td",[t._v("mining_user")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.accountApiKey")))])]),e("tr",[e("td",[t._v("miner")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.aCertainMiner")))])])]),e("p",{staticClass:"hash"},[t._v(t._s(t.$t("apiFile.response")))]),e("table",{attrs:{border:"1"}},[e("tr",[e("th",[t._v(t._s(t.$t("apiFile.name")))]),e("th",[t._v(t._s(t.$t("apiFile.type")))]),e("th",[t._v(t._s(t.$t("apiFile.remarks")))]),e("th",[t._v(t._s(t.$t("apiFile.Explain")))])]),e("tr",[e("td",[t._v("hashrate_30m")]),t._m(11),e("td",[t._v("repeated")]),e("td",[t._v(t._s(t.$t("apiFile.average24h30m")))])]),e("tr",[e("td",[t._v("unit")]),e("td",[t._v("string")]),e("td"),e("td",[t._v(t._s(t.$t("apiFile.Company"))+"(h/s, kh/s, mh/s, gh/s …)")])])])])])])]):e("section",{staticClass:"rateBox"},[e("section",{staticClass:"leftMenu"},[e("ul",t._l(t.navList,(function(s){return e("li",{key:s.id,class:{navActive:String(s.id)===String(t.DetailsParams.id)},on:{click:function(e){return t.clickJump(s)}}},[e("i",{staticClass:"iconfont icon-baogao file"}),t._v(t._s(s.title)+" ")])})),0)]),e("section",{staticClass:"rightText"},[e("section",{staticClass:"rightContent"},[t.documentLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])])},e.Yp=[function(){var t=this,e=t._self._c;return e("ul",[e("li",[t._v("curl --request GET {url} \\")]),e("li",[t._v("--header 'Content-Type: application/json' \\")]),e("li",[t._v("--header 'API-KEY: {token}'")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"container"},[e("p",[t._v("{")]),e("p",{staticStyle:{color:"green"}},[t._v('"code": 200,')]),e("p",[t._v('"data": object')]),e("p",[t._v("}")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#HashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#MinersList"}},[t._v("MinersList")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#HashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#HashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#accountList"}},[t._v("MinersList")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#MinerInfo"}},[t._v("MinerInfo")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#accountHashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#accountHashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#minerHashRate"}},[t._v("HashRate")])])},function(){var t=this,e=t._self._c;return e("td",{staticClass:"active"},[e("a",{attrs:{href:"#minerHashRate"}},[t._v("HashRate")])])}]},88017:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",[e("section",{staticClass:"container"},[e("section",{staticClass:"leftNav"},t._l(t.problems,(function(s){return e("div",{key:s.id,staticClass:"leftNav-item",class:{active:t.DetailsParams.id==s.id},on:{click:function(e){return t.handleClick(s.id)}}},[t._v(" "+t._s(s.title)+" ")])})),0),e("section",{staticClass:"rightContent"},[t.problemLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])},e.Yp=[]},91312:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.alertsLoading,expression:"alertsLoading"}],staticClass:"alerts"},[t.$isMobile?e("section",{staticClass:"mobileMain"},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.receiveData.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.receiveData.coin))]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.receiveData.ma))])]),e("h4",[t._v(t._s(t.$t("alerts.Alarm")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful1")))]),e("section",{staticClass:"BthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.add}},[t._v(" "+t._s(t.$t("alerts.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow",attrs:{"data-v-76e7f323":""}})])],1),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("user.Account")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("work.operation")))])]),e("el-collapse",t._l(t.tableData,(function(s){return e("el-collapse-item",{key:s.id,attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[t._v(t._s(s.email))]),e("div",{staticClass:"operationBox"},[e("el-button",{staticClass:"modifyBth",attrs:{size:"small"},nativeOn:{click:function(e){return t.modify(s)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(t.scope.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",loading:t.deleteLoading,size:"small"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)],1)])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("user.Account")))]),e("p",[t._v(t._s(s.email))])]),e("div",[e("p",[t._v(t._s(t.$t("apiFile.remarks")))]),e("p",[t._v(t._s(s.remark))])])])],2)})),1)],1),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.addAlarmEmail")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.Account")))]),e("el-input",{staticClass:"input",attrs:{type:"email",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.email,callback:function(e){t.$set(t.params,"email",e)},expression:"params.email"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.params.code,callback:function(e){t.$set(t.params,"code",e)},expression:"params.code"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledPassword},on:{click:t.handelCode}},[t.countDownTimePassword<60&&t.countDownTimePassword>0?e("span",[t._v(t._s(t.countDownTimePassword))]):t._e(),t._v(t._s(t.$t(t.bthTextPassword)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmAdd}},[t._v(t._s(t.$t("personal.determine")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.modifyRemarks")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.modifyParams.remark,callback:function(e){t.$set(t.modifyParams,"remark",e)},expression:"modifyParams.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmModify}},[t._v(t._s(t.$t("personal.determine")))])],1)])],1):e("section",{staticClass:"pcMain"},[e("div",{staticClass:"accountInformation"},[e("img",{attrs:{src:t.receiveData.img,alt:"coin",loading:"lazy"}}),e("span",{staticClass:"coin"},[t._v(t._s(t.receiveData.coin))]),e("i",{staticClass:"iconfont icon-youjiantou"}),e("span",{staticClass:"ma"},[t._v(" "+t._s(t.receiveData.ma))])]),e("section",{staticClass:"content"},[e("h2",[t._v(t._s(t.$t("alerts.Alarm")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful")))]),e("p",{staticClass:"explain"},[e("i",{staticClass:"iconfont icon-zhuyi"}),t._v(" "+t._s(t.$t("alerts.beCareful1")))]),e("section",{staticClass:"BthBox"},[e("el-button",{staticClass:"addBth",on:{click:t.add}},[t._v(" "+t._s(t.$t("alerts.add"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow",attrs:{"data-v-76e7f323":""}})])],1),e("el-table",{staticClass:"table",staticStyle:{width:"100%","text-transform":"none","border-radius":"5px","margin-top":"18px"},attrs:{height:"500","header-cell-style":{"text-align":"center",background:"#D2C3EA",color:"#36246F",height:"60px"},"cell-style":{"text-align":"center"},data:t.tableData,"max-height":"600",stripe:""}},[e("el-table-column",{attrs:{prop:"email",label:t.$t("user.Account"),width:"230"}}),e("el-table-column",{attrs:{prop:"remark",label:t.$t("apiFile.remarks"),"show-overflow-tooltip":!0}}),e("el-table-column",{attrs:{fixed:"right",label:t.$t("work.operation"),width:"230"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-button",{staticClass:"modifyBth",attrs:{size:"small"},on:{click:function(e){return t.modify(s.row)}}},[t._v(" "+t._s(t.$t("personal.modify"))+" ")]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(s.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",loading:t.deleteLoading,size:"small"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)]}}])})],1)],1),e("el-dialog",{attrs:{visible:t.dialogVisible,width:"45%","close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.addAlarmEmail")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("user.Account")))]),e("el-input",{staticClass:"input",attrs:{type:"email",placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.email,callback:function(e){t.$set(t.params,"email",e)},expression:"params.email"}})],1),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("personal.verificationCode")))]),e("div",{staticClass:"verificationCode"},[e("el-input",{attrs:{type:"text",autocomplete:"off",placeholder:t.$t("user.verificationCode")},model:{value:t.params.code,callback:function(e){t.$set(t.params,"code",e)},expression:"params.code"}}),e("el-button",{staticClass:"codeBtn",attrs:{disabled:t.btnDisabledPassword},on:{click:t.handelCode}},[t.countDownTimePassword<60&&t.countDownTimePassword>0?e("span",[t._v(t._s(t.countDownTimePassword))]):t._e(),t._v(t._s(t.$t(t.bthTextPassword)))])],1)]),e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.params.remark,callback:function(e){t.$set(t.params,"remark",e)},expression:"params.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmAdd}},[t._v(t._s(t.$t("personal.determine")))])],1)]),e("el-dialog",{attrs:{visible:t.modifyDialogVisible,width:"35%","close-on-click-modal":!1},on:{"update:visible":function(e){t.modifyDialogVisible=e}}},[e("section",{staticClass:"dialogBox"},[e("div",{staticClass:"title",staticStyle:{"font-size":"1.3em"}},[t._v(t._s(t.$t("alerts.modifyRemarks")))]),e("div",{staticClass:"inputBox"},[e("div",{staticClass:"inputItem"},[e("span",{staticClass:"title"},[t._v(t._s(t.$t("apiFile.remarks")))]),e("el-input",{staticClass:"input",attrs:{placeholder:t.$t("personal.pleaseEnter")},model:{value:t.modifyParams.remark,callback:function(e){t.$set(t.modifyParams,"remark",e)},expression:"modifyParams.remark"}})],1)]),e("el-button",{staticStyle:{width:"30%","font-size":"1.1em"},attrs:{loading:t.addMinerLoading,type:"primary"},on:{click:t.confirmModify}},[t._v(t._s(t.$t("personal.determine")))])],1)])],1)])},e.Yp=[]},95307:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"announcementDetails"},[e("section",{staticClass:"container"},[e("section",{staticClass:"leftNav"},t._l(t.problems,(function(s){return e("div",{key:s.id,staticClass:"leftNav-item",class:{active:t.DetailsParams.id==s.id},on:{click:function(e){return t.handleClick(s.id)}}},[t._v(" "+t._s(s.title)+" ")])})),0),e("section",{staticClass:"rightContent"},[t.problemLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])},e.Yp=[]},95664:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(66888));e.A={metaInfo:{meta:[{name:"keywords",content:"分配、转账说明,矿池分配,转账说明,Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions"},{name:"description",content:window.vm.$t("seo.allocationExplanation")}]},mixins:[a.default]}},95935:function(t,e,s){var i=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var a=i(s(86465));e.A={mixins:[a.default]}},96254:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(87754),a=s(43421),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"cf94a3bc",null),l=r.exports},98327:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return a.B},default:function(){return l}});var i=s(75690),a=s(4447),n=a.A,o=s(81656),r=(0,o.A)(n,i.XX,i.Yp,!1,null,"7ee09dfe",null),l=r.exports},98383:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.documentLoading,expression:"documentLoading"}]},[e("div",{staticClass:"main-title-box"},[e("div",{staticClass:"main-title"},[t._v(t._s(t.$t("backendSystem.documentManagement")))]),e("el-button",{staticClass:"add-btn",on:{click:t.handelAddDocument}},[t._v(t._s(t.$t("backendSystem.addDocument"))+" "),e("i",{staticClass:"iconfont icon-youjiantou1 arrow"})])],1),e("el-form",{ref:"formRef",staticClass:"demo-form-inline",attrs:{inline:!0,model:t.queryParams}},[e("el-form-item",{attrs:{label:t.$t("backendSystem.documentType")||"文档类型",prop:"type"}},[e("el-select",{ref:"screen",staticClass:"input",attrs:{clearable:"",size:"middle",placeholder:t.$t("backendSystem.pleaseSelect")},on:{change:function(e){return t.changeScreen(t.queryParams.type)}},model:{value:t.queryParams.type,callback:function(e){t.$set(t.queryParams,"type",e)},expression:"queryParams.type"}},t._l(t.TypeList,(function(s){return e("el-option",{key:s.value,attrs:{label:t.$t(s.label),value:s.value}},[e("div",{staticStyle:{display:"flex","align-items":"center"}},[e("img",{staticStyle:{float:"left",width:"20px"},attrs:{src:s.imgUrl}}),e("span",{staticStyle:{float:"left","margin-left":"5px"}},[t._v(" "+t._s(t.$t(s.label)))])])])})),1)],1),e("el-form-item",{staticStyle:{"margin-left":"5vw"},attrs:{label:t.$t("backendSystem.search")||"搜索",prop:"minerUser"}},[e("el-input",{attrs:{placeholder:t.$t("backendSystem.pleaseInput"),clearable:""},on:{clear:t.handleInputClear},model:{value:t.queryParams.keyword,callback:function(e){t.$set(t.queryParams,"keyword",e)},expression:"queryParams.keyword"}})],1),e("el-form-item",{staticStyle:{"margin-left":"1vw"}},[e("el-button",{attrs:{type:"primary"},on:{click:t.handelQuery}},[t._v(t._s(t.$t("backendSystem.query")))])],1)],1),e("el-table",{staticStyle:{width:"100%","margin-bottom":"18px"},attrs:{data:t.tableData,border:"","header-cell-style":{"text-align":"center"},"cell-style":{"text-align":"center"},height:"60vh"}},[e("el-table-column",{attrs:{prop:"id",label:"ID",width:"60"}}),e("el-table-column",{attrs:{prop:"createTime",label:t.$t("backendSystem.createTime")||"创建时间",width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.createTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"createUser",label:t.$t("backendSystem.createUser")||"创建人",width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"content",label:t.$t("backendSystem.content")||"文档内容","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"title",label:t.$t("backendSystem.documentTitle")||"文档标题",width:"200","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{prop:"type",label:t.$t("backendSystem.documentType")||"文档类型",width:"100","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelType(e.row.type))+" ")]}}])}),e("el-table-column",{attrs:{prop:"updateTime",label:t.$t("backendSystem.updateTime")||"修改时间",width:"160","show-overflow-tooltip":""},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(" "+t._s(t.handelTime(e.row.updateTime))+" ")]}}])}),e("el-table-column",{attrs:{prop:"updateUser",label:t.$t("backendSystem.updateUser")||"修改人",width:"160","show-overflow-tooltip":""}}),e("el-table-column",{attrs:{label:t.$t("backendSystem.operation"),width:"160"},scopedSlots:t._u([{key:"default",fn:function(s){return[e("el-button",{attrs:{size:"mini"},on:{click:function(e){return t.handleEdit(s.row)}}},[t._v(t._s(t.$t("backendSystem.edit")))]),e("el-popconfirm",{attrs:{"confirm-button-text":t.$t("work.confirm"),"cancel-button-text":t.$t("work.cancel"),icon:"el-icon-info","icon-color":"red",title:t.$t("alerts.deleteRemind")},on:{confirm:function(e){return t.handelDelete(s.row)}}},[e("el-button",{staticClass:"elBtn",attrs:{slot:"reference",size:"mini"},slot:"reference"},[t._v(t._s(t.$t("personal.delete")))])],1)]}}])})],1),e("el-row",[e("el-col",{staticStyle:{display:"flex","justify-content":"center"},attrs:{span:24}},[e("el-pagination",{staticStyle:{margin:"0 auto"},attrs:{"current-page":t.currentPage,"page-sizes":t.pageSizes,"page-size":t.listParams.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:t.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange,"update:currentPage":function(e){t.currentPage=e},"update:current-page":function(e){t.currentPage=e}}})],1)],1)],1)},e.Yp=[]},99129:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var i=s(1652);e["default"]={name:"HelpCenter",data(){return{searchQuery:"",selectedLanguage:"zh",categories:[{id:1,name:"home.APIfile",route:"apiFile"},{id:2,name:"home.miningTutorial",route:"AccessMiningPool/nexaAccess"},{id:3,name:"home.serviceTerms",route:"ServiceTerms"},{id:4,name:"home.rate",route:"rate"},{id:5,name:"home.announcements",route:"announcements"},{id:6,name:"home.commonProblem",route:"commonProblem"}],recommendedItems:[{id:1,description:"home.allocationExplanation",route:"allocationExplanation"}],activities:[],activeParams:{type:"3",lang:this.$i18n.locale,pageNum:1,pageSize:10},TypeList:[{value:"1",label:"backendSystem.miningTutorial",articleUrl:"AccessMiningPool"},{value:"2",label:"backendSystem.commonProblems",articleUrl:"commonProblem"},{value:"3",label:"backendSystem.announcementCenter",articleUrl:"announcements"},{value:"0",label:"backendSystem.other",articleUrl:"",children:[{value:"1",label:"home.serviceTerms",articleUrl:"serviceTerms"},{value:"2",label:"home.rate",articleUrl:"rate"},{value:"3",label:"home.APIfile",articleUrl:"apiFile"}]}]}},mounted(){this.$addStorageEvent(1,"TypeList",JSON.stringify(this.TypeList)),this.fetchActivityList(this.activeParams)},methods:{async fetchActivityList(t){const e=await(0,i.documentsList)(t);console.log(e,"res"),200===e.code&&(this.activities=e.rows)},handleSearch(){if(this.searchQuery.trim()){let t=`/${this.$i18n.locale}/searchResult`;this.$router.push({path:t,query:{keyword:this.searchQuery}})}},handleCategoryClick(t){console.log(t,"i肯定看到");const e=this.$i18n.locale;this.$router.push(`/${e}/${t.route}`)},handleViewMore(){this.$router.push(`/${this.$i18n.locale}/announcements`)},handelType(t){try{let e=this.TypeList.find((e=>e.value==t)).label;return this.$t(e)}catch(e){return""}},handelTime(t){try{return`${t.split("T")[0]} ${t.split("T")[1]}`}catch(e){return""}},handleActivityClick(t){let e=`/${this.$i18n.locale}/announcementDetails`;this.$router.push({path:e,query:{id:t.id}})}}}}}]); \ No newline at end of file diff --git a/mining-pool/test/js/app-5c551db8.01dba909.js b/mining-pool/test/js/app-5c551db8.01dba909.js new file mode 100644 index 0000000..dcd9ff1 --- /dev/null +++ b/mining-pool/test/js/app-5c551db8.01dba909.js @@ -0,0 +1 @@ +"use strict";(self["webpackChunkmining_pool"]=self["webpackChunkmining_pool"]||[]).push([[774],{2487:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.NEXAcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),t._v("Nexa")]),e("span",[t._v("10000")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://nexa.m2pool.com:33333"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://nexa.m2pool.com:33333")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://nexa.m2pool.com:33335 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://nexa.m2pool.com:33335")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.GPU")))]),e("p",[t._v("bzminer、lolminer、Rigel、WildRig")])]),e("div",[e("p",[t._v(t._s(t.$t("course.ASIC")))]),e("p",[t._v(t._s(t.$t("course.dragonBall")))])])])],2)],1)],1),e("p",{attrs:{id:"careful"}},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" (support@m2pool.com) "+t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://nexa.org/"}},[t._v("https://nexa.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.miningIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{directives:[{name:"show",rawName:"v-show",value:"nexa"==t.activeCoin,expression:"activeCoin == 'nexa'"}],staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.NEXAcourse")))])]),e("div",{staticClass:"theServer",attrs:{id:"selectServer"}},[e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Nexa")])]),e("span",{staticClass:"coin quota"},[t._v("10000")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://nexa.m2pool.com:33333  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://nexa.m2pool.com:33333")}}})]),e("span",{staticClass:"port"},[t._v("stratum+ssl://nexa.m2pool.com:33335   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://nexa.m2pool.com:33335")}}})])])]),e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.Adaptation")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.GPU")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.ASIC")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/nexa.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Nexa")])]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(" bzminer、lolminer、Rigel、WildRig  ")]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.dragonBall"))+"   ")])])])]),e("p",{staticClass:"careful"},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail"))+":support@m2pool.com ")]),t._v(t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://nexa.org/"}},[t._v("https://nexa.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#selectServer"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#step2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.miningIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},4460:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(87716));e.A={mixins:[o.default]}},5136:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.RXDcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),t._v("radiant")]),e("span",[t._v("100")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://rxd.m2pool.com:33370 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+tcp://rxd.m2pool.com:33370")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://rxd.m2pool.com:33375 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://rxd.m2pool.com:33375")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.GPU")))]),e("p",[t._v("lolminer")])]),e("div",[e("p",[t._v(t._s(t.$t("course.ASIC")))]),e("p",[t._v(t._s(t.$t("course.dragonBall"))+"、"+t._s(t.$t("course.RX0")))])])])],2)],1)],1),e("p",{attrs:{id:"careful"}},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" (support@m2pool.com) "+t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://radiantblockchain.org/"}},[t._v("https://radiantblockchain.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.rxdIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.RXDcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Rxd")])]),e("span",{staticClass:"coin quota"},[t._v("100")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://rxd.m2pool.com:33370  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://rxd.m2pool.com:33370")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://rxd.m2pool.com:33375   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://rxd.m2pool.com:33375")}}})])])]),e("div",{staticClass:"title"},[t._v(t._s(t.$t("course.Adaptation")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.GPU")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.ASIC")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/rxd.png"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Rxd")])]),e("span",{staticClass:"coin quota"}),e("span",{staticClass:"port"},[t._v(" lolminer  ")]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.dragonBallA11"))+"  、 "+t._s(t.$t("course.RX0")))])])])]),e("p",{staticClass:"careful"},[t._v(" "+t._s(t.$t("course.careful"))),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail"))+":support@m2pool.com")]),t._v(t._s(t.$t("course.careful2"))+" ")]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://radiantblockchain.org/"}},[t._v("https://radiantblockchain.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.mxc.com/"}},[t._v("MEXC")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.rxdIncome1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},8705:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(68311));e.A={mixins:[o.default]}},9526:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.loadingRecoveryDirective=void 0;var o=a(s(66848));const i=e.loadingRecoveryDirective={inserted(t,e,s){const a=s.context,{loading:o,recovery:i}=e.value||{};if(!o||!i||!Array.isArray(i))return;const r=()=>{a[o]&&(a[o]=!1)};t._loadingRecovery=r,window.addEventListener("network-retry-complete",r),console.log(`[LoadingRecovery] 添加加载状态恢复: ${o}`)},unbind(t){t._loadingRecovery&&(window.removeEventListener("network-retry-complete",t._loadingRecovery),delete t._loadingRecovery)}};o.default.directive("loading-recovery",i)},9733:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(19559));e.A={mixins:[o.default],watch:{$route(t,e){this.handleRouteChange(t,e)}},methods:{handleRouteChange(t,e){t.name!==e.name&&this.$nextTick((()=>{this.$forceUpdate()}))}}}},11874:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(5136),o=s(86964),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"91fdfe0e",null),n=l.exports},16307:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgboCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("dgb(odocrypt)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbo.m2pool.com:33340"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+tcp://dgbo.m2pool.com:33340")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbo.m2pool.com:33345 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbo.m2pool.com:33345")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgboCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("dgb(odocrypt)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbo.m2pool.com:33340  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbo.m2pool.com:33340")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbo.m2pool.com:33345   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbo.m2pool.com:33345")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},17279:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},19526:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;e["default"]={401:"认证失败,无法访问系统资源,请重新登录",403:"当前操作没有权限",404:"访问资源不存在",default:"系统未知错误,请反馈给管理员"}},19559:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(20116);var a=s(1652);e["default"]={data(){return{menuList:[{path:"/AccessMiningPool",name:"course.NEXAcourse",value:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!1},{path:"",name:"course.RXDcourse",value:"rxd",show:!0}],activeCoin:"nexa",params:{coin:"nexa"},activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},pageTitle:"course.NEXAcourse",currencyList:[{path:"nexaAccess",value:"nexa",label:"nexa",img:s(95194),imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},{path:"grsAccess",value:"grs",label:"grs",imgUrl:`${this.$baseApi}img/grs.svg`,show:!0,name:"course.GRScourse",amount:1,tcp:"",ssl:""},{path:"monaAccess",value:"mona",label:"mona",imgUrl:`${this.$baseApi}img/mona.svg`,name:"course.MONAcourse",amount:1,tcp:"",show:!0,ssl:""},{path:"dgbsAccess",value:"dgbs",label:"dgb(skein)",img:s(94045),imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgbsCourse",amount:1,tcp:"",ssl:""},{path:"dgbqAccess",value:"dgbq",label:"dgb(qubit)",imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgbqCourse",amount:1,tcp:"",ssl:""},{path:"dgboAccess",value:"dgbo",label:"dgb(odocrypt)",imgUrl:`${this.$baseApi}img/dgb.svg`,show:!1,name:"course.dgboCourse",amount:1,tcp:"",ssl:""},{path:"rxdAccess",value:"rxd",label:"radiant",img:s(94158),imgUrl:`${this.$baseApi}img/rxd.png`,show:!0,name:"course.RXDcourse",amount:100,tcp:"stratum+tcp://rxd.m2pool.com:33370",ssl:"stratum+ssl://rxd.m2pool.com:33375",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://radiantblockchain.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.rxdIncome1",miningIncome2:"course.miningIncome2",GPU:"lolminer",ASIC:"course.dragonBallA11Move",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},{path:"alphminingPool",value:"alph",label:"Alephium(alph)",imgUrl:`${this.$baseApi}img/alph.svg`,show:!0,name:"course.alphCourse",amount:1,tcp:"",ssl:""}],currencyPath:`${this.$baseApi}img/nexa.png`,openAPI:!0,imgUrl:`${this.$baseApi}img/nexa.png`,activeName:"1",currentRoutePath:"",listParams:{type:"1",lang:this.$i18n.locale,pageNum:1,pageSize:50},tutorialLoading:!1,navList:[],DetailsParams:{id:"",lang:this.$i18n.locale},info:"",activeId:""}},watch:{$route:{immediate:!0,handler(t){this.currentRoutePath=t.path.split("/")[3]}}},mounted(){let t=this.$route.params&&this.$route.params.coin,e=localStorage.getItem("activeCoin")?JSON.parse(localStorage.getItem("activeCoin")):null,s=t||e||this.currencyList[0]&&this.currencyList[0].value;this.activeCoin=s,this.activeItem=this.currencyList.find((t=>t.value===s))||this.currencyList[0],this.params.coin=s,t&&localStorage.setItem("activeCoin",JSON.stringify(t)),this.fetchAllList(this.listParams)},methods:{async fetchAllList(t){this.setLoading("tutorialLoading",!0);const e=await(0,a.documentsList)(t);if(console.log(e,"res"),e&&200===e.code){const t=(e.rows||[]).slice().sort(((t,e)=>Number(t.id)-Number(e.id)));this.navList=t;const s=this.navList.find((t=>t.coin==this.params.coin));s&&s.coin?(this.DetailsParams.id=s.id,this.DetailsParams.coin=s.coin,this.clickJump(s)):this.$route.query.id?this.DetailsParams.id=this.$route.query.id:this.DetailsParams.id=this.navList[0]&&this.navList[0].id,this.DetailsParams.id&&this.fetchProblemDetails(this.DetailsParams)}},async fetchProblemDetails(t){this.setLoading("tutorialLoading",!0);const e=await(0,a.findDataInfo)(t);e&&200===e.code&&(this.info=e.data.content||"",this.activeId=e.data.id),this.setLoading("tutorialLoading",!1)},toggleDropdown(t){if(!t)return;const e=t.currentTarget,s=e.querySelector(".dropdown"),a=e.querySelector(".arrow");s&&(s.classList.toggle("show"),a?.classList.toggle("up"))},changeMenuName(t,e){if(console.log("走移动端了?"),!t)return;if(!e.path)return;t.stopPropagation(),this.currentRoutePath=e.path,this.activeItem=e,this.activeCoin=e.value,this.$addStorageEvent(1,"activeItem",JSON.stringify(e));const s=document.getElementById("menu1");if(!s)return;const a=s.querySelector(".dropdown"),o=s.querySelector(".arrow");a?.classList.remove("show"),o?.classList.remove("up"),this.$addStorageEvent(1,"activeItemCoin",JSON.stringify(e)),this.$addStorageEvent(1,"activeCoin",JSON.stringify(e.value)),e.path&&this.$router.push(`/${this.$i18n.locale}/AccessMiningPool/${e.path}`)},clickJump(t){this.DetailsParams.id=t.id,this.DetailsParams.coin=t.coin,this.activeCoin=t.coin,localStorage.setItem("activeCoin",JSON.stringify(this.activeCoin)),this.fetchProblemDetails(this.DetailsParams)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},24727:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},27048:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(2487),o=s(66496),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"089a61bb",null),n=l.exports},29808:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(79894),o=s(88125),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"415158a6",null),n=l.exports},30140:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.GRScourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),t._v("Grs")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://grs.m2pool.com:33310"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://grs.m2pool.com:33310")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://grs.m2pool.com:33315 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://grs.m2pool.com:33315")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.groestlcoin.org/"}},[t._v("https://www.groestlcoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.GRScourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/grs.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Grs")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://grs.m2pool.com:33310  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://grs.m2pool.com:33310")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://grs.m2pool.com:33315   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://grs.m2pool.com:33315")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.groestlcoin.org/"}},[t._v("https://www.groestlcoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},30926:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.totalDetailsLoading,expression:"totalDetailsLoading"}],staticClass:"main"},[t.$isMobile?e("section",{staticClass:"MobileMain"},[e("h4",[t._v(t._s(t.$t("work.WKDetails")))]),e("div",{staticClass:"contentMobile"},[e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:12,xl:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{xs:24,sm:10,md:10,lg:10,xl:10}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1),e("el-row",{staticStyle:{"margin-top":"30px !important"}},[e("el-col",[e("h5",[t._v(t._s(t.$t("work.describe"))+":")]),e("div",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h5",{staticStyle:{"margin-top":"30px"}},[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(s){return e("div",{key:s.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("div",{staticClass:"userName"},[t._v(t._s(s.name))]),e("div",{staticClass:"time"},[t._v(" "+t._s(t.handelTime(s.time)))])]),e("div",{attrs:{id:"contentBox"}},[t._v(" "+t._s(s.content)+" ")]),e("span",{directives:[{name:"show",rawName:"v-show",value:s.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(s.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",{staticStyle:{"margin-top":"30px"}},[e("div",[e("el-row",[e("el-col",[e("h5",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.ReplyContent"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",maxlength:"250","show-word-limit":"",autosize:{minRows:2,maxRows:6}},model:{value:t.replyParams.respon,callback:function(e){t.$set(t.replyParams,"respon",e)},expression:"replyParams.respon"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"100%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("div",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.ReplyWork")))]),e("el-button",{staticClass:"elBtn",staticStyle:{"border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"70%","before-close":t.handleClose},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.totalDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)]):e("div",{staticClass:"content"},[e("el-row",{attrs:{type:"flex",justify:"end"}},[e("el-col",{staticClass:"orderDetails"},[e("h3",[t._v(t._s(t.$t("work.WKDetails")))]),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.WorkID"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.id))])])]),e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(t._s(t.$t("work.mailbox"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.ticketDetails.email))])])])],1),e("el-row",[e("el-col",{attrs:{span:12}},[e("p",[e("span",{staticClass:"orderTitle"},[t._v(" "+t._s(t.$t("work.status"))+":")]),e("span",{staticClass:"orderContent"},[t._v(t._s(t.$t(t.handelStatus2(t.ticketDetails.status))))])])])],1)],1)],1),e("el-row",{staticStyle:{"margin-top":"30px"}},[e("el-col",[e("h4",[t._v(t._s(t.$t("work.describe"))+":")]),e("p",{staticStyle:{border:"1px solid rgba(0, 0, 0, 0.1)",padding:"20px 10px","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","margin-top":"18px","overflow-y":"auto","border-radius":"5px"}},[t._v(" "+t._s(t.ticketDetails.desc)+" ")])])],1),e("h4",[t._v(t._s(t.$t("work.record"))+":")]),e("div",{staticClass:"submitContent"},[e("el-row",{staticStyle:{margin:"0"}},t._l(t.recordList,(function(s){return e("div",{key:s.time,staticStyle:{"margin-top":"20px"}},[e("div",{staticClass:"submitTitle"},[e("span",[t._v(t._s(t.$t("work.user1"))+":"+t._s(s.name))]),e("span",[t._v(" "+t._s(t.$t("work.time4"))+":"+t._s(t.handelTime(s.time)))])]),e("div",{staticClass:"contentBox"},[e("span",{staticStyle:{display:"inline-block",width:"100%","word-wrap":"break-word","overflow-wrap":"break-word","max-height":"200px","overflow-y":"auto"}},[t._v(t._s(s.content))])]),e("span",{directives:[{name:"show",rawName:"v-show",value:s.files,expression:"item.files"}],staticClass:"downloadBox",on:{click:function(e){return t.handelDownload(s.files)}}},[t._v(t._s(t.$t("work.downloadFile")))])])})),0)],1),"10"!==t.ticketDetails.status?e("section",[e("div",[e("el-row",[e("el-col",[e("h4",{staticStyle:{"margin-bottom":"18px"}},[t._v(t._s(t.$t("work.ReplyContent"))+":")]),e("el-input",{attrs:{type:"textarea",placeholder:t.$t("work.input"),resize:"none",maxlength:"250","show-word-limit":"",autosize:{minRows:2,maxRows:6}},model:{value:t.replyParams.respon,callback:function(e){t.$set(t.replyParams,"respon",e)},expression:"replyParams.respon"}})],1)],1),e("el-form",[e("el-form-item",{staticStyle:{width:"50%"}},[e("div",{staticStyle:{width:"100%"}},[t._v(t._s(t.$t("work.enclosure")))]),e("p",{staticClass:"prompt"},[t._v(" "+t._s(t.$t("work.fileType"))+":jpg, jpeg, png, mp3, aif, aiff, wav, wma, mp4, avi, rmvb ")]),e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:"",multiple:"",limit:t.fileLimit,"on-exceed":t.handleExceed,"on-remove":t.handleRemove,"file-list":t.fileList,"on-change":t.handelChange,"show-file-list":"","auto-upload":!1}},[e("i",{staticClass:"el-icon-upload"}),e("div",{staticClass:"el-upload__text"},[t._v(" "+t._s(t.$t("work.fileCharacters"))),e("em",[t._v(" "+t._s(t.$t("work.fileCharacters2")))])])])],1),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelResubmit}},[t._v(" "+t._s(t.$t("work.ReplyWork")))]),e("el-button",{staticClass:"elBtn",staticStyle:{width:"200px","border-radius":"20px"},attrs:{type:"plain"},on:{click:t.handelEnd}},[t._v(" "+t._s(t.$t("work.endWork")))])],1)],1)]):t._e(),e("el-dialog",{attrs:{title:t.$t("work.Tips"),visible:t.closeDialogVisible,width:"30%","before-close":t.handleClose},on:{"update:visible":function(e){t.closeDialogVisible=e}}},[e("span",[t._v(t._s(t.$t("work.confirmClose")))]),e("span",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[e("el-button",{staticStyle:{"border-radius":"20px"},on:{click:function(e){t.closeDialogVisible=!1}}},[t._v(t._s(t.$t("work.cancel")))]),e("el-button",{staticClass:"elBtn",staticStyle:{border:"none","border-radius":"20px"},attrs:{type:"primary",loading:t.totalDetailsLoading},on:{click:t.confirmCols}},[t._v(t._s(t.$t("work.confirm")))])],1)])],1)])},e.Yp=[]},31863:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(16307),o=s(43232),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"340a7930",null),n=l.exports},34815:function(t,e,s){function a(){const t=["/","/home","/miningAccount","/readOnlyDisplay","/reportBlock","/broadcast","/userManagement","/userDetails","/rate","/allocationExplanation","/apiFile","/customerService","/ServiceTerms","/submitWorkOrder","/workOrderRecords","/userWorkDetails","/workOrderBackend","/BKWorkDetails","/dataDisplay","/alerts","/helpCenter","/commonProblem","/announcementDetails","/searchResult","/announcements","/announcementDetails","/personalCenter","/personalCenter/personalMining","/personalCenter/readOnly","/personalCenter/securitySetting","/personalCenter/personal","/personalCenter/miningReport","/personalCenter/personalAPI","/AccessMiningPool","/AccessMiningPool/nexaAccess","/AccessMiningPool/rxdAccess","/AccessMiningPool/monaAccess","/AccessMiningPool/grsAccess","/AccessMiningPool/dgbqAccess","/AccessMiningPool/dgboAccess","/AccessMiningPool/dgbsAccess","/AccessMiningPool/alphminingPool","/login","/register","/simulation","/resetPassword","/404"];return t}function o(t){if(!t||"string"!==typeof t)return!1;const e=t.trim();if("/"===e||""===e)return!0;const s=e.startsWith("/")?e.substring(1):e,o=a(),i=o.map((t=>t.replace(/^\//,""))).filter((t=>""!==t));return i.includes(s)}function i(t){if(!t)return a().slice(0,10);const e=a(),s=t.toLowerCase().trim();return e.filter((t=>t.toLowerCase().includes(s))).slice(0,5)}Object.defineProperty(e,"__esModule",{value:!0}),e.getAllValidPaths=a,e.getPathSuggestions=i,e.isValidPath=o,s(18111),s(22489),s(61701)},35221:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(22489),s(20116),s(13579);a(s(86425));var o=a(s(35720)),i=s(11503);e["default"]={data(){return{imgSrc:"https://studio.glassnode.com/images/crypto-icons/btc.png",navLabel:"Bitcoin (BTC)",userName:"LX",from:{title:"",kinds:"",description:"",radio:""},kindsList:[{value:"购买咨询",label:"购买咨询"},{value:"财务咨询",label:"财务咨询"},{value:"网页问题",label:"网页问题"},{value:"账户问题",label:"账户问题"},{value:"移动端问题",label:"移动端问题"},{value:"消息订阅",label:"消息订阅"},{value:"指标数据问题",label:"指标数据问题"},{value:"其他",label:"其他"}],params:[],input:1,tableData:[{num:1,time:"2022-09-01 16:00",problem:"账户问题",questionTitle:"账户不能登录",state:"已解决"}],textarea:"我是提交内容",textarea1:"我是回复内容",textarea2:"",replyInput:!0,ticketDetails:{id:"",type:"",title:"",userName:"",desc:"",responName:"",respon:"",submitTime:"",status:"",fileIds:"",files:"",responTime:""},fileList:[],fileType:["jpg","jpeg","png","mp3","aif","aiff","wav","wma","mp4","avi","rmvb"],fileSize:20,fileLimit:3,headers:{"Content-Type":"multipart/form-data"},FormDatas:null,filesId:[],paramsDownload:{id:""},paramsResponTicket:{id:"",files:"",respon:""},paramsAuditTicket:{id:"",msg:""},paramsSubmitAuditTicket:{id:""},identity:{},detailsID:"",downloadUrl:"",workOrderId:"",recordList:[],replyParams:{id:"",respon:"",files:""},totalDetailsLoading:!1,faultList:[],statusList:[{value:1,label:"work.pendingProcessing"},{value:2,label:"work.processed"},{value:10,label:"work.completeWK"}],typeList:[],machineCoding:"",warrantyList:[],closeDialogVisible:!1,lang:"zh"}},mounted(){this.lang=this.$i18n.locale,this.workOrderId=localStorage.getItem("totalID"),this.fetchTicketDetails({id:this.workOrderId}),this.registerRecoveryMethod("fetchTicketDetails",{id:this.workOrderId})},methods:{async fetchBKendTicket(t){this.setLoading("totalDetailsLoading",!0);const e=await(0,i.getBKendTicket)(t);e&&200==e.code&&(this.$message({message:this.$t("work.WKend"),type:"success"}),this.$router.push(`/${this.lang}/workOrderBackend`)),this.setLoading("totalDetailsLoading",!1)},async fetchReply(t){this.setLoading("totalDetailsLoading",!0);const e=await(0,i.getReply)(t);if(e&&200==e.code){this.$message({message:this.$t("work.submitted"),type:"success"});for(const t in this.replyParams)this.replyParams[t]="";this.fileList=[],this.fetchTicketDetails({id:this.workOrderId})}this.setLoading("totalDetailsLoading",!1)},handelType2(t){if(t)return this.typeList.find((e=>e.name==t)).label},handelStatus2(t){try{if(t){let e=this.statusList.find((e=>e.value==t)).label;return this.$t(e)}}catch{return""}},handelPhenomenon(t){if(t)return this.faultList.find((e=>e.id==t)).label},async fetchTicketDetails(t){this.setLoading("totalDetailsLoading",!0);const{data:e}=await(0,i.getDetails)(t);this.recordList=e.list,this.ticketDetails=e,this.setLoading("totalDetailsLoading",!1)},downloadExcel(t){this.downloadUrl=` ${o.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()},handelChange(t,e){const s=t.name.slice(t.name.lastIndexOf(".")+1).toLowerCase(),a=this.fileType.includes(s),o=t.size/1024/1024<=this.fileSize;if(!a)return this.$message.error(`${this.$t("work.notSupported")}${s}`),this.fileList=this.fileList.filter((e=>e.name!=t.name)),!1;if(!o)return this.fileList=this.fileList.filter((e=>e.name!=t.name)),this.$message.error(`${this.$t("work.notSupported2")} ${this.fileSize} MB.`),!1;let i=this.fileList.some((e=>e.name==t.name));if(i)return this.$message.warning(this.$t("work.notSupported3")),this.$refs.upload.handleRemove(t),!1;this.fileList.push(t.raw)},handleRemove(t,e){let s=this.fileList.indexOf(t);-1!==s&&this.fileList.splice(s,1)},handleExceed(){this.$message({type:"warning",message:this.$t("work.notSupported4")})},handelDownload(t){if(t){this.downloadUrl=` ${o.default.defaults.baseURL}pool/ticket/downloadFile?ids=${t}`;let e=document.createElement("a");e.href=this.downloadUrl,e.click()}},handleSuccess(){},handelTime(t){if(t&&t.includes("T"))return`${t.split("T")[0]} ${t.split("T")[1].split(".")[0]}`},handelResubmit(){if(!this.replyParams.respon)return console.log(),void this.$message({message:this.$t("work.replyContent2"),type:"error",customClass:"messageClass"});this.replyParams.id=this.ticketDetails.id,this.fetchReply(this.replyParams)},handelEnd(){this.closeDialogVisible=!0},handleClose(){this.closeDialogVisible=!1},confirmCols(){this.fetchBKendTicket({id:this.ticketDetails.id})}}}},35720:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);var o=a(s(86425)),i=a(s(19526)),r=s(89143),l=a(s(84994)),n=a(s(37465));const c=new Map;function p(t){const{url:e,method:s,params:a,data:o}=t;return[e,s,JSON.stringify(a),JSON.stringify(o)].join("&")}const u=o.default.create({baseURL:"https://test.m2pool.com/api/",timeout:1e4}),m=6e4;let d=new Map,v={online:0,offline:0},_=!1;window.addEventListener("online",(()=>{const t=Date.now();if(_)return void console.log("[网络] 网络恢复处理已在进行中,忽略重复事件");if(_=!0,t-v.online>3e4){v.online=t;try{window.vm&&window.vm.$message&&(window.vm.$message({message:window.vm.$i18n.t("home.networkReconnected")||"网络已重新连接,正在恢复数据...",type:"success",duration:5e3,showClose:!0}),console.log("[网络] 显示网络恢复提示, 时间:",(new Date).toLocaleTimeString()))}catch(s){console.error("[网络] 显示网络恢复提示失败:",s)}}else console.log("[网络] 抑制重复的网络恢复提示, 间隔过短:",t-v.online+"ms");const e=[];d.forEach((async(s,a)=>{if(t-s.timestamp<=m)try{const t=await u(s.config);e.push(t),s.callback&&"function"===typeof s.callback&&s.callback(t),window.vm&&(s.config.url.includes("getPoolPower")&&t&&t.data?window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"poolPower",data:t.data}})):s.config.url.includes("getNetPower")&&t&&t.data?window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"netPower",data:t.data}})):s.config.url.includes("getBlockInfo")&&t&&t.rows&&window.dispatchEvent(new CustomEvent("chart-data-updated",{detail:{type:"blockInfo",data:t.rows}}))),d.delete(a)}catch(o){console.error("重试请求失败:",o),d.delete(a)}else d.delete(a)})),Promise.allSettled(e).then((()=>{if(l.default&&l.default.resetAllLoadingStates(),window.vm){const t=["minerChartLoading","reportBlockLoading","apiPageLoading","MiningLoading","miniLoading","bthLoading","editLoading"];t.forEach((t=>{"undefined"!==typeof window.vm[t]&&(window.vm[t]=!1)})),Object.keys(window.vm).forEach((t=>{t.endsWith("Loading")&&(window.vm[t]=!1)}))}window.dispatchEvent(new CustomEvent("network-retry-complete")),setTimeout((()=>{_=!1}),5e3)}))})),window.addEventListener("offline",(()=>{window.vm&&window.vm.$message&&n.default.canShowError("networkOffline")&&window.vm.$message({message:window.vm.$i18n.t("home.networkOffline")||"网络连接已断开,系统将在恢复连接后自动重试",type:"error",duration:5e3,showClose:!0})})),u.defaults.retry=2,u.defaults.retryDelay=2e3,u.defaults.shouldRetry=t=>"Network Error"===t.message||t.message.includes("timeout"),localStorage.setItem("superReportError","");let h=localStorage.getItem("superReportError");window.addEventListener("setItem",(()=>{h=localStorage.getItem("superReportError")})),u.interceptors.request.use((t=>{let e;h="",localStorage.setItem("superReportError","");try{e=JSON.parse(localStorage.getItem("token"))}catch(i){console.log(i)}if(e&&(t.headers["Authorization"]=e),"get"==t.method&&t.data&&(t.params=t.data),"get"===t.method&&t.params){let e=t.url+"?";for(const a of Object.keys(t.params)){const o=t.params[a];var s=encodeURIComponent(a)+"=";if(null!==o&&"undefined"!==typeof o)if("object"===typeof o){for(const t of Object.keys(o))if(null!==o[t]&&"undefined"!==typeof o[t]){let s=a+"["+t+"]",i=encodeURIComponent(s)+"=";e+=i+encodeURIComponent(o[t])+"&"}}else e+=s+encodeURIComponent(o)+"&"}e=e.slice(0,-1),t.params={},t.url=e}const a=p(t);if(c.has(a)){const t=c.get(a);t(),c.delete(a)}return t.cancelToken=new o.default.CancelToken((t=>{c.set(a,t)})),t}),(t=>{Promise.reject(t)})),u.interceptors.response.use((t=>{const e=p(t.config);c.delete(e);const s=t.data.code||200,a=i.default[s]||t.data.msg||i.default["default"];return 421===s?(localStorage.setItem("cs_disconnect_all",Date.now().toString()),localStorage.removeItem("token"),h=localStorage.getItem("superReportError"),h||(h=421,localStorage.setItem("superReportError",h),r.MessageBox.confirm(window.vm.$i18n.t("user.loginExpired"),window.vm.$i18n.t("user.overduePrompt"),{distinguishCancelAndClose:!0,confirmButtonText:window.vm.$i18n.t("user.login"),cancelButtonText:window.vm.$i18n.t("user.Home"),closeOnClickModal:!1,showClose:!1,type:"warning"}).then((()=>{window.vm.$router.push(`/${window.vm.$i18n.locale}/login`),localStorage.removeItem("token")})).catch((()=>{window.vm.$router.push(`/${window.vm.$i18n.locale}/`),localStorage.removeItem("token")}))),Promise.reject("登录状态已过期")):s>=500&&!h?(h=500,localStorage.setItem("superReportError",h),void(0,r.Message)({dangerouslyUseHTMLString:!0,message:a,type:"error",showClose:!0})):200!==s?(r.Notification.error({title:a}),Promise.reject("error")):t.data}),(t=>{if("ERR_CANCELED"===t.code||t.message&&t.message.includes("canceled")||t.message?.includes("Request aborted"))return new Promise((()=>{}));if(t.config){const e=p(t.config);c.delete(e)}let{message:e}=t;if("Network Error"==e||e.includes("timeout"))if(navigator.onLine){if(t.config.__retryCount=t.config.__retryCount||0,t.config.__retryCount{setTimeout((()=>{e(u(t.config))}),u.defaults.retryDelay)}));console.log(`[请求失败] ${t.config.url} - 已达到最大重试次数`)}else{const e=JSON.stringify({url:t.config.url,method:t.config.method,params:t.config.params,data:t.config.data});let s=null;t.config.url.includes("getPoolPower")?s=t=>{window.vm&&(window.vm.minerChartLoading=!1)}:t.config.url.includes("getBlockInfo")&&(s=t=>{window.vm&&(window.vm.reportBlockLoading=!1)}),d.has(e)||(d.set(e,{config:t.config,timestamp:Date.now(),retryCount:0,callback:s}),console.log("请求已加入断网重连队列:",t.config.url))}return h||(h="error",localStorage.setItem("superReportError",h),n.default.canShowError(e)?"Network Error"==e?(0,r.Message)({message:window.vm.$i18n.t("home.NetworkError"),type:"error",duration:4e3,showClose:!0}):e.includes("timeout")?(0,r.Message)({message:window.vm.$i18n.t("home.requestTimeout"),type:"error",duration:5e3,showClose:!0}):e.includes("Request failed with status code")?(0,r.Message)({message:"系统接口"+e.substr(e.length-3)+"异常",type:"error",duration:5e3,showClose:!0}):(0,r.Message)({message:e,type:"error",duration:5e3,showClose:!0}):console.log("[错误提示] 已抑制重复错误:",e)),Promise.reject(t)}));e["default"]=u},37465:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588);class a{constructor(){this.recentErrors=new Map,this.throttleTime=3e3,this.errorTypes={"Network Error":"network",timeout:"timeout","Request failed with status code":"statusCode",networkReconnected:"networkStatus",NetworkError:"network"}}getErrorType(t){for(const[e,s]of Object.entries(this.errorTypes))if(t.includes(e))return s;return"unknown"}canShowError(t){const e=this.getErrorType(t),s=Date.now();if(this.recentErrors.has(e)){const t=this.recentErrors.get(e);if(s-t{t-e>this.throttleTime&&this.recentErrors.delete(s)}))}}const o=new a;e["default"]=o},39219:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgbqCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("Dgb(qubit)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbq.m2pool.com:33360"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbq.m2pool.com:33360")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbq.m2pool.com:33365 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy(" stratum+ssl://dgbq.m2pool.com:33365 ")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgbqCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Dgb(qubit)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbq.m2pool.com:33360  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbq.m2pool.com:33360")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbq.m2pool.com:33365   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbq.m2pool.com:33365")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},39325:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=a(s(91774)),i=a(s(66848)),r=a(s(22484)),l=a(s(62277)),n=s(89143),c=a(s(58044));i.default.use(r.default);const p=[{path:"",name:"Home",component:()=>Promise.resolve().then((()=>(0,o.default)(s(42232)))),meta:{title:"首页",description:c.default.t("seo.Home"),allAuthority:["all"],keywords:{en:"M2Pool, cryptocurrency mining pool, bitcoin mining, DGB mining, mining pool service, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务",zh:"M2Pool, 加密货币矿池, 比特币挖矿, DGB挖矿, 矿池服务"}}},{path:"miningAccount",name:"MiningAccount",component:()=>Promise.resolve().then((()=>(0,o.default)(s(30751)))),meta:{title:"挖矿账户页面",description:c.default.t("seo.miningAccount"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"M2Pool mining account, crypto mining stats, mining rewards, hashrate monitor, 矿池账户, 挖矿收益, 算力监控",zh:"M2Pool 挖矿账户, 加密挖矿统计, 挖矿奖励, 算力监控, 矿池账户, 挖矿收益, 算力监控"}}},{path:"readOnlyDisplay",name:"ReadOnlyDisplay",component:()=>Promise.resolve().then((()=>(0,o.default)(s(61969)))),meta:{title:"只读页面展示页",description:c.default.t("seo.readOnlyDisplay"),allAuthority:["all"],keywords:{en:"Read only page,Revenue situation,Mining Pool,Miner information",zh:"M2Pool 矿池,只读页面,收益状况,矿工信息"}}},{path:"reportBlock",name:"ReportBlock",component:()=>Promise.resolve().then((()=>(0,o.default)(s(58437)))),meta:{title:"报块页面",description:c.default.t("seo.reportBlock"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Block page,Lucky Value,block height,Mining Pool",zh:"M2Pool 矿池,报块页面,幸运值,区块高度"}}},{path:"helpCenter",name:"HelpCenter",component:()=>Promise.resolve().then((()=>(0,o.default)(s(14076)))),meta:{title:"帮助中心",description:c.default.t("seo.helpCenter"),allAuthority:["all"],keywords:{en:"Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other",zh:"帮助中心,新手入门,常见问题,公告中心"}}},{path:"editorDocument",name:"EditorDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(42287)))),meta:{title:"编辑器测试",description:c.default.t("seo.helpCenter"),allAuthority:["all"],keywords:{en:"Help Center,Beginner Guide,Mining Data,Frequently Asked Questions,Announcement Center,Other",zh:"帮助中心,新手入门,常见问题,公告中心"}}},{path:"broadcast",name:"Broadcast",component:()=>Promise.resolve().then((()=>(0,o.default)(s(41300)))),meta:{title:"广播页面",description:c.default.t("seo.broadcast"),allAuthority:["back_admin"],keywords:{en:"broadcast",zh:"广播"}}},{path:"userManagement",name:"UserManagement",component:()=>Promise.resolve().then((()=>(0,o.default)(s(51993)))),meta:{title:"用户管理",description:c.default.t("seo.userManagement"),allAuthority:["back_admin"],keywords:{en:"userManagement",zh:"用户管理"}}},{path:"userDetails",name:"UserDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(13537)))),meta:{title:"用户详情",description:c.default.t("seo.userManagement"),allAuthority:["back_admin"],keywords:{en:"userDetails",zh:"用户详情"}}},{path:"documentManagement",name:"DocumentManagement",component:()=>Promise.resolve().then((()=>(0,o.default)(s(64909)))),meta:{title:"文档管理",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"addDocument",name:"AddDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(46212)))),meta:{title:"新增文档",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"modifyDocument",name:"ModifyDocument",component:()=>Promise.resolve().then((()=>(0,o.default)(s(10647)))),meta:{title:"修改文档",description:c.default.t("seo.documentManagement"),allAuthority:["back_admin"],keywords:{en:"documentManagement",zh:"文档管理"}}},{path:"rate",name:"Rate",component:()=>Promise.resolve().then((()=>(0,o.default)(s(96909)))),meta:{title:"费率页面",description:c.default.t("seo.rate"),allAuthority:["all"],keywords:{en:"Mining Pool,Rate,Mining fee rate,Profit calculation",zh:"M2Pool 矿池,费率页面,挖矿费率,收益计算"}}},{path:"allocationExplanation",name:"AllocationExplanation",component:()=>Promise.resolve().then((()=>(0,o.default)(s(23389)))),meta:{title:"分配说明页面",description:c.default.t("seo.rate"),allAuthority:["all"],keywords:{en:"Allocation,Transfer,Mining Pool,Pool allocation,Transfer instructions",zh:"分配、转账说明,矿池分配,转账说明"}}},{path:"apiFile",name:"ApiFile",component:()=>Promise.resolve().then((()=>(0,o.default)(s(96254)))),meta:{title:"API文档页面",description:c.default.t("seo.apiFile"),allAuthority:["all"],keywords:{en:"API file,authentication token,Interface call",zh:"M2Pool 矿池,API 文档,认证 token,接口调用"}}},{path:"customerService",name:"CustomerService",component:()=>Promise.resolve().then((()=>(0,o.default)(s(72841)))),meta:{title:"在线客服",description:c.default.t("seo.apiFile"),allAuthority:["customer_service","admin"],keywords:{en:"API file,authentication token,Interface call",zh:"M2Pool 矿池,API 文档,认证 token,接口调用"}}},{path:"/:lang/AccessMiningPool",name:"AccessMiningPool",component:()=>Promise.resolve().then((()=>(0,o.default)(s(79838)))),meta:{title:"接入矿池页面",description:c.default.t("seo.allocationExplanation"),allAuthority:["all"],keywords:{en:"Access to Mining Pools,Coin Access,Mining Guide",zh:"M2Pool 矿池,接入矿池,币种接入,挖矿指南"}},children:[{path:"nexaAccess",name:"NexaAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(27048)))),meta:{title:"nexa 挖矿页面",description:c.default.t("seo.nexaAccess"),allAuthority:["all"],keepAlive:!0,requiresAuth:!1,keywords:{en:"Nexa Access,Mining Tutorial",zh:"nexa,挖矿教程,Nexa接入,Nexa Access,Mining Tutorial"}}},{path:"rxdAccess",name:"RxdAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(11874)))),meta:{title:"rxd 挖矿页面",description:c.default.t("seo.rxdAccess"),allAuthority:["all"],keywords:{en:"rxd Access,Radiant Access,Mining Tutorial,radiant",zh:"rxd,矿池挖矿教程,Radiant接入,"}}},{path:"monaAccess",name:"MonaAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(76177)))),meta:{title:"mona 挖矿页面",description:c.default.t("seo.monaAccess"),allAuthority:["all"],keywords:{en:"Mona Access,MONA Access,Mining Tutorial",zh:"mona,挖矿教程,mona接入,"}}},{path:"grsAccess",name:"GrsAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(61034)))),meta:{title:"grs 挖矿页面",description:c.default.t("seo.grsAccess"),allAuthority:["all"],keywords:{en:"GRS Access,grs Access,Mining Tutorial",zh:"GRS,Grs接入,GRS挖矿教程"}}},{path:"dgbqAccess",name:"DgbqAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(85278)))),meta:{title:"Dgbq 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(qubit) Access,DGB(qubit) Access,Mining Tutorial,DGB",zh:"Dgbq,dgb(qubit)接入,dgb(qubit)挖矿教程"}}},{path:"dgboAccess",name:"DgboAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(31863)))),meta:{title:"Dgbo 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(odocrypt) Access,DGB(odocrypt) Access,Mining Tutorial,DGB",zh:"dgbo,dgb(odocrypt)接入,dgb(odocrypt)挖矿教程"}}},{path:"dgbsAccess",name:"DgbsAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(89350)))),meta:{title:"Dgbs 挖矿页面",description:c.default.t("seo.dgbAccess"),allAuthority:["all"],keywords:{en:"Dgb(skein) Access,DGB(skein) Access,Mining Tutorial,DGB",zh:"dgbs,dgb(skein)接入,dgb(skein)挖矿教程"}}},{path:"enxAccess",name:"EnxAccess",component:()=>Promise.resolve().then((()=>(0,o.default)(s(29808)))),meta:{title:" Entropyx(enx) 挖矿页面",description:c.default.t("seo.enxAccess"),allAuthority:["all"],keywords:{en:"Entropyx(Enx), enx,ENX,Mining Tutorial",zh:"Entropyx(enx)接入,Entropyx挖矿教程"}}},{path:"alphminingPool",name:"AlphminingPool",component:()=>Promise.resolve().then((()=>(0,o.default)(s(65035)))),meta:{title:" alephium 挖矿页面",description:c.default.t("seo.alphAccess"),allAuthority:["all"],keywords:{en:"alephium(alph), Alephium,Mining Tutorial",zh:"alephium(alph)接入,alephium挖矿教程"}}}]},{path:"ServiceTerms",name:"ServiceTerms",component:()=>Promise.resolve().then((()=>(0,o.default)(s(54718)))),meta:{title:"服务条款页面",description:c.default.t("seo.ServiceTerms"),allAuthority:["all"],keywords:{en:"Terms of Service, User Rights, Rights and Obligations",zh:"M2Pool 矿池,服务条款,用户权益,权利义务"}}},{path:"submitWorkOrder",name:"SubmitWorkOrder",component:()=>Promise.resolve().then((()=>(0,o.default)(s(92879)))),meta:{title:"提交工单页面",description:c.default.t("seo.submitWorkOrder"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Mining Pool,Work Order Submission, Technical Support, Troubleshooting",zh:"M2Pool 矿池,提交工单,技术支持,问题处理"}}},{path:"workOrderRecords",name:"WorkOrderRecords",component:()=>Promise.resolve().then((()=>(0,o.default)(s(18311)))),meta:{title:"工单记录页面(用户)",description:c.default.t("seo.workOrderRecords"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"User Work Order Records, Processing Status, Issue Progress",zh:"M2Pool 矿池,用户工单记录,处理状态,问题进度"}}},{path:"userWorkDetails",name:"UserWorkDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(71995)))),meta:{title:"工单详情页面(用户)",description:c.default.t("seo.userWorkDetails"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"User Work Order Details, Problem Description, Additional Submissions",zh:"M2Pool 矿池,用户工单详情,问题描述,补充提交"}}},{path:"workOrderBackend",name:"WorkOrderBackend",component:()=>Promise.resolve().then((()=>(0,o.default)(s(25225)))),meta:{title:"工单管理页面(后台)",description:"M2Pool 矿池后台工单管理页面,供 M2Pool 管理员查看和管理用户提交的工单记录,确保问题及时处理,提升用户体验。",allAuthority:["back_admin"],keywords:{en:"Back-office work order management, user work orders, timely processing",zh:"M2Pool 矿池,后台工单管理,用户工单,及时处理"}}},{path:"BKWorkDetails",name:"BKWorkDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(86272)))),meta:{title:"工单详情页面(后台)",description:"M2Pool 矿池后台工单详情页面,管理员可在此查看提交工单的详细情况,包括提交时间、详细问题描述以及处理过程,并通过本页面对该工单进行回复处理。",allAuthority:["back_admin"],keywords:{en:"Backend Work Order Details, Problem Handling, Responding to Work Orders",zh:"M2Pool 矿池,后台工单详情,问题处理,回复工单"}}},{path:"dataDisplay",name:"DataDisplay",component:()=>Promise.resolve().then((()=>(0,o.default)(s(81475)))),meta:{title:"数据展示页面",description:"M2Pool 矿池数据展示页面",allAuthority:["all"],keywords:{en:"Mining Pool,Data Display",zh:"M2Pool 矿池,数据展示"}}},{path:"announcements",name:"Announcements",component:()=>Promise.resolve().then((()=>(0,o.default)(s(98327)))),meta:{title:"公告中心",description:c.default.t("seo.announcements")||"M2Pool 矿池公告中心,提供最新的公告、通知和重要信息,让用户及时了解矿池的最新动态和服务变更。",allAuthority:["all"],keywords:{en:"Announcement Center,Latest Announcements,Mining Pool News,Service Updates,Important Notices",zh:"M2Pool 矿池,公告中心,最新公告,矿池动态,服务更新,重要通知"}}},{path:"announcementDetails",name:"AnnouncementDetails",component:()=>Promise.resolve().then((()=>(0,o.default)(s(15460)))),meta:{title:"公告详情",allAuthority:["all"]}},{path:"commonProblem",name:"CommonProblem",component:()=>Promise.resolve().then((()=>(0,o.default)(s(80267)))),meta:{title:"常见问题",allAuthority:["all"]}},{path:"searchResult",name:"SearchResult",component:()=>Promise.resolve().then((()=>(0,o.default)(s(23537)))),meta:{title:"搜索结果",allAuthority:["all"]}},{path:"alerts",name:"Alerts",component:()=>Promise.resolve().then((()=>(0,o.default)(s(63683)))),meta:{title:"警报通知",description:c.default.t("seo.alerts"),allAuthority:["admin","registered","back_admin"],keywords:{en:"Mining Pool,Offline Alarm Setting,Mining Machine Offline",zh:"M2Pool 矿池,离线告警设置,矿机离线"}}},{path:"personalCenter",name:"PersonalCenter",component:()=>Promise.resolve().then((()=>(0,o.default)(s(66683)))),meta:{title:"个人中心页面",description:c.default.t("seo.personalCenter"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Mining Account,Read-Only Page Setup,Security Settings,API Key Generation",zh:"M2Pool 矿池,个人中心,挖矿账户,只读页面设置,安全设置,API密钥生成"}},children:[{path:"personalMining",name:"PersonalMining",component:()=>Promise.resolve().then((()=>(0,o.default)(s(4572)))),meta:{title:"挖矿账户设置页面",description:c.default.t("seo.personalMining"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Mining Account Settings,Coin Accounts",zh:"M2Pool 矿池,个人中心,挖矿账户设置,币种账户"}}},{path:"readOnly",name:"ReadOnly",component:()=>Promise.resolve().then((()=>(0,o.default)(s(7267)))),meta:{title:"只读页面设置",description:c.default.t("seo.readOnly"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Center,Read-Only Page Setting,Mining Pool Sharing",zh:"M2Pool 矿池,个人中心,只读页面设置,矿池分享"}}},{path:"securitySetting",name:"SecuritySetting",component:()=>Promise.resolve().then((()=>(0,o.default)(s(81988)))),meta:{title:"安全设置页面",description:c.default.t("seo.securitySetting"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Security settings, password change",zh:"M2Pool 矿池,安全设置,密码修改"}}},{path:"personal",name:"personal",component:()=>Promise.resolve().then((()=>(0,o.default)(s(36155)))),meta:{title:"个人信息页面",description:c.default.t("seo.personal"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Personal Information, Login History",zh:"M2Pool 矿池,个人信息,登录历史"}}},{path:"miningReport",name:"MiningReport",component:()=>Promise.resolve().then((()=>(0,o.default)(s(65784)))),meta:{title:"挖矿报告页面",description:c.default.t("seo.miningReport"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"Mining Report, Subscription Service",zh:"M2Pool 矿池,个人中心,挖矿报告,订阅服务"}}},{path:"personalAPI",name:"PersonalAPI",component:()=>Promise.resolve().then((()=>(0,o.default)(s(89175)))),meta:{title:"API页面",description:c.default.t("seo.personalAPI"),allAuthority:["admin","registered","customer_service","back_admin"],keywords:{en:"API Page,API Key Generation",zh:"M2Pool 矿池,个人中心,API 页面,API密钥生成"}}}]}],u=[{path:"/:lang/login",name:"Login",component:()=>Promise.resolve().then((()=>(0,o.default)(s(88406)))),meta:{title:"登录页面",description:"M2Pool 矿池登录页面",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,login page,account password",zh:"M2Pool 矿池,登录页面,账号密码,安全登录"}}},{path:"/:lang/register",name:"Register",component:()=>Promise.resolve().then((()=>(0,o.default)(s(99675)))),meta:{title:"注册页面",description:"M2Pool 矿池注册页面,新用户可在此便捷注册账号,加入 M2Pool 矿池大家庭。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,register page,new user registration,account creation",zh:"M2Pool 矿池,注册页面,新用户注册,账号创建"}}},{path:"/:lang/simulation",name:"simulation",component:()=>Promise.resolve().then((()=>(0,o.default)(s(46763)))),meta:{title:"测试页面",description:"M2Pool 矿池测试页面,用于进行系统功能的模拟和测试,确保矿池稳定运行",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,test page,system test,stable operation",zh:"M2Pool 矿池,测试页面,系统测试,稳定运行"}}},{path:"/:lang/splitEditorDemo",name:"splitEditorDemo",component:()=>Promise.resolve().then((()=>(0,o.default)(s(73836)))),meta:{title:"分屏编辑器演示",description:"M2Pool 分屏编辑器演示页面,支持编辑、预览、分屏三种模式的富文本编辑器",allAuthority:["all"],keywords:{en:"split screen editor,rich text editor,real-time preview,WYSIWYG editor",zh:"分屏编辑器,富文本编辑器,实时预览,所见即所得编辑器"}}},{path:"/:lang/resetPassword",name:"ResetPassword",component:()=>Promise.resolve().then((()=>(0,o.default)(s(25422)))),meta:{title:"重置密码页面",description:"M2Pool 矿池重置密码页面,用户可在此修改矿池网站账号密码,保障账户安全。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,reset password,modify password,account security",zh:"M2Pool 矿池,重置密码,修改密码,账户安全"}}},{path:"/:lang/404",component:()=>Promise.resolve().then((()=>(0,o.default)(s(91064)))),meta:{title:"404页面",description:"M2Pool 矿池 404 页面,当 URL 错误时将跳转至此页面,提示用户页面不存在。",allAuthority:["all"],keywords:{en:"M2Pool Mining Pool,404 page,page not found,error redirect",zh:"M2Pool 矿池,404 页面,页面不存在,错误跳转"}}}],m=[{path:"/:lang",component:l.default,beforeEnter:(t,e,s)=>{const a=t.params.lang,o=["zh","en"];return o.includes(a)?(c.default.locale!==a&&(c.default.locale=a,localStorage.setItem("lang",a)),s()):s(`/en${t.path}`)},children:p},{path:"/",redirect:()=>{const t=localStorage.getItem("lang")||"en";return`/${t}`}},...u,{path:"*",redirect:t=>{const e=localStorage.getItem("lang")||"en";return`/${e}/404`}}],d=new r.default({mode:"history",base:"/",routes:m,strict:!0,scrollBehavior(t,e,s){return s||{x:0,y:0,behavior:"smooth"}}});d.afterEach((()=>{i.default.nextTick((()=>{const t=document.querySelector(".el-main");t&&t.scrollTo({top:0,left:0,behavior:"smooth"}),window.scrollTo({top:0,left:0,behavior:"smooth"})}))})),d.beforeEach(((t,e,s)=>{const a=t.params.lang||localStorage.getItem("lang")||"en";let o=null;try{o=JSON.parse(localStorage.getItem("token"))}catch(r){o=null}let i=null;try{i=JSON.parse(localStorage.getItem("jurisdiction"))}catch(r){i=null}return o?i&&"back_admin"==i.roleKey?"Login"==t.name||"Register"==t.name||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey)?s():t.path==`/${a}`?s({path:`/${a}/userManagement`}):((0,n.Message)({showClose:!0,message:"当前身份只能访问后台管理系统",type:"error"}),localStorage.setItem("activeIndex","1"),s({path:`/${a}/broadcast`})):"Login"===t.name||"Register"===t.name?s({path:`/${a}`}):t.meta.allAuthority&&("all"===t.meta.allAuthority[0]||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey))?s():((0,n.Message)({showClose:!0,message:c.default.t("mining.jurisdiction"),type:"error"}),s({path:`/${a}/login`})):(console.log("未登录"),t.meta.allAuthority&&("all"===t.meta.allAuthority[0]||i&&i.roleKey&&t.meta.allAuthority.includes(i.roleKey))?s():((0,n.Message)({showClose:!0,message:c.default.t("mining.jurisdiction"),type:"error"}),s({path:`/${a}/login`})))}));const v=r.default.prototype.push;r.default.prototype.push=function(t){return v.call(this,t).catch((t=>t))};e["default"]=d},41645:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(17279));e.A={mixins:[o.default]}},42440:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},43232:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(42440));e.A={mixins:[o.default]}},49704:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e.encryption=void 0;var o=a(s(47522));const i="MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwHkUfT2GAupZAL5DMnwETSywuPLIKUAR3hjhKvOls2u0YtIHlcfjhqGBfg0NEPi6Ig2GmK5KnjcdIppfNfBpSiJBEtMwM2E7WJbXBsYU0B4wB86XGW9fFQi0e8pGYvVbKvwP9MQeLnUC4xf2L+6Nw3xQZ9GAsE6GUJ4tUOSKK/QIDAQAB",r=t=>{const e=new o.default;e.setPublicKey(i);let s=e.encrypt(t);return s};e.encryption=r},50736:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(82908);e["default"]={data(){return{activeName:"1",activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"}}},mounted(){this.$route.query.coin&&(this.activeCoin=this.$route.query.coin,this.imgUrl=this.$route.query.imgUrl,this.currencyPath=this.$route.query.imgUrl,this.params.coin=this.$route.query.coin,this.$addStorageEvent(1,"activeCoin",JSON.stringify(this.activeCoin)),this.activeItem=this.currencyList.find((t=>t.value==this.params.coin)));let t=localStorage.getItem("activeCoin");if(this.activeCoin=JSON.parse(t),window.addEventListener("setItem",(()=>{let t=localStorage.getItem("activeCoin");this.activeCoin=JSON.parse(t)})),this.activeCoin)if("nexa"==this.activeCoin||"rxd"==this.activeCoin){this.openAPI=!0;try{this.pageTitle=this.currencyList.find((t=>t.value==this.activeCoin)).name,this.imgUrl=this.currencyList.find((t=>t.value==this.activeCoin)).imgUrl}catch(e){console.log(e)}}else this.openAPI=!1;else this.activeCoin="nexa",this.imgUrl=`${this.$baseApi}/img/nexa.png`,this.currencyPath=`${this.$baseApi}/img/nexa.png`,this.params.coin="nexa",this.$addStorageEvent(1,"activeCoin",JSON.stringify(this.activeCoin)),this.openAPI=!0},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},54211:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(7588);var o=a(s(84994));e["default"]={data(){return{componentId:this.$options.name||"unnamed-component"}},methods:{setLoading(t,e){this[t]=e,o.default.setLoading(this.componentId,t,e)},getLoading(t){return o.default.getLoading(this.componentId,t)}},mounted(){this._resetHandler=t=>{const{componentsToUpdate:e}=t.detail;e.forEach((t=>{t.componentId===this.componentId&&(this[t.stateKey]=!1)}))},window.addEventListener("reset-loading-states",this._resetHandler)},beforeDestroy(){window.removeEventListener("reset-loading-states",this._resetHandler);const t=o.default.resetComponentLoadingStates(this.componentId);t.forEach((t=>{this[t.stateKey]=!1}))}}},55129:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var o=a(s(66848)),i=a(s(93518));o.default.use(i.default);e["default"]=new i.default.Store({state:{isLoggedIn:!1,userInfo:null},getters:{isLoggedIn:t=>t.isLoggedIn,userInfo:t=>t.userInfo},mutations:{SET_LOGIN_STATE(t,e){t.isLoggedIn=e},SET_USER_INFO(t,e){t.userInfo=e},CLEAR_USER_DATA(t){t.isLoggedIn=!1,t.userInfo=null}},actions:{async logout({commit:t}){try{return localStorage.removeItem("token"),localStorage.removeItem("userEmail"),localStorage.removeItem("jurisdiction"),t("CLEAR_USER_DATA"),o.default.prototype.$bus&&o.default.prototype.$bus.$emit("user-logged-out"),!0}catch(e){return console.error("退出登录失败:",e),!1}}},modules:{}})},55603:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;a(s(86425));var o=a(s(35221));e.A={mixins:[o.default],mounted(){},methods:{}}},57196:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.dgbsCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),t._v("Dgb(skein)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://dgbs.m2pool.com:33350"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbs.m2pool.com:33350")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://dgbs.m2pool.com:33355 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbs.m2pool.com:33355")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、 "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.dgbsCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/dgb.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Dgb(skein)")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://dgbs.m2pool.com:33350  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://dgbs.m2pool.com:33350")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://dgbs.m2pool.com:33355   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://dgbs.m2pool.com:33355")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://www.digibyte.org/"}},[t._v("https://www.digibyte.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.binance.com/"}},[t._v("Binance")]),t._v("、"),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.okx.com/"}},[t._v("okx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},58204:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(61256));e.A={mixins:[o.default]}},61034:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(30140),o=s(58204),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"708f8544",null),n=l.exports},61256:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},65035:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(98394),o=s(8705),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"0779e610",null),n=l.exports},65484:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.MONAcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),t._v("Mona")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://mona.m2pool.com:33320"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://mona.m2pool.com:33320")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://mona.m2pool.com:33325 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://mona.m2pool.com:33325")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://monacoin.org/"}},[t._v("https://monacoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",[t._v("    "),e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.MONAcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/mona.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Mona")])]),e("span",{staticClass:"coin quota"},[t._v("1")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://mona.m2pool.com:33320  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://mona.m2pool.com:33320")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://mona.m2pool.com:33325   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://mona.m2pool.com:33325")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://monacoin.org/"}},[t._v("https://monacoin.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+t._s(t.$t("course.Wallet1"))+" "),e("a",{attrs:{href:"https://coinmarketcap.com/"}},[t._v("Coinmarketcap")]),t._v(", "+t._s(t.$t("course.Wallet2"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText4")))]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://www.coinex.com/zh-hans/"}},[t._v("CoinEx")]),t._v(" "+t._s(t.$t("course.bindWalletText5"))+" ")]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText6")))]),t._v(t._s(t.$t("course.bindWalletText7"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},66496:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(94368));e.A={mixins:[o.default]}},68311:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},70874:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},72902:function(t,e,s){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.tutorialLoading,expression:"tutorialLoading"}],staticClass:"AccessMiningPoolMain"},[t.openAPI?e("section",{staticClass:"openAPI"},[t.$isMobile?e("section",[e("div",{staticClass:"currencySelect"},[e("div",{staticClass:"nav"},[e("div",{staticClass:"nav-item",attrs:{id:"menu1"},on:{click:function(e){return e.stopPropagation(),t.toggleDropdown.apply(null,arguments)}}},[e("img",{staticClass:"itemImg",attrs:{src:t.activeItem.imgUrl||"",alt:t.activeItem.label||""}}),e("span",{staticStyle:{"text-transform":"capitalize"}},[t._v(" "+t._s(t.activeItem.label||""))]),e("i",{staticClass:"arrow"}),e("div",{staticClass:"dropdown"},t._l(t.currencyList,(function(s){return e("div",{key:s.value,staticClass:"option",class:{optionActive:t.$route.path.includes(s.path)},on:{click:function(e){return e.stopPropagation(),t.changeMenuName(e,s)}}},[e("img",{staticClass:"dropdownCoin",attrs:{src:s.imgUrl,alt:s.value}}),e("div",{staticClass:"dropdownText"},[t._v(t._s(s.label))])])})),0)])])]),e("section",[e("keep-alive",[e("router-view",{key:t.$route.fullPath})],1)],1)]):e("section",{staticClass:"AccessMiningPool"},[e("section",{staticClass:"menu"},[e("ul",t._l(t.navList,(function(s){return e("li",{key:s.id,class:{active:t.activeCoin==s.coin},on:{click:function(e){return t.clickJump(s)}}},[e("img",{attrs:{src:s.titleUrl,alt:"coin"}}),e("span",[t._v(" "+t._s(s.title)+" ")])])})),0)]),e("section",{staticClass:"tutorialContent"},[e("section",{staticClass:"rightContent"},[t.tutorialLoading?e("div",{staticClass:"loading-container"},[e("span",{staticClass:"loading-text"},[t._v(t._s(t.$t("home.loadingContent")||"正在加载内容..."))])]):t.info&&t.info.trim()?e("div",{staticClass:"dynamic-content",domProps:{innerHTML:t._s(t.info)}}):e("div",{staticClass:"no-content"},[e("p",[t._v(t._s(t.$t("home.noContent")||"暂无内容"))])])])])])]):e("section",[e("div",{staticClass:"notOpen"},[e("p",[t._v(t._s(t.$t("course.notOpenCurrency")))]),t._m(0)])])])},e.Yp=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"imgBox"},[e("img",{attrs:{src:s(53263),alt:"Not open",loading:"lazy"}})])}]},76177:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(65484),o=s(41645),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"ea469a34",null),n=l.exports},79838:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(72902),o=s(9733),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"28885394",null),n=l.exports},79894:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.ENXcourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),t._v("Entropyx(enx)")]),e("span",[t._v("5000")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://enx.m2pool.com:33380"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://enx.m2pool.com:33380")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://enx.m2pool.com:33385 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://enx.m2pool.com:33385")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://entropyx.org/"}},[t._v("https://entropyx.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.ENXcourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/enx.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Entropyx(enx)")])]),e("span",{staticClass:"coin quota"},[t._v("5000 ")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://enx.m2pool.com:33380  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://enx.m2pool.com:33380")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://enx.m2pool.com:33385   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://enx.m2pool.com:33385")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://entropyx.org/"}},[t._v("https://entropyx.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},82066:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(70874));e.A={mixins:[o.default]}},82908:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.$addStorageEvent=void 0,e.Debounce=a,e.getImageUrl=void 0,e.throttle=o;const s=function(t,e,s){if(1===t){var a=document.createEvent("StorageEvent");const t={setItem:function(t,e){localStorage.setItem(t,e),a.initStorageEvent("setItem",!1,!1,t,null,e,null,null),window.dispatchEvent(a)}};return t.setItem(e,s)}{a=document.createEvent("StorageEvent");const t={setItem:function(t,e){sessionStorage.setItem(t,e),a.initStorageEvent("setItem",!1,!1,t,null,e,null,null),window.dispatchEvent(a)}};return t.setItem(e,s)}};function a(t,e){let s=null;return function(){let a=this,o=arguments;clearTimeout(s),s=setTimeout((function(){t.apply(a,o)}),e)}}function o(t,e){let s,a,o;return function(){const i=this,r=arguments;s?(clearTimeout(a),a=setTimeout((function(){Date.now()-o>=e&&(t.apply(i,r),o=Date.now())}),Math.max(e-(Date.now()-o),0))):(t.apply(i,r),o=Date.now(),s=!0)}}e.$addStorageEvent=s;const i=t=>{const e="https://test.m2pool.com/";return t?t.startsWith("http")?t.replace("http://test.m2pool.com",e):`${e}${t.startsWith("/")?"":"/"}${t}`:""};e.getImageUrl=i},84403:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e.line=e.bar=void 0;s(3574);e.line={legend:{right:100,formatter:function(t){return t}},tooltip:{trigger:"axis",textStyle:{align:"left"},animation:!1,axisPointer:{animation:!1,snap:!0,label:{precision:2},type:"cross",crossStyle:{width:.5},lineStyle:{}}},xAxis:{boundaryGap:!1,axisTick:{show:!1},axisLine:{show:!1},data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]},yAxis:[{position:"left",type:"value"},{position:"right",splitNumber:"5",show:!0},{position:"right",splitNumber:"5",show:!1},{position:"right",splitNumber:"5",show:!1}],dataZoom:[{type:"inside",start:10,end:100,maxSpan:100,minSpan:2,animation:!1},{type:"inside",start:10,end:100}],series:[{name:"line",type:"line",smooth:!1,symbol:"circle",symbolSize:5,showSymbol:!1,itemStyle:{color:"#5721E4",borderColor:"rgba(221,220,107,0.1)",borderWidth:12},lineStyle:{color:"#5721E4",width:"2"},data:[150,230,224,218,135,147,260]}]},e.bar={tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},grid:{left:"3%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],axisTick:{alignWithLabel:!0}}],yAxis:[{type:"value",show:!0}],series:[{name:"Direct",type:"bar",barWidth:"60%",data:[10,52,200,334,390,330,220],itemStyle:{borderRadius:[100,100,0,0],color:"#7645EE"}}]}},84994:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);class a{constructor(){this.loadingStates=new Map,this.setupListeners()}setupListeners(){window.addEventListener("network-retry-complete",(()=>{this.resetAllLoadingStates()}))}setLoading(t,e,s){const a=`${t}:${e}`;this.loadingStates.set(a,{value:s,timestamp:Date.now()})}getLoading(t,e){const s=`${t}:${e}`,a=this.loadingStates.get(s);return!!a&&a.value}resetAllLoadingStates(){const t=[];this.loadingStates.forEach(((e,s)=>{if(!0===e.value){const[e,a]=s.split(":");t.push({componentId:e,stateKey:a}),this.loadingStates.set(s,{value:!1,timestamp:Date.now()})}})),window.dispatchEvent(new CustomEvent("reset-loading-states",{detail:{componentsToUpdate:t}}))}resetComponentLoadingStates(t){const e=[];return this.loadingStates.forEach(((s,a)=>{if(a.startsWith(`${t}:`)&&!0===s.value){const s=a.split(":")[1];e.push({componentId:t,stateKey:s}),this.loadingStates.set(a,{value:!1,timestamp:Date.now()})}})),e}}const o=new a;e["default"]=o},85278:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(39219),o=s(82066),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"76355f4e",null),n=l.exports},86272:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(30926),o=s(55603),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"10e0c45a",null),n=l.exports},86964:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(50736));e.A={mixins:[o.default]}},87716:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a=s(82908);e["default"]={data(){return{activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))}}}},88125:function(t,e,s){var a=s(3999)["default"];Object.defineProperty(e,"B",{value:!0}),e.A=void 0;var o=a(s(24727));e.A={mixins:[o.default]}},89350:function(t,e,s){s.r(e),s.d(e,{__esModule:function(){return o.B},default:function(){return n}});var a=s(57196),o=s(4460),i=o.A,r=s(81656),l=(0,r.A)(i,a.XX,a.Yp,!1,null,"5b6cc974",null),n=l.exports},94368:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(18111),s(20116);var a=s(82908);e["default"]={data(){return{activeCoin:"nexa",activeItem:{path:"nexaAccess",value:"nexa",label:"nexa",imgUrl:`${this.$baseApi}img/nexa.png`,show:!0,name:"course.NEXAcourse",amount:1e4,tcp:"stratum+tcp://nexa.m2pool.com:33333",ssl:"stratum+ssl://nexa.m2pool.com:33335",Step1:"course.Step1",accountContent1:"course.accountContent1",accountContent2:"course.accountContent2",Step2:"course.Step2",bindWalletText1:"course.bindWalletText1",bindWalletText2:"course.bindWalletText2",walletAddr:"https://nexa.org/",bindWalletText3:"course.bindWalletText3",bindWalletText4:"course.bindWalletText4",exchangeAddr1:"https://www.mxc.com/",exchangeAddr1Label:"MEXC",exchangeAddr2:"https://www.coinex.com/zh-hans/",exchangeAddr2Label:"CoinEx",bindWalletText5:"course.bindWalletText5",bindWalletText6:"course.bindWalletText6",bindWalletText7:"course.bindWalletText7",bindWalletText8:"course.bindWalletText8",Step3:"course.Step3",miningIncome1:"course.miningIncome1",miningIncome2:"course.miningIncome2",GPU:"bzminer、lolminer、Rigel、WildRig",ASIC:"course.dragonBall",Step4:"course.Step4",parameter:"course.parameter",parameter2:"course.parameter2",parameter3:"course.parameter3",parameter4:"course.parameter4",parameter5:"course.parameter5",parameter6:"course.parameter6",parameter7:"course.parameter7",parameter8:"course.parameter8"},activeName:"1"}},mounted(){},methods:{getImageUrl(t){return(0,a.getImageUrl)(t)},clickJump(t){this.activeCoin=t.value,this.pageTitle=t.name,this.imgUrl=t.imgUrl,this.$addStorageEvent(1,"activeCoin",JSON.stringify(t.value)),console.log(this.activeCoin)},clickCopy(t){navigator.clipboard.writeText(t).then((()=>{this.$message({showClose:!0,message:this.$t("personal.copySuccessful"),type:"success"})})).catch((t=>{console.log("复制失败",t),this.$message({showClose:!0,message:this.$t("personal.copyFailed"),type:"error"})}))},clickCurrency(t){this.currencyPath=t.imgUrl,this.params.coin=t.value,this.activeItem=t},handelCurrencyLabel(t){let e=this.currencyList.find((e=>e.value==t));return e?e.label:""}}}},98394:function(t,e){e.Yp=e.XX=void 0;e.XX=function(){var t=this,e=t._self._c;return e("div",{staticClass:"AccessMiningPoolMain"},[e("section",{staticClass:"nexaAccess"},[t.$isMobile?e("section",[e("div",{staticClass:"mainTitle",attrs:{id:"table"}},[e("span",[t._v(" "+t._s(t.$t("course.alphCourse")))])]),e("div",{staticClass:"tableBox"},[e("div",{staticClass:"table-title"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))])]),e("el-collapse",{model:{value:t.activeName,callback:function(e){t.activeName=e},expression:"activeName"}},[e("el-collapse-item",{attrs:{name:"1"}},[e("template",{slot:"title"},[e("div",{staticClass:"collapseTitle"},[e("span",{staticClass:"coinBox"},[e("img",{staticStyle:{width:"20px"},attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),t._v("Alephium(alph)")]),e("span",[t._v("1")])])]),e("div",{staticClass:"belowTable"},[e("div",[e("p",[t._v(t._s(t.$t("course.TCP")))]),e("p",[t._v(" stratum+tcp://alph.m2pool.com:33390"),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+tcp://alph.m2pool.com:33390")}}},[t._v(t._s(t.$t("personal.copy")))])])]),e("div",[e("p",[t._v(t._s(t.$t("course.SSL")))]),e("p",[t._v(" stratum+ssl://alph.m2pool.com:33395 "),e("span",{staticClass:"copy",on:{click:function(e){return t.clickCopy("stratum+ssl://alph.m2pool.com:33395")}}},[t._v(t._s(t.$t("personal.copy")))])])])])],2)],1)],1),e("section",{staticClass:"step",attrs:{id:"step1"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",[t._v("    "),e("span",[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))])]),e("a",{staticStyle:{color:"blueviolet"},attrs:{href:"https://docs.alephium.org/"}},[t._v("https://docs.alephium.org/")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{staticClass:"mail",attrs:{href:"#table"}},[t._v(" "+t._s(t.$t("course.parameter5")))]),t._v(" "+t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))+" "),e("a",{staticClass:"mail",attrs:{href:"#step1"}},[t._v(" "+t._s(t.$t("course.parameter7")))]),t._v(" "+t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{staticClass:"mail",attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])]):e("section",{staticClass:"AccessMiningPool2"},[e("section",{staticClass:"table"},[e("div",{staticClass:"mainTitle"},[e("img",{attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v(" "+t._s(t.$t("course.alphCourse")))])]),e("div",{staticClass:"theServer"},[e("div",{staticClass:"title",attrs:{id:"Server"}},[t._v(t._s(t.$t("course.selectServer")))]),e("ul",[e("li",{staticClass:"liTitle"},[e("span",{staticClass:"coin"},[t._v(t._s(t.$t("course.currency")))]),e("span",{staticClass:"coin quota"},[t._v(t._s(t.$t("course.amount")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.TCP")))]),e("span",{staticClass:"port"},[t._v(t._s(t.$t("course.SSL")))])]),e("li",[e("span",{staticClass:"coin"},[e("img",{attrs:{src:t.getImageUrl("img/alph.svg"),alt:"coin",loading:"lazy"}}),e("span",[t._v("Alephium(alph)")])]),e("span",{staticClass:"coin quota"},[t._v("1 ")]),e("span",{staticClass:"port"},[t._v(" stratum+tcp://alph.m2pool.com:33390  "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+tcp://alph.m2pool.com:33390")}}})]),e("span",{staticClass:"port"},[t._v(" stratum+ssl://alph.m2pool.com:33395   "),e("i",{staticClass:"iconfont icon-fuzhi",on:{click:function(e){return t.clickCopy("stratum+ssl://alph.m2pool.com:33395")}}})])])])]),e("section",{staticClass:"step",attrs:{id:"accountContent2"}},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step1")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.accountContent1")))]),e("p",[t._v(t._s(t.$t("course.accountContent2")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step2")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.bindWalletText1")))]),e("p",{staticClass:"wallet-text"},[e("span",[t._v(t._s(t.$t("course.bindWalletText2")))]),e("a",{attrs:{href:"https://docs.alephium.org/"}},[t._v("https://docs.alephium.org/ ")]),t._v(", "+t._s(t.$t("course.bindWalletText3"))+" ")]),e("p",[t._v(t._s(t.$t("course.bindWalletText8")))])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step4")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(" "+t._s(t.$t("course.parameter"))),e("a",{attrs:{href:"#Server"}},[t._v(t._s(t.$t("course.parameter5")))]),t._v(t._s(t.$t("course.parameter6"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter2"))),e("a",{attrs:{href:"#accountContent2"}},[t._v(t._s(t.$t("course.parameter7")))]),t._v(t._s(t.$t("course.parameter8"))+" ")]),e("p",[t._v(" "+t._s(t.$t("course.parameter3"))+" "),e("a",{attrs:{href:"mailto:support@m2pool.com"}},[t._v(t._s(t.$t("course.mail")))]),t._v(" "+t._s(t.$t("course.parameter4"))+" ")])])]),e("section",{staticClass:"step"},[e("div",{staticClass:"stepTitle"},[t._v(t._s(t.$t("course.Step3")))]),e("div",{staticClass:"textBox"},[e("p",[t._v(t._s(t.$t("course.general4_1")))]),e("p",[t._v(t._s(t.$t("course.miningIncome2")))])])])])])])])},e.Yp=[]},98986:function(t,e,s){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0,s(44114),s(18111),s(7588);e["default"]={data(){return{recoveryMethods:[],methodParams:{}}},methods:{registerRecoveryMethod(t,e){"function"!==typeof this[t]||this.recoveryMethods.includes(t)||(this.recoveryMethods.push(t),this.methodParams[t]=e,console.log(`[NetworkRecovery] 注册方法: ${t}`))},updateMethodParams(t,e){this.recoveryMethods.includes(t)&&(this.methodParams[t]=e)},handleNetworkRecovery(){console.log("[NetworkRecovery] 网络已恢复,正在刷新数据..."),this.recoveryMethods.forEach((t=>{if("function"===typeof this[t]){const e=this.methodParams[t];console.log(`[NetworkRecovery] 重新调用方法: ${t}`),this[t](e)}}))}},mounted(){window.addEventListener("network-retry-complete",this.handleNetworkRecovery)},beforeDestroy(){window.removeEventListener("network-retry-complete",this.handleNetworkRecovery)}}}}]); \ No newline at end of file diff --git a/mining-pool/vue.config.js b/mining-pool/vue.config.js index 997ad5f..d89c8a9 100644 --- a/mining-pool/vue.config.js +++ b/mining-pool/vue.config.js @@ -6,6 +6,16 @@ module.exports = defineConfig({ // 生产环境不生成source map productionSourceMap: false, + // 开发环境:关闭浏览器全屏遮罩错误提示,仅在控制台输出 + // 说明:webpack-dev-server v4 推荐使用 client.overlay=false + // 如果未来降级到 v3,可改为 overlay:false + devServer: { + client: { + overlay: false + } + // overlay: false + }, + configureWebpack: { optimization: { splitChunks: {