// ==UserScript== // @name 115不大助手 (full) // @namespace com.cloud115.enhancer // @version 0.5.25 // @author 生瓜太保 // @description Make 115 taerg again! // @license MIT // @homepage https://greasyfork.org/zh-CN/scripts/474231-115不大助手?locale_override=1 // @supportURL https://github.com // @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}.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}.tabs-component-tabs{border:solid 1px #ddd;border-radius:6px;margin-bottom:5px}@media (min-width: 700px){.tabs-component-tabs{border:0;align-items:stretch;display:flex;justify-content:flex-start;margin-bottom:-1px}}.tabs-component-tab{color:#999;font-size:14px;font-weight:600;margin-right:0;list-style:none}.tabs-component-tab:not(:last-child){border-bottom:dotted 1px #ddd}.tabs-component-tab:hover{color:#666}.tabs-component-tab.is-active{color:#000}.tabs-component-tab.is-disabled *{color:#cdcdcd;cursor:not-allowed!important}@media (min-width: 700px){.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-tab.is-active{border-bottom:solid 1px #fff;z-index:2;transform:translateY(0)}}.tabs-component-tab-a{align-items:center;color:inherit;display:flex;padding:.75em 1em;text-decoration:none}.tabs-component-panels{padding:1em 0}@media (min-width: 700px){.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-btn{cursor:pointer;background:#e1ecf4;border-radius:3px;border:1px solid #7aa7c7;padding:4px 8px;color:#39739d}.tabs-component-btn:hover{background-color:#b3d3ea;color:#2c5777}.tabs-component-btn:active{background-color:#a0c7e4;box-shadow:none;color:#2c5777}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: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:-250%;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}div#js_operate_box.only-icon li[menu] span{display:none}.list-contents{padding-bottom:300px}.ce-offline-config .ce-tips{margin-top:20px;margin-left:56px}.ce-offline-config .pure-form-message{margin-left:56px}.cloud115-eh-offline-exporter{position:absolute;left:100px;top:62px;background:#f4f2ff;padding:6px 10px;border-radius:4px}.cloud115-eh-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}.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:200px!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:77px}.cloud115-page-offline #js-warp li .ce-checkbox{width:30px}.cloud115-page-offline #js-warp li .ce-checkbox input{display:block!important;width:20px;height:20px;cursor:pointer}.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)}.ce-basic-config .pure-form-message{margin-left:82px}.ce-basic-config .avatar-preview{display:inline-block;vertical-align:middle;margin-left:10px}.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-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-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-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-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} `); var Bk=Object.defineProperty;var Lk=(vo,yn,_o)=>yn in vo?Bk(vo,yn,{enumerable:!0,configurable:!0,writable:!0,value:_o}):vo[yn]=_o;var $e=(vo,yn,_o)=>(Lk(vo,typeof yn!="symbol"?yn+"":yn,_o),_o);(function(){"use strict";const vo="",yn="",_o="",Nk="",Dk="",Rk="",Fk="",lp=typeof btoa=="function",pr=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const dl=typeof TextEncoder=="function"?new TextEncoder:void 0,cp="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",qo=Array.prototype.slice.call(cp);(e=>{let t={};return e.forEach((n,o)=>t[n]=o),t})(qo);const Ht=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const up=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),fl=lp?e=>btoa(e):pr?e=>Buffer.from(e,"binary").toString("base64"):e=>{let t,n,o,i,s="";const r=e.length%3;for(let c=0;c255||(o=e.charCodeAt(c++))>255||(i=e.charCodeAt(c++))>255)throw new TypeError("invalid character found");t=n<<16|o<<8|i,s+=qo[t>>18&63]+qo[t>>12&63]+qo[t>>6&63]+qo[t&63]}return r?s.slice(0,r-3)+"===".substring(r):s},dp=pr?e=>Buffer.from(e).toString("base64"):e=>{let n=[];for(let o=0,i=e.length;o{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?Ht(192|t>>>6)+Ht(128|t&63):Ht(224|t>>>12&15)+Ht(128|t>>>6&63)+Ht(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return Ht(240|t>>>18&7)+Ht(128|t>>>12&63)+Ht(128|t>>>6&63)+Ht(128|t&63)}},pp=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,hp=e=>e.replace(pp,fp),pl=pr?e=>Buffer.from(e,"utf8").toString("base64"):dl?e=>dp(dl.encode(e)):e=>fl(hp(e)),hl=(e,t=!1)=>t?up(pl(e)):pl(e);var xo=window,hr=(()=>xo.GM_setValue)(),mp=(()=>xo.GM_deleteValue)(),gp=(()=>xo.GM_openInTab)(),ml=(()=>xo.GM_registerMenuCommand)(),Wo=(()=>xo.GM_setClipboard)(),Ui=(()=>xo.GM_getValue)(),vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},gl={exports:{}};/*! * sweetalert2 v11.7.2 * Released under the MIT License. */(function(e,t){(function(n,o){e.exports=o()})(vn,function(){var n={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const o="swal2-",i=a=>{const l={};for(const g in a)l[a[g]]=o+a[g];return l},s=i(["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=i(["success","warning","info","question","error"]),c="SweetAlert2:",u=a=>{const l=[];for(let g=0;ga.charAt(0).toUpperCase()+a.slice(1),d=a=>{console.warn(`${c} ${typeof a=="object"?a.join(" "):a}`)},m=a=>{console.error(`${c} ${a}`)},b=[],k=a=>{b.includes(a)||(b.push(a),d(a))},A=(a,l)=>{k(`"${a}" is deprecated and will be removed in the next major release. Please use "${l}" instead.`)},S=a=>typeof a=="function"?a():a,R=a=>a&&typeof a.toPromise=="function",V=a=>R(a)?a.toPromise():Promise.resolve(a),P=a=>a&&Promise.resolve(a)===a,T=()=>document.body.querySelector(`.${s.container}`),X=a=>{const l=T();return l?l.querySelector(a):null},ee=a=>X(`.${a}`),te=()=>ee(s.popup),Pe=()=>ee(s.icon),ke=()=>ee(s["icon-content"]),Ee=()=>ee(s.title),Ie=()=>ee(s["html-container"]),de=()=>ee(s.image),ie=()=>ee(s["progress-steps"]),Ce=()=>ee(s["validation-message"]),se=()=>X(`.${s.actions} .${s.confirm}`),Fe=()=>X(`.${s.actions} .${s.cancel}`),L=()=>X(`.${s.actions} .${s.deny}`),K=()=>ee(s["input-label"]),N=()=>X(`.${s.loader}`),ue=()=>ee(s.actions),ve=()=>ee(s.footer),Oe=()=>ee(s["timer-progress-bar"]),Ye=()=>ee(s.close),Xe=` 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 `,Pt=()=>{const a=Array.from(te().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((g,v)=>{const B=parseInt(g.getAttribute("tabindex")),pe=parseInt(v.getAttribute("tabindex"));return B>pe?1:Bg.getAttribute("tabindex")!=="-1");return u(a.concat(l)).filter(g=>D(g))},It=()=>Qe(document.body,s.shown)&&!Qe(document.body,s["toast-shown"])&&!Qe(document.body,s["no-backdrop"]),bn=()=>te()&&Qe(te(),s.toast),yt=()=>te().hasAttribute("data-loading"),vt={previousBodyPadding:null},lt=(a,l)=>{if(a.textContent="",l){const v=new DOMParser().parseFromString(l,"text/html");Array.from(v.querySelector("head").childNodes).forEach(B=>{a.appendChild(B)}),Array.from(v.querySelector("body").childNodes).forEach(B=>{B instanceof HTMLVideoElement||B instanceof HTMLAudioElement?a.appendChild(B.cloneNode(!0)):a.appendChild(B)})}},Qe=(a,l)=>{if(!l)return!1;const g=l.split(/\s+/);for(let v=0;v{Array.from(a.classList).forEach(g=>{!Object.values(s).includes(g)&&!Object.values(r).includes(g)&&!Object.values(l.showClass).includes(g)&&a.classList.remove(g)})},at=(a,l,g)=>{if(zn(a,l),l.customClass&&l.customClass[g]){if(typeof l.customClass[g]!="string"&&!l.customClass[g].forEach){d(`Invalid type of customClass.${g}! Expected string or iterable object, got "${typeof l.customClass[g]}"`);return}I(a,l.customClass[g])}},y=(a,l)=>{if(!l)return null;switch(l){case"select":case"textarea":case"file":return a.querySelector(`.${s.popup} > .${s[l]}`);case"checkbox":return a.querySelector(`.${s.popup} > .${s.checkbox} input`);case"radio":return a.querySelector(`.${s.popup} > .${s.radio} input:checked`)||a.querySelector(`.${s.popup} > .${s.radio} input:first-child`);case"range":return a.querySelector(`.${s.popup} > .${s.range} input`);default:return a.querySelector(`.${s.popup} > .${s.input}`)}},E=a=>{if(a.focus(),a.type!=="file"){const l=a.value;a.value="",a.value=l}},M=(a,l,g)=>{!a||!l||(typeof l=="string"&&(l=l.split(/\s+/).filter(Boolean)),l.forEach(v=>{Array.isArray(a)?a.forEach(B=>{g?B.classList.add(v):B.classList.remove(v)}):g?a.classList.add(v):a.classList.remove(v)}))},I=(a,l)=>{M(a,l,!0)},j=(a,l)=>{M(a,l,!1)},J=(a,l)=>{const g=Array.from(a.children);for(let v=0;v{g===`${parseInt(g)}`&&(g=parseInt(g)),g||parseInt(g)===0?a.style[l]=typeof g=="number"?`${g}px`:g:a.style.removeProperty(l)},z=function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"flex";a.style.display=l},W=a=>{a.style.display="none"},q=(a,l,g,v)=>{const B=a.querySelector(l);B&&(B.style[g]=v)},re=function(a,l){let g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"flex";l?z(a,g):W(a)},D=a=>!!(a&&(a.offsetWidth||a.offsetHeight||a.getClientRects().length)),ae=()=>!D(se())&&!D(L())&&!D(Fe()),p=a=>a.scrollHeight>a.clientHeight,w=a=>{const l=window.getComputedStyle(a),g=parseFloat(l.getPropertyValue("animation-duration")||"0"),v=parseFloat(l.getPropertyValue("transition-duration")||"0");return g>0||v>0},_=function(a){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const g=Oe();D(g)&&(l&&(g.style.transition="none",g.style.width="100%"),setTimeout(()=>{g.style.transition=`width ${a/1e3}s linear`,g.style.width="0%"},10))},x=()=>{const a=Oe(),l=parseInt(window.getComputedStyle(a).width);a.style.removeProperty("transition"),a.style.width="100%";const g=parseInt(window.getComputedStyle(a).width),v=l/g*100;a.style.width=`${v}%`},O=100,C={},F=()=>{C.previousActiveElement instanceof HTMLElement?(C.previousActiveElement.focus(),C.previousActiveElement=null):document.body&&document.body.focus()},U=a=>new Promise(l=>{if(!a)return l();const g=window.scrollX,v=window.scrollY;C.restoreFocusTimeout=setTimeout(()=>{F(),l()},O),window.scrollTo(g,v)}),G=()=>typeof window>"u"||typeof document>"u",be=`

    `.replace(/(^|\n)\s*/g,""),he=()=>{const a=T();return a?(a.remove(),j([document.documentElement,document.body],[s["no-backdrop"],s["toast-shown"],s["has-column"]]),!0):!1},ce=()=>{C.currentInstance.resetValidationMessage()},Le=()=>{const a=te(),l=J(a,s.input),g=J(a,s.file),v=a.querySelector(`.${s.range} input`),B=a.querySelector(`.${s.range} output`),pe=J(a,s.select),Ve=a.querySelector(`.${s.checkbox} input`),Tt=J(a,s.textarea);l.oninput=ce,g.onchange=ce,pe.onchange=ce,Ve.onchange=ce,Tt.oninput=ce,v.oninput=()=>{ce(),B.value=v.value},v.onchange=()=>{ce(),B.value=v.value}},_t=a=>typeof a=="string"?document.querySelector(a):a,pt=a=>{const l=te();l.setAttribute("role",a.toast?"alert":"dialog"),l.setAttribute("aria-live",a.toast?"polite":"assertive"),a.toast||l.setAttribute("aria-modal","true")},Li=a=>{window.getComputedStyle(a).direction==="rtl"&&I(T(),s.rtl)},Ni=a=>{const l=he();if(G()){m("SweetAlert2 requires document to initialize");return}const g=document.createElement("div");g.className=s.container,l&&I(g,s["no-transition"]),lt(g,be);const v=_t(a.target);v.appendChild(g),pt(a),Li(v),Le()},el=(a,l)=>{a instanceof HTMLElement?l.appendChild(a):typeof a=="object"?d2(a,l):a&<(l,a)},d2=(a,l)=>{a.jquery?f2(l,a):lt(l,a.toString())},f2=(a,l)=>{if(a.textContent="",0 in l)for(let g=0;g in l;g++)a.appendChild(l[g].cloneNode(!0));else a.appendChild(l.cloneNode(!0))},Di=(()=>{if(G())return!1;const a=document.createElement("div"),l={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const g in l)if(Object.prototype.hasOwnProperty.call(l,g)&&typeof a.style[g]<"u")return l[g];return!1})(),p2=()=>{const a=document.createElement("div");a.className=s["scrollbar-measure"],document.body.appendChild(a);const l=a.getBoundingClientRect().width-a.clientWidth;return document.body.removeChild(a),l},h2=(a,l)=>{const g=ue(),v=N();!l.showConfirmButton&&!l.showDenyButton&&!l.showCancelButton?W(g):z(g),at(g,l,"actions"),m2(g,v,l),lt(v,l.loaderHtml),at(v,l,"loader")};function m2(a,l,g){const v=se(),B=L(),pe=Fe();tl(v,"confirm",g),tl(B,"deny",g),tl(pe,"cancel",g),g2(v,B,pe,g),g.reverseButtons&&(g.toast?(a.insertBefore(pe,v),a.insertBefore(B,v)):(a.insertBefore(pe,l),a.insertBefore(B,l),a.insertBefore(v,l)))}function g2(a,l,g,v){if(!v.buttonsStyling){j([a,l,g],s.styled);return}I([a,l,g],s.styled),v.confirmButtonColor&&(a.style.backgroundColor=v.confirmButtonColor,I(a,s["default-outline"])),v.denyButtonColor&&(l.style.backgroundColor=v.denyButtonColor,I(l,s["default-outline"])),v.cancelButtonColor&&(g.style.backgroundColor=v.cancelButtonColor,I(g,s["default-outline"]))}function tl(a,l,g){re(a,g[`show${f(l)}Button`],"inline-block"),lt(a,g[`${l}ButtonText`]),a.setAttribute("aria-label",g[`${l}ButtonAriaLabel`]),a.className=s[l],at(a,g,`${l}Button`),I(a,g[`${l}ButtonClass`])}const w2=(a,l)=>{const g=Ye();lt(g,l.closeButtonHtml),at(g,l,"closeButton"),re(g,l.showCloseButton),g.setAttribute("aria-label",l.closeButtonAriaLabel)},b2=(a,l)=>{const g=T();!g||(y2(g,l.backdrop),v2(g,l.position),_2(g,l.grow),at(g,l,"container"))};function y2(a,l){typeof l=="string"?a.style.background=l:l||I([document.documentElement,document.body],s["no-backdrop"])}function v2(a,l){l in s?I(a,s[l]):(d('The "position" parameter is not valid, defaulting to "center"'),I(a,s.center))}function _2(a,l){if(l&&typeof l=="string"){const g=`grow-${l}`;g in s&&I(a,s[g])}}const x2=["input","file","range","select","radio","checkbox","textarea"],C2=(a,l)=>{const g=te(),v=n.innerParams.get(a),B=!v||l.input!==v.input;x2.forEach(pe=>{const Ve=J(g,s[pe]);E2(pe,l.inputAttributes),Ve.className=s[pe],B&&W(Ve)}),l.input&&(B&&$2(l),A2(l))},$2=a=>{if(!Ot[a.input]){m(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${a.input}"`);return}const l=Tf(a.input),g=Ot[a.input](l,a);z(l),a.inputAutoFocus&&setTimeout(()=>{E(g)})},k2=a=>{for(let l=0;l{const g=y(te(),a);if(!!g){k2(g);for(const v in l)g.setAttribute(v,l[v])}},A2=a=>{const l=Tf(a.input);typeof a.customClass=="object"&&I(l,a.customClass.input)},nl=(a,l)=>{(!a.placeholder||l.inputPlaceholder)&&(a.placeholder=l.inputPlaceholder)},Ri=(a,l,g)=>{if(g.inputLabel){a.id=s.input;const v=document.createElement("label"),B=s["input-label"];v.setAttribute("for",a.id),v.className=B,typeof g.customClass=="object"&&I(v,g.customClass.inputLabel),v.innerText=g.inputLabel,l.insertAdjacentElement("beforebegin",v)}},Tf=a=>J(te(),s[a]||s.input),cr=(a,l)=>{["string","number"].includes(typeof l)?a.value=`${l}`:P(l)||d(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof l}"`)},Ot={};Ot.text=Ot.email=Ot.password=Ot.number=Ot.tel=Ot.url=(a,l)=>(cr(a,l.inputValue),Ri(a,a,l),nl(a,l),a.type=l.input,a),Ot.file=(a,l)=>(Ri(a,a,l),nl(a,l),a),Ot.range=(a,l)=>{const g=a.querySelector("input"),v=a.querySelector("output");return cr(g,l.inputValue),g.type=l.input,cr(v,l.inputValue),Ri(g,a,l),a},Ot.select=(a,l)=>{if(a.textContent="",l.inputPlaceholder){const g=document.createElement("option");lt(g,l.inputPlaceholder),g.value="",g.disabled=!0,g.selected=!0,a.appendChild(g)}return Ri(a,a,l),a},Ot.radio=a=>(a.textContent="",a),Ot.checkbox=(a,l)=>{const g=y(te(),"checkbox");g.value="1",g.id=s.checkbox,g.checked=Boolean(l.inputValue);const v=a.querySelector("span");return lt(v,l.inputPlaceholder),g},Ot.textarea=(a,l)=>{cr(a,l.inputValue),nl(a,l),Ri(a,a,l);const g=v=>parseInt(window.getComputedStyle(v).marginLeft)+parseInt(window.getComputedStyle(v).marginRight);return setTimeout(()=>{if("MutationObserver"in window){const v=parseInt(window.getComputedStyle(te()).width),B=()=>{const pe=a.offsetWidth+g(a);pe>v?te().style.width=`${pe}px`:te().style.width=null};new MutationObserver(B).observe(a,{attributes:!0,attributeFilter:["style"]})}}),a};const S2=(a,l)=>{const g=Ie();at(g,l,"htmlContainer"),l.html?(el(l.html,g),z(g,"block")):l.text?(g.textContent=l.text,z(g,"block")):W(g),C2(a,l)},O2=(a,l)=>{const g=ve();re(g,l.footer),l.footer&&el(l.footer,g),at(g,l,"footer")},P2=(a,l)=>{const g=n.innerParams.get(a),v=Pe();if(g&&l.icon===g.icon){Bf(v,l),Mf(v,l);return}if(!l.icon&&!l.iconHtml){W(v);return}if(l.icon&&Object.keys(r).indexOf(l.icon)===-1){m(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${l.icon}"`),W(v);return}z(v),Bf(v,l),Mf(v,l),I(v,l.showClass.icon)},Mf=(a,l)=>{for(const g in r)l.icon!==g&&j(a,r[g]);I(a,r[l.icon]),B2(a,l),I2(),at(a,l,"icon")},I2=()=>{const a=te(),l=window.getComputedStyle(a).getPropertyValue("background-color"),g=a.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let v=0;v
    `,M2=` `,Bf=(a,l)=>{let g=a.innerHTML,v;l.iconHtml?v=Lf(l.iconHtml):l.icon==="success"?(v=T2,g=g.replace(/ style=".*?"/g,"")):l.icon==="error"?v=M2:v=Lf({question:"?",warning:"!",info:"i"}[l.icon]),g.trim()!==v.trim()&<(a,v)},B2=(a,l)=>{if(!!l.iconColor){a.style.color=l.iconColor,a.style.borderColor=l.iconColor;for(const g of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])q(a,g,"backgroundColor",l.iconColor);q(a,".swal2-success-ring","borderColor",l.iconColor)}},Lf=a=>`
    ${a}
    `,L2=(a,l)=>{const g=de();if(!l.imageUrl){W(g);return}z(g,""),g.setAttribute("src",l.imageUrl),g.setAttribute("alt",l.imageAlt),Z(g,"width",l.imageWidth),Z(g,"height",l.imageHeight),g.className=s.image,at(g,l,"image")},N2=(a,l)=>{const g=T(),v=te();l.toast?(Z(g,"width",l.width),v.style.width="100%",v.insertBefore(N(),Pe())):Z(v,"width",l.width),Z(v,"padding",l.padding),l.color&&(v.style.color=l.color),l.background&&(v.style.background=l.background),W(Ce()),D2(v,l)},D2=(a,l)=>{a.className=`${s.popup} ${D(a)?l.showClass.popup:""}`,l.toast?(I([document.documentElement,document.body],s["toast-shown"]),I(a,s.toast)):I(a,s.modal),at(a,l,"popup"),typeof l.customClass=="string"&&I(a,l.customClass),l.icon&&I(a,s[`icon-${l.icon}`])},R2=(a,l)=>{const g=ie();if(!l.progressSteps||l.progressSteps.length===0){W(g);return}z(g),g.textContent="",l.currentProgressStep>=l.progressSteps.length&&d("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),l.progressSteps.forEach((v,B)=>{const pe=F2(v);if(g.appendChild(pe),B===l.currentProgressStep&&I(pe,s["active-progress-step"]),B!==l.progressSteps.length-1){const Ve=j2(l);g.appendChild(Ve)}})},F2=a=>{const l=document.createElement("li");return I(l,s["progress-step"]),lt(l,a),l},j2=a=>{const l=document.createElement("li");return I(l,s["progress-step-line"]),a.progressStepsDistance&&Z(l,"width",a.progressStepsDistance),l},U2=(a,l)=>{const g=Ee();re(g,l.title||l.titleText,"block"),l.title&&el(l.title,g),l.titleText&&(g.innerText=l.titleText),at(g,l,"title")},Nf=(a,l)=>{N2(a,l),b2(a,l),R2(a,l),P2(a,l),L2(a,l),U2(a,l),w2(a,l),S2(a,l),h2(a,l),O2(a,l),typeof l.didRender=="function"&&l.didRender(te())};function Df(){const a=n.innerParams.get(this);if(!a)return;const l=n.domCache.get(this);W(l.loader),bn()?a.icon&&z(Pe()):H2(l),j([l.popup,l.actions],s.loading),l.popup.removeAttribute("aria-busy"),l.popup.removeAttribute("data-loading"),l.confirmButton.disabled=!1,l.denyButton.disabled=!1,l.cancelButton.disabled=!1}const H2=a=>{const l=a.popup.getElementsByClassName(a.loader.getAttribute("data-button-to-replace"));l.length?z(l[0],"inline-block"):ae()&&W(a.actions)};function z2(a){const l=n.innerParams.get(a||this),g=n.domCache.get(a||this);return g?y(g.popup,l.input):null}const V2=()=>D(te()),Rf=()=>se()&&se().click(),q2=()=>L()&&L().click(),W2=()=>Fe()&&Fe().click(),jo=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ff=a=>{a.keydownTarget&&a.keydownHandlerAdded&&(a.keydownTarget.removeEventListener("keydown",a.keydownHandler,{capture:a.keydownListenerCapture}),a.keydownHandlerAdded=!1)},K2=(a,l,g,v)=>{Ff(l),g.toast||(l.keydownHandler=B=>J2(a,B,v),l.keydownTarget=g.keydownListenerCapture?window:te(),l.keydownListenerCapture=g.keydownListenerCapture,l.keydownTarget.addEventListener("keydown",l.keydownHandler,{capture:l.keydownListenerCapture}),l.keydownHandlerAdded=!0)},ol=(a,l)=>{const g=Pt();if(g.length){a=a+l,a===g.length?a=0:a===-1&&(a=g.length-1),g[a].focus();return}te().focus()},jf=["ArrowRight","ArrowDown"],G2=["ArrowLeft","ArrowUp"],J2=(a,l,g)=>{const v=n.innerParams.get(a);!v||l.isComposing||l.keyCode===229||(v.stopKeydownPropagation&&l.stopPropagation(),l.key==="Enter"?Y2(a,l,v):l.key==="Tab"?X2(l):[...jf,...G2].includes(l.key)?Z2(l.key):l.key==="Escape"&&Q2(l,v,g))},Y2=(a,l,g)=>{if(!!S(g.allowEnterKey)&&l.target&&a.getInput()&&l.target instanceof HTMLElement&&l.target.outerHTML===a.getInput().outerHTML){if(["textarea","file"].includes(g.input))return;Rf(),l.preventDefault()}},X2=a=>{const l=a.target,g=Pt();let v=-1;for(let B=0;B{const l=se(),g=L(),v=Fe(),B=[l,g,v];if(document.activeElement instanceof HTMLElement&&!B.includes(document.activeElement))return;const pe=jf.includes(a)?"nextElementSibling":"previousElementSibling";let Ve=document.activeElement;for(let Tt=0;Tt{S(l.allowEscapeKey)&&(a.preventDefault(),g(jo.esc))};var Fi={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const e$=()=>{Array.from(document.body.children).forEach(l=>{l===T()||l.contains(T())||(l.hasAttribute("aria-hidden")&&l.setAttribute("data-previous-aria-hidden",l.getAttribute("aria-hidden")),l.setAttribute("aria-hidden","true"))})},Uf=()=>{Array.from(document.body.children).forEach(l=>{l.hasAttribute("data-previous-aria-hidden")?(l.setAttribute("aria-hidden",l.getAttribute("data-previous-aria-hidden")),l.removeAttribute("data-previous-aria-hidden")):l.removeAttribute("aria-hidden")})},t$=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!Qe(document.body,s.iosfix)){const l=document.body.scrollTop;document.body.style.top=`${l*-1}px`,I(document.body,s.iosfix),o$(),n$()}},n$=()=>{const a=navigator.userAgent,l=!!a.match(/iPad/i)||!!a.match(/iPhone/i),g=!!a.match(/WebKit/i);l&&g&&!a.match(/CriOS/i)&&te().scrollHeight>window.innerHeight-44&&(T().style.paddingBottom=`${44}px`)},o$=()=>{const a=T();let l;a.ontouchstart=g=>{l=i$(g)},a.ontouchmove=g=>{l&&(g.preventDefault(),g.stopPropagation())}},i$=a=>{const l=a.target,g=T();return s$(a)||r$(a)?!1:l===g||!p(g)&&l instanceof HTMLElement&&l.tagName!=="INPUT"&&l.tagName!=="TEXTAREA"&&!(p(Ie())&&Ie().contains(l))},s$=a=>a.touches&&a.touches.length&&a.touches[0].touchType==="stylus",r$=a=>a.touches&&a.touches.length>1,a$=()=>{if(Qe(document.body,s.iosfix)){const a=parseInt(document.body.style.top,10);j(document.body,s.iosfix),document.body.style.top="",document.body.scrollTop=a*-1}},l$=()=>{vt.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(vt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${vt.previousBodyPadding+p2()}px`)},c$=()=>{vt.previousBodyPadding!==null&&(document.body.style.paddingRight=`${vt.previousBodyPadding}px`,vt.previousBodyPadding=null)};function Hf(a,l,g,v){bn()?zf(a,v):(U(g).then(()=>zf(a,v)),Ff(C)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(l.setAttribute("style","display:none !important"),l.removeAttribute("class"),l.innerHTML=""):l.remove(),It()&&(c$(),a$(),Uf()),u$()}function u$(){j([document.documentElement,document.body],[s.shown,s["height-auto"],s["no-backdrop"],s["toast-shown"]])}function ur(a){a=h$(a);const l=Fi.swalPromiseResolve.get(this),g=f$(this);this.isAwaitingPromise()?a.isDismissed||(ji(this),l(a)):g&&l(a)}function d$(){return!!n.awaitingPromise.get(this)}const f$=a=>{const l=te();if(!l)return!1;const g=n.innerParams.get(a);if(!g||Qe(l,g.hideClass.popup))return!1;j(l,g.showClass.popup),I(l,g.hideClass.popup);const v=T();return j(v,g.showClass.backdrop),I(v,g.hideClass.backdrop),m$(a,l,g),!0};function p$(a){const l=Fi.swalPromiseReject.get(this);ji(this),l&&l(a)}const ji=a=>{a.isAwaitingPromise()&&(n.awaitingPromise.delete(a),n.innerParams.get(a)||a._destroy())},h$=a=>typeof a>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},a),m$=(a,l,g)=>{const v=T(),B=Di&&w(l);typeof g.willClose=="function"&&g.willClose(l),B?g$(a,l,v,g.returnFocus,g.didClose):Hf(a,v,g.returnFocus,g.didClose)},g$=(a,l,g,v,B)=>{C.swalCloseEventFinishedCallback=Hf.bind(null,a,g,v,B),l.addEventListener(Di,function(pe){pe.target===l&&(C.swalCloseEventFinishedCallback(),delete C.swalCloseEventFinishedCallback)})},zf=(a,l)=>{setTimeout(()=>{typeof l=="function"&&l.bind(a.params)(),a._destroy()})};function Vf(a,l,g){const v=n.domCache.get(a);l.forEach(B=>{v[B].disabled=g})}function qf(a,l){if(!!a)if(a.type==="radio"){const v=a.parentNode.parentNode.querySelectorAll("input");for(let B=0;BObject.prototype.hasOwnProperty.call(Uo,a),Kf=a=>C$.indexOf(a)!==-1,il=a=>$$[a],E$=a=>{Wf(a)||d(`Unknown parameter "${a}"`)},A$=a=>{k$.includes(a)&&d(`The parameter "${a}" is incompatible with toasts`)},S$=a=>{il(a)&&A(a,il(a))},O$=a=>{a.backdrop===!1&&a.allowOutsideClick&&d('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const l in a)E$(l),a.toast&&A$(l),S$(l)};function P$(a){const l=te(),g=n.innerParams.get(this);if(!l||Qe(l,g.hideClass.popup)){d("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=I$(a),B=Object.assign({},g,v);Nf(this,B),n.innerParams.set(this,B),Object.defineProperties(this,{params:{value:Object.assign({},this.params,a),writable:!1,enumerable:!0}})}const I$=a=>{const l={};return Object.keys(a).forEach(g=>{Kf(g)?l[g]=a[g]:d(`Invalid parameter to update: ${g}`)}),l};function T$(){const a=n.domCache.get(this),l=n.innerParams.get(this);if(!l){Gf(this);return}a.popup&&C.swalCloseEventFinishedCallback&&(C.swalCloseEventFinishedCallback(),delete C.swalCloseEventFinishedCallback),typeof l.didDestroy=="function"&&l.didDestroy(),M$(this)}const M$=a=>{Gf(a),delete a.params,delete C.keydownHandler,delete C.keydownTarget,delete C.currentInstance},Gf=a=>{a.isAwaitingPromise()?(sl(n,a),n.awaitingPromise.set(a,!0)):(sl(Fi,a),sl(n,a))},sl=(a,l)=>{for(const g in a)a[g].delete(l)};var Jf=Object.freeze({__proto__:null,_destroy:T$,close:ur,closeModal:ur,closePopup:ur,closeToast:ur,disableButtons:b$,disableInput:v$,disableLoading:Df,enableButtons:w$,enableInput:y$,getInput:z2,handleAwaitingPromise:ji,hideLoading:Df,isAwaitingPromise:d$,rejectPromise:p$,resetValidationMessage:x$,showValidationMessage:_$,update:P$});const Ho=a=>{let l=te();l||new fr,l=te();const g=N();bn()?W(Pe()):B$(l,a),z(g),l.setAttribute("data-loading","true"),l.setAttribute("aria-busy","true"),l.focus()},B$=(a,l)=>{const g=ue(),v=N();!l&&D(se())&&(l=se()),z(g),l&&(W(l),v.setAttribute("data-button-to-replace",l.className)),v.parentNode.insertBefore(v,l),I([a,g],s.loading)},L$=(a,l)=>{l.input==="select"||l.input==="radio"?j$(a,l):["text","email","number","tel","textarea"].includes(l.input)&&(R(l.inputValue)||P(l.inputValue))&&(Ho(se()),U$(a,l))},N$=(a,l)=>{const g=a.getInput();if(!g)return null;switch(l.input){case"checkbox":return D$(g);case"radio":return R$(g);case"file":return F$(g);default:return l.inputAutoTrim?g.value.trim():g.value}},D$=a=>a.checked?1:0,R$=a=>a.checked?a.value:null,F$=a=>a.files.length?a.getAttribute("multiple")!==null?a.files:a.files[0]:null,j$=(a,l)=>{const g=te(),v=B=>{H$[l.input](g,rl(B),l)};R(l.inputOptions)||P(l.inputOptions)?(Ho(se()),V(l.inputOptions).then(B=>{a.hideLoading(),v(B)})):typeof l.inputOptions=="object"?v(l.inputOptions):m(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof l.inputOptions}`)},U$=(a,l)=>{const g=a.getInput();W(g),V(l.inputValue).then(v=>{g.value=l.input==="number"?`${parseFloat(v)||0}`:`${v}`,z(g),g.focus(),a.hideLoading()}).catch(v=>{m(`Error in inputValue promise: ${v}`),g.value="",z(g),g.focus(),a.hideLoading()})},H$={select:(a,l,g)=>{const v=J(a,s.select),B=(pe,Ve,Tt)=>{const xt=document.createElement("option");xt.value=Tt,lt(xt,Ve),xt.selected=Yf(Tt,g.inputValue),pe.appendChild(xt)};l.forEach(pe=>{const Ve=pe[0],Tt=pe[1];if(Array.isArray(Tt)){const xt=document.createElement("optgroup");xt.label=Ve,xt.disabled=!1,v.appendChild(xt),Tt.forEach(Vo=>B(xt,Vo[1],Vo[0]))}else B(v,Tt,Ve)}),v.focus()},radio:(a,l,g)=>{const v=J(a,s.radio);l.forEach(pe=>{const Ve=pe[0],Tt=pe[1],xt=document.createElement("input"),Vo=document.createElement("label");xt.type="radio",xt.name=s.radio,xt.value=Ve,Yf(Ve,g.inputValue)&&(xt.checked=!0);const ul=document.createElement("span");lt(ul,Tt),ul.className=s.label,Vo.appendChild(xt),Vo.appendChild(ul),v.appendChild(Vo)});const B=v.querySelectorAll("input");B.length&&B[0].focus()}},rl=a=>{const l=[];return typeof Map<"u"&&a instanceof Map?a.forEach((g,v)=>{let B=g;typeof B=="object"&&(B=rl(B)),l.push([v,B])}):Object.keys(a).forEach(g=>{let v=a[g];typeof v=="object"&&(v=rl(v)),l.push([g,v])}),l},Yf=(a,l)=>l&&l.toString()===a.toString(),z$=a=>{const l=n.innerParams.get(a);a.disableButtons(),l.input?Xf(a,"confirm"):ll(a,!0)},V$=a=>{const l=n.innerParams.get(a);a.disableButtons(),l.returnInputValueOnDeny?Xf(a,"deny"):al(a,!1)},q$=(a,l)=>{a.disableButtons(),l(jo.cancel)},Xf=(a,l)=>{const g=n.innerParams.get(a);if(!g.input){m(`The "input" parameter is needed to be set when using returnInputValueOn${f(l)}`);return}const v=N$(a,g);g.inputValidator?W$(a,v,l):a.getInput().checkValidity()?l==="deny"?al(a,v):ll(a,v):(a.enableButtons(),a.showValidationMessage(g.validationMessage))},W$=(a,l,g)=>{const v=n.innerParams.get(a);a.disableInput(),Promise.resolve().then(()=>V(v.inputValidator(l,v.validationMessage))).then(pe=>{a.enableButtons(),a.enableInput(),pe?a.showValidationMessage(pe):g==="deny"?al(a,l):ll(a,l)})},al=(a,l)=>{const g=n.innerParams.get(a||void 0);g.showLoaderOnDeny&&Ho(L()),g.preDeny?(n.awaitingPromise.set(a||void 0,!0),Promise.resolve().then(()=>V(g.preDeny(l,g.validationMessage))).then(B=>{B===!1?(a.hideLoading(),ji(a)):a.close({isDenied:!0,value:typeof B>"u"?l:B})}).catch(B=>Qf(a||void 0,B))):a.close({isDenied:!0,value:l})},Zf=(a,l)=>{a.close({isConfirmed:!0,value:l})},Qf=(a,l)=>{a.rejectPromise(l)},ll=(a,l)=>{const g=n.innerParams.get(a||void 0);g.showLoaderOnConfirm&&Ho(),g.preConfirm?(a.resetValidationMessage(),n.awaitingPromise.set(a||void 0,!0),Promise.resolve().then(()=>V(g.preConfirm(l,g.validationMessage))).then(B=>{D(Ce())||B===!1?(a.hideLoading(),ji(a)):Zf(a,typeof B>"u"?l:B)}).catch(B=>Qf(a||void 0,B))):Zf(a,l)},K$=(a,l,g)=>{n.innerParams.get(a).toast?G$(a,l,g):(Y$(l),X$(l),Z$(a,l,g))},G$=(a,l,g)=>{l.popup.onclick=()=>{const v=n.innerParams.get(a);v&&(J$(v)||v.timer||v.input)||g(jo.close)}},J$=a=>a.showConfirmButton||a.showDenyButton||a.showCancelButton||a.showCloseButton;let dr=!1;const Y$=a=>{a.popup.onmousedown=()=>{a.container.onmouseup=function(l){a.container.onmouseup=void 0,l.target===a.container&&(dr=!0)}}},X$=a=>{a.container.onmousedown=()=>{a.popup.onmouseup=function(l){a.popup.onmouseup=void 0,(l.target===a.popup||a.popup.contains(l.target))&&(dr=!0)}}},Z$=(a,l,g)=>{l.container.onclick=v=>{const B=n.innerParams.get(a);if(dr){dr=!1;return}v.target===l.container&&S(B.allowOutsideClick)&&g(jo.backdrop)}},Q$=a=>typeof a=="object"&&a.jquery,ep=a=>a instanceof Element||Q$(a),ek=a=>{const l={};return typeof a[0]=="object"&&!ep(a[0])?Object.assign(l,a[0]):["title","html","icon"].forEach((g,v)=>{const B=a[v];typeof B=="string"||ep(B)?l[g]=B:B!==void 0&&m(`Unexpected type of ${g}! Expected "string" or "Element", got ${typeof B}`)}),l};function tk(){const a=this;for(var l=arguments.length,g=new Array(l),v=0;vC.timeout&&C.timeout.getTimerLeft(),tp=()=>{if(C.timeout)return x(),C.timeout.stop()},np=()=>{if(C.timeout){const a=C.timeout.start();return _(a),a}},ik=()=>{const a=C.timeout;return a&&(a.running?tp():np())},sk=a=>{if(C.timeout){const l=C.timeout.increase(a);return _(l,!0),l}},rk=()=>C.timeout&&C.timeout.isRunning();let op=!1;const cl={};function ak(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"data-swal-template";cl[a]=this,op||(document.body.addEventListener("click",lk),op=!0)}const lk=a=>{for(let l=a.target;l&&l!==document;l=l.parentNode)for(const g in cl){const v=l.getAttribute(g);if(v){cl[g].fire({template:v});return}}};var ck=Object.freeze({__proto__:null,argsToParams:ek,bindClickHandler:ak,clickCancel:W2,clickConfirm:Rf,clickDeny:q2,enableLoading:Ho,fire:tk,getActions:ue,getCancelButton:Fe,getCloseButton:Ye,getConfirmButton:se,getContainer:T,getDenyButton:L,getFocusableElements:Pt,getFooter:ve,getHtmlContainer:Ie,getIcon:Pe,getIconContent:ke,getImage:de,getInputLabel:K,getLoader:N,getPopup:te,getProgressSteps:ie,getTimerLeft:ok,getTimerProgressBar:Oe,getTitle:Ee,getValidationMessage:Ce,increaseTimer:sk,isDeprecatedParameter:il,isLoading:yt,isTimerRunning:rk,isUpdatableParameter:Kf,isValidParameter:Wf,isVisible:V2,mixin:nk,resumeTimer:np,showLoading:Ho,stopTimer:tp,toggleTimer:ik});class uk{constructor(l,g){this.callback=l,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(l){const g=this.running;return g&&this.stop(),this.remaining+=l,g&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const ip=["swal-title","swal-html","swal-footer"],dk=a=>{const l=typeof a.template=="string"?document.querySelector(a.template):a.template;if(!l)return{};const g=l.content;return yk(g),Object.assign(fk(g),pk(g),hk(g),mk(g),gk(g),wk(g),bk(g,ip))},fk=a=>{const l={};return Array.from(a.querySelectorAll("swal-param")).forEach(v=>{yo(v,["name","value"]);const B=v.getAttribute("name"),pe=v.getAttribute("value");typeof Uo[B]=="boolean"?l[B]=pe!=="false":typeof Uo[B]=="object"?l[B]=JSON.parse(pe):l[B]=pe}),l},pk=a=>{const l={};return Array.from(a.querySelectorAll("swal-function-param")).forEach(v=>{const B=v.getAttribute("name"),pe=v.getAttribute("value");l[B]=new Function(`return ${pe}`)()}),l},hk=a=>{const l={};return Array.from(a.querySelectorAll("swal-button")).forEach(v=>{yo(v,["type","color","aria-label"]);const B=v.getAttribute("type");l[`${B}ButtonText`]=v.innerHTML,l[`show${f(B)}Button`]=!0,v.hasAttribute("color")&&(l[`${B}ButtonColor`]=v.getAttribute("color")),v.hasAttribute("aria-label")&&(l[`${B}ButtonAriaLabel`]=v.getAttribute("aria-label"))}),l},mk=a=>{const l={},g=a.querySelector("swal-image");return g&&(yo(g,["src","width","height","alt"]),g.hasAttribute("src")&&(l.imageUrl=g.getAttribute("src")),g.hasAttribute("width")&&(l.imageWidth=g.getAttribute("width")),g.hasAttribute("height")&&(l.imageHeight=g.getAttribute("height")),g.hasAttribute("alt")&&(l.imageAlt=g.getAttribute("alt"))),l},gk=a=>{const l={},g=a.querySelector("swal-icon");return g&&(yo(g,["type","color"]),g.hasAttribute("type")&&(l.icon=g.getAttribute("type")),g.hasAttribute("color")&&(l.iconColor=g.getAttribute("color")),l.iconHtml=g.innerHTML),l},wk=a=>{const l={},g=a.querySelector("swal-input");g&&(yo(g,["type","label","placeholder","value"]),l.input=g.getAttribute("type")||"text",g.hasAttribute("label")&&(l.inputLabel=g.getAttribute("label")),g.hasAttribute("placeholder")&&(l.inputPlaceholder=g.getAttribute("placeholder")),g.hasAttribute("value")&&(l.inputValue=g.getAttribute("value")));const v=Array.from(a.querySelectorAll("swal-input-option"));return v.length&&(l.inputOptions={},v.forEach(B=>{yo(B,["value"]);const pe=B.getAttribute("value"),Ve=B.innerHTML;l.inputOptions[pe]=Ve})),l},bk=(a,l)=>{const g={};for(const v in l){const B=l[v],pe=a.querySelector(B);pe&&(yo(pe,[]),g[B.replace(/^swal-/,"")]=pe.innerHTML.trim())}return g},yk=a=>{const l=ip.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(a.children).forEach(g=>{const v=g.tagName.toLowerCase();l.includes(v)||d(`Unrecognized element <${v}>`)})},yo=(a,l)=>{Array.from(a.attributes).forEach(g=>{l.indexOf(g.name)===-1&&d([`Unrecognized attribute "${g.name}" on <${a.tagName.toLowerCase()}>.`,`${l.length?`Allowed attributes are: ${l.join(", ")}`:"To set the value, use HTML within the element."}`])})},sp=10,vk=a=>{const l=T(),g=te();typeof a.willOpen=="function"&&a.willOpen(g);const B=window.getComputedStyle(document.body).overflowY;Ck(l,g,a),setTimeout(()=>{_k(l,g)},sp),It()&&(xk(l,a.scrollbarPadding,B),e$()),!bn()&&!C.previousActiveElement&&(C.previousActiveElement=document.activeElement),typeof a.didOpen=="function"&&setTimeout(()=>a.didOpen(g)),j(l,s["no-transition"])},rp=a=>{const l=te();if(a.target!==l)return;const g=T();l.removeEventListener(Di,rp),g.style.overflowY="auto"},_k=(a,l)=>{Di&&w(l)?(a.style.overflowY="hidden",l.addEventListener(Di,rp)):a.style.overflowY="auto"},xk=(a,l,g)=>{t$(),l&&g!=="hidden"&&l$(),setTimeout(()=>{a.scrollTop=0})},Ck=(a,l,g)=>{I(a,g.showClass.backdrop),l.style.setProperty("opacity","0","important"),z(l,"grid"),setTimeout(()=>{I(l,g.showClass.popup),l.style.removeProperty("opacity")},sp),I([document.documentElement,document.body],s.shown),g.heightAuto&&g.backdrop&&!g.toast&&I([document.documentElement,document.body],s["height-auto"])};var ap={email:(a,l)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(a)?Promise.resolve():Promise.resolve(l||"Invalid email address"),url:(a,l)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(a)?Promise.resolve():Promise.resolve(l||"Invalid URL")};function $k(a){a.inputValidator||Object.keys(ap).forEach(l=>{a.input===l&&(a.inputValidator=ap[l])})}function kk(a){(!a.target||typeof a.target=="string"&&!document.querySelector(a.target)||typeof a.target!="string"&&!a.target.appendChild)&&(d('Target parameter is not valid, defaulting to "body"'),a.target="body")}function Ek(a){$k(a),a.showLoaderOnConfirm&&!a.preConfirm&&d(`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`),kk(a),typeof a.title=="string"&&(a.title=a.title.split(` `).join("
    ")),Ni(a)}let en;class zo{constructor(){if(typeof window>"u")return;en=this;for(var l=arguments.length,g=new Array(l),v=0;v1&&arguments[1]!==void 0?arguments[1]:{};O$(Object.assign({},g,l)),C.currentInstance&&(C.currentInstance._destroy(),It()&&Uf()),C.currentInstance=en;const v=Sk(l,g);Ek(v),Object.freeze(v),C.timeout&&(C.timeout.stop(),delete C.timeout),clearTimeout(C.restoreFocusTimeout);const B=Ok(en);return Nf(en,v),n.innerParams.set(en,v),Ak(en,B,v)}then(l){return n.promise.get(this).then(l)}finally(l){return n.promise.get(this).finally(l)}}const Ak=(a,l,g)=>new Promise((v,B)=>{const pe=Ve=>{a.close({isDismissed:!0,dismiss:Ve})};Fi.swalPromiseResolve.set(a,v),Fi.swalPromiseReject.set(a,B),l.confirmButton.onclick=()=>{z$(a)},l.denyButton.onclick=()=>{V$(a)},l.cancelButton.onclick=()=>{q$(a,pe)},l.closeButton.onclick=()=>{pe(jo.close)},K$(a,l,pe),K2(a,C,g,pe),L$(a,g),vk(g),Pk(C,g,pe),Ik(l,g),setTimeout(()=>{l.container.scrollTop=0})}),Sk=(a,l)=>{const g=dk(a),v=Object.assign({},Uo,l,g,a);return v.showClass=Object.assign({},Uo.showClass,v.showClass),v.hideClass=Object.assign({},Uo.hideClass,v.hideClass),v},Ok=a=>{const l={popup:te(),container:T(),actions:ue(),confirmButton:se(),denyButton:L(),cancelButton:Fe(),loader:N(),closeButton:Ye(),validationMessage:Ce(),progressSteps:ie()};return n.domCache.set(a,l),l},Pk=(a,l,g)=>{const v=Oe();W(v),l.timer&&(a.timeout=new uk(()=>{g("timer"),delete a.timeout},l.timer),l.timerProgressBar&&(z(v),at(v,l,"timerProgressBar"),setTimeout(()=>{a.timeout&&a.timeout.running&&_(l.timer)})))},Ik=(a,l)=>{if(!l.toast){if(!S(l.allowEnterKey)){Mk();return}Tk(a,l)||ol(-1,1)}},Tk=(a,l)=>l.focusDeny&&D(a.denyButton)?(a.denyButton.focus(),!0):l.focusCancel&&D(a.cancelButton)?(a.cancelButton.focus(),!0):l.focusConfirm&&D(a.confirmButton)?(a.confirmButton.focus(),!0):!1,Mk=()=>{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 a=new Date,l=localStorage.getItem("swal-initiation");l?(a.getTime()-Date.parse(l))/(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",`${a}`)}Object.assign(zo.prototype,Jf),Object.assign(zo,ck),Object.keys(Jf).forEach(a=>{zo[a]=function(){if(en)return en[a](...arguments)}}),zo.DismissReason=jo,zo.version="11.7.2";const fr=zo;return fr.default=fr,fr}),typeof vn<"u"&&vn.Sweetalert2&&(vn.swal=vn.sweetAlert=vn.Swal=vn.SweetAlert=vn.Sweetalert2),typeof document<"u"&&function(n,o){var i=n.createElement("style");if(n.getElementsByTagName("head")[0].appendChild(i),i.styleSheet)i.styleSheet.disabled||(i.styleSheet.cssText=o);else try{i.innerHTML=o}catch{i.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}')})(gl);const me=gl.exports,wp=["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"],bp=["jpg","jpeg","png","gif","bmp","svg"],yp=["mp3","wav","wma","ogg","ape","flac","aac"];function mr(e,...t){return new e(t[0])}function Ko(){return Math.floor(Date.now()/1e3)}function wl(e,t,n="text/plain"){const o=document.createElement("a");document.body.appendChild(o),o.setAttribute("style","display:none");const i=new Blob([e],{type:n}),s=window.URL.createObjectURL(i);o.href=s,o.download=t,o.click(),window.URL.revokeObjectURL(s)}function Go(e){if(typeof Wo=="function")return Wo(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 bl(e){return/^magnet:\?xt=urn:btih/.test(e)}function yl(e){return/^ed2k:\/\/\|file\|/.test(e)}function vl(e){return`magnet:?xt=urn:btih:${e.toUpperCase()}`}function vp(e){const t=e.match(/([a-z\d]{32,40})/i);return t?t[1]:""}function _p(e,t=!0){return(t?/^([a-z\d]{32})$|^([a-z\d]{40})$/i:/^[a-z\d]{32,40}$/i).test(e)}function xp(e,t=location.href){const n=new RegExp("(\\?|#|&)"+e+"=([^&#]*)(&|#|$)"),o=t.match(n);return o?o[2]:""}function _l(e,t=2){if(Number.isNaN(e)||(e=typeof e=="string"?parseInt(e):e,!e))return"0";const n=1024,o=t,i=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],s=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,s)).toFixed(o))+" "+i[s]}function xl(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("无效的文件大小!");const i=parseFloat(o[1]),s=o[2].toUpperCase(),r=t.indexOf(s);if(r<0)throw new Error("无效的文件大小!");return i*Math.pow(1024,r)}function Cl(e,t=document,n=XPathResult.ORDERED_NODE_SNAPSHOT_TYPE){const o=[],i=document.evaluate(e,t,null,n,null);for(let s=0;s{if(o){const s=Cl(e);return s.length>0?s:!1}else{const s=document.querySelectorAll(e);return s.length?Array.from(s):!1}};try{return await $l(i,t,n)}catch(s){throw console.warn("[find]",s),new Error(`查找元素超时:${e}`)}}async function _n(e,t=100,n=12e4){const o=e.indexOf("//")===0,i=async()=>{if(o){const s=Cl(e);return s.length>0?s:!1}else{const s=unsafeWindow.$(e);return s.length?s:!1}};try{return await $l(i,t,n)}catch(s){throw console.warn("[find]",s),new Error(`查找元素超时:${e}`)}}async function $l(e,t,n){return new Promise(async(o,i)=>{if(typeof e!="function"){i("提供的参数`fulfill`不是一个Function!");return}const s=await e();if(s){o(s);return}let r=setInterval(async()=>{const u=await e();u&&(clearTimeout(c),clearInterval(r),o(u))},t),c=setTimeout(()=>{clearInterval(r),i("超时")},n)})}async function zt(e){return new Promise(t=>{setTimeout(t,e)})}function kl(e){const t=new URLSearchParams;let n;for(n in e)t.append(n,e[n].toString());return t.toString()}async function ge(e){return me.fire({toast:!0,position:"top",showConfirmButton:!1,timer:3e3,timerProgressBar:!0,didOpen:t=>{t.addEventListener("mouseenter",me.stopTimer),t.addEventListener("mouseleave",me.resumeTimer)},...e})}function Hi(e,t){t=t||window,t.postMessage(e)}function Vn(e,t,n){if(n){const o=Ui(e,{});hr(e,{...o,...t})}else hr(e,t)}function qn(e,t,n){let o;return function(...i){const s=()=>{o=void 0,n||e.apply(this,i)},r=n&&o===void 0;clearTimeout(o),o=setTimeout(s,t),r&&e.apply(this,i)}}function Cp(e){return e?wp.indexOf(e.toLowerCase())>-1:!1}function $p(e){return e?bp.indexOf(e.toLowerCase())>-1:!1}function kp(e){return e?yp.indexOf(e.toLowerCase())>-1:!1}var Ae=(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))(Ae||{}),Yo=(e=>(e.listItemHover="列表项悬浮菜单",e.listItemHoverSub="列表项悬浮子菜单",e.listItemContext="列表项右键菜单",e.listItemContextSub="列表项右键子菜单",e.selection="选中项菜单",e.selectionSub="选中项子菜单",e.dirContext="当前目录右键菜单",e.dirContextSub="当前目录右键子菜单",e))(Yo||{}),Wn=(e=>(e[e.after=0]="after",e[e.before=1]="before",e))(Wn||{});const dt={get:async(e,t)=>Ui(e,t),set:async(e,t)=>hr(e,t),remove:async e=>mp(e)},El="clouddrive_configs";function gr(e){return{active:!1,url:"http://localhost:19798",root:"/115",memo:"",...e}}async function Al(){const e=[gr()],t=await dt.get(El,e);return t||e}async function Sl(e){e.some(t=>t.active)||(e[0].active=!0),await dt.set(El,e)}async function zi(){return(await Al()).find(t=>t.active)||gr()}var wr=(e=>(e.play="play",e.download="download",e))(wr||{});function Ol(e){return e.startsWith("file://")}async function Vi(e,t,n){let{url:o,root:i}=e;if(!o)throw new Error("未设置CloudDrive地址!");(o.startsWith("/")||o.startsWith("\\"))&&(o=`file:///${o}`),Ol(o);const s=/^https?:\/\//.test(o);if(s&&!i)throw new Error("当协议为http/https时,必须设置CloudDrive资源根路径!");i&&(i=i.replace(/^(\/+)?/g,"/")),t=t.replace(/^(\/+)?/g,"/");const r=`${i}${t}`,c=n==="play"?"True":"False";let u="";return s?u=`${o}/static/${o.replace("://","/")}/${c}/${encodeURIComponent(r)}`:(o=o.replace(/\/+$/,""),u=`${o}${r}`),console.log("[Cloud115 Enhancer] buildCloudDriveUrl",u),u}async function Pl(e,t){let{url:n,root:o}=e;if(!n)throw new Error("未设置CloudDrive地址!");return(n.startsWith("/")||n.startsWith("\\"))&&(n=`file:///${n}`),Ol(n)?await Vi(e,t,"play"):await Vi(e,t,"play")+".clfsplaylist.m3u"}var Co=(e=>(e[e.failed=-1]="failed",e[e.illegal=0]="illegal",e[e.ing=1]="ing",e[e.success=2]="success",e))(Co||{}),Ct=(e=>(e.all="all",e.failed="failed",e.success="success",e.magnet="magnet",e.magnetEd2k="magnetEd2k",e))(Ct||{}),Il=(e=>(e[e.true=1]="true",e[e.false=0]="false",e))(Il||{}),ht=(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))(ht||{}),Ze=(e=>(e.all="全部",e.video="视频",e.audio="音频",e.image="图片",e.doc="文档",e.app="应用",e.archive="压缩包",e))(Ze||{}),Tl=(e=>(e.userPtime="user_ptime",e.fileName="file_name",e.fileSize="file_size",e.fileType="file_type",e))(Tl||{});function Ep(e){return{offset:0,limit:1150,aid:1,cid:"",format:"json",o:"user_ptime",asc:0,search_value:"",...e}}function Ml(e){return{aid:1,cid:"",o:"user_ptime",asc:0,offset:0,show_dir:1,limit:115,natsort:0,format:"json",...e}}function Bl(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ll}=Object.prototype,{getPrototypeOf:br}=Object,yr=(e=>t=>{const n=Ll.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),tn=e=>(e=e.toLowerCase(),t=>yr(t)===e),qi=e=>t=>typeof t===e,{isArray:$o}=Array,Xo=qi("undefined");function Ap(e){return e!==null&&!Xo(e)&&e.constructor!==null&&!Xo(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Nl=tn("ArrayBuffer");function Sp(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Nl(e.buffer),t}const Op=qi("string"),xn=qi("function"),Dl=qi("number"),vr=e=>e!==null&&typeof e=="object",Pp=e=>e===!0||e===!1,Wi=e=>{if(yr(e)!=="object")return!1;const t=br(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ip=tn("Date"),Tp=tn("File"),Mp=tn("Blob"),Bp=tn("FileList"),Lp=e=>vr(e)&&xn(e.pipe),Np=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Ll.call(e)===t||xn(e.toString)&&e.toString()===t)},Dp=tn("URLSearchParams"),Rp=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zo(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,i;if(typeof e!="object"&&(e=[e]),$o(e))for(o=0,i=e.length;o0;)if(i=n[o],t===i.toLowerCase())return i;return null}const Fl=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),jl=e=>!Xo(e)&&e!==Fl;function _r(){const{caseless:e}=jl(this)&&this||{},t={},n=(o,i)=>{const s=e&&Rl(t,i)||i;Wi(t[s])&&Wi(o)?t[s]=_r(t[s],o):Wi(o)?t[s]=_r({},o):$o(o)?t[s]=o.slice():t[s]=o};for(let o=0,i=arguments.length;o(Zo(t,(i,s)=>{n&&xn(i)?e[s]=Bl(i,n):e[s]=i},{allOwnKeys:o}),e),jp=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Up=(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)},Hp=(e,t,n,o)=>{let i,s,r;const c={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),s=i.length;s-- >0;)r=i[s],(!o||o(r,e,t))&&!c[r]&&(t[r]=e[r],c[r]=!0);e=n!==!1&&br(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},zp=(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},Vp=e=>{if(!e)return null;if($o(e))return e;let t=e.length;if(!Dl(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},qp=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&br(Uint8Array)),Wp=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let i;for(;(i=o.next())&&!i.done;){const s=i.value;t.call(e,s[0],s[1])}},Kp=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},Gp=tn("HTMLFormElement"),Jp=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,i){return o.toUpperCase()+i}),Ul=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Yp=tn("RegExp"),Hl=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Zo(n,(i,s)=>{t(i,s,e)!==!1&&(o[s]=i)}),Object.defineProperties(e,o)},Xp=e=>{Hl(e,(t,n)=>{if(xn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(!!xn(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+"'")})}})},Zp=(e,t)=>{const n={},o=i=>{i.forEach(s=>{n[s]=!0})};return $o(e)?o(e):o(String(e).split(t)),n},Qp=()=>{},eh=(e,t)=>(e=+e,Number.isFinite(e)?e:t),xr="abcdefghijklmnopqrstuvwxyz",zl="0123456789",Vl={DIGIT:zl,ALPHA:xr,ALPHA_DIGIT:xr+xr.toUpperCase()+zl},th=(e=16,t=Vl.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function nh(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const H={isArray:$o,isArrayBuffer:Nl,isBuffer:Ap,isFormData:Np,isArrayBufferView:Sp,isString:Op,isNumber:Dl,isBoolean:Pp,isObject:vr,isPlainObject:Wi,isUndefined:Xo,isDate:Ip,isFile:Tp,isBlob:Mp,isRegExp:Yp,isFunction:xn,isStream:Lp,isURLSearchParams:Dp,isTypedArray:qp,isFileList:Bp,forEach:Zo,merge:_r,extend:Fp,trim:Rp,stripBOM:jp,inherits:Up,toFlatObject:Hp,kindOf:yr,kindOfTest:tn,endsWith:zp,toArray:Vp,forEachEntry:Wp,matchAll:Kp,isHTMLForm:Gp,hasOwnProperty:Ul,hasOwnProp:Ul,reduceDescriptors:Hl,freezeMethods:Xp,toObjectSet:Zp,toCamelCase:Jp,noop:Qp,toFiniteNumber:eh,findKey:Rl,global:Fl,isContextDefined:jl,ALPHABET:Vl,generateString:th,isSpecCompliantForm:nh,toJSONObject:e=>{const t=new Array(10),n=(o,i)=>{if(vr(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[i]=o;const s=$o(o)?[]:{};return Zo(o,(r,c)=>{const u=n(r,i+1);!Xo(u)&&(s[c]=u)}),t[i]=void 0,s}}return o};return n(e,0)}};function De(e,t,n,o,i){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),i&&(this.response=i)}H.inherits(De,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:H.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ql=De.prototype,Wl={};["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=>{Wl[e]={value:e}}),Object.defineProperties(De,Wl),Object.defineProperty(ql,"isAxiosError",{value:!0}),De.from=(e,t,n,o,i,s)=>{const r=Object.create(ql);return H.toFlatObject(e,r,function(u){return u!==Error.prototype},c=>c!=="isAxiosError"),De.call(r,e.message,t,n,o,i),r.cause=e,r.name=e.name,s&&Object.assign(r,s),r};const oh=null;function Cr(e){return H.isPlainObject(e)||H.isArray(e)}function Kl(e){return H.endsWith(e,"[]")?e.slice(0,-2):e}function Gl(e,t,n){return e?e.concat(t).map(function(i,s){return i=Kl(i),!n&&s?"["+i+"]":i}).join(n?".":""):t}function ih(e){return H.isArray(e)&&!e.some(Cr)}const sh=H.toFlatObject(H,{},null,function(t){return/^is[A-Z]/.test(t)});function Ki(e,t,n){if(!H.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=H.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,R){return!H.isUndefined(R[S])});const o=n.metaTokens,i=n.visitor||d,s=n.dots,r=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&H.isSpecCompliantForm(t);if(!H.isFunction(i))throw new TypeError("visitor must be a function");function f(A){if(A===null)return"";if(H.isDate(A))return A.toISOString();if(!u&&H.isBlob(A))throw new De("Blob is not supported. Use a Buffer instead.");return H.isArrayBuffer(A)||H.isTypedArray(A)?u&&typeof Blob=="function"?new Blob([A]):Buffer.from(A):A}function d(A,S,R){let V=A;if(A&&!R&&typeof A=="object"){if(H.endsWith(S,"{}"))S=o?S:S.slice(0,-2),A=JSON.stringify(A);else if(H.isArray(A)&&ih(A)||(H.isFileList(A)||H.endsWith(S,"[]"))&&(V=H.toArray(A)))return S=Kl(S),V.forEach(function(T,X){!(H.isUndefined(T)||T===null)&&t.append(r===!0?Gl([S],X,s):r===null?S:S+"[]",f(T))}),!1}return Cr(A)?!0:(t.append(Gl(R,S,s),f(A)),!1)}const m=[],b=Object.assign(sh,{defaultVisitor:d,convertValue:f,isVisitable:Cr});function k(A,S){if(!H.isUndefined(A)){if(m.indexOf(A)!==-1)throw Error("Circular reference detected in "+S.join("."));m.push(A),H.forEach(A,function(V,P){(!(H.isUndefined(V)||V===null)&&i.call(t,V,H.isString(P)?P.trim():P,S,b))===!0&&k(V,S?S.concat(P):[P])}),m.pop()}}if(!H.isObject(e))throw new TypeError("data must be an object");return k(e),t}function Jl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function $r(e,t){this._pairs=[],e&&Ki(e,this,t)}const Yl=$r.prototype;Yl.append=function(t,n){this._pairs.push([t,n])},Yl.toString=function(t){const n=t?function(o){return t.call(this,o,Jl)}:Jl;return this._pairs.map(function(i){return n(i[0])+"="+n(i[1])},"").join("&")};function rh(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xl(e,t,n){if(!t)return e;const o=n&&n.encode||rh,i=n&&n.serialize;let s;if(i?s=i(t,n):s=H.isURLSearchParams(t)?t.toString():new $r(t,n).toString(o),s){const r=e.indexOf("#");r!==-1&&(e=e.slice(0,r)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class ah{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){H.forEach(this.handlers,function(o){o!==null&&t(o)})}}const Zl=ah,Ql={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},lh=typeof URLSearchParams<"u"?URLSearchParams:$r,ch=typeof FormData<"u"?FormData:null,uh=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),dh=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Vt={isBrowser:!0,classes:{URLSearchParams:lh,FormData:ch,Blob},isStandardBrowserEnv:uh,isStandardBrowserWebWorkerEnv:dh,protocols:["http","https","file","blob","url","data"]};function fh(e,t){return Ki(e,new Vt.classes.URLSearchParams,Object.assign({visitor:function(n,o,i,s){return Vt.isNode&&H.isBuffer(n)?(this.append(o,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function ph(e){return H.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function hh(e){const t={},n=Object.keys(e);let o;const i=n.length;let s;for(o=0;o=n.length;return r=!r&&H.isArray(i)?i.length:r,u?(H.hasOwnProp(i,r)?i[r]=[i[r],o]:i[r]=o,!c):((!i[r]||!H.isObject(i[r]))&&(i[r]=[]),t(n,o,i[r],s)&&H.isArray(i[r])&&(i[r]=hh(i[r])),!c)}if(H.isFormData(e)&&H.isFunction(e.entries)){const n={};return H.forEachEntry(e,(o,i)=>{t(ph(o),i,n,0)}),n}return null}const mh={"Content-Type":void 0};function gh(e,t,n){if(H.isString(e))try{return(t||JSON.parse)(e),H.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const Gi={transitional:Ql,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",i=o.indexOf("application/json")>-1,s=H.isObject(t);if(s&&H.isHTMLForm(t)&&(t=new FormData(t)),H.isFormData(t))return i&&i?JSON.stringify(ec(t)):t;if(H.isArrayBuffer(t)||H.isBuffer(t)||H.isStream(t)||H.isFile(t)||H.isBlob(t))return t;if(H.isArrayBufferView(t))return t.buffer;if(H.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return fh(t,this.formSerializer).toString();if((c=H.isFileList(t))||o.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Ki(c?{"files[]":t}:t,u&&new u,this.formSerializer)}}return s||i?(n.setContentType("application/json",!1),gh(t)):t}],transformResponse:[function(t){const n=this.transitional||Gi.transitional,o=n&&n.forcedJSONParsing,i=this.responseType==="json";if(t&&H.isString(t)&&(o&&!this.responseType||i)){const r=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(c){if(r)throw c.name==="SyntaxError"?De.from(c,De.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Vt.classes.FormData,Blob:Vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};H.forEach(["delete","get","head"],function(t){Gi.headers[t]={}}),H.forEach(["post","put","patch"],function(t){Gi.headers[t]=H.merge(mh)});const kr=Gi,wh=H.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"]),bh=e=>{const t={};let n,o,i;return e&&e.split(` `).forEach(function(r){i=r.indexOf(":"),n=r.substring(0,i).trim().toLowerCase(),o=r.substring(i+1).trim(),!(!n||t[n]&&wh[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},tc=Symbol("internals");function Qo(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return e===!1||e==null?e:H.isArray(e)?e.map(Ji):String(e)}function yh(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 vh(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Er(e,t,n,o,i){if(H.isFunction(o))return o.call(this,t,n);if(i&&(t=n),!!H.isString(t)){if(H.isString(o))return t.indexOf(o)!==-1;if(H.isRegExp(o))return o.test(t)}}function _h(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function xh(e,t){const n=H.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(i,s,r){return this[o].call(this,t,i,s,r)},configurable:!0})})}class Yi{constructor(t){t&&this.set(t)}set(t,n,o){const i=this;function s(c,u,f){const d=Qo(u);if(!d)throw new Error("header name must be a non-empty string");const m=H.findKey(i,d);(!m||i[m]===void 0||f===!0||f===void 0&&i[m]!==!1)&&(i[m||u]=Ji(c))}const r=(c,u)=>H.forEach(c,(f,d)=>s(f,d,u));return H.isPlainObject(t)||t instanceof this.constructor?r(t,n):H.isString(t)&&(t=t.trim())&&!vh(t)?r(bh(t),n):t!=null&&s(n,t,o),this}get(t,n){if(t=Qo(t),t){const o=H.findKey(this,t);if(o){const i=this[o];if(!n)return i;if(n===!0)return yh(i);if(H.isFunction(n))return n.call(this,i,o);if(H.isRegExp(n))return n.exec(i);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Qo(t),t){const o=H.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||Er(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let i=!1;function s(r){if(r=Qo(r),r){const c=H.findKey(o,r);c&&(!n||Er(o,o[c],c,n))&&(delete o[c],i=!0)}}return H.isArray(t)?t.forEach(s):s(t),i}clear(t){const n=Object.keys(this);let o=n.length,i=!1;for(;o--;){const s=n[o];(!t||Er(this,this[s],s,t,!0))&&(delete this[s],i=!0)}return i}normalize(t){const n=this,o={};return H.forEach(this,(i,s)=>{const r=H.findKey(o,s);if(r){n[r]=Ji(i),delete n[s];return}const c=t?_h(s):String(s).trim();c!==s&&delete n[s],n[c]=Ji(i),o[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return H.forEach(this,(o,i)=>{o!=null&&o!==!1&&(n[i]=t&&H.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(i=>o.set(i)),o}static accessor(t){const o=(this[tc]=this[tc]={accessors:{}}).accessors,i=this.prototype;function s(r){const c=Qo(r);o[c]||(xh(i,r),o[c]=!0)}return H.isArray(t)?t.forEach(s):s(t),this}}Yi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),H.freezeMethods(Yi.prototype),H.freezeMethods(Yi);const nn=Yi;function Ar(e,t){const n=this||kr,o=t||n,i=nn.from(o.headers);let s=o.data;return H.forEach(e,function(c){s=c.call(n,s,i.normalize(),t?t.status:void 0)}),i.normalize(),s}function nc(e){return!!(e&&e.__CANCEL__)}function ei(e,t,n){De.call(this,e==null?"canceled":e,De.ERR_CANCELED,t,n),this.name="CanceledError"}H.inherits(ei,De,{__CANCEL__:!0});function Ch(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new De("Request failed with status code "+n.status,[De.ERR_BAD_REQUEST,De.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const $h=Vt.isStandardBrowserEnv?function(){return{write:function(n,o,i,s,r,c){const u=[];u.push(n+"="+encodeURIComponent(o)),H.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),H.isString(s)&&u.push("path="+s),H.isString(r)&&u.push("domain="+r),c===!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 kh(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Eh(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function oc(e,t){return e&&!kh(t)?Eh(e,t):t}const Ah=Vt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function i(s){let r=s;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=i(window.location.href),function(r){const c=H.isString(r)?i(r):r;return c.protocol===o.protocol&&c.host===o.host}}():function(){return function(){return!0}}();function Sh(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Oh(e,t){e=e||10;const n=new Array(e),o=new Array(e);let i=0,s=0,r;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),d=o[s];r||(r=f),n[i]=u,o[i]=f;let m=s,b=0;for(;m!==i;)b+=n[m++],m=m%e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),f-r{const s=i.loaded,r=i.lengthComputable?i.total:void 0,c=s-n,u=o(c),f=s<=r;n=s;const d={loaded:s,total:r,progress:r?s/r:void 0,bytes:c,rate:u||void 0,estimated:u&&r&&f?(r-s)/u:void 0,event:i};d[t?"download":"upload"]=!0,e(d)}}const Xi={http:oh,xhr:typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,o){let i=e.data;const s=nn.from(e.headers).normalize(),r=e.responseType;let c;function u(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}H.isFormData(i)&&(Vt.isStandardBrowserEnv||Vt.isStandardBrowserWebWorkerEnv)&&s.setContentType(!1);let f=new XMLHttpRequest;if(e.auth){const k=e.auth.username||"",A=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(k+":"+A))}const d=oc(e.baseURL,e.url);f.open(e.method.toUpperCase(),Xl(d,e.params,e.paramsSerializer),!0),f.timeout=e.timeout;function m(){if(!f)return;const k=nn.from("getAllResponseHeaders"in f&&f.getAllResponseHeaders()),S={data:!r||r==="text"||r==="json"?f.responseText:f.response,status:f.status,statusText:f.statusText,headers:k,config:e,request:f};Ch(function(V){n(V),u()},function(V){o(V),u()},S),f=null}if("onloadend"in f?f.onloadend=m:f.onreadystatechange=function(){!f||f.readyState!==4||f.status===0&&!(f.responseURL&&f.responseURL.indexOf("file:")===0)||setTimeout(m)},f.onabort=function(){!f||(o(new De("Request aborted",De.ECONNABORTED,e,f)),f=null)},f.onerror=function(){o(new De("Network Error",De.ERR_NETWORK,e,f)),f=null},f.ontimeout=function(){let A=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const S=e.transitional||Ql;e.timeoutErrorMessage&&(A=e.timeoutErrorMessage),o(new De(A,S.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,f)),f=null},Vt.isStandardBrowserEnv){const k=(e.withCredentials||Ah(d))&&e.xsrfCookieName&&$h.read(e.xsrfCookieName);k&&s.set(e.xsrfHeaderName,k)}i===void 0&&s.setContentType(null),"setRequestHeader"in f&&H.forEach(s.toJSON(),function(A,S){f.setRequestHeader(S,A)}),H.isUndefined(e.withCredentials)||(f.withCredentials=!!e.withCredentials),r&&r!=="json"&&(f.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&f.addEventListener("progress",ic(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&f.upload&&f.upload.addEventListener("progress",ic(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=k=>{!f||(o(!k||k.type?new ei(null,e,f):k),f.abort(),f=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const b=Sh(d);if(b&&Vt.protocols.indexOf(b)===-1){o(new De("Unsupported protocol "+b+":",De.ERR_BAD_REQUEST,e));return}f.send(i||null)})}};H.forEach(Xi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ph={getAdapter:e=>{e=H.isArray(e)?e:[e];const{length:t}=e;let n,o;for(let i=0;ie instanceof nn?e.toJSON():e;function ko(e,t){t=t||{};const n={};function o(f,d,m){return H.isPlainObject(f)&&H.isPlainObject(d)?H.merge.call({caseless:m},f,d):H.isPlainObject(d)?H.merge({},d):H.isArray(d)?d.slice():d}function i(f,d,m){if(H.isUndefined(d)){if(!H.isUndefined(f))return o(void 0,f,m)}else return o(f,d,m)}function s(f,d){if(!H.isUndefined(d))return o(void 0,d)}function r(f,d){if(H.isUndefined(d)){if(!H.isUndefined(f))return o(void 0,f)}else return o(void 0,d)}function c(f,d,m){if(m in t)return o(f,d);if(m in e)return o(void 0,f)}const u={url:s,method:s,data:s,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:c,headers:(f,d)=>i(rc(f),rc(d),!0)};return H.forEach(Object.keys(e).concat(Object.keys(t)),function(d){const m=u[d]||i,b=m(e[d],t[d],d);H.isUndefined(b)&&m!==c||(n[d]=b)}),n}const ac="1.3.3",Or={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Or[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const lc={};Or.transitional=function(t,n,o){function i(s,r){return"[Axios v"+ac+"] Transitional option '"+s+"'"+r+(o?". "+o:"")}return(s,r,c)=>{if(t===!1)throw new De(i(r," has been removed"+(n?" in "+n:"")),De.ERR_DEPRECATED);return n&&!lc[r]&&(lc[r]=!0,console.warn(i(r," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,r,c):!0}};function Ih(e,t,n){if(typeof e!="object")throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let i=o.length;for(;i-- >0;){const s=o[i],r=t[s];if(r){const c=e[s],u=c===void 0||r(c,s,e);if(u!==!0)throw new De("option "+s+" must be "+u,De.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new De("Unknown option "+s,De.ERR_BAD_OPTION)}}const Pr={assertOptions:Ih,validators:Or},Cn=Pr.validators;class Zi{constructor(t){this.defaults=t,this.interceptors={request:new Zl,response:new Zl}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ko(this.defaults,n);const{transitional:o,paramsSerializer:i,headers:s}=n;o!==void 0&&Pr.assertOptions(o,{silentJSONParsing:Cn.transitional(Cn.boolean),forcedJSONParsing:Cn.transitional(Cn.boolean),clarifyTimeoutError:Cn.transitional(Cn.boolean)},!1),i!==void 0&&Pr.assertOptions(i,{encode:Cn.function,serialize:Cn.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let r;r=s&&H.merge(s.common,s[n.method]),r&&H.forEach(["delete","get","head","post","put","patch","common"],A=>{delete s[A]}),n.headers=nn.concat(r,s);const c=[];let u=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(n)===!1||(u=u&&S.synchronous,c.unshift(S.fulfilled,S.rejected))});const f=[];this.interceptors.response.forEach(function(S){f.push(S.fulfilled,S.rejected)});let d,m=0,b;if(!u){const A=[sc.bind(this),void 0];for(A.unshift.apply(A,c),A.push.apply(A,f),b=A.length,d=Promise.resolve(n);m{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](i);o._listeners=null}),this.promise.then=i=>{let s;const r=new Promise(c=>{o.subscribe(c),s=c}).then(i);return r.cancel=function(){o.unsubscribe(s)},r},t(function(s,r,c){o.reason||(o.reason=new ei(s,r,c),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 Ir(function(i){t=i}),cancel:t}}}const Th=Ir;function Mh(e){return function(n){return e.apply(null,n)}}function Bh(e){return H.isObject(e)&&e.isAxiosError===!0}const Tr={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(Tr).forEach(([e,t])=>{Tr[t]=e});const Lh=Tr;function cc(e){const t=new Qi(e),n=Bl(Qi.prototype.request,t);return H.extend(n,Qi.prototype,t,{allOwnKeys:!0}),H.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return cc(ko(e,i))},n}const ot=cc(kr);ot.Axios=Qi,ot.CanceledError=ei,ot.CancelToken=Th,ot.isCancel=nc,ot.VERSION=ac,ot.toFormData=Ki,ot.AxiosError=De,ot.Cancel=ot.CanceledError,ot.all=function(t){return Promise.all(t)},ot.spread=Mh,ot.isAxiosError=Bh,ot.mergeConfig=ko,ot.AxiosHeaders=nn,ot.formToJSON=e=>ec(H.isHTMLForm(e)?new FormData(e):e),ot.HttpStatusCode=Lh,ot.default=ot;const Lt=ot,{Axios:Kk,AxiosError:Gk,CanceledError:Jk,isCancel:Yk,CancelToken:Xk,VERSION:Zk,all:Qk,Cancel:eE,isAxiosError:tE,spread:nE,toFormData:Nh,AxiosHeaders:oE,HttpStatusCode:iE,formToJSON:sE,mergeConfig:rE}=Lt;class Dh extends Error{}class Mr extends Dh{constructor(){super(...arguments);$e(this,"message","搜索失败!")}}class uc extends Mr{constructor(){super(...arguments);$e(this,"message","搜索请求响应内容为空!")}}class it{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=it.hexChars,o=it.hexOut;let i,s,r,c;for(c=0;c<4;c+=1)for(s=c*8,i=t[c],r=0;r<8;r+=2)o[s+1+r]=n.charAt(i&15),i>>>=4,o[s+0+r]=n.charAt(i&15),i>>>=4;return o.join("")}static _md5cycle(t,n){let o=t[0],i=t[1],s=t[2],r=t[3];o+=(i&s|~i&r)+n[0]-680876936|0,o=(o<<7|o>>>25)+i|0,r+=(o&i|~o&s)+n[1]-389564586|0,r=(r<<12|r>>>20)+o|0,s+=(r&o|~r&i)+n[2]+606105819|0,s=(s<<17|s>>>15)+r|0,i+=(s&r|~s&o)+n[3]-1044525330|0,i=(i<<22|i>>>10)+s|0,o+=(i&s|~i&r)+n[4]-176418897|0,o=(o<<7|o>>>25)+i|0,r+=(o&i|~o&s)+n[5]+1200080426|0,r=(r<<12|r>>>20)+o|0,s+=(r&o|~r&i)+n[6]-1473231341|0,s=(s<<17|s>>>15)+r|0,i+=(s&r|~s&o)+n[7]-45705983|0,i=(i<<22|i>>>10)+s|0,o+=(i&s|~i&r)+n[8]+1770035416|0,o=(o<<7|o>>>25)+i|0,r+=(o&i|~o&s)+n[9]-1958414417|0,r=(r<<12|r>>>20)+o|0,s+=(r&o|~r&i)+n[10]-42063|0,s=(s<<17|s>>>15)+r|0,i+=(s&r|~s&o)+n[11]-1990404162|0,i=(i<<22|i>>>10)+s|0,o+=(i&s|~i&r)+n[12]+1804603682|0,o=(o<<7|o>>>25)+i|0,r+=(o&i|~o&s)+n[13]-40341101|0,r=(r<<12|r>>>20)+o|0,s+=(r&o|~r&i)+n[14]-1502002290|0,s=(s<<17|s>>>15)+r|0,i+=(s&r|~s&o)+n[15]+1236535329|0,i=(i<<22|i>>>10)+s|0,o+=(i&r|s&~r)+n[1]-165796510|0,o=(o<<5|o>>>27)+i|0,r+=(o&s|i&~s)+n[6]-1069501632|0,r=(r<<9|r>>>23)+o|0,s+=(r&i|o&~i)+n[11]+643717713|0,s=(s<<14|s>>>18)+r|0,i+=(s&o|r&~o)+n[0]-373897302|0,i=(i<<20|i>>>12)+s|0,o+=(i&r|s&~r)+n[5]-701558691|0,o=(o<<5|o>>>27)+i|0,r+=(o&s|i&~s)+n[10]+38016083|0,r=(r<<9|r>>>23)+o|0,s+=(r&i|o&~i)+n[15]-660478335|0,s=(s<<14|s>>>18)+r|0,i+=(s&o|r&~o)+n[4]-405537848|0,i=(i<<20|i>>>12)+s|0,o+=(i&r|s&~r)+n[9]+568446438|0,o=(o<<5|o>>>27)+i|0,r+=(o&s|i&~s)+n[14]-1019803690|0,r=(r<<9|r>>>23)+o|0,s+=(r&i|o&~i)+n[3]-187363961|0,s=(s<<14|s>>>18)+r|0,i+=(s&o|r&~o)+n[8]+1163531501|0,i=(i<<20|i>>>12)+s|0,o+=(i&r|s&~r)+n[13]-1444681467|0,o=(o<<5|o>>>27)+i|0,r+=(o&s|i&~s)+n[2]-51403784|0,r=(r<<9|r>>>23)+o|0,s+=(r&i|o&~i)+n[7]+1735328473|0,s=(s<<14|s>>>18)+r|0,i+=(s&o|r&~o)+n[12]-1926607734|0,i=(i<<20|i>>>12)+s|0,o+=(i^s^r)+n[5]-378558|0,o=(o<<4|o>>>28)+i|0,r+=(o^i^s)+n[8]-2022574463|0,r=(r<<11|r>>>21)+o|0,s+=(r^o^i)+n[11]+1839030562|0,s=(s<<16|s>>>16)+r|0,i+=(s^r^o)+n[14]-35309556|0,i=(i<<23|i>>>9)+s|0,o+=(i^s^r)+n[1]-1530992060|0,o=(o<<4|o>>>28)+i|0,r+=(o^i^s)+n[4]+1272893353|0,r=(r<<11|r>>>21)+o|0,s+=(r^o^i)+n[7]-155497632|0,s=(s<<16|s>>>16)+r|0,i+=(s^r^o)+n[10]-1094730640|0,i=(i<<23|i>>>9)+s|0,o+=(i^s^r)+n[13]+681279174|0,o=(o<<4|o>>>28)+i|0,r+=(o^i^s)+n[0]-358537222|0,r=(r<<11|r>>>21)+o|0,s+=(r^o^i)+n[3]-722521979|0,s=(s<<16|s>>>16)+r|0,i+=(s^r^o)+n[6]+76029189|0,i=(i<<23|i>>>9)+s|0,o+=(i^s^r)+n[9]-640364487|0,o=(o<<4|o>>>28)+i|0,r+=(o^i^s)+n[12]-421815835|0,r=(r<<11|r>>>21)+o|0,s+=(r^o^i)+n[15]+530742520|0,s=(s<<16|s>>>16)+r|0,i+=(s^r^o)+n[2]-995338651|0,i=(i<<23|i>>>9)+s|0,o+=(s^(i|~r))+n[0]-198630844|0,o=(o<<6|o>>>26)+i|0,r+=(i^(o|~s))+n[7]+1126891415|0,r=(r<<10|r>>>22)+o|0,s+=(o^(r|~i))+n[14]-1416354905|0,s=(s<<15|s>>>17)+r|0,i+=(r^(s|~o))+n[5]-57434055|0,i=(i<<21|i>>>11)+s|0,o+=(s^(i|~r))+n[12]+1700485571|0,o=(o<<6|o>>>26)+i|0,r+=(i^(o|~s))+n[3]-1894986606|0,r=(r<<10|r>>>22)+o|0,s+=(o^(r|~i))+n[10]-1051523|0,s=(s<<15|s>>>17)+r|0,i+=(r^(s|~o))+n[1]-2054922799|0,i=(i<<21|i>>>11)+s|0,o+=(s^(i|~r))+n[8]+1873313359|0,o=(o<<6|o>>>26)+i|0,r+=(i^(o|~s))+n[15]-30611744|0,r=(r<<10|r>>>22)+o|0,s+=(o^(r|~i))+n[6]-1560198380|0,s=(s<<15|s>>>17)+r|0,i+=(r^(s|~o))+n[13]+1309151649|0,i=(i<<21|i>>>11)+s|0,o+=(s^(i|~r))+n[4]-145523070|0,o=(o<<6|o>>>26)+i|0,r+=(i^(o|~s))+n[11]-1120210379|0,r=(r<<10|r>>>22)+o|0,s+=(o^(r|~i))+n[2]+718787259|0,s=(s<<15|s>>>17)+r|0,i+=(r^(s|~o))+n[9]-343485551|0,i=(i<<21|i>>>11)+s|0,t[0]=o+t[0]|0,t[1]=i+t[1]|0,t[2]=s+t[2]|0,t[3]=r+t[3]|0}start(){return this._dataLength=0,this._bufferLength=0,this._state.set(it.stateIdentity),this}appendStr(t){const n=this._buffer8,o=this._buffer32;let i=this._bufferLength,s,r;for(r=0;r>>6)+192,n[i++]=s&63|128;else if(s<55296||s>56319)n[i++]=(s>>>12)+224,n[i++]=s>>>6&63|128,n[i++]=s&63|128;else{if(s=(s-55296)*1024+(t.charCodeAt(++r)-56320)+65536,s>1114111)throw new Error("Unicode standard supports code points up to U+10FFFF");n[i++]=(s>>>18)+240,n[i++]=s>>>12&63|128,n[i++]=s>>>6&63|128,n[i++]=s&63|128}i>=64&&(this._dataLength+=64,it._md5cycle(this._state,o),i-=64,o[0]=o[16])}return this._bufferLength=i,this}appendAsciiStr(t){const n=this._buffer8,o=this._buffer32;let i=this._bufferLength,s,r=0;for(;;){for(s=Math.min(t.length-r,64-i);s--;)n[i++]=t.charCodeAt(r++);if(i<64)break;this._dataLength+=64,it._md5cycle(this._state,o),i=0}return this._bufferLength=i,this}appendByteArray(t){const n=this._buffer8,o=this._buffer32;let i=this._bufferLength,s,r=0;for(;;){for(s=Math.min(t.length-r,64-i);s--;)n[i++]=t[r++];if(i<64)break;this._dataLength+=64,it._md5cycle(this._state,o),i=0}return this._bufferLength=i,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,i=this._state;let s;for(this._dataLength=t.length,this._bufferLength=t.buflen,i[0]=o[0],i[1]=o[1],i[2]=o[2],i[3]=o[3],s=0;s>2)+1;this._dataLength+=n;const r=this._dataLength*8;if(o[n]=128,o[n+1]=o[n+2]=o[n+3]=0,i.set(it.buffer32Identity.subarray(s),s),n>55&&(it._md5cycle(this._state,i),i.set(it.buffer32Identity)),r<=4294967295)i[14]=r;else{const c=r.toString(16).match(/(.*?)(.{0,8})$/);if(c===null)return;const u=parseInt(c[2],16),f=parseInt(c[1],16)||0;i[14]=u,i[15]=f}return it._md5cycle(this._state,i),t?this._state:it._hex(this._state)}}if(it.stateIdentity=new Int32Array([1732584193,-271733879,-1732584194,271733878]),it.buffer32Identity=new Int32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),it.hexChars="0123456789abcdef",it.hexOut=[],it.onePassHasher=new it,it.hashStr("hello")!=="5d41402abc4b2a76b9719d911017c592")throw new Error("Md5 self test failed.");var Rh={exports:{}};(function(e){var t=function(n){var o=1e7,i=7,s=9007199254740992,r=A(s),c="0123456789abcdefghijklmnopqrstuvwxyz",u=typeof BigInt=="function";function f(p,w,_,x){return typeof p>"u"?f[0]:typeof w<"u"?+w==10&&!_?D(p):j(p,w,_,x):D(p)}function d(p,w){this.value=p,this.sign=w,this.isSmall=!1}d.prototype=Object.create(f.prototype);function m(p){this.value=p,this.sign=p<0,this.isSmall=!0}m.prototype=Object.create(f.prototype);function b(p){this.value=p}b.prototype=Object.create(f.prototype);function k(p){return-s0?Math.floor(p):Math.ceil(p)}function T(p,w){var _=p.length,x=w.length,O=new Array(_),C=0,F=o,U,G;for(G=0;G=F?1:0,O[G]=U-C*F;for(;G<_;)U=p[G]+C,C=U===F?1:0,O[G++]=U-C*F;return C>0&&O.push(C),O}function X(p,w){return p.length>=w.length?T(p,w):T(w,p)}function ee(p,w){var _=p.length,x=new Array(_),O=o,C,F;for(F=0;F<_;F++)C=p[F]-O+w,w=Math.floor(C/O),x[F]=C-w*O,w+=1;for(;w>0;)x[F++]=w%O,w=Math.floor(w/O);return x}d.prototype.add=function(p){var w=D(p);if(this.sign!==w.sign)return this.subtract(w.negate());var _=this.value,x=w.value;return w.isSmall?new d(ee(_,Math.abs(x)),this.sign):new d(X(_,x),this.sign)},d.prototype.plus=d.prototype.add,m.prototype.add=function(p){var w=D(p),_=this.value;if(_<0!==w.sign)return this.subtract(w.negate());var x=w.value;if(w.isSmall){if(k(_+x))return new m(_+x);x=A(Math.abs(x))}return new d(ee(x,Math.abs(_)),_<0)},m.prototype.plus=m.prototype.add,b.prototype.add=function(p){return new b(this.value+D(p).value)},b.prototype.plus=b.prototype.add;function te(p,w){var _=p.length,x=w.length,O=new Array(_),C=0,F=o,U,G;for(U=0;U=0?x=te(p,w):(x=te(w,p),_=!_),x=S(x),typeof x=="number"?(_&&(x=-x),new m(x)):new d(x,_)}function ke(p,w,_){var x=p.length,O=new Array(x),C=-w,F=o,U,G;for(U=0;U=0)},m.prototype.minus=m.prototype.subtract,b.prototype.subtract=function(p){return new b(this.value-D(p).value)},b.prototype.minus=b.prototype.subtract,d.prototype.negate=function(){return new d(this.value,!this.sign)},m.prototype.negate=function(){var p=this.sign,w=new m(-this.value);return w.sign=!p,w},b.prototype.negate=function(){return new b(-this.value)},d.prototype.abs=function(){return new d(this.value,!1)},m.prototype.abs=function(){return new m(Math.abs(this.value))},b.prototype.abs=function(){return new b(this.value>=0?this.value:-this.value)};function Ee(p,w){var _=p.length,x=w.length,O=_+x,C=V(O),F=o,U,G,be,he,ce;for(be=0;be<_;++be){he=p[be];for(var Le=0;Le0;)x[U++]=C%O,C=Math.floor(C/O);return x}function de(p,w){for(var _=[];w-- >0;)_.push(0);return _.concat(p)}function ie(p,w){var _=Math.max(p.length,w.length);if(_<=30)return Ee(p,w);_=Math.ceil(_/2);var x=p.slice(_),O=p.slice(0,_),C=w.slice(_),F=w.slice(0,_),U=ie(O,F),G=ie(x,C),be=ie(X(O,x),X(F,C)),he=X(X(U,de(te(te(be,U),G),_)),de(G,2*_));return R(he),he}function Ce(p,w){return-.012*p-.012*w+15e-6*p*w>0}d.prototype.multiply=function(p){var w=D(p),_=this.value,x=w.value,O=this.sign!==w.sign,C;if(w.isSmall){if(x===0)return f[0];if(x===1)return this;if(x===-1)return this.negate();if(C=Math.abs(x),C=0;ce--){for(he=O-1,G[ce+x]!==F&&(he=Math.floor((G[ce+x]*O+G[ce+x-1])/F)),Le=0,_t=0,Li=be.length,pt=0;ptx&&(be=(be+1)*F),U=Math.ceil(be/he);do{if(ce=Ie(w,U),ve(ce,C)<=0)break;U--}while(U);O.push(U),C=te(C,ce)}return O.reverse(),[S(O),S(C)]}function N(p,w){var _=p.length,x=V(_),O=o,C,F,U,G;for(U=0,C=_-1;C>=0;--C)G=U*O+p[C],F=P(G/w),U=G-F*w,x[C]=F|0;return[x,U|0]}function ue(p,w){var _,x=D(w);if(u)return[new b(p.value/x.value),new b(p.value%x.value)];var O=p.value,C=x.value,F;if(C===0)throw new Error("Cannot divide by zero");if(p.isSmall)return x.isSmall?[new m(P(O/C)),new m(O%C)]:[f[0],p];if(x.isSmall){if(C===1)return[p,f[0]];if(C==-1)return[p.negate(),f[0]];var U=Math.abs(C);if(Uw.length?1:-1;for(var _=p.length-1;_>=0;_--)if(p[_]!==w[_])return p[_]>w[_]?1:-1;return 0}d.prototype.compareAbs=function(p){var w=D(p),_=this.value,x=w.value;return w.isSmall?1:ve(_,x)},m.prototype.compareAbs=function(p){var w=D(p),_=Math.abs(this.value),x=w.value;return w.isSmall?(x=Math.abs(x),_===x?0:_>x?1:-1):-1},b.prototype.compareAbs=function(p){var w=this.value,_=D(p).value;return w=w>=0?w:-w,_=_>=0?_:-_,w===_?0:w>_?1:-1},d.prototype.compare=function(p){if(p===1/0)return-1;if(p===-1/0)return 1;var w=D(p),_=this.value,x=w.value;return this.sign!==w.sign?w.sign?1:-1:w.isSmall?this.sign?-1:1:ve(_,x)*(this.sign?-1:1)},d.prototype.compareTo=d.prototype.compare,m.prototype.compare=function(p){if(p===1/0)return-1;if(p===-1/0)return 1;var w=D(p),_=this.value,x=w.value;return w.isSmall?_==x?0:_>x?1:-1:_<0!==w.sign?_<0?-1:1:_<0?1:-1},m.prototype.compareTo=m.prototype.compare,b.prototype.compare=function(p){if(p===1/0)return-1;if(p===-1/0)return 1;var w=this.value,_=D(p).value;return w===_?0:w>_?1:-1},b.prototype.compareTo=b.prototype.compare,d.prototype.equals=function(p){return this.compare(p)===0},b.prototype.eq=b.prototype.equals=m.prototype.eq=m.prototype.equals=d.prototype.eq=d.prototype.equals,d.prototype.notEquals=function(p){return this.compare(p)!==0},b.prototype.neq=b.prototype.notEquals=m.prototype.neq=m.prototype.notEquals=d.prototype.neq=d.prototype.notEquals,d.prototype.greater=function(p){return this.compare(p)>0},b.prototype.gt=b.prototype.greater=m.prototype.gt=m.prototype.greater=d.prototype.gt=d.prototype.greater,d.prototype.lesser=function(p){return this.compare(p)<0},b.prototype.lt=b.prototype.lesser=m.prototype.lt=m.prototype.lesser=d.prototype.lt=d.prototype.lesser,d.prototype.greaterOrEquals=function(p){return this.compare(p)>=0},b.prototype.geq=b.prototype.greaterOrEquals=m.prototype.geq=m.prototype.greaterOrEquals=d.prototype.geq=d.prototype.greaterOrEquals,d.prototype.lesserOrEquals=function(p){return this.compare(p)<=0},b.prototype.leq=b.prototype.lesserOrEquals=m.prototype.leq=m.prototype.lesserOrEquals=d.prototype.leq=d.prototype.lesserOrEquals,d.prototype.isEven=function(){return(this.value[0]&1)===0},m.prototype.isEven=function(){return(this.value&1)===0},b.prototype.isEven=function(){return(this.value&BigInt(1))===BigInt(0)},d.prototype.isOdd=function(){return(this.value[0]&1)===1},m.prototype.isOdd=function(){return(this.value&1)===1},b.prototype.isOdd=function(){return(this.value&BigInt(1))===BigInt(1)},d.prototype.isPositive=function(){return!this.sign},m.prototype.isPositive=function(){return this.value>0},b.prototype.isPositive=m.prototype.isPositive,d.prototype.isNegative=function(){return this.sign},m.prototype.isNegative=function(){return this.value<0},b.prototype.isNegative=m.prototype.isNegative,d.prototype.isUnit=function(){return!1},m.prototype.isUnit=function(){return Math.abs(this.value)===1},b.prototype.isUnit=function(){return this.abs().value===BigInt(1)},d.prototype.isZero=function(){return!1},m.prototype.isZero=function(){return this.value===0},b.prototype.isZero=function(){return this.value===BigInt(0)},d.prototype.isDivisibleBy=function(p){var w=D(p);return w.isZero()?!1:w.isUnit()?!0:w.compareAbs(2)===0?this.isEven():this.mod(w).isZero()},b.prototype.isDivisibleBy=m.prototype.isDivisibleBy=d.prototype.isDivisibleBy;function Oe(p){var w=p.abs();if(w.isUnit())return!1;if(w.equals(2)||w.equals(3)||w.equals(5))return!0;if(w.isEven()||w.isDivisibleBy(3)||w.isDivisibleBy(5))return!1;if(w.lesser(49))return!0}function Ye(p,w){for(var _=p.prev(),x=_,O=0,C,F,U;x.isEven();)x=x.divide(2),O++;e:for(F=0;F-s?new m(p-1):new d(r,!0)},b.prototype.prev=function(){return new b(this.value-BigInt(1))};for(var Xe=[1];2*Xe[Xe.length-1]<=o;)Xe.push(2*Xe[Xe.length-1]);var Pt=Xe.length,It=Xe[Pt-1];function bn(p){return Math.abs(p)<=o}d.prototype.shiftLeft=function(p){var w=D(p).toJSNumber();if(!bn(w))throw new Error(String(w)+" is too large for shifting.");if(w<0)return this.shiftRight(-w);var _=this;if(_.isZero())return _;for(;w>=Pt;)_=_.multiply(It),w-=Pt-1;return _.multiply(Xe[w])},b.prototype.shiftLeft=m.prototype.shiftLeft=d.prototype.shiftLeft,d.prototype.shiftRight=function(p){var w,_=D(p).toJSNumber();if(!bn(_))throw new Error(String(_)+" is too large for shifting.");if(_<0)return this.shiftLeft(-_);for(var x=this;_>=Pt;){if(x.isZero()||x.isNegative()&&x.isUnit())return x;w=ue(x,It),x=w[1].isNegative()?w[0].prev():w[0],_-=Pt-1}return w=ue(x,Xe[_]),w[1].isNegative()?w[0].prev():w[0]},b.prototype.shiftRight=m.prototype.shiftRight=d.prototype.shiftRight;function yt(p,w,_){w=D(w);for(var x=p.isNegative(),O=w.isNegative(),C=x?p.not():p,F=O?w.not():w,U=0,G=0,be=null,he=null,ce=[];!C.isZero()||!F.isZero();)be=ue(C,It),U=be[1].toJSNumber(),x&&(U=It-1-U),he=ue(F,It),G=he[1].toJSNumber(),O&&(G=It-1-G),C=be[0],F=he[0],ce.push(_(U,G));for(var Le=_(x?1:0,O?1:0)!==0?t(-1):t(0),_t=ce.length-1;_t>=0;_t-=1)Le=Le.multiply(It).add(t(ce[_t]));return Le}d.prototype.not=function(){return this.negate().prev()},b.prototype.not=m.prototype.not=d.prototype.not,d.prototype.and=function(p){return yt(this,p,function(w,_){return w&_})},b.prototype.and=m.prototype.and=d.prototype.and,d.prototype.or=function(p){return yt(this,p,function(w,_){return w|_})},b.prototype.or=m.prototype.or=d.prototype.or,d.prototype.xor=function(p){return yt(this,p,function(w,_){return w^_})},b.prototype.xor=m.prototype.xor=d.prototype.xor;var vt=1<<30,lt=(o&-o)*(o&-o)|vt;function Qe(p){var w=p.value,_=typeof w=="number"?w|vt:typeof w=="bigint"?w|BigInt(vt):w[0]+w[1]*o|lt;return _&-_}function zn(p,w){if(w.compareTo(p)<=0){var _=zn(p,w.square(w)),x=_.p,O=_.e,C=x.multiply(w);return C.compareTo(p)<=0?{p:C,e:O*2+1}:{p:x,e:O*2}}return{p:t(1),e:0}}d.prototype.bitLength=function(){var p=this;return p.compareTo(t(0))<0&&(p=p.negate().subtract(t(1))),p.compareTo(t(0))===0?t(0):t(zn(p,t(2)).e).add(t(1))},b.prototype.bitLength=m.prototype.bitLength=d.prototype.bitLength;function at(p,w){return p=D(p),w=D(w),p.greater(w)?p:w}function y(p,w){return p=D(p),w=D(w),p.lesser(w)?p:w}function E(p,w){if(p=D(p).abs(),w=D(w).abs(),p.equals(w))return p;if(p.isZero())return w;if(w.isZero())return p;for(var _=f[1],x,O;p.isEven()&&w.isEven();)x=y(Qe(p),Qe(w)),p=p.divide(x),w=w.divide(x),_=_.multiply(x);for(;p.isEven();)p=p.divide(Qe(p));do{for(;w.isEven();)w=w.divide(Qe(w));p.greater(w)&&(O=w,w=p,p=O),w=w.subtract(p)}while(!w.isZero());return _.isUnit()?p:p.multiply(_)}function M(p,w){return p=D(p).abs(),w=D(w).abs(),p.divide(E(p,w)).multiply(w)}function I(p,w,_){p=D(p),w=D(w);var x=_||Math.random,O=y(p,w),C=at(p,w),F=C.subtract(O).add(1);if(F.isSmall)return O.add(Math.floor(x()*F));for(var U=z(F,o).value,G=[],be=!0,he=0;he=F){if(G==="1"&&F===1)continue;throw new Error(G+" is not a valid digit in base "+w+".")}}w=D(w);var be=[],he=p[0]==="-";for(C=he?1:0;C"&&C=0;C--)x=x.add(p[C].times(O)),O=O.times(w);return _?x.negate():x}function Z(p,w){return w=w||c,p"}function z(p,w){if(w=t(w),w.isZero()){if(p.isZero())return{value:[0],isNegative:!1};throw new Error("Cannot convert nonzero numbers to base 0.")}if(w.equals(-1)){if(p.isZero())return{value:[0],isNegative:!1};if(p.isNegative())return{value:[].concat.apply([],Array.apply(null,Array(-p.toJSNumber())).map(Array.prototype.valueOf,[1,0])),isNegative:!1};var _=Array.apply(null,Array(p.toJSNumber()-1)).map(Array.prototype.valueOf,[0,1]);return _.unshift([1]),{value:[].concat.apply([],_),isNegative:!1}}var x=!1;if(p.isNegative()&&w.isPositive()&&(x=!0,p=p.abs()),w.isUnit())return p.isZero()?{value:[0],isNegative:!1}:{value:Array.apply(null,Array(p.toJSNumber())).map(Number.prototype.valueOf,1),isNegative:x};for(var O=[],C=p,F;C.isNegative()||C.compareAbs(w)>=0;){F=C.divmod(w),C=F.quotient;var U=F.remainder;U.isNegative()&&(U=w.minus(U).abs(),C=C.next()),O.push(U.toJSNumber())}return O.push(C.toJSNumber()),{value:O.reverse(),isNegative:x}}function W(p,w,_){var x=z(p,w);return(x.isNegative?"-":"")+x.value.map(function(O){return Z(O,_)}).join("")}d.prototype.toArray=function(p){return z(this,p)},m.prototype.toArray=function(p){return z(this,p)},b.prototype.toArray=function(p){return z(this,p)},d.prototype.toString=function(p,w){if(p===n&&(p=10),p!==10)return W(this,p,w);for(var _=this.value,x=_.length,O=String(_[--x]),C="0000000",F;--x>=0;)F=String(_[x]),O+=C.slice(F.length)+F;var U=this.sign?"-":"";return U+O},m.prototype.toString=function(p,w){return p===n&&(p=10),p!=10?W(this,p,w):String(this.value)},b.prototype.toString=m.prototype.toString,b.prototype.toJSON=d.prototype.toJSON=m.prototype.toJSON=function(){return this.toString()},d.prototype.valueOf=function(){return parseInt(this.toString(),10)},d.prototype.toJSNumber=d.prototype.valueOf,m.prototype.valueOf=function(){return this.value},m.prototype.toJSNumber=m.prototype.valueOf,b.prototype.valueOf=b.prototype.toJSNumber=function(){return parseInt(this.toString(),10)};function q(p){if(k(+p)){var w=+p;if(w===P(w))return u?new b(BigInt(w)):new m(w);throw new Error("Invalid integer: "+p)}var _=p[0]==="-";_&&(p=p.slice(1));var x=p.split(/e/i);if(x.length>2)throw new Error("Invalid integer: "+x.join("e"));if(x.length===2){var O=x[1];if(O[0]==="+"&&(O=O.slice(1)),O=+O,O!==P(O)||!k(O))throw new Error("Invalid integer: "+O+" is not a valid exponent.");var C=x[0],F=C.indexOf(".");if(F>=0&&(O-=C.length-F-1,C=C.slice(0,F)+C.slice(F+1)),O<0)throw new Error("Cannot include negative exponent part for integers");C+=new Array(O+1).join("0"),p=C}var U=/^([0-9][0-9]*)$/.test(p);if(!U)throw new Error("Invalid integer: "+p);if(u)return new b(BigInt(_?"-"+p:p));for(var G=[],be=p.length,he=i,ce=be-he;be>0;)G.push(+p.slice(ce,be)),ce-=he,ce<0&&(ce=0),be-=he;return R(G),new d(G,_)}function re(p){if(u)return new b(BigInt(p));if(k(p)){if(p!==P(p))throw new Error(p+" is not an integer.");return new m(p)}return q(p.toString())}function D(p){return typeof p=="number"?re(p):typeof p=="string"?q(p):typeof p=="bigint"?new b(p):p}for(var ae=0;ae<1e3;ae++)f[ae]=D(ae),ae>0&&(f[-ae]=D(-ae));return f.one=f[1],f.zero=f[0],f.minusOne=f[-1],f.max=at,f.min=y,f.gcd=E,f.lcm=M,f.isInstance=function(p){return p instanceof d||p instanceof m||p instanceof b},f.randBetween=I,f.fromArray=function(p,w,_){return J(p.map(D),D(w||10),_)},f}();e.hasOwnProperty("exports")&&(e.exports=t)})(Rh);async function Fh(e,t,n){const o=new URLSearchParams({page:e.toString(),uid:n.toString(),sign:t,time:Ko().toString()});return(await Lt.post("https://115.com/web/lixian/?ct=lixian&ac=task_lists",o,{withCredentials:!0,timeout:6e4})).data}async function jh(){return(await Lt.get(`https://115.com/?ct=offline&ac=space&_=${Date.now()}`,{timeout:3e4,withCredentials:!0})).data}async function Uh(){const t=(await Lt.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 Hh(e){const t=kl(e),o=(await Lt.get("https://webapi.115.com/files?"+t,{timeout:12e4,withCredentials:!0})).data;if(o.state)return o;throw new Error(o.error)}async function dc(e,t=500){let n=[],o=0;for(;;){e.offset=o;const i=await Hh(e);if(!i.data||!i.data.length||(n=[...n,...i.data],o+=e.limit,o>=i.count))break;await zt(t)}return n}async function zh(e){const t=kl(e),n=await Lt.get("https://webapi.115.com/files/search?"+t,{timeout:12e4,withCredentials:!0});if(n.data==="")throw new uc;const o=n.data;if(o.state)return o;throw new Mr(o.error)}async function Vh(e,t=500,n=!1){let o=[],i=0,s=e.limit;const r=1e4,c=115,u=r-r%s;let f=s;for(;;){if(n){if(i>=u&&i=r&&(f=c)}e.offset=i,e.limit=f;const d=await zh(e);if(!d.data||!d.data.length||(o=[...o,...d.data],i+=f,i>=d.count))break;await zt(t)}return o}async function qh(e,t){const n=new URLSearchParams({pid:e,ignore_warn:"1"});return t.forEach((i,s)=>{n.append(`fid[${s}]`,i)}),(await Lt.post("https://webapi.115.com/rb/delete",n,{timeout:12e4,withCredentials:!0})).data}async function fc(e,t,n,o){let i=0,s=0;for(;;){const r=t.slice(i,i+n);if((await qh(e,r)).state&&(s+=r.length),i+=n,i>=t.length)break;await zt(o)}return s}async function Wh(e,t){const n=new URLSearchParams({pid:e,cname:t});return(await Lt.post("https://webapi.115.com/files/add",n,{timeout:12e4,withCredentials:!0})).data}async function Kh(e,t){const n=new URLSearchParams({pid:e});return t.forEach((i,s)=>{n.append(`fid[${s}]`,i)}),(await Lt.post("https://webapi.115.com/files/move",n,{timeout:12e4,withCredentials:!0})).data}async function Br(e){const t=new URLSearchParams({cid:e});return(await Lt.get("https://webapi.115.com/category/get?"+t.toString(),{timeout:12e4,withCredentials:!0})).data}async function pc(e,t,n,o){const i={uid:o.toString(),sign:t.sign,time:Ko().toString()};n&&(i.flag="1");const s=Nh(i);return e.forEach((c,u)=>{s.append(`hash[${u}]`,c)}),(await Lt.post("https://115.com/web/lixian/?ct=lixian&ac=task_del",s,{timeout:12e4,withCredentials:!0})).data}async function Gh(e){if(!(await Br(e)).play_long)throw new Error("该目录下没有可以播放的媒体文件![by_attr]");const o=(await dc(Ml({cid:e,limit:1150}))).find(i=>i.play_long&&i.play_long>0);if(!o)throw new Error("该目录下没有可以播放的媒体文件![by_files]");return o}async function qt(e=!0){const t=ti().GetCurWangPanCid();return!t&&e?(ti().Core.MinMessage.Show({text:'不支持"根目录"!',timeout:1e3}),""):t}async function Jh(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 i=typeof t[o];["string","number"].indexOf(i)>-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 Wt(e){const t=e.attr("file_size"),n=e.attr("iv")==="1";return{fid:e.attr("file_id")||"",cid:e.attr("cid")||"",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,cate_id:e.attr("cate_id")||""}}function ti(){return unsafeWindow.TOP?unsafeWindow.TOP:unsafeWindow}function Yh(){return unsafeWindow.top===unsafeWindow?unsafeWindow.Ext:unsafeWindow.top.Ext}async function Xh(e){return new Promise((t,n)=>{ti().Core.DataAccess.Dir.GetDetail("1",e,o=>t(o))})}async function Zh(){const e=await qt(),t=await Xh(e);return await Jh(e,t)}async function es(){return window.top!==window?$(document):$('iframe[name="wangpan"], .wrap-view iframe:eq(0)').contents()}async function Eo(){return(await es()).find(".list-contents, .list-thumb")}async function Qh(e){const t=await Eo();return e?t.find("li.selected"):t.find("li")}async function ts(e){const t=await Qh(e),n=[];for(let o=0;o .file-path").children().each(function(){t.push($(this).text().trim().replace(/[›]$/,""))}),t}async function tm(){const e=await qt();(await Eo()).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 Kn(e=!1){const t=await qt();if(!t)return null;const n=await Eo(),o=await Zh();return e||o.hide(),n.find(`li[cate_id="${t}"]`).length||n.append(o),o}async function Lr(e,t,n){n&&await tm(),ti().Core.FileMenu.DoEvent([e],t,null)}function hc(e){return`https://115.com/?${new URLSearchParams({cid:e}).toString()}&offset=0&mode=wangpan`}function Nr(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 mc(e){return`https://v.anxia.com/?${new URLSearchParams({pickcode:e,share_id:"0"}).toString()}`}async function nm(e){unsafeWindow.Main.ReInstance({type:e.type,offset:0,o:Tl.userPtime,asc:Il.false,star:e.star,suffix:e.suffix})}async function om(){return(await Eo()).find("li.selected")}async function im(){const e=await om();return e?await Wt(e):null}function sm(e){return e.replace(/[/\\:*?"<>|]/g,"_")}async function rm(e){const n=(await Br(e.fid||e.cate_id)).paths.slice(1).map(s=>s.file_name).join("/"),o=sm(e.n);return`/${n}/${o}`}const am=[{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:"手动输入"}]}];async function Dr(e,t,n){var u;let o=t.url;const i={dir_id:"cid",file_id:"fid",pick_code:"pc",full_name:"n",file_suffix:"ico",file_hash:"sha",file_size:"s"},s=!!e.fid,r=/{(\w+)(:\w+(:\w+)?)?}/g,c=o.match(r);if(c){const f=["file_path","file_dir","clouddrive_stream_url","clouddrive_down_url","clouddrive_playlist_url"];for(const d of c){const m=d.replace(/[{}]/g,"").split(":")[0],b=d.replace(/[{}]/g,"").replace(/^[^:]+:/,"");let k=((u=e[i[m]])==null?void 0:u.toString())||"",A="";switch(f.includes(m)&&(A=await rm(e)),m){case"pure_name":s?k=e.n.replace(/\.[^.]+$/,""):k=e.n;break;case"file_path":k=A;break;case"file_dir":k=A.replace(/\/[^/]+$/,"");break;case"clouddrive_stream_url":s?k=await Vi(n,A,wr.play):k=await Pl(n,A);break;case"clouddrive_down_url":k=await Vi(n,A,wr.download);break;case"clouddrive_playlist_url":let S="";s?S=A.replace(/\/[^/]+$/,""):S=A,k=await Pl(n,S);break;case"user_agent":k=navigator.userAgent;break}if(k=k.toString(),b){const S=b.split(":");for(const R of S)switch(R){case"search":k=Nr({search_value:k});break;case"encode":k=encodeURIComponent(k);break;case"base64":k=hl(k);break;case"base64safe":k=hl(k,!0);break;case"upper":k=k.toUpperCase();break;case"lower":k=k.toLowerCase();break;case"number":k=k.replace(/\D/g,"");break;case"manual":let{isConfirmed:V,value:P}=await me.fire({title:"手动输入",input:"textarea",inputValue:k,showCancelButton:!0,inputValidator:T=>T?null:"输入不能为空!"});if(!V)throw new Error("已取消手动输入。");if(P=(P==null?void 0:P.trim())||"",P==="")throw new Error("输入不能为空!");k=P;break}}o=o.replace(d,k)}}return t.mutation?await lm(o,e,t,n):o}async function lm(e,t,n,o){return await new Function("payload",n.mutation)({url:e,file:t,customUrl:n,cloudDriveConfig:o})}var $n=(e=>(e.search="search",e.play="play",e))($n||{});const gc={search:"menu_custom_urls_for_search",play:"menu_custom_urls_for_play"};async function ni(e){return await dt.get(gc[e],[])}async function wc(e,t){await dt.set(gc[e],t)}function ct(e){return{enabled:!0,key:"",label:"",icon:"",memo:"",extraMemo:"",url:"",openInBackground:!1,...e}}const bc="ce_menu_config";function cm(e){return{enabled:!0,openInNewTab:!0,search:!0,play:!0,getDownloadUrl:!0,copyNames:!0,...e}}function um(e){return{enabled:!0,copyNames:!0,...e}}function dm(e){return{enabled:!0,moveToSelfNameDir:!0,copyNames:!0,...e}}function fm(e){return{enabled:!0,rename:!0,delete:!0,play:!0,copyNames:!0,move:!0,copy:!0,copyTo:!0,viewProp:!0,showSubFolderSize:!0,...e}}function pm(e){return{enabled:!0,hideSelectionMenuLabel:!1,enableInSearch:!0,[Ae.listItemHover]:cm(e==null?void 0:e[Ae.listItemHover]),[Ae.listItemContext]:um(e==null?void 0:e[Ae.listItemContext]),[Ae.selection]:dm(e==null?void 0:e[Ae.selection]),[Ae.dirContext]:fm(e==null?void 0:e[Ae.dirContext]),...e}}async function yc(){const e=pm(),t=await dt.get(bc,e);return{...e,...t}}async function hm(e){await dt.set(bc,e)}const Qa=class{constructor(t){$e(this,"menuType",Ae.listItemHover);$e(this,"injectDecider");$e(this,"keyAttributeName","id");$e(this,"key");$e(this,"label");$e(this,"icon","");$e(this,"title","");$e(this,"onClick");$e(this,"onMouseOver");$e(this,"onMouseOut");$e(this,"subItems",[]);$e(this,"menuItemTemplates",{[Ae.dirContext]:{body:`
  • {icon}{label}
  • `,bodyForMulti:`
  • {icon}{label}
    `},[Ae.dirContextSub]:{body:` {icon}{label} `},[Ae.listItemContext]:{body:`
  • {icon}{label}
  • `,bodyForMulti:`
  • {icon}{label}
    `},[Ae.listItemContextSub]:{body:'{label}'},[Ae.listItemHover]:{body:` {icon}{label} `,bodyForMulti:` {icon}{label}
    `},[Ae.listItemHoverSub]:{body:` {icon}{label} `},[Ae.selection]:{body:'
  • {icon}{label}
  • ',bodyForMulti:`
  • {icon}{label}
  • `},[Ae.selectionSub]:{body:` {label} `}});t.menuType&&(this.menuType=t.menuType),t.injectDecider&&(this.injectDecider=t.injectDecider),this.key=t.key,this.label=t.label,this.icon=t.icon,this.title=t.title,this.onClick=t.onClick,t.onMouseOver&&(this.onMouseOver=t.onMouseOver),t.onMouseOut&&(this.onMouseOut=t.onMouseOut),t.subItems&&(this.subItems=t.subItems)}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}`);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 i="";this.icon&&(this.icon.match(/^(http|https|data:image)/)?i=``:i=``),o.innerHTML=n.replace(/{key}/g,this.key).replace(/{label}/g,this.label).replace(/{icon}/g,i);const s=o.firstElementChild;if(s.setAttribute("title",this.title||""),this.onClick&&s.addEventListener("click",async c=>{this.onClick(this,c)}),this.onMouseOver&&s.addEventListener("mouseover",async c=>{this.onMouseOver&&this.onMouseOver(this,c)}),this.onMouseOut&&s.addEventListener("mouseout",async c=>{this.onMouseOut&&this.onMouseOut(this,c)}),this.subItems.length>0)for(const c of this.subItems){const u=await c.render();(r=s.querySelector(".sub-items"))==null||r.appendChild(u)}return s}async closeMenu(){unsafeWindow.Core.FileMenu.HideRight(),document.dispatchEvent(new CustomEvent(Qa.EVENT_CLOSE_MENU,{detail:{menu:this}}))}};let Nt=Qa;$e(Nt,"EVENT_CLOSE_MENU","__closeMenu");async function ns(e,t){t.stopPropagation(),t.preventDefault();const n=t.target,o=$(n).closest(".ce-menu-parent"),i=o.find(".ce-menu-dropdown");o.addClass("ce-menu-dropdown-opened"),i.addClass("ce-menu-dropdown-active")}async function os(e,t){t.stopPropagation(),t.preventDefault();const n=t.target,o=$(n).closest(".ce-menu-parent"),i=o.find(".ce-menu-dropdown");o.removeClass("ce-menu-dropdown-opened"),i.removeClass("ce-menu-dropdown-active")}class Dt extends Nt{constructor(n){super(n);$e(this,"menuType",Ae.dirContext);this.onMouseOver=ns,this.onMouseOut=os}}class mm extends Nt{constructor(){super(...arguments);$e(this,"menuType",Ae.dirContextSub)}}class vc extends Nt{constructor(n){super(n);$e(this,"menuType",Ae.listItemContext);this.onMouseOver=ns,this.onMouseOut=os}}class is extends Nt{constructor(n){super(n);$e(this,"menuType",Ae.listItemHover);this.onMouseOver=ns,this.onMouseOut=os}}class Rr extends Nt{constructor(){super(...arguments);$e(this,"menuType",Ae.listItemHoverSub)}}class _c extends Nt{constructor(n){super(n);$e(this,"menuType",Ae.selection);this.onMouseOver=ns,this.onMouseOut=os}}class gm extends Nt{constructor(){super(...arguments);$e(this,"menuType",Ae.selectionSub)}}class ss{constructor(t){$e(this,"items");$e(this,"siblingSelector");$e(this,"position");$e(this,"useObserver",!0);$e(this,"observeTarget",document.body);$e(this,"disposeObserverAfterInjection",!0);$e(this,"menuType");$e(this,"_observer");$e(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 Jo(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,Ae.dirContext,this.menuType){case Ae.listItemHover:return!0;case Ae.listItemContext:return n&&n.classList.contains("context-menu")&&!!n.querySelector('[val="report"]');case Ae.selection:return!0;case Ae.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 Ae.listItemHover:document.querySelectorAll("#js_data_list .list-contents > ul > li .file-opr").forEach(i=>{n.push(i)});break;case Ae.listItemContext:n=[o];break;case Ae.selection:document.querySelectorAll("#js_top_panel_box #js_operate_box").forEach(i=>{n.push(i)});break;case Ae.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===Wn.after&&(o=o.reverse());for(let i=0;i ul > li .file-opr");o.length&&await this.perform(Array.from(o))}super.inject()}}class vm extends ss{constructor(){super(...arguments);$e(this,"menuType",Ae.selection);$e(this,"useObserver",!0);$e(this,"observeTarget","#js_top_panel_box #js_operate_box");$e(this,"disposeObserverAfterInjection",!1)}}async function _m(e,t){return!!$(t).closest("li").attr("cate_id")}async function xm(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?Cp(o)||kp(o)||$p(o):!1}async function Cm(e){if(!location.search.includes("ac=search")||!e.enableInSearch)return;const n=(await Jo("#js_data_list"))[0],o=[{label:"移动",body:'移动',enabled:!0},{label:"重命名",body:'重命名',enabled:!0},{label:"删除",body:'删除',enabled:!0},{label:"属性",body:'属性',enabled:!0}],i=c=>{let u="";for(const f of c)!f.enabled||(u+=f.body);return u},s=()=>{const c=".ce-menu-init",u=document.querySelectorAll(`li[rel="item"]:not(${c})`),f=i(o);for(let d=0;d{c.type==="childList"&&s()}).observe(n,{childList:!0})}async function $m(e){if(!e.hideSelectionMenuLabel)return;const n=(await Jo("#js_operate_box"))[0];new MutationObserver(async([i])=>{if(i.type==="childList"){const s=n.querySelectorAll("li[menu]");for(let r=0;r{r.stopPropagation(),r.preventDefault();try{const c=$(r.target).closest("li"),u=await Wt(c),f=await zi(),d=await Dr(u,o,f);if(console.log("[search url]",d),!d)throw new Error("无法获取有效的搜索链接!");gp(d,{active:!o.openInBackground})}catch(c){console.error(c),ge({title:"搜索失败",text:c.toString(),icon:"error"})}}});n.push(i)}return n}async function Fr(e,t){if(console.log("[playDirOnAnxia]",e,t),!t)try{ge({title:"正在查找可播放的文件...",text:"请稍等...",icon:"info"}),me.showLoading(),t=await Gh(e),console.log("[playDirOnAnxia] file",t)}catch(o){console.error(o),ge({title:"播放失败",text:o.toString(),icon:"error"});return}t||ge({title:"播放失败",text:"没有在该目录下找到可播放的文件![file_null]",icon:"error"});const n=mc(t.pc);window.open(n,"_blank","noopener noreferrer")}async function Em(e,t){const n=[];for(const o of t){const i=mr(e,{key:`_ce_p_${o.key}`,label:o.label,icon:o.icon,title:o.memo,onClick:async(s,r)=>{r.stopPropagation(),r.preventDefault();try{const c=$(r.target).closest("li"),u=await Wt(c),f=await zi(),d=await Dr(u,o,f);if(u.cate_id&&d.includes("v.anxia.com")){Fr(u.cate_id);return}if(console.log("[play url]",d),!d)throw new Error("无法获取有效的播放链接!");window.open(d,"_blank","noopener noreferrer")}catch(c){console.error(c),ge({title:"播放失败",text:c.toString(),icon:"error"})}}});n.push(i)}return n}var mt=(e=>(e[e.full=0]="full",e[e.pure=1]="pure",e[e.fullUnique=2]="fullUnique",e[e.pureUnique=3]="pureUnique",e))(mt||{});async function rs(e,t){if(t===0)return e;if(t===2)return Array.from(new Set(e));const n=[];for(const o of e){const i=o.replace(/\.[^.]+$/,"");t===1?n.push(i):t===3&&(n.includes(i)||n.push(i))}return n}async function Am(e){return async(t,n)=>{const o=await qt(),i=await es(),s=e?"li[file_id].selected":"li[file_id]",r=i[0].querySelectorAll(s);if(!r.length){ge({title:"文件移动到同名目录",text:e?"当前目录没有选中文件":"当前目录没有文件",icon:"warning"});return}const{value:c}=await me.fire({title:"文件移动到同名目录",text:e?`当前已选中${r.length}个文件,是否继续?`:`当前目录共有${r.length}个文件,是否继续?`,icon:"warning",showCancelButton:!0,confirmButtonText:"继续",cancelButtonText:"取消"});if(!!c){me.fire({title:"文件移动到同名目录",html:"正在处理...",didOpen:()=>{me.showLoading()}});for(let u=0;u!!n[i.toLowerCase()]:i=>!!n[i]}function on(e){if(fe(e)){const t={};for(let n=0;n{if(n){const o=n.split(Om);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function et(e){let t="";if(We(e))t=e;else if(fe(e))for(let n=0;nas(n,t))}const we=e=>We(e)?e:e==null?"":fe(e)||je(e)&&(e.toString===Ac||!ye(e.toString))?JSON.stringify(e,$c,2):String(e),$c=(e,t)=>t&&t.__v_isRef?$c(e,t.value):Gn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,i])=>(n[`${o} =>`]=i,n),{})}:cs(t)?{[`Set(${t.size})`]:[...t.values()]}:je(t)&&!fe(t)&&!Sc(t)?String(t):t,He=Object.freeze({}),Ao=Object.freeze([]),$t=()=>{},kc=()=>!1,Fm=/^on[^a-z]/,oi=e=>Fm.test(e),ls=e=>e.startsWith("onUpdate:"),tt=Object.assign,jr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},jm=Object.prototype.hasOwnProperty,Te=(e,t)=>jm.call(e,t),fe=Array.isArray,Gn=e=>si(e)==="[object Map]",cs=e=>si(e)==="[object Set]",Ec=e=>si(e)==="[object Date]",ye=e=>typeof e=="function",We=e=>typeof e=="string",ii=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",us=e=>je(e)&&ye(e.then)&&ye(e.catch),Ac=Object.prototype.toString,si=e=>Ac.call(e),Ur=e=>si(e).slice(8,-1),Sc=e=>si(e)==="[object Object]",Hr=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ds=kn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Um=kn("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),fs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hm=/-(\w)/g,Kt=fs(e=>e.replace(Hm,(t,n)=>n?n.toUpperCase():"")),zm=/\B([A-Z])/g,sn=fs(e=>e.replace(zm,"-$1").toLowerCase()),Jn=fs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yn=fs(e=>e?`on${Jn(e)}`:""),ri=(e,t)=>!Object.is(e,t),So=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},zr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vm=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let Oc;const Pc=()=>Oc||(Oc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Vr(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Rt;class qm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Rt,!t&&Rt&&(this.index=(Rt.scopes||(Rt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Rt;try{return Rt=this,t()}finally{Rt=n}}else Vr("cannot run an inactive effect scope.")}on(){Rt=this}off(){Rt=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},Ic=e=>(e.w&En)>0,Tc=e=>(e.n&En)>0,Gm=({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{(m==="length"||m>=f)&&c.push(d)})}else switch(n!==void 0&&c.push(r.get(n)),t){case"add":fe(e)?Hr(n)&&c.push(r.get("length")):(c.push(r.get(Xn)),Gn(e)&&c.push(r.get(Kr)));break;case"delete":fe(e)||(c.push(r.get(Xn)),Gn(e)&&c.push(r.get(Kr)));break;case"set":Gn(e)&&c.push(r.get(Xn));break}const u={target:e,type:t,key:n,newValue:o,oldValue:i,oldTarget:s};if(c.length===1)c[0]&&Jr(c[0],u);else{const f=[];for(const d of c)d&&f.push(...d);Jr(qr(f),u)}}function Jr(e,t){const n=fe(e)?e:[...e];for(const o of n)o.computed&&Nc(o,t);for(const o of n)o.computed||Nc(o,t)}function Nc(e,t){(e!==gt||e.allowRecurse)&&(e.onTrigger&&e.onTrigger(tt({effect:e},t)),e.scheduler?e.scheduler():e.run())}function Ym(e,t){var n;return(n=hs.get(e))===null||n===void 0?void 0:n.get(t)}const Xm=kn("__proto__,__v_isRef,__isVue"),Dc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ii)),Zm=ms(),Qm=ms(!1,!0),eg=ms(!0),tg=ms(!0,!0),Rc=ng();function ng(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=Se(this);for(let s=0,r=this.length;s{e[t]=function(...n){Zn();const o=Se(this)[t].apply(this,n);return Qn(),o}}),e}function og(e){const t=Se(this);return kt(t,"has",e),t.hasOwnProperty(e)}function ms(e=!1,t=!1){return function(o,i,s){if(i==="__v_isReactive")return!e;if(i==="__v_isReadonly")return e;if(i==="__v_isShallow")return t;if(i==="__v_raw"&&s===(e?t?Yc:Jc:t?Gc:Kc).get(o))return o;const r=fe(o);if(!e){if(r&&Te(Rc,i))return Reflect.get(Rc,i,s);if(i==="hasOwnProperty")return og}const c=Reflect.get(o,i,s);return(ii(i)?Dc.has(i):Xm(i))||(e||kt(o,"get",i),t)?c:nt(c)?r&&Hr(i)?c:c.value:je(c)?e?Xc(c):Cs(c):c}}const ig=Fc(),sg=Fc(!0);function Fc(e=!1){return function(n,o,i,s){let r=n[o];if(On(r)&&nt(r)&&!nt(i))return!1;if(!e&&(!ks(i)&&!On(i)&&(r=Se(r),i=Se(i)),!fe(n)&&nt(r)&&!nt(i)))return r.value=i,!0;const c=fe(n)&&Hr(o)?Number(o)e,gs=e=>Reflect.getPrototypeOf(e);function ws(e,t,n=!1,o=!1){e=e.__v_raw;const i=Se(e),s=Se(t);n||(t!==s&&kt(i,"get",t),kt(i,"get",s));const{has:r}=gs(i),c=o?Yr:n?Xr:li;if(r.call(i,t))return c(e.get(t));if(r.call(i,s))return c(e.get(s));e!==i&&e.get(t)}function bs(e,t=!1){const n=this.__v_raw,o=Se(n),i=Se(e);return t||(e!==i&&kt(o,"has",e),kt(o,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function ys(e,t=!1){return e=e.__v_raw,!t&&kt(Se(e),"iterate",Xn),Reflect.get(e,"size",e)}function Hc(e){e=Se(e);const t=Se(this);return gs(t).has.call(t,e)||(t.add(e),rn(t,"add",e,e)),this}function zc(e,t){t=Se(t);const n=Se(this),{has:o,get:i}=gs(n);let s=o.call(n,e);s?Wc(n,o,e):(e=Se(e),s=o.call(n,e));const r=i.call(n,e);return n.set(e,t),s?ri(t,r)&&rn(n,"set",e,t,r):rn(n,"add",e,t),this}function Vc(e){const t=Se(this),{has:n,get:o}=gs(t);let i=n.call(t,e);i?Wc(t,n,e):(e=Se(e),i=n.call(t,e));const s=o?o.call(t,e):void 0,r=t.delete(e);return i&&rn(t,"delete",e,void 0,s),r}function qc(){const e=Se(this),t=e.size!==0,n=Gn(e)?new Map(e):new Set(e),o=e.clear();return t&&rn(e,"clear",void 0,void 0,n),o}function vs(e,t){return function(o,i){const s=this,r=s.__v_raw,c=Se(r),u=t?Yr:e?Xr:li;return!e&&kt(c,"iterate",Xn),r.forEach((f,d)=>o.call(i,u(f),u(d),s))}}function _s(e,t,n){return function(...o){const i=this.__v_raw,s=Se(i),r=Gn(s),c=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,f=i[e](...o),d=n?Yr:t?Xr:li;return!t&&kt(s,"iterate",u?Kr:Xn),{next(){const{value:m,done:b}=f.next();return b?{value:m,done:b}:{value:c?[d(m[0]),d(m[1])]:d(m),done:b}},[Symbol.iterator](){return this}}}}function Sn(e){return function(...t){{const n=t[0]?`on key "${t[0]}" `:"";console.warn(`${Jn(e)} operation ${n}failed: target is readonly.`,Se(this))}return e==="delete"?!1:this}}function dg(){const e={get(s){return ws(this,s)},get size(){return ys(this)},has:bs,add:Hc,set:zc,delete:Vc,clear:qc,forEach:vs(!1,!1)},t={get(s){return ws(this,s,!1,!0)},get size(){return ys(this)},has:bs,add:Hc,set:zc,delete:Vc,clear:qc,forEach:vs(!1,!0)},n={get(s){return ws(this,s,!0)},get size(){return ys(this,!0)},has(s){return bs.call(this,s,!0)},add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear"),forEach:vs(!0,!1)},o={get(s){return ws(this,s,!0,!0)},get size(){return ys(this,!0)},has(s){return bs.call(this,s,!0)},add:Sn("add"),set:Sn("set"),delete:Sn("delete"),clear:Sn("clear"),forEach:vs(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=_s(s,!1,!1),n[s]=_s(s,!0,!1),t[s]=_s(s,!1,!0),o[s]=_s(s,!0,!0)}),[e,n,t,o]}const[fg,pg,hg,mg]=dg();function xs(e,t){const n=t?e?mg:hg:e?pg:fg;return(o,i,s)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?o:Reflect.get(Te(n,i)&&i in o?n:o,i,s)}const gg={get:xs(!1,!1)},wg={get:xs(!1,!0)},bg={get:xs(!0,!1)},yg={get:xs(!0,!0)};function Wc(e,t,n){const o=Se(n);if(o!==n&&t.call(e,o)){const i=Ur(e);console.warn(`Reactive ${i} contains both the raw and reactive versions of the same object${i==="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 Kc=new WeakMap,Gc=new WeakMap,Jc=new WeakMap,Yc=new WeakMap;function vg(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _g(e){return e.__v_skip||!Object.isExtensible(e)?0:vg(Ur(e))}function Cs(e){return On(e)?e:$s(e,!1,jc,gg,Kc)}function xg(e){return $s(e,!1,cg,wg,Gc)}function Xc(e){return $s(e,!0,Uc,bg,Jc)}function Oo(e){return $s(e,!0,ug,yg,Yc)}function $s(e,t,n,o,i){if(!je(e))return console.warn(`value cannot be made reactive: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const r=_g(e);if(r===0)return e;const c=new Proxy(e,r===2?o:n);return i.set(e,c),c}function eo(e){return On(e)?eo(e.__v_raw):!!(e&&e.__v_isReactive)}function On(e){return!!(e&&e.__v_isReadonly)}function ks(e){return!!(e&&e.__v_isShallow)}function Es(e){return eo(e)||On(e)}function Se(e){const t=e&&e.__v_raw;return t?Se(t):e}function Zc(e){return ps(e,"__v_skip",!0),e}const li=e=>je(e)?Cs(e):e,Xr=e=>je(e)?Xc(e):e;function Qc(e){An&>&&(e=Se(e),Lc(e.dep||(e.dep=qr()),{target:e,type:"get",key:"value"}))}function eu(e,t){e=Se(e);const n=e.dep;n&&Jr(n,{target:e,type:"set",key:"value",newValue:t})}function nt(e){return!!(e&&e.__v_isRef===!0)}function _e(e){return Cg(e,!1)}function Cg(e,t){return nt(e)?e:new $g(e,t)}class $g{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Se(t),this._value=n?t:li(t)}get value(){return Qc(this),this._value}set value(t){const n=this.__v_isShallow||ks(t)||On(t);t=n?t:Se(t),ri(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:li(t),eu(this,t))}}function Me(e){return nt(e)?e.value:e}const kg={get:(e,t,n)=>Me(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const i=e[t];return nt(i)&&!nt(n)?(i.value=n,!0):Reflect.set(e,t,n,o)}};function tu(e){return eo(e)?e:new Proxy(e,kg)}function Eg(e){Es(e)||console.warn("toRefs() expects a reactive object but received a plain one.");const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Sg(e,n);return t}class Ag{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 Ym(Se(this._object),this._key)}}function Sg(e,t,n){const o=e[t];return nt(o)?o:new Ag(e,t,n)}var nu;class Og{constructor(t,n,o,i){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[nu]=!1,this._dirty=!0,this.effect=new Gr(t,()=>{this._dirty||(this._dirty=!0,eu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!i,this.__v_isReadonly=o}get value(){const t=Se(this);return Qc(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}nu="__v_isReadonly";function Pg(e,t,n=!1){let o,i;const s=ye(e);s?(o=e,i=()=>{console.warn("Write operation failed: computed value is readonly")}):(o=e.get,i=e.set);const r=new Og(o,i,s||!i,n);return t&&!n&&(r.effect.onTrack=t.onTrack,r.effect.onTrigger=t.onTrigger),r}const to=[];function ci(e){to.push(e)}function ui(){to.pop()}function Y(e,...t){Zn();const n=to.length?to[to.length-1].component:null,o=n&&n.appContext.config.warnHandler,i=Ig();if(o)an(o,n,11,[e+t.join(""),n&&n.proxy,i.map(({vnode:s})=>`at <${js(n,s.type)}>`).join(` `),i]);else{const s=[`[Vue warn]: ${e}`,...t];i.length&&s.push(` `,...Tg(i)),console.warn(...s)}Qn()}function Ig(){let e=to[to.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 Tg(e){const t=[];return e.forEach((n,o)=>{t.push(...o===0?[]:[` `],...Mg(n))}),t}function Mg({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=e.component?e.component.parent==null:!1,i=` at <${js(e.component,e.type,o)}`,s=">"+n;return e.props?[i,...Bg(e.props),s]:[i+s]}function Bg(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(o=>{t.push(...ou(o,e[o]))}),n.length>3&&t.push(" ..."),t}function ou(e,t,n){return We(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:nt(t)?(t=ou(e,Se(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ye(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=Se(t),n?t:[`${e}=`,t])}function Lg(e,t){e!==void 0&&(typeof e!="number"?Y(`${t} is not a valid number - got ${JSON.stringify(e)}.`):isNaN(e)&&Y(`${t} is NaN - the duration expression might be incorrect.`))}const Zr={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 an(e,t,n,o){let i;try{i=o?e(...o):e()}catch(s){di(s,t,n)}return i}function Ft(e,t,n,o){if(ye(e)){const s=an(e,t,n,o);return s&&us(s)&&s.catch(r=>{di(r,t,n)}),s}const i=[];for(let s=0;s>>1;pi(ft[o])Gt&&ft.splice(t,1)}function ta(e){fe(e)?Po.push(...e):(!Jt||!Jt.includes(e,e.allowRecurse?Pn+1:Pn))&&Po.push(e),ru()}function au(e,t=fi?Gt+1:0){for(e=e||new Map;tpi(n)-pi(o)),Pn=0;Pne.id==null?1/0:e.id,jg=(e,t)=>{const n=pi(e)-pi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function cu(e){Qr=!1,fi=!0,e=e||new Map,ft.sort(jg);const t=n=>na(e,n);try{for(Gt=0;GtDg){const o=t.ownerInstance,i=o&&Aa(o.type);return Y(`Maximum recursive updates exceeded${i?` in component <${i}>`:""}. 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 no=!1;const Io=new Set;Pc().__VUE_HMR_RUNTIME__={createRecord:oa(uu),rerender:oa(zg),reload:oa(Vg)};const oo=new Map;function Ug(e){const t=e.type.__hmrId;let n=oo.get(t);n||(uu(t,e.type),n=oo.get(t)),n.instances.add(e)}function Hg(e){oo.get(e.type.__hmrId).instances.delete(e)}function uu(e,t){return oo.has(e)?!1:(oo.set(e,{initialDef:hi(t),instances:new Set}),!0)}function hi(e){return Qu(e)?e.__vccOpts:e}function zg(e,t){const n=oo.get(e);!n||(n.initialDef.render=t,[...n.instances].forEach(o=>{t&&(o.render=t,hi(o.type).render=t),o.renderCache=[],no=!0,o.update(),no=!1}))}function Vg(e,t){const n=oo.get(e);if(!n)return;t=hi(t),du(n.initialDef,t);const o=[...n.instances];for(const i of o){const s=hi(i.type);Io.has(s)||(s!==n.initialDef&&du(s,t),Io.add(s)),i.appContext.optionsCache.delete(i.type),i.ceReload?(Io.add(s),i.ceReload(t.styles),Io.delete(s)):i.parent?As(i.parent.update):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}ta(()=>{for(const i of o)Io.delete(hi(i.type))})}function du(e,t){tt(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function oa(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 Yt,mi=[],ia=!1;function gi(e,...t){Yt?Yt.emit(e,...t):ia||mi.push({event:e,args:t})}function fu(e,t){var n,o;Yt=e,Yt?(Yt.enabled=!0,mi.forEach(({event:i,args:s})=>Yt.emit(i,...s)),mi=[]):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(s=>{fu(s,t)}),setTimeout(()=>{Yt||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ia=!0,mi=[])},3e3)):(ia=!0,mi=[])}function qg(e,t){gi("app:init",e,t,{Fragment:ze,Text:Ci,Comment:bt,Static:$i})}function Wg(e){gi("app:unmount",e)}const Kg=sa("component:added"),pu=sa("component:updated"),Gg=sa("component:removed"),Jg=e=>{Yt&&typeof Yt.cleanupBuffer=="function"&&!Yt.cleanupBuffer(e)&&Gg(e)};function sa(e){return t=>{gi(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const Yg=hu("perf:start"),Xg=hu("perf:end");function hu(e){return(t,n,o)=>{gi(e,t.appContext.app,t.uid,t,n,o)}}function Zg(e,t,n){gi("component:emit",e.appContext.app,e,t,n)}function Qg(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||He;{const{emitsOptions:d,propsOptions:[m]}=e;if(d)if(!(t in d))(!m||!(Yn(t)in m))&&Y(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${Yn(t)}" prop.`);else{const b=d[t];ye(b)&&(b(...n)||Y(`Invalid event arguments: event validation failed for event "${t}".`))}}let i=n;const s=t.startsWith("update:"),r=s&&t.slice(7);if(r&&r in o){const d=`${r==="modelValue"?"model":r}Modifiers`,{number:m,trim:b}=o[d]||He;b&&(i=n.map(k=>We(k)?k.trim():k)),m&&(i=n.map(zr))}Zg(e,t,i);{const d=t.toLowerCase();d!==t&&o[Yn(d)]&&Y(`Event "${d}" is emitted in component ${js(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 "${sn(t)}" instead of "${t}".`)}let c,u=o[c=Yn(t)]||o[c=Yn(Kt(t))];!u&&s&&(u=o[c=Yn(sn(t))]),u&&Ft(u,e,6,i);const f=o[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ft(f,e,6,i)}}function mu(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(i!==void 0)return i;const s=e.emits;let r={},c=!1;if(!ye(e)){const u=f=>{const d=mu(f,t,!0);d&&(c=!0,tt(r,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!s&&!c?(je(e)&&o.set(e,null),null):(fe(s)?s.forEach(u=>r[u]=null):tt(r,s),je(e)&&o.set(e,r),r)}function Ss(e,t){return!e||!oi(t)?!1:(t=t.slice(2).replace(/Once$/,""),Te(e,t[0].toLowerCase()+t.slice(1))||Te(e,sn(t))||Te(e,t))}let st=null,Os=null;function Ps(e){const t=st;return st=e,Os=e&&e.type.__scopeId||null,t}function ew(e){Os=e}function tw(){Os=null}const nw=e=>qe;function qe(e,t=st,n){if(!t||e._n)return e;const o=(...i)=>{o._d&&qu(-1);const s=Ps(t);let r;try{r=e(...i)}finally{Ps(s),o._d&&qu(1)}return pu(t),r};return o._n=!0,o._c=!0,o._d=!0,o}let ra=!1;function Is(){ra=!0}function aa(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:s,propsOptions:[r],slots:c,attrs:u,emit:f,render:d,renderCache:m,data:b,setupState:k,ctx:A,inheritAttrs:S}=e;let R,V;const P=Ps(e);ra=!1;try{if(n.shapeFlag&4){const ee=i||o;R=Bt(d.call(ee,ee,m,s,k,b,A)),V=u}else{const ee=t;u===s&&Is(),R=Bt(ee.length>1?ee(s,{get attrs(){return Is(),u},slots:c,emit:f}):ee(s,null)),V=t.props?u:iw(u)}}catch(ee){ki.length=0,di(ee,e,1),R=xe(bt)}let T=R,X;if(R.patchFlag>0&&R.patchFlag&2048&&([T,X]=ow(R)),V&&S!==!1){const ee=Object.keys(V),{shapeFlag:te}=T;if(ee.length){if(te&7)r&&ee.some(ls)&&(V=sw(V,r)),T=Mn(T,V);else if(!ra&&T.type!==bt){const Pe=Object.keys(u),ke=[],Ee=[];for(let Ie=0,de=Pe.length;Ie renders non-element root node that cannot be animated."),T.transition=n.transition),X?X(T):R=T,Ps(P),R}const ow=e=>{const t=e.children,n=e.dynamicChildren,o=la(t);if(!o)return[e,void 0];const i=t.indexOf(o),s=n?n.indexOf(o):-1,r=c=>{t[i]=c,n&&(s>-1?n[s]=c:c.patchFlag>0&&(e.dynamicChildren=[...n,c]))};return[Bt(o),r]};function la(e){let t;for(let n=0;n{let t;for(const n in e)(n==="class"||n==="style"||oi(n))&&((t||(t={}))[n]=e[n]);return t},sw=(e,t)=>{const n={};for(const o in e)(!ls(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n},gu=e=>e.shapeFlag&7||e.type===bt;function rw(e,t,n){const{props:o,children:i,component:s}=e,{props:r,children:c,patchFlag:u}=t,f=s.emitsOptions;if((i||c)&&no||t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return o?wu(o,r,f):!!r;if(u&8){const d=t.dynamicProps;for(let m=0;me.__isSuspense,bu={name:"Suspense",__isSuspense:!0,process(e,t,n,o,i,s,r,c,u,f){e==null?lw(t,n,o,i,s,r,c,u,f):cw(e,t,n,o,i,r,c,u,f)},hydrate:uw,create:ua,normalize:dw};function wi(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function lw(e,t,n,o,i,s,r,c,u){const{p:f,o:{createElement:d}}=u,m=d("div"),b=e.suspense=ua(e,i,o,t,m,n,s,r,c,u);f(null,b.pendingBranch=e.ssContent,m,null,o,b,s,r),b.deps>0?(wi(e,"onPending"),wi(e,"onFallback"),f(null,e.ssFallback,t,n,o,null,s,r),To(b,e.ssFallback)):b.resolve()}function cw(e,t,n,o,i,s,r,c,{p:u,um:f,o:{createElement:d}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const b=t.ssContent,k=t.ssFallback,{activeBranch:A,pendingBranch:S,isInFallback:R,isHydrating:V}=m;if(S)m.pendingBranch=b,Tn(b,S)?(u(S,b,m.hiddenContainer,null,i,m,s,r,c),m.deps<=0?m.resolve():R&&(u(A,k,n,o,i,null,s,r,c),To(m,k))):(m.pendingId++,V?(m.isHydrating=!1,m.activeBranch=S):f(S,i,m),m.deps=0,m.effects.length=0,m.hiddenContainer=d("div"),R?(u(null,b,m.hiddenContainer,null,i,m,s,r,c),m.deps<=0?m.resolve():(u(A,k,n,o,i,null,s,r,c),To(m,k))):A&&Tn(b,A)?(u(A,b,n,o,i,m,s,r,c),m.resolve(!0)):(u(null,b,m.hiddenContainer,null,i,m,s,r,c),m.deps<=0&&m.resolve()));else if(A&&Tn(b,A))u(A,b,n,o,i,m,s,r,c),To(m,b);else if(wi(t,"onPending"),m.pendingBranch=b,m.pendingId++,u(null,b,m.hiddenContainer,null,i,m,s,r,c),m.deps<=0)m.resolve();else{const{timeout:P,pendingId:T}=m;P>0?setTimeout(()=>{m.pendingId===T&&m.fallback(k)},P):P===0&&m.fallback(k)}}let yu=!1;function ua(e,t,n,o,i,s,r,c,u,f,d=!1){yu||(yu=!0,console[console.info?"info":"log"](" is an experimental feature and its API will likely change."));const{p:m,m:b,um:k,n:A,o:{parentNode:S,remove:R}}=f,V=e.props?Vm(e.props.timeout):void 0;Lg(V,"Suspense timeout");const P={vnode:e,parent:t,parentComponent:n,isSVG:r,container:o,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:typeof V=="number"?V:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(T=!1){{if(!T&&!P.pendingBranch)throw new Error("suspense.resolve() is called without a pending branch.");if(P.isUnmounted)throw new Error("suspense.resolve() is called on an already unmounted suspense boundary.")}const{vnode:X,activeBranch:ee,pendingBranch:te,pendingId:Pe,effects:ke,parentComponent:Ee,container:Ie}=P;if(P.isHydrating)P.isHydrating=!1;else if(!T){const Ce=ee&&te.transition&&te.transition.mode==="out-in";Ce&&(ee.transition.afterLeave=()=>{Pe===P.pendingId&&b(te,Ie,se,0)});let{anchor:se}=P;ee&&(se=A(ee),k(ee,Ee,P,!0)),Ce||b(te,Ie,se,0)}To(P,te),P.pendingBranch=null,P.isInFallback=!1;let de=P.parent,ie=!1;for(;de;){if(de.pendingBranch){de.effects.push(...ke),ie=!0;break}de=de.parent}ie||ta(ke),P.effects=[],wi(X,"onResolve")},fallback(T){if(!P.pendingBranch)return;const{vnode:X,activeBranch:ee,parentComponent:te,container:Pe,isSVG:ke}=P;wi(X,"onFallback");const Ee=A(ee),Ie=()=>{!P.isInFallback||(m(null,T,Pe,Ee,te,null,ke,c,u),To(P,T))},de=T.transition&&T.transition.mode==="out-in";de&&(ee.transition.afterLeave=Ie),P.isInFallback=!0,k(ee,te,null,!0),de||Ie()},move(T,X,ee){P.activeBranch&&b(P.activeBranch,T,X,ee),P.container=T},next(){return P.activeBranch&&A(P.activeBranch)},registerDep(T,X){const ee=!!P.pendingBranch;ee&&P.deps++;const te=T.vnode.el;T.asyncDep.catch(Pe=>{di(Pe,T,0)}).then(Pe=>{if(T.isUnmounted||P.isUnmounted||P.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:ke}=T;ci(ke),ka(T,Pe,!1),te&&(ke.el=te);const Ee=!te&&T.subTree.el;X(T,ke,S(te||T.subTree.el),te?null:A(T.subTree),P,r,u),Ee&&R(Ee),ca(T,ke.el),ui(),ee&&--P.deps===0&&P.resolve()})},unmount(T,X){P.isUnmounted=!0,P.activeBranch&&k(P.activeBranch,n,T,X),P.pendingBranch&&k(P.pendingBranch,n,T,X)}};return P}function uw(e,t,n,o,i,s,r,c,u){const f=t.suspense=ua(t,o,n,e.parentNode,document.createElement("div"),null,i,s,r,c,!0),d=u(e,f.pendingBranch=t.ssContent,n,f,s,r);return f.deps===0&&f.resolve(),d}function dw(e){const{shapeFlag:t,children:n}=e,o=t&32;e.ssContent=vu(o?n.default:n),e.ssFallback=o?vu(n.fallback):xe(bt)}function vu(e){let t;if(ye(e)){const n=Mo&&e._c;n&&(e._d=!1,Q()),e=e(),n&&(e._d=!0,t=Mt,Vu())}if(fe(e)){const n=la(e);n||Y(" slots expect a single root node."),e=n}return e=Bt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function fw(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):ta(e)}function To(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,i=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=i,ca(o,i))}function bi(e,t){if(!Je)Y("provide() can only be used inside setup().");else{let n=Je.provides;const o=Je.parent&&Je.parent.provides;o===n&&(n=Je.provides=Object.create(o)),n[e]=t}}function yi(e,t,n=!1){const o=Je||st;if(o){const i=o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&ye(t)?t.call(o.proxy):t;Y(`injection "${String(e)}" not found.`)}else Y("inject() can only be used inside setup() or functional components.")}const Ts={};function Et(e,t,n){return ye(t)||Y("`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."),_u(e,t,n)}function _u(e,t,{immediate:n,deep:o,flush:i,onTrack:s,onTrigger:r}=He){t||(n!==void 0&&Y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&Y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'));const c=X=>{Y("Invalid watch source: ",X,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},u=Km()===(Je==null?void 0:Je.scope)?Je:null;let f,d=!1,m=!1;if(nt(e)?(f=()=>e.value,d=ks(e)):eo(e)?(f=()=>e,o=!0):fe(e)?(m=!0,d=e.some(X=>eo(X)||ks(X)),f=()=>e.map(X=>{if(nt(X))return X.value;if(eo(X))return io(X);if(ye(X))return an(X,u,2);c(X)})):ye(e)?t?f=()=>an(e,u,2):f=()=>{if(!(u&&u.isUnmounted))return b&&b(),Ft(e,u,3,[k])}:(f=$t,c(e)),t&&o){const X=f;f=()=>io(X())}let b,k=X=>{b=P.onStop=()=>{an(X,u,4)}},A;if(Ei)if(k=$t,t?n&&Ft(t,u,3,[f(),m?[]:void 0,k]):f(),i==="sync"){const X=mb();A=X.__watcherHandles||(X.__watcherHandles=[])}else return $t;let S=m?new Array(e.length).fill(Ts):Ts;const R=()=>{if(!!P.active)if(t){const X=P.run();(o||d||(m?X.some((ee,te)=>ri(ee,S[te])):ri(X,S)))&&(b&&b(),Ft(t,u,3,[X,S===Ts?void 0:m&&S[0]===Ts?[]:S,k]),S=X)}else P.run()};R.allowRecurse=!!t;let V;i==="sync"?V=R:i==="post"?V=()=>St(R,u&&u.suspense):(R.pre=!0,u&&(R.id=u.uid),V=()=>As(R));const P=new Gr(f,V);P.onTrack=s,P.onTrigger=r,t?n?R():S=P.run():i==="post"?St(P.run.bind(P),u&&u.suspense):P.run();const T=()=>{P.stop(),u&&u.scope&&jr(u.scope.effects,P)};return A&&A.push(T),T}function pw(e,t,n){const o=this.proxy,i=We(e)?e.includes(".")?xu(o,e):()=>o[e]:e.bind(o,o);let s;ye(t)?s=t:(s=t.handler,n=t);const r=Je;Ln(this);const c=_u(i,s.bind(o),n);return r?Ln(r):Nn(),c}function xu(e,t){const n=t.split(".");return()=>{let o=e;for(let i=0;i{io(n,t)});else if(Sc(e))for(const n in e)io(e[n],t);return e}function Ue(e){return ye(e)?{setup:e,name:e.name}:e}const vi=e=>!!e.type.__asyncLoader,da=e=>e.type.__isKeepAlive;function hw(e,t){Cu(e,"a",t)}function mw(e,t){Cu(e,"da",t)}function Cu(e,t,n=Je){const o=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ms(t,o,n),n){let i=n.parent;for(;i&&i.parent;)da(i.parent.vnode)&&gw(o,t,n,i),i=i.parent}}function gw(e,t,n,o){const i=Ms(t,e,o,!0);_i(()=>{jr(o[t],i)},n)}function Ms(e,t,n=Je,o=!1){if(n){const i=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...r)=>{if(n.isUnmounted)return;Zn(),Ln(n);const c=Ft(t,n,e,r);return Nn(),Qn(),c});return o?i.unshift(s):i.push(s),s}else{const i=Yn(Zr[e].replace(/ hook$/,""));Y(`${i} 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 ln=e=>(t,n=Je)=>(!Ei||e==="sp")&&Ms(e,(...o)=>t(...o),n),Xt=ln("bm"),Zt=ln("m"),ww=ln("bu"),bw=ln("u"),$u=ln("bum"),_i=ln("um"),yw=ln("sp"),vw=ln("rtg"),_w=ln("rtc");function xw(e,t=Je){Ms("ec",e,t)}function ku(e){Um(e)&&Y("Do not use built-in directive ids as custom directive id: "+e)}function oe(e,t){const n=st;if(n===null)return Y("withDirectives can only be used inside render functions."),e;const o=Fs(n)||n.proxy,i=e.dirs||(e.dirs=[]);for(let s=0;st(r,c,void 0,s&&s[c]));else{const r=Object.keys(e);i=new Array(r.length);for(let c=0,u=r.length;c1&&(Y("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."),s=()=>[]),s&&s._c&&(s._d=!1),Q();const r=s&&Au(s(n)),c=jt(ze,{key:n.key||r&&r.key||`_${t}`},r||(o?o():[]),r&&e._===1?64:-2);return!i&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),s&&s._c&&(s._d=!0),c}function Au(e){return e.some(t=>Bo(t)?!(t.type===bt||t.type===ze&&!Au(t.children)):!0)?e:null}const pa=e=>e?Xu(e)?Fs(e)||e.proxy:pa(e.parent):null,ao=tt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>Oo(e.props),$attrs:e=>Oo(e.attrs),$slots:e=>Oo(e.slots),$refs:e=>Oo(e.refs),$parent:e=>pa(e.parent),$root:e=>pa(e.root),$emit:e=>e.emit,$options:e=>wa(e),$forceUpdate:e=>e.f||(e.f=()=>As(e.update)),$nextTick:e=>e.n||(e.n=su.bind(e.proxy)),$watch:e=>pw.bind(e)}),ha=e=>e==="_"||e==="$",ma=(e,t)=>e!==He&&!e.__isScriptSetup&&Te(e,t),Su={get({_:e},t){const{ctx:n,setupState:o,data:i,props:s,accessCache:r,type:c,appContext:u}=e;if(t==="__isVue")return!0;let f;if(t[0]!=="$"){const k=r[t];if(k!==void 0)switch(k){case 1:return o[t];case 2:return i[t];case 4:return n[t];case 3:return s[t]}else{if(ma(o,t))return r[t]=1,o[t];if(i!==He&&Te(i,t))return r[t]=2,i[t];if((f=e.propsOptions[0])&&Te(f,t))return r[t]=3,s[t];if(n!==He&&Te(n,t))return r[t]=4,n[t];ga&&(r[t]=0)}}const d=ao[t];let m,b;if(d)return t==="$attrs"&&(kt(e,"get",t),Is()),d(e);if((m=c.__cssModules)&&(m=m[t]))return m;if(n!==He&&Te(n,t))return r[t]=4,n[t];if(b=u.config.globalProperties,Te(b,t))return b[t];st&&(!We(t)||t.indexOf("__v")!==0)&&(i!==He&&ha(t[0])&&Te(i,t)?Y(`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===st&&Y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;return ma(i,t)?(i[t]=n,!0):i.__isScriptSetup&&Te(i,t)?(Y(`Cannot mutate