diff --git a/public/theme/Xboard/assets/umi.js b/public/theme/Xboard/assets/umi.js index ef50488..95edd64 100644 --- a/public/theme/Xboard/assets/umi.js +++ b/public/theme/Xboard/assets/umi.js @@ -1,72 +1,72 @@ -(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.xboard-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.xboard-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.xboard-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.xboard-plan-features>li>b{color:#2a2e36;font-weight:500}.xboard-plan-content{padding-top:20px;padding-left:20px}.xboard-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.xboard-email-whitelist-enable{display:flex}.xboard-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.xboard-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.xboard-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xboard-lang-item{padding:10px 20px}.xboard-lang-item:hover{background:#eee}.xboard-auth-lang-btn{position:absolute;right:0;top:0}.xboard-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.xboard-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.xboard-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.xboard-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.xboard-container-title{flex:1 1;color:#fff}.xboard-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.xboard-order-info>div>span:first-child{flex:1 1;opacity:.5}.xboard-order-info>div>span:last-child{flex:2 1;font-family:menlo}.xboard-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.xboard-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.xboard-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.xboard-shortcuts-item>.description{font-size:12px;opacity:.5}.xboard-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.xboard-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.xboard-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.xboard-plan-tabs>span{cursor:pointer;padding:5px 12px}.xboard-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.xboard-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.xboard-payment-qrcode path[fill="#FFFFFF"]{--darkreader-inline-fill: #fff!important}.alert-success{color:#445e27;background-color:#e6f0db;border-color:#dceacd}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}.btn{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.btn.btn-square{border-radius:0}.btn.btn-rounded{border-radius:2rem}.btn .fa,.btn .si{position:relative;top:1px}.btn-group-sm>.btn .fa,.btn.btn-sm .fa{top:0}.btn-alt-primary{color:#054d9e;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:hover{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc}.btn-alt-primary.focus,.btn-alt-primary:focus{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc;box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-primary.disabled,.btn-alt-primary:disabled{color:#212529;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:not(:disabled):not(.disabled).active,.btn-alt-primary:not(:disabled):not(.disabled):active,.show>.btn-alt-primary.dropdown-toggle{color:#022954;background-color:#92c4fc;border-color:#92c4fc}.btn-alt-primary:not(:disabled):not(.disabled).active:focus,.btn-alt-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-secondary{color:#495057;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:hover{color:#495057;background-color:#d6deec;border-color:#d6deec}.btn-alt-secondary.focus,.btn-alt-secondary:focus{color:#495057;background-color:#d6deec;border-color:#d6deec;box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-secondary.disabled,.btn-alt-secondary:disabled{color:#212529;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:not(:disabled):not(.disabled).active,.btn-alt-secondary:not(:disabled):not(.disabled):active,.show>.btn-alt-secondary.dropdown-toggle{color:#262a2d;background-color:#c6d1e5;border-color:#c6d1e5}.btn-alt-secondary:not(:disabled):not(.disabled).active:focus,.btn-alt-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-success{color:#415b25;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:hover{color:#415b25;background-color:#c5dcab;border-color:#c5dcab}.btn-alt-success.focus,.btn-alt-success:focus{color:#415b25;background-color:#c5dcab;border-color:#c5dcab;box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-success.disabled,.btn-alt-success:disabled{color:#212529;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:not(:disabled):not(.disabled).active,.btn-alt-success:not(:disabled):not(.disabled):active,.show>.btn-alt-success.dropdown-toggle{color:#1a250f;background-color:#b9d69b;border-color:#b9d69b}.btn-alt-success:not(:disabled):not(.disabled).active:focus,.btn-alt-success:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-info{color:#164f86;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:hover{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2}.btn-alt-info.focus,.btn-alt-info:focus{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2;box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-info.disabled,.btn-alt-info:disabled{color:#212529;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:not(:disabled):not(.disabled).active,.btn-alt-info:not(:disabled):not(.disabled):active,.show>.btn-alt-info.dropdown-toggle{color:#0b2844;background-color:#9cc7ef;border-color:#9cc7ef}.btn-alt-info:not(:disabled):not(.disabled).active:focus,.btn-alt-info:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-warning{color:#996500;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:hover{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0}.btn-alt-warning.focus,.btn-alt-warning:focus{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0;box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-warning.disabled,.btn-alt-warning:disabled{color:#212529;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:not(:disabled):not(.disabled).active,.btn-alt-warning:not(:disabled):not(.disabled):active,.show>.btn-alt-warning.dropdown-toggle{color:#4c3200;background-color:#ffd789;border-color:#ffd789}.btn-alt-warning:not(:disabled):not(.disabled).active:focus,.btn-alt-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-danger{color:#6e270d;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:hover{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f}.btn-alt-danger.focus,.btn-alt-danger:focus{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f;box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-danger.disabled,.btn-alt-danger:disabled{color:#212529;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:not(:disabled):not(.disabled).active,.btn-alt-danger:not(:disabled):not(.disabled):active,.show>.btn-alt-danger.dropdown-toggle{color:#290f05;background-color:#f09a7b;border-color:#f09a7b}.btn-alt-danger:not(:disabled):not(.disabled).active:focus,.btn-alt-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-dark{color:#343a40;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:hover{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6}.btn-alt-dark.focus,.btn-alt-dark:focus{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6;box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-dark.disabled,.btn-alt-dark:disabled{color:#212529;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:not(:disabled):not(.disabled).active,.btn-alt-dark:not(:disabled):not(.disabled):active,.show>.btn-alt-dark.dropdown-toggle{color:#121416;background-color:#adb4bc;border-color:#adb4bc}.btn-alt-dark:not(:disabled):not(.disabled).active:focus,.btn-alt-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-light{color:#343a40;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:hover{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea}.btn-alt-light.focus,.btn-alt-light:focus{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea;box-shadow:0 0 0 .2rem #d4dae140}.btn-alt-light.disabled,.btn-alt-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:not(:disabled):not(.disabled).active,.btn-alt-light:not(:disabled):not(.disabled):active,.show>.btn-alt-light.dropdown-toggle{color:#121416;background-color:#d4dae1;border-color:#d4dae1}.btn-alt-light:not(:disabled):not(.disabled).active:focus,.btn-alt-light:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d4dae140}.btn-hero-primary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#0665d0;border:none;box-shadow:0 .125rem .75rem #04418640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-primary:hover{color:#fff;background-color:#117ef8;box-shadow:0 .375rem .75rem #04418666;transform:translateY(-1px)}.btn-hero-primary.focus,.btn-hero-primary:focus{color:#fff;background-color:#117ef8;box-shadow:0 .125rem .75rem #04418640}.btn-hero-primary.disabled,.btn-hero-primary:disabled{color:#fff;background-color:#0665d0;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active,.btn-hero-primary:not(:disabled):not(.disabled):active,.show>.btn-hero-primary.dropdown-toggle{color:#fff;background-color:#044186;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active:focus,.btn-hero-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-primary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #04418640}.btn-hero-secondary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#6c757d;border:none;box-shadow:0 .125rem .75rem #494f5440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-secondary:hover{color:#fff;background-color:#868e96;box-shadow:0 .375rem .75rem #494f5466;transform:translateY(-1px)}.btn-hero-secondary.focus,.btn-hero-secondary:focus{color:#fff;background-color:#868e96;box-shadow:0 .125rem .75rem #494f5440}.btn-hero-secondary.disabled,.btn-hero-secondary:disabled{color:#fff;background-color:#6c757d;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active,.btn-hero-secondary:not(:disabled):not(.disabled):active,.show>.btn-hero-secondary.dropdown-toggle{color:#fff;background-color:#494f54;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active:focus,.btn-hero-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-secondary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #494f5440}.btn-hero-success{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#82b54b;border:none;box-shadow:0 .125rem .75rem #5b7f3440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-success:hover{color:#fff;background-color:#9bc46f;box-shadow:0 .375rem .75rem #5b7f3466;transform:translateY(-1px)}.btn-hero-success.focus,.btn-hero-success:focus{color:#fff;background-color:#9bc46f;box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-success.disabled,.btn-hero-success:disabled{color:#fff;background-color:#82b54b;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active,.btn-hero-success:not(:disabled):not(.disabled):active,.show>.btn-hero-success.dropdown-toggle{color:#fff;background-color:#5b7f34;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active:focus,.btn-hero-success:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-success.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-info{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#3c90df;border:none;box-shadow:0 .125rem .75rem #1d6ab140;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-info:hover{color:#fff;background-color:#68a9e6;box-shadow:0 .375rem .75rem #1d6ab166;transform:translateY(-1px)}.btn-hero-info.focus,.btn-hero-info:focus{color:#fff;background-color:#68a9e6;box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-info.disabled,.btn-hero-info:disabled{color:#fff;background-color:#3c90df;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active,.btn-hero-info:not(:disabled):not(.disabled):active,.show>.btn-hero-info.dropdown-toggle{color:#fff;background-color:#1d6ab1;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active:focus,.btn-hero-info:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-info.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-warning{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#ffb119;border:none;box-shadow:0 .125rem .75rem #cc860040;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-warning:hover{color:#fff;background-color:#ffc24c;box-shadow:0 .375rem .75rem #cc860066;transform:translateY(-1px)}.btn-hero-warning.focus,.btn-hero-warning:focus{color:#fff;background-color:#ffc24c;box-shadow:0 .125rem .75rem #cc860040}.btn-hero-warning.disabled,.btn-hero-warning:disabled{color:#fff;background-color:#ffb119;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active,.btn-hero-warning:not(:disabled):not(.disabled):active,.show>.btn-hero-warning.dropdown-toggle{color:#fff;background-color:#cc8600;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active:focus,.btn-hero-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-warning.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cc860040}.btn-hero-danger{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#e04f1a;border:none;box-shadow:0 .125rem .75rem #9b371240;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-danger:hover{color:#fff;background-color:#e97044;box-shadow:0 .375rem .75rem #9b371266;transform:translateY(-1px)}.btn-hero-danger.focus,.btn-hero-danger:focus{color:#fff;background-color:#e97044;box-shadow:0 .125rem .75rem #9b371240}.btn-hero-danger.disabled,.btn-hero-danger:disabled{color:#fff;background-color:#e04f1a;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active,.btn-hero-danger:not(:disabled):not(.disabled):active,.show>.btn-hero-danger.dropdown-toggle{color:#fff;background-color:#9b3712;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active:focus,.btn-hero-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-danger.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #9b371240}.btn-hero-dark{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#343a40;border:none;box-shadow:0 .125rem .75rem #12141640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-dark:hover{color:#fff;background-color:#4b545c;box-shadow:0 .375rem .75rem #12141666;transform:translateY(-1px)}.btn-hero-dark.focus,.btn-hero-dark:focus{color:#fff;background-color:#4b545c;box-shadow:0 .125rem .75rem #12141640}.btn-hero-dark.disabled,.btn-hero-dark:disabled{color:#fff;background-color:#343a40;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active,.btn-hero-dark:not(:disabled):not(.disabled):active,.show>.btn-hero-dark.dropdown-toggle{color:#fff;background-color:#121416;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active:focus,.btn-hero-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-dark.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #12141640}.btn-hero-light{color:#212529;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#f8f9fa;border:none;box-shadow:0 .125rem .75rem #cbd3da40;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-light:hover{color:#212529;background-color:#fff;box-shadow:0 .375rem .75rem #cbd3da66;transform:translateY(-1px)}.btn-hero-light.focus,.btn-hero-light:focus{color:#212529;background-color:#fff;box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-light.disabled,.btn-hero-light:disabled{color:#212529;background-color:#f8f9fa;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active,.btn-hero-light:not(:disabled):not(.disabled):active,.show>.btn-hero-light.dropdown-toggle{color:#212529;background-color:#cbd3da;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active:focus,.btn-hero-light:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-light.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-lg{padding:.875rem 2.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-hero-sm{padding:.375rem 1.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-dual{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual.focus,.btn-dual:focus,.btn-dual:hover{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8;box-shadow:none}.btn-dual.disabled,.btn-dual:disabled{background-color:transparent;border-color:transparent}.btn-dual.active,.btn-dual:active{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual:not(:disabled):not(.disabled).active,.btn-dual:not(:disabled):not(.disabled):active,.show>.btn-dual.dropdown-toggle{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-attention-fg: #d29922;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-done-fg: #a371f7}html:not(.dark) .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-fg: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-done-fg: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-179cfe78]{width:100%;height:240px;object-fit:cover}.xboard-bg-pixels[data-v-179cfe78]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}a{text-decoration-line:none}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3,[mb-3=""]{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-15,[ml-15=""]{margin-left:15px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36,[h-36=""]{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full,[w-full=""]{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-60\\%{width:60%}.w-600{width:600px}.w-64{width:64px}.w-80\\%{width:80%}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-\\[3\\]{flex:3}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""],[rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5,.pl-5{padding-left:5px}.p-t-20,.pt-20{padding-top:20px}.p-t-5{padding-top:5px}.pb-10{padding-bottom:10px}.pb-16{padding-bottom:16px}.pb-8{padding-bottom:8px}.pl-16{padding-left:16px}.pl-20{padding-left:20px}.pr-16{padding-right:16px}.pr-20{padding-right:20px}.pt-10{padding-top:10px}.pt-16{padding-top:16px}.pt-8{padding-top:8px}.text-center,[text-center=""]{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:6px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:6px}[root-indent~="18"]:root{text-indent:18px}.vertical-bottom{vertical-align:bottom}.text-12{font-size:12px}.text-14,[text-14=""]{font-size:14px}.text-16,[text-16=""]{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-22{font-size:22px}.text-30{font-size:30px}.text-36{font-size:36px}.text-40{font-size:40px}.text-50{font-size:50px}.text-90{font-size:90px}.font-400,.font-normal,[font-400=""]{font-weight:400}.font-600{font-weight:600}.font-bold,[font-bold=""]{font-weight:700}.color-\\[hsla\\(0\\,0\\%\\,100\\%\\,\\.75\\)\\]{--un-text-opacity:.75;color:hsla(0,0%,100%,var(--un-text-opacity))}.color-\\#48bc19{--un-text-opacity:1;color:rgb(72 188 25 / var(--un-text-opacity))}.color-\\#f8f9fa{--un-text-opacity:1;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f8f9fa41{--un-text-opacity:.25;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f9a314{--un-text-opacity:1;color:rgb(249 163 20 / var(--un-text-opacity))}.color-gray,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); -var Mk=Object.defineProperty;var zk=(e,t,n)=>t in e?Mk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Ok=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var td=(e,t,n)=>(zk(e,typeof t!="symbol"?t+"":t,n),n);var TNe=Ok((Gn,Yn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Rh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Zt={},sa=[],Kn=()=>{},Dk=()=>!1,Lc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Eh=e=>e.startsWith("onUpdate:"),gn=Object.assign,$h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Lk=Object.prototype.hasOwnProperty,Ot=(e,t)=>Lk.call(e,t),ft=Array.isArray,la=e=>Fc(e)==="[object Map]",W1=e=>Fc(e)==="[object Set]",vt=e=>typeof e=="function",un=e=>typeof e=="string",$a=e=>typeof e=="symbol",Yt=e=>e!==null&&typeof e=="object",q1=e=>(Yt(e)||vt(e))&&vt(e.then)&&vt(e.catch),K1=Object.prototype.toString,Fc=e=>K1.call(e),Fk=e=>Fc(e).slice(8,-1),G1=e=>Fc(e)==="[object Object]",Ah=e=>un(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yl=Rh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Nk=/-(\w)/g,Bo=Nc(e=>e.replace(Nk,(t,n)=>n?n.toUpperCase():"")),Bk=/\B([A-Z])/g,Pi=Nc(e=>e.replace(Bk,"-$1").toLowerCase()),Bc=Nc(e=>e.charAt(0).toUpperCase()+e.slice(1)),nd=Nc(e=>e?`on${Bc(e)}`:""),Fr=(e,t)=>!Object.is(e,t),Xl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},uf=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hk=e=>{const t=un(e)?Number(e):NaN;return isNaN(t)?e:t};let zm;const Y1=()=>zm||(zm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ho(e){if(ft(e)){const t={};for(let n=0;n{if(n){const o=n.split(Vk);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ar(e){let t="";if(un(e))t=e;else if(ft(e))for(let n=0;nun(e)?e:e==null?"":ft(e)||Yt(e)&&(e.toString===K1||!vt(e.toString))?JSON.stringify(e,Z1,2):String(e),Z1=(e,t)=>t&&t.__v_isRef?Z1(e,t.value):la(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[od(o,i)+" =>"]=r,n),{})}:W1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>od(n))}:$a(t)?od(t):Yt(t)&&!ft(t)&&!G1(t)?String(t):t,od=(e,t="")=>{var n;return $a(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Wn;class J1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Wn,!t&&Wn&&(this.index=(Wn.scopes||(Wn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Wn;try{return Wn=this,t()}finally{Wn=n}}}on(){Wn=this}off(){Wn=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=2))break;Ei(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Or,n=pi;try{return Or=!0,pi=this,this._runnings++,Om(this),this.fn()}finally{Dm(this),this._runnings--,pi=n,Or=t}}stop(){var t;this.active&&(Om(this),Dm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Yk(e){return e.value}function Om(e){e._trackId++,e._depsLength=0}function Dm(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},uc=new WeakMap,mi=Symbol(""),hf=Symbol("");function Hn(e,t,n){if(Or&&pi){let o=uc.get(e);o||uc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=ry(()=>o.delete(n))),ny(pi,r)}}function rr(e,t,n,o,r,i){const a=uc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ft(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!$a(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ft(e)?Ah(n)&&s.push(a.get("length")):(s.push(a.get(mi)),la(e)&&s.push(a.get(hf)));break;case"delete":ft(e)||(s.push(a.get(mi)),la(e)&&s.push(a.get(hf)));break;case"set":la(e)&&s.push(a.get(mi));break}Oh();for(const l of s)l&&oy(l,3);Dh()}function Xk(e,t){var n;return(n=uc.get(e))==null?void 0:n.get(t)}const Zk=Rh("__proto__,__v_isRef,__isVue"),iy=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($a)),Lm=Jk();function Jk(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=At(this);for(let i=0,a=this.length;i{e[t]=function(...n){Ri(),Oh();const o=At(this)[t].apply(this,n);return Dh(),Ei(),o}}),e}function Qk(e){const t=At(this);return Hn(t,"has",e),t.hasOwnProperty(e)}class ay{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?f3:uy:i?cy:ly).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ft(t);if(!r){if(a&&Ot(Lm,n))return Reflect.get(Lm,n,o);if(n==="hasOwnProperty")return Qk}const s=Reflect.get(t,n,o);return($a(n)?iy.has(n):Zk(n))||(r||Hn(t,"get",n),i)?s:dn(s)?a&&Ah(n)?s:s.value:Yt(s)?r?io(s):xo(s):s}}class sy extends ay{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._shallow){const l=ma(i);if(!dc(o)&&!ma(o)&&(i=At(i),o=At(o)),!ft(t)&&dn(i)&&!dn(o))return l?!1:(i.value=o,!0)}const a=ft(t)&&Ah(n)?Number(n)e,Hc=e=>Reflect.getPrototypeOf(e);function gl(e,t,n=!1,o=!1){e=e.__v_raw;const r=At(e),i=At(t);n||(Fr(t,i)&&Hn(r,"get",t),Hn(r,"get",i));const{has:a}=Hc(r),s=o?Lh:n?Bh:Ps;if(a.call(r,t))return s(e.get(t));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(t)}function vl(e,t=!1){const n=this.__v_raw,o=At(n),r=At(e);return t||(Fr(e,r)&&Hn(o,"has",e),Hn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function bl(e,t=!1){return e=e.__v_raw,!t&&Hn(At(e),"iterate",mi),Reflect.get(e,"size",e)}function Fm(e){e=At(e);const t=At(this);return Hc(t).has.call(t,e)||(t.add(e),rr(t,"add",e,e)),this}function Nm(e,t){t=At(t);const n=At(this),{has:o,get:r}=Hc(n);let i=o.call(n,e);i||(e=At(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?Fr(t,a)&&rr(n,"set",e,t):rr(n,"add",e,t),this}function Bm(e){const t=At(this),{has:n,get:o}=Hc(t);let r=n.call(t,e);r||(e=At(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&rr(t,"delete",e,void 0),i}function Hm(){const e=At(this),t=e.size!==0,n=e.clear();return t&&rr(e,"clear",void 0,void 0),n}function yl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=At(a),l=t?Lh:e?Bh:Ps;return!e&&Hn(s,"iterate",mi),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function xl(e,t,n){return function(...o){const r=this.__v_raw,i=At(r),a=la(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?Lh:t?Bh:Ps;return!t&&Hn(i,"iterate",l?hf:mi),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function br(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function r3(){const e={get(i){return gl(this,i)},get size(){return bl(this)},has:vl,add:Fm,set:Nm,delete:Bm,clear:Hm,forEach:yl(!1,!1)},t={get(i){return gl(this,i,!1,!0)},get size(){return bl(this)},has:vl,add:Fm,set:Nm,delete:Bm,clear:Hm,forEach:yl(!1,!0)},n={get(i){return gl(this,i,!0)},get size(){return bl(this,!0)},has(i){return vl.call(this,i,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:yl(!0,!1)},o={get(i){return gl(this,i,!0,!0)},get size(){return bl(this,!0)},has(i){return vl.call(this,i,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:yl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=xl(i,!1,!1),n[i]=xl(i,!0,!1),t[i]=xl(i,!1,!0),o[i]=xl(i,!0,!0)}),[e,n,t,o]}const[i3,a3,s3,l3]=r3();function Fh(e,t){const n=t?e?l3:s3:e?a3:i3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Ot(n,r)&&r in o?n:o,r,i)}const c3={get:Fh(!1,!1)},u3={get:Fh(!1,!0)},d3={get:Fh(!0,!1)},ly=new WeakMap,cy=new WeakMap,uy=new WeakMap,f3=new WeakMap;function h3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function p3(e){return e.__v_skip||!Object.isExtensible(e)?0:h3(Fk(e))}function xo(e){return ma(e)?e:Nh(e,!1,t3,c3,ly)}function dy(e){return Nh(e,!1,o3,u3,cy)}function io(e){return Nh(e,!0,n3,d3,uy)}function Nh(e,t,n,o,r){if(!Yt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=p3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function Dr(e){return ma(e)?Dr(e.__v_raw):!!(e&&e.__v_isReactive)}function ma(e){return!!(e&&e.__v_isReadonly)}function dc(e){return!!(e&&e.__v_isShallow)}function fy(e){return Dr(e)||ma(e)}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function ga(e){return cc(e,"__v_skip",!0),e}const Ps=e=>Yt(e)?xo(e):e,Bh=e=>Yt(e)?io(e):e;class hy{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zh(()=>t(this._value),()=>fc(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=At(this);return Hh(t),(!t._cacheable||t.effect.dirty)&&Fr(t._value,t._value=t.effect.run())&&fc(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function m3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new hy(o,r,i||!r,n)}function Hh(e){Or&&pi&&(e=At(e),ny(pi,e.dep||(e.dep=ry(()=>e.dep=void 0,e instanceof hy?e:void 0))))}function fc(e,t=3,n){e=At(e);const o=e.dep;o&&oy(o,t)}function dn(e){return!!(e&&e.__v_isRef===!0)}function N(e){return py(e,!1)}function Aa(e){return py(e,!0)}function py(e,t){return dn(e)?e:new g3(e,t)}class g3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:At(t),this._value=n?t:Ps(t)}get value(){return Hh(this),this._value}set value(t){const n=this.__v_isShallow||dc(t)||ma(t);t=n?t:At(t),Fr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ps(t),fc(this,3))}}function he(e){return dn(e)?e.value:e}const v3={get:(e,t,n)=>he(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return dn(r)&&!dn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function my(e){return Dr(e)?e:new Proxy(e,v3)}class b3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Hh(this),()=>fc(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function y3(e){return new b3(e)}function x3(e){const t=ft(e)?new Array(e.length):{};for(const n in e)t[n]=gy(e,n);return t}class C3{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 Xk(At(this._object),this._key)}}class w3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ue(e,t,n){return dn(e)?e:vt(e)?new w3(e):Yt(e)&&arguments.length>1?gy(e,t,n):N(e)}function gy(e,t,n){const o=e[t];return dn(o)?o:new C3(e,t,n)}function Lr(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){jc(i,t,n)}return r}function oo(e,t,n,o){if(vt(e)){const i=Lr(e,t,n,o);return i&&q1(i)&&i.catch(a=>{jc(a,t,n)}),i}const r=[];for(let i=0;i>>1,r=En[o],i=Es(r);iMo&&En.splice(t,1)}function T3(e){ft(e)?ca.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?si+1:si))&&ca.push(e),by()}function jm(e,t,n=Rs?Mo+1:0){for(;nEs(n)-Es(o));if(ca.length=0,Rr){Rr.push(...t);return}for(Rr=t,si=0;sie.id==null?1/0:e.id,P3=(e,t)=>{const n=Es(e)-Es(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function xy(e){pf=!1,Rs=!0,En.sort(P3);const t=Kn;try{for(Mo=0;Moun(p)?p.trim():p)),d&&(r=n.map(uf))}let s,l=o[s=nd(t)]||o[s=nd(Bo(t))];!l&&i&&(l=o[s=nd(Pi(t))]),l&&oo(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,oo(c,e,6,r)}}function Cy(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!vt(e)){const l=c=>{const u=Cy(c,t,!0);u&&(s=!0,gn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Yt(e)&&o.set(e,null),null):(ft(i)?i.forEach(l=>a[l]=null):gn(a,i),Yt(e)&&o.set(e,a),a)}function Vc(e,t){return!e||!Lc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ot(e,t[0].toLowerCase()+t.slice(1))||Ot(e,Pi(t))||Ot(e,t))}let mn=null,Uc=null;function hc(e){const t=mn;return mn=e,Uc=e&&e.type.__scopeId||null,t}function E3(e){Uc=e}function $3(){Uc=null}function re(e,t=mn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&ng(-1);const i=hc(t);let a;try{a=e(...r)}finally{hc(i),o._d&&ng(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function rd(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e;let b,m;const y=hc(e);try{if(n.shapeFlag&4){const S=r||o,w=S;b=Io(u.call(w,S,d,i,p,f,h)),m=l}else{const S=t;b=Io(S.length>1?S(i,{attrs:l,slots:s,emit:c}):S(i,null)),m=t.props?l:A3(l)}}catch(S){ms.length=0,jc(S,e,1),b=te($n)}let k=b;if(m&&g!==!1){const S=Object.keys(m),{shapeFlag:w}=k;S.length&&w&7&&(a&&S.some(Eh)&&(m=I3(m,a)),k=ao(k,m))}return n.dirs&&(k=ao(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),b=k,hc(y),b}const A3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Lc(n))&&((t||(t={}))[n]=e[n]);return t},I3=(e,t)=>{const n={};for(const o in e)(!Eh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function M3(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Vm(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function D3(e,t){t&&t.pendingBranch?ft(e)?t.effects.push(...e):t.effects.push(e):T3(e)}const L3=Symbol.for("v-scx"),F3=()=>qe(L3);function tn(e,t){return Wh(e,null,t)}const Cl={};function ht(e,t,n){return Wh(e,t,n)}function Wh(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=Zt){if(t&&i){const x=t;t=(...C)=>{x(...C),w()}}const l=_n,c=x=>o===!0?x:ci(x,o===!1?1:void 0);let u,d=!1,f=!1;if(dn(e)?(u=()=>e.value,d=dc(e)):Dr(e)?(u=()=>c(e),d=!0):ft(e)?(f=!0,d=e.some(x=>Dr(x)||dc(x)),u=()=>e.map(x=>{if(dn(x))return x.value;if(Dr(x))return c(x);if(vt(x))return Lr(x,l,2)})):vt(e)?t?u=()=>Lr(e,l,2):u=()=>(p&&p(),oo(e,l,3,[h])):u=Kn,t&&o){const x=u;u=()=>ci(x())}let p,h=x=>{p=k.onStop=()=>{Lr(x,l,4),p=k.onStop=void 0}},g;if(Jc)if(h=Kn,t?n&&oo(t,l,3,[u(),f?[]:void 0,h]):u(),r==="sync"){const x=F3();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Kn;let b=f?new Array(e.length).fill(Cl):Cl;const m=()=>{if(!(!k.active||!k.dirty))if(t){const x=k.run();(o||d||(f?x.some((C,_)=>Fr(C,b[_])):Fr(x,b)))&&(p&&p(),oo(t,l,3,[x,b===Cl?void 0:f&&b[0]===Cl?[]:b,h]),b=x)}else k.run()};m.allowRecurse=!!t;let y;r==="sync"?y=m:r==="post"?y=()=>Nn(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),y=()=>Vh(m));const k=new zh(u,Kn,y),S=Mh(),w=()=>{k.stop(),S&&$h(S.effects,k)};return t?n?m():b=k.run():r==="post"?Nn(k.run.bind(k),l&&l.suspense):k.run(),g&&g.push(w),w}function N3(e,t,n){const o=this.proxy,r=un(e)?e.includes(".")?Sy(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=Xs(this),s=Wh(r,i.bind(o),n);return a(),s}function Sy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),dn(e))ci(e.value,t,n,o);else if(ft(e))for(let r=0;r{ci(r,t,n,o)});else if(G1(e))for(const r in e)ci(e[r],t,n,o);return e}function Cn(e,t){if(mn===null)return e;const n=Qc(mn)||mn.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),rn(()=>{e.isUnmounting=!0}),e}const eo=[Function,Array],Ty={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:eo,onEnter:eo,onAfterEnter:eo,onEnterCancelled:eo,onBeforeLeave:eo,onLeave:eo,onAfterLeave:eo,onLeaveCancelled:eo,onBeforeAppear:eo,onAppear:eo,onAfterAppear:eo,onAppearCancelled:eo},B3={name:"BaseTransition",props:Ty,setup(e,{slots:t}){const n=Zn(),o=ky();let r;return()=>{const i=t.default&&qh(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const g of i)if(g.type!==$n){a=g;break}}const s=At(e),{mode:l}=s;if(o.isLeaving)return id(a);const c=Wm(a);if(!c)return id(a);const u=$s(c,s,o,n);As(c,u);const d=n.subTree,f=d&&Wm(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();r===void 0?r=g:g!==r&&(r=g,p=!0)}if(f&&f.type!==$n&&(!li(c,f)||p)){const g=$s(f,s,o,n);if(As(f,g),l==="out-in")return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},id(a);l==="in-out"&&c.type!==$n&&(g.delayLeave=(b,m,y)=>{const k=Py(o,f);k[String(f.key)]=f,b[Er]=()=>{m(),b[Er]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return a}}},H3=B3;function Py(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function $s(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:b,onAfterAppear:m,onAppearCancelled:y}=t,k=String(e.key),S=Py(n,e),w=(_,R)=>{_&&oo(_,o,9,R)},x=(_,R)=>{const E=R[1];w(_,R),ft(_)?_.every(M=>M.length<=1)&&E():_.length<=1&&E()},C={mode:i,persisted:a,beforeEnter(_){let R=s;if(!n.isMounted)if(r)R=g||s;else return;_[Er]&&_[Er](!0);const E=S[k];E&&li(e,E)&&E.el[Er]&&E.el[Er](),w(R,[_])},enter(_){let R=l,E=c,M=u;if(!n.isMounted)if(r)R=b||l,E=m||c,M=y||u;else return;let A=!1;const q=_[wl]=F=>{A||(A=!0,F?w(M,[_]):w(E,[_]),C.delayedLeave&&C.delayedLeave(),_[wl]=void 0)};R?x(R,[_,q]):q()},leave(_,R){const E=String(e.key);if(_[wl]&&_[wl](!0),n.isUnmounting)return R();w(d,[_]);let M=!1;const A=_[Er]=q=>{M||(M=!0,R(),q?w(h,[_]):w(p,[_]),_[Er]=void 0,S[E]===e&&delete S[E])};S[E]=e,f?x(f,[_,A]):A()},clone(_){return $s(_,t,n,o)}};return C}function id(e){if(qc(e))return e=ao(e),e.children=null,e}function Wm(e){return qc(e)?e.children?e.children[0]:void 0:e}function As(e,t){e.shapeFlag&6&&e.component?As(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ign({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader,qc=e=>e.type.__isKeepAlive;function Kh(e,t){Ry(e,"a",t)}function Kc(e,t){Ry(e,"da",t)}function Ry(e,t,n=_n){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Gc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)qc(r.parent.vnode)&&j3(o,t,n,r),r=r.parent}}function j3(e,t,n,o){const r=Gc(t,e,o,!0);Ys(()=>{$h(o[t],r)},n)}function Gc(e,t,n=_n,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Ri();const s=Xs(n),l=oo(t,n,e,a);return s(),Ei(),l});return o?r.unshift(i):r.push(i),i}}const cr=e=>(t,n=_n)=>(!Jc||e==="sp")&&Gc(e,(...o)=>t(...o),n),cn=cr("bm"),Lt=cr("m"),Ey=cr("bu"),Gh=cr("u"),rn=cr("bum"),Ys=cr("um"),V3=cr("sp"),U3=cr("rtg"),W3=cr("rtc");function q3(e,t=_n){Gc("ec",e,t)}function Bn(e,t,n,o){let r;const i=n&&n[o];if(ft(e)||un(e)){r=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;szs(t)?!(t.type===$n||t.type===it&&!$y(t.children)):!0)?e:null}const mf=e=>e?jy(e)?Qc(e)||e.proxy:mf(e.parent):null,hs=gn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>mf(e.parent),$root:e=>mf(e.root),$emit:e=>e.emit,$options:e=>Yh(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Vh(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>N3.bind(e)}),ad=(e,t)=>e!==Zt&&!e.__isScriptSetup&&Ot(e,t),K3={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(ad(o,t))return a[t]=1,o[t];if(r!==Zt&&Ot(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Ot(c,t))return a[t]=3,i[t];if(n!==Zt&&Ot(n,t))return a[t]=4,n[t];gf&&(a[t]=0)}}const u=hs[t];let d,f;if(u)return t==="$attrs"&&Hn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Zt&&Ot(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Ot(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return ad(r,t)?(r[t]=n,!0):o!==Zt&&Ot(o,t)?(o[t]=n,!0):Ot(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==Zt&&Ot(e,a)||ad(t,a)||(s=i[0])&&Ot(s,a)||Ot(o,a)||Ot(hs,a)||Ot(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ot(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qm(e){return ft(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let gf=!0;function G3(e){const t=Yh(e),n=e.proxy,o=e.ctx;gf=!1,t.beforeCreate&&Km(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:g,deactivated:b,beforeDestroy:m,beforeUnmount:y,destroyed:k,unmounted:S,render:w,renderTracked:x,renderTriggered:C,errorCaptured:_,serverPrefetch:R,expose:E,inheritAttrs:M,components:A,directives:q,filters:F}=t;if(c&&Y3(c,o,null),a)for(const Y in a){const Q=a[Y];vt(Q)&&(o[Y]=Q.bind(n))}if(r){const Y=r.call(n,n);Yt(Y)&&(e.data=xo(Y))}if(gf=!0,i)for(const Y in i){const Q=i[Y],ce=vt(Q)?Q.bind(n,n):vt(Q.get)?Q.get.bind(n,n):Kn,le=!vt(Q)&&vt(Q.set)?Q.set.bind(n):Kn,B=L({get:ce,set:le});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>B.value,set:$=>B.value=$})}if(s)for(const Y in s)Ay(s[Y],o,n,Y);if(l){const Y=vt(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(Q=>{lt(Q,Y[Q])})}u&&Km(u,e,"c");function D(Y,Q){ft(Q)?Q.forEach(ce=>Y(ce.bind(n))):Q&&Y(Q.bind(n))}if(D(cn,d),D(Lt,f),D(Ey,p),D(Gh,h),D(Kh,g),D(Kc,b),D(q3,_),D(W3,x),D(U3,C),D(rn,y),D(Ys,S),D(V3,R),ft(E))if(E.length){const Y=e.exposed||(e.exposed={});E.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:ce=>n[Q]=ce})})}else e.exposed||(e.exposed={});w&&e.render===Kn&&(e.render=w),M!=null&&(e.inheritAttrs=M),A&&(e.components=A),q&&(e.directives=q)}function Y3(e,t,n=Kn){ft(e)&&(e=vf(e));for(const o in e){const r=e[o];let i;Yt(r)?"default"in r?i=qe(r.from||o,r.default,!0):i=qe(r.from||o):i=qe(r),dn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Km(e,t,n){oo(ft(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ay(e,t,n,o){const r=o.includes(".")?Sy(n,o):()=>n[o];if(un(e)){const i=t[e];vt(i)&&ht(r,i)}else if(vt(e))ht(r,e.bind(n));else if(Yt(e))if(ft(e))e.forEach(i=>Ay(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ht(r,i,e)}}function Yh(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>pc(l,c,a,!0)),pc(l,t,a)),Yt(t)&&i.set(t,l),l}function pc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&pc(e,i,n,!0),r&&r.forEach(a=>pc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=X3[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const X3={data:Gm,props:Ym,emits:Ym,methods:ls,computed:ls,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:ls,directives:ls,watch:J3,provide:Gm,inject:Z3};function Gm(e,t){return t?e?function(){return gn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function Z3(e,t){return ls(vf(e),vf(t))}function vf(e){if(ft(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function t4(){return!!(_n||mn||Is)}function n4(e,t,n,o=!1){const r={},i={};cc(i,Zc,1),e.propsDefaults=Object.create(null),My(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:dy(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function o4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=At(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=zy(d,t,!0);gn(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Yt(e)&&o.set(e,sa),sa;if(ft(i))for(let u=0;u-1,p[1]=g<0||h-1||Ot(p,"default"))&&s.push(d)}}}const c=[a,s];return Yt(e)&&o.set(e,c),c}function Xm(e){return e[0]!=="$"}function Zm(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Jm(e,t){return Zm(e)===Zm(t)}function Qm(e,t){return ft(t)?t.findIndex(n=>Jm(n,e)):vt(t)&&Jm(t,e)?0:-1}const Oy=e=>e[0]==="_"||e==="$stable",Xh=e=>ft(e)?e.map(Io):[Io(e)],r4=(e,t,n)=>{if(t._n)return t;const o=re((...r)=>Xh(t(...r)),n);return o._c=!1,o},Dy=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Oy(r))continue;const i=e[r];if(vt(i))t[r]=r4(r,i,o);else if(i!=null){const a=Xh(i);t[r]=()=>a}}},Ly=(e,t)=>{const n=Xh(t);e.slots.default=()=>n},i4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=At(t),cc(t,"_",n)):Dy(t,e.slots={})}else e.slots={},t&&Ly(e,t);cc(e.slots,Zc,1)},a4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Zt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(gn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Dy(t,r)),a=t}else t&&(Ly(e,t),a={default:1});if(i)for(const s in r)!Oy(s)&&a[s]==null&&delete r[s]};function yf(e,t,n,o,r=!1){if(ft(e)){e.forEach((f,p)=>yf(f,t&&(ft(t)?t[p]:t),n,o,r));return}if(fs(o)&&!r)return;const i=o.shapeFlag&4?Qc(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Zt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(un(c)?(u[c]=null,Ot(d,c)&&(d[c]=null)):dn(c)&&(c.value=null)),vt(l))Lr(l,s,12,[a,u]);else{const f=un(l),p=dn(l);if(f||p){const h=()=>{if(e.f){const g=f?Ot(d,l)?d[l]:u[l]:l.value;r?ft(g)&&$h(g,i):ft(g)?g.includes(i)||g.push(i):f?(u[l]=[i],Ot(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Ot(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(h.id=-1,Nn(h,n)):h()}}}const Nn=D3;function s4(e){return l4(e)}function l4(e,t){const n=Y1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Kn,insertStaticContent:h}=e,g=(T,P,U,oe=null,G=null,se=null,xe=void 0,be=null,Ce=!!P.dynamicChildren)=>{if(T===P)return;T&&!li(T,P)&&(oe=J(T),$(T,G,se,!0),T=null),P.patchFlag===-2&&(Ce=!1,P.dynamicChildren=null);const{type:we,ref:Re,shapeFlag:de}=P;switch(we){case Ma:b(T,P,U,oe);break;case $n:m(T,P,U,oe);break;case Zl:T==null&&y(P,U,oe,xe);break;case it:A(T,P,U,oe,G,se,xe,be,Ce);break;default:de&1?w(T,P,U,oe,G,se,xe,be,Ce):de&6?q(T,P,U,oe,G,se,xe,be,Ce):(de&64||de&128)&&we.process(T,P,U,oe,G,se,xe,be,Ce,ge)}Re!=null&&G&&yf(Re,T&&T.ref,se,P||T,!P)},b=(T,P,U,oe)=>{if(T==null)o(P.el=s(P.children),U,oe);else{const G=P.el=T.el;P.children!==T.children&&c(G,P.children)}},m=(T,P,U,oe)=>{T==null?o(P.el=l(P.children||""),U,oe):P.el=T.el},y=(T,P,U,oe)=>{[T.el,T.anchor]=h(T.children,P,U,oe,T.el,T.anchor)},k=({el:T,anchor:P},U,oe)=>{let G;for(;T&&T!==P;)G=f(T),o(T,U,oe),T=G;o(P,U,oe)},S=({el:T,anchor:P})=>{let U;for(;T&&T!==P;)U=f(T),r(T),T=U;r(P)},w=(T,P,U,oe,G,se,xe,be,Ce)=>{P.type==="svg"?xe="svg":P.type==="math"&&(xe="mathml"),T==null?x(P,U,oe,G,se,xe,be,Ce):R(T,P,G,se,xe,be,Ce)},x=(T,P,U,oe,G,se,xe,be)=>{let Ce,we;const{props:Re,shapeFlag:de,transition:ee,dirs:fe}=T;if(Ce=T.el=a(T.type,se,Re&&Re.is,Re),de&8?u(Ce,T.children):de&16&&_(T.children,Ce,null,oe,G,sd(T,se),xe,be),fe&&Qr(T,null,oe,"created"),C(Ce,T,T.scopeId,xe,oe),Re){for(const Le in Re)Le!=="value"&&!Yl(Le)&&i(Ce,Le,null,Re[Le],se,T.children,oe,G,ve);"value"in Re&&i(Ce,"value",null,Re.value,se),(we=Re.onVnodeBeforeMount)&&Ro(we,oe,T)}fe&&Qr(T,null,oe,"beforeMount");const Oe=c4(G,ee);Oe&&ee.beforeEnter(Ce),o(Ce,P,U),((we=Re&&Re.onVnodeMounted)||Oe||fe)&&Nn(()=>{we&&Ro(we,oe,T),Oe&&ee.enter(Ce),fe&&Qr(T,null,oe,"mounted")},G)},C=(T,P,U,oe,G)=>{if(U&&p(T,U),oe)for(let se=0;se{for(let we=Ce;we{const be=P.el=T.el;let{patchFlag:Ce,dynamicChildren:we,dirs:Re}=P;Ce|=T.patchFlag&16;const de=T.props||Zt,ee=P.props||Zt;let fe;if(U&&ei(U,!1),(fe=ee.onVnodeBeforeUpdate)&&Ro(fe,U,P,T),Re&&Qr(P,T,U,"beforeUpdate"),U&&ei(U,!0),we?E(T.dynamicChildren,we,be,U,oe,sd(P,G),se):xe||Q(T,P,be,null,U,oe,sd(P,G),se,!1),Ce>0){if(Ce&16)M(be,P,de,ee,U,oe,G);else if(Ce&2&&de.class!==ee.class&&i(be,"class",null,ee.class,G),Ce&4&&i(be,"style",de.style,ee.style,G),Ce&8){const Oe=P.dynamicProps;for(let Le=0;Le{fe&&Ro(fe,U,P,T),Re&&Qr(P,T,U,"updated")},oe)},E=(T,P,U,oe,G,se,xe)=>{for(let be=0;be{if(U!==oe){if(U!==Zt)for(const be in U)!Yl(be)&&!(be in oe)&&i(T,be,U[be],null,xe,P.children,G,se,ve);for(const be in oe){if(Yl(be))continue;const Ce=oe[be],we=U[be];Ce!==we&&be!=="value"&&i(T,be,we,Ce,xe,P.children,G,se,ve)}"value"in oe&&i(T,"value",U.value,oe.value,xe)}},A=(T,P,U,oe,G,se,xe,be,Ce)=>{const we=P.el=T?T.el:s(""),Re=P.anchor=T?T.anchor:s("");let{patchFlag:de,dynamicChildren:ee,slotScopeIds:fe}=P;fe&&(be=be?be.concat(fe):fe),T==null?(o(we,U,oe),o(Re,U,oe),_(P.children||[],U,Re,G,se,xe,be,Ce)):de>0&&de&64&&ee&&T.dynamicChildren?(E(T.dynamicChildren,ee,U,G,se,xe,be),(P.key!=null||G&&P===G.subTree)&&Zh(T,P,!0)):Q(T,P,U,Re,G,se,xe,be,Ce)},q=(T,P,U,oe,G,se,xe,be,Ce)=>{P.slotScopeIds=be,T==null?P.shapeFlag&512?G.ctx.activate(P,U,oe,xe,Ce):F(P,U,oe,G,se,xe,Ce):z(T,P,Ce)},F=(T,P,U,oe,G,se,xe)=>{const be=T.component=x4(T,oe,G);if(qc(T)&&(be.ctx.renderer=ge),C4(be),be.asyncDep){if(G&&G.registerDep(be,D),!T.el){const Ce=be.subTree=te($n);m(null,Ce,P,U)}}else D(be,T,P,U,G,se,xe)},z=(T,P,U)=>{const oe=P.component=T.component;if(M3(T,P,U))if(oe.asyncDep&&!oe.asyncResolved){Y(oe,P,U);return}else oe.next=P,k3(oe.update),oe.effect.dirty=!0,oe.update();else P.el=T.el,oe.vnode=P},D=(T,P,U,oe,G,se,xe)=>{const be=()=>{if(T.isMounted){let{next:Re,bu:de,u:ee,parent:fe,vnode:Oe}=T;{const Fe=Fy(T);if(Fe){Re&&(Re.el=Oe.el,Y(T,Re,xe)),Fe.asyncDep.then(()=>{T.isUnmounted||be()});return}}let Le=Re,De;ei(T,!1),Re?(Re.el=Oe.el,Y(T,Re,xe)):Re=Oe,de&&Xl(de),(De=Re.props&&Re.props.onVnodeBeforeUpdate)&&Ro(De,fe,Re,Oe),ei(T,!0);const $e=rd(T),Me=T.subTree;T.subTree=$e,g(Me,$e,d(Me.el),J(Me),T,G,se),Re.el=$e.el,Le===null&&z3(T,$e.el),ee&&Nn(ee,G),(De=Re.props&&Re.props.onVnodeUpdated)&&Nn(()=>Ro(De,fe,Re,Oe),G)}else{let Re;const{el:de,props:ee}=P,{bm:fe,m:Oe,parent:Le}=T,De=fs(P);if(ei(T,!1),fe&&Xl(fe),!De&&(Re=ee&&ee.onVnodeBeforeMount)&&Ro(Re,Le,P),ei(T,!0),de&&Ne){const $e=()=>{T.subTree=rd(T),Ne(de,T.subTree,T,G,null)};De?P.type.__asyncLoader().then(()=>!T.isUnmounted&&$e()):$e()}else{const $e=T.subTree=rd(T);g(null,$e,U,oe,T,G,se),P.el=$e.el}if(Oe&&Nn(Oe,G),!De&&(Re=ee&&ee.onVnodeMounted)){const $e=P;Nn(()=>Ro(Re,Le,$e),G)}(P.shapeFlag&256||Le&&fs(Le.vnode)&&Le.vnode.shapeFlag&256)&&T.a&&Nn(T.a,G),T.isMounted=!0,P=U=oe=null}},Ce=T.effect=new zh(be,Kn,()=>Vh(we),T.scope),we=T.update=()=>{Ce.dirty&&Ce.run()};we.id=T.uid,ei(T,!0),we()},Y=(T,P,U)=>{P.component=T;const oe=T.vnode.props;T.vnode=P,T.next=null,o4(T,P.props,oe,U),a4(T,P.children,U),Ri(),jm(T),Ei()},Q=(T,P,U,oe,G,se,xe,be,Ce=!1)=>{const we=T&&T.children,Re=T?T.shapeFlag:0,de=P.children,{patchFlag:ee,shapeFlag:fe}=P;if(ee>0){if(ee&128){le(we,de,U,oe,G,se,xe,be,Ce);return}else if(ee&256){ce(we,de,U,oe,G,se,xe,be,Ce);return}}fe&8?(Re&16&&ve(we,G,se),de!==we&&u(U,de)):Re&16?fe&16?le(we,de,U,oe,G,se,xe,be,Ce):ve(we,G,se,!0):(Re&8&&u(U,""),fe&16&&_(de,U,oe,G,se,xe,be,Ce))},ce=(T,P,U,oe,G,se,xe,be,Ce)=>{T=T||sa,P=P||sa;const we=T.length,Re=P.length,de=Math.min(we,Re);let ee;for(ee=0;eeRe?ve(T,G,se,!0,!1,de):_(P,U,oe,G,se,xe,be,Ce,de)},le=(T,P,U,oe,G,se,xe,be,Ce)=>{let we=0;const Re=P.length;let de=T.length-1,ee=Re-1;for(;we<=de&&we<=ee;){const fe=T[we],Oe=P[we]=Ce?$r(P[we]):Io(P[we]);if(li(fe,Oe))g(fe,Oe,U,null,G,se,xe,be,Ce);else break;we++}for(;we<=de&&we<=ee;){const fe=T[de],Oe=P[ee]=Ce?$r(P[ee]):Io(P[ee]);if(li(fe,Oe))g(fe,Oe,U,null,G,se,xe,be,Ce);else break;de--,ee--}if(we>de){if(we<=ee){const fe=ee+1,Oe=feee)for(;we<=de;)$(T[we],G,se,!0),we++;else{const fe=we,Oe=we,Le=new Map;for(we=Oe;we<=ee;we++){const X=P[we]=Ce?$r(P[we]):Io(P[we]);X.key!=null&&Le.set(X.key,we)}let De,$e=0;const Me=ee-Oe+1;let Fe=!1,Be=0;const ot=new Array(Me);for(we=0;we=Me){$(X,G,se,!0);continue}let pe;if(X.key!=null)pe=Le.get(X.key);else for(De=Oe;De<=ee;De++)if(ot[De-Oe]===0&&li(X,P[De])){pe=De;break}pe===void 0?$(X,G,se,!0):(ot[pe-Oe]=we+1,pe>=Be?Be=pe:Fe=!0,g(X,P[pe],U,null,G,se,xe,be,Ce),$e++)}const xt=Fe?u4(ot):sa;for(De=xt.length-1,we=Me-1;we>=0;we--){const X=Oe+we,pe=P[X],Te=X+1{const{el:se,type:xe,transition:be,children:Ce,shapeFlag:we}=T;if(we&6){B(T.component.subTree,P,U,oe);return}if(we&128){T.suspense.move(P,U,oe);return}if(we&64){xe.move(T,P,U,ge);return}if(xe===it){o(se,P,U);for(let de=0;debe.enter(se),G);else{const{leave:de,delayLeave:ee,afterLeave:fe}=be,Oe=()=>o(se,P,U),Le=()=>{de(se,()=>{Oe(),fe&&fe()})};ee?ee(se,Oe,Le):Le()}else o(se,P,U)},$=(T,P,U,oe=!1,G=!1)=>{const{type:se,props:xe,ref:be,children:Ce,dynamicChildren:we,shapeFlag:Re,patchFlag:de,dirs:ee}=T;if(be!=null&&yf(be,null,U,T,!0),Re&256){P.ctx.deactivate(T);return}const fe=Re&1&&ee,Oe=!fs(T);let Le;if(Oe&&(Le=xe&&xe.onVnodeBeforeUnmount)&&Ro(Le,P,T),Re&6)ne(T.component,U,oe);else{if(Re&128){T.suspense.unmount(U,oe);return}fe&&Qr(T,null,P,"beforeUnmount"),Re&64?T.type.remove(T,P,U,G,ge,oe):we&&(se!==it||de>0&&de&64)?ve(we,P,U,!1,!0):(se===it&&de&384||!G&&Re&16)&&ve(Ce,P,U),oe&&I(T)}(Oe&&(Le=xe&&xe.onVnodeUnmounted)||fe)&&Nn(()=>{Le&&Ro(Le,P,T),fe&&Qr(T,null,P,"unmounted")},U)},I=T=>{const{type:P,el:U,anchor:oe,transition:G}=T;if(P===it){K(U,oe);return}if(P===Zl){S(T);return}const se=()=>{r(U),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(T.shapeFlag&1&&G&&!G.persisted){const{leave:xe,delayLeave:be}=G,Ce=()=>xe(U,se);be?be(T.el,se,Ce):Ce()}else se()},K=(T,P)=>{let U;for(;T!==P;)U=f(T),r(T),T=U;r(P)},ne=(T,P,U)=>{const{bum:oe,scope:G,update:se,subTree:xe,um:be}=T;oe&&Xl(oe),G.stop(),se&&(se.active=!1,$(xe,T,P,U)),be&&Nn(be,P),Nn(()=>{T.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},ve=(T,P,U,oe=!1,G=!1,se=0)=>{for(let xe=se;xeT.shapeFlag&6?J(T.component.subTree):T.shapeFlag&128?T.suspense.next():f(T.anchor||T.el);let ye=!1;const j=(T,P,U)=>{T==null?P._vnode&&$(P._vnode,null,null,!0):g(P._vnode||null,T,P,null,null,null,U),ye||(ye=!0,jm(),yy(),ye=!1),P._vnode=T},ge={p:g,um:$,m:B,r:I,mt:F,mc:_,pc:Q,pbc:E,n:J,o:e};let Ee,Ne;return t&&([Ee,Ne]=t(ge)),{render:j,hydrate:Ee,createApp:e4(j,Ee)}}function sd({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ei({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function c4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zh(e,t,n=!1){const o=e.children,r=t.children;if(ft(o)&&ft(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Fy(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Fy(t)}const d4=e=>e.__isTeleport,ps=e=>e&&(e.disabled||e.disabled===""),eg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,tg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,xf=(e,t)=>{const n=e&&e.to;return un(n)?t?t(n):null:n},f4={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:g,createComment:b}}=c,m=ps(t.props);let{shapeFlag:y,children:k,dynamicChildren:S}=t;if(e==null){const w=t.el=g(""),x=t.anchor=g("");p(w,n,o),p(x,n,o);const C=t.target=xf(t.props,h),_=t.targetAnchor=g("");C&&(p(_,C),a==="svg"||eg(C)?a="svg":(a==="mathml"||tg(C))&&(a="mathml"));const R=(E,M)=>{y&16&&u(k,E,M,r,i,a,s,l)};m?R(n,x):C&&R(C,_)}else{t.el=e.el;const w=t.anchor=e.anchor,x=t.target=e.target,C=t.targetAnchor=e.targetAnchor,_=ps(e.props),R=_?n:x,E=_?w:C;if(a==="svg"||eg(x)?a="svg":(a==="mathml"||tg(x))&&(a="mathml"),S?(f(e.dynamicChildren,S,R,r,i,a,s),Zh(e,t,!0)):l||d(e,t,R,E,r,i,a,s,!1),m)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):_l(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=xf(t.props,h);M&&_l(t,M,null,c,0)}else _&&_l(t,x,C,c,1)}Ny(t)},remove(e,t,n,o,{um:r,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),a&&i(c),s&16){const p=a||!ps(f);for(let h=0;h0?vo||sa:null,p4(),Ms>0&&vo&&vo.push(e),e}function ze(e,t,n,o,r,i){return By(H(e,t,n,o,r,i,!0))}function We(e,t,n,o,r){return By(te(e,t,n,o,r,!0))}function zs(e){return e?e.__v_isVNode===!0:!1}function li(e,t){return e.type===t.type&&e.key===t.key}const Zc="__vInternal",Hy=({key:e})=>e??null,Jl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?un(e)||dn(e)||vt(e)?{i:mn,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,o=0,r=null,i=e===it?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hy(t),ref:t&&Jl(t),scopeId:Uc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:mn};return s?(Jh(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=un(n)?8:16),Ms>0&&!a&&vo&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&vo.push(l),l}const te=m4;function m4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===wy)&&(e=$n),zs(e)){const s=ao(e,t,!0);return n&&Jh(s,n),Ms>0&&!i&&vo&&(s.shapeFlag&6?vo[vo.indexOf(e)]=s:vo.push(s)),s.patchFlag|=-2,s}if(T4(e)&&(e=e.__vccOpts),t){t=g4(t);let{class:s,style:l}=t;s&&!un(s)&&(t.class=ar(s)),Yt(l)&&(fy(l)&&!ft(l)&&(l=gn({},l)),t.style=Ho(l))}const a=un(e)?1:O3(e)?128:d4(e)?64:Yt(e)?4:vt(e)?2:0;return H(e,t,n,o,r,a,i,!0)}function g4(e){return e?fy(e)||Zc in e?gn({},e):e:null}function ao(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Dn(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Hy(s),ref:t&&t.ref?n&&r?ft(r)?r.concat(Jl(t)):[r,Jl(t)]:Jl(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==it?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ao(e.ssContent),ssFallback:e.ssFallback&&ao(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return te(Ma,null,e,t)}function v4(e,t){const n=te(Zl,null,e);return n.staticCount=t,n}function ut(e="",t=!1){return t?(ue(),We($n,null,e)):te($n,null,e)}function Io(e){return e==null||typeof e=="boolean"?te($n):ft(e)?te(it,null,e.slice()):typeof e=="object"?$r(e):te(Ma,null,String(e))}function $r(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ao(e)}function Jh(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ft(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Jh(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Zc in t)?t._ctx=mn:r===3&&mn&&(mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:mn},n=32):(t=String(t),o&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dn(...e){const t={};for(let n=0;n_n||mn;let mc,Cf;{const e=Y1(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};mc=t("__VUE_INSTANCE_SETTERS__",n=>_n=n),Cf=t("__VUE_SSR_SETTERS__",n=>Jc=n)}const Xs=e=>{const t=_n;return mc(e),e.scope.on(),()=>{e.scope.off(),mc(t)}},og=()=>{_n&&_n.scope.off(),mc(null)};function jy(e){return e.vnode.shapeFlag&4}let Jc=!1;function C4(e,t=!1){t&&Cf(t);const{props:n,children:o}=e.vnode,r=jy(e);n4(e,n,r,t),i4(e,o);const i=r?w4(e,t):void 0;return t&&Cf(!1),i}function w4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ga(new Proxy(e.ctx,K3));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?S4(e):null,i=Xs(e);Ri();const a=Lr(o,e,0,[e.props,r]);if(Ei(),i(),q1(a)){if(a.then(og,og),t)return a.then(s=>{rg(e,s,t)}).catch(s=>{jc(s,e,0)});e.asyncDep=a}else rg(e,a,t)}else Vy(e,t)}function rg(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Yt(t)&&(e.setupState=my(t)),Vy(e,n)}let ig;function Vy(e,t,n){const o=e.type;if(!e.render){if(!t&&ig&&!o.render){const r=o.template||Yh(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=gn(gn({isCustomElement:i,delimiters:s},a),l);o.render=ig(r,c)}}e.render=o.render||Kn}{const r=Xs(e);Ri();try{G3(e)}finally{Ei(),r()}}}function _4(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Hn(e,"get","$attrs"),t[n]}}))}function S4(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _4(e)},slots:e.slots,emit:e.emit,expose:t}}function Qc(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(my(ga(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hs)return hs[n](e)},has(t,n){return n in t||n in hs}}))}function k4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function T4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>m3(e,t,Jc);function v(e,t,n){const o=arguments.length;return o===2?Yt(t)&&!ft(t)?zs(t)?te(e,null,[t]):te(e,t):te(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&zs(n)&&(n=[n]),te(e,t,n))}const P4="3.4.7",R4="http://www.w3.org/2000/svg",E4="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,ag=Ar&&Ar.createElement("template"),$4={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Ar.createElementNS(R4,e):t==="mathml"?Ar.createElementNS(E4,e):Ar.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ar.createTextNode(e),createComment:e=>Ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ag.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=ag.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yr="transition",Ja="animation",va=Symbol("_vtc"),hn=(e,{slots:t})=>v(H3,Wy(e),t);hn.displayName="Transition";const Uy={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},A4=hn.props=gn({},Ty,Uy),ti=(e,t=[])=>{ft(e)?e.forEach(n=>n(...t)):e&&e(...t)},sg=e=>e?ft(e)?e.some(t=>t.length>1):e.length>1:!1;function Wy(e){const t={};for(const A in e)A in Uy||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=I4(r),g=h&&h[0],b=h&&h[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:k,onLeave:S,onLeaveCancelled:w,onBeforeAppear:x=m,onAppear:C=y,onAppearCancelled:_=k}=t,R=(A,q,F)=>{Tr(A,q?u:s),Tr(A,q?c:a),F&&F()},E=(A,q)=>{A._isLeaving=!1,Tr(A,d),Tr(A,p),Tr(A,f),q&&q()},M=A=>(q,F)=>{const z=A?C:y,D=()=>R(q,A,F);ti(z,[q,D]),lg(()=>{Tr(q,A?l:i),nr(q,A?u:s),sg(z)||cg(q,o,g,D)})};return gn(t,{onBeforeEnter(A){ti(m,[A]),nr(A,i),nr(A,a)},onBeforeAppear(A){ti(x,[A]),nr(A,l),nr(A,c)},onEnter:M(!1),onAppear:M(!0),onLeave(A,q){A._isLeaving=!0;const F=()=>E(A,q);nr(A,d),Ky(),nr(A,f),lg(()=>{A._isLeaving&&(Tr(A,d),nr(A,p),sg(S)||cg(A,o,b,F))}),ti(S,[A,F])},onEnterCancelled(A){R(A,!1),ti(k,[A])},onAppearCancelled(A){R(A,!0),ti(_,[A])},onLeaveCancelled(A){E(A),ti(w,[A])}})}function I4(e){if(e==null)return null;if(Yt(e))return[ld(e.enter),ld(e.leave)];{const t=ld(e);return[t,t]}}function ld(e){return Hk(e)}function nr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[va]||(e[va]=new Set)).add(t)}function Tr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[va];n&&(n.delete(t),n.size||(e[va]=void 0))}function lg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let M4=0;function cg(e,t,n,o){const r=e._endId=++M4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=qy(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[h]||"").split(", "),r=o(`${yr}Delay`),i=o(`${yr}Duration`),a=ug(r,i),s=o(`${Ja}Delay`),l=o(`${Ja}Duration`),c=ug(s,l);let u=null,d=0,f=0;t===yr?a>0&&(u=yr,d=a,f=i.length):t===Ja?c>0&&(u=Ja,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?yr:Ja:null,f=u?u===yr?i.length:l.length:0);const p=u===yr&&/\b(transform|all)(,|$)/.test(o(`${yr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function ug(e,t){for(;e.lengthdg(n)+dg(e[o])))}function dg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ky(){return document.body.offsetHeight}function z4(e,t,n){const o=e[va];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qh=Symbol("_vod"),Jn={beforeMount(e,{value:t},{transition:n}){e[Qh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Qa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Qa(e,!0),o.enter(e)):o.leave(e,()=>{Qa(e,!1)}):Qa(e,t))},beforeUnmount(e,{value:t}){Qa(e,t)}};function Qa(e,t){e.style.display=t?e[Qh]:"none"}const O4=Symbol("");function D4(e,t,n){const o=e.style,r=un(n);if(n&&!r){if(t&&!un(t))for(const i in t)n[i]==null&&wf(o,i,"");for(const i in n)wf(o,i,n[i])}else{const i=o.display;if(r){if(t!==n){const a=o[O4];a&&(n+=";"+a),o.cssText=n}}else t&&e.removeAttribute("style");Qh in e&&(o.display=i)}}const fg=/\s*!important$/;function wf(e,t,n){if(ft(n))n.forEach(o=>wf(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=L4(e,t);fg.test(n)?e.setProperty(Pi(o),n.replace(fg,""),"important"):e[o]=n}}const hg=["Webkit","Moz","ms"],cd={};function L4(e,t){const n=cd[t];if(n)return n;let o=Bo(t);if(o!=="filter"&&o in e)return cd[t]=o;o=Bc(o);for(let r=0;rud||(V4.then(()=>ud=0),ud=Date.now());function W4(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;oo(q4(o,n.value),t,5,[o])};return n.value=e,n.attached=U4(),n}function q4(e,t){if(ft(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const vg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,K4=(e,t,n,o,r,i,a,s,l)=>{const c=r==="svg";t==="class"?z4(e,o,c):t==="style"?D4(e,n,o):Lc(t)?Eh(t)||H4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):G4(e,t,o,c))?N4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),F4(e,t,o,c))};function G4(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&vg(t)&&vt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return vg(t)&&un(n)?!1:t in e}const Gy=new WeakMap,Yy=new WeakMap,gc=Symbol("_moveCb"),bg=Symbol("_enterCb"),Xy={name:"TransitionGroup",props:gn({},A4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zn(),o=ky();let r,i;return Gh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!e5(r[0].el,n.vnode.el,a))return;r.forEach(Z4),r.forEach(J4);const s=r.filter(Q4);Ky(),s.forEach(l=>{const c=l.el,u=c.style;nr(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[gc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[gc]=null,Tr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=At(e),s=Wy(a);let l=a.tag||it;r=i,i=t.default?qh(t.default()):[];for(let c=0;cdelete e.mode;Xy.props;const X4=Xy;function Z4(e){const t=e.el;t[gc]&&t[gc](),t[bg]&&t[bg]()}function J4(e){Yy.set(e,e.el.getBoundingClientRect())}function Q4(e){const t=Gy.get(e),n=Yy.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function e5(e,t,n){const o=e.cloneNode(),r=e[va];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=qy(o);return i.removeChild(o),a}const yg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ft(t)?n=>Xl(t,n):t};function t5(e){e.target.composing=!0}function xg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const dd=Symbol("_assign"),n5={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[dd]=yg(r);const i=o||r.props&&r.props.type==="number";ta(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=uf(s)),e[dd](s)}),n&&ta(e,"change",()=>{e.value=e.value.trim()}),t||(ta(e,"compositionstart",t5),ta(e,"compositionend",xg),ta(e,"change",xg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[dd]=yg(i),e.composing)return;const a=r||e.type==="number"?uf(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},o5=["ctrl","shift","alt","meta"],r5={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>o5.some(n=>e[`${n}Key`]&&!t.includes(n))},i5=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Pi(r.key);if(t.some(a=>a===i||a5[a]===i))return e(r)})},s5=gn({patchProp:K4},$4);let Cg;function l5(){return Cg||(Cg=s4(s5))}const Zy=(...e)=>{const t=l5().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=u5(o);if(!r)return;const i=t._component;!vt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,c5(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function c5(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function u5(e){return un(e)?document.querySelector(e):e}/*! +(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`@charset "UTF-8";.xboard-nav-mask{position:fixed;top:0;bottom:0;right:0;left:0;background:#000;z-index:999;opacity:.5;display:none}.xboard-plan-features{padding:0;list-style:none;font-size:16px;flex:1 0 auto}.xboard-plan-features>li{padding:6px 0;color:#7c8088;text-align:left}.xboard-plan-features>li>b{color:#2a2e36;font-weight:500}.xboard-plan-content{padding-top:20px;padding-left:20px}.xboard-plan-features>li:before{font-family:Font Awesome\\ 5 Free;content:"";padding-right:10px;color:#425b94;font-weight:900}.xboard-email-whitelist-enable{display:flex}.xboard-email-whitelist-enable input{flex:2 1;border-top-right-radius:0;border-bottom-right-radius:0}.xboard-email-whitelist-enable select{flex:1 1;border-top-left-radius:0;border-bottom-left-radius:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-position:right 50%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M3.862 7.931L0 4.069h7.725z'/%3E%3C/svg%3E");padding-right:1.5em}.block.block-mode-loading:before{background:hsla(0,0%,100%,.7)}#server .ant-drawer-content-wrapper{max-width:500px}.xboard-trade-no{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.xboard-lang-item{padding:10px 20px}.xboard-lang-item:hover{background:#eee}.xboard-auth-lang-btn{position:absolute;right:0;top:0}.xboard-no-access{color:#855c0d;background-color:#ffefd1;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.xboard-notice-background{height:100%;position:absolute;top:0;right:0;left:0;bottom:0;z-index:80;opacity:.1}.xboard-auth-box{position:fixed;right:0;left:0;top:0;bottom:0;display:flex;align-items:center;overflow-y:auto}.content-header{height:3.25rem}#page-container.page-header-fixed #main-container{padding-top:3.25rem}.xboard-copyright{position:absolute;bottom:10px;right:0;left:15px;font-size:10px;opacity:.2}.ant-table-thead>tr>th{background:#fff!important}.xboard-container-title{flex:1 1;color:#fff}.xboard-order-info>div{display:flex;font-size:14px;margin-bottom:5px}.xboard-order-info>div>span:first-child{flex:1 1;opacity:.5}.xboard-order-info>div>span:last-child{flex:2 1;font-family:menlo}.xboard-bg-pixels{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}#page-container{min-height:100%}#page-container .content,#main-container{background-color:#f0f3f8!important}a:not([href]):hover{color:unset}.xboard-login-i18n-btn{cursor:pointer;margin-top:2.5;float:right}.custom-control-label:after{left:-1.25rem}.xboard-shortcuts-item{cursor:pointer;padding:20px;border-bottom:1px solid #eee;position:relative}.xboard-shortcuts-item>.description{font-size:12px;opacity:.5}.xboard-shortcuts-item i{position:absolute;top:25px;font-size:30px;right:20px;opacity:.5}.xboard-shortcuts-item:hover{background:#f6f6f6}.btn{border:0}.xboard-plan-tabs{border:1px solid #000;padding:8px 4px;border-radius:100px}.xboard-plan-tabs>span{cursor:pointer;padding:5px 12px}.xboard-plan-tabs>.active{background:#000;border-radius:100px;color:#fff}.xboard-sold-out-tag{background-color:#c12c1f;border-radius:100px;padding:2px 8px;font-size:13px;color:#fff}.xboard-payment-qrcode path[fill="#FFFFFF"]{--darkreader-inline-fill: #fff!important}.alert-success{color:#445e27;background-color:#e6f0db;border-color:#dceacd}.alert{position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:0 solid transparent;border-radius:.25rem}.custom-html-style{color:#333}.custom-html-style h1{font-size:32px;padding:0;border:none;font-weight:700;margin:32px 0;line-height:1.2}.custom-html-style h2{font-size:24px;padding:0;border:none;font-weight:700;margin:24px 0;line-height:1.7}.custom-html-style h3{font-size:18px;margin:18px 0;padding:0;line-height:1.7;border:none}.custom-html-style p{font-size:14px;line-height:1.7;margin:8px 0}.custom-html-style a{color:#0052d9}.custom-html-style a:hover{text-decoration:none}.custom-html-style strong{font-weight:700}.custom-html-style ol,.custom-html-style ul{font-size:14px;line-height:28px;padding-left:36px}.custom-html-style li{margin-bottom:8px;line-height:1.7}.custom-html-style hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.custom-html-style pre{display:block;padding:20px;line-height:28px;word-break:break-word}.custom-html-style code,.custom-html-style pre{background-color:#f5f5f5;font-size:14px;border-radius:0;overflow-x:auto}.custom-html-style code{padding:3px 0;margin:0;word-break:normal}.custom-html-style code:after,.custom-html-style code:before{letter-spacing:0}.custom-html-style blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);color:#333;border:none;border-left:10px solid #d6dbdf}.custom-html-style img,.custom-html-style video{max-width:100%}.custom-html-style table{font-size:14px;line-height:1.7;max-width:100%;overflow:auto;border:1px solid #f6f6f6;border-collapse:collapse;border-spacing:0;box-sizing:border-box}.custom-html-style table td,.custom-html-style table th{word-break:break-all;word-wrap:break-word;white-space:normal}.custom-html-style table tr{border:1px solid #efefef}.custom-html-style table tr:nth-child(2n){background-color:transparent}.custom-html-style table th{text-align:center;font-weight:700;border:1px solid #efefef;padding:10px 6px;background-color:#f5f7fa;word-break:break-word}.custom-html-style table td{border:1px solid #efefef;text-align:left;padding:10px 15px;word-break:break-word;min-width:60px}code{font-size:87.5%;color:#e83e8c;word-wrap:break-word}.btn{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,Liberation Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.btn.btn-square{border-radius:0}.btn.btn-rounded{border-radius:2rem}.btn .fa,.btn .si{position:relative;top:1px}.btn-group-sm>.btn .fa,.btn.btn-sm .fa{top:0}.btn-alt-primary{color:#054d9e;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:hover{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc}.btn-alt-primary.focus,.btn-alt-primary:focus{color:#054d9e;background-color:#a8d0fc;border-color:#a8d0fc;box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-primary.disabled,.btn-alt-primary:disabled{color:#212529;background-color:#cde4fe;border-color:#cde4fe}.btn-alt-primary:not(:disabled):not(.disabled).active,.btn-alt-primary:not(:disabled):not(.disabled):active,.show>.btn-alt-primary.dropdown-toggle{color:#022954;background-color:#92c4fc;border-color:#92c4fc}.btn-alt-primary:not(:disabled):not(.disabled).active:focus,.btn-alt-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-primary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #92c4fc40}.btn-alt-secondary{color:#495057;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:hover{color:#495057;background-color:#d6deec;border-color:#d6deec}.btn-alt-secondary.focus,.btn-alt-secondary:focus{color:#495057;background-color:#d6deec;border-color:#d6deec;box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-secondary.disabled,.btn-alt-secondary:disabled{color:#212529;background-color:#f0f3f8;border-color:#f0f3f8}.btn-alt-secondary:not(:disabled):not(.disabled).active,.btn-alt-secondary:not(:disabled):not(.disabled):active,.show>.btn-alt-secondary.dropdown-toggle{color:#262a2d;background-color:#c6d1e5;border-color:#c6d1e5}.btn-alt-secondary:not(:disabled):not(.disabled).active:focus,.btn-alt-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-secondary.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #c6d1e540}.btn-alt-success{color:#415b25;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:hover{color:#415b25;background-color:#c5dcab;border-color:#c5dcab}.btn-alt-success.focus,.btn-alt-success:focus{color:#415b25;background-color:#c5dcab;border-color:#c5dcab;box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-success.disabled,.btn-alt-success:disabled{color:#212529;background-color:#d7e8c6;border-color:#d7e8c6}.btn-alt-success:not(:disabled):not(.disabled).active,.btn-alt-success:not(:disabled):not(.disabled):active,.show>.btn-alt-success.dropdown-toggle{color:#1a250f;background-color:#b9d69b;border-color:#b9d69b}.btn-alt-success:not(:disabled):not(.disabled).active:focus,.btn-alt-success:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-success.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #b9d69b40}.btn-alt-info{color:#164f86;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:hover{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2}.btn-alt-info.focus,.btn-alt-info:focus{color:#164f86;background-color:#b0d2f2;border-color:#b0d2f2;box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-info.disabled,.btn-alt-info:disabled{color:#212529;background-color:#d1e5f7;border-color:#d1e5f7}.btn-alt-info:not(:disabled):not(.disabled).active,.btn-alt-info:not(:disabled):not(.disabled):active,.show>.btn-alt-info.dropdown-toggle{color:#0b2844;background-color:#9cc7ef;border-color:#9cc7ef}.btn-alt-info:not(:disabled):not(.disabled).active:focus,.btn-alt-info:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-info.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #9cc7ef40}.btn-alt-warning{color:#996500;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:hover{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0}.btn-alt-warning.focus,.btn-alt-warning:focus{color:#996500;background-color:#ffdfa0;border-color:#ffdfa0;box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-warning.disabled,.btn-alt-warning:disabled{color:#212529;background-color:#ffecc6;border-color:#ffecc6}.btn-alt-warning:not(:disabled):not(.disabled).active,.btn-alt-warning:not(:disabled):not(.disabled):active,.show>.btn-alt-warning.dropdown-toggle{color:#4c3200;background-color:#ffd789;border-color:#ffd789}.btn-alt-warning:not(:disabled):not(.disabled).active:focus,.btn-alt-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-warning.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #ffd78940}.btn-alt-danger{color:#6e270d;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:hover{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f}.btn-alt-danger.focus,.btn-alt-danger:focus{color:#6e270d;background-color:#f2aa8f;border-color:#f2aa8f;box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-danger.disabled,.btn-alt-danger:disabled{color:#212529;background-color:#f6c4b1;border-color:#f6c4b1}.btn-alt-danger:not(:disabled):not(.disabled).active,.btn-alt-danger:not(:disabled):not(.disabled):active,.show>.btn-alt-danger.dropdown-toggle{color:#290f05;background-color:#f09a7b;border-color:#f09a7b}.btn-alt-danger:not(:disabled):not(.disabled).active:focus,.btn-alt-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-danger.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #f09a7b40}.btn-alt-dark{color:#343a40;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:hover{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6}.btn-alt-dark.focus,.btn-alt-dark:focus{color:#343a40;background-color:#b9c0c6;border-color:#b9c0c6;box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-dark.disabled,.btn-alt-dark:disabled{color:#212529;background-color:#ced3d8;border-color:#ced3d8}.btn-alt-dark:not(:disabled):not(.disabled).active,.btn-alt-dark:not(:disabled):not(.disabled):active,.show>.btn-alt-dark.dropdown-toggle{color:#121416;background-color:#adb4bc;border-color:#adb4bc}.btn-alt-dark:not(:disabled):not(.disabled).active:focus,.btn-alt-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-dark.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #adb4bc40}.btn-alt-light{color:#343a40;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:hover{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea}.btn-alt-light.focus,.btn-alt-light:focus{color:#343a40;background-color:#e2e6ea;border-color:#e2e6ea;box-shadow:0 0 0 .2rem #d4dae140}.btn-alt-light.disabled,.btn-alt-light:disabled{color:#212529;background-color:#f8f9fa;border-color:#f8f9fa}.btn-alt-light:not(:disabled):not(.disabled).active,.btn-alt-light:not(:disabled):not(.disabled):active,.show>.btn-alt-light.dropdown-toggle{color:#121416;background-color:#d4dae1;border-color:#d4dae1}.btn-alt-light:not(:disabled):not(.disabled).active:focus,.btn-alt-light:not(:disabled):not(.disabled):active:focus,.show>.btn-alt-light.dropdown-toggle:focus{box-shadow:0 0 0 .2rem #d4dae140}.btn-hero-primary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#0665d0;border:none;box-shadow:0 .125rem .75rem #04418640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-primary:hover{color:#fff;background-color:#117ef8;box-shadow:0 .375rem .75rem #04418666;transform:translateY(-1px)}.btn-hero-primary.focus,.btn-hero-primary:focus{color:#fff;background-color:#117ef8;box-shadow:0 .125rem .75rem #04418640}.btn-hero-primary.disabled,.btn-hero-primary:disabled{color:#fff;background-color:#0665d0;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active,.btn-hero-primary:not(:disabled):not(.disabled):active,.show>.btn-hero-primary.dropdown-toggle{color:#fff;background-color:#044186;box-shadow:0 .125rem .75rem #04418640;transform:translateY(0)}.btn-hero-primary:not(:disabled):not(.disabled).active:focus,.btn-hero-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-primary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #04418640}.btn-hero-secondary{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#6c757d;border:none;box-shadow:0 .125rem .75rem #494f5440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-secondary:hover{color:#fff;background-color:#868e96;box-shadow:0 .375rem .75rem #494f5466;transform:translateY(-1px)}.btn-hero-secondary.focus,.btn-hero-secondary:focus{color:#fff;background-color:#868e96;box-shadow:0 .125rem .75rem #494f5440}.btn-hero-secondary.disabled,.btn-hero-secondary:disabled{color:#fff;background-color:#6c757d;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active,.btn-hero-secondary:not(:disabled):not(.disabled):active,.show>.btn-hero-secondary.dropdown-toggle{color:#fff;background-color:#494f54;box-shadow:0 .125rem .75rem #494f5440;transform:translateY(0)}.btn-hero-secondary:not(:disabled):not(.disabled).active:focus,.btn-hero-secondary:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-secondary.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #494f5440}.btn-hero-success{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#82b54b;border:none;box-shadow:0 .125rem .75rem #5b7f3440;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-success:hover{color:#fff;background-color:#9bc46f;box-shadow:0 .375rem .75rem #5b7f3466;transform:translateY(-1px)}.btn-hero-success.focus,.btn-hero-success:focus{color:#fff;background-color:#9bc46f;box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-success.disabled,.btn-hero-success:disabled{color:#fff;background-color:#82b54b;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active,.btn-hero-success:not(:disabled):not(.disabled):active,.show>.btn-hero-success.dropdown-toggle{color:#fff;background-color:#5b7f34;box-shadow:0 .125rem .75rem #5b7f3440;transform:translateY(0)}.btn-hero-success:not(:disabled):not(.disabled).active:focus,.btn-hero-success:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-success.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #5b7f3440}.btn-hero-info{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#3c90df;border:none;box-shadow:0 .125rem .75rem #1d6ab140;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-info:hover{color:#fff;background-color:#68a9e6;box-shadow:0 .375rem .75rem #1d6ab166;transform:translateY(-1px)}.btn-hero-info.focus,.btn-hero-info:focus{color:#fff;background-color:#68a9e6;box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-info.disabled,.btn-hero-info:disabled{color:#fff;background-color:#3c90df;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active,.btn-hero-info:not(:disabled):not(.disabled):active,.show>.btn-hero-info.dropdown-toggle{color:#fff;background-color:#1d6ab1;box-shadow:0 .125rem .75rem #1d6ab140;transform:translateY(0)}.btn-hero-info:not(:disabled):not(.disabled).active:focus,.btn-hero-info:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-info.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #1d6ab140}.btn-hero-warning{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#ffb119;border:none;box-shadow:0 .125rem .75rem #cc860040;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-warning:hover{color:#fff;background-color:#ffc24c;box-shadow:0 .375rem .75rem #cc860066;transform:translateY(-1px)}.btn-hero-warning.focus,.btn-hero-warning:focus{color:#fff;background-color:#ffc24c;box-shadow:0 .125rem .75rem #cc860040}.btn-hero-warning.disabled,.btn-hero-warning:disabled{color:#fff;background-color:#ffb119;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active,.btn-hero-warning:not(:disabled):not(.disabled):active,.show>.btn-hero-warning.dropdown-toggle{color:#fff;background-color:#cc8600;box-shadow:0 .125rem .75rem #cc860040;transform:translateY(0)}.btn-hero-warning:not(:disabled):not(.disabled).active:focus,.btn-hero-warning:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-warning.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cc860040}.btn-hero-danger{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#e04f1a;border:none;box-shadow:0 .125rem .75rem #9b371240;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-danger:hover{color:#fff;background-color:#e97044;box-shadow:0 .375rem .75rem #9b371266;transform:translateY(-1px)}.btn-hero-danger.focus,.btn-hero-danger:focus{color:#fff;background-color:#e97044;box-shadow:0 .125rem .75rem #9b371240}.btn-hero-danger.disabled,.btn-hero-danger:disabled{color:#fff;background-color:#e04f1a;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active,.btn-hero-danger:not(:disabled):not(.disabled):active,.show>.btn-hero-danger.dropdown-toggle{color:#fff;background-color:#9b3712;box-shadow:0 .125rem .75rem #9b371240;transform:translateY(0)}.btn-hero-danger:not(:disabled):not(.disabled).active:focus,.btn-hero-danger:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-danger.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #9b371240}.btn-hero-dark{color:#fff;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#343a40;border:none;box-shadow:0 .125rem .75rem #12141640;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-dark:hover{color:#fff;background-color:#4b545c;box-shadow:0 .375rem .75rem #12141666;transform:translateY(-1px)}.btn-hero-dark.focus,.btn-hero-dark:focus{color:#fff;background-color:#4b545c;box-shadow:0 .125rem .75rem #12141640}.btn-hero-dark.disabled,.btn-hero-dark:disabled{color:#fff;background-color:#343a40;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active,.btn-hero-dark:not(:disabled):not(.disabled):active,.show>.btn-hero-dark.dropdown-toggle{color:#fff;background-color:#121416;box-shadow:0 .125rem .75rem #12141640;transform:translateY(0)}.btn-hero-dark:not(:disabled):not(.disabled).active:focus,.btn-hero-dark:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-dark.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #12141640}.btn-hero-light{color:#212529;text-transform:uppercase;letter-spacing:.0625rem;font-weight:700;padding:.625rem 1.5rem;font-size:.875rem;line-height:1.5;border-radius:.25rem;background-color:#f8f9fa;border:none;box-shadow:0 .125rem .75rem #cbd3da40;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,transform .12s ease-out}.btn-hero-light:hover{color:#212529;background-color:#fff;box-shadow:0 .375rem .75rem #cbd3da66;transform:translateY(-1px)}.btn-hero-light.focus,.btn-hero-light:focus{color:#212529;background-color:#fff;box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-light.disabled,.btn-hero-light:disabled{color:#212529;background-color:#f8f9fa;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active,.btn-hero-light:not(:disabled):not(.disabled):active,.show>.btn-hero-light.dropdown-toggle{color:#212529;background-color:#cbd3da;box-shadow:0 .125rem .75rem #cbd3da40;transform:translateY(0)}.btn-hero-light:not(:disabled):not(.disabled).active:focus,.btn-hero-light:not(:disabled):not(.disabled):active:focus,.show>.btn-hero-light.dropdown-toggle:focus{box-shadow:0 .125rem .75rem #cbd3da40}.btn-hero-lg{padding:.875rem 2.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-hero-sm{padding:.375rem 1.25rem;font-size:.875rem;line-height:1.5;border-radius:.25rem}.btn-dual{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual.focus,.btn-dual:focus,.btn-dual:hover{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8;box-shadow:none}.btn-dual.disabled,.btn-dual:disabled{background-color:transparent;border-color:transparent}.btn-dual.active,.btn-dual:active{color:#16181a;background-color:#f8f9fc;border-color:#f8f9fc}.btn-dual:not(:disabled):not(.disabled).active,.btn-dual:not(:disabled):not(.disabled):active,.show>.btn-dual.dropdown-toggle{color:#16181a;background-color:#cdd6e8;border-color:#cdd6e8}html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #e6edf3;--color-fg-muted: #7d8590;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110,118,129,.4);--color-accent-fg: #2f81f7;--color-accent-emphasis: #1f6feb;--color-attention-fg: #d29922;--color-attention-subtle: rgba(187,128,9,.15);--color-danger-fg: #f85149;--color-done-fg: #a371f7}html:not(.dark) .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #6639ba;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #1F2328;--color-fg-muted: #656d76;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsla(210,18%,87%,1);--color-neutral-muted: rgba(175,184,193,.2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-fg: #9a6700;--color-attention-subtle: #fff8c5;--color-danger-fg: #d1242f;--color-done-fg: #8250df}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body .color-fg-accent{color:var(--color-accent-fg)!important}.markdown-body .color-fg-attention{color:var(--color-attention-fg)!important}.markdown-body .color-fg-done{color:var(--color-done-fg)!important}.markdown-body .flex-items-center{align-items:center!important}.markdown-body .mb-1{margin-bottom:var(--base-size-4, 4px)!important}.markdown-body .text-semibold{font-weight:var(--base-text-weight-medium, 500)!important}.markdown-body .d-inline-flex{display:inline-flex!important}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type="a s"]{list-style-type:lower-alpha}.markdown-body ol[type="A s"]{list-style-type:upper-alpha}.markdown-body ol[type="i s"]{list-style-type:lower-roman}.markdown-body ol[type="I s"]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table td>:last-child{margin-bottom:0}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;color:var(--color-fg-default);background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body .QueryBuilder .qb-entity{color:var(--color-prettylights-syntax-entity)}.markdown-body .QueryBuilder .qb-constant{color:var(--color-prettylights-syntax-constant)}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body .markdown-alert{padding:0 1em;margin-bottom:16px;color:inherit;border-left:.25em solid var(--color-border-default)}.markdown-body .markdown-alert>:first-child{margin-top:0}.markdown-body .markdown-alert>:last-child{margin-bottom:0}.markdown-body .markdown-alert.markdown-alert-note{border-left-color:var(--color-accent-fg)}.markdown-body .markdown-alert.markdown-alert-important{border-left-color:var(--color-done-fg)}.markdown-body .markdown-alert.markdown-alert-warning{border-left-color:var(--color-attention-fg)}*,:before,:after{box-sizing:border-box;background-repeat:no-repeat}:before,:after{text-decoration:inherit;vertical-align:inherit}:where(:root){cursor:default;line-height:1.5;overflow-wrap:break-word;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}:where(body){margin:0}:where(h1){font-size:2em;margin:.67em 0}:where(dl,ol,ul) :where(dl,ol,ul){margin:0}:where(hr){color:inherit;height:0}:where(nav) :where(ol,ul){list-style-type:none;padding:0}:where(nav li):before{content:"​";float:left}:where(pre){font-family:monospace,monospace;font-size:1em;overflow:auto}:where(abbr[title]){text-decoration:underline;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(audio,canvas,iframe,img,svg,video){vertical-align:baseline}:where(iframe){border-style:none}:where(svg:not([fill])){fill:currentColor}:where(table){border-collapse:collapse;border-color:inherit;text-indent:0}:where(button,input,select){margin:0}:where(button,[type=button i],[type=reset i],[type=submit i]){-webkit-appearance:button}:where(fieldset){border:1px solid #a0a0a0}:where(progress){vertical-align:baseline}:where(textarea){margin:0;resize:vertical}:where([type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(details>summary:first-of-type){display:list-item}:where([aria-busy=true i]){cursor:progress}:where([aria-controls]){cursor:pointer}:where([aria-disabled=true i],[disabled]){cursor:not-allowed}:where([aria-hidden=false i][hidden]){display:initial}:where([aria-hidden=false i][hidden]:not(:focus)){clip:rect(0,0,0,0);position:absolute}html{font-size:4px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}::-webkit-scrollbar{width:8px;background-color:#eee}::-webkit-scrollbar-thumb{background-color:#c1c1c1}::-webkit-scrollbar-thumb:hover{background-color:#a8a8a8}html,body{width:100%;height:100%;overflow:hidden;font-size:16px}#app{width:100%;height:100%}.fade-slide-leave-active,.fade-slide-enter-active{transition:all .3s}.fade-slide-enter-from{opacity:0;transform:translate(-30px)}.fade-slide-leave-to{opacity:0;transform:translate(30px)}.cus-scroll{overflow:auto}.cus-scroll::-webkit-scrollbar{width:8px;height:8px}.cus-scroll-x{overflow-x:auto}.cus-scroll-x::-webkit-scrollbar{width:0;height:8px}.cus-scroll-y{overflow-y:auto}.cus-scroll-y::-webkit-scrollbar{width:8px;height:0}.cus-scroll::-webkit-scrollbar-thumb,.cus-scroll-x::-webkit-scrollbar-thumb,.cus-scroll-y::-webkit-scrollbar-thumb{background-color:transparent;border-radius:4px}.cus-scroll:hover::-webkit-scrollbar-thumb,.cus-scroll-x:hover::-webkit-scrollbar-thumb,.cus-scroll-y:hover::-webkit-scrollbar-thumb{background:#bfbfbf}.cus-scroll:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-x:hover::-webkit-scrollbar-thumb:hover,.cus-scroll-y:hover::-webkit-scrollbar-thumb:hover{background:var(--primary-color)}#--unocss--{layer:__ALL__}#app{height:100%}#app .n-config-provider{height:inherit}.side-menu:not(.n-menu--collapsed) .n-menu-item-content:before{left:5px;right:5px}.side-menu:not(.n-menu--collapsed) .n-menu-item-content.n-menu-item-content--selected:before,.side-menu:not(.n-menu--collapsed) .n-menu-item-content:hover:before{border-left:4px solid var(--primary-color)}.carousel-img[data-v-179cfe78]{width:100%;height:240px;object-fit:cover}.xboard-bg-pixels[data-v-179cfe78]{background-image:url(data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+);background-size:auto}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-79fa0f66]{display:grid;justify-content:space-between;grid-template-columns:repeat(auto-fit,minmax(calc(100% - 1rem),1fr));row-gap:20px;min-width:100%}.card-item[data-v-79fa0f66]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(50% - 1rem),1fr));column-gap:20px;min-width:375px}}@media screen and (min-width: 1200px){.card-container[data-v-79fa0f66]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}a{text-decoration-line:none}#--unocss-layer-start--__ALL__--{start:__ALL__}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.wh-full,[wh-full=""]{width:100%;height:100%}.f-c-c,[f-c-c=""]{display:flex;align-items:center;justify-content:center}.flex-col,[flex-col=""]{display:flex;flex-direction:column}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-15{right:15px}[bottom~="20"]{bottom:20px}.grid{display:grid}.m-0{margin:0}.m-0\\!{margin:0!important}.m-1{margin:1px}.m-3{margin:3px}.m-auto,[m-auto=""]{margin:auto}.m-b-5,.mb-5{margin-bottom:5px}.m-l-10,.ml-10,[ml-10=""]{margin-left:10px}.m-l-20{margin-left:20px}.m-l-3{margin-left:3px}.m-t-10,.mt-10{margin-top:10px}.m-t-15,.mt-15,[mt-15=""]{margin-top:15px}.m-t-20,.mt-20,[mt-20=""]{margin-top:20px}.m-t-5,.mt-5{margin-top:5px}.mb-10{margin-bottom:10px}.mb-16{margin-bottom:16px}.mb-1em{margin-bottom:1em}.mb-20{margin-bottom:20px}.mb-3,[mb-3=""]{margin-bottom:3px}.mb-4{margin-bottom:4px}.mb-8{margin-bottom:8px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-20,.mr20,[mr-20=""],[mr20=""]{margin-right:20px}.mr-5{margin-right:5px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:10px}.mt-0{margin-top:0}.mt-30{margin-top:30px}.mt-4{margin-top:4px}.mt-8{margin-top:8px}.inline-block{display:inline-block}.hidden{display:none}.h-20{height:20px}.h-30{height:30px}.h-35,[h-35=""]{height:35px}.h-36,[h-36=""]{height:36px}.h-6{height:6px}.h-60,[h-60=""]{height:60px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h1{height:1px}.h2{height:2px}.h5{height:5px}.max-h-30{max-height:30px}.max-w-100\\%{max-width:100%}.max-w-1200{max-width:1200px}.max-w-140,[max-w-140=""]{max-width:140px}.max-w-450{max-width:450px}.max-w-500{max-width:500px}.min-w-0{min-width:0}.min-w-300{min-width:300px}.w-100\\%,.w-full,[w-full=""]{width:100%}.w-20{width:20px}.w-30{width:30px}.w-300{width:300px}.w-35,[w-35=""]{width:35px}.w-375{width:375px}.w-6{width:6px}.w-60\\%{width:60%}.w-600{width:600px}.w-64{width:64px}.w-80\\%{width:80%}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-\\[3\\]{flex:3}.flex-1,[flex-1=""]{flex:1 1 0%}.flex-shrink-0,[flex-shrink-0=""]{flex-shrink:0}.flex-wrap{flex-wrap:wrap}[transform-origin~=center]{transform-origin:center}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer,[cursor-pointer=""]{cursor:pointer}.resize{resize:both}.items-center,[items-center=""]{align-items:center}.justify-end{justify-content:flex-end}.justify-center,[justify-center=""]{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden,[overflow-hidden=""]{overflow:hidden}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-\\[\\#646669\\],.border-\\#646669{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-\\#0665d0{--un-border-opacity:1;border-color:rgb(6 101 208 / var(--un-border-opacity))}.border-transparent{border-color:transparent}.border-rounded-5,.rounded-5,[border-rounded-5=""],[rounded-5=""]{border-radius:5px}.rounded-full,[rounded-full=""]{border-radius:9999px}.border-none{border-style:none}.border-solid{border-style:solid}.border-b-solid{border-bottom-style:solid}.bg-\\[--n-color-embedded\\]{background-color:var(--n-color-embedded)}.bg-\\[--n-color\\]{background-color:var(--n-color)}.bg-\\[\\#f5f6fb\\],.bg-hex-f5f6fb,[bg-hex-f5f6fb=""]{--un-bg-opacity:1;background-color:rgb(245 246 251 / var(--un-bg-opacity))}.bg-\\#2f3135{--un-bg-opacity:1;background-color:rgb(47 49 53 / var(--un-bg-opacity))}.bg-\\#e04f1a{--un-bg-opacity:1;background-color:rgb(224 79 26 / var(--un-bg-opacity))}.bg-\\#f8f9fa{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.bg-blue-500{--un-bg-opacity:1;background-color:rgb(59 130 246 / var(--un-bg-opacity))}.bg-dark,.dark [dark~=bg-dark]{--un-bg-opacity:1;background-color:rgb(24 24 28 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-red-500{--un-bg-opacity:1;background-color:rgb(239 68 68 / var(--un-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--un-bg-opacity:1;background-color:rgb(255 255 255 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014,.dark [dark\\:bg-hex-101014=""]{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-101014\\>{background-color:#101014>}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.hover\\:bg-\\#f6f6f6:hover{--un-bg-opacity:1;background-color:rgb(246 246 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-10{padding:10px}.p-19{padding:19px}.p-2{padding:2px}.p-20{padding:20px}.p-24{padding:24px}.p-5{padding:5px}.p-x-24{padding-left:24px;padding-right:24px}.p-y-16{padding-top:16px;padding-bottom:16px}.px{padding-left:4px;padding-right:4px}.px-15{padding-left:15px;padding-right:15px}.p-b-5{padding-bottom:5px}.p-l-5,.pl-5{padding-left:5px}.p-t-20,.pt-20{padding-top:20px}.p-t-5{padding-top:5px}.pb-10{padding-bottom:10px}.pb-16{padding-bottom:16px}.pb-8{padding-bottom:8px}.pl-16{padding-left:16px}.pl-20{padding-left:20px}.pr-16{padding-right:16px}.pr-20{padding-right:20px}.pt-10{padding-top:10px}.pt-16{padding-top:16px}.pt-8{padding-top:8px}.text-center,[text-center=""]{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:6px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:6px}[root-indent~="18"]:root{text-indent:18px}.vertical-bottom{vertical-align:bottom}.text-12{font-size:12px}.text-14,[text-14=""]{font-size:14px}.text-16,[text-16=""]{font-size:16px}.text-18{font-size:18px}.text-20{font-size:20px}.text-22{font-size:22px}.text-30{font-size:30px}.text-36{font-size:36px}.text-40{font-size:40px}.text-50{font-size:50px}.text-90{font-size:90px}.font-400,.font-normal,[font-400=""]{font-weight:400}.font-600{font-weight:600}.font-bold,[font-bold=""]{font-weight:700}.color-\\[hsla\\(0\\,0\\%\\,100\\%\\,\\.75\\)\\]{--un-text-opacity:.75;color:hsla(0,0%,100%,var(--un-text-opacity))}.color-\\#48bc19{--un-text-opacity:1;color:rgb(72 188 25 / var(--un-text-opacity))}.color-\\#f8f9fa{--un-text-opacity:1;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f8f9fa41{--un-text-opacity:.25;color:rgb(248 249 250 / var(--un-text-opacity))}.color-\\#f9a314{--un-text-opacity:1;color:rgb(249 163 20 / var(--un-text-opacity))}.color-gray,.text-gray{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.color-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.color-primary,.text-\\[--primary-color\\],[color-primary=""]{color:var(--primary-color)}.color-white,.text-white{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#343a40"]{--un-text-opacity:1;color:rgb(52 58 64 / var(--un-text-opacity))}[color~="#6a6a6a"]{--un-text-opacity:1;color:rgb(106 106 106 / var(--un-text-opacity))}.text-\\#6c757d,[color~="#6c757d"]{--un-text-opacity:1;color:rgb(108 117 125 / var(--un-text-opacity))}[color~="#db4619"]{--un-text-opacity:1;color:rgb(219 70 25 / var(--un-text-opacity))}[hover~=color-primary]:hover{color:var(--primary-color)}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-\\#49505799{--un-text-opacity:.6;color:rgb(73 80 87 / var(--un-text-opacity))}.text-\\#595959{--un-text-opacity:1;color:rgb(89 89 89 / var(--un-text-opacity))}.text-\\#666{--un-text-opacity:1;color:rgb(102 102 102 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.decoration-underline,[hover~=decoration-underline]:hover{text-decoration-line:underline}.tab{-moz-tab-size:4;-o-tab-size:4;tab-size:4}.opacity-30{opacity:.3}.opacity-85{opacity:.85}.hover\\:opacity-75:hover{opacity:.75}.shadow-black{--un-shadow-opacity:1;--un-shadow-color:rgb(0 0 0 / var(--un-shadow-opacity))}.outline-none{outline:2px solid transparent;outline-offset:2px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 640px){.sm\\:max-w-full{max-width:100%}}@media (min-width: 768px){.md\\:m-l20{margin-left:20px}.md\\:m-t-20,.md\\:mt-20{margin-top:20px}.md\\:m-t-40{margin-top:40px}.md\\:mb-40{margin-bottom:40px}.md\\:mr10{margin-right:10px}.md\\:mt-0{margin-top:0}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-30{height:30px}.md\\:max-w-1\\/3{max-width:33.3333333333%}.md\\:max-w-2\\/3{max-width:66.6666666667%}.md\\:w-30{width:30px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-15{padding:15px}.md\\:pl-20{padding-left:20px}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})(); +var Ok=Object.defineProperty;var Dk=(e,t,n)=>t in e?Ok(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Lk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var nd=(e,t,n)=>(Dk(e,typeof t!="symbol"?t+"":t,n),n);var PNe=Lk((Gn,Yn)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&o(a)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function o(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();function Rh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const Zt={},sa=[],Kn=()=>{},Fk=()=>!1,Lc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Eh=e=>e.startsWith("onUpdate:"),gn=Object.assign,$h=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Nk=Object.prototype.hasOwnProperty,Ot=(e,t)=>Nk.call(e,t),ft=Array.isArray,la=e=>Fc(e)==="[object Map]",F1=e=>Fc(e)==="[object Set]",vt=e=>typeof e=="function",un=e=>typeof e=="string",$a=e=>typeof e=="symbol",Yt=e=>e!==null&&typeof e=="object",N1=e=>(Yt(e)||vt(e))&&vt(e.then)&&vt(e.catch),B1=Object.prototype.toString,Fc=e=>B1.call(e),Bk=e=>Fc(e).slice(8,-1),H1=e=>Fc(e)==="[object Object]",Ah=e=>un(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Yl=Rh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Nc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Hk=/-(\w)/g,Bo=Nc(e=>e.replace(Hk,(t,n)=>n?n.toUpperCase():"")),jk=/\B([A-Z])/g,Pi=Nc(e=>e.replace(jk,"-$1").toLowerCase()),Bc=Nc(e=>e.charAt(0).toUpperCase()+e.slice(1)),od=Nc(e=>e?`on${Bc(e)}`:""),Fr=(e,t)=>!Object.is(e,t),Xl=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},df=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Vk=e=>{const t=un(e)?Number(e):NaN;return isNaN(t)?e:t};let zm;const j1=()=>zm||(zm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ho(e){if(ft(e)){const t={};for(let n=0;n{if(n){const o=n.split(Wk);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function ar(e){let t="";if(un(e))t=e;else if(ft(e))for(let n=0;nun(e)?e:e==null?"":ft(e)||Yt(e)&&(e.toString===B1||!vt(e.toString))?JSON.stringify(e,U1,2):String(e),U1=(e,t)=>t&&t.__v_isRef?U1(e,t.value):la(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[rd(o,i)+" =>"]=r,n),{})}:F1(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rd(n))}:$a(t)?rd(t):Yt(t)&&!ft(t)&&!H1(t)?String(t):t,rd=(e,t="")=>{var n;return $a(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let Wn;class W1{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Wn,!t&&Wn&&(this.index=(Wn.scopes||(Wn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Wn;try{return Wn=this,t()}finally{Wn=n}}}on(){Wn=this}off(){Wn=this.parent}stop(t){if(this._active){let n,o;for(n=0,o=this.effects.length;n=2))break;Ei(),this._queryings--}return this._dirtyLevel>=2}set dirty(t){this._dirtyLevel=t?3:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Or,n=pi;try{return Or=!0,pi=this,this._runnings++,Om(this),this.fn()}finally{Dm(this),this._runnings--,pi=n,Or=t}}stop(){var t;this.active&&(Om(this),Dm(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function Zk(e){return e.value}function Om(e){e._trackId++,e._depsLength=0}function Dm(e){if(e.deps&&e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},uc=new WeakMap,mi=Symbol(""),pf=Symbol("");function Hn(e,t,n){if(Or&&pi){let o=uc.get(e);o||uc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Z1(()=>o.delete(n))),Y1(pi,r)}}function rr(e,t,n,o,r,i){const a=uc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ft(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!$a(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ft(e)?Ah(n)&&s.push(a.get("length")):(s.push(a.get(mi)),la(e)&&s.push(a.get(pf)));break;case"delete":ft(e)||(s.push(a.get(mi)),la(e)&&s.push(a.get(pf)));break;case"set":la(e)&&s.push(a.get(mi));break}Oh();for(const l of s)l&&X1(l,3);Dh()}function Jk(e,t){var n;return(n=uc.get(e))==null?void 0:n.get(t)}const Qk=Rh("__proto__,__v_isRef,__isVue"),J1=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($a)),Lm=e3();function e3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=At(this);for(let i=0,a=this.length;i{e[t]=function(...n){Ri(),Oh();const o=At(this)[t].apply(this,n);return Dh(),Ei(),o}}),e}function t3(e){const t=At(this);return Hn(t,"has",e),t.hasOwnProperty(e)}class Q1{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,o){const r=this._isReadonly,i=this._shallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return o===(r?i?p3:oy:i?ny:ty).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ft(t);if(!r){if(a&&Ot(Lm,n))return Reflect.get(Lm,n,o);if(n==="hasOwnProperty")return t3}const s=Reflect.get(t,n,o);return($a(n)?J1.has(n):Qk(n))||(r||Hn(t,"get",n),i)?s:dn(s)?a&&Ah(n)?s:s.value:Yt(s)?r?io(s):xo(s):s}}class ey extends Q1{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._shallow){const l=ma(i);if(!dc(o)&&!ma(o)&&(i=At(i),o=At(o)),!ft(t)&&dn(i)&&!dn(o))return l?!1:(i.value=o,!0)}const a=ft(t)&&Ah(n)?Number(n)e,Hc=e=>Reflect.getPrototypeOf(e);function gl(e,t,n=!1,o=!1){e=e.__v_raw;const r=At(e),i=At(t);n||(Fr(t,i)&&Hn(r,"get",t),Hn(r,"get",i));const{has:a}=Hc(r),s=o?Lh:n?Bh:Ps;if(a.call(r,t))return s(e.get(t));if(a.call(r,i))return s(e.get(i));e!==r&&e.get(t)}function vl(e,t=!1){const n=this.__v_raw,o=At(n),r=At(e);return t||(Fr(e,r)&&Hn(o,"has",e),Hn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function bl(e,t=!1){return e=e.__v_raw,!t&&Hn(At(e),"iterate",mi),Reflect.get(e,"size",e)}function Fm(e){e=At(e);const t=At(this);return Hc(t).has.call(t,e)||(t.add(e),rr(t,"add",e,e)),this}function Nm(e,t){t=At(t);const n=At(this),{has:o,get:r}=Hc(n);let i=o.call(n,e);i||(e=At(e),i=o.call(n,e));const a=r.call(n,e);return n.set(e,t),i?Fr(t,a)&&rr(n,"set",e,t):rr(n,"add",e,t),this}function Bm(e){const t=At(this),{has:n,get:o}=Hc(t);let r=n.call(t,e);r||(e=At(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&rr(t,"delete",e,void 0),i}function Hm(){const e=At(this),t=e.size!==0,n=e.clear();return t&&rr(e,"clear",void 0,void 0),n}function yl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=At(a),l=t?Lh:e?Bh:Ps;return!e&&Hn(s,"iterate",mi),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function xl(e,t,n){return function(...o){const r=this.__v_raw,i=At(r),a=la(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?Lh:t?Bh:Ps;return!t&&Hn(i,"iterate",l?pf:mi),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:s?[u(d[0]),u(d[1])]:u(d),done:f}},[Symbol.iterator](){return this}}}}function br(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function a3(){const e={get(i){return gl(this,i)},get size(){return bl(this)},has:vl,add:Fm,set:Nm,delete:Bm,clear:Hm,forEach:yl(!1,!1)},t={get(i){return gl(this,i,!1,!0)},get size(){return bl(this)},has:vl,add:Fm,set:Nm,delete:Bm,clear:Hm,forEach:yl(!1,!0)},n={get(i){return gl(this,i,!0)},get size(){return bl(this,!0)},has(i){return vl.call(this,i,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:yl(!0,!1)},o={get(i){return gl(this,i,!0,!0)},get size(){return bl(this,!0)},has(i){return vl.call(this,i,!0)},add:br("add"),set:br("set"),delete:br("delete"),clear:br("clear"),forEach:yl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=xl(i,!1,!1),n[i]=xl(i,!0,!1),t[i]=xl(i,!1,!0),o[i]=xl(i,!0,!0)}),[e,n,t,o]}const[s3,l3,c3,u3]=a3();function Fh(e,t){const n=t?e?u3:c3:e?l3:s3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Ot(n,r)&&r in o?n:o,r,i)}const d3={get:Fh(!1,!1)},f3={get:Fh(!1,!0)},h3={get:Fh(!0,!1)},ty=new WeakMap,ny=new WeakMap,oy=new WeakMap,p3=new WeakMap;function m3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function g3(e){return e.__v_skip||!Object.isExtensible(e)?0:m3(Bk(e))}function xo(e){return ma(e)?e:Nh(e,!1,o3,d3,ty)}function ry(e){return Nh(e,!1,i3,f3,ny)}function io(e){return Nh(e,!0,r3,h3,oy)}function Nh(e,t,n,o,r){if(!Yt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=g3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function Dr(e){return ma(e)?Dr(e.__v_raw):!!(e&&e.__v_isReactive)}function ma(e){return!!(e&&e.__v_isReadonly)}function dc(e){return!!(e&&e.__v_isShallow)}function iy(e){return Dr(e)||ma(e)}function At(e){const t=e&&e.__v_raw;return t?At(t):e}function ga(e){return cc(e,"__v_skip",!0),e}const Ps=e=>Yt(e)?xo(e):e,Bh=e=>Yt(e)?io(e):e;class ay{constructor(t,n,o,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zh(()=>t(this._value),()=>fc(this,1)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=At(this);return Hh(t),(!t._cacheable||t.effect.dirty)&&Fr(t._value,t._value=t.effect.run())&&fc(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function v3(e,t,n=!1){let o,r;const i=vt(e);return i?(o=e,r=Kn):(o=e.get,r=e.set),new ay(o,r,i||!r,n)}function Hh(e){Or&&pi&&(e=At(e),Y1(pi,e.dep||(e.dep=Z1(()=>e.dep=void 0,e instanceof ay?e:void 0))))}function fc(e,t=3,n){e=At(e);const o=e.dep;o&&X1(o,t)}function dn(e){return!!(e&&e.__v_isRef===!0)}function N(e){return sy(e,!1)}function Aa(e){return sy(e,!0)}function sy(e,t){return dn(e)?e:new b3(e,t)}class b3{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:At(t),this._value=n?t:Ps(t)}get value(){return Hh(this),this._value}set value(t){const n=this.__v_isShallow||dc(t)||ma(t);t=n?t:At(t),Fr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ps(t),fc(this,3))}}function he(e){return dn(e)?e.value:e}const y3={get:(e,t,n)=>he(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return dn(r)&&!dn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function ly(e){return Dr(e)?e:new Proxy(e,y3)}class x3{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>Hh(this),()=>fc(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function C3(e){return new x3(e)}function w3(e){const t=ft(e)?new Array(e.length):{};for(const n in e)t[n]=cy(e,n);return t}class _3{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 Jk(At(this._object),this._key)}}class S3{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ue(e,t,n){return dn(e)?e:vt(e)?new S3(e):Yt(e)&&arguments.length>1?cy(e,t,n):N(e)}function cy(e,t,n){const o=e[t];return dn(o)?o:new _3(e,t,n)}function Lr(e,t,n,o){let r;try{r=o?e(...o):e()}catch(i){jc(i,t,n)}return r}function oo(e,t,n,o){if(vt(e)){const i=Lr(e,t,n,o);return i&&N1(i)&&i.catch(a=>{jc(a,t,n)}),i}const r=[];for(let i=0;i>>1,r=En[o],i=Es(r);iMo&&En.splice(t,1)}function R3(e){ft(e)?ca.push(...e):(!Rr||!Rr.includes(e,e.allowRecurse?si+1:si))&&ca.push(e),dy()}function jm(e,t,n=Rs?Mo+1:0){for(;nEs(n)-Es(o));if(ca.length=0,Rr){Rr.push(...t);return}for(Rr=t,si=0;sie.id==null?1/0:e.id,E3=(e,t)=>{const n=Es(e)-Es(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function hy(e){mf=!1,Rs=!0,En.sort(E3);const t=Kn;try{for(Mo=0;Moun(p)?p.trim():p)),d&&(r=n.map(df))}let s,l=o[s=od(t)]||o[s=od(Bo(t))];!l&&i&&(l=o[s=od(Pi(t))]),l&&oo(l,e,6,r);const c=o[s+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,oo(c,e,6,r)}}function py(e,t,n=!1){const o=t.emitsCache,r=o.get(e);if(r!==void 0)return r;const i=e.emits;let a={},s=!1;if(!vt(e)){const l=c=>{const u=py(c,t,!0);u&&(s=!0,gn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Yt(e)&&o.set(e,null),null):(ft(i)?i.forEach(l=>a[l]=null):gn(a,i),Yt(e)&&o.set(e,a),a)}function Vc(e,t){return!e||!Lc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Ot(e,t[0].toLowerCase()+t.slice(1))||Ot(e,Pi(t))||Ot(e,t))}let mn=null,Uc=null;function hc(e){const t=mn;return mn=e,Uc=e&&e.type.__scopeId||null,t}function A3(e){Uc=e}function I3(){Uc=null}function re(e,t=mn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&ng(-1);const i=hc(t);let a;try{a=e(...r)}finally{hc(i),o._d&&ng(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function id(e){const{type:t,vnode:n,proxy:o,withProxy:r,props:i,propsOptions:[a],slots:s,attrs:l,emit:c,render:u,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e;let b,m;const y=hc(e);try{if(n.shapeFlag&4){const S=r||o,w=S;b=Io(u.call(w,S,d,i,p,f,h)),m=l}else{const S=t;b=Io(S.length>1?S(i,{attrs:l,slots:s,emit:c}):S(i,null)),m=t.props?l:M3(l)}}catch(S){ms.length=0,jc(S,e,1),b=te($n)}let k=b;if(m&&g!==!1){const S=Object.keys(m),{shapeFlag:w}=k;S.length&&w&7&&(a&&S.some(Eh)&&(m=z3(m,a)),k=ao(k,m))}return n.dirs&&(k=ao(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),b=k,hc(y),b}const M3=e=>{let t;for(const n in e)(n==="class"||n==="style"||Lc(n))&&((t||(t={}))[n]=e[n]);return t},z3=(e,t)=>{const n={};for(const o in e)(!Eh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function O3(e,t,n){const{props:o,children:r,component:i}=e,{props:a,children:s,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return o?Vm(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function F3(e,t){t&&t.pendingBranch?ft(e)?t.effects.push(...e):t.effects.push(e):R3(e)}const N3=Symbol.for("v-scx"),B3=()=>qe(N3);function tn(e,t){return Wh(e,null,t)}const Cl={};function ht(e,t,n){return Wh(e,t,n)}function Wh(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=Zt){if(t&&i){const x=t;t=(...C)=>{x(...C),w()}}const l=_n,c=x=>o===!0?x:ci(x,o===!1?1:void 0);let u,d=!1,f=!1;if(dn(e)?(u=()=>e.value,d=dc(e)):Dr(e)?(u=()=>c(e),d=!0):ft(e)?(f=!0,d=e.some(x=>Dr(x)||dc(x)),u=()=>e.map(x=>{if(dn(x))return x.value;if(Dr(x))return c(x);if(vt(x))return Lr(x,l,2)})):vt(e)?t?u=()=>Lr(e,l,2):u=()=>(p&&p(),oo(e,l,3,[h])):u=Kn,t&&o){const x=u;u=()=>ci(x())}let p,h=x=>{p=k.onStop=()=>{Lr(x,l,4),p=k.onStop=void 0}},g;if(Jc)if(h=Kn,t?n&&oo(t,l,3,[u(),f?[]:void 0,h]):u(),r==="sync"){const x=B3();g=x.__watcherHandles||(x.__watcherHandles=[])}else return Kn;let b=f?new Array(e.length).fill(Cl):Cl;const m=()=>{if(!(!k.active||!k.dirty))if(t){const x=k.run();(o||d||(f?x.some((C,_)=>Fr(C,b[_])):Fr(x,b)))&&(p&&p(),oo(t,l,3,[x,b===Cl?void 0:f&&b[0]===Cl?[]:b,h]),b=x)}else k.run()};m.allowRecurse=!!t;let y;r==="sync"?y=m:r==="post"?y=()=>Nn(m,l&&l.suspense):(m.pre=!0,l&&(m.id=l.uid),y=()=>Vh(m));const k=new zh(u,Kn,y),S=Mh(),w=()=>{k.stop(),S&&$h(S.effects,k)};return t?n?m():b=k.run():r==="post"?Nn(k.run.bind(k),l&&l.suspense):k.run(),g&&g.push(w),w}function H3(e,t,n){const o=this.proxy,r=un(e)?e.includes(".")?vy(o,e):()=>o[e]:e.bind(o,o);let i;vt(t)?i=t:(i=t.handler,n=t);const a=Xs(this),s=Wh(r,i.bind(o),n);return a(),s}function vy(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r0){if(n>=t)return e;n++}if(o=o||new Set,o.has(e))return e;if(o.add(e),dn(e))ci(e.value,t,n,o);else if(ft(e))for(let r=0;r{ci(r,t,n,o)});else if(H1(e))for(const r in e)ci(e[r],t,n,o);return e}function Cn(e,t){if(mn===null)return e;const n=Qc(mn)||mn.proxy,o=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),rn(()=>{e.isUnmounting=!0}),e}const eo=[Function,Array],yy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:eo,onEnter:eo,onAfterEnter:eo,onEnterCancelled:eo,onBeforeLeave:eo,onLeave:eo,onAfterLeave:eo,onLeaveCancelled:eo,onBeforeAppear:eo,onAppear:eo,onAfterAppear:eo,onAppearCancelled:eo},j3={name:"BaseTransition",props:yy,setup(e,{slots:t}){const n=Zn(),o=by();let r;return()=>{const i=t.default&&qh(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const g of i)if(g.type!==$n){a=g;break}}const s=At(e),{mode:l}=s;if(o.isLeaving)return ad(a);const c=Wm(a);if(!c)return ad(a);const u=$s(c,s,o,n);As(c,u);const d=n.subTree,f=d&&Wm(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const g=h();r===void 0?r=g:g!==r&&(r=g,p=!0)}if(f&&f.type!==$n&&(!li(c,f)||p)){const g=$s(f,s,o,n);if(As(f,g),l==="out-in")return o.isLeaving=!0,g.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},ad(a);l==="in-out"&&c.type!==$n&&(g.delayLeave=(b,m,y)=>{const k=xy(o,f);k[String(f.key)]=f,b[Er]=()=>{m(),b[Er]=void 0,delete u.delayedLeave},u.delayedLeave=y})}return a}}},V3=j3;function xy(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function $s(e,t,n,o){const{appear:r,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:g,onAppear:b,onAfterAppear:m,onAppearCancelled:y}=t,k=String(e.key),S=xy(n,e),w=(_,R)=>{_&&oo(_,o,9,R)},x=(_,R)=>{const E=R[1];w(_,R),ft(_)?_.every(M=>M.length<=1)&&E():_.length<=1&&E()},C={mode:i,persisted:a,beforeEnter(_){let R=s;if(!n.isMounted)if(r)R=g||s;else return;_[Er]&&_[Er](!0);const E=S[k];E&&li(e,E)&&E.el[Er]&&E.el[Er](),w(R,[_])},enter(_){let R=l,E=c,M=u;if(!n.isMounted)if(r)R=b||l,E=m||c,M=y||u;else return;let A=!1;const q=_[wl]=F=>{A||(A=!0,F?w(M,[_]):w(E,[_]),C.delayedLeave&&C.delayedLeave(),_[wl]=void 0)};R?x(R,[_,q]):q()},leave(_,R){const E=String(e.key);if(_[wl]&&_[wl](!0),n.isUnmounting)return R();w(d,[_]);let M=!1;const A=_[Er]=q=>{M||(M=!0,R(),q?w(h,[_]):w(p,[_]),_[Er]=void 0,S[E]===e&&delete S[E])};S[E]=e,f?x(f,[_,A]):A()},clone(_){return $s(_,t,n,o)}};return C}function ad(e){if(qc(e))return e=ao(e),e.children=null,e}function Wm(e){return qc(e)?e.children?e.children[0]:void 0:e}function As(e,t){e.shapeFlag&6&&e.component?As(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function qh(e,t=!1,n){let o=[],r=0;for(let i=0;i1)for(let i=0;ign({name:e.name},t,{setup:e}))():e}const fs=e=>!!e.type.__asyncLoader,qc=e=>e.type.__isKeepAlive;function Kh(e,t){Cy(e,"a",t)}function Kc(e,t){Cy(e,"da",t)}function Cy(e,t,n=_n){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Gc(t,o,n),n){let r=n.parent;for(;r&&r.parent;)qc(r.parent.vnode)&&U3(o,t,n,r),r=r.parent}}function U3(e,t,n,o){const r=Gc(t,e,o,!0);Ys(()=>{$h(o[t],r)},n)}function Gc(e,t,n=_n,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;Ri();const s=Xs(n),l=oo(t,n,e,a);return s(),Ei(),l});return o?r.unshift(i):r.push(i),i}}const cr=e=>(t,n=_n)=>(!Jc||e==="sp")&&Gc(e,(...o)=>t(...o),n),cn=cr("bm"),Lt=cr("m"),wy=cr("bu"),Gh=cr("u"),rn=cr("bum"),Ys=cr("um"),W3=cr("sp"),q3=cr("rtg"),K3=cr("rtc");function G3(e,t=_n){Gc("ec",e,t)}function Bn(e,t,n,o){let r;const i=n&&n[o];if(ft(e)||un(e)){r=new Array(e.length);for(let a=0,s=e.length;at(a,s,void 0,i&&i[s]));else{const a=Object.keys(e);r=new Array(a.length);for(let s=0,l=a.length;szs(t)?!(t.type===$n||t.type===it&&!_y(t.children)):!0)?e:null}const gf=e=>e?Oy(e)?Qc(e)||e.proxy:gf(e.parent):null,hs=gn(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>gf(e.parent),$root:e=>gf(e.root),$emit:e=>e.emit,$options:e=>Yh(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Vh(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>H3.bind(e)}),sd=(e,t)=>e!==Zt&&!e.__isScriptSetup&&Ot(e,t),Y3={get({_:e},t){const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(sd(o,t))return a[t]=1,o[t];if(r!==Zt&&Ot(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Ot(c,t))return a[t]=3,i[t];if(n!==Zt&&Ot(n,t))return a[t]=4,n[t];vf&&(a[t]=0)}}const u=hs[t];let d,f;if(u)return t==="$attrs"&&Hn(e,"get",t),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==Zt&&Ot(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Ot(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return sd(r,t)?(r[t]=n,!0):o!==Zt&&Ot(o,t)?(o[t]=n,!0):Ot(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:r,propsOptions:i}},a){let s;return!!n[a]||e!==Zt&&Ot(e,a)||sd(t,a)||(s=i[0])&&Ot(s,a)||Ot(o,a)||Ot(hs,a)||Ot(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Ot(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qm(e){return ft(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vf=!0;function X3(e){const t=Yh(e),n=e.proxy,o=e.ctx;vf=!1,t.beforeCreate&&Km(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:g,deactivated:b,beforeDestroy:m,beforeUnmount:y,destroyed:k,unmounted:S,render:w,renderTracked:x,renderTriggered:C,errorCaptured:_,serverPrefetch:R,expose:E,inheritAttrs:M,components:A,directives:q,filters:F}=t;if(c&&Z3(c,o,null),a)for(const Y in a){const Q=a[Y];vt(Q)&&(o[Y]=Q.bind(n))}if(r){const Y=r.call(n,n);Yt(Y)&&(e.data=xo(Y))}if(vf=!0,i)for(const Y in i){const Q=i[Y],ce=vt(Q)?Q.bind(n,n):vt(Q.get)?Q.get.bind(n,n):Kn,le=!vt(Q)&&vt(Q.set)?Q.set.bind(n):Kn,B=L({get:ce,set:le});Object.defineProperty(o,Y,{enumerable:!0,configurable:!0,get:()=>B.value,set:$=>B.value=$})}if(s)for(const Y in s)Sy(s[Y],o,n,Y);if(l){const Y=vt(l)?l.call(n):l;Reflect.ownKeys(Y).forEach(Q=>{lt(Q,Y[Q])})}u&&Km(u,e,"c");function D(Y,Q){ft(Q)?Q.forEach(ce=>Y(ce.bind(n))):Q&&Y(Q.bind(n))}if(D(cn,d),D(Lt,f),D(wy,p),D(Gh,h),D(Kh,g),D(Kc,b),D(G3,_),D(K3,x),D(q3,C),D(rn,y),D(Ys,S),D(W3,R),ft(E))if(E.length){const Y=e.exposed||(e.exposed={});E.forEach(Q=>{Object.defineProperty(Y,Q,{get:()=>n[Q],set:ce=>n[Q]=ce})})}else e.exposed||(e.exposed={});w&&e.render===Kn&&(e.render=w),M!=null&&(e.inheritAttrs=M),A&&(e.components=A),q&&(e.directives=q)}function Z3(e,t,n=Kn){ft(e)&&(e=bf(e));for(const o in e){const r=e[o];let i;Yt(r)?"default"in r?i=qe(r.from||o,r.default,!0):i=qe(r.from||o):i=qe(r),dn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Km(e,t,n){oo(ft(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function Sy(e,t,n,o){const r=o.includes(".")?vy(n,o):()=>n[o];if(un(e)){const i=t[e];vt(i)&&ht(r,i)}else if(vt(e))ht(r,e.bind(n));else if(Yt(e))if(ft(e))e.forEach(i=>Sy(i,t,n,o));else{const i=vt(e.handler)?e.handler.bind(n):t[e.handler];vt(i)&&ht(r,i,e)}}function Yh(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!r.length&&!n&&!o?l=t:(l={},r.length&&r.forEach(c=>pc(l,c,a,!0)),pc(l,t,a)),Yt(t)&&i.set(t,l),l}function pc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&pc(e,i,n,!0),r&&r.forEach(a=>pc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=J3[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const J3={data:Gm,props:Ym,emits:Ym,methods:ls,computed:ls,beforeCreate:In,created:In,beforeMount:In,mounted:In,beforeUpdate:In,updated:In,beforeDestroy:In,beforeUnmount:In,destroyed:In,unmounted:In,activated:In,deactivated:In,errorCaptured:In,serverPrefetch:In,components:ls,directives:ls,watch:e4,provide:Gm,inject:Q3};function Gm(e,t){return t?e?function(){return gn(vt(e)?e.call(this,this):e,vt(t)?t.call(this,this):t)}:t:e}function Q3(e,t){return ls(bf(e),bf(t))}function bf(e){if(ft(e)){const t={};for(let n=0;n1)return n&&vt(t)?t.call(o&&o.proxy):t}}function o4(){return!!(_n||mn||Is)}function r4(e,t,n,o=!1){const r={},i={};cc(i,Zc,1),e.propsDefaults=Object.create(null),Ty(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:ry(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function i4(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=At(r),[l]=e.propsOptions;let c=!1;if((o||a>0)&&!(a&16)){if(a&8){const u=e.vnode.dynamicProps;for(let d=0;d{l=!0;const[f,p]=Py(d,t,!0);gn(a,f),p&&s.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Yt(e)&&o.set(e,sa),sa;if(ft(i))for(let u=0;u-1,p[1]=g<0||h-1||Ot(p,"default"))&&s.push(d)}}}const c=[a,s];return Yt(e)&&o.set(e,c),c}function Xm(e){return e[0]!=="$"}function Zm(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Jm(e,t){return Zm(e)===Zm(t)}function Qm(e,t){return ft(t)?t.findIndex(n=>Jm(n,e)):vt(t)&&Jm(t,e)?0:-1}const Ry=e=>e[0]==="_"||e==="$stable",Xh=e=>ft(e)?e.map(Io):[Io(e)],a4=(e,t,n)=>{if(t._n)return t;const o=re((...r)=>Xh(t(...r)),n);return o._c=!1,o},Ey=(e,t,n)=>{const o=e._ctx;for(const r in e){if(Ry(r))continue;const i=e[r];if(vt(i))t[r]=a4(r,i,o);else if(i!=null){const a=Xh(i);t[r]=()=>a}}},$y=(e,t)=>{const n=Xh(t);e.slots.default=()=>n},s4=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=At(t),cc(t,"_",n)):Ey(t,e.slots={})}else e.slots={},t&&$y(e,t);cc(e.slots,Zc,1)},l4=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=Zt;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(gn(r,t),!n&&s===1&&delete r._):(i=!t.$stable,Ey(t,r)),a=t}else t&&($y(e,t),a={default:1});if(i)for(const s in r)!Ry(s)&&a[s]==null&&delete r[s]};function xf(e,t,n,o,r=!1){if(ft(e)){e.forEach((f,p)=>xf(f,t&&(ft(t)?t[p]:t),n,o,r));return}if(fs(o)&&!r)return;const i=o.shapeFlag&4?Qc(o.component)||o.component.proxy:o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===Zt?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(un(c)?(u[c]=null,Ot(d,c)&&(d[c]=null)):dn(c)&&(c.value=null)),vt(l))Lr(l,s,12,[a,u]);else{const f=un(l),p=dn(l);if(f||p){const h=()=>{if(e.f){const g=f?Ot(d,l)?d[l]:u[l]:l.value;r?ft(g)&&$h(g,i):ft(g)?g.includes(i)||g.push(i):f?(u[l]=[i],Ot(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Ot(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(u[e.k]=a))};a?(h.id=-1,Nn(h,n)):h()}}}const Nn=F3;function c4(e){return u4(e)}function u4(e,t){const n=j1();n.__VUE__=!0;const{insert:o,remove:r,patchProp:i,createElement:a,createText:s,createComment:l,setText:c,setElementText:u,parentNode:d,nextSibling:f,setScopeId:p=Kn,insertStaticContent:h}=e,g=(T,P,U,oe=null,G=null,se=null,xe=void 0,be=null,Ce=!!P.dynamicChildren)=>{if(T===P)return;T&&!li(T,P)&&(oe=J(T),$(T,G,se,!0),T=null),P.patchFlag===-2&&(Ce=!1,P.dynamicChildren=null);const{type:we,ref:Re,shapeFlag:de}=P;switch(we){case Ma:b(T,P,U,oe);break;case $n:m(T,P,U,oe);break;case Zl:T==null&&y(P,U,oe,xe);break;case it:A(T,P,U,oe,G,se,xe,be,Ce);break;default:de&1?w(T,P,U,oe,G,se,xe,be,Ce):de&6?q(T,P,U,oe,G,se,xe,be,Ce):(de&64||de&128)&&we.process(T,P,U,oe,G,se,xe,be,Ce,ge)}Re!=null&&G&&xf(Re,T&&T.ref,se,P||T,!P)},b=(T,P,U,oe)=>{if(T==null)o(P.el=s(P.children),U,oe);else{const G=P.el=T.el;P.children!==T.children&&c(G,P.children)}},m=(T,P,U,oe)=>{T==null?o(P.el=l(P.children||""),U,oe):P.el=T.el},y=(T,P,U,oe)=>{[T.el,T.anchor]=h(T.children,P,U,oe,T.el,T.anchor)},k=({el:T,anchor:P},U,oe)=>{let G;for(;T&&T!==P;)G=f(T),o(T,U,oe),T=G;o(P,U,oe)},S=({el:T,anchor:P})=>{let U;for(;T&&T!==P;)U=f(T),r(T),T=U;r(P)},w=(T,P,U,oe,G,se,xe,be,Ce)=>{P.type==="svg"?xe="svg":P.type==="math"&&(xe="mathml"),T==null?x(P,U,oe,G,se,xe,be,Ce):R(T,P,G,se,xe,be,Ce)},x=(T,P,U,oe,G,se,xe,be)=>{let Ce,we;const{props:Re,shapeFlag:de,transition:ee,dirs:fe}=T;if(Ce=T.el=a(T.type,se,Re&&Re.is,Re),de&8?u(Ce,T.children):de&16&&_(T.children,Ce,null,oe,G,ld(T,se),xe,be),fe&&Qr(T,null,oe,"created"),C(Ce,T,T.scopeId,xe,oe),Re){for(const Le in Re)Le!=="value"&&!Yl(Le)&&i(Ce,Le,null,Re[Le],se,T.children,oe,G,ve);"value"in Re&&i(Ce,"value",null,Re.value,se),(we=Re.onVnodeBeforeMount)&&Ro(we,oe,T)}fe&&Qr(T,null,oe,"beforeMount");const Oe=d4(G,ee);Oe&&ee.beforeEnter(Ce),o(Ce,P,U),((we=Re&&Re.onVnodeMounted)||Oe||fe)&&Nn(()=>{we&&Ro(we,oe,T),Oe&&ee.enter(Ce),fe&&Qr(T,null,oe,"mounted")},G)},C=(T,P,U,oe,G)=>{if(U&&p(T,U),oe)for(let se=0;se{for(let we=Ce;we{const be=P.el=T.el;let{patchFlag:Ce,dynamicChildren:we,dirs:Re}=P;Ce|=T.patchFlag&16;const de=T.props||Zt,ee=P.props||Zt;let fe;if(U&&ei(U,!1),(fe=ee.onVnodeBeforeUpdate)&&Ro(fe,U,P,T),Re&&Qr(P,T,U,"beforeUpdate"),U&&ei(U,!0),we?E(T.dynamicChildren,we,be,U,oe,ld(P,G),se):xe||Q(T,P,be,null,U,oe,ld(P,G),se,!1),Ce>0){if(Ce&16)M(be,P,de,ee,U,oe,G);else if(Ce&2&&de.class!==ee.class&&i(be,"class",null,ee.class,G),Ce&4&&i(be,"style",de.style,ee.style,G),Ce&8){const Oe=P.dynamicProps;for(let Le=0;Le{fe&&Ro(fe,U,P,T),Re&&Qr(P,T,U,"updated")},oe)},E=(T,P,U,oe,G,se,xe)=>{for(let be=0;be{if(U!==oe){if(U!==Zt)for(const be in U)!Yl(be)&&!(be in oe)&&i(T,be,U[be],null,xe,P.children,G,se,ve);for(const be in oe){if(Yl(be))continue;const Ce=oe[be],we=U[be];Ce!==we&&be!=="value"&&i(T,be,we,Ce,xe,P.children,G,se,ve)}"value"in oe&&i(T,"value",U.value,oe.value,xe)}},A=(T,P,U,oe,G,se,xe,be,Ce)=>{const we=P.el=T?T.el:s(""),Re=P.anchor=T?T.anchor:s("");let{patchFlag:de,dynamicChildren:ee,slotScopeIds:fe}=P;fe&&(be=be?be.concat(fe):fe),T==null?(o(we,U,oe),o(Re,U,oe),_(P.children||[],U,Re,G,se,xe,be,Ce)):de>0&&de&64&&ee&&T.dynamicChildren?(E(T.dynamicChildren,ee,U,G,se,xe,be),(P.key!=null||G&&P===G.subTree)&&Zh(T,P,!0)):Q(T,P,U,Re,G,se,xe,be,Ce)},q=(T,P,U,oe,G,se,xe,be,Ce)=>{P.slotScopeIds=be,T==null?P.shapeFlag&512?G.ctx.activate(P,U,oe,xe,Ce):F(P,U,oe,G,se,xe,Ce):z(T,P,Ce)},F=(T,P,U,oe,G,se,xe)=>{const be=T.component=w4(T,oe,G);if(qc(T)&&(be.ctx.renderer=ge),_4(be),be.asyncDep){if(G&&G.registerDep(be,D),!T.el){const Ce=be.subTree=te($n);m(null,Ce,P,U)}}else D(be,T,P,U,G,se,xe)},z=(T,P,U)=>{const oe=P.component=T.component;if(O3(T,P,U))if(oe.asyncDep&&!oe.asyncResolved){Y(oe,P,U);return}else oe.next=P,P3(oe.update),oe.effect.dirty=!0,oe.update();else P.el=T.el,oe.vnode=P},D=(T,P,U,oe,G,se,xe)=>{const be=()=>{if(T.isMounted){let{next:Re,bu:de,u:ee,parent:fe,vnode:Oe}=T;{const Fe=Ay(T);if(Fe){Re&&(Re.el=Oe.el,Y(T,Re,xe)),Fe.asyncDep.then(()=>{T.isUnmounted||be()});return}}let Le=Re,De;ei(T,!1),Re?(Re.el=Oe.el,Y(T,Re,xe)):Re=Oe,de&&Xl(de),(De=Re.props&&Re.props.onVnodeBeforeUpdate)&&Ro(De,fe,Re,Oe),ei(T,!0);const $e=id(T),Me=T.subTree;T.subTree=$e,g(Me,$e,d(Me.el),J(Me),T,G,se),Re.el=$e.el,Le===null&&D3(T,$e.el),ee&&Nn(ee,G),(De=Re.props&&Re.props.onVnodeUpdated)&&Nn(()=>Ro(De,fe,Re,Oe),G)}else{let Re;const{el:de,props:ee}=P,{bm:fe,m:Oe,parent:Le}=T,De=fs(P);if(ei(T,!1),fe&&Xl(fe),!De&&(Re=ee&&ee.onVnodeBeforeMount)&&Ro(Re,Le,P),ei(T,!0),de&&Ne){const $e=()=>{T.subTree=id(T),Ne(de,T.subTree,T,G,null)};De?P.type.__asyncLoader().then(()=>!T.isUnmounted&&$e()):$e()}else{const $e=T.subTree=id(T);g(null,$e,U,oe,T,G,se),P.el=$e.el}if(Oe&&Nn(Oe,G),!De&&(Re=ee&&ee.onVnodeMounted)){const $e=P;Nn(()=>Ro(Re,Le,$e),G)}(P.shapeFlag&256||Le&&fs(Le.vnode)&&Le.vnode.shapeFlag&256)&&T.a&&Nn(T.a,G),T.isMounted=!0,P=U=oe=null}},Ce=T.effect=new zh(be,Kn,()=>Vh(we),T.scope),we=T.update=()=>{Ce.dirty&&Ce.run()};we.id=T.uid,ei(T,!0),we()},Y=(T,P,U)=>{P.component=T;const oe=T.vnode.props;T.vnode=P,T.next=null,i4(T,P.props,oe,U),l4(T,P.children,U),Ri(),jm(T),Ei()},Q=(T,P,U,oe,G,se,xe,be,Ce=!1)=>{const we=T&&T.children,Re=T?T.shapeFlag:0,de=P.children,{patchFlag:ee,shapeFlag:fe}=P;if(ee>0){if(ee&128){le(we,de,U,oe,G,se,xe,be,Ce);return}else if(ee&256){ce(we,de,U,oe,G,se,xe,be,Ce);return}}fe&8?(Re&16&&ve(we,G,se),de!==we&&u(U,de)):Re&16?fe&16?le(we,de,U,oe,G,se,xe,be,Ce):ve(we,G,se,!0):(Re&8&&u(U,""),fe&16&&_(de,U,oe,G,se,xe,be,Ce))},ce=(T,P,U,oe,G,se,xe,be,Ce)=>{T=T||sa,P=P||sa;const we=T.length,Re=P.length,de=Math.min(we,Re);let ee;for(ee=0;eeRe?ve(T,G,se,!0,!1,de):_(P,U,oe,G,se,xe,be,Ce,de)},le=(T,P,U,oe,G,se,xe,be,Ce)=>{let we=0;const Re=P.length;let de=T.length-1,ee=Re-1;for(;we<=de&&we<=ee;){const fe=T[we],Oe=P[we]=Ce?$r(P[we]):Io(P[we]);if(li(fe,Oe))g(fe,Oe,U,null,G,se,xe,be,Ce);else break;we++}for(;we<=de&&we<=ee;){const fe=T[de],Oe=P[ee]=Ce?$r(P[ee]):Io(P[ee]);if(li(fe,Oe))g(fe,Oe,U,null,G,se,xe,be,Ce);else break;de--,ee--}if(we>de){if(we<=ee){const fe=ee+1,Oe=feee)for(;we<=de;)$(T[we],G,se,!0),we++;else{const fe=we,Oe=we,Le=new Map;for(we=Oe;we<=ee;we++){const X=P[we]=Ce?$r(P[we]):Io(P[we]);X.key!=null&&Le.set(X.key,we)}let De,$e=0;const Me=ee-Oe+1;let Fe=!1,Be=0;const ot=new Array(Me);for(we=0;we=Me){$(X,G,se,!0);continue}let pe;if(X.key!=null)pe=Le.get(X.key);else for(De=Oe;De<=ee;De++)if(ot[De-Oe]===0&&li(X,P[De])){pe=De;break}pe===void 0?$(X,G,se,!0):(ot[pe-Oe]=we+1,pe>=Be?Be=pe:Fe=!0,g(X,P[pe],U,null,G,se,xe,be,Ce),$e++)}const xt=Fe?f4(ot):sa;for(De=xt.length-1,we=Me-1;we>=0;we--){const X=Oe+we,pe=P[X],Te=X+1{const{el:se,type:xe,transition:be,children:Ce,shapeFlag:we}=T;if(we&6){B(T.component.subTree,P,U,oe);return}if(we&128){T.suspense.move(P,U,oe);return}if(we&64){xe.move(T,P,U,ge);return}if(xe===it){o(se,P,U);for(let de=0;debe.enter(se),G);else{const{leave:de,delayLeave:ee,afterLeave:fe}=be,Oe=()=>o(se,P,U),Le=()=>{de(se,()=>{Oe(),fe&&fe()})};ee?ee(se,Oe,Le):Le()}else o(se,P,U)},$=(T,P,U,oe=!1,G=!1)=>{const{type:se,props:xe,ref:be,children:Ce,dynamicChildren:we,shapeFlag:Re,patchFlag:de,dirs:ee}=T;if(be!=null&&xf(be,null,U,T,!0),Re&256){P.ctx.deactivate(T);return}const fe=Re&1&&ee,Oe=!fs(T);let Le;if(Oe&&(Le=xe&&xe.onVnodeBeforeUnmount)&&Ro(Le,P,T),Re&6)ne(T.component,U,oe);else{if(Re&128){T.suspense.unmount(U,oe);return}fe&&Qr(T,null,P,"beforeUnmount"),Re&64?T.type.remove(T,P,U,G,ge,oe):we&&(se!==it||de>0&&de&64)?ve(we,P,U,!1,!0):(se===it&&de&384||!G&&Re&16)&&ve(Ce,P,U),oe&&I(T)}(Oe&&(Le=xe&&xe.onVnodeUnmounted)||fe)&&Nn(()=>{Le&&Ro(Le,P,T),fe&&Qr(T,null,P,"unmounted")},U)},I=T=>{const{type:P,el:U,anchor:oe,transition:G}=T;if(P===it){K(U,oe);return}if(P===Zl){S(T);return}const se=()=>{r(U),G&&!G.persisted&&G.afterLeave&&G.afterLeave()};if(T.shapeFlag&1&&G&&!G.persisted){const{leave:xe,delayLeave:be}=G,Ce=()=>xe(U,se);be?be(T.el,se,Ce):Ce()}else se()},K=(T,P)=>{let U;for(;T!==P;)U=f(T),r(T),T=U;r(P)},ne=(T,P,U)=>{const{bum:oe,scope:G,update:se,subTree:xe,um:be}=T;oe&&Xl(oe),G.stop(),se&&(se.active=!1,$(xe,T,P,U)),be&&Nn(be,P),Nn(()=>{T.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},ve=(T,P,U,oe=!1,G=!1,se=0)=>{for(let xe=se;xeT.shapeFlag&6?J(T.component.subTree):T.shapeFlag&128?T.suspense.next():f(T.anchor||T.el);let ye=!1;const j=(T,P,U)=>{T==null?P._vnode&&$(P._vnode,null,null,!0):g(P._vnode||null,T,P,null,null,null,U),ye||(ye=!0,jm(),fy(),ye=!1),P._vnode=T},ge={p:g,um:$,m:B,r:I,mt:F,mc:_,pc:Q,pbc:E,n:J,o:e};let Ee,Ne;return t&&([Ee,Ne]=t(ge)),{render:j,hydrate:Ee,createApp:n4(j,Ee)}}function ld({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ei({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function d4(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zh(e,t,n=!1){const o=e.children,r=t.children;if(ft(o)&&ft(r))for(let i=0;i>1,e[n[s]]0&&(t[o]=n[i-1]),n[i]=o)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}function Ay(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ay(t)}const h4=e=>e.__isTeleport,ps=e=>e&&(e.disabled||e.disabled===""),eg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,tg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Cf=(e,t)=>{const n=e&&e.to;return un(n)?t?t(n):null:n},p4={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:g,createComment:b}}=c,m=ps(t.props);let{shapeFlag:y,children:k,dynamicChildren:S}=t;if(e==null){const w=t.el=g(""),x=t.anchor=g("");p(w,n,o),p(x,n,o);const C=t.target=Cf(t.props,h),_=t.targetAnchor=g("");C&&(p(_,C),a==="svg"||eg(C)?a="svg":(a==="mathml"||tg(C))&&(a="mathml"));const R=(E,M)=>{y&16&&u(k,E,M,r,i,a,s,l)};m?R(n,x):C&&R(C,_)}else{t.el=e.el;const w=t.anchor=e.anchor,x=t.target=e.target,C=t.targetAnchor=e.targetAnchor,_=ps(e.props),R=_?n:x,E=_?w:C;if(a==="svg"||eg(x)?a="svg":(a==="mathml"||tg(x))&&(a="mathml"),S?(f(e.dynamicChildren,S,R,r,i,a,s),Zh(e,t,!0)):l||d(e,t,R,E,r,i,a,s,!1),m)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):_l(t,n,w,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const M=t.target=Cf(t.props,h);M&&_l(t,M,null,c,0)}else _&&_l(t,x,C,c,1)}Iy(t)},remove(e,t,n,o,{um:r,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:c,targetAnchor:u,target:d,props:f}=e;if(d&&i(u),a&&i(c),s&16){const p=a||!ps(f);for(let h=0;h0?vo||sa:null,g4(),Ms>0&&vo&&vo.push(e),e}function ze(e,t,n,o,r,i){return My(H(e,t,n,o,r,i,!0))}function We(e,t,n,o,r){return My(te(e,t,n,o,r,!0))}function zs(e){return e?e.__v_isVNode===!0:!1}function li(e,t){return e.type===t.type&&e.key===t.key}const Zc="__vInternal",zy=({key:e})=>e??null,Jl=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?un(e)||dn(e)||vt(e)?{i:mn,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,o=0,r=null,i=e===it?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zy(t),ref:t&&Jl(t),scopeId:Uc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:mn};return s?(Jh(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=un(n)?8:16),Ms>0&&!a&&vo&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&vo.push(l),l}const te=v4;function v4(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===my)&&(e=$n),zs(e)){const s=ao(e,t,!0);return n&&Jh(s,n),Ms>0&&!i&&vo&&(s.shapeFlag&6?vo[vo.indexOf(e)]=s:vo.push(s)),s.patchFlag|=-2,s}if(R4(e)&&(e=e.__vccOpts),t){t=b4(t);let{class:s,style:l}=t;s&&!un(s)&&(t.class=ar(s)),Yt(l)&&(iy(l)&&!ft(l)&&(l=gn({},l)),t.style=Ho(l))}const a=un(e)?1:L3(e)?128:h4(e)?64:Yt(e)?4:vt(e)?2:0;return H(e,t,n,o,r,a,i,!0)}function b4(e){return e?iy(e)||Zc in e?gn({},e):e:null}function ao(e,t,n=!1){const{props:o,ref:r,patchFlag:i,children:a}=e,s=t?Dn(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&zy(s),ref:t&&t.ref?n&&r?ft(r)?r.concat(Jl(t)):[r,Jl(t)]:Jl(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==it?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ao(e.ssContent),ssFallback:e.ssFallback&&ao(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Je(e=" ",t=0){return te(Ma,null,e,t)}function y4(e,t){const n=te(Zl,null,e);return n.staticCount=t,n}function ut(e="",t=!1){return t?(ue(),We($n,null,e)):te($n,null,e)}function Io(e){return e==null||typeof e=="boolean"?te($n):ft(e)?te(it,null,e.slice()):typeof e=="object"?$r(e):te(Ma,null,String(e))}function $r(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ao(e)}function Jh(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ft(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Jh(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Zc in t)?t._ctx=mn:r===3&&mn&&(mn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else vt(t)?(t={default:t,_ctx:mn},n=32):(t=String(t),o&64?(n=16,t=[Je(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dn(...e){const t={};for(let n=0;n_n||mn;let mc,wf;{const e=j1(),t=(n,o)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(o),i=>{r.length>1?r.forEach(a=>a(i)):r[0](i)}};mc=t("__VUE_INSTANCE_SETTERS__",n=>_n=n),wf=t("__VUE_SSR_SETTERS__",n=>Jc=n)}const Xs=e=>{const t=_n;return mc(e),e.scope.on(),()=>{e.scope.off(),mc(t)}},og=()=>{_n&&_n.scope.off(),mc(null)};function Oy(e){return e.vnode.shapeFlag&4}let Jc=!1;function _4(e,t=!1){t&&wf(t);const{props:n,children:o}=e.vnode,r=Oy(e);r4(e,n,r,t),s4(e,o);const i=r?S4(e,t):void 0;return t&&wf(!1),i}function S4(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ga(new Proxy(e.ctx,Y3));const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?T4(e):null,i=Xs(e);Ri();const a=Lr(o,e,0,[e.props,r]);if(Ei(),i(),N1(a)){if(a.then(og,og),t)return a.then(s=>{rg(e,s,t)}).catch(s=>{jc(s,e,0)});e.asyncDep=a}else rg(e,a,t)}else Dy(e,t)}function rg(e,t,n){vt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Yt(t)&&(e.setupState=ly(t)),Dy(e,n)}let ig;function Dy(e,t,n){const o=e.type;if(!e.render){if(!t&&ig&&!o.render){const r=o.template||Yh(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=gn(gn({isCustomElement:i,delimiters:s},a),l);o.render=ig(r,c)}}e.render=o.render||Kn}{const r=Xs(e);Ri();try{X3(e)}finally{Ei(),r()}}}function k4(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Hn(e,"get","$attrs"),t[n]}}))}function T4(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return k4(e)},slots:e.slots,emit:e.emit,expose:t}}function Qc(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ly(ga(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in hs)return hs[n](e)},has(t,n){return n in t||n in hs}}))}function P4(e,t=!0){return vt(e)?e.displayName||e.name:e.name||t&&e.__name}function R4(e){return vt(e)&&"__vccOpts"in e}const L=(e,t)=>v3(e,t,Jc);function v(e,t,n){const o=arguments.length;return o===2?Yt(t)&&!ft(t)?zs(t)?te(e,null,[t]):te(e,t):te(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&zs(n)&&(n=[n]),te(e,t,n))}const E4="3.4.7",$4="http://www.w3.org/2000/svg",A4="http://www.w3.org/1998/Math/MathML",Ar=typeof document<"u"?document:null,ag=Ar&&Ar.createElement("template"),I4={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t==="svg"?Ar.createElementNS($4,e):t==="mathml"?Ar.createElementNS(A4,e):Ar.createElement(e,n?{is:n}:void 0);return e==="select"&&o&&o.multiple!=null&&r.setAttribute("multiple",o.multiple),r},createText:e=>Ar.createTextNode(e),createComment:e=>Ar.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ar.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,o,r,i){const a=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{ag.innerHTML=o==="svg"?`${e}`:o==="mathml"?`${e}`:e;const s=ag.content;if(o==="svg"||o==="mathml"){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},yr="transition",Ja="animation",va=Symbol("_vtc"),hn=(e,{slots:t})=>v(V3,Fy(e),t);hn.displayName="Transition";const Ly={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},M4=hn.props=gn({},yy,Ly),ti=(e,t=[])=>{ft(e)?e.forEach(n=>n(...t)):e&&e(...t)},sg=e=>e?ft(e)?e.some(t=>t.length>1):e.length>1:!1;function Fy(e){const t={};for(const A in e)A in Ly||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:o,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=a,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=z4(r),g=h&&h[0],b=h&&h[1],{onBeforeEnter:m,onEnter:y,onEnterCancelled:k,onLeave:S,onLeaveCancelled:w,onBeforeAppear:x=m,onAppear:C=y,onAppearCancelled:_=k}=t,R=(A,q,F)=>{Tr(A,q?u:s),Tr(A,q?c:a),F&&F()},E=(A,q)=>{A._isLeaving=!1,Tr(A,d),Tr(A,p),Tr(A,f),q&&q()},M=A=>(q,F)=>{const z=A?C:y,D=()=>R(q,A,F);ti(z,[q,D]),lg(()=>{Tr(q,A?l:i),nr(q,A?u:s),sg(z)||cg(q,o,g,D)})};return gn(t,{onBeforeEnter(A){ti(m,[A]),nr(A,i),nr(A,a)},onBeforeAppear(A){ti(x,[A]),nr(A,l),nr(A,c)},onEnter:M(!1),onAppear:M(!0),onLeave(A,q){A._isLeaving=!0;const F=()=>E(A,q);nr(A,d),By(),nr(A,f),lg(()=>{A._isLeaving&&(Tr(A,d),nr(A,p),sg(S)||cg(A,o,b,F))}),ti(S,[A,F])},onEnterCancelled(A){R(A,!1),ti(k,[A])},onAppearCancelled(A){R(A,!0),ti(_,[A])},onLeaveCancelled(A){E(A),ti(w,[A])}})}function z4(e){if(e==null)return null;if(Yt(e))return[cd(e.enter),cd(e.leave)];{const t=cd(e);return[t,t]}}function cd(e){return Vk(e)}function nr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[va]||(e[va]=new Set)).add(t)}function Tr(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[va];n&&(n.delete(t),n.size||(e[va]=void 0))}function lg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let O4=0;function cg(e,t,n,o){const r=e._endId=++O4,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Ny(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=p=>{p.target===e&&++u>=l&&d()};setTimeout(()=>{u(n[h]||"").split(", "),r=o(`${yr}Delay`),i=o(`${yr}Duration`),a=ug(r,i),s=o(`${Ja}Delay`),l=o(`${Ja}Duration`),c=ug(s,l);let u=null,d=0,f=0;t===yr?a>0&&(u=yr,d=a,f=i.length):t===Ja?c>0&&(u=Ja,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?yr:Ja:null,f=u?u===yr?i.length:l.length:0);const p=u===yr&&/\b(transform|all)(,|$)/.test(o(`${yr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:p}}function ug(e,t){for(;e.lengthdg(n)+dg(e[o])))}function dg(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function By(){return document.body.offsetHeight}function D4(e,t,n){const o=e[va];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qh=Symbol("_vod"),Jn={beforeMount(e,{value:t},{transition:n}){e[Qh]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Qa(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Qa(e,!0),o.enter(e)):o.leave(e,()=>{Qa(e,!1)}):Qa(e,t))},beforeUnmount(e,{value:t}){Qa(e,t)}};function Qa(e,t){e.style.display=t?e[Qh]:"none"}const L4=Symbol("");function F4(e,t,n){const o=e.style,r=un(n);if(n&&!r){if(t&&!un(t))for(const i in t)n[i]==null&&_f(o,i,"");for(const i in n)_f(o,i,n[i])}else{const i=o.display;if(r){if(t!==n){const a=o[L4];a&&(n+=";"+a),o.cssText=n}}else t&&e.removeAttribute("style");Qh in e&&(o.display=i)}}const fg=/\s*!important$/;function _f(e,t,n){if(ft(n))n.forEach(o=>_f(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=N4(e,t);fg.test(n)?e.setProperty(Pi(o),n.replace(fg,""),"important"):e[o]=n}}const hg=["Webkit","Moz","ms"],ud={};function N4(e,t){const n=ud[t];if(n)return n;let o=Bo(t);if(o!=="filter"&&o in e)return ud[t]=o;o=Bc(o);for(let r=0;rdd||(W4.then(()=>dd=0),dd=Date.now());function K4(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;oo(G4(o,n.value),t,5,[o])};return n.value=e,n.attached=q4(),n}function G4(e,t){if(ft(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(o=>r=>!r._stopped&&o&&o(r))}else return t}const vg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Y4=(e,t,n,o,r,i,a,s,l)=>{const c=r==="svg";t==="class"?D4(e,o,c):t==="style"?F4(e,n,o):Lc(t)?Eh(t)||V4(e,t,n,o,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):X4(e,t,o,c))?H4(e,t,o,i,a,s,l):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),B4(e,t,o,c))};function X4(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&vg(t)&&vt(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return vg(t)&&un(n)?!1:t in e}const Hy=new WeakMap,jy=new WeakMap,gc=Symbol("_moveCb"),bg=Symbol("_enterCb"),Vy={name:"TransitionGroup",props:gn({},M4,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zn(),o=by();let r,i;return Gh(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!n5(r[0].el,n.vnode.el,a))return;r.forEach(Q4),r.forEach(e5);const s=r.filter(t5);By(),s.forEach(l=>{const c=l.el,u=c.style;nr(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[gc]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[gc]=null,Tr(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=At(e),s=Fy(a);let l=a.tag||it;r=i,i=t.default?qh(t.default()):[];for(let c=0;cdelete e.mode;Vy.props;const J4=Vy;function Q4(e){const t=e.el;t[gc]&&t[gc](),t[bg]&&t[bg]()}function e5(e){jy.set(e,e.el.getBoundingClientRect())}function t5(e){const t=Hy.get(e),n=jy.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${o}px,${r}px)`,i.transitionDuration="0s",e}}function n5(e,t,n){const o=e.cloneNode(),r=e[va];r&&r.forEach(s=>{s.split(/\s+/).forEach(l=>l&&o.classList.remove(l))}),n.split(/\s+/).forEach(s=>s&&o.classList.add(s)),o.style.display="none";const i=t.nodeType===1?t:t.parentNode;i.appendChild(o);const{hasTransform:a}=Ny(o);return i.removeChild(o),a}const yg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ft(t)?n=>Xl(t,n):t};function o5(e){e.target.composing=!0}function xg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const fd=Symbol("_assign"),r5={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[fd]=yg(r);const i=o||r.props&&r.props.type==="number";ta(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=df(s)),e[fd](s)}),n&&ta(e,"change",()=>{e.value=e.value.trim()}),t||(ta(e,"compositionstart",o5),ta(e,"compositionend",xg),ta(e,"change",xg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:o,number:r}},i){if(e[fd]=yg(i),e.composing)return;const a=r||e.type==="number"?df(e.value):e.value,s=t??"";a!==s&&(document.activeElement===e&&e.type!=="range"&&(n||o&&e.value.trim()===s)||(e.value=s))}},i5=["ctrl","shift","alt","meta"],a5={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>i5.some(n=>e[`${n}Key`]&&!t.includes(n))},s5=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Pi(r.key);if(t.some(a=>a===i||l5[a]===i))return e(r)})},c5=gn({patchProp:Y4},I4);let Cg;function u5(){return Cg||(Cg=c4(c5))}const Uy=(...e)=>{const t=u5().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=f5(o);if(!r)return;const i=t._component;!vt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,d5(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function d5(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function f5(e){return un(e)?document.querySelector(e):e}/*! * vue-router v4.2.5 * (c) 2023 Eduardo San Martin Morote * @license MIT - */const na=typeof window<"u";function d5(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const jt=Object.assign;function fd(e,t){const n={};for(const o in t){const r=t[o];n[o]=Co(r)?r.map(e):e(r)}return n}const gs=()=>{},Co=Array.isArray,f5=/\/$/,h5=e=>e.replace(f5,"");function hd(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=v5(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function p5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function m5(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&ya(t.matched[o],n.matched[r])&&Jy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ya(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Jy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!g5(e[n],t[n]))return!1;return!0}function g5(e,t){return Co(e)?_g(e,t):Co(t)?_g(t,e):e===t}function _g(e,t){return Co(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function v5(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Os;(function(e){e.pop="pop",e.push="push"})(Os||(Os={}));var vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vs||(vs={}));function b5(e){if(!e)if(na){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),h5(e)}const y5=/^[^#]+#/;function x5(e,t){return e.replace(y5,"#")+t}function C5(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const eu=()=>({left:window.pageXOffset,top:window.pageYOffset});function w5(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=C5(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Sg(e,t){return(history.state?history.state.position-t:-1)+e}const _f=new Map;function _5(e,t){_f.set(e,t)}function S5(e){const t=_f.get(e);return _f.delete(e),t}let k5=()=>location.protocol+"//"+location.host;function Qy(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),wg(l,"")}return wg(n,e)+o+r}function T5(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=Qy(e,location),h=n.value,g=t.value;let b=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}b=g?f.position-g.position:0}else o(p);r.forEach(m=>{m(n.value,h,{delta:b,type:Os.pop,direction:b?b>0?vs.forward:vs.back:vs.unknown})})};function l(){a=n.value}function c(f){r.push(f);const p=()=>{const h=r.indexOf(f);h>-1&&r.splice(h,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(jt({},f.state,{scroll:eu()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function kg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?eu():null}}function P5(e){const{history:t,location:n}=window,o={value:Qy(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:k5()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function a(l,c){const u=jt({},t.state,kg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=jt({},r.value,t.state,{forward:l,scroll:eu()});i(u.current,u,!0);const d=jt({},kg(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function R5(e){e=b5(e);const t=P5(e),n=T5(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=jt({location:"",base:e,go:o,createHref:x5.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function E5(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),R5(e)}function $5(e){return typeof e=="string"||e&&typeof e=="object"}function ex(e){return typeof e=="string"||typeof e=="symbol"}const xr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},tx=Symbol("");var Tg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Tg||(Tg={}));function xa(e,t){return jt(new Error,{type:e,[tx]:!0},t)}function Jo(e,t){return e instanceof Error&&tx in e&&(t==null||!!(e.type&t))}const Pg="[^/]+?",A5={sensitive:!1,strict:!1,start:!0,end:!0},I5=/[.+*?^${}()[\]/\\]/g;function M5(e,t){const n=jt({},A5,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function O5(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const D5={type:0,value:""},L5=/[a-zA-Z0-9_]/;function F5(e){if(!e)return[[]];if(e==="/")return[[D5]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s{a(y)}:gs}function a(u){if(ex(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!nx(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!$g(u)&&o.set(u.record.name,u)}function c(u,d){let f,p={},h,g;if("name"in u&&u.name){if(f=o.get(u.name),!f)throw xa(1,{location:u});g=f.record.name,p=jt(Eg(d.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Eg(u.params,f.keys.map(y=>y.name))),h=f.stringify(p)}else if("path"in u)h=u.path,f=n.find(y=>y.re.test(h)),f&&(p=f.parse(h),g=f.record.name);else{if(f=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!f)throw xa(1,{location:u,currentLocation:d});g=f.record.name,p=jt({},d.params,u.params),h=f.stringify(p)}const b=[];let m=f;for(;m;)b.unshift(m.record),m=m.parent;return{name:g,path:h,params:p,matched:b,meta:V5(b)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Eg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function H5(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:j5(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function j5(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function $g(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function V5(e){return e.reduce((t,n)=>jt(t,n.meta),{})}function Ag(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function nx(e,t){return t.children.some(n=>n===e||nx(e,n))}const ox=/#/g,U5=/&/g,W5=/\//g,q5=/=/g,K5=/\?/g,rx=/\+/g,G5=/%5B/g,Y5=/%5D/g,ix=/%5E/g,X5=/%60/g,ax=/%7B/g,Z5=/%7C/g,sx=/%7D/g,J5=/%20/g;function ep(e){return encodeURI(""+e).replace(Z5,"|").replace(G5,"[").replace(Y5,"]")}function Q5(e){return ep(e).replace(ax,"{").replace(sx,"}").replace(ix,"^")}function Sf(e){return ep(e).replace(rx,"%2B").replace(J5,"+").replace(ox,"%23").replace(U5,"%26").replace(X5,"`").replace(ax,"{").replace(sx,"}").replace(ix,"^")}function eT(e){return Sf(e).replace(q5,"%3D")}function tT(e){return ep(e).replace(ox,"%23").replace(K5,"%3F")}function nT(e){return e==null?"":tT(e).replace(W5,"%2F")}function vc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function oT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&Sf(i)):[o&&Sf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function rT(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Co(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const iT=Symbol(""),Mg=Symbol(""),tu=Symbol(""),tp=Symbol(""),kf=Symbol("");function es(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ir(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(xa(4,{from:n,to:t})):d instanceof Error?s(d):$5(d)?s(xa(2,{from:t,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>s(d))})}function pd(e,t,n,o){const r=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(aT(s)){const c=(s.__vccOpts||s)[t];c&&r.push(Ir(c,n,o,i,a))}else{let l=s();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=d5(c)?c.default:c;i.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&Ir(f,n,o,i,a)()}))}}return r}function aT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zg(e){const t=qe(tu),n=qe(tp),o=L(()=>t.resolve(he(e.to))),r=L(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(ya.bind(null,u));if(f>-1)return f;const p=Og(l[c-2]);return c>1&&Og(u)===p&&d[d.length-1].path!==p?d.findIndex(ya.bind(null,l[c-2])):f}),i=L(()=>r.value>-1&&uT(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&Jy(n.params,o.value.params));function s(l={}){return cT(l)?t[he(e.replace)?"replace":"push"](he(e.to)).catch(gs):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const sT=me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zg,setup(e,{slots:t}){const n=xo(zg(e)),{options:o}=qe(tu),r=L(()=>({[Dg(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Dg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:v("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),lT=sT;function cT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function uT(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Co(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Og(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Dg=(e,t,n)=>e??t??n,dT=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=qe(kf),r=L(()=>e.route||o.value),i=qe(Mg,0),a=L(()=>{let c=he(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=L(()=>r.value.matched[a.value]);lt(Mg,L(()=>a.value+1)),lt(iT,s),lt(kf,r);const l=N();return ht(()=>[l.value,s.value,e.name],([c,u,d],[f,p,h])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!ya(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Lg(n.default,{Component:f,route:c});const p=d.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=v(f,jt({},h,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Lg(n.default,{Component:b,route:c})||b}}});function Lg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const fT=dT;function hT(e){const t=B5(e.routes,e),n=e.parseQuery||oT,o=e.stringifyQuery||Ig,r=e.history,i=es(),a=es(),s=es(),l=Aa(xr);let c=xr;na&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=fd.bind(null,J=>""+J),d=fd.bind(null,nT),f=fd.bind(null,vc);function p(J,ye){let j,ge;return ex(J)?(j=t.getRecordMatcher(J),ge=ye):ge=J,t.addRoute(ge,j)}function h(J){const ye=t.getRecordMatcher(J);ye&&t.removeRoute(ye)}function g(){return t.getRoutes().map(J=>J.record)}function b(J){return!!t.getRecordMatcher(J)}function m(J,ye){if(ye=jt({},ye||l.value),typeof J=="string"){const P=hd(n,J,ye.path),U=t.resolve({path:P.path},ye),oe=r.createHref(P.fullPath);return jt(P,U,{params:f(U.params),hash:vc(P.hash),redirectedFrom:void 0,href:oe})}let j;if("path"in J)j=jt({},J,{path:hd(n,J.path,ye.path).path});else{const P=jt({},J.params);for(const U in P)P[U]==null&&delete P[U];j=jt({},J,{params:d(P)}),ye.params=d(ye.params)}const ge=t.resolve(j,ye),Ee=J.hash||"";ge.params=u(f(ge.params));const Ne=p5(o,jt({},J,{hash:Q5(Ee),path:ge.path})),T=r.createHref(Ne);return jt({fullPath:Ne,hash:Ee,query:o===Ig?rT(J.query):J.query||{}},ge,{redirectedFrom:void 0,href:T})}function y(J){return typeof J=="string"?hd(n,J,l.value.path):jt({},J)}function k(J,ye){if(c!==J)return xa(8,{from:ye,to:J})}function S(J){return C(J)}function w(J){return S(jt(y(J),{replace:!0}))}function x(J){const ye=J.matched[J.matched.length-1];if(ye&&ye.redirect){const{redirect:j}=ye;let ge=typeof j=="function"?j(J):j;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=y(ge):{path:ge},ge.params={}),jt({query:J.query,hash:J.hash,params:"path"in ge?{}:J.params},ge)}}function C(J,ye){const j=c=m(J),ge=l.value,Ee=J.state,Ne=J.force,T=J.replace===!0,P=x(j);if(P)return C(jt(y(P),{state:typeof P=="object"?jt({},Ee,P.state):Ee,force:Ne,replace:T}),ye||j);const U=j;U.redirectedFrom=ye;let oe;return!Ne&&m5(o,ge,j)&&(oe=xa(16,{to:U,from:ge}),B(ge,ge,!0,!1)),(oe?Promise.resolve(oe):E(U,ge)).catch(G=>Jo(G)?Jo(G,2)?G:le(G):Q(G,U,ge)).then(G=>{if(G){if(Jo(G,2))return C(jt({replace:T},y(G.to),{state:typeof G.to=="object"?jt({},Ee,G.to.state):Ee,force:Ne}),ye||U)}else G=A(U,ge,!0,T,Ee);return M(U,ge,G),G})}function _(J,ye){const j=k(J,ye);return j?Promise.reject(j):Promise.resolve()}function R(J){const ye=K.values().next().value;return ye&&typeof ye.runWithContext=="function"?ye.runWithContext(J):J()}function E(J,ye){let j;const[ge,Ee,Ne]=pT(J,ye);j=pd(ge.reverse(),"beforeRouteLeave",J,ye);for(const P of ge)P.leaveGuards.forEach(U=>{j.push(Ir(U,J,ye))});const T=_.bind(null,J,ye);return j.push(T),ve(j).then(()=>{j=[];for(const P of i.list())j.push(Ir(P,J,ye));return j.push(T),ve(j)}).then(()=>{j=pd(Ee,"beforeRouteUpdate",J,ye);for(const P of Ee)P.updateGuards.forEach(U=>{j.push(Ir(U,J,ye))});return j.push(T),ve(j)}).then(()=>{j=[];for(const P of Ne)if(P.beforeEnter)if(Co(P.beforeEnter))for(const U of P.beforeEnter)j.push(Ir(U,J,ye));else j.push(Ir(P.beforeEnter,J,ye));return j.push(T),ve(j)}).then(()=>(J.matched.forEach(P=>P.enterCallbacks={}),j=pd(Ne,"beforeRouteEnter",J,ye),j.push(T),ve(j))).then(()=>{j=[];for(const P of a.list())j.push(Ir(P,J,ye));return j.push(T),ve(j)}).catch(P=>Jo(P,8)?P:Promise.reject(P))}function M(J,ye,j){s.list().forEach(ge=>R(()=>ge(J,ye,j)))}function A(J,ye,j,ge,Ee){const Ne=k(J,ye);if(Ne)return Ne;const T=ye===xr,P=na?history.state:{};j&&(ge||T?r.replace(J.fullPath,jt({scroll:T&&P&&P.scroll},Ee)):r.push(J.fullPath,Ee)),l.value=J,B(J,ye,j,T),le()}let q;function F(){q||(q=r.listen((J,ye,j)=>{if(!ne.listening)return;const ge=m(J),Ee=x(ge);if(Ee){C(jt(Ee,{replace:!0}),ge).catch(gs);return}c=ge;const Ne=l.value;na&&_5(Sg(Ne.fullPath,j.delta),eu()),E(ge,Ne).catch(T=>Jo(T,12)?T:Jo(T,2)?(C(T.to,ge).then(P=>{Jo(P,20)&&!j.delta&&j.type===Os.pop&&r.go(-1,!1)}).catch(gs),Promise.reject()):(j.delta&&r.go(-j.delta,!1),Q(T,ge,Ne))).then(T=>{T=T||A(ge,Ne,!1),T&&(j.delta&&!Jo(T,8)?r.go(-j.delta,!1):j.type===Os.pop&&Jo(T,20)&&r.go(-1,!1)),M(ge,Ne,T)}).catch(gs)}))}let z=es(),D=es(),Y;function Q(J,ye,j){le(J);const ge=D.list();return ge.length?ge.forEach(Ee=>Ee(J,ye,j)):console.error(J),Promise.reject(J)}function ce(){return Y&&l.value!==xr?Promise.resolve():new Promise((J,ye)=>{z.add([J,ye])})}function le(J){return Y||(Y=!J,F(),z.list().forEach(([ye,j])=>J?j(J):ye()),z.reset()),J}function B(J,ye,j,ge){const{scrollBehavior:Ee}=e;if(!na||!Ee)return Promise.resolve();const Ne=!j&&S5(Sg(J.fullPath,0))||(ge||!j)&&history.state&&history.state.scroll||null;return Ht().then(()=>Ee(J,ye,Ne)).then(T=>T&&w5(T)).catch(T=>Q(T,J,ye))}const $=J=>r.go(J);let I;const K=new Set,ne={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:m,options:e,push:S,replace:w,go:$,back:()=>$(-1),forward:()=>$(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:D.add,isReady:ce,install(J){const ye=this;J.component("RouterLink",lT),J.component("RouterView",fT),J.config.globalProperties.$router=ye,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>he(l)}),na&&!I&&l.value===xr&&(I=!0,S(r.location).catch(Ee=>{}));const j={};for(const Ee in xr)Object.defineProperty(j,Ee,{get:()=>l.value[Ee],enumerable:!0});J.provide(tu,ye),J.provide(tp,dy(j)),J.provide(kf,l);const ge=J.unmount;K.add(J),J.unmount=function(){K.delete(J),K.size<1&&(c=xr,q&&q(),q=null,l.value=xr,I=!1,Y=!1),ge()}}};function ve(J){return J.reduce((ye,j)=>ye.then(()=>R(j)),Promise.resolve())}return ne}function pT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aya(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>ya(c,l))||r.push(l))}return[n,o,r]}function nu(){return qe(tu)}function $i(){return qe(tp)}const mT="modulepreload",gT=function(e){return"/"+e},Fg={},Ct=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=gT(i),i in Fg)return;Fg[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":mT,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},vT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),bT={name:"dashboard",path:"/",component:vT,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>Ct(()=>Promise.resolve().then(()=>LOe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},yT=Object.freeze(Object.defineProperty({__proto__:null,default:bT},Symbol.toStringTag,{value:"Module"})),xT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),CT={name:"Invite",path:"/",component:xT,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>Ct(()=>Promise.resolve().then(()=>yDe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},wT=Object.freeze(Object.defineProperty({__proto__:null,default:CT},Symbol.toStringTag,{value:"Module"})),_T=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),ST={name:"knowledge",path:"/",component:_T,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>Ct(()=>Promise.resolve().then(()=>kDe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},kT=Object.freeze(Object.defineProperty({__proto__:null,default:ST},Symbol.toStringTag,{value:"Module"})),TT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),PT={name:"Node",path:"/",component:TT,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>Ct(()=>Promise.resolve().then(()=>qDe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},RT=Object.freeze(Object.defineProperty({__proto__:null,default:PT},Symbol.toStringTag,{value:"Module"})),ET=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),$T={name:"Order",path:"/",component:ET,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>Ct(()=>Promise.resolve().then(()=>GDe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>Ct(()=>Promise.resolve().then(()=>k9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},AT=Object.freeze(Object.defineProperty({__proto__:null,default:$T},Symbol.toStringTag,{value:"Module"})),IT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),MT={name:"plan",path:"/",component:IT,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>Ct(()=>Promise.resolve().then(()=>G9e),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>Ct(()=>Promise.resolve().then(()=>_Fe),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},zT=Object.freeze(Object.defineProperty({__proto__:null,default:MT},Symbol.toStringTag,{value:"Module"})),OT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),DT={name:"profile",path:"/",component:OT,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>Ct(()=>Promise.resolve().then(()=>KFe),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},LT=Object.freeze(Object.defineProperty({__proto__:null,default:DT},Symbol.toStringTag,{value:"Module"})),FT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),NT={name:"ticket",path:"/",component:FT,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>Ct(()=>Promise.resolve().then(()=>XFe),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>Ct(()=>Promise.resolve().then(()=>t7e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},BT=Object.freeze(Object.defineProperty({__proto__:null,default:NT},Symbol.toStringTag,{value:"Module"})),HT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),jT={name:"traffic",path:"/",component:HT,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>Ct(()=>Promise.resolve().then(()=>o7e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},VT=Object.freeze(Object.defineProperty({__proto__:null,default:jT},Symbol.toStringTag,{value:"Module"})),lx=[{name:"404",path:"/404",component:()=>Ct(()=>Promise.resolve().then(()=>l7e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>Ct(()=>Promise.resolve().then(()=>M7e),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>Ct(()=>Promise.resolve().then(()=>eNe),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>Ct(()=>Promise.resolve().then(()=>bNe),void 0),meta:{title:"重置密码",isHidden:!0}}],UT={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Ng=Object.assign({"/src/views/dashboard/route.ts":yT,"/src/views/invite/route.ts":wT,"/src/views/knowledge/route.ts":kT,"/src/views/node/route.ts":RT,"/src/views/order/route.ts":AT,"/src/views/plan/route.ts":zT,"/src/views/profile/route.ts":LT,"/src/views/ticket/route.ts":BT,"/src/views/traffic/route.ts":VT}),cx=[];Object.keys(Ng).forEach(e=>{cx.push(Ng[e].default)});function WT(e){e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{setTimeout(()=>{var t;(t=window.$loadingBar)==null||t.finish()},200)}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})}var U1;const Bg=((U1=window.settings)==null?void 0:U1.title)||"Xboard";function qT(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${Bg}`:document.title=Bg})}var KT=!1;/*! + */const na=typeof window<"u";function h5(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const jt=Object.assign;function hd(e,t){const n={};for(const o in t){const r=t[o];n[o]=Co(r)?r.map(e):e(r)}return n}const gs=()=>{},Co=Array.isArray,p5=/\/$/,m5=e=>e.replace(p5,"");function pd(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(o=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),r=e(i)),s>-1&&(o=o||t.slice(0,s),a=t.slice(s,t.length)),o=y5(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:a}}function g5(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function v5(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&ya(t.matched[o],n.matched[r])&&Wy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ya(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Wy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!b5(e[n],t[n]))return!1;return!0}function b5(e,t){return Co(e)?_g(e,t):Co(t)?_g(t,e):e===t}function _g(e,t){return Co(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function y5(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/"),r=o[o.length-1];(r===".."||r===".")&&o.push("");let i=n.length-1,a,s;for(a=0;a1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a-(a===o.length?1:0)).join("/")}var Os;(function(e){e.pop="pop",e.push="push"})(Os||(Os={}));var vs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vs||(vs={}));function x5(e){if(!e)if(na){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),m5(e)}const C5=/^[^#]+#/;function w5(e,t){return e.replace(C5,"#")+t}function _5(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}const eu=()=>({left:window.pageXOffset,top:window.pageYOffset});function S5(e){let t;if("el"in e){const n=e.el,o=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=_5(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Sg(e,t){return(history.state?history.state.position-t:-1)+e}const Sf=new Map;function k5(e,t){Sf.set(e,t)}function T5(e){const t=Sf.get(e);return Sf.delete(e),t}let P5=()=>location.protocol+"//"+location.host;function qy(e,t){const{pathname:n,search:o,hash:r}=t,i=e.indexOf("#");if(i>-1){let s=r.includes(e.slice(i))?e.slice(i).length:1,l=r.slice(s);return l[0]!=="/"&&(l="/"+l),wg(l,"")}return wg(n,e)+o+r}function R5(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const p=qy(e,location),h=n.value,g=t.value;let b=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}b=g?f.position-g.position:0}else o(p);r.forEach(m=>{m(n.value,h,{delta:b,type:Os.pop,direction:b?b>0?vs.forward:vs.back:vs.unknown})})};function l(){a=n.value}function c(f){r.push(f);const p=()=>{const h=r.indexOf(f);h>-1&&r.splice(h,1)};return i.push(p),p}function u(){const{history:f}=window;f.state&&f.replaceState(jt({},f.state,{scroll:eu()}),"")}function d(){for(const f of i)f();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function kg(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?eu():null}}function E5(e){const{history:t,location:n}=window,o={value:qy(e,n)},r={value:t.state};r.value||i(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,c,u){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:P5()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(p){console.error(p),n[u?"replace":"assign"](f)}}function a(l,c){const u=jt({},t.state,kg(r.value.back,l,r.value.forward,!0),c,{position:r.value.position});i(l,u,!0),o.value=l}function s(l,c){const u=jt({},r.value,t.state,{forward:l,scroll:eu()});i(u.current,u,!0);const d=jt({},kg(o.value,l,null),{position:u.position+1},c);i(l,d,!1),o.value=l}return{location:o,state:r,push:s,replace:a}}function $5(e){e=x5(e);const t=E5(e),n=R5(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=jt({location:"",base:e,go:o,createHref:w5.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function A5(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),$5(e)}function I5(e){return typeof e=="string"||e&&typeof e=="object"}function Ky(e){return typeof e=="string"||typeof e=="symbol"}const xr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gy=Symbol("");var Tg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Tg||(Tg={}));function xa(e,t){return jt(new Error,{type:e,[Gy]:!0},t)}function Jo(e,t){return e instanceof Error&&Gy in e&&(t==null||!!(e.type&t))}const Pg="[^/]+?",M5={sensitive:!1,strict:!1,start:!0,end:!0},z5=/[.+*?^${}()[\]/\\]/g;function O5(e,t){const n=jt({},M5,t),o=[];let r=n.start?"^":"";const i=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(r+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function L5(e,t){let n=0;const o=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const F5={type:0,value:""},N5=/[a-zA-Z0-9_]/;function B5(e){if(!e)return[[]];if(e==="/")return[[F5]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,o=n;const r=[];let i;function a(){i&&r.push(i),i=[]}let s=0,l,c="",u="";function d(){c&&(n===0?i.push({type:0,value:c}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;s{a(y)}:gs}function a(u){if(Ky(u)){const d=o.get(u);d&&(o.delete(u),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(u);d>-1&&(n.splice(d,1),u.record.name&&o.delete(u.record.name),u.children.forEach(a),u.alias.forEach(a))}}function s(){return n}function l(u){let d=0;for(;d=0&&(u.record.path!==n[d].record.path||!Yy(u,n[d]));)d++;n.splice(d,0,u),u.record.name&&!$g(u)&&o.set(u.record.name,u)}function c(u,d){let f,p={},h,g;if("name"in u&&u.name){if(f=o.get(u.name),!f)throw xa(1,{location:u});g=f.record.name,p=jt(Eg(d.params,f.keys.filter(y=>!y.optional).map(y=>y.name)),u.params&&Eg(u.params,f.keys.map(y=>y.name))),h=f.stringify(p)}else if("path"in u)h=u.path,f=n.find(y=>y.re.test(h)),f&&(p=f.parse(h),g=f.record.name);else{if(f=d.name?o.get(d.name):n.find(y=>y.re.test(d.path)),!f)throw xa(1,{location:u,currentLocation:d});g=f.record.name,p=jt({},d.params,u.params),h=f.stringify(p)}const b=[];let m=f;for(;m;)b.unshift(m.record),m=m.parent;return{name:g,path:h,params:p,matched:b,meta:W5(b)}}return e.forEach(u=>i(u)),{addRoute:i,resolve:c,removeRoute:a,getRoutes:s,getRecordMatcher:r}}function Eg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function V5(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:U5(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function U5(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const o in e.components)t[o]=typeof n=="object"?n[o]:n;return t}function $g(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function W5(e){return e.reduce((t,n)=>jt(t,n.meta),{})}function Ag(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function Yy(e,t){return t.children.some(n=>n===e||Yy(e,n))}const Xy=/#/g,q5=/&/g,K5=/\//g,G5=/=/g,Y5=/\?/g,Zy=/\+/g,X5=/%5B/g,Z5=/%5D/g,Jy=/%5E/g,J5=/%60/g,Qy=/%7B/g,Q5=/%7C/g,ex=/%7D/g,eT=/%20/g;function ep(e){return encodeURI(""+e).replace(Q5,"|").replace(X5,"[").replace(Z5,"]")}function tT(e){return ep(e).replace(Qy,"{").replace(ex,"}").replace(Jy,"^")}function kf(e){return ep(e).replace(Zy,"%2B").replace(eT,"+").replace(Xy,"%23").replace(q5,"%26").replace(J5,"`").replace(Qy,"{").replace(ex,"}").replace(Jy,"^")}function nT(e){return kf(e).replace(G5,"%3D")}function oT(e){return ep(e).replace(Xy,"%23").replace(Y5,"%3F")}function rT(e){return e==null?"":oT(e).replace(K5,"%2F")}function vc(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function iT(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ri&&kf(i)):[o&&kf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function aT(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Co(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const sT=Symbol(""),Mg=Symbol(""),tu=Symbol(""),tp=Symbol(""),Tf=Symbol("");function es(){let e=[];function t(o){return e.push(o),()=>{const r=e.indexOf(o);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Ir(e,t,n,o,r){const i=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((a,s)=>{const l=d=>{d===!1?s(xa(4,{from:n,to:t})):d instanceof Error?s(d):I5(d)?s(xa(2,{from:t,to:d})):(i&&o.enterCallbacks[r]===i&&typeof d=="function"&&i.push(d),a())},c=e.call(o&&o.instances[r],t,n,l);let u=Promise.resolve(c);e.length<3&&(u=u.then(l)),u.catch(d=>s(d))})}function md(e,t,n,o){const r=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(lT(s)){const c=(s.__vccOpts||s)[t];c&&r.push(Ir(c,n,o,i,a))}else{let l=s();r.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const u=h5(c)?c.default:c;i.components[a]=u;const f=(u.__vccOpts||u)[t];return f&&Ir(f,n,o,i,a)()}))}}return r}function lT(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function zg(e){const t=qe(tu),n=qe(tp),o=L(()=>t.resolve(he(e.to))),r=L(()=>{const{matched:l}=o.value,{length:c}=l,u=l[c-1],d=n.matched;if(!u||!d.length)return-1;const f=d.findIndex(ya.bind(null,u));if(f>-1)return f;const p=Og(l[c-2]);return c>1&&Og(u)===p&&d[d.length-1].path!==p?d.findIndex(ya.bind(null,l[c-2])):f}),i=L(()=>r.value>-1&&fT(n.params,o.value.params)),a=L(()=>r.value>-1&&r.value===n.matched.length-1&&Wy(n.params,o.value.params));function s(l={}){return dT(l)?t[he(e.replace)?"replace":"push"](he(e.to)).catch(gs):Promise.resolve()}return{route:o,href:L(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const cT=me({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:zg,setup(e,{slots:t}){const n=xo(zg(e)),{options:o}=qe(tu),r=L(()=>({[Dg(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[Dg(e.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:v("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),uT=cT;function dT(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function fT(e,t){for(const n in t){const o=t[n],r=e[n];if(typeof o=="string"){if(o!==r)return!1}else if(!Co(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function Og(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Dg=(e,t,n)=>e??t??n,hT=me({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=qe(Tf),r=L(()=>e.route||o.value),i=qe(Mg,0),a=L(()=>{let c=he(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=L(()=>r.value.matched[a.value]);lt(Mg,L(()=>a.value+1)),lt(sT,s),lt(Tf,r);const l=N();return ht(()=>[l.value,s.value,e.name],([c,u,d],[f,p,h])=>{u&&(u.instances[d]=c,p&&p!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=p.leaveGuards),u.updateGuards.size||(u.updateGuards=p.updateGuards))),c&&u&&(!p||!ya(u,p)||!f)&&(u.enterCallbacks[d]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,d=s.value,f=d&&d.components[u];if(!f)return Lg(n.default,{Component:f,route:c});const p=d.props[u],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=v(f,jt({},h,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return Lg(n.default,{Component:b,route:c})||b}}});function Lg(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const pT=hT;function mT(e){const t=j5(e.routes,e),n=e.parseQuery||iT,o=e.stringifyQuery||Ig,r=e.history,i=es(),a=es(),s=es(),l=Aa(xr);let c=xr;na&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=hd.bind(null,J=>""+J),d=hd.bind(null,rT),f=hd.bind(null,vc);function p(J,ye){let j,ge;return Ky(J)?(j=t.getRecordMatcher(J),ge=ye):ge=J,t.addRoute(ge,j)}function h(J){const ye=t.getRecordMatcher(J);ye&&t.removeRoute(ye)}function g(){return t.getRoutes().map(J=>J.record)}function b(J){return!!t.getRecordMatcher(J)}function m(J,ye){if(ye=jt({},ye||l.value),typeof J=="string"){const P=pd(n,J,ye.path),U=t.resolve({path:P.path},ye),oe=r.createHref(P.fullPath);return jt(P,U,{params:f(U.params),hash:vc(P.hash),redirectedFrom:void 0,href:oe})}let j;if("path"in J)j=jt({},J,{path:pd(n,J.path,ye.path).path});else{const P=jt({},J.params);for(const U in P)P[U]==null&&delete P[U];j=jt({},J,{params:d(P)}),ye.params=d(ye.params)}const ge=t.resolve(j,ye),Ee=J.hash||"";ge.params=u(f(ge.params));const Ne=g5(o,jt({},J,{hash:tT(Ee),path:ge.path})),T=r.createHref(Ne);return jt({fullPath:Ne,hash:Ee,query:o===Ig?aT(J.query):J.query||{}},ge,{redirectedFrom:void 0,href:T})}function y(J){return typeof J=="string"?pd(n,J,l.value.path):jt({},J)}function k(J,ye){if(c!==J)return xa(8,{from:ye,to:J})}function S(J){return C(J)}function w(J){return S(jt(y(J),{replace:!0}))}function x(J){const ye=J.matched[J.matched.length-1];if(ye&&ye.redirect){const{redirect:j}=ye;let ge=typeof j=="function"?j(J):j;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=y(ge):{path:ge},ge.params={}),jt({query:J.query,hash:J.hash,params:"path"in ge?{}:J.params},ge)}}function C(J,ye){const j=c=m(J),ge=l.value,Ee=J.state,Ne=J.force,T=J.replace===!0,P=x(j);if(P)return C(jt(y(P),{state:typeof P=="object"?jt({},Ee,P.state):Ee,force:Ne,replace:T}),ye||j);const U=j;U.redirectedFrom=ye;let oe;return!Ne&&v5(o,ge,j)&&(oe=xa(16,{to:U,from:ge}),B(ge,ge,!0,!1)),(oe?Promise.resolve(oe):E(U,ge)).catch(G=>Jo(G)?Jo(G,2)?G:le(G):Q(G,U,ge)).then(G=>{if(G){if(Jo(G,2))return C(jt({replace:T},y(G.to),{state:typeof G.to=="object"?jt({},Ee,G.to.state):Ee,force:Ne}),ye||U)}else G=A(U,ge,!0,T,Ee);return M(U,ge,G),G})}function _(J,ye){const j=k(J,ye);return j?Promise.reject(j):Promise.resolve()}function R(J){const ye=K.values().next().value;return ye&&typeof ye.runWithContext=="function"?ye.runWithContext(J):J()}function E(J,ye){let j;const[ge,Ee,Ne]=gT(J,ye);j=md(ge.reverse(),"beforeRouteLeave",J,ye);for(const P of ge)P.leaveGuards.forEach(U=>{j.push(Ir(U,J,ye))});const T=_.bind(null,J,ye);return j.push(T),ve(j).then(()=>{j=[];for(const P of i.list())j.push(Ir(P,J,ye));return j.push(T),ve(j)}).then(()=>{j=md(Ee,"beforeRouteUpdate",J,ye);for(const P of Ee)P.updateGuards.forEach(U=>{j.push(Ir(U,J,ye))});return j.push(T),ve(j)}).then(()=>{j=[];for(const P of Ne)if(P.beforeEnter)if(Co(P.beforeEnter))for(const U of P.beforeEnter)j.push(Ir(U,J,ye));else j.push(Ir(P.beforeEnter,J,ye));return j.push(T),ve(j)}).then(()=>(J.matched.forEach(P=>P.enterCallbacks={}),j=md(Ne,"beforeRouteEnter",J,ye),j.push(T),ve(j))).then(()=>{j=[];for(const P of a.list())j.push(Ir(P,J,ye));return j.push(T),ve(j)}).catch(P=>Jo(P,8)?P:Promise.reject(P))}function M(J,ye,j){s.list().forEach(ge=>R(()=>ge(J,ye,j)))}function A(J,ye,j,ge,Ee){const Ne=k(J,ye);if(Ne)return Ne;const T=ye===xr,P=na?history.state:{};j&&(ge||T?r.replace(J.fullPath,jt({scroll:T&&P&&P.scroll},Ee)):r.push(J.fullPath,Ee)),l.value=J,B(J,ye,j,T),le()}let q;function F(){q||(q=r.listen((J,ye,j)=>{if(!ne.listening)return;const ge=m(J),Ee=x(ge);if(Ee){C(jt(Ee,{replace:!0}),ge).catch(gs);return}c=ge;const Ne=l.value;na&&k5(Sg(Ne.fullPath,j.delta),eu()),E(ge,Ne).catch(T=>Jo(T,12)?T:Jo(T,2)?(C(T.to,ge).then(P=>{Jo(P,20)&&!j.delta&&j.type===Os.pop&&r.go(-1,!1)}).catch(gs),Promise.reject()):(j.delta&&r.go(-j.delta,!1),Q(T,ge,Ne))).then(T=>{T=T||A(ge,Ne,!1),T&&(j.delta&&!Jo(T,8)?r.go(-j.delta,!1):j.type===Os.pop&&Jo(T,20)&&r.go(-1,!1)),M(ge,Ne,T)}).catch(gs)}))}let z=es(),D=es(),Y;function Q(J,ye,j){le(J);const ge=D.list();return ge.length?ge.forEach(Ee=>Ee(J,ye,j)):console.error(J),Promise.reject(J)}function ce(){return Y&&l.value!==xr?Promise.resolve():new Promise((J,ye)=>{z.add([J,ye])})}function le(J){return Y||(Y=!J,F(),z.list().forEach(([ye,j])=>J?j(J):ye()),z.reset()),J}function B(J,ye,j,ge){const{scrollBehavior:Ee}=e;if(!na||!Ee)return Promise.resolve();const Ne=!j&&T5(Sg(J.fullPath,0))||(ge||!j)&&history.state&&history.state.scroll||null;return Ht().then(()=>Ee(J,ye,Ne)).then(T=>T&&S5(T)).catch(T=>Q(T,J,ye))}const $=J=>r.go(J);let I;const K=new Set,ne={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:g,resolve:m,options:e,push:S,replace:w,go:$,back:()=>$(-1),forward:()=>$(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:D.add,isReady:ce,install(J){const ye=this;J.component("RouterLink",uT),J.component("RouterView",pT),J.config.globalProperties.$router=ye,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>he(l)}),na&&!I&&l.value===xr&&(I=!0,S(r.location).catch(Ee=>{}));const j={};for(const Ee in xr)Object.defineProperty(j,Ee,{get:()=>l.value[Ee],enumerable:!0});J.provide(tu,ye),J.provide(tp,ry(j)),J.provide(Tf,l);const ge=J.unmount;K.add(J),J.unmount=function(){K.delete(J),K.size<1&&(c=xr,q&&q(),q=null,l.value=xr,I=!1,Y=!1),ge()}}};function ve(J){return J.reduce((ye,j)=>ye.then(()=>R(j)),Promise.resolve())}return ne}function gT(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;aya(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>ya(c,l))||r.push(l))}return[n,o,r]}function nu(){return qe(tu)}function $i(){return qe(tp)}const vT="modulepreload",bT=function(e){return"/"+e},Fg={},Ct=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=bT(i),i in Fg)return;Fg[i]=!0;const a=i.endsWith(".css"),s=a?'[rel="stylesheet"]':"";if(!!o)for(let u=r.length-1;u>=0;u--){const d=r[u];if(d.href===i&&(!a||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${s}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":vT,a||(c.as="script",c.crossOrigin=""),c.href=i,document.head.appendChild(c),a)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${i}`)))})})).then(()=>t()).catch(i=>{const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=i,window.dispatchEvent(a),!a.defaultPrevented)throw i})},yT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),xT={name:"dashboard",path:"/",component:yT,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>Ct(()=>Promise.resolve().then(()=>FOe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},CT=Object.freeze(Object.defineProperty({__proto__:null,default:xT},Symbol.toStringTag,{value:"Module"})),wT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),_T={name:"Invite",path:"/",component:wT,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>Ct(()=>Promise.resolve().then(()=>xDe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},ST=Object.freeze(Object.defineProperty({__proto__:null,default:_T},Symbol.toStringTag,{value:"Module"})),kT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),TT={name:"knowledge",path:"/",component:kT,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>Ct(()=>Promise.resolve().then(()=>TDe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},PT=Object.freeze(Object.defineProperty({__proto__:null,default:TT},Symbol.toStringTag,{value:"Module"})),RT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),ET={name:"Node",path:"/",component:RT,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>Ct(()=>Promise.resolve().then(()=>KDe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},$T=Object.freeze(Object.defineProperty({__proto__:null,default:ET},Symbol.toStringTag,{value:"Module"})),AT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),IT={name:"Order",path:"/",component:AT,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>Ct(()=>Promise.resolve().then(()=>YDe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>Ct(()=>Promise.resolve().then(()=>T9e),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},MT=Object.freeze(Object.defineProperty({__proto__:null,default:IT},Symbol.toStringTag,{value:"Module"})),zT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),OT={name:"plan",path:"/",component:zT,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>Ct(()=>Promise.resolve().then(()=>Y9e),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>Ct(()=>Promise.resolve().then(()=>SFe),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},DT=Object.freeze(Object.defineProperty({__proto__:null,default:OT},Symbol.toStringTag,{value:"Module"})),LT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),FT={name:"profile",path:"/",component:LT,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>Ct(()=>Promise.resolve().then(()=>GFe),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},NT=Object.freeze(Object.defineProperty({__proto__:null,default:FT},Symbol.toStringTag,{value:"Module"})),BT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),HT={name:"ticket",path:"/",component:BT,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>Ct(()=>Promise.resolve().then(()=>ZFe),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>Ct(()=>Promise.resolve().then(()=>n7e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},jT=Object.freeze(Object.defineProperty({__proto__:null,default:HT},Symbol.toStringTag,{value:"Module"})),VT=()=>Ct(()=>Promise.resolve().then(()=>mr),void 0),UT={name:"traffic",path:"/",component:VT,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>Ct(()=>Promise.resolve().then(()=>r7e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},WT=Object.freeze(Object.defineProperty({__proto__:null,default:UT},Symbol.toStringTag,{value:"Module"})),tx=[{name:"404",path:"/404",component:()=>Ct(()=>Promise.resolve().then(()=>c7e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>Ct(()=>Promise.resolve().then(()=>z7e),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>Ct(()=>Promise.resolve().then(()=>tNe),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>Ct(()=>Promise.resolve().then(()=>yNe),void 0),meta:{title:"重置密码",isHidden:!0}}],qT={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},Ng=Object.assign({"/src/views/dashboard/route.ts":CT,"/src/views/invite/route.ts":ST,"/src/views/knowledge/route.ts":PT,"/src/views/node/route.ts":$T,"/src/views/order/route.ts":MT,"/src/views/plan/route.ts":DT,"/src/views/profile/route.ts":NT,"/src/views/ticket/route.ts":jT,"/src/views/traffic/route.ts":WT}),nx=[];Object.keys(Ng).forEach(e=>{nx.push(Ng[e].default)});function KT(e){e.beforeEach(()=>{var t;(t=window.$loadingBar)==null||t.start()}),e.afterEach(()=>{setTimeout(()=>{var t;(t=window.$loadingBar)==null||t.finish()},200)}),e.onError(()=>{var t;(t=window.$loadingBar)==null||t.error()})}var L1;const Bg=((L1=window.settings)==null?void 0:L1.title)||"Xboard";function GT(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${Bg}`:document.title=Bg})}var YT=!1;/*! * pinia v2.1.7 * (c) 2023 Eduardo San Martin Morote * @license MIT - */let ux;const ou=e=>ux=e,dx=Symbol();function Tf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var bs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(bs||(bs={}));function GT(){const e=Ih(!0),t=e.run(()=>N({}));let n=[],o=[];const r=ga({install(i){ou(r),r._a=i,i.provide(dx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!KT?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const fx=()=>{};function Hg(e,t,n,o=fx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Mh()&&Q1(r),r}function Yi(e,...t){e.slice().forEach(n=>{n(...t)})}const YT=e=>e();function Pf(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Tf(r)&&Tf(o)&&e.hasOwnProperty(n)&&!dn(o)&&!Dr(o)?e[n]=Pf(r,o):e[n]=o}return e}const XT=Symbol();function ZT(e){return!Tf(e)||!e.hasOwnProperty(XT)}const{assign:Pr}=Object;function JT(e){return!!(dn(e)&&e.effect)}function QT(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=x3(n.state.value[e]);return Pr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=ga(L(()=>{ou(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=hx(e,c,t,n,o,!0),l}function hx(e,t,n={},o,r,i){let a;const s=Pr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),N({});let g;function b(_){let R;c=u=!1,typeof _=="function"?(_(o.state.value[e]),R={type:bs.patchFunction,storeId:e,events:p}):(Pf(o.state.value[e],_),R={type:bs.patchObject,payload:_,storeId:e,events:p});const E=g=Symbol();Ht().then(()=>{g===E&&(c=!0)}),u=!0,Yi(d,R,o.state.value[e])}const m=i?function(){const{state:R}=n,E=R?R():{};this.$patch(M=>{Pr(M,E)})}:fx;function y(){a.stop(),d=[],f=[],o._s.delete(e)}function k(_,R){return function(){ou(o);const E=Array.from(arguments),M=[],A=[];function q(D){M.push(D)}function F(D){A.push(D)}Yi(f,{args:E,name:_,store:w,after:q,onError:F});let z;try{z=R.apply(this&&this.$id===e?this:w,E)}catch(D){throw Yi(A,D),D}return z instanceof Promise?z.then(D=>(Yi(M,D),D)).catch(D=>(Yi(A,D),Promise.reject(D))):(Yi(M,z),z)}}const S={_p:o,$id:e,$onAction:Hg.bind(null,f),$patch:b,$reset:m,$subscribe(_,R={}){const E=Hg(d,_,R.detached,()=>M()),M=a.run(()=>ht(()=>o.state.value[e],A=>{(R.flush==="sync"?u:c)&&_({storeId:e,type:bs.direct,events:p},A)},Pr({},l,R)));return E},$dispose:y},w=xo(S);o._s.set(e,w);const C=(o._a&&o._a.runWithContext||YT)(()=>o._e.run(()=>(a=Ih()).run(t)));for(const _ in C){const R=C[_];if(dn(R)&&!JT(R)||Dr(R))i||(h&&ZT(R)&&(dn(R)?R.value=h[_]:Pf(R,h[_])),o.state.value[e][_]=R);else if(typeof R=="function"){const E=k(_,R);C[_]=E,s.actions[_]=R}}return Pr(w,C),Pr(At(w),C),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:_=>{b(R=>{Pr(R,_)})}}),o._p.forEach(_=>{Pr(w,a.run(()=>_({store:w,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(w.$state,h),c=!0,u=!0,w}function ru(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=t4();return s=s||(c?qe(dx,null):null),s&&ou(s),s=ux,s._s.has(o)||(i?hx(o,t,r,s):QT(o,r,s)),s._s.get(o)}return a.$id=o,a}function px(e,t){return function(){return e.apply(t,arguments)}}const{toString:eP}=Object.prototype,{getPrototypeOf:np}=Object,iu=(e=>t=>{const n=eP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ko=e=>(e=e.toLowerCase(),t=>iu(t)===e),au=e=>t=>typeof t===e,{isArray:za}=Array,Ds=au("undefined");function tP(e){return e!==null&&!Ds(e)&&e.constructor!==null&&!Ds(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mx=Ko("ArrayBuffer");function nP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mx(e.buffer),t}const oP=au("string"),ro=au("function"),gx=au("number"),su=e=>e!==null&&typeof e=="object",rP=e=>e===!0||e===!1,Ql=e=>{if(iu(e)!=="object")return!1;const t=np(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},iP=Ko("Date"),aP=Ko("File"),sP=Ko("Blob"),lP=Ko("FileList"),cP=e=>su(e)&&ro(e.pipe),uP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=iu(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},dP=Ko("URLSearchParams"),fP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),za(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const bx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),yx=e=>!Ds(e)&&e!==bx;function Rf(){const{caseless:e}=yx(this)&&this||{},t={},n=(o,r)=>{const i=e&&vx(t,r)||r;Ql(t[i])&&Ql(o)?t[i]=Rf(t[i],o):Ql(o)?t[i]=Rf({},o):za(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(Zs(t,(r,i)=>{n&&ro(r)?e[i]=px(r,n):e[i]=r},{allOwnKeys:o}),e),pP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),mP=(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)},gP=(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&np(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},vP=(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},bP=e=>{if(!e)return null;if(za(e))return e;let t=e.length;if(!gx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&np(Uint8Array)),xP=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},CP=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},wP=Ko("HTMLFormElement"),_P=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),jg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),SP=Ko("RegExp"),xx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Zs(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},kP=e=>{xx(e,(t,n)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(ro(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+"'")})}})},TP=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return za(e)?o(e):o(String(e).split(t)),n},PP=()=>{},RP=(e,t)=>(e=+e,Number.isFinite(e)?e:t),md="abcdefghijklmnopqrstuvwxyz",Vg="0123456789",Cx={DIGIT:Vg,ALPHA:md,ALPHA_DIGIT:md+md.toUpperCase()+Vg},EP=(e=16,t=Cx.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function $P(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const AP=e=>{const t=new Array(10),n=(o,r)=>{if(su(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=za(o)?[]:{};return Zs(o,(a,s)=>{const l=n(a,r+1);!Ds(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},IP=Ko("AsyncFunction"),MP=e=>e&&(su(e)||ro(e))&&ro(e.then)&&ro(e.catch),Ae={isArray:za,isArrayBuffer:mx,isBuffer:tP,isFormData:uP,isArrayBufferView:nP,isString:oP,isNumber:gx,isBoolean:rP,isObject:su,isPlainObject:Ql,isUndefined:Ds,isDate:iP,isFile:aP,isBlob:sP,isRegExp:SP,isFunction:ro,isStream:cP,isURLSearchParams:dP,isTypedArray:yP,isFileList:lP,forEach:Zs,merge:Rf,extend:hP,trim:fP,stripBOM:pP,inherits:mP,toFlatObject:gP,kindOf:iu,kindOfTest:Ko,endsWith:vP,toArray:bP,forEachEntry:xP,matchAll:CP,isHTMLForm:wP,hasOwnProperty:jg,hasOwnProp:jg,reduceDescriptors:xx,freezeMethods:kP,toObjectSet:TP,toCamelCase:_P,noop:PP,toFiniteNumber:RP,findKey:vx,global:bx,isContextDefined:yx,ALPHABET:Cx,generateString:EP,isSpecCompliantForm:$P,toJSONObject:AP,isAsyncFn:IP,isThenable:MP};function It(e,t,n,o,r){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),r&&(this.response=r)}Ae.inherits(It,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:Ae.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const wx=It.prototype,_x={};["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=>{_x[e]={value:e}});Object.defineProperties(It,_x);Object.defineProperty(wx,"isAxiosError",{value:!0});It.from=(e,t,n,o,r,i)=>{const a=Object.create(wx);return Ae.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),It.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const zP=null;function Ef(e){return Ae.isPlainObject(e)||Ae.isArray(e)}function Sx(e){return Ae.endsWith(e,"[]")?e.slice(0,-2):e}function Ug(e,t,n){return e?e.concat(t).map(function(r,i){return r=Sx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function OP(e){return Ae.isArray(e)&&!e.some(Ef)}const DP=Ae.toFlatObject(Ae,{},null,function(t){return/^is[A-Z]/.test(t)});function lu(e,t,n){if(!Ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!Ae.isUndefined(b[g])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ae.isSpecCompliantForm(t);if(!Ae.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Ae.isDate(h))return h.toISOString();if(!l&&Ae.isBlob(h))throw new It("Blob is not supported. Use a Buffer instead.");return Ae.isArrayBuffer(h)||Ae.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,b){let m=h;if(h&&!b&&typeof h=="object"){if(Ae.endsWith(g,"{}"))g=o?g:g.slice(0,-2),h=JSON.stringify(h);else if(Ae.isArray(h)&&OP(h)||(Ae.isFileList(h)||Ae.endsWith(g,"[]"))&&(m=Ae.toArray(h)))return g=Sx(g),m.forEach(function(k,S){!(Ae.isUndefined(k)||k===null)&&t.append(a===!0?Ug([g],S,i):a===null?g:g+"[]",c(k))}),!1}return Ef(h)?!0:(t.append(Ug(b,g,i),c(h)),!1)}const d=[],f=Object.assign(DP,{defaultVisitor:u,convertValue:c,isVisitable:Ef});function p(h,g){if(!Ae.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(h),Ae.forEach(h,function(m,y){(!(Ae.isUndefined(m)||m===null)&&r.call(t,m,Ae.isString(y)?y.trim():y,g,f))===!0&&p(m,g?g.concat(y):[y])}),d.pop()}}if(!Ae.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Wg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function op(e,t){this._pairs=[],e&&lu(e,this,t)}const kx=op.prototype;kx.append=function(t,n){this._pairs.push([t,n])};kx.toString=function(t){const n=t?function(o){return t.call(this,o,Wg)}:Wg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function LP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Tx(e,t,n){if(!t)return e;const o=n&&n.encode||LP,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Ae.isURLSearchParams(t)?t.toString():new op(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class FP{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){Ae.forEach(this.handlers,function(o){o!==null&&t(o)})}}const qg=FP,Px={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},NP=typeof URLSearchParams<"u"?URLSearchParams:op,BP=typeof FormData<"u"?FormData:null,HP=typeof Blob<"u"?Blob:null,jP={isBrowser:!0,classes:{URLSearchParams:NP,FormData:BP,Blob:HP},protocols:["http","https","file","blob","url","data"]},Rx=typeof window<"u"&&typeof document<"u",VP=(e=>Rx&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),UP=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),WP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Rx,hasStandardBrowserEnv:VP,hasStandardBrowserWebWorkerEnv:UP},Symbol.toStringTag,{value:"Module"})),zo={...WP,...jP};function qP(e,t){return lu(e,new zo.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return zo.isNode&&Ae.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function KP(e){return Ae.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GP(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&Ae.isArray(r)?r.length:a,l?(Ae.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Ae.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Ae.isArray(r[a])&&(r[a]=GP(r[a])),!s)}if(Ae.isFormData(e)&&Ae.isFunction(e.entries)){const n={};return Ae.forEachEntry(e,(o,r)=>{t(KP(o),r,n,0)}),n}return null}function YP(e,t,n){if(Ae.isString(e))try{return(t||JSON.parse)(e),Ae.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const rp={transitional:Px,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Ae.isObject(t);if(i&&Ae.isHTMLForm(t)&&(t=new FormData(t)),Ae.isFormData(t))return r&&r?JSON.stringify(Ex(t)):t;if(Ae.isArrayBuffer(t)||Ae.isBuffer(t)||Ae.isStream(t)||Ae.isFile(t)||Ae.isBlob(t))return t;if(Ae.isArrayBufferView(t))return t.buffer;if(Ae.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return qP(t,this.formSerializer).toString();if((s=Ae.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return lu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),YP(t)):t}],transformResponse:[function(t){const n=this.transitional||rp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&Ae.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?It.from(s,It.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zo.classes.FormData,Blob:zo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ae.forEach(["delete","get","head","post","put","patch"],e=>{rp.headers[e]={}});const ip=rp,XP=Ae.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"]),ZP=e=>{const t={};let n,o,r;return e&&e.split(` -`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&XP[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Kg=Symbol("internals");function ts(e){return e&&String(e).trim().toLowerCase()}function ec(e){return e===!1||e==null?e:Ae.isArray(e)?e.map(ec):String(e)}function JP(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}const QP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function gd(e,t,n,o,r){if(Ae.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Ae.isString(t)){if(Ae.isString(o))return t.indexOf(o)!==-1;if(Ae.isRegExp(o))return o.test(t)}}function eR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function tR(e,t){const n=Ae.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class cu{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=ts(l);if(!u)throw new Error("header name must be a non-empty string");const d=Ae.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=ec(s))}const a=(s,l)=>Ae.forEach(s,(c,u)=>i(c,u,l));return Ae.isPlainObject(t)||t instanceof this.constructor?a(t,n):Ae.isString(t)&&(t=t.trim())&&!QP(t)?a(ZP(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=ts(t),t){const o=Ae.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return JP(r);if(Ae.isFunction(n))return n.call(this,r,o);if(Ae.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ts(t),t){const o=Ae.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||gd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=ts(a),a){const s=Ae.findKey(o,a);s&&(!n||gd(o,o[s],s,n))&&(delete o[s],r=!0)}}return Ae.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||gd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Ae.forEach(this,(r,i)=>{const a=Ae.findKey(o,i);if(a){n[a]=ec(r),delete n[i];return}const s=t?eR(i):String(i).trim();s!==i&&delete n[i],n[s]=ec(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ae.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Ae.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(r=>o.set(r)),o}static accessor(t){const o=(this[Kg]=this[Kg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=ts(a);o[s]||(tR(r,a),o[s]=!0)}return Ae.isArray(t)?t.forEach(i):i(t),this}}cu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ae.reduceDescriptors(cu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Ae.freezeMethods(cu);const ir=cu;function vd(e,t){const n=this||ip,o=t||n,r=ir.from(o.headers);let i=o.data;return Ae.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function $x(e){return!!(e&&e.__CANCEL__)}function Js(e,t,n){It.call(this,e??"canceled",It.ERR_CANCELED,t,n),this.name="CanceledError"}Ae.inherits(Js,It,{__CANCEL__:!0});function nR(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new It("Request failed with status code "+n.status,[It.ERR_BAD_REQUEST,It.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const oR=zo.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Ae.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ae.isString(o)&&a.push("path="+o),Ae.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function rR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function iR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ax(e,t){return e&&!rR(t)?iR(e,t):t}const aR=zo.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=r(window.location.href),function(a){const s=Ae.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function sR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function lR(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s),c=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const cR=typeof XMLHttpRequest<"u",uR=cR&&function(e){return new Promise(function(n,o){let r=e.data;const i=ir.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(Ae.isFormData(r)){if(zo.hasStandardBrowserEnv||zo.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[g,...b]=u?u.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([g||"multipart/form-data",...b].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+b))}const f=Ax(e.baseURL,e.url);d.open(e.method.toUpperCase(),Tx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const g=ir.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:e,request:d};nR(function(k){n(k),c()},function(k){o(k),c()},m),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(o(new It("Request aborted",It.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new It("Network Error",It.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||Px;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),o(new It(b,m.clarifyTimeoutError?It.ETIMEDOUT:It.ECONNABORTED,e,d)),d=null},zo.hasStandardBrowserEnv&&(s&&Ae.isFunction(s)&&(s=s(e)),s||s!==!1&&aR(f))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&oR.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&Ae.forEach(i.toJSON(),function(b,m){d.setRequestHeader(m,b)}),Ae.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Gg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Gg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=g=>{d&&(o(!g||g.type?new Js(null,e,d):g),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=sR(f);if(h&&zo.protocols.indexOf(h)===-1){o(new It("Unsupported protocol "+h+":",It.ERR_BAD_REQUEST,e));return}d.send(r||null)})},$f={http:zP,xhr:uR};Ae.forEach($f,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Yg=e=>`- ${e}`,dR=e=>Ae.isFunction(e)||e===null||e===!1,Ix={getAdapter:e=>{e=Ae.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : + */let ox;const ou=e=>ox=e,rx=Symbol();function Pf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var bs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(bs||(bs={}));function XT(){const e=Ih(!0),t=e.run(()=>N({}));let n=[],o=[];const r=ga({install(i){ou(r),r._a=i,i.provide(rx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!YT?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ix=()=>{};function Hg(e,t,n,o=ix){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&Mh()&&q1(r),r}function Yi(e,...t){e.slice().forEach(n=>{n(...t)})}const ZT=e=>e();function Rf(e,t){e instanceof Map&&t instanceof Map&&t.forEach((n,o)=>e.set(o,n)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const o=t[n],r=e[n];Pf(r)&&Pf(o)&&e.hasOwnProperty(n)&&!dn(o)&&!Dr(o)?e[n]=Rf(r,o):e[n]=o}return e}const JT=Symbol();function QT(e){return!Pf(e)||!e.hasOwnProperty(JT)}const{assign:Pr}=Object;function eP(e){return!!(dn(e)&&e.effect)}function tP(e,t,n,o){const{state:r,actions:i,getters:a}=t,s=n.state.value[e];let l;function c(){s||(n.state.value[e]=r?r():{});const u=w3(n.state.value[e]);return Pr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=ga(L(()=>{ou(n);const p=n._s.get(e);return a[f].call(p,p)})),d),{}))}return l=ax(e,c,t,n,o,!0),l}function ax(e,t,n={},o,r,i){let a;const s=Pr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],p;const h=o.state.value[e];!i&&!h&&(o.state.value[e]={}),N({});let g;function b(_){let R;c=u=!1,typeof _=="function"?(_(o.state.value[e]),R={type:bs.patchFunction,storeId:e,events:p}):(Rf(o.state.value[e],_),R={type:bs.patchObject,payload:_,storeId:e,events:p});const E=g=Symbol();Ht().then(()=>{g===E&&(c=!0)}),u=!0,Yi(d,R,o.state.value[e])}const m=i?function(){const{state:R}=n,E=R?R():{};this.$patch(M=>{Pr(M,E)})}:ix;function y(){a.stop(),d=[],f=[],o._s.delete(e)}function k(_,R){return function(){ou(o);const E=Array.from(arguments),M=[],A=[];function q(D){M.push(D)}function F(D){A.push(D)}Yi(f,{args:E,name:_,store:w,after:q,onError:F});let z;try{z=R.apply(this&&this.$id===e?this:w,E)}catch(D){throw Yi(A,D),D}return z instanceof Promise?z.then(D=>(Yi(M,D),D)).catch(D=>(Yi(A,D),Promise.reject(D))):(Yi(M,z),z)}}const S={_p:o,$id:e,$onAction:Hg.bind(null,f),$patch:b,$reset:m,$subscribe(_,R={}){const E=Hg(d,_,R.detached,()=>M()),M=a.run(()=>ht(()=>o.state.value[e],A=>{(R.flush==="sync"?u:c)&&_({storeId:e,type:bs.direct,events:p},A)},Pr({},l,R)));return E},$dispose:y},w=xo(S);o._s.set(e,w);const C=(o._a&&o._a.runWithContext||ZT)(()=>o._e.run(()=>(a=Ih()).run(t)));for(const _ in C){const R=C[_];if(dn(R)&&!eP(R)||Dr(R))i||(h&&QT(R)&&(dn(R)?R.value=h[_]:Rf(R,h[_])),o.state.value[e][_]=R);else if(typeof R=="function"){const E=k(_,R);C[_]=E,s.actions[_]=R}}return Pr(w,C),Pr(At(w),C),Object.defineProperty(w,"$state",{get:()=>o.state.value[e],set:_=>{b(R=>{Pr(R,_)})}}),o._p.forEach(_=>{Pr(w,a.run(()=>_({store:w,app:o._a,pinia:o,options:s})))}),h&&i&&n.hydrate&&n.hydrate(w.$state,h),c=!0,u=!0,w}function ru(e,t,n){let o,r;const i=typeof t=="function";typeof e=="string"?(o=e,r=i?n:t):(r=e,o=e.id);function a(s,l){const c=o4();return s=s||(c?qe(rx,null):null),s&&ou(s),s=ox,s._s.has(o)||(i?ax(o,t,r,s):tP(o,r,s)),s._s.get(o)}return a.$id=o,a}function sx(e,t){return function(){return e.apply(t,arguments)}}const{toString:nP}=Object.prototype,{getPrototypeOf:np}=Object,iu=(e=>t=>{const n=nP.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ko=e=>(e=e.toLowerCase(),t=>iu(t)===e),au=e=>t=>typeof t===e,{isArray:za}=Array,Ds=au("undefined");function oP(e){return e!==null&&!Ds(e)&&e.constructor!==null&&!Ds(e.constructor)&&ro(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const lx=Ko("ArrayBuffer");function rP(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&lx(e.buffer),t}const iP=au("string"),ro=au("function"),cx=au("number"),su=e=>e!==null&&typeof e=="object",aP=e=>e===!0||e===!1,Ql=e=>{if(iu(e)!=="object")return!1;const t=np(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sP=Ko("Date"),lP=Ko("File"),cP=Ko("Blob"),uP=Ko("FileList"),dP=e=>su(e)&&ro(e.pipe),fP=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ro(e.append)&&((t=iu(e))==="formdata"||t==="object"&&ro(e.toString)&&e.toString()==="[object FormData]"))},hP=Ko("URLSearchParams"),pP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zs(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),za(e))for(o=0,r=e.length;o0;)if(r=n[o],t===r.toLowerCase())return r;return null}const dx=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),fx=e=>!Ds(e)&&e!==dx;function Ef(){const{caseless:e}=fx(this)&&this||{},t={},n=(o,r)=>{const i=e&&ux(t,r)||r;Ql(t[i])&&Ql(o)?t[i]=Ef(t[i],o):Ql(o)?t[i]=Ef({},o):za(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o(Zs(t,(r,i)=>{n&&ro(r)?e[i]=sx(r,n):e[i]=r},{allOwnKeys:o}),e),gP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),vP=(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)},bP=(e,t,n,o)=>{let r,i,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)a=r[i],(!o||o(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&np(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},yP=(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},xP=e=>{if(!e)return null;if(za(e))return e;let t=e.length;if(!cx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},CP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&np(Uint8Array)),wP=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=o.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},_P=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},SP=Ko("HTMLFormElement"),kP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),jg=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),TP=Ko("RegExp"),hx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};Zs(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},PP=e=>{hx(e,(t,n)=>{if(ro(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(ro(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+"'")})}})},RP=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return za(e)?o(e):o(String(e).split(t)),n},EP=()=>{},$P=(e,t)=>(e=+e,Number.isFinite(e)?e:t),gd="abcdefghijklmnopqrstuvwxyz",Vg="0123456789",px={DIGIT:Vg,ALPHA:gd,ALPHA_DIGIT:gd+gd.toUpperCase()+Vg},AP=(e=16,t=px.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function IP(e){return!!(e&&ro(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const MP=e=>{const t=new Array(10),n=(o,r)=>{if(su(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=za(o)?[]:{};return Zs(o,(a,s)=>{const l=n(a,r+1);!Ds(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},zP=Ko("AsyncFunction"),OP=e=>e&&(su(e)||ro(e))&&ro(e.then)&&ro(e.catch),Ae={isArray:za,isArrayBuffer:lx,isBuffer:oP,isFormData:fP,isArrayBufferView:rP,isString:iP,isNumber:cx,isBoolean:aP,isObject:su,isPlainObject:Ql,isUndefined:Ds,isDate:sP,isFile:lP,isBlob:cP,isRegExp:TP,isFunction:ro,isStream:dP,isURLSearchParams:hP,isTypedArray:CP,isFileList:uP,forEach:Zs,merge:Ef,extend:mP,trim:pP,stripBOM:gP,inherits:vP,toFlatObject:bP,kindOf:iu,kindOfTest:Ko,endsWith:yP,toArray:xP,forEachEntry:wP,matchAll:_P,isHTMLForm:SP,hasOwnProperty:jg,hasOwnProp:jg,reduceDescriptors:hx,freezeMethods:PP,toObjectSet:RP,toCamelCase:kP,noop:EP,toFiniteNumber:$P,findKey:ux,global:dx,isContextDefined:fx,ALPHABET:px,generateString:AP,isSpecCompliantForm:IP,toJSONObject:MP,isAsyncFn:zP,isThenable:OP};function It(e,t,n,o,r){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),r&&(this.response=r)}Ae.inherits(It,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:Ae.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const mx=It.prototype,gx={};["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=>{gx[e]={value:e}});Object.defineProperties(It,gx);Object.defineProperty(mx,"isAxiosError",{value:!0});It.from=(e,t,n,o,r,i)=>{const a=Object.create(mx);return Ae.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),It.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const DP=null;function $f(e){return Ae.isPlainObject(e)||Ae.isArray(e)}function vx(e){return Ae.endsWith(e,"[]")?e.slice(0,-2):e}function Ug(e,t,n){return e?e.concat(t).map(function(r,i){return r=vx(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function LP(e){return Ae.isArray(e)&&!e.some($f)}const FP=Ae.toFlatObject(Ae,{},null,function(t){return/^is[A-Z]/.test(t)});function lu(e,t,n){if(!Ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,b){return!Ae.isUndefined(b[g])});const o=n.metaTokens,r=n.visitor||u,i=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Ae.isSpecCompliantForm(t);if(!Ae.isFunction(r))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Ae.isDate(h))return h.toISOString();if(!l&&Ae.isBlob(h))throw new It("Blob is not supported. Use a Buffer instead.");return Ae.isArrayBuffer(h)||Ae.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,g,b){let m=h;if(h&&!b&&typeof h=="object"){if(Ae.endsWith(g,"{}"))g=o?g:g.slice(0,-2),h=JSON.stringify(h);else if(Ae.isArray(h)&&LP(h)||(Ae.isFileList(h)||Ae.endsWith(g,"[]"))&&(m=Ae.toArray(h)))return g=vx(g),m.forEach(function(k,S){!(Ae.isUndefined(k)||k===null)&&t.append(a===!0?Ug([g],S,i):a===null?g:g+"[]",c(k))}),!1}return $f(h)?!0:(t.append(Ug(b,g,i),c(h)),!1)}const d=[],f=Object.assign(FP,{defaultVisitor:u,convertValue:c,isVisitable:$f});function p(h,g){if(!Ae.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(h),Ae.forEach(h,function(m,y){(!(Ae.isUndefined(m)||m===null)&&r.call(t,m,Ae.isString(y)?y.trim():y,g,f))===!0&&p(m,g?g.concat(y):[y])}),d.pop()}}if(!Ae.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Wg(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function op(e,t){this._pairs=[],e&&lu(e,this,t)}const bx=op.prototype;bx.append=function(t,n){this._pairs.push([t,n])};bx.toString=function(t){const n=t?function(o){return t.call(this,o,Wg)}:Wg;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function NP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function yx(e,t,n){if(!t)return e;const o=n&&n.encode||NP,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Ae.isURLSearchParams(t)?t.toString():new op(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class BP{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){Ae.forEach(this.handlers,function(o){o!==null&&t(o)})}}const qg=BP,xx={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},HP=typeof URLSearchParams<"u"?URLSearchParams:op,jP=typeof FormData<"u"?FormData:null,VP=typeof Blob<"u"?Blob:null,UP={isBrowser:!0,classes:{URLSearchParams:HP,FormData:jP,Blob:VP},protocols:["http","https","file","blob","url","data"]},Cx=typeof window<"u"&&typeof document<"u",WP=(e=>Cx&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),qP=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),KP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Cx,hasStandardBrowserEnv:WP,hasStandardBrowserWebWorkerEnv:qP},Symbol.toStringTag,{value:"Module"})),zo={...KP,...UP};function GP(e,t){return lu(e,new zo.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return zo.isNode&&Ae.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function YP(e){return Ae.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function XP(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o=n.length;return a=!a&&Ae.isArray(r)?r.length:a,l?(Ae.hasOwnProp(r,a)?r[a]=[r[a],o]:r[a]=o,!s):((!r[a]||!Ae.isObject(r[a]))&&(r[a]=[]),t(n,o,r[a],i)&&Ae.isArray(r[a])&&(r[a]=XP(r[a])),!s)}if(Ae.isFormData(e)&&Ae.isFunction(e.entries)){const n={};return Ae.forEachEntry(e,(o,r)=>{t(YP(o),r,n,0)}),n}return null}function ZP(e,t,n){if(Ae.isString(e))try{return(t||JSON.parse)(e),Ae.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(n||JSON.stringify)(e)}const rp={transitional:xx,adapter:["xhr","http"],transformRequest:[function(t,n){const o=n.getContentType()||"",r=o.indexOf("application/json")>-1,i=Ae.isObject(t);if(i&&Ae.isHTMLForm(t)&&(t=new FormData(t)),Ae.isFormData(t))return r&&r?JSON.stringify(wx(t)):t;if(Ae.isArrayBuffer(t)||Ae.isBuffer(t)||Ae.isStream(t)||Ae.isFile(t)||Ae.isBlob(t))return t;if(Ae.isArrayBufferView(t))return t.buffer;if(Ae.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1)return GP(t,this.formSerializer).toString();if((s=Ae.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return lu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),ZP(t)):t}],transformResponse:[function(t){const n=this.transitional||rp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(t&&Ae.isString(t)&&(o&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?It.from(s,It.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:zo.classes.FormData,Blob:zo.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ae.forEach(["delete","get","head","post","put","patch"],e=>{rp.headers[e]={}});const ip=rp,JP=Ae.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"]),QP=e=>{const t={};let n,o,r;return e&&e.split(` +`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),o=a.substring(r+1).trim(),!(!n||t[n]&&JP[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},Kg=Symbol("internals");function ts(e){return e&&String(e).trim().toLowerCase()}function ec(e){return e===!1||e==null?e:Ae.isArray(e)?e.map(ec):String(e)}function eR(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}const tR=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vd(e,t,n,o,r){if(Ae.isFunction(o))return o.call(this,t,n);if(r&&(t=n),!!Ae.isString(t)){if(Ae.isString(o))return t.indexOf(o)!==-1;if(Ae.isRegExp(o))return o.test(t)}}function nR(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function oR(e,t){const n=Ae.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+n,{value:function(r,i,a){return this[o].call(this,t,r,i,a)},configurable:!0})})}class cu{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=ts(l);if(!u)throw new Error("header name must be a non-empty string");const d=Ae.findKey(r,u);(!d||r[d]===void 0||c===!0||c===void 0&&r[d]!==!1)&&(r[d||l]=ec(s))}const a=(s,l)=>Ae.forEach(s,(c,u)=>i(c,u,l));return Ae.isPlainObject(t)||t instanceof this.constructor?a(t,n):Ae.isString(t)&&(t=t.trim())&&!tR(t)?a(QP(t),n):t!=null&&i(n,t,o),this}get(t,n){if(t=ts(t),t){const o=Ae.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return eR(r);if(Ae.isFunction(n))return n.call(this,r,o);if(Ae.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ts(t),t){const o=Ae.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||vd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=ts(a),a){const s=Ae.findKey(o,a);s&&(!n||vd(o,o[s],s,n))&&(delete o[s],r=!0)}}return Ae.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let o=n.length,r=!1;for(;o--;){const i=n[o];(!t||vd(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,o={};return Ae.forEach(this,(r,i)=>{const a=Ae.findKey(o,i);if(a){n[a]=ec(r),delete n[i];return}const s=t?nR(i):String(i).trim();s!==i&&delete n[i],n[s]=ec(r),o[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Ae.forEach(this,(o,r)=>{o!=null&&o!==!1&&(n[r]=t&&Ae.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(r=>o.set(r)),o}static accessor(t){const o=(this[Kg]=this[Kg]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=ts(a);o[s]||(oR(r,a),o[s]=!0)}return Ae.isArray(t)?t.forEach(i):i(t),this}}cu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ae.reduceDescriptors(cu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Ae.freezeMethods(cu);const ir=cu;function bd(e,t){const n=this||ip,o=t||n,r=ir.from(o.headers);let i=o.data;return Ae.forEach(e,function(s){i=s.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function _x(e){return!!(e&&e.__CANCEL__)}function Js(e,t,n){It.call(this,e??"canceled",It.ERR_CANCELED,t,n),this.name="CanceledError"}Ae.inherits(Js,It,{__CANCEL__:!0});function rR(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new It("Request failed with status code "+n.status,[It.ERR_BAD_REQUEST,It.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const iR=zo.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const a=[e+"="+encodeURIComponent(t)];Ae.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),Ae.isString(o)&&a.push("path="+o),Ae.isString(r)&&a.push("domain="+r),i===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function aR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function sR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Sx(e,t){return e&&!aR(t)?sR(e,t):t}const lR=zo.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let o;function r(i){let a=i;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{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=r(window.location.href),function(a){const s=Ae.isString(a)?r(a):a;return s.protocol===o.protocol&&s.host===o.host}}():function(){return function(){return!0}}();function cR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function uR(e,t){e=e||10;const n=new Array(e),o=new Array(e);let r=0,i=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=o[i];a||(a=c),n[r]=l,o[r]=c;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),c-a{const i=r.loaded,a=r.lengthComputable?r.total:void 0,s=i-n,l=o(s),c=i<=a;n=i;const u={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&c?(a-i)/l:void 0,event:r};u[t?"download":"upload"]=!0,e(u)}}const dR=typeof XMLHttpRequest<"u",fR=dR&&function(e){return new Promise(function(n,o){let r=e.data;const i=ir.from(e.headers).normalize();let{responseType:a,withXSRFToken:s}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let u;if(Ae.isFormData(r)){if(zo.hasStandardBrowserEnv||zo.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((u=i.getContentType())!==!1){const[g,...b]=u?u.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([g||"multipart/form-data",...b].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const g=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";i.set("Authorization","Basic "+btoa(g+":"+b))}const f=Sx(e.baseURL,e.url);d.open(e.method.toUpperCase(),yx(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const g=ir.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),m={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:g,config:e,request:d};rR(function(k){n(k),c()},function(k){o(k),c()},m),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(o(new It("Request aborted",It.ECONNABORTED,e,d)),d=null)},d.onerror=function(){o(new It("Network Error",It.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const m=e.transitional||xx;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),o(new It(b,m.clarifyTimeoutError?It.ETIMEDOUT:It.ECONNABORTED,e,d)),d=null},zo.hasStandardBrowserEnv&&(s&&Ae.isFunction(s)&&(s=s(e)),s||s!==!1&&lR(f))){const g=e.xsrfHeaderName&&e.xsrfCookieName&&iR.read(e.xsrfCookieName);g&&i.set(e.xsrfHeaderName,g)}r===void 0&&i.setContentType(null),"setRequestHeader"in d&&Ae.forEach(i.toJSON(),function(b,m){d.setRequestHeader(m,b)}),Ae.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Gg(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Gg(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=g=>{d&&(o(!g||g.type?new Js(null,e,d):g),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=cR(f);if(h&&zo.protocols.indexOf(h)===-1){o(new It("Unsupported protocol "+h+":",It.ERR_BAD_REQUEST,e));return}d.send(r||null)})},Af={http:DP,xhr:fR};Ae.forEach(Af,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Yg=e=>`- ${e}`,hR=e=>Ae.isFunction(e)||e===null||e===!1,kx={getAdapter:e=>{e=Ae.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?i.length>1?`since : `+i.map(Yg).join(` -`):" "+Yg(i[0]):"as no adapter specified";throw new It("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:$f};function bd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Js(null,e)}function Xg(e){return bd(e),e.headers=ir.from(e.headers),e.data=vd.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ix.getAdapter(e.adapter||ip.adapter)(e).then(function(o){return bd(e),o.data=vd.call(e,e.transformResponse,o),o.headers=ir.from(o.headers),o},function(o){return $x(o)||(bd(e),o&&o.response&&(o.response.data=vd.call(e,e.transformResponse,o.response),o.response.headers=ir.from(o.response.headers))),Promise.reject(o)})}const Zg=e=>e instanceof ir?e.toJSON():e;function Ca(e,t){t=t||{};const n={};function o(c,u,d){return Ae.isPlainObject(c)&&Ae.isPlainObject(u)?Ae.merge.call({caseless:d},c,u):Ae.isPlainObject(u)?Ae.merge({},u):Ae.isArray(u)?u.slice():u}function r(c,u,d){if(Ae.isUndefined(u)){if(!Ae.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Ae.isUndefined(u))return o(void 0,u)}function a(c,u){if(Ae.isUndefined(u)){if(!Ae.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(Zg(c),Zg(u),!0)};return Ae.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Ae.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Mx="1.6.5",ap={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ap[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Jg={};ap.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Mx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new It(r(a," has been removed"+(n?" in "+n:"")),It.ERR_DEPRECATED);return n&&!Jg[a]&&(Jg[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function fR(e,t,n){if(typeof e!="object")throw new It("options must be an object",It.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new It("option "+i+" must be "+l,It.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new It("Unknown option "+i,It.ERR_BAD_OPTION)}}const Af={assertOptions:fR,validators:ap},Cr=Af.validators;class bc{constructor(t){this.defaults=t,this.interceptors={request:new qg,response:new qg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ca(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&Af.assertOptions(o,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),r!=null&&(Ae.isFunction(r)?n.paramsSerializer={serialize:r}:Af.assertOptions(r,{encode:Cr.function,serialize:Cr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Ae.merge(i.common,i[n.method]);i&&Ae.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=ir.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const h=[Xg.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Js(i,a,s),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 sp(function(r){t=r}),cancel:t}}}const hR=sp;function pR(e){return function(n){return e.apply(null,n)}}function mR(e){return Ae.isObject(e)&&e.isAxiosError===!0}const If={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(If).forEach(([e,t])=>{If[t]=e});const gR=If;function zx(e){const t=new tc(e),n=px(tc.prototype.request,t);return Ae.extend(n,tc.prototype,t,{allOwnKeys:!0}),Ae.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return zx(Ca(e,r))},n}const vn=zx(ip);vn.Axios=tc;vn.CanceledError=Js;vn.CancelToken=hR;vn.isCancel=$x;vn.VERSION=Mx;vn.toFormData=lu;vn.AxiosError=It;vn.Cancel=vn.CanceledError;vn.all=function(t){return Promise.all(t)};vn.spread=pR;vn.isAxiosError=mR;vn.mergeConfig=Ca;vn.AxiosHeaders=ir;vn.formToJSON=e=>Ex(Ae.isHTMLForm(e)?new FormData(e):e);vn.getAdapter=Ix.getAdapter;vn.HttpStatusCode=gR;vn.default=vn;const vR=vn,bR=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function yR({url:e,method:t=""}){return bR.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function xR(e){return typeof e>"u"}function CR(e){return e===null}function wR(e){return CR(e)||xR(e)}function Ox(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class _R{constructor(t){td(this,"storage");td(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return wR(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function Dx({prefixKey:e="",storage:t=sessionStorage}){return new _R({prefixKey:e,storage:t})}const Lx="Vue_Naive_",SR=function(e={}){return Dx({prefixKey:e.prefixKey||"",storage:localStorage})},kR=function(e={}){return Dx({prefixKey:e.prefixKey||"",storage:sessionStorage})},Ai=SR({prefixKey:Lx}),yc=kR({prefixKey:Lx}),lp="access_token",TR=72*60*60;function Fx(){return Ai.get(lp)}function PR(e){Ai.set(lp,e,TR)}function Nx(){Ai.remove(lp)}function cp(){const e=he(on.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(on.currentRoute.value.path);on.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Bx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function up(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function RR(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Hx={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Bx,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",h="date",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var z=["th","st","nd","rd"],D=F%100;return"["+F+(z[(D-20)%10]||z[D]||z[0])+"]"}},k=function(F,z,D){var Y=String(F);return!Y||Y.length>=z?F:""+Array(z+1-Y.length).join(D)+F},S={s:k,z:function(F){var z=-F.utcOffset(),D=Math.abs(z),Y=Math.floor(D/60),Q=D%60;return(z<=0?"+":"-")+k(Y,2,"0")+":"+k(Q,2,"0")},m:function F(z,D){if(z.date()1)return F(le[0])}else{var B=z.name;x[B]=z,Q=B}return!Y&&Q&&(w=Q),Q||!Y&&w},E=function(F,z){if(_(F))return F.clone();var D=typeof z=="object"?z:{};return D.date=F,D.args=arguments,new A(D)},M=S;M.l=R,M.i=_,M.w=function(F,z){return E(F,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var A=function(){function F(D){this.$L=R(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[C]=!0}var z=F.prototype;return z.parse=function(D){this.$d=function(Y){var Q=Y.date,ce=Y.utc;if(Q===null)return new Date(NaN);if(M.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var le=Q.match(b);if(le){var B=le[2]-1||0,$=(le[7]||"0").substring(0,3);return ce?new Date(Date.UTC(le[1],B,le[3]||1,le[4]||0,le[5]||0,le[6]||0,$)):new Date(le[1],B,le[3]||1,le[4]||0,le[5]||0,le[6]||0,$)}}return new Date(Q)}(D),this.init()},z.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},z.$utils=function(){return M},z.isValid=function(){return this.$d.toString()!==g},z.isSame=function(D,Y){var Q=E(D);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},z.isAfter=function(D,Y){return E(D)e instanceof ir?e.toJSON():e;function Ca(e,t){t=t||{};const n={};function o(c,u,d){return Ae.isPlainObject(c)&&Ae.isPlainObject(u)?Ae.merge.call({caseless:d},c,u):Ae.isPlainObject(u)?Ae.merge({},u):Ae.isArray(u)?u.slice():u}function r(c,u,d){if(Ae.isUndefined(u)){if(!Ae.isUndefined(c))return o(void 0,c,d)}else return o(c,u,d)}function i(c,u){if(!Ae.isUndefined(u))return o(void 0,u)}function a(c,u){if(Ae.isUndefined(u)){if(!Ae.isUndefined(c))return o(void 0,c)}else return o(void 0,u)}function s(c,u,d){if(d in t)return o(c,u);if(d in e)return o(void 0,c)}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u)=>r(Zg(c),Zg(u),!0)};return Ae.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||r,f=d(e[u],t[u],u);Ae.isUndefined(f)&&d!==s||(n[u]=f)}),n}const Tx="1.6.5",ap={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ap[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Jg={};ap.transitional=function(t,n,o){function r(i,a){return"[Axios v"+Tx+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new It(r(a," has been removed"+(n?" in "+n:"")),It.ERR_DEPRECATED);return n&&!Jg[a]&&(Jg[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,a,s):!0}};function pR(e,t,n){if(typeof e!="object")throw new It("options must be an object",It.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let r=o.length;for(;r-- >0;){const i=o[r],a=t[i];if(a){const s=e[i],l=s===void 0||a(s,i,e);if(l!==!0)throw new It("option "+i+" must be "+l,It.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new It("Unknown option "+i,It.ERR_BAD_OPTION)}}const If={assertOptions:pR,validators:ap},Cr=If.validators;class bc{constructor(t){this.defaults=t,this.interceptors={request:new qg,response:new qg}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Ca(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&If.assertOptions(o,{silentJSONParsing:Cr.transitional(Cr.boolean),forcedJSONParsing:Cr.transitional(Cr.boolean),clarifyTimeoutError:Cr.transitional(Cr.boolean)},!1),r!=null&&(Ae.isFunction(r)?n.paramsSerializer={serialize:r}:If.assertOptions(r,{encode:Cr.function,serialize:Cr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=i&&Ae.merge(i.common,i[n.method]);i&&Ae.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),n.headers=ir.concat(a,i);const s=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const c=[];this.interceptors.response.forEach(function(g){c.push(g.fulfilled,g.rejected)});let u,d=0,f;if(!l){const h=[Xg.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,c),f=h.length,u=Promise.resolve(n);d{if(!o._listeners)return;let i=o._listeners.length;for(;i-- >0;)o._listeners[i](r);o._listeners=null}),this.promise.then=r=>{let i;const a=new Promise(s=>{o.subscribe(s),i=s}).then(r);return a.cancel=function(){o.unsubscribe(i)},a},t(function(i,a,s){o.reason||(o.reason=new Js(i,a,s),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 sp(function(r){t=r}),cancel:t}}}const mR=sp;function gR(e){return function(n){return e.apply(null,n)}}function vR(e){return Ae.isObject(e)&&e.isAxiosError===!0}const Mf={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(Mf).forEach(([e,t])=>{Mf[t]=e});const bR=Mf;function Px(e){const t=new tc(e),n=sx(tc.prototype.request,t);return Ae.extend(n,tc.prototype,t,{allOwnKeys:!0}),Ae.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Px(Ca(e,r))},n}const vn=Px(ip);vn.Axios=tc;vn.CanceledError=Js;vn.CancelToken=mR;vn.isCancel=_x;vn.VERSION=Tx;vn.toFormData=lu;vn.AxiosError=It;vn.Cancel=vn.CanceledError;vn.all=function(t){return Promise.all(t)};vn.spread=gR;vn.isAxiosError=vR;vn.mergeConfig=Ca;vn.AxiosHeaders=ir;vn.formToJSON=e=>wx(Ae.isHTMLForm(e)?new FormData(e):e);vn.getAdapter=kx.getAdapter;vn.HttpStatusCode=bR;vn.default=vn;const yR=vn,xR=[{url:"/passport/auth/login",method:"POST"},{url:"/passport/auth/token2Login",method:"GET"},{url:"/passport/auth/register",method:"POST"},{url:"/passport/auth/register",method:"POST"},{url:"/guest/comm/config",method:"GET"},{url:"/passport/comm/sendEmailVerify",method:"POST"},{url:"/passport/auth/forget",method:"POST"}];function CR({url:e,method:t=""}){return xR.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function wR(e){return typeof e>"u"}function _R(e){return e===null}function SR(e){return _R(e)||wR(e)}function Rx(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class kR{constructor(t){nd(this,"storage");nd(this,"prefixKey");this.storage=t.storage,this.prefixKey=t.prefixKey}getKey(t){return`${this.prefixKey}${t}`.toUpperCase()}set(t,n,o=null){const r=JSON.stringify({value:n,time:Date.now(),expire:o!==null?new Date().getTime()+o*1e3:null});this.storage.setItem(this.getKey(t),r)}get(t,n=null){const o=this.storage.getItem(this.getKey(t));if(!o)return{value:n,time:0};try{const r=JSON.parse(o),{value:i,time:a,expire:s}=r;return SR(s)||s>new Date().getTime()?{value:i,time:a}:(this.remove(t),{value:n,time:0})}catch{return this.remove(t),{value:n,time:0}}}remove(t){this.storage.removeItem(this.getKey(t))}clear(){this.storage.clear()}}function Ex({prefixKey:e="",storage:t=sessionStorage}){return new kR({prefixKey:e,storage:t})}const $x="Vue_Naive_",TR=function(e={}){return Ex({prefixKey:e.prefixKey||"",storage:localStorage})},PR=function(e={}){return Ex({prefixKey:e.prefixKey||"",storage:sessionStorage})},Ai=TR({prefixKey:$x}),yc=PR({prefixKey:$x}),lp="access_token",RR=72*60*60;function Ax(){return Ai.get(lp)}function ER(e){Ai.set(lp,e,RR)}function Ix(){Ai.remove(lp)}function cp(){const e=he(on.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(on.currentRoute.value.path);on.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Mx=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function up(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function $R(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var zx={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Mx,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",p="year",h="date",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(F){var z=["th","st","nd","rd"],D=F%100;return"["+F+(z[(D-20)%10]||z[D]||z[0])+"]"}},k=function(F,z,D){var Y=String(F);return!Y||Y.length>=z?F:""+Array(z+1-Y.length).join(D)+F},S={s:k,z:function(F){var z=-F.utcOffset(),D=Math.abs(z),Y=Math.floor(D/60),Q=D%60;return(z<=0?"+":"-")+k(Y,2,"0")+":"+k(Q,2,"0")},m:function F(z,D){if(z.date()1)return F(le[0])}else{var B=z.name;x[B]=z,Q=B}return!Y&&Q&&(w=Q),Q||!Y&&w},E=function(F,z){if(_(F))return F.clone();var D=typeof z=="object"?z:{};return D.date=F,D.args=arguments,new A(D)},M=S;M.l=R,M.i=_,M.w=function(F,z){return E(F,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var A=function(){function F(D){this.$L=R(D.locale,null,!0),this.parse(D),this.$x=this.$x||D.x||{},this[C]=!0}var z=F.prototype;return z.parse=function(D){this.$d=function(Y){var Q=Y.date,ce=Y.utc;if(Q===null)return new Date(NaN);if(M.u(Q))return new Date;if(Q instanceof Date)return new Date(Q);if(typeof Q=="string"&&!/Z$/i.test(Q)){var le=Q.match(b);if(le){var B=le[2]-1||0,$=(le[7]||"0").substring(0,3);return ce?new Date(Date.UTC(le[1],B,le[3]||1,le[4]||0,le[5]||0,le[6]||0,$)):new Date(le[1],B,le[3]||1,le[4]||0,le[5]||0,le[6]||0,$)}}return new Date(Q)}(D),this.init()},z.init=function(){var D=this.$d;this.$y=D.getFullYear(),this.$M=D.getMonth(),this.$D=D.getDate(),this.$W=D.getDay(),this.$H=D.getHours(),this.$m=D.getMinutes(),this.$s=D.getSeconds(),this.$ms=D.getMilliseconds()},z.$utils=function(){return M},z.isValid=function(){return this.$d.toString()!==g},z.isSame=function(D,Y){var Q=E(D);return this.startOf(Y)<=Q&&Q<=this.endOf(Y)},z.isAfter=function(D,Y){return E(D)1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof I=="string"?ne=y(I,K):I instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(I==null?void 0:I.type)?ne=y(I.value,K):(ne=p()(I),h("copy")),ne},S=k;function w($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(K){return typeof K}:w=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},w($)}var x=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=I.action,ne=K===void 0?"copy":K,ve=I.container,J=I.target,ye=I.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&w(J)==="object"&&J.nodeType===1){if(ne==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(J.hasAttribute("readonly")||J.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ye)return S(ye,{container:ve});if(J)return ne==="cut"?b(J):S(J,{container:ve})},C=x;function _($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(K){return typeof K}:_=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},_($)}function R($,I){if(!($ instanceof I))throw new TypeError("Cannot call a class as a function")}function E($,I){for(var K=0;K"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q($){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},Q($)}function ce($,I){var K="data-clipboard-".concat($);if(I.hasAttribute(K))return I.getAttribute(K)}var le=function($){A(K,$);var I=F(K);function K(ne,ve){var J;return R(this,K),J=I.call(this),J.resolveOptions(ve),J.listenClick(ne),J}return M(K,[{key:"resolveOptions",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ve.action=="function"?ve.action:this.defaultAction,this.target=typeof ve.target=="function"?ve.target:this.defaultTarget,this.text=typeof ve.text=="function"?ve.text:this.defaultText,this.container=_(ve.container)==="object"?ve.container:document.body}},{key:"listenClick",value:function(ve){var J=this;this.listener=d()(ve,"click",function(ye){return J.onClick(ye)})}},{key:"onClick",value:function(ve){var J=ve.delegateTarget||ve.currentTarget,ye=this.action(J)||"copy",j=C({action:ye,container:this.container,target:this.target(J),text:this.text(J)});this.emit(j?"success":"error",{action:ye,text:j,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ve){return ce("action",ve)}},{key:"defaultTarget",value:function(ve){var J=ce("target",ve);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(ve){return ce("text",ve)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ve){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(ve,J)}},{key:"cut",value:function(ve){return b(ve)}},{key:"isSupported",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof ve=="string"?[ve]:ve,ye=!!document.queryCommandSupported;return J.forEach(function(j){ye=ye&&!!document.queryCommandSupported(j)}),ye}}]),K}(c()),B=le},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(f,p,h,g,b){var m=d.apply(this,arguments);return f.addEventListener(h,m,b),{destroy:function(){f.removeEventListener(h,m,b)}}}function u(f,p,h,g,b){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof h=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(m){return c(m,p,h,g,b)}))}function d(f,p,h,g){return function(b){b.delegateTarget=l(b.target,p),b.delegateTarget&&g.call(f,b)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,a,s){var l=s(879),c=s(438);function u(h,g,b){if(!h&&!g&&!b)throw new Error("Missing required arguments");if(!l.string(g))throw new TypeError("Second argument must be a String");if(!l.fn(b))throw new TypeError("Third argument must be a Function");if(l.node(h))return d(h,g,b);if(l.nodeList(h))return f(h,g,b);if(l.string(h))return p(h,g,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(h,g,b){return h.addEventListener(g,b),{destroy:function(){h.removeEventListener(g,b)}}}function f(h,g,b){return Array.prototype.forEach.call(h,function(m){m.addEventListener(g,b)}),{destroy:function(){Array.prototype.forEach.call(h,function(m){m.removeEventListener(g,b)})}}}function p(h,g,b){return c(document.body,h,g,b)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})};/*! + */(function(e,t){(function(o,r){e.exports=r()})(Mx,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return B}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),p=s.n(f);function h($){try{return document.execCommand($)}catch{return!1}}var g=function(I){var K=p()(I);return h("cut"),K},b=g;function m($){var I=document.documentElement.getAttribute("dir")==="rtl",K=document.createElement("textarea");K.style.fontSize="12pt",K.style.border="0",K.style.padding="0",K.style.margin="0",K.style.position="absolute",K.style[I?"right":"left"]="-9999px";var ne=window.pageYOffset||document.documentElement.scrollTop;return K.style.top="".concat(ne,"px"),K.setAttribute("readonly",""),K.value=$,K}var y=function(I,K){var ne=m(I);K.container.appendChild(ne);var ve=p()(ne);return h("copy"),ne.remove(),ve},k=function(I){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},ne="";return typeof I=="string"?ne=y(I,K):I instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(I==null?void 0:I.type)?ne=y(I.value,K):(ne=p()(I),h("copy")),ne},S=k;function w($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?w=function(K){return typeof K}:w=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},w($)}var x=function(){var I=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=I.action,ne=K===void 0?"copy":K,ve=I.container,J=I.target,ye=I.text;if(ne!=="copy"&&ne!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(J!==void 0)if(J&&w(J)==="object"&&J.nodeType===1){if(ne==="copy"&&J.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(ne==="cut"&&(J.hasAttribute("readonly")||J.hasAttribute("disabled")))throw new Error(`Invalid "target" attribute. You can't cut text from elements with "readonly" or "disabled" attributes`)}else throw new Error('Invalid "target" value, use a valid Element');if(ye)return S(ye,{container:ve});if(J)return ne==="cut"?b(J):S(J,{container:ve})},C=x;function _($){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_=function(K){return typeof K}:_=function(K){return K&&typeof Symbol=="function"&&K.constructor===Symbol&&K!==Symbol.prototype?"symbol":typeof K},_($)}function R($,I){if(!($ instanceof I))throw new TypeError("Cannot call a class as a function")}function E($,I){for(var K=0;K"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function Q($){return Q=Object.setPrototypeOf?Object.getPrototypeOf:function(K){return K.__proto__||Object.getPrototypeOf(K)},Q($)}function ce($,I){var K="data-clipboard-".concat($);if(I.hasAttribute(K))return I.getAttribute(K)}var le=function($){A(K,$);var I=F(K);function K(ne,ve){var J;return R(this,K),J=I.call(this),J.resolveOptions(ve),J.listenClick(ne),J}return M(K,[{key:"resolveOptions",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof ve.action=="function"?ve.action:this.defaultAction,this.target=typeof ve.target=="function"?ve.target:this.defaultTarget,this.text=typeof ve.text=="function"?ve.text:this.defaultText,this.container=_(ve.container)==="object"?ve.container:document.body}},{key:"listenClick",value:function(ve){var J=this;this.listener=d()(ve,"click",function(ye){return J.onClick(ye)})}},{key:"onClick",value:function(ve){var J=ve.delegateTarget||ve.currentTarget,ye=this.action(J)||"copy",j=C({action:ye,container:this.container,target:this.target(J),text:this.text(J)});this.emit(j?"success":"error",{action:ye,text:j,trigger:J,clearSelection:function(){J&&J.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(ve){return ce("action",ve)}},{key:"defaultTarget",value:function(ve){var J=ce("target",ve);if(J)return document.querySelector(J)}},{key:"defaultText",value:function(ve){return ce("text",ve)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(ve){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return S(ve,J)}},{key:"cut",value:function(ve){return b(ve)}},{key:"isSupported",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],J=typeof ve=="string"?[ve]:ve,ye=!!document.queryCommandSupported;return J.forEach(function(j){ye=ye&&!!document.queryCommandSupported(j)}),ye}}]),K}(c()),B=le},828:function(i){var a=9;if(typeof Element<"u"&&!Element.prototype.matches){var s=Element.prototype;s.matches=s.matchesSelector||s.mozMatchesSelector||s.msMatchesSelector||s.oMatchesSelector||s.webkitMatchesSelector}function l(c,u){for(;c&&c.nodeType!==a;){if(typeof c.matches=="function"&&c.matches(u))return c;c=c.parentNode}}i.exports=l},438:function(i,a,s){var l=s(828);function c(f,p,h,g,b){var m=d.apply(this,arguments);return f.addEventListener(h,m,b),{destroy:function(){f.removeEventListener(h,m,b)}}}function u(f,p,h,g,b){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof h=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(m){return c(m,p,h,g,b)}))}function d(f,p,h,g){return function(b){b.delegateTarget=l(b.target,p),b.delegateTarget&&g.call(f,b)}}i.exports=u},879:function(i,a){a.node=function(s){return s!==void 0&&s instanceof HTMLElement&&s.nodeType===1},a.nodeList=function(s){var l=Object.prototype.toString.call(s);return s!==void 0&&(l==="[object NodeList]"||l==="[object HTMLCollection]")&&"length"in s&&(s.length===0||a.node(s[0]))},a.string=function(s){return typeof s=="string"||s instanceof String},a.fn=function(s){var l=Object.prototype.toString.call(s);return l==="[object Function]"}},370:function(i,a,s){var l=s(879),c=s(438);function u(h,g,b){if(!h&&!g&&!b)throw new Error("Missing required arguments");if(!l.string(g))throw new TypeError("Second argument must be a String");if(!l.fn(b))throw new TypeError("Third argument must be a Function");if(l.node(h))return d(h,g,b);if(l.nodeList(h))return f(h,g,b);if(l.string(h))return p(h,g,b);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(h,g,b){return h.addEventListener(g,b),{destroy:function(){h.removeEventListener(g,b)}}}function f(h,g,b){return Array.prototype.forEach.call(h,function(m){m.addEventListener(g,b)}),{destroy:function(){Array.prototype.forEach.call(h,function(m){m.removeEventListener(g,b)})}}}function p(h,g,b){return c(document.body,h,g,b)}i.exports=u},817:function(i){function a(s){var l;if(s.nodeName==="SELECT")s.focus(),l=s.value;else if(s.nodeName==="INPUT"||s.nodeName==="TEXTAREA"){var c=s.hasAttribute("readonly");c||s.setAttribute("readonly",""),s.select(),s.setSelectionRange(0,s.value.length),c||s.removeAttribute("readonly"),l=s.value}else{s.hasAttribute("contenteditable")&&s.focus();var u=window.getSelection(),d=document.createRange();d.selectNodeContents(s),u.removeAllRanges(),u.addRange(d),l=u.toString()}return l}i.exports=a},279:function(i){function a(){}a.prototype={on:function(s,l,c){var u=this.e||(this.e={});return(u[s]||(u[s]=[])).push({fn:l,ctx:c}),this},once:function(s,l,c){var u=this;function d(){u.off(s,d),l.apply(c,arguments)}return d._=l,this.on(s,d,c)},emit:function(s){var l=[].slice.call(arguments,1),c=((this.e||(this.e={}))[s]||[]).slice(),u=0,d=c.length;for(u;u{const n=e[t];return n?typeof n=="function"?n():Promise.resolve(n):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+t)))})};/*! * shared v9.9.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const xc=typeof window<"u",Ur=(e,t=!1)=>t?Symbol.for(e):Symbol(e),zR=(e,t,n)=>OR({l:e,k:t,s:n}),OR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),DR=e=>Ux(e)==="[object Date]",Nr=e=>Ux(e)==="[object RegExp]",uu=e=>mt(e)&&Object.keys(e).length===0,Tn=Object.assign;let Qg;const or=()=>Qg||(Qg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ev(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const LR=Object.prototype.hasOwnProperty;function Cc(e,t){return LR.call(e,t)}const en=Array.isArray,Gt=e=>typeof e=="function",Ge=e=>typeof e=="string",_t=e=>typeof e=="boolean",Bt=e=>e!==null&&typeof e=="object",FR=e=>Bt(e)&&Gt(e.then)&&Gt(e.catch),Vx=Object.prototype.toString,Ux=e=>Vx.call(e),mt=e=>{if(!Bt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},NR=e=>e==null?"":en(e)||mt(e)&&e.toString===Vx?JSON.stringify(e,null,2):String(e);function BR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function dp(e){let t=e;return()=>++t}function HR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Sl=e=>!Bt(e)||en(e);function nc(e,t){if(Sl(e)||Sl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Sl(o[i])||Sl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*! + */const xc=typeof window<"u",Ur=(e,t=!1)=>t?Symbol.for(e):Symbol(e),DR=(e,t,n)=>LR({l:e,k:t,s:n}),LR=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),FR=e=>Lx(e)==="[object Date]",Nr=e=>Lx(e)==="[object RegExp]",uu=e=>mt(e)&&Object.keys(e).length===0,Tn=Object.assign;let Qg;const or=()=>Qg||(Qg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ev(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const NR=Object.prototype.hasOwnProperty;function Cc(e,t){return NR.call(e,t)}const en=Array.isArray,Gt=e=>typeof e=="function",Ge=e=>typeof e=="string",_t=e=>typeof e=="boolean",Bt=e=>e!==null&&typeof e=="object",BR=e=>Bt(e)&&Gt(e.then)&&Gt(e.catch),Dx=Object.prototype.toString,Lx=e=>Dx.call(e),mt=e=>{if(!Bt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},HR=e=>e==null?"":en(e)||mt(e)&&e.toString===Dx?JSON.stringify(e,null,2):String(e);function jR(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function dp(e){let t=e;return()=>++t}function VR(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Sl=e=>!Bt(e)||en(e);function nc(e,t){if(Sl(e)||Sl(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:o,des:r}=n.pop();Object.keys(o).forEach(i=>{Sl(o[i])||Sl(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*! * message-compiler v9.9.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function jR(e,t,n){return{line:e,column:t,offset:n}}function Mf(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const VR=/\{([0-9a-zA-Z]+)\}/g;function UR(e,...t){return t.length===1&&WR(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(VR,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Wx=Object.assign,tv=e=>typeof e=="string",WR=e=>e!==null&&typeof e=="object";function qx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},qR={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Oa(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=UR((r||qR)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function KR(e){throw e}const Qo=" ",GR="\r",Mn=` -`,YR=String.fromCharCode(8232),XR=String.fromCharCode(8233);function ZR(e){const t=e;let n=0,o=1,r=1,i=0;const a=C=>t[C]===GR&&t[C+1]===Mn,s=C=>t[C]===Mn,l=C=>t[C]===XR,c=C=>t[C]===YR,u=C=>a(C)||s(C)||l(C)||c(C),d=()=>n,f=()=>o,p=()=>r,h=()=>i,g=C=>a(C)||l(C)||c(C)?Mn:t[C],b=()=>g(n),m=()=>g(n+i);function y(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function k(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,o=1,r=1,i=0}function w(C=0){i=C}function x(){const C=n+i;for(;C!==n;)y();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:g,currentChar:b,currentPeek:m,next:y,peek:k,reset:S,resetPeek:w,skipToPeek:x}}const wr=void 0,JR=".",nv="'",QR="tokenizer";function eE(e,t={}){const n=t.location!==!1,o=ZR(e),r=()=>o.index(),i=()=>jR(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(T,P,U,...oe){const G=c();if(P.column+=U,P.offset+=U,u){const se=n?Mf(G.startLoc,P):null,xe=Oa(T,se,{domain:QR,args:oe});u(xe)}}function f(T,P,U){T.endLoc=i(),T.currentType=P;const oe={type:P};return n&&(oe.loc=Mf(T.startLoc,T.endLoc)),U!=null&&(oe.value=U),oe}const p=T=>f(T,14);function h(T,P){return T.currentChar()===P?(T.next(),P):(d(dt.EXPECTED_TOKEN,i(),0,P),"")}function g(T){let P="";for(;T.currentPeek()===Qo||T.currentPeek()===Mn;)P+=T.currentPeek(),T.peek();return P}function b(T){const P=g(T);return T.skipToPeek(),P}function m(T){if(T===wr)return!1;const P=T.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P===95}function y(T){if(T===wr)return!1;const P=T.charCodeAt(0);return P>=48&&P<=57}function k(T,P){const{currentType:U}=P;if(U!==2)return!1;g(T);const oe=m(T.currentPeek());return T.resetPeek(),oe}function S(T,P){const{currentType:U}=P;if(U!==2)return!1;g(T);const oe=T.currentPeek()==="-"?T.peek():T.currentPeek(),G=y(oe);return T.resetPeek(),G}function w(T,P){const{currentType:U}=P;if(U!==2)return!1;g(T);const oe=T.currentPeek()===nv;return T.resetPeek(),oe}function x(T,P){const{currentType:U}=P;if(U!==8)return!1;g(T);const oe=T.currentPeek()===".";return T.resetPeek(),oe}function C(T,P){const{currentType:U}=P;if(U!==9)return!1;g(T);const oe=m(T.currentPeek());return T.resetPeek(),oe}function _(T,P){const{currentType:U}=P;if(!(U===8||U===12))return!1;g(T);const oe=T.currentPeek()===":";return T.resetPeek(),oe}function R(T,P){const{currentType:U}=P;if(U!==10)return!1;const oe=()=>{const se=T.currentPeek();return se==="{"?m(T.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===Qo||!se?!1:se===Mn?(T.peek(),oe()):m(se)},G=oe();return T.resetPeek(),G}function E(T){g(T);const P=T.currentPeek()==="|";return T.resetPeek(),P}function M(T){const P=g(T),U=T.currentPeek()==="%"&&T.peek()==="{";return T.resetPeek(),{isModulo:U,hasSpace:P.length>0}}function A(T,P=!0){const U=(G=!1,se="",xe=!1)=>{const be=T.currentPeek();return be==="{"?se==="%"?!1:G:be==="@"||!be?se==="%"?!0:G:be==="%"?(T.peek(),U(G,"%",!0)):be==="|"?se==="%"||xe?!0:!(se===Qo||se===Mn):be===Qo?(T.peek(),U(!0,Qo,xe)):be===Mn?(T.peek(),U(!0,Mn,xe)):!0},oe=U();return P&&T.resetPeek(),oe}function q(T,P){const U=T.currentChar();return U===wr?wr:P(U)?(T.next(),U):null}function F(T){return q(T,U=>{const oe=U.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36})}function z(T){return q(T,U=>{const oe=U.charCodeAt(0);return oe>=48&&oe<=57})}function D(T){return q(T,U=>{const oe=U.charCodeAt(0);return oe>=48&&oe<=57||oe>=65&&oe<=70||oe>=97&&oe<=102})}function Y(T){let P="",U="";for(;P=z(T);)U+=P;return U}function Q(T){b(T);const P=T.currentChar();return P!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,P),T.next(),"%"}function ce(T){let P="";for(;;){const U=T.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U==="%")if(A(T))P+=U,T.next();else break;else if(U===Qo||U===Mn)if(A(T))P+=U,T.next();else{if(E(T))break;P+=U,T.next()}else P+=U,T.next()}return P}function le(T){b(T);let P="",U="";for(;P=F(T);)U+=P;return T.currentChar()===wr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function B(T){b(T);let P="";return T.currentChar()==="-"?(T.next(),P+=`-${Y(T)}`):P+=Y(T),T.currentChar()===wr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),P}function $(T){b(T),h(T,"'");let P="",U="";const oe=se=>se!==nv&&se!==Mn;for(;P=q(T,oe);)P==="\\"?U+=I(T):U+=P;const G=T.currentChar();return G===Mn||G===wr?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),G===Mn&&(T.next(),h(T,"'")),U):(h(T,"'"),U)}function I(T){const P=T.currentChar();switch(P){case"\\":case"'":return T.next(),`\\${P}`;case"u":return K(T,P,4);case"U":return K(T,P,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,P),""}}function K(T,P,U){h(T,P);let oe="";for(let G=0;GG!=="{"&&G!=="}"&&G!==Qo&&G!==Mn;for(;P=q(T,oe);)U+=P;return U}function ve(T){let P="",U="";for(;P=F(T);)U+=P;return U}function J(T){const P=(U=!1,oe)=>{const G=T.currentChar();return G==="{"||G==="%"||G==="@"||G==="|"||G==="("||G===")"||!G||G===Qo?oe:G===Mn||G===JR?(oe+=G,T.next(),P(U,oe)):(oe+=G,T.next(),P(!0,oe))};return P(!1,"")}function ye(T){b(T);const P=h(T,"|");return b(T),P}function j(T,P){let U=null;switch(T.currentChar()){case"{":return P.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),T.next(),U=f(P,2,"{"),b(T),P.braceNest++,U;case"}":return P.braceNest>0&&P.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),T.next(),U=f(P,3,"}"),P.braceNest--,P.braceNest>0&&b(T),P.inLinked&&P.braceNest===0&&(P.inLinked=!1),U;case"@":return P.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),U=ge(T,P)||p(P),P.braceNest=0,U;default:let G=!0,se=!0,xe=!0;if(E(T))return P.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),U=f(P,1,ye(T)),P.braceNest=0,P.inLinked=!1,U;if(P.braceNest>0&&(P.currentType===5||P.currentType===6||P.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),P.braceNest=0,Ee(T,P);if(G=k(T,P))return U=f(P,5,le(T)),b(T),U;if(se=S(T,P))return U=f(P,6,B(T)),b(T),U;if(xe=w(T,P))return U=f(P,7,$(T)),b(T),U;if(!G&&!se&&!xe)return U=f(P,13,ne(T)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),b(T),U;break}return U}function ge(T,P){const{currentType:U}=P;let oe=null;const G=T.currentChar();switch((U===8||U===9||U===12||U===10)&&(G===Mn||G===Qo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),G){case"@":return T.next(),oe=f(P,8,"@"),P.inLinked=!0,oe;case".":return b(T),T.next(),f(P,9,".");case":":return b(T),T.next(),f(P,10,":");default:return E(T)?(oe=f(P,1,ye(T)),P.braceNest=0,P.inLinked=!1,oe):x(T,P)||_(T,P)?(b(T),ge(T,P)):C(T,P)?(b(T),f(P,12,ve(T))):R(T,P)?(b(T),G==="{"?j(T,P)||oe:f(P,11,J(T))):(U===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),P.braceNest=0,P.inLinked=!1,Ee(T,P))}}function Ee(T,P){let U={type:14};if(P.braceNest>0)return j(T,P)||p(P);if(P.inLinked)return ge(T,P)||p(P);switch(T.currentChar()){case"{":return j(T,P)||p(P);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),T.next(),f(P,3,"}");case"@":return ge(T,P)||p(P);default:if(E(T))return U=f(P,1,ye(T)),P.braceNest=0,P.inLinked=!1,U;const{isModulo:G,hasSpace:se}=M(T);if(G)return se?f(P,0,ce(T)):f(P,4,Q(T));if(A(T))return f(P,0,ce(T));break}return U}function Ne(){const{currentType:T,offset:P,startLoc:U,endLoc:oe}=l;return l.lastType=T,l.lastOffset=P,l.lastStartLoc=U,l.lastEndLoc=oe,l.offset=r(),l.startLoc=i(),o.currentChar()===wr?f(l,14):Ee(o,l)}return{nextToken:Ne,currentOffset:r,currentPosition:i,context:c}}const tE="parser",nE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function oE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function rE(e={}){const t=e.location!==!1,{onError:n}=e;function o(m,y,k,S,...w){const x=m.currentPosition();if(x.offset+=S,x.column+=S,n){const C=t?Mf(k,x):null,_=Oa(y,C,{domain:tE,args:w});n(_)}}function r(m,y,k){const S={type:m};return t&&(S.start=y,S.end=y,S.loc={start:k,end:k}),S}function i(m,y,k,S){S&&(m.type=S),t&&(m.end=y,m.loc&&(m.loc.end=k))}function a(m,y){const k=m.context(),S=r(3,k.offset,k.startLoc);return S.value=y,i(S,m.currentOffset(),m.currentPosition()),S}function s(m,y){const k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(5,S,w);return x.index=parseInt(y,10),m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function l(m,y){const k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(4,S,w);return x.key=y,m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function c(m,y){const k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(9,S,w);return x.value=y.replace(nE,oE),m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function u(m){const y=m.nextToken(),k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(8,S,w);return y.type!==12?(o(m,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),x.value="",i(x,S,w),{nextConsumeToken:y,node:x}):(y.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Eo(y)),x.value=y.value||"",i(x,m.currentOffset(),m.currentPosition()),{node:x})}function d(m,y){const k=m.context(),S=r(7,k.offset,k.startLoc);return S.value=y,i(S,m.currentOffset(),m.currentPosition()),S}function f(m){const y=m.context(),k=r(6,y.offset,y.startLoc);let S=m.nextToken();if(S.type===9){const w=u(m);k.modifier=w.node,S=w.nextConsumeToken||m.nextToken()}switch(S.type!==10&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),S=m.nextToken(),S.type===2&&(S=m.nextToken()),S.type){case 11:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=d(m,S.value||"");break;case 5:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=l(m,S.value||"");break;case 6:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=s(m,S.value||"");break;case 7:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=c(m,S.value||"");break;default:o(m,dt.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const w=m.context(),x=r(7,w.offset,w.startLoc);return x.value="",i(x,w.offset,w.startLoc),k.key=x,i(k,w.offset,w.startLoc),{nextConsumeToken:S,node:k}}return i(k,m.currentOffset(),m.currentPosition()),{node:k}}function p(m){const y=m.context(),k=y.currentType===1?m.currentOffset():y.offset,S=y.currentType===1?y.endLoc:y.startLoc,w=r(2,k,S);w.items=[];let x=null;do{const R=x||m.nextToken();switch(x=null,R.type){case 0:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(a(m,R.value||""));break;case 6:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(s(m,R.value||""));break;case 5:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(l(m,R.value||""));break;case 7:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(c(m,R.value||""));break;case 8:const E=f(m);w.items.push(E.node),x=E.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const C=y.currentType===1?y.lastOffset:m.currentOffset(),_=y.currentType===1?y.lastEndLoc:m.currentPosition();return i(w,C,_),w}function h(m,y,k,S){const w=m.context();let x=S.items.length===0;const C=r(1,y,k);C.cases=[],C.cases.push(S);do{const _=p(m);x||(x=_.items.length===0),C.cases.push(_)}while(w.currentType!==14);return x&&o(m,dt.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),i(C,m.currentOffset(),m.currentPosition()),C}function g(m){const y=m.context(),{offset:k,startLoc:S}=y,w=p(m);return y.currentType===14?w:h(m,k,S,w)}function b(m){const y=eE(m,Wx({},e)),k=y.context(),S=r(0,k.offset,k.startLoc);return t&&S.loc&&(S.loc.source=m),S.body=g(y),e.onCacheKey&&(S.cacheKey=e.onCacheKey(m)),k.currentType!==14&&o(y,dt.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,m[k.offset]||""),i(S,y.currentOffset(),y.currentPosition()),S}return{parse:b}}function Eo(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function iE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ov(e,t){for(let n=0;nrv(n)),e}function rv(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(b,m){s.code+=b}function u(b,m=!0){const y=m?r:"";c(i?y+" ".repeat(b):y)}function d(b=!0){const m=++s.indentLevel;b&&u(m)}function f(b=!0){const m=--s.indentLevel;b&&u(m)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:b=>`_${b}`,needIndent:()=>s.needIndent}}function dE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),wa(e,t.key),t.modifier?(e.push(", "),wa(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function fE(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i{const n=tv(t.mode)?t.mode:"normal",o=tv(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` -`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=uE(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${qx(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),wa(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function gE(e,t={}){const n=Wx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=rE(n).parse(e);return o?(i&&sE(s),r&&oa(s),{ast:s,code:""}):(aE(s,n),mE(s,n))}/*! + */function UR(e,t,n){return{line:e,column:t,offset:n}}function zf(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const WR=/\{([0-9a-zA-Z]+)\}/g;function qR(e,...t){return t.length===1&&KR(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(WR,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const Fx=Object.assign,tv=e=>typeof e=="string",KR=e=>e!==null&&typeof e=="object";function Nx(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const dt={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},GR={[dt.EXPECTED_TOKEN]:"Expected token: '{0}'",[dt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[dt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[dt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[dt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[dt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[dt.EMPTY_PLACEHOLDER]:"Empty placeholder",[dt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[dt.INVALID_LINKED_FORMAT]:"Invalid linked format",[dt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[dt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[dt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[dt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[dt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[dt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Oa(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=qR((r||GR)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function YR(e){throw e}const Qo=" ",XR="\r",Mn=` +`,ZR=String.fromCharCode(8232),JR=String.fromCharCode(8233);function QR(e){const t=e;let n=0,o=1,r=1,i=0;const a=C=>t[C]===XR&&t[C+1]===Mn,s=C=>t[C]===Mn,l=C=>t[C]===JR,c=C=>t[C]===ZR,u=C=>a(C)||s(C)||l(C)||c(C),d=()=>n,f=()=>o,p=()=>r,h=()=>i,g=C=>a(C)||l(C)||c(C)?Mn:t[C],b=()=>g(n),m=()=>g(n+i);function y(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function k(){return a(n+i)&&i++,i++,t[n+i]}function S(){n=0,o=1,r=1,i=0}function w(C=0){i=C}function x(){const C=n+i;for(;C!==n;)y();i=0}return{index:d,line:f,column:p,peekOffset:h,charAt:g,currentChar:b,currentPeek:m,next:y,peek:k,reset:S,resetPeek:w,skipToPeek:x}}const wr=void 0,eE=".",nv="'",tE="tokenizer";function nE(e,t={}){const n=t.location!==!1,o=QR(e),r=()=>o.index(),i=()=>UR(o.line(),o.column(),o.index()),a=i(),s=r(),l={currentType:14,offset:s,startLoc:a,endLoc:a,lastType:14,lastOffset:s,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},c=()=>l,{onError:u}=t;function d(T,P,U,...oe){const G=c();if(P.column+=U,P.offset+=U,u){const se=n?zf(G.startLoc,P):null,xe=Oa(T,se,{domain:tE,args:oe});u(xe)}}function f(T,P,U){T.endLoc=i(),T.currentType=P;const oe={type:P};return n&&(oe.loc=zf(T.startLoc,T.endLoc)),U!=null&&(oe.value=U),oe}const p=T=>f(T,14);function h(T,P){return T.currentChar()===P?(T.next(),P):(d(dt.EXPECTED_TOKEN,i(),0,P),"")}function g(T){let P="";for(;T.currentPeek()===Qo||T.currentPeek()===Mn;)P+=T.currentPeek(),T.peek();return P}function b(T){const P=g(T);return T.skipToPeek(),P}function m(T){if(T===wr)return!1;const P=T.charCodeAt(0);return P>=97&&P<=122||P>=65&&P<=90||P===95}function y(T){if(T===wr)return!1;const P=T.charCodeAt(0);return P>=48&&P<=57}function k(T,P){const{currentType:U}=P;if(U!==2)return!1;g(T);const oe=m(T.currentPeek());return T.resetPeek(),oe}function S(T,P){const{currentType:U}=P;if(U!==2)return!1;g(T);const oe=T.currentPeek()==="-"?T.peek():T.currentPeek(),G=y(oe);return T.resetPeek(),G}function w(T,P){const{currentType:U}=P;if(U!==2)return!1;g(T);const oe=T.currentPeek()===nv;return T.resetPeek(),oe}function x(T,P){const{currentType:U}=P;if(U!==8)return!1;g(T);const oe=T.currentPeek()===".";return T.resetPeek(),oe}function C(T,P){const{currentType:U}=P;if(U!==9)return!1;g(T);const oe=m(T.currentPeek());return T.resetPeek(),oe}function _(T,P){const{currentType:U}=P;if(!(U===8||U===12))return!1;g(T);const oe=T.currentPeek()===":";return T.resetPeek(),oe}function R(T,P){const{currentType:U}=P;if(U!==10)return!1;const oe=()=>{const se=T.currentPeek();return se==="{"?m(T.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===Qo||!se?!1:se===Mn?(T.peek(),oe()):m(se)},G=oe();return T.resetPeek(),G}function E(T){g(T);const P=T.currentPeek()==="|";return T.resetPeek(),P}function M(T){const P=g(T),U=T.currentPeek()==="%"&&T.peek()==="{";return T.resetPeek(),{isModulo:U,hasSpace:P.length>0}}function A(T,P=!0){const U=(G=!1,se="",xe=!1)=>{const be=T.currentPeek();return be==="{"?se==="%"?!1:G:be==="@"||!be?se==="%"?!0:G:be==="%"?(T.peek(),U(G,"%",!0)):be==="|"?se==="%"||xe?!0:!(se===Qo||se===Mn):be===Qo?(T.peek(),U(!0,Qo,xe)):be===Mn?(T.peek(),U(!0,Mn,xe)):!0},oe=U();return P&&T.resetPeek(),oe}function q(T,P){const U=T.currentChar();return U===wr?wr:P(U)?(T.next(),U):null}function F(T){return q(T,U=>{const oe=U.charCodeAt(0);return oe>=97&&oe<=122||oe>=65&&oe<=90||oe>=48&&oe<=57||oe===95||oe===36})}function z(T){return q(T,U=>{const oe=U.charCodeAt(0);return oe>=48&&oe<=57})}function D(T){return q(T,U=>{const oe=U.charCodeAt(0);return oe>=48&&oe<=57||oe>=65&&oe<=70||oe>=97&&oe<=102})}function Y(T){let P="",U="";for(;P=z(T);)U+=P;return U}function Q(T){b(T);const P=T.currentChar();return P!=="%"&&d(dt.EXPECTED_TOKEN,i(),0,P),T.next(),"%"}function ce(T){let P="";for(;;){const U=T.currentChar();if(U==="{"||U==="}"||U==="@"||U==="|"||!U)break;if(U==="%")if(A(T))P+=U,T.next();else break;else if(U===Qo||U===Mn)if(A(T))P+=U,T.next();else{if(E(T))break;P+=U,T.next()}else P+=U,T.next()}return P}function le(T){b(T);let P="",U="";for(;P=F(T);)U+=P;return T.currentChar()===wr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),U}function B(T){b(T);let P="";return T.currentChar()==="-"?(T.next(),P+=`-${Y(T)}`):P+=Y(T),T.currentChar()===wr&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),P}function $(T){b(T),h(T,"'");let P="",U="";const oe=se=>se!==nv&&se!==Mn;for(;P=q(T,oe);)P==="\\"?U+=I(T):U+=P;const G=T.currentChar();return G===Mn||G===wr?(d(dt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),G===Mn&&(T.next(),h(T,"'")),U):(h(T,"'"),U)}function I(T){const P=T.currentChar();switch(P){case"\\":case"'":return T.next(),`\\${P}`;case"u":return K(T,P,4);case"U":return K(T,P,6);default:return d(dt.UNKNOWN_ESCAPE_SEQUENCE,i(),0,P),""}}function K(T,P,U){h(T,P);let oe="";for(let G=0;GG!=="{"&&G!=="}"&&G!==Qo&&G!==Mn;for(;P=q(T,oe);)U+=P;return U}function ve(T){let P="",U="";for(;P=F(T);)U+=P;return U}function J(T){const P=(U=!1,oe)=>{const G=T.currentChar();return G==="{"||G==="%"||G==="@"||G==="|"||G==="("||G===")"||!G||G===Qo?oe:G===Mn||G===eE?(oe+=G,T.next(),P(U,oe)):(oe+=G,T.next(),P(!0,oe))};return P(!1,"")}function ye(T){b(T);const P=h(T,"|");return b(T),P}function j(T,P){let U=null;switch(T.currentChar()){case"{":return P.braceNest>=1&&d(dt.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),T.next(),U=f(P,2,"{"),b(T),P.braceNest++,U;case"}":return P.braceNest>0&&P.currentType===2&&d(dt.EMPTY_PLACEHOLDER,i(),0),T.next(),U=f(P,3,"}"),P.braceNest--,P.braceNest>0&&b(T),P.inLinked&&P.braceNest===0&&(P.inLinked=!1),U;case"@":return P.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),U=ge(T,P)||p(P),P.braceNest=0,U;default:let G=!0,se=!0,xe=!0;if(E(T))return P.braceNest>0&&d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),U=f(P,1,ye(T)),P.braceNest=0,P.inLinked=!1,U;if(P.braceNest>0&&(P.currentType===5||P.currentType===6||P.currentType===7))return d(dt.UNTERMINATED_CLOSING_BRACE,i(),0),P.braceNest=0,Ee(T,P);if(G=k(T,P))return U=f(P,5,le(T)),b(T),U;if(se=S(T,P))return U=f(P,6,B(T)),b(T),U;if(xe=w(T,P))return U=f(P,7,$(T)),b(T),U;if(!G&&!se&&!xe)return U=f(P,13,ne(T)),d(dt.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,U.value),b(T),U;break}return U}function ge(T,P){const{currentType:U}=P;let oe=null;const G=T.currentChar();switch((U===8||U===9||U===12||U===10)&&(G===Mn||G===Qo)&&d(dt.INVALID_LINKED_FORMAT,i(),0),G){case"@":return T.next(),oe=f(P,8,"@"),P.inLinked=!0,oe;case".":return b(T),T.next(),f(P,9,".");case":":return b(T),T.next(),f(P,10,":");default:return E(T)?(oe=f(P,1,ye(T)),P.braceNest=0,P.inLinked=!1,oe):x(T,P)||_(T,P)?(b(T),ge(T,P)):C(T,P)?(b(T),f(P,12,ve(T))):R(T,P)?(b(T),G==="{"?j(T,P)||oe:f(P,11,J(T))):(U===8&&d(dt.INVALID_LINKED_FORMAT,i(),0),P.braceNest=0,P.inLinked=!1,Ee(T,P))}}function Ee(T,P){let U={type:14};if(P.braceNest>0)return j(T,P)||p(P);if(P.inLinked)return ge(T,P)||p(P);switch(T.currentChar()){case"{":return j(T,P)||p(P);case"}":return d(dt.UNBALANCED_CLOSING_BRACE,i(),0),T.next(),f(P,3,"}");case"@":return ge(T,P)||p(P);default:if(E(T))return U=f(P,1,ye(T)),P.braceNest=0,P.inLinked=!1,U;const{isModulo:G,hasSpace:se}=M(T);if(G)return se?f(P,0,ce(T)):f(P,4,Q(T));if(A(T))return f(P,0,ce(T));break}return U}function Ne(){const{currentType:T,offset:P,startLoc:U,endLoc:oe}=l;return l.lastType=T,l.lastOffset=P,l.lastStartLoc=U,l.lastEndLoc=oe,l.offset=r(),l.startLoc=i(),o.currentChar()===wr?f(l,14):Ee(o,l)}return{nextToken:Ne,currentOffset:r,currentPosition:i,context:c}}const oE="parser",rE=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function iE(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function aE(e={}){const t=e.location!==!1,{onError:n}=e;function o(m,y,k,S,...w){const x=m.currentPosition();if(x.offset+=S,x.column+=S,n){const C=t?zf(k,x):null,_=Oa(y,C,{domain:oE,args:w});n(_)}}function r(m,y,k){const S={type:m};return t&&(S.start=y,S.end=y,S.loc={start:k,end:k}),S}function i(m,y,k,S){S&&(m.type=S),t&&(m.end=y,m.loc&&(m.loc.end=k))}function a(m,y){const k=m.context(),S=r(3,k.offset,k.startLoc);return S.value=y,i(S,m.currentOffset(),m.currentPosition()),S}function s(m,y){const k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(5,S,w);return x.index=parseInt(y,10),m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function l(m,y){const k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(4,S,w);return x.key=y,m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function c(m,y){const k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(9,S,w);return x.value=y.replace(rE,iE),m.nextToken(),i(x,m.currentOffset(),m.currentPosition()),x}function u(m){const y=m.nextToken(),k=m.context(),{lastOffset:S,lastStartLoc:w}=k,x=r(8,S,w);return y.type!==12?(o(m,dt.UNEXPECTED_EMPTY_LINKED_MODIFIER,k.lastStartLoc,0),x.value="",i(x,S,w),{nextConsumeToken:y,node:x}):(y.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,Eo(y)),x.value=y.value||"",i(x,m.currentOffset(),m.currentPosition()),{node:x})}function d(m,y){const k=m.context(),S=r(7,k.offset,k.startLoc);return S.value=y,i(S,m.currentOffset(),m.currentPosition()),S}function f(m){const y=m.context(),k=r(6,y.offset,y.startLoc);let S=m.nextToken();if(S.type===9){const w=u(m);k.modifier=w.node,S=w.nextConsumeToken||m.nextToken()}switch(S.type!==10&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),S=m.nextToken(),S.type===2&&(S=m.nextToken()),S.type){case 11:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=d(m,S.value||"");break;case 5:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=l(m,S.value||"");break;case 6:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=s(m,S.value||"");break;case 7:S.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(S)),k.key=c(m,S.value||"");break;default:o(m,dt.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const w=m.context(),x=r(7,w.offset,w.startLoc);return x.value="",i(x,w.offset,w.startLoc),k.key=x,i(k,w.offset,w.startLoc),{nextConsumeToken:S,node:k}}return i(k,m.currentOffset(),m.currentPosition()),{node:k}}function p(m){const y=m.context(),k=y.currentType===1?m.currentOffset():y.offset,S=y.currentType===1?y.endLoc:y.startLoc,w=r(2,k,S);w.items=[];let x=null;do{const R=x||m.nextToken();switch(x=null,R.type){case 0:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(a(m,R.value||""));break;case 6:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(s(m,R.value||""));break;case 5:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(l(m,R.value||""));break;case 7:R.value==null&&o(m,dt.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,Eo(R)),w.items.push(c(m,R.value||""));break;case 8:const E=f(m);w.items.push(E.node),x=E.nextConsumeToken||null;break}}while(y.currentType!==14&&y.currentType!==1);const C=y.currentType===1?y.lastOffset:m.currentOffset(),_=y.currentType===1?y.lastEndLoc:m.currentPosition();return i(w,C,_),w}function h(m,y,k,S){const w=m.context();let x=S.items.length===0;const C=r(1,y,k);C.cases=[],C.cases.push(S);do{const _=p(m);x||(x=_.items.length===0),C.cases.push(_)}while(w.currentType!==14);return x&&o(m,dt.MUST_HAVE_MESSAGES_IN_PLURAL,k,0),i(C,m.currentOffset(),m.currentPosition()),C}function g(m){const y=m.context(),{offset:k,startLoc:S}=y,w=p(m);return y.currentType===14?w:h(m,k,S,w)}function b(m){const y=nE(m,Fx({},e)),k=y.context(),S=r(0,k.offset,k.startLoc);return t&&S.loc&&(S.loc.source=m),S.body=g(y),e.onCacheKey&&(S.cacheKey=e.onCacheKey(m)),k.currentType!==14&&o(y,dt.UNEXPECTED_LEXICAL_ANALYSIS,k.lastStartLoc,0,m[k.offset]||""),i(S,y.currentOffset(),y.currentPosition()),S}return{parse:b}}function Eo(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function sE(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function ov(e,t){for(let n=0;nrv(n)),e}function rv(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;ns;function c(b,m){s.code+=b}function u(b,m=!0){const y=m?r:"";c(i?y+" ".repeat(b):y)}function d(b=!0){const m=++s.indentLevel;b&&u(m)}function f(b=!0){const m=--s.indentLevel;b&&u(m)}function p(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:p,helper:b=>`_${b}`,needIndent:()=>s.needIndent}}function hE(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),wa(e,t.key),t.modifier?(e.push(", "),wa(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function pE(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i{const n=tv(t.mode)?t.mode:"normal",o=tv(t.filename)?t.filename:"message.intl",r=!!t.sourceMap,i=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":` +`,a=t.needIndent?t.needIndent:n!=="arrow",s=e.helpers||[],l=fE(e,{mode:n,filename:o,sourceMap:r,breakLineCode:i,needIndent:a});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(a),s.length>0&&(l.push(`const { ${Nx(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),wa(l,e),l.deindent(a),l.push("}"),delete e.helpers;const{code:c,map:u}=l.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function bE(e,t={}){const n=Fx({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=aE(n).parse(e);return o?(i&&cE(s),r&&oa(s),{ast:s,code:""}):(lE(s,n),vE(s,n))}/*! * core-base v9.9.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */function vE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(or().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(or().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(or().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Wr=[];Wr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wr[1]={w:[1],".":[2],"[":[4],o:[7]};Wr[2]={w:[2],i:[3,0],0:[3,0]};Wr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wr[5]={"'":[4,0],o:8,l:[5,0]};Wr[6]={'"':[4,0],o:8,l:[6,0]};const bE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function yE(e){return bE.test(e)}function xE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function CE(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function wE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:yE(t)?xE(t):"*"+t}function _E(e){const t=[];let n=-1,o=0,r=0,i,a,s,l,c,u,d;const f=[];f[0]=()=>{a===void 0?a=s:a+=s},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=wE(a),a===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(o===5&&h==="'"||o===6&&h==='"')return n++,s="\\"+h,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(l=CE(i),d=Wr[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(s=i,u()===!1))))return;if(o===7)return t}}const iv=new Map;function SE(e,t){return Bt(e)?e[t]:null}function kE(e,t){if(!Bt(e))return null;let n=iv.get(t);if(n||(n=_E(t),n&&iv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,PE=e=>"",RE="text",EE=e=>e.length===0?"":BR(e),$E=NR;function av(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function AE(e){const t=yn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yn(e.named.count)||yn(e.named.n))?yn(e.named.count)?e.named.count:yn(e.named.n)?e.named.n:t:t}function IE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ME(e={}){const t=e.locale,n=AE(e),o=Bt(e.pluralRules)&&Ge(t)&&Gt(e.pluralRules[t])?e.pluralRules[t]:av,r=Bt(e.pluralRules)&&Ge(t)&&Gt(e.pluralRules[t])?av:void 0,i=m=>m[o(n,m.length,r)],a=e.list||[],s=m=>a[m],l=e.named||{};yn(e.pluralIndex)&&IE(n,l);const c=m=>l[m];function u(m){const y=Gt(e.messages)?e.messages(m):Bt(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):PE)}const d=m=>e.modifiers?e.modifiers[m]:TE,f=mt(e.processor)&&Gt(e.processor.normalize)?e.processor.normalize:EE,p=mt(e.processor)&&Gt(e.processor.interpolate)?e.processor.interpolate:$E,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:RE,b={list:s,named:c,plural:i,linked:(m,...y)=>{const[k,S]=y;let w="text",x="";y.length===1?Bt(k)?(x=k.modifier||x,w=k.type||w):Ge(k)&&(x=k||x):y.length===2&&(Ge(k)&&(x=k||x),Ge(S)&&(w=S||w));const C=u(m)(b),_=w==="vnode"&&en(C)&&x?C[0]:C;return x?d(x)(_,w):_},message:u,type:h,interpolate:p,normalize:f,values:Tn({},a,l)};return b}let Ls=null;function zE(e){Ls=e}function OE(e,t,n){Ls&&Ls.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const DE=LE("function:translate");function LE(e){return t=>Ls&&Ls.emit(e,t)}const FE={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Kx=dt.__EXTEND_POINT__,ni=dp(Kx),bo={INVALID_ARGUMENT:Kx,INVALID_DATE_ARGUMENT:ni(),INVALID_ISO_DATE_ARGUMENT:ni(),NOT_SUPPORT_NON_STRING_MESSAGE:ni(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ni(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ni(),NOT_SUPPORT_LOCALE_TYPE:ni(),__EXTEND_POINT__:ni()};function Oo(e){return Oa(e,null,void 0)}function hp(e,t){return t.locale!=null?sv(t.locale):sv(e.locale)}let yd;function sv(e){if(Ge(e))return e;if(Gt(e)){if(e.resolvedOnce&&yd!=null)return yd;if(e.constructor.name==="Function"){const t=e();if(FR(t))throw Oo(bo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return yd=t}else throw Oo(bo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oo(bo.NOT_SUPPORT_LOCALE_TYPE)}function NE(e,t,n){return[...new Set([n,...en(t)?t:Bt(t)?Object.keys(t):Ge(t)?[t]:[n]])]}function Gx(e,t,n){const o=Ge(n)?n:_a,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;en(a);)a=lv(i,a,t);const s=en(t)||!mt(t)?t:t.default?t.default:null;a=Ge(s)?[s]:s,en(a)&&lv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function lv(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function VE(){return{upper:(e,t)=>t==="text"&&Ge(e)?e.toUpperCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ge(e)?e.toLowerCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ge(e)?uv(e):t==="vnode"&&Bt(e)&&"__v_isVNode"in e?uv(e.children):e}}let Yx;function dv(e){Yx=e}let Xx;function UE(e){Xx=e}let Zx;function WE(e){Zx=e}let Jx=null;const qE=e=>{Jx=e},KE=()=>Jx;let Qx=null;const fv=e=>{Qx=e},GE=()=>Qx;let hv=0;function YE(e={}){const t=Gt(e.onWarn)?e.onWarn:HR,n=Ge(e.version)?e.version:jE,o=Ge(e.locale)||Gt(e.locale)?e.locale:_a,r=Gt(o)?_a:o,i=en(e.fallbackLocale)||mt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=mt(e.messages)?e.messages:{[r]:{}},s=mt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=mt(e.numberFormats)?e.numberFormats:{[r]:{}},c=Tn({},e.modifiers||{},VE()),u=e.pluralRules||{},d=Gt(e.missing)?e.missing:null,f=_t(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,p=_t(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,b=Gt(e.postTranslation)?e.postTranslation:null,m=mt(e.processor)?e.processor:null,y=_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter,S=Gt(e.messageCompiler)?e.messageCompiler:Yx,w=Gt(e.messageResolver)?e.messageResolver:Xx||SE,x=Gt(e.localeFallbacker)?e.localeFallbacker:Zx||NE,C=Bt(e.fallbackContext)?e.fallbackContext:void 0,_=e,R=Bt(_.__datetimeFormatters)?_.__datetimeFormatters:new Map,E=Bt(_.__numberFormatters)?_.__numberFormatters:new Map,M=Bt(_.__meta)?_.__meta:{};hv++;const A={version:n,cid:hv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:g,postTranslation:b,processor:m,warnHtmlMessage:y,escapeParameter:k,messageCompiler:S,messageResolver:w,localeFallbacker:x,fallbackContext:C,onWarn:t,__meta:M};return A.datetimeFormats=s,A.numberFormats=l,A.__datetimeFormatters=R,A.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&OE(A,n,M),A}function pp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ge(s)?s:t}else return t}function ns(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function xd(e){return n=>XE(n,e)}function XE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,pv(e,a)],[]))}else return pv(e,n)}function pv(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,zf(e,i)],[]);return e.normalize(o)}}function zf(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const i=t;return e.interpolate(e.named(i.k||i.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(zf(e,s.k||s.key),l?zf(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const eC=e=>e;let ia=Object.create(null);const Sa=e=>Bt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function tC(e,t={}){let n=!1;const o=t.onError||KR;return t.onError=r=>{n=!0,o(r)},{...gE(e,t),detectError:n}}const ZE=(e,t)=>{if(!Ge(e))throw Oo(bo.NOT_SUPPORT_NON_STRING_MESSAGE);{_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||eC)(e),r=ia[o];if(r)return r;const{code:i,detectError:a}=tC(e,t),s=new Function(`return ${i}`)();return a?s:ia[o]=s}};function JE(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ge(e)){_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||eC)(e),r=ia[o];if(r)return r;const{ast:i,detectError:a}=tC(e,{...t,location:!1,jit:!0}),s=xd(i);return a?s:ia[o]=s}else{const n=e.cacheKey;if(n){const o=ia[n];return o||(ia[n]=xd(e))}else return xd(e)}}const mv=()=>"",no=e=>Gt(e);function gv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Of(...t),u=_t(c.missingWarn)?c.missingWarn:e.missingWarn,d=_t(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=_t(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ge(c.default)||_t(c.default)?_t(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",g=n||h!=="",b=hp(e,c);f&&QE(c);let[m,y,k]=p?[l,b,s[b]||{}]:nC(e,l,b,a,d,u),S=m,w=l;if(!p&&!(Ge(S)||Sa(S)||no(S))&&g&&(S=h,w=S),!p&&(!(Ge(S)||Sa(S)||no(S))||!Ge(y)))return r?du:l;let x=!1;const C=()=>{x=!0},_=no(S)?S:oC(e,l,y,S,w,C);if(x)return S;const R=n$(e,y,k,c),E=ME(R),M=e$(e,_,E),A=o?o(M,l):M;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:Ge(l)?l:no(S)?S.key:"",locale:y||(no(S)?S.locale:""),format:Ge(S)?S:no(S)?S.source:"",message:A};q.meta=Tn({},e.__meta,KE()||{}),DE(q)}return A}function QE(e){en(e.list)?e.list=e.list.map(t=>Ge(t)?ev(t):t):Bt(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=ev(e.named[t]))})}function nC(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,p=null;const h="translate";for(let g=0;go;return c.locale=n,c.key=t,c}const l=a(o,t$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function e$(e,t,n){return t(n)}function Of(...e){const[t,n,o]=e,r={};if(!Ge(t)&&!yn(t)&&!no(t)&&!Sa(t))throw Oo(bo.INVALID_ARGUMENT);const i=yn(t)?String(t):(no(t),t);return yn(n)?r.plural=n:Ge(n)?r.default=n:mt(n)&&!uu(n)?r.named=n:en(n)&&(r.list=n),yn(o)?r.plural=o:Ge(o)?r.default=o:mt(o)&&Tn(r,o),[i,r]}function t$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>zR(t,n,a)}}function n$(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:p=>{let h=a(n,p);if(h==null&&u){const[,,g]=nC(u,p,t,s,l,c);h=a(g,p)}if(Ge(h)||Sa(h)){let g=!1;const m=oC(e,p,t,h,p,()=>{g=!0});return g?mv:m}else return no(h)?h:mv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),yn(o.plural)&&(f.pluralIndex=o.plural),f}function vv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Df(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=hp(e,u),g=a(e,r,h);if(!Ge(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let b={},m,y=null;const k="datetime format";for(let x=0;x{rC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function bv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function yv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=Lf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=hp(e,u),g=a(e,r,h);if(!Ge(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let b={},m,y=null;const k="number format";for(let x=0;x{iC.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function xv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}vE();/*! + */function yE(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(or().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(or().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(or().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Wr=[];Wr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Wr[1]={w:[1],".":[2],"[":[4],o:[7]};Wr[2]={w:[2],i:[3,0],0:[3,0]};Wr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Wr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Wr[5]={"'":[4,0],o:8,l:[5,0]};Wr[6]={'"':[4,0],o:8,l:[6,0]};const xE=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function CE(e){return xE.test(e)}function wE(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function _E(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function SE(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:CE(t)?wE(t):"*"+t}function kE(e){const t=[];let n=-1,o=0,r=0,i,a,s,l,c,u,d;const f=[];f[0]=()=>{a===void 0?a=s:a+=s},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),r++},f[3]=()=>{if(r>0)r--,o=4,f[0]();else{if(r=0,a===void 0||(a=SE(a),a===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(o===5&&h==="'"||o===6&&h==='"')return n++,s="\\"+h,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&p())){if(l=_E(i),d=Wr[o],c=d[l]||d.l||8,c===8||(o=c[0],c[1]!==void 0&&(u=f[c[1]],u&&(s=i,u()===!1))))return;if(o===7)return t}}const iv=new Map;function TE(e,t){return Bt(e)?e[t]:null}function PE(e,t){if(!Bt(e))return null;let n=iv.get(t);if(n||(n=kE(t),n&&iv.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;ie,EE=e=>"",$E="text",AE=e=>e.length===0?"":jR(e),IE=HR;function av(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ME(e){const t=yn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(yn(e.named.count)||yn(e.named.n))?yn(e.named.count)?e.named.count:yn(e.named.n)?e.named.n:t:t}function zE(e,t){t.count||(t.count=e),t.n||(t.n=e)}function OE(e={}){const t=e.locale,n=ME(e),o=Bt(e.pluralRules)&&Ge(t)&&Gt(e.pluralRules[t])?e.pluralRules[t]:av,r=Bt(e.pluralRules)&&Ge(t)&&Gt(e.pluralRules[t])?av:void 0,i=m=>m[o(n,m.length,r)],a=e.list||[],s=m=>a[m],l=e.named||{};yn(e.pluralIndex)&&zE(n,l);const c=m=>l[m];function u(m){const y=Gt(e.messages)?e.messages(m):Bt(e.messages)?e.messages[m]:!1;return y||(e.parent?e.parent.message(m):EE)}const d=m=>e.modifiers?e.modifiers[m]:RE,f=mt(e.processor)&&Gt(e.processor.normalize)?e.processor.normalize:AE,p=mt(e.processor)&&Gt(e.processor.interpolate)?e.processor.interpolate:IE,h=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:$E,b={list:s,named:c,plural:i,linked:(m,...y)=>{const[k,S]=y;let w="text",x="";y.length===1?Bt(k)?(x=k.modifier||x,w=k.type||w):Ge(k)&&(x=k||x):y.length===2&&(Ge(k)&&(x=k||x),Ge(S)&&(w=S||w));const C=u(m)(b),_=w==="vnode"&&en(C)&&x?C[0]:C;return x?d(x)(_,w):_},message:u,type:h,interpolate:p,normalize:f,values:Tn({},a,l)};return b}let Ls=null;function DE(e){Ls=e}function LE(e,t,n){Ls&&Ls.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const FE=NE("function:translate");function NE(e){return t=>Ls&&Ls.emit(e,t)}const BE={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},Bx=dt.__EXTEND_POINT__,ni=dp(Bx),bo={INVALID_ARGUMENT:Bx,INVALID_DATE_ARGUMENT:ni(),INVALID_ISO_DATE_ARGUMENT:ni(),NOT_SUPPORT_NON_STRING_MESSAGE:ni(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ni(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ni(),NOT_SUPPORT_LOCALE_TYPE:ni(),__EXTEND_POINT__:ni()};function Oo(e){return Oa(e,null,void 0)}function hp(e,t){return t.locale!=null?sv(t.locale):sv(e.locale)}let xd;function sv(e){if(Ge(e))return e;if(Gt(e)){if(e.resolvedOnce&&xd!=null)return xd;if(e.constructor.name==="Function"){const t=e();if(BR(t))throw Oo(bo.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return xd=t}else throw Oo(bo.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oo(bo.NOT_SUPPORT_LOCALE_TYPE)}function HE(e,t,n){return[...new Set([n,...en(t)?t:Bt(t)?Object.keys(t):Ge(t)?[t]:[n]])]}function Hx(e,t,n){const o=Ge(n)?n:_a,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;en(a);)a=lv(i,a,t);const s=en(t)||!mt(t)?t:t.default?t.default:null;a=Ge(s)?[s]:s,en(a)&&lv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function lv(e,t,n){let o=!0;for(let r=0;r`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function WE(){return{upper:(e,t)=>t==="text"&&Ge(e)?e.toUpperCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ge(e)?e.toLowerCase():t==="vnode"&&Bt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ge(e)?uv(e):t==="vnode"&&Bt(e)&&"__v_isVNode"in e?uv(e.children):e}}let jx;function dv(e){jx=e}let Vx;function qE(e){Vx=e}let Ux;function KE(e){Ux=e}let Wx=null;const GE=e=>{Wx=e},YE=()=>Wx;let qx=null;const fv=e=>{qx=e},XE=()=>qx;let hv=0;function ZE(e={}){const t=Gt(e.onWarn)?e.onWarn:VR,n=Ge(e.version)?e.version:UE,o=Ge(e.locale)||Gt(e.locale)?e.locale:_a,r=Gt(o)?_a:o,i=en(e.fallbackLocale)||mt(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,a=mt(e.messages)?e.messages:{[r]:{}},s=mt(e.datetimeFormats)?e.datetimeFormats:{[r]:{}},l=mt(e.numberFormats)?e.numberFormats:{[r]:{}},c=Tn({},e.modifiers||{},WE()),u=e.pluralRules||{},d=Gt(e.missing)?e.missing:null,f=_t(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,p=_t(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,b=Gt(e.postTranslation)?e.postTranslation:null,m=mt(e.processor)?e.processor:null,y=_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,k=!!e.escapeParameter,S=Gt(e.messageCompiler)?e.messageCompiler:jx,w=Gt(e.messageResolver)?e.messageResolver:Vx||TE,x=Gt(e.localeFallbacker)?e.localeFallbacker:Ux||HE,C=Bt(e.fallbackContext)?e.fallbackContext:void 0,_=e,R=Bt(_.__datetimeFormatters)?_.__datetimeFormatters:new Map,E=Bt(_.__numberFormatters)?_.__numberFormatters:new Map,M=Bt(_.__meta)?_.__meta:{};hv++;const A={version:n,cid:hv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:g,postTranslation:b,processor:m,warnHtmlMessage:y,escapeParameter:k,messageCompiler:S,messageResolver:w,localeFallbacker:x,fallbackContext:C,onWarn:t,__meta:M};return A.datetimeFormats=s,A.numberFormats=l,A.__datetimeFormatters=R,A.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&LE(A,n,M),A}function pp(e,t,n,o,r){const{missing:i,onWarn:a}=e;if(i!==null){const s=i(e,n,t,r);return Ge(s)?s:t}else return t}function ns(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Cd(e){return n=>JE(n,e)}function JE(e,t){const n=t.b||t.body;if((n.t||n.type)===1){const o=n,r=o.c||o.cases;return e.plural(r.reduce((i,a)=>[...i,pv(e,a)],[]))}else return pv(e,n)}function pv(e,t){const n=t.s||t.static;if(n)return e.type==="text"?n:e.normalize([n]);{const o=(t.i||t.items).reduce((r,i)=>[...r,Of(e,i)],[]);return e.normalize(o)}}function Of(e,t){const n=t.t||t.type;switch(n){case 3:const o=t;return o.v||o.value;case 9:const r=t;return r.v||r.value;case 4:const i=t;return e.interpolate(e.named(i.k||i.key));case 5:const a=t;return e.interpolate(e.list(a.i!=null?a.i:a.index));case 6:const s=t,l=s.m||s.modifier;return e.linked(Of(e,s.k||s.key),l?Of(e,l):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${n}`)}}const Kx=e=>e;let ia=Object.create(null);const Sa=e=>Bt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function Gx(e,t={}){let n=!1;const o=t.onError||YR;return t.onError=r=>{n=!0,o(r)},{...bE(e,t),detectError:n}}const QE=(e,t)=>{if(!Ge(e))throw Oo(bo.NOT_SUPPORT_NON_STRING_MESSAGE);{_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Kx)(e),r=ia[o];if(r)return r;const{code:i,detectError:a}=Gx(e,t),s=new Function(`return ${i}`)();return a?s:ia[o]=s}};function e$(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ge(e)){_t(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||Kx)(e),r=ia[o];if(r)return r;const{ast:i,detectError:a}=Gx(e,{...t,location:!1,jit:!0}),s=Cd(i);return a?s:ia[o]=s}else{const n=e.cacheKey;if(n){const o=ia[n];return o||(ia[n]=Cd(e))}else return Cd(e)}}const mv=()=>"",no=e=>Gt(e);function gv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=Df(...t),u=_t(c.missingWarn)?c.missingWarn:e.missingWarn,d=_t(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=_t(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=Ge(c.default)||_t(c.default)?_t(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",g=n||h!=="",b=hp(e,c);f&&t$(c);let[m,y,k]=p?[l,b,s[b]||{}]:Yx(e,l,b,a,d,u),S=m,w=l;if(!p&&!(Ge(S)||Sa(S)||no(S))&&g&&(S=h,w=S),!p&&(!(Ge(S)||Sa(S)||no(S))||!Ge(y)))return r?du:l;let x=!1;const C=()=>{x=!0},_=no(S)?S:Xx(e,l,y,S,w,C);if(x)return S;const R=r$(e,y,k,c),E=OE(R),M=n$(e,_,E),A=o?o(M,l):M;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:Ge(l)?l:no(S)?S.key:"",locale:y||(no(S)?S.locale:""),format:Ge(S)?S:no(S)?S.source:"",message:A};q.meta=Tn({},e.__meta,YE()||{}),FE(q)}return A}function t$(e){en(e.list)?e.list=e.list.map(t=>Ge(t)?ev(t):t):Bt(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=ev(e.named[t]))})}function Yx(e,t,n,o,r,i){const{messages:a,onWarn:s,messageResolver:l,localeFallbacker:c}=e,u=c(e,o,n);let d={},f,p=null;const h="translate";for(let g=0;go;return c.locale=n,c.key=t,c}const l=a(o,o$(e,n,r,o,s,i));return l.locale=n,l.key=t,l.source=o,l}function n$(e,t,n){return t(n)}function Df(...e){const[t,n,o]=e,r={};if(!Ge(t)&&!yn(t)&&!no(t)&&!Sa(t))throw Oo(bo.INVALID_ARGUMENT);const i=yn(t)?String(t):(no(t),t);return yn(n)?r.plural=n:Ge(n)?r.default=n:mt(n)&&!uu(n)?r.named=n:en(n)&&(r.list=n),yn(o)?r.plural=o:Ge(o)?r.default=o:mt(o)&&Tn(r,o),[i,r]}function o$(e,t,n,o,r,i){return{locale:t,key:n,warnHtmlMessage:r,onError:a=>{throw i&&i(a),a},onCacheKey:a=>DR(t,n,a)}}function r$(e,t,n,o){const{modifiers:r,pluralRules:i,messageResolver:a,fallbackLocale:s,fallbackWarn:l,missingWarn:c,fallbackContext:u}=e,f={locale:t,modifiers:r,pluralRules:i,messages:p=>{let h=a(n,p);if(h==null&&u){const[,,g]=Yx(u,p,t,s,l,c);h=a(g,p)}if(Ge(h)||Sa(h)){let g=!1;const m=Xx(e,p,t,h,p,()=>{g=!0});return g?mv:m}else return no(h)?h:mv}};return e.processor&&(f.processor=e.processor),o.list&&(f.list=o.list),o.named&&(f.named=o.named),yn(o.plural)&&(f.pluralIndex=o.plural),f}function vv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=Lf(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=hp(e,u),g=a(e,r,h);if(!Ge(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let b={},m,y=null;const k="datetime format";for(let x=0;x{Zx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function bv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function yv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=Ff(...t),f=_t(u.missingWarn)?u.missingWarn:e.missingWarn;_t(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const p=!!u.part,h=hp(e,u),g=a(e,r,h);if(!Ge(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let b={},m,y=null;const k="number format";for(let x=0;x{Jx.includes(l)?a[l]=n[l]:i[l]=n[l]}),Ge(o)?i.locale=o:mt(o)&&(a=o),mt(r)&&(a=r),[i.key||"",s,i,a]}function xv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}yE();/*! * vue-i18n v9.9.0 * (c) 2024 kazuya kawaguchi * Released under the MIT License. - */const o$="9.9.0";function r$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(or().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(or().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(or().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(or().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(or().__INTLIFY_PROD_DEVTOOLS__=!1)}const aC=FE.__EXTEND_POINT__,_r=dp(aC);_r(),_r(),_r(),_r(),_r(),_r(),_r(),_r();const sC=bo.__EXTEND_POINT__,Ln=dp(sC),xn={UNEXPECTED_RETURN_TYPE:sC,INVALID_ARGUMENT:Ln(),MUST_BE_CALL_SETUP_TOP:Ln(),NOT_INSTALLED:Ln(),NOT_AVAILABLE_IN_LEGACY_MODE:Ln(),REQUIRED_VALUE:Ln(),INVALID_VALUE:Ln(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ln(),NOT_INSTALLED_WITH_PROVIDE:Ln(),UNEXPECTED_ERROR:Ln(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ln(),BRIDGE_SUPPORT_VUE_2_ONLY:Ln(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ln(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ln(),__EXTEND_POINT__:Ln()};function Sn(e,...t){return Oa(e,null,void 0)}const Ff=Ur("__translateVNode"),Nf=Ur("__datetimeParts"),Bf=Ur("__numberParts"),lC=Ur("__setPluralRules"),cC=Ur("__injectWithOption"),Hf=Ur("__dispose");function Fs(e){if(!Bt(e))return e;for(const t in e)if(Cc(e,t))if(!t.includes("."))Bt(e[t])&&Fs(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},nc(c,a[l])):nc(c,a)}else Ge(s)&&nc(JSON.parse(s),a)}),r==null&&i)for(const s in a)Cc(a,s)&&Fs(a[s]);return a}function uC(e){return e.type}function dC(e,t,n){let o=Bt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=fu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Bt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Bt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Cv(e){return te(Ma,null,e,0)}const wv="__INTLIFY_META__",_v=()=>[],i$=()=>!1;let Sv=0;function kv(e){return(t,n,o,r)=>e(n,o,Zn()||void 0,r)}const a$=()=>{const e=Zn();let t=null;return e&&(t=uC(e)[wv])?{[wv]:t}:null};function mp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=xc?N:Aa;let s=_t(e.inheritLocale)?e.inheritLocale:!0;const l=a(n&&s?n.locale.value:Ge(e.locale)?e.locale:_a),c=a(n&&s?n.fallbackLocale.value:Ge(e.fallbackLocale)||en(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=a(fu(l.value,e)),d=a(mt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=a(mt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:_t(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:_t(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:_t(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,m=Gt(e.missing)?e.missing:null,y=Gt(e.missing)?kv(e.missing):null,k=Gt(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const x=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,_;_=(()=>{r&&fv(null);const ee={version:o$,locale:l.value,fallbackLocale:c.value,messages:u.value,modifiers:x,pluralRules:C,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:S,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ee.datetimeFormats=d.value,ee.numberFormats=f.value,ee.__datetimeFormatters=mt(_)?_.__datetimeFormatters:void 0,ee.__numberFormatters=mt(_)?_.__numberFormatters:void 0;const fe=YE(ee);return r&&fv(fe),fe})(),ns(_,l.value,c.value);function E(){return[l.value,c.value,u.value,d.value,f.value]}const M=L({get:()=>l.value,set:ee=>{l.value=ee,_.locale=l.value}}),A=L({get:()=>c.value,set:ee=>{c.value=ee,_.fallbackLocale=c.value,ns(_,l.value,ee)}}),q=L(()=>u.value),F=L(()=>d.value),z=L(()=>f.value);function D(){return Gt(k)?k:null}function Y(ee){k=ee,_.postTranslation=ee}function Q(){return m}function ce(ee){ee!==null&&(y=kv(ee)),m=ee,_.missing=y}const le=(ee,fe,Oe,Le,De,$e)=>{E();let Me;try{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=n?GE():void 0),Me=ee(_)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=void 0)}if(Oe!=="translate exists"&&yn(Me)&&Me===du||Oe==="translate exists"&&!Me){const[Fe,Be]=fe();return n&&g?Le(n):De(Fe)}else{if($e(Me))return Me;throw Sn(xn.UNEXPECTED_RETURN_TYPE)}};function B(...ee){return le(fe=>Reflect.apply(gv,null,[fe,...ee]),()=>Of(...ee),"translate",fe=>Reflect.apply(fe.t,fe,[...ee]),fe=>fe,fe=>Ge(fe))}function $(...ee){const[fe,Oe,Le]=ee;if(Le&&!Bt(Le))throw Sn(xn.INVALID_ARGUMENT);return B(fe,Oe,Tn({resolvedMessage:!0},Le||{}))}function I(...ee){return le(fe=>Reflect.apply(vv,null,[fe,...ee]),()=>Df(...ee),"datetime format",fe=>Reflect.apply(fe.d,fe,[...ee]),()=>cv,fe=>Ge(fe))}function K(...ee){return le(fe=>Reflect.apply(yv,null,[fe,...ee]),()=>Lf(...ee),"number format",fe=>Reflect.apply(fe.n,fe,[...ee]),()=>cv,fe=>Ge(fe))}function ne(ee){return ee.map(fe=>Ge(fe)||yn(fe)||_t(fe)?Cv(String(fe)):fe)}const J={normalize:ne,interpolate:ee=>ee,type:"vnode"};function ye(...ee){return le(fe=>{let Oe;const Le=fe;try{Le.processor=J,Oe=Reflect.apply(gv,null,[Le,...ee])}finally{Le.processor=null}return Oe},()=>Of(...ee),"translate",fe=>fe[Ff](...ee),fe=>[Cv(fe)],fe=>en(fe))}function j(...ee){return le(fe=>Reflect.apply(yv,null,[fe,...ee]),()=>Lf(...ee),"number format",fe=>fe[Bf](...ee),_v,fe=>Ge(fe)||en(fe))}function ge(...ee){return le(fe=>Reflect.apply(vv,null,[fe,...ee]),()=>Df(...ee),"datetime format",fe=>fe[Nf](...ee),_v,fe=>Ge(fe)||en(fe))}function Ee(ee){C=ee,_.pluralRules=C}function Ne(ee,fe){return le(()=>{if(!ee)return!1;const Oe=Ge(fe)?fe:l.value,Le=U(Oe),De=_.messageResolver(Le,ee);return Sa(De)||no(De)||Ge(De)},()=>[ee],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[ee,fe]),i$,Oe=>_t(Oe))}function T(ee){let fe=null;const Oe=Gx(_,c.value,l.value);for(let Le=0;Le{s&&(l.value=ee,_.locale=ee,ns(_,l.value,c.value))}),ht(n.fallbackLocale,ee=>{s&&(c.value=ee,_.fallbackLocale=ee,ns(_,l.value,c.value))}));const de={id:Sv,locale:M,fallbackLocale:A,get inheritLocale(){return s},set inheritLocale(ee){s=ee,ee&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,ns(_,l.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:q,get modifiers(){return x},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(ee){p=ee,_.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(ee){h=ee,_.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(ee){g=ee},get fallbackFormat(){return b},set fallbackFormat(ee){b=ee,_.fallbackFormat=b},get warnHtmlMessage(){return S},set warnHtmlMessage(ee){S=ee,_.warnHtmlMessage=ee},get escapeParameter(){return w},set escapeParameter(ee){w=ee,_.escapeParameter=ee},t:B,getLocaleMessage:U,setLocaleMessage:oe,mergeLocaleMessage:G,getPostTranslationHandler:D,setPostTranslationHandler:Y,getMissingHandler:Q,setMissingHandler:ce,[lC]:Ee};return de.datetimeFormats=F,de.numberFormats=z,de.rt=$,de.te=Ne,de.tm=P,de.d=I,de.n=K,de.getDateTimeFormat=se,de.setDateTimeFormat=xe,de.mergeDateTimeFormat=be,de.getNumberFormat=Ce,de.setNumberFormat=we,de.mergeNumberFormat=Re,de[cC]=o,de[Ff]=ye,de[Nf]=ge,de[Bf]=j,de}function s$(e){const t=Ge(e.locale)?e.locale:_a,n=Ge(e.fallbackLocale)||en(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Gt(e.missing)?e.missing:void 0,r=_t(e.silentTranslationWarn)||Nr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=_t(e.silentFallbackWarn)||Nr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=_t(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Gt(e.postTranslation)?e.postTranslation:void 0,d=Ge(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=_t(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const w=e.sharedMessages;h=Object.keys(w).reduce((C,_)=>{const R=C[_]||(C[_]={});return Tn(R,w[_]),C},h||{})}const{__i18n:g,__root:b,__injectWithOption:m}=e,y=e.datetimeFormats,k=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:S,datetimeFormats:y,numberFormats:k,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:g,__root:b,__injectWithOption:m}}function jf(e={},t){{const n=mp(s$(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return _t(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=_t(i)?!i:i},get silentFallbackWarn(){return _t(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=_t(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ge(a))throw Sn(xn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:en(s)?u=s:mt(s)&&(d=s),en(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,d=null;if(!Ge(a))throw Sn(xn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:yn(s)?c.plural=s:en(s)?u=s:mt(s)&&(d=s),Ge(l)?c.locale=l:en(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const gp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function l$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===it?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function fC(e){return it}const c$=me({name:"i18n-t",props:Tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},gp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||vp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ge(e.plural)?+e.plural:e.plural);const s=l$(t,i),l=r[Ff](e.keypath,s,a),c=Tn({},o),u=Ge(e.tag)||Bt(e.tag)?e.tag:fC();return v(u,c,l)}}}),Tv=c$;function u$(e){return en(e)&&!Ge(e[0])}function hC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ge(e.format)?a.key=e.format:Bt(e.format)&&(Ge(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Tn({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];en(l)?c=l.map((f,p)=>{const h=r[f.type],g=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return u$(g)&&(g[0].key=`${f.type}-${p}`),g}):Ge(l)&&(c=[l]);const u=Tn({},i),d=Ge(e.tag)||Bt(e.tag)?e.tag:fC();return v(d,u,c)}}const d$=me({name:"i18n-n",props:Tn({value:{type:Number,required:!0},format:{type:[String,Object]}},gp),setup(e,t){const n=e.i18n||vp({useScope:"parent",__useComponent:!0});return hC(e,t,iC,(...o)=>n[Bf](...o))}}),Pv=d$,f$=me({name:"i18n-d",props:Tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},gp),setup(e,t){const n=e.i18n||vp({useScope:"parent",__useComponent:!0});return hC(e,t,rC,(...o)=>n[Nf](...o))}}),Rv=f$;function h$(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function p$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw Sn(xn.UNEXPECTED_ERROR);const u=h$(e,s.$),d=Ev(c);return[Reflect.apply(u.t,u,[...$v(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);xc&&e.global===c&&(a.__i18nWatcher=ht(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{xc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=Ev(s);a.textContent=Reflect.apply(l.t,l,[...$v(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Ev(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw Sn(xn.REQUIRED_VALUE,"path");return e}else throw Sn(xn.INVALID_VALUE)}function $v(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ge(n)&&(a.locale=n),yn(r)&&(a.plural=r),yn(i)&&(a.plural=i),[t,s,a]}function m$(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(_t(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Tv.name,"I18nT"].forEach(a=>e.component(a,Tv)),[Pv.name,"I18nN"].forEach(a=>e.component(a,Pv)),[Rv.name,"I18nD"].forEach(a=>e.component(a,Rv))),e.directive("t",p$(t))}function g$(e,t,n){return{beforeCreate(){const o=Zn();if(!o)throw Sn(xn.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=Av(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=jf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Av(e,r);else{this.$i18n=jf({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&dC(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Zn();if(!o)throw Sn(xn.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Av(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[lC](t.pluralizationRules||e.pluralizationRules);const n=fu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const v$=Ur("global-vue-i18n");function b$(e={},t){const n=__VUE_I18N_LEGACY_API__&&_t(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_t(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=y$(e,n),l=Ur("");function c(f){return i.get(f)||null}function u(f,p){i.set(f,p)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(p,...h){if(p.__VUE_I18N_SYMBOL__=l,p.provide(p.__VUE_I18N_SYMBOL__,f),mt(h[0])){const m=h[0];f.__composerExtend=m.__composerExtend,f.__vueI18nExtend=m.__vueI18nExtend}let g=null;!n&&o&&(g=R$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&m$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(g$(s,s.__composer,f));const b=p.unmount;p.unmount=()=>{g&&g(),f.dispose(),b()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function vp(e={}){const t=Zn();if(t==null)throw Sn(xn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Sn(xn.NOT_INSTALLED);const n=x$(t),o=w$(n),r=uC(t),i=C$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Sn(xn.NOT_AVAILABLE_IN_LEGACY_MODE);return T$(t,i,o,e)}if(i==="global")return dC(o,e,r),o;if(i==="parent"){let l=_$(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Tn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=mp(l),a.__composerExtend&&(s[Hf]=a.__composerExtend(s)),k$(a,t,s),a.__setInstance(t,s)}return s}function y$(e,t,n){const o=Ih();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>jf(e)):o.run(()=>mp(e));if(r==null)throw Sn(xn.UNEXPECTED_ERROR);return[o,r]}}function x$(e){{const t=qe(e.isCE?v$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Sn(e.isCE?xn.NOT_INSTALLED_WITH_PROVIDE:xn.UNEXPECTED_ERROR);return t}}function C$(e,t){return uu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function w$(e){return e.mode==="composition"?e.global:e.global.__composer}function _$(e,t,n=!1){let o=null;const r=t.root;let i=S$(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(o=s.__composer,n&&o&&!o[cC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function S$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function k$(e,t,n){Lt(()=>{},t),Ys(()=>{const o=n;e.__deleteInstance(t);const r=o[Hf];r&&(r(),delete o[Hf])},t)}function T$(e,t,n,o={}){const r=t==="local",i=Aa(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Sn(xn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=_t(o.inheritLocale)?o.inheritLocale:!Ge(o.locale),s=N(!r||a?n.locale.value:Ge(o.locale)?o.locale:_a),l=N(!r||a?n.fallbackLocale.value:Ge(o.fallbackLocale)||en(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=N(fu(s.value,o)),u=N(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=N(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:_t(o.missingWarn)||Nr(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:_t(o.fallbackWarn)||Nr(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:_t(o.fallbackRoot)?o.fallbackRoot:!0,g=!!o.fallbackFormat,b=Gt(o.missing)?o.missing:null,m=Gt(o.postTranslation)?o.postTranslation:null,y=r?n.warnHtmlMessage:_t(o.warnHtmlMessage)?o.warnHtmlMessage:!0,k=!!o.escapeParameter,S=r?n.modifiers:mt(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const C=L({get:()=>i.value?i.value.locale.value:s.value,set:P=>{i.value&&(i.value.locale.value=P),s.value=P}}),_=L({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:P=>{i.value&&(i.value.fallbackLocale.value=P),l.value=P}}),R=L(()=>i.value?i.value.messages.value:c.value),E=L(()=>u.value),M=L(()=>d.value);function A(){return i.value?i.value.getPostTranslationHandler():m}function q(P){i.value&&i.value.setPostTranslationHandler(P)}function F(){return i.value?i.value.getMissingHandler():b}function z(P){i.value&&i.value.setMissingHandler(P)}function D(P){return x(),P()}function Y(...P){return i.value?D(()=>Reflect.apply(i.value.t,null,[...P])):D(()=>"")}function Q(...P){return i.value?Reflect.apply(i.value.rt,null,[...P]):""}function ce(...P){return i.value?D(()=>Reflect.apply(i.value.d,null,[...P])):D(()=>"")}function le(...P){return i.value?D(()=>Reflect.apply(i.value.n,null,[...P])):D(()=>"")}function B(P){return i.value?i.value.tm(P):{}}function $(P,U){return i.value?i.value.te(P,U):!1}function I(P){return i.value?i.value.getLocaleMessage(P):{}}function K(P,U){i.value&&(i.value.setLocaleMessage(P,U),c.value[P]=U)}function ne(P,U){i.value&&i.value.mergeLocaleMessage(P,U)}function ve(P){return i.value?i.value.getDateTimeFormat(P):{}}function J(P,U){i.value&&(i.value.setDateTimeFormat(P,U),u.value[P]=U)}function ye(P,U){i.value&&i.value.mergeDateTimeFormat(P,U)}function j(P){return i.value?i.value.getNumberFormat(P):{}}function ge(P,U){i.value&&(i.value.setNumberFormat(P,U),d.value[P]=U)}function Ee(P,U){i.value&&i.value.mergeNumberFormat(P,U)}const Ne={get id(){return i.value?i.value.id:-1},locale:C,fallbackLocale:_,messages:R,datetimeFormats:E,numberFormats:M,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(P){i.value&&(i.value.inheritLocale=P)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:S},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(P){i.value&&(i.value.missingWarn=P)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(P){i.value&&(i.value.missingWarn=P)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(P){i.value&&(i.value.fallbackRoot=P)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(P){i.value&&(i.value.fallbackFormat=P)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:y},set warnHtmlMessage(P){i.value&&(i.value.warnHtmlMessage=P)},get escapeParameter(){return i.value?i.value.escapeParameter:k},set escapeParameter(P){i.value&&(i.value.escapeParameter=P)},t:Y,getPostTranslationHandler:A,setPostTranslationHandler:q,getMissingHandler:F,setMissingHandler:z,rt:Q,d:ce,n:le,tm:B,te:$,getLocaleMessage:I,setLocaleMessage:K,mergeLocaleMessage:ne,getDateTimeFormat:ve,setDateTimeFormat:J,mergeDateTimeFormat:ye,getNumberFormat:j,setNumberFormat:ge,mergeNumberFormat:Ee};function T(P){P.locale.value=s.value,P.fallbackLocale.value=l.value,Object.keys(c.value).forEach(U=>{P.mergeLocaleMessage(U,c.value[U])}),Object.keys(u.value).forEach(U=>{P.mergeDateTimeFormat(U,u.value[U])}),Object.keys(d.value).forEach(U=>{P.mergeNumberFormat(U,d.value[U])}),P.escapeParameter=k,P.fallbackFormat=g,P.fallbackRoot=h,P.fallbackWarn=p,P.missingWarn=f,P.warnHtmlMessage=y}return cn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Sn(xn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const P=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=P.locale.value,l.value=P.fallbackLocale.value,c.value=P.messages.value,u.value=P.datetimeFormats.value,d.value=P.numberFormats.value):r&&T(P)}),Ne}const P$=["locale","fallbackLocale","availableLocales"],Iv=["t","rt","d","n","tm","te"];function R$(e,t){const n=Object.create(null);return P$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Sn(xn.UNEXPECTED_ERROR);const a=dn(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Iv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Sn(xn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Iv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}r$();__INTLIFY_JIT_COMPILATION__?dv(JE):dv(ZE);UE(kE);WE(Gx);if(__INTLIFY_PROD_DEVTOOLS__){const e=or();e.__INTLIFY__=!0,zE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const pC="locale",E$=72*60*60;function Vf(){return Ai.get(pC)}function $$(e){Ai.set(pC,e,E$)}const sn=b$({locale:Vf().value||"zh-CN",fallbackLocale:Vf().value||"zh-CN",messages:{}});async function A$(){const e=Object.keys(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>L1),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>F1),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>N1),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>B1),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>H1),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>j1),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>V1),void 0)})).map(t=>t.slice(7,-5));await Promise.all(e.map(async t=>{const n=await MR(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>L1),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>F1),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>N1),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>B1),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>H1),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>j1),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>V1),void 0)}),`./lang/${t}.json`).then(o=>o.default||o);sn.global.setLocaleMessage(t,n)}))}async function I$(e){e.use(sn),A$()}const xi={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Uf=e=>sn.global.t(e);function jo(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),$R(e).format(t))}function bp(e=void 0,t="YYYY-MM-DD"){return jo(e,t)}function aa(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function an(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function ua(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(Uf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Mv(e)}):Mv(e)}function Mv(e){const t=document.createElement("button"),n=new IR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Uf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Uf("复制失败")),n.destroy()}),t.click()}function M$(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function ys(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?aa(r)+" TB":o>=1?aa(o)+" GB":n>=1?aa(n)+" MB":aa(t)+" KB"}function z$(e){return typeof e>"u"}function O$(e){return e===null}function zv(e){return e&&Array.isArray(e)}function mC(e){return O$(e)||z$(e)}function Ov(e){return/^(https?:|mailto:|tel:)/.test(e)}const xs=/^[a-z0-9]+(-[a-z0-9]+)*$/,hu=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:s};return t&&!oc(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!oc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!oc(s,n)?null:s}return null},oc=(e,t)=>e?!!((e.provider===""||e.provider.match(xs))&&(t&&e.prefix===""||e.prefix.match(xs))&&e.name.match(xs)):!1,gC=Object.freeze({left:0,top:0,width:16,height:16}),wc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),pu=Object.freeze({...gC,...wc}),Wf=Object.freeze({...pu,body:"",hidden:!1});function D$(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Dv(e,t){const n=D$(e,t);for(const o in Wf)o in wc?o in e&&!(o in n)&&(n[o]=wc[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function L$(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=o[a]&&o[a].parent,l=s&&i(s);l&&(r[a]=[s].concat(l))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function F$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Dv(o[s]||r[s],i)}return a(t),n.forEach(a),Dv(e,i)}function vC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=L$(e);for(const r in o){const i=o[r];i&&(t(r,F$(e,r,i)),n.push(r))}return n}const N$={provider:"",aliases:{},not_found:{},...gC};function Cd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function bC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Cd(e,N$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(xs)||typeof i.body!="string"||!Cd(i,Wf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(xs)||typeof a!="string"||!n[a]&&!o[a]||!Cd(i,Wf))return null}return t}const Lv=Object.create(null);function B$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ci(e,t){const n=Lv[e]||(Lv[e]=Object.create(null));return n[t]||(n[t]=B$(e,t))}function yp(e,t){return bC(t)?vC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function H$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ns=!1;function yC(e){return typeof e=="boolean"&&(Ns=e),Ns}function j$(e){const t=typeof e=="string"?hu(e,!0,Ns):e;if(t){const n=Ci(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function V$(e,t){const n=hu(e,!0,Ns);if(!n)return!1;const o=Ci(n.provider,n.prefix);return H$(o,n.name,t)}function U$(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ns&&!t&&!e.prefix){let r=!1;return bC(e)&&(e.prefix="",vC(e,(i,a)=>{a&&V$(i,a)&&(r=!0)})),r}const n=e.prefix;if(!oc({provider:t,prefix:n,name:"a"}))return!1;const o=Ci(t,n);return!!yp(o,e)}const xC=Object.freeze({width:null,height:null}),CC=Object.freeze({...xC,...wc}),W$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,q$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Fv(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(W$);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=q$.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?r.push(i):r.push(Math.ceil(s*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}const K$=e=>e==="unset"||e==="undefined"||e==="none";function G$(e,t){const n={...pu,...e},o={...CC,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(h=>{const g=[],b=h.hFlip,m=h.vFlip;let y=h.rotate;b?m?y+=2:(g.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),g.push("scale(-1 1)"),r.top=r.left=0):m&&(g.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),g.push("scale(1 -1)"),r.top=r.left=0);let k;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:k=r.height/2+r.top,g.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:g.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:k=r.width/2+r.left,g.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}y%2===1&&(r.left!==r.top&&(k=r.left,r.left=r.top,r.top=k),r.width!==r.height&&(k=r.width,r.width=r.height,r.height=k)),g.length&&(i=''+i+"")});const a=o.width,s=o.height,l=r.width,c=r.height;let u,d;a===null?(d=s===null?"1em":s==="auto"?c:s,u=Fv(d,l/c)):(u=a==="auto"?l:a,d=s===null?Fv(u,c/l):s==="auto"?c:s);const f={},p=(h,g)=>{K$(g)||(f[h]=g.toString())};return p("width",u),p("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:f,body:i}}const Y$=/\sid="(\S+)"/g,X$="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Z$=0;function J$(e,t=X$){const n=[];let o;for(;o=Y$.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(Z$++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const qf=Object.create(null);function Q$(e,t){qf[e]=t}function Kf(e){return qf[e]||qf[""]}function xp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Cp=Object.create(null),os=["https://api.simplesvg.com","https://api.unisvg.com"],rc=[];for(;os.length>0;)os.length===1||Math.random()>.5?rc.push(os.shift()):rc.push(os.pop());Cp[""]=xp({resources:["https://api.iconify.design"].concat(rc)});function eA(e,t){const n=xp(t);return n===null?!1:(Cp[e]=n,!0)}function wp(e){return Cp[e]}const tA=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Nv=tA();function nA(e,t){const n=wp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function oA(e){return e===404}const rA=(e,t,n)=>{const o=[],r=nA(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),o.push(a),o};function iA(e){if(typeof e=="string"){const t=wp(e);if(t)return t.path}return"/"}const aA=(e,t,n)=>{if(!Nv){n("abort",424);return}let o=iA(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;Nv(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(oA(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},sA={prepare:rA,send:aA};function lA(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,s=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[a]||(l[a]=Ci(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:s};u.push(d)}),t}function wC(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function cA(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||wC([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let uA=0;function dA(e,t,n){const o=uA++,r=wC.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function fA(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?hu(r,t,n):r;i&&o.push(i)}),o}var hA={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function pA(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const C=Math.floor(Math.random()*x.length);a.push(x[C]),x=x.slice(0,C).concat(x.slice(C+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,d=null,f=[],p=[];typeof o=="function"&&p.push(o);function h(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),h(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function b(x,C){C&&(p=[]),typeof x=="function"&&p.push(x)}function m(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:b,abort:g}}function y(){l="failed",p.forEach(x=>{x(void 0,u)})}function k(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function S(x,C,_){const R=C!=="success";switch(f=f.filter(E=>E!==x),l){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(C==="abort"){u=_,y();return}if(R){u=_,f.length||(a.length?w():y());return}if(h(),k(),!e.random){const E=e.resources.indexOf(x.resource);E!==-1&&E!==e.index&&(e.index=E)}l="completed",p.forEach(E=>{E(_)})}function w(){if(l!=="pending")return;h();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(k(),y())},e.timeout);return}y();return}const C={status:"pending",resource:x,callback:(_,R)=>{S(C,_,R)}};f.push(C),c++,d=setTimeout(w,e.rotate),n(x,t,C.callback)}return setTimeout(w),m}function _C(e){const t={...hA,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=pA(t,s,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(s){return n.find(l=>s(l))||null}return{query:r,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function Bv(){}const wd=Object.create(null);function mA(e){if(!wd[e]){const t=wp(e);if(!t)return;const n=_C(t),o={config:t,redundancy:n};wd[e]=o}return wd[e]}function gA(e,t,n){let o,r;if(typeof e=="string"){const i=Kf(e);if(!i)return n(void 0,424),Bv;r=i.send;const a=mA(e);a&&(o=a.redundancy)}else{const i=xp(e);if(i){o=_C(i);const a=e.resources?e.resources[0]:"",s=Kf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Bv):o.query(t,r,n)().abort}const Hv="iconify2",Bs="iconify",SC=Bs+"-count",jv=Bs+"-version",kC=36e5,vA=168;function Gf(e,t){try{return e.getItem(t)}catch{}}function _p(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Vv(e,t){try{e.removeItem(t)}catch{}}function Yf(e,t){return _p(e,SC,t.toString())}function Xf(e){return parseInt(Gf(e,SC))||0}const mu={local:!0,session:!0},TC={local:new Set,session:new Set};let Sp=!1;function bA(e){Sp=e}let kl=typeof window>"u"?{}:window;function PC(e){const t=e+"Storage";try{if(kl&&kl[t]&&typeof kl[t].length=="number")return kl[t]}catch{}mu[e]=!1}function RC(e,t){const n=PC(e);if(!n)return;const o=Gf(n,jv);if(o!==Hv){if(o){const s=Xf(n);for(let l=0;l{const l=Bs+s.toString(),c=Gf(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}Vv(n,l)}};let a=Xf(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Yf(n,a)):TC[e].add(s))}function EC(){if(!Sp){bA(!0);for(const e in mu)RC(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Ci(o,r);if(!yp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function yA(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in mu)RC(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function xA(e,t){Sp||EC();function n(o){let r;if(!mu[o]||!(r=PC(o)))return;const i=TC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Xf(r),!Yf(r,a+1))return;const s={cached:Math.floor(Date.now()/kC),provider:e.provider,data:t};return _p(r,Bs+a.toString(),JSON.stringify(s))}t.lastModified&&!yA(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Uv(){}function CA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,cA(e)}))}function wA(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=Kf(n)))return;i.prepare(n,o,r).forEach(s=>{gA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=yp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),xA(e,l)}catch(c){console.error(c)}CA(e)})})}))}const _A=(e,t)=>{const n=fA(e,!0,yC()),o=lA(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Uv)}),()=>{l=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push(Ci(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=Ci(c,u),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&wA(l,r[c][u])}),t?dA(t,o,i):Uv};function SA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in xC?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const kA=/[\s,]+/;function TA(e,t){t.split(kA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function PA(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function RA(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function EA(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function $A(e){return"data:image/svg+xml,"+EA(e)}function AA(e){return'url("'+$A(e)+'")'}const Wv={...CC,inline:!1},IA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},MA={display:"inline-block"},Zf={backgroundColor:"currentColor"},$C={backgroundColor:"transparent"},qv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Kv={webkitMask:Zf,mask:Zf,background:$C};for(const e in Kv){const t=Kv[e];for(const n in qv)t[e+n]=qv[n]}const ic={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ic[e+"-flip"]=t,ic[e.slice(0,1)+"-flip"]=t,ic[e+"Flip"]=t});function Gv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Yv=(e,t)=>{const n=SA(Wv,t),o={...IA},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const b=t[g];if(b!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&TA(n,b);break;case"color":i.color=b;break;case"rotate":typeof b=="string"?n[g]=PA(b):typeof b=="number"&&(n[g]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete o["aria-hidden"];break;default:{const m=ic[g];m?(b===!0||b==="true"||b===1)&&(n[m]=!0):Wv[g]===void 0&&(o[g]=b)}}}const l=G$(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let g=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),o.innerHTML=J$(l.body,b?()=>b+"ID"+g++:"iconifyVue"),v("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=RA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":AA(h),width:Gv(c.width),height:Gv(c.height),...MA,...p?Zf:$C,...s},v("span",o)};yC(!0);Q$("",sA);if(typeof document<"u"&&typeof window<"u"){EC();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!U$(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;eA(n,r)||console.error(o)}catch{console.error(o)}}}}const zA={...pu,body:""},OA=me({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=hu(e,!1,!0))===null)return this.abortLoading(),null;const o=j$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:_A([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Yv(zA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Yv({...pu,...t.data},n)}});let _c=[];const AC=new WeakMap;function DA(){_c.forEach(e=>e(...AC.get(e))),_c=[]}function Sc(e,...t){AC.set(e,t),!_c.includes(e)&&_c.push(e)===1&&requestAnimationFrame(DA)}function LA(e){return e.nodeType===9?null:e.parentNode}function IC(e){if(e===null)return null;const t=LA(e);if(t===null)return null;if(t.nodeType===9)return document.documentElement;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return IC(t)}function FA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function Vo(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function wi(e){return e.composedPath()[0]||null}function kn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function zn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function yo(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function NA(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const Xv={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Da="^\\s*",La="\\s*$",ui="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",di="([0-9A-Fa-f])",fi="([0-9A-Fa-f]{2})",BA=new RegExp(`${Da}rgb\\s*\\(${ui},${ui},${ui}\\)${La}`),HA=new RegExp(`${Da}rgba\\s*\\(${ui},${ui},${ui},${ui}\\)${La}`),jA=new RegExp(`${Da}#${di}${di}${di}${La}`),VA=new RegExp(`${Da}#${fi}${fi}${fi}${La}`),UA=new RegExp(`${Da}#${di}${di}${di}${di}${La}`),WA=new RegExp(`${Da}#${fi}${fi}${fi}${fi}${La}`);function Fn(e){return parseInt(e,16)}function Uo(e){try{let t;if(t=VA.exec(e))return[Fn(t[1]),Fn(t[2]),Fn(t[3]),1];if(t=BA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),1];if(t=HA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),Cs(t[13])];if(t=jA.exec(e))return[Fn(t[1]+t[1]),Fn(t[2]+t[2]),Fn(t[3]+t[3]),1];if(t=WA.exec(e))return[Fn(t[1]),Fn(t[2]),Fn(t[3]),Cs(Fn(t[4])/255)];if(t=UA.exec(e))return[Fn(t[1]+t[1]),Fn(t[2]+t[2]),Fn(t[3]+t[3]),Cs(Fn(t[4]+t[4])/255)];if(e in Xv)return Uo(Xv[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function qA(e){return e>1?1:e<0?0:e}function Jf(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${qA(o)})`}function _d(e,t,n,o,r){return Rn((e*t*(1-o)+n*o)/r)}function et(e,t){Array.isArray(e)||(e=Uo(e)),Array.isArray(t)||(t=Uo(t));const n=e[3],o=t[3],r=Cs(n+o-n*o);return Jf(_d(e[0],n,t[0],o,r),_d(e[1],n,t[1],o,r),_d(e[2],n,t[2],o,r),r)}function Ie(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e);return t.alpha?Jf(n,o,r,t.alpha):Jf(n,o,r,i)}function fn(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e),{lightness:a=1,alpha:s=1}=t;return KA([n*a,o*a,r*a,i*s])}function Cs(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Rn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function KA(e){const[t,n,o]=e;return 3 in e?`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, ${Cs(e[3])})`:`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, 1)`}function Ii(e=8){return Math.random().toString(16).slice(2,2+e)}function MC(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function Qs(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function ka(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Je(String(o)));return}if(Array.isArray(o)){ka(o,t,n);return}if(o.type===it){if(o.children===null)return;Array.isArray(o.children)&&ka(o.children,t,n)}else{if(o.type===$n&&t)return;n.push(o)}}}),n}function Pe(e,...t){if(Array.isArray(e))e.forEach(n=>Pe(n,...t));else return e(...t)}function qr(e){return Object.keys(e)}const Vt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Je(e):typeof e=="number"?Je(String(e)):null;function sr(e,t){console.error(`[naive/${e}]: ${t}`)}function Kr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Zv(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function YA(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Qf(e,t="default",n=void 0){const o=e[t];if(!o)return sr("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=ka(o(n));return r.length===1?r[0]:(sr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function OC(e){return t=>{t?e.value=t.$el:e.value=null}}function el(e){return e.some(t=>zs(t)?!(t.type===$n||t.type===it&&!el(t.children)):!0)?e:null}function An(e,t){return e&&el(e())||t()}function eh(e,t,n){return e&&el(e(t))||n(t)}function $t(e,t){const n=e&&el(e());return t(n||null)}function da(e){return!(e&&el(e()))}function ws(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const th=me({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),XA=/^(\d|\.)+$/,Jv=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(XA.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=Jv.exec(e);return r?e.replace(Jv,String((Number(r[0])+n)*t)):e}return e}function kc(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function ZA(e){let t=0;for(let n=0;n{let r=ZA(o);if(r){if(r===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let i=[o];for(;r--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>n.push(a))}),n}function e6(e,t){const n=[];return t.split(DC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function t6(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=QA(t,n):t=e6(t,n))}),t.join(", ").replace(JA," ")}function Qv(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function gu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function n6(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Tl(e){return e?/^\s*@(s|m)/.test(e):!1}const o6=/[A-Z]/g;function LC(e){return e.replace(o6,t=>"-"+t.toLowerCase())}function r6(e,t=" "){return typeof e=="object"&&e!==null?` { -`+Object.entries(e).map(n=>t+` ${LC(n[0])}: ${n[1]};`).join(` + */const i$="9.9.0";function a$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(or().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(or().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(or().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(or().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(or().__INTLIFY_PROD_DEVTOOLS__=!1)}const Qx=BE.__EXTEND_POINT__,_r=dp(Qx);_r(),_r(),_r(),_r(),_r(),_r(),_r(),_r();const eC=bo.__EXTEND_POINT__,Ln=dp(eC),xn={UNEXPECTED_RETURN_TYPE:eC,INVALID_ARGUMENT:Ln(),MUST_BE_CALL_SETUP_TOP:Ln(),NOT_INSTALLED:Ln(),NOT_AVAILABLE_IN_LEGACY_MODE:Ln(),REQUIRED_VALUE:Ln(),INVALID_VALUE:Ln(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ln(),NOT_INSTALLED_WITH_PROVIDE:Ln(),UNEXPECTED_ERROR:Ln(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ln(),BRIDGE_SUPPORT_VUE_2_ONLY:Ln(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ln(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ln(),__EXTEND_POINT__:Ln()};function Sn(e,...t){return Oa(e,null,void 0)}const Nf=Ur("__translateVNode"),Bf=Ur("__datetimeParts"),Hf=Ur("__numberParts"),tC=Ur("__setPluralRules"),nC=Ur("__injectWithOption"),jf=Ur("__dispose");function Fs(e){if(!Bt(e))return e;for(const t in e)if(Cc(e,t))if(!t.includes("."))Bt(e[t])&&Fs(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},nc(c,a[l])):nc(c,a)}else Ge(s)&&nc(JSON.parse(s),a)}),r==null&&i)for(const s in a)Cc(a,s)&&Fs(a[s]);return a}function oC(e){return e.type}function rC(e,t,n){let o=Bt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=fu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Bt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Bt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Cv(e){return te(Ma,null,e,0)}const wv="__INTLIFY_META__",_v=()=>[],s$=()=>!1;let Sv=0;function kv(e){return(t,n,o,r)=>e(n,o,Zn()||void 0,r)}const l$=()=>{const e=Zn();let t=null;return e&&(t=oC(e)[wv])?{[wv]:t}:null};function mp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=xc?N:Aa;let s=_t(e.inheritLocale)?e.inheritLocale:!0;const l=a(n&&s?n.locale.value:Ge(e.locale)?e.locale:_a),c=a(n&&s?n.fallbackLocale.value:Ge(e.fallbackLocale)||en(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=a(fu(l.value,e)),d=a(mt(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=a(mt(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:_t(e.missingWarn)||Nr(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:_t(e.fallbackWarn)||Nr(e.fallbackWarn)?e.fallbackWarn:!0,g=n?n.fallbackRoot:_t(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,m=Gt(e.missing)?e.missing:null,y=Gt(e.missing)?kv(e.missing):null,k=Gt(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:_t(e.warnHtmlMessage)?e.warnHtmlMessage:!0,w=!!e.escapeParameter;const x=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,_;_=(()=>{r&&fv(null);const ee={version:i$,locale:l.value,fallbackLocale:c.value,messages:u.value,modifiers:x,pluralRules:C,missing:y===null?void 0:y,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:k===null?void 0:k,warnHtmlMessage:S,escapeParameter:w,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ee.datetimeFormats=d.value,ee.numberFormats=f.value,ee.__datetimeFormatters=mt(_)?_.__datetimeFormatters:void 0,ee.__numberFormatters=mt(_)?_.__numberFormatters:void 0;const fe=ZE(ee);return r&&fv(fe),fe})(),ns(_,l.value,c.value);function E(){return[l.value,c.value,u.value,d.value,f.value]}const M=L({get:()=>l.value,set:ee=>{l.value=ee,_.locale=l.value}}),A=L({get:()=>c.value,set:ee=>{c.value=ee,_.fallbackLocale=c.value,ns(_,l.value,ee)}}),q=L(()=>u.value),F=L(()=>d.value),z=L(()=>f.value);function D(){return Gt(k)?k:null}function Y(ee){k=ee,_.postTranslation=ee}function Q(){return m}function ce(ee){ee!==null&&(y=kv(ee)),m=ee,_.missing=y}const le=(ee,fe,Oe,Le,De,$e)=>{E();let Me;try{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=n?XE():void 0),Me=ee(_)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(_.fallbackContext=void 0)}if(Oe!=="translate exists"&&yn(Me)&&Me===du||Oe==="translate exists"&&!Me){const[Fe,Be]=fe();return n&&g?Le(n):De(Fe)}else{if($e(Me))return Me;throw Sn(xn.UNEXPECTED_RETURN_TYPE)}};function B(...ee){return le(fe=>Reflect.apply(gv,null,[fe,...ee]),()=>Df(...ee),"translate",fe=>Reflect.apply(fe.t,fe,[...ee]),fe=>fe,fe=>Ge(fe))}function $(...ee){const[fe,Oe,Le]=ee;if(Le&&!Bt(Le))throw Sn(xn.INVALID_ARGUMENT);return B(fe,Oe,Tn({resolvedMessage:!0},Le||{}))}function I(...ee){return le(fe=>Reflect.apply(vv,null,[fe,...ee]),()=>Lf(...ee),"datetime format",fe=>Reflect.apply(fe.d,fe,[...ee]),()=>cv,fe=>Ge(fe))}function K(...ee){return le(fe=>Reflect.apply(yv,null,[fe,...ee]),()=>Ff(...ee),"number format",fe=>Reflect.apply(fe.n,fe,[...ee]),()=>cv,fe=>Ge(fe))}function ne(ee){return ee.map(fe=>Ge(fe)||yn(fe)||_t(fe)?Cv(String(fe)):fe)}const J={normalize:ne,interpolate:ee=>ee,type:"vnode"};function ye(...ee){return le(fe=>{let Oe;const Le=fe;try{Le.processor=J,Oe=Reflect.apply(gv,null,[Le,...ee])}finally{Le.processor=null}return Oe},()=>Df(...ee),"translate",fe=>fe[Nf](...ee),fe=>[Cv(fe)],fe=>en(fe))}function j(...ee){return le(fe=>Reflect.apply(yv,null,[fe,...ee]),()=>Ff(...ee),"number format",fe=>fe[Hf](...ee),_v,fe=>Ge(fe)||en(fe))}function ge(...ee){return le(fe=>Reflect.apply(vv,null,[fe,...ee]),()=>Lf(...ee),"datetime format",fe=>fe[Bf](...ee),_v,fe=>Ge(fe)||en(fe))}function Ee(ee){C=ee,_.pluralRules=C}function Ne(ee,fe){return le(()=>{if(!ee)return!1;const Oe=Ge(fe)?fe:l.value,Le=U(Oe),De=_.messageResolver(Le,ee);return Sa(De)||no(De)||Ge(De)},()=>[ee],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[ee,fe]),s$,Oe=>_t(Oe))}function T(ee){let fe=null;const Oe=Hx(_,c.value,l.value);for(let Le=0;Le{s&&(l.value=ee,_.locale=ee,ns(_,l.value,c.value))}),ht(n.fallbackLocale,ee=>{s&&(c.value=ee,_.fallbackLocale=ee,ns(_,l.value,c.value))}));const de={id:Sv,locale:M,fallbackLocale:A,get inheritLocale(){return s},set inheritLocale(ee){s=ee,ee&&n&&(l.value=n.locale.value,c.value=n.fallbackLocale.value,ns(_,l.value,c.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:q,get modifiers(){return x},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(ee){p=ee,_.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(ee){h=ee,_.fallbackWarn=h},get fallbackRoot(){return g},set fallbackRoot(ee){g=ee},get fallbackFormat(){return b},set fallbackFormat(ee){b=ee,_.fallbackFormat=b},get warnHtmlMessage(){return S},set warnHtmlMessage(ee){S=ee,_.warnHtmlMessage=ee},get escapeParameter(){return w},set escapeParameter(ee){w=ee,_.escapeParameter=ee},t:B,getLocaleMessage:U,setLocaleMessage:oe,mergeLocaleMessage:G,getPostTranslationHandler:D,setPostTranslationHandler:Y,getMissingHandler:Q,setMissingHandler:ce,[tC]:Ee};return de.datetimeFormats=F,de.numberFormats=z,de.rt=$,de.te=Ne,de.tm=P,de.d=I,de.n=K,de.getDateTimeFormat=se,de.setDateTimeFormat=xe,de.mergeDateTimeFormat=be,de.getNumberFormat=Ce,de.setNumberFormat=we,de.mergeNumberFormat=Re,de[nC]=o,de[Nf]=ye,de[Bf]=ge,de[Hf]=j,de}function c$(e){const t=Ge(e.locale)?e.locale:_a,n=Ge(e.fallbackLocale)||en(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Gt(e.missing)?e.missing:void 0,r=_t(e.silentTranslationWarn)||Nr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=_t(e.silentFallbackWarn)||Nr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=_t(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Gt(e.postTranslation)?e.postTranslation:void 0,d=Ge(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,p=_t(e.sync)?e.sync:!0;let h=e.messages;if(mt(e.sharedMessages)){const w=e.sharedMessages;h=Object.keys(w).reduce((C,_)=>{const R=C[_]||(C[_]={});return Tn(R,w[_]),C},h||{})}const{__i18n:g,__root:b,__injectWithOption:m}=e,y=e.datetimeFormats,k=e.numberFormats,S=e.flatJson;return{locale:t,fallbackLocale:n,messages:h,flatJson:S,datetimeFormats:y,numberFormats:k,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:g,__root:b,__injectWithOption:m}}function Vf(e={},t){{const n=mp(c$(e)),{__extender:o}=e,r={id:n.id,get locale(){return n.locale.value},set locale(i){n.locale.value=i},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(i){n.fallbackLocale.value=i},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(i){},get missing(){return n.getMissingHandler()},set missing(i){n.setMissingHandler(i)},get silentTranslationWarn(){return _t(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=_t(i)?!i:i},get silentFallbackWarn(){return _t(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=_t(i)?!i:i},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(i){n.fallbackFormat=i},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(i){n.setPostTranslationHandler(i)},get sync(){return n.inheritLocale},set sync(i){n.inheritLocale=i},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){n.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(i){n.escapeParameter=i},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(i){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...i){const[a,s,l]=i,c={};let u=null,d=null;if(!Ge(a))throw Sn(xn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:en(s)?u=s:mt(s)&&(d=s),en(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},rt(...i){return Reflect.apply(n.rt,n,[...i])},tc(...i){const[a,s,l]=i,c={plural:1};let u=null,d=null;if(!Ge(a))throw Sn(xn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:yn(s)?c.plural=s:en(s)?u=s:mt(s)&&(d=s),Ge(l)?c.locale=l:en(l)?u=l:mt(l)&&(d=l),Reflect.apply(n.t,n,[f,u||d||{},c])},te(i,a){return n.te(i,a)},tm(i){return n.tm(i)},getLocaleMessage(i){return n.getLocaleMessage(i)},setLocaleMessage(i,a){n.setLocaleMessage(i,a)},mergeLocaleMessage(i,a){n.mergeLocaleMessage(i,a)},d(...i){return Reflect.apply(n.d,n,[...i])},getDateTimeFormat(i){return n.getDateTimeFormat(i)},setDateTimeFormat(i,a){n.setDateTimeFormat(i,a)},mergeDateTimeFormat(i,a){n.mergeDateTimeFormat(i,a)},n(...i){return Reflect.apply(n.n,n,[...i])},getNumberFormat(i){return n.getNumberFormat(i)},setNumberFormat(i,a){n.setNumberFormat(i,a)},mergeNumberFormat(i,a){n.mergeNumberFormat(i,a)},getChoiceIndex(i,a){return-1}};return r.__extender=o,r}}const gp={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function u$({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((o,r)=>[...o,...r.type===it?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function iC(e){return it}const d$=me({name:"i18n-t",props:Tn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},gp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||vp({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Ge(e.plural)?+e.plural:e.plural);const s=u$(t,i),l=r[Nf](e.keypath,s,a),c=Tn({},o),u=Ge(e.tag)||Bt(e.tag)?e.tag:iC();return v(u,c,l)}}}),Tv=d$;function f$(e){return en(e)&&!Ge(e[0])}function aC(e,t,n,o){const{slots:r,attrs:i}=t;return()=>{const a={part:!0};let s={};e.locale&&(a.locale=e.locale),Ge(e.format)?a.key=e.format:Bt(e.format)&&(Ge(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Tn({},f,{[p]:e.format[p]}):f,{}));const l=o(e.value,a,s);let c=[a.key];en(l)?c=l.map((f,p)=>{const h=r[f.type],g=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return f$(g)&&(g[0].key=`${f.type}-${p}`),g}):Ge(l)&&(c=[l]);const u=Tn({},i),d=Ge(e.tag)||Bt(e.tag)?e.tag:iC();return v(d,u,c)}}const h$=me({name:"i18n-n",props:Tn({value:{type:Number,required:!0},format:{type:[String,Object]}},gp),setup(e,t){const n=e.i18n||vp({useScope:"parent",__useComponent:!0});return aC(e,t,Jx,(...o)=>n[Hf](...o))}}),Pv=h$,p$=me({name:"i18n-d",props:Tn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},gp),setup(e,t){const n=e.i18n||vp({useScope:"parent",__useComponent:!0});return aC(e,t,Zx,(...o)=>n[Bf](...o))}}),Rv=p$;function m$(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const o=n.__getInstance(t);return o!=null?o.__composer:e.global.__composer}}function g$(e){const t=a=>{const{instance:s,modifiers:l,value:c}=a;if(!s||!s.$)throw Sn(xn.UNEXPECTED_ERROR);const u=m$(e,s.$),d=Ev(c);return[Reflect.apply(u.t,u,[...$v(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);xc&&e.global===c&&(a.__i18nWatcher=ht(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{xc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:s})=>{if(a.__composer){const l=a.__composer,c=Ev(s);a.textContent=Reflect.apply(l.t,l,[...$v(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function Ev(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw Sn(xn.REQUIRED_VALUE,"path");return e}else throw Sn(xn.INVALID_VALUE)}function $v(e){const{path:t,locale:n,args:o,choice:r,plural:i}=e,a={},s=o||{};return Ge(n)&&(a.locale=n),yn(r)&&(a.plural=r),yn(i)&&(a.plural=i),[t,s,a]}function v$(e,t,...n){const o=mt(n[0])?n[0]:{},r=!!o.useI18nComponentName;(_t(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Tv.name,"I18nT"].forEach(a=>e.component(a,Tv)),[Pv.name,"I18nN"].forEach(a=>e.component(a,Pv)),[Rv.name,"I18nD"].forEach(a=>e.component(a,Rv))),e.directive("t",g$(t))}function b$(e,t,n){return{beforeCreate(){const o=Zn();if(!o)throw Sn(xn.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const i=r.i18n;if(r.__i18n&&(i.__i18n=r.__i18n),i.__root=t,this===this.$root)this.$i18n=Av(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=Vf(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Av(e,r);else{this.$i18n=Vf({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&rC(t,r,r),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,a)=>this.$i18n.te(i,a),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(o,this.$i18n)},mounted(){},unmounted(){const o=Zn();if(!o)throw Sn(xn.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(o),delete this.$i18n}}}function Av(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[tC](t.pluralizationRules||e.pluralizationRules);const n=fu(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(o=>e.mergeLocaleMessage(o,n[o])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(o=>e.mergeDateTimeFormat(o,t.datetimeFormats[o])),t.numberFormats&&Object.keys(t.numberFormats).forEach(o=>e.mergeNumberFormat(o,t.numberFormats[o])),e}const y$=Ur("global-vue-i18n");function x$(e={},t){const n=__VUE_I18N_LEGACY_API__&&_t(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=_t(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=C$(e,n),l=Ur("");function c(f){return i.get(f)||null}function u(f,p){i.set(f,p)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(p,...h){if(p.__VUE_I18N_SYMBOL__=l,p.provide(p.__VUE_I18N_SYMBOL__,f),mt(h[0])){const m=h[0];f.__composerExtend=m.__composerExtend,f.__vueI18nExtend=m.__vueI18nExtend}let g=null;!n&&o&&(g=$$(p,f.global)),__VUE_I18N_FULL_INSTALL__&&v$(p,f,...h),__VUE_I18N_LEGACY_API__&&n&&p.mixin(b$(s,s.__composer,f));const b=p.unmount;p.unmount=()=>{g&&g(),f.dispose(),b()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function vp(e={}){const t=Zn();if(t==null)throw Sn(xn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Sn(xn.NOT_INSTALLED);const n=w$(t),o=S$(n),r=oC(t),i=_$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Sn(xn.NOT_AVAILABLE_IN_LEGACY_MODE);return R$(t,i,o,e)}if(i==="global")return rC(o,e,r),o;if(i==="parent"){let l=k$(n,t,e.__useComponent);return l==null&&(l=o),l}const a=n;let s=a.__getInstance(t);if(s==null){const l=Tn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=mp(l),a.__composerExtend&&(s[jf]=a.__composerExtend(s)),P$(a,t,s),a.__setInstance(t,s)}return s}function C$(e,t,n){const o=Ih();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>Vf(e)):o.run(()=>mp(e));if(r==null)throw Sn(xn.UNEXPECTED_ERROR);return[o,r]}}function w$(e){{const t=qe(e.isCE?y$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Sn(e.isCE?xn.NOT_INSTALLED_WITH_PROVIDE:xn.UNEXPECTED_ERROR);return t}}function _$(e,t){return uu(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function S$(e){return e.mode==="composition"?e.global:e.global.__composer}function k$(e,t,n=!1){let o=null;const r=t.root;let i=T$(t,n);for(;i!=null;){const a=e;if(e.mode==="composition")o=a.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const s=a.__getInstance(i);s!=null&&(o=s.__composer,n&&o&&!o[nC]&&(o=null))}if(o!=null||r===i)break;i=i.parent}return o}function T$(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function P$(e,t,n){Lt(()=>{},t),Ys(()=>{const o=n;e.__deleteInstance(t);const r=o[jf];r&&(r(),delete o[jf])},t)}function R$(e,t,n,o={}){const r=t==="local",i=Aa(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Sn(xn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=_t(o.inheritLocale)?o.inheritLocale:!Ge(o.locale),s=N(!r||a?n.locale.value:Ge(o.locale)?o.locale:_a),l=N(!r||a?n.fallbackLocale.value:Ge(o.fallbackLocale)||en(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=N(fu(s.value,o)),u=N(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=N(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:_t(o.missingWarn)||Nr(o.missingWarn)?o.missingWarn:!0,p=r?n.fallbackWarn:_t(o.fallbackWarn)||Nr(o.fallbackWarn)?o.fallbackWarn:!0,h=r?n.fallbackRoot:_t(o.fallbackRoot)?o.fallbackRoot:!0,g=!!o.fallbackFormat,b=Gt(o.missing)?o.missing:null,m=Gt(o.postTranslation)?o.postTranslation:null,y=r?n.warnHtmlMessage:_t(o.warnHtmlMessage)?o.warnHtmlMessage:!0,k=!!o.escapeParameter,S=r?n.modifiers:mt(o.modifiers)?o.modifiers:{},w=o.pluralRules||r&&n.pluralRules;function x(){return[s.value,l.value,c.value,u.value,d.value]}const C=L({get:()=>i.value?i.value.locale.value:s.value,set:P=>{i.value&&(i.value.locale.value=P),s.value=P}}),_=L({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:P=>{i.value&&(i.value.fallbackLocale.value=P),l.value=P}}),R=L(()=>i.value?i.value.messages.value:c.value),E=L(()=>u.value),M=L(()=>d.value);function A(){return i.value?i.value.getPostTranslationHandler():m}function q(P){i.value&&i.value.setPostTranslationHandler(P)}function F(){return i.value?i.value.getMissingHandler():b}function z(P){i.value&&i.value.setMissingHandler(P)}function D(P){return x(),P()}function Y(...P){return i.value?D(()=>Reflect.apply(i.value.t,null,[...P])):D(()=>"")}function Q(...P){return i.value?Reflect.apply(i.value.rt,null,[...P]):""}function ce(...P){return i.value?D(()=>Reflect.apply(i.value.d,null,[...P])):D(()=>"")}function le(...P){return i.value?D(()=>Reflect.apply(i.value.n,null,[...P])):D(()=>"")}function B(P){return i.value?i.value.tm(P):{}}function $(P,U){return i.value?i.value.te(P,U):!1}function I(P){return i.value?i.value.getLocaleMessage(P):{}}function K(P,U){i.value&&(i.value.setLocaleMessage(P,U),c.value[P]=U)}function ne(P,U){i.value&&i.value.mergeLocaleMessage(P,U)}function ve(P){return i.value?i.value.getDateTimeFormat(P):{}}function J(P,U){i.value&&(i.value.setDateTimeFormat(P,U),u.value[P]=U)}function ye(P,U){i.value&&i.value.mergeDateTimeFormat(P,U)}function j(P){return i.value?i.value.getNumberFormat(P):{}}function ge(P,U){i.value&&(i.value.setNumberFormat(P,U),d.value[P]=U)}function Ee(P,U){i.value&&i.value.mergeNumberFormat(P,U)}const Ne={get id(){return i.value?i.value.id:-1},locale:C,fallbackLocale:_,messages:R,datetimeFormats:E,numberFormats:M,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(P){i.value&&(i.value.inheritLocale=P)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:S},get pluralRules(){return i.value?i.value.pluralRules:w},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(P){i.value&&(i.value.missingWarn=P)},get fallbackWarn(){return i.value?i.value.fallbackWarn:p},set fallbackWarn(P){i.value&&(i.value.missingWarn=P)},get fallbackRoot(){return i.value?i.value.fallbackRoot:h},set fallbackRoot(P){i.value&&(i.value.fallbackRoot=P)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(P){i.value&&(i.value.fallbackFormat=P)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:y},set warnHtmlMessage(P){i.value&&(i.value.warnHtmlMessage=P)},get escapeParameter(){return i.value?i.value.escapeParameter:k},set escapeParameter(P){i.value&&(i.value.escapeParameter=P)},t:Y,getPostTranslationHandler:A,setPostTranslationHandler:q,getMissingHandler:F,setMissingHandler:z,rt:Q,d:ce,n:le,tm:B,te:$,getLocaleMessage:I,setLocaleMessage:K,mergeLocaleMessage:ne,getDateTimeFormat:ve,setDateTimeFormat:J,mergeDateTimeFormat:ye,getNumberFormat:j,setNumberFormat:ge,mergeNumberFormat:Ee};function T(P){P.locale.value=s.value,P.fallbackLocale.value=l.value,Object.keys(c.value).forEach(U=>{P.mergeLocaleMessage(U,c.value[U])}),Object.keys(u.value).forEach(U=>{P.mergeDateTimeFormat(U,u.value[U])}),Object.keys(d.value).forEach(U=>{P.mergeNumberFormat(U,d.value[U])}),P.escapeParameter=k,P.fallbackFormat=g,P.fallbackRoot=h,P.fallbackWarn=p,P.missingWarn=f,P.warnHtmlMessage=y}return cn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Sn(xn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const P=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=P.locale.value,l.value=P.fallbackLocale.value,c.value=P.messages.value,u.value=P.datetimeFormats.value,d.value=P.numberFormats.value):r&&T(P)}),Ne}const E$=["locale","fallbackLocale","availableLocales"],Iv=["t","rt","d","n","tm","te"];function $$(e,t){const n=Object.create(null);return E$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw Sn(xn.UNEXPECTED_ERROR);const a=dn(i.value)?{get(){return i.value.value},set(s){i.value.value=s}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,r,a)}),e.config.globalProperties.$i18n=n,Iv.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw Sn(xn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,Iv.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}a$();__INTLIFY_JIT_COMPILATION__?dv(e$):dv(QE);qE(PE);KE(Hx);if(__INTLIFY_PROD_DEVTOOLS__){const e=or();e.__INTLIFY__=!0,DE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const sC="locale";function hu(){return Ai.get(sC)}function lC(e){Ai.set(sC,e)}const cC=Object.keys(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>nk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>ok),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>rk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>ik),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>ak),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>sk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>lk),void 0)})).map(e=>e.slice(7,-5));function A$(){const e=navigator.language,t="zh-CN",o=cC.includes(e)?e:t;return hu().value||lC(o),o}const sn=x$({locale:hu().value||A$(),fallbackLocale:"en-US",messages:{}});async function I$(){await Promise.all(cC.map(async e=>{const t=await OR(Object.assign({"./lang/en-US.json":()=>Ct(()=>Promise.resolve().then(()=>nk),void 0),"./lang/fa-IR.json":()=>Ct(()=>Promise.resolve().then(()=>ok),void 0),"./lang/ja-JP.json":()=>Ct(()=>Promise.resolve().then(()=>rk),void 0),"./lang/ko-KR.json":()=>Ct(()=>Promise.resolve().then(()=>ik),void 0),"./lang/vi-VN.json":()=>Ct(()=>Promise.resolve().then(()=>ak),void 0),"./lang/zh-CN.json":()=>Ct(()=>Promise.resolve().then(()=>sk),void 0),"./lang/zh-TW.json":()=>Ct(()=>Promise.resolve().then(()=>lk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);sn.global.setLocaleMessage(e,t)}))}async function M$(e){e.use(sn),I$()}const xi={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},Uf=e=>sn.global.t(e);function jo(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),IR(e).format(t))}function bp(e=void 0,t="YYYY-MM-DD"){return jo(e,t)}function aa(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function an(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function ua(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(Uf("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),Mv(e)}):Mv(e)}function Mv(e){const t=document.createElement("button"),n=new zR(t,{text:()=>e});n.on("success",()=>{window.$message.success(Uf("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(Uf("复制失败")),n.destroy()}),t.click()}function z$(e,t){if(e.length!==t.length)return!1;const n=[...e].sort(),o=[...t].sort();return n.every((r,i)=>r===o[i])}function ys(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?aa(r)+" TB":o>=1?aa(o)+" GB":n>=1?aa(n)+" MB":aa(t)+" KB"}function O$(e){return typeof e>"u"}function D$(e){return e===null}function zv(e){return e&&Array.isArray(e)}function uC(e){return D$(e)||O$(e)}function Ov(e){return/^(https?:|mailto:|tel:)/.test(e)}const xs=/^[a-z0-9]+(-[a-z0-9]+)*$/,pu=(e,t,n,o="")=>{const r=e.split(":");if(e.slice(0,1)==="@"){if(r.length<2||r.length>3)return null;o=r.shift().slice(1)}if(r.length>3||!r.length)return null;if(r.length>1){const s=r.pop(),l=r.pop(),c={provider:r.length>0?r[0]:o,prefix:l,name:s};return t&&!oc(c)?null:c}const i=r[0],a=i.split("-");if(a.length>1){const s={provider:o,prefix:a.shift(),name:a.join("-")};return t&&!oc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!oc(s,n)?null:s}return null},oc=(e,t)=>e?!!((e.provider===""||e.provider.match(xs))&&(t&&e.prefix===""||e.prefix.match(xs))&&e.name.match(xs)):!1,dC=Object.freeze({left:0,top:0,width:16,height:16}),wc=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),mu=Object.freeze({...dC,...wc}),Wf=Object.freeze({...mu,body:"",hidden:!1});function L$(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const o=((e.rotate||0)+(t.rotate||0))%4;return o&&(n.rotate=o),n}function Dv(e,t){const n=L$(e,t);for(const o in Wf)o in wc?o in e&&!(o in n)&&(n[o]=wc[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function F$(e,t){const n=e.icons,o=e.aliases||Object.create(null),r=Object.create(null);function i(a){if(n[a])return r[a]=[];if(!(a in r)){r[a]=null;const s=o[a]&&o[a].parent,l=s&&i(s);l&&(r[a]=[s].concat(l))}return r[a]}return(t||Object.keys(n).concat(Object.keys(o))).forEach(i),r}function N$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=Dv(o[s]||r[s],i)}return a(t),n.forEach(a),Dv(e,i)}function fC(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(r=>{t(r,null),n.push(r)});const o=F$(e);for(const r in o){const i=o[r];i&&(t(r,N$(e,r,i)),n.push(r))}return n}const B$={provider:"",aliases:{},not_found:{},...dC};function wd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function hC(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!wd(e,B$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(xs)||typeof i.body!="string"||!wd(i,Wf))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(xs)||typeof a!="string"||!n[a]&&!o[a]||!wd(i,Wf))return null}return t}const Lv=Object.create(null);function H$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ci(e,t){const n=Lv[e]||(Lv[e]=Object.create(null));return n[t]||(n[t]=H$(e,t))}function yp(e,t){return hC(t)?fC(t,(n,o)=>{o?e.icons[n]=o:e.missing.add(n)}):[]}function j$(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let Ns=!1;function pC(e){return typeof e=="boolean"&&(Ns=e),Ns}function V$(e){const t=typeof e=="string"?pu(e,!0,Ns):e;if(t){const n=Ci(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function U$(e,t){const n=pu(e,!0,Ns);if(!n)return!1;const o=Ci(n.provider,n.prefix);return j$(o,n.name,t)}function W$(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ns&&!t&&!e.prefix){let r=!1;return hC(e)&&(e.prefix="",fC(e,(i,a)=>{a&&U$(i,a)&&(r=!0)})),r}const n=e.prefix;if(!oc({provider:t,prefix:n,name:"a"}))return!1;const o=Ci(t,n);return!!yp(o,e)}const mC=Object.freeze({width:null,height:null}),gC=Object.freeze({...mC,...wc}),q$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,K$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Fv(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const o=e.split(q$);if(o===null||!o.length)return e;const r=[];let i=o.shift(),a=K$.test(i);for(;;){if(a){const s=parseFloat(i);isNaN(s)?r.push(i):r.push(Math.ceil(s*t*n)/n)}else r.push(i);if(i=o.shift(),i===void 0)return r.join("");a=!a}}const G$=e=>e==="unset"||e==="undefined"||e==="none";function Y$(e,t){const n={...mu,...e},o={...gC,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(h=>{const g=[],b=h.hFlip,m=h.vFlip;let y=h.rotate;b?m?y+=2:(g.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),g.push("scale(-1 1)"),r.top=r.left=0):m&&(g.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),g.push("scale(1 -1)"),r.top=r.left=0);let k;switch(y<0&&(y-=Math.floor(y/4)*4),y=y%4,y){case 1:k=r.height/2+r.top,g.unshift("rotate(90 "+k.toString()+" "+k.toString()+")");break;case 2:g.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:k=r.width/2+r.left,g.unshift("rotate(-90 "+k.toString()+" "+k.toString()+")");break}y%2===1&&(r.left!==r.top&&(k=r.left,r.left=r.top,r.top=k),r.width!==r.height&&(k=r.width,r.width=r.height,r.height=k)),g.length&&(i=''+i+"")});const a=o.width,s=o.height,l=r.width,c=r.height;let u,d;a===null?(d=s===null?"1em":s==="auto"?c:s,u=Fv(d,l/c)):(u=a==="auto"?l:a,d=s===null?Fv(u,c/l):s==="auto"?c:s);const f={},p=(h,g)=>{G$(g)||(f[h]=g.toString())};return p("width",u),p("height",d),f.viewBox=r.left.toString()+" "+r.top.toString()+" "+l.toString()+" "+c.toString(),{attributes:f,body:i}}const X$=/\sid="(\S+)"/g,Z$="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let J$=0;function Q$(e,t=Z$){const n=[];let o;for(;o=X$.exec(e);)n.push(o[1]);if(!n.length)return e;const r="suffix"+(Math.random()*16777216|Date.now()).toString(16);return n.forEach(i=>{const a=typeof t=="function"?t(i):t+(J$++).toString(),s=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(new RegExp(r,"g"),""),e}const qf=Object.create(null);function eA(e,t){qf[e]=t}function Kf(e){return qf[e]||qf[""]}function xp(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const Cp=Object.create(null),os=["https://api.simplesvg.com","https://api.unisvg.com"],rc=[];for(;os.length>0;)os.length===1||Math.random()>.5?rc.push(os.shift()):rc.push(os.pop());Cp[""]=xp({resources:["https://api.iconify.design"].concat(rc)});function tA(e,t){const n=xp(t);return n===null?!1:(Cp[e]=n,!0)}function wp(e){return Cp[e]}const nA=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Nv=nA();function oA(e,t){const n=wp(e);if(!n)return 0;let o;if(!n.maxURL)o=0;else{let r=0;n.resources.forEach(a=>{r=Math.max(r,a.length)});const i=t+".json?icons=";o=n.maxURL-r-n.path.length-i.length}return o}function rA(e){return e===404}const iA=(e,t,n)=>{const o=[],r=oA(e,t),i="icons";let a={type:i,provider:e,prefix:t,icons:[]},s=0;return n.forEach((l,c)=>{s+=l.length+1,s>=r&&c>0&&(o.push(a),a={type:i,provider:e,prefix:t,icons:[]},s=l.length),a.icons.push(l)}),o.push(a),o};function aA(e){if(typeof e=="string"){const t=wp(e);if(t)return t.path}return"/"}const sA=(e,t,n)=>{if(!Nv){n("abort",424);return}let o=aA(t.provider);switch(t.type){case"icons":{const i=t.prefix,s=t.icons.join(","),l=new URLSearchParams({icons:s});o+=i+".json?"+l.toString();break}case"custom":{const i=t.uri;o+=i.slice(0,1)==="/"?i.slice(1):i;break}default:n("abort",400);return}let r=503;Nv(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(rA(a)?"abort":"next",a)});return}return r=501,i.json()}).then(i=>{if(typeof i!="object"||i===null){setTimeout(()=>{i===404?n("abort",i):n("next",r)});return}setTimeout(()=>{n("success",i)})}).catch(()=>{n("next",r)})},lA={prepare:iA,send:sA};function cA(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((r,i)=>r.provider!==i.provider?r.provider.localeCompare(i.provider):r.prefix!==i.prefix?r.prefix.localeCompare(i.prefix):r.name.localeCompare(i.name));let o={provider:"",prefix:"",name:""};return e.forEach(r=>{if(o.name===r.name&&o.prefix===r.prefix&&o.provider===r.provider)return;o=r;const i=r.provider,a=r.prefix,s=r.name,l=n[i]||(n[i]=Object.create(null)),c=l[a]||(l[a]=Ci(i,a));let u;s in c.icons?u=t.loaded:a===""||c.missing.has(s)?u=t.missing:u=t.pending;const d={provider:i,prefix:a,name:s};u.push(d)}),t}function vC(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function uA(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const o=e.provider,r=e.prefix;t.forEach(i=>{const a=i.icons,s=a.pending.length;a.pending=a.pending.filter(l=>{if(l.prefix!==r)return!0;const c=l.name;if(e.icons[c])a.loaded.push({provider:o,prefix:r,name:c});else if(e.missing.has(c))a.missing.push({provider:o,prefix:r,name:c});else return n=!0,!0;return!1}),a.pending.length!==s&&(n||vC([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let dA=0;function fA(e,t,n){const o=dA++,r=vC.bind(null,n,o);if(!t.pending.length)return r;const i={id:o,icons:t,callback:e,abort:r};return n.forEach(a=>{(a.loaderCallbacks||(a.loaderCallbacks=[])).push(i)}),r}function hA(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?pu(r,t,n):r;i&&o.push(i)}),o}var pA={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function mA(e,t,n,o){const r=e.resources.length,i=e.random?Math.floor(Math.random()*r):e.index;let a;if(e.random){let x=e.resources.slice(0);for(a=[];x.length>1;){const C=Math.floor(Math.random()*x.length);a.push(x[C]),x=x.slice(0,C).concat(x.slice(C+1))}a=a.concat(x)}else a=e.resources.slice(i).concat(e.resources.slice(0,i));const s=Date.now();let l="pending",c=0,u,d=null,f=[],p=[];typeof o=="function"&&p.push(o);function h(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),h(),f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function b(x,C){C&&(p=[]),typeof x=="function"&&p.push(x)}function m(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:b,abort:g}}function y(){l="failed",p.forEach(x=>{x(void 0,u)})}function k(){f.forEach(x=>{x.status==="pending"&&(x.status="aborted")}),f=[]}function S(x,C,_){const R=C!=="success";switch(f=f.filter(E=>E!==x),l){case"pending":break;case"failed":if(R||!e.dataAfterTimeout)return;break;default:return}if(C==="abort"){u=_,y();return}if(R){u=_,f.length||(a.length?w():y());return}if(h(),k(),!e.random){const E=e.resources.indexOf(x.resource);E!==-1&&E!==e.index&&(e.index=E)}l="completed",p.forEach(E=>{E(_)})}function w(){if(l!=="pending")return;h();const x=a.shift();if(x===void 0){if(f.length){d=setTimeout(()=>{h(),l==="pending"&&(k(),y())},e.timeout);return}y();return}const C={status:"pending",resource:x,callback:(_,R)=>{S(C,_,R)}};f.push(C),c++,d=setTimeout(w,e.rotate),n(x,t,C.callback)}return setTimeout(w),m}function bC(e){const t={...pA,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=mA(t,s,l,(d,f)=>{o(),c&&c(d,f)});return n.push(u),u}function i(s){return n.find(l=>s(l))||null}return{query:r,find:i,setIndex:s=>{t.index=s},getIndex:()=>t.index,cleanup:o}}function Bv(){}const _d=Object.create(null);function gA(e){if(!_d[e]){const t=wp(e);if(!t)return;const n=bC(t),o={config:t,redundancy:n};_d[e]=o}return _d[e]}function vA(e,t,n){let o,r;if(typeof e=="string"){const i=Kf(e);if(!i)return n(void 0,424),Bv;r=i.send;const a=gA(e);a&&(o=a.redundancy)}else{const i=xp(e);if(i){o=bC(i);const a=e.resources?e.resources[0]:"",s=Kf(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),Bv):o.query(t,r,n)().abort}const Hv="iconify2",Bs="iconify",yC=Bs+"-count",jv=Bs+"-version",xC=36e5,bA=168;function Gf(e,t){try{return e.getItem(t)}catch{}}function _p(e,t,n){try{return e.setItem(t,n),!0}catch{}}function Vv(e,t){try{e.removeItem(t)}catch{}}function Yf(e,t){return _p(e,yC,t.toString())}function Xf(e){return parseInt(Gf(e,yC))||0}const gu={local:!0,session:!0},CC={local:new Set,session:new Set};let Sp=!1;function yA(e){Sp=e}let kl=typeof window>"u"?{}:window;function wC(e){const t=e+"Storage";try{if(kl&&kl[t]&&typeof kl[t].length=="number")return kl[t]}catch{}gu[e]=!1}function _C(e,t){const n=wC(e);if(!n)return;const o=Gf(n,jv);if(o!==Hv){if(o){const s=Xf(n);for(let l=0;l{const l=Bs+s.toString(),c=Gf(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>r&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,s))return!0}catch{}Vv(n,l)}};let a=Xf(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,Yf(n,a)):CC[e].add(s))}function SC(){if(!Sp){yA(!0);for(const e in gu)_C(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Ci(o,r);if(!yp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function xA(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in gu)_C(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function CA(e,t){Sp||SC();function n(o){let r;if(!gu[o]||!(r=wC(o)))return;const i=CC[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=Xf(r),!Yf(r,a+1))return;const s={cached:Math.floor(Date.now()/xC),provider:e.provider,data:t};return _p(r,Bs+a.toString(),JSON.stringify(s))}t.lastModified&&!xA(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function Uv(){}function wA(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,uA(e)}))}function _A(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:o}=e,r=e.iconsToLoad;delete e.iconsToLoad;let i;if(!r||!(i=Kf(n)))return;i.prepare(n,o,r).forEach(s=>{vA(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=yp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),CA(e,l)}catch(c){console.error(c)}wA(e)})})}))}const SA=(e,t)=>{const n=hA(e,!0,pC()),o=cA(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,Uv)}),()=>{l=!1}}const r=Object.create(null),i=[];let a,s;return o.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===s&&c===a)return;a=c,s=u,i.push(Ci(c,u));const d=r[c]||(r[c]=Object.create(null));d[u]||(d[u]=[])}),o.pending.forEach(l=>{const{provider:c,prefix:u,name:d}=l,f=Ci(c,u),p=f.pendingIcons||(f.pendingIcons=new Set);p.has(d)||(p.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&_A(l,r[c][u])}),t?fA(t,o,i):Uv};function kA(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in mC?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const TA=/[\s,]+/;function PA(e,t){t.split(TA).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function RA(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function o(r){for(;r<0;)r+=4;return r%4}if(n===""){const r=parseInt(e);return isNaN(r)?0:o(r)}else if(n!==e){let r=0;switch(n){case"%":r=25;break;case"deg":r=90}if(r){let i=parseFloat(e.slice(0,e.length-n.length));return isNaN(i)?0:(i=i/r,i%1===0?o(i):0)}}return t}function EA(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const o in t)n+=" "+o+'="'+t[o]+'"';return'"+e+""}function $A(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function AA(e){return"data:image/svg+xml,"+$A(e)}function IA(e){return'url("'+AA(e)+'")'}const Wv={...gC,inline:!1},MA={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},zA={display:"inline-block"},Zf={backgroundColor:"currentColor"},kC={backgroundColor:"transparent"},qv={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Kv={webkitMask:Zf,mask:Zf,background:kC};for(const e in Kv){const t=Kv[e];for(const n in qv)t[e+n]=qv[n]}const ic={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ic[e+"-flip"]=t,ic[e.slice(0,1)+"-flip"]=t,ic[e+"Flip"]=t});function Gv(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Yv=(e,t)=>{const n=kA(Wv,t),o={...MA},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const b=t[g];if(b!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=b===!0||b==="true"||b===1;break;case"flip":typeof b=="string"&&PA(n,b);break;case"color":i.color=b;break;case"rotate":typeof b=="string"?n[g]=RA(b):typeof b=="number"&&(n[g]=b);break;case"ariaHidden":case"aria-hidden":b!==!0&&b!=="true"&&delete o["aria-hidden"];break;default:{const m=ic[g];m?(b===!0||b==="true"||b===1)&&(n[m]=!0):Wv[g]===void 0&&(o[g]=b)}}}const l=Y$(e,n),c=l.attributes;if(n.inline&&(i.verticalAlign="-0.125em"),r==="svg"){o.style={...i,...s},Object.assign(o,c);let g=0,b=t.id;return typeof b=="string"&&(b=b.replace(/-/g,"_")),o.innerHTML=Q$(l.body,b?()=>b+"ID"+g++:"iconifyVue"),v("svg",o)}const{body:u,width:d,height:f}=e,p=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),h=EA(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":IA(h),width:Gv(c.width),height:Gv(c.height),...zA,...p?Zf:kC,...s},v("span",o)};pC(!0);eA("",lA);if(typeof document<"u"&&typeof window<"u"){SC();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(o=>{try{(typeof o!="object"||o===null||o instanceof Array||typeof o.icons!="object"||typeof o.prefix!="string"||!W$(o))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const o="IconifyProviders["+n+"] is invalid.";try{const r=t[n];if(typeof r!="object"||!r||r.resources===void 0)continue;tA(n,r)||console.error(o)}catch{console.error(o)}}}}const OA={...mu,body:""},DA=me({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=pu(e,!1,!0))===null)return this.abortLoading(),null;const o=V$(n);if(!o)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",o!==null&&(this._loadingIcon={name:e,abort:SA([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const r=["iconify"];return n.prefix!==""&&r.push("iconify--"+n.prefix),n.provider!==""&&r.push("iconify--"+n.provider),{data:o,classes:r}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return Yv(OA,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Yv({...mu,...t.data},n)}});let _c=[];const TC=new WeakMap;function LA(){_c.forEach(e=>e(...TC.get(e))),_c=[]}function Sc(e,...t){TC.set(e,t),!_c.includes(e)&&_c.push(e)===1&&requestAnimationFrame(LA)}function FA(e){return e.nodeType===9?null:e.parentNode}function PC(e){if(e===null)return null;const t=FA(e);if(t===null)return null;if(t.nodeType===9)return document.documentElement;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return PC(t)}function NA(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function Vo(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function wi(e){return e.composedPath()[0]||null}function kn(e){return typeof e=="string"?e.endsWith("px")?Number(e.slice(0,e.length-2)):Number(e):e}function zn(e){if(e!=null)return typeof e=="number"?`${e}px`:e.endsWith("px")?e:`${e}px`}function yo(e,t){const n=e.trim().split(/\s+/g),o={top:n[0]};switch(n.length){case 1:o.right=n[0],o.bottom=n[0],o.left=n[0];break;case 2:o.right=n[1],o.left=n[1],o.bottom=n[0];break;case 3:o.right=n[1],o.bottom=n[2],o.left=n[1];break;case 4:o.right=n[1],o.bottom=n[2],o.left=n[3];break;default:throw new Error("[seemly/getMargin]:"+e+" is not a valid value.")}return t===void 0?o:o[t]}function BA(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const Xv={black:"#000",silver:"#C0C0C0",gray:"#808080",white:"#FFF",maroon:"#800000",red:"#F00",purple:"#800080",fuchsia:"#F0F",green:"#008000",lime:"#0F0",olive:"#808000",yellow:"#FF0",navy:"#000080",blue:"#00F",teal:"#008080",aqua:"#0FF",transparent:"#0000"},Da="^\\s*",La="\\s*$",ui="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",di="([0-9A-Fa-f])",fi="([0-9A-Fa-f]{2})",HA=new RegExp(`${Da}rgb\\s*\\(${ui},${ui},${ui}\\)${La}`),jA=new RegExp(`${Da}rgba\\s*\\(${ui},${ui},${ui},${ui}\\)${La}`),VA=new RegExp(`${Da}#${di}${di}${di}${La}`),UA=new RegExp(`${Da}#${fi}${fi}${fi}${La}`),WA=new RegExp(`${Da}#${di}${di}${di}${di}${La}`),qA=new RegExp(`${Da}#${fi}${fi}${fi}${fi}${La}`);function Fn(e){return parseInt(e,16)}function Uo(e){try{let t;if(t=UA.exec(e))return[Fn(t[1]),Fn(t[2]),Fn(t[3]),1];if(t=HA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),1];if(t=jA.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),Cs(t[13])];if(t=VA.exec(e))return[Fn(t[1]+t[1]),Fn(t[2]+t[2]),Fn(t[3]+t[3]),1];if(t=qA.exec(e))return[Fn(t[1]),Fn(t[2]),Fn(t[3]),Cs(Fn(t[4])/255)];if(t=WA.exec(e))return[Fn(t[1]+t[1]),Fn(t[2]+t[2]),Fn(t[3]+t[3]),Cs(Fn(t[4]+t[4])/255)];if(e in Xv)return Uo(Xv[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function KA(e){return e>1?1:e<0?0:e}function Jf(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${KA(o)})`}function Sd(e,t,n,o,r){return Rn((e*t*(1-o)+n*o)/r)}function et(e,t){Array.isArray(e)||(e=Uo(e)),Array.isArray(t)||(t=Uo(t));const n=e[3],o=t[3],r=Cs(n+o-n*o);return Jf(Sd(e[0],n,t[0],o,r),Sd(e[1],n,t[1],o,r),Sd(e[2],n,t[2],o,r),r)}function Ie(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e);return t.alpha?Jf(n,o,r,t.alpha):Jf(n,o,r,i)}function fn(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:Uo(e),{lightness:a=1,alpha:s=1}=t;return GA([n*a,o*a,r*a,i*s])}function Cs(e){const t=Math.round(Number(e)*100)/100;return t>1?1:t<0?0:t}function Rn(e){const t=Math.round(Number(e));return t>255?255:t<0?0:t}function GA(e){const[t,n,o]=e;return 3 in e?`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, ${Cs(e[3])})`:`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, 1)`}function Ii(e=8){return Math.random().toString(16).slice(2,2+e)}function RC(e,t){const n=[];for(let o=0;o{o[r]=e[r]}),Object.assign(o,n)}function Qs(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function ka(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Je(String(o)));return}if(Array.isArray(o)){ka(o,t,n);return}if(o.type===it){if(o.children===null)return;Array.isArray(o.children)&&ka(o.children,t,n)}else{if(o.type===$n&&t)return;n.push(o)}}}),n}function Pe(e,...t){if(Array.isArray(e))e.forEach(n=>Pe(n,...t));else return e(...t)}function qr(e){return Object.keys(e)}const Vt=(e,...t)=>typeof e=="function"?e(...t):typeof e=="string"?Je(e):typeof e=="number"?Je(String(e)):null;function sr(e,t){console.error(`[naive/${e}]: ${t}`)}function Kr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function Zv(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw Error(`${e} has no smaller size.`)}function XA(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Qf(e,t="default",n=void 0){const o=e[t];if(!o)return sr("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=ka(o(n));return r.length===1?r[0]:(sr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function $C(e){return t=>{t?e.value=t.$el:e.value=null}}function el(e){return e.some(t=>zs(t)?!(t.type===$n||t.type===it&&!el(t.children)):!0)?e:null}function An(e,t){return e&&el(e())||t()}function eh(e,t,n){return e&&el(e(t))||n(t)}function $t(e,t){const n=e&&el(e());return t(n||null)}function da(e){return!(e&&el(e()))}function ws(e){const t=e.filter(n=>n!==void 0);if(t.length!==0)return t.length===1?t[0]:n=>{e.forEach(o=>{o&&o(n)})}}const th=me({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),ZA=/^(\d|\.)+$/,Jv=/(\d|\.)+/;function qt(e,{c:t=1,offset:n=0,attachPx:o=!0}={}){if(typeof e=="number"){const r=(e+n)*t;return r===0?"0":`${r}px`}else if(typeof e=="string")if(ZA.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=Jv.exec(e);return r?e.replace(Jv,String((Number(r[0])+n)*t)):e}return e}function kc(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function JA(e){let t=0;for(let n=0;n{let r=JA(o);if(r){if(r===1){e.forEach(a=>{n.push(o.replace("&",a))});return}}else{e.forEach(a=>{n.push((a&&a+" ")+o)});return}let i=[o];for(;r--;){const a=[];i.forEach(s=>{e.forEach(l=>{a.push(s.replace("&",l))})}),i=a}i.forEach(a=>n.push(a))}),n}function t6(e,t){const n=[];return t.split(AC).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function n6(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=e6(t,n):t=t6(t,n))}),t.join(", ").replace(QA," ")}function Qv(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function vu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function o6(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Tl(e){return e?/^\s*@(s|m)/.test(e):!1}const r6=/[A-Z]/g;function IC(e){return e.replace(r6,t=>"-"+t.toLowerCase())}function i6(e,t=" "){return typeof e=="object"&&e!==null?` { +`+Object.entries(e).map(n=>t+` ${IC(n[0])}: ${n[1]};`).join(` `)+` -`+t+"}":`: ${e};`}function i6(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function eb(e,t,n,o){if(!t)return"";const r=i6(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { +`+t+"}":`: ${e};`}function a6(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function eb(e,t,n,o){if(!t)return"";const r=a6(t,n,o);if(!r)return"";if(typeof r=="string")return`${e} { ${r} }`;const i=Object.keys(r);if(i.length===0)return n.config.keepEmptyBlock?e+` { }`:"";const a=e?[e+" {"]:[];return i.forEach(s=>{const l=r[s];if(s==="raw"){a.push(` `+l+` -`);return}s=LC(s),l!=null&&a.push(` ${s}${r6(l)}`)}),e&&a.push("}"),a.join(` -`)}function nh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))nh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?nh(r,t,n):r&&n(r)}else o&&n(o)})}function FC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Tl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Tl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Tl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Tl(u)?s=u:t.push(u)}const l=t6(t),c=eb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { +`);return}s=IC(s),l!=null&&a.push(` ${s}${i6(l)}`)}),e&&a.push("}"),a.join(` +`)}function nh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))nh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?nh(r,t,n):r&&n(r)}else o&&n(o)})}function MC(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Tl(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Tl(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Tl(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Tl(u)?s=u:t.push(u)}const l=n6(t),c=eb(l,e.props,o,r);s?(n.push(`${s} {`),i&&c&&i.insertRule(`${s} { ${c} } -`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&nh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=eb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else FC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function NC(e,t,n,o=!1){const r=[];return FC(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(` +`)):(i&&c&&i.insertRule(c),!i&&c.length&&n.push(c)),e.children&&nh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=eb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else MC(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function zC(e,t,n,o=!1){const r=[];return MC(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(` -`)}function Hs(e){for(var t=0,n,o=0,r=e.length;r>=4;++o,r-=4)n=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(r){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}typeof window<"u"&&(window.__cssrContext={});function a6(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(Qv),t.els=[];else{const r=gu(n);r&&o.includes(r)&&(Qv(r),t.els=o.filter(i=>i!==r))}}function tb(e,t){e.push(t)}function s6(e,t,n,o,r,i,a,s,l){if(i&&!l){if(n===void 0){console.error("[css-render/mount]: `id` is required in `silent` mode.");return}const f=window.__cssrContext;f[n]||(f[n]=!0,NC(t,e,o,i));return}let c;if(n===void 0&&(c=t.render(o),n=Hs(c)),l){l.adapter(n,c??t.render(o));return}const u=gu(n);if(u!==null&&!a)return u;const d=u??n6(n);if(c===void 0&&(c=t.render(o)),d.textContent=c,u!==null)return u;if(s){const f=document.head.querySelector(`meta[name="${s}"]`);if(f)return document.head.insertBefore(d,f),tb(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),tb(t.els,d),d}function l6(e){return NC(this,this.instance,e)}function c6(e={}){const{id:t,ssr:n,props:o,head:r=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return s6(this.instance,this,t,o,r,i,a,s,n)}function u6(e={}){const{id:t}=e;a6(this.instance,this,t)}const Pl=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:l6,mount:c6,unmount:u6}},d6=function(e,t,n,o){return Array.isArray(t)?Pl(e,{$:null},null,t):Array.isArray(n)?Pl(e,t,null,n):Array.isArray(o)?Pl(e,t,n,o):Pl(e,t,n,null)};function BC(e={}){let t=null;const n={c:(...o)=>d6(n,...o),use:(o,...r)=>o.install(n,...r),find:gu,context:{},config:e,get __styleSheet(){if(!t){const o=document.createElement("style");return document.head.appendChild(o),t=document.styleSheets[document.styleSheets.length-1],t}return t}};return n}function f6(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return gu(e)!==null}function h6(e){let t=".",n="__",o="--",r;if(e){let h=e.blockPrefix;h&&(t=h),h=e.elementPrefix,h&&(n=h),h=e.modifierPrefix,h&&(o=h)}const i={install(h){r=h.c;const g=h.context;g.bem={},g.bem.b=null,g.bem.els=null}};function a(h){let g,b;return{before(m){g=m.bem.b,b=m.bem.els,m.bem.els=null},after(m){m.bem.b=g,m.bem.els=b},$({context:m,props:y}){return h=typeof h=="string"?h:h({context:m,props:y}),m.bem.b=h,`${(y==null?void 0:y.bPrefix)||t}${m.bem.b}`}}}function s(h){let g;return{before(b){g=b.bem.els},after(b){b.bem.els=g},$({context:b,props:m}){return h=typeof h=="string"?h:h({context:b,props:m}),b.bem.els=h.split(",").map(y=>y.trim()),b.bem.els.map(y=>`${(m==null?void 0:m.bPrefix)||t}${b.bem.b}${n}${y}`).join(", ")}}}function l(h){return{$({context:g,props:b}){h=typeof h=="string"?h:h({context:g,props:b});const m=h.split(",").map(S=>S.trim());function y(S){return m.map(w=>`&${(b==null?void 0:b.bPrefix)||t}${g.bem.b}${S!==void 0?`${n}${S}`:""}${o}${w}`).join(", ")}const k=g.bem.els;return k!==null?y(k[0]):y()}}}function c(h){return{$({context:g,props:b}){h=typeof h=="string"?h:h({context:g,props:b});const m=g.bem.els;return`&:not(${(b==null?void 0:b.bPrefix)||t}${g.bem.b}${m!==null&&m.length>0?`${n}${m[0]}`:""}${o}${h})`}}}return Object.assign(i,{cB:(...h)=>r(a(h[0]),h[1],h[2]),cE:(...h)=>r(s(h[0]),h[1],h[2]),cM:(...h)=>r(l(h[0]),h[1],h[2]),cNotM:(...h)=>r(c(h[0]),h[1],h[2])}),i}const p6="n",js=`.${p6}-`,m6="__",g6="--",HC=BC(),jC=h6({blockPrefix:js,elementPrefix:m6,modifierPrefix:g6});HC.use(jC);const{c:W,find:RNe}=HC,{cB:O,cE:V,cM:Z,cNotM:Pt}=jC;function tl(e){return W(({props:{bPrefix:t}})=>`${t||js}modal, ${t||js}drawer`,[e])}function vu(e){return W(({props:{bPrefix:t}})=>`${t||js}popover`,[e])}function VC(e){return W(({props:{bPrefix:t}})=>`&${t||js}modal`,e)}const v6=(...e)=>W(">",[O(...e)]);function Se(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}let Sd;function b6(){return Sd===void 0&&(Sd=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Sd}const ur=typeof document<"u"&&typeof window<"u",UC=new WeakSet;function y6(e){UC.add(e)}function WC(e){return!UC.has(e)}function x6(e,t,n){if(!t)return e;const o=N(e.value);let r=null;return ht(e,i=>{r!==null&&window.clearTimeout(r),i===!0?n&&!n.value?o.value=!0:r=window.setTimeout(()=>{o.value=!0},t):o.value=!1}),o}function C6(e){const t=N(!!e.value);if(t.value)return io(t);const n=ht(e,o=>{o&&(t.value=!0,n())});return io(t)}function St(e){const t=L(e),n=N(t.value);return ht(t,o=>{n.value=o}),typeof e=="function"?n:{__v_isRef:!0,get value(){return n.value},set value(o){e.set(o)}}}function kp(){return Zn()!==null}const Tp=typeof window<"u";let fa,_s;const w6=()=>{var e,t;fa=Tp?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,_s=!1,fa!==void 0?fa.then(()=>{_s=!0}):_s=!0};w6();function _6(e){if(_s)return;let t=!1;Lt(()=>{_s||fa==null||fa.then(()=>{t||e()})}),rn(()=>{t=!0})}function ac(e){return e.composedPath()[0]}const S6={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function k6(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(ac(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=a=>{o=!t.contains(ac(a))},i=a=>{o&&(t.contains(ac(a))||n(a))};return{mousedown:r,mouseup:i,touchstart:r,touchend:i}}return console.error(`[evtd/create-trap-handler]: name \`${e}\` is invalid. This could be a bug of evtd.`),{}}function qC(e,t,n){const o=S6[e];let r=o.get(t);r===void 0&&o.set(t,r=new WeakMap);let i=r.get(n);return i===void 0&&r.set(n,i=k6(e,t,n)),i}function T6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=qC(e,t,n);return Object.keys(r).forEach(i=>{Mt(i,document,r[i],o)}),!0}return!1}function P6(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=qC(e,t,n);return Object.keys(r).forEach(i=>{Tt(i,document,r[i],o)}),!0}return!1}function R6(){if(typeof window>"u")return{on:()=>{},off:()=>{}};const e=new WeakMap,t=new WeakMap;function n(){e.set(this,!0)}function o(){e.set(this,!0),t.set(this,!0)}function r(C,_,R){const E=C[_];return C[_]=function(){return R.apply(C,arguments),E.apply(C,arguments)},C}function i(C,_){C[_]=Event.prototype[_]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var C;return(C=a.get(this))!==null&&C!==void 0?C:null}function c(C,_){s!==void 0&&Object.defineProperty(C,"currentTarget",{configurable:!0,enumerable:!0,get:_??s.get})}const u={bubble:{},capture:{}},d={};function f(){const C=function(_){const{type:R,eventPhase:E,bubbles:M}=_,A=ac(_);if(E===2)return;const q=E===1?"capture":"bubble";let F=A;const z=[];for(;F===null&&(F=window),z.push(F),F!==window;)F=F.parentNode||null;const D=u.capture[R],Y=u.bubble[R];if(r(_,"stopPropagation",n),r(_,"stopImmediatePropagation",o),c(_,l),q==="capture"){if(D===void 0)return;for(let Q=z.length-1;Q>=0&&!e.has(_);--Q){const ce=z[Q],le=D.get(ce);if(le!==void 0){a.set(_,ce);for(const B of le){if(t.has(_))break;B(_)}}if(Q===0&&!M&&Y!==void 0){const B=Y.get(ce);if(B!==void 0)for(const $ of B){if(t.has(_))break;$(_)}}}}else if(q==="bubble"){if(Y===void 0)return;for(let Q=0;QA(_))};return C.displayName="evtdUnifiedWindowEventHandler",C}const h=f(),g=p();function b(C,_){const R=u[C];return R[_]===void 0&&(R[_]=new Map,window.addEventListener(_,h,C==="capture")),R[_]}function m(C){return d[C]===void 0&&(d[C]=new Set,window.addEventListener(C,g)),d[C]}function y(C,_){let R=C.get(_);return R===void 0&&C.set(_,R=new Set),R}function k(C,_,R,E){const M=u[_][R];if(M!==void 0){const A=M.get(C);if(A!==void 0&&A.has(E))return!0}return!1}function S(C,_){const R=d[C];return!!(R!==void 0&&R.has(_))}function w(C,_,R,E){let M;if(typeof E=="object"&&E.once===!0?M=D=>{x(C,_,M,E),R(D)}:M=R,T6(C,_,M,E))return;const q=E===!0||typeof E=="object"&&E.capture===!0?"capture":"bubble",F=b(q,C),z=y(F,_);if(z.has(M)||z.add(M),_===window){const D=m(C);D.has(M)||D.add(M)}}function x(C,_,R,E){if(P6(C,_,R,E))return;const A=E===!0||typeof E=="object"&&E.capture===!0,q=A?"capture":"bubble",F=b(q,C),z=y(F,_);if(_===window&&!k(_,A?"bubble":"capture",C,R)&&S(C,R)){const Y=d[C];Y.delete(R),Y.size===0&&(window.removeEventListener(C,g),d[C]=void 0)}z.has(R)&&z.delete(R),z.size===0&&F.delete(_),F.size===0&&(window.removeEventListener(C,h,q==="capture"),u[q][C]=void 0)}return{on:w,off:x}}const{on:Mt,off:Tt}=R6(),cs=N(null);function nb(e){if(e.clientX>0||e.clientY>0)cs.value={x:e.clientX,y:e.clientY};else{const{target:t}=e;if(t instanceof Element){const{left:n,top:o,width:r,height:i}=t.getBoundingClientRect();n>0||o>0?cs.value={x:n+r/2,y:o+i/2}:cs.value={x:0,y:0}}else cs.value=null}}let Rl=0,ob=!0;function KC(){if(!Tp)return io(N(null));Rl===0&&Mt("click",document,nb,!0);const e=()=>{Rl+=1};return ob&&(ob=kp())?(cn(e),rn(()=>{Rl-=1,Rl===0&&Tt("click",document,nb,!0)})):e(),io(cs)}const E6=N(void 0);let El=0;function rb(){E6.value=Date.now()}let ib=!0;function GC(e){if(!Tp)return io(N(!1));const t=N(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}El===0&&Mt("click",window,rb,!0);const i=()=>{El+=1,Mt("click",window,r,!0)};return ib&&(ib=kp())?(cn(i),rn(()=>{El-=1,El===0&&Tt("click",window,rb,!0),Tt("click",window,r,!0),o()})):i(),io(t)}function ln(e,t){return ht(e,n=>{n!==void 0&&(t.value=n)}),L(()=>e.value===void 0?t.value:e.value)}function Gr(){const e=N(!1);return Lt(()=>{e.value=!0}),io(e)}function bu(e,t){return L(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const $6=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function A6(){return $6}function I6(e={},t){const n=xo({ctrl:!1,command:!1,win:!1,shift:!1,tab:!1}),{keydown:o,keyup:r}=e,i=l=>{switch(l.key){case"Control":n.ctrl=!0;break;case"Meta":n.command=!0,n.win=!0;break;case"Shift":n.shift=!0;break;case"Tab":n.tab=!0;break}o!==void 0&&Object.keys(o).forEach(c=>{if(c!==l.key)return;const u=o[c];if(typeof u=="function")u(l);else{const{stop:d=!1,prevent:f=!1}=u;d&&l.stopPropagation(),f&&l.preventDefault(),u.handler(l)}})},a=l=>{switch(l.key){case"Control":n.ctrl=!1;break;case"Meta":n.command=!1,n.win=!1;break;case"Shift":n.shift=!1;break;case"Tab":n.tab=!1;break}r!==void 0&&Object.keys(r).forEach(c=>{if(c!==l.key)return;const u=r[c];if(typeof u=="function")u(l);else{const{stop:d=!1,prevent:f=!1}=u;d&&l.stopPropagation(),f&&l.preventDefault(),u.handler(l)}})},s=()=>{(t===void 0||t.value)&&(Mt("keydown",document,i),Mt("keyup",document,a)),t!==void 0&&ht(t,l=>{l?(Mt("keydown",document,i),Mt("keyup",document,a)):(Tt("keydown",document,i),Tt("keyup",document,a))})};return kp()?(cn(s),rn(()=>{(t===void 0||t.value)&&(Tt("keydown",document,i),Tt("keyup",document,a))})):s(),io(n)}const Pp="n-internal-select-menu",YC="n-internal-select-menu-body",nl="n-modal-body",XC="n-modal",ol="n-drawer-body",Rp="n-drawer",Fa="n-popover-body",ZC="__disabled__";function Wo(e){const t=qe(nl,null),n=qe(ol,null),o=qe(Fa,null),r=qe(YC,null),i=N();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};Lt(()=>{Mt("fullscreenchange",document,a)}),rn(()=>{Tt("fullscreenchange",document,a)})}return St(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?ZC:s===!0?i.value||"body":s:t!=null&&t.value?(a=t.value.$el)!==null&&a!==void 0?a:t.value:n!=null&&n.value?n.value:o!=null&&o.value?o.value:r!=null&&r.value?r.value:s??(i.value||"body")})}Wo.tdkey=ZC;Wo.propTo={type:[String,Object,Boolean],default:void 0};let ab=!1;function M6(){if(ur&&window.CSS&&!ab&&(ab=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"",inherits:!1,initialValue:"#0000"})}catch{}}function oh(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function rh(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(Je(String(o)));return}if(Array.isArray(o)){rh(o,t,n);return}if(o.type===it){if(o.children===null)return;Array.isArray(o.children)&&rh(o.children,t,n)}else o.type!==$n&&n.push(o)}}),n}function sb(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=rh(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Sr=null;function JC(){if(Sr===null&&(Sr=document.getElementById("v-binder-view-measurer"),Sr===null)){Sr=document.createElement("div"),Sr.id="v-binder-view-measurer";const{style:e}=Sr;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Sr)}return Sr.getBoundingClientRect()}function z6(e,t){const n=JC();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function kd(e){const t=e.getBoundingClientRect(),n=JC();return{left:t.left-n.left,top:t.top-n.top,bottom:n.height+n.top-t.bottom,right:n.width+n.left-t.right,width:t.width,height:t.height}}function O6(e){return e.nodeType===9?null:e.parentNode}function QC(e){if(e===null)return null;const t=O6(e);if(t===null)return null;if(t.nodeType===9)return document;if(t.nodeType===1){const{overflow:n,overflowX:o,overflowY:r}=getComputedStyle(t);if(/(auto|scroll|overlay)/.test(n+r+o))return t}return QC(t)}const D6=me({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;lt("VBinder",(t=Zn())===null||t===void 0?void 0:t.proxy);const n=qe("VBinder",null),o=N(null),r=m=>{o.value=m,n&&e.syncTargetWithParent&&n.setTargetRef(m)};let i=[];const a=()=>{let m=o.value;for(;m=QC(m),m!==null;)i.push(m);for(const y of i)Mt("scroll",y,d,!0)},s=()=>{for(const m of i)Tt("scroll",m,d,!0);i=[]},l=new Set,c=m=>{l.size===0&&a(),l.has(m)||l.add(m)},u=m=>{l.has(m)&&l.delete(m),l.size===0&&s()},d=()=>{Sc(f)},f=()=>{l.forEach(m=>m())},p=new Set,h=m=>{p.size===0&&Mt("resize",window,b),p.has(m)||p.add(m)},g=m=>{p.has(m)&&p.delete(m),p.size===0&&Tt("resize",window,b)},b=()=>{p.forEach(m=>m())};return rn(()=>{Tt("resize",window,b),s()}),{targetRef:o,setTargetRef:r,addScrollListener:c,removeScrollListener:u,addResizeListener:h,removeResizeListener:g}},render(){return oh("binder",this.$slots)}}),Ep=D6,$p=me({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=qe("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?Cn(sb("follower",this.$slots),[[t]]):sb("follower",this.$slots)}}),Xi="@@mmoContext",L6={mounted(e,{value:t}){e[Xi]={handler:void 0},typeof t=="function"&&(e[Xi].handler=t,Mt("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[Xi];typeof t=="function"?n.handler?n.handler!==t&&(Tt("mousemoveoutside",e,n.handler),n.handler=t,Mt("mousemoveoutside",e,t)):(e[Xi].handler=t,Mt("mousemoveoutside",e,t)):n.handler&&(Tt("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[Xi];t&&Tt("mousemoveoutside",e,t),e[Xi].handler=void 0}},F6=L6,Zi="@@coContext",N6={mounted(e,{value:t,modifiers:n}){e[Zi]={handler:void 0},typeof t=="function"&&(e[Zi].handler=t,Mt("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[Zi];typeof t=="function"?o.handler?o.handler!==t&&(Tt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,Mt("clickoutside",e,t,{capture:n.capture})):(e[Zi].handler=t,Mt("clickoutside",e,t,{capture:n.capture})):o.handler&&(Tt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=void 0)},unmounted(e,{modifiers:t}){const{handler:n}=e[Zi];n&&Tt("clickoutside",e,n,{capture:t.capture}),e[Zi].handler=void 0}},Ta=N6;function B6(e,t){console.error(`[vdirs/${e}]: ${t}`)}class H6{constructor(){this.elementZIndex=new Map,this.nextZIndex=2e3}get elementCount(){return this.elementZIndex.size}ensureZIndex(t,n){const{elementZIndex:o}=this;if(n!==void 0){t.style.zIndex=`${n}`,o.delete(t);return}const{nextZIndex:r}=this;o.has(t)&&o.get(t)+1===this.nextZIndex||(t.style.zIndex=`${r}`,o.set(t,r),this.nextZIndex=r+1,this.squashState())}unregister(t,n){const{elementZIndex:o}=this;o.has(t)?o.delete(t):n===void 0&&B6("z-index-manager/unregister-element","Element not found when unregistering."),this.squashState()}squashState(){const{elementCount:t}=this;t||(this.nextZIndex=2e3),this.nextZIndex-t>2500&&this.rearrange()}rearrange(){const t=Array.from(this.elementZIndex.entries());t.sort((n,o)=>n[1]-o[1]),this.nextZIndex=2e3,t.forEach(n=>{const o=n[0],r=this.nextZIndex++;`${r}`!==o.style.zIndex&&(o.style.zIndex=`${r}`)})}}const Td=new H6,Ji="@@ziContext",j6={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[Ji]={enabled:!!r,initialized:!1},r&&(Td.ensureZIndex(e,o),e[Ji].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,i=e[Ji].enabled;r&&!i&&(Td.ensureZIndex(e,o),e[Ji].initialized=!0),e[Ji].enabled=!!r},unmounted(e,t){if(!e[Ji].initialized)return;const{value:n={}}=t,{zIndex:o}=n;Td.unregister(e,o)}},yu=j6,ew=Symbol("@css-render/vue3-ssr");function V6(e,t){return``}function U6(e,t){const n=qe(ew,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(V6(e,t)))}const W6=typeof document<"u";function Mi(){if(W6)return;const e=qe(ew,null);if(e!==null)return{adapter:U6,context:e}}function lb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:zr}=BC(),Ap="vueuc-style";function cb(e){return e&-e}class q6{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;rr)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=cb(t);return i}getBound(t){let n=0,o=this.l;for(;o>n;){const r=Math.floor((n+o)/2),i=this.sum(r);if(i>t){o=r;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?oh("lazy-teleport",this.$slots):v(Xc,{disabled:this.disabled,to:this.mergedTo},oh("lazy-teleport",this.$slots)):null}}),$l={top:"bottom",bottom:"top",left:"right",right:"left"},db={start:"end",center:"center",end:"start"},Pd={top:"height",bottom:"height",left:"width",right:"width"},K6={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},G6={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},Y6={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},fb={top:!0,bottom:!1,left:!0,right:!1},hb={top:"end",bottom:"start",left:"end",right:"start"};function X6(e,t,n,o,r,i){if(!r||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(p,h,g)=>{let b=0,m=0;const y=n[p]-t[h]-t[p];return y>0&&o&&(g?m=fb[h]?y:-y:b=fb[h]?y:-y),{left:b,top:m}},d=a==="left"||a==="right";if(l!=="center"){const p=Y6[e],h=$l[p],g=Pd[p];if(n[g]>t[g]){if(t[p]+t[g]t[h]&&(l=db[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=$l[p],g=Pd[p],b=(n[g]-t[g])/2;(t[p]t[h]?(l=hb[p],c=u(g,p,d)):(l=hb[h],c=u(g,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Ip=me({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=qe("VBinder"),n=St(()=>e.enabled!==void 0?e.enabled:e.show),o=N(null),r=N(null),i=()=>{const{syncTrigger:f}=e;f.includes("scroll")&&t.addScrollListener(l),f.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Lt(()=>{n.value&&(l(),i())});const s=Mi();Q6.mount({id:"vueuc/binder",head:!0,anchorMetaName:Ap,ssr:s}),rn(()=>{a()}),_6(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const p=t.targetRef,{x:h,y:g,overlap:b}=e,m=h!==void 0&&g!==void 0?z6(h,g):kd(p);f.style.setProperty("--v-target-width",`${Math.round(m.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(m.height)}px`);const{width:y,minWidth:k,placement:S,internalShift:w,flip:x}=e;f.setAttribute("v-placement",S),b?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:C}=f;y==="target"?C.width=`${m.width}px`:y!==void 0?C.width=y:C.width="",k==="target"?C.minWidth=`${m.width}px`:k!==void 0?C.minWidth=k:C.minWidth="";const _=kd(f),R=kd(r.value),{left:E,top:M,placement:A}=X6(S,m,_,w,x,b),q=Z6(A,b),{left:F,top:z,transform:D}=J6(A,R,m,M,E,b);f.setAttribute("v-placement",A),f.style.setProperty("--v-offset-left",`${Math.round(E)}px`),f.style.setProperty("--v-offset-top",`${Math.round(M)}px`),f.style.transform=`translateX(${F}) translateY(${z}) ${D}`,f.style.setProperty("--v-transform-origin",q),f.style.transformOrigin=q};ht(n,f=>{f?(i(),c()):a()});const c=()=>{Ht().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ht(Ue(e,f),l)}),["teleportDisabled"].forEach(f=>{ht(Ue(e,f),c)}),ht(Ue(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Gr(),d=St(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return v(xu,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=v("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[v("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Cn(n,[[yu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var gi=[],e8=function(){return gi.some(function(e){return e.activeTargets.length>0})},t8=function(){return gi.some(function(e){return e.skippedTargets.length>0})},pb="ResizeObserver loop completed with undelivered notifications.",n8=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:pb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=pb),window.dispatchEvent(e)},Vs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Vs||(Vs={}));var vi=function(e){return Object.freeze(e)},o8=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,vi(this)}return e}(),tw=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,vi(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Mp=function(e){return e instanceof SVGElement&&"getBBox"in e},nw=function(e){if(Mp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},mb=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},r8=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ss=typeof window<"u"?window:{},Al=new WeakMap,gb=/auto|scroll/,i8=/^tb|vertical/,a8=/msie|trident/i.test(Ss.navigator&&Ss.navigator.userAgent),$o=function(e){return parseFloat(e||"0")},ha=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new o8((n?t:e)||0,(n?e:t)||0)},vb=vi({devicePixelContentBoxSize:ha(),borderBoxSize:ha(),contentBoxSize:ha(),contentRect:new tw(0,0,0,0)}),ow=function(e,t){if(t===void 0&&(t=!1),Al.has(e)&&!t)return Al.get(e);if(nw(e))return Al.set(e,vb),vb;var n=getComputedStyle(e),o=Mp(e)&&e.ownerSVGElement&&e.getBBox(),r=!a8&&n.boxSizing==="border-box",i=i8.test(n.writingMode||""),a=!o&&gb.test(n.overflowY||""),s=!o&&gb.test(n.overflowX||""),l=o?0:$o(n.paddingTop),c=o?0:$o(n.paddingRight),u=o?0:$o(n.paddingBottom),d=o?0:$o(n.paddingLeft),f=o?0:$o(n.borderTopWidth),p=o?0:$o(n.borderRightWidth),h=o?0:$o(n.borderBottomWidth),g=o?0:$o(n.borderLeftWidth),b=d+c,m=l+u,y=g+p,k=f+h,S=s?e.offsetHeight-k-e.clientHeight:0,w=a?e.offsetWidth-y-e.clientWidth:0,x=r?b+y:0,C=r?m+k:0,_=o?o.width:$o(n.width)-x-w,R=o?o.height:$o(n.height)-C-S,E=_+b+w+y,M=R+m+S+k,A=vi({devicePixelContentBoxSize:ha(Math.round(_*devicePixelRatio),Math.round(R*devicePixelRatio),i),borderBoxSize:ha(E,M,i),contentBoxSize:ha(_,R,i),contentRect:new tw(d,l,_,R)});return Al.set(e,A),A},rw=function(e,t,n){var o=ow(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Vs.DEVICE_PIXEL_CONTENT_BOX:return a;case Vs.BORDER_BOX:return r;default:return i}},s8=function(){function e(t){var n=ow(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=vi([n.borderBoxSize]),this.contentBoxSize=vi([n.contentBoxSize]),this.devicePixelContentBoxSize=vi([n.devicePixelContentBoxSize])}return e}(),iw=function(e){if(nw(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},l8=function(){var e=1/0,t=[];gi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new s8(c.target),d=iw(c.target);s.push(u),c.lastReportedSize=rw(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},c8=function(){var e=0;for(bb(e);e8();)e=l8(),bb(e);return t8()&&n8(),e>0},Rd,aw=[],u8=function(){return aw.splice(0).forEach(function(e){return e()})},d8=function(e){if(!Rd){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return u8()}).observe(n,o),Rd=function(){n.textContent="".concat(t?t--:t++)}}aw.push(e),Rd()},f8=function(e){d8(function(){requestAnimationFrame(e)})},sc=0,h8=function(){return!!sc},p8=250,m8={attributes:!0,characterData:!0,childList:!0,subtree:!0},yb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],xb=function(e){return e===void 0&&(e=0),Date.now()+e},Ed=!1,g8=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=p8),!Ed){Ed=!0;var o=xb(t);f8(function(){var r=!1;try{r=c8()}finally{if(Ed=!1,t=o-xb(),!h8())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,m8)};document.body?n():Ss.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),yb.forEach(function(n){return Ss.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),yb.forEach(function(n){return Ss.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),ih=new g8,Cb=function(e){!sc&&e>0&&ih.start(),sc+=e,!sc&&ih.stop()},v8=function(e){return!Mp(e)&&!r8(e)&&getComputedStyle(e).display==="inline"},b8=function(){function e(t,n){this.target=t,this.observedBox=n||Vs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rw(this.target,this.observedBox,!0);return v8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),y8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Il=new WeakMap,wb=function(e,t){for(var n=0;n=0&&(i&&gi.splice(gi.indexOf(o),1),o.observationTargets.splice(r,1),Cb(-1))},e.disconnect=function(t){var n=this,o=Il.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),x8=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ml.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!mb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ml.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!mb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ml.unobserve(this,t)},e.prototype.disconnect=function(){Ml.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class C8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||x8)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Tc=new C8,lr=me({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Zn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}Lt(()=>{const r=n.$el;if(r===void 0){lb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){lb("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Tc.registerHandler(r.nextElementSibling,o),t=!0)}),rn(()=>{t&&Tc.unregisterHandler(n.$el.nextElementSibling)})},render(){return Yc(this.$slots,"default")}});let zl;function w8(){return typeof document>"u"?!1:(zl===void 0&&("matchMedia"in window?zl=window.matchMedia("(pointer:coarse)").matches:zl=!1),zl)}let $d;function _b(){return typeof document>"u"?1:($d===void 0&&($d="chrome"in window?window.devicePixelRatio:1),$d)}const _8=zr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[zr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[zr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),sw=me({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Mi();_8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Ap,ssr:t}),Lt(()=>{const{defaultScrollIndex:M,defaultScrollKey:A}=e;M!=null?h({index:M}):A!=null&&h({key:A})});let n=!1,o=!1;Kh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Kc(()=>{n=!0,o||(o=!0)});const r=L(()=>{const M=new Map,{keyField:A}=e;return e.items.forEach((q,F)=>{M.set(q[A],F)}),M}),i=N(null),a=N(void 0),s=new Map,l=L(()=>{const{items:M,itemSize:A,keyField:q}=e,F=new q6(M.length,A);return M.forEach((z,D)=>{const Y=z[q],Q=s.get(Y);Q!==void 0&&F.add(D,Q)}),F}),c=N(0);let u=0;const d=N(0),f=St(()=>Math.max(l.value.getBound(d.value-kn(e.paddingTop))-1,0)),p=L(()=>{const{value:M}=a;if(M===void 0)return[];const{items:A,itemSize:q}=e,F=f.value,z=Math.min(F+Math.ceil(M/q+1),A.length-1),D=[];for(let Y=F;Y<=z;++Y)D.push(A[Y]);return D}),h=(M,A)=>{if(typeof M=="number"){y(M,A,"auto");return}const{left:q,top:F,index:z,key:D,position:Y,behavior:Q,debounce:ce=!0}=M;if(q!==void 0||F!==void 0)y(q,F,Q);else if(z!==void 0)m(z,Q,ce);else if(D!==void 0){const le=r.value.get(D);le!==void 0&&m(le,Q,ce)}else Y==="bottom"?y(0,Number.MAX_SAFE_INTEGER,Q):Y==="top"&&y(0,0,Q)};let g,b=null;function m(M,A,q){const{value:F}=l,z=F.sum(M)+kn(e.paddingTop);if(!q)i.value.scrollTo({left:0,top:z,behavior:A});else{g=M,b!==null&&window.clearTimeout(b),b=window.setTimeout(()=>{g=void 0,b=null},16);const{scrollTop:D,offsetHeight:Y}=i.value;if(z>D){const Q=F.get(M);z+Q<=D+Y||i.value.scrollTo({left:0,top:z+Q-Y,behavior:A})}else i.value.scrollTo({left:0,top:z,behavior:A})}}function y(M,A,q){i.value.scrollTo({left:M,top:A,behavior:q})}function k(M,A){var q,F,z;if(n||e.ignoreItemResize||E(A.target))return;const{value:D}=l,Y=r.value.get(M),Q=D.get(Y),ce=(z=(F=(q=A.borderBoxSize)===null||q===void 0?void 0:q[0])===null||F===void 0?void 0:F.blockSize)!==null&&z!==void 0?z:A.contentRect.height;if(ce===Q)return;ce-e.itemSize===0?s.delete(M):s.set(M,ce-e.itemSize);const B=ce-Q;if(B===0)return;D.add(Y,B);const $=i.value;if($!=null){if(g===void 0){const I=D.sum(Y);$.scrollTop>I&&$.scrollBy(0,B)}else if(Y$.scrollTop+$.offsetHeight&&$.scrollBy(0,B)}R()}c.value++}const S=!w8();let w=!1;function x(M){var A;(A=e.onScroll)===null||A===void 0||A.call(e,M),(!S||!w)&&R()}function C(M){var A;if((A=e.onWheel)===null||A===void 0||A.call(e,M),S){const q=i.value;if(q!=null){if(M.deltaX===0&&(q.scrollTop===0&&M.deltaY<=0||q.scrollTop+q.offsetHeight>=q.scrollHeight&&M.deltaY>=0))return;M.preventDefault(),q.scrollTop+=M.deltaY/_b(),q.scrollLeft+=M.deltaX/_b(),R(),w=!0,Sc(()=>{w=!1})}}}function _(M){if(n||E(M.target)||M.contentRect.height===a.value)return;a.value=M.contentRect.height;const{onResize:A}=e;A!==void 0&&A(M)}function R(){const{value:M}=i;M!=null&&(d.value=M.scrollTop,u=M.scrollLeft)}function E(M){let A=M;for(;A!==null;){if(A.style.display==="none")return!0;A=A.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:L(()=>{const{itemResizable:M}=e,A=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:M?"":A,minHeight:M?A:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:N(null),scrollTo:h,handleListResize:_,handleListScroll:x,handleListWheel:C,handleItemResize:k}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return v(lr,{onResize:this.handleListResize},{default:()=>{var r,i;return v("div",Dn(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?v("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[v(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?v(lr,{key:s,onResize:u=>this.handleItemResize(s,u)},{default:()=>c}):(c.key=s,c)})})]):(i=(r=this.$slots).empty)===null||i===void 0?void 0:i.call(r)])}})}}),er="v-hidden",S8=zr("[v-hidden]",{display:"none!important"}),ah=me({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=N(null),o=N(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(er)&&u.removeAttribute(er);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const k of d)k.hasAttribute(er)&&k.removeAttribute(er);const f=s.offsetWidth,p=[],h=t.tail?c==null?void 0:c():null;let g=h?h.offsetWidth:0,b=!1;const m=s.children.length-(t.tail?1:0);for(let k=0;kf){const{updateCounter:x}=e;for(let C=k;C>=0;--C){const _=m-1-C;x!==void 0?x(_):u.textContent=`${_}`;const R=u.offsetWidth;if(g-=p[C],g+R<=f||C===0){b=!0,k=C-1,h&&(k===-1?(h.style.maxWidth=`${f-R}px`,h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:E}=e;E&&E(_);break}}}}const{onUpdateOverflow:y}=e;b?y!==void 0&&y(!0):(y!==void 0&&y(!1),u.setAttribute(er,""))}const i=Mi();return S8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Ap,ssr:i}),Lt(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),v("div",{class:"v-overflow",ref:"selfRef"},[Yc(e,"default"),e.counter?e.counter():v("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function lw(e){return e instanceof HTMLElement}function cw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(lw(n)&&(dw(n)||uw(n)))return!0}return!1}function dw(e){if(!k8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function k8(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let rs=[];const zp=me({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Ii(),n=N(null),o=N(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return rs[rs.length-1]===t}function l(b){var m;b.code==="Escape"&&s()&&((m=e.onEsc)===null||m===void 0||m.call(e,b))}Lt(()=>{ht(()=>e.active,b=>{b?(d(),Mt("keydown",document,l)):(Tt("keydown",document,l),r&&f())},{immediate:!0})}),rn(()=>{Tt("keydown",document,l),r&&f()});function c(b){if(!i&&s()){const m=u();if(m===null||m.contains(wi(b)))return;p("first")}}function u(){const b=n.value;if(b===null)return null;let m=b;for(;m=m.nextSibling,!(m===null||m instanceof Element&&m.tagName==="DIV"););return m}function d(){var b;if(!e.disabled){if(rs.push(t),e.autoFocus){const{initialFocusTo:m}=e;m===void 0?p("first"):(b=ub(m))===null||b===void 0||b.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var b;if(e.disabled||(document.removeEventListener("focus",c,!0),rs=rs.filter(y=>y!==t),s()))return;const{finalFocusTo:m}=e;m!==void 0?(b=ub(m))===null||b===void 0||b.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function p(b){if(s()&&e.active){const m=n.value,y=o.value;if(m!==null&&y!==null){const k=u();if(k==null||k===y){i=!0,m.focus({preventScroll:!0}),i=!1;return}i=!0;const S=b==="first"?cw(k):uw(k);i=!1,S||(i=!0,m.focus({preventScroll:!0}),i=!1)}}}function h(b){if(i)return;const m=u();m!==null&&(b.relatedTarget!==null&&m.contains(b.relatedTarget)?p("last"):p("first"))}function g(b){i||(b.relatedTarget!==null&&b.relatedTarget===n.value?p("last"):p("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:h,handleEndFocus:g}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return v(it,null,[v("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),v("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function fw(e,t){t&&(Lt(()=>{const{value:n}=e;n&&Tc.registerHandler(n,t)}),rn(()=>{const{value:n}=e;n&&Tc.unregisterHandler(n)}))}let Qi=0,Sb="",kb="",Tb="",Pb="";const sh=N("0px");function hw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Sb,t.style.overflow=kb,t.style.overflowX=Tb,t.style.overflowY=Pb,sh.value="0px"};Lt(()=>{n=ht(e,i=>{if(i){if(!Qi){const a=window.innerWidth-t.offsetWidth;a>0&&(Sb=t.style.marginRight,t.style.marginRight=`${a}px`,sh.value=`${a}px`),kb=t.style.overflow,Tb=t.style.overflowX,Pb=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,Qi++}else Qi--,Qi||r(),o=!1},{immediate:!0})}),rn(()=>{n==null||n(),o&&(Qi--,Qi||r(),o=!1)})}const Op=N(!1),Rb=()=>{Op.value=!0},Eb=()=>{Op.value=!1};let is=0;const pw=()=>(ur&&(cn(()=>{is||(window.addEventListener("compositionstart",Rb),window.addEventListener("compositionend",Eb)),is++}),rn(()=>{is<=1?(window.removeEventListener("compositionstart",Rb),window.removeEventListener("compositionend",Eb),is=0):is--})),Op);function Dp(e){const t={isDeactivated:!1};let n=!1;return Kh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Kc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function $b(e){return e.nodeName==="#document"}const T8=(e,t)=>{if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)},Ab="n-form-item";function dr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=qe(Ab,null);lt(Ab,null);const i=L(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=L(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=L(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return rn(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var P8=typeof global=="object"&&global&&global.Object===Object&&global;const mw=P8;var R8=typeof self=="object"&&self&&self.Object===Object&&self,E8=mw||R8||Function("return this")();const So=E8;var $8=So.Symbol;const Br=$8;var gw=Object.prototype,A8=gw.hasOwnProperty,I8=gw.toString,as=Br?Br.toStringTag:void 0;function M8(e){var t=A8.call(e,as),n=e[as];try{e[as]=void 0;var o=!0}catch{}var r=I8.call(e);return o&&(t?e[as]=n:delete e[as]),r}var z8=Object.prototype,O8=z8.toString;function D8(e){return O8.call(e)}var L8="[object Null]",F8="[object Undefined]",Ib=Br?Br.toStringTag:void 0;function zi(e){return e==null?e===void 0?F8:L8:Ib&&Ib in Object(e)?M8(e):D8(e)}function Hr(e){return e!=null&&typeof e=="object"}var N8="[object Symbol]";function Cu(e){return typeof e=="symbol"||Hr(e)&&zi(e)==N8}function vw(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=CI)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function kI(e){return function(){return e}}var TI=function(){try{var e=Di(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Pc=TI;var PI=Pc?function(e,t){return Pc(e,"toString",{configurable:!0,enumerable:!1,value:kI(t),writable:!0})}:Lp;const RI=PI;var EI=SI(RI);const $I=EI;var AI=9007199254740991,II=/^(?:0|[1-9]\d*)$/;function Np(e,t){var n=typeof e;return t=t??AI,!!t&&(n=="number"||n!="symbol"&&II.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=NI}function Na(e){return e!=null&&Hp(e.length)&&!Fp(e)}function BI(e,t,n){if(!qo(n))return!1;var o=typeof t;return(o=="number"?Na(n)&&Np(t,n.length):o=="string"&&t in n)?rl(n[t],e):!1}function HI(e){return FI(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&BI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function rz(e,t){var n=this.__data__,o=wu(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tr?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o=o?e:Rz(e,t,n)}var $z="\\ud800-\\udfff",Az="\\u0300-\\u036f",Iz="\\ufe20-\\ufe2f",Mz="\\u20d0-\\u20ff",zz=Az+Iz+Mz,Oz="\\ufe0e\\ufe0f",Dz="\\u200d",Lz=RegExp("["+Dz+$z+zz+Oz+"]");function $w(e){return Lz.test(e)}function Fz(e){return e.split("")}var Aw="\\ud800-\\udfff",Nz="\\u0300-\\u036f",Bz="\\ufe20-\\ufe2f",Hz="\\u20d0-\\u20ff",jz=Nz+Bz+Hz,Vz="\\ufe0e\\ufe0f",Uz="["+Aw+"]",uh="["+jz+"]",dh="\\ud83c[\\udffb-\\udfff]",Wz="(?:"+uh+"|"+dh+")",Iw="[^"+Aw+"]",Mw="(?:\\ud83c[\\udde6-\\uddff]){2}",zw="[\\ud800-\\udbff][\\udc00-\\udfff]",qz="\\u200d",Ow=Wz+"?",Dw="["+Vz+"]?",Kz="(?:"+qz+"(?:"+[Iw,Mw,zw].join("|")+")"+Dw+Ow+")*",Gz=Dw+Ow+Kz,Yz="(?:"+[Iw+uh+"?",uh,Mw,zw,Uz].join("|")+")",Xz=RegExp(dh+"(?="+dh+")|"+Yz+Gz,"g");function Zz(e){return e.match(Xz)||[]}function Jz(e){return $w(e)?Zz(e):Fz(e)}function Qz(e){return function(t){t=Si(t);var n=$w(t)?Jz(t):void 0,o=n?n[0]:t.charAt(0),r=n?Ez(n,1).join(""):t.slice(1);return o[e]()+r}}var eO=Qz("toUpperCase");const Lw=eO;function tO(e){return Lw(Si(e).toLowerCase())}function nO(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++rs))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=n&ED?new Ac:void 0;for(i.set(e,t),i.set(t,e);++d`}function W6(e,t){const n=qe(YC,null);if(n===null){console.error("[css-render/vue3-ssr]: no ssr context found.");return}const{styles:o,ids:r}=n;r.has(e)||o!==null&&(r.add(e),o.push(U6(e,t)))}const q6=typeof document<"u";function Mi(){if(q6)return;const e=qe(YC,null);if(e!==null)return{adapter:W6,context:e}}function lb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:zr}=OC(),Ap="vueuc-style";function cb(e){return e&-e}class K6{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;rr)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=cb(t);return i}getBound(t){let n=0,o=this.l;for(;o>n;){const r=Math.floor((n+o)/2),i=this.sum(r);if(i>t){o=r;continue}else if(i{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?oh("lazy-teleport",this.$slots):v(Xc,{disabled:this.disabled,to:this.mergedTo},oh("lazy-teleport",this.$slots)):null}}),$l={top:"bottom",bottom:"top",left:"right",right:"left"},db={start:"end",center:"center",end:"start"},Rd={top:"height",bottom:"height",left:"width",right:"width"},G6={"bottom-start":"top left",bottom:"top center","bottom-end":"top right","top-start":"bottom left",top:"bottom center","top-end":"bottom right","right-start":"top left",right:"center left","right-end":"bottom left","left-start":"top right",left:"center right","left-end":"bottom right"},Y6={"bottom-start":"bottom left",bottom:"bottom center","bottom-end":"bottom right","top-start":"top left",top:"top center","top-end":"top right","right-start":"top right",right:"center right","right-end":"bottom right","left-start":"top left",left:"center left","left-end":"bottom left"},X6={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},fb={top:!0,bottom:!1,left:!0,right:!1},hb={top:"end",bottom:"start",left:"end",right:"start"};function Z6(e,t,n,o,r,i){if(!r||i)return{placement:e,top:0,left:0};const[a,s]=e.split("-");let l=s??"center",c={top:0,left:0};const u=(p,h,g)=>{let b=0,m=0;const y=n[p]-t[h]-t[p];return y>0&&o&&(g?m=fb[h]?y:-y:b=fb[h]?y:-y),{left:b,top:m}},d=a==="left"||a==="right";if(l!=="center"){const p=X6[e],h=$l[p],g=Rd[p];if(n[g]>t[g]){if(t[p]+t[g]t[h]&&(l=db[s])}else{const p=a==="bottom"||a==="top"?"left":"top",h=$l[p],g=Rd[p],b=(n[g]-t[g])/2;(t[p]t[h]?(l=hb[p],c=u(g,p,d)):(l=hb[h],c=u(g,h,d)))}let f=a;return t[a] *",{pointerEvents:"all"})])]),Ip=me({name:"Follower",inheritAttrs:!1,props:{show:Boolean,enabled:{type:Boolean,default:void 0},placement:{type:String,default:"bottom"},syncTrigger:{type:Array,default:["resize","scroll"]},to:[String,Object],flip:{type:Boolean,default:!0},internalShift:Boolean,x:Number,y:Number,width:String,minWidth:String,containerClass:String,teleportDisabled:Boolean,zindexable:{type:Boolean,default:!0},zIndex:Number,overlap:Boolean},setup(e){const t=qe("VBinder"),n=St(()=>e.enabled!==void 0?e.enabled:e.show),o=N(null),r=N(null),i=()=>{const{syncTrigger:f}=e;f.includes("scroll")&&t.addScrollListener(l),f.includes("resize")&&t.addResizeListener(l)},a=()=>{t.removeScrollListener(l),t.removeResizeListener(l)};Lt(()=>{n.value&&(l(),i())});const s=Mi();e8.mount({id:"vueuc/binder",head:!0,anchorMetaName:Ap,ssr:s}),rn(()=>{a()}),S6(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const p=t.targetRef,{x:h,y:g,overlap:b}=e,m=h!==void 0&&g!==void 0?O6(h,g):Td(p);f.style.setProperty("--v-target-width",`${Math.round(m.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(m.height)}px`);const{width:y,minWidth:k,placement:S,internalShift:w,flip:x}=e;f.setAttribute("v-placement",S),b?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:C}=f;y==="target"?C.width=`${m.width}px`:y!==void 0?C.width=y:C.width="",k==="target"?C.minWidth=`${m.width}px`:k!==void 0?C.minWidth=k:C.minWidth="";const _=Td(f),R=Td(r.value),{left:E,top:M,placement:A}=Z6(S,m,_,w,x,b),q=J6(A,b),{left:F,top:z,transform:D}=Q6(A,R,m,M,E,b);f.setAttribute("v-placement",A),f.style.setProperty("--v-offset-left",`${Math.round(E)}px`),f.style.setProperty("--v-offset-top",`${Math.round(M)}px`),f.style.transform=`translateX(${F}) translateY(${z}) ${D}`,f.style.setProperty("--v-transform-origin",q),f.style.transformOrigin=q};ht(n,f=>{f?(i(),c()):a()});const c=()=>{Ht().then(l).catch(f=>console.error(f))};["placement","x","y","internalShift","flip","width","overlap","minWidth"].forEach(f=>{ht(Ue(e,f),l)}),["teleportDisabled"].forEach(f=>{ht(Ue(e,f),c)}),ht(Ue(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=Gr(),d=St(()=>{const{to:f}=e;if(f!==void 0)return f;u.value});return{VBinder:t,mergedEnabled:n,offsetContainerRef:r,followerRef:o,mergedTo:d,syncPosition:l}},render(){return v(Cu,{show:this.show,to:this.mergedTo,disabled:this.teleportDisabled},{default:()=>{var e,t;const n=v("div",{class:["v-binder-follower-container",this.containerClass],ref:"offsetContainerRef"},[v("div",{class:"v-binder-follower-content",ref:"followerRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))]);return this.zindexable?Cn(n,[[xu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var gi=[],t8=function(){return gi.some(function(e){return e.activeTargets.length>0})},n8=function(){return gi.some(function(e){return e.skippedTargets.length>0})},pb="ResizeObserver loop completed with undelivered notifications.",o8=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:pb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=pb),window.dispatchEvent(e)},Vs;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Vs||(Vs={}));var vi=function(e){return Object.freeze(e)},r8=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,vi(this)}return e}(),XC=function(){function e(t,n,o,r){return this.x=t,this.y=n,this.width=o,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,vi(this)}return e.prototype.toJSON=function(){var t=this,n=t.x,o=t.y,r=t.top,i=t.right,a=t.bottom,s=t.left,l=t.width,c=t.height;return{x:n,y:o,top:r,right:i,bottom:a,left:s,width:l,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),Mp=function(e){return e instanceof SVGElement&&"getBBox"in e},ZC=function(e){if(Mp(e)){var t=e.getBBox(),n=t.width,o=t.height;return!n&&!o}var r=e,i=r.offsetWidth,a=r.offsetHeight;return!(i||a||e.getClientRects().length)},mb=function(e){var t;if(e instanceof Element)return!0;var n=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(n&&e instanceof n.Element)},i8=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Ss=typeof window<"u"?window:{},Al=new WeakMap,gb=/auto|scroll/,a8=/^tb|vertical/,s8=/msie|trident/i.test(Ss.navigator&&Ss.navigator.userAgent),$o=function(e){return parseFloat(e||"0")},ha=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new r8((n?t:e)||0,(n?e:t)||0)},vb=vi({devicePixelContentBoxSize:ha(),borderBoxSize:ha(),contentBoxSize:ha(),contentRect:new XC(0,0,0,0)}),JC=function(e,t){if(t===void 0&&(t=!1),Al.has(e)&&!t)return Al.get(e);if(ZC(e))return Al.set(e,vb),vb;var n=getComputedStyle(e),o=Mp(e)&&e.ownerSVGElement&&e.getBBox(),r=!s8&&n.boxSizing==="border-box",i=a8.test(n.writingMode||""),a=!o&&gb.test(n.overflowY||""),s=!o&&gb.test(n.overflowX||""),l=o?0:$o(n.paddingTop),c=o?0:$o(n.paddingRight),u=o?0:$o(n.paddingBottom),d=o?0:$o(n.paddingLeft),f=o?0:$o(n.borderTopWidth),p=o?0:$o(n.borderRightWidth),h=o?0:$o(n.borderBottomWidth),g=o?0:$o(n.borderLeftWidth),b=d+c,m=l+u,y=g+p,k=f+h,S=s?e.offsetHeight-k-e.clientHeight:0,w=a?e.offsetWidth-y-e.clientWidth:0,x=r?b+y:0,C=r?m+k:0,_=o?o.width:$o(n.width)-x-w,R=o?o.height:$o(n.height)-C-S,E=_+b+w+y,M=R+m+S+k,A=vi({devicePixelContentBoxSize:ha(Math.round(_*devicePixelRatio),Math.round(R*devicePixelRatio),i),borderBoxSize:ha(E,M,i),contentBoxSize:ha(_,R,i),contentRect:new XC(d,l,_,R)});return Al.set(e,A),A},QC=function(e,t,n){var o=JC(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case Vs.DEVICE_PIXEL_CONTENT_BOX:return a;case Vs.BORDER_BOX:return r;default:return i}},l8=function(){function e(t){var n=JC(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=vi([n.borderBoxSize]),this.contentBoxSize=vi([n.contentBoxSize]),this.devicePixelContentBoxSize=vi([n.devicePixelContentBoxSize])}return e}(),ew=function(e){if(ZC(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},c8=function(){var e=1/0,t=[];gi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new l8(c.target),d=ew(c.target);s.push(u),c.lastReportedSize=QC(c.target,c.observedBox),de?n.activeTargets.push(r):n.skippedTargets.push(r))})})},u8=function(){var e=0;for(bb(e);t8();)e=c8(),bb(e);return n8()&&o8(),e>0},Ed,tw=[],d8=function(){return tw.splice(0).forEach(function(e){return e()})},f8=function(e){if(!Ed){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return d8()}).observe(n,o),Ed=function(){n.textContent="".concat(t?t--:t++)}}tw.push(e),Ed()},h8=function(e){f8(function(){requestAnimationFrame(e)})},sc=0,p8=function(){return!!sc},m8=250,g8={attributes:!0,characterData:!0,childList:!0,subtree:!0},yb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],xb=function(e){return e===void 0&&(e=0),Date.now()+e},$d=!1,v8=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var n=this;if(t===void 0&&(t=m8),!$d){$d=!0;var o=xb(t);h8(function(){var r=!1;try{r=u8()}finally{if($d=!1,t=o-xb(),!p8())return;r?n.run(1e3):t>0?n.run(t):n.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,n=function(){return t.observer&&t.observer.observe(document.body,g8)};document.body?n():Ss.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),yb.forEach(function(n){return Ss.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),yb.forEach(function(n){return Ss.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),ih=new v8,Cb=function(e){!sc&&e>0&&ih.start(),sc+=e,!sc&&ih.stop()},b8=function(e){return!Mp(e)&&!i8(e)&&getComputedStyle(e).display==="inline"},y8=function(){function e(t,n){this.target=t,this.observedBox=n||Vs.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=QC(this.target,this.observedBox,!0);return b8(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),x8=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Il=new WeakMap,wb=function(e,t){for(var n=0;n=0&&(i&&gi.splice(gi.indexOf(o),1),o.observationTargets.splice(r,1),Cb(-1))},e.disconnect=function(t){var n=this,o=Il.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),C8=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Ml.connect(this,t)}return e.prototype.observe=function(t,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!mb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ml.observe(this,t,n)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!mb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ml.unobserve(this,t)},e.prototype.disconnect=function(){Ml.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class w8{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||C8)(this.handleResize),this.elHandlersMap=new Map}handleResize(t){for(const n of t){const o=this.elHandlersMap.get(n.target);o!==void 0&&o(n)}}registerHandler(t,n){this.elHandlersMap.set(t,n),this.observer.observe(t)}unregisterHandler(t){this.elHandlersMap.has(t)&&(this.elHandlersMap.delete(t),this.observer.unobserve(t))}}const Tc=new w8,lr=me({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=Zn().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}Lt(()=>{const r=n.$el;if(r===void 0){lb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){lb("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Tc.registerHandler(r.nextElementSibling,o),t=!0)}),rn(()=>{t&&Tc.unregisterHandler(n.$el.nextElementSibling)})},render(){return Yc(this.$slots,"default")}});let zl;function _8(){return typeof document>"u"?!1:(zl===void 0&&("matchMedia"in window?zl=window.matchMedia("(pointer:coarse)").matches:zl=!1),zl)}let Ad;function _b(){return typeof document>"u"?1:(Ad===void 0&&(Ad="chrome"in window?window.devicePixelRatio:1),Ad)}const S8=zr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[zr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[zr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),nw=me({name:"VirtualList",inheritAttrs:!1,props:{showScrollbar:{type:Boolean,default:!0},items:{type:Array,default:()=>[]},itemSize:{type:Number,required:!0},itemResizable:Boolean,itemsStyle:[String,Object],visibleItemsTag:{type:[String,Object],default:"div"},visibleItemsProps:Object,ignoreItemResize:Boolean,onScroll:Function,onWheel:Function,onResize:Function,defaultScrollKey:[Number,String],defaultScrollIndex:Number,keyField:{type:String,default:"key"},paddingTop:{type:[Number,String],default:0},paddingBottom:{type:[Number,String],default:0}},setup(e){const t=Mi();S8.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Ap,ssr:t}),Lt(()=>{const{defaultScrollIndex:M,defaultScrollKey:A}=e;M!=null?h({index:M}):A!=null&&h({key:A})});let n=!1,o=!1;Kh(()=>{if(n=!1,!o){o=!0;return}h({top:d.value,left:u})}),Kc(()=>{n=!0,o||(o=!0)});const r=L(()=>{const M=new Map,{keyField:A}=e;return e.items.forEach((q,F)=>{M.set(q[A],F)}),M}),i=N(null),a=N(void 0),s=new Map,l=L(()=>{const{items:M,itemSize:A,keyField:q}=e,F=new K6(M.length,A);return M.forEach((z,D)=>{const Y=z[q],Q=s.get(Y);Q!==void 0&&F.add(D,Q)}),F}),c=N(0);let u=0;const d=N(0),f=St(()=>Math.max(l.value.getBound(d.value-kn(e.paddingTop))-1,0)),p=L(()=>{const{value:M}=a;if(M===void 0)return[];const{items:A,itemSize:q}=e,F=f.value,z=Math.min(F+Math.ceil(M/q+1),A.length-1),D=[];for(let Y=F;Y<=z;++Y)D.push(A[Y]);return D}),h=(M,A)=>{if(typeof M=="number"){y(M,A,"auto");return}const{left:q,top:F,index:z,key:D,position:Y,behavior:Q,debounce:ce=!0}=M;if(q!==void 0||F!==void 0)y(q,F,Q);else if(z!==void 0)m(z,Q,ce);else if(D!==void 0){const le=r.value.get(D);le!==void 0&&m(le,Q,ce)}else Y==="bottom"?y(0,Number.MAX_SAFE_INTEGER,Q):Y==="top"&&y(0,0,Q)};let g,b=null;function m(M,A,q){const{value:F}=l,z=F.sum(M)+kn(e.paddingTop);if(!q)i.value.scrollTo({left:0,top:z,behavior:A});else{g=M,b!==null&&window.clearTimeout(b),b=window.setTimeout(()=>{g=void 0,b=null},16);const{scrollTop:D,offsetHeight:Y}=i.value;if(z>D){const Q=F.get(M);z+Q<=D+Y||i.value.scrollTo({left:0,top:z+Q-Y,behavior:A})}else i.value.scrollTo({left:0,top:z,behavior:A})}}function y(M,A,q){i.value.scrollTo({left:M,top:A,behavior:q})}function k(M,A){var q,F,z;if(n||e.ignoreItemResize||E(A.target))return;const{value:D}=l,Y=r.value.get(M),Q=D.get(Y),ce=(z=(F=(q=A.borderBoxSize)===null||q===void 0?void 0:q[0])===null||F===void 0?void 0:F.blockSize)!==null&&z!==void 0?z:A.contentRect.height;if(ce===Q)return;ce-e.itemSize===0?s.delete(M):s.set(M,ce-e.itemSize);const B=ce-Q;if(B===0)return;D.add(Y,B);const $=i.value;if($!=null){if(g===void 0){const I=D.sum(Y);$.scrollTop>I&&$.scrollBy(0,B)}else if(Y$.scrollTop+$.offsetHeight&&$.scrollBy(0,B)}R()}c.value++}const S=!_8();let w=!1;function x(M){var A;(A=e.onScroll)===null||A===void 0||A.call(e,M),(!S||!w)&&R()}function C(M){var A;if((A=e.onWheel)===null||A===void 0||A.call(e,M),S){const q=i.value;if(q!=null){if(M.deltaX===0&&(q.scrollTop===0&&M.deltaY<=0||q.scrollTop+q.offsetHeight>=q.scrollHeight&&M.deltaY>=0))return;M.preventDefault(),q.scrollTop+=M.deltaY/_b(),q.scrollLeft+=M.deltaX/_b(),R(),w=!0,Sc(()=>{w=!1})}}}function _(M){if(n||E(M.target)||M.contentRect.height===a.value)return;a.value=M.contentRect.height;const{onResize:A}=e;A!==void 0&&A(M)}function R(){const{value:M}=i;M!=null&&(d.value=M.scrollTop,u=M.scrollLeft)}function E(M){let A=M;for(;A!==null;){if(A.style.display==="none")return!0;A=A.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:L(()=>{const{itemResizable:M}=e,A=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:M?"":A,minHeight:M?A:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:L(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:p,listElRef:i,itemsElRef:N(null),scrollTo:h,handleListResize:_,handleListScroll:x,handleListWheel:C,handleItemResize:k}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return v(lr,{onResize:this.handleListResize},{default:()=>{var r,i;return v("div",Dn(this.$attrs,{class:["v-vl",this.showScrollbar&&"v-vl--show-scrollbar"],onScroll:this.handleListScroll,onWheel:this.handleListWheel,ref:"listElRef"}),[this.items.length!==0?v("div",{ref:"itemsElRef",class:"v-vl-items",style:this.itemsStyle},[v(o,Object.assign({class:"v-vl-visible-items",style:this.visibleItemsStyle},this.visibleItemsProps),{default:()=>this.viewportItems.map(a=>{const s=a[t],l=n.get(s),c=this.$slots.default({item:a,index:l})[0];return e?v(lr,{key:s,onResize:u=>this.handleItemResize(s,u)},{default:()=>c}):(c.key=s,c)})})]):(i=(r=this.$slots).empty)===null||i===void 0?void 0:i.call(r)])}})}}),er="v-hidden",k8=zr("[v-hidden]",{display:"none!important"}),ah=me({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=N(null),o=N(null);function r(a){const{value:s}=n,{getCounter:l,getTail:c}=e;let u;if(l!==void 0?u=l():u=o.value,!s||!u)return;u.hasAttribute(er)&&u.removeAttribute(er);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const k of d)k.hasAttribute(er)&&k.removeAttribute(er);const f=s.offsetWidth,p=[],h=t.tail?c==null?void 0:c():null;let g=h?h.offsetWidth:0,b=!1;const m=s.children.length-(t.tail?1:0);for(let k=0;kf){const{updateCounter:x}=e;for(let C=k;C>=0;--C){const _=m-1-C;x!==void 0?x(_):u.textContent=`${_}`;const R=u.offsetWidth;if(g-=p[C],g+R<=f||C===0){b=!0,k=C-1,h&&(k===-1?(h.style.maxWidth=`${f-R}px`,h.style.boxSizing="border-box"):h.style.maxWidth="");const{onUpdateCount:E}=e;E&&E(_);break}}}}const{onUpdateOverflow:y}=e;b?y!==void 0&&y(!0):(y!==void 0&&y(!1),u.setAttribute(er,""))}const i=Mi();return k8.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Ap,ssr:i}),Lt(()=>r({showAllItemsBeforeCalculate:!1})),{selfRef:n,counterRef:o,sync:r}},render(){const{$slots:e}=this;return Ht(()=>this.sync({showAllItemsBeforeCalculate:!1})),v("div",{class:"v-overflow",ref:"selfRef"},[Yc(e,"default"),e.counter?e.counter():v("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function ow(e){return e instanceof HTMLElement}function rw(e){for(let t=0;t=0;t--){const n=e.childNodes[t];if(ow(n)&&(aw(n)||iw(n)))return!0}return!1}function aw(e){if(!T8(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function T8(e){if(e.tabIndex>0||e.tabIndex===0&&e.getAttribute("tabIndex")!==null)return!0;if(e.getAttribute("disabled"))return!1;switch(e.nodeName){case"A":return!!e.href&&e.rel!=="ignore";case"INPUT":return e.type!=="hidden"&&e.type!=="file";case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}}let rs=[];const zp=me({name:"FocusTrap",props:{disabled:Boolean,active:Boolean,autoFocus:{type:Boolean,default:!0},onEsc:Function,initialFocusTo:String,finalFocusTo:String,returnFocusOnDeactivated:{type:Boolean,default:!0}},setup(e){const t=Ii(),n=N(null),o=N(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return rs[rs.length-1]===t}function l(b){var m;b.code==="Escape"&&s()&&((m=e.onEsc)===null||m===void 0||m.call(e,b))}Lt(()=>{ht(()=>e.active,b=>{b?(d(),Mt("keydown",document,l)):(Tt("keydown",document,l),r&&f())},{immediate:!0})}),rn(()=>{Tt("keydown",document,l),r&&f()});function c(b){if(!i&&s()){const m=u();if(m===null||m.contains(wi(b)))return;p("first")}}function u(){const b=n.value;if(b===null)return null;let m=b;for(;m=m.nextSibling,!(m===null||m instanceof Element&&m.tagName==="DIV"););return m}function d(){var b;if(!e.disabled){if(rs.push(t),e.autoFocus){const{initialFocusTo:m}=e;m===void 0?p("first"):(b=ub(m))===null||b===void 0||b.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var b;if(e.disabled||(document.removeEventListener("focus",c,!0),rs=rs.filter(y=>y!==t),s()))return;const{finalFocusTo:m}=e;m!==void 0?(b=ub(m))===null||b===void 0||b.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function p(b){if(s()&&e.active){const m=n.value,y=o.value;if(m!==null&&y!==null){const k=u();if(k==null||k===y){i=!0,m.focus({preventScroll:!0}),i=!1;return}i=!0;const S=b==="first"?rw(k):iw(k);i=!1,S||(i=!0,m.focus({preventScroll:!0}),i=!1)}}}function h(b){if(i)return;const m=u();m!==null&&(b.relatedTarget!==null&&m.contains(b.relatedTarget)?p("last"):p("first"))}function g(b){i||(b.relatedTarget!==null&&b.relatedTarget===n.value?p("last"):p("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:h,handleEndFocus:g}},render(){const{default:e}=this.$slots;if(e===void 0)return null;if(this.disabled)return e();const{active:t,focusableStyle:n}=this;return v(it,null,[v("div",{"aria-hidden":"true",tabindex:t?"0":"-1",ref:"focusableStartRef",style:n,onFocus:this.handleStartFocus}),e(),v("div",{"aria-hidden":"true",style:n,ref:"focusableEndRef",tabindex:t?"0":"-1",onFocus:this.handleEndFocus})])}});function sw(e,t){t&&(Lt(()=>{const{value:n}=e;n&&Tc.registerHandler(n,t)}),rn(()=>{const{value:n}=e;n&&Tc.unregisterHandler(n)}))}let Qi=0,Sb="",kb="",Tb="",Pb="";const sh=N("0px");function lw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Sb,t.style.overflow=kb,t.style.overflowX=Tb,t.style.overflowY=Pb,sh.value="0px"};Lt(()=>{n=ht(e,i=>{if(i){if(!Qi){const a=window.innerWidth-t.offsetWidth;a>0&&(Sb=t.style.marginRight,t.style.marginRight=`${a}px`,sh.value=`${a}px`),kb=t.style.overflow,Tb=t.style.overflowX,Pb=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,Qi++}else Qi--,Qi||r(),o=!1},{immediate:!0})}),rn(()=>{n==null||n(),o&&(Qi--,Qi||r(),o=!1)})}const Op=N(!1),Rb=()=>{Op.value=!0},Eb=()=>{Op.value=!1};let is=0;const cw=()=>(ur&&(cn(()=>{is||(window.addEventListener("compositionstart",Rb),window.addEventListener("compositionend",Eb)),is++}),rn(()=>{is<=1?(window.removeEventListener("compositionstart",Rb),window.removeEventListener("compositionend",Eb),is=0):is--})),Op);function Dp(e){const t={isDeactivated:!1};let n=!1;return Kh(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),Kc(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function $b(e){return e.nodeName==="#document"}const P8=(e,t)=>{if(!e)return;const n=document.createElement("a");n.href=e,t!==void 0&&(n.download=t),document.body.appendChild(n),n.click(),document.body.removeChild(n)},Ab="n-form-item";function dr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=qe(Ab,null);lt(Ab,null);const i=L(n?()=>n(r):()=>{const{size:l}=e;if(l)return l;if(r){const{mergedSize:c}=r;if(c.value!==void 0)return c.value}return t}),a=L(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=L(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return rn(()=>{r&&r.restoreValidation()}),{mergedSizeRef:i,mergedDisabledRef:a,mergedStatusRef:s,nTriggerFormBlur(){r&&r.handleContentBlur()},nTriggerFormChange(){r&&r.handleContentChange()},nTriggerFormFocus(){r&&r.handleContentFocus()},nTriggerFormInput(){r&&r.handleContentInput()}}}var R8=typeof global=="object"&&global&&global.Object===Object&&global;const uw=R8;var E8=typeof self=="object"&&self&&self.Object===Object&&self,$8=uw||E8||Function("return this")();const So=$8;var A8=So.Symbol;const Br=A8;var dw=Object.prototype,I8=dw.hasOwnProperty,M8=dw.toString,as=Br?Br.toStringTag:void 0;function z8(e){var t=I8.call(e,as),n=e[as];try{e[as]=void 0;var o=!0}catch{}var r=M8.call(e);return o&&(t?e[as]=n:delete e[as]),r}var O8=Object.prototype,D8=O8.toString;function L8(e){return D8.call(e)}var F8="[object Null]",N8="[object Undefined]",Ib=Br?Br.toStringTag:void 0;function zi(e){return e==null?e===void 0?N8:F8:Ib&&Ib in Object(e)?z8(e):L8(e)}function Hr(e){return e!=null&&typeof e=="object"}var B8="[object Symbol]";function wu(e){return typeof e=="symbol"||Hr(e)&&zi(e)==B8}function fw(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n0){if(++t>=wI)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function TI(e){return function(){return e}}var PI=function(){try{var e=Di(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Pc=PI;var RI=Pc?function(e,t){return Pc(e,"toString",{configurable:!0,enumerable:!1,value:TI(t),writable:!0})}:Lp;const EI=RI;var $I=kI(EI);const AI=$I;var II=9007199254740991,MI=/^(?:0|[1-9]\d*)$/;function Np(e,t){var n=typeof e;return t=t??II,!!t&&(n=="number"||n!="symbol"&&MI.test(e))&&e>-1&&e%1==0&&e-1&&e%1==0&&e<=BI}function Na(e){return e!=null&&Hp(e.length)&&!Fp(e)}function HI(e,t,n){if(!qo(n))return!1;var o=typeof t;return(o=="number"?Na(n)&&Np(t,n.length):o=="string"&&t in n)?rl(n[t],e):!1}function jI(e){return NI(function(t,n){var o=-1,r=n.length,i=r>1?n[r-1]:void 0,a=r>2?n[2]:void 0;for(i=e.length>3&&typeof i=="function"?(r--,i):void 0,a&&HI(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o-1}function iz(e,t){var n=this.__data__,o=_u(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++tr?0:r+t),n=n>r?r:n,n<0&&(n+=r),r=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(r);++o=o?e:Ez(e,t,n)}var Az="\\ud800-\\udfff",Iz="\\u0300-\\u036f",Mz="\\ufe20-\\ufe2f",zz="\\u20d0-\\u20ff",Oz=Iz+Mz+zz,Dz="\\ufe0e\\ufe0f",Lz="\\u200d",Fz=RegExp("["+Lz+Az+Oz+Dz+"]");function kw(e){return Fz.test(e)}function Nz(e){return e.split("")}var Tw="\\ud800-\\udfff",Bz="\\u0300-\\u036f",Hz="\\ufe20-\\ufe2f",jz="\\u20d0-\\u20ff",Vz=Bz+Hz+jz,Uz="\\ufe0e\\ufe0f",Wz="["+Tw+"]",uh="["+Vz+"]",dh="\\ud83c[\\udffb-\\udfff]",qz="(?:"+uh+"|"+dh+")",Pw="[^"+Tw+"]",Rw="(?:\\ud83c[\\udde6-\\uddff]){2}",Ew="[\\ud800-\\udbff][\\udc00-\\udfff]",Kz="\\u200d",$w=qz+"?",Aw="["+Uz+"]?",Gz="(?:"+Kz+"(?:"+[Pw,Rw,Ew].join("|")+")"+Aw+$w+")*",Yz=Aw+$w+Gz,Xz="(?:"+[Pw+uh+"?",uh,Rw,Ew,Wz].join("|")+")",Zz=RegExp(dh+"(?="+dh+")|"+Xz+Yz,"g");function Jz(e){return e.match(Zz)||[]}function Qz(e){return kw(e)?Jz(e):Nz(e)}function eO(e){return function(t){t=Si(t);var n=kw(t)?Qz(t):void 0,o=n?n[0]:t.charAt(0),r=n?$z(n,1).join(""):t.slice(1);return o[e]()+r}}var tO=eO("toUpperCase");const Iw=tO;function nO(e){return Iw(Si(e).toLowerCase())}function oO(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++rs))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,p=n&$D?new Ac:void 0;for(i.set(e,t),i.set(t,e);++d{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Pa,ssr:a}),s!=null&&s.preflightStyleDisabled||r_.mount({id:"n-global",head:!0,anchorMetaName:Pa,ssr:a})};a?c():cn(c)}return L(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:g,peers:b}=p,{common:m=void 0,[e]:{common:y=void 0,self:k=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:C,peers:_={}}=x,R=us({},u||y||m||o.common,w,C,g),E=us((c=d||k||o.self)===null||c===void 0?void 0:c(R),h,x,p);return{common:R,self:E,peers:us({},o.peers,S,f),peerOverrides:us({},h.peers,_,b)}})}He.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const qs="n";function at(e={},t={defaultBordered:!0}){const n=qe(wo,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:L(()=>{var o,r;const{bordered:i}=e;return i!==void 0?i:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Aa(qs),namespaceRef:L(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function i_(){const e=qe(wo,null);return e?e.mergedClsPrefixRef:Aa(qs)}const ML={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},zL=ML,OL={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},DL=OL,LL={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},a_=LL,FL={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},NL=FL,BL={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},HL=BL,jL={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"yyyy-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},VL=jL,UL={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"yyyy-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},WL=UL;var qL={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},KL=function(t,n,o){var r,i=qL[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+"内":r+"前":r};const GL=KL;function On(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var YL={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},XL={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},ZL={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},JL={date:On({formats:YL,defaultWidth:"full"}),time:On({formats:XL,defaultWidth:"full"}),dateTime:On({formats:ZL,defaultWidth:"full"})};const QL=JL;function Gp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function vh(e){"@babel/helpers - typeof";return vh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vh(e)}function e9(e){Gp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||vh(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function t9(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var n9={};function o9(){return n9}function d0(e,t){var n,o,r,i,a,s,l,c;Gp(1,arguments);var u=o9(),d=t9((n=(o=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&r!==void 0?r:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=e9(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var i9={lastWeek:f0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:f0,other:"PP p"},a9=function(t,n,o,r){var i=i9[t];return typeof i=="function"?i(n,o,r):i};const s9=a9;function Jt(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var l9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},c9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},u9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},d9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},f9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},h9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},p9=function(t,n){var o=Number(t);switch(n==null?void 0:n.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},m9={ordinalNumber:p9,era:Jt({values:l9,defaultWidth:"wide"}),quarter:Jt({values:c9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:u9,defaultWidth:"wide"}),day:Jt({values:d9,defaultWidth:"wide"}),dayPeriod:Jt({values:f9,defaultWidth:"wide",formattingValues:h9,defaultFormattingWidth:"wide"})};const g9=m9;function Qt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?b9(s,function(d){return d.test(a)}):v9(s,function(d){return d.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function v9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function b9(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var r=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(r.length);return{value:a,rest:s}}}var y9=/^(第\s*)?\d+(日|时|分|秒)?/i,x9=/\d+/i,C9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},w9={any:[/^(前)/i,/^(公元)/i]},_9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},S9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},k9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},T9={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},P9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},R9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},E9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},$9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},A9={ordinalNumber:il({matchPattern:y9,parsePattern:x9,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:C9,defaultMatchWidth:"wide",parsePatterns:w9,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:_9,defaultMatchWidth:"wide",parsePatterns:S9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:k9,defaultMatchWidth:"wide",parsePatterns:T9,defaultParseWidth:"any"}),day:Qt({matchPatterns:P9,defaultMatchWidth:"wide",parsePatterns:R9,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:E9,defaultMatchWidth:"any",parsePatterns:$9,defaultParseWidth:"any"})};const I9=A9;var M9={code:"zh-CN",formatDistance:GL,formatLong:QL,formatRelative:s9,localize:g9,match:I9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const s_=M9,z9={name:"zh-CN",locale:s_},h0=z9;var O9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},D9=function(t,n,o){var r,i=O9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r};const L9=D9;var F9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},N9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},B9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},H9={date:On({formats:F9,defaultWidth:"full"}),time:On({formats:N9,defaultWidth:"full"}),dateTime:On({formats:B9,defaultWidth:"full"})};const j9=H9;var V9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},U9=function(t,n,o,r){return V9[t]};const W9=U9;var q9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},K9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},G9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Y9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},X9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Z9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},J9=function(t,n){var o=Number(t),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},Q9={ordinalNumber:J9,era:Jt({values:q9,defaultWidth:"wide"}),quarter:Jt({values:K9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:G9,defaultWidth:"wide"}),day:Jt({values:Y9,defaultWidth:"wide"}),dayPeriod:Jt({values:X9,defaultWidth:"wide",formattingValues:Z9,defaultFormattingWidth:"wide"})};const eF=Q9;var tF=/^(\d+)(th|st|nd|rd)?/i,nF=/\d+/i,oF={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},rF={any:[/^b/i,/^(a|c)/i]},iF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},aF={any:[/1/i,/2/i,/3/i,/4/i]},sF={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},lF={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},cF={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},uF={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},dF={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},fF={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},hF={ordinalNumber:il({matchPattern:tF,parsePattern:nF,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:oF,defaultMatchWidth:"wide",parsePatterns:rF,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:iF,defaultMatchWidth:"wide",parsePatterns:aF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:sF,defaultMatchWidth:"wide",parsePatterns:lF,defaultParseWidth:"any"}),day:Qt({matchPatterns:cF,defaultMatchWidth:"wide",parsePatterns:uF,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:dF,defaultMatchWidth:"any",parsePatterns:fF,defaultParseWidth:"any"})};const pF=hF;var mF={code:"en-US",formatDistance:L9,formatLong:j9,formatRelative:W9,localize:eF,match:pF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const gF=mF,vF={name:"en-US",locale:gF},l_=vF;var bF={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},yF=function(t,n,o){o=o||{};var r,i=bF[t];return typeof i=="string"?r=i:n===1?o.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:o.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(n)):r=i.other.replace("{{count}}",String(n)),o.addSuffix?o.comparison&&o.comparison>0?r+"後":r+"前":r};const xF=yF;var CF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},wF={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},_F={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},SF={date:On({formats:CF,defaultWidth:"full"}),time:On({formats:wF,defaultWidth:"full"}),dateTime:On({formats:_F,defaultWidth:"full"})};const kF=SF;var TF={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},PF=function(t,n,o,r){return TF[t]};const RF=PF;var EF={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},$F={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},AF={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},IF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},MF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},zF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},OF=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"year":return"".concat(o,"年");case"quarter":return"第".concat(o,"四半期");case"month":return"".concat(o,"月");case"week":return"第".concat(o,"週");case"date":return"".concat(o,"日");case"hour":return"".concat(o,"時");case"minute":return"".concat(o,"分");case"second":return"".concat(o,"秒");default:return"".concat(o)}},DF={ordinalNumber:OF,era:Jt({values:EF,defaultWidth:"wide"}),quarter:Jt({values:$F,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Jt({values:AF,defaultWidth:"wide"}),day:Jt({values:IF,defaultWidth:"wide"}),dayPeriod:Jt({values:MF,defaultWidth:"wide",formattingValues:zF,defaultFormattingWidth:"wide"})};const LF=DF;var FF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,NF=/\d+/i,BF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},HF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},jF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},VF={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},UF={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},WF={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},qF={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},KF={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},GF={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},YF={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},XF={ordinalNumber:il({matchPattern:FF,parsePattern:NF,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:BF,defaultMatchWidth:"wide",parsePatterns:HF,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:jF,defaultMatchWidth:"wide",parsePatterns:VF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:UF,defaultMatchWidth:"wide",parsePatterns:WF,defaultParseWidth:"any"}),day:Qt({matchPatterns:qF,defaultMatchWidth:"wide",parsePatterns:KF,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:GF,defaultMatchWidth:"any",parsePatterns:YF,defaultParseWidth:"any"})};const ZF=XF;var JF={code:"ja",formatDistance:xF,formatLong:kF,formatRelative:RF,localize:LF,match:ZF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const QF=JF,e7={name:"ja-JP",locale:QF},t7=e7;var n7={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},o7=function(t,n,o){var r,i=n7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" 후":r+" 전":r};const r7=o7;var i7={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},a7={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},s7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},l7={date:On({formats:i7,defaultWidth:"full"}),time:On({formats:a7,defaultWidth:"full"}),dateTime:On({formats:s7,defaultWidth:"full"})};const c7=l7;var u7={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},d7=function(t,n,o,r){return u7[t]};const f7=d7;var h7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},p7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},m7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},g7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},v7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},b7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},y7=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"minute":case"second":return String(o);case"date":return o+"일";default:return o+"번째"}},x7={ordinalNumber:y7,era:Jt({values:h7,defaultWidth:"wide"}),quarter:Jt({values:p7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:m7,defaultWidth:"wide"}),day:Jt({values:g7,defaultWidth:"wide"}),dayPeriod:Jt({values:v7,defaultWidth:"wide",formattingValues:b7,defaultFormattingWidth:"wide"})};const C7=x7;var w7=/^(\d+)(일|번째)?/i,_7=/\d+/i,S7={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},k7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},T7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},P7={any:[/1/i,/2/i,/3/i,/4/i]},R7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},E7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},$7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},A7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},I7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},M7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},z7={ordinalNumber:il({matchPattern:w7,parsePattern:_7,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:S7,defaultMatchWidth:"wide",parsePatterns:k7,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:T7,defaultMatchWidth:"wide",parsePatterns:P7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:R7,defaultMatchWidth:"wide",parsePatterns:E7,defaultParseWidth:"any"}),day:Qt({matchPatterns:$7,defaultMatchWidth:"wide",parsePatterns:A7,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:I7,defaultMatchWidth:"any",parsePatterns:M7,defaultParseWidth:"any"})};const O7=z7;var D7={code:"ko",formatDistance:r7,formatLong:c7,formatRelative:f7,localize:C7,match:O7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const L7=D7,F7={name:"ko-KR",locale:L7},N7=F7;var B7={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},H7=function(t,n,o){var r,i=B7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" nữa":r+" trước":r};const j7=H7;var V7={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},U7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},W7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},q7={date:On({formats:V7,defaultWidth:"full"}),time:On({formats:U7,defaultWidth:"full"}),dateTime:On({formats:W7,defaultWidth:"full"})};const K7=q7;var G7={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},Y7=function(t,n,o,r){return G7[t]};const X7=Y7;var Z7={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},J7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},Q7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},eN={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},tN={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},nN={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},oN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},rN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},iN=function(t,n){var o=Number(t),r=n==null?void 0:n.unit;if(r==="quarter")switch(o){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(r==="day")switch(o){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(r==="week")return o===1?"thứ nhất":"thứ "+o;if(r==="dayOfYear")return o===1?"đầu tiên":"thứ "+o}return String(o)},aN={ordinalNumber:iN,era:Jt({values:Z7,defaultWidth:"wide"}),quarter:Jt({values:J7,defaultWidth:"wide",formattingValues:Q7,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:eN,defaultWidth:"wide",formattingValues:tN,defaultFormattingWidth:"wide"}),day:Jt({values:nN,defaultWidth:"wide"}),dayPeriod:Jt({values:oN,defaultWidth:"wide",formattingValues:rN,defaultFormattingWidth:"wide"})};const sN=aN;var lN=/^(\d+)/i,cN=/\d+/i,uN={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},dN={any:[/^t/i,/^s/i]},fN={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},hN={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},pN={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},mN={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},gN={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},vN={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},bN={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},yN={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},xN={ordinalNumber:il({matchPattern:lN,parsePattern:cN,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:uN,defaultMatchWidth:"wide",parsePatterns:dN,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:fN,defaultMatchWidth:"wide",parsePatterns:hN,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:pN,defaultMatchWidth:"wide",parsePatterns:mN,defaultParseWidth:"wide"}),day:Qt({matchPatterns:gN,defaultMatchWidth:"wide",parsePatterns:vN,defaultParseWidth:"wide"}),dayPeriod:Qt({matchPatterns:bN,defaultMatchWidth:"wide",parsePatterns:yN,defaultParseWidth:"any"})};const CN=xN;var wN={code:"vi",formatDistance:j7,formatLong:K7,formatRelative:X7,localize:sN,match:CN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const _N=wN,SN={name:"vi-VN",locale:_N},kN=SN,TN={name:"fa-IR",locale:s_},PN=TN;function Li(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=qe(wo,null)||{},o=L(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:a_[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:l_}),localeRef:o}}function Yr(e,t,n){if(!t)return;const o=Mi(),r=qe(wo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Pa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||r_.mount({id:"n-global",head:!0,anchorMetaName:Pa,ssr:o})};o?i():cn(i)}function kt(e,t,n,o){var r;n||Kr("useThemeClass","cssVarsRef is not passed");const i=(r=qe(wo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=N(""),s=Mi();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,p=i==null?void 0:i.value;p&&(d+="-"+p),f&&(d+="-"+f);const{themeOverrides:h,builtinThemeOverrides:g}=o;h&&(d+="-"+Hs(JSON.stringify(h))),g&&(d+="-"+Hs(JSON.stringify(g))),a.value=d,l=()=>{const b=n.value;let m="";for(const y in b)m+=`${y}: ${b[y]};`;W(`.${d}`,m).mount({id:d,ssr:s}),l=void 0}};return tn(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Mi(),r=L(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{tn(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(f6(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:Pa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():cn(i),r}const RN=me({name:"Add",render(){return v("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),EN=me({name:"ArrowDown",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function Ba(e,t){return me({name:Lw(e),setup(){var n;const o=(n=qe(wo,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const p0=me({name:"Backward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),$N=me({name:"Checkmark",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),Yp=me({name:"ChevronRight",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),AN=Ba("close",v("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),IN=me({name:"Eye",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),v("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),MN=me({name:"EyeOff",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),v("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),v("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),v("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),v("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),zN=me({name:"Empty",render(){return v("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),v("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Fi=Ba("error",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),m0=me({name:"FastBackward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),g0=me({name:"FastForward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),ON=me({name:"Filter",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),v0=me({name:"Forward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),jr=Ba("info",v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),b0=me({name:"More",render(){return v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),DN=me({name:"Remove",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` + `)]),wo="n-config-provider",Pa="naive-ui-style";function He(e,t,n,o,r,i){const a=Mi(),s=qe(wo,null);if(n){const c=()=>{const u=i==null?void 0:i.value;n.mount({id:u===void 0?t:u+t,head:!0,props:{bPrefix:u?`.${u}-`:void 0},anchorMetaName:Pa,ssr:a}),s!=null&&s.preflightStyleDisabled||Qw.mount({id:"n-global",head:!0,anchorMetaName:Pa,ssr:a})};a?c():cn(c)}return L(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:p={},builtinThemeOverrides:h={}}=r,{common:g,peers:b}=p,{common:m=void 0,[e]:{common:y=void 0,self:k=void 0,peers:S={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:w=void 0,[e]:x={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:C,peers:_={}}=x,R=us({},u||y||m||o.common,w,C,g),E=us((c=d||k||o.self)===null||c===void 0?void 0:c(R),h,x,p);return{common:R,self:E,peers:us({},o.peers,S,f),peerOverrides:us({},h.peers,_,b)}})}He.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const qs="n";function at(e={},t={defaultBordered:!0}){const n=qe(wo,null);return{inlineThemeDisabled:n==null?void 0:n.inlineThemeDisabled,mergedRtlRef:n==null?void 0:n.mergedRtlRef,mergedComponentPropsRef:n==null?void 0:n.mergedComponentPropsRef,mergedBreakpointsRef:n==null?void 0:n.mergedBreakpointsRef,mergedBorderedRef:L(()=>{var o,r;const{bordered:i}=e;return i!==void 0?i:(r=(o=n==null?void 0:n.mergedBorderedRef.value)!==null&&o!==void 0?o:t.defaultBordered)!==null&&r!==void 0?r:!0}),mergedClsPrefixRef:n?n.mergedClsPrefixRef:Aa(qs),namespaceRef:L(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function e_(){const e=qe(wo,null);return e?e.mergedClsPrefixRef:Aa(qs)}const zL={name:"zh-CN",global:{undo:"撤销",redo:"重做",confirm:"确认",clear:"清除"},Popconfirm:{positiveText:"确认",negativeText:"取消"},Cascader:{placeholder:"请选择",loading:"加载中",loadingRequiredMessage:e=>`加载全部 ${e} 的子节点后才可选中`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w周",clear:"清除",now:"此刻",confirm:"确认",selectTime:"选择时间",selectDate:"选择日期",datePlaceholder:"选择日期",datetimePlaceholder:"选择日期时间",monthPlaceholder:"选择月份",yearPlaceholder:"选择年份",quarterPlaceholder:"选择季度",weekPlaceholder:"选择周",startDatePlaceholder:"开始日期",endDatePlaceholder:"结束日期",startDatetimePlaceholder:"开始日期时间",endDatetimePlaceholder:"结束日期时间",startMonthPlaceholder:"开始月份",endMonthPlaceholder:"结束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"选择全部表格数据",uncheckTableAll:"取消选择全部表格数据",confirm:"确认",clear:"重置"},LegacyTransfer:{sourceTitle:"源项",targetTitle:"目标项"},Transfer:{selectAll:"全选",clearAll:"清除",unselectAll:"取消全选",total:e=>`共 ${e} 项`,selected:e=>`已选 ${e} 项`},Empty:{description:"无数据"},Select:{placeholder:"请选择"},TimePicker:{placeholder:"请选择时间",positiveText:"确认",negativeText:"取消",now:"此刻",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"页"},DynamicTags:{add:"添加"},Log:{loading:"加载中"},Input:{placeholder:"请输入"},InputNumber:{placeholder:"请输入"},DynamicInput:{create:"添加"},ThemeEditor:{title:"主题编辑器",clearAllVars:"清除全部变量",clearSearch:"清除搜索",filterCompName:"过滤组件名",filterVarName:"过滤变量名",import:"导入",export:"导出",restore:"恢复默认"},Image:{tipPrevious:"上一张(←)",tipNext:"下一张(→)",tipCounterclockwise:"向左旋转",tipClockwise:"向右旋转",tipZoomOut:"缩小",tipZoomIn:"放大",tipDownload:"下载",tipClose:"关闭(Esc)",tipOriginalSize:"缩放到原始尺寸"}},OL=zL,DL={name:"zh-TW",global:{undo:"復原",redo:"重做",confirm:"確定",clear:"清除"},Popconfirm:{positiveText:"確定",negativeText:"取消"},Cascader:{placeholder:"請選擇",loading:"載入中",loadingRequiredMessage:e=>`載入全部 ${e} 的子節點後才可選擇`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy 年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"清除",now:"現在",confirm:"確定",selectTime:"選擇時間",selectDate:"選擇日期",datePlaceholder:"選擇日期",datetimePlaceholder:"選擇日期時間",monthPlaceholder:"選擇月份",yearPlaceholder:"選擇年份",quarterPlaceholder:"選擇季度",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日期",endDatePlaceholder:"結束日期",startDatetimePlaceholder:"開始日期時間",endDatetimePlaceholder:"結束日期時間",startMonthPlaceholder:"開始月份",endMonthPlaceholder:"結束月份",monthBeforeYear:!1,firstDayOfWeek:0,today:"今天"},DataTable:{checkTableAll:"選擇全部表格資料",uncheckTableAll:"取消選擇全部表格資料",confirm:"確定",clear:"重設"},LegacyTransfer:{sourceTitle:"來源",targetTitle:"目標"},Transfer:{selectAll:"全選",unselectAll:"取消全選",clearAll:"清除全部",total:e=>`共 ${e} 項`,selected:e=>`已選 ${e} 項`},Empty:{description:"無資料"},Select:{placeholder:"請選擇"},TimePicker:{placeholder:"請選擇時間",positiveText:"確定",negativeText:"取消",now:"現在",clear:"清除"},Pagination:{goto:"跳至",selectionSuffix:"頁"},DynamicTags:{add:"新增"},Log:{loading:"載入中"},Input:{placeholder:"請輸入"},InputNumber:{placeholder:"請輸入"},DynamicInput:{create:"新增"},ThemeEditor:{title:"主題編輯器",clearAllVars:"清除全部變數",clearSearch:"清除搜尋",filterCompName:"過濾組件名稱",filterVarName:"過濾變數名稱",import:"匯入",export:"匯出",restore:"恢復預設"},Image:{tipPrevious:"上一張(←)",tipNext:"下一張(→)",tipCounterclockwise:"向左旋轉",tipClockwise:"向右旋轉",tipZoomOut:"縮小",tipZoomIn:"放大",tipDownload:"下載",tipClose:"關閉(Esc)",tipOriginalSize:"縮放到原始尺寸"}},LL=DL,FL={name:"en-US",global:{undo:"Undo",redo:"Redo",confirm:"Confirm",clear:"Clear"},Popconfirm:{positiveText:"Confirm",negativeText:"Cancel"},Cascader:{placeholder:"Please Select",loading:"Loading",loadingRequiredMessage:e=>`Please load all ${e}'s descendants before checking it.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"Clear",now:"Now",confirm:"Confirm",selectTime:"Select Time",selectDate:"Select Date",datePlaceholder:"Select Date",datetimePlaceholder:"Select Date and Time",monthPlaceholder:"Select Month",yearPlaceholder:"Select Year",quarterPlaceholder:"Select Quarter",weekPlaceholder:"Select Week",startDatePlaceholder:"Start Date",endDatePlaceholder:"End Date",startDatetimePlaceholder:"Start Date and Time",endDatetimePlaceholder:"End Date and Time",startMonthPlaceholder:"Start Month",endMonthPlaceholder:"End Month",monthBeforeYear:!0,firstDayOfWeek:6,today:"Today"},DataTable:{checkTableAll:"Select all in the table",uncheckTableAll:"Unselect all in the table",confirm:"Confirm",clear:"Clear"},LegacyTransfer:{sourceTitle:"Source",targetTitle:"Target"},Transfer:{selectAll:"Select all",unselectAll:"Unselect all",clearAll:"Clear",total:e=>`Total ${e} items`,selected:e=>`${e} items selected`},Empty:{description:"No Data"},Select:{placeholder:"Please Select"},TimePicker:{placeholder:"Select Time",positiveText:"OK",negativeText:"Cancel",now:"Now",clear:"Clear"},Pagination:{goto:"Goto",selectionSuffix:"page"},DynamicTags:{add:"Add"},Log:{loading:"Loading"},Input:{placeholder:"Please Input"},InputNumber:{placeholder:"Please Input"},DynamicInput:{create:"Create"},ThemeEditor:{title:"Theme Editor",clearAllVars:"Clear All Variables",clearSearch:"Clear Search",filterCompName:"Filter Component Name",filterVarName:"Filter Variable Name",import:"Import",export:"Export",restore:"Reset to Default"},Image:{tipPrevious:"Previous picture (←)",tipNext:"Next picture (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Clockwise",tipZoomOut:"Zoom out",tipZoomIn:"Zoom in",tipDownload:"Download",tipClose:"Close (Esc)",tipOriginalSize:"Zoom to original size"}},t_=FL,NL={name:"ja-JP",global:{undo:"元に戻す",redo:"やり直す",confirm:"OK",clear:"クリア"},Popconfirm:{positiveText:"OK",negativeText:"キャンセル"},Cascader:{placeholder:"選択してください",loading:"ロード中",loadingRequiredMessage:e=>`すべての ${e} サブノードをロードしてから選択できます。`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy年",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"クリア",now:"現在",confirm:"OK",selectTime:"時間を選択",selectDate:"日付を選択",datePlaceholder:"日付を選択",datetimePlaceholder:"選択",monthPlaceholder:"月を選択",yearPlaceholder:"年を選択",quarterPlaceholder:"四半期を選択",weekPlaceholder:"Select Week",startDatePlaceholder:"開始日",endDatePlaceholder:"終了日",startDatetimePlaceholder:"開始時間",endDatetimePlaceholder:"終了時間",startMonthPlaceholder:"開始月",endMonthPlaceholder:"終了月",monthBeforeYear:!1,firstDayOfWeek:0,today:"今日"},DataTable:{checkTableAll:"全選択",uncheckTableAll:"全選択取消",confirm:"OK",clear:"リセット"},LegacyTransfer:{sourceTitle:"元",targetTitle:"先"},Transfer:{selectAll:"全選択",unselectAll:"全選択取消",clearAll:"リセット",total:e=>`合計 ${e} 項目`,selected:e=>`${e} 個の項目を選択`},Empty:{description:"データなし"},Select:{placeholder:"選択してください"},TimePicker:{placeholder:"選択してください",positiveText:"OK",negativeText:"キャンセル",now:"現在",clear:"クリア"},Pagination:{goto:"ページジャンプ",selectionSuffix:"ページ"},DynamicTags:{add:"追加"},Log:{loading:"ロード中"},Input:{placeholder:"入力してください"},InputNumber:{placeholder:"入力してください"},DynamicInput:{create:"追加"},ThemeEditor:{title:"テーマエディタ",clearAllVars:"全件変数クリア",clearSearch:"検索クリア",filterCompName:"コンポネント名をフィルタ",filterVarName:"変数をフィルタ",import:"インポート",export:"エクスポート",restore:"デフォルト"},Image:{tipPrevious:"前の画像 (←)",tipNext:"次の画像 (→)",tipCounterclockwise:"左に回転",tipClockwise:"右に回転",tipZoomOut:"縮小",tipZoomIn:"拡大",tipDownload:"ダウンロード",tipClose:"閉じる (Esc)",tipOriginalSize:"元のサイズに戻す"}},BL=NL,HL={name:"ko-KR",global:{undo:"실행 취소",redo:"다시 실행",confirm:"확인",clear:"지우기"},Popconfirm:{positiveText:"확인",negativeText:"취소"},Cascader:{placeholder:"선택해 주세요",loading:"불러오는 중",loadingRequiredMessage:e=>`${e}의 모든 하위 항목을 불러온 뒤에 선택할 수 있습니다.`},Time:{dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss"},DatePicker:{yearFormat:"yyyy년",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"yyyy-MM",dateFormat:"yyyy-MM-dd",dateTimeFormat:"yyyy-MM-dd HH:mm:ss",quarterFormat:"yyyy-qqq",weekFormat:"yyyy-w",clear:"지우기",now:"현재",confirm:"확인",selectTime:"시간 선택",selectDate:"날짜 선택",datePlaceholder:"날짜 선택",datetimePlaceholder:"날짜 및 시간 선택",monthPlaceholder:"월 선택",yearPlaceholder:"년 선택",quarterPlaceholder:"분기 선택",weekPlaceholder:"Select Week",startDatePlaceholder:"시작 날짜",endDatePlaceholder:"종료 날짜",startDatetimePlaceholder:"시작 날짜 및 시간",endDatetimePlaceholder:"종료 날짜 및 시간",startMonthPlaceholder:"시작 월",endMonthPlaceholder:"종료 월",monthBeforeYear:!1,firstDayOfWeek:6,today:"오늘"},DataTable:{checkTableAll:"모두 선택",uncheckTableAll:"모두 선택 해제",confirm:"확인",clear:"지우기"},LegacyTransfer:{sourceTitle:"원본",targetTitle:"타깃"},Transfer:{selectAll:"전체 선택",unselectAll:"전체 해제",clearAll:"전체 삭제",total:e=>`총 ${e} 개`,selected:e=>`${e} 개 선택`},Empty:{description:"데이터 없음"},Select:{placeholder:"선택해 주세요"},TimePicker:{placeholder:"시간 선택",positiveText:"확인",negativeText:"취소",now:"현재 시간",clear:"지우기"},Pagination:{goto:"이동",selectionSuffix:"페이지"},DynamicTags:{add:"추가"},Log:{loading:"불러오는 중"},Input:{placeholder:"입력해 주세요"},InputNumber:{placeholder:"입력해 주세요"},DynamicInput:{create:"추가"},ThemeEditor:{title:"테마 편집기",clearAllVars:"모든 변수 지우기",clearSearch:"검색 지우기",filterCompName:"구성 요소 이름 필터",filterVarName:"변수 이름 필터",import:"가져오기",export:"내보내기",restore:"기본으로 재설정"},Image:{tipPrevious:"이전 (←)",tipNext:"다음 (→)",tipCounterclockwise:"시계 반대 방향으로 회전",tipClockwise:"시계 방향으로 회전",tipZoomOut:"축소",tipZoomIn:"확대",tipDownload:"다운로드",tipClose:"닫기 (Esc)",tipOriginalSize:"원본 크기로 확대"}},jL=HL,VL={name:"vi-VN",global:{undo:"Hoàn tác",redo:"Làm lại",confirm:"Xác nhận",clear:"xóa"},Popconfirm:{positiveText:"Xác nhận",negativeText:"Hủy"},Cascader:{placeholder:"Vui lòng chọn",loading:"Đang tải",loadingRequiredMessage:e=>`Vui lòng tải tất cả thông tin con của ${e} trước.`},Time:{dateFormat:"",dateTimeFormat:"HH:mm:ss dd-MM-yyyy"},DatePicker:{yearFormat:"yyyy",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM-yyyy",dateFormat:"dd-MM-yyyy",dateTimeFormat:"HH:mm:ss dd-MM-yyyy",quarterFormat:"qqq-yyyy",weekFormat:"yyyy-w",clear:"Xóa",now:"Hôm nay",confirm:"Xác nhận",selectTime:"Chọn giờ",selectDate:"Chọn ngày",datePlaceholder:"Chọn ngày",datetimePlaceholder:"Chọn ngày giờ",monthPlaceholder:"Chọn tháng",yearPlaceholder:"Chọn năm",quarterPlaceholder:"Chọn quý",weekPlaceholder:"Select Week",startDatePlaceholder:"Ngày bắt đầu",endDatePlaceholder:"Ngày kết thúc",startDatetimePlaceholder:"Thời gian bắt đầu",endDatetimePlaceholder:"Thời gian kết thúc",startMonthPlaceholder:"Tháng bắt đầu",endMonthPlaceholder:"Tháng kết thúc",monthBeforeYear:!0,firstDayOfWeek:0,today:"Hôm nay"},DataTable:{checkTableAll:"Chọn tất cả có trong bảng",uncheckTableAll:"Bỏ chọn tất cả có trong bảng",confirm:"Xác nhận",clear:"Xóa"},LegacyTransfer:{sourceTitle:"Nguồn",targetTitle:"Đích"},Transfer:{selectAll:"Chọn tất cả",unselectAll:"Bỏ chọn tất cả",clearAll:"Xoá tất cả",total:e=>`Tổng cộng ${e} mục`,selected:e=>`${e} mục được chọn`},Empty:{description:"Không có dữ liệu"},Select:{placeholder:"Vui lòng chọn"},TimePicker:{placeholder:"Chọn thời gian",positiveText:"OK",negativeText:"Hủy",now:"Hiện tại",clear:"Xóa"},Pagination:{goto:"Đi đến trang",selectionSuffix:"trang"},DynamicTags:{add:"Thêm"},Log:{loading:"Đang tải"},Input:{placeholder:"Vui lòng nhập"},InputNumber:{placeholder:"Vui lòng nhập"},DynamicInput:{create:"Tạo"},ThemeEditor:{title:"Tùy chỉnh giao diện",clearAllVars:"Xóa tất cả các biến",clearSearch:"Xóa tìm kiếm",filterCompName:"Lọc tên component",filterVarName:"Lọc tên biến",import:"Nhập",export:"Xuất",restore:"Đặt lại mặc định"},Image:{tipPrevious:"Hình trước (←)",tipNext:"Hình tiếp (→)",tipCounterclockwise:"Counterclockwise",tipClockwise:"Chiều kim đồng hồ",tipZoomOut:"Thu nhỏ",tipZoomIn:"Phóng to",tipDownload:"Tải về",tipClose:"Đóng (Esc)",tipOriginalSize:"Xem kích thước gốc"}},UL=VL,WL={name:"fa-IR",global:{undo:"لغو انجام شده",redo:"انجام دوباره",confirm:"تأیید",clear:"پاک کردن"},Popconfirm:{positiveText:"تأیید",negativeText:"لغو"},Cascader:{placeholder:"لطفا انتخاب کنید",loading:"بارگذاری",loadingRequiredMessage:e=>`پس از بارگیری کامل زیرمجموعه های ${e} می توانید انتخاب کنید `},Time:{dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd، H:mm:ss"},DatePicker:{yearFormat:"yyyy سال",monthFormat:"MMM",dayFormat:"eeeeee",yearTypeFormat:"yyyy",monthTypeFormat:"MM/yyyy",dateFormat:"yyyy/MM/dd",dateTimeFormat:"yyyy/MM/dd HH:mm:ss",quarterFormat:"سه ماهه yyyy",weekFormat:"yyyy-w",clear:"پاک کردن",now:"اکنون",confirm:"تأیید",selectTime:"انتخاب زمان",selectDate:"انتخاب تاریخ",datePlaceholder:"انتخاب تاریخ",datetimePlaceholder:"انتخاب تاریخ و زمان",monthPlaceholder:"انتخاب ماه",yearPlaceholder:"انتخاب سال",quarterPlaceholder:"انتخاب سه‌ماهه",weekPlaceholder:"Select Week",startDatePlaceholder:"تاریخ شروع",endDatePlaceholder:"تاریخ پایان",startDatetimePlaceholder:"زمان شروع",endDatetimePlaceholder:"زمان پایان",startMonthPlaceholder:"ماه شروع",endMonthPlaceholder:"ماه پایان",monthBeforeYear:!1,firstDayOfWeek:6,today:"امروز"},DataTable:{checkTableAll:"انتخاب همه داده‌های جدول",uncheckTableAll:"عدم انتخاب همه داده‌های جدول",confirm:"تأیید",clear:"تنظیم مجدد"},LegacyTransfer:{sourceTitle:"آیتم منبع",targetTitle:"آیتم مقصد"},Transfer:{selectAll:"انتخاب همه",clearAll:"حذف همه",unselectAll:"عدم انتخاب همه",total:e=>`کل ${e} مورد`,selected:e=>`انتخاب شده ${e} مورد`},Empty:{description:"اطلاعاتی وجود ندارد"},Select:{placeholder:"لطفاً انتخاب کنید"},TimePicker:{placeholder:"لطفاً زمان مورد نظر را انتخاب کنید",positiveText:"تأیید",negativeText:"لغو",now:"همین الان",clear:"پاک کردن"},Pagination:{goto:"رفتن به صفحه",selectionSuffix:"صفحه"},DynamicTags:{add:"افزودن"},Log:{loading:"در حال بارگذاری"},Input:{placeholder:"لطفاً وارد کنید"},InputNumber:{placeholder:"لطفاً وارد کنید"},DynamicInput:{create:"افزودن"},ThemeEditor:{title:"ویرایشگر پوسته",clearAllVars:"پاک کردن همه متغیرها",clearSearch:"پاک کردن جستجو",filterCompName:"فیلتر نام کامپوننت",filterVarName:"فیلتر نام متغیر",import:"ورود",export:"خروج",restore:"بازگردانی به حالت پیش‌فرض"},Image:{tipPrevious:"تصویر قبلی (←)",tipNext:"تصویر بعدی (→)",tipCounterclockwise:"چرخش به سمت چپ",tipClockwise:"چرخش به سمت راست",tipZoomOut:"کوچک نمایی تصویر",tipZoomIn:"بزرگ نمایی تصویر",tipDownload:"بارگیری",tipClose:"بستن (Esc)",tipOriginalSize:"اندازه اصلی تصویر"}},qL=WL;var KL={lessThanXSeconds:{one:"不到 1 秒",other:"不到 {{count}} 秒"},xSeconds:{one:"1 秒",other:"{{count}} 秒"},halfAMinute:"半分钟",lessThanXMinutes:{one:"不到 1 分钟",other:"不到 {{count}} 分钟"},xMinutes:{one:"1 分钟",other:"{{count}} 分钟"},xHours:{one:"1 小时",other:"{{count}} 小时"},aboutXHours:{one:"大约 1 小时",other:"大约 {{count}} 小时"},xDays:{one:"1 天",other:"{{count}} 天"},aboutXWeeks:{one:"大约 1 个星期",other:"大约 {{count}} 个星期"},xWeeks:{one:"1 个星期",other:"{{count}} 个星期"},aboutXMonths:{one:"大约 1 个月",other:"大约 {{count}} 个月"},xMonths:{one:"1 个月",other:"{{count}} 个月"},aboutXYears:{one:"大约 1 年",other:"大约 {{count}} 年"},xYears:{one:"1 年",other:"{{count}} 年"},overXYears:{one:"超过 1 年",other:"超过 {{count}} 年"},almostXYears:{one:"将近 1 年",other:"将近 {{count}} 年"}},GL=function(t,n,o){var r,i=KL[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+"内":r+"前":r};const YL=GL;function On(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth,o=e.formats[n]||e.formats[e.defaultWidth];return o}}var XL={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},ZL={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},JL={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},QL={date:On({formats:XL,defaultWidth:"full"}),time:On({formats:ZL,defaultWidth:"full"}),dateTime:On({formats:JL,defaultWidth:"full"})};const e9=QL;function Gp(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function vh(e){"@babel/helpers - typeof";return vh=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vh(e)}function t9(e){Gp(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||vh(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function n9(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var o9={};function r9(){return o9}function d0(e,t){var n,o,r,i,a,s,l,c;Gp(1,arguments);var u=r9(),d=n9((n=(o=(r=(i=t==null?void 0:t.weekStartsOn)!==null&&i!==void 0?i:t==null||(a=t.locale)===null||a===void 0||(s=a.options)===null||s===void 0?void 0:s.weekStartsOn)!==null&&r!==void 0?r:u.weekStartsOn)!==null&&o!==void 0?o:(l=u.locale)===null||l===void 0||(c=l.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&n!==void 0?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=t9(e),p=f.getUTCDay(),h=(pt.getTime()?"'下个'"+o:"'上个'"+o}var a9={lastWeek:f0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:f0,other:"PP p"},s9=function(t,n,o,r){var i=a9[t];return typeof i=="function"?i(n,o,r):i};const l9=s9;function Jt(e){return function(t,n){var o=n!=null&&n.context?String(n.context):"standalone",r;if(o==="formatting"&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=n!=null&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var s=e.defaultWidth,l=n!=null&&n.width?String(n.width):e.defaultWidth;r=e.values[l]||e.values[s]}var c=e.argumentCallback?e.argumentCallback(t):t;return r[c]}}var c9={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},u9={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},d9={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},f9={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},h9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},p9={narrow:{am:"上",pm:"下",midnight:"凌晨",noon:"午",morning:"早",afternoon:"下午",evening:"晚",night:"夜"},abbreviated:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"},wide:{am:"上午",pm:"下午",midnight:"凌晨",noon:"中午",morning:"早晨",afternoon:"中午",evening:"晚上",night:"夜间"}},m9=function(t,n){var o=Number(t);switch(n==null?void 0:n.unit){case"date":return o.toString()+"日";case"hour":return o.toString()+"时";case"minute":return o.toString()+"分";case"second":return o.toString()+"秒";default:return"第 "+o.toString()}},g9={ordinalNumber:m9,era:Jt({values:c9,defaultWidth:"wide"}),quarter:Jt({values:u9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:d9,defaultWidth:"wide"}),day:Jt({values:f9,defaultWidth:"wide"}),dayPeriod:Jt({values:h9,defaultWidth:"wide",formattingValues:p9,defaultFormattingWidth:"wide"})};const v9=g9;function Qt(e){return function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},o=n.width,r=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],i=t.match(r);if(!i)return null;var a=i[0],s=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?y9(s,function(d){return d.test(a)}):b9(s,function(d){return d.test(a)}),c;c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;var u=t.slice(a.length);return{value:c,rest:u}}}function b9(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function y9(e,t){for(var n=0;n1&&arguments[1]!==void 0?arguments[1]:{},o=t.match(e.matchPattern);if(!o)return null;var r=o[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(r.length);return{value:a,rest:s}}}var x9=/^(第\s*)?\d+(日|时|分|秒)?/i,C9=/\d+/i,w9={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},_9={any:[/^(前)/i,/^(公元)/i]},S9={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},k9={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},T9={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},P9={narrow:[/^一/i,/^二/i,/^三/i,/^四/i,/^五/i,/^六/i,/^七/i,/^八/i,/^九/i,/^十(?!(一|二))/i,/^十一/i,/^十二/i],any:[/^一|1/i,/^二|2/i,/^三|3/i,/^四|4/i,/^五|5/i,/^六|6/i,/^七|7/i,/^八|8/i,/^九|9/i,/^十(?!(一|二))|10/i,/^十一|11/i,/^十二|12/i]},R9={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},E9={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},$9={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},A9={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},I9={ordinalNumber:il({matchPattern:x9,parsePattern:C9,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:w9,defaultMatchWidth:"wide",parsePatterns:_9,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:S9,defaultMatchWidth:"wide",parsePatterns:k9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:T9,defaultMatchWidth:"wide",parsePatterns:P9,defaultParseWidth:"any"}),day:Qt({matchPatterns:R9,defaultMatchWidth:"wide",parsePatterns:E9,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:$9,defaultMatchWidth:"any",parsePatterns:A9,defaultParseWidth:"any"})};const M9=I9;var z9={code:"zh-CN",formatDistance:YL,formatLong:e9,formatRelative:l9,localize:v9,match:M9,options:{weekStartsOn:1,firstWeekContainsDate:4}};const n_=z9,O9={name:"zh-CN",locale:n_},h0=O9;var D9={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},L9=function(t,n,o){var r,i=D9[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?"in "+r:r+" ago":r};const F9=L9;var N9={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},B9={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},H9={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},j9={date:On({formats:N9,defaultWidth:"full"}),time:On({formats:B9,defaultWidth:"full"}),dateTime:On({formats:H9,defaultWidth:"full"})};const V9=j9;var U9={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},W9=function(t,n,o,r){return U9[t]};const q9=W9;var K9={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},G9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y9={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},X9={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Z9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},J9={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Q9=function(t,n){var o=Number(t),r=o%100;if(r>20||r<10)switch(r%10){case 1:return o+"st";case 2:return o+"nd";case 3:return o+"rd"}return o+"th"},eF={ordinalNumber:Q9,era:Jt({values:K9,defaultWidth:"wide"}),quarter:Jt({values:G9,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:Y9,defaultWidth:"wide"}),day:Jt({values:X9,defaultWidth:"wide"}),dayPeriod:Jt({values:Z9,defaultWidth:"wide",formattingValues:J9,defaultFormattingWidth:"wide"})};const tF=eF;var nF=/^(\d+)(th|st|nd|rd)?/i,oF=/\d+/i,rF={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},iF={any:[/^b/i,/^(a|c)/i]},aF={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},sF={any:[/1/i,/2/i,/3/i,/4/i]},lF={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},cF={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},uF={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},dF={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},fF={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},hF={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},pF={ordinalNumber:il({matchPattern:nF,parsePattern:oF,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:rF,defaultMatchWidth:"wide",parsePatterns:iF,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:aF,defaultMatchWidth:"wide",parsePatterns:sF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:lF,defaultMatchWidth:"wide",parsePatterns:cF,defaultParseWidth:"any"}),day:Qt({matchPatterns:uF,defaultMatchWidth:"wide",parsePatterns:dF,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:fF,defaultMatchWidth:"any",parsePatterns:hF,defaultParseWidth:"any"})};const mF=pF;var gF={code:"en-US",formatDistance:F9,formatLong:V9,formatRelative:q9,localize:tF,match:mF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const vF=gF,bF={name:"en-US",locale:vF},o_=bF;var yF={lessThanXSeconds:{one:"1秒未満",other:"{{count}}秒未満",oneWithSuffix:"約1秒",otherWithSuffix:"約{{count}}秒"},xSeconds:{one:"1秒",other:"{{count}}秒"},halfAMinute:"30秒",lessThanXMinutes:{one:"1分未満",other:"{{count}}分未満",oneWithSuffix:"約1分",otherWithSuffix:"約{{count}}分"},xMinutes:{one:"1分",other:"{{count}}分"},aboutXHours:{one:"約1時間",other:"約{{count}}時間"},xHours:{one:"1時間",other:"{{count}}時間"},xDays:{one:"1日",other:"{{count}}日"},aboutXWeeks:{one:"約1週間",other:"約{{count}}週間"},xWeeks:{one:"1週間",other:"{{count}}週間"},aboutXMonths:{one:"約1か月",other:"約{{count}}か月"},xMonths:{one:"1か月",other:"{{count}}か月"},aboutXYears:{one:"約1年",other:"約{{count}}年"},xYears:{one:"1年",other:"{{count}}年"},overXYears:{one:"1年以上",other:"{{count}}年以上"},almostXYears:{one:"1年近く",other:"{{count}}年近く"}},xF=function(t,n,o){o=o||{};var r,i=yF[t];return typeof i=="string"?r=i:n===1?o.addSuffix&&i.oneWithSuffix?r=i.oneWithSuffix:r=i.one:o.addSuffix&&i.otherWithSuffix?r=i.otherWithSuffix.replace("{{count}}",String(n)):r=i.other.replace("{{count}}",String(n)),o.addSuffix?o.comparison&&o.comparison>0?r+"後":r+"前":r};const CF=xF;var wF={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},_F={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},SF={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},kF={date:On({formats:wF,defaultWidth:"full"}),time:On({formats:_F,defaultWidth:"full"}),dateTime:On({formats:SF,defaultWidth:"full"})};const TF=kF;var PF={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},RF=function(t,n,o,r){return PF[t]};const EF=RF;var $F={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},AF={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},IF={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"]},MF={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},zF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},OF={narrow:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},abbreviated:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"},wide:{am:"午前",pm:"午後",midnight:"深夜",noon:"正午",morning:"朝",afternoon:"午後",evening:"夜",night:"深夜"}},DF=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"year":return"".concat(o,"年");case"quarter":return"第".concat(o,"四半期");case"month":return"".concat(o,"月");case"week":return"第".concat(o,"週");case"date":return"".concat(o,"日");case"hour":return"".concat(o,"時");case"minute":return"".concat(o,"分");case"second":return"".concat(o,"秒");default:return"".concat(o)}},LF={ordinalNumber:DF,era:Jt({values:$F,defaultWidth:"wide"}),quarter:Jt({values:AF,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Jt({values:IF,defaultWidth:"wide"}),day:Jt({values:MF,defaultWidth:"wide"}),dayPeriod:Jt({values:zF,defaultWidth:"wide",formattingValues:OF,defaultFormattingWidth:"wide"})};const FF=LF;var NF=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,BF=/\d+/i,HF={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},jF={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},VF={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},UF={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},WF={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},qF={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},KF={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},GF={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},YF={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},XF={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},ZF={ordinalNumber:il({matchPattern:NF,parsePattern:BF,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:HF,defaultMatchWidth:"wide",parsePatterns:jF,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:VF,defaultMatchWidth:"wide",parsePatterns:UF,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:WF,defaultMatchWidth:"wide",parsePatterns:qF,defaultParseWidth:"any"}),day:Qt({matchPatterns:KF,defaultMatchWidth:"wide",parsePatterns:GF,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:YF,defaultMatchWidth:"any",parsePatterns:XF,defaultParseWidth:"any"})};const JF=ZF;var QF={code:"ja",formatDistance:CF,formatLong:TF,formatRelative:EF,localize:FF,match:JF,options:{weekStartsOn:0,firstWeekContainsDate:1}};const e7=QF,t7={name:"ja-JP",locale:e7},n7=t7;var o7={lessThanXSeconds:{one:"1초 미만",other:"{{count}}초 미만"},xSeconds:{one:"1초",other:"{{count}}초"},halfAMinute:"30초",lessThanXMinutes:{one:"1분 미만",other:"{{count}}분 미만"},xMinutes:{one:"1분",other:"{{count}}분"},aboutXHours:{one:"약 1시간",other:"약 {{count}}시간"},xHours:{one:"1시간",other:"{{count}}시간"},xDays:{one:"1일",other:"{{count}}일"},aboutXWeeks:{one:"약 1주",other:"약 {{count}}주"},xWeeks:{one:"1주",other:"{{count}}주"},aboutXMonths:{one:"약 1개월",other:"약 {{count}}개월"},xMonths:{one:"1개월",other:"{{count}}개월"},aboutXYears:{one:"약 1년",other:"약 {{count}}년"},xYears:{one:"1년",other:"{{count}}년"},overXYears:{one:"1년 이상",other:"{{count}}년 이상"},almostXYears:{one:"거의 1년",other:"거의 {{count}}년"}},r7=function(t,n,o){var r,i=o7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",n.toString()),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" 후":r+" 전":r};const i7=r7;var a7={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},s7={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},l7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},c7={date:On({formats:a7,defaultWidth:"full"}),time:On({formats:s7,defaultWidth:"full"}),dateTime:On({formats:l7,defaultWidth:"full"})};const u7=c7;var d7={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},f7=function(t,n,o,r){return d7[t]};const h7=f7;var p7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},m7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},g7={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"],wide:["1월","2월","3월","4월","5월","6월","7월","8월","9월","10월","11월","12월"]},v7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},b7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},y7={narrow:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},abbreviated:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"},wide:{am:"오전",pm:"오후",midnight:"자정",noon:"정오",morning:"아침",afternoon:"오후",evening:"저녁",night:"밤"}},x7=function(t,n){var o=Number(t),r=String(n==null?void 0:n.unit);switch(r){case"minute":case"second":return String(o);case"date":return o+"일";default:return o+"번째"}},C7={ordinalNumber:x7,era:Jt({values:p7,defaultWidth:"wide"}),quarter:Jt({values:m7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:g7,defaultWidth:"wide"}),day:Jt({values:v7,defaultWidth:"wide"}),dayPeriod:Jt({values:b7,defaultWidth:"wide",formattingValues:y7,defaultFormattingWidth:"wide"})};const w7=C7;var _7=/^(\d+)(일|번째)?/i,S7=/\d+/i,k7={narrow:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(기원전|서기)/i},T7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},P7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},R7={any:[/1/i,/2/i,/3/i,/4/i]},E7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},$7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},A7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},I7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},M7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},z7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},O7={ordinalNumber:il({matchPattern:_7,parsePattern:S7,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:k7,defaultMatchWidth:"wide",parsePatterns:T7,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:P7,defaultMatchWidth:"wide",parsePatterns:R7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:E7,defaultMatchWidth:"wide",parsePatterns:$7,defaultParseWidth:"any"}),day:Qt({matchPatterns:A7,defaultMatchWidth:"wide",parsePatterns:I7,defaultParseWidth:"any"}),dayPeriod:Qt({matchPatterns:M7,defaultMatchWidth:"any",parsePatterns:z7,defaultParseWidth:"any"})};const D7=O7;var L7={code:"ko",formatDistance:i7,formatLong:u7,formatRelative:h7,localize:w7,match:D7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const F7=L7,N7={name:"ko-KR",locale:F7},B7=N7;var H7={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},j7=function(t,n,o){var r,i=H7[t];return typeof i=="string"?r=i:n===1?r=i.one:r=i.other.replace("{{count}}",String(n)),o!=null&&o.addSuffix?o.comparison&&o.comparison>0?r+" nữa":r+" trước":r};const V7=j7;var U7={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},W7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},q7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},K7={date:On({formats:U7,defaultWidth:"full"}),time:On({formats:W7,defaultWidth:"full"}),dateTime:On({formats:q7,defaultWidth:"full"})};const G7=K7;var Y7={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},X7=function(t,n,o,r){return Y7[t]};const Z7=X7;var J7={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},Q7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},eN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},tN={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},nN={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},oN={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},rN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},iN={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},aN=function(t,n){var o=Number(t),r=n==null?void 0:n.unit;if(r==="quarter")switch(o){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(r==="day")switch(o){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(r==="week")return o===1?"thứ nhất":"thứ "+o;if(r==="dayOfYear")return o===1?"đầu tiên":"thứ "+o}return String(o)},sN={ordinalNumber:aN,era:Jt({values:J7,defaultWidth:"wide"}),quarter:Jt({values:Q7,defaultWidth:"wide",formattingValues:eN,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Jt({values:tN,defaultWidth:"wide",formattingValues:nN,defaultFormattingWidth:"wide"}),day:Jt({values:oN,defaultWidth:"wide"}),dayPeriod:Jt({values:rN,defaultWidth:"wide",formattingValues:iN,defaultFormattingWidth:"wide"})};const lN=sN;var cN=/^(\d+)/i,uN=/\d+/i,dN={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},fN={any:[/^t/i,/^s/i]},hN={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},pN={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},mN={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},gN={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},vN={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},bN={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},yN={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},xN={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},CN={ordinalNumber:il({matchPattern:cN,parsePattern:uN,valueCallback:function(t){return parseInt(t,10)}}),era:Qt({matchPatterns:dN,defaultMatchWidth:"wide",parsePatterns:fN,defaultParseWidth:"any"}),quarter:Qt({matchPatterns:hN,defaultMatchWidth:"wide",parsePatterns:pN,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:Qt({matchPatterns:mN,defaultMatchWidth:"wide",parsePatterns:gN,defaultParseWidth:"wide"}),day:Qt({matchPatterns:vN,defaultMatchWidth:"wide",parsePatterns:bN,defaultParseWidth:"wide"}),dayPeriod:Qt({matchPatterns:yN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"any"})};const wN=CN;var _N={code:"vi",formatDistance:V7,formatLong:G7,formatRelative:Z7,localize:lN,match:wN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const SN=_N,kN={name:"vi-VN",locale:SN},TN=kN,PN={name:"fa-IR",locale:n_},RN=PN;function Li(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=qe(wo,null)||{},o=L(()=>{var i,a;return(a=(i=t==null?void 0:t.value)===null||i===void 0?void 0:i[e])!==null&&a!==void 0?a:t_[e]});return{dateLocaleRef:L(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:o_}),localeRef:o}}function Yr(e,t,n){if(!t)return;const o=Mi(),r=qe(wo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:Pa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||Qw.mount({id:"n-global",head:!0,anchorMetaName:Pa,ssr:o})};o?i():cn(i)}function kt(e,t,n,o){var r;n||Kr("useThemeClass","cssVarsRef is not passed");const i=(r=qe(wo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=N(""),s=Mi();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,p=i==null?void 0:i.value;p&&(d+="-"+p),f&&(d+="-"+f);const{themeOverrides:h,builtinThemeOverrides:g}=o;h&&(d+="-"+Hs(JSON.stringify(h))),g&&(d+="-"+Hs(JSON.stringify(g))),a.value=d,l=()=>{const b=n.value;let m="";for(const y in b)m+=`${y}: ${b[y]};`;W(`.${d}`,m).mount({id:d,ssr:s}),l=void 0}};return tn(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Mi(),r=L(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{tn(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(h6(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:Pa,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():cn(i),r}const EN=me({name:"Add",render(){return v("svg",{width:"512",height:"512",viewBox:"0 0 512 512",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M256 112V400M400 256H112",stroke:"currentColor","stroke-width":"32","stroke-linecap":"round","stroke-linejoin":"round"}))}}),$N=me({name:"ArrowDown",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M23.7916,15.2664 C24.0788,14.9679 24.0696,14.4931 23.7711,14.206 C23.4726,13.9188 22.9978,13.928 22.7106,14.2265 L14.7511,22.5007 L14.7511,3.74792 C14.7511,3.33371 14.4153,2.99792 14.0011,2.99792 C13.5869,2.99792 13.2511,3.33371 13.2511,3.74793 L13.2511,22.4998 L5.29259,14.2265 C5.00543,13.928 4.53064,13.9188 4.23213,14.206 C3.93361,14.4931 3.9244,14.9679 4.21157,15.2664 L13.2809,24.6944 C13.6743,25.1034 14.3289,25.1034 14.7223,24.6944 L23.7916,15.2664 Z"}))))}});function Ba(e,t){return me({name:Iw(e),setup(){var n;const o=(n=qe(wo,null))===null||n===void 0?void 0:n.mergedIconsRef;return()=>{var r;const i=(r=o==null?void 0:o.value)===null||r===void 0?void 0:r[e];return i?i():t}}})}const p0=me({name:"Backward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M12.2674 15.793C11.9675 16.0787 11.4927 16.0672 11.2071 15.7673L6.20572 10.5168C5.9298 10.2271 5.9298 9.7719 6.20572 9.48223L11.2071 4.23177C11.4927 3.93184 11.9675 3.92031 12.2674 4.206C12.5673 4.49169 12.5789 4.96642 12.2932 5.26634L7.78458 9.99952L12.2932 14.7327C12.5789 15.0326 12.5673 15.5074 12.2674 15.793Z",fill:"currentColor"}))}}),AN=me({name:"Checkmark",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M14.046 3.486a.75.75 0 0 1-.032 1.06l-7.93 7.474a.85.85 0 0 1-1.188-.022l-2.68-2.72a.75.75 0 1 1 1.068-1.053l2.234 2.267l7.468-7.038a.75.75 0 0 1 1.06.032z",fill:"currentColor"})))}}),Yp=me({name:"ChevronRight",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M5.64645 3.14645C5.45118 3.34171 5.45118 3.65829 5.64645 3.85355L9.79289 8L5.64645 12.1464C5.45118 12.3417 5.45118 12.6583 5.64645 12.8536C5.84171 13.0488 6.15829 13.0488 6.35355 12.8536L10.8536 8.35355C11.0488 8.15829 11.0488 7.84171 10.8536 7.64645L6.35355 3.14645C6.15829 2.95118 5.84171 2.95118 5.64645 3.14645Z",fill:"currentColor"}))}}),IN=Ba("close",v("svg",{viewBox:"0 0 12 12",version:"1.1",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M2.08859116,2.2156945 L2.14644661,2.14644661 C2.32001296,1.97288026 2.58943736,1.95359511 2.7843055,2.08859116 L2.85355339,2.14644661 L6,5.293 L9.14644661,2.14644661 C9.34170876,1.95118446 9.65829124,1.95118446 9.85355339,2.14644661 C10.0488155,2.34170876 10.0488155,2.65829124 9.85355339,2.85355339 L6.707,6 L9.85355339,9.14644661 C10.0271197,9.32001296 10.0464049,9.58943736 9.91140884,9.7843055 L9.85355339,9.85355339 C9.67998704,10.0271197 9.41056264,10.0464049 9.2156945,9.91140884 L9.14644661,9.85355339 L6,6.707 L2.85355339,9.85355339 C2.65829124,10.0488155 2.34170876,10.0488155 2.14644661,9.85355339 C1.95118446,9.65829124 1.95118446,9.34170876 2.14644661,9.14644661 L5.293,6 L2.14644661,2.85355339 C1.97288026,2.67998704 1.95359511,2.41056264 2.08859116,2.2156945 L2.14644661,2.14644661 L2.08859116,2.2156945 Z"}))))),MN=me({name:"Eye",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 0 0-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 0 0 0-17.47C428.89 172.28 347.8 112 255.66 112z",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}),v("circle",{cx:"256",cy:"256",r:"80",fill:"none",stroke:"currentColor","stroke-miterlimit":"10","stroke-width":"32"}))}}),zN=me({name:"EyeOff",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("path",{d:"M432 448a15.92 15.92 0 0 1-11.31-4.69l-352-352a16 16 0 0 1 22.62-22.62l352 352A16 16 0 0 1 432 448z",fill:"currentColor"}),v("path",{d:"M255.66 384c-41.49 0-81.5-12.28-118.92-36.5c-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 0 0 .14-2.94L93.5 161.38a2 2 0 0 0-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 0 0-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0 0 75.8-12.58a2 2 0 0 0 .77-3.31l-21.58-21.58a4 4 0 0 0-3.83-1a204.8 204.8 0 0 1-51.16 6.47z",fill:"currentColor"}),v("path",{d:"M490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 0 0-74.89 12.83a2 2 0 0 0-.75 3.31l21.55 21.55a4 4 0 0 0 3.88 1a192.82 192.82 0 0 1 50.21-6.69c40.69 0 80.58 12.43 118.55 37c34.71 22.4 65.74 53.88 89.76 91a.13.13 0 0 1 0 .16a310.72 310.72 0 0 1-64.12 72.73a2 2 0 0 0-.15 2.95l19.9 19.89a2 2 0 0 0 2.7.13a343.49 343.49 0 0 0 68.64-78.48a32.2 32.2 0 0 0-.1-34.78z",fill:"currentColor"}),v("path",{d:"M256 160a95.88 95.88 0 0 0-21.37 2.4a2 2 0 0 0-1 3.38l112.59 112.56a2 2 0 0 0 3.38-1A96 96 0 0 0 256 160z",fill:"currentColor"}),v("path",{d:"M165.78 233.66a2 2 0 0 0-3.38 1a96 96 0 0 0 115 115a2 2 0 0 0 1-3.38z",fill:"currentColor"}))}}),ON=me({name:"Empty",render(){return v("svg",{viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M26 7.5C26 11.0899 23.0899 14 19.5 14C15.9101 14 13 11.0899 13 7.5C13 3.91015 15.9101 1 19.5 1C23.0899 1 26 3.91015 26 7.5ZM16.8536 4.14645C16.6583 3.95118 16.3417 3.95118 16.1464 4.14645C15.9512 4.34171 15.9512 4.65829 16.1464 4.85355L18.7929 7.5L16.1464 10.1464C15.9512 10.3417 15.9512 10.6583 16.1464 10.8536C16.3417 11.0488 16.6583 11.0488 16.8536 10.8536L19.5 8.20711L22.1464 10.8536C22.3417 11.0488 22.6583 11.0488 22.8536 10.8536C23.0488 10.6583 23.0488 10.3417 22.8536 10.1464L20.2071 7.5L22.8536 4.85355C23.0488 4.65829 23.0488 4.34171 22.8536 4.14645C22.6583 3.95118 22.3417 3.95118 22.1464 4.14645L19.5 6.79289L16.8536 4.14645Z",fill:"currentColor"}),v("path",{d:"M25 22.75V12.5991C24.5572 13.0765 24.053 13.4961 23.5 13.8454V16H17.5L17.3982 16.0068C17.0322 16.0565 16.75 16.3703 16.75 16.75C16.75 18.2688 15.5188 19.5 14 19.5C12.4812 19.5 11.25 18.2688 11.25 16.75L11.2432 16.6482C11.1935 16.2822 10.8797 16 10.5 16H4.5V7.25C4.5 6.2835 5.2835 5.5 6.25 5.5H12.2696C12.4146 4.97463 12.6153 4.47237 12.865 4H6.25C4.45507 4 3 5.45507 3 7.25V22.75C3 24.5449 4.45507 26 6.25 26H21.75C23.5449 26 25 24.5449 25 22.75ZM4.5 22.75V17.5H9.81597L9.85751 17.7041C10.2905 19.5919 11.9808 21 14 21L14.215 20.9947C16.2095 20.8953 17.842 19.4209 18.184 17.5H23.5V22.75C23.5 23.7165 22.7165 24.5 21.75 24.5H6.25C5.2835 24.5 4.5 23.7165 4.5 22.75Z",fill:"currentColor"}))}}),Fi=Ba("error",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M17.8838835,16.1161165 L17.7823881,16.0249942 C17.3266086,15.6583353 16.6733914,15.6583353 16.2176119,16.0249942 L16.1161165,16.1161165 L16.0249942,16.2176119 C15.6583353,16.6733914 15.6583353,17.3266086 16.0249942,17.7823881 L16.1161165,17.8838835 L22.233,24 L16.1161165,30.1161165 L16.0249942,30.2176119 C15.6583353,30.6733914 15.6583353,31.3266086 16.0249942,31.7823881 L16.1161165,31.8838835 L16.2176119,31.9750058 C16.6733914,32.3416647 17.3266086,32.3416647 17.7823881,31.9750058 L17.8838835,31.8838835 L24,25.767 L30.1161165,31.8838835 L30.2176119,31.9750058 C30.6733914,32.3416647 31.3266086,32.3416647 31.7823881,31.9750058 L31.8838835,31.8838835 L31.9750058,31.7823881 C32.3416647,31.3266086 32.3416647,30.6733914 31.9750058,30.2176119 L31.8838835,30.1161165 L25.767,24 L31.8838835,17.8838835 L31.9750058,17.7823881 C32.3416647,17.3266086 32.3416647,16.6733914 31.9750058,16.2176119 L31.8838835,16.1161165 L31.7823881,16.0249942 C31.3266086,15.6583353 30.6733914,15.6583353 30.2176119,16.0249942 L30.1161165,16.1161165 L24,22.233 L17.8838835,16.1161165 L17.7823881,16.0249942 L17.8838835,16.1161165 Z"}))))),m0=me({name:"FastBackward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8.73171,16.7949 C9.03264,17.0795 9.50733,17.0663 9.79196,16.7654 C10.0766,16.4644 10.0634,15.9897 9.76243,15.7051 L4.52339,10.75 L17.2471,10.75 C17.6613,10.75 17.9971,10.4142 17.9971,10 C17.9971,9.58579 17.6613,9.25 17.2471,9.25 L4.52112,9.25 L9.76243,4.29275 C10.0634,4.00812 10.0766,3.53343 9.79196,3.2325 C9.50733,2.93156 9.03264,2.91834 8.73171,3.20297 L2.31449,9.27241 C2.14819,9.4297 2.04819,9.62981 2.01448,9.8386 C2.00308,9.89058 1.99707,9.94459 1.99707,10 C1.99707,10.0576 2.00356,10.1137 2.01585,10.1675 C2.05084,10.3733 2.15039,10.5702 2.31449,10.7254 L8.73171,16.7949 Z"}))))}}),g0=me({name:"FastForward",render(){return v("svg",{viewBox:"0 0 20 20",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M11.2654,3.20511 C10.9644,2.92049 10.4897,2.93371 10.2051,3.23464 C9.92049,3.53558 9.93371,4.01027 10.2346,4.29489 L15.4737,9.25 L2.75,9.25 C2.33579,9.25 2,9.58579 2,10.0000012 C2,10.4142 2.33579,10.75 2.75,10.75 L15.476,10.75 L10.2346,15.7073 C9.93371,15.9919 9.92049,16.4666 10.2051,16.7675 C10.4897,17.0684 10.9644,17.0817 11.2654,16.797 L17.6826,10.7276 C17.8489,10.5703 17.9489,10.3702 17.9826,10.1614 C17.994,10.1094 18,10.0554 18,10.0000012 C18,9.94241 17.9935,9.88633 17.9812,9.83246 C17.9462,9.62667 17.8467,9.42976 17.6826,9.27455 L11.2654,3.20511 Z"}))))}}),DN=me({name:"Filter",render(){return v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M17,19 C17.5522847,19 18,19.4477153 18,20 C18,20.5522847 17.5522847,21 17,21 L11,21 C10.4477153,21 10,20.5522847 10,20 C10,19.4477153 10.4477153,19 11,19 L17,19 Z M21,13 C21.5522847,13 22,13.4477153 22,14 C22,14.5522847 21.5522847,15 21,15 L7,15 C6.44771525,15 6,14.5522847 6,14 C6,13.4477153 6.44771525,13 7,13 L21,13 Z M24,7 C24.5522847,7 25,7.44771525 25,8 C25,8.55228475 24.5522847,9 24,9 L4,9 C3.44771525,9 3,8.55228475 3,8 C3,7.44771525 3.44771525,7 4,7 L24,7 Z"}))))}}),v0=me({name:"Forward",render(){return v("svg",{viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M7.73271 4.20694C8.03263 3.92125 8.50737 3.93279 8.79306 4.23271L13.7944 9.48318C14.0703 9.77285 14.0703 10.2281 13.7944 10.5178L8.79306 15.7682C8.50737 16.0681 8.03263 16.0797 7.73271 15.794C7.43279 15.5083 7.42125 15.0336 7.70694 14.7336L12.2155 10.0005L7.70694 5.26729C7.42125 4.96737 7.43279 4.49264 7.73271 4.20694Z",fill:"currentColor"}))}}),jr=Ba("info",v("svg",{viewBox:"0 0 28 28",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M14,2 C20.6274,2 26,7.37258 26,14 C26,20.6274 20.6274,26 14,26 C7.37258,26 2,20.6274 2,14 C2,7.37258 7.37258,2 14,2 Z M14,11 C13.4477,11 13,11.4477 13,12 L13,12 L13,20 C13,20.5523 13.4477,21 14,21 C14.5523,21 15,20.5523 15,20 L15,20 L15,12 C15,11.4477 14.5523,11 14,11 Z M14,6.75 C13.3096,6.75 12.75,7.30964 12.75,8 C12.75,8.69036 13.3096,9.25 14,9.25 C14.6904,9.25 15.25,8.69036 15.25,8 C15.25,7.30964 14.6904,6.75 14,6.75 Z"}))))),b0=me({name:"More",render(){return v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M4,7 C4.55228,7 5,7.44772 5,8 C5,8.55229 4.55228,9 4,9 C3.44772,9 3,8.55229 3,8 C3,7.44772 3.44772,7 4,7 Z M8,7 C8.55229,7 9,7.44772 9,8 C9,8.55229 8.55229,9 8,9 C7.44772,9 7,8.55229 7,8 C7,7.44772 7.44772,7 8,7 Z M12,7 C12.5523,7 13,7.44772 13,8 C13,8.55229 12.5523,9 12,9 C11.4477,9 11,8.55229 11,8 C11,7.44772 11.4477,7 12,7 Z"}))))}}),LN=me({name:"Remove",render(){return v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},v("line",{x1:"400",y1:"256",x2:"112",y2:"256",style:` fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 32px; - `}))}}),Ni=Ba("success",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Bi=Ba("warning",v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),c_=me({name:"ChevronDown",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),LN=Ba("clear",v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),FN=me({name:"ChevronDownFilled",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Hi=me({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Gr();return()=>v(hn,{name:"icon-switch-transition",appear:n.value},t)}}),ku=me({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?X4:hn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),v(d,f,t)}}}),NN=O("base-icon",` + `}))}}),Ni=Ba("success",v("svg",{viewBox:"0 0 48 48",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M24,4 C35.045695,4 44,12.954305 44,24 C44,35.045695 35.045695,44 24,44 C12.954305,44 4,35.045695 4,24 C4,12.954305 12.954305,4 24,4 Z M32.6338835,17.6161165 C32.1782718,17.1605048 31.4584514,17.1301307 30.9676119,17.5249942 L30.8661165,17.6161165 L20.75,27.732233 L17.1338835,24.1161165 C16.6457281,23.6279612 15.8542719,23.6279612 15.3661165,24.1161165 C14.9105048,24.5717282 14.8801307,25.2915486 15.2749942,25.7823881 L15.3661165,25.8838835 L19.8661165,30.3838835 C20.3217282,30.8394952 21.0415486,30.8698693 21.5323881,30.4750058 L21.6338835,30.3838835 L32.6338835,19.3838835 C33.1220388,18.8957281 33.1220388,18.1042719 32.6338835,17.6161165 Z"}))))),Bi=Ba("warning",v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{"fill-rule":"nonzero"},v("path",{d:"M12,2 C17.523,2 22,6.478 22,12 C22,17.522 17.523,22 12,22 C6.477,22 2,17.522 2,12 C2,6.478 6.477,2 12,2 Z M12.0018002,15.0037242 C11.450254,15.0037242 11.0031376,15.4508407 11.0031376,16.0023869 C11.0031376,16.553933 11.450254,17.0010495 12.0018002,17.0010495 C12.5533463,17.0010495 13.0004628,16.553933 13.0004628,16.0023869 C13.0004628,15.4508407 12.5533463,15.0037242 12.0018002,15.0037242 Z M11.99964,7 C11.4868042,7.00018474 11.0642719,7.38637706 11.0066858,7.8837365 L11,8.00036004 L11.0018003,13.0012393 L11.00857,13.117858 C11.0665141,13.6151758 11.4893244,14.0010638 12.0021602,14.0008793 C12.514996,14.0006946 12.9375283,13.6145023 12.9951144,13.1171428 L13.0018002,13.0005193 L13,7.99964009 L12.9932303,7.8830214 C12.9352861,7.38570354 12.5124758,6.99981552 11.99964,7 Z"}))))),r_=me({name:"ChevronDown",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.14645 5.64645C3.34171 5.45118 3.65829 5.45118 3.85355 5.64645L8 9.79289L12.1464 5.64645C12.3417 5.45118 12.6583 5.45118 12.8536 5.64645C13.0488 5.84171 13.0488 6.15829 12.8536 6.35355L8.35355 10.8536C8.15829 11.0488 7.84171 11.0488 7.64645 10.8536L3.14645 6.35355C2.95118 6.15829 2.95118 5.84171 3.14645 5.64645Z",fill:"currentColor"}))}}),FN=Ba("clear",v("svg",{viewBox:"0 0 16 16",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},v("g",{stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},v("g",{fill:"currentColor","fill-rule":"nonzero"},v("path",{d:"M8,2 C11.3137085,2 14,4.6862915 14,8 C14,11.3137085 11.3137085,14 8,14 C4.6862915,14 2,11.3137085 2,8 C2,4.6862915 4.6862915,2 8,2 Z M6.5343055,5.83859116 C6.33943736,5.70359511 6.07001296,5.72288026 5.89644661,5.89644661 L5.89644661,5.89644661 L5.83859116,5.9656945 C5.70359511,6.16056264 5.72288026,6.42998704 5.89644661,6.60355339 L5.89644661,6.60355339 L7.293,8 L5.89644661,9.39644661 L5.83859116,9.4656945 C5.70359511,9.66056264 5.72288026,9.92998704 5.89644661,10.1035534 L5.89644661,10.1035534 L5.9656945,10.1614088 C6.16056264,10.2964049 6.42998704,10.2771197 6.60355339,10.1035534 L6.60355339,10.1035534 L8,8.707 L9.39644661,10.1035534 L9.4656945,10.1614088 C9.66056264,10.2964049 9.92998704,10.2771197 10.1035534,10.1035534 L10.1035534,10.1035534 L10.1614088,10.0343055 C10.2964049,9.83943736 10.2771197,9.57001296 10.1035534,9.39644661 L10.1035534,9.39644661 L8.707,8 L10.1035534,6.60355339 L10.1614088,6.5343055 C10.2964049,6.33943736 10.2771197,6.07001296 10.1035534,5.89644661 L10.1035534,5.89644661 L10.0343055,5.83859116 C9.83943736,5.70359511 9.57001296,5.72288026 9.39644661,5.89644661 L9.39644661,5.89644661 L8,7.293 L6.60355339,5.89644661 Z"}))))),NN=me({name:"ChevronDownFilled",render(){return v("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},v("path",{d:"M3.20041 5.73966C3.48226 5.43613 3.95681 5.41856 4.26034 5.70041L8 9.22652L11.7397 5.70041C12.0432 5.41856 12.5177 5.43613 12.7996 5.73966C13.0815 6.0432 13.0639 6.51775 12.7603 6.7996L8.51034 10.7996C8.22258 11.0668 7.77743 11.0668 7.48967 10.7996L3.23966 6.7996C2.93613 6.51775 2.91856 6.0432 3.20041 5.73966Z",fill:"currentColor"}))}}),Hi=me({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=Gr();return()=>v(hn,{name:"icon-switch-transition",appear:n.value},t)}}),Tu=me({name:"FadeInExpandTransition",props:{appear:Boolean,group:Boolean,mode:String,onLeave:Function,onAfterLeave:Function,onAfterEnter:Function,width:Boolean,reverse:Boolean},setup(e,{slots:t}){function n(s){e.width?s.style.maxWidth=`${s.offsetWidth}px`:s.style.maxHeight=`${s.offsetHeight}px`,s.offsetWidth}function o(s){e.width?s.style.maxWidth="0":s.style.maxHeight="0",s.offsetWidth;const{onLeave:l}=e;l&&l()}function r(s){e.width?s.style.maxWidth="":s.style.maxHeight="";const{onAfterLeave:l}=e;l&&l()}function i(s){if(s.style.transition="none",e.width){const l=s.offsetWidth;s.style.maxWidth="0",s.offsetWidth,s.style.transition="",s.style.maxWidth=`${l}px`}else if(e.reverse)s.style.maxHeight=`${s.offsetHeight}px`,s.offsetHeight,s.style.transition="",s.style.maxHeight="0";else{const l=s.offsetHeight;s.style.maxHeight="0",s.offsetWidth,s.style.transition="",s.style.maxHeight=`${l}px`}s.offsetWidth}function a(s){var l;e.width?s.style.maxWidth="":e.reverse||(s.style.maxHeight=""),(l=e.onAfterEnter)===null||l===void 0||l.call(e)}return()=>{const{group:s,width:l,appear:c,mode:u}=e,d=s?J4:hn,f={name:l?"fade-in-width-expand-transition":"fade-in-height-expand-transition",appear:c,onEnter:i,onAfterEnter:a,onBeforeLeave:n,onLeave:o,onAfterLeave:r};return s||(f.mode=u),v(d,f,t)}}}),BN=O("base-icon",` height: 1em; width: 1em; line-height: 1em; @@ -78,7 +78,7 @@ ${t} `,[W("svg",` height: 1em; width: 1em; - `)]),Ut=me({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Yr("-base-icon",NN,Ue(e,"clsPrefix"))},render(){return v("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),BN=O("base-close",` + `)]),Ut=me({name:"BaseIcon",props:{role:String,ariaLabel:String,ariaDisabled:{type:Boolean,default:void 0},ariaHidden:{type:Boolean,default:void 0},clsPrefix:{type:String,required:!0},onClick:Function,onMousedown:Function,onMouseup:Function},setup(e){Yr("-base-icon",BN,Ue(e,"clsPrefix"))},render(){return v("i",{class:`${this.clsPrefix}-base-icon`,onClick:this.onClick,onMousedown:this.onMousedown,onMouseup:this.onMouseup,role:this.role,"aria-label":this.ariaLabel,"aria-hidden":this.ariaHidden,"aria-disabled":this.ariaDisabled},this.$slots)}}),HN=O("base-close",` display: flex; align-items: center; justify-content: center; @@ -122,7 +122,7 @@ ${t} background-color: transparent; `),Z("round",[W("&::before",` border-radius: 50%; - `)])]),ji=me({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Yr("-base-close",BN,Ue(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return v(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},v(Ut,{clsPrefix:t},{default:()=>v(AN,null)}))}}}),HN=me({props:{onFocus:Function,onBlur:Function},setup(e){return()=>v("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:jN}=co;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${jN} !important`}={}){return[W("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),W("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),W("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const VN=W([W("@keyframes rotator",` + `)])]),ji=me({name:"BaseClose",props:{isButtonTag:{type:Boolean,default:!0},clsPrefix:{type:String,required:!0},disabled:{type:Boolean,default:void 0},focusable:{type:Boolean,default:!0},round:Boolean,onClick:Function,absolute:Boolean},setup(e){return Yr("-base-close",HN,Ue(e,"clsPrefix")),()=>{const{clsPrefix:t,disabled:n,absolute:o,round:r,isButtonTag:i}=e;return v(i?"button":"div",{type:i?"button":void 0,tabindex:n||!e.focusable?-1:0,"aria-disabled":n,"aria-label":"close",role:i?void 0:"button",disabled:n,class:[`${t}-base-close`,o&&`${t}-base-close--absolute`,n&&`${t}-base-close--disabled`,r&&`${t}-base-close--round`],onMousedown:s=>{e.focusable||s.preventDefault()},onClick:e.onClick},v(Ut,{clsPrefix:t},{default:()=>v(IN,null)}))}}}),jN=me({props:{onFocus:Function,onBlur:Function},setup(e){return()=>v("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:VN}=co;function qn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${VN} !important`}={}){return[W("&.icon-switch-transition-enter-from, &.icon-switch-transition-leave-to",{transform:e+" scale(0.75)",left:t,top:n,opacity:0}),W("&.icon-switch-transition-enter-to, &.icon-switch-transition-leave-from",{transform:`scale(1) ${e}`,left:t,top:n,opacity:1}),W("&.icon-switch-transition-enter-active, &.icon-switch-transition-leave-active",{transformOrigin:"center",position:"absolute",left:t,top:n,transition:o})]}const UN=W([W("@keyframes rotator",` 0% { -webkit-transform: rotate(0deg); transform: rotate(0deg); @@ -149,7 +149,7 @@ ${t} `,[V("icon",` height: 1em; width: 1em; - `)])])]),zd="1.6s",UN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Xr=me({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},UN),setup(e){Yr("-base-loading",VN,Ue(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return v("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},v(Hi,null,{default:()=>this.show?v("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},v("div",{class:`${e}-base-loading__container`},v("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("g",null,v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:zd,fill:"freeze",repeatCount:"indefinite"}),v("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:zd,fill:"freeze",repeatCount:"indefinite"}),v("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:zd,fill:"freeze",repeatCount:"indefinite"})))))):v("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function y0(e){return Array.isArray(e)?e:[e]}const bh={STOP:"STOP"};function u_(e,t){const n=t(e);e.children!==void 0&&n!==bh.STOP&&e.children.forEach(o=>u_(o,t))}function WN(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(r)}return i(e),o}function qN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function KN(e){return e.children}function GN(e){return e.key}function YN(){return!1}function XN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function ZN(e){return e.disabled===!0}function JN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Od(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Dd(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function QN(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function eB(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function tB(e){return(e==null?void 0:e.type)==="group"}function nB(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class oB extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function rB(e,t,n,o){return Ic(t.concat(e),n,o,!1)}function iB(e,t){const n=new Set;return e.forEach(o=>{const r=t.treeNodeMap.get(o);if(r!==void 0){let i=r.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function aB(e,t,n,o){const r=Ic(t,n,o,!1),i=Ic(e,n,o,!0),a=iB(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Ld(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:QN(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:eB(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=aB(r,n,t,c):o!==void 0?d=rB(o,n,t,c):d=Ic(n,t,c,!1);const f=l==="parent",p=l==="child"||s,h=d,g=new Set,b=Math.max.apply(null,Array.from(u.keys()));for(let m=b;m>=0;m-=1){const y=m===0,k=u.get(m);for(const S of k){if(S.isLeaf)continue;const{key:w,shallowLoaded:x}=S;if(p&&x&&S.children.forEach(E=>{!E.disabled&&!E.isLeaf&&E.shallowLoaded&&h.has(E.key)&&h.delete(E.key)}),S.disabled||!x)continue;let C=!0,_=!1,R=!0;for(const E of S.children){const M=E.key;if(!E.disabled){if(R&&(R=!1),h.has(M))_=!0;else if(g.has(M)){_=!0,C=!1;break}else if(C=!1,_)break}}C&&!R?(f&&S.children.forEach(E=>{!E.disabled&&h.has(E.key)&&h.delete(E.key)}),h.add(w)):_&&g.add(w),y&&p&&h.has(w)&&h.delete(w)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(g)}}function Ic(e,t,n,o){const{treeNodeMap:r,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=r.get(l);c!==void 0&&u_(c,u=>{if(u.disabled)return bh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),JN(u.rawNode,i))){if(o)return bh.STOP;if(!n)throw new oB}})}),s}function sB(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const i=o.treeNodeMap;let a=e==null?null:(r=i.get(e))!==null&&r!==void 0?r:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function lB(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function cB(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function x0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?uB:cB,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=Xp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=dB(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function uB(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:r===0?null:n[r-1]}function dB(e){return e.parent}function Xp(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=Xp(c,t);if(u!==null)return u}else return c}}return null}const fB={getChild(){return this.ignored?null:Xp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return x0(this,"next",e)},getPrev(e={}){return x0(this,"prev",e)}};function hB(e,t){const n=t?new Set(t):void 0,o=[];function r(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&r(a.children)})}return r(e),o}function pB(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function d_(e,t,n,o,r,i=null,a=0){const s=[];return e.forEach((l,c)=>{var u;const d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=c,d.isFirstChild=c===0,d.isLastChild=c+1===e.length,d.parent=i,!d.ignored){const f=r(l);Array.isArray(f)&&(d.children=d_(f,t,n,o,r,d,a+1))}s.push(d),t.set(d.key,d),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(d)}),s}function bi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=ZN,getIgnored:a=YN,getIsGroup:s=tB,getKey:l=GN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:KN,u=t.ignoreEmptyChildren?S=>{const w=c(S);return Array.isArray(w)?w.length?w:null:w}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return qN(this.rawNode,u)},get shallowLoaded(){return XN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(S){return pB(this,S)}},fB),f=d_(e,o,r,d,u);function p(S){if(S==null)return null;const w=o.get(S);return w&&!w.isGroup&&!w.ignored?w:null}function h(S){if(S==null)return null;const w=o.get(S);return w&&!w.ignored?w:null}function g(S,w){const x=h(S);return x?x.getPrev(w):null}function b(S,w){const x=h(S);return x?x.getNext(w):null}function m(S){const w=h(S);return w?w.getParent():null}function y(S){const w=h(S);return w?w.getChild():null}const k={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(S){return hB(f,S)},getNode:p,getPrev:g,getNext:b,getParent:m,getChild:y,getFirstAvailableNode(){return lB(f)},getPath(S,w={}){return sB(S,w,k)},getCheckedKeys(S,w={}){const{cascade:x=!0,leafOnly:C=!1,checkStrategy:_="all",allowNotLoaded:R=!1}=w;return Ld({checkedKeys:Od(S),indeterminateKeys:Dd(S),cascade:x,leafOnly:C,checkStrategy:_,allowNotLoaded:R},k)},check(S,w,x={}){const{cascade:C=!0,leafOnly:_=!1,checkStrategy:R="all",allowNotLoaded:E=!1}=x;return Ld({checkedKeys:Od(w),indeterminateKeys:Dd(w),keysToCheck:S==null?[]:y0(S),cascade:C,leafOnly:_,checkStrategy:R,allowNotLoaded:E},k)},uncheck(S,w,x={}){const{cascade:C=!0,leafOnly:_=!1,checkStrategy:R="all",allowNotLoaded:E=!1}=x;return Ld({checkedKeys:Od(w),indeterminateKeys:Dd(w),keysToUncheck:S==null?[]:y0(S),cascade:C,leafOnly:_,checkStrategy:R,allowNotLoaded:E},k)},getNonLeafKeys(S={}){return WN(f,S)}};return k}const Ye={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},mB=Uo(Ye.neutralBase),f_=Uo(Ye.neutralInvertBase),gB="rgba("+f_.slice(0,3).join(", ")+", ";function zt(e){return gB+String(e)+")"}function vB(e){const t=Array.from(f_);return t[3]=Number(e),et(mB,t)}const bB=Object.assign(Object.assign({name:"common"},co),{baseColor:Ye.neutralBase,primaryColor:Ye.primaryDefault,primaryColorHover:Ye.primaryHover,primaryColorPressed:Ye.primaryActive,primaryColorSuppl:Ye.primarySuppl,infoColor:Ye.infoDefault,infoColorHover:Ye.infoHover,infoColorPressed:Ye.infoActive,infoColorSuppl:Ye.infoSuppl,successColor:Ye.successDefault,successColorHover:Ye.successHover,successColorPressed:Ye.successActive,successColorSuppl:Ye.successSuppl,warningColor:Ye.warningDefault,warningColorHover:Ye.warningHover,warningColorPressed:Ye.warningActive,warningColorSuppl:Ye.warningSuppl,errorColor:Ye.errorDefault,errorColorHover:Ye.errorHover,errorColorPressed:Ye.errorActive,errorColorSuppl:Ye.errorSuppl,textColorBase:Ye.neutralTextBase,textColor1:zt(Ye.alpha1),textColor2:zt(Ye.alpha2),textColor3:zt(Ye.alpha3),textColorDisabled:zt(Ye.alpha4),placeholderColor:zt(Ye.alpha4),placeholderColorDisabled:zt(Ye.alpha5),iconColor:zt(Ye.alpha4),iconColorDisabled:zt(Ye.alpha5),iconColorHover:zt(Number(Ye.alpha4)*1.25),iconColorPressed:zt(Number(Ye.alpha4)*.8),opacity1:Ye.alpha1,opacity2:Ye.alpha2,opacity3:Ye.alpha3,opacity4:Ye.alpha4,opacity5:Ye.alpha5,dividerColor:zt(Ye.alphaDivider),borderColor:zt(Ye.alphaBorder),closeIconColorHover:zt(Number(Ye.alphaClose)),closeIconColor:zt(Number(Ye.alphaClose)),closeIconColorPressed:zt(Number(Ye.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:zt(Ye.alpha4),clearColorHover:fn(zt(Ye.alpha4),{alpha:1.25}),clearColorPressed:fn(zt(Ye.alpha4),{alpha:.8}),scrollbarColor:zt(Ye.alphaScrollbar),scrollbarColorHover:zt(Ye.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:zt(Ye.alphaProgressRail),railColor:zt(Ye.alphaRail),popoverColor:Ye.neutralPopover,tableColor:Ye.neutralCard,cardColor:Ye.neutralCard,modalColor:Ye.neutralModal,bodyColor:Ye.neutralBody,tagColor:vB(Ye.alphaTag),avatarColor:zt(Ye.alphaAvatar),invertedColor:Ye.neutralBase,inputColor:zt(Ye.alphaInput),codeColor:zt(Ye.alphaCode),tabColor:zt(Ye.alphaTab),actionColor:zt(Ye.alphaAction),tableHeaderColor:zt(Ye.alphaAction),hoverColor:zt(Ye.alphaPending),tableColorHover:zt(Ye.alphaTablePending),tableColorStriped:zt(Ye.alphaTableStriped),pressedColor:zt(Ye.alphaPressed),opacityDisabled:Ye.alphaDisabled,inputColorDisabled:zt(Ye.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Ve=bB,st={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},yB=Uo(st.neutralBase),h_=Uo(st.neutralInvertBase),xB="rgba("+h_.slice(0,3).join(", ")+", ";function C0(e){return xB+String(e)+")"}function Pn(e){const t=Array.from(h_);return t[3]=Number(e),et(yB,t)}const CB=Object.assign(Object.assign({name:"common"},co),{baseColor:st.neutralBase,primaryColor:st.primaryDefault,primaryColorHover:st.primaryHover,primaryColorPressed:st.primaryActive,primaryColorSuppl:st.primarySuppl,infoColor:st.infoDefault,infoColorHover:st.infoHover,infoColorPressed:st.infoActive,infoColorSuppl:st.infoSuppl,successColor:st.successDefault,successColorHover:st.successHover,successColorPressed:st.successActive,successColorSuppl:st.successSuppl,warningColor:st.warningDefault,warningColorHover:st.warningHover,warningColorPressed:st.warningActive,warningColorSuppl:st.warningSuppl,errorColor:st.errorDefault,errorColorHover:st.errorHover,errorColorPressed:st.errorActive,errorColorSuppl:st.errorSuppl,textColorBase:st.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Pn(st.alpha4),placeholderColor:Pn(st.alpha4),placeholderColorDisabled:Pn(st.alpha5),iconColor:Pn(st.alpha4),iconColorHover:fn(Pn(st.alpha4),{lightness:.75}),iconColorPressed:fn(Pn(st.alpha4),{lightness:.9}),iconColorDisabled:Pn(st.alpha5),opacity1:st.alpha1,opacity2:st.alpha2,opacity3:st.alpha3,opacity4:st.alpha4,opacity5:st.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Pn(Number(st.alphaClose)),closeIconColorHover:Pn(Number(st.alphaClose)),closeIconColorPressed:Pn(Number(st.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Pn(st.alpha4),clearColorHover:fn(Pn(st.alpha4),{lightness:.75}),clearColorPressed:fn(Pn(st.alpha4),{lightness:.9}),scrollbarColor:C0(st.alphaScrollbar),scrollbarColorHover:C0(st.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Pn(st.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:st.neutralPopover,tableColor:st.neutralCard,cardColor:st.neutralCard,modalColor:st.neutralModal,bodyColor:st.neutralBody,tagColor:"#eee",avatarColor:Pn(st.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Pn(st.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:st.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),bt=CB,wB={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},p_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},wB),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},_B={name:"Empty",common:bt,self:p_},Tu=_B,SB={name:"Empty",common:Ve,self:p_},Vi=SB,kB=O("empty",` + `)])])]),Od="1.6s",WN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},Xr=me({name:"BaseLoading",props:Object.assign({clsPrefix:{type:String,required:!0},show:{type:Boolean,default:!0},scale:{type:Number,default:1},radius:{type:Number,default:100}},WN),setup(e){Yr("-base-loading",UN,Ue(e,"clsPrefix"))},render(){const{clsPrefix:e,radius:t,strokeWidth:n,stroke:o,scale:r}=this,i=t/r;return v("div",{class:`${e}-base-loading`,role:"img","aria-label":"loading"},v(Hi,null,{default:()=>this.show?v("div",{key:"icon",class:`${e}-base-loading__transition-wrapper`},v("div",{class:`${e}-base-loading__container`},v("svg",{class:`${e}-base-loading__icon`,viewBox:`0 0 ${2*i} ${2*i}`,xmlns:"http://www.w3.org/2000/svg",style:{color:o}},v("g",null,v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};270 ${i} ${i}`,begin:"0s",dur:Od,fill:"freeze",repeatCount:"indefinite"}),v("circle",{class:`${e}-base-loading__icon`,fill:"none",stroke:"currentColor","stroke-width":n,"stroke-linecap":"round",cx:i,cy:i,r:t-n/2,"stroke-dasharray":5.67*t,"stroke-dashoffset":18.48*t},v("animateTransform",{attributeName:"transform",type:"rotate",values:`0 ${i} ${i};135 ${i} ${i};450 ${i} ${i}`,begin:"0s",dur:Od,fill:"freeze",repeatCount:"indefinite"}),v("animate",{attributeName:"stroke-dashoffset",values:`${5.67*t};${1.42*t};${5.67*t}`,begin:"0s",dur:Od,fill:"freeze",repeatCount:"indefinite"})))))):v("div",{key:"placeholder",class:`${e}-base-loading__placeholder`},this.$slots)}))}});function y0(e){return Array.isArray(e)?e:[e]}const bh={STOP:"STOP"};function i_(e,t){const n=t(e);e.children!==void 0&&n!==bh.STOP&&e.children.forEach(o=>i_(o,t))}function qN(e,t={}){const{preserveGroup:n=!1}=t,o=[],r=n?a=>{a.isLeaf||(o.push(a.key),i(a.children))}:a=>{a.isLeaf||(a.isGroup||o.push(a.key),i(a.children))};function i(a){a.forEach(r)}return i(e),o}function KN(e,t){const{isLeaf:n}=e;return n!==void 0?n:!t(e)}function GN(e){return e.children}function YN(e){return e.key}function XN(){return!1}function ZN(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function JN(e){return e.disabled===!0}function QN(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function Dd(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function Ld(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function eB(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function tB(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function nB(e){return(e==null?void 0:e.type)==="group"}function oB(e){const t=new Map;return e.forEach((n,o)=>{t.set(n.key,o)}),n=>{var o;return(o=t.get(n))!==null&&o!==void 0?o:null}}class rB extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function iB(e,t,n,o){return Ic(t.concat(e),n,o,!1)}function aB(e,t){const n=new Set;return e.forEach(o=>{const r=t.treeNodeMap.get(o);if(r!==void 0){let i=r.parent;for(;i!==null&&!(i.disabled||n.has(i.key));)n.add(i.key),i=i.parent}}),n}function sB(e,t,n,o){const r=Ic(t,n,o,!1),i=Ic(e,n,o,!0),a=aB(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function Fd(e,t){const{checkedKeys:n,keysToCheck:o,keysToUncheck:r,indeterminateKeys:i,cascade:a,leafOnly:s,checkStrategy:l,allowNotLoaded:c}=e;if(!a)return o!==void 0?{checkedKeys:eB(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:tB(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=sB(r,n,t,c):o!==void 0?d=iB(o,n,t,c):d=Ic(n,t,c,!1);const f=l==="parent",p=l==="child"||s,h=d,g=new Set,b=Math.max.apply(null,Array.from(u.keys()));for(let m=b;m>=0;m-=1){const y=m===0,k=u.get(m);for(const S of k){if(S.isLeaf)continue;const{key:w,shallowLoaded:x}=S;if(p&&x&&S.children.forEach(E=>{!E.disabled&&!E.isLeaf&&E.shallowLoaded&&h.has(E.key)&&h.delete(E.key)}),S.disabled||!x)continue;let C=!0,_=!1,R=!0;for(const E of S.children){const M=E.key;if(!E.disabled){if(R&&(R=!1),h.has(M))_=!0;else if(g.has(M)){_=!0,C=!1;break}else if(C=!1,_)break}}C&&!R?(f&&S.children.forEach(E=>{!E.disabled&&h.has(E.key)&&h.delete(E.key)}),h.add(w)):_&&g.add(w),y&&p&&h.has(w)&&h.delete(w)}}return{checkedKeys:Array.from(h),indeterminateKeys:Array.from(g)}}function Ic(e,t,n,o){const{treeNodeMap:r,getChildren:i}=t,a=new Set,s=new Set(e);return e.forEach(l=>{const c=r.get(l);c!==void 0&&i_(c,u=>{if(u.disabled)return bh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),QN(u.rawNode,i))){if(o)return bh.STOP;if(!n)throw new rB}})}),s}function lB(e,{includeGroup:t=!1,includeSelf:n=!0},o){var r;const i=o.treeNodeMap;let a=e==null?null:(r=i.get(e))!==null&&r!==void 0?r:null;const s={keyPath:[],treeNodePath:[],treeNode:a};if(a!=null&&a.ignored)return s.treeNode=null,s;for(;a;)!a.ignored&&(t||!a.isGroup)&&s.treeNodePath.push(a),a=a.parent;return s.treeNodePath.reverse(),n||s.treeNodePath.pop(),s.keyPath=s.treeNodePath.map(l=>l.key),s}function cB(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function uB(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r+1)%o]:r===n.length-1?null:n[r+1]}function x0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?dB:uB,i={reverse:t==="prev"};let a=!1,s=null;function l(c){if(c!==null){if(c===e){if(!a)a=!0;else if(!e.disabled&&!e.isGroup){s=e;return}}else if((!c.disabled||o)&&!c.ignored&&!c.isGroup){s=c;return}if(c.isGroup){const u=Xp(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=fB(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function dB(e,t){const n=e.siblings,o=n.length,{index:r}=e;return t?n[(r-1+o)%o]:r===0?null:n[r-1]}function fB(e){return e.parent}function Xp(e,t={}){const{reverse:n=!1}=t,{children:o}=e;if(o){const{length:r}=o,i=n?r-1:0,a=n?-1:r,s=n?-1:1;for(let l=i;l!==a;l+=s){const c=o[l];if(!c.disabled&&!c.ignored)if(c.isGroup){const u=Xp(c,t);if(u!==null)return u}else return c}}return null}const hB={getChild(){return this.ignored?null:Xp(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return x0(this,"next",e)},getPrev(e={}){return x0(this,"prev",e)}};function pB(e,t){const n=t?new Set(t):void 0,o=[];function r(i){i.forEach(a=>{o.push(a),!(a.isLeaf||!a.children||a.ignored)&&(a.isGroup||n===void 0||n.has(a.key))&&r(a.children)})}return r(e),o}function mB(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function a_(e,t,n,o,r,i=null,a=0){const s=[];return e.forEach((l,c)=>{var u;const d=Object.create(o);if(d.rawNode=l,d.siblings=s,d.level=a,d.index=c,d.isFirstChild=c===0,d.isLastChild=c+1===e.length,d.parent=i,!d.ignored){const f=r(l);Array.isArray(f)&&(d.children=a_(f,t,n,o,r,d,a+1))}s.push(d),t.set(d.key,d),n.has(a)||n.set(a,[]),(u=n.get(a))===null||u===void 0||u.push(d)}),s}function bi(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=JN,getIgnored:a=XN,getIsGroup:s=nB,getKey:l=YN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:GN,u=t.ignoreEmptyChildren?S=>{const w=c(S);return Array.isArray(w)?w.length?w:null:w}:c,d=Object.assign({get key(){return l(this.rawNode)},get disabled(){return i(this.rawNode)},get isGroup(){return s(this.rawNode)},get isLeaf(){return KN(this.rawNode,u)},get shallowLoaded(){return ZN(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(S){return mB(this,S)}},hB),f=a_(e,o,r,d,u);function p(S){if(S==null)return null;const w=o.get(S);return w&&!w.isGroup&&!w.ignored?w:null}function h(S){if(S==null)return null;const w=o.get(S);return w&&!w.ignored?w:null}function g(S,w){const x=h(S);return x?x.getPrev(w):null}function b(S,w){const x=h(S);return x?x.getNext(w):null}function m(S){const w=h(S);return w?w.getParent():null}function y(S){const w=h(S);return w?w.getChild():null}const k={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(S){return pB(f,S)},getNode:p,getPrev:g,getNext:b,getParent:m,getChild:y,getFirstAvailableNode(){return cB(f)},getPath(S,w={}){return lB(S,w,k)},getCheckedKeys(S,w={}){const{cascade:x=!0,leafOnly:C=!1,checkStrategy:_="all",allowNotLoaded:R=!1}=w;return Fd({checkedKeys:Dd(S),indeterminateKeys:Ld(S),cascade:x,leafOnly:C,checkStrategy:_,allowNotLoaded:R},k)},check(S,w,x={}){const{cascade:C=!0,leafOnly:_=!1,checkStrategy:R="all",allowNotLoaded:E=!1}=x;return Fd({checkedKeys:Dd(w),indeterminateKeys:Ld(w),keysToCheck:S==null?[]:y0(S),cascade:C,leafOnly:_,checkStrategy:R,allowNotLoaded:E},k)},uncheck(S,w,x={}){const{cascade:C=!0,leafOnly:_=!1,checkStrategy:R="all",allowNotLoaded:E=!1}=x;return Fd({checkedKeys:Dd(w),indeterminateKeys:Ld(w),keysToUncheck:S==null?[]:y0(S),cascade:C,leafOnly:_,checkStrategy:R,allowNotLoaded:E},k)},getNonLeafKeys(S={}){return qN(f,S)}};return k}const Ye={neutralBase:"#000",neutralInvertBase:"#fff",neutralTextBase:"#fff",neutralPopover:"rgb(72, 72, 78)",neutralCard:"rgb(24, 24, 28)",neutralModal:"rgb(44, 44, 50)",neutralBody:"rgb(16, 16, 20)",alpha1:"0.9",alpha2:"0.82",alpha3:"0.52",alpha4:"0.38",alpha5:"0.28",alphaClose:"0.52",alphaDisabled:"0.38",alphaDisabledInput:"0.06",alphaPending:"0.09",alphaTablePending:"0.06",alphaTableStriped:"0.05",alphaPressed:"0.05",alphaAvatar:"0.18",alphaRail:"0.2",alphaProgressRail:"0.12",alphaBorder:"0.24",alphaDivider:"0.09",alphaInput:"0.1",alphaAction:"0.06",alphaTab:"0.04",alphaScrollbar:"0.2",alphaScrollbarHover:"0.3",alphaCode:"0.12",alphaTag:"0.2",primaryHover:"#7fe7c4",primaryDefault:"#63e2b7",primaryActive:"#5acea7",primarySuppl:"rgb(42, 148, 125)",infoHover:"#8acbec",infoDefault:"#70c0e8",infoActive:"#66afd3",infoSuppl:"rgb(56, 137, 197)",errorHover:"#e98b8b",errorDefault:"#e88080",errorActive:"#e57272",errorSuppl:"rgb(208, 58, 82)",warningHover:"#f5d599",warningDefault:"#f2c97d",warningActive:"#e6c260",warningSuppl:"rgb(240, 138, 0)",successHover:"#7fe7c4",successDefault:"#63e2b7",successActive:"#5acea7",successSuppl:"rgb(42, 148, 125)"},gB=Uo(Ye.neutralBase),s_=Uo(Ye.neutralInvertBase),vB="rgba("+s_.slice(0,3).join(", ")+", ";function zt(e){return vB+String(e)+")"}function bB(e){const t=Array.from(s_);return t[3]=Number(e),et(gB,t)}const yB=Object.assign(Object.assign({name:"common"},co),{baseColor:Ye.neutralBase,primaryColor:Ye.primaryDefault,primaryColorHover:Ye.primaryHover,primaryColorPressed:Ye.primaryActive,primaryColorSuppl:Ye.primarySuppl,infoColor:Ye.infoDefault,infoColorHover:Ye.infoHover,infoColorPressed:Ye.infoActive,infoColorSuppl:Ye.infoSuppl,successColor:Ye.successDefault,successColorHover:Ye.successHover,successColorPressed:Ye.successActive,successColorSuppl:Ye.successSuppl,warningColor:Ye.warningDefault,warningColorHover:Ye.warningHover,warningColorPressed:Ye.warningActive,warningColorSuppl:Ye.warningSuppl,errorColor:Ye.errorDefault,errorColorHover:Ye.errorHover,errorColorPressed:Ye.errorActive,errorColorSuppl:Ye.errorSuppl,textColorBase:Ye.neutralTextBase,textColor1:zt(Ye.alpha1),textColor2:zt(Ye.alpha2),textColor3:zt(Ye.alpha3),textColorDisabled:zt(Ye.alpha4),placeholderColor:zt(Ye.alpha4),placeholderColorDisabled:zt(Ye.alpha5),iconColor:zt(Ye.alpha4),iconColorDisabled:zt(Ye.alpha5),iconColorHover:zt(Number(Ye.alpha4)*1.25),iconColorPressed:zt(Number(Ye.alpha4)*.8),opacity1:Ye.alpha1,opacity2:Ye.alpha2,opacity3:Ye.alpha3,opacity4:Ye.alpha4,opacity5:Ye.alpha5,dividerColor:zt(Ye.alphaDivider),borderColor:zt(Ye.alphaBorder),closeIconColorHover:zt(Number(Ye.alphaClose)),closeIconColor:zt(Number(Ye.alphaClose)),closeIconColorPressed:zt(Number(Ye.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:zt(Ye.alpha4),clearColorHover:fn(zt(Ye.alpha4),{alpha:1.25}),clearColorPressed:fn(zt(Ye.alpha4),{alpha:.8}),scrollbarColor:zt(Ye.alphaScrollbar),scrollbarColorHover:zt(Ye.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:zt(Ye.alphaProgressRail),railColor:zt(Ye.alphaRail),popoverColor:Ye.neutralPopover,tableColor:Ye.neutralCard,cardColor:Ye.neutralCard,modalColor:Ye.neutralModal,bodyColor:Ye.neutralBody,tagColor:bB(Ye.alphaTag),avatarColor:zt(Ye.alphaAvatar),invertedColor:Ye.neutralBase,inputColor:zt(Ye.alphaInput),codeColor:zt(Ye.alphaCode),tabColor:zt(Ye.alphaTab),actionColor:zt(Ye.alphaAction),tableHeaderColor:zt(Ye.alphaAction),hoverColor:zt(Ye.alphaPending),tableColorHover:zt(Ye.alphaTablePending),tableColorStriped:zt(Ye.alphaTableStriped),pressedColor:zt(Ye.alphaPressed),opacityDisabled:Ye.alphaDisabled,inputColorDisabled:zt(Ye.alphaDisabledInput),buttonColor2:"rgba(255, 255, 255, .08)",buttonColor2Hover:"rgba(255, 255, 255, .12)",buttonColor2Pressed:"rgba(255, 255, 255, .08)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .24), 0 3px 6px 0 rgba(0, 0, 0, .18), 0 5px 12px 4px rgba(0, 0, 0, .12)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .24), 0 6px 12px 0 rgba(0, 0, 0, .16), 0 9px 18px 8px rgba(0, 0, 0, .10)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),Ve=yB,st={neutralBase:"#FFF",neutralInvertBase:"#000",neutralTextBase:"#000",neutralPopover:"#fff",neutralCard:"#fff",neutralModal:"#fff",neutralBody:"#fff",alpha1:"0.82",alpha2:"0.72",alpha3:"0.38",alpha4:"0.24",alpha5:"0.18",alphaClose:"0.6",alphaDisabled:"0.5",alphaDisabledInput:"0.02",alphaPending:"0.05",alphaTablePending:"0.02",alphaPressed:"0.07",alphaAvatar:"0.2",alphaRail:"0.14",alphaProgressRail:".08",alphaBorder:"0.12",alphaDivider:"0.06",alphaInput:"0",alphaAction:"0.02",alphaTab:"0.04",alphaScrollbar:"0.25",alphaScrollbarHover:"0.4",alphaCode:"0.05",alphaTag:"0.02",primaryHover:"#36ad6a",primaryDefault:"#18a058",primaryActive:"#0c7a43",primarySuppl:"#36ad6a",infoHover:"#4098fc",infoDefault:"#2080f0",infoActive:"#1060c9",infoSuppl:"#4098fc",errorHover:"#de576d",errorDefault:"#d03050",errorActive:"#ab1f3f",errorSuppl:"#de576d",warningHover:"#fcb040",warningDefault:"#f0a020",warningActive:"#c97c10",warningSuppl:"#fcb040",successHover:"#36ad6a",successDefault:"#18a058",successActive:"#0c7a43",successSuppl:"#36ad6a"},xB=Uo(st.neutralBase),l_=Uo(st.neutralInvertBase),CB="rgba("+l_.slice(0,3).join(", ")+", ";function C0(e){return CB+String(e)+")"}function Pn(e){const t=Array.from(l_);return t[3]=Number(e),et(xB,t)}const wB=Object.assign(Object.assign({name:"common"},co),{baseColor:st.neutralBase,primaryColor:st.primaryDefault,primaryColorHover:st.primaryHover,primaryColorPressed:st.primaryActive,primaryColorSuppl:st.primarySuppl,infoColor:st.infoDefault,infoColorHover:st.infoHover,infoColorPressed:st.infoActive,infoColorSuppl:st.infoSuppl,successColor:st.successDefault,successColorHover:st.successHover,successColorPressed:st.successActive,successColorSuppl:st.successSuppl,warningColor:st.warningDefault,warningColorHover:st.warningHover,warningColorPressed:st.warningActive,warningColorSuppl:st.warningSuppl,errorColor:st.errorDefault,errorColorHover:st.errorHover,errorColorPressed:st.errorActive,errorColorSuppl:st.errorSuppl,textColorBase:st.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:Pn(st.alpha4),placeholderColor:Pn(st.alpha4),placeholderColorDisabled:Pn(st.alpha5),iconColor:Pn(st.alpha4),iconColorHover:fn(Pn(st.alpha4),{lightness:.75}),iconColorPressed:fn(Pn(st.alpha4),{lightness:.9}),iconColorDisabled:Pn(st.alpha5),opacity1:st.alpha1,opacity2:st.alpha2,opacity3:st.alpha3,opacity4:st.alpha4,opacity5:st.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:Pn(Number(st.alphaClose)),closeIconColorHover:Pn(Number(st.alphaClose)),closeIconColorPressed:Pn(Number(st.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:Pn(st.alpha4),clearColorHover:fn(Pn(st.alpha4),{lightness:.75}),clearColorPressed:fn(Pn(st.alpha4),{lightness:.9}),scrollbarColor:C0(st.alphaScrollbar),scrollbarColorHover:C0(st.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Pn(st.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:st.neutralPopover,tableColor:st.neutralCard,cardColor:st.neutralCard,modalColor:st.neutralModal,bodyColor:st.neutralBody,tagColor:"#eee",avatarColor:Pn(st.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:Pn(st.alphaInput),codeColor:"rgb(244, 244, 248)",tabColor:"rgb(247, 247, 250)",actionColor:"rgb(250, 250, 252)",tableHeaderColor:"rgb(250, 250, 252)",hoverColor:"rgb(243, 243, 245)",tableColorHover:"rgba(0, 0, 100, 0.03)",tableColorStriped:"rgba(0, 0, 100, 0.02)",pressedColor:"rgb(237, 237, 239)",opacityDisabled:st.alphaDisabled,inputColorDisabled:"rgb(250, 250, 252)",buttonColor2:"rgba(46, 51, 56, .05)",buttonColor2Hover:"rgba(46, 51, 56, .09)",buttonColor2Pressed:"rgba(46, 51, 56, .13)",boxShadow1:"0 1px 2px -2px rgba(0, 0, 0, .08), 0 3px 6px 0 rgba(0, 0, 0, .06), 0 5px 12px 4px rgba(0, 0, 0, .04)",boxShadow2:"0 3px 6px -4px rgba(0, 0, 0, .12), 0 6px 16px 0 rgba(0, 0, 0, .08), 0 9px 28px 8px rgba(0, 0, 0, .05)",boxShadow3:"0 6px 16px -9px rgba(0, 0, 0, .08), 0 9px 28px 0 rgba(0, 0, 0, .05), 0 12px 48px 16px rgba(0, 0, 0, .03)"}),bt=wB,_B={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"},c_=e=>{const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},_B),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})},SB={name:"Empty",common:bt,self:c_},Pu=SB,kB={name:"Empty",common:Ve,self:c_},Vi=kB,TB=O("empty",` display: flex; flex-direction: column; align-items: center; @@ -172,7 +172,7 @@ ${t} transition: color .3s var(--n-bezier); margin-top: 12px; color: var(--n-extra-text-color); - `)]),TB=Object.assign(Object.assign({},He.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),m_=me({name:"Empty",props:TB,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Empty","-empty",kB,Tu,e,t),{localeRef:r}=Li("Empty"),i=qe(wo,null),a=L(()=>{var u,d,f;return(u=e.description)!==null&&u!==void 0?u:(f=(d=i==null?void 0:i.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||f===void 0?void 0:f.description}),s=L(()=>{var u,d;return((d=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>v(zN,null))}),l=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Se("iconSize",u)]:f,[Se("fontSize",u)]:p,textColor:h,iconColor:g,extraTextColor:b}}=o.value;return{"--n-icon-size":f,"--n-font-size":p,"--n-bezier":d,"--n-text-color":h,"--n-icon-color":g,"--n-extra-text-color":b}}),c=n?kt("empty",L(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:L(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),v("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?v("div",{class:`${t}-empty__icon`},e.icon?e.icon():v(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?v("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?v("div",{class:`${t}-empty__extra`},e.extra()):null)}}),g_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},PB={name:"Scrollbar",common:bt,self:g_},Ui=PB,RB={name:"Scrollbar",common:Ve,self:g_},jn=RB,{cubicBezierEaseInOut:w0}=co;function al({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=w0,leaveCubicBezier:r=w0}={}){return[W(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),W(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),W(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),W(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const EB=O("scrollbar",` + `)]),PB=Object.assign(Object.assign({},He.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),u_=me({name:"Empty",props:PB,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Empty","-empty",TB,Pu,e,t),{localeRef:r}=Li("Empty"),i=qe(wo,null),a=L(()=>{var u,d,f;return(u=e.description)!==null&&u!==void 0?u:(f=(d=i==null?void 0:i.mergedComponentPropsRef.value)===null||d===void 0?void 0:d.Empty)===null||f===void 0?void 0:f.description}),s=L(()=>{var u,d;return((d=(u=i==null?void 0:i.mergedComponentPropsRef.value)===null||u===void 0?void 0:u.Empty)===null||d===void 0?void 0:d.renderIcon)||(()=>v(ON,null))}),l=L(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Se("iconSize",u)]:f,[Se("fontSize",u)]:p,textColor:h,iconColor:g,extraTextColor:b}}=o.value;return{"--n-icon-size":f,"--n-font-size":p,"--n-bezier":d,"--n-text-color":h,"--n-icon-color":g,"--n-extra-text-color":b}}),c=n?kt("empty",L(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:L(()=>a.value||r.value.description),cssVars:n?void 0:l,themeClass:c==null?void 0:c.themeClass,onRender:c==null?void 0:c.onRender}},render(){const{$slots:e,mergedClsPrefix:t,onRender:n}=this;return n==null||n(),v("div",{class:[`${t}-empty`,this.themeClass],style:this.cssVars},this.showIcon?v("div",{class:`${t}-empty__icon`},e.icon?e.icon():v(Ut,{clsPrefix:t},{default:this.mergedRenderIcon})):null,this.showDescription?v("div",{class:`${t}-empty__description`},e.default?e.default():this.localizedDescription):null,e.extra?v("div",{class:`${t}-empty__extra`},e.extra()):null)}}),d_=e=>{const{scrollbarColor:t,scrollbarColorHover:n}=e;return{color:t,colorHover:n}},RB={name:"Scrollbar",common:bt,self:d_},Ui=RB,EB={name:"Scrollbar",common:Ve,self:d_},jn=EB,{cubicBezierEaseInOut:w0}=co;function al({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=w0,leaveCubicBezier:r=w0}={}){return[W(`&.${e}-transition-enter-active`,{transition:`all ${t} ${o}!important`}),W(`&.${e}-transition-leave-active`,{transition:`all ${n} ${r}!important`}),W(`&.${e}-transition-enter-from, &.${e}-transition-leave-to`,{opacity:0}),W(`&.${e}-transition-leave-from, &.${e}-transition-enter-to`,{opacity:1})]}const $B=O("scrollbar",` overflow: hidden; position: relative; z-index: auto; @@ -222,7 +222,7 @@ ${t} pointer-events: all; background-color: var(--n-scrollbar-color); transition: background-color .2s var(--n-scrollbar-bezier); - `,[al(),W("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),$B=Object.assign(Object.assign({},He.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),v_=me({name:"Scrollbar",props:$B,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=at(e),r=pn("Scrollbar",o,t),i=N(null),a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=N(null),h=N(null),g=N(null),b=N(0),m=N(0),y=N(!1),k=N(!1);let S=!1,w=!1,x,C,_=0,R=0,E=0,M=0;const A=A6(),q=L(()=>{const{value:X}=f,{value:pe}=u,{value:Te}=h;return X===null||pe===null||Te===null?0:Math.min(X,Te*X/pe+e.size*1.5)}),F=L(()=>`${q.value}px`),z=L(()=>{const{value:X}=p,{value:pe}=d,{value:Te}=g;return X===null||pe===null||Te===null?0:Te*X/pe+e.size*1.5}),D=L(()=>`${z.value}px`),Y=L(()=>{const{value:X}=f,{value:pe}=b,{value:Te}=u,{value:Ke}=h;if(X===null||Te===null||Ke===null)return 0;{const Xe=Te-X;return Xe?pe/Xe*(Ke-q.value):0}}),Q=L(()=>`${Y.value}px`),ce=L(()=>{const{value:X}=p,{value:pe}=m,{value:Te}=d,{value:Ke}=g;if(X===null||Te===null||Ke===null)return 0;{const Xe=Te-X;return Xe?pe/Xe*(Ke-z.value):0}}),le=L(()=>`${ce.value}px`),B=L(()=>{const{value:X}=f,{value:pe}=u;return X!==null&&pe!==null&&pe>X}),$=L(()=>{const{value:X}=p,{value:pe}=d;return X!==null&&pe!==null&&pe>X}),I=L(()=>{const{trigger:X}=e;return X==="none"||y.value}),K=L(()=>{const{trigger:X}=e;return X==="none"||k.value}),ne=L(()=>{const{container:X}=e;return X?X():a.value}),ve=L(()=>{const{content:X}=e;return X?X():s.value}),J=Dp(()=>{e.container||ge({top:b.value,left:m.value})}),ye=()=>{J.isDeactivated||de()},j=X=>{if(J.isDeactivated)return;const{onResize:pe}=e;pe&&pe(X),de()},ge=(X,pe)=>{if(!e.scrollable)return;if(typeof X=="number"){Ne(pe??0,X,0,!1,"auto");return}const{left:Te,top:Ke,index:Xe,elSize:Ze,position:tt,behavior:rt,el:yt,debounce:nn=!0}=X;(Te!==void 0||Ke!==void 0)&&Ne(Te??0,Ke??0,0,!1,rt),yt!==void 0?Ne(0,yt.offsetTop,yt.offsetHeight,nn,rt):Xe!==void 0&&Ze!==void 0?Ne(0,Xe*Ze,Ze,nn,rt):tt==="bottom"?Ne(0,Number.MAX_SAFE_INTEGER,0,!1,rt):tt==="top"&&Ne(0,0,0,!1,rt)},Ee=(X,pe)=>{if(!e.scrollable)return;const{value:Te}=ne;Te&&(typeof X=="object"?Te.scrollBy(X):Te.scrollBy(X,pe||0))};function Ne(X,pe,Te,Ke,Xe){const{value:Ze}=ne;if(Ze){if(Ke){const{scrollTop:tt,offsetHeight:rt}=Ze;if(pe>tt){pe+Te<=tt+rt||Ze.scrollTo({left:X,top:pe+Te-rt,behavior:Xe});return}}Ze.scrollTo({left:X,top:pe,behavior:Xe})}}function T(){se(),xe(),de()}function P(){U()}function U(){oe(),G()}function oe(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{k.value=!1},e.duration)}function G(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{y.value=!1},e.duration)}function se(){x!==void 0&&window.clearTimeout(x),y.value=!0}function xe(){C!==void 0&&window.clearTimeout(C),k.value=!0}function be(X){const{onScroll:pe}=e;pe&&pe(X),Ce()}function Ce(){const{value:X}=ne;X&&(b.value=X.scrollTop,m.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function we(){const{value:X}=ve;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:pe}=ne;pe&&(f.value=pe.offsetHeight,p.value=pe.offsetWidth);const{value:Te}=c,{value:Ke}=l;Te&&(g.value=Te.offsetWidth),Ke&&(h.value=Ke.offsetHeight)}function Re(){const{value:X}=ne;X&&(b.value=X.scrollTop,m.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,p.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:pe}=c,{value:Te}=l;pe&&(g.value=pe.offsetWidth),Te&&(h.value=Te.offsetHeight)}function de(){e.scrollable&&(e.useUnifiedContainer?Re():(we(),Ce()))}function ee(X){var pe;return!(!((pe=i.value)===null||pe===void 0)&&pe.contains(wi(X)))}function fe(X){X.preventDefault(),X.stopPropagation(),w=!0,Mt("mousemove",window,Oe,!0),Mt("mouseup",window,Le,!0),R=m.value,E=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function Oe(X){if(!w)return;x!==void 0&&window.clearTimeout(x),C!==void 0&&window.clearTimeout(C);const{value:pe}=p,{value:Te}=d,{value:Ke}=z;if(pe===null||Te===null)return;const Ze=(r!=null&&r.value?window.innerWidth-X.clientX-E:X.clientX-E)*(Te-pe)/(pe-Ke),tt=Te-pe;let rt=R+Ze;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:yt}=ne;if(yt){yt.scrollLeft=rt*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:nn}=e;nn&&nn(rt)}}function Le(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,Oe,!0),Tt("mouseup",window,Le,!0),w=!1,de(),ee(X)&&U()}function De(X){X.preventDefault(),X.stopPropagation(),S=!0,Mt("mousemove",window,$e,!0),Mt("mouseup",window,Me,!0),_=b.value,M=X.clientY}function $e(X){if(!S)return;x!==void 0&&window.clearTimeout(x),C!==void 0&&window.clearTimeout(C);const{value:pe}=f,{value:Te}=u,{value:Ke}=q;if(pe===null||Te===null)return;const Ze=(X.clientY-M)*(Te-pe)/(pe-Ke),tt=Te-pe;let rt=_+Ze;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:yt}=ne;yt&&(yt.scrollTop=rt)}function Me(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,$e,!0),Tt("mouseup",window,Me,!0),S=!1,de(),ee(X)&&U()}tn(()=>{const{value:X}=$,{value:pe}=B,{value:Te}=t,{value:Ke}=c,{value:Xe}=l;Ke&&(X?Ke.classList.remove(`${Te}-scrollbar-rail--disabled`):Ke.classList.add(`${Te}-scrollbar-rail--disabled`)),Xe&&(pe?Xe.classList.remove(`${Te}-scrollbar-rail--disabled`):Xe.classList.add(`${Te}-scrollbar-rail--disabled`))}),Lt(()=>{e.container||de()}),rn(()=>{x!==void 0&&window.clearTimeout(x),C!==void 0&&window.clearTimeout(C),Tt("mousemove",window,$e,!0),Tt("mouseup",window,Me,!0)});const Fe=He("Scrollbar","-scrollbar",EB,Ui,e,t),Be=L(()=>{const{common:{cubicBezierEaseInOut:X,scrollbarBorderRadius:pe,scrollbarHeight:Te,scrollbarWidth:Ke},self:{color:Xe,colorHover:Ze}}=Fe.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":pe,"--n-scrollbar-width":Ke,"--n-scrollbar-height":Te}}),ot=n?kt("scrollbar",void 0,Be,e):void 0;return Object.assign(Object.assign({},{scrollTo:ge,scrollBy:Ee,sync:de,syncUnifiedContainer:Re,handleMouseEnterWrapper:T,handleMouseLeaveWrapper:P}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:b,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:B,needXBar:$,yBarSizePx:F,xBarSizePx:D,yBarTopPx:Q,xBarLeftPx:le,isShowXBar:I,isShowYBar:K,isIos:A,handleScroll:be,handleContentResize:ye,handleContainerResize:j,handleYScrollMouseDown:De,handleXScrollMouseDown:fe,cssVars:n?void 0:Be,themeClass:ot==null?void 0:ot.themeClass,onRender:ot==null?void 0:ot.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>v("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hiddens":!0},v(a?th:hn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),v("div",Dn(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):v("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},v(lr,{onResize:this.handleContentResize},{default:()=>v("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&v("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},v(a?th:hn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():v(lr,{onResize:this.handleContainerResize},{default:l});return i?v(it,null,c,s(this.themeClass,this.cssVars)):c}}),ko=v_,b_=v_,AB={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},y_=e=>{const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,fontSizeHuge:h,heightSmall:g,heightMedium:b,heightLarge:m,heightHuge:y}=e;return Object.assign(Object.assign({},AB),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:g,optionHeightMedium:b,optionHeightLarge:m,optionHeightHuge:y,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})},IB={name:"InternalSelectMenu",common:bt,peers:{Scrollbar:Ui,Empty:Tu},self:y_},Zp=IB,MB={name:"InternalSelectMenu",common:Ve,peers:{Scrollbar:jn,Empty:Vi},self:y_},sl=MB;function zB(e,t){return v(hn,{name:"fade-in-scale-up-transition"},{default:()=>e?v(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>v($N)}):null})}const _0=me({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=qe(Pp),p=St(()=>{const{value:m}=n;return m?e.tmNode.key===m.key:!1});function h(m){const{tmNode:y}=e;y.disabled||d(m,y)}function g(m){const{tmNode:y}=e;y.disabled||f(m,y)}function b(m){const{tmNode:y}=e,{value:k}=p;y.disabled||k||f(m,y)}return{multiple:o,isGrouped:St(()=>{const{tmNode:m}=e,{parent:y}=m;return y&&y.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:St(()=>{const{value:m}=t,{value:y}=o;if(m===null)return!1;const k=e.tmNode.rawNode[l.value];if(y){const{value:S}=r;return S.has(k)}else return m===k}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:b,handleMouseEnter:g,handleClick:h}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:i,nodeProps:a,renderOption:s,renderLabel:l,handleClick:c,handleMouseEnter:u,handleMouseMove:d}=this,f=zB(n,e),p=l?[l(t,n),i&&f]:[Vt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),g=v("div",Object.assign({},h,{class:[`${e}-base-select-option`,t.class,h==null?void 0:h.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(h==null?void 0:h.style)||"",t.style||""],onClick:ws([c,h==null?void 0:h.onClick]),onMouseenter:ws([u,h==null?void 0:h.onMouseenter]),onMousemove:ws([d,h==null?void 0:h.onMousemove])}),v("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:g,option:t,selected:n}):s?s({node:g,option:t,selected:n}):g}}),S0=me({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=qe(Pp);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Vt(r[this.labelField],r,!1),s=v("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:k0,cubicBezierEaseOut:T0}=co;function Ha({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[W("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${k0}, transform ${t} ${k0} ${r&&","+r}`}),W("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${T0}, transform ${t} ${T0} ${r&&","+r}`}),W("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),W("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const OB=O("base-select-menu",` + `,[al(),W("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),AB=Object.assign(Object.assign({},He.props),{size:{type:Number,default:5},duration:{type:Number,default:0},scrollable:{type:Boolean,default:!0},xScrollable:Boolean,trigger:{type:String,default:"hover"},useUnifiedContainer:Boolean,triggerDisplayManually:Boolean,container:Function,content:Function,containerClass:String,containerStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],horizontalRailStyle:[String,Object],verticalRailStyle:[String,Object],onScroll:Function,onWheel:Function,onResize:Function,internalOnUpdateScrollLeft:Function,internalHoistYRail:Boolean}),f_=me({name:"Scrollbar",props:AB,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=at(e),r=pn("Scrollbar",o,t),i=N(null),a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=N(null),h=N(null),g=N(null),b=N(0),m=N(0),y=N(!1),k=N(!1);let S=!1,w=!1,x,C,_=0,R=0,E=0,M=0;const A=I6(),q=L(()=>{const{value:X}=f,{value:pe}=u,{value:Te}=h;return X===null||pe===null||Te===null?0:Math.min(X,Te*X/pe+e.size*1.5)}),F=L(()=>`${q.value}px`),z=L(()=>{const{value:X}=p,{value:pe}=d,{value:Te}=g;return X===null||pe===null||Te===null?0:Te*X/pe+e.size*1.5}),D=L(()=>`${z.value}px`),Y=L(()=>{const{value:X}=f,{value:pe}=b,{value:Te}=u,{value:Ke}=h;if(X===null||Te===null||Ke===null)return 0;{const Xe=Te-X;return Xe?pe/Xe*(Ke-q.value):0}}),Q=L(()=>`${Y.value}px`),ce=L(()=>{const{value:X}=p,{value:pe}=m,{value:Te}=d,{value:Ke}=g;if(X===null||Te===null||Ke===null)return 0;{const Xe=Te-X;return Xe?pe/Xe*(Ke-z.value):0}}),le=L(()=>`${ce.value}px`),B=L(()=>{const{value:X}=f,{value:pe}=u;return X!==null&&pe!==null&&pe>X}),$=L(()=>{const{value:X}=p,{value:pe}=d;return X!==null&&pe!==null&&pe>X}),I=L(()=>{const{trigger:X}=e;return X==="none"||y.value}),K=L(()=>{const{trigger:X}=e;return X==="none"||k.value}),ne=L(()=>{const{container:X}=e;return X?X():a.value}),ve=L(()=>{const{content:X}=e;return X?X():s.value}),J=Dp(()=>{e.container||ge({top:b.value,left:m.value})}),ye=()=>{J.isDeactivated||de()},j=X=>{if(J.isDeactivated)return;const{onResize:pe}=e;pe&&pe(X),de()},ge=(X,pe)=>{if(!e.scrollable)return;if(typeof X=="number"){Ne(pe??0,X,0,!1,"auto");return}const{left:Te,top:Ke,index:Xe,elSize:Ze,position:tt,behavior:rt,el:yt,debounce:nn=!0}=X;(Te!==void 0||Ke!==void 0)&&Ne(Te??0,Ke??0,0,!1,rt),yt!==void 0?Ne(0,yt.offsetTop,yt.offsetHeight,nn,rt):Xe!==void 0&&Ze!==void 0?Ne(0,Xe*Ze,Ze,nn,rt):tt==="bottom"?Ne(0,Number.MAX_SAFE_INTEGER,0,!1,rt):tt==="top"&&Ne(0,0,0,!1,rt)},Ee=(X,pe)=>{if(!e.scrollable)return;const{value:Te}=ne;Te&&(typeof X=="object"?Te.scrollBy(X):Te.scrollBy(X,pe||0))};function Ne(X,pe,Te,Ke,Xe){const{value:Ze}=ne;if(Ze){if(Ke){const{scrollTop:tt,offsetHeight:rt}=Ze;if(pe>tt){pe+Te<=tt+rt||Ze.scrollTo({left:X,top:pe+Te-rt,behavior:Xe});return}}Ze.scrollTo({left:X,top:pe,behavior:Xe})}}function T(){se(),xe(),de()}function P(){U()}function U(){oe(),G()}function oe(){C!==void 0&&window.clearTimeout(C),C=window.setTimeout(()=>{k.value=!1},e.duration)}function G(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{y.value=!1},e.duration)}function se(){x!==void 0&&window.clearTimeout(x),y.value=!0}function xe(){C!==void 0&&window.clearTimeout(C),k.value=!0}function be(X){const{onScroll:pe}=e;pe&&pe(X),Ce()}function Ce(){const{value:X}=ne;X&&(b.value=X.scrollTop,m.value=X.scrollLeft*(r!=null&&r.value?-1:1))}function we(){const{value:X}=ve;X&&(u.value=X.offsetHeight,d.value=X.offsetWidth);const{value:pe}=ne;pe&&(f.value=pe.offsetHeight,p.value=pe.offsetWidth);const{value:Te}=c,{value:Ke}=l;Te&&(g.value=Te.offsetWidth),Ke&&(h.value=Ke.offsetHeight)}function Re(){const{value:X}=ne;X&&(b.value=X.scrollTop,m.value=X.scrollLeft*(r!=null&&r.value?-1:1),f.value=X.offsetHeight,p.value=X.offsetWidth,u.value=X.scrollHeight,d.value=X.scrollWidth);const{value:pe}=c,{value:Te}=l;pe&&(g.value=pe.offsetWidth),Te&&(h.value=Te.offsetHeight)}function de(){e.scrollable&&(e.useUnifiedContainer?Re():(we(),Ce()))}function ee(X){var pe;return!(!((pe=i.value)===null||pe===void 0)&&pe.contains(wi(X)))}function fe(X){X.preventDefault(),X.stopPropagation(),w=!0,Mt("mousemove",window,Oe,!0),Mt("mouseup",window,Le,!0),R=m.value,E=r!=null&&r.value?window.innerWidth-X.clientX:X.clientX}function Oe(X){if(!w)return;x!==void 0&&window.clearTimeout(x),C!==void 0&&window.clearTimeout(C);const{value:pe}=p,{value:Te}=d,{value:Ke}=z;if(pe===null||Te===null)return;const Ze=(r!=null&&r.value?window.innerWidth-X.clientX-E:X.clientX-E)*(Te-pe)/(pe-Ke),tt=Te-pe;let rt=R+Ze;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:yt}=ne;if(yt){yt.scrollLeft=rt*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:nn}=e;nn&&nn(rt)}}function Le(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,Oe,!0),Tt("mouseup",window,Le,!0),w=!1,de(),ee(X)&&U()}function De(X){X.preventDefault(),X.stopPropagation(),S=!0,Mt("mousemove",window,$e,!0),Mt("mouseup",window,Me,!0),_=b.value,M=X.clientY}function $e(X){if(!S)return;x!==void 0&&window.clearTimeout(x),C!==void 0&&window.clearTimeout(C);const{value:pe}=f,{value:Te}=u,{value:Ke}=q;if(pe===null||Te===null)return;const Ze=(X.clientY-M)*(Te-pe)/(pe-Ke),tt=Te-pe;let rt=_+Ze;rt=Math.min(tt,rt),rt=Math.max(rt,0);const{value:yt}=ne;yt&&(yt.scrollTop=rt)}function Me(X){X.preventDefault(),X.stopPropagation(),Tt("mousemove",window,$e,!0),Tt("mouseup",window,Me,!0),S=!1,de(),ee(X)&&U()}tn(()=>{const{value:X}=$,{value:pe}=B,{value:Te}=t,{value:Ke}=c,{value:Xe}=l;Ke&&(X?Ke.classList.remove(`${Te}-scrollbar-rail--disabled`):Ke.classList.add(`${Te}-scrollbar-rail--disabled`)),Xe&&(pe?Xe.classList.remove(`${Te}-scrollbar-rail--disabled`):Xe.classList.add(`${Te}-scrollbar-rail--disabled`))}),Lt(()=>{e.container||de()}),rn(()=>{x!==void 0&&window.clearTimeout(x),C!==void 0&&window.clearTimeout(C),Tt("mousemove",window,$e,!0),Tt("mouseup",window,Me,!0)});const Fe=He("Scrollbar","-scrollbar",$B,Ui,e,t),Be=L(()=>{const{common:{cubicBezierEaseInOut:X,scrollbarBorderRadius:pe,scrollbarHeight:Te,scrollbarWidth:Ke},self:{color:Xe,colorHover:Ze}}=Fe.value;return{"--n-scrollbar-bezier":X,"--n-scrollbar-color":Xe,"--n-scrollbar-color-hover":Ze,"--n-scrollbar-border-radius":pe,"--n-scrollbar-width":Ke,"--n-scrollbar-height":Te}}),ot=n?kt("scrollbar",void 0,Be,e):void 0;return Object.assign(Object.assign({},{scrollTo:ge,scrollBy:Ee,sync:de,syncUnifiedContainer:Re,handleMouseEnterWrapper:T,handleMouseLeaveWrapper:P}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:b,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:B,needXBar:$,yBarSizePx:F,xBarSizePx:D,yBarTopPx:Q,xBarLeftPx:le,isShowXBar:I,isShowYBar:K,isIos:A,handleScroll:be,handleContentResize:ye,handleContainerResize:j,handleYScrollMouseDown:De,handleXScrollMouseDown:fe,cssVars:n?void 0:Be,themeClass:ot==null?void 0:ot.themeClass,onRender:ot==null?void 0:ot.onRender})},render(){var e;const{$slots:t,mergedClsPrefix:n,triggerDisplayManually:o,rtlEnabled:r,internalHoistYRail:i}=this;if(!this.scrollable)return(e=t.default)===null||e===void 0?void 0:e.call(t);const a=this.trigger==="none",s=(u,d)=>v("div",{ref:"yRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--vertical`,u],"data-scrollbar-rail":!0,style:[d||"",this.verticalRailStyle],"aria-hiddens":!0},v(a?th:hn,a?null:{name:"fade-in-transition"},{default:()=>this.needYBar&&this.isShowYBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{height:this.yBarSizePx,top:this.yBarTopPx},onMousedown:this.handleYScrollMouseDown}):null})),l=()=>{var u,d;return(u=this.onRender)===null||u===void 0||u.call(this),v("div",Dn(this.$attrs,{role:"none",ref:"wrapperRef",class:[`${n}-scrollbar`,this.themeClass,r&&`${n}-scrollbar--rtl`],style:this.cssVars,onMouseenter:o?void 0:this.handleMouseEnterWrapper,onMouseleave:o?void 0:this.handleMouseLeaveWrapper}),[this.container?(d=t.default)===null||d===void 0?void 0:d.call(t):v("div",{role:"none",ref:"containerRef",class:[`${n}-scrollbar-container`,this.containerClass],style:this.containerStyle,onScroll:this.handleScroll,onWheel:this.onWheel},v(lr,{onResize:this.handleContentResize},{default:()=>v("div",{ref:"contentRef",role:"none",style:[{width:this.xScrollable?"fit-content":null},this.contentStyle],class:[`${n}-scrollbar-content`,this.contentClass]},t)})),i?null:s(void 0,void 0),this.xScrollable&&v("div",{ref:"xRailRef",class:[`${n}-scrollbar-rail`,`${n}-scrollbar-rail--horizontal`],style:this.horizontalRailStyle,"data-scrollbar-rail":!0,"aria-hidden":!0},v(a?th:hn,a?null:{name:"fade-in-transition"},{default:()=>this.needXBar&&this.isShowXBar&&!this.isIos?v("div",{class:`${n}-scrollbar-rail__scrollbar`,style:{width:this.xBarSizePx,right:r?this.xBarLeftPx:void 0,left:r?void 0:this.xBarLeftPx},onMousedown:this.handleXScrollMouseDown}):null}))])},c=this.container?l():v(lr,{onResize:this.handleContainerResize},{default:l});return i?v(it,null,c,s(this.themeClass,this.cssVars)):c}}),ko=f_,h_=f_,IB={height:"calc(var(--n-option-height) * 7.6)",paddingSmall:"4px 0",paddingMedium:"4px 0",paddingLarge:"4px 0",paddingHuge:"4px 0",optionPaddingSmall:"0 12px",optionPaddingMedium:"0 12px",optionPaddingLarge:"0 12px",optionPaddingHuge:"0 12px",loadingSize:"18px"},p_=e=>{const{borderRadius:t,popoverColor:n,textColor3:o,dividerColor:r,textColor2:i,primaryColorPressed:a,textColorDisabled:s,primaryColor:l,opacityDisabled:c,hoverColor:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,fontSizeHuge:h,heightSmall:g,heightMedium:b,heightLarge:m,heightHuge:y}=e;return Object.assign(Object.assign({},IB),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:p,optionFontSizeHuge:h,optionHeightSmall:g,optionHeightMedium:b,optionHeightLarge:m,optionHeightHuge:y,borderRadius:t,color:n,groupHeaderTextColor:o,actionDividerColor:r,optionTextColor:i,optionTextColorPressed:a,optionTextColorDisabled:s,optionTextColorActive:l,optionOpacityDisabled:c,optionCheckColor:l,optionColorPending:u,optionColorActive:"rgba(0, 0, 0, 0)",optionColorActivePending:u,actionTextColor:i,loadingColor:l})},MB={name:"InternalSelectMenu",common:bt,peers:{Scrollbar:Ui,Empty:Pu},self:p_},Zp=MB,zB={name:"InternalSelectMenu",common:Ve,peers:{Scrollbar:jn,Empty:Vi},self:p_},sl=zB;function OB(e,t){return v(hn,{name:"fade-in-scale-up-transition"},{default:()=>e?v(Ut,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>v(AN)}):null})}const _0=me({name:"NBaseSelectOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(e){const{valueRef:t,pendingTmNodeRef:n,multipleRef:o,valueSetRef:r,renderLabelRef:i,renderOptionRef:a,labelFieldRef:s,valueFieldRef:l,showCheckmarkRef:c,nodePropsRef:u,handleOptionClick:d,handleOptionMouseEnter:f}=qe(Pp),p=St(()=>{const{value:m}=n;return m?e.tmNode.key===m.key:!1});function h(m){const{tmNode:y}=e;y.disabled||d(m,y)}function g(m){const{tmNode:y}=e;y.disabled||f(m,y)}function b(m){const{tmNode:y}=e,{value:k}=p;y.disabled||k||f(m,y)}return{multiple:o,isGrouped:St(()=>{const{tmNode:m}=e,{parent:y}=m;return y&&y.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:p,isSelected:St(()=>{const{value:m}=t,{value:y}=o;if(m===null)return!1;const k=e.tmNode.rawNode[l.value];if(y){const{value:S}=r;return S.has(k)}else return m===k}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:b,handleMouseEnter:g,handleClick:h}},render(){const{clsPrefix:e,tmNode:{rawNode:t},isSelected:n,isPending:o,isGrouped:r,showCheckmark:i,nodeProps:a,renderOption:s,renderLabel:l,handleClick:c,handleMouseEnter:u,handleMouseMove:d}=this,f=OB(n,e),p=l?[l(t,n),i&&f]:[Vt(t[this.labelField],t,n),i&&f],h=a==null?void 0:a(t),g=v("div",Object.assign({},h,{class:[`${e}-base-select-option`,t.class,h==null?void 0:h.class,{[`${e}-base-select-option--disabled`]:t.disabled,[`${e}-base-select-option--selected`]:n,[`${e}-base-select-option--grouped`]:r,[`${e}-base-select-option--pending`]:o,[`${e}-base-select-option--show-checkmark`]:i}],style:[(h==null?void 0:h.style)||"",t.style||""],onClick:ws([c,h==null?void 0:h.onClick]),onMouseenter:ws([u,h==null?void 0:h.onMouseenter]),onMousemove:ws([d,h==null?void 0:h.onMousemove])}),v("div",{class:`${e}-base-select-option__content`},p));return t.render?t.render({node:g,option:t,selected:n}):s?s({node:g,option:t,selected:n}):g}}),S0=me({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=qe(Pp);return{labelField:n,nodeProps:o,renderLabel:e,renderOption:t}},render(){const{clsPrefix:e,renderLabel:t,renderOption:n,nodeProps:o,tmNode:{rawNode:r}}=this,i=o==null?void 0:o(r),a=t?t(r,!1):Vt(r[this.labelField],r,!1),s=v("div",Object.assign({},i,{class:[`${e}-base-select-group-header`,i==null?void 0:i.class]}),a);return r.render?r.render({node:s,option:r}):n?n({node:s,option:r,selected:!1}):s}}),{cubicBezierEaseIn:k0,cubicBezierEaseOut:T0}=co;function Ha({transformOrigin:e="inherit",duration:t=".2s",enterScale:n=".9",originalTransform:o="",originalTransition:r=""}={}){return[W("&.fade-in-scale-up-transition-leave-active",{transformOrigin:e,transition:`opacity ${t} ${k0}, transform ${t} ${k0} ${r&&","+r}`}),W("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${T0}, transform ${t} ${T0} ${r&&","+r}`}),W("&.fade-in-scale-up-transition-enter-from, &.fade-in-scale-up-transition-leave-to",{opacity:0,transform:`${o} scale(${n})`}),W("&.fade-in-scale-up-transition-leave-from, &.fade-in-scale-up-transition-enter-to",{opacity:1,transform:`${o} scale(1)`})]}const DB=O("base-select-menu",` line-height: 1.5; outline: none; z-index: 0; @@ -329,14 +329,14 @@ ${t} top: calc(50% - 7px); color: var(--n-option-check-color); transition: color .3s var(--n-bezier); - `,[Ha({enterScale:"0.5"})])])]),x_=me({name:"InternalSelectMenu",props:Object.assign(Object.assign({},He.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=pn("InternalSelectMenu",n,t),r=He("InternalSelectMenu","-internal-select-menu",OB,Zp,e,Ue(e,"clsPrefix")),i=N(null),a=N(null),s=N(null),l=L(()=>e.treeMate.getFlattenedNodes()),c=L(()=>nB(l.value)),u=N(null);function d(){const{treeMate:$}=e;let I=null;const{value:K}=e;K===null?I=$.getFirstAvailableNode():(e.multiple?I=$.getNode((K||[])[(K||[]).length-1]):I=$.getNode(K),(!I||I.disabled)&&(I=$.getFirstAvailableNode())),F(I||null)}function f(){const{value:$}=u;$&&!e.treeMate.getNode($.key)&&(u.value=null)}let p;ht(()=>e.show,$=>{$?p=ht(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(z)):f()},{immediate:!0}):p==null||p()},{immediate:!0}),rn(()=>{p==null||p()});const h=L(()=>kn(r.value.self[Se("optionHeight",e.size)])),g=L(()=>yo(r.value.self[Se("padding",e.size)])),b=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),m=L(()=>{const $=l.value;return $&&$.length===0});function y($){const{onToggle:I}=e;I&&I($)}function k($){const{onScroll:I}=e;I&&I($)}function S($){var I;(I=s.value)===null||I===void 0||I.sync(),k($)}function w(){var $;($=s.value)===null||$===void 0||$.sync()}function x(){const{value:$}=u;return $||null}function C($,I){I.disabled||F(I,!1)}function _($,I){I.disabled||y(I)}function R($){var I;Vo($,"action")||(I=e.onKeyup)===null||I===void 0||I.call(e,$)}function E($){var I;Vo($,"action")||(I=e.onKeydown)===null||I===void 0||I.call(e,$)}function M($){var I;(I=e.onMousedown)===null||I===void 0||I.call(e,$),!e.focusable&&$.preventDefault()}function A(){const{value:$}=u;$&&F($.getNext({loop:!0}),!0)}function q(){const{value:$}=u;$&&F($.getPrev({loop:!0}),!0)}function F($,I=!1){u.value=$,I&&z()}function z(){var $,I;const K=u.value;if(!K)return;const ne=c.value(K.key);ne!==null&&(e.virtualScroll?($=a.value)===null||$===void 0||$.scrollTo({index:ne}):(I=s.value)===null||I===void 0||I.scrollTo({index:ne,elSize:h.value}))}function D($){var I,K;!((I=i.value)===null||I===void 0)&&I.contains($.target)&&((K=e.onFocus)===null||K===void 0||K.call(e,$))}function Y($){var I,K;!((I=i.value)===null||I===void 0)&&I.contains($.relatedTarget)||(K=e.onBlur)===null||K===void 0||K.call(e,$)}lt(Pp,{handleOptionMouseEnter:C,handleOptionClick:_,valueSetRef:b,pendingTmNodeRef:u,nodePropsRef:Ue(e,"nodeProps"),showCheckmarkRef:Ue(e,"showCheckmark"),multipleRef:Ue(e,"multiple"),valueRef:Ue(e,"value"),renderLabelRef:Ue(e,"renderLabel"),renderOptionRef:Ue(e,"renderOption"),labelFieldRef:Ue(e,"labelField"),valueFieldRef:Ue(e,"valueField")}),lt(YC,i),Lt(()=>{const{value:$}=s;$&&$.sync()});const Q=L(()=>{const{size:$}=e,{common:{cubicBezierEaseInOut:I},self:{height:K,borderRadius:ne,color:ve,groupHeaderTextColor:J,actionDividerColor:ye,optionTextColorPressed:j,optionTextColor:ge,optionTextColorDisabled:Ee,optionTextColorActive:Ne,optionOpacityDisabled:T,optionCheckColor:P,actionTextColor:U,optionColorPending:oe,optionColorActive:G,loadingColor:se,loadingSize:xe,optionColorActivePending:be,[Se("optionFontSize",$)]:Ce,[Se("optionHeight",$)]:we,[Se("optionPadding",$)]:Re}}=r.value;return{"--n-height":K,"--n-action-divider-color":ye,"--n-action-text-color":U,"--n-bezier":I,"--n-border-radius":ne,"--n-color":ve,"--n-option-font-size":Ce,"--n-group-header-text-color":J,"--n-option-check-color":P,"--n-option-color-pending":oe,"--n-option-color-active":G,"--n-option-color-active-pending":be,"--n-option-height":we,"--n-option-opacity-disabled":T,"--n-option-text-color":ge,"--n-option-text-color-active":Ne,"--n-option-text-color-disabled":Ee,"--n-option-text-color-pressed":j,"--n-option-padding":Re,"--n-option-padding-left":yo(Re,"left"),"--n-option-padding-right":yo(Re,"right"),"--n-loading-color":se,"--n-loading-size":xe}}),{inlineThemeDisabled:ce}=e,le=ce?kt("internal-select-menu",L(()=>e.size[0]),Q,e):void 0,B={selfRef:i,next:A,prev:q,getPendingTmNode:x};return fw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:h,padding:g,flattenedNodes:l,empty:m,virtualListContainer(){const{value:$}=a;return $==null?void 0:$.listElRef},virtualListContent(){const{value:$}=a;return $==null?void 0:$.itemsElRef},doScroll:k,handleFocusin:D,handleFocusout:Y,handleKeyUp:R,handleKeyDown:E,handleMouseDown:M,handleVirtualListResize:w,handleVirtualListScroll:S,cssVars:ce?void 0:Q,themeClass:le==null?void 0:le.themeClass,onRender:le==null?void 0:le.onRender},B)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),v("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},$t(e.header,a=>a&&v("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?v("div",{class:`${n}-base-select-menu__loading`},v(Xr,{clsPrefix:n,strokeWidth:20})):this.empty?v("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[v(m_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):v(ko,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?v(sw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?v(S0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:v(_0,{clsPrefix:n,key:a.key,tmNode:a})}):v("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?v(S0,{key:a.key,clsPrefix:n,tmNode:a}):v(_0,{clsPrefix:n,key:a.key,tmNode:a})))}),$t(e.action,a=>a&&[v("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),v(HN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),DB=O("base-wave",` + `,[Ha({enterScale:"0.5"})])])]),m_=me({name:"InternalSelectMenu",props:Object.assign(Object.assign({},He.props),{clsPrefix:{type:String,required:!0},scrollable:{type:Boolean,default:!0},treeMate:{type:Object,required:!0},multiple:Boolean,size:{type:String,default:"medium"},value:{type:[String,Number,Array],default:null},autoPending:Boolean,virtualScroll:{type:Boolean,default:!0},show:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},loading:Boolean,focusable:Boolean,renderLabel:Function,renderOption:Function,nodeProps:Function,showCheckmark:{type:Boolean,default:!0},onMousedown:Function,onScroll:Function,onFocus:Function,onBlur:Function,onKeyup:Function,onKeydown:Function,onTabOut:Function,onMouseenter:Function,onMouseleave:Function,onResize:Function,resetMenuOnOptionsChange:{type:Boolean,default:!0},inlineThemeDisabled:Boolean,onToggle:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=pn("InternalSelectMenu",n,t),r=He("InternalSelectMenu","-internal-select-menu",DB,Zp,e,Ue(e,"clsPrefix")),i=N(null),a=N(null),s=N(null),l=L(()=>e.treeMate.getFlattenedNodes()),c=L(()=>oB(l.value)),u=N(null);function d(){const{treeMate:$}=e;let I=null;const{value:K}=e;K===null?I=$.getFirstAvailableNode():(e.multiple?I=$.getNode((K||[])[(K||[]).length-1]):I=$.getNode(K),(!I||I.disabled)&&(I=$.getFirstAvailableNode())),F(I||null)}function f(){const{value:$}=u;$&&!e.treeMate.getNode($.key)&&(u.value=null)}let p;ht(()=>e.show,$=>{$?p=ht(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(z)):f()},{immediate:!0}):p==null||p()},{immediate:!0}),rn(()=>{p==null||p()});const h=L(()=>kn(r.value.self[Se("optionHeight",e.size)])),g=L(()=>yo(r.value.self[Se("padding",e.size)])),b=L(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),m=L(()=>{const $=l.value;return $&&$.length===0});function y($){const{onToggle:I}=e;I&&I($)}function k($){const{onScroll:I}=e;I&&I($)}function S($){var I;(I=s.value)===null||I===void 0||I.sync(),k($)}function w(){var $;($=s.value)===null||$===void 0||$.sync()}function x(){const{value:$}=u;return $||null}function C($,I){I.disabled||F(I,!1)}function _($,I){I.disabled||y(I)}function R($){var I;Vo($,"action")||(I=e.onKeyup)===null||I===void 0||I.call(e,$)}function E($){var I;Vo($,"action")||(I=e.onKeydown)===null||I===void 0||I.call(e,$)}function M($){var I;(I=e.onMousedown)===null||I===void 0||I.call(e,$),!e.focusable&&$.preventDefault()}function A(){const{value:$}=u;$&&F($.getNext({loop:!0}),!0)}function q(){const{value:$}=u;$&&F($.getPrev({loop:!0}),!0)}function F($,I=!1){u.value=$,I&&z()}function z(){var $,I;const K=u.value;if(!K)return;const ne=c.value(K.key);ne!==null&&(e.virtualScroll?($=a.value)===null||$===void 0||$.scrollTo({index:ne}):(I=s.value)===null||I===void 0||I.scrollTo({index:ne,elSize:h.value}))}function D($){var I,K;!((I=i.value)===null||I===void 0)&&I.contains($.target)&&((K=e.onFocus)===null||K===void 0||K.call(e,$))}function Y($){var I,K;!((I=i.value)===null||I===void 0)&&I.contains($.relatedTarget)||(K=e.onBlur)===null||K===void 0||K.call(e,$)}lt(Pp,{handleOptionMouseEnter:C,handleOptionClick:_,valueSetRef:b,pendingTmNodeRef:u,nodePropsRef:Ue(e,"nodeProps"),showCheckmarkRef:Ue(e,"showCheckmark"),multipleRef:Ue(e,"multiple"),valueRef:Ue(e,"value"),renderLabelRef:Ue(e,"renderLabel"),renderOptionRef:Ue(e,"renderOption"),labelFieldRef:Ue(e,"labelField"),valueFieldRef:Ue(e,"valueField")}),lt(UC,i),Lt(()=>{const{value:$}=s;$&&$.sync()});const Q=L(()=>{const{size:$}=e,{common:{cubicBezierEaseInOut:I},self:{height:K,borderRadius:ne,color:ve,groupHeaderTextColor:J,actionDividerColor:ye,optionTextColorPressed:j,optionTextColor:ge,optionTextColorDisabled:Ee,optionTextColorActive:Ne,optionOpacityDisabled:T,optionCheckColor:P,actionTextColor:U,optionColorPending:oe,optionColorActive:G,loadingColor:se,loadingSize:xe,optionColorActivePending:be,[Se("optionFontSize",$)]:Ce,[Se("optionHeight",$)]:we,[Se("optionPadding",$)]:Re}}=r.value;return{"--n-height":K,"--n-action-divider-color":ye,"--n-action-text-color":U,"--n-bezier":I,"--n-border-radius":ne,"--n-color":ve,"--n-option-font-size":Ce,"--n-group-header-text-color":J,"--n-option-check-color":P,"--n-option-color-pending":oe,"--n-option-color-active":G,"--n-option-color-active-pending":be,"--n-option-height":we,"--n-option-opacity-disabled":T,"--n-option-text-color":ge,"--n-option-text-color-active":Ne,"--n-option-text-color-disabled":Ee,"--n-option-text-color-pressed":j,"--n-option-padding":Re,"--n-option-padding-left":yo(Re,"left"),"--n-option-padding-right":yo(Re,"right"),"--n-loading-color":se,"--n-loading-size":xe}}),{inlineThemeDisabled:ce}=e,le=ce?kt("internal-select-menu",L(()=>e.size[0]),Q,e):void 0,B={selfRef:i,next:A,prev:q,getPendingTmNode:x};return sw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:h,padding:g,flattenedNodes:l,empty:m,virtualListContainer(){const{value:$}=a;return $==null?void 0:$.listElRef},virtualListContent(){const{value:$}=a;return $==null?void 0:$.itemsElRef},doScroll:k,handleFocusin:D,handleFocusout:Y,handleKeyUp:R,handleKeyDown:E,handleMouseDown:M,handleVirtualListResize:w,handleVirtualListScroll:S,cssVars:ce?void 0:Q,themeClass:le==null?void 0:le.themeClass,onRender:le==null?void 0:le.onRender},B)},render(){const{$slots:e,virtualScroll:t,clsPrefix:n,mergedTheme:o,themeClass:r,onRender:i}=this;return i==null||i(),v("div",{ref:"selfRef",tabindex:this.focusable?0:-1,class:[`${n}-base-select-menu`,this.rtlEnabled&&`${n}-base-select-menu--rtl`,r,this.multiple&&`${n}-base-select-menu--multiple`],style:this.cssVars,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onKeyup:this.handleKeyUp,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},$t(e.header,a=>a&&v("div",{class:`${n}-base-select-menu__header`,"data-header":!0,key:"header"},a)),this.loading?v("div",{class:`${n}-base-select-menu__loading`},v(Xr,{clsPrefix:n,strokeWidth:20})):this.empty?v("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},An(e.empty,()=>[v(u_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):v(ko,{ref:"scrollbarRef",theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,scrollable:this.scrollable,container:t?this.virtualListContainer:void 0,content:t?this.virtualListContent:void 0,onScroll:t?void 0:this.doScroll},{default:()=>t?v(nw,{ref:"virtualListRef",class:`${n}-virtual-list`,items:this.flattenedNodes,itemSize:this.itemSize,showScrollbar:!1,paddingTop:this.padding.top,paddingBottom:this.padding.bottom,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemResizable:!0},{default:({item:a})=>a.isGroup?v(S0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:v(_0,{clsPrefix:n,key:a.key,tmNode:a})}):v("div",{class:`${n}-base-select-menu-option-wrapper`,style:{paddingTop:this.padding.top,paddingBottom:this.padding.bottom}},this.flattenedNodes.map(a=>a.isGroup?v(S0,{key:a.key,clsPrefix:n,tmNode:a}):v(_0,{clsPrefix:n,key:a.key,tmNode:a})))}),$t(e.action,a=>a&&[v("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),v(jN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),LB=O("base-wave",` position: absolute; left: 0; right: 0; top: 0; bottom: 0; border-radius: inherit; -`),LB=me({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Yr("-base-wave",DB,Ue(e,"clsPrefix"));const t=N(null),n=N(!1);let o=null;return rn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),Ht(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return v("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),FB={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},C_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},FB),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},NB={name:"Popover",common:bt,self:C_},ja=NB,BB={name:"Popover",common:Ve,self:C_},Wi=BB,Fd={top:"bottom",bottom:"top",left:"right",right:"left"},bn="var(--n-arrow-height) * 1.414",HB=W([O("popover",` +`),FB=me({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){Yr("-base-wave",LB,Ue(e,"clsPrefix"));const t=N(null),n=N(!1);let o=null;return rn(()=>{o!==null&&window.clearTimeout(o)}),{active:n,selfRef:t,play(){o!==null&&(window.clearTimeout(o),n.value=!1,o=null),Ht(()=>{var r;(r=t.value)===null||r===void 0||r.offsetHeight,n.value=!0,o=window.setTimeout(()=>{n.value=!1,o=null},1e3)})}}},render(){const{clsPrefix:e}=this;return v("div",{ref:"selfRef","aria-hidden":!0,class:[`${e}-base-wave`,this.active&&`${e}-base-wave--active`]})}}),NB={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"},g_=e=>{const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},NB),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})},BB={name:"Popover",common:bt,self:g_},ja=BB,HB={name:"Popover",common:Ve,self:g_},Wi=HB,Nd={top:"bottom",bottom:"top",left:"right",right:"left"},bn="var(--n-arrow-height) * 1.414",jB=W([O("popover",` transition: box-shadow .3s var(--n-bezier), background-color .3s var(--n-bezier), @@ -438,21 +438,21 @@ ${t} `),to("right-end",` right: calc(${bn} / -2); bottom: calc(${tr("right-end")} + var(--v-offset-top)); - `),...SL({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(r=>{const i=r.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${bn}) / 2)`,l=tr(r);return W(`[v-placement="${r}"] >`,[O("popover-shared",[Z("center-arrow",[O("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function tr(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function to(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return W(`[v-placement="${e}"] >`,[O("popover-shared",` - margin-${Fd[n]}: var(--n-space); + `),...kL({top:["right-start","left-start"],right:["top-end","bottom-end"],bottom:["right-end","left-end"],left:["top-start","bottom-start"]},(e,t)=>{const n=["right","left"].includes(t),o=n?"width":"height";return e.map(r=>{const i=r.split("-")[1]==="end",s=`calc((${`var(--v-target-${o}, 0px)`} - ${bn}) / 2)`,l=tr(r);return W(`[v-placement="${r}"] >`,[O("popover-shared",[Z("center-arrow",[O("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function tr(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function to(e,t){const n=e.split("-")[0],o=["top","bottom"].includes(n)?"height: var(--n-space-arrow);":"width: var(--n-space-arrow);";return W(`[v-placement="${e}"] >`,[O("popover-shared",` + margin-${Nd[n]}: var(--n-space); `,[Z("show-arrow",` - margin-${Fd[n]}: var(--n-space-arrow); + margin-${Nd[n]}: var(--n-space-arrow); `),Z("overlap",` margin: 0; - `),v6("popover-arrow-wrapper",` + `),b6("popover-arrow-wrapper",` right: 0; left: 0; top: 0; bottom: 0; ${n}: 100%; - ${Fd[n]}: auto; + ${Nd[n]}: auto; ${o} - `,[O("popover-arrow",t)])])])}const w_=Object.assign(Object.assign({},He.props),{to:Wo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),__=({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r})=>v("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},v("div",{class:[`${r}-popover-arrow`,e],style:t})),jB=me({name:"PopoverBody",inheritAttrs:!1,props:w_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=at(e),a=He("Popover","-popover",HB,ja,e,r),s=N(null),l=qe("NPopover"),c=N(null),u=N(e.show),d=N(!1);tn(()=>{const{show:C}=e;C&&!b6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=L(()=>{const{trigger:C,onClickoutside:_}=e,R=[],{positionManuallyRef:{value:E}}=l;return E||(C==="click"&&!_&&R.push([Ta,S,void 0,{capture:!0}]),C==="hover"&&R.push([F6,k])),_&&R.push([Ta,S,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&R.push([Jn,e.show]),R}),p=L(()=>{const C=e.width==="trigger"?void 0:qt(e.width),_=[];C&&_.push({width:C});const{maxWidth:R,minWidth:E}=e;return R&&_.push({maxWidth:qt(R)}),E&&_.push({maxWidth:qt(E)}),i||_.push(h.value),_}),h=L(()=>{const{common:{cubicBezierEaseInOut:C,cubicBezierEaseIn:_,cubicBezierEaseOut:R},self:{space:E,spaceArrow:M,padding:A,fontSize:q,textColor:F,dividerColor:z,color:D,boxShadow:Y,borderRadius:Q,arrowHeight:ce,arrowOffset:le,arrowOffsetVertical:B}}=a.value;return{"--n-box-shadow":Y,"--n-bezier":C,"--n-bezier-ease-in":_,"--n-bezier-ease-out":R,"--n-font-size":q,"--n-text-color":F,"--n-color":D,"--n-divider-color":z,"--n-border-radius":Q,"--n-arrow-height":ce,"--n-arrow-offset":le,"--n-arrow-offset-vertical":B,"--n-padding":A,"--n-space":E,"--n-space-arrow":M}}),g=i?kt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:b}),rn(()=>{l.setBodyInstance(null)}),ht(Ue(e,"show"),C=>{e.animated||(C?u.value=!0:u.value=!1)});function b(){var C;(C=s.value)===null||C===void 0||C.syncPosition()}function m(C){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(C)}function y(C){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(C)}function k(C){e.trigger==="hover"&&!w().contains(wi(C))&&l.handleMouseMoveOutside(C)}function S(C){(e.trigger==="click"&&!w().contains(wi(C))||e.onClickoutside)&&l.handleClickOutside(C)}function w(){return l.getTriggerElement()}lt(Fa,c),lt(ol,null),lt(nl,null);function x(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let _;const R=l.internalRenderBodyRef.value,{value:E}=r;if(R)_=R([`${E}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${E}-popover-shared--overlap`,e.showArrow&&`${E}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${E}-popover-shared--center-arrow`],c,p.value,m,y);else{const{value:M}=l.extraClassRef,{internalTrapFocus:A}=e,q=!da(t.header)||!da(t.footer),F=()=>{var z,D;const Y=q?v(it,null,$t(t.header,le=>le?v("div",{class:[`${E}-popover__header`,e.headerClass],style:e.headerStyle},le):null),$t(t.default,le=>le?v("div",{class:[`${E}-popover__content`,e.contentClass],style:e.contentStyle},t):null),$t(t.footer,le=>le?v("div",{class:[`${E}-popover__footer`,e.footerClass],style:e.footerStyle},le):null)):e.scrollable?(z=t.default)===null||z===void 0?void 0:z.call(t):v("div",{class:[`${E}-popover__content`,e.contentClass],style:e.contentStyle},t),Q=e.scrollable?v(b_,{contentClass:q?void 0:`${E}-popover__content ${(D=e.contentClass)!==null&&D!==void 0?D:""}`,contentStyle:q?void 0:e.contentStyle},{default:()=>Y}):Y,ce=e.showArrow?__({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:E}):null;return[Q,ce]};_=v("div",Dn({class:[`${E}-popover`,`${E}-popover-shared`,g==null?void 0:g.themeClass.value,M.map(z=>`${E}-${z}`),{[`${E}-popover--scrollable`]:e.scrollable,[`${E}-popover--show-header-or-footer`]:q,[`${E}-popover--raw`]:e.raw,[`${E}-popover-shared--overlap`]:e.overlap,[`${E}-popover-shared--show-arrow`]:e.showArrow,[`${E}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:m,onMouseleave:y},n),A?v(zp,{active:e.show,autoFocus:!0},{default:F}):F())}return Cn(_,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Wo(e),followerEnabled:u,renderContentNode:x}},render(){return v(Ip,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Wo.tdkey},{default:()=>this.animated?v(hn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),VB=Object.keys(w_),UB={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function WB(e,t,n){UB[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const r=e.props[o],i=n[o];r?e.props[o]=(...a)=>{r(...a),i(...a)}:e.props[o]=i})}const Ra={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Wo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},qB=Object.assign(Object.assign(Object.assign({},He.props),Ra),{internalOnAfterLeave:Function,internalRenderBody:Function}),ll=me({name:"Popover",inheritAttrs:!1,props:qB,__popover__:!0,setup(e){const t=Gr(),n=N(null),o=L(()=>e.show),r=N(e.defaultShow),i=ln(o,r),a=St(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:z}=e;return!!(z!=null&&z())},l=()=>s()?!1:i.value,c=bu(e,["arrow","showArrow"]),u=L(()=>e.overlap?!1:c.value);let d=null;const f=N(null),p=N(null),h=St(()=>e.x!==void 0&&e.y!==void 0);function g(z){const{"onUpdate:show":D,onUpdateShow:Y,onShow:Q,onHide:ce}=e;r.value=z,D&&Pe(D,z),Y&&Pe(Y,z),z&&Q&&Pe(Q,!0),z&&ce&&Pe(ce,!1)}function b(){d&&d.syncPosition()}function m(){const{value:z}=f;z&&(window.clearTimeout(z),f.value=null)}function y(){const{value:z}=p;z&&(window.clearTimeout(z),p.value=null)}function k(){const z=s();if(e.trigger==="focus"&&!z){if(l())return;g(!0)}}function S(){const z=s();if(e.trigger==="focus"&&!z){if(!l())return;g(!1)}}function w(){const z=s();if(e.trigger==="hover"&&!z){if(y(),f.value!==null||l())return;const D=()=>{g(!0),f.value=null},{delay:Y}=e;Y===0?D():f.value=window.setTimeout(D,Y)}}function x(){const z=s();if(e.trigger==="hover"&&!z){if(m(),p.value!==null||!l())return;const D=()=>{g(!1),p.value=null},{duration:Y}=e;Y===0?D():p.value=window.setTimeout(D,Y)}}function C(){x()}function _(z){var D;l()&&(e.trigger==="click"&&(m(),y(),g(!1)),(D=e.onClickoutside)===null||D===void 0||D.call(e,z))}function R(){if(e.trigger==="click"&&!s()){m(),y();const z=!l();g(z)}}function E(z){e.internalTrapFocus&&z.key==="Escape"&&(m(),y(),g(!1))}function M(z){r.value=z}function A(){var z;return(z=n.value)===null||z===void 0?void 0:z.targetRef}function q(z){d=z}return lt("NPopover",{getTriggerElement:A,handleKeydown:E,handleMouseEnter:w,handleMouseLeave:x,handleClickOutside:_,handleMouseMoveOutside:C,setBodyInstance:q,positionManuallyRef:h,isMountedRef:t,zIndexRef:Ue(e,"zIndex"),extraClassRef:Ue(e,"internalExtraClass"),internalRenderBodyRef:Ue(e,"internalRenderBody")}),tn(()=>{i.value&&s()&&g(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:M,handleClick:R,handleMouseEnter:w,handleMouseLeave:x,handleFocus:k,handleBlur:S,syncPosition:b}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=Qf(n,"activator"):o=Qf(n,"trigger"),o)){o=ao(o),o=o.type===Ma?v("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};WB(o,a?"nested":t?"manual":this.trigger,l)}}return v(Ep,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?Cn(v("div",{style:{position:"fixed",inset:0}}),[[yu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:v($p,null,{default:()=>o}),v(jB,Xn(this.$props,VB,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),S_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},KB={name:"Tag",common:Ve,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:d,opacityDisabled:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:m,borderRadiusSmall:y,fontSizeMini:k,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,heightMini:C,heightTiny:_,heightSmall:R,heightMedium:E,buttonColor2Hover:M,buttonColor2Pressed:A,fontWeightStrong:q}=e;return Object.assign(Object.assign({},S_),{closeBorderRadius:y,heightTiny:C,heightSmall:_,heightMedium:R,heightLarge:E,borderRadius:y,opacityDisabled:f,fontSizeTiny:k,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:M,colorPressedCheckable:A,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:m,borderPrimary:`1px solid ${Ie(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ie(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:fn(r,{lightness:.7}),closeIconColorHoverPrimary:fn(r,{lightness:.7}),closeIconColorPressedPrimary:fn(r,{lightness:.7}),closeColorHoverPrimary:Ie(r,{alpha:.16}),closeColorPressedPrimary:Ie(r,{alpha:.12}),borderInfo:`1px solid ${Ie(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ie(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:fn(i,{alpha:.7}),closeIconColorHoverInfo:fn(i,{alpha:.7}),closeIconColorPressedInfo:fn(i,{alpha:.7}),closeColorHoverInfo:Ie(i,{alpha:.16}),closeColorPressedInfo:Ie(i,{alpha:.12}),borderSuccess:`1px solid ${Ie(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ie(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:fn(a,{alpha:.7}),closeIconColorHoverSuccess:fn(a,{alpha:.7}),closeIconColorPressedSuccess:fn(a,{alpha:.7}),closeColorHoverSuccess:Ie(a,{alpha:.16}),closeColorPressedSuccess:Ie(a,{alpha:.12}),borderWarning:`1px solid ${Ie(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Ie(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:fn(s,{alpha:.7}),closeIconColorHoverWarning:fn(s,{alpha:.7}),closeIconColorPressedWarning:fn(s,{alpha:.7}),closeColorHoverWarning:Ie(s,{alpha:.16}),closeColorPressedWarning:Ie(s,{alpha:.11}),borderError:`1px solid ${Ie(l,{alpha:.3})}`,textColorError:l,colorError:Ie(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:fn(l,{alpha:.7}),closeIconColorHoverError:fn(l,{alpha:.7}),closeIconColorPressedError:fn(l,{alpha:.7}),closeColorHoverError:Ie(l,{alpha:.16}),closeColorPressedError:Ie(l,{alpha:.12})})}},k_=KB,GB=e=>{const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,borderRadiusSmall:b,fontSizeMini:m,fontSizeTiny:y,fontSizeSmall:k,fontSizeMedium:S,heightMini:w,heightTiny:x,heightSmall:C,heightMedium:_,closeColorHover:R,closeColorPressed:E,buttonColor2Hover:M,buttonColor2Pressed:A,fontWeightStrong:q}=e;return Object.assign(Object.assign({},S_),{closeBorderRadius:b,heightTiny:w,heightSmall:x,heightMedium:C,heightLarge:_,borderRadius:b,opacityDisabled:d,fontSizeTiny:m,fontSizeSmall:y,fontSizeMedium:k,fontSizeLarge:S,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:M,colorPressedCheckable:A,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:R,closeColorPressed:E,borderPrimary:`1px solid ${Ie(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ie(r,{alpha:.12}),colorBorderedPrimary:Ie(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Ie(r,{alpha:.12}),closeColorPressedPrimary:Ie(r,{alpha:.18}),borderInfo:`1px solid ${Ie(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ie(i,{alpha:.12}),colorBorderedInfo:Ie(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Ie(i,{alpha:.12}),closeColorPressedInfo:Ie(i,{alpha:.18}),borderSuccess:`1px solid ${Ie(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ie(a,{alpha:.12}),colorBorderedSuccess:Ie(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Ie(a,{alpha:.12}),closeColorPressedSuccess:Ie(a,{alpha:.18}),borderWarning:`1px solid ${Ie(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Ie(s,{alpha:.15}),colorBorderedWarning:Ie(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Ie(s,{alpha:.12}),closeColorPressedWarning:Ie(s,{alpha:.18}),borderError:`1px solid ${Ie(l,{alpha:.23})}`,textColorError:l,colorError:Ie(l,{alpha:.1}),colorBorderedError:Ie(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Ie(l,{alpha:.12}),closeColorPressedError:Ie(l,{alpha:.18})})},YB={name:"Tag",common:bt,self:GB},XB=YB,ZB={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},JB=O("tag",` + `,[O("popover-arrow",t)])])])}const v_=Object.assign(Object.assign({},He.props),{to:Wo.propTo,show:Boolean,trigger:String,showArrow:Boolean,delay:Number,duration:Number,raw:Boolean,arrowPointToCenter:Boolean,arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],displayDirective:String,x:Number,y:Number,flip:Boolean,overlap:Boolean,placement:String,width:[Number,String],keepAliveOnHover:Boolean,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],internalDeactivateImmediately:Boolean,animated:Boolean,onClickoutside:Function,internalTrapFocus:Boolean,internalOnAfterLeave:Function,minWidth:Number,maxWidth:Number}),b_=({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r})=>v("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},v("div",{class:[`${r}-popover-arrow`,e],style:t})),VB=me({name:"PopoverBody",inheritAttrs:!1,props:v_,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=at(e),a=He("Popover","-popover",jB,ja,e,r),s=N(null),l=qe("NPopover"),c=N(null),u=N(e.show),d=N(!1);tn(()=>{const{show:C}=e;C&&!y6()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=L(()=>{const{trigger:C,onClickoutside:_}=e,R=[],{positionManuallyRef:{value:E}}=l;return E||(C==="click"&&!_&&R.push([Ta,S,void 0,{capture:!0}]),C==="hover"&&R.push([N6,k])),_&&R.push([Ta,S,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&R.push([Jn,e.show]),R}),p=L(()=>{const C=e.width==="trigger"?void 0:qt(e.width),_=[];C&&_.push({width:C});const{maxWidth:R,minWidth:E}=e;return R&&_.push({maxWidth:qt(R)}),E&&_.push({maxWidth:qt(E)}),i||_.push(h.value),_}),h=L(()=>{const{common:{cubicBezierEaseInOut:C,cubicBezierEaseIn:_,cubicBezierEaseOut:R},self:{space:E,spaceArrow:M,padding:A,fontSize:q,textColor:F,dividerColor:z,color:D,boxShadow:Y,borderRadius:Q,arrowHeight:ce,arrowOffset:le,arrowOffsetVertical:B}}=a.value;return{"--n-box-shadow":Y,"--n-bezier":C,"--n-bezier-ease-in":_,"--n-bezier-ease-out":R,"--n-font-size":q,"--n-text-color":F,"--n-color":D,"--n-divider-color":z,"--n-border-radius":Q,"--n-arrow-height":ce,"--n-arrow-offset":le,"--n-arrow-offset-vertical":B,"--n-padding":A,"--n-space":E,"--n-space-arrow":M}}),g=i?kt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:b}),rn(()=>{l.setBodyInstance(null)}),ht(Ue(e,"show"),C=>{e.animated||(C?u.value=!0:u.value=!1)});function b(){var C;(C=s.value)===null||C===void 0||C.syncPosition()}function m(C){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(C)}function y(C){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(C)}function k(C){e.trigger==="hover"&&!w().contains(wi(C))&&l.handleMouseMoveOutside(C)}function S(C){(e.trigger==="click"&&!w().contains(wi(C))||e.onClickoutside)&&l.handleClickOutside(C)}function w(){return l.getTriggerElement()}lt(Fa,c),lt(ol,null),lt(nl,null);function x(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let _;const R=l.internalRenderBodyRef.value,{value:E}=r;if(R)_=R([`${E}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${E}-popover-shared--overlap`,e.showArrow&&`${E}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${E}-popover-shared--center-arrow`],c,p.value,m,y);else{const{value:M}=l.extraClassRef,{internalTrapFocus:A}=e,q=!da(t.header)||!da(t.footer),F=()=>{var z,D;const Y=q?v(it,null,$t(t.header,le=>le?v("div",{class:[`${E}-popover__header`,e.headerClass],style:e.headerStyle},le):null),$t(t.default,le=>le?v("div",{class:[`${E}-popover__content`,e.contentClass],style:e.contentStyle},t):null),$t(t.footer,le=>le?v("div",{class:[`${E}-popover__footer`,e.footerClass],style:e.footerStyle},le):null)):e.scrollable?(z=t.default)===null||z===void 0?void 0:z.call(t):v("div",{class:[`${E}-popover__content`,e.contentClass],style:e.contentStyle},t),Q=e.scrollable?v(h_,{contentClass:q?void 0:`${E}-popover__content ${(D=e.contentClass)!==null&&D!==void 0?D:""}`,contentStyle:q?void 0:e.contentStyle},{default:()=>Y}):Y,ce=e.showArrow?b_({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:E}):null;return[Q,ce]};_=v("div",Dn({class:[`${E}-popover`,`${E}-popover-shared`,g==null?void 0:g.themeClass.value,M.map(z=>`${E}-${z}`),{[`${E}-popover--scrollable`]:e.scrollable,[`${E}-popover--show-header-or-footer`]:q,[`${E}-popover--raw`]:e.raw,[`${E}-popover-shared--overlap`]:e.overlap,[`${E}-popover-shared--show-arrow`]:e.showArrow,[`${E}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:m,onMouseleave:y},n),A?v(zp,{active:e.show,autoFocus:!0},{default:F}):F())}return Cn(_,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Wo(e),followerEnabled:u,renderContentNode:x}},render(){return v(Ip,{ref:"followerRef",zIndex:this.zIndex,show:this.show,enabled:this.followerEnabled,to:this.adjustedTo,x:this.x,y:this.y,flip:this.flip,placement:this.placement,containerClass:this.namespace,overlap:this.overlap,width:this.width==="trigger"?"target":void 0,teleportDisabled:this.adjustedTo===Wo.tdkey},{default:()=>this.animated?v(hn,{name:"popover-transition",appear:this.isMounted,onEnter:()=>{this.followerEnabled=!0},onAfterLeave:()=>{var e;(e=this.internalOnAfterLeave)===null||e===void 0||e.call(this),this.followerEnabled=!1,this.displayed=!1}},{default:this.renderContentNode}):this.renderContentNode()})}}),UB=Object.keys(v_),WB={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function qB(e,t,n){WB[t].forEach(o=>{e.props?e.props=Object.assign({},e.props):e.props={};const r=e.props[o],i=n[o];r?e.props[o]=(...a)=>{r(...a),i(...a)}:e.props[o]=i})}const Ra={show:{type:Boolean,default:void 0},defaultShow:Boolean,showArrow:{type:Boolean,default:!0},trigger:{type:String,default:"hover"},delay:{type:Number,default:100},duration:{type:Number,default:100},raw:Boolean,placement:{type:String,default:"top"},x:Number,y:Number,arrowPointToCenter:Boolean,disabled:Boolean,getDisabled:Function,displayDirective:{type:String,default:"if"},arrowClass:String,arrowStyle:[String,Object],arrowWrapperClass:String,arrowWrapperStyle:[String,Object],flip:{type:Boolean,default:!0},animated:{type:Boolean,default:!0},width:{type:[Number,String],default:void 0},overlap:Boolean,keepAliveOnHover:{type:Boolean,default:!0},zIndex:Number,to:Wo.propTo,scrollable:Boolean,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],onClickoutside:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],internalDeactivateImmediately:Boolean,internalSyncTargetWithParent:Boolean,internalInheritedEventHandlers:{type:Array,default:()=>[]},internalTrapFocus:Boolean,internalExtraClass:{type:Array,default:()=>[]},onShow:[Function,Array],onHide:[Function,Array],arrow:{type:Boolean,default:void 0},minWidth:Number,maxWidth:Number},KB=Object.assign(Object.assign(Object.assign({},He.props),Ra),{internalOnAfterLeave:Function,internalRenderBody:Function}),ll=me({name:"Popover",inheritAttrs:!1,props:KB,__popover__:!0,setup(e){const t=Gr(),n=N(null),o=L(()=>e.show),r=N(e.defaultShow),i=ln(o,r),a=St(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:z}=e;return!!(z!=null&&z())},l=()=>s()?!1:i.value,c=yu(e,["arrow","showArrow"]),u=L(()=>e.overlap?!1:c.value);let d=null;const f=N(null),p=N(null),h=St(()=>e.x!==void 0&&e.y!==void 0);function g(z){const{"onUpdate:show":D,onUpdateShow:Y,onShow:Q,onHide:ce}=e;r.value=z,D&&Pe(D,z),Y&&Pe(Y,z),z&&Q&&Pe(Q,!0),z&&ce&&Pe(ce,!1)}function b(){d&&d.syncPosition()}function m(){const{value:z}=f;z&&(window.clearTimeout(z),f.value=null)}function y(){const{value:z}=p;z&&(window.clearTimeout(z),p.value=null)}function k(){const z=s();if(e.trigger==="focus"&&!z){if(l())return;g(!0)}}function S(){const z=s();if(e.trigger==="focus"&&!z){if(!l())return;g(!1)}}function w(){const z=s();if(e.trigger==="hover"&&!z){if(y(),f.value!==null||l())return;const D=()=>{g(!0),f.value=null},{delay:Y}=e;Y===0?D():f.value=window.setTimeout(D,Y)}}function x(){const z=s();if(e.trigger==="hover"&&!z){if(m(),p.value!==null||!l())return;const D=()=>{g(!1),p.value=null},{duration:Y}=e;Y===0?D():p.value=window.setTimeout(D,Y)}}function C(){x()}function _(z){var D;l()&&(e.trigger==="click"&&(m(),y(),g(!1)),(D=e.onClickoutside)===null||D===void 0||D.call(e,z))}function R(){if(e.trigger==="click"&&!s()){m(),y();const z=!l();g(z)}}function E(z){e.internalTrapFocus&&z.key==="Escape"&&(m(),y(),g(!1))}function M(z){r.value=z}function A(){var z;return(z=n.value)===null||z===void 0?void 0:z.targetRef}function q(z){d=z}return lt("NPopover",{getTriggerElement:A,handleKeydown:E,handleMouseEnter:w,handleMouseLeave:x,handleClickOutside:_,handleMouseMoveOutside:C,setBodyInstance:q,positionManuallyRef:h,isMountedRef:t,zIndexRef:Ue(e,"zIndex"),extraClassRef:Ue(e,"internalExtraClass"),internalRenderBodyRef:Ue(e,"internalRenderBody")}),tn(()=>{i.value&&s()&&g(!1)}),{binderInstRef:n,positionManually:h,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:M,handleClick:R,handleMouseEnter:w,handleMouseLeave:x,handleFocus:k,handleBlur:S,syncPosition:b}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=Qf(n,"activator"):o=Qf(n,"trigger"),o)){o=ao(o),o=o.type===Ma?v("span",[o]):o;const i={onClick:this.handleClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onFocus:this.handleFocus,onBlur:this.handleBlur};if(!((e=o.type)===null||e===void 0)&&e.__popover__)r=!0,o.props||(o.props={internalSyncTargetWithParent:!0,internalInheritedEventHandlers:[]}),o.props.internalSyncTargetWithParent=!0,o.props.internalInheritedEventHandlers?o.props.internalInheritedEventHandlers=[i,...o.props.internalInheritedEventHandlers]:o.props.internalInheritedEventHandlers=[i];else{const{internalInheritedEventHandlers:a}=this,s=[i,...a],l={onBlur:c=>{s.forEach(u=>{u.onBlur(c)})},onFocus:c=>{s.forEach(u=>{u.onFocus(c)})},onClick:c=>{s.forEach(u=>{u.onClick(c)})},onMouseenter:c=>{s.forEach(u=>{u.onMouseenter(c)})},onMouseleave:c=>{s.forEach(u=>{u.onMouseleave(c)})}};qB(o,a?"nested":t?"manual":this.trigger,l)}}return v(Ep,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?Cn(v("div",{style:{position:"fixed",inset:0}}),[[xu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:v($p,null,{default:()=>o}),v(VB,Xn(this.$props,UB,Object.assign(Object.assign({},this.$attrs),{showArrow:this.mergedShowArrow,show:i})),{default:()=>{var a,s;return(s=(a=this.$slots).default)===null||s===void 0?void 0:s.call(a)},header:()=>{var a,s;return(s=(a=this.$slots).header)===null||s===void 0?void 0:s.call(a)},footer:()=>{var a,s;return(s=(a=this.$slots).footer)===null||s===void 0?void 0:s.call(a)}})]}})}}),y_={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},GB={name:"Tag",common:Ve,self(e){const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,tagColor:d,opacityDisabled:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:m,borderRadiusSmall:y,fontSizeMini:k,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,heightMini:C,heightTiny:_,heightSmall:R,heightMedium:E,buttonColor2Hover:M,buttonColor2Pressed:A,fontWeightStrong:q}=e;return Object.assign(Object.assign({},y_),{closeBorderRadius:y,heightTiny:C,heightSmall:_,heightMedium:R,heightLarge:E,borderRadius:y,opacityDisabled:f,fontSizeTiny:k,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:M,colorPressedCheckable:A,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:b,closeColorPressed:m,borderPrimary:`1px solid ${Ie(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ie(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:fn(r,{lightness:.7}),closeIconColorHoverPrimary:fn(r,{lightness:.7}),closeIconColorPressedPrimary:fn(r,{lightness:.7}),closeColorHoverPrimary:Ie(r,{alpha:.16}),closeColorPressedPrimary:Ie(r,{alpha:.12}),borderInfo:`1px solid ${Ie(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ie(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:fn(i,{alpha:.7}),closeIconColorHoverInfo:fn(i,{alpha:.7}),closeIconColorPressedInfo:fn(i,{alpha:.7}),closeColorHoverInfo:Ie(i,{alpha:.16}),closeColorPressedInfo:Ie(i,{alpha:.12}),borderSuccess:`1px solid ${Ie(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ie(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:fn(a,{alpha:.7}),closeIconColorHoverSuccess:fn(a,{alpha:.7}),closeIconColorPressedSuccess:fn(a,{alpha:.7}),closeColorHoverSuccess:Ie(a,{alpha:.16}),closeColorPressedSuccess:Ie(a,{alpha:.12}),borderWarning:`1px solid ${Ie(s,{alpha:.3})}`,textColorWarning:s,colorWarning:Ie(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:fn(s,{alpha:.7}),closeIconColorHoverWarning:fn(s,{alpha:.7}),closeIconColorPressedWarning:fn(s,{alpha:.7}),closeColorHoverWarning:Ie(s,{alpha:.16}),closeColorPressedWarning:Ie(s,{alpha:.11}),borderError:`1px solid ${Ie(l,{alpha:.3})}`,textColorError:l,colorError:Ie(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:fn(l,{alpha:.7}),closeIconColorHoverError:fn(l,{alpha:.7}),closeIconColorPressedError:fn(l,{alpha:.7}),closeColorHoverError:Ie(l,{alpha:.16}),closeColorPressedError:Ie(l,{alpha:.12})})}},x_=GB,YB=e=>{const{textColor2:t,primaryColorHover:n,primaryColorPressed:o,primaryColor:r,infoColor:i,successColor:a,warningColor:s,errorColor:l,baseColor:c,borderColor:u,opacityDisabled:d,tagColor:f,closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,borderRadiusSmall:b,fontSizeMini:m,fontSizeTiny:y,fontSizeSmall:k,fontSizeMedium:S,heightMini:w,heightTiny:x,heightSmall:C,heightMedium:_,closeColorHover:R,closeColorPressed:E,buttonColor2Hover:M,buttonColor2Pressed:A,fontWeightStrong:q}=e;return Object.assign(Object.assign({},y_),{closeBorderRadius:b,heightTiny:w,heightSmall:x,heightMedium:C,heightLarge:_,borderRadius:b,opacityDisabled:d,fontSizeTiny:m,fontSizeSmall:y,fontSizeMedium:k,fontSizeLarge:S,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:M,colorPressedCheckable:A,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:p,closeIconColorHover:h,closeIconColorPressed:g,closeColorHover:R,closeColorPressed:E,borderPrimary:`1px solid ${Ie(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:Ie(r,{alpha:.12}),colorBorderedPrimary:Ie(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:Ie(r,{alpha:.12}),closeColorPressedPrimary:Ie(r,{alpha:.18}),borderInfo:`1px solid ${Ie(i,{alpha:.3})}`,textColorInfo:i,colorInfo:Ie(i,{alpha:.12}),colorBorderedInfo:Ie(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:Ie(i,{alpha:.12}),closeColorPressedInfo:Ie(i,{alpha:.18}),borderSuccess:`1px solid ${Ie(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:Ie(a,{alpha:.12}),colorBorderedSuccess:Ie(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:Ie(a,{alpha:.12}),closeColorPressedSuccess:Ie(a,{alpha:.18}),borderWarning:`1px solid ${Ie(s,{alpha:.35})}`,textColorWarning:s,colorWarning:Ie(s,{alpha:.15}),colorBorderedWarning:Ie(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:Ie(s,{alpha:.12}),closeColorPressedWarning:Ie(s,{alpha:.18}),borderError:`1px solid ${Ie(l,{alpha:.23})}`,textColorError:l,colorError:Ie(l,{alpha:.1}),colorBorderedError:Ie(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:Ie(l,{alpha:.12}),closeColorPressedError:Ie(l,{alpha:.18})})},XB={name:"Tag",common:bt,self:YB},ZB=XB,JB={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},QB=O("tag",` --n-close-margin: var(--n-close-margin-top) var(--n-close-margin-right) var(--n-close-margin-bottom) var(--n-close-margin-left); white-space: nowrap; position: relative; @@ -522,7 +522,7 @@ ${t} `,[Pt("disabled",[W("&:hover","background-color: var(--n-color-hover-checkable);",[Pt("checked","color: var(--n-text-color-hover-checkable);")]),W("&:active","background-color: var(--n-color-pressed-checkable);",[Pt("checked","color: var(--n-text-color-pressed-checkable);")])]),Z("checked",` color: var(--n-text-color-checked); background-color: var(--n-color-checked); - `,[Pt("disabled",[W("&:hover","background-color: var(--n-color-checked-hover);"),W("&:active","background-color: var(--n-color-checked-pressed);")])])])]),QB=Object.assign(Object.assign(Object.assign({},He.props),ZB),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),eH="n-tag",yi=me({name:"Tag",props:QB,setup(e){const t=N(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=at(e),a=He("Tag","-tag",JB,XB,e,o);lt(eH,{roundRef:Ue(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:g,onUpdateChecked:b,"onUpdate:checked":m}=e;b&&b(!h),m&&m(!h),g&&g(!h)}}function l(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:h}=e;h&&Pe(h,p)}}const c={setTextContent(p){const{value:h}=t;h&&(h.textContent=p)}},u=pn("Tag",i,o),d=L(()=>{const{type:p,size:h,color:{color:g,textColor:b}={}}=e,{common:{cubicBezierEaseInOut:m},self:{padding:y,closeMargin:k,borderRadius:S,opacityDisabled:w,textColorCheckable:x,textColorHoverCheckable:C,textColorPressedCheckable:_,textColorChecked:R,colorCheckable:E,colorHoverCheckable:M,colorPressedCheckable:A,colorChecked:q,colorCheckedHover:F,colorCheckedPressed:z,closeBorderRadius:D,fontWeightStrong:Y,[Se("colorBordered",p)]:Q,[Se("closeSize",h)]:ce,[Se("closeIconSize",h)]:le,[Se("fontSize",h)]:B,[Se("height",h)]:$,[Se("color",p)]:I,[Se("textColor",p)]:K,[Se("border",p)]:ne,[Se("closeIconColor",p)]:ve,[Se("closeIconColorHover",p)]:J,[Se("closeIconColorPressed",p)]:ye,[Se("closeColorHover",p)]:j,[Se("closeColorPressed",p)]:ge}}=a.value,Ee=yo(k);return{"--n-font-weight-strong":Y,"--n-avatar-size-override":`calc(${$} - 8px)`,"--n-bezier":m,"--n-border-radius":S,"--n-border":ne,"--n-close-icon-size":le,"--n-close-color-pressed":ge,"--n-close-color-hover":j,"--n-close-border-radius":D,"--n-close-icon-color":ve,"--n-close-icon-color-hover":J,"--n-close-icon-color-pressed":ye,"--n-close-icon-color-disabled":ve,"--n-close-margin-top":Ee.top,"--n-close-margin-right":Ee.right,"--n-close-margin-bottom":Ee.bottom,"--n-close-margin-left":Ee.left,"--n-close-size":ce,"--n-color":g||(n.value?Q:I),"--n-color-checkable":E,"--n-color-checked":q,"--n-color-checked-hover":F,"--n-color-checked-pressed":z,"--n-color-hover-checkable":M,"--n-color-pressed-checkable":A,"--n-font-size":B,"--n-height":$,"--n-opacity-disabled":w,"--n-padding":y,"--n-text-color":b||K,"--n-text-color-checkable":x,"--n-text-color-checked":R,"--n-text-color-hover-checkable":C,"--n-text-color-pressed-checkable":_}}),f=r?kt("tag",L(()=>{let p="";const{type:h,size:g,color:{color:b,textColor:m}={}}=e;return p+=h[0],p+=g[0],b&&(p+=`a${kc(b)}`),m&&(p+=`b${kc(m)}`),n.value&&(p+="c"),p}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=$t(l.avatar,d=>d&&v("div",{class:`${n}-tag__avatar`},d)),u=$t(l.icon,d=>d&&v("div",{class:`${n}-tag__icon`},d));return v("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,v("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?v(ji,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?v("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),tH=O("base-clear",` + `,[Pt("disabled",[W("&:hover","background-color: var(--n-color-checked-hover);"),W("&:active","background-color: var(--n-color-checked-pressed);")])])])]),eH=Object.assign(Object.assign(Object.assign({},He.props),JB),{bordered:{type:Boolean,default:void 0},checked:Boolean,checkable:Boolean,strong:Boolean,triggerClickOnClose:Boolean,onClose:[Array,Function],onMouseenter:Function,onMouseleave:Function,"onUpdate:checked":Function,onUpdateChecked:Function,internalCloseFocusable:{type:Boolean,default:!0},internalCloseIsButtonTag:{type:Boolean,default:!0},onCheckedChange:Function}),tH="n-tag",yi=me({name:"Tag",props:eH,setup(e){const t=N(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=at(e),a=He("Tag","-tag",QB,ZB,e,o);lt(tH,{roundRef:Ue(e,"round")});function s(p){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:g,onUpdateChecked:b,"onUpdate:checked":m}=e;b&&b(!h),m&&m(!h),g&&g(!h)}}function l(p){if(e.triggerClickOnClose||p.stopPropagation(),!e.disabled){const{onClose:h}=e;h&&Pe(h,p)}}const c={setTextContent(p){const{value:h}=t;h&&(h.textContent=p)}},u=pn("Tag",i,o),d=L(()=>{const{type:p,size:h,color:{color:g,textColor:b}={}}=e,{common:{cubicBezierEaseInOut:m},self:{padding:y,closeMargin:k,borderRadius:S,opacityDisabled:w,textColorCheckable:x,textColorHoverCheckable:C,textColorPressedCheckable:_,textColorChecked:R,colorCheckable:E,colorHoverCheckable:M,colorPressedCheckable:A,colorChecked:q,colorCheckedHover:F,colorCheckedPressed:z,closeBorderRadius:D,fontWeightStrong:Y,[Se("colorBordered",p)]:Q,[Se("closeSize",h)]:ce,[Se("closeIconSize",h)]:le,[Se("fontSize",h)]:B,[Se("height",h)]:$,[Se("color",p)]:I,[Se("textColor",p)]:K,[Se("border",p)]:ne,[Se("closeIconColor",p)]:ve,[Se("closeIconColorHover",p)]:J,[Se("closeIconColorPressed",p)]:ye,[Se("closeColorHover",p)]:j,[Se("closeColorPressed",p)]:ge}}=a.value,Ee=yo(k);return{"--n-font-weight-strong":Y,"--n-avatar-size-override":`calc(${$} - 8px)`,"--n-bezier":m,"--n-border-radius":S,"--n-border":ne,"--n-close-icon-size":le,"--n-close-color-pressed":ge,"--n-close-color-hover":j,"--n-close-border-radius":D,"--n-close-icon-color":ve,"--n-close-icon-color-hover":J,"--n-close-icon-color-pressed":ye,"--n-close-icon-color-disabled":ve,"--n-close-margin-top":Ee.top,"--n-close-margin-right":Ee.right,"--n-close-margin-bottom":Ee.bottom,"--n-close-margin-left":Ee.left,"--n-close-size":ce,"--n-color":g||(n.value?Q:I),"--n-color-checkable":E,"--n-color-checked":q,"--n-color-checked-hover":F,"--n-color-checked-pressed":z,"--n-color-hover-checkable":M,"--n-color-pressed-checkable":A,"--n-font-size":B,"--n-height":$,"--n-opacity-disabled":w,"--n-padding":y,"--n-text-color":b||K,"--n-text-color-checkable":x,"--n-text-color-checked":R,"--n-text-color-hover-checkable":C,"--n-text-color-pressed-checkable":_}}),f=r?kt("tag",L(()=>{let p="";const{type:h,size:g,color:{color:b,textColor:m}={}}=e;return p+=h[0],p+=g[0],b&&(p+=`a${kc(b)}`),m&&(p+=`b${kc(m)}`),n.value&&(p+="c"),p}),d,e):void 0;return Object.assign(Object.assign({},c),{rtlEnabled:u,mergedClsPrefix:o,contentRef:t,mergedBordered:n,handleClick:s,handleCloseClick:l,cssVars:r?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender})},render(){var e,t;const{mergedClsPrefix:n,rtlEnabled:o,closable:r,color:{borderColor:i}={},round:a,onRender:s,$slots:l}=this;s==null||s();const c=$t(l.avatar,d=>d&&v("div",{class:`${n}-tag__avatar`},d)),u=$t(l.icon,d=>d&&v("div",{class:`${n}-tag__icon`},d));return v("div",{class:[`${n}-tag`,this.themeClass,{[`${n}-tag--rtl`]:o,[`${n}-tag--strong`]:this.strong,[`${n}-tag--disabled`]:this.disabled,[`${n}-tag--checkable`]:this.checkable,[`${n}-tag--checked`]:this.checkable&&this.checked,[`${n}-tag--round`]:a,[`${n}-tag--avatar`]:c,[`${n}-tag--icon`]:u,[`${n}-tag--closable`]:r}],style:this.cssVars,onClick:this.handleClick,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave},u||c,v("span",{class:`${n}-tag__content`,ref:"contentRef"},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)),!this.checkable&&r?v(ji,{clsPrefix:n,class:`${n}-tag__close`,disabled:this.disabled,onClick:this.handleCloseClick,focusable:this.internalCloseFocusable,round:a,isButtonTag:this.internalCloseIsButtonTag,absolute:!0}):null,!this.checkable&&this.mergedBordered?v("div",{class:`${n}-tag__border`,style:{borderColor:i}}):null)}}),nH=O("base-clear",` flex-shrink: 0; height: 1em; width: 1em; @@ -546,7 +546,7 @@ ${t} left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); - `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),yh=me({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Yr("-base-clear",tH,Ue(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(Hi,null,{default:()=>{var t,n;return this.show?v("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[v(Ut,{clsPrefix:e},{default:()=>v(LN,null)})])):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),T_=me({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return v(Xr,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(yh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>v(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[v(c_,null)])})}):null})}}}),P_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},nH=e=>{const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderColor:f,iconColor:p,iconColorDisabled:h,clearColor:g,clearColorHover:b,clearColorPressed:m,placeholderColor:y,placeholderColorDisabled:k,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:C,heightTiny:_,heightSmall:R,heightMedium:E,heightLarge:M}=e;return Object.assign(Object.assign({},P_),{fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:C,heightTiny:_,heightSmall:R,heightMedium:E,heightLarge:M,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:y,placeholderColorDisabled:k,color:r,colorDisabled:i,colorActive:r,border:`1px solid ${f}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${Ie(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Ie(a,{alpha:.2})}`,caretColor:a,arrowColor:p,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Ie(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Ie(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Ie(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Ie(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:g,clearColorHover:b,clearColorPressed:m})},oH={name:"InternalSelection",common:bt,peers:{Popover:ja},self:nH},R_=oH,rH={name:"InternalSelection",common:Ve,peers:{Popover:Wi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,iconColor:f,iconColorDisabled:p,clearColor:h,clearColorHover:g,clearColorPressed:b,placeholderColor:m,placeholderColorDisabled:y,fontSizeTiny:k,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:C,heightSmall:_,heightMedium:R,heightLarge:E}=e;return Object.assign(Object.assign({},P_),{fontSizeTiny:k,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:C,heightSmall:_,heightMedium:R,heightLarge:E,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:m,placeholderColorDisabled:y,color:r,colorDisabled:i,colorActive:Ie(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Ie(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Ie(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Ie(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Ie(l,{alpha:.4})}`,colorActiveWarning:Ie(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Ie(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Ie(u,{alpha:.4})}`,colorActiveError:Ie(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:g,clearColorPressed:b})}},Jp=rH,iH=W([O("base-selection",` + `,[qn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),yh=me({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return Yr("-base-clear",nH,Ue(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(Hi,null,{default:()=>{var t,n;return this.show?v("div",{key:"dismiss",class:`${e}-base-clear__clear`,onClick:this.onClear,onMousedown:this.handleMouseDown,"data-clear":!0},An(this.$slots.icon,()=>[v(Ut,{clsPrefix:e},{default:()=>v(FN,null)})])):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),C_=me({name:"InternalSelectionSuffix",props:{clsPrefix:{type:String,required:!0},showArrow:{type:Boolean,default:void 0},showClear:{type:Boolean,default:void 0},loading:{type:Boolean,default:!1},onClear:Function},setup(e,{slots:t}){return()=>{const{clsPrefix:n}=e;return v(Xr,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(yh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>v(Ut,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>An(t.default,()=>[v(r_,null)])})}):null})}}}),w_={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"},oH=e=>{const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderColor:f,iconColor:p,iconColorDisabled:h,clearColor:g,clearColorHover:b,clearColorPressed:m,placeholderColor:y,placeholderColorDisabled:k,fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:C,heightTiny:_,heightSmall:R,heightMedium:E,heightLarge:M}=e;return Object.assign(Object.assign({},w_),{fontSizeTiny:S,fontSizeSmall:w,fontSizeMedium:x,fontSizeLarge:C,heightTiny:_,heightSmall:R,heightMedium:E,heightLarge:M,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:y,placeholderColorDisabled:k,color:r,colorDisabled:i,colorActive:r,border:`1px solid ${f}`,borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 0 2px ${Ie(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${Ie(a,{alpha:.2})}`,caretColor:a,arrowColor:p,arrowColorDisabled:h,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 0 2px ${Ie(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${Ie(l,{alpha:.2})}`,colorActiveWarning:r,caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 0 2px ${Ie(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${Ie(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:g,clearColorHover:b,clearColorPressed:m})},rH={name:"InternalSelection",common:bt,peers:{Popover:ja},self:oH},__=rH,iH={name:"InternalSelection",common:Ve,peers:{Popover:Wi},self(e){const{borderRadius:t,textColor2:n,textColorDisabled:o,inputColor:r,inputColorDisabled:i,primaryColor:a,primaryColorHover:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,iconColor:f,iconColorDisabled:p,clearColor:h,clearColorHover:g,clearColorPressed:b,placeholderColor:m,placeholderColorDisabled:y,fontSizeTiny:k,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:C,heightSmall:_,heightMedium:R,heightLarge:E}=e;return Object.assign(Object.assign({},w_),{fontSizeTiny:k,fontSizeSmall:S,fontSizeMedium:w,fontSizeLarge:x,heightTiny:C,heightSmall:_,heightMedium:R,heightLarge:E,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:m,placeholderColorDisabled:y,color:r,colorDisabled:i,colorActive:Ie(a,{alpha:.1}),border:"1px solid #0000",borderHover:`1px solid ${s}`,borderActive:`1px solid ${a}`,borderFocus:`1px solid ${s}`,boxShadowHover:"none",boxShadowActive:`0 0 8px 0 ${Ie(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${Ie(a,{alpha:.4})}`,caretColor:a,arrowColor:f,arrowColorDisabled:p,loadingColor:a,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,borderActiveWarning:`1px solid ${l}`,borderFocusWarning:`1px solid ${c}`,boxShadowHoverWarning:"none",boxShadowActiveWarning:`0 0 8px 0 ${Ie(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${Ie(l,{alpha:.4})}`,colorActiveWarning:Ie(l,{alpha:.1}),caretColorWarning:l,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,borderActiveError:`1px solid ${u}`,borderFocusError:`1px solid ${d}`,boxShadowHoverError:"none",boxShadowActiveError:`0 0 8px 0 ${Ie(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${Ie(u,{alpha:.4})}`,colorActiveError:Ie(u,{alpha:.1}),caretColorError:u,clearColor:h,clearColorHover:g,clearColorPressed:b})}},Jp=iH,aH=W([O("base-selection",` --n-padding-single: var(--n-padding-single-top) var(--n-padding-single-right) var(--n-padding-single-bottom) var(--n-padding-single-left); --n-padding-multiple: var(--n-padding-multiple-top) var(--n-padding-multiple-right) var(--n-padding-multiple-bottom) var(--n-padding-multiple-left); position: relative; @@ -746,7 +746,7 @@ ${t} line-height: 1.25; text-overflow: ellipsis; overflow: hidden; - `)])])]),aH=me({name:"InternalSelection",props:Object.assign(Object.assign({},He.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=pn("InternalSelection",n,t),r=N(null),i=N(null),a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=N(null),h=N(!1),g=N(!1),b=N(!1),m=He("InternalSelection","-internal-selection",iH,R_,e,Ue(e,"clsPrefix")),y=L(()=>e.clearable&&!e.disabled&&(b.value||e.active)),k=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Vt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),S=L(()=>{const de=e.selectedOption;if(de)return de[e.labelField]}),w=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function x(){var de;const{value:ee}=r;if(ee){const{value:fe}=i;fe&&(fe.style.width=`${ee.offsetWidth}px`,e.maxTagCount!=="responsive"&&((de=f.value)===null||de===void 0||de.sync({showAllItemsBeforeCalculate:!1})))}}function C(){const{value:de}=p;de&&(de.style.display="none")}function _(){const{value:de}=p;de&&(de.style.display="inline-block")}ht(Ue(e,"active"),de=>{de||C()}),ht(Ue(e,"pattern"),()=>{e.multiple&&Ht(x)});function R(de){const{onFocus:ee}=e;ee&&ee(de)}function E(de){const{onBlur:ee}=e;ee&&ee(de)}function M(de){const{onDeleteOption:ee}=e;ee&&ee(de)}function A(de){const{onClear:ee}=e;ee&&ee(de)}function q(de){const{onPatternInput:ee}=e;ee&&ee(de)}function F(de){var ee;(!de.relatedTarget||!(!((ee=a.value)===null||ee===void 0)&&ee.contains(de.relatedTarget)))&&R(de)}function z(de){var ee;!((ee=a.value)===null||ee===void 0)&&ee.contains(de.relatedTarget)||E(de)}function D(de){A(de)}function Y(){b.value=!0}function Q(){b.value=!1}function ce(de){!e.active||!e.filterable||de.target!==i.value&&de.preventDefault()}function le(de){M(de)}function B(de){if(de.key==="Backspace"&&!$.value&&!e.pattern.length){const{selectedOptions:ee}=e;ee!=null&&ee.length&&le(ee[ee.length-1])}}const $=N(!1);let I=null;function K(de){const{value:ee}=r;if(ee){const fe=de.target.value;ee.textContent=fe,x()}e.ignoreComposition&&$.value?I=de:q(de)}function ne(){$.value=!0}function ve(){$.value=!1,e.ignoreComposition&&q(I),I=null}function J(de){var ee;g.value=!0,(ee=e.onPatternFocus)===null||ee===void 0||ee.call(e,de)}function ye(de){var ee;g.value=!1,(ee=e.onPatternBlur)===null||ee===void 0||ee.call(e,de)}function j(){var de,ee;if(e.filterable)g.value=!1,(de=c.value)===null||de===void 0||de.blur(),(ee=i.value)===null||ee===void 0||ee.blur();else if(e.multiple){const{value:fe}=s;fe==null||fe.blur()}else{const{value:fe}=l;fe==null||fe.blur()}}function ge(){var de,ee,fe;e.filterable?(g.value=!1,(de=c.value)===null||de===void 0||de.focus()):e.multiple?(ee=s.value)===null||ee===void 0||ee.focus():(fe=l.value)===null||fe===void 0||fe.focus()}function Ee(){const{value:de}=i;de&&(_(),de.focus())}function Ne(){const{value:de}=i;de&&de.blur()}function T(de){const{value:ee}=u;ee&&ee.setTextContent(`+${de}`)}function P(){const{value:de}=d;return de}function U(){return i.value}let oe=null;function G(){oe!==null&&window.clearTimeout(oe)}function se(){e.active||(G(),oe=window.setTimeout(()=>{w.value&&(h.value=!0)},100))}function xe(){G()}function be(de){de||(G(),h.value=!1)}ht(w,de=>{de||(h.value=!1)}),Lt(()=>{tn(()=>{const de=c.value;de&&(e.disabled?de.removeAttribute("tabindex"):de.tabIndex=g.value?-1:0)})}),fw(a,e.onResize);const{inlineThemeDisabled:Ce}=e,we=L(()=>{const{size:de}=e,{common:{cubicBezierEaseInOut:ee},self:{borderRadius:fe,color:Oe,placeholderColor:Le,textColor:De,paddingSingle:$e,paddingMultiple:Me,caretColor:Fe,colorDisabled:Be,textColorDisabled:ot,placeholderColorDisabled:xt,colorActive:X,boxShadowFocus:pe,boxShadowActive:Te,boxShadowHover:Ke,border:Xe,borderFocus:Ze,borderHover:tt,borderActive:rt,arrowColor:yt,arrowColorDisabled:nn,loadingColor:Wt,colorActiveWarning:_e,boxShadowFocusWarning:je,boxShadowActiveWarning:Qe,boxShadowHoverWarning:pt,borderWarning:gt,borderFocusWarning:ct,borderHoverWarning:Rt,borderActiveWarning:ae,colorActiveError:ke,boxShadowFocusError:nt,boxShadowActiveError:Nt,boxShadowHoverError:Kt,borderError:Dt,borderFocusError:ho,borderHoverError:po,borderActiveError:mo,clearColor:Xo,clearColorHover:Zo,clearColorPressed:Jr,clearSize:Ga,arrowSize:Ya,[Se("height",de)]:Xa,[Se("fontSize",de)]:Za}}=m.value,gr=yo($e),vr=yo(Me);return{"--n-bezier":ee,"--n-border":Xe,"--n-border-active":rt,"--n-border-focus":Ze,"--n-border-hover":tt,"--n-border-radius":fe,"--n-box-shadow-active":Te,"--n-box-shadow-focus":pe,"--n-box-shadow-hover":Ke,"--n-caret-color":Fe,"--n-color":Oe,"--n-color-active":X,"--n-color-disabled":Be,"--n-font-size":Za,"--n-height":Xa,"--n-padding-single-top":gr.top,"--n-padding-multiple-top":vr.top,"--n-padding-single-right":gr.right,"--n-padding-multiple-right":vr.right,"--n-padding-single-left":gr.left,"--n-padding-multiple-left":vr.left,"--n-padding-single-bottom":gr.bottom,"--n-padding-multiple-bottom":vr.bottom,"--n-placeholder-color":Le,"--n-placeholder-color-disabled":xt,"--n-text-color":De,"--n-text-color-disabled":ot,"--n-arrow-color":yt,"--n-arrow-color-disabled":nn,"--n-loading-color":Wt,"--n-color-active-warning":_e,"--n-box-shadow-focus-warning":je,"--n-box-shadow-active-warning":Qe,"--n-box-shadow-hover-warning":pt,"--n-border-warning":gt,"--n-border-focus-warning":ct,"--n-border-hover-warning":Rt,"--n-border-active-warning":ae,"--n-color-active-error":ke,"--n-box-shadow-focus-error":nt,"--n-box-shadow-active-error":Nt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Dt,"--n-border-focus-error":ho,"--n-border-hover-error":po,"--n-border-active-error":mo,"--n-clear-size":Ga,"--n-clear-color":Xo,"--n-clear-color-hover":Zo,"--n-clear-color-pressed":Jr,"--n-arrow-size":Ya}}),Re=Ce?kt("internal-selection",L(()=>e.size[0]),we,e):void 0;return{mergedTheme:m,mergedClearable:y,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:g,filterablePlaceholder:k,label:S,selected:w,showTagsPanel:h,isComposing:$,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:p,handleMouseDown:ce,handleFocusin:F,handleClear:D,handleMouseEnter:Y,handleMouseLeave:Q,handleDeleteOption:le,handlePatternKeyDown:B,handlePatternInputInput:K,handlePatternInputBlur:ye,handlePatternInputFocus:J,handleMouseEnterCounter:se,handleMouseLeaveCounter:xe,handleFocusout:z,handleCompositionEnd:ve,handleCompositionStart:ne,onPopoverUpdateShow:be,focus:ge,focusInput:Ee,blur:j,blurInput:Ne,updateCounter:T,getCounter:P,getTail:U,renderLabel:e.renderLabel,cssVars:Ce?void 0:we,themeClass:Re==null?void 0:Re.themeClass,onRender:Re==null?void 0:Re.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",p=typeof i=="number",h=f||p,g=v(th,null,{default:()=>v(T_,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var m,y;return(y=(m=this.$slots).arrow)===null||y===void 0?void 0:y.call(m)}})});let b;if(t){const{labelField:m}=this,y=q=>v("div",{class:`${s}-base-selection-tag-wrapper`,key:q.value},u?u({option:q,handleClose:()=>{this.handleDeleteOption(q)}}):v(yi,{size:n,closable:!q.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(q)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(q,!0):Vt(q[m],q,!0)})),k=()=>(p?this.selectedOptions.slice(0,i):this.selectedOptions).map(y),S=r?v("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),v("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,w=f?()=>v("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},v(yi,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let x;if(p){const q=this.selectedOptions.length-i;q>0&&(x=v("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},v(yi,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${q}`})))}const C=f?r?v(ah,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:k,counter:w,tail:()=>S}):v(ah,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:k,counter:w}):p&&x?k().concat(x):k(),_=h?()=>v("div",{class:`${s}-base-selection-popover`},f?k():this.selectedOptions.map(y)):void 0,R=h?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,M=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,A=r?v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},C,f?null:S,g):v("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},C,g);b=v(it,null,h?v(ll,Object.assign({},R,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>A,default:_}):A,M)}else if(r){const m=this.pattern||this.isComposing,y=this.active?!m:!this.selected,k=this.active?!1:this.selected;b=v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),k?v("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},v("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Vt(this.label,this.selectedOption,!0))):null,y?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,g)}else b=v("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?v("div",{class:`${s}-base-selection-input`,title:YA(this.label),key:"input"},v("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Vt(this.label,this.selectedOption,!0))):v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),g);return v("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},b,a?v("div",{class:`${s}-base-selection__border`}):null,a?v("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:kr}=co;function sH({duration:e=".2s",delay:t=".1s"}={}){return[W("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),W("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` + `)])])]),sH=me({name:"InternalSelection",props:Object.assign(Object.assign({},He.props),{clsPrefix:{type:String,required:!0},bordered:{type:Boolean,default:void 0},active:Boolean,pattern:{type:String,default:""},placeholder:String,selectedOption:{type:Object,default:null},selectedOptions:{type:Array,default:null},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},multiple:Boolean,filterable:Boolean,clearable:Boolean,disabled:Boolean,size:{type:String,default:"medium"},loading:Boolean,autofocus:Boolean,showArrow:{type:Boolean,default:!0},inputProps:Object,focused:Boolean,renderTag:Function,onKeydown:Function,onClick:Function,onBlur:Function,onFocus:Function,onDeleteOption:Function,maxTagCount:[String,Number],ellipsisTagPopoverProps:Object,onClear:Function,onPatternInput:Function,onPatternFocus:Function,onPatternBlur:Function,renderLabel:Function,status:String,inlineThemeDisabled:Boolean,ignoreComposition:{type:Boolean,default:!0},onResize:Function}),setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=pn("InternalSelection",n,t),r=N(null),i=N(null),a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=N(null),h=N(!1),g=N(!1),b=N(!1),m=He("InternalSelection","-internal-selection",aH,__,e,Ue(e,"clsPrefix")),y=L(()=>e.clearable&&!e.disabled&&(b.value||e.active)),k=L(()=>e.selectedOption?e.renderTag?e.renderTag({option:e.selectedOption,handleClose:()=>{}}):e.renderLabel?e.renderLabel(e.selectedOption,!0):Vt(e.selectedOption[e.labelField],e.selectedOption,!0):e.placeholder),S=L(()=>{const de=e.selectedOption;if(de)return de[e.labelField]}),w=L(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function x(){var de;const{value:ee}=r;if(ee){const{value:fe}=i;fe&&(fe.style.width=`${ee.offsetWidth}px`,e.maxTagCount!=="responsive"&&((de=f.value)===null||de===void 0||de.sync({showAllItemsBeforeCalculate:!1})))}}function C(){const{value:de}=p;de&&(de.style.display="none")}function _(){const{value:de}=p;de&&(de.style.display="inline-block")}ht(Ue(e,"active"),de=>{de||C()}),ht(Ue(e,"pattern"),()=>{e.multiple&&Ht(x)});function R(de){const{onFocus:ee}=e;ee&&ee(de)}function E(de){const{onBlur:ee}=e;ee&&ee(de)}function M(de){const{onDeleteOption:ee}=e;ee&&ee(de)}function A(de){const{onClear:ee}=e;ee&&ee(de)}function q(de){const{onPatternInput:ee}=e;ee&&ee(de)}function F(de){var ee;(!de.relatedTarget||!(!((ee=a.value)===null||ee===void 0)&&ee.contains(de.relatedTarget)))&&R(de)}function z(de){var ee;!((ee=a.value)===null||ee===void 0)&&ee.contains(de.relatedTarget)||E(de)}function D(de){A(de)}function Y(){b.value=!0}function Q(){b.value=!1}function ce(de){!e.active||!e.filterable||de.target!==i.value&&de.preventDefault()}function le(de){M(de)}function B(de){if(de.key==="Backspace"&&!$.value&&!e.pattern.length){const{selectedOptions:ee}=e;ee!=null&&ee.length&&le(ee[ee.length-1])}}const $=N(!1);let I=null;function K(de){const{value:ee}=r;if(ee){const fe=de.target.value;ee.textContent=fe,x()}e.ignoreComposition&&$.value?I=de:q(de)}function ne(){$.value=!0}function ve(){$.value=!1,e.ignoreComposition&&q(I),I=null}function J(de){var ee;g.value=!0,(ee=e.onPatternFocus)===null||ee===void 0||ee.call(e,de)}function ye(de){var ee;g.value=!1,(ee=e.onPatternBlur)===null||ee===void 0||ee.call(e,de)}function j(){var de,ee;if(e.filterable)g.value=!1,(de=c.value)===null||de===void 0||de.blur(),(ee=i.value)===null||ee===void 0||ee.blur();else if(e.multiple){const{value:fe}=s;fe==null||fe.blur()}else{const{value:fe}=l;fe==null||fe.blur()}}function ge(){var de,ee,fe;e.filterable?(g.value=!1,(de=c.value)===null||de===void 0||de.focus()):e.multiple?(ee=s.value)===null||ee===void 0||ee.focus():(fe=l.value)===null||fe===void 0||fe.focus()}function Ee(){const{value:de}=i;de&&(_(),de.focus())}function Ne(){const{value:de}=i;de&&de.blur()}function T(de){const{value:ee}=u;ee&&ee.setTextContent(`+${de}`)}function P(){const{value:de}=d;return de}function U(){return i.value}let oe=null;function G(){oe!==null&&window.clearTimeout(oe)}function se(){e.active||(G(),oe=window.setTimeout(()=>{w.value&&(h.value=!0)},100))}function xe(){G()}function be(de){de||(G(),h.value=!1)}ht(w,de=>{de||(h.value=!1)}),Lt(()=>{tn(()=>{const de=c.value;de&&(e.disabled?de.removeAttribute("tabindex"):de.tabIndex=g.value?-1:0)})}),sw(a,e.onResize);const{inlineThemeDisabled:Ce}=e,we=L(()=>{const{size:de}=e,{common:{cubicBezierEaseInOut:ee},self:{borderRadius:fe,color:Oe,placeholderColor:Le,textColor:De,paddingSingle:$e,paddingMultiple:Me,caretColor:Fe,colorDisabled:Be,textColorDisabled:ot,placeholderColorDisabled:xt,colorActive:X,boxShadowFocus:pe,boxShadowActive:Te,boxShadowHover:Ke,border:Xe,borderFocus:Ze,borderHover:tt,borderActive:rt,arrowColor:yt,arrowColorDisabled:nn,loadingColor:Wt,colorActiveWarning:_e,boxShadowFocusWarning:je,boxShadowActiveWarning:Qe,boxShadowHoverWarning:pt,borderWarning:gt,borderFocusWarning:ct,borderHoverWarning:Rt,borderActiveWarning:ae,colorActiveError:ke,boxShadowFocusError:nt,boxShadowActiveError:Nt,boxShadowHoverError:Kt,borderError:Dt,borderFocusError:ho,borderHoverError:po,borderActiveError:mo,clearColor:Xo,clearColorHover:Zo,clearColorPressed:Jr,clearSize:Ga,arrowSize:Ya,[Se("height",de)]:Xa,[Se("fontSize",de)]:Za}}=m.value,gr=yo($e),vr=yo(Me);return{"--n-bezier":ee,"--n-border":Xe,"--n-border-active":rt,"--n-border-focus":Ze,"--n-border-hover":tt,"--n-border-radius":fe,"--n-box-shadow-active":Te,"--n-box-shadow-focus":pe,"--n-box-shadow-hover":Ke,"--n-caret-color":Fe,"--n-color":Oe,"--n-color-active":X,"--n-color-disabled":Be,"--n-font-size":Za,"--n-height":Xa,"--n-padding-single-top":gr.top,"--n-padding-multiple-top":vr.top,"--n-padding-single-right":gr.right,"--n-padding-multiple-right":vr.right,"--n-padding-single-left":gr.left,"--n-padding-multiple-left":vr.left,"--n-padding-single-bottom":gr.bottom,"--n-padding-multiple-bottom":vr.bottom,"--n-placeholder-color":Le,"--n-placeholder-color-disabled":xt,"--n-text-color":De,"--n-text-color-disabled":ot,"--n-arrow-color":yt,"--n-arrow-color-disabled":nn,"--n-loading-color":Wt,"--n-color-active-warning":_e,"--n-box-shadow-focus-warning":je,"--n-box-shadow-active-warning":Qe,"--n-box-shadow-hover-warning":pt,"--n-border-warning":gt,"--n-border-focus-warning":ct,"--n-border-hover-warning":Rt,"--n-border-active-warning":ae,"--n-color-active-error":ke,"--n-box-shadow-focus-error":nt,"--n-box-shadow-active-error":Nt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Dt,"--n-border-focus-error":ho,"--n-border-hover-error":po,"--n-border-active-error":mo,"--n-clear-size":Ga,"--n-clear-color":Xo,"--n-clear-color-hover":Zo,"--n-clear-color-pressed":Jr,"--n-arrow-size":Ya}}),Re=Ce?kt("internal-selection",L(()=>e.size[0]),we,e):void 0;return{mergedTheme:m,mergedClearable:y,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:g,filterablePlaceholder:k,label:S,selected:w,showTagsPanel:h,isComposing:$,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:p,handleMouseDown:ce,handleFocusin:F,handleClear:D,handleMouseEnter:Y,handleMouseLeave:Q,handleDeleteOption:le,handlePatternKeyDown:B,handlePatternInputInput:K,handlePatternInputBlur:ye,handlePatternInputFocus:J,handleMouseEnterCounter:se,handleMouseLeaveCounter:xe,handleFocusout:z,handleCompositionEnd:ve,handleCompositionStart:ne,onPopoverUpdateShow:be,focus:ge,focusInput:Ee,blur:j,blurInput:Ne,updateCounter:T,getCounter:P,getTail:U,renderLabel:e.renderLabel,cssVars:Ce?void 0:we,themeClass:Re==null?void 0:Re.themeClass,onRender:Re==null?void 0:Re.onRender}},render(){const{status:e,multiple:t,size:n,disabled:o,filterable:r,maxTagCount:i,bordered:a,clsPrefix:s,ellipsisTagPopoverProps:l,onRender:c,renderTag:u,renderLabel:d}=this;c==null||c();const f=i==="responsive",p=typeof i=="number",h=f||p,g=v(th,null,{default:()=>v(C_,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var m,y;return(y=(m=this.$slots).arrow)===null||y===void 0?void 0:y.call(m)}})});let b;if(t){const{labelField:m}=this,y=q=>v("div",{class:`${s}-base-selection-tag-wrapper`,key:q.value},u?u({option:q,handleClose:()=>{this.handleDeleteOption(q)}}):v(yi,{size:n,closable:!q.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(q)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(q,!0):Vt(q[m],q,!0)})),k=()=>(p?this.selectedOptions.slice(0,i):this.selectedOptions).map(y),S=r?v("div",{class:`${s}-base-selection-input-tag`,ref:"inputTagElRef",key:"__input-tag__"},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",tabindex:-1,disabled:o,value:this.pattern,autofocus:this.autofocus,class:`${s}-base-selection-input-tag__input`,onBlur:this.handlePatternInputBlur,onFocus:this.handlePatternInputFocus,onKeydown:this.handlePatternKeyDown,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),v("span",{ref:"patternInputMirrorRef",class:`${s}-base-selection-input-tag__mirror`},this.pattern)):null,w=f?()=>v("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},v(yi,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let x;if(p){const q=this.selectedOptions.length-i;q>0&&(x=v("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},v(yi,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${q}`})))}const C=f?r?v(ah,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:k,counter:w,tail:()=>S}):v(ah,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:k,counter:w}):p&&x?k().concat(x):k(),_=h?()=>v("div",{class:`${s}-base-selection-popover`},f?k():this.selectedOptions.map(y)):void 0,R=h?Object.assign({show:this.showTagsPanel,trigger:"hover",overlap:!0,placement:"top",width:"trigger",onUpdateShow:this.onPopoverUpdateShow,theme:this.mergedTheme.peers.Popover,themeOverrides:this.mergedTheme.peerOverrides.Popover},l):null,M=(this.selected?!1:this.active?!this.pattern&&!this.isComposing:!0)?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)):null,A=r?v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},C,f?null:S,g):v("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},C,g);b=v(it,null,h?v(ll,Object.assign({},R,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>A,default:_}):A,M)}else if(r){const m=this.pattern||this.isComposing,y=this.active?!m:!this.selected,k=this.active?!1:this.selected;b=v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`},v("input",Object.assign({},this.inputProps,{ref:"patternInputRef",class:`${s}-base-selection-input`,value:this.active?this.pattern:"",placeholder:"",readonly:o,disabled:o,tabindex:-1,autofocus:this.autofocus,onFocus:this.handlePatternInputFocus,onBlur:this.handlePatternInputBlur,onInput:this.handlePatternInputInput,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd})),k?v("div",{class:`${s}-base-selection-label__render-label ${s}-base-selection-overlay`,key:"input"},v("div",{class:`${s}-base-selection-overlay__wrapper`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Vt(this.label,this.selectedOption,!0))):null,y?v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-overlay__wrapper`},this.filterablePlaceholder)):null,g)}else b=v("div",{ref:"singleElRef",class:`${s}-base-selection-label`,tabindex:this.disabled?void 0:0},this.label!==void 0?v("div",{class:`${s}-base-selection-input`,title:XA(this.label),key:"input"},v("div",{class:`${s}-base-selection-input__content`},u?u({option:this.selectedOption,handleClose:()=>{}}):d?d(this.selectedOption,!0):Vt(this.label,this.selectedOption,!0))):v("div",{class:`${s}-base-selection-placeholder ${s}-base-selection-overlay`,key:"placeholder"},v("div",{class:`${s}-base-selection-placeholder__inner`},this.placeholder)),g);return v("div",{ref:"selfRef",class:[`${s}-base-selection`,this.rtlEnabled&&`${s}-base-selection--rtl`,this.themeClass,e&&`${s}-base-selection--${e}-status`,{[`${s}-base-selection--active`]:this.active,[`${s}-base-selection--selected`]:this.selected||this.active&&this.pattern,[`${s}-base-selection--disabled`]:this.disabled,[`${s}-base-selection--multiple`]:this.multiple,[`${s}-base-selection--focus`]:this.focused}],style:this.cssVars,onClick:this.onClick,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onKeydown:this.onKeydown,onFocusin:this.handleFocusin,onFocusout:this.handleFocusout,onMousedown:this.handleMouseDown},b,a?v("div",{class:`${s}-base-selection__border`}):null,a?v("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:kr}=co;function lH({duration:e=".2s",delay:t=".1s"}={}){return[W("&.fade-in-width-expand-transition-leave-from, &.fade-in-width-expand-transition-enter-to",{opacity:1}),W("&.fade-in-width-expand-transition-leave-to, &.fade-in-width-expand-transition-enter-from",` opacity: 0!important; margin-left: 0!important; margin-right: 0!important; @@ -764,13 +764,13 @@ ${t} max-width ${e} ${kr}, margin-left ${e} ${kr}, margin-right ${e} ${kr}; - `)]}const E_={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},lH={name:"Alert",common:Ve,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,infoColorSuppl:p,successColorSuppl:h,warningColorSuppl:g,errorColorSuppl:b,fontSize:m}=e;return Object.assign(Object.assign({},E_),{fontSize:m,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Ie(p,{alpha:.35})}`,colorInfo:Ie(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Ie(h,{alpha:.35})}`,colorSuccess:Ie(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Ie(g,{alpha:.35})}`,colorWarning:Ie(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Ie(b,{alpha:.35})}`,colorError:Ie(b,{alpha:.25}),titleTextColorError:a,iconColorError:b,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},cH=lH,uH=e=>{const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,infoColor:h,successColor:g,warningColor:b,errorColor:m,fontSize:y}=e;return Object.assign(Object.assign({},E_),{fontSize:y,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,borderInfo:`1px solid ${et(r,Ie(h,{alpha:.25}))}`,colorInfo:et(r,Ie(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${et(r,Ie(g,{alpha:.25}))}`,colorSuccess:et(r,Ie(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${et(r,Ie(b,{alpha:.33}))}`,colorWarning:et(r,Ie(b,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:b,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${et(r,Ie(m,{alpha:.25}))}`,colorError:et(r,Ie(m,{alpha:.08})),titleTextColorError:s,iconColorError:m,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},dH={name:"Alert",common:bt,self:uH},fH=dH,{cubicBezierEaseInOut:Ao,cubicBezierEaseOut:hH,cubicBezierEaseIn:pH}=co;function Qp({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[W(`&.fade-in-height-expand-transition-${c}-from, + `)]}const S_={iconMargin:"11px 8px 0 12px",iconMarginRtl:"11px 12px 0 8px",iconSize:"24px",closeIconSize:"16px",closeSize:"20px",closeMargin:"13px 14px 0 0",closeMarginRtl:"13px 0 0 14px",padding:"13px"},cH={name:"Alert",common:Ve,self(e){const{lineHeight:t,borderRadius:n,fontWeightStrong:o,dividerColor:r,inputColor:i,textColor1:a,textColor2:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,infoColorSuppl:p,successColorSuppl:h,warningColorSuppl:g,errorColorSuppl:b,fontSize:m}=e;return Object.assign(Object.assign({},S_),{fontSize:m,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${r}`,color:i,titleTextColor:a,iconColor:s,contentTextColor:s,closeBorderRadius:n,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderInfo:`1px solid ${Ie(p,{alpha:.35})}`,colorInfo:Ie(p,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:p,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${Ie(h,{alpha:.35})}`,colorSuccess:Ie(h,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:h,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${Ie(g,{alpha:.35})}`,colorWarning:Ie(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${Ie(b,{alpha:.35})}`,colorError:Ie(b,{alpha:.25}),titleTextColorError:a,iconColorError:b,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},uH=cH,dH=e=>{const{lineHeight:t,borderRadius:n,fontWeightStrong:o,baseColor:r,dividerColor:i,actionColor:a,textColor1:s,textColor2:l,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,infoColor:h,successColor:g,warningColor:b,errorColor:m,fontSize:y}=e;return Object.assign(Object.assign({},S_),{fontSize:y,lineHeight:t,titleFontWeight:o,borderRadius:n,border:`1px solid ${i}`,color:a,titleTextColor:s,iconColor:l,contentTextColor:l,closeBorderRadius:n,closeColorHover:c,closeColorPressed:u,closeIconColor:d,closeIconColorHover:f,closeIconColorPressed:p,borderInfo:`1px solid ${et(r,Ie(h,{alpha:.25}))}`,colorInfo:et(r,Ie(h,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:h,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:p,borderSuccess:`1px solid ${et(r,Ie(g,{alpha:.25}))}`,colorSuccess:et(r,Ie(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:p,borderWarning:`1px solid ${et(r,Ie(b,{alpha:.33}))}`,colorWarning:et(r,Ie(b,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:b,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:p,borderError:`1px solid ${et(r,Ie(m,{alpha:.25}))}`,colorError:et(r,Ie(m,{alpha:.08})),titleTextColorError:s,iconColorError:m,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:p})},fH={name:"Alert",common:bt,self:dH},hH=fH,{cubicBezierEaseInOut:Ao,cubicBezierEaseOut:pH,cubicBezierEaseIn:mH}=co;function Qp({overflow:e="hidden",duration:t=".3s",originalTransition:n="",leavingDelay:o="0s",foldPadding:r=!1,enterToProps:i=void 0,leaveToProps:a=void 0,reverse:s=!1}={}){const l=s?"leave":"enter",c=s?"enter":"leave";return[W(`&.fade-in-height-expand-transition-${c}-from, &.fade-in-height-expand-transition-${l}-to`,Object.assign(Object.assign({},i),{opacity:1})),W(`&.fade-in-height-expand-transition-${c}-to, &.fade-in-height-expand-transition-${l}-from`,Object.assign(Object.assign({},a),{opacity:0,marginTop:"0 !important",marginBottom:"0 !important",paddingTop:r?"0 !important":void 0,paddingBottom:r?"0 !important":void 0})),W(`&.fade-in-height-expand-transition-${c}-active`,` overflow: ${e}; transition: max-height ${t} ${Ao} ${o}, - opacity ${t} ${hH} ${o}, + opacity ${t} ${pH} ${o}, margin-top ${t} ${Ao} ${o}, margin-bottom ${t} ${Ao} ${o}, padding-top ${t} ${Ao} ${o}, @@ -780,13 +780,13 @@ ${t} overflow: ${e}; transition: max-height ${t} ${Ao}, - opacity ${t} ${pH}, + opacity ${t} ${mH}, margin-top ${t} ${Ao}, margin-bottom ${t} ${Ao}, padding-top ${t} ${Ao}, padding-bottom ${t} ${Ao} ${n?","+n:""} - `)]}const mH=O("alert",` + `)]}const gH=O("alert",` line-height: var(--n-line-height); border-radius: var(--n-border-radius); position: relative; @@ -833,7 +833,7 @@ ${t} font-size: 16px; line-height: 19px; font-weight: var(--n-title-font-weight); - `,[W("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),gH=Object.assign(Object.assign({},He.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),cl=me({name:"Alert",inheritAttrs:!1,props:gH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=He("Alert","-alert",mH,fH,e,t),a=pn("Alert",r,t),s=L(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:g,borderRadius:b,titleFontWeight:m,lineHeight:y,iconSize:k,iconMargin:S,iconMarginRtl:w,closeIconSize:x,closeBorderRadius:C,closeSize:_,closeMargin:R,closeMarginRtl:E,padding:M}=h,{type:A}=e,{left:q,right:F}=yo(S);return{"--n-bezier":p,"--n-color":h[Se("color",A)],"--n-close-icon-size":x,"--n-close-border-radius":C,"--n-close-color-hover":h[Se("closeColorHover",A)],"--n-close-color-pressed":h[Se("closeColorPressed",A)],"--n-close-icon-color":h[Se("closeIconColor",A)],"--n-close-icon-color-hover":h[Se("closeIconColorHover",A)],"--n-close-icon-color-pressed":h[Se("closeIconColorPressed",A)],"--n-icon-color":h[Se("iconColor",A)],"--n-border":h[Se("border",A)],"--n-title-text-color":h[Se("titleTextColor",A)],"--n-content-text-color":h[Se("contentTextColor",A)],"--n-line-height":y,"--n-border-radius":b,"--n-font-size":g,"--n-title-font-weight":m,"--n-icon-size":k,"--n-icon-margin":S,"--n-icon-margin-rtl":w,"--n-close-size":_,"--n-close-margin":R,"--n-close-margin-rtl":E,"--n-padding":M,"--n-icon-margin-left":q,"--n-icon-margin-right":F}}),l=o?kt("alert",L(()=>e.type[0]),s,e):void 0,c=N(!0),u=()=>{const{onAfterLeave:p,onAfterHide:h}=e;p&&p(),h&&h()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var p;Promise.resolve((p=e.onClose)===null||p===void 0?void 0:p.call(e)).then(h=>{h!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(ku,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?v("div",Object.assign({},Dn(this.$attrs,o)),this.closable&&v(ji,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&v("div",{class:`${t}-alert__border`}),this.showIcon&&v("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[v(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return v(Ni,null);case"info":return v(jr,null);case"warning":return v(Bi,null);case"error":return v(Fi,null);default:return null}}})])),v("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},$t(n.header,r=>{const i=r||this.title;return i?v("div",{class:`${t}-alert-body__title`},i):null}),n.default&&v("div",{class:`${t}-alert-body__content`},n))):null}})}}),vH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},bH=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},vH),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Ie(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},yH={name:"Anchor",common:Ve,self:bH},xH=yH;function Mc(e){return e.type==="group"}function $_(e){return e.type==="ignored"}function Nd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function A_(e,t){return{getIsGroup:Mc,getIgnored:$_,getKey(o){return Mc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function CH(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Mc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if($_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function wH(e,t,n){const o=new Map;return e.forEach(r=>{Mc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const _H=ur&&"chrome"in window;ur&&navigator.userAgent.includes("Firefox");const I_=ur&&navigator.userAgent.includes("Safari")&&!_H,M_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},SH={name:"Input",common:Ve,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderRadius:f,lineHeight:p,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:m,heightTiny:y,heightSmall:k,heightMedium:S,heightLarge:w,clearColor:x,clearColorHover:C,clearColorPressed:_,placeholderColor:R,placeholderColorDisabled:E,iconColor:M,iconColorDisabled:A,iconColorHover:q,iconColorPressed:F}=e;return Object.assign(Object.assign({},M_),{countTextColorDisabled:o,countTextColor:n,heightTiny:y,heightSmall:k,heightMedium:S,heightLarge:w,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:m,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:R,placeholderColorDisabled:E,color:a,colorDisabled:s,colorFocus:Ie(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Ie(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Ie(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Ie(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Ie(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Ie(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:C,clearColorPressed:_,iconColor:M,iconColorDisabled:A,iconColorHover:q,iconColorPressed:F,suffixTextColor:t})}},uo=SH,kH=e=>{const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:p,lineHeight:h,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:y,heightTiny:k,heightSmall:S,heightMedium:w,heightLarge:x,actionColor:C,clearColor:_,clearColorHover:R,clearColorPressed:E,placeholderColor:M,placeholderColorDisabled:A,iconColor:q,iconColorDisabled:F,iconColorHover:z,iconColorPressed:D}=e;return Object.assign(Object.assign({},M_),{countTextColorDisabled:o,countTextColor:n,heightTiny:k,heightSmall:S,heightMedium:w,heightLarge:x,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:y,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:C,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:M,placeholderColorDisabled:A,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${Ie(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Ie(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Ie(d,{alpha:.2})}`,caretColorError:d,clearColor:_,clearColorHover:R,clearColorPressed:E,iconColor:q,iconColorDisabled:F,iconColorHover:z,iconColorPressed:D,suffixTextColor:t})},TH={name:"Input",common:bt,self:kH},em=TH,z_="n-input";function PH(e){let t=0;for(const n of e)t++;return t}function Dl(e){return e===""||e==null}function RH(e){const t=N(null);function n(){const{value:i}=e;if(!(i!=null&&i.focus)){r();return}const{selectionStart:a,selectionEnd:s,value:l}=i;if(a==null||s==null){r();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var i;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:u,afterText:d}=a;let f=l.length;if(l.endsWith(d))f=l.length-d.length;else if(l.startsWith(u))f=u.length;else{const p=u[c-1],h=l.indexOf(p,c-1);h!==-1&&(f=h+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ht(e,r),{recordCursor:n,restoreCursor:o}}const P0=me({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=qe(z_),a=L(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||PH)(s)});return()=>{const{value:s}=o,{value:l}=n;return v("span",{class:`${r.value}-input-word-count`},eh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),EH=O("input",` + `,[W("& +",[V("content",{marginTop:"9px"})])]),V("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),V("icon",{transition:"color .3s var(--n-bezier)"})]),vH=Object.assign(Object.assign({},He.props),{title:String,showIcon:{type:Boolean,default:!0},type:{type:String,default:"default"},bordered:{type:Boolean,default:!0},closable:Boolean,onClose:Function,onAfterLeave:Function,onAfterHide:Function}),cl=me({name:"Alert",inheritAttrs:!1,props:vH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=He("Alert","-alert",gH,hH,e,t),a=pn("Alert",r,t),s=L(()=>{const{common:{cubicBezierEaseInOut:p},self:h}=i.value,{fontSize:g,borderRadius:b,titleFontWeight:m,lineHeight:y,iconSize:k,iconMargin:S,iconMarginRtl:w,closeIconSize:x,closeBorderRadius:C,closeSize:_,closeMargin:R,closeMarginRtl:E,padding:M}=h,{type:A}=e,{left:q,right:F}=yo(S);return{"--n-bezier":p,"--n-color":h[Se("color",A)],"--n-close-icon-size":x,"--n-close-border-radius":C,"--n-close-color-hover":h[Se("closeColorHover",A)],"--n-close-color-pressed":h[Se("closeColorPressed",A)],"--n-close-icon-color":h[Se("closeIconColor",A)],"--n-close-icon-color-hover":h[Se("closeIconColorHover",A)],"--n-close-icon-color-pressed":h[Se("closeIconColorPressed",A)],"--n-icon-color":h[Se("iconColor",A)],"--n-border":h[Se("border",A)],"--n-title-text-color":h[Se("titleTextColor",A)],"--n-content-text-color":h[Se("contentTextColor",A)],"--n-line-height":y,"--n-border-radius":b,"--n-font-size":g,"--n-title-font-weight":m,"--n-icon-size":k,"--n-icon-margin":S,"--n-icon-margin-rtl":w,"--n-close-size":_,"--n-close-margin":R,"--n-close-margin-rtl":E,"--n-padding":M,"--n-icon-margin-left":q,"--n-icon-margin-right":F}}),l=o?kt("alert",L(()=>e.type[0]),s,e):void 0,c=N(!0),u=()=>{const{onAfterLeave:p,onAfterHide:h}=e;p&&p(),h&&h()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var p;Promise.resolve((p=e.onClose)===null||p===void 0?void 0:p.call(e)).then(h=>{h!==!1&&(c.value=!1)})},handleAfterLeave:()=>{u()},mergedTheme:i,cssVars:o?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(Tu,{onAfterLeave:this.handleAfterLeave},{default:()=>{const{mergedClsPrefix:t,$slots:n}=this,o={class:[`${t}-alert`,this.themeClass,this.closable&&`${t}-alert--closable`,this.showIcon&&`${t}-alert--show-icon`,!this.title&&this.closable&&`${t}-alert--right-adjust`,this.rtlEnabled&&`${t}-alert--rtl`],style:this.cssVars,role:"alert"};return this.visible?v("div",Object.assign({},Dn(this.$attrs,o)),this.closable&&v(ji,{clsPrefix:t,class:`${t}-alert__close`,onClick:this.handleCloseClick}),this.bordered&&v("div",{class:`${t}-alert__border`}),this.showIcon&&v("div",{class:`${t}-alert__icon`,"aria-hidden":"true"},An(n.icon,()=>[v(Ut,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return v(Ni,null);case"info":return v(jr,null);case"warning":return v(Bi,null);case"error":return v(Fi,null);default:return null}}})])),v("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},$t(n.header,r=>{const i=r||this.title;return i?v("div",{class:`${t}-alert-body__title`},i):null}),n.default&&v("div",{class:`${t}-alert-body__content`},n))):null}})}}),bH={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"},yH=e=>{const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},bH),{borderRadius:t,railColor:n,railColorActive:o,linkColor:Ie(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})},xH={name:"Anchor",common:Ve,self:yH},CH=xH;function Mc(e){return e.type==="group"}function k_(e){return e.type==="ignored"}function Bd(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function T_(e,t){return{getIsGroup:Mc,getIgnored:k_,getKey(o){return Mc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function wH(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Mc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(k_(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function _H(e,t,n){const o=new Map;return e.forEach(r=>{Mc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const SH=ur&&"chrome"in window;ur&&navigator.userAgent.includes("Firefox");const P_=ur&&navigator.userAgent.includes("Safari")&&!SH,R_={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},kH={name:"Input",common:Ve,self(e){const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,warningColor:l,warningColorHover:c,errorColor:u,errorColorHover:d,borderRadius:f,lineHeight:p,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:m,heightTiny:y,heightSmall:k,heightMedium:S,heightLarge:w,clearColor:x,clearColorHover:C,clearColorPressed:_,placeholderColor:R,placeholderColorDisabled:E,iconColor:M,iconColorDisabled:A,iconColorHover:q,iconColorPressed:F}=e;return Object.assign(Object.assign({},R_),{countTextColorDisabled:o,countTextColor:n,heightTiny:y,heightSmall:k,heightMedium:S,heightLarge:w,fontSizeTiny:h,fontSizeSmall:g,fontSizeMedium:b,fontSizeLarge:m,lineHeight:p,lineHeightTextarea:p,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:R,placeholderColorDisabled:E,color:a,colorDisabled:s,colorFocus:Ie(r,{alpha:.1}),groupLabelBorder:"1px solid #0000",border:"1px solid #0000",borderHover:`1px solid ${i}`,borderDisabled:"1px solid #0000",borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 8px 0 ${Ie(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:Ie(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${Ie(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:Ie(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${Ie(u,{alpha:.3})}`,caretColorError:u,clearColor:x,clearColorHover:C,clearColorPressed:_,iconColor:M,iconColorDisabled:A,iconColorHover:q,iconColorPressed:F,suffixTextColor:t})}},uo=kH,TH=e=>{const{textColor2:t,textColor3:n,textColorDisabled:o,primaryColor:r,primaryColorHover:i,inputColor:a,inputColorDisabled:s,borderColor:l,warningColor:c,warningColorHover:u,errorColor:d,errorColorHover:f,borderRadius:p,lineHeight:h,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:y,heightTiny:k,heightSmall:S,heightMedium:w,heightLarge:x,actionColor:C,clearColor:_,clearColorHover:R,clearColorPressed:E,placeholderColor:M,placeholderColorDisabled:A,iconColor:q,iconColorDisabled:F,iconColorHover:z,iconColorPressed:D}=e;return Object.assign(Object.assign({},R_),{countTextColorDisabled:o,countTextColor:n,heightTiny:k,heightSmall:S,heightMedium:w,heightLarge:x,fontSizeTiny:g,fontSizeSmall:b,fontSizeMedium:m,fontSizeLarge:y,lineHeight:h,lineHeightTextarea:h,borderRadius:p,iconSize:"16px",groupLabelColor:C,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:M,placeholderColorDisabled:A,color:a,colorDisabled:s,colorFocus:a,groupLabelBorder:`1px solid ${l}`,border:`1px solid ${l}`,borderHover:`1px solid ${i}`,borderDisabled:`1px solid ${l}`,borderFocus:`1px solid ${i}`,boxShadowFocus:`0 0 0 2px ${Ie(r,{alpha:.2})}`,loadingColor:r,loadingColorWarning:c,borderWarning:`1px solid ${c}`,borderHoverWarning:`1px solid ${u}`,colorFocusWarning:a,borderFocusWarning:`1px solid ${u}`,boxShadowFocusWarning:`0 0 0 2px ${Ie(c,{alpha:.2})}`,caretColorWarning:c,loadingColorError:d,borderError:`1px solid ${d}`,borderHoverError:`1px solid ${f}`,colorFocusError:a,borderFocusError:`1px solid ${f}`,boxShadowFocusError:`0 0 0 2px ${Ie(d,{alpha:.2})}`,caretColorError:d,clearColor:_,clearColorHover:R,clearColorPressed:E,iconColor:q,iconColorDisabled:F,iconColorHover:z,iconColorPressed:D,suffixTextColor:t})},PH={name:"Input",common:bt,self:TH},em=PH,E_="n-input";function RH(e){let t=0;for(const n of e)t++;return t}function Dl(e){return e===""||e==null}function EH(e){const t=N(null);function n(){const{value:i}=e;if(!(i!=null&&i.focus)){r();return}const{selectionStart:a,selectionEnd:s,value:l}=i;if(a==null||s==null){r();return}t.value={start:a,end:s,beforeText:l.slice(0,a),afterText:l.slice(s)}}function o(){var i;const{value:a}=t,{value:s}=e;if(!a||!s)return;const{value:l}=s,{start:c,beforeText:u,afterText:d}=a;let f=l.length;if(l.endsWith(d))f=l.length-d.length;else if(l.startsWith(u))f=u.length;else{const p=u[c-1],h=l.indexOf(p,c-1);h!==-1&&(f=h+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ht(e,r),{recordCursor:n,restoreCursor:o}}const P0=me({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=qe(E_),a=L(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||RH)(s)});return()=>{const{value:s}=o,{value:l}=n;return v("span",{class:`${r.value}-input-word-count`},eh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),$H=O("input",` max-width: 100%; cursor: text; line-height: 1.5; @@ -1063,10 +1063,10 @@ ${t} `,[V("state-border",` box-shadow: var(--n-box-shadow-focus-${e}); border: var(--n-border-focus-${e}); - `)])])]))]),$H=O("input",[Z("disabled",[V("input-el, textarea-el",` + `)])])]))]),AH=O("input",[Z("disabled",[V("input-el, textarea-el",` -webkit-text-fill-color: var(--n-text-color-disabled); - `)])]),AH=Object.assign(Object.assign({},He.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),_o=me({name:"Input",props:AH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=He("Input","-input",EH,em,e,t);I_&&Yr("-input-safari",$H,t);const a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=RH(f),h=N(null),{localeRef:g}=Li("Input"),b=N(e.defaultValue),m=Ue(e,"value"),y=ln(m,b),k=dr(e),{mergedSizeRef:S,mergedDisabledRef:w,mergedStatusRef:x}=k,C=N(!1),_=N(!1),R=N(!1),E=N(!1);let M=null;const A=L(()=>{const{placeholder:ae,pair:ke}=e;return ke?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[g.value.placeholder]:[ae]}),q=L(()=>{const{value:ae}=R,{value:ke}=y,{value:nt}=A;return!ae&&(Dl(ke)||Array.isArray(ke)&&Dl(ke[0]))&&nt[0]}),F=L(()=>{const{value:ae}=R,{value:ke}=y,{value:nt}=A;return!ae&&nt[1]&&(Dl(ke)||Array.isArray(ke)&&Dl(ke[1]))}),z=St(()=>e.internalForceFocus||C.value),D=St(()=>{if(w.value||e.readonly||!e.clearable||!z.value&&!_.value)return!1;const{value:ae}=y,{value:ke}=z;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(_.value||ke):!!ae&&(_.value||ke)}),Y=L(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),Q=N(!1),ce=L(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(ke=>({textDecoration:ke})):[{textDecoration:ae}]:["",""]}),le=N(void 0),B=()=>{var ae,ke;if(e.type==="textarea"){const{autosize:nt}=e;if(nt&&(le.value=(ke=(ae=h.value)===null||ae===void 0?void 0:ae.$el)===null||ke===void 0?void 0:ke.offsetWidth),!s.value||typeof nt=="boolean")return;const{paddingTop:Nt,paddingBottom:Kt,lineHeight:Dt}=window.getComputedStyle(s.value),ho=Number(Nt.slice(0,-2)),po=Number(Kt.slice(0,-2)),mo=Number(Dt.slice(0,-2)),{value:Xo}=l;if(!Xo)return;if(nt.minRows){const Zo=Math.max(nt.minRows,1),Jr=`${ho+po+mo*Zo}px`;Xo.style.minHeight=Jr}if(nt.maxRows){const Zo=`${ho+po+mo*nt.maxRows}px`;Xo.style.maxHeight=Zo}}},$=L(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});Lt(()=>{const{value:ae}=y;Array.isArray(ae)||yt(ae)});const I=Zn().proxy;function K(ae,ke){const{onUpdateValue:nt,"onUpdate:value":Nt,onInput:Kt}=e,{nTriggerFormInput:Dt}=k;nt&&Pe(nt,ae,ke),Nt&&Pe(Nt,ae,ke),Kt&&Pe(Kt,ae,ke),b.value=ae,Dt()}function ne(ae,ke){const{onChange:nt}=e,{nTriggerFormChange:Nt}=k;nt&&Pe(nt,ae,ke),b.value=ae,Nt()}function ve(ae){const{onBlur:ke}=e,{nTriggerFormBlur:nt}=k;ke&&Pe(ke,ae),nt()}function J(ae){const{onFocus:ke}=e,{nTriggerFormFocus:nt}=k;ke&&Pe(ke,ae),nt()}function ye(ae){const{onClear:ke}=e;ke&&Pe(ke,ae)}function j(ae){const{onInputBlur:ke}=e;ke&&Pe(ke,ae)}function ge(ae){const{onInputFocus:ke}=e;ke&&Pe(ke,ae)}function Ee(){const{onDeactivate:ae}=e;ae&&Pe(ae)}function Ne(){const{onActivate:ae}=e;ae&&Pe(ae)}function T(ae){const{onClick:ke}=e;ke&&Pe(ke,ae)}function P(ae){const{onWrapperFocus:ke}=e;ke&&Pe(ke,ae)}function U(ae){const{onWrapperBlur:ke}=e;ke&&Pe(ke,ae)}function oe(){R.value=!0}function G(ae){R.value=!1,ae.target===d.value?se(ae,1):se(ae,0)}function se(ae,ke=0,nt="input"){const Nt=ae.target.value;if(yt(Nt),ae instanceof InputEvent&&!ae.isComposing&&(R.value=!1),e.type==="textarea"){const{value:Dt}=h;Dt&&Dt.syncUnifiedContainer()}if(M=Nt,R.value)return;p.recordCursor();const Kt=xe(Nt);if(Kt)if(!e.pair)nt==="input"?K(Nt,{source:ke}):ne(Nt,{source:ke});else{let{value:Dt}=y;Array.isArray(Dt)?Dt=[Dt[0],Dt[1]]:Dt=["",""],Dt[ke]=Nt,nt==="input"?K(Dt,{source:ke}):ne(Dt,{source:ke})}I.$forceUpdate(),Kt||Ht(p.restoreCursor)}function xe(ae){const{countGraphemes:ke,maxlength:nt,minlength:Nt}=e;if(ke){let Dt;if(nt!==void 0&&(Dt===void 0&&(Dt=ke(ae)),Dt>Number(nt))||Nt!==void 0&&(Dt===void 0&&(Dt=ke(ae)),Dt{Nt.preventDefault(),Tt("mouseup",document,ke)};if(Mt("mouseup",document,ke),Y.value!=="mousedown")return;Q.value=!0;const nt=()=>{Q.value=!1,Tt("mouseup",document,nt)};Mt("mouseup",document,nt)}function ot(ae){e.onKeyup&&Pe(e.onKeyup,ae)}function xt(ae){switch(e.onKeydown&&Pe(e.onKeydown,ae),ae.key){case"Escape":pe();break;case"Enter":X(ae);break}}function X(ae){var ke,nt;if(e.passivelyActivated){const{value:Nt}=E;if(Nt){e.internalDeactivateOnEnter&&pe();return}ae.preventDefault(),e.type==="textarea"?(ke=s.value)===null||ke===void 0||ke.focus():(nt=u.value)===null||nt===void 0||nt.focus()}}function pe(){e.passivelyActivated&&(E.value=!1,Ht(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function Te(){var ae,ke,nt;w.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((ke=s.value)===null||ke===void 0||ke.focus(),(nt=u.value)===null||nt===void 0||nt.focus()))}function Ke(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Xe(){var ae,ke;(ae=s.value)===null||ae===void 0||ae.select(),(ke=u.value)===null||ke===void 0||ke.select()}function Ze(){w.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&pe()}function rt(ae){if(e.type==="textarea"){const{value:ke}=s;ke==null||ke.scrollTo(ae)}else{const{value:ke}=u;ke==null||ke.scrollTo(ae)}}function yt(ae){const{type:ke,pair:nt,autosize:Nt}=e;if(!nt&&Nt)if(ke==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(ae??"")+`\r -`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML=" ")}}function nn(){B()}const Wt=N({top:"0"});function _e(ae){var ke;const{scrollTop:nt}=ae.target;Wt.value.top=`${-nt}px`,(ke=h.value)===null||ke===void 0||ke.syncUnifiedContainer()}let je=null;tn(()=>{const{autosize:ae,type:ke}=e;ae&&ke==="textarea"?je=ht(y,nt=>{!Array.isArray(nt)&&nt!==M&&yt(nt)}):je==null||je()});let Qe=null;tn(()=>{e.type==="textarea"?Qe=ht(y,ae=>{var ke;!Array.isArray(ae)&&ae!==M&&((ke=h.value)===null||ke===void 0||ke.syncUnifiedContainer())}):Qe==null||Qe()}),lt(z_,{mergedValueRef:y,maxlengthRef:$,mergedClsPrefixRef:t,countGraphemesRef:Ue(e,"countGraphemes")});const pt={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:R,clear:Le,focus:Te,blur:Ke,select:Xe,deactivate:tt,activate:Ze,scrollTo:rt},gt=pn("Input",r,t),ct=L(()=>{const{value:ae}=S,{common:{cubicBezierEaseInOut:ke},self:{color:nt,borderRadius:Nt,textColor:Kt,caretColor:Dt,caretColorError:ho,caretColorWarning:po,textDecorationColor:mo,border:Xo,borderDisabled:Zo,borderHover:Jr,borderFocus:Ga,placeholderColor:Ya,placeholderColorDisabled:Xa,lineHeightTextarea:Za,colorDisabled:gr,colorFocus:vr,textColorDisabled:Yu,boxShadowFocus:Xu,iconSize:Zu,colorFocusWarning:Ju,boxShadowFocusWarning:Qu,borderWarning:ed,borderFocusWarning:sk,borderHoverWarning:lk,colorFocusError:ck,boxShadowFocusError:uk,borderError:dk,borderFocusError:fk,borderHoverError:hk,clearSize:pk,clearColor:mk,clearColorHover:gk,clearColorPressed:vk,iconColor:bk,iconColorDisabled:yk,suffixTextColor:xk,countTextColor:Ck,countTextColorDisabled:wk,iconColorHover:_k,iconColorPressed:Sk,loadingColor:kk,loadingColorError:Tk,loadingColorWarning:Pk,[Se("padding",ae)]:Rk,[Se("fontSize",ae)]:Ek,[Se("height",ae)]:$k}}=i.value,{left:Ak,right:Ik}=yo(Rk);return{"--n-bezier":ke,"--n-count-text-color":Ck,"--n-count-text-color-disabled":wk,"--n-color":nt,"--n-font-size":Ek,"--n-border-radius":Nt,"--n-height":$k,"--n-padding-left":Ak,"--n-padding-right":Ik,"--n-text-color":Kt,"--n-caret-color":Dt,"--n-text-decoration-color":mo,"--n-border":Xo,"--n-border-disabled":Zo,"--n-border-hover":Jr,"--n-border-focus":Ga,"--n-placeholder-color":Ya,"--n-placeholder-color-disabled":Xa,"--n-icon-size":Zu,"--n-line-height-textarea":Za,"--n-color-disabled":gr,"--n-color-focus":vr,"--n-text-color-disabled":Yu,"--n-box-shadow-focus":Xu,"--n-loading-color":kk,"--n-caret-color-warning":po,"--n-color-focus-warning":Ju,"--n-box-shadow-focus-warning":Qu,"--n-border-warning":ed,"--n-border-focus-warning":sk,"--n-border-hover-warning":lk,"--n-loading-color-warning":Pk,"--n-caret-color-error":ho,"--n-color-focus-error":ck,"--n-box-shadow-focus-error":uk,"--n-border-error":dk,"--n-border-focus-error":fk,"--n-border-hover-error":hk,"--n-loading-color-error":Tk,"--n-clear-color":mk,"--n-clear-size":pk,"--n-clear-color-hover":gk,"--n-clear-color-pressed":vk,"--n-icon-color":bk,"--n-icon-color-hover":_k,"--n-icon-color-pressed":Sk,"--n-icon-color-disabled":yk,"--n-suffix-text-color":xk}}),Rt=o?kt("input",L(()=>{const{value:ae}=S;return ae[0]}),ct,e):void 0;return Object.assign(Object.assign({},pt),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:gt,uncontrolledValue:b,mergedValue:y,passwordVisible:Q,mergedPlaceholder:A,showPlaceholder1:q,showPlaceholder2:F,mergedFocus:z,isComposing:R,activated:E,showClearButton:D,mergedSize:S,mergedDisabled:w,textDecorationStyle:ce,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:Y,placeholderStyle:Wt,mergedStatus:x,textAreaScrollContainerWidth:le,handleTextAreaScroll:_e,handleCompositionStart:oe,handleCompositionEnd:G,handleInput:se,handleInputBlur:be,handleInputFocus:Ce,handleWrapperBlur:we,handleWrapperFocus:Re,handleMouseEnter:$e,handleMouseLeave:Me,handleMouseDown:De,handleChange:ee,handleClick:fe,handleClear:Oe,handlePasswordToggleClick:Fe,handlePasswordToggleMousedown:Be,handleWrapperKeydown:xt,handleWrapperKeyup:ot,handleTextAreaMirrorResize:nn,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ct,themeClass:Rt==null?void 0:Rt.themeClass,onRender:Rt==null?void 0:Rt.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),v("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},v("div",{class:`${n}-input-wrapper`},$t(l.prefix,c=>c&&v("div",{class:`${n}-input__prefix`},c)),i==="textarea"?v(ko,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return v(it,null,v("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:p=>{this.handleInputFocus(p,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?v(lr,{onResize:this.handleTextAreaMirrorResize},{default:()=>v("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):v("div",{class:`${n}-input__input`},v("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[0])):null,this.autosize?v("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&$t(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${n}-input__suffix`},[$t(l["clear-icon-placeholder"],u=>(this.clearable||u)&&v(yh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?v(T_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?v(P0,null,{default:u=>{var d;return(d=l.count)===null||d===void 0?void 0:d.call(l,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?v("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(IN,null)})]):An(l["password-invisible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(MN,null)})])):null]):null)),this.pair?v("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?v("div",{class:`${n}-input-wrapper`},v("div",{class:`${n}-input__input`},v("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[1])):null),$t(l.suffix,c=>(this.clearable||c)&&v("div",{class:`${n}-input__suffix`},[this.clearable&&v(yh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?v("div",{class:`${n}-input__border`}):null,this.mergedBordered?v("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?v(P0,null,{default:c=>{var u;const{renderCount:d}=this;return d?d(c):(u=l.count)===null||u===void 0?void 0:u.call(l,c)}}):null)}}),IH=O("input-group",` + `)])]),IH=Object.assign(Object.assign({},He.props),{bordered:{type:Boolean,default:void 0},type:{type:String,default:"text"},placeholder:[Array,String],defaultValue:{type:[String,Array],default:null},value:[String,Array],disabled:{type:Boolean,default:void 0},size:String,rows:{type:[Number,String],default:3},round:Boolean,minlength:[String,Number],maxlength:[String,Number],clearable:Boolean,autosize:{type:[Boolean,Object],default:!1},pair:Boolean,separator:String,readonly:{type:[String,Boolean],default:!1},passivelyActivated:Boolean,showPasswordOn:String,stateful:{type:Boolean,default:!0},autofocus:Boolean,inputProps:Object,resizable:{type:Boolean,default:!0},showCount:Boolean,loading:{type:Boolean,default:void 0},allowInput:Function,renderCount:Function,onMousedown:Function,onKeydown:Function,onKeyup:[Function,Array],onInput:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClick:[Function,Array],onChange:[Function,Array],onClear:[Function,Array],countGraphemes:Function,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],textDecoration:[String,Array],attrSize:{type:Number,default:20},onInputBlur:[Function,Array],onInputFocus:[Function,Array],onDeactivate:[Function,Array],onActivate:[Function,Array],onWrapperFocus:[Function,Array],onWrapperBlur:[Function,Array],internalDeactivateOnEnter:Boolean,internalForceFocus:Boolean,internalLoadingBeforeSuffix:{type:Boolean,default:!0},showPasswordToggle:Boolean}),_o=me({name:"Input",props:IH,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=He("Input","-input",$H,em,e,t);P_&&Yr("-input-safari",AH,t);const a=N(null),s=N(null),l=N(null),c=N(null),u=N(null),d=N(null),f=N(null),p=EH(f),h=N(null),{localeRef:g}=Li("Input"),b=N(e.defaultValue),m=Ue(e,"value"),y=ln(m,b),k=dr(e),{mergedSizeRef:S,mergedDisabledRef:w,mergedStatusRef:x}=k,C=N(!1),_=N(!1),R=N(!1),E=N(!1);let M=null;const A=L(()=>{const{placeholder:ae,pair:ke}=e;return ke?Array.isArray(ae)?ae:ae===void 0?["",""]:[ae,ae]:ae===void 0?[g.value.placeholder]:[ae]}),q=L(()=>{const{value:ae}=R,{value:ke}=y,{value:nt}=A;return!ae&&(Dl(ke)||Array.isArray(ke)&&Dl(ke[0]))&&nt[0]}),F=L(()=>{const{value:ae}=R,{value:ke}=y,{value:nt}=A;return!ae&&nt[1]&&(Dl(ke)||Array.isArray(ke)&&Dl(ke[1]))}),z=St(()=>e.internalForceFocus||C.value),D=St(()=>{if(w.value||e.readonly||!e.clearable||!z.value&&!_.value)return!1;const{value:ae}=y,{value:ke}=z;return e.pair?!!(Array.isArray(ae)&&(ae[0]||ae[1]))&&(_.value||ke):!!ae&&(_.value||ke)}),Y=L(()=>{const{showPasswordOn:ae}=e;if(ae)return ae;if(e.showPasswordToggle)return"click"}),Q=N(!1),ce=L(()=>{const{textDecoration:ae}=e;return ae?Array.isArray(ae)?ae.map(ke=>({textDecoration:ke})):[{textDecoration:ae}]:["",""]}),le=N(void 0),B=()=>{var ae,ke;if(e.type==="textarea"){const{autosize:nt}=e;if(nt&&(le.value=(ke=(ae=h.value)===null||ae===void 0?void 0:ae.$el)===null||ke===void 0?void 0:ke.offsetWidth),!s.value||typeof nt=="boolean")return;const{paddingTop:Nt,paddingBottom:Kt,lineHeight:Dt}=window.getComputedStyle(s.value),ho=Number(Nt.slice(0,-2)),po=Number(Kt.slice(0,-2)),mo=Number(Dt.slice(0,-2)),{value:Xo}=l;if(!Xo)return;if(nt.minRows){const Zo=Math.max(nt.minRows,1),Jr=`${ho+po+mo*Zo}px`;Xo.style.minHeight=Jr}if(nt.maxRows){const Zo=`${ho+po+mo*nt.maxRows}px`;Xo.style.maxHeight=Zo}}},$=L(()=>{const{maxlength:ae}=e;return ae===void 0?void 0:Number(ae)});Lt(()=>{const{value:ae}=y;Array.isArray(ae)||yt(ae)});const I=Zn().proxy;function K(ae,ke){const{onUpdateValue:nt,"onUpdate:value":Nt,onInput:Kt}=e,{nTriggerFormInput:Dt}=k;nt&&Pe(nt,ae,ke),Nt&&Pe(Nt,ae,ke),Kt&&Pe(Kt,ae,ke),b.value=ae,Dt()}function ne(ae,ke){const{onChange:nt}=e,{nTriggerFormChange:Nt}=k;nt&&Pe(nt,ae,ke),b.value=ae,Nt()}function ve(ae){const{onBlur:ke}=e,{nTriggerFormBlur:nt}=k;ke&&Pe(ke,ae),nt()}function J(ae){const{onFocus:ke}=e,{nTriggerFormFocus:nt}=k;ke&&Pe(ke,ae),nt()}function ye(ae){const{onClear:ke}=e;ke&&Pe(ke,ae)}function j(ae){const{onInputBlur:ke}=e;ke&&Pe(ke,ae)}function ge(ae){const{onInputFocus:ke}=e;ke&&Pe(ke,ae)}function Ee(){const{onDeactivate:ae}=e;ae&&Pe(ae)}function Ne(){const{onActivate:ae}=e;ae&&Pe(ae)}function T(ae){const{onClick:ke}=e;ke&&Pe(ke,ae)}function P(ae){const{onWrapperFocus:ke}=e;ke&&Pe(ke,ae)}function U(ae){const{onWrapperBlur:ke}=e;ke&&Pe(ke,ae)}function oe(){R.value=!0}function G(ae){R.value=!1,ae.target===d.value?se(ae,1):se(ae,0)}function se(ae,ke=0,nt="input"){const Nt=ae.target.value;if(yt(Nt),ae instanceof InputEvent&&!ae.isComposing&&(R.value=!1),e.type==="textarea"){const{value:Dt}=h;Dt&&Dt.syncUnifiedContainer()}if(M=Nt,R.value)return;p.recordCursor();const Kt=xe(Nt);if(Kt)if(!e.pair)nt==="input"?K(Nt,{source:ke}):ne(Nt,{source:ke});else{let{value:Dt}=y;Array.isArray(Dt)?Dt=[Dt[0],Dt[1]]:Dt=["",""],Dt[ke]=Nt,nt==="input"?K(Dt,{source:ke}):ne(Dt,{source:ke})}I.$forceUpdate(),Kt||Ht(p.restoreCursor)}function xe(ae){const{countGraphemes:ke,maxlength:nt,minlength:Nt}=e;if(ke){let Dt;if(nt!==void 0&&(Dt===void 0&&(Dt=ke(ae)),Dt>Number(nt))||Nt!==void 0&&(Dt===void 0&&(Dt=ke(ae)),Dt{Nt.preventDefault(),Tt("mouseup",document,ke)};if(Mt("mouseup",document,ke),Y.value!=="mousedown")return;Q.value=!0;const nt=()=>{Q.value=!1,Tt("mouseup",document,nt)};Mt("mouseup",document,nt)}function ot(ae){e.onKeyup&&Pe(e.onKeyup,ae)}function xt(ae){switch(e.onKeydown&&Pe(e.onKeydown,ae),ae.key){case"Escape":pe();break;case"Enter":X(ae);break}}function X(ae){var ke,nt;if(e.passivelyActivated){const{value:Nt}=E;if(Nt){e.internalDeactivateOnEnter&&pe();return}ae.preventDefault(),e.type==="textarea"?(ke=s.value)===null||ke===void 0||ke.focus():(nt=u.value)===null||nt===void 0||nt.focus()}}function pe(){e.passivelyActivated&&(E.value=!1,Ht(()=>{var ae;(ae=a.value)===null||ae===void 0||ae.focus()}))}function Te(){var ae,ke,nt;w.value||(e.passivelyActivated?(ae=a.value)===null||ae===void 0||ae.focus():((ke=s.value)===null||ke===void 0||ke.focus(),(nt=u.value)===null||nt===void 0||nt.focus()))}function Ke(){var ae;!((ae=a.value)===null||ae===void 0)&&ae.contains(document.activeElement)&&document.activeElement.blur()}function Xe(){var ae,ke;(ae=s.value)===null||ae===void 0||ae.select(),(ke=u.value)===null||ke===void 0||ke.select()}function Ze(){w.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:ae}=a;ae!=null&&ae.contains(document.activeElement)&&ae!==document.activeElement&&pe()}function rt(ae){if(e.type==="textarea"){const{value:ke}=s;ke==null||ke.scrollTo(ae)}else{const{value:ke}=u;ke==null||ke.scrollTo(ae)}}function yt(ae){const{type:ke,pair:nt,autosize:Nt}=e;if(!nt&&Nt)if(ke==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=(ae??"")+`\r +`)}else{const{value:Kt}=c;Kt&&(ae?Kt.textContent=ae:Kt.innerHTML=" ")}}function nn(){B()}const Wt=N({top:"0"});function _e(ae){var ke;const{scrollTop:nt}=ae.target;Wt.value.top=`${-nt}px`,(ke=h.value)===null||ke===void 0||ke.syncUnifiedContainer()}let je=null;tn(()=>{const{autosize:ae,type:ke}=e;ae&&ke==="textarea"?je=ht(y,nt=>{!Array.isArray(nt)&&nt!==M&&yt(nt)}):je==null||je()});let Qe=null;tn(()=>{e.type==="textarea"?Qe=ht(y,ae=>{var ke;!Array.isArray(ae)&&ae!==M&&((ke=h.value)===null||ke===void 0||ke.syncUnifiedContainer())}):Qe==null||Qe()}),lt(E_,{mergedValueRef:y,maxlengthRef:$,mergedClsPrefixRef:t,countGraphemesRef:Ue(e,"countGraphemes")});const pt={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:R,clear:Le,focus:Te,blur:Ke,select:Xe,deactivate:tt,activate:Ze,scrollTo:rt},gt=pn("Input",r,t),ct=L(()=>{const{value:ae}=S,{common:{cubicBezierEaseInOut:ke},self:{color:nt,borderRadius:Nt,textColor:Kt,caretColor:Dt,caretColorError:ho,caretColorWarning:po,textDecorationColor:mo,border:Xo,borderDisabled:Zo,borderHover:Jr,borderFocus:Ga,placeholderColor:Ya,placeholderColorDisabled:Xa,lineHeightTextarea:Za,colorDisabled:gr,colorFocus:vr,textColorDisabled:Xu,boxShadowFocus:Zu,iconSize:Ju,colorFocusWarning:Qu,boxShadowFocusWarning:ed,borderWarning:td,borderFocusWarning:ck,borderHoverWarning:uk,colorFocusError:dk,boxShadowFocusError:fk,borderError:hk,borderFocusError:pk,borderHoverError:mk,clearSize:gk,clearColor:vk,clearColorHover:bk,clearColorPressed:yk,iconColor:xk,iconColorDisabled:Ck,suffixTextColor:wk,countTextColor:_k,countTextColorDisabled:Sk,iconColorHover:kk,iconColorPressed:Tk,loadingColor:Pk,loadingColorError:Rk,loadingColorWarning:Ek,[Se("padding",ae)]:$k,[Se("fontSize",ae)]:Ak,[Se("height",ae)]:Ik}}=i.value,{left:Mk,right:zk}=yo($k);return{"--n-bezier":ke,"--n-count-text-color":_k,"--n-count-text-color-disabled":Sk,"--n-color":nt,"--n-font-size":Ak,"--n-border-radius":Nt,"--n-height":Ik,"--n-padding-left":Mk,"--n-padding-right":zk,"--n-text-color":Kt,"--n-caret-color":Dt,"--n-text-decoration-color":mo,"--n-border":Xo,"--n-border-disabled":Zo,"--n-border-hover":Jr,"--n-border-focus":Ga,"--n-placeholder-color":Ya,"--n-placeholder-color-disabled":Xa,"--n-icon-size":Ju,"--n-line-height-textarea":Za,"--n-color-disabled":gr,"--n-color-focus":vr,"--n-text-color-disabled":Xu,"--n-box-shadow-focus":Zu,"--n-loading-color":Pk,"--n-caret-color-warning":po,"--n-color-focus-warning":Qu,"--n-box-shadow-focus-warning":ed,"--n-border-warning":td,"--n-border-focus-warning":ck,"--n-border-hover-warning":uk,"--n-loading-color-warning":Ek,"--n-caret-color-error":ho,"--n-color-focus-error":dk,"--n-box-shadow-focus-error":fk,"--n-border-error":hk,"--n-border-focus-error":pk,"--n-border-hover-error":mk,"--n-loading-color-error":Rk,"--n-clear-color":vk,"--n-clear-size":gk,"--n-clear-color-hover":bk,"--n-clear-color-pressed":yk,"--n-icon-color":xk,"--n-icon-color-hover":kk,"--n-icon-color-pressed":Tk,"--n-icon-color-disabled":Ck,"--n-suffix-text-color":wk}}),Rt=o?kt("input",L(()=>{const{value:ae}=S;return ae[0]}),ct,e):void 0;return Object.assign(Object.assign({},pt),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:h,rtlEnabled:gt,uncontrolledValue:b,mergedValue:y,passwordVisible:Q,mergedPlaceholder:A,showPlaceholder1:q,showPlaceholder2:F,mergedFocus:z,isComposing:R,activated:E,showClearButton:D,mergedSize:S,mergedDisabled:w,textDecorationStyle:ce,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:Y,placeholderStyle:Wt,mergedStatus:x,textAreaScrollContainerWidth:le,handleTextAreaScroll:_e,handleCompositionStart:oe,handleCompositionEnd:G,handleInput:se,handleInputBlur:be,handleInputFocus:Ce,handleWrapperBlur:we,handleWrapperFocus:Re,handleMouseEnter:$e,handleMouseLeave:Me,handleMouseDown:De,handleChange:ee,handleClick:fe,handleClear:Oe,handlePasswordToggleClick:Fe,handlePasswordToggleMousedown:Be,handleWrapperKeydown:xt,handleWrapperKeyup:ot,handleTextAreaMirrorResize:nn,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:ct,themeClass:Rt==null?void 0:Rt.themeClass,onRender:Rt==null?void 0:Rt.onRender})},render(){var e,t;const{mergedClsPrefix:n,mergedStatus:o,themeClass:r,type:i,countGraphemes:a,onRender:s}=this,l=this.$slots;return s==null||s(),v("div",{ref:"wrapperElRef",class:[`${n}-input`,r,o&&`${n}-input--${o}-status`,{[`${n}-input--rtl`]:this.rtlEnabled,[`${n}-input--disabled`]:this.mergedDisabled,[`${n}-input--textarea`]:i==="textarea",[`${n}-input--resizable`]:this.resizable&&!this.autosize,[`${n}-input--autosize`]:this.autosize,[`${n}-input--round`]:this.round&&i!=="textarea",[`${n}-input--pair`]:this.pair,[`${n}-input--focus`]:this.mergedFocus,[`${n}-input--stateful`]:this.stateful}],style:this.cssVars,tabindex:!this.mergedDisabled&&this.passivelyActivated&&!this.activated?0:void 0,onFocus:this.handleWrapperFocus,onBlur:this.handleWrapperBlur,onClick:this.handleClick,onMousedown:this.handleMouseDown,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onCompositionstart:this.handleCompositionStart,onCompositionend:this.handleCompositionEnd,onKeyup:this.handleWrapperKeyup,onKeydown:this.handleWrapperKeydown},v("div",{class:`${n}-input-wrapper`},$t(l.prefix,c=>c&&v("div",{class:`${n}-input__prefix`},c)),i==="textarea"?v(ko,{ref:"textareaScrollbarInstRef",class:`${n}-input__textarea`,container:this.getTextareaScrollContainer,triggerDisplayManually:!0,useUnifiedContainer:!0,internalHoistYRail:!0},{default:()=>{var c,u;const{textAreaScrollContainerWidth:d}=this,f={width:this.autosize&&d&&`${d}px`};return v(it,null,v("textarea",Object.assign({},this.inputProps,{ref:"textareaElRef",class:[`${n}-input__textarea-el`,(c=this.inputProps)===null||c===void 0?void 0:c.class],autofocus:this.autofocus,rows:Number(this.rows),placeholder:this.placeholder,value:this.mergedValue,disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,readonly:this.readonly,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,style:[this.textDecorationStyle[0],(u=this.inputProps)===null||u===void 0?void 0:u.style,f],onBlur:this.handleInputBlur,onFocus:p=>{this.handleInputFocus(p,2)},onInput:this.handleInput,onChange:this.handleChange,onScroll:this.handleTextAreaScroll})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`,style:[this.placeholderStyle,f],key:"placeholder"},this.mergedPlaceholder[0]):null,this.autosize?v(lr,{onResize:this.handleTextAreaMirrorResize},{default:()=>v("div",{ref:"textareaMirrorElRef",class:`${n}-input__textarea-mirror`,key:"mirror"})}):null)}}):v("div",{class:`${n}-input__input`},v("input",Object.assign({type:i==="password"&&this.mergedShowPasswordOn&&this.passwordVisible?"text":i},this.inputProps,{ref:"inputElRef",class:[`${n}-input__input-el`,(e=this.inputProps)===null||e===void 0?void 0:e.class],style:[this.textDecorationStyle[0],(t=this.inputProps)===null||t===void 0?void 0:t.style],tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[0],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[0]:this.mergedValue,readonly:this.readonly,autofocus:this.autofocus,size:this.attrSize,onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,0)},onInput:c=>{this.handleInput(c,0)},onChange:c=>{this.handleChange(c,0)}})),this.showPlaceholder1?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[0])):null,this.autosize?v("div",{class:`${n}-input__input-mirror`,key:"mirror",ref:"inputMirrorElRef"}," "):null),!this.pair&&$t(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${n}-input__suffix`},[$t(l["clear-icon-placeholder"],u=>(this.clearable||u)&&v(yh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{placeholder:()=>u,icon:()=>{var d,f;return(f=(d=this.$slots)["clear-icon"])===null||f===void 0?void 0:f.call(d)}})),this.internalLoadingBeforeSuffix?null:c,this.loading!==void 0?v(C_,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?v(P0,null,{default:u=>{var d;return(d=l.count)===null||d===void 0?void 0:d.call(l,u)}}):null,this.mergedShowPasswordOn&&this.type==="password"?v("div",{class:`${n}-input__eye`,onMousedown:this.handlePasswordToggleMousedown,onClick:this.handlePasswordToggleClick},this.passwordVisible?An(l["password-visible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(MN,null)})]):An(l["password-invisible-icon"],()=>[v(Ut,{clsPrefix:n},{default:()=>v(zN,null)})])):null]):null)),this.pair?v("span",{class:`${n}-input__separator`},An(l.separator,()=>[this.separator])):null,this.pair?v("div",{class:`${n}-input-wrapper`},v("div",{class:`${n}-input__input`},v("input",{ref:"inputEl2Ref",type:this.type,class:`${n}-input__input-el`,tabindex:this.passivelyActivated&&!this.activated?-1:void 0,placeholder:this.mergedPlaceholder[1],disabled:this.mergedDisabled,maxlength:a?void 0:this.maxlength,minlength:a?void 0:this.minlength,value:Array.isArray(this.mergedValue)?this.mergedValue[1]:void 0,readonly:this.readonly,style:this.textDecorationStyle[1],onBlur:this.handleInputBlur,onFocus:c=>{this.handleInputFocus(c,1)},onInput:c=>{this.handleInput(c,1)},onChange:c=>{this.handleChange(c,1)}}),this.showPlaceholder2?v("div",{class:`${n}-input__placeholder`},v("span",null,this.mergedPlaceholder[1])):null),$t(l.suffix,c=>(this.clearable||c)&&v("div",{class:`${n}-input__suffix`},[this.clearable&&v(yh,{clsPrefix:n,show:this.showClearButton,onClear:this.handleClear},{icon:()=>{var u;return(u=l["clear-icon"])===null||u===void 0?void 0:u.call(l)},placeholder:()=>{var u;return(u=l["clear-icon-placeholder"])===null||u===void 0?void 0:u.call(l)}}),c]))):null,this.mergedBordered?v("div",{class:`${n}-input__border`}):null,this.mergedBordered?v("div",{class:`${n}-input__state-border`}):null,this.showCount&&i==="textarea"?v(P0,null,{default:c=>{var u;const{renderCount:d}=this;return d?d(c):(u=l.count)===null||u===void 0?void 0:u.call(l,c)}}):null)}}),MH=O("input-group",` display: inline-flex; width: 100%; flex-wrap: nowrap; @@ -1121,7 +1121,7 @@ ${t} `),V("box-shadow, border, state-border",` border-top-left-radius: 0!important; border-bottom-left-radius: 0!important; - `)])])])])])]),MH={},Pu=me({name:"InputGroup",props:MH,setup(e){const{mergedClsPrefixRef:t}=at(e);return Yr("-input-group",IH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-input-group`},this.$slots)}});function zH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const OH={name:"AutoComplete",common:Ve,peers:{InternalSelectMenu:sl,Input:uo},self:zH},DH=OH,LH=e=>{const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:d}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:et(o,n),colorModal:et(u,n),colorPopover:et(d,n)}},FH={name:"Avatar",common:Ve,self:LH},O_=FH,NH=()=>({gap:"-12px"}),BH={name:"AvatarGroup",common:Ve,peers:{Avatar:O_},self:NH},HH=BH,D_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},jH={name:"BackTop",common:Ve,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},D_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},VH=jH,UH=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},D_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},WH={name:"BackTop",common:bt,self:UH},qH=WH,KH=v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},v("g",{transform:"translate(120.000000, 4285.000000)"},v("g",{transform:"translate(7.000000, 126.000000)"},v("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},v("g",{transform:"translate(4.000000, 2.000000)"},v("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),v("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),GH=O("back-top",` + `)])])])])])]),zH={},Ru=me({name:"InputGroup",props:zH,setup(e){const{mergedClsPrefixRef:t}=at(e);return Yr("-input-group",MH,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-input-group`},this.$slots)}});function OH(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const DH={name:"AutoComplete",common:Ve,peers:{InternalSelectMenu:sl,Input:uo},self:OH},LH=DH,FH=e=>{const{borderRadius:t,avatarColor:n,cardColor:o,fontSize:r,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,modalColor:u,popoverColor:d}=e;return{borderRadius:t,fontSize:r,border:`2px solid ${o}`,heightTiny:i,heightSmall:a,heightMedium:s,heightLarge:l,heightHuge:c,color:et(o,n),colorModal:et(u,n),colorPopover:et(d,n)}},NH={name:"Avatar",common:Ve,self:FH},$_=NH,BH=()=>({gap:"-12px"}),HH={name:"AvatarGroup",common:Ve,peers:{Avatar:$_},self:BH},jH=HH,A_={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},VH={name:"BackTop",common:Ve,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},A_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})}},UH=VH,WH=e=>{const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},A_),{color:t,textColor:n,iconColor:n,iconColorHover:o,iconColorPressed:r,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)",boxShadowHover:"0 2px 12px 0px rgba(0, 0, 0, .18)",boxShadowPressed:"0 2px 12px 0px rgba(0, 0, 0, .18)"})},qH={name:"BackTop",common:bt,self:WH},KH=qH,GH=v("svg",{viewBox:"0 0 24 24",version:"1.1",xmlns:"http://www.w3.org/2000/svg",xlinkHref:"http://www.w3.org/1999/xlink"},v("g",{stroke:"none","stroke-width":"1","fill-rule":"evenodd"},v("g",{transform:"translate(-139.000000, -4423.000000)","fill-rule":"nonzero"},v("g",{transform:"translate(120.000000, 4285.000000)"},v("g",{transform:"translate(7.000000, 126.000000)"},v("g",{transform:"translate(24.000000, 24.000000) scale(1, -1) translate(-24.000000, -24.000000) translate(12.000000, 12.000000)"},v("g",{transform:"translate(4.000000, 2.000000)"},v("path",{d:"M8,0 C8.51283584,0 8.93550716,0.38604019 8.99327227,0.883378875 L9,1 L9,10.584 L12.2928932,7.29289322 C12.6834175,6.90236893 13.3165825,6.90236893 13.7071068,7.29289322 C14.0675907,7.65337718 14.0953203,8.22060824 13.7902954,8.61289944 L13.7071068,8.70710678 L8.70710678,13.7071068 L8.62544899,13.7803112 L8.618,13.784 L8.59530661,13.8036654 L8.4840621,13.8753288 L8.37133602,13.9287745 L8.22929083,13.9735893 L8.14346259,13.9897165 L8.03324678,13.9994506 L7.9137692,13.9962979 L7.77070917,13.9735893 L7.6583843,13.9401293 L7.57677845,13.9063266 L7.47929125,13.8540045 L7.4048407,13.8036865 L7.38131006,13.7856883 C7.35030318,13.7612383 7.32077858,13.7349921 7.29289322,13.7071068 L2.29289322,8.70710678 L2.20970461,8.61289944 C1.90467972,8.22060824 1.93240926,7.65337718 2.29289322,7.29289322 C2.65337718,6.93240926 3.22060824,6.90467972 3.61289944,7.20970461 L3.70710678,7.29289322 L7,10.585 L7,1 L7.00672773,0.883378875 C7.06449284,0.38604019 7.48716416,0 8,0 Z"}),v("path",{d:"M14.9333333,15.9994506 C15.5224371,15.9994506 16,16.4471659 16,16.9994506 C16,17.5122865 15.5882238,17.9349578 15.0577292,17.9927229 L14.9333333,17.9994506 L1.06666667,17.9994506 C0.477562934,17.9994506 0,17.5517354 0,16.9994506 C0,16.4866148 0.411776203,16.0639435 0.9422708,16.0061783 L1.06666667,15.9994506 L14.9333333,15.9994506 Z"})))))))),YH=O("back-top",` position: fixed; right: 40px; bottom: 40px; @@ -1143,7 +1143,7 @@ ${t} font-size: var(--n-icon-size); color: var(--n-icon-color); transition: color .3s var(--n-bezier); - `),W("svg",{pointerEvents:"none"}),W("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[O("base-icon",{color:"var(--n-icon-color-hover)"})]),W("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[O("base-icon",{color:"var(--n-icon-color-pressed)"})])]),YH=Object.assign(Object.assign({},He.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),XH=me({name:"BackTop",inheritAttrs:!1,props:YH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=N(null),r=N(!1);tn(()=>{const{value:S}=o;if(S===null){r.value=!1;return}r.value=S>=e.visibilityHeight});const i=N(!1);ht(r,S=>{var w;i.value&&((w=e["onUpdate:show"])===null||w===void 0||w.call(e,S))});const a=Ue(e,"show"),s=ln(a,r),l=N(!0),c=N(null),u=L(()=>({right:`calc(${qt(e.right)} + ${sh.value})`,bottom:qt(e.bottom)}));let d,f;ht(s,S=>{var w,x;i.value&&(S&&((w=e.onShow)===null||w===void 0||w.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const p=He("BackTop","-back-top",GH,qH,e,t);function h(){var S;if(f)return;f=!0;const w=((S=e.target)===null||S===void 0?void 0:S.call(e))||FA(e.listenTo)||IC(c.value);if(!w)return;d=w===document.documentElement?document:w;const{to:x}=e;typeof x=="string"&&document.querySelector(x),d.addEventListener("scroll",b),b()}function g(){($b(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function b(){o.value=($b(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function m(){l.value=!1}Lt(()=>{h(),l.value=s.value}),rn(()=>{d&&d.removeEventListener("scroll",b)});const y=L(()=>{const{self:{color:S,boxShadow:w,boxShadowHover:x,boxShadowPressed:C,iconColor:_,iconColorHover:R,iconColorPressed:E,width:M,height:A,iconSize:q,borderRadius:F,textColor:z},common:{cubicBezierEaseInOut:D}}=p.value;return{"--n-bezier":D,"--n-border-radius":F,"--n-height":A,"--n-width":M,"--n-box-shadow":w,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":C,"--n-color":S,"--n-icon-size":q,"--n-icon-color":_,"--n-icon-color-hover":R,"--n-icon-color-pressed":E,"--n-text-color":z}}),k=n?kt("back-top",void 0,y,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Gr(),scrollElement:N(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:m,handleScroll:b,handleClick:g,cssVars:n?void 0:y,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){const{mergedClsPrefix:e}=this;return v("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},v(xu,{to:this.to,show:this.mergedShow},{default:()=>v(hn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?v("div",Dn(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[v(Ut,{clsPrefix:e},{default:()=>KH})])):null}})}))}}),ZH={name:"Badge",common:Ve,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:i}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:i}}},JH=ZH,QH={fontWeightActive:"400"},L_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},QH),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},ej={name:"Breadcrumb",common:bt,self:L_},tj=ej,nj={name:"Breadcrumb",common:Ve,self:L_},oj=nj,rj=O("breadcrumb",` + `),W("svg",{pointerEvents:"none"}),W("&:hover",{boxShadow:"var(--n-box-shadow-hover)"},[O("base-icon",{color:"var(--n-icon-color-hover)"})]),W("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[O("base-icon",{color:"var(--n-icon-color-pressed)"})])]),XH=Object.assign(Object.assign({},He.props),{show:{type:Boolean,default:void 0},right:{type:[Number,String],default:40},bottom:{type:[Number,String],default:40},to:{type:[String,Object],default:"body"},visibilityHeight:{type:Number,default:180},listenTo:[String,Object,Function],"onUpdate:show":{type:Function,default:()=>{}},target:Function,onShow:Function,onHide:Function}),ZH=me({name:"BackTop",inheritAttrs:!1,props:XH,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=N(null),r=N(!1);tn(()=>{const{value:S}=o;if(S===null){r.value=!1;return}r.value=S>=e.visibilityHeight});const i=N(!1);ht(r,S=>{var w;i.value&&((w=e["onUpdate:show"])===null||w===void 0||w.call(e,S))});const a=Ue(e,"show"),s=ln(a,r),l=N(!0),c=N(null),u=L(()=>({right:`calc(${qt(e.right)} + ${sh.value})`,bottom:qt(e.bottom)}));let d,f;ht(s,S=>{var w,x;i.value&&(S&&((w=e.onShow)===null||w===void 0||w.call(e)),(x=e.onHide)===null||x===void 0||x.call(e))});const p=He("BackTop","-back-top",YH,KH,e,t);function h(){var S;if(f)return;f=!0;const w=((S=e.target)===null||S===void 0?void 0:S.call(e))||NA(e.listenTo)||PC(c.value);if(!w)return;d=w===document.documentElement?document:w;const{to:x}=e;typeof x=="string"&&document.querySelector(x),d.addEventListener("scroll",b),b()}function g(){($b(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function b(){o.value=($b(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function m(){l.value=!1}Lt(()=>{h(),l.value=s.value}),rn(()=>{d&&d.removeEventListener("scroll",b)});const y=L(()=>{const{self:{color:S,boxShadow:w,boxShadowHover:x,boxShadowPressed:C,iconColor:_,iconColorHover:R,iconColorPressed:E,width:M,height:A,iconSize:q,borderRadius:F,textColor:z},common:{cubicBezierEaseInOut:D}}=p.value;return{"--n-bezier":D,"--n-border-radius":F,"--n-height":A,"--n-width":M,"--n-box-shadow":w,"--n-box-shadow-hover":x,"--n-box-shadow-pressed":C,"--n-color":S,"--n-icon-size":q,"--n-icon-color":_,"--n-icon-color-hover":R,"--n-icon-color-pressed":E,"--n-text-color":z}}),k=n?kt("back-top",void 0,y,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:Gr(),scrollElement:N(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:m,handleScroll:b,handleClick:g,cssVars:n?void 0:y,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){const{mergedClsPrefix:e}=this;return v("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},v(Cu,{to:this.to,show:this.mergedShow},{default:()=>v(hn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterEnter:this.handleAfterEnter},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),this.mergedShow?v("div",Dn(this.$attrs,{class:[`${e}-back-top`,this.themeClass,this.transitionDisabled&&`${e}-back-top--transition-disabled`],style:[this.style,this.cssVars],onClick:this.handleClick}),An(this.$slots.default,()=>[v(Ut,{clsPrefix:e},{default:()=>GH})])):null}})}))}}),JH={name:"Badge",common:Ve,self(e){const{errorColorSuppl:t,infoColorSuppl:n,successColorSuppl:o,warningColorSuppl:r,fontFamily:i}=e;return{color:t,colorInfo:n,colorSuccess:o,colorError:t,colorWarning:r,fontSize:"12px",fontFamily:i}}},QH=JH,ej={fontWeightActive:"400"},I_=e=>{const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},ej),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})},tj={name:"Breadcrumb",common:bt,self:I_},nj=tj,oj={name:"Breadcrumb",common:Ve,self:I_},rj=oj,ij=O("breadcrumb",` white-space: nowrap; cursor: default; line-height: var(--n-item-line-height); @@ -1200,7 +1200,7 @@ ${t} color: var(--n-item-text-color-active); `)]),V("separator",` display: none; - `)])])]),F_="n-breadcrumb",ij=Object.assign(Object.assign({},He.props),{separator:{type:String,default:"/"}}),aj=me({name:"Breadcrumb",props:ij,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Breadcrumb","-breadcrumb",rj,tj,e,t);lt(F_,{separatorRef:Ue(e,"separator"),mergedClsPrefixRef:t});const r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:p,itemBorderRadius:h,itemColorHover:g,itemColorPressed:b,itemLineHeight:m}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":g,"--n-item-color-pressed":b,"--n-item-border-radius":h,"--n-font-weight-active":p,"--n-item-line-height":m}}),i=n?kt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},v("ul",null,this.$slots))}}),sj=(e=ur?window:null)=>{const t=()=>{const{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(e==null?void 0:e.location)||{};return{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=()=>{o.value=t()},o=N(t());return Lt(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),Ys(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},lj={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},cj=me({name:"BreadcrumbItem",props:lj,setup(e,{slots:t}){const n=qe(F_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=sj(),a=L(()=>e.href?"a":"span"),s=L(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return v("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},v(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),v("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function oi(e){return et(e,[255,255,255,.16])}function Ll(e){return et(e,[0,0,0,.12])}const uj="n-button-group",dj={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},N_=e=>{const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:p,primaryColorPressed:h,borderColor:g,primaryColor:b,baseColor:m,infoColor:y,infoColorHover:k,infoColorPressed:S,successColor:w,successColorHover:x,successColorPressed:C,warningColor:_,warningColorHover:R,warningColorPressed:E,errorColor:M,errorColorHover:A,errorColorPressed:q,fontWeight:F,buttonColor2:z,buttonColor2Hover:D,buttonColor2Pressed:Y,fontWeightStrong:Q}=e;return Object.assign(Object.assign({},dj),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:z,colorSecondaryHover:D,colorSecondaryPressed:Y,colorTertiary:z,colorTertiaryHover:D,colorTertiaryPressed:Y,colorQuaternary:"#0000",colorQuaternaryHover:D,colorQuaternaryPressed:Y,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:p,textColorPressed:h,textColorFocus:p,textColorDisabled:d,textColorText:d,textColorTextHover:p,textColorTextPressed:h,textColorTextFocus:p,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:p,textColorGhostPressed:h,textColorGhostFocus:p,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${h}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${g}`,rippleColor:b,colorPrimary:b,colorHoverPrimary:p,colorPressedPrimary:h,colorFocusPrimary:p,colorDisabledPrimary:b,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:b,textColorTextHoverPrimary:p,textColorTextPressedPrimary:h,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:d,textColorGhostPrimary:b,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:b,borderPrimary:`1px solid ${b}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${h}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${b}`,rippleColorPrimary:b,colorInfo:y,colorHoverInfo:k,colorPressedInfo:S,colorFocusInfo:k,colorDisabledInfo:y,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:y,textColorTextHoverInfo:k,textColorTextPressedInfo:S,textColorTextFocusInfo:k,textColorTextDisabledInfo:d,textColorGhostInfo:y,textColorGhostHoverInfo:k,textColorGhostPressedInfo:S,textColorGhostFocusInfo:k,textColorGhostDisabledInfo:y,borderInfo:`1px solid ${y}`,borderHoverInfo:`1px solid ${k}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${k}`,borderDisabledInfo:`1px solid ${y}`,rippleColorInfo:y,colorSuccess:w,colorHoverSuccess:x,colorPressedSuccess:C,colorFocusSuccess:x,colorDisabledSuccess:w,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:w,textColorTextHoverSuccess:x,textColorTextPressedSuccess:C,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:w,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:C,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${C}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:_,colorHoverWarning:R,colorPressedWarning:E,colorFocusWarning:R,colorDisabledWarning:_,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:_,textColorTextHoverWarning:R,textColorTextPressedWarning:E,textColorTextFocusWarning:R,textColorTextDisabledWarning:d,textColorGhostWarning:_,textColorGhostHoverWarning:R,textColorGhostPressedWarning:E,textColorGhostFocusWarning:R,textColorGhostDisabledWarning:_,borderWarning:`1px solid ${_}`,borderHoverWarning:`1px solid ${R}`,borderPressedWarning:`1px solid ${E}`,borderFocusWarning:`1px solid ${R}`,borderDisabledWarning:`1px solid ${_}`,rippleColorWarning:_,colorError:M,colorHoverError:A,colorPressedError:q,colorFocusError:A,colorDisabledError:M,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:M,textColorTextHoverError:A,textColorTextPressedError:q,textColorTextFocusError:A,textColorTextDisabledError:d,textColorGhostError:M,textColorGhostHoverError:A,textColorGhostPressedError:q,textColorGhostFocusError:A,textColorGhostDisabledError:M,borderError:`1px solid ${M}`,borderHoverError:`1px solid ${A}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${A}`,borderDisabledError:`1px solid ${M}`,rippleColorError:M,waveOpacity:"0.6",fontWeight:F,fontWeightStrong:Q})},fj={name:"Button",common:bt,self:N_},Ru=fj,hj={name:"Button",common:Ve,self(e){const t=N_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Vn=hj,pj=W([O("button",` + `)])])]),M_="n-breadcrumb",aj=Object.assign(Object.assign({},He.props),{separator:{type:String,default:"/"}}),sj=me({name:"Breadcrumb",props:aj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Breadcrumb","-breadcrumb",ij,nj,e,t);lt(M_,{separatorRef:Ue(e,"separator"),mergedClsPrefixRef:t});const r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:p,itemBorderRadius:h,itemColorHover:g,itemColorPressed:b,itemLineHeight:m}}=o.value;return{"--n-font-size":f,"--n-bezier":a,"--n-item-text-color":l,"--n-item-text-color-hover":c,"--n-item-text-color-pressed":u,"--n-item-text-color-active":d,"--n-separator-color":s,"--n-item-color-hover":g,"--n-item-color-pressed":b,"--n-item-border-radius":h,"--n-font-weight-active":p,"--n-item-line-height":m}}),i=n?kt("breadcrumb",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v("nav",{class:[`${this.mergedClsPrefix}-breadcrumb`,this.themeClass],style:this.cssVars,"aria-label":"Breadcrumb"},v("ul",null,this.$slots))}}),lj=(e=ur?window:null)=>{const t=()=>{const{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}=(e==null?void 0:e.location)||{};return{hash:r,host:i,hostname:a,href:s,origin:l,pathname:c,port:u,protocol:d,search:f}},n=()=>{o.value=t()},o=N(t());return Lt(()=>{e&&(e.addEventListener("popstate",n),e.addEventListener("hashchange",n))}),Ys(()=>{e&&(e.removeEventListener("popstate",n),e.removeEventListener("hashchange",n))}),o},cj={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},uj=me({name:"BreadcrumbItem",props:cj,setup(e,{slots:t}){const n=qe(M_,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=lj(),a=L(()=>e.href?"a":"span"),s=L(()=>i.value.href===e.href?"location":null);return()=>{const{value:l}=r;return v("li",{class:[`${l}-breadcrumb-item`,e.clickable&&`${l}-breadcrumb-item--clickable`]},v(a.value,{class:`${l}-breadcrumb-item__link`,"aria-current":s.value,href:e.href,onClick:e.onClick},t),v("span",{class:`${l}-breadcrumb-item__separator`,"aria-hidden":"true"},An(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function oi(e){return et(e,[255,255,255,.16])}function Ll(e){return et(e,[0,0,0,.12])}const dj="n-button-group",fj={paddingTiny:"0 6px",paddingSmall:"0 10px",paddingMedium:"0 14px",paddingLarge:"0 18px",paddingRoundTiny:"0 10px",paddingRoundSmall:"0 14px",paddingRoundMedium:"0 18px",paddingRoundLarge:"0 22px",iconMarginTiny:"6px",iconMarginSmall:"6px",iconMarginMedium:"6px",iconMarginLarge:"6px",iconSizeTiny:"14px",iconSizeSmall:"18px",iconSizeMedium:"18px",iconSizeLarge:"20px",rippleDuration:".6s"},z_=e=>{const{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadius:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,textColor2:d,textColor3:f,primaryColorHover:p,primaryColorPressed:h,borderColor:g,primaryColor:b,baseColor:m,infoColor:y,infoColorHover:k,infoColorPressed:S,successColor:w,successColorHover:x,successColorPressed:C,warningColor:_,warningColorHover:R,warningColorPressed:E,errorColor:M,errorColorHover:A,errorColorPressed:q,fontWeight:F,buttonColor2:z,buttonColor2Hover:D,buttonColor2Pressed:Y,fontWeightStrong:Q}=e;return Object.assign(Object.assign({},fj),{heightTiny:t,heightSmall:n,heightMedium:o,heightLarge:r,borderRadiusTiny:i,borderRadiusSmall:i,borderRadiusMedium:i,borderRadiusLarge:i,fontSizeTiny:a,fontSizeSmall:s,fontSizeMedium:l,fontSizeLarge:c,opacityDisabled:u,colorOpacitySecondary:"0.16",colorOpacitySecondaryHover:"0.22",colorOpacitySecondaryPressed:"0.28",colorSecondary:z,colorSecondaryHover:D,colorSecondaryPressed:Y,colorTertiary:z,colorTertiaryHover:D,colorTertiaryPressed:Y,colorQuaternary:"#0000",colorQuaternaryHover:D,colorQuaternaryPressed:Y,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:p,textColorPressed:h,textColorFocus:p,textColorDisabled:d,textColorText:d,textColorTextHover:p,textColorTextPressed:h,textColorTextFocus:p,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:p,textColorGhostPressed:h,textColorGhostFocus:p,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${p}`,borderPressed:`1px solid ${h}`,borderFocus:`1px solid ${p}`,borderDisabled:`1px solid ${g}`,rippleColor:b,colorPrimary:b,colorHoverPrimary:p,colorPressedPrimary:h,colorFocusPrimary:p,colorDisabledPrimary:b,textColorPrimary:m,textColorHoverPrimary:m,textColorPressedPrimary:m,textColorFocusPrimary:m,textColorDisabledPrimary:m,textColorTextPrimary:b,textColorTextHoverPrimary:p,textColorTextPressedPrimary:h,textColorTextFocusPrimary:p,textColorTextDisabledPrimary:d,textColorGhostPrimary:b,textColorGhostHoverPrimary:p,textColorGhostPressedPrimary:h,textColorGhostFocusPrimary:p,textColorGhostDisabledPrimary:b,borderPrimary:`1px solid ${b}`,borderHoverPrimary:`1px solid ${p}`,borderPressedPrimary:`1px solid ${h}`,borderFocusPrimary:`1px solid ${p}`,borderDisabledPrimary:`1px solid ${b}`,rippleColorPrimary:b,colorInfo:y,colorHoverInfo:k,colorPressedInfo:S,colorFocusInfo:k,colorDisabledInfo:y,textColorInfo:m,textColorHoverInfo:m,textColorPressedInfo:m,textColorFocusInfo:m,textColorDisabledInfo:m,textColorTextInfo:y,textColorTextHoverInfo:k,textColorTextPressedInfo:S,textColorTextFocusInfo:k,textColorTextDisabledInfo:d,textColorGhostInfo:y,textColorGhostHoverInfo:k,textColorGhostPressedInfo:S,textColorGhostFocusInfo:k,textColorGhostDisabledInfo:y,borderInfo:`1px solid ${y}`,borderHoverInfo:`1px solid ${k}`,borderPressedInfo:`1px solid ${S}`,borderFocusInfo:`1px solid ${k}`,borderDisabledInfo:`1px solid ${y}`,rippleColorInfo:y,colorSuccess:w,colorHoverSuccess:x,colorPressedSuccess:C,colorFocusSuccess:x,colorDisabledSuccess:w,textColorSuccess:m,textColorHoverSuccess:m,textColorPressedSuccess:m,textColorFocusSuccess:m,textColorDisabledSuccess:m,textColorTextSuccess:w,textColorTextHoverSuccess:x,textColorTextPressedSuccess:C,textColorTextFocusSuccess:x,textColorTextDisabledSuccess:d,textColorGhostSuccess:w,textColorGhostHoverSuccess:x,textColorGhostPressedSuccess:C,textColorGhostFocusSuccess:x,textColorGhostDisabledSuccess:w,borderSuccess:`1px solid ${w}`,borderHoverSuccess:`1px solid ${x}`,borderPressedSuccess:`1px solid ${C}`,borderFocusSuccess:`1px solid ${x}`,borderDisabledSuccess:`1px solid ${w}`,rippleColorSuccess:w,colorWarning:_,colorHoverWarning:R,colorPressedWarning:E,colorFocusWarning:R,colorDisabledWarning:_,textColorWarning:m,textColorHoverWarning:m,textColorPressedWarning:m,textColorFocusWarning:m,textColorDisabledWarning:m,textColorTextWarning:_,textColorTextHoverWarning:R,textColorTextPressedWarning:E,textColorTextFocusWarning:R,textColorTextDisabledWarning:d,textColorGhostWarning:_,textColorGhostHoverWarning:R,textColorGhostPressedWarning:E,textColorGhostFocusWarning:R,textColorGhostDisabledWarning:_,borderWarning:`1px solid ${_}`,borderHoverWarning:`1px solid ${R}`,borderPressedWarning:`1px solid ${E}`,borderFocusWarning:`1px solid ${R}`,borderDisabledWarning:`1px solid ${_}`,rippleColorWarning:_,colorError:M,colorHoverError:A,colorPressedError:q,colorFocusError:A,colorDisabledError:M,textColorError:m,textColorHoverError:m,textColorPressedError:m,textColorFocusError:m,textColorDisabledError:m,textColorTextError:M,textColorTextHoverError:A,textColorTextPressedError:q,textColorTextFocusError:A,textColorTextDisabledError:d,textColorGhostError:M,textColorGhostHoverError:A,textColorGhostPressedError:q,textColorGhostFocusError:A,textColorGhostDisabledError:M,borderError:`1px solid ${M}`,borderHoverError:`1px solid ${A}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${A}`,borderDisabledError:`1px solid ${M}`,rippleColorError:M,waveOpacity:"0.6",fontWeight:F,fontWeightStrong:Q})},hj={name:"Button",common:bt,self:z_},Eu=hj,pj={name:"Button",common:Ve,self(e){const t=z_(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Vn=pj,mj=W([O("button",` margin: 0; font-weight: var(--n-font-weight); line-height: 1; @@ -1269,7 +1269,7 @@ ${t} display: flex; align-items: center; justify-content: center; - `,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),sH()]),V("content",` + `,[qn({top:"50%",originalTransform:"translateY(-50%)"})]),lH()]),V("content",` display: flex; align-items: center; flex-wrap: nowrap; @@ -1277,7 +1277,7 @@ ${t} `,[W("~",[V("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),Z("block",` display: flex; width: 100%; - `),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),W("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),W("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),mj=Object.assign(Object.assign({},He.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!I_}}),B_=me({name:"Button",props:mj,setup(e){const t=N(null),n=N(null),o=N(!1),r=St(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=qe(uj,{}),{mergedSizeRef:a}=dr({},{defaultSize:"medium",mergedSize:S=>{const{size:w}=e;if(w)return w;const{size:x}=i;if(x)return x;const{mergedSize:C}=S||{};return C?C.value:"medium"}}),s=L(()=>e.focusable&&!e.disabled),l=S=>{var w;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=S=>{var w;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&Pe(x,S),e.text||(w=n.value)===null||w===void 0||w.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:g}=at(e),b=He("Button","-button",pj,Ru,e,h),m=pn("Button",g,h),y=L(()=>{const S=b.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:x},self:C}=S,{rippleDuration:_,opacityDisabled:R,fontWeight:E,fontWeightStrong:M}=C,A=a.value,{dashed:q,type:F,ghost:z,text:D,color:Y,round:Q,circle:ce,textColor:le,secondary:B,tertiary:$,quaternary:I,strong:K}=e,ne={"font-weight":K?M:E};let ve={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const J=F==="tertiary",ye=F==="default",j=J?"default":F;if(D){const be=le||Y;ve={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":be||C[Se("textColorText",j)],"--n-text-color-hover":be?oi(be):C[Se("textColorTextHover",j)],"--n-text-color-pressed":be?Ll(be):C[Se("textColorTextPressed",j)],"--n-text-color-focus":be?oi(be):C[Se("textColorTextHover",j)],"--n-text-color-disabled":be||C[Se("textColorTextDisabled",j)]}}else if(z||q){const be=le||Y;ve={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":Y||C[Se("rippleColor",j)],"--n-text-color":be||C[Se("textColorGhost",j)],"--n-text-color-hover":be?oi(be):C[Se("textColorGhostHover",j)],"--n-text-color-pressed":be?Ll(be):C[Se("textColorGhostPressed",j)],"--n-text-color-focus":be?oi(be):C[Se("textColorGhostHover",j)],"--n-text-color-disabled":be||C[Se("textColorGhostDisabled",j)]}}else if(B){const be=ye?C.textColor:J?C.textColorTertiary:C[Se("color",j)],Ce=Y||be,we=F!=="default"&&F!=="tertiary";ve={"--n-color":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondary)}):C.colorSecondary,"--n-color-hover":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-pressed":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondaryPressed)}):C.colorSecondaryPressed,"--n-color-focus":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-disabled":C.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Ce,"--n-text-color-hover":Ce,"--n-text-color-pressed":Ce,"--n-text-color-focus":Ce,"--n-text-color-disabled":Ce}}else if($||I){const be=ye?C.textColor:J?C.textColorTertiary:C[Se("color",j)],Ce=Y||be;$?(ve["--n-color"]=C.colorTertiary,ve["--n-color-hover"]=C.colorTertiaryHover,ve["--n-color-pressed"]=C.colorTertiaryPressed,ve["--n-color-focus"]=C.colorSecondaryHover,ve["--n-color-disabled"]=C.colorTertiary):(ve["--n-color"]=C.colorQuaternary,ve["--n-color-hover"]=C.colorQuaternaryHover,ve["--n-color-pressed"]=C.colorQuaternaryPressed,ve["--n-color-focus"]=C.colorQuaternaryHover,ve["--n-color-disabled"]=C.colorQuaternary),ve["--n-ripple-color"]="#0000",ve["--n-text-color"]=Ce,ve["--n-text-color-hover"]=Ce,ve["--n-text-color-pressed"]=Ce,ve["--n-text-color-focus"]=Ce,ve["--n-text-color-disabled"]=Ce}else ve={"--n-color":Y||C[Se("color",j)],"--n-color-hover":Y?oi(Y):C[Se("colorHover",j)],"--n-color-pressed":Y?Ll(Y):C[Se("colorPressed",j)],"--n-color-focus":Y?oi(Y):C[Se("colorFocus",j)],"--n-color-disabled":Y||C[Se("colorDisabled",j)],"--n-ripple-color":Y||C[Se("rippleColor",j)],"--n-text-color":le||(Y?C.textColorPrimary:J?C.textColorTertiary:C[Se("textColor",j)]),"--n-text-color-hover":le||(Y?C.textColorHoverPrimary:C[Se("textColorHover",j)]),"--n-text-color-pressed":le||(Y?C.textColorPressedPrimary:C[Se("textColorPressed",j)]),"--n-text-color-focus":le||(Y?C.textColorFocusPrimary:C[Se("textColorFocus",j)]),"--n-text-color-disabled":le||(Y?C.textColorDisabledPrimary:C[Se("textColorDisabled",j)])};let ge={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};D?ge={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ge={"--n-border":C[Se("border",j)],"--n-border-hover":C[Se("borderHover",j)],"--n-border-pressed":C[Se("borderPressed",j)],"--n-border-focus":C[Se("borderFocus",j)],"--n-border-disabled":C[Se("borderDisabled",j)]};const{[Se("height",A)]:Ee,[Se("fontSize",A)]:Ne,[Se("padding",A)]:T,[Se("paddingRound",A)]:P,[Se("iconSize",A)]:U,[Se("borderRadius",A)]:oe,[Se("iconMargin",A)]:G,waveOpacity:se}=C,xe={"--n-width":ce&&!D?Ee:"initial","--n-height":D?"initial":Ee,"--n-font-size":Ne,"--n-padding":ce||D?"initial":Q?P:T,"--n-icon-size":U,"--n-icon-margin":G,"--n-border-radius":D?"initial":ce||Q?Ee:oe};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":x,"--n-ripple-duration":_,"--n-opacity-disabled":R,"--n-wave-opacity":se},ne),ve),ge),xe)}),k=p?kt("button",L(()=>{let S="";const{dashed:w,type:x,ghost:C,text:_,color:R,round:E,circle:M,textColor:A,secondary:q,tertiary:F,quaternary:z,strong:D}=e;w&&(S+="a"),C&&(S+="b"),_&&(S+="c"),E&&(S+="d"),M&&(S+="e"),q&&(S+="f"),F&&(S+="g"),z&&(S+="h"),D&&(S+="i"),R&&(S+="j"+kc(R)),A&&(S+="k"+kc(A));const{value:Y}=a;return S+="l"+Y[0],S+="m"+x[0],S}),y,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:m,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:L(()=>{const{color:S}=e;if(!S)return null;const w=oi(S);return{"--n-border-color":S,"--n-border-color-hover":w,"--n-border-color-pressed":Ll(S),"--n-border-color-focus":w,"--n-border-color-disabled":S}}),cssVars:p?void 0:y,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=$t(this.$slots.default,r=>r&&v("span",{class:`${e}-button__content`},r));return v(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,v(ku,{width:!0},{default:()=>$t(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&v("span",{class:`${e}-button__icon`,style:{margin:da(this.$slots.default)?"0":""}},v(Hi,null,{default:()=>this.loading?v(Xr,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):v("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:v(LB,{ref:"waveElRef",clsPrefix:e}),this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Et=B_,R0=B_,gj={titleFontSize:"22px"},vj=e=>{const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:d,cardColor:f,modalColor:p,popoverColor:h}=e;return Object.assign(Object.assign({},gj),{borderRadius:t,borderColor:et(f,s),borderColorModal:et(p,s),borderColorPopover:et(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:et(f,d),cellColorHoverModal:et(p,d),cellColorHoverPopover:et(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},bj={name:"Calendar",common:Ve,peers:{Button:Vn},self:vj},yj=bj,xj=e=>{const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}},Cj={name:"ColorPicker",common:Ve,peers:{Input:uo,Button:Vn},self:xj},wj=Cj,_j={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},H_=e=>{const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:p,closeColorPressed:h,modalColor:g,boxShadow1:b,popoverColor:m,actionColor:y}=e;return Object.assign(Object.assign({},_j),{lineHeight:o,color:i,colorModal:g,colorPopover:m,colorTarget:t,colorEmbedded:y,colorEmbeddedModal:y,colorEmbeddedPopover:y,textColor:a,titleTextColor:s,borderColor:l,actionColor:y,titleFontWeight:c,closeColorHover:p,closeColorPressed:h,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:b,borderRadius:n})},Sj={name:"Card",common:bt,self:H_},j_=Sj,kj={name:"Card",common:Ve,self(e){const t=H_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},V_=kj,Tj=W([O("card",` + `),Z("dashed",[V("border, state-border",{borderStyle:"dashed !important"})]),Z("disabled",{cursor:"not-allowed",opacity:"var(--n-opacity-disabled)"})]),W("@keyframes button-wave-spread",{from:{boxShadow:"0 0 0.5px 0 var(--n-ripple-color)"},to:{boxShadow:"0 0 0.5px 4.5px var(--n-ripple-color)"}}),W("@keyframes button-wave-opacity",{from:{opacity:"var(--n-wave-opacity)"},to:{opacity:0}})]),gj=Object.assign(Object.assign({},He.props),{color:String,textColor:String,text:Boolean,block:Boolean,loading:Boolean,disabled:Boolean,circle:Boolean,size:String,ghost:Boolean,round:Boolean,secondary:Boolean,tertiary:Boolean,quaternary:Boolean,strong:Boolean,focusable:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},tag:{type:String,default:"button"},type:{type:String,default:"default"},dashed:Boolean,renderIcon:Function,iconPlacement:{type:String,default:"left"},attrType:{type:String,default:"button"},bordered:{type:Boolean,default:!0},onClick:[Function,Array],nativeFocusBehavior:{type:Boolean,default:!P_}}),O_=me({name:"Button",props:gj,setup(e){const t=N(null),n=N(null),o=N(!1),r=St(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=qe(dj,{}),{mergedSizeRef:a}=dr({},{defaultSize:"medium",mergedSize:S=>{const{size:w}=e;if(w)return w;const{size:x}=i;if(x)return x;const{mergedSize:C}=S||{};return C?C.value:"medium"}}),s=L(()=>e.focusable&&!e.disabled),l=S=>{var w;s.value||S.preventDefault(),!e.nativeFocusBehavior&&(S.preventDefault(),!e.disabled&&s.value&&((w=t.value)===null||w===void 0||w.focus({preventScroll:!0})))},c=S=>{var w;if(!e.disabled&&!e.loading){const{onClick:x}=e;x&&Pe(x,S),e.text||(w=n.value)===null||w===void 0||w.play()}},u=S=>{switch(S.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=S=>{switch(S.key){case"Enter":if(!e.keyboard||e.loading){S.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:p,mergedClsPrefixRef:h,mergedRtlRef:g}=at(e),b=He("Button","-button",mj,Eu,e,h),m=pn("Button",g,h),y=L(()=>{const S=b.value,{common:{cubicBezierEaseInOut:w,cubicBezierEaseOut:x},self:C}=S,{rippleDuration:_,opacityDisabled:R,fontWeight:E,fontWeightStrong:M}=C,A=a.value,{dashed:q,type:F,ghost:z,text:D,color:Y,round:Q,circle:ce,textColor:le,secondary:B,tertiary:$,quaternary:I,strong:K}=e,ne={"font-weight":K?M:E};let ve={"--n-color":"initial","--n-color-hover":"initial","--n-color-pressed":"initial","--n-color-focus":"initial","--n-color-disabled":"initial","--n-ripple-color":"initial","--n-text-color":"initial","--n-text-color-hover":"initial","--n-text-color-pressed":"initial","--n-text-color-focus":"initial","--n-text-color-disabled":"initial"};const J=F==="tertiary",ye=F==="default",j=J?"default":F;if(D){const be=le||Y;ve={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":"#0000","--n-text-color":be||C[Se("textColorText",j)],"--n-text-color-hover":be?oi(be):C[Se("textColorTextHover",j)],"--n-text-color-pressed":be?Ll(be):C[Se("textColorTextPressed",j)],"--n-text-color-focus":be?oi(be):C[Se("textColorTextHover",j)],"--n-text-color-disabled":be||C[Se("textColorTextDisabled",j)]}}else if(z||q){const be=le||Y;ve={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":Y||C[Se("rippleColor",j)],"--n-text-color":be||C[Se("textColorGhost",j)],"--n-text-color-hover":be?oi(be):C[Se("textColorGhostHover",j)],"--n-text-color-pressed":be?Ll(be):C[Se("textColorGhostPressed",j)],"--n-text-color-focus":be?oi(be):C[Se("textColorGhostHover",j)],"--n-text-color-disabled":be||C[Se("textColorGhostDisabled",j)]}}else if(B){const be=ye?C.textColor:J?C.textColorTertiary:C[Se("color",j)],Ce=Y||be,we=F!=="default"&&F!=="tertiary";ve={"--n-color":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondary)}):C.colorSecondary,"--n-color-hover":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-pressed":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondaryPressed)}):C.colorSecondaryPressed,"--n-color-focus":we?Ie(Ce,{alpha:Number(C.colorOpacitySecondaryHover)}):C.colorSecondaryHover,"--n-color-disabled":C.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":Ce,"--n-text-color-hover":Ce,"--n-text-color-pressed":Ce,"--n-text-color-focus":Ce,"--n-text-color-disabled":Ce}}else if($||I){const be=ye?C.textColor:J?C.textColorTertiary:C[Se("color",j)],Ce=Y||be;$?(ve["--n-color"]=C.colorTertiary,ve["--n-color-hover"]=C.colorTertiaryHover,ve["--n-color-pressed"]=C.colorTertiaryPressed,ve["--n-color-focus"]=C.colorSecondaryHover,ve["--n-color-disabled"]=C.colorTertiary):(ve["--n-color"]=C.colorQuaternary,ve["--n-color-hover"]=C.colorQuaternaryHover,ve["--n-color-pressed"]=C.colorQuaternaryPressed,ve["--n-color-focus"]=C.colorQuaternaryHover,ve["--n-color-disabled"]=C.colorQuaternary),ve["--n-ripple-color"]="#0000",ve["--n-text-color"]=Ce,ve["--n-text-color-hover"]=Ce,ve["--n-text-color-pressed"]=Ce,ve["--n-text-color-focus"]=Ce,ve["--n-text-color-disabled"]=Ce}else ve={"--n-color":Y||C[Se("color",j)],"--n-color-hover":Y?oi(Y):C[Se("colorHover",j)],"--n-color-pressed":Y?Ll(Y):C[Se("colorPressed",j)],"--n-color-focus":Y?oi(Y):C[Se("colorFocus",j)],"--n-color-disabled":Y||C[Se("colorDisabled",j)],"--n-ripple-color":Y||C[Se("rippleColor",j)],"--n-text-color":le||(Y?C.textColorPrimary:J?C.textColorTertiary:C[Se("textColor",j)]),"--n-text-color-hover":le||(Y?C.textColorHoverPrimary:C[Se("textColorHover",j)]),"--n-text-color-pressed":le||(Y?C.textColorPressedPrimary:C[Se("textColorPressed",j)]),"--n-text-color-focus":le||(Y?C.textColorFocusPrimary:C[Se("textColorFocus",j)]),"--n-text-color-disabled":le||(Y?C.textColorDisabledPrimary:C[Se("textColorDisabled",j)])};let ge={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};D?ge={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:ge={"--n-border":C[Se("border",j)],"--n-border-hover":C[Se("borderHover",j)],"--n-border-pressed":C[Se("borderPressed",j)],"--n-border-focus":C[Se("borderFocus",j)],"--n-border-disabled":C[Se("borderDisabled",j)]};const{[Se("height",A)]:Ee,[Se("fontSize",A)]:Ne,[Se("padding",A)]:T,[Se("paddingRound",A)]:P,[Se("iconSize",A)]:U,[Se("borderRadius",A)]:oe,[Se("iconMargin",A)]:G,waveOpacity:se}=C,xe={"--n-width":ce&&!D?Ee:"initial","--n-height":D?"initial":Ee,"--n-font-size":Ne,"--n-padding":ce||D?"initial":Q?P:T,"--n-icon-size":U,"--n-icon-margin":G,"--n-border-radius":D?"initial":ce||Q?Ee:oe};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":w,"--n-bezier-ease-out":x,"--n-ripple-duration":_,"--n-opacity-disabled":R,"--n-wave-opacity":se},ne),ve),ge),xe)}),k=p?kt("button",L(()=>{let S="";const{dashed:w,type:x,ghost:C,text:_,color:R,round:E,circle:M,textColor:A,secondary:q,tertiary:F,quaternary:z,strong:D}=e;w&&(S+="a"),C&&(S+="b"),_&&(S+="c"),E&&(S+="d"),M&&(S+="e"),q&&(S+="f"),F&&(S+="g"),z&&(S+="h"),D&&(S+="i"),R&&(S+="j"+kc(R)),A&&(S+="k"+kc(A));const{value:Y}=a;return S+="l"+Y[0],S+="m"+x[0],S}),y,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:h,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:m,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:L(()=>{const{color:S}=e;if(!S)return null;const w=oi(S);return{"--n-border-color":S,"--n-border-color-hover":w,"--n-border-color-pressed":Ll(S),"--n-border-color-focus":w,"--n-border-color-disabled":S}}),cssVars:p?void 0:y,themeClass:k==null?void 0:k.themeClass,onRender:k==null?void 0:k.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=$t(this.$slots.default,r=>r&&v("span",{class:`${e}-button__content`},r));return v(t,{ref:"selfElRef",class:[this.themeClass,`${e}-button`,`${e}-button--${this.type}-type`,`${e}-button--${this.mergedSize}-type`,this.rtlEnabled&&`${e}-button--rtl`,this.disabled&&`${e}-button--disabled`,this.block&&`${e}-button--block`,this.enterPressed&&`${e}-button--pressed`,!this.text&&this.dashed&&`${e}-button--dashed`,this.color&&`${e}-button--color`,this.secondary&&`${e}-button--secondary`,this.loading&&`${e}-button--loading`,this.ghost&&`${e}-button--ghost`],tabindex:this.mergedFocusable?0:-1,type:this.attrType,style:this.cssVars,disabled:this.disabled,onClick:this.handleClick,onBlur:this.handleBlur,onMousedown:this.handleMousedown,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},this.iconPlacement==="right"&&o,v(Tu,{width:!0},{default:()=>$t(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&v("span",{class:`${e}-button__icon`,style:{margin:da(this.$slots.default)?"0":""}},v(Hi,null,{default:()=>this.loading?v(Xr,{clsPrefix:e,key:"loading",class:`${e}-icon-slot`,strokeWidth:20}):v("div",{key:"icon",class:`${e}-icon-slot`,role:"none"},this.renderIcon?this.renderIcon():r)})))}),this.iconPlacement==="left"&&o,this.text?null:v(FB,{ref:"waveElRef",clsPrefix:e}),this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__border`,style:this.customColorCssVars}):null,this.showBorder?v("div",{"aria-hidden":!0,class:`${e}-button__state-border`,style:this.customColorCssVars}):null)}}),Et=O_,R0=O_,vj={titleFontSize:"22px"},bj=e=>{const{borderRadius:t,fontSize:n,lineHeight:o,textColor2:r,textColor1:i,textColorDisabled:a,dividerColor:s,fontWeightStrong:l,primaryColor:c,baseColor:u,hoverColor:d,cardColor:f,modalColor:p,popoverColor:h}=e;return Object.assign(Object.assign({},vj),{borderRadius:t,borderColor:et(f,s),borderColorModal:et(p,s),borderColorPopover:et(h,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:et(f,d),cellColorHoverModal:et(p,d),cellColorHoverPopover:et(h,d),cellColor:f,cellColorModal:p,cellColorPopover:h,barColor:c})},yj={name:"Calendar",common:Ve,peers:{Button:Vn},self:bj},xj=yj,Cj=e=>{const{fontSize:t,boxShadow2:n,popoverColor:o,textColor2:r,borderRadius:i,borderColor:a,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}=e;return{panelFontSize:t,boxShadow:n,color:o,textColor:r,borderRadius:i,border:`1px solid ${a}`,heightSmall:s,heightMedium:l,heightLarge:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,dividerColor:p}},wj={name:"ColorPicker",common:Ve,peers:{Input:uo,Button:Vn},self:Cj},_j=wj,Sj={paddingSmall:"12px 16px 12px",paddingMedium:"19px 24px 20px",paddingLarge:"23px 32px 24px",paddingHuge:"27px 40px 28px",titleFontSizeSmall:"16px",titleFontSizeMedium:"18px",titleFontSizeLarge:"18px",titleFontSizeHuge:"18px",closeIconSize:"18px",closeSize:"22px"},D_=e=>{const{primaryColor:t,borderRadius:n,lineHeight:o,fontSize:r,cardColor:i,textColor2:a,textColor1:s,dividerColor:l,fontWeightStrong:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeColorHover:p,closeColorPressed:h,modalColor:g,boxShadow1:b,popoverColor:m,actionColor:y}=e;return Object.assign(Object.assign({},Sj),{lineHeight:o,color:i,colorModal:g,colorPopover:m,colorTarget:t,colorEmbedded:y,colorEmbeddedModal:y,colorEmbeddedPopover:y,textColor:a,titleTextColor:s,borderColor:l,actionColor:y,titleFontWeight:c,closeColorHover:p,closeColorPressed:h,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:b,borderRadius:n})},kj={name:"Card",common:bt,self:D_},L_=kj,Tj={name:"Card",common:Ve,self(e){const t=D_(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},F_=Tj,Pj=W([O("card",` font-size: var(--n-font-size); line-height: var(--n-line-height); display: flex; @@ -1294,7 +1294,7 @@ ${t} background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier), border-color .3s var(--n-bezier); - `,[VC({background:"var(--n-color-modal)"}),Z("hoverable",[W("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[W(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[W(">",[V("content",` + `,[FC({background:"var(--n-color-modal)"}),Z("hoverable",[W("&:hover","box-shadow: var(--n-box-shadow);")]),Z("content-segmented",[W(">",[V("content",{paddingTop:"var(--n-padding-bottom)"})])]),Z("content-soft-segmented",[W(">",[V("content",` margin: 0 var(--n-padding-left); padding: var(--n-padding-bottom) 0; `)])]),Z("footer-segmented",[W(">",[V("footer",{paddingTop:"var(--n-padding-bottom)"})])]),Z("footer-soft-segmented",[W(">",[V("footer",` @@ -1359,11 +1359,11 @@ ${t} background: var(--n-color-modal); `,[Z("embedded",` background-color: var(--n-color-embedded-modal); - `)])),vu(O("card",` + `)])),bu(O("card",` background: var(--n-color-popover); `,[Z("embedded",` background-color: var(--n-color-embedded-popover); - `)]))]),tm={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},Pj=qr(tm),Rj=Object.assign(Object.assign({},He.props),tm),Un=me({name:"Card",props:Rj,setup(e){const t=()=>{const{onClose:c}=e;c&&Pe(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=at(e),i=He("Card","-card",Tj,j_,e,o),a=pn("Card",r,o),s=L(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:p,titleTextColor:h,titleFontWeight:g,borderColor:b,actionColor:m,borderRadius:y,lineHeight:k,closeIconColor:S,closeIconColorHover:w,closeIconColorPressed:x,closeColorHover:C,closeColorPressed:_,closeBorderRadius:R,closeIconSize:E,closeSize:M,boxShadow:A,colorPopover:q,colorEmbedded:F,colorEmbeddedModal:z,colorEmbeddedPopover:D,[Se("padding",c)]:Y,[Se("fontSize",c)]:Q,[Se("titleFontSize",c)]:ce},common:{cubicBezierEaseInOut:le}}=i.value,{top:B,left:$,bottom:I}=yo(Y);return{"--n-bezier":le,"--n-border-radius":y,"--n-color":u,"--n-color-modal":d,"--n-color-popover":q,"--n-color-embedded":F,"--n-color-embedded-modal":z,"--n-color-embedded-popover":D,"--n-color-target":f,"--n-text-color":p,"--n-line-height":k,"--n-action-color":m,"--n-title-text-color":h,"--n-title-font-weight":g,"--n-close-icon-color":S,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":x,"--n-close-color-hover":C,"--n-close-color-pressed":_,"--n-border-color":b,"--n-box-shadow":A,"--n-padding-top":B,"--n-padding-bottom":I,"--n-padding-left":$,"--n-font-size":Q,"--n-title-font-size":ce,"--n-close-size":M,"--n-close-icon-size":E,"--n-close-border-radius":R}}),l=n?kt("card",L(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),v(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},$t(l.cover,c=>c&&v("div",{class:`${o}-card-cover`,role:"none"},c)),$t(l.header,c=>c||this.title||this.closable?v("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle},v("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),$t(l["header-extra"],u=>u&&v("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?v(ji,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),$t(l.default,c=>c&&v("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},c)),$t(l.footer,c=>c&&[v("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},c)]),$t(l.action,c=>c&&v("div",{class:`${o}-card__action`,role:"none"},c)))}}),U_=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),Ej={name:"Carousel",common:bt,self:U_},$j=Ej,Aj={name:"Carousel",common:Ve,self:U_},Ij=Aj;function Mj(e){const{length:t}=e;return t>1&&(e.push(E0(e[0],0,"append")),e.unshift(E0(e[t-1],t-1,"prepend"))),e}function E0(e,t,n){return ao(e,{key:`carousel-item-duplicate-${t}-${n}`})}function $0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function Bd(e,t){return t?e+1:e}function zj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function Oj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function Dj(e,t){return t&&e>3?e-2:e}function A0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function I0(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-parseFloat(r.getPropertyValue("padding-left"))-parseFloat(r.getPropertyValue("padding-right")),o=o-parseFloat(r.getPropertyValue("padding-top"))-parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function Fl(e,t,n){return en?n:e}function Lj(e){if(e===void 0)return 0;if(typeof e=="number")return e;const t=/^((\d+)?\.?\d+?)(ms|s)?$/,n=e.match(t);if(n){const[,o,,r="ms"]=n;return Number(o)*(r==="ms"?1:1e3)}return 0}const W_="n-carousel-methods",Fj=e=>{lt(W_,e)},nm=(e="unknown",t="component")=>{const n=qe(W_);return n||Kr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},Nj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Bj=me({name:"CarouselDots",props:Nj,setup(e){const{mergedClsPrefixRef:t}=at(e),n=N([]),o=nm();function r(c,u){switch(c.key){case"Enter":case" ":c.preventDefault(),o.to(u);return}e.keyboard&&s(c)}function i(c){e.trigger==="hover"&&o.to(c)}function a(c){e.trigger==="click"&&o.to(c)}function s(c){var u;if(c.shiftKey||c.altKey||c.ctrlKey||c.metaKey)return;const d=(u=document.activeElement)===null||u===void 0?void 0:u.nodeName.toLowerCase();if(d==="input"||d==="textarea")return;const{code:f}=c,p=f==="PageUp"||f==="ArrowUp",h=f==="PageDown"||f==="ArrowDown",g=f==="PageUp"||f==="ArrowRight",b=f==="PageDown"||f==="ArrowLeft",m=o.isVertical(),y=m?p:g,k=m?h:b;!y&&!k||(c.preventDefault(),y&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):k&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Ey(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return v("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},GA(this.total,n=>{const o=n===this.currentIndex;return v("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),Hj=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),jj=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),Vj=me({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=at(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=nm();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-carousel__arrow-group`},v("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},Hj),v("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},jj))}}),lc="CarouselItem",Uj=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===lc},Wj=me({name:lc,setup(e){const{mergedClsPrefixRef:t}=at(e),n=nm(Yb(lc),`n-${Yb(lc)}`),o=N(),r=L(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=L(()=>n.isPrev(r.value)),a=L(()=>n.isNext(r.value)),s=L(()=>n.isActive(r.value)),l=L(()=>n.getSlideStyle(r.value));Lt(()=>{n.addSlide(o.value)}),rn(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return v("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),qj=O("carousel",` + `)]))]),tm={title:String,contentClass:String,contentStyle:[Object,String],headerClass:String,headerStyle:[Object,String],headerExtraClass:String,headerExtraStyle:[Object,String],footerClass:String,footerStyle:[Object,String],embedded:Boolean,segmented:{type:[Boolean,Object],default:!1},size:{type:String,default:"medium"},bordered:{type:Boolean,default:!0},closable:Boolean,hoverable:Boolean,role:String,onClose:[Function,Array],tag:{type:String,default:"div"}},Rj=qr(tm),Ej=Object.assign(Object.assign({},He.props),tm),Un=me({name:"Card",props:Ej,setup(e){const t=()=>{const{onClose:c}=e;c&&Pe(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=at(e),i=He("Card","-card",Pj,L_,e,o),a=pn("Card",r,o),s=L(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:p,titleTextColor:h,titleFontWeight:g,borderColor:b,actionColor:m,borderRadius:y,lineHeight:k,closeIconColor:S,closeIconColorHover:w,closeIconColorPressed:x,closeColorHover:C,closeColorPressed:_,closeBorderRadius:R,closeIconSize:E,closeSize:M,boxShadow:A,colorPopover:q,colorEmbedded:F,colorEmbeddedModal:z,colorEmbeddedPopover:D,[Se("padding",c)]:Y,[Se("fontSize",c)]:Q,[Se("titleFontSize",c)]:ce},common:{cubicBezierEaseInOut:le}}=i.value,{top:B,left:$,bottom:I}=yo(Y);return{"--n-bezier":le,"--n-border-radius":y,"--n-color":u,"--n-color-modal":d,"--n-color-popover":q,"--n-color-embedded":F,"--n-color-embedded-modal":z,"--n-color-embedded-popover":D,"--n-color-target":f,"--n-text-color":p,"--n-line-height":k,"--n-action-color":m,"--n-title-text-color":h,"--n-title-font-weight":g,"--n-close-icon-color":S,"--n-close-icon-color-hover":w,"--n-close-icon-color-pressed":x,"--n-close-color-hover":C,"--n-close-color-pressed":_,"--n-border-color":b,"--n-box-shadow":A,"--n-padding-top":B,"--n-padding-bottom":I,"--n-padding-left":$,"--n-font-size":Q,"--n-title-font-size":ce,"--n-close-size":M,"--n-close-icon-size":E,"--n-close-border-radius":R}}),l=n?kt("card",L(()=>e.size[0]),s,e):void 0;return{rtlEnabled:a,mergedClsPrefix:o,mergedTheme:i,handleCloseClick:t,cssVars:n?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){const{segmented:e,bordered:t,hoverable:n,mergedClsPrefix:o,rtlEnabled:r,onRender:i,embedded:a,tag:s,$slots:l}=this;return i==null||i(),v(s,{class:[`${o}-card`,this.themeClass,a&&`${o}-card--embedded`,{[`${o}-card--rtl`]:r,[`${o}-card--content${typeof e!="boolean"&&e.content==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.content,[`${o}-card--footer${typeof e!="boolean"&&e.footer==="soft"?"-soft":""}-segmented`]:e===!0||e!==!1&&e.footer,[`${o}-card--action-segmented`]:e===!0||e!==!1&&e.action,[`${o}-card--bordered`]:t,[`${o}-card--hoverable`]:n}],style:this.cssVars,role:this.role},$t(l.cover,c=>c&&v("div",{class:`${o}-card-cover`,role:"none"},c)),$t(l.header,c=>c||this.title||this.closable?v("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle},v("div",{class:`${o}-card-header__main`,role:"heading"},c||this.title),$t(l["header-extra"],u=>u&&v("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},u)),this.closable?v(ji,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0}):null):null),$t(l.default,c=>c&&v("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},c)),$t(l.footer,c=>c&&[v("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},c)]),$t(l.action,c=>c&&v("div",{class:`${o}-card__action`,role:"none"},c)))}}),N_=e=>({dotSize:"8px",dotColor:"rgba(255, 255, 255, .3)",dotColorActive:"rgba(255, 255, 255, 1)",dotColorFocus:"rgba(255, 255, 255, .5)",dotLineWidth:"16px",dotLineWidthActive:"24px",arrowColor:"#eee"}),$j={name:"Carousel",common:bt,self:N_},Aj=$j,Ij={name:"Carousel",common:Ve,self:N_},Mj=Ij;function zj(e){const{length:t}=e;return t>1&&(e.push(E0(e[0],0,"append")),e.unshift(E0(e[t-1],t-1,"prepend"))),e}function E0(e,t,n){return ao(e,{key:`carousel-item-duplicate-${t}-${n}`})}function $0(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function Hd(e,t){return t?e+1:e}function Oj(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function Dj(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function Lj(e,t){return t&&e>3?e-2:e}function A0(e){return window.TouchEvent&&e instanceof window.TouchEvent}function I0(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-parseFloat(r.getPropertyValue("padding-left"))-parseFloat(r.getPropertyValue("padding-right")),o=o-parseFloat(r.getPropertyValue("padding-top"))-parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function Fl(e,t,n){return en?n:e}function Fj(e){if(e===void 0)return 0;if(typeof e=="number")return e;const t=/^((\d+)?\.?\d+?)(ms|s)?$/,n=e.match(t);if(n){const[,o,,r="ms"]=n;return Number(o)*(r==="ms"?1:1e3)}return 0}const B_="n-carousel-methods",Nj=e=>{lt(B_,e)},nm=(e="unknown",t="component")=>{const n=qe(B_);return n||Kr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n},Bj={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},Hj=me({name:"CarouselDots",props:Bj,setup(e){const{mergedClsPrefixRef:t}=at(e),n=N([]),o=nm();function r(c,u){switch(c.key){case"Enter":case" ":c.preventDefault(),o.to(u);return}e.keyboard&&s(c)}function i(c){e.trigger==="hover"&&o.to(c)}function a(c){e.trigger==="click"&&o.to(c)}function s(c){var u;if(c.shiftKey||c.altKey||c.ctrlKey||c.metaKey)return;const d=(u=document.activeElement)===null||u===void 0?void 0:u.nodeName.toLowerCase();if(d==="input"||d==="textarea")return;const{code:f}=c,p=f==="PageUp"||f==="ArrowUp",h=f==="PageDown"||f==="ArrowDown",g=f==="PageUp"||f==="ArrowRight",b=f==="PageDown"||f==="ArrowLeft",m=o.isVertical(),y=m?p:g,k=m?h:b;!y&&!k||(c.preventDefault(),y&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):k&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return wy(()=>n.value.length=0),{mergedClsPrefix:t,dotEls:n,handleKeydown:r,handleMouseenter:i,handleClick:a}},render(){const{mergedClsPrefix:e,dotEls:t}=this;return v("div",{class:[`${e}-carousel__dots`,`${e}-carousel__dots--${this.dotType}`],role:"tablist"},YA(this.total,n=>{const o=n===this.currentIndex;return v("div",{"aria-selected":o,ref:r=>t.push(r),role:"button",tabindex:"0",class:[`${e}-carousel__dot`,o&&`${e}-carousel__dot--active`],key:n,onClick:()=>{this.handleClick(n)},onMouseenter:()=>{this.handleMouseenter(n)},onKeydown:r=>{this.handleKeydown(r,n)}})}))}}),jj=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M10.26 3.2a.75.75 0 0 1 .04 1.06L6.773 8l3.527 3.74a.75.75 0 1 1-1.1 1.02l-4-4.25a.75.75 0 0 1 0-1.02l4-4.25a.75.75 0 0 1 1.06-.04z",fill:"currentColor"}))),Vj=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16"},v("g",{fill:"none"},v("path",{d:"M5.74 3.2a.75.75 0 0 0-.04 1.06L9.227 8L5.7 11.74a.75.75 0 1 0 1.1 1.02l4-4.25a.75.75 0 0 0 0-1.02l-4-4.25a.75.75 0 0 0-1.06-.04z",fill:"currentColor"}))),Uj=me({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=at(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=nm();return{mergedClsPrefix:t,isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-carousel__arrow-group`},v("div",{class:[`${e}-carousel__arrow`,this.isPrevDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.prev},jj),v("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},Vj))}}),lc="CarouselItem",Wj=e=>{var t;return((t=e.type)===null||t===void 0?void 0:t.name)===lc},qj=me({name:lc,setup(e){const{mergedClsPrefixRef:t}=at(e),n=nm(Yb(lc),`n-${Yb(lc)}`),o=N(),r=L(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=L(()=>n.isPrev(r.value)),a=L(()=>n.isNext(r.value)),s=L(()=>n.isActive(r.value)),l=L(()=>n.getSlideStyle(r.value));Lt(()=>{n.addSlide(o.value)}),rn(()=>{n.removeSlide(o.value)});function c(u){const{value:d}=r;d!==void 0&&(n==null||n.onCarouselItemClick(d,u))}return{mergedClsPrefix:t,selfElRef:o,isPrev:i,isNext:a,isActive:s,index:r,style:l,handleClick:c}},render(){var e;const{$slots:t,mergedClsPrefix:n,isPrev:o,isNext:r,isActive:i,index:a,style:s}=this,l=[`${n}-carousel__slide`,{[`${n}-carousel__slide--current`]:i,[`${n}-carousel__slide--prev`]:o,[`${n}-carousel__slide--next`]:r}];return v("div",{ref:"selfElRef",class:l,role:"option",tabindex:"-1","data-index":a,"aria-hidden":!i,style:s,onClickCapture:this.handleClick},(e=t.default)===null||e===void 0?void 0:e.call(t,{isPrev:o,isNext:r,isActive:i,index:a}))}}),Kj=O("carousel",` position: relative; width: 100%; height: 100%; @@ -1584,7 +1584,7 @@ ${t} `),Z("next",` opacity: 0.4; transform: translateX(0%) translateZ(-200px); - `)])])]),Kj=["transitionDuration","transitionTimingFunction"],Gj=Object.assign(Object.assign({},He.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let Hd=!1;const Yj=me({name:"Carousel",props:Gj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=N(null),r=N(null),i=N([]),a={value:[]},s=L(()=>e.direction==="vertical"),l=L(()=>s.value?"height":"width"),c=L(()=>s.value?"bottom":"right"),u=L(()=>e.effect==="slide"),d=L(()=>e.loop&&e.slidesPerView===1&&u.value),f=L(()=>e.effect==="custom"),p=L(()=>!u.value||e.centeredSlides?1:e.slidesPerView),h=L(()=>f.value?1:e.slidesPerView),g=L(()=>p.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),b=N({width:0,height:0}),m=L(()=>{const{value:_e}=i;if(!_e.length)return[];const{value:je}=g;if(je)return _e.map(ae=>I0(ae));const{value:Qe}=h,{value:pt}=b,{value:gt}=l;let ct=pt[gt];if(Qe!=="auto"){const{spaceBetween:ae}=e,ke=ct-(Qe-1)*ae,nt=1/Math.max(1,Qe);ct=ke*nt}const Rt=Object.assign(Object.assign({},pt),{[gt]:ct});return _e.map(()=>Rt)}),y=L(()=>{const{value:_e}=m;if(!_e.length)return[];const{centeredSlides:je,spaceBetween:Qe}=e,{value:pt}=l,{[pt]:gt}=b.value;let ct=0;return _e.map(({[pt]:Rt})=>{let ae=ct;return je&&(ae+=(Rt-gt)/2),ct+=Rt+Qe,ae})}),k=N(!1),S=L(()=>{const{transitionStyle:_e}=e;return _e?Xn(_e,Kj):{}}),w=L(()=>f.value?0:Lj(S.value.transitionDuration)),x=L(()=>{const{value:_e}=i;if(!_e.length)return[];const je=!(g.value||h.value===1),Qe=Rt=>{if(je){const{value:ae}=l;return{[ae]:`${m.value[Rt][ae]}px`}}};if(f.value)return _e.map((Rt,ae)=>Qe(ae));const{effect:pt,spaceBetween:gt}=e,{value:ct}=c;return _e.reduce((Rt,ae,ke)=>{const nt=Object.assign(Object.assign({},Qe(ke)),{[`margin-${ct}`]:`${gt}px`});return Rt.push(nt),k.value&&(pt==="fade"||pt==="card")&&Object.assign(nt,S.value),Rt},[])}),C=L(()=>{const{value:_e}=p,{length:je}=i.value;if(_e!=="auto")return Math.max(je-_e,0)+1;{const{value:Qe}=m,{length:pt}=Qe;if(!pt)return je;const{value:gt}=y,{value:ct}=l,Rt=b.value[ct];let ae=Qe[Qe.length-1][ct],ke=pt;for(;ke>1&&aeDj(C.value,d.value)),R=Bd(e.defaultIndex,d.value),E=N($0(R,C.value,d.value)),M=ln(Ue(e,"currentIndex"),E),A=L(()=>Bd(M.value,d.value));function q(_e){var je,Qe;_e=Fl(_e,0,C.value-1);const pt=$0(_e,C.value,d.value),{value:gt}=M;pt!==M.value&&(E.value=pt,(je=e["onUpdate:currentIndex"])===null||je===void 0||je.call(e,pt,gt),(Qe=e.onUpdateCurrentIndex)===null||Qe===void 0||Qe.call(e,pt,gt))}function F(_e=A.value){return zj(_e,C.value,e.loop)}function z(_e=A.value){return Oj(_e,C.value,e.loop)}function D(_e){const je=se(_e);return je!==null&&F()===je}function Y(_e){const je=se(_e);return je!==null&&z()===je}function Q(_e){return A.value===se(_e)}function ce(_e){return M.value===_e}function le(){return F()===null}function B(){return z()===null}function $(_e){const je=Fl(Bd(_e,d.value),0,C.value);(_e!==M.value||je!==A.value)&&q(je)}function I(){const _e=F();_e!==null&&q(_e)}function K(){const _e=z();_e!==null&&q(_e)}function ne(){(!J||!d.value)&&I()}function ve(){(!J||!d.value)&&K()}let J=!1,ye=0;const j=N({});function ge(_e,je=0){j.value=Object.assign({},S.value,{transform:s.value?`translateY(${-_e}px)`:`translateX(${-_e}px)`,transitionDuration:`${je}ms`})}function Ee(_e=0){u.value?Ne(A.value,_e):ye!==0&&(!J&&_e>0&&(J=!0),ge(ye=0,_e))}function Ne(_e,je){const Qe=T(_e);Qe!==ye&&je>0&&(J=!0),ye=T(A.value),ge(Qe,je)}function T(_e){let je;return _e>=C.value-1?je=P():je=y.value[_e]||0,je}function P(){if(p.value==="auto"){const{value:_e}=l,{[_e]:je}=b.value,{value:Qe}=y,pt=Qe[Qe.length-1];let gt;if(pt===void 0)gt=je;else{const{value:ct}=m;gt=pt+ct[ct.length-1][_e]}return gt-je}else{const{value:_e}=y;return _e[C.value-1]||0}}const U={currentIndexRef:M,to:$,prev:ne,next:ve,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:D,isNext:Y,isActive:Q,isPrevDisabled:le,isNextDisabled:B,getSlideIndex:se,getSlideStyle:xe,addSlide:oe,removeSlide:G,onCarouselItemClick:be};Fj(U);function oe(_e){_e&&i.value.push(_e)}function G(_e){if(!_e)return;const je=se(_e);je!==-1&&i.value.splice(je,1)}function se(_e){return typeof _e=="number"?_e:_e?i.value.indexOf(_e):-1}function xe(_e){const je=se(_e);if(je!==-1){const Qe=[x.value[je]],pt=U.isPrev(je),gt=U.isNext(je);return pt&&Qe.push(e.prevSlideStyle||""),gt&&Qe.push(e.nextSlideStyle||""),Ho(Qe)}}function be(_e,je){let Qe=!J&&!Le&&!De;e.effect==="card"&&Qe&&!Q(_e)&&($(_e),Qe=!1),Qe||(je.preventDefault(),je.stopPropagation())}let Ce=null;function we(){Ce&&(clearInterval(Ce),Ce=null)}function Re(){we(),!e.autoplay||_.value<2||(Ce=window.setInterval(K,e.interval))}let de=0,ee=0,fe=0,Oe=0,Le=!1,De=!1;function $e(_e){var je;if(Hd||!(!((je=r.value)===null||je===void 0)&&je.contains(wi(_e))))return;Hd=!0,Le=!0,De=!1,Oe=Date.now(),we(),_e.type!=="touchstart"&&!_e.target.isContentEditable&&_e.preventDefault();const Qe=A0(_e)?_e.touches[0]:_e;s.value?ee=Qe.clientY:de=Qe.clientX,e.touchable&&(Mt("touchmove",document,Me),Mt("touchend",document,Fe),Mt("touchcancel",document,Fe)),e.draggable&&(Mt("mousemove",document,Me),Mt("mouseup",document,Fe))}function Me(_e){const{value:je}=s,{value:Qe}=l,pt=A0(_e)?_e.touches[0]:_e,gt=je?pt.clientY-ee:pt.clientX-de,ct=b.value[Qe];fe=Fl(gt,-ct,ct),_e.cancelable&&_e.preventDefault(),u.value&&ge(ye-fe,0)}function Fe(){const{value:_e}=A;let je=_e;if(!J&&fe!==0&&u.value){const Qe=ye-fe,pt=[...y.value.slice(0,C.value-1),P()];let gt=null;for(let ct=0;ctgt/2||fe/Qe>.4?je=F(_e):(fe<-gt/2||fe/Qe<-.4)&&(je=z(_e))}je!==null&&je!==_e?(De=!0,q(je),Ht(()=>{(!d.value||E.value!==M.value)&&Ee(w.value)})):Ee(w.value),Be(),Re()}function Be(){Le&&(Hd=!1),Le=!1,de=0,ee=0,fe=0,Oe=0,Tt("touchmove",document,Me),Tt("touchend",document,Fe),Tt("touchcancel",document,Fe),Tt("mousemove",document,Me),Tt("mouseup",document,Fe)}function ot(){if(u.value&&J){const{value:_e}=A;Ne(_e,0)}else Re();u.value&&(j.value.transitionDuration="0ms"),J=!1}function xt(_e){if(_e.preventDefault(),J)return;let{deltaX:je,deltaY:Qe}=_e;_e.shiftKey&&!je&&(je=Qe);const pt=-1,gt=1,ct=(je||Qe)>0?gt:pt;let Rt=0,ae=0;s.value?ae=ct:Rt=ct;const ke=10;(ae*Qe>=ke||Rt*je>=ke)&&(ct===gt&&!B()?K():ct===pt&&!le()&&I())}function X(){b.value=I0(o.value,!0),Re()}function pe(){var _e,je;g.value&&((je=(_e=m.effect).scheduler)===null||je===void 0||je.call(_e),m.effect.run())}function Te(){e.autoplay&&we()}function Ke(){e.autoplay&&Re()}Lt(()=>{tn(Re),requestAnimationFrame(()=>k.value=!0)}),rn(()=>{Be(),we()}),Gh(()=>{const{value:_e}=i,{value:je}=a,Qe=new Map,pt=ct=>Qe.has(ct)?Qe.get(ct):-1;let gt=!1;for(let ct=0;ct<_e.length;ct++){const Rt=je.findIndex(ae=>ae.el===_e[ct]);Rt!==ct&&(gt=!0),Qe.set(_e[ct],Rt)}gt&&_e.sort((ct,Rt)=>pt(ct)-pt(Rt))}),ht(A,(_e,je)=>{if(_e!==je)if(Re(),u.value){if(d.value){const{value:Qe}=C;_.value>2&&_e===Qe-2&&je===1?_e=0:_e===1&&je===Qe-2&&(_e=Qe-1)}Ne(_e,w.value)}else Ee()},{immediate:!0}),ht([d,p],()=>void Ht(()=>{q(A.value)})),ht(y,()=>{u.value&&Ee()},{deep:!0}),ht(u,_e=>{_e?Ee():(J=!1,ge(ye=0))});const Xe=L(()=>({onTouchstartPassive:e.touchable?$e:void 0,onMousedown:e.draggable?$e:void 0,onWheel:e.mousewheel?xt:void 0})),Ze=L(()=>Object.assign(Object.assign({},Xn(U,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:_.value,currentIndex:M.value})),tt=L(()=>({total:_.value,currentIndex:M.value,to:U.to})),rt={getCurrentIndex:()=>M.value,to:$,prev:I,next:K},yt=He("Carousel","-carousel",qj,$j,e,t),nn=L(()=>{const{common:{cubicBezierEaseInOut:_e},self:{dotSize:je,dotColor:Qe,dotColorActive:pt,dotColorFocus:gt,dotLineWidth:ct,dotLineWidthActive:Rt,arrowColor:ae}}=yt.value;return{"--n-bezier":_e,"--n-dot-color":Qe,"--n-dot-color-focus":gt,"--n-dot-color-active":pt,"--n-dot-size":je,"--n-dot-line-width":ct,"--n-dot-line-width-active":Rt,"--n-arrow-color":ae}}),Wt=n?kt("carousel",void 0,nn,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:g,realIndex:A,slideStyles:x,translateStyle:j,slidesControlListeners:Xe,handleTransitionEnd:ot,handleResize:X,handleSlideResize:pe,handleMouseenter:Te,handleMouseleave:Ke,isActive:ce,arrowSlotProps:Ze,dotSlotProps:tt},rt),{cssVars:n?void 0:nn,themeClass:Wt==null?void 0:Wt.themeClass,onRender:Wt==null?void 0:Wt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:p}}=this,h=d&&ka(d())||[];let g=Xj(h);return g.length||(g=h.map(b=>v(Wj,null,{default:()=>ao(b)}))),this.duplicatedable&&(g=Mj(g)),this.slideVNodes.value=g,this.autoSlideSize&&(g=g.map(b=>v(lr,{onResize:this.handleSlideResize},{default:()=>b}))),(e=this.onRender)===null||e===void 0||e.call(this),v("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),v(lr,{onResize:this.handleResize},{default:()=>v("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?g.map((b,m)=>v("div",{style:r[m],key:m},Cn(v(hn,Object.assign({},l),{default:()=>b}),[[Jn,this.isActive(m)]]))):g)}),this.showDots&&u.total>1&&eh(f,u,()=>[v(Bj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&eh(p,c,()=>[v(Vj,null)]))}});function Xj(e){return e.reduce((t,n)=>(Uj(n)&&t.push(n),t),[])}const Zj={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},q_=e=>{const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadiusSmall:p,lineHeight:h}=e;return Object.assign(Object.assign({},Zj),{labelLineHeight:h,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:p,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Ie(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},Jj={name:"Checkbox",common:bt,self:q_},K_=Jj,Qj={name:"Checkbox",common:Ve,self(e){const{cardColor:t}=e,n=q_(e);return n.color="#0000",n.checkMarkColor=t,n}},Va=Qj,eV=e=>{const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:r,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},tV={name:"Cascader",common:Ve,peers:{InternalSelectMenu:sl,InternalSelection:Jp,Scrollbar:jn,Checkbox:Va,Empty:Tu},self:eV},nV=tV,oV=v("svg",{viewBox:"0 0 64 64",class:"check-icon"},v("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),rV=v("svg",{viewBox:"0 0 100 100",class:"line-icon"},v("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),G_="n-checkbox-group",iV={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},aV=me({name:"CheckboxGroup",props:iV,setup(e){const{mergedClsPrefixRef:t}=at(e),n=dr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=N(e.defaultValue),a=L(()=>e.value),s=ln(a,i),l=L(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=L(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:p,nTriggerFormChange:h}=n,{onChange:g,"onUpdate:value":b,onUpdateValue:m}=e;if(Array.isArray(s.value)){const y=Array.from(s.value),k=y.findIndex(S=>S===f);d?~k||(y.push(f),m&&Pe(m,y,{actionType:"check",value:f}),b&&Pe(b,y,{actionType:"check",value:f}),p(),h(),i.value=y,g&&Pe(g,y)):~k&&(y.splice(k,1),m&&Pe(m,y,{actionType:"uncheck",value:f}),b&&Pe(b,y,{actionType:"uncheck",value:f}),g&&Pe(g,y),i.value=y,p(),h())}else d?(m&&Pe(m,[f],{actionType:"check",value:f}),b&&Pe(b,[f],{actionType:"check",value:f}),g&&Pe(g,[f]),i.value=[f],p(),h()):(m&&Pe(m,[],{actionType:"uncheck",value:f}),b&&Pe(b,[],{actionType:"uncheck",value:f}),g&&Pe(g,[]),i.value=[],p(),h())}return lt(G_,{checkedCountRef:l,maxRef:Ue(e,"max"),minRef:Ue(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return v("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),sV=W([O("checkbox",` + `)])])]),Gj=["transitionDuration","transitionTimingFunction"],Yj=Object.assign(Object.assign({},He.props),{defaultIndex:{type:Number,default:0},currentIndex:Number,showArrow:Boolean,dotType:{type:String,default:"dot"},dotPlacement:{type:String,default:"bottom"},slidesPerView:{type:[Number,String],default:1},spaceBetween:{type:Number,default:0},centeredSlides:Boolean,direction:{type:String,default:"horizontal"},autoplay:Boolean,interval:{type:Number,default:5e3},loop:{type:Boolean,default:!0},effect:{type:String,default:"slide"},showDots:{type:Boolean,default:!0},trigger:{type:String,default:"click"},transitionStyle:{type:Object,default:()=>({transitionDuration:"300ms"})},transitionProps:Object,draggable:Boolean,prevSlideStyle:[Object,String],nextSlideStyle:[Object,String],touchable:{type:Boolean,default:!0},mousewheel:Boolean,keyboard:Boolean,"onUpdate:currentIndex":Function,onUpdateCurrentIndex:Function});let jd=!1;const Xj=me({name:"Carousel",props:Yj,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=N(null),r=N(null),i=N([]),a={value:[]},s=L(()=>e.direction==="vertical"),l=L(()=>s.value?"height":"width"),c=L(()=>s.value?"bottom":"right"),u=L(()=>e.effect==="slide"),d=L(()=>e.loop&&e.slidesPerView===1&&u.value),f=L(()=>e.effect==="custom"),p=L(()=>!u.value||e.centeredSlides?1:e.slidesPerView),h=L(()=>f.value?1:e.slidesPerView),g=L(()=>p.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),b=N({width:0,height:0}),m=L(()=>{const{value:_e}=i;if(!_e.length)return[];const{value:je}=g;if(je)return _e.map(ae=>I0(ae));const{value:Qe}=h,{value:pt}=b,{value:gt}=l;let ct=pt[gt];if(Qe!=="auto"){const{spaceBetween:ae}=e,ke=ct-(Qe-1)*ae,nt=1/Math.max(1,Qe);ct=ke*nt}const Rt=Object.assign(Object.assign({},pt),{[gt]:ct});return _e.map(()=>Rt)}),y=L(()=>{const{value:_e}=m;if(!_e.length)return[];const{centeredSlides:je,spaceBetween:Qe}=e,{value:pt}=l,{[pt]:gt}=b.value;let ct=0;return _e.map(({[pt]:Rt})=>{let ae=ct;return je&&(ae+=(Rt-gt)/2),ct+=Rt+Qe,ae})}),k=N(!1),S=L(()=>{const{transitionStyle:_e}=e;return _e?Xn(_e,Gj):{}}),w=L(()=>f.value?0:Fj(S.value.transitionDuration)),x=L(()=>{const{value:_e}=i;if(!_e.length)return[];const je=!(g.value||h.value===1),Qe=Rt=>{if(je){const{value:ae}=l;return{[ae]:`${m.value[Rt][ae]}px`}}};if(f.value)return _e.map((Rt,ae)=>Qe(ae));const{effect:pt,spaceBetween:gt}=e,{value:ct}=c;return _e.reduce((Rt,ae,ke)=>{const nt=Object.assign(Object.assign({},Qe(ke)),{[`margin-${ct}`]:`${gt}px`});return Rt.push(nt),k.value&&(pt==="fade"||pt==="card")&&Object.assign(nt,S.value),Rt},[])}),C=L(()=>{const{value:_e}=p,{length:je}=i.value;if(_e!=="auto")return Math.max(je-_e,0)+1;{const{value:Qe}=m,{length:pt}=Qe;if(!pt)return je;const{value:gt}=y,{value:ct}=l,Rt=b.value[ct];let ae=Qe[Qe.length-1][ct],ke=pt;for(;ke>1&&aeLj(C.value,d.value)),R=Hd(e.defaultIndex,d.value),E=N($0(R,C.value,d.value)),M=ln(Ue(e,"currentIndex"),E),A=L(()=>Hd(M.value,d.value));function q(_e){var je,Qe;_e=Fl(_e,0,C.value-1);const pt=$0(_e,C.value,d.value),{value:gt}=M;pt!==M.value&&(E.value=pt,(je=e["onUpdate:currentIndex"])===null||je===void 0||je.call(e,pt,gt),(Qe=e.onUpdateCurrentIndex)===null||Qe===void 0||Qe.call(e,pt,gt))}function F(_e=A.value){return Oj(_e,C.value,e.loop)}function z(_e=A.value){return Dj(_e,C.value,e.loop)}function D(_e){const je=se(_e);return je!==null&&F()===je}function Y(_e){const je=se(_e);return je!==null&&z()===je}function Q(_e){return A.value===se(_e)}function ce(_e){return M.value===_e}function le(){return F()===null}function B(){return z()===null}function $(_e){const je=Fl(Hd(_e,d.value),0,C.value);(_e!==M.value||je!==A.value)&&q(je)}function I(){const _e=F();_e!==null&&q(_e)}function K(){const _e=z();_e!==null&&q(_e)}function ne(){(!J||!d.value)&&I()}function ve(){(!J||!d.value)&&K()}let J=!1,ye=0;const j=N({});function ge(_e,je=0){j.value=Object.assign({},S.value,{transform:s.value?`translateY(${-_e}px)`:`translateX(${-_e}px)`,transitionDuration:`${je}ms`})}function Ee(_e=0){u.value?Ne(A.value,_e):ye!==0&&(!J&&_e>0&&(J=!0),ge(ye=0,_e))}function Ne(_e,je){const Qe=T(_e);Qe!==ye&&je>0&&(J=!0),ye=T(A.value),ge(Qe,je)}function T(_e){let je;return _e>=C.value-1?je=P():je=y.value[_e]||0,je}function P(){if(p.value==="auto"){const{value:_e}=l,{[_e]:je}=b.value,{value:Qe}=y,pt=Qe[Qe.length-1];let gt;if(pt===void 0)gt=je;else{const{value:ct}=m;gt=pt+ct[ct.length-1][_e]}return gt-je}else{const{value:_e}=y;return _e[C.value-1]||0}}const U={currentIndexRef:M,to:$,prev:ne,next:ve,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:D,isNext:Y,isActive:Q,isPrevDisabled:le,isNextDisabled:B,getSlideIndex:se,getSlideStyle:xe,addSlide:oe,removeSlide:G,onCarouselItemClick:be};Nj(U);function oe(_e){_e&&i.value.push(_e)}function G(_e){if(!_e)return;const je=se(_e);je!==-1&&i.value.splice(je,1)}function se(_e){return typeof _e=="number"?_e:_e?i.value.indexOf(_e):-1}function xe(_e){const je=se(_e);if(je!==-1){const Qe=[x.value[je]],pt=U.isPrev(je),gt=U.isNext(je);return pt&&Qe.push(e.prevSlideStyle||""),gt&&Qe.push(e.nextSlideStyle||""),Ho(Qe)}}function be(_e,je){let Qe=!J&&!Le&&!De;e.effect==="card"&&Qe&&!Q(_e)&&($(_e),Qe=!1),Qe||(je.preventDefault(),je.stopPropagation())}let Ce=null;function we(){Ce&&(clearInterval(Ce),Ce=null)}function Re(){we(),!e.autoplay||_.value<2||(Ce=window.setInterval(K,e.interval))}let de=0,ee=0,fe=0,Oe=0,Le=!1,De=!1;function $e(_e){var je;if(jd||!(!((je=r.value)===null||je===void 0)&&je.contains(wi(_e))))return;jd=!0,Le=!0,De=!1,Oe=Date.now(),we(),_e.type!=="touchstart"&&!_e.target.isContentEditable&&_e.preventDefault();const Qe=A0(_e)?_e.touches[0]:_e;s.value?ee=Qe.clientY:de=Qe.clientX,e.touchable&&(Mt("touchmove",document,Me),Mt("touchend",document,Fe),Mt("touchcancel",document,Fe)),e.draggable&&(Mt("mousemove",document,Me),Mt("mouseup",document,Fe))}function Me(_e){const{value:je}=s,{value:Qe}=l,pt=A0(_e)?_e.touches[0]:_e,gt=je?pt.clientY-ee:pt.clientX-de,ct=b.value[Qe];fe=Fl(gt,-ct,ct),_e.cancelable&&_e.preventDefault(),u.value&&ge(ye-fe,0)}function Fe(){const{value:_e}=A;let je=_e;if(!J&&fe!==0&&u.value){const Qe=ye-fe,pt=[...y.value.slice(0,C.value-1),P()];let gt=null;for(let ct=0;ctgt/2||fe/Qe>.4?je=F(_e):(fe<-gt/2||fe/Qe<-.4)&&(je=z(_e))}je!==null&&je!==_e?(De=!0,q(je),Ht(()=>{(!d.value||E.value!==M.value)&&Ee(w.value)})):Ee(w.value),Be(),Re()}function Be(){Le&&(jd=!1),Le=!1,de=0,ee=0,fe=0,Oe=0,Tt("touchmove",document,Me),Tt("touchend",document,Fe),Tt("touchcancel",document,Fe),Tt("mousemove",document,Me),Tt("mouseup",document,Fe)}function ot(){if(u.value&&J){const{value:_e}=A;Ne(_e,0)}else Re();u.value&&(j.value.transitionDuration="0ms"),J=!1}function xt(_e){if(_e.preventDefault(),J)return;let{deltaX:je,deltaY:Qe}=_e;_e.shiftKey&&!je&&(je=Qe);const pt=-1,gt=1,ct=(je||Qe)>0?gt:pt;let Rt=0,ae=0;s.value?ae=ct:Rt=ct;const ke=10;(ae*Qe>=ke||Rt*je>=ke)&&(ct===gt&&!B()?K():ct===pt&&!le()&&I())}function X(){b.value=I0(o.value,!0),Re()}function pe(){var _e,je;g.value&&((je=(_e=m.effect).scheduler)===null||je===void 0||je.call(_e),m.effect.run())}function Te(){e.autoplay&&we()}function Ke(){e.autoplay&&Re()}Lt(()=>{tn(Re),requestAnimationFrame(()=>k.value=!0)}),rn(()=>{Be(),we()}),Gh(()=>{const{value:_e}=i,{value:je}=a,Qe=new Map,pt=ct=>Qe.has(ct)?Qe.get(ct):-1;let gt=!1;for(let ct=0;ct<_e.length;ct++){const Rt=je.findIndex(ae=>ae.el===_e[ct]);Rt!==ct&&(gt=!0),Qe.set(_e[ct],Rt)}gt&&_e.sort((ct,Rt)=>pt(ct)-pt(Rt))}),ht(A,(_e,je)=>{if(_e!==je)if(Re(),u.value){if(d.value){const{value:Qe}=C;_.value>2&&_e===Qe-2&&je===1?_e=0:_e===1&&je===Qe-2&&(_e=Qe-1)}Ne(_e,w.value)}else Ee()},{immediate:!0}),ht([d,p],()=>void Ht(()=>{q(A.value)})),ht(y,()=>{u.value&&Ee()},{deep:!0}),ht(u,_e=>{_e?Ee():(J=!1,ge(ye=0))});const Xe=L(()=>({onTouchstartPassive:e.touchable?$e:void 0,onMousedown:e.draggable?$e:void 0,onWheel:e.mousewheel?xt:void 0})),Ze=L(()=>Object.assign(Object.assign({},Xn(U,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:_.value,currentIndex:M.value})),tt=L(()=>({total:_.value,currentIndex:M.value,to:U.to})),rt={getCurrentIndex:()=>M.value,to:$,prev:I,next:K},yt=He("Carousel","-carousel",Kj,Aj,e,t),nn=L(()=>{const{common:{cubicBezierEaseInOut:_e},self:{dotSize:je,dotColor:Qe,dotColorActive:pt,dotColorFocus:gt,dotLineWidth:ct,dotLineWidthActive:Rt,arrowColor:ae}}=yt.value;return{"--n-bezier":_e,"--n-dot-color":Qe,"--n-dot-color-focus":gt,"--n-dot-color-active":pt,"--n-dot-size":je,"--n-dot-line-width":ct,"--n-dot-line-width-active":Rt,"--n-arrow-color":ae}}),Wt=n?kt("carousel",void 0,nn,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:g,realIndex:A,slideStyles:x,translateStyle:j,slidesControlListeners:Xe,handleTransitionEnd:ot,handleResize:X,handleSlideResize:pe,handleMouseenter:Te,handleMouseleave:Ke,isActive:ce,arrowSlotProps:Ze,dotSlotProps:tt},rt),{cssVars:n?void 0:nn,themeClass:Wt==null?void 0:Wt.themeClass,onRender:Wt==null?void 0:Wt.onRender})},render(){var e;const{mergedClsPrefix:t,showArrow:n,userWantsControl:o,slideStyles:r,dotType:i,dotPlacement:a,slidesControlListeners:s,transitionProps:l={},arrowSlotProps:c,dotSlotProps:u,$slots:{default:d,dots:f,arrow:p}}=this,h=d&&ka(d())||[];let g=Zj(h);return g.length||(g=h.map(b=>v(qj,null,{default:()=>ao(b)}))),this.duplicatedable&&(g=zj(g)),this.slideVNodes.value=g,this.autoSlideSize&&(g=g.map(b=>v(lr,{onResize:this.handleSlideResize},{default:()=>b}))),(e=this.onRender)===null||e===void 0||e.call(this),v("div",Object.assign({ref:"selfElRef",class:[this.themeClass,`${t}-carousel`,this.direction==="vertical"&&`${t}-carousel--vertical`,this.showArrow&&`${t}-carousel--show-arrow`,`${t}-carousel--${a}`,`${t}-carousel--${this.direction}`,`${t}-carousel--${this.effect}`,o&&`${t}-carousel--usercontrol`],style:this.cssVars},s,{onMouseenter:this.handleMouseenter,onMouseleave:this.handleMouseleave}),v(lr,{onResize:this.handleResize},{default:()=>v("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?g.map((b,m)=>v("div",{style:r[m],key:m},Cn(v(hn,Object.assign({},l),{default:()=>b}),[[Jn,this.isActive(m)]]))):g)}),this.showDots&&u.total>1&&eh(f,u,()=>[v(Hj,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&eh(p,c,()=>[v(Uj,null)]))}});function Zj(e){return e.reduce((t,n)=>(Wj(n)&&t.push(n),t),[])}const Jj={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},H_=e=>{const{baseColor:t,inputColorDisabled:n,cardColor:o,modalColor:r,popoverColor:i,textColorDisabled:a,borderColor:s,primaryColor:l,textColor2:c,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadiusSmall:p,lineHeight:h}=e;return Object.assign(Object.assign({},Jj),{labelLineHeight:h,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:p,color:t,colorChecked:l,colorDisabled:n,colorDisabledChecked:n,colorTableHeader:o,colorTableHeaderModal:r,colorTableHeaderPopover:i,checkMarkColor:t,checkMarkColorDisabled:a,checkMarkColorDisabledChecked:a,border:`1px solid ${s}`,borderDisabled:`1px solid ${s}`,borderDisabledChecked:`1px solid ${s}`,borderChecked:`1px solid ${l}`,borderFocus:`1px solid ${l}`,boxShadowFocus:`0 0 0 2px ${Ie(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})},Qj={name:"Checkbox",common:bt,self:H_},j_=Qj,eV={name:"Checkbox",common:Ve,self(e){const{cardColor:t}=e,n=H_(e);return n.color="#0000",n.checkMarkColor=t,n}},Va=eV,tV=e=>{const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r,textColor3:i,primaryColor:a,textColorDisabled:s,dividerColor:l,hoverColor:c,fontSizeMedium:u,heightMedium:d}=e;return{menuBorderRadius:t,menuColor:o,menuBoxShadow:n,menuDividerColor:l,menuHeight:"calc(var(--n-option-height) * 6.6)",optionArrowColor:i,optionHeight:d,optionFontSize:u,optionColorHover:c,optionTextColor:r,optionTextColorActive:a,optionTextColorDisabled:s,optionCheckMarkColor:a,loadingColor:a,columnWidth:"180px"}},nV={name:"Cascader",common:Ve,peers:{InternalSelectMenu:sl,InternalSelection:Jp,Scrollbar:jn,Checkbox:Va,Empty:Pu},self:tV},oV=nV,rV=v("svg",{viewBox:"0 0 64 64",class:"check-icon"},v("path",{d:"M50.42,16.76L22.34,39.45l-8.1-11.46c-1.12-1.58-3.3-1.96-4.88-0.84c-1.58,1.12-1.95,3.3-0.84,4.88l10.26,14.51 c0.56,0.79,1.42,1.31,2.38,1.45c0.16,0.02,0.32,0.03,0.48,0.03c0.8,0,1.57-0.27,2.2-0.78l30.99-25.03c1.5-1.21,1.74-3.42,0.52-4.92 C54.13,15.78,51.93,15.55,50.42,16.76z"})),iV=v("svg",{viewBox:"0 0 100 100",class:"line-icon"},v("path",{d:"M80.2,55.5H21.4c-2.8,0-5.1-2.5-5.1-5.5l0,0c0-3,2.3-5.5,5.1-5.5h58.7c2.8,0,5.1,2.5,5.1,5.5l0,0C85.2,53.1,82.9,55.5,80.2,55.5z"})),V_="n-checkbox-group",aV={min:Number,max:Number,size:String,value:Array,defaultValue:{type:Array,default:null},disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onChange:[Function,Array]},sV=me({name:"CheckboxGroup",props:aV,setup(e){const{mergedClsPrefixRef:t}=at(e),n=dr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=N(e.defaultValue),a=L(()=>e.value),s=ln(a,i),l=L(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=L(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:p,nTriggerFormChange:h}=n,{onChange:g,"onUpdate:value":b,onUpdateValue:m}=e;if(Array.isArray(s.value)){const y=Array.from(s.value),k=y.findIndex(S=>S===f);d?~k||(y.push(f),m&&Pe(m,y,{actionType:"check",value:f}),b&&Pe(b,y,{actionType:"check",value:f}),p(),h(),i.value=y,g&&Pe(g,y)):~k&&(y.splice(k,1),m&&Pe(m,y,{actionType:"uncheck",value:f}),b&&Pe(b,y,{actionType:"uncheck",value:f}),g&&Pe(g,y),i.value=y,p(),h())}else d?(m&&Pe(m,[f],{actionType:"check",value:f}),b&&Pe(b,[f],{actionType:"check",value:f}),g&&Pe(g,[f]),i.value=[f],p(),h()):(m&&Pe(m,[],{actionType:"uncheck",value:f}),b&&Pe(b,[],{actionType:"uncheck",value:f}),g&&Pe(g,[]),i.value=[],p(),h())}return lt(V_,{checkedCountRef:l,maxRef:Ue(e,"max"),minRef:Ue(e,"min"),valueSetRef:c,disabledRef:r,mergedSizeRef:o,toggleCheckbox:u}),{mergedClsPrefix:t}},render(){return v("div",{class:`${this.mergedClsPrefix}-checkbox-group`,role:"group"},this.$slots)}}),lV=W([O("checkbox",` font-size: var(--n-font-size); outline: none; cursor: pointer; @@ -1686,11 +1686,11 @@ ${t} font-weight: var(--n-label-font-weight); `,[W("&:empty",{display:"none"})])]),tl(O("checkbox",` --n-merged-color-table: var(--n-color-table-modal); - `)),vu(O("checkbox",` + `)),bu(O("checkbox",` --n-merged-color-table: var(--n-color-table-popover); - `))]),lV=Object.assign(Object.assign({},He.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),ul=me({name:"Checkbox",props:lV,setup(e){const t=N(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=dr(e,{mergedSize(x){const{size:C}=e;if(C!==void 0)return C;if(l){const{value:_}=l.mergedSizeRef;if(_!==void 0)return _}if(x){const{mergedSize:_}=x;if(_!==void 0)return _.value}return"medium"},mergedDisabled(x){const{disabled:C}=e;if(C!==void 0)return C;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:_},checkedCountRef:R}=l;if(_!==void 0&&R.value>=_&&!f.value)return!0;const{minRef:{value:E}}=l;if(E!==void 0&&R.value<=E&&f.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=qe(G_,null),c=N(e.defaultChecked),u=Ue(e,"checked"),d=ln(u,c),f=St(()=>{if(l){const x=l.valueSetRef.value;return x&&e.value!==void 0?x.has(e.value):!1}else return d.value===e.checkedValue}),p=He("Checkbox","-checkbox",sV,K_,e,n);function h(x){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:C,"onUpdate:checked":_,onUpdateChecked:R}=e,{nTriggerFormInput:E,nTriggerFormChange:M}=i,A=f.value?e.uncheckedValue:e.checkedValue;_&&Pe(_,A,x),R&&Pe(R,A,x),C&&Pe(C,A,x),E(),M(),c.value=A}}function g(x){a.value||h(x)}function b(x){if(!a.value)switch(x.key){case" ":case"Enter":h(x)}}function m(x){switch(x.key){case" ":x.preventDefault()}}const y={focus:()=>{var x;(x=t.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=t.value)===null||x===void 0||x.blur()}},k=pn("Checkbox",r,n),S=L(()=>{const{value:x}=s,{common:{cubicBezierEaseInOut:C},self:{borderRadius:_,color:R,colorChecked:E,colorDisabled:M,colorTableHeader:A,colorTableHeaderModal:q,colorTableHeaderPopover:F,checkMarkColor:z,checkMarkColorDisabled:D,border:Y,borderFocus:Q,borderDisabled:ce,borderChecked:le,boxShadowFocus:B,textColor:$,textColorDisabled:I,checkMarkColorDisabledChecked:K,colorDisabledChecked:ne,borderDisabledChecked:ve,labelPadding:J,labelLineHeight:ye,labelFontWeight:j,[Se("fontSize",x)]:ge,[Se("size",x)]:Ee}}=p.value;return{"--n-label-line-height":ye,"--n-label-font-weight":j,"--n-size":Ee,"--n-bezier":C,"--n-border-radius":_,"--n-border":Y,"--n-border-checked":le,"--n-border-focus":Q,"--n-border-disabled":ce,"--n-border-disabled-checked":ve,"--n-box-shadow-focus":B,"--n-color":R,"--n-color-checked":E,"--n-color-table":A,"--n-color-table-modal":q,"--n-color-table-popover":F,"--n-color-disabled":M,"--n-color-disabled-checked":ne,"--n-text-color":$,"--n-text-color-disabled":I,"--n-check-mark-color":z,"--n-check-mark-color-disabled":D,"--n-check-mark-color-disabled-checked":K,"--n-font-size":ge,"--n-label-padding":J}}),w=o?kt("checkbox",L(()=>s.value[0]),S,e):void 0;return Object.assign(i,y,{rtlEnabled:k,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Ii(),handleClick:g,handleKeyUp:b,handleKeyDown:m,cssVars:o?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:p}=this;(e=this.onRender)===null||e===void 0||e.call(this);const h=$t(t.default,g=>l||g?v("span",{class:`${c}-checkbox__label`,id:s},l||g):null);return v("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,h&&`${c}-checkbox--show-label`],tabindex:o||!u?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:f,onClick:p,onMousedown:()=>{Mt("selectstart",window,g=>{g.preventDefault()},{once:!0})}},v("div",{class:`${c}-checkbox-box-wrapper`}," ",v("div",{class:`${c}-checkbox-box`},v(Hi,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${c}-checkbox-icon`},rV):v("div",{key:"check",class:`${c}-checkbox-icon`},oV)}),v("div",{class:`${c}-checkbox-box__border`}))),h)}}),cV={name:"Code",common:Ve,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}},Y_=cV,uV=e=>{const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:n,titleTextColorDisabled:r,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},dV={name:"Collapse",common:Ve,self:uV},fV=dV,hV=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},pV={name:"CollapseTransition",common:Ve,self:hV},mV=pV,gV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:qs},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(sr("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},X_=me({name:"ConfigProvider",alias:["App"],props:gV,setup(e){const t=qe(wo,null),n=L(()=>{const{theme:h}=e;if(h===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return h===void 0?g:g===void 0?h:Object.assign({},g,h)}),o=L(()=>{const{themeOverrides:h}=e;if(h!==null){if(h===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?h:us({},g,h)}}}),r=St(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=St(()=>{const{bordered:h}=e;return h===void 0?t==null?void 0:t.mergedBorderedRef.value:h}),a=L(()=>{const{icons:h}=e;return h===void 0?t==null?void 0:t.mergedIconsRef.value:h}),s=L(()=>{const{componentOptions:h}=e;return h!==void 0?h:t==null?void 0:t.mergedComponentPropsRef.value}),l=L(()=>{const{clsPrefix:h}=e;return h!==void 0?h:t?t.mergedClsPrefixRef.value:qs}),c=L(()=>{var h;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const b={};for(const m of g)b[m.name]=ga(m),(h=m.peers)===null||h===void 0||h.forEach(y=>{y.name in b||(b[y.name]=ga(y))});return b}),u=L(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),p=L(()=>{const{value:h}=n,{value:g}=o,b=g&&Object.keys(g).length!==0,m=h==null?void 0:h.name;return m?b?`${m}-${Hs(JSON.stringify(o.value))}`:m:b?Hs(JSON.stringify(o.value)):""});return lt(wo,{mergedThemeHashRef:p,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:L(()=>{const{locale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedLocaleRef.value:h}),mergedDateLocaleRef:L(()=>{const{dateLocale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedDateLocaleRef.value:h}),mergedHljsRef:L(()=>{const{hljs:h}=e;return h===void 0?t==null?void 0:t.mergedHljsRef.value:h}),mergedKatexRef:L(()=>{const{katex:h}=e;return h===void 0?t==null?void 0:t.mergedKatexRef.value:h}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):v(this.as||this.tag,{class:`${this.mergedClsPrefix||qs}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),vV=e=>1-Math.pow(1-e,5);function bV(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=()=>{const l=performance.now(),c=Math.min(l-s,o),u=t+(n-t)*vV(c/o);if(c===o){i();return}r(u),requestAnimationFrame(a)},s=performance.now();a()}const yV={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},xV=me({name:"NumberAnimation",props:yV,setup(e){const{localeRef:t}=Li("name"),{duration:n}=e,o=N(e.from),r=L(()=>{const{locale:f}=e;return f!==void 0?f:t.value});let i=!1;const a=f=>{o.value=f},s=()=>{var f;o.value=e.to,i=!1,(f=e.onFinish)===null||f===void 0||f.call(e)},l=(f=e.from,p=e.to)=>{i=!0,o.value=e.from,f!==p&&bV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=L(()=>{var f;const h=EL(o.value,e.precision).toFixed(e.precision).split("."),g=new Intl.NumberFormat(r.value),b=(f=g.formatToParts(.5).find(k=>k.type==="decimal"))===null||f===void 0?void 0:f.value,m=e.showSeparator?g.format(Number(h[0])):h[0],y=h[1];return{integer:m,decimal:y,decimalSeparator:b}});function u(){i||l()}return Lt(()=>{tn(()=>{e.active&&l()})}),Object.assign({formattedValue:c},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}),CV={name:"Popselect",common:Ve,peers:{Popover:Wi,InternalSelectMenu:sl}},Z_=CV;function wV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const _V={name:"Popselect",common:bt,peers:{Popover:ja,InternalSelectMenu:Zp},self:wV},om=_V,J_="n-popselect",SV=O("popselect-menu",` + `))]),cV=Object.assign(Object.assign({},He.props),{size:String,checked:{type:[Boolean,String,Number],default:void 0},defaultChecked:{type:[Boolean,String,Number],default:!1},value:[String,Number],disabled:{type:Boolean,default:void 0},indeterminate:Boolean,label:String,focusable:{type:Boolean,default:!0},checkedValue:{type:[Boolean,String,Number],default:!0},uncheckedValue:{type:[Boolean,String,Number],default:!1},"onUpdate:checked":[Function,Array],onUpdateChecked:[Function,Array],privateInsideTable:Boolean,onChange:[Function,Array]}),ul=me({name:"Checkbox",props:cV,setup(e){const t=N(null),{mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=dr(e,{mergedSize(x){const{size:C}=e;if(C!==void 0)return C;if(l){const{value:_}=l.mergedSizeRef;if(_!==void 0)return _}if(x){const{mergedSize:_}=x;if(_!==void 0)return _.value}return"medium"},mergedDisabled(x){const{disabled:C}=e;if(C!==void 0)return C;if(l){if(l.disabledRef.value)return!0;const{maxRef:{value:_},checkedCountRef:R}=l;if(_!==void 0&&R.value>=_&&!f.value)return!0;const{minRef:{value:E}}=l;if(E!==void 0&&R.value<=E&&f.value)return!0}return x?x.disabled.value:!1}}),{mergedDisabledRef:a,mergedSizeRef:s}=i,l=qe(V_,null),c=N(e.defaultChecked),u=Ue(e,"checked"),d=ln(u,c),f=St(()=>{if(l){const x=l.valueSetRef.value;return x&&e.value!==void 0?x.has(e.value):!1}else return d.value===e.checkedValue}),p=He("Checkbox","-checkbox",lV,j_,e,n);function h(x){if(l&&e.value!==void 0)l.toggleCheckbox(!f.value,e.value);else{const{onChange:C,"onUpdate:checked":_,onUpdateChecked:R}=e,{nTriggerFormInput:E,nTriggerFormChange:M}=i,A=f.value?e.uncheckedValue:e.checkedValue;_&&Pe(_,A,x),R&&Pe(R,A,x),C&&Pe(C,A,x),E(),M(),c.value=A}}function g(x){a.value||h(x)}function b(x){if(!a.value)switch(x.key){case" ":case"Enter":h(x)}}function m(x){switch(x.key){case" ":x.preventDefault()}}const y={focus:()=>{var x;(x=t.value)===null||x===void 0||x.focus()},blur:()=>{var x;(x=t.value)===null||x===void 0||x.blur()}},k=pn("Checkbox",r,n),S=L(()=>{const{value:x}=s,{common:{cubicBezierEaseInOut:C},self:{borderRadius:_,color:R,colorChecked:E,colorDisabled:M,colorTableHeader:A,colorTableHeaderModal:q,colorTableHeaderPopover:F,checkMarkColor:z,checkMarkColorDisabled:D,border:Y,borderFocus:Q,borderDisabled:ce,borderChecked:le,boxShadowFocus:B,textColor:$,textColorDisabled:I,checkMarkColorDisabledChecked:K,colorDisabledChecked:ne,borderDisabledChecked:ve,labelPadding:J,labelLineHeight:ye,labelFontWeight:j,[Se("fontSize",x)]:ge,[Se("size",x)]:Ee}}=p.value;return{"--n-label-line-height":ye,"--n-label-font-weight":j,"--n-size":Ee,"--n-bezier":C,"--n-border-radius":_,"--n-border":Y,"--n-border-checked":le,"--n-border-focus":Q,"--n-border-disabled":ce,"--n-border-disabled-checked":ve,"--n-box-shadow-focus":B,"--n-color":R,"--n-color-checked":E,"--n-color-table":A,"--n-color-table-modal":q,"--n-color-table-popover":F,"--n-color-disabled":M,"--n-color-disabled-checked":ne,"--n-text-color":$,"--n-text-color-disabled":I,"--n-check-mark-color":z,"--n-check-mark-color-disabled":D,"--n-check-mark-color-disabled-checked":K,"--n-font-size":ge,"--n-label-padding":J}}),w=o?kt("checkbox",L(()=>s.value[0]),S,e):void 0;return Object.assign(i,y,{rtlEnabled:k,selfRef:t,mergedClsPrefix:n,mergedDisabled:a,renderedChecked:f,mergedTheme:p,labelId:Ii(),handleClick:g,handleKeyUp:b,handleKeyDown:m,cssVars:o?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender})},render(){var e;const{$slots:t,renderedChecked:n,mergedDisabled:o,indeterminate:r,privateInsideTable:i,cssVars:a,labelId:s,label:l,mergedClsPrefix:c,focusable:u,handleKeyUp:d,handleKeyDown:f,handleClick:p}=this;(e=this.onRender)===null||e===void 0||e.call(this);const h=$t(t.default,g=>l||g?v("span",{class:`${c}-checkbox__label`,id:s},l||g):null);return v("div",{ref:"selfRef",class:[`${c}-checkbox`,this.themeClass,this.rtlEnabled&&`${c}-checkbox--rtl`,n&&`${c}-checkbox--checked`,o&&`${c}-checkbox--disabled`,r&&`${c}-checkbox--indeterminate`,i&&`${c}-checkbox--inside-table`,h&&`${c}-checkbox--show-label`],tabindex:o||!u?void 0:0,role:"checkbox","aria-checked":r?"mixed":n,"aria-labelledby":s,style:a,onKeyup:d,onKeydown:f,onClick:p,onMousedown:()=>{Mt("selectstart",window,g=>{g.preventDefault()},{once:!0})}},v("div",{class:`${c}-checkbox-box-wrapper`}," ",v("div",{class:`${c}-checkbox-box`},v(Hi,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${c}-checkbox-icon`},iV):v("div",{key:"check",class:`${c}-checkbox-icon`},rV)}),v("div",{class:`${c}-checkbox-box__border`}))),h)}}),uV={name:"Code",common:Ve,self(e){const{textColor2:t,fontSize:n,fontWeightStrong:o,textColor3:r}=e;return{textColor:t,fontSize:n,fontWeightStrong:o,"mono-3":"#5c6370","hue-1":"#56b6c2","hue-2":"#61aeee","hue-3":"#c678dd","hue-4":"#98c379","hue-5":"#e06c75","hue-5-2":"#be5046","hue-6":"#d19a66","hue-6-2":"#e6c07b",lineNumberTextColor:r}}},U_=uV,dV=e=>{const{fontWeight:t,textColor1:n,textColor2:o,textColorDisabled:r,dividerColor:i,fontSize:a}=e;return{titleFontSize:a,titleFontWeight:t,dividerColor:i,titleTextColor:n,titleTextColorDisabled:r,fontSize:a,textColor:o,arrowColor:o,arrowColorDisabled:r,itemMargin:"16px 0 0 0",titlePadding:"16px 0 0 0"}},fV={name:"Collapse",common:Ve,self:dV},hV=fV,pV=e=>{const{cubicBezierEaseInOut:t}=e;return{bezier:t}},mV={name:"CollapseTransition",common:Ve,self:pV},gV=mV,vV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:qs},locale:Object,dateLocale:Object,namespace:String,rtl:Array,tag:{type:String,default:"div"},hljs:Object,katex:Object,theme:Object,themeOverrides:Object,componentOptions:Object,icons:Object,breakpoints:Object,preflightStyleDisabled:Boolean,inlineThemeDisabled:{type:Boolean,default:void 0},as:{type:String,validator:()=>(sr("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},W_=me({name:"ConfigProvider",alias:["App"],props:vV,setup(e){const t=qe(wo,null),n=L(()=>{const{theme:h}=e;if(h===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return h===void 0?g:g===void 0?h:Object.assign({},g,h)}),o=L(()=>{const{themeOverrides:h}=e;if(h!==null){if(h===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?h:us({},g,h)}}}),r=St(()=>{const{namespace:h}=e;return h===void 0?t==null?void 0:t.mergedNamespaceRef.value:h}),i=St(()=>{const{bordered:h}=e;return h===void 0?t==null?void 0:t.mergedBorderedRef.value:h}),a=L(()=>{const{icons:h}=e;return h===void 0?t==null?void 0:t.mergedIconsRef.value:h}),s=L(()=>{const{componentOptions:h}=e;return h!==void 0?h:t==null?void 0:t.mergedComponentPropsRef.value}),l=L(()=>{const{clsPrefix:h}=e;return h!==void 0?h:t?t.mergedClsPrefixRef.value:qs}),c=L(()=>{var h;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const b={};for(const m of g)b[m.name]=ga(m),(h=m.peers)===null||h===void 0||h.forEach(y=>{y.name in b||(b[y.name]=ga(y))});return b}),u=L(()=>e.breakpoints||(t==null?void 0:t.mergedBreakpointsRef.value)),d=e.inlineThemeDisabled||(t==null?void 0:t.inlineThemeDisabled),f=e.preflightStyleDisabled||(t==null?void 0:t.preflightStyleDisabled),p=L(()=>{const{value:h}=n,{value:g}=o,b=g&&Object.keys(g).length!==0,m=h==null?void 0:h.name;return m?b?`${m}-${Hs(JSON.stringify(o.value))}`:m:b?Hs(JSON.stringify(o.value)):""});return lt(wo,{mergedThemeHashRef:p,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:L(()=>{const{locale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedLocaleRef.value:h}),mergedDateLocaleRef:L(()=>{const{dateLocale:h}=e;if(h!==null)return h===void 0?t==null?void 0:t.mergedDateLocaleRef.value:h}),mergedHljsRef:L(()=>{const{hljs:h}=e;return h===void 0?t==null?void 0:t.mergedHljsRef.value:h}),mergedKatexRef:L(()=>{const{katex:h}=e;return h===void 0?t==null?void 0:t.mergedKatexRef.value:h}),mergedThemeRef:n,mergedThemeOverridesRef:o,inlineThemeDisabled:d||!1,preflightStyleDisabled:f||!1}),{mergedClsPrefix:l,mergedBordered:i,mergedNamespace:r,mergedTheme:n,mergedThemeOverrides:o}},render(){var e,t,n,o;return this.abstract?(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n):v(this.as||this.tag,{class:`${this.mergedClsPrefix||qs}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),bV=e=>1-Math.pow(1-e,5);function yV(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=()=>{const l=performance.now(),c=Math.min(l-s,o),u=t+(n-t)*bV(c/o);if(c===o){i();return}r(u),requestAnimationFrame(a)},s=performance.now();a()}const xV={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function},CV=me({name:"NumberAnimation",props:xV,setup(e){const{localeRef:t}=Li("name"),{duration:n}=e,o=N(e.from),r=L(()=>{const{locale:f}=e;return f!==void 0?f:t.value});let i=!1;const a=f=>{o.value=f},s=()=>{var f;o.value=e.to,i=!1,(f=e.onFinish)===null||f===void 0||f.call(e)},l=(f=e.from,p=e.to)=>{i=!0,o.value=e.from,f!==p&&yV({from:f,to:p,duration:n,onUpdate:a,onFinish:s})},c=L(()=>{var f;const h=$L(o.value,e.precision).toFixed(e.precision).split("."),g=new Intl.NumberFormat(r.value),b=(f=g.formatToParts(.5).find(k=>k.type==="decimal"))===null||f===void 0?void 0:f.value,m=e.showSeparator?g.format(Number(h[0])):h[0],y=h[1];return{integer:m,decimal:y,decimalSeparator:b}});function u(){i||l()}return Lt(()=>{tn(()=>{e.active&&l()})}),Object.assign({formattedValue:c},{play:u})},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}),wV={name:"Popselect",common:Ve,peers:{Popover:Wi,InternalSelectMenu:sl}},q_=wV;function _V(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const SV={name:"Popselect",common:bt,peers:{Popover:ja,InternalSelectMenu:Zp},self:_V},om=SV,K_="n-popselect",kV=O("popselect-menu",` box-shadow: var(--n-menu-box-shadow); -`),rm={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},M0=qr(rm),kV=me({name:"PopselectPanel",props:rm,setup(e){const t=qe(J_),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=at(e),r=He("Popselect","-pop-select",SV,om,t.props,n),i=L(()=>bi(e.options,A_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":g,onChange:b}=e;h&&Pe(h,f,p),g&&Pe(g,f,p),b&&Pe(b,f,p)}function s(f){c(f.key)}function l(f){!Vo(f,"action")&&!Vo(f,"empty")&&f.preventDefault()}function c(f){const{value:{getNode:p}}=i;if(e.multiple)if(Array.isArray(e.value)){const h=[],g=[];let b=!0;e.value.forEach(m=>{if(m===f){b=!1;return}const y=p(m);y&&(h.push(y.key),g.push(y.rawNode))}),b&&(h.push(f),g.push(p(f).rawNode)),a(h,g)}else{const h=p(f);h&&a([f],[h.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const h=p(f);h&&a(f,h.rawNode);const{"onUpdate:show":g,onUpdateShow:b}=t.props;g&&Pe(g,!1),b&&Pe(b,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ht(Ue(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=L(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?kt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(x_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),TV=Object.assign(Object.assign(Object.assign(Object.assign({},He.props),Qs(Ra,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Ra.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),rm),dl=me({name:"Popselect",props:TV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=at(e),n=He("Popselect","-popselect",void 0,om,e,t),o=N(null);function r(){var s;(s=o.value)===null||s===void 0||s.syncPosition()}function i(s){var l;(l=o.value)===null||l===void 0||l.setShow(s)}return lt(J_,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return v(kV,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Xn(this.$props,M0),{ref:OC(o),onMouseenter:ws([i,s.onMouseenter]),onMouseleave:ws([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return v(ll,Object.assign({},Qs(this.$props,M0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function Q_(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const PV={name:"Select",common:bt,peers:{InternalSelection:R_,InternalSelectMenu:Zp},self:Q_},e2=PV,RV={name:"Select",common:Ve,peers:{InternalSelection:Jp,InternalSelectMenu:sl},self:Q_},t2=RV,EV=W([O("select",` +`),rm={multiple:Boolean,value:{type:[String,Number,Array],default:null},cancelable:Boolean,options:{type:Array,default:()=>[]},size:{type:String,default:"medium"},scrollable:Boolean,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onMouseenter:Function,onMouseleave:Function,renderLabel:Function,showCheckmark:{type:Boolean,default:void 0},nodeProps:Function,virtualScroll:Boolean,onChange:[Function,Array]},M0=qr(rm),TV=me({name:"PopselectPanel",props:rm,setup(e){const t=qe(K_),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=at(e),r=He("Popselect","-pop-select",kV,om,t.props,n),i=L(()=>bi(e.options,T_("value","children")));function a(f,p){const{onUpdateValue:h,"onUpdate:value":g,onChange:b}=e;h&&Pe(h,f,p),g&&Pe(g,f,p),b&&Pe(b,f,p)}function s(f){c(f.key)}function l(f){!Vo(f,"action")&&!Vo(f,"empty")&&f.preventDefault()}function c(f){const{value:{getNode:p}}=i;if(e.multiple)if(Array.isArray(e.value)){const h=[],g=[];let b=!0;e.value.forEach(m=>{if(m===f){b=!1;return}const y=p(m);y&&(h.push(y.key),g.push(y.rawNode))}),b&&(h.push(f),g.push(p(f).rawNode)),a(h,g)}else{const h=p(f);h&&a([f],[h.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const h=p(f);h&&a(f,h.rawNode);const{"onUpdate:show":g,onUpdateShow:b}=t.props;g&&Pe(g,!1),b&&Pe(b,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ht(Ue(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=L(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?kt("select",void 0,u,t.props):void 0;return{mergedTheme:t.mergedThemeRef,mergedClsPrefix:n,treeMate:i,handleToggle:s,handleMenuMousedown:l,cssVars:o?void 0:u,themeClass:d==null?void 0:d.themeClass,onRender:d==null?void 0:d.onRender}},render(){var e;return(e=this.onRender)===null||e===void 0||e.call(this),v(m_,{clsPrefix:this.mergedClsPrefix,focusable:!0,nodeProps:this.nodeProps,class:[`${this.mergedClsPrefix}-popselect-menu`,this.themeClass],style:this.cssVars,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,multiple:this.multiple,treeMate:this.treeMate,size:this.size,value:this.value,virtualScroll:this.virtualScroll,scrollable:this.scrollable,renderLabel:this.renderLabel,onToggle:this.handleToggle,onMouseenter:this.onMouseenter,onMouseleave:this.onMouseenter,onMousedown:this.handleMenuMousedown,showCheckmark:this.showCheckmark},{header:()=>{var t,n;return((n=(t=this.$slots).header)===null||n===void 0?void 0:n.call(t))||[]},action:()=>{var t,n;return((n=(t=this.$slots).action)===null||n===void 0?void 0:n.call(t))||[]},empty:()=>{var t,n;return((n=(t=this.$slots).empty)===null||n===void 0?void 0:n.call(t))||[]}})}}),PV=Object.assign(Object.assign(Object.assign(Object.assign({},He.props),Qs(Ra,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Ra.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),rm),dl=me({name:"Popselect",props:PV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=at(e),n=He("Popselect","-popselect",void 0,om,e,t),o=N(null);function r(){var s;(s=o.value)===null||s===void 0||s.syncPosition()}function i(s){var l;(l=o.value)===null||l===void 0||l.setShow(s)}return lt(K_,{props:e,mergedThemeRef:n,syncPosition:r,setShow:i}),Object.assign(Object.assign({},{syncPosition:r,setShow:i}),{popoverInstRef:o,mergedTheme:n})},render(){const{mergedTheme:e}=this,t={theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:{padding:"0"},ref:"popoverInstRef",internalRenderBody:(n,o,r,i,a)=>{const{$attrs:s}=this;return v(TV,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},Xn(this.$props,M0),{ref:$C(o),onMouseenter:ws([i,s.onMouseenter]),onMouseleave:ws([a,s.onMouseleave])}),{header:()=>{var l,c;return(c=(l=this.$slots).header)===null||c===void 0?void 0:c.call(l)},action:()=>{var l,c;return(c=(l=this.$slots).action)===null||c===void 0?void 0:c.call(l)},empty:()=>{var l,c;return(c=(l=this.$slots).empty)===null||c===void 0?void 0:c.call(l)}})}};return v(ll,Object.assign({},Qs(this.$props,M0),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function G_(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const RV={name:"Select",common:bt,peers:{InternalSelection:__,InternalSelectMenu:Zp},self:G_},Y_=RV,EV={name:"Select",common:Ve,peers:{InternalSelection:Jp,InternalSelectMenu:sl},self:G_},X_=EV,$V=W([O("select",` z-index: auto; outline: none; width: 100%; @@ -1698,7 +1698,7 @@ ${t} `),O("select-menu",` margin: 4px 0; box-shadow: var(--n-menu-box-shadow); - `,[Ha({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),$V=Object.assign(Object.assign({},He.props),{to:Wo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),Eu=me({name:"Select",props:$V,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=at(e),i=He("Select","-select",EV,e2,e,t),a=N(e.defaultValue),s=Ue(e,"value"),l=ln(s,a),c=N(!1),u=N(""),d=L(()=>{const{valueField:X,childrenField:pe}=e,Te=A_(X,pe);return bi(A.value,Te)}),f=L(()=>wH(E.value,e.valueField,e.childrenField)),p=N(!1),h=ln(Ue(e,"show"),p),g=N(null),b=N(null),m=N(null),{localeRef:y}=Li("Select"),k=L(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:y.value.placeholder}),S=bu(e,["items","options"]),w=[],x=N([]),C=N([]),_=N(new Map),R=L(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:pe,valueField:Te}=e;return Ke=>({[pe]:String(Ke),[Te]:Ke})}return X===!1?!1:pe=>Object.assign(X(pe),{value:pe})}),E=L(()=>C.value.concat(x.value).concat(S.value)),M=L(()=>{const{filter:X}=e;if(X)return X;const{labelField:pe,valueField:Te}=e;return(Ke,Xe)=>{if(!Xe)return!1;const Ze=Xe[pe];if(typeof Ze=="string")return Nd(Ke,Ze);const tt=Xe[Te];return typeof tt=="string"?Nd(Ke,tt):typeof tt=="number"?Nd(Ke,String(tt)):!1}}),A=L(()=>{if(e.remote)return S.value;{const{value:X}=E,{value:pe}=u;return!pe.length||!e.filterable?X:CH(X,M.value,pe,e.childrenField)}});function q(X){const pe=e.remote,{value:Te}=_,{value:Ke}=f,{value:Xe}=R,Ze=[];return X.forEach(tt=>{if(Ke.has(tt))Ze.push(Ke.get(tt));else if(pe&&Te.has(tt))Ze.push(Te.get(tt));else if(Xe){const rt=Xe(tt);rt&&Ze.push(rt)}}),Ze}const F=L(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?q(X):[]}return null}),z=L(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:q([X])[0]||null:null}),D=dr(e),{mergedSizeRef:Y,mergedDisabledRef:Q,mergedStatusRef:ce}=D;function le(X,pe){const{onChange:Te,"onUpdate:value":Ke,onUpdateValue:Xe}=e,{nTriggerFormChange:Ze,nTriggerFormInput:tt}=D;Te&&Pe(Te,X,pe),Xe&&Pe(Xe,X,pe),Ke&&Pe(Ke,X,pe),a.value=X,Ze(),tt()}function B(X){const{onBlur:pe}=e,{nTriggerFormBlur:Te}=D;pe&&Pe(pe,X),Te()}function $(){const{onClear:X}=e;X&&Pe(X)}function I(X){const{onFocus:pe,showOnFocus:Te}=e,{nTriggerFormFocus:Ke}=D;pe&&Pe(pe,X),Ke(),Te&&ye()}function K(X){const{onSearch:pe}=e;pe&&Pe(pe,X)}function ne(X){const{onScroll:pe}=e;pe&&Pe(pe,X)}function ve(){var X;const{remote:pe,multiple:Te}=e;if(pe){const{value:Ke}=_;if(Te){const{valueField:Xe}=e;(X=F.value)===null||X===void 0||X.forEach(Ze=>{Ke.set(Ze[Xe],Ze)})}else{const Xe=z.value;Xe&&Ke.set(Xe[e.valueField],Xe)}}}function J(X){const{onUpdateShow:pe,"onUpdate:show":Te}=e;pe&&Pe(pe,X),Te&&Pe(Te,X),p.value=X}function ye(){Q.value||(J(!0),p.value=!0,e.filterable&&Me())}function j(){J(!1)}function ge(){u.value="",C.value=w}const Ee=N(!1);function Ne(){e.filterable&&(Ee.value=!0)}function T(){e.filterable&&(Ee.value=!1,h.value||ge())}function P(){Q.value||(h.value?e.filterable?Me():j():ye())}function U(X){var pe,Te;!((Te=(pe=m.value)===null||pe===void 0?void 0:pe.selfRef)===null||Te===void 0)&&Te.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function oe(X){I(X),c.value=!0}function G(X){c.value=!0}function se(X){var pe;!((pe=g.value)===null||pe===void 0)&&pe.$el.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function xe(){var X;(X=g.value)===null||X===void 0||X.focus(),j()}function be(X){var pe;h.value&&(!((pe=g.value)===null||pe===void 0)&&pe.$el.contains(wi(X))||j())}function Ce(X){if(!Array.isArray(X))return[];if(R.value)return Array.from(X);{const{remote:pe}=e,{value:Te}=f;if(pe){const{value:Ke}=_;return X.filter(Xe=>Te.has(Xe)||Ke.has(Xe))}else return X.filter(Ke=>Te.has(Ke))}}function we(X){Re(X.rawNode)}function Re(X){if(Q.value)return;const{tag:pe,remote:Te,clearFilterAfterSelect:Ke,valueField:Xe}=e;if(pe&&!Te){const{value:Ze}=C,tt=Ze[0]||null;if(tt){const rt=x.value;rt.length?rt.push(tt):x.value=[tt],C.value=w}}if(Te&&_.value.set(X[Xe],X),e.multiple){const Ze=Ce(l.value),tt=Ze.findIndex(rt=>rt===X[Xe]);if(~tt){if(Ze.splice(tt,1),pe&&!Te){const rt=de(X[Xe]);~rt&&(x.value.splice(rt,1),Ke&&(u.value=""))}}else Ze.push(X[Xe]),Ke&&(u.value="");le(Ze,q(Ze))}else{if(pe&&!Te){const Ze=de(X[Xe]);~Ze?x.value=[x.value[Ze]]:x.value=w}$e(),j(),le(X[Xe],X)}}function de(X){return x.value.findIndex(Te=>Te[e.valueField]===X)}function ee(X){h.value||ye();const{value:pe}=X.target;u.value=pe;const{tag:Te,remote:Ke}=e;if(K(pe),Te&&!Ke){if(!pe){C.value=w;return}const{onCreate:Xe}=e,Ze=Xe?Xe(pe):{[e.labelField]:pe,[e.valueField]:pe},{valueField:tt,labelField:rt}=e;S.value.some(yt=>yt[tt]===Ze[tt]||yt[rt]===Ze[rt])||x.value.some(yt=>yt[tt]===Ze[tt]||yt[rt]===Ze[rt])?C.value=w:C.value=[Ze]}}function fe(X){X.stopPropagation();const{multiple:pe}=e;!pe&&e.filterable&&j(),$(),pe?le([],[]):le(null,null)}function Oe(X){!Vo(X,"action")&&!Vo(X,"empty")&&X.preventDefault()}function Le(X){ne(X)}function De(X){var pe,Te,Ke,Xe,Ze;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((pe=g.value)===null||pe===void 0)&&pe.isComposing)){if(h.value){const tt=(Te=m.value)===null||Te===void 0?void 0:Te.getPendingTmNode();tt?we(tt):e.filterable||(j(),$e())}else if(ye(),e.tag&&Ee.value){const tt=C.value[0];if(tt){const rt=tt[e.valueField],{value:yt}=l;e.multiple&&Array.isArray(yt)&&yt.some(nn=>nn===rt)||Re(tt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;h.value&&((Ke=m.value)===null||Ke===void 0||Ke.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;h.value?(Xe=m.value)===null||Xe===void 0||Xe.next():ye();break;case"Escape":h.value&&(y6(X),j()),(Ze=g.value)===null||Ze===void 0||Ze.focus();break}}function $e(){var X;(X=g.value)===null||X===void 0||X.focus()}function Me(){var X;(X=g.value)===null||X===void 0||X.focusInput()}function Fe(){var X;h.value&&((X=b.value)===null||X===void 0||X.syncPosition())}ve(),ht(Ue(e,"options"),ve);const Be={focus:()=>{var X;(X=g.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=g.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=g.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=g.value)===null||X===void 0||X.blurInput()}},ot=L(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),xt=r?kt("select",void 0,ot,e):void 0;return Object.assign(Object.assign({},Be),{mergedStatus:ce,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Gr(),triggerRef:g,menuRef:m,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Wo(e),uncontrolledValue:a,mergedValue:l,followerRef:b,localizedPlaceholder:k,selectedOption:z,selectedOptions:F,mergedSize:Y,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:Ee,inlineThemeDisabled:r,onTriggerInputFocus:Ne,onTriggerInputBlur:T,handleTriggerOrMenuResize:Fe,handleMenuFocus:G,handleMenuBlur:se,handleMenuTabOut:xe,handleTriggerClick:P,handleToggle:we,handleDeleteOption:Re,handlePatternInput:ee,handleClear:fe,handleTriggerBlur:U,handleTriggerFocus:oe,handleKeydown:De,handleMenuAfterLeave:ge,handleMenuClickOutside:be,handleMenuScroll:Le,handleMenuKeydown:De,handleMenuMousedown:Oe,mergedTheme:i,cssVars:r?void 0:ot,themeClass:xt==null?void 0:xt.themeClass,onRender:xt==null?void 0:xt.onRender})},render(){return v("div",{class:`${this.mergedClsPrefix}-select`},v(Ep,null,{default:()=>[v($p,null,{default:()=>v(aH,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),v(Ip,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Wo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>v(hn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),Cn(v(x_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Jn,this.mergedShow],[Ta,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ta,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),AV={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},n2=e=>{const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:d,heightTiny:f,heightSmall:p,heightMedium:h}=e;return Object.assign(Object.assign({},AV),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:f,itemSizeMedium:p,itemSizeLarge:h,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})},IV={name:"Pagination",common:bt,peers:{Select:e2,Input:em,Popselect:om},self:n2},o2=IV,MV={name:"Pagination",common:Ve,peers:{Select:t2,Input:uo,Popselect:Z_},self(e){const{primaryColor:t,opacity3:n}=e,o=Ie(t,{alpha:Number(n)}),r=n2(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},r2=MV,i2=e=>{var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10};function zV(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let p=!1,h=!1;u>l+2&&(p=!0),d=l+1&&g.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let b=u;b<=d;++b)g.push({type:"page",label:b,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===b});return h?(i=!0,s=d+1,g.push({type:"fast-forward",active:!1,label:void 0,options:o?z0(d+1,c-1):null})):d===c-2&&g[g.length-1].label!==c-1&&g.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),g[g.length-1].label!==c&&g.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:g}}function z0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const O0=` + `,[Ha({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),AV=Object.assign(Object.assign({},He.props),{to:Wo.propTo,bordered:{type:Boolean,default:void 0},clearable:Boolean,clearFilterAfterSelect:{type:Boolean,default:!0},options:{type:Array,default:()=>[]},defaultValue:{type:[String,Number,Array],default:null},keyboard:{type:Boolean,default:!0},value:[String,Number,Array],placeholder:String,menuProps:Object,multiple:Boolean,size:String,filterable:Boolean,disabled:{type:Boolean,default:void 0},remote:Boolean,loading:Boolean,filter:Function,placement:{type:String,default:"bottom-start"},widthMode:{type:String,default:"trigger"},tag:Boolean,onCreate:Function,fallbackOption:{type:[Function,Boolean],default:void 0},show:{type:Boolean,default:void 0},showArrow:{type:Boolean,default:!0},maxTagCount:[Number,String],ellipsisTagPopoverProps:Object,consistentMenuWidth:{type:Boolean,default:!0},virtualScroll:{type:Boolean,default:!0},labelField:{type:String,default:"label"},valueField:{type:String,default:"value"},childrenField:{type:String,default:"children"},renderLabel:Function,renderOption:Function,renderTag:Function,"onUpdate:value":[Function,Array],inputProps:Object,nodeProps:Function,ignoreComposition:{type:Boolean,default:!0},showOnFocus:Boolean,onUpdateValue:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onFocus:[Function,Array],onScroll:[Function,Array],onSearch:[Function,Array],onUpdateShow:[Function,Array],"onUpdate:show":[Function,Array],displayDirective:{type:String,default:"show"},resetMenuOnOptionsChange:{type:Boolean,default:!0},status:String,showCheckmark:{type:Boolean,default:!0},onChange:[Function,Array],items:Array}),$u=me({name:"Select",props:AV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=at(e),i=He("Select","-select",$V,Y_,e,t),a=N(e.defaultValue),s=Ue(e,"value"),l=ln(s,a),c=N(!1),u=N(""),d=L(()=>{const{valueField:X,childrenField:pe}=e,Te=T_(X,pe);return bi(A.value,Te)}),f=L(()=>_H(E.value,e.valueField,e.childrenField)),p=N(!1),h=ln(Ue(e,"show"),p),g=N(null),b=N(null),m=N(null),{localeRef:y}=Li("Select"),k=L(()=>{var X;return(X=e.placeholder)!==null&&X!==void 0?X:y.value.placeholder}),S=yu(e,["items","options"]),w=[],x=N([]),C=N([]),_=N(new Map),R=L(()=>{const{fallbackOption:X}=e;if(X===void 0){const{labelField:pe,valueField:Te}=e;return Ke=>({[pe]:String(Ke),[Te]:Ke})}return X===!1?!1:pe=>Object.assign(X(pe),{value:pe})}),E=L(()=>C.value.concat(x.value).concat(S.value)),M=L(()=>{const{filter:X}=e;if(X)return X;const{labelField:pe,valueField:Te}=e;return(Ke,Xe)=>{if(!Xe)return!1;const Ze=Xe[pe];if(typeof Ze=="string")return Bd(Ke,Ze);const tt=Xe[Te];return typeof tt=="string"?Bd(Ke,tt):typeof tt=="number"?Bd(Ke,String(tt)):!1}}),A=L(()=>{if(e.remote)return S.value;{const{value:X}=E,{value:pe}=u;return!pe.length||!e.filterable?X:wH(X,M.value,pe,e.childrenField)}});function q(X){const pe=e.remote,{value:Te}=_,{value:Ke}=f,{value:Xe}=R,Ze=[];return X.forEach(tt=>{if(Ke.has(tt))Ze.push(Ke.get(tt));else if(pe&&Te.has(tt))Ze.push(Te.get(tt));else if(Xe){const rt=Xe(tt);rt&&Ze.push(rt)}}),Ze}const F=L(()=>{if(e.multiple){const{value:X}=l;return Array.isArray(X)?q(X):[]}return null}),z=L(()=>{const{value:X}=l;return!e.multiple&&!Array.isArray(X)?X===null?null:q([X])[0]||null:null}),D=dr(e),{mergedSizeRef:Y,mergedDisabledRef:Q,mergedStatusRef:ce}=D;function le(X,pe){const{onChange:Te,"onUpdate:value":Ke,onUpdateValue:Xe}=e,{nTriggerFormChange:Ze,nTriggerFormInput:tt}=D;Te&&Pe(Te,X,pe),Xe&&Pe(Xe,X,pe),Ke&&Pe(Ke,X,pe),a.value=X,Ze(),tt()}function B(X){const{onBlur:pe}=e,{nTriggerFormBlur:Te}=D;pe&&Pe(pe,X),Te()}function $(){const{onClear:X}=e;X&&Pe(X)}function I(X){const{onFocus:pe,showOnFocus:Te}=e,{nTriggerFormFocus:Ke}=D;pe&&Pe(pe,X),Ke(),Te&&ye()}function K(X){const{onSearch:pe}=e;pe&&Pe(pe,X)}function ne(X){const{onScroll:pe}=e;pe&&Pe(pe,X)}function ve(){var X;const{remote:pe,multiple:Te}=e;if(pe){const{value:Ke}=_;if(Te){const{valueField:Xe}=e;(X=F.value)===null||X===void 0||X.forEach(Ze=>{Ke.set(Ze[Xe],Ze)})}else{const Xe=z.value;Xe&&Ke.set(Xe[e.valueField],Xe)}}}function J(X){const{onUpdateShow:pe,"onUpdate:show":Te}=e;pe&&Pe(pe,X),Te&&Pe(Te,X),p.value=X}function ye(){Q.value||(J(!0),p.value=!0,e.filterable&&Me())}function j(){J(!1)}function ge(){u.value="",C.value=w}const Ee=N(!1);function Ne(){e.filterable&&(Ee.value=!0)}function T(){e.filterable&&(Ee.value=!1,h.value||ge())}function P(){Q.value||(h.value?e.filterable?Me():j():ye())}function U(X){var pe,Te;!((Te=(pe=m.value)===null||pe===void 0?void 0:pe.selfRef)===null||Te===void 0)&&Te.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function oe(X){I(X),c.value=!0}function G(X){c.value=!0}function se(X){var pe;!((pe=g.value)===null||pe===void 0)&&pe.$el.contains(X.relatedTarget)||(c.value=!1,B(X),j())}function xe(){var X;(X=g.value)===null||X===void 0||X.focus(),j()}function be(X){var pe;h.value&&(!((pe=g.value)===null||pe===void 0)&&pe.$el.contains(wi(X))||j())}function Ce(X){if(!Array.isArray(X))return[];if(R.value)return Array.from(X);{const{remote:pe}=e,{value:Te}=f;if(pe){const{value:Ke}=_;return X.filter(Xe=>Te.has(Xe)||Ke.has(Xe))}else return X.filter(Ke=>Te.has(Ke))}}function we(X){Re(X.rawNode)}function Re(X){if(Q.value)return;const{tag:pe,remote:Te,clearFilterAfterSelect:Ke,valueField:Xe}=e;if(pe&&!Te){const{value:Ze}=C,tt=Ze[0]||null;if(tt){const rt=x.value;rt.length?rt.push(tt):x.value=[tt],C.value=w}}if(Te&&_.value.set(X[Xe],X),e.multiple){const Ze=Ce(l.value),tt=Ze.findIndex(rt=>rt===X[Xe]);if(~tt){if(Ze.splice(tt,1),pe&&!Te){const rt=de(X[Xe]);~rt&&(x.value.splice(rt,1),Ke&&(u.value=""))}}else Ze.push(X[Xe]),Ke&&(u.value="");le(Ze,q(Ze))}else{if(pe&&!Te){const Ze=de(X[Xe]);~Ze?x.value=[x.value[Ze]]:x.value=w}$e(),j(),le(X[Xe],X)}}function de(X){return x.value.findIndex(Te=>Te[e.valueField]===X)}function ee(X){h.value||ye();const{value:pe}=X.target;u.value=pe;const{tag:Te,remote:Ke}=e;if(K(pe),Te&&!Ke){if(!pe){C.value=w;return}const{onCreate:Xe}=e,Ze=Xe?Xe(pe):{[e.labelField]:pe,[e.valueField]:pe},{valueField:tt,labelField:rt}=e;S.value.some(yt=>yt[tt]===Ze[tt]||yt[rt]===Ze[rt])||x.value.some(yt=>yt[tt]===Ze[tt]||yt[rt]===Ze[rt])?C.value=w:C.value=[Ze]}}function fe(X){X.stopPropagation();const{multiple:pe}=e;!pe&&e.filterable&&j(),$(),pe?le([],[]):le(null,null)}function Oe(X){!Vo(X,"action")&&!Vo(X,"empty")&&X.preventDefault()}function Le(X){ne(X)}function De(X){var pe,Te,Ke,Xe,Ze;if(!e.keyboard){X.preventDefault();return}switch(X.key){case" ":if(e.filterable)break;X.preventDefault();case"Enter":if(!(!((pe=g.value)===null||pe===void 0)&&pe.isComposing)){if(h.value){const tt=(Te=m.value)===null||Te===void 0?void 0:Te.getPendingTmNode();tt?we(tt):e.filterable||(j(),$e())}else if(ye(),e.tag&&Ee.value){const tt=C.value[0];if(tt){const rt=tt[e.valueField],{value:yt}=l;e.multiple&&Array.isArray(yt)&&yt.some(nn=>nn===rt)||Re(tt)}}}X.preventDefault();break;case"ArrowUp":if(X.preventDefault(),e.loading)return;h.value&&((Ke=m.value)===null||Ke===void 0||Ke.prev());break;case"ArrowDown":if(X.preventDefault(),e.loading)return;h.value?(Xe=m.value)===null||Xe===void 0||Xe.next():ye();break;case"Escape":h.value&&(x6(X),j()),(Ze=g.value)===null||Ze===void 0||Ze.focus();break}}function $e(){var X;(X=g.value)===null||X===void 0||X.focus()}function Me(){var X;(X=g.value)===null||X===void 0||X.focusInput()}function Fe(){var X;h.value&&((X=b.value)===null||X===void 0||X.syncPosition())}ve(),ht(Ue(e,"options"),ve);const Be={focus:()=>{var X;(X=g.value)===null||X===void 0||X.focus()},focusInput:()=>{var X;(X=g.value)===null||X===void 0||X.focusInput()},blur:()=>{var X;(X=g.value)===null||X===void 0||X.blur()},blurInput:()=>{var X;(X=g.value)===null||X===void 0||X.blurInput()}},ot=L(()=>{const{self:{menuBoxShadow:X}}=i.value;return{"--n-menu-box-shadow":X}}),xt=r?kt("select",void 0,ot,e):void 0;return Object.assign(Object.assign({},Be),{mergedStatus:ce,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:d,isMounted:Gr(),triggerRef:g,menuRef:m,pattern:u,uncontrolledShow:p,mergedShow:h,adjustedTo:Wo(e),uncontrolledValue:a,mergedValue:l,followerRef:b,localizedPlaceholder:k,selectedOption:z,selectedOptions:F,mergedSize:Y,mergedDisabled:Q,focused:c,activeWithoutMenuOpen:Ee,inlineThemeDisabled:r,onTriggerInputFocus:Ne,onTriggerInputBlur:T,handleTriggerOrMenuResize:Fe,handleMenuFocus:G,handleMenuBlur:se,handleMenuTabOut:xe,handleTriggerClick:P,handleToggle:we,handleDeleteOption:Re,handlePatternInput:ee,handleClear:fe,handleTriggerBlur:U,handleTriggerFocus:oe,handleKeydown:De,handleMenuAfterLeave:ge,handleMenuClickOutside:be,handleMenuScroll:Le,handleMenuKeydown:De,handleMenuMousedown:Oe,mergedTheme:i,cssVars:r?void 0:ot,themeClass:xt==null?void 0:xt.themeClass,onRender:xt==null?void 0:xt.onRender})},render(){return v("div",{class:`${this.mergedClsPrefix}-select`},v(Ep,null,{default:()=>[v($p,null,{default:()=>v(sH,{ref:"triggerRef",inlineThemeDisabled:this.inlineThemeDisabled,status:this.mergedStatus,inputProps:this.inputProps,clsPrefix:this.mergedClsPrefix,showArrow:this.showArrow,maxTagCount:this.maxTagCount,ellipsisTagPopoverProps:this.ellipsisTagPopoverProps,bordered:this.mergedBordered,active:this.activeWithoutMenuOpen||this.mergedShow,pattern:this.pattern,placeholder:this.localizedPlaceholder,selectedOption:this.selectedOption,selectedOptions:this.selectedOptions,multiple:this.multiple,renderTag:this.renderTag,renderLabel:this.renderLabel,filterable:this.filterable,clearable:this.clearable,disabled:this.mergedDisabled,size:this.mergedSize,theme:this.mergedTheme.peers.InternalSelection,labelField:this.labelField,valueField:this.valueField,themeOverrides:this.mergedTheme.peerOverrides.InternalSelection,loading:this.loading,focused:this.focused,onClick:this.handleTriggerClick,onDeleteOption:this.handleDeleteOption,onPatternInput:this.handlePatternInput,onClear:this.handleClear,onBlur:this.handleTriggerBlur,onFocus:this.handleTriggerFocus,onKeydown:this.handleKeydown,onPatternBlur:this.onTriggerInputBlur,onPatternFocus:this.onTriggerInputFocus,onResize:this.handleTriggerOrMenuResize,ignoreComposition:this.ignoreComposition},{arrow:()=>{var e,t;return[(t=(e=this.$slots).arrow)===null||t===void 0?void 0:t.call(e)]}})}),v(Ip,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Wo.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>v(hn,{name:"fade-in-scale-up-transition",appear:this.isMounted,onAfterLeave:this.handleMenuAfterLeave},{default:()=>{var e,t,n;return this.mergedShow||this.displayDirective==="show"?((e=this.onRender)===null||e===void 0||e.call(this),Cn(v(m_,Object.assign({},this.menuProps,{ref:"menuRef",onResize:this.handleTriggerOrMenuResize,inlineThemeDisabled:this.inlineThemeDisabled,virtualScroll:this.consistentMenuWidth&&this.virtualScroll,class:[`${this.mergedClsPrefix}-select-menu`,this.themeClass,(t=this.menuProps)===null||t===void 0?void 0:t.class],clsPrefix:this.mergedClsPrefix,focusable:!0,labelField:this.labelField,valueField:this.valueField,autoPending:!0,nodeProps:this.nodeProps,theme:this.mergedTheme.peers.InternalSelectMenu,themeOverrides:this.mergedTheme.peerOverrides.InternalSelectMenu,treeMate:this.treeMate,multiple:this.multiple,size:"medium",renderOption:this.renderOption,renderLabel:this.renderLabel,value:this.mergedValue,style:[(n=this.menuProps)===null||n===void 0?void 0:n.style,this.cssVars],onToggle:this.handleToggle,onScroll:this.handleMenuScroll,onFocus:this.handleMenuFocus,onBlur:this.handleMenuBlur,onKeydown:this.handleMenuKeydown,onTabOut:this.handleMenuTabOut,onMousedown:this.handleMenuMousedown,show:this.mergedShow,showCheckmark:this.showCheckmark,resetMenuOnOptionsChange:this.resetMenuOnOptionsChange}),{empty:()=>{var o,r;return[(r=(o=this.$slots).empty)===null||r===void 0?void 0:r.call(o)]},header:()=>{var o,r;return[(r=(o=this.$slots).header)===null||r===void 0?void 0:r.call(o)]},action:()=>{var o,r;return[(r=(o=this.$slots).action)===null||r===void 0?void 0:r.call(o)]}}),this.displayDirective==="show"?[[Jn,this.mergedShow],[Ta,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ta,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),IV={itemPaddingSmall:"0 4px",itemMarginSmall:"0 0 0 8px",itemMarginSmallRtl:"0 8px 0 0",itemPaddingMedium:"0 4px",itemMarginMedium:"0 0 0 8px",itemMarginMediumRtl:"0 8px 0 0",itemPaddingLarge:"0 4px",itemMarginLarge:"0 0 0 8px",itemMarginLargeRtl:"0 8px 0 0",buttonIconSizeSmall:"14px",buttonIconSizeMedium:"16px",buttonIconSizeLarge:"18px",inputWidthSmall:"60px",selectWidthSmall:"unset",inputMarginSmall:"0 0 0 8px",inputMarginSmallRtl:"0 8px 0 0",selectMarginSmall:"0 0 0 8px",prefixMarginSmall:"0 8px 0 0",suffixMarginSmall:"0 0 0 8px",inputWidthMedium:"60px",selectWidthMedium:"unset",inputMarginMedium:"0 0 0 8px",inputMarginMediumRtl:"0 8px 0 0",selectMarginMedium:"0 0 0 8px",prefixMarginMedium:"0 8px 0 0",suffixMarginMedium:"0 0 0 8px",inputWidthLarge:"60px",selectWidthLarge:"unset",inputMarginLarge:"0 0 0 8px",inputMarginLargeRtl:"0 8px 0 0",selectMarginLarge:"0 0 0 8px",prefixMarginLarge:"0 8px 0 0",suffixMarginLarge:"0 0 0 8px"},Z_=e=>{const{textColor2:t,primaryColor:n,primaryColorHover:o,primaryColorPressed:r,inputColorDisabled:i,textColorDisabled:a,borderColor:s,borderRadius:l,fontSizeTiny:c,fontSizeSmall:u,fontSizeMedium:d,heightTiny:f,heightSmall:p,heightMedium:h}=e;return Object.assign(Object.assign({},IV),{buttonColor:"#0000",buttonColorHover:"#0000",buttonColorPressed:"#0000",buttonBorder:`1px solid ${s}`,buttonBorderHover:`1px solid ${s}`,buttonBorderPressed:`1px solid ${s}`,buttonIconColor:t,buttonIconColorHover:t,buttonIconColorPressed:t,itemTextColor:t,itemTextColorHover:o,itemTextColorPressed:r,itemTextColorActive:n,itemTextColorDisabled:a,itemColor:"#0000",itemColorHover:"#0000",itemColorPressed:"#0000",itemColorActive:"#0000",itemColorActiveHover:"#0000",itemColorDisabled:i,itemBorder:"1px solid #0000",itemBorderHover:"1px solid #0000",itemBorderPressed:"1px solid #0000",itemBorderActive:`1px solid ${n}`,itemBorderDisabled:`1px solid ${s}`,itemBorderRadius:l,itemSizeSmall:f,itemSizeMedium:p,itemSizeLarge:h,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})},MV={name:"Pagination",common:bt,peers:{Select:Y_,Input:em,Popselect:om},self:Z_},J_=MV,zV={name:"Pagination",common:Ve,peers:{Select:X_,Input:uo,Popselect:q_},self(e){const{primaryColor:t,opacity3:n}=e,o=Ie(t,{alpha:Number(n)}),r=Z_(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},Q_=zV,e2=e=>{var t;if(!e)return 10;const{defaultPageSize:n}=e;if(n!==void 0)return n;const o=(t=e.pageSizes)===null||t===void 0?void 0:t[0];return typeof o=="number"?o:(o==null?void 0:o.value)||10};function OV(e,t,n,o){let r=!1,i=!1,a=1,s=t;if(t===1)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}]};if(t===2)return{hasFastBackward:!1,hasFastForward:!1,fastForwardTo:s,fastBackwardTo:a,items:[{type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1},{type:"page",label:2,active:e===2,mayBeFastBackward:!0,mayBeFastForward:!1}]};const l=1,c=t;let u=e,d=e;const f=(n-5)/2;d+=Math.ceil(f),d=Math.min(Math.max(d,l+n-3),c-2),u-=Math.floor(f),u=Math.max(Math.min(u,c-n+3),l+2);let p=!1,h=!1;u>l+2&&(p=!0),d=l+1&&g.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let b=u;b<=d;++b)g.push({type:"page",label:b,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===b});return h?(i=!0,s=d+1,g.push({type:"fast-forward",active:!1,label:void 0,options:o?z0(d+1,c-1):null})):d===c-2&&g[g.length-1].label!==c-1&&g.push({type:"page",mayBeFastForward:!0,mayBeFastBackward:!1,label:c-1,active:e===c-1}),g[g.length-1].label!==c&&g.push({type:"page",mayBeFastForward:!1,mayBeFastBackward:!1,label:c,active:e===c}),{hasFastBackward:r,hasFastForward:i,fastBackwardTo:a,fastForwardTo:s,items:g}}function z0(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const O0=` background: var(--n-item-color-hover); color: var(--n-item-text-color-hover); border: var(--n-item-border-hover); @@ -1706,7 +1706,7 @@ ${t} background: var(--n-button-color-hover); border: var(--n-button-border-hover); color: var(--n-button-icon-color-hover); - `)],OV=O("pagination",` + `)],DV=O("pagination",` display: flex; vertical-align: middle; font-size: var(--n-item-font-size); @@ -1792,7 +1792,7 @@ ${t} flex-wrap: nowrap; `,[O("pagination-quick-jumper",[O("input",` margin: 0; - `)])])]),DV=Object.assign(Object.assign({},He.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Wo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),LV=me({name:"Pagination",props:DV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=He("Pagination","-pagination",OV,o2,e,n),{localeRef:a}=Li("Pagination"),s=N(null),l=N(e.defaultPage),c=N(i2(e)),u=ln(Ue(e,"page"),l),d=ln(Ue(e,"pageSize"),c),f=L(()=>{const{itemCount:j}=e;if(j!==void 0)return Math.max(1,Math.ceil(j/d.value));const{pageCount:ge}=e;return ge!==void 0?Math.max(ge,1):1}),p=N("");tn(()=>{e.simple,p.value=String(u.value)});const h=N(!1),g=N(!1),b=N(!1),m=N(!1),y=()=>{e.disabled||(h.value=!0,z())},k=()=>{e.disabled||(h.value=!1,z())},S=()=>{g.value=!0,z()},w=()=>{g.value=!1,z()},x=j=>{D(j)},C=L(()=>zV(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));tn(()=>{C.value.hasFastBackward?C.value.hasFastForward||(h.value=!1,b.value=!1):(g.value=!1,m.value=!1)});const _=L(()=>{const j=a.value.selectionSuffix;return e.pageSizes.map(ge=>typeof ge=="number"?{label:`${ge} / ${j}`,value:ge}:ge)}),R=L(()=>{var j,ge;return((ge=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ge===void 0?void 0:ge.inputSize)||Zv(e.size)}),E=L(()=>{var j,ge;return((ge=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ge===void 0?void 0:ge.selectSize)||Zv(e.size)}),M=L(()=>(u.value-1)*d.value),A=L(()=>{const j=u.value*d.value-1,{itemCount:ge}=e;return ge!==void 0&&j>ge-1?ge-1:j}),q=L(()=>{const{itemCount:j}=e;return j!==void 0?j:(e.pageCount||1)*d.value}),F=pn("Pagination",r,n),z=()=>{Ht(()=>{var j;const{value:ge}=s;ge&&(ge.classList.add("transition-disabled"),(j=s.value)===null||j===void 0||j.offsetWidth,ge.classList.remove("transition-disabled"))})};function D(j){if(j===u.value)return;const{"onUpdate:page":ge,onUpdatePage:Ee,onChange:Ne,simple:T}=e;ge&&Pe(ge,j),Ee&&Pe(Ee,j),Ne&&Pe(Ne,j),l.value=j,T&&(p.value=String(j))}function Y(j){if(j===d.value)return;const{"onUpdate:pageSize":ge,onUpdatePageSize:Ee,onPageSizeChange:Ne}=e;ge&&Pe(ge,j),Ee&&Pe(Ee,j),Ne&&Pe(Ne,j),c.value=j,f.value{u.value,d.value,z()});const J=L(()=>{const{size:j}=e,{self:{buttonBorder:ge,buttonBorderHover:Ee,buttonBorderPressed:Ne,buttonIconColor:T,buttonIconColorHover:P,buttonIconColorPressed:U,itemTextColor:oe,itemTextColorHover:G,itemTextColorPressed:se,itemTextColorActive:xe,itemTextColorDisabled:be,itemColor:Ce,itemColorHover:we,itemColorPressed:Re,itemColorActive:de,itemColorActiveHover:ee,itemColorDisabled:fe,itemBorder:Oe,itemBorderHover:Le,itemBorderPressed:De,itemBorderActive:$e,itemBorderDisabled:Me,itemBorderRadius:Fe,jumperTextColor:Be,jumperTextColorDisabled:ot,buttonColor:xt,buttonColorHover:X,buttonColorPressed:pe,[Se("itemPadding",j)]:Te,[Se("itemMargin",j)]:Ke,[Se("inputWidth",j)]:Xe,[Se("selectWidth",j)]:Ze,[Se("inputMargin",j)]:tt,[Se("selectMargin",j)]:rt,[Se("jumperFontSize",j)]:yt,[Se("prefixMargin",j)]:nn,[Se("suffixMargin",j)]:Wt,[Se("itemSize",j)]:_e,[Se("buttonIconSize",j)]:je,[Se("itemFontSize",j)]:Qe,[`${Se("itemMargin",j)}Rtl`]:pt,[`${Se("inputMargin",j)}Rtl`]:gt},common:{cubicBezierEaseInOut:ct}}=i.value;return{"--n-prefix-margin":nn,"--n-suffix-margin":Wt,"--n-item-font-size":Qe,"--n-select-width":Ze,"--n-select-margin":rt,"--n-input-width":Xe,"--n-input-margin":tt,"--n-input-margin-rtl":gt,"--n-item-size":_e,"--n-item-text-color":oe,"--n-item-text-color-disabled":be,"--n-item-text-color-hover":G,"--n-item-text-color-active":xe,"--n-item-text-color-pressed":se,"--n-item-color":Ce,"--n-item-color-hover":we,"--n-item-color-disabled":fe,"--n-item-color-active":de,"--n-item-color-active-hover":ee,"--n-item-color-pressed":Re,"--n-item-border":Oe,"--n-item-border-hover":Le,"--n-item-border-disabled":Me,"--n-item-border-active":$e,"--n-item-border-pressed":De,"--n-item-padding":Te,"--n-item-border-radius":Fe,"--n-bezier":ct,"--n-jumper-font-size":yt,"--n-jumper-text-color":Be,"--n-jumper-text-color-disabled":ot,"--n-item-margin":Ke,"--n-item-margin-rtl":pt,"--n-button-icon-size":je,"--n-button-icon-color":T,"--n-button-icon-color-hover":P,"--n-button-icon-color-pressed":U,"--n-button-color-hover":X,"--n-button-color":xt,"--n-button-color-pressed":pe,"--n-button-border":ge,"--n-button-border-hover":Ee,"--n-button-border-pressed":Ne}}),ye=o?kt("pagination",L(()=>{let j="";const{size:ge}=e;return j+=ge[0],j}),J,e):void 0;return{rtlEnabled:F,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:L(()=>C.value.items),mergedItemCount:q,jumperValue:p,pageSizeOptions:_,mergedPageSize:d,inputSize:R,selectSize:E,mergedTheme:i,mergedPageCount:f,startIndex:M,endIndex:A,showFastForwardMenu:b,showFastBackwardMenu:m,fastForwardActive:h,fastBackwardActive:g,handleMenuSelect:x,handleFastForwardMouseenter:y,handleFastForwardMouseleave:k,handleFastBackwardMouseenter:S,handleFastBackwardMouseleave:w,handleJumperInput:ve,handleBackwardClick:ce,handleForwardClick:Q,handlePageItemClick:ne,handleSizePickerChange:$,handleQuickJumperChange:K,cssVars:o?void 0:J,themeClass:ye==null?void 0:ye.themeClass,onRender:ye==null?void 0:ye.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:o,mergedPage:r,mergedPageCount:i,pageItems:a,showSizePicker:s,showQuickJumper:l,mergedTheme:c,locale:u,inputSize:d,selectSize:f,mergedPageSize:p,pageSizeOptions:h,jumperValue:g,simple:b,prev:m,next:y,prefix:k,suffix:S,label:w,goto:x,handleJumperInput:C,handleSizePickerChange:_,handleBackwardClick:R,handlePageItemClick:E,handleForwardClick:M,handleQuickJumperChange:A,onRender:q}=this;q==null||q();const F=e.prefix||k,z=e.suffix||S,D=m||e.prev,Y=y||e.next,Q=w||e.label;return v("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,b&&`${t}-pagination--simple`],style:o},F?v("div",{class:`${t}-pagination-prefix`},F({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(ce=>{switch(ce){case"pages":return v(it,null,v("div",{class:[`${t}-pagination-item`,!D&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:R},D?D({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(v0,null):v(p0,null)})),b?v(it,null,v("div",{class:`${t}-pagination-quick-jumper`},v(_o,{value:g,onUpdateValue:C,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A}))," / ",i):a.map((le,B)=>{let $,I,K;const{type:ne}=le;switch(ne){case"page":const J=le.label;Q?$=Q({type:"page",node:J,active:le.active}):$=J;break;case"fast-forward":const ye=this.fastForwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(m0,null):v(g0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(b0,null)});Q?$=Q({type:"fast-forward",node:ye,active:this.fastForwardActive||this.showFastForwardMenu}):$=ye,I=this.handleFastForwardMouseenter,K=this.handleFastForwardMouseleave;break;case"fast-backward":const j=this.fastBackwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(g0,null):v(m0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(b0,null)});Q?$=Q({type:"fast-backward",node:j,active:this.fastBackwardActive||this.showFastBackwardMenu}):$=j,I=this.handleFastBackwardMouseenter,K=this.handleFastBackwardMouseleave;break}const ve=v("div",{key:B,class:[`${t}-pagination-item`,le.active&&`${t}-pagination-item--active`,ne!=="page"&&(ne==="fast-backward"&&this.showFastBackwardMenu||ne==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,ne==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{E(le)},onMouseenter:I,onMouseleave:K},$);if(ne==="page"&&!le.mayBeFastBackward&&!le.mayBeFastForward)return ve;{const J=le.type==="page"?le.mayBeFastBackward?"fast-backward":"fast-forward":le.type;return le.type!=="page"&&!le.options?ve:v(dl,{to:this.to,key:J,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:ne==="page"?!1:ne==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:ye=>{ne!=="page"&&(ye?ne==="fast-backward"?this.showFastBackwardMenu=ye:this.showFastForwardMenu=ye:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:le.type!=="page"&&le.options?le.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ve})}}),v("div",{class:[`${t}-pagination-item`,!Y&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:M},Y?Y({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(p0,null):v(v0,null)})));case"size-picker":return!b&&s?v(Eu,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:h,value:p,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:_})):null;case"quick-jumper":return!b&&l?v("div",{class:`${t}-pagination-quick-jumper`},x?x():An(this.$slots.goto,()=>[u.goto]),v(_o,{value:g,onUpdateValue:C,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A})):null;default:return null}}),z?v("div",{class:`${t}-pagination-suffix`},z({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),a2={padding:"8px 14px"},FV={name:"Tooltip",common:Ve,peers:{Popover:Wi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},a2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},$u=FV,NV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},a2),{borderRadius:t,boxShadow:n,color:et(o,"rgba(0, 0, 0, .85)"),textColor:o})},BV={name:"Tooltip",common:bt,peers:{Popover:ja},self:NV},im=BV,HV={name:"Ellipsis",common:Ve,peers:{Tooltip:$u}},s2=HV,jV={name:"Ellipsis",common:bt,peers:{Tooltip:im}},l2=jV,c2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},VV={name:"Radio",common:Ve,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:g}=e;return Object.assign(Object.assign({},c2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},u2=VV,UV=e=>{const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:g}=e;return Object.assign(Object.assign({},c2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},WV={name:"Radio",common:bt,self:UV},am=WV,qV={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},d2=e=>{const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,heightSmall:f,heightMedium:p,heightLarge:h,heightHuge:g,textColor3:b,opacityDisabled:m}=e;return Object.assign(Object.assign({},qV),{optionHeightSmall:f,optionHeightMedium:p,optionHeightLarge:h,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Ie(t,{alpha:.1}),groupHeaderTextColor:b,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:m})},KV={name:"Dropdown",common:bt,peers:{Popover:ja},self:d2},sm=KV,GV={name:"Dropdown",common:Ve,peers:{Popover:Wi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=d2(e);return r.colorInverted=o,r.optionColorActive=Ie(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},lm=GV,YV={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},f2=e=>{const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:d,lineHeight:f,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:g,dividerColor:b,heightSmall:m,opacityDisabled:y,tableColorStriped:k}=e;return Object.assign(Object.assign({},YV),{actionDividerColor:b,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:g,borderColor:et(t,b),tdColorHover:et(t,s),tdColorStriped:et(t,k),thColor:et(t,a),thColorHover:et(et(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:et(n,b),tdColorHoverModal:et(n,s),tdColorStripedModal:et(n,k),thColorModal:et(n,a),thColorHoverModal:et(et(n,a),s),tdColorModal:n,borderColorPopover:et(o,b),tdColorHoverPopover:et(o,s),tdColorStripedPopover:et(o,k),thColorPopover:et(o,a),thColorHoverPopover:et(et(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:m,opacityLoading:y})},XV={name:"DataTable",common:bt,peers:{Button:Ru,Checkbox:K_,Radio:am,Pagination:o2,Scrollbar:Ui,Empty:Tu,Popover:ja,Ellipsis:l2,Dropdown:sm},self:f2},ZV=XV,JV={name:"DataTable",common:Ve,peers:{Button:Vn,Checkbox:Va,Radio:u2,Pagination:r2,Scrollbar:jn,Empty:Vi,Popover:Wi,Ellipsis:s2,Dropdown:lm},self(e){const t=f2(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},QV=JV,eU=Object.assign(Object.assign({},Ra),He.props),Au=me({name:"Tooltip",props:eU,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=at(e),n=He("Tooltip","-tooltip",void 0,im,e,t),o=N(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:L(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return v(ll,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),h2=O("ellipsis",{overflow:"hidden"},[Pt("line-clamp",` + `)])])]),LV=Object.assign(Object.assign({},He.props),{simple:Boolean,page:Number,defaultPage:{type:Number,default:1},itemCount:Number,pageCount:Number,defaultPageCount:{type:Number,default:1},showSizePicker:Boolean,pageSize:Number,defaultPageSize:Number,pageSizes:{type:Array,default(){return[10]}},showQuickJumper:Boolean,size:{type:String,default:"medium"},disabled:Boolean,pageSlot:{type:Number,default:9},selectProps:Object,prev:Function,next:Function,goto:Function,prefix:Function,suffix:Function,label:Function,displayOrder:{type:Array,default:["pages","size-picker","quick-jumper"]},to:Wo.propTo,showQuickJumpDropdown:{type:Boolean,default:!0},"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],onPageSizeChange:[Function,Array],onChange:[Function,Array]}),FV=me({name:"Pagination",props:LV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=He("Pagination","-pagination",DV,J_,e,n),{localeRef:a}=Li("Pagination"),s=N(null),l=N(e.defaultPage),c=N(e2(e)),u=ln(Ue(e,"page"),l),d=ln(Ue(e,"pageSize"),c),f=L(()=>{const{itemCount:j}=e;if(j!==void 0)return Math.max(1,Math.ceil(j/d.value));const{pageCount:ge}=e;return ge!==void 0?Math.max(ge,1):1}),p=N("");tn(()=>{e.simple,p.value=String(u.value)});const h=N(!1),g=N(!1),b=N(!1),m=N(!1),y=()=>{e.disabled||(h.value=!0,z())},k=()=>{e.disabled||(h.value=!1,z())},S=()=>{g.value=!0,z()},w=()=>{g.value=!1,z()},x=j=>{D(j)},C=L(()=>OV(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));tn(()=>{C.value.hasFastBackward?C.value.hasFastForward||(h.value=!1,b.value=!1):(g.value=!1,m.value=!1)});const _=L(()=>{const j=a.value.selectionSuffix;return e.pageSizes.map(ge=>typeof ge=="number"?{label:`${ge} / ${j}`,value:ge}:ge)}),R=L(()=>{var j,ge;return((ge=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ge===void 0?void 0:ge.inputSize)||Zv(e.size)}),E=L(()=>{var j,ge;return((ge=(j=t==null?void 0:t.value)===null||j===void 0?void 0:j.Pagination)===null||ge===void 0?void 0:ge.selectSize)||Zv(e.size)}),M=L(()=>(u.value-1)*d.value),A=L(()=>{const j=u.value*d.value-1,{itemCount:ge}=e;return ge!==void 0&&j>ge-1?ge-1:j}),q=L(()=>{const{itemCount:j}=e;return j!==void 0?j:(e.pageCount||1)*d.value}),F=pn("Pagination",r,n),z=()=>{Ht(()=>{var j;const{value:ge}=s;ge&&(ge.classList.add("transition-disabled"),(j=s.value)===null||j===void 0||j.offsetWidth,ge.classList.remove("transition-disabled"))})};function D(j){if(j===u.value)return;const{"onUpdate:page":ge,onUpdatePage:Ee,onChange:Ne,simple:T}=e;ge&&Pe(ge,j),Ee&&Pe(Ee,j),Ne&&Pe(Ne,j),l.value=j,T&&(p.value=String(j))}function Y(j){if(j===d.value)return;const{"onUpdate:pageSize":ge,onUpdatePageSize:Ee,onPageSizeChange:Ne}=e;ge&&Pe(ge,j),Ee&&Pe(Ee,j),Ne&&Pe(Ne,j),c.value=j,f.value{u.value,d.value,z()});const J=L(()=>{const{size:j}=e,{self:{buttonBorder:ge,buttonBorderHover:Ee,buttonBorderPressed:Ne,buttonIconColor:T,buttonIconColorHover:P,buttonIconColorPressed:U,itemTextColor:oe,itemTextColorHover:G,itemTextColorPressed:se,itemTextColorActive:xe,itemTextColorDisabled:be,itemColor:Ce,itemColorHover:we,itemColorPressed:Re,itemColorActive:de,itemColorActiveHover:ee,itemColorDisabled:fe,itemBorder:Oe,itemBorderHover:Le,itemBorderPressed:De,itemBorderActive:$e,itemBorderDisabled:Me,itemBorderRadius:Fe,jumperTextColor:Be,jumperTextColorDisabled:ot,buttonColor:xt,buttonColorHover:X,buttonColorPressed:pe,[Se("itemPadding",j)]:Te,[Se("itemMargin",j)]:Ke,[Se("inputWidth",j)]:Xe,[Se("selectWidth",j)]:Ze,[Se("inputMargin",j)]:tt,[Se("selectMargin",j)]:rt,[Se("jumperFontSize",j)]:yt,[Se("prefixMargin",j)]:nn,[Se("suffixMargin",j)]:Wt,[Se("itemSize",j)]:_e,[Se("buttonIconSize",j)]:je,[Se("itemFontSize",j)]:Qe,[`${Se("itemMargin",j)}Rtl`]:pt,[`${Se("inputMargin",j)}Rtl`]:gt},common:{cubicBezierEaseInOut:ct}}=i.value;return{"--n-prefix-margin":nn,"--n-suffix-margin":Wt,"--n-item-font-size":Qe,"--n-select-width":Ze,"--n-select-margin":rt,"--n-input-width":Xe,"--n-input-margin":tt,"--n-input-margin-rtl":gt,"--n-item-size":_e,"--n-item-text-color":oe,"--n-item-text-color-disabled":be,"--n-item-text-color-hover":G,"--n-item-text-color-active":xe,"--n-item-text-color-pressed":se,"--n-item-color":Ce,"--n-item-color-hover":we,"--n-item-color-disabled":fe,"--n-item-color-active":de,"--n-item-color-active-hover":ee,"--n-item-color-pressed":Re,"--n-item-border":Oe,"--n-item-border-hover":Le,"--n-item-border-disabled":Me,"--n-item-border-active":$e,"--n-item-border-pressed":De,"--n-item-padding":Te,"--n-item-border-radius":Fe,"--n-bezier":ct,"--n-jumper-font-size":yt,"--n-jumper-text-color":Be,"--n-jumper-text-color-disabled":ot,"--n-item-margin":Ke,"--n-item-margin-rtl":pt,"--n-button-icon-size":je,"--n-button-icon-color":T,"--n-button-icon-color-hover":P,"--n-button-icon-color-pressed":U,"--n-button-color-hover":X,"--n-button-color":xt,"--n-button-color-pressed":pe,"--n-button-border":ge,"--n-button-border-hover":Ee,"--n-button-border-pressed":Ne}}),ye=o?kt("pagination",L(()=>{let j="";const{size:ge}=e;return j+=ge[0],j}),J,e):void 0;return{rtlEnabled:F,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:L(()=>C.value.items),mergedItemCount:q,jumperValue:p,pageSizeOptions:_,mergedPageSize:d,inputSize:R,selectSize:E,mergedTheme:i,mergedPageCount:f,startIndex:M,endIndex:A,showFastForwardMenu:b,showFastBackwardMenu:m,fastForwardActive:h,fastBackwardActive:g,handleMenuSelect:x,handleFastForwardMouseenter:y,handleFastForwardMouseleave:k,handleFastBackwardMouseenter:S,handleFastBackwardMouseleave:w,handleJumperInput:ve,handleBackwardClick:ce,handleForwardClick:Q,handlePageItemClick:ne,handleSizePickerChange:$,handleQuickJumperChange:K,cssVars:o?void 0:J,themeClass:ye==null?void 0:ye.themeClass,onRender:ye==null?void 0:ye.onRender}},render(){const{$slots:e,mergedClsPrefix:t,disabled:n,cssVars:o,mergedPage:r,mergedPageCount:i,pageItems:a,showSizePicker:s,showQuickJumper:l,mergedTheme:c,locale:u,inputSize:d,selectSize:f,mergedPageSize:p,pageSizeOptions:h,jumperValue:g,simple:b,prev:m,next:y,prefix:k,suffix:S,label:w,goto:x,handleJumperInput:C,handleSizePickerChange:_,handleBackwardClick:R,handlePageItemClick:E,handleForwardClick:M,handleQuickJumperChange:A,onRender:q}=this;q==null||q();const F=e.prefix||k,z=e.suffix||S,D=m||e.prev,Y=y||e.next,Q=w||e.label;return v("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,b&&`${t}-pagination--simple`],style:o},F?v("div",{class:`${t}-pagination-prefix`},F({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(ce=>{switch(ce){case"pages":return v(it,null,v("div",{class:[`${t}-pagination-item`,!D&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:R},D?D({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(v0,null):v(p0,null)})),b?v(it,null,v("div",{class:`${t}-pagination-quick-jumper`},v(_o,{value:g,onUpdateValue:C,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A}))," / ",i):a.map((le,B)=>{let $,I,K;const{type:ne}=le;switch(ne){case"page":const J=le.label;Q?$=Q({type:"page",node:J,active:le.active}):$=J;break;case"fast-forward":const ye=this.fastForwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(m0,null):v(g0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(b0,null)});Q?$=Q({type:"fast-forward",node:ye,active:this.fastForwardActive||this.showFastForwardMenu}):$=ye,I=this.handleFastForwardMouseenter,K=this.handleFastForwardMouseleave;break;case"fast-backward":const j=this.fastBackwardActive?v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(g0,null):v(m0,null)}):v(Ut,{clsPrefix:t},{default:()=>v(b0,null)});Q?$=Q({type:"fast-backward",node:j,active:this.fastBackwardActive||this.showFastBackwardMenu}):$=j,I=this.handleFastBackwardMouseenter,K=this.handleFastBackwardMouseleave;break}const ve=v("div",{key:B,class:[`${t}-pagination-item`,le.active&&`${t}-pagination-item--active`,ne!=="page"&&(ne==="fast-backward"&&this.showFastBackwardMenu||ne==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,ne==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{E(le)},onMouseenter:I,onMouseleave:K},$);if(ne==="page"&&!le.mayBeFastBackward&&!le.mayBeFastForward)return ve;{const J=le.type==="page"?le.mayBeFastBackward?"fast-backward":"fast-forward":le.type;return le.type!=="page"&&!le.options?ve:v(dl,{to:this.to,key:J,disabled:n,trigger:"hover",virtualScroll:!0,style:{width:"60px"},theme:c.peers.Popselect,themeOverrides:c.peerOverrides.Popselect,builtinThemeOverrides:{peers:{InternalSelectMenu:{height:"calc(var(--n-option-height) * 4.6)"}}},nodeProps:()=>({style:{justifyContent:"center"}}),show:ne==="page"?!1:ne==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:ye=>{ne!=="page"&&(ye?ne==="fast-backward"?this.showFastBackwardMenu=ye:this.showFastForwardMenu=ye:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:le.type!=="page"&&le.options?le.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>ve})}}),v("div",{class:[`${t}-pagination-item`,!Y&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:M},Y?Y({page:r,pageSize:p,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):v(Ut,{clsPrefix:t},{default:()=>this.rtlEnabled?v(p0,null):v(v0,null)})));case"size-picker":return!b&&s?v($u,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:h,value:p,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:_})):null;case"quick-jumper":return!b&&l?v("div",{class:`${t}-pagination-quick-jumper`},x?x():An(this.$slots.goto,()=>[u.goto]),v(_o,{value:g,onUpdateValue:C,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:A})):null;default:return null}}),z?v("div",{class:`${t}-pagination-suffix`},z({page:r,pageSize:p,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),t2={padding:"8px 14px"},NV={name:"Tooltip",common:Ve,peers:{Popover:Wi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},t2),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Au=NV,BV=e=>{const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},t2),{borderRadius:t,boxShadow:n,color:et(o,"rgba(0, 0, 0, .85)"),textColor:o})},HV={name:"Tooltip",common:bt,peers:{Popover:ja},self:BV},im=HV,jV={name:"Ellipsis",common:Ve,peers:{Tooltip:Au}},n2=jV,VV={name:"Ellipsis",common:bt,peers:{Tooltip:im}},o2=VV,r2={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},UV={name:"Radio",common:Ve,self(e){const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:g}=e;return Object.assign(Object.assign({},r2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.3})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:"#0000",colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:n,buttonColor:"#0000",buttonColorActive:n,buttonTextColor:a,buttonTextColorActive:o,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},i2=UV,WV=e=>{const{borderColor:t,primaryColor:n,baseColor:o,textColorDisabled:r,inputColorDisabled:i,textColor2:a,opacityDisabled:s,borderRadius:l,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,heightSmall:f,heightMedium:p,heightLarge:h,lineHeight:g}=e;return Object.assign(Object.assign({},r2),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:p,buttonHeightLarge:h,fontSizeSmall:c,fontSizeMedium:u,fontSizeLarge:d,boxShadow:`inset 0 0 0 1px ${t}`,boxShadowActive:`inset 0 0 0 1px ${n}`,boxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.2})}`,boxShadowHover:`inset 0 0 0 1px ${n}`,boxShadowDisabled:`inset 0 0 0 1px ${t}`,color:o,colorDisabled:i,colorActive:"#0000",textColor:a,textColorDisabled:r,dotColorActive:n,dotColorDisabled:t,buttonBorderColor:t,buttonBorderColorActive:n,buttonBorderColorHover:t,buttonColor:o,buttonColorActive:o,buttonTextColor:a,buttonTextColorActive:n,buttonTextColorHover:n,opacityDisabled:s,buttonBoxShadowFocus:`inset 0 0 0 1px ${n}, 0 0 0 2px ${Ie(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})},qV={name:"Radio",common:bt,self:WV},am=qV,KV={padding:"4px 0",optionIconSizeSmall:"14px",optionIconSizeMedium:"16px",optionIconSizeLarge:"16px",optionIconSizeHuge:"18px",optionSuffixWidthSmall:"14px",optionSuffixWidthMedium:"14px",optionSuffixWidthLarge:"16px",optionSuffixWidthHuge:"16px",optionIconSuffixWidthSmall:"32px",optionIconSuffixWidthMedium:"32px",optionIconSuffixWidthLarge:"36px",optionIconSuffixWidthHuge:"36px",optionPrefixWidthSmall:"14px",optionPrefixWidthMedium:"14px",optionPrefixWidthLarge:"16px",optionPrefixWidthHuge:"16px",optionIconPrefixWidthSmall:"36px",optionIconPrefixWidthMedium:"36px",optionIconPrefixWidthLarge:"40px",optionIconPrefixWidthHuge:"40px"},a2=e=>{const{primaryColor:t,textColor2:n,dividerColor:o,hoverColor:r,popoverColor:i,invertedColor:a,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,heightSmall:f,heightMedium:p,heightLarge:h,heightHuge:g,textColor3:b,opacityDisabled:m}=e;return Object.assign(Object.assign({},KV),{optionHeightSmall:f,optionHeightMedium:p,optionHeightLarge:h,optionHeightHuge:g,borderRadius:s,fontSizeSmall:l,fontSizeMedium:c,fontSizeLarge:u,fontSizeHuge:d,optionTextColor:n,optionTextColorHover:n,optionTextColorActive:t,optionTextColorChildActive:t,color:i,dividerColor:o,suffixColor:n,prefixColor:n,optionColorHover:r,optionColorActive:Ie(t,{alpha:.1}),groupHeaderTextColor:b,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:m})},GV={name:"Dropdown",common:bt,peers:{Popover:ja},self:a2},sm=GV,YV={name:"Dropdown",common:Ve,peers:{Popover:Wi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=a2(e);return r.colorInverted=o,r.optionColorActive=Ie(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},lm=YV,XV={thPaddingSmall:"8px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"8px",tdPaddingMedium:"12px",tdPaddingLarge:"12px",sorterSize:"15px",resizableContainerSize:"8px",resizableSize:"2px",filterSize:"15px",paginationMargin:"12px 0 0 0",emptyPadding:"48px 0",actionPadding:"8px 12px",actionButtonMargin:"0 8px 0 0"},s2=e=>{const{cardColor:t,modalColor:n,popoverColor:o,textColor2:r,textColor1:i,tableHeaderColor:a,tableColorHover:s,iconColor:l,primaryColor:c,fontWeightStrong:u,borderRadius:d,lineHeight:f,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:g,dividerColor:b,heightSmall:m,opacityDisabled:y,tableColorStriped:k}=e;return Object.assign(Object.assign({},XV),{actionDividerColor:b,lineHeight:f,borderRadius:d,fontSizeSmall:p,fontSizeMedium:h,fontSizeLarge:g,borderColor:et(t,b),tdColorHover:et(t,s),tdColorStriped:et(t,k),thColor:et(t,a),thColorHover:et(et(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:et(n,b),tdColorHoverModal:et(n,s),tdColorStripedModal:et(n,k),thColorModal:et(n,a),thColorHoverModal:et(et(n,a),s),tdColorModal:n,borderColorPopover:et(o,b),tdColorHoverPopover:et(o,s),tdColorStripedPopover:et(o,k),thColorPopover:et(o,a),thColorHoverPopover:et(et(o,a),s),tdColorPopover:o,boxShadowBefore:"inset -12px 0 8px -12px rgba(0, 0, 0, .18)",boxShadowAfter:"inset 12px 0 8px -12px rgba(0, 0, 0, .18)",loadingColor:c,loadingSize:m,opacityLoading:y})},ZV={name:"DataTable",common:bt,peers:{Button:Eu,Checkbox:j_,Radio:am,Pagination:J_,Scrollbar:Ui,Empty:Pu,Popover:ja,Ellipsis:o2,Dropdown:sm},self:s2},JV=ZV,QV={name:"DataTable",common:Ve,peers:{Button:Vn,Checkbox:Va,Radio:i2,Pagination:Q_,Scrollbar:jn,Empty:Vi,Popover:Wi,Ellipsis:n2,Dropdown:lm},self(e){const t=s2(e);return t.boxShadowAfter="inset 12px 0 8px -12px rgba(0, 0, 0, .36)",t.boxShadowBefore="inset -12px 0 8px -12px rgba(0, 0, 0, .36)",t}},eU=QV,tU=Object.assign(Object.assign({},Ra),He.props),Iu=me({name:"Tooltip",props:tU,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=at(e),n=He("Tooltip","-tooltip",void 0,im,e,t),o=N(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:L(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return v(ll,Object.assign(Object.assign({},this.$props),{theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,builtinThemeOverrides:this.popoverThemeOverrides,internalExtraClass:t.concat("tooltip"),ref:"popoverRef"}),this.$slots)}}),l2=O("ellipsis",{overflow:"hidden"},[Pt("line-clamp",` white-space: nowrap; display: inline-block; vertical-align: bottom; @@ -1802,7 +1802,7 @@ ${t} -webkit-box-orient: vertical; `),Z("cursor-pointer",` cursor: pointer; - `)]);function xh(e){return`${e}-ellipsis--line-clamp`}function Ch(e,t){return`${e}-ellipsis--cursor-${t}`}const p2=Object.assign(Object.assign({},He.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),cm=me({name:"Ellipsis",inheritAttrs:!1,props:p2,setup(e,{slots:t,attrs:n}){const o=i_(),r=He("Ellipsis","-ellipsis",h2,l2,e,o),i=N(null),a=N(null),s=N(null),l=N(!1),c=L(()=>{const{lineClamp:b}=e,{value:m}=l;return b!==void 0?{textOverflow:"","-webkit-line-clamp":m?"":b}:{textOverflow:m?"":"ellipsis","-webkit-line-clamp":""}});function u(){let b=!1;const{value:m}=l;if(m)return!0;const{value:y}=i;if(y){const{lineClamp:k}=e;if(p(y),k!==void 0)b=y.scrollHeight<=y.offsetHeight;else{const{value:S}=a;S&&(b=S.getBoundingClientRect().width<=y.getBoundingClientRect().width)}h(y,b)}return b}const d=L(()=>e.expandTrigger==="click"?()=>{var b;const{value:m}=l;m&&((b=s.value)===null||b===void 0||b.setShow(!1)),l.value=!m}:void 0);Kc(()=>{var b;e.tooltip&&((b=s.value)===null||b===void 0||b.setShow(!1))});const f=()=>v("span",Object.assign({},Dn(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?xh(o.value):void 0,e.expandTrigger==="click"?Ch(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:v("span",{ref:"triggerInnerRef"},t));function p(b){if(!b)return;const m=c.value,y=xh(o.value);e.lineClamp!==void 0?g(b,y,"add"):g(b,y,"remove");for(const k in m)b.style[k]!==m[k]&&(b.style[k]=m[k])}function h(b,m){const y=Ch(o.value,"pointer");e.expandTrigger==="click"&&!m?g(b,y,"add"):g(b,y,"remove")}function g(b,m,y){y==="add"?b.classList.contains(m)||b.classList.add(m):b.classList.contains(m)&&b.classList.remove(m)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return v(Au,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),tU=me({name:"PerformantEllipsis",props:p2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=N(!1),r=i_();return Yr("-ellipsis",h2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return v("span",Object.assign({},Dn(t,{class:[`${s}-ellipsis`,a!==void 0?xh(s):void 0,e.expandTrigger==="click"?Ch(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:v("span",null,n))}}},render(){return this.mouseEntered?v(cm,Dn({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),nU=me({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),oU=Object.assign(Object.assign({},He.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),To="n-data-table",rU=me({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=at(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=qe(To),r=L(()=>n.value.find(l=>l.columnKey===e.column.key)),i=L(()=>r.value!==void 0),a=L(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=L(()=>{var l,c;return((c=(l=t==null?void 0:t.value)===null||l===void 0?void 0:l.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:o,active:i,mergedSortOrder:a,mergedRenderSorter:s}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?v(nU,{render:e,order:t}):v("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):v(Ut,{clsPrefix:n},{default:()=>v(EN,null)}))}}),iU=me({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}}),m2={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},g2="n-radio-group";function v2(e){const t=dr(e,{mergedSize(y){const{size:k}=e;if(k!==void 0)return k;if(a){const{mergedSizeRef:{value:S}}=a;if(S!==void 0)return S}return y?y.mergedSize.value:"medium"},mergedDisabled(y){return!!(e.disabled||a!=null&&a.disabledRef.value||y!=null&&y.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=N(null),i=N(null),a=qe(g2,null),s=N(e.defaultChecked),l=Ue(e,"checked"),c=ln(l,s),u=St(()=>a?a.valueRef.value===e.value:c.value),d=St(()=>{const{name:y}=e;if(y!==void 0)return y;if(a)return a.nameRef.value}),f=N(!1);function p(){if(a){const{doUpdateValue:y}=a,{value:k}=e;Pe(y,k)}else{const{onUpdateChecked:y,"onUpdate:checked":k}=e,{nTriggerFormInput:S,nTriggerFormChange:w}=t;y&&Pe(y,!0),k&&Pe(k,!0),S(),w(),s.value=!0}}function h(){o.value||u.value||p()}function g(){h(),r.value&&(r.value.checked=u.value)}function b(){f.value=!1}function m(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:at(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:g,handleRadioInputBlur:b,handleRadioInputFocus:m}}const aU=O("radio",` + `)]);function xh(e){return`${e}-ellipsis--line-clamp`}function Ch(e,t){return`${e}-ellipsis--cursor-${t}`}const c2=Object.assign(Object.assign({},He.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),cm=me({name:"Ellipsis",inheritAttrs:!1,props:c2,setup(e,{slots:t,attrs:n}){const o=e_(),r=He("Ellipsis","-ellipsis",l2,o2,e,o),i=N(null),a=N(null),s=N(null),l=N(!1),c=L(()=>{const{lineClamp:b}=e,{value:m}=l;return b!==void 0?{textOverflow:"","-webkit-line-clamp":m?"":b}:{textOverflow:m?"":"ellipsis","-webkit-line-clamp":""}});function u(){let b=!1;const{value:m}=l;if(m)return!0;const{value:y}=i;if(y){const{lineClamp:k}=e;if(p(y),k!==void 0)b=y.scrollHeight<=y.offsetHeight;else{const{value:S}=a;S&&(b=S.getBoundingClientRect().width<=y.getBoundingClientRect().width)}h(y,b)}return b}const d=L(()=>e.expandTrigger==="click"?()=>{var b;const{value:m}=l;m&&((b=s.value)===null||b===void 0||b.setShow(!1)),l.value=!m}:void 0);Kc(()=>{var b;e.tooltip&&((b=s.value)===null||b===void 0||b.setShow(!1))});const f=()=>v("span",Object.assign({},Dn(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?xh(o.value):void 0,e.expandTrigger==="click"?Ch(o.value,"pointer"):void 0],style:c.value}),{ref:"triggerRef",onClick:d.value,onMouseenter:e.expandTrigger==="click"?u:void 0}),e.lineClamp?t:v("span",{ref:"triggerInnerRef"},t));function p(b){if(!b)return;const m=c.value,y=xh(o.value);e.lineClamp!==void 0?g(b,y,"add"):g(b,y,"remove");for(const k in m)b.style[k]!==m[k]&&(b.style[k]=m[k])}function h(b,m){const y=Ch(o.value,"pointer");e.expandTrigger==="click"&&!m?g(b,y,"add"):g(b,y,"remove")}function g(b,m,y){y==="add"?b.classList.contains(m)||b.classList.add(m):b.classList.contains(m)&&b.classList.remove(m)}return{mergedTheme:r,triggerRef:i,triggerInnerRef:a,tooltipRef:s,handleClick:d,renderTrigger:f,getTooltipDisabled:u}},render(){var e;const{tooltip:t,renderTrigger:n,$slots:o}=this;if(t){const{mergedTheme:r}=this;return v(Iu,Object.assign({ref:"tooltipRef",placement:"top"},t,{getDisabled:this.getTooltipDisabled,theme:r.peers.Tooltip,themeOverrides:r.peerOverrides.Tooltip}),{trigger:n,default:(e=o.tooltip)!==null&&e!==void 0?e:o.default})}else return n()}}),nU=me({name:"PerformantEllipsis",props:c2,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=N(!1),r=e_();return Yr("-ellipsis",l2,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return v("span",Object.assign({},Dn(t,{class:[`${s}-ellipsis`,a!==void 0?xh(s):void 0,e.expandTrigger==="click"?Ch(s,"pointer"):void 0],style:a===void 0?{textOverflow:"ellipsis"}:{"-webkit-line-clamp":a}}),{onMouseenter:()=>{o.value=!0}}),a?n:v("span",null,n))}}},render(){return this.mouseEntered?v(cm,Dn({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),oU=me({name:"DataTableRenderSorter",props:{render:{type:Function,required:!0},order:{type:[String,Boolean],default:!1}},render(){const{render:e,order:t}=this;return e({order:t})}}),rU=Object.assign(Object.assign({},He.props),{onUnstableColumnResize:Function,pagination:{type:[Object,Boolean],default:!1},paginateSinglePage:{type:Boolean,default:!0},minHeight:[Number,String],maxHeight:[Number,String],columns:{type:Array,default:()=>[]},rowClassName:[String,Function],rowProps:Function,rowKey:Function,summary:[Function],data:{type:Array,default:()=>[]},loading:Boolean,bordered:{type:Boolean,default:void 0},bottomBordered:{type:Boolean,default:void 0},striped:Boolean,scrollX:[Number,String],defaultCheckedRowKeys:{type:Array,default:()=>[]},checkedRowKeys:Array,singleLine:{type:Boolean,default:!0},singleColumn:Boolean,size:{type:String,default:"medium"},remote:Boolean,defaultExpandedRowKeys:{type:Array,default:[]},defaultExpandAll:Boolean,expandedRowKeys:Array,stickyExpandedRows:Boolean,virtualScroll:Boolean,tableLayout:{type:String,default:"auto"},allowCheckingNotLoaded:Boolean,cascade:{type:Boolean,default:!0},childrenKey:{type:String,default:"children"},indent:{type:Number,default:16},flexHeight:Boolean,summaryPlacement:{type:String,default:"bottom"},paginationBehaviorOnFilter:{type:String,default:"current"},scrollbarProps:Object,renderCell:Function,renderExpandIcon:Function,spinProps:{type:Object,default:{}},onLoad:Function,"onUpdate:page":[Function,Array],onUpdatePage:[Function,Array],"onUpdate:pageSize":[Function,Array],onUpdatePageSize:[Function,Array],"onUpdate:sorter":[Function,Array],onUpdateSorter:[Function,Array],"onUpdate:filters":[Function,Array],onUpdateFilters:[Function,Array],"onUpdate:checkedRowKeys":[Function,Array],onUpdateCheckedRowKeys:[Function,Array],"onUpdate:expandedRowKeys":[Function,Array],onUpdateExpandedRowKeys:[Function,Array],onScroll:Function,onPageChange:[Function,Array],onPageSizeChange:[Function,Array],onSorterChange:[Function,Array],onFiltersChange:[Function,Array],onCheckedRowKeysChange:[Function,Array]}),To="n-data-table",iU=me({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=at(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=qe(To),r=L(()=>n.value.find(l=>l.columnKey===e.column.key)),i=L(()=>r.value!==void 0),a=L(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=L(()=>{var l,c;return((c=(l=t==null?void 0:t.value)===null||l===void 0?void 0:l.DataTable)===null||c===void 0?void 0:c.renderSorter)||e.column.renderSorter});return{mergedClsPrefix:o,active:i,mergedSortOrder:a,mergedRenderSorter:s}},render(){const{mergedRenderSorter:e,mergedSortOrder:t,mergedClsPrefix:n}=this,{renderSorterIcon:o}=this.column;return e?v(oU,{render:e,order:t}):v("span",{class:[`${n}-data-table-sorter`,t==="ascend"&&`${n}-data-table-sorter--asc`,t==="descend"&&`${n}-data-table-sorter--desc`]},o?o({order:t}):v(Ut,{clsPrefix:n},{default:()=>v($N,null)}))}}),aU=me({name:"DataTableRenderFilter",props:{render:{type:Function,required:!0},active:{type:Boolean,default:!1},show:{type:Boolean,default:!1}},render(){const{render:e,active:t,show:n}=this;return e({active:t,show:n})}}),u2={name:String,value:{type:[String,Number,Boolean],default:"on"},checked:{type:Boolean,default:void 0},defaultChecked:Boolean,disabled:{type:Boolean,default:void 0},label:String,size:String,onUpdateChecked:[Function,Array],"onUpdate:checked":[Function,Array],checkedValue:{type:Boolean,default:void 0}},d2="n-radio-group";function f2(e){const t=dr(e,{mergedSize(y){const{size:k}=e;if(k!==void 0)return k;if(a){const{mergedSizeRef:{value:S}}=a;if(S!==void 0)return S}return y?y.mergedSize.value:"medium"},mergedDisabled(y){return!!(e.disabled||a!=null&&a.disabledRef.value||y!=null&&y.disabled.value)}}),{mergedSizeRef:n,mergedDisabledRef:o}=t,r=N(null),i=N(null),a=qe(d2,null),s=N(e.defaultChecked),l=Ue(e,"checked"),c=ln(l,s),u=St(()=>a?a.valueRef.value===e.value:c.value),d=St(()=>{const{name:y}=e;if(y!==void 0)return y;if(a)return a.nameRef.value}),f=N(!1);function p(){if(a){const{doUpdateValue:y}=a,{value:k}=e;Pe(y,k)}else{const{onUpdateChecked:y,"onUpdate:checked":k}=e,{nTriggerFormInput:S,nTriggerFormChange:w}=t;y&&Pe(y,!0),k&&Pe(k,!0),S(),w(),s.value=!0}}function h(){o.value||u.value||p()}function g(){h(),r.value&&(r.value.checked=u.value)}function b(){f.value=!1}function m(){f.value=!0}return{mergedClsPrefix:a?a.mergedClsPrefixRef:at(e).mergedClsPrefixRef,inputRef:r,labelRef:i,mergedName:d,mergedDisabled:o,renderSafeChecked:u,focus:f,mergedSize:n,handleRadioInputChange:g,handleRadioInputBlur:b,handleRadioInputFocus:m}}const sU=O("radio",` line-height: var(--n-label-line-height); outline: none; position: relative; @@ -1876,7 +1876,7 @@ ${t} opacity: 1; `)]),V("label",{color:"var(--n-text-color-disabled)"}),O("radio-input",` cursor: not-allowed; - `)])]),sU=Object.assign(Object.assign({},He.props),m2),b2=me({name:"Radio",props:sU,setup(e){const t=v2(e),n=He("Radio","-radio",aU,am,e,t.mergedClsPrefix),o=L(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:p,boxShadowFocus:h,boxShadowHover:g,color:b,colorDisabled:m,colorActive:y,textColor:k,textColorDisabled:S,dotColorActive:w,dotColorDisabled:x,labelPadding:C,labelLineHeight:_,labelFontWeight:R,[Se("fontSize",c)]:E,[Se("radioSize",c)]:M}}=n.value;return{"--n-bezier":u,"--n-label-line-height":_,"--n-label-font-weight":R,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":p,"--n-box-shadow-focus":h,"--n-box-shadow-hover":g,"--n-color":b,"--n-color-active":y,"--n-color-disabled":m,"--n-dot-color-active":w,"--n-dot-color-disabled":x,"--n-font-size":E,"--n-radio-size":M,"--n-text-color":k,"--n-text-color-disabled":S,"--n-label-padding":C}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=at(e),s=pn("Radio",a,i),l=r?kt("radio",L(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),v("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},v("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${t}-radio__dot-wrapper`}," ",v("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),$t(e.default,r=>!r&&!o?null:v("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),lU=O("radio-group",` + `)])]),lU=Object.assign(Object.assign({},He.props),u2),h2=me({name:"Radio",props:lU,setup(e){const t=f2(e),n=He("Radio","-radio",sU,am,e,t.mergedClsPrefix),o=L(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:p,boxShadowFocus:h,boxShadowHover:g,color:b,colorDisabled:m,colorActive:y,textColor:k,textColorDisabled:S,dotColorActive:w,dotColorDisabled:x,labelPadding:C,labelLineHeight:_,labelFontWeight:R,[Se("fontSize",c)]:E,[Se("radioSize",c)]:M}}=n.value;return{"--n-bezier":u,"--n-label-line-height":_,"--n-label-font-weight":R,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":p,"--n-box-shadow-focus":h,"--n-box-shadow-hover":g,"--n-color":b,"--n-color-active":y,"--n-color-disabled":m,"--n-dot-color-active":w,"--n-dot-color-disabled":x,"--n-font-size":E,"--n-radio-size":M,"--n-text-color":k,"--n-text-color-disabled":S,"--n-label-padding":C}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=at(e),s=pn("Radio",a,i),l=r?kt("radio",L(()=>t.mergedSize.value[0]),o,e):void 0;return Object.assign(t,{rtlEnabled:s,cssVars:r?void 0:o,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender})},render(){const{$slots:e,mergedClsPrefix:t,onRender:n,label:o}=this;return n==null||n(),v("label",{class:[`${t}-radio`,this.themeClass,this.rtlEnabled&&`${t}-radio--rtl`,this.mergedDisabled&&`${t}-radio--disabled`,this.renderSafeChecked&&`${t}-radio--checked`,this.focus&&`${t}-radio--focus`],style:this.cssVars},v("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${t}-radio__dot-wrapper`}," ",v("div",{class:[`${t}-radio__dot`,this.renderSafeChecked&&`${t}-radio__dot--checked`]})),$t(e.default,r=>!r&&!o?null:v("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),cU=O("radio-group",` display: inline-block; font-size: var(--n-font-size); `,[V("splitor",` @@ -1958,8 +1958,8 @@ ${t} `),Z("disabled",` cursor: not-allowed; opacity: var(--n-opacity-disabled); - `)])]);function cU(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:w}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:C,buttonBorderColorActive:_,buttonBorderRadius:R,buttonBoxShadow:E,buttonBoxShadowFocus:M,buttonBoxShadowHover:A,buttonColor:q,buttonColorActive:F,buttonTextColor:z,buttonTextColorActive:D,buttonTextColorHover:Y,opacityDisabled:Q,[Se("buttonHeight",w)]:ce,[Se("fontSize",w)]:le}}=d.value;return{"--n-font-size":le,"--n-bezier":x,"--n-button-border-color":C,"--n-button-border-color-active":_,"--n-button-border-radius":R,"--n-button-box-shadow":E,"--n-button-box-shadow-focus":M,"--n-button-box-shadow-hover":A,"--n-button-color":q,"--n-button-color-active":F,"--n-button-text-color":z,"--n-button-text-color-hover":Y,"--n-button-text-color-active":D,"--n-height":ce,"--n-opacity-disabled":Q}}),S=c?kt("radio-group",L(()=>n.value[0]),k,e):void 0;return{selfElRef:t,rtlEnabled:y,mergedClsPrefix:l,mergedValue:h,handleFocusout:m,handleFocusin:b,cssVars:c?void 0:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=cU(ka(zC(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),dU=me({name:"RadioButton",props:m2,setup:v2,render(){const{mergedClsPrefix:e}=this;return v("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},v("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${e}-radio-button__state-border`}),$t(this.$slots.default,t=>!t&&!this.label?null:v("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),x2=40,C2=40;function L0(e){if(e.type==="selection")return e.width===void 0?x2:kn(e.width);if(e.type==="expand")return e.width===void 0?C2:kn(e.width);if(!("children"in e))return typeof e.width=="string"?kn(e.width):e.width}function fU(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:x2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:C2);if(!("children"in e))return qt(e.width)}function go(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function F0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function hU(e){return e==="ascend"?1:e==="descend"?-1:0}function pU(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function mU(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=fU(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function gU(e,t,n){return typeof n=="function"?n(e,t):n||""}function jd(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Vd(e){return"children"in e?!1:!!e.sorter}function w2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function N0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function B0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function vU(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:B0(!1)}:Object.assign(Object.assign({},t),{order:B0(t.order)})}function _2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function bU(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function yU(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>bU(i[a.key])).join(","));return[o,...r].join(` -`)}const xU=me({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=qe(To),s=N(e.value),l=L(()=>{const{value:h}=s;return Array.isArray(h)?h:null}),c=L(()=>{const{value:h}=s;return jd(e.column)?Array.isArray(h)&&h.length&&h[0]||null:Array.isArray(h)?null:h});function u(h){e.onChange(h)}function d(h){e.multiple&&Array.isArray(h)?s.value=h:jd(e.column)&&!Array.isArray(h)?s.value=[h]:s.value=h}function f(){u(s.value),e.onConfirm()}function p(){e.multiple||jd(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:p}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return v("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},v(ko,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?v(aV,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>v(ul,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):v(y2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>v(b2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),v("div",{class:`${n}-data-table-filter-menu__action`},v(Et,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),v(Et,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function CU(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const wU=me({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=at(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=qe(To),c=N(!1),u=r,d=L(()=>e.column.filterMultiple!==!1),f=L(()=>{const y=u.value[e.column.key];if(y===void 0){const{value:k}=d;return k?[]:null}return y}),p=L(()=>{const{value:y}=f;return Array.isArray(y)?y.length>0:y!==null}),h=L(()=>{var y,k;return((k=(y=t==null?void 0:t.value)===null||y===void 0?void 0:y.DataTable)===null||k===void 0?void 0:k.renderFilter)||e.column.renderFilter});function g(y){const k=CU(u.value,e.column.key,y);l(k,e.column),a.value==="first"&&s(1)}function b(){c.value=!1}function m(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:g,handleFilterMenuConfirm:m,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return v(ll,{show:this.showPopover,onUpdateShow:o=>this.showPopover=o,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:o}=this;if(o)return v(iU,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return v("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):v(Ut,{clsPrefix:t},{default:()=>v(ON,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):v(xU,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),_U=me({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=qe(To),n=N(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(Mt("mousemove",window,a),Mt("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Tt("mousemove",window,a),Tt("mouseup",window,s)}return rn(()=>{Tt("mousemove",window,a),Tt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return v("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),S2=me({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return v("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),k2=e=>{const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:i,opacity5Depth:a}},SU={name:"Icon",common:bt,self:k2},kU=SU,TU={name:"Icon",common:Ve,self:k2},PU=TU,RU=O("icon",` + `)])]);function uU(e,t,n){var o;const r=[];let i=!1;for(let a=0;a{const{value:w}=n,{common:{cubicBezierEaseInOut:x},self:{buttonBorderColor:C,buttonBorderColorActive:_,buttonBorderRadius:R,buttonBoxShadow:E,buttonBoxShadowFocus:M,buttonBoxShadowHover:A,buttonColor:q,buttonColorActive:F,buttonTextColor:z,buttonTextColorActive:D,buttonTextColorHover:Y,opacityDisabled:Q,[Se("buttonHeight",w)]:ce,[Se("fontSize",w)]:le}}=d.value;return{"--n-font-size":le,"--n-bezier":x,"--n-button-border-color":C,"--n-button-border-color-active":_,"--n-button-border-radius":R,"--n-button-box-shadow":E,"--n-button-box-shadow-focus":M,"--n-button-box-shadow-hover":A,"--n-button-color":q,"--n-button-color-active":F,"--n-button-text-color":z,"--n-button-text-color-hover":Y,"--n-button-text-color-active":D,"--n-height":ce,"--n-opacity-disabled":Q}}),S=c?kt("radio-group",L(()=>n.value[0]),k,e):void 0;return{selfElRef:t,rtlEnabled:y,mergedClsPrefix:l,mergedValue:h,handleFocusout:m,handleFocusin:b,cssVars:c?void 0:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=uU(ka(EC(this)),t,n);return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{onFocusin:o,onFocusout:r,ref:"selfElRef",class:[`${n}-radio-group`,this.rtlEnabled&&`${n}-radio-group--rtl`,this.themeClass,a&&`${n}-radio-group--button-group`],style:this.cssVars},i)}}),fU=me({name:"RadioButton",props:u2,setup:f2,render(){const{mergedClsPrefix:e}=this;return v("label",{class:[`${e}-radio-button`,this.mergedDisabled&&`${e}-radio-button--disabled`,this.renderSafeChecked&&`${e}-radio-button--checked`,this.focus&&[`${e}-radio-button--focus`]]},v("input",{ref:"inputRef",type:"radio",class:`${e}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),v("div",{class:`${e}-radio-button__state-border`}),$t(this.$slots.default,t=>!t&&!this.label?null:v("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),m2=40,g2=40;function L0(e){if(e.type==="selection")return e.width===void 0?m2:kn(e.width);if(e.type==="expand")return e.width===void 0?g2:kn(e.width);if(!("children"in e))return typeof e.width=="string"?kn(e.width):e.width}function hU(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:m2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:g2);if(!("children"in e))return qt(e.width)}function go(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function F0(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function pU(e){return e==="ascend"?1:e==="descend"?-1:0}function mU(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:parseFloat(t))),e}function gU(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=hU(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function vU(e,t,n){return typeof n=="function"?n(e,t):n||""}function Vd(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function Ud(e){return"children"in e?!1:!!e.sorter}function v2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function N0(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function B0(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function bU(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:B0(!1)}:Object.assign(Object.assign({},t),{order:B0(t.order)})}function b2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function yU(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function xU(e,t){const n=e.filter(i=>i.type!=="expand"&&i.type!=="selection"),o=n.map(i=>i.title).join(","),r=t.map(i=>n.map(a=>yU(i[a.key])).join(","));return[o,...r].join(` +`)}const CU=me({name:"DataTableFilterMenu",props:{column:{type:Object,required:!0},radioGroupName:{type:String,required:!0},multiple:{type:Boolean,required:!0},value:{type:[Array,String,Number],default:null},options:{type:Array,required:!0},onConfirm:{type:Function,required:!0},onClear:{type:Function,required:!0},onChange:{type:Function,required:!0}},setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=qe(To),s=N(e.value),l=L(()=>{const{value:h}=s;return Array.isArray(h)?h:null}),c=L(()=>{const{value:h}=s;return Vd(e.column)?Array.isArray(h)&&h.length&&h[0]||null:Array.isArray(h)?null:h});function u(h){e.onChange(h)}function d(h){e.multiple&&Array.isArray(h)?s.value=h:Vd(e.column)&&!Array.isArray(h)?s.value=[h]:s.value=h}function f(){u(s.value),e.onConfirm()}function p(){e.multiple||Vd(e.column)?u([]):u(null),e.onClear()}return{mergedClsPrefix:r,rtlEnabled:o,mergedTheme:i,locale:a,checkboxGroupValue:l,radioGroupValue:c,handleChange:d,handleConfirmClick:f,handleClearClick:p}},render(){const{mergedTheme:e,locale:t,mergedClsPrefix:n}=this;return v("div",{class:[`${n}-data-table-filter-menu`,this.rtlEnabled&&`${n}-data-table-filter-menu--rtl`]},v(ko,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?v(sV,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>v(ul,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):v(p2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>v(h2,{key:i.value,value:i.value,theme:e.peers.Radio,themeOverrides:e.peerOverrides.Radio},{default:()=>i.label}))})}}),v("div",{class:`${n}-data-table-filter-menu__action`},v(Et,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),v(Et,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}});function wU(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const _U=me({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=at(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l}=qe(To),c=N(!1),u=r,d=L(()=>e.column.filterMultiple!==!1),f=L(()=>{const y=u.value[e.column.key];if(y===void 0){const{value:k}=d;return k?[]:null}return y}),p=L(()=>{const{value:y}=f;return Array.isArray(y)?y.length>0:y!==null}),h=L(()=>{var y,k;return((k=(y=t==null?void 0:t.value)===null||y===void 0?void 0:y.DataTable)===null||k===void 0?void 0:k.renderFilter)||e.column.renderFilter});function g(y){const k=wU(u.value,e.column.key,y);l(k,e.column),a.value==="first"&&s(1)}function b(){c.value=!1}function m(){c.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:c,mergedRenderFilter:h,filterMultiple:d,mergedFilterValue:f,filterMenuCssVars:i,handleFilterChange:g,handleFilterMenuConfirm:m,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n}=this;return v(ll,{show:this.showPopover,onUpdateShow:o=>this.showPopover=o,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom",style:{padding:0}},{trigger:()=>{const{mergedRenderFilter:o}=this;if(o)return v(aU,{"data-data-table-filter":!0,render:o,active:this.active,show:this.showPopover});const{renderFilterIcon:r}=this.column;return v("div",{"data-data-table-filter":!0,class:[`${t}-data-table-filter`,{[`${t}-data-table-filter--active`]:this.active,[`${t}-data-table-filter--show`]:this.showPopover}]},r?r({active:this.active,show:this.showPopover}):v(Ut,{clsPrefix:t},{default:()=>v(DN,null)}))},default:()=>{const{renderFilterMenu:o}=this.column;return o?o({hide:n}):v(CU,{style:this.filterMenuCssVars,radioGroupName:String(this.column.key),multiple:this.filterMultiple,value:this.mergedFilterValue,options:this.options,column:this.column,onChange:this.handleFilterChange,onClear:this.handleFilterMenuCancel,onConfirm:this.handleFilterMenuConfirm})}})}}),SU=me({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=qe(To),n=N(!1);let o=0;function r(l){return l.clientX}function i(l){var c;l.preventDefault();const u=n.value;o=r(l),n.value=!0,u||(Mt("mousemove",window,a),Mt("mouseup",window,s),(c=e.onResizeStart)===null||c===void 0||c.call(e))}function a(l){var c;(c=e.onResize)===null||c===void 0||c.call(e,r(l)-o)}function s(){var l;n.value=!1,(l=e.onResizeEnd)===null||l===void 0||l.call(e),Tt("mousemove",window,a),Tt("mouseup",window,s)}return rn(()=>{Tt("mousemove",window,a),Tt("mouseup",window,s)}),{mergedClsPrefix:t,active:n,handleMousedown:i}},render(){const{mergedClsPrefix:e}=this;return v("span",{"data-data-table-resizable":!0,class:[`${e}-data-table-resize-button`,this.active&&`${e}-data-table-resize-button--active`],onMousedown:this.handleMousedown})}}),y2=me({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return v("div",{class:`${this.clsPrefix}-dropdown-divider`})}}),x2=e=>{const{textColorBase:t,opacity1:n,opacity2:o,opacity3:r,opacity4:i,opacity5:a}=e;return{color:t,opacity1Depth:n,opacity2Depth:o,opacity3Depth:r,opacity4Depth:i,opacity5Depth:a}},kU={name:"Icon",common:bt,self:x2},TU=kU,PU={name:"Icon",common:Ve,self:x2},RU=PU,EU=O("icon",` height: 1em; width: 1em; line-height: 1em; @@ -1968,7 +1968,7 @@ ${t} position: relative; fill: currentColor; transform: translateZ(0); -`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[W("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),W("svg",{height:"1em",width:"1em"})]),EU=Object.assign(Object.assign({},He.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),pr=me({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:EU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Icon","-icon",RU,kU,e,t),r=L(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?kt("icon",L(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&sr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),v("i",Dn(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?v(r):this.$slots)}}),um="n-dropdown-menu",Iu="n-dropdown",H0="n-dropdown-option";function wh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function $U(e){return e.type==="group"}function T2(e){return e.type==="divider"}function AU(e){return e.type==="render"}const P2=me({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=qe(Iu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:p,nodePropsRef:h,menuPropsRef:g}=t,b=qe(H0,null),m=qe(um),y=qe(Fa),k=L(()=>e.tmNode.rawNode),S=L(()=>{const{value:Y}=f;return wh(e.tmNode.rawNode,Y)}),w=L(()=>{const{disabled:Y}=e.tmNode;return Y}),x=L(()=>{if(!S.value)return!1;const{key:Y,disabled:Q}=e.tmNode;if(Q)return!1;const{value:ce}=n,{value:le}=o,{value:B}=r,{value:$}=i;return ce!==null?$.includes(Y):le!==null?$.includes(Y)&&$[$.length-1]!==Y:B!==null?$.includes(Y):!1}),C=L(()=>o.value===null&&!s.value),_=x6(x,300,C),R=L(()=>!!(b!=null&&b.enteringSubmenuRef.value)),E=N(!1);lt(H0,{enteringSubmenuRef:E});function M(){E.value=!0}function A(){E.value=!1}function q(){const{parentKey:Y,tmNode:Q}=e;Q.disabled||l.value&&(r.value=Y,o.value=null,n.value=Q.key)}function F(){const{tmNode:Y}=e;Y.disabled||l.value&&n.value!==Y.key&&q()}function z(Y){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:Q}=Y;Q&&!Vo({target:Q},"dropdownOption")&&!Vo({target:Q},"scrollbarRail")&&(n.value=null)}function D(){const{value:Y}=S,{tmNode:Q}=e;l.value&&!Y&&!Q.disabled&&(t.doSelect(Q.key,Q.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:m.showIconRef,siblingHasSubmenu:m.hasSubmenuRef,menuProps:g,popoverBody:y,animated:s,mergedShowSubmenu:L(()=>_.value&&!R.value),rawNode:k,hasSubmenu:S,pending:St(()=>{const{value:Y}=i,{key:Q}=e.tmNode;return Y.includes(Q)}),childActive:St(()=>{const{value:Y}=a,{key:Q}=e.tmNode,ce=Y.findIndex(le=>Q===le);return ce===-1?!1:ce{const{value:Y}=a,{key:Q}=e.tmNode,ce=Y.findIndex(le=>Q===le);return ce===-1?!1:ce===Y.length-1}),mergedDisabled:w,renderOption:p,nodeProps:h,handleClick:D,handleMouseMove:F,handleMouseEnter:q,handleMouseLeave:z,handleSubmenuBeforeEnter:M,handleSubmenuAfterEnter:A}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:u,nodeProps:d,props:f,scrollable:p}=this;let h=null;if(r){const y=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=v(R2,Object.assign({},y,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const g={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},b=d==null?void 0:d(o),m=v("div",Object.assign({class:[`${i}-dropdown-option`,b==null?void 0:b.class],"data-dropdown-option":!0},b),v("div",Dn(g,f),[v("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Vt(o.icon)]),v("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Vt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),v("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?v(pr,null,{default:()=>v(Yp,null)}):null)]),this.hasSubmenu?v(Ep,null,{default:()=>[v($p,null,{default:()=>v("div",{class:`${i}-dropdown-offset-container`},v(Ip,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>v("div",{class:`${i}-dropdown-menu-wrapper`},n?v(hn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:m,option:o}):m}}),IU=me({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=qe(um),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=qe(Iu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=v("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),v("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},v("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Vt(s.icon)),v("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Vt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),v("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),MU=me({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return v(it,null,v(IU,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:T2(i)?v(S2,{clsPrefix:n,key:r.key}):r.isGroup?(sr("dropdown","`group` node is not allowed to be put in `group` node."),null):v(P2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),zU=me({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return v("div",t,[e==null?void 0:e()])}}),R2=me({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=qe(Iu);lt(um,{showIconRef:L(()=>{const r=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>r?r(l):l.icon);const{rawNode:s}=i;return r?r(s):s.icon})}),hasSubmenuRef:L(()=>{const{value:r}=n;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>wh(l,r));const{rawNode:s}=i;return wh(s,r)})})});const o=N(null);return lt(nl,null),lt(ol,null),lt(Fa,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(r=>{const{rawNode:i}=r;return i.show===!1?null:AU(i)?v(zU,{tmNode:r,key:r.key}):T2(i)?v(S2,{clsPrefix:t,key:r.key}):$U(i)?v(MU,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):v(P2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return v("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?v(b_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?__({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),OU=O("dropdown-menu",` +`,[Z("color-transition",{transition:"color .3s var(--n-bezier)"}),Z("depth",{color:"var(--n-color)"},[W("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),W("svg",{height:"1em",width:"1em"})]),$U=Object.assign(Object.assign({},He.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),pr=me({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:$U,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Icon","-icon",EU,TU,e,t),r=L(()=>{const{depth:a}=e,{common:{cubicBezierEaseInOut:s},self:l}=o.value;if(a!==void 0){const{color:c,[`opacity${a}Depth`]:u}=l;return{"--n-bezier":s,"--n-color":c,"--n-opacity":u}}return{"--n-bezier":s,"--n-color":"","--n-opacity":""}}),i=n?kt("icon",L(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:L(()=>{const{size:a,color:s}=e;return{fontSize:qt(a),color:s}}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$parent:t,depth:n,mergedClsPrefix:o,component:r,onRender:i,themeClass:a}=this;return!((e=t==null?void 0:t.$options)===null||e===void 0)&&e._n_icon__&&sr("icon","don't wrap `n-icon` inside `n-icon`"),i==null||i(),v("i",Dn(this.$attrs,{role:"img",class:[`${o}-icon`,a,{[`${o}-icon--depth`]:n,[`${o}-icon--color-transition`]:n!==void 0}],style:[this.cssVars,this.mergedStyle]}),r?v(r):this.$slots)}}),um="n-dropdown-menu",Mu="n-dropdown",H0="n-dropdown-option";function wh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function AU(e){return e.type==="group"}function C2(e){return e.type==="divider"}function IU(e){return e.type==="render"}const w2=me({name:"DropdownOption",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null},placement:{type:String,default:"right-start"},props:Object,scrollable:Boolean},setup(e){const t=qe(Mu),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:p,nodePropsRef:h,menuPropsRef:g}=t,b=qe(H0,null),m=qe(um),y=qe(Fa),k=L(()=>e.tmNode.rawNode),S=L(()=>{const{value:Y}=f;return wh(e.tmNode.rawNode,Y)}),w=L(()=>{const{disabled:Y}=e.tmNode;return Y}),x=L(()=>{if(!S.value)return!1;const{key:Y,disabled:Q}=e.tmNode;if(Q)return!1;const{value:ce}=n,{value:le}=o,{value:B}=r,{value:$}=i;return ce!==null?$.includes(Y):le!==null?$.includes(Y)&&$[$.length-1]!==Y:B!==null?$.includes(Y):!1}),C=L(()=>o.value===null&&!s.value),_=C6(x,300,C),R=L(()=>!!(b!=null&&b.enteringSubmenuRef.value)),E=N(!1);lt(H0,{enteringSubmenuRef:E});function M(){E.value=!0}function A(){E.value=!1}function q(){const{parentKey:Y,tmNode:Q}=e;Q.disabled||l.value&&(r.value=Y,o.value=null,n.value=Q.key)}function F(){const{tmNode:Y}=e;Y.disabled||l.value&&n.value!==Y.key&&q()}function z(Y){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:Q}=Y;Q&&!Vo({target:Q},"dropdownOption")&&!Vo({target:Q},"scrollbarRail")&&(n.value=null)}function D(){const{value:Y}=S,{tmNode:Q}=e;l.value&&!Y&&!Q.disabled&&(t.doSelect(Q.key,Q.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:m.showIconRef,siblingHasSubmenu:m.hasSubmenuRef,menuProps:g,popoverBody:y,animated:s,mergedShowSubmenu:L(()=>_.value&&!R.value),rawNode:k,hasSubmenu:S,pending:St(()=>{const{value:Y}=i,{key:Q}=e.tmNode;return Y.includes(Q)}),childActive:St(()=>{const{value:Y}=a,{key:Q}=e.tmNode,ce=Y.findIndex(le=>Q===le);return ce===-1?!1:ce{const{value:Y}=a,{key:Q}=e.tmNode,ce=Y.findIndex(le=>Q===le);return ce===-1?!1:ce===Y.length-1}),mergedDisabled:w,renderOption:p,nodeProps:h,handleClick:D,handleMouseMove:F,handleMouseEnter:q,handleMouseLeave:z,handleSubmenuBeforeEnter:M,handleSubmenuAfterEnter:A}},render(){var e,t;const{animated:n,rawNode:o,mergedShowSubmenu:r,clsPrefix:i,siblingHasIcon:a,siblingHasSubmenu:s,renderLabel:l,renderIcon:c,renderOption:u,nodeProps:d,props:f,scrollable:p}=this;let h=null;if(r){const y=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);h=v(_2,Object.assign({},y,{clsPrefix:i,scrollable:this.scrollable,tmNodes:this.tmNode.children,parentKey:this.tmNode.key}))}const g={class:[`${i}-dropdown-option-body`,this.pending&&`${i}-dropdown-option-body--pending`,this.active&&`${i}-dropdown-option-body--active`,this.childActive&&`${i}-dropdown-option-body--child-active`,this.mergedDisabled&&`${i}-dropdown-option-body--disabled`],onMousemove:this.handleMouseMove,onMouseenter:this.handleMouseEnter,onMouseleave:this.handleMouseLeave,onClick:this.handleClick},b=d==null?void 0:d(o),m=v("div",Object.assign({class:[`${i}-dropdown-option`,b==null?void 0:b.class],"data-dropdown-option":!0},b),v("div",Dn(g,f),[v("div",{class:[`${i}-dropdown-option-body__prefix`,a&&`${i}-dropdown-option-body__prefix--show-icon`]},[c?c(o):Vt(o.icon)]),v("div",{"data-dropdown-option":!0,class:`${i}-dropdown-option-body__label`},l?l(o):Vt((t=o[this.labelField])!==null&&t!==void 0?t:o.title)),v("div",{"data-dropdown-option":!0,class:[`${i}-dropdown-option-body__suffix`,s&&`${i}-dropdown-option-body__suffix--has-submenu`]},this.hasSubmenu?v(pr,null,{default:()=>v(Yp,null)}):null)]),this.hasSubmenu?v(Ep,null,{default:()=>[v($p,null,{default:()=>v("div",{class:`${i}-dropdown-offset-container`},v(Ip,{show:this.mergedShowSubmenu,placement:this.placement,to:p&&this.popoverBody||void 0,teleportDisabled:!p},{default:()=>v("div",{class:`${i}-dropdown-menu-wrapper`},n?v(hn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>h}):h)}))})]}):null);return u?u({node:m,option:o}):m}}),MU=me({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=qe(um),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=qe(Mu);return{labelField:o,showIcon:e,hasSubmenu:t,renderLabel:n,nodeProps:r,renderOption:i}},render(){var e;const{clsPrefix:t,hasSubmenu:n,showIcon:o,nodeProps:r,renderLabel:i,renderOption:a}=this,{rawNode:s}=this.tmNode,l=v("div",Object.assign({class:`${t}-dropdown-option`},r==null?void 0:r(s)),v("div",{class:`${t}-dropdown-option-body ${t}-dropdown-option-body--group`},v("div",{"data-dropdown-option":!0,class:[`${t}-dropdown-option-body__prefix`,o&&`${t}-dropdown-option-body__prefix--show-icon`]},Vt(s.icon)),v("div",{class:`${t}-dropdown-option-body__label`,"data-dropdown-option":!0},i?i(s):Vt((e=s.title)!==null&&e!==void 0?e:s[this.labelField])),v("div",{class:[`${t}-dropdown-option-body__suffix`,n&&`${t}-dropdown-option-body__suffix--has-submenu`],"data-dropdown-option":!0})));return a?a({node:l,option:s}):l}}),zU=me({name:"NDropdownGroup",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0},parentKey:{type:[String,Number],default:null}},render(){const{tmNode:e,parentKey:t,clsPrefix:n}=this,{children:o}=e;return v(it,null,v(MU,{clsPrefix:n,tmNode:e,key:e.key}),o==null?void 0:o.map(r=>{const{rawNode:i}=r;return i.show===!1?null:C2(i)?v(y2,{clsPrefix:n,key:r.key}):r.isGroup?(sr("dropdown","`group` node is not allowed to be put in `group` node."),null):v(w2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),OU=me({name:"DropdownRenderOption",props:{tmNode:{type:Object,required:!0}},render(){const{rawNode:{render:e,props:t}}=this.tmNode;return v("div",t,[e==null?void 0:e()])}}),_2=me({name:"DropdownMenu",props:{scrollable:Boolean,showArrow:Boolean,arrowStyle:[String,Object],clsPrefix:{type:String,required:!0},tmNodes:{type:Array,default:()=>[]},parentKey:{type:[String,Number],default:null}},setup(e){const{renderIconRef:t,childrenFieldRef:n}=qe(Mu);lt(um,{showIconRef:L(()=>{const r=t.value;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>r?r(l):l.icon);const{rawNode:s}=i;return r?r(s):s.icon})}),hasSubmenuRef:L(()=>{const{value:r}=n;return e.tmNodes.some(i=>{var a;if(i.isGroup)return(a=i.children)===null||a===void 0?void 0:a.some(({rawNode:l})=>wh(l,r));const{rawNode:s}=i;return wh(s,r)})})});const o=N(null);return lt(nl,null),lt(ol,null),lt(Fa,o),{bodyRef:o}},render(){const{parentKey:e,clsPrefix:t,scrollable:n}=this,o=this.tmNodes.map(r=>{const{rawNode:i}=r;return i.show===!1?null:IU(i)?v(OU,{tmNode:r,key:r.key}):C2(i)?v(y2,{clsPrefix:t,key:r.key}):AU(i)?v(zU,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):v(w2,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key,props:i.props,scrollable:n})});return v("div",{class:[`${t}-dropdown-menu`,n&&`${t}-dropdown-menu--scrollable`],ref:"bodyRef"},n?v(h_,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?b_({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),DU=O("dropdown-menu",` transform-origin: var(--v-transform-origin); background-color: var(--n-color); border-radius: var(--n-border-radius); @@ -2084,7 +2084,7 @@ ${t} padding: var(--n-padding); `),Z("scrollable",[V("content",` padding: var(--n-padding); - `)])]),DU={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},LU=Object.keys(Ra),FU=Object.assign(Object.assign(Object.assign({},Ra),DU),He.props),dm=me({name:"Dropdown",inheritAttrs:!1,props:FU,setup(e){const t=N(!1),n=ln(Ue(e,"show"),t),o=L(()=>{const{keyField:A,childrenField:q}=e;return bi(e.options,{getKey(F){return F[A]},getDisabled(F){return F.disabled===!0},getIgnored(F){return F.type==="divider"||F.type==="render"},getChildren(F){return F[q]}})}),r=L(()=>o.value.treeNodes),i=N(null),a=N(null),s=N(null),l=L(()=>{var A,q,F;return(F=(q=(A=i.value)!==null&&A!==void 0?A:a.value)!==null&&q!==void 0?q:s.value)!==null&&F!==void 0?F:null}),c=L(()=>o.value.getPath(l.value).keyPath),u=L(()=>o.value.getPath(e.value).keyPath),d=St(()=>e.keyboard&&n.value);I6({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:S},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:k},Enter:{prevent:!0,handler:C},Escape:y}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=at(e),h=He("Dropdown","-dropdown",OU,sm,e,f);lt(Iu,{labelFieldRef:Ue(e,"labelField"),childrenFieldRef:Ue(e,"childrenField"),renderLabelRef:Ue(e,"renderLabel"),renderIconRef:Ue(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:Ue(e,"animated"),mergedShowRef:n,nodePropsRef:Ue(e,"nodeProps"),renderOptionRef:Ue(e,"renderOption"),menuPropsRef:Ue(e,"menuProps"),doSelect:g,doUpdateShow:b}),ht(n,A=>{!e.animated&&!A&&m()});function g(A,q){const{onSelect:F}=e;F&&Pe(F,A,q)}function b(A){const{"onUpdate:show":q,onUpdateShow:F}=e;q&&Pe(q,A),F&&Pe(F,A),t.value=A}function m(){i.value=null,a.value=null,s.value=null}function y(){b(!1)}function k(){R("left")}function S(){R("right")}function w(){R("up")}function x(){R("down")}function C(){const A=_();A!=null&&A.isLeaf&&n.value&&(g(A.key,A.rawNode),b(!1))}function _(){var A;const{value:q}=o,{value:F}=l;return!q||F===null?null:(A=q.getNode(F))!==null&&A!==void 0?A:null}function R(A){const{value:q}=l,{value:{getFirstAvailableNode:F}}=o;let z=null;if(q===null){const D=F();D!==null&&(z=D.key)}else{const D=_();if(D){let Y;switch(A){case"down":Y=D.getNext();break;case"up":Y=D.getPrev();break;case"right":Y=D.getChild();break;case"left":Y=D.getParent();break}Y&&(z=Y.key)}}z!==null&&(i.value=null,a.value=z)}const E=L(()=>{const{size:A,inverted:q}=e,{common:{cubicBezierEaseInOut:F},self:z}=h.value,{padding:D,dividerColor:Y,borderRadius:Q,optionOpacityDisabled:ce,[Se("optionIconSuffixWidth",A)]:le,[Se("optionSuffixWidth",A)]:B,[Se("optionIconPrefixWidth",A)]:$,[Se("optionPrefixWidth",A)]:I,[Se("fontSize",A)]:K,[Se("optionHeight",A)]:ne,[Se("optionIconSize",A)]:ve}=z,J={"--n-bezier":F,"--n-font-size":K,"--n-padding":D,"--n-border-radius":Q,"--n-option-height":ne,"--n-option-prefix-width":I,"--n-option-icon-prefix-width":$,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":le,"--n-option-icon-size":ve,"--n-divider-color":Y,"--n-option-opacity-disabled":ce};return q?(J["--n-color"]=z.colorInverted,J["--n-option-color-hover"]=z.optionColorHoverInverted,J["--n-option-color-active"]=z.optionColorActiveInverted,J["--n-option-text-color"]=z.optionTextColorInverted,J["--n-option-text-color-hover"]=z.optionTextColorHoverInverted,J["--n-option-text-color-active"]=z.optionTextColorActiveInverted,J["--n-option-text-color-child-active"]=z.optionTextColorChildActiveInverted,J["--n-prefix-color"]=z.prefixColorInverted,J["--n-suffix-color"]=z.suffixColorInverted,J["--n-group-header-text-color"]=z.groupHeaderTextColorInverted):(J["--n-color"]=z.color,J["--n-option-color-hover"]=z.optionColorHover,J["--n-option-color-active"]=z.optionColorActive,J["--n-option-text-color"]=z.optionTextColor,J["--n-option-text-color-hover"]=z.optionTextColorHover,J["--n-option-text-color-active"]=z.optionTextColorActive,J["--n-option-text-color-child-active"]=z.optionTextColorChildActive,J["--n-prefix-color"]=z.prefixColor,J["--n-suffix-color"]=z.suffixColor,J["--n-group-header-text-color"]=z.groupHeaderTextColor),J}),M=p?kt("dropdown",L(()=>`${e.size[0]}${e.inverted?"i":""}`),E,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&m()},doUpdateShow:b,cssVars:p?void 0:E,themeClass:M==null?void 0:M.themeClass,onRender:M==null?void 0:M.onRender}},render(){const e=(o,r,i,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:u}=this;(l=this.onRender)===null||l===void 0||l.call(this);const d=(u==null?void 0:u(void 0,this.tmNodes.map(p=>p.rawNode)))||{},f={ref:OC(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return v(R2,Dn(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return v(ll,Object.assign({},Xn(this.$props,LU),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),E2="_n_all__",$2="_n_none__";function NU(e,t,n,o){return e?r=>{for(const i of e)switch(r){case E2:n(!0);return;case $2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function BU(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:E2};case"none":return{label:t.uncheckTableAll,key:$2};default:return n}}):[]}const HU=me({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=qe(To),s=L(()=>NU(o.value,r,i,a)),l=L(()=>BU(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return v(dm,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>v(Ut,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>v(c_,null)})})}}});function Ud(e){return typeof e.title=="function"?e.title(e):e.title}const A2=me({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:s,colsRef:l,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:d,componentId:f,mergedTableLayoutRef:p,headerCheckboxDisabledRef:h,onUnstableColumnResize:g,doUpdateResizableWidth:b,handleTableHeaderScroll:m,deriveNextSorter:y,doUncheckAll:k,doCheckAll:S}=qe(To),w=N({});function x(A){const q=w.value[A];return q==null?void 0:q.getBoundingClientRect().width}function C(){i.value?k():S()}function _(A,q){if(Vo(A,"dataTableFilter")||Vo(A,"dataTableResizable")||!Vd(q))return;const F=d.value.find(D=>D.columnKey===q.key)||null,z=vU(q,F);y(z)}const R=new Map;function E(A){R.set(A.key,x(A.key))}function M(A,q){const F=R.get(A.key);if(F===void 0)return;const z=F+q,D=pU(z,A.minWidth,A.maxWidth);g(z,D,A,x),b(A,D)}return{cellElsRef:w,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:p,headerCheckboxDisabled:h,handleCheckboxUpdateChecked:C,handleColHeaderClick:_,handleTableHeaderScroll:m,handleColumnResizeStart:E,handleColumnResize:M}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,componentId:d,discrete:f,mergedTableLayout:p,headerCheckboxDisabled:h,mergedSortState:g,handleColHeaderClick:b,handleCheckboxUpdateChecked:m,handleColumnResizeStart:y,handleColumnResize:k}=this,S=v("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(C=>v("tr",{class:`${t}-data-table-tr`},C.map(({column:_,colSpan:R,rowSpan:E,isLast:M})=>{var A,q;const F=go(_),{ellipsis:z}=_,D=()=>_.type==="selection"?_.multiple!==!1?v(it,null,v(ul,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:m}),u?v(HU,{clsPrefix:t}):null):null:v(it,null,v("div",{class:`${t}-data-table-th__title-wrapper`},v("div",{class:`${t}-data-table-th__title`},z===!0||z&&!z.tooltip?v("div",{class:`${t}-data-table-th__ellipsis`},Ud(_)):z&&typeof z=="object"?v(cm,Object.assign({},z,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Ud(_)}):Ud(_)),Vd(_)?v(rU,{column:_}):null),N0(_)?v(wU,{column:_,options:_.filterOptions}):null,w2(_)?v(_U,{onResizeStart:()=>{y(_)},onResize:ce=>{k(_,ce)}}):null),Y=F in n,Q=F in o;return v("th",{ref:ce=>e[F]=ce,key:F,style:{textAlign:_.titleAlign||_.align,left:zn((A=n[F])===null||A===void 0?void 0:A.start),right:zn((q=o[F])===null||q===void 0?void 0:q.start)},colspan:R,rowspan:E,"data-col-key":F,class:[`${t}-data-table-th`,(Y||Q)&&`${t}-data-table-th--fixed-${Y?"left":"right"}`,{[`${t}-data-table-th--hover`]:_2(_,g),[`${t}-data-table-th--filterable`]:N0(_),[`${t}-data-table-th--sortable`]:Vd(_),[`${t}-data-table-th--selection`]:_.type==="selection",[`${t}-data-table-th--last`]:M},_.className],onClick:_.type!=="selection"&&_.type!=="expand"&&!("children"in _)?ce=>{b(ce,_)}:void 0},D())}))));if(!f)return S;const{handleTableHeaderScroll:w,scrollX:x}=this;return v("div",{class:`${t}-data-table-base-table-header`,onScroll:w},v("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(x),tableLayout:p}},v("colgroup",null,l.map(C=>v("col",{key:C.key,style:C.style}))),S))}}),jU=me({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(ch(o,s),o,n):ch(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?v(tU,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):v(cm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return v("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),j0=me({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return v("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},v(Hi,null,{default:()=>this.loading?v(Xr,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):v(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>v(Yp,null)})}))}}),VU=me({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=qe(To);return()=>{const{rowKey:o}=e;return v(ul,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),UU=me({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=qe(To);return()=>{const{rowKey:o}=e;return v(b2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function WU(e,t){const n=[];function o(r,i){r.forEach(a=>{a.children&&t.has(a.key)?(n.push({tmNode:a,striped:!1,key:a.key,index:i}),o(a.children,i)):n.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(r=>{n.push(r);const{children:i}=r.tmNode;i&&t.has(r.key)&&o(i,r.index)}),n}const qU=me({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return v("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},v("colgroup",null,n.map(i=>v("col",{key:i.key,style:i.style}))),v("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),KU=me({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:i,scrollXRef:a,colsRef:s,paginatedDataRef:l,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:d,mergedCurrentPageRef:f,rowClassNameRef:p,leftActiveFixedColKeyRef:h,leftActiveFixedChildrenColKeysRef:g,rightActiveFixedColKeyRef:b,rightActiveFixedChildrenColKeysRef:m,renderExpandRef:y,hoverKeyRef:k,summaryRef:S,mergedSortStateRef:w,virtualScrollRef:x,componentId:C,mergedTableLayoutRef:_,childTriggerColIndexRef:R,indentRef:E,rowPropsRef:M,maxHeightRef:A,stripedRef:q,loadingRef:F,onLoadRef:z,loadingKeySetRef:D,expandableRef:Y,stickyExpandedRowsRef:Q,renderExpandIconRef:ce,summaryPlacementRef:le,treeMateRef:B,scrollbarPropsRef:$,setHeaderScrollLeft:I,doUpdateExpandedRowKeys:K,handleTableBodyScroll:ne,doCheck:ve,doUncheck:J,renderCell:ye}=qe(To),j=N(null),ge=N(null),Ee=N(null),Ne=St(()=>l.value.length===0),T=St(()=>e.showHeader||!Ne.value),P=St(()=>e.showHeader||Ne.value);let U="";const oe=L(()=>new Set(o.value));function G($e){var Me;return(Me=B.value.getNode($e))===null||Me===void 0?void 0:Me.rawNode}function se($e,Me,Fe){const Be=G($e.key);if(!Be){sr("data-table",`fail to get row data with key ${$e.key}`);return}if(Fe){const ot=l.value.findIndex(xt=>xt.key===U);if(ot!==-1){const xt=l.value.findIndex(Ke=>Ke.key===$e.key),X=Math.min(ot,xt),pe=Math.max(ot,xt),Te=[];l.value.slice(X,pe+1).forEach(Ke=>{Ke.disabled||Te.push(Ke.key)}),Me?ve(Te,!1,Be):J(Te,Be),U=$e.key;return}}Me?ve($e.key,!1,Be):J($e.key,Be),U=$e.key}function xe($e){const Me=G($e.key);if(!Me){sr("data-table",`fail to get row data with key ${$e.key}`);return}ve($e.key,!0,Me)}function be(){if(!T.value){const{value:Me}=Ee;return Me||null}if(x.value)return Re();const{value:$e}=j;return $e?$e.containerRef:null}function Ce($e,Me){var Fe;if(D.value.has($e))return;const{value:Be}=o,ot=Be.indexOf($e),xt=Array.from(Be);~ot?(xt.splice(ot,1),K(xt)):Me&&!Me.isLeaf&&!Me.shallowLoaded?(D.value.add($e),(Fe=z.value)===null||Fe===void 0||Fe.call(z,Me.rawNode).then(()=>{const{value:X}=o,pe=Array.from(X);~pe.indexOf($e)||pe.push($e),K(pe)}).finally(()=>{D.value.delete($e)})):(xt.push($e),K(xt))}function we(){k.value=null}function Re(){const{value:$e}=ge;return($e==null?void 0:$e.listElRef)||null}function de(){const{value:$e}=ge;return($e==null?void 0:$e.itemsElRef)||null}function ee($e){var Me;ne($e),(Me=j.value)===null||Me===void 0||Me.sync()}function fe($e){var Me;const{onResize:Fe}=e;Fe&&Fe($e),(Me=j.value)===null||Me===void 0||Me.sync()}const Oe={getScrollContainer:be,scrollTo($e,Me){var Fe,Be;x.value?(Fe=ge.value)===null||Fe===void 0||Fe.scrollTo($e,Me):(Be=j.value)===null||Be===void 0||Be.scrollTo($e,Me)}},Le=W([({props:$e})=>{const Me=Be=>Be===null?null:W(`[data-n-id="${$e.componentId}"] [data-col-key="${Be}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),Fe=Be=>Be===null?null:W(`[data-n-id="${$e.componentId}"] [data-col-key="${Be}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return W([Me($e.leftActiveFixedColKey),Fe($e.rightActiveFixedColKey),$e.leftActiveFixedChildrenColKeys.map(Be=>Me(Be)),$e.rightActiveFixedChildrenColKeys.map(Be=>Fe(Be))])}]);let De=!1;return tn(()=>{const{value:$e}=h,{value:Me}=g,{value:Fe}=b,{value:Be}=m;if(!De&&$e===null&&Fe===null)return;const ot={leftActiveFixedColKey:$e,leftActiveFixedChildrenColKeys:Me,rightActiveFixedColKey:Fe,rightActiveFixedChildrenColKeys:Be,componentId:C};Le.mount({id:`n-${C}`,force:!0,props:ot,anchorMetaName:Pa}),De=!0}),Ys(()=>{Le.unmount({id:`n-${C}`})}),Object.assign({bodyWidth:n,summaryPlacement:le,dataTableSlots:t,componentId:C,scrollbarInstRef:j,virtualListRef:ge,emptyElRef:Ee,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:F,bodyShowHeaderOnly:P,shouldDisplaySomeTablePart:T,empty:Ne,paginatedDataAndInfo:L(()=>{const{value:$e}=q;let Me=!1;return{data:l.value.map($e?(Be,ot)=>(Be.isLeaf||(Me=!0),{tmNode:Be,key:Be.key,striped:ot%2===1,index:ot}):(Be,ot)=>(Be.isLeaf||(Me=!0),{tmNode:Be,key:Be.key,striped:!1,index:ot})),hasChildren:Me}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:y,mergedExpandedRowKeySet:oe,hoverKey:k,mergedSortState:w,virtualScroll:x,mergedTableLayout:_,childTriggerColIndex:R,indent:E,rowProps:M,maxHeight:A,loadingKeySet:D,expandable:Y,stickyExpandedRows:Q,renderExpandIcon:ce,scrollbarProps:$,setHeaderScrollLeft:I,handleVirtualListScroll:ee,handleVirtualListResize:fe,handleMouseleaveTable:we,virtualListContainer:Re,virtualListContent:de,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:se,handleRadioUpdateChecked:xe,handleUpdateExpanded:Ce,renderCell:ye},Oe)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:qt(t)||"100%"};t&&(p.width="100%");const h=v(ko,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const g={},b={},{cols:m,paginatedDataAndInfo:y,mergedTheme:k,fixedColumnLeftMap:S,fixedColumnRightMap:w,currentPage:x,rowClassName:C,mergedSortState:_,mergedExpandedRowKeySet:R,stickyExpandedRows:E,componentId:M,childTriggerColIndex:A,expandable:q,rowProps:F,handleMouseleaveTable:z,renderExpand:D,summary:Y,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:ce,handleUpdateExpanded:le}=this,{length:B}=m;let $;const{data:I,hasChildren:K}=y,ne=K?WU(I,R):I;if(Y){const T=Y(this.rawPaginatedData);if(Array.isArray(T)){const P=T.map((U,oe)=>({isSummaryRow:!0,key:`__n_summary__${oe}`,tmNode:{rawNode:U,disabled:!0},index:-1}));$=this.summaryPlacement==="top"?[...P,...ne]:[...ne,...P]}else{const P={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:T,disabled:!0},index:-1};$=this.summaryPlacement==="top"?[P,...ne]:[...ne,P]}}else $=ne;const ve=K?{width:zn(this.indent)}:void 0,J=[];$.forEach(T=>{D&&R.has(T.key)&&(!q||q(T.tmNode.rawNode))?J.push(T,{isExpandedRow:!0,key:`${T.key}-expand`,tmNode:T.tmNode,index:T.index}):J.push(T)});const{length:ye}=J,j={};I.forEach(({tmNode:T},P)=>{j[P]=T.key});const ge=E?this.bodyWidth:null,Ee=ge===null?void 0:`${ge}px`,Ne=(T,P,U)=>{const{index:oe}=T;if("isExpandedRow"in T){const{tmNode:{key:fe,rawNode:Oe}}=T;return v("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${fe}__expand`},v("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,P+1===ye&&`${n}-data-table-td--last-row`],colspan:B},E?v("div",{class:`${n}-data-table-expand`,style:{width:Ee}},D(Oe,oe)):D(Oe,oe)))}const G="isSummaryRow"in T,se=!G&&T.striped,{tmNode:xe,key:be}=T,{rawNode:Ce}=xe,we=R.has(be),Re=F?F(Ce,oe):void 0,de=typeof C=="string"?C:gU(Ce,oe,C);return v("tr",Object.assign({onMouseenter:()=>{this.hoverKey=be},key:be,class:[`${n}-data-table-tr`,G&&`${n}-data-table-tr--summary`,se&&`${n}-data-table-tr--striped`,we&&`${n}-data-table-tr--expanded`,de]},Re),m.map((fe,Oe)=>{var Le,De,$e,Me,Fe;if(P in g){const Wt=g[P],_e=Wt.indexOf(Oe);if(~_e)return Wt.splice(_e,1),null}const{column:Be}=fe,ot=go(fe),{rowSpan:xt,colSpan:X}=Be,pe=G?((Le=T.tmNode.rawNode[ot])===null||Le===void 0?void 0:Le.colSpan)||1:X?X(Ce,oe):1,Te=G?((De=T.tmNode.rawNode[ot])===null||De===void 0?void 0:De.rowSpan)||1:xt?xt(Ce,oe):1,Ke=Oe+pe===B,Xe=P+Te===ye,Ze=Te>1;if(Ze&&(b[P]={[Oe]:[]}),pe>1||Ze)for(let Wt=P;Wt{le(be,T.tmNode)}})]:null,Be.type==="selection"?G?null:Be.multiple===!1?v(UU,{key:x,rowKey:be,disabled:T.tmNode.disabled,onUpdateChecked:()=>{ce(T.tmNode)}}):v(VU,{key:x,rowKey:be,disabled:T.tmNode.disabled,onUpdateChecked:(Wt,_e)=>{Q(T.tmNode,Wt,_e.shiftKey)}}):Be.type==="expand"?G?null:!Be.expandable||!((Fe=Be.expandable)===null||Fe===void 0)&&Fe.call(Be,Ce)?v(j0,{clsPrefix:n,expanded:we,renderExpandIcon:this.renderExpandIcon,onClick:()=>{le(be,null)}}):null:v(jU,{clsPrefix:n,index:oe,row:Ce,column:Be,isSummary:G,mergedTheme:k,renderCell:this.renderCell}))}))};return o?v(sw,{ref:"virtualListRef",items:J,itemSize:28,visibleItemsTag:qU,visibleItemsProps:{clsPrefix:n,id:M,cols:m,onMouseleave:z},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:T,index:P})=>Ne(T,P,!0)}):v("table",{class:`${n}-data-table-table`,onMouseleave:z,style:{tableLayout:this.mergedTableLayout}},v("colgroup",null,m.map(T=>v("col",{key:T.key,style:T.style}))),this.showHeader?v(A2,{discrete:!1}):null,this.empty?null:v("tbody",{"data-n-id":M,class:`${n}-data-table-tbody`},J.map((T,P)=>Ne(T,P,!1))))}});if(this.empty){const g=()=>v("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[v(m_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?v(it,null,h,g()):v(lr,{onResize:this.onResize},{default:g})}return h}}),GU=me({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=qe(To),l=N(null),c=N(null),u=N(null),d=N(!(n.value.length||t.value.length)),f=L(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function p(m){o.value=m.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:m}=l;return m?m.$el:null}function g(){const{value:m}=c;return m?m.getScrollContainer():null}const b={getBodyElement:g,getHeaderElement:h,scrollTo(m,y){var k;(k=c.value)===null||k===void 0||k.scrollTo(m,y)}};return tn(()=>{const{value:m}=u;if(!m)return;const y=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{m.classList.remove(y)},0):m.classList.add(y)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:p},b)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return v("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:v(A2,{ref:"headerInstRef"}),v(KU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function YU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=N(e.defaultCheckedRowKeys),a=L(()=>{var w;const{checkedRowKeys:x}=e,C=x===void 0?i.value:x;return((w=r.value)===null||w===void 0?void 0:w.multiple)===!1?{checkedKeys:C.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(C,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=L(()=>a.value.checkedKeys),l=L(()=>a.value.indeterminateKeys),c=L(()=>new Set(s.value)),u=L(()=>new Set(l.value)),d=L(()=>{const{value:w}=c;return n.value.reduce((x,C)=>{const{key:_,disabled:R}=C;return x+(!R&&w.has(_)?1:0)},0)}),f=L(()=>n.value.filter(w=>w.disabled).length),p=L(()=>{const{length:w}=n.value,{value:x}=u;return d.value>0&&d.valuex.has(C.key))}),h=L(()=>{const{length:w}=n.value;return d.value!==0&&d.value===w-f.value}),g=L(()=>n.value.length===0);function b(w,x,C){const{"onUpdate:checkedRowKeys":_,onUpdateCheckedRowKeys:R,onCheckedRowKeysChange:E}=e,M=[],{value:{getNode:A}}=o;w.forEach(q=>{var F;const z=(F=A(q))===null||F===void 0?void 0:F.rawNode;M.push(z)}),_&&Pe(_,w,M,{row:x,action:C}),R&&Pe(R,w,M,{row:x,action:C}),E&&Pe(E,w,M,{row:x,action:C}),i.value=w}function m(w,x=!1,C){if(!e.loading){if(x){b(Array.isArray(w)?w.slice(0,1):[w],C,"check");return}b(o.value.check(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,C,"check")}}function y(w,x){e.loading||b(o.value.uncheck(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function k(w=!1){const{value:x}=r;if(!x||e.loading)return;const C=[];(w?o.value.treeNodes:n.value).forEach(_=>{_.disabled||C.push(_.key)}),b(o.value.check(C,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function S(w=!1){const{value:x}=r;if(!x||e.loading)return;const C=[];(w?o.value.treeNodes:n.value).forEach(_=>{_.disabled||C.push(_.key)}),b(o.value.uncheck(C,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:p,allRowsCheckedRef:h,headerCheckboxDisabledRef:g,doUpdateCheckedRowKeys:b,doCheckAll:k,doUncheckAll:S,doCheck:m,doUncheck:y}}function Nl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function XU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?ZU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function ZU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function JU(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(p=>{var h;p.sorter!==void 0&&f(o,{columnKey:p.key,sorter:p.sorter,order:(h=p.defaultSortOrder)!==null&&h!==void 0?h:!1})});const r=N(o),i=L(()=>{const p=t.value.filter(b=>b.type!=="selection"&&b.sorter!==void 0&&(b.sortOrder==="ascend"||b.sortOrder==="descend"||b.sortOrder===!1)),h=p.filter(b=>b.sortOrder!==!1);if(h.length)return h.map(b=>({columnKey:b.key,order:b.sortOrder,sorter:b.sorter}));if(p.length)return[];const{value:g}=r;return Array.isArray(g)?g:g?[g]:[]}),a=L(()=>{const p=i.value.slice().sort((h,g)=>{const b=Nl(h.sorter)||0;return(Nl(g.sorter)||0)-b});return p.length?n.value.slice().sort((g,b)=>{let m=0;return p.some(y=>{const{columnKey:k,sorter:S,order:w}=y,x=XU(S,k);return x&&w&&(m=x(g.rawNode,b.rawNode),m!==0)?(m=m*hU(w),!0):!1}),m}):n.value});function s(p){let h=i.value.slice();return p&&Nl(p.sorter)!==!1?(h=h.filter(g=>Nl(g.sorter)!==!1),f(h,p),h):p||null}function l(p){const h=s(p);c(h)}function c(p){const{"onUpdate:sorter":h,onUpdateSorter:g,onSorterChange:b}=e;h&&Pe(h,p),g&&Pe(g,p),b&&Pe(b,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const g=t.value.find(m=>m.type!=="selection"&&m.type!=="expand"&&m.key===p);if(!(g!=null&&g.sorter))return;const b=g.sorter;l({columnKey:p,sorter:b,order:h})}}function d(){c(null)}function f(p,h){const g=p.findIndex(b=>(h==null?void 0:h.columnKey)&&b.columnKey===h.columnKey);g!==void 0&&g>=0?p[g]=h:p.push(h)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function QU(e,{dataRelatedColsRef:t}){const n=L(()=>{const B=$=>{for(let I=0;I<$.length;++I){const K=$[I];if("children"in K)return B(K.children);if(K.type==="selection")return K}return null};return B(e.columns)}),o=L(()=>{const{childrenKey:B}=e;return bi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:$=>$[B],getDisabled:$=>{var I,K;return!!(!((K=(I=n.value)===null||I===void 0?void 0:I.disabled)===null||K===void 0)&&K.call(I,$))}})}),r=St(()=>{const{columns:B}=e,{length:$}=B;let I=null;for(let K=0;K<$;++K){const ne=B[K];if(!ne.type&&I===null&&(I=K),"tree"in ne&&ne.tree)return K}return I||0}),i=N({}),{pagination:a}=e,s=N(a&&a.defaultPage||1),l=N(i2(a)),c=L(()=>{const B=t.value.filter(K=>K.filterOptionValues!==void 0||K.filterOptionValue!==void 0),$={};return B.forEach(K=>{var ne;K.type==="selection"||K.type==="expand"||(K.filterOptionValues===void 0?$[K.key]=(ne=K.filterOptionValue)!==null&&ne!==void 0?ne:null:$[K.key]=K.filterOptionValues)}),Object.assign(F0(i.value),$)}),u=L(()=>{const B=c.value,{columns:$}=e;function I(ve){return(J,ye)=>!!~String(ye[ve]).indexOf(String(J))}const{value:{treeNodes:K}}=o,ne=[];return $.forEach(ve=>{ve.type==="selection"||ve.type==="expand"||"children"in ve||ne.push([ve.key,ve])}),K?K.filter(ve=>{const{rawNode:J}=ve;for(const[ye,j]of ne){let ge=B[ye];if(ge==null||(Array.isArray(ge)||(ge=[ge]),!ge.length))continue;const Ee=j.filter==="default"?I(ye):j.filter;if(j&&typeof Ee=="function")if(j.filterMode==="and"){if(ge.some(Ne=>!Ee(Ne,J)))return!1}else{if(ge.some(Ne=>Ee(Ne,J)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:p,sort:h,clearSorter:g}=JU(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(B=>{var $;if(B.filter){const I=B.defaultFilterOptionValues;B.filterMultiple?i.value[B.key]=I||[]:I!==void 0?i.value[B.key]=I===null?[]:I:i.value[B.key]=($=B.defaultFilterOptionValue)!==null&&$!==void 0?$:null}});const b=L(()=>{const{pagination:B}=e;if(B!==!1)return B.page}),m=L(()=>{const{pagination:B}=e;if(B!==!1)return B.pageSize}),y=ln(b,s),k=ln(m,l),S=St(()=>{const B=y.value;return e.remote?B:Math.max(1,Math.min(Math.ceil(u.value.length/k.value),B))}),w=L(()=>{const{pagination:B}=e;if(B){const{pageCount:$}=B;if($!==void 0)return $}}),x=L(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const B=k.value,$=(S.value-1)*B;return d.value.slice($,$+B)}),C=L(()=>x.value.map(B=>B.rawNode));function _(B){const{pagination:$}=e;if($){const{onChange:I,"onUpdate:page":K,onUpdatePage:ne}=$;I&&Pe(I,B),ne&&Pe(ne,B),K&&Pe(K,B),A(B)}}function R(B){const{pagination:$}=e;if($){const{onPageSizeChange:I,"onUpdate:pageSize":K,onUpdatePageSize:ne}=$;I&&Pe(I,B),ne&&Pe(ne,B),K&&Pe(K,B),q(B)}}const E=L(()=>{if(e.remote){const{pagination:B}=e;if(B){const{itemCount:$}=B;if($!==void 0)return $}return}return u.value.length}),M=L(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":_,"onUpdate:pageSize":R,page:S.value,pageSize:k.value,pageCount:E.value===void 0?w.value:void 0,itemCount:E.value}));function A(B){const{"onUpdate:page":$,onPageChange:I,onUpdatePage:K}=e;K&&Pe(K,B),$&&Pe($,B),I&&Pe(I,B),s.value=B}function q(B){const{"onUpdate:pageSize":$,onPageSizeChange:I,onUpdatePageSize:K}=e;I&&Pe(I,B),K&&Pe(K,B),$&&Pe($,B),l.value=B}function F(B,$){const{onUpdateFilters:I,"onUpdate:filters":K,onFiltersChange:ne}=e;I&&Pe(I,B,$),K&&Pe(K,B,$),ne&&Pe(ne,B,$),i.value=B}function z(B,$,I,K){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,B,$,I,K)}function D(B){A(B)}function Y(){Q()}function Q(){ce({})}function ce(B){le(B)}function le(B){B?B&&(i.value=F0(B)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:M,paginatedDataRef:x,rawPaginatedDataRef:C,mergedFilterStateRef:c,mergedSortStateRef:p,hoverKeyRef:N(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:F,deriveNextSorter:f,doUpdatePageSize:q,doUpdatePage:A,onUnstableColumnResize:z,filter:le,filters:ce,clearFilter:Y,clearFilters:Q,clearSorter:g,page:D,sort:h}}function eW(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=N(),a=N(null),s=N([]),l=N(null),c=N([]),u=L(()=>qt(e.scrollX)),d=L(()=>e.columns.filter(R=>R.fixed==="left")),f=L(()=>e.columns.filter(R=>R.fixed==="right")),p=L(()=>{const R={};let E=0;function M(A){A.forEach(q=>{const F={start:E,end:0};R[go(q)]=F,"children"in q?(M(q.children),F.end=E):(E+=L0(q)||0,F.end=E)})}return M(d.value),R}),h=L(()=>{const R={};let E=0;function M(A){for(let q=A.length-1;q>=0;--q){const F=A[q],z={start:E,end:0};R[go(F)]=z,"children"in F?(M(F.children),z.end=E):(E+=L0(F)||0,z.end=E)}}return M(f.value),R});function g(){var R,E;const{value:M}=d;let A=0;const{value:q}=p;let F=null;for(let z=0;z(((R=q[D])===null||R===void 0?void 0:R.start)||0)-A)F=D,A=((E=q[D])===null||E===void 0?void 0:E.end)||0;else break}a.value=F}function b(){s.value=[];let R=e.columns.find(E=>go(E)===a.value);for(;R&&"children"in R;){const E=R.children.length;if(E===0)break;const M=R.children[E-1];s.value.push(go(M)),R=M}}function m(){var R,E;const{value:M}=f,A=Number(e.scrollX),{value:q}=o;if(q===null)return;let F=0,z=null;const{value:D}=h;for(let Y=M.length-1;Y>=0;--Y){const Q=go(M[Y]);if(Math.round(r+(((R=D[Q])===null||R===void 0?void 0:R.start)||0)+q-F)go(E)===l.value);for(;R&&"children"in R&&R.children.length;){const E=R.children[0];c.value.push(go(E)),R=E}}function k(){const R=t.value?t.value.getHeaderElement():null,E=t.value?t.value.getBodyElement():null;return{header:R,body:E}}function S(){const{body:R}=k();R&&(R.scrollTop=0)}function w(){i.value!=="body"?Sc(C):i.value=void 0}function x(R){var E;(E=e.onScroll)===null||E===void 0||E.call(e,R),i.value!=="head"?Sc(C):i.value=void 0}function C(){const{header:R,body:E}=k();if(!E)return;const{value:M}=o;if(M!==null){if(e.maxHeight||e.flexHeight){if(!R)return;const A=r-R.scrollLeft;i.value=A!==0?"head":"body",i.value==="head"?(r=R.scrollLeft,E.scrollLeft=r):(r=E.scrollLeft,R.scrollLeft=r)}else r=E.scrollLeft;g(),b(),m(),y()}}function _(R){const{header:E}=k();E&&(E.scrollLeft=R,C())}return ht(n,()=>{S()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:C,handleTableBodyScroll:x,handleTableHeaderScroll:w,setHeaderScrollLeft:_}}function tW(){const e=N({});function t(r){return e.value[r]}function n(r,i){w2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function nW(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,p){p>a&&(n[p]=[],a=p);for(const h of f)if("children"in h)c(h.children,p+1);else{const g="key"in h?h.key:void 0;o.push({key:go(h),style:mU(h,g!==void 0?qt(t(g)):void 0),column:h}),s+=1,l||(l=!!h.ellipsis),r.push(h)}}c(e,0);let u=0;function d(f,p){let h=0;f.forEach((g,b)=>{var m;if("children"in g){const y=u,k={column:g,colSpan:0,rowSpan:1,isLast:!1};d(g.children,p+1),g.children.forEach(S=>{var w,x;k.colSpan+=(x=(w=i.get(S))===null||w===void 0?void 0:w.colSpan)!==null&&x!==void 0?x:0}),y+k.colSpan===s&&(k.isLast=!0),i.set(g,k),n[p].push(k)}else{if(u1&&(h=u+y);const k=u+y===s,S={column:g,colSpan:y,rowSpan:a-p+1,isLast:k};i.set(g,S),n[p].push(S),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function oW(e,t){const n=L(()=>nW(e.columns,t));return{rowsRef:L(()=>n.value.rows),colsRef:L(()=>n.value.cols),hasEllipsisRef:L(()=>n.value.hasEllipsis),dataRelatedColsRef:L(()=>n.value.dataRelatedCols)}}function rW(e,t){const n=St(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=St(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=N(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(u=>{var d;!((d=o.value)===null||d===void 0)&&d.call(o,u.rawNode)&&c.push(u.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=Ue(e,"expandedRowKeys"),a=Ue(e,"stickyExpandedRows"),s=ln(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&Pe(u,c),d&&Pe(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const V0=aW(),iW=W([O("data-table",` + `)])]),LU={animated:{type:Boolean,default:!0},keyboard:{type:Boolean,default:!0},size:{type:String,default:"medium"},inverted:Boolean,placement:{type:String,default:"bottom"},onSelect:[Function,Array],options:{type:Array,default:()=>[]},menuProps:Function,showArrow:Boolean,renderLabel:Function,renderIcon:Function,renderOption:Function,nodeProps:Function,labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},value:[String,Number]},FU=Object.keys(Ra),NU=Object.assign(Object.assign(Object.assign({},Ra),LU),He.props),dm=me({name:"Dropdown",inheritAttrs:!1,props:NU,setup(e){const t=N(!1),n=ln(Ue(e,"show"),t),o=L(()=>{const{keyField:A,childrenField:q}=e;return bi(e.options,{getKey(F){return F[A]},getDisabled(F){return F.disabled===!0},getIgnored(F){return F.type==="divider"||F.type==="render"},getChildren(F){return F[q]}})}),r=L(()=>o.value.treeNodes),i=N(null),a=N(null),s=N(null),l=L(()=>{var A,q,F;return(F=(q=(A=i.value)!==null&&A!==void 0?A:a.value)!==null&&q!==void 0?q:s.value)!==null&&F!==void 0?F:null}),c=L(()=>o.value.getPath(l.value).keyPath),u=L(()=>o.value.getPath(e.value).keyPath),d=St(()=>e.keyboard&&n.value);M6({keydown:{ArrowUp:{prevent:!0,handler:w},ArrowRight:{prevent:!0,handler:S},ArrowDown:{prevent:!0,handler:x},ArrowLeft:{prevent:!0,handler:k},Enter:{prevent:!0,handler:C},Escape:y}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:p}=at(e),h=He("Dropdown","-dropdown",DU,sm,e,f);lt(Mu,{labelFieldRef:Ue(e,"labelField"),childrenFieldRef:Ue(e,"childrenField"),renderLabelRef:Ue(e,"renderLabel"),renderIconRef:Ue(e,"renderIcon"),hoverKeyRef:i,keyboardKeyRef:a,lastToggledSubmenuKeyRef:s,pendingKeyPathRef:c,activeKeyPathRef:u,animatedRef:Ue(e,"animated"),mergedShowRef:n,nodePropsRef:Ue(e,"nodeProps"),renderOptionRef:Ue(e,"renderOption"),menuPropsRef:Ue(e,"menuProps"),doSelect:g,doUpdateShow:b}),ht(n,A=>{!e.animated&&!A&&m()});function g(A,q){const{onSelect:F}=e;F&&Pe(F,A,q)}function b(A){const{"onUpdate:show":q,onUpdateShow:F}=e;q&&Pe(q,A),F&&Pe(F,A),t.value=A}function m(){i.value=null,a.value=null,s.value=null}function y(){b(!1)}function k(){R("left")}function S(){R("right")}function w(){R("up")}function x(){R("down")}function C(){const A=_();A!=null&&A.isLeaf&&n.value&&(g(A.key,A.rawNode),b(!1))}function _(){var A;const{value:q}=o,{value:F}=l;return!q||F===null?null:(A=q.getNode(F))!==null&&A!==void 0?A:null}function R(A){const{value:q}=l,{value:{getFirstAvailableNode:F}}=o;let z=null;if(q===null){const D=F();D!==null&&(z=D.key)}else{const D=_();if(D){let Y;switch(A){case"down":Y=D.getNext();break;case"up":Y=D.getPrev();break;case"right":Y=D.getChild();break;case"left":Y=D.getParent();break}Y&&(z=Y.key)}}z!==null&&(i.value=null,a.value=z)}const E=L(()=>{const{size:A,inverted:q}=e,{common:{cubicBezierEaseInOut:F},self:z}=h.value,{padding:D,dividerColor:Y,borderRadius:Q,optionOpacityDisabled:ce,[Se("optionIconSuffixWidth",A)]:le,[Se("optionSuffixWidth",A)]:B,[Se("optionIconPrefixWidth",A)]:$,[Se("optionPrefixWidth",A)]:I,[Se("fontSize",A)]:K,[Se("optionHeight",A)]:ne,[Se("optionIconSize",A)]:ve}=z,J={"--n-bezier":F,"--n-font-size":K,"--n-padding":D,"--n-border-radius":Q,"--n-option-height":ne,"--n-option-prefix-width":I,"--n-option-icon-prefix-width":$,"--n-option-suffix-width":B,"--n-option-icon-suffix-width":le,"--n-option-icon-size":ve,"--n-divider-color":Y,"--n-option-opacity-disabled":ce};return q?(J["--n-color"]=z.colorInverted,J["--n-option-color-hover"]=z.optionColorHoverInverted,J["--n-option-color-active"]=z.optionColorActiveInverted,J["--n-option-text-color"]=z.optionTextColorInverted,J["--n-option-text-color-hover"]=z.optionTextColorHoverInverted,J["--n-option-text-color-active"]=z.optionTextColorActiveInverted,J["--n-option-text-color-child-active"]=z.optionTextColorChildActiveInverted,J["--n-prefix-color"]=z.prefixColorInverted,J["--n-suffix-color"]=z.suffixColorInverted,J["--n-group-header-text-color"]=z.groupHeaderTextColorInverted):(J["--n-color"]=z.color,J["--n-option-color-hover"]=z.optionColorHover,J["--n-option-color-active"]=z.optionColorActive,J["--n-option-text-color"]=z.optionTextColor,J["--n-option-text-color-hover"]=z.optionTextColorHover,J["--n-option-text-color-active"]=z.optionTextColorActive,J["--n-option-text-color-child-active"]=z.optionTextColorChildActive,J["--n-prefix-color"]=z.prefixColor,J["--n-suffix-color"]=z.suffixColor,J["--n-group-header-text-color"]=z.groupHeaderTextColor),J}),M=p?kt("dropdown",L(()=>`${e.size[0]}${e.inverted?"i":""}`),E,e):void 0;return{mergedClsPrefix:f,mergedTheme:h,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&m()},doUpdateShow:b,cssVars:p?void 0:E,themeClass:M==null?void 0:M.themeClass,onRender:M==null?void 0:M.onRender}},render(){const e=(o,r,i,a,s)=>{var l;const{mergedClsPrefix:c,menuProps:u}=this;(l=this.onRender)===null||l===void 0||l.call(this);const d=(u==null?void 0:u(void 0,this.tmNodes.map(p=>p.rawNode)))||{},f={ref:$C(r),class:[o,`${c}-dropdown`,this.themeClass],clsPrefix:c,tmNodes:this.tmNodes,style:[...i,this.cssVars],showArrow:this.showArrow,arrowStyle:this.arrowStyle,scrollable:this.scrollable,onMouseenter:a,onMouseleave:s};return v(_2,Dn(this.$attrs,f,d))},{mergedTheme:t}=this,n={show:this.mergedShow,theme:t.peers.Popover,themeOverrides:t.peerOverrides.Popover,internalOnAfterLeave:this.handleAfterLeave,internalRenderBody:e,onUpdateShow:this.doUpdateShow,"onUpdate:show":void 0};return v(ll,Object.assign({},Xn(this.$props,FU),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),S2="_n_all__",k2="_n_none__";function BU(e,t,n,o){return e?r=>{for(const i of e)switch(r){case S2:n(!0);return;case k2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function HU(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:S2};case"none":return{label:t.uncheckTableAll,key:k2};default:return n}}):[]}const jU=me({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=qe(To),s=L(()=>BU(o.value,r,i,a)),l=L(()=>HU(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:p}=e;return v(dm,{theme:(u=(c=t.theme)===null||c===void 0?void 0:c.peers)===null||u===void 0?void 0:u.Dropdown,themeOverrides:(f=(d=t.themeOverrides)===null||d===void 0?void 0:d.peers)===null||f===void 0?void 0:f.Dropdown,options:l.value,onSelect:s.value},{default:()=>v(Ut,{clsPrefix:p,class:`${p}-data-table-check-extra`},{default:()=>v(r_,null)})})}}});function Wd(e){return typeof e.title=="function"?e.title(e):e.title}const T2=me({name:"DataTableHeader",props:{discrete:{type:Boolean,default:!0}},setup(){const{mergedClsPrefixRef:e,scrollXRef:t,fixedColumnLeftMapRef:n,fixedColumnRightMapRef:o,mergedCurrentPageRef:r,allRowsCheckedRef:i,someRowsCheckedRef:a,rowsRef:s,colsRef:l,mergedThemeRef:c,checkOptionsRef:u,mergedSortStateRef:d,componentId:f,mergedTableLayoutRef:p,headerCheckboxDisabledRef:h,onUnstableColumnResize:g,doUpdateResizableWidth:b,handleTableHeaderScroll:m,deriveNextSorter:y,doUncheckAll:k,doCheckAll:S}=qe(To),w=N({});function x(A){const q=w.value[A];return q==null?void 0:q.getBoundingClientRect().width}function C(){i.value?k():S()}function _(A,q){if(Vo(A,"dataTableFilter")||Vo(A,"dataTableResizable")||!Ud(q))return;const F=d.value.find(D=>D.columnKey===q.key)||null,z=bU(q,F);y(z)}const R=new Map;function E(A){R.set(A.key,x(A.key))}function M(A,q){const F=R.get(A.key);if(F===void 0)return;const z=F+q,D=mU(z,A.minWidth,A.maxWidth);g(z,D,A,x),b(A,D)}return{cellElsRef:w,componentId:f,mergedSortState:d,mergedClsPrefix:e,scrollX:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,mergedTableLayout:p,headerCheckboxDisabled:h,handleCheckboxUpdateChecked:C,handleColHeaderClick:_,handleTableHeaderScroll:m,handleColumnResizeStart:E,handleColumnResize:M}},render(){const{cellElsRef:e,mergedClsPrefix:t,fixedColumnLeftMap:n,fixedColumnRightMap:o,currentPage:r,allRowsChecked:i,someRowsChecked:a,rows:s,cols:l,mergedTheme:c,checkOptions:u,componentId:d,discrete:f,mergedTableLayout:p,headerCheckboxDisabled:h,mergedSortState:g,handleColHeaderClick:b,handleCheckboxUpdateChecked:m,handleColumnResizeStart:y,handleColumnResize:k}=this,S=v("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(C=>v("tr",{class:`${t}-data-table-tr`},C.map(({column:_,colSpan:R,rowSpan:E,isLast:M})=>{var A,q;const F=go(_),{ellipsis:z}=_,D=()=>_.type==="selection"?_.multiple!==!1?v(it,null,v(ul,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:h,onUpdateChecked:m}),u?v(jU,{clsPrefix:t}):null):null:v(it,null,v("div",{class:`${t}-data-table-th__title-wrapper`},v("div",{class:`${t}-data-table-th__title`},z===!0||z&&!z.tooltip?v("div",{class:`${t}-data-table-th__ellipsis`},Wd(_)):z&&typeof z=="object"?v(cm,Object.assign({},z,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>Wd(_)}):Wd(_)),Ud(_)?v(iU,{column:_}):null),N0(_)?v(_U,{column:_,options:_.filterOptions}):null,v2(_)?v(SU,{onResizeStart:()=>{y(_)},onResize:ce=>{k(_,ce)}}):null),Y=F in n,Q=F in o;return v("th",{ref:ce=>e[F]=ce,key:F,style:{textAlign:_.titleAlign||_.align,left:zn((A=n[F])===null||A===void 0?void 0:A.start),right:zn((q=o[F])===null||q===void 0?void 0:q.start)},colspan:R,rowspan:E,"data-col-key":F,class:[`${t}-data-table-th`,(Y||Q)&&`${t}-data-table-th--fixed-${Y?"left":"right"}`,{[`${t}-data-table-th--hover`]:b2(_,g),[`${t}-data-table-th--filterable`]:N0(_),[`${t}-data-table-th--sortable`]:Ud(_),[`${t}-data-table-th--selection`]:_.type==="selection",[`${t}-data-table-th--last`]:M},_.className],onClick:_.type!=="selection"&&_.type!=="expand"&&!("children"in _)?ce=>{b(ce,_)}:void 0},D())}))));if(!f)return S;const{handleTableHeaderScroll:w,scrollX:x}=this;return v("div",{class:`${t}-data-table-base-table-header`,onScroll:w},v("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(x),tableLayout:p}},v("colgroup",null,l.map(C=>v("col",{key:C.key,style:C.style}))),S))}}),VU=me({name:"DataTableCell",props:{clsPrefix:{type:String,required:!0},row:{type:Object,required:!0},index:{type:Number,required:!0},column:{type:Object,required:!0},isSummary:Boolean,mergedTheme:{type:Object,required:!0},renderCell:Function},render(){var e;const{isSummary:t,column:n,row:o,renderCell:r}=this;let i;const{render:a,key:s,ellipsis:l}=n;if(a&&!t?i=a(o,this.index):t?i=(e=o[s])===null||e===void 0?void 0:e.value:i=r?r(ch(o,s),o,n):ch(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?v(nU,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):v(cm,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i})}else return v("span",{class:`${this.clsPrefix}-data-table-td__ellipsis`},i);return i}}),j0=me({name:"DataTableExpandTrigger",props:{clsPrefix:{type:String,required:!0},expanded:Boolean,loading:Boolean,onClick:{type:Function,required:!0},renderExpandIcon:{type:Function}},render(){const{clsPrefix:e}=this;return v("div",{class:[`${e}-data-table-expand-trigger`,this.expanded&&`${e}-data-table-expand-trigger--expanded`],onClick:this.onClick,onMousedown:t=>{t.preventDefault()}},v(Hi,null,{default:()=>this.loading?v(Xr,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):v(Ut,{clsPrefix:e,key:"base-icon"},{default:()=>v(Yp,null)})}))}}),UU=me({name:"DataTableBodyCheckbox",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,mergedInderminateRowKeySetRef:n}=qe(To);return()=>{const{rowKey:o}=e;return v(ul,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),WU=me({name:"DataTableBodyRadio",props:{rowKey:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!0},onUpdateChecked:{type:Function,required:!0}},setup(e){const{mergedCheckedRowKeySetRef:t,componentId:n}=qe(To);return()=>{const{rowKey:o}=e;return v(h2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function qU(e,t){const n=[];function o(r,i){r.forEach(a=>{a.children&&t.has(a.key)?(n.push({tmNode:a,striped:!1,key:a.key,index:i}),o(a.children,i)):n.push({key:a.key,tmNode:a,striped:!1,index:i})})}return e.forEach(r=>{n.push(r);const{children:i}=r.tmNode;i&&t.has(r.key)&&o(i,r.index)}),n}const KU=me({props:{clsPrefix:{type:String,required:!0},id:{type:String,required:!0},cols:{type:Array,required:!0},onMouseenter:Function,onMouseleave:Function},render(){const{clsPrefix:e,id:t,cols:n,onMouseenter:o,onMouseleave:r}=this;return v("table",{style:{tableLayout:"fixed"},class:`${e}-data-table-table`,onMouseenter:o,onMouseleave:r},v("colgroup",null,n.map(i=>v("col",{key:i.key,style:i.style}))),v("tbody",{"data-n-id":t,class:`${e}-data-table-tbody`},this.$slots))}}),GU=me({name:"DataTableBody",props:{onResize:Function,showHeader:Boolean,flexHeight:Boolean,bodyStyle:Object},setup(e){const{slots:t,bodyWidthRef:n,mergedExpandedRowKeysRef:o,mergedClsPrefixRef:r,mergedThemeRef:i,scrollXRef:a,colsRef:s,paginatedDataRef:l,rawPaginatedDataRef:c,fixedColumnLeftMapRef:u,fixedColumnRightMapRef:d,mergedCurrentPageRef:f,rowClassNameRef:p,leftActiveFixedColKeyRef:h,leftActiveFixedChildrenColKeysRef:g,rightActiveFixedColKeyRef:b,rightActiveFixedChildrenColKeysRef:m,renderExpandRef:y,hoverKeyRef:k,summaryRef:S,mergedSortStateRef:w,virtualScrollRef:x,componentId:C,mergedTableLayoutRef:_,childTriggerColIndexRef:R,indentRef:E,rowPropsRef:M,maxHeightRef:A,stripedRef:q,loadingRef:F,onLoadRef:z,loadingKeySetRef:D,expandableRef:Y,stickyExpandedRowsRef:Q,renderExpandIconRef:ce,summaryPlacementRef:le,treeMateRef:B,scrollbarPropsRef:$,setHeaderScrollLeft:I,doUpdateExpandedRowKeys:K,handleTableBodyScroll:ne,doCheck:ve,doUncheck:J,renderCell:ye}=qe(To),j=N(null),ge=N(null),Ee=N(null),Ne=St(()=>l.value.length===0),T=St(()=>e.showHeader||!Ne.value),P=St(()=>e.showHeader||Ne.value);let U="";const oe=L(()=>new Set(o.value));function G($e){var Me;return(Me=B.value.getNode($e))===null||Me===void 0?void 0:Me.rawNode}function se($e,Me,Fe){const Be=G($e.key);if(!Be){sr("data-table",`fail to get row data with key ${$e.key}`);return}if(Fe){const ot=l.value.findIndex(xt=>xt.key===U);if(ot!==-1){const xt=l.value.findIndex(Ke=>Ke.key===$e.key),X=Math.min(ot,xt),pe=Math.max(ot,xt),Te=[];l.value.slice(X,pe+1).forEach(Ke=>{Ke.disabled||Te.push(Ke.key)}),Me?ve(Te,!1,Be):J(Te,Be),U=$e.key;return}}Me?ve($e.key,!1,Be):J($e.key,Be),U=$e.key}function xe($e){const Me=G($e.key);if(!Me){sr("data-table",`fail to get row data with key ${$e.key}`);return}ve($e.key,!0,Me)}function be(){if(!T.value){const{value:Me}=Ee;return Me||null}if(x.value)return Re();const{value:$e}=j;return $e?$e.containerRef:null}function Ce($e,Me){var Fe;if(D.value.has($e))return;const{value:Be}=o,ot=Be.indexOf($e),xt=Array.from(Be);~ot?(xt.splice(ot,1),K(xt)):Me&&!Me.isLeaf&&!Me.shallowLoaded?(D.value.add($e),(Fe=z.value)===null||Fe===void 0||Fe.call(z,Me.rawNode).then(()=>{const{value:X}=o,pe=Array.from(X);~pe.indexOf($e)||pe.push($e),K(pe)}).finally(()=>{D.value.delete($e)})):(xt.push($e),K(xt))}function we(){k.value=null}function Re(){const{value:$e}=ge;return($e==null?void 0:$e.listElRef)||null}function de(){const{value:$e}=ge;return($e==null?void 0:$e.itemsElRef)||null}function ee($e){var Me;ne($e),(Me=j.value)===null||Me===void 0||Me.sync()}function fe($e){var Me;const{onResize:Fe}=e;Fe&&Fe($e),(Me=j.value)===null||Me===void 0||Me.sync()}const Oe={getScrollContainer:be,scrollTo($e,Me){var Fe,Be;x.value?(Fe=ge.value)===null||Fe===void 0||Fe.scrollTo($e,Me):(Be=j.value)===null||Be===void 0||Be.scrollTo($e,Me)}},Le=W([({props:$e})=>{const Me=Be=>Be===null?null:W(`[data-n-id="${$e.componentId}"] [data-col-key="${Be}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),Fe=Be=>Be===null?null:W(`[data-n-id="${$e.componentId}"] [data-col-key="${Be}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return W([Me($e.leftActiveFixedColKey),Fe($e.rightActiveFixedColKey),$e.leftActiveFixedChildrenColKeys.map(Be=>Me(Be)),$e.rightActiveFixedChildrenColKeys.map(Be=>Fe(Be))])}]);let De=!1;return tn(()=>{const{value:$e}=h,{value:Me}=g,{value:Fe}=b,{value:Be}=m;if(!De&&$e===null&&Fe===null)return;const ot={leftActiveFixedColKey:$e,leftActiveFixedChildrenColKeys:Me,rightActiveFixedColKey:Fe,rightActiveFixedChildrenColKeys:Be,componentId:C};Le.mount({id:`n-${C}`,force:!0,props:ot,anchorMetaName:Pa}),De=!0}),Ys(()=>{Le.unmount({id:`n-${C}`})}),Object.assign({bodyWidth:n,summaryPlacement:le,dataTableSlots:t,componentId:C,scrollbarInstRef:j,virtualListRef:ge,emptyElRef:Ee,summary:S,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:F,bodyShowHeaderOnly:P,shouldDisplaySomeTablePart:T,empty:Ne,paginatedDataAndInfo:L(()=>{const{value:$e}=q;let Me=!1;return{data:l.value.map($e?(Be,ot)=>(Be.isLeaf||(Me=!0),{tmNode:Be,key:Be.key,striped:ot%2===1,index:ot}):(Be,ot)=>(Be.isLeaf||(Me=!0),{tmNode:Be,key:Be.key,striped:!1,index:ot})),hasChildren:Me}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:p,renderExpand:y,mergedExpandedRowKeySet:oe,hoverKey:k,mergedSortState:w,virtualScroll:x,mergedTableLayout:_,childTriggerColIndex:R,indent:E,rowProps:M,maxHeight:A,loadingKeySet:D,expandable:Y,stickyExpandedRows:Q,renderExpandIcon:ce,scrollbarProps:$,setHeaderScrollLeft:I,handleVirtualListScroll:ee,handleVirtualListResize:fe,handleMouseleaveTable:we,virtualListContainer:Re,virtualListContent:de,handleTableBodyScroll:ne,handleCheckboxUpdateChecked:se,handleRadioUpdateChecked:xe,handleUpdateExpanded:Ce,renderCell:ye},Oe)},render(){const{mergedTheme:e,scrollX:t,mergedClsPrefix:n,virtualScroll:o,maxHeight:r,mergedTableLayout:i,flexHeight:a,loadingKeySet:s,onResize:l,setHeaderScrollLeft:c}=this,u=t!==void 0||r!==void 0||a,d=!u&&i==="auto",f=t!==void 0||d,p={minWidth:qt(t)||"100%"};t&&(p.width="100%");const h=v(ko,Object.assign({},this.scrollbarProps,{ref:"scrollbarInstRef",scrollable:u||d,class:`${n}-data-table-base-table-body`,style:this.empty?void 0:this.bodyStyle,theme:e.peers.Scrollbar,themeOverrides:e.peerOverrides.Scrollbar,contentStyle:p,container:o?this.virtualListContainer:void 0,content:o?this.virtualListContent:void 0,horizontalRailStyle:{zIndex:3},verticalRailStyle:{zIndex:3},xScrollable:f,onScroll:o?void 0:this.handleTableBodyScroll,internalOnUpdateScrollLeft:c,onResize:l}),{default:()=>{const g={},b={},{cols:m,paginatedDataAndInfo:y,mergedTheme:k,fixedColumnLeftMap:S,fixedColumnRightMap:w,currentPage:x,rowClassName:C,mergedSortState:_,mergedExpandedRowKeySet:R,stickyExpandedRows:E,componentId:M,childTriggerColIndex:A,expandable:q,rowProps:F,handleMouseleaveTable:z,renderExpand:D,summary:Y,handleCheckboxUpdateChecked:Q,handleRadioUpdateChecked:ce,handleUpdateExpanded:le}=this,{length:B}=m;let $;const{data:I,hasChildren:K}=y,ne=K?qU(I,R):I;if(Y){const T=Y(this.rawPaginatedData);if(Array.isArray(T)){const P=T.map((U,oe)=>({isSummaryRow:!0,key:`__n_summary__${oe}`,tmNode:{rawNode:U,disabled:!0},index:-1}));$=this.summaryPlacement==="top"?[...P,...ne]:[...ne,...P]}else{const P={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:T,disabled:!0},index:-1};$=this.summaryPlacement==="top"?[P,...ne]:[...ne,P]}}else $=ne;const ve=K?{width:zn(this.indent)}:void 0,J=[];$.forEach(T=>{D&&R.has(T.key)&&(!q||q(T.tmNode.rawNode))?J.push(T,{isExpandedRow:!0,key:`${T.key}-expand`,tmNode:T.tmNode,index:T.index}):J.push(T)});const{length:ye}=J,j={};I.forEach(({tmNode:T},P)=>{j[P]=T.key});const ge=E?this.bodyWidth:null,Ee=ge===null?void 0:`${ge}px`,Ne=(T,P,U)=>{const{index:oe}=T;if("isExpandedRow"in T){const{tmNode:{key:fe,rawNode:Oe}}=T;return v("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${fe}__expand`},v("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,P+1===ye&&`${n}-data-table-td--last-row`],colspan:B},E?v("div",{class:`${n}-data-table-expand`,style:{width:Ee}},D(Oe,oe)):D(Oe,oe)))}const G="isSummaryRow"in T,se=!G&&T.striped,{tmNode:xe,key:be}=T,{rawNode:Ce}=xe,we=R.has(be),Re=F?F(Ce,oe):void 0,de=typeof C=="string"?C:vU(Ce,oe,C);return v("tr",Object.assign({onMouseenter:()=>{this.hoverKey=be},key:be,class:[`${n}-data-table-tr`,G&&`${n}-data-table-tr--summary`,se&&`${n}-data-table-tr--striped`,we&&`${n}-data-table-tr--expanded`,de]},Re),m.map((fe,Oe)=>{var Le,De,$e,Me,Fe;if(P in g){const Wt=g[P],_e=Wt.indexOf(Oe);if(~_e)return Wt.splice(_e,1),null}const{column:Be}=fe,ot=go(fe),{rowSpan:xt,colSpan:X}=Be,pe=G?((Le=T.tmNode.rawNode[ot])===null||Le===void 0?void 0:Le.colSpan)||1:X?X(Ce,oe):1,Te=G?((De=T.tmNode.rawNode[ot])===null||De===void 0?void 0:De.rowSpan)||1:xt?xt(Ce,oe):1,Ke=Oe+pe===B,Xe=P+Te===ye,Ze=Te>1;if(Ze&&(b[P]={[Oe]:[]}),pe>1||Ze)for(let Wt=P;Wt{le(be,T.tmNode)}})]:null,Be.type==="selection"?G?null:Be.multiple===!1?v(WU,{key:x,rowKey:be,disabled:T.tmNode.disabled,onUpdateChecked:()=>{ce(T.tmNode)}}):v(UU,{key:x,rowKey:be,disabled:T.tmNode.disabled,onUpdateChecked:(Wt,_e)=>{Q(T.tmNode,Wt,_e.shiftKey)}}):Be.type==="expand"?G?null:!Be.expandable||!((Fe=Be.expandable)===null||Fe===void 0)&&Fe.call(Be,Ce)?v(j0,{clsPrefix:n,expanded:we,renderExpandIcon:this.renderExpandIcon,onClick:()=>{le(be,null)}}):null:v(VU,{clsPrefix:n,index:oe,row:Ce,column:Be,isSummary:G,mergedTheme:k,renderCell:this.renderCell}))}))};return o?v(nw,{ref:"virtualListRef",items:J,itemSize:28,visibleItemsTag:KU,visibleItemsProps:{clsPrefix:n,id:M,cols:m,onMouseleave:z},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:p,itemResizable:!0},{default:({item:T,index:P})=>Ne(T,P,!0)}):v("table",{class:`${n}-data-table-table`,onMouseleave:z,style:{tableLayout:this.mergedTableLayout}},v("colgroup",null,m.map(T=>v("col",{key:T.key,style:T.style}))),this.showHeader?v(T2,{discrete:!1}):null,this.empty?null:v("tbody",{"data-n-id":M,class:`${n}-data-table-tbody`},J.map((T,P)=>Ne(T,P,!1))))}});if(this.empty){const g=()=>v("div",{class:[`${n}-data-table-empty`,this.loading&&`${n}-data-table-empty--hide`],style:this.bodyStyle,ref:"emptyElRef"},An(this.dataTableSlots.empty,()=>[v(u_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?v(it,null,h,g()):v(lr,{onResize:this.onResize},{default:g})}return h}}),YU=me({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=qe(To),l=N(null),c=N(null),u=N(null),d=N(!(n.value.length||t.value.length)),f=L(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function p(m){o.value=m.contentRect.width,s(),d.value||(d.value=!0)}function h(){const{value:m}=l;return m?m.$el:null}function g(){const{value:m}=c;return m?m.getScrollContainer():null}const b={getBodyElement:g,getHeaderElement:h,scrollTo(m,y){var k;(k=c.value)===null||k===void 0||k.scrollTo(m,y)}};return tn(()=>{const{value:m}=u;if(!m)return;const y=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{m.classList.remove(y)},0):m.classList.add(y)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:p},b)},render(){const{mergedClsPrefix:e,maxHeight:t,flexHeight:n}=this,o=t===void 0&&!n;return v("div",{class:`${e}-data-table-base-table`,ref:"selfElRef"},o?null:v(T2,{ref:"headerInstRef"}),v(GU,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function XU(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=N(e.defaultCheckedRowKeys),a=L(()=>{var w;const{checkedRowKeys:x}=e,C=x===void 0?i.value:x;return((w=r.value)===null||w===void 0?void 0:w.multiple)===!1?{checkedKeys:C.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(C,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=L(()=>a.value.checkedKeys),l=L(()=>a.value.indeterminateKeys),c=L(()=>new Set(s.value)),u=L(()=>new Set(l.value)),d=L(()=>{const{value:w}=c;return n.value.reduce((x,C)=>{const{key:_,disabled:R}=C;return x+(!R&&w.has(_)?1:0)},0)}),f=L(()=>n.value.filter(w=>w.disabled).length),p=L(()=>{const{length:w}=n.value,{value:x}=u;return d.value>0&&d.valuex.has(C.key))}),h=L(()=>{const{length:w}=n.value;return d.value!==0&&d.value===w-f.value}),g=L(()=>n.value.length===0);function b(w,x,C){const{"onUpdate:checkedRowKeys":_,onUpdateCheckedRowKeys:R,onCheckedRowKeysChange:E}=e,M=[],{value:{getNode:A}}=o;w.forEach(q=>{var F;const z=(F=A(q))===null||F===void 0?void 0:F.rawNode;M.push(z)}),_&&Pe(_,w,M,{row:x,action:C}),R&&Pe(R,w,M,{row:x,action:C}),E&&Pe(E,w,M,{row:x,action:C}),i.value=w}function m(w,x=!1,C){if(!e.loading){if(x){b(Array.isArray(w)?w.slice(0,1):[w],C,"check");return}b(o.value.check(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,C,"check")}}function y(w,x){e.loading||b(o.value.uncheck(w,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"uncheck")}function k(w=!1){const{value:x}=r;if(!x||e.loading)return;const C=[];(w?o.value.treeNodes:n.value).forEach(_=>{_.disabled||C.push(_.key)}),b(o.value.check(C,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function S(w=!1){const{value:x}=r;if(!x||e.loading)return;const C=[];(w?o.value.treeNodes:n.value).forEach(_=>{_.disabled||C.push(_.key)}),b(o.value.uncheck(C,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:p,allRowsCheckedRef:h,headerCheckboxDisabledRef:g,doUpdateCheckedRowKeys:b,doCheckAll:k,doUncheckAll:S,doCheck:m,doUncheck:y}}function Nl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function ZU(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?JU(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function JU(e){return(t,n)=>{const o=t[e],r=n[e];return o==null?r==null?0:-1:r==null?1:typeof o=="number"&&typeof r=="number"?o-r:typeof o=="string"&&typeof r=="string"?o.localeCompare(r):0}}function QU(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(p=>{var h;p.sorter!==void 0&&f(o,{columnKey:p.key,sorter:p.sorter,order:(h=p.defaultSortOrder)!==null&&h!==void 0?h:!1})});const r=N(o),i=L(()=>{const p=t.value.filter(b=>b.type!=="selection"&&b.sorter!==void 0&&(b.sortOrder==="ascend"||b.sortOrder==="descend"||b.sortOrder===!1)),h=p.filter(b=>b.sortOrder!==!1);if(h.length)return h.map(b=>({columnKey:b.key,order:b.sortOrder,sorter:b.sorter}));if(p.length)return[];const{value:g}=r;return Array.isArray(g)?g:g?[g]:[]}),a=L(()=>{const p=i.value.slice().sort((h,g)=>{const b=Nl(h.sorter)||0;return(Nl(g.sorter)||0)-b});return p.length?n.value.slice().sort((g,b)=>{let m=0;return p.some(y=>{const{columnKey:k,sorter:S,order:w}=y,x=ZU(S,k);return x&&w&&(m=x(g.rawNode,b.rawNode),m!==0)?(m=m*pU(w),!0):!1}),m}):n.value});function s(p){let h=i.value.slice();return p&&Nl(p.sorter)!==!1?(h=h.filter(g=>Nl(g.sorter)!==!1),f(h,p),h):p||null}function l(p){const h=s(p);c(h)}function c(p){const{"onUpdate:sorter":h,onUpdateSorter:g,onSorterChange:b}=e;h&&Pe(h,p),g&&Pe(g,p),b&&Pe(b,p),r.value=p}function u(p,h="ascend"){if(!p)d();else{const g=t.value.find(m=>m.type!=="selection"&&m.type!=="expand"&&m.key===p);if(!(g!=null&&g.sorter))return;const b=g.sorter;l({columnKey:p,sorter:b,order:h})}}function d(){c(null)}function f(p,h){const g=p.findIndex(b=>(h==null?void 0:h.columnKey)&&b.columnKey===h.columnKey);g!==void 0&&g>=0?p[g]=h:p.push(h)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function eW(e,{dataRelatedColsRef:t}){const n=L(()=>{const B=$=>{for(let I=0;I<$.length;++I){const K=$[I];if("children"in K)return B(K.children);if(K.type==="selection")return K}return null};return B(e.columns)}),o=L(()=>{const{childrenKey:B}=e;return bi(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:$=>$[B],getDisabled:$=>{var I,K;return!!(!((K=(I=n.value)===null||I===void 0?void 0:I.disabled)===null||K===void 0)&&K.call(I,$))}})}),r=St(()=>{const{columns:B}=e,{length:$}=B;let I=null;for(let K=0;K<$;++K){const ne=B[K];if(!ne.type&&I===null&&(I=K),"tree"in ne&&ne.tree)return K}return I||0}),i=N({}),{pagination:a}=e,s=N(a&&a.defaultPage||1),l=N(e2(a)),c=L(()=>{const B=t.value.filter(K=>K.filterOptionValues!==void 0||K.filterOptionValue!==void 0),$={};return B.forEach(K=>{var ne;K.type==="selection"||K.type==="expand"||(K.filterOptionValues===void 0?$[K.key]=(ne=K.filterOptionValue)!==null&&ne!==void 0?ne:null:$[K.key]=K.filterOptionValues)}),Object.assign(F0(i.value),$)}),u=L(()=>{const B=c.value,{columns:$}=e;function I(ve){return(J,ye)=>!!~String(ye[ve]).indexOf(String(J))}const{value:{treeNodes:K}}=o,ne=[];return $.forEach(ve=>{ve.type==="selection"||ve.type==="expand"||"children"in ve||ne.push([ve.key,ve])}),K?K.filter(ve=>{const{rawNode:J}=ve;for(const[ye,j]of ne){let ge=B[ye];if(ge==null||(Array.isArray(ge)||(ge=[ge]),!ge.length))continue;const Ee=j.filter==="default"?I(ye):j.filter;if(j&&typeof Ee=="function")if(j.filterMode==="and"){if(ge.some(Ne=>!Ee(Ne,J)))return!1}else{if(ge.some(Ne=>Ee(Ne,J)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:p,sort:h,clearSorter:g}=QU(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(B=>{var $;if(B.filter){const I=B.defaultFilterOptionValues;B.filterMultiple?i.value[B.key]=I||[]:I!==void 0?i.value[B.key]=I===null?[]:I:i.value[B.key]=($=B.defaultFilterOptionValue)!==null&&$!==void 0?$:null}});const b=L(()=>{const{pagination:B}=e;if(B!==!1)return B.page}),m=L(()=>{const{pagination:B}=e;if(B!==!1)return B.pageSize}),y=ln(b,s),k=ln(m,l),S=St(()=>{const B=y.value;return e.remote?B:Math.max(1,Math.min(Math.ceil(u.value.length/k.value),B))}),w=L(()=>{const{pagination:B}=e;if(B){const{pageCount:$}=B;if($!==void 0)return $}}),x=L(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const B=k.value,$=(S.value-1)*B;return d.value.slice($,$+B)}),C=L(()=>x.value.map(B=>B.rawNode));function _(B){const{pagination:$}=e;if($){const{onChange:I,"onUpdate:page":K,onUpdatePage:ne}=$;I&&Pe(I,B),ne&&Pe(ne,B),K&&Pe(K,B),A(B)}}function R(B){const{pagination:$}=e;if($){const{onPageSizeChange:I,"onUpdate:pageSize":K,onUpdatePageSize:ne}=$;I&&Pe(I,B),ne&&Pe(ne,B),K&&Pe(K,B),q(B)}}const E=L(()=>{if(e.remote){const{pagination:B}=e;if(B){const{itemCount:$}=B;if($!==void 0)return $}return}return u.value.length}),M=L(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":_,"onUpdate:pageSize":R,page:S.value,pageSize:k.value,pageCount:E.value===void 0?w.value:void 0,itemCount:E.value}));function A(B){const{"onUpdate:page":$,onPageChange:I,onUpdatePage:K}=e;K&&Pe(K,B),$&&Pe($,B),I&&Pe(I,B),s.value=B}function q(B){const{"onUpdate:pageSize":$,onPageSizeChange:I,onUpdatePageSize:K}=e;I&&Pe(I,B),K&&Pe(K,B),$&&Pe($,B),l.value=B}function F(B,$){const{onUpdateFilters:I,"onUpdate:filters":K,onFiltersChange:ne}=e;I&&Pe(I,B,$),K&&Pe(K,B,$),ne&&Pe(ne,B,$),i.value=B}function z(B,$,I,K){var ne;(ne=e.onUnstableColumnResize)===null||ne===void 0||ne.call(e,B,$,I,K)}function D(B){A(B)}function Y(){Q()}function Q(){ce({})}function ce(B){le(B)}function le(B){B?B&&(i.value=F0(B)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:S,mergedPaginationRef:M,paginatedDataRef:x,rawPaginatedDataRef:C,mergedFilterStateRef:c,mergedSortStateRef:p,hoverKeyRef:N(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:F,deriveNextSorter:f,doUpdatePageSize:q,doUpdatePage:A,onUnstableColumnResize:z,filter:le,filters:ce,clearFilter:Y,clearFilters:Q,clearSorter:g,page:D,sort:h}}function tW(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=N(),a=N(null),s=N([]),l=N(null),c=N([]),u=L(()=>qt(e.scrollX)),d=L(()=>e.columns.filter(R=>R.fixed==="left")),f=L(()=>e.columns.filter(R=>R.fixed==="right")),p=L(()=>{const R={};let E=0;function M(A){A.forEach(q=>{const F={start:E,end:0};R[go(q)]=F,"children"in q?(M(q.children),F.end=E):(E+=L0(q)||0,F.end=E)})}return M(d.value),R}),h=L(()=>{const R={};let E=0;function M(A){for(let q=A.length-1;q>=0;--q){const F=A[q],z={start:E,end:0};R[go(F)]=z,"children"in F?(M(F.children),z.end=E):(E+=L0(F)||0,z.end=E)}}return M(f.value),R});function g(){var R,E;const{value:M}=d;let A=0;const{value:q}=p;let F=null;for(let z=0;z(((R=q[D])===null||R===void 0?void 0:R.start)||0)-A)F=D,A=((E=q[D])===null||E===void 0?void 0:E.end)||0;else break}a.value=F}function b(){s.value=[];let R=e.columns.find(E=>go(E)===a.value);for(;R&&"children"in R;){const E=R.children.length;if(E===0)break;const M=R.children[E-1];s.value.push(go(M)),R=M}}function m(){var R,E;const{value:M}=f,A=Number(e.scrollX),{value:q}=o;if(q===null)return;let F=0,z=null;const{value:D}=h;for(let Y=M.length-1;Y>=0;--Y){const Q=go(M[Y]);if(Math.round(r+(((R=D[Q])===null||R===void 0?void 0:R.start)||0)+q-F)go(E)===l.value);for(;R&&"children"in R&&R.children.length;){const E=R.children[0];c.value.push(go(E)),R=E}}function k(){const R=t.value?t.value.getHeaderElement():null,E=t.value?t.value.getBodyElement():null;return{header:R,body:E}}function S(){const{body:R}=k();R&&(R.scrollTop=0)}function w(){i.value!=="body"?Sc(C):i.value=void 0}function x(R){var E;(E=e.onScroll)===null||E===void 0||E.call(e,R),i.value!=="head"?Sc(C):i.value=void 0}function C(){const{header:R,body:E}=k();if(!E)return;const{value:M}=o;if(M!==null){if(e.maxHeight||e.flexHeight){if(!R)return;const A=r-R.scrollLeft;i.value=A!==0?"head":"body",i.value==="head"?(r=R.scrollLeft,E.scrollLeft=r):(r=E.scrollLeft,R.scrollLeft=r)}else r=E.scrollLeft;g(),b(),m(),y()}}function _(R){const{header:E}=k();E&&(E.scrollLeft=R,C())}return ht(n,()=>{S()}),{styleScrollXRef:u,fixedColumnLeftMapRef:p,fixedColumnRightMapRef:h,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:C,handleTableBodyScroll:x,handleTableHeaderScroll:w,setHeaderScrollLeft:_}}function nW(){const e=N({});function t(r){return e.value[r]}function n(r,i){v2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function oW(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,p){p>a&&(n[p]=[],a=p);for(const h of f)if("children"in h)c(h.children,p+1);else{const g="key"in h?h.key:void 0;o.push({key:go(h),style:gU(h,g!==void 0?qt(t(g)):void 0),column:h}),s+=1,l||(l=!!h.ellipsis),r.push(h)}}c(e,0);let u=0;function d(f,p){let h=0;f.forEach((g,b)=>{var m;if("children"in g){const y=u,k={column:g,colSpan:0,rowSpan:1,isLast:!1};d(g.children,p+1),g.children.forEach(S=>{var w,x;k.colSpan+=(x=(w=i.get(S))===null||w===void 0?void 0:w.colSpan)!==null&&x!==void 0?x:0}),y+k.colSpan===s&&(k.isLast=!0),i.set(g,k),n[p].push(k)}else{if(u1&&(h=u+y);const k=u+y===s,S={column:g,colSpan:y,rowSpan:a-p+1,isLast:k};i.set(g,S),n[p].push(S),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function rW(e,t){const n=L(()=>oW(e.columns,t));return{rowsRef:L(()=>n.value.rows),colsRef:L(()=>n.value.cols),hasEllipsisRef:L(()=>n.value.hasEllipsis),dataRelatedColsRef:L(()=>n.value.dataRelatedCols)}}function iW(e,t){const n=St(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=St(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=N(e.defaultExpandAll?n!=null&&n.value?(()=>{const c=[];return t.value.treeNodes.forEach(u=>{var d;!((d=o.value)===null||d===void 0)&&d.call(o,u.rawNode)&&c.push(u.key)}),c})():t.value.getNonLeafKeys():e.defaultExpandedRowKeys),i=Ue(e,"expandedRowKeys"),a=Ue(e,"stickyExpandedRows"),s=ln(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&Pe(u,c),d&&Pe(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const V0=sW(),aW=W([O("data-table",` width: 100%; font-size: var(--n-font-size); display: flex; @@ -2419,14 +2419,14 @@ ${t} --n-merged-th-color-hover: var(--n-th-color-hover-modal); --n-merged-td-color-hover: var(--n-td-color-hover-modal); --n-merged-td-color-striped: var(--n-td-color-striped-modal); - `)),vu(O("data-table",` + `)),bu(O("data-table",` --n-merged-th-color: var(--n-th-color-popover); --n-merged-td-color: var(--n-td-color-popover); --n-merged-border-color: var(--n-border-color-popover); --n-merged-th-color-hover: var(--n-th-color-hover-popover); --n-merged-td-color-hover: var(--n-td-color-hover-popover); --n-merged-td-color-striped: var(--n-td-color-striped-popover); - `))]);function aW(){return[Z("fixed-left",` + `))]);function sW(){return[Z("fixed-left",` left: 0; position: sticky; z-index: 2; @@ -2454,7 +2454,7 @@ ${t} bottom: -1px; transition: box-shadow .2s var(--n-bezier); left: -36px; - `)])]}const Mu=me({name:"DataTable",alias:["AdvancedTable"],props:oU,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=at(e),a=pn("DataTable",i,o),s=L(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=He("DataTable","-data-table",iW,ZV,e,o),c=N(null),u=N(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:p}=tW(),{rowsRef:h,colsRef:g,dataRelatedColsRef:b,hasEllipsisRef:m}=oW(e,d),y=X=>{const{fileName:pe="data.csv",keepOriginalData:Te=!1}=X||{},Ke=Te?e.data:x.value,Xe=yU(e.columns,Ke),Ze=new Blob([Xe],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Ze);T8(tt,pe.endsWith(".csv")?pe:`${pe}.csv`),URL.revokeObjectURL(tt)},{treeMateRef:k,mergedCurrentPageRef:S,paginatedDataRef:w,rawPaginatedDataRef:x,selectionColumnRef:C,hoverKeyRef:_,mergedPaginationRef:R,mergedFilterStateRef:E,mergedSortStateRef:M,childTriggerColIndexRef:A,doUpdatePage:q,doUpdateFilters:F,onUnstableColumnResize:z,deriveNextSorter:D,filter:Y,filters:Q,clearFilter:ce,clearFilters:le,clearSorter:B,page:$,sort:I}=QU(e,{dataRelatedColsRef:b}),{doCheckAll:K,doUncheckAll:ne,doCheck:ve,doUncheck:J,headerCheckboxDisabledRef:ye,someRowsCheckedRef:j,allRowsCheckedRef:ge,mergedCheckedRowKeySetRef:Ee,mergedInderminateRowKeySetRef:Ne}=YU(e,{selectionColumnRef:C,treeMateRef:k,paginatedDataRef:w}),{stickyExpandedRowsRef:T,mergedExpandedRowKeysRef:P,renderExpandRef:U,expandableRef:oe,doUpdateExpandedRowKeys:G}=rW(e,k),{handleTableBodyScroll:se,handleTableHeaderScroll:xe,syncScrollState:be,setHeaderScrollLeft:Ce,leftActiveFixedColKeyRef:we,leftActiveFixedChildrenColKeysRef:Re,rightActiveFixedColKeyRef:de,rightActiveFixedChildrenColKeysRef:ee,leftFixedColumnsRef:fe,rightFixedColumnsRef:Oe,fixedColumnLeftMapRef:Le,fixedColumnRightMapRef:De}=eW(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:S}),{localeRef:$e}=Li("DataTable"),Me=L(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);lt(To,{props:e,treeMateRef:k,renderExpandIconRef:Ue(e,"renderExpandIcon"),loadingKeySetRef:N(new Set),slots:t,indentRef:Ue(e,"indent"),childTriggerColIndexRef:A,bodyWidthRef:c,componentId:Ii(),hoverKeyRef:_,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:L(()=>e.scrollX),rowsRef:h,colsRef:g,paginatedDataRef:w,leftActiveFixedColKeyRef:we,leftActiveFixedChildrenColKeysRef:Re,rightActiveFixedColKeyRef:de,rightActiveFixedChildrenColKeysRef:ee,leftFixedColumnsRef:fe,rightFixedColumnsRef:Oe,fixedColumnLeftMapRef:Le,fixedColumnRightMapRef:De,mergedCurrentPageRef:S,someRowsCheckedRef:j,allRowsCheckedRef:ge,mergedSortStateRef:M,mergedFilterStateRef:E,loadingRef:Ue(e,"loading"),rowClassNameRef:Ue(e,"rowClassName"),mergedCheckedRowKeySetRef:Ee,mergedExpandedRowKeysRef:P,mergedInderminateRowKeySetRef:Ne,localeRef:$e,expandableRef:oe,stickyExpandedRowsRef:T,rowKeyRef:Ue(e,"rowKey"),renderExpandRef:U,summaryRef:Ue(e,"summary"),virtualScrollRef:Ue(e,"virtualScroll"),rowPropsRef:Ue(e,"rowProps"),stripedRef:Ue(e,"striped"),checkOptionsRef:L(()=>{const{value:X}=C;return X==null?void 0:X.options}),rawPaginatedDataRef:x,filterMenuCssVarsRef:L(()=>{const{self:{actionDividerColor:X,actionPadding:pe,actionButtonMargin:Te}}=l.value;return{"--n-action-padding":pe,"--n-action-button-margin":Te,"--n-action-divider-color":X}}),onLoadRef:Ue(e,"onLoad"),mergedTableLayoutRef:Me,maxHeightRef:Ue(e,"maxHeight"),minHeightRef:Ue(e,"minHeight"),flexHeightRef:Ue(e,"flexHeight"),headerCheckboxDisabledRef:ye,paginationBehaviorOnFilterRef:Ue(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ue(e,"summaryPlacement"),scrollbarPropsRef:Ue(e,"scrollbarProps"),syncScrollState:be,doUpdatePage:q,doUpdateFilters:F,getResizableWidth:d,onUnstableColumnResize:z,clearResizableWidth:f,doUpdateResizableWidth:p,deriveNextSorter:D,doCheck:ve,doUncheck:J,doCheckAll:K,doUncheckAll:ne,doUpdateExpandedRowKeys:G,handleTableHeaderScroll:xe,handleTableBodyScroll:se,setHeaderScrollLeft:Ce,renderCell:Ue(e,"renderCell")});const Fe={filter:Y,filters:Q,clearFilters:le,clearSorter:B,page:$,sort:I,clearFilter:ce,downloadCsv:y,scrollTo:(X,pe)=>{var Te;(Te=u.value)===null||Te===void 0||Te.scrollTo(X,pe)}},Be=L(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:pe},self:{borderColor:Te,tdColorHover:Ke,thColor:Xe,thColorHover:Ze,tdColor:tt,tdTextColor:rt,thTextColor:yt,thFontWeight:nn,thButtonColorHover:Wt,thIconColor:_e,thIconColorActive:je,filterSize:Qe,borderRadius:pt,lineHeight:gt,tdColorModal:ct,thColorModal:Rt,borderColorModal:ae,thColorHoverModal:ke,tdColorHoverModal:nt,borderColorPopover:Nt,thColorPopover:Kt,tdColorPopover:Dt,tdColorHoverPopover:ho,thColorHoverPopover:po,paginationMargin:mo,emptyPadding:Xo,boxShadowAfter:Zo,boxShadowBefore:Jr,sorterSize:Ga,resizableContainerSize:Ya,resizableSize:Xa,loadingColor:Za,loadingSize:gr,opacityLoading:vr,tdColorStriped:Yu,tdColorStripedModal:Xu,tdColorStripedPopover:Zu,[Se("fontSize",X)]:Ju,[Se("thPadding",X)]:Qu,[Se("tdPadding",X)]:ed}}=l.value;return{"--n-font-size":Ju,"--n-th-padding":Qu,"--n-td-padding":ed,"--n-bezier":pe,"--n-border-radius":pt,"--n-line-height":gt,"--n-border-color":Te,"--n-border-color-modal":ae,"--n-border-color-popover":Nt,"--n-th-color":Xe,"--n-th-color-hover":Ze,"--n-th-color-modal":Rt,"--n-th-color-hover-modal":ke,"--n-th-color-popover":Kt,"--n-th-color-hover-popover":po,"--n-td-color":tt,"--n-td-color-hover":Ke,"--n-td-color-modal":ct,"--n-td-color-hover-modal":nt,"--n-td-color-popover":Dt,"--n-td-color-hover-popover":ho,"--n-th-text-color":yt,"--n-td-text-color":rt,"--n-th-font-weight":nn,"--n-th-button-color-hover":Wt,"--n-th-icon-color":_e,"--n-th-icon-color-active":je,"--n-filter-size":Qe,"--n-pagination-margin":mo,"--n-empty-padding":Xo,"--n-box-shadow-before":Jr,"--n-box-shadow-after":Zo,"--n-sorter-size":Ga,"--n-resizable-container-size":Ya,"--n-resizable-size":Xa,"--n-loading-size":gr,"--n-loading-color":Za,"--n-opacity-loading":vr,"--n-td-color-striped":Yu,"--n-td-color-striped-modal":Xu,"--n-td-color-striped-popover":Zu}}),ot=r?kt("data-table",L(()=>e.size[0]),Be,e):void 0,xt=L(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=R.value,{pageCount:pe}=X;return pe!==void 0?pe>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:w,mergedBordered:n,mergedBottomBordered:s,mergedPagination:R,mergedShowPagination:xt,cssVars:r?void 0:Be,themeClass:ot==null?void 0:ot.themeClass,onRender:ot==null?void 0:ot.onRender},Fe)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),v("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},v("div",{class:`${e}-data-table-wrapper`},v(GU,{ref:"mainTableInstRef"})),this.mergedShowPagination?v("div",{class:`${e}-data-table__pagination`},v(LV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,v(hn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?v("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[v(Xr,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),sW={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},lW=e=>{const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},sW),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},cW={name:"TimePicker",common:Ve,peers:{Scrollbar:jn,Button:Vn,Input:uo},self:lW},I2=cW,uW={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},dW=e=>{const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:d,boxShadow2:f,borderRadius:p,fontWeightStrong:h}=e;return Object.assign(Object.assign({},uW),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Ie(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:p,calendarTitleFontWeight:h,scrollItemBorderRadius:p,iconColor:l,iconColorDisabled:c})},fW={name:"DatePicker",common:Ve,peers:{Input:uo,Button:Vn,TimePicker:I2,Scrollbar:jn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=dW(e);return r.itemColorDisabled=et(t,n),r.itemColorIncluded=Ie(o,{alpha:.15}),r.itemColorHover=et(t,n),r}},hW=fW,pW={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},mW=e=>{const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p}=e;return Object.assign(Object.assign({},pW),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:et(r,t),thColorModal:et(i,t),thColorPopover:et(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:et(r,s),borderColorModal:et(i,s),borderColorPopover:et(a,s),borderRadius:l})},gW={name:"Descriptions",common:Ve,self:mW},vW=gW,bW={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},M2=e=>{const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:p,dividerColor:h,borderRadius:g,fontWeightStrong:b,lineHeight:m,fontSize:y}=e;return Object.assign(Object.assign({},bW),{fontSize:y,lineHeight:m,border:`1px solid ${h}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:p,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:g,titleFontWeight:b})},yW={name:"Dialog",common:bt,peers:{Button:Ru},self:M2},z2=yW,xW={name:"Dialog",common:Ve,peers:{Button:Vn},self:M2},O2=xW,zu={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},D2=qr(zu),CW=W([O("dialog",` + `)])]}const zu=me({name:"DataTable",alias:["AdvancedTable"],props:rU,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=at(e),a=pn("DataTable",i,o),s=L(()=>{const{bottomBordered:X}=e;return n.value?!1:X!==void 0?X:!0}),l=He("DataTable","-data-table",aW,JV,e,o),c=N(null),u=N(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:p}=nW(),{rowsRef:h,colsRef:g,dataRelatedColsRef:b,hasEllipsisRef:m}=rW(e,d),y=X=>{const{fileName:pe="data.csv",keepOriginalData:Te=!1}=X||{},Ke=Te?e.data:x.value,Xe=xU(e.columns,Ke),Ze=new Blob([Xe],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Ze);P8(tt,pe.endsWith(".csv")?pe:`${pe}.csv`),URL.revokeObjectURL(tt)},{treeMateRef:k,mergedCurrentPageRef:S,paginatedDataRef:w,rawPaginatedDataRef:x,selectionColumnRef:C,hoverKeyRef:_,mergedPaginationRef:R,mergedFilterStateRef:E,mergedSortStateRef:M,childTriggerColIndexRef:A,doUpdatePage:q,doUpdateFilters:F,onUnstableColumnResize:z,deriveNextSorter:D,filter:Y,filters:Q,clearFilter:ce,clearFilters:le,clearSorter:B,page:$,sort:I}=eW(e,{dataRelatedColsRef:b}),{doCheckAll:K,doUncheckAll:ne,doCheck:ve,doUncheck:J,headerCheckboxDisabledRef:ye,someRowsCheckedRef:j,allRowsCheckedRef:ge,mergedCheckedRowKeySetRef:Ee,mergedInderminateRowKeySetRef:Ne}=XU(e,{selectionColumnRef:C,treeMateRef:k,paginatedDataRef:w}),{stickyExpandedRowsRef:T,mergedExpandedRowKeysRef:P,renderExpandRef:U,expandableRef:oe,doUpdateExpandedRowKeys:G}=iW(e,k),{handleTableBodyScroll:se,handleTableHeaderScroll:xe,syncScrollState:be,setHeaderScrollLeft:Ce,leftActiveFixedColKeyRef:we,leftActiveFixedChildrenColKeysRef:Re,rightActiveFixedColKeyRef:de,rightActiveFixedChildrenColKeysRef:ee,leftFixedColumnsRef:fe,rightFixedColumnsRef:Oe,fixedColumnLeftMapRef:Le,fixedColumnRightMapRef:De}=tW(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:S}),{localeRef:$e}=Li("DataTable"),Me=L(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||m.value?"fixed":e.tableLayout);lt(To,{props:e,treeMateRef:k,renderExpandIconRef:Ue(e,"renderExpandIcon"),loadingKeySetRef:N(new Set),slots:t,indentRef:Ue(e,"indent"),childTriggerColIndexRef:A,bodyWidthRef:c,componentId:Ii(),hoverKeyRef:_,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:L(()=>e.scrollX),rowsRef:h,colsRef:g,paginatedDataRef:w,leftActiveFixedColKeyRef:we,leftActiveFixedChildrenColKeysRef:Re,rightActiveFixedColKeyRef:de,rightActiveFixedChildrenColKeysRef:ee,leftFixedColumnsRef:fe,rightFixedColumnsRef:Oe,fixedColumnLeftMapRef:Le,fixedColumnRightMapRef:De,mergedCurrentPageRef:S,someRowsCheckedRef:j,allRowsCheckedRef:ge,mergedSortStateRef:M,mergedFilterStateRef:E,loadingRef:Ue(e,"loading"),rowClassNameRef:Ue(e,"rowClassName"),mergedCheckedRowKeySetRef:Ee,mergedExpandedRowKeysRef:P,mergedInderminateRowKeySetRef:Ne,localeRef:$e,expandableRef:oe,stickyExpandedRowsRef:T,rowKeyRef:Ue(e,"rowKey"),renderExpandRef:U,summaryRef:Ue(e,"summary"),virtualScrollRef:Ue(e,"virtualScroll"),rowPropsRef:Ue(e,"rowProps"),stripedRef:Ue(e,"striped"),checkOptionsRef:L(()=>{const{value:X}=C;return X==null?void 0:X.options}),rawPaginatedDataRef:x,filterMenuCssVarsRef:L(()=>{const{self:{actionDividerColor:X,actionPadding:pe,actionButtonMargin:Te}}=l.value;return{"--n-action-padding":pe,"--n-action-button-margin":Te,"--n-action-divider-color":X}}),onLoadRef:Ue(e,"onLoad"),mergedTableLayoutRef:Me,maxHeightRef:Ue(e,"maxHeight"),minHeightRef:Ue(e,"minHeight"),flexHeightRef:Ue(e,"flexHeight"),headerCheckboxDisabledRef:ye,paginationBehaviorOnFilterRef:Ue(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ue(e,"summaryPlacement"),scrollbarPropsRef:Ue(e,"scrollbarProps"),syncScrollState:be,doUpdatePage:q,doUpdateFilters:F,getResizableWidth:d,onUnstableColumnResize:z,clearResizableWidth:f,doUpdateResizableWidth:p,deriveNextSorter:D,doCheck:ve,doUncheck:J,doCheckAll:K,doUncheckAll:ne,doUpdateExpandedRowKeys:G,handleTableHeaderScroll:xe,handleTableBodyScroll:se,setHeaderScrollLeft:Ce,renderCell:Ue(e,"renderCell")});const Fe={filter:Y,filters:Q,clearFilters:le,clearSorter:B,page:$,sort:I,clearFilter:ce,downloadCsv:y,scrollTo:(X,pe)=>{var Te;(Te=u.value)===null||Te===void 0||Te.scrollTo(X,pe)}},Be=L(()=>{const{size:X}=e,{common:{cubicBezierEaseInOut:pe},self:{borderColor:Te,tdColorHover:Ke,thColor:Xe,thColorHover:Ze,tdColor:tt,tdTextColor:rt,thTextColor:yt,thFontWeight:nn,thButtonColorHover:Wt,thIconColor:_e,thIconColorActive:je,filterSize:Qe,borderRadius:pt,lineHeight:gt,tdColorModal:ct,thColorModal:Rt,borderColorModal:ae,thColorHoverModal:ke,tdColorHoverModal:nt,borderColorPopover:Nt,thColorPopover:Kt,tdColorPopover:Dt,tdColorHoverPopover:ho,thColorHoverPopover:po,paginationMargin:mo,emptyPadding:Xo,boxShadowAfter:Zo,boxShadowBefore:Jr,sorterSize:Ga,resizableContainerSize:Ya,resizableSize:Xa,loadingColor:Za,loadingSize:gr,opacityLoading:vr,tdColorStriped:Xu,tdColorStripedModal:Zu,tdColorStripedPopover:Ju,[Se("fontSize",X)]:Qu,[Se("thPadding",X)]:ed,[Se("tdPadding",X)]:td}}=l.value;return{"--n-font-size":Qu,"--n-th-padding":ed,"--n-td-padding":td,"--n-bezier":pe,"--n-border-radius":pt,"--n-line-height":gt,"--n-border-color":Te,"--n-border-color-modal":ae,"--n-border-color-popover":Nt,"--n-th-color":Xe,"--n-th-color-hover":Ze,"--n-th-color-modal":Rt,"--n-th-color-hover-modal":ke,"--n-th-color-popover":Kt,"--n-th-color-hover-popover":po,"--n-td-color":tt,"--n-td-color-hover":Ke,"--n-td-color-modal":ct,"--n-td-color-hover-modal":nt,"--n-td-color-popover":Dt,"--n-td-color-hover-popover":ho,"--n-th-text-color":yt,"--n-td-text-color":rt,"--n-th-font-weight":nn,"--n-th-button-color-hover":Wt,"--n-th-icon-color":_e,"--n-th-icon-color-active":je,"--n-filter-size":Qe,"--n-pagination-margin":mo,"--n-empty-padding":Xo,"--n-box-shadow-before":Jr,"--n-box-shadow-after":Zo,"--n-sorter-size":Ga,"--n-resizable-container-size":Ya,"--n-resizable-size":Xa,"--n-loading-size":gr,"--n-loading-color":Za,"--n-opacity-loading":vr,"--n-td-color-striped":Xu,"--n-td-color-striped-modal":Zu,"--n-td-color-striped-popover":Ju}}),ot=r?kt("data-table",L(()=>e.size[0]),Be,e):void 0,xt=L(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const X=R.value,{pageCount:pe}=X;return pe!==void 0?pe>1:X.itemCount&&X.pageSize&&X.itemCount>X.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:w,mergedBordered:n,mergedBottomBordered:s,mergedPagination:R,mergedShowPagination:xt,cssVars:r?void 0:Be,themeClass:ot==null?void 0:ot.themeClass,onRender:ot==null?void 0:ot.onRender},Fe)},render(){const{mergedClsPrefix:e,themeClass:t,onRender:n,$slots:o,spinProps:r}=this;return n==null||n(),v("div",{class:[`${e}-data-table`,this.rtlEnabled&&`${e}-data-table--rtl`,t,{[`${e}-data-table--bordered`]:this.mergedBordered,[`${e}-data-table--bottom-bordered`]:this.mergedBottomBordered,[`${e}-data-table--single-line`]:this.singleLine,[`${e}-data-table--single-column`]:this.singleColumn,[`${e}-data-table--loading`]:this.loading,[`${e}-data-table--flex-height`]:this.flexHeight}],style:this.cssVars},v("div",{class:`${e}-data-table-wrapper`},v(YU,{ref:"mainTableInstRef"})),this.mergedShowPagination?v("div",{class:`${e}-data-table__pagination`},v(FV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,v(hn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?v("div",{class:`${e}-data-table-loading-wrapper`},An(o.loading,()=>[v(Xr,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),lW={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"},cW=e=>{const{popoverColor:t,textColor2:n,primaryColor:o,hoverColor:r,dividerColor:i,opacityDisabled:a,boxShadow2:s,borderRadius:l,iconColor:c,iconColorDisabled:u}=e;return Object.assign(Object.assign({},lW),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})},uW={name:"TimePicker",common:Ve,peers:{Scrollbar:jn,Button:Vn,Input:uo},self:cW},P2=uW,dW={itemSize:"24px",itemCellWidth:"38px",itemCellHeight:"32px",scrollItemWidth:"80px",scrollItemHeight:"40px",panelExtraFooterPadding:"8px 12px",panelActionPadding:"8px 12px",calendarTitlePadding:"0",calendarTitleHeight:"28px",arrowSize:"14px",panelHeaderPadding:"8px 12px",calendarDaysHeight:"32px",calendarTitleGridTempateColumns:"28px 28px 1fr 28px 28px",calendarLeftPaddingDate:"6px 12px 4px 12px",calendarLeftPaddingDatetime:"4px 12px",calendarLeftPaddingDaterange:"6px 12px 4px 12px",calendarLeftPaddingDatetimerange:"4px 12px",calendarLeftPaddingMonth:"0",calendarLeftPaddingYear:"0",calendarLeftPaddingQuarter:"0",calendarLeftPaddingMonthrange:"0",calendarLeftPaddingQuarterrange:"0",calendarLeftPaddingYearrange:"0",calendarLeftPaddingWeek:"6px 12px 4px 12px",calendarRightPaddingDate:"6px 12px 4px 12px",calendarRightPaddingDatetime:"4px 12px",calendarRightPaddingDaterange:"6px 12px 4px 12px",calendarRightPaddingDatetimerange:"4px 12px",calendarRightPaddingMonth:"0",calendarRightPaddingYear:"0",calendarRightPaddingQuarter:"0",calendarRightPaddingMonthrange:"0",calendarRightPaddingQuarterrange:"0",calendarRightPaddingYearrange:"0",calendarRightPaddingWeek:"0"},fW=e=>{const{hoverColor:t,fontSize:n,textColor2:o,textColorDisabled:r,popoverColor:i,primaryColor:a,borderRadiusSmall:s,iconColor:l,iconColorDisabled:c,textColor1:u,dividerColor:d,boxShadow2:f,borderRadius:p,fontWeightStrong:h}=e;return Object.assign(Object.assign({},dW),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:Ie(a,{alpha:.1}),itemColorHover:t,itemColorDisabled:t,itemColorActive:a,itemBorderRadius:s,panelColor:i,panelTextColor:o,arrowColor:l,calendarTitleTextColor:u,calendarTitleColorHover:t,calendarDaysTextColor:o,panelHeaderDividerColor:d,calendarDaysDividerColor:d,calendarDividerColor:d,panelActionDividerColor:d,panelBoxShadow:f,panelBorderRadius:p,calendarTitleFontWeight:h,scrollItemBorderRadius:p,iconColor:l,iconColorDisabled:c})},hW={name:"DatePicker",common:Ve,peers:{Input:uo,Button:Vn,TimePicker:P2,Scrollbar:jn},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=fW(e);return r.itemColorDisabled=et(t,n),r.itemColorIncluded=Ie(o,{alpha:.15}),r.itemColorHover=et(t,n),r}},pW=hW,mW={thPaddingBorderedSmall:"8px 12px",thPaddingBorderedMedium:"12px 16px",thPaddingBorderedLarge:"16px 24px",thPaddingSmall:"0",thPaddingMedium:"0",thPaddingLarge:"0",tdPaddingBorderedSmall:"8px 12px",tdPaddingBorderedMedium:"12px 16px",tdPaddingBorderedLarge:"16px 24px",tdPaddingSmall:"0 0 8px 0",tdPaddingMedium:"0 0 12px 0",tdPaddingLarge:"0 0 16px 0"},gW=e=>{const{tableHeaderColor:t,textColor2:n,textColor1:o,cardColor:r,modalColor:i,popoverColor:a,dividerColor:s,borderRadius:l,fontWeightStrong:c,lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p}=e;return Object.assign(Object.assign({},mW),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:p,titleTextColor:o,thColor:et(r,t),thColorModal:et(i,t),thColorPopover:et(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:et(r,s),borderColorModal:et(i,s),borderColorPopover:et(a,s),borderRadius:l})},vW={name:"Descriptions",common:Ve,self:gW},bW=vW,yW={titleFontSize:"18px",padding:"16px 28px 20px 28px",iconSize:"28px",actionSpace:"12px",contentMargin:"8px 0 16px 0",iconMargin:"0 4px 0 0",iconMarginIconTop:"4px 0 8px 0",closeSize:"22px",closeIconSize:"18px",closeMargin:"20px 26px 0 0",closeMarginIconTop:"10px 16px 0 0"},R2=e=>{const{textColor1:t,textColor2:n,modalColor:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,infoColor:c,successColor:u,warningColor:d,errorColor:f,primaryColor:p,dividerColor:h,borderRadius:g,fontWeightStrong:b,lineHeight:m,fontSize:y}=e;return Object.assign(Object.assign({},yW),{fontSize:y,lineHeight:m,border:`1px solid ${h}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:p,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:g,titleFontWeight:b})},xW={name:"Dialog",common:bt,peers:{Button:Eu},self:R2},E2=xW,CW={name:"Dialog",common:Ve,peers:{Button:Vn},self:R2},$2=CW,Ou={icon:Function,type:{type:String,default:"default"},title:[String,Function],closable:{type:Boolean,default:!0},negativeText:String,positiveText:String,positiveButtonProps:Object,negativeButtonProps:Object,content:[String,Function],action:Function,showIcon:{type:Boolean,default:!0},loading:Boolean,bordered:Boolean,iconPlacement:String,onPositiveClick:Function,onNegativeClick:Function,onClose:Function},A2=qr(Ou),wW=W([O("dialog",` --n-icon-margin: var(--n-icon-margin-top) var(--n-icon-margin-right) var(--n-icon-margin-bottom) var(--n-icon-margin-left); word-break: break-word; line-height: var(--n-line-height); @@ -2506,10 +2506,10 @@ ${t} `)]),tl(O("dialog",` width: 446px; max-width: calc(100vw - 32px); - `)),O("dialog",[VC(` + `)),O("dialog",[FC(` width: 446px; max-width: calc(100vw - 32px); - `)])]),wW={default:()=>v(jr,null),info:()=>v(jr,null),success:()=>v(Ni,null),warning:()=>v(Bi,null),error:()=>v(Fi,null)},L2=me({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},He.props),zu),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=pn("Dialog",r,n),a=L(()=>{var p,h;const{iconPlacement:g}=e;return g||((h=(p=t==null?void 0:t.value)===null||p===void 0?void 0:p.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function s(p){const{onPositiveClick:h}=e;h&&h(p)}function l(p){const{onNegativeClick:h}=e;h&&h(p)}function c(){const{onClose:p}=e;p&&p()}const u=He("Dialog","-dialog",CW,z2,e,n),d=L(()=>{const{type:p}=e,h=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:b,lineHeight:m,border:y,titleTextColor:k,textColor:S,color:w,closeBorderRadius:x,closeColorHover:C,closeColorPressed:_,closeIconColor:R,closeIconColorHover:E,closeIconColorPressed:M,closeIconSize:A,borderRadius:q,titleFontWeight:F,titleFontSize:z,padding:D,iconSize:Y,actionSpace:Q,contentMargin:ce,closeSize:le,[h==="top"?"iconMarginIconTop":"iconMargin"]:B,[h==="top"?"closeMarginIconTop":"closeMargin"]:$,[Se("iconColor",p)]:I}}=u.value,K=yo(B);return{"--n-font-size":b,"--n-icon-color":I,"--n-bezier":g,"--n-close-margin":$,"--n-icon-margin-top":K.top,"--n-icon-margin-right":K.right,"--n-icon-margin-bottom":K.bottom,"--n-icon-margin-left":K.left,"--n-icon-size":Y,"--n-close-size":le,"--n-close-icon-size":A,"--n-close-border-radius":x,"--n-close-color-hover":C,"--n-close-color-pressed":_,"--n-close-icon-color":R,"--n-close-icon-color-hover":E,"--n-close-icon-color-pressed":M,"--n-color":w,"--n-text-color":S,"--n-border-radius":q,"--n-padding":D,"--n-line-height":m,"--n-border":y,"--n-content-margin":ce,"--n-title-font-size":z,"--n-title-font-weight":F,"--n-title-text-color":k,"--n-action-space":Q}}),f=o?kt("dialog",L(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:p,handleNegativeClick:h,mergedTheme:g,loading:b,type:m,mergedClsPrefix:y}=this;(e=this.onRender)===null||e===void 0||e.call(this);const k=i?v(Ut,{clsPrefix:y,class:`${y}-dialog__icon`},{default:()=>$t(this.$slots.icon,w=>w||(this.icon?Vt(this.icon):wW[this.type]()))}):null,S=$t(this.$slots.action,w=>w||u||c||l?v("div",{class:`${y}-dialog__action`},w||(l?[Vt(l)]:[this.negativeText&&v(Et,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Vt(this.negativeText)}),this.positiveText&&v(Et,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:m==="default"?"primary":m,disabled:b,loading:b,onClick:p},d),{default:()=>Vt(this.positiveText)})])):null);return v("div",{class:[`${y}-dialog`,this.themeClass,this.closable&&`${y}-dialog--closable`,`${y}-dialog--icon-${n}`,t&&`${y}-dialog--bordered`,this.rtlEnabled&&`${y}-dialog--rtl`],style:o,role:"dialog"},r?$t(this.$slots.close,w=>{const x=[`${y}-dialog__close`,this.rtlEnabled&&`${y}-dialog--rtl`];return w?v("div",{class:x},w):v(ji,{clsPrefix:y,class:x,onClick:this.handleCloseClick})}):null,i&&n==="top"?v("div",{class:`${y}-dialog-icon-container`},k):null,v("div",{class:`${y}-dialog__title`},i&&n==="left"?k:null,An(this.$slots.header,()=>[Vt(a)])),v("div",{class:[`${y}-dialog__content`,S?"":`${y}-dialog__content--last`]},An(this.$slots.default,()=>[Vt(s)])),S)}}),F2="n-dialog-provider",N2="n-dialog-api",_W="n-dialog-reactive-list",B2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},SW={name:"Modal",common:bt,peers:{Scrollbar:Ui,Dialog:z2,Card:j_},self:B2},kW=SW,TW={name:"Modal",common:Ve,peers:{Scrollbar:jn,Dialog:O2,Card:V_},self:B2},PW=TW,fm=Object.assign(Object.assign({},tm),zu),RW=qr(fm),EW=me({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},fm),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=N(null),n=N(null),o=N(e.show),r=N(null),i=N(null);ht(Ue(e,"show"),b=>{b&&(o.value=!0)}),hw(L(()=>e.blockScroll&&o.value));const a=qe(XC);function s(){if(a.transformOriginRef.value==="center")return"";const{value:b}=r,{value:m}=i;if(b===null||m===null)return"";if(n.value){const y=n.value.containerScrollTop;return`${b}px ${m+y}px`}return""}function l(b){if(a.transformOriginRef.value==="center")return;const m=a.getMousePosition();if(!m||!n.value)return;const y=n.value.containerScrollTop,{offsetLeft:k,offsetTop:S}=b;if(m){const w=m.y,x=m.x;r.value=-(k-x),i.value=-(S-w-y)}b.style.transformOrigin=s()}function c(b){Ht(()=>{l(b)})}function u(b){b.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:b}=e;b&&b()}function p(){e.onNegativeClick()}function h(){e.onPositiveClick()}const g=N(null);return ht(g,b=>{b&&Ht(()=>{const m=b.el;m&&t.value!==m&&(t.value=m)})}),lt(nl,t),lt(ol,null),lt(Fa,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:g,handlePositiveClick:h,handleNegativeClick:p,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=Qf(e),!s){sr("modal","default slot is empty");return}s=ao(s),s.props=Dn({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?Cn(v("div",{role:"none",class:`${a}-modal-body-wrapper`},v(ko,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),v(zp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return v(hn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[Jn,this.show]],{onClickoutside:d}=this;return d&&u.push([Ta,this.onClickoutside,void 0,{capture:!0}]),Cn(this.preset==="confirm"||this.preset==="dialog"?v(L2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Xn(this.$props,D2),{"aria-modal":"true"}),e):this.preset==="card"?v(Un,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Xn(this.$props,Pj),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Jn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),$W=W([O("modal-container",` + `)])]),_W={default:()=>v(jr,null),info:()=>v(jr,null),success:()=>v(Ni,null),warning:()=>v(Bi,null),error:()=>v(Fi,null)},I2=me({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},He.props),Ou),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=at(e),i=pn("Dialog",r,n),a=L(()=>{var p,h;const{iconPlacement:g}=e;return g||((h=(p=t==null?void 0:t.value)===null||p===void 0?void 0:p.Dialog)===null||h===void 0?void 0:h.iconPlacement)||"left"});function s(p){const{onPositiveClick:h}=e;h&&h(p)}function l(p){const{onNegativeClick:h}=e;h&&h(p)}function c(){const{onClose:p}=e;p&&p()}const u=He("Dialog","-dialog",wW,E2,e,n),d=L(()=>{const{type:p}=e,h=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:b,lineHeight:m,border:y,titleTextColor:k,textColor:S,color:w,closeBorderRadius:x,closeColorHover:C,closeColorPressed:_,closeIconColor:R,closeIconColorHover:E,closeIconColorPressed:M,closeIconSize:A,borderRadius:q,titleFontWeight:F,titleFontSize:z,padding:D,iconSize:Y,actionSpace:Q,contentMargin:ce,closeSize:le,[h==="top"?"iconMarginIconTop":"iconMargin"]:B,[h==="top"?"closeMarginIconTop":"closeMargin"]:$,[Se("iconColor",p)]:I}}=u.value,K=yo(B);return{"--n-font-size":b,"--n-icon-color":I,"--n-bezier":g,"--n-close-margin":$,"--n-icon-margin-top":K.top,"--n-icon-margin-right":K.right,"--n-icon-margin-bottom":K.bottom,"--n-icon-margin-left":K.left,"--n-icon-size":Y,"--n-close-size":le,"--n-close-icon-size":A,"--n-close-border-radius":x,"--n-close-color-hover":C,"--n-close-color-pressed":_,"--n-close-icon-color":R,"--n-close-icon-color-hover":E,"--n-close-icon-color-pressed":M,"--n-color":w,"--n-text-color":S,"--n-border-radius":q,"--n-padding":D,"--n-line-height":m,"--n-border":y,"--n-content-margin":ce,"--n-title-font-size":z,"--n-title-font-weight":F,"--n-title-text-color":k,"--n-action-space":Q}}),f=o?kt("dialog",L(()=>`${e.type[0]}${a.value[0]}`),d,e):void 0;return{mergedClsPrefix:n,rtlEnabled:i,mergedIconPlacement:a,mergedTheme:u,handlePositiveClick:s,handleNegativeClick:l,handleCloseClick:c,cssVars:o?void 0:d,themeClass:f==null?void 0:f.themeClass,onRender:f==null?void 0:f.onRender}},render(){var e;const{bordered:t,mergedIconPlacement:n,cssVars:o,closable:r,showIcon:i,title:a,content:s,action:l,negativeText:c,positiveText:u,positiveButtonProps:d,negativeButtonProps:f,handlePositiveClick:p,handleNegativeClick:h,mergedTheme:g,loading:b,type:m,mergedClsPrefix:y}=this;(e=this.onRender)===null||e===void 0||e.call(this);const k=i?v(Ut,{clsPrefix:y,class:`${y}-dialog__icon`},{default:()=>$t(this.$slots.icon,w=>w||(this.icon?Vt(this.icon):_W[this.type]()))}):null,S=$t(this.$slots.action,w=>w||u||c||l?v("div",{class:`${y}-dialog__action`},w||(l?[Vt(l)]:[this.negativeText&&v(Et,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:h},f),{default:()=>Vt(this.negativeText)}),this.positiveText&&v(Et,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:m==="default"?"primary":m,disabled:b,loading:b,onClick:p},d),{default:()=>Vt(this.positiveText)})])):null);return v("div",{class:[`${y}-dialog`,this.themeClass,this.closable&&`${y}-dialog--closable`,`${y}-dialog--icon-${n}`,t&&`${y}-dialog--bordered`,this.rtlEnabled&&`${y}-dialog--rtl`],style:o,role:"dialog"},r?$t(this.$slots.close,w=>{const x=[`${y}-dialog__close`,this.rtlEnabled&&`${y}-dialog--rtl`];return w?v("div",{class:x},w):v(ji,{clsPrefix:y,class:x,onClick:this.handleCloseClick})}):null,i&&n==="top"?v("div",{class:`${y}-dialog-icon-container`},k):null,v("div",{class:`${y}-dialog__title`},i&&n==="left"?k:null,An(this.$slots.header,()=>[Vt(a)])),v("div",{class:[`${y}-dialog__content`,S?"":`${y}-dialog__content--last`]},An(this.$slots.default,()=>[Vt(s)])),S)}}),M2="n-dialog-provider",z2="n-dialog-api",SW="n-dialog-reactive-list",O2=e=>{const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}},kW={name:"Modal",common:bt,peers:{Scrollbar:Ui,Dialog:E2,Card:L_},self:O2},TW=kW,PW={name:"Modal",common:Ve,peers:{Scrollbar:jn,Dialog:$2,Card:F_},self:O2},RW=PW,fm=Object.assign(Object.assign({},tm),Ou),EW=qr(fm),$W=me({name:"ModalBody",inheritAttrs:!1,props:Object.assign(Object.assign({show:{type:Boolean,required:!0},preset:String,displayDirective:{type:String,required:!0},trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},blockScroll:Boolean},fm),{renderMask:Function,onClickoutside:Function,onBeforeLeave:{type:Function,required:!0},onAfterLeave:{type:Function,required:!0},onPositiveClick:{type:Function,required:!0},onNegativeClick:{type:Function,required:!0},onClose:{type:Function,required:!0},onAfterEnter:Function,onEsc:Function}),setup(e){const t=N(null),n=N(null),o=N(e.show),r=N(null),i=N(null);ht(Ue(e,"show"),b=>{b&&(o.value=!0)}),lw(L(()=>e.blockScroll&&o.value));const a=qe(WC);function s(){if(a.transformOriginRef.value==="center")return"";const{value:b}=r,{value:m}=i;if(b===null||m===null)return"";if(n.value){const y=n.value.containerScrollTop;return`${b}px ${m+y}px`}return""}function l(b){if(a.transformOriginRef.value==="center")return;const m=a.getMousePosition();if(!m||!n.value)return;const y=n.value.containerScrollTop,{offsetLeft:k,offsetTop:S}=b;if(m){const w=m.y,x=m.x;r.value=-(k-x),i.value=-(S-w-y)}b.style.transformOrigin=s()}function c(b){Ht(()=>{l(b)})}function u(b){b.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:b}=e;b&&b()}function p(){e.onNegativeClick()}function h(){e.onPositiveClick()}const g=N(null);return ht(g,b=>{b&&Ht(()=>{const m=b.el;m&&t.value!==m&&(t.value=m)})}),lt(nl,t),lt(ol,null),lt(Fa,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:g,handlePositiveClick:h,handleNegativeClick:p,handleCloseClick:f,handleAfterLeave:d,handleBeforeLeave:u,handleEnter:c}},render(){const{$slots:e,$attrs:t,handleEnter:n,handleAfterLeave:o,handleBeforeLeave:r,preset:i,mergedClsPrefix:a}=this;let s=null;if(!i){if(s=Qf(e),!s){sr("modal","default slot is empty");return}s=ao(s),s.props=Dn({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?Cn(v("div",{role:"none",class:`${a}-modal-body-wrapper`},v(ko,{ref:"scrollbarRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:`${a}-modal-scroll-content`},{default:()=>{var l;return[(l=this.renderMask)===null||l===void 0?void 0:l.call(this),v(zp,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return v(hn,{name:"fade-in-scale-up-transition",appear:(c=this.appear)!==null&&c!==void 0?c:this.isMounted,onEnter:n,onAfterEnter:this.onAfterEnter,onAfterLeave:o,onBeforeLeave:r},{default:()=>{const u=[[Jn,this.show]],{onClickoutside:d}=this;return d&&u.push([Ta,this.onClickoutside,void 0,{capture:!0}]),Cn(this.preset==="confirm"||this.preset==="dialog"?v(I2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},Xn(this.$props,A2),{"aria-modal":"true"}),e):this.preset==="card"?v(Un,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},Xn(this.$props,Rj),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Jn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),AW=W([O("modal-container",` position: fixed; left: 0; top: 0; @@ -2540,7 +2540,7 @@ ${t} color: var(--n-text-color); margin: auto; box-shadow: var(--n-box-shadow); - `,[Ha({duration:".25s",enterScale:".5"})])]),AW=Object.assign(Object.assign(Object.assign(Object.assign({},He.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),fm),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Zr=me({name:"Modal",inheritAttrs:!1,props:AW,setup(e){const t=N(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=at(e),i=He("Modal","-modal",$W,kW,e,n),a=GC(64),s=KC(),l=Gr(),c=e.internalDialog?qe(F2,null):null,u=pw();function d(w){const{onUpdateShow:x,"onUpdate:show":C,onHide:_}=e;x&&Pe(x,w),C&&Pe(C,w),_&&!w&&_(w)}function f(){const{onClose:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&d(!1)}):d(!1)}function p(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&d(!1)}):d(!1)}function h(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&d(!1)}):d(!1)}function g(){const{onBeforeLeave:w,onBeforeHide:x}=e;w&&Pe(w),x&&x()}function b(){const{onAfterLeave:w,onAfterHide:x}=e;w&&Pe(w),x&&x()}function m(w){var x;const{onMaskClick:C}=e;C&&C(w),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(wi(w))&&d(!1)}function y(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&WC(w)&&!u.value&&d(!1)}lt(XC,{getMousePosition:()=>{if(c){const{clickedRef:w,clickPositionRef:x}=c;if(w.value&&x.value)return x.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ue(e,"internalAppear"),transformOriginRef:Ue(e,"transformOrigin")});const k=L(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:x,color:C,textColor:_}}=i.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":x,"--n-color":C,"--n-text-color":_}}),S=r?kt("theme-class",void 0,k,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:L(()=>Xn(e,RW)),handleEsc:y,handleAfterLeave:b,handleClickoutside:m,handleBeforeLeave:g,doUpdateShow:d,handleNegativeClick:h,handlePositiveClick:p,handleCloseClick:f,cssVars:r?void 0:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return v(xu,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return Cn(v("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},v(EW,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return v(hn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[yu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),IW=Object.assign(Object.assign({},zu),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),MW=me({name:"DialogEnvironment",props:Object.assign(Object.assign({},IW),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=N(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return v(Zr,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>v(L2,Object.assign({},Xn(this.$props,D2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),zW={injectionKey:String,to:[String,Object]},OW=me({name:"DialogProvider",props:zW,setup(){const e=N([]),t={};function n(s={}){const l=Ii(),c=xo(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return lt(N2,a),lt(F2,{clickedRef:GC(64),clickPositionRef:KC()}),lt(_W,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return v(it,null,[this.dialogList.map(n=>v(MW,Qs(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function DW(){const e=qe(N2,null);return e===null&&Kr("use-dialog","No outer founded."),e}const H2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},LW={name:"Divider",common:bt,self:H2},FW=LW,NW={name:"Divider",common:Ve,self:H2},BW=NW,HW=O("divider",` + `,[Ha({duration:".25s",enterScale:".5"})])]),IW=Object.assign(Object.assign(Object.assign(Object.assign({},He.props),{show:Boolean,unstableShowMask:{type:Boolean,default:!0},maskClosable:{type:Boolean,default:!0},preset:String,to:[String,Object],displayDirective:{type:String,default:"if"},transformOrigin:{type:String,default:"mouse"},zIndex:Number,autoFocus:{type:Boolean,default:!0},trapFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0}}),fm),{onEsc:Function,"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onBeforeLeave:Function,onAfterLeave:Function,onClose:Function,onPositiveClick:Function,onNegativeClick:Function,onMaskClick:Function,internalDialog:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),Zr=me({name:"Modal",inheritAttrs:!1,props:IW,setup(e){const t=N(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=at(e),i=He("Modal","-modal",AW,TW,e,n),a=VC(64),s=jC(),l=Gr(),c=e.internalDialog?qe(M2,null):null,u=cw();function d(w){const{onUpdateShow:x,"onUpdate:show":C,onHide:_}=e;x&&Pe(x,w),C&&Pe(C,w),_&&!w&&_(w)}function f(){const{onClose:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&d(!1)}):d(!1)}function p(){const{onPositiveClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&d(!1)}):d(!1)}function h(){const{onNegativeClick:w}=e;w?Promise.resolve(w()).then(x=>{x!==!1&&d(!1)}):d(!1)}function g(){const{onBeforeLeave:w,onBeforeHide:x}=e;w&&Pe(w),x&&x()}function b(){const{onAfterLeave:w,onAfterHide:x}=e;w&&Pe(w),x&&x()}function m(w){var x;const{onMaskClick:C}=e;C&&C(w),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(wi(w))&&d(!1)}function y(w){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&BC(w)&&!u.value&&d(!1)}lt(WC,{getMousePosition:()=>{if(c){const{clickedRef:w,clickPositionRef:x}=c;if(w.value&&x.value)return x.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ue(e,"internalAppear"),transformOriginRef:Ue(e,"transformOrigin")});const k=L(()=>{const{common:{cubicBezierEaseOut:w},self:{boxShadow:x,color:C,textColor:_}}=i.value;return{"--n-bezier-ease-out":w,"--n-box-shadow":x,"--n-color":C,"--n-text-color":_}}),S=r?kt("theme-class",void 0,k,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:L(()=>Xn(e,EW)),handleEsc:y,handleAfterLeave:b,handleClickoutside:m,handleBeforeLeave:g,doUpdateShow:d,handleNegativeClick:h,handlePositiveClick:p,handleCloseClick:f,cssVars:r?void 0:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return v(Cu,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return Cn(v("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},v($W,Object.assign({style:this.overlayStyle},this.$attrs,{ref:"bodyWrapper",displayDirective:this.displayDirective,show:this.show,preset:this.preset,autoFocus:this.autoFocus,trapFocus:this.trapFocus,blockScroll:this.blockScroll},this.presetProps,{onEsc:this.handleEsc,onClose:this.handleCloseClick,onNegativeClick:this.handleNegativeClick,onPositiveClick:this.handlePositiveClick,onBeforeLeave:this.handleBeforeLeave,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave,onClickoutside:n?void 0:this.handleClickoutside,renderMask:n?()=>{var o;return v(hn,{name:"fade-in-transition",key:"mask",appear:(o=this.internalAppear)!==null&&o!==void 0?o:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,ref:"containerRef",class:`${e}-modal-mask`,onClick:this.handleClickoutside}):null})}:void 0}),this.$slots)),[[xu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),MW=Object.assign(Object.assign({},Ou),{onAfterEnter:Function,onAfterLeave:Function,transformOrigin:String,blockScroll:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},internalStyle:[String,Object],maskClosable:{type:Boolean,default:!0},onPositiveClick:Function,onNegativeClick:Function,onClose:Function,onMaskClick:Function}),zW=me({name:"DialogEnvironment",props:Object.assign(Object.assign({},MW),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=N(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(u){const{onPositiveClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function r(u){const{onNegativeClick:d}=e;d?Promise.resolve(d(u)).then(f=>{f!==!1&&l()}):l()}function i(){const{onClose:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function a(u){const{onMaskClick:d,maskClosable:f}=e;d&&(d(u),f&&l())}function s(){const{onEsc:u}=e;u&&u()}function l(){t.value=!1}function c(u){t.value=u}return{show:t,hide:l,handleUpdateShow:c,handleAfterLeave:n,handleCloseClick:i,handleNegativeClick:r,handlePositiveClick:o,handleMaskClick:a,handleEsc:s}},render(){const{handlePositiveClick:e,handleUpdateShow:t,handleNegativeClick:n,handleCloseClick:o,handleAfterLeave:r,handleMaskClick:i,handleEsc:a,to:s,maskClosable:l,show:c}=this;return v(Zr,{show:c,onUpdateShow:t,onMaskClick:i,onEsc:a,to:s,maskClosable:l,onAfterEnter:this.onAfterEnter,onAfterLeave:r,closeOnEsc:this.closeOnEsc,blockScroll:this.blockScroll,autoFocus:this.autoFocus,transformOrigin:this.transformOrigin,internalAppear:!0,internalDialog:!0},{default:()=>v(I2,Object.assign({},Xn(this.$props,A2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),OW={injectionKey:String,to:[String,Object]},DW=me({name:"DialogProvider",props:OW,setup(){const e=N([]),t={};function n(s={}){const l=Ii(),c=xo(Object.assign(Object.assign({},s),{key:l,destroy:()=>{t[`n-dialog-${l}`].hide()}}));return e.value.push(c),c}const o=["info","success","warning","error"].map(s=>l=>n(Object.assign(Object.assign({},l),{type:s})));function r(s){const{value:l}=e;l.splice(l.findIndex(c=>c.key===s),1)}function i(){Object.values(t).forEach(s=>{s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return lt(z2,a),lt(M2,{clickedRef:VC(64),clickPositionRef:jC()}),lt(SW,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return v(it,null,[this.dialogList.map(n=>v(zW,Qs(n,["destroy","style"],{internalStyle:n.style,to:this.to,ref:o=>{o===null?delete this.dialogInstRefs[`n-dialog-${n.key}`]:this.dialogInstRefs[`n-dialog-${n.key}`]=o},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function LW(){const e=qe(z2,null);return e===null&&Kr("use-dialog","No outer founded."),e}const D2=e=>{const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}},FW={name:"Divider",common:bt,self:D2},NW=FW,BW={name:"Divider",common:Ve,self:D2},HW=BW,jW=O("divider",` position: relative; display: flex; width: 100%; @@ -2581,7 +2581,7 @@ ${t} height: 1px; width: 100%; margin: 0; - `),Pt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),jW=Object.assign(Object.assign({},He.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),qi=me({name:"Divider",props:jW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Divider","-divider",HW,FW,e,t),r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?kt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:v("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?v(it,null,v("div",{class:`${a}-divider__title`},this.$slots),v("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),j2=e=>{const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:p,primaryColorHover:h}=e;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:r,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:p,resizableTriggerColorHover:h}},VW={name:"Drawer",common:bt,peers:{Scrollbar:Ui},self:j2},UW=VW,WW={name:"Drawer",common:Ve,peers:{Scrollbar:jn},self:j2},qW=WW,KW=me({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=N(!!e.show),n=N(null),o=qe(Rp);let r=0,i="",a=null;const s=N(!1),l=N(!1),c=L(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=at(e),f=pn("Drawer",d,u),p=R=>{l.value=!0,r=c.value?R.clientY:R.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",S),document.body.addEventListener("mouseleave",x),document.body.addEventListener("mouseup",w)},h=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},g=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:b,doUpdateWidth:m}=o,y=R=>{const{maxWidth:E}=e;if(E&&R>E)return E;const{minWidth:M}=e;return M&&R{const{maxHeight:E}=e;if(E&&R>E)return E;const{minHeight:M}=e;return M&&R{var E,M;if(l.value)if(c.value){let A=((E=n.value)===null||E===void 0?void 0:E.offsetHeight)||0;const q=r-R.clientY;A+=e.placement==="bottom"?q:-q,A=k(A),b(A),r=R.clientY}else{let A=((M=n.value)===null||M===void 0?void 0:M.offsetWidth)||0;const q=r-R.clientX;A+=e.placement==="right"?q:-q,A=y(A),m(A),r=R.clientX}},w=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",S),document.body.removeEventListener("mouseup",w),document.body.removeEventListener("mouseleave",x))},x=w;tn(()=>{e.show&&(t.value=!0)}),ht(()=>e.show,R=>{R||w()}),rn(()=>{w()});const C=L(()=>{const{show:R}=e,E=[[Jn,R]];return e.showMask||E.push([Ta,e.onClickoutside,void 0,{capture:!0}]),E});function _(){var R;t.value=!1,(R=e.onAfterLeave)===null||R===void 0||R.call(e)}return hw(L(()=>e.blockScroll&&t.value)),lt(ol,n),lt(Fa,null),lt(nl,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:L(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:_,bodyDirectives:C,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:h,handleMouseleaveResizeTrigger:g,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?Cn(v("div",{role:"none"},v(zp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>v(hn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>Cn(v("div",Dn(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?v("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?v("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):v(ko,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Jn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:GW,cubicBezierEaseOut:YW}=co;function XW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${GW}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${YW}`}),W(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:ZW,cubicBezierEaseOut:JW}=co;function QW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${ZW}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${JW}`}),W(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:eq,cubicBezierEaseOut:tq}=co;function nq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${eq}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${tq}`}),W(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:oq,cubicBezierEaseOut:rq}=co;function iq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${oq}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${rq}`}),W(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const aq=W([O("drawer",` + `),Pt("dashed",[V("line",{backgroundColor:"var(--n-color)"})]),Z("dashed",[V("line",{borderColor:"var(--n-color)"})]),Z("vertical",{backgroundColor:"var(--n-color)"})]),VW=Object.assign(Object.assign({},He.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),qi=me({name:"Divider",props:VW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Divider","-divider",jW,NW,e,t),r=L(()=>{const{common:{cubicBezierEaseInOut:a},self:{color:s,textColor:l,fontWeight:c}}=o.value;return{"--n-bezier":a,"--n-color":s,"--n-text-color":l,"--n-font-weight":c}}),i=n?kt("divider",void 0,r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{$slots:t,titlePlacement:n,vertical:o,dashed:r,cssVars:i,mergedClsPrefix:a}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{role:"separator",class:[`${a}-divider`,this.themeClass,{[`${a}-divider--vertical`]:o,[`${a}-divider--no-title`]:!t.default,[`${a}-divider--dashed`]:r,[`${a}-divider--title-position-${n}`]:t.default&&n}],style:i},o?null:v("div",{class:`${a}-divider__line ${a}-divider__line--left`}),!o&&t.default?v(it,null,v("div",{class:`${a}-divider__title`},this.$slots),v("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}}),L2=e=>{const{modalColor:t,textColor1:n,textColor2:o,boxShadow3:r,lineHeight:i,fontWeightStrong:a,dividerColor:s,closeColorHover:l,closeColorPressed:c,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,borderRadius:p,primaryColorHover:h}=e;return{bodyPadding:"16px 24px",headerPadding:"16px 24px",footerPadding:"16px 24px",color:t,textColor:o,titleTextColor:n,titleFontSize:"18px",titleFontWeight:a,boxShadow:r,lineHeight:i,headerBorderBottom:`1px solid ${s}`,footerBorderTop:`1px solid ${s}`,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,closeSize:"22px",closeIconSize:"18px",closeColorHover:l,closeColorPressed:c,closeBorderRadius:p,resizableTriggerColorHover:h}},UW={name:"Drawer",common:bt,peers:{Scrollbar:Ui},self:L2},WW=UW,qW={name:"Drawer",common:Ve,peers:{Scrollbar:jn},self:L2},KW=qW,GW=me({name:"NDrawerContent",inheritAttrs:!1,props:{blockScroll:Boolean,show:{type:Boolean,default:void 0},displayDirective:{type:String,required:!0},placement:{type:String,required:!0},contentClass:String,contentStyle:[Object,String],nativeScrollbar:{type:Boolean,required:!0},scrollbarProps:Object,trapFocus:{type:Boolean,default:!0},autoFocus:{type:Boolean,default:!0},showMask:{type:[Boolean,String],required:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,onClickoutside:Function,onAfterLeave:Function,onAfterEnter:Function,onEsc:Function},setup(e){const t=N(!!e.show),n=N(null),o=qe(Rp);let r=0,i="",a=null;const s=N(!1),l=N(!1),c=L(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=at(e),f=pn("Drawer",d,u),p=R=>{l.value=!0,r=c.value?R.clientY:R.clientX,i=document.body.style.cursor,document.body.style.cursor=c.value?"ns-resize":"ew-resize",document.body.addEventListener("mousemove",S),document.body.addEventListener("mouseleave",x),document.body.addEventListener("mouseup",w)},h=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},g=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:b,doUpdateWidth:m}=o,y=R=>{const{maxWidth:E}=e;if(E&&R>E)return E;const{minWidth:M}=e;return M&&R{const{maxHeight:E}=e;if(E&&R>E)return E;const{minHeight:M}=e;return M&&R{var E,M;if(l.value)if(c.value){let A=((E=n.value)===null||E===void 0?void 0:E.offsetHeight)||0;const q=r-R.clientY;A+=e.placement==="bottom"?q:-q,A=k(A),b(A),r=R.clientY}else{let A=((M=n.value)===null||M===void 0?void 0:M.offsetWidth)||0;const q=r-R.clientX;A+=e.placement==="right"?q:-q,A=y(A),m(A),r=R.clientX}},w=()=>{l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",S),document.body.removeEventListener("mouseup",w),document.body.removeEventListener("mouseleave",x))},x=w;tn(()=>{e.show&&(t.value=!0)}),ht(()=>e.show,R=>{R||w()}),rn(()=>{w()});const C=L(()=>{const{show:R}=e,E=[[Jn,R]];return e.showMask||E.push([Ta,e.onClickoutside,void 0,{capture:!0}]),E});function _(){var R;t.value=!1,(R=e.onAfterLeave)===null||R===void 0||R.call(e)}return lw(L(()=>e.blockScroll&&t.value)),lt(ol,n),lt(Fa,null),lt(nl,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:L(()=>({right:"slide-in-from-right-transition",left:"slide-in-from-left-transition",top:"slide-in-from-top-transition",bottom:"slide-in-from-bottom-transition"})[e.placement]),handleAfterLeave:_,bodyDirectives:C,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:h,handleMouseleaveResizeTrigger:g,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?Cn(v("div",{role:"none"},v(zp,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>v(hn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>Cn(v("div",Dn(this.$attrs,{role:"dialog",ref:"bodyRef","aria-modal":"true",class:[`${t}-drawer`,this.rtlEnabled&&`${t}-drawer--rtl`,`${t}-drawer--${this.placement}-placement`,this.isDragging&&`${t}-drawer--unselectable`,this.nativeScrollbar&&`${t}-drawer--native-scrollbar`]}),[this.resizable?v("div",{class:[`${t}-drawer__resize-trigger`,(this.isDragging||this.isHoverOnResizeTrigger)&&`${t}-drawer__resize-trigger--hover`],onMouseenter:this.handleMouseenterResizeTrigger,onMouseleave:this.handleMouseleaveResizeTrigger,onMousedown:this.handleMousedownResizeTrigger}):null,this.nativeScrollbar?v("div",{class:[`${t}-drawer-content-wrapper`,this.contentClass],style:this.contentStyle,role:"none"},e):v(ko,Object.assign({},this.scrollbarProps,{contentStyle:this.contentStyle,contentClass:[`${t}-drawer-content-wrapper`,this.contentClass],theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar}),e)]),this.bodyDirectives)})})),[[Jn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:YW,cubicBezierEaseOut:XW}=co;function ZW({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${YW}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${XW}`}),W(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateX(100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateX(100%)"})]}const{cubicBezierEaseIn:JW,cubicBezierEaseOut:QW}=co;function eq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${JW}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${QW}`}),W(`&.${n}-transition-enter-to`,{transform:"translateX(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateX(-100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateX(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateX(-100%)"})]}const{cubicBezierEaseIn:tq,cubicBezierEaseOut:nq}=co;function oq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${tq}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${nq}`}),W(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateY(-100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateY(-100%)"})]}const{cubicBezierEaseIn:rq,cubicBezierEaseOut:iq}=co;function aq({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${rq}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${iq}`}),W(`&.${n}-transition-enter-to`,{transform:"translateY(0)"}),W(`&.${n}-transition-enter-from`,{transform:"translateY(100%)"}),W(`&.${n}-transition-leave-from`,{transform:"translateY(0)"}),W(`&.${n}-transition-leave-to`,{transform:"translateY(100%)"})]}const sq=W([O("drawer",` word-break: break-word; line-height: var(--n-line-height); position: absolute; @@ -2593,7 +2593,7 @@ ${t} background-color: var(--n-color); color: var(--n-text-color); box-sizing: border-box; - `,[XW(),QW(),nq(),iq(),Z("unselectable",` + `,[ZW(),eq(),oq(),aq(),Z("unselectable",` user-select: none; -webkit-user-select: none; `),Z("native-scrollbar",[O("drawer-content-wrapper",` @@ -2704,13 +2704,13 @@ ${t} bottom: 0; `,[Z("invisible",` background-color: rgba(0, 0, 0, 0) - `),al({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),sq=Object.assign(Object.assign({},He.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),V2=me({name:"Drawer",inheritAttrs:!1,props:sq,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=at(e),r=Gr(),i=He("Drawer","-drawer",aq,UW,e,t),a=N(e.defaultWidth),s=N(e.defaultHeight),l=ln(Ue(e,"width"),a),c=ln(Ue(e,"height"),s),u=L(()=>{const{placement:x}=e;return x==="top"||x==="bottom"?"":qt(l.value)}),d=L(()=>{const{placement:x}=e;return x==="left"||x==="right"?"":qt(c.value)}),f=x=>{const{onUpdateWidth:C,"onUpdate:width":_}=e;C&&Pe(C,x),_&&Pe(_,x),a.value=x},p=x=>{const{onUpdateHeight:C,"onUpdate:width":_}=e;C&&Pe(C,x),_&&Pe(_,x),s.value=x},h=L(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function g(x){const{onMaskClick:C,maskClosable:_}=e;_&&k(!1),C&&C(x)}function b(x){g(x)}const m=pw();function y(x){var C;(C=e.onEsc)===null||C===void 0||C.call(e),e.show&&e.closeOnEsc&&WC(x)&&!m.value&&k(!1)}function k(x){const{onHide:C,onUpdateShow:_,"onUpdate:show":R}=e;_&&Pe(_,x),R&&Pe(R,x),C&&!x&&Pe(C,x)}lt(Rp,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:k,doUpdateHeight:p,doUpdateWidth:f});const S=L(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:C,cubicBezierEaseOut:_},self:{color:R,textColor:E,boxShadow:M,lineHeight:A,headerPadding:q,footerPadding:F,bodyPadding:z,titleFontSize:D,titleTextColor:Y,titleFontWeight:Q,headerBorderBottom:ce,footerBorderTop:le,closeIconColor:B,closeIconColorHover:$,closeIconColorPressed:I,closeColorHover:K,closeColorPressed:ne,closeIconSize:ve,closeSize:J,closeBorderRadius:ye,resizableTriggerColorHover:j}}=i.value;return{"--n-line-height":A,"--n-color":R,"--n-text-color":E,"--n-box-shadow":M,"--n-bezier":x,"--n-bezier-out":_,"--n-bezier-in":C,"--n-header-padding":q,"--n-body-padding":z,"--n-footer-padding":F,"--n-title-text-color":Y,"--n-title-font-size":D,"--n-title-font-weight":Q,"--n-header-border-bottom":ce,"--n-footer-border-top":le,"--n-close-icon-color":B,"--n-close-icon-color-hover":$,"--n-close-icon-color-pressed":I,"--n-close-size":J,"--n-close-color-hover":K,"--n-close-color-pressed":ne,"--n-close-icon-size":ve,"--n-close-border-radius":ye,"--n-resize-trigger-color-hover":j}}),w=o?kt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleOutsideClick:b,handleMaskClick:g,handleEsc:y,mergedTheme:i,cssVars:o?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return v(xu,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(v("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?v(hn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,v(KW,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[yu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),lq={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},cq=me({name:"DrawerContent",props:lq,setup(){const e=qe(Rp,null);e||Kr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:p,$slots:h}=this;return v("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},h.header||e||p?v("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},v("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},h.header!==void 0?h.header():e),p&&v(ji,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?v("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},v("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},h)):v(ko,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),h),h.footer?v("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},h.footer()):null)}}),uq={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},dq={name:"DynamicInput",common:Ve,peers:{Input:uo,Button:Vn},self(){return uq}},fq=dq,U2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},hq={name:"Space",self(){return U2}},W2=hq,pq=()=>U2,mq={name:"Space",self:pq},gq=mq;let Wd;const vq=()=>{if(!ur)return!0;if(Wd===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),Wd=t}return Wd},bq=Object.assign(Object.assign({},He.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Ua=me({name:"Space",props:bq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=He("Space","-space",void 0,gq,e,t),r=pn("Space",n,t);return{useGap:vq(),rtlEnabled:r,mergedClsPrefix:t,margin:L(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[Se("gap",i)]:a}}=o.value,{row:s,col:l}=NA(a);return{horizontal:kn(l),vertical:kn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:p}=this,h=ka(zC(this),!1);if(!h.length)return null;const g=`${s.horizontal}px`,b=`${s.horizontal/2}px`,m=`${s.vertical}px`,y=`${s.vertical/2}px`,k=h.length-1,S=r.startsWith("space-");return v("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?"flex-"+r:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${y}`,marginBottom:d||e?"":`-${y}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||p)?h:h.map((w,x)=>w.type===$n?w:v("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:x!==k?m:""}:u?{marginLeft:S?r==="space-between"&&x===k?"":b:x!==k?g:"",marginRight:S?r==="space-between"&&x===0?"":b:"",paddingTop:y,paddingBottom:y}:{marginRight:S?r==="space-between"&&x===k?"":b:x!==k?g:"",marginLeft:S?r==="space-between"&&x===0?"":b:"",paddingTop:y,paddingBottom:y}]},w)))}}),yq={name:"DynamicTags",common:Ve,peers:{Input:uo,Button:Vn,Tag:k_,Space:W2},self(){return{inputWidth:"64px"}}},xq=yq,Cq={name:"Element",common:Ve},wq=Cq,_q={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},Sq={name:"Flex",self(){return _q}},kq=Sq,Tq={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Pq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},Tq),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},Rq={name:"Form",common:Ve,self:Pq},Eq=Rq,$q={name:"GradientText",common:Ve,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:o,colorEndWarning:l,colorStartError:r,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},Aq=$q,Iq=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},Mq={name:"IconWrapper",common:Ve,self:Iq},zq=Mq,Oq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},q2=e=>{const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:p,borderRadius:h,fontWeightStrong:g,boxShadow2:b,lineHeight:m,fontSize:y}=e;return Object.assign(Object.assign({},Oq),{borderRadius:h,lineHeight:m,fontSize:y,headerFontWeight:g,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:h,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:p,actionTextColor:t,boxShadow:b})},Dq={name:"Notification",common:bt,peers:{Scrollbar:Ui},self:q2},Lq=Dq,Fq={name:"Notification",common:Ve,peers:{Scrollbar:jn},self:q2},Nq=Fq,Bq={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},K2=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:p,closeColorHover:h,closeColorPressed:g}=e;return Object.assign(Object.assign({},Bq),{closeBorderRadius:p,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:h,closeColorPressed:g,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:h,closeColorPressedInfo:g,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:h,closeColorPressedSuccess:g,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:h,closeColorPressedError:g,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:h,closeColorPressedWarning:g,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:h,closeColorPressedLoading:g,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:p})},Hq={name:"Message",common:bt,self:K2},jq=Hq,Vq={name:"Message",common:Ve,self:K2},Uq=Vq,Wq={name:"ButtonGroup",common:Ve},qq=Wq,Kq={name:"InputNumber",common:Ve,peers:{Button:Vn,Input:uo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},Gq=Kq,Yq=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},Xq={name:"InputNumber",common:bt,peers:{Button:Ru,Input:em},self:Yq},Zq=Xq,Jq={name:"Layout",common:Ve,peers:{Scrollbar:jn},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:et(n,a),siderToggleBarColorHover:et(n,s),__invertScrollbar:"false"}}},Qq=Jq,eK=e=>{const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:r,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:r,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:et(o,s),siderToggleBarColorHover:et(o,l),__invertScrollbar:"true"}},tK={name:"Layout",common:bt,peers:{Scrollbar:Ui},self:eK},G2=tK,Y2=e=>{const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:et(o,l),colorPopover:r,colorHoverPopover:et(r,l),borderColor:i,borderColorModal:et(o,i),borderColorPopover:et(r,i),borderRadius:a,fontSize:s}},nK={name:"List",common:bt,self:Y2},oK=nK,rK={name:"List",common:Ve,self:Y2},iK=rK,aK={name:"LoadingBar",common:Ve,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},sK=aK,lK=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},cK={name:"LoadingBar",common:bt,self:lK},uK=cK,dK={name:"Log",common:Ve,peers:{Scrollbar:jn,Code:Y_},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}},fK=dK,hK={name:"Mention",common:Ve,peers:{InternalSelectMenu:sl,Input:uo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},pK=hK;function mK(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}const X2=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Ie(o,{alpha:.1}),itemColorActiveHover:Ie(o,{alpha:.1}),itemColorActiveCollapsed:Ie(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},mK("#BBB",o,"#FFF","#AAA"))},gK={name:"Menu",common:bt,peers:{Tooltip:im,Dropdown:sm},self:X2},vK=gK,bK={name:"Menu",common:Ve,peers:{Tooltip:$u,Dropdown:lm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=X2(e);return o.itemColorActive=Ie(t,{alpha:.15}),o.itemColorActiveHover=Ie(t,{alpha:.15}),o.itemColorActiveCollapsed=Ie(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},yK=bK,xK={titleFontSize:"18px",backSize:"22px"};function CK(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},xK),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const wK={name:"PageHeader",common:Ve,self:CK},_K={iconSize:"22px"},SK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},_K),{fontSize:t,iconColor:n})},kK={name:"Popconfirm",common:Ve,peers:{Button:Vn,Popover:Wi},self:SK},TK=kK,Z2=e=>{const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},PK={name:"Progress",common:bt,self:Z2},RK=PK,EK={name:"Progress",common:Ve,self(e){const t=Z2(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},J2=EK,$K={name:"Rate",common:Ve,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},AK=$K,IK={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},Q2=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},IK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},MK={name:"Result",common:bt,self:Q2},zK=MK,OK={name:"Result",common:Ve,self:Q2},DK=OK,LK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},FK={name:"Slider",common:Ve,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:r,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},LK),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:r,fillColorHover:r,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},NK=FK,eS=e=>{const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}},BK={name:"Spin",common:bt,self:eS},HK=BK,jK={name:"Spin",common:Ve,self:eS},VK=jK,UK=e=>{const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},WK={name:"Statistic",common:Ve,self:UK},qK=WK,KK={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},GK=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},KK),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:i,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:i,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})},YK={name:"Steps",common:Ve,self:GK},XK=YK,tS={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},ZK={name:"Switch",common:Ve,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},tS),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Ie(r,{alpha:.3})}`})}},JK=ZK,QK=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},tS),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Ie(t,{alpha:.2})}`})},eG={name:"Switch",common:bt,self:QK},tG=eG,nG={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},oG=e=>{const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:d,fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h}=e;return Object.assign(Object.assign({},nG),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:et(n,t),borderColorModal:et(o,t),borderColorPopover:et(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:et(n,a),tdColorStripedModal:et(o,a),tdColorStripedPopover:et(r,a),thColor:et(n,i),thColorModal:et(o,i),thColorPopover:et(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},rG={name:"Table",common:Ve,self:oG},iG=rG,aG={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},sG=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:d,fontWeight:f,textColor1:p,borderRadius:h,fontSize:g,fontWeightStrong:b}=e;return Object.assign(Object.assign({},aG),{colorSegment:c,tabFontSizeCard:g,tabTextColorLine:p,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:p,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:p,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:p,tabTextColorHoverCard:p,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:h,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:h,paneTextColor:t,fontWeightStrong:b})},lG={name:"Tabs",common:Ve,self(e){const t=sG(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},cG=lG,uG=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},dG={name:"Thing",common:Ve,self:uG},fG=dG,hG={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},pG={name:"Timeline",common:Ve,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},hG),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},mG=pG,gG={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},vG={name:"Transfer",common:Ve,peers:{Checkbox:Va,Scrollbar:jn,Input:uo,Empty:Vi,Button:Vn},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:p,hoverColor:h,closeColorHover:g,closeColorPressed:b,closeIconColor:m,closeIconColorHover:y,closeIconColorPressed:k,dividerColor:S}=e;return Object.assign(Object.assign({},gG),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:S,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:g,closeColorPressed:b,closeIconColor:m,closeIconColorHover:y,closeIconColorPressed:k})}},bG=vG,yG=e=>{const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Ie(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}},xG={name:"Tree",common:Ve,peers:{Checkbox:Va,Scrollbar:jn,Empty:Vi},self(e){const{primaryColor:t}=e,n=yG(e);return n.nodeColorActive=Ie(t,{alpha:.15}),n}},nS=xG,CG={name:"TreeSelect",common:Ve,peers:{Tree:nS,Empty:Vi,InternalSelection:Jp}},wG=CG,_G={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},SG=e=>{const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:p,successColor:h,codeColor:g}=e;return Object.assign(Object.assign({},_G),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:n,liLineHeight:r,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:u,pLineHeight:r,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:p,headerBarColorWarning:f,headerBarColorSuccess:h,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:f,textColorError:p,codeTextColor:n,codeColor:g,codeBorder:"1px solid #0000"})},kG={name:"Typography",common:Ve,self:SG},TG=kG,PG=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Ie(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},RG={name:"Upload",common:Ve,peers:{Button:Vn,Progress:J2},self(e){const{errorColor:t}=e,n=PG(e);return n.itemColorHoverError=Ie(t,{alpha:.09}),n}},EG=RG,$G={name:"Watermark",common:Ve,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},AG=$G,IG={name:"Row",common:Ve},MG=IG,zG={name:"Image",common:Ve,peers:{Tooltip:$u},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function OG(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function DG(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function qd(e){return e==null?!0:!Number.isNaN(e)}function U0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Kd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const LG=W([O("input-number-suffix",` + `),al({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),lq=Object.assign(Object.assign({},He.props),{show:Boolean,width:[Number,String],height:[Number,String],placement:{type:String,default:"right"},maskClosable:{type:Boolean,default:!0},showMask:{type:[Boolean,String],default:!0},to:[String,Object],displayDirective:{type:String,default:"if"},nativeScrollbar:{type:Boolean,default:!0},zIndex:Number,onMaskClick:Function,scrollbarProps:Object,contentClass:String,contentStyle:[Object,String],trapFocus:{type:Boolean,default:!0},onEsc:Function,autoFocus:{type:Boolean,default:!0},closeOnEsc:{type:Boolean,default:!0},blockScroll:{type:Boolean,default:!0},maxWidth:Number,maxHeight:Number,minWidth:Number,minHeight:Number,resizable:Boolean,defaultWidth:{type:[Number,String],default:251},defaultHeight:{type:[Number,String],default:251},onUpdateWidth:[Function,Array],onUpdateHeight:[Function,Array],"onUpdate:width":[Function,Array],"onUpdate:height":[Function,Array],"onUpdate:show":[Function,Array],onUpdateShow:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,drawerStyle:[String,Object],drawerClass:String,target:null,onShow:Function,onHide:Function}),F2=me({name:"Drawer",inheritAttrs:!1,props:lq,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=at(e),r=Gr(),i=He("Drawer","-drawer",sq,WW,e,t),a=N(e.defaultWidth),s=N(e.defaultHeight),l=ln(Ue(e,"width"),a),c=ln(Ue(e,"height"),s),u=L(()=>{const{placement:x}=e;return x==="top"||x==="bottom"?"":qt(l.value)}),d=L(()=>{const{placement:x}=e;return x==="left"||x==="right"?"":qt(c.value)}),f=x=>{const{onUpdateWidth:C,"onUpdate:width":_}=e;C&&Pe(C,x),_&&Pe(_,x),a.value=x},p=x=>{const{onUpdateHeight:C,"onUpdate:width":_}=e;C&&Pe(C,x),_&&Pe(_,x),s.value=x},h=L(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function g(x){const{onMaskClick:C,maskClosable:_}=e;_&&k(!1),C&&C(x)}function b(x){g(x)}const m=cw();function y(x){var C;(C=e.onEsc)===null||C===void 0||C.call(e),e.show&&e.closeOnEsc&&BC(x)&&!m.value&&k(!1)}function k(x){const{onHide:C,onUpdateShow:_,"onUpdate:show":R}=e;_&&Pe(_,x),R&&Pe(R,x),C&&!x&&Pe(C,x)}lt(Rp,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:k,doUpdateHeight:p,doUpdateWidth:f});const S=L(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:C,cubicBezierEaseOut:_},self:{color:R,textColor:E,boxShadow:M,lineHeight:A,headerPadding:q,footerPadding:F,bodyPadding:z,titleFontSize:D,titleTextColor:Y,titleFontWeight:Q,headerBorderBottom:ce,footerBorderTop:le,closeIconColor:B,closeIconColorHover:$,closeIconColorPressed:I,closeColorHover:K,closeColorPressed:ne,closeIconSize:ve,closeSize:J,closeBorderRadius:ye,resizableTriggerColorHover:j}}=i.value;return{"--n-line-height":A,"--n-color":R,"--n-text-color":E,"--n-box-shadow":M,"--n-bezier":x,"--n-bezier-out":_,"--n-bezier-in":C,"--n-header-padding":q,"--n-body-padding":z,"--n-footer-padding":F,"--n-title-text-color":Y,"--n-title-font-size":D,"--n-title-font-weight":Q,"--n-header-border-bottom":ce,"--n-footer-border-top":le,"--n-close-icon-color":B,"--n-close-icon-color-hover":$,"--n-close-icon-color-pressed":I,"--n-close-size":J,"--n-close-color-hover":K,"--n-close-color-pressed":ne,"--n-close-icon-size":ve,"--n-close-border-radius":ye,"--n-resize-trigger-color-hover":j}}),w=o?kt("drawer",void 0,S,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:h,handleOutsideClick:b,handleMaskClick:g,handleEsc:y,mergedTheme:i,cssVars:o?void 0:S,themeClass:w==null?void 0:w.themeClass,onRender:w==null?void 0:w.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return v(Cu,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(v("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?v(hn,{name:"fade-in-transition",appear:this.isMounted},{default:()=>this.show?v("div",{"aria-hidden":!0,class:[`${e}-drawer-mask`,this.showMask==="transparent"&&`${e}-drawer-mask--invisible`],onClick:this.handleMaskClick}):null}):null,v(GW,Object.assign({},this.$attrs,{class:[this.drawerClass,this.$attrs.class],style:[this.mergedBodyStyle,this.$attrs.style],blockScroll:this.blockScroll,contentStyle:this.contentStyle,contentClass:this.contentClass,placement:this.placement,scrollbarProps:this.scrollbarProps,show:this.show,displayDirective:this.displayDirective,nativeScrollbar:this.nativeScrollbar,onAfterEnter:this.onAfterEnter,onAfterLeave:this.onAfterLeave,trapFocus:this.trapFocus,autoFocus:this.autoFocus,resizable:this.resizable,maxHeight:this.maxHeight,minHeight:this.minHeight,maxWidth:this.maxWidth,minWidth:this.minWidth,showMask:this.showMask,onEsc:this.handleEsc,onClickoutside:this.handleOutsideClick}),this.$slots)),[[xu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),cq={title:String,headerClass:String,headerStyle:[Object,String],footerClass:String,footerStyle:[Object,String],bodyClass:String,bodyStyle:[Object,String],bodyContentClass:String,bodyContentStyle:[Object,String],nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,closable:Boolean},uq=me({name:"DrawerContent",props:cq,setup(){const e=qe(Rp,null);e||Kr("drawer-content","`n-drawer-content` must be placed inside `n-drawer`.");const{doUpdateShow:t}=e;function n(){t(!1)}return{handleCloseClick:n,mergedTheme:e.mergedThemeRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{title:e,mergedClsPrefix:t,nativeScrollbar:n,mergedTheme:o,bodyClass:r,bodyStyle:i,bodyContentClass:a,bodyContentStyle:s,headerClass:l,headerStyle:c,footerClass:u,footerStyle:d,scrollbarProps:f,closable:p,$slots:h}=this;return v("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},h.header||e||p?v("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},v("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},h.header!==void 0?h.header():e),p&&v(ji,{onClick:this.handleCloseClick,clsPrefix:t,class:`${t}-drawer-header__close`,absolute:!0})):null,n?v("div",{class:[`${t}-drawer-body`,r],style:i,role:"none"},v("div",{class:[`${t}-drawer-body-content-wrapper`,a],style:s,role:"none"},h)):v(ko,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),h),h.footer?v("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},h.footer()):null)}}),dq={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},fq={name:"DynamicInput",common:Ve,peers:{Input:uo,Button:Vn},self(){return dq}},hq=fq,N2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},pq={name:"Space",self(){return N2}},B2=pq,mq=()=>N2,gq={name:"Space",self:mq},vq=gq;let qd;const bq=()=>{if(!ur)return!0;if(qd===void 0){const e=document.createElement("div");e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e);const t=e.scrollHeight===1;return document.body.removeChild(e),qd=t}return qd},yq=Object.assign(Object.assign({},He.props),{align:String,justify:{type:String,default:"start"},inline:Boolean,vertical:Boolean,reverse:Boolean,size:{type:[String,Number,Array],default:"medium"},wrapItem:{type:Boolean,default:!0},itemClass:String,itemStyle:[String,Object],wrap:{type:Boolean,default:!0},internalUseGap:{type:Boolean,default:void 0}}),Ua=me({name:"Space",props:yq,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=at(e),o=He("Space","-space",void 0,vq,e,t),r=pn("Space",n,t);return{useGap:bq(),rtlEnabled:r,mergedClsPrefix:t,margin:L(()=>{const{size:i}=e;if(Array.isArray(i))return{horizontal:i[0],vertical:i[1]};if(typeof i=="number")return{horizontal:i,vertical:i};const{self:{[Se("gap",i)]:a}}=o.value,{row:s,col:l}=BA(a);return{horizontal:kn(l),vertical:kn(s)}})}},render(){const{vertical:e,reverse:t,align:n,inline:o,justify:r,itemClass:i,itemStyle:a,margin:s,wrap:l,mergedClsPrefix:c,rtlEnabled:u,useGap:d,wrapItem:f,internalUseGap:p}=this,h=ka(EC(this),!1);if(!h.length)return null;const g=`${s.horizontal}px`,b=`${s.horizontal/2}px`,m=`${s.vertical}px`,y=`${s.vertical/2}px`,k=h.length-1,S=r.startsWith("space-");return v("div",{role:"none",class:[`${c}-space`,u&&`${c}-space--rtl`],style:{display:o?"inline-flex":"flex",flexDirection:(()=>e&&!t?"column":e&&t?"column-reverse":!e&&t?"row-reverse":"row")(),justifyContent:["start","end"].includes(r)?"flex-"+r:r,flexWrap:!l||e?"nowrap":"wrap",marginTop:d||e?"":`-${y}`,marginBottom:d||e?"":`-${y}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||p)?h:h.map((w,x)=>w.type===$n?w:v("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:x!==k?m:""}:u?{marginLeft:S?r==="space-between"&&x===k?"":b:x!==k?g:"",marginRight:S?r==="space-between"&&x===0?"":b:"",paddingTop:y,paddingBottom:y}:{marginRight:S?r==="space-between"&&x===k?"":b:x!==k?g:"",marginLeft:S?r==="space-between"&&x===0?"":b:"",paddingTop:y,paddingBottom:y}]},w)))}}),xq={name:"DynamicTags",common:Ve,peers:{Input:uo,Button:Vn,Tag:x_,Space:B2},self(){return{inputWidth:"64px"}}},Cq=xq,wq={name:"Element",common:Ve},_q=wq,Sq={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},kq={name:"Flex",self(){return Sq}},Tq=kq,Pq={feedbackPadding:"4px 0 0 2px",feedbackHeightSmall:"24px",feedbackHeightMedium:"24px",feedbackHeightLarge:"26px",feedbackFontSizeSmall:"13px",feedbackFontSizeMedium:"14px",feedbackFontSizeLarge:"14px",labelFontSizeLeftSmall:"14px",labelFontSizeLeftMedium:"14px",labelFontSizeLeftLarge:"15px",labelFontSizeTopSmall:"13px",labelFontSizeTopMedium:"14px",labelFontSizeTopLarge:"14px",labelHeightSmall:"24px",labelHeightMedium:"26px",labelHeightLarge:"28px",labelPaddingVertical:"0 0 6px 2px",labelPaddingHorizontal:"0 12px 0 0",labelTextAlignVertical:"left",labelTextAlignHorizontal:"right",labelFontWeight:"400"},Rq=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},Pq),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})},Eq={name:"Form",common:Ve,self:Rq},$q=Eq,Aq={name:"GradientText",common:Ve,self(e){const{primaryColor:t,successColor:n,warningColor:o,errorColor:r,infoColor:i,primaryColorSuppl:a,successColorSuppl:s,warningColorSuppl:l,errorColorSuppl:c,infoColorSuppl:u,fontWeightStrong:d}=e;return{fontWeight:d,rotate:"252deg",colorStartPrimary:t,colorEndPrimary:a,colorStartInfo:i,colorEndInfo:u,colorStartWarning:o,colorEndWarning:l,colorStartError:r,colorEndError:c,colorStartSuccess:n,colorEndSuccess:s}}},Iq=Aq,Mq=e=>{const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}},zq={name:"IconWrapper",common:Ve,self:Mq},Oq=zq,Dq={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"},H2=e=>{const{textColor2:t,successColor:n,infoColor:o,warningColor:r,errorColor:i,popoverColor:a,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeColorHover:u,closeColorPressed:d,textColor1:f,textColor3:p,borderRadius:h,fontWeightStrong:g,boxShadow2:b,lineHeight:m,fontSize:y}=e;return Object.assign(Object.assign({},Dq),{borderRadius:h,lineHeight:m,fontSize:y,headerFontWeight:g,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:h,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:p,actionTextColor:t,boxShadow:b})},Lq={name:"Notification",common:bt,peers:{Scrollbar:Ui},self:H2},Fq=Lq,Nq={name:"Notification",common:Ve,peers:{Scrollbar:jn},self:H2},Bq=Nq,Hq={margin:"0 0 8px 0",padding:"10px 20px",maxWidth:"720px",minWidth:"420px",iconMargin:"0 10px 0 0",closeMargin:"0 0 0 10px",closeSize:"20px",closeIconSize:"16px",iconSize:"20px",fontSize:"14px"},j2=e=>{const{textColor2:t,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,infoColor:i,successColor:a,errorColor:s,warningColor:l,popoverColor:c,boxShadow2:u,primaryColor:d,lineHeight:f,borderRadius:p,closeColorHover:h,closeColorPressed:g}=e;return Object.assign(Object.assign({},Hq),{closeBorderRadius:p,textColor:t,textColorInfo:t,textColorSuccess:t,textColorError:t,textColorWarning:t,textColorLoading:t,color:c,colorInfo:c,colorSuccess:c,colorError:c,colorWarning:c,colorLoading:c,boxShadow:u,boxShadowInfo:u,boxShadowSuccess:u,boxShadowError:u,boxShadowWarning:u,boxShadowLoading:u,iconColor:t,iconColorInfo:i,iconColorSuccess:a,iconColorWarning:l,iconColorError:s,iconColorLoading:d,closeColorHover:h,closeColorPressed:g,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:h,closeColorPressedInfo:g,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:h,closeColorPressedSuccess:g,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:h,closeColorPressedError:g,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:h,closeColorPressedWarning:g,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:h,closeColorPressedLoading:g,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:p})},jq={name:"Message",common:bt,self:j2},Vq=jq,Uq={name:"Message",common:Ve,self:j2},Wq=Uq,qq={name:"ButtonGroup",common:Ve},Kq=qq,Gq={name:"InputNumber",common:Ve,peers:{Button:Vn,Input:uo},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},Yq=Gq,Xq=e=>{const{textColorDisabled:t}=e;return{iconColorDisabled:t}},Zq={name:"InputNumber",common:bt,peers:{Button:Eu,Input:em},self:Xq},Jq=Zq,Qq={name:"Layout",common:Ve,peers:{Scrollbar:jn},self(e){const{textColor2:t,bodyColor:n,popoverColor:o,cardColor:r,dividerColor:i,scrollbarColor:a,scrollbarColorHover:s}=e;return{textColor:t,textColorInverted:t,color:n,colorEmbedded:n,headerColor:r,headerColorInverted:r,footerColor:r,footerColorInverted:r,headerBorderColor:i,headerBorderColorInverted:i,footerBorderColor:i,footerBorderColorInverted:i,siderBorderColor:i,siderBorderColorInverted:i,siderColor:r,siderColorInverted:r,siderToggleButtonBorder:"1px solid transparent",siderToggleButtonColor:o,siderToggleButtonIconColor:t,siderToggleButtonIconColorInverted:t,siderToggleBarColor:et(n,a),siderToggleBarColorHover:et(n,s),__invertScrollbar:"false"}}},eK=Qq,tK=e=>{const{baseColor:t,textColor2:n,bodyColor:o,cardColor:r,dividerColor:i,actionColor:a,scrollbarColor:s,scrollbarColorHover:l,invertedColor:c}=e;return{textColor:n,textColorInverted:"#FFF",color:o,colorEmbedded:a,headerColor:r,headerColorInverted:c,footerColor:a,footerColorInverted:c,headerBorderColor:i,headerBorderColorInverted:c,footerBorderColor:i,footerBorderColorInverted:c,siderBorderColor:i,siderBorderColorInverted:c,siderColor:r,siderColorInverted:c,siderToggleButtonBorder:`1px solid ${i}`,siderToggleButtonColor:t,siderToggleButtonIconColor:n,siderToggleButtonIconColorInverted:n,siderToggleBarColor:et(o,s),siderToggleBarColorHover:et(o,l),__invertScrollbar:"true"}},nK={name:"Layout",common:bt,peers:{Scrollbar:Ui},self:tK},V2=nK,U2=e=>{const{textColor2:t,cardColor:n,modalColor:o,popoverColor:r,dividerColor:i,borderRadius:a,fontSize:s,hoverColor:l}=e;return{textColor:t,color:n,colorHover:l,colorModal:o,colorHoverModal:et(o,l),colorPopover:r,colorHoverPopover:et(r,l),borderColor:i,borderColorModal:et(o,i),borderColorPopover:et(r,i),borderRadius:a,fontSize:s}},oK={name:"List",common:bt,self:U2},rK=oK,iK={name:"List",common:Ve,self:U2},aK=iK,sK={name:"LoadingBar",common:Ve,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},lK=sK,cK=e=>{const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}},uK={name:"LoadingBar",common:bt,self:cK},dK=uK,fK={name:"Log",common:Ve,peers:{Scrollbar:jn,Code:U_},self(e){const{textColor2:t,inputColor:n,fontSize:o,primaryColor:r}=e;return{loaderFontSize:o,loaderTextColor:t,loaderColor:n,loaderBorder:"1px solid #0000",loadingColor:r}}},hK=fK,pK={name:"Mention",common:Ve,peers:{InternalSelectMenu:sl,Input:uo},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},mK=pK;function gK(e,t,n,o){return{itemColorHoverInverted:"#0000",itemColorActiveInverted:t,itemColorActiveHoverInverted:t,itemColorActiveCollapsedInverted:t,itemTextColorInverted:e,itemTextColorHoverInverted:n,itemTextColorChildActiveInverted:n,itemTextColorChildActiveHoverInverted:n,itemTextColorActiveInverted:n,itemTextColorActiveHoverInverted:n,itemTextColorHorizontalInverted:e,itemTextColorHoverHorizontalInverted:n,itemTextColorChildActiveHorizontalInverted:n,itemTextColorChildActiveHoverHorizontalInverted:n,itemTextColorActiveHorizontalInverted:n,itemTextColorActiveHoverHorizontalInverted:n,itemIconColorInverted:e,itemIconColorHoverInverted:n,itemIconColorActiveInverted:n,itemIconColorActiveHoverInverted:n,itemIconColorChildActiveInverted:n,itemIconColorChildActiveHoverInverted:n,itemIconColorCollapsedInverted:e,itemIconColorHorizontalInverted:e,itemIconColorHoverHorizontalInverted:n,itemIconColorActiveHorizontalInverted:n,itemIconColorActiveHoverHorizontalInverted:n,itemIconColorChildActiveHorizontalInverted:n,itemIconColorChildActiveHoverHorizontalInverted:n,arrowColorInverted:e,arrowColorHoverInverted:n,arrowColorActiveInverted:n,arrowColorActiveHoverInverted:n,arrowColorChildActiveInverted:n,arrowColorChildActiveHoverInverted:n,groupTextColorInverted:o}}const W2=e=>{const{borderRadius:t,textColor3:n,primaryColor:o,textColor2:r,textColor1:i,fontSize:a,dividerColor:s,hoverColor:l,primaryColorHover:c}=e;return Object.assign({borderRadius:t,color:"#0000",groupTextColor:n,itemColorHover:l,itemColorActive:Ie(o,{alpha:.1}),itemColorActiveHover:Ie(o,{alpha:.1}),itemColorActiveCollapsed:Ie(o,{alpha:.1}),itemTextColor:r,itemTextColorHover:r,itemTextColorActive:o,itemTextColorActiveHover:o,itemTextColorChildActive:o,itemTextColorChildActiveHover:o,itemTextColorHorizontal:r,itemTextColorHoverHorizontal:c,itemTextColorActiveHorizontal:o,itemTextColorActiveHoverHorizontal:o,itemTextColorChildActiveHorizontal:o,itemTextColorChildActiveHoverHorizontal:o,itemIconColor:i,itemIconColorHover:i,itemIconColorActive:o,itemIconColorActiveHover:o,itemIconColorChildActive:o,itemIconColorChildActiveHover:o,itemIconColorCollapsed:i,itemIconColorHorizontal:i,itemIconColorHoverHorizontal:c,itemIconColorActiveHorizontal:o,itemIconColorActiveHoverHorizontal:o,itemIconColorChildActiveHorizontal:o,itemIconColorChildActiveHoverHorizontal:o,itemHeight:"42px",arrowColor:r,arrowColorHover:r,arrowColorActive:o,arrowColorActiveHover:o,arrowColorChildActive:o,arrowColorChildActiveHover:o,colorInverted:"#0000",borderColorHorizontal:"#0000",fontSize:a,dividerColor:s},gK("#BBB",o,"#FFF","#AAA"))},vK={name:"Menu",common:bt,peers:{Tooltip:im,Dropdown:sm},self:W2},bK=vK,yK={name:"Menu",common:Ve,peers:{Tooltip:Au,Dropdown:lm},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=W2(e);return o.itemColorActive=Ie(t,{alpha:.15}),o.itemColorActiveHover=Ie(t,{alpha:.15}),o.itemColorActiveCollapsed=Ie(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},xK=yK,CK={titleFontSize:"18px",backSize:"22px"};function wK(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},CK),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const _K={name:"PageHeader",common:Ve,self:wK},SK={iconSize:"22px"},kK=e=>{const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},SK),{fontSize:t,iconColor:n})},TK={name:"Popconfirm",common:Ve,peers:{Button:Vn,Popover:Wi},self:kK},PK=TK,q2=e=>{const{infoColor:t,successColor:n,warningColor:o,errorColor:r,textColor2:i,progressRailColor:a,fontSize:s,fontWeight:l}=e;return{fontSize:s,fontSizeCircle:"28px",fontWeightCircle:l,railColor:a,railHeight:"8px",iconSizeCircle:"36px",iconSizeLine:"18px",iconColor:t,iconColorInfo:t,iconColorSuccess:n,iconColorWarning:o,iconColorError:r,textColorCircle:i,textColorLineInner:"rgb(255, 255, 255)",textColorLineOuter:i,fillColor:t,fillColorInfo:t,fillColorSuccess:n,fillColorWarning:o,fillColorError:r,lineBgProcessing:"linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)"}},RK={name:"Progress",common:bt,self:q2},EK=RK,$K={name:"Progress",common:Ve,self(e){const t=q2(e);return t.textColorLineInner="rgb(0, 0, 0)",t.lineBgProcessing="linear-gradient(90deg, rgba(255, 255, 255, .3) 0%, rgba(255, 255, 255, .5) 100%)",t}},K2=$K,AK={name:"Rate",common:Ve,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},IK=AK,MK={titleFontSizeSmall:"26px",titleFontSizeMedium:"32px",titleFontSizeLarge:"40px",titleFontSizeHuge:"48px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",iconSizeSmall:"64px",iconSizeMedium:"80px",iconSizeLarge:"100px",iconSizeHuge:"125px",iconColor418:void 0,iconColor404:void 0,iconColor403:void 0,iconColor500:void 0},G2=e=>{const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},MK),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})},zK={name:"Result",common:bt,self:G2},OK=zK,DK={name:"Result",common:Ve,self:G2},LK=DK,FK={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},NK={name:"Slider",common:Ve,self(e){const t="0 2px 8px 0 rgba(0, 0, 0, 0.12)",{railColor:n,modalColor:o,primaryColorSuppl:r,popoverColor:i,textColor2:a,cardColor:s,borderRadius:l,fontSize:c,opacityDisabled:u}=e;return Object.assign(Object.assign({},FK),{fontSize:c,markFontSize:c,railColor:n,railColorHover:n,fillColor:r,fillColorHover:r,opacityDisabled:u,handleColor:"#FFF",dotColor:s,dotColorModal:o,dotColorPopover:i,handleBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowHover:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowActive:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",handleBoxShadowFocus:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",indicatorColor:i,indicatorBoxShadow:t,indicatorTextColor:a,indicatorBorderRadius:l,dotBorder:`2px solid ${n}`,dotBorderActive:`2px solid ${r}`,dotBoxShadow:""})}},BK=NK,Y2=e=>{const{opacityDisabled:t,heightTiny:n,heightSmall:o,heightMedium:r,heightLarge:i,heightHuge:a,primaryColor:s,fontSize:l}=e;return{fontSize:l,textColor:s,sizeTiny:n,sizeSmall:o,sizeMedium:r,sizeLarge:i,sizeHuge:a,color:s,opacitySpinning:t}},HK={name:"Spin",common:bt,self:Y2},jK=HK,VK={name:"Spin",common:Ve,self:Y2},UK=VK,WK=e=>{const{textColor2:t,textColor3:n,fontSize:o,fontWeight:r}=e;return{labelFontSize:o,labelFontWeight:r,valueFontWeight:r,valueFontSize:"24px",labelTextColor:n,valuePrefixTextColor:t,valueSuffixTextColor:t,valueTextColor:t}},qK={name:"Statistic",common:Ve,self:WK},KK=qK,GK={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"},YK=e=>{const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},GK),{stepHeaderFontWeight:t,indicatorTextColorProcess:n,indicatorTextColorWait:o,indicatorTextColorFinish:r,indicatorTextColorError:i,indicatorBorderColorProcess:r,indicatorBorderColorWait:o,indicatorBorderColorFinish:r,indicatorBorderColorError:i,indicatorColorProcess:r,indicatorColorWait:"#0000",indicatorColorFinish:"#0000",indicatorColorError:"#0000",splitorColorProcess:o,splitorColorWait:o,splitorColorFinish:r,splitorColorError:o,headerTextColorProcess:a,headerTextColorWait:o,headerTextColorFinish:o,headerTextColorError:i,descriptionTextColorProcess:s,descriptionTextColorWait:o,descriptionTextColorFinish:o,descriptionTextColorError:i})},XK={name:"Steps",common:Ve,self:YK},ZK=XK,X2={buttonHeightSmall:"14px",buttonHeightMedium:"18px",buttonHeightLarge:"22px",buttonWidthSmall:"14px",buttonWidthMedium:"18px",buttonWidthLarge:"22px",buttonWidthPressedSmall:"20px",buttonWidthPressedMedium:"24px",buttonWidthPressedLarge:"28px",railHeightSmall:"18px",railHeightMedium:"22px",railHeightLarge:"26px",railWidthSmall:"32px",railWidthMedium:"40px",railWidthLarge:"48px"},JK={name:"Switch",common:Ve,self(e){const{primaryColorSuppl:t,opacityDisabled:n,borderRadius:o,primaryColor:r,textColor2:i,baseColor:a}=e,s="rgba(255, 255, 255, .20)";return Object.assign(Object.assign({},X2),{iconColor:a,textColor:i,loadingColor:t,opacityDisabled:n,railColor:s,railColorActive:t,buttonBoxShadow:"0px 2px 4px 0 rgba(0, 0, 0, 0.4)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 8px 0 ${Ie(r,{alpha:.3})}`})}},QK=JK,eG=e=>{const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},X2),{iconColor:r,textColor:"white",loadingColor:t,opacityDisabled:n,railColor:i,railColorActive:t,buttonBoxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.3), inset 0 0 1px 0 rgba(0, 0, 0, 0.05)",buttonColor:"#FFF",railBorderRadiusSmall:o,railBorderRadiusMedium:o,railBorderRadiusLarge:o,buttonBorderRadiusSmall:o,buttonBorderRadiusMedium:o,buttonBorderRadiusLarge:o,boxShadowFocus:`0 0 0 2px ${Ie(t,{alpha:.2})}`})},tG={name:"Switch",common:bt,self:eG},nG=tG,oG={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"},rG=e=>{const{dividerColor:t,cardColor:n,modalColor:o,popoverColor:r,tableHeaderColor:i,tableColorStriped:a,textColor1:s,textColor2:l,borderRadius:c,fontWeightStrong:u,lineHeight:d,fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h}=e;return Object.assign(Object.assign({},oG),{fontSizeSmall:f,fontSizeMedium:p,fontSizeLarge:h,lineHeight:d,borderRadius:c,borderColor:et(n,t),borderColorModal:et(o,t),borderColorPopover:et(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:et(n,a),tdColorStripedModal:et(o,a),tdColorStripedPopover:et(r,a),thColor:et(n,i),thColorModal:et(o,i),thColorPopover:et(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})},iG={name:"Table",common:Ve,self:rG},aG=iG,sG={tabFontSizeSmall:"14px",tabFontSizeMedium:"14px",tabFontSizeLarge:"16px",tabGapSmallLine:"36px",tabGapMediumLine:"36px",tabGapLargeLine:"36px",tabGapSmallLineVertical:"8px",tabGapMediumLineVertical:"8px",tabGapLargeLineVertical:"8px",tabPaddingSmallLine:"6px 0",tabPaddingMediumLine:"10px 0",tabPaddingLargeLine:"14px 0",tabPaddingVerticalSmallLine:"6px 12px",tabPaddingVerticalMediumLine:"8px 16px",tabPaddingVerticalLargeLine:"10px 20px",tabGapSmallBar:"36px",tabGapMediumBar:"36px",tabGapLargeBar:"36px",tabGapSmallBarVertical:"8px",tabGapMediumBarVertical:"8px",tabGapLargeBarVertical:"8px",tabPaddingSmallBar:"4px 0",tabPaddingMediumBar:"6px 0",tabPaddingLargeBar:"10px 0",tabPaddingVerticalSmallBar:"6px 12px",tabPaddingVerticalMediumBar:"8px 16px",tabPaddingVerticalLargeBar:"10px 20px",tabGapSmallCard:"4px",tabGapMediumCard:"4px",tabGapLargeCard:"4px",tabGapSmallCardVertical:"4px",tabGapMediumCardVertical:"4px",tabGapLargeCardVertical:"4px",tabPaddingSmallCard:"8px 16px",tabPaddingMediumCard:"10px 20px",tabPaddingLargeCard:"12px 24px",tabPaddingSmallSegment:"4px 0",tabPaddingMediumSegment:"6px 0",tabPaddingLargeSegment:"8px 0",tabPaddingVerticalLargeSegment:"0 8px",tabPaddingVerticalSmallCard:"8px 12px",tabPaddingVerticalMediumCard:"10px 16px",tabPaddingVerticalLargeCard:"12px 20px",tabPaddingVerticalSmallSegment:"0 4px",tabPaddingVerticalMediumSegment:"0 6px",tabGapSmallSegment:"0",tabGapMediumSegment:"0",tabGapLargeSegment:"0",tabGapSmallSegmentVertical:"0",tabGapMediumSegmentVertical:"0",tabGapLargeSegmentVertical:"0",panePaddingSmall:"8px 0 0 0",panePaddingMedium:"12px 0 0 0",panePaddingLarge:"16px 0 0 0",closeSize:"18px",closeIconSize:"14px"},lG=e=>{const{textColor2:t,primaryColor:n,textColorDisabled:o,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,tabColor:c,baseColor:u,dividerColor:d,fontWeight:f,textColor1:p,borderRadius:h,fontSize:g,fontWeightStrong:b}=e;return Object.assign(Object.assign({},sG),{colorSegment:c,tabFontSizeCard:g,tabTextColorLine:p,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:p,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:p,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:p,tabTextColorHoverCard:p,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:h,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:h,paneTextColor:t,fontWeightStrong:b})},cG={name:"Tabs",common:Ve,self(e){const t=lG(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},uG=cG,dG=e=>{const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}},fG={name:"Thing",common:Ve,self:dG},hG=fG,pG={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},mG={name:"Timeline",common:Ve,self(e){const{textColor3:t,infoColorSuppl:n,errorColorSuppl:o,successColorSuppl:r,warningColorSuppl:i,textColor1:a,textColor2:s,railColor:l,fontWeightStrong:c,fontSize:u}=e;return Object.assign(Object.assign({},pG),{contentFontSize:u,titleFontWeight:c,circleBorder:`2px solid ${t}`,circleBorderInfo:`2px solid ${n}`,circleBorderError:`2px solid ${o}`,circleBorderSuccess:`2px solid ${r}`,circleBorderWarning:`2px solid ${i}`,iconColor:t,iconColorInfo:n,iconColorError:o,iconColorSuccess:r,iconColorWarning:i,titleTextColor:a,contentTextColor:s,metaTextColor:t,lineColor:l})}},gG=mG,vG={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},bG={name:"Transfer",common:Ve,peers:{Checkbox:Va,Scrollbar:jn,Input:uo,Empty:Vi,Button:Vn},self(e){const{fontWeight:t,fontSizeLarge:n,fontSizeMedium:o,fontSizeSmall:r,heightLarge:i,heightMedium:a,borderRadius:s,inputColor:l,tableHeaderColor:c,textColor1:u,textColorDisabled:d,textColor2:f,textColor3:p,hoverColor:h,closeColorHover:g,closeColorPressed:b,closeIconColor:m,closeIconColorHover:y,closeIconColorPressed:k,dividerColor:S}=e;return Object.assign(Object.assign({},vG),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:S,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:p,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:h,titleFontWeight:t,closeColorHover:g,closeColorPressed:b,closeIconColor:m,closeIconColorHover:y,closeIconColorPressed:k})}},yG=bG,xG=e=>{const{borderRadiusSmall:t,dividerColor:n,hoverColor:o,pressedColor:r,primaryColor:i,textColor3:a,textColor2:s,textColorDisabled:l,fontSize:c}=e;return{fontSize:c,lineHeight:"1.5",nodeHeight:"30px",nodeWrapperPadding:"3px 0",nodeBorderRadius:t,nodeColorHover:o,nodeColorPressed:r,nodeColorActive:Ie(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}},CG={name:"Tree",common:Ve,peers:{Checkbox:Va,Scrollbar:jn,Empty:Vi},self(e){const{primaryColor:t}=e,n=xG(e);return n.nodeColorActive=Ie(t,{alpha:.15}),n}},Z2=CG,wG={name:"TreeSelect",common:Ve,peers:{Tree:Z2,Empty:Vi,InternalSelection:Jp}},_G=wG,SG={headerFontSize1:"30px",headerFontSize2:"22px",headerFontSize3:"18px",headerFontSize4:"16px",headerFontSize5:"16px",headerFontSize6:"16px",headerMargin1:"28px 0 20px 0",headerMargin2:"28px 0 20px 0",headerMargin3:"28px 0 20px 0",headerMargin4:"28px 0 18px 0",headerMargin5:"28px 0 18px 0",headerMargin6:"28px 0 18px 0",headerPrefixWidth1:"16px",headerPrefixWidth2:"16px",headerPrefixWidth3:"12px",headerPrefixWidth4:"12px",headerPrefixWidth5:"12px",headerPrefixWidth6:"12px",headerBarWidth1:"4px",headerBarWidth2:"4px",headerBarWidth3:"3px",headerBarWidth4:"3px",headerBarWidth5:"3px",headerBarWidth6:"3px",pMargin:"16px 0 16px 0",liMargin:".25em 0 0 0",olPadding:"0 0 0 2em",ulPadding:"0 0 0 2em"},kG=e=>{const{primaryColor:t,textColor2:n,borderColor:o,lineHeight:r,fontSize:i,borderRadiusSmall:a,dividerColor:s,fontWeightStrong:l,textColor1:c,textColor3:u,infoColor:d,warningColor:f,errorColor:p,successColor:h,codeColor:g}=e;return Object.assign(Object.assign({},SG),{aTextColor:t,blockquoteTextColor:n,blockquotePrefixColor:o,blockquoteLineHeight:r,blockquoteFontSize:i,codeBorderRadius:a,liTextColor:n,liLineHeight:r,liFontSize:i,hrColor:s,headerFontWeight:l,headerTextColor:c,pTextColor:n,pTextColor1Depth:c,pTextColor2Depth:n,pTextColor3Depth:u,pLineHeight:r,pFontSize:i,headerBarColor:t,headerBarColorPrimary:t,headerBarColorInfo:d,headerBarColorError:p,headerBarColorWarning:f,headerBarColorSuccess:h,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:h,textColorWarning:f,textColorError:p,codeTextColor:n,codeColor:g,codeBorder:"1px solid #0000"})},TG={name:"Typography",common:Ve,self:kG},PG=TG,RG=e=>{const{iconColor:t,primaryColor:n,errorColor:o,textColor2:r,successColor:i,opacityDisabled:a,actionColor:s,borderColor:l,hoverColor:c,lineHeight:u,borderRadius:d,fontSize:f}=e;return{fontSize:f,lineHeight:u,borderRadius:d,draggerColor:s,draggerBorder:`1px dashed ${l}`,draggerBorderHover:`1px dashed ${n}`,itemColorHover:c,itemColorHoverError:Ie(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}},EG={name:"Upload",common:Ve,peers:{Button:Vn,Progress:K2},self(e){const{errorColor:t}=e,n=RG(e);return n.itemColorHoverError=Ie(t,{alpha:.09}),n}},$G=EG,AG={name:"Watermark",common:Ve,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},IG=AG,MG={name:"Row",common:Ve},zG=MG,OG={name:"Image",common:Ve,peers:{Tooltip:Au},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function DG(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function LG(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function Kd(e){return e==null?!0:!Number.isNaN(e)}function U0(e,t){return e==null?"":t===void 0?String(e):e.toFixed(t)}function Gd(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const FG=W([O("input-number-suffix",` display: inline-block; margin-right: 10px; `),O("input-number-prefix",` display: inline-block; margin-left: 10px; - `)]),W0=800,q0=100,FG=Object.assign(Object.assign({},He.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),NG=me({name:"InputNumber",props:FG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=at(e),r=He("InputNumber","-input-number",LG,Zq,e,n),{localeRef:i}=Li("InputNumber"),a=dr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=N(null),d=N(null),f=N(null),p=N(e.defaultValue),h=Ue(e,"value"),g=ln(h,p),b=N(""),m=G=>{const se=String(G).split(".")[1];return se?se.length:0},y=G=>{const se=[e.min,e.max,e.step,G].map(xe=>xe===void 0?0:m(xe));return Math.max(...se)},k=St(()=>{const{placeholder:G}=e;return G!==void 0?G:i.value.placeholder}),S=St(()=>{const G=Kd(e.step);return G!==null?G===0?1:Math.abs(G):1}),w=St(()=>{const G=Kd(e.min);return G!==null?G:null}),x=St(()=>{const G=Kd(e.max);return G!==null?G:null}),C=G=>{const{value:se}=g;if(G===se){R();return}const{"onUpdate:value":xe,onUpdateValue:be,onChange:Ce}=e,{nTriggerFormInput:we,nTriggerFormChange:Re}=a;Ce&&Pe(Ce,G),be&&Pe(be,G),xe&&Pe(xe,G),p.value=G,we(),Re()},_=({offset:G,doUpdateIfValid:se,fixPrecision:xe,isInputing:be})=>{const{value:Ce}=b;if(be&&DG(Ce))return!1;const we=(e.parse||OG)(Ce);if(we===null)return se&&C(null),null;if(qd(we)){const Re=m(we),{precision:de}=e;if(de!==void 0&&defe){if(!se||be)return!1;ee=fe}if(Oe!==null&&ee{const{value:G}=g;if(qd(G)){const{format:se,precision:xe}=e;se?b.value=se(G):G===null||xe===void 0||m(G)>xe?b.value=U0(G,void 0):b.value=U0(G,xe)}else b.value=String(G)};R();const E=St(()=>_({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),M=St(()=>{const{value:G}=g;if(e.validator&&G===null)return!1;const{value:se}=S;return _({offset:-se,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),A=St(()=>{const{value:G}=g;if(e.validator&&G===null)return!1;const{value:se}=S;return _({offset:+se,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function q(G){const{onFocus:se}=e,{nTriggerFormFocus:xe}=a;se&&Pe(se,G),xe()}function F(G){var se,xe;if(G.target===((se=u.value)===null||se===void 0?void 0:se.wrapperElRef))return;const be=_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(be!==!1){const Re=(xe=u.value)===null||xe===void 0?void 0:xe.inputElRef;Re&&(Re.value=String(be||"")),g.value===be&&R()}else R();const{onBlur:Ce}=e,{nTriggerFormBlur:we}=a;Ce&&Pe(Ce,G),we(),Ht(()=>{R()})}function z(G){const{onClear:se}=e;se&&Pe(se,G)}function D(){const{value:G}=A;if(!G){J();return}const{value:se}=g;if(se===null)e.validator||C(le());else{const{value:xe}=S;_({offset:xe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){const{value:G}=M;if(!G){ve();return}const{value:se}=g;if(se===null)e.validator||C(le());else{const{value:xe}=S;_({offset:-xe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=q,ce=F;function le(){if(e.validator)return null;const{value:G}=w,{value:se}=x;return G!==null?Math.max(0,G):se!==null?Math.min(0,se):0}function B(G){z(G),C(null)}function $(G){var se,xe,be;!((se=f.value)===null||se===void 0)&&se.$el.contains(G.target)&&G.preventDefault(),!((xe=d.value)===null||xe===void 0)&&xe.$el.contains(G.target)&&G.preventDefault(),(be=u.value)===null||be===void 0||be.activate()}let I=null,K=null,ne=null;function ve(){ne&&(window.clearTimeout(ne),ne=null),I&&(window.clearInterval(I),I=null)}function J(){j&&(window.clearTimeout(j),j=null),K&&(window.clearInterval(K),K=null)}function ye(){ve(),ne=window.setTimeout(()=>{I=window.setInterval(()=>{Y()},q0)},W0),Mt("mouseup",document,ve,{once:!0})}let j=null;function ge(){J(),j=window.setTimeout(()=>{K=window.setInterval(()=>{D()},q0)},W0),Mt("mouseup",document,J,{once:!0})}const Ee=()=>{K||D()},Ne=()=>{I||Y()};function T(G){var se,xe;if(G.key==="Enter"){if(G.target===((se=u.value)===null||se===void 0?void 0:se.wrapperElRef))return;_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((xe=u.value)===null||xe===void 0||xe.deactivate())}else if(G.key==="ArrowUp"){if(!A.value||e.keyboard.ArrowUp===!1)return;G.preventDefault(),_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&D()}else if(G.key==="ArrowDown"){if(!M.value||e.keyboard.ArrowDown===!1)return;G.preventDefault(),_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&Y()}}function P(G){b.value=G,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&_({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ht(g,()=>{R()});const U={focus:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.focus()},blur:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.blur()},select:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.select()}},oe=pn("InputNumber",o,n);return Object.assign(Object.assign({},U),{rtlEnabled:oe,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:g,mergedPlaceholder:k,displayedValueInvalid:E,mergedSize:s,mergedDisabled:l,displayedValue:b,addable:A,minusable:M,mergedStatus:c,handleFocus:Q,handleBlur:ce,handleClear:B,handleMouseDown:$,handleAddClick:Ee,handleMinusClick:Ne,handleAddMousedown:ge,handleMinusMousedown:ye,handleKeyDown:T,handleUpdateDisplayedValue:P,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:L(()=>{const{self:{iconColorDisabled:G}}=r.value,[se,xe,be,Ce]=Uo(G);return{textColorTextDisabled:`rgb(${se}, ${xe}, ${be})`,opacityDisabled:`${Ce}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>v(R0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(DN,null)})])}),o=()=>v(R0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(RN,null)})])});return v("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},v(_o,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),$t(t.prefix,i=>i?v("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[$t(t.suffix,i=>i?v("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),oS="n-layout-sider",rS={type:String,default:"static"},BG=O("layout",` + `)]),W0=800,q0=100,NG=Object.assign(Object.assign({},He.props),{autofocus:Boolean,loading:{type:Boolean,default:void 0},placeholder:String,defaultValue:{type:Number,default:null},value:Number,step:{type:[Number,String],default:1},min:[Number,String],max:[Number,String],size:String,disabled:{type:Boolean,default:void 0},validator:Function,bordered:{type:Boolean,default:void 0},showButton:{type:Boolean,default:!0},buttonPlacement:{type:String,default:"right"},inputProps:Object,readonly:Boolean,clearable:Boolean,keyboard:{type:Object,default:{}},updateValueOnInput:{type:Boolean,default:!0},parse:Function,format:Function,precision:Number,status:String,"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],onFocus:[Function,Array],onBlur:[Function,Array],onClear:[Function,Array],onChange:[Function,Array]}),BG=me({name:"InputNumber",props:NG,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=at(e),r=He("InputNumber","-input-number",FG,Jq,e,n),{localeRef:i}=Li("InputNumber"),a=dr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=N(null),d=N(null),f=N(null),p=N(e.defaultValue),h=Ue(e,"value"),g=ln(h,p),b=N(""),m=G=>{const se=String(G).split(".")[1];return se?se.length:0},y=G=>{const se=[e.min,e.max,e.step,G].map(xe=>xe===void 0?0:m(xe));return Math.max(...se)},k=St(()=>{const{placeholder:G}=e;return G!==void 0?G:i.value.placeholder}),S=St(()=>{const G=Gd(e.step);return G!==null?G===0?1:Math.abs(G):1}),w=St(()=>{const G=Gd(e.min);return G!==null?G:null}),x=St(()=>{const G=Gd(e.max);return G!==null?G:null}),C=G=>{const{value:se}=g;if(G===se){R();return}const{"onUpdate:value":xe,onUpdateValue:be,onChange:Ce}=e,{nTriggerFormInput:we,nTriggerFormChange:Re}=a;Ce&&Pe(Ce,G),be&&Pe(be,G),xe&&Pe(xe,G),p.value=G,we(),Re()},_=({offset:G,doUpdateIfValid:se,fixPrecision:xe,isInputing:be})=>{const{value:Ce}=b;if(be&&LG(Ce))return!1;const we=(e.parse||DG)(Ce);if(we===null)return se&&C(null),null;if(Kd(we)){const Re=m(we),{precision:de}=e;if(de!==void 0&&defe){if(!se||be)return!1;ee=fe}if(Oe!==null&&ee{const{value:G}=g;if(Kd(G)){const{format:se,precision:xe}=e;se?b.value=se(G):G===null||xe===void 0||m(G)>xe?b.value=U0(G,void 0):b.value=U0(G,xe)}else b.value=String(G)};R();const E=St(()=>_({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),M=St(()=>{const{value:G}=g;if(e.validator&&G===null)return!1;const{value:se}=S;return _({offset:-se,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),A=St(()=>{const{value:G}=g;if(e.validator&&G===null)return!1;const{value:se}=S;return _({offset:+se,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function q(G){const{onFocus:se}=e,{nTriggerFormFocus:xe}=a;se&&Pe(se,G),xe()}function F(G){var se,xe;if(G.target===((se=u.value)===null||se===void 0?void 0:se.wrapperElRef))return;const be=_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(be!==!1){const Re=(xe=u.value)===null||xe===void 0?void 0:xe.inputElRef;Re&&(Re.value=String(be||"")),g.value===be&&R()}else R();const{onBlur:Ce}=e,{nTriggerFormBlur:we}=a;Ce&&Pe(Ce,G),we(),Ht(()=>{R()})}function z(G){const{onClear:se}=e;se&&Pe(se,G)}function D(){const{value:G}=A;if(!G){J();return}const{value:se}=g;if(se===null)e.validator||C(le());else{const{value:xe}=S;_({offset:xe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function Y(){const{value:G}=M;if(!G){ve();return}const{value:se}=g;if(se===null)e.validator||C(le());else{const{value:xe}=S;_({offset:-xe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const Q=q,ce=F;function le(){if(e.validator)return null;const{value:G}=w,{value:se}=x;return G!==null?Math.max(0,G):se!==null?Math.min(0,se):0}function B(G){z(G),C(null)}function $(G){var se,xe,be;!((se=f.value)===null||se===void 0)&&se.$el.contains(G.target)&&G.preventDefault(),!((xe=d.value)===null||xe===void 0)&&xe.$el.contains(G.target)&&G.preventDefault(),(be=u.value)===null||be===void 0||be.activate()}let I=null,K=null,ne=null;function ve(){ne&&(window.clearTimeout(ne),ne=null),I&&(window.clearInterval(I),I=null)}function J(){j&&(window.clearTimeout(j),j=null),K&&(window.clearInterval(K),K=null)}function ye(){ve(),ne=window.setTimeout(()=>{I=window.setInterval(()=>{Y()},q0)},W0),Mt("mouseup",document,ve,{once:!0})}let j=null;function ge(){J(),j=window.setTimeout(()=>{K=window.setInterval(()=>{D()},q0)},W0),Mt("mouseup",document,J,{once:!0})}const Ee=()=>{K||D()},Ne=()=>{I||Y()};function T(G){var se,xe;if(G.key==="Enter"){if(G.target===((se=u.value)===null||se===void 0?void 0:se.wrapperElRef))return;_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((xe=u.value)===null||xe===void 0||xe.deactivate())}else if(G.key==="ArrowUp"){if(!A.value||e.keyboard.ArrowUp===!1)return;G.preventDefault(),_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&D()}else if(G.key==="ArrowDown"){if(!M.value||e.keyboard.ArrowDown===!1)return;G.preventDefault(),_({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&Y()}}function P(G){b.value=G,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&_({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ht(g,()=>{R()});const U={focus:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.focus()},blur:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.blur()},select:()=>{var G;return(G=u.value)===null||G===void 0?void 0:G.select()}},oe=pn("InputNumber",o,n);return Object.assign(Object.assign({},U),{rtlEnabled:oe,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:p,mergedValue:g,mergedPlaceholder:k,displayedValueInvalid:E,mergedSize:s,mergedDisabled:l,displayedValue:b,addable:A,minusable:M,mergedStatus:c,handleFocus:Q,handleBlur:ce,handleClear:B,handleMouseDown:$,handleAddClick:Ee,handleMinusClick:Ne,handleAddMousedown:ge,handleMinusMousedown:ye,handleKeyDown:T,handleUpdateDisplayedValue:P,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:L(()=>{const{self:{iconColorDisabled:G}}=r.value,[se,xe,be,Ce]=Uo(G);return{textColorTextDisabled:`rgb(${se}, ${xe}, ${be})`,opacityDisabled:`${Ce}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>v(R0,{text:!0,disabled:!this.minusable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleMinusClick,onMousedown:this.handleMinusMousedown,ref:"minusButtonInstRef"},{icon:()=>An(t["minus-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(LN,null)})])}),o=()=>v(R0,{text:!0,disabled:!this.addable||this.mergedDisabled||this.readonly,focusable:!1,theme:this.mergedTheme.peers.Button,themeOverrides:this.mergedTheme.peerOverrides.Button,builtinThemeOverrides:this.buttonThemeOverrides,onClick:this.handleAddClick,onMousedown:this.handleAddMousedown,ref:"addButtonInstRef"},{icon:()=>An(t["add-icon"],()=>[v(Ut,{clsPrefix:e},{default:()=>v(EN,null)})])});return v("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},v(_o,{ref:"inputInstRef",autofocus:this.autofocus,status:this.mergedStatus,bordered:this.mergedBordered,loading:this.loading,value:this.displayedValue,onUpdateValue:this.handleUpdateDisplayedValue,theme:this.mergedTheme.peers.Input,themeOverrides:this.mergedTheme.peerOverrides.Input,builtinThemeOverrides:this.inputThemeOverrides,size:this.mergedSize,placeholder:this.mergedPlaceholder,disabled:this.mergedDisabled,readonly:this.readonly,textDecoration:this.displayedValueInvalid?"line-through":void 0,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeydown:this.handleKeyDown,onMousedown:this.handleMouseDown,onClear:this.handleClear,clearable:this.clearable,inputProps:this.inputProps,internalLoadingBeforeSuffix:!0},{prefix:()=>{var r;return this.showButton&&this.buttonPlacement==="both"?[n(),$t(t.prefix,i=>i?v("span",{class:`${e}-input-number-prefix`},i):null)]:(r=t.prefix)===null||r===void 0?void 0:r.call(t)},suffix:()=>{var r;return this.showButton?[$t(t.suffix,i=>i?v("span",{class:`${e}-input-number-suffix`},i):null),this.buttonPlacement==="right"?n():null,o()]:(r=t.suffix)===null||r===void 0?void 0:r.call(t)}}))}}),J2="n-layout-sider",Q2={type:String,default:"static"},HG=O("layout",` color: var(--n-text-color); background-color: var(--n-color); box-sizing: border-box; @@ -2732,7 +2732,7 @@ ${t} right: 0; top: 0; bottom: 0; - `)]),HG={embedded:Boolean,position:rS,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},iS="n-layout";function jG(e){return me({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},He.props),HG),setup(t){const n=N(null),o=N(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=at(t),a=He("Layout","-layout",BG,G2,t,r);function s(g,b){if(t.nativeScrollbar){const{value:m}=n;m&&(b===void 0?m.scrollTo(g):m.scrollTo(g,b))}else{const{value:m}=o;m&&m.scrollTo(g,b)}}lt(iS,t);let l=0,c=0;const u=g=>{var b;const m=g.target;l=m.scrollLeft,c=m.scrollTop,(b=t.onScroll)===null||b===void 0||b.call(t,g)};Dp(()=>{if(t.nativeScrollbar){const g=n.value;g&&(g.scrollTop=c,g.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},p=L(()=>{const{common:{cubicBezierEaseInOut:g},self:b}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?b.colorEmbedded:b.color,"--n-text-color":b.textColor}}),h=i?kt("layout",L(()=>t.embedded?"e":""),p,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:p,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return v("div",{class:i,style:this.cssVars},this.nativeScrollbar?v("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):v(ko,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const VG=jG(!1),UG=O("layout-sider",` + `)]),jG={embedded:Boolean,position:Q2,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},eS="n-layout";function VG(e){return me({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},He.props),jG),setup(t){const n=N(null),o=N(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=at(t),a=He("Layout","-layout",HG,V2,t,r);function s(g,b){if(t.nativeScrollbar){const{value:m}=n;m&&(b===void 0?m.scrollTo(g):m.scrollTo(g,b))}else{const{value:m}=o;m&&m.scrollTo(g,b)}}lt(eS,t);let l=0,c=0;const u=g=>{var b;const m=g.target;l=m.scrollLeft,c=m.scrollTop,(b=t.onScroll)===null||b===void 0||b.call(t,g)};Dp(()=>{if(t.nativeScrollbar){const g=n.value;g&&(g.scrollTop=c,g.scrollLeft=l)}});const d={display:"flex",flexWrap:"nowrap",width:"100%",flexDirection:"row"},f={scrollTo:s},p=L(()=>{const{common:{cubicBezierEaseInOut:g},self:b}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?b.colorEmbedded:b.color,"--n-text-color":b.textColor}}),h=i?kt("layout",L(()=>t.embedded?"e":""),p,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:p,themeClass:h==null?void 0:h.themeClass,onRender:h==null?void 0:h.onRender},f)},render(){var t;const{mergedClsPrefix:n,hasSider:o}=this;(t=this.onRender)===null||t===void 0||t.call(this);const r=o?this.hasSiderStyle:void 0,i=[this.themeClass,e&&`${n}-layout-content`,`${n}-layout`,`${n}-layout--${this.position}-positioned`];return v("div",{class:i,style:this.cssVars},this.nativeScrollbar?v("div",{ref:"scrollableElRef",class:[`${n}-layout-scroll-container`,this.contentClass],style:[this.contentStyle,r],onScroll:this.handleNativeElScroll},this.$slots):v(ko,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,contentClass:this.contentClass,contentStyle:[this.contentStyle,r]}),this.$slots))}})}const UG=VG(!1),WG=O("layout-sider",` flex-shrink: 0; box-sizing: border-box; position: relative; @@ -2840,7 +2840,7 @@ ${t} left: 0; top: 0; bottom: 0; - `)]),WG=me({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},v(Ut,{clsPrefix:e},{default:()=>v(Yp,null)}))}}),qG=me({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},v("div",{class:`${e}-layout-toggle-bar__top`}),v("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),KG={position:rS,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},GG=me({name:"LayoutSider",props:Object.assign(Object.assign({},He.props),KG),setup(e){const t=qe(iS),n=N(null),o=N(null),r=L(()=>qt(l.value?e.collapsedWidth:e.width)),i=L(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),a=L(()=>t?t.siderPlacement:"left"),s=N(e.defaultCollapsed),l=ln(Ue(e,"collapsed"),s);function c(w,x){if(e.nativeScrollbar){const{value:C}=n;C&&(x===void 0?C.scrollTo(w):C.scrollTo(w,x))}else{const{value:C}=o;C&&C.scrollTo(w,x)}}function u(){const{"onUpdate:collapsed":w,onUpdateCollapsed:x,onExpand:C,onCollapse:_}=e,{value:R}=l;x&&Pe(x,!R),w&&Pe(w,!R),s.value=!R,R?C&&Pe(C):_&&Pe(_)}let d=0,f=0;const p=w=>{var x;const C=w.target;d=C.scrollLeft,f=C.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,w)};Dp(()=>{if(e.nativeScrollbar){const w=n.value;w&&(w.scrollTop=f,w.scrollLeft=d)}}),lt(oS,{collapsedRef:l,collapseModeRef:Ue(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:g}=at(e),b=He("Layout","-layout-sider",UG,G2,e,h);function m(w){var x,C;w.propertyName==="max-width"&&(l.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(C=e.onAfterEnter)===null||C===void 0||C.call(e))}const y={scrollTo:c},k=L(()=>{const{common:{cubicBezierEaseInOut:w},self:x}=b.value,{siderToggleButtonColor:C,siderToggleButtonBorder:_,siderToggleBarColor:R,siderToggleBarColorHover:E}=x,M={"--n-bezier":w,"--n-toggle-button-color":C,"--n-toggle-button-border":_,"--n-toggle-bar-color":R,"--n-toggle-bar-color-hover":E};return e.inverted?(M["--n-color"]=x.siderColorInverted,M["--n-text-color"]=x.textColorInverted,M["--n-border-color"]=x.siderBorderColorInverted,M["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,M.__invertScrollbar=x.__invertScrollbar):(M["--n-color"]=x.siderColor,M["--n-text-color"]=x.textColor,M["--n-border-color"]=x.siderBorderColor,M["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),M}),S=g?kt("layout-sider",L(()=>e.inverted?"a":"b"),k,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:h,mergedTheme:b,styleMaxWidth:r,mergedCollapsed:l,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:p,handleTransitionend:m,handleTriggerClick:u,inlineThemeDisabled:g,cssVars:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender},y)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?v("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):v(ko,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?v(qG,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):v(WG,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?v("div",{class:`${t}-layout-sider__border`}):null)}}),YG={extraFontSize:"12px",width:"440px"},XG={name:"Transfer",common:Ve,peers:{Checkbox:Va,Scrollbar:jn,Input:uo,Empty:Vi,Button:Vn},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:p,textColorDisabled:h,textColor2:g,hoverColor:b}=e;return Object.assign(Object.assign({},YG),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:p,titleTextColorDisabled:h,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:h,itemColorPending:b,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},ZG=XG,JG=W([O("list",` + `)]),qG=me({name:"LayoutToggleButton",props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-layout-toggle-button`,onClick:this.onClick},v(Ut,{clsPrefix:e},{default:()=>v(Yp,null)}))}}),KG=me({props:{clsPrefix:{type:String,required:!0},onClick:Function},render(){const{clsPrefix:e}=this;return v("div",{onClick:this.onClick,class:`${e}-layout-toggle-bar`},v("div",{class:`${e}-layout-toggle-bar__top`}),v("div",{class:`${e}-layout-toggle-bar__bottom`}))}}),GG={position:Q2,bordered:Boolean,collapsedWidth:{type:Number,default:48},width:{type:[Number,String],default:272},contentClass:String,contentStyle:{type:[String,Object],default:""},collapseMode:{type:String,default:"transform"},collapsed:{type:Boolean,default:void 0},defaultCollapsed:Boolean,showCollapsedContent:{type:Boolean,default:!0},showTrigger:{type:[Boolean,String],default:!1},nativeScrollbar:{type:Boolean,default:!0},inverted:Boolean,scrollbarProps:Object,triggerClass:String,triggerStyle:[String,Object],collapsedTriggerClass:String,collapsedTriggerStyle:[String,Object],"onUpdate:collapsed":[Function,Array],onUpdateCollapsed:[Function,Array],onAfterEnter:Function,onAfterLeave:Function,onExpand:[Function,Array],onCollapse:[Function,Array],onScroll:Function},YG=me({name:"LayoutSider",props:Object.assign(Object.assign({},He.props),GG),setup(e){const t=qe(eS),n=N(null),o=N(null),r=L(()=>qt(l.value?e.collapsedWidth:e.width)),i=L(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),a=L(()=>t?t.siderPlacement:"left"),s=N(e.defaultCollapsed),l=ln(Ue(e,"collapsed"),s);function c(w,x){if(e.nativeScrollbar){const{value:C}=n;C&&(x===void 0?C.scrollTo(w):C.scrollTo(w,x))}else{const{value:C}=o;C&&C.scrollTo(w,x)}}function u(){const{"onUpdate:collapsed":w,onUpdateCollapsed:x,onExpand:C,onCollapse:_}=e,{value:R}=l;x&&Pe(x,!R),w&&Pe(w,!R),s.value=!R,R?C&&Pe(C):_&&Pe(_)}let d=0,f=0;const p=w=>{var x;const C=w.target;d=C.scrollLeft,f=C.scrollTop,(x=e.onScroll)===null||x===void 0||x.call(e,w)};Dp(()=>{if(e.nativeScrollbar){const w=n.value;w&&(w.scrollTop=f,w.scrollLeft=d)}}),lt(J2,{collapsedRef:l,collapseModeRef:Ue(e,"collapseMode")});const{mergedClsPrefixRef:h,inlineThemeDisabled:g}=at(e),b=He("Layout","-layout-sider",WG,V2,e,h);function m(w){var x,C;w.propertyName==="max-width"&&(l.value?(x=e.onAfterLeave)===null||x===void 0||x.call(e):(C=e.onAfterEnter)===null||C===void 0||C.call(e))}const y={scrollTo:c},k=L(()=>{const{common:{cubicBezierEaseInOut:w},self:x}=b.value,{siderToggleButtonColor:C,siderToggleButtonBorder:_,siderToggleBarColor:R,siderToggleBarColorHover:E}=x,M={"--n-bezier":w,"--n-toggle-button-color":C,"--n-toggle-button-border":_,"--n-toggle-bar-color":R,"--n-toggle-bar-color-hover":E};return e.inverted?(M["--n-color"]=x.siderColorInverted,M["--n-text-color"]=x.textColorInverted,M["--n-border-color"]=x.siderBorderColorInverted,M["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColorInverted,M.__invertScrollbar=x.__invertScrollbar):(M["--n-color"]=x.siderColor,M["--n-text-color"]=x.textColor,M["--n-border-color"]=x.siderBorderColor,M["--n-toggle-button-icon-color"]=x.siderToggleButtonIconColor),M}),S=g?kt("layout-sider",L(()=>e.inverted?"a":"b"),k,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:h,mergedTheme:b,styleMaxWidth:r,mergedCollapsed:l,scrollContainerStyle:i,siderPlacement:a,handleNativeElScroll:p,handleTransitionend:m,handleTriggerClick:u,inlineThemeDisabled:g,cssVars:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender},y)},render(){var e;const{mergedClsPrefix:t,mergedCollapsed:n,showTrigger:o}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("aside",{class:[`${t}-layout-sider`,this.themeClass,`${t}-layout-sider--${this.position}-positioned`,`${t}-layout-sider--${this.siderPlacement}-placement`,this.bordered&&`${t}-layout-sider--bordered`,n&&`${t}-layout-sider--collapsed`,(!n||this.showCollapsedContent)&&`${t}-layout-sider--show-content`],onTransitionend:this.handleTransitionend,style:[this.inlineThemeDisabled?void 0:this.cssVars,{maxWidth:this.styleMaxWidth,width:qt(this.width)}]},this.nativeScrollbar?v("div",{class:[`${t}-layout-sider-scroll-container`,this.contentClass],onScroll:this.handleNativeElScroll,style:[this.scrollContainerStyle,{overflow:"auto"},this.contentStyle],ref:"scrollableElRef"},this.$slots):v(ko,Object.assign({},this.scrollbarProps,{onScroll:this.onScroll,ref:"scrollbarInstRef",style:this.scrollContainerStyle,contentStyle:this.contentStyle,contentClass:this.contentClass,theme:this.mergedTheme.peers.Scrollbar,themeOverrides:this.mergedTheme.peerOverrides.Scrollbar,builtinThemeOverrides:this.inverted&&this.cssVars.__invertScrollbar==="true"?{colorHover:"rgba(255, 255, 255, .4)",color:"rgba(255, 255, 255, .3)"}:void 0}),this.$slots),o?o==="bar"?v(KG,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):v(qG,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):null,this.bordered?v("div",{class:`${t}-layout-sider__border`}):null)}}),XG={extraFontSize:"12px",width:"440px"},ZG={name:"Transfer",common:Ve,peers:{Checkbox:Va,Scrollbar:jn,Input:uo,Empty:Vi,Button:Vn},self(e){const{iconColorDisabled:t,iconColor:n,fontWeight:o,fontSizeLarge:r,fontSizeMedium:i,fontSizeSmall:a,heightLarge:s,heightMedium:l,heightSmall:c,borderRadius:u,inputColor:d,tableHeaderColor:f,textColor1:p,textColorDisabled:h,textColor2:g,hoverColor:b}=e;return Object.assign(Object.assign({},XG),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:p,titleTextColorDisabled:h,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:h,itemColorPending:b,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},JG=ZG,QG=W([O("list",` --n-merged-border-color: var(--n-border-color); --n-merged-color: var(--n-color); --n-merged-color-hover: var(--n-color-hover); @@ -2908,11 +2908,11 @@ ${t} --n-merged-color-hover: var(--n-color-hover-modal); --n-merged-color: var(--n-color-modal); --n-merged-border-color: var(--n-border-color-modal); - `)),vu(O("list",` + `)),bu(O("list",` --n-merged-color-hover: var(--n-color-hover-popover); --n-merged-color: var(--n-color-popover); --n-merged-border-color: var(--n-border-color-popover); - `))]),QG=Object.assign(Object.assign({},He.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),aS="n-list",hm=me({name:"List",props:QG,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=at(e),r=pn("List",o,t),i=He("List","-list",JG,oK,e,t);lt(aS,{showDividerRef:Ue(e,"showDivider"),mergedClsPrefixRef:t});const a=L(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:p,borderColor:h,borderColorModal:g,borderColorPopover:b,borderRadius:m,colorHover:y,colorHoverModal:k,colorHoverPopover:S}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":m,"--n-border-color":h,"--n-border-color-modal":g,"--n-border-color-popover":b,"--n-color-modal":f,"--n-color-popover":p,"--n-color-hover":y,"--n-color-hover-modal":k,"--n-color-hover-popover":S}}),s=n?kt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),v("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?v("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?v("div",{class:`${n}-list__footer`},t.footer()):null)}}),pm=me({name:"ListItem",setup(){const e=qe(aS,null);return e||Kr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return v("li",{class:`${t}-list-item`},e.prefix?v("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?v("div",{class:`${t}-list-item__main`},e):null,e.suffix?v("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&v("div",{class:`${t}-list-item__divider`}))}}),sS="n-loading-bar",lS="n-loading-bar-api",eY=O("loading-bar-container",` + `))]),eY=Object.assign(Object.assign({},He.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),tS="n-list",hm=me({name:"List",props:eY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=at(e),r=pn("List",o,t),i=He("List","-list",QG,rK,e,t);lt(tS,{showDividerRef:Ue(e,"showDivider"),mergedClsPrefixRef:t});const a=L(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:p,borderColor:h,borderColorModal:g,borderColorPopover:b,borderRadius:m,colorHover:y,colorHoverModal:k,colorHoverPopover:S}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":m,"--n-border-color":h,"--n-border-color-modal":g,"--n-border-color-popover":b,"--n-color-modal":f,"--n-color-popover":p,"--n-color-hover":y,"--n-color-hover-modal":k,"--n-color-hover-popover":S}}),s=n?kt("list",void 0,a,e):void 0;return{mergedClsPrefix:t,rtlEnabled:r,cssVars:n?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){var e;const{$slots:t,mergedClsPrefix:n,onRender:o}=this;return o==null||o(),v("ul",{class:[`${n}-list`,this.rtlEnabled&&`${n}-list--rtl`,this.bordered&&`${n}-list--bordered`,this.showDivider&&`${n}-list--show-divider`,this.hoverable&&`${n}-list--hoverable`,this.clickable&&`${n}-list--clickable`,this.themeClass],style:this.cssVars},t.header?v("div",{class:`${n}-list__header`},t.header()):null,(e=t.default)===null||e===void 0?void 0:e.call(t),t.footer?v("div",{class:`${n}-list__footer`},t.footer()):null)}}),pm=me({name:"ListItem",setup(){const e=qe(tS,null);return e||Kr("list-item","`n-list-item` must be placed in `n-list`."),{showDivider:e.showDividerRef,mergedClsPrefix:e.mergedClsPrefixRef}},render(){const{$slots:e,mergedClsPrefix:t}=this;return v("li",{class:`${t}-list-item`},e.prefix?v("div",{class:`${t}-list-item__prefix`},e.prefix()):null,e.default?v("div",{class:`${t}-list-item__main`},e):null,e.suffix?v("div",{class:`${t}-list-item__suffix`},e.suffix()):null,this.showDivider&&v("div",{class:`${t}-list-item__divider`}))}}),nS="n-loading-bar",oS="n-loading-bar-api",tY=O("loading-bar-container",` z-index: 5999; position: fixed; top: 0; @@ -2937,7 +2937,7 @@ ${t} transition: max-width .2s linear, background .2s linear; - `)])]);var Bl=globalThis&&globalThis.__awaiter||function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(o.next(u))}catch(d){a(d)}}function l(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function Hl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const tY=me({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=at(),{props:t,mergedClsPrefixRef:n}=qe(sS),o=N(null),r=N(!1),i=N(!1),a=N(!1),s=N(!1);let l=!1;const c=N(!1),u=L(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function d(){return Bl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Ht(),s.value=!1})}function f(w=0,x=80,C="starting"){return Bl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const _=o.value;_&&(_.style.maxWidth=`${w}%`,_.style.transition="none",_.offsetWidth,_.className=Hl(C,n.value),_.style.transition="",_.style.maxWidth=`${x}%`)})}function p(){return Bl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const w=o.value;w&&(w.className=Hl("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function h(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=Hl("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=Hl("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function g(){r.value=!0}function b(){r.value=!1}function m(){return Bl(this,void 0,void 0,function*(){yield d()})}const y=He("LoadingBar","-loading-bar",eY,uK,t,n),k=L(()=>{const{self:{height:w,colorError:x,colorLoading:C}}=y.value;return{"--n-height":w,"--n-color-loading":C,"--n-color-error":x}}),S=e?kt("loading-bar",void 0,k,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:h,finish:p,handleEnter:g,handleAfterEnter:b,handleAfterLeave:m,mergedLoadingBarStyle:u,cssVars:e?void 0:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return v(hn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(v("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},v("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Jn,this.loading||!this.loading&&this.entering]])}})}}),nY=Object.assign(Object.assign({},He.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),oY=me({name:"LoadingBarProvider",props:nY,setup(e){const t=Gr(),n=N(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=n.value)===null||i===void 0||i.error():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=n.value)===null||i===void 0||i.finish():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=at(e);return lt(lS,o),lt(sS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return v(it,null,v(Xc,{disabled:this.to===!1,to:this.to||"body"},v(tY,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function rY(){const e=qe(lS,null);return e===null&&Kr("use-loading-bar","No outer founded."),e}const fl="n-menu",mm="n-submenu",gm="n-menu-item-group",jl=8;function vm(e){const t=qe(fl),{props:n,mergedCollapsedRef:o}=t,r=qe(mm,null),i=qe(gm,null),a=L(()=>n.mode==="horizontal"),s=L(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=L(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=L(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=L(()=>{if(a.value)return;const{collapsedWidth:f,indent:p,rootIndent:h}=n,{root:g,isGroup:b}=e,m=h===void 0?p:h;return g?o.value?f/2-l.value/2:m:i&&typeof i.paddingLeftRef.value=="number"?p/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(b?p/2:p)+r.paddingLeftRef.value:0}),d=L(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:g}=l,{root:b}=e;return a.value||!b||!o.value?jl:(h===void 0?p:h)+g+jl-(f+g)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const bm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},cS=Object.assign(Object.assign({},bm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),iY=me({name:"MenuOptionGroup",props:cS,setup(e){lt(mm,null);const t=vm(e);lt(gm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=qe(fl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return v("div",{class:`${r}-menu-item-group`,role:"group"},v("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Vt(e.title),e.extra?v(it,null," ",Vt(e.extra)):null),v("div",null,e.tmNodes.map(l=>ym(l,o))))}}}),uS=me({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=qe(fl);return{menuProps:t,style:L(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:L(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Vt(this.icon);return v("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&v("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),v("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Vt(this.title),this.extra||r?v("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Vt(this.extra)):null),this.showArrow?v(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):v(FN,null)}):null)}}),dS=Object.assign(Object.assign({},bm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),_h=me({name:"Submenu",props:dS,setup(e){const t=vm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=L(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=N(!1);lt(mm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),lt(gm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:St(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:L(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:L(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:p,icon:h,handleClick:g,menuProps:{nodeProps:b},dropdownShow:m,iconMarginRight:y,tmNode:k,mergedClsPrefix:S,isEllipsisPlaceholder:w,extra:x}=this,C=b==null?void 0:b(k.rawNode);return v("div",Object.assign({},C,{class:[`${S}-menu-item`,C==null?void 0:C.class],role:"menuitem"}),v(uS,{tmNode:k,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:y,maxIconSize:u,activeIconSize:d,title:f,extra:x,showArrow:!a,childActive:p,clsPrefix:S,icon:h,hover:m,onClick:g,isEllipsisPlaceholder:w}))},i=()=>v(ku,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:v("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>ym(l,this.menuProps)))}});return this.root?v(dm,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>v("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):v("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),fS=Object.assign(Object.assign({},bm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),aY=me({name:"MenuOption",props:fS,setup(e){const t=vm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=L(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:St(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:St(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return v("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),v(Au,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Vt(this.title),trigger:()=>v(uS,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),sY=me({name:"MenuDivider",setup(){const e=qe(fl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:v("div",{class:`${t.value}-menu-divider`})}}),lY=qr(cS),cY=qr(fS),uY=qr(dS);function Sh(e){return e.type==="divider"||e.type==="render"}function dY(e){return e.type==="divider"}function ym(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(Sh(n))return dY(n)?v(sY,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?v(iY,Xn(l,lY,{tmNode:e,tmNodes:e.children,key:i})):v(_h,Xn(l,uY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):v(aY,Xn(l,cY,{key:i,tmNode:e}))}const K0=[W("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` + `)])]);var Bl=globalThis&&globalThis.__awaiter||function(e,t,n,o){function r(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(u){try{c(o.next(u))}catch(d){a(d)}}function l(u){try{c(o.throw(u))}catch(d){a(d)}}function c(u){u.done?i(u.value):r(u.value).then(s,l)}c((o=o.apply(e,t||[])).next())})};function Hl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const nY=me({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=at(),{props:t,mergedClsPrefixRef:n}=qe(nS),o=N(null),r=N(!1),i=N(!1),a=N(!1),s=N(!1);let l=!1;const c=N(!1),u=L(()=>{const{loadingBarStyle:w}=t;return w?w[c.value?"error":"loading"]:""});function d(){return Bl(this,void 0,void 0,function*(){r.value=!1,a.value=!1,l=!1,c.value=!1,s.value=!0,yield Ht(),s.value=!1})}function f(w=0,x=80,C="starting"){return Bl(this,void 0,void 0,function*(){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const _=o.value;_&&(_.style.maxWidth=`${w}%`,_.style.transition="none",_.offsetWidth,_.className=Hl(C,n.value),_.style.transition="",_.style.maxWidth=`${x}%`)})}function p(){return Bl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const w=o.value;w&&(w.className=Hl("finishing",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1)})}function h(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const w=o.value;w&&(w.className=Hl("error",n.value),w.offsetWidth,a.value=!1)});else{c.value=!0;const w=o.value;if(!w)return;w.className=Hl("error",n.value),w.style.maxWidth="100%",w.offsetWidth,a.value=!1}}function g(){r.value=!0}function b(){r.value=!1}function m(){return Bl(this,void 0,void 0,function*(){yield d()})}const y=He("LoadingBar","-loading-bar",tY,dK,t,n),k=L(()=>{const{self:{height:w,colorError:x,colorLoading:C}}=y.value;return{"--n-height":w,"--n-color-loading":C,"--n-color-error":x}}),S=e?kt("loading-bar",void 0,k,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:h,finish:p,handleEnter:g,handleAfterEnter:b,handleAfterLeave:m,mergedLoadingBarStyle:u,cssVars:e?void 0:k,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return v(hn,{name:"fade-in-transition",appear:!0,onEnter:this.handleEnter,onAfterEnter:this.handleAfterEnter,onAfterLeave:this.handleAfterLeave,css:!this.transitionDisabled},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),Cn(v("div",{class:[`${e}-loading-bar-container`,this.themeClass,this.containerClass],style:this.containerStyle},v("div",{ref:"loadingBarRef",class:[`${e}-loading-bar`],style:[this.cssVars,this.mergedLoadingBarStyle]})),[[Jn,this.loading||!this.loading&&this.entering]])}})}}),oY=Object.assign(Object.assign({},He.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),rY=me({name:"LoadingBarProvider",props:oY,setup(e){const t=Gr(),n=N(null),o={start(){var i;t.value?(i=n.value)===null||i===void 0||i.start():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.start()})},error(){var i;t.value?(i=n.value)===null||i===void 0||i.error():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.error()})},finish(){var i;t.value?(i=n.value)===null||i===void 0||i.finish():Ht(()=>{var a;(a=n.value)===null||a===void 0||a.finish()})}},{mergedClsPrefixRef:r}=at(e);return lt(oS,o),lt(nS,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return v(it,null,v(Xc,{disabled:this.to===!1,to:this.to||"body"},v(nY,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function iY(){const e=qe(oS,null);return e===null&&Kr("use-loading-bar","No outer founded."),e}const fl="n-menu",mm="n-submenu",gm="n-menu-item-group",jl=8;function vm(e){const t=qe(fl),{props:n,mergedCollapsedRef:o}=t,r=qe(mm,null),i=qe(gm,null),a=L(()=>n.mode==="horizontal"),s=L(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=L(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=L(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=L(()=>{if(a.value)return;const{collapsedWidth:f,indent:p,rootIndent:h}=n,{root:g,isGroup:b}=e,m=h===void 0?p:h;return g?o.value?f/2-l.value/2:m:i&&typeof i.paddingLeftRef.value=="number"?p/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(b?p/2:p)+r.paddingLeftRef.value:0}),d=L(()=>{const{collapsedWidth:f,indent:p,rootIndent:h}=n,{value:g}=l,{root:b}=e;return a.value||!b||!o.value?jl:(h===void 0?p:h)+g+jl-(f+g)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const bm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},rS=Object.assign(Object.assign({},bm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),aY=me({name:"MenuOptionGroup",props:rS,setup(e){lt(mm,null);const t=vm(e);lt(gm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=qe(fl);return function(){const{value:r}=n,i=t.paddingLeft.value,{nodeProps:a}=o,s=a==null?void 0:a(e.tmNode.rawNode);return v("div",{class:`${r}-menu-item-group`,role:"group"},v("div",Object.assign({},s,{class:[`${r}-menu-item-group-title`,s==null?void 0:s.class],style:[(s==null?void 0:s.style)||"",i!==void 0?`padding-left: ${i}px;`:""]}),Vt(e.title),e.extra?v(it,null," ",Vt(e.extra)):null),v("div",null,e.tmNodes.map(l=>ym(l,o))))}}}),iS=me({name:"MenuOptionContent",props:{collapsed:Boolean,disabled:Boolean,title:[String,Function],icon:Function,extra:[String,Function],showArrow:Boolean,childActive:Boolean,hover:Boolean,paddingLeft:Number,selected:Boolean,maxIconSize:{type:Number,required:!0},activeIconSize:{type:Number,required:!0},iconMarginRight:{type:Number,required:!0},clsPrefix:{type:String,required:!0},onClick:Function,tmNode:{type:Object,required:!0},isEllipsisPlaceholder:Boolean},setup(e){const{props:t}=qe(fl);return{menuProps:t,style:L(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:L(()=>{const{maxIconSize:n,activeIconSize:o,iconMarginRight:r}=e;return{width:`${n}px`,height:`${n}px`,fontSize:`${o}px`,marginRight:`${r}px`}})}},render(){const{clsPrefix:e,tmNode:t,menuProps:{renderIcon:n,renderLabel:o,renderExtra:r,expandIcon:i}}=this,a=n?n(t.rawNode):Vt(this.icon);return v("div",{onClick:s=>{var l;(l=this.onClick)===null||l===void 0||l.call(this,s)},role:"none",class:[`${e}-menu-item-content`,{[`${e}-menu-item-content--selected`]:this.selected,[`${e}-menu-item-content--collapsed`]:this.collapsed,[`${e}-menu-item-content--child-active`]:this.childActive,[`${e}-menu-item-content--disabled`]:this.disabled,[`${e}-menu-item-content--hover`]:this.hover}],style:this.style},a&&v("div",{class:`${e}-menu-item-content__icon`,style:this.iconStyle,role:"none"},[a]),v("div",{class:`${e}-menu-item-content-header`,role:"none"},this.isEllipsisPlaceholder?this.title:o?o(t.rawNode):Vt(this.title),this.extra||r?v("span",{class:`${e}-menu-item-content-header__extra`}," ",r?r(t.rawNode):Vt(this.extra)):null),this.showArrow?v(Ut,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):v(NN,null)}):null)}}),aS=Object.assign(Object.assign({},bm),{rawNodes:{type:Array,default:()=>[]},tmNodes:{type:Array,default:()=>[]},tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function,domId:String,virtualChildActive:{type:Boolean,default:void 0},isEllipsisPlaceholder:Boolean}),_h=me({name:"Submenu",props:aS,setup(e){const t=vm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=L(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=N(!1);lt(mm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),lt(gm,null);function c(){const{onClick:f}=e;f&&f()}function u(){s.value||(i.value||n.toggleExpand(e.internalKey),c())}function d(f){l.value=f}return{menuProps:r,mergedTheme:a,doSelect:n.doSelect,inverted:n.invertedRef,isHorizontal:n.isHorizontalRef,mergedClsPrefix:n.mergedClsPrefixRef,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,iconMarginRight:t.iconMarginRight,dropdownPlacement:t.dropdownPlacement,dropdownShow:l,paddingLeft:t.paddingLeft,mergedDisabled:s,mergedValue:n.mergedValueRef,childActive:St(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:L(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:L(()=>!s.value&&(r.mode==="horizontal"||i.value)),handlePopoverShowChange:d,handleClick:u}},render(){var e;const{mergedClsPrefix:t,menuProps:{renderIcon:n,renderLabel:o}}=this,r=()=>{const{isHorizontal:a,paddingLeft:s,collapsed:l,mergedDisabled:c,maxIconSize:u,activeIconSize:d,title:f,childActive:p,icon:h,handleClick:g,menuProps:{nodeProps:b},dropdownShow:m,iconMarginRight:y,tmNode:k,mergedClsPrefix:S,isEllipsisPlaceholder:w,extra:x}=this,C=b==null?void 0:b(k.rawNode);return v("div",Object.assign({},C,{class:[`${S}-menu-item`,C==null?void 0:C.class],role:"menuitem"}),v(iS,{tmNode:k,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:y,maxIconSize:u,activeIconSize:d,title:f,extra:x,showArrow:!a,childActive:p,clsPrefix:S,icon:h,hover:m,onClick:g,isEllipsisPlaceholder:w}))},i=()=>v(Tu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:v("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>ym(l,this.menuProps)))}});return this.root?v(dm,Object.assign({size:"large",trigger:"hover"},(e=this.menuProps)===null||e===void 0?void 0:e.dropdownProps,{themeOverrides:this.mergedTheme.peerOverrides.Dropdown,theme:this.mergedTheme.peers.Dropdown,builtinThemeOverrides:{fontSizeLarge:"14px",optionIconSizeLarge:"18px"},value:this.mergedValue,disabled:!this.dropdownEnabled,placement:this.dropdownPlacement,keyField:this.menuProps.keyField,labelField:this.menuProps.labelField,childrenField:this.menuProps.childrenField,onUpdateShow:this.handlePopoverShowChange,options:this.rawNodes,onSelect:this.doSelect,inverted:this.inverted,renderIcon:n,renderLabel:o}),{default:()=>v("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):v("div",{class:`${t}-submenu`,role:"menuitem","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),sS=Object.assign(Object.assign({},bm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),sY=me({name:"MenuOption",props:sS,setup(e){const t=vm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=L(()=>s.value||e.disabled);function c(d){const{onClick:f}=e;f&&f(d)}function u(d){l.value||(o.doSelect(e.internalKey,e.tmNode.rawNode),c(d))}return{mergedClsPrefix:i,dropdownPlacement:t.dropdownPlacement,paddingLeft:t.paddingLeft,iconMarginRight:t.iconMarginRight,maxIconSize:t.maxIconSize,activeIconSize:t.activeIconSize,mergedTheme:o.mergedThemeRef,menuProps:r,dropdownEnabled:St(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:St(()=>o.mergedValueRef.value===e.internalKey),mergedDisabled:l,handleClick:u}},render(){const{mergedClsPrefix:e,mergedTheme:t,tmNode:n,menuProps:{renderLabel:o,nodeProps:r}}=this,i=r==null?void 0:r(n.rawNode);return v("div",Object.assign({},i,{role:"menuitem",class:[`${e}-menu-item`,i==null?void 0:i.class]}),v(Iu,{theme:t.peers.Tooltip,themeOverrides:t.peerOverrides.Tooltip,trigger:"hover",placement:this.dropdownPlacement,disabled:!this.dropdownEnabled||this.title===void 0,internalExtraClass:["menu-tooltip"]},{default:()=>o?o(n.rawNode):Vt(this.title),trigger:()=>v(iS,{tmNode:n,clsPrefix:e,paddingLeft:this.paddingLeft,iconMarginRight:this.iconMarginRight,maxIconSize:this.maxIconSize,activeIconSize:this.activeIconSize,selected:this.selected,title:this.title,extra:this.extra,disabled:this.mergedDisabled,icon:this.icon,onClick:this.handleClick})}))}}),lY=me({name:"MenuDivider",setup(){const e=qe(fl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:v("div",{class:`${t.value}-menu-divider`})}}),cY=qr(rS),uY=qr(sS),dY=qr(aS);function Sh(e){return e.type==="divider"||e.type==="render"}function fY(e){return e.type==="divider"}function ym(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(Sh(n))return fY(n)?v(lY,Object.assign({key:e.key},n.props)):null;const{labelField:r}=t,{key:i,level:a,isGroup:s}=e,l=Object.assign(Object.assign({},n),{title:n.title||n[r],extra:n.titleExtra||n.extra,key:i,internalKey:i,level:a,root:a===0,isGroup:s});return e.children?e.isGroup?v(aY,Xn(l,cY,{tmNode:e,tmNodes:e.children,key:i})):v(_h,Xn(l,dY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):v(sY,Xn(l,uY,{key:i,tmNode:e}))}const K0=[W("&::before","background-color: var(--n-item-color-hover);"),V("arrow",` color: var(--n-arrow-color-hover); `),V("icon",` color: var(--n-item-icon-color-hover); @@ -2955,7 +2955,7 @@ ${t} color: var(--n-item-text-color-hover-horizontal); `),V("extra",` color: var(--n-item-text-color-hover-horizontal); - `)])],fY=W([O("menu",` + `)])],hY=W([O("menu",` background-color: var(--n-color); color: var(--n-item-text-color); overflow: hidden; @@ -3116,7 +3116,7 @@ ${t} background-color: var(--n-divider-color); height: 1px; margin: 6px 18px; - `)]);function ri(e,t){return[Z("hover",e,t),W("&:hover",e,t)]}const hY=Object.assign(Object.assign({},He.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),pY=me({name:"Menu",props:hY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Menu","-menu",fY,vK,e,t),r=qe(oS,null),i=L(()=>{var B;const{collapsed:$}=e;if($!==void 0)return $;if(r){const{collapseModeRef:I,collapsedRef:K}=r;if(I.value==="width")return(B=K.value)!==null&&B!==void 0?B:!1}return!1}),a=L(()=>{const{keyField:B,childrenField:$,disabledField:I}=e;return bi(e.items||e.options,{getIgnored(K){return Sh(K)},getChildren(K){return K[$]},getDisabled(K){return K[I]},getKey(K){var ne;return(ne=K[B])!==null&&ne!==void 0?ne:K.name}})}),s=L(()=>new Set(a.value.treeNodes.map(B=>B.key))),{watchProps:l}=e,c=N(null);l!=null&&l.includes("defaultValue")?tn(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ue(e,"value"),d=ln(u,c),f=N([]),p=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?tn(p):p();const h=bu(e,["expandedNames","expandedKeys"]),g=ln(h,f),b=L(()=>a.value.treeNodes),m=L(()=>a.value.getPath(d.value).keyPath);lt(fl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:g,activePathRef:m,mergedClsPrefixRef:t,isHorizontalRef:L(()=>e.mode==="horizontal"),invertedRef:Ue(e,"inverted"),doSelect:y,toggleExpand:S});function y(B,$){const{"onUpdate:value":I,onUpdateValue:K,onSelect:ne}=e;K&&Pe(K,B,$),I&&Pe(I,B,$),ne&&Pe(ne,B,$),c.value=B}function k(B){const{"onUpdate:expandedKeys":$,onUpdateExpandedKeys:I,onExpandedNamesChange:K,onOpenNamesChange:ne}=e;$&&Pe($,B),I&&Pe(I,B),K&&Pe(K,B),ne&&Pe(ne,B),f.value=B}function S(B){const $=Array.from(g.value),I=$.findIndex(K=>K===B);if(~I)$.splice(I,1);else{if(e.accordion&&s.value.has(B)){const K=$.findIndex(ne=>s.value.has(ne));K>-1&&$.splice(K,1)}$.push(B)}k($)}const w=B=>{const $=a.value.getPath(B??d.value,{includeSelf:!1}).keyPath;if(!$.length)return;const I=Array.from(g.value),K=new Set([...I,...$]);e.accordion&&s.value.forEach(ne=>{K.has(ne)&&!$.includes(ne)&&K.delete(ne)}),k(Array.from(K))},x=L(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:$},self:I}=o.value,{borderRadius:K,borderColorHorizontal:ne,fontSize:ve,itemHeight:J,dividerColor:ye}=I,j={"--n-divider-color":ye,"--n-bezier":$,"--n-font-size":ve,"--n-border-color-horizontal":ne,"--n-border-radius":K,"--n-item-height":J};return B?(j["--n-group-text-color"]=I.groupTextColorInverted,j["--n-color"]=I.colorInverted,j["--n-item-text-color"]=I.itemTextColorInverted,j["--n-item-text-color-hover"]=I.itemTextColorHoverInverted,j["--n-item-text-color-active"]=I.itemTextColorActiveInverted,j["--n-item-text-color-child-active"]=I.itemTextColorChildActiveInverted,j["--n-item-text-color-child-active-hover"]=I.itemTextColorChildActiveInverted,j["--n-item-text-color-active-hover"]=I.itemTextColorActiveHoverInverted,j["--n-item-icon-color"]=I.itemIconColorInverted,j["--n-item-icon-color-hover"]=I.itemIconColorHoverInverted,j["--n-item-icon-color-active"]=I.itemIconColorActiveInverted,j["--n-item-icon-color-active-hover"]=I.itemIconColorActiveHoverInverted,j["--n-item-icon-color-child-active"]=I.itemIconColorChildActiveInverted,j["--n-item-icon-color-child-active-hover"]=I.itemIconColorChildActiveHoverInverted,j["--n-item-icon-color-collapsed"]=I.itemIconColorCollapsedInverted,j["--n-item-text-color-horizontal"]=I.itemTextColorHorizontalInverted,j["--n-item-text-color-hover-horizontal"]=I.itemTextColorHoverHorizontalInverted,j["--n-item-text-color-active-horizontal"]=I.itemTextColorActiveHorizontalInverted,j["--n-item-text-color-child-active-horizontal"]=I.itemTextColorChildActiveHorizontalInverted,j["--n-item-text-color-child-active-hover-horizontal"]=I.itemTextColorChildActiveHoverHorizontalInverted,j["--n-item-text-color-active-hover-horizontal"]=I.itemTextColorActiveHoverHorizontalInverted,j["--n-item-icon-color-horizontal"]=I.itemIconColorHorizontalInverted,j["--n-item-icon-color-hover-horizontal"]=I.itemIconColorHoverHorizontalInverted,j["--n-item-icon-color-active-horizontal"]=I.itemIconColorActiveHorizontalInverted,j["--n-item-icon-color-active-hover-horizontal"]=I.itemIconColorActiveHoverHorizontalInverted,j["--n-item-icon-color-child-active-horizontal"]=I.itemIconColorChildActiveHorizontalInverted,j["--n-item-icon-color-child-active-hover-horizontal"]=I.itemIconColorChildActiveHoverHorizontalInverted,j["--n-arrow-color"]=I.arrowColorInverted,j["--n-arrow-color-hover"]=I.arrowColorHoverInverted,j["--n-arrow-color-active"]=I.arrowColorActiveInverted,j["--n-arrow-color-active-hover"]=I.arrowColorActiveHoverInverted,j["--n-arrow-color-child-active"]=I.arrowColorChildActiveInverted,j["--n-arrow-color-child-active-hover"]=I.arrowColorChildActiveHoverInverted,j["--n-item-color-hover"]=I.itemColorHoverInverted,j["--n-item-color-active"]=I.itemColorActiveInverted,j["--n-item-color-active-hover"]=I.itemColorActiveHoverInverted,j["--n-item-color-active-collapsed"]=I.itemColorActiveCollapsedInverted):(j["--n-group-text-color"]=I.groupTextColor,j["--n-color"]=I.color,j["--n-item-text-color"]=I.itemTextColor,j["--n-item-text-color-hover"]=I.itemTextColorHover,j["--n-item-text-color-active"]=I.itemTextColorActive,j["--n-item-text-color-child-active"]=I.itemTextColorChildActive,j["--n-item-text-color-child-active-hover"]=I.itemTextColorChildActiveHover,j["--n-item-text-color-active-hover"]=I.itemTextColorActiveHover,j["--n-item-icon-color"]=I.itemIconColor,j["--n-item-icon-color-hover"]=I.itemIconColorHover,j["--n-item-icon-color-active"]=I.itemIconColorActive,j["--n-item-icon-color-active-hover"]=I.itemIconColorActiveHover,j["--n-item-icon-color-child-active"]=I.itemIconColorChildActive,j["--n-item-icon-color-child-active-hover"]=I.itemIconColorChildActiveHover,j["--n-item-icon-color-collapsed"]=I.itemIconColorCollapsed,j["--n-item-text-color-horizontal"]=I.itemTextColorHorizontal,j["--n-item-text-color-hover-horizontal"]=I.itemTextColorHoverHorizontal,j["--n-item-text-color-active-horizontal"]=I.itemTextColorActiveHorizontal,j["--n-item-text-color-child-active-horizontal"]=I.itemTextColorChildActiveHorizontal,j["--n-item-text-color-child-active-hover-horizontal"]=I.itemTextColorChildActiveHoverHorizontal,j["--n-item-text-color-active-hover-horizontal"]=I.itemTextColorActiveHoverHorizontal,j["--n-item-icon-color-horizontal"]=I.itemIconColorHorizontal,j["--n-item-icon-color-hover-horizontal"]=I.itemIconColorHoverHorizontal,j["--n-item-icon-color-active-horizontal"]=I.itemIconColorActiveHorizontal,j["--n-item-icon-color-active-hover-horizontal"]=I.itemIconColorActiveHoverHorizontal,j["--n-item-icon-color-child-active-horizontal"]=I.itemIconColorChildActiveHorizontal,j["--n-item-icon-color-child-active-hover-horizontal"]=I.itemIconColorChildActiveHoverHorizontal,j["--n-arrow-color"]=I.arrowColor,j["--n-arrow-color-hover"]=I.arrowColorHover,j["--n-arrow-color-active"]=I.arrowColorActive,j["--n-arrow-color-active-hover"]=I.arrowColorActiveHover,j["--n-arrow-color-child-active"]=I.arrowColorChildActive,j["--n-arrow-color-child-active-hover"]=I.arrowColorChildActiveHover,j["--n-item-color-hover"]=I.itemColorHover,j["--n-item-color-active"]=I.itemColorActive,j["--n-item-color-active-hover"]=I.itemColorActiveHover,j["--n-item-color-active-collapsed"]=I.itemColorActiveCollapsed),j}),C=n?kt("menu",L(()=>e.inverted?"a":"b"),x,e):void 0,_=Ii(),R=N(null),E=N(null);let M=!0;const A=()=>{var B;M?M=!1:(B=R.value)===null||B===void 0||B.sync({showAllItemsBeforeCalculate:!0})};function q(){return document.getElementById(_)}const F=N(-1);function z(B){F.value=e.options.length-B}function D(B){B||(F.value=-1)}const Y=L(()=>{const B=F.value;return{children:B===-1?[]:e.options.slice(B)}}),Q=L(()=>{const{childrenField:B,disabledField:$,keyField:I}=e;return bi([Y.value],{getIgnored(K){return Sh(K)},getChildren(K){return K[B]},getDisabled(K){return K[$]},getKey(K){var ne;return(ne=K[I])!==null&&ne!==void 0?ne:K.name}})}),ce=L(()=>bi([{}]).treeNodes[0]);function le(){var B;if(F.value===-1)return v(_h,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:ce.value,domId:_,isEllipsisPlaceholder:!0});const $=Q.value.treeNodes[0],I=m.value,K=!!(!((B=$.children)===null||B===void 0)&&B.some(ne=>I.includes(ne.key)));return v(_h,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:K,tmNode:$,domId:_,rawNodes:$.rawNode.children||[],tmNodes:$.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:g,uncontrolledValue:c,mergedValue:d,activePath:m,tmNodes:b,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:C==null?void 0:C.themeClass,overflowRef:R,counterRef:E,updateCounter:()=>{},onResize:A,onUpdateOverflow:D,onUpdateCount:z,renderCounter:le,getCounter:q,onRender:C==null?void 0:C.onRender,showOption:w,deriveResponsiveState:A}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>ym(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>v("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?v(ah,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?v(lr,{onResize:this.onResize},{default:s}):s()}}),hS={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},pS="n-message-api",mS="n-message-provider",mY=W([O("message-wrapper",` + `)]);function ri(e,t){return[Z("hover",e,t),W("&:hover",e,t)]}const pY=Object.assign(Object.assign({},He.props),{options:{type:Array,default:()=>[]},collapsed:{type:Boolean,default:void 0},collapsedWidth:{type:Number,default:48},iconSize:{type:Number,default:20},collapsedIconSize:{type:Number,default:24},rootIndent:Number,indent:{type:Number,default:32},labelField:{type:String,default:"label"},keyField:{type:String,default:"key"},childrenField:{type:String,default:"children"},disabledField:{type:String,default:"disabled"},defaultExpandAll:Boolean,defaultExpandedKeys:Array,expandedKeys:Array,value:[String,Number],defaultValue:{type:[String,Number],default:null},mode:{type:String,default:"vertical"},watchProps:{type:Array,default:void 0},disabled:Boolean,show:{type:Boolean,default:!0},inverted:Boolean,"onUpdate:expandedKeys":[Function,Array],onUpdateExpandedKeys:[Function,Array],onUpdateValue:[Function,Array],"onUpdate:value":[Function,Array],expandIcon:Function,renderIcon:Function,renderLabel:Function,renderExtra:Function,dropdownProps:Object,accordion:Boolean,nodeProps:Function,dropdownPlacement:{type:String,default:"bottom"},responsive:Boolean,items:Array,onOpenNamesChange:[Function,Array],onSelect:[Function,Array],onExpandedNamesChange:[Function,Array],expandedNames:Array,defaultExpandedNames:Array}),mY=me({name:"Menu",props:pY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Menu","-menu",hY,bK,e,t),r=qe(J2,null),i=L(()=>{var B;const{collapsed:$}=e;if($!==void 0)return $;if(r){const{collapseModeRef:I,collapsedRef:K}=r;if(I.value==="width")return(B=K.value)!==null&&B!==void 0?B:!1}return!1}),a=L(()=>{const{keyField:B,childrenField:$,disabledField:I}=e;return bi(e.items||e.options,{getIgnored(K){return Sh(K)},getChildren(K){return K[$]},getDisabled(K){return K[I]},getKey(K){var ne;return(ne=K[B])!==null&&ne!==void 0?ne:K.name}})}),s=L(()=>new Set(a.value.treeNodes.map(B=>B.key))),{watchProps:l}=e,c=N(null);l!=null&&l.includes("defaultValue")?tn(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ue(e,"value"),d=ln(u,c),f=N([]),p=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?tn(p):p();const h=yu(e,["expandedNames","expandedKeys"]),g=ln(h,f),b=L(()=>a.value.treeNodes),m=L(()=>a.value.getPath(d.value).keyPath);lt(fl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:g,activePathRef:m,mergedClsPrefixRef:t,isHorizontalRef:L(()=>e.mode==="horizontal"),invertedRef:Ue(e,"inverted"),doSelect:y,toggleExpand:S});function y(B,$){const{"onUpdate:value":I,onUpdateValue:K,onSelect:ne}=e;K&&Pe(K,B,$),I&&Pe(I,B,$),ne&&Pe(ne,B,$),c.value=B}function k(B){const{"onUpdate:expandedKeys":$,onUpdateExpandedKeys:I,onExpandedNamesChange:K,onOpenNamesChange:ne}=e;$&&Pe($,B),I&&Pe(I,B),K&&Pe(K,B),ne&&Pe(ne,B),f.value=B}function S(B){const $=Array.from(g.value),I=$.findIndex(K=>K===B);if(~I)$.splice(I,1);else{if(e.accordion&&s.value.has(B)){const K=$.findIndex(ne=>s.value.has(ne));K>-1&&$.splice(K,1)}$.push(B)}k($)}const w=B=>{const $=a.value.getPath(B??d.value,{includeSelf:!1}).keyPath;if(!$.length)return;const I=Array.from(g.value),K=new Set([...I,...$]);e.accordion&&s.value.forEach(ne=>{K.has(ne)&&!$.includes(ne)&&K.delete(ne)}),k(Array.from(K))},x=L(()=>{const{inverted:B}=e,{common:{cubicBezierEaseInOut:$},self:I}=o.value,{borderRadius:K,borderColorHorizontal:ne,fontSize:ve,itemHeight:J,dividerColor:ye}=I,j={"--n-divider-color":ye,"--n-bezier":$,"--n-font-size":ve,"--n-border-color-horizontal":ne,"--n-border-radius":K,"--n-item-height":J};return B?(j["--n-group-text-color"]=I.groupTextColorInverted,j["--n-color"]=I.colorInverted,j["--n-item-text-color"]=I.itemTextColorInverted,j["--n-item-text-color-hover"]=I.itemTextColorHoverInverted,j["--n-item-text-color-active"]=I.itemTextColorActiveInverted,j["--n-item-text-color-child-active"]=I.itemTextColorChildActiveInverted,j["--n-item-text-color-child-active-hover"]=I.itemTextColorChildActiveInverted,j["--n-item-text-color-active-hover"]=I.itemTextColorActiveHoverInverted,j["--n-item-icon-color"]=I.itemIconColorInverted,j["--n-item-icon-color-hover"]=I.itemIconColorHoverInverted,j["--n-item-icon-color-active"]=I.itemIconColorActiveInverted,j["--n-item-icon-color-active-hover"]=I.itemIconColorActiveHoverInverted,j["--n-item-icon-color-child-active"]=I.itemIconColorChildActiveInverted,j["--n-item-icon-color-child-active-hover"]=I.itemIconColorChildActiveHoverInverted,j["--n-item-icon-color-collapsed"]=I.itemIconColorCollapsedInverted,j["--n-item-text-color-horizontal"]=I.itemTextColorHorizontalInverted,j["--n-item-text-color-hover-horizontal"]=I.itemTextColorHoverHorizontalInverted,j["--n-item-text-color-active-horizontal"]=I.itemTextColorActiveHorizontalInverted,j["--n-item-text-color-child-active-horizontal"]=I.itemTextColorChildActiveHorizontalInverted,j["--n-item-text-color-child-active-hover-horizontal"]=I.itemTextColorChildActiveHoverHorizontalInverted,j["--n-item-text-color-active-hover-horizontal"]=I.itemTextColorActiveHoverHorizontalInverted,j["--n-item-icon-color-horizontal"]=I.itemIconColorHorizontalInverted,j["--n-item-icon-color-hover-horizontal"]=I.itemIconColorHoverHorizontalInverted,j["--n-item-icon-color-active-horizontal"]=I.itemIconColorActiveHorizontalInverted,j["--n-item-icon-color-active-hover-horizontal"]=I.itemIconColorActiveHoverHorizontalInverted,j["--n-item-icon-color-child-active-horizontal"]=I.itemIconColorChildActiveHorizontalInverted,j["--n-item-icon-color-child-active-hover-horizontal"]=I.itemIconColorChildActiveHoverHorizontalInverted,j["--n-arrow-color"]=I.arrowColorInverted,j["--n-arrow-color-hover"]=I.arrowColorHoverInverted,j["--n-arrow-color-active"]=I.arrowColorActiveInverted,j["--n-arrow-color-active-hover"]=I.arrowColorActiveHoverInverted,j["--n-arrow-color-child-active"]=I.arrowColorChildActiveInverted,j["--n-arrow-color-child-active-hover"]=I.arrowColorChildActiveHoverInverted,j["--n-item-color-hover"]=I.itemColorHoverInverted,j["--n-item-color-active"]=I.itemColorActiveInverted,j["--n-item-color-active-hover"]=I.itemColorActiveHoverInverted,j["--n-item-color-active-collapsed"]=I.itemColorActiveCollapsedInverted):(j["--n-group-text-color"]=I.groupTextColor,j["--n-color"]=I.color,j["--n-item-text-color"]=I.itemTextColor,j["--n-item-text-color-hover"]=I.itemTextColorHover,j["--n-item-text-color-active"]=I.itemTextColorActive,j["--n-item-text-color-child-active"]=I.itemTextColorChildActive,j["--n-item-text-color-child-active-hover"]=I.itemTextColorChildActiveHover,j["--n-item-text-color-active-hover"]=I.itemTextColorActiveHover,j["--n-item-icon-color"]=I.itemIconColor,j["--n-item-icon-color-hover"]=I.itemIconColorHover,j["--n-item-icon-color-active"]=I.itemIconColorActive,j["--n-item-icon-color-active-hover"]=I.itemIconColorActiveHover,j["--n-item-icon-color-child-active"]=I.itemIconColorChildActive,j["--n-item-icon-color-child-active-hover"]=I.itemIconColorChildActiveHover,j["--n-item-icon-color-collapsed"]=I.itemIconColorCollapsed,j["--n-item-text-color-horizontal"]=I.itemTextColorHorizontal,j["--n-item-text-color-hover-horizontal"]=I.itemTextColorHoverHorizontal,j["--n-item-text-color-active-horizontal"]=I.itemTextColorActiveHorizontal,j["--n-item-text-color-child-active-horizontal"]=I.itemTextColorChildActiveHorizontal,j["--n-item-text-color-child-active-hover-horizontal"]=I.itemTextColorChildActiveHoverHorizontal,j["--n-item-text-color-active-hover-horizontal"]=I.itemTextColorActiveHoverHorizontal,j["--n-item-icon-color-horizontal"]=I.itemIconColorHorizontal,j["--n-item-icon-color-hover-horizontal"]=I.itemIconColorHoverHorizontal,j["--n-item-icon-color-active-horizontal"]=I.itemIconColorActiveHorizontal,j["--n-item-icon-color-active-hover-horizontal"]=I.itemIconColorActiveHoverHorizontal,j["--n-item-icon-color-child-active-horizontal"]=I.itemIconColorChildActiveHorizontal,j["--n-item-icon-color-child-active-hover-horizontal"]=I.itemIconColorChildActiveHoverHorizontal,j["--n-arrow-color"]=I.arrowColor,j["--n-arrow-color-hover"]=I.arrowColorHover,j["--n-arrow-color-active"]=I.arrowColorActive,j["--n-arrow-color-active-hover"]=I.arrowColorActiveHover,j["--n-arrow-color-child-active"]=I.arrowColorChildActive,j["--n-arrow-color-child-active-hover"]=I.arrowColorChildActiveHover,j["--n-item-color-hover"]=I.itemColorHover,j["--n-item-color-active"]=I.itemColorActive,j["--n-item-color-active-hover"]=I.itemColorActiveHover,j["--n-item-color-active-collapsed"]=I.itemColorActiveCollapsed),j}),C=n?kt("menu",L(()=>e.inverted?"a":"b"),x,e):void 0,_=Ii(),R=N(null),E=N(null);let M=!0;const A=()=>{var B;M?M=!1:(B=R.value)===null||B===void 0||B.sync({showAllItemsBeforeCalculate:!0})};function q(){return document.getElementById(_)}const F=N(-1);function z(B){F.value=e.options.length-B}function D(B){B||(F.value=-1)}const Y=L(()=>{const B=F.value;return{children:B===-1?[]:e.options.slice(B)}}),Q=L(()=>{const{childrenField:B,disabledField:$,keyField:I}=e;return bi([Y.value],{getIgnored(K){return Sh(K)},getChildren(K){return K[B]},getDisabled(K){return K[$]},getKey(K){var ne;return(ne=K[I])!==null&&ne!==void 0?ne:K.name}})}),ce=L(()=>bi([{}]).treeNodes[0]);function le(){var B;if(F.value===-1)return v(_h,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:ce.value,domId:_,isEllipsisPlaceholder:!0});const $=Q.value.treeNodes[0],I=m.value,K=!!(!((B=$.children)===null||B===void 0)&&B.some(ne=>I.includes(ne.key)));return v(_h,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:K,tmNode:$,domId:_,rawNodes:$.rawNode.children||[],tmNodes:$.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:h,uncontrolledExpanededKeys:f,mergedExpandedKeys:g,uncontrolledValue:c,mergedValue:d,activePath:m,tmNodes:b,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:x,themeClass:C==null?void 0:C.themeClass,overflowRef:R,counterRef:E,updateCounter:()=>{},onResize:A,onUpdateOverflow:D,onUpdateCount:z,renderCounter:le,getCounter:q,onRender:C==null?void 0:C.onRender,showOption:w,deriveResponsiveState:A}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>ym(l,this.$props)),a=t==="horizontal"&&this.responsive,s=()=>v("div",{role:t==="horizontal"?"menubar":"menu",class:[`${e}-menu`,n,`${e}-menu--${t}`,a&&`${e}-menu--responsive`,this.mergedCollapsed&&`${e}-menu--collapsed`],style:this.cssVars},a?v(ah,{ref:"overflowRef",onUpdateOverflow:this.onUpdateOverflow,getCounter:this.getCounter,onUpdateCount:this.onUpdateCount,updateCounter:this.updateCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:r,counter:this.renderCounter}):r());return a?v(lr,{onResize:this.onResize},{default:s}):s()}}),lS={icon:Function,type:{type:String,default:"info"},content:[String,Number,Function],showIcon:{type:Boolean,default:!0},closable:Boolean,keepAliveOnHover:Boolean,onClose:Function,onMouseenter:Function,onMouseleave:Function},cS="n-message-api",uS="n-message-provider",gY=W([O("message-wrapper",` margin: var(--n-margin); z-index: 0; transform-origin: top center; @@ -3209,7 +3209,7 @@ ${t} right: 12px; justify-content: flex-end; align-items: flex-end; - `)])]),gY={info:()=>v(jr,null),success:()=>v(Ni,null),warning:()=>v(Bi,null),error:()=>v(Fi,null),default:()=>null},vY=me({name:"Message",props:Object.assign(Object.assign({},hS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=at(e),{props:o,mergedClsPrefixRef:r}=qe(mS),i=pn("Message",n,r),a=He("Message","-message",mY,jq,o,r),s=L(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:p,iconMargin:h,closeMargin:g,closeSize:b,iconSize:m,fontSize:y,lineHeight:k,borderRadius:S,iconColorInfo:w,iconColorSuccess:x,iconColorWarning:C,iconColorError:_,iconColorLoading:R,closeIconSize:E,closeBorderRadius:M,[Se("textColor",c)]:A,[Se("boxShadow",c)]:q,[Se("color",c)]:F,[Se("closeColorHover",c)]:z,[Se("closeColorPressed",c)]:D,[Se("closeIconColor",c)]:Y,[Se("closeIconColorPressed",c)]:Q,[Se("closeIconColorHover",c)]:ce}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":y,"--n-icon-margin":h,"--n-icon-size":m,"--n-close-icon-size":E,"--n-close-border-radius":M,"--n-close-size":b,"--n-close-margin":g,"--n-text-color":A,"--n-color":F,"--n-box-shadow":q,"--n-icon-color-info":w,"--n-icon-color-success":x,"--n-icon-color-warning":C,"--n-icon-color-error":_,"--n-icon-color-loading":R,"--n-close-color-hover":z,"--n-close-color-pressed":D,"--n-close-icon-color":Y,"--n-close-icon-color-pressed":Q,"--n-close-icon-color-hover":ce,"--n-line-height":k,"--n-border-radius":S}}),l=t?kt("message",L(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return v("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):v("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=bY(l,t,r))&&u?v("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},v(Hi,null,{default:()=>d})):null,v("div",{class:`${r}-message__content`},Vt(o)),n?v(ji,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function bY(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?v(Xr,{clsPrefix:n,strokeWidth:24,scale:.85}):gY[t]();return o?v(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const yY=me({name:"MessageEnvironment",props:Object.assign(Object.assign({},hS),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=N(!0);Lt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&o()}function a(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:p}=e;u&&u(),d&&d(p),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return v(ku,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?v(vY,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),xY=Object.assign(Object.assign({},He.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),CY=me({name:"MessageProvider",props:xY,setup(e){const{mergedClsPrefixRef:t}=at(e),n=N([]),o=N({}),r={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};lt(mS,{props:e,mergedClsPrefixRef:t}),lt(pS,r);function i(l,c){const u=Ii(),d=xo(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var p;(p=o.value[u])===null||p===void 0||p.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},r)},render(){var e,t,n;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?v(Xc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>v(yY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Qs(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function wY(){const e=qe(pS,null);return e===null&&Kr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Ou="n-notification-provider",_Y=me({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=qe(Ou),o=N(null);return tn(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return v("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?v(ko,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),SY={info:()=>v(jr,null),success:()=>v(Ni,null),warning:()=>v(Bi,null),error:()=>v(Fi,null),default:()=>null},xm={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},kY=qr(xm),TY=me({name:"Notification",props:xm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=qe(Ou),{inlineThemeDisabled:r,mergedRtlRef:i}=at(),a=pn("Notification",i,t),s=L(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:p,closeIconColorPressed:h,headerTextColor:g,descriptionTextColor:b,actionTextColor:m,borderRadius:y,headerFontWeight:k,boxShadow:S,lineHeight:w,fontSize:x,closeMargin:C,closeSize:_,width:R,padding:E,closeIconSize:M,closeBorderRadius:A,closeColorHover:q,closeColorPressed:F,titleFontSize:z,metaFontSize:D,descriptionFontSize:Y,[Se("iconColor",c)]:Q},common:{cubicBezierEaseOut:ce,cubicBezierEaseIn:le,cubicBezierEaseInOut:B}}=n.value,{left:$,right:I,top:K,bottom:ne}=yo(E);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":b,"--n-action-text-color":m,"--n-title-text-color":g,"--n-title-font-weight":k,"--n-bezier":B,"--n-bezier-ease-out":ce,"--n-bezier-ease-in":le,"--n-border-radius":y,"--n-box-shadow":S,"--n-close-border-radius":A,"--n-close-color-hover":q,"--n-close-color-pressed":F,"--n-close-icon-color":f,"--n-close-icon-color-hover":p,"--n-close-icon-color-pressed":h,"--n-line-height":w,"--n-icon-color":Q,"--n-close-margin":C,"--n-close-size":_,"--n-close-icon-size":M,"--n-width":R,"--n-padding-left":$,"--n-padding-right":I,"--n-padding-top":K,"--n-padding-bottom":ne,"--n-title-font-size":z,"--n-meta-font-size":D,"--n-description-font-size":Y}}),l=r?kt("notification",L(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:L(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},v("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?v("div",{class:`${t}-notification__avatar`},this.avatar?Vt(this.avatar):this.type!=="default"?v(Ut,{clsPrefix:t},{default:()=>SY[this.type]()}):null):null,this.closable?v(ji,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,v("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?v("div",{class:`${t}-notification-main__header`},Vt(this.title)):null,this.description?v("div",{class:`${t}-notification-main__description`},Vt(this.description)):null,this.content?v("pre",{class:`${t}-notification-main__content`},Vt(this.content)):null,this.meta||this.action?v("div",{class:`${t}-notification-main-footer`},this.meta?v("div",{class:`${t}-notification-main-footer__meta`},Vt(this.meta)):null,this.action?v("div",{class:`${t}-notification-main-footer__action`},Vt(this.action)):null):null)))}}),PY=Object.assign(Object.assign({},xm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),RY=me({name:"NotificationEnvironment",props:Object.assign(Object.assign({},PY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=qe(Ou),n=N(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(h){t.value++,Ht(()=>{h.style.height=`${h.offsetHeight}px`,h.style.maxHeight="0",h.style.transition="none",h.offsetHeight,h.style.transition="",h.style.maxHeight=h.style.height})}function a(h){t.value--,h.style.height="",h.style.maxHeight="";const{onAfterEnter:g,onAfterShow:b}=e;g&&g(),b&&b()}function s(h){t.value++,h.style.maxHeight=`${h.offsetHeight}px`,h.style.height=`${h.offsetHeight}px`,h.offsetHeight}function l(h){const{onHide:g}=e;g&&g(),h.style.maxHeight="0",h.offsetHeight}function c(){t.value--;const{onAfterLeave:h,onInternalAfterLeave:g,onAfterHide:b,internalKey:m}=e;h&&h(),g(m),b&&b()}function u(){const{duration:h}=e;h&&(o=window.setTimeout(r,h))}function d(h){h.currentTarget===h.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(h){h.currentTarget===h.target&&u()}function p(){const{onClose:h}=e;h?Promise.resolve(h()).then(g=>{g!==!1&&r()}):r()}return Lt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:p,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return v(hn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?v(TY,Object.assign({},Xn(this.$props,kY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),EY=W([O("notification-container",` + `)])]),vY={info:()=>v(jr,null),success:()=>v(Ni,null),warning:()=>v(Bi,null),error:()=>v(Fi,null),default:()=>null},bY=me({name:"Message",props:Object.assign(Object.assign({},lS),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=at(e),{props:o,mergedClsPrefixRef:r}=qe(uS),i=pn("Message",n,r),a=He("Message","-message",gY,Vq,o,r),s=L(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:p,iconMargin:h,closeMargin:g,closeSize:b,iconSize:m,fontSize:y,lineHeight:k,borderRadius:S,iconColorInfo:w,iconColorSuccess:x,iconColorWarning:C,iconColorError:_,iconColorLoading:R,closeIconSize:E,closeBorderRadius:M,[Se("textColor",c)]:A,[Se("boxShadow",c)]:q,[Se("color",c)]:F,[Se("closeColorHover",c)]:z,[Se("closeColorPressed",c)]:D,[Se("closeIconColor",c)]:Y,[Se("closeIconColorPressed",c)]:Q,[Se("closeIconColorHover",c)]:ce}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":p,"--n-font-size":y,"--n-icon-margin":h,"--n-icon-size":m,"--n-close-icon-size":E,"--n-close-border-radius":M,"--n-close-size":b,"--n-close-margin":g,"--n-text-color":A,"--n-color":F,"--n-box-shadow":q,"--n-icon-color-info":w,"--n-icon-color-success":x,"--n-icon-color-warning":C,"--n-icon-color-error":_,"--n-icon-color-loading":R,"--n-close-color-hover":z,"--n-close-color-pressed":D,"--n-close-icon-color":Y,"--n-close-icon-color-pressed":Q,"--n-close-icon-color-hover":ce,"--n-line-height":k,"--n-border-radius":S}}),l=t?kt("message",L(()=>e.type[0]),s,{}):void 0;return{mergedClsPrefix:r,rtlEnabled:i,messageProviderProps:o,handleClose(){var c;(c=e.onClose)===null||c===void 0||c.call(e)},cssVars:t?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender,placement:o.placement}},render(){const{render:e,type:t,closable:n,content:o,mergedClsPrefix:r,cssVars:i,themeClass:a,onRender:s,icon:l,handleClose:c,showIcon:u}=this;s==null||s();let d;return v("div",{class:[`${r}-message-wrapper`,a],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:[{alignItems:this.placement.startsWith("top")?"flex-start":"flex-end"},i]},e?e(this.$props):v("div",{class:[`${r}-message ${r}-message--${t}-type`,this.rtlEnabled&&`${r}-message--rtl`]},(d=yY(l,t,r))&&u?v("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},v(Hi,null,{default:()=>d})):null,v("div",{class:`${r}-message__content`},Vt(o)),n?v(ji,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function yY(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?v(Xr,{clsPrefix:n,strokeWidth:24,scale:.85}):vY[t]();return o?v(Ut,{clsPrefix:n,key:t},{default:()=>o}):null}}const xY=me({name:"MessageEnvironment",props:Object.assign(Object.assign({},lS),{duration:{type:Number,default:3e3},onAfterLeave:Function,onLeave:Function,internalKey:{type:String,required:!0},onInternalAfterLeave:Function,onHide:Function,onAfterHide:Function}),setup(e){let t=null;const n=N(!0);Lt(()=>{o()});function o(){const{duration:u}=e;u&&(t=window.setTimeout(a,u))}function r(u){u.currentTarget===u.target&&t!==null&&(window.clearTimeout(t),t=null)}function i(u){u.currentTarget===u.target&&o()}function a(){const{onHide:u}=e;n.value=!1,t&&(window.clearTimeout(t),t=null),u&&u()}function s(){const{onClose:u}=e;u&&u(),a()}function l(){const{onAfterLeave:u,onInternalAfterLeave:d,onAfterHide:f,internalKey:p}=e;u&&u(),d&&d(p),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return v(Tu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?v(bY,{content:this.content,type:this.type,icon:this.icon,showIcon:this.showIcon,closable:this.closable,onClose:this.handleClose,onMouseenter:this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.keepAliveOnHover?this.handleMouseleave:void 0}):null]})}}),CY=Object.assign(Object.assign({},He.props),{to:[String,Object],duration:{type:Number,default:3e3},keepAliveOnHover:Boolean,max:Number,placement:{type:String,default:"top"},closable:Boolean,containerClass:String,containerStyle:[String,Object]}),wY=me({name:"MessageProvider",props:CY,setup(e){const{mergedClsPrefixRef:t}=at(e),n=N([]),o=N({}),r={create(l,c){return i(l,Object.assign({type:"default"},c))},info(l,c){return i(l,Object.assign(Object.assign({},c),{type:"info"}))},success(l,c){return i(l,Object.assign(Object.assign({},c),{type:"success"}))},warning(l,c){return i(l,Object.assign(Object.assign({},c),{type:"warning"}))},error(l,c){return i(l,Object.assign(Object.assign({},c),{type:"error"}))},loading(l,c){return i(l,Object.assign(Object.assign({},c),{type:"loading"}))},destroyAll:s};lt(uS,{props:e,mergedClsPrefixRef:t}),lt(cS,r);function i(l,c){const u=Ii(),d=xo(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var p;(p=o.value[u])===null||p===void 0||p.hide()}})),{max:f}=e;return f&&n.value.length>=f&&n.value.shift(),n.value.push(d),d}function a(l){n.value.splice(n.value.findIndex(c=>c.key===l),1),delete o.value[l]}function s(){Object.values(o.value).forEach(l=>{l.hide()})}return Object.assign({mergedClsPrefix:t,messageRefs:o,messageList:n,handleAfterLeave:a},r)},render(){var e,t,n;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?v(Xc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v("div",{class:[`${this.mergedClsPrefix}-message-container`,`${this.mergedClsPrefix}-message-container--${this.placement}`,this.containerClass],key:"message-container",style:this.containerStyle},this.messageList.map(o=>v(xY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Qs(o,["destroy"],void 0),{duration:o.duration===void 0?this.duration:o.duration,keepAliveOnHover:o.keepAliveOnHover===void 0?this.keepAliveOnHover:o.keepAliveOnHover,closable:o.closable===void 0?this.closable:o.closable}))))):null)}});function _Y(){const e=qe(cS,null);return e===null&&Kr("use-message","No outer founded. See prerequisite in https://www.naiveui.com/en-US/os-theme/components/message for more details. If you want to use `useMessage` outside setup, please check https://www.naiveui.com/zh-CN/os-theme/components/message#Q-&-A."),e}const Du="n-notification-provider",SY=me({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=qe(Du),o=N(null);return tn(()=>{var r,i;n.value>0?(r=o==null?void 0:o.value)===null||r===void 0||r.classList.add("transitioning"):(i=o==null?void 0:o.value)===null||i===void 0||i.classList.remove("transitioning")}),{selfRef:o,mergedTheme:e,mergedClsPrefix:t,transitioning:n}},render(){const{$slots:e,scrollable:t,mergedClsPrefix:n,mergedTheme:o,placement:r}=this;return v("div",{ref:"selfRef",class:[`${n}-notification-container`,t&&`${n}-notification-container--scrollable`,`${n}-notification-container--${r}`]},t?v(ko,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),kY={info:()=>v(jr,null),success:()=>v(Ni,null),warning:()=>v(Bi,null),error:()=>v(Fi,null),default:()=>null},xm={closable:{type:Boolean,default:!0},type:{type:String,default:"default"},avatar:Function,title:[String,Function],description:[String,Function],content:[String,Function],meta:[String,Function],action:[String,Function],onClose:{type:Function,required:!0},keepAliveOnHover:Boolean,onMouseenter:Function,onMouseleave:Function},TY=qr(xm),PY=me({name:"Notification",props:xm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=qe(Du),{inlineThemeDisabled:r,mergedRtlRef:i}=at(),a=pn("Notification",i,t),s=L(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:p,closeIconColorPressed:h,headerTextColor:g,descriptionTextColor:b,actionTextColor:m,borderRadius:y,headerFontWeight:k,boxShadow:S,lineHeight:w,fontSize:x,closeMargin:C,closeSize:_,width:R,padding:E,closeIconSize:M,closeBorderRadius:A,closeColorHover:q,closeColorPressed:F,titleFontSize:z,metaFontSize:D,descriptionFontSize:Y,[Se("iconColor",c)]:Q},common:{cubicBezierEaseOut:ce,cubicBezierEaseIn:le,cubicBezierEaseInOut:B}}=n.value,{left:$,right:I,top:K,bottom:ne}=yo(E);return{"--n-color":u,"--n-font-size":x,"--n-text-color":d,"--n-description-text-color":b,"--n-action-text-color":m,"--n-title-text-color":g,"--n-title-font-weight":k,"--n-bezier":B,"--n-bezier-ease-out":ce,"--n-bezier-ease-in":le,"--n-border-radius":y,"--n-box-shadow":S,"--n-close-border-radius":A,"--n-close-color-hover":q,"--n-close-color-pressed":F,"--n-close-icon-color":f,"--n-close-icon-color-hover":p,"--n-close-icon-color-pressed":h,"--n-line-height":w,"--n-icon-color":Q,"--n-close-margin":C,"--n-close-size":_,"--n-close-icon-size":M,"--n-width":R,"--n-padding-left":$,"--n-padding-right":I,"--n-padding-top":K,"--n-padding-bottom":ne,"--n-title-font-size":z,"--n-meta-font-size":D,"--n-description-font-size":Y}}),l=r?kt("notification",L(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:L(()=>e.avatar||e.type!=="default"),handleCloseClick(){e.onClose()},rtlEnabled:a,cssVars:r?void 0:s,themeClass:l==null?void 0:l.themeClass,onRender:l==null?void 0:l.onRender}},render(){var e;const{mergedClsPrefix:t}=this;return(e=this.onRender)===null||e===void 0||e.call(this),v("div",{class:[`${t}-notification-wrapper`,this.themeClass],onMouseenter:this.onMouseenter,onMouseleave:this.onMouseleave,style:this.cssVars},v("div",{class:[`${t}-notification`,this.rtlEnabled&&`${t}-notification--rtl`,this.themeClass,{[`${t}-notification--closable`]:this.closable,[`${t}-notification--show-avatar`]:this.showAvatar}],style:this.cssVars},this.showAvatar?v("div",{class:`${t}-notification__avatar`},this.avatar?Vt(this.avatar):this.type!=="default"?v(Ut,{clsPrefix:t},{default:()=>kY[this.type]()}):null):null,this.closable?v(ji,{clsPrefix:t,class:`${t}-notification__close`,onClick:this.handleCloseClick}):null,v("div",{ref:"bodyRef",class:`${t}-notification-main`},this.title?v("div",{class:`${t}-notification-main__header`},Vt(this.title)):null,this.description?v("div",{class:`${t}-notification-main__description`},Vt(this.description)):null,this.content?v("pre",{class:`${t}-notification-main__content`},Vt(this.content)):null,this.meta||this.action?v("div",{class:`${t}-notification-main-footer`},this.meta?v("div",{class:`${t}-notification-main-footer__meta`},Vt(this.meta)):null,this.action?v("div",{class:`${t}-notification-main-footer__action`},Vt(this.action)):null):null)))}}),RY=Object.assign(Object.assign({},xm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),EY=me({name:"NotificationEnvironment",props:Object.assign(Object.assign({},RY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=qe(Du),n=N(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(h){t.value++,Ht(()=>{h.style.height=`${h.offsetHeight}px`,h.style.maxHeight="0",h.style.transition="none",h.offsetHeight,h.style.transition="",h.style.maxHeight=h.style.height})}function a(h){t.value--,h.style.height="",h.style.maxHeight="";const{onAfterEnter:g,onAfterShow:b}=e;g&&g(),b&&b()}function s(h){t.value++,h.style.maxHeight=`${h.offsetHeight}px`,h.style.height=`${h.offsetHeight}px`,h.offsetHeight}function l(h){const{onHide:g}=e;g&&g(),h.style.maxHeight="0",h.offsetHeight}function c(){t.value--;const{onAfterLeave:h,onInternalAfterLeave:g,onAfterHide:b,internalKey:m}=e;h&&h(),g(m),b&&b()}function u(){const{duration:h}=e;h&&(o=window.setTimeout(r,h))}function d(h){h.currentTarget===h.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(h){h.currentTarget===h.target&&u()}function p(){const{onClose:h}=e;h?Promise.resolve(h()).then(g=>{g!==!1&&r()}):r()}return Lt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:p,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return v(hn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?v(PY,Object.assign({},Xn(this.$props,TY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),$Y=W([O("notification-container",` z-index: 4000; position: fixed; overflow: visible; @@ -3398,7 +3398,7 @@ ${t} transform: translate(${n}, 0); `),W("&.notification-transition-leave-from, &.notification-transition-enter-to",` transform: translate(${o}, 0); - `)])}const gS="n-notification-api",$Y=Object.assign(Object.assign({},He.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),AY=me({name:"NotificationProvider",props:$Y,setup(e){const{mergedClsPrefixRef:t}=at(e),n=N([]),o={},r=new Set;function i(p){const h=Ii(),g=()=>{r.add(h),o[h]&&o[h].hide()},b=xo(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:m}=e;if(m&&n.value.length-r.size>=m){let y=!1,k=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),y=!0);break}k++}y||n.value.splice(k,1)}return n.value.push(b),b}const a=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function s(p){r.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=He("Notification","-notification",EY,Lq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=N(0);lt(gS,c),lt(Ou,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(p){return i(p)}function f(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?v(Xc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v(_Y,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>v(RY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Qs(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function IY(){const e=qe(gS,null);return e===null&&Kr("use-notification","No outer `n-notification-provider` found."),e}const MY=W([O("progress",{display:"inline-block"},[O("progress-icon",` + `)])}const dS="n-notification-api",AY=Object.assign(Object.assign({},He.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),IY=me({name:"NotificationProvider",props:AY,setup(e){const{mergedClsPrefixRef:t}=at(e),n=N([]),o={},r=new Set;function i(p){const h=Ii(),g=()=>{r.add(h),o[h]&&o[h].hide()},b=xo(Object.assign(Object.assign({},p),{key:h,destroy:g,hide:g,deactivate:g})),{max:m}=e;if(m&&n.value.length-r.size>=m){let y=!1,k=0;for(const S of n.value){if(!r.has(S.key)){o[S.key]&&(S.destroy(),y=!0);break}k++}y||n.value.splice(k,1)}return n.value.push(b),b}const a=["info","success","warning","error"].map(p=>h=>i(Object.assign(Object.assign({},h),{type:p})));function s(p){r.delete(p),n.value.splice(n.value.findIndex(h=>h.key===p),1)}const l=He("Notification","-notification",$Y,Fq,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=N(0);lt(dS,c),lt(Du,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(p){return i(p)}function f(){Object.values(n.value).forEach(p=>{p.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return v(it,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?v(Xc,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v(SY,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>v(EY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Qs(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function MY(){const e=qe(dS,null);return e===null&&Kr("use-notification","No outer `n-notification-provider` found."),e}const zY=W([O("progress",{display:"inline-block"},[O("progress-icon",` color: var(--n-icon-color); transition: color .3s var(--n-bezier); `),Z("line",` @@ -3561,13 +3561,13 @@ ${t} right: 0; opacity: 0; } - `)]),zY={success:v(Ni,null),error:v(Fi,null),warning:v(Bi,null),info:v(jr,null)},OY=me({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=L(()=>qt(e.height)),o=L(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=L(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:p,processing:h,clsPrefix:g}=e;return v("div",{class:`${g}-progress-content`,role:"none"},v("div",{class:`${g}-progress-graph`,"aria-hidden":!0},v("div",{class:[`${g}-progress-graph-line`,{[`${g}-progress-graph-line--indicator-${i}`]:!0}]},v("div",{class:`${g}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},v("div",{class:[`${g}-progress-graph-line-fill`,h&&`${g}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:p,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?v("div",{class:`${g}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?v("div",null,t.default?v("div",{class:`${g}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?v("div",{role:"none",class:`${g}-progress-icon ${g}-progress-icon--as-text`,style:{color:u}},l,c):v("div",{class:`${g}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:g},{default:()=>zY[d]}))):null)}}}),DY={success:v(Ni,null),error:v(Fi,null),warning:v(Bi,null),info:v(jr,null)},LY=me({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(o,r,i){const{gapDegree:a,viewBoxWidth:s,strokeWidth:l}=e,c=50,u=0,d=c,f=0,p=2*c,h=50+l/2,g=`M ${h},${h} m ${u},${d} + `)]),OY={success:v(Ni,null),error:v(Fi,null),warning:v(Bi,null),info:v(jr,null)},DY=me({name:"ProgressLine",props:{clsPrefix:{type:String,required:!0},percentage:{type:Number,default:0},railColor:String,railStyle:[String,Object],fillColor:String,status:{type:String,required:!0},indicatorPlacement:{type:String,required:!0},indicatorTextColor:String,unit:{type:String,default:"%"},processing:{type:Boolean,required:!0},showIndicator:{type:Boolean,required:!0},height:[String,Number],railBorderRadius:[String,Number],fillBorderRadius:[String,Number]},setup(e,{slots:t}){const n=L(()=>qt(e.height)),o=L(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=L(()=>e.fillBorderRadius!==void 0?qt(e.fillBorderRadius):e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):"");return()=>{const{indicatorPlacement:i,railColor:a,railStyle:s,percentage:l,unit:c,indicatorTextColor:u,status:d,showIndicator:f,fillColor:p,processing:h,clsPrefix:g}=e;return v("div",{class:`${g}-progress-content`,role:"none"},v("div",{class:`${g}-progress-graph`,"aria-hidden":!0},v("div",{class:[`${g}-progress-graph-line`,{[`${g}-progress-graph-line--indicator-${i}`]:!0}]},v("div",{class:`${g}-progress-graph-line-rail`,style:[{backgroundColor:a,height:n.value,borderRadius:o.value},s]},v("div",{class:[`${g}-progress-graph-line-fill`,h&&`${g}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:p,height:n.value,lineHeight:n.value,borderRadius:r.value}},i==="inside"?v("div",{class:`${g}-progress-graph-line-indicator`,style:{color:u}},t.default?t.default():`${l}${c}`):null)))),f&&i==="outside"?v("div",null,t.default?v("div",{class:`${g}-progress-custom-content`,style:{color:u},role:"none"},t.default()):d==="default"?v("div",{role:"none",class:`${g}-progress-icon ${g}-progress-icon--as-text`,style:{color:u}},l,c):v("div",{class:`${g}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:g},{default:()=>OY[d]}))):null)}}}),LY={success:v(Ni,null),error:v(Fi,null),warning:v(Bi,null),info:v(jr,null)},FY=me({name:"ProgressCircle",props:{clsPrefix:{type:String,required:!0},status:{type:String,required:!0},strokeWidth:{type:Number,required:!0},fillColor:String,railColor:String,railStyle:[String,Object],percentage:{type:Number,default:0},offsetDegree:{type:Number,default:0},showIndicator:{type:Boolean,required:!0},indicatorTextColor:String,unit:String,viewBoxWidth:{type:Number,required:!0},gapDegree:{type:Number,required:!0},gapOffsetDegree:{type:Number,default:0}},setup(e,{slots:t}){function n(o,r,i){const{gapDegree:a,viewBoxWidth:s,strokeWidth:l}=e,c=50,u=0,d=c,f=0,p=2*c,h=50+l/2,g=`M ${h},${h} m ${u},${d} a ${c},${c} 0 1 1 ${f},${-p} - a ${c},${c} 0 1 1 ${-f},${p}`,b=Math.PI*2*c,m={stroke:i,strokeDasharray:`${o/100*(b-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:g,pathStyle:m}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:p}=e,{pathString:h,pathStyle:g}=n(100,0,r),{pathString:b,pathStyle:m}=n(l,a,o),y=100+i;return v("div",{class:`${p}-progress-content`,role:"none"},v("div",{class:`${p}-progress-graph`,"aria-hidden":!0},v("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},v("svg",{viewBox:`0 0 ${y} ${y}`},v("g",null,v("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:g})),v("g",null,v("path",{class:[`${p}-progress-graph-circle-fill`,l===0&&`${p}-progress-graph-circle-fill--empty`],d:b,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m}))))),c?v("div",null,t.default?v("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?v("div",{class:`${p}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:p},{default:()=>DY[s]})):v("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},v("span",{class:`${p}-progress-text__percentage`},l),v("span",{class:`${p}-progress-text__unit`},d))):null)}}});function Y0(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const FY=me({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=L(()=>e.percentage.map((r,i)=>`${Math.PI*r/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:i,showIndicator:a,fillColor:s,railColor:l,railStyle:c,percentage:u,clsPrefix:d}=e;return v("div",{class:`${d}-progress-content`,role:"none"},v("div",{class:`${d}-progress-graph`,"aria-hidden":!0},v("div",{class:`${d}-progress-graph-circle`},v("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>v("g",{key:p},v("path",{class:`${d}-progress-graph-circle-rail`,d:Y0(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[p]},c[p]]}),v("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:Y0(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[p],strokeDashoffset:0,stroke:s[p]}})))))),a&&t.default?v("div",null,v("div",{class:`${d}-progress-text`},t.default())):null)}}}),NY=Object.assign(Object.assign({},He.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),BY=me({name:"Progress",props:NY,setup(e){const t=L(()=>e.indicatorPlacement||e.indicatorPosition),n=L(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=at(e),i=He("Progress","-progress",MY,RK,e,o),a=L(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:p,iconSizeCircle:h,iconSizeLine:g,textColorCircle:b,textColorLineInner:m,textColorLineOuter:y,lineBgProcessing:k,fontWeightCircle:S,[Se("iconColor",l)]:w,[Se("fillColor",l)]:x}}=i.value;return{"--n-bezier":c,"--n-fill-color":x,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":S,"--n-icon-color":w,"--n-icon-size-circle":h,"--n-icon-size-line":g,"--n-line-bg-processing":k,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":b,"--n-text-color-line-inner":m,"--n-text-color-line-outer":y}}),s=r?kt("progress",L(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:p,fillBorderRadius:h,height:g,processing:b,circleGap:m,mergedClsPrefix:y,gapDeg:k,gapOffsetDegree:S,themeClass:w,$slots:x,onRender:C}=this;return C==null||C(),v("div",{class:[w,`${y}-progress`,`${y}-progress--${e}`,`${y}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?v(LY,{clsPrefix:y,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:k===void 0?e==="dashboard"?75:0:k,gapOffsetDegree:S,unit:f},x):e==="line"?v(OY,{clsPrefix:y,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:b,indicatorPlacement:d,unit:f,fillBorderRadius:h,railBorderRadius:p,height:g},x):e==="multiple-circle"?v(FY,{clsPrefix:y,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:m},x):null)}}),HY=W([O("qr-code",` + a ${c},${c} 0 1 1 ${-f},${p}`,b=Math.PI*2*c,m={stroke:i,strokeDasharray:`${o/100*(b-a)}px ${s*8}px`,strokeDashoffset:`-${a/2}px`,transformOrigin:r?"center":void 0,transform:r?`rotate(${r}deg)`:void 0};return{pathString:g,pathStyle:m}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:p}=e,{pathString:h,pathStyle:g}=n(100,0,r),{pathString:b,pathStyle:m}=n(l,a,o),y=100+i;return v("div",{class:`${p}-progress-content`,role:"none"},v("div",{class:`${p}-progress-graph`,"aria-hidden":!0},v("div",{class:`${p}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},v("svg",{viewBox:`0 0 ${y} ${y}`},v("g",null,v("path",{class:`${p}-progress-graph-circle-rail`,d:h,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:g})),v("g",null,v("path",{class:[`${p}-progress-graph-circle-fill`,l===0&&`${p}-progress-graph-circle-fill--empty`],d:b,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:m}))))),c?v("div",null,t.default?v("div",{class:`${p}-progress-custom-content`,role:"none"},t.default()):s!=="default"?v("div",{class:`${p}-progress-icon`,"aria-hidden":!0},v(Ut,{clsPrefix:p},{default:()=>LY[s]})):v("div",{class:`${p}-progress-text`,style:{color:u},role:"none"},v("span",{class:`${p}-progress-text__percentage`},l),v("span",{class:`${p}-progress-text__unit`},d))):null)}}});function Y0(e,t,n=100){return`m ${n/2} ${n/2-e} a ${e} ${e} 0 1 1 0 ${2*e} a ${e} ${e} 0 1 1 0 -${2*e}`}const NY=me({name:"ProgressMultipleCircle",props:{clsPrefix:{type:String,required:!0},viewBoxWidth:{type:Number,required:!0},percentage:{type:Array,default:[0]},strokeWidth:{type:Number,required:!0},circleGap:{type:Number,required:!0},showIndicator:{type:Boolean,required:!0},fillColor:{type:Array,default:()=>[]},railColor:{type:Array,default:()=>[]},railStyle:{type:Array,default:()=>[]}},setup(e,{slots:t}){const n=L(()=>e.percentage.map((r,i)=>`${Math.PI*r/100*(e.viewBoxWidth/2-e.strokeWidth/2*(1+2*i)-e.circleGap*i)*2}, ${e.viewBoxWidth*8}`));return()=>{const{viewBoxWidth:o,strokeWidth:r,circleGap:i,showIndicator:a,fillColor:s,railColor:l,railStyle:c,percentage:u,clsPrefix:d}=e;return v("div",{class:`${d}-progress-content`,role:"none"},v("div",{class:`${d}-progress-graph`,"aria-hidden":!0},v("div",{class:`${d}-progress-graph-circle`},v("svg",{viewBox:`0 0 ${o} ${o}`},u.map((f,p)=>v("g",{key:p},v("path",{class:`${d}-progress-graph-circle-rail`,d:Y0(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[p]},c[p]]}),v("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:Y0(o/2-r/2*(1+2*p)-i*p,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[p],strokeDashoffset:0,stroke:s[p]}})))))),a&&t.default?v("div",null,v("div",{class:`${d}-progress-text`},t.default())):null)}}}),BY=Object.assign(Object.assign({},He.props),{processing:Boolean,type:{type:String,default:"line"},gapDegree:Number,gapOffsetDegree:Number,status:{type:String,default:"default"},railColor:[String,Array],railStyle:[String,Array],color:[String,Array],viewBoxWidth:{type:Number,default:100},strokeWidth:{type:Number,default:7},percentage:[Number,Array],unit:{type:String,default:"%"},showIndicator:{type:Boolean,default:!0},indicatorPosition:{type:String,default:"outside"},indicatorPlacement:{type:String,default:"outside"},indicatorTextColor:String,circleGap:{type:Number,default:1},height:Number,borderRadius:[String,Number],fillBorderRadius:[String,Number],offsetDegree:Number}),HY=me({name:"Progress",props:BY,setup(e){const t=L(()=>e.indicatorPlacement||e.indicatorPosition),n=L(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=at(e),i=He("Progress","-progress",zY,EK,e,o),a=L(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:p,iconSizeCircle:h,iconSizeLine:g,textColorCircle:b,textColorLineInner:m,textColorLineOuter:y,lineBgProcessing:k,fontWeightCircle:S,[Se("iconColor",l)]:w,[Se("fillColor",l)]:x}}=i.value;return{"--n-bezier":c,"--n-fill-color":x,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":S,"--n-icon-color":w,"--n-icon-size-circle":h,"--n-icon-size-line":g,"--n-line-bg-processing":k,"--n-rail-color":f,"--n-rail-height":p,"--n-text-color-circle":b,"--n-text-color-line-inner":m,"--n-text-color-line-outer":y}}),s=r?kt("progress",L(()=>e.status[0]),a,e):void 0;return{mergedClsPrefix:o,mergedIndicatorPlacement:t,gapDeg:n,cssVars:r?void 0:a,themeClass:s==null?void 0:s.themeClass,onRender:s==null?void 0:s.onRender}},render(){const{type:e,cssVars:t,indicatorTextColor:n,showIndicator:o,status:r,railColor:i,railStyle:a,color:s,percentage:l,viewBoxWidth:c,strokeWidth:u,mergedIndicatorPlacement:d,unit:f,borderRadius:p,fillBorderRadius:h,height:g,processing:b,circleGap:m,mergedClsPrefix:y,gapDeg:k,gapOffsetDegree:S,themeClass:w,$slots:x,onRender:C}=this;return C==null||C(),v("div",{class:[w,`${y}-progress`,`${y}-progress--${e}`,`${y}-progress--${r}`],style:t,"aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l,role:e==="circle"||e==="line"||e==="dashboard"?"progressbar":"none"},e==="circle"||e==="dashboard"?v(FY,{clsPrefix:y,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:k===void 0?e==="dashboard"?75:0:k,gapOffsetDegree:S,unit:f},x):e==="line"?v(DY,{clsPrefix:y,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:b,indicatorPlacement:d,unit:f,fillBorderRadius:h,railBorderRadius:p,height:g},x):e==="multiple-circle"?v(NY,{clsPrefix:y,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:m},x):null)}}),jY=W([O("qr-code",` background: #fff; border-radius: var(--n-border-radius); display: inline-flex; - `)]),jY={name:"QrCode",common:Ve,self:e=>({borderRadius:e.borderRadius})},VY=jY,UY=e=>({borderRadius:e.borderRadius}),WY={name:"QrCode",common:bt,self:UY},qY=WY;var ki;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,p;for(f=l;;f++){const m=t.getNumDataCodewords(f,s)*8,y=r.getTotalBits(a,f);if(y<=m){p=y;break}if(f>=c)throw new RangeError("Data too long")}for(const m of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&p<=t.getNumDataCodewords(f,m)*8&&(s=m);const h=[];for(const m of a){n(m.mode.modeBits,4,h),n(m.numChars,m.mode.numCharCountBits(f),h);for(const y of m.getData())h.push(y)}const g=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,g-h.length),h),n(0,(8-h.length%8)%8,h);for(let m=236;h.lengthb[y>>>3]|=m<<7-(y&7)),new t(f,s,b,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],at.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const u=[];for(let f=0;f=0&&a=0&&s>>9)*1335;const c=(s<<10|l)^21522;for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let l=0;l<12;l++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;for(let l=0;l<18;l++){const c=o(s,l),u=this.size-11+l%3,d=Math.floor(l/3);this.setFunctionModule(u,d,c),this.setFunctionModule(d,u,c)}}drawFinderPattern(a,s){for(let l=-4;l<=4;l++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(l)),d=a+c,f=s+l;d>=0&&d=0&&f{(m!==p-u||k>=f)&&b.push(y[m])});return b}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[u][h],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;u5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[h][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;ud+(f?1:0),s);const l=this.size*this.size,c=Math.ceil(Math.abs(s*20-l*10)/l)-1;return a+=c*t.PENALTY_N4,a}getAlignmentPatternPositions(){if(this.version===1)return[];{const a=Math.floor(this.version/7)+2,s=this.version===32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,l=[6];for(let c=this.size-7;l.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const l=Math.floor(a/7)+2;s-=(25*l-10)*l-55,a>=7&&(s-=36)}return s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of a){const u=c^l.shift();l.push(0),s.forEach((d,f)=>l[f]^=t.reedSolomonMultiply(d,u))}return l}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let l=0;for(let c=7;c>=0;c--)l=l<<1^(l>>>7)*285,l^=(s>>>c&1)*a;return l}finderPenaltyCountPatterns(a){const s=a[1],l=s>0&&a[2]===s&&a[3]===s*3&&a[4]===s&&a[5]===s;return(l&&a[0]>=s*4&&a[6]>=s?1:0)+(l&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,l){return a&&(this.finderPenaltyAddHistory(s,l),s=0),s+=this.size,this.finderPenaltyAddHistory(s,l),this.finderPenaltyCountPatterns(l)}finderPenaltyAddHistory(a,s){s[0]===0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let l=a-1;l>=0;l--)s.push(i>>>l&1)}function o(i,a){return(i>>>a&1)!==0}class r{static makeBytes(a){const s=[];for(const l of a)n(l,8,s);return new r(r.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!r.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let l=0;l=1<({"--n-border-radius":o.value.self.borderRadius})),i=n?kt("qr-code",void 0,r,e):void 0,a=N(),s=L(()=>{var c;const u=KY[e.errorCorrectionLevel];return ds.QrCode.encodeText((c=e.value)!==null&&c!==void 0?c:"-",u)});Lt(()=>{const c=N(0);let u=null;tn(()=>{c.value,l(s.value,e.size,e.color,e.backgroundColor,u?{icon:u,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null)}),tn(()=>{const{iconSrc:d}=e;if(d){let f=!1;const p=new Image;return p.src=d,p.onload=()=>{f||(u=p,c.value++)},()=>{f=!0}}})});function l(c,u,d,f,p){const h=a.value;if(!h)return;const g=u*Gd,b=c.size,m=g/b;h.width=g,h.height=g;const y=h.getContext("2d");if(y){y.clearRect(0,0,h.width,h.height);for(let k=0;k=1?C:C*E,A=E<=1?C:C/E,q=_+(C-M)/2,F=R+(C-A)/2;y.drawImage(k,q,F,M,A)}}}return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i}=this;return v("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t},o)},v("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}))}}),YY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),v("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),v("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),v("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),v("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),v("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),XY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),v("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),v("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),ZY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),v("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),v("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),v("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),v("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),v("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),JY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),v("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),QY=O("result",` + `)]),VY={name:"QrCode",common:Ve,self:e=>({borderRadius:e.borderRadius})},UY=VY,WY=e=>({borderRadius:e.borderRadius}),qY={name:"QrCode",common:bt,self:WY},KY=qY;var ki;(function(e){class t{static encodeText(a,s){const l=e.QrSegment.makeSegments(a);return t.encodeSegments(l,s)}static encodeBinary(a,s){const l=e.QrSegment.makeBytes(a);return t.encodeSegments([l],s)}static encodeSegments(a,s,l=1,c=40,u=-1,d=!0){if(!(t.MIN_VERSION<=l&&l<=c&&c<=t.MAX_VERSION)||u<-1||u>7)throw new RangeError("Invalid value");let f,p;for(f=l;;f++){const m=t.getNumDataCodewords(f,s)*8,y=r.getTotalBits(a,f);if(y<=m){p=y;break}if(f>=c)throw new RangeError("Data too long")}for(const m of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&p<=t.getNumDataCodewords(f,m)*8&&(s=m);const h=[];for(const m of a){n(m.mode.modeBits,4,h),n(m.numChars,m.mode.numCharCountBits(f),h);for(const y of m.getData())h.push(y)}const g=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,g-h.length),h),n(0,(8-h.length%8)%8,h);for(let m=236;h.lengthb[y>>>3]|=m<<7-(y&7)),new t(f,s,b,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],at.MAX_VERSION)throw new RangeError("Version value out of range");if(c<-1||c>7)throw new RangeError("Mask value out of range");this.size=a*4+17;const u=[];for(let f=0;f=0&&a=0&&s>>9)*1335;const c=(s<<10|l)^21522;for(let u=0;u<=5;u++)this.setFunctionModule(8,u,o(c,u));this.setFunctionModule(8,7,o(c,6)),this.setFunctionModule(8,8,o(c,7)),this.setFunctionModule(7,8,o(c,8));for(let u=9;u<15;u++)this.setFunctionModule(14-u,8,o(c,u));for(let u=0;u<8;u++)this.setFunctionModule(this.size-1-u,8,o(c,u));for(let u=8;u<15;u++)this.setFunctionModule(8,this.size-15+u,o(c,u));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let a=this.version;for(let l=0;l<12;l++)a=a<<1^(a>>>11)*7973;const s=this.version<<12|a;for(let l=0;l<18;l++){const c=o(s,l),u=this.size-11+l%3,d=Math.floor(l/3);this.setFunctionModule(u,d,c),this.setFunctionModule(d,u,c)}}drawFinderPattern(a,s){for(let l=-4;l<=4;l++)for(let c=-4;c<=4;c++){const u=Math.max(Math.abs(c),Math.abs(l)),d=a+c,f=s+l;d>=0&&d=0&&f{(m!==p-u||k>=f)&&b.push(y[m])});return b}drawCodewords(a){if(a.length!==Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let s=0;for(let l=this.size-1;l>=1;l-=2){l===6&&(l=5);for(let c=0;c>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[u][h],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;u5&&a++):(this.finderPenaltyAddHistory(f,p),d||(a+=this.finderPenaltyCountPatterns(p)*t.PENALTY_N3),d=this.modules[h][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,p)*t.PENALTY_N3}for(let u=0;ud+(f?1:0),s);const l=this.size*this.size,c=Math.ceil(Math.abs(s*20-l*10)/l)-1;return a+=c*t.PENALTY_N4,a}getAlignmentPatternPositions(){if(this.version===1)return[];{const a=Math.floor(this.version/7)+2,s=this.version===32?26:Math.ceil((this.version*4+4)/(a*2-2))*2,l=[6];for(let c=this.size-7;l.lengtht.MAX_VERSION)throw new RangeError("Version number out of range");let s=(16*a+128)*a+64;if(a>=2){const l=Math.floor(a/7)+2;s-=(25*l-10)*l-55,a>=7&&(s-=36)}return s}static getNumDataCodewords(a,s){return Math.floor(t.getNumRawDataModules(a)/8)-t.ECC_CODEWORDS_PER_BLOCK[s.ordinal][a]*t.NUM_ERROR_CORRECTION_BLOCKS[s.ordinal][a]}static reedSolomonComputeDivisor(a){if(a<1||a>255)throw new RangeError("Degree out of range");const s=[];for(let c=0;c0);for(const c of a){const u=c^l.shift();l.push(0),s.forEach((d,f)=>l[f]^=t.reedSolomonMultiply(d,u))}return l}static reedSolomonMultiply(a,s){if(a>>>8||s>>>8)throw new RangeError("Byte out of range");let l=0;for(let c=7;c>=0;c--)l=l<<1^(l>>>7)*285,l^=(s>>>c&1)*a;return l}finderPenaltyCountPatterns(a){const s=a[1],l=s>0&&a[2]===s&&a[3]===s*3&&a[4]===s&&a[5]===s;return(l&&a[0]>=s*4&&a[6]>=s?1:0)+(l&&a[6]>=s*4&&a[0]>=s?1:0)}finderPenaltyTerminateAndCount(a,s,l){return a&&(this.finderPenaltyAddHistory(s,l),s=0),s+=this.size,this.finderPenaltyAddHistory(s,l),this.finderPenaltyCountPatterns(l)}finderPenaltyAddHistory(a,s){s[0]===0&&(a+=this.size),s.pop(),s.unshift(a)}}t.MIN_VERSION=1,t.MAX_VERSION=40,t.PENALTY_N1=3,t.PENALTY_N2=3,t.PENALTY_N3=40,t.PENALTY_N4=10,t.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],t.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=t;function n(i,a,s){if(a<0||a>31||i>>>a)throw new RangeError("Value out of range");for(let l=a-1;l>=0;l--)s.push(i>>>l&1)}function o(i,a){return(i>>>a&1)!==0}class r{static makeBytes(a){const s=[];for(const l of a)n(l,8,s);return new r(r.Mode.BYTE,a.length,s)}static makeNumeric(a){if(!r.isNumeric(a))throw new RangeError("String contains non-numeric characters");const s=[];for(let l=0;l=1<({"--n-border-radius":o.value.self.borderRadius})),i=n?kt("qr-code",void 0,r,e):void 0,a=N(),s=L(()=>{var c;const u=GY[e.errorCorrectionLevel];return ds.QrCode.encodeText((c=e.value)!==null&&c!==void 0?c:"-",u)});Lt(()=>{const c=N(0);let u=null;tn(()=>{c.value,l(s.value,e.size,e.color,e.backgroundColor,u?{icon:u,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null)}),tn(()=>{const{iconSrc:d}=e;if(d){let f=!1;const p=new Image;return p.src=d,p.onload=()=>{f||(u=p,c.value++)},()=>{f=!0}}})});function l(c,u,d,f,p){const h=a.value;if(!h)return;const g=u*Yd,b=c.size,m=g/b;h.width=g,h.height=g;const y=h.getContext("2d");if(y){y.clearRect(0,0,h.width,h.height);for(let k=0;k=1?C:C*E,A=E<=1?C:C/E,q=_+(C-M)/2,F=R+(C-A)/2;y.drawImage(k,q,F,M,A)}}}return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i}=this;return v("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t},o)},v("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}))}}),XY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("circle",{fill:"#FFCB4C",cx:"18",cy:"17.018",r:"17"}),v("path",{fill:"#65471B",d:"M14.524 21.036c-.145-.116-.258-.274-.312-.464-.134-.46.13-.918.59-1.021 4.528-1.021 7.577 1.363 7.706 1.465.384.306.459.845.173 1.205-.286.358-.828.401-1.211.097-.11-.084-2.523-1.923-6.182-1.098-.274.061-.554-.016-.764-.184z"}),v("ellipse",{fill:"#65471B",cx:"13.119",cy:"11.174",rx:"2.125",ry:"2.656"}),v("ellipse",{fill:"#65471B",cx:"24.375",cy:"12.236",rx:"2.125",ry:"2.656"}),v("path",{fill:"#F19020",d:"M17.276 35.149s1.265-.411 1.429-1.352c.173-.972-.624-1.167-.624-1.167s1.041-.208 1.172-1.376c.123-1.101-.861-1.363-.861-1.363s.97-.4 1.016-1.539c.038-.959-.995-1.428-.995-1.428s5.038-1.221 5.556-1.341c.516-.12 1.32-.615 1.069-1.694-.249-1.08-1.204-1.118-1.697-1.003-.494.115-6.744 1.566-8.9 2.068l-1.439.334c-.54.127-.785-.11-.404-.512.508-.536.833-1.129.946-2.113.119-1.035-.232-2.313-.433-2.809-.374-.921-1.005-1.649-1.734-1.899-1.137-.39-1.945.321-1.542 1.561.604 1.854.208 3.375-.833 4.293-2.449 2.157-3.588 3.695-2.83 6.973.828 3.575 4.377 5.876 7.952 5.048l3.152-.681z"}),v("path",{fill:"#65471B",d:"M9.296 6.351c-.164-.088-.303-.224-.391-.399-.216-.428-.04-.927.393-1.112 4.266-1.831 7.699-.043 7.843.034.433.231.608.747.391 1.154-.216.405-.74.546-1.173.318-.123-.063-2.832-1.432-6.278.047-.257.109-.547.085-.785-.042zm12.135 3.75c-.156-.098-.286-.243-.362-.424-.187-.442.023-.927.468-1.084 4.381-1.536 7.685.48 7.823.567.415.26.555.787.312 1.178-.242.39-.776.495-1.191.238-.12-.072-2.727-1.621-6.267-.379-.266.091-.553.046-.783-.096z"})),ZY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#FFCC4D",d:"M36 18c0 9.941-8.059 18-18 18-9.94 0-18-8.059-18-18C0 8.06 8.06 0 18 0c9.941 0 18 8.06 18 18"}),v("ellipse",{fill:"#664500",cx:"18",cy:"27",rx:"5",ry:"6"}),v("path",{fill:"#664500",d:"M5.999 11c-.208 0-.419-.065-.599-.2-.442-.331-.531-.958-.2-1.4C8.462 5.05 12.816 5 13 5c.552 0 1 .448 1 1 0 .551-.445.998-.996 1-.155.002-3.568.086-6.204 3.6-.196.262-.497.4-.801.4zm24.002 0c-.305 0-.604-.138-.801-.4-2.64-3.521-6.061-3.598-6.206-3.6-.55-.006-.994-.456-.991-1.005C22.006 5.444 22.45 5 23 5c.184 0 4.537.05 7.8 4.4.332.442.242 1.069-.2 1.4-.18.135-.39.2-.599.2zm-16.087 4.5l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L12.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L13.914 15.5zm11 0l1.793-1.793c.391-.391.391-1.023 0-1.414s-1.023-.391-1.414 0L23.5 14.086l-1.793-1.793c-.391-.391-1.023-.391-1.414 0s-.391 1.023 0 1.414l1.793 1.793-1.793 1.793c-.391.391-.391 1.023 0 1.414.195.195.451.293.707.293s.512-.098.707-.293l1.793-1.793 1.793 1.793c.195.195.451.293.707.293s.512-.098.707-.293c.391-.391.391-1.023 0-1.414L24.914 15.5z"})),JY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("ellipse",{fill:"#292F33",cx:"18",cy:"26",rx:"18",ry:"10"}),v("ellipse",{fill:"#66757F",cx:"18",cy:"24",rx:"18",ry:"10"}),v("path",{fill:"#E1E8ED",d:"M18 31C3.042 31 1 16 1 12h34c0 2-1.958 19-17 19z"}),v("path",{fill:"#77B255",d:"M35 12.056c0 5.216-7.611 9.444-17 9.444S1 17.271 1 12.056C1 6.84 8.611 3.611 18 3.611s17 3.229 17 8.445z"}),v("ellipse",{fill:"#A6D388",cx:"18",cy:"13",rx:"15",ry:"7"}),v("path",{d:"M21 17c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.739-1.109.9-2.246.478-3.377-.461-1.236-1.438-1.996-1.731-2.077-.553 0-.958-.443-.958-.996 0-.552.491-.995 1.043-.995.997 0 2.395 1.153 3.183 2.625 1.034 1.933.91 4.039-.351 5.929-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.196-.451.294-.707.294zm-6-2c-.256 0-.512-.098-.707-.293-2.337-2.337-2.376-4.885-.125-8.262.727-1.091.893-2.083.494-2.947-.444-.961-1.431-1.469-1.684-1.499-.552 0-.989-.447-.989-1 0-.552.458-1 1.011-1 .997 0 2.585.974 3.36 2.423.481.899 1.052 2.761-.528 5.131-1.961 2.942-1.531 4.332-.125 5.738.391.391.391 1.023 0 1.414-.195.197-.451.295-.707.295z",fill:"#5C913B"})),QY=v("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 36 36"},v("path",{fill:"#EF9645",d:"M15.5 2.965c1.381 0 2.5 1.119 2.5 2.5v.005L20.5.465c1.381 0 2.5 1.119 2.5 2.5V4.25l2.5-1.535c1.381 0 2.5 1.119 2.5 2.5V8.75L29 18H15.458L15.5 2.965z"}),v("path",{fill:"#FFDC5D",d:"M4.625 16.219c1.381-.611 3.354.208 4.75 2.188.917 1.3 1.187 3.151 2.391 3.344.46.073 1.234-.313 1.234-1.397V4.5s0-2 2-2 2 2 2 2v11.633c0-.029 1-.064 1-.082V2s0-2 2-2 2 2 2 2v14.053c0 .017 1 .041 1 .069V4.25s0-2 2-2 2 2 2 2v12.638c0 .118 1 .251 1 .398V8.75s0-2 2-2 2 2 2 2V24c0 6.627-5.373 12-12 12-4.775 0-8.06-2.598-9.896-5.292C8.547 28.423 8.096 26.051 8 25.334c0 0-.123-1.479-1.156-2.865-1.469-1.969-2.5-3.156-3.125-3.866-.317-.359-.625-1.707.906-2.384z"})),eX=O("result",` color: var(--n-text-color); line-height: var(--n-line-height); font-size: var(--n-font-size); @@ -3598,7 +3598,7 @@ ${t} margin-top: 4px; text-align: center; font-size: var(--n-font-size); - `)])]),eX={403:JY,404:YY,418:ZY,500:XY,info:v(jr,null),success:v(Ni,null),warning:v(Bi,null),error:v(Fi,null)},tX=Object.assign(Object.assign({},He.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),nX=me({name:"Result",props:tX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Result","-result",QY,zK,e,t),r=L(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Se("iconColor",s)]:p,[Se("fontSize",a)]:h,[Se("titleFontSize",a)]:g,[Se("iconSize",a)]:b}}=o.value;return{"--n-bezier":l,"--n-font-size":h,"--n-icon-size":b,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":g,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":p||""}}),i=n?kt("result",L(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),v("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},v("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||v(Ut,{clsPrefix:o},{default:()=>eX[t]})),v("div",{class:`${o}-result-header`},this.title?v("div",{class:`${o}-result-header__title`},this.title):null,this.description?v("div",{class:`${o}-result-header__description`},this.description):null),n.default&&v("div",{class:`${o}-result-content`},n),n.footer&&v("div",{class:`${o}-result-footer`},n.footer()))}}),oX=Object.assign(Object.assign({},He.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),rX=me({name:"Scrollbar",props:oX,setup(){const e=N(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return v(ko,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),iX=rX,aX={name:"Skeleton",common:Ve,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}},sX=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},lX={name:"Skeleton",common:bt,self:sX},cX=W([O("skeleton",` + `)])]),tX={403:QY,404:XY,418:JY,500:ZY,info:v(jr,null),success:v(Ni,null),warning:v(Bi,null),error:v(Fi,null)},nX=Object.assign(Object.assign({},He.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),oX=me({name:"Result",props:nX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Result","-result",eX,OK,e,t),r=L(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Se("iconColor",s)]:p,[Se("fontSize",a)]:h,[Se("titleFontSize",a)]:g,[Se("iconSize",a)]:b}}=o.value;return{"--n-bezier":l,"--n-font-size":h,"--n-icon-size":b,"--n-line-height":u,"--n-text-color":c,"--n-title-font-size":g,"--n-title-font-weight":f,"--n-title-text-color":d,"--n-icon-color":p||""}}),i=n?kt("result",L(()=>{const{size:a,status:s}=e;let l="";return a&&(l+=a[0]),s&&(l+=s[0]),l}),r,e):void 0;return{mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e;const{status:t,$slots:n,mergedClsPrefix:o,onRender:r}=this;return r==null||r(),v("div",{class:[`${o}-result`,this.themeClass],style:this.cssVars},v("div",{class:`${o}-result-icon`},((e=n.icon)===null||e===void 0?void 0:e.call(n))||v(Ut,{clsPrefix:o},{default:()=>tX[t]})),v("div",{class:`${o}-result-header`},this.title?v("div",{class:`${o}-result-header__title`},this.title):null,this.description?v("div",{class:`${o}-result-header__description`},this.description):null),n.default&&v("div",{class:`${o}-result-content`},n),n.footer&&v("div",{class:`${o}-result-footer`},n.footer()))}}),rX=Object.assign(Object.assign({},He.props),{trigger:String,xScrollable:Boolean,onScroll:Function,size:Number}),iX=me({name:"Scrollbar",props:rX,setup(){const e=N(null);return Object.assign(Object.assign({},{scrollTo:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollTo(n[0],n[1])},scrollBy:(...n)=>{var o;(o=e.value)===null||o===void 0||o.scrollBy(n[0],n[1])}}),{scrollbarInstRef:e})},render(){return v(ko,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),aX=iX,sX={name:"Skeleton",common:Ve,self(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"rgba(255, 255, 255, 0.12)",colorEnd:"rgba(255, 255, 255, 0.18)",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}},lX=e=>{const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}},cX={name:"Skeleton",common:bt,self:lX},uX=W([O("skeleton",` height: 1em; width: 100%; transition: background-color .3s var(--n-bezier); @@ -3621,8 +3621,8 @@ ${t} 100% { background: var(--n-color-start); } - `)]),uX=Object.assign(Object.assign({},He.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),hl=me({name:"Skeleton",inheritAttrs:!1,props:uX,setup(e){M6();const{mergedClsPrefixRef:t}=at(e),n=He("Skeleton","-skeleton",cX,lX,e,t);return{mergedClsPrefix:t,style:L(()=>{var o,r;const i=n.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let d;const{circle:f,sharp:p,round:h,width:g,height:b,size:m,text:y,animated:k}=e;m!==void 0&&(d=s[Se("height",m)]);const S=f?(o=g??b)!==null&&o!==void 0?o:d:g,w=(r=f?g??b:b)!==null&&r!==void 0?r:d;return{display:y?"inline-block":"",verticalAlign:y?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof S=="number"?zn(S):S,height:typeof w=="number"?zn(w):w,animation:k?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=v("div",Dn({class:`${n}-skeleton`,style:t},o));return e>1?v(it,null,MC(e,null).map(i=>[r,` -`])):r}}),dX=W([W("@keyframes spin-rotate",` + `)]),dX=Object.assign(Object.assign({},He.props),{text:Boolean,round:Boolean,circle:Boolean,height:[String,Number],width:[String,Number],size:String,repeat:{type:Number,default:1},animated:{type:Boolean,default:!0},sharp:{type:Boolean,default:!0}}),hl=me({name:"Skeleton",inheritAttrs:!1,props:dX,setup(e){z6();const{mergedClsPrefixRef:t}=at(e),n=He("Skeleton","-skeleton",uX,cX,e,t);return{mergedClsPrefix:t,style:L(()=>{var o,r;const i=n.value,{common:{cubicBezierEaseInOut:a}}=i,s=i.self,{color:l,colorEnd:c,borderRadius:u}=s;let d;const{circle:f,sharp:p,round:h,width:g,height:b,size:m,text:y,animated:k}=e;m!==void 0&&(d=s[Se("height",m)]);const S=f?(o=g??b)!==null&&o!==void 0?o:d:g,w=(r=f?g??b:b)!==null&&r!==void 0?r:d;return{display:y?"inline-block":"",verticalAlign:y?"-0.125em":"",borderRadius:f?"50%":h?"4096px":p?"":u,width:typeof S=="number"?zn(S):S,height:typeof w=="number"?zn(w):w,animation:k?"":"none","--n-bezier":a,"--n-color-start":l,"--n-color-end":c}})}},render(){const{repeat:e,style:t,mergedClsPrefix:n,$attrs:o}=this,r=v("div",Dn({class:`${n}-skeleton`,style:t},o));return e>1?v(it,null,RC(e,null).map(i=>[r,` +`])):r}}),fX=W([W("@keyframes spin-rotate",` from { transform: rotate(0); } @@ -3664,7 +3664,7 @@ ${t} -webkit-user-select: none; pointer-events: none; opacity: var(--n-opacity-spinning); - `)])]),fX={small:20,medium:18,large:16},hX=Object.assign(Object.assign({},He.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),pX=me({name:"Spin",props:hX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Spin","-spin",dX,HK,e,t),r=L(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:p}=u,h=typeof l=="number"?zn(l):u[Se("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":h,"--n-color":f,"--n-text-color":p}}),i=n?kt("spin",L(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=bu(e,["spinning","show"]),s=N(!1);return tn(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:L(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return fX[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&v("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?v("div",{class:[`${o}-spin-body`,this.themeClass]},v("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):v("div",{class:[`${o}-spin-body`,this.themeClass]},v(Xr,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?v("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},v("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),v(hn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),mX={name:"Split",common:Ve},gX=mX,vX=O("switch",` + `)])]),hX={small:20,medium:18,large:16},pX=Object.assign(Object.assign({},He.props),{contentClass:String,contentStyle:[Object,String],description:String,stroke:String,size:{type:[String,Number],default:"medium"},show:{type:Boolean,default:!0},strokeWidth:Number,rotate:{type:Boolean,default:!0},spinning:{type:Boolean,validator:()=>!0,default:void 0},delay:Number}),mX=me({name:"Spin",props:pX,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Spin","-spin",fX,jK,e,t),r=L(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:p}=u,h=typeof l=="number"?zn(l):u[Se("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":h,"--n-color":f,"--n-text-color":p}}),i=n?kt("spin",L(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=yu(e,["spinning","show"]),s=N(!1);return tn(l=>{let c;if(a.value){const{delay:u}=e;if(u){c=window.setTimeout(()=>{s.value=!0},u),l(()=>{clearTimeout(c)});return}}s.value=a.value}),{mergedClsPrefix:t,active:s,mergedStrokeWidth:L(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return hX[typeof c=="number"?"medium":c]}),cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,onRender:i==null?void 0:i.onRender}},render(){var e,t;const{$slots:n,mergedClsPrefix:o,description:r}=this,i=n.icon&&this.rotate,a=(r||n.description)&&v("div",{class:`${o}-spin-description`},r||((e=n.description)===null||e===void 0?void 0:e.call(n))),s=n.icon?v("div",{class:[`${o}-spin-body`,this.themeClass]},v("div",{class:[`${o}-spin`,i&&`${o}-spin--rotate`],style:n.default?"":this.cssVars},n.icon()),a):v("div",{class:[`${o}-spin-body`,this.themeClass]},v(Xr,{clsPrefix:o,style:n.default?"":this.cssVars,stroke:this.stroke,"stroke-width":this.mergedStrokeWidth,class:`${o}-spin`}),a);return(t=this.onRender)===null||t===void 0||t.call(this),n.default?v("div",{class:[`${o}-spin-container`,this.themeClass],style:this.cssVars},v("div",{class:[`${o}-spin-content`,this.active&&`${o}-spin-content--spinning`,this.contentClass],style:this.contentStyle},n),v(hn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),gX={name:"Split",common:Ve},vX=gX,bX=O("switch",` height: var(--n-height); min-width: var(--n-width); vertical-align: middle; @@ -3765,10 +3765,10 @@ ${t} `)]),Z("disabled",[V("rail",` cursor: not-allowed; opacity: .5; - `)])]),bX=Object.assign(Object.assign({},He.props),{size:{type:String,default:"medium"},value:{type:[String,Number,Boolean],default:void 0},loading:Boolean,defaultValue:{type:[String,Number,Boolean],default:!1},disabled:{type:Boolean,default:void 0},round:{type:Boolean,default:!0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array],checkedValue:{type:[String,Number,Boolean],default:!0},uncheckedValue:{type:[String,Number,Boolean],default:!1},railStyle:Function,rubberBand:{type:Boolean,default:!0},onChange:[Function,Array]});let ss;const yX=me({name:"Switch",props:bX,setup(e){ss===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?ss=CSS.supports("width","max(1px)"):ss=!1:ss=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=at(e),o=He("Switch","-switch",vX,tG,e,t),r=dr(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=N(e.defaultValue),l=Ue(e,"value"),c=ln(l,s),u=L(()=>c.value===e.checkedValue),d=N(!1),f=N(!1),p=L(()=>{const{railStyle:_}=e;if(_)return _({focused:f.value,checked:u.value})});function h(_){const{"onUpdate:value":R,onChange:E,onUpdateValue:M}=e,{nTriggerFormInput:A,nTriggerFormChange:q}=r;R&&Pe(R,_),M&&Pe(M,_),E&&Pe(E,_),s.value=_,A(),q()}function g(){const{nTriggerFormFocus:_}=r;_()}function b(){const{nTriggerFormBlur:_}=r;_()}function m(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function y(){f.value=!0,g()}function k(){f.value=!1,b(),d.value=!1}function S(_){e.loading||a.value||_.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function w(_){e.loading||a.value||_.key===" "&&(_.preventDefault(),d.value=!0)}const x=L(()=>{const{value:_}=i,{self:{opacityDisabled:R,railColor:E,railColorActive:M,buttonBoxShadow:A,buttonColor:q,boxShadowFocus:F,loadingColor:z,textColor:D,iconColor:Y,[Se("buttonHeight",_)]:Q,[Se("buttonWidth",_)]:ce,[Se("buttonWidthPressed",_)]:le,[Se("railHeight",_)]:B,[Se("railWidth",_)]:$,[Se("railBorderRadius",_)]:I,[Se("buttonBorderRadius",_)]:K},common:{cubicBezierEaseInOut:ne}}=o.value;let ve,J,ye;return ss?(ve=`calc((${B} - ${Q}) / 2)`,J=`max(${B}, ${Q})`,ye=`max(${$}, calc(${$} + ${Q} - ${B}))`):(ve=zn((kn(B)-kn(Q))/2),J=zn(Math.max(kn(B),kn(Q))),ye=kn(B)>kn(Q)?$:zn(kn($)+kn(Q)-kn(B))),{"--n-bezier":ne,"--n-button-border-radius":K,"--n-button-box-shadow":A,"--n-button-color":q,"--n-button-width":ce,"--n-button-width-pressed":le,"--n-button-height":Q,"--n-height":J,"--n-offset":ve,"--n-opacity-disabled":R,"--n-rail-border-radius":I,"--n-rail-color":E,"--n-rail-color-active":M,"--n-rail-height":B,"--n-rail-width":$,"--n-width":ye,"--n-box-shadow-focus":F,"--n-loading-color":z,"--n-text-color":D,"--n-icon-color":Y}}),C=n?kt("switch",L(()=>i.value[0]),x,e):void 0;return{handleClick:m,handleBlur:k,handleFocus:y,handleKeyup:S,handleKeydown:w,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(da(l)&&da(c)&&da(u));return v("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},v("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},$t(a,f=>$t(s,p=>f||p?v("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),f),v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),p)):null)),v("div",{class:`${e}-switch__button`},$t(l,f=>$t(c,p=>$t(u,h=>v(Hi,null,{default:()=>this.loading?v(Xr,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?v("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?v("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),$t(a,f=>f&&v("div",{key:"checked",class:`${e}-switch__checked`},f)),$t(s,f=>f&&v("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),xX=me({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),CX={message:wY,notification:IY,loadingBar:rY,dialog:DW};function wX({providersAndProps:e,configProviderProps:t}){let o=Zy(()=>v(X_,he(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>v(l,he(c),{default:()=>v(xX,{onSetup:()=>r[s]=CX[s]()})}))}));const r={app:o};let i;return ur&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){sr("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,o=null}},r)}function _X(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i}={}){const a=[];return e.forEach(l=>{switch(l){case"message":a.push({type:l,Provider:CY,props:n});break;case"notification":a.push({type:l,Provider:AY,props:r});break;case"dialog":a.push({type:l,Provider:OW,props:o});break;case"loadingBar":a.push({type:l,Provider:oY,props:i});break}}),wX({providersAndProps:a,configProviderProps:t})}function SX(){const e=qe(wo,null);return L(()=>{if(e===null)return bt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||bt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const kX=()=>({}),TX={name:"Equation",common:Ve,self:kX},PX=TX,bS={name:"dark",common:Ve,Alert:cH,Anchor:xH,AutoComplete:DH,Avatar:O_,AvatarGroup:HH,BackTop:VH,Badge:JH,Breadcrumb:oj,Button:Vn,ButtonGroup:qq,Calendar:yj,Card:V_,Carousel:Ij,Cascader:nV,Checkbox:Va,Code:Y_,Collapse:fV,CollapseTransition:mV,ColorPicker:wj,DataTable:QV,DatePicker:hW,Descriptions:vW,Dialog:O2,Divider:BW,Drawer:qW,Dropdown:lm,DynamicInput:fq,DynamicTags:xq,Element:wq,Empty:Vi,Ellipsis:s2,Equation:PX,Flex:kq,Form:Eq,GradientText:Aq,Icon:PU,IconWrapper:zq,Image:zG,Input:uo,InputNumber:Gq,LegacyTransfer:ZG,Layout:Qq,List:iK,LoadingBar:sK,Log:fK,Menu:yK,Mention:pK,Message:Uq,Modal:PW,Notification:Nq,PageHeader:wK,Pagination:r2,Popconfirm:TK,Popover:Wi,Popselect:Z_,Progress:J2,QrCode:VY,Radio:u2,Rate:AK,Result:DK,Row:MG,Scrollbar:jn,Select:t2,Skeleton:aX,Slider:NK,Space:W2,Spin:VK,Statistic:qK,Steps:XK,Switch:JK,Table:iG,Tabs:cG,Tag:k_,Thing:fG,TimePicker:I2,Timeline:mG,Tooltip:$u,Transfer:bG,Tree:nS,TreeSelect:wG,Typography:TG,Upload:EG,Watermark:AG,Split:gX},RX={"aria-hidden":"true",width:"1em",height:"1em"},EX=["xlink:href","fill"],$X=me({__name:"SvgIcon",props:{icon:{type:String,required:!0},prefix:{type:String,default:"icon-custom"},color:{type:String,default:"currentColor"}},setup(e){const t=e,n=L(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(ue(),ze("svg",RX,[H("use",{"xlink:href":n.value,fill:e.color},null,8,EX)]))}}),Ks=(e,t={size:12})=>()=>v(pr,t,()=>v(OA,{icon:e})),yS=(e,t={size:12})=>()=>v(pr,t,()=>v($X,{icon:e}));function AX(){var n,o;const e={default:IX,blue:MX,black:zX,darkblue:OX},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const IX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#2080F0FF",infoColorHover:"#4098FCFF",infoColorPressed:"#1060C9FF",infoColorSuppl:"#4098FCFF",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},MX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},zX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},OX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:DX,tags:ENe,naiveThemeOverrides:kh}=AX();function Du(e){return Mh()?(Q1(e),!0):!1}function Do(e){return typeof e=="function"?e():he(e)}const xS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const LX=Object.prototype.toString,FX=e=>LX.call(e)==="[object Object]",CS=()=>{};function NX(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const wS=e=>e();function BX(e=wS){const t=N(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:io(t),pause:n,resume:o,eventFilter:r}}function HX(e){return e||Zn()}function jX(...e){if(e.length!==1)return Ue(...e);const t=e[0];return typeof t=="function"?io(y3(()=>({get:t,set:CS}))):N(t)}function VX(e,t,n={}){const{eventFilter:o=wS,...r}=n;return ht(e,NX(o,t),r)}function UX(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=BX(o);return{stop:VX(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function _S(e,t=!0,n){HX()?Lt(e,n):t?e():Ht(e)}function WX(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=dn(e),i=N(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Do(n);return i.value=i.value===l?Do(o):l,i.value}}return r?a:[i,a]}function Ea(e){var t;const n=Do(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Vr=xS?window:void 0,qX=xS?window.document:void 0;function zc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Vr):[t,n,o,r]=e,!t)return CS;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,p)=>(u.addEventListener(d,f,p),()=>u.removeEventListener(d,f,p)),l=ht(()=>[Ea(t),Do(r)],([u,d])=>{if(a(),!u)return;const f=FX(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Du(c),c}function KX(){const e=N(!1);return Zn()&&Lt(()=>{e.value=!0}),e}function Cm(e){const t=KX();return L(()=>(t.value,!!e()))}function GX(e,t={}){const{window:n=Vr}=t,o=Cm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=N(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=tn(()=>{o.value&&(s(),r=n.matchMedia(Do(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Du(()=>{l(),s(),r=void 0}),i}const Ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wl="__vueuse_ssr_handlers__",YX=XX();function XX(){return Wl in Ul||(Ul[Wl]=Ul[Wl]||{}),Ul[Wl]}function SS(e,t){return YX[e]||t}function ZX(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const JX={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},X0="vueuse-storage";function QX(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Vr,eventFilter:f,onError:p=R=>{console.error(R)},initOnMounted:h}=o,g=(u?Aa:N)(typeof t=="function"?t():t);if(!n)try{n=SS("getDefaultStorage",()=>{var R;return(R=Vr)==null?void 0:R.localStorage})()}catch(R){p(R)}if(!n)return g;const b=Do(t),m=ZX(b),y=(r=o.serializer)!=null?r:JX[m],{pause:k,resume:S}=UX(g,()=>w(g.value),{flush:i,deep:a,eventFilter:f});return d&&s&&_S(()=>{zc(d,"storage",_),zc(d,X0,C),h&&_()}),h||_(),g;function w(R){try{if(R==null)n.removeItem(e);else{const E=y.write(R),M=n.getItem(e);M!==E&&(n.setItem(e,E),d&&d.dispatchEvent(new CustomEvent(X0,{detail:{key:e,oldValue:M,newValue:E,storageArea:n}})))}}catch(E){p(E)}}function x(R){const E=R?R.newValue:n.getItem(e);if(E==null)return l&&b!=null&&n.setItem(e,y.write(b)),b;if(!R&&c){const M=y.read(E);return typeof c=="function"?c(M,b):m==="object"&&!Array.isArray(M)?{...b,...M}:M}else return typeof E!="string"?E:y.read(E)}function C(R){_(R.detail)}function _(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){g.value=b;return}if(!(R&&R.key!==e)){k();try{(R==null?void 0:R.newValue)!==y.write(g.value)&&(g.value=x(R))}catch(E){p(E)}finally{R?Ht(S):S()}}}}}function kS(e){return GX("(prefers-color-scheme: dark)",e)}function eZ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Vr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=kS({window:r}),p=L(()=>f.value?"dark":"light"),h=l||(a==null?jX(o):QX(a,o,i,{window:r,listenToStorageChanges:s})),g=L(()=>h.value==="auto"?p.value:h.value),b=SS("updateHTMLAttrs",(S,w,x)=>{const C=typeof S=="string"?r==null?void 0:r.document.querySelector(S):Ea(S);if(!C)return;let _;if(u){_=r.document.createElement("style");const R="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";_.appendChild(document.createTextNode(R)),r.document.head.appendChild(_)}if(w==="class"){const R=x.split(/\s/g);Object.values(d).flatMap(E=>(E||"").split(/\s/g)).filter(Boolean).forEach(E=>{R.includes(E)?C.classList.add(E):C.classList.remove(E)})}else C.setAttribute(w,x);u&&(r.getComputedStyle(_).opacity,document.head.removeChild(_))});function m(S){var w;b(t,n,(w=d[S])!=null?w:S)}function y(S){e.onChanged?e.onChanged(S,m):m(S)}ht(g,y,{flush:"post",immediate:!0}),_S(()=>y(g.value));const k=L({get(){return c?h.value:g.value},set(S){h.value=S}});try{return Object.assign(k,{store:h,system:p,state:g})}catch{return k}}function tZ(e,t,n={}){const{window:o=Vr,...r}=n;let i;const a=Cm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=ht(()=>Ea(e),d=>{s(),a.value&&o&&d&&(i=new MutationObserver(t),i.observe(d,r))},{immediate:!0}),c=()=>i==null?void 0:i.takeRecords(),u=()=>{s(),l()};return Du(u),{isSupported:a,stop:u,takeRecords:c}}function nZ(e,t,n={}){const{window:o=Vr,initialValue:r="",observe:i=!1}=n,a=N(r),s=L(()=>{var c;return Ea(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Do(e),d=Do(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&tZ(s,l,{attributeFilter:["style","class"],window:o}),ht([s,()=>Do(e)],l,{immediate:!0}),ht(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Do(e),c)}),a}function TS(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Vr}=e,r=eZ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=L(()=>r.system?r.system.value:kS({window:o}).value?"dark":"light");return L({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const Z0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function oZ(e,t={}){const{document:n=qX,autoExit:o=!1}=t,r=L(()=>{var m;return(m=Ea(e))!=null?m:n==null?void 0:n.querySelector("html")}),i=N(!1),a=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(m=>n&&m in n||r.value&&m in r.value)),s=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(m=>n&&m in n||r.value&&m in r.value)),l=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(m=>n&&m in n||r.value&&m in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(m=>n&&m in n),u=Cm(()=>r.value&&n&&a.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const m=r.value;if((m==null?void 0:m[l.value])!=null)return!!m[l.value]}}return!1};async function p(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const m=r.value;(m==null?void 0:m[s.value])!=null&&await m[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const m=r.value;a.value&&(m==null?void 0:m[a.value])!=null&&(await m[a.value](),i.value=!0)}async function g(){await(i.value?p():h())}const b=()=>{const m=f();(!m||m&&d())&&(i.value=m)};return zc(n,Z0,b,!1),zc(()=>Ea(r),Z0,b,!1),o&&Du(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:g}}const wn=ru("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:TS(),title:(e=window.settings)==null?void 0:e.title,assets_path:(t=window.settings)==null?void 0:t.assets_path,theme:(n=window.settings)==null?void 0:n.theme,version:(o=window.settings)==null?void 0:o.version,background_url:(r=window.settings)==null?void 0:r.background_url,description:(i=window.settings)==null?void 0:i.description,logo:(a=window.settings)==null?void 0:a.logo,lang:Vf().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await gZ();e&&(this.appConfig=e)},switchCollapsed(){this.collapsed=!this.collapsed},setCollapsed(e){this.collapsed=e},setDark(e){this.isDark=e},toggleDark(){this.isDark=!this.isDark},async switchLang(e){$$(e),location.reload()}}});function rZ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function iZ(e){return e.confirm=function(t={}){const n=!mC(t.title);return e[t.type||"warning"]({showIcon:n,positiveText:sn.global.t("确定"),negativeText:sn.global.t("取消"),onPositiveClick:t.confirm,onNegativeClick:t.cancel,onMaskClick:t.cancel,...t})},e}function aZ(){const e=wn(),t=L(()=>({theme:e.isDark?bS:void 0,themeOverrides:kh})),{message:n,dialog:o,notification:r,loadingBar:i}=_X(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=rZ(n),window.$dialog=iZ(o)}const sZ="access_token",lZ=6*60*60;function J0(e){Ai.set(sZ,e,lZ)}function cZ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),yR(e))return e;const t=Fx();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):(cp(),Promise.reject({code:"-1",message:"未登录"}))}function uZ(e){return Promise.reject(e)}function dZ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function fZ(e){var i;const t=((i=e.response)==null?void 0:i.data)||{code:-1,message:"未知错误"};let n=t.message;const{code:o,errors:r}=t;switch(o){case 401:n=n||"登录已过期";break;case 403:n=n||"没有权限";break;case 404:n=n||"资源或接口不存在";break;default:n=n||"未知异常"}return window.$message.error(n),Promise.resolve({code:o,message:n,errors:r})}function hZ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:12e3},n=vR.create({...t,...e});return n.interceptors.request.use(cZ,uZ),n.interceptors.response.use(dZ,fZ),n}const wt=hZ({baseURL:pZ()});function pZ(){let e=mZ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function mZ(e){return e.endsWith("/")?e:"/"+e}function gZ(){return wt.get("/user/comm/config")}function vZ(){return wt.get("/user/info")}function bZ(){return wt.get("/user/getStat")}function yZ(){return wt.get("/user/getSubscribe")}function xZ(){return wt.get("/user/notice/fetch")}function CZ(){return wt.get("/user/plan/fetch")}function PS(){return wt.get("/user/server/fetch")}function RS(){return wt.get("/user/order/fetch")}function wZ(e){return wt.get("/user/order/detail?trade_no="+e)}function wm(e){return wt.post("/user/order/cancel",{trade_no:e})}function _Z(e){return wt.get("/user/order/check?trade_no="+e)}function SZ(){return wt.get("/user/invite/fetch")}function kZ(e=1,t=10){return wt.get(`/user/invite/details?current=${e}&page_size=${t}`)}function TZ(){return wt.get("/user/invite/save")}function PZ(e){return wt.post("/user/transfer",{transfer_amount:e})}function RZ(e){return wt.post("/user/ticket/withdraw",e)}function Q0(e){return wt.post("/user/update",e)}function EZ(e,t){return wt.post("/user/changePassword",{old_password:e,new_password:t})}function $Z(){return wt.get("/user/resetSecurity")}function AZ(){return wt.get("/user/stat/getTrafficLog")}function IZ(){return wt.get("/user/order/getPaymentMethod")}function ES(e,t,n){return wt.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function MZ(e,t){return wt.post("/user/order/checkout",{trade_no:e,method:t})}function zZ(e){return wt.get("/user/plan/fetch?id="+e)}function OZ(e,t){return wt.post("/user/coupon/check",{code:e,plan_id:t})}function DZ(){return wt.get("/user/ticket/fetch")}function LZ(e,t,n){return wt.post("/user/ticket/save",{subject:e,level:t,message:n})}function FZ(e){return wt.post("/user/ticket/close",{id:e})}function NZ(e){return wt.get("/user/ticket/fetch?id="+e)}function BZ(e,t){return wt.post("/user/ticket/reply",{id:e,message:t})}function HZ(e="",t="zh-CN"){return wt.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function jZ(e,t="zh-CN"){return wt.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function VZ(){return wt.get("user/telegram/getBotInfo")}const Ki=ru("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await vZ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await yZ(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){Nx(),this.userInfo={},cp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function UZ(e,t){var o,r;if(!((o=e.meta)!=null&&o.requireAuth))return!0;const n=((r=e.meta)==null?void 0:r.role)||[];return!t.length||!n.length?!1:t.some(i=>n.includes(i))}function $S(e,t){const n=[];return e.forEach(o=>{if(UZ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=$S(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const AS=ru("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return lx.concat(JSON.parse(JSON.stringify(this.accessRoutes)))},menus(){return this.routes.filter(e=>{var t;return e.name&&!((t=e.meta)!=null&&t.isHidden)})}},actions:{generateRoutes(e){const t=$S(cx,e);return this.accessRoutes=t,t}}}),WZ=yc.get("activeTag"),qZ=yc.get("tags"),KZ=["/404","/login"],GZ=ru({id:"tag",state:()=>{const e=N(qZ.value),t=N(WZ.value),n=N(!1);return{tags:e,activeTag:t,reloading:n}},getters:{activeIndex:e=>()=>e.tags.findIndex(t=>t.path===e.activeTag)},actions:{setActiveTag(e){this.activeTag=e,yc.set("activeTag",e)},setTags(e){this.tags=e,yc.set("tags",e)},addTag(e={}){if(KZ.includes(e.path))return;let t=this.tags.find(n=>n.path===e.path);t?t=e:this.setTags([...this.tags,e]),this.setActiveTag(e.path)},async reloadTag(e,t){let n=this.tags.find(o=>o.path===e);n?t&&(n.keepAlive=!1):(n={path:e,keepAlive:!1},this.tags.push(n)),window.$loadingBar.start(),this.reloading=!0,await Ht(),this.reloading=!1,n.keepAlive=t,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0}),window.$loadingBar.finish()},100)},removeTag(e){this.setTags(this.tags.filter(t=>t.path!==e)),e===this.activeTag&&on.push(this.tags[this.tags.length-1].path)},removeOther(e){e||(e=this.activeTag),e||this.setTags(this.tags.filter(t=>t.path===e)),e!==this.activeTag&&on.push(this.tags[this.tags.length-1].path)},removeLeft(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r>=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||on.push(n[n.length-1].path)},removeRight(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r<=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||on.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function YZ(e){e.use(GT())}const XZ=["/login","/register","/forgetpassword"];function ZZ(e){const t=Ki(),n=AS();e.beforeEach(async(o,r,i)=>{Fx().value?o.path==="/login"?i({path:"/"}):t.userUUID?i():(await Promise.all([wn().getConfig(),t.getUserInfo().catch(l=>{Nx(),cp(),window.$message.error(l.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(l=>{l.name&&!e.hasRoute(l.name)&&e.addRoute(l)}),e.addRoute(UT),i({...o,replace:!0})):XZ.includes(o.path)?i():i({path:"/login"})})}function JZ(e){WT(e),ZZ(e),qT(e)}const on=hT({history:E5("/"),routes:lx,scrollBehavior:()=>({left:0,top:0})});function QZ(e){e.use(on),JZ(on)}const eJ=me({__name:"AppProvider",setup(e){const t=wn(),n={"zh-CN":[zL,h0],"en-US":[a_,l_],"fa-IR":[WL,PN],"ko-KR":[HL,N7],"vi-VN":[VL,kN],"zh-TW":[DL,h0],"ja-JP":[NL,t7]};function o(){const r=kh.common;for(const i in r)nZ(`--${TL(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=X_;return ue(),We(a,{"wh-full":"",locale:n[he(t).lang][0],"date-locale":n[he(t).lang][1],theme:he(t).isDark?he(bS):void 0,"theme-overrides":he(kh)},{default:re(()=>[Yc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),tJ=me({__name:"App",setup(e){const t=Ki();return tn(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",jo(i)],["UsedTraffic",ys(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",ys(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Ia("router-view");return ue(),We(eJ,null,{default:re(()=>[te(i,null,{default:re(({Component:a})=>[(ue(),We(Wc(a)))]),_:1})]),_:1})}}}),Lu=Zy(tJ);YZ(Lu);aZ();QZ(Lu);I$(Lu);Lu.mount("#app");const nJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},oJ=H("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),rJ=[oJ];function iJ(e,t){return ue(),ze("svg",nJ,[...rJ])}const IS={name:"gg-close",render:iJ},aJ={"h-60":"","f-c-c":""},sJ=["src"],lJ=me({__name:"SideLogo",setup(e){const t=wn();return(n,o)=>{const r=IS,i=Et;return ue(),ze("div",aJ,[he(t).logo?(ue(),ze("img",{key:0,src:he(t).logo,height:"30"},null,8,sJ)):ut("",!0),Cn(H("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},ie(he(t).title),513),[[Jn,!he(t).collapsed]]),te(i,{onClick:[o[0]||(o[0]=i5(()=>{},["stop"])),he(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:re(()=>[te(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),cJ=me({__name:"SideMenu",setup(e){const t=wn(),n=h=>sn.global.t(h);function o(){window.innerWidth<=768&&(t.collapsed=!0)}const r=nu(),i=$i(),a=AS(),s=L(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=L(()=>a.menus.reduce((b,m)=>{var k,S,w,x;const y=d(m);if((S=(k=y.meta)==null?void 0:k.group)!=null&&S.key){const C=y.meta.group.key,_=b.findIndex(R=>R.key===C);if(_!==-1)(w=b[_].children)==null||w.push(y),b[_].children=(x=b[_].children)==null?void 0:x.sort((R,E)=>R.order-E.order);else{const R={type:"group",label:n(y.meta.group.label||""),key:C,children:[y]};b.push(R)}}else b.push(y);return b.sort((C,_)=>C.order-_.order)},[]).sort((b,m)=>b.type==="group"&&m.type!=="group"?1:b.type!=="group"&&m.type==="group"?-1:b.order-m.order));function c(h,g){return Ov(g)?g:"/"+[h,g].filter(b=>!!b&&b!=="/").map(b=>b.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,g){var m;const b=((m=h.children)==null?void 0:m.filter(y=>{var k;return y.name&&!((k=y.meta)!=null&&k.isHidden)}))||[];return b.length===1?d(b[0],g):b.length>1?{children:b.map(y=>d(y,g)).sort((y,k)=>y.order-k.order)}:null}function d(h,g=""){const{title:b,order:m}=h.meta||{title:"",order:0},{name:y,path:k}=h,S=b||y||"",w=y||"",x=f(h.meta),C=m||0,_=h.meta;let R={label:n(S),key:w,path:c(g,k),icon:x!==null?x:void 0,meta:_,order:C};const E=u(h,R.path);return E&&(R={...R,...E}),R}function f(h){return h!=null&&h.customIcon?yS(h.customIcon,{size:18}):h!=null&&h.icon?Ks(h.icon,{size:18}):null}function p(h,g){Ov(g.path)?window.open(g.path):r.push(g.path)}return(h,g)=>{const b=pY;return ue(),We(b,{ref:"menu",class:"side-menu",accordion:"","root-indent":18,indent:0,"collapsed-icon-size":22,"collapsed-width":60,options:l.value,value:s.value,"onUpdate:value":p,onClick:g[0]||(g[0]=m=>o())},null,8,["options","value"])}}}),e1=me({__name:"index",setup(e){return(t,n)=>(ue(),ze(it,null,[te(lJ),te(cJ)],64))}}),uJ=me({__name:"AppMain",setup(e){const t=GZ();return(n,o)=>{const r=Ia("router-view");return ue(),We(r,null,{default:re(({Component:i,route:a})=>[he(t).reloading?ut("",!0):(ue(),We(Wc(i),{key:a.fullPath}))]),_:1})}}}),dJ=me({__name:"BreadCrumb",setup(e){const t=$i();function n(o){return o!=null&&o.customIcon?yS(o.customIcon,{size:18}):o!=null&&o.icon?Ks(o.icon,{size:18}):null}return(o,r)=>{const i=cj,a=aj;return ue(),We(a,null,{default:re(()=>[(ue(!0),ze(it,null,Bn(he(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(ue(),We(i,{key:s.path},{default:re(()=>[(ue(),We(Wc(n(s.meta)))),Je(" "+ie(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),fJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},hJ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),pJ=[hJ];function mJ(e,t){return ue(),ze("svg",fJ,[...pJ])}const gJ={name:"mdi-format-indent-decrease",render:mJ},vJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},bJ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),yJ=[bJ];function xJ(e,t){return ue(),ze("svg",vJ,[...yJ])}const CJ={name:"mdi-format-indent-increase",render:xJ},wJ=me({__name:"MenuCollapse",setup(e){const t=wn();return(n,o)=>{const r=CJ,i=gJ,a=pr;return ue(),We(a,{size:"20","cursor-pointer":"",onClick:he(t).switchCollapsed},{default:re(()=>[he(t).collapsed?(ue(),We(r,{key:0})):(ue(),We(i,{key:1}))]),_:1},8,["onClick"])}}}),_J={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},SJ=H("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),kJ=[SJ];function TJ(e,t){return ue(),ze("svg",_J,[...kJ])}const PJ={name:"ant-design-fullscreen-outlined",render:TJ},RJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},EJ=H("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),$J=[EJ];function AJ(e,t){return ue(),ze("svg",RJ,[...$J])}const IJ={name:"ant-design-fullscreen-exit-outlined",render:AJ},MJ=me({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=oZ();return(o,r)=>{const i=IJ,a=PJ,s=pr;return ue(),We(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:he(n)},{default:re(()=>[he(t)?(ue(),We(i,{key:0})):(ue(),We(a,{key:1}))]),_:1},8,["onClick"])}}}),zJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},OJ=H("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),DJ=[OJ];function LJ(e,t){return ue(),ze("svg",zJ,[...DJ])}const FJ={name:"ic-round-expand-more",render:LJ},NJ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},BJ=H("path",{fill:"none",d:"M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0M20.5 12.5A4.5 4.5 0 1 1 16 8a4.5 4.5 0 0 1 4.5 4.5"},null,-1),HJ=H("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.899 13.899 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3c.28.304.568.596.87.87c.092.084.187.162.28.242c.32.276.649.538.99.782c.044.03.084.069.128.1v-.012a13.901 13.901 0 0 0 16 0v.012c.044-.031.083-.07.128-.1c.34-.245.67-.506.99-.782c.093-.08.188-.159.28-.242c.302-.275.59-.566.87-.87c.093-.1.189-.197.28-.3c.071-.083.152-.155.222-.24ZM16 8a4.5 4.5 0 1 1-4.5 4.5A4.5 4.5 0 0 1 16 8M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0"},null,-1),jJ=[BJ,HJ];function VJ(e,t){return ue(),ze("svg",NJ,[...jJ])}const UJ={name:"carbon-user-avatar-filled",render:VJ},WJ={class:"hidden md:block"},qJ=me({__name:"UserAvatar",setup(e){const t=Ki(),n=i=>sn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:Ks("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:Ks("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&on.push("/profile")}return(i,a)=>{const s=UJ,l=FJ,c=Et,u=dm;return ue(),We(u,{options:o,onSelect:r},{default:re(()=>[te(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:re(()=>[te(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),te(l,{class:"h-20 w-20 md:hidden"}),H("span",WJ,ie(he(t).email),1)]),_:1})]),_:1})}}}),KJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},GJ=H("path",{fill:"currentColor",d:"M11.4 18.4H.9a.9.9 0 0 1-.9-.9V7.3a.9.9 0 0 1 .9-.9h10.5zm-4.525-2.72c.058.187.229.32.431.32h.854a.45.45 0 0 0 .425-.597l.001.003l-2.15-6.34a.451.451 0 0 0-.426-.306H4.791a.451.451 0 0 0-.425.302l-.001.003l-2.154 6.34a.45.45 0 0 0 .426.596h.856a.45.45 0 0 0 .431-.323l.001-.003l.342-1.193h2.258l.351 1.195zM5.41 10.414s.16.79.294 1.245l.406 1.408H4.68l.415-1.408c.131-.455.294-1.245.294-1.245zM23.1 18.4H12.6v-12h10.5a.9.9 0 0 1 .9.9v10.2a.9.9 0 0 1-.9.9m-1.35-8.55h-2.4v-.601a.45.45 0 0 0-.45-.45h-.601a.45.45 0 0 0-.45.45v.601h-2.4a.45.45 0 0 0-.45.45v.602c0 .248.201.45.45.45h4.281a5.861 5.861 0 0 1-1.126 1.621l.001-.001a7.105 7.105 0 0 1-.637-.764l-.014-.021a.452.452 0 0 0-.602-.129l.002-.001l-.273.16l-.24.146a.45.45 0 0 0-.139.642l-.001-.001c.253.359.511.674.791.969l-.004-.004c-.28.216-.599.438-.929.645l-.05.029a.45.45 0 0 0-.159.61l-.001-.002l.298.52a.451.451 0 0 0 .628.159l-.002.001c.507-.312.94-.619 1.353-.95l-.026.02c.387.313.82.62 1.272.901l.055.032a.449.449 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a11.5 11.5 0 0 1-1.004-.696l.027.02a6.708 6.708 0 0 0 1.586-2.572l.014-.047h.43a.45.45 0 0 0 .45-.45v-.602a.45.45 0 0 0-.45-.447h-.001z"},null,-1),YJ=[GJ];function XJ(e,t){return ue(),ze("svg",KJ,[...YJ])}const ZJ={name:"fontisto-language",render:XJ},JJ=me({__name:"SwitchLang",setup(e){const t=wn();return(n,o)=>{const r=ZJ,i=Et,a=dl;return ue(),We(a,{value:he(t).lang,"onUpdate:value":o[0]||(o[0]=s=>he(t).lang=s),options:Object.entries(he(xi)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:re(()=>[te(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),QJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},eQ=H("path",{fill:"currentColor",d:"m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2"},null,-1),tQ=[eQ];function nQ(e,t){return ue(),ze("svg",QJ,[...tQ])}const oQ={name:"mdi-white-balance-sunny",render:nQ},rQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},iQ=H("path",{fill:"currentColor",d:"M2 12a10 10 0 0 0 13 9.54a10 10 0 0 1 0-19.08A10 10 0 0 0 2 12"},null,-1),aQ=[iQ];function sQ(e,t){return ue(),ze("svg",rQ,[...aQ])}const lQ={name:"mdi-moon-waning-crescent",render:sQ},cQ=me({__name:"ThemeMode",setup(e){const t=wn(),n=TS(),o=()=>{t.toggleDark(),WX(n)()};return(r,i)=>{const a=lQ,s=oQ,l=pr;return ue(),We(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:re(()=>[he(n)?(ue(),We(a,{key:0})):(ue(),We(s,{key:1}))]),_:1})}}}),uQ={flex:"","items-center":""},dQ={"ml-auto":"",flex:"","items-center":""},fQ=me({__name:"index",setup(e){return(t,n)=>(ue(),ze(it,null,[H("div",uQ,[te(wJ),te(dJ,{"ml-15":""})]),H("div",dQ,[te(cQ),te(JJ),te(MJ),te(qJ)])],64))}}),hQ={"flex-col":"","flex-1":"","overflow-hidden":""},pQ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},mQ=me({__name:"index",setup(e){const t=wn();function n(a){t.collapsed=a}const o=L({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=N(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return Lt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=GG,c=V2,u=VG;return ue(),We(u,{"has-sider":"","wh-full":""},{default:re(()=>[Cn(te(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:he(t).collapsed,"on-update:collapsed":n},{default:re(()=>[te(e1)]),_:1},8,["collapsed"]),[[Jn,!o.value]]),te(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:re(()=>[te(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:he(t).collapsed,"on-update:collapsed":n},{default:re(()=>[te(e1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),H("article",hQ,[H("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Ho(`height: ${he(DX).height}px`)},[te(fQ)],4),H("section",pQ,[te(uJ)])])]),_:1})}}}),mr=Object.freeze(Object.defineProperty({__proto__:null,default:mQ},Symbol.toStringTag,{value:"Module"})),Fu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},gQ={},vQ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},bQ=H("p",null,[Je(" Copyright © 2022-present "),H("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),yQ=H("p",null,null,-1),xQ=[bQ,yQ];function CQ(e,t){return ue(),ze("footer",vQ,xQ)}const wQ=Fu(gQ,[["render",CQ]]),_Q={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},fo=me({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=wQ,r=XH;return ue(),We(hn,{name:"fade-slide",mode:"out-in",appear:""},{default:re(()=>[H("section",_Q,[Yc(t.$slots,"default"),e.showFooter?(ue(),We(o,{key:0,"mt-15":""})):ut("",!0),te(r,{bottom:20})])]),_:3})}}}),SQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},kQ=H("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62c.54.42.81.98.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),TQ=[kQ];function PQ(e,t){return ue(),ze("svg",SQ,[...TQ])}const RQ={name:"mdi-tooltip-question-outline",render:PQ},EQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},$Q=H("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),AQ=[$Q];function IQ(e,t){return ue(),ze("svg",EQ,[...AQ])}const MQ={name:"mdi-clock-outline",render:IQ},zQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},OQ=H("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),DQ=[OQ];function LQ(e,t){return ue(),ze("svg",zQ,[...DQ])}const FQ={name:"mdi-rss",render:LQ},NQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},BQ=H("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23c-1.77 0-3.27.28-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),HQ=[BQ];function jQ(e,t){return ue(),ze("svg",NQ,[...HQ])}const VQ={name:"mdi-book-open-variant",render:jQ},UQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},WQ=H("g",{fill:"none"},[H("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),H("path",{fill:"currentColor",d:"M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z"})],-1),qQ=[WQ];function KQ(e,t){return ue(),ze("svg",UQ,[...qQ])}const GQ={name:"mingcute-add-fill",render:KQ},YQ={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},XQ=H("path",{fill:"currentColor",d:"M0 0v545.312h545.312V0zm654.688 0v545.312H1200V0zM108.594 108.594h328.125v328.125H108.594zm654.687 0h328.125v328.125H763.281zM217.969 219.531v108.594h110.156V219.531zm653.906 0v108.594h108.594V219.531zM0 654.688V1200h545.312V654.688zm654.688 0V1200h108.595V873.438h108.594v108.595H1200V654.688h-108.594v108.595H980.469V654.688zM108.594 763.281h328.125v328.125H108.594zm109.375 108.594v110.156h110.156V871.875zm653.906 219.531V1200h108.594v-108.594zm219.531 0V1200H1200v-108.594z"},null,-1),ZQ=[XQ];function JQ(e,t){return ue(),ze("svg",YQ,[...ZQ])}const QQ={name:"el-qrcode",render:JQ},eee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tee=H("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.251 2.251 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123M17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2z"},null,-1),nee=[tee];function oee(e,t){return ue(),ze("svg",eee,[...nee])}const ree={name:"fluent-copy24-filled",render:oee},iee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAON0lEQVR4nOydX2xT5f/Hn7M11A1lAqNmTQ1CS9QiZqbTSMwqetF6IwiJBRPwhkBi5EKyGLNyxcUk7sLtxkXjBRrNUHGikZiVSIKtMYGxaIo0TlcHsesCbVbJBqNs7X7xd/Y9bF3HnvY8/87zfF4XJmDPed7n87z5PKfnc55PbbOzswhYxIULF5555hneKixMDW8BgvLVV1/xlmBtNMhYiykWi+vXr//nn394C7EwkLHK8Msvv6RSKd4qrA0YqwxffvklbwmWB5bCUmZmZlwu17Vr1yAyZoCMVUo0Gr127RpvFZYHjFVKb28vbwkyAEvhAu7cudPU1DQ+Po4QgsiYATLWAs6cOaO7CjAJGGsB8FyUFLAU3uX27dsOh2NiYkL/I0TGDJCx7vLDDz8YrgJMAsa6C6yDBIGlcI7JyUmHwzE1NWX8DUTGDJCx5vj+++/nuwowCRhrjhMnTvCWIBWwFP5HLpdramrK5/Pz/xIiYwbIWP/x3XfflbgKMAkY6z+++OIL3hJkA4yFstns2bNnqzs2EomQliMJYCx08uTJmZmZ6o599913ScuRBDCWqeei0Wg0FosRlSMJqn8rTKfTLperbBBwIqNpWjAY7O/vp6POwqiesU6ePGnyn1YkErl48SI5RZKgurGI7Js4duwYCS1SofRSeOXKlY0bNy4VAcylUP/v77//7vV6KWi0KkpnLPProM7s7CwkrRKUzlhPPfXUb7/9ttT/xc9YCKHa2tqhoSG3201UoIVRN2P9+eef93BVpRQKhc7OTlJnkwB1jUX8dYZPP/0UNuYbqGss4u+L5vP5999/n+w5rYui91iXLl168skn7/2Ziu6xdOrr669evdrY2GhaoOVRNGNRep3h1q1bXV1dNM5sORTNWJs2bRoeHr73Z6rIWAihhoaGK1euPPjgg+YEWh4VM9aFCxeWdVXV3Lhxo6enh9LJLYSKxqK9zau7u/vmzZtUhxAf5YxVLBZp91XLZDIff/wx1SHER7l7rJ9//rm1tRXnk9XdY+k4nc6RkZEVK1ZULlASlMtYbNpAptPpTz75hMFAwqJWxjLaQOJ82EzGQgi53e4//vjDZrNVqFES1MpYLNtAJpNJlZvkqmUsxm0gjx07ViwWWY4oDgoZ686dO6dOnWI54uXLl7/99luWI4qDQsbi0gZS2f1hChmLS/urwcFBNTe1qvKtsKQNJA4mvxUa+P3+n376CX9cOVAlY3FsA6nmplZVjMW3DWRHRwfH0bmgxFK4uA0kDqSWQp2BgYGWlpaKBFgaJTKWCG0gVdsfpoSxRGgDeerUqUQiwVsFO+Q3Vi6XO3PmDG8Vym1qld9Y4rSBPHHiRDKZ5K2CEfIbS5w2kEptapX8W2E2m21qaqquYR/Zb4U6drt9eHjY5XJVocdaSJ6xzLSBpIE6m1olz1gvvPDCuXPnqjuWRsZSZ1OrzBkrnU4LWKRTZFOrzMYi1f6KOB988MG///7LWwVdZDaWsG8Gq7CpVdp7rHu3gcSB0j2Wzrp160ZGRlauXFnd4eIjbcYSdh3UkX5Tq7QZ695tIHGgmrGk39QqZ8Yi2waSEnJvapXTWCK8zoBDZ2enUM9vCSKnsazys+ESb2qV8B4Lpw0kDrTvsXQ2b94cj8dramT7Fy7b9Qj1OgMOsm5qlTBj4bSBxIFNxkII+Xw++X7mSZ6MVSwWv/nmm5aWFnptICkxODi4adOmI0eOXLp0ibcWcsxan+np6c8//3zz5s3sI0N2RISQ1+s9evTo0NAQ/bDRxdrGyufzH330EaVfsMERQGNcnebm5s7OzpGREfpRpIJVjTU5OdnV1eV0OulNLY4MeqPraJq2devW7u7u0dFR+kElifWMlcvlOjo61q1bR3tSccTQ1mCgadq2bdt6enoymQz9GBPASsbKZDLhcLihoYHNXOJIYqNkPjabLRgMHj9+PJfL0Q959VjDWKlU6vDhw/X19SynEEcYSz0l2O327du39/b2TkxM0J+BihHdWMlk8uDBg3a7nf3M4chjr2oxdXV1u3fv7uvrm5qaoj8huIhrrEQisXfv3traWl4ThiOSl7ayrFq1at++fadPn87n8/TnZ7nI8BZQhoGBgV27dhF5qG0GHKl8FS7F2rVr9+/ff/bs2enpafrTtURkeA1clmg0GgwGec/LHDiCeWtchoceeujQoUOxWKxQKNCfvYWRYTzeUvT39/v9ft4TsQAc2bw14uJyudra2s6fP09/Jv8XGWYjlaVQKPT19fl8Pt6RLwOOft4aK8bj8YTD4Xg8TntmuRmLUoGPIDhXwVtj9dAuSnIwFtUCH0FwroW3RgJQKkoyNRaDAh9BcK6It0ZiEC9KMjIWswIfQXCui7dG8pAqSlI3FuMCH0GwwicvJouSFI3FpcBHEKzwKUB1RUkqxuJY4CMIVvhUoqKiJGFjcS/wEQTnenlr5ANOUZKYsQQp8BEEjLUs9yhKEjCWUAU+goCx8FlclDRlLAELfAQBY1WBUZSUcMMqIALybFgFhAKMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBdDh/PnzbW1tKvyYbKWoXIRubW3t7+8384LCXPgKhUIsFjt06JDD4eB9UaKgprGCwWA0GjVjqQXGMpienv7xxx/379+/du1a3tfIGaWMpWnarl27BgYGzFuqvLEM8vn86dOn9+3bt2rVKt5XzQdFjFVbW7t3797Lly+TstRcZJb9xNTU1Ndffx0Kherq6ngHgSlY4bMydrv9wIEDw8PDJIy0KDL4H52YmOjt7d2+fbvVt99gghU+a1JfX//WW2+lUikTzlkuMlUcMz4+fvz48UAgYLPZeIeIIljhsxoNDQ3hcJhB62VT77xnMpmenp5t27bJtDnHACt81qGxsbGjo2N8fNzMjONDZvvX6Ohod3f31q1bZXIYVvisgNPp7OrqmpycJDLXmBDesPr333+/9957zc3NvINJAKzwiY3b7f7www9v375NdpaxIkPpvENDQ0ePHvV6vbxjWz1Y4RMVr9f72WefydzcNh6Pt7e3ezwe3qGuGKzwiYfP5+vr62PfzbY0MsxGslxREueieGtcgPkCH0FYt4q0UFES53J4a5yDVIGPIDyb2wpelMS5Cr4KiRf4CMK/z7uwRUkc8by0USrwEYS/sQxEK0riaGavimqBjyACGctAkKIkjlSWehgU+AgiorEM+BYlcRSyUcKswEcQoY1lwKUoiSOMtgbGBT6CWMNYBiyLkjh66I3OpcBHEIsZy4BBURJHBo1xORb4CGJVYxnQK0rijE52RO4FPoJY3lgGxIuSOIOSGkuQAh9BJOxB2tLSMjg4aP48OJEhcqvn8Xj++usv8+cRCgl3QofDYd4SKuPVV1/lLYE8EmasYrG4ZcuWRCJh8jzMMlY8Ht+yZYv58wiFhBmrpqamvb2dtwpcHn/8cflcJaexEEJ79uwR/xdcdXbv3s1bAhXkNJbNZnv77bd5q8Biz549vCVQQcJ7LJ18Pr9x48Z0Ol31GRjcYzU3N//6669mziAscmYs/fUS8ZPWa6+9xlsCLaTNWAihmzdvPvLII9lstrrDaWcsTdOSyeSGDRuqPoPISJuxEEIrV648fPgwbxVL8uyzz8rqKsmNhRB64403hP2d81AoxFsCRSQ31urVq998803eKsqgaZrcxpL5Hksnm82uX7/+1q1blR5I9R7r+eefP3fuXHXHWgLJM5b+EubBgwd5qyhF1ueiBvJnLIRQKpXyeDz5fL6io+hlLJvNNjY21tjYWMWxVkH+jKX/UPHrr7/OW8VdXnzxRbldpYqxEELvvPNObW0tbxVzSPxc1EAVY7ndbkGm026379ixg7cK6qhiLIRQe3u7CA0HA4HA6tWreaugjkLG8nq9O3fu5K1C2tcZSlDiW6HBxYsXn376acwP0/hWWFdXd/369fvvv7+io6yIQhlL32cRDAY5Cnj55ZdVcJVyxkIIHTlyhOPocpdx5qPWUqjj9/tjsdiyHyO+FD7wwAPXr1+/77778A+xLsplLI5Ja8eOHYq4SlFjBYNBn8/Hflzp64PzUdFYXDa1rlmzJhAIMB6UI4oa65VXXmH84wY7d+5csWIFyxH5oqix2G9qFaSgxAwVvxXqzMzMPPbYY8lkcqkPEPxW6HA4RkdH5f4VvhIUzViMN7WGQiGlXKV0xlp2UyvBjBWNRltbWysXaGHUzVjMNrW6XK7nnnuO9iiiobSxEEIHDhyg/TJnKBSqqVEuzspdcAkMNrUq9VzUQOl7LJ1cLrdhw4YbN26U/D2Reywp20DioHrGor2pVco2kDhAxkJLbWolkrGkbAOJA2QsRG9Tq6xtIHEAY83R1tZG/MfG1Lxt1wFjzUFjU6si+ybKAvdYd0kmk48++mihUND/aPIeS+I2kDhAxroL2U2tqr3OUAJkrAUkEoknnnhCj4mZjCV3G0gcIGMtgNSmVrnbQOIAxiqFyAuA6mzzWgpYCsvw0ksvRSKRqpdCTdNSqZTT6aSjzhpAxiqDyf1hfr9fcVeBscrT+v9UfbjKz0UNYCksTyQSwenysHgpVKENJA5gLFMsNlYgEIhEIpzkCAQshYRR/LmoAWQsU5RkLLvdPjY2pkLDvmWBjEUSRdpA4gDGIonKrzOUAEuhKeYvheq0gcQBMhYx1GkDiQMYixhQH5wPLIWmMJZCpdpA4gAZiwxKtYHEAYxFBqgPlgBLoSn0pXDNmjVjY2NKNexbFshYBFCtDSQOYCwCQH1wMbAUmkLTNAXbQOIAGcssCraBxAGMZRZ4LloWWApN8fDDD1+9elXBhn3LAhExhZptIHGAoJgCnosuxf8FAAD//3s5fchYZyekAAAAAElFTkSuQmCC",MS="data:image/png;base64,UklGRiYGAABXRUJQVlA4WAoAAAAQAAAATwAATwAAQUxQSJ4CAAABkAVJsmlb8847eLZt27Zt27Zt27ZtG9e2bdv39tNZe++17vNPREwA/dOZo6hWhOxFssnRaNra4w+M3CJNqvLX1D7cxeDukVWTazDpXKDXrxFvXaOg9x1TDg99iOzM17Ak6Ddgc2dA0hCeZoL1k2zImMbPGvABrORlP7jBHi40l8ARzquVy/MEXOFhLqWKGYAzfCqiTGV7cAfbCko09IUA8KonX8cICIGwdnINToQgiO8vz9QMCIP0iXKsgNx8AEuk7YZg2C5BfQ7C4ZSKJdcDZAK4UyR7iSq1a1Uuri3+EZkCgt0jk1JTE8OdfJFJ8PoTsW7ZP5APx45dffiYRFTTlQfjkkQb+RhJRKXNlXuej4iW8TGaiKjAa6Wu6oiIVnBE2W8qc4h+yBVlOa7EehKBaLN8s0kQWiBT8ggShsak6ktL1xfdjQSiXhEIfLFzUrdm9es37zlt37sw+DQjoahCu0LEXLxDCRJM6f84fDIDYybV/XTx0o4xkab6sL0fQwRY+aOA19v6V8rK9sPCrRccPHhoT2meah08ePDArKYFiP+ClSqUlEXc0h5J8fGDuWozdpTE0YNys5WKAjCSLfeg0aMkjm3DVAsybmCjdYCxmm0tZKzFUtQg0E+iv98gCfm90YPY+/v6+0kMNCjKQup8eaXmJKm1e5DUnHml5lPTL7y21f4PrZVq9WF/Ky0n6qbb7AFsVWorAPttTdWKqRpusAYAx+1FlSq63REArDc0VClRZ5VZOgC3/W11xKGu7X43AOlmq+rIVGOJYSoAr6OdchC3OTod9QKQarikhqTi8z8kA/A70yM3cZ67xxk/AMkf5hdnUhkBCLrULx8Jma/fpSAARioWuhR+c0ghErjQkJvhl4hZXYCEL6Bm+5cSVlA4IGIDAAAwGQCdASpQAFAAPkEaikOioaEa2ed8KAQEtgBbJur/YPxm64bFPaPyH5r3ezvr+QGYz+G/on+Z/p35Z9rD8o+wB+lvmZ+p3+Af3D+5ewD9b/2v94D0Af9X1AP8H/uvVU/zfsMfsV7AH7O+mR7Gn7ifuB7V2Yn/RLToBFaF49vT657i4FNhTFMPtqGBnLHb4B0mdEFIcp89CJvbbCPD4/QeZhwQQzZ8BxgBYJstiZqMBJD6z585YDHszJsSre6r3yMDyPrDGOzaYTcIIILf8uoSangA/uHNmzlTvvlp4WxismwIwhrpTbKk5HA99Zt/tjf//B1f/wjF//4Oz7Ro8qdwrGruK80gZGdfcjEjVmeAY3UNq/bKHbPJeZyPGePUJYsf1pTxUT+M/1yY9sp5QEaUI/nWbM+hrV4Wv2GCz8YHB1EU6uczvWjFJmo/ILHBjfR2dpCGtC7aaJrcU2802eJTgxsCLzPMTBp+iLQAcf1z34AZndAHu/MsTUnzhvX5iBLRl0rcsyt8px9H3DpVdPqz9F30dKwOAKELHB71muyZVCqSi6Ijvf/Z3WEYi+Jy9gg4gwMX75I/kfFsZTr7B6AUO5g/bTvaEq7oh9QTCrGVLPJY2tIyTiFf6+rnBPHuJQFG2ntz1V2ZE3kFqOf1JYkNtmTx5bM42JZLzDv8lK+cZlqBMuGj5tTqsUlkszMA9vYVj/+YQXiow3o8IGtvSD8Z9yp7r5vAB/RBYfyMXHGCD2/Vj9Krhqkp9w11usppHaLv4fZw8b3KwrMeg4xklboK6/9Fk8fH9jbQr2Gh3gBR1O00KEtl0DoRpGMbFooOH7dbaaubWVWnZJSKjwKIyP/s2PwjLOOynzDVSVfh9QzyYBAtiUl2qfMRoRAekN+1zwxjUnBZz1zVVnum4pxFz4O/ytYWZA4AKd06/BG2+/aqSmflFZELL5IvsKadrnEUwQiAtJkrfXIu0S5ATyAZ8U7ztY9txpPVO65FVvH6NJPkeoxN4DJMkkeJyGkxeZyTOKOXTYLyG410M+lef83/R1x+Fufa2JlrS4UJj9uQp/8XdI+6n2yYec5INem5wZ3l+51bAhgdYqwdZhQ4nrP/8zviDM+SQAmVegbwNZIXMtlySH9p0fzgvNUc4nPYjSzoYgAAAA==",aee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEX///////7+//79//+ZfOn//v+UfumXe+f9/f9crPCZe+n7/P5Lu/Fmo+/8/v6cd+b5+f339/1ooO32+v16lOuYfeqgduqZeedQuPFVs/Bfqe92q+1xme10l+1+j+yOg+qdd+n6/v7x9/318PxStfJJvO9Qte93l+uQf+nq9PzX0PRiqu5vnO2Bje2IiOv8+v719f3y9P3y7ftPtvJNt/BVsu9Lue6Hiu2RgOubfeqbeeqXgOideuigd+f69/7w+v3z+f3n6/vf8Prp4vnH6fjp3/jA5/fXyfRZr/JHvvFXr/FrwO9Rve/Due9fsu9lpu9fvu5Yse61o+xum+uLheqJkemgdOmnkuiUe+j3/P71/P75+/7u8/318vvj7/rc6/jb1/VXsvLHwPFzye5ipu2Mhu2ymux7kOyEjOmeg+emieagfuXo9/zk9fvn8Pvt6frw6PrY7/nV7Pnr5vnJ5Pfm3PfE1/a72PTO0fSz0/NKvfJeru+Twu5roO66su1osO3Eru2Nq+1qq+yMpetyoOuCm+utneqajOipjeehiOeihOeLhualfebx8Pvp7vrN7Pni5fnV5/fQ5vfg3vfV4/bD4Pa54vXPy/OCz/KnyfK0xvLTw/K+x/GzvvGHyfCpwfB6xu+guu/Kue+Mte97ku9pue7ItO68qe5ztO2ur+1Yu+yXsuxuseuKmOuqpOqWouqtk+mWk+iKjObs9/3n5fm55fa+3vbX3Pbk1/a02/Xg1PWv3/Oc3POt1/PWwPOS1vKj1PKd0fKtyvLPw/GcyPCKw/B7ve9Cve+Hue9pxO6Cwu5zwe6Dt+62sO6Zr+6ese1/r+2Eoe2Truyfq+yapuyCpuy6n+uOnuuZm+uYleuwlepypumhkeiSi+iRhefQ1/XR3PTay/SWy/O60PKZz/KPyvLIxvCVuu9bt++Lve13ue2zt+2msO2Ro+2ms+ysqux6luzDp+t5oOqmmuqNhuqxoumkn+m1nemviufl+fqo2/S6v/Cuue2yuOxBqZCiAAAHmUlEQVRo3u2ZZ1ATQRSAd+9ISALpxJgASYBAAoGIIEW6ShdRpAjYBQTF3nvvYu+9995777333nvvbcbNJSjqDBIu+0u/yeQ2JHnfvvf2lpsLsAG4QYr/4IYkAW6aNcPrQNEz1x3Kis4AWGm+I+FAXMKOZgAf5Igs17i4uC5xWW0gwITT+BquXbrEoYfroUgewILTlsW2trauroaHbY1oLO1HjrJIkjBxYoK/ra0/BgsJWeMXVyhbtkKNz+GZ46v6+6NRpMUlILKGwVE10glCRuuZboZxa0tbKlet4FvW7UgbBoQkAzSf7qb29Z3pbtk1Fj5dplarj7SG0HTaI4vabVeGJS2MbX5qtaxofZrPlKllD6MJyzlgm3kymWxeJFnkT63n+TWUHWluOUnmPRQwcROrSGoQjkv0S0ra6WSpPMC4xIYNG94W/3be7Eryi59nsf3F+TA7Nv5xZfhbA9z3x8fG3raxUCbru7LZXddDgvh11qhgsbE921ho+T5is9n7wiEC/IK4G7sre69lutJOx2b3bAf/lIDRPbuyl1a2yFXTXpRIN7FJQqKVxSjcazK7yeXybZZofb2Fcrmu3c9FlZHBKpSA0X3k8qPOgD4ddTr5QWdIUmGbj98xceLW6GYkMqBHxMFsXZ/R9B21u2XrsjsTVD8ytxzy93f1t03IWpdhmkF29exJBKRdLXtudfv6VD/C7/q5VfB1c/NVuz3cmQmh8V2uBeo1jlud+4g62XnbusbGJx7edXd/YlLDxE3U/DO6GaZA10FMQpLOhKEj9ZfK2Y/bRRC8NZ2XstkLK0OqXlyuqCNNB4yYw+VeGWUYEbuzq9uPIiCDALzOOl31zkiMzPbdRXt5NCUt7Lmik+5GnUg0iSBIBlpVa46KuA+oGkbM6S46GEFTMrZfd9GD2tR+eM6zXwdIFY7kzUj27E31m5wkEtm3oCnpkOyZvJsqTItTjpqbJonTDEfH3uWNi1jUvd9YQI/dyZ6eHahR+Wdz7aYaJUB83G7uceP/F5Rqvw40N65ZDp6vxxqHT728ztYBFBtSvRTTWNTyGn7O02EypCURL0GSesZxp9UBAYuGoQFrzMWAnNQNxl3ZubeDwwweSrDUUCHOuQNqpt7LlTlD399v4NFjYEqO8piAcgDBEgeHWTa0UqnTF3XYGRrjrb2qZWqZwcHMwEDtm5bwR0EdlohpSYafcnQ8LTZJQNSAYGsOh2PFCX7XFpggZ6BPeNOSVDqlcTwuAIXUndJ4SH5+0/Mx3uAH0zSavuUBLUl/jeZEbVAIhGGtoqJahRWd+GQ7+hI7uxPFXvUgiV3fOnQluSiTv0gu0JQsU+SeKV4yLdfuGb1yDV+mUJwVg2IgvubOXUFPUueCQrHCu9iN5zmahpDeEr7gpSh+noIzXl4rhtGRlF+U57WsU7Gri9cp1Svvm7D0DsGTvIDUTiwGo7ie8Cak5uV9KfXFPby/Wh8wlQeRpNhcpq4OWD2htJIxq/T6F8K/XrpB4SJ9wKWRsFR9ES4fOnTVyJJ8de2qgJRFAkiWQuIxNGVoNaIkEkajnJxrDUAp8H6fknKpEigRLS+9TVkuKIWkwXWl8hgLlAhWD+Xba2PMd7COKQOve5gzo2rm92TY1cDAgS1BCWk5UKt9421+tYIDtQOEJT5tl2sDB1YxW9KIydT2MLUEAlDOpe1vxnJ1yxVtipbJjIHmtmQBk8lsZIzmUsWjWs1aAz0A/CXVWjWreVRxMZogmlN6NbO3rQFMCXMCyxi/SbB1OpM5oMg1CQTCd+np6RUHF5omMCWcBSwzJXVrSSTMxii+dXq6tbVVRYlEEtyI8VNC7Am2tkJYI5rUqjl7AfpAYzPPFOgzGMXgSK2tJFYca4MFvWoSw4KF73sMNhnQgcORSjkVKwatNHfDbzVEKg0JCUHf5+cPvrxgT0xTDidoyOxhpjxnD+FU5Kyc0qtx0yZ8qTQoKCgESQa5mClpiyR8fn7Txr2mbGwZRkA4n68KUfFXzt8cFbV59kopPyjIKgYwwnzax/T6MKhJiJSvUpkvaUrFbxWG+gARwOcyP0RVRsUPLcjn81VIqDqP3jMABcg0/8Og/EE+ZvZEGOUj4KEj9YJ6rnKZH1pGFVqmTCg/DT2FnvcpXNIkOjLQQt8sBLRp9aoARUeElklLK5jvQsktTrmNrz4WpKWlhRZ87BVlQxBIggOWT/tb27ffau/CMpURG7AwPE6HUQLx5QE/rdu6NTocp4R0isxyPXAgIWsEga9UZHQNf1uEa9UR+IpVuSr6eWNxgm9Z6lcNPPB2+smS7o2InI4OmwAm1uyPj98XDqD74aT4fWKAh/o9DTehAQnX62IXugM8oLvAC1tQvekjRze28TCqD/cklQC6nWdfD+Chnr3oSn3KdkV0sg7AQ8Qcz+Q7EEBwJzl5lg3AxFSNZokzAM6nHTUdAC5G9rfrfxOAGy9f9h0OcFH7uSL3aZj3mdy503gEwAW695h6o1OeYtlIiE0CBS/0+osX9fonNgQ+CRhzLUefoly1FiAJNmx6aAOVykYsAqcEtL0qYQ6oC5EDJ3usBrcHuBHW3M4A2KkrBNiBEAL8QPAP8x0ZyfbHp+5ubwAAAABJRU5ErkJggg==",see="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEX////9/f38+/v5+fj6+vr09fT29vb49/f8/Pz3+Pju7u7y8vIHWenx8fDt7ewJZOvw8PAVfvH08/MUe/EGYOkPcO4HXekmsfwWgfILZ+wJbu4kpfsQc+7m5uYJae0hmvcJWuspuP4ekvYbkPQLa+zq6ukjxf8nwv8hl/fr6+smyP8kvf8LXukotf4oz/8HZusJYerh4eAjofkMa+8Mcu4Zh/URde8ag/Po6OgUePHd3d0s1v8djvYObu4HV+fW1tcq0/4nqfwknfgelvYfivQWw/8mrv4hqPsDgO0mq/0Nee8iyv8drPsnp/sNr/ohovoBnvUClPIjwP8jrf0Fh+nj5OM94P8z2P8jzf843f4Uyf4GqPkcifUOgfAEiO8MYusG2f0Dg/AOfe8v0f4C0/0Muvwgn/kXhPQCjvARdvAD3/4Ds/IWr/gCeesD1vcUh/Dk6e6gwOza2toA2f0Tv/0Fo/gBmfMYjPIGjunx+PvW4OoDgePS09MJ5f8W0P9C4f7x8/SHr+sgeOrg5ughZ+LP0NAx2/8i0/8Mzv8E0fcfnffr8/Y2pfXV5fTp7vCTuOs0gOkLZuZ0oeU4eeNK5v8T1//l9fsQtfvZ7/hPv/MumvLP4vDD3O+pzu/K3e7d4+zH1ehUiOLO1twj2P4ou/y53vdMsPV+wvMQsfOV2fK20O9truy71+p8r+o/m+lmlOIg4/9FyfmE3/VuyvXh6/TF6PRZzvMxsvGTw+8tjuwFcOoVcOlNkOhEgeYxcuOAqd/FztEywfkEufnK7fih3PSVzfIMu/Lb5/C35O+Fuu4jcegVYeTHx8kw5P142fe91fGr1/APnvACqu9Moe6sxuofgul70uilvti6y9Y76f8P3v4Gxfhauvfm8PZq4vaP4vVBuPWAzPFxvPFAqu5moexfreq1xuDZ3d+Uu9ubtMhC5v8MyP5P2vtW4vkem/ir5vWe5PWr3vU1zvM7ku9s0uhboeas0t04id2xwtNI1/OUz+Bsrd96odS6wcVzvuN1vNeI7X81AAAQf0lEQVRo3uzXfUzMcRwHcNzd7552t5/zBxvNaB1p2mo7TtfmyMOMPJRKedhZp4idJk9nyNaUW/FXcSGsRwlTuS7/6QFnUwtj8tCDh6EHkZiYh/f3+z1dHqbu5D9vf/in/V69P5/vt9/dsP/5nwEz/Mf8G2DYj/+GmmLAz2HUkBH9BMkIFsnQDq6PoA8XCqQCRMgYZ8UhqoECQrPVVlCLFNis6Rwg6jBoKGrAMNcUl2dXTcjP9/OrqiotL7Y94sRSIRiWoRiVuaC8ZfTUqRMm+Pn5hU0KU6vVpeWORxwHhhKeKzDYtIQ15XYQMAgyaZJ6klo9ZUp3vU0h4gRCCVP+7nJIzLUt4aNHQ6FI2Hdk4cLS14dUKCNhP/dXTQ632heFE+UXZEVs2UWm0HhcBEZRaHj4vHn9EAQGlBX+/vVWucjjLqwGM2YtAPJTExDE8I+tv9ineIQgEvOV0PmzZi1gCBQgMICwIrH62OZDcg6KZ1XYHXyTMTYUSPgCF8JWAoMi+t43vGv7Hm3EWrhkbCibF0Py/cLCnAg1kI4ahUgsYIon19BcFDiWIlBolan5SJjahej0uqiyRCjkVqK9B9MqyABC5wUEyW690tBQ3Fo6Rf29iE4XFdXrkPUt3/1pmR/HBQYyhKy+pfV4itbHxzfxWHGp2oWkptZfVABxvwq96gUZcYFLnFXmLShsSNH6KpUymYz3dVRQREeKREd3OHgV2YoHTSTSoldAoNDVPzzrpfWV8QqVSqRS8LYKen5hpEZHR5cdYlXcVMg7yvrkVVzcEraV8MKzXj5KXi7ixGIxx4nkUPTOIpGRncdkck5AEHdXIsmZ/CpudiDdSmhGjpeWGuS9KJWKOXlXqZ4Z0cmRyV1K3rl6t9ceMn72bChkLUUniYEH4T0lIe9gLr0slhooEplclsiTU+z+uKy3Q8aPBxMHpvA49gFDwF6FVKnpAMKM5KZjMhWZF+LeSgqOhkyGQssURfjAELPHMEW8rxlLZ0Zyp0Op4DyY14hK78kIYeIysHVehSJ4ikup6UhlRmZm5msfnpwvd5uYS7xDnMjsZ7u8lAoVfaOzkLVw6U1OAylLlKncWgoMKIdve0+c6FQqI7RKBU6vVNAXHLB9r6MjwbS1AWm6ppRzbiL4XQ++BcKYo2ci2PntH5FIYUuuq6trbGxra2vstOG3ELjZBHu/5O1NEOT2qQDcRNx2Bc/LeB7/K3hEebDzAkKcxkyHVqaSCt1sMiJnjjcUJCTk2fOggJRdNseb2tpiktoGx4ldKVptSlPCHhpIXdgaJ5C4hYwQVq4KJiFMyfuPd3squvV6vNRXxMTMnRtW1ZJd3ppzFghLQkKzly/uoztVhksE0uub58wJDqZt7N0Wi9FozMpKS/P3XxgT0z5369Z11dWj7fb2pARnygJ8eHaRBl9EwJ3bPAfZEQxoo4UgSTDS9KiCLkRZd2Tx4k2Lqx9YTAaDIenu8whfBTvkg96IdF9JvGYVFNTxvmqxmJKSDAaC6Mm8gKyjyOKVSPUDo8nYkxvkpZRTZLCXRChOfxo/XaNZBWhV8FWLyQQjKy9PFxu792dk29JtGx9YKi7PDPCRiQTC4cggatBpPXo3Zjqi0WiAwHAiev3eAxTZyhAY25Yit7I/70cVFdkKMpBBj5bY2nyUIvHxGs0OiiTdvw9ER5CYX5Dty0I+fUAVnv6VxCMGMjAsc1en5ebIMTTx0zcTxJBw/0JeXpRO1w9xGduXLdt5/kVuhBJ/4Ab6MOn8WmVtTk0y3hxJQqWrOD8ESU2NitLtZfNyIcxYtn79jk+ncO05bIXmT99HJMKapiyDgSIsQGAQBEnbazzQ3u5C2LAosmb5+RzcSOkfv3yxT7/mro68LAOajOrLaZMJRl1vRc9dBJc/u7Rqa3U1EGcRQgBZs/xSZaLij1++2Lk63Byly8PlsjiRGchNU3dvz8f39y7v3717JpKbe+/9xy/Z9k20CBsWDGTtnXPXVBw7YmB+u3MY+HigS8vKMhpP0+dPm7Zhw7hLX19+vrF/98wtW4KCAmiCtmyZefnDVztBmEEEZPXmkoP4SAOF5vfGt17NNabNKozjSunAt6Ut0FZa24LSGqs1LbbY2gjEMUWJZlFG4ochEZcRsi1QPshkC4HSxQUGpW2iDhgXo9uEAVGJjruXIAGMqIOwxJnoNnGLiVGXOeMt/p9zerUx0S/+tyVLOO/7e//n8pznebZPkHpyyL6a+yEdpAoRo6TRXVCp17uY9PrKAnfJ+a/2fQ4jMQYgVVWXuyTMC7eSvB4vfULF03Mvthzds+ejGgI4VNDKVTDcuFPMLEnFpSLIZK5K98/vfrBv3+fPxxiPPgpIJiixmzrRCPOBDJfU0rJnzxf1Dh0A2qKiIuPvHx9pLHDJhAyJmAuZqmCq/PX0y4xCEIbgkMzLSxJxhPJ3Iy+8RVUHCqinW44ePfrFQZVDVVRkhwzDHx926ynxitzylEIK7Rf373/5NCifPwkGCFBNTU1mTfYYKhYRp8QxSKk/vH831ZvgtLQA8tl0ERhGu0Fjnf+lBIEJSbUoNTXSxhEr+k4+vn8/IMA8uQuAAwcOgJGN315/tyQtkcKNpH/4JpWbxMG9dPS7n0ZX7HajQaORy+WrCwSR8BNASk8ViRWfPlQBCsOcvn7jAKkcwq6s6xlRiEGJnzBer799J4mBQHnz5/Mhg1GjsYKhVA+z20Icl9yJxN0Xyx4HBJTT+y5dvQoKh2Df15XPLkUTzngjP7yPehN9AMLc+fA7Z9wlE1bGqLYp83ybblx8YchNHNJ/qawMGGbmtz8+3rwxzSA4Wdj5M35Kz+OtsDr3OLoAJAI9/E4/TtyVGY0cDItSLS2eKClwCQhLMSetpzp23gYIYR6/grO6NTftgHR85/cM8GoVijJS30DxDHHS8TOVOHdDIbJhYxDflhtxHNlIdE36Lu3duRNWSJd+OXK4sWC9hygqrpmx7oiVOCP3kAh0z1Pvf6pHAWpqD9rkNqXaYpFKmRUTRdiokeXcDlC4lz/fA0Pv8ni1Wi0RsC21sEL3ZBwk9Ud05CJ67et2HApBZl732ZRKtToPEKwKv13TuZFb+sfv4hQszLHNwyUUDyaD01qS3Uh//ArKXqIQxPe30W3guuf24wOoeCgTHRwmBmxI89TYYEgUMM3pxEibHL0DkDDlm/dKGispjx3oMRiNeD/JMNsQl+2R+w+/4gTqbNy7qDcJGWKxRCJ4VtU0VcV5UotldYFlVpgBpADixd7S0u87OjqoOj52BUEHj2RJMtoChqhW1li1GoP8iLffG9bxAZS5WUjbs2AFJjBXeRabzTq/VaCX0e5HKdc/np9fWprLvcAIiwd4pC9k1YRlDfgFKryjENEi+ibQraRTDWaBytw0sUThWWUMtdImt1qHkdwLrIBYul7fRPkryorvO3qvHG6sNOOzUHq3Tiix661M8qBMwaY3UlW9fWtMJ1xUVeGDEQQHh6URiMZgnKBlkWSJJ0dzagubgMkvhZgRqlrxRJonYKuulpOqlcPtAnZKFNJ5gXqMj0AVj7x7xsTCbSqqQrGw7gPEYoERQGaCoMiEhrGNnBxnIWGg3k0yQt+MJ0RrPqUFstkQjOYGsSgxyEsXKgBgkIqTWBJcOoihoEgagsXwoayWazTYlzML2Krtbd5ySpVqkVwC8xs3QsETT3TNq9VqJWSzKUPN8ZCULy9UVDyG9hxUdrLZRDU5QjpOg1gYmGOThdkCxOFdePXVBa+jLptRnKCMny9xV5p4awVndHI+T81ksahDzbJESBkQD1HLqQxOqOeDSwPPpElk6z4lLbuBToDK4Q1OzGgduvvLaximduoKnXX2Vawo7pqX0tkFRP13SOcFdDMBKYOOYU0ieTOsKBoWVpVyBilSqXR1RissgfJANrlxLhxhNw0/pHjT2qqUC3FibjABIr4ICBC3kc668DPe30intW+esMgDNFsUlKxKq5VwDl15OW7a65gsimmornm4aStmwo7Mk2J3xSB41+ITEADQzpPN/KJNZ8XQtgzz0JxSrrHbYUSDqYYrWh6ilM/+wiYrnJyk35wyOQeAlGOKg6YESOrrx8IQdJ62nzULbAunh62YtkJWgmiUiC9qzJ0mTLmxySYLFwfbJ2jDtVmkzAShVj0yIStuulJeOclM7CRGxyWkzfw5FqYyZPr1kMFu1CgpkLGtZqDJc4SuUoR3CQwCpYjWfbTghIGd+SFzwolPaT11H9PevXu35+aOexqokyIiIbgI5nb/isEQsFHQpzBms1phxYtsjIwIEgoPmN9O/wodEYs6j1Q80SBLiF3pIjRnibGdGLmlvaMjk9RLgQBZWhubm7Frqm2YCwR9Cz8204du/L756rd6mSKDtQy/HJnw4QMA4W5WPWYBX5oSg6R2XtwOABFy0ecoze/9ZvlEf1dXV9+aZ2zWq9NqjRq5DXdkMZsxRKfpQ9DGbNB/or+vr6//RNvsipUiVjW80CkpHm42K/hRiGaosLI9xkAXIr9px9S1a9emNjay6+7XqbR2jbyaFoVBlGCQKKHz9kDeGY0B0Z3nNpDF4vOY2WylxyDpos5TuQmMBx/cXVhYW5tTVYMaRacqsmsCcnwjD8qBA4cO7dq1i+WlSIIcDi2sGjUGRqm2kJmJQbMirsPK86htXefCCMbIf3D37t2FtTk5yGwfqGMQPl8UNAJE4BD6BDh1IDE3UrrJKHATGjIxI/GJBLb4tk+PAcEZ6HXsAKPQSZDyB+4niAHzhSAOyPSug5xR9WxVGAJKEZIHg4FTbD4PMeK73rysFrUu9tJUkQ8OYYzMbOSEBMHKy202tSVw6CBEkHpWJ2Rn1xFFBQpSZ547+9pwu0bbifFJvajzLLKDCGMHJotDsnW6MASLMv/7wvhB0jP1z9RX0c8zuRVUMlQCMIpvYdAsk/DQlJgMI4J0Lvbm35EPEYMg/B1YWLwCkMB8cOvwkfNjhKmHnDlEoeKVVoUVMzBjXWkbNAmsLwUG9LeGSuvIuXzqcYGBBeFG8KG0rlprIBTc+tbtdjd+e2ZsvKm+sN5JI6owIhsQjAEGkMCcp4GlO9xHohOipGV1LV9ramoiSHS2UAFji64M+4cq9UiRSZVDZ69P1dc6a8kKUSiRBwSrMh8cMrOaTJRUNeKvnCLu7F8e3+EsZAwnN+LQeWfHRppNZrPZROkrZDYNri2fm3JWVRGEBsEucoCe4Eg7hmQkMTgF4pSs7j7P6LmpHc4c2jqZGz2zl/0jzS4Tb6dKWrOy8FsikSi6l9bOjs72bGDVYFbn9c5d9gy4ZDKFohU3BTGSK9OoF1S23Uv9JzzLy21tfs/IUHODWSYDQSHJopjJhfySGrfdgwMjHn8b5F8/0+wym1Eh0yhRMoMU7cGjsEVSmyEI3QIkY++XSAiwjbW4UyFW/m6jz5EgL2ejumUCxD+E8ilO4IxkLyhs6XG8N4OLAGSBAOwCZKMgkFDRhwdSR7pVzAlAJPpI9oIX3ML/TYkEQLhJDwAfETeQOcLUkTCOIzAuyUeymZTwlECgiSIOksQregzkIqv/4j80xD/OUfQUFCNgTKLww5SIooSkbleymX8Q/1lsWPLAf4Ug0Zh/9SSn/ncElPihyR6SvyjpFwb+//oLYHj/LyqNdWsAAAAASUVORK5CYII=",lee="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFwAXAMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAABgQFAgMHAf/EAEAQAAEDAwIDBAUJBAsAAAAAAAEAAgMEBRESIQYxURNBYXEigZGhwQcUFSMkkrHC0TI1UvAWQkNiY3J0orKz4f/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/EACQRAAICAQIFBQAAAAAAAAAAAAABAhEDEjETITJBUQQUIiMz/9oADAMBAAIRAxEAPwDuKEIQAKPHXUctVJSR1cD6mLHaQtkBezIyMt5jYqQuAfKXTPj45rJImuMk0jCzTnVq0tG3q0rqVgd/QuY8HniqkhY2turuyxnsJgJXNHi87jyyUydtcnHP0jL91g/Kn4UjJ5ooakJZZd7hSnM2iqjHMEBr/URt6setSqbi/h+cY+laaJ42dHO8RuaehDsJXBrcaOSMti8QodPdbdUuDaavpZnHkI5muJ9hUxKOCEIQAIQhAAkS822E8WVNdLpdoa1zHfwEsAd/ta37xT2UlXU9pPWu73zaDnpqDT7gVpj6rM8rajS7mAlw+GAbOly946NGPjgepWGsDRnm7l7MqipnOkuUs2fQDQxu3QnPwU+onDaiJo/s2F59mB/PiqE01aI5RcXTN1PIJJaiM7gP29g/Vcy+USkNHeY5Ym7VTMkDveDg+4tXQbUXmaR7xjtJHOH+UgYUHiC1S3O70HYQ9o+HtHAZGxIbvulk/jaNMUfsSYqcD8Jurr/QOrgfqnCqdGP6rWEEZPUu0jHn0XdUr8D2qS3w1ktc0MrppcOYDnRE3IYM9+fSd5uI7k0KW7LZVfx2BCEIOAhCEACQ65xllcRqx28kp08yGh5/HSnKouNDTP0VNZTwv56ZJWtPsJXPpL5aKZ9LV1dRE5gB1BkrS5pc7ngHfHRMr0uheWuOrYvG2csL2Ubi9sEun03Z15jaSQfPO3LcjZaJbTUR656naJoc+TS7LnAD9kePTyVtbrrZ5aRj6K4URgI9HRK0AeruWVbXUUtO+NtdS4cMHEzf1WGuSN+HGTK6UTNuPZyRRsMQDD2ZOnIaDgZ6BwHq8cDGC40lFd/tNRHFJ2ZLBIcBwzvvy7lFdc4hWfaK2l0mQ+mZAMkjJPPHIAexVf0hb5uI6jtqmkfFoY0apGlp5k/iqsVOFEmZaMtjZaby2634imb9njp3gyA+i92pnLrj4pjStaLla2Vxd8/o2hsJA+uaAMkePgmhrg5oc0gg7gjvSSSTpD423G2eoQhKOC1VM8dLTy1E7tMUTC97ugAyVtSn8ode6ntUdIzI+cP+sdjYMbgnfxOkeWUsnpTZ1K3RTWCrkuD7lVzjEktXqI56fq2YHqGB6la6W9B7FQ8HkOo6xzSCDVHcH/DYr9eRNty5lVIx0MPNjfYsTHHjJjZ90LYsJTiN58Cks6VNJUht/qKfYRSsbob3BzQDt4kE/dVxgdEtVYdG19fG0l9PVB3ojJIDGZA826h61cm7W8HHzuP3p2r2AmFocMEDCsuF6smKW3SHMlMRo8Yzy9nLy09UuS323xjaVzz0ZG4/BRrfdKgXSG40tHWvjDtLhHSyODmHZwyG+GfMBbencoz25CTScTpSF4F6vTJgXhXqCgBNd+9ruetWP+qMLNYP/e93b3irHvhjPxWa8fN+jKo9KBRbjKIqV3V2wW+WWOFmuV7WN6kpcuNf87m9DIjbs0H8VmOkWdoayakn1tDmumO3kAPgpLqamGQ2Fod1I2UTh1wdRPHf2r/xKnuJaSzSXuJyOi69wCOnjG5hYD3eir7hhwdb5C3l28g96U7jcexYYm7Snng50j9UxcDHNhaes8v/ADKq9H1syzdIwoQheiTghCEAUlbw82orJ6qKuqKd85a57WNYWlwaG53GeQHf3KDNwtXPyGXtzR40/wCjgmlCzeKEnbQynJdxGm4Hr3nUbrDIer4HD85Wh3BN1b+xPRu83ub+UroCEvt8fgbiz8iRRcK3imiAE1G14c47SOI3JP8ACpEvDl6mbg3CljH9xjv/ABN6Fz22LwHFkIv9Bq487nTg/wCncfzpn4etbrPa2Uck7Z3Ne9xe1mgHU4nlk9eqs0J44oQdxQrm5bghCFoKf//Z",cee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Ft={};const uee="Á",dee="á",fee="Ă",hee="ă",pee="∾",mee="∿",gee="∾̳",vee="Â",bee="â",yee="´",xee="А",Cee="а",wee="Æ",_ee="æ",See="⁡",kee="𝔄",Tee="𝔞",Pee="À",Ree="à",Eee="ℵ",$ee="ℵ",Aee="Α",Iee="α",Mee="Ā",zee="ā",Oee="⨿",Dee="&",Lee="&",Fee="⩕",Nee="⩓",Bee="∧",Hee="⩜",jee="⩘",Vee="⩚",Uee="∠",Wee="⦤",qee="∠",Kee="⦨",Gee="⦩",Yee="⦪",Xee="⦫",Zee="⦬",Jee="⦭",Qee="⦮",ete="⦯",tte="∡",nte="∟",ote="⊾",rte="⦝",ite="∢",ate="Å",ste="⍼",lte="Ą",cte="ą",ute="𝔸",dte="𝕒",fte="⩯",hte="≈",pte="⩰",mte="≊",gte="≋",vte="'",bte="⁡",yte="≈",xte="≊",Cte="Å",wte="å",_te="𝒜",Ste="𝒶",kte="≔",Tte="*",Pte="≈",Rte="≍",Ete="Ã",$te="ã",Ate="Ä",Ite="ä",Mte="∳",zte="⨑",Ote="≌",Dte="϶",Lte="‵",Fte="∽",Nte="⋍",Bte="∖",Hte="⫧",jte="⊽",Vte="⌅",Ute="⌆",Wte="⌅",qte="⎵",Kte="⎶",Gte="≌",Yte="Б",Xte="б",Zte="„",Jte="∵",Qte="∵",ene="∵",tne="⦰",nne="϶",one="ℬ",rne="ℬ",ine="Β",ane="β",sne="ℶ",lne="≬",cne="𝔅",une="𝔟",dne="⋂",fne="◯",hne="⋃",pne="⨀",mne="⨁",gne="⨂",vne="⨆",bne="★",yne="▽",xne="△",Cne="⨄",wne="⋁",_ne="⋀",Sne="⤍",kne="⧫",Tne="▪",Pne="▴",Rne="▾",Ene="◂",$ne="▸",Ane="␣",Ine="▒",Mne="░",zne="▓",One="█",Dne="=⃥",Lne="≡⃥",Fne="⫭",Nne="⌐",Bne="𝔹",Hne="𝕓",jne="⊥",Vne="⊥",Une="⋈",Wne="⧉",qne="┐",Kne="╕",Gne="╖",Yne="╗",Xne="┌",Zne="╒",Jne="╓",Qne="╔",eoe="─",toe="═",noe="┬",ooe="╤",roe="╥",ioe="╦",aoe="┴",soe="╧",loe="╨",coe="╩",uoe="⊟",doe="⊞",foe="⊠",hoe="┘",poe="╛",moe="╜",goe="╝",voe="└",boe="╘",yoe="╙",xoe="╚",Coe="│",woe="║",_oe="┼",Soe="╪",koe="╫",Toe="╬",Poe="┤",Roe="╡",Eoe="╢",$oe="╣",Aoe="├",Ioe="╞",Moe="╟",zoe="╠",Ooe="‵",Doe="˘",Loe="˘",Foe="¦",Noe="𝒷",Boe="ℬ",Hoe="⁏",joe="∽",Voe="⋍",Uoe="⧅",Woe="\\",qoe="⟈",Koe="•",Goe="•",Yoe="≎",Xoe="⪮",Zoe="≏",Joe="≎",Qoe="≏",ere="Ć",tre="ć",nre="⩄",ore="⩉",rre="⩋",ire="∩",are="⋒",sre="⩇",lre="⩀",cre="ⅅ",ure="∩︀",dre="⁁",fre="ˇ",hre="ℭ",pre="⩍",mre="Č",gre="č",vre="Ç",bre="ç",yre="Ĉ",xre="ĉ",Cre="∰",wre="⩌",_re="⩐",Sre="Ċ",kre="ċ",Tre="¸",Pre="¸",Rre="⦲",Ere="¢",$re="·",Are="·",Ire="𝔠",Mre="ℭ",zre="Ч",Ore="ч",Dre="✓",Lre="✓",Fre="Χ",Nre="χ",Bre="ˆ",Hre="≗",jre="↺",Vre="↻",Ure="⊛",Wre="⊚",qre="⊝",Kre="⊙",Gre="®",Yre="Ⓢ",Xre="⊖",Zre="⊕",Jre="⊗",Qre="○",eie="⧃",tie="≗",nie="⨐",oie="⫯",rie="⧂",iie="∲",aie="”",sie="’",lie="♣",cie="♣",uie=":",die="∷",fie="⩴",hie="≔",pie="≔",mie=",",gie="@",vie="∁",bie="∘",yie="∁",xie="ℂ",Cie="≅",wie="⩭",_ie="≡",Sie="∮",kie="∯",Tie="∮",Pie="𝕔",Rie="ℂ",Eie="∐",$ie="∐",Aie="©",Iie="©",Mie="℗",zie="∳",Oie="↵",Die="✗",Lie="⨯",Fie="𝒞",Nie="𝒸",Bie="⫏",Hie="⫑",jie="⫐",Vie="⫒",Uie="⋯",Wie="⤸",qie="⤵",Kie="⋞",Gie="⋟",Yie="↶",Xie="⤽",Zie="⩈",Jie="⩆",Qie="≍",eae="∪",tae="⋓",nae="⩊",oae="⊍",rae="⩅",iae="∪︀",aae="↷",sae="⤼",lae="⋞",cae="⋟",uae="⋎",dae="⋏",fae="¤",hae="↶",pae="↷",mae="⋎",gae="⋏",vae="∲",bae="∱",yae="⌭",xae="†",Cae="‡",wae="ℸ",_ae="↓",Sae="↡",kae="⇓",Tae="‐",Pae="⫤",Rae="⊣",Eae="⤏",$ae="˝",Aae="Ď",Iae="ď",Mae="Д",zae="д",Oae="‡",Dae="⇊",Lae="ⅅ",Fae="ⅆ",Nae="⤑",Bae="⩷",Hae="°",jae="∇",Vae="Δ",Uae="δ",Wae="⦱",qae="⥿",Kae="𝔇",Gae="𝔡",Yae="⥥",Xae="⇃",Zae="⇂",Jae="´",Qae="˙",ese="˝",tse="`",nse="˜",ose="⋄",rse="⋄",ise="⋄",ase="♦",sse="♦",lse="¨",cse="ⅆ",use="ϝ",dse="⋲",fse="÷",hse="÷",pse="⋇",mse="⋇",gse="Ђ",vse="ђ",bse="⌞",yse="⌍",xse="$",Cse="𝔻",wse="𝕕",_se="¨",Sse="˙",kse="⃜",Tse="≐",Pse="≑",Rse="≐",Ese="∸",$se="∔",Ase="⊡",Ise="⌆",Mse="∯",zse="¨",Ose="⇓",Dse="⇐",Lse="⇔",Fse="⫤",Nse="⟸",Bse="⟺",Hse="⟹",jse="⇒",Vse="⊨",Use="⇑",Wse="⇕",qse="∥",Kse="⤓",Gse="↓",Yse="↓",Xse="⇓",Zse="⇵",Jse="̑",Qse="⇊",ele="⇃",tle="⇂",nle="⥐",ole="⥞",rle="⥖",ile="↽",ale="⥟",sle="⥗",lle="⇁",cle="↧",ule="⊤",dle="⤐",fle="⌟",hle="⌌",ple="𝒟",mle="𝒹",gle="Ѕ",vle="ѕ",ble="⧶",yle="Đ",xle="đ",Cle="⋱",wle="▿",_le="▾",Sle="⇵",kle="⥯",Tle="⦦",Ple="Џ",Rle="џ",Ele="⟿",$le="É",Ale="é",Ile="⩮",Mle="Ě",zle="ě",Ole="Ê",Dle="ê",Lle="≖",Fle="≕",Nle="Э",Ble="э",Hle="⩷",jle="Ė",Vle="ė",Ule="≑",Wle="ⅇ",qle="≒",Kle="𝔈",Gle="𝔢",Yle="⪚",Xle="È",Zle="è",Jle="⪖",Qle="⪘",ece="⪙",tce="∈",nce="⏧",oce="ℓ",rce="⪕",ice="⪗",ace="Ē",sce="ē",lce="∅",cce="∅",uce="◻",dce="∅",fce="▫",hce=" ",pce=" ",mce=" ",gce="Ŋ",vce="ŋ",bce=" ",yce="Ę",xce="ę",Cce="𝔼",wce="𝕖",_ce="⋕",Sce="⧣",kce="⩱",Tce="ε",Pce="Ε",Rce="ε",Ece="ϵ",$ce="≖",Ace="≕",Ice="≂",Mce="⪖",zce="⪕",Oce="⩵",Dce="=",Lce="≂",Fce="≟",Nce="⇌",Bce="≡",Hce="⩸",jce="⧥",Vce="⥱",Uce="≓",Wce="ℯ",qce="ℰ",Kce="≐",Gce="⩳",Yce="≂",Xce="Η",Zce="η",Jce="Ð",Qce="ð",eue="Ë",tue="ë",nue="€",oue="!",rue="∃",iue="∃",aue="ℰ",sue="ⅇ",lue="ⅇ",cue="≒",uue="Ф",due="ф",fue="♀",hue="ffi",pue="ff",mue="ffl",gue="𝔉",vue="𝔣",bue="fi",yue="◼",xue="▪",Cue="fj",wue="♭",_ue="fl",Sue="▱",kue="ƒ",Tue="𝔽",Pue="𝕗",Rue="∀",Eue="∀",$ue="⋔",Aue="⫙",Iue="ℱ",Mue="⨍",zue="½",Oue="⅓",Due="¼",Lue="⅕",Fue="⅙",Nue="⅛",Bue="⅔",Hue="⅖",jue="¾",Vue="⅗",Uue="⅜",Wue="⅘",que="⅚",Kue="⅝",Gue="⅞",Yue="⁄",Xue="⌢",Zue="𝒻",Jue="ℱ",Que="ǵ",ede="Γ",tde="γ",nde="Ϝ",ode="ϝ",rde="⪆",ide="Ğ",ade="ğ",sde="Ģ",lde="Ĝ",cde="ĝ",ude="Г",dde="г",fde="Ġ",hde="ġ",pde="≥",mde="≧",gde="⪌",vde="⋛",bde="≥",yde="≧",xde="⩾",Cde="⪩",wde="⩾",_de="⪀",Sde="⪂",kde="⪄",Tde="⋛︀",Pde="⪔",Rde="𝔊",Ede="𝔤",$de="≫",Ade="⋙",Ide="⋙",Mde="ℷ",zde="Ѓ",Ode="ѓ",Dde="⪥",Lde="≷",Fde="⪒",Nde="⪤",Bde="⪊",Hde="⪊",jde="⪈",Vde="≩",Ude="⪈",Wde="≩",qde="⋧",Kde="𝔾",Gde="𝕘",Yde="`",Xde="≥",Zde="⋛",Jde="≧",Qde="⪢",efe="≷",tfe="⩾",nfe="≳",ofe="𝒢",rfe="ℊ",ife="≳",afe="⪎",sfe="⪐",lfe="⪧",cfe="⩺",ufe=">",dfe=">",ffe="≫",hfe="⋗",pfe="⦕",mfe="⩼",gfe="⪆",vfe="⥸",bfe="⋗",yfe="⋛",xfe="⪌",Cfe="≷",wfe="≳",_fe="≩︀",Sfe="≩︀",kfe="ˇ",Tfe=" ",Pfe="½",Rfe="ℋ",Efe="Ъ",$fe="ъ",Afe="⥈",Ife="↔",Mfe="⇔",zfe="↭",Ofe="^",Dfe="ℏ",Lfe="Ĥ",Ffe="ĥ",Nfe="♥",Bfe="♥",Hfe="…",jfe="⊹",Vfe="𝔥",Ufe="ℌ",Wfe="ℋ",qfe="⤥",Kfe="⤦",Gfe="⇿",Yfe="∻",Xfe="↩",Zfe="↪",Jfe="𝕙",Qfe="ℍ",ehe="―",the="─",nhe="𝒽",ohe="ℋ",rhe="ℏ",ihe="Ħ",ahe="ħ",she="≎",lhe="≏",che="⁃",uhe="‐",dhe="Í",fhe="í",hhe="⁣",phe="Î",mhe="î",ghe="И",vhe="и",bhe="İ",yhe="Е",xhe="е",Che="¡",whe="⇔",_he="𝔦",She="ℑ",khe="Ì",The="ì",Phe="ⅈ",Rhe="⨌",Ehe="∭",$he="⧜",Ahe="℩",Ihe="IJ",Mhe="ij",zhe="Ī",Ohe="ī",Dhe="ℑ",Lhe="ⅈ",Fhe="ℐ",Nhe="ℑ",Bhe="ı",Hhe="ℑ",jhe="⊷",Vhe="Ƶ",Uhe="⇒",Whe="℅",qhe="∞",Khe="⧝",Ghe="ı",Yhe="⊺",Xhe="∫",Zhe="∬",Jhe="ℤ",Qhe="∫",epe="⊺",tpe="⋂",npe="⨗",ope="⨼",rpe="⁣",ipe="⁢",ape="Ё",spe="ё",lpe="Į",cpe="į",upe="𝕀",dpe="𝕚",fpe="Ι",hpe="ι",ppe="⨼",mpe="¿",gpe="𝒾",vpe="ℐ",bpe="∈",ype="⋵",xpe="⋹",Cpe="⋴",wpe="⋳",_pe="∈",Spe="⁢",kpe="Ĩ",Tpe="ĩ",Ppe="І",Rpe="і",Epe="Ï",$pe="ï",Ape="Ĵ",Ipe="ĵ",Mpe="Й",zpe="й",Ope="𝔍",Dpe="𝔧",Lpe="ȷ",Fpe="𝕁",Npe="𝕛",Bpe="𝒥",Hpe="𝒿",jpe="Ј",Vpe="ј",Upe="Є",Wpe="є",qpe="Κ",Kpe="κ",Gpe="ϰ",Ype="Ķ",Xpe="ķ",Zpe="К",Jpe="к",Qpe="𝔎",eme="𝔨",tme="ĸ",nme="Х",ome="х",rme="Ќ",ime="ќ",ame="𝕂",sme="𝕜",lme="𝒦",cme="𝓀",ume="⇚",dme="Ĺ",fme="ĺ",hme="⦴",pme="ℒ",mme="Λ",gme="λ",vme="⟨",bme="⟪",yme="⦑",xme="⟨",Cme="⪅",wme="ℒ",_me="«",Sme="⇤",kme="⤟",Tme="←",Pme="↞",Rme="⇐",Eme="⤝",$me="↩",Ame="↫",Ime="⤹",Mme="⥳",zme="↢",Ome="⤙",Dme="⤛",Lme="⪫",Fme="⪭",Nme="⪭︀",Bme="⤌",Hme="⤎",jme="❲",Vme="{",Ume="[",Wme="⦋",qme="⦏",Kme="⦍",Gme="Ľ",Yme="ľ",Xme="Ļ",Zme="ļ",Jme="⌈",Qme="{",ege="Л",tge="л",nge="⤶",oge="“",rge="„",ige="⥧",age="⥋",sge="↲",lge="≤",cge="≦",uge="⟨",dge="⇤",fge="←",hge="←",pge="⇐",mge="⇆",gge="↢",vge="⌈",bge="⟦",yge="⥡",xge="⥙",Cge="⇃",wge="⌊",_ge="↽",Sge="↼",kge="⇇",Tge="↔",Pge="↔",Rge="⇔",Ege="⇆",$ge="⇋",Age="↭",Ige="⥎",Mge="↤",zge="⊣",Oge="⥚",Dge="⋋",Lge="⧏",Fge="⊲",Nge="⊴",Bge="⥑",Hge="⥠",jge="⥘",Vge="↿",Uge="⥒",Wge="↼",qge="⪋",Kge="⋚",Gge="≤",Yge="≦",Xge="⩽",Zge="⪨",Jge="⩽",Qge="⩿",eve="⪁",tve="⪃",nve="⋚︀",ove="⪓",rve="⪅",ive="⋖",ave="⋚",sve="⪋",lve="⋚",cve="≦",uve="≶",dve="≶",fve="⪡",hve="≲",pve="⩽",mve="≲",gve="⥼",vve="⌊",bve="𝔏",yve="𝔩",xve="≶",Cve="⪑",wve="⥢",_ve="↽",Sve="↼",kve="⥪",Tve="▄",Pve="Љ",Rve="љ",Eve="⇇",$ve="≪",Ave="⋘",Ive="⌞",Mve="⇚",zve="⥫",Ove="◺",Dve="Ŀ",Lve="ŀ",Fve="⎰",Nve="⎰",Bve="⪉",Hve="⪉",jve="⪇",Vve="≨",Uve="⪇",Wve="≨",qve="⋦",Kve="⟬",Gve="⇽",Yve="⟦",Xve="⟵",Zve="⟵",Jve="⟸",Qve="⟷",ebe="⟷",tbe="⟺",nbe="⟼",obe="⟶",rbe="⟶",ibe="⟹",abe="↫",sbe="↬",lbe="⦅",cbe="𝕃",ube="𝕝",dbe="⨭",fbe="⨴",hbe="∗",pbe="_",mbe="↙",gbe="↘",vbe="◊",bbe="◊",ybe="⧫",xbe="(",Cbe="⦓",wbe="⇆",_be="⌟",Sbe="⇋",kbe="⥭",Tbe="‎",Pbe="⊿",Rbe="‹",Ebe="𝓁",$be="ℒ",Abe="↰",Ibe="↰",Mbe="≲",zbe="⪍",Obe="⪏",Dbe="[",Lbe="‘",Fbe="‚",Nbe="Ł",Bbe="ł",Hbe="⪦",jbe="⩹",Vbe="<",Ube="<",Wbe="≪",qbe="⋖",Kbe="⋋",Gbe="⋉",Ybe="⥶",Xbe="⩻",Zbe="◃",Jbe="⊴",Qbe="◂",e0e="⦖",t0e="⥊",n0e="⥦",o0e="≨︀",r0e="≨︀",i0e="¯",a0e="♂",s0e="✠",l0e="✠",c0e="↦",u0e="↦",d0e="↧",f0e="↤",h0e="↥",p0e="▮",m0e="⨩",g0e="М",v0e="м",b0e="—",y0e="∺",x0e="∡",C0e=" ",w0e="ℳ",_0e="𝔐",S0e="𝔪",k0e="℧",T0e="µ",P0e="*",R0e="⫰",E0e="∣",$0e="·",A0e="⊟",I0e="−",M0e="∸",z0e="⨪",O0e="∓",D0e="⫛",L0e="…",F0e="∓",N0e="⊧",B0e="𝕄",H0e="𝕞",j0e="∓",V0e="𝓂",U0e="ℳ",W0e="∾",q0e="Μ",K0e="μ",G0e="⊸",Y0e="⊸",X0e="∇",Z0e="Ń",J0e="ń",Q0e="∠⃒",e1e="≉",t1e="⩰̸",n1e="≋̸",o1e="ʼn",r1e="≉",i1e="♮",a1e="ℕ",s1e="♮",l1e=" ",c1e="≎̸",u1e="≏̸",d1e="⩃",f1e="Ň",h1e="ň",p1e="Ņ",m1e="ņ",g1e="≇",v1e="⩭̸",b1e="⩂",y1e="Н",x1e="н",C1e="–",w1e="⤤",_1e="↗",S1e="⇗",k1e="↗",T1e="≠",P1e="≐̸",R1e="​",E1e="​",$1e="​",A1e="​",I1e="≢",M1e="⤨",z1e="≂̸",O1e="≫",D1e="≪",L1e=` -`,F1e="∄",N1e="∄",B1e="𝔑",H1e="𝔫",j1e="≧̸",V1e="≱",U1e="≱",W1e="≧̸",q1e="⩾̸",K1e="⩾̸",G1e="⋙̸",Y1e="≵",X1e="≫⃒",Z1e="≯",J1e="≯",Q1e="≫̸",eye="↮",tye="⇎",nye="⫲",oye="∋",rye="⋼",iye="⋺",aye="∋",sye="Њ",lye="њ",cye="↚",uye="⇍",dye="‥",fye="≦̸",hye="≰",pye="↚",mye="⇍",gye="↮",vye="⇎",bye="≰",yye="≦̸",xye="⩽̸",Cye="⩽̸",wye="≮",_ye="⋘̸",Sye="≴",kye="≪⃒",Tye="≮",Pye="⋪",Rye="⋬",Eye="≪̸",$ye="∤",Aye="⁠",Iye=" ",Mye="𝕟",zye="ℕ",Oye="⫬",Dye="¬",Lye="≢",Fye="≭",Nye="∦",Bye="∉",Hye="≠",jye="≂̸",Vye="∄",Uye="≯",Wye="≱",qye="≧̸",Kye="≫̸",Gye="≹",Yye="⩾̸",Xye="≵",Zye="≎̸",Jye="≏̸",Qye="∉",exe="⋵̸",txe="⋹̸",nxe="∉",oxe="⋷",rxe="⋶",ixe="⧏̸",axe="⋪",sxe="⋬",lxe="≮",cxe="≰",uxe="≸",dxe="≪̸",fxe="⩽̸",hxe="≴",pxe="⪢̸",mxe="⪡̸",gxe="∌",vxe="∌",bxe="⋾",yxe="⋽",xxe="⊀",Cxe="⪯̸",wxe="⋠",_xe="∌",Sxe="⧐̸",kxe="⋫",Txe="⋭",Pxe="⊏̸",Rxe="⋢",Exe="⊐̸",$xe="⋣",Axe="⊂⃒",Ixe="⊈",Mxe="⊁",zxe="⪰̸",Oxe="⋡",Dxe="≿̸",Lxe="⊃⃒",Fxe="⊉",Nxe="≁",Bxe="≄",Hxe="≇",jxe="≉",Vxe="∤",Uxe="∦",Wxe="∦",qxe="⫽⃥",Kxe="∂̸",Gxe="⨔",Yxe="⊀",Xxe="⋠",Zxe="⊀",Jxe="⪯̸",Qxe="⪯̸",eCe="⤳̸",tCe="↛",nCe="⇏",oCe="↝̸",rCe="↛",iCe="⇏",aCe="⋫",sCe="⋭",lCe="⊁",cCe="⋡",uCe="⪰̸",dCe="𝒩",fCe="𝓃",hCe="∤",pCe="∦",mCe="≁",gCe="≄",vCe="≄",bCe="∤",yCe="∦",xCe="⋢",CCe="⋣",wCe="⊄",_Ce="⫅̸",SCe="⊈",kCe="⊂⃒",TCe="⊈",PCe="⫅̸",RCe="⊁",ECe="⪰̸",$Ce="⊅",ACe="⫆̸",ICe="⊉",MCe="⊃⃒",zCe="⊉",OCe="⫆̸",DCe="≹",LCe="Ñ",FCe="ñ",NCe="≸",BCe="⋪",HCe="⋬",jCe="⋫",VCe="⋭",UCe="Ν",WCe="ν",qCe="#",KCe="№",GCe=" ",YCe="≍⃒",XCe="⊬",ZCe="⊭",JCe="⊮",QCe="⊯",ewe="≥⃒",twe=">⃒",nwe="⤄",owe="⧞",rwe="⤂",iwe="≤⃒",awe="<⃒",swe="⊴⃒",lwe="⤃",cwe="⊵⃒",uwe="∼⃒",dwe="⤣",fwe="↖",hwe="⇖",pwe="↖",mwe="⤧",gwe="Ó",vwe="ó",bwe="⊛",ywe="Ô",xwe="ô",Cwe="⊚",wwe="О",_we="о",Swe="⊝",kwe="Ő",Twe="ő",Pwe="⨸",Rwe="⊙",Ewe="⦼",$we="Œ",Awe="œ",Iwe="⦿",Mwe="𝔒",zwe="𝔬",Owe="˛",Dwe="Ò",Lwe="ò",Fwe="⧁",Nwe="⦵",Bwe="Ω",Hwe="∮",jwe="↺",Vwe="⦾",Uwe="⦻",Wwe="‾",qwe="⧀",Kwe="Ō",Gwe="ō",Ywe="Ω",Xwe="ω",Zwe="Ο",Jwe="ο",Qwe="⦶",e_e="⊖",t_e="𝕆",n_e="𝕠",o_e="⦷",r_e="“",i_e="‘",a_e="⦹",s_e="⊕",l_e="↻",c_e="⩔",u_e="∨",d_e="⩝",f_e="ℴ",h_e="ℴ",p_e="ª",m_e="º",g_e="⊶",v_e="⩖",b_e="⩗",y_e="⩛",x_e="Ⓢ",C_e="𝒪",w_e="ℴ",__e="Ø",S_e="ø",k_e="⊘",T_e="Õ",P_e="õ",R_e="⨶",E_e="⨷",$_e="⊗",A_e="Ö",I_e="ö",M_e="⌽",z_e="‾",O_e="⏞",D_e="⎴",L_e="⏜",F_e="¶",N_e="∥",B_e="∥",H_e="⫳",j_e="⫽",V_e="∂",U_e="∂",W_e="П",q_e="п",K_e="%",G_e=".",Y_e="‰",X_e="⊥",Z_e="‱",J_e="𝔓",Q_e="𝔭",e2e="Φ",t2e="φ",n2e="ϕ",o2e="ℳ",r2e="☎",i2e="Π",a2e="π",s2e="⋔",l2e="ϖ",c2e="ℏ",u2e="ℎ",d2e="ℏ",f2e="⨣",h2e="⊞",p2e="⨢",m2e="+",g2e="∔",v2e="⨥",b2e="⩲",y2e="±",x2e="±",C2e="⨦",w2e="⨧",_2e="±",S2e="ℌ",k2e="⨕",T2e="𝕡",P2e="ℙ",R2e="£",E2e="⪷",$2e="⪻",A2e="≺",I2e="≼",M2e="⪷",z2e="≺",O2e="≼",D2e="≺",L2e="⪯",F2e="≼",N2e="≾",B2e="⪯",H2e="⪹",j2e="⪵",V2e="⋨",U2e="⪯",W2e="⪳",q2e="≾",K2e="′",G2e="″",Y2e="ℙ",X2e="⪹",Z2e="⪵",J2e="⋨",Q2e="∏",eSe="∏",tSe="⌮",nSe="⌒",oSe="⌓",rSe="∝",iSe="∝",aSe="∷",sSe="∝",lSe="≾",cSe="⊰",uSe="𝒫",dSe="𝓅",fSe="Ψ",hSe="ψ",pSe=" ",mSe="𝔔",gSe="𝔮",vSe="⨌",bSe="𝕢",ySe="ℚ",xSe="⁗",CSe="𝒬",wSe="𝓆",_Se="ℍ",SSe="⨖",kSe="?",TSe="≟",PSe='"',RSe='"',ESe="⇛",$Se="∽̱",ASe="Ŕ",ISe="ŕ",MSe="√",zSe="⦳",OSe="⟩",DSe="⟫",LSe="⦒",FSe="⦥",NSe="⟩",BSe="»",HSe="⥵",jSe="⇥",VSe="⤠",USe="⤳",WSe="→",qSe="↠",KSe="⇒",GSe="⤞",YSe="↪",XSe="↬",ZSe="⥅",JSe="⥴",QSe="⤖",eke="↣",tke="↝",nke="⤚",oke="⤜",rke="∶",ike="ℚ",ake="⤍",ske="⤏",lke="⤐",cke="❳",uke="}",dke="]",fke="⦌",hke="⦎",pke="⦐",mke="Ř",gke="ř",vke="Ŗ",bke="ŗ",yke="⌉",xke="}",Cke="Р",wke="р",_ke="⤷",Ske="⥩",kke="”",Tke="”",Pke="↳",Rke="ℜ",Eke="ℛ",$ke="ℜ",Ake="ℝ",Ike="ℜ",Mke="▭",zke="®",Oke="®",Dke="∋",Lke="⇋",Fke="⥯",Nke="⥽",Bke="⌋",Hke="𝔯",jke="ℜ",Vke="⥤",Uke="⇁",Wke="⇀",qke="⥬",Kke="Ρ",Gke="ρ",Yke="ϱ",Xke="⟩",Zke="⇥",Jke="→",Qke="→",e3e="⇒",t3e="⇄",n3e="↣",o3e="⌉",r3e="⟧",i3e="⥝",a3e="⥕",s3e="⇂",l3e="⌋",c3e="⇁",u3e="⇀",d3e="⇄",f3e="⇌",h3e="⇉",p3e="↝",m3e="↦",g3e="⊢",v3e="⥛",b3e="⋌",y3e="⧐",x3e="⊳",C3e="⊵",w3e="⥏",_3e="⥜",S3e="⥔",k3e="↾",T3e="⥓",P3e="⇀",R3e="˚",E3e="≓",$3e="⇄",A3e="⇌",I3e="‏",M3e="⎱",z3e="⎱",O3e="⫮",D3e="⟭",L3e="⇾",F3e="⟧",N3e="⦆",B3e="𝕣",H3e="ℝ",j3e="⨮",V3e="⨵",U3e="⥰",W3e=")",q3e="⦔",K3e="⨒",G3e="⇉",Y3e="⇛",X3e="›",Z3e="𝓇",J3e="ℛ",Q3e="↱",e4e="↱",t4e="]",n4e="’",o4e="’",r4e="⋌",i4e="⋊",a4e="▹",s4e="⊵",l4e="▸",c4e="⧎",u4e="⧴",d4e="⥨",f4e="℞",h4e="Ś",p4e="ś",m4e="‚",g4e="⪸",v4e="Š",b4e="š",y4e="⪼",x4e="≻",C4e="≽",w4e="⪰",_4e="⪴",S4e="Ş",k4e="ş",T4e="Ŝ",P4e="ŝ",R4e="⪺",E4e="⪶",$4e="⋩",A4e="⨓",I4e="≿",M4e="С",z4e="с",O4e="⊡",D4e="⋅",L4e="⩦",F4e="⤥",N4e="↘",B4e="⇘",H4e="↘",j4e="§",V4e=";",U4e="⤩",W4e="∖",q4e="∖",K4e="✶",G4e="𝔖",Y4e="𝔰",X4e="⌢",Z4e="♯",J4e="Щ",Q4e="щ",e5e="Ш",t5e="ш",n5e="↓",o5e="←",r5e="∣",i5e="∥",a5e="→",s5e="↑",l5e="­",c5e="Σ",u5e="σ",d5e="ς",f5e="ς",h5e="∼",p5e="⩪",m5e="≃",g5e="≃",v5e="⪞",b5e="⪠",y5e="⪝",x5e="⪟",C5e="≆",w5e="⨤",_5e="⥲",S5e="←",k5e="∘",T5e="∖",P5e="⨳",R5e="⧤",E5e="∣",$5e="⌣",A5e="⪪",I5e="⪬",M5e="⪬︀",z5e="Ь",O5e="ь",D5e="⌿",L5e="⧄",F5e="/",N5e="𝕊",B5e="𝕤",H5e="♠",j5e="♠",V5e="∥",U5e="⊓",W5e="⊓︀",q5e="⊔",K5e="⊔︀",G5e="√",Y5e="⊏",X5e="⊑",Z5e="⊏",J5e="⊑",Q5e="⊐",eTe="⊒",tTe="⊐",nTe="⊒",oTe="□",rTe="□",iTe="⊓",aTe="⊏",sTe="⊑",lTe="⊐",cTe="⊒",uTe="⊔",dTe="▪",fTe="□",hTe="▪",pTe="→",mTe="𝒮",gTe="𝓈",vTe="∖",bTe="⌣",yTe="⋆",xTe="⋆",CTe="☆",wTe="★",_Te="ϵ",STe="ϕ",kTe="¯",TTe="⊂",PTe="⋐",RTe="⪽",ETe="⫅",$Te="⊆",ATe="⫃",ITe="⫁",MTe="⫋",zTe="⊊",OTe="⪿",DTe="⥹",LTe="⊂",FTe="⋐",NTe="⊆",BTe="⫅",HTe="⊆",jTe="⊊",VTe="⫋",UTe="⫇",WTe="⫕",qTe="⫓",KTe="⪸",GTe="≻",YTe="≽",XTe="≻",ZTe="⪰",JTe="≽",QTe="≿",ePe="⪰",tPe="⪺",nPe="⪶",oPe="⋩",rPe="≿",iPe="∋",aPe="∑",sPe="∑",lPe="♪",cPe="¹",uPe="²",dPe="³",fPe="⊃",hPe="⋑",pPe="⪾",mPe="⫘",gPe="⫆",vPe="⊇",bPe="⫄",yPe="⊃",xPe="⊇",CPe="⟉",wPe="⫗",_Pe="⥻",SPe="⫂",kPe="⫌",TPe="⊋",PPe="⫀",RPe="⊃",EPe="⋑",$Pe="⊇",APe="⫆",IPe="⊋",MPe="⫌",zPe="⫈",OPe="⫔",DPe="⫖",LPe="⤦",FPe="↙",NPe="⇙",BPe="↙",HPe="⤪",jPe="ß",VPe=" ",UPe="⌖",WPe="Τ",qPe="τ",KPe="⎴",GPe="Ť",YPe="ť",XPe="Ţ",ZPe="ţ",JPe="Т",QPe="т",eRe="⃛",tRe="⌕",nRe="𝔗",oRe="𝔱",rRe="∴",iRe="∴",aRe="∴",sRe="Θ",lRe="θ",cRe="ϑ",uRe="ϑ",dRe="≈",fRe="∼",hRe="  ",pRe=" ",mRe=" ",gRe="≈",vRe="∼",bRe="Þ",yRe="þ",xRe="˜",CRe="∼",wRe="≃",_Re="≅",SRe="≈",kRe="⨱",TRe="⊠",PRe="×",RRe="⨰",ERe="∭",$Re="⤨",ARe="⌶",IRe="⫱",MRe="⊤",zRe="𝕋",ORe="𝕥",DRe="⫚",LRe="⤩",FRe="‴",NRe="™",BRe="™",HRe="▵",jRe="▿",VRe="◃",URe="⊴",WRe="≜",qRe="▹",KRe="⊵",GRe="◬",YRe="≜",XRe="⨺",ZRe="⃛",JRe="⨹",QRe="⧍",eEe="⨻",tEe="⏢",nEe="𝒯",oEe="𝓉",rEe="Ц",iEe="ц",aEe="Ћ",sEe="ћ",lEe="Ŧ",cEe="ŧ",uEe="≬",dEe="↞",fEe="↠",hEe="Ú",pEe="ú",mEe="↑",gEe="↟",vEe="⇑",bEe="⥉",yEe="Ў",xEe="ў",CEe="Ŭ",wEe="ŭ",_Ee="Û",SEe="û",kEe="У",TEe="у",PEe="⇅",REe="Ű",EEe="ű",$Ee="⥮",AEe="⥾",IEe="𝔘",MEe="𝔲",zEe="Ù",OEe="ù",DEe="⥣",LEe="↿",FEe="↾",NEe="▀",BEe="⌜",HEe="⌜",jEe="⌏",VEe="◸",UEe="Ū",WEe="ū",qEe="¨",KEe="_",GEe="⏟",YEe="⎵",XEe="⏝",ZEe="⋃",JEe="⊎",QEe="Ų",e$e="ų",t$e="𝕌",n$e="𝕦",o$e="⤒",r$e="↑",i$e="↑",a$e="⇑",s$e="⇅",l$e="↕",c$e="↕",u$e="⇕",d$e="⥮",f$e="↿",h$e="↾",p$e="⊎",m$e="↖",g$e="↗",v$e="υ",b$e="ϒ",y$e="ϒ",x$e="Υ",C$e="υ",w$e="↥",_$e="⊥",S$e="⇈",k$e="⌝",T$e="⌝",P$e="⌎",R$e="Ů",E$e="ů",$$e="◹",A$e="𝒰",I$e="𝓊",M$e="⋰",z$e="Ũ",O$e="ũ",D$e="▵",L$e="▴",F$e="⇈",N$e="Ü",B$e="ü",H$e="⦧",j$e="⦜",V$e="ϵ",U$e="ϰ",W$e="∅",q$e="ϕ",K$e="ϖ",G$e="∝",Y$e="↕",X$e="⇕",Z$e="ϱ",J$e="ς",Q$e="⊊︀",eAe="⫋︀",tAe="⊋︀",nAe="⫌︀",oAe="ϑ",rAe="⊲",iAe="⊳",aAe="⫨",sAe="⫫",lAe="⫩",cAe="В",uAe="в",dAe="⊢",fAe="⊨",hAe="⊩",pAe="⊫",mAe="⫦",gAe="⊻",vAe="∨",bAe="⋁",yAe="≚",xAe="⋮",CAe="|",wAe="‖",_Ae="|",SAe="‖",kAe="∣",TAe="|",PAe="❘",RAe="≀",EAe=" ",$Ae="𝔙",AAe="𝔳",IAe="⊲",MAe="⊂⃒",zAe="⊃⃒",OAe="𝕍",DAe="𝕧",LAe="∝",FAe="⊳",NAe="𝒱",BAe="𝓋",HAe="⫋︀",jAe="⊊︀",VAe="⫌︀",UAe="⊋︀",WAe="⊪",qAe="⦚",KAe="Ŵ",GAe="ŵ",YAe="⩟",XAe="∧",ZAe="⋀",JAe="≙",QAe="℘",e6e="𝔚",t6e="𝔴",n6e="𝕎",o6e="𝕨",r6e="℘",i6e="≀",a6e="≀",s6e="𝒲",l6e="𝓌",c6e="⋂",u6e="◯",d6e="⋃",f6e="▽",h6e="𝔛",p6e="𝔵",m6e="⟷",g6e="⟺",v6e="Ξ",b6e="ξ",y6e="⟵",x6e="⟸",C6e="⟼",w6e="⋻",_6e="⨀",S6e="𝕏",k6e="𝕩",T6e="⨁",P6e="⨂",R6e="⟶",E6e="⟹",$6e="𝒳",A6e="𝓍",I6e="⨆",M6e="⨄",z6e="△",O6e="⋁",D6e="⋀",L6e="Ý",F6e="ý",N6e="Я",B6e="я",H6e="Ŷ",j6e="ŷ",V6e="Ы",U6e="ы",W6e="¥",q6e="𝔜",K6e="𝔶",G6e="Ї",Y6e="ї",X6e="𝕐",Z6e="𝕪",J6e="𝒴",Q6e="𝓎",e8e="Ю",t8e="ю",n8e="ÿ",o8e="Ÿ",r8e="Ź",i8e="ź",a8e="Ž",s8e="ž",l8e="З",c8e="з",u8e="Ż",d8e="ż",f8e="ℨ",h8e="​",p8e="Ζ",m8e="ζ",g8e="𝔷",v8e="ℨ",b8e="Ж",y8e="ж",x8e="⇝",C8e="𝕫",w8e="ℤ",_8e="𝒵",S8e="𝓏",k8e="‍",T8e="‌",P8e={Aacute:uee,aacute:dee,Abreve:fee,abreve:hee,ac:pee,acd:mee,acE:gee,Acirc:vee,acirc:bee,acute:yee,Acy:xee,acy:Cee,AElig:wee,aelig:_ee,af:See,Afr:kee,afr:Tee,Agrave:Pee,agrave:Ree,alefsym:Eee,aleph:$ee,Alpha:Aee,alpha:Iee,Amacr:Mee,amacr:zee,amalg:Oee,amp:Dee,AMP:Lee,andand:Fee,And:Nee,and:Bee,andd:Hee,andslope:jee,andv:Vee,ang:Uee,ange:Wee,angle:qee,angmsdaa:Kee,angmsdab:Gee,angmsdac:Yee,angmsdad:Xee,angmsdae:Zee,angmsdaf:Jee,angmsdag:Qee,angmsdah:ete,angmsd:tte,angrt:nte,angrtvb:ote,angrtvbd:rte,angsph:ite,angst:ate,angzarr:ste,Aogon:lte,aogon:cte,Aopf:ute,aopf:dte,apacir:fte,ap:hte,apE:pte,ape:mte,apid:gte,apos:vte,ApplyFunction:bte,approx:yte,approxeq:xte,Aring:Cte,aring:wte,Ascr:_te,ascr:Ste,Assign:kte,ast:Tte,asymp:Pte,asympeq:Rte,Atilde:Ete,atilde:$te,Auml:Ate,auml:Ite,awconint:Mte,awint:zte,backcong:Ote,backepsilon:Dte,backprime:Lte,backsim:Fte,backsimeq:Nte,Backslash:Bte,Barv:Hte,barvee:jte,barwed:Vte,Barwed:Ute,barwedge:Wte,bbrk:qte,bbrktbrk:Kte,bcong:Gte,Bcy:Yte,bcy:Xte,bdquo:Zte,becaus:Jte,because:Qte,Because:ene,bemptyv:tne,bepsi:nne,bernou:one,Bernoullis:rne,Beta:ine,beta:ane,beth:sne,between:lne,Bfr:cne,bfr:une,bigcap:dne,bigcirc:fne,bigcup:hne,bigodot:pne,bigoplus:mne,bigotimes:gne,bigsqcup:vne,bigstar:bne,bigtriangledown:yne,bigtriangleup:xne,biguplus:Cne,bigvee:wne,bigwedge:_ne,bkarow:Sne,blacklozenge:kne,blacksquare:Tne,blacktriangle:Pne,blacktriangledown:Rne,blacktriangleleft:Ene,blacktriangleright:$ne,blank:Ane,blk12:Ine,blk14:Mne,blk34:zne,block:One,bne:Dne,bnequiv:Lne,bNot:Fne,bnot:Nne,Bopf:Bne,bopf:Hne,bot:jne,bottom:Vne,bowtie:Une,boxbox:Wne,boxdl:qne,boxdL:Kne,boxDl:Gne,boxDL:Yne,boxdr:Xne,boxdR:Zne,boxDr:Jne,boxDR:Qne,boxh:eoe,boxH:toe,boxhd:noe,boxHd:ooe,boxhD:roe,boxHD:ioe,boxhu:aoe,boxHu:soe,boxhU:loe,boxHU:coe,boxminus:uoe,boxplus:doe,boxtimes:foe,boxul:hoe,boxuL:poe,boxUl:moe,boxUL:goe,boxur:voe,boxuR:boe,boxUr:yoe,boxUR:xoe,boxv:Coe,boxV:woe,boxvh:_oe,boxvH:Soe,boxVh:koe,boxVH:Toe,boxvl:Poe,boxvL:Roe,boxVl:Eoe,boxVL:$oe,boxvr:Aoe,boxvR:Ioe,boxVr:Moe,boxVR:zoe,bprime:Ooe,breve:Doe,Breve:Loe,brvbar:Foe,bscr:Noe,Bscr:Boe,bsemi:Hoe,bsim:joe,bsime:Voe,bsolb:Uoe,bsol:Woe,bsolhsub:qoe,bull:Koe,bullet:Goe,bump:Yoe,bumpE:Xoe,bumpe:Zoe,Bumpeq:Joe,bumpeq:Qoe,Cacute:ere,cacute:tre,capand:nre,capbrcup:ore,capcap:rre,cap:ire,Cap:are,capcup:sre,capdot:lre,CapitalDifferentialD:cre,caps:ure,caret:dre,caron:fre,Cayleys:hre,ccaps:pre,Ccaron:mre,ccaron:gre,Ccedil:vre,ccedil:bre,Ccirc:yre,ccirc:xre,Cconint:Cre,ccups:wre,ccupssm:_re,Cdot:Sre,cdot:kre,cedil:Tre,Cedilla:Pre,cemptyv:Rre,cent:Ere,centerdot:$re,CenterDot:Are,cfr:Ire,Cfr:Mre,CHcy:zre,chcy:Ore,check:Dre,checkmark:Lre,Chi:Fre,chi:Nre,circ:Bre,circeq:Hre,circlearrowleft:jre,circlearrowright:Vre,circledast:Ure,circledcirc:Wre,circleddash:qre,CircleDot:Kre,circledR:Gre,circledS:Yre,CircleMinus:Xre,CirclePlus:Zre,CircleTimes:Jre,cir:Qre,cirE:eie,cire:tie,cirfnint:nie,cirmid:oie,cirscir:rie,ClockwiseContourIntegral:iie,CloseCurlyDoubleQuote:aie,CloseCurlyQuote:sie,clubs:lie,clubsuit:cie,colon:uie,Colon:die,Colone:fie,colone:hie,coloneq:pie,comma:mie,commat:gie,comp:vie,compfn:bie,complement:yie,complexes:xie,cong:Cie,congdot:wie,Congruent:_ie,conint:Sie,Conint:kie,ContourIntegral:Tie,copf:Pie,Copf:Rie,coprod:Eie,Coproduct:$ie,copy:Aie,COPY:Iie,copysr:Mie,CounterClockwiseContourIntegral:zie,crarr:Oie,cross:Die,Cross:Lie,Cscr:Fie,cscr:Nie,csub:Bie,csube:Hie,csup:jie,csupe:Vie,ctdot:Uie,cudarrl:Wie,cudarrr:qie,cuepr:Kie,cuesc:Gie,cularr:Yie,cularrp:Xie,cupbrcap:Zie,cupcap:Jie,CupCap:Qie,cup:eae,Cup:tae,cupcup:nae,cupdot:oae,cupor:rae,cups:iae,curarr:aae,curarrm:sae,curlyeqprec:lae,curlyeqsucc:cae,curlyvee:uae,curlywedge:dae,curren:fae,curvearrowleft:hae,curvearrowright:pae,cuvee:mae,cuwed:gae,cwconint:vae,cwint:bae,cylcty:yae,dagger:xae,Dagger:Cae,daleth:wae,darr:_ae,Darr:Sae,dArr:kae,dash:Tae,Dashv:Pae,dashv:Rae,dbkarow:Eae,dblac:$ae,Dcaron:Aae,dcaron:Iae,Dcy:Mae,dcy:zae,ddagger:Oae,ddarr:Dae,DD:Lae,dd:Fae,DDotrahd:Nae,ddotseq:Bae,deg:Hae,Del:jae,Delta:Vae,delta:Uae,demptyv:Wae,dfisht:qae,Dfr:Kae,dfr:Gae,dHar:Yae,dharl:Xae,dharr:Zae,DiacriticalAcute:Jae,DiacriticalDot:Qae,DiacriticalDoubleAcute:ese,DiacriticalGrave:tse,DiacriticalTilde:nse,diam:ose,diamond:rse,Diamond:ise,diamondsuit:ase,diams:sse,die:lse,DifferentialD:cse,digamma:use,disin:dse,div:fse,divide:hse,divideontimes:pse,divonx:mse,DJcy:gse,djcy:vse,dlcorn:bse,dlcrop:yse,dollar:xse,Dopf:Cse,dopf:wse,Dot:_se,dot:Sse,DotDot:kse,doteq:Tse,doteqdot:Pse,DotEqual:Rse,dotminus:Ese,dotplus:$se,dotsquare:Ase,doublebarwedge:Ise,DoubleContourIntegral:Mse,DoubleDot:zse,DoubleDownArrow:Ose,DoubleLeftArrow:Dse,DoubleLeftRightArrow:Lse,DoubleLeftTee:Fse,DoubleLongLeftArrow:Nse,DoubleLongLeftRightArrow:Bse,DoubleLongRightArrow:Hse,DoubleRightArrow:jse,DoubleRightTee:Vse,DoubleUpArrow:Use,DoubleUpDownArrow:Wse,DoubleVerticalBar:qse,DownArrowBar:Kse,downarrow:Gse,DownArrow:Yse,Downarrow:Xse,DownArrowUpArrow:Zse,DownBreve:Jse,downdownarrows:Qse,downharpoonleft:ele,downharpoonright:tle,DownLeftRightVector:nle,DownLeftTeeVector:ole,DownLeftVectorBar:rle,DownLeftVector:ile,DownRightTeeVector:ale,DownRightVectorBar:sle,DownRightVector:lle,DownTeeArrow:cle,DownTee:ule,drbkarow:dle,drcorn:fle,drcrop:hle,Dscr:ple,dscr:mle,DScy:gle,dscy:vle,dsol:ble,Dstrok:yle,dstrok:xle,dtdot:Cle,dtri:wle,dtrif:_le,duarr:Sle,duhar:kle,dwangle:Tle,DZcy:Ple,dzcy:Rle,dzigrarr:Ele,Eacute:$le,eacute:Ale,easter:Ile,Ecaron:Mle,ecaron:zle,Ecirc:Ole,ecirc:Dle,ecir:Lle,ecolon:Fle,Ecy:Nle,ecy:Ble,eDDot:Hle,Edot:jle,edot:Vle,eDot:Ule,ee:Wle,efDot:qle,Efr:Kle,efr:Gle,eg:Yle,Egrave:Xle,egrave:Zle,egs:Jle,egsdot:Qle,el:ece,Element:tce,elinters:nce,ell:oce,els:rce,elsdot:ice,Emacr:ace,emacr:sce,empty:lce,emptyset:cce,EmptySmallSquare:uce,emptyv:dce,EmptyVerySmallSquare:fce,emsp13:hce,emsp14:pce,emsp:mce,ENG:gce,eng:vce,ensp:bce,Eogon:yce,eogon:xce,Eopf:Cce,eopf:wce,epar:_ce,eparsl:Sce,eplus:kce,epsi:Tce,Epsilon:Pce,epsilon:Rce,epsiv:Ece,eqcirc:$ce,eqcolon:Ace,eqsim:Ice,eqslantgtr:Mce,eqslantless:zce,Equal:Oce,equals:Dce,EqualTilde:Lce,equest:Fce,Equilibrium:Nce,equiv:Bce,equivDD:Hce,eqvparsl:jce,erarr:Vce,erDot:Uce,escr:Wce,Escr:qce,esdot:Kce,Esim:Gce,esim:Yce,Eta:Xce,eta:Zce,ETH:Jce,eth:Qce,Euml:eue,euml:tue,euro:nue,excl:oue,exist:rue,Exists:iue,expectation:aue,exponentiale:sue,ExponentialE:lue,fallingdotseq:cue,Fcy:uue,fcy:due,female:fue,ffilig:hue,fflig:pue,ffllig:mue,Ffr:gue,ffr:vue,filig:bue,FilledSmallSquare:yue,FilledVerySmallSquare:xue,fjlig:Cue,flat:wue,fllig:_ue,fltns:Sue,fnof:kue,Fopf:Tue,fopf:Pue,forall:Rue,ForAll:Eue,fork:$ue,forkv:Aue,Fouriertrf:Iue,fpartint:Mue,frac12:zue,frac13:Oue,frac14:Due,frac15:Lue,frac16:Fue,frac18:Nue,frac23:Bue,frac25:Hue,frac34:jue,frac35:Vue,frac38:Uue,frac45:Wue,frac56:que,frac58:Kue,frac78:Gue,frasl:Yue,frown:Xue,fscr:Zue,Fscr:Jue,gacute:Que,Gamma:ede,gamma:tde,Gammad:nde,gammad:ode,gap:rde,Gbreve:ide,gbreve:ade,Gcedil:sde,Gcirc:lde,gcirc:cde,Gcy:ude,gcy:dde,Gdot:fde,gdot:hde,ge:pde,gE:mde,gEl:gde,gel:vde,geq:bde,geqq:yde,geqslant:xde,gescc:Cde,ges:wde,gesdot:_de,gesdoto:Sde,gesdotol:kde,gesl:Tde,gesles:Pde,Gfr:Rde,gfr:Ede,gg:$de,Gg:Ade,ggg:Ide,gimel:Mde,GJcy:zde,gjcy:Ode,gla:Dde,gl:Lde,glE:Fde,glj:Nde,gnap:Bde,gnapprox:Hde,gne:jde,gnE:Vde,gneq:Ude,gneqq:Wde,gnsim:qde,Gopf:Kde,gopf:Gde,grave:Yde,GreaterEqual:Xde,GreaterEqualLess:Zde,GreaterFullEqual:Jde,GreaterGreater:Qde,GreaterLess:efe,GreaterSlantEqual:tfe,GreaterTilde:nfe,Gscr:ofe,gscr:rfe,gsim:ife,gsime:afe,gsiml:sfe,gtcc:lfe,gtcir:cfe,gt:ufe,GT:dfe,Gt:ffe,gtdot:hfe,gtlPar:pfe,gtquest:mfe,gtrapprox:gfe,gtrarr:vfe,gtrdot:bfe,gtreqless:yfe,gtreqqless:xfe,gtrless:Cfe,gtrsim:wfe,gvertneqq:_fe,gvnE:Sfe,Hacek:kfe,hairsp:Tfe,half:Pfe,hamilt:Rfe,HARDcy:Efe,hardcy:$fe,harrcir:Afe,harr:Ife,hArr:Mfe,harrw:zfe,Hat:Ofe,hbar:Dfe,Hcirc:Lfe,hcirc:Ffe,hearts:Nfe,heartsuit:Bfe,hellip:Hfe,hercon:jfe,hfr:Vfe,Hfr:Ufe,HilbertSpace:Wfe,hksearow:qfe,hkswarow:Kfe,hoarr:Gfe,homtht:Yfe,hookleftarrow:Xfe,hookrightarrow:Zfe,hopf:Jfe,Hopf:Qfe,horbar:ehe,HorizontalLine:the,hscr:nhe,Hscr:ohe,hslash:rhe,Hstrok:ihe,hstrok:ahe,HumpDownHump:she,HumpEqual:lhe,hybull:che,hyphen:uhe,Iacute:dhe,iacute:fhe,ic:hhe,Icirc:phe,icirc:mhe,Icy:ghe,icy:vhe,Idot:bhe,IEcy:yhe,iecy:xhe,iexcl:Che,iff:whe,ifr:_he,Ifr:She,Igrave:khe,igrave:The,ii:Phe,iiiint:Rhe,iiint:Ehe,iinfin:$he,iiota:Ahe,IJlig:Ihe,ijlig:Mhe,Imacr:zhe,imacr:Ohe,image:Dhe,ImaginaryI:Lhe,imagline:Fhe,imagpart:Nhe,imath:Bhe,Im:Hhe,imof:jhe,imped:Vhe,Implies:Uhe,incare:Whe,in:"∈",infin:qhe,infintie:Khe,inodot:Ghe,intcal:Yhe,int:Xhe,Int:Zhe,integers:Jhe,Integral:Qhe,intercal:epe,Intersection:tpe,intlarhk:npe,intprod:ope,InvisibleComma:rpe,InvisibleTimes:ipe,IOcy:ape,iocy:spe,Iogon:lpe,iogon:cpe,Iopf:upe,iopf:dpe,Iota:fpe,iota:hpe,iprod:ppe,iquest:mpe,iscr:gpe,Iscr:vpe,isin:bpe,isindot:ype,isinE:xpe,isins:Cpe,isinsv:wpe,isinv:_pe,it:Spe,Itilde:kpe,itilde:Tpe,Iukcy:Ppe,iukcy:Rpe,Iuml:Epe,iuml:$pe,Jcirc:Ape,jcirc:Ipe,Jcy:Mpe,jcy:zpe,Jfr:Ope,jfr:Dpe,jmath:Lpe,Jopf:Fpe,jopf:Npe,Jscr:Bpe,jscr:Hpe,Jsercy:jpe,jsercy:Vpe,Jukcy:Upe,jukcy:Wpe,Kappa:qpe,kappa:Kpe,kappav:Gpe,Kcedil:Ype,kcedil:Xpe,Kcy:Zpe,kcy:Jpe,Kfr:Qpe,kfr:eme,kgreen:tme,KHcy:nme,khcy:ome,KJcy:rme,kjcy:ime,Kopf:ame,kopf:sme,Kscr:lme,kscr:cme,lAarr:ume,Lacute:dme,lacute:fme,laemptyv:hme,lagran:pme,Lambda:mme,lambda:gme,lang:vme,Lang:bme,langd:yme,langle:xme,lap:Cme,Laplacetrf:wme,laquo:_me,larrb:Sme,larrbfs:kme,larr:Tme,Larr:Pme,lArr:Rme,larrfs:Eme,larrhk:$me,larrlp:Ame,larrpl:Ime,larrsim:Mme,larrtl:zme,latail:Ome,lAtail:Dme,lat:Lme,late:Fme,lates:Nme,lbarr:Bme,lBarr:Hme,lbbrk:jme,lbrace:Vme,lbrack:Ume,lbrke:Wme,lbrksld:qme,lbrkslu:Kme,Lcaron:Gme,lcaron:Yme,Lcedil:Xme,lcedil:Zme,lceil:Jme,lcub:Qme,Lcy:ege,lcy:tge,ldca:nge,ldquo:oge,ldquor:rge,ldrdhar:ige,ldrushar:age,ldsh:sge,le:lge,lE:cge,LeftAngleBracket:uge,LeftArrowBar:dge,leftarrow:fge,LeftArrow:hge,Leftarrow:pge,LeftArrowRightArrow:mge,leftarrowtail:gge,LeftCeiling:vge,LeftDoubleBracket:bge,LeftDownTeeVector:yge,LeftDownVectorBar:xge,LeftDownVector:Cge,LeftFloor:wge,leftharpoondown:_ge,leftharpoonup:Sge,leftleftarrows:kge,leftrightarrow:Tge,LeftRightArrow:Pge,Leftrightarrow:Rge,leftrightarrows:Ege,leftrightharpoons:$ge,leftrightsquigarrow:Age,LeftRightVector:Ige,LeftTeeArrow:Mge,LeftTee:zge,LeftTeeVector:Oge,leftthreetimes:Dge,LeftTriangleBar:Lge,LeftTriangle:Fge,LeftTriangleEqual:Nge,LeftUpDownVector:Bge,LeftUpTeeVector:Hge,LeftUpVectorBar:jge,LeftUpVector:Vge,LeftVectorBar:Uge,LeftVector:Wge,lEg:qge,leg:Kge,leq:Gge,leqq:Yge,leqslant:Xge,lescc:Zge,les:Jge,lesdot:Qge,lesdoto:eve,lesdotor:tve,lesg:nve,lesges:ove,lessapprox:rve,lessdot:ive,lesseqgtr:ave,lesseqqgtr:sve,LessEqualGreater:lve,LessFullEqual:cve,LessGreater:uve,lessgtr:dve,LessLess:fve,lesssim:hve,LessSlantEqual:pve,LessTilde:mve,lfisht:gve,lfloor:vve,Lfr:bve,lfr:yve,lg:xve,lgE:Cve,lHar:wve,lhard:_ve,lharu:Sve,lharul:kve,lhblk:Tve,LJcy:Pve,ljcy:Rve,llarr:Eve,ll:$ve,Ll:Ave,llcorner:Ive,Lleftarrow:Mve,llhard:zve,lltri:Ove,Lmidot:Dve,lmidot:Lve,lmoustache:Fve,lmoust:Nve,lnap:Bve,lnapprox:Hve,lne:jve,lnE:Vve,lneq:Uve,lneqq:Wve,lnsim:qve,loang:Kve,loarr:Gve,lobrk:Yve,longleftarrow:Xve,LongLeftArrow:Zve,Longleftarrow:Jve,longleftrightarrow:Qve,LongLeftRightArrow:ebe,Longleftrightarrow:tbe,longmapsto:nbe,longrightarrow:obe,LongRightArrow:rbe,Longrightarrow:ibe,looparrowleft:abe,looparrowright:sbe,lopar:lbe,Lopf:cbe,lopf:ube,loplus:dbe,lotimes:fbe,lowast:hbe,lowbar:pbe,LowerLeftArrow:mbe,LowerRightArrow:gbe,loz:vbe,lozenge:bbe,lozf:ybe,lpar:xbe,lparlt:Cbe,lrarr:wbe,lrcorner:_be,lrhar:Sbe,lrhard:kbe,lrm:Tbe,lrtri:Pbe,lsaquo:Rbe,lscr:Ebe,Lscr:$be,lsh:Abe,Lsh:Ibe,lsim:Mbe,lsime:zbe,lsimg:Obe,lsqb:Dbe,lsquo:Lbe,lsquor:Fbe,Lstrok:Nbe,lstrok:Bbe,ltcc:Hbe,ltcir:jbe,lt:Vbe,LT:Ube,Lt:Wbe,ltdot:qbe,lthree:Kbe,ltimes:Gbe,ltlarr:Ybe,ltquest:Xbe,ltri:Zbe,ltrie:Jbe,ltrif:Qbe,ltrPar:e0e,lurdshar:t0e,luruhar:n0e,lvertneqq:o0e,lvnE:r0e,macr:i0e,male:a0e,malt:s0e,maltese:l0e,Map:"⤅",map:c0e,mapsto:u0e,mapstodown:d0e,mapstoleft:f0e,mapstoup:h0e,marker:p0e,mcomma:m0e,Mcy:g0e,mcy:v0e,mdash:b0e,mDDot:y0e,measuredangle:x0e,MediumSpace:C0e,Mellintrf:w0e,Mfr:_0e,mfr:S0e,mho:k0e,micro:T0e,midast:P0e,midcir:R0e,mid:E0e,middot:$0e,minusb:A0e,minus:I0e,minusd:M0e,minusdu:z0e,MinusPlus:O0e,mlcp:D0e,mldr:L0e,mnplus:F0e,models:N0e,Mopf:B0e,mopf:H0e,mp:j0e,mscr:V0e,Mscr:U0e,mstpos:W0e,Mu:q0e,mu:K0e,multimap:G0e,mumap:Y0e,nabla:X0e,Nacute:Z0e,nacute:J0e,nang:Q0e,nap:e1e,napE:t1e,napid:n1e,napos:o1e,napprox:r1e,natural:i1e,naturals:a1e,natur:s1e,nbsp:l1e,nbump:c1e,nbumpe:u1e,ncap:d1e,Ncaron:f1e,ncaron:h1e,Ncedil:p1e,ncedil:m1e,ncong:g1e,ncongdot:v1e,ncup:b1e,Ncy:y1e,ncy:x1e,ndash:C1e,nearhk:w1e,nearr:_1e,neArr:S1e,nearrow:k1e,ne:T1e,nedot:P1e,NegativeMediumSpace:R1e,NegativeThickSpace:E1e,NegativeThinSpace:$1e,NegativeVeryThinSpace:A1e,nequiv:I1e,nesear:M1e,nesim:z1e,NestedGreaterGreater:O1e,NestedLessLess:D1e,NewLine:L1e,nexist:F1e,nexists:N1e,Nfr:B1e,nfr:H1e,ngE:j1e,nge:V1e,ngeq:U1e,ngeqq:W1e,ngeqslant:q1e,nges:K1e,nGg:G1e,ngsim:Y1e,nGt:X1e,ngt:Z1e,ngtr:J1e,nGtv:Q1e,nharr:eye,nhArr:tye,nhpar:nye,ni:oye,nis:rye,nisd:iye,niv:aye,NJcy:sye,njcy:lye,nlarr:cye,nlArr:uye,nldr:dye,nlE:fye,nle:hye,nleftarrow:pye,nLeftarrow:mye,nleftrightarrow:gye,nLeftrightarrow:vye,nleq:bye,nleqq:yye,nleqslant:xye,nles:Cye,nless:wye,nLl:_ye,nlsim:Sye,nLt:kye,nlt:Tye,nltri:Pye,nltrie:Rye,nLtv:Eye,nmid:$ye,NoBreak:Aye,NonBreakingSpace:Iye,nopf:Mye,Nopf:zye,Not:Oye,not:Dye,NotCongruent:Lye,NotCupCap:Fye,NotDoubleVerticalBar:Nye,NotElement:Bye,NotEqual:Hye,NotEqualTilde:jye,NotExists:Vye,NotGreater:Uye,NotGreaterEqual:Wye,NotGreaterFullEqual:qye,NotGreaterGreater:Kye,NotGreaterLess:Gye,NotGreaterSlantEqual:Yye,NotGreaterTilde:Xye,NotHumpDownHump:Zye,NotHumpEqual:Jye,notin:Qye,notindot:exe,notinE:txe,notinva:nxe,notinvb:oxe,notinvc:rxe,NotLeftTriangleBar:ixe,NotLeftTriangle:axe,NotLeftTriangleEqual:sxe,NotLess:lxe,NotLessEqual:cxe,NotLessGreater:uxe,NotLessLess:dxe,NotLessSlantEqual:fxe,NotLessTilde:hxe,NotNestedGreaterGreater:pxe,NotNestedLessLess:mxe,notni:gxe,notniva:vxe,notnivb:bxe,notnivc:yxe,NotPrecedes:xxe,NotPrecedesEqual:Cxe,NotPrecedesSlantEqual:wxe,NotReverseElement:_xe,NotRightTriangleBar:Sxe,NotRightTriangle:kxe,NotRightTriangleEqual:Txe,NotSquareSubset:Pxe,NotSquareSubsetEqual:Rxe,NotSquareSuperset:Exe,NotSquareSupersetEqual:$xe,NotSubset:Axe,NotSubsetEqual:Ixe,NotSucceeds:Mxe,NotSucceedsEqual:zxe,NotSucceedsSlantEqual:Oxe,NotSucceedsTilde:Dxe,NotSuperset:Lxe,NotSupersetEqual:Fxe,NotTilde:Nxe,NotTildeEqual:Bxe,NotTildeFullEqual:Hxe,NotTildeTilde:jxe,NotVerticalBar:Vxe,nparallel:Uxe,npar:Wxe,nparsl:qxe,npart:Kxe,npolint:Gxe,npr:Yxe,nprcue:Xxe,nprec:Zxe,npreceq:Jxe,npre:Qxe,nrarrc:eCe,nrarr:tCe,nrArr:nCe,nrarrw:oCe,nrightarrow:rCe,nRightarrow:iCe,nrtri:aCe,nrtrie:sCe,nsc:lCe,nsccue:cCe,nsce:uCe,Nscr:dCe,nscr:fCe,nshortmid:hCe,nshortparallel:pCe,nsim:mCe,nsime:gCe,nsimeq:vCe,nsmid:bCe,nspar:yCe,nsqsube:xCe,nsqsupe:CCe,nsub:wCe,nsubE:_Ce,nsube:SCe,nsubset:kCe,nsubseteq:TCe,nsubseteqq:PCe,nsucc:RCe,nsucceq:ECe,nsup:$Ce,nsupE:ACe,nsupe:ICe,nsupset:MCe,nsupseteq:zCe,nsupseteqq:OCe,ntgl:DCe,Ntilde:LCe,ntilde:FCe,ntlg:NCe,ntriangleleft:BCe,ntrianglelefteq:HCe,ntriangleright:jCe,ntrianglerighteq:VCe,Nu:UCe,nu:WCe,num:qCe,numero:KCe,numsp:GCe,nvap:YCe,nvdash:XCe,nvDash:ZCe,nVdash:JCe,nVDash:QCe,nvge:ewe,nvgt:twe,nvHarr:nwe,nvinfin:owe,nvlArr:rwe,nvle:iwe,nvlt:awe,nvltrie:swe,nvrArr:lwe,nvrtrie:cwe,nvsim:uwe,nwarhk:dwe,nwarr:fwe,nwArr:hwe,nwarrow:pwe,nwnear:mwe,Oacute:gwe,oacute:vwe,oast:bwe,Ocirc:ywe,ocirc:xwe,ocir:Cwe,Ocy:wwe,ocy:_we,odash:Swe,Odblac:kwe,odblac:Twe,odiv:Pwe,odot:Rwe,odsold:Ewe,OElig:$we,oelig:Awe,ofcir:Iwe,Ofr:Mwe,ofr:zwe,ogon:Owe,Ograve:Dwe,ograve:Lwe,ogt:Fwe,ohbar:Nwe,ohm:Bwe,oint:Hwe,olarr:jwe,olcir:Vwe,olcross:Uwe,oline:Wwe,olt:qwe,Omacr:Kwe,omacr:Gwe,Omega:Ywe,omega:Xwe,Omicron:Zwe,omicron:Jwe,omid:Qwe,ominus:e_e,Oopf:t_e,oopf:n_e,opar:o_e,OpenCurlyDoubleQuote:r_e,OpenCurlyQuote:i_e,operp:a_e,oplus:s_e,orarr:l_e,Or:c_e,or:u_e,ord:d_e,order:f_e,orderof:h_e,ordf:p_e,ordm:m_e,origof:g_e,oror:v_e,orslope:b_e,orv:y_e,oS:x_e,Oscr:C_e,oscr:w_e,Oslash:__e,oslash:S_e,osol:k_e,Otilde:T_e,otilde:P_e,otimesas:R_e,Otimes:E_e,otimes:$_e,Ouml:A_e,ouml:I_e,ovbar:M_e,OverBar:z_e,OverBrace:O_e,OverBracket:D_e,OverParenthesis:L_e,para:F_e,parallel:N_e,par:B_e,parsim:H_e,parsl:j_e,part:V_e,PartialD:U_e,Pcy:W_e,pcy:q_e,percnt:K_e,period:G_e,permil:Y_e,perp:X_e,pertenk:Z_e,Pfr:J_e,pfr:Q_e,Phi:e2e,phi:t2e,phiv:n2e,phmmat:o2e,phone:r2e,Pi:i2e,pi:a2e,pitchfork:s2e,piv:l2e,planck:c2e,planckh:u2e,plankv:d2e,plusacir:f2e,plusb:h2e,pluscir:p2e,plus:m2e,plusdo:g2e,plusdu:v2e,pluse:b2e,PlusMinus:y2e,plusmn:x2e,plussim:C2e,plustwo:w2e,pm:_2e,Poincareplane:S2e,pointint:k2e,popf:T2e,Popf:P2e,pound:R2e,prap:E2e,Pr:$2e,pr:A2e,prcue:I2e,precapprox:M2e,prec:z2e,preccurlyeq:O2e,Precedes:D2e,PrecedesEqual:L2e,PrecedesSlantEqual:F2e,PrecedesTilde:N2e,preceq:B2e,precnapprox:H2e,precneqq:j2e,precnsim:V2e,pre:U2e,prE:W2e,precsim:q2e,prime:K2e,Prime:G2e,primes:Y2e,prnap:X2e,prnE:Z2e,prnsim:J2e,prod:Q2e,Product:eSe,profalar:tSe,profline:nSe,profsurf:oSe,prop:rSe,Proportional:iSe,Proportion:aSe,propto:sSe,prsim:lSe,prurel:cSe,Pscr:uSe,pscr:dSe,Psi:fSe,psi:hSe,puncsp:pSe,Qfr:mSe,qfr:gSe,qint:vSe,qopf:bSe,Qopf:ySe,qprime:xSe,Qscr:CSe,qscr:wSe,quaternions:_Se,quatint:SSe,quest:kSe,questeq:TSe,quot:PSe,QUOT:RSe,rAarr:ESe,race:$Se,Racute:ASe,racute:ISe,radic:MSe,raemptyv:zSe,rang:OSe,Rang:DSe,rangd:LSe,range:FSe,rangle:NSe,raquo:BSe,rarrap:HSe,rarrb:jSe,rarrbfs:VSe,rarrc:USe,rarr:WSe,Rarr:qSe,rArr:KSe,rarrfs:GSe,rarrhk:YSe,rarrlp:XSe,rarrpl:ZSe,rarrsim:JSe,Rarrtl:QSe,rarrtl:eke,rarrw:tke,ratail:nke,rAtail:oke,ratio:rke,rationals:ike,rbarr:ake,rBarr:ske,RBarr:lke,rbbrk:cke,rbrace:uke,rbrack:dke,rbrke:fke,rbrksld:hke,rbrkslu:pke,Rcaron:mke,rcaron:gke,Rcedil:vke,rcedil:bke,rceil:yke,rcub:xke,Rcy:Cke,rcy:wke,rdca:_ke,rdldhar:Ske,rdquo:kke,rdquor:Tke,rdsh:Pke,real:Rke,realine:Eke,realpart:$ke,reals:Ake,Re:Ike,rect:Mke,reg:zke,REG:Oke,ReverseElement:Dke,ReverseEquilibrium:Lke,ReverseUpEquilibrium:Fke,rfisht:Nke,rfloor:Bke,rfr:Hke,Rfr:jke,rHar:Vke,rhard:Uke,rharu:Wke,rharul:qke,Rho:Kke,rho:Gke,rhov:Yke,RightAngleBracket:Xke,RightArrowBar:Zke,rightarrow:Jke,RightArrow:Qke,Rightarrow:e3e,RightArrowLeftArrow:t3e,rightarrowtail:n3e,RightCeiling:o3e,RightDoubleBracket:r3e,RightDownTeeVector:i3e,RightDownVectorBar:a3e,RightDownVector:s3e,RightFloor:l3e,rightharpoondown:c3e,rightharpoonup:u3e,rightleftarrows:d3e,rightleftharpoons:f3e,rightrightarrows:h3e,rightsquigarrow:p3e,RightTeeArrow:m3e,RightTee:g3e,RightTeeVector:v3e,rightthreetimes:b3e,RightTriangleBar:y3e,RightTriangle:x3e,RightTriangleEqual:C3e,RightUpDownVector:w3e,RightUpTeeVector:_3e,RightUpVectorBar:S3e,RightUpVector:k3e,RightVectorBar:T3e,RightVector:P3e,ring:R3e,risingdotseq:E3e,rlarr:$3e,rlhar:A3e,rlm:I3e,rmoustache:M3e,rmoust:z3e,rnmid:O3e,roang:D3e,roarr:L3e,robrk:F3e,ropar:N3e,ropf:B3e,Ropf:H3e,roplus:j3e,rotimes:V3e,RoundImplies:U3e,rpar:W3e,rpargt:q3e,rppolint:K3e,rrarr:G3e,Rrightarrow:Y3e,rsaquo:X3e,rscr:Z3e,Rscr:J3e,rsh:Q3e,Rsh:e4e,rsqb:t4e,rsquo:n4e,rsquor:o4e,rthree:r4e,rtimes:i4e,rtri:a4e,rtrie:s4e,rtrif:l4e,rtriltri:c4e,RuleDelayed:u4e,ruluhar:d4e,rx:f4e,Sacute:h4e,sacute:p4e,sbquo:m4e,scap:g4e,Scaron:v4e,scaron:b4e,Sc:y4e,sc:x4e,sccue:C4e,sce:w4e,scE:_4e,Scedil:S4e,scedil:k4e,Scirc:T4e,scirc:P4e,scnap:R4e,scnE:E4e,scnsim:$4e,scpolint:A4e,scsim:I4e,Scy:M4e,scy:z4e,sdotb:O4e,sdot:D4e,sdote:L4e,searhk:F4e,searr:N4e,seArr:B4e,searrow:H4e,sect:j4e,semi:V4e,seswar:U4e,setminus:W4e,setmn:q4e,sext:K4e,Sfr:G4e,sfr:Y4e,sfrown:X4e,sharp:Z4e,SHCHcy:J4e,shchcy:Q4e,SHcy:e5e,shcy:t5e,ShortDownArrow:n5e,ShortLeftArrow:o5e,shortmid:r5e,shortparallel:i5e,ShortRightArrow:a5e,ShortUpArrow:s5e,shy:l5e,Sigma:c5e,sigma:u5e,sigmaf:d5e,sigmav:f5e,sim:h5e,simdot:p5e,sime:m5e,simeq:g5e,simg:v5e,simgE:b5e,siml:y5e,simlE:x5e,simne:C5e,simplus:w5e,simrarr:_5e,slarr:S5e,SmallCircle:k5e,smallsetminus:T5e,smashp:P5e,smeparsl:R5e,smid:E5e,smile:$5e,smt:A5e,smte:I5e,smtes:M5e,SOFTcy:z5e,softcy:O5e,solbar:D5e,solb:L5e,sol:F5e,Sopf:N5e,sopf:B5e,spades:H5e,spadesuit:j5e,spar:V5e,sqcap:U5e,sqcaps:W5e,sqcup:q5e,sqcups:K5e,Sqrt:G5e,sqsub:Y5e,sqsube:X5e,sqsubset:Z5e,sqsubseteq:J5e,sqsup:Q5e,sqsupe:eTe,sqsupset:tTe,sqsupseteq:nTe,square:oTe,Square:rTe,SquareIntersection:iTe,SquareSubset:aTe,SquareSubsetEqual:sTe,SquareSuperset:lTe,SquareSupersetEqual:cTe,SquareUnion:uTe,squarf:dTe,squ:fTe,squf:hTe,srarr:pTe,Sscr:mTe,sscr:gTe,ssetmn:vTe,ssmile:bTe,sstarf:yTe,Star:xTe,star:CTe,starf:wTe,straightepsilon:_Te,straightphi:STe,strns:kTe,sub:TTe,Sub:PTe,subdot:RTe,subE:ETe,sube:$Te,subedot:ATe,submult:ITe,subnE:MTe,subne:zTe,subplus:OTe,subrarr:DTe,subset:LTe,Subset:FTe,subseteq:NTe,subseteqq:BTe,SubsetEqual:HTe,subsetneq:jTe,subsetneqq:VTe,subsim:UTe,subsub:WTe,subsup:qTe,succapprox:KTe,succ:GTe,succcurlyeq:YTe,Succeeds:XTe,SucceedsEqual:ZTe,SucceedsSlantEqual:JTe,SucceedsTilde:QTe,succeq:ePe,succnapprox:tPe,succneqq:nPe,succnsim:oPe,succsim:rPe,SuchThat:iPe,sum:aPe,Sum:sPe,sung:lPe,sup1:cPe,sup2:uPe,sup3:dPe,sup:fPe,Sup:hPe,supdot:pPe,supdsub:mPe,supE:gPe,supe:vPe,supedot:bPe,Superset:yPe,SupersetEqual:xPe,suphsol:CPe,suphsub:wPe,suplarr:_Pe,supmult:SPe,supnE:kPe,supne:TPe,supplus:PPe,supset:RPe,Supset:EPe,supseteq:$Pe,supseteqq:APe,supsetneq:IPe,supsetneqq:MPe,supsim:zPe,supsub:OPe,supsup:DPe,swarhk:LPe,swarr:FPe,swArr:NPe,swarrow:BPe,swnwar:HPe,szlig:jPe,Tab:VPe,target:UPe,Tau:WPe,tau:qPe,tbrk:KPe,Tcaron:GPe,tcaron:YPe,Tcedil:XPe,tcedil:ZPe,Tcy:JPe,tcy:QPe,tdot:eRe,telrec:tRe,Tfr:nRe,tfr:oRe,there4:rRe,therefore:iRe,Therefore:aRe,Theta:sRe,theta:lRe,thetasym:cRe,thetav:uRe,thickapprox:dRe,thicksim:fRe,ThickSpace:hRe,ThinSpace:pRe,thinsp:mRe,thkap:gRe,thksim:vRe,THORN:bRe,thorn:yRe,tilde:xRe,Tilde:CRe,TildeEqual:wRe,TildeFullEqual:_Re,TildeTilde:SRe,timesbar:kRe,timesb:TRe,times:PRe,timesd:RRe,tint:ERe,toea:$Re,topbot:ARe,topcir:IRe,top:MRe,Topf:zRe,topf:ORe,topfork:DRe,tosa:LRe,tprime:FRe,trade:NRe,TRADE:BRe,triangle:HRe,triangledown:jRe,triangleleft:VRe,trianglelefteq:URe,triangleq:WRe,triangleright:qRe,trianglerighteq:KRe,tridot:GRe,trie:YRe,triminus:XRe,TripleDot:ZRe,triplus:JRe,trisb:QRe,tritime:eEe,trpezium:tEe,Tscr:nEe,tscr:oEe,TScy:rEe,tscy:iEe,TSHcy:aEe,tshcy:sEe,Tstrok:lEe,tstrok:cEe,twixt:uEe,twoheadleftarrow:dEe,twoheadrightarrow:fEe,Uacute:hEe,uacute:pEe,uarr:mEe,Uarr:gEe,uArr:vEe,Uarrocir:bEe,Ubrcy:yEe,ubrcy:xEe,Ubreve:CEe,ubreve:wEe,Ucirc:_Ee,ucirc:SEe,Ucy:kEe,ucy:TEe,udarr:PEe,Udblac:REe,udblac:EEe,udhar:$Ee,ufisht:AEe,Ufr:IEe,ufr:MEe,Ugrave:zEe,ugrave:OEe,uHar:DEe,uharl:LEe,uharr:FEe,uhblk:NEe,ulcorn:BEe,ulcorner:HEe,ulcrop:jEe,ultri:VEe,Umacr:UEe,umacr:WEe,uml:qEe,UnderBar:KEe,UnderBrace:GEe,UnderBracket:YEe,UnderParenthesis:XEe,Union:ZEe,UnionPlus:JEe,Uogon:QEe,uogon:e$e,Uopf:t$e,uopf:n$e,UpArrowBar:o$e,uparrow:r$e,UpArrow:i$e,Uparrow:a$e,UpArrowDownArrow:s$e,updownarrow:l$e,UpDownArrow:c$e,Updownarrow:u$e,UpEquilibrium:d$e,upharpoonleft:f$e,upharpoonright:h$e,uplus:p$e,UpperLeftArrow:m$e,UpperRightArrow:g$e,upsi:v$e,Upsi:b$e,upsih:y$e,Upsilon:x$e,upsilon:C$e,UpTeeArrow:w$e,UpTee:_$e,upuparrows:S$e,urcorn:k$e,urcorner:T$e,urcrop:P$e,Uring:R$e,uring:E$e,urtri:$$e,Uscr:A$e,uscr:I$e,utdot:M$e,Utilde:z$e,utilde:O$e,utri:D$e,utrif:L$e,uuarr:F$e,Uuml:N$e,uuml:B$e,uwangle:H$e,vangrt:j$e,varepsilon:V$e,varkappa:U$e,varnothing:W$e,varphi:q$e,varpi:K$e,varpropto:G$e,varr:Y$e,vArr:X$e,varrho:Z$e,varsigma:J$e,varsubsetneq:Q$e,varsubsetneqq:eAe,varsupsetneq:tAe,varsupsetneqq:nAe,vartheta:oAe,vartriangleleft:rAe,vartriangleright:iAe,vBar:aAe,Vbar:sAe,vBarv:lAe,Vcy:cAe,vcy:uAe,vdash:dAe,vDash:fAe,Vdash:hAe,VDash:pAe,Vdashl:mAe,veebar:gAe,vee:vAe,Vee:bAe,veeeq:yAe,vellip:xAe,verbar:CAe,Verbar:wAe,vert:_Ae,Vert:SAe,VerticalBar:kAe,VerticalLine:TAe,VerticalSeparator:PAe,VerticalTilde:RAe,VeryThinSpace:EAe,Vfr:$Ae,vfr:AAe,vltri:IAe,vnsub:MAe,vnsup:zAe,Vopf:OAe,vopf:DAe,vprop:LAe,vrtri:FAe,Vscr:NAe,vscr:BAe,vsubnE:HAe,vsubne:jAe,vsupnE:VAe,vsupne:UAe,Vvdash:WAe,vzigzag:qAe,Wcirc:KAe,wcirc:GAe,wedbar:YAe,wedge:XAe,Wedge:ZAe,wedgeq:JAe,weierp:QAe,Wfr:e6e,wfr:t6e,Wopf:n6e,wopf:o6e,wp:r6e,wr:i6e,wreath:a6e,Wscr:s6e,wscr:l6e,xcap:c6e,xcirc:u6e,xcup:d6e,xdtri:f6e,Xfr:h6e,xfr:p6e,xharr:m6e,xhArr:g6e,Xi:v6e,xi:b6e,xlarr:y6e,xlArr:x6e,xmap:C6e,xnis:w6e,xodot:_6e,Xopf:S6e,xopf:k6e,xoplus:T6e,xotime:P6e,xrarr:R6e,xrArr:E6e,Xscr:$6e,xscr:A6e,xsqcup:I6e,xuplus:M6e,xutri:z6e,xvee:O6e,xwedge:D6e,Yacute:L6e,yacute:F6e,YAcy:N6e,yacy:B6e,Ycirc:H6e,ycirc:j6e,Ycy:V6e,ycy:U6e,yen:W6e,Yfr:q6e,yfr:K6e,YIcy:G6e,yicy:Y6e,Yopf:X6e,yopf:Z6e,Yscr:J6e,yscr:Q6e,YUcy:e8e,yucy:t8e,yuml:n8e,Yuml:o8e,Zacute:r8e,zacute:i8e,Zcaron:a8e,zcaron:s8e,Zcy:l8e,zcy:c8e,Zdot:u8e,zdot:d8e,zeetrf:f8e,ZeroWidthSpace:h8e,Zeta:p8e,zeta:m8e,zfr:g8e,Zfr:v8e,ZHcy:b8e,zhcy:y8e,zigrarr:x8e,zopf:C8e,Zopf:w8e,Zscr:_8e,zscr:S8e,zwj:k8e,zwnj:T8e};var zS=P8e,_m=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Wa={},t1={};function R8e(e){var t,n,o=t1[e];if(o)return o;for(o=t1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=R8e(t),o=0,r=e.length;o=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}Nu.defaultChars=";/?:@&=+$,-_.!~*'()#";Nu.componentChars="-_.!~*'()";var E8e=Nu,n1={};function $8e(e){var t,n,o=n1[e];if(o)return o;for(o=n1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+91114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="�"}return d})}Bu.defaultChars=";/?:@&=+$,#";Bu.componentChars="";var A8e=Bu,I8e=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function Oc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var M8e=/^([a-z0-9.+-]+:)/i,z8e=/:[0-9]*$/,O8e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,D8e=["<",">",'"',"`"," ","\r",` -`," "],L8e=["{","}","|","\\","^","`"].concat(D8e),F8e=["'"].concat(L8e),o1=["%","/","?",";","#"].concat(F8e),r1=["/","?","#"],N8e=255,i1=/^[+a-z0-9A-Z_-]{0,63}$/,B8e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,a1={javascript:!0,"javascript:":!0},s1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function H8e(e,t){if(e&&e instanceof Oc)return e;var n=new Oc;return n.parse(e,t),n}Oc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=O8e.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=M8e.exec(s);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(c&&a1[c])&&(s=s.substr(2),this.slashes=!0)),!a1[c]&&(a||c&&!s1[c])){var u=-1;for(n=0;n127?m+="x":m+=b[y];if(!m.match(i1)){var S=g.slice(0,n),w=g.slice(n+1),x=b.match(B8e);x&&(S.push(x[1]),w.unshift(x[2])),w.length&&(s=w.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>N8e&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var C=s.indexOf("#");C!==-1&&(this.hash=s.substr(C),s=s.slice(0,C));var _=s.indexOf("?");return _!==-1&&(this.search=s.substr(_),s=s.slice(0,_)),s&&(this.pathname=s),s1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Oc.prototype.parseHost=function(e){var t=z8e.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var j8e=H8e;Wa.encode=E8e;Wa.decode=A8e;Wa.format=I8e;Wa.parse=j8e;var ii={},Yd,l1;function OS(){return l1||(l1=1,Yd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Yd}var Xd,c1;function DS(){return c1||(c1=1,Xd=/[\0-\x1F\x7F-\x9F]/),Xd}var Zd,u1;function V8e(){return u1||(u1=1,Zd=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Zd}var Jd,d1;function LS(){return d1||(d1=1,Jd=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Jd}var f1;function U8e(){return f1||(f1=1,ii.Any=OS(),ii.Cc=DS(),ii.Cf=V8e(),ii.P=_m,ii.Z=LS()),ii}(function(e){function t(F){return Object.prototype.toString.call(F)}function n(F){return t(F)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(F,z){return o.call(F,z)}function i(F){var z=Array.prototype.slice.call(arguments,1);return z.forEach(function(D){if(D){if(typeof D!="object")throw new TypeError(D+"must be object");Object.keys(D).forEach(function(Y){F[Y]=D[Y]})}}),F}function a(F,z,D){return[].concat(F.slice(0,z),D,F.slice(z+1))}function s(F){return!(F>=55296&&F<=57343||F>=64976&&F<=65007||(F&65535)===65535||(F&65535)===65534||F>=0&&F<=8||F===11||F>=14&&F<=31||F>=127&&F<=159||F>1114111)}function l(F){if(F>65535){F-=65536;var z=55296+(F>>10),D=56320+(F&1023);return String.fromCharCode(z,D)}return String.fromCharCode(F)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=zS;function h(F,z){var D;return r(p,z)?p[z]:z.charCodeAt(0)===35&&f.test(z)&&(D=z[1].toLowerCase()==="x"?parseInt(z.slice(2),16):parseInt(z.slice(1),10),s(D))?l(D):F}function g(F){return F.indexOf("\\")<0?F:F.replace(c,"$1")}function b(F){return F.indexOf("\\")<0&&F.indexOf("&")<0?F:F.replace(d,function(z,D,Y){return D||h(z,Y)})}var m=/[&<>"]/,y=/[&<>"]/g,k={"&":"&","<":"<",">":">",'"':"""};function S(F){return k[F]}function w(F){return m.test(F)?F.replace(y,S):F}var x=/[.?*+^$[\]\\(){}|-]/g;function C(F){return F.replace(x,"\\$&")}function _(F){switch(F){case 9:case 32:return!0}return!1}function R(F){if(F>=8192&&F<=8202)return!0;switch(F){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var E=_m;function M(F){return E.test(F)}function A(F){switch(F){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function q(F){return F=F.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(F=F.replace(/ẞ/g,"ß")),F.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Wa,e.lib.ucmicro=U8e(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=g,e.unescapeAll=b,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=w,e.arrayReplaceAt=a,e.isSpace=_,e.isWhiteSpace=R,e.isMdAsciiPunct=A,e.isPunctChar=M,e.escapeRE=C,e.normalizeReference=q})(Ft);var Hu={},W8e=function(t,n,o){var r,i,a,s,l=-1,c=t.posMax,u=t.pos;for(t.pos=n+1,r=1;t.pos32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=h1(t.slice(n,a)),s.pos=a,s.ok=!0),s},K8e=Ft.unescapeAll,G8e=function(t,n,o){var r,i,a=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(s>=o||(i=t.charCodeAt(s),i!==34&&i!==39&&i!==40))return l;for(s++,i===40&&(i=41);s"+Ti(i.content)+""};Go.code_block=function(e,t,n,o,r){var i=e[t];return""+Ti(e[t].content)+` -`};Go.fence=function(e,t,n,o,r){var i=e[t],a=i.info?X8e(i.info).trim():"",s="",l="",c,u,d,f,p;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||Ti(i.content):c=Ti(i.content),c.indexOf("c.value===e.checkedValue),d=N(!1),f=N(!1),p=L(()=>{const{railStyle:_}=e;if(_)return _({focused:f.value,checked:u.value})});function h(_){const{"onUpdate:value":R,onChange:E,onUpdateValue:M}=e,{nTriggerFormInput:A,nTriggerFormChange:q}=r;R&&Pe(R,_),M&&Pe(M,_),E&&Pe(E,_),s.value=_,A(),q()}function g(){const{nTriggerFormFocus:_}=r;_()}function b(){const{nTriggerFormBlur:_}=r;_()}function m(){e.loading||a.value||(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue))}function y(){f.value=!0,g()}function k(){f.value=!1,b(),d.value=!1}function S(_){e.loading||a.value||_.key===" "&&(c.value!==e.checkedValue?h(e.checkedValue):h(e.uncheckedValue),d.value=!1)}function w(_){e.loading||a.value||_.key===" "&&(_.preventDefault(),d.value=!0)}const x=L(()=>{const{value:_}=i,{self:{opacityDisabled:R,railColor:E,railColorActive:M,buttonBoxShadow:A,buttonColor:q,boxShadowFocus:F,loadingColor:z,textColor:D,iconColor:Y,[Se("buttonHeight",_)]:Q,[Se("buttonWidth",_)]:ce,[Se("buttonWidthPressed",_)]:le,[Se("railHeight",_)]:B,[Se("railWidth",_)]:$,[Se("railBorderRadius",_)]:I,[Se("buttonBorderRadius",_)]:K},common:{cubicBezierEaseInOut:ne}}=o.value;let ve,J,ye;return ss?(ve=`calc((${B} - ${Q}) / 2)`,J=`max(${B}, ${Q})`,ye=`max(${$}, calc(${$} + ${Q} - ${B}))`):(ve=zn((kn(B)-kn(Q))/2),J=zn(Math.max(kn(B),kn(Q))),ye=kn(B)>kn(Q)?$:zn(kn($)+kn(Q)-kn(B))),{"--n-bezier":ne,"--n-button-border-radius":K,"--n-button-box-shadow":A,"--n-button-color":q,"--n-button-width":ce,"--n-button-width-pressed":le,"--n-button-height":Q,"--n-height":J,"--n-offset":ve,"--n-opacity-disabled":R,"--n-rail-border-radius":I,"--n-rail-color":E,"--n-rail-color-active":M,"--n-rail-height":B,"--n-rail-width":$,"--n-width":ye,"--n-box-shadow-focus":F,"--n-loading-color":z,"--n-text-color":D,"--n-icon-color":Y}}),C=n?kt("switch",L(()=>i.value[0]),x,e):void 0;return{handleClick:m,handleBlur:k,handleFocus:y,handleKeyup:S,handleKeydown:w,mergedRailStyle:p,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:x,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,mergedDisabled:t,checked:n,mergedRailStyle:o,onRender:r,$slots:i}=this;r==null||r();const{checked:a,unchecked:s,icon:l,"checked-icon":c,"unchecked-icon":u}=i,d=!(da(l)&&da(c)&&da(u));return v("div",{role:"switch","aria-checked":n,class:[`${e}-switch`,this.themeClass,d&&`${e}-switch--icon`,n&&`${e}-switch--active`,t&&`${e}-switch--disabled`,this.round&&`${e}-switch--round`,this.loading&&`${e}-switch--loading`,this.pressed&&`${e}-switch--pressed`,this.rubberBand&&`${e}-switch--rubber-band`],tabindex:this.mergedDisabled?void 0:0,style:this.cssVars,onClick:this.handleClick,onFocus:this.handleFocus,onBlur:this.handleBlur,onKeyup:this.handleKeyup,onKeydown:this.handleKeydown},v("div",{class:`${e}-switch__rail`,"aria-hidden":"true",style:o},$t(a,f=>$t(s,p=>f||p?v("div",{"aria-hidden":!0,class:`${e}-switch__children-placeholder`},v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),f),v("div",{class:`${e}-switch__rail-placeholder`},v("div",{class:`${e}-switch__button-placeholder`}),p)):null)),v("div",{class:`${e}-switch__button`},$t(l,f=>$t(c,p=>$t(u,h=>v(Hi,null,{default:()=>this.loading?v(Xr,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(p||f)?v("div",{class:`${e}-switch__button-icon`,key:p?"checked-icon":"icon"},p||f):!this.checked&&(h||f)?v("div",{class:`${e}-switch__button-icon`,key:h?"unchecked-icon":"icon"},h||f):null})))),$t(a,f=>f&&v("div",{key:"checked",class:`${e}-switch__checked`},f)),$t(s,f=>f&&v("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),CX=me({name:"InjectionExtractor",props:{onSetup:Function},setup(e,{slots:t}){var n;return(n=e.onSetup)===null||n===void 0||n.call(e),()=>{var o;return(o=t.default)===null||o===void 0?void 0:o.call(t)}}}),wX={message:_Y,notification:MY,loadingBar:iY,dialog:LW};function _X({providersAndProps:e,configProviderProps:t}){let o=Uy(()=>v(W_,he(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>v(l,he(c),{default:()=>v(CX,{onSetup:()=>r[s]=wX[s]()})}))}));const r={app:o};let i;return ur&&(i=document.createElement("div"),document.body.appendChild(i),o.mount(i)),Object.assign({unmount:()=>{var s;if(o===null||i===null){sr("discrete","unmount call no need because discrete app has been unmounted");return}o.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,o=null}},r)}function SX(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i}={}){const a=[];return e.forEach(l=>{switch(l){case"message":a.push({type:l,Provider:wY,props:n});break;case"notification":a.push({type:l,Provider:IY,props:r});break;case"dialog":a.push({type:l,Provider:DW,props:o});break;case"loadingBar":a.push({type:l,Provider:rY,props:i});break}}),_X({providersAndProps:a,configProviderProps:t})}function kX(){const e=qe(wo,null);return L(()=>{if(e===null)return bt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||bt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const TX=()=>({}),PX={name:"Equation",common:Ve,self:TX},RX=PX,hS={name:"dark",common:Ve,Alert:uH,Anchor:CH,AutoComplete:LH,Avatar:$_,AvatarGroup:jH,BackTop:UH,Badge:QH,Breadcrumb:rj,Button:Vn,ButtonGroup:Kq,Calendar:xj,Card:F_,Carousel:Mj,Cascader:oV,Checkbox:Va,Code:U_,Collapse:hV,CollapseTransition:gV,ColorPicker:_j,DataTable:eU,DatePicker:pW,Descriptions:bW,Dialog:$2,Divider:HW,Drawer:KW,Dropdown:lm,DynamicInput:hq,DynamicTags:Cq,Element:_q,Empty:Vi,Ellipsis:n2,Equation:RX,Flex:Tq,Form:$q,GradientText:Iq,Icon:RU,IconWrapper:Oq,Image:OG,Input:uo,InputNumber:Yq,LegacyTransfer:JG,Layout:eK,List:aK,LoadingBar:lK,Log:hK,Menu:xK,Mention:mK,Message:Wq,Modal:RW,Notification:Bq,PageHeader:_K,Pagination:Q_,Popconfirm:PK,Popover:Wi,Popselect:q_,Progress:K2,QrCode:UY,Radio:i2,Rate:IK,Result:LK,Row:zG,Scrollbar:jn,Select:X_,Skeleton:sX,Slider:BK,Space:B2,Spin:UK,Statistic:KK,Steps:ZK,Switch:QK,Table:aG,Tabs:uG,Tag:x_,Thing:hG,TimePicker:P2,Timeline:gG,Tooltip:Au,Transfer:yG,Tree:Z2,TreeSelect:_G,Typography:PG,Upload:$G,Watermark:IG,Split:vX},EX={"aria-hidden":"true",width:"1em",height:"1em"},$X=["xlink:href","fill"],AX=me({__name:"SvgIcon",props:{icon:{type:String,required:!0},prefix:{type:String,default:"icon-custom"},color:{type:String,default:"currentColor"}},setup(e){const t=e,n=L(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(ue(),ze("svg",EX,[H("use",{"xlink:href":n.value,fill:e.color},null,8,$X)]))}}),Ks=(e,t={size:12})=>()=>v(pr,t,()=>v(DA,{icon:e})),pS=(e,t={size:12})=>()=>v(pr,t,()=>v(AX,{icon:e}));function IX(){var n,o;const e={default:MX,blue:zX,black:OX,darkblue:DX},t=((o=(n=window.settings)==null?void 0:n.theme)==null?void 0:o.color)||"default";return Object.prototype.hasOwnProperty.call(e,t)?e[t]:e.default}const MX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#2080F0FF",infoColorHover:"#4098FCFF",infoColorPressed:"#1060C9FF",infoColorSuppl:"#4098FCFF",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},zX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},OX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},DX={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#17a2b8",infoColorHover:"#138496",infoColorPressed:"#0c5460",infoColorSuppl:"#138496",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},{header:LX,tags:$Ne,naiveThemeOverrides:kh}=IX();function Lu(e){return Mh()?(q1(e),!0):!1}function Do(e){return typeof e=="function"?e():he(e)}const mS=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const FX=Object.prototype.toString,NX=e=>FX.call(e)==="[object Object]",gS=()=>{};function BX(e,t){function n(...o){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,o),{fn:t,thisArg:this,args:o})).then(r).catch(i)})}return n}const vS=e=>e();function HX(e=vS){const t=N(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:io(t),pause:n,resume:o,eventFilter:r}}function jX(e){return e||Zn()}function VX(...e){if(e.length!==1)return Ue(...e);const t=e[0];return typeof t=="function"?io(C3(()=>({get:t,set:gS}))):N(t)}function UX(e,t,n={}){const{eventFilter:o=vS,...r}=n;return ht(e,BX(o,t),r)}function WX(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=HX(o);return{stop:UX(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function bS(e,t=!0,n){jX()?Lt(e,n):t?e():Ht(e)}function qX(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=dn(e),i=N(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Do(n);return i.value=i.value===l?Do(o):l,i.value}}return r?a:[i,a]}function Ea(e){var t;const n=Do(e);return(t=n==null?void 0:n.$el)!=null?t:n}const Vr=mS?window:void 0,KX=mS?window.document:void 0;function zc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=Vr):[t,n,o,r]=e,!t)return gS;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,p)=>(u.addEventListener(d,f,p),()=>u.removeEventListener(d,f,p)),l=ht(()=>[Ea(t),Do(r)],([u,d])=>{if(a(),!u)return;const f=NX(d)?{...d}:d;i.push(...n.flatMap(p=>o.map(h=>s(u,p,h,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return Lu(c),c}function GX(){const e=N(!1);return Zn()&&Lt(()=>{e.value=!0}),e}function Cm(e){const t=GX();return L(()=>(t.value,!!e()))}function YX(e,t={}){const{window:n=Vr}=t,o=Cm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=N(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=tn(()=>{o.value&&(s(),r=n.matchMedia(Do(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return Lu(()=>{l(),s(),r=void 0}),i}const Ul=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Wl="__vueuse_ssr_handlers__",XX=ZX();function ZX(){return Wl in Ul||(Ul[Wl]=Ul[Wl]||{}),Ul[Wl]}function yS(e,t){return XX[e]||t}function JX(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const QX={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},X0="vueuse-storage";function eZ(e,t,n,o={}){var r;const{flush:i="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=Vr,eventFilter:f,onError:p=R=>{console.error(R)},initOnMounted:h}=o,g=(u?Aa:N)(typeof t=="function"?t():t);if(!n)try{n=yS("getDefaultStorage",()=>{var R;return(R=Vr)==null?void 0:R.localStorage})()}catch(R){p(R)}if(!n)return g;const b=Do(t),m=JX(b),y=(r=o.serializer)!=null?r:QX[m],{pause:k,resume:S}=WX(g,()=>w(g.value),{flush:i,deep:a,eventFilter:f});return d&&s&&bS(()=>{zc(d,"storage",_),zc(d,X0,C),h&&_()}),h||_(),g;function w(R){try{if(R==null)n.removeItem(e);else{const E=y.write(R),M=n.getItem(e);M!==E&&(n.setItem(e,E),d&&d.dispatchEvent(new CustomEvent(X0,{detail:{key:e,oldValue:M,newValue:E,storageArea:n}})))}}catch(E){p(E)}}function x(R){const E=R?R.newValue:n.getItem(e);if(E==null)return l&&b!=null&&n.setItem(e,y.write(b)),b;if(!R&&c){const M=y.read(E);return typeof c=="function"?c(M,b):m==="object"&&!Array.isArray(M)?{...b,...M}:M}else return typeof E!="string"?E:y.read(E)}function C(R){_(R.detail)}function _(R){if(!(R&&R.storageArea!==n)){if(R&&R.key==null){g.value=b;return}if(!(R&&R.key!==e)){k();try{(R==null?void 0:R.newValue)!==y.write(g.value)&&(g.value=x(R))}catch(E){p(E)}finally{R?Ht(S):S()}}}}}function xS(e){return YX("(prefers-color-scheme: dark)",e)}function tZ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=Vr,storage:i,storageKey:a="vueuse-color-scheme",listenToStorageChanges:s=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},f=xS({window:r}),p=L(()=>f.value?"dark":"light"),h=l||(a==null?VX(o):eZ(a,o,i,{window:r,listenToStorageChanges:s})),g=L(()=>h.value==="auto"?p.value:h.value),b=yS("updateHTMLAttrs",(S,w,x)=>{const C=typeof S=="string"?r==null?void 0:r.document.querySelector(S):Ea(S);if(!C)return;let _;if(u){_=r.document.createElement("style");const R="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";_.appendChild(document.createTextNode(R)),r.document.head.appendChild(_)}if(w==="class"){const R=x.split(/\s/g);Object.values(d).flatMap(E=>(E||"").split(/\s/g)).filter(Boolean).forEach(E=>{R.includes(E)?C.classList.add(E):C.classList.remove(E)})}else C.setAttribute(w,x);u&&(r.getComputedStyle(_).opacity,document.head.removeChild(_))});function m(S){var w;b(t,n,(w=d[S])!=null?w:S)}function y(S){e.onChanged?e.onChanged(S,m):m(S)}ht(g,y,{flush:"post",immediate:!0}),bS(()=>y(g.value));const k=L({get(){return c?h.value:g.value},set(S){h.value=S}});try{return Object.assign(k,{store:h,system:p,state:g})}catch{return k}}function nZ(e,t,n={}){const{window:o=Vr,...r}=n;let i;const a=Cm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=ht(()=>Ea(e),d=>{s(),a.value&&o&&d&&(i=new MutationObserver(t),i.observe(d,r))},{immediate:!0}),c=()=>i==null?void 0:i.takeRecords(),u=()=>{s(),l()};return Lu(u),{isSupported:a,stop:u,takeRecords:c}}function oZ(e,t,n={}){const{window:o=Vr,initialValue:r="",observe:i=!1}=n,a=N(r),s=L(()=>{var c;return Ea(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Do(e),d=Do(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&nZ(s,l,{attributeFilter:["style","class"],window:o}),ht([s,()=>Do(e)],l,{immediate:!0}),ht(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Do(e),c)}),a}function CS(e={}){const{valueDark:t="dark",valueLight:n="",window:o=Vr}=e,r=tZ({...e,onChanged:(s,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,s==="dark",l,s):l(s)},modes:{dark:t,light:n}}),i=L(()=>r.system?r.system.value:xS({window:o}).value?"dark":"light");return L({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const Z0=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function rZ(e,t={}){const{document:n=KX,autoExit:o=!1}=t,r=L(()=>{var m;return(m=Ea(e))!=null?m:n==null?void 0:n.querySelector("html")}),i=N(!1),a=L(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(m=>n&&m in n||r.value&&m in r.value)),s=L(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(m=>n&&m in n||r.value&&m in r.value)),l=L(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(m=>n&&m in n||r.value&&m in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(m=>n&&m in n),u=Cm(()=>r.value&&n&&a.value!==void 0&&s.value!==void 0&&l.value!==void 0),d=()=>c?(n==null?void 0:n[c])===r.value:!1,f=()=>{if(l.value){if(n&&n[l.value]!=null)return n[l.value];{const m=r.value;if((m==null?void 0:m[l.value])!=null)return!!m[l.value]}}return!1};async function p(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const m=r.value;(m==null?void 0:m[s.value])!=null&&await m[s.value]()}i.value=!1}}async function h(){if(!u.value||i.value)return;f()&&await p();const m=r.value;a.value&&(m==null?void 0:m[a.value])!=null&&(await m[a.value](),i.value=!0)}async function g(){await(i.value?p():h())}const b=()=>{const m=f();(!m||m&&d())&&(i.value=m)};return zc(n,Z0,b,!1),zc(()=>Ea(r),Z0,b,!1),o&&Lu(p),{isSupported:u,isFullscreen:i,enter:h,exit:p,toggle:g}}const wn=ru("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:CS(),title:(e=window.settings)==null?void 0:e.title,assets_path:(t=window.settings)==null?void 0:t.assets_path,theme:(n=window.settings)==null?void 0:n.theme,version:(o=window.settings)==null?void 0:o.version,background_url:(r=window.settings)==null?void 0:r.background_url,description:(i=window.settings)==null?void 0:i.description,logo:(a=window.settings)==null?void 0:a.logo,lang:hu().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await vZ();e&&(this.appConfig=e)},switchCollapsed(){this.collapsed=!this.collapsed},setCollapsed(e){this.collapsed=e},setDark(e){this.isDark=e},toggleDark(){this.isDark=!this.isDark},async switchLang(e){lC(e),location.reload()}}});function iZ(e){let t=null;class n{removeMessage(r=t,i=2e3){setTimeout(()=>{r&&(r.destroy(),r=null)},i)}showMessage(r,i,a={}){if(t&&t.type==="loading")t.type=r,t.content=i,r!=="loading"&&this.removeMessage(t,a.duration);else{const s=e[r](i,a);r==="loading"&&(t=s)}}loading(r){this.showMessage("loading",r,{duration:0})}success(r,i={}){this.showMessage("success",r,i)}error(r,i={}){this.showMessage("error",r,i)}info(r,i={}){this.showMessage("info",r,i)}warning(r,i={}){this.showMessage("warning",r,i)}}return new n}function aZ(e){return e.confirm=function(t={}){const n=!uC(t.title);return e[t.type||"warning"]({showIcon:n,positiveText:sn.global.t("确定"),negativeText:sn.global.t("取消"),onPositiveClick:t.confirm,onNegativeClick:t.cancel,onMaskClick:t.cancel,...t})},e}function sZ(){const e=wn(),t=L(()=>({theme:e.isDark?hS:void 0,themeOverrides:kh})),{message:n,dialog:o,notification:r,loadingBar:i}=SX(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=iZ(n),window.$dialog=aZ(o)}const lZ="access_token",cZ=6*60*60;function J0(e){Ai.set(lZ,e,cZ)}function uZ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),CR(e))return e;const t=Ax();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e.headers["Content-Language"]=hu().value||"zh-CN",e):(cp(),Promise.reject({code:"-1",message:"未登录"}))}function dZ(e){return Promise.reject(e)}function fZ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function hZ(e){var i;const t=((i=e.response)==null?void 0:i.data)||{code:-1,message:"未知错误"};let n=t.message;const{code:o,errors:r}=t;switch(o){case 401:n=n||"登录已过期";break;case 403:n=n||"没有权限";break;case 404:n=n||"资源或接口不存在";break;default:n=n||"未知异常"}return window.$message.error(n),Promise.resolve({code:o,message:n,errors:r})}function pZ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:12e3},n=yR.create({...t,...e});return n.interceptors.request.use(uZ,dZ),n.interceptors.response.use(fZ,hZ),n}const wt=pZ({baseURL:mZ()});function mZ(){let e=gZ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function gZ(e){return e.endsWith("/")?e:"/"+e}function vZ(){return wt.get("/user/comm/config")}function bZ(){return wt.get("/user/info")}function yZ(){return wt.get("/user/getStat")}function xZ(){return wt.get("/user/getSubscribe")}function CZ(){return wt.get("/user/notice/fetch")}function wZ(){return wt.get("/user/plan/fetch")}function wS(){return wt.get("/user/server/fetch")}function _S(){return wt.get("/user/order/fetch")}function _Z(e){return wt.get("/user/order/detail?trade_no="+e)}function wm(e){return wt.post("/user/order/cancel",{trade_no:e})}function SZ(e){return wt.get("/user/order/check?trade_no="+e)}function kZ(){return wt.get("/user/invite/fetch")}function TZ(e=1,t=10){return wt.get(`/user/invite/details?current=${e}&page_size=${t}`)}function PZ(){return wt.get("/user/invite/save")}function RZ(e){return wt.post("/user/transfer",{transfer_amount:e})}function EZ(e){return wt.post("/user/ticket/withdraw",e)}function Q0(e){return wt.post("/user/update",e)}function $Z(e,t){return wt.post("/user/changePassword",{old_password:e,new_password:t})}function AZ(){return wt.get("/user/resetSecurity")}function IZ(){return wt.get("/user/stat/getTrafficLog")}function MZ(){return wt.get("/user/order/getPaymentMethod")}function SS(e,t,n){return wt.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function zZ(e,t){return wt.post("/user/order/checkout",{trade_no:e,method:t})}function OZ(e){return wt.get("/user/plan/fetch?id="+e)}function DZ(e,t){return wt.post("/user/coupon/check",{code:e,plan_id:t})}function LZ(){return wt.get("/user/ticket/fetch")}function FZ(e,t,n){return wt.post("/user/ticket/save",{subject:e,level:t,message:n})}function NZ(e){return wt.post("/user/ticket/close",{id:e})}function BZ(e){return wt.get("/user/ticket/fetch?id="+e)}function HZ(e,t){return wt.post("/user/ticket/reply",{id:e,message:t})}function jZ(e="",t="zh-CN"){return wt.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function VZ(e,t="zh-CN"){return wt.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function UZ(){return wt.get("user/telegram/getBotInfo")}const Ki=ru("user",{state:()=>({userInfo:{}}),getters:{userUUID(){var e;return(e=this.userInfo)==null?void 0:e.uuid},email(){var e;return(e=this.userInfo)==null?void 0:e.email},avatar(){return this.userInfo.avatar_url??""},role(){return[]},remind_expire(){return this.userInfo.remind_expire},remind_traffic(){return this.userInfo.remind_traffic},balance(){return this.userInfo.balance},plan_id(){return this.userInfo.plan_id},expired_at(){return this.userInfo.expired_at},plan(){return this.userInfo.plan},subscribe(){return this.userInfo.subscribe}},actions:{async getUserInfo(){try{const e=await bZ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await xZ(),{data:t}=e;return t?(this.userInfo.subscribe=t,this.userInfo.plan=t.plan,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async logout(){Ix(),this.userInfo={},cp()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function WZ(e,t){var o,r;if(!((o=e.meta)!=null&&o.requireAuth))return!0;const n=((r=e.meta)==null?void 0:r.role)||[];return!t.length||!n.length?!1:t.some(i=>n.includes(i))}function kS(e,t){const n=[];return e.forEach(o=>{if(WZ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=kS(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const TS=ru("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return tx.concat(JSON.parse(JSON.stringify(this.accessRoutes)))},menus(){return this.routes.filter(e=>{var t;return e.name&&!((t=e.meta)!=null&&t.isHidden)})}},actions:{generateRoutes(e){const t=kS(nx,e);return this.accessRoutes=t,t}}}),qZ=yc.get("activeTag"),KZ=yc.get("tags"),GZ=["/404","/login"],YZ=ru({id:"tag",state:()=>{const e=N(KZ.value),t=N(qZ.value),n=N(!1);return{tags:e,activeTag:t,reloading:n}},getters:{activeIndex:e=>()=>e.tags.findIndex(t=>t.path===e.activeTag)},actions:{setActiveTag(e){this.activeTag=e,yc.set("activeTag",e)},setTags(e){this.tags=e,yc.set("tags",e)},addTag(e={}){if(GZ.includes(e.path))return;let t=this.tags.find(n=>n.path===e.path);t?t=e:this.setTags([...this.tags,e]),this.setActiveTag(e.path)},async reloadTag(e,t){let n=this.tags.find(o=>o.path===e);n?t&&(n.keepAlive=!1):(n={path:e,keepAlive:!1},this.tags.push(n)),window.$loadingBar.start(),this.reloading=!0,await Ht(),this.reloading=!1,n.keepAlive=t,setTimeout(()=>{document.documentElement.scrollTo({left:0,top:0}),window.$loadingBar.finish()},100)},removeTag(e){this.setTags(this.tags.filter(t=>t.path!==e)),e===this.activeTag&&on.push(this.tags[this.tags.length-1].path)},removeOther(e){e||(e=this.activeTag),e||this.setTags(this.tags.filter(t=>t.path===e)),e!==this.activeTag&&on.push(this.tags[this.tags.length-1].path)},removeLeft(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r>=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||on.push(n[n.length-1].path)},removeRight(e){const t=this.tags.findIndex(o=>o.path===e),n=this.tags.filter((o,r)=>r<=t);this.setTags(n),n.find(o=>o.path===this.activeTag)||on.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function XZ(e){e.use(XT())}const ZZ=["/login","/register","/forgetpassword"];function JZ(e){const t=Ki(),n=TS();e.beforeEach(async(o,r,i)=>{var s;Ax().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([wn().getConfig(),t.getUserInfo().catch(c=>{Ix(),cp(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(qT),i({...o,replace:!0})):ZZ.includes(o.path)?i():i({path:"/login"})})}function QZ(e){KT(e),JZ(e),GT(e)}const on=mT({history:A5("/"),routes:tx,scrollBehavior:()=>({left:0,top:0})});function eJ(e){e.use(on),QZ(on)}const tJ=me({__name:"AppProvider",setup(e){const t=wn(),n={"zh-CN":[OL,h0],"en-US":[t_,o_],"fa-IR":[qL,RN],"ko-KR":[jL,B7],"vi-VN":[UL,TN],"zh-TW":[LL,h0],"ja-JP":[BL,n7]};function o(){const r=kh.common;for(const i in r)oZ(`--${PL(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=W_;return ue(),We(a,{"wh-full":"",locale:n[he(t).lang][0],"date-locale":n[he(t).lang][1],theme:he(t).isDark?he(hS):void 0,"theme-overrides":he(kh)},{default:re(()=>[Yc(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),nJ=me({__name:"App",setup(e){const t=Ki();return tn(()=>{const{balance:o,plan:r,expired_at:i,subscribe:a,email:s}=t;if(window.$crisp&&s){const l=[["Balance",(o/100).toString()],...r!=null&&r.name?[["Plan",r.name]]:[],["ExpireTime",jo(i)],["UsedTraffic",ys(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",ys(a==null?void 0:a.transfer_enable)]];window.$crisp.push(["set","user:email",s]),window.$crisp.push(["set","session:data",[l]])}}),(o,r)=>{const i=Ia("router-view");return ue(),We(tJ,null,{default:re(()=>[te(i,null,{default:re(({Component:a})=>[(ue(),We(Wc(a)))]),_:1})]),_:1})}}}),Fu=Uy(nJ);XZ(Fu);sZ();eJ(Fu);M$(Fu);Fu.mount("#app");const oJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},rJ=H("path",{fill:"currentColor",d:"M6.225 4.811a1 1 0 0 0-1.414 1.414L10.586 12L4.81 17.775a1 1 0 1 0 1.414 1.414L12 13.414l5.775 5.775a1 1 0 0 0 1.414-1.414L13.414 12l5.775-5.775a1 1 0 0 0-1.414-1.414L12 10.586z"},null,-1),iJ=[rJ];function aJ(e,t){return ue(),ze("svg",oJ,[...iJ])}const PS={name:"gg-close",render:aJ},sJ={"h-60":"","f-c-c":""},lJ=["src"],cJ=me({__name:"SideLogo",setup(e){const t=wn();return(n,o)=>{const r=PS,i=Et;return ue(),ze("div",sJ,[he(t).logo?(ue(),ze("img",{key:0,src:he(t).logo,height:"30"},null,8,lJ)):ut("",!0),Cn(H("h2",{"ml-10":"","max-w-140":"","flex-shrink-0":"","text-16":"","font-bold":"","color-primary":""},ie(he(t).title),513),[[Jn,!he(t).collapsed]]),te(i,{onClick:[o[0]||(o[0]=s5(()=>{},["stop"])),he(t).switchCollapsed],class:"absolute right-15 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:re(()=>[te(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),uJ=me({__name:"SideMenu",setup(e){const t=wn(),n=h=>sn.global.t(h);function o(){window.innerWidth<=768&&(t.collapsed=!0)}const r=nu(),i=$i(),a=TS(),s=L(()=>{var h;return((h=i.meta)==null?void 0:h.activeMenu)||i.name}),l=L(()=>a.menus.reduce((b,m)=>{var k,S,w,x;const y=d(m);if((S=(k=y.meta)==null?void 0:k.group)!=null&&S.key){const C=y.meta.group.key,_=b.findIndex(R=>R.key===C);if(_!==-1)(w=b[_].children)==null||w.push(y),b[_].children=(x=b[_].children)==null?void 0:x.sort((R,E)=>R.order-E.order);else{const R={type:"group",label:n(y.meta.group.label||""),key:C,children:[y]};b.push(R)}}else b.push(y);return b.sort((C,_)=>C.order-_.order)},[]).sort((b,m)=>b.type==="group"&&m.type!=="group"?1:b.type!=="group"&&m.type==="group"?-1:b.order-m.order));function c(h,g){return Ov(g)?g:"/"+[h,g].filter(b=>!!b&&b!=="/").map(b=>b.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(h,g){var m;const b=((m=h.children)==null?void 0:m.filter(y=>{var k;return y.name&&!((k=y.meta)!=null&&k.isHidden)}))||[];return b.length===1?d(b[0],g):b.length>1?{children:b.map(y=>d(y,g)).sort((y,k)=>y.order-k.order)}:null}function d(h,g=""){const{title:b,order:m}=h.meta||{title:"",order:0},{name:y,path:k}=h,S=b||y||"",w=y||"",x=f(h.meta),C=m||0,_=h.meta;let R={label:n(S),key:w,path:c(g,k),icon:x!==null?x:void 0,meta:_,order:C};const E=u(h,R.path);return E&&(R={...R,...E}),R}function f(h){return h!=null&&h.customIcon?pS(h.customIcon,{size:18}):h!=null&&h.icon?Ks(h.icon,{size:18}):null}function p(h,g){Ov(g.path)?window.open(g.path):r.push(g.path)}return(h,g)=>{const b=mY;return ue(),We(b,{ref:"menu",class:"side-menu",accordion:"","root-indent":18,indent:0,"collapsed-icon-size":22,"collapsed-width":60,options:l.value,value:s.value,"onUpdate:value":p,onClick:g[0]||(g[0]=m=>o())},null,8,["options","value"])}}}),e1=me({__name:"index",setup(e){return(t,n)=>(ue(),ze(it,null,[te(cJ),te(uJ)],64))}}),dJ=me({__name:"AppMain",setup(e){const t=YZ();return(n,o)=>{const r=Ia("router-view");return ue(),We(r,null,{default:re(({Component:i,route:a})=>[he(t).reloading?ut("",!0):(ue(),We(Wc(i),{key:a.fullPath}))]),_:1})}}}),fJ=me({__name:"BreadCrumb",setup(e){const t=$i();function n(o){return o!=null&&o.customIcon?pS(o.customIcon,{size:18}):o!=null&&o.icon?Ks(o.icon,{size:18}):null}return(o,r)=>{const i=uj,a=sj;return ue(),We(a,null,{default:re(()=>[(ue(!0),ze(it,null,Bn(he(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(ue(),We(i,{key:s.path},{default:re(()=>[(ue(),We(Wc(n(s.meta)))),Je(" "+ie(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),hJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},pJ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),mJ=[pJ];function gJ(e,t){return ue(),ze("svg",hJ,[...mJ])}const vJ={name:"mdi-format-indent-decrease",render:gJ},bJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},yJ=H("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),xJ=[yJ];function CJ(e,t){return ue(),ze("svg",bJ,[...xJ])}const wJ={name:"mdi-format-indent-increase",render:CJ},_J=me({__name:"MenuCollapse",setup(e){const t=wn();return(n,o)=>{const r=wJ,i=vJ,a=pr;return ue(),We(a,{size:"20","cursor-pointer":"",onClick:he(t).switchCollapsed},{default:re(()=>[he(t).collapsed?(ue(),We(r,{key:0})):(ue(),We(i,{key:1}))]),_:1},8,["onClick"])}}}),SJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},kJ=H("path",{fill:"currentColor",d:"m290 236.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6l43.7 43.7a8.01 8.01 0 0 0 13.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 0 0 0 11.3zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9zm-463.7-94.6a8.03 8.03 0 0 0-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6L423.7 654c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),TJ=[kJ];function PJ(e,t){return ue(),ze("svg",SJ,[...TJ])}const RJ={name:"ant-design-fullscreen-outlined",render:PJ},EJ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},$J=H("path",{fill:"currentColor",d:"M391 240.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L200 146.3a8.03 8.03 0 0 0-11.3 0l-42.4 42.3a8.03 8.03 0 0 0 0 11.3L280 333.6l-43.9 43.9a8.01 8.01 0 0 0 4.7 13.6L401 410c5.1.6 9.5-3.7 8.9-8.9zm10.1 373.2L240.8 633c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L146.3 824a8.03 8.03 0 0 0 0 11.3l42.4 42.3c3.1 3.1 8.2 3.1 11.3 0L333.7 744l43.7 43.7A8.01 8.01 0 0 0 391 783l18.9-160.1c.6-5.1-3.7-9.4-8.8-8.8m221.8-204.2L783.2 391c6.6-.8 9.4-8.9 4.7-13.6L744 333.6L877.7 200c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.3a8.03 8.03 0 0 0-11.3 0L690.3 279.9l-43.7-43.7a8.01 8.01 0 0 0-13.6 4.7L614.1 401c-.6 5.2 3.7 9.5 8.8 8.9M744 690.4l43.9-43.9a8.01 8.01 0 0 0-4.7-13.6L623 614c-5.1-.6-9.5 3.7-8.9 8.9L633 783.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L824 877.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3z"},null,-1),AJ=[$J];function IJ(e,t){return ue(),ze("svg",EJ,[...AJ])}const MJ={name:"ant-design-fullscreen-exit-outlined",render:IJ},zJ=me({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=rZ();return(o,r)=>{const i=MJ,a=RJ,s=pr;return ue(),We(s,{mr20:"",size:"18",style:{cursor:"pointer"},onClick:he(n)},{default:re(()=>[he(t)?(ue(),We(i,{key:0})):(ue(),We(a,{key:1}))]),_:1},8,["onClick"])}}}),OJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},DJ=H("path",{fill:"currentColor",d:"M15.88 9.29L12 13.17L8.12 9.29a.996.996 0 1 0-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 0 0 0-1.41c-.39-.38-1.03-.39-1.42 0"},null,-1),LJ=[DJ];function FJ(e,t){return ue(),ze("svg",OJ,[...LJ])}const NJ={name:"ic-round-expand-more",render:FJ},BJ={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},HJ=H("path",{fill:"none",d:"M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0M20.5 12.5A4.5 4.5 0 1 1 16 8a4.5 4.5 0 0 1 4.5 4.5"},null,-1),jJ=H("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.899 13.899 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3c.28.304.568.596.87.87c.092.084.187.162.28.242c.32.276.649.538.99.782c.044.03.084.069.128.1v-.012a13.901 13.901 0 0 0 16 0v.012c.044-.031.083-.07.128-.1c.34-.245.67-.506.99-.782c.093-.08.188-.159.28-.242c.302-.275.59-.566.87-.87c.093-.1.189-.197.28-.3c.071-.083.152-.155.222-.24ZM16 8a4.5 4.5 0 1 1-4.5 4.5A4.5 4.5 0 0 1 16 8M8.007 24.93A4.996 4.996 0 0 1 13 20h6a4.996 4.996 0 0 1 4.993 4.93a11.94 11.94 0 0 1-15.986 0"},null,-1),VJ=[HJ,jJ];function UJ(e,t){return ue(),ze("svg",BJ,[...VJ])}const WJ={name:"carbon-user-avatar-filled",render:UJ},qJ={class:"hidden md:block"},KJ=me({__name:"UserAvatar",setup(e){const t=Ki(),n=i=>sn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:Ks("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:Ks("mdi:exit-to-app",{size:14})}];function r(i){i==="logout"&&window.$dialog.confirm({title:n("提示"),type:"info",content:n("确认退出?"),confirm(){t.logout(),window.$message.success(n("已退出登录"))}}),i==="profile"&&on.push("/profile")}return(i,a)=>{const s=WJ,l=NJ,c=Et,u=dm;return ue(),We(u,{options:o,onSelect:r},{default:re(()=>[te(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:re(()=>[te(s,{class:"mr-0 h-20 w-20 rounded-full md:mr10 md:h-30 md:w-30"}),te(l,{class:"h-20 w-20 md:hidden"}),H("span",qJ,ie(he(t).email),1)]),_:1})]),_:1})}}}),GJ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},YJ=H("path",{fill:"currentColor",d:"M11.4 18.4H.9a.9.9 0 0 1-.9-.9V7.3a.9.9 0 0 1 .9-.9h10.5zm-4.525-2.72c.058.187.229.32.431.32h.854a.45.45 0 0 0 .425-.597l.001.003l-2.15-6.34a.451.451 0 0 0-.426-.306H4.791a.451.451 0 0 0-.425.302l-.001.003l-2.154 6.34a.45.45 0 0 0 .426.596h.856a.45.45 0 0 0 .431-.323l.001-.003l.342-1.193h2.258l.351 1.195zM5.41 10.414s.16.79.294 1.245l.406 1.408H4.68l.415-1.408c.131-.455.294-1.245.294-1.245zM23.1 18.4H12.6v-12h10.5a.9.9 0 0 1 .9.9v10.2a.9.9 0 0 1-.9.9m-1.35-8.55h-2.4v-.601a.45.45 0 0 0-.45-.45h-.601a.45.45 0 0 0-.45.45v.601h-2.4a.45.45 0 0 0-.45.45v.602c0 .248.201.45.45.45h4.281a5.861 5.861 0 0 1-1.126 1.621l.001-.001a7.105 7.105 0 0 1-.637-.764l-.014-.021a.452.452 0 0 0-.602-.129l.002-.001l-.273.16l-.24.146a.45.45 0 0 0-.139.642l-.001-.001c.253.359.511.674.791.969l-.004-.004c-.28.216-.599.438-.929.645l-.05.029a.45.45 0 0 0-.159.61l-.001-.002l.298.52a.451.451 0 0 0 .628.159l-.002.001c.507-.312.94-.619 1.353-.95l-.026.02c.387.313.82.62 1.272.901l.055.032a.449.449 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a11.5 11.5 0 0 1-1.004-.696l.027.02a6.708 6.708 0 0 0 1.586-2.572l.014-.047h.43a.45.45 0 0 0 .45-.45v-.602a.45.45 0 0 0-.45-.447h-.001z"},null,-1),XJ=[YJ];function ZJ(e,t){return ue(),ze("svg",GJ,[...XJ])}const JJ={name:"fontisto-language",render:ZJ},QJ=me({__name:"SwitchLang",setup(e){const t=wn();return(n,o)=>{const r=JJ,i=Et,a=dl;return ue(),We(a,{value:he(t).lang,"onUpdate:value":o[0]||(o[0]=s=>he(t).lang=s),options:Object.entries(he(xi)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(i,{text:"","icon-placement":"left",class:"mr-20"},{icon:re(()=>[te(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),eQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tQ=H("path",{fill:"currentColor",d:"m3.55 19.09l1.41 1.41l1.8-1.79l-1.42-1.42M12 6c-3.31 0-6 2.69-6 6s2.69 6 6 6s6-2.69 6-6c0-3.32-2.69-6-6-6m8 7h3v-2h-3m-2.76 7.71l1.8 1.79l1.41-1.41l-1.79-1.8M20.45 5l-1.41-1.4l-1.8 1.79l1.42 1.42M13 1h-2v3h2M6.76 5.39L4.96 3.6L3.55 5l1.79 1.81zM1 13h3v-2H1m12 9h-2v3h2"},null,-1),nQ=[tQ];function oQ(e,t){return ue(),ze("svg",eQ,[...nQ])}const rQ={name:"mdi-white-balance-sunny",render:oQ},iQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},aQ=H("path",{fill:"currentColor",d:"M2 12a10 10 0 0 0 13 9.54a10 10 0 0 1 0-19.08A10 10 0 0 0 2 12"},null,-1),sQ=[aQ];function lQ(e,t){return ue(),ze("svg",iQ,[...sQ])}const cQ={name:"mdi-moon-waning-crescent",render:lQ},uQ=me({__name:"ThemeMode",setup(e){const t=wn(),n=CS(),o=()=>{t.toggleDark(),qX(n)()};return(r,i)=>{const a=cQ,s=rQ,l=pr;return ue(),We(l,{"mr-20":"","cursor-pointer":"",size:"18",onClick:o},{default:re(()=>[he(n)?(ue(),We(a,{key:0})):(ue(),We(s,{key:1}))]),_:1})}}}),dQ={flex:"","items-center":""},fQ={"ml-auto":"",flex:"","items-center":""},hQ=me({__name:"index",setup(e){return(t,n)=>(ue(),ze(it,null,[H("div",dQ,[te(_J),te(fJ)]),H("div",fQ,[te(uQ),te(QJ),te(zJ),te(KJ)])],64))}}),pQ={"flex-col":"","flex-1":"","overflow-hidden":""},mQ={"flex-1":"","overflow-hidden":"","bg-hex-f5f6fb":"","dark:bg-hex-101014":""},gQ=me({__name:"index",setup(e){const t=wn();function n(a){t.collapsed=a}const o=L({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=N(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return Lt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=YG,c=F2,u=UG;return ue(),We(u,{"has-sider":"","wh-full":""},{default:re(()=>[Cn(te(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:he(t).collapsed,"on-update:collapsed":n},{default:re(()=>[te(e1)]),_:1},8,["collapsed"]),[[Jn,!o.value]]),te(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:re(()=>[te(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:he(t).collapsed,"on-update:collapsed":n},{default:re(()=>[te(e1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),H("article",pQ,[H("header",{class:"flex items-center bg-white px-15",dark:"bg-dark border-0",style:Ho(`height: ${he(LX).height}px`)},[te(hQ)],4),H("section",mQ,[te(dJ)])])]),_:1})}}}),mr=Object.freeze(Object.defineProperty({__proto__:null,default:gQ},Symbol.toStringTag,{value:"Module"})),Nu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},vQ={},bQ={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},yQ=H("p",null,[Je(" Copyright © 2022-present "),H("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),xQ=H("p",null,null,-1),CQ=[yQ,xQ];function wQ(e,t){return ue(),ze("footer",bQ,CQ)}const _Q=Nu(vQ,[["render",wQ]]),SQ={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-5 dark:bg-hex-121212 md:p-15"},fo=me({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=_Q,r=ZH;return ue(),We(hn,{name:"fade-slide",mode:"out-in",appear:""},{default:re(()=>[H("section",SQ,[Yc(t.$slots,"default"),e.showFooter?(ue(),We(o,{key:0,"mt-15":""})):ut("",!0),te(r,{bottom:20})])]),_:3})}}}),kQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},TQ=H("path",{fill:"currentColor",d:"M20 2H4c-.53 0-1.04.21-1.41.59C2.21 2.96 2 3.47 2 4v12c0 .53.21 1.04.59 1.41c.37.38.88.59 1.41.59h4l4 4l4-4h4c.53 0 1.04-.21 1.41-.59S22 16.53 22 16V4c0-.53-.21-1.04-.59-1.41C21.04 2.21 20.53 2 20 2M4 16V4h16v12h-4.83L12 19.17L8.83 16m1.22-9.96c.54-.36 1.25-.54 2.14-.54c.94 0 1.69.21 2.23.62c.54.42.81.98.81 1.68c0 .44-.15.83-.44 1.2c-.29.36-.67.64-1.13.85c-.26.15-.43.3-.52.47c-.09.18-.14.4-.14.68h-2c0-.5.1-.84.29-1.08c.21-.24.55-.52 1.07-.84c.26-.14.47-.32.64-.54c.14-.21.22-.46.22-.74c0-.3-.09-.52-.27-.69c-.18-.18-.45-.26-.76-.26c-.27 0-.49.07-.69.21c-.16.14-.26.35-.26.63H9.27c-.05-.69.23-1.29.78-1.65M11 14v-2h2v2Z"},null,-1),PQ=[TQ];function RQ(e,t){return ue(),ze("svg",kQ,[...PQ])}const EQ={name:"mdi-tooltip-question-outline",render:RQ},$Q={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},AQ=H("path",{fill:"currentColor",d:"M12 20a8 8 0 0 0 8-8a8 8 0 0 0-8-8a8 8 0 0 0-8 8a8 8 0 0 0 8 8m0-18a10 10 0 0 1 10 10a10 10 0 0 1-10 10C6.47 22 2 17.5 2 12A10 10 0 0 1 12 2m.5 5v5.25l4.5 2.67l-.75 1.23L11 13V7z"},null,-1),IQ=[AQ];function MQ(e,t){return ue(),ze("svg",$Q,[...IQ])}const zQ={name:"mdi-clock-outline",render:MQ},OQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},DQ=H("path",{fill:"currentColor",d:"M6.18 15.64a2.18 2.18 0 0 1 2.18 2.18C8.36 19 7.38 20 6.18 20C5 20 4 19 4 17.82a2.18 2.18 0 0 1 2.18-2.18M4 4.44A15.56 15.56 0 0 1 19.56 20h-2.83A12.73 12.73 0 0 0 4 7.27zm0 5.66a9.9 9.9 0 0 1 9.9 9.9h-2.83A7.07 7.07 0 0 0 4 12.93z"},null,-1),LQ=[DQ];function FQ(e,t){return ue(),ze("svg",OQ,[...LQ])}const NQ={name:"mdi-rss",render:FQ},BQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},HQ=H("path",{fill:"currentColor",d:"M12 21.5c-1.35-.85-3.8-1.5-5.5-1.5c-1.65 0-3.35.3-4.75 1.05c-.1.05-.15.05-.25.05c-.25 0-.5-.25-.5-.5V6c.6-.45 1.25-.75 2-1c1.11-.35 2.33-.5 3.5-.5c1.95 0 4.05.4 5.5 1.5c1.45-1.1 3.55-1.5 5.5-1.5c1.17 0 2.39.15 3.5.5c.75.25 1.4.55 2 1v14.6c0 .25-.25.5-.5.5c-.1 0-.15 0-.25-.05c-1.4-.75-3.1-1.05-4.75-1.05c-1.7 0-4.15.65-5.5 1.5M12 8v11.5c1.35-.85 3.8-1.5 5.5-1.5c1.2 0 2.4.15 3.5.5V7c-1.1-.35-2.3-.5-3.5-.5c-1.7 0-4.15.65-5.5 1.5m1 3.5c1.11-.68 2.6-1 4.5-1c.91 0 1.76.09 2.5.28V9.23c-.87-.15-1.71-.23-2.5-.23c-1.77 0-3.27.28-4.5.84zm4.5.17c-1.71 0-3.21.26-4.5.79v1.69c1.11-.65 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24v-1.5c-.87-.16-1.71-.23-2.5-.23m2.5 2.9c-.87-.16-1.71-.24-2.5-.24c-1.83 0-3.33.27-4.5.8v1.69c1.11-.66 2.6-.99 4.5-.99c1.04 0 1.88.08 2.5.24z"},null,-1),jQ=[HQ];function VQ(e,t){return ue(),ze("svg",BQ,[...jQ])}const UQ={name:"mdi-book-open-variant",render:VQ},WQ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},qQ=H("g",{fill:"none"},[H("path",{d:"M24 0v24H0V0zM12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035c-.01-.004-.019-.001-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427c-.002-.01-.009-.017-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093c.012.004.023 0 .029-.008l.004-.014l-.034-.614c-.003-.012-.01-.02-.02-.022m-.715.002a.023.023 0 0 0-.027.006l-.006.014l-.034.614c0 .012.007.02.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),H("path",{fill:"currentColor",d:"M10.5 20a1.5 1.5 0 0 0 3 0v-6.5H20a1.5 1.5 0 0 0 0-3h-6.5V4a1.5 1.5 0 0 0-3 0v6.5H4a1.5 1.5 0 0 0 0 3h6.5z"})],-1),KQ=[qQ];function GQ(e,t){return ue(),ze("svg",WQ,[...KQ])}const YQ={name:"mingcute-add-fill",render:GQ},XQ={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},ZQ=H("path",{fill:"currentColor",d:"M0 0v545.312h545.312V0zm654.688 0v545.312H1200V0zM108.594 108.594h328.125v328.125H108.594zm654.687 0h328.125v328.125H763.281zM217.969 219.531v108.594h110.156V219.531zm653.906 0v108.594h108.594V219.531zM0 654.688V1200h545.312V654.688zm654.688 0V1200h108.595V873.438h108.594v108.595H1200V654.688h-108.594v108.595H980.469V654.688zM108.594 763.281h328.125v328.125H108.594zm109.375 108.594v110.156h110.156V871.875zm653.906 219.531V1200h108.594v-108.594zm219.531 0V1200H1200v-108.594z"},null,-1),JQ=[ZQ];function QQ(e,t){return ue(),ze("svg",XQ,[...JQ])}const eee={name:"el-qrcode",render:QQ},tee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},nee=H("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.251 2.251 0 0 1-2.122 1.5H8.75A4.75 4.75 0 0 1 4 17.254V6.75c0-.98.627-1.815 1.503-2.123M17.75 2A2.25 2.25 0 0 1 20 4.25v13a2.25 2.25 0 0 1-2.25 2.25h-9a2.25 2.25 0 0 1-2.25-2.25v-13A2.25 2.25 0 0 1 8.75 2z"},null,-1),oee=[nee];function ree(e,t){return ue(),ze("svg",tee,[...oee])}const iee={name:"fluent-copy24-filled",render:ree},aee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAON0lEQVR4nOydX2xT5f/Hn7M11A1lAqNmTQ1CS9QiZqbTSMwqetF6IwiJBRPwhkBi5EKyGLNyxcUk7sLtxkXjBRrNUHGikZiVSIKtMYGxaIo0TlcHsesCbVbJBqNs7X7xd/Y9bF3HnvY8/87zfF4XJmDPed7n87z5PKfnc55PbbOzswhYxIULF5555hneKixMDW8BgvLVV1/xlmBtNMhYiykWi+vXr//nn394C7EwkLHK8Msvv6RSKd4qrA0YqwxffvklbwmWB5bCUmZmZlwu17Vr1yAyZoCMVUo0Gr127RpvFZYHjFVKb28vbwkyAEvhAu7cudPU1DQ+Po4QgsiYATLWAs6cOaO7CjAJGGsB8FyUFLAU3uX27dsOh2NiYkL/I0TGDJCx7vLDDz8YrgJMAsa6C6yDBIGlcI7JyUmHwzE1NWX8DUTGDJCx5vj+++/nuwowCRhrjhMnTvCWIBWwFP5HLpdramrK5/Pz/xIiYwbIWP/x3XfflbgKMAkY6z+++OIL3hJkA4yFstns2bNnqzs2EomQliMJYCx08uTJmZmZ6o599913ScuRBDCWqeei0Wg0FosRlSMJqn8rTKfTLperbBBwIqNpWjAY7O/vp6POwqiesU6ePGnyn1YkErl48SI5RZKgurGI7Js4duwYCS1SofRSeOXKlY0bNy4VAcylUP/v77//7vV6KWi0KkpnLPProM7s7CwkrRKUzlhPPfXUb7/9ttT/xc9YCKHa2tqhoSG3201UoIVRN2P9+eef93BVpRQKhc7OTlJnkwB1jUX8dYZPP/0UNuYbqGss4u+L5vP5999/n+w5rYui91iXLl168skn7/2Ziu6xdOrr669evdrY2GhaoOVRNGNRep3h1q1bXV1dNM5sORTNWJs2bRoeHr73Z6rIWAihhoaGK1euPPjgg+YEWh4VM9aFCxeWdVXV3Lhxo6enh9LJLYSKxqK9zau7u/vmzZtUhxAf5YxVLBZp91XLZDIff/wx1SHER7l7rJ9//rm1tRXnk9XdY+k4nc6RkZEVK1ZULlASlMtYbNpAptPpTz75hMFAwqJWxjLaQOJ82EzGQgi53e4//vjDZrNVqFES1MpYLNtAJpNJlZvkqmUsxm0gjx07ViwWWY4oDgoZ686dO6dOnWI54uXLl7/99luWI4qDQsbi0gZS2f1hChmLS/urwcFBNTe1qvKtsKQNJA4mvxUa+P3+n376CX9cOVAlY3FsA6nmplZVjMW3DWRHRwfH0bmgxFK4uA0kDqSWQp2BgYGWlpaKBFgaJTKWCG0gVdsfpoSxRGgDeerUqUQiwVsFO+Q3Vi6XO3PmDG8Vym1qld9Y4rSBPHHiRDKZ5K2CEfIbS5w2kEptapX8W2E2m21qaqquYR/Zb4U6drt9eHjY5XJVocdaSJ6xzLSBpIE6m1olz1gvvPDCuXPnqjuWRsZSZ1OrzBkrnU4LWKRTZFOrzMYi1f6KOB988MG///7LWwVdZDaWsG8Gq7CpVdp7rHu3gcSB0j2Wzrp160ZGRlauXFnd4eIjbcYSdh3UkX5Tq7QZ695tIHGgmrGk39QqZ8Yi2waSEnJvapXTWCK8zoBDZ2enUM9vCSKnsazys+ESb2qV8B4Lpw0kDrTvsXQ2b94cj8dramT7Fy7b9Qj1OgMOsm5qlTBj4bSBxIFNxkII+Xw++X7mSZ6MVSwWv/nmm5aWFnptICkxODi4adOmI0eOXLp0ibcWcsxan+np6c8//3zz5s3sI0N2RISQ1+s9evTo0NAQ/bDRxdrGyufzH330EaVfsMERQGNcnebm5s7OzpGREfpRpIJVjTU5OdnV1eV0OulNLY4MeqPraJq2devW7u7u0dFR+kElifWMlcvlOjo61q1bR3tSccTQ1mCgadq2bdt6enoymQz9GBPASsbKZDLhcLihoYHNXOJIYqNkPjabLRgMHj9+PJfL0Q959VjDWKlU6vDhw/X19SynEEcYSz0l2O327du39/b2TkxM0J+BihHdWMlk8uDBg3a7nf3M4chjr2oxdXV1u3fv7uvrm5qaoj8huIhrrEQisXfv3traWl4ThiOSl7ayrFq1at++fadPn87n8/TnZ7nI8BZQhoGBgV27dhF5qG0GHKl8FS7F2rVr9+/ff/bs2enpafrTtURkeA1clmg0GgwGec/LHDiCeWtchoceeujQoUOxWKxQKNCfvYWRYTzeUvT39/v9ft4TsQAc2bw14uJyudra2s6fP09/Jv8XGWYjlaVQKPT19fl8Pt6RLwOOft4aK8bj8YTD4Xg8TntmuRmLUoGPIDhXwVtj9dAuSnIwFtUCH0FwroW3RgJQKkoyNRaDAh9BcK6It0ZiEC9KMjIWswIfQXCui7dG8pAqSlI3FuMCH0GwwicvJouSFI3FpcBHEKzwKUB1RUkqxuJY4CMIVvhUoqKiJGFjcS/wEQTnenlr5ANOUZKYsQQp8BEEjLUs9yhKEjCWUAU+goCx8FlclDRlLAELfAQBY1WBUZSUcMMqIALybFgFhAKMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBVABjAVQAYwFUAGMBdDh/PnzbW1tKvyYbKWoXIRubW3t7+8384LCXPgKhUIsFjt06JDD4eB9UaKgprGCwWA0GjVjqQXGMpienv7xxx/379+/du1a3tfIGaWMpWnarl27BgYGzFuqvLEM8vn86dOn9+3bt2rVKt5XzQdFjFVbW7t3797Lly+TstRcZJb9xNTU1Ndffx0Kherq6ngHgSlY4bMydrv9wIEDw8PDJIy0KDL4H52YmOjt7d2+fbvVt99gghU+a1JfX//WW2+lUikTzlkuMlUcMz4+fvz48UAgYLPZeIeIIljhsxoNDQ3hcJhB62VT77xnMpmenp5t27bJtDnHACt81qGxsbGjo2N8fNzMjONDZvvX6Ohod3f31q1bZXIYVvisgNPp7OrqmpycJDLXmBDesPr333+/9957zc3NvINJAKzwiY3b7f7www9v375NdpaxIkPpvENDQ0ePHvV6vbxjWz1Y4RMVr9f72WefydzcNh6Pt7e3ezwe3qGuGKzwiYfP5+vr62PfzbY0MsxGslxREueieGtcgPkCH0FYt4q0UFES53J4a5yDVIGPIDyb2wpelMS5Cr4KiRf4CMK/z7uwRUkc8by0USrwEYS/sQxEK0riaGavimqBjyACGctAkKIkjlSWehgU+AgiorEM+BYlcRSyUcKswEcQoY1lwKUoiSOMtgbGBT6CWMNYBiyLkjh66I3OpcBHEIsZy4BBURJHBo1xORb4CGJVYxnQK0rijE52RO4FPoJY3lgGxIuSOIOSGkuQAh9BJOxB2tLSMjg4aP48OJEhcqvn8Xj++usv8+cRCgl3QofDYd4SKuPVV1/lLYE8EmasYrG4ZcuWRCJh8jzMMlY8Ht+yZYv58wiFhBmrpqamvb2dtwpcHn/8cflcJaexEEJ79uwR/xdcdXbv3s1bAhXkNJbNZnv77bd5q8Biz549vCVQQcJ7LJ18Pr9x48Z0Ol31GRjcYzU3N//6669mziAscmYs/fUS8ZPWa6+9xlsCLaTNWAihmzdvPvLII9lstrrDaWcsTdOSyeSGDRuqPoPISJuxEEIrV648fPgwbxVL8uyzz8rqKsmNhRB64403hP2d81AoxFsCRSQ31urVq998803eKsqgaZrcxpL5Hksnm82uX7/+1q1blR5I9R7r+eefP3fuXHXHWgLJM5b+EubBgwd5qyhF1ueiBvJnLIRQKpXyeDz5fL6io+hlLJvNNjY21tjYWMWxVkH+jKX/UPHrr7/OW8VdXnzxRbldpYqxEELvvPNObW0tbxVzSPxc1EAVY7ndbkGm026379ixg7cK6qhiLIRQe3u7CA0HA4HA6tWreaugjkLG8nq9O3fu5K1C2tcZSlDiW6HBxYsXn376acwP0/hWWFdXd/369fvvv7+io6yIQhlL32cRDAY5Cnj55ZdVcJVyxkIIHTlyhOPocpdx5qPWUqjj9/tjsdiyHyO+FD7wwAPXr1+/77778A+xLsplLI5Ja8eOHYq4SlFjBYNBn8/Hflzp64PzUdFYXDa1rlmzJhAIMB6UI4oa65VXXmH84wY7d+5csWIFyxH5oqix2G9qFaSgxAwVvxXqzMzMPPbYY8lkcqkPEPxW6HA4RkdH5f4VvhIUzViMN7WGQiGlXKV0xlp2UyvBjBWNRltbWysXaGHUzVjMNrW6XK7nnnuO9iiiobSxEEIHDhyg/TJnKBSqqVEuzspdcAkMNrUq9VzUQOl7LJ1cLrdhw4YbN26U/D2Reywp20DioHrGor2pVco2kDhAxkJLbWolkrGkbAOJA2QsRG9Tq6xtIHEAY83R1tZG/MfG1Lxt1wFjzUFjU6si+ybKAvdYd0kmk48++mihUND/aPIeS+I2kDhAxroL2U2tqr3OUAJkrAUkEoknnnhCj4mZjCV3G0gcIGMtgNSmVrnbQOIAxiqFyAuA6mzzWgpYCsvw0ksvRSKRqpdCTdNSqZTT6aSjzhpAxiqDyf1hfr9fcVeBscrT+v9UfbjKz0UNYCksTyQSwenysHgpVKENJA5gLFMsNlYgEIhEIpzkCAQshYRR/LmoAWQsU5RkLLvdPjY2pkLDvmWBjEUSRdpA4gDGIonKrzOUAEuhKeYvheq0gcQBMhYx1GkDiQMYixhQH5wPLIWmMJZCpdpA4gAZiwxKtYHEAYxFBqgPlgBLoSn0pXDNmjVjY2NKNexbFshYBFCtDSQOYCwCQH1wMbAUmkLTNAXbQOIAGcssCraBxAGMZRZ4LloWWApN8fDDD1+9elXBhn3LAhExhZptIHGAoJgCnosuxf8FAAD//3s5fchYZyekAAAAAElFTkSuQmCC",RS="data:image/png;base64,UklGRiYGAABXRUJQVlA4WAoAAAAQAAAATwAATwAAQUxQSJ4CAAABkAVJsmlb8847eLZt27Zt27Zt27ZtG9e2bdv39tNZe++17vNPREwA/dOZo6hWhOxFssnRaNra4w+M3CJNqvLX1D7cxeDukVWTazDpXKDXrxFvXaOg9x1TDg99iOzM17Ak6Ddgc2dA0hCeZoL1k2zImMbPGvABrORlP7jBHi40l8ARzquVy/MEXOFhLqWKGYAzfCqiTGV7cAfbCko09IUA8KonX8cICIGwdnINToQgiO8vz9QMCIP0iXKsgNx8AEuk7YZg2C5BfQ7C4ZSKJdcDZAK4UyR7iSq1a1Uuri3+EZkCgt0jk1JTE8OdfJFJ8PoTsW7ZP5APx45dffiYRFTTlQfjkkQb+RhJRKXNlXuej4iW8TGaiKjAa6Wu6oiIVnBE2W8qc4h+yBVlOa7EehKBaLN8s0kQWiBT8ggShsak6ktL1xfdjQSiXhEIfLFzUrdm9es37zlt37sw+DQjoahCu0LEXLxDCRJM6f84fDIDYybV/XTx0o4xkab6sL0fQwRY+aOA19v6V8rK9sPCrRccPHhoT2meah08ePDArKYFiP+ClSqUlEXc0h5J8fGDuWozdpTE0YNys5WKAjCSLfeg0aMkjm3DVAsybmCjdYCxmm0tZKzFUtQg0E+iv98gCfm90YPY+/v6+0kMNCjKQup8eaXmJKm1e5DUnHml5lPTL7y21f4PrZVq9WF/Ky0n6qbb7AFsVWorAPttTdWKqRpusAYAx+1FlSq63REArDc0VClRZ5VZOgC3/W11xKGu7X43AOlmq+rIVGOJYSoAr6OdchC3OTod9QKQarikhqTi8z8kA/A70yM3cZ67xxk/AMkf5hdnUhkBCLrULx8Jma/fpSAARioWuhR+c0ghErjQkJvhl4hZXYCEL6Bm+5cSVlA4IGIDAAAwGQCdASpQAFAAPkEaikOioaEa2ed8KAQEtgBbJur/YPxm64bFPaPyH5r3ezvr+QGYz+G/on+Z/p35Z9rD8o+wB+lvmZ+p3+Af3D+5ewD9b/2v94D0Af9X1AP8H/uvVU/zfsMfsV7AH7O+mR7Gn7ifuB7V2Yn/RLToBFaF49vT657i4FNhTFMPtqGBnLHb4B0mdEFIcp89CJvbbCPD4/QeZhwQQzZ8BxgBYJstiZqMBJD6z585YDHszJsSre6r3yMDyPrDGOzaYTcIIILf8uoSangA/uHNmzlTvvlp4WxismwIwhrpTbKk5HA99Zt/tjf//B1f/wjF//4Oz7Ro8qdwrGruK80gZGdfcjEjVmeAY3UNq/bKHbPJeZyPGePUJYsf1pTxUT+M/1yY9sp5QEaUI/nWbM+hrV4Wv2GCz8YHB1EU6uczvWjFJmo/ILHBjfR2dpCGtC7aaJrcU2802eJTgxsCLzPMTBp+iLQAcf1z34AZndAHu/MsTUnzhvX5iBLRl0rcsyt8px9H3DpVdPqz9F30dKwOAKELHB71muyZVCqSi6Ijvf/Z3WEYi+Jy9gg4gwMX75I/kfFsZTr7B6AUO5g/bTvaEq7oh9QTCrGVLPJY2tIyTiFf6+rnBPHuJQFG2ntz1V2ZE3kFqOf1JYkNtmTx5bM42JZLzDv8lK+cZlqBMuGj5tTqsUlkszMA9vYVj/+YQXiow3o8IGtvSD8Z9yp7r5vAB/RBYfyMXHGCD2/Vj9Krhqkp9w11usppHaLv4fZw8b3KwrMeg4xklboK6/9Fk8fH9jbQr2Gh3gBR1O00KEtl0DoRpGMbFooOH7dbaaubWVWnZJSKjwKIyP/s2PwjLOOynzDVSVfh9QzyYBAtiUl2qfMRoRAekN+1zwxjUnBZz1zVVnum4pxFz4O/ytYWZA4AKd06/BG2+/aqSmflFZELL5IvsKadrnEUwQiAtJkrfXIu0S5ATyAZ8U7ztY9txpPVO65FVvH6NJPkeoxN4DJMkkeJyGkxeZyTOKOXTYLyG410M+lef83/R1x+Fufa2JlrS4UJj9uQp/8XdI+6n2yYec5INem5wZ3l+51bAhgdYqwdZhQ4nrP/8zviDM+SQAmVegbwNZIXMtlySH9p0fzgvNUc4nPYjSzoYgAAAA==",see="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC+lBMVEX///////7+//79//+ZfOn//v+UfumXe+f9/f9crPCZe+n7/P5Lu/Fmo+/8/v6cd+b5+f339/1ooO32+v16lOuYfeqgduqZeedQuPFVs/Bfqe92q+1xme10l+1+j+yOg+qdd+n6/v7x9/318PxStfJJvO9Qte93l+uQf+nq9PzX0PRiqu5vnO2Bje2IiOv8+v719f3y9P3y7ftPtvJNt/BVsu9Lue6Hiu2RgOubfeqbeeqXgOideuigd+f69/7w+v3z+f3n6/vf8Prp4vnH6fjp3/jA5/fXyfRZr/JHvvFXr/FrwO9Rve/Due9fsu9lpu9fvu5Yse61o+xum+uLheqJkemgdOmnkuiUe+j3/P71/P75+/7u8/318vvj7/rc6/jb1/VXsvLHwPFzye5ipu2Mhu2ymux7kOyEjOmeg+emieagfuXo9/zk9fvn8Pvt6frw6PrY7/nV7Pnr5vnJ5Pfm3PfE1/a72PTO0fSz0/NKvfJeru+Twu5roO66su1osO3Eru2Nq+1qq+yMpetyoOuCm+utneqajOipjeehiOeihOeLhualfebx8Pvp7vrN7Pni5fnV5/fQ5vfg3vfV4/bD4Pa54vXPy/OCz/KnyfK0xvLTw/K+x/GzvvGHyfCpwfB6xu+guu/Kue+Mte97ku9pue7ItO68qe5ztO2ur+1Yu+yXsuxuseuKmOuqpOqWouqtk+mWk+iKjObs9/3n5fm55fa+3vbX3Pbk1/a02/Xg1PWv3/Oc3POt1/PWwPOS1vKj1PKd0fKtyvLPw/GcyPCKw/B7ve9Cve+Hue9pxO6Cwu5zwe6Dt+62sO6Zr+6ese1/r+2Eoe2Truyfq+yapuyCpuy6n+uOnuuZm+uYleuwlepypumhkeiSi+iRhefQ1/XR3PTay/SWy/O60PKZz/KPyvLIxvCVuu9bt++Lve13ue2zt+2msO2Ro+2ms+ysqux6luzDp+t5oOqmmuqNhuqxoumkn+m1nemviufl+fqo2/S6v/Cuue2yuOxBqZCiAAAHmUlEQVRo3u2ZZ1ATQRSAd+9ISALpxJgASYBAAoGIIEW6ShdRpAjYBQTF3nvvYu+9995777333nvvbcbNJSjqDBIu+0u/yeQ2JHnfvvf2lpsLsAG4QYr/4IYkAW6aNcPrQNEz1x3Kis4AWGm+I+FAXMKOZgAf5Igs17i4uC5xWW0gwITT+BquXbrEoYfroUgewILTlsW2trauroaHbY1oLO1HjrJIkjBxYoK/ra0/BgsJWeMXVyhbtkKNz+GZ46v6+6NRpMUlILKGwVE10glCRuuZboZxa0tbKlet4FvW7UgbBoQkAzSf7qb29Z3pbtk1Fj5dplarj7SG0HTaI4vabVeGJS2MbX5qtaxofZrPlKllD6MJyzlgm3kymWxeJFnkT63n+TWUHWluOUnmPRQwcROrSGoQjkv0S0ra6WSpPMC4xIYNG94W/3be7Eryi59nsf3F+TA7Nv5xZfhbA9z3x8fG3raxUCbru7LZXddDgvh11qhgsbE921ho+T5is9n7wiEC/IK4G7sre69lutJOx2b3bAf/lIDRPbuyl1a2yFXTXpRIN7FJQqKVxSjcazK7yeXybZZofb2Fcrmu3c9FlZHBKpSA0X3k8qPOgD4ddTr5QWdIUmGbj98xceLW6GYkMqBHxMFsXZ/R9B21u2XrsjsTVD8ytxzy93f1t03IWpdhmkF29exJBKRdLXtudfv6VD/C7/q5VfB1c/NVuz3cmQmh8V2uBeo1jlud+4g62XnbusbGJx7edXd/YlLDxE3U/DO6GaZA10FMQpLOhKEj9ZfK2Y/bRRC8NZ2XstkLK0OqXlyuqCNNB4yYw+VeGWUYEbuzq9uPIiCDALzOOl31zkiMzPbdRXt5NCUt7Lmik+5GnUg0iSBIBlpVa46KuA+oGkbM6S46GEFTMrZfd9GD2tR+eM6zXwdIFY7kzUj27E31m5wkEtm3oCnpkOyZvJsqTItTjpqbJonTDEfH3uWNi1jUvd9YQI/dyZ6eHahR+Wdz7aYaJUB83G7uceP/F5Rqvw40N65ZDp6vxxqHT728ztYBFBtSvRTTWNTyGn7O02EypCURL0GSesZxp9UBAYuGoQFrzMWAnNQNxl3ZubeDwwweSrDUUCHOuQNqpt7LlTlD399v4NFjYEqO8piAcgDBEgeHWTa0UqnTF3XYGRrjrb2qZWqZwcHMwEDtm5bwR0EdlohpSYafcnQ8LTZJQNSAYGsOh2PFCX7XFpggZ6BPeNOSVDqlcTwuAIXUndJ4SH5+0/Mx3uAH0zSavuUBLUl/jeZEbVAIhGGtoqJahRWd+GQ7+hI7uxPFXvUgiV3fOnQluSiTv0gu0JQsU+SeKV4yLdfuGb1yDV+mUJwVg2IgvubOXUFPUueCQrHCu9iN5zmahpDeEr7gpSh+noIzXl4rhtGRlF+U57WsU7Gri9cp1Svvm7D0DsGTvIDUTiwGo7ie8Cak5uV9KfXFPby/Wh8wlQeRpNhcpq4OWD2htJIxq/T6F8K/XrpB4SJ9wKWRsFR9ES4fOnTVyJJ8de2qgJRFAkiWQuIxNGVoNaIkEkajnJxrDUAp8H6fknKpEigRLS+9TVkuKIWkwXWl8hgLlAhWD+Xba2PMd7COKQOve5gzo2rm92TY1cDAgS1BCWk5UKt9421+tYIDtQOEJT5tl2sDB1YxW9KIydT2MLUEAlDOpe1vxnJ1yxVtipbJjIHmtmQBk8lsZIzmUsWjWs1aAz0A/CXVWjWreVRxMZogmlN6NbO3rQFMCXMCyxi/SbB1OpM5oMg1CQTCd+np6RUHF5omMCWcBSwzJXVrSSTMxii+dXq6tbVVRYlEEtyI8VNC7Am2tkJYI5rUqjl7AfpAYzPPFOgzGMXgSK2tJFYca4MFvWoSw4KF73sMNhnQgcORSjkVKwatNHfDbzVEKg0JCUHf5+cPvrxgT0xTDidoyOxhpjxnD+FU5Kyc0qtx0yZ8qTQoKCgESQa5mClpiyR8fn7Txr2mbGwZRkA4n68KUfFXzt8cFbV59kopPyjIKgYwwnzax/T6MKhJiJSvUpkvaUrFbxWG+gARwOcyP0RVRsUPLcjn81VIqDqP3jMABcg0/8Og/EE+ZvZEGOUj4KEj9YJ6rnKZH1pGFVqmTCg/DT2FnvcpXNIkOjLQQt8sBLRp9aoARUeElklLK5jvQsktTrmNrz4WpKWlhRZ87BVlQxBIggOWT/tb27ffau/CMpURG7AwPE6HUQLx5QE/rdu6NTocp4R0isxyPXAgIWsEga9UZHQNf1uEa9UR+IpVuSr6eWNxgm9Z6lcNPPB2+smS7o2InI4OmwAm1uyPj98XDqD74aT4fWKAh/o9DTehAQnX62IXugM8oLvAC1tQvekjRze28TCqD/cklQC6nWdfD+Chnr3oSn3KdkV0sg7AQ8Qcz+Q7EEBwJzl5lg3AxFSNZokzAM6nHTUdAC5G9rfrfxOAGy9f9h0OcFH7uSL3aZj3mdy503gEwAW695h6o1OeYtlIiE0CBS/0+osX9fonNgQ+CRhzLUefoly1FiAJNmx6aAOVykYsAqcEtL0qYQ6oC5EDJ3usBrcHuBHW3M4A2KkrBNiBEAL8QPAP8x0ZyfbHp+5ubwAAAABJRU5ErkJggg==",lee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEX////9/f38+/v5+fj6+vr09fT29vb49/f8/Pz3+Pju7u7y8vIHWenx8fDt7ewJZOvw8PAVfvH08/MUe/EGYOkPcO4HXekmsfwWgfILZ+wJbu4kpfsQc+7m5uYJae0hmvcJWuspuP4ekvYbkPQLa+zq6ukjxf8nwv8hl/fr6+smyP8kvf8LXukotf4oz/8HZusJYerh4eAjofkMa+8Mcu4Zh/URde8ag/Po6OgUePHd3d0s1v8djvYObu4HV+fW1tcq0/4nqfwknfgelvYfivQWw/8mrv4hqPsDgO0mq/0Nee8iyv8drPsnp/sNr/ohovoBnvUClPIjwP8jrf0Fh+nj5OM94P8z2P8jzf843f4Uyf4GqPkcifUOgfAEiO8MYusG2f0Dg/AOfe8v0f4C0/0Muvwgn/kXhPQCjvARdvAD3/4Ds/IWr/gCeesD1vcUh/Dk6e6gwOza2toA2f0Tv/0Fo/gBmfMYjPIGjunx+PvW4OoDgePS09MJ5f8W0P9C4f7x8/SHr+sgeOrg5ughZ+LP0NAx2/8i0/8Mzv8E0fcfnffr8/Y2pfXV5fTp7vCTuOs0gOkLZuZ0oeU4eeNK5v8T1//l9fsQtfvZ7/hPv/MumvLP4vDD3O+pzu/K3e7d4+zH1ehUiOLO1twj2P4ou/y53vdMsPV+wvMQsfOV2fK20O9truy71+p8r+o/m+lmlOIg4/9FyfmE3/VuyvXh6/TF6PRZzvMxsvGTw+8tjuwFcOoVcOlNkOhEgeYxcuOAqd/FztEywfkEufnK7fih3PSVzfIMu/Lb5/C35O+Fuu4jcegVYeTHx8kw5P142fe91fGr1/APnvACqu9Moe6sxuofgul70uilvti6y9Y76f8P3v4Gxfhauvfm8PZq4vaP4vVBuPWAzPFxvPFAqu5moexfreq1xuDZ3d+Uu9ubtMhC5v8MyP5P2vtW4vkem/ir5vWe5PWr3vU1zvM7ku9s0uhboeas0t04id2xwtNI1/OUz+Bsrd96odS6wcVzvuN1vNeI7X81AAAQf0lEQVRo3uzXfUzMcRwHcNzd7552t5/zBxvNaB1p2mo7TtfmyMOMPJRKedhZp4idJk9nyNaUW/FXcSGsRwlTuS7/6QFnUwtj8tCDh6EHkZiYh/f3+z1dHqbu5D9vf/in/V69P5/vt9/dsP/5nwEz/Mf8G2DYj/+GmmLAz2HUkBH9BMkIFsnQDq6PoA8XCqQCRMgYZ8UhqoECQrPVVlCLFNis6Rwg6jBoKGrAMNcUl2dXTcjP9/OrqiotL7Y94sRSIRiWoRiVuaC8ZfTUqRMm+Pn5hU0KU6vVpeWORxwHhhKeKzDYtIQ15XYQMAgyaZJ6klo9ZUp3vU0h4gRCCVP+7nJIzLUt4aNHQ6FI2Hdk4cLS14dUKCNhP/dXTQ632heFE+UXZEVs2UWm0HhcBEZRaHj4vHn9EAQGlBX+/vVWucjjLqwGM2YtAPJTExDE8I+tv9ineIQgEvOV0PmzZi1gCBQgMICwIrH62OZDcg6KZ1XYHXyTMTYUSPgCF8JWAoMi+t43vGv7Hm3EWrhkbCibF0Py/cLCnAg1kI4ahUgsYIon19BcFDiWIlBolan5SJjahej0uqiyRCjkVqK9B9MqyABC5wUEyW690tBQ3Fo6Rf29iE4XFdXrkPUt3/1pmR/HBQYyhKy+pfV4itbHxzfxWHGp2oWkptZfVABxvwq96gUZcYFLnFXmLShsSNH6KpUymYz3dVRQREeKREd3OHgV2YoHTSTSoldAoNDVPzzrpfWV8QqVSqRS8LYKen5hpEZHR5cdYlXcVMg7yvrkVVzcEraV8MKzXj5KXi7ixGIxx4nkUPTOIpGRncdkck5AEHdXIsmZ/CpudiDdSmhGjpeWGuS9KJWKOXlXqZ4Z0cmRyV1K3rl6t9ceMn72bChkLUUniYEH4T0lIe9gLr0slhooEplclsiTU+z+uKy3Q8aPBxMHpvA49gFDwF6FVKnpAMKM5KZjMhWZF+LeSgqOhkyGQssURfjAELPHMEW8rxlLZ0Zyp0Op4DyY14hK78kIYeIysHVehSJ4ikup6UhlRmZm5msfnpwvd5uYS7xDnMjsZ7u8lAoVfaOzkLVw6U1OAylLlKncWgoMKIdve0+c6FQqI7RKBU6vVNAXHLB9r6MjwbS1AWm6ppRzbiL4XQ++BcKYo2ci2PntH5FIYUuuq6trbGxra2vstOG3ELjZBHu/5O1NEOT2qQDcRNx2Bc/LeB7/K3hEebDzAkKcxkyHVqaSCt1sMiJnjjcUJCTk2fOggJRdNseb2tpiktoGx4ldKVptSlPCHhpIXdgaJ5C4hYwQVq4KJiFMyfuPd3squvV6vNRXxMTMnRtW1ZJd3ppzFghLQkKzly/uoztVhksE0uub58wJDqZt7N0Wi9FozMpKS/P3XxgT0z5369Z11dWj7fb2pARnygJ8eHaRBl9EwJ3bPAfZEQxoo4UgSTDS9KiCLkRZd2Tx4k2Lqx9YTAaDIenu8whfBTvkg96IdF9JvGYVFNTxvmqxmJKSDAaC6Mm8gKyjyOKVSPUDo8nYkxvkpZRTZLCXRChOfxo/XaNZBWhV8FWLyQQjKy9PFxu792dk29JtGx9YKi7PDPCRiQTC4cggatBpPXo3Zjqi0WiAwHAiev3eAxTZyhAY25Yit7I/70cVFdkKMpBBj5bY2nyUIvHxGs0OiiTdvw9ER5CYX5Dty0I+fUAVnv6VxCMGMjAsc1en5ebIMTTx0zcTxJBw/0JeXpRO1w9xGduXLdt5/kVuhBJ/4Ab6MOn8WmVtTk0y3hxJQqWrOD8ESU2NitLtZfNyIcxYtn79jk+ncO05bIXmT99HJMKapiyDgSIsQGAQBEnbazzQ3u5C2LAosmb5+RzcSOkfv3yxT7/mro68LAOajOrLaZMJRl1vRc9dBJc/u7Rqa3U1EGcRQgBZs/xSZaLij1++2Lk63Byly8PlsjiRGchNU3dvz8f39y7v3717JpKbe+/9xy/Z9k20CBsWDGTtnXPXVBw7YmB+u3MY+HigS8vKMhpP0+dPm7Zhw7hLX19+vrF/98wtW4KCAmiCtmyZefnDVztBmEEEZPXmkoP4SAOF5vfGt17NNabNKozjSunAt6Ut0FZa24LSGqs1LbbY2gjEMUWJZlFG4ochEZcRsi1QPshkC4HSxQUGpW2iDhgXo9uEAVGJjruXIAGMqIOwxJnoNnGLiVGXOeMt/p9zerUx0S/+tyVLOO/7e//n8pznebZPkHpyyL6a+yEdpAoRo6TRXVCp17uY9PrKAnfJ+a/2fQ4jMQYgVVWXuyTMC7eSvB4vfULF03Mvthzds+ejGgI4VNDKVTDcuFPMLEnFpSLIZK5K98/vfrBv3+fPxxiPPgpIJiixmzrRCPOBDJfU0rJnzxf1Dh0A2qKiIuPvHx9pLHDJhAyJmAuZqmCq/PX0y4xCEIbgkMzLSxJxhPJ3Iy+8RVUHCqinW44ePfrFQZVDVVRkhwzDHx926ynxitzylEIK7Rf373/5NCifPwkGCFBNTU1mTfYYKhYRp8QxSKk/vH831ZvgtLQA8tl0ERhGu0Fjnf+lBIEJSbUoNTXSxhEr+k4+vn8/IMA8uQuAAwcOgJGN315/tyQtkcKNpH/4JpWbxMG9dPS7n0ZX7HajQaORy+WrCwSR8BNASk8ViRWfPlQBCsOcvn7jAKkcwq6s6xlRiEGJnzBer799J4mBQHnz5/Mhg1GjsYKhVA+z20Icl9yJxN0Xyx4HBJTT+y5dvQoKh2Df15XPLkUTzngjP7yPehN9AMLc+fA7Z9wlE1bGqLYp83ybblx8YchNHNJ/qawMGGbmtz8+3rwxzSA4Wdj5M35Kz+OtsDr3OLoAJAI9/E4/TtyVGY0cDItSLS2eKClwCQhLMSetpzp23gYIYR6/grO6NTftgHR85/cM8GoVijJS30DxDHHS8TOVOHdDIbJhYxDflhtxHNlIdE36Lu3duRNWSJd+OXK4sWC9hygqrpmx7oiVOCP3kAh0z1Pvf6pHAWpqD9rkNqXaYpFKmRUTRdiokeXcDlC4lz/fA0Pv8ni1Wi0RsC21sEL3ZBwk9Ud05CJ67et2HApBZl732ZRKtToPEKwKv13TuZFb+sfv4hQszLHNwyUUDyaD01qS3Uh//ArKXqIQxPe30W3guuf24wOoeCgTHRwmBmxI89TYYEgUMM3pxEibHL0DkDDlm/dKGispjx3oMRiNeD/JMNsQl+2R+w+/4gTqbNy7qDcJGWKxRCJ4VtU0VcV5UotldYFlVpgBpADixd7S0u87OjqoOj52BUEHj2RJMtoChqhW1li1GoP8iLffG9bxAZS5WUjbs2AFJjBXeRabzTq/VaCX0e5HKdc/np9fWprLvcAIiwd4pC9k1YRlDfgFKryjENEi+ibQraRTDWaBytw0sUThWWUMtdImt1qHkdwLrIBYul7fRPkryorvO3qvHG6sNOOzUHq3Tiix661M8qBMwaY3UlW9fWtMJ1xUVeGDEQQHh6URiMZgnKBlkWSJJ0dzagubgMkvhZgRqlrxRJonYKuulpOqlcPtAnZKFNJ5gXqMj0AVj7x7xsTCbSqqQrGw7gPEYoERQGaCoMiEhrGNnBxnIWGg3k0yQt+MJ0RrPqUFstkQjOYGsSgxyEsXKgBgkIqTWBJcOoihoEgagsXwoayWazTYlzML2Krtbd5ySpVqkVwC8xs3QsETT3TNq9VqJWSzKUPN8ZCULy9UVDyG9hxUdrLZRDU5QjpOg1gYmGOThdkCxOFdePXVBa+jLptRnKCMny9xV5p4awVndHI+T81ksahDzbJESBkQD1HLqQxOqOeDSwPPpElk6z4lLbuBToDK4Q1OzGgduvvLaximduoKnXX2Vawo7pqX0tkFRP13SOcFdDMBKYOOYU0ieTOsKBoWVpVyBilSqXR1RissgfJANrlxLhxhNw0/pHjT2qqUC3FibjABIr4ICBC3kc668DPe30intW+esMgDNFsUlKxKq5VwDl15OW7a65gsimmornm4aStmwo7Mk2J3xSB41+ITEADQzpPN/KJNZ8XQtgzz0JxSrrHbYUSDqYYrWh6ilM/+wiYrnJyk35wyOQeAlGOKg6YESOrrx8IQdJ62nzULbAunh62YtkJWgmiUiC9qzJ0mTLmxySYLFwfbJ2jDtVmkzAShVj0yIStuulJeOclM7CRGxyWkzfw5FqYyZPr1kMFu1CgpkLGtZqDJc4SuUoR3CQwCpYjWfbTghIGd+SFzwolPaT11H9PevXu35+aOexqokyIiIbgI5nb/isEQsFHQpzBms1phxYtsjIwIEgoPmN9O/wodEYs6j1Q80SBLiF3pIjRnibGdGLmlvaMjk9RLgQBZWhubm7Frqm2YCwR9Cz8204du/L756rd6mSKDtQy/HJnw4QMA4W5WPWYBX5oSg6R2XtwOABFy0ecoze/9ZvlEf1dXV9+aZ2zWq9NqjRq5DXdkMZsxRKfpQ9DGbNB/or+vr6//RNvsipUiVjW80CkpHm42K/hRiGaosLI9xkAXIr9px9S1a9emNjay6+7XqbR2jbyaFoVBlGCQKKHz9kDeGY0B0Z3nNpDF4vOY2WylxyDpos5TuQmMBx/cXVhYW5tTVYMaRacqsmsCcnwjD8qBA4cO7dq1i+WlSIIcDi2sGjUGRqm2kJmJQbMirsPK86htXefCCMbIf3D37t2FtTk5yGwfqGMQPl8UNAJE4BD6BDh1IDE3UrrJKHATGjIxI/GJBLb4tk+PAcEZ6HXsAKPQSZDyB+4niAHzhSAOyPSug5xR9WxVGAJKEZIHg4FTbD4PMeK73rysFrUu9tJUkQ8OYYzMbOSEBMHKy202tSVw6CBEkHpWJ2Rn1xFFBQpSZ547+9pwu0bbifFJvajzLLKDCGMHJotDsnW6MASLMv/7wvhB0jP1z9RX0c8zuRVUMlQCMIpvYdAsk/DQlJgMI4J0Lvbm35EPEYMg/B1YWLwCkMB8cOvwkfNjhKmHnDlEoeKVVoUVMzBjXWkbNAmsLwUG9LeGSuvIuXzqcYGBBeFG8KG0rlprIBTc+tbtdjd+e2ZsvKm+sN5JI6owIhsQjAEGkMCcp4GlO9xHohOipGV1LV9ramoiSHS2UAFji64M+4cq9UiRSZVDZ69P1dc6a8kKUSiRBwSrMh8cMrOaTJRUNeKvnCLu7F8e3+EsZAwnN+LQeWfHRppNZrPZROkrZDYNri2fm3JWVRGEBsEucoCe4Eg7hmQkMTgF4pSs7j7P6LmpHc4c2jqZGz2zl/0jzS4Tb6dKWrOy8FsikSi6l9bOjs72bGDVYFbn9c5d9gy4ZDKFohU3BTGSK9OoF1S23Uv9JzzLy21tfs/IUHODWSYDQSHJopjJhfySGrfdgwMjHn8b5F8/0+wym1Eh0yhRMoMU7cGjsEVSmyEI3QIkY++XSAiwjbW4UyFW/m6jz5EgL2ejumUCxD+E8ilO4IxkLyhs6XG8N4OLAGSBAOwCZKMgkFDRhwdSR7pVzAlAJPpI9oIX3ML/TYkEQLhJDwAfETeQOcLUkTCOIzAuyUeymZTwlECgiSIOksQregzkIqv/4j80xD/OUfQUFCNgTKLww5SIooSkbleymX8Q/1lsWPLAf4Ug0Zh/9SSn/ncElPihyR6SvyjpFwb+//oLYHj/LyqNdWsAAAAASUVORK5CYII=",cee="data:image/png;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFwAXAMBIgACEQEDEQH/xAAbAAACAgMBAAAAAAAAAAAAAAAABgQFAgMHAf/EAEAQAAEDAwIDBAUJBAsAAAAAAAEAAgMEBRESIQYxURNBYXEigZGhwQcUFSMkkrHC0TI1UvAWQkNiY3J0orKz4f/EABkBAAMBAQEAAAAAAAAAAAAAAAACBAMBBf/EACQRAAICAQIFBQAAAAAAAAAAAAABAhEDEjETITJBUQQUIiMz/9oADAMBAAIRAxEAPwDuKEIQAKPHXUctVJSR1cD6mLHaQtkBezIyMt5jYqQuAfKXTPj45rJImuMk0jCzTnVq0tG3q0rqVgd/QuY8HniqkhY2turuyxnsJgJXNHi87jyyUydtcnHP0jL91g/Kn4UjJ5ooakJZZd7hSnM2iqjHMEBr/URt6setSqbi/h+cY+laaJ42dHO8RuaehDsJXBrcaOSMti8QodPdbdUuDaavpZnHkI5muJ9hUxKOCEIQAIQhAAkS822E8WVNdLpdoa1zHfwEsAd/ta37xT2UlXU9pPWu73zaDnpqDT7gVpj6rM8rajS7mAlw+GAbOly946NGPjgepWGsDRnm7l7MqipnOkuUs2fQDQxu3QnPwU+onDaiJo/s2F59mB/PiqE01aI5RcXTN1PIJJaiM7gP29g/Vcy+USkNHeY5Ym7VTMkDveDg+4tXQbUXmaR7xjtJHOH+UgYUHiC1S3O70HYQ9o+HtHAZGxIbvulk/jaNMUfsSYqcD8Jurr/QOrgfqnCqdGP6rWEEZPUu0jHn0XdUr8D2qS3w1ktc0MrppcOYDnRE3IYM9+fSd5uI7k0KW7LZVfx2BCEIOAhCEACQ65xllcRqx28kp08yGh5/HSnKouNDTP0VNZTwv56ZJWtPsJXPpL5aKZ9LV1dRE5gB1BkrS5pc7ngHfHRMr0uheWuOrYvG2csL2Ubi9sEun03Z15jaSQfPO3LcjZaJbTUR656naJoc+TS7LnAD9kePTyVtbrrZ5aRj6K4URgI9HRK0AeruWVbXUUtO+NtdS4cMHEzf1WGuSN+HGTK6UTNuPZyRRsMQDD2ZOnIaDgZ6BwHq8cDGC40lFd/tNRHFJ2ZLBIcBwzvvy7lFdc4hWfaK2l0mQ+mZAMkjJPPHIAexVf0hb5uI6jtqmkfFoY0apGlp5k/iqsVOFEmZaMtjZaby2634imb9njp3gyA+i92pnLrj4pjStaLla2Vxd8/o2hsJA+uaAMkePgmhrg5oc0gg7gjvSSSTpD423G2eoQhKOC1VM8dLTy1E7tMUTC97ugAyVtSn8ode6ntUdIzI+cP+sdjYMbgnfxOkeWUsnpTZ1K3RTWCrkuD7lVzjEktXqI56fq2YHqGB6la6W9B7FQ8HkOo6xzSCDVHcH/DYr9eRNty5lVIx0MPNjfYsTHHjJjZ90LYsJTiN58Cks6VNJUht/qKfYRSsbob3BzQDt4kE/dVxgdEtVYdG19fG0l9PVB3ojJIDGZA826h61cm7W8HHzuP3p2r2AmFocMEDCsuF6smKW3SHMlMRo8Yzy9nLy09UuS323xjaVzz0ZG4/BRrfdKgXSG40tHWvjDtLhHSyODmHZwyG+GfMBbencoz25CTScTpSF4F6vTJgXhXqCgBNd+9ruetWP+qMLNYP/e93b3irHvhjPxWa8fN+jKo9KBRbjKIqV3V2wW+WWOFmuV7WN6kpcuNf87m9DIjbs0H8VmOkWdoayakn1tDmumO3kAPgpLqamGQ2Fod1I2UTh1wdRPHf2r/xKnuJaSzSXuJyOi69wCOnjG5hYD3eir7hhwdb5C3l28g96U7jcexYYm7Snng50j9UxcDHNhaes8v/ADKq9H1syzdIwoQheiTghCEAUlbw82orJ6qKuqKd85a57WNYWlwaG53GeQHf3KDNwtXPyGXtzR40/wCjgmlCzeKEnbQynJdxGm4Hr3nUbrDIer4HD85Wh3BN1b+xPRu83ub+UroCEvt8fgbiz8iRRcK3imiAE1G14c47SOI3JP8ACpEvDl6mbg3CljH9xjv/ABN6Fz22LwHFkIv9Bq487nTg/wCncfzpn4etbrPa2Uck7Z3Ne9xe1mgHU4nlk9eqs0J44oQdxQrm5bghCFoKf//Z",uee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAADAFBMVEVGpf9Do/8AZ+VIp/83m/1Lqf8AZeQmkfkymPs7nf4Cg/L1+f48n/80mvwtlfrx9/4cjPcZivX3+v4BaeQBgPEAbeg+oP/v9v4BauYBfvDn8f3u9f1Bov8/of8AZeMqlPr4+/4Oh/Qjj/ggjvcAXsoAcOnt8/0BcusIhfM4nf7l8PwSh/QAe+4AduwAee3k7/zz+P/6/P4BYMwBfO/i7vwvlvsAdevp8f3h7Prk7vsAYtLp8/0Wivb9/v7g7P0BZ+Dd6/zc6vwAYM77/f6Ns9yUuOAAZNXr9P7a6PmcvuIBaOKXu+CPtt+RtNva6fzS4vYAZdnV5fjA1++20OvY5/re6vzX5vjI3fS50u0AZdzU4/euyuixy+elxOWXudzL3vK91e2dvN+Ut9sAYdCzzemoxube6vnG2/HF2e+qyOmgweTW5vrK3/XC2fGsyOeMstvs8vvS5PnP4fXM4PXO3/PH3PPE2/O20e6zzuywzOoAcObC2O+jw+agwOGbu91AfdGmxugHYa3z9/zQ4/fN4faiweMAbuKaveEAZt4CX63Y6Py50+/B1usBdun////o8Png6ve91vG71PC80+qty+oAeOoAc+fY5PTS4fPJ2+8Bf+260ekAbeWsx+QAad4AbNjf7P3i7Pjd6PbA1/MAe+yyzesAduYwlPcZiPErkvYmj/WoxeOkwuJDn/wijPMNhPAXhO4AfOm3z+iFrNkAadIvdNBWqP1ztfwuiOoAcd44edElbs/W5PakyfVdo/IrjvF+sO1QmOtTkOC32f1OpP2Cu/q51veu0PeKuvI4kfCbwO6Su+4hie4KgOwGdeITZ80caLKgzP7C3v1erP3L4/xyrvNHmPGvzu5yqOw8kesQf+kggehGjuaBrOIeeeFnmdpXjdcCaNYQZK+TxfzB2vc6l/Vnp/GkxvBjouxbmumIsuhknOQ4g+Iuf+J6pNdzoNIcas5omMwmbbSax/hGnPVTn/MRd+d1pOF9qOBDht4NZc0yfNgYc9hfkcg4d7owc7j13NKGAAAKFElEQVRo3uzUP2gTURzA8RMjJlzj6RsM5BRPhQPjkGQIyXFGBIdzURDESRzEQVDw/LOJQw6XiFwEBwUR/DPkjyQGhMSliZI/rRohSRvBNbXipNjW0T+/e7kber73ajNkEL+06aP58fvwrn+4TRNoMsjGCTQhhIMPy1rHgRsdOPcBPvGQ68D9b31tmED/ELJjAnE7JxC3fa2mnMP4U9zUFEzAy5TrAOHDxrkNo4P9HvEAUzsIbzkbAWHm6wUaFd9aQ5VGosoY4nzsmodMc76yjz20oYFQjzGzBuKpItM0+xxT2bdgIKlfZCD7WPn8C2YS6vkYQ565gxJChyoe6gTnYbbYsBBTqPrpM8WGhCQkVr3UCTbiXzkGCCg3m1TFXxWRJCFjYVzEWxMBsepRjWIfWQiaWaQjflbZajQ5Sq56ySPeloEQGOjGCkyQYyLe7LJ9kcPJfpE8UpxHOD7xPUtFvKyybRMTEN+KkSZiLYPHhqEPsrQ1HNNYvGQCMep8MxaL+X3FZrMyV6k0i0WPF74BF+ERDxnGbH485HsYiFFRaXmu1WvM33wYDgaD4YPH5vszC9VKKwDACJnOxmhIjFH+k5C0CUhQUdRKghB+QUIozttFjI+LWcoebgu9bKEVdQic5IRG8fhJOcjxlTxlEROpLyejQDi5CAw4REQQHtXGQfL1djJKINyCELGMgD4o7KIgu+jlX99Irn0LEMAARHxbz5MXcQyj8D7xtwRGZqjIZmr5Uk12EVQBIx9fF8ibGEihNOAlN0EGgAgExOPvx0A6sy6BQYAh366VxkCmo/TnJKwiMJIZlApkZA+1Ur0dRSQBWg2AAMn6bKdA3MRCXl+SkGPAfVyCQwgRARuarE93SmRkL7Xc+4RzCySeO3VVIF5CPvfgWhyuAenteom4iY5szdV0+zmhzNfucOmo+IcgBjLPl4ZLXxRR1jRVv/JhGxnZSq08MOx/gOh0KpVKd+/zf/wghKfDdCo1vB6QVVXPHHmV20vaREdK5VneTvyRtpTnEZtwDOgrfuebCsVDjz7ltq4PyZWnkY0EHMRFyLKDxMGIh5SX5W1EZButXKeN7N8n/vownU4v3YqsEiBNPNWFd7pPtXg8GAxl3pRzpFUM5MUFAKyEiP78V/fnddEWbEDTZFUOnvnZ/XVRAQIQZaazTqT84YRhCTjx3q27LkKWVav41TtXg6PCypMXZOQApdyzV4rghP/kRMgW4BMD1kNSNdW6BRRWLn94tp+wi9tP691n3RZwWNDsxyQ7Ai5kpyROvnpGWsXtJgfIS9FFiJiAr2dPgeQmwmEl8fjTu/2EZb8pJ3uYJsIADDu7uJgY4+RijLE41JC7mJB20glT6A8pxmpCTgyotaD8NHFA4oC59DBcr1w00uPayaQ2cShJUWBQgcBosVQmI/g3OKiDDr7f992f7d3AE0rb5Xnu/e564DhK9OX8gP+ljfWJI4eaCyfO55/03fvx43LvM8EunKGc5TlpacOaAg+DRDwo1RcnzAKw7gT/5Na9ePXqrZscEo4CgZPW6iW3JSc9KG2/njhmjmDgPoDz53BS5HfhmEATHR2cUNsuubg8I2pl0DnC9V6zBCuAuYgwXVHdIgc9UN+HmkZYBccGu4AGIrH3qovLK3JYXeao3n5e3RPUTl5zgUDkwsVl9fA+IuW9DBJGAdin5NzAcfB3BCKRABKB4IXqXnlfka1k0jqm1gKPAMAOYgdBQlhZco0cdkctv00CFByHxJ/BH8/ziLAAJpj+zmBn51Q4ul5WW2Xekd2k85QAj4ZVmHNOQIIwNTUQ3a3vI6LX3yTNDQB65rdOiWyIBFmDBqbC4fBAfGRbP9oaOeqOvj2ftBNWo8OxIUhhE5AgjYH4fKXcKmuK+J+vvnuFd1WuTJ6yn1ZWMCawDdBTTD/ldvxOo6x6R1ji5ZuQEPvpP+qXG1HehD2qSESApYfZkkMfCt0G9xOfZZeI38HqIpfJZKRPfr8uLmt5nucMcPGCEAwKFyhEHo1GB0KAuOPETpicHEpsFXV/M87Iu4+ZDJ9JbdV1v17ck/IcEAhBAXoK7IDZnXIwBAZjiSW3yGmL1Y+ZfD5fa2wWZV0vbkmSACy9KY8D2C8CyFOGnBADd66tb+qnm7EjzxfRkNZ3ni6gIhffSpqmWXrTDjXk91Op1GSKuWPUDe4SbqTXdmTdM9L2UstL0trfFy+eLiCyuaZFTb9lh97DDv2NeULX9e9iW0ukzWBjF42uP2iQiPhrV6tGq9WqqU+BoWGqTxj2a8wN4J8mPAJj38S2ZsyIrxLD+XxgDVEu7owoDv/w8NDwYCJB9JDbdly5ZX9I6RltZGWvSPtyVdOUFaPhy36fzgHoCQkCuXZA3Ol0ugtQOVOPmHR3r2R9LREfI/tZUZQcIgtZ0eeTs9/6c7h8pocc9Pf3Q0/tV64we08Ps48SarXRQq1Q6Ps6DsH/GBFxnESUr6yBr41ZGjD1adBF/QBy2LsBkRcKhbGZsRmD3r7fXpF28cFKTskpXxbGxXby9fHKbGKW+W096CEYesgJvTO9121uXvqwmW1vjvyjjIx5EwXjOPwp+g007gwdHI2YWDXpeMkBF6AmvQ52adKEVHQpLm42jQSkH0AnPZOLLk3Hu4H1kosFx7NXz6lVr0N/7ytCQBz6DCR/As/z8ueQcquR/bQvnxVvfNJ9f6C/DOlvNvZ6mMoMkQh+5O1r++LLxezFG191+JtU3wpOf0L1n73Dl8v1Os9fheDLxUdlJ5KiKNrdsq3r+un971TqEOPktAl9CwGD+E8A0YNKpVIGPE/812dR+MKjkorgR6b/P+lkRT/+fH/BOGu2jEDPcdQe6GGHPx9DtfGs3O6L3H1zdL1JuPl5/+vpyuhTP+f5ff01qFar+XwDFHYRxb9mMjaSRCRnTxBpUQyj7/tB4D+DHn6qZ2MpiCttJ5LcoFlTebFEBP4+LWzP34W+B7+v9/zFeFh1pSnJMNuIaU3TmbVbRgUNDo1Op9Pt8r0eAsF2BJaViD675fw8G6IoqQ9H+yKKZuVkhhk7LGcY6HAcjXTRwB8QRbGhqoIgSKBUIu6ALO3gbglIgvhgmfsipnVMKow9cp3XyUDkQAeQTg8ZgAwgmQgSQQAqkFa7kQMPU8PCSCWRSOA6rrnOfDnIFllBFX1UQEtezQviwwaDwXz+z3Hd2nBqmQdhENlWjqzjtJxhNiRoa23bi/F4PASj0agWYQSGAE8sFra93rwm5+IjQSWXluVMxs98HIZ5724OkRgIYSgMdyp6gRhUD4LJDAIRFRu9l8mx+8os7LAMSMR+/r0fEZpGUCF2zTlGlErqsv69pHREXUcCCbuZolRSkHrdHzRHgVHOJkMk9IhEmNm9pE5xKTeqauZC4QaRAQFS4H/W6I1VXjCIEIVpZOyAVDwnFZ3CGKENXu8NHhT5bLAn8t3gB5tRcTnQFMqEAAAAAElFTkSuQmCC";var Ft={};const dee="Á",fee="á",hee="Ă",pee="ă",mee="∾",gee="∿",vee="∾̳",bee="Â",yee="â",xee="´",Cee="А",wee="а",_ee="Æ",See="æ",kee="⁡",Tee="𝔄",Pee="𝔞",Ree="À",Eee="à",$ee="ℵ",Aee="ℵ",Iee="Α",Mee="α",zee="Ā",Oee="ā",Dee="⨿",Lee="&",Fee="&",Nee="⩕",Bee="⩓",Hee="∧",jee="⩜",Vee="⩘",Uee="⩚",Wee="∠",qee="⦤",Kee="∠",Gee="⦨",Yee="⦩",Xee="⦪",Zee="⦫",Jee="⦬",Qee="⦭",ete="⦮",tte="⦯",nte="∡",ote="∟",rte="⊾",ite="⦝",ate="∢",ste="Å",lte="⍼",cte="Ą",ute="ą",dte="𝔸",fte="𝕒",hte="⩯",pte="≈",mte="⩰",gte="≊",vte="≋",bte="'",yte="⁡",xte="≈",Cte="≊",wte="Å",_te="å",Ste="𝒜",kte="𝒶",Tte="≔",Pte="*",Rte="≈",Ete="≍",$te="Ã",Ate="ã",Ite="Ä",Mte="ä",zte="∳",Ote="⨑",Dte="≌",Lte="϶",Fte="‵",Nte="∽",Bte="⋍",Hte="∖",jte="⫧",Vte="⊽",Ute="⌅",Wte="⌆",qte="⌅",Kte="⎵",Gte="⎶",Yte="≌",Xte="Б",Zte="б",Jte="„",Qte="∵",ene="∵",tne="∵",nne="⦰",one="϶",rne="ℬ",ine="ℬ",ane="Β",sne="β",lne="ℶ",cne="≬",une="𝔅",dne="𝔟",fne="⋂",hne="◯",pne="⋃",mne="⨀",gne="⨁",vne="⨂",bne="⨆",yne="★",xne="▽",Cne="△",wne="⨄",_ne="⋁",Sne="⋀",kne="⤍",Tne="⧫",Pne="▪",Rne="▴",Ene="▾",$ne="◂",Ane="▸",Ine="␣",Mne="▒",zne="░",One="▓",Dne="█",Lne="=⃥",Fne="≡⃥",Nne="⫭",Bne="⌐",Hne="𝔹",jne="𝕓",Vne="⊥",Une="⊥",Wne="⋈",qne="⧉",Kne="┐",Gne="╕",Yne="╖",Xne="╗",Zne="┌",Jne="╒",Qne="╓",eoe="╔",toe="─",noe="═",ooe="┬",roe="╤",ioe="╥",aoe="╦",soe="┴",loe="╧",coe="╨",uoe="╩",doe="⊟",foe="⊞",hoe="⊠",poe="┘",moe="╛",goe="╜",voe="╝",boe="└",yoe="╘",xoe="╙",Coe="╚",woe="│",_oe="║",Soe="┼",koe="╪",Toe="╫",Poe="╬",Roe="┤",Eoe="╡",$oe="╢",Aoe="╣",Ioe="├",Moe="╞",zoe="╟",Ooe="╠",Doe="‵",Loe="˘",Foe="˘",Noe="¦",Boe="𝒷",Hoe="ℬ",joe="⁏",Voe="∽",Uoe="⋍",Woe="⧅",qoe="\\",Koe="⟈",Goe="•",Yoe="•",Xoe="≎",Zoe="⪮",Joe="≏",Qoe="≎",ere="≏",tre="Ć",nre="ć",ore="⩄",rre="⩉",ire="⩋",are="∩",sre="⋒",lre="⩇",cre="⩀",ure="ⅅ",dre="∩︀",fre="⁁",hre="ˇ",pre="ℭ",mre="⩍",gre="Č",vre="č",bre="Ç",yre="ç",xre="Ĉ",Cre="ĉ",wre="∰",_re="⩌",Sre="⩐",kre="Ċ",Tre="ċ",Pre="¸",Rre="¸",Ere="⦲",$re="¢",Are="·",Ire="·",Mre="𝔠",zre="ℭ",Ore="Ч",Dre="ч",Lre="✓",Fre="✓",Nre="Χ",Bre="χ",Hre="ˆ",jre="≗",Vre="↺",Ure="↻",Wre="⊛",qre="⊚",Kre="⊝",Gre="⊙",Yre="®",Xre="Ⓢ",Zre="⊖",Jre="⊕",Qre="⊗",eie="○",tie="⧃",nie="≗",oie="⨐",rie="⫯",iie="⧂",aie="∲",sie="”",lie="’",cie="♣",uie="♣",die=":",fie="∷",hie="⩴",pie="≔",mie="≔",gie=",",vie="@",bie="∁",yie="∘",xie="∁",Cie="ℂ",wie="≅",_ie="⩭",Sie="≡",kie="∮",Tie="∯",Pie="∮",Rie="𝕔",Eie="ℂ",$ie="∐",Aie="∐",Iie="©",Mie="©",zie="℗",Oie="∳",Die="↵",Lie="✗",Fie="⨯",Nie="𝒞",Bie="𝒸",Hie="⫏",jie="⫑",Vie="⫐",Uie="⫒",Wie="⋯",qie="⤸",Kie="⤵",Gie="⋞",Yie="⋟",Xie="↶",Zie="⤽",Jie="⩈",Qie="⩆",eae="≍",tae="∪",nae="⋓",oae="⩊",rae="⊍",iae="⩅",aae="∪︀",sae="↷",lae="⤼",cae="⋞",uae="⋟",dae="⋎",fae="⋏",hae="¤",pae="↶",mae="↷",gae="⋎",vae="⋏",bae="∲",yae="∱",xae="⌭",Cae="†",wae="‡",_ae="ℸ",Sae="↓",kae="↡",Tae="⇓",Pae="‐",Rae="⫤",Eae="⊣",$ae="⤏",Aae="˝",Iae="Ď",Mae="ď",zae="Д",Oae="д",Dae="‡",Lae="⇊",Fae="ⅅ",Nae="ⅆ",Bae="⤑",Hae="⩷",jae="°",Vae="∇",Uae="Δ",Wae="δ",qae="⦱",Kae="⥿",Gae="𝔇",Yae="𝔡",Xae="⥥",Zae="⇃",Jae="⇂",Qae="´",ese="˙",tse="˝",nse="`",ose="˜",rse="⋄",ise="⋄",ase="⋄",sse="♦",lse="♦",cse="¨",use="ⅆ",dse="ϝ",fse="⋲",hse="÷",pse="÷",mse="⋇",gse="⋇",vse="Ђ",bse="ђ",yse="⌞",xse="⌍",Cse="$",wse="𝔻",_se="𝕕",Sse="¨",kse="˙",Tse="⃜",Pse="≐",Rse="≑",Ese="≐",$se="∸",Ase="∔",Ise="⊡",Mse="⌆",zse="∯",Ose="¨",Dse="⇓",Lse="⇐",Fse="⇔",Nse="⫤",Bse="⟸",Hse="⟺",jse="⟹",Vse="⇒",Use="⊨",Wse="⇑",qse="⇕",Kse="∥",Gse="⤓",Yse="↓",Xse="↓",Zse="⇓",Jse="⇵",Qse="̑",ele="⇊",tle="⇃",nle="⇂",ole="⥐",rle="⥞",ile="⥖",ale="↽",sle="⥟",lle="⥗",cle="⇁",ule="↧",dle="⊤",fle="⤐",hle="⌟",ple="⌌",mle="𝒟",gle="𝒹",vle="Ѕ",ble="ѕ",yle="⧶",xle="Đ",Cle="đ",wle="⋱",_le="▿",Sle="▾",kle="⇵",Tle="⥯",Ple="⦦",Rle="Џ",Ele="џ",$le="⟿",Ale="É",Ile="é",Mle="⩮",zle="Ě",Ole="ě",Dle="Ê",Lle="ê",Fle="≖",Nle="≕",Ble="Э",Hle="э",jle="⩷",Vle="Ė",Ule="ė",Wle="≑",qle="ⅇ",Kle="≒",Gle="𝔈",Yle="𝔢",Xle="⪚",Zle="È",Jle="è",Qle="⪖",ece="⪘",tce="⪙",nce="∈",oce="⏧",rce="ℓ",ice="⪕",ace="⪗",sce="Ē",lce="ē",cce="∅",uce="∅",dce="◻",fce="∅",hce="▫",pce=" ",mce=" ",gce=" ",vce="Ŋ",bce="ŋ",yce=" ",xce="Ę",Cce="ę",wce="𝔼",_ce="𝕖",Sce="⋕",kce="⧣",Tce="⩱",Pce="ε",Rce="Ε",Ece="ε",$ce="ϵ",Ace="≖",Ice="≕",Mce="≂",zce="⪖",Oce="⪕",Dce="⩵",Lce="=",Fce="≂",Nce="≟",Bce="⇌",Hce="≡",jce="⩸",Vce="⧥",Uce="⥱",Wce="≓",qce="ℯ",Kce="ℰ",Gce="≐",Yce="⩳",Xce="≂",Zce="Η",Jce="η",Qce="Ð",eue="ð",tue="Ë",nue="ë",oue="€",rue="!",iue="∃",aue="∃",sue="ℰ",lue="ⅇ",cue="ⅇ",uue="≒",due="Ф",fue="ф",hue="♀",pue="ffi",mue="ff",gue="ffl",vue="𝔉",bue="𝔣",yue="fi",xue="◼",Cue="▪",wue="fj",_ue="♭",Sue="fl",kue="▱",Tue="ƒ",Pue="𝔽",Rue="𝕗",Eue="∀",$ue="∀",Aue="⋔",Iue="⫙",Mue="ℱ",zue="⨍",Oue="½",Due="⅓",Lue="¼",Fue="⅕",Nue="⅙",Bue="⅛",Hue="⅔",jue="⅖",Vue="¾",Uue="⅗",Wue="⅜",que="⅘",Kue="⅚",Gue="⅝",Yue="⅞",Xue="⁄",Zue="⌢",Jue="𝒻",Que="ℱ",ede="ǵ",tde="Γ",nde="γ",ode="Ϝ",rde="ϝ",ide="⪆",ade="Ğ",sde="ğ",lde="Ģ",cde="Ĝ",ude="ĝ",dde="Г",fde="г",hde="Ġ",pde="ġ",mde="≥",gde="≧",vde="⪌",bde="⋛",yde="≥",xde="≧",Cde="⩾",wde="⪩",_de="⩾",Sde="⪀",kde="⪂",Tde="⪄",Pde="⋛︀",Rde="⪔",Ede="𝔊",$de="𝔤",Ade="≫",Ide="⋙",Mde="⋙",zde="ℷ",Ode="Ѓ",Dde="ѓ",Lde="⪥",Fde="≷",Nde="⪒",Bde="⪤",Hde="⪊",jde="⪊",Vde="⪈",Ude="≩",Wde="⪈",qde="≩",Kde="⋧",Gde="𝔾",Yde="𝕘",Xde="`",Zde="≥",Jde="⋛",Qde="≧",efe="⪢",tfe="≷",nfe="⩾",ofe="≳",rfe="𝒢",ife="ℊ",afe="≳",sfe="⪎",lfe="⪐",cfe="⪧",ufe="⩺",dfe=">",ffe=">",hfe="≫",pfe="⋗",mfe="⦕",gfe="⩼",vfe="⪆",bfe="⥸",yfe="⋗",xfe="⋛",Cfe="⪌",wfe="≷",_fe="≳",Sfe="≩︀",kfe="≩︀",Tfe="ˇ",Pfe=" ",Rfe="½",Efe="ℋ",$fe="Ъ",Afe="ъ",Ife="⥈",Mfe="↔",zfe="⇔",Ofe="↭",Dfe="^",Lfe="ℏ",Ffe="Ĥ",Nfe="ĥ",Bfe="♥",Hfe="♥",jfe="…",Vfe="⊹",Ufe="𝔥",Wfe="ℌ",qfe="ℋ",Kfe="⤥",Gfe="⤦",Yfe="⇿",Xfe="∻",Zfe="↩",Jfe="↪",Qfe="𝕙",ehe="ℍ",the="―",nhe="─",ohe="𝒽",rhe="ℋ",ihe="ℏ",ahe="Ħ",she="ħ",lhe="≎",che="≏",uhe="⁃",dhe="‐",fhe="Í",hhe="í",phe="⁣",mhe="Î",ghe="î",vhe="И",bhe="и",yhe="İ",xhe="Е",Che="е",whe="¡",_he="⇔",She="𝔦",khe="ℑ",The="Ì",Phe="ì",Rhe="ⅈ",Ehe="⨌",$he="∭",Ahe="⧜",Ihe="℩",Mhe="IJ",zhe="ij",Ohe="Ī",Dhe="ī",Lhe="ℑ",Fhe="ⅈ",Nhe="ℐ",Bhe="ℑ",Hhe="ı",jhe="ℑ",Vhe="⊷",Uhe="Ƶ",Whe="⇒",qhe="℅",Khe="∞",Ghe="⧝",Yhe="ı",Xhe="⊺",Zhe="∫",Jhe="∬",Qhe="ℤ",epe="∫",tpe="⊺",npe="⋂",ope="⨗",rpe="⨼",ipe="⁣",ape="⁢",spe="Ё",lpe="ё",cpe="Į",upe="į",dpe="𝕀",fpe="𝕚",hpe="Ι",ppe="ι",mpe="⨼",gpe="¿",vpe="𝒾",bpe="ℐ",ype="∈",xpe="⋵",Cpe="⋹",wpe="⋴",_pe="⋳",Spe="∈",kpe="⁢",Tpe="Ĩ",Ppe="ĩ",Rpe="І",Epe="і",$pe="Ï",Ape="ï",Ipe="Ĵ",Mpe="ĵ",zpe="Й",Ope="й",Dpe="𝔍",Lpe="𝔧",Fpe="ȷ",Npe="𝕁",Bpe="𝕛",Hpe="𝒥",jpe="𝒿",Vpe="Ј",Upe="ј",Wpe="Є",qpe="є",Kpe="Κ",Gpe="κ",Ype="ϰ",Xpe="Ķ",Zpe="ķ",Jpe="К",Qpe="к",eme="𝔎",tme="𝔨",nme="ĸ",ome="Х",rme="х",ime="Ќ",ame="ќ",sme="𝕂",lme="𝕜",cme="𝒦",ume="𝓀",dme="⇚",fme="Ĺ",hme="ĺ",pme="⦴",mme="ℒ",gme="Λ",vme="λ",bme="⟨",yme="⟪",xme="⦑",Cme="⟨",wme="⪅",_me="ℒ",Sme="«",kme="⇤",Tme="⤟",Pme="←",Rme="↞",Eme="⇐",$me="⤝",Ame="↩",Ime="↫",Mme="⤹",zme="⥳",Ome="↢",Dme="⤙",Lme="⤛",Fme="⪫",Nme="⪭",Bme="⪭︀",Hme="⤌",jme="⤎",Vme="❲",Ume="{",Wme="[",qme="⦋",Kme="⦏",Gme="⦍",Yme="Ľ",Xme="ľ",Zme="Ļ",Jme="ļ",Qme="⌈",ege="{",tge="Л",nge="л",oge="⤶",rge="“",ige="„",age="⥧",sge="⥋",lge="↲",cge="≤",uge="≦",dge="⟨",fge="⇤",hge="←",pge="←",mge="⇐",gge="⇆",vge="↢",bge="⌈",yge="⟦",xge="⥡",Cge="⥙",wge="⇃",_ge="⌊",Sge="↽",kge="↼",Tge="⇇",Pge="↔",Rge="↔",Ege="⇔",$ge="⇆",Age="⇋",Ige="↭",Mge="⥎",zge="↤",Oge="⊣",Dge="⥚",Lge="⋋",Fge="⧏",Nge="⊲",Bge="⊴",Hge="⥑",jge="⥠",Vge="⥘",Uge="↿",Wge="⥒",qge="↼",Kge="⪋",Gge="⋚",Yge="≤",Xge="≦",Zge="⩽",Jge="⪨",Qge="⩽",eve="⩿",tve="⪁",nve="⪃",ove="⋚︀",rve="⪓",ive="⪅",ave="⋖",sve="⋚",lve="⪋",cve="⋚",uve="≦",dve="≶",fve="≶",hve="⪡",pve="≲",mve="⩽",gve="≲",vve="⥼",bve="⌊",yve="𝔏",xve="𝔩",Cve="≶",wve="⪑",_ve="⥢",Sve="↽",kve="↼",Tve="⥪",Pve="▄",Rve="Љ",Eve="љ",$ve="⇇",Ave="≪",Ive="⋘",Mve="⌞",zve="⇚",Ove="⥫",Dve="◺",Lve="Ŀ",Fve="ŀ",Nve="⎰",Bve="⎰",Hve="⪉",jve="⪉",Vve="⪇",Uve="≨",Wve="⪇",qve="≨",Kve="⋦",Gve="⟬",Yve="⇽",Xve="⟦",Zve="⟵",Jve="⟵",Qve="⟸",ebe="⟷",tbe="⟷",nbe="⟺",obe="⟼",rbe="⟶",ibe="⟶",abe="⟹",sbe="↫",lbe="↬",cbe="⦅",ube="𝕃",dbe="𝕝",fbe="⨭",hbe="⨴",pbe="∗",mbe="_",gbe="↙",vbe="↘",bbe="◊",ybe="◊",xbe="⧫",Cbe="(",wbe="⦓",_be="⇆",Sbe="⌟",kbe="⇋",Tbe="⥭",Pbe="‎",Rbe="⊿",Ebe="‹",$be="𝓁",Abe="ℒ",Ibe="↰",Mbe="↰",zbe="≲",Obe="⪍",Dbe="⪏",Lbe="[",Fbe="‘",Nbe="‚",Bbe="Ł",Hbe="ł",jbe="⪦",Vbe="⩹",Ube="<",Wbe="<",qbe="≪",Kbe="⋖",Gbe="⋋",Ybe="⋉",Xbe="⥶",Zbe="⩻",Jbe="◃",Qbe="⊴",e0e="◂",t0e="⦖",n0e="⥊",o0e="⥦",r0e="≨︀",i0e="≨︀",a0e="¯",s0e="♂",l0e="✠",c0e="✠",u0e="↦",d0e="↦",f0e="↧",h0e="↤",p0e="↥",m0e="▮",g0e="⨩",v0e="М",b0e="м",y0e="—",x0e="∺",C0e="∡",w0e=" ",_0e="ℳ",S0e="𝔐",k0e="𝔪",T0e="℧",P0e="µ",R0e="*",E0e="⫰",$0e="∣",A0e="·",I0e="⊟",M0e="−",z0e="∸",O0e="⨪",D0e="∓",L0e="⫛",F0e="…",N0e="∓",B0e="⊧",H0e="𝕄",j0e="𝕞",V0e="∓",U0e="𝓂",W0e="ℳ",q0e="∾",K0e="Μ",G0e="μ",Y0e="⊸",X0e="⊸",Z0e="∇",J0e="Ń",Q0e="ń",e1e="∠⃒",t1e="≉",n1e="⩰̸",o1e="≋̸",r1e="ʼn",i1e="≉",a1e="♮",s1e="ℕ",l1e="♮",c1e=" ",u1e="≎̸",d1e="≏̸",f1e="⩃",h1e="Ň",p1e="ň",m1e="Ņ",g1e="ņ",v1e="≇",b1e="⩭̸",y1e="⩂",x1e="Н",C1e="н",w1e="–",_1e="⤤",S1e="↗",k1e="⇗",T1e="↗",P1e="≠",R1e="≐̸",E1e="​",$1e="​",A1e="​",I1e="​",M1e="≢",z1e="⤨",O1e="≂̸",D1e="≫",L1e="≪",F1e=` +`,N1e="∄",B1e="∄",H1e="𝔑",j1e="𝔫",V1e="≧̸",U1e="≱",W1e="≱",q1e="≧̸",K1e="⩾̸",G1e="⩾̸",Y1e="⋙̸",X1e="≵",Z1e="≫⃒",J1e="≯",Q1e="≯",eye="≫̸",tye="↮",nye="⇎",oye="⫲",rye="∋",iye="⋼",aye="⋺",sye="∋",lye="Њ",cye="њ",uye="↚",dye="⇍",fye="‥",hye="≦̸",pye="≰",mye="↚",gye="⇍",vye="↮",bye="⇎",yye="≰",xye="≦̸",Cye="⩽̸",wye="⩽̸",_ye="≮",Sye="⋘̸",kye="≴",Tye="≪⃒",Pye="≮",Rye="⋪",Eye="⋬",$ye="≪̸",Aye="∤",Iye="⁠",Mye=" ",zye="𝕟",Oye="ℕ",Dye="⫬",Lye="¬",Fye="≢",Nye="≭",Bye="∦",Hye="∉",jye="≠",Vye="≂̸",Uye="∄",Wye="≯",qye="≱",Kye="≧̸",Gye="≫̸",Yye="≹",Xye="⩾̸",Zye="≵",Jye="≎̸",Qye="≏̸",exe="∉",txe="⋵̸",nxe="⋹̸",oxe="∉",rxe="⋷",ixe="⋶",axe="⧏̸",sxe="⋪",lxe="⋬",cxe="≮",uxe="≰",dxe="≸",fxe="≪̸",hxe="⩽̸",pxe="≴",mxe="⪢̸",gxe="⪡̸",vxe="∌",bxe="∌",yxe="⋾",xxe="⋽",Cxe="⊀",wxe="⪯̸",_xe="⋠",Sxe="∌",kxe="⧐̸",Txe="⋫",Pxe="⋭",Rxe="⊏̸",Exe="⋢",$xe="⊐̸",Axe="⋣",Ixe="⊂⃒",Mxe="⊈",zxe="⊁",Oxe="⪰̸",Dxe="⋡",Lxe="≿̸",Fxe="⊃⃒",Nxe="⊉",Bxe="≁",Hxe="≄",jxe="≇",Vxe="≉",Uxe="∤",Wxe="∦",qxe="∦",Kxe="⫽⃥",Gxe="∂̸",Yxe="⨔",Xxe="⊀",Zxe="⋠",Jxe="⊀",Qxe="⪯̸",eCe="⪯̸",tCe="⤳̸",nCe="↛",oCe="⇏",rCe="↝̸",iCe="↛",aCe="⇏",sCe="⋫",lCe="⋭",cCe="⊁",uCe="⋡",dCe="⪰̸",fCe="𝒩",hCe="𝓃",pCe="∤",mCe="∦",gCe="≁",vCe="≄",bCe="≄",yCe="∤",xCe="∦",CCe="⋢",wCe="⋣",_Ce="⊄",SCe="⫅̸",kCe="⊈",TCe="⊂⃒",PCe="⊈",RCe="⫅̸",ECe="⊁",$Ce="⪰̸",ACe="⊅",ICe="⫆̸",MCe="⊉",zCe="⊃⃒",OCe="⊉",DCe="⫆̸",LCe="≹",FCe="Ñ",NCe="ñ",BCe="≸",HCe="⋪",jCe="⋬",VCe="⋫",UCe="⋭",WCe="Ν",qCe="ν",KCe="#",GCe="№",YCe=" ",XCe="≍⃒",ZCe="⊬",JCe="⊭",QCe="⊮",ewe="⊯",twe="≥⃒",nwe=">⃒",owe="⤄",rwe="⧞",iwe="⤂",awe="≤⃒",swe="<⃒",lwe="⊴⃒",cwe="⤃",uwe="⊵⃒",dwe="∼⃒",fwe="⤣",hwe="↖",pwe="⇖",mwe="↖",gwe="⤧",vwe="Ó",bwe="ó",ywe="⊛",xwe="Ô",Cwe="ô",wwe="⊚",_we="О",Swe="о",kwe="⊝",Twe="Ő",Pwe="ő",Rwe="⨸",Ewe="⊙",$we="⦼",Awe="Œ",Iwe="œ",Mwe="⦿",zwe="𝔒",Owe="𝔬",Dwe="˛",Lwe="Ò",Fwe="ò",Nwe="⧁",Bwe="⦵",Hwe="Ω",jwe="∮",Vwe="↺",Uwe="⦾",Wwe="⦻",qwe="‾",Kwe="⧀",Gwe="Ō",Ywe="ō",Xwe="Ω",Zwe="ω",Jwe="Ο",Qwe="ο",e_e="⦶",t_e="⊖",n_e="𝕆",o_e="𝕠",r_e="⦷",i_e="“",a_e="‘",s_e="⦹",l_e="⊕",c_e="↻",u_e="⩔",d_e="∨",f_e="⩝",h_e="ℴ",p_e="ℴ",m_e="ª",g_e="º",v_e="⊶",b_e="⩖",y_e="⩗",x_e="⩛",C_e="Ⓢ",w_e="𝒪",__e="ℴ",S_e="Ø",k_e="ø",T_e="⊘",P_e="Õ",R_e="õ",E_e="⨶",$_e="⨷",A_e="⊗",I_e="Ö",M_e="ö",z_e="⌽",O_e="‾",D_e="⏞",L_e="⎴",F_e="⏜",N_e="¶",B_e="∥",H_e="∥",j_e="⫳",V_e="⫽",U_e="∂",W_e="∂",q_e="П",K_e="п",G_e="%",Y_e=".",X_e="‰",Z_e="⊥",J_e="‱",Q_e="𝔓",e2e="𝔭",t2e="Φ",n2e="φ",o2e="ϕ",r2e="ℳ",i2e="☎",a2e="Π",s2e="π",l2e="⋔",c2e="ϖ",u2e="ℏ",d2e="ℎ",f2e="ℏ",h2e="⨣",p2e="⊞",m2e="⨢",g2e="+",v2e="∔",b2e="⨥",y2e="⩲",x2e="±",C2e="±",w2e="⨦",_2e="⨧",S2e="±",k2e="ℌ",T2e="⨕",P2e="𝕡",R2e="ℙ",E2e="£",$2e="⪷",A2e="⪻",I2e="≺",M2e="≼",z2e="⪷",O2e="≺",D2e="≼",L2e="≺",F2e="⪯",N2e="≼",B2e="≾",H2e="⪯",j2e="⪹",V2e="⪵",U2e="⋨",W2e="⪯",q2e="⪳",K2e="≾",G2e="′",Y2e="″",X2e="ℙ",Z2e="⪹",J2e="⪵",Q2e="⋨",eSe="∏",tSe="∏",nSe="⌮",oSe="⌒",rSe="⌓",iSe="∝",aSe="∝",sSe="∷",lSe="∝",cSe="≾",uSe="⊰",dSe="𝒫",fSe="𝓅",hSe="Ψ",pSe="ψ",mSe=" ",gSe="𝔔",vSe="𝔮",bSe="⨌",ySe="𝕢",xSe="ℚ",CSe="⁗",wSe="𝒬",_Se="𝓆",SSe="ℍ",kSe="⨖",TSe="?",PSe="≟",RSe='"',ESe='"',$Se="⇛",ASe="∽̱",ISe="Ŕ",MSe="ŕ",zSe="√",OSe="⦳",DSe="⟩",LSe="⟫",FSe="⦒",NSe="⦥",BSe="⟩",HSe="»",jSe="⥵",VSe="⇥",USe="⤠",WSe="⤳",qSe="→",KSe="↠",GSe="⇒",YSe="⤞",XSe="↪",ZSe="↬",JSe="⥅",QSe="⥴",eke="⤖",tke="↣",nke="↝",oke="⤚",rke="⤜",ike="∶",ake="ℚ",ske="⤍",lke="⤏",cke="⤐",uke="❳",dke="}",fke="]",hke="⦌",pke="⦎",mke="⦐",gke="Ř",vke="ř",bke="Ŗ",yke="ŗ",xke="⌉",Cke="}",wke="Р",_ke="р",Ske="⤷",kke="⥩",Tke="”",Pke="”",Rke="↳",Eke="ℜ",$ke="ℛ",Ake="ℜ",Ike="ℝ",Mke="ℜ",zke="▭",Oke="®",Dke="®",Lke="∋",Fke="⇋",Nke="⥯",Bke="⥽",Hke="⌋",jke="𝔯",Vke="ℜ",Uke="⥤",Wke="⇁",qke="⇀",Kke="⥬",Gke="Ρ",Yke="ρ",Xke="ϱ",Zke="⟩",Jke="⇥",Qke="→",e3e="→",t3e="⇒",n3e="⇄",o3e="↣",r3e="⌉",i3e="⟧",a3e="⥝",s3e="⥕",l3e="⇂",c3e="⌋",u3e="⇁",d3e="⇀",f3e="⇄",h3e="⇌",p3e="⇉",m3e="↝",g3e="↦",v3e="⊢",b3e="⥛",y3e="⋌",x3e="⧐",C3e="⊳",w3e="⊵",_3e="⥏",S3e="⥜",k3e="⥔",T3e="↾",P3e="⥓",R3e="⇀",E3e="˚",$3e="≓",A3e="⇄",I3e="⇌",M3e="‏",z3e="⎱",O3e="⎱",D3e="⫮",L3e="⟭",F3e="⇾",N3e="⟧",B3e="⦆",H3e="𝕣",j3e="ℝ",V3e="⨮",U3e="⨵",W3e="⥰",q3e=")",K3e="⦔",G3e="⨒",Y3e="⇉",X3e="⇛",Z3e="›",J3e="𝓇",Q3e="ℛ",e4e="↱",t4e="↱",n4e="]",o4e="’",r4e="’",i4e="⋌",a4e="⋊",s4e="▹",l4e="⊵",c4e="▸",u4e="⧎",d4e="⧴",f4e="⥨",h4e="℞",p4e="Ś",m4e="ś",g4e="‚",v4e="⪸",b4e="Š",y4e="š",x4e="⪼",C4e="≻",w4e="≽",_4e="⪰",S4e="⪴",k4e="Ş",T4e="ş",P4e="Ŝ",R4e="ŝ",E4e="⪺",$4e="⪶",A4e="⋩",I4e="⨓",M4e="≿",z4e="С",O4e="с",D4e="⊡",L4e="⋅",F4e="⩦",N4e="⤥",B4e="↘",H4e="⇘",j4e="↘",V4e="§",U4e=";",W4e="⤩",q4e="∖",K4e="∖",G4e="✶",Y4e="𝔖",X4e="𝔰",Z4e="⌢",J4e="♯",Q4e="Щ",e5e="щ",t5e="Ш",n5e="ш",o5e="↓",r5e="←",i5e="∣",a5e="∥",s5e="→",l5e="↑",c5e="­",u5e="Σ",d5e="σ",f5e="ς",h5e="ς",p5e="∼",m5e="⩪",g5e="≃",v5e="≃",b5e="⪞",y5e="⪠",x5e="⪝",C5e="⪟",w5e="≆",_5e="⨤",S5e="⥲",k5e="←",T5e="∘",P5e="∖",R5e="⨳",E5e="⧤",$5e="∣",A5e="⌣",I5e="⪪",M5e="⪬",z5e="⪬︀",O5e="Ь",D5e="ь",L5e="⌿",F5e="⧄",N5e="/",B5e="𝕊",H5e="𝕤",j5e="♠",V5e="♠",U5e="∥",W5e="⊓",q5e="⊓︀",K5e="⊔",G5e="⊔︀",Y5e="√",X5e="⊏",Z5e="⊑",J5e="⊏",Q5e="⊑",eTe="⊐",tTe="⊒",nTe="⊐",oTe="⊒",rTe="□",iTe="□",aTe="⊓",sTe="⊏",lTe="⊑",cTe="⊐",uTe="⊒",dTe="⊔",fTe="▪",hTe="□",pTe="▪",mTe="→",gTe="𝒮",vTe="𝓈",bTe="∖",yTe="⌣",xTe="⋆",CTe="⋆",wTe="☆",_Te="★",STe="ϵ",kTe="ϕ",TTe="¯",PTe="⊂",RTe="⋐",ETe="⪽",$Te="⫅",ATe="⊆",ITe="⫃",MTe="⫁",zTe="⫋",OTe="⊊",DTe="⪿",LTe="⥹",FTe="⊂",NTe="⋐",BTe="⊆",HTe="⫅",jTe="⊆",VTe="⊊",UTe="⫋",WTe="⫇",qTe="⫕",KTe="⫓",GTe="⪸",YTe="≻",XTe="≽",ZTe="≻",JTe="⪰",QTe="≽",ePe="≿",tPe="⪰",nPe="⪺",oPe="⪶",rPe="⋩",iPe="≿",aPe="∋",sPe="∑",lPe="∑",cPe="♪",uPe="¹",dPe="²",fPe="³",hPe="⊃",pPe="⋑",mPe="⪾",gPe="⫘",vPe="⫆",bPe="⊇",yPe="⫄",xPe="⊃",CPe="⊇",wPe="⟉",_Pe="⫗",SPe="⥻",kPe="⫂",TPe="⫌",PPe="⊋",RPe="⫀",EPe="⊃",$Pe="⋑",APe="⊇",IPe="⫆",MPe="⊋",zPe="⫌",OPe="⫈",DPe="⫔",LPe="⫖",FPe="⤦",NPe="↙",BPe="⇙",HPe="↙",jPe="⤪",VPe="ß",UPe=" ",WPe="⌖",qPe="Τ",KPe="τ",GPe="⎴",YPe="Ť",XPe="ť",ZPe="Ţ",JPe="ţ",QPe="Т",eRe="т",tRe="⃛",nRe="⌕",oRe="𝔗",rRe="𝔱",iRe="∴",aRe="∴",sRe="∴",lRe="Θ",cRe="θ",uRe="ϑ",dRe="ϑ",fRe="≈",hRe="∼",pRe="  ",mRe=" ",gRe=" ",vRe="≈",bRe="∼",yRe="Þ",xRe="þ",CRe="˜",wRe="∼",_Re="≃",SRe="≅",kRe="≈",TRe="⨱",PRe="⊠",RRe="×",ERe="⨰",$Re="∭",ARe="⤨",IRe="⌶",MRe="⫱",zRe="⊤",ORe="𝕋",DRe="𝕥",LRe="⫚",FRe="⤩",NRe="‴",BRe="™",HRe="™",jRe="▵",VRe="▿",URe="◃",WRe="⊴",qRe="≜",KRe="▹",GRe="⊵",YRe="◬",XRe="≜",ZRe="⨺",JRe="⃛",QRe="⨹",eEe="⧍",tEe="⨻",nEe="⏢",oEe="𝒯",rEe="𝓉",iEe="Ц",aEe="ц",sEe="Ћ",lEe="ћ",cEe="Ŧ",uEe="ŧ",dEe="≬",fEe="↞",hEe="↠",pEe="Ú",mEe="ú",gEe="↑",vEe="↟",bEe="⇑",yEe="⥉",xEe="Ў",CEe="ў",wEe="Ŭ",_Ee="ŭ",SEe="Û",kEe="û",TEe="У",PEe="у",REe="⇅",EEe="Ű",$Ee="ű",AEe="⥮",IEe="⥾",MEe="𝔘",zEe="𝔲",OEe="Ù",DEe="ù",LEe="⥣",FEe="↿",NEe="↾",BEe="▀",HEe="⌜",jEe="⌜",VEe="⌏",UEe="◸",WEe="Ū",qEe="ū",KEe="¨",GEe="_",YEe="⏟",XEe="⎵",ZEe="⏝",JEe="⋃",QEe="⊎",e$e="Ų",t$e="ų",n$e="𝕌",o$e="𝕦",r$e="⤒",i$e="↑",a$e="↑",s$e="⇑",l$e="⇅",c$e="↕",u$e="↕",d$e="⇕",f$e="⥮",h$e="↿",p$e="↾",m$e="⊎",g$e="↖",v$e="↗",b$e="υ",y$e="ϒ",x$e="ϒ",C$e="Υ",w$e="υ",_$e="↥",S$e="⊥",k$e="⇈",T$e="⌝",P$e="⌝",R$e="⌎",E$e="Ů",$$e="ů",A$e="◹",I$e="𝒰",M$e="𝓊",z$e="⋰",O$e="Ũ",D$e="ũ",L$e="▵",F$e="▴",N$e="⇈",B$e="Ü",H$e="ü",j$e="⦧",V$e="⦜",U$e="ϵ",W$e="ϰ",q$e="∅",K$e="ϕ",G$e="ϖ",Y$e="∝",X$e="↕",Z$e="⇕",J$e="ϱ",Q$e="ς",eAe="⊊︀",tAe="⫋︀",nAe="⊋︀",oAe="⫌︀",rAe="ϑ",iAe="⊲",aAe="⊳",sAe="⫨",lAe="⫫",cAe="⫩",uAe="В",dAe="в",fAe="⊢",hAe="⊨",pAe="⊩",mAe="⊫",gAe="⫦",vAe="⊻",bAe="∨",yAe="⋁",xAe="≚",CAe="⋮",wAe="|",_Ae="‖",SAe="|",kAe="‖",TAe="∣",PAe="|",RAe="❘",EAe="≀",$Ae=" ",AAe="𝔙",IAe="𝔳",MAe="⊲",zAe="⊂⃒",OAe="⊃⃒",DAe="𝕍",LAe="𝕧",FAe="∝",NAe="⊳",BAe="𝒱",HAe="𝓋",jAe="⫋︀",VAe="⊊︀",UAe="⫌︀",WAe="⊋︀",qAe="⊪",KAe="⦚",GAe="Ŵ",YAe="ŵ",XAe="⩟",ZAe="∧",JAe="⋀",QAe="≙",e6e="℘",t6e="𝔚",n6e="𝔴",o6e="𝕎",r6e="𝕨",i6e="℘",a6e="≀",s6e="≀",l6e="𝒲",c6e="𝓌",u6e="⋂",d6e="◯",f6e="⋃",h6e="▽",p6e="𝔛",m6e="𝔵",g6e="⟷",v6e="⟺",b6e="Ξ",y6e="ξ",x6e="⟵",C6e="⟸",w6e="⟼",_6e="⋻",S6e="⨀",k6e="𝕏",T6e="𝕩",P6e="⨁",R6e="⨂",E6e="⟶",$6e="⟹",A6e="𝒳",I6e="𝓍",M6e="⨆",z6e="⨄",O6e="△",D6e="⋁",L6e="⋀",F6e="Ý",N6e="ý",B6e="Я",H6e="я",j6e="Ŷ",V6e="ŷ",U6e="Ы",W6e="ы",q6e="¥",K6e="𝔜",G6e="𝔶",Y6e="Ї",X6e="ї",Z6e="𝕐",J6e="𝕪",Q6e="𝒴",e8e="𝓎",t8e="Ю",n8e="ю",o8e="ÿ",r8e="Ÿ",i8e="Ź",a8e="ź",s8e="Ž",l8e="ž",c8e="З",u8e="з",d8e="Ż",f8e="ż",h8e="ℨ",p8e="​",m8e="Ζ",g8e="ζ",v8e="𝔷",b8e="ℨ",y8e="Ж",x8e="ж",C8e="⇝",w8e="𝕫",_8e="ℤ",S8e="𝒵",k8e="𝓏",T8e="‍",P8e="‌",R8e={Aacute:dee,aacute:fee,Abreve:hee,abreve:pee,ac:mee,acd:gee,acE:vee,Acirc:bee,acirc:yee,acute:xee,Acy:Cee,acy:wee,AElig:_ee,aelig:See,af:kee,Afr:Tee,afr:Pee,Agrave:Ree,agrave:Eee,alefsym:$ee,aleph:Aee,Alpha:Iee,alpha:Mee,Amacr:zee,amacr:Oee,amalg:Dee,amp:Lee,AMP:Fee,andand:Nee,And:Bee,and:Hee,andd:jee,andslope:Vee,andv:Uee,ang:Wee,ange:qee,angle:Kee,angmsdaa:Gee,angmsdab:Yee,angmsdac:Xee,angmsdad:Zee,angmsdae:Jee,angmsdaf:Qee,angmsdag:ete,angmsdah:tte,angmsd:nte,angrt:ote,angrtvb:rte,angrtvbd:ite,angsph:ate,angst:ste,angzarr:lte,Aogon:cte,aogon:ute,Aopf:dte,aopf:fte,apacir:hte,ap:pte,apE:mte,ape:gte,apid:vte,apos:bte,ApplyFunction:yte,approx:xte,approxeq:Cte,Aring:wte,aring:_te,Ascr:Ste,ascr:kte,Assign:Tte,ast:Pte,asymp:Rte,asympeq:Ete,Atilde:$te,atilde:Ate,Auml:Ite,auml:Mte,awconint:zte,awint:Ote,backcong:Dte,backepsilon:Lte,backprime:Fte,backsim:Nte,backsimeq:Bte,Backslash:Hte,Barv:jte,barvee:Vte,barwed:Ute,Barwed:Wte,barwedge:qte,bbrk:Kte,bbrktbrk:Gte,bcong:Yte,Bcy:Xte,bcy:Zte,bdquo:Jte,becaus:Qte,because:ene,Because:tne,bemptyv:nne,bepsi:one,bernou:rne,Bernoullis:ine,Beta:ane,beta:sne,beth:lne,between:cne,Bfr:une,bfr:dne,bigcap:fne,bigcirc:hne,bigcup:pne,bigodot:mne,bigoplus:gne,bigotimes:vne,bigsqcup:bne,bigstar:yne,bigtriangledown:xne,bigtriangleup:Cne,biguplus:wne,bigvee:_ne,bigwedge:Sne,bkarow:kne,blacklozenge:Tne,blacksquare:Pne,blacktriangle:Rne,blacktriangledown:Ene,blacktriangleleft:$ne,blacktriangleright:Ane,blank:Ine,blk12:Mne,blk14:zne,blk34:One,block:Dne,bne:Lne,bnequiv:Fne,bNot:Nne,bnot:Bne,Bopf:Hne,bopf:jne,bot:Vne,bottom:Une,bowtie:Wne,boxbox:qne,boxdl:Kne,boxdL:Gne,boxDl:Yne,boxDL:Xne,boxdr:Zne,boxdR:Jne,boxDr:Qne,boxDR:eoe,boxh:toe,boxH:noe,boxhd:ooe,boxHd:roe,boxhD:ioe,boxHD:aoe,boxhu:soe,boxHu:loe,boxhU:coe,boxHU:uoe,boxminus:doe,boxplus:foe,boxtimes:hoe,boxul:poe,boxuL:moe,boxUl:goe,boxUL:voe,boxur:boe,boxuR:yoe,boxUr:xoe,boxUR:Coe,boxv:woe,boxV:_oe,boxvh:Soe,boxvH:koe,boxVh:Toe,boxVH:Poe,boxvl:Roe,boxvL:Eoe,boxVl:$oe,boxVL:Aoe,boxvr:Ioe,boxvR:Moe,boxVr:zoe,boxVR:Ooe,bprime:Doe,breve:Loe,Breve:Foe,brvbar:Noe,bscr:Boe,Bscr:Hoe,bsemi:joe,bsim:Voe,bsime:Uoe,bsolb:Woe,bsol:qoe,bsolhsub:Koe,bull:Goe,bullet:Yoe,bump:Xoe,bumpE:Zoe,bumpe:Joe,Bumpeq:Qoe,bumpeq:ere,Cacute:tre,cacute:nre,capand:ore,capbrcup:rre,capcap:ire,cap:are,Cap:sre,capcup:lre,capdot:cre,CapitalDifferentialD:ure,caps:dre,caret:fre,caron:hre,Cayleys:pre,ccaps:mre,Ccaron:gre,ccaron:vre,Ccedil:bre,ccedil:yre,Ccirc:xre,ccirc:Cre,Cconint:wre,ccups:_re,ccupssm:Sre,Cdot:kre,cdot:Tre,cedil:Pre,Cedilla:Rre,cemptyv:Ere,cent:$re,centerdot:Are,CenterDot:Ire,cfr:Mre,Cfr:zre,CHcy:Ore,chcy:Dre,check:Lre,checkmark:Fre,Chi:Nre,chi:Bre,circ:Hre,circeq:jre,circlearrowleft:Vre,circlearrowright:Ure,circledast:Wre,circledcirc:qre,circleddash:Kre,CircleDot:Gre,circledR:Yre,circledS:Xre,CircleMinus:Zre,CirclePlus:Jre,CircleTimes:Qre,cir:eie,cirE:tie,cire:nie,cirfnint:oie,cirmid:rie,cirscir:iie,ClockwiseContourIntegral:aie,CloseCurlyDoubleQuote:sie,CloseCurlyQuote:lie,clubs:cie,clubsuit:uie,colon:die,Colon:fie,Colone:hie,colone:pie,coloneq:mie,comma:gie,commat:vie,comp:bie,compfn:yie,complement:xie,complexes:Cie,cong:wie,congdot:_ie,Congruent:Sie,conint:kie,Conint:Tie,ContourIntegral:Pie,copf:Rie,Copf:Eie,coprod:$ie,Coproduct:Aie,copy:Iie,COPY:Mie,copysr:zie,CounterClockwiseContourIntegral:Oie,crarr:Die,cross:Lie,Cross:Fie,Cscr:Nie,cscr:Bie,csub:Hie,csube:jie,csup:Vie,csupe:Uie,ctdot:Wie,cudarrl:qie,cudarrr:Kie,cuepr:Gie,cuesc:Yie,cularr:Xie,cularrp:Zie,cupbrcap:Jie,cupcap:Qie,CupCap:eae,cup:tae,Cup:nae,cupcup:oae,cupdot:rae,cupor:iae,cups:aae,curarr:sae,curarrm:lae,curlyeqprec:cae,curlyeqsucc:uae,curlyvee:dae,curlywedge:fae,curren:hae,curvearrowleft:pae,curvearrowright:mae,cuvee:gae,cuwed:vae,cwconint:bae,cwint:yae,cylcty:xae,dagger:Cae,Dagger:wae,daleth:_ae,darr:Sae,Darr:kae,dArr:Tae,dash:Pae,Dashv:Rae,dashv:Eae,dbkarow:$ae,dblac:Aae,Dcaron:Iae,dcaron:Mae,Dcy:zae,dcy:Oae,ddagger:Dae,ddarr:Lae,DD:Fae,dd:Nae,DDotrahd:Bae,ddotseq:Hae,deg:jae,Del:Vae,Delta:Uae,delta:Wae,demptyv:qae,dfisht:Kae,Dfr:Gae,dfr:Yae,dHar:Xae,dharl:Zae,dharr:Jae,DiacriticalAcute:Qae,DiacriticalDot:ese,DiacriticalDoubleAcute:tse,DiacriticalGrave:nse,DiacriticalTilde:ose,diam:rse,diamond:ise,Diamond:ase,diamondsuit:sse,diams:lse,die:cse,DifferentialD:use,digamma:dse,disin:fse,div:hse,divide:pse,divideontimes:mse,divonx:gse,DJcy:vse,djcy:bse,dlcorn:yse,dlcrop:xse,dollar:Cse,Dopf:wse,dopf:_se,Dot:Sse,dot:kse,DotDot:Tse,doteq:Pse,doteqdot:Rse,DotEqual:Ese,dotminus:$se,dotplus:Ase,dotsquare:Ise,doublebarwedge:Mse,DoubleContourIntegral:zse,DoubleDot:Ose,DoubleDownArrow:Dse,DoubleLeftArrow:Lse,DoubleLeftRightArrow:Fse,DoubleLeftTee:Nse,DoubleLongLeftArrow:Bse,DoubleLongLeftRightArrow:Hse,DoubleLongRightArrow:jse,DoubleRightArrow:Vse,DoubleRightTee:Use,DoubleUpArrow:Wse,DoubleUpDownArrow:qse,DoubleVerticalBar:Kse,DownArrowBar:Gse,downarrow:Yse,DownArrow:Xse,Downarrow:Zse,DownArrowUpArrow:Jse,DownBreve:Qse,downdownarrows:ele,downharpoonleft:tle,downharpoonright:nle,DownLeftRightVector:ole,DownLeftTeeVector:rle,DownLeftVectorBar:ile,DownLeftVector:ale,DownRightTeeVector:sle,DownRightVectorBar:lle,DownRightVector:cle,DownTeeArrow:ule,DownTee:dle,drbkarow:fle,drcorn:hle,drcrop:ple,Dscr:mle,dscr:gle,DScy:vle,dscy:ble,dsol:yle,Dstrok:xle,dstrok:Cle,dtdot:wle,dtri:_le,dtrif:Sle,duarr:kle,duhar:Tle,dwangle:Ple,DZcy:Rle,dzcy:Ele,dzigrarr:$le,Eacute:Ale,eacute:Ile,easter:Mle,Ecaron:zle,ecaron:Ole,Ecirc:Dle,ecirc:Lle,ecir:Fle,ecolon:Nle,Ecy:Ble,ecy:Hle,eDDot:jle,Edot:Vle,edot:Ule,eDot:Wle,ee:qle,efDot:Kle,Efr:Gle,efr:Yle,eg:Xle,Egrave:Zle,egrave:Jle,egs:Qle,egsdot:ece,el:tce,Element:nce,elinters:oce,ell:rce,els:ice,elsdot:ace,Emacr:sce,emacr:lce,empty:cce,emptyset:uce,EmptySmallSquare:dce,emptyv:fce,EmptyVerySmallSquare:hce,emsp13:pce,emsp14:mce,emsp:gce,ENG:vce,eng:bce,ensp:yce,Eogon:xce,eogon:Cce,Eopf:wce,eopf:_ce,epar:Sce,eparsl:kce,eplus:Tce,epsi:Pce,Epsilon:Rce,epsilon:Ece,epsiv:$ce,eqcirc:Ace,eqcolon:Ice,eqsim:Mce,eqslantgtr:zce,eqslantless:Oce,Equal:Dce,equals:Lce,EqualTilde:Fce,equest:Nce,Equilibrium:Bce,equiv:Hce,equivDD:jce,eqvparsl:Vce,erarr:Uce,erDot:Wce,escr:qce,Escr:Kce,esdot:Gce,Esim:Yce,esim:Xce,Eta:Zce,eta:Jce,ETH:Qce,eth:eue,Euml:tue,euml:nue,euro:oue,excl:rue,exist:iue,Exists:aue,expectation:sue,exponentiale:lue,ExponentialE:cue,fallingdotseq:uue,Fcy:due,fcy:fue,female:hue,ffilig:pue,fflig:mue,ffllig:gue,Ffr:vue,ffr:bue,filig:yue,FilledSmallSquare:xue,FilledVerySmallSquare:Cue,fjlig:wue,flat:_ue,fllig:Sue,fltns:kue,fnof:Tue,Fopf:Pue,fopf:Rue,forall:Eue,ForAll:$ue,fork:Aue,forkv:Iue,Fouriertrf:Mue,fpartint:zue,frac12:Oue,frac13:Due,frac14:Lue,frac15:Fue,frac16:Nue,frac18:Bue,frac23:Hue,frac25:jue,frac34:Vue,frac35:Uue,frac38:Wue,frac45:que,frac56:Kue,frac58:Gue,frac78:Yue,frasl:Xue,frown:Zue,fscr:Jue,Fscr:Que,gacute:ede,Gamma:tde,gamma:nde,Gammad:ode,gammad:rde,gap:ide,Gbreve:ade,gbreve:sde,Gcedil:lde,Gcirc:cde,gcirc:ude,Gcy:dde,gcy:fde,Gdot:hde,gdot:pde,ge:mde,gE:gde,gEl:vde,gel:bde,geq:yde,geqq:xde,geqslant:Cde,gescc:wde,ges:_de,gesdot:Sde,gesdoto:kde,gesdotol:Tde,gesl:Pde,gesles:Rde,Gfr:Ede,gfr:$de,gg:Ade,Gg:Ide,ggg:Mde,gimel:zde,GJcy:Ode,gjcy:Dde,gla:Lde,gl:Fde,glE:Nde,glj:Bde,gnap:Hde,gnapprox:jde,gne:Vde,gnE:Ude,gneq:Wde,gneqq:qde,gnsim:Kde,Gopf:Gde,gopf:Yde,grave:Xde,GreaterEqual:Zde,GreaterEqualLess:Jde,GreaterFullEqual:Qde,GreaterGreater:efe,GreaterLess:tfe,GreaterSlantEqual:nfe,GreaterTilde:ofe,Gscr:rfe,gscr:ife,gsim:afe,gsime:sfe,gsiml:lfe,gtcc:cfe,gtcir:ufe,gt:dfe,GT:ffe,Gt:hfe,gtdot:pfe,gtlPar:mfe,gtquest:gfe,gtrapprox:vfe,gtrarr:bfe,gtrdot:yfe,gtreqless:xfe,gtreqqless:Cfe,gtrless:wfe,gtrsim:_fe,gvertneqq:Sfe,gvnE:kfe,Hacek:Tfe,hairsp:Pfe,half:Rfe,hamilt:Efe,HARDcy:$fe,hardcy:Afe,harrcir:Ife,harr:Mfe,hArr:zfe,harrw:Ofe,Hat:Dfe,hbar:Lfe,Hcirc:Ffe,hcirc:Nfe,hearts:Bfe,heartsuit:Hfe,hellip:jfe,hercon:Vfe,hfr:Ufe,Hfr:Wfe,HilbertSpace:qfe,hksearow:Kfe,hkswarow:Gfe,hoarr:Yfe,homtht:Xfe,hookleftarrow:Zfe,hookrightarrow:Jfe,hopf:Qfe,Hopf:ehe,horbar:the,HorizontalLine:nhe,hscr:ohe,Hscr:rhe,hslash:ihe,Hstrok:ahe,hstrok:she,HumpDownHump:lhe,HumpEqual:che,hybull:uhe,hyphen:dhe,Iacute:fhe,iacute:hhe,ic:phe,Icirc:mhe,icirc:ghe,Icy:vhe,icy:bhe,Idot:yhe,IEcy:xhe,iecy:Che,iexcl:whe,iff:_he,ifr:She,Ifr:khe,Igrave:The,igrave:Phe,ii:Rhe,iiiint:Ehe,iiint:$he,iinfin:Ahe,iiota:Ihe,IJlig:Mhe,ijlig:zhe,Imacr:Ohe,imacr:Dhe,image:Lhe,ImaginaryI:Fhe,imagline:Nhe,imagpart:Bhe,imath:Hhe,Im:jhe,imof:Vhe,imped:Uhe,Implies:Whe,incare:qhe,in:"∈",infin:Khe,infintie:Ghe,inodot:Yhe,intcal:Xhe,int:Zhe,Int:Jhe,integers:Qhe,Integral:epe,intercal:tpe,Intersection:npe,intlarhk:ope,intprod:rpe,InvisibleComma:ipe,InvisibleTimes:ape,IOcy:spe,iocy:lpe,Iogon:cpe,iogon:upe,Iopf:dpe,iopf:fpe,Iota:hpe,iota:ppe,iprod:mpe,iquest:gpe,iscr:vpe,Iscr:bpe,isin:ype,isindot:xpe,isinE:Cpe,isins:wpe,isinsv:_pe,isinv:Spe,it:kpe,Itilde:Tpe,itilde:Ppe,Iukcy:Rpe,iukcy:Epe,Iuml:$pe,iuml:Ape,Jcirc:Ipe,jcirc:Mpe,Jcy:zpe,jcy:Ope,Jfr:Dpe,jfr:Lpe,jmath:Fpe,Jopf:Npe,jopf:Bpe,Jscr:Hpe,jscr:jpe,Jsercy:Vpe,jsercy:Upe,Jukcy:Wpe,jukcy:qpe,Kappa:Kpe,kappa:Gpe,kappav:Ype,Kcedil:Xpe,kcedil:Zpe,Kcy:Jpe,kcy:Qpe,Kfr:eme,kfr:tme,kgreen:nme,KHcy:ome,khcy:rme,KJcy:ime,kjcy:ame,Kopf:sme,kopf:lme,Kscr:cme,kscr:ume,lAarr:dme,Lacute:fme,lacute:hme,laemptyv:pme,lagran:mme,Lambda:gme,lambda:vme,lang:bme,Lang:yme,langd:xme,langle:Cme,lap:wme,Laplacetrf:_me,laquo:Sme,larrb:kme,larrbfs:Tme,larr:Pme,Larr:Rme,lArr:Eme,larrfs:$me,larrhk:Ame,larrlp:Ime,larrpl:Mme,larrsim:zme,larrtl:Ome,latail:Dme,lAtail:Lme,lat:Fme,late:Nme,lates:Bme,lbarr:Hme,lBarr:jme,lbbrk:Vme,lbrace:Ume,lbrack:Wme,lbrke:qme,lbrksld:Kme,lbrkslu:Gme,Lcaron:Yme,lcaron:Xme,Lcedil:Zme,lcedil:Jme,lceil:Qme,lcub:ege,Lcy:tge,lcy:nge,ldca:oge,ldquo:rge,ldquor:ige,ldrdhar:age,ldrushar:sge,ldsh:lge,le:cge,lE:uge,LeftAngleBracket:dge,LeftArrowBar:fge,leftarrow:hge,LeftArrow:pge,Leftarrow:mge,LeftArrowRightArrow:gge,leftarrowtail:vge,LeftCeiling:bge,LeftDoubleBracket:yge,LeftDownTeeVector:xge,LeftDownVectorBar:Cge,LeftDownVector:wge,LeftFloor:_ge,leftharpoondown:Sge,leftharpoonup:kge,leftleftarrows:Tge,leftrightarrow:Pge,LeftRightArrow:Rge,Leftrightarrow:Ege,leftrightarrows:$ge,leftrightharpoons:Age,leftrightsquigarrow:Ige,LeftRightVector:Mge,LeftTeeArrow:zge,LeftTee:Oge,LeftTeeVector:Dge,leftthreetimes:Lge,LeftTriangleBar:Fge,LeftTriangle:Nge,LeftTriangleEqual:Bge,LeftUpDownVector:Hge,LeftUpTeeVector:jge,LeftUpVectorBar:Vge,LeftUpVector:Uge,LeftVectorBar:Wge,LeftVector:qge,lEg:Kge,leg:Gge,leq:Yge,leqq:Xge,leqslant:Zge,lescc:Jge,les:Qge,lesdot:eve,lesdoto:tve,lesdotor:nve,lesg:ove,lesges:rve,lessapprox:ive,lessdot:ave,lesseqgtr:sve,lesseqqgtr:lve,LessEqualGreater:cve,LessFullEqual:uve,LessGreater:dve,lessgtr:fve,LessLess:hve,lesssim:pve,LessSlantEqual:mve,LessTilde:gve,lfisht:vve,lfloor:bve,Lfr:yve,lfr:xve,lg:Cve,lgE:wve,lHar:_ve,lhard:Sve,lharu:kve,lharul:Tve,lhblk:Pve,LJcy:Rve,ljcy:Eve,llarr:$ve,ll:Ave,Ll:Ive,llcorner:Mve,Lleftarrow:zve,llhard:Ove,lltri:Dve,Lmidot:Lve,lmidot:Fve,lmoustache:Nve,lmoust:Bve,lnap:Hve,lnapprox:jve,lne:Vve,lnE:Uve,lneq:Wve,lneqq:qve,lnsim:Kve,loang:Gve,loarr:Yve,lobrk:Xve,longleftarrow:Zve,LongLeftArrow:Jve,Longleftarrow:Qve,longleftrightarrow:ebe,LongLeftRightArrow:tbe,Longleftrightarrow:nbe,longmapsto:obe,longrightarrow:rbe,LongRightArrow:ibe,Longrightarrow:abe,looparrowleft:sbe,looparrowright:lbe,lopar:cbe,Lopf:ube,lopf:dbe,loplus:fbe,lotimes:hbe,lowast:pbe,lowbar:mbe,LowerLeftArrow:gbe,LowerRightArrow:vbe,loz:bbe,lozenge:ybe,lozf:xbe,lpar:Cbe,lparlt:wbe,lrarr:_be,lrcorner:Sbe,lrhar:kbe,lrhard:Tbe,lrm:Pbe,lrtri:Rbe,lsaquo:Ebe,lscr:$be,Lscr:Abe,lsh:Ibe,Lsh:Mbe,lsim:zbe,lsime:Obe,lsimg:Dbe,lsqb:Lbe,lsquo:Fbe,lsquor:Nbe,Lstrok:Bbe,lstrok:Hbe,ltcc:jbe,ltcir:Vbe,lt:Ube,LT:Wbe,Lt:qbe,ltdot:Kbe,lthree:Gbe,ltimes:Ybe,ltlarr:Xbe,ltquest:Zbe,ltri:Jbe,ltrie:Qbe,ltrif:e0e,ltrPar:t0e,lurdshar:n0e,luruhar:o0e,lvertneqq:r0e,lvnE:i0e,macr:a0e,male:s0e,malt:l0e,maltese:c0e,Map:"⤅",map:u0e,mapsto:d0e,mapstodown:f0e,mapstoleft:h0e,mapstoup:p0e,marker:m0e,mcomma:g0e,Mcy:v0e,mcy:b0e,mdash:y0e,mDDot:x0e,measuredangle:C0e,MediumSpace:w0e,Mellintrf:_0e,Mfr:S0e,mfr:k0e,mho:T0e,micro:P0e,midast:R0e,midcir:E0e,mid:$0e,middot:A0e,minusb:I0e,minus:M0e,minusd:z0e,minusdu:O0e,MinusPlus:D0e,mlcp:L0e,mldr:F0e,mnplus:N0e,models:B0e,Mopf:H0e,mopf:j0e,mp:V0e,mscr:U0e,Mscr:W0e,mstpos:q0e,Mu:K0e,mu:G0e,multimap:Y0e,mumap:X0e,nabla:Z0e,Nacute:J0e,nacute:Q0e,nang:e1e,nap:t1e,napE:n1e,napid:o1e,napos:r1e,napprox:i1e,natural:a1e,naturals:s1e,natur:l1e,nbsp:c1e,nbump:u1e,nbumpe:d1e,ncap:f1e,Ncaron:h1e,ncaron:p1e,Ncedil:m1e,ncedil:g1e,ncong:v1e,ncongdot:b1e,ncup:y1e,Ncy:x1e,ncy:C1e,ndash:w1e,nearhk:_1e,nearr:S1e,neArr:k1e,nearrow:T1e,ne:P1e,nedot:R1e,NegativeMediumSpace:E1e,NegativeThickSpace:$1e,NegativeThinSpace:A1e,NegativeVeryThinSpace:I1e,nequiv:M1e,nesear:z1e,nesim:O1e,NestedGreaterGreater:D1e,NestedLessLess:L1e,NewLine:F1e,nexist:N1e,nexists:B1e,Nfr:H1e,nfr:j1e,ngE:V1e,nge:U1e,ngeq:W1e,ngeqq:q1e,ngeqslant:K1e,nges:G1e,nGg:Y1e,ngsim:X1e,nGt:Z1e,ngt:J1e,ngtr:Q1e,nGtv:eye,nharr:tye,nhArr:nye,nhpar:oye,ni:rye,nis:iye,nisd:aye,niv:sye,NJcy:lye,njcy:cye,nlarr:uye,nlArr:dye,nldr:fye,nlE:hye,nle:pye,nleftarrow:mye,nLeftarrow:gye,nleftrightarrow:vye,nLeftrightarrow:bye,nleq:yye,nleqq:xye,nleqslant:Cye,nles:wye,nless:_ye,nLl:Sye,nlsim:kye,nLt:Tye,nlt:Pye,nltri:Rye,nltrie:Eye,nLtv:$ye,nmid:Aye,NoBreak:Iye,NonBreakingSpace:Mye,nopf:zye,Nopf:Oye,Not:Dye,not:Lye,NotCongruent:Fye,NotCupCap:Nye,NotDoubleVerticalBar:Bye,NotElement:Hye,NotEqual:jye,NotEqualTilde:Vye,NotExists:Uye,NotGreater:Wye,NotGreaterEqual:qye,NotGreaterFullEqual:Kye,NotGreaterGreater:Gye,NotGreaterLess:Yye,NotGreaterSlantEqual:Xye,NotGreaterTilde:Zye,NotHumpDownHump:Jye,NotHumpEqual:Qye,notin:exe,notindot:txe,notinE:nxe,notinva:oxe,notinvb:rxe,notinvc:ixe,NotLeftTriangleBar:axe,NotLeftTriangle:sxe,NotLeftTriangleEqual:lxe,NotLess:cxe,NotLessEqual:uxe,NotLessGreater:dxe,NotLessLess:fxe,NotLessSlantEqual:hxe,NotLessTilde:pxe,NotNestedGreaterGreater:mxe,NotNestedLessLess:gxe,notni:vxe,notniva:bxe,notnivb:yxe,notnivc:xxe,NotPrecedes:Cxe,NotPrecedesEqual:wxe,NotPrecedesSlantEqual:_xe,NotReverseElement:Sxe,NotRightTriangleBar:kxe,NotRightTriangle:Txe,NotRightTriangleEqual:Pxe,NotSquareSubset:Rxe,NotSquareSubsetEqual:Exe,NotSquareSuperset:$xe,NotSquareSupersetEqual:Axe,NotSubset:Ixe,NotSubsetEqual:Mxe,NotSucceeds:zxe,NotSucceedsEqual:Oxe,NotSucceedsSlantEqual:Dxe,NotSucceedsTilde:Lxe,NotSuperset:Fxe,NotSupersetEqual:Nxe,NotTilde:Bxe,NotTildeEqual:Hxe,NotTildeFullEqual:jxe,NotTildeTilde:Vxe,NotVerticalBar:Uxe,nparallel:Wxe,npar:qxe,nparsl:Kxe,npart:Gxe,npolint:Yxe,npr:Xxe,nprcue:Zxe,nprec:Jxe,npreceq:Qxe,npre:eCe,nrarrc:tCe,nrarr:nCe,nrArr:oCe,nrarrw:rCe,nrightarrow:iCe,nRightarrow:aCe,nrtri:sCe,nrtrie:lCe,nsc:cCe,nsccue:uCe,nsce:dCe,Nscr:fCe,nscr:hCe,nshortmid:pCe,nshortparallel:mCe,nsim:gCe,nsime:vCe,nsimeq:bCe,nsmid:yCe,nspar:xCe,nsqsube:CCe,nsqsupe:wCe,nsub:_Ce,nsubE:SCe,nsube:kCe,nsubset:TCe,nsubseteq:PCe,nsubseteqq:RCe,nsucc:ECe,nsucceq:$Ce,nsup:ACe,nsupE:ICe,nsupe:MCe,nsupset:zCe,nsupseteq:OCe,nsupseteqq:DCe,ntgl:LCe,Ntilde:FCe,ntilde:NCe,ntlg:BCe,ntriangleleft:HCe,ntrianglelefteq:jCe,ntriangleright:VCe,ntrianglerighteq:UCe,Nu:WCe,nu:qCe,num:KCe,numero:GCe,numsp:YCe,nvap:XCe,nvdash:ZCe,nvDash:JCe,nVdash:QCe,nVDash:ewe,nvge:twe,nvgt:nwe,nvHarr:owe,nvinfin:rwe,nvlArr:iwe,nvle:awe,nvlt:swe,nvltrie:lwe,nvrArr:cwe,nvrtrie:uwe,nvsim:dwe,nwarhk:fwe,nwarr:hwe,nwArr:pwe,nwarrow:mwe,nwnear:gwe,Oacute:vwe,oacute:bwe,oast:ywe,Ocirc:xwe,ocirc:Cwe,ocir:wwe,Ocy:_we,ocy:Swe,odash:kwe,Odblac:Twe,odblac:Pwe,odiv:Rwe,odot:Ewe,odsold:$we,OElig:Awe,oelig:Iwe,ofcir:Mwe,Ofr:zwe,ofr:Owe,ogon:Dwe,Ograve:Lwe,ograve:Fwe,ogt:Nwe,ohbar:Bwe,ohm:Hwe,oint:jwe,olarr:Vwe,olcir:Uwe,olcross:Wwe,oline:qwe,olt:Kwe,Omacr:Gwe,omacr:Ywe,Omega:Xwe,omega:Zwe,Omicron:Jwe,omicron:Qwe,omid:e_e,ominus:t_e,Oopf:n_e,oopf:o_e,opar:r_e,OpenCurlyDoubleQuote:i_e,OpenCurlyQuote:a_e,operp:s_e,oplus:l_e,orarr:c_e,Or:u_e,or:d_e,ord:f_e,order:h_e,orderof:p_e,ordf:m_e,ordm:g_e,origof:v_e,oror:b_e,orslope:y_e,orv:x_e,oS:C_e,Oscr:w_e,oscr:__e,Oslash:S_e,oslash:k_e,osol:T_e,Otilde:P_e,otilde:R_e,otimesas:E_e,Otimes:$_e,otimes:A_e,Ouml:I_e,ouml:M_e,ovbar:z_e,OverBar:O_e,OverBrace:D_e,OverBracket:L_e,OverParenthesis:F_e,para:N_e,parallel:B_e,par:H_e,parsim:j_e,parsl:V_e,part:U_e,PartialD:W_e,Pcy:q_e,pcy:K_e,percnt:G_e,period:Y_e,permil:X_e,perp:Z_e,pertenk:J_e,Pfr:Q_e,pfr:e2e,Phi:t2e,phi:n2e,phiv:o2e,phmmat:r2e,phone:i2e,Pi:a2e,pi:s2e,pitchfork:l2e,piv:c2e,planck:u2e,planckh:d2e,plankv:f2e,plusacir:h2e,plusb:p2e,pluscir:m2e,plus:g2e,plusdo:v2e,plusdu:b2e,pluse:y2e,PlusMinus:x2e,plusmn:C2e,plussim:w2e,plustwo:_2e,pm:S2e,Poincareplane:k2e,pointint:T2e,popf:P2e,Popf:R2e,pound:E2e,prap:$2e,Pr:A2e,pr:I2e,prcue:M2e,precapprox:z2e,prec:O2e,preccurlyeq:D2e,Precedes:L2e,PrecedesEqual:F2e,PrecedesSlantEqual:N2e,PrecedesTilde:B2e,preceq:H2e,precnapprox:j2e,precneqq:V2e,precnsim:U2e,pre:W2e,prE:q2e,precsim:K2e,prime:G2e,Prime:Y2e,primes:X2e,prnap:Z2e,prnE:J2e,prnsim:Q2e,prod:eSe,Product:tSe,profalar:nSe,profline:oSe,profsurf:rSe,prop:iSe,Proportional:aSe,Proportion:sSe,propto:lSe,prsim:cSe,prurel:uSe,Pscr:dSe,pscr:fSe,Psi:hSe,psi:pSe,puncsp:mSe,Qfr:gSe,qfr:vSe,qint:bSe,qopf:ySe,Qopf:xSe,qprime:CSe,Qscr:wSe,qscr:_Se,quaternions:SSe,quatint:kSe,quest:TSe,questeq:PSe,quot:RSe,QUOT:ESe,rAarr:$Se,race:ASe,Racute:ISe,racute:MSe,radic:zSe,raemptyv:OSe,rang:DSe,Rang:LSe,rangd:FSe,range:NSe,rangle:BSe,raquo:HSe,rarrap:jSe,rarrb:VSe,rarrbfs:USe,rarrc:WSe,rarr:qSe,Rarr:KSe,rArr:GSe,rarrfs:YSe,rarrhk:XSe,rarrlp:ZSe,rarrpl:JSe,rarrsim:QSe,Rarrtl:eke,rarrtl:tke,rarrw:nke,ratail:oke,rAtail:rke,ratio:ike,rationals:ake,rbarr:ske,rBarr:lke,RBarr:cke,rbbrk:uke,rbrace:dke,rbrack:fke,rbrke:hke,rbrksld:pke,rbrkslu:mke,Rcaron:gke,rcaron:vke,Rcedil:bke,rcedil:yke,rceil:xke,rcub:Cke,Rcy:wke,rcy:_ke,rdca:Ske,rdldhar:kke,rdquo:Tke,rdquor:Pke,rdsh:Rke,real:Eke,realine:$ke,realpart:Ake,reals:Ike,Re:Mke,rect:zke,reg:Oke,REG:Dke,ReverseElement:Lke,ReverseEquilibrium:Fke,ReverseUpEquilibrium:Nke,rfisht:Bke,rfloor:Hke,rfr:jke,Rfr:Vke,rHar:Uke,rhard:Wke,rharu:qke,rharul:Kke,Rho:Gke,rho:Yke,rhov:Xke,RightAngleBracket:Zke,RightArrowBar:Jke,rightarrow:Qke,RightArrow:e3e,Rightarrow:t3e,RightArrowLeftArrow:n3e,rightarrowtail:o3e,RightCeiling:r3e,RightDoubleBracket:i3e,RightDownTeeVector:a3e,RightDownVectorBar:s3e,RightDownVector:l3e,RightFloor:c3e,rightharpoondown:u3e,rightharpoonup:d3e,rightleftarrows:f3e,rightleftharpoons:h3e,rightrightarrows:p3e,rightsquigarrow:m3e,RightTeeArrow:g3e,RightTee:v3e,RightTeeVector:b3e,rightthreetimes:y3e,RightTriangleBar:x3e,RightTriangle:C3e,RightTriangleEqual:w3e,RightUpDownVector:_3e,RightUpTeeVector:S3e,RightUpVectorBar:k3e,RightUpVector:T3e,RightVectorBar:P3e,RightVector:R3e,ring:E3e,risingdotseq:$3e,rlarr:A3e,rlhar:I3e,rlm:M3e,rmoustache:z3e,rmoust:O3e,rnmid:D3e,roang:L3e,roarr:F3e,robrk:N3e,ropar:B3e,ropf:H3e,Ropf:j3e,roplus:V3e,rotimes:U3e,RoundImplies:W3e,rpar:q3e,rpargt:K3e,rppolint:G3e,rrarr:Y3e,Rrightarrow:X3e,rsaquo:Z3e,rscr:J3e,Rscr:Q3e,rsh:e4e,Rsh:t4e,rsqb:n4e,rsquo:o4e,rsquor:r4e,rthree:i4e,rtimes:a4e,rtri:s4e,rtrie:l4e,rtrif:c4e,rtriltri:u4e,RuleDelayed:d4e,ruluhar:f4e,rx:h4e,Sacute:p4e,sacute:m4e,sbquo:g4e,scap:v4e,Scaron:b4e,scaron:y4e,Sc:x4e,sc:C4e,sccue:w4e,sce:_4e,scE:S4e,Scedil:k4e,scedil:T4e,Scirc:P4e,scirc:R4e,scnap:E4e,scnE:$4e,scnsim:A4e,scpolint:I4e,scsim:M4e,Scy:z4e,scy:O4e,sdotb:D4e,sdot:L4e,sdote:F4e,searhk:N4e,searr:B4e,seArr:H4e,searrow:j4e,sect:V4e,semi:U4e,seswar:W4e,setminus:q4e,setmn:K4e,sext:G4e,Sfr:Y4e,sfr:X4e,sfrown:Z4e,sharp:J4e,SHCHcy:Q4e,shchcy:e5e,SHcy:t5e,shcy:n5e,ShortDownArrow:o5e,ShortLeftArrow:r5e,shortmid:i5e,shortparallel:a5e,ShortRightArrow:s5e,ShortUpArrow:l5e,shy:c5e,Sigma:u5e,sigma:d5e,sigmaf:f5e,sigmav:h5e,sim:p5e,simdot:m5e,sime:g5e,simeq:v5e,simg:b5e,simgE:y5e,siml:x5e,simlE:C5e,simne:w5e,simplus:_5e,simrarr:S5e,slarr:k5e,SmallCircle:T5e,smallsetminus:P5e,smashp:R5e,smeparsl:E5e,smid:$5e,smile:A5e,smt:I5e,smte:M5e,smtes:z5e,SOFTcy:O5e,softcy:D5e,solbar:L5e,solb:F5e,sol:N5e,Sopf:B5e,sopf:H5e,spades:j5e,spadesuit:V5e,spar:U5e,sqcap:W5e,sqcaps:q5e,sqcup:K5e,sqcups:G5e,Sqrt:Y5e,sqsub:X5e,sqsube:Z5e,sqsubset:J5e,sqsubseteq:Q5e,sqsup:eTe,sqsupe:tTe,sqsupset:nTe,sqsupseteq:oTe,square:rTe,Square:iTe,SquareIntersection:aTe,SquareSubset:sTe,SquareSubsetEqual:lTe,SquareSuperset:cTe,SquareSupersetEqual:uTe,SquareUnion:dTe,squarf:fTe,squ:hTe,squf:pTe,srarr:mTe,Sscr:gTe,sscr:vTe,ssetmn:bTe,ssmile:yTe,sstarf:xTe,Star:CTe,star:wTe,starf:_Te,straightepsilon:STe,straightphi:kTe,strns:TTe,sub:PTe,Sub:RTe,subdot:ETe,subE:$Te,sube:ATe,subedot:ITe,submult:MTe,subnE:zTe,subne:OTe,subplus:DTe,subrarr:LTe,subset:FTe,Subset:NTe,subseteq:BTe,subseteqq:HTe,SubsetEqual:jTe,subsetneq:VTe,subsetneqq:UTe,subsim:WTe,subsub:qTe,subsup:KTe,succapprox:GTe,succ:YTe,succcurlyeq:XTe,Succeeds:ZTe,SucceedsEqual:JTe,SucceedsSlantEqual:QTe,SucceedsTilde:ePe,succeq:tPe,succnapprox:nPe,succneqq:oPe,succnsim:rPe,succsim:iPe,SuchThat:aPe,sum:sPe,Sum:lPe,sung:cPe,sup1:uPe,sup2:dPe,sup3:fPe,sup:hPe,Sup:pPe,supdot:mPe,supdsub:gPe,supE:vPe,supe:bPe,supedot:yPe,Superset:xPe,SupersetEqual:CPe,suphsol:wPe,suphsub:_Pe,suplarr:SPe,supmult:kPe,supnE:TPe,supne:PPe,supplus:RPe,supset:EPe,Supset:$Pe,supseteq:APe,supseteqq:IPe,supsetneq:MPe,supsetneqq:zPe,supsim:OPe,supsub:DPe,supsup:LPe,swarhk:FPe,swarr:NPe,swArr:BPe,swarrow:HPe,swnwar:jPe,szlig:VPe,Tab:UPe,target:WPe,Tau:qPe,tau:KPe,tbrk:GPe,Tcaron:YPe,tcaron:XPe,Tcedil:ZPe,tcedil:JPe,Tcy:QPe,tcy:eRe,tdot:tRe,telrec:nRe,Tfr:oRe,tfr:rRe,there4:iRe,therefore:aRe,Therefore:sRe,Theta:lRe,theta:cRe,thetasym:uRe,thetav:dRe,thickapprox:fRe,thicksim:hRe,ThickSpace:pRe,ThinSpace:mRe,thinsp:gRe,thkap:vRe,thksim:bRe,THORN:yRe,thorn:xRe,tilde:CRe,Tilde:wRe,TildeEqual:_Re,TildeFullEqual:SRe,TildeTilde:kRe,timesbar:TRe,timesb:PRe,times:RRe,timesd:ERe,tint:$Re,toea:ARe,topbot:IRe,topcir:MRe,top:zRe,Topf:ORe,topf:DRe,topfork:LRe,tosa:FRe,tprime:NRe,trade:BRe,TRADE:HRe,triangle:jRe,triangledown:VRe,triangleleft:URe,trianglelefteq:WRe,triangleq:qRe,triangleright:KRe,trianglerighteq:GRe,tridot:YRe,trie:XRe,triminus:ZRe,TripleDot:JRe,triplus:QRe,trisb:eEe,tritime:tEe,trpezium:nEe,Tscr:oEe,tscr:rEe,TScy:iEe,tscy:aEe,TSHcy:sEe,tshcy:lEe,Tstrok:cEe,tstrok:uEe,twixt:dEe,twoheadleftarrow:fEe,twoheadrightarrow:hEe,Uacute:pEe,uacute:mEe,uarr:gEe,Uarr:vEe,uArr:bEe,Uarrocir:yEe,Ubrcy:xEe,ubrcy:CEe,Ubreve:wEe,ubreve:_Ee,Ucirc:SEe,ucirc:kEe,Ucy:TEe,ucy:PEe,udarr:REe,Udblac:EEe,udblac:$Ee,udhar:AEe,ufisht:IEe,Ufr:MEe,ufr:zEe,Ugrave:OEe,ugrave:DEe,uHar:LEe,uharl:FEe,uharr:NEe,uhblk:BEe,ulcorn:HEe,ulcorner:jEe,ulcrop:VEe,ultri:UEe,Umacr:WEe,umacr:qEe,uml:KEe,UnderBar:GEe,UnderBrace:YEe,UnderBracket:XEe,UnderParenthesis:ZEe,Union:JEe,UnionPlus:QEe,Uogon:e$e,uogon:t$e,Uopf:n$e,uopf:o$e,UpArrowBar:r$e,uparrow:i$e,UpArrow:a$e,Uparrow:s$e,UpArrowDownArrow:l$e,updownarrow:c$e,UpDownArrow:u$e,Updownarrow:d$e,UpEquilibrium:f$e,upharpoonleft:h$e,upharpoonright:p$e,uplus:m$e,UpperLeftArrow:g$e,UpperRightArrow:v$e,upsi:b$e,Upsi:y$e,upsih:x$e,Upsilon:C$e,upsilon:w$e,UpTeeArrow:_$e,UpTee:S$e,upuparrows:k$e,urcorn:T$e,urcorner:P$e,urcrop:R$e,Uring:E$e,uring:$$e,urtri:A$e,Uscr:I$e,uscr:M$e,utdot:z$e,Utilde:O$e,utilde:D$e,utri:L$e,utrif:F$e,uuarr:N$e,Uuml:B$e,uuml:H$e,uwangle:j$e,vangrt:V$e,varepsilon:U$e,varkappa:W$e,varnothing:q$e,varphi:K$e,varpi:G$e,varpropto:Y$e,varr:X$e,vArr:Z$e,varrho:J$e,varsigma:Q$e,varsubsetneq:eAe,varsubsetneqq:tAe,varsupsetneq:nAe,varsupsetneqq:oAe,vartheta:rAe,vartriangleleft:iAe,vartriangleright:aAe,vBar:sAe,Vbar:lAe,vBarv:cAe,Vcy:uAe,vcy:dAe,vdash:fAe,vDash:hAe,Vdash:pAe,VDash:mAe,Vdashl:gAe,veebar:vAe,vee:bAe,Vee:yAe,veeeq:xAe,vellip:CAe,verbar:wAe,Verbar:_Ae,vert:SAe,Vert:kAe,VerticalBar:TAe,VerticalLine:PAe,VerticalSeparator:RAe,VerticalTilde:EAe,VeryThinSpace:$Ae,Vfr:AAe,vfr:IAe,vltri:MAe,vnsub:zAe,vnsup:OAe,Vopf:DAe,vopf:LAe,vprop:FAe,vrtri:NAe,Vscr:BAe,vscr:HAe,vsubnE:jAe,vsubne:VAe,vsupnE:UAe,vsupne:WAe,Vvdash:qAe,vzigzag:KAe,Wcirc:GAe,wcirc:YAe,wedbar:XAe,wedge:ZAe,Wedge:JAe,wedgeq:QAe,weierp:e6e,Wfr:t6e,wfr:n6e,Wopf:o6e,wopf:r6e,wp:i6e,wr:a6e,wreath:s6e,Wscr:l6e,wscr:c6e,xcap:u6e,xcirc:d6e,xcup:f6e,xdtri:h6e,Xfr:p6e,xfr:m6e,xharr:g6e,xhArr:v6e,Xi:b6e,xi:y6e,xlarr:x6e,xlArr:C6e,xmap:w6e,xnis:_6e,xodot:S6e,Xopf:k6e,xopf:T6e,xoplus:P6e,xotime:R6e,xrarr:E6e,xrArr:$6e,Xscr:A6e,xscr:I6e,xsqcup:M6e,xuplus:z6e,xutri:O6e,xvee:D6e,xwedge:L6e,Yacute:F6e,yacute:N6e,YAcy:B6e,yacy:H6e,Ycirc:j6e,ycirc:V6e,Ycy:U6e,ycy:W6e,yen:q6e,Yfr:K6e,yfr:G6e,YIcy:Y6e,yicy:X6e,Yopf:Z6e,yopf:J6e,Yscr:Q6e,yscr:e8e,YUcy:t8e,yucy:n8e,yuml:o8e,Yuml:r8e,Zacute:i8e,zacute:a8e,Zcaron:s8e,zcaron:l8e,Zcy:c8e,zcy:u8e,Zdot:d8e,zdot:f8e,zeetrf:h8e,ZeroWidthSpace:p8e,Zeta:m8e,zeta:g8e,zfr:v8e,Zfr:b8e,ZHcy:y8e,zhcy:x8e,zigrarr:C8e,zopf:w8e,Zopf:_8e,Zscr:S8e,zscr:k8e,zwj:T8e,zwnj:P8e};var ES=R8e,_m=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,Wa={},t1={};function E8e(e){var t,n,o=t1[e];if(o)return o;for(o=t1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t"u"&&(n=!0),s=E8e(t),o=0,r=e.length;o=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}Bu.defaultChars=";/?:@&=+$,-_.!~*'()#";Bu.componentChars="-_.!~*'()";var $8e=Bu,n1={};function A8e(e){var t,n,o=n1[e];if(o)return o;for(o=n1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t=55296&&u<=57343?d+="���":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+91114111?d+="����":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="�"}return d})}Hu.defaultChars=";/?:@&=+$,#";Hu.componentChars="";var I8e=Hu,M8e=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n};function Oc(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var z8e=/^([a-z0-9.+-]+:)/i,O8e=/:[0-9]*$/,D8e=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,L8e=["<",">",'"',"`"," ","\r",` +`," "],F8e=["{","}","|","\\","^","`"].concat(L8e),N8e=["'"].concat(F8e),o1=["%","/","?",";","#"].concat(N8e),r1=["/","?","#"],B8e=255,i1=/^[+a-z0-9A-Z_-]{0,63}$/,H8e=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,a1={javascript:!0,"javascript:":!0},s1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function j8e(e,t){if(e&&e instanceof Oc)return e;var n=new Oc;return n.parse(e,t),n}Oc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=D8e.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=z8e.exec(s);if(c&&(c=c[0],r=c.toLowerCase(),this.protocol=c,s=s.substr(c.length)),(t||c||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(a=s.substr(0,2)==="//",a&&!(c&&a1[c])&&(s=s.substr(2),this.slashes=!0)),!a1[c]&&(a||c&&!s1[c])){var u=-1;for(n=0;n127?m+="x":m+=b[y];if(!m.match(i1)){var S=g.slice(0,n),w=g.slice(n+1),x=b.match(H8e);x&&(S.push(x[1]),w.unshift(x[2])),w.length&&(s=w.join(".")+s),this.hostname=S.join(".");break}}}}this.hostname.length>B8e&&(this.hostname=""),h&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var C=s.indexOf("#");C!==-1&&(this.hash=s.substr(C),s=s.slice(0,C));var _=s.indexOf("?");return _!==-1&&(this.search=s.substr(_),s=s.slice(0,_)),s&&(this.pathname=s),s1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Oc.prototype.parseHost=function(e){var t=O8e.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var V8e=j8e;Wa.encode=$8e;Wa.decode=I8e;Wa.format=M8e;Wa.parse=V8e;var ii={},Xd,l1;function $S(){return l1||(l1=1,Xd=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Xd}var Zd,c1;function AS(){return c1||(c1=1,Zd=/[\0-\x1F\x7F-\x9F]/),Zd}var Jd,u1;function U8e(){return u1||(u1=1,Jd=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Jd}var Qd,d1;function IS(){return d1||(d1=1,Qd=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),Qd}var f1;function W8e(){return f1||(f1=1,ii.Any=$S(),ii.Cc=AS(),ii.Cf=U8e(),ii.P=_m,ii.Z=IS()),ii}(function(e){function t(F){return Object.prototype.toString.call(F)}function n(F){return t(F)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(F,z){return o.call(F,z)}function i(F){var z=Array.prototype.slice.call(arguments,1);return z.forEach(function(D){if(D){if(typeof D!="object")throw new TypeError(D+"must be object");Object.keys(D).forEach(function(Y){F[Y]=D[Y]})}}),F}function a(F,z,D){return[].concat(F.slice(0,z),D,F.slice(z+1))}function s(F){return!(F>=55296&&F<=57343||F>=64976&&F<=65007||(F&65535)===65535||(F&65535)===65534||F>=0&&F<=8||F===11||F>=14&&F<=31||F>=127&&F<=159||F>1114111)}function l(F){if(F>65535){F-=65536;var z=55296+(F>>10),D=56320+(F&1023);return String.fromCharCode(z,D)}return String.fromCharCode(F)}var c=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,d=new RegExp(c.source+"|"+u.source,"gi"),f=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,p=ES;function h(F,z){var D;return r(p,z)?p[z]:z.charCodeAt(0)===35&&f.test(z)&&(D=z[1].toLowerCase()==="x"?parseInt(z.slice(2),16):parseInt(z.slice(1),10),s(D))?l(D):F}function g(F){return F.indexOf("\\")<0?F:F.replace(c,"$1")}function b(F){return F.indexOf("\\")<0&&F.indexOf("&")<0?F:F.replace(d,function(z,D,Y){return D||h(z,Y)})}var m=/[&<>"]/,y=/[&<>"]/g,k={"&":"&","<":"<",">":">",'"':"""};function S(F){return k[F]}function w(F){return m.test(F)?F.replace(y,S):F}var x=/[.?*+^$[\]\\(){}|-]/g;function C(F){return F.replace(x,"\\$&")}function _(F){switch(F){case 9:case 32:return!0}return!1}function R(F){if(F>=8192&&F<=8202)return!0;switch(F){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var E=_m;function M(F){return E.test(F)}function A(F){switch(F){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function q(F){return F=F.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(F=F.replace(/ẞ/g,"ß")),F.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Wa,e.lib.ucmicro=W8e(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=g,e.unescapeAll=b,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=w,e.arrayReplaceAt=a,e.isSpace=_,e.isWhiteSpace=R,e.isMdAsciiPunct=A,e.isPunctChar=M,e.escapeRE=C,e.normalizeReference=q})(Ft);var ju={},q8e=function(t,n,o){var r,i,a,s,l=-1,c=t.posMax,u=t.pos;for(t.pos=n+1,r=1;t.pos32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=h1(t.slice(n,a)),s.pos=a,s.ok=!0),s},G8e=Ft.unescapeAll,Y8e=function(t,n,o){var r,i,a=0,s=n,l={ok:!1,pos:0,lines:0,str:""};if(s>=o||(i=t.charCodeAt(s),i!==34&&i!==39&&i!==40))return l;for(s++,i===40&&(i=41);s"+Ti(i.content)+""};Go.code_block=function(e,t,n,o,r){var i=e[t];return""+Ti(e[t].content)+` +`};Go.fence=function(e,t,n,o,r){var i=e[t],a=i.info?Z8e(i.info).trim():"",s="",l="",c,u,d,f,p;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||Ti(i.content):c=Ti(i.content),c.indexOf(""+c+` `):"
"+c+`
`};Go.image=function(e,t,n,o,r){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=r.renderInlineAsText(i.children,n,o),r.renderToken(e,t,n)};Go.hardbreak=function(e,t,n){return n.xhtmlOut?`
@@ -3776,9 +3776,9 @@ ${t} `};Go.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`
`:`
`:` -`};Go.text=function(e,t){return Ti(e[t].content)};Go.html_block=function(e,t){return e[t].content};Go.html_inline=function(e,t){return e[t].content};function qa(){this.rules=Y8e({},Go)}qa.prototype.renderAttrs=function(t){var n,o,r;if(!t.attrs)return"";for(r="",n=0,o=t.attrs.length;n `:">",i)};qa.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a\s]/i.test(e)}function iIe(e){return/^<\/a\s*>/i.test(e)}var aIe=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,y=t.tokens,k;if(t.md.options.linkify){for(o=0,r=y.length;o=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(rIe(s.content)&&h>0&&h--,iIe(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,k=t.md.linkify.match(u),l=[],p=s.level,f=0,k.length>0&&k[0].index===0&&n>0&&i[n-1].type==="text_special"&&(k=k.slice(1)),c=0;cf&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=p,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",b]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=m,a.level=p,l.push(a),a=new t.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",l.push(a),f=k[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(lIe,uIe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function fIe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&FS.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var hIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(sIe.test(t.tokens[n].content)&&dIe(t.tokens[n].children),FS.test(t.tokens[n].content)&&fIe(t.tokens[n].children))},p1=Ft.isWhiteSpace,m1=Ft.isPunctChar,g1=Ft.isMdAsciiPunct,pIe=/['"]/,v1=/['"]/g,b1="’";function ql(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function mIe(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x;for(S=[],n=0;n=0&&!(S[y].level<=l);y--);if(S.length=y+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(y=n-1;y>=0&&!(e[y].type==="softbreak"||e[y].type==="hardbreak");y--)if(e[y].content){u=e[y].content.charCodeAt(e[y].content.length-1);break}if(d=32,a=48&&u<=57&&(m=b=!1),b&&m&&(b=f,m=p),!b&&!m){k&&(o.content=ql(o.content,i.index,b1));continue}if(m){for(y=S.length-1;y>=0&&(c=S[y],!(S[y].level=0;n--)t.tokens[n].type!=="inline"||!pIe.test(t.tokens[n].content)||mIe(t.tokens[n].children,t)},vIe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n=0&&(o=this.attrs[n][1]),o};Ka.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var km=Ka,bIe=km;function NS(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}NS.prototype.Token=bIe;var yIe=NS,xIe=Sm,Qd=[["normalize",eIe],["block",tIe],["inline",nIe],["linkify",aIe],["replacements",hIe],["smartquotes",gIe],["text_join",vIe]];function Tm(){this.ruler=new xIe;for(var e=0;eo||(u=n+1,t.sCount[u]=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(w=t.src.charCodeAt(s++),w!==124&&w!==45&&w!==58)||s>=t.eMarks[u]||(x=t.src.charCodeAt(s++),x!==124&&x!==45&&x!==58&&!ef(x))||w===45&&ef(x))return!1;for(;s=4||(d=y1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==h.length))return!1;if(r)return!0;for(y=t.parentType,t.parentType="table",S=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),p.map=b=[n,0],p=t.push("thead_open","thead",1),p.map=[n,n+1],p=t.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(d=y1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(p=t.push("tbody_open","tbody",1),p.map=m=[n+2,0]),p=t.push("tr_open","tr",1),p.map=[u,u+1],l=0;l=4){r++,i=r;continue}break}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(n,i,4+t.blkIndent,!1)+` -`,a.map=[n,t.line],!0},SIe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,p=t.bMarks[n]+t.tShift[n],h=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||p+3>h||(i=t.src.charCodeAt(p),i!==126&&i!==96)||(c=p,p=t.skipChars(p,i),a=p-c,a<3)||(d=t.src.slice(c,p),s=t.src.slice(p,h),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(p=c=t.bMarks[l]+t.tShift[l],h=t.eMarks[l],p=4)&&(p=t.skipChars(p,i),!(p-c=4||t.src.charCodeAt(E)!==62)return!1;if(r)return!0;for(h=[],g=[],y=[],k=[],x=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=n;f=M));f++){if(t.src.charCodeAt(E++)===62&&!_){for(l=t.sCount[f]+1,t.src.charCodeAt(E)===32?(E++,l++,i=!1,S=!0):t.src.charCodeAt(E)===9?(S=!0,(t.bsCount[f]+l)%4===3?(E++,l++,i=!1):i=!0):S=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=E;E=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),y.push(t.sCount[f]),t.sCount[f]=p-l,k.push(t.tShift[f]),t.tShift[f]=E-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=x.length;s",C.map=d=[n,0],t.md.block.tokenize(t,n,f),C=t.push("blockquote_close","blockquote",-1),C.markup=">",t.lineMax=R,t.parentType=m,d[1]=t.line,s=0;s=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(Y=!0),(E=C1(t,D))>=0){if(d=!0,A=t.bMarks[D]+t.tShift[D],m=Number(t.src.slice(A,E-1)),Y&&m!==1)return!1}else if((E=x1(t,D))>=0)d=!1;else return!1;if(Y&&t.skipSpaces(E)>=t.eMarks[D])return!1;if(r)return!0;for(b=t.src.charCodeAt(E-1),g=t.tokens.length,d?(z=t.push("ordered_list_open","ol",1),m!==1&&(z.attrs=[["start",m]])):z=t.push("bullet_list_open","ul",1),z.map=h=[D,0],z.markup=String.fromCharCode(b),M=!1,F=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D=y?c=1:c=k-u,c>4&&(c=1),l=u+c,z=t.push("list_item_open","li",1),z.markup=String.fromCharCode(b),z.map=f=[D,0],d&&(z.info=t.src.slice(A,E-1)),_=t.tight,C=t.tShift[D],x=t.sCount[D],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=k,a>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,D,o,!0),(!t.tight||M)&&(Q=!1),M=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[D]=C,t.sCount[D]=x,t.tight=_,z=t.push("list_item_close","li",-1),z.markup=String.fromCharCode(b),D=t.line,f[1]=D,D>=o||t.sCount[D]=4)break;for(q=!1,s=0,p=F.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[_]<0)){for(y=!1,u=0,d=k.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:S,href:c}),t.parentType=h,t.line=n+w+1),!0)},MIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ju={},zIe="[a-zA-Z_:][a-zA-Z0-9:._-]*",OIe="[^\"'=<>`\\x00-\\x20]+",DIe="'[^']*'",LIe='"[^"]*"',FIe="(?:"+OIe+"|"+DIe+"|"+LIe+")",NIe="(?:\\s+"+zIe+"(?:\\s*=\\s*"+FIe+")?)",HS="<[A-Za-z][A-Za-z0-9\\-]*"+NIe+"*\\s*\\/?>",jS="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",BIe="|",HIe="<[?][\\s\\S]*?[?]>",jIe="]*>",VIe="",UIe=new RegExp("^(?:"+HS+"|"+jS+"|"+BIe+"|"+HIe+"|"+jIe+"|"+VIe+")"),WIe=new RegExp("^(?:"+HS+"|"+jS+")");ju.HTML_TAG_RE=UIe;ju.HTML_OPEN_CLOSE_TAG_RE=WIe;var qIe=MIe,KIe=ju.HTML_OPEN_CLOSE_TAG_RE,ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(KIe.source+"\\s*$"),/^$/,!1]],GIe=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,u),i=0;i=4||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c6||cc&&w1(t.src.charCodeAt(s-1))&&(u=s),t.line=n+1,l=t.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,u).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a)),!0)},XIe=function(t,n,o){var r,i,a,s,l,c,u,d,f,p=n+1,h,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(h=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],u=t.eMarks[p],c=u)))){d=f===61?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,a=0,s=g.length;a3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a0&&this.level++,this.tokens.push(o),o};Yo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Yo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Vu(this.src.charCodeAt(--t)))return t+1;return t};Yo.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Yo.prototype.getLines=function(t,n,o,r){var i,a,s,l,c,u,d,f=t;if(t>=n)return"";for(u=new Array(n-t),i=0;fo?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Yo.prototype.Token=VS;var JIe=Yo,QIe=Sm,Gl=[["table",wIe,["paragraph","reference"]],["code",_Ie],["fence",SIe,["paragraph","reference","blockquote","list"]],["blockquote",TIe,["paragraph","reference","blockquote","list"]],["hr",RIe,["paragraph","reference","blockquote","list"]],["list",$Ie,["paragraph","reference","blockquote"]],["reference",IIe],["html_block",GIe,["paragraph","reference","blockquote"]],["heading",YIe,["paragraph","reference","blockquote"]],["lheading",XIe],["paragraph",ZIe]];function Uu(){this.ruler=new QIe;for(var e=0;e=n||e.sCount[l]=u){e.line=n;break}for(i=e.line,r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!o)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),l=e.line,l0||(o=t.pos,r=t.posMax,o+3>r)||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47||(i=t.pending.match(oMe),!i)||(a=i[1],s=t.md.linkify.matchAtStart(t.src.slice(o-a.length)),!s)||(l=s.url,l.length<=a.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(n||(t.pending=t.pending.slice(0,-a.length),u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(l),u=t.push("link_close","a",-1),u.markup="linkify",u.info="auto"),t.pos+=l.length-a.length,!0)},iMe=Ft.isSpace,aMe=function(t,n){var o,r,i,a=t.pos;if(t.src.charCodeAt(a)!==10)return!1;if(o=t.pending.length-1,r=t.posMax,!n)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){for(i=o-1;i>=1&&t.pending.charCodeAt(i-1)===32;)i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a?@[]^_`{|}~-".split("").forEach(function(e){Pm[e.charCodeAt(0)]=1});var lMe=function(t,n){var o,r,i,a,s,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(o=t.src.charCodeAt(l),o===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&o<=56319&&l+1=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&Pm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},cMe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}qu.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(k1(t,t.delimiters),n=0;n=g)return!1;if(b=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(f=t.md.normalizeLink(c.str),t.md.validateLink(f)?l=c.pos:f="",b=l;l=g||t.src.charCodeAt(l)!==41)&&(m=!0),l++}if(m){if(typeof t.env.references>"u")return!1;if(l=0?i=t.src.slice(b,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[uMe(i)],!u)return t.pos=h,!1;f=u.href,p=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],p&&o.push(["title",p]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},fMe=Ft.normalizeReference,of=Ft.isSpace,hMe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,g,b="",m=t.pos,y=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(c=s+1,c=y)return!1;for(g=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(b=t.md.normalizeLink(d.str),t.md.validateLink(b)?c=d.pos:b=""),g=c;c=y||t.src.charCodeAt(c)!==41)return t.pos=m,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[fMe(a)],!u)return t.pos=m,!1;b=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,h=[]),p=t.push("image","img",0),p.attrs=o=[["src",b],["alt",""]],p.children=h,p.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=y,!0},pMe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,mMe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,gMe=function(t,n){var o,r,i,a,s,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++c>=l||(a=t.src.charCodeAt(c),a===60))return!1;if(a===62)break}return o=t.src.slice(s+1,c),mMe.test(o)?(r=t.md.normalizeLink(o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):pMe.test(o)?(r=t.md.normalizeLink("mailto:"+o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):!1},vMe=ju.HTML_TAG_RE;function bMe(e){return/^\s]/i.test(e)}function yMe(e){return/^<\/a\s*>/i.test(e)}function xMe(e){var t=e|32;return t>=97&&t<=122}var CMe=function(t,n){var o,r,i,a,s=t.pos;return!t.md.options.html||(i=t.posMax,t.src.charCodeAt(s)!==60||s+2>=i)||(o=t.src.charCodeAt(s+1),o!==33&&o!==63&&o!==47&&!xMe(o))||(r=t.src.slice(s).match(vMe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],bMe(a.content)&&t.linkLevel++,yMe(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},T1=zS,wMe=Ft.has,_Me=Ft.isValidEntityCode,P1=Ft.fromCodePoint,SMe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,kMe=/^&([a-z][a-z0-9]{1,31});/i,TMe=function(t,n){var o,r,i,a,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(o=t.src.charCodeAt(s+1),o===35){if(i=t.src.slice(s).match(SMe),i)return n||(r=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=t.push("text_special","",0),a.content=_Me(r)?P1(r):P1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(kMe),i&&wMe(T1,i[1]))return n||(a=t.push("text_special","",0),a.content=T1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function R1(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,p=[];for(t=0;ti;n-=p[n]+1)if(r=e[n],r.marker===o.marker&&r.open&&r.end<0&&(s=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(s=!0),!s)){l=n>0&&!e[n-1].open?p[n-1]+1:0,p[t]=t-n+l,p[n]=l,o.open=!1,r.end=t,r.close=!1,a=-1,f=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var PMe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(R1(t.delimiters),n=0;n0&&r++,i[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};pl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,p=!0,h=this.posMax,g=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};ml.prototype.tokenize=function(e){for(var t,n,o,r=this.ruler.getRules(""),i=r.length,a=e.posMax,s=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};ml.prototype.parse=function(e,t,n,o){var r,i,a,s=new this.State(e,t,n,o);for(this.tokenize(s),i=this.ruler2.getRules(""),a=i.length,r=0;r|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),sf}function Th(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function Ku(e){return Object.prototype.toString.call(e)}function IMe(e){return Ku(e)==="[object String]"}function MMe(e){return Ku(e)==="[object Object]"}function zMe(e){return Ku(e)==="[object RegExp]"}function z1(e){return Ku(e)==="[object Function]"}function OMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var US={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function DMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||US.hasOwnProperty(n)},!1)}var LMe={"http:":{validate:function(e,t,n){var o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},FMe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",NMe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function BMe(e){e.__index__=-1,e.__text_cache__=""}function HMe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function O1(){return function(e,t){t.normalize(e)}}function Dc(e){var t=e.re=AMe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(FMe),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function i(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[s]=c,MMe(l)){zMe(l.validate)?c.validate=HMe(l.validate):z1(l.validate)?c.validate=l.validate:i(s,l),z1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=O1();return}if(IMe(l)){r.push(s);return}i(s,l)}}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:O1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(OMe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),BMe(e)}function jMe(e,t){var n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function Ph(e,t){var n=new jMe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||DMe(e)&&(t=e,e={}),this.__opts__=Th({},US,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Th({},LMe,e),this.__compiled__={},this.__tlds__=NMe,this.__tlds_replaced__=!1,this.re={},Dc(this)}Qn.prototype.add=function(t,n){return this.__schemas__[t]=n,Dc(this),this};Qn.prototype.set=function(t){return this.__opts__=Th(this.__opts__,t),this};Qn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Qn.prototype.pretest=function(t){return this.re.pretest.test(t)};Qn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Qn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Ph(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ph(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Qn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,Ph(this,0)):null};Qn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),Dc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Dc(this),this)};Qn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Qn.prototype.onCompile=function(){};var VMe=Qn;const pa=2147483647,Lo=36,Em=1,Gs=26,UMe=38,WMe=700,WS=72,qS=128,KS="-",qMe=/^xn--/,KMe=/[^\0-\x7F]/,GMe=/[\x2E\u3002\uFF0E\uFF61]/g,YMe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},lf=Lo-Em,Fo=Math.floor,cf=String.fromCharCode;function Mr(e){throw new RangeError(YMe[e])}function XMe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function GS(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(GMe,".");const r=e.split("."),i=XMe(r,t).join(".");return o+i}function $m(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),ZMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Lo},D1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},XS=function(e,t,n){let o=0;for(e=n?Fo(e/WMe):e>>1,e+=Fo(e/t);e>lf*Gs>>1;o+=Lo)e=Fo(e/lf);return Fo(o+(lf+1)*e/(e+UMe))},Am=function(e){const t=[],n=e.length;let o=0,r=qS,i=WS,a=e.lastIndexOf(KS);a<0&&(a=0);for(let s=0;s=128&&Mr("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&Mr("invalid-input");const f=ZMe(e.charCodeAt(s++));f>=Lo&&Mr("invalid-input"),f>Fo((pa-o)/u)&&Mr("overflow"),o+=f*u;const p=d<=i?Em:d>=i+Gs?Gs:d-i;if(fFo(pa/h)&&Mr("overflow"),u*=h}const c=t.length+1;i=XS(o-l,c,l==0),Fo(o/c)>pa-r&&Mr("overflow"),r+=Fo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Im=function(e){const t=[];e=$m(e);const n=e.length;let o=qS,r=0,i=WS;for(const l of e)l<128&&t.push(cf(l));const a=t.length;let s=a;for(a&&t.push(KS);s=o&&uFo((pa-r)/c)&&Mr("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(upa&&Mr("overflow"),u===o){let d=r;for(let f=Lo;;f+=Lo){const p=f<=i?Em:f>=i+Gs?Gs:f-i;if(d=0))try{t.hostname=QS.toASCII(t.hostname)}catch{}return hi.encode(hi.format(t))}function mze(e){var t=hi.parse(e,!0);if(t.hostname&&(!t.protocol||ek.indexOf(t.protocol)>=0))try{t.hostname=QS.toUnicode(t.hostname)}catch{}return hi.decode(hi.format(t),hi.decode.defaultChars+"%")}function lo(e,t){if(!(this instanceof lo))return new lo(e,t);t||Ts.isString(e)||(t=e||{},e="default"),this.inline=new lze,this.block=new sze,this.core=new aze,this.renderer=new ize,this.linkify=new cze,this.validateLink=hze,this.normalizeLink=pze,this.normalizeLinkText=mze,this.utils=Ts,this.helpers=Ts.assign({},rze),this.options={},this.configure(e),t&&this.set(t)}lo.prototype.set=function(e){return Ts.assign(this.options,e),this};lo.prototype.configure=function(e){var t=this,n;if(Ts.isString(e)&&(n=e,e=uze[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};lo.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};lo.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};lo.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};lo.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};lo.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};lo.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};lo.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var gze=lo,vze=gze;const Gu=up(vze),bze={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},yze=H("path",{d:"m72.8 140.45-12.7 145.1h42.41l8.99-102.69h.04l3.67-42.41zM124.16 37.75h-42.4l-5.57 63.61h42.4zM318.36 285.56h42.08l5.57-63.61H323.9z",class:"cls-2"},null,-1),xze=H("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),Cze=H("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function wze(e,t){return ue(),ze("svg",bze,[H("defs",null,[(ue(),We(Wc("style"),null,{default:re(()=>[Je(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),yze,xze,Cze])}const _ze={render:wze},Sze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},kze=v4('',2),Tze=[kze];function Pze(e,t){return ue(),ze("svg",Sze,[...Tze])}const Rze={render:Pze},Eze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},$ze=H("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[H("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),H("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),H("path",{d:"M47.16 28.8v32c0 .884.753 1.6 1.683 1.6h13.474c.93 0 1.684-.716 1.684-1.6v-32c0-.884-.754-1.6-1.684-1.6H48.843c-.93 0-1.684.716-1.684 1.6"})],-1),Aze=[$ze];function Ize(e,t){return ue(),ze("svg",Eze,[...Aze])}const Mze={render:Ize},Gi=e=>(E3("data-v-179cfe78"),e=e(),$3(),e),zze=["innerHTML"],Oze={class:"w-64"},Dze={class:"text-#666"},Lze={class:"w-64"},Fze={class:"text-#666"},Nze=Gi(()=>H("div",{class:"w-64"},[H("img",{src:iee,class:"h-30 w-30"})],-1)),Bze={class:"text-#666"},Hze={class:"w-64"},jze={class:"text-#666"},Vze={class:"font-bold"},Uze={class:"mb-20"},Wze={class:"text-center"},qze={class:"mt-10 text-center"},Kze=Gi(()=>H("div",{class:"w-64"},[H("img",{src:MS,class:"h-30 w-30"})],-1)),Gze={class:"text-#666"},Yze={class:"w-64"},Xze={class:"text-#666"},Zze={class:"w-64"},Jze={class:"text-#666"},Qze=Gi(()=>H("div",{class:"w-64"},[H("img",{src:aee,class:"h-30 w-30 border-rounded-5"})],-1)),eOe={class:"text-#666"},tOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:see,class:"h-30 w-30 border-rounded-5"})],-1)),nOe={class:"text-#666"},oOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:lee,class:"h-30 w-30"})],-1)),rOe={class:"text-#666"},iOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:MS,class:"h-30 w-30"})],-1)),aOe={class:"text-#666"},sOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:cee,class:"h-30 w-30"})],-1)),lOe={class:"text-#666"},cOe={class:"p-10 text-center"},uOe={class:"mb-5 md:mb-40"},dOe={key:0,class:"mb-10"},fOe={class:"font-bold"},hOe=["onClick"],pOe={class:"text-20"},mOe={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},gOe={class:"text-block mb-16 p-t-20 text-20 font-600"},vOe={key:0,class:"mb-16 text-14 text-gray"},bOe={key:1,class:"mb-16 text-14 font-600 text-red-500"},yOe={key:2,class:"mb-16 text-14 text-gray"},xOe={class:"text-gray"},COe={class:"flex items-center justify-between"},wOe={class:""},_Oe={class:"text-16"},SOe={class:"text-14 text-gray"},kOe={class:"flex items-center justify-between"},TOe={class:"text-16"},POe={class:"text-14 text-gray"},ROe={class:"flex items-center justify-between"},EOe={class:"text-16"},$Oe={class:"text-14 text-gray"},AOe={class:"flex items-center justify-between"},IOe={class:"text-16"},MOe={class:"text-14 text-gray"},zOe="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+",OOe=me({__name:"index",setup(e){const t=B=>sn.global.t(B),n=SX(),o=new Gu({html:!0}),r=B=>o.render(B),i=wn(),a=Ki(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=N(!1),u=N();Lt(()=>{});const d=N(!1),f=N(!1),p=N(""),h=N(["auto"]),g=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],b=N([]);function m(B){if(B==="auto"||B==="all"&&h.value.includes("all"))h.value=["auto"];else if(B==="all"&&!h.value.includes("all"))h.value=b.value.map($=>$.type).filter($=>$!=="auto");else{const $=h.value.includes(B);h.value=$?h.value.filter(K=>K!==B):[...h.value.filter(K=>K!=="auto"),B],M$(b.value.map(K=>K.type).filter(K=>K!=="auto"&&K!=="all"),h.value)?h.value.push("all"):h.value=h.value.filter(K=>K!=="all")}h.value.length===0&&(h.value=["auto"]),y()}function y(){var $,I,K;const B=h.value;B.includes("all")?p.value=(($=w.value)==null?void 0:$.subscribe_url)+"&types=all":B.includes("auto")?p.value=((I=w.value)==null?void 0:I.subscribe_url)+"&types=auto":p.value=((K=w.value)==null?void 0:K.subscribe_url)+"&types="+h.value.join(",")}function k(B){window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const w=L(()=>a.subscribe);function x(){var K,ne,ve;const B=(K=w.value)==null?void 0:K.transfer_enable,$=((ne=w.value)==null?void 0:ne.u)||0,I=((ve=w.value)==null?void 0:ve.d)||0;return B?Math.floor(($+I)/B*100):0}const{errorColor:C,warningColor:_,successColor:R,primaryColor:E}=n.value;function M(){const B=x();return B>=100?C:B>=70?_:R}function A(){window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),async confirm(){var I;const B=(I=w.value)==null?void 0:I.plan_id;if(!B)return;const{data:$}=await ES(B,"reset_price");$&&on.push("order/"+$)}})}const q=N([]);async function F(){const{data:B}=await xZ();q.value=B,B.map($=>{var I;(I=$.tags)!=null&&I.includes("弹窗")&&(c.value=!0,u.value=$)})}const z=N([0,0,0]);async function D(){const{data:B}=await bZ();B&&(z.value=B)}const Y=N(),Q=N();async function ce(){const{data:B}=await PS();if(B){Y.value=B;const I=[...new Set(B.map(K=>{let ne=K.type;return K.type==="hysteria"&&K.version==2&&(ne="hysteria2"),ne}))];Q.value=I,b.value=g.filter(K=>I.includes(K.type)||["auto","all"].includes(K.type))}}function le(){F(),a.getUserSubscribe(),D(),ce()}return cn(()=>{le()}),(B,$)=>{const I=Zr,K=ree,ne=pm,ve=pr,J=QQ,ye=ul,j=vS,ge=Un,Ee=hm,Ne=qi,T=Et,P=cl,U=yi,oe=Yj,G=hl,se=BY,xe=GQ,be=VQ,Ce=FQ,we=MQ,Re=RQ,de=fo;return ue(),We(de,{"show-footer":!1},{default:re(()=>{var ee,fe,Oe,Le;return[te(I,{show:c.value,"onUpdate:show":$[0]||($[0]=De=>c.value=De),class:"custom-card",preset:"card",title:(ee=u.value)==null?void 0:ee.title,size:"huge",bordered:!1,style:{width:"600px"},"content-style":"padding-top:0",segmented:{content:!1}},{default:re(()=>{var De;return[H("div",{innerHTML:r(((De=u.value)==null?void 0:De.content)||""),class:"markdown-body custom-html-style"},null,8,zze)]}),_:1},8,["show","title"]),te(I,{show:d.value,"onUpdate:show":$[15]||($[15]=De=>d.value=De),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:re(()=>[te(ge,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:re(()=>[te(Ee,{hoverable:""},{default:re(()=>{var De,$e;return[te(ne,{class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[1]||($[1]=Me=>{var Fe,Be;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&he(ua)((Be=w.value)==null?void 0:Be.subscribe_url)})},[H("div",Oze,[te(K,{class:"text-30 text-#595959"})]),H("div",Dze,ie(B.$t("复制订阅地址")),1)])]),_:1}),(De=Q.value)!=null&&De.includes("hysteria2")?(ue(),We(ne,{key:0,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[2]||($[2]=Me=>{var Fe,Be;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&he(ua)(((Be=w.value)==null?void 0:Be.subscribe_url)+"&types=hysteria2")})},[H("div",Lze,[te(ve,{size:"30"},{default:re(()=>[te(he(_ze))]),_:1})]),H("div",Fze,ie(B.$t("复制HY2订阅地址")),1)])]),_:1})):ut("",!0),($e=Q.value)!=null&&$e.includes("vless")?(ue(),We(ne,{key:1,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[3]||($[3]=Me=>{var Fe,Be;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&he(ua)(((Be=w.value)==null?void 0:Be.subscribe_url)+"&types=vless")})},[Nze,H("div",Bze,ie(B.$t("复制Vless订阅地址")),1)])]),_:1})):ut("",!0),te(ne,{class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[5]||($[5]=Me=>{var Fe;return p.value=((Fe=w.value)==null?void 0:Fe.subscribe_url)||"",f.value=!0})},[H("div",Hze,[te(J,{class:"text-30 text-#595959"})]),H("div",jze,ie(B.$t("扫描二维码订阅")),1),te(I,{show:f.value,"onUpdate:show":$[4]||($[4]=Me=>f.value=Me)},{default:re(()=>[te(ge,{class:"w-300"},{default:re(()=>[H("div",Vze,ie(B.$t("选择协议"))+":",1),H("div",Uze,[(ue(!0),ze(it,null,Bn(b.value,Me=>(ue(),We(ye,{key:Me.type,value:Me.type,checked:h.value.includes(Me.type),onClick:Fe=>m(Me.type)},{default:re(()=>[Je(ie(B.$t(Me.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),H("div",Wze,[te(j,{value:p.value,"icon-src":he(i).logo,size:140,color:he(E)},null,8,["value","icon-src","color"])]),H("div",qze,ie(B.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(he(l))?(ue(),We(ne,{key:2,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[6]||($[6]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+w.value.subscribe_url+`&name=${he(i).title}`)})},[Kze,H("div",Gze,ie(B.$t("导入到"))+" ClashX Meta",1)])]),_:1})):ut("",!0),["mac","android","windows"].includes(he(l))?(ue(),We(ne,{key:3,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[7]||($[7]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(he(i).title||"")}`)})},[H("div",Yze,[te(ve,{size:"30"},{default:re(()=>[te(he(Mze))]),_:1})]),H("div",Xze,ie(B.$t("导入到"))+" Hiddify Next",1)])]),_:1})):ut("",!0),["android","mac","ios"].includes(he(l))?(ue(),We(ne,{key:4,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[8]||($[8]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(he(i).title||"")}`)})},[H("div",Zze,[te(ve,{size:"30"},{default:re(()=>[te(he(Rze))]),_:1})]),H("div",Jze,ie(B.$t("导入到"))+" sing-box",1)])]),_:1})):ut("",!0),["mac","ios"].includes(he(l))?(ue(),We(ne,{key:5,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[9]||($[9]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("shadowrocket://add/sub://"+S(w.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${he(i).title}`)})},[Qze,H("div",eOe,ie(B.$t("导入到"))+" Shadowsocket",1)])]),_:1})):ut("",!0),["mac","ios"].includes(he(l))?(ue(),We(ne,{key:6,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[10]||($[10]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("stash://install-config?url="+encodeURIComponent(w.value.subscribe_url)+`&name=${he(i).title}`)})},[tOe,H("div",nOe,ie(B.$t("导入到"))+" Stash",1)])]),_:1})):ut("",!0),["android"].includes(he(l))?(ue(),We(ne,{key:7,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[11]||($[11]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[oOe,H("div",rOe,ie(B.$t("导入到"))+" NekoBox",1)])]),_:1})):ut("",!0),["android"].includes(he(l))?(ue(),We(ne,{key:8,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[12]||($[12]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[iOe,H("div",aOe,ie(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):ut("",!0),["windows"].includes(he(l))?(ue(),We(ne,{key:9,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[13]||($[13]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[sOe,H("div",lOe,ie(B.$t("导入到"))+" Clash",1)])]),_:1})):ut("",!0)]}),_:1}),te(Ne,{class:"m-0!"}),H("div",cOe,[te(T,{type:"primary",class:"w-100%",size:"large",onClick:$[14]||($[14]=De=>B.$router.push("/knowledge"))},{default:re(()=>[Je(ie(B.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),H("div",uOe,[z.value[1]&&z.value[1]>0||z.value[0]&&z.value[0]>0?(ue(),ze("div",dOe,[z.value[1]&&z.value[1]>0?(ue(),We(P,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(z.value[1])+" "+ie(B.$t("条工单正在处理中"))+" ",1),te(T,{strong:"",text:"",onClick:$[16]||($[16]=De=>he(on).push("/ticket"))},{default:re(()=>[Je(ie(B.$t("立即查看")),1)]),_:1})]),_:1})):ut("",!0),z.value[0]&&z.value[0]>0?(ue(),We(P,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(B.$t("还有没支付的订单"))+" ",1),te(T,{text:"",strong:"",onClick:$[17]||($[17]=De=>he(on).push("/order"))},{default:re(()=>[Je(ie(B.$t("立即支付")),1)]),_:1})]),_:1})):ut("",!0),!((fe=w.value)!=null&&fe.expired_at&&(((Oe=w.value)==null?void 0:Oe.expired_at)||0)>Date.now()/1e3)&&x()>=70?(ue(),We(P,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(B.$tc("当前已使用流量达{rate}%",{rate:x()}))+" ",1),te(T,{text:"",onClick:$[18]||($[18]=De=>A())},{default:re(()=>[H("span",fOe,ie(B.$t("重置已用流量")),1)]),_:1})]),_:1})):ut("",!0)])):ut("",!0),Cn(te(ge,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:re(()=>[te(oe,null,{default:re(()=>[(ue(!0),ze(it,null,Bn(q.value,De=>(ue(),ze("div",{key:De.id,class:"",style:Ho(De.img_url?`background:url(${De.img_url}) no-repeat;background-size: cover `:`background:url(${zOe})`),onClick:$e=>(c.value=!0,u.value=De)},[H("div",{class:"carousel-img flex flex-col justify-between p-20",style:Ho({background:"rgba(0, 0, 0, 0.5) !important"})},[H("div",null,[te(U,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:re(()=>[Je(ie(B.$t("公告")),1)]),_:1})]),H("div",null,[H("p",pOe,ie(De.title),1),H("p",mOe,ie(he(jo)(De.created_at)),1)])],4)],12,hOe))),128))]),_:1})]),_:1},512),[[Jn,((Le=q.value)==null?void 0:Le.length)>0]]),te(ge,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:re(()=>{var De,$e,Me,Fe,Be,ot,xt,X,pe,Te,Ke,Xe,Ze,tt,rt,yt;return[w.value?(De=w.value)!=null&&De.plan_id?(ue(),ze(it,{key:1},[H("div",gOe,ie((Me=($e=w.value)==null?void 0:$e.plan)==null?void 0:Me.name),1),((Fe=w.value)==null?void 0:Fe.expired_at)===null?(ue(),ze("div",vOe,ie(B.$t("该订阅长期有效")),1)):(Be=w.value)!=null&&Be.expired_at&&(((ot=w.value)==null?void 0:ot.expired_at)??0)(((Te=w.value)==null?void 0:Te.reset_day)||0)?(ue(),ze(it,{key:0},[Je(ie(B.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Ke=w.value)==null?void 0:Ke.reset_day})),1)],64)):ut("",!0)])),te(se,{type:"line",percentage:x(),processing:"",color:M()},null,8,["percentage","color"]),H("div",null,ie(B.$tc("已用 {used} / 总计 {total}",{used:he(aa)(((((Xe=w.value)==null?void 0:Xe.u)||0)+(((Ze=w.value)==null?void 0:Ze.d)||0))/1024/1024/1024)+" GB",total:he(aa)((((tt=w.value)==null?void 0:tt.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(rt=w.value)!=null&&rt.expired_at&&(((yt=w.value)==null?void 0:yt.expired_at)||0)he(on).push("/plan/"+he(a).plan_id))},{default:re(()=>[Je(ie(B.$t("续费订阅")),1)]),_:1})):x()>=70?(ue(),We(T,{key:4,type:"primary",class:"mt-20",onClick:$[20]||($[20]=nn=>A())},{default:re(()=>[Je(ie(B.$t("重置已用流量")),1)]),_:1})):ut("",!0)],64)):(ue(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:$[21]||($[21]=nn=>he(on).push("/plan"))},[te(xe,{class:"text-40"}),H("div",xOe,ie(B.$t("购买订阅")),1)])):(ue(),ze(it,{key:0},[te(G,{text:"",repeat:1,class:"w-60%"}),te(G,{text:"",repeat:1,class:"w-80%"}),te(G,{text:"",repeat:1})],64))]}),_:1},8,["title"]),te(ge,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:re(()=>[te(Ee,{hoverable:"",clickable:""},{default:re(()=>[te(ne,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[22]||($[22]=De=>he(on).push("/knowledge"))},{default:re(()=>[H("div",COe,[H("div",wOe,[H("div",_Oe,ie(B.$t("查看教程")),1),H("div",SOe,ie(B.$t("学习如何使用"))+" "+ie(he(i).title),1)]),H("div",null,[te(be,{class:"text-30 color-gray-500"})])])]),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[23]||($[23]=De=>d.value=!0)},{default:re(()=>[H("div",kOe,[H("div",null,[H("div",TOe,ie(B.$t("一键订阅")),1),H("div",POe,ie(B.$t("快速将节点导入对应客户端进行使用")),1)]),H("div",null,[te(Ce,{class:"text-30 color-gray-500"})])])]),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[24]||($[24]=De=>he(a).plan_id?he(on).push("/plan/"+he(a).plan_id):he(on).push("/plan"))},{default:re(()=>{var De;return[H("div",ROe,[H("div",null,[H("div",EOe,ie((De=w.value)!=null&&De.plan_id?B.$t("续费订阅"):B.$t("购买订阅")),1),H("div",$Oe,ie(B.$t("对您当前的订阅进行购买")),1)]),H("div",null,[te(we,{class:"text-30 color-gray-500"})])])]}),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[25]||($[25]=De=>B.$router.push("/ticket"))},{default:re(()=>[H("div",AOe,[H("div",null,[H("div",IOe,ie(B.$t("遇到问题")),1),H("div",MOe,ie(B.$t("遇到问题可以通过工单与我们沟通")),1)]),H("div",null,[te(Re,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),DOe=Fu(OOe,[["__scopeId","data-v-179cfe78"]]),LOe=Object.freeze(Object.defineProperty({__proto__:null,default:DOe},Symbol.toStringTag,{value:"Module"})),FOe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},NOe=H("path",{fill:"currentColor",d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372m159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8c-.1-4.4-3.7-8-8.1-8"},null,-1),BOe=[NOe];function HOe(e,t){return ue(),ze("svg",FOe,[...BOe])}const jOe={name:"ant-design-pay-circle-outlined",render:HOe},VOe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},UOe=H("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.57 352.57 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942C747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2"},null,-1),WOe=[UOe];function qOe(e,t){return ue(),ze("svg",VOe,[...WOe])}const KOe={name:"ant-design-transaction-outlined",render:qOe},GOe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},YOe=H("path",{fill:"currentColor",d:"M19 17v2H7v-2s0-4 6-4s6 4 6 4m-3-9a3 3 0 1 0-3 3a3 3 0 0 0 3-3m3.2 5.06A5.6 5.6 0 0 1 21 17v2h3v-2s0-3.45-4.8-3.94M18 5a2.91 2.91 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.91 2.91 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),XOe=[YOe];function ZOe(e,t){return ue(),ze("svg",GOe,[...XOe])}const JOe={name:"mdi-invite",render:ZOe},QOe={class:"text-50 font-400"},eDe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},tDe={class:"text-#6c757d"},nDe={class:"flex justify-between p-b-5 p-t-5"},oDe={class:"flex justify-between p-b-5 p-t-5"},rDe={key:0},iDe={key:1},aDe={class:"flex justify-between p-b-5 p-t-5"},sDe={class:"flex justify-between p-b-5 p-t-5"},lDe={class:"m-t-10"},cDe={class:"m-b-5"},uDe={class:"m-t-10"},dDe={class:"m-b-5"},fDe={class:"flex justify-end"},hDe={class:"m-t-10"},pDe={class:"m-b-5"},mDe={class:"m-t-10"},gDe={class:"m-b-5"},vDe={class:"flex justify-end"},bDe=me({__name:"index",setup(e){const t=wn(),n=x=>sn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const C=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return v("div",[v("span",x.code),v(Et,{size:"small",onClick:()=>ua(C),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(x){return jo(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return jo(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(x){return an(x.get_amount)}}],i=N(),a=N([]);async function s(){const x=await SZ(),{data:C}=x;i.value=C.codes,a.value=C.stat}const l=N([]),c=xo({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:x=>{c.page=x,u()},onUpdatePageSize:x=>{c.pageSize=x,c.page=1,u()}});async function u(){const x=await kZ(c.page,c.pageSize),{data:C}=x;l.value=C}const d=N(!1);async function f(){d.value=!0;const{data:x}=await TZ();x===!0&&(window.$message.success(n("已生成")),w()),d.value=!1}const p=N(!1),h=N(),g=N(!1);async function b(){g.value=!0;const x=h.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额")),g.value=!1;return}const{data:C}=await PZ(x*100);C===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),g.value=!1}const m=N(!1),y=xo({method:null,account:null}),k=N(!1);async function S(){if(k.value=!0,!y.method){window.$message.error(n("提现方式不能为空")),k.value=!1;return}if(!y.account){window.$message.error(n("提现账号不能为空")),k.value=!1;return}const x=y.method,C=y.account,{data:_}=await RZ({withdraw_method:x,withdraw_account:C});_===!0&&on.push("/ticket"),k.value=!1}function w(){s(),u()}return cn(()=>{w()}),(x,C)=>{const _=JOe,R=xV,E=KOe,M=jOe,A=Ua,q=Un,F=Mu,z=cl,D=_o,Y=NG,Q=Zr,ce=IS,le=Eu,B=fo;return ue(),We(B,null,{default:re(()=>[te(q,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":re(()=>[te(_,{class:"text-40 text-gray"})]),default:re(()=>{var $;return[H("div",null,[H("span",QOe,[te(R,{from:0,to:parseFloat(he(an)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),H("span",eDe,ie(($=he(t).appConfig)==null?void 0:$.currency),1)]),H("div",tDe,ie(x.$t("当前剩余佣金")),1),te(A,{class:"m-t-10"},{default:re(()=>{var I;return[te(he(Et),{size:"small",type:"primary",onClick:C[0]||(C[0]=K=>p.value=!0)},{icon:re(()=>[te(E)]),default:re(()=>[Je(" "+ie(x.$t("划转")),1)]),_:1}),(I=he(t).appConfig)!=null&&I.withdraw_close?ut("",!0):(ue(),We(he(Et),{key:0,size:"small",type:"primary",onClick:C[1]||(C[1]=K=>m.value=!0)},{icon:re(()=>[te(M)]),default:re(()=>[Je(" "+ie(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),te(q,{class:"m-t-15 border-rounded-5"},{default:re(()=>{var $,I,K,ne,ve,J;return[H("div",nDe,[H("div",null,ie(x.$t("已注册用户数")),1),H("div",null,ie(x.$tc("{number} 人",{number:a.value[0]})),1)]),H("div",oDe,[H("div",null,ie(x.$t("佣金比例")),1),($=he(t).appConfig)!=null&&$.commission_distribution_enable?(ue(),ze("div",rDe,ie(`${Math.floor((((I=he(t).appConfig)==null?void 0:I.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((K=he(t).appConfig)==null?void 0:K.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((ne=he(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(ue(),ze("div",iDe,ie(a.value[3])+"%",1))]),H("div",aDe,[H("div",null,ie(x.$t("确认中的佣金")),1),H("div",null,ie((ve=he(t).appConfig)==null?void 0:ve.currency_symbol)+" "+ie(he(an)(a.value[2])),1)]),H("div",sDe,[H("div",null,ie(x.$t("累计获得佣金")),1),H("div",null,ie((J=he(t).appConfig)==null?void 0:J.currency_symbol)+" "+ie(he(an)(a.value[1])),1)])]}),_:1}),te(q,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":re(()=>[te(he(Et),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:re(()=>[Je(ie(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:re(()=>[te(F,{columns:o,data:i.value,bordered:!1},null,8,["data"])]),_:1},8,["title"]),te(q,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:re(()=>[te(F,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),te(Q,{show:p.value,"onUpdate:show":C[6]||(C[6]=$=>p.value=$)},{default:re(()=>[te(q,{title:x.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100% w-600",closable:"",onClose:C[5]||(C[5]=$=>p.value=!1)},{footer:re(()=>[H("div",fDe,[H("div",null,[te(he(Et),{onClick:C[3]||(C[3]=$=>p.value=!1)},{default:re(()=>[Je(ie(x.$t("取消")),1)]),_:1}),te(he(Et),{type:"primary",class:"ml-10",onClick:C[4]||(C[4]=$=>b()),loading:g.value,disabled:g.value},{default:re(()=>[Je(ie(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:re(()=>[te(z,{type:"warning"},{default:re(()=>[Je(ie(x.$tc("划转后的余额仅用于{title}消费使用",{title:he(t).title})),1)]),_:1}),H("div",lDe,[H("div",cDe,ie(x.$t("当前推广佣金余额")),1),te(D,{placeholder:he(an)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),H("div",uDe,[H("div",dDe,ie(x.$t("划转金额")),1),te(Y,{value:h.value,"onUpdate:value":C[2]||(C[2]=$=>h.value=$),min:0,placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),te(Q,{show:m.value,"onUpdate:show":C[12]||(C[12]=$=>m.value=$)},{default:re(()=>[te(q,{title:x.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100% w-600"},{"header-extra":re(()=>[te(he(Et),{class:"h-auto p-2",tertiary:"",size:"large",onClick:C[7]||(C[7]=$=>m.value=!1)},{icon:re(()=>[te(ce,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:re(()=>[H("div",vDe,[H("div",null,[te(he(Et),{onClick:C[10]||(C[10]=$=>m.value=!1)},{default:re(()=>[Je(ie(x.$t("取消")),1)]),_:1}),te(he(Et),{type:"primary",class:"ml-10",onClick:C[11]||(C[11]=$=>S()),loading:k.value,disabled:k.value},{default:re(()=>[Je(ie(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:re(()=>{var $;return[H("div",hDe,[H("div",pDe,ie(x.$t("提现方式")),1),te(le,{value:y.method,"onUpdate:value":C[8]||(C[8]=I=>y.method=I),options:($=he(t).appConfig)==null?void 0:$.withdraw_methods.map(I=>({label:I,value:I})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),H("div",mDe,[H("div",gDe,ie(x.$t("提现账号")),1),te(D,{value:y.account,"onUpdate:value":C[9]||(C[9]=I=>y.account=I),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),yDe=Object.freeze(Object.defineProperty({__proto__:null,default:bDe},Symbol.toStringTag,{value:"Module"})),xDe={class:""},CDe={class:"mb-4 text-16 font-600"},wDe={class:"text-12 text-gray"},_De=["innerHTML"],SDe=me({__name:"index",setup(e){const t=wn(),n=new Gu({html:!0}),o=f=>n.render(f);window.copy=f=>ua(f),window.jump=f=>a(f);const r=N(!1),i=N();async function a(f){const{data:p}=await jZ(f,t.lang);p&&(i.value=p),r.value=!0}const s=N(""),l=N(!0),c=N();async function u(){l.value=!0;const f=s.value,{data:p}=await HZ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return cn(()=>{d()}),(f,p)=>{const h=_o,g=Et,b=Pu,m=hl,y=Ua,k=pm,S=hm,w=Un,x=cq,C=V2,_=fo;return ue(),We(_,{"show-footer":!1},{default:re(()=>[te(b,null,{default:re(()=>[te(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=R=>s.value=R),onKeyup:p[1]||(p[1]=ba(R=>d(),["enter"]))},null,8,["placeholder","value"]),te(g,{type:"primary",ghost:"",onClick:p[2]||(p[2]=R=>d())},{default:re(()=>[Je(ie(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(ue(),We(y,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(m,{height:"20px",width:"33%"}),te(m,{height:"20px",width:"66%"}),te(m,{height:"20px"})]),_:1})):ut("",!0),(ue(!0),ze(it,null,Bn(c.value,(R,E)=>(ue(),We(w,{key:E,title:E,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:re(()=>[te(S,{clickable:"",hoverable:""},{default:re(()=>[(ue(!0),ze(it,null,Bn(R,M=>(ue(),We(k,{key:M.id,onClick:A=>a(M.id)},{default:re(()=>[H("div",xDe,[H("div",CDe,ie(M.title),1),H("div",wDe,ie(f.$t("最后更新"))+" "+ie(he(bp)(M.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),te(C,{show:r.value,"onUpdate:show":p[3]||(p[3]=R=>r.value=R),width:"80%",placement:"right"},{default:re(()=>{var R;return[te(x,{title:(R=i.value)==null?void 0:R.title,closable:""},{default:re(()=>{var E;return[H("div",{innerHTML:o(((E=i.value)==null?void 0:E.body)||""),class:"custom-html-style markdown-body"},null,8,_De)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),kDe=Object.freeze(Object.defineProperty({__proto__:null,default:SDe},Symbol.toStringTag,{value:"Module"})),TDe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},PDe=H("path",{fill:"currentColor",d:"M11 18h2v-2h-2zm1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-14a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2a2 2 0 0 1 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4"},null,-1),RDe=[PDe];function EDe(e,t){return ue(),ze("svg",TDe,[...RDe])}const $De={name:"mdi-help-circle-outline",render:EDe},ADe={class:"flex"},IDe={class:"flex-[1]"},MDe={class:"flex flex-[3] text-center"},zDe={class:"flex flex-1 items-center justify-center"},ODe={class:"flex flex-1 items-center justify-center"},DDe={class:"flex-1"},LDe={class:"flex"},FDe={class:"flex-[1]"},NDe={class:"flex flex-[3] text-center"},BDe={class:"flex flex-[1] items-center justify-center"},HDe={class:"flex-[1]"},jDe={class:"flex-[1]"},VDe={key:0},UDe={key:1},WDe=me({__name:"index",setup(e){const t=N([]),n=N(!0);async function o(){n.value=!0;const r=await PS(),{data:i}=r;t.value=i,n.value=!1}return cn(()=>{o()}),(r,i)=>{const a=hl,s=Ua,l=$De,c=Au,u=yi,d=pm,f=hm,p=Ia("router-link"),h=cl,g=fo;return ue(),We(g,null,{default:re(()=>[n.value?(ue(),We(s,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(a,{height:"20px",width:"33%"}),te(a,{height:"20px",width:"66%"}),te(a,{height:"20px"})]),_:1})):t.value.length>0?(ue(),We(f,{key:1,clickable:"",hoverable:""},{header:re(()=>[H("div",ADe,[H("div",IDe,ie(r.$t("名称")),1),H("div",MDe,[H("div",zDe,[Je(ie(r.$t("状态"))+" ",1),te(c,{placement:"bottom",trigger:"hover"},{trigger:re(()=>[te(l,{class:"m-l-3 text-16"})]),default:re(()=>[H("span",null,ie(r.$t("五分钟内节点在线情况")),1)]),_:1})]),H("div",ODe,[Je(ie(r.$t("倍率"))+" ",1),te(c,{placement:"bottom",trigger:"hover"},{trigger:re(()=>[te(l,{class:"m-l-3 text-16"})]),default:re(()=>[H("span",null,ie(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),H("div",DDe,ie(r.$t("标签")),1)])])]),default:re(()=>[(ue(!0),ze(it,null,Bn(t.value,b=>(ue(),We(d,{key:b.id},{default:re(()=>[H("div",LDe,[H("div",FDe,ie(b.name),1),H("div",NDe,[H("div",BDe,[H("div",{class:ar(["h-6 w-6 rounded-full",b.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),H("div",HDe,[te(u,{size:"small",round:"",class:""},{default:re(()=>[Je(ie(b.rate)+" x ",1)]),_:2},1024)]),H("div",jDe,[b.tags&&b.tags.length>0?(ue(),ze("div",VDe,[(ue(!0),ze(it,null,Bn(b.tags,m=>(ue(),We(u,{size:"small",round:"",key:m},{default:re(()=>[Je(ie(m),1)]),_:2},1024))),128))])):(ue(),ze("span",UDe,"-"))])])])]),_:2},1024))),128))]),_:1})):(ue(),We(h,{key:2,type:"info"},{default:re(()=>[H("div",null,[Je(ie(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),te(p,{class:"font-600",to:"/plan"},{default:re(()=>[Je(ie(r.$t("订阅")),1)]),_:1}),Je("。")])]),_:1}))]),_:1})}}}),qDe=Object.freeze(Object.defineProperty({__proto__:null,default:WDe},Symbol.toStringTag,{value:"Module"})),KDe=me({__name:"index",setup(e){const t=c=>sn.global.t(c),n={0:t("待支付"),1:t("开通中"),2:t("已取消"),3:t("已完成"),4:t("已折抵")},o={month_price:t("月付"),quarter_price:t("季付"),half_year_price:t("半年付"),year_price:t("年付"),two_year_price:t("两年付"),three_year_price:t("三年付"),onetime_price:t("一次性"),reset_price:t("流量重置包")},r=[{title:t("# 订单号"),key:"trade_no",render(c){return v(Et,{text:!0,class:"color-primary",onClick:()=>on.push(`/order/${c.trade_no}`)},{default:()=>c.trade_no})}},{title:t("周期"),key:"period",render(c){return v(yi,{round:!0,size:"small"},{default:()=>o[c.period]})}},{title:t("订单金额"),key:"total_amount",render(c){return an(c.total_amount)}},{title:t("订单状态"),key:"status",render(c){const u=n[c.status],d=v("div",{class:["h-6 w-6 rounded-full mr-5",c.status===3?"bg-green-500":"bg-red-500"]});return v("div",{class:"flex items-center"},[d,u])}},{title:t("创建时间"),key:"created_at",render(c){return jo(c.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(c){const u=v(Et,{text:!0,type:"primary",onClick:()=>on.push(`/order/${c.trade_no}`)},{default:()=>t("查看详情")}),d=v(Et,{text:!0,type:"primary",disabled:c.status!==0,onClick:()=>i(c.trade_no)},{default:()=>t("取消")}),f=v(qi,{vertical:!0});return v("div",[u,f,d])}}];async function i(c){window.$dialog.confirm({title:t("注意"),type:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:u}=await wm(c);u===!0&&(window.$message.success(t("取消成功")),l())}})}const a=N([]);async function s(){const c=await RS(),{data:u}=c;a.value=u}async function l(){s()}return cn(()=>{l()}),(c,u)=>{const d=Mu,f=fo;return ue(),We(f,null,{default:re(()=>[te(d,{columns:r,data:a.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),GDe=Object.freeze(Object.defineProperty({__proto__:null,default:KDe},Symbol.toStringTag,{value:"Module"})),YDe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},XDe=H("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[H("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6S6 14.059 6 24s8.059 18 18 18m0 2c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"}),H("path",{d:"M34.67 16.259a1 1 0 0 1 .072 1.412L21.386 32.432l-8.076-7.709a1 1 0 0 1 1.38-1.446l6.59 6.29L33.259 16.33a1 1 0 0 1 1.413-.07"})],-1),ZDe=[XDe];function JDe(e,t){return ue(),ze("svg",YDe,[...ZDe])}const tk={name:"healthicons-yes-outline",render:JDe},QDe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},eLe=H("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.827 31.827 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),tLe=[eLe];function nLe(e,t){return ue(),ze("svg",QDe,[...tLe])}const oLe={name:"simple-line-icons-book-open",render:nLe},rLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},iLe=H("path",{fill:"currentColor",d:"M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8m-.615 12.66h-1.34l-3.24-4.54l1.341-1.25l2.569 2.4l5.141-5.931l1.34.94z"},null,-1),aLe=[iLe];function sLe(e,t){return ue(),ze("svg",rLe,[...aLe])}const lLe={name:"dashicons-yes-alt",render:sLe},cLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},uLe=H("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),dLe=[uLe];function fLe(e,t){return ue(),ze("svg",cLe,[...dLe])}const hLe={name:"dashicons-warning",render:fLe},pLe={class:"p-20"},mLe={class:"p-10 text-center"},gLe={key:1,class:"flex flex-wrap"},vLe={class:"w-100% md:flex-[2]"},bLe={key:2,class:"mt-10 text-22"},yLe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},xLe={class:"flex"},CLe={class:"flex-[1] text-#49505799"},wLe={class:"flex-[2]"},_Le={class:"flex"},SLe={class:"m-t-5 flex-[1] text-#49505799"},kLe={class:"flex-[2]"},TLe={class:"flex"},PLe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},RLe={class:"flex-[2]"},ELe={class:"flex"},$Le={class:"flex-[1] text-#49505799"},ALe={class:"flex-[2]"},ILe={key:0,class:"flex"},MLe={class:"flex-[1] text-#49505799"},zLe={class:"flex-[2]"},OLe={key:1,class:"flex"},DLe={class:"flex-[1] text-#49505799"},LLe={class:"flex-[2]"},FLe={key:2,class:"flex"},NLe={class:"flex-[1] text-#49505799"},BLe={class:"flex-[2]"},HLe={key:3,class:"flex"},jLe={class:"flex-[1] text-#49505799"},VLe={class:"flex-[2]"},ULe={key:4,class:"flex"},WLe={class:"flex-[1] text-#49505799"},qLe={class:"flex-[2]"},KLe={class:"flex"},GLe={class:"m-t-5 flex-[1] text-#49505799"},YLe={class:"flex-[2]"},XLe=["onClick"],ZLe={class:"flex-[1]"},JLe={class:"max-h-30 flex-[1]"},QLe=["src"],e9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},t9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},n9e={class:"text-18 font-600"},o9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},r9e={class:"flex-[2]"},i9e={class:"flex-[1] text-right color-#f8f9fa"},a9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},s9e={class:"color-#f8f9fa41"},l9e={class:"pt-16 text-right"},c9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},u9e={class:"color-#f8f9fa41"},d9e={class:"pt-16 text-right"},f9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},h9e={class:"color-#f8f9fa41"},p9e={class:"pt-16 text-right"},m9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},g9e={class:"color-#f8f9fa41"},v9e={class:"pt-16 text-right"},b9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},y9e={class:"color-#f8f9fa41"},x9e={class:"pt-16 text-right"},C9e={class:"pb-16 pt-16"},w9e={class:"color-#f8f9fa41"},_9e={class:"text-36 font-600"},S9e=me({__name:"detail",setup(e){const t=wn(),n=Ki(),o=$i(),r=_=>sn.global.t(_),i={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")};function a(_){switch(_){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function s(){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:_}=await wm(l.value);_===!0&&(window.$message.success(r("取消成功")),C())}})}const l=N(""),c=N(),u=N(),d=N(!0);async function f(){d.value=!0;const{data:_}=await wZ(l.value);c.value=_,_.status===0&&(g(),u.value=setInterval(w,1500)),d.value=!1}const p=N([]),h=N(0);async function g(){const{data:_}=await IZ();p.value=_}function b(){var R,E,M,A,q;return((R=c.value)==null?void 0:R.plan[c.value.period])-(((E=c.value)==null?void 0:E.balance_amount)||0)-(((M=c.value)==null?void 0:M.surplus_amount)||0)+(((A=c.value)==null?void 0:A.refund_amount)||0)-(((q=c.value)==null?void 0:q.discount_amount)||0)}function m(){const _=p.value[h.value];return _!=null&&_.handling_fee_percent?b()*parseFloat(_.handling_fee_percent)/100:b()&&(_==null?void 0:_.handling_fee_fixed)||0}async function y(){const _=p.value[h.value],{data:R,type:E}=await MZ(l.value,_==null?void 0:_.id);R&&(R===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{x()},500)):E===0?(k.value=!0,S.value=R):E===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=R},500)))}const k=N(!1),S=N("");async function w(){const{data:_}=await _Z(l.value);_&&(clearInterval(u.value),x())}async function x(){C(),n.getUserInfo()}async function C(){f()}return cn(()=>{l.value=o.params.trade_no,C()}),(_,R)=>{const E=vS,M=qi,A=Un,q=Zr,F=hl,z=Ua,D=hLe,Y=lLe,Q=oLe,ce=Et,le=tk,B=fo;return ue(),We(B,null,{default:re(()=>{var $,I,K,ne,ve,J,ye,j,ge,Ee,Ne,T,P,U,oe,G,se,xe,be,Ce,we,Re,de,ee,fe,Oe;return[te(q,{show:k.value,"onUpdate:show":R[0]||(R[0]=Le=>k.value=Le),onOnAfterLeave:R[1]||(R[1]=Le=>S.value="")},{default:re(()=>[te(A,{style:{width:"300px",padding:"0","max-width":"100%"},"content-style":"padding:0",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:re(()=>[H("div",pLe,[S.value?(ue(),We(E,{key:0,value:S.value,class:"pay-qrcode",size:"400"},null,8,["value"])):ut("",!0)]),te(M,{class:"m-0!"}),H("div",mLe,ie(_.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),d.value?(ue(),We(z,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(F,{height:"20px",width:"33%"}),te(F,{height:"20px",width:"66%"}),te(F,{height:"20px"})]),_:1})):(ue(),ze("div",gLe,[H("div",vLe,[(($=c.value)==null?void 0:$.status)!==0?(ue(),We(A,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:re(()=>{var Le,De,$e,Me,Fe,Be;return[((Le=c.value)==null?void 0:Le.status)===2?(ue(),We(D,{key:0,class:"text-90 color-#f9a314"})):ut("",!0),((De=c.value)==null?void 0:De.status)===3||(($e=c.value)==null?void 0:$e.status)==4?(ue(),We(Y,{key:1,class:"text-90 color-#48bc19"})):ut("",!0),(Me=c.value)!=null&&Me.status?(ue(),ze("div",bLe,ie(a(c.value.status).title),1)):ut("",!0),(Fe=c.value)!=null&&Fe.status?(ue(),ze("div",yLe,ie(a(c.value.status).subTitle),1)):ut("",!0),((Be=c.value)==null?void 0:Be.status)===3?(ue(),We(ce,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:R[2]||(R[2]=ot=>_.$router.push("/knowledge"))},{icon:re(()=>[te(Q)]),default:re(()=>[Je(" "+ie(_.$t("查看使用教程")),1)]),_:1})):ut("",!0)]}),_:1})):ut("",!0),te(A,{class:"mt-20 border-rounded-5",title:_.$t("商品信息")},{default:re(()=>{var Le,De,$e;return[H("div",xLe,[H("div",CLe,ie(_.$t("产品名称"))+":",1),H("div",wLe,ie((Le=c.value)==null?void 0:Le.plan.name),1)]),H("div",_Le,[H("div",SLe,ie(_.$t("类型/周期"))+":",1),H("div",kLe,ie((De=c.value)!=null&&De.period?i[c.value.period]:""),1)]),H("div",TLe,[H("div",PLe,ie(_.$t("产品流量"))+":",1),H("div",RLe,ie(($e=c.value)==null?void 0:$e.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),te(A,{class:"mt-20 border-rounded-5",title:_.$t("订单信息")},{"header-extra":re(()=>{var Le;return[((Le=c.value)==null?void 0:Le.status)===0?(ue(),We(ce,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:R[3]||(R[3]=De=>s())},{default:re(()=>[Je(ie(_.$t("关闭订单")),1)]),_:1})):ut("",!0)]}),default:re(()=>{var Le,De,$e,Me,Fe,Be,ot,xt,X,pe,Te;return[H("div",ELe,[H("div",$Le,ie(_.$t("订单号"))+":",1),H("div",ALe,ie((Le=c.value)==null?void 0:Le.trade_no),1)]),(De=c.value)!=null&&De.discount_amount&&(($e=c.value)==null?void 0:$e.discount_amount)>0?(ue(),ze("div",ILe,[H("div",MLe,ie(_.$t("优惠金额")),1),H("div",zLe,ie(he(an)(c.value.discount_amount)),1)])):ut("",!0),(Me=c.value)!=null&&Me.surplus_amount&&((Fe=c.value)==null?void 0:Fe.surplus_amount)>0?(ue(),ze("div",OLe,[H("div",DLe,ie(_.$t("旧订阅折抵金额")),1),H("div",LLe,ie(he(an)(c.value.surplus_amount)),1)])):ut("",!0),(Be=c.value)!=null&&Be.refund_amount&&((ot=c.value)==null?void 0:ot.refund_amount)>0?(ue(),ze("div",FLe,[H("div",NLe,ie(_.$t("退款金额")),1),H("div",BLe,ie(he(an)(c.value.refund_amount)),1)])):ut("",!0),(xt=c.value)!=null&&xt.balance_amount&&((X=c.value)==null?void 0:X.balance_amount)>0?(ue(),ze("div",HLe,[H("div",jLe,ie(_.$t("余额支付 ")),1),H("div",VLe,ie(he(an)(c.value.balance_amount)),1)])):ut("",!0),((pe=c.value)==null?void 0:pe.status)===0&&m()>0?(ue(),ze("div",ULe,[H("div",WLe,ie(_.$t("支付手续费"))+":",1),H("div",qLe,ie(he(an)(m())),1)])):ut("",!0),H("div",KLe,[H("div",GLe,ie(_.$t("创建时间"))+":",1),H("div",YLe,ie(he(jo)((Te=c.value)==null?void 0:Te.created_at)),1)])]}),_:1},8,["title"]),((I=c.value)==null?void 0:I.status)===0?(ue(),We(A,{key:1,title:_.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:re(()=>[(ue(!0),ze(it,null,Bn(p.value,(Le,De)=>(ue(),ze("div",{key:Le.id,class:ar(["border-2 border-rounded-5 p-20 border-solid flex",h.value===De?"border-#0665d0":"border-transparent"]),onClick:$e=>h.value=De},[H("div",ZLe,ie(Le.name),1),H("div",JLe,[H("img",{class:"h-full",src:Le.icon},null,8,QLe)])],10,XLe))),128))]),_:1},8,["title"])):ut("",!0)]),((K=c.value)==null?void 0:K.status)===0?(ue(),ze("div",e9e,[H("div",t9e,[H("div",n9e,ie(_.$t("订单总额")),1),H("div",o9e,[H("div",r9e,ie((ne=c.value)==null?void 0:ne.plan.name),1),H("div",i9e,ie((ve=he(t).appConfig)==null?void 0:ve.currency_symbol)+ie(((J=c.value)==null?void 0:J.period)&&he(an)((ye=c.value)==null?void 0:ye.plan[c.value.period])),1)]),(j=c.value)!=null&&j.surplus_amount&&((ge=c.value)==null?void 0:ge.surplus_amount)>0?(ue(),ze("div",a9e,[H("div",s9e,ie(_.$t("折抵")),1),H("div",l9e," - "+ie((Ee=he(t).appConfig)==null?void 0:Ee.currency_symbol)+ie(he(an)((Ne=c.value)==null?void 0:Ne.surplus_amount)),1)])):ut("",!0),(T=c.value)!=null&&T.discount_amount&&((P=c.value)==null?void 0:P.discount_amount)>0?(ue(),ze("div",c9e,[H("div",u9e,ie(_.$t("折扣")),1),H("div",d9e," - "+ie((U=he(t).appConfig)==null?void 0:U.currency_symbol)+ie(he(an)((oe=c.value)==null?void 0:oe.discount_amount)),1)])):ut("",!0),(G=c.value)!=null&&G.refund_amount&&((se=c.value)==null?void 0:se.refund_amount)>0?(ue(),ze("div",f9e,[H("div",h9e,ie(_.$t("退款")),1),H("div",p9e," - "+ie((xe=he(t).appConfig)==null?void 0:xe.currency_symbol)+ie(he(an)((be=c.value)==null?void 0:be.refund_amount)),1)])):ut("",!0),(Ce=c.value)!=null&&Ce.balance_amount&&((we=c.value)==null?void 0:we.balance_amount)>0?(ue(),ze("div",m9e,[H("div",g9e,ie(_.$t("余额支付")),1),H("div",v9e," - "+ie((Re=he(t).appConfig)==null?void 0:Re.currency_symbol)+ie(he(an)((de=c.value)==null?void 0:de.balance_amount)),1)])):ut("",!0),m()>0?(ue(),ze("div",b9e,[H("div",y9e,ie(_.$t("支付手续费")),1),H("div",x9e," + "+ie((ee=he(t).appConfig)==null?void 0:ee.currency_symbol)+ie(he(an)(m())),1)])):ut("",!0),H("div",C9e,[H("div",w9e,ie(_.$t("总计")),1),H("div",_9e,ie((fe=he(t).appConfig)==null?void 0:fe.currency_symbol)+" "+ie(he(an)(b()+m()))+" "+ie((Oe=he(t).appConfig)==null?void 0:Oe.currency),1)]),te(ce,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:R[4]||(R[4]=Le=>y())},{icon:re(()=>[te(le)]),default:re(()=>[Je(" "+ie(_.$t("结账")),1)]),_:1})])])):ut("",!0)]))]}),_:1})}}}),k9e=Object.freeze(Object.defineProperty({__proto__:null,default:S9e},Symbol.toStringTag,{value:"Module"})),T9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},P9e=H("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),R9e=H("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),E9e=H("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),$9e=[P9e,R9e,E9e];function A9e(e,t){return ue(),ze("svg",T9e,[...$9e])}const nk={name:"ei-close-o",render:A9e},I9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},M9e=H("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),z9e=H("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),O9e=[M9e,z9e];function D9e(e,t){return ue(),ze("svg",I9e,[...O9e])}const ok={name:"ei-check",render:D9e},L9e={class:"ml-auto mr-auto max-w-1200 w-100%"},F9e={class:"m-3 mb-4 mt-4 text-30 font-400"},N9e={class:"card-container m-t-10 md:m-t-40"},B9e=["onClick"],H9e={class:"vertical-bottom"},j9e={class:"text-30 font-600"},V9e={class:"p-l-5 text-16 text-gray"},U9e={key:0},W9e=["innerHTML"],q9e=me({__name:"index",setup(e){const t=wn(),n=d=>sn.global.t(d),o=new Gu({html:!0}),r=d=>o.render(d),i=N(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=N([]),l=N([]);ht([l,i],d=>{s.value=d[0].filter(f=>{if(d[1]===0)return 1;if(d[1]===1)return!((f.onetime_price||0)>0);if(d[1]===2)return(f.onetime_price||0)>0})});async function c(){const{data:d}=await CZ();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}cn(()=>{c()});function u(d){return d.onetime_price!==null?{price:d.onetime_price/100,cycle:n("一次性")}:d.month_price!==null?{price:d.month_price/100,cycle:n("月付")}:d.quarter_price!==null?{price:d.quarter_price/100,cycle:n("季付")}:d.half_year_price!==null?{price:d.half_year_price/100,cycle:n("半年付")}:d.year_price!==null?{price:d.year_price/100,cycle:n("年付")}:d.two_year_price!==null?{price:d.two_year_price/100,cycle:n("两年付")}:d.three_year_price!==null?{price:d.three_year_price/100,cycle:n("三年付")}:{price:0,cycle:n("错误")}}return(d,f)=>{const p=dU,h=y2,g=ok,b=nk,m=pr,y=Et,k=Un,S=fo;return ue(),We(S,null,{default:re(()=>[H("div",L9e,[H("h2",F9e,ie(d.$t("选择最适合你的计划")),1),te(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=w=>i.value=w),name:"plan_select",class:""},{default:re(()=>[(ue(),ze(it,null,Bn(a,w=>te(p,{key:w.value,value:w.value,label:w.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),H("section",N9e,[(ue(!0),ze(it,null,Bn(s.value,w=>(ue(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:w.id,onClick:x=>d.$router.push("/plan/"+w.id)},[te(k,{title:w.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":re(()=>{var x;return[H("div",H9e,[H("span",j9e,ie((x=he(t).appConfig)==null?void 0:x.currency_symbol)+" "+ie(w.price),1),H("span",V9e," /"+ie(w.cycle),1)])]}),action:re(()=>[te(y,{strong:"",secondary:"",type:"primary"},{default:re(()=>[Je(ie(d.$t("立即订阅")),1)]),_:1})]),default:re(()=>[he(Ox)(w.content)?(ue(),ze("div",U9e,[(ue(!0),ze(it,null,Bn(JSON.parse(w.content),(x,C)=>(ue(),ze("div",{key:C,class:ar(["vertical-center flex items-center",x.support?"":"opacity-30"])},[te(m,{size:"30",class:"flex items-center text-[--primary-color]"},{default:re(()=>[x.support?(ue(),We(g,{key:0})):(ue(),We(b,{key:1}))]),_:2},1024),H("div",null,ie(x.feature),1)],2))),128))])):(ue(),ze("div",{key:1,innerHTML:r(w.content||""),class:"markdown-body"},null,8,W9e))]),_:2},1032,["title"])],8,B9e))),128))])])]),_:1})}}}),K9e=Fu(q9e,[["__scopeId","data-v-79fa0f66"]]),G9e=Object.freeze(Object.defineProperty({__proto__:null,default:K9e},Symbol.toStringTag,{value:"Module"})),Y9e={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},X9e=H("path",{fill:"currentColor",d:"M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64h448c35.3 0 64-28.7 64-64v-64c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6v-64c0-35.3-28.7-64-64-64zm64 112v160c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16m-32-16c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32z"},null,-1),Z9e=[X9e];function J9e(e,t){return ue(),ze("svg",Y9e,[...Z9e])}const Q9e={name:"fa6-solid-ticket",render:J9e},eFe={key:1,class:"flex flex-wrap"},tFe={class:"w-100% md:max-w-2/3"},nFe={key:0},oFe=["innerHTML"],rFe=["onClick"],iFe={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},aFe={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},sFe={class:"flex items-center"},lFe=["placeholder"],cFe={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},uFe={class:"text-18 font-600"},dFe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},fFe={class:"flex-[2]"},hFe={class:"flex-[1] text-right color-#f8f9fa"},pFe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},mFe={class:"color-#f8f9fa"},gFe={class:"flex pb-16 pt-16"},vFe={class:"flex-[2]"},bFe={class:"flex-[1] text-right color-#f8f9fa"},yFe={class:"pb-16 pt-16"},xFe={class:"color-#f8f9fa"},CFe={class:"text-36 font-600"},wFe=me({__name:"detail",setup(e){const t=wn(),n=$i(),o=Ki(),r=E=>sn.global.t(E),i=new Gu({html:!0}),a=E=>i.render(E),s={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")},l=N(0),c=N([]);async function u(){const E=k.value;c.value=[];for(const M in E)M in s&&E[M]!==null&&c.value.push({name:s[M],key:M})}const d=N(""),f=N(!1),p=N();async function h(){f.value=!0;const{data:E}=await OZ(d.value,R.value);E&&(p.value=E),f.value=!1}function g(){if(!p.value||!k.value||mC(l.value))return 0;const{type:E,value:M}=p.value,A=c.value[l.value].key;return E===1?M:M*k.value[A]/100}const b=N(!1);async function m(){var M;const E=(M=x.value)==null?void 0:M.find(A=>A.status===0);if(E){const A=E.trade_no;window.$dialog.confirm({title:r("注意"),type:"warning",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){wm(A).then(({data:q})=>{q&&y()})},cancel(){on.push("/order")}});return}if(o.plan_id&&o.plan_id!=R.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){y()}});return}y()}async function y(){var A;b.value=!0;const E=c.value[l.value].key,{data:M}=await ES(R.value,E,(A=p.value)==null?void 0:A.code);M&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{on.push("/order/"+M)},500)),b.value=!1}const k=N(),S=N(!0);async function w(){S.value=!0;const{data:E}=await zZ(R.value);k.value=E,u(),S.value=!1}const x=N();async function C(){const{data:E}=await RS();x.value=E}function _(){w(),C()}const R=N();return cn(()=>{R.value=n.params.plan_id,_()}),(E,M)=>{const A=hl,q=Ua,F=ok,z=nk,D=pr,Y=Un,Q=qi,ce=Q9e,le=Et,B=tk,$=fo;return ue(),We($,null,{default:re(()=>{var I,K,ne,ve,J,ye,j,ge;return[S.value?(ue(),We(q,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(A,{height:"20px",width:"33%"}),te(A,{height:"20px",width:"66%"}),te(A,{height:"20px"})]),_:1})):(ue(),ze("div",eFe,[H("div",tFe,[te(Y,{title:(I=k.value)==null?void 0:I.name,class:"m-auto max-w-100% border-rounded-5"},{default:re(()=>{var Ee,Ne,T;return[he(Ox)(((Ee=k.value)==null?void 0:Ee.content)||"")?(ue(),ze("div",nFe,[(ue(!0),ze(it,null,Bn(JSON.parse(((Ne=k.value)==null?void 0:Ne.content)||""),(P,U)=>(ue(),ze("div",{key:U,class:ar(["vertical-center flex items-center",P.support?"":"opacity-30"])},[te(D,{size:"30",class:"flex items-center text-[--primary-color]"},{default:re(()=>[P.support?(ue(),We(F,{key:0})):(ue(),We(z,{key:1}))]),_:2},1024),H("div",null,ie(P.feature),1)],2))),128))])):(ue(),ze("div",{key:1,innerHTML:a(((T=k.value)==null?void 0:T.content)||""),class:"markdown-body"},null,8,oFe))]}),_:1},8,["title"]),te(Y,{title:E.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:re(()=>[(ue(!0),ze(it,null,Bn(c.value,(Ee,Ne)=>{var T,P;return ue(),ze("div",{key:Ee.key},[H("div",{class:ar(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Ne===l.value?"border-#0665d0":"border-transparent"]),onClick:U=>l.value=Ne},[H("div",null,ie(Ee.name),1),H("div",null,ie((T=he(t).appConfig)==null?void 0:T.currency_symbol)+" "+ie(he(an)((P=k.value)==null?void 0:P[c.value[Ne].key])),1)],10,rFe),te(Q,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),H("div",iFe,[H("div",aFe,[H("div",sFe,[Cn(H("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":M[0]||(M[0]=Ee=>d.value=Ee),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,lFe),[[n5,d.value]]),te(le,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:M[1]||(M[1]=Ee=>h())},{icon:re(()=>[te(ce)]),default:re(()=>[Je(" "+ie(E.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),H("div",cFe,[H("div",uFe,ie(E.$t("订单总额")),1),H("div",dFe,[H("div",fFe,ie((K=k.value)==null?void 0:K.name),1),H("div",hFe,ie((ne=he(t).appConfig)==null?void 0:ne.currency_symbol)+" "+ie(he(an)((ve=k.value)==null?void 0:ve[c.value[l.value].key])),1)]),p.value?(ue(),ze("div",pFe,[H("div",mFe,ie(E.$t("折扣")),1),H("div",gFe,[H("div",vFe,ie((J=p.value)==null?void 0:J.name),1),H("div",bFe," - "+ie(he(an)(g())),1)])])):ut("",!0),H("div",yFe,[H("div",xFe,ie(E.$t("总计")),1),H("div",CFe,ie((ye=he(t).appConfig)==null?void 0:ye.currency_symbol)+" "+ie(he(an)(((j=k.value)==null?void 0:j[c.value[l.value].key])-g()))+" "+ie((ge=he(t).appConfig)==null?void 0:ge.currency),1)]),te(le,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:b.value,disabled:b.value,onClick:M[2]||(M[2]=Ee=>m())},{icon:re(()=>[te(B)]),default:re(()=>[Je(" "+ie(E.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),_Fe=Object.freeze(Object.defineProperty({__proto__:null,default:wFe},Symbol.toStringTag,{value:"Module"})),SFe={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},kFe=H("path",{fill:"currentColor",d:"M216 72H56a8 8 0 0 1 0-16h136a8 8 0 0 0 0-16H56a24 24 0 0 0-24 24v128a24 24 0 0 0 24 24h160a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),TFe=[kFe];function PFe(e,t){return ue(),ze("svg",SFe,[...TFe])}const RFe={name:"ph-wallet-fill",render:PFe},EFe={class:"text-50 font-400"},$Fe={class:"m-l-20 text-20 text-#6c757d"},AFe={class:"text-#6c757d"},IFe={class:"mt-10 max-w-500"},MFe={class:"mt-10 max-w-500"},zFe={class:"mt-10 max-w-500"},OFe={class:"mt-10 max-w-500"},DFe={class:"mb-5"},LFe={class:"mt-10 max-w-500"},FFe={class:"mb-5"},NFe={class:"m-0 pb-10 pt-10 text-20"},BFe={class:"mt-20"},HFe=["href"],jFe={class:"mt-20"},VFe={class:"m-0 pb-10 pt-10 text-20"},UFe={class:"mt-20"},WFe={class:"flex justify-end"},qFe=me({__name:"index",setup(e){const t=Ki(),n=wn(),o=k=>sn.global.t(k),r=N(""),i=N(""),a=N(""),s=N(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:k}=await EZ(r.value,i.value);k===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=N(!1),u=N(!1);async function d(k){if(k==="expire"){const{data:S}=await Q0({remind_expire:c.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(k==="traffic"){const{data:S}=await Q0({remind_traffic:u.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=N(),p=N(!1);async function h(){const{data:k}=await VZ();k&&(f.value=k)}function g(k){window.location.href=k}const b=N(!1);async function m(){const{data:k}=await $Z();k&&window.$message.success(o("重置成功"))}async function y(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return cn(()=>{y()}),(k,S)=>{const w=RFe,x=Un,C=_o,_=Et,R=yX,E=cl,M=qi,A=pX,q=Zr,F=fo;return ue(),We(F,null,{default:re(()=>{var z,D,Y,Q;return[te(x,{title:k.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":re(()=>[te(w,{class:"text-40 color-gray"})]),default:re(()=>{var ce;return[H("div",null,[H("span",EFe,ie(he(an)(he(t).balance)),1),H("span",$Fe,ie((ce=he(n).appConfig)==null?void 0:ce.currency),1)]),H("div",AFe,ie(k.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),te(x,{title:k.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:re(()=>[H("div",IFe,[H("label",null,ie(k.$t("旧密码")),1),te(C,{type:"password",value:r.value,"onUpdate:value":S[0]||(S[0]=ce=>r.value=ce),placeholder:k.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",MFe,[H("label",null,ie(k.$t("新密码")),1),te(C,{type:"password",value:i.value,"onUpdate:value":S[1]||(S[1]=ce=>i.value=ce),placeholder:k.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",zFe,[H("label",null,ie(k.$t("新密码")),1),te(C,{type:"password",value:a.value,"onUpdate:value":S[2]||(S[2]=ce=>a.value=ce),placeholder:k.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),te(_,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:re(()=>[Je(ie(k.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),te(x,{title:k.$t("通知"),class:"mt-20 border-rounded-5"},{default:re(()=>[H("div",OFe,[H("div",DFe,ie(k.$t("到期邮件提醒")),1),te(R,{value:c.value,"onUpdate:value":[S[3]||(S[3]=ce=>c.value=ce),S[4]||(S[4]=ce=>d("expire"))]},null,8,["value"])]),H("div",LFe,[H("div",FFe,ie(k.$t("流量邮件提醒")),1),te(R,{value:u.value,"onUpdate:value":[S[5]||(S[5]=ce=>u.value=ce),S[6]||(S[6]=ce=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(D=(z=he(n))==null?void 0:z.appConfig)!=null&&D.is_telegram?(ue(),We(x,{key:0,title:k.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":re(()=>[te(_,{type:"primary",round:"",disabled:he(t).userInfo.telegram_id,onClick:S[7]||(S[7]=ce=>(p.value=!0,h(),he(t).getUserSubscribe()))},{default:re(()=>[Je(ie(he(t).userInfo.telegram_id?k.$t("已绑定"):k.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):ut("",!0),(Q=(Y=he(n))==null?void 0:Y.appConfig)!=null&&Q.telegram_discuss_link?(ue(),We(x,{key:1,title:k.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":re(()=>[te(_,{type:"primary",round:"",onClick:S[8]||(S[8]=ce=>{var le,B;return g((B=(le=he(n))==null?void 0:le.appConfig)==null?void 0:B.telegram_discuss_link)})},{default:re(()=>[Je(ie(k.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):ut("",!0),te(x,{title:k.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:re(()=>[te(E,{type:"warning"},{default:re(()=>[Je(ie(k.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),te(_,{type:"error",size:"small",class:"mt-10",onClick:S[9]||(S[9]=ce=>b.value=!0)},{default:re(()=>[Je(ie(k.$t("重置")),1)]),_:1})]),_:1},8,["title"]),te(q,{title:k.$t("绑定Telegram"),preset:"card",show:p.value,"onUpdate:show":S[12]||(S[12]=ce=>p.value=ce),style:{width:"520px"},footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:re(()=>[H("div",WFe,[te(_,{type:"primary",onClick:S[11]||(S[11]=ce=>p.value=!1)},{default:re(()=>[Je(ie(k.$t("我知道了")),1)]),_:1})])]),default:re(()=>{var ce,le,B;return[f.value&&he(t).subscribe?(ue(),ze(it,{key:0},[H("div",null,[H("h2",NFe,ie(k.$t("第一步")),1),te(M,{class:"m-0!"}),H("div",BFe,[Je(ie(k.$t("打开Telegram搜索"))+" ",1),H("a",{href:"https://t.me/"+((ce=f.value)==null?void 0:ce.username)},"@"+ie((le=f.value)==null?void 0:le.username),9,HFe)])]),H("div",jFe,[H("h2",VFe,ie(k.$t("第二步")),1),te(M,{class:"m-0!"}),H("div",UFe,ie(k.$t("向机器人发送你的")),1),H("code",{class:"cursor-pointer",onClick:S[10]||(S[10]=$=>{var I;return he(ua)("/bind "+((I=he(t).subscribe)==null?void 0:I.subscribe_url))})},"/bind "+ie((B=he(t).subscribe)==null?void 0:B.subscribe_url),1)])],64)):(ue(),We(A,{key:1,size:"large"}))]}),_:1},8,["title","show"]),te(q,{show:b.value,"onUpdate:show":S[13]||(S[13]=ce=>b.value=ce),preset:"dialog",title:k.$t("确定要重置订阅信息?"),content:k.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":k.$t("确认"),"negative-text":k.$t("取消"),onPositiveClick:m},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),KFe=Object.freeze(Object.defineProperty({__proto__:null,default:qFe},Symbol.toStringTag,{value:"Module"})),GFe={class:"flex justify-end"},YFe=me({__name:"index",setup(e){const t=p=>sn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:"#",key:"id"},{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=v("div",{class:["h-6 w-6 rounded-full mr-5",p.status===1?"bg-green-500":p.reply_status===0?"bg-blue-500":"bg-red-500"]}),g=p.status===1?t("已关闭"):p.reply_status===0?t("已回复"):t("待回复");return v("div",{class:"flex items-center"},[h,g])}},{title:t("创建时间"),key:"created_at",render(p){return jo(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return jo(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=v(Et,{text:!0,type:"primary",onClick:()=>on.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),g=v(Et,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),b=v(qi,{vertical:!0});return v("div",[h,b,g])}}],r=N(!1),i=N(""),a=N(),s=N("");async function l(){const{data:p}=await LZ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await FZ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=N([]);async function d(){const{data:p}=await DZ();u.value=p}function f(){d()}return cn(()=>{f()}),(p,h)=>{const g=_o,b=Eu,m=Ua,y=Un,k=Zr,S=Mu,w=fo;return ue(),We(w,null,{default:re(()=>[te(y,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":re(()=>[te(he(Et),{type:"primary",round:"",onClick:h[0]||(h[0]=x=>r.value=!0)},{default:re(()=>[Je(ie(p.$t("新的工单")),1)]),_:1}),te(k,{show:r.value,"onUpdate:show":h[7]||(h[7]=x=>r.value=x)},{default:re(()=>[te(y,{title:p.$t("新的工单"),class:"max-w-100% w-600",segmented:{content:!0,footer:!0},closable:"",onClose:h[6]||(h[6]=x=>r.value=!1)},{footer:re(()=>[H("div",GFe,[te(m,null,{default:re(()=>[te(he(Et),{onClick:h[4]||(h[4]=x=>r.value=!1)},{default:re(()=>[Je(ie(p.$t("取消")),1)]),_:1}),te(he(Et),{type:"primary",onClick:h[5]||(h[5]=x=>l())},{default:re(()=>[Je(ie(p.$t("确认")),1)]),_:1})]),_:1})])]),default:re(()=>[H("div",null,[H("label",null,ie(p.$t("主题")),1),te(g,{value:i.value,"onUpdate:value":h[1]||(h[1]=x=>i.value=x),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ie(p.$t("工单级别")),1),te(b,{value:a.value,"onUpdate:value":h[2]||(h[2]=x=>a.value=x),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ie(p.$t("消息")),1),te(g,{value:s.value,"onUpdate:value":h[3]||(h[3]=x=>s.value=x),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"])]),default:re(()=>[te(S,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),XFe=Object.freeze(Object.defineProperty({__proto__:null,default:YFe},Symbol.toStringTag,{value:"Module"})),ZFe={class:"relative",style:{height:"calc(100% - 70px)"}},JFe={class:"mb-8 mt-8 text-14 text-gray"},QFe={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},e7e=me({__name:"detail",setup(e){const t=$i(),n=p=>sn.global.t(p),o=N("");async function r(){const{data:p}=await BZ(i.value,o.value);p===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=N(),a=N();async function s(){const{data:p}=await NZ(i.value);p&&(a.value=p)}const l=N(null),c=N(null),u=async()=>{const p=l.value,h=c.value;p&&h&&p.scrollBy({top:h.scrollHeight,behavior:"auto"})},d=N();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return cn(()=>{i.value=t.params.ticket_id,f()}),(p,h)=>{const g=iX,b=_o,m=Et,y=Pu,k=Un,S=fo;return ue(),We(S,null,{default:re(()=>{var w;return[te(k,{title:(w=a.value)==null?void 0:w.subject,class:"h-full overflow-hidden"},{default:re(()=>[H("div",ZFe,[te(g,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:re(()=>{var x;return[H("div",{ref_key:"scrollContainerRef",ref:c},[(ue(!0),ze(it,null,Bn((x=a.value)==null?void 0:x.message,C=>(ue(),ze("div",{key:C.id,class:ar([C.is_me?"text-right":"text-left"])},[H("div",JFe,ie(he(jo)(C.created_at)),1),H("div",QFe,ie(C.message),1)],2))),128))],512)]}),_:1},512)]),te(y,{size:"large",class:"mt-30"},{default:re(()=>[te(b,{type:"text",size:"large",placeholder:p.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":h[0]||(h[0]=x=>o.value=x),onKeyup:h[1]||(h[1]=ba(x=>r(),["enter"]))},null,8,["placeholder","value"]),te(m,{type:"primary",size:"large",onClick:h[2]||(h[2]=x=>r())},{default:re(()=>[Je(ie(p.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),t7e=Object.freeze(Object.defineProperty({__proto__:null,default:e7e},Symbol.toStringTag,{value:"Module"})),n7e=me({__name:"index",setup(e){const t=i=>sn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return bp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return ys(i.u)}},{title:t("实际下行"),key:"d",render(i){return ys(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return v(yi,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=v(Au,{placement:"bottom",trigger:"hover"},{trigger:()=>v(Ks("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return v("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return ys((i.d+i.u)*parseFloat(i.server_rate))}}],o=N([]);async function r(){const{data:i}=await AZ();o.value=i}return cn(()=>{r()}),(i,a)=>{const s=cl,l=Mu,c=Un,u=fo;return ue(),We(u,null,{default:re(()=>[te(c,{class:"border-rounded-5"},{default:re(()=>[te(s,{type:"info",bordered:!1,class:"mb-20"},{default:re(()=>[Je(ie(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),te(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),o7e=Object.freeze(Object.defineProperty({__proto__:null,default:n7e},Symbol.toStringTag,{value:"Module"})),r7e={name:"NOTFOUND"},i7e={"h-full":"",flex:""};function a7e(e,t,n,o,r,i){const a=Et,s=nX;return ue(),ze("div",i7e,[te(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:re(()=>[te(a,null,{default:re(()=>[Je("Find some fun")]),_:1})]),_:1})])}const s7e=Fu(r7e,[["render",a7e]]),l7e=Object.freeze(Object.defineProperty({__proto__:null,default:s7e},Symbol.toStringTag,{value:"Module"})),c7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},u7e=H("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[H("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),H("path",{d:"M13 2.05S16 6 16 12c0 6-3 9.95-3 9.95m-2 0S8 18 8 12c0-6 3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),d7e=[u7e];function f7e(e,t){return ue(),ze("svg",c7e,[...d7e])}const Mm={name:"iconoir-language",render:f7e},h7e={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},p7e=H("path",{fill:"currentColor",d:"M26 30H14a2 2 0 0 1-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2"},null,-1),m7e=H("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),g7e=[p7e,m7e];function v7e(e,t){return ue(),ze("svg",h7e,[...g7e])}const b7e={name:"carbon-login",render:v7e},y7e=e=>wt({url:"/passport/auth/login",method:"post",data:e}),x7e=e=>wt.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),C7e=e=>wt({url:"/passport/auth/register",method:"post",data:e});function rk(){return wt.get("/guest/comm/config")}function ik(e,t){return wt.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function w7e(e,t,n){return wt.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const _7e={class:"p-24"},S7e={key:0,class:"text-center"},k7e=["src"],T7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},P7e={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},R7e={"mt-20":"","w-full":""},E7e={"mt-20":"","w-full":""},$7e={"mt-20":"","w-full":""},A7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},I7e=me({__name:"login",setup(e){const t=wn(),n=nu(),o=l=>sn.global.t(l),r=N({email:"",password:""});i();function i(){const l=Ai.get("loginInfo");l.value&&(r.value.email=l.value.email||"",r.value.password=l.value.password||"")}const a=N(!1);async function s(){const{email:l,password:c}=r.value;if(!l||!c){window.$message.warning(o("请输入用户名和密码"));return}a.value=!0;const{data:u}=await y7e({email:l,password:c.toString()});a.value=!1,u!=null&&u.auth_data&&(window.$message.success(o("登录成功")),J0(u==null?void 0:u.auth_data),n.push("/"))}return Lt(async()=>{const l=$i(),c=l.query.verify,u=l.query.redirect;if(c&&u){const{data:d}=await x7e({verify:c.toString(),redirect:u.toString()});d!=null&&d.auth_data&&(window.$message.success(o("登录成功")),J0(d==null?void 0:d.auth_data),n.push(u.toString()))}}),(l,c)=>{const u=_o,d=b7e,f=Et,p=Ia("router-link"),h=qi,g=Mm,b=dl,m=Un;return ue(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(t).background_url&&`background:url(${he(t).background_url}) no-repeat center center / cover;`)},[te(m,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>[H("div",_7e,[he(t).logo?(ue(),ze("div",S7e,[H("img",{src:he(t).logo,class:"mb-1em max-w-100%"},null,8,k7e)])):(ue(),ze("h1",T7e,ie(he(t).title),1)),H("h5",P7e,ie(he(t).description||" "),1),H("div",R7e,[te(u,{value:r.value.email,"onUpdate:value":c[0]||(c[0]=y=>r.value.email=y),autofocus:"",placeholder:l.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),H("div",E7e,[te(u,{value:r.value.password,"onUpdate:value":c[1]||(c[1]=y=>r.value.password=y),class:"",type:"password","show-password-on":"click",placeholder:l.$t("密码"),maxlength:40,onKeydown:ba(s,["enter"])},null,8,["value","placeholder"])]),H("div",$7e,[te(f,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:s,loading:a.value,disabled:a.value},{icon:re(()=>[te(d)]),default:re(()=>[Je(" "+ie(l.$t("登入")),1)]),_:1},8,["loading","disabled"])])]),H("div",A7e,[H("div",null,[te(p,{to:"/register",class:"text-#6c757d"},{default:re(()=>[Je(ie(l.$t("注册")),1)]),_:1}),te(h,{vertical:""}),te(p,{to:"/forgetpassword",class:"text-#6c757d"},{default:re(()=>[Je(ie(l.$t("忘记密码")),1)]),_:1})]),H("div",null,[te(b,{value:he(t).lang,"onUpdate:value":c[2]||(c[2]=y=>he(t).lang=y),options:Object.entries(he(xi)).map(([y,k])=>({label:k,value:y})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(f,{text:"","icon-placement":"left"},{icon:re(()=>[te(g)]),default:re(()=>[Je(" "+ie(he(xi)[he(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),M7e=Object.freeze(Object.defineProperty({__proto__:null,default:I7e},Symbol.toStringTag,{value:"Module"})),z7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},O7e=H("path",{fill:"currentColor",d:"M9 9.5c0 .8-.7 1.5-1.5 1.5S6 10.3 6 9.5S6.7 8 7.5 8S9 8.7 9 9.5m7 0c0 .8-.7 1.5-1.5 1.5S13 10.3 13 9.5S13.7 8 14.5 8s1.5.7 1.5 1.5m-2 4.62L11.88 12l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06L14 16.24l-1.06-1.06zM16.85 13a2.05 2.05 0 0 0-2.05 2.05c0 .57.23 1.07.6 1.45l3.5 3.5l3.5-3.5c.37-.37.6-.89.6-1.45A2.05 2.05 0 0 0 20.95 13c-.55 0-1.08.23-1.45.6l-.6.6l-.6-.59c-.37-.38-.9-.61-1.45-.61M15 18.92A7.979 7.979 0 0 1 11 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8c4.26 0 7.73 3.33 8 7.5c.58-.31 1.26-.5 1.95-.5c-.5-5.05-4.77-9-9.95-9A10 10 0 0 0 1 12a10 10 0 0 0 10 10c2 0 3.88-.6 5.45-1.62z"},null,-1),D7e=[O7e];function L7e(e,t){return ue(),ze("svg",z7e,[...D7e])}const F7e={name:"mdi-emoticon-kiss-outline",render:L7e},ak=me({__name:"vueRecaptcha",props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"light"},hl:{type:String,required:!1},loadingTimeout:{type:Number,required:!1,default:0}},emits:{verify:e=>e!=null&&e!="",error:e=>e,expire:null,fail:null},setup(e,{expose:t,emit:n}){const o=e,r=N(null);let i=null;t({execute:function(){window.grecaptcha.execute(i)},reset:function(){window.grecaptcha.reset(i)}});function a(){i=window.grecaptcha.render(r.value,{sitekey:o.sitekey,theme:o.theme,size:o.size,callback:s=>n("verify",s),"expired-callback":()=>n("expire"),"error-callback":()=>n("fail")})}return Lt(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=g=>()=>{var b;u||(u=!0,clearTimeout(c),(b=document.getElementById(d))==null||b.remove(),l(g))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const p=window.document,h=p.createElement("script");h.id=d,h.onerror=f("error"),h.onabort=f("aborted"),h.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),p.head.appendChild(h)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(ue(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),N7e={class:"p-24"},B7e={key:0,class:"text-center"},H7e=["src"],j7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},V7e={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},U7e={"mt-20":"","w-full":""},W7e={key:2,"mt-20":"","w-full":""},q7e={"mt-20":"","w-full":""},K7e={"mt-20":"","w-full":""},G7e={"mt-20":"","w-full":""},Y7e={key:3,"mt-20":"","w-full":""},X7e=["innerHTML"],Z7e={"mt-20":"","w-full":""},J7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},Q7e=me({__name:"register",setup(e){const t=$i(),n=wn(),o=nu(),r=C=>sn.global.t(C),i=N({email:"",password:"",confirm_password:"",invite_code:"",lock_invite_code:!1,suffix:"",email_code:""}),a=N(!0),s=L(()=>{var _;const C=(_=w.value)==null?void 0:_.tos_url;return"
"+sn.global.tc('我已阅读并同意 服务条款',{url:C})+"
"}),l=N(),c=N(),u=N(!1),d=N();function f(C){l.value=C,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(S(),d.value=""):d.value==="sendEmailVerify"&&(y(),d.value="")},500)}function p(){c.value&&c.value.reset()}function h(){c.value&&c.value.reset()}function g(){c.value&&c.value.reset&&c.value.reset()}const b=N(!1),m=N(0);async function y(){var R,E;if(i.value.email===""){window.$message.error(r("请输入邮箱地址"));return}if(b.value=!0,m.value>0){window.$message.warning(sn.global.tc("{second}秒后可重新发送",{second:m.value}));return}if((R=w.value)!=null&&R.is_recaptcha&&((E=w.value)!=null&&E.recaptcha_site_key)&&!l.value){u.value=!0,b.value=!1,d.value="sendEmailVerify";return}const C=i.value.suffix?`${i.value.email}${i.value.suffix}`:i.value.email,{data:_}=await ik(C,l.value);if(_===!0){window.$message.success(r("发送成功")),m.value=60;const M=setInterval(()=>{m.value--,m.value===0&&clearInterval(M)},1e3);l.value=""}b.value=!1}const k=N(!1);async function S(){var q,F;if(i.value.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:C,confirm_password:_,invite_code:R,email_code:E}=i.value,M=i.value.suffix?`${i.value.email}${i.value.suffix}`:i.value.email;if(!M||!C){window.$message.warning(r("请输入账号密码"));return}if(C!==_){window.$message.warning(r("请确保两次密码输入一致"));return}if((q=w.value)!=null&&q.is_recaptcha&&((F=w.value)!=null&&F.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}k.value=!0;const{data:A}=await C7e({email:M,password:C.toString(),invite_code:R,email_code:E,recaptcha_data:l.value});k.value=!1,A.auth_data&&(window.$message.success(r("注册成功")),PR(A.auth_data),o.push("/"))}const w=N();async function x(){var _,R;const{data:C}=await rk();C&&(w.value=C,zv(C.email_whitelist_suffix)&&(i.value.suffix=(_=C.email_whitelist_suffix)!=null&&_[0]?"@"+((R=C.email_whitelist_suffix)==null?void 0:R[0]):""),C.tos_url&&(a.value=!1))}return cn(()=>{t.query.code&&(i.value.lock_invite_code=!0,i.value.invite_code=t.query.code),x()}),(C,_)=>{const R=Zr,E=_o,M=Eu,A=Pu,q=Et,F=ul,z=F7e,D=Ia("router-link"),Y=Mm,Q=dl,ce=Un;return ue(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(n).background_url&&`background:url(${he(n).background_url}) no-repeat center center / cover;`)},[te(R,{show:u.value,"onUpdate:show":_[0]||(_[0]=le=>u.value=le)},{default:re(()=>{var le,B,$;return[(le=w.value)!=null&&le.is_recaptcha&&((B=w.value)!=null&&B.recaptcha_site_key)?Cn((ue(),We(he(ak),{key:0,sitekey:($=w.value)==null?void 0:$.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:p,onFail:h,onError:g,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])),[[Jn,u.value]]):ut("",!0)]}),_:1},8,["show"]),te(ce,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>{var le,B,$;return[H("div",N7e,[he(n).logo?(ue(),ze("div",B7e,[H("img",{src:he(n).logo,class:"mb-1em max-w-100%"},null,8,H7e)])):(ue(),ze("h1",j7e,ie(he(n).title),1)),H("h5",V7e,ie(he(n).description||" "),1),H("div",U7e,[te(A,{class:"flex"},{default:re(()=>{var I,K,ne;return[te(E,{value:i.value.email,"onUpdate:value":_[1]||(_[1]=ve=>i.value.email=ve),autofocus:"",class:"flex-[2] pl-5",placeholder:C.$t("邮箱"),maxlength:80},null,8,["value","placeholder"]),he(zv)((I=w.value)==null?void 0:I.email_whitelist_suffix)?(ue(),We(M,{key:0,value:i.value.suffix,"onUpdate:value":_[2]||(_[2]=ve=>i.value.suffix=ve),options:((ne=(K=w.value)==null?void 0:K.email_whitelist_suffix)==null?void 0:ne.map(ve=>({value:`@${ve}`,label:`@${ve}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):ut("",!0)]}),_:1})]),(le=w.value)!=null&&le.is_email_verify?(ue(),ze("div",W7e,[te(A,{class:"flex"},{default:re(()=>[te(E,{value:i.value.email_code,"onUpdate:value":_[3]||(_[3]=I=>i.value.email_code=I),placeholder:C.$t("邮箱验证码"),class:"pl-5"},null,8,["value","placeholder"]),te(q,{type:"primary",onClick:_[4]||(_[4]=I=>y()),loading:b.value,disabled:b.value||m.value>0},{default:re(()=>[Je(ie(m.value||C.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})])):ut("",!0),H("div",q7e,[te(E,{value:i.value.password,"onUpdate:value":_[5]||(_[5]=I=>i.value.password=I),class:"pl-5",type:"password","show-password-on":"click",placeholder:C.$t("密码"),maxlength:40,onKeydown:ba(S,["enter"])},null,8,["value","placeholder"])]),H("div",K7e,[te(E,{value:i.value.confirm_password,"onUpdate:value":_[6]||(_[6]=I=>i.value.confirm_password=I),class:"pl-5",type:"password","show-password-on":"click",placeholder:C.$t("再次输入密码"),maxlength:40,onKeydown:ba(S,["enter"])},null,8,["value","placeholder"])]),H("div",G7e,[te(E,{value:i.value.invite_code,"onUpdate:value":_[7]||(_[7]=I=>i.value.invite_code=I),class:"pl-5",placeholder:[C.$t("邀请码"),(B=w.value)!=null&&B.is_invite_force?`(${C.$t("必填")})`:`(${C.$t("选填")})`],maxlength:20,disabled:i.value.lock_invite_code},null,8,["value","placeholder","disabled"])]),($=w.value)!=null&&$.tos_url?(ue(),ze("div",Y7e,[te(F,{checked:a.value,"onUpdate:checked":_[8]||(_[8]=I=>a.value=I),class:"text-bold text-16"},{default:re(()=>[H("div",{innerHTML:s.value},null,8,X7e)]),_:1},8,["checked"])])):ut("",!0),H("div",Z7e,[te(q,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary",onClick:S,"icon-placement":"left",loading:k.value,disabled:k.value||!a.value},{icon:re(()=>[te(z)]),default:re(()=>[Je(" "+ie(C.$t("注册")),1)]),_:1},8,["loading","disabled"])])]),H("div",J7e,[H("div",null,[te(D,{to:"/login",class:"text-#6c757d"},{default:re(()=>[Je(ie(C.$t("返回登入")),1)]),_:1})]),H("div",null,[te(Q,{value:he(n).lang,"onUpdate:value":_[9]||(_[9]=I=>he(n).lang=I),options:Object.entries(he(xi)).map(([I,K])=>({label:K,value:I})),trigger:"click","on-update:value":he(n).switchLang},{default:re(()=>[te(q,{text:"","icon-placement":"left"},{icon:re(()=>[te(Y)]),default:re(()=>[Je(" "+ie(he(xi)[he(n).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)}}}),eNe=Object.freeze(Object.defineProperty({__proto__:null,default:Q7e},Symbol.toStringTag,{value:"Module"})),tNe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},nNe=H("path",{fill:"currentColor",d:"M17 8.25a1.25 1.25 0 1 0 0-2.5a1.25 1.25 0 0 0 0 2.5m-8.05.35a6.554 6.554 0 0 1 6.55-6.55c3.596 0 6.55 2.819 6.55 6.45a6.51 6.51 0 0 1-1.255 3.852a6.014 6.014 0 0 0-1.276-.798a5.026 5.026 0 0 0 1.03-3.054c0-2.769-2.247-4.95-5.05-4.95a5.054 5.054 0 0 0-5.05 5.05c0 .262.034.539.088.845a1.774 1.774 0 0 1-.486 1.564l-6.236 6.235a1.25 1.25 0 0 0-.366.884V20.3c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25v-1.5c0-.69.56-1.25 1.25-1.25h1.75V15.8c0-.65.497-1.185 1.132-1.245l1.077 1.078a1.758 1.758 0 0 0-.378.417h-.33v1.75c0 .69-.56 1.25-1.25 1.25H7.95v1.25a1.75 1.75 0 0 1-1.75 1.75H3.7a1.75 1.75 0 0 1-1.75-1.75v-2.172c0-.73.289-1.429.805-1.944L8.99 9.948a.275.275 0 0 0 .07-.244A6.387 6.387 0 0 1 8.95 8.6m4.83 2.68a.75.75 0 1 0-1.06-1.06l-2 2a.75.75 0 0 0 0 1.06l2 2a.75.75 0 1 0 1.06-1.06l-.72-.72H17a3.5 3.5 0 1 1-3.5 3.5a.75.75 0 0 0-1.5 0a5 5 0 1 0 5-5h-3.94z"},null,-1),oNe=[nNe];function rNe(e,t){return ue(),ze("svg",tNe,[...oNe])}const iNe={name:"fluent-key-reset24-regular",render:rNe},aNe={class:"p-24"},sNe={key:0,class:"text-center"},lNe=["src"],cNe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},uNe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},dNe={"mt-20":"","w-full":""},fNe={"mt-20":"","w-full":""},hNe={"mt-20":"","w-full":""},pNe={"mt-20":"","w-full":""},mNe={"mt-20":"","w-full":""},gNe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},vNe=me({__name:"forgetpassword",setup(e){const t=wn(),n=nu(),o=S=>sn.global.t(S),r=N({email:"",email_code:"",password:"",confirm_password:"",invite_code:"",suffix:""}),i=N(null),a=N(),s=N(!1),l=N();function c(S){i.value=S,setTimeout(()=>{s.value=!1,a.value&&a.value.reset(),l.value==="sendEmailVerify"&&(g(),l.value="")},500)}function u(){a.value.reset()}function d(){a.value.reset()}function f(){a.value.reset()}const p=N(!1),h=N(0);async function g(){var x,C;if(r.value.email===""){window.$message.error(o("请输入邮箱地址"));return}if(p.value=!0,h.value>0){window.$message.warning(sn.global.tc("{second}秒后可重新发送",{second:h.value}));return}if((x=y.value)!=null&&x.is_recaptcha&&((C=y.value)!=null&&C.is_recaptcha)&&!i.value){s.value=!0,p.value=!1,l.value="sendEmailVerify";return}const S=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email,{data:w}=await ik(S,i.value);if(w===!0){window.$message.success(o("发送成功")),h.value=60;const _=setInterval(()=>{h.value--,h.value===0&&clearInterval(_)},1e3);i.value=""}p.value=!1}const b=N(!1);async function m(){if(r.value.email===""){window.$message.error(o("请输入邮箱地址"));return}const{email:S,password:w,confirm_password:x,email_code:C}=r.value;if(!S||!w){window.$message.warning(o("请输入账号密码"));return}if(w!==x){window.$message.warning(o("请确保两次密码输入一致"));return}b.value=!0;const{data:_}=await w7e(S,w.toString(),C);b.value=!1,_&&(window.$message.success(o("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}const y=N();async function k(){const{data:S}=await rk();S&&(y.value=S)}return cn(()=>{k()}),(S,w)=>{const x=Zr,C=_o,_=Pu,R=Et,E=iNe,M=Ia("router-link"),A=Mm,q=dl,F=Un;return ue(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(t).background_url&&`background:url(${he(t).background_url}) no-repeat center center / cover;`)},[te(x,{show:s.value,"onUpdate:show":w[0]||(w[0]=z=>s.value=z)},{default:re(()=>{var z,D,Y;return[(z=y.value)!=null&&z.is_recaptcha&&((D=y.value)!=null&&D.recaptcha_site_key)?Cn((ue(),We(he(ak),{key:0,sitekey:(Y=y.value)==null?void 0:Y.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":500,onVerify:c,onExpire:u,onFail:d,onError:f,ref_key:"vueRecaptchaRef",ref:a},null,8,["sitekey"])),[[Jn,s.value]]):ut("",!0)]}),_:1},8,["show"]),te(F,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>[H("div",aNe,[he(t).logo?(ue(),ze("div",sNe,[H("img",{src:he(t).logo,class:"mb-1em max-w-100%"},null,8,lNe)])):(ue(),ze("h1",cNe,ie(he(t).title),1)),H("h5",uNe,ie(he(t).description||" "),1),H("div",dNe,[te(_,{class:"flex"},{default:re(()=>[te(C,{value:r.value.email,"onUpdate:value":w[1]||(w[1]=z=>r.value.email=z),autofocus:"",class:"flex-[2] pl-5",placeholder:S.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),_:1})]),H("div",fNe,[te(_,{class:"flex"},{default:re(()=>[te(C,{placeholder:S.$t("邮箱验证码"),value:r.value.email_code,"onUpdate:value":w[2]||(w[2]=z=>r.value.email_code=z),class:"pl-5"},null,8,["placeholder","value"]),te(R,{type:"primary",onClick:w[3]||(w[3]=z=>g()),loading:p.value,disabled:p.value||h.value>0},{default:re(()=>[Je(ie(h.value||S.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})]),H("div",hNe,[te(C,{value:r.value.password,"onUpdate:value":w[4]||(w[4]=z=>r.value.password=z),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("密码"),maxlength:40},null,8,["value","placeholder"])]),H("div",pNe,[te(C,{value:r.value.confirm_password,"onUpdate:value":w[5]||(w[5]=z=>r.value.confirm_password=z),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("再次输入密码"),maxlength:40,onKeydown:w[6]||(w[6]=ba(z=>m(),["enter"]))},null,8,["value","placeholder"])]),H("div",mNe,[te(R,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:w[7]||(w[7]=z=>m()),loading:b.value,disabled:b.value},{icon:re(()=>[te(E)]),default:re(()=>[Je(" "+ie(S.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),H("div",gNe,[H("div",null,[te(M,{to:"/login",class:"text-#6c757d"},{default:re(()=>[Je(ie(S.$t("返回登录")),1)]),_:1})]),H("div",null,[te(q,{value:he(t).lang,"onUpdate:value":w[8]||(w[8]=z=>he(t).lang=z),options:Object.entries(he(xi)).map(([z,D])=>({label:D,value:z})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(R,{text:"","icon-placement":"left"},{icon:re(()=>[te(A)]),default:re(()=>[Je(" "+ie(he(xi)[he(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),bNe=Object.freeze(Object.defineProperty({__proto__:null,default:vNe},Symbol.toStringTag,{value:"Module"})),yNe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 服务条款':'I have read and agree to the terms of service',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound"},L1=Object.freeze(Object.defineProperty({__proto__:null,default:yNe},Symbol.toStringTag,{value:"Module"})),xNe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 服务条款':"من شرایط خدمات را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده"},F1=Object.freeze(Object.defineProperty({__proto__:null,default:xNe},Symbol.toStringTag,{value:"Module"})),CNe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 服务条款':"ご利用規約に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています"},N1=Object.freeze(Object.defineProperty({__proto__:null,default:CNe},Symbol.toStringTag,{value:"Module"})),wNe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 服务条款':"을 읽었으며 이에 동의합니다 서비스 약관",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨"},B1=Object.freeze(Object.defineProperty({__proto__:null,default:wNe},Symbol.toStringTag,{value:"Module"})),_Ne={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 服务条款':"Tôi đã đọc và đồng ý điều khoản dịch vụ",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết"},H1=Object.freeze(Object.defineProperty({__proto__:null,default:_Ne},Symbol.toStringTag,{value:"Module"})),SNe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 服务条款':'我已阅读并同意 服务条款',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定"},j1=Object.freeze(Object.defineProperty({__proto__:null,default:SNe},Symbol.toStringTag,{value:"Module"})),kNe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 服务条款':'我已閱讀並同意 服務條款',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定"},V1=Object.freeze(Object.defineProperty({__proto__:null,default:kNe},Symbol.toStringTag,{value:"Module"}))});export default TNe(); +`);return o};qa.prototype.render=function(e,t,n){var o,r,i,a="",s=this.rules;for(o=0,r=e.length;o\s]/i.test(e)}function aIe(e){return/^<\/a\s*>/i.test(e)}var sIe=function(t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,y=t.tokens,k;if(t.md.options.linkify){for(o=0,r=y.length;o=0;n--){if(s=i[n],s.type==="link_close"){for(n--;i[n].level!==s.level&&i[n].type!=="link_open";)n--;continue}if(s.type==="html_inline"&&(iIe(s.content)&&h>0&&h--,aIe(s.content)&&h++),!(h>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,k=t.md.linkify.match(u),l=[],p=s.level,f=0,k.length>0&&k[0].index===0&&n>0&&i[n-1].type==="text_special"&&(k=k.slice(1)),c=0;cf&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=p,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",b]],a.level=p++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=m,a.level=p,l.push(a),a=new t.Token("link_close","a",-1),a.level=--p,a.markup="linkify",a.info="auto",l.push(a),f=k[c].lastIndex);f=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(cIe,dIe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function hIe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&MS.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}var pIe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(lIe.test(t.tokens[n].content)&&fIe(t.tokens[n].children),MS.test(t.tokens[n].content)&&hIe(t.tokens[n].children))},p1=Ft.isWhiteSpace,m1=Ft.isPunctChar,g1=Ft.isMdAsciiPunct,mIe=/['"]/,v1=/['"]/g,b1="’";function ql(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function gIe(e,t){var n,o,r,i,a,s,l,c,u,d,f,p,h,g,b,m,y,k,S,w,x;for(S=[],n=0;n=0&&!(S[y].level<=l);y--);if(S.length=y+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a=0)u=r.charCodeAt(i.index-1);else for(y=n-1;y>=0&&!(e[y].type==="softbreak"||e[y].type==="hardbreak");y--)if(e[y].content){u=e[y].content.charCodeAt(e[y].content.length-1);break}if(d=32,a=48&&u<=57&&(m=b=!1),b&&m&&(b=f,m=p),!b&&!m){k&&(o.content=ql(o.content,i.index,b1));continue}if(m){for(y=S.length-1;y>=0&&(c=S[y],!(S[y].level=0;n--)t.tokens[n].type!=="inline"||!mIe.test(t.tokens[n].content)||gIe(t.tokens[n].children,t)},bIe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n=0&&(o=this.attrs[n][1]),o};Ka.prototype.attrJoin=function(t,n){var o=this.attrIndex(t);o<0?this.attrPush([t,n]):this.attrs[o][1]=this.attrs[o][1]+" "+n};var km=Ka,yIe=km;function zS(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}zS.prototype.Token=yIe;var xIe=zS,CIe=Sm,ef=[["normalize",tIe],["block",nIe],["inline",oIe],["linkify",sIe],["replacements",pIe],["smartquotes",vIe],["text_join",bIe]];function Tm(){this.ruler=new CIe;for(var e=0;eo||(u=n+1,t.sCount[u]=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(w=t.src.charCodeAt(s++),w!==124&&w!==45&&w!==58)||s>=t.eMarks[u]||(x=t.src.charCodeAt(s++),x!==124&&x!==45&&x!==58&&!tf(x))||w===45&&tf(x))return!1;for(;s=4||(d=y1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==h.length))return!1;if(r)return!0;for(y=t.parentType,t.parentType="table",S=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),p.map=b=[n,0],p=t.push("thead_open","thead",1),p.map=[n,n+1],p=t.push("tr_open","tr",1),p.map=[n,n+1],l=0;l=4)break;for(d=y1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(p=t.push("tbody_open","tbody",1),p.map=m=[n+2,0]),p=t.push("tr_open","tr",1),p.map=[u,u+1],l=0;l=4){r++,i=r;continue}break}return t.line=i,a=t.push("code_block","code",0),a.content=t.getLines(n,i,4+t.blkIndent,!1)+` +`,a.map=[n,t.line],!0},kIe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,p=t.bMarks[n]+t.tShift[n],h=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||p+3>h||(i=t.src.charCodeAt(p),i!==126&&i!==96)||(c=p,p=t.skipChars(p,i),a=p-c,a<3)||(d=t.src.slice(c,p),s=t.src.slice(p,h),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(p=c=t.bMarks[l]+t.tShift[l],h=t.eMarks[l],p=4)&&(p=t.skipChars(p,i),!(p-c=4||t.src.charCodeAt(E)!==62)return!1;if(r)return!0;for(h=[],g=[],y=[],k=[],x=t.md.block.ruler.getRules("blockquote"),m=t.parentType,t.parentType="blockquote",f=n;f=M));f++){if(t.src.charCodeAt(E++)===62&&!_){for(l=t.sCount[f]+1,t.src.charCodeAt(E)===32?(E++,l++,i=!1,S=!0):t.src.charCodeAt(E)===9?(S=!0,(t.bsCount[f]+l)%4===3?(E++,l++,i=!1):i=!0):S=!1,p=l,h.push(t.bMarks[f]),t.bMarks[f]=E;E=M,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(S?1:0),y.push(t.sCount[f]),t.sCount[f]=p-l,k.push(t.tShift[f]),t.tShift[f]=E-t.bMarks[f];continue}if(u)break;for(w=!1,s=0,c=x.length;s",C.map=d=[n,0],t.md.block.tokenize(t,n,f),C=t.push("blockquote_close","blockquote",-1),C.markup=">",t.lineMax=R,t.parentType=m,d[1]=t.line,s=0;s=4||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c=i||(n=e.src.charCodeAt(r++),n<48||n>57))return-1;for(;;){if(r>=i)return-1;if(n=e.src.charCodeAt(r++),n>=48&&n<=57){if(r-o>=10)return-1;continue}if(n===41||n===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[D]-t.listIndent>=4&&t.sCount[D]=t.blkIndent&&(Y=!0),(E=C1(t,D))>=0){if(d=!0,A=t.bMarks[D]+t.tShift[D],m=Number(t.src.slice(A,E-1)),Y&&m!==1)return!1}else if((E=x1(t,D))>=0)d=!1;else return!1;if(Y&&t.skipSpaces(E)>=t.eMarks[D])return!1;if(r)return!0;for(b=t.src.charCodeAt(E-1),g=t.tokens.length,d?(z=t.push("ordered_list_open","ol",1),m!==1&&(z.attrs=[["start",m]])):z=t.push("bullet_list_open","ul",1),z.map=h=[D,0],z.markup=String.fromCharCode(b),M=!1,F=t.md.block.ruler.getRules("list"),w=t.parentType,t.parentType="list";D=y?c=1:c=k-u,c>4&&(c=1),l=u+c,z=t.push("list_item_open","li",1),z.markup=String.fromCharCode(b),z.map=f=[D,0],d&&(z.info=t.src.slice(A,E-1)),_=t.tight,C=t.tShift[D],x=t.sCount[D],S=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[D]=a-t.bMarks[D],t.sCount[D]=k,a>=y&&t.isEmpty(D+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,D,o,!0),(!t.tight||M)&&(Q=!1),M=t.line-D>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=S,t.tShift[D]=C,t.sCount[D]=x,t.tight=_,z=t.push("list_item_close","li",-1),z.markup=String.fromCharCode(b),D=t.line,f[1]=D,D>=o||t.sCount[D]=4)break;for(q=!1,s=0,p=F.length;s=4||t.src.charCodeAt(x)!==91)return!1;for(;++x3)&&!(t.sCount[_]<0)){for(y=!1,u=0,d=k.length;u"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:S,href:c}),t.parentType=h,t.line=n+w+1),!0)},zIe=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Vu={},OIe="[a-zA-Z_:][a-zA-Z0-9:._-]*",DIe="[^\"'=<>`\\x00-\\x20]+",LIe="'[^']*'",FIe='"[^"]*"',NIe="(?:"+DIe+"|"+LIe+"|"+FIe+")",BIe="(?:\\s+"+OIe+"(?:\\s*=\\s*"+NIe+")?)",DS="<[A-Za-z][A-Za-z0-9\\-]*"+BIe+"*\\s*\\/?>",LS="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",HIe="|",jIe="<[?][\\s\\S]*?[?]>",VIe="]*>",UIe="",WIe=new RegExp("^(?:"+DS+"|"+LS+"|"+HIe+"|"+jIe+"|"+VIe+"|"+UIe+")"),qIe=new RegExp("^(?:"+DS+"|"+LS+")");Vu.HTML_TAG_RE=WIe;Vu.HTML_OPEN_CLOSE_TAG_RE=qIe;var KIe=zIe,GIe=Vu.HTML_OPEN_CLOSE_TAG_RE,ea=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(GIe.source+"\\s*$"),/^$/,!1]],YIe=function(t,n,o,r){var i,a,s,l,c=t.bMarks[n]+t.tShift[n],u=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(c)!==60)return!1;for(l=t.src.slice(c,u),i=0;i=4||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c6||cc&&w1(t.src.charCodeAt(s-1))&&(u=s),t.line=n+1,l=t.push("heading_open","h"+String(a),1),l.markup="########".slice(0,a),l.map=[n,t.line],l=t.push("inline","",0),l.content=t.src.slice(c,u).trim(),l.map=[n,t.line],l.children=[],l=t.push("heading_close","h"+String(a),-1),l.markup="########".slice(0,a)),!0)},ZIe=function(t,n,o){var r,i,a,s,l,c,u,d,f,p=n+1,h,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(h=t.parentType,t.parentType="paragraph";p3)){if(t.sCount[p]>=t.blkIndent&&(c=t.bMarks[p]+t.tShift[p],u=t.eMarks[p],c=u)))){d=f===61?1:2;break}if(!(t.sCount[p]<0)){for(i=!1,a=0,s=g.length;a3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a0&&this.level++,this.tokens.push(o),o};Yo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Yo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;tn;)if(!Uu(this.src.charCodeAt(--t)))return t+1;return t};Yo.prototype.skipChars=function(t,n){for(var o=this.src.length;to;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Yo.prototype.getLines=function(t,n,o,r){var i,a,s,l,c,u,d,f=t;if(t>=n)return"";for(u=new Array(n-t),i=0;fo?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Yo.prototype.Token=FS;var QIe=Yo,eMe=Sm,Gl=[["table",_Ie,["paragraph","reference"]],["code",SIe],["fence",kIe,["paragraph","reference","blockquote","list"]],["blockquote",PIe,["paragraph","reference","blockquote","list"]],["hr",EIe,["paragraph","reference","blockquote","list"]],["list",AIe,["paragraph","reference","blockquote"]],["reference",MIe],["html_block",YIe,["paragraph","reference","blockquote"]],["heading",XIe,["paragraph","reference","blockquote"]],["lheading",ZIe],["paragraph",JIe]];function Wu(){this.ruler=new eMe;for(var e=0;e=n||e.sCount[l]=u){e.line=n;break}for(i=e.line,r=0;r=e.line)throw new Error("block rule didn't increment state.line");break}if(!o)throw new Error("none of the block rules matched");e.tight=!c,e.isEmpty(e.line-1)&&(c=!0),l=e.line,l0||(o=t.pos,r=t.posMax,o+3>r)||t.src.charCodeAt(o)!==58||t.src.charCodeAt(o+1)!==47||t.src.charCodeAt(o+2)!==47||(i=t.pending.match(rMe),!i)||(a=i[1],s=t.md.linkify.matchAtStart(t.src.slice(o-a.length)),!s)||(l=s.url,l.length<=a.length)||(l=l.replace(/\*+$/,""),c=t.md.normalizeLink(l),!t.md.validateLink(c))?!1:(n||(t.pending=t.pending.slice(0,-a.length),u=t.push("link_open","a",1),u.attrs=[["href",c]],u.markup="linkify",u.info="auto",u=t.push("text","",0),u.content=t.md.normalizeLinkText(l),u=t.push("link_close","a",-1),u.markup="linkify",u.info="auto"),t.pos+=l.length-a.length,!0)},aMe=Ft.isSpace,sMe=function(t,n){var o,r,i,a=t.pos;if(t.src.charCodeAt(a)!==10)return!1;if(o=t.pending.length-1,r=t.posMax,!n)if(o>=0&&t.pending.charCodeAt(o)===32)if(o>=1&&t.pending.charCodeAt(o-1)===32){for(i=o-1;i>=1&&t.pending.charCodeAt(i-1)===32;)i--;t.pending=t.pending.slice(0,i),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(a++;a?@[]^_`{|}~-".split("").forEach(function(e){Pm[e.charCodeAt(0)]=1});var cMe=function(t,n){var o,r,i,a,s,l=t.pos,c=t.posMax;if(t.src.charCodeAt(l)!==92||(l++,l>=c))return!1;if(o=t.src.charCodeAt(l),o===10){for(n||t.push("hardbreak","br",0),l++;l=55296&&o<=56319&&l+1=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&Pm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},uMe=function(t,n){var o,r,i,a,s,l,c,u,d=t.pos,f=t.src.charCodeAt(d);if(f!==96)return!1;for(o=d,d++,r=t.posMax;d=0;n--)o=t[n],!(o.marker!==95&&o.marker!==42)&&o.end!==-1&&(r=t[o.end],s=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===r.token+1,a=String.fromCharCode(o.marker),i=e.tokens[o.token],i.type=s?"strong_open":"em_open",i.tag=s?"strong":"em",i.nesting=1,i.markup=s?a+a:a,i.content="",i=e.tokens[r.token],i.type=s?"strong_close":"em_close",i.tag=s?"strong":"em",i.nesting=-1,i.markup=s?a+a:a,i.content="",s&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--))}Ku.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(k1(t,t.delimiters),n=0;n=g)return!1;if(b=l,c=t.md.helpers.parseLinkDestination(t.src,l,t.posMax),c.ok){for(f=t.md.normalizeLink(c.str),t.md.validateLink(f)?l=c.pos:f="",b=l;l=g||t.src.charCodeAt(l)!==41)&&(m=!0),l++}if(m){if(typeof t.env.references>"u")return!1;if(l=0?i=t.src.slice(b,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[dMe(i)],!u)return t.pos=h,!1;f=u.href,p=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],p&&o.push(["title",p]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},hMe=Ft.normalizeReference,rf=Ft.isSpace,pMe=function(t,n){var o,r,i,a,s,l,c,u,d,f,p,h,g,b="",m=t.pos,y=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91||(l=t.pos+2,s=t.md.helpers.parseLinkLabel(t,t.pos+1,!1),s<0))return!1;if(c=s+1,c=y)return!1;for(g=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(b=t.md.normalizeLink(d.str),t.md.validateLink(b)?c=d.pos:b=""),g=c;c=y||t.src.charCodeAt(c)!==41)return t.pos=m,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c=0?a=t.src.slice(g,c++):c=s+1):c=s+1,a||(a=t.src.slice(l,s)),u=t.env.references[hMe(a)],!u)return t.pos=m,!1;b=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,h=[]),p=t.push("image","img",0),p.attrs=o=[["src",b],["alt",""]],p.children=h,p.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=y,!0},mMe=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,gMe=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,vMe=function(t,n){var o,r,i,a,s,l,c=t.pos;if(t.src.charCodeAt(c)!==60)return!1;for(s=t.pos,l=t.posMax;;){if(++c>=l||(a=t.src.charCodeAt(c),a===60))return!1;if(a===62)break}return o=t.src.slice(s+1,c),gMe.test(o)?(r=t.md.normalizeLink(o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):mMe.test(o)?(r=t.md.normalizeLink("mailto:"+o),t.md.validateLink(r)?(n||(i=t.push("link_open","a",1),i.attrs=[["href",r]],i.markup="autolink",i.info="auto",i=t.push("text","",0),i.content=t.md.normalizeLinkText(o),i=t.push("link_close","a",-1),i.markup="autolink",i.info="auto"),t.pos+=o.length+2,!0):!1):!1},bMe=Vu.HTML_TAG_RE;function yMe(e){return/^\s]/i.test(e)}function xMe(e){return/^<\/a\s*>/i.test(e)}function CMe(e){var t=e|32;return t>=97&&t<=122}var wMe=function(t,n){var o,r,i,a,s=t.pos;return!t.md.options.html||(i=t.posMax,t.src.charCodeAt(s)!==60||s+2>=i)||(o=t.src.charCodeAt(s+1),o!==33&&o!==63&&o!==47&&!CMe(o))||(r=t.src.slice(s).match(bMe),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],yMe(a.content)&&t.linkLevel++,xMe(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},T1=ES,_Me=Ft.has,SMe=Ft.isValidEntityCode,P1=Ft.fromCodePoint,kMe=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,TMe=/^&([a-z][a-z0-9]{1,31});/i,PMe=function(t,n){var o,r,i,a,s=t.pos,l=t.posMax;if(t.src.charCodeAt(s)!==38||s+1>=l)return!1;if(o=t.src.charCodeAt(s+1),o===35){if(i=t.src.slice(s).match(kMe),i)return n||(r=i[1][0].toLowerCase()==="x"?parseInt(i[1].slice(1),16):parseInt(i[1],10),a=t.push("text_special","",0),a.content=SMe(r)?P1(r):P1(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(TMe),i&&_Me(T1,i[1]))return n||(a=t.push("text_special","",0),a.content=T1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function R1(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,p=[];for(t=0;ti;n-=p[n]+1)if(r=e[n],r.marker===o.marker&&r.open&&r.end<0&&(s=!1,(r.close||o.open)&&(r.length+o.length)%3===0&&(r.length%3!==0||o.length%3!==0)&&(s=!0),!s)){l=n>0&&!e[n-1].open?p[n-1]+1:0,p[t]=t-n+l,p[n]=l,o.open=!1,r.end=t,r.close=!1,a=-1,f=-2;break}a!==-1&&(c[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}var RMe=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(R1(t.delimiters),n=0;n0&&r++,i[n].type==="text"&&n+10&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(r),o};pl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,p=!0,h=this.posMax,g=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;t||e.pos++,s[o]=e.pos};ml.prototype.tokenize=function(e){for(var t,n,o,r=this.ruler.getRules(""),i=r.length,a=e.posMax,s=e.md.options.maxNesting;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(t){if(e.pos>=a)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};ml.prototype.parse=function(e,t,n,o){var r,i,a,s=new this.State(e,t,n,o);for(this.tokenize(s),i=this.ruler2.getRules(""),a=i.length,r=0;r|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),lf}function Th(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(n){n&&Object.keys(n).forEach(function(o){e[o]=n[o]})}),e}function Gu(e){return Object.prototype.toString.call(e)}function MMe(e){return Gu(e)==="[object String]"}function zMe(e){return Gu(e)==="[object Object]"}function OMe(e){return Gu(e)==="[object RegExp]"}function z1(e){return Gu(e)==="[object Function]"}function DMe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var NS={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function LMe(e){return Object.keys(e||{}).reduce(function(t,n){return t||NS.hasOwnProperty(n)},!1)}var FMe={"http:":{validate:function(e,t,n){var o=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(o)?o.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var o=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(o)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:o.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var o=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(o)?o.match(n.re.mailto)[0].length:0}}},NMe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",BMe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function HMe(e){e.__index__=-1,e.__text_cache__=""}function jMe(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function O1(){return function(e,t){t.normalize(e)}}function Dc(e){var t=e.re=IMe()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(NMe),n.push(t.src_xn),t.src_tlds=n.join("|");function o(s){return s.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var r=[];e.__compiled__={};function i(s,l){throw new Error('(LinkifyIt) Invalid schema "'+s+'": '+l)}Object.keys(e.__schemas__).forEach(function(s){var l=e.__schemas__[s];if(l!==null){var c={validate:null,link:null};if(e.__compiled__[s]=c,zMe(l)){OMe(l.validate)?c.validate=jMe(l.validate):z1(l.validate)?c.validate=l.validate:i(s,l),z1(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=O1();return}if(MMe(l)){r.push(s);return}i(s,l)}}),r.forEach(function(s){e.__compiled__[e.__schemas__[s]]&&(e.__compiled__[s].validate=e.__compiled__[e.__schemas__[s]].validate,e.__compiled__[s].normalize=e.__compiled__[e.__schemas__[s]].normalize)}),e.__compiled__[""]={validate:null,normalize:O1()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(DMe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+a+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),HMe(e)}function VMe(e,t){var n=e.__index__,o=e.__last_index__,r=e.__text_cache__.slice(n,o);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=o+t,this.raw=r,this.text=r,this.url=r}function Ph(e,t){var n=new VMe(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function Qn(e,t){if(!(this instanceof Qn))return new Qn(e,t);t||LMe(e)&&(t=e,e={}),this.__opts__=Th({},NS,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Th({},FMe,e),this.__compiled__={},this.__tlds__=BMe,this.__tlds_replaced__=!1,this.re={},Dc(this)}Qn.prototype.add=function(t,n){return this.__schemas__[t]=n,Dc(this),this};Qn.prototype.set=function(t){return this.__opts__=Th(this.__opts__,t),this};Qn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;var n,o,r,i,a,s,l,c,u;if(this.re.schema_test.test(t)){for(l=this.re.schema_search,l.lastIndex=0;(n=l.exec(t))!==null;)if(i=this.testSchemaAt(t,n[2],l.lastIndex),i){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=t.search(this.re.host_fuzzy_test),c>=0&&(this.__index__<0||c=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||athis.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};Qn.prototype.pretest=function(t){return this.re.pretest.test(t)};Qn.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};Qn.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Ph(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Ph(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};Qn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;var n=this.re.schema_at_start.exec(t);if(!n)return null;var o=this.testSchemaAt(t,n[2],n[0].length);return o?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o,Ph(this,0)):null};Qn.prototype.tlds=function(t,n){return t=Array.isArray(t)?t:[t],n?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(o,r,i){return o!==i[r-1]}).reverse(),Dc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Dc(this),this)};Qn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Qn.prototype.onCompile=function(){};var UMe=Qn;const pa=2147483647,Lo=36,Em=1,Gs=26,WMe=38,qMe=700,BS=72,HS=128,jS="-",KMe=/^xn--/,GMe=/[^\0-\x7F]/,YMe=/[\x2E\u3002\uFF0E\uFF61]/g,XMe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},cf=Lo-Em,Fo=Math.floor,uf=String.fromCharCode;function Mr(e){throw new RangeError(XMe[e])}function ZMe(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function VS(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(YMe,".");const r=e.split("."),i=ZMe(r,t).join(".");return o+i}function $m(e){const t=[];let n=0;const o=e.length;for(;n=55296&&r<=56319&&nString.fromCodePoint(...e),JMe=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:Lo},D1=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},WS=function(e,t,n){let o=0;for(e=n?Fo(e/qMe):e>>1,e+=Fo(e/t);e>cf*Gs>>1;o+=Lo)e=Fo(e/cf);return Fo(o+(cf+1)*e/(e+WMe))},Am=function(e){const t=[],n=e.length;let o=0,r=HS,i=BS,a=e.lastIndexOf(jS);a<0&&(a=0);for(let s=0;s=128&&Mr("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s=n&&Mr("invalid-input");const f=JMe(e.charCodeAt(s++));f>=Lo&&Mr("invalid-input"),f>Fo((pa-o)/u)&&Mr("overflow"),o+=f*u;const p=d<=i?Em:d>=i+Gs?Gs:d-i;if(fFo(pa/h)&&Mr("overflow"),u*=h}const c=t.length+1;i=WS(o-l,c,l==0),Fo(o/c)>pa-r&&Mr("overflow"),r+=Fo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},Im=function(e){const t=[];e=$m(e);const n=e.length;let o=HS,r=0,i=BS;for(const l of e)l<128&&t.push(uf(l));const a=t.length;let s=a;for(a&&t.push(jS);s=o&&uFo((pa-r)/c)&&Mr("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(upa&&Mr("overflow"),u===o){let d=r;for(let f=Lo;;f+=Lo){const p=f<=i?Em:f>=i+Gs?Gs:f-i;if(d=0))try{t.hostname=GS.toASCII(t.hostname)}catch{}return hi.encode(hi.format(t))}function gze(e){var t=hi.parse(e,!0);if(t.hostname&&(!t.protocol||YS.indexOf(t.protocol)>=0))try{t.hostname=GS.toUnicode(t.hostname)}catch{}return hi.decode(hi.format(t),hi.decode.defaultChars+"%")}function lo(e,t){if(!(this instanceof lo))return new lo(e,t);t||Ts.isString(e)||(t=e||{},e="default"),this.inline=new cze,this.block=new lze,this.core=new sze,this.renderer=new aze,this.linkify=new uze,this.validateLink=pze,this.normalizeLink=mze,this.normalizeLinkText=gze,this.utils=Ts,this.helpers=Ts.assign({},ize),this.options={},this.configure(e),t&&this.set(t)}lo.prototype.set=function(e){return Ts.assign(this.options,e),this};lo.prototype.configure=function(e){var t=this,n;if(Ts.isString(e)&&(n=e,e=dze[n],!e))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(o){e.components[o].rules&&t[o].ruler.enableOnly(e.components[o].rules),e.components[o].rules2&&t[o].ruler2.enableOnly(e.components[o].rules2)}),this};lo.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+o);return this};lo.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(r){n=n.concat(this[r].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var o=e.filter(function(r){return n.indexOf(r)<0});if(o.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+o);return this};lo.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};lo.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens};lo.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};lo.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};lo.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var vze=lo,bze=vze;const Yu=up(bze),yze={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},xze=H("path",{d:"m72.8 140.45-12.7 145.1h42.41l8.99-102.69h.04l3.67-42.41zM124.16 37.75h-42.4l-5.57 63.61h42.4zM318.36 285.56h42.08l5.57-63.61H323.9z",class:"cls-2"},null,-1),Cze=H("path",{d:"M382.09 37.76H340l-10.84 123.9H221.09l-14.14 161.65 85.83-121.47h145.89l3.52-40.18h-70.94z",class:"cls-2"},null,-1),wze=H("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function _ze(e,t){return ue(),ze("svg",yze,[H("defs",null,[(ue(),We(Wc("style"),null,{default:re(()=>[Je(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),xze,Cze,wze])}const Sze={render:_ze},kze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1109 1027"},Tze=y4('',2),Pze=[Tze];function Rze(e,t){return ue(),ze("svg",kze,[...Pze])}const Eze={render:Rze},$ze={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 64 64"},Aze=H("g",{fill:"#E29942","clip-path":"url(#clip0_408_56)"},[H("path",{d:"M47.158 14.428c0-.591.31-1.14.818-1.444L61.449 4.9C62.572 4.225 64 5.034 64 6.343V20.21c0 .93-.754 1.685-1.684 1.685H48.842c-.93 0-1.684-.755-1.684-1.685z"}),H("path",{"fill-rule":"evenodd",d:"M24.397 26.46a1.68 1.68 0 0 0-.818 1.443V48c0 .93-.754 1.6-1.684 1.6h-3.369c-.93 0-1.684-.67-1.684-1.6V34.976c0-1.31-1.428-2.118-2.55-1.444L.817 41.617A1.68 1.68 0 0 0 0 43.062v17.572c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684v-3.803c0-.93.754-1.493 1.684-1.493h3.369c.93 0 1.684.563 1.684 1.493v3.803c0 .93.754 1.684 1.684 1.684h13.474c.93 0 1.684-.754 1.684-1.684V19.818c0-1.309-1.428-2.118-2.55-1.444z","clip-rule":"evenodd"}),H("path",{d:"M47.16 28.8v32c0 .884.753 1.6 1.683 1.6h13.474c.93 0 1.684-.716 1.684-1.6v-32c0-.884-.754-1.6-1.684-1.6H48.843c-.93 0-1.684.716-1.684 1.6"})],-1),Ize=[Aze];function Mze(e,t){return ue(),ze("svg",$ze,[...Ize])}const zze={render:Mze},Gi=e=>(A3("data-v-179cfe78"),e=e(),I3(),e),Oze=["innerHTML"],Dze={class:"w-64"},Lze={class:"text-#666"},Fze={class:"w-64"},Nze={class:"text-#666"},Bze=Gi(()=>H("div",{class:"w-64"},[H("img",{src:aee,class:"h-30 w-30"})],-1)),Hze={class:"text-#666"},jze={class:"w-64"},Vze={class:"text-#666"},Uze={class:"font-bold"},Wze={class:"mb-20"},qze={class:"text-center"},Kze={class:"mt-10 text-center"},Gze=Gi(()=>H("div",{class:"w-64"},[H("img",{src:RS,class:"h-30 w-30"})],-1)),Yze={class:"text-#666"},Xze={class:"w-64"},Zze={class:"text-#666"},Jze={class:"w-64"},Qze={class:"text-#666"},eOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:see,class:"h-30 w-30 border-rounded-5"})],-1)),tOe={class:"text-#666"},nOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:lee,class:"h-30 w-30 border-rounded-5"})],-1)),oOe={class:"text-#666"},rOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:cee,class:"h-30 w-30"})],-1)),iOe={class:"text-#666"},aOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:RS,class:"h-30 w-30"})],-1)),sOe={class:"text-#666"},lOe=Gi(()=>H("div",{class:"w-64"},[H("img",{src:uee,class:"h-30 w-30"})],-1)),cOe={class:"text-#666"},uOe={class:"p-10 text-center"},dOe={class:"mb-5 md:mb-40"},fOe={key:0,class:"mb-10"},hOe={class:"font-bold"},pOe=["onClick"],mOe={class:"text-20"},gOe={class:"text-16 font-600 color-[hsla(0,0%,100%,.75)]"},vOe={class:"text-block mb-16 p-t-20 text-20 font-600"},bOe={key:0,class:"mb-16 text-14 text-gray"},yOe={key:1,class:"mb-16 text-14 font-600 text-red-500"},xOe={key:2,class:"mb-16 text-14 text-gray"},COe={class:"text-gray"},wOe={class:"flex items-center justify-between"},_Oe={class:""},SOe={class:"text-16"},kOe={class:"text-14 text-gray"},TOe={class:"flex items-center justify-between"},POe={class:"text-16"},ROe={class:"text-14 text-gray"},EOe={class:"flex items-center justify-between"},$Oe={class:"text-16"},AOe={class:"text-14 text-gray"},IOe={class:"flex items-center justify-between"},MOe={class:"text-16"},zOe={class:"text-14 text-gray"},OOe="data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9IjIwMCIgd2lkdGg9IjIwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDEwIDgpIj48Y2lyY2xlIGN4PSIxNzYiIGN5PSIxMiIgcj0iNCIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMjAuNS41bDIzIDExbS0yOSA4NGwtMy43OSAxMC4zNzdNMjcuMDM3IDEzMS40bDUuODk4IDIuMjAzLTMuNDYgNS45NDcgNi4wNzIgMi4zOTItMy45MzMgNS43NThtMTI4LjczMyAzNS4zN2wuNjkzLTkuMzE2IDEwLjI5Mi4wNTIuNDE2LTkuMjIyIDkuMjc0LjMzMk0uNSA0OC41czYuMTMxIDYuNDEzIDYuODQ3IDE0LjgwNWMuNzE1IDguMzkzLTIuNTIgMTQuODA2LTIuNTIgMTQuODA2TTEyNC41NTUgOTBzLTcuNDQ0IDAtMTMuNjcgNi4xOTJjLTYuMjI3IDYuMTkyLTQuODM4IDEyLjAxMi00LjgzOCAxMi4wMTJtMi4yNCA2OC42MjZzLTQuMDI2LTkuMDI1LTE4LjE0NS05LjAyNS0xOC4xNDUgNS43LTE4LjE0NSA1LjciIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNODUuNzE2IDM2LjE0Nmw1LjI0My05LjUyMWgxMS4wOTNsNS40MTYgOS41MjEtNS40MSA5LjE4NUg5MC45NTN6bTYzLjkwOSAxNS40NzloMTAuNzV2MTAuNzVoLTEwLjc1eiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48ZyBmaWxsPSIjZGRkIj48Y2lyY2xlIGN4PSI3MS41IiBjeT0iNy41IiByPSIxLjUiLz48Y2lyY2xlIGN4PSIxNzAuNSIgY3k9Ijk1LjUiIHI9IjEuNSIvPjxjaXJjbGUgY3g9IjgxLjUiIGN5PSIxMzQuNSIgcj0iMS41Ii8+PGNpcmNsZSBjeD0iMTMuNSIgY3k9IjIzLjUiIHI9IjEuNSIvPjxwYXRoIGQ9Ik05MyA3MWgzdjNoLTN6bTMzIDg0aDN2M2gtM3ptLTg1IDE4aDN2M2gtM3oiLz48L2c+PHBhdGggZD0iTTM5LjM4NCA1MS4xMjJsNS43NTgtNC40NTQgNi40NTMgNC4yMDUtMi4yOTQgNy4zNjNoLTcuNzl6TTEzMC4xOTUgNC4wM2wxMy44MyA1LjA2Mi0xMC4wOSA3LjA0OHptLTgzIDk1bDE0LjgzIDUuNDI5LTEwLjgyIDcuNTU3LTQuMDEtMTIuOTg3ek01LjIxMyAxNjEuNDk1bDExLjMyOCAyMC44OTdMMi4yNjUgMTgweiIgc3Ryb2tlPSIjZGRkIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48cGF0aCBkPSJNMTQ5LjA1IDEyNy40NjhzLS41MSAyLjE4My45OTUgMy4zNjZjMS41NiAxLjIyNiA4LjY0Mi0xLjg5NSAzLjk2Ny03Ljc4NS0yLjM2Ny0yLjQ3Ny02LjUtMy4yMjYtOS4zMyAwLTUuMjA4IDUuOTM2IDAgMTcuNTEgMTEuNjEgMTMuNzMgMTIuNDU4LTYuMjU3IDUuNjMzLTIxLjY1Ni01LjA3My0yMi42NTQtNi42MDItLjYwNi0xNC4wNDMgMS43NTYtMTYuMTU3IDEwLjI2OC0xLjcxOCA2LjkyIDEuNTg0IDE3LjM4NyAxMi40NSAyMC40NzYgMTAuODY2IDMuMDkgMTkuMzMxLTQuMzEgMTkuMzMxLTQuMzEiIHN0cm9rZT0iI2RkZCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2Utd2lkdGg9IjEuMjUiLz48L2c+PC9zdmc+",DOe=me({__name:"index",setup(e){const t=B=>sn.global.t(B),n=kX(),o=new Yu({html:!0}),r=B=>o.render(B),i=wn(),a=Ki(),s=navigator.userAgent.toLowerCase();let l="unknown";s.includes("windows")?l="windows":s.includes("iphone")||s.includes("ipad")?l="ios":s.includes("macintosh")?l="mac":s.includes("android")&&(l="android");const c=N(!1),u=N();Lt(()=>{});const d=N(!1),f=N(!1),p=N(""),h=N(["auto"]),g=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],b=N([]);function m(B){if(B==="auto"||B==="all"&&h.value.includes("all"))h.value=["auto"];else if(B==="all"&&!h.value.includes("all"))h.value=b.value.map($=>$.type).filter($=>$!=="auto");else{const $=h.value.includes(B);h.value=$?h.value.filter(K=>K!==B):[...h.value.filter(K=>K!=="auto"),B],z$(b.value.map(K=>K.type).filter(K=>K!=="auto"&&K!=="all"),h.value)?h.value.push("all"):h.value=h.value.filter(K=>K!=="all")}h.value.length===0&&(h.value=["auto"]),y()}function y(){var $,I,K;const B=h.value;B.includes("all")?p.value=(($=w.value)==null?void 0:$.subscribe_url)+"&types=all":B.includes("auto")?p.value=((I=w.value)==null?void 0:I.subscribe_url)+"&types=auto":p.value=((K=w.value)==null?void 0:K.subscribe_url)+"&types="+h.value.join(",")}function k(B){window.location.href=B}function S(B){return btoa(unescape(encodeURIComponent(B)))}const w=L(()=>a.subscribe);function x(){var K,ne,ve;const B=(K=w.value)==null?void 0:K.transfer_enable,$=((ne=w.value)==null?void 0:ne.u)||0,I=((ve=w.value)==null?void 0:ve.d)||0;return B?Math.floor(($+I)/B*100):0}const{errorColor:C,warningColor:_,successColor:R,primaryColor:E}=n.value;function M(){const B=x();return B>=100?C:B>=70?_:R}function A(){window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"warning",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),async confirm(){var I;const B=(I=w.value)==null?void 0:I.plan_id;if(!B)return;const{data:$}=await SS(B,"reset_price");$&&on.push("order/"+$)}})}const q=N([]);async function F(){const{data:B}=await CZ();q.value=B,B.map($=>{var I;(I=$.tags)!=null&&I.includes("弹窗")&&(c.value=!0,u.value=$)})}const z=N([0,0,0]);async function D(){const{data:B}=await yZ();B&&(z.value=B)}const Y=N(),Q=N();async function ce(){const{data:B}=await wS();if(B){Y.value=B;const I=[...new Set(B.map(K=>{let ne=K.type;return K.type==="hysteria"&&K.version==2&&(ne="hysteria2"),ne}))];Q.value=I,b.value=g.filter(K=>I.includes(K.type)||["auto","all"].includes(K.type))}}function le(){F(),a.getUserSubscribe(),D(),ce()}return cn(()=>{le()}),(B,$)=>{const I=Zr,K=iee,ne=pm,ve=pr,J=eee,ye=ul,j=fS,ge=Un,Ee=hm,Ne=qi,T=Et,P=cl,U=yi,oe=Xj,G=hl,se=HY,xe=YQ,be=UQ,Ce=NQ,we=zQ,Re=EQ,de=fo;return ue(),We(de,{"show-footer":!1},{default:re(()=>{var ee,fe,Oe,Le;return[te(I,{show:c.value,"onUpdate:show":$[0]||($[0]=De=>c.value=De),class:"custom-card",preset:"card",title:(ee=u.value)==null?void 0:ee.title,size:"huge",bordered:!1,style:{width:"600px"},"content-style":"padding-top:0",segmented:{content:!1}},{default:re(()=>{var De;return[H("div",{innerHTML:r(((De=u.value)==null?void 0:De.content)||""),class:"markdown-body custom-html-style"},null,8,Oze)]}),_:1},8,["show","title"]),te(I,{show:d.value,"onUpdate:show":$[15]||($[15]=De=>d.value=De),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:re(()=>[te(ge,{class:"max-w-100% w-300",bordered:!1,size:"huge",contentStyle:"padding:0"},{default:re(()=>[te(Ee,{hoverable:""},{default:re(()=>{var De,$e;return[te(ne,{class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[1]||($[1]=Me=>{var Fe,Be;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&he(ua)((Be=w.value)==null?void 0:Be.subscribe_url)})},[H("div",Dze,[te(K,{class:"text-30 text-#595959"})]),H("div",Lze,ie(B.$t("复制订阅地址")),1)])]),_:1}),(De=Q.value)!=null&&De.includes("hysteria2")?(ue(),We(ne,{key:0,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[2]||($[2]=Me=>{var Fe,Be;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&he(ua)(((Be=w.value)==null?void 0:Be.subscribe_url)+"&types=hysteria2")})},[H("div",Fze,[te(ve,{size:"30"},{default:re(()=>[te(he(Sze))]),_:1})]),H("div",Nze,ie(B.$t("复制HY2订阅地址")),1)])]),_:1})):ut("",!0),($e=Q.value)!=null&&$e.includes("vless")?(ue(),We(ne,{key:1,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[3]||($[3]=Me=>{var Fe,Be;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&he(ua)(((Be=w.value)==null?void 0:Be.subscribe_url)+"&types=vless")})},[Bze,H("div",Hze,ie(B.$t("复制Vless订阅地址")),1)])]),_:1})):ut("",!0),te(ne,{class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[5]||($[5]=Me=>{var Fe;return p.value=((Fe=w.value)==null?void 0:Fe.subscribe_url)||"",f.value=!0})},[H("div",jze,[te(J,{class:"text-30 text-#595959"})]),H("div",Vze,ie(B.$t("扫描二维码订阅")),1),te(I,{show:f.value,"onUpdate:show":$[4]||($[4]=Me=>f.value=Me)},{default:re(()=>[te(ge,{class:"w-300"},{default:re(()=>[H("div",Uze,ie(B.$t("选择协议"))+":",1),H("div",Wze,[(ue(!0),ze(it,null,Bn(b.value,Me=>(ue(),We(ye,{key:Me.type,value:Me.type,checked:h.value.includes(Me.type),onClick:Fe=>m(Me.type)},{default:re(()=>[Je(ie(B.$t(Me.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),H("div",qze,[te(j,{value:p.value,"icon-src":he(i).logo,size:140,color:he(E)},null,8,["value","icon-src","color"])]),H("div",Kze,ie(B.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"])])]),_:1}),["mac"].includes(he(l))?(ue(),We(ne,{key:2,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[6]||($[6]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+w.value.subscribe_url+`&name=${he(i).title}`)})},[Gze,H("div",Yze,ie(B.$t("导入到"))+" ClashX Meta",1)])]),_:1})):ut("",!0),["mac","android","windows"].includes(he(l))?(ue(),We(ne,{key:3,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[7]||($[7]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(he(i).title||"")}`)})},[H("div",Xze,[te(ve,{size:"30"},{default:re(()=>[te(he(zze))]),_:1})]),H("div",Zze,ie(B.$t("导入到"))+" Hiddify Next",1)])]),_:1})):ut("",!0),["android","mac","ios"].includes(he(l))?(ue(),We(ne,{key:4,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[8]||($[8]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("sing-box://import-remote-profile?url="+encodeURIComponent(w.value.subscribe_url)+`#${encodeURIComponent(he(i).title||"")}`)})},[H("div",Jze,[te(ve,{size:"30"},{default:re(()=>[te(he(Eze))]),_:1})]),H("div",Qze,ie(B.$t("导入到"))+" sing-box",1)])]),_:1})):ut("",!0),["mac","ios"].includes(he(l))?(ue(),We(ne,{key:5,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[9]||($[9]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("shadowrocket://add/sub://"+S(w.value.subscribe_url).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")+`?remark=${he(i).title}`)})},[eOe,H("div",tOe,ie(B.$t("导入到"))+" Shadowsocket",1)])]),_:1})):ut("",!0),["mac","ios"].includes(he(l))?(ue(),We(ne,{key:6,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[10]||($[10]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("stash://install-config?url="+encodeURIComponent(w.value.subscribe_url)+`&name=${he(i).title}`)})},[nOe,H("div",oOe,ie(B.$t("导入到"))+" Stash",1)])]),_:1})):ut("",!0),["android"].includes(he(l))?(ue(),We(ne,{key:7,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[11]||($[11]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[rOe,H("div",iOe,ie(B.$t("导入到"))+" NekoBox",1)])]),_:1})):ut("",!0),["android"].includes(he(l))?(ue(),We(ne,{key:8,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[12]||($[12]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[aOe,H("div",sOe,ie(B.$t("导入到"))+" Clash Meta",1)])]),_:1})):ut("",!0),["windows"].includes(he(l))?(ue(),We(ne,{key:9,class:"p-0!"},{default:re(()=>[H("div",{class:"flex cursor-pointer items-center pb-10 pl-20 pr-20 pt-10",onClick:$[13]||($[13]=Me=>{var Fe;return((Fe=w.value)==null?void 0:Fe.subscribe_url)&&k("clash://install-config?url="+(w.value.subscribe_url+"&types=hysteria2")+`&name=${he(i).title}`)})},[lOe,H("div",cOe,ie(B.$t("导入到"))+" Clash",1)])]),_:1})):ut("",!0)]}),_:1}),te(Ne,{class:"m-0!"}),H("div",uOe,[te(T,{type:"primary",class:"w-100%",size:"large",onClick:$[14]||($[14]=De=>B.$router.push("/knowledge"))},{default:re(()=>[Je(ie(B.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),H("div",dOe,[z.value[1]&&z.value[1]>0||z.value[0]&&z.value[0]>0?(ue(),ze("div",fOe,[z.value[1]&&z.value[1]>0?(ue(),We(P,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(z.value[1])+" "+ie(B.$t("条工单正在处理中"))+" ",1),te(T,{strong:"",text:"",onClick:$[16]||($[16]=De=>he(on).push("/ticket"))},{default:re(()=>[Je(ie(B.$t("立即查看")),1)]),_:1})]),_:1})):ut("",!0),z.value[0]&&z.value[0]>0?(ue(),We(P,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(B.$t("还有没支付的订单"))+" ",1),te(T,{text:"",strong:"",onClick:$[17]||($[17]=De=>he(on).push("/order"))},{default:re(()=>[Je(ie(B.$t("立即支付")),1)]),_:1})]),_:1})):ut("",!0),!((fe=w.value)!=null&&fe.expired_at&&(((Oe=w.value)==null?void 0:Oe.expired_at)||0)>Date.now()/1e3)&&x()>=70?(ue(),We(P,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-5"},{default:re(()=>[Je(ie(B.$tc("当前已使用流量达{rate}%",{rate:x()}))+" ",1),te(T,{text:"",onClick:$[18]||($[18]=De=>A())},{default:re(()=>[H("span",hOe,ie(B.$t("重置已用流量")),1)]),_:1})]),_:1})):ut("",!0)])):ut("",!0),Cn(te(ge,{class:"w-100% cursor-pointer overflow-hidden border-rounded-5 text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:re(()=>[te(oe,null,{default:re(()=>[(ue(!0),ze(it,null,Bn(q.value,De=>(ue(),ze("div",{key:De.id,class:"",style:Ho(De.img_url?`background:url(${De.img_url}) no-repeat;background-size: cover `:`background:url(${OOe})`),onClick:$e=>(c.value=!0,u.value=De)},[H("div",{class:"carousel-img flex flex-col justify-between p-20",style:Ho({background:"rgba(0, 0, 0, 0.5) !important"})},[H("div",null,[te(U,{bordered:!1,class:"bg-#e04f1a text-12 color-white"},{default:re(()=>[Je(ie(B.$t("公告")),1)]),_:1})]),H("div",null,[H("p",mOe,ie(De.title),1),H("p",gOe,ie(he(jo)(De.created_at)),1)])],4)],12,pOe))),128))]),_:1})]),_:1},512),[[Jn,((Le=q.value)==null?void 0:Le.length)>0]]),te(ge,{title:B.$t("我的订阅"),class:"mt-5 border-rounded-5 md:m-t-20"},{default:re(()=>{var De,$e,Me,Fe,Be,ot,xt,X,pe,Te,Ke,Xe,Ze,tt,rt,yt;return[w.value?(De=w.value)!=null&&De.plan_id?(ue(),ze(it,{key:1},[H("div",vOe,ie((Me=($e=w.value)==null?void 0:$e.plan)==null?void 0:Me.name),1),((Fe=w.value)==null?void 0:Fe.expired_at)===null?(ue(),ze("div",bOe,ie(B.$t("该订阅长期有效")),1)):(Be=w.value)!=null&&Be.expired_at&&(((ot=w.value)==null?void 0:ot.expired_at)??0)(((Te=w.value)==null?void 0:Te.reset_day)||0)?(ue(),ze(it,{key:0},[Je(ie(B.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(Ke=w.value)==null?void 0:Ke.reset_day})),1)],64)):ut("",!0)])),te(se,{type:"line",percentage:x(),processing:"",color:M()},null,8,["percentage","color"]),H("div",null,ie(B.$tc("已用 {used} / 总计 {total}",{used:he(aa)(((((Xe=w.value)==null?void 0:Xe.u)||0)+(((Ze=w.value)==null?void 0:Ze.d)||0))/1024/1024/1024)+" GB",total:he(aa)((((tt=w.value)==null?void 0:tt.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(rt=w.value)!=null&&rt.expired_at&&(((yt=w.value)==null?void 0:yt.expired_at)||0)he(on).push("/plan/"+he(a).plan_id))},{default:re(()=>[Je(ie(B.$t("续费订阅")),1)]),_:1})):x()>=70?(ue(),We(T,{key:4,type:"primary",class:"mt-20",onClick:$[20]||($[20]=nn=>A())},{default:re(()=>[Je(ie(B.$t("重置已用流量")),1)]),_:1})):ut("",!0)],64)):(ue(),ze("div",{key:2,class:"cursor-pointer pt-20 text-center",onClick:$[21]||($[21]=nn=>he(on).push("/plan"))},[te(xe,{class:"text-40"}),H("div",COe,ie(B.$t("购买订阅")),1)])):(ue(),ze(it,{key:0},[te(G,{text:"",repeat:1,class:"w-60%"}),te(G,{text:"",repeat:1,class:"w-80%"}),te(G,{text:"",repeat:1})],64))]}),_:1},8,["title"]),te(ge,{title:B.$t("捷径"),class:"m-t-20 border-rounded-5","content-style":"padding: 0"},{default:re(()=>[te(Ee,{hoverable:"",clickable:""},{default:re(()=>[te(ne,{class:"flex flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[22]||($[22]=De=>he(on).push("/knowledge"))},{default:re(()=>[H("div",wOe,[H("div",_Oe,[H("div",SOe,ie(B.$t("查看教程")),1),H("div",kOe,ie(B.$t("学习如何使用"))+" "+ie(he(i).title),1)]),H("div",null,[te(be,{class:"text-30 color-gray-500"})])])]),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19 hover:bg-#f6f6f6",onClick:$[23]||($[23]=De=>d.value=!0)},{default:re(()=>[H("div",TOe,[H("div",null,[H("div",POe,ie(B.$t("一键订阅")),1),H("div",ROe,ie(B.$t("快速将节点导入对应客户端进行使用")),1)]),H("div",null,[te(Ce,{class:"text-30 color-gray-500"})])])]),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[24]||($[24]=De=>he(a).plan_id?he(on).push("/plan/"+he(a).plan_id):he(on).push("/plan"))},{default:re(()=>{var De;return[H("div",EOe,[H("div",null,[H("div",$Oe,ie((De=w.value)!=null&&De.plan_id?B.$t("续费订阅"):B.$t("购买订阅")),1),H("div",AOe,ie(B.$t("对您当前的订阅进行购买")),1)]),H("div",null,[te(we,{class:"text-30 color-gray-500"})])])]}),_:1}),te(ne,{class:"flex cursor-pointer justify-between p-19",onClick:$[25]||($[25]=De=>B.$router.push("/ticket"))},{default:re(()=>[H("div",IOe,[H("div",null,[H("div",MOe,ie(B.$t("遇到问题")),1),H("div",zOe,ie(B.$t("遇到问题可以通过工单与我们沟通")),1)]),H("div",null,[te(Re,{class:"text-30 color-gray-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),LOe=Nu(DOe,[["__scopeId","data-v-179cfe78"]]),FOe=Object.freeze(Object.defineProperty({__proto__:null,default:LOe},Symbol.toStringTag,{value:"Module"})),NOe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},BOe=H("path",{fill:"currentColor",d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372s372 166.6 372 372s-166.6 372-372 372m159.6-585h-59.5c-3 0-5.8 1.7-7.1 4.4l-90.6 180H511l-90.6-180a8 8 0 0 0-7.1-4.4h-60.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.9L457 515.7h-61.4c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V603h-81.7c-4.4 0-8 3.6-8 8v29.9c0 4.4 3.6 8 8 8h81.7V717c0 4.4 3.6 8 8 8h54.3c4.4 0 8-3.6 8-8v-68.1h82c4.4 0 8-3.6 8-8V611c0-4.4-3.6-8-8-8h-82v-41.5h82c4.4 0 8-3.6 8-8v-29.9c0-4.4-3.6-8-8-8h-62l111.1-204.8c.6-1.2 1-2.5 1-3.8c-.1-4.4-3.7-8-8.1-8"},null,-1),HOe=[BOe];function jOe(e,t){return ue(),ze("svg",NOe,[...HOe])}const VOe={name:"ant-design-pay-circle-outlined",render:jOe},UOe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},WOe=H("path",{fill:"currentColor",d:"M668.6 320c0-4.4-3.6-8-8-8h-54.5c-3 0-5.8 1.7-7.1 4.4l-84.7 168.8H511l-84.7-168.8a8 8 0 0 0-7.1-4.4h-55.7c-1.3 0-2.6.3-3.8 1c-3.9 2.1-5.3 7-3.2 10.8l103.9 191.6h-57c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76v39h-76c-4.4 0-8 3.6-8 8v27.1c0 4.4 3.6 8 8 8h76V704c0 4.4 3.6 8 8 8h49.9c4.4 0 8-3.6 8-8v-63.5h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8h-76.3v-39h76.3c4.4 0 8-3.6 8-8v-27.1c0-4.4-3.6-8-8-8H564l103.7-191.6c.5-1.1.9-2.4.9-3.7M157.9 504.2a352.7 352.7 0 0 1 103.5-242.4c32.5-32.5 70.3-58.1 112.4-75.9c43.6-18.4 89.9-27.8 137.6-27.8c47.8 0 94.1 9.3 137.6 27.8c42.1 17.8 79.9 43.4 112.4 75.9c10 10 19.3 20.5 27.9 31.4l-50 39.1a8 8 0 0 0 3 14.1l156.8 38.3c5 1.2 9.9-2.6 9.9-7.7l.8-161.5c0-6.7-7.7-10.5-12.9-6.3l-47.8 37.4C770.7 146.3 648.6 82 511.5 82C277 82 86.3 270.1 82 503.8a8 8 0 0 0 8 8.2h60c4.3 0 7.8-3.5 7.9-7.8M934 512h-60c-4.3 0-7.9 3.5-8 7.8a352.7 352.7 0 0 1-103.5 242.4a352.57 352.57 0 0 1-112.4 75.9c-43.6 18.4-89.9 27.8-137.6 27.8s-94.1-9.3-137.6-27.8a352.57 352.57 0 0 1-112.4-75.9c-10-10-19.3-20.5-27.9-31.4l49.9-39.1a8 8 0 0 0-3-14.1l-156.8-38.3c-5-1.2-9.9 2.6-9.9 7.7l-.8 161.7c0 6.7 7.7 10.5 12.9 6.3l47.8-37.4C253.3 877.7 375.4 942 512.5 942C747 942 937.7 753.9 942 520.2a8 8 0 0 0-8-8.2"},null,-1),qOe=[WOe];function KOe(e,t){return ue(),ze("svg",UOe,[...qOe])}const GOe={name:"ant-design-transaction-outlined",render:KOe},YOe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},XOe=H("path",{fill:"currentColor",d:"M19 17v2H7v-2s0-4 6-4s6 4 6 4m-3-9a3 3 0 1 0-3 3a3 3 0 0 0 3-3m3.2 5.06A5.6 5.6 0 0 1 21 17v2h3v-2s0-3.45-4.8-3.94M18 5a2.91 2.91 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.91 2.91 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),ZOe=[XOe];function JOe(e,t){return ue(),ze("svg",YOe,[...ZOe])}const QOe={name:"mdi-invite",render:JOe},eDe={class:"text-50 font-400"},tDe={class:"m-l-10 text-20 text-#6c757d md:m-l20"},nDe={class:"text-#6c757d"},oDe={class:"flex justify-between p-b-5 p-t-5"},rDe={class:"flex justify-between p-b-5 p-t-5"},iDe={key:0},aDe={key:1},sDe={class:"flex justify-between p-b-5 p-t-5"},lDe={class:"flex justify-between p-b-5 p-t-5"},cDe={class:"m-t-10"},uDe={class:"m-b-5"},dDe={class:"m-t-10"},fDe={class:"m-b-5"},hDe={class:"flex justify-end"},pDe={class:"m-t-10"},mDe={class:"m-b-5"},gDe={class:"m-t-10"},vDe={class:"m-b-5"},bDe={class:"flex justify-end"},yDe=me({__name:"index",setup(e){const t=wn(),n=x=>sn.global.t(x),o=[{title:n("邀请码"),key:"code",render(x){const C=`${window.location.protocol}//${window.location.host}/#/register?code=${x.code}`;return v("div",[v("span",x.code),v(Et,{size:"small",onClick:()=>ua(C),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(x){return jo(x.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(x){return jo(x.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(x){return an(x.get_amount)}}],i=N(),a=N([]);async function s(){const x=await kZ(),{data:C}=x;i.value=C.codes,a.value=C.stat}const l=N([]),c=xo({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:x=>{c.page=x,u()},onUpdatePageSize:x=>{c.pageSize=x,c.page=1,u()}});async function u(){const x=await TZ(c.page,c.pageSize),{data:C}=x;l.value=C}const d=N(!1);async function f(){d.value=!0;const{data:x}=await PZ();x===!0&&(window.$message.success(n("已生成")),w()),d.value=!1}const p=N(!1),h=N(),g=N(!1);async function b(){g.value=!0;const x=h.value;if(typeof x!="number"){window.$message.error(n("请输入正确的划转金额")),g.value=!1;return}const{data:C}=await RZ(x*100);C===!0&&(window.$message.success(n("划转成功")),p.value=!1,s()),g.value=!1}const m=N(!1),y=xo({method:null,account:null}),k=N(!1);async function S(){if(k.value=!0,!y.method){window.$message.error(n("提现方式不能为空")),k.value=!1;return}if(!y.account){window.$message.error(n("提现账号不能为空")),k.value=!1;return}const x=y.method,C=y.account,{data:_}=await EZ({withdraw_method:x,withdraw_account:C});_===!0&&on.push("/ticket"),k.value=!1}function w(){s(),u()}return cn(()=>{w()}),(x,C)=>{const _=QOe,R=CV,E=GOe,M=VOe,A=Ua,q=Un,F=zu,z=cl,D=_o,Y=BG,Q=Zr,ce=PS,le=$u,B=fo;return ue(),We(B,null,{default:re(()=>[te(q,{title:x.$t("我的邀请"),class:"border-rounded-5"},{"header-extra":re(()=>[te(_,{class:"text-40 text-gray"})]),default:re(()=>{var $;return[H("div",null,[H("span",eDe,[te(R,{from:0,to:parseFloat(he(an)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),H("span",tDe,ie(($=he(t).appConfig)==null?void 0:$.currency),1)]),H("div",nDe,ie(x.$t("当前剩余佣金")),1),te(A,{class:"m-t-10"},{default:re(()=>{var I;return[te(he(Et),{size:"small",type:"primary",onClick:C[0]||(C[0]=K=>p.value=!0)},{icon:re(()=>[te(E)]),default:re(()=>[Je(" "+ie(x.$t("划转")),1)]),_:1}),(I=he(t).appConfig)!=null&&I.withdraw_close?ut("",!0):(ue(),We(he(Et),{key:0,size:"small",type:"primary",onClick:C[1]||(C[1]=K=>m.value=!0)},{icon:re(()=>[te(M)]),default:re(()=>[Je(" "+ie(x.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),te(q,{class:"m-t-15 border-rounded-5"},{default:re(()=>{var $,I,K,ne,ve,J;return[H("div",oDe,[H("div",null,ie(x.$t("已注册用户数")),1),H("div",null,ie(x.$tc("{number} 人",{number:a.value[0]})),1)]),H("div",rDe,[H("div",null,ie(x.$t("佣金比例")),1),($=he(t).appConfig)!=null&&$.commission_distribution_enable?(ue(),ze("div",iDe,ie(`${Math.floor((((I=he(t).appConfig)==null?void 0:I.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((K=he(t).appConfig)==null?void 0:K.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((ne=he(t).appConfig)==null?void 0:ne.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(ue(),ze("div",aDe,ie(a.value[3])+"%",1))]),H("div",sDe,[H("div",null,ie(x.$t("确认中的佣金")),1),H("div",null,ie((ve=he(t).appConfig)==null?void 0:ve.currency_symbol)+" "+ie(he(an)(a.value[2])),1)]),H("div",lDe,[H("div",null,ie(x.$t("累计获得佣金")),1),H("div",null,ie((J=he(t).appConfig)==null?void 0:J.currency_symbol)+" "+ie(he(an)(a.value[1])),1)])]}),_:1}),te(q,{title:x.$t("邀请码管理"),class:"m-t-15 border-rounded-5"},{"header-extra":re(()=>[te(he(Et),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:re(()=>[Je(ie(x.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:re(()=>[te(F,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),te(q,{title:x.$t("佣金发放记录"),class:"m-t-15 border-rounded-5"},{default:re(()=>[te(F,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),te(Q,{show:p.value,"onUpdate:show":C[6]||(C[6]=$=>p.value=$)},{default:re(()=>[te(q,{title:x.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100% w-600",closable:"",onClose:C[5]||(C[5]=$=>p.value=!1)},{footer:re(()=>[H("div",hDe,[H("div",null,[te(he(Et),{onClick:C[3]||(C[3]=$=>p.value=!1)},{default:re(()=>[Je(ie(x.$t("取消")),1)]),_:1}),te(he(Et),{type:"primary",class:"ml-10",onClick:C[4]||(C[4]=$=>b()),loading:g.value,disabled:g.value},{default:re(()=>[Je(ie(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:re(()=>[te(z,{type:"warning"},{default:re(()=>[Je(ie(x.$tc("划转后的余额仅用于{title}消费使用",{title:he(t).title})),1)]),_:1}),H("div",cDe,[H("div",uDe,ie(x.$t("当前推广佣金余额")),1),te(D,{placeholder:he(an)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),H("div",dDe,[H("div",fDe,ie(x.$t("划转金额")),1),te(Y,{value:h.value,"onUpdate:value":C[2]||(C[2]=$=>h.value=$),min:0,placeholder:x.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),te(Q,{show:m.value,"onUpdate:show":C[12]||(C[12]=$=>m.value=$)},{default:re(()=>[te(q,{title:x.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"max-w-100% w-600"},{"header-extra":re(()=>[te(he(Et),{class:"h-auto p-2",tertiary:"",size:"large",onClick:C[7]||(C[7]=$=>m.value=!1)},{icon:re(()=>[te(ce,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:re(()=>[H("div",bDe,[H("div",null,[te(he(Et),{onClick:C[10]||(C[10]=$=>m.value=!1)},{default:re(()=>[Je(ie(x.$t("取消")),1)]),_:1}),te(he(Et),{type:"primary",class:"ml-10",onClick:C[11]||(C[11]=$=>S()),loading:k.value,disabled:k.value},{default:re(()=>[Je(ie(x.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:re(()=>{var $;return[H("div",pDe,[H("div",mDe,ie(x.$t("提现方式")),1),te(le,{value:y.method,"onUpdate:value":C[8]||(C[8]=I=>y.method=I),options:($=he(t).appConfig)==null?void 0:$.withdraw_methods.map(I=>({label:I,value:I})),placeholder:x.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),H("div",gDe,[H("div",vDe,ie(x.$t("提现账号")),1),te(D,{value:y.account,"onUpdate:value":C[9]||(C[9]=I=>y.account=I),placeholder:x.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),xDe=Object.freeze(Object.defineProperty({__proto__:null,default:yDe},Symbol.toStringTag,{value:"Module"})),CDe={class:""},wDe={class:"mb-4 text-16 font-600"},_De={class:"text-12 text-gray"},SDe=["innerHTML"],kDe=me({__name:"index",setup(e){const t=wn(),n=new Yu({html:!0}),o=f=>n.render(f);window.copy=f=>ua(f),window.jump=f=>a(f);const r=N(!1),i=N();async function a(f){const{data:p}=await VZ(f,t.lang);p&&(i.value=p),r.value=!0}const s=N(""),l=N(!0),c=N();async function u(){l.value=!0;const f=s.value,{data:p}=await jZ(f,t.lang);c.value=p,l.value=!1}function d(){u()}return cn(()=>{d()}),(f,p)=>{const h=_o,g=Et,b=Ru,m=hl,y=Ua,k=pm,S=hm,w=Un,x=uq,C=F2,_=fo;return ue(),We(_,{"show-footer":!1},{default:re(()=>[te(b,null,{default:re(()=>[te(h,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":p[0]||(p[0]=R=>s.value=R),onKeyup:p[1]||(p[1]=ba(R=>d(),["enter"]))},null,8,["placeholder","value"]),te(g,{type:"primary",ghost:"",onClick:p[2]||(p[2]=R=>d())},{default:re(()=>[Je(ie(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(ue(),We(y,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(m,{height:"20px",width:"33%"}),te(m,{height:"20px",width:"66%"}),te(m,{height:"20px"})]),_:1})):ut("",!0),(ue(!0),ze(it,null,Bn(c.value,(R,E)=>(ue(),We(w,{key:E,title:E,class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:re(()=>[te(S,{clickable:"",hoverable:""},{default:re(()=>[(ue(!0),ze(it,null,Bn(R,M=>(ue(),We(k,{key:M.id,onClick:A=>a(M.id)},{default:re(()=>[H("div",CDe,[H("div",wDe,ie(M.title),1),H("div",_De,ie(f.$t("最后更新"))+" "+ie(he(bp)(M.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),te(C,{show:r.value,"onUpdate:show":p[3]||(p[3]=R=>r.value=R),width:"80%",placement:"right"},{default:re(()=>{var R;return[te(x,{title:(R=i.value)==null?void 0:R.title,closable:""},{default:re(()=>{var E;return[H("div",{innerHTML:o(((E=i.value)==null?void 0:E.body)||""),class:"custom-html-style markdown-body"},null,8,SDe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),TDe=Object.freeze(Object.defineProperty({__proto__:null,default:kDe},Symbol.toStringTag,{value:"Module"})),PDe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},RDe=H("path",{fill:"currentColor",d:"M11 18h2v-2h-2zm1-16A10 10 0 0 0 2 12a10 10 0 0 0 10 10a10 10 0 0 0 10-10A10 10 0 0 0 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8s8 3.59 8 8s-3.59 8-8 8m0-14a4 4 0 0 0-4 4h2a2 2 0 0 1 2-2a2 2 0 0 1 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5a4 4 0 0 0-4-4"},null,-1),EDe=[RDe];function $De(e,t){return ue(),ze("svg",PDe,[...EDe])}const ADe={name:"mdi-help-circle-outline",render:$De},IDe={class:"flex"},MDe={class:"flex-[1]"},zDe={class:"flex flex-[3] text-center"},ODe={class:"flex flex-1 items-center justify-center"},DDe={class:"flex flex-1 items-center justify-center"},LDe={class:"flex-1"},FDe={class:"flex"},NDe={class:"flex-[1]"},BDe={class:"flex flex-[3] text-center"},HDe={class:"flex flex-[1] items-center justify-center"},jDe={class:"flex-[1]"},VDe={class:"flex-[1]"},UDe={key:0},WDe={key:1},qDe=me({__name:"index",setup(e){const t=N([]),n=N(!0);async function o(){n.value=!0;const r=await wS(),{data:i}=r;t.value=i,n.value=!1}return cn(()=>{o()}),(r,i)=>{const a=hl,s=Ua,l=ADe,c=Iu,u=yi,d=pm,f=hm,p=Ia("router-link"),h=cl,g=fo;return ue(),We(g,null,{default:re(()=>[n.value?(ue(),We(s,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(a,{height:"20px",width:"33%"}),te(a,{height:"20px",width:"66%"}),te(a,{height:"20px"})]),_:1})):t.value.length>0?(ue(),We(f,{key:1,clickable:"",hoverable:""},{header:re(()=>[H("div",IDe,[H("div",MDe,ie(r.$t("名称")),1),H("div",zDe,[H("div",ODe,[Je(ie(r.$t("状态"))+" ",1),te(c,{placement:"bottom",trigger:"hover"},{trigger:re(()=>[te(l,{class:"m-l-3 text-16"})]),default:re(()=>[H("span",null,ie(r.$t("五分钟内节点在线情况")),1)]),_:1})]),H("div",DDe,[Je(ie(r.$t("倍率"))+" ",1),te(c,{placement:"bottom",trigger:"hover"},{trigger:re(()=>[te(l,{class:"m-l-3 text-16"})]),default:re(()=>[H("span",null,ie(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),H("div",LDe,ie(r.$t("标签")),1)])])]),default:re(()=>[(ue(!0),ze(it,null,Bn(t.value,b=>(ue(),We(d,{key:b.id},{default:re(()=>[H("div",FDe,[H("div",NDe,ie(b.name),1),H("div",BDe,[H("div",HDe,[H("div",{class:ar(["h-6 w-6 rounded-full",b.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),H("div",jDe,[te(u,{size:"small",round:"",class:""},{default:re(()=>[Je(ie(b.rate)+" x ",1)]),_:2},1024)]),H("div",VDe,[b.tags&&b.tags.length>0?(ue(),ze("div",UDe,[(ue(!0),ze(it,null,Bn(b.tags,m=>(ue(),We(u,{size:"small",round:"",key:m},{default:re(()=>[Je(ie(m),1)]),_:2},1024))),128))])):(ue(),ze("span",WDe,"-"))])])])]),_:2},1024))),128))]),_:1})):(ue(),We(h,{key:2,type:"info"},{default:re(()=>[H("div",null,[Je(ie(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),te(p,{class:"font-600",to:"/plan"},{default:re(()=>[Je(ie(r.$t("订阅")),1)]),_:1}),Je("。")])]),_:1}))]),_:1})}}}),KDe=Object.freeze(Object.defineProperty({__proto__:null,default:qDe},Symbol.toStringTag,{value:"Module"})),GDe=me({__name:"index",setup(e){const t=c=>sn.global.t(c),n={0:t("待支付"),1:t("开通中"),2:t("已取消"),3:t("已完成"),4:t("已折抵")},o={month_price:t("月付"),quarter_price:t("季付"),half_year_price:t("半年付"),year_price:t("年付"),two_year_price:t("两年付"),three_year_price:t("三年付"),onetime_price:t("一次性"),reset_price:t("流量重置包")},r=[{title:t("# 订单号"),key:"trade_no",render(c){return v(Et,{text:!0,class:"color-primary",onClick:()=>on.push(`/order/${c.trade_no}`)},{default:()=>c.trade_no})}},{title:t("周期"),key:"period",render(c){return v(yi,{round:!0,size:"small"},{default:()=>o[c.period]})}},{title:t("订单金额"),key:"total_amount",render(c){return an(c.total_amount)}},{title:t("订单状态"),key:"status",render(c){const u=n[c.status],d=v("div",{class:["h-6 w-6 rounded-full mr-5",c.status===3?"bg-green-500":"bg-red-500"]});return v("div",{class:"flex items-center"},[d,u])}},{title:t("创建时间"),key:"created_at",render(c){return jo(c.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(c){const u=v(Et,{text:!0,type:"primary",onClick:()=>on.push(`/order/${c.trade_no}`)},{default:()=>t("查看详情")}),d=v(Et,{text:!0,type:"primary",disabled:c.status!==0,onClick:()=>i(c.trade_no)},{default:()=>t("取消")}),f=v(qi,{vertical:!0});return v("div",[u,f,d])}}];async function i(c){window.$dialog.confirm({title:t("注意"),type:"warning",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:u}=await wm(c);u===!0&&(window.$message.success(t("取消成功")),l())}})}const a=N([]);async function s(){const c=await _S(),{data:u}=c;a.value=u}async function l(){s()}return cn(()=>{l()}),(c,u)=>{const d=zu,f=fo;return ue(),We(f,null,{default:re(()=>[te(d,{columns:r,data:a.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),YDe=Object.freeze(Object.defineProperty({__proto__:null,default:GDe},Symbol.toStringTag,{value:"Module"})),XDe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},ZDe=H("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[H("path",{d:"M24 42c9.941 0 18-8.059 18-18S33.941 6 24 6S6 14.059 6 24s8.059 18 18 18m0 2c11.046 0 20-8.954 20-20S35.046 4 24 4S4 12.954 4 24s8.954 20 20 20"}),H("path",{d:"M34.67 16.259a1 1 0 0 1 .072 1.412L21.386 32.432l-8.076-7.709a1 1 0 0 1 1.38-1.446l6.59 6.29L33.259 16.33a1 1 0 0 1 1.413-.07"})],-1),JDe=[ZDe];function QDe(e,t){return ue(),ze("svg",XDe,[...JDe])}const XS={name:"healthicons-yes-outline",render:QDe},eLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},tLe=H("path",{fill:"currentColor",d:"M952.08 1.552L529.039 116.144c-10.752 2.88-34.096 2.848-44.815-.16L72.08 1.776C35.295-8.352-.336 18.176-.336 56.048V834.16c0 32.096 24.335 62.785 55.311 71.409l412.16 114.224c11.025 3.055 25.217 4.751 39.937 4.751c10.095 0 25.007-.784 38.72-4.528l423.023-114.592c31.056-8.4 55.504-39.024 55.504-71.248V56.048c.016-37.84-35.616-64.464-72.24-54.496zM479.999 956.943L71.071 843.887c-3.088-.847-7.408-6.496-7.408-9.712V66.143L467.135 177.68c3.904 1.088 8.288 1.936 12.864 2.656zm480.336-122.767c0 3.152-5.184 8.655-8.256 9.503L544 954.207v-775.92c.592-.144 1.2-.224 1.792-.384L960.32 65.775v768.4h.016zM641.999 366.303c2.88 0 5.81-.367 8.69-1.184l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.128 16.815 23.344 30.783 23.344m.002 192.001c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473c-4.783-17.008-22.56-26.88-39.472-22.16l-223.936 63.025c-17.024 4.816-26.944 22.464-22.16 39.457c3.968 14.127 16.815 23.36 30.783 23.36m.002 192c2.88 0 5.81-.368 8.69-1.185l223.935-63.024c17.025-4.816 26.945-22.465 22.16-39.473s-22.56-26.88-39.472-22.16L633.38 687.487c-17.024 4.816-26.944 22.464-22.16 39.472c3.968 14.113 16.815 23.345 30.783 23.345M394.629 303.487l-223.934-63.025c-16.912-4.72-34.688 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.937 63.024a31.827 31.827 0 0 0 8.687 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999l-223.934-63.025c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-16.993-5.12-34.657-22.16-39.473m.002 191.999L170.699 624.46c-16.912-4.72-34.689 5.152-39.473 22.16s5.12 34.656 22.16 39.473l223.936 63.024a31.827 31.827 0 0 0 8.688 1.184c13.968 0 26.815-9.215 30.783-23.343c4.784-17.008-5.12-34.657-22.16-39.473"},null,-1),nLe=[tLe];function oLe(e,t){return ue(),ze("svg",eLe,[...nLe])}const rLe={name:"simple-line-icons-book-open",render:oLe},iLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},aLe=H("path",{fill:"currentColor",d:"M10 2c-4.42 0-8 3.58-8 8s3.58 8 8 8s8-3.58 8-8s-3.58-8-8-8m-.615 12.66h-1.34l-3.24-4.54l1.341-1.25l2.569 2.4l5.141-5.931l1.34.94z"},null,-1),sLe=[aLe];function lLe(e,t){return ue(),ze("svg",iLe,[...sLe])}const cLe={name:"dashicons-yes-alt",render:lLe},uLe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},dLe=H("path",{fill:"currentColor",d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8s-8-3.58-8-8s3.58-8 8-8m1.13 9.38l.35-6.46H8.52l.35 6.46zm-.09 3.36c.24-.23.37-.55.37-.96c0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35s-.82.12-1.07.35s-.37.55-.37.97c0 .41.13.73.38.96c.26.23.61.34 1.06.34s.8-.11 1.05-.34"},null,-1),fLe=[dLe];function hLe(e,t){return ue(),ze("svg",uLe,[...fLe])}const pLe={name:"dashicons-warning",render:hLe},mLe={class:"p-20"},gLe={class:"p-10 text-center"},vLe={key:1,class:"flex flex-wrap"},bLe={class:"w-100% md:flex-[2]"},yLe={key:2,class:"mt-10 text-22"},xLe={key:3,class:"text-14 text-[rgba(0,0,0,0.45)]"},CLe={class:"flex"},wLe={class:"flex-[1] text-#49505799"},_Le={class:"flex-[2]"},SLe={class:"flex"},kLe={class:"m-t-5 flex-[1] text-#49505799"},TLe={class:"flex-[2]"},PLe={class:"flex"},RLe={class:"m-b-5 m-t-5 flex-[1] text-#49505799"},ELe={class:"flex-[2]"},$Le={class:"flex"},ALe={class:"flex-[1] text-#49505799"},ILe={class:"flex-[2]"},MLe={key:0,class:"flex"},zLe={class:"flex-[1] text-#49505799"},OLe={class:"flex-[2]"},DLe={key:1,class:"flex"},LLe={class:"flex-[1] text-#49505799"},FLe={class:"flex-[2]"},NLe={key:2,class:"flex"},BLe={class:"flex-[1] text-#49505799"},HLe={class:"flex-[2]"},jLe={key:3,class:"flex"},VLe={class:"flex-[1] text-#49505799"},ULe={class:"flex-[2]"},WLe={key:4,class:"flex"},qLe={class:"flex-[1] text-#49505799"},KLe={class:"flex-[2]"},GLe={class:"flex"},YLe={class:"m-t-5 flex-[1] text-#49505799"},XLe={class:"flex-[2]"},ZLe=["onClick"],JLe={class:"flex-[1]"},QLe={class:"max-h-30 flex-[1]"},e9e=["src"],t9e={key:0,class:"w-100% md:flex-[1] md:pl-20"},n9e={class:"mt-20 border-rounded-5 bg-#2f3135 p-20 color-white"},o9e={class:"text-18 font-600"},r9e={class:"flex border-#646669 border-b-solid pb-16 pt-16"},i9e={class:"flex-[2]"},a9e={class:"flex-[1] text-right color-#f8f9fa"},s9e={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},l9e={class:"color-#f8f9fa41"},c9e={class:"pt-16 text-right"},u9e={key:1,class:"border-[#646669] border-b-solid pb-16 pt-16"},d9e={class:"color-#f8f9fa41"},f9e={class:"pt-16 text-right"},h9e={key:2,class:"border-[#646669] border-b-solid pb-16 pt-16"},p9e={class:"color-#f8f9fa41"},m9e={class:"pt-16 text-right"},g9e={key:3,class:"border-[#646669] border-b-solid pb-16 pt-16"},v9e={class:"color-#f8f9fa41"},b9e={class:"pt-16 text-right"},y9e={key:4,class:"border-[#646669] border-b-solid pb-16 pt-16"},x9e={class:"color-#f8f9fa41"},C9e={class:"pt-16 text-right"},w9e={class:"pb-16 pt-16"},_9e={class:"color-#f8f9fa41"},S9e={class:"text-36 font-600"},k9e=me({__name:"detail",setup(e){const t=wn(),n=Ki(),o=$i(),r=_=>sn.global.t(_),i={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")};function a(_){switch(_){case 1:return{icon:"info",title:r("开通中"),subTitle:r("订单系统正在进行处理,请稍等1-3分钟。")};case 2:return{icon:"info",title:r("已取消"),subTitle:r("订单由于超时支付已被取消。")};case 3:case 4:return{icon:"info",title:r("已完成"),subTitle:r("订单已支付并开通。")}}return{icon:"error",title:r("意料之外"),subTitle:r("意料之外的状态")}}async function s(){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:_}=await wm(l.value);_===!0&&(window.$message.success(r("取消成功")),C())}})}const l=N(""),c=N(),u=N(),d=N(!0);async function f(){d.value=!0;const{data:_}=await _Z(l.value);c.value=_,_.status===0&&(g(),u.value=setInterval(w,1500)),d.value=!1}const p=N([]),h=N(0);async function g(){const{data:_}=await MZ();p.value=_}function b(){var R,E,M,A,q;return((R=c.value)==null?void 0:R.plan[c.value.period])-(((E=c.value)==null?void 0:E.balance_amount)||0)-(((M=c.value)==null?void 0:M.surplus_amount)||0)+(((A=c.value)==null?void 0:A.refund_amount)||0)-(((q=c.value)==null?void 0:q.discount_amount)||0)}function m(){const _=p.value[h.value];return _!=null&&_.handling_fee_percent?b()*parseFloat(_.handling_fee_percent)/100:b()&&(_==null?void 0:_.handling_fee_fixed)||0}async function y(){const _=p.value[h.value],{data:R,type:E}=await zZ(l.value,_==null?void 0:_.id);R&&(R===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{x()},500)):E===0?(k.value=!0,S.value=R):E===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=R},500)))}const k=N(!1),S=N("");async function w(){const{data:_}=await SZ(l.value);_&&(clearInterval(u.value),x())}async function x(){C(),n.getUserInfo()}async function C(){f()}return cn(()=>{l.value=o.params.trade_no,C()}),(_,R)=>{const E=fS,M=qi,A=Un,q=Zr,F=hl,z=Ua,D=pLe,Y=cLe,Q=rLe,ce=Et,le=XS,B=fo;return ue(),We(B,null,{default:re(()=>{var $,I,K,ne,ve,J,ye,j,ge,Ee,Ne,T,P,U,oe,G,se,xe,be,Ce,we,Re,de,ee,fe,Oe;return[te(q,{show:k.value,"onUpdate:show":R[0]||(R[0]=Le=>k.value=Le),onOnAfterLeave:R[1]||(R[1]=Le=>S.value="")},{default:re(()=>[te(A,{style:{width:"300px",padding:"0","max-width":"100%"},"content-style":"padding:0",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:re(()=>[H("div",mLe,[S.value?(ue(),We(E,{key:0,value:S.value,class:"pay-qrcode",size:"400"},null,8,["value"])):ut("",!0)]),te(M,{class:"m-0!"}),H("div",gLe,ie(_.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),d.value?(ue(),We(z,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(F,{height:"20px",width:"33%"}),te(F,{height:"20px",width:"66%"}),te(F,{height:"20px"})]),_:1})):(ue(),ze("div",vLe,[H("div",bLe,[(($=c.value)==null?void 0:$.status)!==0?(ue(),We(A,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:re(()=>{var Le,De,$e,Me,Fe,Be;return[((Le=c.value)==null?void 0:Le.status)===2?(ue(),We(D,{key:0,class:"text-90 color-#f9a314"})):ut("",!0),((De=c.value)==null?void 0:De.status)===3||(($e=c.value)==null?void 0:$e.status)==4?(ue(),We(Y,{key:1,class:"text-90 color-#48bc19"})):ut("",!0),(Me=c.value)!=null&&Me.status?(ue(),ze("div",yLe,ie(a(c.value.status).title),1)):ut("",!0),(Fe=c.value)!=null&&Fe.status?(ue(),ze("div",xLe,ie(a(c.value.status).subTitle),1)):ut("",!0),((Be=c.value)==null?void 0:Be.status)===3?(ue(),We(ce,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-30",onClick:R[2]||(R[2]=ot=>_.$router.push("/knowledge"))},{icon:re(()=>[te(Q)]),default:re(()=>[Je(" "+ie(_.$t("查看使用教程")),1)]),_:1})):ut("",!0)]}),_:1})):ut("",!0),te(A,{class:"mt-20 border-rounded-5",title:_.$t("商品信息")},{default:re(()=>{var Le,De,$e;return[H("div",CLe,[H("div",wLe,ie(_.$t("产品名称"))+":",1),H("div",_Le,ie((Le=c.value)==null?void 0:Le.plan.name),1)]),H("div",SLe,[H("div",kLe,ie(_.$t("类型/周期"))+":",1),H("div",TLe,ie((De=c.value)!=null&&De.period?i[c.value.period]:""),1)]),H("div",PLe,[H("div",RLe,ie(_.$t("产品流量"))+":",1),H("div",ELe,ie(($e=c.value)==null?void 0:$e.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),te(A,{class:"mt-20 border-rounded-5",title:_.$t("订单信息")},{"header-extra":re(()=>{var Le;return[((Le=c.value)==null?void 0:Le.status)===0?(ue(),We(ce,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:R[3]||(R[3]=De=>s())},{default:re(()=>[Je(ie(_.$t("关闭订单")),1)]),_:1})):ut("",!0)]}),default:re(()=>{var Le,De,$e,Me,Fe,Be,ot,xt,X,pe,Te;return[H("div",$Le,[H("div",ALe,ie(_.$t("订单号"))+":",1),H("div",ILe,ie((Le=c.value)==null?void 0:Le.trade_no),1)]),(De=c.value)!=null&&De.discount_amount&&(($e=c.value)==null?void 0:$e.discount_amount)>0?(ue(),ze("div",MLe,[H("div",zLe,ie(_.$t("优惠金额")),1),H("div",OLe,ie(he(an)(c.value.discount_amount)),1)])):ut("",!0),(Me=c.value)!=null&&Me.surplus_amount&&((Fe=c.value)==null?void 0:Fe.surplus_amount)>0?(ue(),ze("div",DLe,[H("div",LLe,ie(_.$t("旧订阅折抵金额")),1),H("div",FLe,ie(he(an)(c.value.surplus_amount)),1)])):ut("",!0),(Be=c.value)!=null&&Be.refund_amount&&((ot=c.value)==null?void 0:ot.refund_amount)>0?(ue(),ze("div",NLe,[H("div",BLe,ie(_.$t("退款金额")),1),H("div",HLe,ie(he(an)(c.value.refund_amount)),1)])):ut("",!0),(xt=c.value)!=null&&xt.balance_amount&&((X=c.value)==null?void 0:X.balance_amount)>0?(ue(),ze("div",jLe,[H("div",VLe,ie(_.$t("余额支付 ")),1),H("div",ULe,ie(he(an)(c.value.balance_amount)),1)])):ut("",!0),((pe=c.value)==null?void 0:pe.status)===0&&m()>0?(ue(),ze("div",WLe,[H("div",qLe,ie(_.$t("支付手续费"))+":",1),H("div",KLe,ie(he(an)(m())),1)])):ut("",!0),H("div",GLe,[H("div",YLe,ie(_.$t("创建时间"))+":",1),H("div",XLe,ie(he(jo)((Te=c.value)==null?void 0:Te.created_at)),1)])]}),_:1},8,["title"]),((I=c.value)==null?void 0:I.status)===0?(ue(),We(A,{key:1,title:_.$t("支付方式"),class:"mt-20","content-style":"padding:0"},{default:re(()=>[(ue(!0),ze(it,null,Bn(p.value,(Le,De)=>(ue(),ze("div",{key:Le.id,class:ar(["border-2 border-rounded-5 p-20 border-solid flex",h.value===De?"border-#0665d0":"border-transparent"]),onClick:$e=>h.value=De},[H("div",JLe,ie(Le.name),1),H("div",QLe,[H("img",{class:"h-full",src:Le.icon},null,8,e9e)])],10,ZLe))),128))]),_:1},8,["title"])):ut("",!0)]),((K=c.value)==null?void 0:K.status)===0?(ue(),ze("div",t9e,[H("div",n9e,[H("div",o9e,ie(_.$t("订单总额")),1),H("div",r9e,[H("div",i9e,ie((ne=c.value)==null?void 0:ne.plan.name),1),H("div",a9e,ie((ve=he(t).appConfig)==null?void 0:ve.currency_symbol)+ie(((J=c.value)==null?void 0:J.period)&&he(an)((ye=c.value)==null?void 0:ye.plan[c.value.period])),1)]),(j=c.value)!=null&&j.surplus_amount&&((ge=c.value)==null?void 0:ge.surplus_amount)>0?(ue(),ze("div",s9e,[H("div",l9e,ie(_.$t("折抵")),1),H("div",c9e," - "+ie((Ee=he(t).appConfig)==null?void 0:Ee.currency_symbol)+ie(he(an)((Ne=c.value)==null?void 0:Ne.surplus_amount)),1)])):ut("",!0),(T=c.value)!=null&&T.discount_amount&&((P=c.value)==null?void 0:P.discount_amount)>0?(ue(),ze("div",u9e,[H("div",d9e,ie(_.$t("折扣")),1),H("div",f9e," - "+ie((U=he(t).appConfig)==null?void 0:U.currency_symbol)+ie(he(an)((oe=c.value)==null?void 0:oe.discount_amount)),1)])):ut("",!0),(G=c.value)!=null&&G.refund_amount&&((se=c.value)==null?void 0:se.refund_amount)>0?(ue(),ze("div",h9e,[H("div",p9e,ie(_.$t("退款")),1),H("div",m9e," - "+ie((xe=he(t).appConfig)==null?void 0:xe.currency_symbol)+ie(he(an)((be=c.value)==null?void 0:be.refund_amount)),1)])):ut("",!0),(Ce=c.value)!=null&&Ce.balance_amount&&((we=c.value)==null?void 0:we.balance_amount)>0?(ue(),ze("div",g9e,[H("div",v9e,ie(_.$t("余额支付")),1),H("div",b9e," - "+ie((Re=he(t).appConfig)==null?void 0:Re.currency_symbol)+ie(he(an)((de=c.value)==null?void 0:de.balance_amount)),1)])):ut("",!0),m()>0?(ue(),ze("div",y9e,[H("div",x9e,ie(_.$t("支付手续费")),1),H("div",C9e," + "+ie((ee=he(t).appConfig)==null?void 0:ee.currency_symbol)+ie(he(an)(m())),1)])):ut("",!0),H("div",w9e,[H("div",_9e,ie(_.$t("总计")),1),H("div",S9e,ie((fe=he(t).appConfig)==null?void 0:fe.currency_symbol)+" "+ie(he(an)(b()+m()))+" "+ie((Oe=he(t).appConfig)==null?void 0:Oe.currency),1)]),te(ce,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",onClick:R[4]||(R[4]=Le=>y())},{icon:re(()=>[te(le)]),default:re(()=>[Je(" "+ie(_.$t("结账")),1)]),_:1})])])):ut("",!0)]))]}),_:1})}}}),T9e=Object.freeze(Object.defineProperty({__proto__:null,default:k9e},Symbol.toStringTag,{value:"Module"})),P9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},R9e=H("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),E9e=H("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),$9e=H("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),A9e=[R9e,E9e,$9e];function I9e(e,t){return ue(),ze("svg",P9e,[...A9e])}const ZS={name:"ei-close-o",render:I9e},M9e={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},z9e=H("path",{fill:"currentColor",d:"M25 42c-9.4 0-17-7.6-17-17S15.6 8 25 8s17 7.6 17 17s-7.6 17-17 17m0-32c-8.3 0-15 6.7-15 15s6.7 15 15 15s15-6.7 15-15s-6.7-15-15-15"},null,-1),O9e=H("path",{fill:"currentColor",d:"m23 32.4l-8.7-8.7l1.4-1.4l7.3 7.3l11.3-11.3l1.4 1.4z"},null,-1),D9e=[z9e,O9e];function L9e(e,t){return ue(),ze("svg",M9e,[...D9e])}const JS={name:"ei-check",render:L9e},F9e={class:"ml-auto mr-auto max-w-1200 w-100%"},N9e={class:"m-3 mb-4 mt-4 text-30 font-400"},B9e={class:"card-container m-t-10 md:m-t-40"},H9e=["onClick"],j9e={class:"vertical-bottom"},V9e={class:"text-30 font-600"},U9e={class:"p-l-5 text-16 text-gray"},W9e={key:0},q9e=["innerHTML"],K9e=me({__name:"index",setup(e){const t=wn(),n=d=>sn.global.t(d),o=new Yu({html:!0}),r=d=>o.render(d),i=N(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=N([]),l=N([]);ht([l,i],d=>{s.value=d[0].filter(f=>{if(d[1]===0)return 1;if(d[1]===1)return!((f.onetime_price||0)>0);if(d[1]===2)return(f.onetime_price||0)>0})});async function c(){const{data:d}=await wZ();d.forEach(f=>{const p=u(f);f.price=p.price,f.cycle=p.cycle}),l.value=d}cn(()=>{c()});function u(d){return d.onetime_price!==null?{price:d.onetime_price/100,cycle:n("一次性")}:d.month_price!==null?{price:d.month_price/100,cycle:n("月付")}:d.quarter_price!==null?{price:d.quarter_price/100,cycle:n("季付")}:d.half_year_price!==null?{price:d.half_year_price/100,cycle:n("半年付")}:d.year_price!==null?{price:d.year_price/100,cycle:n("年付")}:d.two_year_price!==null?{price:d.two_year_price/100,cycle:n("两年付")}:d.three_year_price!==null?{price:d.three_year_price/100,cycle:n("三年付")}:{price:0,cycle:n("错误")}}return(d,f)=>{const p=fU,h=p2,g=JS,b=ZS,m=pr,y=Et,k=Un,S=fo;return ue(),We(S,null,{default:re(()=>[H("div",F9e,[H("h2",N9e,ie(d.$t("选择最适合你的计划")),1),te(h,{value:i.value,"onUpdate:value":f[0]||(f[0]=w=>i.value=w),name:"plan_select",class:""},{default:re(()=>[(ue(),ze(it,null,Bn(a,w=>te(p,{key:w.value,value:w.value,label:w.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),H("section",B9e,[(ue(!0),ze(it,null,Bn(s.value,w=>(ue(),ze("div",{class:"card-item min-w-300 cursor-pointer",key:w.id,onClick:x=>d.$router.push("/plan/"+w.id)},[te(k,{title:w.name,hoverable:"",class:"max-w-100% w-375"},{"header-extra":re(()=>{var x;return[H("div",j9e,[H("span",V9e,ie((x=he(t).appConfig)==null?void 0:x.currency_symbol)+" "+ie(w.price),1),H("span",U9e," /"+ie(w.cycle),1)])]}),action:re(()=>[te(y,{strong:"",secondary:"",type:"primary"},{default:re(()=>[Je(ie(d.$t("立即订阅")),1)]),_:1})]),default:re(()=>[he(Rx)(w.content)?(ue(),ze("div",W9e,[(ue(!0),ze(it,null,Bn(JSON.parse(w.content),(x,C)=>(ue(),ze("div",{key:C,class:ar(["vertical-center flex items-center",x.support?"":"opacity-30"])},[te(m,{size:"30",class:"flex items-center text-[--primary-color]"},{default:re(()=>[x.support?(ue(),We(g,{key:0})):(ue(),We(b,{key:1}))]),_:2},1024),H("div",null,ie(x.feature),1)],2))),128))])):(ue(),ze("div",{key:1,innerHTML:r(w.content||""),class:"markdown-body"},null,8,q9e))]),_:2},1032,["title"])],8,H9e))),128))])])]),_:1})}}}),G9e=Nu(K9e,[["__scopeId","data-v-79fa0f66"]]),Y9e=Object.freeze(Object.defineProperty({__proto__:null,default:G9e},Symbol.toStringTag,{value:"Module"})),X9e={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},Z9e=H("path",{fill:"currentColor",d:"M64 64C28.7 64 0 92.7 0 128v64c0 8.8 7.4 15.7 15.7 18.6C34.5 217.1 48 235 48 256s-13.5 38.9-32.3 45.4C7.4 304.3 0 311.2 0 320v64c0 35.3 28.7 64 64 64h448c35.3 0 64-28.7 64-64v-64c0-8.8-7.4-15.7-15.7-18.6C541.5 294.9 528 277 528 256s13.5-38.9 32.3-45.4c8.3-2.9 15.7-9.8 15.7-18.6v-64c0-35.3-28.7-64-64-64zm64 112v160c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V176c0-8.8-7.2-16-16-16H144c-8.8 0-16 7.2-16 16m-32-16c0-17.7 14.3-32 32-32h320c17.7 0 32 14.3 32 32v192c0 17.7-14.3 32-32 32H128c-17.7 0-32-14.3-32-32z"},null,-1),J9e=[Z9e];function Q9e(e,t){return ue(),ze("svg",X9e,[...J9e])}const eFe={name:"fa6-solid-ticket",render:Q9e},tFe={key:1,class:"flex flex-wrap"},nFe={class:"w-100% md:max-w-2/3"},oFe={key:0},rFe=["innerHTML"],iFe=["onClick"],aFe={class:"mt-20 w-full md:mt-0 md:max-w-1/3 sm:max-w-full md:pl-20"},sFe={class:"border-rounded-5 bg-#2f3135 p-20 color-white"},lFe={class:"flex items-center"},cFe=["placeholder"],uFe={class:"mt-0 border-rounded-5 bg-#2f3135 p-20 color-white md:mt-20"},dFe={class:"text-18 font-600"},fFe={class:"flex border-#646669 border-b-solid pb-16 pt-16"},hFe={class:"flex-[2]"},pFe={class:"flex-[1] text-right color-#f8f9fa"},mFe={key:0,class:"border-[#646669] border-b-solid pb-16 pt-16"},gFe={class:"color-#f8f9fa"},vFe={class:"flex pb-16 pt-16"},bFe={class:"flex-[2]"},yFe={class:"flex-[1] text-right color-#f8f9fa"},xFe={class:"pb-16 pt-16"},CFe={class:"color-#f8f9fa"},wFe={class:"text-36 font-600"},_Fe=me({__name:"detail",setup(e){const t=wn(),n=$i(),o=Ki(),r=E=>sn.global.t(E),i=new Yu({html:!0}),a=E=>i.render(E),s={month_price:r("月付"),quarter_price:r("季付"),half_year_price:r("半年付"),year_price:r("年付"),two_year_price:r("两年付"),three_year_price:r("三年付"),onetime_price:r("一次性"),reset_price:r("流量重置包")},l=N(0),c=N([]);async function u(){const E=k.value;c.value=[];for(const M in E)M in s&&E[M]!==null&&c.value.push({name:s[M],key:M})}const d=N(""),f=N(!1),p=N();async function h(){f.value=!0;const{data:E}=await DZ(d.value,R.value);E&&(p.value=E),f.value=!1}function g(){if(!p.value||!k.value||uC(l.value))return 0;const{type:E,value:M}=p.value,A=c.value[l.value].key;return E===1?M:M*k.value[A]/100}const b=N(!1);async function m(){var M;const E=(M=x.value)==null?void 0:M.find(A=>A.status===0);if(E){const A=E.trade_no;window.$dialog.confirm({title:r("注意"),type:"warning",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),confirm(){wm(A).then(({data:q})=>{q&&y()})},cancel(){on.push("/order")}});return}if(o.plan_id&&o.plan_id!=R.value&&(o.expired_at===null||o.expired_at>=Math.floor(Date.now()/1e3))){window.$dialog.confirm({title:r("注意"),type:"warning",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm(){y()}});return}y()}async function y(){var A;b.value=!0;const E=c.value[l.value].key,{data:M}=await SS(R.value,E,(A=p.value)==null?void 0:A.code);M&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>{on.push("/order/"+M)},500)),b.value=!1}const k=N(),S=N(!0);async function w(){S.value=!0;const{data:E}=await OZ(R.value);k.value=E,u(),S.value=!1}const x=N();async function C(){const{data:E}=await _S();x.value=E}function _(){w(),C()}const R=N();return cn(()=>{R.value=n.params.plan_id,_()}),(E,M)=>{const A=hl,q=Ua,F=JS,z=ZS,D=pr,Y=Un,Q=qi,ce=eFe,le=Et,B=XS,$=fo;return ue(),We($,null,{default:re(()=>{var I,K,ne,ve,J,ye,j,ge;return[S.value?(ue(),We(q,{key:0,vertical:"",class:"mt-20"},{default:re(()=>[te(A,{height:"20px",width:"33%"}),te(A,{height:"20px",width:"66%"}),te(A,{height:"20px"})]),_:1})):(ue(),ze("div",tFe,[H("div",nFe,[te(Y,{title:(I=k.value)==null?void 0:I.name,class:"m-auto max-w-100% border-rounded-5"},{default:re(()=>{var Ee,Ne,T;return[he(Rx)(((Ee=k.value)==null?void 0:Ee.content)||"")?(ue(),ze("div",oFe,[(ue(!0),ze(it,null,Bn(JSON.parse(((Ne=k.value)==null?void 0:Ne.content)||""),(P,U)=>(ue(),ze("div",{key:U,class:ar(["vertical-center flex items-center",P.support?"":"opacity-30"])},[te(D,{size:"30",class:"flex items-center text-[--primary-color]"},{default:re(()=>[P.support?(ue(),We(F,{key:0})):(ue(),We(z,{key:1}))]),_:2},1024),H("div",null,ie(P.feature),1)],2))),128))])):(ue(),ze("div",{key:1,innerHTML:a(((T=k.value)==null?void 0:T.content)||""),class:"markdown-body"},null,8,rFe))]}),_:1},8,["title"]),te(Y,{title:E.$t("付款周期"),class:"mt-20 border-rounded-5",contentStyle:"padding:0"},{default:re(()=>[(ue(!0),ze(it,null,Bn(c.value,(Ee,Ne)=>{var T,P;return ue(),ze("div",{key:Ee.key},[H("div",{class:ar(["flex justify-between border-2 border-rounded-5 border-solid p-20 text-16 cursor-pointer",Ne===l.value?"border-#0665d0":"border-transparent"]),onClick:U=>l.value=Ne},[H("div",null,ie(Ee.name),1),H("div",null,ie((T=he(t).appConfig)==null?void 0:T.currency_symbol)+" "+ie(he(an)((P=k.value)==null?void 0:P[c.value[Ne].key])),1)],10,iFe),te(Q,{class:"m-0!"})])}),128))]),_:1},8,["title"])]),H("div",aFe,[H("div",sFe,[H("div",lFe,[Cn(H("input",{placeholder:r("有优惠券?"),"onUpdate:modelValue":M[0]||(M[0]=Ee=>d.value=Ee),class:"min-w-0 flex-[1] border-none bg-transparent color-white outline-none"},null,8,cFe),[[r5,d.value]]),te(le,{type:"primary","icon-placement":"left",loading:f.value,disabled:f.value,onClick:M[1]||(M[1]=Ee=>h())},{icon:re(()=>[te(ce)]),default:re(()=>[Je(" "+ie(E.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),H("div",uFe,[H("div",dFe,ie(E.$t("订单总额")),1),H("div",fFe,[H("div",hFe,ie((K=k.value)==null?void 0:K.name),1),H("div",pFe,ie((ne=he(t).appConfig)==null?void 0:ne.currency_symbol)+" "+ie(he(an)((ve=k.value)==null?void 0:ve[c.value[l.value].key])),1)]),p.value?(ue(),ze("div",mFe,[H("div",gFe,ie(E.$t("折扣")),1),H("div",vFe,[H("div",bFe,ie((J=p.value)==null?void 0:J.name),1),H("div",yFe," - "+ie(he(an)(g())),1)])])):ut("",!0),H("div",xFe,[H("div",CFe,ie(E.$t("总计")),1),H("div",wFe,ie((ye=he(t).appConfig)==null?void 0:ye.currency_symbol)+" "+ie(he(an)(((j=k.value)==null?void 0:j[c.value[l.value].key])-g()))+" "+ie((ge=he(t).appConfig)==null?void 0:ge.currency),1)]),te(le,{type:"primary",class:"w-100% text-white","icon-placement":"left",strong:"",loading:b.value,disabled:b.value,onClick:M[2]||(M[2]=Ee=>m())},{icon:re(()=>[te(B)]),default:re(()=>[Je(" "+ie(E.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),SFe=Object.freeze(Object.defineProperty({__proto__:null,default:_Fe},Symbol.toStringTag,{value:"Module"})),kFe={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},TFe=H("path",{fill:"currentColor",d:"M216 72H56a8 8 0 0 1 0-16h136a8 8 0 0 0 0-16H56a24 24 0 0 0-24 24v128a24 24 0 0 0 24 24h160a16 16 0 0 0 16-16V88a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),PFe=[TFe];function RFe(e,t){return ue(),ze("svg",kFe,[...PFe])}const EFe={name:"ph-wallet-fill",render:RFe},$Fe={class:"text-50 font-400"},AFe={class:"m-l-20 text-20 text-#6c757d"},IFe={class:"text-#6c757d"},MFe={class:"mt-10 max-w-500"},zFe={class:"mt-10 max-w-500"},OFe={class:"mt-10 max-w-500"},DFe={class:"mt-10 max-w-500"},LFe={class:"mb-5"},FFe={class:"mt-10 max-w-500"},NFe={class:"mb-5"},BFe={class:"m-0 pb-10 pt-10 text-20"},HFe={class:"mt-20"},jFe=["href"],VFe={class:"mt-20"},UFe={class:"m-0 pb-10 pt-10 text-20"},WFe={class:"mt-20"},qFe={class:"flex justify-end"},KFe=me({__name:"index",setup(e){const t=Ki(),n=wn(),o=k=>sn.global.t(k),r=N(""),i=N(""),a=N(""),s=N(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:k}=await $Z(r.value,i.value);k===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=N(!1),u=N(!1);async function d(k){if(k==="expire"){const{data:S}=await Q0({remind_expire:c.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(k==="traffic"){const{data:S}=await Q0({remind_traffic:u.value?1:0});S===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=N(),p=N(!1);async function h(){const{data:k}=await UZ();k&&(f.value=k)}function g(k){window.location.href=k}const b=N(!1);async function m(){const{data:k}=await AZ();k&&window.$message.success(o("重置成功"))}async function y(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return cn(()=>{y()}),(k,S)=>{const w=EFe,x=Un,C=_o,_=Et,R=xX,E=cl,M=qi,A=mX,q=Zr,F=fo;return ue(),We(F,null,{default:re(()=>{var z,D,Y,Q;return[te(x,{title:k.$t("我的钱包"),class:"border-rounded-5"},{"header-extra":re(()=>[te(w,{class:"text-40 color-gray"})]),default:re(()=>{var ce;return[H("div",null,[H("span",$Fe,ie(he(an)(he(t).balance)),1),H("span",AFe,ie((ce=he(n).appConfig)==null?void 0:ce.currency),1)]),H("div",IFe,ie(k.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),te(x,{title:k.$t("修改密码"),class:"mt-20 border-rounded-5"},{default:re(()=>[H("div",MFe,[H("label",null,ie(k.$t("旧密码")),1),te(C,{type:"password",value:r.value,"onUpdate:value":S[0]||(S[0]=ce=>r.value=ce),placeholder:k.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",zFe,[H("label",null,ie(k.$t("新密码")),1),te(C,{type:"password",value:i.value,"onUpdate:value":S[1]||(S[1]=ce=>i.value=ce),placeholder:k.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),H("div",OFe,[H("label",null,ie(k.$t("新密码")),1),te(C,{type:"password",value:a.value,"onUpdate:value":S[2]||(S[2]=ce=>a.value=ce),placeholder:k.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),te(_,{class:"mt-20",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:re(()=>[Je(ie(k.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),te(x,{title:k.$t("通知"),class:"mt-20 border-rounded-5"},{default:re(()=>[H("div",DFe,[H("div",LFe,ie(k.$t("到期邮件提醒")),1),te(R,{value:c.value,"onUpdate:value":[S[3]||(S[3]=ce=>c.value=ce),S[4]||(S[4]=ce=>d("expire"))]},null,8,["value"])]),H("div",FFe,[H("div",NFe,ie(k.$t("流量邮件提醒")),1),te(R,{value:u.value,"onUpdate:value":[S[5]||(S[5]=ce=>u.value=ce),S[6]||(S[6]=ce=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(D=(z=he(n))==null?void 0:z.appConfig)!=null&&D.is_telegram?(ue(),We(x,{key:0,title:k.$t("绑定Telegram"),class:"mt-20 border-rounded-5"},{"header-extra":re(()=>[te(_,{type:"primary",round:"",disabled:he(t).userInfo.telegram_id,onClick:S[7]||(S[7]=ce=>(p.value=!0,h(),he(t).getUserSubscribe()))},{default:re(()=>[Je(ie(he(t).userInfo.telegram_id?k.$t("已绑定"):k.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):ut("",!0),(Q=(Y=he(n))==null?void 0:Y.appConfig)!=null&&Q.telegram_discuss_link?(ue(),We(x,{key:1,title:k.$t("Telegram 讨论组"),class:"mt-20 border-rounded-5"},{"header-extra":re(()=>[te(_,{type:"primary",round:"",onClick:S[8]||(S[8]=ce=>{var le,B;return g((B=(le=he(n))==null?void 0:le.appConfig)==null?void 0:B.telegram_discuss_link)})},{default:re(()=>[Je(ie(k.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):ut("",!0),te(x,{title:k.$t("重置订阅信息"),class:"mt-20 border-rounded-5"},{default:re(()=>[te(E,{type:"warning"},{default:re(()=>[Je(ie(k.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),te(_,{type:"error",size:"small",class:"mt-10",onClick:S[9]||(S[9]=ce=>b.value=!0)},{default:re(()=>[Je(ie(k.$t("重置")),1)]),_:1})]),_:1},8,["title"]),te(q,{title:k.$t("绑定Telegram"),preset:"card",show:p.value,"onUpdate:show":S[12]||(S[12]=ce=>p.value=ce),style:{width:"520px"},footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:re(()=>[H("div",qFe,[te(_,{type:"primary",onClick:S[11]||(S[11]=ce=>p.value=!1)},{default:re(()=>[Je(ie(k.$t("我知道了")),1)]),_:1})])]),default:re(()=>{var ce,le,B;return[f.value&&he(t).subscribe?(ue(),ze(it,{key:0},[H("div",null,[H("h2",BFe,ie(k.$t("第一步")),1),te(M,{class:"m-0!"}),H("div",HFe,[Je(ie(k.$t("打开Telegram搜索"))+" ",1),H("a",{href:"https://t.me/"+((ce=f.value)==null?void 0:ce.username)},"@"+ie((le=f.value)==null?void 0:le.username),9,jFe)])]),H("div",VFe,[H("h2",UFe,ie(k.$t("第二步")),1),te(M,{class:"m-0!"}),H("div",WFe,ie(k.$t("向机器人发送你的")),1),H("code",{class:"cursor-pointer",onClick:S[10]||(S[10]=$=>{var I;return he(ua)("/bind "+((I=he(t).subscribe)==null?void 0:I.subscribe_url))})},"/bind "+ie((B=he(t).subscribe)==null?void 0:B.subscribe_url),1)])],64)):(ue(),We(A,{key:1,size:"large"}))]}),_:1},8,["title","show"]),te(q,{show:b.value,"onUpdate:show":S[13]||(S[13]=ce=>b.value=ce),preset:"dialog",title:k.$t("确定要重置订阅信息?"),content:k.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":k.$t("确认"),"negative-text":k.$t("取消"),onPositiveClick:m},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),GFe=Object.freeze(Object.defineProperty({__proto__:null,default:KFe},Symbol.toStringTag,{value:"Module"})),YFe={class:"flex justify-end"},XFe=me({__name:"index",setup(e){const t=p=>sn.global.t(p),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:"#",key:"id"},{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(p){return n[p.level].label}},{title:t("工单状态"),key:"status",render(p){const h=v("div",{class:["h-6 w-6 rounded-full mr-5",p.status===1?"bg-green-500":p.reply_status===0?"bg-blue-500":"bg-red-500"]}),g=p.status===1?t("已关闭"):p.reply_status===0?t("已回复"):t("待回复");return v("div",{class:"flex items-center"},[h,g])}},{title:t("创建时间"),key:"created_at",render(p){return jo(p.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(p){return jo(p.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(p){const h=v(Et,{text:!0,type:"primary",onClick:()=>on.push(`/ticket/${p.id}`)},{default:()=>t("查看")}),g=v(Et,{text:!0,type:"primary",disabled:p.status===1,onClick:()=>c(p.id)},{default:()=>t("关闭")}),b=v(qi,{vertical:!0});return v("div",[h,b,g])}}],r=N(!1),i=N(""),a=N(),s=N("");async function l(){const{data:p}=await FZ(i.value,a.value,s.value);p===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(p){const{data:h}=await NZ(p);h&&(window.$message.success(t("关闭成功")),f())}const u=N([]);async function d(){const{data:p}=await LZ();u.value=p}function f(){d()}return cn(()=>{f()}),(p,h)=>{const g=_o,b=$u,m=Ua,y=Un,k=Zr,S=zu,w=fo;return ue(),We(w,null,{default:re(()=>[te(y,{class:"border-rounded-5",title:p.$t("工单历史")},{"header-extra":re(()=>[te(he(Et),{type:"primary",round:"",onClick:h[0]||(h[0]=x=>r.value=!0)},{default:re(()=>[Je(ie(p.$t("新的工单")),1)]),_:1}),te(k,{show:r.value,"onUpdate:show":h[7]||(h[7]=x=>r.value=x)},{default:re(()=>[te(y,{title:p.$t("新的工单"),class:"max-w-100% w-600",segmented:{content:!0,footer:!0},closable:"",onClose:h[6]||(h[6]=x=>r.value=!1)},{footer:re(()=>[H("div",YFe,[te(m,null,{default:re(()=>[te(he(Et),{onClick:h[4]||(h[4]=x=>r.value=!1)},{default:re(()=>[Je(ie(p.$t("取消")),1)]),_:1}),te(he(Et),{type:"primary",onClick:h[5]||(h[5]=x=>l())},{default:re(()=>[Je(ie(p.$t("确认")),1)]),_:1})]),_:1})])]),default:re(()=>[H("div",null,[H("label",null,ie(p.$t("主题")),1),te(g,{value:i.value,"onUpdate:value":h[1]||(h[1]=x=>i.value=x),class:"mt-5",placeholder:p.$t("请输入工单主题")},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ie(p.$t("工单级别")),1),te(b,{value:a.value,"onUpdate:value":h[2]||(h[2]=x=>a.value=x),options:n,placeholder:p.$t("请选项工单等级"),class:"mt-5"},null,8,["value","placeholder"])]),H("div",null,[H("label",null,ie(p.$t("消息")),1),te(g,{value:s.value,"onUpdate:value":h[3]||(h[3]=x=>s.value=x),type:"textarea",placeholder:p.$t("请描述你遇到的问题"),round:"",class:"mt-5"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"])]),default:re(()=>[te(S,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),ZFe=Object.freeze(Object.defineProperty({__proto__:null,default:XFe},Symbol.toStringTag,{value:"Module"})),JFe={class:"relative",style:{height:"calc(100% - 70px)"}},QFe={class:"mb-8 mt-8 text-14 text-gray"},e7e={class:"mb-8 inline-block border-rounded-5 bg-#f8f9fa pb-8 pl-16 pr-16 pt-8"},t7e=me({__name:"detail",setup(e){const t=$i(),n=p=>sn.global.t(p),o=N("");async function r(){const{data:p}=await HZ(i.value,o.value);p===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=N(),a=N();async function s(){const{data:p}=await BZ(i.value);p&&(a.value=p)}const l=N(null),c=N(null),u=async()=>{const p=l.value,h=c.value;p&&h&&p.scrollBy({top:h.scrollHeight,behavior:"auto"})},d=N();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return cn(()=>{i.value=t.params.ticket_id,f()}),(p,h)=>{const g=aX,b=_o,m=Et,y=Ru,k=Un,S=fo;return ue(),We(S,null,{default:re(()=>{var w;return[te(k,{title:(w=a.value)==null?void 0:w.subject,class:"h-full overflow-hidden"},{default:re(()=>[H("div",JFe,[te(g,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:re(()=>{var x;return[H("div",{ref_key:"scrollContainerRef",ref:c},[(ue(!0),ze(it,null,Bn((x=a.value)==null?void 0:x.message,C=>(ue(),ze("div",{key:C.id,class:ar([C.is_me?"text-right":"text-left"])},[H("div",QFe,ie(he(jo)(C.created_at)),1),H("div",e7e,ie(C.message),1)],2))),128))],512)]}),_:1},512)]),te(y,{size:"large",class:"mt-30"},{default:re(()=>[te(b,{type:"text",size:"large",placeholder:p.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":h[0]||(h[0]=x=>o.value=x),onKeyup:h[1]||(h[1]=ba(x=>r(),["enter"]))},null,8,["placeholder","value"]),te(m,{type:"primary",size:"large",onClick:h[2]||(h[2]=x=>r())},{default:re(()=>[Je(ie(p.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),n7e=Object.freeze(Object.defineProperty({__proto__:null,default:t7e},Symbol.toStringTag,{value:"Module"})),o7e=me({__name:"index",setup(e){const t=i=>sn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return bp(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return ys(i.u)}},{title:t("实际下行"),key:"d",render(i){return ys(i.d)}},{title:t("扣费倍率"),key:"server_rate",render(i){return v(yi,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=v(Iu,{placement:"bottom",trigger:"hover"},{trigger:()=>v(Ks("mdi-help-circle-outline",{size:16})),default:()=>t("公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量")});return v("div",{class:"flex items-center"},[t("总计"),i])},key:"total",fixed:"right",render(i){return ys((i.d+i.u)*parseFloat(i.server_rate))}}],o=N([]);async function r(){const{data:i}=await IZ();o.value=i}return cn(()=>{r()}),(i,a)=>{const s=cl,l=zu,c=Un,u=fo;return ue(),We(u,null,{default:re(()=>[te(c,{class:"border-rounded-5"},{default:re(()=>[te(s,{type:"info",bordered:!1,class:"mb-20"},{default:re(()=>[Je(ie(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),te(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),r7e=Object.freeze(Object.defineProperty({__proto__:null,default:o7e},Symbol.toStringTag,{value:"Module"})),i7e={name:"NOTFOUND"},a7e={"h-full":"",flex:""};function s7e(e,t,n,o,r,i){const a=Et,s=oX;return ue(),ze("div",a7e,[te(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:re(()=>[te(a,null,{default:re(()=>[Je("Find some fun")]),_:1})]),_:1})])}const l7e=Nu(i7e,[["render",s7e]]),c7e=Object.freeze(Object.defineProperty({__proto__:null,default:l7e},Symbol.toStringTag,{value:"Module"})),u7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},d7e=H("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[H("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),H("path",{d:"M13 2.05S16 6 16 12c0 6-3 9.95-3 9.95m-2 0S8 18 8 12c0-6 3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),f7e=[d7e];function h7e(e,t){return ue(),ze("svg",u7e,[...f7e])}const Mm={name:"iconoir-language",render:h7e},p7e={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},m7e=H("path",{fill:"currentColor",d:"M26 30H14a2 2 0 0 1-2-2v-3h2v3h12V4H14v3h-2V4a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v24a2 2 0 0 1-2 2"},null,-1),g7e=H("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),v7e=[m7e,g7e];function b7e(e,t){return ue(),ze("svg",p7e,[...v7e])}const y7e={name:"carbon-login",render:b7e},x7e=e=>wt({url:"/passport/auth/login",method:"post",data:e}),C7e=e=>wt.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),w7e=e=>wt({url:"/passport/auth/register",method:"post",data:e});function QS(){return wt.get("/guest/comm/config")}function ek(e,t){return wt.post("/passport/comm/sendEmailVerify",{email:e,recaptcha_data:t})}function _7e(e,t,n){return wt.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const S7e={class:"p-24"},k7e={key:0,class:"text-center"},T7e=["src"],P7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},R7e={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},E7e={"mt-20":"","w-full":""},$7e={"mt-20":"","w-full":""},A7e={"mt-20":"","w-full":""},I7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},M7e=me({__name:"login",setup(e){const t=wn(),n=nu(),o=$i(),r=c=>sn.global.t(c),i=N({email:"",password:""});a();function a(){const c=Ai.get("loginInfo");c.value&&(i.value.email=c.value.email||"",i.value.password=c.value.password||"")}const s=N(!1);async function l(){var f;const{email:c,password:u}=i.value;if(!c||!u){window.$message.warning(r("请输入用户名和密码"));return}s.value=!0;const{data:d}=await x7e({email:c,password:u.toString()});s.value=!1,d!=null&&d.auth_data&&(window.$message.success(r("登录成功")),J0(d==null?void 0:d.auth_data),n.push(((f=o.query.redirect)==null?void 0:f.toString())??"/dashboard"))}return Lt(async()=>{const c=o.query.verify,u=o.query.redirect;if(c&&u){const{data:d}=await C7e({verify:c.toString(),redirect:u.toString()});d!=null&&d.auth_data&&(window.$message.success(r("登录成功")),J0(d==null?void 0:d.auth_data),n.push(u.toString()))}}),(c,u)=>{const d=_o,f=y7e,p=Et,h=Ia("router-link"),g=qi,b=Mm,m=dl,y=Un;return ue(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(t).background_url&&`background:url(${he(t).background_url}) no-repeat center center / cover;`)},[te(y,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>[H("div",S7e,[he(t).logo?(ue(),ze("div",k7e,[H("img",{src:he(t).logo,class:"mb-1em max-w-100%"},null,8,T7e)])):(ue(),ze("h1",P7e,ie(he(t).title),1)),H("h5",R7e,ie(he(t).description||" "),1),H("div",E7e,[te(d,{value:i.value.email,"onUpdate:value":u[0]||(u[0]=k=>i.value.email=k),autofocus:"",placeholder:c.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),H("div",$7e,[te(d,{value:i.value.password,"onUpdate:value":u[1]||(u[1]=k=>i.value.password=k),class:"",type:"password","show-password-on":"click",placeholder:c.$t("密码"),maxlength:40,onKeydown:ba(l,["enter"])},null,8,["value","placeholder"])]),H("div",A7e,[te(p,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:l,loading:s.value,disabled:s.value},{icon:re(()=>[te(f)]),default:re(()=>[Je(" "+ie(c.$t("登入")),1)]),_:1},8,["loading","disabled"])])]),H("div",I7e,[H("div",null,[te(h,{to:"/register",class:"text-#6c757d"},{default:re(()=>[Je(ie(c.$t("注册")),1)]),_:1}),te(g,{vertical:""}),te(h,{to:"/forgetpassword",class:"text-#6c757d"},{default:re(()=>[Je(ie(c.$t("忘记密码")),1)]),_:1})]),H("div",null,[te(m,{value:he(t).lang,"onUpdate:value":u[2]||(u[2]=k=>he(t).lang=k),options:Object.entries(he(xi)).map(([k,S])=>({label:S,value:k})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(p,{text:"","icon-placement":"left"},{icon:re(()=>[te(b)]),default:re(()=>[Je(" "+ie(he(xi)[he(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),z7e=Object.freeze(Object.defineProperty({__proto__:null,default:M7e},Symbol.toStringTag,{value:"Module"})),O7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},D7e=H("path",{fill:"currentColor",d:"M9 9.5c0 .8-.7 1.5-1.5 1.5S6 10.3 6 9.5S6.7 8 7.5 8S9 8.7 9 9.5m7 0c0 .8-.7 1.5-1.5 1.5S13 10.3 13 9.5S13.7 8 14.5 8s1.5.7 1.5 1.5m-2 4.62L11.88 12l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06l-1.06 1.06l1.06 1.06L14 16.24l-1.06-1.06zM16.85 13a2.05 2.05 0 0 0-2.05 2.05c0 .57.23 1.07.6 1.45l3.5 3.5l3.5-3.5c.37-.37.6-.89.6-1.45A2.05 2.05 0 0 0 20.95 13c-.55 0-1.08.23-1.45.6l-.6.6l-.6-.59c-.37-.38-.9-.61-1.45-.61M15 18.92A7.979 7.979 0 0 1 11 20a8 8 0 0 1-8-8a8 8 0 0 1 8-8c4.26 0 7.73 3.33 8 7.5c.58-.31 1.26-.5 1.95-.5c-.5-5.05-4.77-9-9.95-9A10 10 0 0 0 1 12a10 10 0 0 0 10 10c2 0 3.88-.6 5.45-1.62z"},null,-1),L7e=[D7e];function F7e(e,t){return ue(),ze("svg",O7e,[...L7e])}const N7e={name:"mdi-emoticon-kiss-outline",render:F7e},tk=me({__name:"vueRecaptcha",props:{sitekey:{type:String,required:!0},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"light"},hl:{type:String,required:!1},loadingTimeout:{type:Number,required:!1,default:0}},emits:{verify:e=>e!=null&&e!="",error:e=>e,expire:null,fail:null},setup(e,{expose:t,emit:n}){const o=e,r=N(null);let i=null;t({execute:function(){window.grecaptcha.execute(i)},reset:function(){window.grecaptcha.reset(i)}});function a(){i=window.grecaptcha.render(r.value,{sitekey:o.sitekey,theme:o.theme,size:o.size,callback:s=>n("verify",s),"expired-callback":()=>n("expire"),"error-callback":()=>n("fail")})}return Lt(()=>{window.grecaptcha==null?new Promise((s,l)=>{let c,u=!1;window.recaptchaReady=function(){u||(u=!0,clearTimeout(c),s())};const d="recaptcha-script",f=g=>()=>{var b;u||(u=!0,clearTimeout(c),(b=document.getElementById(d))==null||b.remove(),l(g))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const p=window.document,h=p.createElement("script");h.id=d,h.onerror=f("error"),h.onabort=f("aborted"),h.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),p.head.appendChild(h)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(ue(),ze("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),B7e={class:"p-24"},H7e={key:0,class:"text-center"},j7e=["src"],V7e={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},U7e={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},W7e={"mt-20":"","w-full":""},q7e={key:2,"mt-20":"","w-full":""},K7e={"mt-20":"","w-full":""},G7e={"mt-20":"","w-full":""},Y7e={"mt-20":"","w-full":""},X7e={key:3,"mt-20":"","w-full":""},Z7e=["innerHTML"],J7e={"mt-20":"","w-full":""},Q7e={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},eNe=me({__name:"register",setup(e){const t=$i(),n=wn(),o=nu(),r=C=>sn.global.t(C),i=N({email:"",password:"",confirm_password:"",invite_code:"",lock_invite_code:!1,suffix:"",email_code:""}),a=N(!0),s=L(()=>{var _;const C=(_=w.value)==null?void 0:_.tos_url;return"
"+sn.global.tc('我已阅读并同意 服务条款',{url:C})+"
"}),l=N(),c=N(),u=N(!1),d=N();function f(C){l.value=C,setTimeout(()=>{u.value=!1,c.value&&c.value.reset,d.value==="register"?(S(),d.value=""):d.value==="sendEmailVerify"&&(y(),d.value="")},500)}function p(){c.value&&c.value.reset()}function h(){c.value&&c.value.reset()}function g(){c.value&&c.value.reset&&c.value.reset()}const b=N(!1),m=N(0);async function y(){var R,E;if(i.value.email===""){window.$message.error(r("请输入邮箱地址"));return}if(b.value=!0,m.value>0){window.$message.warning(sn.global.tc("{second}秒后可重新发送",{second:m.value}));return}if((R=w.value)!=null&&R.is_recaptcha&&((E=w.value)!=null&&E.recaptcha_site_key)&&!l.value){u.value=!0,b.value=!1,d.value="sendEmailVerify";return}const C=i.value.suffix?`${i.value.email}${i.value.suffix}`:i.value.email,{data:_}=await ek(C,l.value);if(_===!0){window.$message.success(r("发送成功")),m.value=60;const M=setInterval(()=>{m.value--,m.value===0&&clearInterval(M)},1e3);l.value=""}b.value=!1}const k=N(!1);async function S(){var q,F;if(i.value.email===""){window.$message.error(r("请输入邮箱地址"));return}const{password:C,confirm_password:_,invite_code:R,email_code:E}=i.value,M=i.value.suffix?`${i.value.email}${i.value.suffix}`:i.value.email;if(!M||!C){window.$message.warning(r("请输入账号密码"));return}if(C!==_){window.$message.warning(r("请确保两次密码输入一致"));return}if((q=w.value)!=null&&q.is_recaptcha&&((F=w.value)!=null&&F.recaptcha_site_key)&&!l.value){l.value||(u.value=!0),d.value="register";return}k.value=!0;const{data:A}=await w7e({email:M,password:C.toString(),invite_code:R,email_code:E,recaptcha_data:l.value});k.value=!1,A.auth_data&&(window.$message.success(r("注册成功")),ER(A.auth_data),o.push("/"))}const w=N();async function x(){var _,R;const{data:C}=await QS();C&&(w.value=C,zv(C.email_whitelist_suffix)&&(i.value.suffix=(_=C.email_whitelist_suffix)!=null&&_[0]?"@"+((R=C.email_whitelist_suffix)==null?void 0:R[0]):""),C.tos_url&&(a.value=!1))}return cn(()=>{t.query.code&&(i.value.lock_invite_code=!0,i.value.invite_code=t.query.code),x()}),(C,_)=>{const R=Zr,E=_o,M=$u,A=Ru,q=Et,F=ul,z=N7e,D=Ia("router-link"),Y=Mm,Q=dl,ce=Un;return ue(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(n).background_url&&`background:url(${he(n).background_url}) no-repeat center center / cover;`)},[te(R,{show:u.value,"onUpdate:show":_[0]||(_[0]=le=>u.value=le)},{default:re(()=>{var le,B,$;return[(le=w.value)!=null&&le.is_recaptcha&&((B=w.value)!=null&&B.recaptcha_site_key)?Cn((ue(),We(he(tk),{key:0,sitekey:($=w.value)==null?void 0:$.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:f,onExpire:p,onFail:h,onError:g,ref_key:"vueRecaptchaRef",ref:c},null,8,["sitekey"])),[[Jn,u.value]]):ut("",!0)]}),_:1},8,["show"]),te(ce,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>{var le,B,$;return[H("div",B7e,[he(n).logo?(ue(),ze("div",H7e,[H("img",{src:he(n).logo,class:"mb-1em max-w-100%"},null,8,j7e)])):(ue(),ze("h1",V7e,ie(he(n).title),1)),H("h5",U7e,ie(he(n).description||" "),1),H("div",W7e,[te(A,{class:"flex"},{default:re(()=>{var I,K,ne;return[te(E,{value:i.value.email,"onUpdate:value":_[1]||(_[1]=ve=>i.value.email=ve),autofocus:"",class:"flex-[2] pl-5",placeholder:C.$t("邮箱"),maxlength:80},null,8,["value","placeholder"]),he(zv)((I=w.value)==null?void 0:I.email_whitelist_suffix)?(ue(),We(M,{key:0,value:i.value.suffix,"onUpdate:value":_[2]||(_[2]=ve=>i.value.suffix=ve),options:((ne=(K=w.value)==null?void 0:K.email_whitelist_suffix)==null?void 0:ne.map(ve=>({value:`@${ve}`,label:`@${ve}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):ut("",!0)]}),_:1})]),(le=w.value)!=null&&le.is_email_verify?(ue(),ze("div",q7e,[te(A,{class:"flex"},{default:re(()=>[te(E,{value:i.value.email_code,"onUpdate:value":_[3]||(_[3]=I=>i.value.email_code=I),placeholder:C.$t("邮箱验证码"),class:"pl-5"},null,8,["value","placeholder"]),te(q,{type:"primary",onClick:_[4]||(_[4]=I=>y()),loading:b.value,disabled:b.value||m.value>0},{default:re(()=>[Je(ie(m.value||C.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})])):ut("",!0),H("div",K7e,[te(E,{value:i.value.password,"onUpdate:value":_[5]||(_[5]=I=>i.value.password=I),class:"pl-5",type:"password","show-password-on":"click",placeholder:C.$t("密码"),maxlength:40,onKeydown:ba(S,["enter"])},null,8,["value","placeholder"])]),H("div",G7e,[te(E,{value:i.value.confirm_password,"onUpdate:value":_[6]||(_[6]=I=>i.value.confirm_password=I),class:"pl-5",type:"password","show-password-on":"click",placeholder:C.$t("再次输入密码"),maxlength:40,onKeydown:ba(S,["enter"])},null,8,["value","placeholder"])]),H("div",Y7e,[te(E,{value:i.value.invite_code,"onUpdate:value":_[7]||(_[7]=I=>i.value.invite_code=I),class:"pl-5",placeholder:[C.$t("邀请码"),(B=w.value)!=null&&B.is_invite_force?`(${C.$t("必填")})`:`(${C.$t("选填")})`],maxlength:20,disabled:i.value.lock_invite_code},null,8,["value","placeholder","disabled"])]),($=w.value)!=null&&$.tos_url?(ue(),ze("div",X7e,[te(F,{checked:a.value,"onUpdate:checked":_[8]||(_[8]=I=>a.value=I),class:"text-bold text-16"},{default:re(()=>[H("div",{innerHTML:s.value},null,8,Z7e)]),_:1},8,["checked"])])):ut("",!0),H("div",J7e,[te(q,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary",onClick:S,"icon-placement":"left",loading:k.value,disabled:k.value||!a.value},{icon:re(()=>[te(z)]),default:re(()=>[Je(" "+ie(C.$t("注册")),1)]),_:1},8,["loading","disabled"])])]),H("div",Q7e,[H("div",null,[te(D,{to:"/login",class:"text-#6c757d"},{default:re(()=>[Je(ie(C.$t("返回登入")),1)]),_:1})]),H("div",null,[te(Q,{value:he(n).lang,"onUpdate:value":_[9]||(_[9]=I=>he(n).lang=I),options:Object.entries(he(xi)).map(([I,K])=>({label:K,value:I})),trigger:"click","on-update:value":he(n).switchLang},{default:re(()=>[te(q,{text:"","icon-placement":"left"},{icon:re(()=>[te(Y)]),default:re(()=>[Je(" "+ie(he(xi)[he(n).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)}}}),tNe=Object.freeze(Object.defineProperty({__proto__:null,default:eNe},Symbol.toStringTag,{value:"Module"})),nNe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},oNe=H("path",{fill:"currentColor",d:"M17 8.25a1.25 1.25 0 1 0 0-2.5a1.25 1.25 0 0 0 0 2.5m-8.05.35a6.554 6.554 0 0 1 6.55-6.55c3.596 0 6.55 2.819 6.55 6.45a6.51 6.51 0 0 1-1.255 3.852a6.014 6.014 0 0 0-1.276-.798a5.026 5.026 0 0 0 1.03-3.054c0-2.769-2.247-4.95-5.05-4.95a5.054 5.054 0 0 0-5.05 5.05c0 .262.034.539.088.845a1.774 1.774 0 0 1-.486 1.564l-6.236 6.235a1.25 1.25 0 0 0-.366.884V20.3c0 .138.112.25.25.25h2.5a.25.25 0 0 0 .25-.25v-1.5c0-.69.56-1.25 1.25-1.25h1.75V15.8c0-.65.497-1.185 1.132-1.245l1.077 1.078a1.758 1.758 0 0 0-.378.417h-.33v1.75c0 .69-.56 1.25-1.25 1.25H7.95v1.25a1.75 1.75 0 0 1-1.75 1.75H3.7a1.75 1.75 0 0 1-1.75-1.75v-2.172c0-.73.289-1.429.805-1.944L8.99 9.948a.275.275 0 0 0 .07-.244A6.387 6.387 0 0 1 8.95 8.6m4.83 2.68a.75.75 0 1 0-1.06-1.06l-2 2a.75.75 0 0 0 0 1.06l2 2a.75.75 0 1 0 1.06-1.06l-.72-.72H17a3.5 3.5 0 1 1-3.5 3.5a.75.75 0 0 0-1.5 0a5 5 0 1 0 5-5h-3.94z"},null,-1),rNe=[oNe];function iNe(e,t){return ue(),ze("svg",nNe,[...rNe])}const aNe={name:"fluent-key-reset24-regular",render:iNe},sNe={class:"p-24"},lNe={key:0,class:"text-center"},cNe=["src"],uNe={key:1,class:"m-1 text-center text-36 font-normal",color:"#343a40"},dNe={"text-muted":"","mb-3":"","text-center":"","text-14":"","font-400":"",color:"#6c757d"},fNe={"mt-20":"","w-full":""},hNe={"mt-20":"","w-full":""},pNe={"mt-20":"","w-full":""},mNe={"mt-20":"","w-full":""},gNe={"mt-20":"","w-full":""},vNe={class:"flex justify-between bg-[--n-color-embedded] p-x-24 p-y-16 text-#6c757d"},bNe=me({__name:"forgetpassword",setup(e){const t=wn(),n=nu(),o=S=>sn.global.t(S),r=N({email:"",email_code:"",password:"",confirm_password:"",invite_code:"",suffix:""}),i=N(null),a=N(),s=N(!1),l=N();function c(S){i.value=S,setTimeout(()=>{s.value=!1,a.value&&a.value.reset(),l.value==="sendEmailVerify"&&(g(),l.value="")},500)}function u(){a.value.reset()}function d(){a.value.reset()}function f(){a.value.reset()}const p=N(!1),h=N(0);async function g(){var x,C;if(r.value.email===""){window.$message.error(o("请输入邮箱地址"));return}if(p.value=!0,h.value>0){window.$message.warning(sn.global.tc("{second}秒后可重新发送",{second:h.value}));return}if((x=y.value)!=null&&x.is_recaptcha&&((C=y.value)!=null&&C.is_recaptcha)&&!i.value){s.value=!0,p.value=!1,l.value="sendEmailVerify";return}const S=r.value.suffix?`${r.value.email}${r.value.suffix}`:r.value.email,{data:w}=await ek(S,i.value);if(w===!0){window.$message.success(o("发送成功")),h.value=60;const _=setInterval(()=>{h.value--,h.value===0&&clearInterval(_)},1e3);i.value=""}p.value=!1}const b=N(!1);async function m(){if(r.value.email===""){window.$message.error(o("请输入邮箱地址"));return}const{email:S,password:w,confirm_password:x,email_code:C}=r.value;if(!S||!w){window.$message.warning(o("请输入账号密码"));return}if(w!==x){window.$message.warning(o("请确保两次密码输入一致"));return}b.value=!0;const{data:_}=await _7e(S,w.toString(),C);b.value=!1,_&&(window.$message.success(o("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}const y=N();async function k(){const{data:S}=await QS();S&&(y.value=S)}return cn(()=>{k()}),(S,w)=>{const x=Zr,C=_o,_=Ru,R=Et,E=aNe,M=Ia("router-link"),A=Mm,q=dl,F=Un;return ue(),ze("div",{"wh-full":"",flex:"","items-center":"","justify-center":"",style:Ho(he(t).background_url&&`background:url(${he(t).background_url}) no-repeat center center / cover;`)},[te(x,{show:s.value,"onUpdate:show":w[0]||(w[0]=z=>s.value=z)},{default:re(()=>{var z,D,Y;return[(z=y.value)!=null&&z.is_recaptcha&&((D=y.value)!=null&&D.recaptcha_site_key)?Cn((ue(),We(he(tk),{key:0,sitekey:(Y=y.value)==null?void 0:Y.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":500,onVerify:c,onExpire:u,onFail:d,onError:f,ref_key:"vueRecaptchaRef",ref:a},null,8,["sitekey"])),[[Jn,s.value]]):ut("",!0)]}),_:1},8,["show"]),te(F,{class:"m-auto max-w-450 rounded-5 bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:re(()=>[H("div",sNe,[he(t).logo?(ue(),ze("div",lNe,[H("img",{src:he(t).logo,class:"mb-1em max-w-100%"},null,8,cNe)])):(ue(),ze("h1",uNe,ie(he(t).title),1)),H("h5",dNe,ie(he(t).description||" "),1),H("div",fNe,[te(_,{class:"flex"},{default:re(()=>[te(C,{value:r.value.email,"onUpdate:value":w[1]||(w[1]=z=>r.value.email=z),autofocus:"",class:"flex-[2] pl-5",placeholder:S.$t("邮箱"),maxlength:40},null,8,["value","placeholder"])]),_:1})]),H("div",hNe,[te(_,{class:"flex"},{default:re(()=>[te(C,{placeholder:S.$t("邮箱验证码"),value:r.value.email_code,"onUpdate:value":w[2]||(w[2]=z=>r.value.email_code=z),class:"pl-5"},null,8,["placeholder","value"]),te(R,{type:"primary",onClick:w[3]||(w[3]=z=>g()),loading:p.value,disabled:p.value||h.value>0},{default:re(()=>[Je(ie(h.value||S.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})]),H("div",pNe,[te(C,{value:r.value.password,"onUpdate:value":w[4]||(w[4]=z=>r.value.password=z),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("密码"),maxlength:40},null,8,["value","placeholder"])]),H("div",mNe,[te(C,{value:r.value.confirm_password,"onUpdate:value":w[5]||(w[5]=z=>r.value.confirm_password=z),class:"pl-5",type:"password","show-password-on":"click",placeholder:S.$t("再次输入密码"),maxlength:40,onKeydown:w[6]||(w[6]=ba(z=>m(),["enter"]))},null,8,["value","placeholder"])]),H("div",gNe,[te(R,{"h-36":"","w-full":"","rounded-5":"","text-16":"",type:"primary","icon-placement":"left",onClick:w[7]||(w[7]=z=>m()),loading:b.value,disabled:b.value},{icon:re(()=>[te(E)]),default:re(()=>[Je(" "+ie(S.$t("重置密码")),1)]),_:1},8,["loading","disabled"])])]),H("div",vNe,[H("div",null,[te(M,{to:"/login",class:"text-#6c757d"},{default:re(()=>[Je(ie(S.$t("返回登录")),1)]),_:1})]),H("div",null,[te(q,{value:he(t).lang,"onUpdate:value":w[8]||(w[8]=z=>he(t).lang=z),options:Object.entries(he(xi)).map(([z,D])=>({label:D,value:z})),trigger:"click","on-update:value":he(t).switchLang},{default:re(()=>[te(R,{text:"","icon-placement":"left"},{icon:re(()=>[te(A)]),default:re(()=>[Je(" "+ie(he(xi)[he(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]),_:1})],4)}}}),yNe=Object.freeze(Object.defineProperty({__proto__:null,default:bNe},Symbol.toStringTag,{value:"Module"})),xNe={请求失败:"Request failed",月付:"Monthly",季付:"Quarterly",半年付:"Semi-Annually",年付:"Annually",两年付:"Biennially",三年付:"Triennially",一次性:"One Time",重置流量包:"Data Reset Package",待支付:"Pending Payment",开通中:"Pending Active",已取消:"Canceled",已完成:"Completed",已折抵:"Converted",待确认:"Pending",发放中:"Confirming",已发放:"Completed",无效:"Invalid",个人中心:"User Center",登出:"Logout",搜索:"Search",仪表盘:"Dashboard",订阅:"Subscription",我的订阅:"My Subscription",购买订阅:"Purchase Subscription",财务:"Billing",我的订单:"My Orders",我的邀请:"My Invitation",用户:"Account",我的工单:"My Tickets",流量明细:"Transfer Data Details",使用文档:"Knowledge Base",绑定Telegram获取更多服务:"Not link to Telegram yet",点击这里进行绑定:"Please click here to link to Telegram",公告:"Announcements",总览:"Overview",该订阅长期有效:"The subscription is valid for an unlimited time",已过期:"Expired","已用 {used} / 总计 {total}":"{used} Used / Total {total}",查看订阅:"View Subscription",邮箱:"Email",邮箱验证码:"Email verification code",发送:"Send",重置密码:"Reset Password",返回登入:"Back to Login",邀请码:"Invitation Code",复制链接:"Copy Link",完成时间:"Complete Time",佣金:"Commission",已注册用户数:"Registered users",佣金比例:"Commission rate",确认中的佣金:"Pending commission","佣金将会在确认后会到达你的佣金账户。":"The commission will reach your commission account after review.",邀请码管理:"Invitation Code Management",生成邀请码:"Generate invitation code",佣金发放记录:"Commission Income Record",复制成功:"Copied successfully",密码:"Password",登入:"Login",注册:"Register",忘记密码:"Forgot password","# 订单号":"Order Number #",周期:"Type / Cycle",订单金额:"Order Amount",订单状态:"Order Status",创建时间:"Creation Time",操作:"Action",查看详情:"View Details",请选择支付方式:"Please select a payment method",请检查信用卡支付信息:"Please check credit card payment information",订单详情:"Order Details",折扣:"Discount",折抵:"Converted",退款:"Refund",支付方式:"Payment Method",填写信用卡支付信息:"Please fill in credit card payment information","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"We will not collect your credit card information, credit card number and other details only use to verify the current transaction.",订单总额:"Order Total",总计:"Total",结账:"Checkout",等待支付中:"Waiting for payment","订单系统正在进行处理,请稍等1-3分钟。":"Order system is being processed, please wait 1 to 3 minutes.","订单由于超时支付已被取消。":"The order has been canceled due to overtime payment.","订单已支付并开通。":"The order has been paid and the service is activated.",选择订阅:"Select a Subscription",立即订阅:"Subscribe now",配置订阅:"Configure Subscription",付款周期:"Payment Cycle","有优惠券?":"Have coupons?",验证:"Verify",下单:"Order","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Attention please, change subscription will overwrite your current subscription.",该订阅无法续费:"This subscription cannot be renewed",选择其他订阅:"Choose another subscription",我的钱包:"My Wallet","账户余额(仅消费)":"Account Balance (For billing only)","推广佣金(可提现)":"Invitation Commission (Can be used to withdraw)",钱包组成部分:"Wallet Details",划转:"Transfer",推广佣金提现:"Invitation Commission Withdrawal",修改密码:"Change Password",保存:"Save",旧密码:"Old Password",新密码:"New Password",请输入旧密码:"Please enter the old password",请输入新密码:"Please enter the new password",通知:"Notification",到期邮件提醒:"Subscription expiration email reminder",流量邮件提醒:"Insufficient transfer data email alert",绑定Telegram:"Link to Telegram",立即开始:"Start Now",重置订阅信息:"Reset Subscription",重置:"Reset","确定要重置订阅信息?":"Do you want to reset subscription?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"In case of your account information or subscription leak, this option is for reset. After resetting your UUID and subscription will change, you need to re-subscribe.",重置成功:"Reset successfully",两次新密码输入不同:"Two new passwords entered do not match",两次密码输入不同:"The passwords entered do not match","邀请码(选填)":"Invitation code (Optional)",'我已阅读并同意 服务条款':'I have read and agree to the terms of service',请同意服务条款:"Please agree to the terms of service",名称:"Name",标签:"Tags",状态:"Status",节点五分钟内节点在线情况:"Access Point online status in the last 5 minutes",倍率:"Rate",使用的流量将乘以倍率进行扣除:"The transfer data usage will be multiplied by the transfer data rate deducted.",更多操作:"Action","没有可用节点,如果您未订阅或已过期请":"No access points are available. If you have not subscribed or the subscription has expired, please","确定重置当前已用流量?":"Are you sure to reset your current data usage?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'Click "Confirm" and you will be redirected to the payment page. The system will empty your current month"s usage after your purchase.',确定:"Confirm",低:"Low",中:"Medium",高:"High",主题:"Subject",工单级别:"Ticket Priority",工单状态:"Ticket Status",最后回复:"Last Reply",已关闭:"Closed",待回复:"Pending Reply",已回复:"Replied",查看:"View",关闭:"Cancel",新的工单:"My Tickets",确认:"Confirm",请输入工单主题:"Please enter a subject",工单等级:"Ticket Priority",请选择工单等级:"Please select the ticket priority",消息:"Message",请描述你遇到的问题:"Please describe the problem you encountered",记录时间:"Record Time",实际上行:"Actual Upload",实际下行:"Actual Download",合计:"Total","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Formula: (Actual Upload + Actual Download) x Deduction Rate = Deduct Transfer Data",复制订阅地址:"Copy Subscription URL",导入到:"Export to",一键订阅:"Quick Subscription",复制订阅:"Copy Subscription URL",推广佣金划转至余额:"Transfer Invitation Commission to Account Balance","划转后的余额仅用于{title}消费使用":"The transferred balance will be used for {title} payments only",当前推广佣金余额:"Current invitation balance",划转金额:"Transfer amount",请输入需要划转到余额的金额:"Please enter the amount to be transferred to the balance","输入内容回复工单...":"Please enter to reply to the ticket...",申请提现:"Apply For Withdrawal",取消:"Cancel",提现方式:"Withdrawal Method",请选择提现方式:"Please select a withdrawal method",提现账号:"Withdrawal Account",请输入提现账号:"Please enter the withdrawal account",我知道了:"I got it",第一步:"First Step",第二步:"Second Step",打开Telegram搜索:"Open Telegram and Search ",向机器人发送你的:"Send the following command to bot","最后更新: {date}":"Last Updated: {date}",还有没支付的订单:"There are still unpaid orders",立即支付:"Pay Now",条工单正在处理中:"tickets are in process",立即查看:"View Now",节点状态:"Access Point Status",商品信息:"Product Information",产品名称:"Product Name","类型/周期":"Type / Cycle",产品流量:"Product Transfer Data",订单信息:"Order Details",关闭订单:"Close order",订单号:"Order Number",优惠金额:"Discount amount",旧订阅折抵金额:"Old subscription converted amount",退款金额:"Refunded amount",余额支付:"Balance payment",工单历史:"Ticket History","已用流量将在 {reset_day} 日后重置":"Used data will reset after {reset_day} days",已用流量已在今日重置:"Data usage has been reset today",重置已用流量:"Reset used data",查看节点状态:"View Access Point status","当前已使用流量达{rate}%":"Currently used data up to {rate}%",节点名称:"Access Point Name","于 {date} 到期,距离到期还有 {day} 天。":"Will expire on {date}, {day} days before expiration.","Telegram 讨论组":"Telegram Discussion Group",立即加入:"Join Now","该订阅无法续费,仅允许新用户购买":"This subscription cannot be renewed and is only available to new users.",重置当月流量:"Reset current month usage","流量明细仅保留近月数据以供查询。":'Only keep the most recent month"s usage for checking the transfer data details.',扣费倍率:"Fee deduction rate",支付手续费:"Payment fee",续费订阅:"Renewal Subscription",学习如何使用:"Learn how to use",快速将节点导入对应客户端进行使用:"Quickly export subscription into the client app",对您当前的订阅进行续费:"Renew your current subscription",对您当前的订阅进行购买:"Purchase your current subscription",捷径:"Shortcut","不会使用,查看使用教程":"I am a newbie, view the tutorial",使用支持扫码的客户端进行订阅:"Use a client app that supports scanning QR code to subscribe",扫描二维码订阅:"Scan QR code to subscribe",续费:"Renewal",购买:"Purchase",查看教程:"View Tutorial",注意:"Attention","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"You still have an unpaid order. You need to cancel it before purchasing. Are you sure you want to cancel the previous order?",确定取消:"Confirm Cancel",返回我的订单:"Back to My Order","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"If you have already paid, canceling the order may cause the payment to fail. Are you sure you want to cancel the order?",选择最适合你的计划:"Choose the right plan for you",全部:"All",按周期:"By Cycle",遇到问题:"I have a problem",遇到问题可以通过工单与我们沟通:"If you have any problems, you can contact us via ticket",按流量:"Pay As You Go",搜索文档:"Search Documents",技术支持:"Technical Support",当前剩余佣金:"Current commission remaining",三级分销比例:"Three-level Distribution Ratio",累计获得佣金:"Cumulative commission earned","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"The users you invite to re-invite users will be divided according to the order amount multiplied by the distribution level.",发放时间:"Commission Time","{number} 人":"{number} people","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"If your subscription address or account is leaked and misused by others, you can reset your subscription information here to prevent unnecessary losses.",再次输入密码:"Enter password again",返回登陆:"Return to Login",选填:"Optional",必填:"Required",最后回复时间:"Last Reply Time",请选项工单等级:"Please Select Ticket Priority",回复:"Reply",输入内容回复工单:"Enter Content to Reply to Ticket",已生成:"Generated",选择协议:"Select Protocol",自动:"Automatic",流量重置包:"Data Reset Package",复制失败:"Copy failed",提示:"Notification","确认退出?":"Confirm Logout?",已退出登录:"Logged out successfully",请输入邮箱地址:"Enter email address","{second}秒后可重新发送":"Resend available in {second} seconds",发送成功:"Sent successfully",请输入账号密码:"Enter account and password",请确保两次密码输入一致:"Ensure password entries match",注册成功:"Registration successful","重置密码成功,正在返回登录":"Password reset successful, returning to login",确认取消:"Confirm Cancel","请注意,变更订阅会导致当前订阅被覆盖。":"Please note that changing the subscription will overwrite the current subscription.","订单提交成功,正在跳转支付":"Order submitted successfully, redirecting to payment.",回复成功:"Reply Successful",工单详情:"Ticket Details",登录成功:"Login Successful","确定退出?":"Are you sure you want to exit?",支付成功:"Payment Successful",正在前往收银台:"Proceeding to Checkout",请输入正确的划转金额:"Please enter the correct transfer amount",划转成功:"Transfer Successful",提现方式不能为空:"Withdrawal method cannot be empty",提现账号不能为空:"Withdrawal account cannot be empty",已绑定:"Already Bound"},nk=Object.freeze(Object.defineProperty({__proto__:null,default:xNe},Symbol.toStringTag,{value:"Module"})),CNe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یک‌باره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپی‌کردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبت‌نام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث می‌شود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 服务条款':"من شرایط خدمات را خوانده‌ام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسب‌ها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایان‌یافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزش‌ها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"داده‌های استفاده شده ظرف {reset_day} روز بازنشانی می‌شوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی می‌شود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که می‌خواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کرده‌اید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که می‌خواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، می‌توانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیان‌های غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر می‌توانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی می‌شود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت می‌شود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیت‌آمیز","确定退出?":"آیا مطمئن هستید که می‌خواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمی‌تواند خالی باشد",提现账号不能为空:"حساب برداشت نمی‌تواند خالی باشد",已绑定:"قبلاً متصل شده"},ok=Object.freeze(Object.defineProperty({__proto__:null,default:CNe},Symbol.toStringTag,{value:"Module"})),wNe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 服务条款':"ご利用規約に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"5分間のオンラインステータス",倍率:"適応レート",使用的流量将乘以倍率进行扣除:"通信量は該当レートに基き計算されます",更多操作:"アクション","没有可用节点,如果您未订阅或已过期请":"ご利用可能なサーバーがありません,プランの期限切れまたは購入なされていない場合は","确定重置当前已用流量?":"利用済みデータ量をリセットしますか?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"「確定」をクリックし次のページへ移動,お支払い後に当月分のデータ通信量は即時リセットされます",确定:"確定",低:"低",中:"中",高:"高",主题:"タイトル",工单级别:"プライオリティ",工单状态:"進捗状況",最后回复:"最終回答日時",已关闭:"終了",待回复:"対応待ち",已回复:"回答済み",查看:"閲覧",关闭:"終了",新的工单:"新規お問い合わせ",确认:"確定",请输入工单主题:"お問い合わせタイトルをご入力ください",工单等级:"ご希望のプライオリティ",请选择工单等级:"ご希望のプライオリティをお選びください",消息:"メッセージ",请描述你遇到的问题:"お問い合わせ内容をご入力ください",记录时间:"記録日時",实际上行:"アップロード",实际下行:"ダウンロード",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"計算式:(アップロード + ダウンロード) x 適応レート = 使用済みデータ通信量",复制订阅地址:"サブスクリプションのURLをコピー",导入到:"インポート先:",一键订阅:"ワンクリックインポート",复制订阅:"サブスクリプションのURLをコピー",推广佣金划转至余额:"コミッションを残高へ振替","划转后的余额仅用于{title}消费使用":"振替済みの残高は{title}でのみご利用可能です",当前推广佣金余额:"現在のコミッション金額",划转金额:"振替金額",请输入需要划转到余额的金额:"振替金額をご入力ください","输入内容回复工单...":"お問い合わせ内容をご入力ください...",申请提现:"出金申請",取消:"キャンセル",提现方式:"お振込み先",请选择提现方式:"お振込み先をお選びください",提现账号:"お振り込み先口座",请输入提现账号:"お振込み先口座をご入力ください",我知道了:"了解",第一步:"ステップその1",第二步:"ステップその2",打开Telegram搜索:"Telegramを起動後に右記内容を入力し検索",向机器人发送你的:"テレグラムボットへ下記内容を送信","最后更新: {date}":"最終更新日: {date}",还有没支付的订单:"未払いのご注文があります",立即支付:"チェックアウト",条工单正在处理中:"件のお問い合わせ",立即查看:"閲覧",节点状态:"サーバーステータス",商品信息:"プラン詳細",产品名称:"プラン名","类型/周期":"サイクル",产品流量:"ご利用可能データ量",订单信息:"オーダー情報",关闭订单:"注文をキャンセル",订单号:"受注番号",优惠金额:"'割引額",旧订阅折抵金额:"既存プラン控除額",退款金额:"返金額",余额支付:"残高ご利用分",工单历史:"お問い合わせ履歴","已用流量将在 {reset_day} 日后重置":"利用済みデータ量は {reset_day} 日後にリセットします",已用流量已在今日重置:"利用済みデータ量は本日リセットされました",重置已用流量:"利用済みデータ量をリセット",查看节点状态:"接続先サーバのステータス","当前已使用流量达{rate}%":"データ使用量が{rate}%になりました",节点名称:"サーバー名","于 {date} 到期,距离到期还有 {day} 天。":"ご利用期限は {date} まで,期限まであと {day} 日","Telegram 讨论组":"Telegramグループ",立即加入:"今すぐ参加","该订阅无法续费,仅允许新用户购买":"該当プランは継続利用できません、新規ユーザーのみが購入可能です",重置当月流量:"使用済みデータ量のカウントリセット","流量明细仅保留近月数据以供查询。":"データ通信明細は当月分のみ表示されます",扣费倍率:"適応レート",支付手续费:"お支払い手数料",续费订阅:"購読更新",学习如何使用:"ご利用ガイド",快速将节点导入对应客户端进行使用:"最短ルートでサーバー情報をアプリにインポートして使用する",对您当前的订阅进行续费:"ご利用中のサブスクの継続料金を支払う",对您当前的订阅进行购买:"ご利用中のサブスクを再度購入する",捷径:"ショートカット","不会使用,查看使用教程":"ご利用方法がわからない方はナレッジベースをご閲覧ください",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"QRコードをスキャンしてサブスクを設定",续费:"更新",购买:"購入",查看教程:"チュートリアルを表示",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"まだ購入が完了していないオーダーがあります。購入前にそちらをキャンセルする必要がありますが、キャンセルしてよろしいですか?",确定取消:"キャンセル",返回我的订单:"注文履歴に戻る","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"もし既にお支払いが完了していると、注文をキャンセルすると支払いが失敗となる可能性があります。キャンセルしてもよろしいですか?",选择最适合你的计划:"あなたにピッタリのプランをお選びください",全部:"全て",按周期:"期間順",遇到问题:"何かお困りですか?",遇到问题可以通过工单与我们沟通:"何かお困りでしたら、お問い合わせからご連絡ください。",按流量:"データ通信量順",搜索文档:"ドキュメント内を検索",技术支持:"テクニカルサポート",当前剩余佣金:"コミッション残高",三级分销比例:"3ティア比率",累计获得佣金:"累計獲得コミッション金額","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"お客様に招待された方が更に別の方を招待された場合、お客様は支払われるオーダーからティア分配分の比率分を受け取ることができます。",发放时间:"手数料支払時間","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"購読アドレスまたはアカウントが漏れて他者に悪用された場合、不必要な損失を防ぐためにここで購読情報をリセットできます。",再次输入密码:"パスワードを再入力してください",返回登陆:"ログインに戻る",选填:"任意",必填:"必須",最后回复时间:"最終返信時刻",请选项工单等级:"チケットの優先度を選択してください",回复:"返信",输入内容回复工单:"チケットへの返信内容を入力",已生成:"生成済み",选择协议:"プロトコルの選択",自动:"自動",流量重置包:"データリセットパッケージ",复制失败:"コピーに失敗しました",提示:"通知","确认退出?":"ログアウトを確認?",已退出登录:"正常にログアウトしました",请输入邮箱地址:"メールアドレスを入力してください","{second}秒后可重新发送":"{second} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています"},rk=Object.freeze(Object.defineProperty({__proto__:null,default:wNe},Symbol.toStringTag,{value:"Module"})),_Ne={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 服务条款':"을 읽었으며 이에 동의합니다 서비스 약관",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 5분 동안의 액세스 포인트 온라인 상태",倍率:"요금",使用的流量将乘以倍率进行扣除:"사용된 전송 데이터에 전송 데이터 요금을 뺀 값을 곱합니다.",更多操作:"설정","没有可用节点,如果您未订阅或已过期请":"사용 가능한 액세스 포인트가 없습니다. 구독을 신청하지 않았거나 구독이 만료된 경우","确定重置当前已用流量?":"현재 사용 중인 데이터를 재설정 하시겠습니까?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":'확인"을 클릭하면 결제 페이지로 이동됩니다. 주문이 완료되면 시스템에서 해당 월의 사용 데이터를 삭제합니다.',确定:"확인",低:"낮음",中:"중간",高:"높음",主题:"주제",工单级别:"티켓 우선 순위",工单状态:"티켓 상태",最后回复:"생성 시간",已关闭:"마지막 답장",待回复:"설정",已回复:"닫힘",查看:"보기",关闭:"닫기",新的工单:"새로운 티켓",确认:"확인",请输入工单主题:"제목을 입력하세요",工单等级:"티켓 우선순위",请选择工单等级:"티켓 우선순위를 선택해주세요",消息:"메세지",请描述你遇到的问题:"문제를 설명하십시오 발생한",记录时间:"기록 시간",实际上行:"실제 업로드",实际下行:"실제 다운로드",合计:"전체","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"공식: (실제 업로드 + 실제 다운로드) x 공제율 = 전송 데이터 공제",复制订阅地址:"구독 URL 복사",导入到:"내보내기",一键订阅:"빠른 구독",复制订阅:"구독 URL 복사",推广佣金划转至余额:"초청 수수료를 계좌 잔액으로 이체","划转后的余额仅用于{title}消费使用":"이체된 잔액은 {title} 소비에만 사용됩니다.",当前推广佣金余额:"현재 홍보 수수료 잔액",请输入需要划转到余额的金额:"잔액으로 이체할 금액을 입력하세요.",取消:"취소",提现方式:"인출 방법",请选择提现方式:"인출 방법을 선택해주세요",提现账号:"인출 계좌",请输入提现账号:"인출 계좌를 입력해주세요",我知道了:"알겠습니다.",第一步:"첫번째 단계",第二步:"두번째 단계",打开Telegram搜索:"텔레그램 열기 및 탐색",向机器人发送你的:"봇에 다음 명령을 보냅니다","最后更新: {date}":"마지막 업데이트{date}",还有没支付的订单:"미결제 주문이 있습니다",立即支付:"즉시 지불",条工单正在处理中:"티켓이 처리 중입니다",立即查看:"제목을 입력하세요",节点状态:"노드 상태",商品信息:"제품 정보",产品名称:"제품 명칭","类型/周期":"종류/기간",产品流量:"제품 데이터 용량",订单信息:"주문 정보",关闭订单:"주문 취소",订单号:"주문 번호",优惠金额:"할인 가격",旧订阅折抵金额:"기존 패키지 공제 금액",退款金额:"환불 금액",余额支付:"잔액 지불",工单历史:"티켓 기록","已用流量将在 {reset_day} 日后重置":"{reset_day}일 후에 사용한 데이터가 재설정됩니다",已用流量已在今日重置:"오늘 이미 사용한 데이터가 재설정되었습니다",重置已用流量:"사용한 데이터 재설정",查看节点状态:"노드 상태 확인","当前已使用流量达{rate}%":"현재 사용한 데이터 비율이 {rate}%에 도달했습니다",节点名称:"환불 금액","于 {date} 到期,距离到期还有 {day} 天。":"{day}까지, 만료 {day}일 전.","Telegram 讨论组":"텔레그램으로 문의하세요",立即加入:"지금 가입하세요","该订阅无法续费,仅允许新用户购买":"이 구독은 갱신할 수 없습니다. 신규 사용자만 구매할 수 있습니다.",重置当月流量:"이번 달 트래픽 초기화","流量明细仅保留近月数据以供查询。":"귀하의 트래픽 세부 정보는 최근 몇 달 동안만 유지됩니다",扣费倍率:"수수료 공제율",支付手续费:"수수료 지불",续费订阅:"구독 갱신",学习如何使用:"사용 방법 배우기",快速将节点导入对应客户端进行使用:"빠르게 노드를 해당 클라이언트로 가져와 사용하기",对您当前的订阅进行续费:"현재 구독 갱신",对您当前的订阅进行购买:"현재 구독 구매",捷径:"단축키","不会使用,查看使用教程":"사용 방법을 모르겠다면 사용 설명서 확인",使用支持扫码的客户端进行订阅:"스캔 가능한 클라이언트로 구독하기",扫描二维码订阅:"QR 코드 스캔하여 구독",续费:"갱신",购买:"구매",查看教程:"사용 설명서 보기",注意:"주의","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"미완료된 주문이 있습니다. 구매 전에 취소해야 합니다. 이전 주문을 취소하시겠습니까?",确定取消:"취소 확인",返回我的订单:"내 주문으로 돌아가기","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"이미 결제를 했을 경우 주문 취소는 결제 실패로 이어질 수 있습니다. 주문을 취소하시겠습니까?",选择最适合你的计划:"가장 적합한 요금제 선택",全部:"전체",按周期:"주기별",遇到问题:"문제 발생",遇到问题可以通过工单与我们沟通:"문제가 발생하면 서포트 티켓을 통해 문의하세요",按流量:"트래픽별",搜索文档:"문서 검색",技术支持:"기술 지원",当前剩余佣金:"현재 잔여 수수료",三级分销比例:"삼수준 분배 비율",累计获得佣金:"누적 수수료 획득","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"초대한 사용자가 다시 초대하면 주문 금액에 분배 비율을 곱하여 분배됩니다.",发放时间:"수수료 지급 시간","{number} 人":"{number} 명","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"구독 주소 또는 계정이 유출되어 다른 사람에게 남용되는 경우 여기에서 구독 정보를 재설정하여 불필요한 손실을 방지할 수 있습니다.",再次输入密码:"비밀번호를 다시 입력하세요",返回登陆:"로그인으로 돌아가기",选填:"선택 사항",必填:"필수",最后回复时间:"최근 답장 시간",请选项工单等级:"티켓 우선 순위 선택",回复:"답장",输入内容回复工单:"티켓에 대한 내용 입력",已生成:"생성됨",选择协议:"프로토콜 선택",自动:"자동",流量重置包:"데이터 리셋 패키지",复制失败:"복사 실패",提示:"알림","确认退出?":"로그아웃 확인?",已退出登录:"로그아웃 완료",请输入邮箱地址:"이메일 주소를 입력하세요","{second}秒后可重新发送":"{second} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨"},ik=Object.freeze(Object.defineProperty({__proto__:null,default:_Ne},Symbol.toStringTag,{value:"Module"})),SNe={请求失败:"Yêu Cầu Thất Bại",月付:"Tháng",季付:"Hàng Quý",半年付:"6 Tháng",年付:"Năm",两年付:"Hai Năm",三年付:"Ba Năm",一次性:"Dài Hạn",重置流量包:"Cập Nhật Dung Lượng",待支付:"Đợi Thanh Toán",开通中:"Đang xử lý",已取消:"Đã Hủy",已完成:"Thực Hiện",已折抵:"Quy Đổi",待确认:"Đợi Xác Nhận",发放中:"Đang Xác Nhận",已发放:"Hoàn Thành",无效:"Không Hợp Lệ",个人中心:"Trung Tâm Kiểm Soát",登出:"Đăng Xuất",搜索:"Tìm Kiếm",仪表盘:"Trang Chủ",订阅:"Gói Dịch Vụ",我的订阅:"Gói Dịch Vụ Của Tôi",购买订阅:"Mua Gói Dịch Vụ",财务:"Tài Chính",我的订单:"Đơn Hàng Của Tôi",我的邀请:"Lời Mời Của Tôi",用户:"Người Dùng",我的工单:"Liên Hệ Với Chúng Tôi",流量明细:"Chi Tiết Dung Lượng",使用文档:"Tài liệu sử dụng",绑定Telegram获取更多服务:"Liên kết Telegram thêm dịch vụ",点击这里进行绑定:"Ấn vào để liên kết",公告:"Thông Báo",总览:"Tổng Quat",该订阅长期有效:"Gói này có thời hạn dài",已过期:"Tài khoản hết hạn","已用 {used} / 总计 {total}":"Đã sử dụng {used} / Tổng dung lượng {total}",查看订阅:"Xem Dịch Vụ",邮箱:"E-mail",邮箱验证码:"Mã xác minh mail",发送:"Gửi",重置密码:"Đặt Lại Mật Khẩu",返回登入:"Về đăng nhập",邀请码:"Mã mời",复制链接:"Sao chép đường dẫn",完成时间:"Thời gian hoàn thành",佣金:"Tiền hoa hồng",已注册用户数:"Số người dùng đã đăng ký",佣金比例:"Tỷ lệ hoa hồng",确认中的佣金:"Hoa hồng đang xác nhận","佣金将会在确认后会到达你的佣金账户。":"Sau khi xác nhận tiền hoa hồng sẽ gửi đến tài khoản hoa hồng của bạn.",邀请码管理:"Quản lý mã mời",生成邀请码:"Tạo mã mời",佣金发放记录:"Hồ sơ hoa hồng",复制成功:"Sao chép thành công",密码:"Mật khẩu",登入:"Đăng nhập",注册:"Đăng ký",忘记密码:"Quên mật khẩu","# 订单号":"# Mã đơn hàng",周期:"Chu Kỳ",订单金额:"Tiền đơn hàng",订单状态:"Trạng thái đơn",创建时间:"Thời gian tạo",操作:"Thao tác",查看详情:"Xem chi tiết",请选择支付方式:"Chọn phương thức thanh toán",请检查信用卡支付信息:"Hãy kiểm tra thông tin thẻ thanh toán",订单详情:"Chi tiết đơn hàng",折扣:"Chiết khấu",折抵:"Giảm giá",退款:"Hoàn lại",支付方式:"Phương thức thanh toán",填写信用卡支付信息:"Điền thông tin Thẻ Tín Dụng","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"Thông tin thẻ tín dụng của bạn sẽ chỉ được sử dụng cho lần thanh toán này, hệ thống sẽ không lưu thông tin đó, chúng tôi nghĩ đây à cách an toàn nhất.",订单总额:"Tổng tiền đơn hàng",总计:"Tổng",结账:"Kết toán",等待支付中:"Đang chờ thanh toán","订单系统正在进行处理,请稍等1-3分钟。":"Hệ thống đang xử lý đơn hàng, vui lòng đợi 1-3p.","订单由于超时支付已被取消。":"Do quá giờ nên đã hủy đơn hàng.","订单已支付并开通。":"Đơn hàng đã thanh toán và mở.",选择订阅:"Chọn gói",立即订阅:"Mua gói ngay",配置订阅:"Thiết lập gói",付款周期:"Chu kỳ thanh toán","有优惠券?":"Có phiếu giảm giá?",验证:"Xác minh",下单:"Đặt hàng","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"Việc thay đổi gói dịch vụ sẽ thay thế gói hiện tại bằng gói mới, xin lưu ý.",该订阅无法续费:"Gói này không thể gia hạn",选择其他订阅:"Chọn gói dịch vụ khác",我的钱包:"Ví tiền của tôi","账户余额(仅消费)":"Số dư tài khoản (Chỉ tiêu dùng)","推广佣金(可提现)":"Tiền hoa hồng giới thiệu (Được rút)",钱包组成部分:"Thành phần ví tiền",划转:"Chuyển khoản",推广佣金提现:"Rút tiền hoa hồng giới thiệu",修改密码:"Đổi mật khẩu",保存:"Lưu",旧密码:"Mật khẩu cũ",新密码:"Mật khẩu mới",请输入旧密码:"Hãy nhập mật khẩu cũ",请输入新密码:"Hãy nhập mật khẩu mới",通知:"Thông Báo",到期邮件提醒:"Mail nhắc đến hạn",流量邮件提醒:"Mail nhắc dung lượng",绑定Telegram:"Liên kết Telegram",立即开始:"Bắt Đầu",重置订阅信息:"Reset thông tin gói",重置:"Reset","确定要重置订阅信息?":"Xác nhận reset thông tin gói?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"Nếu địa chỉ hoặc thông tin gói dịch vụ của bạn bị tiết lộ có thể tiến hành thao tác này. Sau khi reset UUID sẽ thay đổi.",重置成功:"Reset thành công",两次新密码输入不同:"Mật khẩu mới xác nhận không khớp",两次密码输入不同:"Mật khẩu xác nhận không khớp","邀请码(选填)":"Mã mời(Điền)",'我已阅读并同意 服务条款':"Tôi đã đọc và đồng ý điều khoản dịch vụ",请同意服务条款:"Hãy đồng ý điều khoản dịch vụ",名称:"Tên",标签:"Nhãn",状态:"Trạng thái",节点五分钟内节点在线情况:"Node trạng thái online trong vòng 5 phút",倍率:"Bội số",使用的流量将乘以倍率进行扣除:"Dung lượng sử dụng nhân với bội số rồi khấu trừ",更多操作:"Thêm thao tác","没有可用节点,如果您未订阅或已过期请":"Chưa có node khả dụng, nếu bạn chưa mua gói hoặc đã hết hạn hãy","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"Ấn 「OK」 sẽ chuyển đến trang thanh toán, sau khi thanh toán đơn hàng hệ thống sẽ xóa dung lượng đã dùng tháng này của bạn.",确定:"OK",低:"Thấp",中:"Vừa",高:"Cao",主题:"Chủ Đề",工单级别:"Cấp độ",工单状态:"Trạng thái",最后回复:"Trả lời gần đây",已关闭:"Đã đóng",待回复:"Chờ trả lời",已回复:"Đã trả lời",查看:"Xem",关闭:"Đóng",新的工单:"Việc mới",确认:"OK",请输入工单主题:"Hãy nhập chủ đề công việc",工单等级:"Cấp độ công việc",请选择工单等级:"Hãy chọn cấp độ công việc",消息:"Thông tin",请描述你遇到的问题:"Hãy mô tả vấn đề gặp phải",记录时间:"Thời gian ghi",实际上行:"Upload thực tế",实际下行:"Download thực tế",合计:"Cộng","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"Công thức: (upload thực tế + download thực tế) x bội số trừ phí = Dung lượng khấu trừ",复制订阅地址:"Sao chép liên kết",导入到:"Nhập vào",一键订阅:"Nhấp chuột để đồng bộ máy chủ",复制订阅:"Sao chép liên kết",推广佣金划转至余额:"Chuyển khoản hoa hồng giới thiệu đến số dư","划转后的余额仅用于{title}消费使用":"Số dư sau khi chuyển khoản chỉ dùng để tiêu dùng {title}",当前推广佣金余额:"Số dư hoa hồng giới thiệu hiện tại",划转金额:"Chuyển tiền",请输入需要划转到余额的金额:"Hãy nhậo số tiền muốn chuyển đến số dư","输入内容回复工单...":"Nhập nội dung trả lời công việc...",申请提现:"Yêu cầu rút tiền",取消:"Hủy",提现方式:"Phương thức rút tiền",请选择提现方式:"Hãy chọn phương thức rút tiền",提现账号:"Rút về tào khoản",请输入提现账号:"Hãy chọn tài khoản rút tiền",我知道了:"OK",第一步:"Bước 1",第二步:"Bước 2",打开Telegram搜索:"Mở Telegram tìm kiếm",向机器人发送你的:"Gửi cho bot","最后更新: {date}":"Cập nhật gần đây: {date}",还有没支付的订单:"Có đơn hàng chưa thanh toán",立即支付:"Thanh toán ngay",条工单正在处理中:" công việc đang xử lý",立即查看:"Xem Ngay",节点状态:"Trạng thái node",商品信息:"Thông tin",产品名称:"Tên sản phẩm","类型/周期":"Loại/Chu kỳ",产品流量:"Dung Lượng",订单信息:"Thông tin đơn hàng",关闭订单:"Đóng đơn hàng",订单号:"Mã đơn hàng",优惠金额:"Tiền ưu đãi",旧订阅折抵金额:"Tiền giảm giá gói cũ",退款金额:"Số tiền hoàn lại",余额支付:"Thanh toán số dư",工单历史:"Lịch sử đơn hàng","已用流量将在 {reset_day} 日后重置":"Dữ liệu đã sử dụng sẽ được đặt lại sau {reset_day} ngày",已用流量已在今日重置:"Dữ liệu đã sử dụng đã được đặt lại trong ngày hôm nay",重置已用流量:"Đặt lại dữ liệu đã sử dụng",查看节点状态:"Xem trạng thái nút","当前已使用流量达{rate}%":"Dữ liệu đã sử dụng hiện tại đạt {rate}%",节点名称:"Tên node","于 {date} 到期,距离到期还有 {day} 天。":"Hết hạn vào {date}, còn {day} ngày.","Telegram 讨论组":"Nhóm Telegram",立即加入:"Vào ngay","该订阅无法续费,仅允许新用户购买":"Đăng ký này không thể gia hạn, chỉ người dùng mới được phép mua",重置当月流量:"Đặt lại dung lượng tháng hiện tại","流量明细仅保留近月数据以供查询。":"Chi tiết dung lượng chỉ lưu dữ liệu của những tháng gần đây để truy vấn.",扣费倍率:"Tỷ lệ khấu trừ",支付手续费:"Phí thủ tục",续费订阅:"Gia hạn đăng ký",学习如何使用:"Hướng dẫn sử dụng",快速将节点导入对应客户端进行使用:"Bạn cần phải mua gói này",对您当前的订阅进行续费:"Gia hạn gói hiện tại",对您当前的订阅进行购买:"Mua gói bạn đã chọn",捷径:"Phím tắt","不会使用,查看使用教程":"Mua gói này nếu bạn đăng ký",使用支持扫码的客户端进行订阅:"Sử dụng ứng dụng quét mã để đăng ký",扫描二维码订阅:"Quét mã QR để đăng ký",续费:"Gia hạn",购买:"Mua",查看教程:"Xem hướng dẫn",注意:"Chú Ý","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"Bạn vẫn còn đơn đặt hàng chưa hoàn thành. Bạn cần hủy trước khi mua. Bạn có chắc chắn muốn hủy đơn đặt hàng trước đó không ?",确定取消:"Đúng/không",返回我的订单:"Quay lại đơn đặt hàng của tôi","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"Nếu bạn đã thanh toán, việc hủy đơn hàng có thể khiến việc thanh toán không thành công. Bạn có chắc chắn muốn hủy đơn hàng không ?",选择最适合你的计划:"Chọn kế hoạch phù hợp với bạn nhất",全部:"Tất cả",按周期:"Chu kỳ",遇到问题:"Chúng tôi có một vấn đề",遇到问题可以通过工单与我们沟通:"Nếu bạn gặp sự cố, bạn có thể liên lạc với chúng tôi thông qua ",按流量:"Theo lưu lượng",搜索文档:"Tìm kiếm tài liệu",技术支持:"Hỗ trợ kỹ thuật",当前剩余佣金:"Số dư hoa hồng hiện tại",三级分销比例:"Tỷ lệ phân phối cấp 3",累计获得佣金:"Tổng hoa hồng đã nhận","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"Người dùng bạn mời lại mời người dùng sẽ được chia theo tỷ lệ của số tiền đơn hàng nhân với cấp độ phân phối.",发放时间:"Thời gian thanh toán hoa hồng","{number} 人":"{number} người","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"Nếu địa chỉ đăng ký hoặc tài khoản của bạn bị rò rỉ và bị người khác lạm dụng, bạn có thể đặt lại thông tin đăng ký tại đây để tránh mất mát không cần thiết.",再次输入密码:"Nhập lại mật khẩu",返回登陆:"Quay lại Đăng nhập",选填:"Tùy chọn",必填:"Bắt buộc",最后回复时间:"Thời gian Trả lời Cuối cùng",请选项工单等级:"Vui lòng Chọn Mức độ Ưu tiên Công việc",回复:"Trả lời",输入内容回复工单:"Nhập Nội dung để Trả lời Công việc",已生成:"Đã tạo",选择协议:"Chọn Giao thức",自动:"Tự động",流量重置包:"Gói Reset Dữ liệu",复制失败:"Sao chép thất bại",提示:"Thông báo","确认退出?":"Xác nhận Đăng xuất?",已退出登录:"Đã đăng xuất thành công",请输入邮箱地址:"Nhập địa chỉ email","{second}秒后可重新发送":"Gửi lại sau {second} giây",发送成功:"Gửi thành công",请输入账号密码:"Nhập tên đăng nhập và mật khẩu",请确保两次密码输入一致:"Đảm bảo hai lần nhập mật khẩu giống nhau",注册成功:"Đăng ký thành công","重置密码成功,正在返回登录":"Đặt lại mật khẩu thành công, đang quay trở lại trang đăng nhập",确认取消:"Xác nhận Hủy","请注意,变更订阅会导致当前订阅被覆盖。":"Vui lòng lưu ý rằng thay đổi đăng ký sẽ ghi đè lên đăng ký hiện tại.","订单提交成功,正在跳转支付":"Đơn hàng đã được gửi thành công, đang chuyển hướng đến thanh toán.",回复成功:"Trả lời thành công",工单详情:"Chi tiết Ticket",登录成功:"Đăng nhập thành công","确定退出?":"Xác nhận thoát?",支付成功:"Thanh toán thành công",正在前往收银台:"Đang tiến hành thanh toán",请输入正确的划转金额:"Vui lòng nhập số tiền chuyển đúng",划转成功:"Chuyển khoản thành công",提现方式不能为空:"Phương thức rút tiền không được để trống",提现账号不能为空:"Tài khoản rút tiền không được để trống",已绑定:"Đã liên kết"},ak=Object.freeze(Object.defineProperty({__proto__:null,default:SNe},Symbol.toStringTag,{value:"Module"})),kNe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 服务条款':'我已阅读并同意 服务条款',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定"},sk=Object.freeze(Object.defineProperty({__proto__:null,default:kNe},Symbol.toStringTag,{value:"Module"})),TNe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 服务条款':'我已閱讀並同意 服務條款',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定"},lk=Object.freeze(Object.defineProperty({__proto__:null,default:TNe},Symbol.toStringTag,{value:"Module"}))});export default PNe(); diff --git a/public/theme/Xboard/assets/umi.js.br b/public/theme/Xboard/assets/umi.js.br index 3c6d987..c845e81 100644 Binary files a/public/theme/Xboard/assets/umi.js.br and b/public/theme/Xboard/assets/umi.js.br differ diff --git a/public/theme/Xboard/assets/umi.js.gz b/public/theme/Xboard/assets/umi.js.gz index 4ae0e2d..814f087 100644 Binary files a/public/theme/Xboard/assets/umi.js.gz and b/public/theme/Xboard/assets/umi.js.gz differ