// ==UserScript== // @name 115不大助手 (full) // @namespace com.cloud115.enhancer // @version 0.5.46 // @author 生瓜太保 // @description Make 115 taerg again! // @license MIT // @homepage https://greasyfork.org/zh-CN/scripts/474231-115不大助手?locale_override=1 // @supportURL https://greasyfork.org/zh-CN/scripts/474231-115不大助手?locale_override=1 // @match https://*.115.com/* // @match https://115.com/* // @connect * // @grant GM_addStyle // @grant GM_deleteValue // @grant GM_getValue // @grant GM_openInTab // @grant GM_registerMenuCommand // @grant GM_setClipboard // @grant GM_setValue // @grant unsafeWindow // @run-at document-body // @downloadURL none // ==/UserScript== (o=>{const e=document.createElement("style");e.dataset.source="vite-plugin-monkey",e.innerText=o,document.head.appendChild(e)})(`@charset "UTF-8";.pure-button{display:inline-block;line-height:normal;white-space:nowrap;vertical-align:middle;text-align:center;cursor:pointer;-webkit-user-drag:none;-webkit-user-select:none;user-select:none;box-sizing:border-box}.pure-button::-moz-focus-inner{padding:0;border:0}.pure-button-group{letter-spacing:-.31em;text-rendering:optimizespeed}.opera-only :-o-prefocus,.pure-button-group{word-spacing:-.43em}.pure-button-group .pure-button{letter-spacing:normal;word-spacing:normal;vertical-align:top;text-rendering:auto}.pure-button{font-family:inherit;font-size:100%;padding:.5em 1em;color:#000c;border:none transparent;background-color:#e6e6e6;text-decoration:none;border-radius:2px}.pure-button-hover,.pure-button:focus,.pure-button:hover{background-image:linear-gradient(transparent,rgba(0,0,0,.05) 40%,rgba(0,0,0,.1))}.pure-button:focus{outline:0}.pure-button-active,.pure-button:active{box-shadow:0 0 0 1px #00000026 inset,0 0 6px #0003 inset;border-color:#000}.pure-button-disabled,.pure-button-disabled:active,.pure-button-disabled:focus,.pure-button-disabled:hover,.pure-button[disabled]{border:none;background-image:none;opacity:.4;cursor:not-allowed;box-shadow:none;pointer-events:none}.pure-button-hidden{display:none}.pure-button-primary,.pure-button-selected,a.pure-button-primary,a.pure-button-selected{background-color:#0078e7;color:#fff}.pure-button-group .pure-button{margin:0;border-radius:0;border-right:1px solid rgba(0,0,0,.2)}.pure-button-group .pure-button:first-child{border-top-left-radius:2px;border-bottom-left-radius:2px}.pure-button-group .pure-button:last-child{border-top-right-radius:2px;border-bottom-right-radius:2px;border-right:none}.pure-table{border-collapse:collapse;border-spacing:0;empty-cells:show;border:1px solid #cbcbcb}.pure-table caption{color:#000;font:italic 85%/1 arial,sans-serif;padding:1em 0;text-align:center}.pure-table td,.pure-table th{border-left:1px solid #cbcbcb;border-width:0 0 0 1px;font-size:inherit;margin:0;overflow:visible;padding:.5em 1em}.pure-table thead{background-color:#e0e0e0;color:#000;text-align:left;vertical-align:bottom}.pure-table td{background-color:transparent}.pure-table-odd td{background-color:#f2f2f2}.pure-table-striped tr:nth-child(2n-1) td{background-color:#f2f2f2}.pure-table-bordered td{border-bottom:1px solid #cbcbcb}.pure-table-bordered tbody>tr:last-child>td{border-bottom-width:0}.pure-table-horizontal td,.pure-table-horizontal th{border-width:0 0 1px 0;border-bottom:1px solid #cbcbcb}.pure-table-horizontal tbody>tr:last-child>td{border-bottom-width:0}/*! Pure v3.0.0 Copyright 2013 Yahoo! Licensed under the BSD License. https://github.com/pure-css/pure/blob/master/LICENSE */.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form select,.pure-form textarea{padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;vertical-align:middle;box-sizing:border-box}.pure-form input:not([type]){padding:.5em .6em;display:inline-block;border:1px solid #ccc;box-shadow:inset 0 1px 3px #ddd;border-radius:4px;box-sizing:border-box}.pure-form input[type=color]{padding:.2em .5em}.pure-form input[type=color]:focus,.pure-form input[type=date]:focus,.pure-form input[type=datetime-local]:focus,.pure-form input[type=datetime]:focus,.pure-form input[type=email]:focus,.pure-form input[type=month]:focus,.pure-form input[type=number]:focus,.pure-form input[type=password]:focus,.pure-form input[type=search]:focus,.pure-form input[type=tel]:focus,.pure-form input[type=text]:focus,.pure-form input[type=time]:focus,.pure-form input[type=url]:focus,.pure-form input[type=week]:focus,.pure-form select:focus,.pure-form textarea:focus{outline:0;border-color:#129fea}.pure-form input:not([type]):focus{outline:0;border-color:#129fea}.pure-form input[type=checkbox]:focus,.pure-form input[type=file]:focus,.pure-form input[type=radio]:focus{outline:thin solid #129FEA;outline:1px auto #129FEA}.pure-form .pure-checkbox,.pure-form .pure-radio{margin:.5em 0;display:block}.pure-form input[type=color][disabled],.pure-form input[type=date][disabled],.pure-form input[type=datetime-local][disabled],.pure-form input[type=datetime][disabled],.pure-form input[type=email][disabled],.pure-form input[type=month][disabled],.pure-form input[type=number][disabled],.pure-form input[type=password][disabled],.pure-form input[type=search][disabled],.pure-form input[type=tel][disabled],.pure-form input[type=text][disabled],.pure-form input[type=time][disabled],.pure-form input[type=url][disabled],.pure-form input[type=week][disabled],.pure-form select[disabled],.pure-form textarea[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input:not([type])[disabled]{cursor:not-allowed;background-color:#eaeded;color:#cad2d3}.pure-form input[readonly],.pure-form select[readonly],.pure-form textarea[readonly]{background-color:#eee;color:#777;border-color:#ccc}.pure-form input:focus:invalid,.pure-form select:focus:invalid,.pure-form textarea:focus:invalid{color:#b94a48;border-color:#e9322d}.pure-form input[type=checkbox]:focus:invalid:focus,.pure-form input[type=file]:focus:invalid:focus,.pure-form input[type=radio]:focus:invalid:focus{outline-color:#e9322d}.pure-form select{height:2.25em;border:1px solid #ccc;background-color:#fff}.pure-form select[multiple]{height:auto}.pure-form label{margin:.5em 0 .2em}.pure-form fieldset{margin:0;padding:.35em 0 .75em;border:0}.pure-form legend{display:block;width:100%;padding:.3em 0;margin-bottom:.3em;color:#333;border-bottom:1px solid #e5e5e5}.pure-form-stacked input[type=color],.pure-form-stacked input[type=date],.pure-form-stacked input[type=datetime-local],.pure-form-stacked input[type=datetime],.pure-form-stacked input[type=email],.pure-form-stacked input[type=file],.pure-form-stacked input[type=month],.pure-form-stacked input[type=number],.pure-form-stacked input[type=password],.pure-form-stacked input[type=search],.pure-form-stacked input[type=tel],.pure-form-stacked input[type=text],.pure-form-stacked input[type=time],.pure-form-stacked input[type=url],.pure-form-stacked input[type=week],.pure-form-stacked label,.pure-form-stacked select,.pure-form-stacked textarea{display:block;margin:.25em 0}.pure-form-stacked input:not([type]){display:block;margin:.25em 0}.pure-form-aligned input,.pure-form-aligned select,.pure-form-aligned textarea,.pure-form-message-inline{display:inline-block;vertical-align:middle}.pure-form-aligned textarea{vertical-align:top}.pure-form-aligned .pure-control-group{margin-bottom:.5em}.pure-form-aligned .pure-control-group label{text-align:right;display:inline-block;vertical-align:middle;width:10em;margin:0 1em 0 0}.pure-form-aligned .pure-controls{margin:1.5em 0 0 11em}.pure-form .pure-input-rounded,.pure-form input.pure-input-rounded{border-radius:2em;padding:.5em 1em}.pure-form .pure-group fieldset{margin-bottom:10px}.pure-form .pure-group input,.pure-form .pure-group textarea{display:block;padding:10px;margin:0 0 -1px;border-radius:0;position:relative;top:-1px}.pure-form .pure-group input:focus,.pure-form .pure-group textarea:focus{z-index:3}.pure-form .pure-group input:first-child,.pure-form .pure-group textarea:first-child{top:1px;border-radius:4px 4px 0 0;margin:0}.pure-form .pure-group input:first-child:last-child,.pure-form .pure-group textarea:first-child:last-child{top:1px;border-radius:4px;margin:0}.pure-form .pure-group input:last-child,.pure-form .pure-group textarea:last-child{top:-2px;border-radius:0 0 4px 4px;margin:0}.pure-form .pure-group button{margin:.35em 0}.pure-form .pure-input-1{width:100%}.pure-form .pure-input-3-4{width:75%}.pure-form .pure-input-2-3{width:66%}.pure-form .pure-input-1-2{width:50%}.pure-form .pure-input-1-3{width:33%}.pure-form .pure-input-1-4{width:25%}.pure-form-message-inline{display:inline-block;padding-left:.3em;color:#666;vertical-align:middle;font-size:.875em}.pure-form-message{display:block;color:#666;font-size:.875em}@media only screen and (max-width :480px){.pure-form button[type=submit]{margin:.7em 0 0}.pure-form input:not([type]),.pure-form input[type=color],.pure-form input[type=date],.pure-form input[type=datetime-local],.pure-form input[type=datetime],.pure-form input[type=email],.pure-form input[type=month],.pure-form input[type=number],.pure-form input[type=password],.pure-form input[type=search],.pure-form input[type=tel],.pure-form input[type=text],.pure-form input[type=time],.pure-form input[type=url],.pure-form input[type=week],.pure-form label{margin-bottom:.3em;display:block}.pure-group input:not([type]),.pure-group input[type=color],.pure-group input[type=date],.pure-group input[type=datetime-local],.pure-group input[type=datetime],.pure-group input[type=email],.pure-group input[type=month],.pure-group input[type=number],.pure-group input[type=password],.pure-group input[type=search],.pure-group input[type=tel],.pure-group input[type=text],.pure-group input[type=time],.pure-group input[type=url],.pure-group input[type=week]{margin-bottom:0}.pure-form-aligned .pure-control-group label{margin-bottom:.3em;text-align:left;display:block;width:100%}.pure-form-aligned .pure-controls{margin:1.5em 0 0}.pure-form-message,.pure-form-message-inline{display:block;font-size:.75em;padding:.2em 0 .8em}}.resize-observer[data-v-b329ee4c]{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%;border:none;background-color:transparent;pointer-events:none;display:block;overflow:hidden;opacity:0}.resize-observer[data-v-b329ee4c] object{display:block;position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden;pointer-events:none;z-index:-1}.v-popper__popper{z-index:10000;top:0;left:0;outline:none}.v-popper__popper.v-popper__popper--hidden{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s;pointer-events:none}.v-popper__popper.v-popper__popper--shown{visibility:visible;opacity:1;transition:opacity .15s}.v-popper__popper.v-popper__popper--skip-transition,.v-popper__popper.v-popper__popper--skip-transition>.v-popper__wrapper{transition:none!important}.v-popper__backdrop{position:absolute;top:0;left:0;width:100%;height:100%;display:none}.v-popper__inner{position:relative;box-sizing:border-box;overflow-y:auto}.v-popper__inner>div{position:relative;z-index:1;max-width:inherit;max-height:inherit}.v-popper__arrow-container{position:absolute;width:10px;height:10px}.v-popper__popper--arrow-overflow .v-popper__arrow-container,.v-popper__popper--no-positioning .v-popper__arrow-container{display:none}.v-popper__arrow-inner,.v-popper__arrow-outer{border-style:solid;position:absolute;top:0;left:0;width:0;height:0}.v-popper__arrow-inner{visibility:hidden;border-width:7px}.v-popper__arrow-outer{border-width:6px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{left:-2px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{left:-1px}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-outer{border-bottom-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=top] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-container{top:0}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{border-top-width:0;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-inner{top:-4px}.v-popper__popper[data-popper-placement^=bottom] .v-popper__arrow-outer{top:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{top:-2px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{top:-1px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{border-left-width:0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-inner{left:-4px}.v-popper__popper[data-popper-placement^=right] .v-popper__arrow-outer{left:-6px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-container{right:-10px}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner,.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-outer{border-right-width:0;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important}.v-popper__popper[data-popper-placement^=left] .v-popper__arrow-inner{left:-2px}.v-popper--theme-dropdown .v-popper__inner{background:#fff;color:#000;border-radius:6px;border:1px solid #ddd;box-shadow:0 6px 30px #0000001a}.v-popper--theme-dropdown .v-popper__arrow-inner{visibility:visible;border-color:#fff}.v-popper--theme-dropdown .v-popper__arrow-outer{border-color:#ddd}.v-popper--theme-tooltip .v-popper__inner{background:rgba(0,0,0,.8);color:#fff;border-radius:6px;padding:7px 12px 6px}.v-popper--theme-tooltip .v-popper__arrow-outer{border-color:#000c}.text-center{text-align:center}.text-bold{font-weight:700}.text-cross{text-decoration:line-through}.text-primary{color:#1890ff}.text-success{color:#13ce66}.text-warning{color:#ffba00}.text-danger{color:#ff4949}.text-info{color:#909399}.tabs-component .tabs-component-tabs{border:solid 1px #ddd;border-radius:6px;margin-bottom:5px}@media (min-width: 700px){.tabs-component .tabs-component-tabs{border:0;align-items:stretch;display:flex;justify-content:flex-start;margin-bottom:1px}}.tabs-component .tabs-component-tabs .tabs-component-tab{color:#999;font-size:14px;font-weight:600;margin-right:0;list-style:none;border-bottom:dotted 1px #ddd}.tabs-component .tabs-component-tabs .tabs-component-tab:hover{color:#666}.tabs-component .tabs-component-tabs .tabs-component-tab.is-disabled *{color:#cdcdcd;cursor:not-allowed!important}.tabs-component .tabs-component-tabs .tabs-component-tab.is-active{color:#000}.tabs-component .tabs-component-tabs .tabs-component-tab .tabs-component-tab-a{align-items:center;color:inherit;display:flex;padding:.75em 1em;text-decoration:none}@media (min-width: 700px){.tabs-component .tabs-component-tabs .tabs-component-tab{background-color:#fff;border:solid 1px #ddd;border-radius:3px 3px 0 0;margin-right:.5em;transform:translateY(2px);transition:transform .3s ease}.tabs-component .tabs-component-tabs .tabs-component-tab.is-active{border-bottom:solid 1px #fff;z-index:2;transform:translateY(2px)}}.tabs-component .tabs-component-panels{padding:1em 0}@media (min-width: 700px){.tabs-component .tabs-component-panels{background-color:#fff;border:solid 1px #ddd;border-radius:0 6px 6px;box-shadow:0 0 10px #0000000d;padding:1em 2em}}.tabs-component .tabs-component-btn{cursor:pointer;background:#e1ecf4;border-radius:3px;border:1px solid #7aa7c7;padding:4px 8px;color:#39739d}.tabs-component .tabs-component-btn:hover{background-color:#b3d3ea;color:#2c5777}.tabs-component .tabs-component-btn:active{background-color:#a0c7e4;box-shadow:none;color:#2c5777}.ce-tips{background:#eee;border-radius:4px;padding:4px;font-size:12px;color:#595959;margin-bottom:10px}.ce-hr{border:0;height:1px;background-image:linear-gradient(to right,rgba(0,0,0,0),#ccc,rgba(0,0,0,0))}.ce-config input[type=checkbox]{width:18px;height:18px;cursor:pointer}div[class^=fp-].hidden-watermark{display:none!important}.ce-custom-url-help{position:fixed;top:0;left:0;z-index:10000;width:430px;height:100%;background:#fff;font-size:12px}.ce-custom-url-help .ce-custom-url-help-body{height:80%;overflow-y:auto;padding:20px 20px 300px}.ce-custom-url-help h1 a{float:right;color:#1e87f0;font-size:14px}.ce-custom-url-help h1 a:hover{color:#1e87f0;text-decoration:underline}.ce-custom-url-help table{width:100%;margin-bottom:20px}.ce-custom-url-help .ce-variable{cursor:pointer;color:#1e87f0;font-size:14px}.ce-custom-url-help .ce-variable:hover{color:#093d71}.ce-menu:not(.sub-item){background:#fffcea}.ce-menu img.ce-menu-icon{float:left;width:12px;height:12px;margin-right:4px}.ce-menu.list-item-hover-menu i.ce-menu-icon.icon-operate{scale:.75}.ce-menu.list-item-hover-menu.ce-menu-parent{position:relative;float:left;cursor:pointer}.ce-menu.list-item-hover-menu.ce-menu-parent:after{content:"";position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background:rgba(39,119,248,.8);pointer-events:none}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-trigger{padding:0 12px;color:#2777f8}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-trigger:before{content:"\\2228";margin-right:4px;font-size:12px}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;left:0;padding:4px;border-radius:4px;display:none;text-align:center;width:160px}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown .list-item-hover-menu-sub{margin:2px 0;background:#eee;color:#2877f8;width:100%;border-radius:4px;padding:6px 12px;line-height:12px;box-sizing:border-box}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown .list-item-hover-menu-sub:hover{background-color:#f3e882}.ce-menu.list-item-hover-menu.ce-menu-parent .ce-menu-dropdown .list-item-hover-menu-sub:after{display:none}.ce-menu.selection-menu.ce-menu-parent{position:relative;float:left;cursor:pointer}.ce-menu.selection-menu.ce-menu-parent:after{content:"";position:absolute;top:50%;right:0;width:1px;height:14px;margin-top:-7px;background:rgba(39,119,248,.8);pointer-events:none}.ce-menu.selection-menu.ce-menu-parent .ce-menu-trigger{color:#2777f8}.ce-menu.selection-menu.ce-menu-parent .ce-menu-trigger:before{content:"\\2228";margin-right:4px;font-size:12px}.ce-menu.selection-menu.ce-menu-parent.ce-menu-dropdown-opened .ce-menu-trigger{color:#fff}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;top:30px;left:0;width:160px;padding:4px;border-radius:4px;display:none;text-align:left}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub{color:#2877f8;width:60px;border-radius:4px;text-align:left;display:block;width:100%;box-sizing:border-box;padding-left:4px;padding-right:4px;font-size:12px;background:transparent;cursor:pointer}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub span{font-weight:400;float:inherit}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub .ce-menu-icon{float:unset}.ce-menu.selection-menu.ce-menu-parent .ce-menu-dropdown .selection-menu-sub:hover{background-color:#f3e882}.ce-menu.dir-context-menu.ce-menu-parent{position:relative;cursor:pointer;padding:6px 0}.ce-menu.dir-context-menu.ce-menu-parent:after{content:">";position:absolute;opacity:.5;right:10px;pointer-events:none}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-trigger{margin-left:43px;color:#2777f8}.ce-menu.dir-context-menu.ce-menu-parent.ce-menu-dropdown-opened{background:#f3e882}.ce-menu.dir-context-menu.ce-menu-parent.ce-menu-dropdown-opened .ce-menu-trigger{color:#1c0ccf}.ce-menu.dir-context-menu.ce-menu-parent.ce-menu-dropdown-opened:after{opacity:0}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;top:0;left:100%;width:160px;padding:4px;border-radius:4px;display:none;text-align:left}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown .dir-context-menu-sub{color:#2877f8;width:60px;border-radius:4px;text-align:left;display:block;width:100%;box-sizing:border-box;padding:4px 8px;font-size:12px;background:transparent;cursor:pointer}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown .dir-context-menu-sub span{font-weight:400;float:inherit}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-dropdown .dir-context-menu-sub:hover{background-color:#f3e882}.ce-menu.dir-context-menu.ce-menu-parent .ce-menu-icon{width:18px;height:18px;margin-right:8px}.ce-menu.list-item-context-menu.ce-menu-parent{position:relative;cursor:pointer;padding:6px 0}.ce-menu.list-item-context-menu.ce-menu-parent:after{content:">";position:absolute;opacity:.5;right:10px;pointer-events:none}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-trigger{margin-left:43px;color:#2777f8}.ce-menu.list-item-context-menu.ce-menu-parent.ce-menu-dropdown-opened{background:#f3e882}.ce-menu.list-item-context-menu.ce-menu-parent.ce-menu-dropdown-opened .ce-menu-trigger{color:#1c0ccf}.ce-menu.list-item-context-menu.ce-menu-parent.ce-menu-dropdown-opened:after{opacity:0}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown{position:absolute;background:#fff;box-shadow:0 1px 5px #2777f866;z-index:99999999;top:0;left:100%;width:160px;padding:4px;border-radius:4px;display:none;text-align:left}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown.ce-menu-dropdown-active{display:block}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown .list-item-context-menu-sub{color:#2877f8;width:60px;border-radius:4px;text-align:left;display:block;width:100%;box-sizing:border-box;padding:4px 8px;font-size:12px;background:transparent;cursor:pointer}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown .list-item-context-menu-sub span{font-weight:400;float:inherit}.ce-menu.list-item-context-menu.ce-menu-parent .ce-menu-dropdown .list-item-context-menu-sub:hover{background-color:#f3e882}.context-menu.menu-upward{max-height:400px!important;overflow:unset!important}.ce-menu-divider{height:1px!important;display:block!important;background-color:#edeeef!important}.ce-menu-divider:after{display:none!important}.list-item-hover-menu .ce-menu-divider{height:6px!important;background-color:transparent!important}div#js_operate_box.only-icon li[menu] span{display:none}.list-contents{padding-bottom:300px}.header-size a.ce-size-sort{cursor:pointer;background:#f2f4f8;border-radius:4px;padding:0 6px;color:#8c97a0;margin-left:10px}.header-size a.ce-size-sort i{display:none}.header-size a.ce-size-sort.by-desc{background-color:#fdc94a;color:#1a2734}.header-size a.ce-size-sort.by-desc i.icon-sort-desc{display:inline-block}.header-size a.ce-size-sort.by-asc{background-color:#fdc94a;color:#1a2734}.header-size a.ce-size-sort.by-asc i.icon-sort-asc{display:inline-block}.header-size a.ce-size-sort.ce-size-sort-ing{cursor:no-drop}.ce-offline-config{max-height:70vh;overflow-y:auto}.ce-offline-config .ce-tips{margin-top:20px;margin-left:56px}.ce-offline-config .pure-form-message{margin-left:56px}.ce-offline-exporter{position:absolute;left:140px;top:62px;background:#f4f2ff;padding:6px 10px;border-radius:4px}.ce-offline-exporter button{margin-right:6px}.offline-exporter-config-form{width:550px;padding:10px}.swal2-input#swalDeleteFile{width:20px;padding:0;height:20px;margin:0;vertical-align:sub;cursor:pointer}body.ce-list-s #js-main{padding-top:40px}body.ce-list-s .ce-offline-exporter{top:92px}.ce-offline-searcher{position:absolute;left:140px;top:58px;background:#f4f2ff;padding:4px 10px;border-radius:4px}.ce-offline-searcher.loading form{opacity:.5;pointer-events:none;cursor:wait}.ce-offline-searcher fieldset{padding:0}.ce-offline-searcher .clearable-wrap{position:relative;width:320px}.ce-offline-searcher .clearable-wrap.is-empty .btn-clear{display:none}.ce-offline-searcher .clearable-wrap input{width:300px;padding-right:35px!important}.ce-offline-searcher .clearable-wrap .btn-clear{position:absolute;right:30px;top:4px;display:block}.ce-offline-searcher .form-item{display:inline-block;margin-right:10px;vertical-align:middle}.ce-offline-searcher .form-item input{padding:.3em}.ce-offline-searcher .form-item select{height:2em;padding:.1em .3em}.ce-offline-searcher .form-item label{margin-right:5px}.ce-offline-searcher .help-trigger{font-size:12px}.ce-offline-searcher .list{display:none}.ce-offline-searcher .stop-on-found{width:16px;height:16px;vertical-align:middle;cursor:pointer}.ce-offline-searcher .search-tips{position:fixed;top:146px;bottom:30px;left:0;width:100%;background:#fff;z-index:9999}.ce-offline-searcher .search-tips .tips-body{padding:20px;position:absolute;top:70px;left:50%;transform:translate(-50%,-50%);background:#f4f2ff;width:80%;border-radius:6px}.cloud115-page-offline.ce-list-m .list-contents .file-name-wrap .desc-tips{left:75px}.cloud115-page-offline.ce-list-m li.ce-task-trouble .info-hash{left:210px!important}.cloud115-page-offline li .ce-buttons{float:left;margin-right:6px}.cloud115-page-offline .ce-checkbox{width:30px}.cloud115-page-offline .ce-checkbox input{display:block!important;width:20px;height:20px;cursor:pointer}.cloud115-page-offline #js-warp .info-hash{position:absolute;left:47px;top:25px;color:#ababab;cursor:pointer}.cloud115-page-offline #js-warp .info-hash.hover{color:#6ab2ff}.cloud115-page-offline #js-warp li.ce-selected:before{background:#ffe296!important}.cloud115-page-offline #js-warp li.ce-show-checkbox .info-hash{left:60px}.cloud115-page-offline #js-warp li.ce-show-checkbox .file-name{margin-left:15px}.cloud115-page-offline #js-warp li.ce-show-checkbox .file-type{left:25px!important}.cloud115-page-offline #js-warp li .ce-checkbox{width:30px;position:absolute;left:0}.cloud115-page-offline #js-warp li .ce-checkbox input{display:block!important;width:20px;height:20px;cursor:pointer}.cloud115-page-offline #js-warp li .desc-tips{position:absolute;left:60px;top:25px}.cloud115-eh-cleaner-trigger .btn-open{padding:0 6px;vertical-align:text-top;line-height:30px;border-radius:4px;background:#4faa4f}.v-popper.v-popper--theme-dropdown{display:inline-block}.group-manager{width:750px}.group-manager a{font-size:12px;padding:0 4px;margin-right:8px}.group-manager .group-label{color:#fff;font-size:12px;margin-right:10px;border-radius:4px;padding:2px 8px;background:#66acf9}.group-manager .label-readonly{background:#c93c3c;color:#fff;padding:0 4px;border-radius:4px;vertical-align:middle;margin-right:6px}.append-form{background:#fff;width:350px;padding:10px;border-radius:4px}.append-form input,.append-form textarea{width:100%}.group-form{background:#fff;width:540px;padding:10px;border-radius:4px}.group-form input,.group-form textarea{width:100%}.group-form .filter-label{cursor:pointer;padding:0 4px;text-decoration:underline}.group-form input#groupLabel{display:inline-block}.groups-list{background:#fff;width:565px;padding:10px;border-radius:4px;box-shadow:0 0 4px #d8d8d8}.groups-list table th,.groups-list table td{padding:4px 6px}.groups-list ul li{border-bottom:1px solid #eee;padding:4px}.groups-list ul li:nth-last-child(1){border-bottom:none}.groups-list span{display:inline-block}.groups-list .p-index{width:30px}.groups-list .p-label{width:120px}.groups-list .p-actions button{margin-right:8px}.group-confirm-delete{padding:20px}#cloud115Cleaner{margin-left:10px}.v-popper__arrow-container{display:none}.cloud115-eh-cleaner .btn-open{padding:0 6px;vertical-align:text-top;line-height:30px;border-radius:4px;background:#4faa4f;display:none}.cloud115-eh-cleaner .actions-bar{padding-bottom:10px}.cloud115-eh-cleaner .actions-bar .title{font-size:18px;font-weight:700;color:#15110c}.cloud115-eh-cleaner .actions-bar .close{margin-left:20px;margin-right:10px;color:#f40}.cloud115-eh-cleaner .actions-bar i.tp-folder{width:18px;height:18px;vertical-align:sub}.cloud115-eh-cleaner-help{position:fixed;top:60px;right:0;bottom:0;width:470px;z-index:1051;padding:10px 10px 150px 8px;background:#fdffdf;overflow-y:auto}.cloud115-eh-cleaner-help ul{list-style:decimal}.cloud115-eh-cleaner-drawer{position:fixed;top:60px;right:0;bottom:0;left:260px;background:#fff;z-index:1050;padding:10px 20px 200px;overflow-y:auto;box-shadow:-2px 2px 6px #bbb}.cloud115-eh-cleaner-drawer.loading{cursor:wait}.cloud115-eh-cleaner-drawer.loading button,.cloud115-eh-cleaner-drawer.loading input{cursor:no-drop;pointer-events:none}.cloud115-eh-cleaner-drawer .config-toggle{display:inline-block;background:#eee;border-radius:4px;opacity:.2;padding:2px 4px;cursor:pointer}.cloud115-eh-cleaner-drawer .config-toggle.hover{opacity:.7}.cloud115-eh-cleaner-drawer .by-box .by-header{padding-bottom:10px}.cloud115-eh-cleaner-drawer .by-box .by-header .title{font-size:16px;margin-right:8px;color:#0078e6;font-weight:400}.cloud115-eh-cleaner-drawer .by-box .by-header .filter-size{width:100px;font-size:14px;font-weight:700;color:#0078e6;text-indent:6px}.cloud115-eh-cleaner-drawer .by-box .pure-button-group{display:inline-block}.cloud115-eh-cleaner-drawer .by-box .pure-button-group .pure-button{vertical-align:inherit}.cloud115-eh-cleaner-drawer .by-box .pattern-groups{width:750px;text-align:right}.cloud115-eh-cleaner-drawer .by-box .pattern-groups a{font-size:12px;padding:0 4px;margin-right:8px}.cloud115-eh-cleaner-drawer .by-box table tr.active{background:#f7ffc3}.cloud115-eh-cleaner-drawer .by-box table tr.is-dir .pattern{color:#f40}.cloud115-eh-cleaner-drawer .by-box table tr th,.cloud115-eh-cleaner-drawer .by-box table tr td{padding:.5em;font-size:12px}.cloud115-eh-cleaner-drawer .by-box table td a{color:#2877f8}.cloud115-eh-cleaner-drawer .by-box table td .tp-folder{width:16px;height:16px;vertical-align:sub}.button-xsmall,.button-mini{font-size:12px;padding:.2em .5em}.button-small{font-size:85%}.button-large{font-size:110%}.button-xlarge{font-size:125%}.button-success,.button-error,.button-warning,.button-secondary{color:#fff;border-radius:4px;text-shadow:0 1px 1px rgba(0,0,0,.2)}.button-success{background:rgb(28,184,65)}.button-error{background:rgb(202,60,60)}.button-warning{background:rgb(223,117,20)}.button-secondary{background:rgb(66,184,221)}.pure-form select{height:2.5em;font-size:12px}.ce-basic-config .pure-form-message{margin-left:82px}.ce-basic-config .avatar-preview{display:inline-block;vertical-align:middle;margin-left:10px}.ce-clouddrive-config-item{margin-bottom:20px;border:1px solid #cbcbcb;border-radius:0;padding:4px}.ce-clouddrive-config-item.active{background:#fefcea}.ce-clouddrive-config-item input:not([type]){font-size:12px}.ce-clouddrive-config-item .button-error{float:right}.ce-clouddrive-config .cd-tips a{text-decoration:underline}.ce-clouddrive-config .cd-code{font-size:110%;cursor:pointer;user-select:none}.ce-list-config .pure-control-group label{width:15em}.ce-list-config .pure-form-message{margin-left:3em}.ce-search-config .pure-control-group label{width:15em}.ce-search-config .pure-form-message{margin-left:3em}.menu-basic-config .pure-control-group label{width:170px!important}.ce-menu-config .menu-config-block{display:inline-block;border-radius:6px;margin:4px;vertical-align:top;padding:0 6px;background:#f9f9f9}.ce-menu-config .menu-config-block>form>legend{border:none;text-align:center;font-size:14px;color:#5092ff;padding:4px;margin-bottom:0}.ce-menu-config .menu-config-block>form>fieldset>div{background:#fff;margin-bottom:1px;padding:4px}.ce-menu-config .menu-config-block>form>fieldset>div:hover{background:#fefcea}.ce-menu-config .menu-config-block label{display:inline-block;width:120px;font-size:12px;line-height:20px;vertical-align:middle;cursor:pointer}.ce-menu-config input[type=checkbox]{margin-right:10px;width:18px;height:18px;cursor:pointer;vertical-align:middle}.ce-menu-config .btn-view-info{display:inline-block;margin-right:6px;vertical-align:middle;cursor:help}.ce-custom-url{border-radius:4px;box-shadow:0 0 5px #eee;border:1px solid #eee;margin-bottom:20px;padding:0 10px;background:#fff}.ce-custom-url label{cursor:pointer}.ce-custom-url input:not([type]){font-size:12px}.ce-custom-url textarea{font-size:12px;resize:vertical}.ce-custom-url input[type=checkbox]{width:18px;height:18px;cursor:pointer}.ce-custom-url .ce-custom-url-index{font-size:14px;font-weight:700;margin-right:20px}.ce-custom-url legend .button-error{float:right}.ce-custom-url fieldset>div{margin-bottom:1px;padding:4px}.ce-custom-url fieldset>div:hover{background:#fefcea}.ce-custom-urls,.ce-play-urls{padding-bottom:100px}.ce-play-urls .extra-memo{font-size:12px;margin-left:10px}.ce-play-urls .extra-memo a{text-decoration:underline;color:#337ab7}.ce-drawer{visibility:hidden}.ce-drawer.is-visible{visibility:visible}.ce-drawer.is-open .ce-drawer__overlay{opacity:.5}.ce-drawer.is-open .ce-drawer__content{transform:translate(0)}.ce-drawer__overlay{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;z-index:200;opacity:0;transition-property:opacity;background-color:#000;user-select:none}.ce-drawer__content{position:fixed;top:0;right:0;bottom:0;height:100%;width:100%;z-index:9999;overflow:auto;transition-property:transform;display:flex;flex-direction:column;transform:translate(100%);box-shadow:0 2px 6px #777}.ce-config-main .ce-intro{margin-left:35%;color:#7676ff}.ce-config-main .ce-intro small{color:#999}.ce-config-main .ce-config-main-body{padding:10px}.ce-config-main .ce-config-main-header{padding:10px;position:sticky;top:0;background:#fff;z-index:100000;box-shadow:0 1px 2px #e9e9e9}.ce-config-main .ce-config-main-header h1{display:inline;font-size:18px}.ce-config-main .ce-config-main-header .ce-config-main-close{float:right;vertical-align:top;color:#89929b;cursor:pointer;padding:2px 20px;border-radius:6px}.ce-config-main .ce-config-main-header .ce-config-main-close:hover{background:#fefcea;color:#0275ff}.ce-config-main .ce-offline-config{max-height:unset}.list-contents ul li .ce-btn-folder-size{background:#f2f4f8;border-radius:6px;padding:4px;cursor:pointer}.list-contents ul li .ce-file-sha1{position:absolute;top:20px;color:#999;cursor:pointer;font-size:90%}.list-contents ul li.ce-show-sha1 .file-name{height:40px}.list-contents ul li.ce-size-got .ce-btn-folder-size{opacity:.6;margin-left:6px}.list-contents ul li.ce-size-got .ce-btn-folder-size:hover{opacity:1}#js_top_header_file_path_box .ce-path-btn{background-color:#f4f6fc;height:32px}#js_top_header_file_path_box .ce-path-btn#ceGotoPath{margin-right:6px}#js_top_header_file_path_box.ce-goto-path-active{height:60px}#js_top_header_file_path_box.ce-goto-path-active div#js_path_add_dir{height:32px}#js_top_header_file_path_box #ceGotoPathApp{position:absolute;top:40px}.ce-goto-main{position:relative;margin-right:5px}.ce-goto-main.ce-goto-sug-shown .ce-goto-input-wrap{border-radius:6px 6px 0 0}.ce-goto-main.ce-goto-sug-shown .ce-goto-sug{display:block}.ce-goto-main .ce-goto-input-wrap{position:relative;overflow:hidden;border:1px solid #cfcccc;border-radius:6px}.ce-goto-main .ce-goto-input-wrap .ce-goto-input{border-radius:6px 6px 0 0;border:none;padding:4px 10px;width:100%;box-sizing:border-box;color:#2877f8;border-bottom:none}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn{position:absolute;border:none}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn:hover{color:#ff723e}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn[data-cmd]{top:5px;font-size:12px;background:#aeaeae;color:#fff;padding:0 4px;border-radius:4px;cursor:pointer}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn[data-cmd]:hover{background:#ff723e}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn[data-cmd][disabled]{background:#d7d7d7;cursor:not-allowed}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn[data-cmd=clear]{right:10px}.ce-goto-main .ce-goto-input-wrap .ce-goto-input-btn[data-cmd=toggle]{right:50px}.ce-goto-main .ce-goto-sug{display:none;position:absolute;background:#ffffff;width:100%;padding:10px 10px 10px 8px;max-height:250px;z-index:999999;overflow-y:auto;box-shadow:0 5px 8px #ededed;border-radius:0 0 6px 6px;border:1px solid #cfcccc;box-sizing:border-box;border-top:none}.ce-goto-main .ce-goto-sug .ce-goto-sug-item{padding:4px 10px;background:#f4f6fc;margin-bottom:4px;cursor:pointer;border-radius:4px;font-size:12px;color:#353535}.ce-goto-main .ce-goto-sug .ce-goto-sug-item:hover{background:#d7d7d7}.ce-goto-main .ce-goto-sug .ce-goto-sug-item.active{background:#f4e1cf;color:#2877f8}.ce-goto-main .ce-goto-sug .ce-goto-sug-item span.ce-goto-sug-prefix,.ce-goto-main .ce-goto-sug .ce-goto-sug-item span.ce-goto-sep{color:#a4a4a4}.ce-goto-main .ce-goto-sug .ce-goto-sug-item span.ce-goto-sug-index{display:inline-block;background:#6ab2ff;font-size:10px;min-width:20px;color:#fff;border-radius:4px;text-align:center;padding:0 2px;margin-right:4px}.ce-search-page #js_top_panel_box{z-index:9999!important}.ce-search-page .top-file-path .file-path{float:left}.ce-search-page .dir-tab.ce-btn-select{background:#fffcea;color:#2877f8;display:inline-block;height:32px;line-height:24px;font-size:12px;padding:4px 8px;box-sizing:border-box;border:1px solid #2877f8;border-radius:4px}.ce-search-page .dir-tab.ce-btn-select:hover{background:#ffff00} `); var qP=Object.defineProperty;var VP=(Ro,On,Fo)=>On in Ro?qP(Ro,On,{enumerable:!0,configurable:!0,writable:!0,value:Fo}):Ro[On]=Fo;var Ie=(Ro,On,Fo)=>(VP(Ro,typeof On!="symbol"?On+"":On,Fo),Fo);(function(){"use strict";const Ro="",On="",Fo="",WP="",KP="",GP="",JP="",qh=typeof btoa=="function",Yr=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const fc=typeof TextEncoder=="function"?new TextEncoder:void 0,Vh="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ms=Array.prototype.slice.call(Vh);(e=>{let t={};return e.forEach((n,o)=>t[n]=o),t})(ms);const Zt=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const Wh=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),pc=qh?e=>btoa(e):Yr?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,o,s,i="";const r=e.length%3;for(let a=0;a255||(o=e.charCodeAt(a++))>255||(s=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=n<<16|o<<8|s,i+=ms[t>>18&63]+ms[t>>12&63]+ms[t>>6&63]+ms[t&63]}return r?i.slice(0,r-3)+"===".substring(r):i},Kh=Yr?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let o=0,s=e.length;o{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Zt(192|t>>>6)+Zt(128|t&63):Zt(224|t>>>12&15)+Zt(128|t>>>6&63)+Zt(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Zt(240|t>>>18&7)+Zt(128|t>>>12&63)+Zt(128|t>>>6&63)+Zt(128|t&63)}},Jh=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,Yh=e=>e.replace(Jh,Gh),hc=Yr?e=>Buffer.from(e,"utf8").toString("base64"):fc?e=>Kh(fc.encode(e)):e=>pc(Yh(e)),mc=(e,t=!1)=>t?Wh(hc(e)):hc(e);var oo=window,Xr=(()=>oo.GM_setValue)(),Xh=(()=>oo.GM_deleteValue)(),Qh=(()=>oo.GM_openInTab)(),gc=(()=>oo.GM_registerMenuCommand)(),Zh=(()=>oo.GM_xmlhttpRequest)(),gs=(()=>oo.GM_setClipboard)(),pi=(()=>oo.GM_getValue)(),Tn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},wc={exports:{}};/*! * sweetalert2 v11.7.2 * Released under the MIT License. */(function(e,t){(function(n,o){e.exports=o()})(Tn,function(){var n={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const o="swal2-",s=l=>{const c={};for(const g in l)c[l[g]]=o+l[g];return c},i=s(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),r=s(["success","warning","info","question","error"]),a="SweetAlert2:",u=l=>{const c=[];for(let g=0;gl.charAt(0).toUpperCase()+l.slice(1),f=l=>{console.warn(`${a} ${typeof l=="object"?l.join(" "):l}`)},h=l=>{console.error(`${a} ${l}`)},w=[],C=l=>{w.includes(l)||(w.push(l),f(l))},x=(l,c)=>{C(`"${l}" is deprecated and will be removed in the next major release. Please use "${c}" instead.`)},A=l=>typeof l=="function"?l():l,O=l=>l&&typeof l.toPromise=="function",U=l=>O(l)?l.toPromise():Promise.resolve(l),M=l=>l&&Promise.resolve(l)===l,T=()=>document.body.querySelector(`.${i.container}`),W=l=>{const c=T();return c?c.querySelector(l):null},oe=l=>W(`.${l}`),F=()=>oe(i.popup),ee=()=>oe(i.icon),ae=()=>oe(i["icon-content"]),ue=()=>oe(i.title),Ee=()=>oe(i["html-container"]),he=()=>oe(i.image),I=()=>oe(i["progress-steps"]),se=()=>oe(i["validation-message"]),J=()=>W(`.${i.actions} .${i.confirm}`),ve=()=>W(`.${i.actions} .${i.cancel}`),L=()=>W(`.${i.actions} .${i.deny}`),K=()=>oe(i["input-label"]),D=()=>W(`.${i.loader}`),pe=()=>oe(i.actions),$e=()=>oe(i.footer),Me=()=>oe(i["timer-progress-bar"]),Fe=()=>oe(i.close),Qe=` a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls], summary `,Lt=()=>{const l=Array.from(F().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((g,v)=>{const R=parseInt(g.getAttribute("tabindex")),Ce=parseInt(v.getAttribute("tabindex"));return R>Ce?1:Rg.getAttribute("tabindex")!=="-1");return u(l.concat(c)).filter(g=>j(g))},Bt=()=>tt(document.body,i.shown)&&!tt(document.body,i["toast-shown"])&&!tt(document.body,i["no-backdrop"]),Pn=()=>F()&&tt(F(),i.toast),_t=()=>F().hasAttribute("data-loading"),xt={previousBodyPadding:null},dt=(l,c)=>{if(l.textContent="",c){const v=new DOMParser().parseFromString(c,"text/html");Array.from(v.querySelector("head").childNodes).forEach(R=>{l.appendChild(R)}),Array.from(v.querySelector("body").childNodes).forEach(R=>{R instanceof HTMLVideoElement||R instanceof HTMLAudioElement?l.appendChild(R.cloneNode(!0)):l.appendChild(R)})}},tt=(l,c)=>{if(!c)return!1;const g=c.split(/\s+/);for(let v=0;v{Array.from(l.classList).forEach(g=>{!Object.values(i).includes(g)&&!Object.values(r).includes(g)&&!Object.values(c.showClass).includes(g)&&l.classList.remove(g)})},ut=(l,c,g)=>{if(no(l,c),c.customClass&&c.customClass[g]){if(typeof c.customClass[g]!="string"&&!c.customClass[g].forEach){f(`Invalid type of customClass.${g}! Expected string or iterable object, got "${typeof c.customClass[g]}"`);return}B(l,c.customClass[g])}},b=(l,c)=>{if(!c)return null;switch(c){case"select":case"textarea":case"file":return l.querySelector(`.${i.popup} > .${i[c]}`);case"checkbox":return l.querySelector(`.${i.popup} > .${i.checkbox} input`);case"radio":return l.querySelector(`.${i.popup} > .${i.radio} input:checked`)||l.querySelector(`.${i.popup} > .${i.radio} input:first-child`);case"range":return l.querySelector(`.${i.popup} > .${i.range} input`);default:return l.querySelector(`.${i.popup} > .${i.input}`)}},E=l=>{if(l.focus(),l.type!=="file"){const c=l.value;l.value="",l.value=c}},N=(l,c,g)=>{!l||!c||(typeof c=="string"&&(c=c.split(/\s+/).filter(Boolean)),c.forEach(v=>{Array.isArray(l)?l.forEach(R=>{g?R.classList.add(v):R.classList.remove(v)}):g?l.classList.add(v):l.classList.remove(v)}))},B=(l,c)=>{N(l,c,!0)},z=(l,c)=>{N(l,c,!1)},te=(l,c)=>{const g=Array.from(l.children);for(let v=0;v{g===`${parseInt(g)}`&&(g=parseInt(g)),g||parseInt(g)===0?l.style[c]=typeof g=="number"?`${g}px`:g:l.style.removeProperty(c)},G=function(l){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";l.style.display=c},Q=l=>{l.style.display="none"},X=(l,c,g,v)=>{const R=l.querySelector(c);R&&(R.style[g]=v)},me=function(l,c){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";c?G(l,g):Q(l)},j=l=>!!(l&&(l.offsetWidth||l.offsetHeight||l.getClientRects().length)),ge=()=>!j(J())&&!j(L())&&!j(ve()),m=l=>l.scrollHeight>l.clientHeight,y=l=>{const c=window.getComputedStyle(l),g=parseFloat(c.getPropertyValue("animation-duration")||"0"),v=parseFloat(c.getPropertyValue("transition-duration")||"0");return g>0||v>0},_=function(l){let c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const g=Me();j(g)&&(c&&(g.style.transition="none",g.style.width="100%"),setTimeout(()=>{g.style.transition=`width ${l/1e3}s linear`,g.style.width="0%"},10))},k=()=>{const l=Me(),c=parseInt(window.getComputedStyle(l).width);l.style.removeProperty("transition"),l.style.width="100%";const g=parseInt(window.getComputedStyle(l).width),v=c/g*100;l.style.width=`${v}%`},P=100,S={},H=()=>{S.previousActiveElement instanceof HTMLElement?(S.previousActiveElement.focus(),S.previousActiveElement=null):document.body&&document.body.focus()},q=l=>new Promise(c=>{if(!l)return c();const g=window.scrollX,v=window.scrollY;S.restoreFocusTimeout=setTimeout(()=>{H(),c()},P),window.scrollTo(g,v)}),Z=()=>typeof window>"u"||typeof document>"u",Ae=`

    `.replace(/(^|\n)\s*/g,""),ke=()=>{const l=T();return l?(l.remove(),z([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0):!1},be=()=>{S.currentInstance.resetValidationMessage()},je=()=>{const l=F(),c=te(l,i.input),g=te(l,i.file),v=l.querySelector(`.${i.range} input`),R=l.querySelector(`.${i.range} output`),Ce=te(l,i.select),Ge=l.querySelector(`.${i.checkbox} input`),Dt=te(l,i.textarea);c.oninput=be,g.onchange=be,Ce.onchange=be,Ge.onchange=be,Dt.oninput=be,v.oninput=()=>{be(),R.value=v.value},v.onchange=()=>{be(),R.value=v.value}},Ct=l=>typeof l=="string"?document.querySelector(l):l,gt=l=>{const c=F();c.setAttribute("role",l.toast?"alert":"dialog"),c.setAttribute("aria-live",l.toast?"polite":"assertive"),l.toast||c.setAttribute("aria-modal","true")},ai=l=>{window.getComputedStyle(l).direction==="rtl"&&B(T(),i.rtl)},li=l=>{const c=ke();if(Z()){h("SweetAlert2 requires document to initialize");return}const g=document.createElement("div");g.className=i.container,c&&B(g,i["no-transition"]),dt(g,Ae);const v=Ct(l.target);v.appendChild(g),gt(l),ai(v),je()},tc=(l,c)=>{l instanceof HTMLElement?c.appendChild(l):typeof l=="object"?_A(l,c):l&&dt(c,l)},_A=(l,c)=>{l.jquery?xA(c,l):dt(c,l.toString())},xA=(l,c)=>{if(l.textContent="",0 in c)for(let g=0;g in c;g++)l.appendChild(c[g].cloneNode(!0));else l.appendChild(c.cloneNode(!0))},ci=(()=>{if(Z())return!1;const l=document.createElement("div"),c={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const g in c)if(Object.prototype.hasOwnProperty.call(c,g)&&typeof l.style[g]<"u")return c[g];return!1})(),CA=()=>{const l=document.createElement("div");l.className=i["scrollbar-measure"],document.body.appendChild(l);const c=l.getBoundingClientRect().width-l.clientWidth;return document.body.removeChild(l),c},$A=(l,c)=>{const g=pe(),v=D();!c.showConfirmButton&&!c.showDenyButton&&!c.showCancelButton?Q(g):G(g),ut(g,c,"actions"),kA(g,v,c),dt(v,c.loaderHtml),ut(v,c,"loader")};function kA(l,c,g){const v=J(),R=L(),Ce=ve();nc(v,"confirm",g),nc(R,"deny",g),nc(Ce,"cancel",g),SA(v,R,Ce,g),g.reverseButtons&&(g.toast?(l.insertBefore(Ce,v),l.insertBefore(R,v)):(l.insertBefore(Ce,c),l.insertBefore(R,c),l.insertBefore(v,c)))}function SA(l,c,g,v){if(!v.buttonsStyling){z([l,c,g],i.styled);return}B([l,c,g],i.styled),v.confirmButtonColor&&(l.style.backgroundColor=v.confirmButtonColor,B(l,i["default-outline"])),v.denyButtonColor&&(c.style.backgroundColor=v.denyButtonColor,B(c,i["default-outline"])),v.cancelButtonColor&&(g.style.backgroundColor=v.cancelButtonColor,B(g,i["default-outline"]))}function nc(l,c,g){me(l,g[`show${p(c)}Button`],"inline-block"),dt(l,g[`${c}ButtonText`]),l.setAttribute("aria-label",g[`${c}ButtonAriaLabel`]),l.className=i[c],ut(l,g,`${c}Button`),B(l,g[`${c}ButtonClass`])}const EA=(l,c)=>{const g=Fe();dt(g,c.closeButtonHtml),ut(g,c,"closeButton"),me(g,c.showCloseButton),g.setAttribute("aria-label",c.closeButtonAriaLabel)},AA=(l,c)=>{const g=T();!g||(IA(g,c.backdrop),PA(g,c.position),OA(g,c.grow),ut(g,c,"container"))};function IA(l,c){typeof c=="string"?l.style.background=c:c||B([document.documentElement,document.body],i["no-backdrop"])}function PA(l,c){c in i?B(l,i[c]):(f('The "position" parameter is not valid, defaulting to "center"'),B(l,i.center))}function OA(l,c){if(c&&typeof c=="string"){const g=`grow-${c}`;g in i&&B(l,i[g])}}const TA=["input","file","range","select","radio","checkbox","textarea"],MA=(l,c)=>{const g=F(),v=n.innerParams.get(l),R=!v||c.input!==v.input;TA.forEach(Ce=>{const Ge=te(g,i[Ce]);DA(Ce,c.inputAttributes),Ge.className=i[Ce],R&&Q(Ge)}),c.input&&(R&&LA(c),NA(c))},LA=l=>{if(!Ot[l.input]){h(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${l.input}"`);return}const c=hh(l.input),g=Ot[l.input](c,l);G(c),l.inputAutoFocus&&setTimeout(()=>{E(g)})},BA=l=>{for(let c=0;c{const g=b(F(),l);if(!!g){BA(g);for(const v in c)g.setAttribute(v,c[v])}},NA=l=>{const c=hh(l.input);typeof l.customClass=="object"&&B(c,l.customClass.input)},oc=(l,c)=>{(!l.placeholder||c.inputPlaceholder)&&(l.placeholder=c.inputPlaceholder)},ui=(l,c,g)=>{if(g.inputLabel){l.id=i.input;const v=document.createElement("label"),R=i["input-label"];v.setAttribute("for",l.id),v.className=R,typeof g.customClass=="object"&&B(v,g.customClass.inputLabel),v.innerText=g.inputLabel,c.insertAdjacentElement("beforebegin",v)}},hh=l=>te(F(),i[l]||i.input),Wr=(l,c)=>{["string","number"].includes(typeof c)?l.value=`${c}`:M(c)||f(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof c}"`)},Ot={};Ot.text=Ot.email=Ot.password=Ot.number=Ot.tel=Ot.url=(l,c)=>(Wr(l,c.inputValue),ui(l,l,c),oc(l,c),l.type=c.input,l),Ot.file=(l,c)=>(ui(l,l,c),oc(l,c),l),Ot.range=(l,c)=>{const g=l.querySelector("input"),v=l.querySelector("output");return Wr(g,c.inputValue),g.type=c.input,Wr(v,c.inputValue),ui(g,l,c),l},Ot.select=(l,c)=>{if(l.textContent="",c.inputPlaceholder){const g=document.createElement("option");dt(g,c.inputPlaceholder),g.value="",g.disabled=!0,g.selected=!0,l.appendChild(g)}return ui(l,l,c),l},Ot.radio=l=>(l.textContent="",l),Ot.checkbox=(l,c)=>{const g=b(F(),"checkbox");g.value="1",g.id=i.checkbox,g.checked=Boolean(c.inputValue);const v=l.querySelector("span");return dt(v,c.inputPlaceholder),g},Ot.textarea=(l,c)=>{Wr(l,c.inputValue),oc(l,c),ui(l,l,c);const g=v=>parseInt(window.getComputedStyle(v).marginLeft)+parseInt(window.getComputedStyle(v).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const v=parseInt(window.getComputedStyle(F()).width),R=()=>{const Ce=l.offsetWidth+g(l);Ce>v?F().style.width=`${Ce}px`:F().style.width=null};new MutationObserver(R).observe(l,{attributes:!0,attributeFilter:["style"]})}}),l};const RA=(l,c)=>{const g=Ee();ut(g,c,"htmlContainer"),c.html?(tc(c.html,g),G(g,"block")):c.text?(g.textContent=c.text,G(g,"block")):Q(g),MA(l,c)},FA=(l,c)=>{const g=$e();me(g,c.footer),c.footer&&tc(c.footer,g),ut(g,c,"footer")},jA=(l,c)=>{const g=n.innerParams.get(l),v=ee();if(g&&c.icon===g.icon){gh(v,c),mh(v,c);return}if(!c.icon&&!c.iconHtml){Q(v);return}if(c.icon&&Object.keys(r).indexOf(c.icon)===-1){h(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${c.icon}"`),Q(v);return}G(v),gh(v,c),mh(v,c),B(v,c.showClass.icon)},mh=(l,c)=>{for(const g in r)c.icon!==g&&z(l,r[g]);B(l,r[c.icon]),qA(l,c),UA(),ut(l,c,"icon")},UA=()=>{const l=F(),c=window.getComputedStyle(l).getPropertyValue("background-color"),g=l.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let v=0;v
    `,zA=` `,gh=(l,c)=>{let g=l.innerHTML,v;c.iconHtml?v=wh(c.iconHtml):c.icon==="success"?(v=HA,g=g.replace(/ style=".*?"/g,"")):c.icon==="error"?v=zA:v=wh({question:"?",warning:"!",info:"i"}[c.icon]),g.trim()!==v.trim()&&dt(l,v)},qA=(l,c)=>{if(!!c.iconColor){l.style.color=c.iconColor,l.style.borderColor=c.iconColor;for(const g of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])X(l,g,"backgroundColor",c.iconColor);X(l,".swal2-success-ring","borderColor",c.iconColor)}},wh=l=>`
    ${l}
    `,VA=(l,c)=>{const g=he();if(!c.imageUrl){Q(g);return}G(g,""),g.setAttribute("src",c.imageUrl),g.setAttribute("alt",c.imageAlt),le(g,"width",c.imageWidth),le(g,"height",c.imageHeight),g.className=i.image,ut(g,c,"image")},WA=(l,c)=>{const g=T(),v=F();c.toast?(le(g,"width",c.width),v.style.width="100%",v.insertBefore(D(),ee())):le(v,"width",c.width),le(v,"padding",c.padding),c.color&&(v.style.color=c.color),c.background&&(v.style.background=c.background),Q(se()),KA(v,c)},KA=(l,c)=>{l.className=`${i.popup} ${j(l)?c.showClass.popup:""}`,c.toast?(B([document.documentElement,document.body],i["toast-shown"]),B(l,i.toast)):B(l,i.modal),ut(l,c,"popup"),typeof c.customClass=="string"&&B(l,c.customClass),c.icon&&B(l,i[`icon-${c.icon}`])},GA=(l,c)=>{const g=I();if(!c.progressSteps||c.progressSteps.length===0){Q(g);return}G(g),g.textContent="",c.currentProgressStep>=c.progressSteps.length&&f("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),c.progressSteps.forEach((v,R)=>{const Ce=JA(v);if(g.appendChild(Ce),R===c.currentProgressStep&&B(Ce,i["active-progress-step"]),R!==c.progressSteps.length-1){const Ge=YA(c);g.appendChild(Ge)}})},JA=l=>{const c=document.createElement("li");return B(c,i["progress-step"]),dt(c,l),c},YA=l=>{const c=document.createElement("li");return B(c,i["progress-step-line"]),l.progressStepsDistance&&le(c,"width",l.progressStepsDistance),c},XA=(l,c)=>{const g=ue();me(g,c.title||c.titleText,"block"),c.title&&tc(c.title,g),c.titleText&&(g.innerText=c.titleText),ut(g,c,"title")},yh=(l,c)=>{WA(l,c),AA(l,c),GA(l,c),jA(l,c),VA(l,c),XA(l,c),EA(l,c),RA(l,c),$A(l,c),FA(l,c),typeof c.didRender=="function"&&c.didRender(F())};function bh(){const l=n.innerParams.get(this);if(!l)return;const c=n.domCache.get(this);Q(c.loader),Pn()?l.icon&&G(ee()):QA(c),z([c.popup,c.actions],i.loading),c.popup.removeAttribute("aria-busy"),c.popup.removeAttribute("data-loading"),c.confirmButton.disabled=!1,c.denyButton.disabled=!1,c.cancelButton.disabled=!1}const QA=l=>{const c=l.popup.getElementsByClassName(l.loader.getAttribute("data-button-to-replace"));c.length?G(c[0],"inline-block"):ge()&&Q(l.actions)};function ZA(l){const c=n.innerParams.get(l||this),g=n.domCache.get(l||this);return g?b(g.popup,c.input):null}const eI=()=>j(F()),vh=()=>J()&&J().click(),tI=()=>L()&&L().click(),nI=()=>ve()&&ve().click(),us=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),_h=l=>{l.keydownTarget&&l.keydownHandlerAdded&&(l.keydownTarget.removeEventListener("keydown",l.keydownHandler,{capture:l.keydownListenerCapture}),l.keydownHandlerAdded=!1)},oI=(l,c,g,v)=>{_h(c),g.toast||(c.keydownHandler=R=>iI(l,R,v),c.keydownTarget=g.keydownListenerCapture?window:F(),c.keydownListenerCapture=g.keydownListenerCapture,c.keydownTarget.addEventListener("keydown",c.keydownHandler,{capture:c.keydownListenerCapture}),c.keydownHandlerAdded=!0)},sc=(l,c)=>{const g=Lt();if(g.length){l=l+c,l===g.length?l=0:l===-1&&(l=g.length-1),g[l].focus();return}F().focus()},xh=["ArrowRight","ArrowDown"],sI=["ArrowLeft","ArrowUp"],iI=(l,c,g)=>{const v=n.innerParams.get(l);!v||c.isComposing||c.keyCode===229||(v.stopKeydownPropagation&&c.stopPropagation(),c.key==="Enter"?rI(l,c,v):c.key==="Tab"?aI(c):[...xh,...sI].includes(c.key)?lI(c.key):c.key==="Escape"&&cI(c,v,g))},rI=(l,c,g)=>{if(!!A(g.allowEnterKey)&&c.target&&l.getInput()&&c.target instanceof HTMLElement&&c.target.outerHTML===l.getInput().outerHTML){if(["textarea","file"].includes(g.input))return;vh(),c.preventDefault()}},aI=l=>{const c=l.target,g=Lt();let v=-1;for(let R=0;R{const c=J(),g=L(),v=ve(),R=[c,g,v];if(document.activeElement instanceof HTMLElement&&!R.includes(document.activeElement))return;const Ce=xh.includes(l)?"nextElementSibling":"previousElementSibling";let Ge=document.activeElement;for(let Dt=0;Dt{A(c.allowEscapeKey)&&(l.preventDefault(),g(us.esc))};var di={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const uI=()=>{Array.from(document.body.children).forEach(c=>{c===T()||c.contains(T())||(c.hasAttribute("aria-hidden")&&c.setAttribute("data-previous-aria-hidden",c.getAttribute("aria-hidden")),c.setAttribute("aria-hidden","true"))})},Ch=()=>{Array.from(document.body.children).forEach(c=>{c.hasAttribute("data-previous-aria-hidden")?(c.setAttribute("aria-hidden",c.getAttribute("data-previous-aria-hidden")),c.removeAttribute("data-previous-aria-hidden")):c.removeAttribute("aria-hidden")})},dI=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!tt(document.body,i.iosfix)){const c=document.body.scrollTop;document.body.style.top=`${c*-1}px`,B(document.body,i.iosfix),pI(),fI()}},fI=()=>{const l=navigator.userAgent,c=!!l.match(/iPad/i)||!!l.match(/iPhone/i),g=!!l.match(/WebKit/i);c&&g&&!l.match(/CriOS/i)&&F().scrollHeight>window.innerHeight-44&&(T().style.paddingBottom=`${44}px`)},pI=()=>{const l=T();let c;l.ontouchstart=g=>{c=hI(g)},l.ontouchmove=g=>{c&&(g.preventDefault(),g.stopPropagation())}},hI=l=>{const c=l.target,g=T();return mI(l)||gI(l)?!1:c===g||!m(g)&&c instanceof HTMLElement&&c.tagName!=="INPUT"&&c.tagName!=="TEXTAREA"&&!(m(Ee())&&Ee().contains(c))},mI=l=>l.touches&&l.touches.length&&l.touches[0].touchType==="stylus",gI=l=>l.touches&&l.touches.length>1,wI=()=>{if(tt(document.body,i.iosfix)){const l=parseInt(document.body.style.top,10);z(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=l*-1}},yI=()=>{xt.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(xt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${xt.previousBodyPadding+CA()}px`)},bI=()=>{xt.previousBodyPadding!==null&&(document.body.style.paddingRight=`${xt.previousBodyPadding}px`,xt.previousBodyPadding=null)};function $h(l,c,g,v){Pn()?kh(l,v):(q(g).then(()=>kh(l,v)),_h(S)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(c.setAttribute("style","display:none !important"),c.removeAttribute("class"),c.innerHTML=""):c.remove(),Bt()&&(bI(),wI(),Ch()),vI()}function vI(){z([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function Kr(l){l=$I(l);const c=di.swalPromiseResolve.get(this),g=xI(this);this.isAwaitingPromise()?l.isDismissed||(fi(this),c(l)):g&&c(l)}function _I(){return!!n.awaitingPromise.get(this)}const xI=l=>{const c=F();if(!c)return!1;const g=n.innerParams.get(l);if(!g||tt(c,g.hideClass.popup))return!1;z(c,g.showClass.popup),B(c,g.hideClass.popup);const v=T();return z(v,g.showClass.backdrop),B(v,g.hideClass.backdrop),kI(l,c,g),!0};function CI(l){const c=di.swalPromiseReject.get(this);fi(this),c&&c(l)}const fi=l=>{l.isAwaitingPromise()&&(n.awaitingPromise.delete(l),n.innerParams.get(l)||l._destroy())},$I=l=>typeof l>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},l),kI=(l,c,g)=>{const v=T(),R=ci&&y(c);typeof g.willClose=="function"&&g.willClose(c),R?SI(l,c,v,g.returnFocus,g.didClose):$h(l,v,g.returnFocus,g.didClose)},SI=(l,c,g,v,R)=>{S.swalCloseEventFinishedCallback=$h.bind(null,l,g,v,R),c.addEventListener(ci,function(Ce){Ce.target===c&&(S.swalCloseEventFinishedCallback(),delete S.swalCloseEventFinishedCallback)})},kh=(l,c)=>{setTimeout(()=>{typeof c=="function"&&c.bind(l.params)(),l._destroy()})};function Sh(l,c,g){const v=n.domCache.get(l);c.forEach(R=>{v[R].disabled=g})}function Eh(l,c){if(!!l)if(l.type==="radio"){const v=l.parentNode.parentNode.querySelectorAll("input");for(let R=0;RObject.prototype.hasOwnProperty.call(ds,l),Ih=l=>MI.indexOf(l)!==-1,ic=l=>LI[l],DI=l=>{Ah(l)||f(`Unknown parameter "${l}"`)},NI=l=>{BI.includes(l)&&f(`The parameter "${l}" is incompatible with toasts`)},RI=l=>{ic(l)&&x(l,ic(l))},FI=l=>{l.backdrop===!1&&l.allowOutsideClick&&f('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const c in l)DI(c),l.toast&&NI(c),RI(c)};function jI(l){const c=F(),g=n.innerParams.get(this);if(!c||tt(c,g.hideClass.popup)){f("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");return}const v=UI(l),R=Object.assign({},g,v);yh(this,R),n.innerParams.set(this,R),Object.defineProperties(this,{params:{value:Object.assign({},this.params,l),writable:!1,enumerable:!0}})}const UI=l=>{const c={};return Object.keys(l).forEach(g=>{Ih(g)?c[g]=l[g]:f(`Invalid parameter to update: ${g}`)}),c};function HI(){const l=n.domCache.get(this),c=n.innerParams.get(this);if(!c){Ph(this);return}l.popup&&S.swalCloseEventFinishedCallback&&(S.swalCloseEventFinishedCallback(),delete S.swalCloseEventFinishedCallback),typeof c.didDestroy=="function"&&c.didDestroy(),zI(this)}const zI=l=>{Ph(l),delete l.params,delete S.keydownHandler,delete S.keydownTarget,delete S.currentInstance},Ph=l=>{l.isAwaitingPromise()?(rc(n,l),n.awaitingPromise.set(l,!0)):(rc(di,l),rc(n,l))},rc=(l,c)=>{for(const g in l)l[g].delete(c)};var Oh=Object.freeze({__proto__:null,_destroy:HI,close:Kr,closeModal:Kr,closePopup:Kr,closeToast:Kr,disableButtons:AI,disableInput:PI,disableLoading:bh,enableButtons:EI,enableInput:II,getInput:ZA,handleAwaitingPromise:fi,hideLoading:bh,isAwaitingPromise:_I,rejectPromise:CI,resetValidationMessage:TI,showValidationMessage:OI,update:jI});const fs=l=>{let c=F();c||new Jr,c=F();const g=D();Pn()?Q(ee()):qI(c,l),G(g),c.setAttribute("data-loading","true"),c.setAttribute("aria-busy","true"),c.focus()},qI=(l,c)=>{const g=pe(),v=D();!c&&j(J())&&(c=J()),G(g),c&&(Q(c),v.setAttribute("data-button-to-replace",c.className)),v.parentNode.insertBefore(v,c),B([l,g],i.loading)},VI=(l,c)=>{c.input==="select"||c.input==="radio"?YI(l,c):["text","email","number","tel","textarea"].includes(c.input)&&(O(c.inputValue)||M(c.inputValue))&&(fs(J()),XI(l,c))},WI=(l,c)=>{const g=l.getInput();if(!g)return null;switch(c.input){case"checkbox":return KI(g);case"radio":return GI(g);case"file":return JI(g);default:return c.inputAutoTrim?g.value.trim():g.value}},KI=l=>l.checked?1:0,GI=l=>l.checked?l.value:null,JI=l=>l.files.length?l.getAttribute("multiple")!==null?l.files:l.files[0]:null,YI=(l,c)=>{const g=F(),v=R=>{QI[c.input](g,ac(R),c)};O(c.inputOptions)||M(c.inputOptions)?(fs(J()),U(c.inputOptions).then(R=>{l.hideLoading(),v(R)})):typeof c.inputOptions=="object"?v(c.inputOptions):h(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof c.inputOptions}`)},XI=(l,c)=>{const g=l.getInput();Q(g),U(c.inputValue).then(v=>{g.value=c.input==="number"?`${parseFloat(v)||0}`:`${v}`,G(g),g.focus(),l.hideLoading()}).catch(v=>{h(`Error in inputValue promise: ${v}`),g.value="",G(g),g.focus(),l.hideLoading()})},QI={select:(l,c,g)=>{const v=te(l,i.select),R=(Ce,Ge,Dt)=>{const $t=document.createElement("option");$t.value=Dt,dt($t,Ge),$t.selected=Th(Dt,g.inputValue),Ce.appendChild($t)};c.forEach(Ce=>{const Ge=Ce[0],Dt=Ce[1];if(Array.isArray(Dt)){const $t=document.createElement("optgroup");$t.label=Ge,$t.disabled=!1,v.appendChild($t),Dt.forEach(hs=>R($t,hs[1],hs[0]))}else R(v,Dt,Ge)}),v.focus()},radio:(l,c,g)=>{const v=te(l,i.radio);c.forEach(Ce=>{const Ge=Ce[0],Dt=Ce[1],$t=document.createElement("input"),hs=document.createElement("label");$t.type="radio",$t.name=i.radio,$t.value=Ge,Th(Ge,g.inputValue)&&($t.checked=!0);const dc=document.createElement("span");dt(dc,Dt),dc.className=i.label,hs.appendChild($t),hs.appendChild(dc),v.appendChild(hs)});const R=v.querySelectorAll("input");R.length&&R[0].focus()}},ac=l=>{const c=[];return typeof Map<"u"&&l instanceof Map?l.forEach((g,v)=>{let R=g;typeof R=="object"&&(R=ac(R)),c.push([v,R])}):Object.keys(l).forEach(g=>{let v=l[g];typeof v=="object"&&(v=ac(v)),c.push([g,v])}),c},Th=(l,c)=>c&&c.toString()===l.toString(),ZI=l=>{const c=n.innerParams.get(l);l.disableButtons(),c.input?Mh(l,"confirm"):cc(l,!0)},eP=l=>{const c=n.innerParams.get(l);l.disableButtons(),c.returnInputValueOnDeny?Mh(l,"deny"):lc(l,!1)},tP=(l,c)=>{l.disableButtons(),c(us.cancel)},Mh=(l,c)=>{const g=n.innerParams.get(l);if(!g.input){h(`The "input" parameter is needed to be set when using returnInputValueOn${p(c)}`);return}const v=WI(l,g);g.inputValidator?nP(l,v,c):l.getInput().checkValidity()?c==="deny"?lc(l,v):cc(l,v):(l.enableButtons(),l.showValidationMessage(g.validationMessage))},nP=(l,c,g)=>{const v=n.innerParams.get(l);l.disableInput(),Promise.resolve().then(()=>U(v.inputValidator(c,v.validationMessage))).then(Ce=>{l.enableButtons(),l.enableInput(),Ce?l.showValidationMessage(Ce):g==="deny"?lc(l,c):cc(l,c)})},lc=(l,c)=>{const g=n.innerParams.get(l||void 0);g.showLoaderOnDeny&&fs(L()),g.preDeny?(n.awaitingPromise.set(l||void 0,!0),Promise.resolve().then(()=>U(g.preDeny(c,g.validationMessage))).then(R=>{R===!1?(l.hideLoading(),fi(l)):l.close({isDenied:!0,value:typeof R>"u"?c:R})}).catch(R=>Bh(l||void 0,R))):l.close({isDenied:!0,value:c})},Lh=(l,c)=>{l.close({isConfirmed:!0,value:c})},Bh=(l,c)=>{l.rejectPromise(c)},cc=(l,c)=>{const g=n.innerParams.get(l||void 0);g.showLoaderOnConfirm&&fs(),g.preConfirm?(l.resetValidationMessage(),n.awaitingPromise.set(l||void 0,!0),Promise.resolve().then(()=>U(g.preConfirm(c,g.validationMessage))).then(R=>{j(se())||R===!1?(l.hideLoading(),fi(l)):Lh(l,typeof R>"u"?c:R)}).catch(R=>Bh(l||void 0,R))):Lh(l,c)},oP=(l,c,g)=>{n.innerParams.get(l).toast?sP(l,c,g):(rP(c),aP(c),lP(l,c,g))},sP=(l,c,g)=>{c.popup.onclick=()=>{const v=n.innerParams.get(l);v&&(iP(v)||v.timer||v.input)||g(us.close)}},iP=l=>l.showConfirmButton||l.showDenyButton||l.showCancelButton||l.showCloseButton;let Gr=!1;const rP=l=>{l.popup.onmousedown=()=>{l.container.onmouseup=function(c){l.container.onmouseup=void 0,c.target===l.container&&(Gr=!0)}}},aP=l=>{l.container.onmousedown=()=>{l.popup.onmouseup=function(c){l.popup.onmouseup=void 0,(c.target===l.popup||l.popup.contains(c.target))&&(Gr=!0)}}},lP=(l,c,g)=>{c.container.onclick=v=>{const R=n.innerParams.get(l);if(Gr){Gr=!1;return}v.target===c.container&&A(R.allowOutsideClick)&&g(us.backdrop)}},cP=l=>typeof l=="object"&&l.jquery,Dh=l=>l instanceof Element||cP(l),uP=l=>{const c={};return typeof l[0]=="object"&&!Dh(l[0])?Object.assign(c,l[0]):["title","html","icon"].forEach((g,v)=>{const R=l[v];typeof R=="string"||Dh(R)?c[g]=R:R!==void 0&&h(`Unexpected type of ${g}! Expected "string" or "Element", got ${typeof R}`)}),c};function dP(){const l=this;for(var c=arguments.length,g=new Array(c),v=0;vS.timeout&&S.timeout.getTimerLeft(),Nh=()=>{if(S.timeout)return k(),S.timeout.stop()},Rh=()=>{if(S.timeout){const l=S.timeout.start();return _(l),l}},hP=()=>{const l=S.timeout;return l&&(l.running?Nh():Rh())},mP=l=>{if(S.timeout){const c=S.timeout.increase(l);return _(c,!0),c}},gP=()=>S.timeout&&S.timeout.isRunning();let Fh=!1;const uc={};function wP(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";uc[l]=this,Fh||(document.body.addEventListener("click",yP),Fh=!0)}const yP=l=>{for(let c=l.target;c&&c!==document;c=c.parentNode)for(const g in uc){const v=c.getAttribute(g);if(v){uc[g].fire({template:v});return}}};var bP=Object.freeze({__proto__:null,argsToParams:uP,bindClickHandler:wP,clickCancel:nI,clickConfirm:vh,clickDeny:tI,enableLoading:fs,fire:dP,getActions:pe,getCancelButton:ve,getCloseButton:Fe,getConfirmButton:J,getContainer:T,getDenyButton:L,getFocusableElements:Lt,getFooter:$e,getHtmlContainer:Ee,getIcon:ee,getIconContent:ae,getImage:he,getInputLabel:K,getLoader:D,getPopup:F,getProgressSteps:I,getTimerLeft:pP,getTimerProgressBar:Me,getTitle:ue,getValidationMessage:se,increaseTimer:mP,isDeprecatedParameter:ic,isLoading:_t,isTimerRunning:gP,isUpdatableParameter:Ih,isValidParameter:Ah,isVisible:eI,mixin:fP,resumeTimer:Rh,showLoading:fs,stopTimer:Nh,toggleTimer:hP});class vP{constructor(c,g){this.callback=c,this.remaining=g,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(c){const g=this.running;return g&&this.stop(),this.remaining+=c,g&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const jh=["swal-title","swal-html","swal-footer"],_P=l=>{const c=typeof l.template=="string"?document.querySelector(l.template):l.template;if(!c)return{};const g=c.content;return IP(g),Object.assign(xP(g),CP(g),$P(g),kP(g),SP(g),EP(g),AP(g,jh))},xP=l=>{const c={};return Array.from(l.querySelectorAll("swal-param")).forEach(v=>{No(v,["name","value"]);const R=v.getAttribute("name"),Ce=v.getAttribute("value");typeof ds[R]=="boolean"?c[R]=Ce!=="false":typeof ds[R]=="object"?c[R]=JSON.parse(Ce):c[R]=Ce}),c},CP=l=>{const c={};return Array.from(l.querySelectorAll("swal-function-param")).forEach(v=>{const R=v.getAttribute("name"),Ce=v.getAttribute("value");c[R]=new Function(`return ${Ce}`)()}),c},$P=l=>{const c={};return Array.from(l.querySelectorAll("swal-button")).forEach(v=>{No(v,["type","color","aria-label"]);const R=v.getAttribute("type");c[`${R}ButtonText`]=v.innerHTML,c[`show${p(R)}Button`]=!0,v.hasAttribute("color")&&(c[`${R}ButtonColor`]=v.getAttribute("color")),v.hasAttribute("aria-label")&&(c[`${R}ButtonAriaLabel`]=v.getAttribute("aria-label"))}),c},kP=l=>{const c={},g=l.querySelector("swal-image");return g&&(No(g,["src","width","height","alt"]),g.hasAttribute("src")&&(c.imageUrl=g.getAttribute("src")),g.hasAttribute("width")&&(c.imageWidth=g.getAttribute("width")),g.hasAttribute("height")&&(c.imageHeight=g.getAttribute("height")),g.hasAttribute("alt")&&(c.imageAlt=g.getAttribute("alt"))),c},SP=l=>{const c={},g=l.querySelector("swal-icon");return g&&(No(g,["type","color"]),g.hasAttribute("type")&&(c.icon=g.getAttribute("type")),g.hasAttribute("color")&&(c.iconColor=g.getAttribute("color")),c.iconHtml=g.innerHTML),c},EP=l=>{const c={},g=l.querySelector("swal-input");g&&(No(g,["type","label","placeholder","value"]),c.input=g.getAttribute("type")||"text",g.hasAttribute("label")&&(c.inputLabel=g.getAttribute("label")),g.hasAttribute("placeholder")&&(c.inputPlaceholder=g.getAttribute("placeholder")),g.hasAttribute("value")&&(c.inputValue=g.getAttribute("value")));const v=Array.from(l.querySelectorAll("swal-input-option"));return v.length&&(c.inputOptions={},v.forEach(R=>{No(R,["value"]);const Ce=R.getAttribute("value"),Ge=R.innerHTML;c.inputOptions[Ce]=Ge})),c},AP=(l,c)=>{const g={};for(const v in c){const R=c[v],Ce=l.querySelector(R);Ce&&(No(Ce,[]),g[R.replace(/^swal-/,"")]=Ce.innerHTML.trim())}return g},IP=l=>{const c=jh.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(l.children).forEach(g=>{const v=g.tagName.toLowerCase();c.includes(v)||f(`Unrecognized element <${v}>`)})},No=(l,c)=>{Array.from(l.attributes).forEach(g=>{c.indexOf(g.name)===-1&&f([`Unrecognized attribute "${g.name}" on <${l.tagName.toLowerCase()}>.`,`${c.length?`Allowed attributes are: ${c.join(", ")}`:"To set the value, use HTML within the element."}`])})},Uh=10,PP=l=>{const c=T(),g=F();typeof l.willOpen=="function"&&l.willOpen(g);const R=window.getComputedStyle(document.body).overflowY;MP(c,g,l),setTimeout(()=>{OP(c,g)},Uh),Bt()&&(TP(c,l.scrollbarPadding,R),uI()),!Pn()&&!S.previousActiveElement&&(S.previousActiveElement=document.activeElement),typeof l.didOpen=="function"&&setTimeout(()=>l.didOpen(g)),z(c,i["no-transition"])},Hh=l=>{const c=F();if(l.target!==c)return;const g=T();c.removeEventListener(ci,Hh),g.style.overflowY="auto"},OP=(l,c)=>{ci&&y(c)?(l.style.overflowY="hidden",c.addEventListener(ci,Hh)):l.style.overflowY="auto"},TP=(l,c,g)=>{dI(),c&&g!=="hidden"&&yI(),setTimeout(()=>{l.scrollTop=0})},MP=(l,c,g)=>{B(l,g.showClass.backdrop),c.style.setProperty("opacity","0","important"),G(c,"grid"),setTimeout(()=>{B(c,g.showClass.popup),c.style.removeProperty("opacity")},Uh),B([document.documentElement,document.body],i.shown),g.heightAuto&&g.backdrop&&!g.toast&&B([document.documentElement,document.body],i["height-auto"])};var zh={email:(l,c)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(l)?Promise.resolve():Promise.resolve(c||"Invalid email address"),url:(l,c)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(l)?Promise.resolve():Promise.resolve(c||"Invalid URL")};function LP(l){l.inputValidator||Object.keys(zh).forEach(c=>{l.input===c&&(l.inputValidator=zh[c])})}function BP(l){(!l.target||typeof l.target=="string"&&!document.querySelector(l.target)||typeof l.target!="string"&&!l.target.appendChild)&&(f('Target parameter is not valid, defaulting to "body"'),l.target="body")}function DP(l){LP(l),l.showLoaderOnConfirm&&!l.preConfirm&&f(`showLoaderOnConfirm is set to true, but preConfirm is not defined. showLoaderOnConfirm should be used together with preConfirm, see usage example: https://sweetalert2.github.io/#ajax-request`),BP(l),typeof l.title=="string"&&(l.title=l.title.split(` `).join("
    ")),li(l)}let dn;class ps{constructor(){if(typeof window>"u")return;dn=this;for(var c=arguments.length,g=new Array(c),v=0;v1&&arguments[1]!==void 0?arguments[1]:{};FI(Object.assign({},g,c)),S.currentInstance&&(S.currentInstance._destroy(),Bt()&&Ch()),S.currentInstance=dn;const v=RP(c,g);DP(v),Object.freeze(v),S.timeout&&(S.timeout.stop(),delete S.timeout),clearTimeout(S.restoreFocusTimeout);const R=FP(dn);return yh(dn,v),n.innerParams.set(dn,v),NP(dn,R,v)}then(c){return n.promise.get(this).then(c)}finally(c){return n.promise.get(this).finally(c)}}const NP=(l,c,g)=>new Promise((v,R)=>{const Ce=Ge=>{l.close({isDismissed:!0,dismiss:Ge})};di.swalPromiseResolve.set(l,v),di.swalPromiseReject.set(l,R),c.confirmButton.onclick=()=>{ZI(l)},c.denyButton.onclick=()=>{eP(l)},c.cancelButton.onclick=()=>{tP(l,Ce)},c.closeButton.onclick=()=>{Ce(us.close)},oP(l,c,Ce),oI(l,S,g,Ce),VI(l,g),PP(g),jP(S,g,Ce),UP(c,g),setTimeout(()=>{c.container.scrollTop=0})}),RP=(l,c)=>{const g=_P(l),v=Object.assign({},ds,c,g,l);return v.showClass=Object.assign({},ds.showClass,v.showClass),v.hideClass=Object.assign({},ds.hideClass,v.hideClass),v},FP=l=>{const c={popup:F(),container:T(),actions:pe(),confirmButton:J(),denyButton:L(),cancelButton:ve(),loader:D(),closeButton:Fe(),validationMessage:se(),progressSteps:I()};return n.domCache.set(l,c),c},jP=(l,c,g)=>{const v=Me();Q(v),c.timer&&(l.timeout=new vP(()=>{g("timer"),delete l.timeout},c.timer),c.timerProgressBar&&(G(v),ut(v,c,"timerProgressBar"),setTimeout(()=>{l.timeout&&l.timeout.running&&_(c.timer)})))},UP=(l,c)=>{if(!c.toast){if(!A(c.allowEnterKey)){zP();return}HP(l,c)||sc(-1,1)}},HP=(l,c)=>c.focusDeny&&j(l.denyButton)?(l.denyButton.focus(),!0):c.focusCancel&&j(l.cancelButton)?(l.cancelButton.focus(),!0):c.focusConfirm&&j(l.confirmButton)?(l.confirmButton.focus(),!0):!1,zP=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};if(typeof window<"u"&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|xn--p1ai)$/)){const l=new Date,c=localStorage.getItem("swal-initiation");c?(l.getTime()-Date.parse(c))/(1e3*60*60*24)>3&&setTimeout(()=>{document.body.style.pointerEvents="none";const g=document.createElement("audio");g.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",g.loop=!0,document.body.appendChild(g),setTimeout(()=>{g.play().catch(()=>{})},2500)},500):localStorage.setItem("swal-initiation",`${l}`)}Object.assign(ps.prototype,Oh),Object.assign(ps,bP),Object.keys(Oh).forEach(l=>{ps[l]=function(){if(dn)return dn[l](...arguments)}}),ps.DismissReason=us,ps.version="11.7.2";const Jr=ps;return Jr.default=Jr,Jr}),typeof Tn<"u"&&Tn.Sweetalert2&&(Tn.swal=Tn.sweetAlert=Tn.Swal=Tn.SweetAlert=Tn.Sweetalert2),typeof document<"u"&&function(n,o){var s=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(s),s.styleSheet)s.styleSheet.disabled||(s.styleSheet.cssText=o);else try{s.innerHTML=o}catch{s.innerText=o}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:rgba(0,0,0,0) !important}.swal2-container.swal2-top-start,.swal2-container.swal2-center-start,.swal2-container.swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}.swal2-container.swal2-top,.swal2-container.swal2-center,.swal2-container.swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}.swal2-container.swal2-top-end,.swal2-container.swal2-center-end,.swal2-container.swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-start>.swal2-popup,.swal2-container.swal2-center-left>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-start>.swal2-popup,.swal2-container.swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-row>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none !important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:none}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:none}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:rgba(0,0,0,0);color:#f27474}.swal2-close:focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-input,.swal2-file,.swal2-textarea,.swal2-select,.swal2-radio,.swal2-checkbox{margin:1em 2em 3px}.swal2-input,.swal2-file,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-input.swal2-inputerror,.swal2-file.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}.swal2-input:focus,.swal2-file:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-input::placeholder,.swal2-file::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}.swal2-radio,.swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-radio label,.swal2-checkbox label{margin:0 .6em;font-size:1.125em}.swal2-radio input,.swal2-checkbox input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')})(wc);const de=wc.exports,em=["ts","wmv","3pg","mp4","mpg","m4v","iso","mkv","avi","dvd","wmv","i00","i01","i02","i03","i04","i05","i06","i07","i08","i09","i10","i11","i12","mpeg","mov","m2ts","bup","vob","rmvb","md0","md1","md2","md3","md4","md5","mdf","mds","nrg","flv"],tm=["jpg","jpeg","png","gif","bmp","svg"],nm=["mp3","wav","wma","ogg","ape","flac","aac"];function yc(e){return JSON.parse(JSON.stringify(e))}function hi(e,...t){return new e(t[0])}async function om(e){return new Promise((t,n)=>{Zh({onload:o=>t(o),onerror:o=>n(o),...e})})}function ws(){return Math.floor(Date.now()/1e3)}function bc(e,t,n="text/plain"){const o=document.createElement("a");document.body.appendChild(o),o.setAttribute("style","display:none");const s=new Blob([e],{type:n}),i=window.URL.createObjectURL(s);o.href=i,o.download=t,o.click(),window.URL.revokeObjectURL(i)}function Kt(e){if(typeof gs=="function")return gs(e,"text"),!0;const t=n=>{var o;(o=n.clipboardData)==null||o.setData("text/plain",e),n.preventDefault(),document.removeEventListener("copy",t)};return document.addEventListener("copy",t),document.execCommand("copy")}function sm(e,t){return e=e.replace(/^[\\]+/g,""),t?"/"+e:e}function vc(e){return/^magnet:\?xt=urn:btih/.test(e)}function _c(e){return/^ed2k:\/\/\|file\|/.test(e)}function xc(e){return`magnet:?xt=urn:btih:${e.toUpperCase()}`}function Cc(e){const t=e.match(/([a-z\d]{32,40})/i);return t?t[1]:""}function im(e,t=!0){return(t?/^([a-z\d]{32})$|^([a-z\d]{40})$/i:/^[a-z\d]{32,40}$/i).test(e)}function rm(e,t=location.href){const n=new RegExp("(\\?|#|&)"+e+"=([^&#]*)(&|#|$)"),o=t.match(n);return o?o[2]:""}function mi(e,t=2){if(Number.isNaN(e)||(e=typeof e=="string"?parseInt(e):e,!e))return"0";const n=1024,o=t,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],i=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,i)).toFixed(o))+" "+s[i]}function $c(e){const t=["B","KB","MB","GB","TB","PB","EB","ZB","YB"],n=new RegExp(`^(\\d+(?:\\.\\d+)?)(${t.join("|")})$`,"i"),o=e.match(n);if(!o)throw new Error(`无效的文件大小!${e}`);const s=parseFloat(o[1]),i=o[2].toUpperCase(),r=t.indexOf(i);if(r<0)throw new Error(`无效的文件大小!${e}`);return s*Math.pow(1024,r)}function kc(e,t=document,n=XPathResult.ORDERED_NODE_SNAPSHOT_TYPE){const o=[],s=document.evaluate(e,t,null,n,null);for(let i=0;i0&&r(a)}else{const a=o.querySelectorAll(e);a.length&&r(Array.from(a))}}try{return await bs(i,t,n)}catch(r){throw console.warn("[find]",r),new Error(`查找元素超时:${e}`)}}async function Mn(e,t=100,n=12e4){const o=e.indexOf("//")===0;function s(i){if(o){const r=kc(e);r.length>0&&i(unsafeWindow.$(r))}else{const r=unsafeWindow.$(e);r.length&&i(r)}}try{return await bs(s,t,n)}catch(i){throw console.warn("[findWithJQuery]",i),new Error(`查找元素超时:${e}`)}}async function bs(e,t,n){return new Promise(async(o,s)=>{if(typeof e!="function"){s("提供的参数`fulfill`不是一个Function!");return}let i=!1;e(u=>{i=!0,o(u)});let r=setInterval(async()=>{if(i){clearTimeout(a),clearInterval(r);return}e(u=>{clearTimeout(a),clearInterval(r),o(u)})},t),a=setTimeout(()=>{clearInterval(r),s("超时")},n)})}async function Nt(e){return new Promise(t=>{setTimeout(t,e)})}function Qr(e){const t=new URLSearchParams;let n;for(n in e)t.append(n,e[n].toString());return t.toString()}async function ce(e){return de.fire({toast:!0,position:"top",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:t=>{t.addEventListener("mouseenter",de.stopTimer),t.addEventListener("mouseleave",de.resumeTimer)},...e})}function gi(e,t){t=t||window,t.postMessage(e)}function io(e,t,n){if(n){const o=pi(e,{});Xr(e,{...o,...t})}else Xr(e,t)}function Rt(e,t,n){let o;return function(...s){const i=()=>{o=void 0,n||e.apply(this,s)},r=n&&o===void 0;clearTimeout(o),o=setTimeout(i,t),r&&e.apply(this,s)}}function am(e){return e?em.indexOf(e.toLowerCase())>-1:!1}function lm(e){return e?tm.indexOf(e.toLowerCase())>-1:!1}function cm(e){return e?nm.indexOf(e.toLowerCase())>-1:!1}var Le=(e=>(e.listItemHover="listItemHover",e.listItemHoverSub="listItemHoverSub",e.listItemContext="listItemContext",e.listItemContextSub="listItemContextSub",e.selection="selection",e.selectionSub="selectionSub",e.dirContext="dirContext",e.dirContextSub="dirContextSub",e))(Le||{}),vs=(e=>(e.listItemHover="列表项悬浮菜单",e.listItemHoverSub="列表项悬浮子菜单",e.listItemContext="列表项右键菜单",e.listItemContextSub="列表项右键子菜单",e.selection="选中项菜单",e.selectionSub="选中项子菜单",e.dirContext="当前目录右键菜单",e.dirContextSub="当前目录右键子菜单",e))(vs||{}),ro=(e=>(e[e.after=0]="after",e[e.before=1]="before",e))(ro||{});const nt={get:async(e,t)=>pi(e,t),set:async(e,t)=>Xr(e,t),remove:async e=>Xh(e)},Sc="clouddrive_configs";var Ec=(e=>(e.windows="windows",e.macos="macos",e.linux="linux",e.android="android",e))(Ec||{});function Zr(e){return{active:!1,url:"http://localhost:19798",root:"/115",memo:"",platform:void 0,...e}}async function Ac(){const e=[Zr()],t=await nt.get(Sc,e);return t||e}async function Ic(e){e.some(t=>t.active)||(e[0].active=!0),await nt.set(Sc,e)}async function _s(){return(await Ac()).find(t=>t.active)||Zr()}var wi=(e=>(e.play="play",e.download="download",e))(wi||{});function Pc(e){return e.startsWith("file://")}async function jo(e,t,n="play"){e.platform==="macos"&&(t=t.normalize("NFD"));let{url:o,root:s}=e;if(!o)throw new Error("未设置CloudDrive地址!");(o.startsWith("/")||o.startsWith("\\"))&&(o=`file:///${o}`),Pc(o);const i=/^https?:\/\//.test(o);if(i&&!s)throw new Error("当协议为http/https时,必须设置CloudDrive资源根路径!");s&&(s=s.replace(/^(\/+)?/g,"/")),t=t.replace(/^(\/+)?/g,"/");const r=`${s}${t}`,a=n==="play"?"True":"False";let u="";return i?u=`${o}/static/${o.replace("://","/")}/${a}/${encodeURIComponent(r)}`:(o=o.replace(/\/+$/,""),u=`${o}${r}`),console.log("[Cloud115 Enhancer] buildCloudDriveUrl",u),u}async function ea(e,t){let{url:n,root:o}=e;if(!n)throw new Error("未设置CloudDrive地址!");return(n.startsWith("/")||n.startsWith("\\"))&&(n=`file:///${n}`),Pc(n)?await jo(e,t,"play"):await jo(e,t,"play")+".clfsplaylist.m3u"}var kt=(e=>(e[e.any=-999]="any",e[e.failed=-1]="failed",e[e.illegal=0]="illegal",e[e.ing=1]="ing",e[e.success=2]="success",e))(kt||{});const um={[-1]:"失败",[0]:"违规",[1]:"下载中",[2]:"成功"};var St=(e=>(e.all="all",e.failed="failed",e.success="success",e.magnet="magnet",e.magnetEd2k="magnetEd2k",e))(St||{}),ta=(e=>(e[e.true=1]="true",e[e.false=0]="false",e))(ta||{}),wt=(e=>(e[e.all=0]="all",e[e.video=4]="video",e[e.audio=3]="audio",e[e.image=2]="image",e[e.doc=1]="doc",e[e.app=6]="app",e[e.archive=5]="archive",e))(wt||{}),et=(e=>(e.all="全部",e.video="视频",e.audio="音频",e.image="图片",e.doc="文档",e.app="应用",e.archive="压缩包",e))(et||{}),Oc=(e=>(e.userPtime="user_ptime",e.fileName="file_name",e.fileSize="file_size",e.fileType="file_type",e))(Oc||{});function dm(e){return{offset:0,limit:1150,aid:1,cid:"",format:"json",o:"user_ptime",asc:0,search_value:"",...e}}function na(e){return{aid:1,cid:"",o:"user_ptime",asc:0,offset:0,show_dir:1,limit:115,natsort:0,format:"json",...e}}function Tc(e,t){return function(){return e.apply(t,arguments)}}const{toString:Mc}=Object.prototype,{getPrototypeOf:oa}=Object,sa=(e=>t=>{const n=Mc.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),fn=e=>(e=e.toLowerCase(),t=>sa(t)===e),yi=e=>t=>typeof t===e,{isArray:Uo}=Array,xs=yi("undefined");function fm(e){return e!==null&&!xs(e)&&e.constructor!==null&&!xs(e.constructor)&&Ln(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Lc=fn("ArrayBuffer");function pm(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Lc(e.buffer),t}const hm=yi("string"),Ln=yi("function"),Bc=yi("number"),ia=e=>e!==null&&typeof e=="object",mm=e=>e===!0||e===!1,bi=e=>{if(sa(e)!=="object")return!1;const t=oa(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gm=fn("Date"),wm=fn("File"),ym=fn("Blob"),bm=fn("FileList"),vm=e=>ia(e)&&Ln(e.pipe),_m=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Mc.call(e)===t||Ln(e.toString)&&e.toString()===t)},xm=fn("URLSearchParams"),Cm=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Cs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,s;if(typeof e!="object"&&(e=[e]),Uo(e))for(o=0,s=e.length;o0;)if(s=n[o],t===s.toLowerCase())return s;return null}const Nc=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Rc=e=>!xs(e)&&e!==Nc;function ra(){const{caseless:e}=Rc(this)&&this||{},t={},n=(o,s)=>{const i=e&&Dc(t,s)||s;bi(t[i])&&bi(o)?t[i]=ra(t[i],o):bi(o)?t[i]=ra({},o):Uo(o)?t[i]=o.slice():t[i]=o};for(let o=0,s=arguments.length;o(Cs(t,(s,i)=>{n&&Ln(s)?e[i]=Tc(s,n):e[i]=s},{allOwnKeys:o}),e),km=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Sm=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Em=(e,t,n,o)=>{let s,i,r;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)r=s[i],(!o||o(r,e,t))&&!a[r]&&(t[r]=e[r],a[r]=!0);e=n!==!1&&oa(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Am=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n},Im=e=>{if(!e)return null;if(Uo(e))return e;let t=e.length;if(!Bc(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Pm=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&oa(Uint8Array)),Om=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},Tm=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},Mm=fn("HTMLFormElement"),Lm=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,s){return o.toUpperCase()+s}),Fc=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Bm=fn("RegExp"),jc=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Cs(n,(s,i)=>{t(s,i,e)!==!1&&(o[i]=s)}),Object.defineProperties(e,o)},Dm=e=>{jc(e,(t,n)=>{if(Ln(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(!!Ln(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Nm=(e,t)=>{const n={},o=s=>{s.forEach(i=>{n[i]=!0})};return Uo(e)?o(e):o(String(e).split(t)),n},Rm=()=>{},Fm=(e,t)=>(e=+e,Number.isFinite(e)?e:t),aa="abcdefghijklmnopqrstuvwxyz",Uc="0123456789",Hc={DIGIT:Uc,ALPHA:aa,ALPHA_DIGIT:aa+aa.toUpperCase()+Uc},jm=(e=16,t=Hc.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function Um(e){return!!(e&&Ln(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const V={isArray:Uo,isArrayBuffer:Lc,isBuffer:fm,isFormData:_m,isArrayBufferView:pm,isString:hm,isNumber:Bc,isBoolean:mm,isObject:ia,isPlainObject:bi,isUndefined:xs,isDate:gm,isFile:wm,isBlob:ym,isRegExp:Bm,isFunction:Ln,isStream:vm,isURLSearchParams:xm,isTypedArray:Pm,isFileList:bm,forEach:Cs,merge:ra,extend:$m,trim:Cm,stripBOM:km,inherits:Sm,toFlatObject:Em,kindOf:sa,kindOfTest:fn,endsWith:Am,toArray:Im,forEachEntry:Om,matchAll:Tm,isHTMLForm:Mm,hasOwnProperty:Fc,hasOwnProp:Fc,reduceDescriptors:jc,freezeMethods:Dm,toObjectSet:Nm,toCamelCase:Lm,noop:Rm,toFiniteNumber:Fm,findKey:Dc,global:Nc,isContextDefined:Rc,ALPHABET:Hc,generateString:jm,isSpecCompliantForm:Um,toJSONObject:e=>{const t=new Array(10),n=(o,s)=>{if(ia(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[s]=o;const i=Uo(o)?[]:{};return Cs(o,(r,a)=>{const u=n(r,s+1);!xs(u)&&(i[a]=u)}),t[s]=void 0,i}}return o};return n(e,0)}};function He(e,t,n,o,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),o&&(this.request=o),s&&(this.response=s)}V.inherits(He,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:V.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const zc=He.prototype,qc={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{qc[e]={value:e}}),Object.defineProperties(He,qc),Object.defineProperty(zc,"isAxiosError",{value:!0}),He.from=(e,t,n,o,s,i)=>{const r=Object.create(zc);return V.toFlatObject(e,r,function(u){return u!==Error.prototype},a=>a!=="isAxiosError"),He.call(r,e.message,t,n,o,s),r.cause=e,r.name=e.name,i&&Object.assign(r,i),r};const Hm=null;function la(e){return V.isPlainObject(e)||V.isArray(e)}function Vc(e){return V.endsWith(e,"[]")?e.slice(0,-2):e}function Wc(e,t,n){return e?e.concat(t).map(function(s,i){return s=Vc(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function zm(e){return V.isArray(e)&&!e.some(la)}const qm=V.toFlatObject(V,{},null,function(t){return/^is[A-Z]/.test(t)});function vi(e,t,n){if(!V.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=V.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,O){return!V.isUndefined(O[A])});const o=n.metaTokens,s=n.visitor||f,i=n.dots,r=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&V.isSpecCompliantForm(t);if(!V.isFunction(s))throw new TypeError("visitor must be a function");function p(x){if(x===null)return"";if(V.isDate(x))return x.toISOString();if(!u&&V.isBlob(x))throw new He("Blob is not supported. Use a Buffer instead.");return V.isArrayBuffer(x)||V.isTypedArray(x)?u&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function f(x,A,O){let U=x;if(x&&!O&&typeof x=="object"){if(V.endsWith(A,"{}"))A=o?A:A.slice(0,-2),x=JSON.stringify(x);else if(V.isArray(x)&&zm(x)||(V.isFileList(x)||V.endsWith(A,"[]"))&&(U=V.toArray(x)))return A=Vc(A),U.forEach(function(T,W){!(V.isUndefined(T)||T===null)&&t.append(r===!0?Wc([A],W,i):r===null?A:A+"[]",p(T))}),!1}return la(x)?!0:(t.append(Wc(O,A,i),p(x)),!1)}const h=[],w=Object.assign(qm,{defaultVisitor:f,convertValue:p,isVisitable:la});function C(x,A){if(!V.isUndefined(x)){if(h.indexOf(x)!==-1)throw Error("Circular reference detected in "+A.join("."));h.push(x),V.forEach(x,function(U,M){(!(V.isUndefined(U)||U===null)&&s.call(t,U,V.isString(M)?M.trim():M,A,w))===!0&&C(U,A?A.concat(M):[M])}),h.pop()}}if(!V.isObject(e))throw new TypeError("data must be an object");return C(e),t}function Kc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function ca(e,t){this._pairs=[],e&&vi(e,this,t)}const Gc=ca.prototype;Gc.append=function(t,n){this._pairs.push([t,n])},Gc.toString=function(t){const n=t?function(o){return t.call(this,o,Kc)}:Kc;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Vm(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Jc(e,t,n){if(!t)return e;const o=n&&n.encode||Vm,s=n&&n.serialize;let i;if(s?i=s(t,n):i=V.isURLSearchParams(t)?t.toString():new ca(t,n).toString(o),i){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Wm{constructor(){this.handlers=[]}use(t,n,o){return this.handlers.push({fulfilled:t,rejected:n,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){V.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Yc=Wm,Xc={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Km=typeof URLSearchParams<"u"?URLSearchParams:ca,Gm=typeof FormData<"u"?FormData:null,Jm=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Ym=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),en={isBrowser:!0,classes:{URLSearchParams:Km,FormData:Gm,Blob},isStandardBrowserEnv:Jm,isStandardBrowserWebWorkerEnv:Ym,protocols:["http","https","file","blob","url","data"]};function Xm(e,t){return vi(e,new en.classes.URLSearchParams,Object.assign({visitor:function(n,o,s,i){return en.isNode&&V.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function Qm(e){return V.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zm(e){const t={},n=Object.keys(e);let o;const s=n.length;let i;for(o=0;o=n.length;return r=!r&&V.isArray(s)?s.length:r,u?(V.hasOwnProp(s,r)?s[r]=[s[r],o]:s[r]=o,!a):((!s[r]||!V.isObject(s[r]))&&(s[r]=[]),t(n,o,s[r],i)&&V.isArray(s[r])&&(s[r]=Zm(s[r])),!a)}if(V.isFormData(e)&&V.isFunction(e.entries)){const n={};return V.forEachEntry(e,(o,s)=>{t(Qm(o),s,n,0)}),n}return null}const eg={"Content-Type":void 0};function tg(e,t,n){if(V.isString(e))try{return(t||JSON.parse)(e),V.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const _i={transitional:Xc,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",s=o.indexOf("application/json")>-1,i=V.isObject(t);if(i&&V.isHTMLForm(t)&&(t=new FormData(t)),V.isFormData(t))return s&&s?JSON.stringify(Qc(t)):t;if(V.isArrayBuffer(t)||V.isBuffer(t)||V.isStream(t)||V.isFile(t)||V.isBlob(t))return t;if(V.isArrayBufferView(t))return t.buffer;if(V.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return Xm(t,this.formSerializer).toString();if((a=V.isFileList(t))||o.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return vi(a?{"files[]":t}:t,u&&new u,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),tg(t)):t}],transformResponse:[function(t){const n=this.transitional||_i.transitional,o=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&V.isString(t)&&(o&&!this.responseType||s)){const r=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(r)throw a.name==="SyntaxError"?He.from(a,He.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:en.classes.FormData,Blob:en.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};V.forEach(["delete","get","head"],function(t){_i.headers[t]={}}),V.forEach(["post","put","patch"],function(t){_i.headers[t]=V.merge(eg)});const ua=_i,ng=V.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),og=e=>{const t={};let n,o,s;return e&&e.split(` `).forEach(function(r){s=r.indexOf(":"),n=r.substring(0,s).trim().toLowerCase(),o=r.substring(s+1).trim(),!(!n||t[n]&&ng[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Zc=Symbol("internals");function $s(e){return e&&String(e).trim().toLowerCase()}function xi(e){return e===!1||e==null?e:V.isArray(e)?e.map(xi):String(e)}function sg(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=n.exec(e);)t[o[1]]=o[2];return t}function ig(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function da(e,t,n,o,s){if(V.isFunction(o))return o.call(this,t,n);if(s&&(t=n),!!V.isString(t)){if(V.isString(o))return t.indexOf(o)!==-1;if(V.isRegExp(o))return o.test(t)}}function rg(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function ag(e,t){const n=V.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(s,i,r){return this[o].call(this,t,s,i,r)},configurable:!0})})}class Ci{constructor(t){t&&this.set(t)}set(t,n,o){const s=this;function i(a,u,p){const f=$s(u);if(!f)throw new Error("header name must be a non-empty string");const h=V.findKey(s,f);(!h||s[h]===void 0||p===!0||p===void 0&&s[h]!==!1)&&(s[h||u]=xi(a))}const r=(a,u)=>V.forEach(a,(p,f)=>i(p,f,u));return V.isPlainObject(t)||t instanceof this.constructor?r(t,n):V.isString(t)&&(t=t.trim())&&!ig(t)?r(og(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=$s(t),t){const o=V.findKey(this,t);if(o){const s=this[o];if(!n)return s;if(n===!0)return sg(s);if(V.isFunction(n))return n.call(this,s,o);if(V.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=$s(t),t){const o=V.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||da(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let s=!1;function i(r){if(r=$s(r),r){const a=V.findKey(o,r);a&&(!n||da(o,o[a],a,n))&&(delete o[a],s=!0)}}return V.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let o=n.length,s=!1;for(;o--;){const i=n[o];(!t||da(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,o={};return V.forEach(this,(s,i)=>{const r=V.findKey(o,i);if(r){n[r]=xi(s),delete n[i];return}const a=t?rg(i):String(i).trim();a!==i&&delete n[i],n[a]=xi(s),o[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return V.forEach(this,(o,s)=>{o!=null&&o!==!1&&(n[s]=t&&V.isArray(o)?o.join(", "):o)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const o=new this(t);return n.forEach(s=>o.set(s)),o}static accessor(t){const o=(this[Zc]=this[Zc]={accessors:{}}).accessors,s=this.prototype;function i(r){const a=$s(r);o[a]||(ag(s,r),o[a]=!0)}return V.isArray(t)?t.forEach(i):i(t),this}}Ci.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),V.freezeMethods(Ci.prototype),V.freezeMethods(Ci);const pn=Ci;function fa(e,t){const n=this||ua,o=t||n,s=pn.from(o.headers);let i=o.data;return V.forEach(e,function(a){i=a.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function eu(e){return!!(e&&e.__CANCEL__)}function ks(e,t,n){He.call(this,e==null?"canceled":e,He.ERR_CANCELED,t,n),this.name="CanceledError"}V.inherits(ks,He,{__CANCEL__:!0});function lg(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new He("Request failed with status code "+n.status,[He.ERR_BAD_REQUEST,He.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const cg=en.isStandardBrowserEnv?function(){return{write:function(n,o,s,i,r,a){const u=[];u.push(n+"="+encodeURIComponent(o)),V.isNumber(s)&&u.push("expires="+new Date(s).toGMTString()),V.isString(i)&&u.push("path="+i),V.isString(r)&&u.push("domain="+r),a===!0&&u.push("secure"),document.cookie=u.join("; ")},read:function(n){const o=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return o?decodeURIComponent(o[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function ug(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function dg(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function tu(e,t){return e&&!ug(t)?dg(e,t):t}const fg=en.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function s(i){let r=i;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return o=s(window.location.href),function(r){const a=V.isString(r)?s(r):r;return a.protocol===o.protocol&&a.host===o.host}}():function(){return function(){return!0}}();function pg(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hg(e,t){e=e||10;const n=new Array(e),o=new Array(e);let s=0,i=0,r;return t=t!==void 0?t:1e3,function(u){const p=Date.now(),f=o[i];r||(r=p),n[s]=u,o[s]=p;let h=i,w=0;for(;h!==s;)w+=n[h++],h=h%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),p-r{const i=s.loaded,r=s.lengthComputable?s.total:void 0,a=i-n,u=o(a),p=i<=r;n=i;const f={loaded:i,total:r,progress:r?i/r:void 0,bytes:a,rate:u||void 0,estimated:u&&r&&p?(r-i)/u:void 0,event:s};f[t?"download":"upload"]=!0,e(f)}}const $i={http:Hm,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,o){let s=e.data;const i=pn.from(e.headers).normalize(),r=e.responseType;let a;function u(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}V.isFormData(s)&&(en.isStandardBrowserEnv||en.isStandardBrowserWebWorkerEnv)&&i.setContentType(!1);let p=new XMLHttpRequest;if(e.auth){const C=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(C+":"+x))}const f=tu(e.baseURL,e.url);p.open(e.method.toUpperCase(),Jc(f,e.params,e.paramsSerializer),!0),p.timeout=e.timeout;function h(){if(!p)return;const C=pn.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),A={data:!r||r==="text"||r==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:C,config:e,request:p};lg(function(U){n(U),u()},function(U){o(U),u()},A),p=null}if("onloadend"in p?p.onloadend=h:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(h)},p.onabort=function(){!p||(o(new He("Request aborted",He.ECONNABORTED,e,p)),p=null)},p.onerror=function(){o(new He("Network Error",He.ERR_NETWORK,e,p)),p=null},p.ontimeout=function(){let x=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const A=e.transitional||Xc;e.timeoutErrorMessage&&(x=e.timeoutErrorMessage),o(new He(x,A.clarifyTimeoutError?He.ETIMEDOUT:He.ECONNABORTED,e,p)),p=null},en.isStandardBrowserEnv){const C=(e.withCredentials||fg(f))&&e.xsrfCookieName&&cg.read(e.xsrfCookieName);C&&i.set(e.xsrfHeaderName,C)}s===void 0&&i.setContentType(null),"setRequestHeader"in p&&V.forEach(i.toJSON(),function(x,A){p.setRequestHeader(A,x)}),V.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),r&&r!=="json"&&(p.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&p.addEventListener("progress",nu(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",nu(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=C=>{!p||(o(!C||C.type?new ks(null,e,p):C),p.abort(),p=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const w=pg(f);if(w&&en.protocols.indexOf(w)===-1){o(new He("Unsupported protocol "+w+":",He.ERR_BAD_REQUEST,e));return}p.send(s||null)})}};V.forEach($i,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const mg={getAdapter:e=>{e=V.isArray(e)?e:[e];const{length:t}=e;let n,o;for(let s=0;se instanceof pn?e.toJSON():e;function Ho(e,t){t=t||{};const n={};function o(p,f,h){return V.isPlainObject(p)&&V.isPlainObject(f)?V.merge.call({caseless:h},p,f):V.isPlainObject(f)?V.merge({},f):V.isArray(f)?f.slice():f}function s(p,f,h){if(V.isUndefined(f)){if(!V.isUndefined(p))return o(void 0,p,h)}else return o(p,f,h)}function i(p,f){if(!V.isUndefined(f))return o(void 0,f)}function r(p,f){if(V.isUndefined(f)){if(!V.isUndefined(p))return o(void 0,p)}else return o(void 0,f)}function a(p,f,h){if(h in t)return o(p,f);if(h in e)return o(void 0,p)}const u={url:i,method:i,data:i,baseURL:r,transformRequest:r,transformResponse:r,paramsSerializer:r,timeout:r,timeoutMessage:r,withCredentials:r,adapter:r,responseType:r,xsrfCookieName:r,xsrfHeaderName:r,onUploadProgress:r,onDownloadProgress:r,decompress:r,maxContentLength:r,maxBodyLength:r,beforeRedirect:r,transport:r,httpAgent:r,httpsAgent:r,cancelToken:r,socketPath:r,responseEncoding:r,validateStatus:a,headers:(p,f)=>s(su(p),su(f),!0)};return V.forEach(Object.keys(e).concat(Object.keys(t)),function(f){const h=u[f]||s,w=h(e[f],t[f],f);V.isUndefined(w)&&h!==a||(n[f]=w)}),n}const iu="1.3.3",ha={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ha[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const ru={};ha.transitional=function(t,n,o){function s(i,r){return"[Axios v"+iu+"] Transitional option '"+i+"'"+r+(o?". "+o:"")}return(i,r,a)=>{if(t===!1)throw new He(s(r," has been removed"+(n?" in "+n:"")),He.ERR_DEPRECATED);return n&&!ru[r]&&(ru[r]=!0,console.warn(s(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,r,a):!0}};function gg(e,t,n){if(typeof e!="object")throw new He("options must be an object",He.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;for(;s-- >0;){const i=o[s],r=t[i];if(r){const a=e[i],u=a===void 0||r(a,i,e);if(u!==!0)throw new He("option "+i+" must be "+u,He.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new He("Unknown option "+i,He.ERR_BAD_OPTION)}}const ma={assertOptions:gg,validators:ha},Bn=ma.validators;class ki{constructor(t){this.defaults=t,this.interceptors={request:new Yc,response:new Yc}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ho(this.defaults,n);const{transitional:o,paramsSerializer:s,headers:i}=n;o!==void 0&&ma.assertOptions(o,{silentJSONParsing:Bn.transitional(Bn.boolean),forcedJSONParsing:Bn.transitional(Bn.boolean),clarifyTimeoutError:Bn.transitional(Bn.boolean)},!1),s!==void 0&&ma.assertOptions(s,{encode:Bn.function,serialize:Bn.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r;r=i&&V.merge(i.common,i[n.method]),r&&V.forEach(["delete","get","head","post","put","patch","common"],x=>{delete i[x]}),n.headers=pn.concat(r,i);const a=[];let u=!0;this.interceptors.request.forEach(function(A){typeof A.runWhen=="function"&&A.runWhen(n)===!1||(u=u&&A.synchronous,a.unshift(A.fulfilled,A.rejected))});const p=[];this.interceptors.response.forEach(function(A){p.push(A.fulfilled,A.rejected)});let f,h=0,w;if(!u){const x=[ou.bind(this),void 0];for(x.unshift.apply(x,a),x.push.apply(x,p),w=x.length,f=Promise.resolve(n);h{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](s);o._listeners=null}),this.promise.then=s=>{let i;const r=new Promise(a=>{o.subscribe(a),i=a}).then(s);return r.cancel=function(){o.unsubscribe(i)},r},t(function(i,r,a){o.reason||(o.reason=new ks(i,r,a),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ga(function(s){t=s}),cancel:t}}}const wg=ga;function yg(e){return function(n){return e.apply(null,n)}}function bg(e){return V.isObject(e)&&e.isAxiosError===!0}const wa={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(wa).forEach(([e,t])=>{wa[t]=e});const vg=wa;function au(e){const t=new Si(e),n=Tc(Si.prototype.request,t);return V.extend(n,Si.prototype,t,{allOwnKeys:!0}),V.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return au(Ho(e,s))},n}const rt=au(ua);rt.Axios=Si,rt.CanceledError=ks,rt.CancelToken=wg,rt.isCancel=eu,rt.VERSION=iu,rt.toFormData=vi,rt.AxiosError=He,rt.Cancel=rt.CanceledError,rt.all=function(t){return Promise.all(t)},rt.spread=yg,rt.isAxiosError=bg,rt.mergeConfig=Ho,rt.AxiosHeaders=pn,rt.formToJSON=e=>Qc(V.isHTMLForm(e)?new FormData(e):e),rt.HttpStatusCode=vg,rt.default=rt;const Et=rt,{Axios:oO,AxiosError:sO,CanceledError:iO,isCancel:rO,CancelToken:aO,VERSION:lO,all:cO,Cancel:uO,isAxiosError:dO,spread:fO,toFormData:_g,AxiosHeaders:pO,HttpStatusCode:hO,formToJSON:mO,mergeConfig:gO}=Et;class lu extends Error{}class ya extends lu{constructor(){super(...arguments);Ie(this,"message","搜索失败!")}}class cu extends ya{constructor(){super(...arguments);Ie(this,"message","搜索请求响应内容为空!")}}class uu extends lu{constructor(){super(...arguments);Ie(this,"message","目录不存在!")}toString(){return this.message}}class at{constructor(){this._dataLength=0,this._bufferLength=0,this._state=new Int32Array(4),this._buffer=new ArrayBuffer(68),this._buffer8=new Uint8Array(this._buffer,0,68),this._buffer32=new Uint32Array(this._buffer,0,17),this.start()}static hashStr(t,n=!1){return this.onePassHasher.start().appendStr(t).end(n)}static hashAsciiStr(t,n=!1){return this.onePassHasher.start().appendAsciiStr(t).end(n)}static _hex(t){const n=at.hexChars,o=at.hexOut;let s,i,r,a;for(a=0;a<4;a+=1)for(i=a*8,s=t[a],r=0;r<8;r+=2)o[i+1+r]=n.charAt(s&15),s>>>=4,o[i+0+r]=n.charAt(s&15),s>>>=4;return o.join("")}static _md5cycle(t,n){let o=t[0],s=t[1],i=t[2],r=t[3];o+=(s&i|~s&r)+n[0]-680876936|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[1]-389564586|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[2]+606105819|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[3]-1044525330|0,s=(s<<22|s>>>10)+i|0,o+=(s&i|~s&r)+n[4]-176418897|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[5]+1200080426|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[6]-1473231341|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[7]-45705983|0,s=(s<<22|s>>>10)+i|0,o+=(s&i|~s&r)+n[8]+1770035416|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[9]-1958414417|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[10]-42063|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[11]-1990404162|0,s=(s<<22|s>>>10)+i|0,o+=(s&i|~s&r)+n[12]+1804603682|0,o=(o<<7|o>>>25)+s|0,r+=(o&s|~o&i)+n[13]-40341101|0,r=(r<<12|r>>>20)+o|0,i+=(r&o|~r&s)+n[14]-1502002290|0,i=(i<<17|i>>>15)+r|0,s+=(i&r|~i&o)+n[15]+1236535329|0,s=(s<<22|s>>>10)+i|0,o+=(s&r|i&~r)+n[1]-165796510|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[6]-1069501632|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[11]+643717713|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[0]-373897302|0,s=(s<<20|s>>>12)+i|0,o+=(s&r|i&~r)+n[5]-701558691|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[10]+38016083|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[15]-660478335|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[4]-405537848|0,s=(s<<20|s>>>12)+i|0,o+=(s&r|i&~r)+n[9]+568446438|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[14]-1019803690|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[3]-187363961|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[8]+1163531501|0,s=(s<<20|s>>>12)+i|0,o+=(s&r|i&~r)+n[13]-1444681467|0,o=(o<<5|o>>>27)+s|0,r+=(o&i|s&~i)+n[2]-51403784|0,r=(r<<9|r>>>23)+o|0,i+=(r&s|o&~s)+n[7]+1735328473|0,i=(i<<14|i>>>18)+r|0,s+=(i&o|r&~o)+n[12]-1926607734|0,s=(s<<20|s>>>12)+i|0,o+=(s^i^r)+n[5]-378558|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[8]-2022574463|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[11]+1839030562|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[14]-35309556|0,s=(s<<23|s>>>9)+i|0,o+=(s^i^r)+n[1]-1530992060|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[4]+1272893353|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[7]-155497632|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[10]-1094730640|0,s=(s<<23|s>>>9)+i|0,o+=(s^i^r)+n[13]+681279174|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[0]-358537222|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[3]-722521979|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[6]+76029189|0,s=(s<<23|s>>>9)+i|0,o+=(s^i^r)+n[9]-640364487|0,o=(o<<4|o>>>28)+s|0,r+=(o^s^i)+n[12]-421815835|0,r=(r<<11|r>>>21)+o|0,i+=(r^o^s)+n[15]+530742520|0,i=(i<<16|i>>>16)+r|0,s+=(i^r^o)+n[2]-995338651|0,s=(s<<23|s>>>9)+i|0,o+=(i^(s|~r))+n[0]-198630844|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[7]+1126891415|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[14]-1416354905|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[5]-57434055|0,s=(s<<21|s>>>11)+i|0,o+=(i^(s|~r))+n[12]+1700485571|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[3]-1894986606|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[10]-1051523|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[1]-2054922799|0,s=(s<<21|s>>>11)+i|0,o+=(i^(s|~r))+n[8]+1873313359|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[15]-30611744|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[6]-1560198380|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[13]+1309151649|0,s=(s<<21|s>>>11)+i|0,o+=(i^(s|~r))+n[4]-145523070|0,o=(o<<6|o>>>26)+s|0,r+=(s^(o|~i))+n[11]-1120210379|0,r=(r<<10|r>>>22)+o|0,i+=(o^(r|~s))+n[2]+718787259|0,i=(i<<15|i>>>17)+r|0,s+=(r^(i|~o))+n[9]-343485551|0,s=(s<<21|s>>>11)+i|0,t[0]=o+t[0]|0,t[1]=s+t[1]|0,t[2]=i+t[2]|0,t[3]=r+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(at.stateIdentity),this}appendStr(t){const n=this._buffer8,o=this._buffer32;let s=this._bufferLength,i,r;for(r=0;r>>6)+192,n[s++]=i&63|128;else if(i<55296||i>56319)n[s++]=(i>>>12)+224,n[s++]=i>>>6&63|128,n[s++]=i&63|128;else{if(i=(i-55296)*1024+(t.charCodeAt(++r)-56320)+65536,i>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[s++]=(i>>>18)+240,n[s++]=i>>>12&63|128,n[s++]=i>>>6&63|128,n[s++]=i&63|128}s>=64&&(this._dataLength+=64,at._md5cycle(this._state,o),s-=64,o[0]=o[16])}return this._bufferLength=s,this}appendAsciiStr(t){const n=this._buffer8,o=this._buffer32;let s=this._bufferLength,i,r=0;for(;;){for(i=Math.min(t.length-r,64-s);i--;)n[s++]=t.charCodeAt(r++);if(s<64)break;this._dataLength+=64,at._md5cycle(this._state,o),s=0}return this._bufferLength=s,this}appendByteArray(t){const n=this._buffer8,o=this._buffer32;let s=this._bufferLength,i,r=0;for(;;){for(i=Math.min(t.length-r,64-s);i--;)n[s++]=t[r++];if(s<64)break;this._dataLength+=64,at._md5cycle(this._state,o),s=0}return this._bufferLength=s,this}getState(){const t=this._state;return{buffer:String.fromCharCode.apply(null,Array.from(this._buffer8)),buflen:this._bufferLength,length:this._dataLength,state:[t[0],t[1],t[2],t[3]]}}setState(t){const n=t.buffer,o=t.state,s=this._state;let i;for(this._dataLength=t.length,this._bufferLength=t.buflen,s[0]=o[0],s[1]=o[1],s[2]=o[2],s[3]=o[3],i=0;i>2)+1;this._dataLength+=n;const r=this._dataLength*8;if(o[n]=128,o[n+1]=o[n+2]=o[n+3]=0,s.set(at.buffer32Identity.subarray(i),i),n>55&&(at._md5cycle(this._state,s),s.set(at.buffer32Identity)),r<=4294967295)s[14]=r;else{const a=r.toString(16).match(/(.*?)(.{0,8})$/);if(a===null)return;const u=parseInt(a[2],16),p=parseInt(a[1],16)||0;s[14]=u,s[15]=p}return at._md5cycle(this._state,s),t?this._state:at._hex(this._state)}}if(at.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),at.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),at.hexChars="0123456789abcdef",at.hexOut=[],at.onePassHasher=new at,at.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var xg={exports:{}};(function(e){var t=function(n){var o=1e7,s=7,i=9007199254740992,r=x(i),a="0123456789abcdefghijklmnopqrstuvwxyz",u=typeof BigInt=="function";function p(m,y,_,k){return typeof m>"u"?p[0]:typeof y<"u"?+y==10&&!_?j(m):z(m,y,_,k):j(m)}function f(m,y){this.value=m,this.sign=y,this.isSmall=!1}f.prototype=Object.create(p.prototype);function h(m){this.value=m,this.sign=m<0,this.isSmall=!0}h.prototype=Object.create(p.prototype);function w(m){this.value=m}w.prototype=Object.create(p.prototype);function C(m){return-i0?Math.floor(m):Math.ceil(m)}function T(m,y){var _=m.length,k=y.length,P=new Array(_),S=0,H=o,q,Z;for(Z=0;Z=H?1:0,P[Z]=q-S*H;for(;Z<_;)q=m[Z]+S,S=q===H?1:0,P[Z++]=q-S*H;return S>0&&P.push(S),P}function W(m,y){return m.length>=y.length?T(m,y):T(y,m)}function oe(m,y){var _=m.length,k=new Array(_),P=o,S,H;for(H=0;H<_;H++)S=m[H]-P+y,y=Math.floor(S/P),k[H]=S-y*P,y+=1;for(;y>0;)k[H++]=y%P,y=Math.floor(y/P);return k}f.prototype.add=function(m){var y=j(m);if(this.sign!==y.sign)return this.subtract(y.negate());var _=this.value,k=y.value;return y.isSmall?new f(oe(_,Math.abs(k)),this.sign):new f(W(_,k),this.sign)},f.prototype.plus=f.prototype.add,h.prototype.add=function(m){var y=j(m),_=this.value;if(_<0!==y.sign)return this.subtract(y.negate());var k=y.value;if(y.isSmall){if(C(_+k))return new h(_+k);k=x(Math.abs(k))}return new f(oe(k,Math.abs(_)),_<0)},h.prototype.plus=h.prototype.add,w.prototype.add=function(m){return new w(this.value+j(m).value)},w.prototype.plus=w.prototype.add;function F(m,y){var _=m.length,k=y.length,P=new Array(_),S=0,H=o,q,Z;for(q=0;q=0?k=F(m,y):(k=F(y,m),_=!_),k=A(k),typeof k=="number"?(_&&(k=-k),new h(k)):new f(k,_)}function ae(m,y,_){var k=m.length,P=new Array(k),S=-y,H=o,q,Z;for(q=0;q=0)},h.prototype.minus=h.prototype.subtract,w.prototype.subtract=function(m){return new w(this.value-j(m).value)},w.prototype.minus=w.prototype.subtract,f.prototype.negate=function(){return new f(this.value,!this.sign)},h.prototype.negate=function(){var m=this.sign,y=new h(-this.value);return y.sign=!m,y},w.prototype.negate=function(){return new w(-this.value)},f.prototype.abs=function(){return new f(this.value,!1)},h.prototype.abs=function(){return new h(Math.abs(this.value))},w.prototype.abs=function(){return new w(this.value>=0?this.value:-this.value)};function ue(m,y){var _=m.length,k=y.length,P=_+k,S=U(P),H=o,q,Z,Ae,ke,be;for(Ae=0;Ae<_;++Ae){ke=m[Ae];for(var je=0;je0;)k[q++]=S%P,S=Math.floor(S/P);return k}function he(m,y){for(var _=[];y-- >0;)_.push(0);return _.concat(m)}function I(m,y){var _=Math.max(m.length,y.length);if(_<=30)return ue(m,y);_=Math.ceil(_/2);var k=m.slice(_),P=m.slice(0,_),S=y.slice(_),H=y.slice(0,_),q=I(P,H),Z=I(k,S),Ae=I(W(P,k),W(H,S)),ke=W(W(q,he(F(F(Ae,q),Z),_)),he(Z,2*_));return O(ke),ke}function se(m,y){return-.012*m-.012*y+15e-6*m*y>0}f.prototype.multiply=function(m){var y=j(m),_=this.value,k=y.value,P=this.sign!==y.sign,S;if(y.isSmall){if(k===0)return p[0];if(k===1)return this;if(k===-1)return this.negate();if(S=Math.abs(k),S=0;be--){for(ke=P-1,Z[be+k]!==H&&(ke=Math.floor((Z[be+k]*P+Z[be+k-1])/H)),je=0,Ct=0,ai=Ae.length,gt=0;gtk&&(Ae=(Ae+1)*H),q=Math.ceil(Ae/ke);do{if(be=Ee(y,q),$e(be,S)<=0)break;q--}while(q);P.push(q),S=F(S,be)}return P.reverse(),[A(P),A(S)]}function D(m,y){var _=m.length,k=U(_),P=o,S,H,q,Z;for(q=0,S=_-1;S>=0;--S)Z=q*P+m[S],H=M(Z/y),q=Z-H*y,k[S]=H|0;return[k,q|0]}function pe(m,y){var _,k=j(y);if(u)return[new w(m.value/k.value),new w(m.value%k.value)];var P=m.value,S=k.value,H;if(S===0)throw new Error("Cannot divide by zero");if(m.isSmall)return k.isSmall?[new h(M(P/S)),new h(P%S)]:[p[0],m];if(k.isSmall){if(S===1)return[m,p[0]];if(S==-1)return[m.negate(),p[0]];var q=Math.abs(S);if(qy.length?1:-1;for(var _=m.length-1;_>=0;_--)if(m[_]!==y[_])return m[_]>y[_]?1:-1;return 0}f.prototype.compareAbs=function(m){var y=j(m),_=this.value,k=y.value;return y.isSmall?1:$e(_,k)},h.prototype.compareAbs=function(m){var y=j(m),_=Math.abs(this.value),k=y.value;return y.isSmall?(k=Math.abs(k),_===k?0:_>k?1:-1):-1},w.prototype.compareAbs=function(m){var y=this.value,_=j(m).value;return y=y>=0?y:-y,_=_>=0?_:-_,y===_?0:y>_?1:-1},f.prototype.compare=function(m){if(m===1/0)return-1;if(m===-1/0)return 1;var y=j(m),_=this.value,k=y.value;return this.sign!==y.sign?y.sign?1:-1:y.isSmall?this.sign?-1:1:$e(_,k)*(this.sign?-1:1)},f.prototype.compareTo=f.prototype.compare,h.prototype.compare=function(m){if(m===1/0)return-1;if(m===-1/0)return 1;var y=j(m),_=this.value,k=y.value;return y.isSmall?_==k?0:_>k?1:-1:_<0!==y.sign?_<0?-1:1:_<0?1:-1},h.prototype.compareTo=h.prototype.compare,w.prototype.compare=function(m){if(m===1/0)return-1;if(m===-1/0)return 1;var y=this.value,_=j(m).value;return y===_?0:y>_?1:-1},w.prototype.compareTo=w.prototype.compare,f.prototype.equals=function(m){return this.compare(m)===0},w.prototype.eq=w.prototype.equals=h.prototype.eq=h.prototype.equals=f.prototype.eq=f.prototype.equals,f.prototype.notEquals=function(m){return this.compare(m)!==0},w.prototype.neq=w.prototype.notEquals=h.prototype.neq=h.prototype.notEquals=f.prototype.neq=f.prototype.notEquals,f.prototype.greater=function(m){return this.compare(m)>0},w.prototype.gt=w.prototype.greater=h.prototype.gt=h.prototype.greater=f.prototype.gt=f.prototype.greater,f.prototype.lesser=function(m){return this.compare(m)<0},w.prototype.lt=w.prototype.lesser=h.prototype.lt=h.prototype.lesser=f.prototype.lt=f.prototype.lesser,f.prototype.greaterOrEquals=function(m){return this.compare(m)>=0},w.prototype.geq=w.prototype.greaterOrEquals=h.prototype.geq=h.prototype.greaterOrEquals=f.prototype.geq=f.prototype.greaterOrEquals,f.prototype.lesserOrEquals=function(m){return this.compare(m)<=0},w.prototype.leq=w.prototype.lesserOrEquals=h.prototype.leq=h.prototype.lesserOrEquals=f.prototype.leq=f.prototype.lesserOrEquals,f.prototype.isEven=function(){return(this.value[0]&1)===0},h.prototype.isEven=function(){return(this.value&1)===0},w.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},f.prototype.isOdd=function(){return(this.value[0]&1)===1},h.prototype.isOdd=function(){return(this.value&1)===1},w.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},f.prototype.isPositive=function(){return!this.sign},h.prototype.isPositive=function(){return this.value>0},w.prototype.isPositive=h.prototype.isPositive,f.prototype.isNegative=function(){return this.sign},h.prototype.isNegative=function(){return this.value<0},w.prototype.isNegative=h.prototype.isNegative,f.prototype.isUnit=function(){return!1},h.prototype.isUnit=function(){return Math.abs(this.value)===1},w.prototype.isUnit=function(){return this.abs().value===BigInt(1)},f.prototype.isZero=function(){return!1},h.prototype.isZero=function(){return this.value===0},w.prototype.isZero=function(){return this.value===BigInt(0)},f.prototype.isDivisibleBy=function(m){var y=j(m);return y.isZero()?!1:y.isUnit()?!0:y.compareAbs(2)===0?this.isEven():this.mod(y).isZero()},w.prototype.isDivisibleBy=h.prototype.isDivisibleBy=f.prototype.isDivisibleBy;function Me(m){var y=m.abs();if(y.isUnit())return!1;if(y.equals(2)||y.equals(3)||y.equals(5))return!0;if(y.isEven()||y.isDivisibleBy(3)||y.isDivisibleBy(5))return!1;if(y.lesser(49))return!0}function Fe(m,y){for(var _=m.prev(),k=_,P=0,S,H,q;k.isEven();)k=k.divide(2),P++;e:for(H=0;H-i?new h(m-1):new f(r,!0)},w.prototype.prev=function(){return new w(this.value-BigInt(1))};for(var Qe=[1];2*Qe[Qe.length-1]<=o;)Qe.push(2*Qe[Qe.length-1]);var Lt=Qe.length,Bt=Qe[Lt-1];function Pn(m){return Math.abs(m)<=o}f.prototype.shiftLeft=function(m){var y=j(m).toJSNumber();if(!Pn(y))throw new Error(String(y)+" is too large for shifting.");if(y<0)return this.shiftRight(-y);var _=this;if(_.isZero())return _;for(;y>=Lt;)_=_.multiply(Bt),y-=Lt-1;return _.multiply(Qe[y])},w.prototype.shiftLeft=h.prototype.shiftLeft=f.prototype.shiftLeft,f.prototype.shiftRight=function(m){var y,_=j(m).toJSNumber();if(!Pn(_))throw new Error(String(_)+" is too large for shifting.");if(_<0)return this.shiftLeft(-_);for(var k=this;_>=Lt;){if(k.isZero()||k.isNegative()&&k.isUnit())return k;y=pe(k,Bt),k=y[1].isNegative()?y[0].prev():y[0],_-=Lt-1}return y=pe(k,Qe[_]),y[1].isNegative()?y[0].prev():y[0]},w.prototype.shiftRight=h.prototype.shiftRight=f.prototype.shiftRight;function _t(m,y,_){y=j(y);for(var k=m.isNegative(),P=y.isNegative(),S=k?m.not():m,H=P?y.not():y,q=0,Z=0,Ae=null,ke=null,be=[];!S.isZero()||!H.isZero();)Ae=pe(S,Bt),q=Ae[1].toJSNumber(),k&&(q=Bt-1-q),ke=pe(H,Bt),Z=ke[1].toJSNumber(),P&&(Z=Bt-1-Z),S=Ae[0],H=ke[0],be.push(_(q,Z));for(var je=_(k?1:0,P?1:0)!==0?t(-1):t(0),Ct=be.length-1;Ct>=0;Ct-=1)je=je.multiply(Bt).add(t(be[Ct]));return je}f.prototype.not=function(){return this.negate().prev()},w.prototype.not=h.prototype.not=f.prototype.not,f.prototype.and=function(m){return _t(this,m,function(y,_){return y&_})},w.prototype.and=h.prototype.and=f.prototype.and,f.prototype.or=function(m){return _t(this,m,function(y,_){return y|_})},w.prototype.or=h.prototype.or=f.prototype.or,f.prototype.xor=function(m){return _t(this,m,function(y,_){return y^_})},w.prototype.xor=h.prototype.xor=f.prototype.xor;var xt=1<<30,dt=(o&-o)*(o&-o)|xt;function tt(m){var y=m.value,_=typeof y=="number"?y|xt:typeof y=="bigint"?y|BigInt(xt):y[0]+y[1]*o|dt;return _&-_}function no(m,y){if(y.compareTo(m)<=0){var _=no(m,y.square(y)),k=_.p,P=_.e,S=k.multiply(y);return S.compareTo(m)<=0?{p:S,e:P*2+1}:{p:k,e:P*2}}return{p:t(1),e:0}}f.prototype.bitLength=function(){var m=this;return m.compareTo(t(0))<0&&(m=m.negate().subtract(t(1))),m.compareTo(t(0))===0?t(0):t(no(m,t(2)).e).add(t(1))},w.prototype.bitLength=h.prototype.bitLength=f.prototype.bitLength;function ut(m,y){return m=j(m),y=j(y),m.greater(y)?m:y}function b(m,y){return m=j(m),y=j(y),m.lesser(y)?m:y}function E(m,y){if(m=j(m).abs(),y=j(y).abs(),m.equals(y))return m;if(m.isZero())return y;if(y.isZero())return m;for(var _=p[1],k,P;m.isEven()&&y.isEven();)k=b(tt(m),tt(y)),m=m.divide(k),y=y.divide(k),_=_.multiply(k);for(;m.isEven();)m=m.divide(tt(m));do{for(;y.isEven();)y=y.divide(tt(y));m.greater(y)&&(P=y,y=m,m=P),y=y.subtract(m)}while(!y.isZero());return _.isUnit()?m:m.multiply(_)}function N(m,y){return m=j(m).abs(),y=j(y).abs(),m.divide(E(m,y)).multiply(y)}function B(m,y,_){m=j(m),y=j(y);var k=_||Math.random,P=b(m,y),S=ut(m,y),H=S.subtract(P).add(1);if(H.isSmall)return P.add(Math.floor(k()*H));for(var q=G(H,o).value,Z=[],Ae=!0,ke=0;ke=H){if(Z==="1"&&H===1)continue;throw new Error(Z+" is not a valid digit in base "+y+".")}}y=j(y);var Ae=[],ke=m[0]==="-";for(S=ke?1:0;S"&&S=0;S--)k=k.add(m[S].times(P)),P=P.times(y);return _?k.negate():k}function le(m,y){return y=y||a,m"}function G(m,y){if(y=t(y),y.isZero()){if(m.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(y.equals(-1)){if(m.isZero())return{value:[0],isNegative:!1};if(m.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-m.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var _=Array.apply(null,Array(m.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return _.unshift([1]),{value:[].concat.apply([],_),isNegative:!1}}var k=!1;if(m.isNegative()&&y.isPositive()&&(k=!0,m=m.abs()),y.isUnit())return m.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(m.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:k};for(var P=[],S=m,H;S.isNegative()||S.compareAbs(y)>=0;){H=S.divmod(y),S=H.quotient;var q=H.remainder;q.isNegative()&&(q=y.minus(q).abs(),S=S.next()),P.push(q.toJSNumber())}return P.push(S.toJSNumber()),{value:P.reverse(),isNegative:k}}function Q(m,y,_){var k=G(m,y);return(k.isNegative?"-":"")+k.value.map(function(P){return le(P,_)}).join("")}f.prototype.toArray=function(m){return G(this,m)},h.prototype.toArray=function(m){return G(this,m)},w.prototype.toArray=function(m){return G(this,m)},f.prototype.toString=function(m,y){if(m===n&&(m=10),m!==10)return Q(this,m,y);for(var _=this.value,k=_.length,P=String(_[--k]),S="0000000",H;--k>=0;)H=String(_[k]),P+=S.slice(H.length)+H;var q=this.sign?"-":"";return q+P},h.prototype.toString=function(m,y){return m===n&&(m=10),m!=10?Q(this,m,y):String(this.value)},w.prototype.toString=h.prototype.toString,w.prototype.toJSON=f.prototype.toJSON=h.prototype.toJSON=function(){return this.toString()},f.prototype.valueOf=function(){return parseInt(this.toString(),10)},f.prototype.toJSNumber=f.prototype.valueOf,h.prototype.valueOf=function(){return this.value},h.prototype.toJSNumber=h.prototype.valueOf,w.prototype.valueOf=w.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function X(m){if(C(+m)){var y=+m;if(y===M(y))return u?new w(BigInt(y)):new h(y);throw new Error("Invalid integer: "+m)}var _=m[0]==="-";_&&(m=m.slice(1));var k=m.split(/e/i);if(k.length>2)throw new Error("Invalid integer: "+k.join("e"));if(k.length===2){var P=k[1];if(P[0]==="+"&&(P=P.slice(1)),P=+P,P!==M(P)||!C(P))throw new Error("Invalid integer: "+P+" is not a valid exponent.");var S=k[0],H=S.indexOf(".");if(H>=0&&(P-=S.length-H-1,S=S.slice(0,H)+S.slice(H+1)),P<0)throw new Error("Cannot include negative exponent part for integers");S+=new Array(P+1).join("0"),m=S}var q=/^([0-9][0-9]*)$/.test(m);if(!q)throw new Error("Invalid integer: "+m);if(u)return new w(BigInt(_?"-"+m:m));for(var Z=[],Ae=m.length,ke=s,be=Ae-ke;Ae>0;)Z.push(+m.slice(be,Ae)),be-=ke,be<0&&(be=0),Ae-=ke;return O(Z),new f(Z,_)}function me(m){if(u)return new w(BigInt(m));if(C(m)){if(m!==M(m))throw new Error(m+" is not an integer.");return new h(m)}return X(m.toString())}function j(m){return typeof m=="number"?me(m):typeof m=="string"?X(m):typeof m=="bigint"?new w(m):m}for(var ge=0;ge<1e3;ge++)p[ge]=j(ge),ge>0&&(p[-ge]=j(-ge));return p.one=p[1],p.zero=p[0],p.minusOne=p[-1],p.max=ut,p.min=b,p.gcd=E,p.lcm=N,p.isInstance=function(m){return m instanceof f||m instanceof h||m instanceof w},p.randBetween=B,p.fromArray=function(m,y,_){return te(m.map(j),j(y||10),_)},p}();e.hasOwnProperty("exports")&&(e.exports=t)})(xg);async function du(e,t,n){const o=new URLSearchParams({page:e.toString(),uid:n.toString(),sign:t,time:ws().toString()});return(await Et.post("https://115.com/web/lixian/?ct=lixian&ac=task_lists",o,{withCredentials:!0,timeout:6e4})).data}async function fu(){return(await Et.get(`https://115.com/?ct=offline&ac=space&_=${Date.now()}`,{timeout:3e4,withCredentials:!0})).data}async function pu(){const t=(await Et.get("https://my.115.com/?ct=ajax&ac=nav",{timeout:3e4,withCredentials:!0})).data;if(t.state)return t.data;throw new Error(t.error)}async function hu(e){const t=Qr(e),o=(await Et.get("https://webapi.115.com/files?"+t,{timeout:12e4,withCredentials:!0})).data;if(o.state)return o;throw new Error(o.error)}async function mu(e,t=500){let n=[],o=0;for(;;){e.offset=o;const s=await hu(e);if(!s.data||!s.data.length||(n=[...n,...s.data],o+=e.limit,o>=s.count))break;await Nt(t)}return n}async function Cg(e){const t=Qr(e),n=await Et.get("https://webapi.115.com/files/search?"+t,{timeout:12e4,withCredentials:!0});if(n.data==="")throw new cu;const o=n.data;if(o.state)return o;throw new ya(o.error)}async function $g(e,t=500,n=!1){let o=[],s=0,i=e.limit;const r=1e4,a=115,u=r-r%i;let p=i;for(;;){if(n){if(s>=u&&s=r&&(p=a)}e.offset=s,e.limit=p;const f=await Cg(e);if(!f.data||!f.data.length||(o=[...o,...f.data],s+=p,s>=f.count))break;await Nt(t)}return o}async function kg(e,t){const n=new URLSearchParams({pid:e,ignore_warn:"1"});return t.forEach((s,i)=>{n.append(`fid[${i}]`,s)}),(await Et.post("https://webapi.115.com/rb/delete",n,{timeout:12e4,withCredentials:!0})).data}async function gu(e,t,n,o){let s=0,i=0;for(;;){const r=t.slice(s,s+n);if((await kg(e,r)).state&&(i+=r.length),s+=n,s>=t.length)break;await Nt(o)}return i}async function wu(e,t){const n=new URLSearchParams({pid:e,cname:t});return(await Et.post("https://webapi.115.com/files/add",n,{timeout:12e4,withCredentials:!0})).data}async function Sg(e,t){const n=new URLSearchParams({pid:e});return t.forEach((s,i)=>{n.append(`fid[${i}]`,s)}),(await Et.post("https://webapi.115.com/files/move",n,{timeout:12e4,withCredentials:!0})).data}async function Eg(e){const t=new URLSearchParams({path:e});return(await Et.get("https://webapi.115.com/files/getid?"+t.toString(),{timeout:12e4,withCredentials:!0})).data}async function zo(e){const t=new URLSearchParams({cid:e});return(await Et.get("https://webapi.115.com/category/get?"+t.toString(),{timeout:12e4,withCredentials:!0})).data}async function ba(e,t,n,o){const s={uid:o.toString(),sign:t.sign,time:ws().toString()};n&&(s.flag="1");const i=_g(s);return e.forEach((a,u)=>{i.append(`hash[${u}]`,a)}),(await Et.post("https://115.com/web/lixian/?ct=lixian&ac=task_del",i,{timeout:12e4,withCredentials:!0})).data}async function Ag(e){if(!(await zo(e)).play_long)throw new Error("该目录下没有可以播放的媒体文件![by_attr]");const o=(await mu(na({cid:e,limit:1150}))).find(s=>s.play_long&&s.play_long>0);if(!o)throw new Error("该目录下没有可以播放的媒体文件![by_files]");return Ss(o)}async function Ig(e){/^\d+$/.test(e.target)&&(e.target=`U_1_${e.target}`);const t=Qr(e);return(await Et.post("https://uplb.115.com/3.0/sampleinitupload.php",t,{timeout:12e4,withCredentials:!0})).data}async function Pg(e,t){const n=await Ig(t),o=new FormData;o.append("name",t.filename),o.append("key",n.object),o.append("policy",n.policy),o.append("OSSAccessKeyId",n.accessid),o.append("success_action_status","200"),o.append("callback",n.callback),o.append("signature",n.signature),o.append("file",e);const s=n.host.replace(/^http:/,"https:");return(await Et.post(s,o,{timeout:18e5})).data}function yu(e="",t=""){return e+Date.now().toString()+Math.random().toString(36).substring(5)+t}async function Og(e,t,n=!1){var i;const o=new Map;if(!e.length)return o;t=t||await _s();let s=new Map;n||(ce({text:"正在获取上级目录路径...",timer:0}),de.showLoading());try{s=await Gg(e),n||de.close()}catch(r){return console.error(r),n||ce({text:`获取上级目录路径失败: ${r}`,timer:1200,icon:"error"}),o}finally{n||de.hideLoading()}if(s.size===0)return o;for(let r=0;r(e.unix="/",e.windows="\\",e))(ao||{});function Ei(e,t="/"){return e.map((n,o)=>o===0?n:Ai(n,t)).join(t)}function Ai(e,t="/"){return e=e.replace(/[\\/]/g,t),t==="/"?e=e.replace(/\/+/g,t):e=e.replace(/\\+/g,t),e.length>1&&e.endsWith(t)&&(e=e.slice(0,-1)),e}function Bg(e){return e.startsWith("/")}function Dg(e){return e===""||e==="/"||e==="\\"}function bu(e,t,n="/"){if(Bg(t))return t;const o=new URL(e,"http://example.com");o.pathname=Ng(o.pathname,t);let s=decodeURIComponent(o.pathname);return Ai(s,n)}function Ng(e,t){const n=e.endsWith("/")?e:e+"/",o=t.startsWith("/")?t.slice(1):t;return n+o}async function Ft(e=!0){const t=Vo().GetCurWangPanCid();return!t&&e?(Vo().Core.MinMessage.Show({text:'不支持"根目录"!',timeout:1e3}),""):t}async function Rg(e,t){let n=$(`li.temp-el[cate_id="${e}"]`);if(!n.length){const o=`
  • `;n=$(o)}n.attr("title",t.file_name),n.find("a.name > span").text(t.file_name);for(let o in t){const s=typeof t[o];["string","number"].indexOf(s)>-1&&n.attr(o,t[o])}return n.attr("cate_id",e),n.attr("p_id",t.paths[t.paths.length-1].file_id),n}async function lo(e){const t=await qo(e);return Ss(t)}async function qo(e){const t=e.attr("file_size"),n=e.attr("iv")==="1",o=await Cu(),s=e.attr("file_id")||"",i=!!s,r={n:e.attr("title")||"",s:t?parseInt(t):0,pc:e.attr("pick_code")||"",t:e.attr("user_ptime")||"",te:"",tp:"",ico:e.attr("ico")||"",sha:e.attr("sha1")||"",iv:n};let a={n:r.n};if(!o)a={fid:s,cid:(i?e.attr("cid"):e.attr("cate_id"))||"",pid:i?"":e.attr("p_id")||"",...r};else if(a={fid:s,cid:(i?e.attr("cid"):e.attr("cate_id"))||"",...r},!i){const u=e.find(".file-directory a[cid]");if(u.length)a.pid=u.attr("cid");else throw console.warn("无法获取上级目录ID!",e),new Error("无法获取上级目录ID!")}return{...a,...r}}async function co(e){const t=await zg(e);return Fg(t)}async function Fg(e){const t=[];for(let n=0;n{Vo().Core.DataAccess.Dir.GetDetail("1",e,o=>t(o))})}async function Hg(){const e=await Ft(),t=await Ug(e),n=await Rg(e,t);return n.addClass("ce-temp-cur-dir"),n}async function Ii(){return window.top!==window?$(document):$('iframe[name="wangpan"], .wrap-view iframe:eq(0)').contents()}async function Wo(){return(await Ii()).find(".list-contents, .list-thumb")}async function vu(e){const t=await Wo();return e?t.find("li.selected:not(.ce-temp-cur-dir)"):t.find("li:not(.ce-temp-cur-dir)")}async function zg(e){const t=await vu(e),n=[];for(let o=0;o .file-path").children().each(function(){t.push($(this).text().trim().replace(/[›]$/,""))}),t}async function qg(){const e=await Ft();(await Wo()).find("li.selected").each(function(){const n=$(this);n.attr("cate_id")!==e&&(n.find('input[type="checkbox"]').prop("checked",!1),n.removeClass("selected"))})}async function uo(e=!1){const t=await Ft();if(!t)return null;const n=await Wo(),o=await Hg();return e||o.hide(),n.find(`li[cate_id="${t}"]`).length||n.append(o),o}async function _a(e,t,n){n&&await qg(),Vo().Core.FileMenu.DoEvent([e],t,null)}function xu(e){return`https://115.com/?${new URLSearchParams({cid:e}).toString()}&offset=0&mode=wangpan`}async function Cu(e=location.href){return e.includes("ac=search")}function xa(e,t=""){const n=new URLSearchParams({aid:"1",cid:e.cid||"",old_cid:e.cid||"",old_cid_name:t,search_value:e.search_value,ct:"file",ac:"search",is_wl_tpl:"1"});return"https://115.com/?url="+encodeURIComponent(`/?${n.toString()}`)+"&submode=wangpan&mode=search"}function $u(e){return`https://v.anxia.com/?${new URLSearchParams({pickcode:e,share_id:"0"}).toString()}`}async function Vg(e){unsafeWindow.Main.ReInstance({type:e.type,offset:0,o:Oc.userPtime,asc:ta.false,star:e.star,suffix:e.suffix})}async function Wg(){return(await Wo()).find("li.selected")}async function ku(){const e=await Wg();return e?await qo(e):null}function Kg(e){return e.replace(/[/\\:*?"<>|]/g,"_")}async function Ca(e){const n=(await zo(e.id)).paths.slice(1).map(i=>i.file_name).join("/"),o=Kg(e.name);return`/${n}/${o}`.replace(/^[\/]+/g,"/")}async function Gg(e,t=100){var i;const n=new Map;for(const r of e){const a=r.parentId;if(!a)throw new Error(`文件"${r.name}"没有父级目录ID!`);n.has(a)?(i=n.get(a))==null||i.push(r):n.set(a,[r])}const o=[];for(const r of n.values())o.push(r[0]);const s=new Map;for(const r of o){const a=await zo(r.id);await Nt(t),s.set(r.parentId,a.paths.map(u=>u.file_name))}return s}async function Jg(e,t=100){var i;const n=new Map;for(const r of e){const a=r.parentId;if(!a)throw new Error(`文件"${r.name}"没有父级目录ID!`);n.has(a)?(i=n.get(a))==null||i.push(r):n.set(a,[r])}const o=[];for(const r of n.values())o.push(r[0]);const s=new Map;for(const r of o){const a=await zo(r.id);await Nt(t),s.set(r.parentId,a.paths)}return s}async function Yg(e,t){const n=new File([e],t.filename,{type:"text/plain"});return Pg(n,t)}async function Xg(e,t,n){const o=await Og(e),s=await Lg(o);n=n||yu();let i=t;return/m3u8$/.test(n)||(n+=".m3u8"),await Yg(s,{filename:n,target:i})}const $a=new Map;async function Su(e,t=!0){if(e=Ai(e,ao.unix),e=e.replace(/^[\/]+/,"").replace(/[\/]+$/,""),t&&$a.has(e))return $a.get(e);if(e===""||e==="/")return"0";const n=await Eg(e);if(!n.state)throw new Error(`根据路径"${e}"获取目录ID失败: ${n.error}`);if(n.id&&n.id.toString()!=="0")return $a.set(e,n.id.toString()),n.id.toString();throw new uu(`根据路径"${e}"获取目录ID失败: 目录不存在!`)}async function Qg(e){e=e.replace(/^\//,"").replace(/\/$/,"");const t={id:"",created:!1,pathToId:new Map};if(e===""||e==="/")return t.id="0",t;const n=e.split("/").filter(i=>i);let o="0",s="";for(const i of n){s+="/"+i;let r="";try{r=await Su(s),t.pathToId.set(s,r)}catch(a){if(a instanceof uu){const u=await wu(o,i);if(!u.state)throw new Error(`创建目录"${i}"失败: ${u.error}`);r=u.cid.toString()}else throw a}o=r,t.pathToId.set(s,r)}return t.id=o,t}async function Eu(e){if(!location.search.includes("ac=search")||!e.enableInSearch)return;const n=(await so("#js_data_list"))[0],o=[{label:"移动",body:'移动',enabled:!0},{label:"重命名",body:'重命名',enabled:!0},{label:"删除",body:'删除',enabled:!0},{label:"属性",body:'属性',enabled:!0}],s=a=>{let u="";for(const p of a)!p.enabled||(u+=p.body);return u},i=()=>{const a="ce-menu-init",u=document.querySelectorAll(`li[rel="item"]:not(.${a})`),p=s(o);for(let f=0;f{a.type==="childList"&&i()}).observe(n,{childList:!0})}async function Zg(e){if(!e.hideSelectionMenuLabel)return;const n=(await so("#js_operate_box"))[0];new MutationObserver(async([s])=>{if(s.type==="childList"){const i=n.querySelectorAll("li[menu]");for(let r=0;r{u.stopPropagation(),u.preventDefault();try{let p;if(s){const x=u;(s===tn.alt&&x.altKey||s===tn.ctrl&&x.ctrlKey||s===tn.shift&&x.shiftKey||s===tn.meta&&x.metaKey)&&(p={names:[Aa.manual],position:o.injectManualFuncPosition})}const f=$(u.target).closest("li"),h=await lo(f),w=await _s(),C=await Oi(h,i,w,p);if(console.log("[search url]",C),!C)throw new Error("无法获取有效的搜索链接!");Qh(C,{active:!i.openInBackground})}catch(p){console.error(p),ce({title:"搜索失败",text:p.toString(),icon:"error"})}}});n.push(r)}return n}async function ka(e,t){if(console.log("[playDirOnAnxia]",e,t),!t)try{ce({title:"正在查找可播放的文件...",text:"请稍等...",icon:"info"}),de.showLoading(),t=await Ag(e),console.log("[playDirOnAnxia] file",t)}catch(o){console.error(o),ce({title:"播放失败",text:o.toString(),icon:"error"});return}t||ce({title:"播放失败",text:"没有在该目录下找到可播放的文件![file_null]",icon:"error"});const n=$u(t.pickCode);window.open(n,"_blank","noopener noreferrer")}async function tw(e,t){const n=[],o=await Go(),s=o.keyToTriggerManual;for(const i of t){const r=hi(e,{key:`_ce_p_${i.key}`,label:i.label,icon:i.icon,title:i.memo,onClick:async(a,u)=>{u.stopPropagation(),u.preventDefault();try{let p;if(s){const x=u;(s===tn.alt&&x.altKey||s===tn.ctrl&&x.ctrlKey||s===tn.shift&&x.shiftKey||s===tn.meta&&x.metaKey)&&(p={names:[Aa.manual],position:o.injectManualFuncPosition})}const f=$(u.target).closest("li"),h=await lo(f),w=await _s(),C=await Oi(h,i,w,p);if(h.isDir&&C.includes("v.anxia.com")){ka(h.id);return}if(console.log("[play url]",C),!C)throw new Error("无法获取有效的播放链接!");window.open(C,"_blank","noopener noreferrer")}catch(p){console.error(p),ce({title:"播放失败",text:p.toString(),icon:"error"})}}});n.push(r)}return n}var Tt=(e=>(e[e.full=0]="full",e[e.pure=1]="pure",e[e.fullUnique=2]="fullUnique",e[e.pureUnique=3]="pureUnique",e))(Tt||{});async function Pi(e,t){if(t===0)return e;if(t===2)return Array.from(new Set(e));const n=[];for(const o of e){const s=o.replace(/\.[^.]+$/,"");t===1?n.push(s):t===3&&(n.includes(s)||n.push(s))}return n}var Gt=(e=>(e[e.unixPath=0]="unixPath",e[e.winPath=1]="winPath",e[e.unixParentPath=2]="unixParentPath",e[e.winParentPath=3]="winParentPath",e))(Gt||{});async function Sa(e,t,n){const o=n===1||n===3;let i=n===2||n===3?t.replace(/\/[^/]+$/,""):t;return i.startsWith("/")||(i="/"+i),o&&(i=i.replace(/\//g,"\\")),i}async function nw(e){return async(t,n)=>{const o=await Ft(),s=await Ii(),i=e?"li[file_id].selected":"li[file_id]",r=s[0].querySelectorAll(i);if(!r.length){ce({title:"文件移动到同名目录",text:e?"当前目录没有选中文件":"当前目录没有文件",icon:"warning"});return}const{value:a}=await de.fire({title:"文件移动到同名目录",text:e?`当前已选中${r.length}个文件,是否继续?`:`当前目录共有${r.length}个文件,是否继续?`,icon:"warning",showCancelButton:!0,confirmButtonText:"继续",cancelButtonText:"取消"});if(!!a){de.fire({title:"文件移动到同名目录",html:"正在处理...",didOpen:()=>{de.showLoading()}});for(let u=0;u{const n=t.target;Pu(n)&&Iu(t)})}const Ea=de.mixin({toast:!0,position:"top-end",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:e=>{e.addEventListener("mouseenter",de.stopTimer),e.addEventListener("mouseleave",de.resumeTimer)},customClass:"swal-toast"});async function iw(e,t){e.addEventListener("keydown",n=>{const o=n.target;if(!Pu(o))return;let s=!1;(t==="enter"&&n.key==="Enter"||t==="ctrl+enter"&&n.key==="Enter"&&n.ctrlKey||t==="meta+enter"&&n.key==="Enter"&&n.metaKey)&&(s=!0),s&&de.clickConfirm()})}var Aa=(e=>(e.search="search",e.encode="encode",e.base64="base64",e.base64safe="base64safe",e.upper="upper",e.lower="lower",e.number="number",e.manual="manual",e))(Aa||{});const rw=[{label:"文件属性变量",items:[{key:"{dir_id}",label:"文件夹ID"},{key:"{file_id}",label:"文件ID"},{key:"{pick_code}",label:"提取码"},{key:"{pure_name}",label:"不含后缀的文件名"},{key:"{full_name}",label:"完整名称"},{key:"{file_suffix}",label:"文件后缀名"},{key:"{file_hash}",label:"文件hash"},{key:"{file_size}",label:"文件大小"},{key:"{file_path}",label:"文件路径"},{key:"{file_dir}",label:"文件目录路径"}]},{label:"高级变量",items:[{key:"{clouddrive_stream_url}",label:"CloudDrive链接(用于播放,目录链接是m3u)"},{key:"{clouddrive_down_url}",label:"CloudDrive文件链接"},{key:"{clouddrive_playlist_url}",label:"CloudDrive播放列表链接"},{key:"{user_agent}",label:"浏览器UA"}]},{label:"变量函数处理",memo:"支持多个函数,函数之间使用英文冒号分隔,如:{变量名:encode:base64}。调用顺序从左到右。",items:[{key:"{变量名:search}",label:"搜索链接"},{key:"{变量名:encode}",label:"url编码"},{key:"{变量名:base64}",label:"base64编码"},{key:"{变量名:base64safe}",label:"base64安全编码"},{key:"{变量名:upper}",label:"转大写"},{key:"{变量名:lower}",label:"转小写"},{key:"{变量名:number}",label:"转数字"},{key:"{变量名:manual}",label:"手动输入"}]}];function aw(e,t,n){const{names:o,position:s}=t;let i=[];return s==="first"?i=[...o,...e]:i=[...e,...o],n?Array.from(new Set(i)):i}async function Oi(e,t,n,o){var p;let s=t.url;const i={dir_id:"id",file_id:"id",pick_code:"pickCode",full_name:"name",file_suffix:"suffix",file_hash:"hash",file_size:"sizeBytes"},r=e.isFile,a=/{(\w+)(:\w+(:\w+)?)?}/g,u=s.match(a);if(u){const f=["file_path","file_dir","clouddrive_stream_url","clouddrive_down_url","clouddrive_playlist_url"];for(const h of u){const w=h.replace(/[{}]/g,"").split(":")[0],C=h.replace(/[{}]/g,"").replace(/^[^:]+:/,"");let x=((p=e[i[w]])==null?void 0:p.toString())||"",A="";switch(f.includes(w)&&(A=await Ca(e)),w){case"pure_name":r?x=e.name.replace(/\.[^.]+$/,""):x=e.name;break;case"file_path":x=A;break;case"file_dir":x=A.replace(/\/[^/]+$/,"");break;case"clouddrive_stream_url":r?x=await jo(n,A,wi.download):x=await ea(n,A);break;case"clouddrive_down_url":x=await jo(n,A,wi.download);break;case"clouddrive_playlist_url":let O="";r?O=A.replace(/\/[^/]+$/,""):O=A,x=await ea(n,O);break;case"user_agent":x=navigator.userAgent;break}if(x=x.toString(),C){let O=C.split(":");o&&(O=aw(O,o,!1)),console.log(`[buildCustomUrl] functions: ${C}, after merge: ${O.join(":")}`);for(const U of O)switch(U){case"search":x=xa({search_value:x});break;case"encode":x=encodeURIComponent(x);break;case"base64":x=mc(x);break;case"base64safe":x=mc(x,!0);break;case"upper":x=x.toUpperCase();break;case"lower":x=x.toLowerCase();break;case"number":x=x.replace(/\D/g,"");break;case"manual":let{isConfirmed:M,value:T}=await de.fire({title:"手动输入",text:"按下「Ctrl + 回车」或「Command + 回车」确认",input:"textarea",inputValue:x,showCancelButton:!0,inputValidator:W=>W?null:"输入不能为空!",didOpen:W=>{sw(W),iw(W,"meta+enter")}});if(!M)throw new Error("已取消手动输入。");if(T=(T==null?void 0:T.trim())||"",T==="")throw new Error("输入不能为空!");x=T;break}}s=s.replace(h,x)}}return t.mutation?await lw(s,e,t,n):s}async function lw(e,t,n,o){return await new Function("payload",n.mutation)({url:e,file:t,customUrl:n,cloudDriveConfig:o})}var hn=(e=>(e.search="search",e.play="play",e))(hn||{});const Ou={search:"menu_custom_urls_for_search",play:"menu_custom_urls_for_play"};async function Ko(e){return await nt.get(Ou[e],[])}async function Tu(e,t){await nt.set(Ou[e],t)}function ft(e){return{enabled:!0,key:"",label:"",icon:"",memo:"",extraMemo:"",url:"",openInBackground:!1,...e}}var tn=(e=>(e.none="none",e.alt="alt",e.ctrl="ctrl",e.shift="shift",e.meta="meta",e))(tn||{});const Mu="ce_menu_config";function cw(e){return{enabled:!0,openInNewTab:!0,search:!0,play:!0,getDownloadUrl:!0,copyNames:!0,...e}}function uw(e){return{enabled:!0,copyNames:!0,...e}}function dw(e){return{enabled:!0,moveToSelfNameDir:!0,copyNames:!0,play:!0,...e}}function fw(e){return{enabled:!0,rename:!0,delete:!0,play:!0,copyNames:!0,move:!0,copy:!0,copyTo:!0,viewProp:!0,showSubFolderSize:!0,...e}}function pw(e){return{enabled:!0,hideSelectionMenuLabel:!1,enableInSearch:!0,manageOfficialMenus:!1,keyToTriggerManual:"none",injectManualFuncPosition:"first",m3u8TempDir:".ce-m3u8-temp",[Le.listItemHover]:cw(e==null?void 0:e[Le.listItemHover]),[Le.listItemContext]:uw(e==null?void 0:e[Le.listItemContext]),[Le.selection]:dw(e==null?void 0:e[Le.selection]),[Le.dirContext]:fw(e==null?void 0:e[Le.dirContext]),...e}}async function Go(){const e=pw(),t=await nt.get(Mu,e);return{...e,...t}}async function hw(e){await nt.set(Mu,e)}const ec=class{constructor(t){Ie(this,"menuType",Le.listItemHover);Ie(this,"injectDecider");Ie(this,"keyAttributeName","id");Ie(this,"key","");Ie(this,"label","");Ie(this,"icon","");Ie(this,"showIcon",!0);Ie(this,"title","");Ie(this,"onClick",async(t,n)=>{});Ie(this,"onMouseOver");Ie(this,"onMouseOut");Ie(this,"subItems",[]);Ie(this,"isDivider",!1);Ie(this,"menuItemTemplates",{[Le.dirContext]:{body:`
  • {icon}{label}
  • `,bodyForMulti:`
  • {icon}{label}
    `,divider:'
  • '},[Le.dirContextSub]:{body:` {icon}{label} `,divider:''},[Le.listItemContext]:{body:`
  • {icon}{label}
  • `,bodyForMulti:`
  • {icon}{label}
    `,divider:'
  • '},[Le.listItemContextSub]:{body:'{label}',divider:''},[Le.listItemHover]:{body:` {icon}{label} `,bodyForMulti:` {icon}{label}
    `,divider:''},[Le.listItemHoverSub]:{body:` {icon}{label} `,divider:''},[Le.selection]:{body:'
  • {icon}{label}
  • ',bodyForMulti:`
  • {icon}{label}
  • `,divider:'
  • '},[Le.selectionSub]:{body:` {icon}{label} `,divider:''}});t.menuType&&(this.menuType=t.menuType),t.injectDecider&&(this.injectDecider=t.injectDecider),t.isDivider&&(this.isDivider=!0),t.key&&(this.key=t.key),t.label&&(this.label=t.label),t.icon&&(this.icon=t.icon),t.showIcon!==void 0&&(this.showIcon=t.showIcon),t.title&&(this.title=t.title),t.onClick&&(this.onClick=t.onClick),t.onMouseOver&&(this.onMouseOver=t.onMouseOver),t.onMouseOut&&(this.onMouseOut=t.onMouseOut),t.subItems&&(this.subItems=t.subItems),t.key&&(this.key=t.key),t.label&&(this.label=t.label),t.onClick&&(this.onClick=t.onClick)}async decideInject(t){return this.injectDecider?await this.injectDecider(this,t):!0}async render(){var r;if(!this.menuType)throw new Error("未指定菜单类型");const t=this.menuItemTemplates[this.menuType];if(!t)throw new Error(`未找到菜单模板:${this.menuType}`);if(this.isDivider){if(!t.divider)throw new Error("未定义模版的divider内容!");const a=document.createElement("div");return a.innerHTML=t.divider,a.firstElementChild}let n=t.body;if(this.subItems.length>0){if(!t.bodyForMulti)throw new Error("未找到 bodyFormMulti 模版");n=t.bodyForMulti}const o=document.createElement("div");let s="";this.icon&&this.showIcon&&(this.icon.match(/^(http|https|data:image)/)?s=``:this.icon.match(/^data-text:/)?s=`${this.icon.replace(/^data-text:/,"")}`:s=``),o.innerHTML=n.replace(/{key}/g,this.key).replace(/{label}/g,this.label).replace(/{icon}/g,s);const i=o.firstElementChild;if(i.setAttribute("title",this.title||""),this.onClick&&i.addEventListener("click",async a=>{this.onClick(this,a)}),this.onMouseOver&&i.addEventListener("mouseover",async a=>{this.onMouseOver&&this.onMouseOver(this,a)}),this.onMouseOut&&i.addEventListener("mouseout",async a=>{this.onMouseOut&&this.onMouseOut(this,a)}),this.subItems.length>0)for(const a of this.subItems){const u=await a.render();(r=i.querySelector(".sub-items"))==null||r.appendChild(u)}return i}async closeMenu(){unsafeWindow.Core.FileMenu.HideRight(),document.dispatchEvent(new CustomEvent(ec.EVENT_CLOSE_MENU,{detail:{menu:this}}))}async decorateContainer(t){}};let jt=ec;Ie(jt,"EVENT_CLOSE_MENU","__closeMenu");async function Ti(e,t){t.stopPropagation(),t.preventDefault();const n=t.target,o=$(n).closest(".ce-menu-parent"),s=o.find(".ce-menu-dropdown");o.addClass("ce-menu-dropdown-opened"),s.addClass("ce-menu-dropdown-active")}async function Mi(e,t){t.stopPropagation(),t.preventDefault();const n=t.target,o=$(n).closest(".ce-menu-parent"),s=o.find(".ce-menu-dropdown");o.removeClass("ce-menu-dropdown-opened"),s.removeClass("ce-menu-dropdown-active")}class Ut extends jt{constructor(n){super(n);Ie(this,"menuType",Le.dirContext);this.onMouseOver=Ti,this.onMouseOut=Mi}}class mw extends jt{constructor(){super(...arguments);Ie(this,"menuType",Le.dirContextSub)}}class Ia extends jt{constructor(n){super(n);Ie(this,"menuType",Le.listItemContext);this.onMouseOver=Ti,this.onMouseOut=Mi}}class Li extends jt{constructor(n){super(n);Ie(this,"menuType",Le.listItemHover);this.onMouseOver=Ti,this.onMouseOut=Mi}}class Bi extends jt{constructor(){super(...arguments);Ie(this,"menuType",Le.listItemHoverSub)}}class Pa extends jt{constructor(n){super(n);Ie(this,"menuType",Le.selection);this.onMouseOver=Ti,this.onMouseOut=Mi}}class Di extends jt{constructor(){super(...arguments);Ie(this,"menuType",Le.selectionSub)}}class Ni extends jt{constructor(){super(...arguments);Ie(this,"isDivider",!0)}}class gw extends Ni{}class ww extends Ni{}class yw extends Ni{}class Lu extends Ni{}class Ri{constructor(t){Ie(this,"items");Ie(this,"siblingSelector");Ie(this,"position");Ie(this,"useObserver",!0);Ie(this,"observeTarget",document.body);Ie(this,"disposeObserverAfterInjection",!0);Ie(this,"menuType");Ie(this,"_observer");Ie(this,"injectDecider");t.menuType&&(this.menuType=t.menuType),t.injectDecider&&(this.injectDecider=t.injectDecider),this.items=t.items,this.siblingSelector=t.siblingSelector,this.position=t.position,this.useObserver=t.useObserver,this.observeTarget=t.observeTarget,this.disposeObserverAfterInjection=t.disposeObserverAfterInjection}async createObserver(){return new MutationObserver(async([n])=>{n.type==="childList"&&await this.handleChildListMutation(n)})}async observe(){if(this._observer=await this.createObserver(),!this._observer)return;const t=await this.getObserveTarget();!t||this.startObserver(t)}async startObserver(t){!this._observer||this._observer.observe(t,{childList:!0})}async disposeObserver(){this.disposeObserverAfterInjection&&this._observer&&this._observer.disconnect()}async getObserveTarget(){return typeof this.observeTarget=="string"?(await so(this.observeTarget,800,6048e5))[0]:this.observeTarget}async isMutationMatch(t){const n=t.addedNodes[0];if(n&&n.nodeType!==Node.ELEMENT_NODE)return!1;switch(this.menuType,Le.dirContext,this.menuType){case Le.listItemHover:return!0;case Le.listItemContext:return n&&n.classList.contains("context-menu")&&!!n.querySelector('[val="report"]');case Le.selection:return!0;case Le.dirContext:return n&&n.classList.contains("context-menu")&&!!n.querySelector('[val="upload"]');default:return!1}}async handleChildListMutation(t){if(!await this.isMutationMatch(t))return;const n=await this.getContainers(t);await this.perform(n)}async perform(t){for(const n of t)await this.injectToContainer(n)}async getSibling(t){return t.querySelector(this.siblingSelector)}async getContainers(t){let n=[];const o=t.addedNodes[0];switch(this.menuType){case Le.listItemHover:document.querySelectorAll("#js_data_list .list-contents > ul:not([ce-done]) > li .file-opr").forEach(s=>{n.push(s)});break;case Le.listItemContext:n=[o];break;case Le.selection:document.querySelectorAll("#js_top_panel_box #js_operate_box").forEach(s=>{n.push(s)});break;case Le.dirContext:n=[o];break}return n}async shouldInjectMenuItem(t,n){return await n.decideInject(t)?await this.decideInject(n,t):!1}async decideInject(t,n){return this.injectDecider?await this.injectDecider(t,n):!0}async injectToContainer(t){const n=await this.getSibling(t);if(!n)return;let o=this.items.slice();this.position===ro.after&&(o=o.reverse());for(let s=0;s ul:not([ce-done]) > li .file-opr");o.length&&await this.perform(Array.from(o))}super.inject()}async handleLoadAll(){if(window.top===window.self)return;const n=document.querySelector("#js_pagination_box");if(!n){console.warn("[ListItemHoverMenuInjector.handleLoadAll] 未找到「#js_pagination_box」元素");return}function o(s){const i=document.querySelector("#js_data_list .list-contents > ul > li");!i||i.querySelector(".ce-menu")||s(!0)}n.addEventListener("click",async s=>{s.preventDefault(),s.stopPropagation();const i=s.target;let r=!1;if((i.getAttribute("menu")==="load_all_file"||i.closest('[menu="load_all_file"]'))&&(r=!0),!r)return;console.log("[ListItemHoverMenuInjector.handleLoadAll] 点击了「加载全部」按钮"),await bs(o,500,3e5);const a=document.querySelector("#js_data_list .list-contents > ul");a==null||a.removeAttribute("ce-done");const u=document.querySelector("#js_data_list");if(u){const p=".list-contents > ul:not([ce-done]) > li .file-opr";if(!document.querySelector(p)){const h=await Go();await Eu(h)}const f=u.querySelectorAll(p);f.length&&await this.perform(Array.from(f))}})}async perform(n){await super.perform(n);const o=document.querySelector("#js_data_list .list-contents > ul");o==null||o.setAttribute("ce-done","")}}class xw extends Ri{constructor(){super(...arguments);Ie(this,"menuType",Le.selection);Ie(this,"useObserver",!0);Ie(this,"observeTarget","#js_top_panel_box #js_operate_box");Ie(this,"disposeObserverAfterInjection",!1)}}async function Cw(e,t){return!!$(t).closest("li").attr("cate_id")}async function $w(e,t){const n=$(t).closest("li");if(n.attr("cate_id")||n.attr("iv")==="1")return!0;const o=n.attr("ico");return o?am(o)||cm(o)||lm(o):!1}function Dn(e,t){const n=Object.create(null),o=e.split(",");for(let s=0;s!!n[s.toLowerCase()]:s=>!!n[s]}function mn(e){if(_e(e)){const t={};for(let n=0;n{if(n){const o=n.split(Sw);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function Je(e){let t="";if(Xe(e))t=e;else if(_e(e))for(let n=0;nEs(n,t))}const we=e=>Xe(e)?e:e==null?"":_e(e)||qe(e)&&(e.toString===Fu||!Pe(e.toString))?JSON.stringify(e,Du,2):String(e),Du=(e,t)=>t&&t.__v_isRef?Du(e,t.value):fo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,s])=>(n[`${o} =>`]=s,n),{})}:Yo(t)?{[`Set(${t.size})`]:[...t.values()]}:qe(t)&&!_e(t)&&!ju(t)?String(t):t,We=Object.freeze({}),Jo=Object.freeze([]),At=()=>{},Nu=()=>!1,Dw=/^on[^a-z]/,As=e=>Dw.test(e),Fi=e=>e.startsWith("onUpdate:"),ot=Object.assign,Ta=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nw=Object.prototype.hasOwnProperty,Ne=(e,t)=>Nw.call(e,t),_e=Array.isArray,fo=e=>Ps(e)==="[object Map]",Yo=e=>Ps(e)==="[object Set]",Ru=e=>Ps(e)==="[object Date]",Pe=e=>typeof e=="function",Xe=e=>typeof e=="string",Is=e=>typeof e=="symbol",qe=e=>e!==null&&typeof e=="object",ji=e=>qe(e)&&Pe(e.then)&&Pe(e.catch),Fu=Object.prototype.toString,Ps=e=>Fu.call(e),Ma=e=>Ps(e).slice(8,-1),ju=e=>Ps(e)==="[object Object]",La=e=>Xe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ui=Dn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rw=Dn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Hi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Fw=/-(\w)/g,nn=Hi(e=>e.replace(Fw,(t,n)=>n?n.toUpperCase():"")),jw=/\B([A-Z])/g,gn=Hi(e=>e.replace(jw,"-$1").toLowerCase()),po=Hi(e=>e.charAt(0).toUpperCase()+e.slice(1)),ho=Hi(e=>e?`on${po(e)}`:""),Os=(e,t)=>!Object.is(e,t),Xo=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},qi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Uw=e=>{const t=Xe(e)?Number(e):NaN;return isNaN(t)?e:t};let Uu;const Hu=()=>Uu||(Uu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ba(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Jt;class Hw{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Jt,!t&&Jt&&(this.index=(Jt.scopes||(Jt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Jt;try{return Jt=this,t()}finally{Jt=n}}else Ba("cannot run an inactive effect scope.")}on(){Jt=this}off(){Jt=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},zu=e=>(e.w&Nn)>0,qu=e=>(e.n&Nn)>0,Vw=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let o=0;o{(h==="length"||h>=p)&&a.push(f)})}else switch(n!==void 0&&a.push(r.get(n)),t){case"add":_e(e)?La(n)&&a.push(r.get("length")):(a.push(r.get(mo)),fo(e)&&a.push(r.get(Ra)));break;case"delete":_e(e)||(a.push(r.get(mo)),fo(e)&&a.push(r.get(Ra)));break;case"set":fo(e)&&a.push(r.get(mo));break}const u={target:e,type:t,key:n,newValue:o,oldValue:s,oldTarget:i};if(a.length===1)a[0]&&ja(a[0],u);else{const p=[];for(const f of a)f&&p.push(...f);ja(Da(p),u)}}function ja(e,t){const n=_e(e)?e:[...e];for(const o of n)o.computed&&Gu(o,t);for(const o of n)o.computed||Gu(o,t)}function Gu(e,t){(e!==yt||e.allowRecurse)&&(e.onTrigger&&e.onTrigger(ot({effect:e},t)),e.scheduler?e.scheduler():e.run())}function Kw(e,t){var n;return(n=Vi.get(e))===null||n===void 0?void 0:n.get(t)}const Gw=Dn("__proto__,__v_isRef,__isVue"),Ju=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Is)),Jw=Wi(),Yw=Wi(!1,!0),Xw=Wi(!0),Qw=Wi(!0,!0),Yu=Zw();function Zw(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Be(this);for(let i=0,r=this.length;i{e[t]=function(...n){go();const o=Be(this)[t].apply(this,n);return wo(),o}}),e}function ey(e){const t=Be(this);return It(t,"has",e),t.hasOwnProperty(e)}function Wi(e=!1,t=!1){return function(o,s,i){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&i===(e?t?ld:ad:t?rd:id).get(o))return o;const r=_e(o);if(!e){if(r&&Ne(Yu,s))return Reflect.get(Yu,s,i);if(s==="hasOwnProperty")return ey}const a=Reflect.get(o,s,i);return(Is(s)?Ju.has(s):Gw(s))||(e||It(o,"get",s),t)?a:st(a)?r&&La(s)?a:a.value:qe(a)?e?cd(a):er(a):a}}const ty=Xu(),ny=Xu(!0);function Xu(e=!1){return function(n,o,s,i){let r=n[o];if(jn(r)&&st(r)&&!st(s))return!1;if(!e&&(!nr(s)&&!jn(s)&&(r=Be(r),s=Be(s)),!_e(n)&&st(r)&&!st(s)))return r.value=s,!0;const a=_e(n)&&La(o)?Number(o)e,Ki=e=>Reflect.getPrototypeOf(e);function Gi(e,t,n=!1,o=!1){e=e.__v_raw;const s=Be(e),i=Be(t);n||(t!==i&&It(s,"get",t),It(s,"get",i));const{has:r}=Ki(s),a=o?Ua:n?Ha:Ms;if(r.call(s,t))return a(e.get(t));if(r.call(s,i))return a(e.get(i));e!==s&&e.get(t)}function Ji(e,t=!1){const n=this.__v_raw,o=Be(n),s=Be(e);return t||(e!==s&&It(o,"has",e),It(o,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Yi(e,t=!1){return e=e.__v_raw,!t&&It(Be(e),"iterate",mo),Reflect.get(e,"size",e)}function ed(e){e=Be(e);const t=Be(this);return Ki(t).has.call(t,e)||(t.add(e),wn(t,"add",e,e)),this}function td(e,t){t=Be(t);const n=Be(this),{has:o,get:s}=Ki(n);let i=o.call(n,e);i?sd(n,o,e):(e=Be(e),i=o.call(n,e));const r=s.call(n,e);return n.set(e,t),i?Os(t,r)&&wn(n,"set",e,t,r):wn(n,"add",e,t),this}function nd(e){const t=Be(this),{has:n,get:o}=Ki(t);let s=n.call(t,e);s?sd(t,n,e):(e=Be(e),s=n.call(t,e));const i=o?o.call(t,e):void 0,r=t.delete(e);return s&&wn(t,"delete",e,void 0,i),r}function od(){const e=Be(this),t=e.size!==0,n=fo(e)?new Map(e):new Set(e),o=e.clear();return t&&wn(e,"clear",void 0,void 0,n),o}function Xi(e,t){return function(o,s){const i=this,r=i.__v_raw,a=Be(r),u=t?Ua:e?Ha:Ms;return!e&&It(a,"iterate",mo),r.forEach((p,f)=>o.call(s,u(p),u(f),i))}}function Qi(e,t,n){return function(...o){const s=this.__v_raw,i=Be(s),r=fo(i),a=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,p=s[e](...o),f=n?Ua:t?Ha:Ms;return!t&&It(i,"iterate",u?Ra:mo),{next(){const{value:h,done:w}=p.next();return w?{value:h,done:w}:{value:a?[f(h[0]),f(h[1])]:f(h),done:w}},[Symbol.iterator](){return this}}}}function Fn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${po(e)} operation ${n}failed: target is readonly.`,Be(this))}return e==="delete"?!1:this}}function ly(){const e={get(i){return Gi(this,i)},get size(){return Yi(this)},has:Ji,add:ed,set:td,delete:nd,clear:od,forEach:Xi(!1,!1)},t={get(i){return Gi(this,i,!1,!0)},get size(){return Yi(this)},has:Ji,add:ed,set:td,delete:nd,clear:od,forEach:Xi(!1,!0)},n={get(i){return Gi(this,i,!0)},get size(){return Yi(this,!0)},has(i){return Ji.call(this,i,!0)},add:Fn("add"),set:Fn("set"),delete:Fn("delete"),clear:Fn("clear"),forEach:Xi(!0,!1)},o={get(i){return Gi(this,i,!0,!0)},get size(){return Yi(this,!0)},has(i){return Ji.call(this,i,!0)},add:Fn("add"),set:Fn("set"),delete:Fn("delete"),clear:Fn("clear"),forEach:Xi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Qi(i,!1,!1),n[i]=Qi(i,!0,!1),t[i]=Qi(i,!1,!0),o[i]=Qi(i,!0,!0)}),[e,n,t,o]}const[cy,uy,dy,fy]=ly();function Zi(e,t){const n=t?e?fy:dy:e?uy:cy;return(o,s,i)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?o:Reflect.get(Ne(n,s)&&s in o?n:o,s,i)}const py={get:Zi(!1,!1)},hy={get:Zi(!1,!0)},my={get:Zi(!0,!1)},gy={get:Zi(!0,!0)};function sd(e,t,n){const o=Be(n);if(o!==n&&t.call(e,o)){const s=Ma(e);console.warn(`Reactive ${s} contains both the raw and reactive versions of the same object${s==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const id=new WeakMap,rd=new WeakMap,ad=new WeakMap,ld=new WeakMap;function wy(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function yy(e){return e.__v_skip||!Object.isExtensible(e)?0:wy(Ma(e))}function er(e){return jn(e)?e:tr(e,!1,Qu,py,id)}function by(e){return tr(e,!1,ry,hy,rd)}function cd(e){return tr(e,!0,Zu,my,ad)}function Qo(e){return tr(e,!0,ay,gy,ld)}function tr(e,t,n,o,s){if(!qe(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=s.get(e);if(i)return i;const r=yy(e);if(r===0)return e;const a=new Proxy(e,r===2?o:n);return s.set(e,a),a}function yo(e){return jn(e)?yo(e.__v_raw):!!(e&&e.__v_isReactive)}function jn(e){return!!(e&&e.__v_isReadonly)}function nr(e){return!!(e&&e.__v_isShallow)}function or(e){return yo(e)||jn(e)}function Be(e){const t=e&&e.__v_raw;return t?Be(t):e}function ud(e){return zi(e,"__v_skip",!0),e}const Ms=e=>qe(e)?er(e):e,Ha=e=>qe(e)?cd(e):e;function dd(e){Rn&&yt&&(e=Be(e),Ku(e.dep||(e.dep=Da()),{target:e,type:"get",key:"value"}))}function fd(e,t){e=Be(e);const n=e.dep;n&&ja(n,{target:e,type:"set",key:"value",newValue:t})}function st(e){return!!(e&&e.__v_isRef===!0)}function ye(e){return vy(e,!1)}function vy(e,t){return st(e)?e:new _y(e,t)}class _y{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Be(t),this._value=n?t:Ms(t)}get value(){return dd(this),this._value}set value(t){const n=this.__v_isShallow||nr(t)||jn(t);t=n?t:Be(t),Os(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ms(t),fd(this,t))}}function xe(e){return st(e)?e.value:e}const xy={get:(e,t,n)=>xe(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const s=e[t];return st(s)&&!st(n)?(s.value=n,!0):Reflect.set(e,t,n,o)}};function pd(e){return yo(e)?e:new Proxy(e,xy)}function Cy(e){or(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=_e(e)?new Array(e.length):{};for(const n in e)t[n]=ky(e,n);return t}class $y{constructor(t,n,o){this._object=t,this._key=n,this._defaultValue=o,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Kw(Be(this._object),this._key)}}function ky(e,t,n){const o=e[t];return st(o)?o:new $y(e,t,n)}var hd;class Sy{constructor(t,n,o,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[hd]=!1,this._dirty=!0,this.effect=new Fa(t,()=>{this._dirty||(this._dirty=!0,fd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=o}get value(){const t=Be(this);return dd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}hd="__v_isReadonly";function Ey(e,t,n=!1){let o,s;const i=Pe(e);i?(o=e,s=()=>{console.warn("Write operation failed: computed value is readonly")}):(o=e.get,s=e.set);const r=new Sy(o,s,i||!s,n);return t&&!n&&(r.effect.onTrack=t.onTrack,r.effect.onTrigger=t.onTrigger),r}const bo=[];function Ls(e){bo.push(e)}function Bs(){bo.pop()}function ie(e,...t){go();const n=bo.length?bo[bo.length-1].component:null,o=n&&n.appContext.config.warnHandler,s=Ay();if(o)yn(o,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:i})=>`at <${yr(n,i.type)}>`).join(` `),s]);else{const i=[`[Vue warn]: ${e}`,...t];s.length&&i.push(` `,...Iy(s)),console.warn(...i)}wo()}function Ay(){let e=bo[bo.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}function Iy(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` `],...Py(n))}),t}function Py({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,s=` at <${yr(e.component,e.type,o)}`,i=">"+n;return e.props?[s,...Oy(e.props),i]:[s+i]}function Oy(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...md(o,e[o]))}),n.length>3&&t.push(" ..."),t}function md(e,t,n){return Xe(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:st(t)?(t=md(e,Be(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):Pe(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Be(t),n?t:[`${e}=`,t])}function Ty(e,t){e!==void 0&&(typeof e!="number"?ie(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&ie(`${t} is NaN - the duration expression might be incorrect.`))}const za={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/core"};function yn(e,t,n,o){let s;try{s=o?e(...o):e()}catch(i){Ds(i,t,n)}return s}function Yt(e,t,n,o){if(Pe(e)){const i=yn(e,t,n,o);return i&&ji(i)&&i.catch(r=>{Ds(r,t,n)}),i}const s=[];for(let i=0;i>>1;Rs(mt[o])on&&mt.splice(t,1)}function Wa(e){_e(e)?Zo.push(...e):(!sn||!sn.includes(e,e.allowRecurse?Un+1:Un))&&Zo.push(e),wd()}function yd(e,t=Ns?on+1:0){for(e=e||new Map;tRs(n)-Rs(o)),Un=0;Une.id==null?1/0:e.id,Ny=(e,t)=>{const n=Rs(e)-Rs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function vd(e){qa=!1,Ns=!0,e=e||new Map,mt.sort(Ny);const t=n=>Ka(e,n);try{for(on=0;onLy){const o=t.ownerInstance,s=o&&yl(o.type);return ie(`Maximum recursive updates exceeded${s?` in component <${s}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`),!0}else e.set(t,n+1)}}let vo=!1;const es=new Set;Hu().__VUE_HMR_RUNTIME__={createRecord:Ga(_d),rerender:Ga(jy),reload:Ga(Uy)};const _o=new Map;function Ry(e){const t=e.type.__hmrId;let n=_o.get(t);n||(_d(t,e.type),n=_o.get(t)),n.instances.add(e)}function Fy(e){_o.get(e.type.__hmrId).instances.delete(e)}function _d(e,t){return _o.has(e)?!1:(_o.set(e,{initialDef:Fs(t),instances:new Set}),!0)}function Fs(e){return df(e)?e.__vccOpts:e}function jy(e,t){const n=_o.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,Fs(o.type).render=t),o.renderCache=[],vo=!0,o.update(),vo=!1}))}function Uy(e,t){const n=_o.get(e);if(!n)return;t=Fs(t),xd(n.initialDef,t);const o=[...n.instances];for(const s of o){const i=Fs(s.type);es.has(i)||(i!==n.initialDef&&xd(i,t),es.add(i)),s.appContext.optionsCache.delete(s.type),s.ceReload?(es.add(i),s.ceReload(t.styles),es.delete(i)):s.parent?ir(s.parent.update):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}Wa(()=>{for(const s of o)es.delete(Fs(s.type))})}function xd(e,t){ot(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Ga(e){return(t,n)=>{try{return e(t,n)}catch(o){console.error(o),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let rn,js=[],Ja=!1;function Us(e,...t){rn?rn.emit(e,...t):Ja||js.push({event:e,args:t})}function Cd(e,t){var n,o;rn=e,rn?(rn.enabled=!0,js.forEach(({event:s,args:i})=>rn.emit(s,...i)),js=[]):typeof window<"u"&&window.HTMLElement&&!(!((o=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||o===void 0)&&o.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Cd(i,t)}),setTimeout(()=>{rn||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ja=!0,js=[])},3e3)):(Ja=!0,js=[])}function Hy(e,t){Us("app:init",e,t,{Fragment:De,Text:Gs,Comment:vt,Static:Js})}function zy(e){Us("app:unmount",e)}const qy=Ya("component:added"),$d=Ya("component:updated"),Vy=Ya("component:removed"),Wy=e=>{rn&&typeof rn.cleanupBuffer=="function"&&!rn.cleanupBuffer(e)&&Vy(e)};function Ya(e){return t=>{Us(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Ky=kd("perf:start"),Gy=kd("perf:end");function kd(e){return(t,n,o)=>{Us(e,t.appContext.app,t.uid,t,n,o)}}function Jy(e,t,n){Us("component:emit",e.appContext.app,e,t,n)}function Yy(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||We;{const{emitsOptions:f,propsOptions:[h]}=e;if(f)if(!(t in f))(!h||!(ho(t)in h))&&ie(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ho(t)}" prop.`);else{const w=f[t];Pe(w)&&(w(...n)||ie(`Invalid event arguments: event validation failed for event "${t}".`))}}let s=n;const i=t.startsWith("update:"),r=i&&t.slice(7);if(r&&r in o){const f=`${r==="modelValue"?"model":r}Modifiers`,{number:h,trim:w}=o[f]||We;w&&(s=n.map(C=>Xe(C)?C.trim():C)),h&&(s=n.map(qi))}Jy(e,t,s);{const f=t.toLowerCase();f!==t&&o[ho(f)]&&ie(`Event "${f}" is emitted in component ${yr(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${gn(t)}" instead of "${t}".`)}let a,u=o[a=ho(t)]||o[a=ho(nn(t))];!u&&i&&(u=o[a=ho(gn(t))]),u&&Yt(u,e,6,s);const p=o[a+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,Yt(p,e,6,s)}}function Sd(e,t,n=!1){const o=t.emitsCache,s=o.get(e);if(s!==void 0)return s;const i=e.emits;let r={},a=!1;if(!Pe(e)){const u=p=>{const f=Sd(p,t,!0);f&&(a=!0,ot(r,f))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!a?(qe(e)&&o.set(e,null),null):(_e(i)?i.forEach(u=>r[u]=null):ot(r,i),qe(e)&&o.set(e,r),r)}function rr(e,t){return!e||!As(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ne(e,t[0].toLowerCase()+t.slice(1))||Ne(e,gn(t))||Ne(e,t))}let lt=null,ar=null;function lr(e){const t=lt;return lt=e,ar=e&&e.type.__scopeId||null,t}function Xy(e){ar=e}function Qy(){ar=null}const Zy=e=>Ke;function Ke(e,t=lt,n){if(!t||e._n)return e;const o=(...s)=>{o._d&&nf(-1);const i=lr(t);let r;try{r=e(...s)}finally{lr(i),o._d&&nf(1)}return $d(t),r};return o._n=!0,o._c=!0,o._d=!0,o}let Xa=!1;function cr(){Xa=!0}function Qa(e){const{type:t,vnode:n,proxy:o,withProxy:s,props:i,propsOptions:[r],slots:a,attrs:u,emit:p,render:f,renderCache:h,data:w,setupState:C,ctx:x,inheritAttrs:A}=e;let O,U;const M=lr(e);Xa=!1;try{if(n.shapeFlag&4){const oe=s||o;O=Wt(f.call(oe,oe,h,i,C,w,x)),U=u}else{const oe=t;u===i&&cr(),O=Wt(oe.length>1?oe(i,{get attrs(){return cr(),u},slots:a,emit:p}):oe(i,null)),U=t.props?u:tb(u)}}catch(oe){Ys.length=0,Ds(oe,e,1),O=Se(vt)}let T=O,W;if(O.patchFlag>0&&O.patchFlag&2048&&([T,W]=eb(O)),U&&A!==!1){const oe=Object.keys(U),{shapeFlag:F}=T;if(oe.length){if(F&7)r&&oe.some(Fi)&&(U=nb(U,r)),T=qn(T,U);else if(!Xa&&T.type!==vt){const ee=Object.keys(u),ae=[],ue=[];for(let Ee=0,he=ee.length;Ee renders non-element root node that cannot be animated."),T.transition=n.transition),W?W(T):O=T,lr(M),O}const eb=e=>{const t=e.children,n=e.dynamicChildren,o=Za(t);if(!o)return[e,void 0];const s=t.indexOf(o),i=n?n.indexOf(o):-1,r=a=>{t[s]=a,n&&(i>-1?n[i]=a:a.patchFlag>0&&(e.dynamicChildren=[...n,a]))};return[Wt(o),r]};function Za(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||As(n))&&((t||(t={}))[n]=e[n]);return t},nb=(e,t)=>{const n={};for(const o in e)(!Fi(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},Ed=e=>e.shapeFlag&7||e.type===vt;function ob(e,t,n){const{props:o,children:s,component:i}=e,{props:r,children:a,patchFlag:u}=t,p=i.emitsOptions;if((s||a)&&vo||t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return o?Ad(o,r,p):!!r;if(u&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense,Id={name:"Suspense",__isSuspense:!0,process(e,t,n,o,s,i,r,a,u,p){e==null?ib(t,n,o,s,i,r,a,u,p):rb(e,t,n,o,s,r,a,u,p)},hydrate:ab,create:tl,normalize:lb};function Hs(e,t){const n=e.props&&e.props[t];Pe(n)&&n()}function ib(e,t,n,o,s,i,r,a,u){const{p,o:{createElement:f}}=u,h=f("div"),w=e.suspense=tl(e,s,o,t,h,n,i,r,a,u);p(null,w.pendingBranch=e.ssContent,h,null,o,w,i,r),w.deps>0?(Hs(e,"onPending"),Hs(e,"onFallback"),p(null,e.ssFallback,t,n,o,null,i,r),ts(w,e.ssFallback)):w.resolve()}function rb(e,t,n,o,s,i,r,a,{p:u,um:p,o:{createElement:f}}){const h=t.suspense=e.suspense;h.vnode=t,t.el=e.el;const w=t.ssContent,C=t.ssFallback,{activeBranch:x,pendingBranch:A,isInFallback:O,isHydrating:U}=h;if(A)h.pendingBranch=w,zn(w,A)?(u(A,w,h.hiddenContainer,null,s,h,i,r,a),h.deps<=0?h.resolve():O&&(u(x,C,n,o,s,null,i,r,a),ts(h,C))):(h.pendingId++,U?(h.isHydrating=!1,h.activeBranch=A):p(A,s,h),h.deps=0,h.effects.length=0,h.hiddenContainer=f("div"),O?(u(null,w,h.hiddenContainer,null,s,h,i,r,a),h.deps<=0?h.resolve():(u(x,C,n,o,s,null,i,r,a),ts(h,C))):x&&zn(w,x)?(u(x,w,n,o,s,h,i,r,a),h.resolve(!0)):(u(null,w,h.hiddenContainer,null,s,h,i,r,a),h.deps<=0&&h.resolve()));else if(x&&zn(w,x))u(x,w,n,o,s,h,i,r,a),ts(h,w);else if(Hs(t,"onPending"),h.pendingBranch=w,h.pendingId++,u(null,w,h.hiddenContainer,null,s,h,i,r,a),h.deps<=0)h.resolve();else{const{timeout:M,pendingId:T}=h;M>0?setTimeout(()=>{h.pendingId===T&&h.fallback(C)},M):M===0&&h.fallback(C)}}let Pd=!1;function tl(e,t,n,o,s,i,r,a,u,p,f=!1){Pd||(Pd=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:h,m:w,um:C,n:x,o:{parentNode:A,remove:O}}=p,U=e.props?Uw(e.props.timeout):void 0;Ty(U,"Suspense timeout");const M={vnode:e,parent:t,parentComponent:n,isSVG:r,container:o,hiddenContainer:s,anchor:i,deps:0,pendingId:0,timeout:typeof U=="number"?U:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:f,isUnmounted:!1,effects:[],resolve(T=!1){{if(!T&&!M.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(M.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:W,activeBranch:oe,pendingBranch:F,pendingId:ee,effects:ae,parentComponent:ue,container:Ee}=M;if(M.isHydrating)M.isHydrating=!1;else if(!T){const se=oe&&F.transition&&F.transition.mode==="out-in";se&&(oe.transition.afterLeave=()=>{ee===M.pendingId&&w(F,Ee,J,0)});let{anchor:J}=M;oe&&(J=x(oe),C(oe,ue,M,!0)),se||w(F,Ee,J,0)}ts(M,F),M.pendingBranch=null,M.isInFallback=!1;let he=M.parent,I=!1;for(;he;){if(he.pendingBranch){he.effects.push(...ae),I=!0;break}he=he.parent}I||Wa(ae),M.effects=[],Hs(W,"onResolve")},fallback(T){if(!M.pendingBranch)return;const{vnode:W,activeBranch:oe,parentComponent:F,container:ee,isSVG:ae}=M;Hs(W,"onFallback");const ue=x(oe),Ee=()=>{!M.isInFallback||(h(null,T,ee,ue,F,null,ae,a,u),ts(M,T))},he=T.transition&&T.transition.mode==="out-in";he&&(oe.transition.afterLeave=Ee),M.isInFallback=!0,C(oe,F,null,!0),he||Ee()},move(T,W,oe){M.activeBranch&&w(M.activeBranch,T,W,oe),M.container=T},next(){return M.activeBranch&&x(M.activeBranch)},registerDep(T,W){const oe=!!M.pendingBranch;oe&&M.deps++;const F=T.vnode.el;T.asyncDep.catch(ee=>{Ds(ee,T,0)}).then(ee=>{if(T.isUnmounted||M.isUnmounted||M.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:ae}=T;Ls(ae),gl(T,ee,!1),F&&(ae.el=F);const ue=!F&&T.subTree.el;W(T,ae,A(F||T.subTree.el),F?null:x(T.subTree),M,r,u),ue&&O(ue),el(T,ae.el),Bs(),oe&&--M.deps===0&&M.resolve()})},unmount(T,W){M.isUnmounted=!0,M.activeBranch&&C(M.activeBranch,n,T,W),M.pendingBranch&&C(M.pendingBranch,n,T,W)}};return M}function ab(e,t,n,o,s,i,r,a,u){const p=t.suspense=tl(t,o,n,e.parentNode,document.createElement("div"),null,s,i,r,a,!0),f=u(e,p.pendingBranch=t.ssContent,n,p,i,r);return p.deps===0&&p.resolve(),f}function lb(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=Od(o?n.default:n),e.ssFallback=o?Od(n.fallback):Se(vt)}function Od(e){let t;if(Pe(e)){const n=ns&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=qt,tf())}if(_e(e)){const n=Za(e);n||ie(" slots expect a single root node."),e=n}return e=Wt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function cb(e,t){t&&t.pendingBranch?_e(e)?t.effects.push(...e):t.effects.push(e):Wa(e)}function ts(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,s=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=s,el(o,s))}function zs(e,t){if(!Ze)ie("provide() can only be used inside setup().");else{let n=Ze.provides;const o=Ze.parent&&Ze.parent.provides;o===n&&(n=Ze.provides=Object.create(o)),n[e]=t}}function qs(e,t,n=!1){const o=Ze||lt;if(o){const s=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&Pe(t)?t.call(o.proxy):t;ie(`injection "${String(e)}" not found.`)}else ie("inject() can only be used inside setup() or functional components.")}const ur={};function pt(e,t,n){return Pe(t)||ie("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Td(e,t,n)}function Td(e,t,{immediate:n,deep:o,flush:s,onTrack:i,onTrigger:r}=We){t||(n!==void 0&&ie('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&ie('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const a=W=>{ie("Invalid watch source: ",W,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=qw()===(Ze==null?void 0:Ze.scope)?Ze:null;let p,f=!1,h=!1;if(st(e)?(p=()=>e.value,f=nr(e)):yo(e)?(p=()=>e,o=!0):_e(e)?(h=!0,f=e.some(W=>yo(W)||nr(W)),p=()=>e.map(W=>{if(st(W))return W.value;if(yo(W))return xo(W);if(Pe(W))return yn(W,u,2);a(W)})):Pe(e)?t?p=()=>yn(e,u,2):p=()=>{if(!(u&&u.isUnmounted))return w&&w(),Yt(e,u,3,[C])}:(p=At,a(e)),t&&o){const W=p;p=()=>xo(W())}let w,C=W=>{w=M.onStop=()=>{yn(W,u,4)}},x;if(Xs)if(C=At,t?n&&Yt(t,u,3,[p(),h?[]:void 0,C]):p(),s==="sync"){const W=fv();x=W.__watcherHandles||(W.__watcherHandles=[])}else return At;let A=h?new Array(e.length).fill(ur):ur;const O=()=>{if(!!M.active)if(t){const W=M.run();(o||f||(h?W.some((oe,F)=>Os(oe,A[F])):Os(W,A)))&&(w&&w(),Yt(t,u,3,[W,A===ur?void 0:h&&A[0]===ur?[]:A,C]),A=W)}else M.run()};O.allowRecurse=!!t;let U;s==="sync"?U=O:s==="post"?U=()=>Pt(O,u&&u.suspense):(O.pre=!0,u&&(O.id=u.uid),U=()=>ir(O));const M=new Fa(p,U);M.onTrack=i,M.onTrigger=r,t?n?O():A=M.run():s==="post"?Pt(M.run.bind(M),u&&u.suspense):M.run();const T=()=>{M.stop(),u&&u.scope&&Ta(u.scope.effects,M)};return x&&x.push(T),T}function ub(e,t,n){const o=this.proxy,s=Xe(e)?e.includes(".")?Md(o,e):()=>o[e]:e.bind(o,o);let i;Pe(t)?i=t:(i=t.handler,n=t);const r=Ze;Wn(this);const a=Td(s,i.bind(o),n);return r?Wn(r):Kn(),a}function Md(e,t){const n=t.split(".");return()=>{let o=e;for(let s=0;s{xo(n,t)});else if(ju(e))for(const n in e)xo(e[n],t);return e}function Re(e){return Pe(e)?{setup:e,name:e.name}:e}const Vs=e=>!!e.type.__asyncLoader,nl=e=>e.type.__isKeepAlive;function db(e,t){Ld(e,"a",t)}function fb(e,t){Ld(e,"da",t)}function Ld(e,t,n=Ze){const o=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(dr(t,o,n),n){let s=n.parent;for(;s&&s.parent;)nl(s.parent.vnode)&&pb(o,t,n,s),s=s.parent}}function pb(e,t,n,o){const s=dr(t,e,o,!0);Ws(()=>{Ta(o[t],s)},n)}function dr(e,t,n=Ze,o=!1){if(n){const s=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;go(),Wn(n);const a=Yt(t,n,e,r);return Kn(),wo(),a});return o?s.unshift(i):s.push(i),i}else{const s=ho(za[e].replace(/ hook$/,""));ie(`${s} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const bn=e=>(t,n=Ze)=>(!Xs||e==="sp")&&dr(e,(...o)=>t(...o),n),Ht=bn("bm"),zt=bn("m"),hb=bn("bu"),mb=bn("u"),Bd=bn("bum"),Ws=bn("um"),gb=bn("sp"),wb=bn("rtg"),yb=bn("rtc");function bb(e,t=Ze){dr("ec",e,t)}function Dd(e){Rw(e)&&ie("Do not use built-in directive ids as custom directive id: "+e)}function re(e,t){const n=lt;if(n===null)return ie("withDirectives can only be used inside render functions."),e;const o=wr(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let i=0;it(r,a,void 0,i&&i[a]));else{const r=Object.keys(e);s=new Array(r.length);for(let a=0,u=r.length;a1&&(ie("SSR-optimized slot function detected in a non-SSR-optimized render function. You need to mark this component with $dynamic-slots in the parent template."),i=()=>[]),i&&i._c&&(i._d=!1),Y();const r=i&&Rd(i(n)),a=Vt(De,{key:n.key||r&&r.key||`_${t}`},r||(o?o():[]),r&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Rd(e){return e.some(t=>os(t)?!(t.type===vt||t.type===De&&!Rd(t.children)):!0)?e:null}const sl=e=>e?cf(e)?wr(e)||e.proxy:sl(e.parent):null,ko=ot(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Qo(e.props),$attrs:e=>Qo(e.attrs),$slots:e=>Qo(e.slots),$refs:e=>Qo(e.refs),$parent:e=>sl(e.parent),$root:e=>sl(e.root),$emit:e=>e.emit,$options:e=>ll(e),$forceUpdate:e=>e.f||(e.f=()=>ir(e.update)),$nextTick:e=>e.n||(e.n=sr.bind(e.proxy)),$watch:e=>ub.bind(e)}),il=e=>e==="_"||e==="$",rl=(e,t)=>e!==We&&!e.__isScriptSetup&&Ne(e,t),Fd={get({_:e},t){const{ctx:n,setupState:o,data:s,props:i,accessCache:r,type:a,appContext:u}=e;if(t==="__isVue")return!0;let p;if(t[0]!=="$"){const C=r[t];if(C!==void 0)switch(C){case 1:return o[t];case 2:return s[t];case 4:return n[t];case 3:return i[t]}else{if(rl(o,t))return r[t]=1,o[t];if(s!==We&&Ne(s,t))return r[t]=2,s[t];if((p=e.propsOptions[0])&&Ne(p,t))return r[t]=3,i[t];if(n!==We&&Ne(n,t))return r[t]=4,n[t];al&&(r[t]=0)}}const f=ko[t];let h,w;if(f)return t==="$attrs"&&(It(e,"get",t),cr()),f(e);if((h=a.__cssModules)&&(h=h[t]))return h;if(n!==We&&Ne(n,t))return r[t]=4,n[t];if(w=u.config.globalProperties,Ne(w,t))return w[t];lt&&(!Xe(t)||t.indexOf("__v")!==0)&&(s!==We&&il(t[0])&&Ne(s,t)?ie(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===lt&&ie(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:s,ctx:i}=e;return rl(s,t)?(s[t]=n,!0):s.__isScriptSetup&&Ne(s,t)?(ie(`Cannot mutate