Tieba Remix: 贴吧网页端重塑

贴吧网页端重塑

// ==UserScript==
// @name         Tieba Remix: 贴吧网页端重塑
// @namespace    https://github.com/WireBlade/Tieba-Remix
// @version      0.4.3-beta
// @author       锯条
// @description  贴吧网页端重塑
// @license      MIT
// @icon         https://gitee.com/HacksawBlade/Tieba-Remix/raw/master/assets/images/main/icon16.png
// @icon64       https://gitee.com/HacksawBlade/Tieba-Remix/raw/master/assets/images/main/icon64.png
// @match        *://tieba.baidu.com
// @match        *://tieba.baidu.com/index.*
// @match        *://tieba.baidu.com/?*
// @match        *://tieba.baidu.com/p/*
// @match        *://tieba.baidu.com/f?*
// @match        *://jump.bdimg.com/safecheck/*
// @match        *://jump2.bdimg.com/safecheck/*
// @resource     element-plus/dist/index.css  https://fastly.jsdelivr.net/npm/element-plus@2.5.3/dist/index.css
// @grant        GM_addStyle
// @grant        GM_deleteValue
// @grant        GM_getResourceText
// @grant        GM_getValue
// @grant        GM_info
// @grant        GM_listValues
// @grant        GM_openInTab
// @grant        GM_setValue
// @run-at       document-start
// ==/UserScript==

(e=>{if(typeof GM_addStyle=="function"){GM_addStyle(e);return}const o=document.createElement("style");o.textContent=e,document.head.append(o)})(' @charset "UTF-8";.user-button{box-sizing:border-box;padding:2px 8px;border:none;border-radius:6px;background:none;background-color:var(--default-background);box-shadow:0 0 0 1px var(--border-color);color:var(--default-fore);cursor:pointer;transition:.4s}.user-button:hover:not([disabled]){background-color:var(--default-hover)}.user-button:active:not([disabled]){background-color:var(--default-active)}.user-button:focus:not([disabled]){border-color:var(--tieba-theme-color);box-shadow:0 0 0 2px var(--tieba-theme-color)}.theme-style.user-button{color:var(--default-background)!important}.theme-style.user-button{background-color:var(--tieba-theme-color)}.theme-style.user-button:hover{background-color:var(--tieba-theme-hover)}.theme-style.user-button:active{background-color:var(--tieba-theme-active)}.unset-background.user-button{background-color:transparent;background-color:initial}.no-border.user-button,.no-border-all.user-button{box-shadow:none}.no-border-all.user-button:hover,.no-border-all.user-button:focus{box-shadow:none}@keyframes kf-fade-in-db54e64e{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-db54e64e{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-db54e64e{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-db54e64e{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-db54e64e{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-db54e64e]{padding:0;margin:0;text-align:justify}body[data-v-db54e64e]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-db54e64e]{overflow:hidden}div[data-v-db54e64e],p[data-v-db54e64e]{margin:0}select[data-v-db54e64e]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-db54e64e]{cursor:pointer}option[data-v-db54e64e]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-db54e64e]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-db54e64e]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-db54e64e]{transform:translate(-50%,-50%)}@keyframes stretch-db54e64e{0%{padding:0 12px;opacity:0}50%{opacity:1}to{padding:8px 12px}}.check[data-v-db54e64e]{color:var(--level-green-fore)}.warning[data-v-db54e64e]{color:var(--warning-color)}.error[data-v-db54e64e]{color:var(--error-color)}.toast-container[data-v-db54e64e]{position:fixed;z-index:999;bottom:96px;left:50%;display:flex;max-height:60vh;align-items:center;padding:8px 12px;border:1px solid var(--border-color);border-radius:16px;animation:stretch-db54e64e .4s cubic-bezier(.18,.89,.32,1.6);background-color:var(--default-background);box-shadow:0 10px 24px #0003;gap:6px;text-overflow:ellipsis;transform:translate(-50%);transition:all ease .4s}.toast-container .toast-icon[data-v-db54e64e]{font-size:18px}.toast-container .toast-content[data-v-db54e64e]{overflow:hidden;max-width:80vw;max-height:60vh;padding:0 6px;text-align:left;text-overflow:ellipsis;white-space:pre-wrap}.toast-container span[data-v-db54e64e]{color:var(--minimal-fore);font-size:12px}.toast-container .toast-controls .close-button[data-v-db54e64e]{padding:6px;color:var(--error-color);font-weight:700}.toast-container .toast-controls .close-button[data-v-db54e64e]:not(:active):not(:focus){box-shadow:none}.blur-effect[data-v-db54e64e]{background-color:var(--trans-default-background)}html:not([perf-saver]) .blur-effect[data-v-db54e64e]{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme .blur-effect[data-v-db54e64e]{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}@keyframes kf-fade-in-c7a62753{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-c7a62753{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-c7a62753{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-c7a62753{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-c7a62753{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-c7a62753]{padding:0;margin:0;text-align:justify}body[data-v-c7a62753]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-c7a62753]{overflow:hidden}div[data-v-c7a62753],p[data-v-c7a62753]{margin:0}select[data-v-c7a62753]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-c7a62753]{cursor:pointer}option[data-v-c7a62753]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-c7a62753]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-c7a62753]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-c7a62753]{transform:translate(-50%,-50%)}.dialog-wrapper[data-v-c7a62753]{position:fixed;z-index:9999;top:0;left:0;display:flex;width:100%;height:100%;background-color:transparent;animation:kf-fade-in-c7a62753 .2s}.dialog-wrapper.darker[data-v-c7a62753]{background-color:#000000b8}html:not([perf-saver]) .blur-effect[data-v-c7a62753]{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}html.dark-theme .blur-effect[data-v-c7a62753]{-webkit-backdrop-filter:blur(4px) brightness(.8);backdrop-filter:blur(4px) brightness(.8)}@keyframes kf-fade-in-8df9d0bc{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-8df9d0bc{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-8df9d0bc{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-8df9d0bc{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-8df9d0bc{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-8df9d0bc]{padding:0;margin:0;text-align:justify}body[data-v-8df9d0bc]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-8df9d0bc]{overflow:hidden}div[data-v-8df9d0bc],p[data-v-8df9d0bc]{margin:0}select[data-v-8df9d0bc]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-8df9d0bc]{cursor:pointer}option[data-v-8df9d0bc]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-8df9d0bc]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-8df9d0bc]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-8df9d0bc]{transform:translate(-50%,-50%)}.message-box[data-v-8df9d0bc]{display:flex;overflow:hidden;max-width:60vw;max-height:80vh;box-sizing:border-box;flex-direction:column;border:1px solid var(--light-border-color);border-radius:16px;margin:auto;animation:kf-dialog-in-8df9d0bc .4s ease;background-color:var(--default-background);box-shadow:0 0 20px #0000004d;font-size:16px;transition:.4s ease}.message-box .message-wrapper[data-v-8df9d0bc]{display:flex;overflow-x:hidden;overflow-y:auto;overflow:hidden auto;flex-direction:column;padding:16px}.message-box .message-wrapper .title[data-v-8df9d0bc]{margin-bottom:8px;color:var(--highlight-fore);font-size:20px;font-weight:700}.message-box .message-controls[data-v-8df9d0bc]{display:flex;padding:16px;margin-top:auto;background-color:var(--deep-background);gap:8px}.message-box .message-controls .message-button[data-v-8df9d0bc]{flex-grow:1;padding:6px 16px;font-size:14px}.block-panel{display:flex;min-width:30px;height:26px;align-items:center;justify-content:center;padding:2px 8px;border-radius:24px;margin:auto;background-color:var(--trans-light-background);font-size:14px;text-align:center}.block-panel .icon{color:var(--light-fore);font-size:18px}.block-panel .panel-button{border:none!important}.block-panel .panel-button{width:30px;height:30px;padding:4px;border-radius:48px}.block-panel.left-align{margin-left:0}@keyframes kf-fade-in-bedddce2{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-bedddce2{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-bedddce2{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-bedddce2{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-bedddce2{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}#header-progress[data-v-bedddce2]{position:fixed;z-index:99999;top:0;max-width:100vw;height:4px;background-color:var(--tieba-theme-color);transition:.4s}#header-progress.complete[data-v-bedddce2]{animation:kf-fade-out-bedddce2 .6s forwards}@keyframes kf-fade-in-79fe5854{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-79fe5854{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-79fe5854{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-79fe5854{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-79fe5854{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-79fe5854]{padding:0;margin:0;text-align:justify}body[data-v-79fe5854]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-79fe5854]{overflow:hidden}div[data-v-79fe5854],p[data-v-79fe5854]{margin:0}select[data-v-79fe5854]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-79fe5854]{cursor:pointer}option[data-v-79fe5854]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-79fe5854]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-79fe5854]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-79fe5854]{transform:translate(-50%,-50%)}.images-viewer[data-v-79fe5854]{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.images-viewer .icon[data-v-79fe5854]{color:var(--light-fore)}.images-viewer .control-panel[data-v-79fe5854]{position:absolute;display:flex;align-items:center;padding:10px;border:1px solid var(--light-border-color);border-radius:12px;background-color:var(--trans-default-background);box-shadow:0 0 32px #0006;gap:2px}html:not([perf-saver]) .images-viewer .control-panel[data-v-79fe5854]{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme .images-viewer .control-panel[data-v-79fe5854]{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}.images-viewer .head-controls[data-v-79fe5854]{top:16px;margin-bottom:auto}.images-viewer .head-controls .head-btn[data-v-79fe5854]{width:36px;height:36px;border-radius:12px;background-color:transparent;background-color:initial;box-shadow:none}.images-viewer .head-controls .head-btn[data-v-79fe5854]:hover{background-color:var(--default-background);color:var(--tieba-theme-color)}.images-viewer .head-controls .close[data-v-79fe5854]:hover{color:var(--error-color)}.images-viewer .head-controls span[data-v-79fe5854]{color:var(--minimal-fore);font-family:var(--code-monospace)}.images-viewer .head-controls .zoom-size[data-v-79fe5854]{padding:10px}.images-viewer .back[data-v-79fe5854],.images-viewer .forward[data-v-79fe5854]{height:60px;box-shadow:0 0 20px #0000001a;font-size:large}.images-viewer .back[data-v-79fe5854]{left:32px}.images-viewer .forward[data-v-79fe5854]{right:32px}.images-viewer .back[data-v-79fe5854]:hover,.images-viewer .forward[data-v-79fe5854]:hover{background-color:var(--default-background)}.images-viewer .back[data-v-79fe5854]:focus,.images-viewer .forward[data-v-79fe5854]:focus{box-shadow:0 0 0 2px var(--tieba-theme-color)}.images-viewer .image-container[data-v-79fe5854]{display:flex;width:auto;align-items:center;justify-content:center;margin:auto}.images-viewer .image-container .curr-image[data-v-79fe5854]{position:absolute;-o-object-fit:contain;object-fit:contain;transition:all .4s ease,left 0s,top 0s}.images-viewer .bottom-controls[data-v-79fe5854]{bottom:16px;display:flex;margin-top:auto;gap:4px}.images-viewer .bottom-controls .bottom-btn[data-v-79fe5854]{overflow:hidden;width:100px;height:75px;padding:0;border:none;border-radius:6px;background-color:var(--trans-default-background);transition:all linear .1s}.images-viewer .bottom-controls .bottom-btn .image-list[data-v-79fe5854]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.images-viewer .bottom-controls .bottom-btn.selected[data-v-79fe5854]{border:3px solid var(--tieba-theme-color)}@keyframes kf-fade-in-b160e8b2{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-b160e8b2{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-b160e8b2{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-b160e8b2{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-b160e8b2{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-b160e8b2]{padding:0;margin:0;text-align:justify}body[data-v-b160e8b2]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-b160e8b2]{overflow:hidden}div[data-v-b160e8b2],p[data-v-b160e8b2]{margin:0}select[data-v-b160e8b2]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-b160e8b2]{cursor:pointer}option[data-v-b160e8b2]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}.dialogJ[data-v-b160e8b2]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-b160e8b2]{transform:translate(-50%,-50%)}.post-container .bottom-controls .replies[data-v-b160e8b2]:before{font-family:Material Symbols,monospace!important}.post-container .bottom-controls .replies[data-v-b160e8b2]:before{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}a[data-v-b160e8b2]{color:inherit;-webkit-text-decoration:none;text-decoration:none}p[data-v-b160e8b2]{margin:0}img[data-v-b160e8b2]:before{display:block;width:100%;height:100%;box-sizing:border-box;background-color:var(--light-background);content:""}.dynamic .img-button[data-v-b160e8b2]{min-width:30%!important;flex:initial!important;flex-grow:1!important}.post-container[data-v-b160e8b2]{display:flex;width:100%;box-sizing:border-box;flex-direction:column;padding:16px;border-radius:16px;background-color:var(--default-background);cursor:pointer;gap:20px;text-align:justify}.post-container .forum-btn[data-v-b160e8b2]{border-radius:24px;font-size:14px}.post-container .forum-btn[data-v-b160e8b2]:not(:hover):not(:active):not(:focus){background-color:var(--light-background);box-shadow:none}.post-container .main-content[data-v-b160e8b2]{display:flex;flex-direction:column;gap:8px}.post-container .main-content .title[data-v-b160e8b2]{margin:0;color:var(--highlight-fore);font-weight:700}.post-container .main-content .content[data-v-b160e8b2]{overflow:hidden;color:var(--light-fore);font-size:14px;text-overflow:ellipsis}.post-container .img-container[data-v-b160e8b2]{display:flex;overflow:hidden;flex-wrap:wrap;border-radius:16px;gap:6px}.post-container .img-container .img-button[data-v-b160e8b2]{overflow:hidden;min-width:40%;height:144px;flex:1;padding:0;border:none;border-radius:0}.post-container .img-container .img-button .post-img[data-v-b160e8b2]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover;transition:.4s cubic-bezier(0,0,.2,1)}.post-container .img-container .img-button .post-img[data-v-b160e8b2]:hover{scale:1.2}.post-container .bottom-controls[data-v-b160e8b2]{display:flex;align-items:center;gap:12px}.post-container .bottom-controls .author[data-v-b160e8b2]{display:flex;align-items:center;padding:0;border-radius:24px;background-color:transparent;background-color:initial}.post-container .bottom-controls .author .author-portrait[data-v-b160e8b2]{width:32px;height:32px;border-radius:24px;-o-object-fit:cover;object-fit:cover}.post-container .bottom-controls .author .author-info[data-v-b160e8b2]{display:flex;flex-direction:column;padding:0 10px;text-align:left}.post-container .bottom-controls .author .author-info .author-name[data-v-b160e8b2]{font-size:14px;font-weight:700}.post-container .bottom-controls .author .author-info .post-time[data-v-b160e8b2]{color:var(--minimal-fore);font-size:12px}.post-container .bottom-controls .author[data-v-b160e8b2]:not(:hover):not(:active):not(:focus){box-shadow:none}.post-container .bottom-controls .replies[data-v-b160e8b2]{display:flex;min-width:16px;align-items:center;border-radius:24px;margin-left:auto;color:var(--light-fore);font-family:var(--code-monospace);font-size:13px;font-weight:700}.post-container .bottom-controls .replies[data-v-b160e8b2]:before{margin-right:6px;content:"forum";font-size:16px;font-weight:400}.masonry-wrapper[data-v-387db5e3]{display:flex;width:100%;max-width:var(--content-max);flex-direction:column;align-items:center;gap:12px}.masonry-wrapper .masonry-container[data-v-387db5e3]{width:100%;margin:auto}@keyframes feeds-in-387db5e3{0%{transform:scale(.72)}to{transform:scale(1)}}.masonry-wrapper .masonry-container .post-elem[data-v-387db5e3]{animation:feeds-in-387db5e3 .4s cubic-bezier(.18,.89,.32,1.2)}.masonry-wrapper .masonry-container .post-elem[data-v-387db5e3]:not(:hover):not(:active):not(:focus){box-shadow:none}.masonry-wrapper>.post-elem[data-v-387db5e3]{position:absolute!important;visibility:hidden!important}.about-wrapper[data-v-8c03e998]{display:flex;flex-direction:column;align-items:center;padding:8px;margin:auto;gap:12px}.about-wrapper .main-title[data-v-8c03e998]{display:flex;align-items:center;gap:12px}.about-wrapper .main-title .main-icon[data-v-8c03e998]{width:64px;height:64px}.about-wrapper .main-title .title[data-v-8c03e998]{color:var(--highlight-fore);font-size:32px;font-style:italic;font-weight:700}.about-wrapper .script-info[data-v-8c03e998]{display:flex;flex-direction:column;align-items:center;color:var(--minimal-fore);gap:8px}.about-wrapper .script-info .author-info[data-v-8c03e998]{display:flex;align-items:baseline;gap:8px}.about-wrapper .about-controls[data-v-8c03e998]{display:flex;margin-top:16px;gap:8px}.about-wrapper .about-controls .about-button[data-v-8c03e998]{padding:6px 10px;font-size:14px}.update-wrapper[data-v-8906d00c]{display:flex;max-width:100%;flex-direction:column;gap:8px}.update-wrapper .latest-info[data-v-8906d00c]{display:flex;align-items:center;padding:2px 8px;border-radius:16px;margin:auto auto 12px;background-color:var(--level-blue-background);color:var(--level-blue-fore);gap:6px}.update-wrapper .latest-info.is-latest[data-v-8906d00c]{background-color:var(--level-green-background);color:var(--level-green-fore)}.update-wrapper .title-container[data-v-8906d00c]{display:flex;align-items:center;gap:10px}.update-wrapper .title-container .title[data-v-8906d00c]{font-size:20px;font-weight:700}.update-wrapper .title-container .is-pre-release[data-v-8906d00c]{padding:2px 8px;border-radius:16px;background-color:var(--level-orange-background);color:var(--level-orange-fore);font-size:14px}.update-wrapper .main-info[data-v-8906d00c]{display:flex;align-items:center;gap:8px}.update-wrapper .main-info .avatar[data-v-8906d00c]{width:32px;height:32px;border-radius:32px}.update-wrapper .main-info .release-time[data-v-8906d00c]{margin-left:auto}.update-wrapper .update-controls[data-v-8906d00c]{display:flex;align-items:center;margin-top:8px;gap:8px}.update-wrapper .update-controls .up-button[data-v-8906d00c]{padding:4px 8px;border-radius:10px;font-size:15px;font-weight:700}.update-wrapper .update-controls .up-name[data-v-8906d00c]{font-family:var(--code-monospace)}.forbidden-wrapper[data-v-8906d00c]{display:flex;width:100%;height:100%;flex-direction:column;align-items:center}.forbidden-wrapper .icon[data-v-8906d00c]{font-size:64px}.layout-custom-back[data-v-3bd153eb]{display:flex;width:100%;flex-direction:column;gap:8px}.layout-custom-back .custom-image[data-v-3bd153eb]{max-width:100%;max-height:320px;border-radius:8px;margin:0 auto}.layout-custom-back .custom-back-buttons[data-v-3bd153eb]{display:flex;align-items:center;justify-content:flex-end;gap:6px}.layout-custom-back .adjust-controls[data-v-3bd153eb]{display:flex;flex-direction:column;gap:8px}.layout-custom-back .adjust-controls .control-set[data-v-3bd153eb]{display:flex;align-items:baseline;gap:6px}.layout-custom-back .adjust-controls .control-set .editor[data-v-3bd153eb]{width:auto;font-family:var(--code-zh)}.theme-color-component[data-v-54fb2e9b]{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:6px}.theme-color-component .title[data-v-54fb2e9b]{margin:0;color:var(--minimal-fore);text-align:center}.theme-color-component .picker[data-v-54fb2e9b]{display:flex;gap:6px}.theme-color-component .picker label[data-v-54fb2e9b]{color:var(--minimal-fore)}.theme-color-component .reset-button[data-v-54fb2e9b]{margin-left:auto}.theme-picker{z-index:9999!important}.toggle-button[data-v-83f67b5d]{color:var(--default-fore)}.toggle-button .icon[data-v-83f67b5d],.toggle-button .outline-icon[data-v-83f67b5d]{color:var(--minimal-fore)}.toggle-button.toggle-on[data-v-83f67b5d]{background-color:var(--tieba-theme-color);color:var(--default-background)}@keyframes kf-fade-in-a690d550{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-a690d550{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-a690d550{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-a690d550{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-a690d550{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.user-textbox[data-v-a690d550]{box-sizing:border-box;padding:4px;border:2px solid var(--border-color);border-radius:6px;background-color:var(--default-background);outline:none;transition:.4s}.user-textbox[data-v-a690d550]:hover{border-color:var(--light-background)}.user-textbox[data-v-a690d550]:focus{border-color:var(--tieba-theme-color)}.lodash-style.user-textbox[data-v-a690d550]{padding:0;border:none;border-radius:0;border-bottom:2px solid var(--border-color)}@keyframes kf-fade-in-2dd3ae22{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-2dd3ae22{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-2dd3ae22{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-2dd3ae22{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-2dd3ae22{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-2dd3ae22]{padding:0;margin:0;text-align:justify}body[data-v-2dd3ae22]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-2dd3ae22]{overflow:hidden}div[data-v-2dd3ae22],p[data-v-2dd3ae22]{margin:0}select[data-v-2dd3ae22]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-2dd3ae22]{cursor:pointer}option[data-v-2dd3ae22]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-2dd3ae22]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-2dd3ae22]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-2dd3ae22]{transform:translate(-50%,-50%)}@keyframes content-in-2dd3ae22{0%{opacity:0;transform:translateY(20px)}to{opacity:1}}.key-button[data-v-2dd3ae22]{display:flex;overflow:hidden;min-width:80px;align-items:center;padding:12px 16px;border-radius:0;box-shadow:none;font-size:16px;gap:12px;text-align:justify;white-space:nowrap}.key-button .icon[data-v-2dd3ae22]{font-size:20px;font-variation-settings:"FILL" 0,"wght" 300;transition:font-variation-settings .2s ease}.key-button .key-info[data-v-2dd3ae22]{display:flex;width:calc(100% - 32px);flex-direction:column}.key-button .key-title[data-v-2dd3ae22],.key-button .key-desc[data-v-2dd3ae22]{overflow:hidden;text-overflow:ellipsis}.key-button .key-desc[data-v-2dd3ae22]{color:var(--minimal-fore);font-size:14px}.key-button.selected[data-v-2dd3ae22]{background-color:var(--tieba-theme-color)!important;color:var(--default-background)!important}.key-button.selected[data-v-2dd3ae22]{font-weight:700}.key-button.selected .icon[data-v-2dd3ae22]{font-variation-settings:"FILL" 1,"GRAD" 48,"wght" 300;font-weight:400}.key-button.selected .key-desc[data-v-2dd3ae22]{color:var(--default-background)}.settings-wrapper[data-v-2dd3ae22]{display:flex;overflow:hidden;width:72%;min-width:720px;height:72%;min-height:400px;box-sizing:border-box;border:1px solid var(--light-border-color);border-radius:18px;margin:auto;animation:kf-dialog-in-2dd3ae22 .4s ease;background-color:var(--default-background);box-shadow:0 0 24px #0003}.settings-wrapper .left-container[data-v-2dd3ae22]{display:flex;width:30%;max-width:280px;flex-direction:column}.settings-wrapper .left-container .search-controls[data-v-2dd3ae22]{display:flex;flex-direction:column;padding:16px;gap:8px}.settings-wrapper .left-container .search-controls .title[data-v-2dd3ae22]{color:var(--default-fore)!important}.settings-wrapper .left-container .search-controls .title[data-v-2dd3ae22]{margin-top:8px;font-size:20px;font-weight:700;line-height:normal}.settings-wrapper .left-container .search-controls .search-box[data-v-2dd3ae22]{padding:6px;font-size:14px}.settings-wrapper .left-container .left-panel[data-v-2dd3ae22]{display:flex;box-sizing:border-box;flex-direction:column}.settings-wrapper .middle-container[data-v-2dd3ae22]{display:flex;width:20%;max-width:220px;flex-direction:column;padding:16px 6px;background-color:var(--deep-background);gap:6px}.settings-wrapper .middle-container .sub-key[data-v-2dd3ae22]{display:flex;padding:8px 16px;border-radius:12px;gap:4px}.settings-wrapper .middle-container .sub-key .key-title[data-v-2dd3ae22]{font-size:14px}.settings-wrapper .middle-container .sub-key[data-v-2dd3ae22]:not(:hover):not(:active):not(:focus){background-color:transparent;background-color:initial}.settings-wrapper .right-container[data-v-2dd3ae22]{display:flex;overflow:auto;width:50%;flex-direction:column;flex-grow:1;padding:16px;animation:content-in-2dd3ae22 .2s cubic-bezier(0,0,.2,1);background-color:var(--default-background);font-size:14px;gap:32px}.settings-wrapper .right-container .setting-content[data-v-2dd3ae22]{display:flex;flex-direction:column;gap:8px}.settings-wrapper .right-container .setting-content .content-title[data-v-2dd3ae22]{color:var(--highlight-fore);font-size:18px;font-weight:700}.settings-wrapper .right-container .setting-content .content-sub-title[data-v-2dd3ae22]{color:var(--default-fore);font-size:16px;font-weight:700}.settings-wrapper .right-container .setting-content .content-desc[data-v-2dd3ae22]{display:flex;flex-direction:column;color:var(--light-fore);gap:6px}.settings-wrapper .right-container .setting-content .content-textbox[data-v-2dd3ae22]{box-sizing:content-box;margin-left:auto}.settings-wrapper .right-container .setting-content .content-textbox.textarea[data-v-2dd3ae22]{width:100%;height:6em;resize:none}.settings-wrapper .right-container .setting-content .content-image[data-v-2dd3ae22]{max-width:100%;max-height:320px;border-radius:8px;margin:0 auto}.settings-wrapper .right-container .setting-content .setting-control[data-v-2dd3ae22]{display:flex}.settings-wrapper .right-container .setting-content .setting-control .settings-toggle-button[data-v-2dd3ae22]{margin-left:auto;background:none;font-size:36px}.settings-wrapper .right-container .setting-content .setting-control .settings-toggle-button.toggle-on[data-v-2dd3ae22]{color:var(--tieba-theme-color)}.settings-wrapper .right-container .setting-content .setting-control .settings-toggle-button.toggle-on[data-v-2dd3ae22]:hover{color:var(--tieba-theme-fore)}.settings-wrapper .right-container .setting-content .setting-control .icon-component[data-v-2dd3ae22]{margin-left:auto;font-size:64px;font-variation-settings:"FILL" 1}.settings-wrapper .empty-container[data-v-2dd3ae22]{margin:auto;color:var(--minimal-fore);font-size:72px}@keyframes kf-fade-in-b3af10bd{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-b3af10bd{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-b3af10bd{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-b3af10bd{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-b3af10bd{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-b3af10bd]{padding:0;margin:0;text-align:justify}body[data-v-b3af10bd]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-b3af10bd]{overflow:hidden}div[data-v-b3af10bd],p[data-v-b3af10bd]{margin:0}select[data-v-b3af10bd]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-b3af10bd]{cursor:pointer}option[data-v-b3af10bd]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}.dialogJ[data-v-b3af10bd]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-b3af10bd]{transform:translate(-50%,-50%)}.index-wrapper .grid-container .profile-menu-container .curr-user .user-profile[data-v-b3af10bd]{-o-object-fit:contain;object-fit:contain}a[data-v-b3af10bd]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.block-wrapper[data-v-b3af10bd]{display:flex;flex-direction:column;gap:8px}.block-controls[data-v-b3af10bd]{display:flex;width:100%;align-items:center;gap:8px}.block-controls .block-title[data-v-b3af10bd]{margin:0;font-size:24px;font-weight:700}.block-container[data-v-b3af10bd]{padding:8px;border-radius:12px;background-color:var(--trans-light-background)}html:not([perf-saver]) body.custom-background .block-container[data-v-b3af10bd]{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme body.custom-background .block-container[data-v-b3af10bd]{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}.block-panel[data-v-b3af10bd]{display:flex;min-width:30px;height:26px;align-items:center;justify-content:center;padding:2px 8px;border-radius:24px;margin-left:auto;background-color:var(--trans-light-background);font-size:14px;text-align:center}.block-panel .icon[data-v-b3af10bd]{color:var(--light-fore);font-size:18px}.block-panel .panel-btn[data-v-b3af10bd]{width:30px;height:30px;padding:4px;border:none;border-radius:48px}.block-panel.left-align[data-v-b3af10bd]{margin-left:0}.index-wrapper[data-v-b3af10bd]{display:flex;flex-direction:column;align-items:center;gap:12px}.index-wrapper .grid-container[data-v-b3af10bd]{display:grid;max-width:var(--content-max);margin:16px;grid-gap:36px;gap:36px;grid-template-rows:repeat(1,1fr)}.index-wrapper .grid-container .head-controls[data-v-b3af10bd]{display:flex;flex-direction:column;align-items:center;padding:24px;margin-top:24px;gap:24px}.index-wrapper .grid-container .head-controls .main-title[data-v-b3af10bd]{display:flex;align-items:center;justify-content:center;gap:12px}.index-wrapper .grid-container .head-controls .main-title .main-icon[data-v-b3af10bd]{height:64px}.index-wrapper .grid-container .head-controls .main-title .title[data-v-b3af10bd]{font-size:36px;font-style:italic;font-weight:700}.index-wrapper .grid-container .head-controls .search-controls[data-v-b3af10bd]{position:relative;display:grid;width:100%;max-width:420px;justify-content:center;grid-template-columns:1fr 72px}.index-wrapper .grid-container .head-controls .search-controls .search-box[data-v-b3af10bd]{width:100%;padding:8px;border-bottom-right-radius:0;border-top-right-radius:0;font-size:16px}.index-wrapper .grid-container .head-controls .search-controls .search-button[data-v-b3af10bd]{border:none;border-bottom-left-radius:0;border-top-left-radius:0;font-size:16px;font-weight:700}.index-wrapper .grid-container .head-controls .search-controls .search-suggestions[data-v-b3af10bd]{position:absolute;z-index:1;top:100%;display:flex;overflow:hidden;width:100%;box-sizing:border-box;flex-direction:column;border:1px solid var(--border-color);border-radius:6px;margin-top:4px;background-color:var(--default-background);box-shadow:0 0 20px #0003;animation:kf-fade-in-b3af10bd .2s}.index-wrapper .grid-container .head-controls .search-controls .search-suggestions .search-elem[data-v-b3af10bd]{display:flex;overflow:hidden;box-sizing:border-box;padding:8px;border:none;border-radius:0;animation:stretch-b3af10bd .2s cubic-bezier(.22,.61,.36,1);gap:8px;text-align:justify}@keyframes stretch-b3af10bd{0%{padding:4px 8px}to{padding:8px}}.index-wrapper .grid-container .head-controls .search-controls .search-suggestions .search-elem .sugg-img[data-v-b3af10bd]{width:42px;height:42px;border-radius:8px}.index-wrapper .grid-container .head-controls .search-controls .search-suggestions .search-elem .sugg-content[data-v-b3af10bd]{position:relative;display:flex;width:calc(100% - 50px);flex-direction:column;justify-content:center;gap:4px}.index-wrapper .grid-container .head-controls .search-controls .search-suggestions .search-elem .sugg-content .sugg-title[data-v-b3af10bd]{overflow:hidden;margin:0;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.index-wrapper .grid-container .head-controls .search-controls .search-suggestions .search-elem .sugg-content .sugg-desc[data-v-b3af10bd]{overflow:hidden;margin:0;color:var(--light-fore);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.index-wrapper .grid-container .profile-menu-container[data-v-b3af10bd]{position:absolute;z-index:1}.index-wrapper .grid-container .profile-menu-container .curr-user[data-v-b3af10bd]{position:fixed;top:24px;left:24px;overflow:hidden;width:36px;height:36px;padding:0;border:3px solid var(--border-color);border-radius:36px}.index-wrapper .grid-container .profile-menu-container .curr-user .user-profile[data-v-b3af10bd]{width:100%}.index-wrapper .grid-container .profile-menu-container .profile-menu[data-v-b3af10bd]{top:64px;left:24px}.index-wrapper .grid-container .config-menu-container[data-v-b3af10bd]{position:absolute;z-index:1;display:flex}.index-wrapper .grid-container .config-menu-container .config-menu-btn[data-v-b3af10bd]{position:fixed;top:24px;right:24px;height:32px;border:none;border-radius:36px;background-color:var(--page-background);font-size:24px}.index-wrapper .grid-container .config-menu-container .config-menu-btn[data-v-b3af10bd]:hover{background-color:var(--default-background)}.index-wrapper .grid-container .config-menu-container .config-menu-btn[data-v-b3af10bd]:active{background-color:var(--default-hover)}.index-wrapper .grid-container .config-menu-container .config-menu[data-v-b3af10bd]{top:64px;right:24px;opacity:1}.index-wrapper .grid-container .signed-count[data-v-b3af10bd]{font-weight:700}.index-wrapper .grid-container .block-panel.followed[data-v-b3af10bd]{margin-left:auto}.index-wrapper .grid-container .followed-container[data-v-b3af10bd]{margin-top:-16px}.index-wrapper .grid-container .followed-container .followed-list[data-v-b3af10bd]{display:flex;flex-wrap:wrap;padding:8px;border-radius:12px;background-color:var(--trans-light-background);gap:4px}.index-wrapper .grid-container .followed-container .followed-list .followed-btn[data-v-b3af10bd]{display:flex;align-items:center;padding:6px 8px;border-radius:12px;font-size:14px;gap:6px}.index-wrapper .grid-container .followed-container .followed-list .followed-btn .signed[data-v-b3af10bd]{color:green;font-weight:700}.index-wrapper .grid-container .followed-container .followed-list .followed-btn .forum-level[data-v-b3af10bd]{min-width:24px;padding:0 2px;border-radius:24px;font-weight:700;text-align:center}.index-wrapper .grid-container .topic-list[data-v-b3af10bd]{display:grid;grid-gap:4px;gap:4px;grid-auto-rows:max-content;grid-template-columns:repeat(2,1fr)}.index-wrapper .grid-container .topic-list .topic-btn[data-v-b3af10bd]{display:flex;width:100%;height:100%;align-items:center;padding:12px;border-radius:12px;gap:8px}.index-wrapper .grid-container .topic-list .topic-btn .topic-img[data-v-b3af10bd]{width:72px;border-radius:12px}.index-wrapper .grid-container .topic-list .topic-btn .topic-content[data-v-b3af10bd]{display:flex;flex-flow:column wrap;gap:4px;text-align:justify}.index-wrapper .grid-container .topic-list .topic-btn .topic-content .topic-title[data-v-b3af10bd]{display:flex;align-items:center;gap:6px}.index-wrapper .grid-container .topic-list .topic-btn .topic-content .topic-title [class^=topic-rank][data-v-b3af10bd]{padding:0 4px;border-radius:4px;background-color:orange;color:var(--default-background);font-weight:700;text-align:center}.index-wrapper .grid-container .topic-list .topic-btn .topic-content .topic-title .topic-name[data-v-b3af10bd]{font-size:16px;font-weight:700}.index-wrapper .grid-container .topic-list .topic-btn .topic-content .topic-desc[data-v-b3af10bd]{color:var(--light-fore);font-size:14px}.index-wrapper .masonry-container[data-v-b3af10bd]{display:flex;width:calc(100% - 32px);max-width:var(--content-max);box-sizing:border-box;flex-direction:column;align-items:center;gap:8px}.index-wrapper .masonry-container .feeds-container[data-v-b3af10bd]{width:100%;margin:auto}@keyframes feeds-in-b3af10bd{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes refresh-btn-in-b3af10bd{0%{padding:0 18px;opacity:0}to{padding:8px 18px;opacity:1}}.index-wrapper .masonry-container .feeds-container .feeds-refresh-btn[data-v-b3af10bd]{position:fixed;z-index:1;bottom:24px;left:50%;display:flex;align-items:center;justify-content:center;padding:8px 18px;border-width:2px;border-radius:16px;animation:refresh-btn-in-b3af10bd .4s ease;box-shadow:0 6px 20px #0000004d;font-size:14px;font-weight:700;gap:6px;transform:translate(-50%)}.index-wrapper .masonry-container .feeds-container .feeds-refresh-btn .icon[data-v-b3af10bd]{font-size:18px}.index-wrapper .masonry-container .post-elem[data-v-b3af10bd]{animation:feeds-in-b3af10bd .4s cubic-bezier(.18,.89,.32,1.2)}.index-wrapper .masonry-container .post-elem[data-v-b3af10bd]:not(:hover):not(:active):not(:focus){box-shadow:none}.index-wrapper .masonry-container .empty-container .no-feed-content[data-v-b3af10bd]{color:var(--minimal-fore);font-size:small;text-align:center}@keyframes kf-fade-in-88fc5825{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-88fc5825{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-88fc5825{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-88fc5825{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-88fc5825{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-88fc5825]{padding:0;margin:0;text-align:justify}body[data-v-88fc5825]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-88fc5825]{overflow:hidden}div[data-v-88fc5825],p[data-v-88fc5825]{margin:0}select[data-v-88fc5825]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-88fc5825]{cursor:pointer}option[data-v-88fc5825]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-88fc5825]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-88fc5825]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-88fc5825]{transform:translate(-50%,-50%)}.pager-wrapper .pager-button-container .pager-button.icon[data-v-88fc5825]{font-family:Material Symbols,monospace!important}.pager-wrapper .pager-button-container .pager-button.icon[data-v-88fc5825]{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pager-wrapper[data-v-88fc5825]{display:flex;width:-moz-fit-content;width:fit-content;box-sizing:border-box;align-items:center;padding:4px;font-size:16px;gap:6px}.pager-wrapper .pager-button-container[data-v-88fc5825]{display:flex;align-items:center;gap:4px}.pager-wrapper .pager-button-container .pager-button[data-v-88fc5825]{color:var(--default-fore);font-family:var(--code-monospace)}.pager-wrapper .pager-button-container .pager-button[data-v-88fc5825]:not(:hover):not(:active):not(:focus){background-color:transparent}.pager-wrapper .pager-button-container .pager-button.fill[data-v-88fc5825]:not(:hover):not(:active):not(:focus){background-color:var(--defualt-background)}.pager-wrapper .pager-button-container .pager-button.curr-pager-button[data-v-88fc5825]{border-radius:0;box-shadow:0 3px 0 var(--tieba-theme-color);color:var(--tieba-theme-color);font-weight:700}.pager-wrapper .pager-separactor[data-v-88fc5825]{color:var(--minimal-fore);font-family:var(--code-monospace)}.pager-wrapper .jumper-container[data-v-88fc5825]{display:flex;align-items:center;color:var(--light-fore);gap:6px}.pager-wrapper .jumper-container .jumper[data-v-88fc5825]{width:36px;width:3em;padding:2px 4px;color:var(--default-fore);font-family:var(--code-monospace)}.pager-wrapper .tail-slot[data-v-88fc5825]{margin-left:auto;color:var(--minimal-fore)}@keyframes slide-in-217ff1bf{0%{opacity:0;transform:translateY(20%)}}#thread-editor[data-v-217ff1bf]{bottom:0;left:50%;display:flex;width:100%;max-width:var(--content-max);max-height:100vh;box-sizing:border-box;flex-direction:column;align-items:center;padding:24px;border-radius:8px 8px 0 0;margin:auto auto 0;animation:slide-in-217ff1bf .4s ease;background-color:var(--default-background);gap:8px;transition:.4s}#thread-editor #thread-editor-exit[data-v-217ff1bf]{margin-left:auto;font-size:18px}#thread-editor #thread-editor-exit[data-v-217ff1bf]:not(:hover):not(:active):not(:focus){box-shadow:none}#thread-editor .title-editor[data-v-217ff1bf]{width:100%;flex-grow:1;border-width:3px;background-color:transparent;font-size:24px;font-weight:700}#thread-editor h1[data-v-217ff1bf]{margin-right:auto}#thread-editor #thread-editor-slot[data-v-217ff1bf]{width:100%;flex-shrink:2}#thread-editor #thread-editor-toolbar[data-v-217ff1bf]{display:flex;width:100%;align-items:center}#thread-editor #thread-editor-toolbar #thread-editor-submit[data-v-217ff1bf]{padding:4px 12px;margin-left:auto;font-size:16px;font-weight:700}#thread-editor .edui-container .edui-toolbar .edui-btn-toolbar .edui-btn .edui-icon:before{font-family:Material Symbols,monospace!important}#thread-editor .edui-container .edui-toolbar .edui-btn-toolbar .edui-btn .edui-icon:before{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll}#thread-editor .edui-container{width:100%!important}#thread-editor .edui-container .edui-toolbar{height:auto;align-items:center;background-color:transparent}#thread-editor .edui-container .edui-toolbar .edui-btn-toolbar{display:flex;background-color:transparent;gap:8px}#thread-editor .edui-container .edui-toolbar .edui-btn-toolbar .edui-btn{padding:1px;border-radius:4px;margin-right:0;background:none;background-color:var(--light-background);box-shadow:0 0 0 1px var(--border-color);cursor:pointer;transition:.4s}#thread-editor .edui-container .edui-toolbar .edui-btn-toolbar .edui-btn .edui-icon{display:flex;width:-moz-max-content;width:max-content;align-items:center;padding:2px 4px;background:none;gap:4px}#thread-editor .edui-container .edui-toolbar .edui-btn-toolbar .edui-btn .edui-icon:before{font-size:16px}#thread-editor .edui-container .edui-toolbar .edui-dialog-container .edui-dropdown-menu{overflow:hidden;width:-moz-max-content;width:max-content;padding:0;border:2px solid var(--border-color);border-radius:6px;background:none}#thread-editor .edui-container .edui-toolbar .edui-dialog-container .edui-dropdown-menu .edui-popup-body{padding:0;border:none;background-color:var(--default-background)}#thread-editor .edui-container .edui-toolbar .edui-dialog-container .edui-dropdown-menu .edui-popup-caret{display:none}#thread-editor .edui-container .edui-editor-body{border:none;border-radius:0;border-bottom:3px solid var(--tieba-theme-color);transition:.4s}#thread-editor .edui-container .edui-editor-body:hover{border-color:var(--light-background)}#thread-editor .edui-container .edui-editor-body:focus{border-color:var(--tieba-theme-color)}#thread-editor .edui-container .edui-body-container{min-height:18px!important}#thread-editor .edui-container .edui-body-container{max-height:50vh;padding:0;border-radius:0;background-color:transparent}.edui-btn-topic{display:none!important}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-medal:before{content:"diamond"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-medal:after{content:"\u7279\u6743"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-image:before{content:"photo"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-image:after{content:"\u63D2\u5165\u56FE\u7247"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-video:before{content:"video_file"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-video:after{content:"\u63D2\u5165\u89C6\u9891"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-emotion:before{content:"face"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-emotion:after{content:"\u63D2\u5165\u8868\u60C5"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-scrawl:before{content:"format_paint"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-scrawl:after{content:"\u6D82\u9E26"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-topic:before{content:"grid_3x3"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-topic:after{content:"\u8BDD\u9898"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-quick-reply:before{content:"rocket_launch"}#thread-editor .edui-btn-toolbar .edui-icon.edui-icon-quick-reply:after{content:"\u5FEB\u901F\u56DE\u5E16"}.edui-popup-body .layer_medal_list li a:before,.edui-popup-body .layer_btn_list li a:before{font-family:Material Symbols,monospace!important}.edui-popup-body .layer_medal_list li a:before,.edui-popup-body .layer_btn_list li a:before{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.edui-dialog-container .upload_container .next_step,.edui-popup-body .layer_medal_list li a,.edui-popup-body .layer_btn_list li a{box-sizing:border-box;padding:2px 8px;border:none;border-radius:6px;background:none;background-color:var(--default-background);box-shadow:0 0 0 1px var(--border-color);color:var(--default-fore);cursor:pointer;transition:.4s}.edui-dialog-container .upload_container .next_step:hover:not([disabled]),.edui-popup-body .layer_medal_list li a:hover:not([disabled]),.edui-popup-body .layer_btn_list li a:hover:not([disabled]){background-color:var(--default-hover)}.edui-dialog-container .upload_container .next_step:active:not([disabled]),.edui-popup-body .layer_medal_list li a:active:not([disabled]),.edui-popup-body .layer_btn_list li a:active:not([disabled]){background-color:var(--default-active)}.edui-dialog-container .upload_container .next_step:focus:not([disabled]),.edui-popup-body .layer_medal_list li a:focus:not([disabled]),.edui-popup-body .layer_btn_list li a:focus:not([disabled]){border-color:var(--tieba-theme-color);box-shadow:0 0 0 2px var(--tieba-theme-color)}.edui-dialog-container .upload_container .theme-style.next_step,.edui-popup-body .layer_medal_list li a.theme-style,.edui-popup-body .layer_btn_list li a.theme-style{color:var(--default-background)!important}.edui-dialog-container .upload_container .theme-style.next_step,.edui-popup-body .layer_medal_list li a.theme-style,.edui-popup-body .layer_btn_list li a.theme-style{background-color:var(--tieba-theme-color)}.edui-dialog-container .upload_container .theme-style.next_step:hover,.edui-popup-body .layer_medal_list li a.theme-style:hover,.edui-popup-body .layer_btn_list li a.theme-style:hover{background-color:var(--tieba-theme-hover)}.edui-dialog-container .upload_container .theme-style.next_step:active,.edui-popup-body .layer_medal_list li a.theme-style:active,.edui-popup-body .layer_btn_list li a.theme-style:active{background-color:var(--tieba-theme-active)}.edui-dialog-container .upload_container .unset-background.next_step,.edui-popup-body .layer_medal_list li a.unset-background,.edui-popup-body .layer_btn_list li a.unset-background{background-color:transparent;background-color:initial}.edui-dialog-container .upload_container .no-border.next_step,.edui-popup-body .layer_medal_list li a.no-border,.edui-popup-body .layer_btn_list li a.no-border,.edui-dialog-container .upload_container .no-border-all.next_step,.edui-popup-body .layer_medal_list li a.no-border-all,.edui-popup-body .layer_btn_list li a.no-border-all{box-shadow:none}.edui-dialog-container .upload_container .no-border-all.next_step:hover,.edui-popup-body .layer_medal_list li a.no-border-all:hover,.edui-popup-body .layer_btn_list li a.no-border-all:hover,.edui-dialog-container .upload_container .no-border-all.next_step:focus,.edui-popup-body .layer_medal_list li a.no-border-all:focus,.edui-popup-body .layer_btn_list li a.no-border-all:focus{box-shadow:none}.edui-dialog-container .edui-popup{position:static!important}.edui-dialog-container .upload_container{padding:0 20px 20px 0}.edui-dialog-container .upload_container .slide_item_img{border-color:var(--tieba-theme-color)!important}.edui-dialog-container .upload_container .slide_item_img{overflow:hidden}.edui-dialog-container .upload_container .watermark_options{position:static;margin-left:20px}.edui-dialog-container .upload_container .next_step{position:static;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;padding:4px 8px;margin-left:auto;line-height:normal}.edui-popup-body{position:static}.edui-popup-body .layer_medal_list,.edui-popup-body .layer_btn_list{width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content}.edui-popup-body .layer_medal_list li,.edui-popup-body .layer_btn_list li{display:flex;overflow:hidden;align-items:center;padding:0;background:none}.edui-popup-body .layer_medal_list li a,.edui-popup-body .layer_btn_list li a{display:flex;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;align-items:center;padding:4px 8px;border-radius:0;box-shadow:none;gap:4px}.edui-popup-body .layer_medal_list li a:before,.edui-popup-body .layer_btn_list li a:before{font-size:16px}.layer_medal_list li.post_bubble a:before{content:"bubble_chart"}.layer_medal_list li.post_bubble a:after{content:"\u53D1\u5E16\u6C14\u6CE1"}.layer_medal_list li.colorful_font a:before{content:"format_color_text"}.layer_medal_list li.colorful_font a:after{content:"\u5F69\u8272\u5B57\u4F53"}.layer_btn_list{padding:0!important}.layer_btn_list li{border:none!important}.layer_btn_list li.from_upload a:before{content:"upload_file"}.layer_btn_list li.from_upload a:after{content:"\u4E0A\u4F20\u6587\u4EF6"}.layer_btn_list li.from_web a:before{content:"web"}.layer_btn_list li.from_web a:after{content:"\u7F51\u7EDC\u56FE\u7247"}@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:before,#thread-editor .emotion_container .ueditor_emotion_tab .s_next:before{font-family:Material Symbols,monospace!important}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:before,#thread-editor .emotion_container .ueditor_emotion_tab .s_next:before{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .s_next{box-sizing:border-box;padding:2px 8px;border:none;border-radius:6px;background:none;background-color:var(--default-background);box-shadow:0 0 0 1px var(--border-color);color:var(--default-fore);cursor:pointer;transition:.4s}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:hover:not([disabled]),#thread-editor .emotion_container .ueditor_emotion_tab .s_next:hover:not([disabled]){background-color:var(--default-hover)}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:active:not([disabled]),#thread-editor .emotion_container .ueditor_emotion_tab .s_next:active:not([disabled]){background-color:var(--default-active)}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:focus:not([disabled]),#thread-editor .emotion_container .ueditor_emotion_tab .s_next:focus:not([disabled]){border-color:var(--tieba-theme-color);box-shadow:0 0 0 2px var(--tieba-theme-color)}#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_next{color:var(--default-background)!important}#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_next{background-color:var(--tieba-theme-color)}#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_prev:hover,#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_next:hover{background-color:var(--tieba-theme-hover)}#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_prev:active,#thread-editor .emotion_container .ueditor_emotion_tab .theme-style.s_next:active{background-color:var(--tieba-theme-active)}#thread-editor .emotion_container .ueditor_emotion_tab .unset-background.s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .unset-background.s_next{background-color:transparent;background-color:initial}#thread-editor .emotion_container .ueditor_emotion_tab .no-border.s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .no-border.s_next,#thread-editor .emotion_container .ueditor_emotion_tab .no-border-all.s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .no-border-all.s_next{box-shadow:none}#thread-editor .emotion_container .ueditor_emotion_tab .no-border-all.s_prev:hover,#thread-editor .emotion_container .ueditor_emotion_tab .no-border-all.s_next:hover,#thread-editor .emotion_container .ueditor_emotion_tab .no-border-all.s_prev:focus,#thread-editor .emotion_container .ueditor_emotion_tab .no-border-all.s_next:focus{box-shadow:none}#thread-editor .emotion_container .tbui_scroll_panel{overflow:hidden;border-radius:4px 4px 0 0}html.dark-theme #thread-editor .emotion_container td,html.dark-theme #thread-editor .emotion_container .emotion_preview{filter:brightness(.8)}#thread-editor .emotion_container .emotion_preview{border:1px solid var(--border-color);border-radius:6px;box-shadow:0 0 10px #00000003}html.dark-theme #thread-editor .emotion_container .emotion_preview{box-shadow:0 0 16px #0003}#thread-editor .emotion_container .ueditor_emotion_tab{display:flex;align-items:center;justify-content:space-evenly;border-top:2px solid var(--border-color);background:none;background-color:var(--default-background);color:var(--default-fore)}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .s_next{width:-moz-max-content!important;width:max-content!important;height:-moz-max-content!important;height:max-content!important}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev,#thread-editor .emotion_container .ueditor_emotion_tab .s_next{position:static;padding:0 2px;background:none;box-shadow:none}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:before,#thread-editor .emotion_container .ueditor_emotion_tab .s_next:before{font-size:10px}#thread-editor .emotion_container .ueditor_emotion_tab .s_prev:before{content:"arrow_back_ios"}#thread-editor .emotion_container .ueditor_emotion_tab .s_next:before{content:"arrow_forward_ios"}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper{position:static}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper .s_tab_btn{border-radius:4px;background:none;background-color:var(--default-background)}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper .s_tab_btn .s_tab_btnbg{border-radius:4px;background:none;transition:.4s}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper .s_hover{filter:brightness(1.2)}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper .s_hover .s_tab_btnbg{filter:brightness(1.4)}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper .selected{background:none}#thread-editor .emotion_container .ueditor_emotion_tab .s_tab_con_wrapper .selected .s_tab_btnbg{background-color:var(--tieba-theme-color);color:var(--default-background);font-weight:700}@keyframes kf-fade-in-521b9a21{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-521b9a21{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-521b9a21{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-521b9a21{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-521b9a21{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-521b9a21]{padding:0;margin:0;text-align:justify}body[data-v-521b9a21]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-521b9a21]{overflow:hidden}div[data-v-521b9a21],p[data-v-521b9a21]{margin:0}select[data-v-521b9a21]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-521b9a21]{cursor:pointer}option[data-v-521b9a21]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-521b9a21]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-521b9a21]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-521b9a21]{transform:translate(-50%,-50%)}.toggle-panel[data-v-521b9a21]{display:flex;overflow:hidden;max-width:60vh;max-height:60vh;box-sizing:border-box;flex-direction:column;padding:12px;border:1px solid var(--light-border-color);border-radius:16px;margin:auto;animation:kf-dialog-in-521b9a21 .4s ease;background-color:var(--default-background);box-shadow:0 0 10px #0000001a;color:var(--default-fore);transition:.4s ease}.toggle-panel .toggle-wrapper[data-v-521b9a21]{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.toggle-panel .toggle-wrapper .toggle-container[data-v-521b9a21]{display:flex;flex-direction:column;align-items:center;gap:4px}.toggle-panel .toggle-wrapper .toggle-container .panel-button[data-v-521b9a21]{width:58px;height:58px;border-radius:12px;font-size:24px}.toggle-panel .toggle-wrapper .toggle-container .panel-button.toggle-off[data-v-521b9a21]{color:var(--minimal-fore)}.toggle-panel .toggle-wrapper .toggle-container .panel-button.toggle-on[data-v-521b9a21]:focus{box-shadow:0 0 0 1px var(--tieba-theme-color)}.toggle-panel .toggle-wrapper .toggle-container .toggle-name[data-v-521b9a21]{color:var(--light-fore)}@keyframes kf-fade-in-50de6ad2{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-50de6ad2{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-50de6ad2{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-50de6ad2{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-50de6ad2{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-50de6ad2]{padding:0;margin:0;text-align:justify}body[data-v-50de6ad2]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-50de6ad2]{overflow:hidden}div[data-v-50de6ad2],p[data-v-50de6ad2]{margin:0}select[data-v-50de6ad2]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-50de6ad2]{cursor:pointer}option[data-v-50de6ad2]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-50de6ad2]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-50de6ad2]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-50de6ad2]{transform:translate(-50%,-50%)}@keyframes stretch-50de6ad2{0%{padding:2px 14px}to{padding:4px 14px}}a[data-v-50de6ad2]{color:inherit}.dropdown-menu[data-v-50de6ad2]{position:fixed;z-index:1;display:flex;overflow:hidden;width:-moz-max-content;width:max-content;min-width:120px;flex-direction:column;padding:4px;border:1px solid var(--border-color);border-radius:8px;background-color:var(--default-background);box-shadow:0 0 20px #00000014;animation:kf-fade-in-50de6ad2 .2s;font-size:14px}.dropdown-menu .menu-item[data-v-50de6ad2]{display:flex;width:100%;align-items:center;padding:4px 14px;border:none;border-radius:6px;animation:stretch-50de6ad2 .2s cubic-bezier(.22,.61,.36,1);background:none;color:var(--default-fore);font-size:14px;gap:6px;transition:.2s}.dropdown-menu .menu-item .menu-title[data-v-50de6ad2]{display:flex;width:100%;gap:12px;text-align:justify}.dropdown-menu .menu-item .menu-title .menu-inner[data-v-50de6ad2]{margin-left:auto;color:var(--minimal-fore)}.dropdown-menu .menu-item[data-v-50de6ad2]:hover{background-color:var(--default-hover)}.dropdown-menu .menu-item[data-v-50de6ad2]:active{background-color:var(--default-active)}.dropdown-menu .menu-separator[data-v-50de6ad2]{width:calc(100% + 8px);height:1px;margin:6px 0 6px -4px;background-color:var(--border-color)}.blur-effect[data-v-50de6ad2]{background-color:var(--trans-default-background)}html:not([perf-saver]) .blur-effect[data-v-50de6ad2]{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme .blur-effect[data-v-50de6ad2]{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}@keyframes kf-fade-in-9c938fa5{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out-9c938fa5{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in-9c938fa5{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in-9c938fa5{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in-9c938fa5{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html[data-v-9c938fa5]{padding:0;margin:0;text-align:justify}body[data-v-9c938fa5]{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar][data-v-9c938fa5]{overflow:hidden}div[data-v-9c938fa5],p[data-v-9c938fa5]{margin:0}select[data-v-9c938fa5]{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option[data-v-9c938fa5]{cursor:pointer}option[data-v-9c938fa5]:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a[data-v-9c938fa5]{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ[data-v-9c938fa5]{position:fixed!important;top:50%!important;left:50%!important}.dialogJ[data-v-9c938fa5]{transform:translate(-50%,-50%)}#nav-bar[data-v-9c938fa5]{position:fixed;z-index:1200;top:0;left:0;display:flex;width:100%;height:48px;align-items:center;justify-content:center;border-bottom:1px solid var(--border-color);background-color:var(--trans-page-background);box-shadow:0 10px 10px #00000003}html:not([perf-saver]) #nav-bar[data-v-9c938fa5]{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme #nav-bar[data-v-9c938fa5]{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}html.dark-theme #nav-bar[data-v-9c938fa5]{box-shadow:0 10px 16px #0003}#nav-bar #nav-container[data-v-9c938fa5]{display:flex;width:100%;max-width:var(--content-max);height:100%;justify-content:space-between}.shrink-view #nav-bar #nav-container[data-v-9c938fa5]{justify-content:space-around}#nav-bar #nav-container .left-container .nav-title-container[data-v-9c938fa5]{display:flex;height:100%;align-items:center;padding:0;border:none;background:none;gap:8px;-webkit-text-decoration:underline 3px var(--tieba-theme-color);text-decoration:underline 3px var(--tieba-theme-color)}#nav-bar #nav-container .left-container .nav-title-container .nav-icon[data-v-9c938fa5]{width:36px}#nav-bar #nav-container .left-container .nav-title-container .nav-title[data-v-9c938fa5]{color:var(--default-fore);font-size:20px;font-style:italic;font-weight:700;transition:.2s}#nav-bar #nav-container .left-container .nav-title-container:hover .nav-title[data-v-9c938fa5],#nav-bar #nav-container .left-container .nav-title-container:active .nav-title[data-v-9c938fa5],#nav-bar #nav-container .left-container .nav-title-container:focus .nav-title[data-v-9c938fa5]{color:var(--highlight-fore)}#nav-bar #nav-container .middle-container[data-v-9c938fa5]{display:flex;height:100%;justify-content:center}#nav-bar #nav-container .middle-container .middle-menu-trigger[data-v-9c938fa5]{height:100%;padding:0 10px;border:none;color:var(--default-fore);font-size:15px;font-weight:700;text-decoration:underline;-webkit-text-decoration:underline solid rgba(0,0,0,0);text-decoration:underline solid rgba(0,0,0,0);text-decoration-thickness:2px;-webkit-text-decoration:underline 2px rgba(0,0,0,0);text-decoration:underline 2px rgba(0,0,0,0)}#nav-bar #nav-container .middle-container .middle-menu-trigger[data-v-9c938fa5]:hover{-webkit-text-decoration:underline 2px var(--tieba-theme-color);text-decoration:underline 2px var(--tieba-theme-color)}#nav-bar #nav-container .right-container[data-v-9c938fa5]{display:flex;gap:6px}#nav-bar #nav-container .right-container .avatar-button[data-v-9c938fa5]{display:flex;height:100%;align-items:center;padding:0 2px;border:4px}#nav-bar #nav-container .right-container .avatar-button .nav-avatar[data-v-9c938fa5]{width:32px;height:32px;border-radius:24px;box-shadow:0 0 0 1px var(--border-color);transition:.4s}#nav-bar #nav-container .right-container .avatar-button:hover>.nav-avatar[data-v-9c938fa5]{box-shadow:0 0 0 2px var(--tieba-theme-color)}#nav-bar #nav-container .right-container .menu-button[data-v-9c938fa5]{padding:2px 8px;border:none;color:var(--highlight-fore);font-size:26px}#nav-bar #nav-container .right-container .menu-button[data-v-9c938fa5]:hover{color:var(--tieba-theme-color)}.menu-trigger[data-v-9c938fa5]{border-radius:0;background-color:transparent}.menu-trigger[data-v-9c938fa5]:hover{background-color:var(--default-hover)}.menu-trigger:hover>.nav-menu[data-v-9c938fa5],.menu-trigger:active>.nav-menu[data-v-9c938fa5]{display:block}.nav-menu[data-v-9c938fa5]{position:absolute;z-index:1201;display:none;cursor:default;font-weight:400}.nav-menu[data-v-9c938fa5]:hover{display:block}.shield-container[data-v-bb897aee]{display:flex;width:100%;flex-direction:column;gap:16px}.shield-container .words-container[data-v-bb897aee]{display:flex;flex-wrap:wrap;padding:12px;border-radius:12px;background-color:var(--trans-light-background);gap:4px}.shield-container .words-container .shield-elem[data-v-bb897aee]{display:flex;align-items:center;padding:4px 8px;border:none;border-radius:8px;font-size:14px;gap:4px}.shield-container .words-container .shield-elem .icon[data-v-bb897aee]{color:var(--light-fore)}.shield-container .words-container .remove-all[data-v-bb897aee]{background-color:#d62929;color:var(--default-background);font-variation-settings:"FILL" 0}.shield-container .empty-list-container[data-v-bb897aee]{color:var(--minimal-fore)}.shield-container .shield-controls[data-v-bb897aee]{display:flex;flex-direction:column;gap:8px}.shield-container .shield-controls .shield-input[data-v-bb897aee]{width:100%;height:auto;max-height:6em;box-sizing:border-box;padding:6px;font-size:16px;resize:none}.shield-container .shield-controls .submit-controls[data-v-bb897aee]{display:flex;align-items:center;justify-content:flex-end;gap:12px}.shield-container .shield-controls .submit-controls label[data-v-bb897aee]{margin-left:4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.shield-container .shield-controls .submit-controls .regex-check[data-v-bb897aee]{margin-right:8px;font-size:16px}.shield-container .shield-controls .submit-controls .submit-button[data-v-bb897aee]{padding:4px 12px;font-size:14px;font-weight:700} ');

(function () {
  'use strict';

  var __defProp=Object.defineProperty,__defNormalProp=(e,t,n)=>t in e?__defProp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,__publicField=(e,t,n)=>(__defNormalProp(e,"symbol"!=typeof t?t+"":t,n),n),__accessCheck=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},__privateAdd=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n);},__privateMethod=(e,t,n)=>(__accessCheck(e,t,"access private method"),n);!function(){var e,t,n,r;(e=>{const t=GM_getResourceText(e);GM_addStyle(t);})("element-plus/dist/index.css");var o="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,i=o||a||Function("return this")(),l=i.Symbol,s=Object.prototype,c=s.hasOwnProperty,u=s.toString,d=l?l.toStringTag:void 0;var p=Object.prototype.toString;var f="[object Null]",h="[object Undefined]",g=l?l.toStringTag:void 0;function m(e){return null==e?void 0===e?h:f:g&&g in Object(e)?function(e){var t=c.call(e,d),n=e[d];try{e[d]=void 0;var r=!0;}catch(a){}var o=u.call(e);return r&&(t?e[d]=n:delete e[d]),o}(e):function(e){return p.call(e)}(e)}function b(e){return null!=e&&"object"==typeof e}var v="[object Symbol]";function _(e){return "symbol"==typeof e||b(e)&&m(e)==v}function y(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}var x=Array.isArray,k=1/0,w=l?l.prototype:void 0,S=w?w.toString:void 0;function C(e){if("string"==typeof e)return e;if(x(e))return y(e,C)+"";if(_(e))return S?S.call(e):"";var t=e+"";return "0"==t&&1/e==-k?"-0":t}var E=/\s/;var A=/^\s+/;function j(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&E.test(e.charAt(t)););return t}(e)+1).replace(A,""):e}function $(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var O=NaN,z=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,M=/^0o[0-7]+$/i,L=parseInt;function I(e){if("number"==typeof e)return e;if(_(e))return O;if($(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=$(t)?t+"":t;}if("string"!=typeof e)return 0===e?e:+e;e=j(e);var n=T.test(e);return n||M.test(e)?L(e.slice(2),n?2:8):z.test(e)?O:+e}var F=1/0,R=17976931348623157e292;function P(e){return e?(e=I(e))===F||e===-F?(e<0?-1:1)*R:e==e?e:0:0===e?e:0}function B(e){var t=P(e),n=t%1;return t==t?n?t-n:t:0}function N(e){return e}var D="[object AsyncFunction]",V="[object Function]",H="[object GeneratorFunction]",U="[object Proxy]";function q(e){if(!$(e))return !1;var t=m(e);return t==V||t==H||t==D||t==U}var W,K=i["__core-js_shared__"],G=(W=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";var Z=Function.prototype.toString;function J(e){if(null!=e){try{return Z.call(e)}catch(t){}try{return e+""}catch(t){}}return ""}var Y=/^\[object .+?Constructor\]$/,Q=Function.prototype,X=Object.prototype,ee=Q.toString,te=X.hasOwnProperty,ne=RegExp("^"+ee.call(te).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function re(e){return !(!$(e)||(t=e,G&&G in t))&&(q(e)?ne:Y).test(J(e));var t;}function oe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return re(n)?n:void 0}var ae=oe(i,"WeakMap"),ie=Object.create,le=function(){function e(){}return function(t){if(!$(t))return {};if(ie)return ie(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();var se=Date.now;var ce=function(){try{var e=oe(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),ue=ce?function(e,t){return ce(e,"toString",{configurable:!0,enumerable:!1,value:(n=t,function(){return n}),writable:!0});var n;}:N;var de,pe,fe,he=(de=ue,pe=0,fe=0,function(){var e=se(),t=16-(e-fe);if(fe=e,t>0){if(++pe>=800)return arguments[0]}else pe=0;return de.apply(void 0,arguments)});function ge(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function me(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return -1}function be(e){return e!=e}function ve(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return -1}(e,t,n):me(e,be,n)}var _e=9007199254740991,ye=/^(?:0|[1-9]\d*)$/;function xe(e,t){var n=typeof e;return !!(t=null==t?_e:t)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function ke(e,t,n){"__proto__"==t&&ce?ce(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n;}function we(e,t){return e===t||e!=e&&t!=t}var Se=Object.prototype.hasOwnProperty;function Ce(e,t,n){var r=e[t];Se.call(e,t)&&we(r,n)&&(void 0!==n||t in e)||ke(e,t,n);}function Ee(e,t,n,r){var o=!n;n||(n={});for(var a=-1,i=t.length;++a<i;){var l=t[a],s=r?r(n[l],e[l],l,n,e):void 0;void 0===s&&(s=e[l]),o?ke(n,l,s):Ce(n,l,s);}return n}var Ae=Math.max;function je(e,t){return he(function(e,t,n){return t=Ae(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,a=Ae(r.length-t,0),i=Array(a);++o<a;)i[o]=r[t+o];o=-1;for(var l=Array(t+1);++o<t;)l[o]=r[o];return l[t]=n(i),function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}(e,this,l)}}(e,t,N),e+"")}var $e=9007199254740991;function Oe(e){return "number"==typeof e&&e>-1&&e%1==0&&e<=$e}function ze(e){return null!=e&&Oe(e.length)&&!q(e)}function Te(e,t,n){if(!$(n))return !1;var r=typeof t;return !!("number"==r?ze(n)&&xe(t,n.length):"string"==r&&t in n)&&we(n[t],e)}function Me(e){return je((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,i=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,i&&Te(n[0],n[1],i)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a);}return t}))}var Le=Object.prototype;function Ie(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Le)}function Fe(e){return b(e)&&"[object Arguments]"==m(e)}var Re=Object.prototype,Pe=Re.hasOwnProperty,Be=Re.propertyIsEnumerable,Ne=Fe(function(){return arguments}())?Fe:function(e){return b(e)&&Pe.call(e,"callee")&&!Be.call(e,"callee")};var De="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ve=De&&"object"==typeof module&&module&&!module.nodeType&&module,He=Ve&&Ve.exports===De?i.Buffer:void 0,Ue=(He?He.isBuffer:void 0)||function(){return !1},qe={};function We(e){return function(t){return e(t)}}qe["[object Float32Array]"]=qe["[object Float64Array]"]=qe["[object Int8Array]"]=qe["[object Int16Array]"]=qe["[object Int32Array]"]=qe["[object Uint8Array]"]=qe["[object Uint8ClampedArray]"]=qe["[object Uint16Array]"]=qe["[object Uint32Array]"]=!0,qe["[object Arguments]"]=qe["[object Array]"]=qe["[object ArrayBuffer]"]=qe["[object Boolean]"]=qe["[object DataView]"]=qe["[object Date]"]=qe["[object Error]"]=qe["[object Function]"]=qe["[object Map]"]=qe["[object Number]"]=qe["[object Object]"]=qe["[object RegExp]"]=qe["[object Set]"]=qe["[object String]"]=qe["[object WeakMap]"]=!1;var Ke="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ge=Ke&&"object"==typeof module&&module&&!module.nodeType&&module,Ze=Ge&&Ge.exports===Ke&&o.process,Je=function(){try{var e=Ge&&Ge.require&&Ge.require("util").types;return e||Ze&&Ze.binding&&Ze.binding("util")}catch(t){}}(),Ye=Je&&Je.isTypedArray,Qe=Ye?We(Ye):function(e){return b(e)&&Oe(e.length)&&!!qe[m(e)]},Xe=Object.prototype.hasOwnProperty;function et(e,t){var n=x(e),r=!n&&Ne(e),o=!n&&!r&&Ue(e),a=!n&&!r&&!o&&Qe(e),i=n||r||o||a,l=i?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],s=l.length;for(var c in e)!t&&!Xe.call(e,c)||i&&("length"==c||o&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||xe(c,s))||l.push(c);return l}function tt(e,t){return function(n){return e(t(n))}}var nt=tt(Object.keys,Object),rt=Object.prototype.hasOwnProperty;function ot(e){return ze(e)?et(e):function(e){if(!Ie(e))return nt(e);var t=[];for(var n in Object(e))rt.call(e,n)&&"constructor"!=n&&t.push(n);return t}(e)}var at=Object.prototype.hasOwnProperty,it=Me((function(e,t){if(Ie(t)||ze(t))Ee(t,ot(t),e);else for(var n in t)at.call(t,n)&&Ce(e,n,t[n]);}));const lt=it;var st=Object.prototype.hasOwnProperty;function ct(e){if(!$(e))return function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}(e);var t=Ie(e),n=[];for(var r in e)("constructor"!=r||!t&&st.call(e,r))&&n.push(r);return n}function ut(e){return ze(e)?et(e,!0):ct(e)}var dt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,pt=/^\w*$/;function ft(e,t){if(x(e))return !1;var n=typeof e;return !("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!_(e))||(pt.test(e)||!dt.test(e)||null!=t&&e in Object(t))}var ht=oe(Object,"create");var gt=Object.prototype.hasOwnProperty;var mt=Object.prototype.hasOwnProperty;function bt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}function vt(e,t){for(var n=e.length;n--;)if(we(e[n][0],t))return n;return -1}bt.prototype.clear=function(){this.__data__=ht?ht(null):{},this.size=0;},bt.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},bt.prototype.get=function(e){var t=this.__data__;if(ht){var n=t[e];return "__lodash_hash_undefined__"===n?void 0:n}return gt.call(t,e)?t[e]:void 0},bt.prototype.has=function(e){var t=this.__data__;return ht?void 0!==t[e]:mt.call(t,e)},bt.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ht&&void 0===t?"__lodash_hash_undefined__":t,this};var _t=Array.prototype.splice;function yt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}yt.prototype.clear=function(){this.__data__=[],this.size=0;},yt.prototype.delete=function(e){var t=this.__data__,n=vt(t,e);return !(n<0)&&(n==t.length-1?t.pop():_t.call(t,n,1),--this.size,!0)},yt.prototype.get=function(e){var t=this.__data__,n=vt(t,e);return n<0?void 0:t[n][1]},yt.prototype.has=function(e){return vt(this.__data__,e)>-1},yt.prototype.set=function(e,t){var n=this.__data__,r=vt(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var xt=oe(i,"Map");function kt(e,t){var n,r,o=e.__data__;return ("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function wt(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1]);}}wt.prototype.clear=function(){this.size=0,this.__data__={hash:new bt,map:new(xt||yt),string:new bt};},wt.prototype.delete=function(e){var t=kt(this,e).delete(e);return this.size-=t?1:0,t},wt.prototype.get=function(e){return kt(this,e).get(e)},wt.prototype.has=function(e){return kt(this,e).has(e)},wt.prototype.set=function(e,t){var n=kt(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var St="Expected a function";function Ct(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError(St);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(Ct.Cache||wt),n}Ct.Cache=wt;var Et=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,At=/\\(\\)?/g,jt=function(e){var t=Ct(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Et,(function(e,n,r,o){t.push(r?o.replace(At,"$1"):n||e);})),t}));function $t(e){return null==e?"":C(e)}function Ot(e,t){return x(e)?e:ft(e,t)?[e]:jt($t(e))}var zt=1/0;function Tt(e){if("string"==typeof e||_(e))return e;var t=e+"";return "0"==t&&1/e==-zt?"-0":t}function Mt(e,t){for(var n=0,r=(t=Ot(t,e)).length;null!=e&&n<r;)e=e[Tt(t[n++])];return n&&n==r?e:void 0}function Lt(e,t,n){var r=null==e?void 0:Mt(e,t);return void 0===r?n:r}function It(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}var Ft=l?l.isConcatSpreadable:void 0;function Rt(e){return x(e)||Ne(e)||!!(Ft&&e&&e[Ft])}function Pt(e,t,n,r,o){var a=-1,i=e.length;for(n||(n=Rt),o||(o=[]);++a<i;){var l=e[a];t>0&&n(l)?t>1?Pt(l,t-1,n,r,o):It(o,l):r||(o[o.length]=l);}return o}var Bt=tt(Object.getPrototypeOf,Object),Nt="[object Object]",Dt=Function.prototype,Vt=Object.prototype,Ht=Dt.toString,Ut=Vt.hasOwnProperty,qt=Ht.call(Object);var Wt="Expected a function";function Kt(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Array(o);++r<o;)a[r]=e[r+t];return a}function Gt(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:Kt(e,t,n)}var Zt=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function Jt(e){return Zt.test(e)}var Yt="\\ud800-\\udfff",Qt="["+Yt+"]",Xt="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",en="\\ud83c[\\udffb-\\udfff]",tn="[^"+Yt+"]",nn="(?:\\ud83c[\\udde6-\\uddff]){2}",rn="[\\ud800-\\udbff][\\udc00-\\udfff]",on="(?:"+Xt+"|"+en+")"+"?",an="[\\ufe0e\\ufe0f]?",ln=an+on+("(?:\\u200d(?:"+[tn,nn,rn].join("|")+")"+an+on+")*"),sn="(?:"+[tn+Xt+"?",Xt,nn,rn,Qt].join("|")+")",cn=RegExp(en+"(?="+en+")|"+sn+ln,"g");function un(e){return Jt(e)?function(e){return e.match(cn)||[]}(e):function(e){return e.split("")}(e)}var dn;const pn=(dn={"À":"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"},function(e){return null==dn?void 0:dn[e]});var fn=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hn=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var gn=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var mn=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var bn="\\ud800-\\udfff",vn="\\u2700-\\u27bf",_n="a-z\\xdf-\\xf6\\xf8-\\xff",yn="A-Z\\xc0-\\xd6\\xd8-\\xde",xn="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\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",kn="["+xn+"]",wn="\\d+",Sn="["+vn+"]",Cn="["+_n+"]",En="[^"+bn+xn+wn+vn+_n+yn+"]",An="(?:\\ud83c[\\udde6-\\uddff]){2}",jn="[\\ud800-\\udbff][\\udc00-\\udfff]",$n="["+yn+"]",On="(?:"+Cn+"|"+En+")",zn="(?:"+$n+"|"+En+")",Tn="(?:['’](?:d|ll|m|re|s|t|ve))?",Mn="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ln="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",In="[\\ufe0e\\ufe0f]?",Fn=In+Ln+("(?:\\u200d(?:"+["[^"+bn+"]",An,jn].join("|")+")"+In+Ln+")*"),Rn="(?:"+[Sn,An,jn].join("|")+")"+Fn,Pn=RegExp([$n+"?"+Cn+"+"+Tn+"(?="+[kn,$n,"$"].join("|")+")",zn+"+"+Mn+"(?="+[kn,$n+On,"$"].join("|")+")",$n+"?"+On+"+"+Tn,$n+"+"+Mn,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",wn,Rn].join("|"),"g");function Bn(e,t,n){return e=$t(e),void 0===(t=n?void 0:t)?function(e){return mn.test(e)}(e)?function(e){return e.match(Pn)||[]}(e):function(e){return e.match(gn)||[]}(e):e.match(t)||[]}var Nn=RegExp("['’]","g");var Dn=i.isFinite,Vn=Math.min;var Hn=Math.ceil,Un=Math.max;function qn(e){var t=this.__data__=new yt(e);this.size=t.size;}qn.prototype.clear=function(){this.__data__=new yt,this.size=0;},qn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},qn.prototype.get=function(e){return this.__data__.get(e)},qn.prototype.has=function(e){return this.__data__.has(e)},qn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof yt){var r=n.__data__;if(!xt||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new wt(r);}return n.set(e,t),this.size=n.size,this};var Wn="object"==typeof exports&&exports&&!exports.nodeType&&exports,Kn=Wn&&"object"==typeof module&&module&&!module.nodeType&&module,Gn=Kn&&Kn.exports===Wn?i.Buffer:void 0,Zn=Gn?Gn.allocUnsafe:void 0;function Jn(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i);}return a}var Yn=Object.prototype.propertyIsEnumerable,Qn=Object.getOwnPropertySymbols,Xn=Qn?function(e){return null==e?[]:(e=Object(e),Jn(Qn(e),(function(t){return Yn.call(e,t)})))}:function(){return []};const er=Xn;function tr(e){return function(e,t,n){var r=t(e);return x(e)?r:It(r,n(e))}(e,ot,er)}var nr=oe(i,"DataView"),rr=oe(i,"Promise"),or=oe(i,"Set"),ar="[object Map]",ir="[object Promise]",lr="[object Set]",sr="[object WeakMap]",cr="[object DataView]",ur=J(nr),dr=J(xt),pr=J(rr),fr=J(or),hr=J(ae),gr=m;(nr&&gr(new nr(new ArrayBuffer(1)))!=cr||xt&&gr(new xt)!=ar||rr&&gr(rr.resolve())!=ir||or&&gr(new or)!=lr||ae&&gr(new ae)!=sr)&&(gr=function(e){var t=m(e),n="[object Object]"==t?e.constructor:void 0,r=n?J(n):"";if(r)switch(r){case ur:return cr;case dr:return ar;case pr:return ir;case fr:return lr;case hr:return sr}return t});const mr=gr;const br=i.Uint8Array;function vr(e,t){var n,r,o=t?(n=e.buffer,r=new n.constructor(n.byteLength),new br(r).set(new br(n)),r):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function _r(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new wt;++t<n;)this.add(e[t]);}function yr(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return !0;return !1}_r.prototype.add=_r.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},_r.prototype.has=function(e){return this.__data__.has(e)};var xr=1,kr=2;function wr(e,t,n,r,o,a){var i=n&xr,l=e.length,s=t.length;if(l!=s&&!(i&&s>l))return !1;var c=a.get(e),u=a.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=n&kr?new _r:void 0;for(a.set(e,t),a.set(t,e);++d<l;){var h=e[d],g=t[d];if(r)var m=i?r(g,h,d,t,e,a):r(h,g,d,e,t,a);if(void 0!==m){if(m)continue;p=!1;break}if(f){if(!yr(t,(function(e,t){if(i=t,!f.has(i)&&(h===e||o(h,e,n,r,a)))return f.push(t);var i;}))){p=!1;break}}else if(h!==g&&!o(h,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function Sr(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e];})),n}function Cr(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e;})),n}var Er=1,Ar=2,jr="[object Boolean]",$r="[object Date]",Or="[object Error]",zr="[object Map]",Tr="[object Number]",Mr="[object RegExp]",Lr="[object Set]",Ir="[object String]",Fr="[object Symbol]",Rr="[object ArrayBuffer]",Pr="[object DataView]",Br=l?l.prototype:void 0,Nr=Br?Br.valueOf:void 0;var Dr=1,Vr=Object.prototype.hasOwnProperty;var Hr=1,Ur="[object Arguments]",qr="[object Array]",Wr="[object Object]",Kr=Object.prototype.hasOwnProperty;function Gr(e,t,n,r,o,a){var i=x(e),l=x(t),s=i?qr:mr(e),c=l?qr:mr(t),u=(s=s==Ur?Wr:s)==Wr,d=(c=c==Ur?Wr:c)==Wr,p=s==c;if(p&&Ue(e)){if(!Ue(t))return !1;i=!0,u=!1;}if(p&&!u)return a||(a=new qn),i||Qe(e)?wr(e,t,n,r,o,a):function(e,t,n,r,o,a,i){switch(n){case Pr:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return !1;e=e.buffer,t=t.buffer;case Rr:return !(e.byteLength!=t.byteLength||!a(new br(e),new br(t)));case jr:case $r:case Tr:return we(+e,+t);case Or:return e.name==t.name&&e.message==t.message;case Mr:case Ir:return e==t+"";case zr:var l=Sr;case Lr:var s=r&Er;if(l||(l=Cr),e.size!=t.size&&!s)return !1;var c=i.get(e);if(c)return c==t;r|=Ar,i.set(e,t);var u=wr(l(e),l(t),r,o,a,i);return i.delete(e),u;case Fr:if(Nr)return Nr.call(e)==Nr.call(t)}return !1}(e,t,s,n,r,o,a);if(!(n&Hr)){var f=u&&Kr.call(e,"__wrapped__"),h=d&&Kr.call(t,"__wrapped__");if(f||h){var g=f?e.value():e,m=h?t.value():t;return a||(a=new qn),o(g,m,n,r,a)}}return !!p&&(a||(a=new qn),function(e,t,n,r,o,a){var i=n&Dr,l=tr(e),s=l.length;if(s!=tr(t).length&&!i)return !1;for(var c=s;c--;){var u=l[c];if(!(i?u in t:Vr.call(t,u)))return !1}var d=a.get(e),p=a.get(t);if(d&&p)return d==t&&p==e;var f=!0;a.set(e,t),a.set(t,e);for(var h=i;++c<s;){var g=e[u=l[c]],m=t[u];if(r)var b=i?r(m,g,u,t,e,a):r(g,m,u,e,t,a);if(!(void 0===b?g===m||o(g,m,n,r,a):b)){f=!1;break}h||(h="constructor"==u);}if(f&&!h){var v=e.constructor,_=t.constructor;v==_||!("constructor"in e)||!("constructor"in t)||"function"==typeof v&&v instanceof v&&"function"==typeof _&&_ instanceof _||(f=!1);}return a.delete(e),a.delete(t),f}(e,t,n,r,o,a))}function Zr(e,t,n,r,o){return e===t||(null==e||null==t||!b(e)&&!b(t)?e!=e&&t!=t:Gr(e,t,n,r,Zr,o))}var Jr=1,Yr=2;function Qr(e){return e==e&&!$(e)}function Xr(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function eo(e){var t=function(e){for(var t=ot(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Qr(o)];}return t}(e);return 1==t.length&&t[0][2]?Xr(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var o=n.length,a=o,i=!r;if(null==e)return !a;for(e=Object(e);o--;){var l=n[o];if(i&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return !1}for(;++o<a;){var s=(l=n[o])[0],c=e[s],u=l[1];if(i&&l[2]){if(void 0===c&&!(s in e))return !1}else {var d=new qn;if(r)var p=r(c,u,s,e,t,d);if(!(void 0===p?Zr(u,c,Jr|Yr,r,d):p))return !1}}return !0}(n,e,t)}}function to(e,t){return null!=e&&t in Object(e)}function no(e,t){return null!=e&&function(e,t,n){for(var r=-1,o=(t=Ot(t,e)).length,a=!1;++r<o;){var i=Tt(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i];}return a||++r!=o?a:!!(o=null==e?0:e.length)&&Oe(o)&&xe(i,o)&&(x(e)||Ne(e))}(e,t,to)}var ro=1,oo=2;function ao(e){return ft(e)?(t=Tt(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Mt(t,e)}}(e);var t;}function io(e){return "function"==typeof e?e:null==e?N:"object"==typeof e?x(e)?(t=e[0],n=e[1],ft(t)&&Qr(n)?Xr(Tt(t),n):function(e){var r=Lt(e,t);return void 0===r&&r===n?no(e,t):Zr(n,r,ro|oo)}):eo(e):ao(e);var t,n;}var so=function(e,t,n){for(var r=-1,o=Object(e),a=n(e),i=a.length;i--;){var l=a[++r];if(!1===t(o[l],l,o))break}return e};function co(e,t){return e&&so(e,t,ot)}var uo=function(e,t){return function(n,r){if(null==n)return n;if(!ze(n))return e(n,r);for(var o=n.length,a=t?o:-1,i=Object(n);(t?a--:++a<o)&&!1!==r(i[a],a,i););return n}}(co);const po=uo;var fo=function(){return i.Date.now()},ho="Expected a function",go=Math.max,mo=Math.min;function bo(e,t,n){var r,o,a,i,l,s,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError(ho);function f(t){var n=r,a=o;return r=o=void 0,c=t,i=e.apply(a,n)}function h(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-c>=a}function g(){var e=fo();if(h(e))return m(e);l=setTimeout(g,function(e){var n=t-(e-s);return d?mo(n,a-(e-c)):n}(e));}function m(e){return l=void 0,p&&r?f(e):(r=o=void 0,i)}function b(){var e=fo(),n=h(e);if(r=arguments,o=this,s=e,n){if(void 0===l)return function(e){return c=e,l=setTimeout(g,t),u?f(e):i}(s);if(d)return clearTimeout(l),l=setTimeout(g,t),f(s)}return void 0===l&&(l=setTimeout(g,t)),i}return t=I(t)||0,$(n)&&(u=!!n.leading,a=(d="maxWait"in n)?go(I(n.maxWait)||0,t):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=o=l=void 0;},b.flush=function(){return void 0===l?i:m(fo())},b}function vo(e,t){return null==e||e!=e?t:e}var _o=Object.prototype,yo=_o.hasOwnProperty,xo=je((function(e,t){e=Object(e);var n=-1,r=t.length,o=r>2?t[2]:void 0;for(o&&Te(t[0],t[1],o)&&(r=1);++n<r;)for(var a=t[n],i=ut(a),l=-1,s=i.length;++l<s;){var c=i[l],u=e[c];(void 0===u||we(u,_o[c])&&!yo.call(e,c))&&(e[c]=a[c]);}return e}));function ko(e,t,n){(void 0!==n&&!we(e[t],n)||void 0===n&&!(t in e))&&ke(e,t,n);}function wo(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}function So(e,t,n,r,o,a,i){var l=wo(e,n),s=wo(t,n),c=i.get(s);if(c)ko(e,n,c);else {var u,d=a?a(l,s,n+"",e,t,i):void 0,p=void 0===d;if(p){var f=x(s),h=!f&&Ue(s),g=!f&&!h&&Qe(s);d=s,f||h||g?x(l)?d=l:b(u=l)&&ze(u)?d=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}(l):h?(p=!1,d=function(e,t){if(t)return e.slice();var n=e.length,r=Zn?Zn(n):new e.constructor(n);return e.copy(r),r}(s,!0)):g?(p=!1,d=vr(s,!0)):d=[]:function(e){if(!b(e)||m(e)!=Nt)return !1;var t=Bt(e);if(null===t)return !0;var n=Ut.call(t,"constructor")&&t.constructor;return "function"==typeof n&&n instanceof n&&Ht.call(n)==qt}(s)||Ne(s)?(d=l,Ne(l)?d=function(e){return Ee(e,ut(e))}(l):$(l)&&!q(l)||(d=function(e){return "function"!=typeof e.constructor||Ie(e)?{}:le(Bt(e))}(s))):p=!1;}p&&(i.set(s,d),o(d,s,r,a,i),i.delete(s)),ko(e,n,d);}}function Co(e,t,n,r,o){e!==t&&so(t,(function(a,i){if(o||(o=new qn),$(a))So(e,t,i,n,Co,r,o);else {var l=r?r(wo(e,i),a,i+"",e,t,o):void 0;void 0===l&&(l=a),ko(e,i,l);}}),ut);}function Eo(e){return "function"==typeof e?e:N}function Ao(e,t){return (x(e)?ge:po)(e,Eo(t))}function jo(e,t){var n=[];return po(e,(function(e,r,o){t(e,r,o)&&n.push(e);})),n}var $o,Oo=Math.max;function zo(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:B(n);return o<0&&(o=Oo(r+o,0)),me(e,io(t),o)}const To=($o=zo,function(e,t,n){var r=Object(e);if(!ze(e)){var o=io(t);e=ot(e),t=function(e){return o(r[e],e,r)};}var a=$o(e,t,n);return a>-1?r[o?e[a]:a]:void 0});function Mo(e,t){return function(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}(e,io(t),co)}function Lo(e,t){var n=-1,r=ze(e)?Array(e.length):[];return po(e,(function(e,o,a){r[++n]=t(e,o,a);})),r}function Io(e,t){return (x(e)?y:Lo)(e,io(t))}var Fo=1/0;function Ro(e,t){return Pt(Io(e,t),Fo)}function Po(e,t){return e&&co(e,Eo(t))}function Bo(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1];}return r}var No="[object String]";function Do(e){return null==e?[]:function(e,t){return y(t,(function(t){return e[t]}))}(e,ot(e))}var Vo=Math.max;function Ho(e,t,n,r){e=ze(e)?e:Do(e),n=n&&!r?B(n):0;var o=e.length;return n<0&&(n=Vo(o+n,0)),function(e){return "string"==typeof e||!x(e)&&b(e)&&m(e)==No}(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&ve(e,t,n)>-1}var Uo=Math.max;function qo(e){return null==e}var Wo=Je&&Je.isRegExp,Ko=Wo?We(Wo):function(e){return b(e)&&"[object RegExp]"==m(e)};var Go=Array.prototype.join;function Zo(e,t){return null==e?"":Go.call(e,t)}var Jo,Yo=(Jo=function(e,t,n){return e+(n?"-":"")+t.toLowerCase()},function(e){return function(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}(Bn(function(e){return (e=$t(e))&&e.replace(fn,pn).replace(hn,"")}(e).replace(Nn,"")),Jo,"")}),Qo=Me((function(e,t,n){Co(e,t,n);}));function Xo(e){return function(e,t){var n;if("function"!=typeof t)throw new TypeError(Wt);return e=B(e),function(){return --e>0&&(n=t.apply(this,arguments)),e<=1&&(t=void 0),n}}(2,e)}var ea=9007199254740991,ta=Math.floor;var na=Math.ceil,ra=Math.max;var oa=function(e){return function(t,n,r){return r&&"number"!=typeof r&&Te(t,n,r)&&(n=r=void 0),t=P(t),void 0===n?(n=t,t=0):n=P(n),function(e,t,n,r){for(var o=-1,a=ra(na((t-e)/(n||1)),0),i=Array(a);a--;)i[r?a:++o]=e,e+=n;return i}(t,n,r=void 0===r?t<n?1:-1:P(r),e)}}();const aa=oa;function ia(e,t,n){return t=(n?Te(e,t,n):void 0===t)?1:B(t),function(e,t){var n="";if(!e||t<1||t>ea)return n;do{t%2&&(n+=e),(t=ta(t/2))&&(e+=e);}while(t);return n}($t(e),t)}var la=function(e){var t=Math[e];return function(e,n){if(e=I(e),(n=null==n?0:Vn(B(n),292))&&Dn(e)){var r=($t(e)+"e").split("e");return +((r=($t(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}("round");function sa(e,t){var n;return po(e,(function(e,r,o){return !(n=t(e,r,o))})),!!n}var ca=4294967295;function ua(e,t,n){return n&&"number"!=typeof n&&Te(e,t,n)&&(t=n=void 0),(n=void 0===n?ca:n>>>0)?(e=$t(e))&&("string"==typeof t||null!=t&&!Ko(t))&&!(t=C(t))&&Jt(e)?Gt(un(e),0,n):e.split(t,n):[]}function da(e,t,n){var r,o,a;return e=$t(e),n=null==n?0:(r=B(n),o=0,a=e.length,r==r&&(void 0!==a&&(r=r<=a?r:a),void 0!==o&&(r=r>=o?r:o)),r),t=C(t),e.slice(n,n+t.length)==t}function pa(e,t,n){return e&&e.length?Kt(e,0,(t=n||void 0===t?1:B(t))<0?0:t):[]}function fa(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return $(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),bo(e,t,{leading:r,maxWait:t,trailing:o})}var ha=/^\s+/;function ga(e,t,n){if((e=$t(e))&&(n||void 0===t))return e.replace(ha,"");if(!e||!(t=C(t)))return e;var r=un(e),o=function(e,t){for(var n=-1,r=e.length;++n<r&&ve(t,e[n],0)>-1;);return n}(r,un(t));return Gt(r,o).join("")}var ma=(()=>"undefined"!=typeof GM_addStyle?GM_addStyle:void 0)(),ba=(()=>"undefined"!=typeof GM_deleteValue?GM_deleteValue:void 0)(),va=(()=>"undefined"!=typeof GM_getValue?GM_getValue:void 0)(),_a=(()=>"undefined"!=typeof GM_info?GM_info:void 0)(),ya=(()=>"undefined"!=typeof GM_listValues?GM_listValues:void 0)(),xa=(()=>"undefined"!=typeof GM_openInTab?GM_openInTab:void 0)(),ka=(()=>"undefined"!=typeof GM_setValue?GM_setValue:void 0)();
  /**
    * @vue/shared v3.4.19
    * (c) 2018-present Yuxi (Evan) You and Vue contributors
    * @license MIT
    **/
  function wa(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const Sa={},Ca=[],Ea=()=>{},Aa=()=>!1,ja=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$a=e=>e.startsWith("onUpdate:"),Oa=Object.assign,za=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1);},Ta=Object.prototype.hasOwnProperty,Ma=(e,t)=>Ta.call(e,t),La=Array.isArray,Ia=e=>"[object Map]"===Ua(e),Fa=e=>"[object Set]"===Ua(e),Ra=e=>"[object Date]"===Ua(e),Pa=e=>"function"==typeof e,Ba=e=>"string"==typeof e,Na=e=>"symbol"==typeof e,Da=e=>null!==e&&"object"==typeof e,Va=e=>(Da(e)||Pa(e))&&Pa(e.then)&&Pa(e.catch),Ha=Object.prototype.toString,Ua=e=>Ha.call(e),qa=e=>Ua(e).slice(8,-1),Wa=e=>"[object Object]"===Ua(e),Ka=e=>Ba(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Ga=wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Za=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ja=/-(\w)/g,Ya=Za((e=>e.replace(Ja,((e,t)=>t?t.toUpperCase():"")))),Qa=/\B([A-Z])/g,Xa=Za((e=>e.replace(Qa,"-$1").toLowerCase())),ei=Za((e=>e.charAt(0).toUpperCase()+e.slice(1))),ti=Za((e=>e?`on${ei(e)}`:"")),ni=(e,t)=>!Object.is(e,t),ri=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t);},oi=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n});},ai=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ii=e=>{const t=Ba(e)?Number(e):NaN;return isNaN(t)?e:t};let li;const si=()=>li||(li="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function ci(e){if(La(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ba(r)?fi(r):ci(r);if(o)for(const e in o)t[e]=o[e];}return t}if(Ba(e)||Da(e))return e}const ui=/;(?![^(]*\))/g,di=/:([^]+)/,pi=/\/\*[^]*?\*\//g;function fi(e){const t={};return e.replace(pi,"").split(ui).forEach((e=>{if(e){const n=e.split(di);n.length>1&&(t[n[0].trim()]=n[1].trim());}})),t}function hi(e){let t="";if(Ba(e))t=e;else if(La(e))for(let n=0;n<e.length;n++){const r=hi(e[n]);r&&(t+=r+" ");}else if(Da(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const gi=wa("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function mi(e){return !!e||""===e}function bi(e,t){if(e===t)return !0;let n=Ra(e),r=Ra(t);if(n||r)return !(!n||!r)&&e.getTime()===t.getTime();if(n=Na(e),r=Na(t),n||r)return e===t;if(n=La(e),r=La(t),n||r)return !(!n||!r)&&function(e,t){if(e.length!==t.length)return !1;let n=!0;for(let r=0;n&&r<e.length;r++)n=bi(e[r],t[r]);return n}(e,t);if(n=Da(e),r=Da(t),n||r){if(!n||!r)return !1;if(Object.keys(e).length!==Object.keys(t).length)return !1;for(const n in e){const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n);if(r&&!o||!r&&o||!bi(e[n],t[n]))return !1}}return String(e)===String(t)}function vi(e,t){return e.findIndex((e=>bi(e,t)))}const _i=e=>Ba(e)?e:null==e?"":La(e)||Da(e)&&(e.toString===Ha||!Pa(e.toString))?JSON.stringify(e,yi,2):String(e),yi=(e,t)=>t&&t.__v_isRef?yi(e,t.value):Ia(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[xi(t,r)+" =>"]=n,e)),{})}:Fa(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>xi(e)))}:Na(t)?xi(t):!Da(t)||La(t)||Wa(t)?t:String(t),xi=(e,t="")=>{var n;return Na(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};
  /**
    * @vue/reactivity v3.4.19
    * (c) 2018-present Yuxi (Evan) You and Vue contributors
    * @license MIT
    **/
  let ki,wi;class Si{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ki,!e&&ki&&(this.index=(ki.scopes||(ki.scopes=[])).push(this)-1);}get active(){return this._active}run(e){if(this._active){const t=ki;try{return ki=this,e()}finally{ki=t;}}}on(){ki=this;}off(){ki=this.parent;}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index);}this.parent=void 0,this._active=!1;}}}function Ci(){return ki}class Ei{constructor(e,t,n,r){this.fn=e,this.trigger=t,this.scheduler=n,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,function(e,t=ki){t&&t.active&&t.effects.push(e);}(this,r);}get dirty(){if(2===this._dirtyLevel||3===this._dirtyLevel){this._dirtyLevel=1,Mi();for(let e=0;e<this._depsLength;e++){const t=this.deps[e];if(t.computed&&(t.computed.value,this._dirtyLevel>=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Li();}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0;}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=Oi,t=wi;try{return Oi=!0,wi=this,this._runnings++,Ai(this),this.fn()}finally{ji(this),this._runnings--,wi=t,Oi=e;}}stop(){var e;this.active&&(Ai(this),ji(this),null==(e=this.onStop)||e.call(this),this.active=!1);}}function Ai(e){e._trackId++,e._depsLength=0;}function ji(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)$i(e.deps[t],e);e.deps.length=e._depsLength;}}function $i(e,t){const n=e.get(t);void 0!==n&&t._trackId!==n&&(e.delete(t),0===e.size&&e.cleanup());}let Oi=!0,zi=0;const Ti=[];function Mi(){Ti.push(Oi),Oi=!1;}function Li(){const e=Ti.pop();Oi=void 0===e||e;}function Ii(){zi++;}function Fi(){for(zi--;!zi&&Pi.length;)Pi.shift()();}function Ri(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const n=e.deps[e._depsLength];n!==t?(n&&$i(n,e),e.deps[e._depsLength++]=t):e._depsLength++;}}const Pi=[];function Bi(e,t,n){Ii();for(const r of e.keys()){let n;r._dirtyLevel<t&&(null!=n?n:n=e.get(r)===r._trackId)&&(r._shouldSchedule||(r._shouldSchedule=0===r._dirtyLevel),r._dirtyLevel=t),r._shouldSchedule&&(null!=n?n:n=e.get(r)===r._trackId)&&(r.trigger(),r._runnings&&!r.allowRecurse||2===r._dirtyLevel||(r._shouldSchedule=!1,r.scheduler&&Pi.push(r.scheduler)));}Fi();}const Ni=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Di=new WeakMap,Vi=Symbol(""),Hi=Symbol("");function Ui(e,t,n){if(Oi&&wi){let t=Di.get(e);t||Di.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=Ni((()=>t.delete(n)))),Ri(wi,r);}}function qi(e,t,n,r,o,a){const i=Di.get(e);if(!i)return;let l=[];if("clear"===t)l=[...i.values()];else if("length"===n&&La(e)){const e=Number(r);i.forEach(((t,n)=>{("length"===n||!Na(n)&&n>=e)&&l.push(t);}));}else switch(void 0!==n&&l.push(i.get(n)),t){case"add":La(e)?Ka(n)&&l.push(i.get("length")):(l.push(i.get(Vi)),Ia(e)&&l.push(i.get(Hi)));break;case"delete":La(e)||(l.push(i.get(Vi)),Ia(e)&&l.push(i.get(Hi)));break;case"set":Ia(e)&&l.push(i.get(Vi));}Ii();for(const s of l)s&&Bi(s,4);Fi();}const Wi=wa("__proto__,__v_isRef,__isVue"),Ki=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Na)),Gi=Zi();function Zi(){const e={};return ["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=Il(this);for(let t=0,o=this.length;t<o;t++)Ui(n,0,t+"");const r=n[t](...e);return -1===r||!1===r?n[t](...e.map(Il)):r};})),["push","pop","shift","unshift","splice"].forEach((t=>{e[t]=function(...e){Mi(),Ii();const n=Il(this)[t].apply(this,e);return Fi(),Li(),n};})),e}function Ji(e){const t=Il(this);return Ui(t,0,e),t.hasOwnProperty(e)}class Yi{constructor(e=!1,t=!1){this._isReadonly=e,this._shallow=t;}get(e,t,n){const r=this._isReadonly,o=this._shallow;if("__v_isReactive"===t)return !r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o;if("__v_raw"===t)return n===(r?o?Al:El:o?Cl:Sl).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const a=La(e);if(!r){if(a&&Ma(Gi,t))return Reflect.get(Gi,t,n);if("hasOwnProperty"===t)return Ji}const i=Reflect.get(e,t,n);return (Na(t)?Ki.has(t):Wi(t))?i:(r||Ui(e,0,t),o?i:Vl(i)?a&&Ka(t)?i:i.value:Da(i)?r?$l(i):jl(i):i)}}class Qi extends Yi{constructor(e=!1){super(!1,e);}set(e,t,n,r){let o=e[t];if(!this._shallow){const t=Tl(o);if(Ml(n)||Tl(n)||(o=Il(o),n=Il(n)),!La(e)&&Vl(o)&&!Vl(n))return !t&&(o.value=n,!0)}const a=La(e)&&Ka(t)?Number(t)<e.length:Ma(e,t),i=Reflect.set(e,t,n,r);return e===Il(r)&&(a?ni(n,o)&&qi(e,"set",t,n):qi(e,"add",t,n)),i}deleteProperty(e,t){const n=Ma(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&qi(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t);return Na(t)&&Ki.has(t)||Ui(e,0,t),n}ownKeys(e){return Ui(e,0,La(e)?"length":Vi),Reflect.ownKeys(e)}}class Xi extends Yi{constructor(e=!1){super(!0,e);}set(e,t){return !0}deleteProperty(e,t){return !0}}const el=new Qi,tl=new Xi,nl=new Qi(!0),rl=e=>e,ol=e=>Reflect.getPrototypeOf(e);function al(e,t,n=!1,r=!1){const o=Il(e=e.__v_raw),a=Il(t);n||(ni(t,a)&&Ui(o,0,t),Ui(o,0,a));const{has:i}=ol(o),l=r?rl:n?Pl:Rl;return i.call(o,t)?l(e.get(t)):i.call(o,a)?l(e.get(a)):void(e!==o&&e.get(t))}function il(e,t=!1){const n=this.__v_raw,r=Il(n),o=Il(e);return t||(ni(e,o)&&Ui(r,0,e),Ui(r,0,o)),e===o?n.has(e):n.has(e)||n.has(o)}function ll(e,t=!1){return e=e.__v_raw,!t&&Ui(Il(e),0,Vi),Reflect.get(e,"size",e)}function sl(e){e=Il(e);const t=Il(this);return ol(t).has.call(t,e)||(t.add(e),qi(t,"add",e,e)),this}function cl(e,t){t=Il(t);const n=Il(this),{has:r,get:o}=ol(n);let a=r.call(n,e);a||(e=Il(e),a=r.call(n,e));const i=o.call(n,e);return n.set(e,t),a?ni(t,i)&&qi(n,"set",e,t):qi(n,"add",e,t),this}function ul(e){const t=Il(this),{has:n,get:r}=ol(t);let o=n.call(t,e);o||(e=Il(e),o=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e);return o&&qi(t,"delete",e,void 0),a}function dl(){const e=Il(this),t=0!==e.size,n=e.clear();return t&&qi(e,"clear",void 0,void 0),n}function pl(e,t){return function(n,r){const o=this,a=o.__v_raw,i=Il(a),l=t?rl:e?Pl:Rl;return !e&&Ui(i,0,Vi),a.forEach(((e,t)=>n.call(r,l(e),l(t),o)))}}function fl(e,t,n){return function(...r){const o=this.__v_raw,a=Il(o),i=Ia(a),l="entries"===e||e===Symbol.iterator&&i,s="keys"===e&&i,c=o[e](...r),u=n?rl:t?Pl:Rl;return !t&&Ui(a,0,s?Hi:Vi),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:l?[u(e[0]),u(e[1])]:u(e),done:t}},[Symbol.iterator](){return this}}}}function hl(e){return function(...t){return "delete"!==e&&("clear"===e?void 0:this)}}function gl(){const e={get(e){return al(this,e)},get size(){return ll(this)},has:il,add:sl,set:cl,delete:ul,clear:dl,forEach:pl(!1,!1)},t={get(e){return al(this,e,!1,!0)},get size(){return ll(this)},has:il,add:sl,set:cl,delete:ul,clear:dl,forEach:pl(!1,!0)},n={get(e){return al(this,e,!0)},get size(){return ll(this,!0)},has(e){return il.call(this,e,!0)},add:hl("add"),set:hl("set"),delete:hl("delete"),clear:hl("clear"),forEach:pl(!0,!1)},r={get(e){return al(this,e,!0,!0)},get size(){return ll(this,!0)},has(e){return il.call(this,e,!0)},add:hl("add"),set:hl("set"),delete:hl("delete"),clear:hl("clear"),forEach:pl(!0,!0)};return ["keys","values","entries",Symbol.iterator].forEach((o=>{e[o]=fl(o,!1,!1),n[o]=fl(o,!0,!1),t[o]=fl(o,!1,!0),r[o]=fl(o,!0,!0);})),[e,n,t,r]}const[ml,bl,vl,_l]=gl();function yl(e,t){const n=t?e?_l:vl:e?bl:ml;return (t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(Ma(n,r)&&r in t?n:t,r,o)}const xl={get:yl(!1,!1)},kl={get:yl(!1,!0)},wl={get:yl(!0,!1)},Sl=new WeakMap,Cl=new WeakMap,El=new WeakMap,Al=new WeakMap;function jl(e){return Tl(e)?e:Ol(e,!1,el,xl,Sl)}function $l(e){return Ol(e,!0,tl,wl,El)}function Ol(e,t,n,r,o){if(!Da(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a;const i=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(qa(l));var l;if(0===i)return e;const s=new Proxy(e,2===i?r:n);return o.set(e,s),s}function zl(e){return Tl(e)?zl(e.__v_raw):!(!e||!e.__v_isReactive)}function Tl(e){return !(!e||!e.__v_isReadonly)}function Ml(e){return !(!e||!e.__v_isShallow)}function Ll(e){return zl(e)||Tl(e)}function Il(e){const t=e&&e.__v_raw;return t?Il(t):e}function Fl(e){return Object.isExtensible(e)&&oi(e,"__v_skip",!0),e}const Rl=e=>Da(e)?jl(e):e,Pl=e=>Da(e)?$l(e):e;class Bl{constructor(e,t,n,r){this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ei((()=>e(this._value)),(()=>Dl(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n;}get value(){const e=Il(this);return e._cacheable&&!e.effect.dirty||!ni(e._value,e._value=e.effect.run())||Dl(e,4),Nl(e),e.effect._dirtyLevel>=2&&Dl(e,2),e._value}set value(e){this._setter(e);}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e;}}function Nl(e){var t;Oi&&wi&&(e=Il(e),Ri(wi,null!=(t=e.dep)?t:e.dep=Ni((()=>e.dep=void 0),e instanceof Bl?e:void 0)));}function Dl(e,t=4,n){const r=(e=Il(e)).dep;r&&Bi(r,t);}function Vl(e){return !(!e||!0!==e.__v_isRef)}function Hl(e){return ql(e,!1)}function Ul(e){return ql(e,!0)}function ql(e,t){return Vl(e)?e:new Wl(e,t)}class Wl{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:Il(e),this._value=t?e:Rl(e);}get value(){return Nl(this),this._value}set value(e){const t=this.__v_isShallow||Ml(e)||Tl(e);e=t?e:Il(e),ni(e,this._rawValue)&&(this._rawValue=e,this._value=t?e:Rl(e),Dl(this,4));}}function Kl(e){return Vl(e)?e.value:e}const Gl={get:(e,t,n)=>Kl(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Vl(o)&&!Vl(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Zl(e){return zl(e)?e:new Proxy(e,Gl)}class Jl{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0;}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e;}get dep(){return function(e,t){var n;return null==(n=Di.get(e))?void 0:n.get(t)}(Il(this._object),this._key)}}class Yl{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0;}get value(){return this._getter()}}function Ql(e,t,n){return Vl(e)?e:Pa(e)?new Yl(e):Da(e)&&arguments.length>1?function(e,t,n){const r=e[t];return Vl(r)?r:new Jl(e,t,n)}
  /**
    * @vue/runtime-core v3.4.19
    * (c) 2018-present Yuxi (Evan) You and Vue contributors
    * @license MIT
    **/(e,t,n):Hl(e)}function Xl(e,t,n,r){try{return r?e(...r):e()}catch(o){ts(o,t,n);}}function es(e,t,n,r){if(Pa(e)){const o=Xl(e,t,n,r);return o&&Va(o)&&o.catch((e=>{ts(e,t,n);})),o}const o=[];for(let a=0;a<e.length;a++)o.push(es(e[a],t,n,r));return o}function ts(e,t,n,r=!0){t&&t.vnode;if(t){let r=t.parent;const o=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,o,a))return;r=r.parent;}const i=t.appContext.config.errorHandler;if(i)return void Xl(i,null,10,[e,o,a])}!function(e,t,n,r=!0){console.error(e);}(e,0,0,r);}let ns=!1,rs=!1;const os=[];let as=0;const is=[];let ls=null,ss=0;const cs=Promise.resolve();let us=null;function ds(e){const t=us||cs;return e?t.then(this?e.bind(this):e):t}function ps(e){os.length&&os.includes(e,ns&&e.allowRecurse?as+1:as)||(null==e.id?os.push(e):os.splice(function(e){let t=as+1,n=os.length;for(;t<n;){const r=t+n>>>1,o=os[r],a=ms(o);a<e||a===e&&o.pre?t=r+1:n=r;}return t}(e.id),0,e),fs());}function fs(){ns||rs||(rs=!0,us=cs.then(vs));}function hs(e,t,n=(ns?as+1:0)){for(;n<os.length;n++){const t=os[n];if(t&&t.pre){if(e&&t.id!==e.uid)continue;os.splice(n,1),n--,t();}}}function gs(e){if(is.length){const e=[...new Set(is)].sort(((e,t)=>ms(e)-ms(t)));if(is.length=0,ls)return void ls.push(...e);for(ls=e,ss=0;ss<ls.length;ss++)ls[ss]();ls=null,ss=0;}}const ms=e=>null==e.id?1/0:e.id,bs=(e,t)=>{const n=ms(e)-ms(t);if(0===n){if(e.pre&&!t.pre)return -1;if(t.pre&&!e.pre)return 1}return n};function vs(e){rs=!1,ns=!0,os.sort(bs);try{for(as=0;as<os.length;as++){const e=os[as];e&&!1!==e.active&&Xl(e,null,14);}}finally{as=0,os.length=0,gs(),ns=!1,us=null,(os.length||is.length)&&vs();}}function _s(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Sa;let o=n;const a=t.startsWith("update:"),i=a&&t.slice(7);if(i&&i in r){const e=`${"modelValue"===i?"model":i}Modifiers`,{number:t,trim:a}=r[e]||Sa;a&&(o=n.map((e=>Ba(e)?e.trim():e))),t&&(o=n.map(ai));}let l,s=r[l=ti(t)]||r[l=ti(Ya(t))];!s&&a&&(s=r[l=ti(Xa(t))]),s&&es(s,e,6,o);const c=r[l+"Once"];if(c){if(e.emitted){if(e.emitted[l])return}else e.emitted={};e.emitted[l]=!0,es(c,e,6,o);}}function ys(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const a=e.emits;let i={},l=!1;if(!Pa(e)){const r=e=>{const n=ys(e,t,!0);n&&(l=!0,Oa(i,n));};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r);}return a||l?(La(a)?a.forEach((e=>i[e]=null)):Oa(i,a),Da(e)&&r.set(e,i),i):(Da(e)&&r.set(e,null),null)}function xs(e,t){return !(!e||!ja(t))&&(t=t.slice(2).replace(/Once$/,""),Ma(e,t[0].toLowerCase()+t.slice(1))||Ma(e,Xa(t))||Ma(e,t))}let ks=null,ws=null;function Ss(e){const t=ks;return ks=e,ws=e&&e.type.__scopeId||null,t}function Cs(e){ws=e;}function Es(){ws=null;}function As(e,t=ks,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Mu(-1);const o=Ss(t);let a;try{a=e(...n);}finally{Ss(o),r._d&&Mu(1);}return a};return r._n=!0,r._c=!0,r._d=!0,r}function js(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:a,propsOptions:[i],slots:l,attrs:s,emit:c,render:u,renderCache:d,data:p,setupState:f,ctx:h,inheritAttrs:g}=e;let m,b;const v=Ss(e);try{if(4&n.shapeFlag){const e=o||r,t=e;m=Ku(u.call(t,e,d,a,f,p,h)),b=s;}else {const e=t;0,m=Ku(e.length>1?e(a,{attrs:s,slots:l,emit:c}):e(a,null)),b=t.props?s:$s(s);}}catch(y){$u.length=0,ts(y,e,1),m=Hu(Au);}let _=m;if(b&&!1!==g){const e=Object.keys(b),{shapeFlag:t}=_;e.length&&7&t&&(i&&e.some($a)&&(b=Os(b,i)),_=Uu(_,b));}return n.dirs&&(_=Uu(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),m=_,Ss(v),m}const $s=e=>{let t;for(const n in e)("class"===n||"style"===n||ja(n))&&((t||(t={}))[n]=e[n]);return t},Os=(e,t)=>{const n={};for(const r in e)$a(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function zs(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return !0;for(let o=0;o<r.length;o++){const a=r[o];if(t[a]!==e[a]&&!xs(n,a))return !0}return !1}const Ts="components",Ms=Symbol.for("v-ndc");function Ls(e){return Ba(e)?function(e,t,n=!0,r=!1){const o=ks||ed;if(o){const n=o.type;if(e===Ts){const e=fd(n,!1);if(e&&(e===t||e===Ya(t)||e===ei(Ya(t))))return n}const a=Is(o[e]||n[e],t)||Is(o.appContext[e],t);return !a&&r?n:a}}(Ts,e,!1)||e:e||Ms}function Is(e,t){return e&&(e[t]||e[Ya(t)]||e[ei(Ya(t))])}const Fs=Symbol.for("v-scx"),Rs=()=>Zc(Fs);const Ps={};function Bs(e,t,n){return Ns(e,t,n)}function Ns(e,t,{immediate:n,deep:r,flush:o,once:a,onTrack:i,onTrigger:l}=Sa){if(t&&a){const e=t;t=(...t)=>{e(...t),x();};}const s=ed,c=e=>!0===r?e:Hs(e,!1===r?1:void 0);let u,d,p=!1,f=!1;if(Vl(e)?(u=()=>e.value,p=Ml(e)):zl(e)?(u=()=>c(e),p=!0):La(e)?(f=!0,p=e.some((e=>zl(e)||Ml(e))),u=()=>e.map((e=>Vl(e)?e.value:zl(e)?c(e):Pa(e)?Xl(e,s,2):void 0))):u=Pa(e)?t?()=>Xl(e,s,2):()=>(d&&d(),es(e,s,3,[g])):Ea,t&&r){const e=u;u=()=>Hs(e());}let h,g=e=>{d=_.onStop=()=>{Xl(e,s,4),d=_.onStop=void 0;};};if(sd){if(g=Ea,t?n&&es(t,s,3,[u(),f?[]:void 0,g]):u(),"sync"!==o)return Ea;{const e=Rs();h=e.__watcherHandles||(e.__watcherHandles=[]);}}let m=f?new Array(e.length).fill(Ps):Ps;const b=()=>{if(_.active&&_.dirty)if(t){const e=_.run();(r||p||(f?e.some(((e,t)=>ni(e,m[t]))):ni(e,m)))&&(d&&d(),es(t,s,3,[e,m===Ps?void 0:f&&m[0]===Ps?[]:m,g]),m=e);}else _.run();};let v;b.allowRecurse=!!t,"sync"===o?v=b:"post"===o?v=()=>pu(b,s&&s.suspense):(b.pre=!0,s&&(b.id=s.uid),v=()=>ps(b));const _=new Ei(u,Ea,v),y=Ci(),x=()=>{_.stop(),y&&za(y.effects,_);};return t?n?b():m=_.run():"post"===o?pu(_.run.bind(_),s&&s.suspense):_.run(),h&&h.push(x),x}function Ds(e,t,n){const r=this.proxy,o=Ba(e)?e.includes(".")?Vs(r,e):()=>r[e]:e.bind(r,r);let a;Pa(t)?a=t:(a=t.handler,n=t);const i=od(this),l=Ns(o,a.bind(r),n);return i(),l}function Vs(e,t){const n=t.split(".");return ()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function Hs(e,t,n=0,r){if(!Da(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++;}if((r=r||new Set).has(e))return e;if(r.add(e),Vl(e))Hs(e.value,t,n,r);else if(La(e))for(let o=0;o<e.length;o++)Hs(e[o],t,n,r);else if(Fa(e)||Ia(e))e.forEach((e=>{Hs(e,t,n,r);}));else if(Wa(e))for(const o in e)Hs(e[o],t,n,r);return e}function Us(e,t){if(null===ks)return e;const n=pd(ks)||ks.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[e,a,i,l=Sa]=t[o];e&&(Pa(e)&&(e={mounted:e,updated:e}),e.deep&&Hs(a),r.push({dir:e,instance:n,value:a,oldValue:void 0,arg:i,modifiers:l}));}return e}function qs(e,t,n,r){const o=e.dirs,a=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];a&&(l.oldValue=a[i].value);let s=l.dir[r];s&&(Mi(),es(s,n,8,[e.el,l,e,t]),Li());}}const Ws=Symbol("_leaveCb"),Ks=Symbol("_enterCb");const Gs=[Function,Array],Zs={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Gs,onEnter:Gs,onAfterEnter:Gs,onEnterCancelled:Gs,onBeforeLeave:Gs,onLeave:Gs,onAfterLeave:Gs,onLeaveCancelled:Gs,onBeforeAppear:Gs,onAppear:Gs,onAfterAppear:Gs,onAppearCancelled:Gs},Js={name:"BaseTransition",props:Zs,setup(e,{slots:t}){const n=td(),r=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fc((()=>{e.isMounted=!0;})),mc((()=>{e.isUnmounting=!0;})),e}();let o;return ()=>{const a=t.default&&nc(t.default(),!0);if(!a||!a.length)return;let i=a[0];if(a.length>1)for(const e of a)if(e.type!==Au){i=e;break}const l=Il(e),{mode:s}=l;if(r.isLeaving)return Xs(i);const c=ec(i);if(!c)return Xs(i);const u=Qs(c,l,r,n);tc(c,u);const d=n.subTree,p=d&&ec(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===o?o=e:e!==o&&(o=e,f=!0);}if(p&&p.type!==Au&&(!Pu(c,p)||f)){const e=Qs(p,l,r,n);if(tc(p,e),"out-in"===s)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update());},Xs(i);"in-out"===s&&c.type!==Au&&(e.delayLeave=(e,t,n)=>{Ys(r,p)[String(p.key)]=p,e[Ws]=()=>{t(),e[Ws]=void 0,delete u.delayedLeave;},u.delayedLeave=n;});}return i}}};function Ys(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Qs(e,t,n,r){const{appear:o,mode:a,persisted:i=!1,onBeforeEnter:l,onEnter:s,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:g,onAppear:m,onAfterAppear:b,onAppearCancelled:v}=t,_=String(e.key),y=Ys(n,e),x=(e,t)=>{e&&es(e,r,9,t);},k=(e,t)=>{const n=t[1];x(e,t),La(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n();},w={mode:a,persisted:i,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=g||l;}t[Ws]&&t[Ws](!0);const a=y[_];a&&Pu(e,a)&&a.el[Ws]&&a.el[Ws](),x(r,[t]);},enter(e){let t=s,r=c,a=u;if(!n.isMounted){if(!o)return;t=m||s,r=b||c,a=v||u;}let i=!1;const l=e[Ks]=t=>{i||(i=!0,x(t?a:r,[e]),w.delayedLeave&&w.delayedLeave(),e[Ks]=void 0);};t?k(t,[e,l]):l();},leave(t,r){const o=String(e.key);if(t[Ks]&&t[Ks](!0),n.isUnmounting)return r();x(d,[t]);let a=!1;const i=t[Ws]=n=>{a||(a=!0,r(),x(n?h:f,[t]),t[Ws]=void 0,y[o]===e&&delete y[o]);};y[o]=e,p?k(p,[t,i]):i();},clone:e=>Qs(e,t,n,r)};return w}function Xs(e){if(ac(e))return (e=Uu(e)).children=null,e}function ec(e){return ac(e)?e.children?e.children[0]:void 0:e}function tc(e,t){6&e.shapeFlag&&e.component?tc(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t;}function nc(e,t=!1,n){let r=[],o=0;for(let a=0;a<e.length;a++){let i=e[a];const l=null==n?i.key:String(n)+String(null!=i.key?i.key:a);i.type===Cu?(128&i.patchFlag&&o++,r=r.concat(nc(i.children,t,l))):(t||i.type!==Au)&&r.push(null!=l?Uu(i,{key:l}):i);}if(o>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}
  /*! #__NO_SIDE_EFFECTS__ */function rc(e,t){return Pa(e)?(()=>Oa({name:e.name},t,{setup:e}))():e}const oc=e=>!!e.type.__asyncLoader,ac=e=>e.type.__isKeepAlive;function ic(e,t){sc(e,"a",t);}function lc(e,t){sc(e,"da",t);}function sc(e,t,n=ed){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent;}return e()});if(uc(t,r,n),n){let e=n.parent;for(;e&&e.parent;)ac(e.parent.vnode)&&cc(r,t,n,e),e=e.parent;}}function cc(e,t,n,r){const o=uc(t,e,r,!0);bc((()=>{za(r[t],o);}),n);}function uc(e,t,n=ed,r=!1){if(n){const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Mi();const o=od(n),a=es(t,n,e,r);return o(),Li(),a});return r?o.unshift(a):o.push(a),a}}const dc=e=>(t,n=ed)=>(!sd||"sp"===e)&&uc(e,((...e)=>t(...e)),n),pc=dc("bm"),fc=dc("m"),hc=dc("bu"),gc=dc("u"),mc=dc("bum"),bc=dc("um"),vc=dc("sp"),_c=dc("rtg"),yc=dc("rtc");function xc(e,t=ed){uc("ec",e,t);}function kc(e,t,n,r){let o;const a=n&&n[r];if(La(e)||Ba(e)){o=new Array(e.length);for(let n=0,r=e.length;n<r;n++)o[n]=t(e[n],n,void 0,a&&a[n]);}else if("number"==typeof e){o=new Array(e);for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,a&&a[n]);}else if(Da(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,a&&a[n])));else {const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){const i=n[r];o[r]=t(e[i],i,r,a&&a[r]);}}else o=[];return n&&(n[r]=o),o}function wc(e,t,n={},r,o){if(ks.isCE||ks.parent&&oc(ks.parent)&&ks.parent.isCE)return "default"!==t&&(n.name=t),Hu("slot",n,r&&r());let a=e[t];a&&a._c&&(a._d=!1),zu();const i=a&&Sc(a(n)),l=Fu(Cu,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&1===e._?64:-2);return !o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}function Sc(e){return e.some((e=>!Ru(e)||e.type!==Au&&!(e.type===Cu&&!Sc(e.children))))?e:null}const Cc=e=>e?id(e)?pd(e)||e.proxy:Cc(e.parent):null,Ec=Oa(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Cc(e.parent),$root:e=>Cc(e.root),$emit:e=>e.emit,$options:e=>Fc(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,ps(e.update);}),$nextTick:e=>e.n||(e.n=ds.bind(e.proxy)),$watch:e=>Ds.bind(e)}),Ac=(e,t)=>e!==Sa&&!e.__isScriptSetup&&Ma(e,t),jc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:a,accessCache:i,type:l,appContext:s}=e;let c;if("$"!==t[0]){const l=i[t];if(void 0!==l)switch(l){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return a[t]}else {if(Ac(r,t))return i[t]=1,r[t];if(o!==Sa&&Ma(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Ma(c,t))return i[t]=3,a[t];if(n!==Sa&&Ma(n,t))return i[t]=4,n[t];Tc&&(i[t]=0);}}const u=Ec[t];let d,p;return u?("$attrs"===t&&Ui(e,0,t),u(e)):(d=l.__cssModules)&&(d=d[t])?d:n!==Sa&&Ma(n,t)?(i[t]=4,n[t]):(p=s.config.globalProperties,Ma(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:o,ctx:a}=e;return Ac(o,t)?(o[t]=n,!0):r!==Sa&&Ma(r,t)?(r[t]=n,!0):!Ma(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},i){let l;return !!n[i]||e!==Sa&&Ma(e,i)||Ac(t,i)||(l=a[0])&&Ma(l,i)||Ma(r,i)||Ma(Ec,i)||Ma(o.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:Ma(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $c(){return Oc().slots}function Oc(){const e=td();return e.setupContext||(e.setupContext=dd(e))}function zc(e){return La(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let Tc=!0;function Mc(e){const t=Fc(e),n=e.proxy,r=e.ctx;Tc=!1,t.beforeCreate&&Lc(t.beforeCreate,e,"bc");const{data:o,computed:a,methods:i,watch:l,provide:s,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:f,updated:h,activated:g,deactivated:m,beforeDestroy:b,beforeUnmount:v,destroyed:_,unmounted:y,render:x,renderTracked:k,renderTriggered:w,errorCaptured:S,serverPrefetch:C,expose:E,inheritAttrs:A,components:j,directives:$,filters:O}=t;if(c&&function(e,t,n=Ea){La(e)&&(e=Nc(e));for(const r in e){const n=e[r];let o;o=Da(n)?"default"in n?Zc(n.from||r,n.default,!0):Zc(n.from||r):Zc(n),Vl(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:e=>o.value=e}):t[r]=o;}}(c,r,null),i)for(const T in i){const e=i[T];Pa(e)&&(r[T]=e.bind(n));}if(o){const t=o.call(n,n);Da(t)&&(e.data=jl(t));}if(Tc=!0,a)for(const T in a){const e=a[T],t=Pa(e)?e.bind(n,n):Pa(e.get)?e.get.bind(n,n):Ea,o=!Pa(e)&&Pa(e.set)?e.set.bind(n):Ea,i=hd({get:t,set:o});Object.defineProperty(r,T,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e});}if(l)for(const T in l)Ic(l[T],r,n,T);if(s){const e=Pa(s)?s.call(n):s;Reflect.ownKeys(e).forEach((t=>{Gc(t,e[t]);}));}function z(e,t){La(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n));}if(u&&Lc(u,e,"c"),z(pc,d),z(fc,p),z(hc,f),z(gc,h),z(ic,g),z(lc,m),z(xc,S),z(yc,k),z(_c,w),z(mc,v),z(bc,y),z(vc,C),La(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t});}));}else e.exposed||(e.exposed={});x&&e.render===Ea&&(e.render=x),null!=A&&(e.inheritAttrs=A),j&&(e.components=j),$&&(e.directives=$);}function Lc(e,t,n){es(La(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n);}function Ic(e,t,n,r){const o=r.includes(".")?Vs(n,r):()=>n[r];if(Ba(e)){const n=t[e];Pa(n)&&Bs(o,n);}else if(Pa(e))Bs(o,e.bind(n));else if(Da(e))if(La(e))e.forEach((e=>Ic(e,t,n,r)));else {const r=Pa(e.handler)?e.handler.bind(n):t[e.handler];Pa(r)&&Bs(o,r,e);}}function Fc(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,l=a.get(t);let s;return l?s=l:o.length||n||r?(s={},o.length&&o.forEach((e=>Rc(s,e,i,!0))),Rc(s,t,i)):s=t,Da(t)&&a.set(t,s),s}function Rc(e,t,n,r=!1){const{mixins:o,extends:a}=t;a&&Rc(e,a,n,!0),o&&o.forEach((t=>Rc(e,t,n,!0)));for(const i in t)if(r&&"expose"===i);else {const r=Pc[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i];}return e}const Pc={data:Bc,props:Hc,emits:Hc,methods:Vc,computed:Vc,beforeCreate:Dc,created:Dc,beforeMount:Dc,mounted:Dc,beforeUpdate:Dc,updated:Dc,beforeDestroy:Dc,beforeUnmount:Dc,destroyed:Dc,unmounted:Dc,activated:Dc,deactivated:Dc,errorCaptured:Dc,serverPrefetch:Dc,components:Vc,directives:Vc,watch:function(e,t){if(!e)return t;if(!t)return e;const n=Oa(Object.create(null),e);for(const r in t)n[r]=Dc(e[r],t[r]);return n},provide:Bc,inject:function(e,t){return Vc(Nc(e),Nc(t))}};function Bc(e,t){return t?e?function(){return Oa(Pa(e)?e.call(this,this):e,Pa(t)?t.call(this,this):t)}:t:e}function Nc(e){if(La(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Dc(e,t){return e?[...new Set([].concat(e,t))]:t}function Vc(e,t){return e?Oa(Object.create(null),e,t):t}function Hc(e,t){return e?La(e)&&La(t)?[...new Set([...e,...t])]:Oa(Object.create(null),zc(e),zc(null!=t?t:{})):t}function Uc(){return {app:null,config:{isNativeTag:Aa,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let qc=0;function Wc(e,t){return function(n,r=null){Pa(n)||(n=Oa({},n)),null==r||Da(r)||(r=null);const o=Uc(),a=new WeakSet;let i=!1;const l=o.app={_uid:qc++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:gd,get config(){return o.config},set config(e){},use:(e,...t)=>(a.has(e)||(e&&Pa(e.install)?(a.add(e),e.install(l,...t)):Pa(e)&&(a.add(e),e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),component:(e,t)=>t?(o.components[e]=t,l):o.components[e],directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(a,s,c){if(!i){const u=Hu(n,r);return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),s&&t?t(u,a):e(u,a,c),i=!0,l._container=a,a.__vue_app__=l,pd(u.component)||u.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__);},provide:(e,t)=>(o.provides[e]=t,l),runWithContext(e){const t=Kc;Kc=l;try{return e()}finally{Kc=t;}}};return l}}let Kc=null;function Gc(e,t){if(ed){let n=ed.provides;const r=ed.parent&&ed.parent.provides;r===n&&(n=ed.provides=Object.create(r)),n[e]=t;}}function Zc(e,t,n=!1){const r=ed||ks;if(r||Kc){const o=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Kc._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Pa(t)?t.call(r&&r.proxy):t}}function Jc(e,t,n,r=!1){const o={},a={};oi(a,Bu,1),e.propsDefaults=Object.create(null),Yc(e,t,o,a);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:Ol(o,!1,nl,kl,Cl):e.type.props?e.props=o:e.props=a,e.attrs=a;}function Yc(e,t,n,r){const[o,a]=e.propsOptions;let i,l=!1;if(t)for(let s in t){if(Ga(s))continue;const c=t[s];let u;o&&Ma(o,u=Ya(s))?a&&a.includes(u)?(i||(i={}))[u]=c:n[u]=c:xs(e.emitsOptions,s)||s in r&&c===r[s]||(r[s]=c,l=!0);}if(a){const t=Il(n),r=i||Sa;for(let i=0;i<a.length;i++){const l=a[i];n[l]=Qc(o,t,l,r[l],e,!Ma(r,l));}}return l}function Qc(e,t,n,r,o,a){const i=e[n];if(null!=i){const e=Ma(i,"default");if(e&&void 0===r){const e=i.default;if(i.type!==Function&&!i.skipFactory&&Pa(e)){const{propsDefaults:a}=o;if(n in a)r=a[n];else {const i=od(o);r=a[n]=e.call(null,t),i();}}else r=e;}i[0]&&(a&&!e?r=!1:!i[1]||""!==r&&r!==Xa(n)||(r=!0));}return r}function Xc(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const a=e.props,i={},l=[];let s=!1;if(!Pa(e)){const r=e=>{s=!0;const[n,r]=Xc(e,t,!0);Oa(i,n),r&&l.push(...r);};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r);}if(!a&&!s)return Da(e)&&r.set(e,Ca),Ca;if(La(a))for(let u=0;u<a.length;u++){const e=Ya(a[u]);eu(e)&&(i[e]=Sa);}else if(a)for(const u in a){const e=Ya(u);if(eu(e)){const t=a[u],n=i[e]=La(t)||Pa(t)?{type:t}:Oa({},t);if(n){const t=ru(Boolean,n.type),r=ru(String,n.type);n[0]=t>-1,n[1]=r<0||t<r,(t>-1||Ma(n,"default"))&&l.push(e);}}}const c=[i,l];return Da(e)&&r.set(e,c),c}function eu(e){return "$"!==e[0]&&!Ga(e)}function tu(e){if(null===e)return "null";if("function"==typeof e)return e.name||"";if("object"==typeof e){return e.constructor&&e.constructor.name||""}return ""}function nu(e,t){return tu(e)===tu(t)}function ru(e,t){return La(t)?t.findIndex((t=>nu(t,e))):Pa(t)&&nu(t,e)?0:-1}const ou=e=>"_"===e[0]||"$stable"===e,au=e=>La(e)?e.map(Ku):[Ku(e)],iu=(e,t,n)=>{if(t._n)return t;const r=As(((...e)=>au(t(...e))),n);return r._c=!1,r},lu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ou(o))continue;const n=e[o];if(Pa(n))t[o]=iu(0,n,r);else if(null!=n){const e=au(n);t[o]=()=>e;}}},su=(e,t)=>{const n=au(t);e.slots.default=()=>n;},cu=(e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=Il(t),oi(t,"_",n)):lu(t,e.slots={});}else e.slots={},t&&su(e,t);oi(e.slots,Bu,1);},uu=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,i=Sa;if(32&r.shapeFlag){const e=t._;e?n&&1===e?a=!1:(Oa(o,t),n||1!==e||delete o._):(a=!t.$stable,lu(t,o)),i=t;}else t&&(su(e,t),i={default:1});if(a)for(const l in o)ou(l)||null!=i[l]||delete o[l];};function du(e,t,n,r,o=!1){if(La(e))return void e.forEach(((e,a)=>du(e,t&&(La(t)?t[a]:t),n,r,o)));if(oc(r)&&!o)return;const a=4&r.shapeFlag?pd(r.component)||r.component.proxy:r.el,i=o?null:a,{i:l,r:s}=e,c=t&&t.r,u=l.refs===Sa?l.refs={}:l.refs,d=l.setupState;if(null!=c&&c!==s&&(Ba(c)?(u[c]=null,Ma(d,c)&&(d[c]=null)):Vl(c)&&(c.value=null)),Pa(s))Xl(s,l,12,[i,u]);else {const t=Ba(s),r=Vl(s);if(t||r){const l=()=>{if(e.f){const n=t?Ma(d,s)?d[s]:u[s]:s.value;o?La(n)&&za(n,a):La(n)?n.includes(a)||n.push(a):t?(u[s]=[a],Ma(d,s)&&(d[s]=u[s])):(s.value=[a],e.k&&(u[e.k]=s.value));}else t?(u[s]=i,Ma(d,s)&&(d[s]=i)):r&&(s.value=i,e.k&&(u[e.k]=i));};i?(l.id=-1,pu(l,n)):l();}}}const pu=function(e,t){var n;t&&t.pendingBranch?La(e)?t.effects.push(...e):t.effects.push(e):(La(n=e)?is.push(...n):ls&&ls.includes(n,n.allowRecurse?ss+1:ss)||is.push(n),fs());};function fu(e){return function(e,t){si().__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:a,createText:i,createComment:l,setText:s,setElementText:c,parentNode:u,nextSibling:d,setScopeId:p=Ea,insertStaticContent:f}=e,h=(e,t,n,r=null,o=null,a=null,i=void 0,l=null,s=!!t.dynamicChildren)=>{if(e===t)return;e&&!Pu(e,t)&&(r=V(e),R(e,o,a,!0),e=null),-2===t.patchFlag&&(s=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Eu:g(e,t,n,r);break;case Au:m(e,t,n,r);break;case ju:null==e&&b(t,n,r,i);break;case Cu:A(e,t,n,r,o,a,i,l,s);break;default:1&d?y(e,t,n,r,o,a,i,l,s):6&d?j(e,t,n,r,o,a,i,l,s):(64&d||128&d)&&c.process(e,t,n,r,o,a,i,l,s,q);}null!=u&&o&&du(u,e&&e.ref,a,t||e,!t);},g=(e,t,r,o)=>{if(null==e)n(t.el=i(t.children),r,o);else {const n=t.el=e.el;t.children!==e.children&&s(n,t.children);}},m=(e,t,r,o)=>{null==e?n(t.el=l(t.children||""),r,o):t.el=e.el;},b=(e,t,n,r)=>{[e.el,e.anchor]=f(e.children,t,n,r,e.el,e.anchor);},v=({el:e,anchor:t},r,o)=>{let a;for(;e&&e!==t;)a=d(e),n(e,r,o),e=a;n(t,r,o);},_=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t);},y=(e,t,n,r,o,a,i,l,s)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?x(t,n,r,o,a,i,l,s):S(e,t,o,a,i,l,s);},x=(e,t,r,i,l,s,u,d)=>{let p,f;const{props:h,shapeFlag:g,transition:m,dirs:b}=e;if(p=e.el=a(e.type,s,h&&h.is,h),8&g?c(p,e.children):16&g&&w(e.children,p,null,i,l,hu(e,s),u,d),b&&qs(e,null,i,"created"),k(p,e,e.scopeId,u,i),h){for(const t in h)"value"===t||Ga(t)||o(p,t,null,h[t],s,e.children,i,l,D);"value"in h&&o(p,"value",null,h.value,s),(f=h.onVnodeBeforeMount)&&Yu(f,i,e);}b&&qs(e,null,i,"beforeMount");const v=function(e,t){return (!e||e&&!e.pendingBranch)&&t&&!t.persisted}(l,m);v&&m.beforeEnter(p),n(p,t,r),((f=h&&h.onVnodeMounted)||v||b)&&pu((()=>{f&&Yu(f,i,e),v&&m.enter(p),b&&qs(e,null,i,"mounted");}),l);},k=(e,t,n,r,o)=>{if(n&&p(e,n),r)for(let a=0;a<r.length;a++)p(e,r[a]);if(o){if(t===o.subTree){const t=o.vnode;k(e,t,t.scopeId,t.slotScopeIds,o.parent);}}},w=(e,t,n,r,o,a,i,l,s=0)=>{for(let c=s;c<e.length;c++){const s=e[c]=l?Gu(e[c]):Ku(e[c]);h(null,s,t,n,r,o,a,i,l);}},S=(e,t,n,r,a,i,l)=>{const s=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag;const f=e.props||Sa,h=t.props||Sa;let g;if(n&&gu(n,!1),(g=h.onVnodeBeforeUpdate)&&Yu(g,n,t,e),p&&qs(t,e,n,"beforeUpdate"),n&&gu(n,!0),d?C(e.dynamicChildren,d,s,n,r,hu(t,a),i):l||M(e,t,s,null,n,r,hu(t,a),i,!1),u>0){if(16&u)E(s,t,f,h,n,r,a);else if(2&u&&f.class!==h.class&&o(s,"class",null,h.class,a),4&u&&o(s,"style",f.style,h.style,a),8&u){const i=t.dynamicProps;for(let t=0;t<i.length;t++){const l=i[t],c=f[l],u=h[l];u===c&&"value"!==l||o(s,l,c,u,a,e.children,n,r,D);}}1&u&&e.children!==t.children&&c(s,t.children);}else l||null!=d||E(s,t,f,h,n,r,a);((g=h.onVnodeUpdated)||p)&&pu((()=>{g&&Yu(g,n,t,e),p&&qs(t,e,n,"updated");}),r);},C=(e,t,n,r,o,a,i)=>{for(let l=0;l<t.length;l++){const s=e[l],c=t[l],d=s.el&&(s.type===Cu||!Pu(s,c)||70&s.shapeFlag)?u(s.el):n;h(s,c,d,null,r,o,a,i,!0);}},E=(e,t,n,r,a,i,l)=>{if(n!==r){if(n!==Sa)for(const s in n)Ga(s)||s in r||o(e,s,n[s],null,l,t.children,a,i,D);for(const s in r){if(Ga(s))continue;const c=r[s],u=n[s];c!==u&&"value"!==s&&o(e,s,u,c,l,t.children,a,i,D);}"value"in r&&o(e,"value",n.value,r.value,l);}},A=(e,t,r,o,a,l,s,c,u)=>{const d=t.el=e?e.el:i(""),p=t.anchor=e?e.anchor:i("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:g}=t;g&&(c=c?c.concat(g):g),null==e?(n(d,r,o),n(p,r,o),w(t.children||[],r,p,a,l,s,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(C(e.dynamicChildren,h,r,a,l,s,c),(null!=t.key||a&&t===a.subTree)&&mu(e,t,!0)):M(e,t,r,p,a,l,s,c,u);},j=(e,t,n,r,o,a,i,l,s)=>{t.slotScopeIds=l,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,s):$(t,n,r,o,a,i,s):O(e,t,s);},$=(e,t,n,r,o,a,i)=>{const l=e.component=function(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Qu,a={uid:Xu++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Si(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Xc(r,o),emitsOptions:ys(r,o),emit:null,emitted:null,propsDefaults:Sa,inheritAttrs:r.inheritAttrs,ctx:Sa,data:Sa,props:Sa,attrs:Sa,slots:Sa,refs:Sa,setupState:Sa,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a},a.root=t?t.root:a,a.emit=_s.bind(null,a),e.ce&&e.ce(a);return a}(e,r,o);if(ac(e)&&(l.ctx.renderer=q),function(e,t=!1){t&&rd(t);const{props:n,children:r}=e.vnode,o=id(e);Jc(e,n,o,t),cu(e,r);o?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Fl(new Proxy(e.ctx,jc));const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?dd(e):null,o=od(e);Mi();const a=Xl(r,e,0,[e.props,n]);if(Li(),o(),Va(a)){if(a.then(ad,ad),t)return a.then((n=>{cd(e,n,t);})).catch((t=>{ts(t,e,0);}));e.asyncDep=a;}else cd(e,a,t);}else ud(e,t);}(e,t):void 0;t&&rd(!1);}(l),l.asyncDep){if(o&&o.registerDep(l,z),!e.el){const e=l.subTree=Hu(Au);m(null,e,t,n);}}else z(l,e,t,n,o,a,i);},O=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:o,component:a}=e,{props:i,children:l,patchFlag:s}=t,c=a.emitsOptions;if(t.dirs||t.transition)return !0;if(!(n&&s>=0))return !(!o&&!l||l&&l.$stable)||r!==i&&(r?!i||zs(r,i,c):!!i);if(1024&s)return !0;if(16&s)return r?zs(r,i,c):!!i;if(8&s){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(i[n]!==r[n]&&!xs(c,n))return !0}}return !1}(e,t,n)){if(r.asyncDep&&!r.asyncResolved)return void T(r,t,n);r.next=t,function(e){const t=os.indexOf(e);t>as&&os.splice(t,1);}(r.update),r.effect.dirty=!0,r.update();}else t.el=e.el,r.vnode=t;},z=(e,t,n,r,o,a,i)=>{const l=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{const n=bu(e);if(n)return t&&(t.el=c.el,T(e,t,i)),void n.asyncDep.then((()=>{e.isUnmounted||l();}))}let d,p=t;gu(e,!1),t?(t.el=c.el,T(e,t,i)):t=c,n&&ri(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Yu(d,s,t,c),gu(e,!0);const f=js(e),g=e.subTree;e.subTree=f,h(g,f,u(g.el),V(g),e,o,a),t.el=f.el,null===p&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent;}}(e,f.el),r&&pu(r,o),(d=t.props&&t.props.onVnodeUpdated)&&pu((()=>Yu(d,s,t,c)),o);}else {let i;const{el:l,props:s}=t,{bm:c,m:u,parent:d}=e,p=oc(t);if(gu(e,!1),c&&ri(c),!p&&(i=s&&s.onVnodeBeforeMount)&&Yu(i,d,t),gu(e,!0),l&&K){const n=()=>{e.subTree=js(e),K(l,e.subTree,e,o,null);};p?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n();}else {const i=e.subTree=js(e);h(null,i,n,r,e,o,a),t.el=i.el;}if(u&&pu(u,o),!p&&(i=s&&s.onVnodeMounted)){const e=t;pu((()=>Yu(i,d,e)),o);}(256&t.shapeFlag||d&&oc(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&pu(e.a,o),e.isMounted=!0,t=n=r=null;}},s=e.effect=new Ei(l,Ea,(()=>ps(c)),e.scope),c=e.update=()=>{s.dirty&&s.run();};c.id=e.uid,gu(e,!0),c();},T=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:o,attrs:a,vnode:{patchFlag:i}}=e,l=Il(o),[s]=e.propsOptions;let c=!1;if(!(r||i>0)||16&i){let r;Yc(e,t,o,a)&&(c=!0);for(const a in l)t&&(Ma(t,a)||(r=Xa(a))!==a&&Ma(t,r))||(s?!n||void 0===n[a]&&void 0===n[r]||(o[a]=Qc(s,l,a,void 0,e,!0)):delete o[a]);if(a!==l)for(const e in a)t&&Ma(t,e)||(delete a[e],c=!0);}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r];if(xs(e.emitsOptions,i))continue;const u=t[i];if(s)if(Ma(a,i))u!==a[i]&&(a[i]=u,c=!0);else {const t=Ya(i);o[t]=Qc(s,l,t,u,e,!1);}else u!==a[i]&&(a[i]=u,c=!0);}}c&&qi(e,"set","$attrs");}(e,t.props,r,n),uu(e,t.children,n),Mi(),hs(e),Li();},M=(e,t,n,r,o,a,i,l,s=!1)=>{const u=e&&e.children,d=e?e.shapeFlag:0,p=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void I(u,p,n,r,o,a,i,l,s);if(256&f)return void L(u,p,n,r,o,a,i,l,s)}8&h?(16&d&&D(u,o,a),p!==u&&c(n,p)):16&d?16&h?I(u,p,n,r,o,a,i,l,s):D(u,o,a,!0):(8&d&&c(n,""),16&h&&w(p,n,r,o,a,i,l,s));},L=(e,t,n,r,o,a,i,l,s)=>{t=t||Ca;const c=(e=e||Ca).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){const r=t[p]=s?Gu(t[p]):Ku(t[p]);h(e[p],r,n,null,o,a,i,l,s);}c>u?D(e,o,a,!0,!1,d):w(t,n,r,o,a,i,l,s,d);},I=(e,t,n,r,o,a,i,l,s)=>{let c=0;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){const r=e[c],u=t[c]=s?Gu(t[c]):Ku(t[c]);if(!Pu(r,u))break;h(r,u,n,null,o,a,i,l,s),c++;}for(;c<=d&&c<=p;){const r=e[d],c=t[p]=s?Gu(t[p]):Ku(t[p]);if(!Pu(r,c))break;h(r,c,n,null,o,a,i,l,s),d--,p--;}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:r;for(;c<=p;)h(null,t[c]=s?Gu(t[c]):Ku(t[c]),n,d,o,a,i,l,s),c++;}}else if(c>p)for(;c<=d;)R(e[c],o,a,!0),c++;else {const f=c,g=c,m=new Map;for(c=g;c<=p;c++){const e=t[c]=s?Gu(t[c]):Ku(t[c]);null!=e.key&&m.set(e.key,c);}let b,v=0;const _=p-g+1;let y=!1,x=0;const k=new Array(_);for(c=0;c<_;c++)k[c]=0;for(c=f;c<=d;c++){const r=e[c];if(v>=_){R(r,o,a,!0);continue}let u;if(null!=r.key)u=m.get(r.key);else for(b=g;b<=p;b++)if(0===k[b-g]&&Pu(r,t[b])){u=b;break}void 0===u?R(r,o,a,!0):(k[u-g]=c+1,u>=x?x=u:y=!0,h(r,t[u],n,null,o,a,i,l,s),v++);}const w=y?function(e){const t=e.slice(),n=[0];let r,o,a,i,l;const s=e.length;for(r=0;r<s;r++){const s=e[r];if(0!==s){if(o=n[n.length-1],e[o]<s){t[r]=o,n.push(r);continue}for(a=0,i=n.length-1;a<i;)l=a+i>>1,e[n[l]]<s?a=l+1:i=l;s<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r);}}a=n.length,i=n[a-1];for(;a-- >0;)n[a]=i,i=t[i];return n}(k):Ca;for(b=w.length-1,c=_-1;c>=0;c--){const e=g+c,d=t[e],p=e+1<u?t[e+1].el:r;0===k[c]?h(null,d,n,p,o,a,i,l,s):y&&(b<0||c!==w[b]?F(d,n,p,2):b--);}}},F=(e,t,r,o,a=null)=>{const{el:i,type:l,transition:s,children:c,shapeFlag:u}=e;if(6&u)return void F(e.component.subTree,t,r,o);if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void l.move(e,t,r,q);if(l===Cu){n(i,t,r);for(let e=0;e<c.length;e++)F(c[e],t,r,o);return void n(e.anchor,t,r)}if(l===ju)return void v(e,t,r);if(2!==o&&1&u&&s)if(0===o)s.beforeEnter(i),n(i,t,r),pu((()=>s.enter(i)),a);else {const{leave:e,delayLeave:o,afterLeave:a}=s,l=()=>n(i,t,r),c=()=>{e(i,(()=>{l(),a&&a();}));};o?o(i,l,c):c();}else n(i,t,r);},R=(e,t,n,r=!1,o=!1)=>{const{type:a,props:i,ref:l,children:s,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=l&&du(l,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p,h=!oc(e);let g;if(h&&(g=i&&i.onVnodeBeforeUnmount)&&Yu(g,t,e),6&u)N(e.component,n,r);else {if(128&u)return void e.suspense.unmount(n,r);f&&qs(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,o,q,r):c&&(a!==Cu||d>0&&64&d)?D(c,t,n,!1,!0):(a===Cu&&384&d||!o&&16&u)&&D(s,t,n),r&&P(e);}(h&&(g=i&&i.onVnodeUnmounted)||f)&&pu((()=>{g&&Yu(g,t,e),f&&qs(e,null,t,"unmounted");}),n);},P=e=>{const{type:t,el:n,anchor:o,transition:a}=e;if(t===Cu)return void B(n,o);if(t===ju)return void _(e);const i=()=>{r(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave();};if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:r}=a,o=()=>t(n,i);r?r(e.el,i,o):o();}else i();},B=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t);},N=(e,t,n)=>{const{bum:r,scope:o,update:a,subTree:i,um:l}=e;r&&ri(r),o.stop(),a&&(a.active=!1,R(i,e,t,n)),l&&pu(l,t),pu((()=>{e.isUnmounted=!0;}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve());},D=(e,t,n,r=!1,o=!1,a=0)=>{for(let i=a;i<e.length;i++)R(e[i],t,n,r,o);},V=e=>6&e.shapeFlag?V(e.component.subTree):128&e.shapeFlag?e.suspense.next():d(e.anchor||e.el);let H=!1;const U=(e,t,n)=>{null==e?t._vnode&&R(t._vnode,null,null,!0):h(t._vnode||null,e,t,null,null,null,n),H||(H=!0,hs(),gs(),H=!1),t._vnode=e;},q={p:h,um:R,m:F,r:P,mt:$,mc:w,pc:M,pbc:C,n:V,o:e};let W,K;t&&([W,K]=t(q));return {render:U,hydrate:W,createApp:Wc(U,W)}}(e)}function hu({type:e,props:t},n){return "svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function gu({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n;}function mu(e,t,n=!1){const r=e.children,o=t.children;if(La(r)&&La(o))for(let a=0;a<r.length;a++){const e=r[a];let t=o[a];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[a]=Gu(o[a]),t.el=e.el),n||mu(e,t)),t.type===Eu&&(t.el=e.el);}}function bu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:bu(t)}const vu=e=>e&&(e.disabled||""===e.disabled),_u=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,yu=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,xu=(e,t)=>{const n=e&&e.to;if(Ba(n)){if(t){return t(n)}return null}return n};function ku(e,t,n,{o:{insert:r},m:o},a=2){0===a&&r(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:s,children:c,props:u}=e,d=2===a;if(d&&r(i,t,n),(!d||vu(u))&&16&s)for(let p=0;p<c.length;p++)o(c[p],t,n,2);d&&r(l,t,n);}const wu={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,a,i,l,s,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:g,createComment:m}}=c,b=vu(t.props);let{shapeFlag:v,children:_,dynamicChildren:y}=t;if(null==e){const e=t.el=g(""),c=t.anchor=g("");f(e,n,r),f(c,n,r);const d=t.target=xu(t.props,h),p=t.targetAnchor=g("");d&&(f(p,d),"svg"===i||_u(d)?i="svg":("mathml"===i||yu(d))&&(i="mathml"));const m=(e,t)=>{16&v&&u(_,e,t,o,a,i,l,s);};b?m(n,c):d&&m(d,p);}else {t.el=e.el;const r=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,g=vu(e.props),m=g?n:u,v=g?r:f;if("svg"===i||_u(u)?i="svg":("mathml"===i||yu(u))&&(i="mathml"),y?(p(e.dynamicChildren,y,m,o,a,i,l),mu(e,t,!0)):s||d(e,t,m,v,o,a,i,l,!1),b)g?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ku(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=xu(t.props,h);e&&ku(t,e,null,c,0);}else g&&ku(t,u,f,c,1);}Su(t);},remove(e,t,n,r,{um:o,o:{remove:a}},i){const{shapeFlag:l,children:s,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&a(u),i&&a(c),16&l){const e=i||!vu(p);for(let r=0;r<s.length;r++){const a=s[r];o(a,t,n,e,!!a.dynamicChildren);}}},move:ku,hydrate:function(e,t,n,r,o,a,{o:{nextSibling:i,parentNode:l,querySelector:s}},c){const u=t.target=xu(t.props,s);if(u){const s=u._lpa||u.firstChild;if(16&t.shapeFlag)if(vu(t.props))t.anchor=c(i(e),t,l(e),n,r,o,a),t.targetAnchor=s;else {t.anchor=i(e);let l=s;for(;l;)if(l=i(l),l&&8===l.nodeType&&"teleport anchor"===l.data){t.targetAnchor=l,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(s,t,u,n,r,o,a);}Su(t);}return t.anchor&&i(t.anchor)}};function Su(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)1===n.nodeType&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut();}}const Cu=Symbol.for("v-fgt"),Eu=Symbol.for("v-txt"),Au=Symbol.for("v-cmt"),ju=Symbol.for("v-stc"),$u=[];let Ou=null;function zu(e=!1){$u.push(Ou=e?null:[]);}let Tu=1;function Mu(e){Tu+=e;}function Lu(e){return e.dynamicChildren=Tu>0?Ou||Ca:null,$u.pop(),Ou=$u[$u.length-1]||null,Tu>0&&Ou&&Ou.push(e),e}function Iu(e,t,n,r,o,a){return Lu(Vu(e,t,n,r,o,a,!0))}function Fu(e,t,n,r,o){return Lu(Hu(e,t,n,r,o,!0))}function Ru(e){return !!e&&!0===e.__v_isVNode}function Pu(e,t){return e.type===t.type&&e.key===t.key}const Bu="__vInternal",Nu=({key:e})=>null!=e?e:null,Du=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?Ba(e)||Vl(e)||Pa(e)?{i:ks,r:e,k:t,f:!!n}:e:null);function Vu(e,t=null,n=null,r=0,o=null,a=(e===Cu?0:1),i=!1,l=!1){const s={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Nu(t),ref:t&&Du(t),scopeId:ws,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ks};return l?(Zu(s,n),128&a&&e.normalize(s)):n&&(s.shapeFlag|=Ba(n)?8:16),Tu>0&&!i&&Ou&&(s.patchFlag>0||6&a)&&32!==s.patchFlag&&Ou.push(s),s}const Hu=function(e,t=null,n=null,r=0,o=null,a=!1){e&&e!==Ms||(e=Au);if(Ru(e)){const r=Uu(e,t,!0);return n&&Zu(r,n),Tu>0&&!a&&Ou&&(6&r.shapeFlag?Ou[Ou.indexOf(e)]=r:Ou.push(r)),r.patchFlag|=-2,r}i=e,Pa(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=function(e){return e?Ll(e)||Bu in e?Oa({},e):e:null}(t);let{class:e,style:n}=t;e&&!Ba(e)&&(t.class=hi(e)),Da(n)&&(Ll(n)&&!La(n)&&(n=Oa({},n)),t.style=ci(n));}const l=Ba(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Da(e)?4:Pa(e)?2:0;return Vu(e,t,n,r,o,l,a,!0)};function Uu(e,t,n=!1){const{props:r,ref:o,patchFlag:a,children:i}=e,l=t?Ju(r||{},t):r;return {__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Nu(l),ref:t&&t.ref?n&&o?La(o)?o.concat(Du(t)):[o,Du(t)]:Du(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Cu?-1===a?16:16|a:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Uu(e.ssContent),ssFallback:e.ssFallback&&Uu(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function qu(e=" ",t=0){return Hu(Eu,null,e,t)}function Wu(e="",t=!1){return t?(zu(),Fu(Au,null,e)):Hu(Au,null,e)}function Ku(e){return null==e||"boolean"==typeof e?Hu(Au):La(e)?Hu(Cu,null,e.slice()):"object"==typeof e?Gu(e):Hu(Eu,null,String(e))}function Gu(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Uu(e)}function Zu(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(La(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),Zu(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Bu in t?3===r&&ks&&(1===ks.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ks;}}else Pa(t)?(t={default:t,_ctx:ks},n=32):(t=String(t),64&r?(n=16,t=[qu(t)]):n=8);e.children=t,e.shapeFlag|=n;}function Ju(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const e in r)if("class"===e)t.class!==r.class&&(t.class=hi([t.class,r.class]));else if("style"===e)t.style=ci([t.style,r.style]);else if(ja(e)){const n=t[e],o=r[e];!o||n===o||La(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o);}else ""!==e&&(t[e]=r[e]);}return t}function Yu(e,t,n,r=null){es(e,t,7,[n,r]);}const Qu=Uc();let Xu=0;let ed=null;const td=()=>ed||ks;let nd,rd;{const e=si(),t=(t,n)=>{let r;return (r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e);}};nd=t("__VUE_INSTANCE_SETTERS__",(e=>ed=e)),rd=t("__VUE_SSR_SETTERS__",(e=>sd=e));}const od=e=>{const t=ed;return nd(e),e.scope.on(),()=>{e.scope.off(),nd(t);}},ad=()=>{ed&&ed.scope.off(),nd(null);};function id(e){return 4&e.vnode.shapeFlag}let ld,sd=!1;function cd(e,t,n){Pa(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Da(t)&&(e.setupState=Zl(t)),ud(e,n);}function ud(e,t,n){const r=e.type;if(!e.render){if(!t&&ld&&!r.render){const t=r.template||Fc(e).template;if(t){const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,l=Oa(Oa({isCustomElement:n,delimiters:a},o),i);r.render=ld(t,l);}}e.render=r.render||Ea;}{const t=od(e);Mi();try{Mc(e);}finally{Li(),t();}}}function dd(e){const t=t=>{e.exposed=t||{};};return {get attrs(){return function(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get:(t,n)=>(Ui(e,0,"$attrs"),t[n])}))}(e)},slots:e.slots,emit:e.emit,expose:t}}function pd(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Zl(Fl(e.exposed)),{get:(t,n)=>n in t?t[n]:n in Ec?Ec[n](e):void 0,has:(e,t)=>t in e||t in Ec}))}function fd(e,t=!0){return Pa(e)?e.displayName||e.name:e.name||t&&e.__name}const hd=(e,t)=>function(e,t,n=!1){let r,o;const a=Pa(e);return a?(r=e,o=Ea):(r=e.get,o=e.set),new Bl(r,o,a||!o,n)}(e,0,sd);const gd="3.4.19",md=Ea,bd="undefined"!=typeof document?document:null,vd=bd&&bd.createElement("template"),_d={insert:(e,t,n)=>{t.insertBefore(e,n||null);},remove:e=>{const t=e.parentNode;t&&t.removeChild(e);},createElement:(e,t,n,r)=>{const o="svg"===t?bd.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?bd.createElementNS("http://www.w3.org/1998/Math/MathML",e):bd.createElement(e,n?{is:n}:void 0);return "select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),o},createText:e=>bd.createTextNode(e),createComment:e=>bd.createComment(e),setText:(e,t)=>{e.nodeValue=t;},setElementText:(e,t)=>{e.textContent=t;},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bd.querySelector(e),setScopeId(e,t){e.setAttribute(t,"");},insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),o!==a&&(o=o.nextSibling););else {vd.innerHTML="svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e;const o=vd.content;if("svg"===r||"mathml"===r){const e=o.firstChild;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e);}t.insertBefore(o,n);}return [i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yd="transition",xd="animation",kd=Symbol("_vtc"),wd=(e,{slots:t})=>function(e,t,n){const r=arguments.length;return 2===r?Da(t)&&!La(t)?Ru(t)?Hu(e,null,[t]):Hu(e,t):Hu(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Ru(n)&&(n=[n]),Hu(e,t,n))}(Js,function(e){const t={};for(const j in e)j in Sd||(t[j]=e[j]);if(!1===e.css)return t;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:s=a,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=function(e){if(null==e)return null;if(Da(e))return [Ad(e.enter),Ad(e.leave)];{const t=Ad(e);return [t,t]}}(o),g=h&&h[0],m=h&&h[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:_,onLeave:y,onLeaveCancelled:x,onBeforeAppear:k=b,onAppear:w=v,onAppearCancelled:S=_}=t,C=(e,t,n)=>{$d(e,t?u:l),$d(e,t?c:i),n&&n();},E=(e,t)=>{e._isLeaving=!1,$d(e,d),$d(e,f),$d(e,p),t&&t();},A=e=>(t,n)=>{const o=e?w:v,i=()=>C(t,e,n);Cd(o,[t,i]),Od((()=>{$d(t,e?s:a),jd(t,e?u:l),Ed(o)||Td(t,r,g,i);}));};return Oa(t,{onBeforeEnter(e){Cd(b,[e]),jd(e,a),jd(e,i);},onBeforeAppear(e){Cd(k,[e]),jd(e,s),jd(e,c);},onEnter:A(!1),onAppear:A(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);jd(e,d),document.body.offsetHeight,jd(e,p),Od((()=>{e._isLeaving&&($d(e,d),jd(e,f),Ed(y)||Td(e,r,m,n));})),Cd(y,[e,n]);},onEnterCancelled(e){C(e,!1),Cd(_,[e]);},onAppearCancelled(e){C(e,!0),Cd(S,[e]);},onLeaveCancelled(e){E(e),Cd(x,[e]);}})}(e),t);wd.displayName="Transition";const Sd={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};wd.props=Oa({},Zs,Sd);const Cd=(e,t=[])=>{La(e)?e.forEach((e=>e(...t))):e&&e(...t);},Ed=e=>!!e&&(La(e)?e.some((e=>e.length>1)):e.length>1);function Ad(e){return ii(e)}function jd(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[kd]||(e[kd]=new Set)).add(t);}function $d(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[kd];n&&(n.delete(t),n.size||(e[kd]=void 0));}function Od(e){requestAnimationFrame((()=>{requestAnimationFrame(e);}));}let zd=0;function Td(e,t,n,r){const o=e._endId=++zd,a=()=>{o===e._endId&&r();};if(n)return setTimeout(a,n);const{type:i,timeout:l,propCount:s}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${yd}Delay`),a=r(`${yd}Duration`),i=Md(o,a),l=r(`${xd}Delay`),s=r(`${xd}Duration`),c=Md(l,s);let u=null,d=0,p=0;t===yd?i>0&&(u=yd,d=i,p=a.length):t===xd?c>0&&(u=xd,d=c,p=s.length):(d=Math.max(i,c),u=d>0?i>c?yd:xd:null,p=u?u===yd?a.length:s.length:0);const f=u===yd&&/\b(transform|all)(,|$)/.test(r(`${yd}Property`).toString());return {type:u,timeout:d,propCount:p,hasTransform:f}}(e,t);if(!i)return r();const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),a();},p=t=>{t.target===e&&++u>=s&&d();};setTimeout((()=>{u<s&&d();}),l+1),e.addEventListener(c,p);}function Md(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>Ld(t)+Ld(e[n]))))}function Ld(e){return "auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Id=Symbol("_vod"),Fd={beforeMount(e,{value:t},{transition:n}){e[Id]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Rd(e,t);},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e);},updated(e,{value:t,oldValue:n},{transition:r}){(!t!=!n||e.style.display!==e[Id]&&t)&&(r?t?(r.beforeEnter(e),Rd(e,!0),r.enter(e)):r.leave(e,(()=>{Rd(e,!1);})):Rd(e,t));},beforeUnmount(e,{value:t}){Rd(e,t);}};function Rd(e,t){e.style.display=t?e[Id]:"none";}const Pd=Symbol(""),Bd=/(^|;)\s*display\s*:/;const Nd=/\s*!important$/;function Dd(e,t,n){if(La(n))n.forEach((n=>Dd(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else {const r=function(e,t){const n=Hd[t];if(n)return n;let r=Ya(t);if("filter"!==r&&r in e)return Hd[t]=r;r=ei(r);for(let o=0;o<Vd.length;o++){const n=Vd[o]+r;if(n in e)return Hd[t]=n}return t}(e,t);Nd.test(n)?e.setProperty(Xa(r),n.replace(Nd,""),"important"):e[r]=n;}}const Vd=["Webkit","Moz","ms"],Hd={};const Ud="http://www.w3.org/1999/xlink";function qd(e,t,n,r){e.addEventListener(t,n,r);}const Wd=Symbol("_vei");function Kd(e,t,n,r,o=null){const a=e[Wd]||(e[Wd]={}),i=a[t];if(r&&i)i.value=r;else {const[n,l]=function(e){let t;if(Gd.test(e)){let n;for(t={};n=e.match(Gd);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0;}const n=":"===e[2]?e.slice(3):Xa(e.slice(2));return [n,t]}(t);if(r){const i=a[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();es(function(e,t){if(La(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0;},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e]);};return n.value=e,n.attached=Yd(),n}(r,o);qd(e,n,i,l);}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r);}(e,n,i,l),a[t]=void 0);}}const Gd=/(?:Once|Passive|Capture)$/;let Zd=0;const Jd=Promise.resolve(),Yd=()=>Zd||(Jd.then((()=>Zd=0)),Zd=Date.now());const Qd=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;const Xd=e=>{const t=e.props["onUpdate:modelValue"]||!1;return La(t)?e=>ri(t,e):t},ep=Symbol("_assign"),tp={deep:!0,created(e,t,n){e[ep]=Xd(n),qd(e,"change",(()=>{const t=e._modelValue,n=function(e){return "_value"in e?e._value:e.value}(e),r=e.checked,o=e[ep];if(La(t)){const e=vi(t,n),a=-1!==e;if(r&&!a)o(t.concat(n));else if(!r&&a){const n=[...t];n.splice(e,1),o(n);}}else if(Fa(t)){const e=new Set(t);r?e.add(n):e.delete(n),o(e);}else o(rp(e,r));}));},mounted:np,beforeUpdate(e,t,n){e[ep]=Xd(n),np(e,t,n);}};function np(e,{value:t,oldValue:n},r){e._modelValue=t,La(t)?e.checked=vi(t,r.props.value)>-1:Fa(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=bi(t,rp(e,!0)));}function rp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const op=["ctrl","shift","alt","meta"],ap={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>op.some((n=>e[`${n}Key`]&&!t.includes(n)))},ip=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=ap[t[e]];if(r&&r(n,t))return}return e(n,...r)})},lp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},sp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=Xa(n.key);return t.some((e=>e===r||lp[e]===r))?e(n):void 0})},cp=Oa({patchProp:(e,t,n,r,o,a,i,l,s)=>{const c="svg"===o;"class"===t?function(e,t,n){const r=e[kd];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t;}(e,r,c):"style"===t?function(e,t,n){const r=e.style,o=Ba(n),a=r.display;let i=!1;if(n&&!o){if(t&&!Ba(t))for(const e in t)null==n[e]&&Dd(r,e,"");for(const e in n)"display"===e&&(i=!0),Dd(r,e,n[e]);}else if(o){if(t!==n){const e=r[Pd];e&&(n+=";"+e),r.cssText=n,i=Bd.test(n);}}else t&&e.removeAttribute("style");Id in e&&(e[Id]=i?r.display:"",r.display=a);}(e,n,r):ja(t)?$a(t)||Kd(e,t,0,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return "innerHTML"===t||"textContent"===t||!!(t in e&&Qd(t)&&Pa(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return !1;if("form"===t)return !1;if("list"===t&&"INPUT"===e.tagName)return !1;if("type"===t&&"TEXTAREA"===e.tagName)return !1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return !1}if(Qd(t)&&Ba(n))return !1;return t in e}(e,t,r,c))?function(e,t,n,r,o,a,i){if("innerHTML"===t||"textContent"===t)return r&&i(r,o,a),void(e[t]=null==n?"":n);const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){e._value=n;const r=null==n?"":n;return ("OPTION"===l?e.getAttribute("value"):e.value)!==r&&(e.value=r),void(null==n&&e.removeAttribute(t))}let s=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=mi(n):null==n&&"string"===r?(n="",s=!0):"number"===r&&(n=0,s=!0);}try{e[t]=n;}catch(c){}s&&e.removeAttribute(t);}(e,t,r,a,i,l,s):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),function(e,t,n,r,o){if(r&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(Ud,t.slice(6,t.length)):e.setAttributeNS(Ud,t,n);else {const r=gi(t);null==n||r&&!mi(n)?e.removeAttribute(t):e.setAttribute(t,r?"":n);}}(e,t,r,c));}},_d);let up;function dp(){return up||(up=fu(cp))}const pp=(...e)=>{dp().render(...e);},fp=(...e)=>{const t=dp().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){if(Ba(e)){return document.querySelector(e)}return e}(e);if(!r)return;const o=t._component;Pa(o)||o.render||o.template||(o.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,function(e){if(e instanceof SVGElement)return "svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return "mathml"}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};const hp=rc({__name:"user-button",props:{isAnchor:{type:Boolean},shadowBorder:{type:Boolean},unsetBackground:{type:Boolean},themeStyle:{type:Boolean},noBorder:{type:[Boolean,String]}},setup(e){const t=e;return (e,n)=>(zu(),Fu(Ls(e.isAnchor?"a":"button"),{class:hi(["user-button",{"shadow-border":t.shadowBorder,"unset-background":t.unsetBackground,"theme-style":t.themeStyle,"no-border":t.noBorder,"no-border-all":"all"===t.noBorder}]),type:"button"},{default:As((()=>[wc(e.$slots,"default")])),_:3},8,["class"]))}}),gp=(e=>(Cs("data-v-db54e64e"),e=e(),Es(),e))((()=>Vu("span",null,"|",-1))),mp={class:"toast-controls"},bp=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},vp=bp(rc({__name:"toast",props:{message:{},duration:{default:6e3},icon:{},type:{},blurEffect:{type:Boolean}},setup(e){const t=e,n=Hl();function r(){if(t.icon)return t.icon;if(t.type)switch(t.type){case"basic":default:return;case"check":return "check";case"warning":return "warning";case"error":return "error"}}return (e,o)=>(zu(),Iu("div",{ref_key:"toastContainer",ref:n,class:hi(["toast-container",{"blur-effect":t.blurEffect}])},[r()?(zu(),Iu("div",{key:0,class:hi(["toast-icon icon",t.type])},_i(r()),3)):Wu("",!0),Vu("div",{class:hi(["toast-content",t.type])},_i(t.message),3),gp,Vu("div",mp,[Hu(hp,{class:"close-button icon","shadow-border":!0,onClick:Kl(Cp)},{default:As((()=>[qu("close")])),_:1},8,["onClick"])])],2))}}),[["__scopeId","data-v-db54e64e"]]);class _p{constructor(e){__publicField(this,"items",[]),e&&(this.items=e);}peek(){return this.items[0]?this.items[0]:void 0}length(){return this.items.length}enqueue(...e){this.items.push(...e);}dequeue(){return this.items.shift()}isEmpty(){return 0===this.items.length}clear(){this.items=[];}}let yp,xp=!1;const kp=new _p;function wp(e){kp.enqueue([{blurEffect:"performance"===pf.get(),...e},-1]);const t=setInterval((()=>{if(!xp){const e=kp.peek();e&&Sp(e[0]),clearInterval(t);}}),100);}function Sp(e){xp=!0,yp=fp(vp,e),document.getElementById("t-wrapper")||document.body.insertBefore(Bp("div",{id:"t-wrapper"}),document.body.firstChild);const t=yp.mount("#t-wrapper"),n=kp.peek();if(n)return n[1]=setTimeout((()=>{yp.unmount(),kp.dequeue(),xp=!1;}),e.duration?e.duration:6e3),t}function Cp(){yp.unmount();const e=kp.peek();e&&clearTimeout(e[1]),kp.dequeue(),xp=!1;const t=kp.peek();t&&setTimeout((()=>{Sp(t[0]);}),10);}async function Ep(e){try{const t=await e;if(t.ok)return await t.json()}catch(t){wp({message:$p(t),type:"error",duration:6e3});}}const Ap=[];function jp(){return Ap}function $p(e){const t=e.stack?e.stack:e.message;return `${_a.script.name} ${_a.script.version}\n${t}`}function Op(e=0,t=0,n=0,r=0,o=0,a=0){const i=new Date;return new Date(i.getFullYear()+e,i.getMonth()+t,i.getDate()+n,i.getHours()+r,i.getMinutes()+o,i.getSeconds()+a,0).getTime()}function zp(e){let t="";return Po(e,((e,n)=>{e||(e=""),t+=`${n}=${e}&`;})),t.slice(0,-1)}function Tp(e,t=1/0){return new Promise(((n,r)=>{const o=performance.now();let a=-1;a=requestAnimationFrame((function i(){e()?(cancelAnimationFrame(a),n()):performance.now()-o>=t?(cancelAnimationFrame(a),r(new Error("等待超时")),console.warn("[waitUntil] 等待超时,该函数未在指定时间内得到期望值:",e),console.trace("发生错误的调用者:"),"developer-only"===_a.script.version&&alert(`等待超时,该函数未在指定时间内得到期望值:${e}`)):a=requestAnimationFrame(i);}));}))}function Mp(e){return e&&"object"==typeof e&&!Array.isArray(e)}async function Lp(e="text"){return new Promise(((t,n)=>{const r=document.createElement("input");r.type="file",r.addEventListener("change",(function(){if(!r.files)return;const o=r.files[0],a=new FileReader;switch(a.addEventListener("loadend",(function(){const e=a.result;t(e);})),a.addEventListener("error",(function(){n(new Error);})),e){case"text":a.readAsText(o);break;case"base64":a.readAsDataURL(o);}})),r.click();}))}const Ip=[],Fp="fade-in-elem";function Rp(...e){const t=!0===e[0],n=t?e[1]:e[0];switch(e.length){case 1:return document.querySelectorAll(n);case 2:return t?document.querySelector(n):e[1]instanceof Element?e[1].querySelectorAll(n):document.querySelectorAll(n);case 3:return t?e[2]instanceof Element?e[2].querySelector(n):document.querySelector(n):e[2].querySelectorAll(n);case 4:return e[3].querySelector(n)}}function Pp(e){e();}function Bp(e,t,n=[],r){const o=(r||document).createElement(e);return t&&function(e,t){Po(t,((n,r)=>{n!==e.getAttribute(r)&&(Mp(n)?e.setAttribute(r,JSON.stringify(t[r])):e.setAttribute(r,t[r]));}));}(o,t),"string"==typeof n?o.appendChild(document.createTextNode(n)):Ao(n,(e=>{"string"==typeof e?o.appendChild(document.createTextNode(e)):o.appendChild(e);})),o}function Np(e,t,n="className"){const r=(()=>{switch(n){case"selector":{const e=new Set(Rp(t));return t=>e.has(t)}case"className":return e=>e.classList.contains(t)??!1;case"id":return e=>e.id===t;case"tagName":return e=>e.tagName.toLowerCase()===t.toLowerCase()}})();for(;e.parentElement&&!r(e.parentElement);)e=e.parentElement;return e.parentElement}function Dp(e){Rp(e).forEach((e=>{e.classList.add(Fp),e.addEventListener("animationend",(()=>{e.style.opacity="1",e.classList.remove(Fp);}));}));}class Vp{constructor(e,t,n){__publicField(this,"selector"),__publicField(this,"options"),__publicField(this,"initEvent"),__publicField(this,"events",[]),this.selector=e,this.options=t,this.initEvent=n;}observe(){const e=()=>{this.events.forEach((e=>{e();}));};void 0===this.initEvent?e():window.addEventListener(this.initEvent,e);const t=new MutationObserver(e),n=Rp(this.selector)[0];void 0!==n&&t.observe(n,this.options);}addEvent(...e){Ao(e,(e=>{this.events.includes(e)||(void 0===this.initEvent?e():window.addEventListener(this.initEvent,e),this.events.push(e));}));}}const Hp=new Vp("#j_p_postlist",{childList:!0}),Up=new Vp("#j_p_postlist",{childList:!0,subtree:!0}),qp=new Vp("#new_list",{childList:!0}),Wp=new Vp("#pagelet_frs-list\\/pagelet\\/thread",{attributes:!0},"load");function Kp(){Ao(document.documentElement.attributes,(e=>{da(e.name,"perf-")&&document.documentElement.removeAttribute(e.name);})),document.documentElement.toggleAttribute({default:"perf-default",saver:"perf-saver",performance:"perf-performance"}[pf.get()]);}const Gp=document.createElement("style");function Zp(e){return Ro(e,((e,t)=>[`${t} {`,...Ro(e,((e,t)=>`${da(t,"--")?t:Yo(t)}: ${e};`)),"}",""])).join("\n")}function Jp(e){let t="";return Po(e,((e,n)=>{t+=`${Yo(n)}:${e};`;})),t}function Yp(e){const t=document.createElement("style");return t.textContent=e,Pp((()=>{document.head.appendChild(t);})),t}function Qp(e,t){if(""===e)return;if(0===t.length)return;if(!Gp.sheet)return;const n=`${e}{${Jp(t)}}`;return Gp.sheet.insertRule(n)}function Xp(e){const t=da(e,"#")?ga(e,"#"):e,n=t.length<=4?e=>parseInt(ia(e[0],2),16):e=>parseInt(Zo(e,""),16),r=function(e,t,n){t=(n?Te(e,t,n):void 0===t)?1:Un(B(t),0);var r=null==e?0:e.length;if(!r||t<1)return [];for(var o=0,a=0,i=Array(Hn(r/t));o<r;)i[a++]=Kt(e,o,o+=t);return i}(t,t.length<=4?1:2);return {r:n(r[0]),g:n(r[1]),b:n(r[2]),a:4===r.length?n(r[3]):1}}function ef(e){const t=e.r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),a=Math.max(t,n,r),i=(a+o)/2;let l,s;return l=i<=.5?(a-o)/(a+o):(a-o)/(2-a-o),s=a===o?0:a===t?(n-r)/(a-o):a===n?2+(r-t)/(a-o):4+(t-n)/(a-o),s*=60,s<0&&(s+=360),{h:la(s,2),s:`${la(100*l)}%`,l:`${la(100*i)}%`,a:e.a}}Gp.id="default-stylesheet",Pp((()=>{document.head.appendChild(Gp);}));const tf=matchMedia("(prefers-color-scheme: dark)"),nf={customBackground:()=>{var e;return zo(Array.from((null==(e=Gp.sheet)?void 0:e.cssRules)??{length:0}),(e=>"body.custom-background"===e.selectorText))}};async function rf(){Pp((function(){var e;-1!==nf.customBackground()&&(e=nf.customBackground(),Gp.sheet&&Gp.sheet.deleteRule(e)),Qp("body.custom-background",{backgroundImage:`url('${wf.get()}') !important`,backgroundRepeat:"no-repeat !important",backgroundAttachment:"fixed !important",backgroundSize:"cover !important"}),Tp((()=>null!==document.body)).then((function(){wf.get()?document.body.classList.add("custom-background"):document.body.classList.remove("custom-background");}));}));}const of="HacksawBlade",af="Tieba-Remix",lf=`https://github.com/${of}/${af}`,sf=`https://gitee.com/${of}/${af}`,cf="https://passport.baidu.com/";class uf{constructor(e,t,n){__publicField(this,"key"),__publicField(this,"defaultValue"),__publicField(this,"listeners"),this.key=e,this.defaultValue=t,this.listeners={getter:(null==n?void 0:n.getter)?[n.getter]:[],setter:(null==n?void 0:n.setter)?[n.setter]:[]};}dispatchEvent(e,t){Ao(this.listeners[e],(e=>e(t)));}get(){let e=va(this.key,this.defaultValue);return Mp(e)&&ot(e).length<ot(this.defaultValue).length&&(e=Qo(this.defaultValue,e)),this.dispatchEvent("getter",e),e}set(e){ka(this.key,e),this.dispatchEvent("setter",e);}remove(){ba(this.key);}merge(e){if(Mp(e)){const t={...this.get(),...e};this.set(t),this.dispatchEvent("setter",t);}}mergeDeeply(e){if(Mp(e)){const t=Qo(this.get(),e);this.set(t),this.dispatchEvent("setter",t);}}}class df extends uf{constructor(e,t,n,r){super(e,t,r),__publicField(this,"defaultInvalid",(()=>Op(0,0,0,12))),this.defaultInvalid=n||this.defaultInvalid;}get(){let e=function(e,t){try{const n=va(e,{value:t,invalidTime:0}),r=Date.now();return n.invalidTime>=r?n.value:t}catch(n){return t}}(this.key,this.defaultValue);return Mp(e)&&ot(e).length<ot(this.defaultValue).length&&(e=Qo(this.defaultValue,e)),this.dispatchEvent("getter",e),e}set(e,t){!function(e,t,n){try{ka(e,n?{value:t,invalidTime:n}:t);}catch(r){console.warn("setUserValueTS",r);}}(this.key,e,t||this.defaultInvalid()),this.dispatchEvent("setter",e);}merge(e,t){if(Mp(e)){const n={...this.get(),...e};this.set(n,t||this.defaultInvalid()),this.dispatchEvent("setter",n);}}mergeDeeply(e,t){if(Mp(e)){const n=Qo(this.get(),e);this.set(n,t||this.defaultInvalid()),this.dispatchEvent("setter",n);}}}const pf=new uf("perfProfile","performance",{setter(){Kp();}}),ff=new uf("disabledModules",[]),hf=new df("unreadFeeds",[]);new uf("experimental",{});const gf=new df("latestRelease",null),mf=new uf("updateConfig",{time:"6h",notify:!0}),bf=new df("showUpdateToday",!0,(()=>(new Date).setHours(0,0,0,0)+864e5)),vf=new uf("ignoredTag",""),_f=new uf("themeType","auto",{setter(e){yh(e);}}),yf=new uf("compactLayout",!1),xf=new uf("wideScreen",{maxWidth:1080,noLimit:!1}),kf=new uf("themeColor",{light:"#614ec2",dark:"#7161c1"}),wf=new uf("customBackground",null,{setter(){rf();}}),Sf=new uf("pageExtension",{index:!0,thread:!0}),Cf=new uf("userFonts",[]),Ef=new uf("monospaceFonts",["Consolas","JetBrains Mono","Fira Code","Menlo","monospace"]);const Af=bp(rc({__name:"dialog-wrapper",props:{dialog:{},childProps:{},blurEffect:{type:Boolean,default:"performance"===pf.get()},forced:{type:Boolean,default:!1},darker:{type:Boolean,default:!0}},emits:["RequestClose"],setup(e,{emit:t}){const n=e,r=t,o=fp(n.dialog,n.childProps);function a(e){Ho(e.target.classList,"dialog-toggle")&&(n.forced||(r("RequestClose"),o.unmount(),Lf()));}return fc((()=>{o.mount(".dialog-wrapper");})),(e,t)=>(zu(),Iu("div",{class:hi(["dialog-wrapper dialog-toggle",{"blur-effect":n.blurEffect,darker:n.darker}]),onClick:a},null,2))}}),[["__scopeId","data-v-c7a62753"]]);let jf;const $f=new _p;function Of(e,t,n){const r=fp(e,n);return {app:r,instance:r.mount(t)}}const zf=Xo((function(){const e=Bp("div");var t;t={width:"100px",height:"100px",overflow:"scroll",position:"absolute",top:"-9999px"},lt(e.style,t),document.body.appendChild(e);const n=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),n}));function Tf(e,t){0===document.getElementsByTagName("body").length&&document.documentElement.appendChild(Bp("body")),Ao(document.head.children,(e=>{e&&"LINK"===e.tagName.toUpperCase()&&Ho(e.getAttribute("href"),"static-common/style")&&e.remove(),e&&"SCRIPT"===e.tagName.toUpperCase()&&Ho(e.getAttribute("src"),"static-common/lib")&&e.remove();})),Ao(document.body.children,(e=>{e&&"STYLE"===e.tagName.toUpperCase()&&e.remove(),e&&"SCRIPT"===e.tagName.toUpperCase()&&e.remove(),e&&"IFRAME"===e.tagName.toUpperCase()&&e.remove(),e&&Ho(e.className,"translatorExtension")&&e.remove(),e&&Ho(e.className,"dialogJ")&&e.remove();}));const n=Bp("div",{id:"remixed-page"});return document.body.insertBefore(n,document.body.firstChild),document.body.appendChild(Bp("div",{id:"carousel_wrap"})),Qp("#spage-tbshare-container, .tbui_aside_float_bar",{display:"none !important"}),Of(e,n,t)}async function Mf(e,t,n){const r=document.getElementById("dialog-wrapper");if(r||document.body.insertBefore(Bp("div",{id:"dialog-wrapper"}),document.body.firstChild),document.body.setAttribute("no-scrollbar",""),document.body.style.paddingRight=`${zf()}px`,null==r?void 0:r.hasChildNodes())return $f.enqueue([e,t,n]),new Promise((e=>{const t=$f.peek(),n=setInterval((()=>{$f.peek()!==t&&(clearInterval(n),e(""));}));}));jf=fp(Af,{dialog:e,childProps:t,...n});return jf.mount("#dialog-wrapper")}function Lf(){document.body.removeAttribute("no-scrollbar"),document.body.style.paddingRight="",jf&&jf.unmount();const e=$f.dequeue();e&&Mf(e[0],e[1],e[2]);}const If={class:"message-box remove-default"},Ff={key:0,class:"title"},Rf={key:0,class:"message-controls"},Pf={key:1,class:"message-controls"},Bf=bp(rc({__name:"message-box",props:{title:{},message:{},type:{default:"basic"},embedded:{type:Boolean},buttons:{}},emits:["positive","cancel","negative"],setup(e,{emit:t}){const n=e,r=Hl(),o=Hl(),a=t;function i(e){a(e,e),Nf=e,Lf();}return fc((function(){n.embedded&&o.value&&n.message&&(o.value.innerHTML=n.message);})),(e,t)=>(zu(),Iu("div",If,[Vu("div",{ref_key:"messageWrapper",ref:r,class:"message-wrapper"},[n.title?(zu(),Iu("div",Ff,_i(n.title),1)):Wu("",!0),n.message?(zu(),Iu("div",{key:1,ref_key:"messageContent",ref:o,class:"message markdown"},_i(n.message),513)):Wu("",!0),wc(e.$slots,"default",{},void 0,!0)],512),n.buttons&&0!==n.buttons.length?(zu(),Iu("div",Pf,[(zu(!0),Iu(Cu,null,kc(n.buttons,((e,t)=>(zu(),Fu(hp,{class:"message-button","shadow-border":"","theme-style":0==t,onClick:t=>((0, e.event)(),void i("positive"))},{default:As((()=>[qu(_i(e.title),1)])),_:2},1032,["theme-style","onClick"])))),256))])):(zu(),Iu("div",Rf,[Hu(hp,{class:"message-button","shadow-border":!0,"theme-style":!0,onClick:t[0]||(t[0]=e=>i("positive"))},{default:As((()=>[qu(" 确定")])),_:1}),"OkCancel"===n.type?(zu(),Fu(hp,{key:0,class:"message-button","shadow-border":!0,onClick:t[1]||(t[1]=e=>i("cancel"))},{default:As((()=>[qu("取消")])),_:1})):Wu("",!0),"forceTrueFalse"===n.type?(zu(),Fu(hp,{key:1,class:"message-button","shadow-border":!0,onClick:t[2]||(t[2]=e=>i("cancel"))},{default:As((()=>[qu("拒绝")])),_:1})):Wu("",!0)]))]))}}),[["__scopeId","data-v-8df9d0bc"]]);let Nf;function Df(e){return Mf(Bf,{message:e.message,title:e.title,type:e.type,embedded:e.embedded,buttons:e.buttons},{forced:"forceTrueFalse"===e.type}),new Promise((e=>{const t=setInterval((()=>{const n=function(){const e=Nf;return Nf=void 0,e}();n&&(clearInterval(t),e(n));}),10);}))}function Vf(){return {async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Hf={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function Uf(e){Hf=e;}const qf=/[&<>"']/,Wf=new RegExp(qf.source,"g"),Kf=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,Gf=new RegExp(Kf.source,"g"),Zf={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Jf=e=>Zf[e];function Yf(e,t){if(t){if(qf.test(e))return e.replace(Wf,Jf)}else if(Kf.test(e))return e.replace(Gf,Jf);return e}const Qf=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi;const Xf=/(^|[^\[])\^/g;function eh(e,t){e="string"==typeof e?e:e.source,t=t||"";const n={replace:(t,r)=>(r=(r="object"==typeof r&&"source"in r?r.source:r).replace(Xf,"$1"),e=e.replace(t,r),n),getRegex:()=>new RegExp(e,t)};return n}function th(e){try{e=encodeURI(e).replace(/%25/g,"%");}catch(t){return null}return e}const nh={exec:()=>null};function rh(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,o=t;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function oh(e,t,n){const r=e.length;if(0===r)return "";let o=0;for(;o<r;){const a=e.charAt(r-o-1);if(a!==t||n){if(a===t||!n)break;o++;}else o++;}return e.slice(0,r-o)}function ah(e,t,n,r){const o=t.href,a=t.title?Yf(t.title):null,i=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:o,title:a,text:i,tokens:r.inlineTokens(i)};return r.state.inLink=!1,e}return {type:"image",raw:n,href:o,title:a,text:Yf(i)}}class ih{constructor(e){__publicField(this,"options"),__publicField(this,"rules"),__publicField(this,"lexer"),this.options=e||Hf;}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return {type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^ {1,4}/gm,"");return {type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:oh(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return {type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline._escapes,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=oh(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim());}return {type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return {type:"hr",raw:t[0]}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){const e=oh(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),n=this.lexer.state.top;this.lexer.state.top=!0;const r=this.lexer.blockTokens(e);return this.lexer.state.top=n,{type:"blockquote",raw:t[0],tokens:r,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,o={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");const a=new RegExp(`^( {0,3}${n})((?:[\t ][^\\n]*)?(?:\\n|$))`);let i="",l="",s=!1;for(;e;){let n=!1;if(!(t=a.exec(e)))break;if(this.rules.block.hr.test(e))break;i=t[0],e=e.substring(i.length);let r=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),c=e.split("\n",1)[0],u=0;this.options.pedantic?(u=2,l=r.trimStart()):(u=t[2].search(/[^ ]/),u=u>4?1:u,l=r.slice(u),u+=t[1].length);let d=!1;if(!r&&/^ *$/.test(c)&&(i+=c+"\n",e=e.substring(c.length+1),n=!0),!n){const t=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),n=new RegExp(`^ {0,${Math.min(3,u-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),o=new RegExp(`^ {0,${Math.min(3,u-1)}}(?:\`\`\`|~~~)`),a=new RegExp(`^ {0,${Math.min(3,u-1)}}#`);for(;e;){const s=e.split("\n",1)[0];if(c=s,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g,"  ")),o.test(c))break;if(a.test(c))break;if(t.test(c))break;if(n.test(e))break;if(c.search(/[^ ]/)>=u||!c.trim())l+="\n"+c.slice(u);else {if(d)break;if(r.search(/[^ ]/)>=4)break;if(o.test(r))break;if(a.test(r))break;if(n.test(r))break;l+="\n"+c;}d||c.trim()||(d=!0),i+=s+"\n",e=e.substring(s.length+1),r=c.slice(u);}}o.loose||(s?o.loose=!0:/\n *\n *$/.test(i)&&(s=!0));let p,f=null;this.options.gfm&&(f=/^\[[ xX]\] /.exec(l),f&&(p="[ ] "!==f[0],l=l.replace(/^\[[ xX]\] +/,""))),o.items.push({type:"list_item",raw:i,task:!!f,checked:p,loose:!1,text:l,tokens:[]}),o.raw+=i;}o.items[o.items.length-1].raw=i.trimEnd(),o.items[o.items.length-1].text=l.trimEnd(),o.raw=o.raw.trimEnd();for(let e=0;e<o.items.length;e++)if(this.lexer.state.top=!1,o.items[e].tokens=this.lexer.blockTokens(o.items[e].text,[]),!o.loose){const t=o.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));o.loose=n;}if(o.loose)for(let e=0;e<o.items.length;e++)o.items[e].loose=!0;return o}}html(e){const t=this.rules.block.html.exec(e);if(t){return {type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline._escapes,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline._escapes,"$1"):t[3];return {type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(t){if(!/[:|]/.test(t[2]))return;const e={type:"table",raw:t[0],header:rh(t[1]).map((e=>({text:e,tokens:[]}))),align:t[2].replace(/^\||\| *$/g,"").split("|"),rows:t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[]};if(e.header.length===e.align.length){let t,n,r,o,a=e.align.length;for(t=0;t<a;t++){const n=e.align[t];n&&(/^ *-+: *$/.test(n)?e.align[t]="right":/^ *:-+: *$/.test(n)?e.align[t]="center":/^ *:-+ *$/.test(n)?e.align[t]="left":e.align[t]=null);}for(a=e.rows.length,t=0;t<a;t++)e.rows[t]=rh(e.rows[t],e.header.length).map((e=>({text:e,tokens:[]})));for(a=e.header.length,n=0;n<a;n++)e.header[n].tokens=this.lexer.inline(e.header[n].text);for(a=e.rows.length,n=0;n<a;n++)for(o=e.rows[n],r=0;r<o.length;r++)o[r].tokens=this.lexer.inline(o[r].text);return e}}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return {type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return {type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return {type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return {type:"escape",raw:t[0],text:Yf(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return !this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=oh(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else {const e=function(e,t){if(-1===e.indexOf(t[1]))return -1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return -1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]="";}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3]);}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),ah(t,{href:n?n.replace(this.rules.inline._escapes,"$1"):n,title:r?r.replace(this.rules.inline._escapes,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=(n[2]||n[1]).replace(/\s+/g," ");if(e=t[e.toLowerCase()],!e){const e=n[0].charAt(0);return {type:"text",raw:e,text:e}}return ah(n,e,n[0],this.lexer)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrong.lDelim.exec(e);if(!r)return;if(r[3]&&n.match(/[\p{L}\p{N}]/u))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let o,a,i=n,l=0;const s="*"===r[0][0]?this.rules.inline.emStrong.rDelimAst:this.rules.inline.emStrong.rDelimUnd;for(s.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=s.exec(t));){if(o=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!o)continue;if(a=[...o].length,r[3]||r[4]){i+=a;continue}if((r[5]||r[6])&&n%3&&!((n+a)%3)){l+=a;continue}if(i-=a,i>0)continue;a=Math.min(a,a+i+l);const t=[...r[0]][0].length,s=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){const e=s.slice(1,-1);return {type:"em",raw:s,text:e,tokens:this.lexer.inlineTokens(e)}}const c=s.slice(2,-2);return {type:"strong",raw:s,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=Yf(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return {type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return {type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return "@"===t[2]?(e=Yf(t[1]),n="mailto:"+e):(e=Yf(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])e=Yf(t[0]),n="mailto:"+e;else {let r;do{r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])[0];}while(r!==t[0]);e=Yf(t[0]),n="www."===t[1]?"http://"+t[0]:t[0];}return {type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:Yf(t[0]),{type:"text",raw:t[0],text:e}}}}const lh={newline:/^(?: *(?:\n|$))+/,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,hr:/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/,html:"^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))",def:/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/,table:nh,lheading:/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,_paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\.|[^\[\]\\])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};lh.def=eh(lh.def).replace("label",lh._label).replace("title",lh._title).getRegex(),lh.bullet=/(?:[*+-]|\d{1,9}[.)])/,lh.listItemStart=eh(/^( *)(bull) */).replace("bull",lh.bullet).getRegex(),lh.list=eh(lh.list).replace(/bull/g,lh.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+lh.def.source+")").getRegex(),lh._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",lh._comment=/<!--(?!-?>)[\s\S]*?(?:-->|$)/,lh.html=eh(lh.html,"i").replace("comment",lh._comment).replace("tag",lh._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),lh.lheading=eh(lh.lheading).replace(/bull/g,lh.bullet).getRegex(),lh.paragraph=eh(lh._paragraph).replace("hr",lh.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lh._tag).getRegex(),lh.blockquote=eh(lh.blockquote).replace("paragraph",lh.paragraph).getRegex(),lh.normal={...lh},lh.gfm={...lh.normal,table:"^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)"},lh.gfm.table=eh(lh.gfm.table).replace("hr",lh.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lh._tag).getRegex(),lh.gfm.paragraph=eh(lh._paragraph).replace("hr",lh.hr).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",lh.gfm.table).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lh._tag).getRegex(),lh.pedantic={...lh.normal,html:eh("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",lh._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:nh,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:eh(lh.normal._paragraph).replace("hr",lh.hr).replace("heading"," *#{1,6} *[^\n]").replace("lheading",lh.lheading).replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").getRegex()};const sh={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:nh,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(ref)\]/,nolink:/^!?\[(ref)\](?:\[\])?/,reflinkSearch:"reflink|nolink(?!\\()",emStrong:{lDelim:/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,rDelimAst:/^[^_*]*?__[^_*]*?\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\*)[punct](\*+)(?=[\s]|$)|[^punct\s](\*+)(?!\*)(?=[punct\s]|$)|(?!\*)[punct\s](\*+)(?=[^punct\s])|[\s](\*+)(?!\*)(?=[punct])|(?!\*)[punct](\*+)(?!\*)(?=[punct])|[^punct\s](\*+)(?=[^punct\s])/,rDelimUnd:/^[^_*]*?\*\*[^_*]*?_[^_*]*?(?=\*\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\s]|$)|[^punct\s](_+)(?!_)(?=[punct\s]|$)|(?!_)[punct\s](_+)(?=[^punct\s])|[\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])/},code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:nh,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,punctuation:/^((?![*_])[\spunctuation])/,_punctuation:"\\p{P}$+<=>`^|~"};sh.punctuation=eh(sh.punctuation,"u").replace(/punctuation/g,sh._punctuation).getRegex(),sh.blockSkip=/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,sh.anyPunctuation=/\\[punct]/g,sh._escapes=/\\([punct])/g,sh._comment=eh(lh._comment).replace("(?:--\x3e|$)","--\x3e").getRegex(),sh.emStrong.lDelim=eh(sh.emStrong.lDelim,"u").replace(/punct/g,sh._punctuation).getRegex(),sh.emStrong.rDelimAst=eh(sh.emStrong.rDelimAst,"gu").replace(/punct/g,sh._punctuation).getRegex(),sh.emStrong.rDelimUnd=eh(sh.emStrong.rDelimUnd,"gu").replace(/punct/g,sh._punctuation).getRegex(),sh.anyPunctuation=eh(sh.anyPunctuation,"gu").replace(/punct/g,sh._punctuation).getRegex(),sh._escapes=eh(sh._escapes,"gu").replace(/punct/g,sh._punctuation).getRegex(),sh._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,sh._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,sh.autolink=eh(sh.autolink).replace("scheme",sh._scheme).replace("email",sh._email).getRegex(),sh._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,sh.tag=eh(sh.tag).replace("comment",sh._comment).replace("attribute",sh._attribute).getRegex(),sh._label=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,sh._href=/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/,sh._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,sh.link=eh(sh.link).replace("label",sh._label).replace("href",sh._href).replace("title",sh._title).getRegex(),sh.reflink=eh(sh.reflink).replace("label",sh._label).replace("ref",lh._label).getRegex(),sh.nolink=eh(sh.nolink).replace("ref",lh._label).getRegex(),sh.reflinkSearch=eh(sh.reflinkSearch,"g").replace("reflink",sh.reflink).replace("nolink",sh.nolink).getRegex(),sh.normal={...sh},sh.pedantic={...sh.normal,strong:{start:/^__|\*\*/,middle:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,endAst:/\*\*(?!\*)/g,endUnd:/__(?!_)/g},em:{start:/^_|\*/,middle:/^()\*(?=\S)([\s\S]*?\S)\*(?!\*)|^_(?=\S)([\s\S]*?\S)_(?!_)/,endAst:/\*(?!\*)/g,endUnd:/_(?!_)/g},link:eh(/^!?\[(label)\]\((.*?)\)/).replace("label",sh._label).getRegex(),reflink:eh(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",sh._label).getRegex()},sh.gfm={...sh.normal,escape:eh(sh.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},sh.gfm.url=eh(sh.gfm.url,"i").replace("email",sh.gfm._extended_email).getRegex(),sh.breaks={...sh.gfm,br:eh(sh.br).replace("{2,}","*").getRegex(),text:eh(sh.gfm.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()};class ch{constructor(e){__publicField(this,"tokens"),__publicField(this,"options"),__publicField(this,"state"),__publicField(this,"tokenizer"),__publicField(this,"inlineQueue"),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||Hf,this.options.tokenizer=this.options.tokenizer||new ih,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:lh.normal,inline:sh.normal};this.options.pedantic?(t.block=lh.pedantic,t.inline=sh.pedantic):this.options.gfm&&(t.block=lh.gfm,this.options.breaks?t.inline=sh.breaks:t.inline=sh.gfm),this.tokenizer.rules=t;}static get rules(){return {block:lh,inline:sh}}static lex(e,t){return new ch(t).lex(e)}static lexInline(e,t){return new ch(t).inlineTokens(e)}lex(e){let t;for(e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);t=this.inlineQueue.shift();)this.inlineTokens(t.src,t.tokens);return this.tokens}blockTokens(e,t=[]){let n,r,o,a;for(e=this.options.pedantic?e.replace(/\t/g,"    ").replace(/^ +$/gm,""):e.replace(/^( *)(\t+)/gm,((e,t,n)=>t+"    ".repeat(n.length)));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.space(e))e=e.substring(n.raw.length),1===n.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(n);else if(n=this.tokenizer.code(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?t.push(n):(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.fences(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.heading(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.hr(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.blockquote(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.list(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.html(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.def(e))e=e.substring(n.raw.length),r=t[t.length-1],!r||"paragraph"!==r.type&&"text"!==r.type?this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title}):(r.raw+="\n"+n.raw,r.text+="\n"+n.raw,this.inlineQueue[this.inlineQueue.length-1].src=r.text);else if(n=this.tokenizer.table(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.lheading(e))e=e.substring(n.raw.length),t.push(n);else {if(o=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startBlock.forEach((e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r));})),t<1/0&&t>=0&&(o=e.substring(0,t+1));}if(this.state.top&&(n=this.tokenizer.paragraph(o)))r=t[t.length-1],a&&"paragraph"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n),a=o.length!==e.length,e=e.substring(n.raw.length);else if(n=this.tokenizer.text(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===r.type?(r.raw+="\n"+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=r.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r,o,a,i,l,s=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(a=this.tokenizer.rules.inline.reflinkSearch.exec(s));)e.includes(a[0].slice(a[0].lastIndexOf("[")+1,-1))&&(s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex));}for(;null!=(a=this.tokenizer.rules.inline.blockSkip.exec(s));)s=s.slice(0,a.index)+"["+"a".repeat(a[0].length-2)+"]"+s.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(a=this.tokenizer.rules.inline.anyPunctuation.exec(s));)s=s.slice(0,a.index)+"++"+s.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(i||(l=""),i=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))))if(n=this.tokenizer.escape(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.tag(e))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.link(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(n.raw.length),r=t[t.length-1],r&&"text"===n.type&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(n=this.tokenizer.emStrong(e,s,l))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.codespan(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.br(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.del(e))e=e.substring(n.raw.length),t.push(n);else if(n=this.tokenizer.autolink(e))e=e.substring(n.raw.length),t.push(n);else if(this.state.inLink||!(n=this.tokenizer.url(e))){if(o=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let r;this.options.extensions.startInline.forEach((e=>{r=e.call({lexer:this},n),"number"==typeof r&&r>=0&&(t=Math.min(t,r));})),t<1/0&&t>=0&&(o=e.substring(0,t+1));}if(n=this.tokenizer.inlineText(o))e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(l=n.raw.slice(-1)),i=!0,r=t[t.length-1],r&&"text"===r.type?(r.raw+=n.raw,r.text+=n.text):t.push(n);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(n.raw.length),t.push(n);return t}}class uh{constructor(e){__publicField(this,"options"),this.options=e||Hf;}code(e,t,n){var r;const o=null==(r=(t||"").match(/^\S*/))?void 0:r[0];return e=e.replace(/\n$/,"")+"\n",o?'<pre><code class="language-'+Yf(o)+'">'+(n?e:Yf(e,!0))+"</code></pre>\n":"<pre><code>"+(n?e:Yf(e,!0))+"</code></pre>\n"}blockquote(e){return `<blockquote>\n${e}</blockquote>\n`}html(e,t){return e}heading(e,t,n){return `<h${t}>${e}</h${t}>\n`}hr(){return "<hr>\n"}list(e,t,n){const r=t?"ol":"ul";return "<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"}listitem(e,t,n){return `<li>${e}</li>\n`}checkbox(e){return "<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){return `<p>${e}</p>\n`}table(e,t){return t&&(t=`<tbody>${t}</tbody>`),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"}tablerow(e){return `<tr>\n${e}</tr>\n`}tablecell(e,t){const n=t.header?"th":"td";return (t.align?`<${n} align="${t.align}">`:`<${n}>`)+e+`</${n}>\n`}strong(e){return `<strong>${e}</strong>`}em(e){return `<em>${e}</em>`}codespan(e){return `<code>${e}</code>`}br(){return "<br>"}del(e){return `<del>${e}</del>`}link(e,t,n){const r=th(e);if(null===r)return n;let o='<a href="'+(e=r)+'"';return t&&(o+=' title="'+t+'"'),o+=">"+n+"</a>",o}image(e,t,n){const r=th(e);if(null===r)return n;let o=`<img src="${e=r}" alt="${n}"`;return t&&(o+=` title="${t}"`),o+=">",o}text(e){return e}}class dh{strong(e){return e}em(e){return e}codespan(e){return e}del(e){return e}html(e){return e}text(e){return e}link(e,t,n){return ""+n}image(e,t,n){return ""+n}br(){return ""}}class ph{constructor(e){__publicField(this,"options"),__publicField(this,"renderer"),__publicField(this,"textRenderer"),this.options=e||Hf,this.options.renderer=this.options.renderer||new uh,this.renderer=this.options.renderer,this.renderer.options=this.options,this.textRenderer=new dh;}static parse(e,t){return new ph(t).parse(e)}static parseInline(e,t){return new ph(t).parseInline(e)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){const o=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const e=o,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}switch(o.type){case"space":continue;case"hr":n+=this.renderer.hr();continue;case"heading":{const e=o;n+=this.renderer.heading(this.parseInline(e.tokens),e.depth,this.parseInline(e.tokens,this.textRenderer).replace(Qf,((e,t)=>"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):"")));continue}case"code":{const e=o;n+=this.renderer.code(e.text,e.lang,!!e.escaped);continue}case"table":{const e=o;let t="",r="";for(let n=0;n<e.header.length;n++)r+=this.renderer.tablecell(this.parseInline(e.header[n].tokens),{header:!0,align:e.align[n]});t+=this.renderer.tablerow(r);let a="";for(let n=0;n<e.rows.length;n++){const t=e.rows[n];r="";for(let n=0;n<t.length;n++)r+=this.renderer.tablecell(this.parseInline(t[n].tokens),{header:!1,align:e.align[n]});a+=this.renderer.tablerow(r);}n+=this.renderer.table(t,a);continue}case"blockquote":{const e=o,t=this.parse(e.tokens);n+=this.renderer.blockquote(t);continue}case"list":{const e=o,t=e.ordered,r=e.start,a=e.loose;let i="";for(let n=0;n<e.items.length;n++){const t=e.items[n],r=t.checked,o=t.task;let l="";if(t.task){const e=this.renderer.checkbox(!!r);a?t.tokens.length>0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):l+=e+" ";}l+=this.parse(t.tokens,a),i+=this.renderer.listitem(l,o,!!r);}n+=this.renderer.list(i,t,r);continue}case"html":{const e=o;n+=this.renderer.html(e.text,e.block);continue}case"paragraph":{const e=o;n+=this.renderer.paragraph(this.parseInline(e.tokens));continue}case"text":{let a=o,i=a.tokens?this.parseInline(a.tokens):a.text;for(;r+1<e.length&&"text"===e[r+1].type;)a=e[++r],i+="\n"+(a.tokens?this.parseInline(a.tokens):a.text);n+=t?this.renderer.paragraph(i):i;continue}default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const o=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[o.type]){const e=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){n+=e||"";continue}}switch(o.type){case"escape":{const e=o;n+=t.text(e.text);break}case"html":{const e=o;n+=t.html(e.text);break}case"link":{const e=o;n+=t.link(e.href,e.title,this.parseInline(e.tokens,t));break}case"image":{const e=o;n+=t.image(e.href,e.title,e.text);break}case"strong":{const e=o;n+=t.strong(this.parseInline(e.tokens,t));break}case"em":{const e=o;n+=t.em(this.parseInline(e.tokens,t));break}case"codespan":{const e=o;n+=t.codespan(e.text);break}case"br":n+=t.br();break;case"del":{const e=o;n+=t.del(this.parseInline(e.tokens,t));break}case"text":{const e=o;n+=t.text(e.text);break}default:{const e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class fh{constructor(e){__publicField(this,"options"),this.options=e||Hf;}preprocess(e){return e}postprocess(e){return e}}__publicField(fh,"passThroughHooks",new Set(["preprocess","postprocess"]));e=new WeakSet,t=function(e,t){return (o,a)=>{const i={...a},l={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(l.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),l.async=!0);const s=__privateMethod(this,n,r).call(this,!!l.silent,!!l.async);if(null==o)return s(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof o)return s(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));if(l.hooks&&(l.hooks.options=l),l.async)return Promise.resolve(l.hooks?l.hooks.preprocess(o):o).then((t=>e(t,l))).then((e=>l.walkTokens?Promise.all(this.walkTokens(e,l.walkTokens)).then((()=>e)):e)).then((e=>t(e,l))).then((e=>l.hooks?l.hooks.postprocess(e):e)).catch(s);try{l.hooks&&(o=l.hooks.preprocess(o));const n=e(o,l);l.walkTokens&&this.walkTokens(n,l.walkTokens);let r=t(n,l);return l.hooks&&(r=l.hooks.postprocess(r)),r}catch(c){return s(c)}}},n=new WeakSet,r=function(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+Yf(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}};const hh=new class{constructor(...r){__privateAdd(this,e),__privateAdd(this,n),__publicField(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),__publicField(this,"options",this.setOptions),__publicField(this,"parse",__privateMethod(this,e,t).call(this,ch.lex,ph.parse)),__publicField(this,"parseInline",__privateMethod(this,e,t).call(this,ch.lexInline,ph.parseInline)),__publicField(this,"Parser",ph),__publicField(this,"Renderer",uh),__publicField(this,"TextRenderer",dh),__publicField(this,"Lexer",ch),__publicField(this,"Tokenizer",ih),__publicField(this,"Hooks",fh),this.use(...r);}walkTokens(e,t){var n,r;let o=[];for(const a of e)switch(o=o.concat(t.call(this,a)),a.type){case"table":{const e=a;for(const n of e.header)o=o.concat(this.walkTokens(n.tokens,t));for(const n of e.rows)for(const e of n)o=o.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=a;o=o.concat(this.walkTokens(e.items,t));break}default:{const e=a;(null==(r=null==(n=this.defaults.extensions)?void 0:n.childTokens)?void 0:r[e.type])?this.defaults.extensions.childTokens[e.type].forEach((n=>{o=o.concat(this.walkTokens(e[n],t));})):e.tokens&&(o=o.concat(this.walkTokens(e.tokens,t)));}}return o}use(...e){const t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach((e=>{const n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach((e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){const n=t.renderers[e.name];t.renderers[e.name]=n?function(...t){let r=e.renderer.apply(this,t);return !1===r&&(r=n.apply(this,t)),r}:e.renderer;}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");const n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]));}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens);})),n.extensions=t),e.renderer){const t=this.defaults.renderer||new uh(this.defaults);for(const n in e.renderer){const r=e.renderer[n],o=n,a=t[o];t[o]=(...e)=>{let n=r.apply(t,e);return !1===n&&(n=a.apply(t,e)),n||""};}n.renderer=t;}if(e.tokenizer){const t=this.defaults.tokenizer||new ih(this.defaults);for(const n in e.tokenizer){const r=e.tokenizer[n],o=n,a=t[o];t[o]=(...e)=>{let n=r.apply(t,e);return !1===n&&(n=a.apply(t,e)),n};}n.tokenizer=t;}if(e.hooks){const t=this.defaults.hooks||new fh;for(const n in e.hooks){const r=e.hooks[n],o=n,a=t[o];fh.passThroughHooks.has(n)?t[o]=e=>{if(this.defaults.async)return Promise.resolve(r.call(t,e)).then((e=>a.call(t,e)));const n=r.call(t,e);return a.call(t,n)}:t[o]=(...e)=>{let n=r.apply(t,e);return !1===n&&(n=a.apply(t,e)),n};}n.hooks=t;}if(e.walkTokens){const t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n};}this.defaults={...this.defaults,...n};})),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return ch.lex(e,t??this.defaults)}parser(e,t){return ph.parse(e,t??this.defaults)}};function gh(e,t){return hh.parse(e,t)}function mh(){if("tieba.baidu.com"!==location.hostname.toLowerCase())return "unhandled";const e=location.pathname.toLocaleLowerCase();return Ho(["/","/index.html"],e)?"index":/\/p\/\d+/.test(e)?"thread":"/f"===e?"forum":"/home/main"===e?"user":"unhandled"}async function bh(e=!1){if(gf.get()&&!e)return gf.get();{const e=function(){switch(mf.get().time){case"1h":return 1;case"3h":return 3;case"6h":return 6;case"never":return -1}}();if(e<0)return null;const t=`https://gitee.com/api/v5/repos/${of}/${af}/releases/latest/`,n=await fetch(t);if(n.ok){const t=await n.json();return t.message?null:(gf.set(t,Op(0,0,0,e)),t)}return null}}function vh(e=!1){"never"!==mf.get().time&&mf.get().notify&&bf.get()&&"developer-only"!==_a.script.version&&bh().then((t=>{if(t&&t.tag_name.slice(1)!==_a.script.version){if(vf.get()===t.tag_name)return;Df({title:t.name,message:gh(t.body),embedded:!0,type:"OkCancel",buttons:[{title:"安装",event(){!function(e){function t(){wp({message:"安装失败:未找到可用的资源",type:"error",duration:6e3,blurEffect:!0});}if(!e.assets||e.assets.length<=0)return void t();const n=function(){for(const t of e.assets)if(t.name&&t.name.endsWith(".user.js"))return t.browser_download_url}();if(!n)return void t();xa(n,{active:!0});}(t);}},{title:"今日不再提醒",event(){bf.set(!1);}},{title:"跳过该版本",event(){vf.set(t.tag_name);}}]});}else e&&Df({title:"检查更新",message:"当前已是最新版本",type:"OkCancel"});}));}function _h(e){return `${sf}/raw/beta/${e}`}function yh(e){switch(e){case"dark":n();break;case"light":t();break;default:tf.matches?n():t();}function t(){document.documentElement.classList.add("light-theme"),document.documentElement.classList.remove("dark-theme"),document.documentElement.classList.remove("dark");}function n(){document.documentElement.classList.add("dark-theme"),document.documentElement.classList.remove("light-theme"),document.documentElement.classList.add("dark");}}function xh(){const e=["unreadFeeds","latestRelease","showUpdateToday"],t=(n=ya(),r=t=>!Ho(e,t),(x(n)?Jn:jo)(n,io(r)));var n,r;const o=Io(t,(e=>va(e))),a=function(e,t,n){for(var r=-1,o=e.length,a=t.length,i={};++r<o;){var l=r<a?t[r]:void 0;n(i,e[r],l);}return i}(t||[],o||[],Ce);!function(e,t){const n=new Blob([t],{type:"text/plain"}),r=URL.createObjectURL(n),o=document.createElement("a");o.href=r,o.download=e,o.click(),URL.revokeObjectURL(r);}(`tieba-remix-backup@${(new Date).getTime()}.json`,JSON.stringify(a));}gh.options=gh.setOptions=function(e){return hh.setOptions(e),gh.defaults=hh.defaults,Uf(gh.defaults),gh},gh.getDefaults=Vf,gh.defaults=Hf,gh.use=function(...e){return hh.use(...e),gh.defaults=hh.defaults,Uf(gh.defaults),gh},gh.walkTokens=function(e,t){return hh.walkTokens(e,t)},gh.parseInline=hh.parseInline,gh.Parser=ph,gh.parser=ph.parse,gh.Renderer=uh,gh.TextRenderer=dh,gh.Lexer=ch,gh.lexer=ch.lex,gh.Tokenizer=ih,gh.Hooks=fh,gh.parse=gh,gh.options,gh.setOptions,gh.use,gh.walkTokens,gh.parseInline,ph.parse,ch.lex,gh.setOptions({});const kh={feedlist:()=>fetch(`/f/index/feedlist?${zp({is_new:1,tag_id:"like"})}`),URL_profile:e=>`https://gss0.baidu.com/7Ls0a8Sm2Q5IlBGlnYG/sys/portrait/item/${e}`,userInfo:e=>fetch(`/f/user/json_userinfo?${zp({_:e})}`),URL_userHome:e=>`/home/main?id=${e}&fr=index`,suggestions:(e,t="UTF-8",n)=>fetch(`/suggestion?${zp({query:e,ie:t,_:n})}`),topicList:()=>fetch("/hottopic/browse/topicList"),URL_forum:(e,t="utf-8")=>`/f?ie=${t}&kw=${e}`,unreadMessages:e=>fetch(`/im/pcmsg/query/getAllUnread?${zp({_:e})}`),favUpdateNum:()=>fetch("/sysmsg/userpost/queryStoreUpdateNum"),tbs:()=>fetch("/dc/common/tbs"),imgtbs:()=>fetch("/dc/common/imgtbs"),followedForums:()=>fetch("/mo/q/newmoindex"),userInfoAll:(e,t="UTF-8")=>fetch(`/home/get/panel?${zp({ie:t,un:e})}`),followForum:(e,t,n)=>fetch(`/mo/q/favolike?${zp({itb_tbs:e,fid:t,kw:n})}`),unfollowForum:(e,t)=>fetch(`/mo/q/delmylike?${zp({itb_tbs:e,forum_name:t})}`),getUserFromUID:e=>fetch(`/im/pcmsg/query/getUserInfo?${zp({chatUid:e})}`),oneKeySign:()=>fetch("/tbmall/onekeySignin1"),hotFeeds:(e,t,n="utf-8",r)=>fetch(`/mo/q/newmoindex?${zp({un:e,pn:t,ie:n,_:r})}`),totalComments:(e,t,n,r,o=!1)=>fetch(`/p/totalComment?${zp({t:e,tid:t,fid:n,pn:r,see_lz:Number(o)})}`),topicRelatedThreads:(e,t,n,r,o=1)=>fetch(`/hottopic/browse/getTopicRelateThread?${zp({topic_name:e,page_no:t,last_id:n,topic_id:r,sort_type:o})}`),addFavoritePost:(e,t,n,r="utf-8")=>fetch("/i/submit/open_storethread",{method:"POST",body:JSON.stringify({tbs:e,tid:t,fid:n,encoding:r})}),forumSignInfo:(e,t="utf-8")=>fetch(`/sign/info?${zp({kw:e,ie:t})}`),forumLoadMonth:(e,t="utf-8")=>fetch(`/sign/loadmonth?${zp({kw:e,ie:t})}`),addFloor:(e,t,n,r,o,a,i,l="comment",s="reply")=>fetch("/f/commit/post/add",{method:"POST",body:JSON.stringify({ie:"utf-8",kw:t,fid:n,tid:r,floor_num:a,rich_text:Number(i),tbs:e,content:o,basilisk:1,nick_name:PageData.user.user_nickname,ev:l,"biz[po]":PageData.user.portrait.split("?")[0],__type__:s,geetest_success:0})})};function wh(e,t){const n=[],r=(new DOMParser).parseFromString(e,"text/html").getElementsByClassName("j_feed_li");return Ao(r,(e=>{if(e.classList.contains("home-place-item"))return;const r=function(e){const t=Rp(".title-tag-wraper a","a",e)[0],n=e.getElementsByClassName("thread-name-wraper")[0],r=n.getElementsByTagName("a")[0],o=Rp(".list-post-num em",n)[0],a=Rp("img:not(.nicknameEmoji)","img",e),i=e.getElementsByClassName("n_reply")[0].getElementsByTagName("a")[0],l=[];return a.length>0&&Ao(a,(e=>{l.push({thumb:e.src,original:vo(e.getAttribute("original"),"")});})),{id:vo(e.getAttribute("data-thread-id"),""),forum:{id:vo(e.getAttribute("data-forum-id"),""),name:t.title,href:t.href},author:{portrait:ua(i.href,/(\?id=)|&/)[2],name:Sh(i.innerHTML),href:i.href},time:vo(e.getElementsByClassName("time")[0].textContent,""),title:r.title,content:vo(e.getElementsByClassName("n_txt")[0].textContent,""),replies:vo(o.getAttribute("data-num"),0),images:l}}(e);t&&t(r),n.push(r);})),n}function Sh(e){const t=new RegExp("(?<=nickemoji\\/).*?(?=.png)","gi");if(!e.match(t))return e;const n=["º","◎","▫","◆","♤","♀","♂","ლ","♬","☞","☜","✆","☎","♋","Ω","℃","℉","😄","😍","😘","😚","😜","😳","😁","😞","😢","😂","😫","😨","😱","😡","😷","😲","😈","🐷","🐶","🐑","🐵","🐨","🐴","🐼","🐯","🍪","🍺","🍦","🍭","🍗","🍼","🔯","🍒","👀","🐭","😇","😺","😻","🙀","😿","😹","😾","👹","👺","🌞","🌝","🌚","🌜","🌛","👦","👧","🎎","🌸","🍀","🌹","🌻","🌺","🍁","🌿","🍄","🌵","🌴","🌳","🌰","🌱","🌼","🌐","🌙","🌋","🌌","⛅","⚡","☔","⛄","🌀","🌈","🌊","🔥","✨","🌟","💥","💫","💢","💦","💧","💤","💨","🎀","🌂","💄","💕","💖","💞","💘","💌","💋","💝","🎒","🎓","🎏","🎃","👻","🎅","🎄","🎁","🙈","🐒","💯","👯","💍"],r=["1-1.png","1-2.png","1-4.png","1-5.png","1-6.png","1-7.png","1-8.png","1-9.png","1-10.png","1-11.png","1-12.png","1-13.png","1-14.png","1-15.png","1-16.png","1-17.png","1-18.png","1-19.png","1-20.png","1-21.png","1-22.png","1-23.png","1-24.png","1-25.png","1-26.png","1-27.png","1-28.png","1-29.png","1-30.png","1-31.png","1-32.png","1-33.png","1-34.png","1-35.png","2-1.png","2-2.png","2-3.png","2-4.png","2-5.png","2-6.png","2-7.png","2-8.png","2-9.png","2-10.png","2-11.png","2-12.png","2-13.png","2-14.png","2-15.png","2-16.png","2-17.png","2-18.png","2-19.png","2-20.png","2-21.png","2-22.png","2-23.png","2-24.png","2-25.png","2-26.png","2-27.png","2-28.png","2-29.png","2-30.png","2-31.png","2-32.png","2-33.png","2-34.png","2-35.png","3-1.png","3-2.png","3-3.png","3-4.png","3-5.png","3-6.png","3-7.png","3-8.png","3-9.png","3-10.png","3-11.png","3-12.png","3-13.png","3-14.png","3-15.png","3-16.png","3-17.png","3-18.png","3-19.png","3-20.png","3-21.png","3-22.png","3-23.png","3-24.png","3-25.png","3-26.png","3-27.png","3-28.png","3-29.png","3-30.png","3-31.png","3-32.png","3-33.png","3-34.png","3-35.png","4-1.png","4-2.png","4-3.png","4-4.png","4-5.png","4-6.png","4-7.png","4-8.png","4-9.png","4-10.png","4-11.png","4-12.png","4-13.png","4-14.png","4-15.png","4-16.png","4-17.png","4-18.png","4-19.png","4-20.png","4-21.png","4-22.png","4-23.png"],o=e.match(t);return null==o||o.forEach((t=>{const o=n[r.indexOf(`${t}.png`)],a=ua(e,RegExp(`<img[^>]*?${t}.png(?:[^>]*?)*>`,"g"));e=Zo(a,decodeURIComponent(o));})),e}function Ch(e){if(!(e<0))return e>=1&&e<=3?"green":e>=4&&e<=9?"blue":e>=9&&e<=15?"yellow":e>=16?"orange":void 0}const Eh={class:"block-panel blur-if-custom-background"};const Ah=bp({},[["render",function(e,t){return zu(),Iu("div",Eh,[wc(e.$slots,"default")])}]]);
  /**
     * Flex Masonry
     * @author @HacksawBlade
     * @version 1.1
     * @license MIT
     */class jh{constructor(e){__publicField(this,"container"),__publicField(this,"items"),__publicField(this,"columnContainers",[]),__publicField(this,"columnWidth"),__publicField(this,"gap"),__publicField(this,"options"),__publicField(this,"containerSelector"),__publicField(this,"itemsSelector"),__publicField(this,"columnSelector",".masonry-column"),__publicField(this,"columnsHeight",[]),__publicField(this,"fragment"),__publicField(this,"_columns"),e=function(e){return e.gap=e.gap||0,e.autoExec=void 0===e.autoExec||e.autoExec,e.fixScrollOffset=void 0!==e.fixScrollOffset&&e.fixScrollOffset,e}(e),this.container=(()=>{if("string"==typeof e.container){this.containerSelector=e.container;const t=document.querySelector(e.container);if(t)return t;throw new Error("Can't find container element.")}return e.container})(),e.items?this.items=(()=>{if("string"==typeof e.items){this.itemsSelector=e.items;const t=document.querySelectorAll(e.items);return t?Array.from(t):[]}return e.items})().map((e=>(e.style.visibility="hidden",{element:e,cachedHeight:e.clientHeight}))):this.items=[],this.columnWidth=e.columnWidth,e.gap?Array.isArray(e.gap)?this.gap=e.gap:this.gap=[e.gap,e.gap]:this.gap=[0,0],this._columns=0,this.options=e,this.initStyle(),e.autoExec&&this.exec();}initStyle(){this.container.style.display="flex",this.container.style.alignItems="flex-start",this.container.style.justifyContent="center",this.container.style.gap=`${this.gap[0]}px`;}get columns(){return this._columns}exec(){this.calcColumns();const e=window.scrollY;this.calc(),this.layout(),this.options.fixScrollOffset&&window.scrollTo(0,e);}adjustWidth(){const e=this.container.querySelectorAll(this.columnSelector),t=(this.container.clientWidth-this.gap[0]*(this._columns-1))/this._columns;e.forEach((e=>{e.style.width=`${t}px`;}));}calc(){this.columnsHeight=Array(this.calcColumns()).fill(0);const e=document.createDocumentFragment();this.container.querySelectorAll(this.columnSelector).forEach((e=>{e.remove();})),this.columnContainers.length=0;for(let t=0;t<this._columns;t++)this.columnContainers.push(e.appendChild($h("div",{class:this.columnSelector.substring(1),style:`width: ${(this.container.clientWidth-this.gap[0]*(this._columns-1))/this._columns}px;`})));this.columnContainers.forEach((e=>{e.style.display="flex",e.style.flexDirection="column",e.style.gap=`${this.gap[1]}px`;})),this.items.forEach((e=>{this._appendElement(e);})),this.fragment=e;}layout(){if(!this.fragment)throw Error("Never conducted layout calculations before. You should use exec() or calc() first.");this.container.appendChild(this.fragment);}removeUnusedColumns(){this.container.querySelectorAll(this.columnSelector).forEach((e=>{0===e.children.length&&e.remove();}));}clear(){this.items.length=0,this.columnsHeight=Array(this.calcColumns()).fill(0);}calcColumns(){return this._columns=Math.ceil((this.container.clientWidth-this.columnWidth)/(this.columnWidth+this.gap[0])),this._columns}appendElement(...e){const t=e.map((e=>({element:e,cachedHeight:e.clientHeight})));this._appendElement(...t),this.items.push(...t);}_appendElement(...e){e.forEach((e=>{const t=this.columnsHeight.indexOf(Math.min(...this.columnsHeight));this.columnsHeight[t]+=e.cachedHeight,this.columnContainers[t].appendChild(e.element),e.element.style.visibility="visible";0!==this.columnContainers[t].clientHeight&&(this.columnsHeight[t]=this.columnContainers[t].clientHeight);}));}append(e,t){const n=(()=>{if(e){if("string"==typeof e){const t=document.querySelectorAll(e);return Array.from(t)}return e}if(this.itemsSelector){const e=Array.from(document.querySelectorAll(this.itemsSelector)),t=e.length-this.items.length;if(t>0){return e.slice(-t)}}})();n&&(!t||t<=0?n.forEach((e=>{this.appendElement(e);})):n.forEach(((e,n)=>{setTimeout((()=>{this.appendElement(e);}),t*n);})));}refreshContainer(){if(this.containerSelector){const e=document.querySelector(this.containerSelector);e&&(this.container=e);}}}function $h(e,t){const n=document.createElement(e);for(const r in t)n.setAttribute(r,t[r]);return n}class Oh{constructor(e){__publicField(this,"id",null),__publicField(this,"callback"),__publicField(this,"thenfn",(()=>{})),__publicField(this,"stopCondition"),this.callback=e??(()=>{}),this.stopCondition=()=>!1,this.id=requestAnimationFrame(this.tick.bind(this));}tick(){this.stopCondition()?this.cancel():(this.callback(),this.id=requestAnimationFrame(this.tick.bind(this)));}cancel(){null!==this.id&&(cancelAnimationFrame(this.id),this.id=null),this.thenfn();}until(e){return this.stopCondition=e,this}then(e){this.thenfn=e;}}const zh=bp(rc({__name:"header-progress",props:{calc:{type:Function}},setup(e){const t=e,n=Hl(),r=Hl(0);function o(){r.value=t.calc();}return fc((function(){n.value&&new Oh(o).until((()=>r.value>=100));})),(e,t)=>(zu(),Iu("div",{ref_key:"headerProgress",ref:n,id:"header-progress",class:hi({complete:r.value>=100}),style:ci(`width: ${r.value}vw;`)},null,6))}}),[["__scopeId","data-v-bedddce2"]]),Th=e=>(Cs("data-v-79fe5854"),e=e(),Es(),e),Mh={class:"image-container dialog-toggle"},Lh=["src"],Ih={class:"control-panel head-controls"},Fh={class:"zoom-size"},Rh=Th((()=>Vu("span",null,"|",-1))),Ph=Th((()=>Vu("span",null,"|",-1))),Bh={class:"control-panel bottom-controls"},Nh=["src","onClick"],Dh=bp(rc({__name:"images-viewer",props:{content:{},defaultIndex:{default:0}},emits:["RequestClose"],setup(e,{emit:t}){const n=e,r=[];"string"==typeof n.content?r.push(n.content):Array.isArray(n.content)?r.push(...n.content):Io(n.content.images,(e=>{r.push(e.original);}));const o=t,a=Hl(),i=Hl(),l=Hl(n.defaultIndex),s=Hl(1),c=Hl(0);function u(){o("RequestClose"),Lf();}function d(e){l.value=e,s.value=1,c.value=0,h();}function p(){l.value>0&&d(--l.value);}function f(){l.value<r.length-1&&d(++l.value);}function h(){i.value&&(i.value.style.transform=`scale(${s.value}) rotate(${c.value}deg)`);}function g(e){s.value+=e,s.value<.2?s.value=.2:!(s.value>4)||(s.value=4),h();}function m(e){c.value+=e,c.value%360||(c.value=0),h();}function b(e){e.preventDefault(),g(-e.deltaY/1e3);}return fc((()=>{var e;let t=0,n=0;function r(e){i.value&&(i.value.style.left=e.clientX-t+"px",i.value.style.top=e.clientY-n+"px");}null==(e=i.value)||e.addEventListener("mousedown",(e=>{i.value&&(e.preventDefault(),t=e.clientX-i.value.offsetLeft,n=e.clientY-i.value.offsetTop,document.addEventListener("mousemove",r));})),document.addEventListener("mouseup",(e=>{e.preventDefault(),document.removeEventListener("mousemove",r);}));})),(e,t)=>(zu(),Iu("div",{ref_key:"imageViewer",ref:a,class:"images-viewer dialog-toggle",onWheel:b},[Vu("div",Mh,[Vu("img",{ref_key:"currImage",ref:i,class:"curr-image",src:r[l.value],alt:""},null,8,Lh)]),Vu("div",Ih,[Hu(hp,{class:"zoom-in head-btn icon",title:"缩小",onClick:t[0]||(t[0]=e=>g(.5))},{default:As((()=>[qu(" zoom_in ")])),_:1}),Hu(hp,{class:"zoom-out head-btn icon",title:"放大",onClick:t[1]||(t[1]=e=>g(-.5))},{default:As((()=>[qu(" zoom_out ")])),_:1}),Vu("span",Fh,_i(Kl(la)(100*s.value)+"%"),1),Rh,Hu(hp,{class:"turn-left head-btn icon",title:"逆时针旋转",onClick:t[2]||(t[2]=e=>m(-90))},{default:As((()=>[qu(" undo ")])),_:1}),Hu(hp,{class:"turn-right head-btn icon",title:"顺时针旋转",onClick:t[3]||(t[3]=e=>m(90))},{default:As((()=>[qu(" redo ")])),_:1}),Ph,Hu(hp,{class:"close head-btn icon",title:"关闭",onClick:u},{default:As((()=>[qu(" close ")])),_:1})]),r.length>1?(zu(),Fu(hp,{key:0,class:"control-panel back icon",title:"上一张",onClick:p},{default:As((()=>[qu(" chevron_left ")])),_:1})):Wu("",!0),r.length>1?(zu(),Fu(hp,{key:1,class:"control-panel forward icon",title:"下一张",onClick:f},{default:As((()=>[qu(" chevron_right ")])),_:1})):Wu("",!0),Vu("div",Bh,[(zu(),Iu(Cu,null,kc(r,((e,t)=>Hu(hp,{class:hi(["bottom-btn",{selected:t===l.value}]),"no-border":"all"},{default:As((()=>[Vu("img",{class:"image-list",src:e,alt:"",onClick:e=>d(t)},null,8,Nh)])),_:2},1032,["class"]))),64))])],544))}}),[["__scopeId","data-v-79fe5854"]]);function Vh(...e){return e[0]instanceof HTMLElement?function(e,t,n){const r=e.getBoundingClientRect();return Hh(r.width,r.height,t,n)}(e[0],e[1],e[2]):"number"==typeof e[0]&&"number"==typeof e[1]?Hh(e[0],e[1],e[2],e[3]):{x:0,y:0}}function Hh(e,t,n,r){const o=(()=>{switch(r){case"baseline":return 0;case"middle":return e/2}})(),a=Math.min(n.x-o,window.innerWidth-zf()-Math.ceil(e));n.y;return {x:a,y:Math.ceil(n.y+t)>window.innerHeight?n.y-t:n.y}}function Uh(e,t){const n=Hu(e);return pp(n,t),{el:t.firstChild,vnode:n}}function qh(e,t,n){const r=Bp("div"),o=Uh(e,t.appendChild(r));return Ao(r.children,(e=>{t.insertBefore(e,n);})),r.remove(),o}function Wh(e,t){const n=Bp("div"),r=Uh(e,t.appendChild(n));return Ao(n.children,(e=>{t.appendChild(e);})),n.remove(),r}const Kh={class:"main-content"},Gh={class:"title"},Zh={key:0,class:"content"},Jh={key:0,class:"img-container"},Yh=["src"],Qh={class:"bottom-controls"},Xh=["src"],eg={class:"author-info"},tg={class:"author-name"},ng={class:"post-time"},rg={class:"replies"},og=bp(rc({__name:"post-container",props:{post:{},lazyLoad:{type:Boolean,default:!1},dynamic:{type:Boolean,default:!1}},emits:["clickImage","assetsLoaded"],setup(e,{emit:t}){const n=e,r=t,o=Hl(),a=Hl(!n.lazyLoad),i=Hl(0);function l(){i.value+=1,i.value===n.post.images.length&&r("assetsLoaded",o.value);}return fc((()=>{if(!o.value)return;if(0===n.post.images.length&&r("assetsLoaded",o.value),!n.lazyLoad)return;const e=new IntersectionObserver((t=>{t.forEach((t=>{t.isIntersecting&&(a.value=!0,e.disconnect());}));}));e.observe(o.value.$el);})),(e,t)=>(zu(),Fu(hp,{ref_key:"postContainer",ref:o,"is-anchor":!0,class:hi(["post-container",{dynamic:n.dynamic,"assets-loaded":i.value===n.post.images.length}]),href:"/p/"+n.post.id,target:"_blank"},{default:As((()=>[Vu("div",null,[Hu(hp,{"is-anchor":!0,class:"forum-btn","shadow-border":!0,href:n.post.forum.href,target:"_blank"},{default:As((()=>[qu(_i(n.post.forum.name+" 吧"),1)])),_:1},8,["href"])]),Vu("div",Kh,[Vu("p",Gh,_i(n.post.title),1),n.post.content&&" "!==n.post.content?(zu(),Iu("p",Zh,_i(n.post.content),1)):Wu("",!0)]),n.post.images.length>0?(zu(),Iu("div",Jh,[(zu(!0),Iu(Cu,null,kc(n.post.images,((e,t)=>(zu(),Fu(hp,{class:"img-button",onClick:e=>function(e,t){e.preventDefault(),r("clickImage",(()=>{const e=[];return Io(n.post.images,(t=>{e.push(t.original);})),e})(),t);}(e,t),"no-border":"all"},{default:As((()=>[Vu("img",{class:"post-img",src:a.value?e.original:"",onLoad:l},null,40,Yh)])),_:2},1032,["onClick"])))),256))])):Wu("",!0),Vu("div",Qh,[Hu(hp,{class:"author","is-anchor":!0,href:n.post.author.href,target:"_blank","shadow-border":!0},{default:As((()=>[Vu("img",{class:"author-portrait",src:a.value?Kl(kh).URL_profile(n.post.author.portrait):""},null,8,Xh),Vu("div",eg,[Vu("div",tg,_i(n.post.author.name),1),Vu("div",ng,_i(n.post.time),1)])])),_:1},8,["href"]),Vu("div",rg,_i(n.post.replies),1)])])),_:1},8,["href","class"]))}}),[["__scopeId","data-v-b160e8b2"]]),ag=bp(rc({__name:"feeds-masonry",props:{initFeeds:{default:Array},showProgress:{type:Boolean,default:!1}},setup(e,{expose:t}){const n=e,r=Hl([]),o=Hl(),a=Hl(),i=Hl(!0);let l=[],s=!1;const c=bo((async function(e){e||(e=[]);if(s)return;if(s=!0,e.length<=0){const t=await Ep(kh.feedlist());t&&(e=wh(t.data.html),i.value=Boolean(t.data.has_more),n.showProgress&&function(e,t=2e3,n=1e4){const r=qh(Hu(zh,{calc:e.calc},null),document.body,document.body.firstChild),o=setTimeout((()=>{r.el.remove();}),n);Tp((()=>"100vw"===r.el.style.width),n).then((function(){setTimeout((()=>{r.el.remove(),clearTimeout(o);}),t);}));}({calc:()=>l.length/t.data.total*100}));}r.value.push(...e),await Tp((()=>l.length>=e.length)),d().then((function(){hf.set(e||[],Op(0,0,0,2)),l.length=0,s=!1;}));}),1e3,{leading:!0});let u;async function d(){await ds((()=>{a.value&&(u?u.append(".masonry-wrapper > .post-elem.assets-loaded",60):u=new jh({container:a.value,columnWidth:320,gap:12,fixScrollOffset:!0}));}));}function p(e){l.push(e.$el);}function f(e,t){!function(e){Mf(Dh,e,{blurEffect:!1});}({content:e,defaultIndex:t});}function h(){s||(r.value.length=0,u.clear(),c());}return window.addEventListener("resize",fa((function(){u.adjustWidth(),u.columns!==u.calcColumns()&&u.exec();}),100),{passive:!0}),fc((()=>{o.value&&a.value&&(c(n.initFeeds),d(),window.addEventListener("scroll",(()=>{if(s)return;const e=document.documentElement.scrollHeight;(document.documentElement.scrollTop||document.body.scrollTop)+document.documentElement.clientHeight>=e-320&&r.value.length<1e3&&c();})));})),Bs(i,(e=>{e||wp({message:"没有更多推送了",type:"warning"});})),t({feeds:r,isFetchingFeeds:s,refresh:h,refreshAndMove:function(){var e;window.scrollTo({top:null==(e=a.value)?void 0:e.offsetTop,behavior:"smooth"}),h();}}),(e,t)=>(zu(),Iu("div",{ref_key:"masonryWrapper",ref:o,class:"masonry-wrapper"},[Vu("div",{ref_key:"masonryContainer",ref:a,class:"masonry-container"},null,512),(zu(!0),Iu(Cu,null,kc(r.value,(e=>(zu(),Fu(og,{key:e.id,post:e,class:"post-elem",dynamic:"","shadow-border":"",onClickImage:f,onAssetsLoaded:p},null,8,["post"])))),128))],512))}}),[["__scopeId","data-v-387db5e3"]]),ig={class:"about-wrapper"},lg={class:"main-title"},sg=["src"],cg={class:"title"},ug={class:"script-info"},dg={class:"author-info"},pg={class:"version"},fg={class:"author"},hg={class:"about-desc"},gg={class:"line"},mg={class:"about-controls"},bg=(e=>(Cs("data-v-8c03e998"),e=e(),Es(),e))((()=>Vu("div",{class:"about-desc"},null,-1))),vg=bp(rc({__name:"about.detail",emits:["changeView"],setup(e,{emit:t}){const n=_a,r=t;return (e,t)=>(zu(),Iu("div",ig,[Vu("div",lg,[Vu("img",{src:Kl(_h)("/assets/images/main/icon.png"),alt:"icon",class:"main-icon"},null,8,sg),Vu("div",cg,_i(Kl("Tieba Remix")),1)]),Vu("div",ug,[Vu("div",dg,[Vu("div",pg,_i(Kl(n).script.version),1),Vu("div",fg,"@"+_i(Kl(n).script.author),1)]),Vu("div",hg,[(zu(!0),Iu(Cu,null,kc("本开源项目使用 MIT 协议".split("\n"),(e=>(zu(),Iu("div",gg,_i(e),1)))),256))])]),Vu("div",mg,[Hu(hp,{class:"about-button github","is-anchor":!0,href:Kl(lf),"shadow-border":!0,target:"_balnk"},{default:As((()=>[qu("开放源代码 ")])),_:1},8,["href"]),Hu(hp,{class:"about-button update","shadow-border":!0,onClick:t[0]||(t[0]=e=>r("changeView","about","update"))},{default:As((()=>[qu(" 检查更新 ")])),_:1})]),bg]))}}),[["__scopeId","data-v-8c03e998"]]),_g=e=>(Cs("data-v-8906d00c"),e=e(),Es(),e),yg={key:0,class:"update-wrapper"},xg={class:"icon"},kg={class:"content"},wg={class:"title-container"},Sg={class:"title"},Cg={key:0,class:"is-pre-release"},Eg={class:"main-info"},Ag=["src"],jg={class:"owner"},$g=["innerHTML"],Og={class:"update-controls"},zg={key:1,class:"forbidden-wrapper"},Tg=[_g((()=>Vu("div",{class:"icon"},"warning",-1))),_g((()=>Vu("div",{class:"forbidden-text"},"请求过于频繁,请稍后重试",-1)))],Mg=bp(rc({__name:"about.update",setup(e){const t=Hl(),n=Hl(!1),r=Hl(),o=_a;return gh.setOptions({}),fc((async()=>{const e=await bh();e?(n.value=!1,t.value=e,r.value=`v${o.script.version}`>=t.value.tag_name):n.value=!0;})),(e,o)=>{var a,i,l,s,c,u,d,p;return n.value?(zu(),Iu("div",zg,Tg)):(zu(),Iu("div",yg,[void 0!==r.value?(zu(),Iu("div",{key:0,class:hi(["latest-info",{"is-latest":r.value}])},[Vu("div",xg,_i(r.value?"check":"warning"),1),Vu("div",kg,_i(r.value?"当前是最新版本":"检测到新版本"),1)],2)):Wu("",!0),Vu("div",wg,[Vu("div",Sg,_i(null==(a=t.value)?void 0:a.name),1),(null==(i=t.value)?void 0:i.prerelease)?(zu(),Iu("div",Cg,"预览版")):Wu("",!0)]),Vu("div",Eg,[(null==(l=t.value)?void 0:l.author.avatar_url)?(zu(),Iu("img",{key:0,src:null==(s=t.value)?void 0:s.author.avatar_url,alt:"",class:"avatar"},null,8,Ag)):Wu("",!0),Vu("div",jg,_i(null==(c=t.value)?void 0:c.author.name),1)]),Vu("div",{class:"release-body markdown",innerHTML:(null==(u=t.value)?void 0:u.body)?Kl(gh)(null==(d=t.value)?void 0:d.body):""},null,8,$g),Vu("div",Og,[Hu(hp,{class:"up-button download-button","shadow-border":"","theme-style":"","is-anchor":"",href:null==(p=t.value)?void 0:p.assets[0].browser_download_url},{default:As((()=>[qu("安装更新 ")])),_:1},8,["href"])])]))}}}),[["__scopeId","data-v-8906d00c"]]),Lg={class:"layout-custom-back"},Ig=["src"],Fg={class:"custom-back-buttons"},Rg=bp(rc({__name:"layout.custom-back",setup(e){const t=Hl(wf.get()),n=Hl("100"),r=Hl();async function o(){t.value=null;}async function a(){t.value=await Lp("base64");}return Bs(t,(e=>{wf.set(e);})),Bs(n,(e=>{var t;const o=null==(t=r.value)?void 0:t.$el;(""===e||+e<0)&&(n.value="0",o.value="0"),+e>100&&(n.value="100",o.value="100");})),fc((async function(){t.value=wf.get();})),(e,r)=>(zu(),Iu("div",Lg,[Us(Vu("img",{class:"custom-image",src:t.value??"",title:"自定义背景",alt:"自定义背景",style:ci("opacity: "+ +n.value/100)},null,12,Ig),[[Fd,t.value]]),Vu("div",Fg,[Hu(hp,{onClick:o},{default:As((()=>[qu("清除")])),_:1}),Hu(hp,{onClick:a},{default:As((()=>[qu("上传图片")])),_:1})])]))}}),[["__scopeId","data-v-3bd153eb"]]),Pg=(e,t,{checkForDefaultPrevented:n=!0}={})=>r=>{const o=null==e?void 0:e(r);if(!1===n||!o)return null==t?void 0:t(r)};var Bg;const Ng="undefined"!=typeof window,Dg=e=>"string"==typeof e,Vg=()=>{},Hg=Ng&&(null==(Bg=null==window?void 0:window.navigator)?void 0:Bg.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent);function Ug(e){return "function"==typeof e?e():Kl(e)}function qg(e){return !!Ci()&&(function(e){ki&&ki.cleanups.push(e);}(e),!0)}function Wg(e){var t;const n=Ug(e);return null!=(t=null==n?void 0:n.$el)?t:n}const Kg=Ng?window:void 0;function Gg(...e){let t,n,r,o;if(Dg(e[0])||Array.isArray(e[0])?([n,r,o]=e,t=Kg):[t,n,r,o]=e,!t)return Vg;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const a=[],i=()=>{a.forEach((e=>e())),a.length=0;},l=Bs((()=>[Wg(t),Ug(o)]),(([e,t])=>{i(),e&&a.push(...n.flatMap((n=>r.map((r=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,n,r,t))))));}),{immediate:!0,flush:"post"}),s=()=>{l(),i();};return qg(s),s}let Zg=!1;function Jg(e,t=!1){const n=Hl(),r=()=>n.value=Boolean(e());return r(),function(e,t=!0){td()?fc(e):t?e():ds(e);}(r,t),n}const Yg="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Qg="__vueuse_ssr_handlers__";Yg[Qg]=Yg[Qg]||{};var Xg,em,tm=Object.getOwnPropertySymbols,nm=Object.prototype.hasOwnProperty,rm=Object.prototype.propertyIsEnumerable;function om(e,t,n={}){const r=n,{window:o=Kg}=r,a=((e,t)=>{var n={};for(var r in e)nm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&tm)for(var r of tm(e))t.indexOf(r)<0&&rm.call(e,r)&&(n[r]=e[r]);return n})(r,["window"]);let i;const l=Jg((()=>o&&"ResizeObserver"in o)),s=()=>{i&&(i.disconnect(),i=void 0);},c=Bs((()=>Wg(e)),(e=>{s(),l.value&&o&&e&&(i=new ResizeObserver(t),i.observe(e,a));}),{immediate:!0,flush:"post"}),u=()=>{s(),c();};return qg(u),{isSupported:l,stop:u}}(em=Xg||(Xg={})).UP="UP",em.RIGHT="RIGHT",em.DOWN="DOWN",em.LEFT="LEFT",em.NONE="NONE";var am=Object.defineProperty,im=Object.getOwnPropertySymbols,lm=Object.prototype.hasOwnProperty,sm=Object.prototype.propertyIsEnumerable,cm=(e,t,n)=>t in e?am(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;((e,t)=>{for(var n in t||(t={}))lm.call(t,n)&&cm(e,n,t[n]);if(im)for(var n of im(t))sm.call(t,n)&&cm(e,n,t[n]);})({linear:function(e){return e}},{easeInSine:[.12,0,.39,0],easeOutSine:[.61,1,.88,1],easeInOutSine:[.37,0,.63,1],easeInQuad:[.11,0,.5,0],easeOutQuad:[.5,1,.89,1],easeInOutQuad:[.45,0,.55,1],easeInCubic:[.32,0,.67,0],easeOutCubic:[.33,1,.68,1],easeInOutCubic:[.65,0,.35,1],easeInQuart:[.5,0,.75,0],easeOutQuart:[.25,1,.5,1],easeInOutQuart:[.76,0,.24,1],easeInQuint:[.64,0,.78,0],easeOutQuint:[.22,1,.36,1],easeInOutQuint:[.83,0,.17,1],easeInExpo:[.7,0,.84,0],easeOutExpo:[.16,1,.3,1],easeInOutExpo:[.87,0,.13,1],easeInCirc:[.55,0,1,.45],easeOutCirc:[0,.55,.45,1],easeInOutCirc:[.85,0,.15,1],easeInBack:[.36,0,.66,-.56],easeOutBack:[.34,1.56,.64,1],easeInOutBack:[.68,-.6,.32,1.6]});const um=e=>{let t,n;return "touchend"===e.type?(n=e.changedTouches[0].clientY,t=e.changedTouches[0].clientX):e.type.startsWith("touch")?(n=e.touches[0].clientY,t=e.touches[0].clientX):(n=e.clientY,t=e.clientX),{clientX:t,clientY:n}},dm=e=>"boolean"==typeof e,pm=e=>"number"==typeof e,fm=e=>"undefined"!=typeof Element&&e instanceof Element,hm=e=>Object.keys(e);function gm(e,t="px"){return e?pm(e)||Ba(n=e)&&!Number.isNaN(Number(n))?`${e}${t}`:Ba(e)?e:void 0:"";var n;}
  /*! Element Plus Icons Vue v2.3.1 */var mm=rc({name:"ArrowDown",__name:"arrow-down",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.592 30.592 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.592 30.592 0 0 0-42.752 0z"})]))}),bm=rc({name:"CircleCheck",__name:"circle-check",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),Vu("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752l265.344-265.408z"})]))}),vm=rc({name:"CircleClose",__name:"circle-close",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),Vu("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}),_m=rc({name:"Close",__name:"close",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}),ym=rc({name:"Hide",__name:"hide",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4-6.4-6.4-12.8-9.6-22.4-9.6-9.6 0-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176C44.8 438.4 0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4 0 9.6 3.2 16 9.6 22.4 6.4 6.4 12.8 9.6 22.4 9.6 9.6 0 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4Zm-646.4 528c-76.8-70.4-128-128-153.6-172.8 28.8-48 80-105.6 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4Zm140.8-96c-12.8-22.4-19.2-48-19.2-76.8 0-44.8 16-83.2 48-112 32-28.8 67.2-48 112-48 28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6-28.8 48-80 105.6-153.6 172.8-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176C979.199 585.6 1024 528 1024 512s-48.001-73.6-134.401-176Z"}),Vu("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112-32 28.8-67.2 48-112 48Z"})]))}),xm=rc({name:"Loading",__name:"loading",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248zm452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248zM828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0z"})]))}),km=rc({name:"View",__name:"view",setup:e=>(e,t)=>(zu(),Iu("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[Vu("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.192 160.192 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))});const wm="__epPropKey",Sm=(e,t)=>{if(!Da(e)||Da(n=e)&&n[wm])return e;var n;const{values:r,required:o,default:a,type:i,validator:l}=e,s=r||l?n=>{let o=!1,i=[];if(r&&(i=Array.from(r),Ma(e,"default")&&i.push(a),o||(o=i.includes(n))),l&&(o||(o=l(n))),!o&&i.length>0){const e=[...new Set(i)].map((e=>JSON.stringify(e))).join(", ");md(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${e}], got value ${JSON.stringify(n)}.`);}return o}:void 0,c={type:i,required:!!o,validator:s,[wm]:!0};return Ma(e,"default")&&(c.default=a),c},Cm=e=>Bo(Object.entries(e).map((([e,t])=>[e,Sm(t,e)]))),Em=[String,Object,Function],Am={validating:xm,success:bm,error:vm},jm=(e,t)=>{if(e.install=n=>{for(const r of [e,...Object.values(null!=t?t:{})])n.component(r.name,r);},t)for(const[n,r]of Object.entries(t))e[n]=r;return e},$m="Tab",Om="Enter",zm="Space",Tm="Escape",Mm="update:modelValue",Lm=["class","style"],Im=/^on[A-Z]/;var Fm={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color."},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tour:{next:"Next",previous:"Previous",finish:"Finish"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}};const Rm=e=>(t,n)=>Pm(t,n,Kl(e)),Pm=(e,t,n)=>Lt(n,e,e).replace(/\{(\w+)\}/g,((e,n)=>{var r;return `${null!=(r=null==t?void 0:t[n])?r:`{${n}}`}`})),Bm=Symbol("localeContextKey"),Nm=e=>{const t=e||Zc(Bm,Hl());return (e=>({lang:hd((()=>Kl(e).name)),locale:Vl(e)?e:Hl(e),t:Rm(e)}))(hd((()=>t.value||Fm)))},Dm="el",Vm=(e,t,n,r,o)=>{let a=`${e}-${t}`;return n&&(a+=`-${n}`),r&&(a+=`__${r}`),o&&(a+=`--${o}`),a},Hm=Symbol("namespaceContextKey"),Um=e=>{const t=e||(td()?Zc(Hm,Hl(Dm)):Hl(Dm));return hd((()=>Kl(t)||Dm))},qm=(e,t)=>{const n=Um(t);return {namespace:n,b:(t="")=>Vm(n.value,e,t,"",""),e:t=>t?Vm(n.value,e,"",t,""):"",m:t=>t?Vm(n.value,e,"","",t):"",be:(t,r)=>t&&r?Vm(n.value,e,t,r,""):"",em:(t,r)=>t&&r?Vm(n.value,e,"",t,r):"",bm:(t,r)=>t&&r?Vm(n.value,e,t,"",r):"",bem:(t,r,o)=>t&&r&&o?Vm(n.value,e,t,r,o):"",is:(e,...t)=>{const n=!(t.length>=1)||t[0];return e&&n?`is-${e}`:""},cssVar:e=>{const t={};for(const r in e)e[r]&&(t[`--${n.value}-${r}`]=e[r]);return t},cssVarName:e=>`--${n.value}-${e}`,cssVarBlock:t=>{const r={};for(const o in t)t[o]&&(r[`--${n.value}-${e}-${o}`]=t[o]);return r},cssVarBlockName:t=>`--${n.value}-${e}-${t}`}},Wm=Sm({type:Boolean,default:null}),Km=Sm({type:Function}),Gm=e=>{const t=`update:${e}`,n=`onUpdate:${e}`;return {useModelToggle:({indicator:r,toggleReason:o,shouldHideWhenRouteChanges:a,shouldProceed:i,onShow:l,onHide:s})=>{const c=td(),{emit:u}=c,d=c.props,p=hd((()=>Pa(d[n]))),f=hd((()=>null===d[e])),h=e=>{!0!==r.value&&(r.value=!0,o&&(o.value=e),Pa(l)&&l(e));},g=e=>{!1!==r.value&&(r.value=!1,o&&(o.value=e),Pa(s)&&s(e));},m=e=>{if(!0===d.disabled||Pa(i)&&!i())return;const n=p.value&&Ng;n&&u(t,!0),!f.value&&n||h(e);},b=e=>{if(!0===d.disabled||!Ng)return;const n=p.value&&Ng;n&&u(t,!1),!f.value&&n||g(e);},v=e=>{dm(e)&&(d.disabled&&e?p.value&&u(t,!1):r.value!==e&&(e?h():g()));};return Bs((()=>d[e]),v),a&&void 0!==c.appContext.config.globalProperties.$route&&Bs((()=>({...c.proxy.$route})),(()=>{a.value&&r.value&&b();})),fc((()=>{v(d[e]);})),{hide:b,show:m,toggle:()=>{r.value?b():m();},hasUpdateHandler:p}},useModelToggleProps:{[e]:Wm,[n]:Km},useModelToggleEmits:[t]}};const Zm=e=>{const t=td();return hd((()=>{var n,r;return null==(r=null==(n=null==t?void 0:t.proxy)?void 0:n.$props)?void 0:r[e]}))};var Jm="top",Ym="bottom",Qm="right",Xm="left",eb="auto",tb=[Jm,Ym,Qm,Xm],nb="start",rb="end",ob="clippingParents",ab="viewport",ib="popper",lb="reference",sb=tb.reduce((function(e,t){return e.concat([t+"-"+nb,t+"-"+rb])}),[]),cb=[].concat(tb,[eb]).reduce((function(e,t){return e.concat([t,t+"-"+nb,t+"-"+rb])}),[]),ub=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function db(e){return e?(e.nodeName||"").toLowerCase():null}function pb(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function fb(e){return e instanceof pb(e).Element||e instanceof Element}function hb(e){return e instanceof pb(e).HTMLElement||e instanceof HTMLElement}function gb(e){return "undefined"!=typeof ShadowRoot&&(e instanceof pb(e).ShadowRoot||e instanceof ShadowRoot)}var mb={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];!hb(o)||!db(o)||(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t);})));}));},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});!hb(r)||!db(r)||(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e);})));}));}},requires:["computeStyles"]};function bb(e){return e.split("-")[0]}var vb=Math.max,_b=Math.min,yb=Math.round;function xb(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),r=1,o=1;if(hb(e)&&t){var a=e.offsetHeight,i=e.offsetWidth;i>0&&(r=yb(n.width)/i||1),a>0&&(o=yb(n.height)/a||1);}return {width:n.width/r,height:n.height/o,top:n.top/o,right:n.right/r,bottom:n.bottom/o,left:n.left/r,x:n.left/r,y:n.top/o}}function kb(e){var t=xb(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function wb(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return !0;if(n&&gb(n)){var r=t;do{if(r&&e.isSameNode(r))return !0;r=r.parentNode||r.host;}while(r)}return !1}function Sb(e){return pb(e).getComputedStyle(e)}function Cb(e){return ["table","td","th"].indexOf(db(e))>=0}function Eb(e){return ((fb(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ab(e){return "html"===db(e)?e:e.assignedSlot||e.parentNode||(gb(e)?e.host:null)||Eb(e)}function jb(e){return hb(e)&&"fixed"!==Sb(e).position?e.offsetParent:null}function $b(e){for(var t=pb(e),n=jb(e);n&&Cb(n)&&"static"===Sb(n).position;)n=jb(n);return n&&("html"===db(n)||"body"===db(n)&&"static"===Sb(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&hb(e)&&"fixed"===Sb(e).position)return null;var n=Ab(e);for(gb(n)&&(n=n.host);hb(n)&&["html","body"].indexOf(db(n))<0;){var r=Sb(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode;}return null}(e)||t}function Ob(e){return ["top","bottom"].indexOf(e)>=0?"x":"y"}function zb(e,t,n){return vb(e,_b(t,n))}function Tb(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Mb(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Lb={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,l=bb(n.placement),s=Ob(l),c=[Xm,Qm].indexOf(l)>=0?"height":"width";if(a&&i){var u=function(e,t){return Tb("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Mb(e,tb))}(o.padding,n),d=kb(a),p="y"===s?Jm:Xm,f="y"===s?Ym:Qm,h=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],g=i[s]-n.rects.reference[s],m=$b(a),b=m?"y"===s?m.clientHeight||0:m.clientWidth||0:0,v=h/2-g/2,_=u[p],y=b-d[c]-u[f],x=b/2-d[c]/2+v,k=zb(_,x,y),w=s;n.modifiersData[r]=((t={})[w]=k,t.centerOffset=k-x,t);}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"==typeof r&&!(r=t.elements.popper.querySelector(r))||!wb(t.elements.popper,r)||(t.elements.arrow=r));},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ib(e){return e.split("-")[1]}var Fb={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Rb(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,l=e.position,s=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=i.x,f=void 0===p?0:p,h=i.y,g=void 0===h?0:h,m="function"==typeof u?u({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var b=i.hasOwnProperty("x"),v=i.hasOwnProperty("y"),_=Xm,y=Jm,x=window;if(c){var k=$b(n),w="clientHeight",S="clientWidth";if(k===pb(n)&&("static"!==Sb(k=Eb(n)).position&&"absolute"===l&&(w="scrollHeight",S="scrollWidth")),o===Jm||(o===Xm||o===Qm)&&a===rb)y=Ym,g-=(d&&k===x&&x.visualViewport?x.visualViewport.height:k[w])-r.height,g*=s?1:-1;if(o===Xm||(o===Jm||o===Ym)&&a===rb)_=Qm,f-=(d&&k===x&&x.visualViewport?x.visualViewport.width:k[S])-r.width,f*=s?1:-1;}var C,E=Object.assign({position:l},c&&Fb),A=!0===u?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return {x:yb(t*r)/r||0,y:yb(n*r)/r||0}}({x:f,y:g}):{x:f,y:g};return f=A.x,g=A.y,s?Object.assign({},E,((C={})[y]=v?"0":"",C[_]=b?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",C)):Object.assign({},E,((t={})[y]=v?g+"px":"",t[_]=b?f+"px":"",t.transform="",t))}var Pb={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,l=n.roundOffsets,s=void 0===l||l,c={placement:bb(t.placement),variation:Ib(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Rb(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Rb(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement});},data:{}},Bb={passive:!0};var Nb={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,l=void 0===i||i,s=pb(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach((function(e){e.addEventListener("scroll",n.update,Bb);})),l&&s.addEventListener("resize",n.update,Bb),function(){a&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Bb);})),l&&s.removeEventListener("resize",n.update,Bb);}},data:{}},Db={left:"right",right:"left",bottom:"top",top:"bottom"};function Vb(e){return e.replace(/left|right|bottom|top/g,(function(e){return Db[e]}))}var Hb={start:"end",end:"start"};function Ub(e){return e.replace(/start|end/g,(function(e){return Hb[e]}))}function qb(e){var t=pb(e);return {scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Wb(e){return xb(Eb(e)).left+qb(e).scrollLeft}function Kb(e){var t=Sb(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return /auto|scroll|overlay|hidden/.test(n+o+r)}function Gb(e){return ["html","body","#document"].indexOf(db(e))>=0?e.ownerDocument.body:hb(e)&&Kb(e)?e:Gb(Ab(e))}function Zb(e,t){var n;void 0===t&&(t=[]);var r=Gb(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=pb(r),i=o?[a].concat(a.visualViewport||[],Kb(r)?r:[]):r,l=t.concat(i);return o?l:l.concat(Zb(Ab(i)))}function Jb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Yb(e,t){return t===ab?Jb(function(e){var t=pb(e),n=Eb(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,l=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,l=r.offsetTop)),{width:o,height:a,x:i+Wb(e),y:l}}(e)):fb(t)?function(e){var t=xb(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):Jb(function(e){var t,n=Eb(e),r=qb(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=vb(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=vb(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),l=-r.scrollLeft+Wb(e),s=-r.scrollTop;return "rtl"===Sb(o||n).direction&&(l+=vb(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:l,y:s}}(Eb(e)))}function Qb(e,t,n){var r="clippingParents"===t?function(e){var t=Zb(Ab(e)),n=["absolute","fixed"].indexOf(Sb(e).position)>=0&&hb(e)?$b(e):e;return fb(n)?t.filter((function(e){return fb(e)&&wb(e,n)&&"body"!==db(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=Yb(e,n);return t.top=vb(r.top,t.top),t.right=_b(r.right,t.right),t.bottom=_b(r.bottom,t.bottom),t.left=vb(r.left,t.left),t}),Yb(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Xb(e){var t,n=e.reference,r=e.element,o=e.placement,a=o?bb(o):null,i=o?Ib(o):null,l=n.x+n.width/2-r.width/2,s=n.y+n.height/2-r.height/2;switch(a){case Jm:t={x:l,y:n.y-r.height};break;case Ym:t={x:l,y:n.y+n.height};break;case Qm:t={x:n.x+n.width,y:s};break;case Xm:t={x:n.x-r.width,y:s};break;default:t={x:n.x,y:n.y};}var c=a?Ob(a):null;if(null!=c){var u="y"===c?"height":"width";switch(i){case nb:t[c]=t[c]-(n[u]/2-r[u]/2);break;case rb:t[c]=t[c]+(n[u]/2-r[u]/2);}}return t}function ev(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?ob:a,l=n.rootBoundary,s=void 0===l?ab:l,c=n.elementContext,u=void 0===c?ib:c,d=n.altBoundary,p=void 0!==d&&d,f=n.padding,h=void 0===f?0:f,g=Tb("number"!=typeof h?h:Mb(h,tb)),m=u===ib?lb:ib,b=e.rects.popper,v=e.elements[p?m:u],_=Qb(fb(v)?v:v.contextElement||Eb(e.elements.popper),i,s),y=xb(e.elements.reference),x=Xb({reference:y,element:b,strategy:"absolute",placement:o}),k=Jb(Object.assign({},b,x)),w=u===ib?k:y,S={top:_.top-w.top+g.top,bottom:w.bottom-_.bottom+g.bottom,left:_.left-w.left+g.left,right:w.right-_.right+g.right},C=e.modifiersData.offset;if(u===ib&&C){var E=C[o];Object.keys(S).forEach((function(e){var t=[Qm,Ym].indexOf(e)>=0?1:-1,n=[Jm,Ym].indexOf(e)>=0?"y":"x";S[e]+=E[n]*t;}));}return S}var tv={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0===i||i,s=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,p=n.altBoundary,f=n.flipVariations,h=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,b=bb(m),v=s||(b===m||!h?[Vb(m)]:function(e){if(bb(e)===eb)return [];var t=Vb(e);return [Ub(e),t,Ub(t)]}(m)),_=[m].concat(v).reduce((function(e,n){return e.concat(bb(n)===eb?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,l=n.flipVariations,s=n.allowedAutoPlacements,c=void 0===s?cb:s,u=Ib(r),d=u?l?sb:sb.filter((function(e){return Ib(e)===u})):tb,p=d.filter((function(e){return c.indexOf(e)>=0}));0===p.length&&(p=d);var f=p.reduce((function(t,n){return t[n]=ev(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[bb(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:h,allowedAutoPlacements:g}):n)}),[]),y=t.rects.reference,x=t.rects.popper,k=new Map,w=!0,S=_[0],C=0;C<_.length;C++){var E=_[C],A=bb(E),j=Ib(E)===nb,$=[Jm,Ym].indexOf(A)>=0,O=$?"width":"height",z=ev(t,{placement:E,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=$?j?Qm:Xm:j?Ym:Jm;y[O]>x[O]&&(T=Vb(T));var M=Vb(T),L=[];if(a&&L.push(z[A]<=0),l&&L.push(z[T]<=0,z[M]<=0),L.every((function(e){return e}))){S=E,w=!1;break}k.set(E,L);}if(w)for(var I=function(e){var t=_.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},F=h?3:1;F>0;F--){if("break"===I(F))break}t.placement!==S&&(t.modifiersData[r]._skip=!0,t.placement=S,t.reset=!0);}},requiresIfExists:["offset"],data:{_skip:!1}};function nv(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function rv(e){return [Jm,Qm,Ym,Xm].some((function(t){return e[t]>=0}))}var ov={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=ev(t,{elementContext:"reference"}),l=ev(t,{altBoundary:!0}),s=nv(i,r),c=nv(l,o,a),u=rv(s),d=rv(c);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d});}};var av={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=cb.reduce((function(e,n){return e[n]=function(e,t,n){var r=bb(e),o=[Xm,Jm].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],l=a[1];return i=i||0,l=(l||0)*o,[Xm,Qm].indexOf(r)>=0?{x:l,y:i}:{x:i,y:l}}(n,t.rects,a),e}),{}),l=i[t.placement],s=l.x,c=l.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[r]=i;}};var iv={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Xb({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement});},data:{}};var lv={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,l=void 0!==i&&i,s=n.boundary,c=n.rootBoundary,u=n.altBoundary,d=n.padding,p=n.tether,f=void 0===p||p,h=n.tetherOffset,g=void 0===h?0:h,m=ev(t,{boundary:s,rootBoundary:c,padding:d,altBoundary:u}),b=bb(t.placement),v=Ib(t.placement),_=!v,y=Ob(b),x=function(e){return "x"===e?"y":"x"}(y),k=t.modifiersData.popperOffsets,w=t.rects.reference,S=t.rects.popper,C="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,E="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,j={x:0,y:0};if(k){if(a){var $,O="y"===y?Jm:Xm,z="y"===y?Ym:Qm,T="y"===y?"height":"width",M=k[y],L=M+m[O],I=M-m[z],F=f?-S[T]/2:0,R=v===nb?w[T]:S[T],P=v===nb?-S[T]:-w[T],B=t.elements.arrow,N=f&&B?kb(B):{width:0,height:0},D=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=D[O],H=D[z],U=zb(0,w[T],N[T]),q=_?w[T]/2-F-U-V-E.mainAxis:R-U-V-E.mainAxis,W=_?-w[T]/2+F+U+H+E.mainAxis:P+U+H+E.mainAxis,K=t.elements.arrow&&$b(t.elements.arrow),G=K?"y"===y?K.clientTop||0:K.clientLeft||0:0,Z=null!=($=null==A?void 0:A[y])?$:0,J=M+W-Z,Y=zb(f?_b(L,M+q-Z-G):L,M,f?vb(I,J):I);k[y]=Y,j[y]=Y-M;}if(l){var Q,X="x"===y?Jm:Xm,ee="x"===y?Ym:Qm,te=k[x],ne="y"===x?"height":"width",re=te+m[X],oe=te-m[ee],ae=-1!==[Jm,Xm].indexOf(b),ie=null!=(Q=null==A?void 0:A[x])?Q:0,le=ae?re:te-w[ne]-S[ne]-ie+E.altAxis,se=ae?te+w[ne]+S[ne]-ie-E.altAxis:oe,ce=f&&ae?function(e,t,n){var r=zb(e,t,n);return r>n?n:r}(le,te,se):zb(f?le:re,te,f?se:oe);k[x]=ce,j[x]=ce-te;}t.modifiersData[r]=j;}},requiresIfExists:["offset"]};function sv(e,t,n){void 0===n&&(n=!1);var r=hb(t),o=hb(t)&&function(e){var t=e.getBoundingClientRect(),n=yb(t.width)/e.offsetWidth||1,r=yb(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Eb(t),i=xb(e,o),l={scrollLeft:0,scrollTop:0},s={x:0,y:0};return (r||!r&&!n)&&(("body"!==db(t)||Kb(a))&&(l=function(e){return e!==pb(e)&&hb(e)?function(e){return {scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):qb(e)}(t)),hb(t)?((s=xb(t,!0)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=Wb(a))),{x:i.left+l.scrollLeft-s.x,y:i.top+l.scrollTop-s.y,width:i.width,height:i.height}}function cv(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r);}})),r.push(e);}return e.forEach((function(e){t.set(e.name,e);})),e.forEach((function(e){n.has(e.name)||o(e);})),r}function uv(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e());}));}))),t}}var dv={placement:"bottom",modifiers:[],strategy:"absolute"};function pv(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return !t.some((function(e){return !(e&&"function"==typeof e.getBoundingClientRect)}))}function fv(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?dv:o;return function(e,t,n){void 0===n&&(n=a);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},dv,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},i=[],l=!1,s={state:o,setOptions:function(n){var l="function"==typeof n?n(o.options):n;c(),o.options=Object.assign({},a,o.options,l),o.scrollParents={reference:fb(e)?Zb(e):e.contextElement?Zb(e.contextElement):[],popper:Zb(t)};var u=function(e){var t=cv(e);return ub.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,o.options.modifiers)));return o.orderedModifiers=u.filter((function(e){return e.enabled})),o.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var l=a({state:o,name:t,instance:s,options:r}),c=function(){};i.push(l||c);}})),s.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,n=e.popper;if(pv(t,n)){o.rects={reference:sv(t,$b(n),"fixed"===o.options.strategy),popper:kb(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach((function(e){return o.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var a=o.orderedModifiers[r],i=a.fn,c=a.options,u=void 0===c?{}:c,d=a.name;"function"==typeof i&&(o=i({state:o,options:u,name:d,instance:s})||o);}else o.reset=!1,r=-1;}}},update:uv((function(){return new Promise((function(e){s.forceUpdate(),e(o);}))})),destroy:function(){c(),l=!0;}};if(!pv(e,t))return s;function c(){i.forEach((function(e){return e()})),i=[];}return s.setOptions(n).then((function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e);})),s}}fv(),fv({defaultModifiers:[Nb,iv,Pb,mb]});var hv=fv({defaultModifiers:[Nb,iv,Pb,mb,av,tv,lv,Lb,ov]});const gv=(e,t,n={})=>{const r={name:"updateState",enabled:!0,phase:"write",fn:({state:e})=>{const t=function(e){const t=Object.keys(e.elements),n=Bo(t.map((t=>[t,e.styles[t]||{}]))),r=Bo(t.map((t=>[t,e.attributes[t]])));return {styles:n,attributes:r}}(e);Object.assign(i.value,t);},requires:["computeStyles"]},o=hd((()=>{const{onFirstUpdate:e,placement:t,strategy:o,modifiers:a}=Kl(n);return {onFirstUpdate:e,placement:t||"bottom",strategy:o||"absolute",modifiers:[...a||[],r,{name:"applyStyles",enabled:!1}]}})),a=Ul(),i=Hl({styles:{popper:{position:Kl(o).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=()=>{a.value&&(a.value.destroy(),a.value=void 0);};return Bs(o,(e=>{const t=Kl(a);t&&t.setOptions(e);}),{deep:!0}),Bs([e,t],(([e,t])=>{l(),e&&t&&(a.value=hv(e,t,Kl(o)));})),mc((()=>{l();})),{state:hd((()=>{var e;return {...(null==(e=Kl(a))?void 0:e.state)||{}}})),styles:hd((()=>Kl(i).styles)),attributes:hd((()=>Kl(i).attributes)),update:()=>{var e;return null==(e=Kl(a))?void 0:e.update()},forceUpdate:()=>{var e;return null==(e=Kl(a))?void 0:e.forceUpdate()},instanceRef:hd((()=>Kl(a)))}};function mv(){let e;const t=()=>window.clearTimeout(e);return qg((()=>t())),{registerTimeout:(n,r)=>{t(),e=window.setTimeout(n,r);},cancelTimeout:t}}const bv={prefix:Math.floor(1e4*Math.random()),current:0},vv=Symbol("elIdInjection"),_v=()=>td()?Zc(vv,bv):bv,yv=e=>{const t=_v(),n=Um();return hd((()=>Kl(e)||`${n.value}-id-${t.prefix}-${t.current++}`))};let xv=[];const kv=e=>{const t=e;t.key===Tm&&xv.forEach((e=>e(t)));};let wv;const Sv=()=>{const e=Um(),t=_v(),n=hd((()=>`${e.value}-popper-container-${t.prefix}`)),r=hd((()=>`#${n.value}`));return {id:n,selector:r}},Cv=()=>{const{id:e,selector:t}=Sv();return pc((()=>{Ng&&(wv||document.body.querySelector(t.value)||(wv=(e=>{const t=document.createElement("div");return t.id=e,document.body.appendChild(t),t})(e.value)));})),{id:e,selector:t}},Ev=Cm({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),Av=Symbol("elForwardRef"),jv=Hl(0),$v=Symbol("zIndexContextKey");const Ov=Sm({type:String,values:["","default","small","large"],required:!1}),zv=Symbol("size");function Tv(e,{afterFocus:t,beforeBlur:n,afterBlur:r}={}){const o=td(),{emit:a}=o,i=Ul(),l=Hl(!1);return Bs(i,(e=>{e&&e.setAttribute("tabindex","-1");})),Gg(i,"click",(()=>{var t;null==(t=e.value)||t.focus();})),{wrapperRef:i,isFocused:l,handleFocus:e=>{l.value||(l.value=!0,a("focus",e),null==t||t());},handleBlur:e=>{var t;!!Pa(n)&&n(e)||e.relatedTarget&&(null==(t=i.value)?void 0:t.contains(e.relatedTarget))||(l.value=!1,a("blur",e),null==r||r());}}}const Mv=Symbol(),Lv=Hl();function Iv(e,t=void 0){const n=td()?Zc(Mv,Lv):Lv;return e?hd((()=>{var r,o;return null!=(o=null==(r=n.value)?void 0:r[e])?o:t})):n}const Fv=(e,t)=>{var n;const r=[...new Set([...hm(e),...hm(t)])],o={};for(const a of r)o[a]=null!=(n=t[a])?n:e[a];return o},Rv=Cm({a11y:{type:Boolean,default:!0},locale:{type:Object},size:Ov,button:{type:Object},experimentalFeatures:{type:Object},keyboardNavigation:{type:Boolean,default:!0},message:{type:Object},zIndex:Number,namespace:{type:String,default:"el"}}),Pv={},Bv=jm(rc({name:"ElConfigProvider",props:Rv,setup(e,{slots:t}){Bs((()=>e.message),(e=>{Object.assign(Pv,null!=e?e:{});}),{immediate:!0,deep:!0});const n=((e,t,n=!1)=>{var r;const o=!!td(),a=o?Iv():void 0,i=null!=(r=null==t?void 0:t.provide)?r:o?Gc:void 0;if(!i)return;const l=hd((()=>{const t=Kl(e);return (null==a?void 0:a.value)?Fv(a.value,t):t}));return i(Mv,l),i(Bm,hd((()=>l.value.locale))),i(Hm,hd((()=>l.value.namespace))),i($v,hd((()=>l.value.zIndex))),i(zv,{size:hd((()=>l.value.size||""))}),!n&&Lv.value||(Lv.value=l.value),l})(e);return ()=>wc(t,"default",{config:null==n?void 0:n.value})}}));var Nv=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const Dv=Cm({size:{type:[Number,String]},color:{type:String}});const Vv=jm(Nv(rc({...rc({name:"ElIcon",inheritAttrs:!1}),props:Dv,setup(e){const t=e,n=qm("icon"),r=hd((()=>{const{size:e,color:n}=t;return e||n?{fontSize:(r=e,void 0===r?void 0:gm(e)),"--color":n}:{};var r;}));return (e,t)=>(zu(),Iu("i",Ju({class:Kl(n).b(),style:Kl(r)},e.$attrs),[wc(e.$slots,"default")],16))}}),[["__file","icon.vue"]])),Hv=Symbol("formContextKey"),Uv=Symbol("formItemContextKey"),qv=(e,t={})=>{const n=Hl(void 0),r=t.prop?n:Zm("size"),o=t.global?n:(()=>{const e=Zc(zv,{});return hd((()=>Kl(e.size)||""))})(),a=t.form?{size:void 0}:Zc(Hv,void 0),i=t.formItem?{size:void 0}:Zc(Uv,void 0);return hd((()=>r.value||Kl(e)||(null==i?void 0:i.size)||(null==a?void 0:a.size)||o.value||""))},Wv=e=>{const t=Zm("disabled"),n=Zc(Hv,void 0);return hd((()=>t.value||Kl(e)||(null==n?void 0:n.disabled)||!1))},Kv=()=>({form:Zc(Hv,void 0),formItem:Zc(Uv,void 0)}),Gv=(e,{formItemContext:t,disableIdGeneration:n,disableIdManagement:r})=>{n||(n=Hl(!1)),r||(r=Hl(!1));const o=Hl();let a;const i=hd((()=>{var n;return !!(!e.label&&t&&t.inputIds&&(null==(n=t.inputIds)?void 0:n.length)<=1)}));return fc((()=>{a=Bs([Ql(e,"id"),n],(([e,n])=>{const a=null!=e?e:n?void 0:yv().value;a!==o.value&&((null==t?void 0:t.removeInputId)&&(o.value&&t.removeInputId(o.value),(null==r?void 0:r.value)||n||!a||t.addInputId(a)),o.value=a);}),{immediate:!0});})),bc((()=>{a&&a(),(null==t?void 0:t.removeInputId)&&o.value&&t.removeInputId(o.value);})),{isLabeledByFormItem:i,inputId:o}};let Zv;const Jv=`\n  height:0 !important;\n  visibility:hidden !important;\n  ${Ng&&/firefox/i.test(window.navigator.userAgent)?"":"overflow:hidden !important;"}\n  position:absolute !important;\n  z-index:-1000 !important;\n  top:0 !important;\n  right:0 !important;\n`,Yv=["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 Qv(e,t=1,n){var r;Zv||(Zv=document.createElement("textarea"),document.body.appendChild(Zv));const{paddingSize:o,borderSize:a,boxSizing:i,contextStyle:l}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),r=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),o=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return {contextStyle:Yv.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:r,borderSize:o,boxSizing:n}}(e);Zv.setAttribute("style",`${l};${Jv}`),Zv.value=e.value||e.placeholder||"";let s=Zv.scrollHeight;const c={};"border-box"===i?s+=a:"content-box"===i&&(s-=o),Zv.value="";const u=Zv.scrollHeight-o;if(pm(t)){let e=u*t;"border-box"===i&&(e=e+o+a),s=Math.max(e,s),c.minHeight=`${e}px`;}if(pm(n)){let e=u*n;"border-box"===i&&(e=e+o+a),s=Math.min(e,s);}return c.height=`${s}px`,null==(r=Zv.parentNode)||r.removeChild(Zv),Zv=void 0,c}const Xv=Cm({id:{type:String,default:void 0},size:Ov,disabled:Boolean,modelValue:{type:[String,Number,Object],default:""},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:String,default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:Em},prefixIcon:{type:Em},containerRole:{type:String,default:void 0},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Object,Array,String],default:()=>({})},autofocus:{type:Boolean,default:!1}}),e_={[Mm]:e=>Ba(e),input:e=>Ba(e),change:e=>Ba(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent,clear:()=>!0,mouseleave:e=>e instanceof MouseEvent,mouseenter:e=>e instanceof MouseEvent,keydown:e=>e instanceof Event,compositionstart:e=>e instanceof CompositionEvent,compositionupdate:e=>e instanceof CompositionEvent,compositionend:e=>e instanceof CompositionEvent},t_=["role"],n_=["id","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus"],r_=["id","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus"];const o_=jm(Nv(rc({...rc({name:"ElInput",inheritAttrs:!1}),props:Xv,emits:e_,setup(e,{expose:t,emit:n}){const r=e,o=Oc().attrs,a=$c(),i=hd((()=>{const e={};return "combobox"===r.containerRole&&(e["aria-haspopup"]=o["aria-haspopup"],e["aria-owns"]=o["aria-owns"],e["aria-expanded"]=o["aria-expanded"]),e})),l=hd((()=>["textarea"===r.type?m.b():g.b(),g.m(f.value),g.is("disabled",h.value),g.is("exceed",N.value),{[g.b("group")]:a.prepend||a.append,[g.bm("group","append")]:a.append,[g.bm("group","prepend")]:a.prepend,[g.m("prefix")]:a.prefix||r.prefixIcon,[g.m("suffix")]:a.suffix||r.suffixIcon||r.clearable||r.showPassword,[g.bm("suffix","password-clear")]:F.value&&R.value},o.class])),s=hd((()=>[g.e("wrapper"),g.is("focus",E.value)])),c=((e={})=>{const{excludeListeners:t=!1,excludeKeys:n}=e,r=hd((()=>((null==n?void 0:n.value)||[]).concat(Lm))),o=td();return hd(o?()=>{var e;return Bo(Object.entries(null==(e=o.proxy)?void 0:e.$attrs).filter((([e])=>!(r.value.includes(e)||t&&Im.test(e)))))}:()=>({}))})({excludeKeys:hd((()=>Object.keys(i.value)))}),{form:u,formItem:d}=Kv(),{inputId:p}=Gv(r,{formItemContext:d}),f=qv(),h=Wv(),g=qm("input"),m=qm("textarea"),b=Ul(),v=Ul(),_=Hl(!1),y=Hl(!1),x=Hl(!1),k=Hl(),w=Ul(r.inputStyle),S=hd((()=>b.value||v.value)),{wrapperRef:C,isFocused:E,handleFocus:A,handleBlur:j}=Tv(S,{afterBlur(){var e;r.validateEvent&&(null==(e=null==d?void 0:d.validate)||e.call(d,"blur").catch((e=>{})));}}),$=hd((()=>{var e;return null!=(e=null==u?void 0:u.statusIcon)&&e})),O=hd((()=>(null==d?void 0:d.validateState)||"")),z=hd((()=>O.value&&Am[O.value])),T=hd((()=>x.value?km:ym)),M=hd((()=>[o.style])),L=hd((()=>[r.inputStyle,w.value,{resize:r.resize}])),I=hd((()=>qo(r.modelValue)?"":String(r.modelValue))),F=hd((()=>r.clearable&&!h.value&&!r.readonly&&!!I.value&&(E.value||_.value))),R=hd((()=>r.showPassword&&!h.value&&!r.readonly&&!!I.value&&(!!I.value||E.value))),P=hd((()=>r.showWordLimit&&!!r.maxlength&&("text"===r.type||"textarea"===r.type)&&!h.value&&!r.readonly&&!r.showPassword)),B=hd((()=>I.value.length)),N=hd((()=>!!P.value&&B.value>Number(r.maxlength))),D=hd((()=>!!a.suffix||!!r.suffixIcon||F.value||r.showPassword||P.value||!!O.value&&$.value)),[V,H]=function(e){const t=Hl();return [function(){if(null==e.value)return;const{selectionStart:n,selectionEnd:r,value:o}=e.value;if(null==n||null==r)return;const a=o.slice(0,Math.max(0,n)),i=o.slice(Math.max(0,r));t.value={selectionStart:n,selectionEnd:r,value:o,beforeTxt:a,afterTxt:i};},function(){if(null==e.value||null==t.value)return;const{value:n}=e.value,{beforeTxt:r,afterTxt:o,selectionStart:a}=t.value;if(null==r||null==o||null==a)return;let i=n.length;if(n.endsWith(o))i=n.length-o.length;else if(n.startsWith(r))i=r.length;else {const e=r[a-1],t=n.indexOf(e,a-1);-1!==t&&(i=t+1);}e.value.setSelectionRange(i,i);}]}(b);om(v,(e=>{if(q(),!P.value||"both"!==r.resize)return;const t=e[0],{width:n}=t.contentRect;k.value={right:`calc(100% - ${n+15+6}px)`};}));const U=()=>{const{type:e,autosize:t}=r;if(Ng&&"textarea"===e&&v.value)if(t){const e=Da(t)?t.minRows:void 0,n=Da(t)?t.maxRows:void 0,r=Qv(v.value,e,n);w.value={overflowY:"hidden",...r},ds((()=>{v.value.offsetHeight,w.value=r;}));}else w.value={minHeight:Qv(v.value).minHeight};},q=(e=>{let t=!1;return ()=>{var n;if(t||!r.autosize)return;null===(null==(n=v.value)?void 0:n.offsetParent)||(e(),t=!0);}})(U),W=()=>{const e=S.value,t=r.formatter?r.formatter(I.value):I.value;e&&e.value!==t&&(e.value=t);},K=async e=>{V();let{value:t}=e.target;r.formatter&&(t=r.parser?r.parser(t):t),y.value||(t!==I.value?(n(Mm,t),n("input",t),await ds(),W(),H()):W());},G=e=>{n("change",e.target.value);},Z=e=>{n("compositionstart",e),y.value=!0;},J=e=>{var t;n("compositionupdate",e);const r=null==(t=e.target)?void 0:t.value,o=r[r.length-1]||"";y.value=!(e=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(e))(o);},Y=e=>{n("compositionend",e),y.value&&(y.value=!1,K(e));},Q=()=>{x.value=!x.value,X();},X=async()=>{var e;await ds(),null==(e=S.value)||e.focus();},ee=e=>{_.value=!1,n("mouseleave",e);},te=e=>{_.value=!0,n("mouseenter",e);},ne=e=>{n("keydown",e);},re=()=>{n(Mm,""),n("change",""),n("clear"),n("input","");};return Bs((()=>r.modelValue),(()=>{var e;ds((()=>U())),r.validateEvent&&(null==(e=null==d?void 0:d.validate)||e.call(d,"change").catch((e=>{})));})),Bs(I,(()=>W())),Bs((()=>r.type),(async()=>{await ds(),W(),U();})),fc((()=>{!r.formatter&&r.parser,W(),ds(U);})),t({input:b,textarea:v,ref:S,textareaStyle:L,autosize:Ql(r,"autosize"),focus:X,blur:()=>{var e;return null==(e=S.value)?void 0:e.blur()},select:()=>{var e;null==(e=S.value)||e.select();},clear:re,resizeTextarea:U}),(e,t)=>Us((zu(),Iu("div",Ju(Kl(i),{class:Kl(l),style:Kl(M),role:e.containerRole,onMouseenter:te,onMouseleave:ee}),[Wu(" input "),"textarea"!==e.type?(zu(),Iu(Cu,{key:0},[Wu(" prepend slot "),e.$slots.prepend?(zu(),Iu("div",{key:0,class:hi(Kl(g).be("group","prepend"))},[wc(e.$slots,"prepend")],2)):Wu("v-if",!0),Vu("div",{ref_key:"wrapperRef",ref:C,class:hi(Kl(s))},[Wu(" prefix slot "),e.$slots.prefix||e.prefixIcon?(zu(),Iu("span",{key:0,class:hi(Kl(g).e("prefix"))},[Vu("span",{class:hi(Kl(g).e("prefix-inner"))},[wc(e.$slots,"prefix"),e.prefixIcon?(zu(),Fu(Kl(Vv),{key:0,class:hi(Kl(g).e("icon"))},{default:As((()=>[(zu(),Fu(Ls(e.prefixIcon)))])),_:1},8,["class"])):Wu("v-if",!0)],2)],2)):Wu("v-if",!0),Vu("input",Ju({id:Kl(p),ref_key:"input",ref:b,class:Kl(g).e("inner")},Kl(c),{minlength:e.minlength,maxlength:e.maxlength,type:e.showPassword?x.value?"text":"password":e.type,disabled:Kl(h),readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,form:e.form,autofocus:e.autofocus,onCompositionstart:Z,onCompositionupdate:J,onCompositionend:Y,onInput:K,onFocus:t[0]||(t[0]=(...e)=>Kl(A)&&Kl(A)(...e)),onBlur:t[1]||(t[1]=(...e)=>Kl(j)&&Kl(j)(...e)),onChange:G,onKeydown:ne}),null,16,n_),Wu(" suffix slot "),Kl(D)?(zu(),Iu("span",{key:1,class:hi(Kl(g).e("suffix"))},[Vu("span",{class:hi(Kl(g).e("suffix-inner"))},[Kl(F)&&Kl(R)&&Kl(P)?Wu("v-if",!0):(zu(),Iu(Cu,{key:0},[wc(e.$slots,"suffix"),e.suffixIcon?(zu(),Fu(Kl(Vv),{key:0,class:hi(Kl(g).e("icon"))},{default:As((()=>[(zu(),Fu(Ls(e.suffixIcon)))])),_:1},8,["class"])):Wu("v-if",!0)],64)),Kl(F)?(zu(),Fu(Kl(Vv),{key:1,class:hi([Kl(g).e("icon"),Kl(g).e("clear")]),onMousedown:ip(Kl(Ea),["prevent"]),onClick:re},{default:As((()=>[Hu(Kl(vm))])),_:1},8,["class","onMousedown"])):Wu("v-if",!0),Kl(R)?(zu(),Fu(Kl(Vv),{key:2,class:hi([Kl(g).e("icon"),Kl(g).e("password")]),onClick:Q},{default:As((()=>[(zu(),Fu(Ls(Kl(T))))])),_:1},8,["class"])):Wu("v-if",!0),Kl(P)?(zu(),Iu("span",{key:3,class:hi(Kl(g).e("count"))},[Vu("span",{class:hi(Kl(g).e("count-inner"))},_i(Kl(B))+" / "+_i(e.maxlength),3)],2)):Wu("v-if",!0),Kl(O)&&Kl(z)&&Kl($)?(zu(),Fu(Kl(Vv),{key:4,class:hi([Kl(g).e("icon"),Kl(g).e("validateIcon"),Kl(g).is("loading","validating"===Kl(O))])},{default:As((()=>[(zu(),Fu(Ls(Kl(z))))])),_:1},8,["class"])):Wu("v-if",!0)],2)],2)):Wu("v-if",!0)],2),Wu(" append slot "),e.$slots.append?(zu(),Iu("div",{key:1,class:hi(Kl(g).be("group","append"))},[wc(e.$slots,"append")],2)):Wu("v-if",!0)],64)):(zu(),Iu(Cu,{key:1},[Wu(" textarea "),Vu("textarea",Ju({id:Kl(p),ref_key:"textarea",ref:v,class:Kl(m).e("inner")},Kl(c),{minlength:e.minlength,maxlength:e.maxlength,tabindex:e.tabindex,disabled:Kl(h),readonly:e.readonly,autocomplete:e.autocomplete,style:Kl(L),"aria-label":e.label,placeholder:e.placeholder,form:e.form,autofocus:e.autofocus,onCompositionstart:Z,onCompositionupdate:J,onCompositionend:Y,onInput:K,onFocus:t[2]||(t[2]=(...e)=>Kl(A)&&Kl(A)(...e)),onBlur:t[3]||(t[3]=(...e)=>Kl(j)&&Kl(j)(...e)),onChange:G,onKeydown:ne}),null,16,r_),Kl(P)?(zu(),Iu("span",{key:0,style:ci(k.value),class:hi(Kl(g).e("count"))},_i(Kl(B))+" / "+_i(e.maxlength),7)):Wu("v-if",!0)],64))],16,t_)),[[Fd,"hidden"!==e.type]])}}),[["__file","input.vue"]])),a_=Symbol("popper"),i_=Symbol("popperContent"),l_=Cm({role:{type:String,values:["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],default:"tooltip"}});var s_=Nv(rc({...rc({name:"ElPopper",inheritAttrs:!1}),props:l_,setup(e,{expose:t}){const n=e,r={triggerRef:Hl(),popperInstanceRef:Hl(),contentRef:Hl(),referenceRef:Hl(),role:hd((()=>n.role))};return t(r),Gc(a_,r),(e,t)=>wc(e.$slots,"default")}}),[["__file","popper.vue"]]);const c_=Cm({arrowOffset:{type:Number,default:5}});var u_=Nv(rc({...rc({name:"ElPopperArrow",inheritAttrs:!1}),props:c_,setup(e,{expose:t}){const n=e,r=qm("popper"),{arrowOffset:o,arrowRef:a,arrowStyle:i}=Zc(i_,void 0);return Bs((()=>n.arrowOffset),(e=>{o.value=e;})),mc((()=>{a.value=void 0;})),t({arrowRef:a}),(e,t)=>(zu(),Iu("span",{ref_key:"arrowRef",ref:a,class:hi(Kl(r).e("arrow")),style:ci(Kl(i)),"data-popper-arrow":""},null,6))}}),[["__file","arrow.vue"]]);const d_=rc({name:"ElOnlyChild",setup(e,{slots:t,attrs:n}){var r;const o=Zc(Av),a=(i=null!=(r=null==o?void 0:o.setForwardRef)?r:Ea,{mounted(e){i(e);},updated(e){i(e);},unmounted(){i(null);}});var i;return ()=>{var e;const r=null==(e=t.default)?void 0:e.call(t,n);if(!r)return null;if(r.length>1)return null;const o=p_(r);return o?Us(Uu(o,n),[[a]]):null}}});function p_(e){if(!e)return null;const t=e;for(const n of t){if(Da(n))switch(n.type){case Au:continue;case Eu:case"svg":return f_(n);case Cu:return p_(n.children);default:return n}return f_(n)}return null}function f_(e){const t=qm("only-child");return Hu("span",{class:t.e("content")},[e])}const h_=Cm({virtualRef:{type:Object},virtualTriggering:Boolean,onMouseenter:{type:Function},onMouseleave:{type:Function},onClick:{type:Function},onKeydown:{type:Function},onFocus:{type:Function},onBlur:{type:Function},onContextmenu:{type:Function},id:String,open:Boolean});var g_=Nv(rc({...rc({name:"ElPopperTrigger",inheritAttrs:!1}),props:h_,setup(e,{expose:t}){const n=e,{role:r,triggerRef:o}=Zc(a_,void 0);var a;a=o,Gc(Av,{setForwardRef:e=>{a.value=e;}});const i=hd((()=>s.value?n.id:void 0)),l=hd((()=>{if(r&&"tooltip"===r.value)return n.open&&n.id?n.id:void 0})),s=hd((()=>{if(r&&"tooltip"!==r.value)return r.value})),c=hd((()=>s.value?`${n.open}`:void 0));let u;return fc((()=>{Bs((()=>n.virtualRef),(e=>{e&&(o.value=Wg(e));}),{immediate:!0}),Bs(o,((e,t)=>{null==u||u(),u=void 0,fm(e)&&(["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"].forEach((r=>{var o;const a=n[r];a&&(e.addEventListener(r.slice(2).toLowerCase(),a),null==(o=null==t?void 0:t.removeEventListener)||o.call(t,r.slice(2).toLowerCase(),a));})),u=Bs([i,l,s,c],(t=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(((n,r)=>{qo(t[r])?e.removeAttribute(n):e.setAttribute(n,t[r]);}));}),{immediate:!0})),fm(t)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((e=>t.removeAttribute(e)));}),{immediate:!0});})),mc((()=>{null==u||u(),u=void 0;})),t({triggerRef:o}),(e,t)=>e.virtualTriggering?Wu("v-if",!0):(zu(),Fu(Kl(d_),Ju({key:0},e.$attrs,{"aria-controls":Kl(i),"aria-describedby":Kl(l),"aria-expanded":Kl(c),"aria-haspopup":Kl(s)}),{default:As((()=>[wc(e.$slots,"default")])),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}}),[["__file","trigger.vue"]]);const m_="focus-trap.focus-after-trapped",b_="focus-trap.focus-after-released",v_={cancelable:!0,bubbles:!1},__={cancelable:!0,bubbles:!1},y_="focusAfterTrapped",x_="focusAfterReleased",k_=Symbol("elFocusTrap"),w_=Hl(),S_=Hl(0),C_=Hl(0);let E_=0;const A_=e=>{const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0||e===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t},j_=(e,t)=>{for(const n of e)if(!$_(n,t))return n},$_=(e,t)=>{if("hidden"===getComputedStyle(e).visibility)return !0;for(;e;){if(t&&e===t)return !1;if("none"===getComputedStyle(e).display)return !0;e=e.parentElement;}return !1},O_=(e,t)=>{if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),C_.value=window.performance.now(),e!==n&&(e=>e instanceof HTMLInputElement&&"select"in e)(e)&&t&&e.select();}};function z_(e,t){const n=[...e],r=e.indexOf(t);return -1!==r&&n.splice(r,1),n}const T_=(()=>{let e=[];return {push:t=>{const n=e[0];n&&t!==n&&n.pause(),e=z_(e,t),e.unshift(t);},remove:t=>{var n,r;e=z_(e,t),null==(r=null==(n=e[0])?void 0:n.resume)||r.call(n);}}})(),M_=()=>{w_.value="pointer",S_.value=window.performance.now();},L_=()=>{w_.value="keyboard",S_.value=window.performance.now();},I_=e=>new CustomEvent("focus-trap.focusout-prevented",{...__,detail:e});var F_=Nv(rc({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[y_,x_,"focusin","focusout","focusout-prevented","release-requested"],setup(e,{emit:t}){const n=Hl();let r,o;const{focusReason:a}=(fc((()=>{0===E_&&(document.addEventListener("mousedown",M_),document.addEventListener("touchstart",M_),document.addEventListener("keydown",L_)),E_++;})),mc((()=>{E_--,E_<=0&&(document.removeEventListener("mousedown",M_),document.removeEventListener("touchstart",M_),document.removeEventListener("keydown",L_));})),{focusReason:w_,lastUserFocusTimestamp:S_,lastAutomatedFocusTimestamp:C_});var i;i=n=>{e.trapped&&!l.paused&&t("release-requested",n);},fc((()=>{0===xv.length&&document.addEventListener("keydown",kv),Ng&&xv.push(i);})),mc((()=>{xv=xv.filter((e=>e!==i)),0===xv.length&&Ng&&document.removeEventListener("keydown",kv);}));const l={paused:!1,pause(){this.paused=!0;},resume(){this.paused=!1;}},s=n=>{if(!e.loop&&!e.trapped)return;if(l.paused)return;const{key:r,altKey:o,ctrlKey:i,metaKey:s,currentTarget:c,shiftKey:u}=n,{loop:d}=e,p=r===$m&&!o&&!i&&!s,f=document.activeElement;if(p&&f){const e=c,[r,o]=(e=>{const t=A_(e);return [j_(t,e),j_(t.reverse(),e)]})(e);if(r&&o)if(u||f!==o){if(u&&[r,e].includes(f)){const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&O_(o,!0));}}else {const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||(n.preventDefault(),d&&O_(r,!0));}else if(f===e){const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||n.preventDefault();}}};Gc(k_,{focusTrapRef:n,onKeydown:s}),Bs((()=>e.focusTrapEl),(e=>{e&&(n.value=e);}),{immediate:!0}),Bs([n],(([e],[t])=>{e&&(e.addEventListener("keydown",s),e.addEventListener("focusin",d),e.addEventListener("focusout",p)),t&&(t.removeEventListener("keydown",s),t.removeEventListener("focusin",d),t.removeEventListener("focusout",p));}));const c=e=>{t(y_,e);},u=e=>t(x_,e),d=a=>{const i=Kl(n);if(!i)return;const s=a.target,c=a.relatedTarget,u=s&&i.contains(s);if(!e.trapped){c&&i.contains(c)||(r=c);}u&&t("focusin",a),l.paused||e.trapped&&(u?o=s:O_(o,!0));},p=r=>{const i=Kl(n);if(!l.paused&&i)if(e.trapped){const n=r.relatedTarget;qo(n)||i.contains(n)||setTimeout((()=>{if(!l.paused&&e.trapped){const e=I_({focusReason:a.value});t("focusout-prevented",e),e.defaultPrevented||O_(o,!0);}}),0);}else {const e=r.target;e&&i.contains(e)||t("focusout",r);}};async function f(){await ds();const t=Kl(n);if(t){T_.push(l);const n=t.contains(document.activeElement)?r:document.activeElement;r=n;if(!t.contains(n)){const r=new Event(m_,v_);t.addEventListener(m_,c),t.dispatchEvent(r),r.defaultPrevented||ds((()=>{let r=e.focusStartEl;Ba(r)||(O_(r),document.activeElement!==r&&(r="first")),"first"===r&&((e,t=!1)=>{const n=document.activeElement;for(const r of e)if(O_(r,t),document.activeElement!==n)return})(A_(t),!0),document.activeElement!==n&&"container"!==r||O_(t);}));}}}function h(){const e=Kl(n);if(e){e.removeEventListener(m_,c);const t=new CustomEvent(b_,{...v_,detail:{focusReason:a.value}});e.addEventListener(b_,u),e.dispatchEvent(t),t.defaultPrevented||"keyboard"!=a.value&&S_.value>C_.value&&!e.contains(document.activeElement)||O_(null!=r?r:document.body),e.removeEventListener(b_,u),T_.remove(l);}}return fc((()=>{e.trapped&&f(),Bs((()=>e.trapped),(e=>{e?f():h();}));})),mc((()=>{e.trapped&&h();})),{onKeydown:s}}}),[["render",function(e,t,n,r,o,a){return wc(e.$slots,"default",{handleKeydown:e.onKeydown})}],["__file","focus-trap.vue"]]);const R_=Cm({boundariesPadding:{type:Number,default:0},fallbackPlacements:{type:Array,default:void 0},gpuAcceleration:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:String,values:cb,default:"bottom"},popperOptions:{type:Object,default:()=>({})},strategy:{type:String,values:["fixed","absolute"],default:"absolute"}}),P_=Cm({...R_,id:String,style:{type:[String,Array,Object]},className:{type:[String,Array,Object]},effect:{type:String,default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:{type:Boolean,default:!1},trapping:{type:Boolean,default:!1},popperClass:{type:[String,Array,Object]},popperStyle:{type:[String,Array,Object]},referenceEl:{type:Object},triggerTargetEl:{type:Object},stopPopperMouseEvent:{type:Boolean,default:!0},ariaLabel:{type:String,default:void 0},virtualTriggering:Boolean,zIndex:Number}),B_={mouseenter:e=>e instanceof MouseEvent,mouseleave:e=>e instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},N_=(e,t=[])=>{const{placement:n,strategy:r,popperOptions:o}=e,a={placement:n,strategy:r,...o,modifiers:[...D_(e),...t]};return function(e,t){t&&(e.modifiers=[...e.modifiers,...null!=t?t:[]]);}(a,null==o?void 0:o.modifiers),a};function D_(e){const{offset:t,gpuAcceleration:n,fallbackPlacements:r}=e;return [{name:"offset",options:{offset:[0,null!=t?t:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:r}},{name:"computeStyles",options:{gpuAcceleration:n}}]}const V_=e=>{const{popperInstanceRef:t,contentRef:n,triggerRef:r,role:o}=Zc(a_,void 0),a=Hl(),i=Hl(),l=hd((()=>({name:"eventListeners",enabled:!!e.visible}))),s=hd((()=>{var e;const t=Kl(a),n=null!=(e=Kl(i))?e:0;return {name:"arrow",enabled:(r=t,!(void 0===r)),options:{element:t,padding:n}};var r;})),c=hd((()=>({onFirstUpdate:()=>{h();},...N_(e,[Kl(s),Kl(l)])}))),u=hd((()=>(e=>{if(Ng)return Wg(e)})(e.referenceEl)||Kl(r))),{attributes:d,state:p,styles:f,update:h,forceUpdate:g,instanceRef:m}=gv(u,n,c);return Bs(m,(e=>t.value=e)),fc((()=>{Bs((()=>{var e;return null==(e=Kl(u))?void 0:e.getBoundingClientRect()}),(()=>{h();}));})),{attributes:d,arrowRef:a,contentRef:n,instanceRef:m,state:p,styles:f,role:o,forceUpdate:g,update:h}},H_=(e,{attributes:t,styles:n,role:r})=>{const{nextZIndex:o}=(e=>{const t=e||(td()?Zc($v,void 0):void 0),n=hd((()=>{const e=Kl(t);return pm(e)?e:2e3})),r=hd((()=>n.value+jv.value));return {initialZIndex:n,currentZIndex:r,nextZIndex:()=>(jv.value++,r.value)}})(),a=qm("popper"),i=hd((()=>Kl(t).popper)),l=Hl(pm(e.zIndex)?e.zIndex:o()),s=hd((()=>[a.b(),a.is("pure",e.pure),a.is(e.effect),e.popperClass])),c=hd((()=>[{zIndex:Kl(l)},Kl(n).popper,e.popperStyle||{}]));return {ariaModal:hd((()=>"dialog"===r.value?"false":void 0)),arrowStyle:hd((()=>Kl(n).arrow||{})),contentAttrs:i,contentClass:s,contentStyle:c,contentZIndex:l,updateZIndex:()=>{l.value=pm(e.zIndex)?e.zIndex:o();}}};var U_=Nv(rc({...rc({name:"ElPopperContent"}),props:P_,emits:B_,setup(e,{expose:t,emit:n}){const r=e,{focusStartRef:o,trapped:a,onFocusAfterReleased:i,onFocusAfterTrapped:l,onFocusInTrap:s,onFocusoutPrevented:c,onReleaseRequested:u}=((e,t)=>{const n=Hl(!1),r=Hl();return {focusStartRef:r,trapped:n,onFocusAfterReleased:e=>{var n;"pointer"!==(null==(n=e.detail)?void 0:n.focusReason)&&(r.value="first",t("blur"));},onFocusAfterTrapped:()=>{t("focus");},onFocusInTrap:t=>{e.visible&&!n.value&&(t.target&&(r.value=t.target),n.value=!0);},onFocusoutPrevented:t=>{e.trapping||("pointer"===t.detail.focusReason&&t.preventDefault(),n.value=!1);},onReleaseRequested:()=>{n.value=!1,t("close");}}})(r,n),{attributes:d,arrowRef:p,contentRef:f,styles:h,instanceRef:g,role:m,update:b}=V_(r),{ariaModal:v,arrowStyle:_,contentAttrs:y,contentClass:x,contentStyle:k,updateZIndex:w}=H_(r,{styles:h,attributes:d,role:m}),S=Zc(Uv,void 0),C=Hl();let E;Gc(i_,{arrowStyle:_,arrowRef:p,arrowOffset:C}),S&&(S.addInputId||S.removeInputId)&&Gc(Uv,{...S,addInputId:Ea,removeInputId:Ea});const A=(e=!0)=>{b(),e&&w();},j=()=>{A(!1),r.visible&&r.focusOnShow?a.value=!0:!1===r.visible&&(a.value=!1);};return fc((()=>{Bs((()=>r.triggerTargetEl),((e,t)=>{null==E||E(),E=void 0;const n=Kl(e||f.value),o=Kl(t||f.value);fm(n)&&(E=Bs([m,()=>r.ariaLabel,v,()=>r.id],(e=>{["role","aria-label","aria-modal","id"].forEach(((t,r)=>{qo(e[r])?n.removeAttribute(t):n.setAttribute(t,e[r]);}));}),{immediate:!0})),o!==n&&fm(o)&&["role","aria-label","aria-modal","id"].forEach((e=>{o.removeAttribute(e);}));}),{immediate:!0}),Bs((()=>r.visible),j,{immediate:!0});})),mc((()=>{null==E||E(),E=void 0;})),t({popperContentRef:f,popperInstanceRef:g,updatePopper:A,contentStyle:k}),(e,t)=>(zu(),Iu("div",Ju({ref_key:"contentRef",ref:f},Kl(y),{style:Kl(k),class:Kl(x),tabindex:"-1",onMouseenter:t[0]||(t[0]=t=>e.$emit("mouseenter",t)),onMouseleave:t[1]||(t[1]=t=>e.$emit("mouseleave",t))}),[Hu(Kl(F_),{trapped:Kl(a),"trap-on-focus-in":!0,"focus-trap-el":Kl(f),"focus-start-el":Kl(o),onFocusAfterTrapped:Kl(l),onFocusAfterReleased:Kl(i),onFocusin:Kl(s),onFocusoutPrevented:Kl(c),onReleaseRequested:Kl(u)},{default:As((()=>[wc(e.$slots,"default")])),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}}),[["__file","content.vue"]]);const q_=jm(s_),W_=Symbol("elTooltip"),K_=Cm({...Ev,...P_,appendTo:{type:[String,Object]},content:{type:String,default:""},rawContent:{type:Boolean,default:!1},persistent:Boolean,ariaLabel:String,visible:{type:Boolean,default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean}),G_=Cm({...h_,disabled:Boolean,trigger:{type:[String,Array],default:"hover"},triggerKeys:{type:Array,default:()=>[Om,zm]}}),{useModelToggleProps:Z_,useModelToggleEmits:J_,useModelToggle:Y_}=Gm("visible"),Q_=Cm({...l_,...Z_,...K_,...G_,...c_,showArrow:{type:Boolean,default:!0}}),X_=[...J_,"before-show","before-hide","show","hide","open","close"],ey=(e,t,n)=>r=>{((e,t)=>La(e)?e.includes(t):e===t)(Kl(e),t)&&n(r);};var ty=Nv(rc({...rc({name:"ElTooltipTrigger"}),props:G_,setup(e,{expose:t}){const n=e,r=qm("tooltip"),{controlled:o,id:a,open:i,onOpen:l,onClose:s,onToggle:c}=Zc(W_,void 0),u=Hl(null),d=()=>{if(Kl(o)||n.disabled)return !0},p=Ql(n,"trigger"),f=Pg(d,ey(p,"hover",l)),h=Pg(d,ey(p,"hover",s)),g=Pg(d,ey(p,"click",(e=>{0===e.button&&c(e);}))),m=Pg(d,ey(p,"focus",l)),b=Pg(d,ey(p,"focus",s)),v=Pg(d,ey(p,"contextmenu",(e=>{e.preventDefault(),c(e);}))),_=Pg(d,(e=>{const{code:t}=e;n.triggerKeys.includes(t)&&(e.preventDefault(),c(e));}));return t({triggerRef:u}),(e,t)=>(zu(),Fu(Kl(g_),{id:Kl(a),"virtual-ref":e.virtualRef,open:Kl(i),"virtual-triggering":e.virtualTriggering,class:hi(Kl(r).e("trigger")),onBlur:Kl(b),onClick:Kl(g),onContextmenu:Kl(v),onFocus:Kl(m),onMouseenter:Kl(f),onMouseleave:Kl(h),onKeydown:Kl(_)},{default:As((()=>[wc(e.$slots,"default")])),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}}),[["__file","trigger.vue"]]);var ny=Nv(rc({...rc({name:"ElTooltipContent",inheritAttrs:!1}),props:K_,setup(e,{expose:t}){const n=e,{selector:r}=Sv(),o=qm("tooltip"),a=Hl(null),i=Hl(!1),{controlled:l,id:s,open:c,trigger:u,onClose:d,onOpen:p,onShow:f,onHide:h,onBeforeShow:g,onBeforeHide:m}=Zc(W_,void 0),b=hd((()=>n.transition||`${o.namespace.value}-fade-in-linear`)),v=hd((()=>n.persistent));mc((()=>{i.value=!0;}));const _=hd((()=>!!Kl(v)||Kl(c))),y=hd((()=>!n.disabled&&Kl(c))),x=hd((()=>n.appendTo||r.value)),k=hd((()=>{var e;return null!=(e=n.style)?e:{}})),w=hd((()=>!Kl(c))),S=()=>{h();},C=()=>{if(Kl(l))return !0},E=Pg(C,(()=>{n.enterable&&"hover"===Kl(u)&&p();})),A=Pg(C,(()=>{"hover"===Kl(u)&&d();})),j=()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.updatePopper)||t.call(e),null==g||g();},$=()=>{null==m||m();},O=()=>{f(),T=function(e,t,n={}){const{window:r=Kg,ignore:o=[],capture:a=!0,detectIframe:i=!1}=n;if(!r)return;Hg&&!Zg&&(Zg=!0,Array.from(r.document.body.children).forEach((e=>e.addEventListener("click",Vg))));let l=!0;const s=e=>o.some((t=>{if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)));{const n=Wg(t);return n&&(e.target===n||e.composedPath().includes(n))}})),c=[Gg(r,"click",(n=>{const r=Wg(e);r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(l=!s(n)),l?t(n):l=!0);}),{passive:!0,capture:a}),Gg(r,"pointerdown",(t=>{const n=Wg(e);n&&(l=!t.composedPath().includes(n)&&!s(t));}),{passive:!0}),i&&Gg(r,"blur",(n=>{var o;const a=Wg(e);"IFRAME"!==(null==(o=r.document.activeElement)?void 0:o.tagName)||(null==a?void 0:a.contains(r.document.activeElement))||t(n);}))].filter(Boolean);return ()=>c.forEach((e=>e()))}(hd((()=>{var e;return null==(e=a.value)?void 0:e.popperContentRef})),(()=>{if(Kl(l))return;"hover"!==Kl(u)&&d();}));},z=()=>{n.virtualTriggering||d();};let T;return Bs((()=>Kl(c)),(e=>{e||null==T||T();}),{flush:"post"}),Bs((()=>n.content),(()=>{var e,t;null==(t=null==(e=a.value)?void 0:e.updatePopper)||t.call(e);})),t({contentRef:a}),(e,t)=>(zu(),Fu(wu,{disabled:!e.teleported,to:Kl(x)},[Hu(wd,{name:Kl(b),onAfterLeave:S,onBeforeEnter:j,onAfterEnter:O,onBeforeLeave:$},{default:As((()=>[Kl(_)?Us((zu(),Fu(Kl(U_),Ju({key:0,id:Kl(s),ref_key:"contentRef",ref:a},e.$attrs,{"aria-label":e.ariaLabel,"aria-hidden":Kl(w),"boundaries-padding":e.boundariesPadding,"fallback-placements":e.fallbackPlacements,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,placement:e.placement,"popper-options":e.popperOptions,strategy:e.strategy,effect:e.effect,enterable:e.enterable,pure:e.pure,"popper-class":e.popperClass,"popper-style":[e.popperStyle,Kl(k)],"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,visible:Kl(y),"z-index":e.zIndex,onMouseenter:Kl(E),onMouseleave:Kl(A),onBlur:z,onClose:Kl(d)}),{default:As((()=>[i.value?Wu("v-if",!0):wc(e.$slots,"default",{key:0})])),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","onMouseenter","onMouseleave","onClose"])),[[Fd,Kl(y)]]):Wu("v-if",!0)])),_:3},8,["name"])],8,["disabled","to"]))}}),[["__file","content.vue"]]);const ry=["innerHTML"],oy={key:1};const ay=jm(Nv(rc({...rc({name:"ElTooltip"}),props:Q_,emits:X_,setup(e,{expose:t,emit:n}){const r=e;Cv();const o=yv(),a=Hl(),i=Hl(),l=()=>{var e;const t=Kl(a);t&&(null==(e=t.popperInstanceRef)||e.update());},s=Hl(!1),c=Hl(),{show:u,hide:d,hasUpdateHandler:p}=Y_({indicator:s,toggleReason:c}),{onOpen:f,onClose:h}=(({showAfter:e,hideAfter:t,autoClose:n,open:r,close:o})=>{const{registerTimeout:a}=mv(),{registerTimeout:i,cancelTimeout:l}=mv();return {onOpen:t=>{a((()=>{r(t);const e=Kl(n);pm(e)&&e>0&&i((()=>{o(t);}),e);}),Kl(e));},onClose:e=>{l(),a((()=>{o(e);}),Kl(t));}}})({showAfter:Ql(r,"showAfter"),hideAfter:Ql(r,"hideAfter"),autoClose:Ql(r,"autoClose"),open:u,close:d}),g=hd((()=>dm(r.visible)&&!p.value));Gc(W_,{controlled:g,id:o,open:$l(s),trigger:Ql(r,"trigger"),onOpen:e=>{f(e);},onClose:e=>{h(e);},onToggle:e=>{Kl(s)?h(e):f(e);},onShow:()=>{n("show",c.value);},onHide:()=>{n("hide",c.value);},onBeforeShow:()=>{n("before-show",c.value);},onBeforeHide:()=>{n("before-hide",c.value);},updatePopper:l}),Bs((()=>r.disabled),(e=>{e&&s.value&&(s.value=!1);}));return lc((()=>s.value&&d())),t({popperRef:a,contentRef:i,isFocusInsideContent:e=>{var t,n;const r=null==(n=null==(t=i.value)?void 0:t.contentRef)?void 0:n.popperContentRef,o=(null==e?void 0:e.relatedTarget)||document.activeElement;return r&&r.contains(o)},updatePopper:l,onOpen:f,onClose:h,hide:d}),(e,t)=>(zu(),Fu(Kl(q_),{ref_key:"popperRef",ref:a,role:e.role},{default:As((()=>[Hu(ty,{disabled:e.disabled,trigger:e.trigger,"trigger-keys":e.triggerKeys,"virtual-ref":e.virtualRef,"virtual-triggering":e.virtualTriggering},{default:As((()=>[e.$slots.default?wc(e.$slots,"default",{key:0}):Wu("v-if",!0)])),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering"]),Hu(ny,{ref_key:"contentRef",ref:i,"aria-label":e.ariaLabel,"boundaries-padding":e.boundariesPadding,content:e.content,disabled:e.disabled,effect:e.effect,enterable:e.enterable,"fallback-placements":e.fallbackPlacements,"hide-after":e.hideAfter,"gpu-acceleration":e.gpuAcceleration,offset:e.offset,persistent:e.persistent,"popper-class":e.popperClass,"popper-style":e.popperStyle,placement:e.placement,"popper-options":e.popperOptions,pure:e.pure,"raw-content":e.rawContent,"reference-el":e.referenceEl,"trigger-target-el":e.triggerTargetEl,"show-after":e.showAfter,strategy:e.strategy,teleported:e.teleported,transition:e.transition,"virtual-triggering":e.virtualTriggering,"z-index":e.zIndex,"append-to":e.appendTo},{default:As((()=>[wc(e.$slots,"content",{},(()=>[e.rawContent?(zu(),Iu("span",{key:0,innerHTML:e.content},null,8,ry)):(zu(),Iu("span",oy,_i(e.content),1))])),e.showArrow?(zu(),Fu(Kl(u_),{key:0,"arrow-offset":e.arrowOffset},null,8,["arrow-offset"])):Wu("v-if",!0)])),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to"])])),_:3},8,["role"]))}}),[["__file","tooltip.vue"]])),iy=Symbol("buttonGroupContextKey"),ly=(e,t)=>{(({from:e,replacement:t,scope:n,version:r,ref:o,type:a="API"},i)=>{Bs((()=>Kl(i)),(e=>{}),{immediate:!0});})({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},hd((()=>"text"===e.type)));const n=Zc(iy,void 0),r=Iv("button"),{form:o}=Kv(),a=qv(hd((()=>null==n?void 0:n.size))),i=Wv(),l=Hl(),s=$c(),c=hd((()=>e.type||(null==n?void 0:n.type)||"")),u=hd((()=>{var t,n,o;return null!=(o=null!=(n=e.autoInsertSpace)?n:null==(t=r.value)?void 0:t.autoInsertSpace)&&o})),d=hd((()=>"button"===e.tag?{ariaDisabled:i.value||e.loading,disabled:i.value||e.loading,autofocus:e.autofocus,type:e.nativeType}:{})),p=hd((()=>{var e;const t=null==(e=s.default)?void 0:e.call(s);if(u.value&&1===(null==t?void 0:t.length)){const e=t[0];if((null==e?void 0:e.type)===Eu){const t=e.children;return new RegExp("^\\p{Unified_Ideograph}{2}$","u").test(t.trim())}}return !1}));return {_disabled:i,_size:a,_type:c,_ref:l,_props:d,shouldAddSpace:p,handleClick:n=>{"reset"===e.nativeType&&(null==o||o.resetFields()),t("click",n);}}},sy=Cm({size:Ov,disabled:Boolean,type:{type:String,values:["default","primary","success","warning","info","danger","text",""],default:""},icon:{type:Em},nativeType:{type:String,values:["button","submit","reset"],default:"button"},loading:Boolean,loadingIcon:{type:Em,default:()=>xm},plain:Boolean,text:Boolean,link:Boolean,bg:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:[String,Object],default:"button"}}),cy={click:e=>e instanceof MouseEvent};function uy(e,t){(function(e){return "string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return "string"==typeof e&&-1!==e.indexOf("%")}(e);return e=360===t?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:e=360===t?(e<0?e%t+t:e%t)/parseFloat(String(t)):e%t/parseFloat(String(t))}function dy(e){return Math.min(1,Math.max(0,e))}function py(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function fy(e){return e<=1?"".concat(100*Number(e),"%"):e}function hy(e){return 1===e.length?"0"+e:String(e)}function gy(e,t,n){e=uy(e,255),t=uy(t,255),n=uy(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=0,l=(r+o)/2;if(r===o)i=0,a=0;else {var s=r-o;switch(i=l>.5?s/(2-r-o):s/(r+o),r){case e:a=(t-n)/s+(t<n?6:0);break;case t:a=(n-e)/s+2;break;case n:a=(e-t)/s+4;}a/=6;}return {h:a,s:i,l:l}}function my(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function by(e,t,n){e=uy(e,255),t=uy(t,255),n=uy(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),a=0,i=r,l=r-o,s=0===r?0:l/r;if(r===o)a=0;else {switch(r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;}a/=6;}return {h:a,s:s,v:i}}function vy(e,t,n,r){var o=[hy(Math.round(e).toString(16)),hy(Math.round(t).toString(16)),hy(Math.round(n).toString(16))];return r&&o[0].startsWith(o[0].charAt(1))&&o[1].startsWith(o[1].charAt(1))&&o[2].startsWith(o[2].charAt(1))?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function _y(e){return yy(e)/255}function yy(e){return parseInt(e,16)}var xy={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function ky(e){var t,n,r,o={r:0,g:0,b:0},a=1,i=null,l=null,s=null,c=!1,u=!1;return "string"==typeof e&&(e=function(e){if(e=e.trim().toLowerCase(),0===e.length)return !1;var t=!1;if(xy[e])e=xy[e],t=!0;else if("transparent"===e)return {r:0,g:0,b:0,a:0,format:"name"};var n=Ey.rgb.exec(e);if(n)return {r:n[1],g:n[2],b:n[3]};if(n=Ey.rgba.exec(e),n)return {r:n[1],g:n[2],b:n[3],a:n[4]};if(n=Ey.hsl.exec(e),n)return {h:n[1],s:n[2],l:n[3]};if(n=Ey.hsla.exec(e),n)return {h:n[1],s:n[2],l:n[3],a:n[4]};if(n=Ey.hsv.exec(e),n)return {h:n[1],s:n[2],v:n[3]};if(n=Ey.hsva.exec(e),n)return {h:n[1],s:n[2],v:n[3],a:n[4]};if(n=Ey.hex8.exec(e),n)return {r:yy(n[1]),g:yy(n[2]),b:yy(n[3]),a:_y(n[4]),format:t?"name":"hex8"};if(n=Ey.hex6.exec(e),n)return {r:yy(n[1]),g:yy(n[2]),b:yy(n[3]),format:t?"name":"hex"};if(n=Ey.hex4.exec(e),n)return {r:yy(n[1]+n[1]),g:yy(n[2]+n[2]),b:yy(n[3]+n[3]),a:_y(n[4]+n[4]),format:t?"name":"hex8"};if(n=Ey.hex3.exec(e),n)return {r:yy(n[1]+n[1]),g:yy(n[2]+n[2]),b:yy(n[3]+n[3]),format:t?"name":"hex"};return !1}(e)),"object"==typeof e&&(Ay(e.r)&&Ay(e.g)&&Ay(e.b)?(t=e.r,n=e.g,r=e.b,o={r:255*uy(t,255),g:255*uy(n,255),b:255*uy(r,255)},c=!0,u="%"===String(e.r).substr(-1)?"prgb":"rgb"):Ay(e.h)&&Ay(e.s)&&Ay(e.v)?(i=fy(e.s),l=fy(e.v),o=function(e,t,n){e=6*uy(e,360),t=uy(t,100),n=uy(n,100);var r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6;return {r:255*[n,i,a,a,l,n][s],g:255*[l,n,n,i,a,a][s],b:255*[a,a,l,n,n,i][s]}}(e.h,i,l),c=!0,u="hsv"):Ay(e.h)&&Ay(e.s)&&Ay(e.l)&&(i=fy(e.s),s=fy(e.l),o=function(e,t,n){var r,o,a;if(e=uy(e,360),t=uy(t,100),n=uy(n,100),0===t)o=n,a=n,r=n;else {var i=n<.5?n*(1+t):n+t-n*t,l=2*n-i;r=my(l,i,e+1/3),o=my(l,i,e),a=my(l,i,e-1/3);}return {r:255*r,g:255*o,b:255*a}}(e.h,i,s),c=!0,u="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(a=e.a)),a=py(a),{ok:c,format:e.format||u,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:a}}var wy="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),Sy="[\\s|\\(]+(".concat(wy,")[,|\\s]+(").concat(wy,")[,|\\s]+(").concat(wy,")\\s*\\)?"),Cy="[\\s|\\(]+(".concat(wy,")[,|\\s]+(").concat(wy,")[,|\\s]+(").concat(wy,")[,|\\s]+(").concat(wy,")\\s*\\)?"),Ey={CSS_UNIT:new RegExp(wy),rgb:new RegExp("rgb"+Sy),rgba:new RegExp("rgba"+Cy),hsl:new RegExp("hsl"+Sy),hsla:new RegExp("hsla"+Cy),hsv:new RegExp("hsv"+Sy),hsva:new RegExp("hsva"+Cy),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function Ay(e){return Boolean(Ey.CSS_UNIT.exec(String(e)))}var jy=function(){function e(t,n){var r;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"==typeof t&&(t=function(e){return {r:e>>16,g:(65280&e)>>8,b:255&e}}(t)),this.originalInput=t;var o=ky(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(r=n.format)&&void 0!==r?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok;}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return !this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return (299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return .2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=py(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.isMonochrome=function(){return 0===this.toHsl().s},e.prototype.toHsv=function(){var e=by(this.r,this.g,this.b);return {h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=by(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=gy(this.r,this.g,this.b);return {h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=gy(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),r=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(r,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(r,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),vy(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),function(e,t,n,r,o){var a,i=[hy(Math.round(e).toString(16)),hy(Math.round(t).toString(16)),hy(Math.round(n).toString(16)),hy((a=r,Math.round(255*parseFloat(a)).toString(16)))];return o&&i[0].startsWith(i[0].charAt(1))&&i[1].startsWith(i[1].charAt(1))&&i[2].startsWith(i[2].charAt(1))&&i[3].startsWith(i[3].charAt(1))?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toHexShortString=function(e){return void 0===e&&(e=!1),1===this.a?this.toHexString(e):this.toHex8String(e)},e.prototype.toRgb=function(){return {r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return "".concat(Math.round(100*uy(e,255)),"%")};return {r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*uy(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return "transparent";if(this.a<1)return !1;for(var e="#"+vy(this.r,this.g,this.b,!1),t=0,n=Object.entries(xy);t<n.length;t++){var r=n[t],o=r[0];if(e===r[1])return o}return !1},e.prototype.toString=function(e){var t=Boolean(e);e=null!=e?e:this.format;var n=!1,r=this.a<1&&this.a>=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return (Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=dy(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=dy(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=dy(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=dy(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),a=n/100;return new e({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,a=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(new e(r));return a},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,a=n.v,i=[],l=1/t;t--;)i.push(new e({h:r,s:o,v:a})),a=(a+l)%1;return i},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return [this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb(),o=n.a+r.a*(1-n.a);return new e({r:(n.r*n.a+r.r*r.a*(1-n.a))/o,g:(n.g*n.a+r.g*r.a*(1-n.a))/o,b:(n.b*n.a+r.b*r.a*(1-n.a))/o,a:o})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],a=360/t,i=1;i<t;i++)o.push(new e({h:(r+i*a)%360,s:n.s,l:n.l}));return o},e.prototype.equals=function(t){return this.toRgbString()===new e(t).toRgbString()},e}();function $y(e,t=20){return e.mix("#141414",t).toString()}var Oy=Nv(rc({...rc({name:"ElButton"}),props:sy,emits:cy,setup(e,{expose:t,emit:n}){const r=e,o=function(e){const t=Wv(),n=qm("button");return hd((()=>{let r={};const o=e.color;if(o){const a=new jy(o),i=e.dark?a.tint(20).toString():$y(a,20);if(e.plain)r=n.cssVarBlock({"bg-color":e.dark?$y(a,90):a.tint(90).toString(),"text-color":o,"border-color":e.dark?$y(a,50):a.tint(50).toString(),"hover-text-color":`var(${n.cssVarName("color-white")})`,"hover-bg-color":o,"hover-border-color":o,"active-bg-color":i,"active-text-color":`var(${n.cssVarName("color-white")})`,"active-border-color":i}),t.value&&(r[n.cssVarBlockName("disabled-bg-color")]=e.dark?$y(a,90):a.tint(90).toString(),r[n.cssVarBlockName("disabled-text-color")]=e.dark?$y(a,50):a.tint(50).toString(),r[n.cssVarBlockName("disabled-border-color")]=e.dark?$y(a,80):a.tint(80).toString());else {const l=e.dark?$y(a,30):a.tint(30).toString(),s=a.isDark()?`var(${n.cssVarName("color-white")})`:`var(${n.cssVarName("color-black")})`;if(r=n.cssVarBlock({"bg-color":o,"text-color":s,"border-color":o,"hover-bg-color":l,"hover-text-color":s,"hover-border-color":l,"active-bg-color":i,"active-border-color":i}),t.value){const t=e.dark?$y(a,50):a.tint(50).toString();r[n.cssVarBlockName("disabled-bg-color")]=t,r[n.cssVarBlockName("disabled-text-color")]=e.dark?"rgba(255, 255, 255, 0.5)":`var(${n.cssVarName("color-white")})`,r[n.cssVarBlockName("disabled-border-color")]=t;}}}return r}))}(r),a=qm("button"),{_ref:i,_size:l,_type:s,_disabled:c,_props:u,shouldAddSpace:d,handleClick:p}=ly(r,n);return t({ref:i,size:l,type:s,disabled:c,shouldAddSpace:d}),(e,t)=>(zu(),Fu(Ls(e.tag),Ju({ref_key:"_ref",ref:i},Kl(u),{class:[Kl(a).b(),Kl(a).m(Kl(s)),Kl(a).m(Kl(l)),Kl(a).is("disabled",Kl(c)),Kl(a).is("loading",e.loading),Kl(a).is("plain",e.plain),Kl(a).is("round",e.round),Kl(a).is("circle",e.circle),Kl(a).is("text",e.text),Kl(a).is("link",e.link),Kl(a).is("has-bg",e.bg)],style:Kl(o),onClick:Kl(p)}),{default:As((()=>[e.loading?(zu(),Iu(Cu,{key:0},[e.$slots.loading?wc(e.$slots,"loading",{key:0}):(zu(),Fu(Kl(Vv),{key:1,class:hi(Kl(a).is("loading"))},{default:As((()=>[(zu(),Fu(Ls(e.loadingIcon)))])),_:1},8,["class"]))],64)):e.icon||e.$slots.icon?(zu(),Fu(Kl(Vv),{key:1},{default:As((()=>[e.icon?(zu(),Fu(Ls(e.icon),{key:0})):wc(e.$slots,"icon",{key:1})])),_:3})):Wu("v-if",!0),e.$slots.default?(zu(),Iu("span",{key:2,class:hi({[Kl(a).em("text","expand")]:Kl(d)})},[wc(e.$slots,"default")],2)):Wu("v-if",!0)])),_:3},16,["class","style","onClick"]))}}),[["__file","button.vue"]]);const zy={size:sy.size,type:sy.type};var Ty=Nv(rc({...rc({name:"ElButtonGroup"}),props:zy,setup(e){const t=e;Gc(iy,jl({size:Ql(t,"size"),type:Ql(t,"type")}));const n=qm("button");return (e,t)=>(zu(),Iu("div",{class:hi(`${Kl(n).b("group")}`)},[wc(e.$slots,"default")],2))}}),[["__file","button-group.vue"]]);const My=jm(Oy,{ButtonGroup:Ty});Ty.install=Ea;const Ly=new Map;let Iy;function Fy(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:fm(t.arg)&&n.push(t.arg),function(r,o){const a=t.instance.popperRef,i=r.target,l=null==o?void 0:o.target,s=!t||!t.instance,c=!i||!l,u=e.contains(i)||e.contains(l),d=e===i,p=n.length&&n.some((e=>null==e?void 0:e.contains(i)))||n.length&&n.includes(l),f=a&&(a.contains(i)||a.contains(l));s||c||u||d||p||f||t.value(r,o);}}Ng&&(document.addEventListener("mousedown",(e=>Iy=e)),document.addEventListener("mouseup",(e=>{for(const t of Ly.values())for(const{documentHandler:n}of t)n(e,Iy);})));const Ry={beforeMount(e,t){Ly.has(e)||Ly.set(e,[]),Ly.get(e).push({documentHandler:Fy(e,t),bindingFn:t.value});},updated(e,t){Ly.has(e)||Ly.set(e,[]);const n=Ly.get(e),r=n.findIndex((e=>e.bindingFn===t.oldValue)),o={documentHandler:Fy(e,t),bindingFn:t.value};r>=0?n.splice(r,1,o):n.push(o);},unmounted(e){Ly.delete(e);}},Py=Cm({color:{type:Object,required:!0},vertical:{type:Boolean,default:!1}});let By=!1;function Ny(e,t){if(!Ng)return;const n=function(e){var n;null==(n=t.drag)||n.call(t,e);},r=function(e){var o;document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchmove",n),document.removeEventListener("touchend",r),document.onselectstart=null,document.ondragstart=null,By=!1,null==(o=t.end)||o.call(t,e);},o=function(e){var o;By||(e.preventDefault(),document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",n),document.addEventListener("mouseup",r),document.addEventListener("touchmove",n),document.addEventListener("touchend",r),By=!0,null==(o=t.start)||o.call(t,e));};e.addEventListener("mousedown",o),e.addEventListener("touchstart",o);}const Dy=(e,{bar:t,thumb:n,handleDrag:r})=>{const o=td(),a=qm("color-alpha-slider"),i=Hl(0),l=Hl(0),s=Hl();function c(){i.value=function(){if(!n.value)return 0;if(e.vertical)return 0;const t=o.vnode.el,r=e.color.get("alpha");return t?Math.round(r*(t.offsetWidth-n.value.offsetWidth/2)/100):0}(),l.value=function(){if(!n.value)return 0;const t=o.vnode.el;if(!e.vertical)return 0;const r=e.color.get("alpha");return t?Math.round(r*(t.offsetHeight-n.value.offsetHeight/2)/100):0}(),s.value=function(){if(e.color&&e.color.value){const{r:t,g:n,b:r}=e.color.toRgb();return `linear-gradient(to right, rgba(${t}, ${n}, ${r}, 0) 0%, rgba(${t}, ${n}, ${r}, 1) 100%)`}return ""}();}fc((()=>{if(!t.value||!n.value)return;const e={drag:e=>{r(e);},end:e=>{r(e);}};Ny(t.value,e),Ny(n.value,e),c();})),Bs((()=>e.color.get("alpha")),(()=>c())),Bs((()=>e.color.value),(()=>c()));const u=hd((()=>[a.b(),a.is("vertical",e.vertical)])),d=hd((()=>a.e("bar"))),p=hd((()=>a.e("thumb")));return {rootKls:u,barKls:d,barStyle:hd((()=>({background:s.value}))),thumbKls:p,thumbStyle:hd((()=>({left:gm(i.value),top:gm(l.value)}))),update:c}};var Vy=Nv(rc({...rc({name:"ElColorAlphaSlider"}),props:Py,setup(e,{expose:t}){const n=e,{bar:r,thumb:o,handleDrag:a,handleClick:i}=(e=>{const t=td(),n=Ul(),r=Ul();function o(o){if(!r.value||!n.value)return;const a=t.vnode.el.getBoundingClientRect(),{clientX:i,clientY:l}=um(o);if(e.vertical){let t=l-a.top;t=Math.max(n.value.offsetHeight/2,t),t=Math.min(t,a.height-n.value.offsetHeight/2),e.color.set("alpha",Math.round((t-n.value.offsetHeight/2)/(a.height-n.value.offsetHeight)*100));}else {let t=i-a.left;t=Math.max(n.value.offsetWidth/2,t),t=Math.min(t,a.width-n.value.offsetWidth/2),e.color.set("alpha",Math.round((t-n.value.offsetWidth/2)/(a.width-n.value.offsetWidth)*100));}}return {thumb:n,bar:r,handleDrag:o,handleClick:function(e){e.target!==n.value&&o(e);}}})(n),{rootKls:l,barKls:s,barStyle:c,thumbKls:u,thumbStyle:d,update:p}=Dy(n,{bar:r,thumb:o,handleDrag:a});return t({update:p,bar:r,thumb:o}),(e,t)=>(zu(),Iu("div",{class:hi(Kl(l))},[Vu("div",{ref_key:"bar",ref:r,class:hi(Kl(s)),style:ci(Kl(c)),onClick:t[0]||(t[0]=(...e)=>Kl(i)&&Kl(i)(...e))},null,6),Vu("div",{ref_key:"thumb",ref:o,class:hi(Kl(u)),style:ci(Kl(d))},null,6)],2))}}),[["__file","alpha-slider.vue"]]);var Hy=Nv(rc({name:"ElColorHueSlider",props:{color:{type:Object,required:!0},vertical:Boolean},setup(e){const t=qm("color-hue-slider"),n=td(),r=Hl(),o=Hl(),a=Hl(0),i=Hl(0),l=hd((()=>e.color.get("hue")));function s(t){if(!o.value||!r.value)return;const a=n.vnode.el.getBoundingClientRect(),{clientX:i,clientY:l}=um(t);let s;if(e.vertical){let e=l-a.top;e=Math.min(e,a.height-r.value.offsetHeight/2),e=Math.max(r.value.offsetHeight/2,e),s=Math.round((e-r.value.offsetHeight/2)/(a.height-r.value.offsetHeight)*360);}else {let e=i-a.left;e=Math.min(e,a.width-r.value.offsetWidth/2),e=Math.max(r.value.offsetWidth/2,e),s=Math.round((e-r.value.offsetWidth/2)/(a.width-r.value.offsetWidth)*360);}e.color.set("hue",s);}function c(){a.value=function(){if(!r.value)return 0;const t=n.vnode.el;if(e.vertical)return 0;const o=e.color.get("hue");return t?Math.round(o*(t.offsetWidth-r.value.offsetWidth/2)/360):0}(),i.value=function(){if(!r.value)return 0;const t=n.vnode.el;if(!e.vertical)return 0;const o=e.color.get("hue");return t?Math.round(o*(t.offsetHeight-r.value.offsetHeight/2)/360):0}();}return Bs((()=>l.value),(()=>{c();})),fc((()=>{if(!o.value||!r.value)return;const e={drag:e=>{s(e);},end:e=>{s(e);}};Ny(o.value,e),Ny(r.value,e),c();})),{bar:o,thumb:r,thumbLeft:a,thumbTop:i,hueValue:l,handleClick:function(e){e.target!==r.value&&s(e);},update:c,ns:t}}}),[["render",function(e,t,n,r,o,a){return zu(),Iu("div",{class:hi([e.ns.b(),e.ns.is("vertical",e.vertical)])},[Vu("div",{ref:"bar",class:hi(e.ns.e("bar")),onClick:t[0]||(t[0]=(...t)=>e.handleClick&&e.handleClick(...t))},null,2),Vu("div",{ref:"thumb",class:hi(e.ns.e("thumb")),style:ci({left:e.thumbLeft+"px",top:e.thumbTop+"px"})},null,6)],2)}],["__file","hue-slider.vue"]]);const Uy=Cm({modelValue:String,id:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:Ov,popperClass:{type:String,default:""},label:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},predefine:{type:Array},validateEvent:{type:Boolean,default:!0}}),qy={[Mm]:e=>Ba(e)||qo(e),change:e=>Ba(e)||qo(e),activeChange:e=>Ba(e)||qo(e),focus:e=>e instanceof FocusEvent,blur:e=>e instanceof FocusEvent},Wy=Symbol("colorPickerContextKey"),Ky=function(e,t,n){return [e,t*n/((e=(2-t)*n)<1?e:2-e)||0,e/2]},Gy=function(e,t){var n;"string"==typeof(n=e)&&n.includes(".")&&1===Number.parseFloat(n)&&(e="100%");const r=function(e){return "string"==typeof e&&e.includes("%")}(e);return e=Math.min(t,Math.max(0,Number.parseFloat(`${e}`))),r&&(e=Number.parseInt(""+e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/Number.parseFloat(t)},Zy={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},Jy=e=>{e=Math.min(Math.round(e),255);const t=Math.floor(e/16),n=e%16;return `${Zy[t]||t}${Zy[n]||n}`},Yy=function({r:e,g:t,b:n}){return Number.isNaN(+e)||Number.isNaN(+t)||Number.isNaN(+n)?"":`#${Jy(e)}${Jy(t)}${Jy(n)}`},Qy={A:10,B:11,C:12,D:13,E:14,F:15},Xy=function(e){return 2===e.length?16*(Qy[e[0].toUpperCase()]||+e[0])+(Qy[e[1].toUpperCase()]||+e[1]):Qy[e[1].toUpperCase()]||+e[1]},ex=(e,t,n)=>{e=Gy(e,255),t=Gy(t,255),n=Gy(n,255);const r=Math.max(e,t,n),o=Math.min(e,t,n);let a;const i=r,l=r-o,s=0===r?0:l/r;if(r===o)a=0;else {switch(r){case e:a=(t-n)/l+(t<n?6:0);break;case t:a=(n-e)/l+2;break;case n:a=(e-t)/l+4;}a/=6;}return {h:360*a,s:100*s,v:100*i}},tx=function(e,t,n){e=6*Gy(e,360),t=Gy(t,100),n=Gy(n,100);const r=Math.floor(e),o=e-r,a=n*(1-t),i=n*(1-o*t),l=n*(1-(1-o)*t),s=r%6,c=[n,i,a,a,l,n][s],u=[l,n,n,i,a,a][s],d=[a,a,l,n,n,i][s];return {r:Math.round(255*c),g:Math.round(255*u),b:Math.round(255*d)}};class nx{constructor(e={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="";for(const t in e)Ma(e,t)&&(this[t]=e[t]);e.value?this.fromString(e.value):this.doOnChange();}set(e,t){if(1!==arguments.length||"object"!=typeof e)this[`_${e}`]=t,this.doOnChange();else for(const n in e)Ma(e,n)&&this.set(n,e[n]);}get(e){return "alpha"===e?Math.floor(this[`_${e}`]):this[`_${e}`]}toRgb(){return tx(this._hue,this._saturation,this._value)}fromString(e){if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();const t=(e,t,n)=>{this._hue=Math.max(0,Math.min(360,e)),this._saturation=Math.max(0,Math.min(100,t)),this._value=Math.max(0,Math.min(100,n)),this.doOnChange();};if(e.includes("hsl")){const n=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:r,v:o}=function(e,t,n){n/=100;let r=t/=100;const o=Math.max(n,.01);return t*=(n*=2)<=1?n:2-n,r*=o<=1?o:2-o,{h:e,s:100*(0===n?2*r/(o+r):2*t/(n+t)),v:(n+t)/2*100}}(n[0],n[1],n[2]);t(e,r,o);}}else if(e.includes("hsv")){const n=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3&&t(n[0],n[1],n[2]);}else if(e.includes("rgb")){const n=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter((e=>""!==e)).map(((e,t)=>t>2?Number.parseFloat(e):Number.parseInt(e,10)));if(4===n.length?this._alpha=100*Number.parseFloat(n[3]):3===n.length&&(this._alpha=100),n.length>=3){const{h:e,s:r,v:o}=ex(n[0],n[1],n[2]);t(e,r,o);}}else if(e.includes("#")){const n=e.replace("#","").trim();if(!/^[0-9a-fA-F]{3}$|^[0-9a-fA-F]{6}$|^[0-9a-fA-F]{8}$/.test(n))return;let r,o,a;3===n.length?(r=Xy(n[0]+n[0]),o=Xy(n[1]+n[1]),a=Xy(n[2]+n[2])):6!==n.length&&8!==n.length||(r=Xy(n.slice(0,2)),o=Xy(n.slice(2,4)),a=Xy(n.slice(4,6))),8===n.length?this._alpha=Xy(n.slice(6))/255*100:3!==n.length&&6!==n.length||(this._alpha=100);const{h:i,s:l,v:s}=ex(r,o,a);t(i,l,s);}}compare(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}doOnChange(){const{_hue:e,_saturation:t,_value:n,_alpha:r,format:o}=this;if(this.enableAlpha)switch(o){case"hsl":{const r=Ky(e,t/100,n/100);this.value=`hsla(${e}, ${Math.round(100*r[1])}%, ${Math.round(100*r[2])}%, ${this.get("alpha")/100})`;break}case"hsv":this.value=`hsva(${e}, ${Math.round(t)}%, ${Math.round(n)}%, ${this.get("alpha")/100})`;break;case"hex":this.value=`${Yy(tx(e,t,n))}${Jy(255*r/100)}`;break;default:{const{r:r,g:o,b:a}=tx(e,t,n);this.value=`rgba(${r}, ${o}, ${a}, ${this.get("alpha")/100})`;}}else switch(o){case"hsl":{const r=Ky(e,t/100,n/100);this.value=`hsl(${e}, ${Math.round(100*r[1])}%, ${Math.round(100*r[2])}%)`;break}case"hsv":this.value=`hsv(${e}, ${Math.round(t)}%, ${Math.round(n)}%)`;break;case"rgb":{const{r:r,g:o,b:a}=tx(e,t,n);this.value=`rgb(${r}, ${o}, ${a})`;break}default:this.value=Yy(tx(e,t,n));}}}const rx=["onClick"];var ox=Nv(rc({props:{colors:{type:Array,required:!0},color:{type:Object,required:!0}},setup(e){const t=qm("color-predefine"),{currentColor:n}=Zc(Wy),r=Hl(a(e.colors,e.color));var o;function a(e,t){return e.map((e=>{const n=new nx;return n.enableAlpha=!0,n.format="rgba",n.fromString(e),n.selected=n.value===t.value,n}))}return Bs((()=>n.value),(e=>{const t=new nx;t.fromString(e),r.value.forEach((e=>{e.selected=t.compare(e);}));})),Ns((()=>{r.value=a(e.colors,e.color);}),null,o),{rgbaColors:r,handleSelect:function(t){e.color.fromString(e.colors[t]);},ns:t}}}),[["render",function(e,t,n,r,o,a){return zu(),Iu("div",{class:hi(e.ns.b())},[Vu("div",{class:hi(e.ns.e("colors"))},[(zu(!0),Iu(Cu,null,kc(e.rgbaColors,((t,n)=>(zu(),Iu("div",{key:e.colors[n],class:hi([e.ns.e("color-selector"),e.ns.is("alpha",t._alpha<100),{selected:t.selected}]),onClick:t=>e.handleSelect(n)},[Vu("div",{style:ci({backgroundColor:t.value})},null,4)],10,rx)))),128))],2)],2)}],["__file","predefine.vue"]]);const ax=rc({name:"ElSlPanel",props:{color:{type:Object,required:!0}},setup(e){const t=qm("color-svpanel"),n=td(),r=Hl(0),o=Hl(0),a=Hl("hsl(0, 100%, 50%)"),i=hd((()=>({hue:e.color.get("hue"),value:e.color.get("value")})));function l(){const t=e.color.get("saturation"),i=e.color.get("value"),l=n.vnode.el,{clientWidth:s,clientHeight:c}=l;o.value=t*s/100,r.value=(100-i)*c/100,a.value=`hsl(${e.color.get("hue")}, 100%, 50%)`;}function s(t){const a=n.vnode.el.getBoundingClientRect(),{clientX:i,clientY:l}=um(t);let s=i-a.left,c=l-a.top;s=Math.max(0,s),s=Math.min(s,a.width),c=Math.max(0,c),c=Math.min(c,a.height),o.value=s,r.value=c,e.color.set({saturation:s/a.width*100,value:100-c/a.height*100});}return Bs((()=>i.value),(()=>{l();})),fc((()=>{Ny(n.vnode.el,{drag:e=>{s(e);},end:e=>{s(e);}}),l();})),{cursorTop:r,cursorLeft:o,background:a,colorValue:i,handleDrag:s,update:l,ns:t}}}),ix=[Vu("div",null,null,-1)];var lx=Nv(ax,[["render",function(e,t,n,r,o,a){return zu(),Iu("div",{class:hi(e.ns.b()),style:ci({backgroundColor:e.background})},[Vu("div",{class:hi(e.ns.e("white"))},null,2),Vu("div",{class:hi(e.ns.e("black"))},null,2),Vu("div",{class:hi(e.ns.e("cursor")),style:ci({top:e.cursorTop+"px",left:e.cursorLeft+"px"})},ix,6)],6)}],["__file","sv-panel.vue"]]);const sx=["onKeydown"],cx=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"];const ux=jm(Nv(rc({...rc({name:"ElColorPicker"}),props:Uy,emits:qy,setup(e,{expose:t,emit:n}){const r=e,{t:o}=Nm(),a=qm("color"),{formItem:i}=Kv(),l=qv(),s=Wv(),{inputId:c,isLabeledByFormItem:u}=Gv(r,{formItemContext:i}),d=Hl(),p=Hl(),f=Hl(),h=Hl(),g=Hl(),m=Hl(),{isFocused:b,handleFocus:v,handleBlur:_}=Tv(g,{beforeBlur(e){var t;return null==(t=h.value)?void 0:t.isFocusInsideContent(e)},afterBlur(){z(!1),I();}}),y=e=>{if(s.value)return H();v(e);};let x=!0;const k=jl(new nx({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue})),w=Hl(!1),S=Hl(!1),C=Hl(""),E=hd((()=>r.modelValue||S.value?function(e,t){if(!(e instanceof nx))throw new TypeError("color should be instance of _color Class");const{r:n,g:r,b:o}=e.toRgb();return t?`rgba(${n}, ${r}, ${o}, ${e.get("alpha")/100})`:`rgb(${n}, ${r}, ${o})`}(k,r.showAlpha):"transparent")),A=hd((()=>r.modelValue||S.value?k.value:"")),j=hd((()=>u.value?void 0:r.label||o("el.colorpicker.defaultLabel"))),$=hd((()=>u.value?null==i?void 0:i.labelId:void 0)),O=hd((()=>[a.b("picker"),a.is("disabled",s.value),a.bm("picker",l.value),a.is("focused",b.value)]));function z(e){w.value=e;}const T=bo(z,100,{leading:!0});function M(){s.value||z(!0);}function L(){T(!1),I();}function I(){ds((()=>{r.modelValue?k.fromString(r.modelValue):(k.value="",ds((()=>{S.value=!1;})));}));}function F(){s.value||T(!w.value);}function R(){k.fromString(C.value);}function P(){const e=k.value;n(Mm,e),n("change",e),r.validateEvent&&(null==i||i.validate("change").catch((e=>{}))),T(!1),ds((()=>{const e=new nx({enableAlpha:r.showAlpha,format:r.colorFormat||"",value:r.modelValue});k.compare(e)||I();}));}function B(){T(!1),n(Mm,null),n("change",null),null!==r.modelValue&&r.validateEvent&&(null==i||i.validate("change").catch((e=>{}))),I();}function N(e){if(w.value&&(L(),b.value)){const t=new FocusEvent("focus",e);_(t);}}function D(e){e.preventDefault(),e.stopPropagation(),z(!1),I();}function V(e){switch(e.code){case Om:case zm:e.preventDefault(),e.stopPropagation(),M(),m.value.focus();break;case Tm:D(e);}}function H(){g.value.blur();}return fc((()=>{r.modelValue&&(C.value=A.value);})),Bs((()=>r.modelValue),(e=>{e?e&&e!==k.value&&(x=!1,k.fromString(e)):S.value=!1;})),Bs((()=>A.value),(e=>{C.value=e,x&&n("activeChange",e),x=!0;})),Bs((()=>k.value),(()=>{r.modelValue||S.value||(S.value=!0);})),Bs((()=>w.value),(()=>{ds((()=>{var e,t,n;null==(e=d.value)||e.update(),null==(t=p.value)||t.update(),null==(n=f.value)||n.update();}));})),Gc(Wy,{currentColor:A}),t({color:k,show:M,hide:L,focus:function(){g.value.focus();},blur:H}),(e,t)=>(zu(),Fu(Kl(ay),{ref_key:"popper",ref:h,visible:w.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[Kl(a).be("picker","panel"),Kl(a).b("dropdown"),e.popperClass],"stop-popper-mouse-event":!1,effect:"light",trigger:"click",transition:`${Kl(a).namespace.value}-zoom-in-top`,persistent:"",onHide:t[2]||(t[2]=e=>z(!1))},{content:As((()=>[Us((zu(),Iu("div",{onKeydown:sp(D,["esc"])},[Vu("div",{class:hi(Kl(a).be("dropdown","main-wrapper"))},[Hu(Hy,{ref_key:"hue",ref:d,class:"hue-slider",color:Kl(k),vertical:""},null,8,["color"]),Hu(lx,{ref_key:"sv",ref:p,color:Kl(k)},null,8,["color"])],2),e.showAlpha?(zu(),Fu(Vy,{key:0,ref_key:"alpha",ref:f,color:Kl(k)},null,8,["color"])):Wu("v-if",!0),e.predefine?(zu(),Fu(ox,{key:1,ref:"predefine",color:Kl(k),colors:e.predefine},null,8,["color","colors"])):Wu("v-if",!0),Vu("div",{class:hi(Kl(a).be("dropdown","btns"))},[Vu("span",{class:hi(Kl(a).be("dropdown","value"))},[Hu(Kl(o_),{ref_key:"inputRef",ref:m,modelValue:C.value,"onUpdate:modelValue":t[0]||(t[0]=e=>C.value=e),"validate-event":!1,size:"small",onKeyup:sp(R,["enter"]),onBlur:R},null,8,["modelValue","onKeyup"])],2),Hu(Kl(My),{class:hi(Kl(a).be("dropdown","link-btn")),text:"",size:"small",onClick:B},{default:As((()=>[qu(_i(Kl(o)("el.colorpicker.clear")),1)])),_:1},8,["class"]),Hu(Kl(My),{plain:"",size:"small",class:hi(Kl(a).be("dropdown","btn")),onClick:P},{default:As((()=>[qu(_i(Kl(o)("el.colorpicker.confirm")),1)])),_:1},8,["class"])],2)],40,sx)),[[Kl(Ry),N]])])),default:As((()=>[Vu("div",{id:Kl(c),ref_key:"triggerRef",ref:g,class:hi(Kl(O)),role:"button","aria-label":Kl(j),"aria-labelledby":Kl($),"aria-description":Kl(o)("el.colorpicker.description",{color:e.modelValue||""}),"aria-disabled":Kl(s),tabindex:Kl(s)?-1:e.tabindex,onKeydown:V,onFocus:y,onBlur:t[1]||(t[1]=(...e)=>Kl(_)&&Kl(_)(...e))},[Kl(s)?(zu(),Iu("div",{key:0,class:hi(Kl(a).be("picker","mask"))},null,2)):Wu("v-if",!0),Vu("div",{class:hi(Kl(a).be("picker","trigger")),onClick:F},[Vu("span",{class:hi([Kl(a).be("picker","color"),Kl(a).is("alpha",e.showAlpha)])},[Vu("span",{class:hi(Kl(a).be("picker","color-inner")),style:ci({backgroundColor:Kl(E)})},[Us(Hu(Kl(Vv),{class:hi([Kl(a).be("picker","icon"),Kl(a).is("icon-arrow-down")])},{default:As((()=>[Hu(Kl(mm))])),_:1},8,["class"]),[[Fd,e.modelValue||S.value]]),Us(Hu(Kl(Vv),{class:hi([Kl(a).be("picker","empty"),Kl(a).is("icon-close")])},{default:As((()=>[Hu(Kl(_m))])),_:1},8,["class"]),[[Fd,!e.modelValue&&!S.value]])],6)],2)],2)],42,cx)])),_:1},8,["visible","popper-class","transition"]))}}),[["__file","color-picker.vue"]]));var dx={name:"zh-cn",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:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tour:{next:"下一步",previous:"上一步",finish:"结束导览"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"}}};const px=e=>(Cs("data-v-54fb2e9b"),e=e(),Es(),e),fx={class:"theme-color-component"},hx={class:"picker"},gx=px((()=>Vu("label",{for:"light-theme"},"浅色主题",-1))),mx={class:"picker"},bx=px((()=>Vu("label",{for:"dark-theme"},"深色主题",-1))),vx=bp(rc({__name:"theme.color",setup(e){const t=Hl(kf.get().light),n=Hl(kf.get().dark);function r(){kf.set({dark:n.value,light:t.value});}function o(){kf.remove(),t.value=kf.get().light,n.value=kf.get().dark;}return (e,a)=>(zu(),Iu("div",fx,[Hu(Kl(Bv),{locale:Kl(dx)},{default:As((()=>[Vu("div",hx,[Hu(Kl(ux),{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=e=>t.value=e),id:"light-theme","popper-class":"theme-picker",size:"small",onChange:r},null,8,["modelValue"]),gx]),Vu("div",mx,[Hu(Kl(ux),{modelValue:n.value,"onUpdate:modelValue":a[1]||(a[1]=e=>n.value=e),id:"dark-theme","popper-class":"theme-picker",size:"small",onChange:r},null,8,["modelValue"]),bx]),Hu(hp,{class:"reset-button",onClick:o},{default:As((()=>[qu("重置")])),_:1})])),_:1},8,["locale"])]))}}),[["__scopeId","data-v-54fb2e9b"]]),_x=Xo((()=>({visibility:{name:"显示",icon:"visibility",description:"主题、显示设置",sub:{theme:{name:"主题",content:{"switch-theme":{title:"主题偏好设置",description:"在自动模式下,将根据当前系统设置自动选择合适的主题。你也可以手动应用某一种主题。",widgets:[{type:"select",content:{"自动":"auto","深色":"dark","浅色":"light"},init:()=>_f.get(),event(e){const t=e.target.value;_f.set(t);}}]},color:{title:"主题颜色",description:"自定义主题色。由于存在深浅两种主题,需要设置两种主题色。",widgets:[{type:"component",component:Fl(vx)}]}}},layout:{name:"页面布局",content:{"compact-layout":{title:"紧凑布局",description:"在尽量保证视觉观感的请款下,针对部分页面应用更加紧凑的布局,以提高信息密度。当前会受到影响的页面有:新版看贴页面。",widgets:[{type:"toggle",init:()=>yf.get(),event:()=>(yf.set(!yf.get()),document.body.toggleAttribute("compact-layout"),yf.get())}]},"custom-background":{title:"自定义背景图",description:"上传图片作为页面背景图",widgets:[{type:"component",component:Fl(Rg)}]},"wide-screen-title":{title:"宽屏设置",description:"针对宽屏设备进行配置",widgets:[{type:"subTitle",content:"强制拉伸画幅"},{type:"desc",content:"对于宽屏设备,不一定需要页面内容宽度始终等于屏幕宽度。如果你想应用强制宽屏,可以开启此项。"},{type:"toggle",init:()=>xf.get().noLimit,event(){const e=xf.get().noLimit;return xf.merge({noLimit:!e}),!e}},{type:"subTitle",content:"最大宽度"},{type:"desc",content:"配置页面元素跟随屏幕拉伸的最大宽度,若开启了 “强制拉伸画幅” 则此项失效"},{type:"textbox",placeHolder:"输入最大宽度像素值",init:()=>String(xf.get().maxWidth),event(e){const t=e.target.value;isNaN(+t)||xf.merge({maxWidth:+t});}}]}}},"page-extension":{name:"页面扩展",content:{index:{title:"新版主页",description:"新版主页旨在提供纯粹的浏览体验,它通过 Vue 构建。\n                            在新版主页上我们目前会更激进地测试一些新功能,包括尚未被广泛使用的新 Web API,以及自构建的 JavaScript 库。",widgets:[{type:"toggle",init:()=>Sf.get().index,event:()=>(Sf.merge({index:!Sf.get().index}),Sf.get().index)}]},thread:{title:"新版看帖页面",description:"新版看帖页面使用了全新的 UI 界面,并试图改进屏幕空间利用率。",widgets:[{type:"toggle",init:()=>Sf.get().thread,event:()=>(Sf.merge({thread:!Sf.get().thread}),Sf.get().thread)}]}}},fonts:{name:"字体",content:{"code-zh":{title:"主要字体组合",description:"应用在贴吧绝大多数场景的字体组合。",widgets:[{type:"textarea",placeHolder:"写入字体名,以换行分隔。若需要中英文混排,需将英文字体写在中文字体之前。",init:()=>Zo(Cf.get(),"\n"),event:e=>(Cf.set(ua(e.target.value,"\n")),Zo(Cf.get(),"\n"))}]},"code-monospace":{title:"等宽字体组合",description:"应用在数据显示等场景的等宽字体组合。",widgets:[{type:"textarea",placeHolder:"写入字体名,以换行分隔。建议在此处写入等宽字体。",init:()=>Zo(Ef.get(),"\n"),event:e=>(Ef.set(ua(e.target.value,"\n")),Zo(Ef.get(),"\n"))}]}}}}},modules:{name:"模块",icon:"deployed_code",description:"用户模块管理及部署",sub:jp().reduce(((e,t,n)=>{function r(e){return {name:e.name,description:e.brief,content:{"module-info":{title:e.name,description:`${e.id} ${e.version}\n                                ${e.description}`,widgets:[{type:"toggle",init:()=>!Ho(ff.get(),e.id),event(){if(Ho(ff.get(),e.id)){const t=new Set(ff.get());return t.delete(e.id),ff.set([...t]),!0}return ff.set([e.id,...ff.get()]),!1}}]},...e.settings}}}if(1===n){const t=r(e);(e={})[t.name]=t;}return e[t.name]=r(t),e}))},performance:{name:"性能",icon:"speed",description:"硬件性能与流量相关",sub:{perfPresets:{name:"性能预设",content:{persets:{title:"性能预设",description:"从以下预设性能等级选择其一,将会自动对相关场景进行行为调整。",widgets:[{type:"select",content:{"默认":"default","节能":"saver","高性能":"performance"},init:()=>pf.get(),event(e){const t=e.target.value;pf.set(t);}}]}}}}},enhanced:{name:"高级",icon:"labs",description:"提前测试一些尚不稳定的新功能",sub:{experimental:{name:"实验性功能",content:{title:{title:"实验室",description:"本版块列举了一些实验性功能,这些功能正处于开发阶段,它们当中的大部分都是默认关闭的。\n                            这些功能可能会产生已知、未知的错误或性能问题,如果这些问题能被更及时全面地反馈,将有助于整个项目的发展。\n                            需要注意的是,这些特性并不保证会保留到后续版本中。",widgets:[{type:"icon",content:"lab_research"}]}}},"backup-recover":{name:"备份与恢复",content:{"data-backup":{title:"数据备份",description:"备份脚本所有自定义配置",widgets:[{type:"button",content:"备份",event(){xh();}}]},"recover-backup":{title:"数据恢复",description:"从备份文件中恢复脚本所有自定义配置",widgets:[{type:"button",content:"恢复",event(){!async function(){const e=JSON.parse(await Lp());Ao(Object.entries(e),(([e,t])=>{ka(e,t);}));}();}}]}}},"factory-reset":{name:"重置所有配置",content:{title:{title:"重置所有配置",description:"如果你需要将脚本的一切配置恢复默认,请使用此功能。"},reset:{widgets:[{type:"button",content:"重置",event(){confirm("该操作是不可逆的,请做最后一次确认")&&(Ao(ya(),(e=>{ba(e);})),location.reload());}}]}}}}},about:{name:"关于",icon:"person",description:"开发信息与检查更新",sub:{update:{name:"检查更新",content:{"update-time":{title:"检查更新设置",description:"发行信息追踪频率",widgets:[{type:"select",content:{"1 小时":"1h","3 小时":"3h","6 小时":"6h","从不":"never"},init:()=>mf.get().time,event(e){const t=e.target.value;mf.merge({time:t});}}]},"update-notify":{description:"启用一个对话框提示用户更新。该对话框可以立即安装更新,也可以推迟更新操作。",widgets:[{type:"toggle",init:()=>mf.get().notify,event(){mf.merge({notify:!mf.get().notify});}}]},"update-component":{widgets:[{type:"component",component:Fl(Mg)}]}}},about:{name:"关于项目",content:{"about-component":{widgets:[{type:"component",component:Fl(vg)}]}}}}}}))),yx=bp(rc({__name:"toggle-button",props:{defaultValue:{type:Boolean},iconType:{type:Boolean},event:{type:Function}},setup(e){const t=e,n=Hl(),r=Hl(t.defaultValue);function o(){r.value=!r.value,t.event&&t.event(r.value);}return (e,t)=>(zu(),Fu(hp,{ref_key:"toggleButton",ref:n,class:hi(["toggle-button",{"toggle-on":r.value,"toggle-off":!r.value,"filled-icon":e.iconType&&r.value,"outline-icon":e.iconType&&!r.value}]),onClick:o,value:r.value},{default:As((()=>[wc(e.$slots,"default",{},void 0,!0)])),_:3},8,["class","value"]))}}),[["__scopeId","data-v-83f67b5d"]]),xx=bp(rc({__name:"user-textbox",props:{modelValue:{default:""},mutiLines:{type:Boolean},lodashStyle:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e){const t=e;return (e,n)=>(zu(),Fu(Ls(t.mutiLines?"textarea":"input"),{class:hi(["user-textbox",{"lodash-style":t.lodashStyle}]),type:"text",value:e.modelValue,onInput:n[0]||(n[0]=t=>e.$emit("update:modelValue",t.target.value)),autocomplete:"off"},null,40,["class","value"]))}}),[["__scopeId","data-v-a690d550"]]),kx={class:"settings-wrapper remove-default"},wx={class:"left-container"},Sx={class:"search-controls"},Cx=(e=>(Cs("data-v-2dd3ae22"),e=e(),Es(),e))((()=>Vu("div",{class:"title"},"设置",-1))),Ex={class:"left-panel"},Ax={class:"icon"},jx={class:"key-info"},$x={class:"key-title"},Ox={class:"key-desc"},zx={class:"middle-container"},Tx={class:"key-title"},Mx={key:0,class:"right-container"},Lx={class:"setting-content"},Ix={key:0,class:"content-title"},Fx={key:1,class:"content-desc"},Rx={class:"line"},Px={class:"setting-control"},Bx={key:1,class:"icon-component icon"},Nx=["onChange"],Dx=["value","selected"],Vx={key:4,class:"content-sub-title"},Hx={key:5,class:"content-desc"},Ux={class:"line"},qx=["src","alt","title","onLoad"],Wx={key:1,class:"empty-container filled-icon"},Kx=bp(rc({__name:"settings",setup(e){const t=_x(),n=Hl(""),r=Hl(),o=Hl();function a(e,n){r.value=t[e],o.value=t[e].sub[n];}function i(){r.value=void 0,o.value=void 0;}const l=bo((function(){n.value.length<=0?i():To(t,(e=>!!To(e.sub,(t=>!!t.name.toLowerCase().includes(n.value.toLowerCase())&&(r.value=e,o.value=t,!0)))))||i();}),500);return (e,i)=>{var s,c,u;return zu(),Iu("div",kx,[Vu("div",wx,[Vu("div",Sx,[Cx,Hu(xx,{modelValue:n.value,"onUpdate:modelValue":[i[0]||(i[0]=e=>n.value=e),Kl(l)],class:"search-box",placeholder:"输入需要搜索的设置"},null,8,["modelValue","onUpdate:modelValue"])]),Vu("div",Ex,[(zu(!0),Iu(Cu,null,kc(Kl(t),(e=>{var t;return zu(),Fu(hp,{class:hi(["key-button main-key",{selected:(null==(t=r.value)?void 0:t.name)===e.name}]),onClick:t=>{return n=e,r.value=n,void(o.value=void 0);var n;},"no-border":"all"},{default:As((()=>[Vu("div",Ax,_i(e.icon),1),Vu("div",jx,[Vu("div",$x,_i(e.name),1),Vu("div",Ox,_i(e.description),1)])])),_:2},1032,["class","onClick"])})),256))])]),Vu("div",zx,[(zu(!0),Iu(Cu,null,kc(null==(s=r.value)?void 0:s.sub,(e=>{var t;return zu(),Fu(hp,{class:hi(["key-button sub-key",{selected:(null==(t=o.value)?void 0:t.name)===e.name}]),onClick:t=>{return n=e,void(o.value=n);var n;},"no-border":"all"},{default:As((()=>[Vu("div",Tx,_i(e.name),1)])),_:2},1032,["class","onClick"])})),256))]),(null==(c=o.value)?void 0:c.name)?(zu(),Iu("div",Mx,[(null==(u=o.value)?void 0:u.name)?(zu(!0),Iu(Cu,{key:0},kc(o.value.content,(e=>(zu(),Iu("div",Lx,[(null==e?void 0:e.title)?(zu(),Iu("div",Ix,_i(null==e?void 0:e.title),1)):Wu("",!0),(null==e?void 0:e.description)?(zu(),Iu("div",Fx,[(null==e?void 0:e.description)?(zu(!0),Iu(Cu,{key:0},kc(e.description.split("\n"),(e=>(zu(),Iu("div",Rx,_i(e),1)))),256)):Wu("",!0)])):Wu("",!0),(null==e?void 0:e.widgets)?(zu(!0),Iu(Cu,{key:2},kc(e.widgets,(e=>{var t;return zu(),Iu("div",Px,["toggle"===e.type?(zu(),Fu(yx,{key:0,class:"settings-toggle-button icon","default-value":e.init?e.init():void 0,onClick:e.event,"icon-type":"","no-border":"all"},null,8,["default-value","onClick"])):Wu("",!0),"icon"===e.type?(zu(),Iu("div",Bx,_i(e.content),1)):Wu("",!0),"button"===e.type?(zu(),Fu(hp,{key:2,onClick:e.event,"shadow-border":""},{default:As((()=>[qu(_i(e.content),1)])),_:2},1032,["onClick"])):Wu("",!0),"select"===e.type&&Kl(Mp)(e.content)?(zu(),Iu("select",{key:3,onChange:e.event},[(zu(!0),Iu(Cu,null,kc(e.content,((t,n)=>(zu(),Iu("option",{value:t,selected:e.init&&t===e.init()},_i(n),9,Dx)))),256))],40,Nx)):Wu("",!0),"subTitle"===e.type?(zu(),Iu("div",Vx,_i(e.content),1)):Wu("",!0),"desc"===e.type?(zu(),Iu("div",Hx,[e.content?(zu(!0),Iu(Cu,{key:0},kc(e.content.split("\n"),(e=>(zu(),Iu("div",Ux,_i(e),1)))),256)):Wu("",!0)])):Wu("",!0),Kl(Ho)(["textbox","textarea"],e.type)?(zu(),Fu(xx,{key:6,class:hi(["content-textbox",{textarea:"textarea"===e.type}]),value:e.init?e.init():"","muti-lines":"textarea"===e.type,placeholder:e.placeHolder,onChange:e.event},null,8,["class","value","muti-lines","placeholder","onChange"])):Wu("",!0),"image"===e.type?(zu(),Iu("img",{key:7,class:"content-image",src:null==(t=e.content)?void 0:t.toString(),alt:e.altContent,title:e.altContent,onLoad:e.init},null,40,qx)):Wu("",!0),e.component?(zu(),Fu(Ls(null==e?void 0:e.component),{key:8,onChangeView:a},null,32)):Wu("",!0)])})),256)):Wu("",!0)])))),256)):Wu("",!0)])):(zu(),Iu("div",Wx,"settings"))])}}}),[["__scopeId","data-v-2dd3ae22"]]),Gx=e=>(Cs("data-v-b3af10bd"),e=e(),Es(),e),Zx={class:"index-wrapper"},Jx={class:"grid-container"},Yx={class:"head-controls"},Qx={class:"search-controls"},Xx={class:"search-suggestions"},ek=["src"],tk={class:"sugg-content"},nk={class:"sugg-title"},rk={class:"sugg-desc"},ok={key:0,class:"block-wrapper followed-container"},ak={class:"block-controls followed"},ik=Gx((()=>Vu("p",{class:"block-title"},"关注的吧",-1))),lk={class:"block-container followed-list"},sk={key:0,class:"icon signed"},ck={class:"forum-title"},uk={key:1,class:"block-wrapper topic-container"},dk={class:"block-controls topics"},pk=Gx((()=>Vu("p",{class:"block-title"},"贴吧热议",-1))),fk={class:"block-container topic-list"},hk=["src"],gk={class:"topic-content"},mk={class:"topic-title"},bk={class:"topic-name"},vk={class:"topic-desc"},_k=Gx((()=>Vu("div",{id:"carousel_wrap"},null,-1))),yk={class:"block-controls feeds"},xk=Gx((()=>Vu("p",{class:"block-title"},"推送",-1))),kk={key:0,class:"empty-container"},wk=[Gx((()=>Vu("p",{class:"no-feed-content"},"没有更多了",-1)))],Sk=bp(rc({__name:"index",setup(e){const t=Hl([]),n=Hl(),r=Hl(),o=Hl(),a=Hl(),i=Hl(""),l=Hl(!1),s=Hl([]);Hl(!1);const c=Hl();Hl(!1);const u=Hl(),d=Hl([]),p=Hl(!1),f=Hl({});let h=0;function g(e){const t=Np(e.target,"search-controls");l.value=!!t;}async function m(e){const t=await kh.suggestions(e);t.ok&&t.json().then((t=>{if(e&&""!==e){const e=t.query_match.search_data;e&&(s.value=Io(e,(e=>({image:e.fpic,title:e.fname,desc:e.forum_desc,href:kh.URL_forum(e.fname)}))));}else {const e=t.hottopic_list.search_data;e&&(s.value=Io(e,(e=>({image:e.topic_pic,title:e.topic_name,desc:e.topic_desc,href:e.topic_url}))));}}));}function b(){s.value.length<=0?m().then((()=>{l.value=!0;})):l.value=!0;}t.value=hf.get(),fc((async()=>{(async function(){n.value=await(async()=>{try{const e=await(await kh.userInfo()).json();if(e)return e.data}catch(e){wp({message:$p(e),type:"error",duration:6e3});}})(),c.value=[{title:"设置",click(){Mf(Kx);}},"separator",{title:"源代码 (GitHub)",href:lf},{title:"源代码 (Gitee)",href:sf}],u.value=[{title:"登录",icon:"login",href:cf}],n.value&&(u.value=[{title:"我的收藏",icon:"star"},"separator",{title:"主页",icon:"home",href:kh.URL_userHome(n.value.user_portrait)},{title:"修改",icon:"settings"},"separator",{title:"退出登录",icon:"logout"}]);n.value&&_();if(Ep(kh.topicList()).then((e=>{e&&d.value.push(...e.data.bang_topic.topic_list);})),!a.value)return})().then((()=>{if(o.value){new IntersectionObserver((e=>{e[0].isIntersecting?p.value=!0:p.value=!1;})).observe(o.value);}}));})),window.addEventListener("focusin",(e=>g(e))),window.addEventListener("mousedown",(e=>g(e)));const v=bo((function(){m(i.value);}),500);function _(){Ep(kh.followedForums()).then((e=>{e&&(h=0,r.value=e.data,Ao(r.value.like_forum,(e=>{1===e.is_sign&&h++;})),r.value.like_forum.sort(((e,t)=>parseInt(t.user_exp)-parseInt(e.user_exp))));}));}async function y(){Df({title:"一键签到",message:"需要注意,Web端签到获取到的经验远少于移动端,建议使用其他设备进行签到。",type:"OkCancel"}).then((e=>{"positive"===e&&Ep(kh.oneKeySign()).then((e=>{wp({message:`本次共签到成功 ${e.data.signedForumAmount} 个吧,未签到 ${e.data.unsignedForumAmount} 个吧,签到失败 ${e.data.signedForumAmountFail} 个吧,共获得 ${e.data.gradeNoVip} 经验。`,type:"check",blurEffect:!0}),_();}));}));}return (e,n)=>(zu(),Iu("div",Zx,[Vu("div",Jx,[Vu("div",Yx,[Vu("div",Qx,[Hu(xx,{modelValue:i.value,"onUpdate:modelValue":n[0]||(n[0]=e=>i.value=e),class:"search-box",placeholder:"搜索 贴吧",autocomplete:"none",onFocus:b,onInput:Kl(v)},null,8,["modelValue","onInput"]),Hu(hp,{class:"search-button","theme-style":!0,"no-border":""},{default:As((()=>[qu("搜索")])),_:1}),Us(Vu("div",Xx,[(zu(!0),Iu(Cu,null,kc(s.value,(e=>(zu(),Fu(hp,{"is-anchor":!0,class:"search-elem",href:e.href,target:"_blank","no-border":""},{default:As((()=>[Vu("img",{class:"sugg-img",src:e.image,alt:""},null,8,ek),Vu("div",tk,[Vu("p",nk,_i(e.title),1),Vu("p",rk,_i(e.desc),1)])])),_:2},1032,["href"])))),256))],512),[[Fd,l.value&&s.value.length>0]])])]),r.value?(zu(),Iu("div",ok,[Vu("div",ak,[ik,Hu(Ah,{class:"signed-count left-align"},{default:As((()=>{var e;return [qu(_i(Kl(h))+" / "+_i(null==(e=r.value)?void 0:e.like_forum.length),1)]})),_:1}),Hu(Ah,{class:"followed"},{default:As((()=>[Hu(hp,{class:"panel-btn icon sign-btn",onClick:y,"unset-background":"","no-border":""},{default:As((()=>[qu(" task_alt")])),_:1}),Hu(hp,{class:"panel-btn icon settings","unset-background":"","no-border":""},{default:As((()=>[qu("settings")])),_:1})])),_:1})]),Vu("div",lk,[(zu(!0),Iu(Cu,null,kc(r.value.like_forum,(e=>(zu(),Fu(hp,{"is-anchor":!0,class:"followed-btn","shadow-border":!0,href:Kl(kh).URL_forum(e.forum_name),target:"_blank","no-border":""},{default:As((()=>[1===e.is_sign?(zu(),Iu("div",sk,"check")):Wu("",!0),Vu("div",ck,_i(e.forum_name),1),Vu("div",{class:hi(["forum-level","level-"+Kl(Ch)(e.user_level)])},_i(e.user_level),3)])),_:2},1032,["href"])))),256))])])):Wu("",!0),d.value.length>0?(zu(),Iu("div",uk,[Vu("div",dk,[pk,Hu(Ah,{class:"topics"},{default:As((()=>[Hu(hp,{class:"panel-btn icon switch","unset-background":!0,"no-border":""},{default:As((()=>[qu("tune")])),_:1}),Hu(hp,{class:"panel-btn icon more","unset-background":!0,"no-border":""},{default:As((()=>[qu("more_horiz ")])),_:1}),Hu(hp,{class:"panel-btn icon settings","unset-background":!0,"no-border":""},{default:As((()=>[qu("settings ")])),_:1})])),_:1})]),Vu("div",fk,[(zu(!0),Iu(Cu,null,kc(Kl(pa)(d.value,10),(e=>(zu(),Fu(hp,{"is-anchor":!0,class:"topic-btn","shadow-border":!0,href:e.topic_url,target:"_blank"},{default:As((()=>[Vu("img",{class:"topic-img",src:e.topic_pic},null,8,hk),Vu("div",gk,[Vu("div",mk,[Vu("div",{class:hi("topic-rank-"+e.idx_num)},_i(e.idx_num),3),Vu("div",bk,_i(e.topic_name),1)]),Vu("div",vk,_i(e.topic_desc),1)])])),_:2},1032,["href"])))),256))])])):Wu("",!0),_k]),Vu("div",{ref_key:"masonryContainer",ref:o,class:"masonry-container"},[Vu("div",yk,[xk,f.value&&f.value.feeds&&(f.value.feeds.length>0||f.value.isFetchingFeeds)?(zu(),Fu(Ah,{key:0},{default:As((()=>[Hu(hp,{class:"panel-button icon refresh","unset-background":"",onClick:f.value.refreshAndMove,"no-border":""},{default:As((()=>[qu("refresh ")])),_:1},8,["onClick"]),Hu(hp,{class:"panel-button icon settings","unset-background":"","no-border":""},{default:As((()=>[qu("settings")])),_:1})])),_:1})):Wu("",!0)]),Hu(ag,{ref_key:"feedsMasonry",ref:f,"init-feeds":t.value,"show-progress":""},null,8,["init-feeds"]),0===t.value.length?(zu(),Iu("div",kk,wk)):Wu("",!0)],512)]))}}),[["__scopeId","data-v-b3af10bd"]]);const Ck={class:"pager-wrapper"},Ek={key:0,class:"pager-button-container"},Ak={key:1,class:"pager-separactor"},jk={key:2,class:"jumper-container"},$k={class:"tail-slot"},Ok=bp(rc({__name:"pager",props:{total:{},current:{},jumperValue:{},maxDisplay:{default:9},fill:{type:Boolean,default:!1},showPagers:{type:Boolean,default:!0},head:{type:Boolean,default:!0},tail:{type:Boolean,default:!0},jumper:{type:Boolean,default:!0},pagerClick:{},headClick:{},tailClick:{},prevClick:{},nextClick:{},pagerChange:{},jumperEnter:{}},emits:["update:current","update:jumperValue"],setup(e,{expose:t,emit:n}){const r=e,o=Hl(r.current),a=Hl(r.jumperValue??""),i=n,l=Math.min(r.maxDisplay,r.total),s=hd((()=>o.value+l/2>r.total?r.total-l+1:Math.max(1,o.value-Math.floor(r.maxDisplay/2)))),c=hd((()=>Math.min(r.total,s.value+r.maxDisplay-1)+1));function u(e,t){switch(r.pagerChange&&t!==o.value&&r.pagerChange(t),o.value=t,i("update:current",t),e){case"page":r.pagerClick&&r.pagerClick(t);break;case"head":r.headClick&&r.headClick();break;case"tail":r.tailClick&&r.tailClick();break;case"prev":r.prevClick&&r.prevClick(t);break;case"next":r.nextClick&&r.nextClick(t);}}function d(){if(!a.value)return;const e=+a.value;e<1||e>r.total||(u(null,e),r.jumperEnter&&r.jumperEnter(e),a.value="");}return t({current:o,jumperValue:a}),(e,t)=>(zu(),Iu("div",Ck,[e.showPagers?(zu(),Iu("div",Ek,[Us(Hu(hp,{class:"pager-button pager-head-button","no-border":"",onClick:t[0]||(t[0]=e=>u("head",1))},{default:As((()=>[qu("1")])),_:1},512),[[Fd,o.value>Math.ceil(Kl(l)/2)&&o.value>1&&e.total>Kl(l)]]),Us(Hu(hp,{class:"pager-button pager-back-button icon","no-border":"",onClick:t[1]||(t[1]=e=>u("prev",Math.max(1,o.value-Kl(l))))},{default:As((()=>[qu(" keyboard_double_arrow_left ")])),_:1},512),[[Fd,o.value>Math.ceil(Kl(l)/2)&&o.value>1&&e.total>Kl(l)]]),(zu(!0),Iu(Cu,null,kc(Kl(aa)(s.value,c.value),((t,n)=>(zu(),Fu(hp,{key:n,class:hi(["pager-button",{fill:e.fill,"curr-pager-button":t===o.value}]),onClick:e=>u("page",t),"no-border":"all",disabled:t===o.value},{default:As((()=>[qu(_i(t),1)])),_:2},1032,["class","onClick","disabled"])))),128)),Us(Hu(hp,{class:"pager-button pager-forward-button icon","no-border":"",onClick:t[2]||(t[2]=t=>u("next",Math.min(e.total,o.value+Kl(l))))},{default:As((()=>[qu(" keyboard_double_arrow_right ")])),_:1},512),[[Fd,e.total-Kl(l)>1&&e.total-o.value>Kl(l)/2]]),Us(Hu(hp,{class:"pager-button pager-tail-button","no-border":"",onClick:t[3]||(t[3]=t=>u("tail",e.total))},{default:As((()=>[qu(_i(e.total),1)])),_:1},512),[[Fd,e.tail&&e.total-Kl(l)>1&&e.total-o.value>Kl(l)/2]])])):Wu("",!0),e.showPagers&&e.jumper?(zu(),Iu("div",Ak,"|")):Wu("",!0),e.showPagers&&e.jumper?(zu(),Iu("div",jk,[qu(" 转到 "),Hu(xx,{modelValue:a.value,"onUpdate:modelValue":[t[4]||(t[4]=e=>a.value=e),t[5]||(t[5]=e=>i("update:jumperValue",a.value))],class:"jumper",onKeydown:sp(d,["enter"])},null,8,["modelValue"]),qu(" 页 ")])):Wu("",!0),Vu("div",$k,[wc(e.$slots,"tailSlot",{},void 0,!0)])]))}}),[["__scopeId","data-v-88fc5825"]]),zk={id:"thread-editor"},Tk={id:"thread-editor-toolbar"},Mk=bp(rc({__name:"thread-editor",props:{ueditor:{},type:{default:"thread"}},setup(e){const t=e,n=Hl(),r=Hl();function o(){Rp(".j_submit","a")[0].click(),a();}function a(){r.value&&n.value&&(r.value.appendChild(Rp(".edui-container")[0]),Lf());}return fc((async function(){var e;if(!n.value)return;r.value=t.ueditor.parentElement,n.value.appendChild(t.ueditor),await Tp((()=>Rp(".edui-editor-body").length>0));const o=Rp(".edui-toolbar")[0],a=Rp(".edui-editor-body")[0];o.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_FOLLOWING&&(null==(e=o.parentNode)||e.insertBefore(a,o)),Rp("#ueditor_replace")[0].focus();})),bc((async function(){a();})),(e,t)=>(zu(),Iu("div",zk,[Hu(hp,{id:"thread-editor-exit",class:"icon","shadow-border":"",onClick:a},{default:As((()=>[qu("close ")])),_:1}),"thread"===e.type?(zu(),Fu(xx,{key:0,class:"title-editor",placeholder:"输入标题","lodash-style":""})):Wu("",!0),Vu("div",{ref_key:"editorSlot",ref:n,id:"thread-editor-slot"},null,512),Vu("div",Tk,[Hu(hp,{id:"thread-editor-submit","shadow-border":"","theme-style":"",onClick:o},{default:As((()=>[qu("发表")])),_:1})])]))}}),[["__scopeId","data-v-217ff1bf"]]),Lk={id:"toggle-panel",class:"toggle-panel"},Ik=(e=>(Cs("data-v-521b9a21"),e=e(),Es(),e))((()=>Vu("div",{class:"panel-info"},[Vu("div",{class:"panel-title"}),Vu("div",{class:"panel-desc"})],-1))),Fk={class:"toggle-wrapper"},Rk={class:"toggle-container"},Pk={class:"toggle-name"},Bk=bp(rc({__name:"toggle-panel",props:{toggles:{}},setup(e){const t=e;return (e,n)=>(zu(),Iu("div",Lk,[Ik,Vu("div",Fk,[(zu(!0),Iu(Cu,null,kc(t.toggles,(e=>(zu(),Iu("div",Rk,[Hu(yx,{class:"panel-button","default-value":e.defaultValue,"icon-type":"","shadow-border":"",onClick:e.event},{default:As((()=>[qu(_i(e.icon),1)])),_:2},1032,["default-value","onClick"]),Vu("div",Pk,_i(e.name),1)])))),256))])]))}}),[["__scopeId","data-v-521b9a21"]]);class Nk{constructor(e,t,n){__publicField(this,"selector"),__publicField(this,"type"),__publicField(this,"parent"),this.selector=e,this.type=t,this.parent=n;}get(){return this.parent?Rp(this.selector,this.type,this.parent)[0]:Rp(this.selector,this.type)[0]}}const Dk={auxiliary:"tbui_fbar_auxiliaryCare",down:"tbui_fbar_down",post:"tbui_fbar_post",props:"tbui_fbar_props",tsukkomi:"tbui_fbar_tsukkomi",share:"tbui_fbar_share",favor:"tbui_fbar_favor",feedback:"tbui_fbar_feedback",top:"tbui_fbar_top",other:"*"};const Vk=new class extends Nk{buttons(){return this.get()?Array.from(Rp(".tbui_aside_fbar_button","li",Vk.get())).map((e=>({el:e,type:function(){for(let t=0;t<e.classList.length;t++){const n=e.classList[t];if(!n.includes("tbui_fbar_"))continue;const r=Mo(Dk,(e=>e===n));if(r)return r}return "other"}()}))):[]}add(e,t,n,r,o=0){const a=Bp("a",{href:"javascript:;"}),i=Bp("li",{class:"tbui_aside_fbar_button"},[a]);var l,s;return i.addEventListener("click",t),"other"!==e&&i.classList.add(Dk[e]),n&&i.classList.add(n),Vk.get().insertBefore(i,Vk.get().children[o]),s=r,(l=a).classList.add("icon"),l.classList.add("tbui_aside_fbar_button"),l.innerHTML=s||"",{el:i,type:e}}remove(e){switch(typeof e){case"string":Rp(e,"li",Vk.get())[0].remove();break;case"number":Vk.get().children[e].remove();break}}}(".tbui_aside_float_bar","ul");const Hk=new class extends Nk{allPagerButtons(){return Rp("a, .tP",this.get())}getPagerButton(e,t=0){const n=this.allPagerButtons();switch(e){case"prev":return this.findMatchingButton(n,"上一页");case"next":return this.findMatchingButton(n,"下一页",!0);case"head":return this.findMatchingButton(n,"首页");case"tail":return this.findMatchingButton(n,"尾页",!0);case"page":{let e=0;for(const r of n)if(/^\d+$/.test(r.innerText)){if(e===t&&r instanceof HTMLAnchorElement)return r;e++;}return null}default:return null}}getByPage(e){return this.findMatchingButton(this.allPagerButtons(),e.toString())}jumpTo(e){const t=["pn","see_lz"],n=new URLSearchParams(location.search),r=new URLSearchParams;for(const[l,s]of n)Ho(t,l)&&r.set(l,s);const o=new URL(location.href);o.search=r.toString(),history.pushState({},"",o);const a=Rp(!0,"#jumpPage4, #jumpPage6","input"),i=Rp(!0,"#pager_go4, #pager_go6","button");a.value=e.toString(),i.click();}findMatchingButton(e,t,n=!1){const r=n?Array.from(e).reverse():e;for(const o of r)if(o.innerText===t)return o;return null}}(".l_pager","li");function Uk(){const e=Rp(".l_post","div"),t=Rp(".d_post_content","div"),n=Rp(".d_author","div"),r=Rp(".p_author_face","a"),o=Rp(".p_author_name","a"),a=Rp(".d_badge_lv","div"),i=Rp(".d_badge_title","div"),l=Rp(".lzl_link_unfold","a"),s=Io(Rp(".post-tail-wrap span:first-child, .ip-location","span"),(e=>e.innerText)),c=Io(Rp(".tail-info a, .p_tail_wap","a"),(e=>e.innerText)),u=Io(Rp(".j_jb_ele + .tail-info + .tail-info, .p_tail li:first-child span","span"),(e=>e.innerText)),d=Io(Rp(".post-tail-wrap span:nth-last-child(2), .p_tail li:last-child span","span"),(e=>e.innerText)),p=[];for(let f=0;f<t.length;f++)t[f].classList.add("floor-content"),r[f].classList.add("floor-avatar"),o[f].classList.add("floor-name"),p.push({post:t[f],replyButton:l[f],dataField:xo(e[f].getAttribute("data-field"),""),isLouzhu:Rp(".louzhubiaoshi_wrap",n[f]).length>0,profile:{avatar:r[f],nameAnchor:o[f],level:parseInt(a[f].innerText),badgeTitle:i[f].innerText},tail:{location:s[f],platform:c[f],floor:u[f],time:d[f]}});return {displayWrapper:Rp(!0,".wrap2","div"),title:PageData.thread.title,reply:parseInt(Rp(!0,".l_reply_num span:nth-child(1)","span").innerText),pages:PageData.pager.total_page,lzOnlyButton:Rp(!0,"#lzonly_cntn","a"),favorButton:Rp(!0,".j_favor","a"),cotents:p,forum:{info:{name:PageData.forum.forum_name},components:{nameAnchor:Rp(!0,".card_title_fname","a"),iconContainer:Rp(!0,".card_head a, .plat_picbox","a"),followButton:Rp(!0,".card_head .focus_btn","a"),signButton:Rp(!0,".j_sign_box","a")}},pager:{listPager:Rp(!0,".pb_list_pager","li"),jumper:{textbox:Rp(!0,".jump_input_bright","input"),submitButton:Rp(!0,".jump_btn_bright","button")}}}}yh(_f.get()),tf.addEventListener("change",(()=>yh(_f.get()))),ma(':root{--img-tieba-icon: url(https://gitee.com/HacksawBlade/Tieba-Remix/raw/master/assets/images/main/icon.png)}.dark-theme{--default-background: rgb(32, 32, 32);--default-hover: rgb(42, 42, 42);--default-active: rgb(54, 54, 54);--page-background: rgb(26, 26, 26);--trans-page-background: rgba(26, 26, 26, .8);--trans-default-background: rgba(32, 32, 32, .8);--deep-background: rgb(26, 26, 26);--trans-deep-background: rgba(20, 20, 20, .6);--light-background: rgb(60, 60, 60);--trans-light-background: rgba(60, 60, 60, .6);--very-light-background: rgb(60, 60, 60);--elem-color: rgb(26, 26, 26);--default-fore: rgb(230, 230, 230);--light-fore: rgb(200, 200, 200);--minimal-fore: rgb(144, 144, 144);--highlight-fore: rgb(255, 255, 255);--border-color: rgba(96, 96, 96, .6);--light-border-color: rgba(96, 96, 96, .2);--tieba-theme-color: rgb(113, 97, 193);--trans-tieba-theme-color: rgba(113, 97, 193, .6);--tieba-theme-hover: rgb(149, 128, 254);--tieba-theme-active: rgb(172, 156, 253);--tieba-theme-background: rgba(113, 97, 193, .2);--tieba-theme-fore: rgb(150, 128, 255);--level-green-background: rgba(96, 153, 59, .1);--level-green-fore: rgb(133, 206, 84);--level-blue-background: rgba(0, 165, 227, .1);--level-blue-fore: rgb(0, 169, 255);--level-yellow-background: rgba(229, 193, 90, .1);--level-yellow-fore: rgb(242, 205, 96);--level-orange-background: rgba(204, 122, 0, .1);--level-orange-fore: rgb(255, 170, 0);--check-color: color.adjust(green, $lightness: 10%);--error-color: color.adjust(red, $lightness: 16%);--warning-color: color.adjust(orange, $blackness: 10%);color-scheme:dark}.light-theme{--default-background: rgb(255, 255, 255);--default-hover: rgb(240, 240, 240);--default-active: rgb(224, 224, 224);--page-background: rgb(245, 245, 245);--trans-page-background: rgba(245, 245, 245, .8);--trans-default-background: rgba(255, 255, 255, .8);--deep-background: rgb(228, 228, 228);--trans-deep-background: rgba(200, 200, 200, .6);--light-background: rgb(235, 235, 235);--trans-light-background: rgba(228, 228, 228, .6);--very-light-background: rgb(245, 245, 245);--elem-color: rgb(240, 240, 240);--default-fore: rgb(16, 16, 16);--light-fore: rgb(64, 64, 64);--minimal-fore: rgb(92, 92, 92);--highlight-fore: rgb(0, 0, 0);--border-color: rgba(210, 210, 210, .6);--light-border-color: rgba(210, 210, 210, .2);--tieba-theme-color: rgb(97, 78, 194);--trans-tieba-theme-color: rgba(97, 78, 194, .6);--tieba-theme-hover: rgb(119, 105, 194);--tieba-theme-active: rgb(150, 134, 232);--tieba-theme-background: rgba(97, 78, 194, .2);--tieba-theme-fore: rgb(58, 46, 116);--level-green-background: rgba(84, 130, 53, .1);--level-green-fore: rgb(51, 78, 32);--level-blue-background: rgba(0, 153, 213, .1);--level-blue-fore: rgb(0, 81, 111);--level-yellow-background: rgba(164, 139, 63, .1);--level-yellow-fore: rgb(124, 105, 46);--level-orange-background: rgba(255, 153, 0, .1);--level-orange-fore: rgb(178, 104, 0);--check-color: color.adjust(green, $lightness: 10%);--error-color: color.adjust(red, $lightness: 16%);--warning-color: color.adjust(orange, $blackness: 10%);color-scheme:"light"}'),ma("@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}"),ma('@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}.icon,.outline-icon{font-family:Material Symbols,monospace!important}.icon,.outline-icon{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.filled-icon{font-family:Material Symbols,monospace!important}.filled-icon{font-variation-settings:"FILL" 1,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.anchor,.anchor-underline{color:var(--tieba-theme-fore);cursor:pointer;-webkit-text-decoration:none;text-decoration:none;transition:.4s}.anchor-underline{text-decoration:underline;-webkit-text-decoration:underline solid currentColor;text-decoration:underline solid currentColor;text-decoration-thickness:1.2px;-webkit-text-decoration:underline 1.2px;text-decoration:underline 1.2px}.anchor:hover,.anchor-underline:hover{background-color:var(--default-hover)}.anchor-underline:hover{text-decoration:underline;-webkit-text-decoration:underline solid rgba(0,0,0,0);text-decoration:underline solid rgba(0,0,0,0);text-decoration-thickness:1.2px;-webkit-text-decoration:underline 1.2px rgba(0,0,0,0);text-decoration:underline 1.2px rgba(0,0,0,0)}.anchor:active,.anchor-underline:active{background-color:var(--default-active)}.markdown{font-family:var(--code-zh);font-size:16px}.markdown code{padding:2px 6px;border-radius:8px;background-color:var(--light-border-color);font-family:var(--code-monospace);word-wrap:break-word}.markdown a{color:var(--tieba-theme-fore)}.markdown a:hover{-webkit-text-decoration:underline;text-decoration:underline}.markdown h2{margin:20px 0 8px;font-size:24px}.markdown h3{margin:16px 0 6px}.markdown ul{margin:6px 0}.markdown li{margin:6px 0 6px 22px;list-style:disc}.markdown li::marker{color:var(--minimal-fore)}.markdown blockquote{margin:20px 16px;color:var(--minimal-fore)}.settings-toggle-button{border:none!important;background-color:transparent!important;background-color:initial!important}.settings-toggle-button{border-radius:36px}.settings-toggle-button.toggle-off{color:var(--minimal-fore);font-variation-settings:"FILL" 0}.settings-toggle-button.toggle-off:after{content:"toggle_off"}.settings-toggle-button.toggle-on:after{content:"toggle_on"}.settings-toggle-button.toggle-on{color:var(--tieba-theme-color);font-variation-settings:"FILL" 1}.settings-toggle-button.toggle-off:hover{color:var(--default-hover)}.settings-toggle-button.toggle-off:active{color:var(--default-active)}.settings-toggle-button.toggle-on:hover{color:var(tieba-theme-hover)}.settings-toggle-button.toggle-on:active{color:var(--tieba-theme-active)}.level-green{background-color:var(--level-green-background)!important;color:var(--level-green-fore)!important}.level-blue{background-color:var(--level-blue-background)!important;color:var(--level-blue-fore)!important}.level-yellow{background-color:var(--level-yellow-background)!important;color:var(--level-yellow-fore)!important}.level-orange{background-color:var(--level-orange-background)!important;color:var(--level-orange-fore)!important}.remove-default{line-height:normal!important}.remove-default{font-size:16px}.remove-default button,.remove-default input,.remove-default optgroup,.remove-default select,.remove-default textarea{font-family:var(--code-zh);font-size:14px}.remove-default .content{min-height:0;min-height:initial;background:transparent none repeat 0 0 / auto auto padding-box border-box scroll;background:initial}.remove-default code{display:inline;display:initial;width:auto;width:initial;height:auto;height:initial}.remove-default .content,.remove-default .foot{width:auto;width:initial}.remove-default button{color:inherit}html:not([perf-saver]) body.custom-background .blur-if-custom-background{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme body.custom-background .blur-if-custom-background{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}'),ma('@font-face{font-family:Material Symbols;font-style:normal;font-weight:200 400;src:url(https://fonts.gstatic.com/s/materialsymbolsoutlined/v110/kJEhBvYX7BgnkSrUwT8OhrdQw4oELdPIeeII9v6oFsI.woff2) format("woff2")}.material-symbols-outlined{display:inline-block;direction:ltr;font-family:Material Symbols;font-size:24px;-webkit-font-smoothing:antialiased;font-style:normal;font-weight:400;letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal}'),Promise.all([async function(){const e=kf.get(),t=Xp(e.dark),n=Xp(e.light),r=ef(t),o=ef(n),a=Zp({":root":{"--content-max":xf.get().noLimit?"100vw":`${xf.get().maxWidth}px`,"--code-zh":`${Zo(Cf.get(),",")}`,"--code-monospace":`${Zo(Ef.get(),",")}`},"html.dark-theme":{"--tieba-theme-color":e.dark,"--trans-tieba-theme-color":`rgb(${t.r} ${t.g} ${t.b} / 80%)`,"--tieba-theme-hover":`hsl(${r.h}deg ${parseInt(r.s)+40}% ${parseInt(r.l)+10}%)`,"--tieba-theme-active":`hsl(${r.h}deg ${parseInt(r.s)+50}% ${parseInt(r.l)+20}%)`,"--tieba-theme-background":`rgb(${t.r} ${t.g} ${t.b} / 24%)`,"--tieba-theme-fore":`hsl(${r.h}deg 100% 75%)`},"html.light-theme":{"--tieba-theme-color":e.light,"--trans-tieba-theme-color":`rgb(${n.r} ${n.g} ${n.b} / 80%)`,"--tieba-theme-hover":`hsl(${o.h}deg ${parseInt(o.s)-40}% ${parseInt(o.l)-10}%)`,"--tieba-theme-active":`hsl(${o.h}deg ${parseInt(o.s)-50}% ${parseInt(o.l)-20}%)`,"--tieba-theme-background":`rgb(${n.r} ${n.g} ${n.b} / 24%)`,"--tieba-theme-fore":`hsl(${o.h}deg 60% 32%)`}});ma(a);}(),async function(){if(ma('@charset "UTF-8";@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}.tbui_aside_float_bar li a{font-family:Material Symbols,monospace!important}.tbui_aside_float_bar li a{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}@keyframes animation-fade-in{0%{opacity:0}to{opacity:1}}.fade-in-elem{animation:animation-fade-in ease .3s forwards}#com_userbar{display:none}.tbui_aside_float_bar{border:none!important;background:none!important}.tbui_aside_float_bar li{width:40px;height:40px;border-radius:24px;margin:8px 0;background-color:var(--light-background)}.tbui_aside_float_bar li:hover{background-color:var(--default-hover)}.tbui_aside_float_bar li:active{background-color:var(--default-active)}.tbui_aside_float_bar li a{width:40px!important;height:40px!important;background:none!important}.tbui_aside_float_bar li a{border-radius:24px}.tbui_aside_float_bar a{width:40px!important;height:40px!important}.tbui_aside_float_bar a{color:var(--minimal-fore);font-size:24px;line-height:40px;text-align:center}.tbui_aside_float_bar .tbui_fbar_auxiliaryCare a{height:40px!important;background:none!important}.tbui_fbar_auxiliaryCare a:after{content:"accessibility_new"}.tbui_fbar_top a:after{content:"arrow_upward"}.tbui_fbar_post a:after{content:"chat";font-size:22px}.tbui_fbar_feedback a:after{content:"report";font-size:26px}.tbui_aside_float_bar li.tbui_fbar_feedback a,.tbui_aside_float_bar .tbui_fbar_feedback a,.tbui_aside_float_bar .tbui_fbar_feedback a:hover{background:none!important}.tbui_aside_float_bar .tbui_fbar_down,.tbui_aside_float_bar .tbui_fbar_props,.tbui_aside_float_bar .tbui_fbar_tsukkomi,.tbui_aside_float_bar .tbui_fbar_share,.tbui_aside_float_bar .tbui_fbar_favor,.tbui_aside_float_bar .tbui_fbar_refresh{display:none}.p_tools a{padding:0 10px;background:none;vertical-align:bottom}.p_tools span{display:none}.p_tools .p_putup:before,.p_tools .tb_icon_ypic:before,.p_tools .tb_icon_turnleft:before,.p_tools .tb_icon_turnright:before{margin-right:4px;font-family:Material Symbols,system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif;font-size:14px;vertical-align:bottom}.p_tools .p_putup:before{content:"zoom_out"}.p_tools .tb_icon_ypic:before{content:"zoom_out_map"}.p_tools .tb_icon_turnleft:before{content:"turn_left"}.p_tools .tb_icon_turnright:before{content:"turn_right"}'),ma('@charset "UTF-8";body{background-color:var(--page-background);color:var(--default-fore)}.head_inner{background-color:var(--default-background)}.u_menu_item a{color:var(--default-fore)}.head_inner .search_logo{left:72px;width:60px;height:60px;background-image:var(--img-tieba-icon)}.search_top{border:none}.search_nav a:link,.search_nav a:hover,.search_nav a:visited,.u_menu_item a:hover,.u_menu_item a:visited{color:var(--default-fore)}.search_main{padding-bottom:96px}.search_bright .search_inp_border{border-color:var(--border-color);border-bottom-left-radius:8px;border-top-left-radius:8px;color:var(--default-fore)}.search_bright .search_inp_border:focus{border-color:var(--tieba-theme-color)}.search_bright .search_btn{border-color:var(--trans-tieba-theme-color);border-radius:8px;background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore)}.search_bright .search_btn_enter_ba{background-color:var(--tieba-theme-color);border-bottom-left-radius:0;border-top-left-radius:0;color:var(--default-background)}.search_bright .search_btn:visited{color:var(--tieba-theme-fore)}.search_bright .search_btn_enter_ba:visited,.search_bright .search_btn_enter_ba:hover{background-color:var(--tieba-theme-color);color:var(--default-background)}.suggestion{border-color:var(--border-color)!important;border-radius:6px!important;background-color:var(--elem-color)!important;box-shadow:none!important;color:var(--default-fore)!important}.suggestion{transform:translateY(4px)}.suggestion .break_tip{background-color:var(--default-background)!important}.suggestion .highlight{color:var(--tieba-theme-color)!important}.suggestion .operation_title{color:var(--default-fore)!important}.suggestion .forum_image{border-radius:8px}.suggestion .forum_name{color:var(--default-fore)!important}.suggestion .on{background-color:var(--light-background)!important}.page-container .top-sec{display:none}.page-container .content-sec{background:none}.page-container .left-sec{border-radius:24px;border-top:none;background:none;background-color:var(--elem-color)}.f-d-w{border-radius:24px;background-color:var(--elem-color)}.f-d-w .f-d-item{background:none}.aggregate_entrance_wrap{display:none}.u-f-t .gap{border:none;background:none}.f-d-w .all{background:none}.forum_rcmd{border:0;border-radius:24px;background-color:var(--elem-color)}.region_bright .region_header{color:var(--default-fore)}.page-container .left-sec .region_bright{border-radius:24px}.my_tieba_mod .media_left,.my_tieba_mod .media-left{border:none}.media_left img,.media-left img{border-radius:16px}#nameValue,#j_tcharge_dialog{color:var(--default-fore)}#onekey_sign .onekey_btn,#onekey_sign a.onekey_btn{border-radius:8px;margin-right:-5px;background:none;background-color:var(--tieba-theme-color);color:var(--elem-color);text-align:center}#onekey_sign .onekey_btn:after{content:"一键签到"}#onekey_sign a.signed_btn .icon_signed{margin-top:2px;background:var(--svg-checkmark);background-repeat:no-repeat;background-size:20px;filter:drop-shadow(var(--elem-color) 0 9999px);transform:translateY(-9999px)}#onekey_sign .onekey_btn:hover{box-shadow:0 0 10px var(--tieba-theme-color)}.u-f-w{padding-bottom:20px}.left-cont-fixed{position:relative;bottom:0}.u-f-w .sign,.u-f-w .unsign,.always-forum-item .sign,.always-forum-item .unsign{border-radius:8px;background:none;background-color:var(--light-background);color:var(--default-fore)}.u-f-w .sign,.always-forum-item .sign{background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore)}.u-f-w .sign,.u-f-w .unsign{margin-bottom:8px}.u-f-w .sign:hover,.u-f-w .unsign:hover,.always-forum-item .sign:hover,.always-forum-item .unsign:hover{background:none;background-color:var(--tieba-theme-color);box-shadow:0 0 10px var(--tieba-theme-color);color:var(--elem-color);-webkit-text-decoration:none;text-decoration:none}.u-f-w .more{border:none;border-radius:8px;background:none;background-color:var(--elem-color);box-shadow:none;color:var(--default-fore)}.more-txt{color:var(--default-fore)}.u-f-w .more-hover{width:188px;margin:auto;background-color:var(--tieba-theme-color);box-shadow:0 0 10px var(--tieba-theme-color);color:var(--elem-color)}.u-f-w .more-hover .more-txt,.u-f-w .more:hover .more-txt{margin-left:60px;color:var(--elem-color)}.always-forum-title{border:none;margin-top:10px}#alwayforum-wraper{background-color:var(--elem-color)}.pop-up-frame{border:none;background-color:var(--elem-color);border-radius:24px 24px 24px 0;box-shadow:none}.always-forum-close{display:none}.always-forum-item .addnewforumbtn{width:110px;padding-left:0;border-radius:8px;background:none;background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore);font-size:20px;text-align:center}.always-forum-item .addnewforumbtn:after{content:"+"}.always-forum-item .addnewforumbtn:hover{background-color:var(--tieba-theme-color);box-shadow:0 0 10px var(--tieba-theme-color);color:var(--elem-color)}.tbui_scroll_panel .tbui_scroll_button{width:6px;border:none;border-radius:24px;background-color:var(--very-light-background)}.tbui_scroll_panel .tbui_scroll_bar{width:6px;background:none}.forum_rcmd .class_title>div{color:var(--default-fore)}.rcmd_forum_item .forum_name{color:var(--default-fore)}.rcmd_forum_item .rcmd_forum_logo{border:none;border-radius:16px;background:none}.page-container .r-left-sec,.sub_nav_wrap,.title-tag-wraper,.thread-name-wraper,.n_reply{width:780px}.n_txt{width:720px;color:var(--light-fore)}.sub_nav_wrap{background:none;background-color:var(--default-background);box-shadow:none}.sub_nav_list a.cur{border:none;color:var(--tieba-theme-color)}.sub_nav_list .nav_hover{width:56px!important}.sub_nav_list .nav_hover{border-bottom:3px solid var(--tieba-theme-color)}.sub_nav_list li.sub_nav_line{background:none}.page-container .r-right-sec{display:none}.item_hd{border:none;border-radius:24px;background-color:var(--default-background);color:var(--default-fore)}.item_hd .title{color:var(--default-fore)}.topic_list .topic_item .topic_flag_hot{border-radius:4px}.item .item_hd{border:none;background-color:var(--default-background);color:var(--default-fore)}.item .item_hd .title{color:var(--default-fore)}.notice-wrap-fixed{background-color:var(--default-color);border-bottom-left-radius:24px;border-bottom-right-radius:24px}.notice,.notice img{border-radius:24px}.new_list .title{color:var(--tieba-theme-color)}.new_list .title:hover{color:var(--tieba-theme-color);-webkit-text-decoration:underline;text-decoration:underline}.title-tag-wraper a{padding:4px 10px;border-radius:24px;background-color:var(--light-background);color:var(--light-fore);font-size:12px}.title-tag-wraper a:hover{color:var(--light-fore);-webkit-text-decoration:none;text-decoration:none}.list-post-num{top:0;padding:4px 10px;border:none;border-radius:16px;background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore)}.list-triangle-border,.list-triangle-body{display:none}.new_list .post_author{padding:0;margin-bottom:24px;background:none;color:var(--default-fore);-webkit-text-decoration:none;text-decoration:none}.new_list .time{padding:0;background:none}.topic-tag{display:none}.n_img img{border:none;border-radius:16px;cursor:pointer}.n_img li{border-radius:16px}.n_img li .feed_highlight{background:none;cursor:pointer}.media_box{border:none;border-radius:16px;background-color:var(--light-background)}.media_box img{border-radius:16px;cursor:pointer}.ui_btn{border:none;border-radius:24px;background:none;background-color:var(--tieba-theme-color);color:var(--default-background)}.ui_btn:hover{-webkit-text-decoration:none!important;text-decoration:none!important}.ui_btn:hover{background:none;background-color:var(--tieba-theme-color);box-shadow:0 0 10px var(--tieba-theme-color);color:var(--default-background)}.btn_more{width:200px;height:auto;height:initial;border-radius:24px;background:none;background-color:var(--tieba-theme-background)}.btn_more:hover,.data_error_bar a:hover,.btn_more a:hover{background:none!important;background-color:var(--tieba-theme-color)!important;color:var(--default-background)!important}.data_error_bar a,.btn_more a{border:none;color:var(--tieba-theme-fore)}.bottom-bg{background:none}.footer{border-top:1px solid var(--light-background);background-color:var(--light-background)}.f-d-w,.left-cont-wraper .ufw-gap,#data_loading img{display:none}'),ma('@charset "UTF-8";.search-form{background-color:var(--default-background)}.search-form p{display:none}.page404{background-color:var(--default-background)}.main-title{color:var(--default-fore)}.main-title a{color:var(--tieba-theme-fore)}.app_download_box,#error_404_iframe{display:none}'),ma('@charset "UTF-8";.d_name a:hover,#container .content a.at:hover{-webkit-text-decoration:none;text-decoration:none}.l_reply_num{color:inherit!important}#j_navtab_game,.nav_list .more-config-navtab,#j_navtab_wanle{display:none}.nav_wrap_add_border{border:none}#head{background:none;background-color:transparent}#container .content{border-radius:24px;background:transparent none repeat 0 0 / auto auto padding-box border-box scroll;background:initial}.card_top_wrap{background:none!important;background-color:var(--elem-color)!important}.card_top_wrap{border-radius:24px 24px 0 0}.card_top_theme2{border:none;margin-right:0}#novel-ranking .novel-ranking-frs-body,.novel-award-aside{display:none}.card_head,.plat_head_theme2 .plat_picbox{top:-32px!important;width:64px!important;height:64px!important;padding:0!important;padding:initial!important;border:4px solid var(--border-color)!important;border-radius:24px!important;background:none!important}.card_head,.plat_head_theme2 .plat_picbox{overflow:hidden}.card_head_img,.plat_head_theme2 .plat_picbox img{width:64px!important;height:64px!important}.card_title,.plat_title_h3{margin:5px 20px 0}.card_top_theme2 .card_title_fname,.plat_title_h3,.plat_title_h3:hover,.plat_title_h3:visited{color:var(--highlight-fore)}.islike_focus{margin-top:4px!important}.islike_focus{border-radius:24px;background:none;background-color:var(--tieba-theme-color);color:var(--elem-color);font-size:14px;line-height:28px;text-align:center}.islike_focus:after{content:"关注"}.cancel_focus{width:72px;border:2px solid var(--trans-tieba-theme-color);border-radius:24px;background:none;background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore);font-size:14px;line-height:28px;text-align:center}.cancel_focus:after{content:"已关注"}.card_top_right{margin-top:20px}.sign_box_bright{width:140px!important;height:40px!important}.sign_box_bright{border:2px solid var(--trans-tieba-theme-color);border-radius:24px;background:none;background-color:var(--tieba-theme-color);color:var(--default-background);font-size:18px;line-height:40px;text-align:center}.sign_btn_bright:before{color:var(--elem-color);content:"签到"}.sign_box_bright_signed{background-color:var(--tieba-theme-background);text-align:inherit}.sign_today_date,.sign_month_lack_days{display:none}.sign_keep_span{width:140px!important}.sign_keep_span{height:40px}.sign_keep_span,.sign_mod_bright .sign_keep_span{margin:0;margin:initial;color:var(--tieba-theme-fore);font-size:12px;text-align:center}.sign_box_bright_signed:before{content:none!important}.sign_mod_bright .sign_keep_span:before{content:"已签到 | "}.jump_input_bright{padding:0 10px;border-color:var(--border-color);border-radius:16px}.left_section{background:none}.core_title_wrap_bright{border-color:var(--border-color);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:var(--trans-default-background)}.core_title_theme_bright,.core_title_absolute_bright .core_title_theme_bright{border-color:var(--border-color);background:none}.left_section .core_title_absolute_bright{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:var(--trans-default-background)}.core_title_txt{margin-left:24px;background:none}.tittle_fill_dom.filled{background-color:var(--default-background)}.core_title h1{margin-left:0;color:var(--highlight-fore)}.nav_wrap{background-image:none!important}.nav_wrap{border-color:var(--border-color);background-color:var(--light-background)}.nav_list a.nav_icon,.nav_list .tbnav_arrow{padding-left:22px;background:transparent none repeat 0 0 / auto auto padding-box border-box scroll;background:initial}.nav_wrap,.nav_list .space,.nav_list .focus,.nav_list li:hover,.nav_list li:hover .tbnav_tab_inner,.nav_list .focus .tbnav_tab_inner{background:transparent none repeat 0 0 / auto auto padding-box border-box scroll;background:initial}.nav_list a{color:var(--default-fore)}span.tP{color:var(--highlight-fore)!important}.thread_theme_5{width:auto;width:initial;border-color:var(--border-color);border-right:none;border-left:none;background-color:var(--light-background)}.btn_sub,.btn-sub,.btn-sub-b,.core_title_btns li a,.p_favthr_main{border:none;border-radius:8px;background:none;background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore)}.btn_sub:hover,.btn-sub:hover,.btn-sub-b:hover,.btn_sub:active,.btn-sub:active,.btn-sub-b:active,.btn_sub:focus,.btn-sub:focus,.btn-sub-b:focus{background-color:var(--tieba-theme-color);color:var(--default-background)}.l_lzonly:hover,.p_favthr_main:hover{background-color:var(--tieba-theme-color)!important;color:var(--default-background)!important}#quick_reply{display:none}.d_lzonly_bdaside,.p_favthr_main p,.j_quick_reply,.j_lzl_p a{color:inherit}.j_quick_reply{padding-left:0;padding-left:initial}.l_post_bright{width:auto;width:initial;border-color:var(--border-color);background:none}.p_author_face{background:none!important}.p_author_face{border:none}.icon_relative img{border-radius:16px}.d_name .p_author_name{color:var(--tieba-theme-fore)}.novel-level-icon{display:none}.d_badge_bright,.user_level .badge{border:1px solid var(--border-color);border-radius:24px;background-color:var(--light-background)}.user_level .badge_name{color:inherit}.d_badge_bright .d_badge_title{padding-left:4px;color:var(--default-fore)}.d_badge_bright .d_badge_lv,.user_level .badge_index{background-image:none!important}.d_badge_bright .d_badge_lv,.user_level .badge_index{background-color:var(--tieba-theme-background);color:var(--tieba-theme-fore)}.d_badge_lv,.user_level .badge_index{top:auto!important;top:initial!important;left:60px!important;width:auto!important;width:initial!important;height:8px!important;padding:0 4px!important;margin:12px 4px!important;font-family:inherit!important;line-height:2px!important}.d_badge_lv,.user_level .badge_index{border-radius:16px;font-size:14px;font-style:italic}.d_badge_icon1 .d_badge_lv,.tieba-lvl-green{background-color:var(--level-green-background)!important;color:var(--level-green-fore)!important}.d_badge_icon2 .d_badge_lv,.d_badge_icon2_1 .d_badge_lv,.d_badge_icon2_2 .d_badge_lv,.tieba-lvl-blue{background-color:var(--level-blue-background)!important;color:var(--level-blue-fore)!important}.d_badge_icon3 .d_badge_lv,.d_badge_icon3_1 .d_badge_lv,.d_badge_icon3_2 .d_badge_lv,.tieba-lvl-yellow{background-color:var(--level-yellow-background)!important;color:var(--level-yellow-fore)!important}.d_badge_icon4 .d_badge_lv,.d_badge_icon4_1 .d_badge_lv,.d_badge_icon4_2 .d_badge_lv,.tieba-lvl-orange{background-color:var(--level-orange-background)!important;color:var(--level-orange-fore)!important}.d_badge_bawu1 .d_badge_lv,.d_badge_bawu2 .d_badge_lv{text-indent:inherit!important}.d_author .d_pb_icons,.icon_book_link_icon{display:none}.region_bright{border:none;margin-top:12px;background:none;background-color:var(--elem-color)}.region_bright .region_title{color:var(--default-fore)!important}#celebrity{display:none}.balv_mod .media_left,.balv_mod .media-left{border:none}.right_section .tieba_notice{background:none}.topic_list_box{display:none;background-color:var(--default-background)}.pb_content{border:none;background:none;background-color:var(--elem-color)}.notice-icon,.right_section .tieba_notice{padding-left:0!important;padding-left:initial!important;background:none!important}.tieba_notice li{background:none}.p_content{border:none;background-color:var(--default-background)}.forbid-speech-banner{border-top:none}.BDE_Image{border-radius:24px}.BDE_Image:first-child{margin-top:8px}.share_btn_wrapper,.post-tail-wrap .icon-jubao{display:none}.post-tail-wrap .icon-jubao:after{content:"举报"}.post-tail-wrap .tail-info{color:var(--minimal-fore)}.j_jb_ele .tail-info,.complaint{color:var(--tieba-theme-fore)!important}.complaint{padding-right:4px;background:none}.complaint:after{content:"举报"}.post-tail-wrap .question-image:hover:before{border-color:var(--border-color);border-radius:8px;background-color:var(--light-background);color:var(--default-fore)}.post_bubble_top,.post_bubble_bottom{display:none}.post_bubble_middle{background:none!important}.post_bubble_middle{width:auto;width:initial;padding:0;padding:initial}.save_face_bg_2{display:none}.replace_div .replace_tip{border-color:var(--border-color);background-color:var(--elem-color)}.achievement_medal_section{display:none}.l_post_bright .d_post_content_main .d_sign_split{border-bottom:1px solid var(--border-color)}.d_post_content_main{background-color:var(--default-background)!important}.lzl_p_p{border:none}.lzl_p_p img{border-radius:8px}.core_reply_wrapper{border:1px solid var(--border-color)!important;border-radius:16px!important;margin-bottom:16px!important;background:none!important;background-color:var(--very-light-background)!important;color:var(--default-fore)!important}.core_reply_content li{border-top:0;border-top:initial}.core_reply_content li.first_no_border{margin-top:6px}.lzl_content_main{color:var(--default-fore)}.l_post_bright .core_reply_wrapper .core_reply_border_top,.core_reply_border_bottom,.l_post_bright .core_reply_wrapper .core_reply_content{border:none;background:none}.lzl_link_fold{display:none!important;border:1px solid var(--border-color)!important;border-bottom:none!important;background-color:var(--very-light-background)!important}.lzl_link_fold{border-radius:8px 8px 0 0;color:var(--tieba-theme-fore)}.core_reply div.hideLzl{background:none;background-color:var(--very-light-background)}.core_reply_wrapper .loading_reply{display:none}.lzl_cnt .lzl_s_r{color:var(--tieba-theme-fore)}.lzl_li_pager_s .lzl_more,.lzl_more span{color:var(--light-fore)}.j_lzl_m{color:var(--tieba-theme-fore)}.lzl_cnt .lzl_time{color:var(--minimal-fore)}.lzl_jb_in,.user-jubao-button{background:none;color:var(--tieba-theme-fore)}.lzl_jb_in:after,.user-jubao-button:after{content:"举报"}.lzl_cnt .lzl_content_main{display:block}.d_post_content a,.lzl_cnt .lzl_content_main a:not(.at){margin:auto 2px;color:var(--tieba-theme-fore);transition:.4s}.pager_theme_5 a,.pager_theme_5 span,.jump_btn_bright{border-color:var(--default-background);border-radius:8px;background:none;background-color:var(--default-background);color:var(--minimal-fore)}.pager_theme_5 a:hover,.jump_btn_bright:hover{border-color:var(--tieba-theme-color);background-color:var(--tieba-theme-color);color:var(--default-background)}.thread_theme_7{width:auto;width:initial;border-color:var(--border-color);background-color:var(--light-background)}#pb-footer-header{background-color:var(--default-background)}#tb_rich_poster_container{width:auto;width:initial;border-radius:24px;background-color:var(--default-background)}.poster_head_text a.cur{color:var(--highlight-fore)!important}.edui-editor-body{border-color:var(--border-color)!important}.edui-editor-body{border-radius:16px;background:none}.edui-container .edui-editor-body.body-container-focus,.edui-container .edui-editor-body.body-container-focus .edui-body-container{border-color:var(--tieba-theme-color)!important}.old_style_wrapper{border-color:var(--border-color);border-radius:24px;background-color:var(--elem-color)}.edui-editor-body .edui-body-container{width:auto!important;width:initial!important}.edui-editor-body .edui-body-container{border-radius:16px;background:var(--default-background)}.edui-toolbar .edui-btn-toolbar,.edui-container .edui-toolbar{margin-top:4px;background-color:var(--elem-color)}.pb_footer{width:auto;width:initial;border:none;border-color:var(--border-color);background:none}.save-to-quick-reply-btn{border-color:var(--border-color);background:none;background-color:var(--light-background);color:inherit}.save-to-quick-reply-btn span{color:var(--tieba-theme-fore)}.footer{display:none}.skin_normal .wrap2{background:none;background-color:var(--page-background)}#lcsas-container{display:none}.user-hide-post-down,.user-hide-post-up{background-color:var(--light-fore);background-position:center;background-repeat:no-repeat;background-size:16px;-webkit-mask:var(--svg-arrow-down-circle);mask:var(--svg-arrow-down-circle);opacity:0}#selectsearch-icon{display:none}.ui_card_wrap{background:none}.ui_card_content{border-color:var(--border-color);border-radius:16px;background:none;box-shadow:0 0 20px #0003}.card_userinfo_wrap{background:none;background-color:var(--default-background)}.card_userinfo_left .userinfo_head{background:none}.j_avatar img{width:92px;height:92px;border:4px solid var(--border-color);border-radius:24px;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}.card_userinfo_middle .userinfo_sex{background:none}.userinfo_sex_male:after{content:"♂"}.userinfo_sex_female:after{content:"♀"}.ui_card_wrap .ui_white_down,.ui_card_wrap .ui_white_up,.card_userinfo_guide{display:none}.user_card_loading{background-color:var(--default-background)}.user_card_loading img{display:none}.plat_head_theme2,.plat_header{border:none;background-color:transparent;background-color:initial}'),"forum"===mh())ma('@charset "UTF-8";@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}.search_internal_btn:after,.icon_author:after,.icon_replyer:after{font-family:Material Symbols,monospace!important}.search_internal_btn:after,.icon_author:after,.icon_replyer:after{font-variation-settings:"FILL" 0,"wght" 400,"GRAD" 0,"opsz" 40;-webkit-user-select:none;-moz-user-select:none;user-select:none}.search_bright .search_btn_enter_ba{box-sizing:border-box;padding:2px 8px;border:none;border-radius:6px;background:none;background-color:var(--default-background);box-shadow:0 0 0 1px var(--border-color);color:var(--default-fore);cursor:pointer;transition:.4s}.search_bright .search_btn_enter_ba:hover:not([disabled]){background-color:var(--default-hover)}.search_bright .search_btn_enter_ba:active:not([disabled]){background-color:var(--default-active)}.search_bright .search_btn_enter_ba:focus:not([disabled]){border-color:var(--tieba-theme-color);box-shadow:0 0 0 2px var(--tieba-theme-color)}.search_bright .theme-style.search_btn_enter_ba{color:var(--default-background)!important}.search_bright .theme-style.search_btn_enter_ba{background-color:var(--tieba-theme-color)}.search_bright .theme-style.search_btn_enter_ba:hover{background-color:var(--tieba-theme-hover)}.search_bright .theme-style.search_btn_enter_ba:active{background-color:var(--tieba-theme-active)}.search_bright .unset-background.search_btn_enter_ba{background-color:transparent;background-color:initial}.search_bright .no-border.search_btn_enter_ba,.search_bright .no-border-all.search_btn_enter_ba{box-shadow:none}.search_bright .no-border-all.search_btn_enter_ba:hover,.search_bright .no-border-all.search_btn_enter_ba:focus{box-shadow:none}#head{background:transparent none repeat 0 0 / auto auto padding-box border-box scroll!important;background:initial!important;background-color:var(--page-background)!important}#head .head_inner{background-color:var(--page-background)}.threadlist_title a,.threadlist_title a:hover,.threadlist_title a:visited{color:var(--tieba-theme-fore)!important}.u_menu_item a{color:inherit!important}.card_banner,.plat_recom_carousel{display:none!important}.search_main{padding-bottom:0;padding-bottom:initial}.search_bright{margin-bottom:36px}.search_bright .search_logo_fixed{width:36px!important;height:36px!important;margin-left:56px!important;background-color:#0000!important;background-image:var(--img-tieba-icon)!important;background-repeat:no-repeat!important}.head_inner .search_logo{display:none!important}.search_form{display:flex;align-items:center;justify-content:center}.search_form form{margin-left:0!important}.search_bright .search_inp_border,.search_bright .search_ipt{height:40px!important;border:2px solid var(--border-color)!important;background-color:var(--default-background)!important;color:var(--default-fore)!important}.search_bright .search_inp_border,.search_bright .search_ipt{box-sizing:border-box;transition:.4s}.search_bright .search_inp_border:hover,.search_bright .search_ipt:hover{border-color:var(--light-background)!important}.search_bright .search_inp_border:focus,.search_bright .search_ipt:focus{border-color:var(--tieba-theme-color)!important}.search_bright .search_btn{height:40px!important;border:1px solid var(--border-color)!important;background-color:var(--default-background)!important;box-shadow:none!important;color:var(--default-fore)!important;line-height:40px!important}.search_bright .search_btn{box-sizing:border-box;transition:.4s}.search_bright .search_btn:hover{filter:brightness(1.1)}.search_bright .search_btn:active{filter:brightness(1.2)}.search_bright .search_btn_enter_ba{border:none!important;background-color:var(--tieba-theme-color)!important;color:var(--default-background)!important}.search_bright .search_btn_enter_ba{border-bottom-left-radius:0;border-top-left-radius:0}.search_main_fixed{display:none!important}.search_main_fixed{border-color:var(--border-color);-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);background-color:var(--trans-default-background);box-shadow:0 0 20px #0000001a}.card_top_theme{border:none!important}#content{width:982px}.card_top_theme .card_top{padding-left:120px!important}.card_title_fname{color:var(--tieba-theme-fore)!important}.card_title_fname{font-weight:700}.card_slogan{color:var(--light-fore)!important}.islike_focus{background-color:var(--tieba-theme-color)!important;background-image:none!important}.cancel_focus{background:none!important;background-color:var(--tieba-theme-background)!important}.sign_box_bright,.sign_box_bright_hover{background:none!important;background-color:var(--tieba-theme-color)!important}.sign_box_bright_signed,.sign_box_bright_noclass_hover{background:none!important;background-color:var(--tieba-theme-background)!important}.sign_mod_bright .sign_keep_span{margin:0!important;margin:initial!important;text-align:center!important}.forum_content{border-color:var(--border-color)!important;border-right:none!important;background:none!important;background-color:var(--elem-color)!important}.nav_wrap{border-color:var(--border-color)!important}.nav_list li.focus{background:none!important}.nav_list a{color:inherit!important}.j_tabnav_tab:hover{background:none}.nav_list a:hover,.nav_list a:focus{background-color:var(--elem-color)!important}.search_internal_input{height:24px!important;border-color:var(--border-color)!important;color:var(--default-fore)!important}.search_internal_input{border-radius:8px 0 0 8px}.search_internal_btn{height:26px!important;background-color:var(--tieba-theme-color)!important;background-image:none!important;vertical-align:middle!important}.search_internal_btn{border-radius:0 8px 8px 0}.search_internal_btn:after{color:var(--default-background);content:"search";font-size:18px;font-weight:700;line-height:26px;text-align:center}.aside_region{border-bottom:none!important}.aside_region .region_header{color:var(--default-fore)!important}.my_tieba .media_left,.my_tieba .media-left{border:none!important}.my_current_forum .badge{border:1px solid var(--border-color)!important;background-color:var(--light-background)!important;color:var(--default-fore)!important}.my_current_forum .badge_name{color:var(--default-fore)!important}.media_top img,.media-top img{border-radius:16px}.aside_media_horizontal a,.aside-media-horizontal a{color:var(--tieba-theme-fore)!important}.threadlist_bright li.thread_top_list_folder,.threadlist_bright li.thread_top_list_folder:hover{background-color:var(--very-light-background)!important}.threadlist_bright>li{border:none!important;background-color:var(--default-background)!important}.threadlist_bright>li:hover{background-color:var(--trans-light-background)!important}.j_th_tit{color:var(--tieba-theme-fore);font-weight:700}.threadlist_bright .threadlist_abs_onlyline,.threadlist_bright .threadlist_abs{color:var(--default-fore)!important}.vpic_wrap img:not([style]){opacity:0}.threadlist_bright .threadlist_media li{border-radius:8px!important}.threadlist_media li:hover .threadlist_pic_highlight{display:none!important}.threadlist_media li:hover .threadlist_pic_highlight,.vpic_wrap img{border-radius:8px}.threadlist_bright .media_disp{border:none!important;background:none!important}.threadlist_bright .threadlist_video{border-radius:8px}.threadlist_rep_num{height:auto!important;height:initial!important;background:none!important;background-color:var(--tieba-theme-background)!important}.threadlist_rep_num{border-radius:24px;color:var(--tieba-theme-fore);font-weight:700}.pagination-default .pagination-item{border:none!important;background-color:var(--light-background)!important;color:var(--light-fore)!important}.pagination-default .pagination-item{border-radius:8px}.pagination-default .pagination-current{border:none!important;background-color:var(--tieba-theme-color)!important;color:var(--default-background)!important}.pagination-default .pagination-item:not(.pagination-current):hover{border:none!important;background-color:var(--trans-light-background)!important}#tb_rich_poster_container{width:982px!important;background-color:var(--very-light-background)!important}#tb_rich_poster_container{border-radius:0 0 24px 24px;margin-left:-1px}.tb_rich_poster .poster_body .editor_textfield{border-color:var(--border-color)!important;background-color:var(--default-background)!important;color:var(--default-fore)!important}.tb_rich_poster .poster_body .editor_textfield{border-radius:8px}.tb_rich_poster .poster_body .editor_textfield:focus{border-color:var(--tieba-theme-color)!important}.old_style_wrapper{border-color:var(--border-color)!important;background-color:var(--elem-color)!important}.old_style_wrapper .edui-editor-body,.edui-container .edui-toolbar{background:none!important}.edui-editor-body .edui-body-container{border-color:var(--border-color)!important;background-color:var(--default-background)!important}.frs_content_footer_pagelet{background:none!important}.footer{display:none!important}.icon_author{background-image:none!important}.icon_author:after{content:"person";font-style:normal}.icon_replyer{background-image:none!important}.icon_replyer:after{content:"comment";font-style:normal}');document.head.appendChild(Bp("link",{type:"image/icon",rel:"shortcut icon",href:_h("/assets/images/main/favicon32.ico")}));}(),async function(){ma("body{--el-color-primary: var(--tieba-theme-color) !important}"),ma("html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:#3375b9;--el-color-primary-light-5:#2a598a;--el-color-primary-light-7:#213d5b;--el-color-primary-light-8:#1d3043;--el-color-primary-light-9:#18222c;--el-color-primary-dark-2:#66b1ff;--el-color-success:#67c23a;--el-color-success-light-3:#4e8e2f;--el-color-success-light-5:#3e6b27;--el-color-success-light-7:#2d481f;--el-color-success-light-8:#25371c;--el-color-success-light-9:#1c2518;--el-color-success-dark-2:#85ce61;--el-color-warning:#e6a23c;--el-color-warning-light-3:#a77730;--el-color-warning-light-5:#7d5b28;--el-color-warning-light-7:#533f20;--el-color-warning-light-8:#3e301c;--el-color-warning-light-9:#292218;--el-color-warning-dark-2:#ebb563;--el-color-danger:#f56c6c;--el-color-danger-light-3:#b25252;--el-color-danger-light-5:#854040;--el-color-danger-light-7:#582e2e;--el-color-danger-light-8:#412626;--el-color-danger-light-9:#2b1d1d;--el-color-danger-dark-2:#f78989;--el-color-error:#f56c6c;--el-color-error-light-3:#b25252;--el-color-error-light-5:#854040;--el-color-error-light-7:#582e2e;--el-color-error-light-8:#412626;--el-color-error-light-9:#2b1d1d;--el-color-error-dark-2:#f78989;--el-color-info:#909399;--el-color-info-light-3:#6b6d71;--el-color-info-light-5:#525457;--el-color-info-light-7:#393a3c;--el-color-info-light-8:#2d2d2f;--el-color-info-light-9:#202121;--el-color-info-dark-2:#a6a9ad;--el-box-shadow:0px 12px 32px 4px rgba(0, 0, 0, .36),0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light:0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter:0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0, 0, 0, .72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:transparent;--el-mask-color:rgba(0, 0, 0, .8);--el-mask-color-extra-light:rgba(0, 0, 0, .3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255, 255, 255, .5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a}");}(),async function(){if("index"!==mh())return;if(!Sf.get().index)return;const e=ma(Zp({body:{display:"none"}}));await Tp((()=>null!==Rp(!0,".wrap1"))),Tf(Sk),Rp(!0,".wrap1").remove(),e.remove();}(),async function(){if(!Sf.get().thread)return;if("thread"!==mh())return;Yp('@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}.lzl_cnt .at,.lzl_cnt .lzl_content_main a,.content-wrapper .author-container .floor-name,.d_post_content a,.lzl_cnt .lzl_content_main a:not(.at){color:var(--tieba-theme-fore);cursor:pointer;-webkit-text-decoration:none;text-decoration:none;transition:.4s}.d_post_content a,.lzl_cnt .lzl_content_main a:not(.at){text-decoration:underline;-webkit-text-decoration:underline solid currentColor;text-decoration:underline solid currentColor;text-decoration-thickness:1.2px;-webkit-text-decoration:underline 1.2px;text-decoration:underline 1.2px}.lzl_cnt .at:hover,.lzl_cnt .lzl_content_main a:hover,.content-wrapper .author-container .floor-name:hover,.d_post_content a:hover{background-color:var(--default-hover)}.d_post_content a:hover,.lzl_cnt .lzl_content_main a:hover:not(.at){text-decoration:underline;-webkit-text-decoration:underline solid rgba(0,0,0,0);text-decoration:underline solid rgba(0,0,0,0);text-decoration-thickness:1.2px;-webkit-text-decoration:underline 1.2px rgba(0,0,0,0);text-decoration:underline 1.2px rgba(0,0,0,0)}.lzl_cnt .at:active,.lzl_cnt .lzl_content_main a:active,.content-wrapper .author-container .floor-name:active,.d_post_content a:active{background-color:var(--default-active)}.lzl_p_p img,.content-wrapper .author-container .floor-avatar img{-o-object-fit:contain;object-fit:contain}body{background-color:var(--page-background);overflow-x:hidden}body.special_conf_skin{background:var(--page-background)}.wrap1,.wrap1 .wrap2{background:none!important;background-color:transparent!important}.head_inner{display:none}#container{width:100%;max-width:100%;max-width:var(--content-max);box-sizing:border-box;margin-top:120px}#container .content{width:100%}#container .content .pb_content{position:relative;width:100%;box-sizing:border-box;padding:24px;border-radius:6px 6px 0 0;border-top:6px solid var(--tieba-theme-color);background-color:var(--default-background);box-shadow:0 12px 80px -32px #0006}#container .tittle_fill_dom,.card_top_wrap,.nav_wrap,.p_thread{display:none}.core_title_wrap_bright{display:none!important}.lzl_cnt .at{padding:2px 0;color:var(--default-fore);font-size:14px;font-weight:700}.lzl_cnt .lzl_content_main img{vertical-align:text-bottom}#j_p_postlist{display:flex;box-sizing:border-box;flex-direction:column;gap:16px}#j_p_postlist .save_face_bg{display:none}#j_p_postlist .l_post_bright{border:none}#j_p_postlist .l_post_bright .d_post_content_main{background-color:transparent!important;background-color:initial!important}#j_p_postlist .l_post_bright .d_post_content_main{width:100%;padding:0}#j_p_postlist .l_post_bright .d_post_content_main .p_content{min-height:0;min-height:initial;padding:0;margin-bottom:-42px;background-color:transparent;background-color:initial}#j_p_postlist .l_post_bright .d_post_content_main .p_content .shield-tip{background:none}#j_p_postlist .l_post_bright .d_post_content_main .p_content .d_post_content{background-color:transparent!important;background-color:initial!important}#j_p_postlist .l_post_bright .d_post_content_main .p_content .d_post_content{padding:0;font-size:16px;grid-area:content}#j_p_postlist .l_post_bright .d_post_content_main .p_content .replace_div{width:auto!important}#j_p_postlist .l_post_bright .d_post_content_main .p_content .BDE_Smiley{width:24px;height:24px;vertical-align:text-bottom}#j_p_postlist .l_post_bright .d_post_content_main .p_content .BDE_Image{display:flex;width:auto;max-height:540px;border-radius:12px;margin:6px auto}#j_p_postlist .l_post_bright .d_post_content_main .core_reply{margin-right:0;margin-right:initial}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_tail{margin-top:0}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper{border:none!important;background-color:transparent!important;background-color:initial!important}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper{width:100%}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content{padding:0 0 0 36px}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .lzl_single_post{animation:kf-fade-in .4s}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .lzl_single_post:not(.first_no_border){padding-top:0;margin-top:0}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .edui-container{width:auto!important}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .edui-container{max-height:64px}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .edui-container .edui-editor-body{height:-moz-max-content!important;height:max-content!important}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .edui-container .edui-editor-body{overflow:hidden;max-height:72px;padding:6px;border-radius:6px}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .edui-container .edui-editor-body .edui-body-container{min-height:16px!important}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .edui-container .edui-editor-body .edui-body-container{max-height:64px;padding-left:0;border-radius:6px;font-size:14px;overflow-y:auto}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .lzl_panel_wrapper{width:100%}#j_p_postlist .l_post_bright .d_post_content_main .core_reply .core_reply_wrapper .core_reply_content .lzl_panel_wrapper .lzl_panel_submit{background:none}.main-wrapper{display:flex;max-width:80%;flex-direction:column;padding:8px;margin:48px auto auto}@media (min-width: 1200px){.main-wrapper{max-width:60%}}.left_section{width:100%}.right_section{display:none}.title-wrapper{display:flex;box-sizing:border-box;align-items:flex-end;justify-content:space-between;margin:24px 0;gap:8px}.shrink-view .title-wrapper{padding:0 24px}.title-wrapper .thread-title{max-width:60%;font-size:32px;line-height:36px;text-align:left}.title-wrapper .forum-wrapper-button{background-color:var(--trans-light-background)!important}.title-wrapper .forum-wrapper-button{display:flex;overflow:hidden;width:-moz-max-content;width:max-content;height:-moz-max-content;height:max-content;align-items:center;padding:0;border-radius:8px;gap:8px}html:not([perf-saver]) body.custom-background .title-wrapper .forum-wrapper-button{-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px)}html.dark-theme body.custom-background .title-wrapper .forum-wrapper-button{-webkit-backdrop-filter:blur(24px) brightness(.8);backdrop-filter:blur(24px) brightness(.8)}.title-wrapper .forum-wrapper-button:last-child{padding-right:8px}.title-wrapper .forum-wrapper-button .forum-icon{width:36px;height:36px}.title-wrapper .forum-wrapper-button .forum-name{color:var(--highlight-fore);font-size:14px;font-weight:700}.title-wrapper .forum-wrapper-button .forum-info{display:flex;flex-direction:column;justify-content:center}.title-wrapper .forum-wrapper-button .forum-info .forum-members{display:flex;gap:8px}.title-wrapper .forum-wrapper-button .button-container{display:flex;align-items:center}.title-wrapper .forum-wrapper-button .button-container .forum-button{padding:0 4px;color:var(--tieba-theme-color);font-size:16px;font-weight:700}.title-wrapper .forum-wrapper-button .button-container .forum-button:not(:hover):not(:active):not(:focus){background-color:transparent}.forum-mask-wrapper{position:relative;z-index:-1;display:flex;justify-content:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}@keyframes mask-fade-in{0%{opacity:0}to{opacity:.1}}.forum-mask-wrapper .forum-mask{position:absolute;top:-320px;width:480px;height:480px;border-radius:480px;animation:mask-fade-in 1s ease-in-out;filter:blur(60px);opacity:.1;-webkit-user-select:none;-moz-user-select:none;user-select:none}.content-wrapper{display:flex;width:100%;flex-direction:column;gap:16px}.content-wrapper .author-container{display:grid;margin-bottom:8px;grid-gap:6px;gap:6px;grid-template:"avatar name" auto "avatar tags" auto/36px 1fr}.content-wrapper .author-container .floor-avatar{width:-moz-max-content!important;width:max-content!important;height:-moz-max-content!important;height:max-content!important;padding:0!important}.content-wrapper .author-container .floor-avatar{overflow:hidden;grid-area:avatar}.content-wrapper .author-container .floor-avatar img{width:36px;height:36px;border-radius:8px}.content-wrapper .author-container .floor-name{width:-moz-fit-content;width:fit-content;color:var(--highlight-fore);font-size:14px;font-weight:700;grid-area:name}.content-wrapper .author-container .badge-container{display:flex;margin-top:-4px;gap:4px;grid-area:tags}.content-wrapper .author-container .badge-container .floor-badge{display:flex;width:-moz-fit-content;width:fit-content;padding:0 6px;border-radius:6px;background-color:var(--trans-light-background);color:var(--light-fore);gap:6px}.content-wrapper .author-container .badge-container .floor-badge .badge-level{font-weight:700}.content-wrapper .floor-wrapper{display:grid;grid-template:"avatar name" auto "avatar tags" auto "content content" 1fr "footer footer" auto "comments comments" auto/36px 1fr}.content-wrapper .floor-wrapper .floor-avatar{width:-moz-max-content!important;width:max-content!important;height:-moz-max-content!important;height:max-content!important;padding:0!important}.content-wrapper .floor-wrapper .floor-avatar{overflow:hidden;grid-area:avatar}.content-wrapper .floor-wrapper .floor-avatar img{width:36px;border-radius:8px}.content-wrapper .floor-wrapper .floor-name{width:-moz-fit-content;width:fit-content;margin:0 8px 4px;font-size:14px;grid-area:name}.content-wrapper .floor-wrapper .floor-badge{display:flex;width:-moz-fit-content;width:fit-content;padding:0 6px;border-radius:6px;margin:0 8px 8px;background-color:var(--trans-light-background);color:var(--light-fore);gap:6px;grid-area:tags}.content-wrapper .floor-wrapper .floor-badge .badge-level{font-weight:700}.content-wrapper .floor-wrapper .floor-content{padding:8px 0;font-size:16px;grid-area:content}.content-wrapper .floor-wrapper .floor-content .BDE_Smiley{width:24px;height:24px;vertical-align:sub}.content-wrapper .floor-wrapper .floor-info{display:flex;justify-content:flex-end;color:var(--light-fore);gap:12px;grid-area:footer}.content-wrapper .floor-wrapper .floor-comments{width:100%;grid-area:comments}.content-wrapper .floor-wrapper .floor-comments .core_reply_wrapper{width:100%}#ueditor_replace{overflow:hidden}#thread-jsx-components{position:absolute;display:flex;width:100%;max-width:var(--content-max);box-sizing:border-box;flex-direction:column;padding:8px 24px 16px;background-color:var(--default-background);gap:12px}#thread-jsx-components .dummy-button{width:100%;padding:6px 0 0;border:none;border-radius:0;border-bottom:3px solid var(--border-color);background-color:transparent;box-shadow:none;color:var(--minimal-fore);cursor:text;font-size:16px;text-align:justify}#thread-jsx-components .dummy-button:hover{border-color:var(--light-background)}#thread-jsx-components .dummy-button:focus{border-color:var(--tieba-theme-color)}.pb_footer,.svelte-zmnt4x{display:none}.wrap2{padding-bottom:0!important}.head_ad_pop{display:none!important}.plat_head,.star_nav_wrap{display:none}'),Yp("body[compact-layout] #j_p_postlist{gap:0}body[compact-layout] .core_reply_content li.first_no_border{margin-top:-4px}"),await Tp((()=>void 0!==document.body)).then((function(){yf.get()&&document.body.toggleAttribute("compact-layout");})),Tp((()=>void 0!==Vk.get())).then((function(){Vk.add("other",(function(){Mf(Bk,{toggles:[{icon:"favorite",name:"收藏",defaultValue:"收藏"!==Rp(!0,".j_favor, #j_favthread .p_favthr_main").innerText,event(){Rp(!0,".j_favor, #j_favthread .p_favthr_main").click();}},{icon:"face_6",name:"只看楼主",defaultValue:"只看楼主"!==Rp(!0,"#lzonly_cntn").innerText,event(){Rp(!0,"#lzonly_cntn").click();}},{icon:"compare_arrows",name:"紧凑布局",defaultValue:yf.get(),event(){document.body.toggleAttribute("compact-layout"),yf.set(!yf.get());}}]});}),"module-settings","menu"),document.body.insertBefore(Bp("div",{class:"vue-module-control",style:"display: none;"}),document.body.firstChild);}));const e=Rp(!0,".content","div"),t=Rp(!0,"#pb_content","div");!async function(){var e;const t=await Tp((()=>Rp("#j_p_postlist").length>0)).then((()=>Rp(!0,"#j_p_postlist")));t.classList.add("content-wrapper");let n=Uk();const r=n.forum.components.iconContainer.children[0].src;qh(Hu("div",{id:"title-wrapper",class:"title-wrapper"},[Hu("h3",{class:"thread-title"},[PageData.thread.title]),Hu(hp,{class:"forum-wrapper-button",noBorder:!0},{default:()=>[Hu("img",{class:"forum-icon",src:r,alt:""},null),Hu("a",{class:"forum-name",href:`/f?kw=${PageData.forum.name_url}`,target:"_blank"},[PageData.forum.forum_name,qu(" 吧")]),Hu("div",{class:"button-container"},[Hu(hp,{class:"icon forum-button add-forum-button",noBorder:!0},{default:()=>[PageData.user.is_like?"check":"add"]})])]})]),Rp(!0,".content"),Rp(!0,"#pb_content")),function(e,t,n=500){Rp(".float-message").length<=0&&Wh(Hu("div",{class:"float-message"},[Hu("div",{class:"float-content"},null)]),document.body);const r=Rp(!0,".float-message","div");let o=-1;e.addEventListener("mouseenter",(function(){o>=0&&clearTimeout(o);})),e.addEventListener("mouseleave",(function(){o>=0&&clearTimeout(o),r.style.display="none";})),e.addEventListener("mousemove",(function(e){o>=0&&clearTimeout(o),o=setTimeout((()=>{if("block"!==r.style.display){r.innerText=t,r.style.display="block",r.style.top="0",r.style.left="0";const n=Vh(r,{x:e.clientX+4,y:e.clientY+4},"baseline");r.style.left=`${n.x}px`,r.style.top=`${n.y<e.clientY?n.y-8:n.y}px`;}}),n);}));}(Rp(!0,".forum-wrapper-button"),`关注 ${PageData.forum.member_count},帖子 ${PageData.forum.post_num}`),Rp(!0,".add-forum-button","button").addEventListener("click",(function(){Rp(!0,"#j_head_focus_btn","button").click();})),null==(e=Rp(!0,".sign-in-button","button"))||e.addEventListener("click",(function(){Rp(!0,".j_signbtn","button").click();})),Hp.addEvent((function(){0!==Rp(".d_author").length&&(n=Uk(),Ao(Rp(".d_post_content_main","div",t),((e,t)=>{const r=function(e){const t=Bp("div",{class:"author-container"});n.cotents[e].profile.nameAnchor.classList.add("anchor"),t.appendChild(n.cotents[e].profile.avatar),t.appendChild(n.cotents[e].profile.nameAnchor);const r=Wh(Hu("div",{class:"badge-container"},null),t);return Wh(Hu("div",{class:`floor-badge level-${Ch(n.cotents[e].profile.level)}`},[Hu("div",{class:"badge-level"},[n.cotents[e].profile.level]),Hu("div",{class:"badge-title"},[n.cotents[e].profile.badgeTitle])]),r.el),n.cotents[e].isLouzhu&&Wh(Hu("div",{class:"floor-badge"},[qu("楼主")]),r.el),t}(t);e.insertBefore(r,e.firstChild);})),Ao(Rp(".d_author"),(e=>e.remove())));}));const o=new IntersectionObserver((function(e,t){Ao(e,(function(e){if(e.isIntersecting){const n=e.target.children[0],r=n.getAttribute("data-tb-lazyload");n.src!==r&&r?n.src=r:t.unobserve(e.target);}}));}),{root:null,rootMargin:"0px",threshold:.5});Ao(n.cotents,(e=>{o.observe(e.profile.avatar);})),Up.addEvent((()=>{Ao(Rp(".lzl_cnt"),(e=>{Ao(e.childNodes,(e=>{e&&3===e.nodeType&&e.remove();}));}));}));}();const n=[],r=(e,t,r)=>{const{vnode:o}=qh((a=r,Hu(Ok,{total:PageData.pager.total_page,current:PageData.pager.cur_page,showPagers:PageData.pager.total_page>1,pagerChange:function(e){Hk.jumpTo(e),Ao(n,(t=>{t.component.exposeProxy.current=e;}));},style:Jp({width:"100%",...a})},{tailSlot:()=>`回帖 ${PageData.thread.reply_num}`})),e,t);var a;n.push(o);};r(t,t.firstChild,{marginBottom:"24px",position:PageData.pager.total_page<=1?"absolute":"",right:PageData.pager.total_page<=1?"24px":""}),async function(){await Tp((()=>void 0!==Vk.get())),await Tp((()=>Rp("#ueditor_replace").length>0)),function(e,t,n){var r=x(e)?yr:sa;return n&&Te(e,t,n)&&(t=void 0),r(e,io(t))}(Vk.buttons(),{type:"post"})||Vk.add("post",o,void 0,void 0,2);const n=To(Vk.buttons(),(e=>"post"===e.type));function o(){const e=Rp(".edui-container").length>0?Rp(!0,".edui-container"):Rp(!0,"#ueditor_replace");Mf(Mk,{ueditor:e,type:"reply"},{forced:!0,blurEffect:!1,darker:!0});}null==n||n.el.addEventListener("click",o),r(t,t.lastChild,{paddingTop:"24px"}),Wh(Hu("div",{id:"thread-jsx-components"},[Hu(hp,{class:"dummy-button",noBorder:!0,onClick:o},{default:()=>[qu("回复帖子")]})]),e);}();}(),async function(){!function(e,t){Ao(e,(async e=>{const r=(await e()).default,o=new Set(ff.get()),a=(()=>{if(r.switch||void 0===r.switch){if(o.has(r.id))return !1;if(!0===r.scope)return !0;if(Array.isArray(r.scope))for(let e=0;e<r.scope.length;e++){const t=r.scope[e];if(mh()===t)return !0}if(r.scope instanceof RegExp&&r.scope.test(location.href))return !0}return !1})(),i={immediately:()=>{r.entry();},afterHead:()=>{Pp((()=>{r.entry();}));},DOMLoaded:()=>{document.addEventListener("DOMContentLoaded",(()=>{r.entry();}));},loaded:()=>{window.addEventListener("load",(()=>{r.entry();}));}};r.runnable=a,a&&i[r.runAt](),t&&t(r);}));}(Object.assign({"./modules/easy-jump/index.ts":()=>Promise.resolve().then((()=>Wk)),"./modules/no-login/index.ts":()=>Promise.resolve().then((()=>Gk)),"./modules/notrans-emojis/index.ts":()=>Promise.resolve().then((()=>Jk)),"./modules/portal/index.ts":()=>Promise.resolve().then((()=>Qk)),"./modules/remixed-theme/index.ts":()=>Promise.resolve().then((()=>hw)),"./modules/shield/index.ts":()=>Promise.resolve().then((()=>Ow)),"./modules/tieba-tags/index.ts":()=>Promise.resolve().then((()=>Tw)),"./modules/toolkit/index.ts":()=>Promise.resolve().then((()=>Fw))}),(e=>{jp().push(e);}));}(),async function(){document.addEventListener("DOMContentLoaded",(function(){"thread"===mh()&&(Hp.observe(),Up.observe()),"index"===mh()&&(Sf.get().index||qp.observe()),"forum"===mh()&&Wp.observe();}));}()]),window.addEventListener("load",(function(){vh();})),Tp((()=>null!==document.body)).then((function(){if(xf.get().noLimit)document.body.classList.add("shrink-view");else {const e=fa((function(){window.innerWidth<=xf.get().maxWidth?document.body.classList.add("shrink-view"):document.body.classList.remove("shrink-view");}),200);e(),window.addEventListener("resize",e);}})),Kp(),async function(){if("thread"!==mh())return;const e={default:1e3,saver:500,performance:9999};function t(){setTimeout((()=>{datalazyload.userConfig.diff=e[pf.get()];}),500);}await Tp((()=>"undefined"!=typeof datalazyload)),Hp.addEvent(t);}(),console.info("\n██████╗ ███████╗███╗   ███╗██╗██╗  ██╗███████╗██████╗ \n██╔══██╗██╔════╝████╗ ████║██║╚██╗██╔╝██╔════╝██╔══██╗\n██████╔╝█████╗  ██╔████╔██║██║ ╚███╔╝ █████╗  ██║  ██║\n██╔══██╗██╔══╝  ██║╚██╔╝██║██║ ██╔██╗ ██╔══╝  ██║  ██║\n██║  ██║███████╗██║ ╚═╝ ██║██║██╔╝ ██╗███████╗██████╔╝\n╚═╝  ╚═╝╚══════╝╚═╝     ╚═╝╚═╝╚═╝  ╚═╝╚══════╝╚═════╝ \n");const qk={id:"easy-jump",name:"直链跳转",author:"锯条",version:"1.0.2",brief:"链接跳转避免二次确认",description:"自动跳转至分享链接的原始地址,不再进行中转(不处理被严重警告的链接)",scope:/jump2?.bdimg.com\/safecheck\//,runAt:"immediately",entry:function(){Pp((function(){Qp("html",{backgroundColor:"var(--page-background)"}),Qp("body",{display:"none"});})),Tp((()=>Rp(".link").length>0)).then((function(){const e=Rp(".link")[0].innerText;location.href=e;}));}};const Wk=Object.freeze(Object.defineProperty({__proto__:null,default:qk},Symbol.toStringTag,{value:"Module"})),Kk={id:"nologin-tieba",name:"免登录浏览",author:"锯条",version:"1.0",brief:"免登录浏览贴吧",description:"始终伪装为已登录状态,让免登录浏览和已登录基本一致",scope:["thread"],runAt:"DOMLoaded",entry:function(){if(PageData.user.is_login)return;PageData.user.is_login=1;}};const Gk=Object.freeze(Object.defineProperty({__proto__:null,default:Kk},Symbol.toStringTag,{value:"Module"})),Zk={id:"notrans-emojis",name:"别动我的 emoji😠",author:"锯条",version:"1.0",brief:"拒绝替换我的 emoji",description:"原版贴吧会将部分emoji表情替换为旧版,该模块会让这些emoji重新跟随系统样式",scope:!0,runAt:"afterHead",entry:function(){const e=new RegExp("(?<=nickemoji\\/).*?(?=.png)","gi"),t=["º","◎","▫","◆","♤","♀","♂","ლ","♬","☞","☜","✆","☎","♋","Ω","℃","℉","😄","😍","😘","😚","😜","😳","😁","😞","😢","😂","😫","😨","😱","😡","😷","😲","😈","🐷","🐶","🐑","🐵","🐨","🐴","🐼","🐯","🍪","🍺","🍦","🍭","🍗","🍼","🔯","🍒","👀","🐭","😇","😺","😻","🙀","😿","😹","😾","👹","👺","🌞","🌝","🌚","🌜","🌛","👦","👧","🎎","🌸","🍀","🌹","🌻","🌺","🍁","🌿","🍄","🌵","🌴","🌳","🌰","🌱","🌼","🌐","🌙","🌋","🌌","⛅","⚡","☔","⛄","🌀","🌈","🌊","🔥","✨","🌟","💥","💫","💢","💦","💧","💤","💨","🎀","🌂","💄","💕","💖","💞","💘","💌","💋","💝","🎒","🎓","🎏","🎃","👻","🎅","🎄","🎁","🙈","🐒","💯","👯","💍"],n=["1-1.png","1-2.png","1-4.png","1-5.png","1-6.png","1-7.png","1-8.png","1-9.png","1-10.png","1-11.png","1-12.png","1-13.png","1-14.png","1-15.png","1-16.png","1-17.png","1-18.png","1-19.png","1-20.png","1-21.png","1-22.png","1-23.png","1-24.png","1-25.png","1-26.png","1-27.png","1-28.png","1-29.png","1-30.png","1-31.png","1-32.png","1-33.png","1-34.png","1-35.png","2-1.png","2-2.png","2-3.png","2-4.png","2-5.png","2-6.png","2-7.png","2-8.png","2-9.png","2-10.png","2-11.png","2-12.png","2-13.png","2-14.png","2-15.png","2-16.png","2-17.png","2-18.png","2-19.png","2-20.png","2-21.png","2-22.png","2-23.png","2-24.png","2-25.png","2-26.png","2-27.png","2-28.png","2-29.png","2-30.png","2-31.png","2-32.png","2-33.png","2-34.png","2-35.png","3-1.png","3-2.png","3-3.png","3-4.png","3-5.png","3-6.png","3-7.png","3-8.png","3-9.png","3-10.png","3-11.png","3-12.png","3-13.png","3-14.png","3-15.png","3-16.png","3-17.png","3-18.png","3-19.png","3-20.png","3-21.png","3-22.png","3-23.png","3-24.png","3-25.png","3-26.png","3-27.png","3-28.png","3-29.png","3-30.png","3-31.png","3-32.png","3-33.png","3-34.png","3-35.png","4-1.png","4-2.png","4-3.png","4-4.png","4-5.png","4-6.png","4-7.png","4-8.png","4-9.png","4-10.png","4-11.png","4-12.png","4-13.png","4-14.png","4-15.png","4-16.png","4-17.png","4-18.png","4-19.png","4-20.png","4-21.png","4-22.png","4-23.png"];function r(r){const o=r.innerHTML.match(e);null==o||o.forEach((e=>{const o=t[n.indexOf(`${e}.png`)],a=r.innerHTML.split(RegExp(`<img[^>]*?${e}.png(?:[^>]*?)*>`,"g"));r.innerHTML=a.join(decodeURIComponent(o));}));}Up.addEvent((()=>{try{Ao(Rp("\n                .p_author_name:has(.nicknameEmoji),\n                .at:has(.nicknameEmoji),\n                .lzl_content_main:has(.nicknameEmoji)\n            "),(e=>{r(e);}));}catch(e){Ao(Rp(".p_author_name, .at, .lzl_content_main"),(e=>{Ho(e.classList,"nicknameEmoji")&&r(e);}));}})),qp.addEvent((()=>{try{Ao(Rp("\n                .new_list .post_author:has(.nicknameEmoji),\n                .userinfo_username:has(.nicknameEmoji)\n            "),(e=>{r(e);}));}catch(e){Ao(Rp(".newlist .post_author, .userinfo_username"),(e=>{Ho(e.classList,"nicknameEmoji")&&r(e);}));}})),Wp.addEvent((()=>{try{Ao(Rp(".threadlist_author a:has(.nicknameEmoji)"),(e=>{r(e);}));}catch(e){Ao(Rp(".threadlist_author a"),(e=>{Ho(e.classList,"nicknameEmoji")&&r(e);}));}}));}};const Jk=Object.freeze(Object.defineProperty({__proto__:null,default:Zk},Symbol.toStringTag,{value:"Module"})),Yk={id:"portal",name:"传送门",author:"锯条",version:"1.1.1",brief:"为贴子中的b站番号添加跳转链接",description:"该模块可以识别贴子中的 av/BV 号并将其转换为超链接",scope:["thread"],runAt:"immediately",entry:function(){const e="linked",t=new RegExp("(?<!:\\/\\/www.bilibili.com\\/video\\/)av[1-9]\\d*","gi"),n=new RegExp("(?<!:\\/\\/www.bilibili.com\\/video\\/)BV[A-Za-z0-9]{10}","g");function r(){function r(r){Ao(Rp(r),(r=>{var o,a,i,l;if(!r.classList.contains(e)){if(r.classList.add(e),-1!==(null==(o=r.textContent)?void 0:o.toLowerCase().indexOf("av"))){s(null==(a=r.textContent)?void 0:a.match(t),!0);}if(-1!==(null==(i=r.textContent)?void 0:i.indexOf("BV"))){s(null==(l=r.textContent)?void 0:l.match(n));}}function s(e,t=!1){if(!e)return;const n=[];Ao(e,(e=>{if(-1===n.indexOf(e)){n.push(e);const o=r.innerHTML.split(RegExp(`(?<!://www.bilibili.com/video/)${e}`,"g"));t&&(e=e.toLowerCase());const a=`<a href='https://www.bilibili.com/video/${e}' target='_blank'>${e}</a>`;r.innerHTML=o.join(a);}}));}}));}r(".d_post_content"),r(".lzl_cnt .lzl_content_main");}document.addEventListener("DOMContentLoaded",(()=>{Up.addEvent(r);}));}};const Qk=Object.freeze(Object.defineProperty({__proto__:null,default:Yk},Symbol.toStringTag,{value:"Module"})),Xk={key:0,class:"menu-separator"},ew={key:0,class:"icon"},tw={class:"menu-title"},nw={key:0,class:"menu-inner"},rw=bp(rc({__name:"dropdown-menu",props:{menuItems:{},blurEffect:{type:Boolean}},emits:["RequestClose"],setup(e,{emit:t}){const n=e,r=t;return fc((()=>{setTimeout((()=>{window.addEventListener("click",(()=>{setTimeout((()=>{r("RequestClose");}),100);})),window.addEventListener("focusin",(e=>{Np(e.target,"dropdown-menu")||r("RequestClose");}));}),100);})),(e,t)=>(zu(),Iu("div",{class:hi(["dropdown-menu",e.blurEffect?"blur-effect":""])},[(zu(!0),Iu(Cu,null,kc(n.menuItems,(e=>(zu(),Iu(Cu,null,["string"==typeof e?(zu(),Iu("div",Xk)):(zu(),Fu(hp,{key:1,class:"menu-item","is-anchor":void 0!==e.href,href:e.href?e.href:"javascript:;",onClick:e.click,target:e.href?"_blank":"","no-border":""},{default:As((()=>[e.icon?(zu(),Iu("div",ew,_i(e.icon),1)):Wu("",!0),Vu("div",tw,[qu(_i(e.title)+" ",1),e.innerText?(zu(),Iu("span",nw,_i(e.innerText),1)):Wu("",!0)])])),_:2},1032,["is-anchor","href","onClick","target"]))],64)))),256))],2))}}),[["__scopeId","data-v-50de6ad2"]]),ow={id:"nav-bar",class:"nav-bar remove-default"},aw={id:"nav-container"},iw={class:"left-container"},lw=["src"],sw=(e=>(Cs("data-v-9c938fa5"),e=e(),Es(),e))((()=>Vu("p",{class:"nav-title"},"贴吧",-1))),cw={class:"right-container"},uw={class:"middle-container"},dw=bp(rc({__name:"nav-bar",setup(e){const t=Hl(),n=Hl(""),r=Hl({}),o=Hl([]),a=Hl([]);return async function(){await Tp((()=>void 0!==PageData)).then((()=>{n.value=PageData.user.portrait,r.value={"消息":[{title:"查看私信",href:"/im/pcmsg"},{title:"查看回复",href:`/i/sys/jump?u=${n.value}&type=replyme`},{title:"查看 @",href:`/i/sys/jump?u=${n.value}&type=atme`},"separator",{title:"查看好友申请",href:`/i/sys/jump?u=${n.value}&type=friendapply`},{title:"查看新粉丝",href:`/i/sys/jump?u=${n.value}&type=fans`},"separator",{title:"我的收藏",href:`/i/sys/jump?u=${n.value}&type=storethread`},{title:"我的通知",href:"/sysmsg/index?type=notity"}],"更多":[{title:"账号设置",href:"//passport.baidu.com/?center&tpl=tb&aid=6&default_tab=3#3,0"},{title:"贴吧设置",href:`/home/profile?un=${PageData.user.name_url}`},"separator",{title:"服务中心",href:"//tieba.baidu.com/pmc"},{title:"问题反馈",href:"//tieba.baidu.com/hermes/feedback"}]},o.value=[{title:"我的贴吧",href:`/home/main?id=${n.value}&fr=userbar`},{title:"我的收藏",href:`/i/sys/jump?un=${PageData.user.user_name}${PageData.user.name_url}&type=storethread&st_mod=userbar&fr=tb0_pb`}],PageData.user.is_login?o.value.push("separator",{title:"退出登录",click(){Rp("a","a",Rp(".u_logout")[0])[0].click();}}):o.value.push("separator",{title:"登录",click(){!async function(){const e=Rp(".u_login"),t=Rp("#TANGRAM__PSP_24__submit");function n(){e.length>0?Rp("a",e[0])[0].click():r();}function r(){wp({message:"未检测到可用的登录入口,请刷新重试",type:"warning"});}t.length>0&&"positive"===await Df({title:"快速登录",message:"检测到快速登录入口,是否尝试直接登录?",type:"OkCancel"})?t[0].click():n();}();}}),a.value=[{title:"脚本设置",click(){Mf(Kx);}},{title:"检查更新",click(){vh(!0);}},"separator",{title:"源代码仓库",innerText:"GitHub",href:lf},{title:"源代码仓库",innerText:"Gitee",href:sf},{title:"切换至 GreasyFork",href:"https://greasyfork.org/zh-CN/scripts/460113"}];})),Ao(Rp(".menu-trigger","button",Rp(!0,"#nav-bar")),(e=>{e.addEventListener("mousemove",(function(t){t.stopPropagation();const n=e.lastElementChild,r=e.getBoundingClientRect(),o=Vh(n,{x:r.left+r.width/2,y:0},"middle");n.style.left=`${o.x}px`,n.style.top="48px";}));}));}(),fc((async function(){Tp((()=>""!==n.value)).then((function(){void 0!==t.value&&(t.value.src=kh.URL_profile(n.value));}));})),(e,n)=>(zu(),Iu("div",ow,[Vu("div",aw,[Vu("div",iw,[Hu(hp,{class:"nav-button nav-title-container","is-anchor":"",href:"/","no-border":"all"},{default:As((()=>[Vu("img",{src:Kl(_h)("/assets/images/main/icon64.png"),alt:"",class:"nav-icon"},null,8,lw),sw])),_:1})]),Vu("div",cw,[Vu("div",uw,[(zu(!0),Iu(Cu,null,kc(r.value,((e,t)=>(zu(),Fu(hp,{key:t,class:"menu-trigger middle-menu-trigger","no-border":"all"},{default:As((()=>[qu(_i(t)+" ",1),Hu(rw,{class:"nav-menu","menu-items":e},null,8,["menu-items"])])),_:2},1024)))),128))]),Hu(hp,{class:"nav-button menu-trigger avatar-button","no-border":"all"},{default:As((()=>[Vu("img",{ref_key:"navAvatar",ref:t,class:"nav-avatar"},null,512),Hu(rw,{class:"nav-menu","menu-items":o.value},null,8,["menu-items"])])),_:1}),Hu(hp,{class:"nav-button menu-trigger menu-button icon","shadow-border":"","no-border":"all"},{default:As((()=>[qu(" menu "),Hu(rw,{class:"nav-menu","menu-items":a.value,style:{"font-family":"initial"}},null,8,["menu-items"])])),_:1})])])]))}}),[["__scopeId","data-v-9c938fa5"]]);Yp("#com_userbar{display:none}"),Tp((()=>Rp("#com_userbar").length>0)).then((function(){const e=Rp("#com_userbar")[0];qh(Hu("div",{id:"nav-wrapper",class:"nav-wrapper"},null),document.body,e),Of(dw,Rp("#nav-wrapper")[0]);}));const pw={id:"remixed-theme",name:"Tieba Remix 主题",author:"锯条",version:"0.3",brief:"更现代的主题样式",description:"包含新的样式、昼夜主题及其自动切换等功能",scope:!0,runAt:"immediately",entry:function(){fw.push(Yp("@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}")),fw.push(Yp('@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}.tbui_aside_float_bar{background-color:var(--very-light-background)!important}.tbui_aside_float_bar{bottom:20px;left:calc(50% + var(--content-max) / 2 + 20px);display:flex;overflow:hidden;width:-moz-max-content;width:max-content;flex-direction:column;border-radius:8px;margin-left:0;gap:4px;box-shadow:0 0 10px #00000003}html.dark-theme .tbui_aside_float_bar{box-shadow:0 0 16px #0003}.shrink-view .tbui_aside_float_bar{bottom:0;left:calc(100% - 40px)}.tbui_aside_float_bar .tbui_aside_fbar_button{margin:0!important}.tbui_aside_float_bar .tbui_aside_fbar_button{border-radius:0;background-color:var(--default-background);transition:.4s}.tbui_aside_float_bar .tbui_aside_fbar_button a{border-radius:0}.tbui_aside_float_bar .tbui_aside_fbar_button a:hover{color:var(--tieba-theme-color)}.tbui_aside_float_bar .tbui_aside_fbar_button a:active{color:var(--tieba-theme-fore)}.tbui_aside_float_bar .tbui_aside_fbar_button[style*="visibility: hidden"]{margin-top:-4px!important}.tbui_aside_float_bar .tbui_aside_fbar_button[style*="visibility: hidden"]{height:0}')),fw.push(Yp("@keyframes kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes kf-fade-out{0%{opacity:1}to{opacity:0}}@keyframes kf-dialog-in{0%{opacity:0;transform:scale(1.2)}to{opacity:1;transform:scale(1)}}@keyframes kf-zoom-in{0%{transform:scale(.72)}to{transform:scale(1)}}@keyframes kf-fade-zoom-in{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}html{padding:0;margin:0;text-align:justify}body{overflow-x:hidden;overflow-y:scroll;overflow:hidden scroll;padding:0;margin:0;font-family:var(--code-zh)}body[no-scrollbar]{overflow:hidden}div,p{margin:0}select{padding:1px 8px;border:1px solid var(--border-color);border-radius:8px;cursor:pointer}option{cursor:pointer}option:checked{background-color:var(--tieba-theme-color);color:var(--default-background)}a{color:inherit;-webkit-text-decoration:none;text-decoration:none}.dialogJ{position:fixed!important;top:50%!important;left:50%!important}.dialogJ{transform:translate(-50%,-50%)}.float-message{position:fixed;z-index:99999;display:none;overflow:hidden;box-sizing:border-box;padding:4px 6px;border:1px solid var(--border-color);border-radius:6px;background-color:var(--default-background);font-size:14px;box-shadow:0 0 10px #00000003;animation:kf-fade-in .2s}html.dark-theme .float-message{box-shadow:0 0 16px #0003}.float-message .float-content{display:flex;overflow:auto}")),Ip.push(".tbui_aside_float_bar .svg-container"),Ip.push(".d_badge_bright .d_badge_lv, .user_level .badge_index"),Ip.forEach((e=>{Qp(e,{opacity:"0"});})),rf(),document.addEventListener("DOMContentLoaded",(()=>{Rp(".post-tail-wrap .icon-jubao").forEach((e=>{e.removeAttribute("src"),e.after("举报");})),Hp.addEvent((()=>{Rp(".d_badge_lv").forEach((e=>{if(""===e.textContent){let t=e;for(;!t.classList.contains("l_badge");)t.parentElement&&(t=t.parentElement);t.style.display="none";}}));}));})),window.addEventListener("load",(()=>{Dp(".tbui_aside_float_bar .svg-container"),Hp.addEvent((()=>{const e="tieba-lvl-",t=`${e}green`,n=`${e}blue`,r=`${e}yellow`,o=`${e}orange`;Rp(".d_badge_bawu1 .d_badge_lv, .d_badge_bawu2 .d_badge_lv, .badge_index").forEach((a=>{if(-1!==a.className.indexOf(e))return;const i=parseInt(xo(a.textContent,"0"));i>=1&&i<=3?a.classList.add(t):i>=4&&i<=9?a.classList.add(n):i>=10&&i<=15?a.classList.add(r):i>=16&&a.classList.add(o);})),Dp(".d_badge_bright .d_badge_lv, .user_level .badge_index");})),fw.forEach((e=>{document.head.appendChild(e);}));}));}},fw=[];const hw=Object.freeze(Object.defineProperty({__proto__:null,default:pw},Symbol.toStringTag,{value:"Module"})),gw=new uf("shieldList",[]),mw=e=>(Cs("data-v-bb897aee"),e=e(),Es(),e),bw={class:"shield-container"},vw={key:0,class:"words-container"},_w={class:"icon"},yw={key:1,class:"empty-list-container"},xw={class:"shield-controls"},kw={class:"submit-controls"},ww={class:"regex-check"},Sw=mw((()=>Vu("label",{for:"use-regex"},"正则表达式",-1))),Cw={class:"user-scope"},Ew=mw((()=>Vu("label",{for:"user-scope"},"屏蔽用户名",-1))),Aw={id:"shield",name:"贴吧屏蔽",author:"锯条",version:"1.2",brief:"眼不见为净",description:"用户自定义屏蔽规则,符合规则的贴子和楼层将不会显示在首页、看贴页面和进吧页面。支持正则匹配",scope:!0,runAt:"immediately",settings:{"shield-controls":{title:"管理屏蔽规则",description:"这些屏蔽规则将会在首页(旧版)、看贴页面生效,会自动隐藏所有符合匹配规则的贴子和楼层。",widgets:[{type:"component",component:Fl(bp(rc({__name:"module.shield",setup(e){const t=Hl(gw.get()),n=Hl(""),r=Hl(!1),o=Hl("posts");function a(e){"Enter"===e.key&&(e.preventDefault(),l());}function i(){t.value.length=0,gw.remove();}function l(){if(n.value.length<=0)return;const e={rule:n.value,type:r.value?"regex":"string",scope:o.value,switch:!0};t.value.push(e),n.value="",gw.set(t.value);}return (e,s)=>(zu(),Iu("div",bw,[t.value.length>0?(zu(),Iu("div",vw,[(zu(!0),Iu(Cu,null,kc(t.value,(e=>(zu(),Fu(hp,{class:hi(["shield-elem",{"content-scope":"posts"===e.scope,"user-scope":"users"===e.scope}])},{default:As((()=>[Vu("div",_w,_i("posts"===e.scope?"chat":"account_circle"),1),qu(" "+_i(e.rule),1)])),_:2},1032,["class"])))),256)),Hu(hp,{class:"remove-all shield-elem icon",onClick:i},{default:As((()=>[qu("delete")])),_:1})])):(zu(),Iu("div",yw,"当前没有记录屏蔽规则")),Vu("div",xw,[Hu(xx,{modelValue:n.value,"onUpdate:modelValue":s[0]||(s[0]=e=>n.value=e),"muti-lines":!0,class:"shield-input",placeholder:"输入屏蔽规则",onKeypress:a},null,8,["modelValue"]),Vu("div",kw,[Vu("div",ww,[Us(Vu("input",{"onUpdate:modelValue":s[1]||(s[1]=e=>r.value=e),id:"use-regex",type:"checkbox"},null,512),[[tp,r.value]]),Sw]),Vu("div",Cw,[Us(Vu("input",{"onUpdate:modelValue":s[2]||(s[2]=e=>o.value=e),id:"user-scope",type:"checkbox"},null,512),[[tp,o.value]]),Ew]),Hu(hp,{class:"submit-button","shadow-border":!0,"theme-style":!0,onClick:l},{default:As((()=>[qu("确定 ")])),_:1})])])]))}}),[["__scopeId","data-v-bb897aee"]]))}]}},entry:function(){$w(Hp,".l_post_bright",".d_post_content"),$w(Hp,".l_post_bright",".d_name a"),$w(Up,".lzl_single_post",".lzl_cnt .j_user_card"),$w(qp,".j_feed_li",".title, .n_txt"),$w(qp,".j_feed_li",".post_author"),$w(Wp,".j_thread_list",".threadlist_title a"),$w(Wp,".j_thread_list",".frs-author-name-wrap");}};function jw(e,t){if(void 0===e.ignoreCase&&(e.ignoreCase=!0),"string"===e.type&&(e.ignoreCase&&(e.rule=e.rule.toLowerCase(),t=t.toLowerCase()),-1!==t.indexOf(e.rule)))return !0;if("regex"===e.type){let n;if(n=e.ignoreCase?new RegExp(e.rule,"i"):new RegExp(e.rule),n.test(t))return !0}return !1}function $w(e,t,n){e.addEvent((()=>{Rp(t).forEach((e=>{let t=!1;const r=Zo(Io(Rp(n,e),(e=>e.textContent??"")),"\n");for(const n of gw.get())if(jw(n,r)){t=!0;break}t&&(e.style.display="none");}));}));}const Ow=Object.freeze(Object.defineProperty({__proto__:null,default:Aw},Symbol.toStringTag,{value:"Module"})),zw={id:"tieba-tags",name:"楼中楼标签",author:"锯条",version:"2.0.1",brief:"优化楼中楼浏览体验",description:"为楼中楼的楼主、层主等用户添加特殊标签",scope:["thread"],runAt:"loaded",entry:function(){const e="is-tagged",t=PageData.thread.author,n=PageData.user.portrait,r=PageData.user.user_name;let o=a(document);function a(e){const t=e.getElementsByClassName("j_louzhubiaoshi");if(t.length>0){const e=Np(t[0],"l_post_bright");if(e){const t=e.getAttribute("data-field");if(null!==t){return ua(JSON.parse(t).author.portrait,"?")[0]}}}}function i(){function a(e,t){e.appendChild(Bp("div",{class:`tag-elem ${t}`}));}Ao(Rp(".lzl_cnt .at"),(i=>{if(i.classList.contains(e))return;i.classList.add(e);let l=!1,s=!1;const c=i.getAttribute("username");if(u(r,n)&&(s=!0,a(i,"tieba-tags-me")),s||u(t,o)&&(l=!0,a(i,"tieba-tags-lz")),!s&&!l){const e=Np(i,"l_post_bright");if(null!==e){const t=e.getElementsByClassName("p_author_name")[0].textContent;t&&i.textContent===t&&a(i,"tieba-tags-cz");}}function u(e,t){if(c===e&&""!==e)return !0;if(-1!==function(e,t,n){var r=null==e?0:e.length;if(!r)return -1;var o=null==n?0:B(n);return o<0&&(o=Uo(r+o,0)),ve(e,t,o)}([""," "],c)){const e=i.getAttribute("portrait");if(null===e||!t)return n();if(e===t)return !0}else if(null===c)return n();return !1;function n(){const n=i.getAttribute("data-field");if(null!==n){const r=JSON.parse(n.replace(/'/g,'"'));if(t){if(r.id===t)return !0}else if(r.un===e)return !0}return !1}}}));}Yp(':root{--myself-theme-background: rgba(25, 110, 153, .2);--myself-theme-fore: rgb(16, 73, 101);--cengzhu-theme-background: rgba(255, 89, 107, .2);--cengzhu-theme-fore: rgb(178, 62, 90)}@media (prefers-color-scheme: dark){:root{--myself-theme-background: rgba(34, 135, 204, .2);--myself-theme-fore: rgb(40, 160, 242);--cengzhu-theme-background: rgba(204, 71, 103, .2);--cengzhu-theme-fore: rgb(255, 89, 118)}}.tag-elem{display:inline-block}.tag-elem:after{padding:2px 6px;border-radius:4px;margin:0 4px;background-color:var(--trans-light-background);color:var(--light-fore);font-size:12px;font-weight:400}.tieba-tags-me:after{content:"我"}.tieba-tags-lz:after{content:"楼主"}.tieba-tags-cz:after{content:"层主"}'),(async()=>{if(!o){const e=await fetch(location.href.split("?")[0],{mode:"cors",credentials:"include"});e.ok&&await e.text().then((e=>{const t=(new DOMParser).parseFromString(e,"text/html");o=a(t);}));}})().then((()=>{Up.addEvent(i);}));}};const Tw=Object.freeze(Object.defineProperty({__proto__:null,default:zw},Symbol.toStringTag,{value:"Module"})),Mw={id:"toolkit",name:"实用工具库",author:"锯条",version:"1.1",brief:"优化原版贴吧体验的一组功能",description:"这是一个轻量级的工具库,包含了诸如自动展开长图等实用功能。",scope:!0,runAt:"immediately",settings:{autoExpand:{title:"自动展开长图",description:"该功能会自动将帖子中所有的长图片自动展开,无需手动操作",widgets:[{type:"toggle",init:()=>Iw.get().autoExpand,event(){Iw.merge({autoExpand:!Iw.get().autoExpand});}}]},reloadAvatars:{title:"重新加载错误头像",description:"原版贴吧的帖子页面时常会出现加载失败的头像,本功能可以将这些无法正常显示的头像资源链接到正常的 URL",widgets:[{type:"toggle",init:()=>Iw.get().reloadAvatars,event(){Iw.merge({reloadAvatars:!Iw.get().reloadAvatars});}}]}},entry:function(){for(const e in Lw){const t=e;Iw.get()[t]&&Lw[t]();}}},Lw={autoExpand(){Hp.addEvent((()=>{Ao(Rp(".replace_tip"),(e=>{e.click();}));}));},reloadAvatars(){const e=new IntersectionObserver((function(e){Ao(e,(e=>{if(e.isIntersecting){const t=e.target;if(!t.complete)return;if(t.naturalWidth>0)t.setAttribute("data-loaded","");else {const e=Np(t,"j_user_card");if(!e)return;const n=e.getAttribute("data-field");if(!n)return;const r=JSON.parse(n.replaceAll(/'/g,'"')).id;t.src=kh.URL_profile(r),t.setAttribute("data-loaded","");}}}));}),{threshold:0});Up.addEvent((function(){Rp(".lzl_single_post img:not(.BDE_Smiley, [data-loaded])","img").forEach((t=>e.observe(t)));}));}},Iw=new uf("toolkitToogles",{autoExpand:!0,reloadAvatars:!0}),Fw=Object.freeze(Object.defineProperty({__proto__:null,default:Mw},Symbol.toStringTag,{value:"Module"}));}();

})();