mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 10:30:51 +08:00
- Add HasPluginConfig trait and PluginController base class - Integrate guest_comm_config hook in CommController for plugin frontend config injection - Add user creation functionality to UserService and fix null value handling - Enhance AbstractPlugin.getConfig() with key parameter support - Multiple service layer optimizations and architecture improvements
3819 lines
1.4 MiB
Vendored
3819 lines
1.4 MiB
Vendored
(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,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>");mask-image:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' version='1.1' aria-hidden='true'><path fill-rule='evenodd' d='M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z'></path></svg>")}.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:16px}html,body{width:100%;height:100%;overflow:hidden;background-color:#f2f2f2;font-family:Encode Sans Condensed,sans-serif}html.dark body{background-color:#292b2b}::-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-94f2350e]{width:100%;height:240px;object-fit:cover}.pay-qrcode{width:100%;height:100%}.pay-qrcode>canvas{width:100%!important;height:100%!important}.card-container[data-v-16d7c058]{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-16d7c058]{max-width:100%}@media screen and (min-width: 768px){.card-container[data-v-16d7c058]{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-16d7c058]{grid-template-columns:repeat(auto-fit,minmax(calc(33.33% - 1rem),1fr));padding:0 10px;column-gap:20px;min-width:375px}}#--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: }.container{width:100%}.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}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.right-0{right:0}.right-4{right:16px}[bottom~="20"]{bottom:80px}.z-99999{z-index:99999}.grid{display:grid}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.m-0{margin:0}.m-0\\!{margin:0!important}.m-3{margin:12px}.m-auto,[m-auto=""]{margin:auto}.mx-2\\.5{margin-left:10px;margin-right:10px}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:4px}.mb-1em{margin-bottom:1em}.mb-2{margin-bottom:8px}.mb-2\\.5{margin-bottom:10px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-5{margin-bottom:20px}.ml-1{margin-left:4px}.ml-2\\.5{margin-left:10px}.ml-5{margin-left:20px}.ml-auto,[ml-auto=""]{margin-left:auto}.mr-0{margin-right:0}.mr-1\\.2{margin-right:4.8px}.mr-1\\.3{margin-right:5.2px}.mr-5{margin-right:20px}.mr-auto{margin-right:auto}.mr10,[mr10=""]{margin-right:40px}.mt-1{margin-top:4px}.mt-15,[mt-15=""]{margin-top:60px}.mt-2{margin-top:8px}.mt-2\\.5{margin-top:10px}.mt-4{margin-top:16px}.mt-5,[mt-5=""]{margin-top:20px}.mt-8{margin-top:32px}.inline-block{display:inline-block}.hidden{display:none}.h-1\\.5{height:6px}.h-10{height:40px}.h-15{height:60px}.h-35,[h-35=""]{height:140px}.h-5,.h5{height:20px}.h-60,[h-60=""]{height:240px}.h-8{height:32px}.h-9{height:36px}.h-auto{height:auto}.h-full,[h-full=""]{height:100%}.h-full\\!{height:100%!important}.h-px{height:1px}.h1{height:4px}.h2{height:8px}.h3{height:12px}.max-h-8{max-height:32px}.max-w-1200{max-width:4800px}.max-w-125{max-width:500px}.max-w-35{max-width:140px}.max-w-full{max-width:100%}.max-w-md{max-width:448px}.min-w-75{min-width:300px}.w-1\\.5{width:6px}.w-150{width:600px}.w-16{width:64px}.w-35,[w-35=""]{width:140px}.w-375{width:1500px}.w-5{width:20px}.w-75{width:300px}.w-8{width:32px}.w-auto{width:auto}.w-full{width:100%}.w-full\\!{width:100%!important}.flex,[flex=""]{display:flex}.flex-\\[1\\]{flex:1}.flex-\\[2\\]{flex:2}.flex-1{flex:1 1 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-content:center}.justify-between{justify-content:space-between}.gap-3{gap:12px}.gap-5{gap:20px}.space-x-4>:not([hidden])~:not([hidden]){--un-space-x-reverse:0;margin-left:calc(16px * calc(1 - var(--un-space-x-reverse)));margin-right:calc(16px * var(--un-space-x-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(16px * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(16px * var(--un-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--un-space-y-reverse:0;margin-top:calc(20px * calc(1 - var(--un-space-y-reverse)));margin-bottom:calc(20px * var(--un-space-y-reverse))}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.break-anywhere{overflow-wrap:anywhere}.b{border-width:1px}.border-0,.dark [dark~=border-0]{border-width:0px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-\\[\\#646669\\]{--un-border-opacity:1;border-color:rgb(100 102 105 / var(--un-border-opacity))}.border-gray-600{--un-border-opacity:1;border-color:rgb(75 85 99 / var(--un-border-opacity))}.border-primary{border-color:var(--primary-color)}.border-transparent{border-color:transparent}.border-rounded-5,[border-rounded-5=""]{border-radius:20px}.rounded-full,[rounded-full=""]{border-radius:9999px}.rounded-lg{border-radius:8px}.rounded-md{border-radius:6px}.border-none{border-style:none}.border-solid{border-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{--un-bg-opacity:1;background-color:rgb(245 246 251 / 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-gray-300{--un-bg-opacity:1;background-color:rgb(209 213 219 / var(--un-bg-opacity))}.bg-gray-50{--un-bg-opacity:1;background-color:rgb(249 250 251 / var(--un-bg-opacity))}.bg-gray-800{--un-bg-opacity:1;background-color:rgb(31 41 55 / var(--un-bg-opacity))}.bg-green-500{--un-bg-opacity:1;background-color:rgb(34 197 94 / var(--un-bg-opacity))}.bg-orange-600{--un-bg-opacity:1;background-color:rgb(234 88 12 / 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{--un-bg-opacity:1;background-color:rgb(16 16 20 / var(--un-bg-opacity))}.dark .dark\\:bg-hex-121212{--un-bg-opacity:1;background-color:rgb(18 18 18 / var(--un-bg-opacity))}.dark .dark\\:bg-primary\\/20,.dark .dark\\:hover\\:bg-primary\\/20:hover{background-color:var(--primary-color)}.hover\\:bg-gray-100:hover{--un-bg-opacity:1;background-color:rgb(243 244 246 / var(--un-bg-opacity))}.p-0{padding:0}.p-0\\!{padding:0!important}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2\\.5{padding:10px}.p-5{padding:20px}.p-6{padding:24px}.px,.px-4{padding-left:16px;padding-right:16px}.px-3{padding-left:12px;padding-right:12px}.px-6{padding-left:24px;padding-right:24px}.py-2{padding-top:8px;padding-bottom:8px}.py-3{padding-top:12px;padding-bottom:12px}.py-4{padding-top:16px;padding-bottom:16px}.pb-1{padding-bottom:4px}.pb-2\\.5{padding-bottom:10px}.pb-4{padding-bottom:16px}.pb-8{padding-bottom:32px}.pl-1{padding-left:4px}.pl-4{padding-left:16px}.pr-4{padding-right:16px}.pt-1{padding-top:4px}.pt-2{padding-top:8px}.pt-2\\.5{padding-top:10px}.pt-4{padding-top:16px}.pt-5{padding-top:20px}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.indent{text-indent:24px}[indent~="0"]{text-indent:0}.root-indent:root{text-indent:24px}[root-indent~="18"]:root{text-indent:72px}.vertical-bottom{vertical-align:bottom}.text-14,[text-14=""]{font-size:56px}.text-3xl{font-size:30px;line-height:36px}.text-4xl{font-size:36px;line-height:40px}.text-5xl{font-size:48px;line-height:1}.text-9xl{font-size:128px;line-height:1}.text-base{font-size:16px;line-height:24px}.text-lg{font-size:18px;line-height:28px}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.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-primary,.text-\\[--primary-color\\]{color:var(--primary-color)}[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))}[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)}.dark .dark\\:text-gray-100{--un-text-opacity:1;color:rgb(243 244 246 / var(--un-text-opacity))}.dark .dark\\:text-gray-300,.text-gray-300{--un-text-opacity:1;color:rgb(209 213 219 / var(--un-text-opacity))}.text-\\[rgba\\(0\\,0\\,0\\,0\\.45\\)\\]{--un-text-opacity:.45;color:rgba(0,0,0,var(--un-text-opacity))}.text-gray-400{--un-text-opacity:1;color:rgb(156 163 175 / var(--un-text-opacity))}.text-gray-500{--un-text-opacity:1;color:rgb(107 114 128 / var(--un-text-opacity))}.text-gray-600{--un-text-opacity:1;color:rgb(75 85 99 / var(--un-text-opacity))}.text-gray-700{--un-text-opacity:1;color:rgb(55 65 81 / var(--un-text-opacity))}.text-gray-900{--un-text-opacity:1;color:rgb(17 24 39 / var(--un-text-opacity))}.text-green-400{--un-text-opacity:1;color:rgb(74 222 128 / var(--un-text-opacity))}.text-green-500{--un-text-opacity:1;color:rgb(34 197 94 / var(--un-text-opacity))}.text-red-500{--un-text-opacity:1;color:rgb(239 68 68 / var(--un-text-opacity))}.text-white{--un-text-opacity:1;color:rgb(255 255 255 / 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-50{opacity:.5}.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}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}[duration~="500"]{transition-duration:.5s}[content~="$t("]{content:var(--t\\()}.placeholder-gray-400::placeholder{--un-placeholder-opacity:1;color:rgb(156 163 175 / var(--un-placeholder-opacity))}[placeholder~="$t("]::placeholder{color:var(--t\\()}@media (min-width: 768px){.md\\:mx-auto{margin-left:auto;margin-right:auto}.md\\:mb-10{margin-bottom:40px}.md\\:ml-5{margin-left:20px}.md\\:mr-2\\.5{margin-right:10px}.md\\:mt-10{margin-top:40px}.md\\:mt-5{margin-top:20px}.md\\:block{display:block}.md\\:hidden{display:none}.md\\:h-8{height:32px}.md\\:w-8{width:32px}.md\\:flex-\\[1\\]{flex:1}.md\\:flex-\\[2\\]{flex:2}.md\\:p-4{padding:16px}.md\\:pl-5{padding-left:20px}}@media (min-width: 1024px){.lg\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}#--unocss-layer-end--__ALL__--{end:__ALL__}`)),document.head.appendChild(o)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}})();
|
||
var v3=Object.defineProperty;var b3=(e,t,n)=>t in e?v3(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var y3=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var bd=(e,t,n)=>(b3(e,typeof t!="symbol"?t+"":t,n),n);var lNe=y3((Yn,Qn)=>{(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)}})();/**
|
||
* @vue/shared v3.4.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**//*! #__NO_SIDE_EFFECTS__ */function Qh(e,t){const n=new Set(e.split(","));return t?o=>n.has(o.toLowerCase()):o=>n.has(o)}const nn={},ha=[],Gn=()=>{},x3=()=>!1,Gc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jh=e=>e.startsWith("onUpdate:"),wn=Object.assign,Zh=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},C3=Object.prototype.hasOwnProperty,Mt=(e,t)=>C3.call(e,t),ct=Array.isArray,pa=e=>Xc(e)==="[object Map]",fy=e=>Xc(e)==="[object Set]",pt=e=>typeof e=="function",ln=e=>typeof e=="string",Kr=e=>typeof e=="symbol",Qt=e=>e!==null&&typeof e=="object",hy=e=>(Qt(e)||pt(e))&&pt(e.then)&&pt(e.catch),py=Object.prototype.toString,Xc=e=>py.call(e),w3=e=>Xc(e).slice(8,-1),my=e=>Xc(e)==="[object Object]",ep=e=>ln(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,bs=Qh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yc=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},_3=/-(\w)/g,Ao=Yc(e=>e.replace(_3,(t,n)=>n?n.toUpperCase():"")),S3=/\B([A-Z])/g,Gr=Yc(e=>e.replace(S3,"-$1").toLowerCase()),Qc=Yc(e=>e.charAt(0).toUpperCase()+e.slice(1)),yd=Yc(e=>e?`on${Qc(e)}`:""),Nr=(e,t)=>!Object.is(e,t),ic=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},gy=(e,t,n,o=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:o,value:n})},$f=e=>{const t=parseFloat(e);return isNaN(t)?e:t},k3=e=>{const t=ln(e)?Number(e):NaN;return isNaN(t)?e:t};let og;const vy=()=>og||(og=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Di(e){if(ct(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=ln(o)?R3(o):Di(o);if(r)for(const i in r)t[i]=r[i]}return t}else if(ln(e)||Qt(e))return e}const P3=/;(?![^(]*\))/g,T3=/:([^]+)/,A3=/\/\*[^]*?\*\//g;function R3(e){const t={};return e.replace(A3,"").split(P3).forEach(n=>{if(n){const o=n.split(T3);o.length>1&&(t[o[0].trim()]=o[1].trim())}}),t}function qn(e){let t="";if(ln(e))t=e;else if(ct(e))for(let n=0;n<e.length;n++){const o=qn(e[n]);o&&(t+=o+" ")}else if(Qt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const E3="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$3=Qh(E3);function by(e){return!!e||e===""}const yy=e=>!!(e&&e.__v_isRef===!0),pe=e=>ln(e)?e:e==null?"":ct(e)||Qt(e)&&(e.toString===py||!pt(e.toString))?yy(e)?pe(e.value):JSON.stringify(e,xy,2):String(e),xy=(e,t)=>yy(t)?xy(e,t.value):pa(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[o,r],i)=>(n[xd(o,i)+" =>"]=r,n),{})}:fy(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xd(n))}:Kr(t)?xd(t):Qt(t)&&!ct(t)&&!my(t)?String(t):t,xd=(e,t="")=>{var n;return Kr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let Wn;class Cy{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<o;n++)this.effects[n].stop();for(n=0,o=this.cleanups.length;n<o;n++)this.cleanups[n]();if(this.scopes)for(n=0,o=this.scopes.length;n<o;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function tp(e){return new Cy(e)}function I3(e,t=Wn){t&&t.active&&t.effects.push(e)}function np(){return Wn}function wy(e){Wn&&Wn.cleanups.push(e)}let wi;class op{constructor(t,n,o,r){this.fn=t,this.trigger=n,this.scheduler=o,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,I3(this,r)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Xr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(O3(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Yr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Dr,n=wi;try{return Dr=!0,wi=this,this._runnings++,rg(this),this.fn()}finally{ig(this),this._runnings--,wi=n,Dr=t}}stop(){this.active&&(rg(this),ig(this),this.onStop&&this.onStop(),this.active=!1)}}function O3(e){return e.value}function rg(e){e._trackId++,e._depsLength=0}function ig(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)_y(e.deps[t],e);e.deps.length=e._depsLength}}function _y(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Dr=!0,If=0;const Sy=[];function Xr(){Sy.push(Dr),Dr=!1}function Yr(){const e=Sy.pop();Dr=e===void 0?!0:e}function rp(){If++}function ip(){for(If--;!If&&Of.length;)Of.shift()()}function ky(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const o=e.deps[e._depsLength];o!==t?(o&&_y(o,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Of=[];function Py(e,t,n){rp();for(const o of e.keys()){let r;o._dirtyLevel<t&&(r??(r=e.get(o)===o._trackId))&&(o._shouldSchedule||(o._shouldSchedule=o._dirtyLevel===0),o._dirtyLevel=t),o._shouldSchedule&&(r??(r=e.get(o)===o._trackId))&&(o.trigger(),(!o._runnings||o.allowRecurse)&&o._dirtyLevel!==2&&(o._shouldSchedule=!1,o.scheduler&&Of.push(o.scheduler)))}ip()}const Ty=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},bc=new WeakMap,_i=Symbol(""),Mf=Symbol("");function jn(e,t,n){if(Dr&&wi){let o=bc.get(e);o||bc.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=Ty(()=>o.delete(n))),ky(wi,r)}}function lr(e,t,n,o,r,i){const a=bc.get(e);if(!a)return;let s=[];if(t==="clear")s=[...a.values()];else if(n==="length"&&ct(e)){const l=Number(o);a.forEach((c,u)=>{(u==="length"||!Kr(u)&&u>=l)&&s.push(c)})}else switch(n!==void 0&&s.push(a.get(n)),t){case"add":ct(e)?ep(n)&&s.push(a.get("length")):(s.push(a.get(_i)),pa(e)&&s.push(a.get(Mf)));break;case"delete":ct(e)||(s.push(a.get(_i)),pa(e)&&s.push(a.get(Mf)));break;case"set":pa(e)&&s.push(a.get(_i));break}rp();for(const l of s)l&&Py(l,4);ip()}function M3(e,t){const n=bc.get(e);return n&&n.get(t)}const z3=Qh("__proto__,__v_isRef,__isVue"),Ay=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Kr)),ag=L3();function L3(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const o=It(this);for(let i=0,a=this.length;i<a;i++)jn(o,"get",i+"");const r=o[t](...n);return r===-1||r===!1?o[t](...n.map(It)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Xr(),rp();const o=It(this)[t].apply(this,n);return ip(),Yr(),o}}),e}function F3(e){Kr(e)||(e=String(e));const t=It(this);return jn(t,"has",e),t.hasOwnProperty(e)}class Ry{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,o){const r=this._isReadonly,i=this._isShallow;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?Y3:Oy:i?Iy:$y).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(o)?t:void 0;const a=ct(t);if(!r){if(a&&Mt(ag,n))return Reflect.get(ag,n,o);if(n==="hasOwnProperty")return F3}const s=Reflect.get(t,n,o);return(Kr(n)?Ay.has(n):z3(n))||(r||jn(t,"get",n),i)?s:cn(s)?a&&ep(n)?s:s.value:Qt(s)?r?uo(s):to(s):s}}class Ey extends Ry{constructor(t=!1){super(!1,t)}set(t,n,o,r){let i=t[n];if(!this._isShallow){const l=Ei(i);if(!xa(o)&&!Ei(o)&&(i=It(i),o=It(o)),!ct(t)&&cn(i)&&!cn(o))return l?!1:(i.value=o,!0)}const a=ct(t)&&ep(n)?Number(n)<t.length:Mt(t,n),s=Reflect.set(t,n,o,r);return t===It(r)&&(a?Nr(o,i)&&lr(t,"set",n,o):lr(t,"add",n,o)),s}deleteProperty(t,n){const o=Mt(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&o&&lr(t,"delete",n,void 0),r}has(t,n){const o=Reflect.has(t,n);return(!Kr(n)||!Ay.has(n))&&jn(t,"has",n),o}ownKeys(t){return jn(t,"iterate",ct(t)?"length":_i),Reflect.ownKeys(t)}}class D3 extends Ry{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const B3=new Ey,N3=new D3,H3=new Ey(!0),ap=e=>e,Jc=e=>Reflect.getPrototypeOf(e);function Sl(e,t,n=!1,o=!1){e=e.__v_raw;const r=It(e),i=It(t);n||(Nr(t,i)&&jn(r,"get",t),jn(r,"get",i));const{has:a}=Jc(r),s=o?ap:n?cp:Ds;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 kl(e,t=!1){const n=this.__v_raw,o=It(n),r=It(e);return t||(Nr(e,r)&&jn(o,"has",e),jn(o,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Pl(e,t=!1){return e=e.__v_raw,!t&&jn(It(e),"iterate",_i),Reflect.get(e,"size",e)}function sg(e,t=!1){!t&&!xa(e)&&!Ei(e)&&(e=It(e));const n=It(this);return Jc(n).has.call(n,e)||(n.add(e),lr(n,"add",e,e)),this}function lg(e,t,n=!1){!n&&!xa(t)&&!Ei(t)&&(t=It(t));const o=It(this),{has:r,get:i}=Jc(o);let a=r.call(o,e);a||(e=It(e),a=r.call(o,e));const s=i.call(o,e);return o.set(e,t),a?Nr(t,s)&&lr(o,"set",e,t):lr(o,"add",e,t),this}function cg(e){const t=It(this),{has:n,get:o}=Jc(t);let r=n.call(t,e);r||(e=It(e),r=n.call(t,e)),o&&o.call(t,e);const i=t.delete(e);return r&&lr(t,"delete",e,void 0),i}function ug(){const e=It(this),t=e.size!==0,n=e.clear();return t&&lr(e,"clear",void 0,void 0),n}function Tl(e,t){return function(o,r){const i=this,a=i.__v_raw,s=It(a),l=t?ap:e?cp:Ds;return!e&&jn(s,"iterate",_i),a.forEach((c,u)=>o.call(r,l(c),l(u),i))}}function Al(e,t,n){return function(...o){const r=this.__v_raw,i=It(r),a=pa(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=r[e](...o),u=n?ap:t?cp:Ds;return!t&&jn(i,"iterate",l?Mf:_i),{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 Cr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function j3(){const e={get(i){return Sl(this,i)},get size(){return Pl(this)},has:kl,add:sg,set:lg,delete:cg,clear:ug,forEach:Tl(!1,!1)},t={get(i){return Sl(this,i,!1,!0)},get size(){return Pl(this)},has:kl,add(i){return sg.call(this,i,!0)},set(i,a){return lg.call(this,i,a,!0)},delete:cg,clear:ug,forEach:Tl(!1,!0)},n={get(i){return Sl(this,i,!0)},get size(){return Pl(this,!0)},has(i){return kl.call(this,i,!0)},add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear"),forEach:Tl(!0,!1)},o={get(i){return Sl(this,i,!0,!0)},get size(){return Pl(this,!0)},has(i){return kl.call(this,i,!0)},add:Cr("add"),set:Cr("set"),delete:Cr("delete"),clear:Cr("clear"),forEach:Tl(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Al(i,!1,!1),n[i]=Al(i,!0,!1),t[i]=Al(i,!1,!0),o[i]=Al(i,!0,!0)}),[e,n,t,o]}const[U3,V3,W3,q3]=j3();function sp(e,t){const n=t?e?q3:W3:e?V3:U3;return(o,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?o:Reflect.get(Mt(n,r)&&r in o?n:o,r,i)}const K3={get:sp(!1,!1)},G3={get:sp(!1,!0)},X3={get:sp(!0,!1)},$y=new WeakMap,Iy=new WeakMap,Oy=new WeakMap,Y3=new WeakMap;function Q3(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function J3(e){return e.__v_skip||!Object.isExtensible(e)?0:Q3(w3(e))}function to(e){return Ei(e)?e:lp(e,!1,B3,K3,$y)}function My(e){return lp(e,!1,H3,G3,Iy)}function uo(e){return lp(e,!0,N3,X3,Oy)}function lp(e,t,n,o,r){if(!Qt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const a=J3(e);if(a===0)return e;const s=new Proxy(e,a===2?o:n);return r.set(e,s),s}function Si(e){return Ei(e)?Si(e.__v_raw):!!(e&&e.__v_isReactive)}function Ei(e){return!!(e&&e.__v_isReadonly)}function xa(e){return!!(e&&e.__v_isShallow)}function zy(e){return e?!!e.__v_raw:!1}function It(e){const t=e&&e.__v_raw;return t?It(t):e}function Fs(e){return Object.isExtensible(e)&&gy(e,"__v_skip",!0),e}const Ds=e=>Qt(e)?to(e):e,cp=e=>Qt(e)?uo(e):e;class Ly{constructor(t,n,o,r){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new op(()=>t(this._value),()=>ys(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=o}get value(){const t=It(this);return(!t._cacheable||t.effect.dirty)&&Nr(t._value,t._value=t.effect.run())&&ys(t,4),up(t),t.effect._dirtyLevel>=2&&ys(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Z3(e,t,n=!1){let o,r;const i=pt(e);return i?(o=e,r=Gn):(o=e.get,r=e.set),new Ly(o,r,i||!r,n)}function up(e){var t;Dr&&wi&&(e=It(e),ky(wi,(t=e.dep)!=null?t:e.dep=Ty(()=>e.dep=void 0,e instanceof Ly?e:void 0)))}function ys(e,t=4,n,o){e=It(e);const r=e.dep;r&&Py(r,t)}function cn(e){return!!(e&&e.__v_isRef===!0)}function j(e){return Fy(e,!1)}function za(e){return Fy(e,!0)}function Fy(e,t){return cn(e)?e:new eP(e,t)}class eP{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:It(t),this._value=n?t:Ds(t)}get value(){return up(this),this._value}set value(t){const n=this.__v_isShallow||xa(t)||Ei(t);t=n?t:It(t),Nr(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:Ds(t),ys(this,4))}}function Te(e){return cn(e)?e.value:e}const tP={get:(e,t,n)=>Te(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return cn(r)&&!cn(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Dy(e){return Si(e)?e:new Proxy(e,tP)}class nP{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:o}=t(()=>up(this),()=>ys(this));this._get=n,this._set=o}get value(){return this._get()}set value(t){this._set(t)}}function oP(e){return new nP(e)}function rP(e){const t=ct(e)?new Array(e.length):{};for(const n in e)t[n]=By(e,n);return t}class iP{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 M3(It(this._object),this._key)}}class aP{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ue(e,t,n){return cn(e)?e:pt(e)?new aP(e):Qt(e)&&arguments.length>1?By(e,t,n):j(e)}function By(e,t,n){const o=e[t];return cn(o)?o:new iP(e,t,n)}/**
|
||
* @vue/runtime-core v3.4.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Br(e,t,n,o){try{return o?e(...o):e()}catch(r){Zc(r,t,n)}}function so(e,t,n,o){if(pt(e)){const r=Br(e,t,n,o);return r&&hy(r)&&r.catch(i=>{Zc(i,t,n)}),r}if(ct(e)){const r=[];for(let i=0;i<e.length;i++)r.push(so(e[i],t,n,o));return r}}function Zc(e,t,n,o=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const a=t.proxy,s=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const c=i.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,a,s)===!1)return}i=i.parent}const l=t.appContext.config.errorHandler;if(l){Xr(),Br(l,null,10,[e,a,s]),Yr();return}}sP(e,n,r,o)}function sP(e,t,n,o=!0){console.error(e)}let Bs=!1,zf=!1;const En=[];let No=0;const ma=[];let Er=null,mi=0;const Ny=Promise.resolve();let dp=null;function Ht(e){const t=dp||Ny;return e?t.then(this?e.bind(this):e):t}function lP(e){let t=No+1,n=En.length;for(;t<n;){const o=t+n>>>1,r=En[o],i=Ns(r);i<e||i===e&&r.pre?t=o+1:n=o}return t}function fp(e){(!En.length||!En.includes(e,Bs&&e.allowRecurse?No+1:No))&&(e.id==null?En.push(e):En.splice(lP(e.id),0,e),Hy())}function Hy(){!Bs&&!zf&&(zf=!0,dp=Ny.then(Uy))}function cP(e){const t=En.indexOf(e);t>No&&En.splice(t,1)}function uP(e){ct(e)?ma.push(...e):(!Er||!Er.includes(e,e.allowRecurse?mi+1:mi))&&ma.push(e),Hy()}function dg(e,t,n=Bs?No+1:0){for(;n<En.length;n++){const o=En[n];if(o&&o.pre){if(e&&o.id!==e.uid)continue;En.splice(n,1),n--,o()}}}function jy(e){if(ma.length){const t=[...new Set(ma)].sort((n,o)=>Ns(n)-Ns(o));if(ma.length=0,Er){Er.push(...t);return}for(Er=t,mi=0;mi<Er.length;mi++){const n=Er[mi];n.active!==!1&&n()}Er=null,mi=0}}const Ns=e=>e.id==null?1/0:e.id,dP=(e,t)=>{const n=Ns(e)-Ns(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Uy(e){zf=!1,Bs=!0,En.sort(dP);const t=Gn;try{for(No=0;No<En.length;No++){const n=En[No];n&&n.active!==!1&&Br(n,n.i,n.i?15:14)}}finally{No=0,En.length=0,jy(),Bs=!1,dp=null,(En.length||ma.length)&&Uy()}}let xn=null,Vy=null;function yc(e){const t=xn;return xn=e,Vy=e&&e.type.__scopeId||null,t}function ve(e,t=xn,n){if(!t||e._n)return e;const o=(...r)=>{o._d&&_g(-1);const i=yc(t);let a;try{a=e(...r)}finally{yc(i),o._d&&_g(1)}return a};return o._n=!0,o._c=!0,o._d=!0,o}function dn(e,t){if(xn===null)return e;const n=lu(xn),o=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,a,s,l=nn]=t[r];i&&(pt(i)&&(i={mounted:i,updated:i}),i.deep&&Lr(a),o.push({dir:i,instance:n,value:a,oldValue:void 0,arg:s,modifiers:l}))}return e}function ai(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let a=0;a<r.length;a++){const s=r[a];i&&(s.oldValue=i[a].value);let l=s.dir[o];l&&(Xr(),so(l,n,8,[e.el,s,e,t]),Yr())}}const $r=Symbol("_leaveCb"),Rl=Symbol("_enterCb");function Wy(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return jt(()=>{e.isMounted=!0}),on(()=>{e.isUnmounting=!0}),e}const ro=[Function,Array],qy={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ro,onEnter:ro,onAfterEnter:ro,onEnterCancelled:ro,onBeforeLeave:ro,onLeave:ro,onAfterLeave:ro,onLeaveCancelled:ro,onBeforeAppear:ro,onAppear:ro,onAfterAppear:ro,onAppearCancelled:ro},Ky=e=>{const t=e.subTree;return t.component?Ky(t.component):t},fP={name:"BaseTransition",props:qy,setup(e,{slots:t}){const n=no(),o=Wy();return()=>{const r=t.default&&hp(t.default(),!0);if(!r||!r.length)return;let i=r[0];if(r.length>1){for(const f of r)if(f.type!==_n){i=f;break}}const a=It(e),{mode:s}=a;if(o.isLeaving)return Cd(i);const l=fg(i);if(!l)return Cd(i);let c=Hs(l,a,o,n,f=>c=f);Ca(l,c);const u=n.subTree,d=u&&fg(u);if(d&&d.type!==_n&&!gi(l,d)&&Ky(n).type!==_n){const f=Hs(d,a,o,n);if(Ca(d,f),s==="out-in"&&l.type!==_n)return o.isLeaving=!0,f.afterLeave=()=>{o.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Cd(i);s==="in-out"&&l.type!==_n&&(f.delayLeave=(h,p,g)=>{const m=Gy(o,d);m[String(d.key)]=d,h[$r]=()=>{p(),h[$r]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return i}}},hP=fP;function Gy(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 Hs(e,t,n,o,r){const{appear:i,mode:a,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:p,onLeaveCancelled:g,onBeforeAppear:m,onAppear:b,onAfterAppear:w,onAppearCancelled:C}=t,_=String(e.key),S=Gy(n,e),y=(P,T)=>{P&&so(P,o,9,T)},x=(P,T)=>{const E=T[1];y(P,T),ct(P)?P.every(R=>R.length<=1)&&E():P.length<=1&&E()},k={mode:a,persisted:s,beforeEnter(P){let T=l;if(!n.isMounted)if(i)T=m||l;else return;P[$r]&&P[$r](!0);const E=S[_];E&&gi(e,E)&&E.el[$r]&&E.el[$r](),y(T,[P])},enter(P){let T=c,E=u,R=d;if(!n.isMounted)if(i)T=b||c,E=w||u,R=C||d;else return;let q=!1;const L=P[Rl]=D=>{q||(q=!0,D?y(R,[P]):y(E,[P]),k.delayedLeave&&k.delayedLeave(),P[Rl]=void 0)};T?x(T,[P,L]):L()},leave(P,T){const E=String(e.key);if(P[Rl]&&P[Rl](!0),n.isUnmounting)return T();y(f,[P]);let R=!1;const q=P[$r]=L=>{R||(R=!0,T(),L?y(g,[P]):y(p,[P]),P[$r]=void 0,S[E]===e&&delete S[E])};S[E]=e,h?x(h,[P,q]):q()},clone(P){const T=Hs(P,t,n,o,r);return r&&r(T),T}};return k}function Cd(e){if(eu(e))return e=fo(e),e.children=null,e}function fg(e){if(!eu(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&pt(n.default))return n.default()}}function Ca(e,t){e.shapeFlag&6&&e.component?Ca(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 hp(e,t=!1,n){let o=[],r=0;for(let i=0;i<e.length;i++){let a=e[i];const s=n==null?a.key:String(n)+String(a.key!=null?a.key:i);a.type===rt?(a.patchFlag&128&&r++,o=o.concat(hp(a.children,t,s))):(t||a.type!==_n)&&o.push(s!=null?fo(a,{key:s}):a)}if(r>1)for(let i=0;i<o.length;i++)o[i].patchFlag=-2;return o}/*! #__NO_SIDE_EFFECTS__ */function Ce(e,t){return pt(e)?(()=>wn({name:e.name},t,{setup:e}))():e}const xs=e=>!!e.type.__asyncLoader,eu=e=>e.type.__isKeepAlive;function pp(e,t){Xy(e,"a",t)}function tu(e,t){Xy(e,"da",t)}function Xy(e,t,n=Sn){const o=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(nu(t,o,n),n){let r=n.parent;for(;r&&r.parent;)eu(r.parent.vnode)&&pP(o,t,n,r),r=r.parent}}function pP(e,t,n,o){const r=nu(t,e,o,!0);La(()=>{Zh(o[t],r)},n)}function nu(e,t,n=Sn,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{Xr();const s=al(n),l=so(t,n,e,a);return s(),Yr(),l});return o?r.unshift(i):r.push(i),i}}const fr=e=>(t,n=Sn)=>{(!su||e==="sp")&&nu(e,(...o)=>t(...o),n)},hn=fr("bm"),jt=fr("m"),Yy=fr("bu"),mp=fr("u"),on=fr("bum"),La=fr("um"),mP=fr("sp"),gP=fr("rtg"),vP=fr("rtc");function bP(e,t=Sn){nu("ec",e,t)}const gp="components";function ou(e,t){return Jy(gp,e,!0,t)||e}const Qy=Symbol.for("v-ndc");function wa(e){return ln(e)?Jy(gp,e,!1)||e:e||Qy}function Jy(e,t,n=!0,o=!1){const r=xn||Sn;if(r){const i=r.type;if(e===gp){const s=lT(i,!1);if(s&&(s===t||s===Ao(t)||s===Qc(Ao(t))))return i}const a=hg(r[e]||i[e],t)||hg(r.appContext[e],t);return!a&&o?i:a}}function hg(e,t){return e&&(e[t]||e[Ao(t)]||e[Qc(Ao(t))])}function Ln(e,t,n,o){let r;const i=n&&n[o];if(ct(e)||ln(e)){r=new Array(e.length);for(let a=0,s=e.length;a<s;a++)r[a]=t(e[a],a,void 0,i&&i[a])}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,i&&i[a])}else if(Qt(e))if(e[Symbol.iterator])r=Array.from(e,(a,s)=>t(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;s<l;s++){const c=a[s];r[s]=t(e[c],c,s,i&&i[s])}}else r=[];return n&&(n[o]=r),r}function ru(e,t,n={},o,r){if(xn.isCE||xn.parent&&xs(xn.parent)&&xn.parent.isCE)return t!=="default"&&(n.name=t),ce("slot",n,o&&o());let i=e[t];i&&i._c&&(i._d=!1),be();const a=i&&Zy(i(n)),s=We(rt,{key:(n.key||a&&a.key||`_${t}`)+(!a&&o?"_fb":"")},a||(o?o():[]),a&&e._===1?64:-2);return!r&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),i&&i._c&&(i._d=!0),s}function Zy(e){return e.some(t=>Us(t)?!(t.type===_n||t.type===rt&&!Zy(t.children)):!0)?e:null}const Lf=e=>e?yx(e)?lu(e):Lf(e.parent):null,Cs=wn(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=>Lf(e.parent),$root:e=>Lf(e.root),$emit:e=>e.emit,$options:e=>vp(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,fp(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>UP.bind(e)}),wd=(e,t)=>e!==nn&&!e.__isScriptSetup&&Mt(e,t),yP={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:o,data:r,props:i,accessCache:a,type:s,appContext:l}=e;let c;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return o[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(wd(o,t))return a[t]=1,o[t];if(r!==nn&&Mt(r,t))return a[t]=2,r[t];if((c=e.propsOptions[0])&&Mt(c,t))return a[t]=3,i[t];if(n!==nn&&Mt(n,t))return a[t]=4,n[t];Ff&&(a[t]=0)}}const u=Cs[t];let d,f;if(u)return t==="$attrs"&&jn(e.attrs,"get",""),u(e);if((d=s.__cssModules)&&(d=d[t]))return d;if(n!==nn&&Mt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,Mt(f,t))return f[t]},set({_:e},t,n){const{data:o,setupState:r,ctx:i}=e;return wd(r,t)?(r[t]=n,!0):o!==nn&&Mt(o,t)?(o[t]=n,!0):Mt(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!==nn&&Mt(e,a)||wd(t,a)||(s=i[0])&&Mt(s,a)||Mt(o,a)||Mt(Cs,a)||Mt(r.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Mt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function pg(e){return ct(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ff=!0;function xP(e){const t=vp(e),n=e.proxy,o=e.ctx;Ff=!1,t.beforeCreate&&mg(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:a,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:f,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:b,beforeUnmount:w,destroyed:C,unmounted:_,render:S,renderTracked:y,renderTriggered:x,errorCaptured:k,serverPrefetch:P,expose:T,inheritAttrs:E,components:R,directives:q,filters:L}=t;if(c&&CP(c,o,null),a)for(const K in a){const V=a[K];pt(V)&&(o[K]=V.bind(n))}if(r){const K=r.call(n,n);Qt(K)&&(e.data=to(K))}if(Ff=!0,i)for(const K in i){const V=i[K],le=pt(V)?V.bind(n,n):pt(V.get)?V.get.bind(n,n):Gn,me=!pt(V)&&pt(V.set)?V.set.bind(n):Gn,ee=O({get:le,set:me});Object.defineProperty(o,K,{enumerable:!0,configurable:!0,get:()=>ee.value,set:N=>ee.value=N})}if(s)for(const K in s)ex(s[K],o,n,K);if(l){const K=pt(l)?l.call(n):l;Reflect.ownKeys(K).forEach(V=>{at(V,K[V])})}u&&mg(u,e,"c");function F(K,V){ct(V)?V.forEach(le=>K(le.bind(n))):V&&K(V.bind(n))}if(F(hn,d),F(jt,f),F(Yy,h),F(mp,p),F(pp,g),F(tu,m),F(bP,k),F(vP,y),F(gP,x),F(on,w),F(La,_),F(mP,P),ct(T))if(T.length){const K=e.exposed||(e.exposed={});T.forEach(V=>{Object.defineProperty(K,V,{get:()=>n[V],set:le=>n[V]=le})})}else e.exposed||(e.exposed={});S&&e.render===Gn&&(e.render=S),E!=null&&(e.inheritAttrs=E),R&&(e.components=R),q&&(e.directives=q)}function CP(e,t,n=Gn){ct(e)&&(e=Df(e));for(const o in e){const r=e[o];let i;Qt(r)?"default"in r?i=Ve(r.from||o,r.default,!0):i=Ve(r.from||o):i=Ve(r),cn(i)?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function mg(e,t,n){so(ct(e)?e.map(o=>o.bind(t.proxy)):e.bind(t.proxy),t,n)}function ex(e,t,n,o){const r=o.includes(".")?mx(n,o):()=>n[o];if(ln(e)){const i=t[e];pt(i)&&ut(r,i)}else if(pt(e))ut(r,e.bind(n));else if(Qt(e))if(ct(e))e.forEach(i=>ex(i,t,n,o));else{const i=pt(e.handler)?e.handler.bind(n):t[e.handler];pt(i)&&ut(r,i,e)}}function vp(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=>xc(l,c,a,!0)),xc(l,t,a)),Qt(t)&&i.set(t,l),l}function xc(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&xc(e,i,n,!0),r&&r.forEach(a=>xc(e,a,n,!0));for(const a in t)if(!(o&&a==="expose")){const s=wP[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const wP={data:gg,props:vg,emits:vg,methods:ps,computed:ps,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:ps,directives:ps,watch:SP,provide:gg,inject:_P};function gg(e,t){return t?e?function(){return wn(pt(e)?e.call(this,this):e,pt(t)?t.call(this,this):t)}:t:e}function _P(e,t){return ps(Df(e),Df(t))}function Df(e){if(ct(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function In(e,t){return e?[...new Set([].concat(e,t))]:t}function ps(e,t){return e?wn(Object.create(null),e,t):t}function vg(e,t){return e?ct(e)&&ct(t)?[...new Set([...e,...t])]:wn(Object.create(null),pg(e),pg(t??{})):t}function SP(e,t){if(!e)return t;if(!t)return e;const n=wn(Object.create(null),e);for(const o in t)n[o]=In(e[o],t[o]);return n}function tx(){return{app:null,config:{isNativeTag:x3,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let kP=0;function PP(e,t){return function(o,r=null){pt(o)||(o=wn({},o)),r!=null&&!Qt(r)&&(r=null);const i=tx(),a=new WeakSet;let s=!1;const l=i.app={_uid:kP++,_component:o,_props:r,_container:null,_context:i,_instance:null,version:uT,get config(){return i.config},set config(c){},use(c,...u){return a.has(c)||(c&&pt(c.install)?(a.add(c),c.install(l,...u)):pt(c)&&(a.add(c),c(l,...u))),l},mixin(c){return i.mixins.includes(c)||i.mixins.push(c),l},component(c,u){return u?(i.components[c]=u,l):i.components[c]},directive(c,u){return u?(i.directives[c]=u,l):i.directives[c]},mount(c,u,d){if(!s){const f=ce(o,r);return f.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),u&&t?t(f,c):e(f,c,d),s=!0,l._container=c,c.__vue_app__=l,lu(f.component)}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return i.provides[c]=u,l},runWithContext(c){const u=ki;ki=l;try{return c()}finally{ki=u}}};return l}}let ki=null;function at(e,t){if(Sn){let n=Sn.provides;const o=Sn.parent&&Sn.parent.provides;o===n&&(n=Sn.provides=Object.create(o)),n[e]=t}}function Ve(e,t,n=!1){const o=Sn||xn;if(o||ki){const r=ki?ki._context.provides:o?o.parent==null?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&pt(t)?t.call(o&&o.proxy):t}}function TP(){return!!(Sn||xn||ki)}const nx={},ox=()=>Object.create(nx),rx=e=>Object.getPrototypeOf(e)===nx;function AP(e,t,n,o=!1){const r={},i=ox();e.propsDefaults=Object.create(null),ix(e,t,r,i);for(const a in e.propsOptions[0])a in r||(r[a]=void 0);n?e.props=o?r:My(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function RP(e,t,n,o){const{props:r,attrs:i,vnode:{patchFlag:a}}=e,s=It(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<u.length;d++){let f=u[d];if(au(e.emitsOptions,f))continue;const h=t[f];if(l)if(Mt(i,f))h!==i[f]&&(i[f]=h,c=!0);else{const p=Ao(f);r[p]=Bf(l,s,p,h,e,!1)}else h!==i[f]&&(i[f]=h,c=!0)}}}else{ix(e,t,r,i)&&(c=!0);let u;for(const d in s)(!t||!Mt(t,d)&&((u=Gr(d))===d||!Mt(t,u)))&&(l?n&&(n[d]!==void 0||n[u]!==void 0)&&(r[d]=Bf(l,s,d,void 0,e,!0)):delete r[d]);if(i!==s)for(const d in i)(!t||!Mt(t,d))&&(delete i[d],c=!0)}c&&lr(e.attrs,"set","")}function ix(e,t,n,o){const[r,i]=e.propsOptions;let a=!1,s;if(t)for(let l in t){if(bs(l))continue;const c=t[l];let u;r&&Mt(r,u=Ao(l))?!i||!i.includes(u)?n[u]=c:(s||(s={}))[u]=c:au(e.emitsOptions,l)||(!(l in o)||c!==o[l])&&(o[l]=c,a=!0)}if(i){const l=It(n),c=s||nn;for(let u=0;u<i.length;u++){const d=i[u];n[d]=Bf(r,l,d,c[d],e,!Mt(c,d))}}return a}function Bf(e,t,n,o,r,i){const a=e[n];if(a!=null){const s=Mt(a,"default");if(s&&o===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&pt(l)){const{propsDefaults:c}=r;if(n in c)o=c[n];else{const u=al(r);o=c[n]=l.call(null,t),u()}}else o=l}a[0]&&(i&&!s?o=!1:a[1]&&(o===""||o===Gr(n))&&(o=!0))}return o}const EP=new WeakMap;function ax(e,t,n=!1){const o=n?EP:t.propsCache,r=o.get(e);if(r)return r;const i=e.props,a={},s=[];let l=!1;if(!pt(e)){const u=d=>{l=!0;const[f,h]=ax(d,t,!0);wn(a,f),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return Qt(e)&&o.set(e,ha),ha;if(ct(i))for(let u=0;u<i.length;u++){const d=Ao(i[u]);bg(d)&&(a[d]=nn)}else if(i)for(const u in i){const d=Ao(u);if(bg(d)){const f=i[u],h=a[d]=ct(f)||pt(f)?{type:f}:wn({},f),p=h.type;let g=!1,m=!0;if(ct(p))for(let b=0;b<p.length;++b){const w=p[b],C=pt(w)&&w.name;if(C==="Boolean"){g=!0;break}else C==="String"&&(m=!1)}else g=pt(p)&&p.name==="Boolean";h[0]=g,h[1]=m,(g||Mt(h,"default"))&&s.push(d)}}const c=[a,s];return Qt(e)&&o.set(e,c),c}function bg(e){return e[0]!=="$"&&!bs(e)}const sx=e=>e[0]==="_"||e==="$stable",bp=e=>ct(e)?e.map(Bo):[Bo(e)],$P=(e,t,n)=>{if(t._n)return t;const o=ve((...r)=>bp(t(...r)),n);return o._c=!1,o},lx=(e,t,n)=>{const o=e._ctx;for(const r in e){if(sx(r))continue;const i=e[r];if(pt(i))t[r]=$P(r,i,o);else if(i!=null){const a=bp(i);t[r]=()=>a}}},cx=(e,t)=>{const n=bp(t);e.slots.default=()=>n},ux=(e,t,n)=>{for(const o in t)(n||o!=="_")&&(e[o]=t[o])},IP=(e,t,n)=>{const o=e.slots=ox();if(e.vnode.shapeFlag&32){const r=t._;r?(ux(o,t,n),n&&gy(o,"_",r,!0)):lx(t,o)}else t&&cx(e,t)},OP=(e,t,n)=>{const{vnode:o,slots:r}=e;let i=!0,a=nn;if(o.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:ux(r,t,n):(i=!t.$stable,lx(t,r)),a=t}else t&&(cx(e,t),a={default:1});if(i)for(const s in r)!sx(s)&&a[s]==null&&delete r[s]};function Nf(e,t,n,o,r=!1){if(ct(e)){e.forEach((f,h)=>Nf(f,t&&(ct(t)?t[h]:t),n,o,r));return}if(xs(o)&&!r)return;const i=o.shapeFlag&4?lu(o.component):o.el,a=r?null:i,{i:s,r:l}=e,c=t&&t.r,u=s.refs===nn?s.refs={}:s.refs,d=s.setupState;if(c!=null&&c!==l&&(ln(c)?(u[c]=null,Mt(d,c)&&(d[c]=null)):cn(c)&&(c.value=null)),pt(l))Br(l,s,12,[a,u]);else{const f=ln(l),h=cn(l);if(f||h){const p=()=>{if(e.f){const g=f?Mt(d,l)?d[l]:u[l]:l.value;r?ct(g)&&Zh(g,i):ct(g)?g.includes(i)||g.push(i):f?(u[l]=[i],Mt(d,l)&&(d[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else f?(u[l]=a,Mt(d,l)&&(d[l]=a)):h&&(l.value=a,e.k&&(u[e.k]=a))};a?(p.id=-1,Hn(p,n)):p()}}}const dx=Symbol("_vte"),MP=e=>e.__isTeleport,ws=e=>e&&(e.disabled||e.disabled===""),yg=e=>typeof SVGElement<"u"&&e instanceof SVGElement,xg=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Hf=(e,t)=>{const n=e&&e.to;return ln(n)?t?t(n):null:n},zP={name:"Teleport",__isTeleport:!0,process(e,t,n,o,r,i,a,s,l,c){const{mc:u,pc:d,pbc:f,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,b=ws(t.props);let{shapeFlag:w,children:C,dynamicChildren:_}=t;if(e==null){const S=t.el=g(""),y=t.anchor=g("");h(S,n,o),h(y,n,o);const x=t.target=Hf(t.props,p),k=hx(x,t,g,h);x&&(a==="svg"||yg(x)?a="svg":(a==="mathml"||xg(x))&&(a="mathml"));const P=(T,E)=>{w&16&&u(C,T,E,r,i,a,s,l)};b?P(n,y):x&&P(x,k)}else{t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,y=t.target=e.target,x=t.targetAnchor=e.targetAnchor,k=ws(e.props),P=k?n:y,T=k?S:x;if(a==="svg"||yg(y)?a="svg":(a==="mathml"||xg(y))&&(a="mathml"),_?(f(e.dynamicChildren,_,P,r,i,a,s),yp(e,t,!0)):l||d(e,t,P,T,r,i,a,s,!1),b)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):El(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const E=t.target=Hf(t.props,p);E&&El(t,E,null,c,0)}else k&&El(t,y,x,c,1)}fx(t)},remove(e,t,n,{um:o,o:{remove:r}},i){const{shapeFlag:a,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:f}=e;if(d&&(r(c),r(u)),i&&r(l),a&16){const h=i||!ws(f);for(let p=0;p<s.length;p++){const g=s[p];o(g,t,n,h,!!g.dynamicChildren)}}},move:El,hydrate:LP};function El(e,t,n,{o:{insert:o},m:r},i=2){i===0&&o(e.targetAnchor,t,n);const{el:a,anchor:s,shapeFlag:l,children:c,props:u}=e,d=i===2;if(d&&o(a,t,n),(!d||ws(u))&&l&16)for(let f=0;f<c.length;f++)r(c[f],t,n,2);d&&o(s,t,n)}function LP(e,t,n,o,r,i,{o:{nextSibling:a,parentNode:s,querySelector:l,insert:c,createText:u}},d){const f=t.target=Hf(t.props,l);if(f){const h=f._lpa||f.firstChild;if(t.shapeFlag&16)if(ws(t.props))t.anchor=d(a(e),t,s(e),n,o,r,i),t.targetStart=h,t.targetAnchor=h&&a(h);else{t.anchor=a(e);let p=h;for(;p;){if(p&&p.nodeType===8){if(p.data==="teleport start anchor")t.targetStart=p;else if(p.data==="teleport anchor"){t.targetAnchor=p,f._lpa=t.targetAnchor&&a(t.targetAnchor);break}}p=a(p)}t.targetAnchor||hx(f,t,u,c),d(h&&a(h),t,f,n,o,r,i)}fx(t)}return t.anchor&&a(t.anchor)}const iu=zP;function fx(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function hx(e,t,n,o){const r=t.targetStart=n(""),i=t.targetAnchor=n("");return r[dx]=i,e&&(o(r,e),o(i,e)),i}const Hn=QP;function FP(e){return DP(e)}function DP(e,t){const n=vy();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:h=Gn,insertStaticContent:p}=e,g=($,A,oe,Se=null,ne=null,ye=null,Pe=void 0,I=null,H=!!A.dynamicChildren)=>{if($===A)return;$&&!gi($,A)&&(Se=X($),N($,ne,ye,!0),$=null),A.patchFlag===-2&&(H=!1,A.dynamicChildren=null);const{type:te,ref:_e,shapeFlag:he}=A;switch(te){case Fa:m($,A,oe,Se);break;case _n:b($,A,oe,Se);break;case kd:$==null&&w(A,oe,Se,Pe);break;case rt:R($,A,oe,Se,ne,ye,Pe,I,H);break;default:he&1?S($,A,oe,Se,ne,ye,Pe,I,H):he&6?q($,A,oe,Se,ne,ye,Pe,I,H):(he&64||he&128)&&te.process($,A,oe,Se,ne,ye,Pe,I,H,xe)}_e!=null&&ne&&Nf(_e,$&&$.ref,ye,A||$,!A)},m=($,A,oe,Se)=>{if($==null)o(A.el=s(A.children),oe,Se);else{const ne=A.el=$.el;A.children!==$.children&&c(ne,A.children)}},b=($,A,oe,Se)=>{$==null?o(A.el=l(A.children||""),oe,Se):A.el=$.el},w=($,A,oe,Se)=>{[$.el,$.anchor]=p($.children,A,oe,Se,$.el,$.anchor)},C=({el:$,anchor:A},oe,Se)=>{let ne;for(;$&&$!==A;)ne=f($),o($,oe,Se),$=ne;o(A,oe,Se)},_=({el:$,anchor:A})=>{let oe;for(;$&&$!==A;)oe=f($),r($),$=oe;r(A)},S=($,A,oe,Se,ne,ye,Pe,I,H)=>{A.type==="svg"?Pe="svg":A.type==="math"&&(Pe="mathml"),$==null?y(A,oe,Se,ne,ye,Pe,I,H):P($,A,ne,ye,Pe,I,H)},y=($,A,oe,Se,ne,ye,Pe,I)=>{let H,te;const{props:_e,shapeFlag:he,transition:de,dirs:ie}=$;if(H=$.el=a($.type,ye,_e&&_e.is,_e),he&8?u(H,$.children):he&16&&k($.children,H,null,Se,ne,_d($,ye),Pe,I),ie&&ai($,null,Se,"created"),x(H,$,$.scopeId,Pe,Se),_e){for(const Oe in _e)Oe!=="value"&&!bs(Oe)&&i(H,Oe,null,_e[Oe],ye,Se);"value"in _e&&i(H,"value",null,_e.value,ye),(te=_e.onVnodeBeforeMount)&&Lo(te,Se,$)}ie&&ai($,null,Se,"beforeMount");const fe=BP(ne,de);fe&&de.beforeEnter(H),o(H,A,oe),((te=_e&&_e.onVnodeMounted)||fe||ie)&&Hn(()=>{te&&Lo(te,Se,$),fe&&de.enter(H),ie&&ai($,null,Se,"mounted")},ne)},x=($,A,oe,Se,ne)=>{if(oe&&h($,oe),Se)for(let ye=0;ye<Se.length;ye++)h($,Se[ye]);if(ne){let ye=ne.subTree;if(A===ye){const Pe=ne.vnode;x($,Pe,Pe.scopeId,Pe.slotScopeIds,ne.parent)}}},k=($,A,oe,Se,ne,ye,Pe,I,H=0)=>{for(let te=H;te<$.length;te++){const _e=$[te]=I?Ir($[te]):Bo($[te]);g(null,_e,A,oe,Se,ne,ye,Pe,I)}},P=($,A,oe,Se,ne,ye,Pe)=>{const I=A.el=$.el;let{patchFlag:H,dynamicChildren:te,dirs:_e}=A;H|=$.patchFlag&16;const he=$.props||nn,de=A.props||nn;let ie;if(oe&&si(oe,!1),(ie=de.onVnodeBeforeUpdate)&&Lo(ie,oe,A,$),_e&&ai(A,$,oe,"beforeUpdate"),oe&&si(oe,!0),(he.innerHTML&&de.innerHTML==null||he.textContent&&de.textContent==null)&&u(I,""),te?T($.dynamicChildren,te,I,oe,Se,_d(A,ne),ye):Pe||V($,A,I,null,oe,Se,_d(A,ne),ye,!1),H>0){if(H&16)E(I,he,de,oe,ne);else if(H&2&&he.class!==de.class&&i(I,"class",null,de.class,ne),H&4&&i(I,"style",he.style,de.style,ne),H&8){const fe=A.dynamicProps;for(let Oe=0;Oe<fe.length;Oe++){const De=fe[Oe],Le=he[De],Be=de[De];(Be!==Le||De==="value")&&i(I,De,Le,Be,ne,oe)}}H&1&&$.children!==A.children&&u(I,A.children)}else!Pe&&te==null&&E(I,he,de,oe,ne);((ie=de.onVnodeUpdated)||_e)&&Hn(()=>{ie&&Lo(ie,oe,A,$),_e&&ai(A,$,oe,"updated")},Se)},T=($,A,oe,Se,ne,ye,Pe)=>{for(let I=0;I<A.length;I++){const H=$[I],te=A[I],_e=H.el&&(H.type===rt||!gi(H,te)||H.shapeFlag&70)?d(H.el):oe;g(H,te,_e,null,Se,ne,ye,Pe,!0)}},E=($,A,oe,Se,ne)=>{if(A!==oe){if(A!==nn)for(const ye in A)!bs(ye)&&!(ye in oe)&&i($,ye,A[ye],null,ne,Se);for(const ye in oe){if(bs(ye))continue;const Pe=oe[ye],I=A[ye];Pe!==I&&ye!=="value"&&i($,ye,I,Pe,ne,Se)}"value"in oe&&i($,"value",A.value,oe.value,ne)}},R=($,A,oe,Se,ne,ye,Pe,I,H)=>{const te=A.el=$?$.el:s(""),_e=A.anchor=$?$.anchor:s("");let{patchFlag:he,dynamicChildren:de,slotScopeIds:ie}=A;ie&&(I=I?I.concat(ie):ie),$==null?(o(te,oe,Se),o(_e,oe,Se),k(A.children||[],oe,_e,ne,ye,Pe,I,H)):he>0&&he&64&&de&&$.dynamicChildren?(T($.dynamicChildren,de,oe,ne,ye,Pe,I),(A.key!=null||ne&&A===ne.subTree)&&yp($,A,!0)):V($,A,oe,_e,ne,ye,Pe,I,H)},q=($,A,oe,Se,ne,ye,Pe,I,H)=>{A.slotScopeIds=I,$==null?A.shapeFlag&512?ne.ctx.activate(A,oe,Se,Pe,H):L(A,oe,Se,ne,ye,Pe,H):D($,A,H)},L=($,A,oe,Se,ne,ye,Pe)=>{const I=$.component=oT($,Se,ne);if(eu($)&&(I.ctx.renderer=xe),rT(I,!1,Pe),I.asyncDep){if(ne&&ne.registerDep(I,F,Pe),!$.el){const H=I.subTree=ce(_n);b(null,H,A,oe)}}else F(I,$,A,oe,ne,ye,Pe)},D=($,A,oe)=>{const Se=A.component=$.component;if(GP($,A,oe))if(Se.asyncDep&&!Se.asyncResolved){K(Se,A,oe);return}else Se.next=A,cP(Se.update),Se.effect.dirty=!0,Se.update();else A.el=$.el,Se.vnode=A},F=($,A,oe,Se,ne,ye,Pe)=>{const I=()=>{if($.isMounted){let{next:_e,bu:he,u:de,parent:ie,vnode:fe}=$;{const et=px($);if(et){_e&&(_e.el=fe.el,K($,_e,Pe)),et.asyncDep.then(()=>{$.isUnmounted||I()});return}}let Oe=_e,De;si($,!1),_e?(_e.el=fe.el,K($,_e,Pe)):_e=fe,he&&ic(he),(De=_e.props&&_e.props.onVnodeBeforeUpdate)&&Lo(De,ie,_e,fe),si($,!0);const Le=Sd($),Be=$.subTree;$.subTree=Le,g(Be,Le,d(Be.el),X(Be),$,ne,ye),_e.el=Le.el,Oe===null&&XP($,Le.el),de&&Hn(de,ne),(De=_e.props&&_e.props.onVnodeUpdated)&&Hn(()=>Lo(De,ie,_e,fe),ne)}else{let _e;const{el:he,props:de}=A,{bm:ie,m:fe,parent:Oe}=$,De=xs(A);if(si($,!1),ie&&ic(ie),!De&&(_e=de&&de.onVnodeBeforeMount)&&Lo(_e,Oe,A),si($,!0),he&&ge){const Le=()=>{$.subTree=Sd($),ge(he,$.subTree,$,ne,null)};De?A.type.__asyncLoader().then(()=>!$.isUnmounted&&Le()):Le()}else{const Le=$.subTree=Sd($);g(null,Le,oe,Se,$,ne,ye),A.el=Le.el}if(fe&&Hn(fe,ne),!De&&(_e=de&&de.onVnodeMounted)){const Le=A;Hn(()=>Lo(_e,Oe,Le),ne)}(A.shapeFlag&256||Oe&&xs(Oe.vnode)&&Oe.vnode.shapeFlag&256)&&$.a&&Hn($.a,ne),$.isMounted=!0,A=oe=Se=null}},H=$.effect=new op(I,Gn,()=>fp(te),$.scope),te=$.update=()=>{H.dirty&&H.run()};te.i=$,te.id=$.uid,si($,!0),te()},K=($,A,oe)=>{A.component=$;const Se=$.vnode.props;$.vnode=A,$.next=null,RP($,A.props,Se,oe),OP($,A.children,oe),Xr(),dg($),Yr()},V=($,A,oe,Se,ne,ye,Pe,I,H=!1)=>{const te=$&&$.children,_e=$?$.shapeFlag:0,he=A.children,{patchFlag:de,shapeFlag:ie}=A;if(de>0){if(de&128){me(te,he,oe,Se,ne,ye,Pe,I,H);return}else if(de&256){le(te,he,oe,Se,ne,ye,Pe,I,H);return}}ie&8?(_e&16&&re(te,ne,ye),he!==te&&u(oe,he)):_e&16?ie&16?me(te,he,oe,Se,ne,ye,Pe,I,H):re(te,ne,ye,!0):(_e&8&&u(oe,""),ie&16&&k(he,oe,Se,ne,ye,Pe,I,H))},le=($,A,oe,Se,ne,ye,Pe,I,H)=>{$=$||ha,A=A||ha;const te=$.length,_e=A.length,he=Math.min(te,_e);let de;for(de=0;de<he;de++){const ie=A[de]=H?Ir(A[de]):Bo(A[de]);g($[de],ie,oe,null,ne,ye,Pe,I,H)}te>_e?re($,ne,ye,!0,!1,he):k(A,oe,Se,ne,ye,Pe,I,H,he)},me=($,A,oe,Se,ne,ye,Pe,I,H)=>{let te=0;const _e=A.length;let he=$.length-1,de=_e-1;for(;te<=he&&te<=de;){const ie=$[te],fe=A[te]=H?Ir(A[te]):Bo(A[te]);if(gi(ie,fe))g(ie,fe,oe,null,ne,ye,Pe,I,H);else break;te++}for(;te<=he&&te<=de;){const ie=$[he],fe=A[de]=H?Ir(A[de]):Bo(A[de]);if(gi(ie,fe))g(ie,fe,oe,null,ne,ye,Pe,I,H);else break;he--,de--}if(te>he){if(te<=de){const ie=de+1,fe=ie<_e?A[ie].el:Se;for(;te<=de;)g(null,A[te]=H?Ir(A[te]):Bo(A[te]),oe,fe,ne,ye,Pe,I,H),te++}}else if(te>de)for(;te<=he;)N($[te],ne,ye,!0),te++;else{const ie=te,fe=te,Oe=new Map;for(te=fe;te<=de;te++){const Q=A[te]=H?Ir(A[te]):Bo(A[te]);Q.key!=null&&Oe.set(Q.key,te)}let De,Le=0;const Be=de-fe+1;let et=!1,Me=0;const Xe=new Array(Be);for(te=0;te<Be;te++)Xe[te]=0;for(te=ie;te<=he;te++){const Q=$[te];if(Le>=Be){N(Q,ne,ye,!0);continue}let we;if(Q.key!=null)we=Oe.get(Q.key);else for(De=fe;De<=de;De++)if(Xe[De-fe]===0&&gi(Q,A[De])){we=De;break}we===void 0?N(Q,ne,ye,!0):(Xe[we-fe]=te+1,we>=Me?Me=we:et=!0,g(Q,A[we],oe,null,ne,ye,Pe,I,H),Le++)}const gt=et?NP(Xe):ha;for(De=gt.length-1,te=Be-1;te>=0;te--){const Q=fe+te,we=A[Q],Ie=Q+1<_e?A[Q+1].el:Se;Xe[te]===0?g(null,we,oe,Ie,ne,ye,Pe,I,H):et&&(De<0||te!==gt[De]?ee(we,oe,Ie,2):De--)}}},ee=($,A,oe,Se,ne=null)=>{const{el:ye,type:Pe,transition:I,children:H,shapeFlag:te}=$;if(te&6){ee($.component.subTree,A,oe,Se);return}if(te&128){$.suspense.move(A,oe,Se);return}if(te&64){Pe.move($,A,oe,xe);return}if(Pe===rt){o(ye,A,oe);for(let he=0;he<H.length;he++)ee(H[he],A,oe,Se);o($.anchor,A,oe);return}if(Pe===kd){C($,A,oe);return}if(Se!==2&&te&1&&I)if(Se===0)I.beforeEnter(ye),o(ye,A,oe),Hn(()=>I.enter(ye),ne);else{const{leave:he,delayLeave:de,afterLeave:ie}=I,fe=()=>o(ye,A,oe),Oe=()=>{he(ye,()=>{fe(),ie&&ie()})};de?de(ye,fe,Oe):Oe()}else o(ye,A,oe)},N=($,A,oe,Se=!1,ne=!1)=>{const{type:ye,props:Pe,ref:I,children:H,dynamicChildren:te,shapeFlag:_e,patchFlag:he,dirs:de,cacheIndex:ie}=$;if(he===-2&&(ne=!1),I!=null&&Nf(I,null,oe,$,!0),ie!=null&&(A.renderCache[ie]=void 0),_e&256){A.ctx.deactivate($);return}const fe=_e&1&&de,Oe=!xs($);let De;if(Oe&&(De=Pe&&Pe.onVnodeBeforeUnmount)&&Lo(De,A,$),_e&6)G($.component,oe,Se);else{if(_e&128){$.suspense.unmount(oe,Se);return}fe&&ai($,null,A,"beforeUnmount"),_e&64?$.type.remove($,A,oe,xe,Se):te&&!te.hasOnce&&(ye!==rt||he>0&&he&64)?re(te,A,oe,!1,!0):(ye===rt&&he&384||!ne&&_e&16)&&re(H,A,oe),Se&&M($)}(Oe&&(De=Pe&&Pe.onVnodeUnmounted)||fe)&&Hn(()=>{De&&Lo(De,A,$),fe&&ai($,null,A,"unmounted")},oe)},M=$=>{const{type:A,el:oe,anchor:Se,transition:ne}=$;if(A===rt){Z(oe,Se);return}if(A===kd){_($);return}const ye=()=>{r(oe),ne&&!ne.persisted&&ne.afterLeave&&ne.afterLeave()};if($.shapeFlag&1&&ne&&!ne.persisted){const{leave:Pe,delayLeave:I}=ne,H=()=>Pe(oe,ye);I?I($.el,ye,H):H()}else ye()},Z=($,A)=>{let oe;for(;$!==A;)oe=f($),r($),$=oe;r(A)},G=($,A,oe)=>{const{bum:Se,scope:ne,update:ye,subTree:Pe,um:I,m:H,a:te}=$;Cg(H),Cg(te),Se&&ic(Se),ne.stop(),ye&&(ye.active=!1,N(Pe,$,A,oe)),I&&Hn(I,A),Hn(()=>{$.isUnmounted=!0},A),A&&A.pendingBranch&&!A.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===A.pendingId&&(A.deps--,A.deps===0&&A.resolve())},re=($,A,oe,Se=!1,ne=!1,ye=0)=>{for(let Pe=ye;Pe<$.length;Pe++)N($[Pe],A,oe,Se,ne)},X=$=>{if($.shapeFlag&6)return X($.component.subTree);if($.shapeFlag&128)return $.suspense.next();const A=f($.anchor||$.el),oe=A&&A[dx];return oe?f(oe):A};let ae=!1;const B=($,A,oe)=>{$==null?A._vnode&&N(A._vnode,null,null,!0):g(A._vnode||null,$,A,null,null,null,oe),A._vnode=$,ae||(ae=!0,dg(),jy(),ae=!1)},xe={p:g,um:N,m:ee,r:M,mt:L,mc:k,pc:V,pbc:T,n:X,o:e};let se,ge;return t&&([se,ge]=t(xe)),{render:B,hydrate:se,createApp:PP(B,se)}}function _d({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 si({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function BP(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yp(e,t,n=!1){const o=e.children,r=t.children;if(ct(o)&&ct(r))for(let i=0;i<o.length;i++){const a=o[i];let s=r[i];s.shapeFlag&1&&!s.dynamicChildren&&((s.patchFlag<=0||s.patchFlag===32)&&(s=r[i]=Ir(r[i]),s.el=a.el),!n&&s.patchFlag!==-2&&yp(a,s)),s.type===Fa&&(s.el=a.el)}}function NP(e){const t=e.slice(),n=[0];let o,r,i,a,s;const l=e.length;for(o=0;o<l;o++){const c=e[o];if(c!==0){if(r=n[n.length-1],e[r]<c){t[o]=r,n.push(o);continue}for(i=0,a=n.length-1;i<a;)s=i+a>>1,e[n[s]]<c?i=s+1:a=s;c<e[n[i]]&&(i>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 px(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:px(t)}function Cg(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const HP=Symbol.for("v-scx"),jP=()=>Ve(HP);function Yt(e,t){return xp(e,null,t)}const $l={};function ut(e,t,n){return xp(e,t,n)}function xp(e,t,{immediate:n,deep:o,flush:r,once:i,onTrack:a,onTrigger:s}=nn){if(t&&i){const y=t;t=(...x)=>{y(...x),S()}}const l=Sn,c=y=>o===!0?y:Lr(y,o===!1?1:void 0);let u,d=!1,f=!1;if(cn(e)?(u=()=>e.value,d=xa(e)):Si(e)?(u=()=>c(e),d=!0):ct(e)?(f=!0,d=e.some(y=>Si(y)||xa(y)),u=()=>e.map(y=>{if(cn(y))return y.value;if(Si(y))return c(y);if(pt(y))return Br(y,l,2)})):pt(e)?t?u=()=>Br(e,l,2):u=()=>(h&&h(),so(e,l,3,[p])):u=Gn,t&&o){const y=u;u=()=>Lr(y())}let h,p=y=>{h=C.onStop=()=>{Br(y,l,4),h=C.onStop=void 0}},g;if(su)if(p=Gn,t?n&&so(t,l,3,[u(),f?[]:void 0,p]):u(),r==="sync"){const y=jP();g=y.__watcherHandles||(y.__watcherHandles=[])}else return Gn;let m=f?new Array(e.length).fill($l):$l;const b=()=>{if(!(!C.active||!C.dirty))if(t){const y=C.run();(o||d||(f?y.some((x,k)=>Nr(x,m[k])):Nr(y,m)))&&(h&&h(),so(t,l,3,[y,m===$l?void 0:f&&m[0]===$l?[]:m,p]),m=y)}else C.run()};b.allowRecurse=!!t;let w;r==="sync"?w=b:r==="post"?w=()=>Hn(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),w=()=>fp(b));const C=new op(u,Gn,w),_=np(),S=()=>{C.stop(),_&&Zh(_.effects,C)};return t?n?b():m=C.run():r==="post"?Hn(C.run.bind(C),l&&l.suspense):C.run(),g&&g.push(S),S}function UP(e,t,n){const o=this.proxy,r=ln(e)?e.includes(".")?mx(o,e):()=>o[e]:e.bind(o,o);let i;pt(t)?i=t:(i=t.handler,n=t);const a=al(this),s=xp(r,i.bind(o),n);return a(),s}function mx(e,t){const n=t.split(".");return()=>{let o=e;for(let r=0;r<n.length&&o;r++)o=o[n[r]];return o}}function Lr(e,t=1/0,n){if(t<=0||!Qt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,cn(e))Lr(e.value,t,n);else if(ct(e))for(let o=0;o<e.length;o++)Lr(e[o],t,n);else if(fy(e)||pa(e))e.forEach(o=>{Lr(o,t,n)});else if(my(e)){for(const o in e)Lr(e[o],t,n);for(const o of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,o)&&Lr(e[o],t,n)}return e}const VP=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ao(t)}Modifiers`]||e[`${Gr(t)}Modifiers`];function WP(e,t,...n){if(e.isUnmounted)return;const o=e.vnode.props||nn;let r=n;const i=t.startsWith("update:"),a=i&&VP(o,t.slice(7));a&&(a.trim&&(r=n.map(u=>ln(u)?u.trim():u)),a.number&&(r=n.map($f)));let s,l=o[s=yd(t)]||o[s=yd(Ao(t))];!l&&i&&(l=o[s=yd(Gr(t))]),l&&so(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,so(c,e,6,r)}}function gx(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(!pt(e)){const l=c=>{const u=gx(c,t,!0);u&&(s=!0,wn(a,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(Qt(e)&&o.set(e,null),null):(ct(i)?i.forEach(l=>a[l]=null):wn(a,i),Qt(e)&&o.set(e,a),a)}function au(e,t){return!e||!Gc(t)?!1:(t=t.slice(2).replace(/Once$/,""),Mt(e,t[0].toLowerCase()+t.slice(1))||Mt(e,Gr(t))||Mt(e,t))}function Sd(e){const{type:t,vnode:n,proxy:o,withProxy:r,propsOptions:[i],slots:a,attrs:s,emit:l,render:c,renderCache:u,props:d,data:f,setupState:h,ctx:p,inheritAttrs:g}=e,m=yc(e);let b,w;try{if(n.shapeFlag&4){const _=r||o,S=_;b=Bo(c.call(S,_,u,d,h,f,p)),w=s}else{const _=t;b=Bo(_.length>1?_(d,{attrs:s,slots:a,emit:l}):_(d,null)),w=t.props?s:qP(s)}}catch(_){_s.length=0,Zc(_,e,1),b=ce(_n)}let C=b;if(w&&g!==!1){const _=Object.keys(w),{shapeFlag:S}=C;_.length&&S&7&&(i&&_.some(Jh)&&(w=KP(w,i)),C=fo(C,w,!1,!0))}return n.dirs&&(C=fo(C,null,!1,!0),C.dirs=C.dirs?C.dirs.concat(n.dirs):n.dirs),n.transition&&(C.transition=n.transition),b=C,yc(m),b}const qP=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gc(n))&&((t||(t={}))[n]=e[n]);return t},KP=(e,t)=>{const n={};for(const o in e)(!Jh(o)||!(o.slice(9)in t))&&(n[o]=e[o]);return n};function GP(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?wg(o,a,c):!!a;if(l&8){const u=t.dynamicProps;for(let d=0;d<u.length;d++){const f=u[d];if(a[f]!==o[f]&&!au(c,f))return!0}}}else return(r||s)&&(!s||!s.$stable)?!0:o===a?!1:o?a?wg(o,a,c):!0:!!a;return!1}function wg(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!au(n,i))return!0}return!1}function XP({vnode:e,parent:t},n){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.el=e.el),o===e)(e=t.vnode).el=n,t=t.parent;else break}}const YP=e=>e.__isSuspense;function QP(e,t){t&&t.pendingBranch?ct(e)?t.effects.push(...e):t.effects.push(e):uP(e)}const rt=Symbol.for("v-fgt"),Fa=Symbol.for("v-txt"),_n=Symbol.for("v-cmt"),kd=Symbol.for("v-stc"),_s=[];let Xn=null;function be(e=!1){_s.push(Xn=e?null:[])}function JP(){_s.pop(),Xn=_s[_s.length-1]||null}let js=1;function _g(e){js+=e,e<0&&Xn&&(Xn.hasOnce=!0)}function vx(e){return e.dynamicChildren=js>0?Xn||ha:null,JP(),js>0&&Xn&&Xn.push(e),e}function Fe(e,t,n,o,r,i){return vx(Y(e,t,n,o,r,i,!0))}function We(e,t,n,o,r){return vx(ce(e,t,n,o,r,!0))}function Us(e){return e?e.__v_isVNode===!0:!1}function gi(e,t){return e.type===t.type&&e.key===t.key}const bx=({key:e})=>e??null,ac=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ln(e)||cn(e)||pt(e)?{i:xn,r:e,k:t,f:!!n}:e:null);function Y(e,t=null,n=null,o=0,r=null,i=e===rt?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&bx(t),ref:t&&ac(t),scopeId:Vy,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:o,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xn};return s?(Cp(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ln(n)?8:16),js>0&&!a&&Xn&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xn.push(l),l}const ce=ZP;function ZP(e,t=null,n=null,o=0,r=null,i=!1){if((!e||e===Qy)&&(e=_n),Us(e)){const s=fo(e,t,!0);return n&&Cp(s,n),js>0&&!i&&Xn&&(s.shapeFlag&6?Xn[Xn.indexOf(e)]=s:Xn.push(s)),s.patchFlag=-2,s}if(cT(e)&&(e=e.__vccOpts),t){t=eT(t);let{class:s,style:l}=t;s&&!ln(s)&&(t.class=qn(s)),Qt(l)&&(zy(l)&&!ct(l)&&(l=wn({},l)),t.style=Di(l))}const a=ln(e)?1:YP(e)?128:MP(e)?64:Qt(e)?4:pt(e)?2:0;return Y(e,t,n,o,r,a,i,!0)}function eT(e){return e?zy(e)||rx(e)?wn({},e):e:null}function fo(e,t,n=!1,o=!1){const{props:r,ref:i,patchFlag:a,children:s,transition:l}=e,c=t?Dn(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&bx(c),ref:t&&t.ref?n&&i?ct(i)?i.concat(ac(t)):[i,ac(t)]:ac(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==rt?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&fo(e.ssContent),ssFallback:e.ssFallback&&fo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&o&&Ca(u,l.clone(u)),u}function nt(e=" ",t=0){return ce(Fa,null,e,t)}function Ct(e="",t=!1){return t?(be(),We(_n,null,e)):ce(_n,null,e)}function Bo(e){return e==null||typeof e=="boolean"?ce(_n):ct(e)?ce(rt,null,e.slice()):typeof e=="object"?Ir(e):ce(Fa,null,String(e))}function Ir(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:fo(e)}function Cp(e,t){let n=0;const{shapeFlag:o}=e;if(t==null)t=null;else if(ct(t))n=16;else if(typeof t=="object")if(o&65){const r=t.default;r&&(r._c&&(r._d=!1),Cp(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!rx(t)?t._ctx=xn:r===3&&xn&&(xn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else pt(t)?(t={default:t,_ctx:xn},n=32):(t=String(t),o&64?(n=16,t=[nt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Dn(...e){const t={};for(let n=0;n<e.length;n++){const o=e[n];for(const r in o)if(r==="class")t.class!==o.class&&(t.class=qn([t.class,o.class]));else if(r==="style")t.style=Di([t.style,o.style]);else if(Gc(r)){const i=t[r],a=o[r];a&&i!==a&&!(ct(i)&&i.includes(a))&&(t[r]=i?[].concat(i,a):a)}else r!==""&&(t[r]=o[r])}return t}function Lo(e,t,n,o=null){so(e,t,7,[n,o])}const tT=tx();let nT=0;function oT(e,t,n){const o=e.type,r=(t?t.appContext:e.appContext)||tT,i={uid:nT++,vnode:e,type:o,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Cy(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ax(o,r),emitsOptions:gx(o,r),emit:null,emitted:null,propsDefaults:nn,inheritAttrs:o.inheritAttrs,ctx:nn,data:nn,props:nn,attrs:nn,slots:nn,refs:nn,setupState:nn,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=WP.bind(null,i),e.ce&&e.ce(i),i}let Sn=null;const no=()=>Sn||xn;let Cc,jf;{const e=vy(),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)}};Cc=t("__VUE_INSTANCE_SETTERS__",n=>Sn=n),jf=t("__VUE_SSR_SETTERS__",n=>su=n)}const al=e=>{const t=Sn;return Cc(e),e.scope.on(),()=>{e.scope.off(),Cc(t)}},Sg=()=>{Sn&&Sn.scope.off(),Cc(null)};function yx(e){return e.vnode.shapeFlag&4}let su=!1;function rT(e,t=!1,n=!1){t&&jf(t);const{props:o,children:r}=e.vnode,i=yx(e);AP(e,o,i,t),IP(e,r,n);const a=i?iT(e,t):void 0;return t&&jf(!1),a}function iT(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yP);const{setup:o}=n;if(o){const r=e.setupContext=o.length>1?sT(e):null,i=al(e);Xr();const a=Br(o,e,0,[e.props,r]);if(Yr(),i(),hy(a)){if(a.then(Sg,Sg),t)return a.then(s=>{kg(e,s,t)}).catch(s=>{Zc(s,e,0)});e.asyncDep=a}else kg(e,a,t)}else xx(e,t)}function kg(e,t,n){pt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Qt(t)&&(e.setupState=Dy(t)),xx(e,n)}let Pg;function xx(e,t,n){const o=e.type;if(!e.render){if(!t&&Pg&&!o.render){const r=o.template||vp(e).template;if(r){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=o,c=wn(wn({isCustomElement:i,delimiters:s},a),l);o.render=Pg(r,c)}}e.render=o.render||Gn}{const r=al(e);Xr();try{xP(e)}finally{Yr(),r()}}}const aT={get(e,t){return jn(e,"get",""),e[t]}};function sT(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,aT),slots:e.slots,emit:e.emit,expose:t}}function lu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Dy(Fs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cs)return Cs[n](e)},has(t,n){return n in t||n in Cs}})):e.proxy}function lT(e,t=!0){return pt(e)?e.displayName||e.name:e.name||t&&e.__name}function cT(e){return pt(e)&&"__vccOpts"in e}const O=(e,t)=>Z3(e,t,su);function v(e,t,n){const o=arguments.length;return o===2?Qt(t)&&!ct(t)?Us(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):o===3&&Us(n)&&(n=[n]),ce(e,t,n))}const uT="3.4.38";/**
|
||
* @vue/runtime-dom v3.4.38
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const dT="http://www.w3.org/2000/svg",fT="http://www.w3.org/1998/Math/MathML",ar=typeof document<"u"?document:null,Tg=ar&&ar.createElement("template"),hT={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(dT,e):t==="mathml"?ar.createElementNS(fT,e):n?ar.createElement(e,{is:n}):ar.createElement(e);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{Tg.innerHTML=o==="svg"?`<svg>${e}</svg>`:o==="mathml"?`<math>${e}</math>`:e;const s=Tg.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]}},wr="transition",rs="animation",_a=Symbol("_vtc"),fn=(e,{slots:t})=>v(hP,wx(e),t);fn.displayName="Transition";const Cx={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},pT=fn.props=wn({},qy,Cx),li=(e,t=[])=>{ct(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ag=e=>e?ct(e)?e.some(t=>t.length>1):e.length>1:!1;function wx(e){const t={};for(const R in e)R in Cx||(t[R]=e[R]);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:h=`${n}-leave-to`}=e,p=mT(r),g=p&&p[0],m=p&&p[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:C,onLeave:_,onLeaveCancelled:S,onBeforeAppear:y=b,onAppear:x=w,onAppearCancelled:k=C}=t,P=(R,q,L)=>{Ar(R,q?u:s),Ar(R,q?c:a),L&&L()},T=(R,q)=>{R._isLeaving=!1,Ar(R,d),Ar(R,h),Ar(R,f),q&&q()},E=R=>(q,L)=>{const D=R?x:w,F=()=>P(q,R,L);li(D,[q,F]),Rg(()=>{Ar(q,R?l:i),ir(q,R?u:s),Ag(D)||Eg(q,o,g,F)})};return wn(t,{onBeforeEnter(R){li(b,[R]),ir(R,i),ir(R,a)},onBeforeAppear(R){li(y,[R]),ir(R,l),ir(R,c)},onEnter:E(!1),onAppear:E(!0),onLeave(R,q){R._isLeaving=!0;const L=()=>T(R,q);ir(R,d),ir(R,f),Sx(),Rg(()=>{R._isLeaving&&(Ar(R,d),ir(R,h),Ag(_)||Eg(R,o,m,L))}),li(_,[R,L])},onEnterCancelled(R){P(R,!1),li(C,[R])},onAppearCancelled(R){P(R,!0),li(k,[R])},onLeaveCancelled(R){T(R),li(S,[R])}})}function mT(e){if(e==null)return null;if(Qt(e))return[Pd(e.enter),Pd(e.leave)];{const t=Pd(e);return[t,t]}}function Pd(e){return k3(e)}function ir(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[_a]||(e[_a]=new Set)).add(t)}function Ar(e,t){t.split(/\s+/).forEach(o=>o&&e.classList.remove(o));const n=e[_a];n&&(n.delete(t),n.size||(e[_a]=void 0))}function Rg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let gT=0;function Eg(e,t,n,o){const r=e._endId=++gT,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=_x(e,t);if(!a)return o();const c=a+"end";let u=0;const d=()=>{e.removeEventListener(c,f),i()},f=h=>{h.target===e&&++u>=l&&d()};setTimeout(()=>{u<l&&d()},s+1),e.addEventListener(c,f)}function _x(e,t){const n=window.getComputedStyle(e),o=p=>(n[p]||"").split(", "),r=o(`${wr}Delay`),i=o(`${wr}Duration`),a=$g(r,i),s=o(`${rs}Delay`),l=o(`${rs}Duration`),c=$g(s,l);let u=null,d=0,f=0;t===wr?a>0&&(u=wr,d=a,f=i.length):t===rs?c>0&&(u=rs,d=c,f=l.length):(d=Math.max(a,c),u=d>0?a>c?wr:rs:null,f=u?u===wr?i.length:l.length:0);const h=u===wr&&/\b(transform|all)(,|$)/.test(o(`${wr}Property`).toString());return{type:u,timeout:d,propCount:f,hasTransform:h}}function $g(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,o)=>Ig(n)+Ig(e[o])))}function Ig(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Sx(){return document.body.offsetHeight}function vT(e,t,n){const o=e[_a];o&&(t=(t?[t,...o]:[...o]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wc=Symbol("_vod"),kx=Symbol("_vsh"),Mn={beforeMount(e,{value:t},{transition:n}){e[wc]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):is(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),is(e,!0),o.enter(e)):o.leave(e,()=>{is(e,!1)}):is(e,t))},beforeUnmount(e,{value:t}){is(e,t)}};function is(e,t){e.style.display=t?e[wc]:"none",e[kx]=!t}const bT=Symbol(""),yT=/(^|;)\s*display\s*:/;function xT(e,t,n){const o=e.style,r=ln(n);let i=!1;if(n&&!r){if(t)if(ln(t))for(const a of t.split(";")){const s=a.slice(0,a.indexOf(":")).trim();n[s]==null&&sc(o,s,"")}else for(const a in t)n[a]==null&&sc(o,a,"");for(const a in n)a==="display"&&(i=!0),sc(o,a,n[a])}else if(r){if(t!==n){const a=o[bT];a&&(n+=";"+a),o.cssText=n,i=yT.test(n)}}else t&&e.removeAttribute("style");wc in e&&(e[wc]=i?o.display:"",e[kx]&&(o.display="none"))}const Og=/\s*!important$/;function sc(e,t,n){if(ct(n))n.forEach(o=>sc(e,t,o));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const o=CT(e,t);Og.test(n)?e.setProperty(Gr(o),n.replace(Og,""),"important"):e[o]=n}}const Mg=["Webkit","Moz","ms"],Td={};function CT(e,t){const n=Td[t];if(n)return n;let o=Ao(t);if(o!=="filter"&&o in e)return Td[t]=o;o=Qc(o);for(let r=0;r<Mg.length;r++){const i=Mg[r]+o;if(i in e)return Td[t]=i}return t}const zg="http://www.w3.org/1999/xlink";function Lg(e,t,n,o,r,i=$3(t)){o&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(zg,t.slice(6,t.length)):e.setAttributeNS(zg,t,n):n==null||i&&!by(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Kr(n)?String(n):n)}function wT(e,t,n,o){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const a=r==="OPTION"?e.getAttribute("value")||"":e.value,s=n==null?"":String(n);(a!==s||!("_value"in e))&&(e.value=s),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=by(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function sa(e,t,n,o){e.addEventListener(t,n,o)}function _T(e,t,n,o){e.removeEventListener(t,n,o)}const Fg=Symbol("_vei");function ST(e,t,n,o,r=null){const i=e[Fg]||(e[Fg]={}),a=i[t];if(o&&a)a.value=o;else{const[s,l]=kT(t);if(o){const c=i[t]=AT(o,r);sa(e,s,c,l)}else a&&(_T(e,s,a,l),i[t]=void 0)}}const Dg=/(?:Once|Passive|Capture)$/;function kT(e){let t;if(Dg.test(e)){t={};let o;for(;o=e.match(Dg);)e=e.slice(0,e.length-o[0].length),t[o[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Gr(e.slice(2)),t]}let Ad=0;const PT=Promise.resolve(),TT=()=>Ad||(PT.then(()=>Ad=0),Ad=Date.now());function AT(e,t){const n=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=n.attached)return;so(RT(o,n.value),t,5,[o])};return n.value=e,n.attached=TT(),n}function RT(e,t){if(ct(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 Bg=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ET=(e,t,n,o,r,i)=>{const a=r==="svg";t==="class"?vT(e,o,a):t==="style"?xT(e,n,o):Gc(t)?Jh(t)||ST(e,t,n,o,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):$T(e,t,o,a))?(wT(e,t,o),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Lg(e,t,o,a,i,t!=="value")):(t==="true-value"?e._trueValue=o:t==="false-value"&&(e._falseValue=o),Lg(e,t,o,a))};function $T(e,t,n,o){if(o)return!!(t==="innerHTML"||t==="textContent"||t in e&&Bg(t)&&pt(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 Bg(t)&&ln(n)?!1:t in e}const Px=new WeakMap,Tx=new WeakMap,_c=Symbol("_moveCb"),Ng=Symbol("_enterCb"),Ax={name:"TransitionGroup",props:wn({},pT,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=no(),o=Wy();let r,i;return mp(()=>{if(!r.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!FT(r[0].el,n.vnode.el,a))return;r.forEach(MT),r.forEach(zT);const s=r.filter(LT);Sx(),s.forEach(l=>{const c=l.el,u=c.style;ir(c,a),u.transform=u.webkitTransform=u.transitionDuration="";const d=c[_c]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[_c]=null,Ar(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=It(e),s=wx(a);let l=a.tag||rt;if(r=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(r.push(u),Ca(u,Hs(u,s,o,n)),Px.set(u,u.el.getBoundingClientRect()))}i=t.default?hp(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&Ca(u,Hs(u,s,o,n))}return ce(l,null,i)}}},IT=e=>delete e.mode;Ax.props;const OT=Ax;function MT(e){const t=e.el;t[_c]&&t[_c](),t[Ng]&&t[Ng]()}function zT(e){Tx.set(e,e.el.getBoundingClientRect())}function LT(e){const t=Px.get(e),n=Tx.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 FT(e,t,n){const o=e.cloneNode(),r=e[_a];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}=_x(o);return i.removeChild(o),a}const Hg=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ct(t)?n=>ic(t,n):t};function DT(e){e.target.composing=!0}function jg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Rd=Symbol("_assign"),BT={created(e,{modifiers:{lazy:t,trim:n,number:o}},r){e[Rd]=Hg(r);const i=o||r.props&&r.props.type==="number";sa(e,t?"change":"input",a=>{if(a.target.composing)return;let s=e.value;n&&(s=s.trim()),i&&(s=$f(s)),e[Rd](s)}),n&&sa(e,"change",()=>{e.value=e.value.trim()}),t||(sa(e,"compositionstart",DT),sa(e,"compositionend",jg),sa(e,"change",jg))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:o,trim:r,number:i}},a){if(e[Rd]=Hg(a),e.composing)return;const s=(i||e.type==="number")&&!/^0\d/.test(e.value)?$f(e.value):e.value,l=t??"";s!==l&&(document.activeElement===e&&e.type!=="range"&&(o&&t===n||r&&e.value.trim()===l)||(e.value=l))}},NT=["ctrl","shift","alt","meta"],HT={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)=>NT.some(n=>e[`${n}Key`]&&!t.includes(n))},jT=(e,t)=>{const n=e._withMods||(e._withMods={}),o=t.join(".");return n[o]||(n[o]=(r,...i)=>{for(let a=0;a<t.length;a++){const s=HT[t[a]];if(s&&s(r,t))return}return e(r,...i)})},UT={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Ss=(e,t)=>{const n=e._withKeys||(e._withKeys={}),o=t.join(".");return n[o]||(n[o]=r=>{if(!("key"in r))return;const i=Gr(r.key);if(t.some(a=>a===i||UT[a]===i))return e(r)})},VT=wn({patchProp:ET},hT);let Ug;function WT(){return Ug||(Ug=FP(VT))}const Rx=(...e)=>{const t=WT().createApp(...e),{mount:n}=t;return t.mount=o=>{const r=KT(o);if(!r)return;const i=t._component;!pt(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const a=n(r,!1,qT(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),a},t};function qT(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function KT(e){return ln(e)?document.querySelector(e):e}/*!
|
||
* vue-router v4.4.3
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const la=typeof document<"u";function GT(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ut=Object.assign;function Ed(e,t){const n={};for(const o in t){const r=t[o];n[o]=Ro(r)?r.map(e):e(r)}return n}const ks=()=>{},Ro=Array.isArray,Ex=/#/g,XT=/&/g,YT=/\//g,QT=/=/g,JT=/\?/g,$x=/\+/g,ZT=/%5B/g,eA=/%5D/g,Ix=/%5E/g,tA=/%60/g,Ox=/%7B/g,nA=/%7C/g,Mx=/%7D/g,oA=/%20/g;function wp(e){return encodeURI(""+e).replace(nA,"|").replace(ZT,"[").replace(eA,"]")}function rA(e){return wp(e).replace(Ox,"{").replace(Mx,"}").replace(Ix,"^")}function Uf(e){return wp(e).replace($x,"%2B").replace(oA,"+").replace(Ex,"%23").replace(XT,"%26").replace(tA,"`").replace(Ox,"{").replace(Mx,"}").replace(Ix,"^")}function iA(e){return Uf(e).replace(QT,"%3D")}function aA(e){return wp(e).replace(Ex,"%23").replace(JT,"%3F")}function sA(e){return e==null?"":aA(e).replace(YT,"%2F")}function Vs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const lA=/\/$/,cA=e=>e.replace(lA,"");function $d(e,t,n="/"){let o,r={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s<l&&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=hA(o??t,n),{fullPath:o+(i&&"?")+i+a,path:o,query:r,hash:Vs(a)}}function uA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vg(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function dA(e,t,n){const o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Sa(t.matched[o],n.matched[r])&&zx(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Sa(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function zx(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fA(e[n],t[n]))return!1;return!0}function fA(e,t){return Ro(e)?Wg(e,t):Ro(t)?Wg(t,e):e===t}function Wg(e,t){return Ro(t)?e.length===t.length&&e.every((n,o)=>n===t[o]):e.length===1&&e[0]===t}function hA(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;a<o.length;a++)if(s=o[a],s!==".")if(s==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+o.slice(a).join("/")}const _r={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ws;(function(e){e.pop="pop",e.push="push"})(Ws||(Ws={}));var Ps;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ps||(Ps={}));function pA(e){if(!e)if(la){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),cA(e)}const mA=/^[^#]+#/;function gA(e,t){return e.replace(mA,"#")+t}function vA(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 cu=()=>({left:window.scrollX,top:window.scrollY});function bA(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=vA(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function qg(e,t){return(history.state?history.state.position-t:-1)+e}const Vf=new Map;function yA(e,t){Vf.set(e,t)}function xA(e){const t=Vf.get(e);return Vf.delete(e),t}let CA=()=>location.protocol+"//"+location.host;function Lx(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),Vg(l,"")}return Vg(n,e)+o+r}function wA(e,t,n,o){let r=[],i=[],a=null;const s=({state:f})=>{const h=Lx(e,location),p=n.value,g=t.value;let m=0;if(f){if(n.value=h,t.value=f,a&&a===p){a=null;return}m=g?f.position-g.position:0}else o(h);r.forEach(b=>{b(n.value,p,{delta:m,type:Ws.pop,direction:m?m>0?Ps.forward:Ps.back:Ps.unknown})})};function l(){a=n.value}function c(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return i.push(h),h}function u(){const{history:f}=window;f.state&&f.replaceState(Ut({},f.state,{scroll:cu()}),"")}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?cu():null}}function _A(e){const{history:t,location:n}=window,o={value:Lx(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:CA()+e+l;try{t[u?"replaceState":"pushState"](c,"",f),r.value=c}catch(h){console.error(h),n[u?"replace":"assign"](f)}}function a(l,c){const u=Ut({},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=Ut({},r.value,t.state,{forward:l,scroll:cu()});i(u.current,u,!0);const d=Ut({},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 SA(e){e=pA(e);const t=_A(e),n=wA(e,t.state,t.location,t.replace);function o(i,a=!0){a||n.pauseListeners(),history.go(i)}const r=Ut({location:"",base:e,go:o,createHref:gA.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 kA(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),SA(e)}function PA(e){return typeof e=="string"||e&&typeof e=="object"}function Fx(e){return typeof e=="string"||typeof e=="symbol"}const Dx=Symbol("");var Gg;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Gg||(Gg={}));function ka(e,t){return Ut(new Error,{type:e,[Dx]:!0},t)}function er(e,t){return e instanceof Error&&Dx in e&&(t==null||!!(e.type&t))}const Xg="[^/]+?",TA={sensitive:!1,strict:!1,start:!0,end:!0},AA=/[.+*?^${}()[\]/\\]/g;function RA(e,t){const n=Ut({},TA,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;d<c.length;d++){const f=c[d];let h=40+(n.sensitive?.25:0);if(f.type===0)d||(r+="/"),r+=f.value.replace(AA,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:g,optional:m,regexp:b}=f;i.push({name:p,repeatable:g,optional:m});const w=b||Xg;if(w!==Xg){h+=10;try{new RegExp(`(${w})`)}catch(_){throw new Error(`Invalid custom RegExp for param "${p}" (${w}): `+_.message)}}let C=g?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;d||(C=m&&c.length<2?`(?:/${C})`:"/"+C),m&&(C+="?"),r+=C,h+=20,m&&(h+=-8),g&&(h+=-20),w===".*"&&(h+=-50)}u.push(h)}o.push(u)}if(n.strict&&n.end){const c=o.length-1;o[c][o[c].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const a=new RegExp(r,n.sensitive?"":"i");function s(c){const u=c.match(a),d={};if(!u)return null;for(let f=1;f<u.length;f++){const h=u[f]||"",p=i[f-1];d[p.name]=h&&p.repeatable?h.split("/"):h}return d}function l(c){let u="",d=!1;for(const f of e){(!d||!u.endsWith("/"))&&(u+="/"),d=!1;for(const h of f)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:m}=h,b=p in c?c[p]:"";if(Ro(b)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const w=Ro(b)?b.join("/"):b;if(!w)if(m)f.length<2&&(u.endsWith("/")?u=u.slice(0,-1):d=!0);else throw new Error(`Missing required param "${p}"`);u+=w}}return u||"/"}return{re:a,score:o,keys:i,parse:s,stringify:l}}function EA(e,t){let n=0;for(;n<e.length&&n<t.length;){const o=t[n]-e[n];if(o)return o;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Bx(e,t){let n=0;const o=e.score,r=t.score;for(;n<o.length&&n<r.length;){const i=EA(o[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-o.length)===1){if(Yg(o))return 1;if(Yg(r))return-1}return r.length-o.length}function Yg(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const $A={type:0,value:""},IA=/[a-zA-Z0-9_]/;function OA(e){if(!e)return[[]];if(e==="/")return[[$A]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}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<e.length;){if(l=e[s++],l==="\\"&&n!==2){o=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),a()):l===":"?(d(),n=1):f();break;case 4:f(),n=o;break;case 1:l==="("?n=2:IA.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&s--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),r}function MA(e,t,n){const o=RA(OA(e.path),n),r=Ut(o,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function zA(e,t){const n=[],o=new Map;t=Zg({strict:!1,end:!0,sensitive:!1},t);function r(d){return o.get(d)}function i(d,f,h){const p=!h,g=LA(d);g.aliasOf=h&&h.record;const m=Zg(t,d),b=[g];if("alias"in d){const _=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of _)b.push(Ut({},g,{components:h?h.record.components:g.components,path:S,aliasOf:h?h.record:g}))}let w,C;for(const _ of b){const{path:S}=_;if(f&&S[0]!=="/"){const y=f.record.path,x=y[y.length-1]==="/"?"":"/";_.path=f.record.path+(S&&x+S)}if(w=MA(_,f,m),h?h.alias.push(w):(C=C||w,C!==w&&C.alias.push(w),p&&d.name&&!Jg(w)&&a(d.name)),Nx(w)&&l(w),g.children){const y=g.children;for(let x=0;x<y.length;x++)i(y[x],w,h&&h.children[x])}h=h||w}return C?()=>{a(C)}:ks}function a(d){if(Fx(d)){const f=o.get(d);f&&(o.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&o.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function s(){return n}function l(d){const f=BA(d,n);n.splice(f,0,d),d.record.name&&!Jg(d)&&o.set(d.record.name,d)}function c(d,f){let h,p={},g,m;if("name"in d&&d.name){if(h=o.get(d.name),!h)throw ka(1,{location:d});m=h.record.name,p=Ut(Qg(f.params,h.keys.filter(C=>!C.optional).concat(h.parent?h.parent.keys.filter(C=>C.optional):[]).map(C=>C.name)),d.params&&Qg(d.params,h.keys.map(C=>C.name))),g=h.stringify(p)}else if(d.path!=null)g=d.path,h=n.find(C=>C.re.test(g)),h&&(p=h.parse(g),m=h.record.name);else{if(h=f.name?o.get(f.name):n.find(C=>C.re.test(f.path)),!h)throw ka(1,{location:d,currentLocation:f});m=h.record.name,p=Ut({},f.params,d.params),g=h.stringify(p)}const b=[];let w=h;for(;w;)b.unshift(w.record),w=w.parent;return{name:m,path:g,params:p,matched:b,meta:DA(b)}}e.forEach(d=>i(d));function u(){n.length=0,o.clear()}return{addRoute:i,resolve:c,removeRoute:a,clearRoutes:u,getRoutes:s,getRecordMatcher:r}}function Qg(e,t){const n={};for(const o of t)o in e&&(n[o]=e[o]);return n}function LA(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:FA(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 FA(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 Jg(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function DA(e){return e.reduce((t,n)=>Ut(t,n.meta),{})}function Zg(e,t){const n={};for(const o in e)n[o]=o in t?t[o]:e[o];return n}function BA(e,t){let n=0,o=t.length;for(;n!==o;){const i=n+o>>1;Bx(e,t[i])<0?o=i:n=i+1}const r=NA(e);return r&&(o=t.lastIndexOf(r,o-1)),o}function NA(e){let t=e;for(;t=t.parent;)if(Nx(t)&&Bx(e,t)===0)return t}function Nx({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function HA(e){const t={};if(e===""||e==="?")return t;const o=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<o.length;++r){const i=o[r].replace($x," "),a=i.indexOf("="),s=Vs(a<0?i:i.slice(0,a)),l=a<0?null:Vs(i.slice(a+1));if(s in t){let c=t[s];Ro(c)||(c=t[s]=[c]),c.push(l)}else t[s]=l}return t}function ev(e){let t="";for(let n in e){const o=e[n];if(n=iA(n),o==null){o!==void 0&&(t+=(t.length?"&":"")+n);continue}(Ro(o)?o.map(i=>i&&Uf(i)):[o&&Uf(o)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function jA(e){const t={};for(const n in e){const o=e[n];o!==void 0&&(t[n]=Ro(o)?o.map(r=>r==null?null:""+r):o==null?o:""+o)}return t}const UA=Symbol(""),tv=Symbol(""),uu=Symbol(""),_p=Symbol(""),Wf=Symbol("");function as(){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 Or(e,t,n,o,r,i=a=>a()){const a=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise((s,l)=>{const c=f=>{f===!1?l(ka(4,{from:n,to:t})):f instanceof Error?l(f):PA(f)?l(ka(2,{from:t,to:f})):(a&&o.enterCallbacks[r]===a&&typeof f=="function"&&a.push(f),s())},u=i(()=>e.call(o&&o.instances[r],t,n,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(f=>l(f))})}function Id(e,t,n,o,r=i=>i()){const i=[];for(const a of e)for(const s in a.components){let l=a.components[s];if(!(t!=="beforeRouteEnter"&&!a.instances[s]))if(VA(l)){const u=(l.__vccOpts||l)[t];u&&i.push(Or(u,n,o,a,s,r))}else{let c=l();i.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${s}" at "${a.path}"`));const d=GT(u)?u.default:u;a.components[s]=d;const h=(d.__vccOpts||d)[t];return h&&Or(h,n,o,a,s,r)()}))}}return i}function VA(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function nv(e){const t=Ve(uu),n=Ve(_p),o=O(()=>{const l=Te(e.to);return t.resolve(l)}),r=O(()=>{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(Sa.bind(null,u));if(f>-1)return f;const h=ov(l[c-2]);return c>1&&ov(u)===h&&d[d.length-1].path!==h?d.findIndex(Sa.bind(null,l[c-2])):f}),i=O(()=>r.value>-1&&GA(n.params,o.value.params)),a=O(()=>r.value>-1&&r.value===n.matched.length-1&&zx(n.params,o.value.params));function s(l={}){return KA(l)?t[Te(e.replace)?"replace":"push"](Te(e.to)).catch(ks):Promise.resolve()}return{route:o,href:O(()=>o.value.href),isActive:i,isExactActive:a,navigate:s}}const WA=Ce({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:nv,setup(e,{slots:t}){const n=to(nv(e)),{options:o}=Ve(uu),r=O(()=>({[rv(e.activeClass,o.linkActiveClass,"router-link-active")]:n.isActive,[rv(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)}}}),qA=WA;function KA(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 GA(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(!Ro(r)||r.length!==o.length||o.some((i,a)=>i!==r[a]))return!1}return!0}function ov(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rv=(e,t,n)=>e??t??n,XA=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const o=Ve(Wf),r=O(()=>e.route||o.value),i=Ve(tv,0),a=O(()=>{let c=Te(i);const{matched:u}=r.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),s=O(()=>r.value.matched[a.value]);at(tv,O(()=>a.value+1)),at(UA,s),at(Wf,r);const l=j();return ut(()=>[l.value,s.value,e.name],([c,u,d],[f,h,p])=>{u&&(u.instances[d]=c,h&&h!==u&&c&&c===f&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!Sa(u,h)||!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 iv(n.default,{Component:f,route:c});const h=d.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=v(f,Ut({},p,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:l}));return iv(n.default,{Component:m,route:c})||m}}});function iv(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const YA=XA;function QA(e){const t=zA(e.routes,e),n=e.parseQuery||HA,o=e.stringifyQuery||ev,r=e.history,i=as(),a=as(),s=as(),l=za(_r);let c=_r;la&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Ed.bind(null,X=>""+X),d=Ed.bind(null,sA),f=Ed.bind(null,Vs);function h(X,ae){let B,xe;return Fx(X)?(B=t.getRecordMatcher(X),xe=ae):xe=X,t.addRoute(xe,B)}function p(X){const ae=t.getRecordMatcher(X);ae&&t.removeRoute(ae)}function g(){return t.getRoutes().map(X=>X.record)}function m(X){return!!t.getRecordMatcher(X)}function b(X,ae){if(ae=Ut({},ae||l.value),typeof X=="string"){const A=$d(n,X,ae.path),oe=t.resolve({path:A.path},ae),Se=r.createHref(A.fullPath);return Ut(A,oe,{params:f(oe.params),hash:Vs(A.hash),redirectedFrom:void 0,href:Se})}let B;if(X.path!=null)B=Ut({},X,{path:$d(n,X.path,ae.path).path});else{const A=Ut({},X.params);for(const oe in A)A[oe]==null&&delete A[oe];B=Ut({},X,{params:d(A)}),ae.params=d(ae.params)}const xe=t.resolve(B,ae),se=X.hash||"";xe.params=u(f(xe.params));const ge=uA(o,Ut({},X,{hash:rA(se),path:xe.path})),$=r.createHref(ge);return Ut({fullPath:ge,hash:se,query:o===ev?jA(X.query):X.query||{}},xe,{redirectedFrom:void 0,href:$})}function w(X){return typeof X=="string"?$d(n,X,l.value.path):Ut({},X)}function C(X,ae){if(c!==X)return ka(8,{from:ae,to:X})}function _(X){return x(X)}function S(X){return _(Ut(w(X),{replace:!0}))}function y(X){const ae=X.matched[X.matched.length-1];if(ae&&ae.redirect){const{redirect:B}=ae;let xe=typeof B=="function"?B(X):B;return typeof xe=="string"&&(xe=xe.includes("?")||xe.includes("#")?xe=w(xe):{path:xe},xe.params={}),Ut({query:X.query,hash:X.hash,params:xe.path!=null?{}:X.params},xe)}}function x(X,ae){const B=c=b(X),xe=l.value,se=X.state,ge=X.force,$=X.replace===!0,A=y(B);if(A)return x(Ut(w(A),{state:typeof A=="object"?Ut({},se,A.state):se,force:ge,replace:$}),ae||B);const oe=B;oe.redirectedFrom=ae;let Se;return!ge&&dA(o,xe,B)&&(Se=ka(16,{to:oe,from:xe}),ee(xe,xe,!0,!1)),(Se?Promise.resolve(Se):T(oe,xe)).catch(ne=>er(ne)?er(ne,2)?ne:me(ne):V(ne,oe,xe)).then(ne=>{if(ne){if(er(ne,2))return x(Ut({replace:$},w(ne.to),{state:typeof ne.to=="object"?Ut({},se,ne.to.state):se,force:ge}),ae||oe)}else ne=R(oe,xe,!0,$,se);return E(oe,xe,ne),ne})}function k(X,ae){const B=C(X,ae);return B?Promise.reject(B):Promise.resolve()}function P(X){const ae=Z.values().next().value;return ae&&typeof ae.runWithContext=="function"?ae.runWithContext(X):X()}function T(X,ae){let B;const[xe,se,ge]=JA(X,ae);B=Id(xe.reverse(),"beforeRouteLeave",X,ae);for(const A of xe)A.leaveGuards.forEach(oe=>{B.push(Or(oe,X,ae))});const $=k.bind(null,X,ae);return B.push($),re(B).then(()=>{B=[];for(const A of i.list())B.push(Or(A,X,ae));return B.push($),re(B)}).then(()=>{B=Id(se,"beforeRouteUpdate",X,ae);for(const A of se)A.updateGuards.forEach(oe=>{B.push(Or(oe,X,ae))});return B.push($),re(B)}).then(()=>{B=[];for(const A of ge)if(A.beforeEnter)if(Ro(A.beforeEnter))for(const oe of A.beforeEnter)B.push(Or(oe,X,ae));else B.push(Or(A.beforeEnter,X,ae));return B.push($),re(B)}).then(()=>(X.matched.forEach(A=>A.enterCallbacks={}),B=Id(ge,"beforeRouteEnter",X,ae,P),B.push($),re(B))).then(()=>{B=[];for(const A of a.list())B.push(Or(A,X,ae));return B.push($),re(B)}).catch(A=>er(A,8)?A:Promise.reject(A))}function E(X,ae,B){s.list().forEach(xe=>P(()=>xe(X,ae,B)))}function R(X,ae,B,xe,se){const ge=C(X,ae);if(ge)return ge;const $=ae===_r,A=la?history.state:{};B&&(xe||$?r.replace(X.fullPath,Ut({scroll:$&&A&&A.scroll},se)):r.push(X.fullPath,se)),l.value=X,ee(X,ae,B,$),me()}let q;function L(){q||(q=r.listen((X,ae,B)=>{if(!G.listening)return;const xe=b(X),se=y(xe);if(se){x(Ut(se,{replace:!0}),xe).catch(ks);return}c=xe;const ge=l.value;la&&yA(qg(ge.fullPath,B.delta),cu()),T(xe,ge).catch($=>er($,12)?$:er($,2)?(x($.to,xe).then(A=>{er(A,20)&&!B.delta&&B.type===Ws.pop&&r.go(-1,!1)}).catch(ks),Promise.reject()):(B.delta&&r.go(-B.delta,!1),V($,xe,ge))).then($=>{$=$||R(xe,ge,!1),$&&(B.delta&&!er($,8)?r.go(-B.delta,!1):B.type===Ws.pop&&er($,20)&&r.go(-1,!1)),E(xe,ge,$)}).catch(ks)}))}let D=as(),F=as(),K;function V(X,ae,B){me(X);const xe=F.list();return xe.length?xe.forEach(se=>se(X,ae,B)):console.error(X),Promise.reject(X)}function le(){return K&&l.value!==_r?Promise.resolve():new Promise((X,ae)=>{D.add([X,ae])})}function me(X){return K||(K=!X,L(),D.list().forEach(([ae,B])=>X?B(X):ae()),D.reset()),X}function ee(X,ae,B,xe){const{scrollBehavior:se}=e;if(!la||!se)return Promise.resolve();const ge=!B&&xA(qg(X.fullPath,0))||(xe||!B)&&history.state&&history.state.scroll||null;return Ht().then(()=>se(X,ae,ge)).then($=>$&&bA($)).catch($=>V($,X,ae))}const N=X=>r.go(X);let M;const Z=new Set,G={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,clearRoutes:t.clearRoutes,hasRoute:m,getRoutes:g,resolve:b,options:e,push:_,replace:S,go:N,back:()=>N(-1),forward:()=>N(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:F.add,isReady:le,install(X){const ae=this;X.component("RouterLink",qA),X.component("RouterView",YA),X.config.globalProperties.$router=ae,Object.defineProperty(X.config.globalProperties,"$route",{enumerable:!0,get:()=>Te(l)}),la&&!M&&l.value===_r&&(M=!0,_(r.location).catch(se=>{}));const B={};for(const se in _r)Object.defineProperty(B,se,{get:()=>l.value[se],enumerable:!0});X.provide(uu,ae),X.provide(_p,My(B)),X.provide(Wf,l);const xe=X.unmount;Z.add(X),X.unmount=function(){Z.delete(X),Z.size<1&&(c=_r,q&&q(),q=null,l.value=_r,M=!1,K=!1),xe()}}};function re(X){return X.reduce((ae,B)=>ae.then(()=>P(B)),Promise.resolve())}return G}function JA(e,t){const n=[],o=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;a<i;a++){const s=t.matched[a];s&&(e.matched.find(c=>Sa(c,s))?o.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(c=>Sa(c,l))||r.push(l))}return[n,o,r]}function Hx(){return Ve(uu)}function Da(e){return Ve(_p)}const ZA="modulepreload",eR=function(e){return"/"+e},av={},_t=function(t,n,o){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(i=>{if(i=eR(i),i in av)return;av[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":ZA,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})},tR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),nR={name:"dashboard",path:"/",component:tR,redirect:"dashboard",meta:{isHidden:!1},children:[{name:"dashboard",path:"/dashboard",component:()=>_t(()=>Promise.resolve().then(()=>ILe),void 0),meta:{title:"仪表盘",icon:"mdi:home",order:0}}]},oR=Object.freeze(Object.defineProperty({__proto__:null,default:nR},Symbol.toStringTag,{value:"Module"})),rR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),iR={name:"Invite",path:"/",component:rR,redirect:"/invite",meta:{isHidden:!1},children:[{name:"Invite",path:"invite",component:()=>_t(()=>Promise.resolve().then(()=>pFe),void 0),meta:{title:"我的邀请",icon:"mdi:invite",order:1,group:{key:"finance",label:"财务"}}}]},aR=Object.freeze(Object.defineProperty({__proto__:null,default:iR},Symbol.toStringTag,{value:"Module"})),sR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),lR={name:"knowledge",path:"/",component:sR,redirect:"/knowledge",meta:{isHidden:!1},children:[{name:"Knowledge",path:"knowledge",component:()=>_t(()=>Promise.resolve().then(()=>xFe),void 0),meta:{title:"使用文档",icon:"mdi-book-open-variant",order:10}}]},cR=Object.freeze(Object.defineProperty({__proto__:null,default:lR},Symbol.toStringTag,{value:"Module"})),uR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),dR={name:"Node",path:"/",component:uR,redirect:"/node",meta:{isHidden:!1},children:[{name:"Node",path:"node",component:()=>_t(()=>Promise.resolve().then(()=>HFe),void 0),meta:{title:"节点状态",icon:"mdi-check-circle-outline",order:11,group:{key:"subscribe",label:"订阅"}}}]},fR=Object.freeze(Object.defineProperty({__proto__:null,default:dR},Symbol.toStringTag,{value:"Module"})),hR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),pR={name:"Order",path:"/",component:hR,redirect:"/order",meta:{isHidden:!1},children:[{name:"Order",path:"order",component:()=>_t(()=>Promise.resolve().then(()=>UFe),void 0),meta:{title:"我的订单",icon:"mdi-format-list-bulleted",order:0,group:{key:"finance",label:"财务"}}},{name:"OrderDetail",path:"order/:trade_no",component:()=>_t(()=>Promise.resolve().then(()=>xBe),void 0),meta:{title:"订单详情",icon:"mdi:doc",order:1,isHidden:!0}}]},mR=Object.freeze(Object.defineProperty({__proto__:null,default:pR},Symbol.toStringTag,{value:"Module"})),gR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),vR={name:"plan",path:"/",component:gR,redirect:"/plan",meta:{isHidden:!1},children:[{name:"Plan",path:"plan",component:()=>_t(()=>Promise.resolve().then(()=>UBe),void 0),meta:{title:"购买订阅",icon:"mdi-shopping-outline",order:10,group:{key:"subscribe",label:"订阅"}}},{name:"PlanDetail",path:"plan/:plan_id",component:()=>_t(()=>Promise.resolve().then(()=>g9e),void 0),meta:{title:"配置订阅",icon:"mdi:doc",order:1,isHidden:!0}}]},bR=Object.freeze(Object.defineProperty({__proto__:null,default:vR},Symbol.toStringTag,{value:"Module"})),yR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),xR={name:"profile",path:"/",component:yR,redirect:"/profile",meta:{isHidden:!1},children:[{name:"Profile",path:"profile",component:()=>_t(()=>Promise.resolve().then(()=>N9e),void 0),meta:{title:"个人中心",icon:"mdi-account-outline",order:0,group:{key:"user",label:"用户"}}}]},CR=Object.freeze(Object.defineProperty({__proto__:null,default:xR},Symbol.toStringTag,{value:"Module"})),wR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),_R={name:"ticket",path:"/",component:wR,redirect:"/ticket",meta:{isHidden:!1},children:[{name:"Ticket",path:"ticket",component:()=>_t(()=>Promise.resolve().then(()=>U9e),void 0),meta:{title:"我的工单",icon:"mdi-comment-alert-outline",order:0,group:{key:"user",label:"用户"}}},{name:"TicketDetail",path:"ticket/:ticket_id",component:()=>_t(()=>Promise.resolve().then(()=>G9e),void 0),meta:{title:"工单详情",order:0,isHidden:!0}}]},SR=Object.freeze(Object.defineProperty({__proto__:null,default:_R},Symbol.toStringTag,{value:"Module"})),kR=()=>_t(()=>Promise.resolve().then(()=>br),void 0),PR={name:"traffic",path:"/",component:kR,redirect:"/traffic",meta:{isHidden:!1},children:[{name:"Traffic",path:"traffic",component:()=>_t(()=>Promise.resolve().then(()=>Y9e),void 0),meta:{title:"流量明细",icon:"mdi-poll",order:0,group:{key:"user",label:"用户"}}}]},TR=Object.freeze(Object.defineProperty({__proto__:null,default:PR},Symbol.toStringTag,{value:"Module"})),jx=[{name:"Home",path:"/",redirect:"/dashboard",meta:{title:"首页",isHidden:!0}},{name:"404",path:"/404",component:()=>_t(()=>Promise.resolve().then(()=>t7e),void 0),meta:{title:"404",isHidden:!0}},{name:"LOGIN",path:"/login",component:()=>_t(()=>Promise.resolve().then(()=>Ef),void 0),meta:{title:"登录页",isHidden:!0}},{name:"Register",path:"/register",component:()=>_t(()=>Promise.resolve().then(()=>Ef),void 0),meta:{title:"注册",isHidden:!0}},{name:"forgetpassword",path:"/forgetpassword",component:()=>_t(()=>Promise.resolve().then(()=>Ef),void 0),meta:{title:"重置密码",isHidden:!0}}],AR={name:"NotFound",path:"/:pathMatch(.*)*",redirect:"/404",meta:{title:"Not Found"}},sv=Object.assign({"/src/views/dashboard/route.ts":oR,"/src/views/invite/route.ts":aR,"/src/views/knowledge/route.ts":cR,"/src/views/node/route.ts":fR,"/src/views/order/route.ts":mR,"/src/views/plan/route.ts":bR,"/src/views/profile/route.ts":CR,"/src/views/ticket/route.ts":SR,"/src/views/traffic/route.ts":TR}),Ux=[];Object.keys(sv).forEach(e=>{Ux.push(sv[e].default)});function RR(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 dy;const lv=((dy=window.settings)==null?void 0:dy.title)||"Xboard";function ER(e){e.afterEach(t=>{var o;const n=(o=t.meta)==null?void 0:o.title;n?document.title=`${n} | ${lv}`:document.title=lv})}var $R=!1;/*!
|
||
* pinia v2.2.2
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/let Vx;const du=e=>Vx=e,Wx=Symbol();function qf(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ts;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ts||(Ts={}));function IR(){const e=tp(!0),t=e.run(()=>j({}));let n=[],o=[];const r=Fs({install(i){du(r),r._a=i,i.provide(Wx,r),i.config.globalProperties.$pinia=r,o.forEach(a=>n.push(a)),o=[]},use(i){return!this._a&&!$R?o.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const qx=()=>{};function cv(e,t,n,o=qx){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),o())};return!n&&np()&&wy(r),r}function ta(e,...t){e.slice().forEach(n=>{n(...t)})}const OR=e=>e(),uv=Symbol(),Od=Symbol();function Kf(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];qf(r)&&qf(o)&&e.hasOwnProperty(n)&&!cn(o)&&!Si(o)?e[n]=Kf(r,o):e[n]=o}return e}const MR=Symbol();function zR(e){return!qf(e)||!e.hasOwnProperty(MR)}const{assign:Rr}=Object;function LR(e){return!!(cn(e)&&e.effect)}function FR(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=rP(n.state.value[e]);return Rr(u,i,Object.keys(a||{}).reduce((d,f)=>(d[f]=Fs(O(()=>{du(n);const h=n._s.get(e);return a[f].call(h,h)})),d),{}))}return l=Kx(e,c,t,n,o,!0),l}function Kx(e,t,n={},o,r,i){let a;const s=Rr({actions:{}},n),l={deep:!0};let c,u,d=[],f=[],h;const p=o.state.value[e];!i&&!p&&(o.state.value[e]={}),j({});let g;function m(k){let P;c=u=!1,typeof k=="function"?(k(o.state.value[e]),P={type:Ts.patchFunction,storeId:e,events:h}):(Kf(o.state.value[e],k),P={type:Ts.patchObject,payload:k,storeId:e,events:h});const T=g=Symbol();Ht().then(()=>{g===T&&(c=!0)}),u=!0,ta(d,P,o.state.value[e])}const b=i?function(){const{state:P}=n,T=P?P():{};this.$patch(E=>{Rr(E,T)})}:qx;function w(){a.stop(),d=[],f=[],o._s.delete(e)}const C=(k,P="")=>{if(uv in k)return k[Od]=P,k;const T=function(){du(o);const E=Array.from(arguments),R=[],q=[];function L(K){R.push(K)}function D(K){q.push(K)}ta(f,{args:E,name:T[Od],store:S,after:L,onError:D});let F;try{F=k.apply(this&&this.$id===e?this:S,E)}catch(K){throw ta(q,K),K}return F instanceof Promise?F.then(K=>(ta(R,K),K)).catch(K=>(ta(q,K),Promise.reject(K))):(ta(R,F),F)};return T[uv]=!0,T[Od]=P,T},_={_p:o,$id:e,$onAction:cv.bind(null,f),$patch:m,$reset:b,$subscribe(k,P={}){const T=cv(d,k,P.detached,()=>E()),E=a.run(()=>ut(()=>o.state.value[e],R=>{(P.flush==="sync"?u:c)&&k({storeId:e,type:Ts.direct,events:h},R)},Rr({},l,P)));return T},$dispose:w},S=to(_);o._s.set(e,S);const x=(o._a&&o._a.runWithContext||OR)(()=>o._e.run(()=>(a=tp()).run(()=>t({action:C}))));for(const k in x){const P=x[k];if(cn(P)&&!LR(P)||Si(P))i||(p&&zR(P)&&(cn(P)?P.value=p[k]:Kf(P,p[k])),o.state.value[e][k]=P);else if(typeof P=="function"){const T=C(P,k);x[k]=T,s.actions[k]=P}}return Rr(S,x),Rr(It(S),x),Object.defineProperty(S,"$state",{get:()=>o.state.value[e],set:k=>{m(P=>{Rr(P,k)})}}),o._p.forEach(k=>{Rr(S,a.run(()=>k({store:S,app:o._a,pinia:o,options:s})))}),p&&i&&n.hydrate&&n.hydrate(S.$state,p),c=!0,u=!0,S}function fu(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=TP();return s=s||(c?Ve(Wx,null):null),s&&du(s),s=Vx,s._s.has(o)||(i?Kx(o,t,r,s):FR(o,r,s)),s._s.get(o)}return a.$id=o,a}function Gx(e,t){return function(){return e.apply(t,arguments)}}const{toString:DR}=Object.prototype,{getPrototypeOf:Sp}=Object,hu=(e=>t=>{const n=DR.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),$o=e=>(e=e.toLowerCase(),t=>hu(t)===e),pu=e=>t=>typeof t===e,{isArray:Ba}=Array,qs=pu("undefined");function BR(e){return e!==null&&!qs(e)&&e.constructor!==null&&!qs(e.constructor)&&Jn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xx=$o("ArrayBuffer");function NR(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xx(e.buffer),t}const HR=pu("string"),Jn=pu("function"),Yx=pu("number"),mu=e=>e!==null&&typeof e=="object",jR=e=>e===!0||e===!1,lc=e=>{if(hu(e)!=="object")return!1;const t=Sp(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},UR=$o("Date"),VR=$o("File"),WR=$o("Blob"),qR=$o("FileList"),KR=e=>mu(e)&&Jn(e.pipe),GR=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Jn(e.append)&&((t=hu(e))==="formdata"||t==="object"&&Jn(e.toString)&&e.toString()==="[object FormData]"))},XR=$o("URLSearchParams"),[YR,QR,JR,ZR]=["ReadableStream","Request","Response","Headers"].map($o),eE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function sl(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let o,r;if(typeof e!="object"&&(e=[e]),Ba(e))for(o=0,r=e.length;o<r;o++)t.call(null,e[o],o,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let s;for(o=0;o<a;o++)s=i[o],t.call(null,e[s],s,e)}}function Qx(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length,r;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const vi=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Jx=e=>!qs(e)&&e!==vi;function Gf(){const{caseless:e}=Jx(this)&&this||{},t={},n=(o,r)=>{const i=e&&Qx(t,r)||r;lc(t[i])&&lc(o)?t[i]=Gf(t[i],o):lc(o)?t[i]=Gf({},o):Ba(o)?t[i]=o.slice():t[i]=o};for(let o=0,r=arguments.length;o<r;o++)arguments[o]&&sl(arguments[o],n);return t}const tE=(e,t,n,{allOwnKeys:o}={})=>(sl(t,(r,i)=>{n&&Jn(r)?e[i]=Gx(r,n):e[i]=r},{allOwnKeys:o}),e),nE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),oE=(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)},rE=(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&&Sp(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},iE=(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},aE=e=>{if(!e)return null;if(Ba(e))return e;let t=e.length;if(!Yx(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},sE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Sp(Uint8Array)),lE=(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])}},cE=(e,t)=>{let n;const o=[];for(;(n=e.exec(t))!==null;)o.push(n);return o},uE=$o("HTMLFormElement"),dE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,o,r){return o.toUpperCase()+r}),dv=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),fE=$o("RegExp"),Zx=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),o={};sl(n,(r,i)=>{let a;(a=t(r,i,e))!==!1&&(o[i]=a||r)}),Object.defineProperties(e,o)},hE=e=>{Zx(e,(t,n)=>{if(Jn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const o=e[n];if(Jn(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+"'")})}})},pE=(e,t)=>{const n={},o=r=>{r.forEach(i=>{n[i]=!0})};return Ba(e)?o(e):o(String(e).split(t)),n},mE=()=>{},gE=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Md="abcdefghijklmnopqrstuvwxyz",fv="0123456789",eC={DIGIT:fv,ALPHA:Md,ALPHA_DIGIT:Md+Md.toUpperCase()+fv},vE=(e=16,t=eC.ALPHA_DIGIT)=>{let n="";const{length:o}=t;for(;e--;)n+=t[Math.random()*o|0];return n};function bE(e){return!!(e&&Jn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yE=e=>{const t=new Array(10),n=(o,r)=>{if(mu(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[r]=o;const i=Ba(o)?[]:{};return sl(o,(a,s)=>{const l=n(a,r+1);!qs(l)&&(i[s]=l)}),t[r]=void 0,i}}return o};return n(e,0)},xE=$o("AsyncFunction"),CE=e=>e&&(mu(e)||Jn(e))&&Jn(e.then)&&Jn(e.catch),tC=((e,t)=>e?setImmediate:t?((n,o)=>(vi.addEventListener("message",({source:r,data:i})=>{r===vi&&i===n&&o.length&&o.shift()()},!1),r=>{o.push(r),vi.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Jn(vi.postMessage)),wE=typeof queueMicrotask<"u"?queueMicrotask.bind(vi):typeof process<"u"&&process.nextTick||tC,Ae={isArray:Ba,isArrayBuffer:Xx,isBuffer:BR,isFormData:GR,isArrayBufferView:NR,isString:HR,isNumber:Yx,isBoolean:jR,isObject:mu,isPlainObject:lc,isReadableStream:YR,isRequest:QR,isResponse:JR,isHeaders:ZR,isUndefined:qs,isDate:UR,isFile:VR,isBlob:WR,isRegExp:fE,isFunction:Jn,isStream:KR,isURLSearchParams:XR,isTypedArray:sE,isFileList:qR,forEach:sl,merge:Gf,extend:tE,trim:eE,stripBOM:nE,inherits:oE,toFlatObject:rE,kindOf:hu,kindOfTest:$o,endsWith:iE,toArray:aE,forEachEntry:lE,matchAll:cE,isHTMLForm:uE,hasOwnProperty:dv,hasOwnProp:dv,reduceDescriptors:Zx,freezeMethods:hE,toObjectSet:pE,toCamelCase:dE,noop:mE,toFiniteNumber:gE,findKey:Qx,global:vi,isContextDefined:Jx,ALPHABET:eC,generateString:vE,isSpecCompliantForm:bE,toJSONObject:yE,isAsyncFn:xE,isThenable:CE,setImmediate:tC,asap:wE};function yt(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,this.status=r.status?r.status:null)}Ae.inherits(yt,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.status}}});const nC=yt.prototype,oC={};["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=>{oC[e]={value:e}});Object.defineProperties(yt,oC);Object.defineProperty(nC,"isAxiosError",{value:!0});yt.from=(e,t,n,o,r,i)=>{const a=Object.create(nC);return Ae.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),yt.call(a,e.message,t,n,o,r),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};const _E=null;function Xf(e){return Ae.isPlainObject(e)||Ae.isArray(e)}function rC(e){return Ae.endsWith(e,"[]")?e.slice(0,-2):e}function hv(e,t,n){return e?e.concat(t).map(function(r,i){return r=rC(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function SE(e){return Ae.isArray(e)&&!e.some(Xf)}const kE=Ae.toFlatObject(Ae,{},null,function(t){return/^is[A-Z]/.test(t)});function gu(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,m){return!Ae.isUndefined(m[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(p){if(p===null)return"";if(Ae.isDate(p))return p.toISOString();if(!l&&Ae.isBlob(p))throw new yt("Blob is not supported. Use a Buffer instead.");return Ae.isArrayBuffer(p)||Ae.isTypedArray(p)?l&&typeof Blob=="function"?new Blob([p]):Buffer.from(p):p}function u(p,g,m){let b=p;if(p&&!m&&typeof p=="object"){if(Ae.endsWith(g,"{}"))g=o?g:g.slice(0,-2),p=JSON.stringify(p);else if(Ae.isArray(p)&&SE(p)||(Ae.isFileList(p)||Ae.endsWith(g,"[]"))&&(b=Ae.toArray(p)))return g=rC(g),b.forEach(function(C,_){!(Ae.isUndefined(C)||C===null)&&t.append(a===!0?hv([g],_,i):a===null?g:g+"[]",c(C))}),!1}return Xf(p)?!0:(t.append(hv(m,g,i),c(p)),!1)}const d=[],f=Object.assign(kE,{defaultVisitor:u,convertValue:c,isVisitable:Xf});function h(p,g){if(!Ae.isUndefined(p)){if(d.indexOf(p)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(p),Ae.forEach(p,function(b,w){(!(Ae.isUndefined(b)||b===null)&&r.call(t,b,Ae.isString(w)?w.trim():w,g,f))===!0&&h(b,g?g.concat(w):[w])}),d.pop()}}if(!Ae.isObject(e))throw new TypeError("data must be an object");return h(e),t}function pv(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function kp(e,t){this._pairs=[],e&&gu(e,this,t)}const iC=kp.prototype;iC.append=function(t,n){this._pairs.push([t,n])};iC.toString=function(t){const n=t?function(o){return t.call(this,o,pv)}:pv;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function PE(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function aC(e,t,n){if(!t)return e;const o=n&&n.encode||PE,r=n&&n.serialize;let i;if(r?i=r(t,n):i=Ae.isURLSearchParams(t)?t.toString():new kp(t,n).toString(o),i){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class TE{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 mv=TE,sC={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},AE=typeof URLSearchParams<"u"?URLSearchParams:kp,RE=typeof FormData<"u"?FormData:null,EE=typeof Blob<"u"?Blob:null,$E={isBrowser:!0,classes:{URLSearchParams:AE,FormData:RE,Blob:EE},protocols:["http","https","file","blob","url","data"]},Pp=typeof window<"u"&&typeof document<"u",Yf=typeof navigator=="object"&&navigator||void 0,IE=Pp&&(!Yf||["ReactNative","NativeScript","NS"].indexOf(Yf.product)<0),OE=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),ME=Pp&&window.location.href||"http://localhost",zE=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Pp,hasStandardBrowserEnv:IE,hasStandardBrowserWebWorkerEnv:OE,navigator:Yf,origin:ME},Symbol.toStringTag,{value:"Module"})),Zn={...zE,...$E};function LE(e,t){return gu(e,new Zn.classes.URLSearchParams,Object.assign({visitor:function(n,o,r,i){return Zn.isNode&&Ae.isBuffer(n)?(this.append(o,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function FE(e){return Ae.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function DE(e){const t={},n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++)i=n[o],t[i]=e[i];return t}function lC(e){function t(n,o,r,i){let a=n[i++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),l=i>=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]=DE(r[a])),!s)}if(Ae.isFormData(e)&&Ae.isFunction(e.entries)){const n={};return Ae.forEachEntry(e,(o,r)=>{t(FE(o),r,n,0)}),n}return null}function BE(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 Tp={transitional:sC,adapter:["xhr","http","fetch"],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?JSON.stringify(lC(t)):t;if(Ae.isArrayBuffer(t)||Ae.isBuffer(t)||Ae.isStream(t)||Ae.isFile(t)||Ae.isBlob(t)||Ae.isReadableStream(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 LE(t,this.formSerializer).toString();if((s=Ae.isFileList(t))||o.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return gu(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),BE(t)):t}],transformResponse:[function(t){const n=this.transitional||Tp.transitional,o=n&&n.forcedJSONParsing,r=this.responseType==="json";if(Ae.isResponse(t)||Ae.isReadableStream(t))return t;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"?yt.from(s,yt.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:Zn.classes.FormData,Blob:Zn.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=>{Tp.headers[e]={}});const Ap=Tp,NE=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"]),HE=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]&&NE[n])&&(n==="set-cookie"?t[n]?t[n].push(o):t[n]=[o]:t[n]=t[n]?t[n]+", "+o:o)}),t},gv=Symbol("internals");function ss(e){return e&&String(e).trim().toLowerCase()}function cc(e){return e===!1||e==null?e:Ae.isArray(e)?e.map(cc):String(e)}function jE(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 UE=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function zd(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 VE(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,o)=>n.toUpperCase()+o)}function WE(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 vu{constructor(t){t&&this.set(t)}set(t,n,o){const r=this;function i(s,l,c){const u=ss(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]=cc(s))}const a=(s,l)=>Ae.forEach(s,(c,u)=>i(c,u,l));if(Ae.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(Ae.isString(t)&&(t=t.trim())&&!UE(t))a(HE(t),n);else if(Ae.isHeaders(t))for(const[s,l]of t.entries())i(l,s,o);else t!=null&&i(n,t,o);return this}get(t,n){if(t=ss(t),t){const o=Ae.findKey(this,t);if(o){const r=this[o];if(!n)return r;if(n===!0)return jE(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=ss(t),t){const o=Ae.findKey(this,t);return!!(o&&this[o]!==void 0&&(!n||zd(this,this[o],o,n)))}return!1}delete(t,n){const o=this;let r=!1;function i(a){if(a=ss(a),a){const s=Ae.findKey(o,a);s&&(!n||zd(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||zd(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]=cc(r),delete n[i];return}const s=t?VE(i):String(i).trim();s!==i&&delete n[i],n[s]=cc(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[gv]=this[gv]={accessors:{}}).accessors,r=this.prototype;function i(a){const s=ss(a);o[s]||(WE(r,a),o[s]=!0)}return Ae.isArray(t)?t.forEach(i):i(t),this}}vu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Ae.reduceDescriptors(vu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[n]=o}}});Ae.freezeMethods(vu);const To=vu;function Ld(e,t){const n=this||Ap,o=t||n,r=To.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 cC(e){return!!(e&&e.__CANCEL__)}function Na(e,t,n){yt.call(this,e??"canceled",yt.ERR_CANCELED,t,n),this.name="CanceledError"}Ae.inherits(Na,yt,{__CANCEL__:!0});function uC(e,t,n){const o=n.config.validateStatus;!n.status||!o||o(n.status)?e(n):t(new yt("Request failed with status code "+n.status,[yt.ERR_BAD_REQUEST,yt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function qE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function KE(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<t)return;const h=u&&c-u;return h?Math.round(f*1e3/h):void 0}}function GE(e,t){let n=0,o=1e3/t,r,i;const a=(c,u=Date.now())=>{n=u,r=null,i&&(clearTimeout(i),i=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),d=u-n;d>=o?a(c,u):(r=c,i||(i=setTimeout(()=>{i=null,a(r)},o-d)))},()=>r&&a(r)]}const Sc=(e,t,n=3)=>{let o=0;const r=KE(50,250);return GE(i=>{const a=i.loaded,s=i.lengthComputable?i.total:void 0,l=a-o,c=r(l),u=a<=s;o=a;const d={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:i,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},n)},vv=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]},bv=e=>(...t)=>Ae.asap(()=>e(...t)),XE=Zn.hasStandardBrowserEnv?function(){const t=Zn.navigator&&/(msie|trident)/i.test(Zn.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}}(),YE=Zn.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 QE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function JE(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function dC(e,t){return e&&!QE(t)?JE(e,t):t}const yv=e=>e instanceof To?{...e}:e;function $i(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(yv(c),yv(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 fC=e=>{const t=$i({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:a,auth:s}=t;t.headers=a=To.from(a),t.url=aC(dC(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(Ae.isFormData(n)){if(Zn.hasStandardBrowserEnv||Zn.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Zn.hasStandardBrowserEnv&&(o&&Ae.isFunction(o)&&(o=o(t)),o||o!==!1&&XE(t.url))){const c=r&&i&&YE.read(i);c&&a.set(r,c)}return t},ZE=typeof XMLHttpRequest<"u",e4=ZE&&function(e){return new Promise(function(n,o){const r=fC(e);let i=r.data;const a=To.from(r.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=r,u,d,f,h,p;function g(){h&&h(),p&&p(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let m=new XMLHttpRequest;m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout;function b(){if(!m)return;const C=To.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders()),S={data:!s||s==="text"||s==="json"?m.responseText:m.response,status:m.status,statusText:m.statusText,headers:C,config:e,request:m};uC(function(x){n(x),g()},function(x){o(x),g()},S),m=null}"onloadend"in m?m.onloadend=b:m.onreadystatechange=function(){!m||m.readyState!==4||m.status===0&&!(m.responseURL&&m.responseURL.indexOf("file:")===0)||setTimeout(b)},m.onabort=function(){m&&(o(new yt("Request aborted",yt.ECONNABORTED,e,m)),m=null)},m.onerror=function(){o(new yt("Network Error",yt.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let _=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const S=r.transitional||sC;r.timeoutErrorMessage&&(_=r.timeoutErrorMessage),o(new yt(_,S.clarifyTimeoutError?yt.ETIMEDOUT:yt.ECONNABORTED,e,m)),m=null},i===void 0&&a.setContentType(null),"setRequestHeader"in m&&Ae.forEach(a.toJSON(),function(_,S){m.setRequestHeader(S,_)}),Ae.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),s&&s!=="json"&&(m.responseType=r.responseType),c&&([f,p]=Sc(c,!0),m.addEventListener("progress",f)),l&&m.upload&&([d,h]=Sc(l),m.upload.addEventListener("progress",d),m.upload.addEventListener("loadend",h)),(r.cancelToken||r.signal)&&(u=C=>{m&&(o(!C||C.type?new Na(null,e,m):C),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const w=qE(r.url);if(w&&Zn.protocols.indexOf(w)===-1){o(new yt("Unsupported protocol "+w+":",yt.ERR_BAD_REQUEST,e));return}m.send(i||null)})},t4=(e,t)=>{let n=new AbortController,o;const r=function(l){if(!o){o=!0,a();const c=l instanceof Error?l:this.reason;n.abort(c instanceof yt?c:new Na(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{r(new yt(`timeout ${t} of ms exceeded`,yt.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",r):l.unsubscribe(r))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=a,[s,()=>{i&&clearTimeout(i),i=null}]},n4=t4,o4=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let o=0,r;for(;o<n;)r=o+t,yield e.slice(o,r),o=r},r4=async function*(e,t,n){for await(const o of e)yield*o4(ArrayBuffer.isView(o)?o:await n(String(o)),t)},xv=(e,t,n,o,r)=>{const i=r4(e,t,r);let a=0,s,l=c=>{s||(s=!0,o&&o(c))};return new ReadableStream({async pull(c){try{const{done:u,value:d}=await i.next();if(u){l(),c.close();return}let f=d.byteLength;if(n){let h=a+=f;n(h)}c.enqueue(new Uint8Array(d))}catch(u){throw l(u),u}},cancel(c){return l(c),i.return()}},{highWaterMark:2})},bu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",hC=bu&&typeof ReadableStream=="function",Qf=bu&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),pC=(e,...t)=>{try{return!!e(...t)}catch{return!1}},i4=hC&&pC(()=>{let e=!1;const t=new Request(Zn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Cv=64*1024,Jf=hC&&pC(()=>Ae.isReadableStream(new Response("").body)),kc={stream:Jf&&(e=>e.body)};bu&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!kc[t]&&(kc[t]=Ae.isFunction(e[t])?n=>n[t]():(n,o)=>{throw new yt(`Response type '${t}' is not supported`,yt.ERR_NOT_SUPPORT,o)})})})(new Response);const a4=async e=>{if(e==null)return 0;if(Ae.isBlob(e))return e.size;if(Ae.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(Ae.isArrayBufferView(e)||Ae.isArrayBuffer(e))return e.byteLength;if(Ae.isURLSearchParams(e)&&(e=e+""),Ae.isString(e))return(await Qf(e)).byteLength},s4=async(e,t)=>{const n=Ae.toFiniteNumber(e.getContentLength());return n??a4(t)},l4=bu&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:d="same-origin",fetchOptions:f}=fC(e);c=c?(c+"").toLowerCase():"text";let[h,p]=r||i||a?n4([r,i],a):[],g,m;const b=()=>{!g&&setTimeout(()=>{h&&h.unsubscribe()}),g=!0};let w;try{if(l&&i4&&n!=="get"&&n!=="head"&&(w=await s4(u,o))!==0){let x=new Request(t,{method:"POST",body:o,duplex:"half"}),k;if(Ae.isFormData(o)&&(k=x.headers.get("content-type"))&&u.setContentType(k),x.body){const[P,T]=vv(w,Sc(bv(l)));o=xv(x.body,Cv,P,T,Qf)}}Ae.isString(d)||(d=d?"include":"omit");const C="credentials"in Request.prototype;m=new Request(t,{...f,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:C?d:void 0});let _=await fetch(m);const S=Jf&&(c==="stream"||c==="response");if(Jf&&(s||S)){const x={};["status","statusText","headers"].forEach(E=>{x[E]=_[E]});const k=Ae.toFiniteNumber(_.headers.get("content-length")),[P,T]=s&&vv(k,Sc(bv(s),!0))||[];_=new Response(xv(_.body,Cv,P,()=>{T&&T(),S&&b()},Qf),x)}c=c||"text";let y=await kc[Ae.findKey(kc,c)||"text"](_,e);return!S&&b(),p&&p(),await new Promise((x,k)=>{uC(x,k,{data:y,headers:To.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:m})})}catch(C){throw b(),C&&C.name==="TypeError"&&/fetch/i.test(C.message)?Object.assign(new yt("Network Error",yt.ERR_NETWORK,e,m),{cause:C.cause||C}):yt.from(C,C&&C.code,e,m)}}),Zf={http:_E,xhr:e4,fetch:l4};Ae.forEach(Zf,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const wv=e=>`- ${e}`,c4=e=>Ae.isFunction(e)||e===null||e===!1,mC={getAdapter:e=>{e=Ae.isArray(e)?e:[e];const{length:t}=e;let n,o;const r={};for(let i=0;i<t;i++){n=e[i];let a;if(o=n,!c4(n)&&(o=Zf[(a=String(n)).toLowerCase()],o===void 0))throw new yt(`Unknown adapter '${a}'`);if(o)break;r[a||"#"+i]=o}if(!o){const i=Object.entries(r).map(([s,l])=>`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(wv).join(`
|
||
`):" "+wv(i[0]):"as no adapter specified";throw new yt("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return o},adapters:Zf};function Fd(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Na(null,e)}function _v(e){return Fd(e),e.headers=To.from(e.headers),e.data=Ld.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),mC.getAdapter(e.adapter||Ap.adapter)(e).then(function(o){return Fd(e),o.data=Ld.call(e,e.transformResponse,o),o.headers=To.from(o.headers),o},function(o){return cC(o)||(Fd(e),o&&o.response&&(o.response.data=Ld.call(e,e.transformResponse,o.response),o.response.headers=To.from(o.response.headers))),Promise.reject(o)})}const gC="1.7.5",Rp={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Rp[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const Sv={};Rp.transitional=function(t,n,o){function r(i,a){return"[Axios v"+gC+"] Transitional option '"+i+"'"+a+(o?". "+o:"")}return(i,a,s)=>{if(t===!1)throw new yt(r(a," has been removed"+(n?" in "+n:"")),yt.ERR_DEPRECATED);return n&&!Sv[a]&&(Sv[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 u4(e,t,n){if(typeof e!="object")throw new yt("options must be an object",yt.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 yt("option "+i+" must be "+l,yt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new yt("Unknown option "+i,yt.ERR_BAD_OPTION)}}const eh={assertOptions:u4,validators:Rp},Sr=eh.validators;class Pc{constructor(t){this.defaults=t,this.interceptors={request:new mv,response:new mv}}async request(t,n){try{return await this._request(t,n)}catch(o){if(o instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{o.stack?i&&!String(o.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(o.stack+=`
|
||
`+i):o.stack=i}catch{}}throw o}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=$i(this.defaults,n);const{transitional:o,paramsSerializer:r,headers:i}=n;o!==void 0&&eh.assertOptions(o,{silentJSONParsing:Sr.transitional(Sr.boolean),forcedJSONParsing:Sr.transitional(Sr.boolean),clarifyTimeoutError:Sr.transitional(Sr.boolean)},!1),r!=null&&(Ae.isFunction(r)?n.paramsSerializer={serialize:r}:eh.assertOptions(r,{encode:Sr.function,serialize:Sr.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"],p=>{delete i[p]}),n.headers=To.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 p=[_v.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,c),f=p.length,u=Promise.resolve(n);d<f;)u=u.then(p[d++],p[d++]);return u}f=s.length;let h=n;for(d=0;d<f;){const p=s[d++],g=s[d++];try{h=p(h)}catch(m){g.call(this,m);break}}try{u=_v.call(this,h)}catch(p){return Promise.reject(p)}for(d=0,f=c.length;d<f;)u=u.then(c[d++],c[d++]);return u}getUri(t){t=$i(this.defaults,t);const n=dC(t.baseURL,t.url);return aC(n,t.params,t.paramsSerializer)}}Ae.forEach(["delete","get","head","options"],function(t){Pc.prototype[t]=function(n,o){return this.request($i(o||{},{method:t,url:n,data:(o||{}).data}))}});Ae.forEach(["post","put","patch"],function(t){function n(o){return function(i,a,s){return this.request($i(s||{},{method:t,headers:o?{"Content-Type":"multipart/form-data"}:{},url:i,data:a}))}}Pc.prototype[t]=n(),Pc.prototype[t+"Form"]=n(!0)});const uc=Pc;class Ep{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const o=this;this.promise.then(r=>{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 Na(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 Ep(function(r){t=r}),cancel:t}}}const d4=Ep;function f4(e){return function(n){return e.apply(null,n)}}function h4(e){return Ae.isObject(e)&&e.isAxiosError===!0}const th={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(th).forEach(([e,t])=>{th[t]=e});const p4=th;function vC(e){const t=new uc(e),n=Gx(uc.prototype.request,t);return Ae.extend(n,uc.prototype,t,{allOwnKeys:!0}),Ae.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return vC($i(e,r))},n}const gn=vC(Ap);gn.Axios=uc;gn.CanceledError=Na;gn.CancelToken=d4;gn.isCancel=cC;gn.VERSION=gC;gn.toFormData=gu;gn.AxiosError=yt;gn.Cancel=gn.CanceledError;gn.all=function(t){return Promise.all(t)};gn.spread=f4;gn.isAxiosError=h4;gn.mergeConfig=$i;gn.AxiosHeaders=To;gn.formToJSON=e=>lC(Ae.isHTMLForm(e)?new FormData(e):e);gn.getAdapter=mC.getAdapter;gn.HttpStatusCode=p4;gn.default=gn;const m4=gn,g4=[{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"},{url:"/passport/auth/telegramLogin",method:"POST"}];function v4({url:e,method:t=""}){return g4.some(n=>n.url===e.split("?")[0]&&n.method===t.toUpperCase())}function b4(e){return typeof e>"u"}function y4(e){return e===null}function x4(e){return y4(e)||b4(e)}function C4(e){try{if(typeof JSON.parse(e)=="object")return!0}catch{return!1}}class w4{constructor(t){bd(this,"storage");bd(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 x4(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 bC({prefixKey:e="",storage:t=sessionStorage}){return new w4({prefixKey:e,storage:t})}const yC="Vue_Naive_",_4=function(e={}){return bC({prefixKey:e.prefixKey||"",storage:localStorage})},S4=function(e={}){return bC({prefixKey:e.prefixKey||"",storage:sessionStorage})},ll=_4({prefixKey:yC}),Tc=S4({prefixKey:yC}),xC="access_token";function CC(){return ll.get(xC)}function wC(){ll.remove(xC)}function $p(){const e=Te(Gt.currentRoute),t=!e.meta.requireAuth&&!["/404","/login"].includes(Gt.currentRoute.value.path);Gt.replace({path:"/login",query:t?{...e.query,redirect:e.path}:{}})}var Hr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ip(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function k4(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 _C={exports:{}};(function(e,t){(function(n,o){e.exports=o()})(Hr,function(){var n=1e3,o=6e4,r=36e5,i="millisecond",a="second",s="minute",l="hour",c="day",u="week",d="month",f="quarter",h="year",p="date",g="Invalid Date",m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|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,w={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(L){var D=["th","st","nd","rd"],F=L%100;return"["+L+(D[(F-20)%10]||D[F]||D[0])+"]"}},C=function(L,D,F){var K=String(L);return!K||K.length>=D?L:""+Array(D+1-K.length).join(F)+L},_={s:C,z:function(L){var D=-L.utcOffset(),F=Math.abs(D),K=Math.floor(F/60),V=F%60;return(D<=0?"+":"-")+C(K,2,"0")+":"+C(V,2,"0")},m:function L(D,F){if(D.date()<F.date())return-L(F,D);var K=12*(F.year()-D.year())+(F.month()-D.month()),V=D.clone().add(K,d),le=F-V<0,me=D.clone().add(K+(le?-1:1),d);return+(-(K+(F-V)/(le?V-me:me-V))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:d,y:h,w:u,d:c,D:p,h:l,m:s,s:a,ms:i,Q:f}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},S="en",y={};y[S]=w;var x="$isDayjsObject",k=function(L){return L instanceof R||!(!L||!L[x])},P=function L(D,F,K){var V;if(!D)return S;if(typeof D=="string"){var le=D.toLowerCase();y[le]&&(V=le),F&&(y[le]=F,V=le);var me=D.split("-");if(!V&&me.length>1)return L(me[0])}else{var ee=D.name;y[ee]=D,V=ee}return!K&&V&&(S=V),V||!K&&S},T=function(L,D){if(k(L))return L.clone();var F=typeof D=="object"?D:{};return F.date=L,F.args=arguments,new R(F)},E=_;E.l=P,E.i=k,E.w=function(L,D){return T(L,{locale:D.$L,utc:D.$u,x:D.$x,$offset:D.$offset})};var R=function(){function L(F){this.$L=P(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[x]=!0}var D=L.prototype;return D.parse=function(F){this.$d=function(K){var V=K.date,le=K.utc;if(V===null)return new Date(NaN);if(E.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var me=V.match(m);if(me){var ee=me[2]-1||0,N=(me[7]||"0").substring(0,3);return le?new Date(Date.UTC(me[1],ee,me[3]||1,me[4]||0,me[5]||0,me[6]||0,N)):new Date(me[1],ee,me[3]||1,me[4]||0,me[5]||0,me[6]||0,N)}}return new Date(V)}(F),this.init()},D.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},D.$utils=function(){return E},D.isValid=function(){return this.$d.toString()!==g},D.isSame=function(F,K){var V=T(F);return this.startOf(K)<=V&&V<=this.endOf(K)},D.isAfter=function(F,K){return T(F)<this.startOf(K)},D.isBefore=function(F,K){return this.endOf(K)<T(F)},D.$g=function(F,K,V){return E.u(F)?this[K]:this.set(V,F)},D.unix=function(){return Math.floor(this.valueOf()/1e3)},D.valueOf=function(){return this.$d.getTime()},D.startOf=function(F,K){var V=this,le=!!E.u(K)||K,me=E.p(F),ee=function(B,xe){var se=E.w(V.$u?Date.UTC(V.$y,xe,B):new Date(V.$y,xe,B),V);return le?se:se.endOf(c)},N=function(B,xe){return E.w(V.toDate()[B].apply(V.toDate("s"),(le?[0,0,0,0]:[23,59,59,999]).slice(xe)),V)},M=this.$W,Z=this.$M,G=this.$D,re="set"+(this.$u?"UTC":"");switch(me){case h:return le?ee(1,0):ee(31,11);case d:return le?ee(1,Z):ee(0,Z+1);case u:var X=this.$locale().weekStart||0,ae=(M<X?M+7:M)-X;return ee(le?G-ae:G+(6-ae),Z);case c:case p:return N(re+"Hours",0);case l:return N(re+"Minutes",1);case s:return N(re+"Seconds",2);case a:return N(re+"Milliseconds",3);default:return this.clone()}},D.endOf=function(F){return this.startOf(F,!1)},D.$set=function(F,K){var V,le=E.p(F),me="set"+(this.$u?"UTC":""),ee=(V={},V[c]=me+"Date",V[p]=me+"Date",V[d]=me+"Month",V[h]=me+"FullYear",V[l]=me+"Hours",V[s]=me+"Minutes",V[a]=me+"Seconds",V[i]=me+"Milliseconds",V)[le],N=le===c?this.$D+(K-this.$W):K;if(le===d||le===h){var M=this.clone().set(p,1);M.$d[ee](N),M.init(),this.$d=M.set(p,Math.min(this.$D,M.daysInMonth())).$d}else ee&&this.$d[ee](N);return this.init(),this},D.set=function(F,K){return this.clone().$set(F,K)},D.get=function(F){return this[E.p(F)]()},D.add=function(F,K){var V,le=this;F=Number(F);var me=E.p(K),ee=function(Z){var G=T(le);return E.w(G.date(G.date()+Math.round(Z*F)),le)};if(me===d)return this.set(d,this.$M+F);if(me===h)return this.set(h,this.$y+F);if(me===c)return ee(1);if(me===u)return ee(7);var N=(V={},V[s]=o,V[l]=r,V[a]=n,V)[me]||1,M=this.$d.getTime()+F*N;return E.w(M,this)},D.subtract=function(F,K){return this.add(-1*F,K)},D.format=function(F){var K=this,V=this.$locale();if(!this.isValid())return V.invalidDate||g;var le=F||"YYYY-MM-DDTHH:mm:ssZ",me=E.z(this),ee=this.$H,N=this.$m,M=this.$M,Z=V.weekdays,G=V.months,re=V.meridiem,X=function(xe,se,ge,$){return xe&&(xe[se]||xe(K,le))||ge[se].slice(0,$)},ae=function(xe){return E.s(ee%12||12,xe,"0")},B=re||function(xe,se,ge){var $=xe<12?"AM":"PM";return ge?$.toLowerCase():$};return le.replace(b,function(xe,se){return se||function(ge){switch(ge){case"YY":return String(K.$y).slice(-2);case"YYYY":return E.s(K.$y,4,"0");case"M":return M+1;case"MM":return E.s(M+1,2,"0");case"MMM":return X(V.monthsShort,M,G,3);case"MMMM":return X(G,M);case"D":return K.$D;case"DD":return E.s(K.$D,2,"0");case"d":return String(K.$W);case"dd":return X(V.weekdaysMin,K.$W,Z,2);case"ddd":return X(V.weekdaysShort,K.$W,Z,3);case"dddd":return Z[K.$W];case"H":return String(ee);case"HH":return E.s(ee,2,"0");case"h":return ae(1);case"hh":return ae(2);case"a":return B(ee,N,!0);case"A":return B(ee,N,!1);case"m":return String(N);case"mm":return E.s(N,2,"0");case"s":return String(K.$s);case"ss":return E.s(K.$s,2,"0");case"SSS":return E.s(K.$ms,3,"0");case"Z":return me}return null}(xe)||me.replace(":","")})},D.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},D.diff=function(F,K,V){var le,me=this,ee=E.p(K),N=T(F),M=(N.utcOffset()-this.utcOffset())*o,Z=this-N,G=function(){return E.m(me,N)};switch(ee){case h:le=G()/12;break;case d:le=G();break;case f:le=G()/3;break;case u:le=(Z-M)/6048e5;break;case c:le=(Z-M)/864e5;break;case l:le=Z/r;break;case s:le=Z/o;break;case a:le=Z/n;break;default:le=Z}return V?le:E.a(le)},D.daysInMonth=function(){return this.endOf(d).$D},D.$locale=function(){return y[this.$L]},D.locale=function(F,K){if(!F)return this.$L;var V=this.clone(),le=P(F,K,!0);return le&&(V.$L=le),V},D.clone=function(){return E.w(this.$d,this)},D.toDate=function(){return new Date(this.valueOf())},D.toJSON=function(){return this.isValid()?this.toISOString():null},D.toISOString=function(){return this.$d.toISOString()},D.toString=function(){return this.$d.toUTCString()},L}(),q=R.prototype;return T.prototype=q,[["$ms",i],["$s",a],["$m",s],["$H",l],["$W",c],["$M",d],["$y",h],["$D",p]].forEach(function(L){q[L[1]]=function(D){return this.$g(D,L[0],L[1])}}),T.extend=function(L,D){return L.$i||(L(D,R,T),L.$i=!0),T},T.locale=P,T.isDayjs=k,T.unix=function(L){return T(1e3*L)},T.en=y[S],T.Ls=y,T.p={},T})})(_C);var P4=_C.exports;const T4=Ip(P4);var SC={exports:{}};/*!
|
||
* clipboard.js v2.0.11
|
||
* https://clipboardjs.com/
|
||
*
|
||
* Licensed MIT © Zeno Rocha
|
||
*/(function(e,t){(function(o,r){e.exports=r()})(Hr,function(){return function(){var n={686:function(i,a,s){s.d(a,{default:function(){return ee}});var l=s(279),c=s.n(l),u=s(370),d=s.n(u),f=s(817),h=s.n(f);function p(N){try{return document.execCommand(N)}catch{return!1}}var g=function(M){var Z=h()(M);return p("cut"),Z},m=g;function b(N){var M=document.documentElement.getAttribute("dir")==="rtl",Z=document.createElement("textarea");Z.style.fontSize="12pt",Z.style.border="0",Z.style.padding="0",Z.style.margin="0",Z.style.position="absolute",Z.style[M?"right":"left"]="-9999px";var G=window.pageYOffset||document.documentElement.scrollTop;return Z.style.top="".concat(G,"px"),Z.setAttribute("readonly",""),Z.value=N,Z}var w=function(M,Z){var G=b(M);Z.container.appendChild(G);var re=h()(G);return p("copy"),G.remove(),re},C=function(M){var Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body},G="";return typeof M=="string"?G=w(M,Z):M instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(M==null?void 0:M.type)?G=w(M.value,Z):(G=h()(M),p("copy")),G},_=C;function S(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?S=function(Z){return typeof Z}:S=function(Z){return Z&&typeof Symbol=="function"&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z},S(N)}var y=function(){var M=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Z=M.action,G=Z===void 0?"copy":Z,re=M.container,X=M.target,ae=M.text;if(G!=="copy"&&G!=="cut")throw new Error('Invalid "action" value, use either "copy" or "cut"');if(X!==void 0)if(X&&S(X)==="object"&&X.nodeType===1){if(G==="copy"&&X.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if(G==="cut"&&(X.hasAttribute("readonly")||X.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(ae)return _(ae,{container:re});if(X)return G==="cut"?m(X):_(X,{container:re})},x=y;function k(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?k=function(Z){return typeof Z}:k=function(Z){return Z&&typeof Symbol=="function"&&Z.constructor===Symbol&&Z!==Symbol.prototype?"symbol":typeof Z},k(N)}function P(N,M){if(!(N instanceof M))throw new TypeError("Cannot call a class as a function")}function T(N,M){for(var Z=0;Z<M.length;Z++){var G=M[Z];G.enumerable=G.enumerable||!1,G.configurable=!0,"value"in G&&(G.writable=!0),Object.defineProperty(N,G.key,G)}}function E(N,M,Z){return M&&T(N.prototype,M),Z&&T(N,Z),N}function R(N,M){if(typeof M!="function"&&M!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(M&&M.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),M&&q(N,M)}function q(N,M){return q=Object.setPrototypeOf||function(G,re){return G.__proto__=re,G},q(N,M)}function L(N){var M=K();return function(){var G=V(N),re;if(M){var X=V(this).constructor;re=Reflect.construct(G,arguments,X)}else re=G.apply(this,arguments);return D(this,re)}}function D(N,M){return M&&(k(M)==="object"||typeof M=="function")?M:F(N)}function F(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function K(){if(typeof Reflect>"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 V(N){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(Z){return Z.__proto__||Object.getPrototypeOf(Z)},V(N)}function le(N,M){var Z="data-clipboard-".concat(N);if(M.hasAttribute(Z))return M.getAttribute(Z)}var me=function(N){R(Z,N);var M=L(Z);function Z(G,re){var X;return P(this,Z),X=M.call(this),X.resolveOptions(re),X.listenClick(G),X}return E(Z,[{key:"resolveOptions",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.action=typeof re.action=="function"?re.action:this.defaultAction,this.target=typeof re.target=="function"?re.target:this.defaultTarget,this.text=typeof re.text=="function"?re.text:this.defaultText,this.container=k(re.container)==="object"?re.container:document.body}},{key:"listenClick",value:function(re){var X=this;this.listener=d()(re,"click",function(ae){return X.onClick(ae)})}},{key:"onClick",value:function(re){var X=re.delegateTarget||re.currentTarget,ae=this.action(X)||"copy",B=x({action:ae,container:this.container,target:this.target(X),text:this.text(X)});this.emit(B?"success":"error",{action:ae,text:B,trigger:X,clearSelection:function(){X&&X.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(re){return le("action",re)}},{key:"defaultTarget",value:function(re){var X=le("target",re);if(X)return document.querySelector(X)}},{key:"defaultText",value:function(re){return le("text",re)}},{key:"destroy",value:function(){this.listener.destroy()}}],[{key:"copy",value:function(re){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{container:document.body};return _(re,X)}},{key:"cut",value:function(re){return m(re)}},{key:"isSupported",value:function(){var re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:["copy","cut"],X=typeof re=="string"?[re]:re,ae=!!document.queryCommandSupported;return X.forEach(function(B){ae=ae&&!!document.queryCommandSupported(B)}),ae}}]),Z}(c()),ee=me},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,h,p,g,m){var b=d.apply(this,arguments);return f.addEventListener(p,b,m),{destroy:function(){f.removeEventListener(p,b,m)}}}function u(f,h,p,g,m){return typeof f.addEventListener=="function"?c.apply(null,arguments):typeof p=="function"?c.bind(null,document).apply(null,arguments):(typeof f=="string"&&(f=document.querySelectorAll(f)),Array.prototype.map.call(f,function(b){return c(b,h,p,g,m)}))}function d(f,h,p,g){return function(m){m.delegateTarget=l(m.target,h),m.delegateTarget&&g.call(f,m)}}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(p,g,m){if(!p&&!g&&!m)throw new Error("Missing required arguments");if(!l.string(g))throw new TypeError("Second argument must be a String");if(!l.fn(m))throw new TypeError("Third argument must be a Function");if(l.node(p))return d(p,g,m);if(l.nodeList(p))return f(p,g,m);if(l.string(p))return h(p,g,m);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function d(p,g,m){return p.addEventListener(g,m),{destroy:function(){p.removeEventListener(g,m)}}}function f(p,g,m){return Array.prototype.forEach.call(p,function(b){b.addEventListener(g,m)}),{destroy:function(){Array.prototype.forEach.call(p,function(b){b.removeEventListener(g,m)})}}}function h(p,g,m){return c(document.body,p,g,m)}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<d;u++)c[u].fn.apply(c[u].ctx,l);return this},off:function(s,l){var c=this.e||(this.e={}),u=c[s],d=[];if(u&&l)for(var f=0,h=u.length;f<h;f++)u[f].fn!==l&&u[f].fn._!==l&&d.push(u[f]);return d.length?c[s]=d:delete c[s],this}},i.exports=a,i.exports.TinyEmitter=a}},o={};function r(i){if(o[i])return o[i].exports;var a=o[i]={exports:{}};return n[i](a,a.exports,r),a.exports}return function(){r.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return r.d(a,{a}),a}}(),function(){r.d=function(i,a){for(var s in a)r.o(a,s)&&!r.o(i,s)&&Object.defineProperty(i,s,{enumerable:!0,get:a[s]})}}(),function(){r.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)}}(),r(686)}().default})})(SC);var A4=SC.exports;const R4=Ip(A4),E4=(e,t)=>{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.14.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const Ac=typeof window<"u",Qr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),$4=(e,t,n)=>I4({l:e,k:t,s:n}),I4=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),yn=e=>typeof e=="number"&&isFinite(e),O4=e=>PC(e)==="[object Date]",jr=e=>PC(e)==="[object RegExp]",yu=e=>mt(e)&&Object.keys(e).length===0,Pn=Object.assign;let kv;const sr=()=>kv||(kv=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Pv(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const M4=Object.prototype.hasOwnProperty;function Rc(e,t){return M4.call(e,t)}const tn=Array.isArray,Xt=e=>typeof e=="function",Ge=e=>typeof e=="string",St=e=>typeof e=="boolean",Nt=e=>e!==null&&typeof e=="object",z4=e=>Nt(e)&&Xt(e.then)&&Xt(e.catch),kC=Object.prototype.toString,PC=e=>kC.call(e),mt=e=>{if(!Nt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},L4=e=>e==null?"":tn(e)||mt(e)&&e.toString===kC?JSON.stringify(e,null,2):String(e);function F4(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}function xu(e){let t=e;return()=>++t}function D4(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Il=e=>!Nt(e)||tn(e);function dc(e,t){if(Il(e)||Il(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=>{Il(o[i])||Il(r[i])?r[i]=o[i]:n.push({src:o[i],des:r[i]})})}}/*!
|
||
* message-compiler v9.14.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function B4(e,t,n){return{line:e,column:t,offset:n}}function Ec(e,t,n){const o={start:e,end:t};return n!=null&&(o.source=n),o}const N4=/\{([0-9a-zA-Z]+)\}/g;function TC(e,...t){return t.length===1&&H4(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(N4,(n,o)=>t.hasOwnProperty(o)?t[o]:"")}const AC=Object.assign,Tv=e=>typeof e=="string",H4=e=>e!==null&&typeof e=="object";function RC(e,t=""){return e.reduce((n,o,r)=>r===0?n+o:n+t+o,"")}const Op={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},j4={[Op.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function U4(e,t,...n){const o=TC(j4[e]||"",...n||[]),r={message:String(o),code:e};return t&&(r.location=t),r}const ft={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},V4={[ft.EXPECTED_TOKEN]:"Expected token: '{0}'",[ft.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[ft.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[ft.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[ft.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[ft.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[ft.EMPTY_PLACEHOLDER]:"Empty placeholder",[ft.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[ft.INVALID_LINKED_FORMAT]:"Invalid linked format",[ft.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[ft.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[ft.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[ft.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[ft.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[ft.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Ha(e,t,n={}){const{domain:o,messages:r,args:i}=n,a=TC((r||V4)[e]||"",...i||[]),s=new SyntaxError(String(a));return s.code=e,t&&(s.location=t),s.domain=o,s}function W4(e){throw e}const tr=" ",q4="\r",On=`
|
||
`,K4=String.fromCharCode(8232),G4=String.fromCharCode(8233);function X4(e){const t=e;let n=0,o=1,r=1,i=0;const a=x=>t[x]===q4&&t[x+1]===On,s=x=>t[x]===On,l=x=>t[x]===G4,c=x=>t[x]===K4,u=x=>a(x)||s(x)||l(x)||c(x),d=()=>n,f=()=>o,h=()=>r,p=()=>i,g=x=>a(x)||l(x)||c(x)?On:t[x],m=()=>g(n),b=()=>g(n+i);function w(){return i=0,u(n)&&(o++,r=0),a(n)&&n++,n++,r++,t[n]}function C(){return a(n+i)&&i++,i++,t[n+i]}function _(){n=0,o=1,r=1,i=0}function S(x=0){i=x}function y(){const x=n+i;for(;x!==n;)w();i=0}return{index:d,line:f,column:h,peekOffset:p,charAt:g,currentChar:m,currentPeek:b,next:w,peek:C,reset:_,resetPeek:S,skipToPeek:y}}const kr=void 0,Y4=".",Av="'",Q4="tokenizer";function J4(e,t={}){const n=t.location!==!1,o=X4(e),r=()=>o.index(),i=()=>B4(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(I,H,te,..._e){const he=c();if(H.column+=te,H.offset+=te,u){const de=n?Ec(he.startLoc,H):null,ie=Ha(I,de,{domain:Q4,args:_e});u(ie)}}function f(I,H,te){I.endLoc=i(),I.currentType=H;const _e={type:H};return n&&(_e.loc=Ec(I.startLoc,I.endLoc)),te!=null&&(_e.value=te),_e}const h=I=>f(I,14);function p(I,H){return I.currentChar()===H?(I.next(),H):(d(ft.EXPECTED_TOKEN,i(),0,H),"")}function g(I){let H="";for(;I.currentPeek()===tr||I.currentPeek()===On;)H+=I.currentPeek(),I.peek();return H}function m(I){const H=g(I);return I.skipToPeek(),H}function b(I){if(I===kr)return!1;const H=I.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H===95}function w(I){if(I===kr)return!1;const H=I.charCodeAt(0);return H>=48&&H<=57}function C(I,H){const{currentType:te}=H;if(te!==2)return!1;g(I);const _e=b(I.currentPeek());return I.resetPeek(),_e}function _(I,H){const{currentType:te}=H;if(te!==2)return!1;g(I);const _e=I.currentPeek()==="-"?I.peek():I.currentPeek(),he=w(_e);return I.resetPeek(),he}function S(I,H){const{currentType:te}=H;if(te!==2)return!1;g(I);const _e=I.currentPeek()===Av;return I.resetPeek(),_e}function y(I,H){const{currentType:te}=H;if(te!==8)return!1;g(I);const _e=I.currentPeek()===".";return I.resetPeek(),_e}function x(I,H){const{currentType:te}=H;if(te!==9)return!1;g(I);const _e=b(I.currentPeek());return I.resetPeek(),_e}function k(I,H){const{currentType:te}=H;if(!(te===8||te===12))return!1;g(I);const _e=I.currentPeek()===":";return I.resetPeek(),_e}function P(I,H){const{currentType:te}=H;if(te!==10)return!1;const _e=()=>{const de=I.currentPeek();return de==="{"?b(I.peek()):de==="@"||de==="%"||de==="|"||de===":"||de==="."||de===tr||!de?!1:de===On?(I.peek(),_e()):R(I,!1)},he=_e();return I.resetPeek(),he}function T(I){g(I);const H=I.currentPeek()==="|";return I.resetPeek(),H}function E(I){const H=g(I),te=I.currentPeek()==="%"&&I.peek()==="{";return I.resetPeek(),{isModulo:te,hasSpace:H.length>0}}function R(I,H=!0){const te=(he=!1,de="",ie=!1)=>{const fe=I.currentPeek();return fe==="{"?de==="%"?!1:he:fe==="@"||!fe?de==="%"?!0:he:fe==="%"?(I.peek(),te(he,"%",!0)):fe==="|"?de==="%"||ie?!0:!(de===tr||de===On):fe===tr?(I.peek(),te(!0,tr,ie)):fe===On?(I.peek(),te(!0,On,ie)):!0},_e=te();return H&&I.resetPeek(),_e}function q(I,H){const te=I.currentChar();return te===kr?kr:H(te)?(I.next(),te):null}function L(I){const H=I.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36}function D(I){return q(I,L)}function F(I){const H=I.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36||H===45}function K(I){return q(I,F)}function V(I){const H=I.charCodeAt(0);return H>=48&&H<=57}function le(I){return q(I,V)}function me(I){const H=I.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102}function ee(I){return q(I,me)}function N(I){let H="",te="";for(;H=le(I);)te+=H;return te}function M(I){m(I);const H=I.currentChar();return H!=="%"&&d(ft.EXPECTED_TOKEN,i(),0,H),I.next(),"%"}function Z(I){let H="";for(;;){const te=I.currentChar();if(te==="{"||te==="}"||te==="@"||te==="|"||!te)break;if(te==="%")if(R(I))H+=te,I.next();else break;else if(te===tr||te===On)if(R(I))H+=te,I.next();else{if(T(I))break;H+=te,I.next()}else H+=te,I.next()}return H}function G(I){m(I);let H="",te="";for(;H=K(I);)te+=H;return I.currentChar()===kr&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),te}function re(I){m(I);let H="";return I.currentChar()==="-"?(I.next(),H+=`-${N(I)}`):H+=N(I),I.currentChar()===kr&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),H}function X(I){return I!==Av&&I!==On}function ae(I){m(I),p(I,"'");let H="",te="";for(;H=q(I,X);)H==="\\"?te+=B(I):te+=H;const _e=I.currentChar();return _e===On||_e===kr?(d(ft.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,i(),0),_e===On&&(I.next(),p(I,"'")),te):(p(I,"'"),te)}function B(I){const H=I.currentChar();switch(H){case"\\":case"'":return I.next(),`\\${H}`;case"u":return xe(I,H,4);case"U":return xe(I,H,6);default:return d(ft.UNKNOWN_ESCAPE_SEQUENCE,i(),0,H),""}}function xe(I,H,te){p(I,H);let _e="";for(let he=0;he<te;he++){const de=ee(I);if(!de){d(ft.INVALID_UNICODE_ESCAPE_SEQUENCE,i(),0,`\\${H}${_e}${I.currentChar()}`);break}_e+=de}return`\\${H}${_e}`}function se(I){return I!=="{"&&I!=="}"&&I!==tr&&I!==On}function ge(I){m(I);let H="",te="";for(;H=q(I,se);)te+=H;return te}function $(I){let H="",te="";for(;H=D(I);)te+=H;return te}function A(I){const H=te=>{const _e=I.currentChar();return _e==="{"||_e==="%"||_e==="@"||_e==="|"||_e==="("||_e===")"||!_e||_e===tr?te:(te+=_e,I.next(),H(te))};return H("")}function oe(I){m(I);const H=p(I,"|");return m(I),H}function Se(I,H){let te=null;switch(I.currentChar()){case"{":return H.braceNest>=1&&d(ft.NOT_ALLOW_NEST_PLACEHOLDER,i(),0),I.next(),te=f(H,2,"{"),m(I),H.braceNest++,te;case"}":return H.braceNest>0&&H.currentType===2&&d(ft.EMPTY_PLACEHOLDER,i(),0),I.next(),te=f(H,3,"}"),H.braceNest--,H.braceNest>0&&m(I),H.inLinked&&H.braceNest===0&&(H.inLinked=!1),te;case"@":return H.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),te=ne(I,H)||h(H),H.braceNest=0,te;default:{let he=!0,de=!0,ie=!0;if(T(I))return H.braceNest>0&&d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),te=f(H,1,oe(I)),H.braceNest=0,H.inLinked=!1,te;if(H.braceNest>0&&(H.currentType===5||H.currentType===6||H.currentType===7))return d(ft.UNTERMINATED_CLOSING_BRACE,i(),0),H.braceNest=0,ye(I,H);if(he=C(I,H))return te=f(H,5,G(I)),m(I),te;if(de=_(I,H))return te=f(H,6,re(I)),m(I),te;if(ie=S(I,H))return te=f(H,7,ae(I)),m(I),te;if(!he&&!de&&!ie)return te=f(H,13,ge(I)),d(ft.INVALID_TOKEN_IN_PLACEHOLDER,i(),0,te.value),m(I),te;break}}return te}function ne(I,H){const{currentType:te}=H;let _e=null;const he=I.currentChar();switch((te===8||te===9||te===12||te===10)&&(he===On||he===tr)&&d(ft.INVALID_LINKED_FORMAT,i(),0),he){case"@":return I.next(),_e=f(H,8,"@"),H.inLinked=!0,_e;case".":return m(I),I.next(),f(H,9,".");case":":return m(I),I.next(),f(H,10,":");default:return T(I)?(_e=f(H,1,oe(I)),H.braceNest=0,H.inLinked=!1,_e):y(I,H)||k(I,H)?(m(I),ne(I,H)):x(I,H)?(m(I),f(H,12,$(I))):P(I,H)?(m(I),he==="{"?Se(I,H)||_e:f(H,11,A(I))):(te===8&&d(ft.INVALID_LINKED_FORMAT,i(),0),H.braceNest=0,H.inLinked=!1,ye(I,H))}}function ye(I,H){let te={type:14};if(H.braceNest>0)return Se(I,H)||h(H);if(H.inLinked)return ne(I,H)||h(H);switch(I.currentChar()){case"{":return Se(I,H)||h(H);case"}":return d(ft.UNBALANCED_CLOSING_BRACE,i(),0),I.next(),f(H,3,"}");case"@":return ne(I,H)||h(H);default:{if(T(I))return te=f(H,1,oe(I)),H.braceNest=0,H.inLinked=!1,te;const{isModulo:he,hasSpace:de}=E(I);if(he)return de?f(H,0,Z(I)):f(H,4,M(I));if(R(I))return f(H,0,Z(I));break}}return te}function Pe(){const{currentType:I,offset:H,startLoc:te,endLoc:_e}=l;return l.lastType=I,l.lastOffset=H,l.lastStartLoc=te,l.lastEndLoc=_e,l.offset=r(),l.startLoc=i(),o.currentChar()===kr?f(l,14):ye(o,l)}return{nextToken:Pe,currentOffset:r,currentPosition:i,context:c}}const Z4="parser",e5=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function t5(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(t||n,16);return o<=55295||o>=57344?String.fromCodePoint(o):"<22>"}}}function n5(e={}){const t=e.location!==!1,{onError:n,onWarn:o}=e;function r(C,_,S,y,...x){const k=C.currentPosition();if(k.offset+=y,k.column+=y,n){const P=t?Ec(S,k):null,T=Ha(_,P,{domain:Z4,args:x});n(T)}}function i(C,_,S,y,...x){const k=C.currentPosition();if(k.offset+=y,k.column+=y,o){const P=t?Ec(S,k):null;o(U4(_,P,x))}}function a(C,_,S){const y={type:C};return t&&(y.start=_,y.end=_,y.loc={start:S,end:S}),y}function s(C,_,S,y){y&&(C.type=y),t&&(C.end=_,C.loc&&(C.loc.end=S))}function l(C,_){const S=C.context(),y=a(3,S.offset,S.startLoc);return y.value=_,s(y,C.currentOffset(),C.currentPosition()),y}function c(C,_){const S=C.context(),{lastOffset:y,lastStartLoc:x}=S,k=a(5,y,x);return k.index=parseInt(_,10),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function u(C,_,S){const y=C.context(),{lastOffset:x,lastStartLoc:k}=y,P=a(4,x,k);return P.key=_,S===!0&&(P.modulo=!0),C.nextToken(),s(P,C.currentOffset(),C.currentPosition()),P}function d(C,_){const S=C.context(),{lastOffset:y,lastStartLoc:x}=S,k=a(9,y,x);return k.value=_.replace(e5,t5),C.nextToken(),s(k,C.currentOffset(),C.currentPosition()),k}function f(C){const _=C.nextToken(),S=C.context(),{lastOffset:y,lastStartLoc:x}=S,k=a(8,y,x);return _.type!==12?(r(C,ft.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),k.value="",s(k,y,x),{nextConsumeToken:_,node:k}):(_.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,wo(_)),k.value=_.value||"",s(k,C.currentOffset(),C.currentPosition()),{node:k})}function h(C,_){const S=C.context(),y=a(7,S.offset,S.startLoc);return y.value=_,s(y,C.currentOffset(),C.currentPosition()),y}function p(C){const _=C.context(),S=a(6,_.offset,_.startLoc);let y=C.nextToken();if(y.type===9){const x=f(C);S.modifier=x.node,y=x.nextConsumeToken||C.nextToken()}switch(y.type!==10&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(y)),y=C.nextToken(),y.type===2&&(y=C.nextToken()),y.type){case 11:y.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(y)),S.key=h(C,y.value||"");break;case 5:y.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(y)),S.key=u(C,y.value||"");break;case 6:y.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(y)),S.key=c(C,y.value||"");break;case 7:y.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(y)),S.key=d(C,y.value||"");break;default:{r(C,ft.UNEXPECTED_EMPTY_LINKED_KEY,_.lastStartLoc,0);const x=C.context(),k=a(7,x.offset,x.startLoc);return k.value="",s(k,x.offset,x.startLoc),S.key=k,s(S,x.offset,x.startLoc),{nextConsumeToken:y,node:S}}}return s(S,C.currentOffset(),C.currentPosition()),{node:S}}function g(C){const _=C.context(),S=_.currentType===1?C.currentOffset():_.offset,y=_.currentType===1?_.endLoc:_.startLoc,x=a(2,S,y);x.items=[];let k=null,P=null;do{const R=k||C.nextToken();switch(k=null,R.type){case 0:R.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(R)),x.items.push(l(C,R.value||""));break;case 6:R.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(R)),x.items.push(c(C,R.value||""));break;case 4:P=!0;break;case 5:R.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(R)),x.items.push(u(C,R.value||"",!!P)),P&&(i(C,Op.USE_MODULO_SYNTAX,_.lastStartLoc,0,wo(R)),P=null);break;case 7:R.value==null&&r(C,ft.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,wo(R)),x.items.push(d(C,R.value||""));break;case 8:{const q=p(C);x.items.push(q.node),k=q.nextConsumeToken||null;break}}}while(_.currentType!==14&&_.currentType!==1);const T=_.currentType===1?_.lastOffset:C.currentOffset(),E=_.currentType===1?_.lastEndLoc:C.currentPosition();return s(x,T,E),x}function m(C,_,S,y){const x=C.context();let k=y.items.length===0;const P=a(1,_,S);P.cases=[],P.cases.push(y);do{const T=g(C);k||(k=T.items.length===0),P.cases.push(T)}while(x.currentType!==14);return k&&r(C,ft.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),s(P,C.currentOffset(),C.currentPosition()),P}function b(C){const _=C.context(),{offset:S,startLoc:y}=_,x=g(C);return _.currentType===14?x:m(C,S,y,x)}function w(C){const _=J4(C,AC({},e)),S=_.context(),y=a(0,S.offset,S.startLoc);return t&&y.loc&&(y.loc.source=C),y.body=b(_),e.onCacheKey&&(y.cacheKey=e.onCacheKey(C)),S.currentType!==14&&r(_,ft.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,C[S.offset]||""),s(y,_.currentOffset(),_.currentPosition()),y}return{parse:w}}function wo(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 o5(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:i=>(n.helpers.add(i),i)}}function Rv(e,t){for(let n=0;n<e.length;n++)Mp(e[n],t)}function Mp(e,t){switch(e.type){case 1:Rv(e.cases,t),t.helper("plural");break;case 2:Rv(e.items,t);break;case 6:{Mp(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function r5(e,t={}){const n=o5(e);n.helper("normalize"),e.body&&Mp(e.body,n);const o=n.context();e.helpers=Array.from(o.helpers)}function i5(e){const t=e.body;return t.type===2?Ev(t):t.cases.forEach(n=>Ev(n)),e}function Ev(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;n<e.items.length;n++){const o=e.items[n];if(!(o.type===3||o.type===9)||o.value==null)break;t.push(o.value)}if(t.length===e.items.length){e.static=RC(t);for(let n=0;n<e.items.length;n++){const o=e.items[n];(o.type===3||o.type===9)&&delete o.value}}}}const a5="minifier";function ca(e){switch(e.t=e.type,e.type){case 0:{const t=e;ca(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let o=0;o<n.length;o++)ca(n[o]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let o=0;o<n.length;o++)ca(n[o]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;ca(t.key),t.k=t.key,delete t.key,t.modifier&&(ca(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Ha(ft.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:a5,args:[e.type]})}delete e.type}const s5="parser";function l5(e,t){const{sourceMap:n,filename:o,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,s={filename:o,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(s.source=e.loc.source);const l=()=>s;function c(m,b){s.code+=m}function u(m,b=!0){const w=b?r:"";c(i?w+" ".repeat(m):w)}function d(m=!0){const b=++s.indentLevel;m&&u(b)}function f(m=!0){const b=--s.indentLevel;m&&u(b)}function h(){u(s.indentLevel)}return{context:l,push:c,indent:d,deindent:f,newline:h,helper:m=>`_${m}`,needIndent:()=>s.needIndent}}function c5(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Pa(e,t.key),t.modifier?(e.push(", "),Pa(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function u5(e,t){const{helper:n,needIndent:o}=e;e.push(`${n("normalize")}([`),e.indent(o());const r=t.items.length;for(let i=0;i<r&&(Pa(e,t.items[i]),i!==r-1);i++)e.push(", ");e.deindent(o()),e.push("])")}function d5(e,t){const{helper:n,needIndent:o}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(o());const r=t.cases.length;for(let i=0;i<r&&(Pa(e,t.cases[i]),i!==r-1);i++)e.push(", ");e.deindent(o()),e.push("])")}}function f5(e,t){t.body?Pa(e,t.body):e.push("null")}function Pa(e,t){const{helper:n}=e;switch(t.type){case 0:f5(e,t);break;case 1:d5(e,t);break;case 2:u5(e,t);break;case 6:c5(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Ha(ft.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:s5,args:[t.type]})}}const h5=(e,t={})=>{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=l5(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 { ${RC(s.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),Pa(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 p5(e,t={}){const n=AC({},t),o=!!n.jit,r=!!n.minify,i=n.optimize==null?!0:n.optimize,s=n5(n).parse(e);return o?(i&&i5(s),r&&ca(s),{ast:s,code:""}):(r5(s,n),h5(s,n))}/*!
|
||
* core-base v9.14.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function m5(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sr().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(sr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const Jr=[];Jr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Jr[1]={w:[1],".":[2],"[":[4],o:[7]};Jr[2]={w:[2],i:[3,0],0:[3,0]};Jr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Jr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Jr[5]={"'":[4,0],o:8,l:[5,0]};Jr[6]={'"':[4,0],o:8,l:[6,0]};const g5=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function v5(e){return g5.test(e)}function b5(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 y5(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 x5(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:v5(t)?b5(t):"*"+t}function C5(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=x5(a),a===!1))return!1;f[1]()}};function h(){const p=e[n+1];if(o===5&&p==="'"||o===6&&p==='"')return n++,s="\\"+p,f[0](),!0}for(;o!==null;)if(n++,i=e[n],!(i==="\\"&&h())){if(l=y5(i),d=Jr[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 $v=new Map;function w5(e,t){return Nt(e)?e[t]:null}function _5(e,t){if(!Nt(e))return null;let n=$v.get(t);if(n||(n=C5(t),n&&$v.set(t,n)),!n)return null;const o=n.length;let r=e,i=0;for(;i<o;){const a=r[n[i]];if(a===void 0||Xt(r))return null;r=a,i++}return r}const S5=e=>e,k5=e=>"",P5="text",T5=e=>e.length===0?"":F4(e),A5=L4;function Iv(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function R5(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 E5(e,t){t.count||(t.count=e),t.n||(t.n=e)}function $5(e={}){const t=e.locale,n=R5(e),o=Nt(e.pluralRules)&&Ge(t)&&Xt(e.pluralRules[t])?e.pluralRules[t]:Iv,r=Nt(e.pluralRules)&&Ge(t)&&Xt(e.pluralRules[t])?Iv:void 0,i=b=>b[o(n,b.length,r)],a=e.list||[],s=b=>a[b],l=e.named||{};yn(e.pluralIndex)&&E5(n,l);const c=b=>l[b];function u(b){const w=Xt(e.messages)?e.messages(b):Nt(e.messages)?e.messages[b]:!1;return w||(e.parent?e.parent.message(b):k5)}const d=b=>e.modifiers?e.modifiers[b]:S5,f=mt(e.processor)&&Xt(e.processor.normalize)?e.processor.normalize:T5,h=mt(e.processor)&&Xt(e.processor.interpolate)?e.processor.interpolate:A5,p=mt(e.processor)&&Ge(e.processor.type)?e.processor.type:P5,m={list:s,named:c,plural:i,linked:(b,...w)=>{const[C,_]=w;let S="text",y="";w.length===1?Nt(C)?(y=C.modifier||y,S=C.type||S):Ge(C)&&(y=C||y):w.length===2&&(Ge(C)&&(y=C||y),Ge(_)&&(S=_||S));const x=u(b)(m),k=S==="vnode"&&tn(x)&&y?x[0]:x;return y?d(y)(k,S):k},message:u,type:p,interpolate:h,normalize:f,values:Pn({},a,l)};return m}let Ks=null;function I5(e){Ks=e}function O5(e,t,n){Ks&&Ks.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const M5=z5("function:translate");function z5(e){return t=>Ks&&Ks.emit(e,t)}const EC=Op.__EXTEND_POINT__,ci=xu(EC),L5={NOT_FOUND_KEY:EC,FALLBACK_TO_TRANSLATE:ci(),CANNOT_FORMAT_NUMBER:ci(),FALLBACK_TO_NUMBER_FORMAT:ci(),CANNOT_FORMAT_DATE:ci(),FALLBACK_TO_DATE_FORMAT:ci(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:ci(),__EXTEND_POINT__:ci()},$C=ft.__EXTEND_POINT__,ui=xu($C),ko={INVALID_ARGUMENT:$C,INVALID_DATE_ARGUMENT:ui(),INVALID_ISO_DATE_ARGUMENT:ui(),NOT_SUPPORT_NON_STRING_MESSAGE:ui(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:ui(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:ui(),NOT_SUPPORT_LOCALE_TYPE:ui(),__EXTEND_POINT__:ui()};function Ho(e){return Ha(e,null,void 0)}function zp(e,t){return t.locale!=null?Ov(t.locale):Ov(e.locale)}let Dd;function Ov(e){if(Ge(e))return e;if(Xt(e)){if(e.resolvedOnce&&Dd!=null)return Dd;if(e.constructor.name==="Function"){const t=e();if(z4(t))throw Ho(ko.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Dd=t}else throw Ho(ko.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ho(ko.NOT_SUPPORT_LOCALE_TYPE)}function F5(e,t,n){return[...new Set([n,...tn(t)?t:Nt(t)?Object.keys(t):Ge(t)?[t]:[n]])]}function IC(e,t,n){const o=Ge(n)?n:Ta,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let i=r.__localeChainCache.get(o);if(!i){i=[];let a=[n];for(;tn(a);)a=Mv(i,a,t);const s=tn(t)||!mt(t)?t:t.default?t.default:null;a=Ge(s)?[s]:s,tn(a)&&Mv(i,a,!1),r.__localeChainCache.set(o,i)}return i}function Mv(e,t,n){let o=!0;for(let r=0;r<t.length&&St(o);r++){const i=t[r];Ge(i)&&(o=D5(e,t[r],n))}return o}function D5(e,t,n){let o;const r=t.split("-");do{const i=r.join("-");o=B5(e,i,n),r.splice(-1,1)}while(r.length&&o===!0);return o}function B5(e,t,n){let o=!1;if(!e.includes(t)&&(o=!0,t)){o=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(tn(n)||mt(n))&&n[r]&&(o=n[r])}return o}const N5="9.14.0",Cu=-1,Ta="en-US",zv="",Lv=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function H5(){return{upper:(e,t)=>t==="text"&&Ge(e)?e.toUpperCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ge(e)?e.toLowerCase():t==="vnode"&&Nt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ge(e)?Lv(e):t==="vnode"&&Nt(e)&&"__v_isVNode"in e?Lv(e.children):e}}let OC;function Fv(e){OC=e}let MC;function j5(e){MC=e}let zC;function U5(e){zC=e}let LC=null;const V5=e=>{LC=e},W5=()=>LC;let FC=null;const Dv=e=>{FC=e},q5=()=>FC;let Bv=0;function K5(e={}){const t=Xt(e.onWarn)?e.onWarn:D4,n=Ge(e.version)?e.version:N5,o=Ge(e.locale)||Xt(e.locale)?e.locale:Ta,r=Xt(o)?Ta:o,i=tn(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=Pn({},e.modifiers||{},H5()),u=e.pluralRules||{},d=Xt(e.missing)?e.missing:null,f=St(e.missingWarn)||jr(e.missingWarn)?e.missingWarn:!0,h=St(e.fallbackWarn)||jr(e.fallbackWarn)?e.fallbackWarn:!0,p=!!e.fallbackFormat,g=!!e.unresolving,m=Xt(e.postTranslation)?e.postTranslation:null,b=mt(e.processor)?e.processor:null,w=St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter,_=Xt(e.messageCompiler)?e.messageCompiler:OC,S=Xt(e.messageResolver)?e.messageResolver:MC||w5,y=Xt(e.localeFallbacker)?e.localeFallbacker:zC||F5,x=Nt(e.fallbackContext)?e.fallbackContext:void 0,k=e,P=Nt(k.__datetimeFormatters)?k.__datetimeFormatters:new Map,T=Nt(k.__numberFormatters)?k.__numberFormatters:new Map,E=Nt(k.__meta)?k.__meta:{};Bv++;const R={version:n,cid:Bv,locale:o,fallbackLocale:i,messages:a,modifiers:c,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:h,fallbackFormat:p,unresolving:g,postTranslation:m,processor:b,warnHtmlMessage:w,escapeParameter:C,messageCompiler:_,messageResolver:S,localeFallbacker:y,fallbackContext:x,onWarn:t,__meta:E};return R.datetimeFormats=s,R.numberFormats=l,R.__datetimeFormatters=P,R.__numberFormatters=T,__INTLIFY_PROD_DEVTOOLS__&&O5(R,n,E),R}function Lp(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 ls(e,t,n){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function G5(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function X5(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let o=n+1;o<t.length;o++)if(G5(e,t[o]))return!0;return!1}function Bd(e){return n=>Y5(n,e)}function Y5(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,Nv(e,a)],[]))}else return Nv(e,n)}function Nv(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,nh(e,i)],[]);return e.normalize(o)}}function nh(e,t){const n=t.t||t.type;switch(n){case 3:{const o=t;return o.v||o.value}case 9:{const o=t;return o.v||o.value}case 4:{const o=t;return e.interpolate(e.named(o.k||o.key))}case 5:{const o=t;return e.interpolate(e.list(o.i!=null?o.i:o.index))}case 6:{const o=t,r=o.m||o.modifier;return e.linked(nh(e,o.k||o.key),r?nh(e,r):void 0,e.type)}case 7:{const o=t;return o.v||o.value}case 8:{const o=t;return o.v||o.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const DC=e=>e;let da=Object.create(null);const Aa=e=>Nt(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function BC(e,t={}){let n=!1;const o=t.onError||W4;return t.onError=r=>{n=!0,o(r)},{...p5(e,t),detectError:n}}const Q5=(e,t)=>{if(!Ge(e))throw Ho(ko.NOT_SUPPORT_NON_STRING_MESSAGE);{St(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||DC)(e),r=da[o];if(r)return r;const{code:i,detectError:a}=BC(e,t),s=new Function(`return ${i}`)();return a?s:da[o]=s}};function J5(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&Ge(e)){St(t.warnHtmlMessage)&&t.warnHtmlMessage;const o=(t.onCacheKey||DC)(e),r=da[o];if(r)return r;const{ast:i,detectError:a}=BC(e,{...t,location:!1,jit:!0}),s=Bd(i);return a?s:da[o]=s}else{const n=e.cacheKey;if(n){const o=da[n];return o||(da[n]=Bd(e))}else return Bd(e)}}const Hv=()=>"",ao=e=>Xt(e);function jv(e,...t){const{fallbackFormat:n,postTranslation:o,unresolving:r,messageCompiler:i,fallbackLocale:a,messages:s}=e,[l,c]=oh(...t),u=St(c.missingWarn)?c.missingWarn:e.missingWarn,d=St(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=St(c.escapeParameter)?c.escapeParameter:e.escapeParameter,h=!!c.resolvedMessage,p=Ge(c.default)||St(c.default)?St(c.default)?i?l:()=>l:c.default:n?i?l:()=>l:"",g=n||p!=="",m=zp(e,c);f&&Z5(c);let[b,w,C]=h?[l,m,s[m]||{}]:NC(e,l,m,a,d,u),_=b,S=l;if(!h&&!(Ge(_)||Aa(_)||ao(_))&&g&&(_=p,S=_),!h&&(!(Ge(_)||Aa(_)||ao(_))||!Ge(w)))return r?Cu:l;let y=!1;const x=()=>{y=!0},k=ao(_)?_:HC(e,l,w,_,S,x);if(y)return _;const P=n$(e,w,C,c),T=$5(P),E=e$(e,k,T),R=o?o(E,l):E;if(__INTLIFY_PROD_DEVTOOLS__){const q={timestamp:Date.now(),key:Ge(l)?l:ao(_)?_.key:"",locale:w||(ao(_)?_.locale:""),format:Ge(_)?_:ao(_)?_.source:"",message:R};q.meta=Pn({},e.__meta,W5()||{}),M5(q)}return R}function Z5(e){tn(e.list)?e.list=e.list.map(t=>Ge(t)?Pv(t):t):Nt(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=Pv(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,h=null;const p="translate";for(let g=0;g<u.length&&(f=u[g],d=a[f]||{},(h=l(d,t))===null&&(h=d[t]),!(Ge(h)||Aa(h)||ao(h)));g++)if(!X5(f,u)){const m=Lp(e,t,f,i,p);m!==t&&(h=m)}return[h,f,d]}function HC(e,t,n,o,r,i){const{messageCompiler:a,warnHtmlMessage:s}=e;if(ao(o)){const c=o;return c.locale=c.locale||n,c.key=c.key||t,c}if(a==null){const c=()=>o;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 oh(...e){const[t,n,o]=e,r={};if(!Ge(t)&&!yn(t)&&!ao(t)&&!Aa(t))throw Ho(ko.INVALID_ARGUMENT);const i=yn(t)?String(t):(ao(t),t);return yn(n)?r.plural=n:Ge(n)?r.default=n:mt(n)&&!yu(n)?r.named=n:tn(n)&&(r.list=n),yn(o)?r.plural=o:Ge(o)?r.default=o:mt(o)&&Pn(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=>$4(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:h=>{let p=a(n,h);if(p==null&&u){const[,,g]=NC(u,h,t,s,l,c);p=a(g,h)}if(Ge(p)||Aa(p)){let g=!1;const b=HC(e,h,t,p,h,()=>{g=!0});return g?Hv:b}else return ao(p)?p:Hv}};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 Uv(e,...t){const{datetimeFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__datetimeFormatters:s}=e,[l,c,u,d]=rh(...t),f=St(u.missingWarn)?u.missingWarn:e.missingWarn;St(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=zp(e,u),g=a(e,r,p);if(!Ge(l)||l==="")return new Intl.DateTimeFormat(p,d).format(c);let m={},b,w=null;const C="datetime format";for(let y=0;y<g.length&&(b=g[y],m=n[b]||{},w=m[l],!mt(w));y++)Lp(e,l,b,f,C);if(!mt(w)||!Ge(b))return o?Cu:l;let _=`${b}__${l}`;yu(d)||(_=`${_}__${JSON.stringify(d)}`);let S=s.get(_);return S||(S=new Intl.DateTimeFormat(b,Pn({},w,d)),s.set(_,S)),h?S.formatToParts(c):S.format(c)}const jC=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function rh(...e){const[t,n,o,r]=e,i={};let a={},s;if(Ge(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Ho(ko.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();s=new Date(c);try{s.toISOString()}catch{throw Ho(ko.INVALID_ISO_DATE_ARGUMENT)}}else if(O4(t)){if(isNaN(t.getTime()))throw Ho(ko.INVALID_DATE_ARGUMENT);s=t}else if(yn(t))s=t;else throw Ho(ko.INVALID_ARGUMENT);return Ge(n)?i.key=n:mt(n)&&Object.keys(n).forEach(l=>{jC.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 Vv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__datetimeFormatters.has(i)&&o.__datetimeFormatters.delete(i)}}function Wv(e,...t){const{numberFormats:n,unresolving:o,fallbackLocale:r,onWarn:i,localeFallbacker:a}=e,{__numberFormatters:s}=e,[l,c,u,d]=ih(...t),f=St(u.missingWarn)?u.missingWarn:e.missingWarn;St(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const h=!!u.part,p=zp(e,u),g=a(e,r,p);if(!Ge(l)||l==="")return new Intl.NumberFormat(p,d).format(c);let m={},b,w=null;const C="number format";for(let y=0;y<g.length&&(b=g[y],m=n[b]||{},w=m[l],!mt(w));y++)Lp(e,l,b,f,C);if(!mt(w)||!Ge(b))return o?Cu:l;let _=`${b}__${l}`;yu(d)||(_=`${_}__${JSON.stringify(d)}`);let S=s.get(_);return S||(S=new Intl.NumberFormat(b,Pn({},w,d)),s.set(_,S)),h?S.formatToParts(c):S.format(c)}const UC=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function ih(...e){const[t,n,o,r]=e,i={};let a={};if(!yn(t))throw Ho(ko.INVALID_ARGUMENT);const s=t;return Ge(n)?i.key=n:mt(n)&&Object.keys(n).forEach(l=>{UC.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 qv(e,t,n){const o=e;for(const r in n){const i=`${t}__${r}`;o.__numberFormatters.has(i)&&o.__numberFormatters.delete(i)}}m5();/*!
|
||
* vue-i18n v9.14.0
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const o$="9.14.0";function r$(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(sr().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(sr().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(sr().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(sr().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sr().__INTLIFY_PROD_DEVTOOLS__=!1)}const VC=L5.__EXTEND_POINT__,nr=xu(VC);nr(),nr(),nr(),nr(),nr(),nr(),nr(),nr(),nr();const WC=ko.__EXTEND_POINT__,Bn=xu(WC),Cn={UNEXPECTED_RETURN_TYPE:WC,INVALID_ARGUMENT:Bn(),MUST_BE_CALL_SETUP_TOP:Bn(),NOT_INSTALLED:Bn(),NOT_AVAILABLE_IN_LEGACY_MODE:Bn(),REQUIRED_VALUE:Bn(),INVALID_VALUE:Bn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Bn(),NOT_INSTALLED_WITH_PROVIDE:Bn(),UNEXPECTED_ERROR:Bn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Bn(),BRIDGE_SUPPORT_VUE_2_ONLY:Bn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Bn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Bn(),__EXTEND_POINT__:Bn()};function kn(e,...t){return Ha(e,null,void 0)}const ah=Qr("__translateVNode"),sh=Qr("__datetimeParts"),lh=Qr("__numberParts"),qC=Qr("__setPluralRules"),KC=Qr("__injectWithOption"),ch=Qr("__dispose");function Gs(e){if(!Nt(e))return e;for(const t in e)if(Rc(e,t))if(!t.includes("."))Nt(e[t])&&Gs(e[t]);else{const n=t.split("."),o=n.length-1;let r=e,i=!1;for(let a=0;a<o;a++){if(n[a]in r||(r[n[a]]={}),!Nt(r[n[a]])){i=!0;break}r=r[n[a]]}i||(r[n[o]]=e[t],delete e[t]),Nt(r[n[o]])&&Gs(r[n[o]])}return e}function wu(e,t){const{messages:n,__i18n:o,messageResolver:r,flatJson:i}=t,a=mt(n)?n:tn(o)?{}:{[e]:{}};if(tn(o)&&o.forEach(s=>{if("locale"in s&&"resource"in s){const{locale:l,resource:c}=s;l?(a[l]=a[l]||{},dc(c,a[l])):dc(c,a)}else Ge(s)&&dc(JSON.parse(s),a)}),r==null&&i)for(const s in a)Rc(a,s)&&Gs(a[s]);return a}function GC(e){return e.type}function XC(e,t,n){let o=Nt(t.messages)?t.messages:{};"__i18nGlobal"in n&&(o=wu(e.locale.value,{messages:o,__i18n:n.__i18nGlobal}));const r=Object.keys(o);r.length&&r.forEach(i=>{e.mergeLocaleMessage(i,o[i])});{if(Nt(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Nt(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Kv(e){return ce(Fa,null,e,0)}const Gv="__INTLIFY_META__",Xv=()=>[],i$=()=>!1;let Yv=0;function Qv(e){return(t,n,o,r)=>e(n,o,no()||void 0,r)}const a$=()=>{const e=no();let t=null;return e&&(t=GC(e)[Gv])?{[Gv]:t}:null};function Fp(e={},t){const{__root:n,__injectWithOption:o}=e,r=n===void 0,i=e.flatJson,a=Ac?j:za,s=!!e.translateExistCompatible;let l=St(e.inheritLocale)?e.inheritLocale:!0;const c=a(n&&l?n.locale.value:Ge(e.locale)?e.locale:Ta),u=a(n&&l?n.fallbackLocale.value:Ge(e.fallbackLocale)||tn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),d=a(wu(c.value,e)),f=a(mt(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),h=a(mt(e.numberFormats)?e.numberFormats:{[c.value]:{}});let p=n?n.missingWarn:St(e.missingWarn)||jr(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:St(e.fallbackWarn)||jr(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:St(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,w=Xt(e.missing)?e.missing:null,C=Xt(e.missing)?Qv(e.missing):null,_=Xt(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:St(e.warnHtmlMessage)?e.warnHtmlMessage:!0,y=!!e.escapeParameter;const x=n?n.modifiers:mt(e.modifiers)?e.modifiers:{};let k=e.pluralRules||n&&n.pluralRules,P;P=(()=>{r&&Dv(null);const ie={version:o$,locale:c.value,fallbackLocale:u.value,messages:d.value,modifiers:x,pluralRules:k,missing:C===null?void 0:C,missingWarn:p,fallbackWarn:g,fallbackFormat:b,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:S,escapeParameter:y,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};ie.datetimeFormats=f.value,ie.numberFormats=h.value,ie.__datetimeFormatters=mt(P)?P.__datetimeFormatters:void 0,ie.__numberFormatters=mt(P)?P.__numberFormatters:void 0;const fe=K5(ie);return r&&Dv(fe),fe})(),ls(P,c.value,u.value);function E(){return[c.value,u.value,d.value,f.value,h.value]}const R=O({get:()=>c.value,set:ie=>{c.value=ie,P.locale=c.value}}),q=O({get:()=>u.value,set:ie=>{u.value=ie,P.fallbackLocale=u.value,ls(P,c.value,ie)}}),L=O(()=>d.value),D=O(()=>f.value),F=O(()=>h.value);function K(){return Xt(_)?_:null}function V(ie){_=ie,P.postTranslation=ie}function le(){return w}function me(ie){ie!==null&&(C=Qv(ie)),w=ie,P.missing=C}const ee=(ie,fe,Oe,De,Le,Be)=>{E();let et;try{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=n?q5():void 0),et=ie(P)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(P.fallbackContext=void 0)}if(Oe!=="translate exists"&&yn(et)&&et===Cu||Oe==="translate exists"&&!et){const[Me,Xe]=fe();return n&&m?De(n):Le(Me)}else{if(Be(et))return et;throw kn(Cn.UNEXPECTED_RETURN_TYPE)}};function N(...ie){return ee(fe=>Reflect.apply(jv,null,[fe,...ie]),()=>oh(...ie),"translate",fe=>Reflect.apply(fe.t,fe,[...ie]),fe=>fe,fe=>Ge(fe))}function M(...ie){const[fe,Oe,De]=ie;if(De&&!Nt(De))throw kn(Cn.INVALID_ARGUMENT);return N(fe,Oe,Pn({resolvedMessage:!0},De||{}))}function Z(...ie){return ee(fe=>Reflect.apply(Uv,null,[fe,...ie]),()=>rh(...ie),"datetime format",fe=>Reflect.apply(fe.d,fe,[...ie]),()=>zv,fe=>Ge(fe))}function G(...ie){return ee(fe=>Reflect.apply(Wv,null,[fe,...ie]),()=>ih(...ie),"number format",fe=>Reflect.apply(fe.n,fe,[...ie]),()=>zv,fe=>Ge(fe))}function re(ie){return ie.map(fe=>Ge(fe)||yn(fe)||St(fe)?Kv(String(fe)):fe)}const ae={normalize:re,interpolate:ie=>ie,type:"vnode"};function B(...ie){return ee(fe=>{let Oe;const De=fe;try{De.processor=ae,Oe=Reflect.apply(jv,null,[De,...ie])}finally{De.processor=null}return Oe},()=>oh(...ie),"translate",fe=>fe[ah](...ie),fe=>[Kv(fe)],fe=>tn(fe))}function xe(...ie){return ee(fe=>Reflect.apply(Wv,null,[fe,...ie]),()=>ih(...ie),"number format",fe=>fe[lh](...ie),Xv,fe=>Ge(fe)||tn(fe))}function se(...ie){return ee(fe=>Reflect.apply(Uv,null,[fe,...ie]),()=>rh(...ie),"datetime format",fe=>fe[sh](...ie),Xv,fe=>Ge(fe)||tn(fe))}function ge(ie){k=ie,P.pluralRules=k}function $(ie,fe){return ee(()=>{if(!ie)return!1;const Oe=Ge(fe)?fe:c.value,De=Se(Oe),Le=P.messageResolver(De,ie);return s?Le!=null:Aa(Le)||ao(Le)||Ge(Le)},()=>[ie],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[ie,fe]),i$,Oe=>St(Oe))}function A(ie){let fe=null;const Oe=IC(P,u.value,c.value);for(let De=0;De<Oe.length;De++){const Le=d.value[Oe[De]]||{},Be=P.messageResolver(Le,ie);if(Be!=null){fe=Be;break}}return fe}function oe(ie){const fe=A(ie);return fe??(n?n.tm(ie)||{}:{})}function Se(ie){return d.value[ie]||{}}function ne(ie,fe){if(i){const Oe={[ie]:fe};for(const De in Oe)Rc(Oe,De)&&Gs(Oe[De]);fe=Oe[ie]}d.value[ie]=fe,P.messages=d.value}function ye(ie,fe){d.value[ie]=d.value[ie]||{};const Oe={[ie]:fe};if(i)for(const De in Oe)Rc(Oe,De)&&Gs(Oe[De]);fe=Oe[ie],dc(fe,d.value[ie]),P.messages=d.value}function Pe(ie){return f.value[ie]||{}}function I(ie,fe){f.value[ie]=fe,P.datetimeFormats=f.value,Vv(P,ie,fe)}function H(ie,fe){f.value[ie]=Pn(f.value[ie]||{},fe),P.datetimeFormats=f.value,Vv(P,ie,fe)}function te(ie){return h.value[ie]||{}}function _e(ie,fe){h.value[ie]=fe,P.numberFormats=h.value,qv(P,ie,fe)}function he(ie,fe){h.value[ie]=Pn(h.value[ie]||{},fe),P.numberFormats=h.value,qv(P,ie,fe)}Yv++,n&&Ac&&(ut(n.locale,ie=>{l&&(c.value=ie,P.locale=ie,ls(P,c.value,u.value))}),ut(n.fallbackLocale,ie=>{l&&(u.value=ie,P.fallbackLocale=ie,ls(P,c.value,u.value))}));const de={id:Yv,locale:R,fallbackLocale:q,get inheritLocale(){return l},set inheritLocale(ie){l=ie,ie&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,ls(P,c.value,u.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:L,get modifiers(){return x},get pluralRules(){return k||{}},get isGlobal(){return r},get missingWarn(){return p},set missingWarn(ie){p=ie,P.missingWarn=p},get fallbackWarn(){return g},set fallbackWarn(ie){g=ie,P.fallbackWarn=g},get fallbackRoot(){return m},set fallbackRoot(ie){m=ie},get fallbackFormat(){return b},set fallbackFormat(ie){b=ie,P.fallbackFormat=b},get warnHtmlMessage(){return S},set warnHtmlMessage(ie){S=ie,P.warnHtmlMessage=ie},get escapeParameter(){return y},set escapeParameter(ie){y=ie,P.escapeParameter=ie},t:N,getLocaleMessage:Se,setLocaleMessage:ne,mergeLocaleMessage:ye,getPostTranslationHandler:K,setPostTranslationHandler:V,getMissingHandler:le,setMissingHandler:me,[qC]:ge};return de.datetimeFormats=D,de.numberFormats=F,de.rt=M,de.te=$,de.tm=oe,de.d=Z,de.n=G,de.getDateTimeFormat=Pe,de.setDateTimeFormat=I,de.mergeDateTimeFormat=H,de.getNumberFormat=te,de.setNumberFormat=_e,de.mergeNumberFormat=he,de[KC]=o,de[ah]=B,de[sh]=se,de[lh]=xe,de}function s$(e){const t=Ge(e.locale)?e.locale:Ta,n=Ge(e.fallbackLocale)||tn(e.fallbackLocale)||mt(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,o=Xt(e.missing)?e.missing:void 0,r=St(e.silentTranslationWarn)||jr(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=St(e.silentFallbackWarn)||jr(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=St(e.fallbackRoot)?e.fallbackRoot:!0,s=!!e.formatFallbackMessages,l=mt(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Xt(e.postTranslation)?e.postTranslation:void 0,d=Ge(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,f=!!e.escapeParameterHtml,h=St(e.sync)?e.sync:!0;let p=e.messages;if(mt(e.sharedMessages)){const y=e.sharedMessages;p=Object.keys(y).reduce((k,P)=>{const T=k[P]||(k[P]={});return Pn(T,y[P]),k},p||{})}const{__i18n:g,__root:m,__injectWithOption:b}=e,w=e.datetimeFormats,C=e.numberFormats,_=e.flatJson,S=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:p,flatJson:_,datetimeFormats:w,numberFormats:C,missing:o,missingWarn:r,fallbackWarn:i,fallbackRoot:a,fallbackFormat:s,modifiers:l,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:h,translateExistCompatible:S,__i18n:g,__root:m,__injectWithOption:b}}function uh(e={},t){{const n=Fp(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 St(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(i){n.missingWarn=St(i)?!i:i},get silentFallbackWarn(){return St(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(i){n.fallbackWarn=St(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 kn(Cn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:tn(s)?u=s:mt(s)&&(d=s),tn(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 kn(Cn.INVALID_ARGUMENT);const f=a;return Ge(s)?c.locale=s:yn(s)?c.plural=s:tn(s)?u=s:mt(s)&&(d=s),Ge(l)?c.locale=l:tn(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 Dp={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===rt?r.children:[r]],[]):t.reduce((n,o)=>{const r=e[o];return r&&(n[o]=r()),n},{})}function YC(e){return rt}const c$=Ce({name:"i18n-t",props:Pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>yn(e)||!isNaN(e)}},Dp),setup(e,t){const{slots:n,attrs:o}=t,r=e.i18n||Bp({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[ah](e.keypath,s,a),c=Pn({},o),u=Ge(e.tag)||Nt(e.tag)?e.tag:YC();return v(u,c,l)}}}),Jv=c$;function u$(e){return tn(e)&&!Ge(e[0])}function QC(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:Nt(e.format)&&(Ge(e.format.key)&&(a.key=e.format.key),s=Object.keys(e.format).reduce((f,h)=>n.includes(h)?Pn({},f,{[h]:e.format[h]}):f,{}));const l=o(e.value,a,s);let c=[a.key];tn(l)?c=l.map((f,h)=>{const p=r[f.type],g=p?p({[f.type]:f.value,index:h,parts:l}):[f.value];return u$(g)&&(g[0].key=`${f.type}-${h}`),g}):Ge(l)&&(c=[l]);const u=Pn({},i),d=Ge(e.tag)||Nt(e.tag)?e.tag:YC();return v(d,u,c)}}const d$=Ce({name:"i18n-n",props:Pn({value:{type:Number,required:!0},format:{type:[String,Object]}},Dp),setup(e,t){const n=e.i18n||Bp({useScope:e.scope,__useComponent:!0});return QC(e,t,UC,(...o)=>n[lh](...o))}}),Zv=d$,f$=Ce({name:"i18n-d",props:Pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Dp),setup(e,t){const n=e.i18n||Bp({useScope:e.scope,__useComponent:!0});return QC(e,t,jC,(...o)=>n[sh](...o))}}),eb=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 kn(Cn.UNEXPECTED_ERROR);const u=h$(e,s.$),d=tb(c);return[Reflect.apply(u.t,u,[...nb(d)]),u]};return{created:(a,s)=>{const[l,c]=t(s);Ac&&e.global===c&&(a.__i18nWatcher=ut(c.locale,()=>{s.instance&&s.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Ac&&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=tb(s);a.textContent=Reflect.apply(l.t,l,[...nb(c)])}},getSSRProps:a=>{const[s]=t(a);return{textContent:s}}}}function tb(e){if(Ge(e))return{path:e};if(mt(e)){if(!("path"in e))throw kn(Cn.REQUIRED_VALUE,"path");return e}else throw kn(Cn.INVALID_VALUE)}function nb(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;(St(o.globalInstall)?o.globalInstall:!0)&&([r?"i18n":Jv.name,"I18nT"].forEach(a=>e.component(a,Jv)),[Zv.name,"I18nN"].forEach(a=>e.component(a,Zv)),[eb.name,"I18nD"].forEach(a=>e.component(a,eb))),e.directive("t",p$(t))}function g$(e,t,n){return{beforeCreate(){const o=no();if(!o)throw kn(Cn.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=ob(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=uh(i);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=ob(e,r);else{this.$i18n=uh({__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&&XC(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=no();if(!o)throw kn(Cn.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 ob(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[qC](t.pluralizationRules||e.pluralizationRules);const n=wu(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$=Qr("global-vue-i18n");function b$(e={},t){const n=__VUE_I18N_LEGACY_API__&&St(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,o=St(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,i=new Map,[a,s]=y$(e,n),l=Qr("");function c(f){return i.get(f)||null}function u(f,h){i.set(f,h)}function d(f){i.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=l,h.provide(h.__VUE_I18N_SYMBOL__,f),mt(p[0])){const b=p[0];f.__composerExtend=b.__composerExtend,f.__vueI18nExtend=b.__vueI18nExtend}let g=null;!n&&o&&(g=A$(h,f.global)),__VUE_I18N_FULL_INSTALL__&&m$(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(g$(s,s.__composer,f));const m=h.unmount;h.unmount=()=>{g&&g(),f.dispose(),m()}},get global(){return s},dispose(){a.stop()},__instances:i,__getInstance:c,__setInstance:u,__deleteInstance:d};return f}}function Bp(e={}){const t=no();if(t==null)throw kn(Cn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw kn(Cn.NOT_INSTALLED);const n=x$(t),o=w$(n),r=GC(t),i=C$(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw kn(Cn.NOT_AVAILABLE_IN_LEGACY_MODE);return P$(t,i,o,e)}if(i==="global")return XC(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=Pn({},e);"__i18n"in r&&(l.__i18n=r.__i18n),o&&(l.__root=o),s=Fp(l),a.__composerExtend&&(s[ch]=a.__composerExtend(s)),k$(a,t,s),a.__setInstance(t,s)}return s}function y$(e,t,n){const o=tp();{const r=__VUE_I18N_LEGACY_API__&&t?o.run(()=>uh(e)):o.run(()=>Fp(e));if(r==null)throw kn(Cn.UNEXPECTED_ERROR);return[o,r]}}function x$(e){{const t=Ve(e.isCE?v$:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw kn(e.isCE?Cn.NOT_INSTALLED_WITH_PROVIDE:Cn.UNEXPECTED_ERROR);return t}}function C$(e,t){return yu(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[KC]&&(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){jt(()=>{},t),La(()=>{const o=n;e.__deleteInstance(t);const r=o[ch];r&&(r(),delete o[ch])},t)}function P$(e,t,n,o={}){const r=t==="local",i=za(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw kn(Cn.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const a=St(o.inheritLocale)?o.inheritLocale:!Ge(o.locale),s=j(!r||a?n.locale.value:Ge(o.locale)?o.locale:Ta),l=j(!r||a?n.fallbackLocale.value:Ge(o.fallbackLocale)||tn(o.fallbackLocale)||mt(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:s.value),c=j(wu(s.value,o)),u=j(mt(o.datetimeFormats)?o.datetimeFormats:{[s.value]:{}}),d=j(mt(o.numberFormats)?o.numberFormats:{[s.value]:{}}),f=r?n.missingWarn:St(o.missingWarn)||jr(o.missingWarn)?o.missingWarn:!0,h=r?n.fallbackWarn:St(o.fallbackWarn)||jr(o.fallbackWarn)?o.fallbackWarn:!0,p=r?n.fallbackRoot:St(o.fallbackRoot)?o.fallbackRoot:!0,g=!!o.fallbackFormat,m=Xt(o.missing)?o.missing:null,b=Xt(o.postTranslation)?o.postTranslation:null,w=r?n.warnHtmlMessage:St(o.warnHtmlMessage)?o.warnHtmlMessage:!0,C=!!o.escapeParameter,_=r?n.modifiers:mt(o.modifiers)?o.modifiers:{},S=o.pluralRules||r&&n.pluralRules;function y(){return[s.value,l.value,c.value,u.value,d.value]}const x=O({get:()=>i.value?i.value.locale.value:s.value,set:A=>{i.value&&(i.value.locale.value=A),s.value=A}}),k=O({get:()=>i.value?i.value.fallbackLocale.value:l.value,set:A=>{i.value&&(i.value.fallbackLocale.value=A),l.value=A}}),P=O(()=>i.value?i.value.messages.value:c.value),T=O(()=>u.value),E=O(()=>d.value);function R(){return i.value?i.value.getPostTranslationHandler():b}function q(A){i.value&&i.value.setPostTranslationHandler(A)}function L(){return i.value?i.value.getMissingHandler():m}function D(A){i.value&&i.value.setMissingHandler(A)}function F(A){return y(),A()}function K(...A){return i.value?F(()=>Reflect.apply(i.value.t,null,[...A])):F(()=>"")}function V(...A){return i.value?Reflect.apply(i.value.rt,null,[...A]):""}function le(...A){return i.value?F(()=>Reflect.apply(i.value.d,null,[...A])):F(()=>"")}function me(...A){return i.value?F(()=>Reflect.apply(i.value.n,null,[...A])):F(()=>"")}function ee(A){return i.value?i.value.tm(A):{}}function N(A,oe){return i.value?i.value.te(A,oe):!1}function M(A){return i.value?i.value.getLocaleMessage(A):{}}function Z(A,oe){i.value&&(i.value.setLocaleMessage(A,oe),c.value[A]=oe)}function G(A,oe){i.value&&i.value.mergeLocaleMessage(A,oe)}function re(A){return i.value?i.value.getDateTimeFormat(A):{}}function X(A,oe){i.value&&(i.value.setDateTimeFormat(A,oe),u.value[A]=oe)}function ae(A,oe){i.value&&i.value.mergeDateTimeFormat(A,oe)}function B(A){return i.value?i.value.getNumberFormat(A):{}}function xe(A,oe){i.value&&(i.value.setNumberFormat(A,oe),d.value[A]=oe)}function se(A,oe){i.value&&i.value.mergeNumberFormat(A,oe)}const ge={get id(){return i.value?i.value.id:-1},locale:x,fallbackLocale:k,messages:P,datetimeFormats:T,numberFormats:E,get inheritLocale(){return i.value?i.value.inheritLocale:a},set inheritLocale(A){i.value&&(i.value.inheritLocale=A)},get availableLocales(){return i.value?i.value.availableLocales:Object.keys(c.value)},get modifiers(){return i.value?i.value.modifiers:_},get pluralRules(){return i.value?i.value.pluralRules:S},get isGlobal(){return i.value?i.value.isGlobal:!1},get missingWarn(){return i.value?i.value.missingWarn:f},set missingWarn(A){i.value&&(i.value.missingWarn=A)},get fallbackWarn(){return i.value?i.value.fallbackWarn:h},set fallbackWarn(A){i.value&&(i.value.missingWarn=A)},get fallbackRoot(){return i.value?i.value.fallbackRoot:p},set fallbackRoot(A){i.value&&(i.value.fallbackRoot=A)},get fallbackFormat(){return i.value?i.value.fallbackFormat:g},set fallbackFormat(A){i.value&&(i.value.fallbackFormat=A)},get warnHtmlMessage(){return i.value?i.value.warnHtmlMessage:w},set warnHtmlMessage(A){i.value&&(i.value.warnHtmlMessage=A)},get escapeParameter(){return i.value?i.value.escapeParameter:C},set escapeParameter(A){i.value&&(i.value.escapeParameter=A)},t:K,getPostTranslationHandler:R,setPostTranslationHandler:q,getMissingHandler:L,setMissingHandler:D,rt:V,d:le,n:me,tm:ee,te:N,getLocaleMessage:M,setLocaleMessage:Z,mergeLocaleMessage:G,getDateTimeFormat:re,setDateTimeFormat:X,mergeDateTimeFormat:ae,getNumberFormat:B,setNumberFormat:xe,mergeNumberFormat:se};function $(A){A.locale.value=s.value,A.fallbackLocale.value=l.value,Object.keys(c.value).forEach(oe=>{A.mergeLocaleMessage(oe,c.value[oe])}),Object.keys(u.value).forEach(oe=>{A.mergeDateTimeFormat(oe,u.value[oe])}),Object.keys(d.value).forEach(oe=>{A.mergeNumberFormat(oe,d.value[oe])}),A.escapeParameter=C,A.fallbackFormat=g,A.fallbackRoot=p,A.fallbackWarn=h,A.missingWarn=f,A.warnHtmlMessage=w}return hn(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw kn(Cn.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const A=i.value=e.proxy.$i18n.__composer;t==="global"?(s.value=A.locale.value,l.value=A.fallbackLocale.value,c.value=A.messages.value,u.value=A.datetimeFormats.value,d.value=A.numberFormats.value):r&&$(A)}),ge}const T$=["locale","fallbackLocale","availableLocales"],rb=["t","rt","d","n","tm","te"];function A$(e,t){const n=Object.create(null);return T$.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i)throw kn(Cn.UNEXPECTED_ERROR);const a=cn(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,rb.forEach(r=>{const i=Object.getOwnPropertyDescriptor(t,r);if(!i||!i.value)throw kn(Cn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,i)}),()=>{delete e.config.globalProperties.$i18n,rb.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}r$();__INTLIFY_JIT_COMPILATION__?Fv(J5):Fv(Q5);j5(_5);U5(IC);if(__INTLIFY_PROD_DEVTOOLS__){const e=sr();e.__INTLIFY__=!0,I5(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const JC="locale";function _u(){return ll.get(JC)}function ZC(e){ll.set(JC,e)}const ew=Object.keys(Object.assign({"./lang/en-US.json":()=>_t(()=>Promise.resolve().then(()=>Vk),void 0),"./lang/fa-IR.json":()=>_t(()=>Promise.resolve().then(()=>Wk),void 0),"./lang/ja-JP.json":()=>_t(()=>Promise.resolve().then(()=>qk),void 0),"./lang/ko-KR.json":()=>_t(()=>Promise.resolve().then(()=>Kk),void 0),"./lang/vi-VN.json":()=>_t(()=>Promise.resolve().then(()=>Gk),void 0),"./lang/zh-CN.json":()=>_t(()=>Promise.resolve().then(()=>Xk),void 0),"./lang/zh-TW.json":()=>_t(()=>Promise.resolve().then(()=>Yk),void 0)})).map(e=>e.slice(7,-5));function R$(){const e=navigator.language,t="zh-CN",o=ew.includes(e)?e:t;return _u().value||ZC(o),o}const mn=b$({locale:_u().value||R$(),fallbackLocale:"en-US",messages:{}});async function E$(){await Promise.all(ew.map(async e=>{const t=await E4(Object.assign({"./lang/en-US.json":()=>_t(()=>Promise.resolve().then(()=>Vk),void 0),"./lang/fa-IR.json":()=>_t(()=>Promise.resolve().then(()=>Wk),void 0),"./lang/ja-JP.json":()=>_t(()=>Promise.resolve().then(()=>qk),void 0),"./lang/ko-KR.json":()=>_t(()=>Promise.resolve().then(()=>Kk),void 0),"./lang/vi-VN.json":()=>_t(()=>Promise.resolve().then(()=>Gk),void 0),"./lang/zh-CN.json":()=>_t(()=>Promise.resolve().then(()=>Xk),void 0),"./lang/zh-TW.json":()=>_t(()=>Promise.resolve().then(()=>Yk),void 0)}),`./lang/${e}.json`).then(n=>n.default||n);mn.global.setLocaleMessage(e,t)}))}async function $$(e){e.use(mn),E$()}const dh={"zh-CN":"简体中文","zh-TW":"繁體中文","en-US":"English","fa-IR":"Iran","ja-JP":"日本語","vi-VN":"Tiếng Việt","ko-KR":"한국어"},fh=e=>mn.global.t(e);function Wo(e=void 0,t="YYYY-MM-DD HH:mm:ss"){return e==null?"":(e.toString().length===10&&(e=e*1e3),T4(e).format(t))}function Np(e=void 0,t="YYYY-MM-DD"){return Wo(e,t)}function fa(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":t.toFixed(2)}function sn(e){const t=typeof e=="string"?parseFloat(e):e;return isNaN(t)?"0.00":(t/100).toFixed(2)}function Xs(e){navigator.clipboard?navigator.clipboard.writeText(e).then(()=>{window.$message.success(fh("复制成功"))}).catch(t=>{console.error("复制到剪贴板时出错:",t),ib(e)}):ib(e)}function ib(e){const t=document.createElement("button"),n=new R4(t,{text:()=>e});n.on("success",()=>{window.$message.success(fh("复制成功")),n.destroy()}),n.on("error",()=>{window.$message.error(fh("复制失败")),n.destroy()}),t.click()}function I$(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 As(e){const t=e/1024,n=t/1024,o=n/1024,r=o/1024;return r>=1?fa(r)+" TB":o>=1?fa(o)+" GB":n>=1?fa(n)+" MB":fa(t)+" KB"}function O$(e){return typeof e>"u"}function M$(e){return e===null}function ab(e){return e&&Array.isArray(e)}function z$(e){return M$(e)||O$(e)}function sb(e){return/^(https?:|mailto:|tel:)/.test(e)}const Rs=/^[a-z0-9]+(-[a-z0-9]+)*$/,Su=(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&&!fc(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&&!fc(s)?null:s}if(n&&o===""){const s={provider:o,prefix:"",name:i};return t&&!fc(s,n)?null:s}return null},fc=(e,t)=>e?!!((e.provider===""||e.provider.match(Rs))&&(t&&e.prefix===""||e.prefix.match(Rs))&&e.name.match(Rs)):!1,tw=Object.freeze({left:0,top:0,width:16,height:16}),$c=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),ku=Object.freeze({...tw,...$c}),hh=Object.freeze({...ku,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 lb(e,t){const n=L$(e,t);for(const o in hh)o in $c?o in e&&!(o in n)&&(n[o]=$c[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 D$(e,t,n){const o=e.icons,r=e.aliases||Object.create(null);let i={};function a(s){i=lb(o[s]||r[s],i)}return a(t),n.forEach(a),lb(e,i)}function nw(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,D$(e,r,i)),n.push(r))}return n}const B$={provider:"",aliases:{},not_found:{},...tw};function Nd(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function ow(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nd(e,B$))return null;const n=t.icons;for(const r in n){const i=n[r];if(!r.match(Rs)||typeof i.body!="string"||!Nd(i,hh))return null}const o=t.aliases||Object.create(null);for(const r in o){const i=o[r],a=i.parent;if(!r.match(Rs)||typeof a!="string"||!n[a]&&!o[a]||!Nd(i,hh))return null}return t}const cb=Object.create(null);function N$(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function Ii(e,t){const n=cb[e]||(cb[e]=Object.create(null));return n[t]||(n[t]=N$(e,t))}function Hp(e,t){return ow(t)?nw(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 Ys=!1;function rw(e){return typeof e=="boolean"&&(Ys=e),Ys}function j$(e){const t=typeof e=="string"?Su(e,!0,Ys):e;if(t){const n=Ii(t.provider,t.prefix),o=t.name;return n.icons[o]||(n.missing.has(o)?null:void 0)}}function U$(e,t){const n=Su(e,!0,Ys);if(!n)return!1;const o=Ii(n.provider,n.prefix);return H$(o,n.name,t)}function V$(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Ys&&!t&&!e.prefix){let r=!1;return ow(e)&&(e.prefix="",nw(e,(i,a)=>{a&&U$(i,a)&&(r=!0)})),r}const n=e.prefix;if(!fc({provider:t,prefix:n,name:"a"}))return!1;const o=Ii(t,n);return!!Hp(o,e)}const iw=Object.freeze({width:null,height:null}),aw=Object.freeze({...iw,...$c}),W$=/(-?[0-9.]*[0-9]+[0-9.]*)/g,q$=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function ub(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}}function K$(e,t="defs"){let n="";const o=e.indexOf("<"+t);for(;o>=0;){const r=e.indexOf(">",o),i=e.indexOf("</"+t);if(r===-1||i===-1)break;const a=e.indexOf(">",i);if(a===-1)break;n+=e.slice(r+1,i).trim(),e=e.slice(0,o).trim()+e.slice(a+1)}return{defs:n,content:e}}function G$(e,t){return e?"<defs>"+e+"</defs>"+t:t}function X$(e,t,n){const o=K$(e);return G$(o.defs,t+o.content+n)}const Y$=e=>e==="unset"||e==="undefined"||e==="none";function Q$(e,t){const n={...ku,...e},o={...aw,...t},r={left:n.left,top:n.top,width:n.width,height:n.height};let i=n.body;[n,o].forEach(g=>{const m=[],b=g.hFlip,w=g.vFlip;let C=g.rotate;b?w?C+=2:(m.push("translate("+(r.width+r.left).toString()+" "+(0-r.top).toString()+")"),m.push("scale(-1 1)"),r.top=r.left=0):w&&(m.push("translate("+(0-r.left).toString()+" "+(r.height+r.top).toString()+")"),m.push("scale(1 -1)"),r.top=r.left=0);let _;switch(C<0&&(C-=Math.floor(C/4)*4),C=C%4,C){case 1:_=r.height/2+r.top,m.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:m.unshift("rotate(180 "+(r.width/2+r.left).toString()+" "+(r.height/2+r.top).toString()+")");break;case 3:_=r.width/2+r.left,m.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}C%2===1&&(r.left!==r.top&&(_=r.left,r.left=r.top,r.top=_),r.width!==r.height&&(_=r.width,r.width=r.height,r.height=_)),m.length&&(i=X$(i,'<g transform="'+m.join(" ")+'">',"</g>"))});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=ub(d,l/c)):(u=a==="auto"?l:a,d=s===null?ub(u,c/l):s==="auto"?c:s);const f={},h=(g,m)=>{Y$(m)||(f[g]=m.toString())};h("width",u),h("height",d);const p=[r.left,r.top,l,c];return f.viewBox=p.join(" "),{attributes:f,viewBox:p,body:i}}const J$=/\sid="(\S+)"/g,Z$="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let eI=0;function tI(e,t=Z$){const n=[];let o;for(;o=J$.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+(eI++).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 ph=Object.create(null);function nI(e,t){ph[e]=t}function mh(e){return ph[e]||ph[""]}function jp(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 Up=Object.create(null),cs=["https://api.simplesvg.com","https://api.unisvg.com"],hc=[];for(;cs.length>0;)cs.length===1||Math.random()>.5?hc.push(cs.shift()):hc.push(cs.pop());Up[""]=jp({resources:["https://api.iconify.design"].concat(hc)});function oI(e,t){const n=jp(t);return n===null?!1:(Up[e]=n,!0)}function Vp(e){return Up[e]}const rI=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let db=rI();function iI(e,t){const n=Vp(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 aI(e){return e===404}const sI=(e,t,n)=>{const o=[],r=iI(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 lI(e){if(typeof e=="string"){const t=Vp(e);if(t)return t.path}return"/"}const cI=(e,t,n)=>{if(!db){n("abort",424);return}let o=lI(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;db(e+o).then(i=>{const a=i.status;if(a!==200){setTimeout(()=>{n(aI(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)})},uI={prepare:sI,send:cI};function dI(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]=Ii(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 sw(e,t){e.forEach(n=>{const o=n.loaderCallbacks;o&&(n.loaderCallbacks=o.filter(r=>r.id!==t))})}function fI(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||sw([e],i.id),i.callback(a.loaded.slice(0),a.missing.slice(0),a.pending.slice(0),i.abort))})}))}let hI=0;function pI(e,t,n){const o=hI++,r=sw.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 mI(e,t=!0,n=!1){const o=[];return e.forEach(r=>{const i=typeof r=="string"?Su(r,t,n):r;i&&o.push(i)}),o}var gI={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function vI(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 y=e.resources.slice(0);for(a=[];y.length>1;){const x=Math.floor(Math.random()*y.length);a.push(y[x]),y=y.slice(0,x).concat(y.slice(x+1))}a=a.concat(y)}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=[],h=[];typeof o=="function"&&h.push(o);function p(){d&&(clearTimeout(d),d=null)}function g(){l==="pending"&&(l="aborted"),p(),f.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),f=[]}function m(y,x){x&&(h=[]),typeof y=="function"&&h.push(y)}function b(){return{startTime:s,payload:t,status:l,queriesSent:c,queriesPending:f.length,subscribe:m,abort:g}}function w(){l="failed",h.forEach(y=>{y(void 0,u)})}function C(){f.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),f=[]}function _(y,x,k){const P=x!=="success";switch(f=f.filter(T=>T!==y),l){case"pending":break;case"failed":if(P||!e.dataAfterTimeout)return;break;default:return}if(x==="abort"){u=k,w();return}if(P){u=k,f.length||(a.length?S():w());return}if(p(),C(),!e.random){const T=e.resources.indexOf(y.resource);T!==-1&&T!==e.index&&(e.index=T)}l="completed",h.forEach(T=>{T(k)})}function S(){if(l!=="pending")return;p();const y=a.shift();if(y===void 0){if(f.length){d=setTimeout(()=>{p(),l==="pending"&&(C(),w())},e.timeout);return}w();return}const x={status:"pending",resource:y,callback:(k,P)=>{_(x,k,P)}};f.push(x),c++,d=setTimeout(S,e.rotate),n(y,t,x.callback)}return setTimeout(S),b}function lw(e){const t={...gI,...e};let n=[];function o(){n=n.filter(s=>s().status==="pending")}function r(s,l,c){const u=vI(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 fb(){}const Hd=Object.create(null);function bI(e){if(!Hd[e]){const t=Vp(e);if(!t)return;const n=lw(t),o={config:t,redundancy:n};Hd[e]=o}return Hd[e]}function yI(e,t,n){let o,r;if(typeof e=="string"){const i=mh(e);if(!i)return n(void 0,424),fb;r=i.send;const a=bI(e);a&&(o=a.redundancy)}else{const i=jp(e);if(i){o=lw(i);const a=e.resources?e.resources[0]:"",s=mh(a);s&&(r=s.send)}}return!o||!r?(n(void 0,424),fb):o.query(t,r,n)().abort}const hb="iconify2",Qs="iconify",cw=Qs+"-count",pb=Qs+"-version",uw=36e5,xI=168,CI=50;function gh(e,t){try{return e.getItem(t)}catch{}}function Wp(e,t,n){try{return e.setItem(t,n),!0}catch{}}function mb(e,t){try{e.removeItem(t)}catch{}}function vh(e,t){return Wp(e,cw,t.toString())}function bh(e){return parseInt(gh(e,cw))||0}const Pu={local:!0,session:!0},dw={local:new Set,session:new Set};let qp=!1;function wI(e){qp=e}let Ol=typeof window>"u"?{}:window;function fw(e){const t=e+"Storage";try{if(Ol&&Ol[t]&&typeof Ol[t].length=="number")return Ol[t]}catch{}Pu[e]=!1}function hw(e,t){const n=fw(e);if(!n)return;const o=gh(n,pb);if(o!==hb){if(o){const s=bh(n);for(let l=0;l<s;l++)mb(n,Qs+l.toString())}Wp(n,pb,hb),vh(n,0);return}const r=Math.floor(Date.now()/uw)-xI,i=s=>{const l=Qs+s.toString(),c=gh(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{}mb(n,l)}};let a=bh(n);for(let s=a-1;s>=0;s--)i(s)||(s===a-1?(a--,vh(n,a)):dw[e].add(s))}function pw(){if(!qp){wI(!0);for(const e in Pu)hw(e,t=>{const n=t.data,o=t.provider,r=n.prefix,i=Ii(o,r);if(!Hp(i,n).length)return!1;const a=n.lastModified||-1;return i.lastModifiedCached=i.lastModifiedCached?Math.min(i.lastModifiedCached,a):a,!0})}}function _I(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const o in Pu)hw(o,r=>{const i=r.data;return r.provider!==e.provider||i.prefix!==e.prefix||i.lastModified===t});return!0}function SI(e,t){qp||pw();function n(o){let r;if(!Pu[o]||!(r=fw(o)))return;const i=dw[o];let a;if(i.size)i.delete(a=Array.from(i).shift());else if(a=bh(r),a>=CI||!vh(r,a+1))return;const s={cached:Math.floor(Date.now()/uw),provider:e.provider,data:t};return Wp(r,Qs+a.toString(),JSON.stringify(s))}t.lastModified&&!_I(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function gb(){}function kI(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,fI(e)}))}function PI(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=mh(n)))return;i.prepare(n,o,r).forEach(s=>{yI(n,s,l=>{if(typeof l!="object")s.icons.forEach(c=>{e.missing.add(c)});else try{const c=Hp(e,l);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),SI(e,l)}catch(c){console.error(c)}kI(e)})})}))}const TI=(e,t)=>{const n=mI(e,!0,rw()),o=dI(n);if(!o.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(o.loaded,o.missing,o.pending,gb)}),()=>{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(Ii(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=Ii(c,u),h=f.pendingIcons||(f.pendingIcons=new Set);h.has(d)||(h.add(d),r[c][u].push(d))}),i.forEach(l=>{const{provider:c,prefix:u}=l;r[c][u].length&&PI(l,r[c][u])}),t?pI(t,o,i):gb};function AI(e,t){const n={...e};for(const o in t){const r=t[o],i=typeof r;o in iw?(r===null||r&&(i==="string"||i==="number"))&&(n[o]=r):i===typeof n[o]&&(n[o]=o==="rotate"?r%4:r)}return n}const RI=/[\s,]+/;function EI(e,t){t.split(RI).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function $I(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 II(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'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function OI(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function MI(e){return"data:image/svg+xml,"+OI(e)}function zI(e){return'url("'+MI(e)+'")'}const vb={...aw,inline:!1},LI={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},FI={display:"inline-block"},yh={backgroundColor:"currentColor"},mw={backgroundColor:"transparent"},bb={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},yb={webkitMask:yh,mask:yh,background:mw};for(const e in yb){const t=yb[e];for(const n in bb)t[e+n]=bb[n]}const pc={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";pc[e+"-flip"]=t,pc[e.slice(0,1)+"-flip"]=t,pc[e+"Flip"]=t});function xb(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const Cb=(e,t)=>{const n=AI(vb,t),o={...LI},r=t.mode||"svg",i={},a=t.style,s=typeof a=="object"&&!(a instanceof Array)?a:{};for(let g in t){const m=t[g];if(m!==void 0)switch(g){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[g]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&EI(n,m);break;case"color":i.color=m;break;case"rotate":typeof m=="string"?n[g]=$I(m):typeof m=="number"&&(n[g]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete o["aria-hidden"];break;default:{const b=pc[g];b?(m===!0||m==="true"||m===1)&&(n[b]=!0):vb[g]===void 0&&(o[g]=m)}}}const l=Q$(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,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),o.innerHTML=tI(l.body,m?()=>m+"ID"+g++:"iconifyVue"),v("svg",o)}const{body:u,width:d,height:f}=e,h=r==="mask"||(r==="bg"?!1:u.indexOf("currentColor")!==-1),p=II(u,{...c,width:d+"",height:f+""});return o.style={...i,"--svg":zI(p),width:xb(c.width),height:xb(c.height),...FI,...h?yh:mw,...s},v("span",o)};rw(!0);nI("",uI);if(typeof document<"u"&&typeof window<"u"){pw();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"||!V$(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;oI(n,r)||console.error(o)}catch{console.error(o)}}}}const DI={...ku,body:""},BI=Ce({inheritAttrs:!1,data(){return{_name:"",_loadingIcon:null,iconMounted:!1,counter:0}},mounted(){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=Su(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:TI([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||e.ssr?this.getIcon(e.icon,e.onLoad):null;if(!t)return Cb(DI,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),Cb({...ku,...t.data},n)}});let Ic=[];const gw=new WeakMap;function NI(){Ic.forEach(e=>e(...gw.get(e))),Ic=[]}function Oc(e,...t){gw.set(e,t),!Ic.includes(e)&&Ic.push(e)===1&&requestAnimationFrame(NI)}function HI(e){return e.nodeType===9?null:e.parentNode}function vw(e){if(e===null)return null;const t=HI(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 vw(t)}function jI(e){return typeof e=="string"?document.querySelector(e):typeof e=="function"?e():e}function lo(e,t){let{target:n}=e;for(;n;){if(n.dataset&&n.dataset[t]!==void 0)return!0;n=n.parentElement}return!1}function Oi(e){return e.composedPath()[0]||null}function bn(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 co(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 UI(e,t){const[n,o]=e.split(" ");return t?t==="row"?n:o:{row:n,col:o||n}}const wb={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"},ja="^\\s*",Ua="\\s*$",bi="\\s*((\\.\\d+)|(\\d+(\\.\\d*)?))\\s*",yi="([0-9A-Fa-f])",xi="([0-9A-Fa-f]{2})",VI=new RegExp(`${ja}rgb\\s*\\(${bi},${bi},${bi}\\)${Ua}`),WI=new RegExp(`${ja}rgba\\s*\\(${bi},${bi},${bi},${bi}\\)${Ua}`),qI=new RegExp(`${ja}#${yi}${yi}${yi}${Ua}`),KI=new RegExp(`${ja}#${xi}${xi}${xi}${Ua}`),GI=new RegExp(`${ja}#${yi}${yi}${yi}${yi}${Ua}`),XI=new RegExp(`${ja}#${xi}${xi}${xi}${xi}${Ua}`);function Nn(e){return parseInt(e,16)}function qo(e){try{let t;if(t=KI.exec(e))return[Nn(t[1]),Nn(t[2]),Nn(t[3]),1];if(t=VI.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),1];if(t=WI.exec(e))return[Rn(t[1]),Rn(t[5]),Rn(t[9]),Es(t[13])];if(t=qI.exec(e))return[Nn(t[1]+t[1]),Nn(t[2]+t[2]),Nn(t[3]+t[3]),1];if(t=XI.exec(e))return[Nn(t[1]),Nn(t[2]),Nn(t[3]),Es(Nn(t[4])/255)];if(t=GI.exec(e))return[Nn(t[1]+t[1]),Nn(t[2]+t[2]),Nn(t[3]+t[3]),Es(Nn(t[4]+t[4])/255)];if(e in wb)return qo(wb[e]);throw new Error(`[seemly/rgba]: Invalid color value ${e}.`)}catch(t){throw t}}function YI(e){return e>1?1:e<0?0:e}function xh(e,t,n,o){return`rgba(${Rn(e)}, ${Rn(t)}, ${Rn(n)}, ${YI(o)})`}function jd(e,t,n,o,r){return Rn((e*t*(1-o)+n*o)/r)}function Ke(e,t){Array.isArray(e)||(e=qo(e)),Array.isArray(t)||(t=qo(t));const n=e[3],o=t[3],r=Es(n+o-n*o);return xh(jd(e[0],n,t[0],o,r),jd(e[1],n,t[1],o,r),jd(e[2],n,t[2],o,r),r)}function ze(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:qo(e);return t.alpha?xh(n,o,r,t.alpha):xh(n,o,r,i)}function un(e,t){const[n,o,r,i=1]=Array.isArray(e)?e:qo(e),{lightness:a=1,alpha:s=1}=t;return QI([n*a,o*a,r*a,i*s])}function Es(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 QI(e){const[t,n,o]=e;return 3 in e?`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, ${Es(e[3])})`:`rgba(${Rn(t)}, ${Rn(n)}, ${Rn(o)}, 1)`}function Zr(e=8){return Math.random().toString(16).slice(2,2+e)}function bw(e,t){const n=[];for(let o=0;o<e;++o)n.push(t);return n}function JI(e,t){const n=[];if(!t){for(let o=0;o<e;++o)n.push(o);return n}for(let o=0;o<e;++o)n.push(t(o));return n}function yw(e,t="default",n=[]){const r=e.$slots[t];return r===void 0?n:r()}function eo(e,t=[],n){const o={};return t.forEach(r=>{o[r]=e[r]}),Object.assign(o,n)}function Va(e,t=[],n){const o={};return Object.getOwnPropertyNames(e).forEach(i=>{t.includes(i)||(o[i]=e[i])}),Object.assign(o,n)}function Ra(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){Ra(o,t,n);return}if(o.type===rt){if(o.children===null)return;Array.isArray(o.children)&&Ra(o.children,t,n)}else{if(o.type===_n&&t)return;n.push(o)}}}),n}function $e(e,...t){if(Array.isArray(e))e.forEach(n=>$e(n,...t));else return e(...t)}function ei(e){return Object.keys(e)}function Vt(e,...t){return typeof e=="function"?e(...t):typeof e=="string"?nt(e):typeof e=="number"?nt(String(e)):null}function cr(e,t){console.error(`[naive/${e}]: ${t}`)}function hr(e,t){throw new Error(`[naive/${e}]: ${t}`)}function _b(e){switch(e){case"tiny":return"mini";case"small":return"tiny";case"medium":return"small";case"large":return"medium";case"huge":return"large"}throw new Error(`${e} has no smaller size.`)}function Sb(e){switch(typeof e){case"string":return e||void 0;case"number":return String(e);default:return}}function Ch(e,t="default",n=void 0){const o=e[t];if(!o)return cr("getFirstSlotVNode",`slot[${t}] is empty`),null;const r=Ra(o(n));return r.length===1?r[0]:(cr("getFirstSlotVNode",`slot[${t}] should have exactly one child`),null)}function xw(e){return t=>{t?e.value=t.$el:e.value=null}}function So(e){return e.some(t=>Us(t)?!(t.type===_n||t.type===rt&&!So(t.children)):!0)?e:null}function $n(e,t){return e&&So(e())||t()}function wh(e,t,n){return e&&So(e(t))||n(t)}function Et(e,t){const n=e&&So(e());return t(n||null)}function ga(e){return!(e&&So(e()))}function $s(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 _h=Ce({render(){var e,t;return(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)}}),ZI=/^(\d|\.)+$/,kb=/(\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(ZI.test(e)){const r=(Number(e)+n)*t;return o?r===0?"0":`${r}px`:`${r}`}else{const r=kb.exec(e);return r?e.replace(kb,String((Number(r[0])+n)*t)):e}return e}function Mc(e){return e.replace(/#|\(|\)|,|\s|\./g,"_")}function e8(e){const{left:t,right:n,top:o,bottom:r}=co(e);return`${o} ${n} ${r} ${t}`}function t8(e){let t=0;for(let n=0;n<e.length;++n)e[n]==="&"&&++t;return t}const Cw=/\s*,(?![^(]*\))\s*/g,n8=/\s+/g;function o8(e,t){const n=[];return t.split(Cw).forEach(o=>{let r=t8(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 r8(e,t){const n=[];return t.split(Cw).forEach(o=>{e.forEach(r=>{n.push((r&&r+" ")+o)})}),n}function i8(e){let t=[""];return e.forEach(n=>{n=n&&n.trim(),n&&(n.includes("&")?t=o8(t,n):t=r8(t,n))}),t.join(", ").replace(n8," ")}function Pb(e){if(!e)return;const t=e.parentElement;t&&t.removeChild(e)}function Tu(e){return document.querySelector(`style[cssr-id="${e}"]`)}function a8(e){const t=document.createElement("style");return t.setAttribute("cssr-id",e),t}function Ml(e){return e?/^\s*@(s|m)/.test(e):!1}const s8=/[A-Z]/g;function ww(e){return e.replace(s8,t=>"-"+t.toLowerCase())}function l8(e,t=" "){return typeof e=="object"&&e!==null?` {
|
||
`+Object.entries(e).map(n=>t+` ${ww(n[0])}: ${n[1]};`).join(`
|
||
`)+`
|
||
`+t+"}":`: ${e};`}function c8(e,t,n){return typeof e=="function"?e({context:t.context,props:n}):e}function Tb(e,t,n,o){if(!t)return"";const r=c8(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=ww(s),l!=null&&a.push(` ${s}${l8(l)}`)}),e&&a.push("}"),a.join(`
|
||
`)}function Sh(e,t,n){e&&e.forEach(o=>{if(Array.isArray(o))Sh(o,t,n);else if(typeof o=="function"){const r=o(t);Array.isArray(r)?Sh(r,t,n):r&&n(r)}else o&&n(o)})}function _w(e,t,n,o,r,i){const a=e.$;let s="";if(!a||typeof a=="string")Ml(a)?s=a:t.push(a);else if(typeof a=="function"){const u=a({context:o.context,props:r});Ml(u)?s=u:t.push(u)}else if(a.before&&a.before(o.context),!a.$||typeof a.$=="string")Ml(a.$)?s=a.$:t.push(a.$);else if(a.$){const u=a.$({context:o.context,props:r});Ml(u)?s=u:t.push(u)}const l=i8(t),c=Tb(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&&Sh(e.children,{context:o.context,props:r},u=>{if(typeof u=="string"){const d=Tb(l,{raw:u},o,r);i?i.insertRule(d):n.push(d)}else _w(u,t,n,o,r,i)}),t.pop(),s&&n.push("}"),a&&a.after&&a.after(o.context)}function Sw(e,t,n,o=!1){const r=[];return _w(e,[],r,t,n,o?e.instance.__styleSheet:void 0),o?"":r.join(`
|
||
|
||
`)}function Js(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 u8(e,t,n){const{els:o}=t;if(n===void 0)o.forEach(Pb),t.els=[];else{const r=Tu(n);r&&o.includes(r)&&(Pb(r),t.els=o.filter(i=>i!==r))}}function Ab(e,t){e.push(t)}function d8(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,Sw(t,e,o,i));return}let c;if(n===void 0&&(c=t.render(o),n=Js(c)),l){l.adapter(n,c??t.render(o));return}const u=Tu(n);if(u!==null&&!a)return u;const d=u??a8(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),Ab(t.els,d),d}return r?document.head.insertBefore(d,document.head.querySelector("style, link")):document.head.appendChild(d),Ab(t.els,d),d}function f8(e){return Sw(this,this.instance,e)}function h8(e={}){const{id:t,ssr:n,props:o,head:r=!1,silent:i=!1,force:a=!1,anchorMetaName:s}=e;return d8(this.instance,this,t,o,r,i,a,s,n)}function p8(e={}){const{id:t}=e;u8(this.instance,this,t)}const zl=function(e,t,n,o){return{instance:e,$:t,props:n,children:o,els:[],render:f8,mount:h8,unmount:p8}},m8=function(e,t,n,o){return Array.isArray(t)?zl(e,{$:null},null,t):Array.isArray(n)?zl(e,t,null,n):Array.isArray(o)?zl(e,t,n,o):zl(e,t,n,null)};function kw(e={}){let t=null;const n={c:(...o)=>m8(n,...o),use:(o,...r)=>o.install(n,...r),find:Tu,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 g8(e,t){if(e===void 0)return!1;if(t){const{context:{ids:n}}=t;return n.has(e)}return Tu(e)!==null}function v8(e){let t=".",n="__",o="--",r;if(e){let p=e.blockPrefix;p&&(t=p),p=e.elementPrefix,p&&(n=p),p=e.modifierPrefix,p&&(o=p)}const i={install(p){r=p.c;const g=p.context;g.bem={},g.bem.b=null,g.bem.els=null}};function a(p){let g,m;return{before(b){g=b.bem.b,m=b.bem.els,b.bem.els=null},after(b){b.bem.b=g,b.bem.els=m},$({context:b,props:w}){return p=typeof p=="string"?p:p({context:b,props:w}),b.bem.b=p,`${(w==null?void 0:w.bPrefix)||t}${b.bem.b}`}}}function s(p){let g;return{before(m){g=m.bem.els},after(m){m.bem.els=g},$({context:m,props:b}){return p=typeof p=="string"?p:p({context:m,props:b}),m.bem.els=p.split(",").map(w=>w.trim()),m.bem.els.map(w=>`${(b==null?void 0:b.bPrefix)||t}${m.bem.b}${n}${w}`).join(", ")}}}function l(p){return{$({context:g,props:m}){p=typeof p=="string"?p:p({context:g,props:m});const b=p.split(",").map(_=>_.trim());function w(_){return b.map(S=>`&${(m==null?void 0:m.bPrefix)||t}${g.bem.b}${_!==void 0?`${n}${_}`:""}${o}${S}`).join(", ")}const C=g.bem.els;return C!==null?w(C[0]):w()}}}function c(p){return{$({context:g,props:m}){p=typeof p=="string"?p:p({context:g,props:m});const b=g.bem.els;return`&:not(${(m==null?void 0:m.bPrefix)||t}${g.bem.b}${b!==null&&b.length>0?`${n}${b[0]}`:""}${o}${p})`}}}return Object.assign(i,{cB:(...p)=>r(a(p[0]),p[1],p[2]),cE:(...p)=>r(s(p[0]),p[1],p[2]),cM:(...p)=>r(l(p[0]),p[1],p[2]),cNotM:(...p)=>r(c(p[0]),p[1],p[2])}),i}const b8="n",Zs=`.${b8}-`,y8="__",x8="--",Pw=kw(),Tw=v8({blockPrefix:Zs,elementPrefix:y8,modifierPrefix:x8});Pw.use(Tw);const{c:W,find:uNe}=Pw,{cB:z,cE:U,cM:J,cNotM:At}=Tw;function cl(e){return W(({props:{bPrefix:t}})=>`${t||Zs}modal, ${t||Zs}drawer`,[e])}function Au(e){return W(({props:{bPrefix:t}})=>`${t||Zs}popover`,[e])}function Aw(e){return W(({props:{bPrefix:t}})=>`&${t||Zs}modal`,e)}const C8=(...e)=>W(">",[z(...e)]);function Re(e,t){return e+(t==="default"?"":t.replace(/^[a-z]/,n=>n.toUpperCase()))}let Ud;function w8(){return Ud===void 0&&(Ud=navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom")),Ud}const pr=typeof document<"u"&&typeof window<"u",Rw=new WeakSet;function _8(e){Rw.add(e)}function Ew(e){return!Rw.has(e)}function S8(e,t,n){if(!t)return e;const o=j(e.value);let r=null;return ut(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 k8(e){const t=j(!!e.value);if(t.value)return uo(t);const n=ut(e,o=>{o&&(t.value=!0,n())});return uo(t)}function kt(e){const t=O(e),n=j(t.value);return ut(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 no()!==null}const Gp=typeof window<"u";let va,Is;const P8=()=>{var e,t;va=Gp?(t=(e=document)===null||e===void 0?void 0:e.fonts)===null||t===void 0?void 0:t.ready:void 0,Is=!1,va!==void 0?va.then(()=>{Is=!0}):Is=!0};P8();function T8(e){if(Is)return;let t=!1;jt(()=>{Is||va==null||va.then(()=>{t||e()})}),on(()=>{t=!0})}function mc(e){return e.composedPath()[0]}const A8={mousemoveoutside:new WeakMap,clickoutside:new WeakMap};function R8(e,t,n){if(e==="mousemoveoutside"){const o=r=>{t.contains(mc(r))||n(r)};return{mousemove:o,touchstart:o}}else if(e==="clickoutside"){let o=!1;const r=a=>{o=!t.contains(mc(a))},i=a=>{o&&(t.contains(mc(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 $w(e,t,n){const o=A8[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=R8(e,t,n)),i}function E8(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=$w(e,t,n);return Object.keys(r).forEach(i=>{$t(i,document,r[i],o)}),!0}return!1}function $8(e,t,n,o){if(e==="mousemoveoutside"||e==="clickoutside"){const r=$w(e,t,n);return Object.keys(r).forEach(i=>{Tt(i,document,r[i],o)}),!0}return!1}function I8(){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(x,k,P){const T=x[k];return x[k]=function(){return P.apply(x,arguments),T.apply(x,arguments)},x}function i(x,k){x[k]=Event.prototype[k]}const a=new WeakMap,s=Object.getOwnPropertyDescriptor(Event.prototype,"currentTarget");function l(){var x;return(x=a.get(this))!==null&&x!==void 0?x:null}function c(x,k){s!==void 0&&Object.defineProperty(x,"currentTarget",{configurable:!0,enumerable:!0,get:k??s.get})}const u={bubble:{},capture:{}},d={};function f(){const x=function(k){const{type:P,eventPhase:T,bubbles:E}=k,R=mc(k);if(T===2)return;const q=T===1?"capture":"bubble";let L=R;const D=[];for(;L===null&&(L=window),D.push(L),L!==window;)L=L.parentNode||null;const F=u.capture[P],K=u.bubble[P];if(r(k,"stopPropagation",n),r(k,"stopImmediatePropagation",o),c(k,l),q==="capture"){if(F===void 0)return;for(let V=D.length-1;V>=0&&!e.has(k);--V){const le=D[V],me=F.get(le);if(me!==void 0){a.set(k,le);for(const ee of me){if(t.has(k))break;ee(k)}}if(V===0&&!E&&K!==void 0){const ee=K.get(le);if(ee!==void 0)for(const N of ee){if(t.has(k))break;N(k)}}}}else if(q==="bubble"){if(K===void 0)return;for(let V=0;V<D.length&&!e.has(k);++V){const le=D[V],me=K.get(le);if(me!==void 0){a.set(k,le);for(const ee of me){if(t.has(k))break;ee(k)}}}}i(k,"stopPropagation"),i(k,"stopImmediatePropagation"),c(k)};return x.displayName="evtdUnifiedHandler",x}function h(){const x=function(k){const{type:P,eventPhase:T}=k;if(T!==2)return;const E=d[P];E!==void 0&&E.forEach(R=>R(k))};return x.displayName="evtdUnifiedWindowEventHandler",x}const p=f(),g=h();function m(x,k){const P=u[x];return P[k]===void 0&&(P[k]=new Map,window.addEventListener(k,p,x==="capture")),P[k]}function b(x){return d[x]===void 0&&(d[x]=new Set,window.addEventListener(x,g)),d[x]}function w(x,k){let P=x.get(k);return P===void 0&&x.set(k,P=new Set),P}function C(x,k,P,T){const E=u[k][P];if(E!==void 0){const R=E.get(x);if(R!==void 0&&R.has(T))return!0}return!1}function _(x,k){const P=d[x];return!!(P!==void 0&&P.has(k))}function S(x,k,P,T){let E;if(typeof T=="object"&&T.once===!0?E=F=>{y(x,k,E,T),P(F)}:E=P,E8(x,k,E,T))return;const q=T===!0||typeof T=="object"&&T.capture===!0?"capture":"bubble",L=m(q,x),D=w(L,k);if(D.has(E)||D.add(E),k===window){const F=b(x);F.has(E)||F.add(E)}}function y(x,k,P,T){if($8(x,k,P,T))return;const R=T===!0||typeof T=="object"&&T.capture===!0,q=R?"capture":"bubble",L=m(q,x),D=w(L,k);if(k===window&&!C(k,R?"bubble":"capture",x,P)&&_(x,P)){const K=d[x];K.delete(P),K.size===0&&(window.removeEventListener(x,g),d[x]=void 0)}D.has(P)&&D.delete(P),D.size===0&&L.delete(k),L.size===0&&(window.removeEventListener(x,p,q==="capture"),u[q][x]=void 0)}return{on:S,off:y}}const{on:$t,off:Tt}=I8(),ms=j(null);function Rb(e){if(e.clientX>0||e.clientY>0)ms.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?ms.value={x:n+r/2,y:o+i/2}:ms.value={x:0,y:0}}else ms.value=null}}let Ll=0,Eb=!0;function zc(){if(!Gp)return uo(j(null));Ll===0&&$t("click",document,Rb,!0);const e=()=>{Ll+=1};return Eb&&(Eb=Kp())?(hn(e),on(()=>{Ll-=1,Ll===0&&Tt("click",document,Rb,!0)})):e(),uo(ms)}const O8=j(void 0);let Fl=0;function $b(){O8.value=Date.now()}let Ib=!0;function Lc(e){if(!Gp)return uo(j(!1));const t=j(!1);let n=null;function o(){n!==null&&window.clearTimeout(n)}function r(){o(),t.value=!0,n=window.setTimeout(()=>{t.value=!1},e)}Fl===0&&$t("click",window,$b,!0);const i=()=>{Fl+=1,$t("click",window,r,!0)};return Ib&&(Ib=Kp())?(hn(i),on(()=>{Fl-=1,Fl===0&&Tt("click",window,$b,!0),Tt("click",window,r,!0),o()})):i(),uo(t)}function rn(e,t){return ut(e,n=>{n!==void 0&&(t.value=n)}),O(()=>e.value===void 0?t.value:e.value)}function ti(){const e=j(!1);return jt(()=>{e.value=!0}),uo(e)}function Ru(e,t){return O(()=>{for(const n of t)if(e[n]!==void 0)return e[n];return e[t[t.length-1]]})}const M8=(typeof window>"u"?!1:/iPad|iPhone|iPod/.test(navigator.platform)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!window.MSStream;function z8(){return M8}function L8(e={},t){const n=to({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)&&($t("keydown",document,i),$t("keyup",document,a)),t!==void 0&&ut(t,l=>{l?($t("keydown",document,i),$t("keyup",document,a)):(Tt("keydown",document,i),Tt("keyup",document,a))})};return Kp()?(hn(s),on(()=>{(t===void 0||t.value)&&(Tt("keydown",document,i),Tt("keyup",document,a))})):s(),uo(n)}const Xp="n-internal-select-menu",Iw="n-internal-select-menu-body",ul="n-modal-body",F8="n-modal-provider",Ow="n-modal",dl="n-drawer-body",Yp="n-drawer",Wa="n-popover-body",Mw="__disabled__";function Ko(e){const t=Ve(ul,null),n=Ve(dl,null),o=Ve(Wa,null),r=Ve(Iw,null),i=j();if(typeof document<"u"){i.value=document.fullscreenElement;const a=()=>{i.value=document.fullscreenElement};jt(()=>{$t("fullscreenchange",document,a)}),on(()=>{Tt("fullscreenchange",document,a)})}return kt(()=>{var a;const{to:s}=e;return s!==void 0?s===!1?Mw: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")})}Ko.tdkey=Mw;Ko.propTo={type:[String,Object,Boolean],default:void 0};let Ob=!1;function D8(){if(pr&&window.CSS&&!Ob&&(Ob=!0,"registerProperty"in(window==null?void 0:window.CSS)))try{CSS.registerProperty({name:"--n-color-start",syntax:"<color>",inherits:!1,initialValue:"#0000"}),CSS.registerProperty({name:"--n-color-end",syntax:"<color>",inherits:!1,initialValue:"#0000"})}catch{}}function kh(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);return o()}function Ph(e,t=!0,n=[]){return e.forEach(o=>{if(o!==null){if(typeof o!="object"){(typeof o=="string"||typeof o=="number")&&n.push(nt(String(o)));return}if(Array.isArray(o)){Ph(o,t,n);return}if(o.type===rt){if(o.children===null)return;Array.isArray(o.children)&&Ph(o.children,t,n)}else o.type!==_n&&n.push(o)}}),n}function Mb(e,t,n="default"){const o=t[n];if(o===void 0)throw new Error(`[vueuc/${e}]: slot[${n}] is empty.`);const r=Ph(o());if(r.length===1)return r[0];throw new Error(`[vueuc/${e}]: slot[${n}] should have exactly one child.`)}let Pr=null;function zw(){if(Pr===null&&(Pr=document.getElementById("v-binder-view-measurer"),Pr===null)){Pr=document.createElement("div"),Pr.id="v-binder-view-measurer";const{style:e}=Pr;e.position="fixed",e.left="0",e.right="0",e.top="0",e.bottom="0",e.pointerEvents="none",e.visibility="hidden",document.body.appendChild(Pr)}return Pr.getBoundingClientRect()}function B8(e,t){const n=zw();return{top:t,left:e,height:0,width:0,right:n.width-e,bottom:n.height-t}}function Vd(e){const t=e.getBoundingClientRect(),n=zw();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 N8(e){return e.nodeType===9?null:e.parentNode}function Lw(e){if(e===null)return null;const t=N8(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 Lw(t)}const H8=Ce({name:"Binder",props:{syncTargetWithParent:Boolean,syncTarget:{type:Boolean,default:!0}},setup(e){var t;at("VBinder",(t=no())===null||t===void 0?void 0:t.proxy);const n=Ve("VBinder",null),o=j(null),r=b=>{o.value=b,n&&e.syncTargetWithParent&&n.setTargetRef(b)};let i=[];const a=()=>{let b=o.value;for(;b=Lw(b),b!==null;)i.push(b);for(const w of i)$t("scroll",w,d,!0)},s=()=>{for(const b of i)Tt("scroll",b,d,!0);i=[]},l=new Set,c=b=>{l.size===0&&a(),l.has(b)||l.add(b)},u=b=>{l.has(b)&&l.delete(b),l.size===0&&s()},d=()=>{Oc(f)},f=()=>{l.forEach(b=>b())},h=new Set,p=b=>{h.size===0&&$t("resize",window,m),h.has(b)||h.add(b)},g=b=>{h.has(b)&&h.delete(b),h.size===0&&Tt("resize",window,m)},m=()=>{h.forEach(b=>b())};return on(()=>{Tt("resize",window,m),s()}),{targetRef:o,setTargetRef:r,addScrollListener:c,removeScrollListener:u,addResizeListener:p,removeResizeListener:g}},render(){return kh("binder",this.$slots)}}),Qp=H8,Jp=Ce({name:"Target",setup(){const{setTargetRef:e,syncTarget:t}=Ve("VBinder");return{syncTarget:t,setTargetDirective:{mounted:e,updated:e}}},render(){const{syncTarget:e,setTargetDirective:t}=this;return e?dn(Mb("follower",this.$slots),[[t]]):Mb("follower",this.$slots)}}),na="@@mmoContext",j8={mounted(e,{value:t}){e[na]={handler:void 0},typeof t=="function"&&(e[na].handler=t,$t("mousemoveoutside",e,t))},updated(e,{value:t}){const n=e[na];typeof t=="function"?n.handler?n.handler!==t&&(Tt("mousemoveoutside",e,n.handler),n.handler=t,$t("mousemoveoutside",e,t)):(e[na].handler=t,$t("mousemoveoutside",e,t)):n.handler&&(Tt("mousemoveoutside",e,n.handler),n.handler=void 0)},unmounted(e){const{handler:t}=e[na];t&&Tt("mousemoveoutside",e,t),e[na].handler=void 0}},U8=j8,oa="@@coContext",V8={mounted(e,{value:t,modifiers:n}){e[oa]={handler:void 0},typeof t=="function"&&(e[oa].handler=t,$t("clickoutside",e,t,{capture:n.capture}))},updated(e,{value:t,modifiers:n}){const o=e[oa];typeof t=="function"?o.handler?o.handler!==t&&(Tt("clickoutside",e,o.handler,{capture:n.capture}),o.handler=t,$t("clickoutside",e,t,{capture:n.capture})):(e[oa].handler=t,$t("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[oa];n&&Tt("clickoutside",e,n,{capture:t.capture}),e[oa].handler=void 0}},Ea=V8;function W8(e,t){console.error(`[vdirs/${e}]: ${t}`)}class q8{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&&W8("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 Wd=new q8,ra="@@ziContext",K8={mounted(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n;e[ra]={enabled:!!r,initialized:!1},r&&(Wd.ensureZIndex(e,o),e[ra].initialized=!0)},updated(e,t){const{value:n={}}=t,{zIndex:o,enabled:r}=n,i=e[ra].enabled;r&&!i&&(Wd.ensureZIndex(e,o),e[ra].initialized=!0),e[ra].enabled=!!r},unmounted(e,t){if(!e[ra].initialized)return;const{value:n={}}=t,{zIndex:o}=n;Wd.unregister(e,o)}},Eu=K8,Fw=Symbol("@css-render/vue3-ssr");function G8(e,t){return`<style cssr-id="${e}">
|
||
${t}
|
||
</style>`}function X8(e,t){const n=Ve(Fw,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(G8(e,t)))}const Y8=typeof document<"u";function Bi(){if(Y8)return;const e=Ve(Fw,null);if(e!==null)return{adapter:X8,context:e}}function zb(e,t){console.error(`[vueuc/${e}]: ${t}`)}const{c:Fr}=kw(),Zp="vueuc-style";function Lb(e){return e&-e}class Q8{constructor(t,n){this.l=t,this.min=n;const o=new Array(t+1);for(let r=0;r<t+1;++r)o[r]=0;this.ft=o}add(t,n){if(n===0)return;const{l:o,ft:r}=this;for(t+=1;t<=o;)r[t]+=n,t+=Lb(t)}get(t){return this.sum(t+1)-this.sum(t)}sum(t){if(t===void 0&&(t=this.l),t<=0)return 0;const{ft:n,min:o,l:r}=this;if(t>r)throw new Error("[FinweckTree.sum]: `i` is larger than length.");let i=t*o;for(;t>0;)i+=n[t],t-=Lb(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<t){if(n===r)return this.sum(n+1)<=t?n+1:r;n=r}else return r}return n}}function Fb(e){return typeof e=="string"?document.querySelector(e):e()}const $u=Ce({name:"LazyTeleport",props:{to:{type:[String,Object],default:void 0},disabled:Boolean,show:{type:Boolean,required:!0}},setup(e){return{showTeleport:k8(Ue(e,"show")),mergedTo:O(()=>{const{to:t}=e;return t??"body"})}},render(){return this.showTeleport?this.disabled?kh("lazy-teleport",this.$slots):v(iu,{disabled:this.disabled,to:this.mergedTo},kh("lazy-teleport",this.$slots)):null}}),Dl={top:"bottom",bottom:"top",left:"right",right:"left"},Db={start:"end",center:"center",end:"start"},qd={top:"height",bottom:"height",left:"width",right:"width"},J8={"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"},Z8={"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"},eO={"bottom-start":"right","bottom-end":"left","top-start":"right","top-end":"left","right-start":"bottom","right-end":"top","left-start":"bottom","left-end":"top"},Bb={top:!0,bottom:!1,left:!0,right:!1},Nb={top:"end",bottom:"start",left:"end",right:"start"};function tO(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=(h,p,g)=>{let m=0,b=0;const w=n[h]-t[p]-t[h];return w>0&&o&&(g?b=Bb[p]?w:-w:m=Bb[p]?w:-w),{left:m,top:b}},d=a==="left"||a==="right";if(l!=="center"){const h=eO[e],p=Dl[h],g=qd[h];if(n[g]>t[g]){if(t[h]+t[g]<n[g]){const m=(n[g]-t[g])/2;t[h]<m||t[p]<m?t[h]<t[p]?(l=Db[s],c=u(g,p,d)):c=u(g,h,d):l="center"}}else n[g]<t[g]&&t[p]<0&&t[h]>t[p]&&(l=Db[s])}else{const h=a==="bottom"||a==="top"?"left":"top",p=Dl[h],g=qd[h],m=(n[g]-t[g])/2;(t[h]<m||t[p]<m)&&(t[h]>t[p]?(l=Nb[h],c=u(g,h,d)):(l=Nb[p],c=u(g,p,d)))}let f=a;return t[a]<n[qd[a]]&&t[a]<t[Dl[a]]&&(f=Dl[a]),{placement:l!=="center"?`${f}-${l}`:f,left:c.left,top:c.top}}function nO(e,t){return t?Z8[e]:J8[e]}function oO(e,t,n,o,r,i){if(i)switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"top-end":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%)"};case"right-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left)}px`,transform:""};case"left-end":return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left+n.width)}px`,transform:"translateX(-100%) translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2)}px`,left:`${Math.round(n.left-t.left)}px`,transform:"translateY(-50%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height)}px`,left:`${Math.round(n.left-t.left+n.width/2)}px`,transform:"translateX(-50%) translateY(-100%)"}}switch(e){case"bottom-start":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:""};case"bottom-end":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateX(-100%)"};case"top-start":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateY(-100%)"};case"top-end":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateX(-100%) translateY(-100%)"};case"right-start":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:""};case"right-end":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateY(-100%)"};case"left-start":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateX(-100%)"};case"left-end":return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateX(-100%) translateY(-100%)"};case"top":return{top:`${Math.round(n.top-t.top+o)}px`,left:`${Math.round(n.left-t.left+n.width/2+r)}px`,transform:"translateY(-100%) translateX(-50%)"};case"right":return{top:`${Math.round(n.top-t.top+n.height/2+o)}px`,left:`${Math.round(n.left-t.left+n.width+r)}px`,transform:"translateY(-50%)"};case"left":return{top:`${Math.round(n.top-t.top+n.height/2+o)}px`,left:`${Math.round(n.left-t.left+r)}px`,transform:"translateY(-50%) translateX(-100%)"};case"bottom":default:return{top:`${Math.round(n.top-t.top+n.height+o)}px`,left:`${Math.round(n.left-t.left+n.width/2+r)}px`,transform:"translateX(-50%)"}}}const rO=Fr([Fr(".v-binder-follower-container",{position:"absolute",left:"0",right:"0",top:"0",height:"0",pointerEvents:"none",zIndex:"auto"}),Fr(".v-binder-follower-content",{position:"absolute",zIndex:"auto"},[Fr("> *",{pointerEvents:"all"})])]),em=Ce({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=Ve("VBinder"),n=kt(()=>e.enabled!==void 0?e.enabled:e.show),o=j(null),r=j(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)};jt(()=>{n.value&&(l(),i())});const s=Bi();rO.mount({id:"vueuc/binder",head:!0,anchorMetaName:Zp,ssr:s}),on(()=>{a()}),T8(()=>{n.value&&l()});const l=()=>{if(!n.value)return;const f=o.value;if(f===null)return;const h=t.targetRef,{x:p,y:g,overlap:m}=e,b=p!==void 0&&g!==void 0?B8(p,g):Vd(h);f.style.setProperty("--v-target-width",`${Math.round(b.width)}px`),f.style.setProperty("--v-target-height",`${Math.round(b.height)}px`);const{width:w,minWidth:C,placement:_,internalShift:S,flip:y}=e;f.setAttribute("v-placement",_),m?f.setAttribute("v-overlap",""):f.removeAttribute("v-overlap");const{style:x}=f;w==="target"?x.width=`${b.width}px`:w!==void 0?x.width=w:x.width="",C==="target"?x.minWidth=`${b.width}px`:C!==void 0?x.minWidth=C:x.minWidth="";const k=Vd(f),P=Vd(r.value),{left:T,top:E,placement:R}=tO(_,b,k,S,y,m),q=nO(R,m),{left:L,top:D,transform:F}=oO(R,P,b,E,T,m);f.setAttribute("v-placement",R),f.style.setProperty("--v-offset-left",`${Math.round(T)}px`),f.style.setProperty("--v-offset-top",`${Math.round(E)}px`),f.style.transform=`translateX(${L}) translateY(${D}) ${F}`,f.style.setProperty("--v-transform-origin",q),f.style.transformOrigin=q};ut(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=>{ut(Ue(e,f),l)}),["teleportDisabled"].forEach(f=>{ut(Ue(e,f),c)}),ut(Ue(e,"syncTrigger"),f=>{f.includes("resize")?t.addResizeListener(l):t.removeResizeListener(l),f.includes("scroll")?t.addScrollListener(l):t.removeScrollListener(l)});const u=ti(),d=kt(()=>{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($u,{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?dn(n,[[Eu,{enabled:this.mergedEnabled,zIndex:this.zIndex}]]):n}})}});var Pi=[],iO=function(){return Pi.some(function(e){return e.activeTargets.length>0})},aO=function(){return Pi.some(function(e){return e.skippedTargets.length>0})},Hb="ResizeObserver loop completed with undelivered notifications.",sO=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Hb}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Hb),window.dispatchEvent(e)},el;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(el||(el={}));var Ti=function(e){return Object.freeze(e)},lO=function(){function e(t,n){this.inlineSize=t,this.blockSize=n,Ti(this)}return e}(),Dw=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,Ti(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}(),tm=function(e){return e instanceof SVGElement&&"getBBox"in e},Bw=function(e){if(tm(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)},jb=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)},cO=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},Os=typeof window<"u"?window:{},Bl=new WeakMap,Ub=/auto|scroll/,uO=/^tb|vertical/,dO=/msie|trident/i.test(Os.navigator&&Os.navigator.userAgent),Fo=function(e){return parseFloat(e||"0")},ba=function(e,t,n){return e===void 0&&(e=0),t===void 0&&(t=0),n===void 0&&(n=!1),new lO((n?t:e)||0,(n?e:t)||0)},Vb=Ti({devicePixelContentBoxSize:ba(),borderBoxSize:ba(),contentBoxSize:ba(),contentRect:new Dw(0,0,0,0)}),Nw=function(e,t){if(t===void 0&&(t=!1),Bl.has(e)&&!t)return Bl.get(e);if(Bw(e))return Bl.set(e,Vb),Vb;var n=getComputedStyle(e),o=tm(e)&&e.ownerSVGElement&&e.getBBox(),r=!dO&&n.boxSizing==="border-box",i=uO.test(n.writingMode||""),a=!o&&Ub.test(n.overflowY||""),s=!o&&Ub.test(n.overflowX||""),l=o?0:Fo(n.paddingTop),c=o?0:Fo(n.paddingRight),u=o?0:Fo(n.paddingBottom),d=o?0:Fo(n.paddingLeft),f=o?0:Fo(n.borderTopWidth),h=o?0:Fo(n.borderRightWidth),p=o?0:Fo(n.borderBottomWidth),g=o?0:Fo(n.borderLeftWidth),m=d+c,b=l+u,w=g+h,C=f+p,_=s?e.offsetHeight-C-e.clientHeight:0,S=a?e.offsetWidth-w-e.clientWidth:0,y=r?m+w:0,x=r?b+C:0,k=o?o.width:Fo(n.width)-y-S,P=o?o.height:Fo(n.height)-x-_,T=k+m+S+w,E=P+b+_+C,R=Ti({devicePixelContentBoxSize:ba(Math.round(k*devicePixelRatio),Math.round(P*devicePixelRatio),i),borderBoxSize:ba(T,E,i),contentBoxSize:ba(k,P,i),contentRect:new Dw(d,l,k,P)});return Bl.set(e,R),R},Hw=function(e,t,n){var o=Nw(e,n),r=o.borderBoxSize,i=o.contentBoxSize,a=o.devicePixelContentBoxSize;switch(t){case el.DEVICE_PIXEL_CONTENT_BOX:return a;case el.BORDER_BOX:return r;default:return i}},fO=function(){function e(t){var n=Nw(t);this.target=t,this.contentRect=n.contentRect,this.borderBoxSize=Ti([n.borderBoxSize]),this.contentBoxSize=Ti([n.contentBoxSize]),this.devicePixelContentBoxSize=Ti([n.devicePixelContentBoxSize])}return e}(),jw=function(e){if(Bw(e))return 1/0;for(var t=0,n=e.parentNode;n;)t+=1,n=n.parentNode;return t},hO=function(){var e=1/0,t=[];Pi.forEach(function(a){if(a.activeTargets.length!==0){var s=[];a.activeTargets.forEach(function(c){var u=new fO(c.target),d=jw(c.target);s.push(u),c.lastReportedSize=Hw(c.target,c.observedBox),d<e&&(e=d)}),t.push(function(){a.callback.call(a.observer,s,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var n=0,o=t;n<o.length;n++){var r=o[n];r()}return e},Wb=function(e){Pi.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(r){r.isActive()&&(jw(r.target)>e?n.activeTargets.push(r):n.skippedTargets.push(r))})})},pO=function(){var e=0;for(Wb(e);iO();)e=hO(),Wb(e);return aO()&&sO(),e>0},Kd,Uw=[],mO=function(){return Uw.splice(0).forEach(function(e){return e()})},gO=function(e){if(!Kd){var t=0,n=document.createTextNode(""),o={characterData:!0};new MutationObserver(function(){return mO()}).observe(n,o),Kd=function(){n.textContent="".concat(t?t--:t++)}}Uw.push(e),Kd()},vO=function(e){gO(function(){requestAnimationFrame(e)})},gc=0,bO=function(){return!!gc},yO=250,xO={attributes:!0,characterData:!0,childList:!0,subtree:!0},qb=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Kb=function(e){return e===void 0&&(e=0),Date.now()+e},Gd=!1,CO=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=yO),!Gd){Gd=!0;var o=Kb(t);vO(function(){var r=!1;try{r=pO()}finally{if(Gd=!1,t=o-Kb(),!bO())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,xO)};document.body?n():Os.addEventListener("DOMContentLoaded",n)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),qb.forEach(function(n){return Os.addEventListener(n,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),qb.forEach(function(n){return Os.removeEventListener(n,t.listener,!0)}),this.stopped=!0)},e}(),Th=new CO,Gb=function(e){!gc&&e>0&&Th.start(),gc+=e,!gc&&Th.stop()},wO=function(e){return!tm(e)&&!cO(e)&&getComputedStyle(e).display==="inline"},_O=function(){function e(t,n){this.target=t,this.observedBox=n||el.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Hw(this.target,this.observedBox,!0);return wO(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),SO=function(){function e(t,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=n}return e}(),Nl=new WeakMap,Xb=function(e,t){for(var n=0;n<e.length;n+=1)if(e[n].target===t)return n;return-1},Hl=function(){function e(){}return e.connect=function(t,n){var o=new SO(t,n);Nl.set(t,o)},e.observe=function(t,n,o){var r=Nl.get(t),i=r.observationTargets.length===0;Xb(r.observationTargets,n)<0&&(i&&Pi.push(r),r.observationTargets.push(new _O(n,o&&o.box)),Gb(1),Th.schedule())},e.unobserve=function(t,n){var o=Nl.get(t),r=Xb(o.observationTargets,n),i=o.observationTargets.length===1;r>=0&&(i&&Pi.splice(Pi.indexOf(o),1),o.observationTargets.splice(r,1),Gb(-1))},e.disconnect=function(t){var n=this,o=Nl.get(t);o.observationTargets.slice().forEach(function(r){return n.unobserve(t,r.target)}),o.activeTargets.splice(0,o.activeTargets.length)},e}(),kO=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.");Hl.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(!jb(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Hl.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(!jb(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Hl.unobserve(this,t)},e.prototype.disconnect=function(){Hl.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();class PO{constructor(){this.handleResize=this.handleResize.bind(this),this.observer=new(typeof window<"u"&&window.ResizeObserver||kO)(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 Fc=new PO,ur=Ce({name:"ResizeObserver",props:{onResize:Function},setup(e){let t=!1;const n=no().proxy;function o(r){const{onResize:i}=e;i!==void 0&&i(r)}jt(()=>{const r=n.$el;if(r===void 0){zb("resize-observer","$el does not exist.");return}if(r.nextElementSibling!==r.nextSibling&&r.nodeType===3&&r.nodeValue!==""){zb("resize-observer","$el can not be observed (it may be a text node).");return}r.nextElementSibling!==null&&(Fc.registerHandler(r.nextElementSibling,o),t=!0)}),on(()=>{t&&Fc.unregisterHandler(n.$el.nextElementSibling)})},render(){return ru(this.$slots,"default")}});let jl;function TO(){return typeof document>"u"?!1:(jl===void 0&&("matchMedia"in window?jl=window.matchMedia("(pointer:coarse)").matches:jl=!1),jl)}let Xd;function Yb(){return typeof document>"u"?1:(Xd===void 0&&(Xd="chrome"in window?window.devicePixelRatio:1),Xd)}const AO=Fr(".v-vl",{maxHeight:"inherit",height:"100%",overflow:"auto",minWidth:"1px"},[Fr("&:not(.v-vl--show-scrollbar)",{scrollbarWidth:"none"},[Fr("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",{width:0,height:0,display:"none"})])]),Vw=Ce({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=Bi();AO.mount({id:"vueuc/virtual-list",head:!0,anchorMetaName:Zp,ssr:t}),jt(()=>{const{defaultScrollIndex:E,defaultScrollKey:R}=e;E!=null?p({index:E}):R!=null&&p({key:R})});let n=!1,o=!1;pp(()=>{if(n=!1,!o){o=!0;return}p({top:d.value,left:u})}),tu(()=>{n=!0,o||(o=!0)});const r=O(()=>{const E=new Map,{keyField:R}=e;return e.items.forEach((q,L)=>{E.set(q[R],L)}),E}),i=j(null),a=j(void 0),s=new Map,l=O(()=>{const{items:E,itemSize:R,keyField:q}=e,L=new Q8(E.length,R);return E.forEach((D,F)=>{const K=D[q],V=s.get(K);V!==void 0&&L.add(F,V)}),L}),c=j(0);let u=0;const d=j(0),f=kt(()=>Math.max(l.value.getBound(d.value-bn(e.paddingTop))-1,0)),h=O(()=>{const{value:E}=a;if(E===void 0)return[];const{items:R,itemSize:q}=e,L=f.value,D=Math.min(L+Math.ceil(E/q+1),R.length-1),F=[];for(let K=L;K<=D;++K)F.push(R[K]);return F}),p=(E,R)=>{if(typeof E=="number"){w(E,R,"auto");return}const{left:q,top:L,index:D,key:F,position:K,behavior:V,debounce:le=!0}=E;if(q!==void 0||L!==void 0)w(q,L,V);else if(D!==void 0)b(D,V,le);else if(F!==void 0){const me=r.value.get(F);me!==void 0&&b(me,V,le)}else K==="bottom"?w(0,Number.MAX_SAFE_INTEGER,V):K==="top"&&w(0,0,V)};let g,m=null;function b(E,R,q){const{value:L}=l,D=L.sum(E)+bn(e.paddingTop);if(!q)i.value.scrollTo({left:0,top:D,behavior:R});else{g=E,m!==null&&window.clearTimeout(m),m=window.setTimeout(()=>{g=void 0,m=null},16);const{scrollTop:F,offsetHeight:K}=i.value;if(D>F){const V=L.get(E);D+V<=F+K||i.value.scrollTo({left:0,top:D+V-K,behavior:R})}else i.value.scrollTo({left:0,top:D,behavior:R})}}function w(E,R,q){i.value.scrollTo({left:E,top:R,behavior:q})}function C(E,R){var q,L,D;if(n||e.ignoreItemResize||T(R.target))return;const{value:F}=l,K=r.value.get(E),V=F.get(K),le=(D=(L=(q=R.borderBoxSize)===null||q===void 0?void 0:q[0])===null||L===void 0?void 0:L.blockSize)!==null&&D!==void 0?D:R.contentRect.height;if(le===V)return;le-e.itemSize===0?s.delete(E):s.set(E,le-e.itemSize);const ee=le-V;if(ee===0)return;F.add(K,ee);const N=i.value;if(N!=null){if(g===void 0){const M=F.sum(K);N.scrollTop>M&&N.scrollBy(0,ee)}else if(K<g)N.scrollBy(0,ee);else if(K===g){const M=F.sum(K);le+M>N.scrollTop+N.offsetHeight&&N.scrollBy(0,ee)}P()}c.value++}const _=!TO();let S=!1;function y(E){var R;(R=e.onScroll)===null||R===void 0||R.call(e,E),(!_||!S)&&P()}function x(E){var R;if((R=e.onWheel)===null||R===void 0||R.call(e,E),_){const q=i.value;if(q!=null){if(E.deltaX===0&&(q.scrollTop===0&&E.deltaY<=0||q.scrollTop+q.offsetHeight>=q.scrollHeight&&E.deltaY>=0))return;E.preventDefault(),q.scrollTop+=E.deltaY/Yb(),q.scrollLeft+=E.deltaX/Yb(),P(),S=!0,Oc(()=>{S=!1})}}}function k(E){if(n||T(E.target)||E.contentRect.height===a.value)return;a.value=E.contentRect.height;const{onResize:R}=e;R!==void 0&&R(E)}function P(){const{value:E}=i;E!=null&&(d.value=E.scrollTop,u=E.scrollLeft)}function T(E){let R=E;for(;R!==null;){if(R.style.display==="none")return!0;R=R.parentElement}return!1}return{listHeight:a,listStyle:{overflow:"auto"},keyToIndex:r,itemsStyle:O(()=>{const{itemResizable:E}=e,R=zn(l.value.sum());return c.value,[e.itemsStyle,{boxSizing:"content-box",height:E?"":R,minHeight:E?R:"",paddingTop:zn(e.paddingTop),paddingBottom:zn(e.paddingBottom)}]}),visibleItemsStyle:O(()=>(c.value,{transform:`translateY(${zn(l.value.sum(f.value))})`})),viewportItems:h,listElRef:i,itemsElRef:j(null),scrollTo:p,handleListResize:k,handleListScroll:y,handleListWheel:x,handleItemResize:C}},render(){const{itemResizable:e,keyField:t,keyToIndex:n,visibleItemsTag:o}=this;return v(ur,{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(ur,{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)])}})}}),or="v-hidden",RO=Fr("[v-hidden]",{display:"none!important"}),Ah=Ce({name:"Overflow",props:{getCounter:Function,getTail:Function,updateCounter:Function,onUpdateCount:Function,onUpdateOverflow:Function},setup(e,{slots:t}){const n=j(null),o=j(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(or)&&u.removeAttribute(or);const{children:d}=s;if(a.showAllItemsBeforeCalculate)for(const C of d)C.hasAttribute(or)&&C.removeAttribute(or);const f=s.offsetWidth,h=[],p=t.tail?c==null?void 0:c():null;let g=p?p.offsetWidth:0,m=!1;const b=s.children.length-(t.tail?1:0);for(let C=0;C<b-1;++C){if(C<0)continue;const _=d[C];if(m){_.hasAttribute(or)||_.setAttribute(or,"");continue}else _.hasAttribute(or)&&_.removeAttribute(or);const S=_.offsetWidth;if(g+=S,h[C]=S,g>f){const{updateCounter:y}=e;for(let x=C;x>=0;--x){const k=b-1-x;y!==void 0?y(k):u.textContent=`${k}`;const P=u.offsetWidth;if(g-=h[x],g+P<=f||x===0){m=!0,C=x-1,p&&(C===-1?(p.style.maxWidth=`${f-P}px`,p.style.boxSizing="border-box"):p.style.maxWidth="");const{onUpdateCount:T}=e;T&&T(k);break}}}}const{onUpdateOverflow:w}=e;m?w!==void 0&&w(!0):(w!==void 0&&w(!1),u.setAttribute(or,""))}const i=Bi();return RO.mount({id:"vueuc/overflow",head:!0,anchorMetaName:Zp,ssr:i}),jt(()=>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"},[ru(e,"default"),e.counter?e.counter():v("span",{style:{display:"inline-block"},ref:"counterRef"}),e.tail?e.tail():null])}});function Ww(e){return e instanceof HTMLElement}function qw(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(Ww(n)&&(Gw(n)||qw(n)))return!0}return!1}function Kw(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(Ww(n)&&(Gw(n)||Kw(n)))return!0}return!1}function Gw(e){if(!EO(e))return!1;try{e.focus({preventScroll:!0})}catch{}return document.activeElement===e}function EO(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 us=[];const nm=Ce({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=Zr(),n=j(null),o=j(null);let r=!1,i=!1;const a=typeof document>"u"?null:document.activeElement;function s(){return us[us.length-1]===t}function l(m){var b;m.code==="Escape"&&s()&&((b=e.onEsc)===null||b===void 0||b.call(e,m))}jt(()=>{ut(()=>e.active,m=>{m?(d(),$t("keydown",document,l)):(Tt("keydown",document,l),r&&f())},{immediate:!0})}),on(()=>{Tt("keydown",document,l),r&&f()});function c(m){if(!i&&s()){const b=u();if(b===null||b.contains(Oi(m)))return;h("first")}}function u(){const m=n.value;if(m===null)return null;let b=m;for(;b=b.nextSibling,!(b===null||b instanceof Element&&b.tagName==="DIV"););return b}function d(){var m;if(!e.disabled){if(us.push(t),e.autoFocus){const{initialFocusTo:b}=e;b===void 0?h("first"):(m=Fb(b))===null||m===void 0||m.focus({preventScroll:!0})}r=!0,document.addEventListener("focus",c,!0)}}function f(){var m;if(e.disabled||(document.removeEventListener("focus",c,!0),us=us.filter(w=>w!==t),s()))return;const{finalFocusTo:b}=e;b!==void 0?(m=Fb(b))===null||m===void 0||m.focus({preventScroll:!0}):e.returnFocusOnDeactivated&&a instanceof HTMLElement&&(i=!0,a.focus({preventScroll:!0}),i=!1)}function h(m){if(s()&&e.active){const b=n.value,w=o.value;if(b!==null&&w!==null){const C=u();if(C==null||C===w){i=!0,b.focus({preventScroll:!0}),i=!1;return}i=!0;const _=m==="first"?qw(C):Kw(C);i=!1,_||(i=!0,b.focus({preventScroll:!0}),i=!1)}}}function p(m){if(i)return;const b=u();b!==null&&(m.relatedTarget!==null&&b.contains(m.relatedTarget)?h("last"):h("first"))}function g(m){i||(m.relatedTarget!==null&&m.relatedTarget===n.value?h("last"):h("first"))}return{focusableStartRef:n,focusableEndRef:o,focusableStyle:"position: absolute; height: 0; width: 0;",handleStartFocus:p,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(rt,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 Xw(e,t){t&&(jt(()=>{const{value:n}=e;n&&Fc.registerHandler(n,t)}),on(()=>{const{value:n}=e;n&&Fc.unregisterHandler(n)}))}let ia=0,Qb="",Jb="",Zb="",e0="";const Rh=j("0px");function Yw(e){if(typeof document>"u")return;const t=document.documentElement;let n,o=!1;const r=()=>{t.style.marginRight=Qb,t.style.overflow=Jb,t.style.overflowX=Zb,t.style.overflowY=e0,Rh.value="0px"};jt(()=>{n=ut(e,i=>{if(i){if(!ia){const a=window.innerWidth-t.offsetWidth;a>0&&(Qb=t.style.marginRight,t.style.marginRight=`${a}px`,Rh.value=`${a}px`),Jb=t.style.overflow,Zb=t.style.overflowX,e0=t.style.overflowY,t.style.overflow="hidden",t.style.overflowX="hidden",t.style.overflowY="hidden"}o=!0,ia++}else ia--,ia||r(),o=!1},{immediate:!0})}),on(()=>{n==null||n(),o&&(ia--,ia||r(),o=!1)})}const om=j(!1);function t0(){om.value=!0}function n0(){om.value=!1}let ds=0;function Qw(){return pr&&(hn(()=>{ds||(window.addEventListener("compositionstart",t0),window.addEventListener("compositionend",n0)),ds++}),on(()=>{ds<=1?(window.removeEventListener("compositionstart",t0),window.removeEventListener("compositionend",n0),ds=0):ds--})),om}function rm(e){const t={isDeactivated:!1};let n=!1;return pp(()=>{if(t.isDeactivated=!1,!n){n=!0;return}e()}),tu(()=>{t.isDeactivated=!0,n||(n=!0)}),t}function o0(e){return e.nodeName==="#document"}function $O(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)}const r0="n-form-item";function mr(e,{defaultSize:t="medium",mergedSize:n,mergedDisabled:o}={}){const r=Ve(r0,null);at(r0,null);const i=O(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=O(o?()=>o(r):()=>{const{disabled:l}=e;return l!==void 0?l:r?r.disabled.value:!1}),s=O(()=>{const{status:l}=e;return l||(r==null?void 0:r.mergedValidationStatus.value)});return on(()=>{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 IO=typeof global=="object"&&global&&global.Object===Object&&global;const Jw=IO;var OO=typeof self=="object"&&self&&self.Object===Object&&self,MO=Jw||OO||Function("return this")();const Io=MO;var zO=Io.Symbol;const Ur=zO;var Zw=Object.prototype,LO=Zw.hasOwnProperty,FO=Zw.toString,fs=Ur?Ur.toStringTag:void 0;function DO(e){var t=LO.call(e,fs),n=e[fs];try{e[fs]=void 0;var o=!0}catch{}var r=FO.call(e);return o&&(t?e[fs]=n:delete e[fs]),r}var BO=Object.prototype,NO=BO.toString;function HO(e){return NO.call(e)}var jO="[object Null]",UO="[object Undefined]",i0=Ur?Ur.toStringTag:void 0;function Ni(e){return e==null?e===void 0?UO:jO:i0&&i0 in Object(e)?DO(e):HO(e)}function Vr(e){return e!=null&&typeof e=="object"}var VO="[object Symbol]";function Iu(e){return typeof e=="symbol"||Vr(e)&&Ni(e)==VO}function e_(e,t){for(var n=-1,o=e==null?0:e.length,r=Array(o);++n<o;)r[n]=t(e[n],n,e);return r}var WO=Array.isArray;const ho=WO;var qO=1/0,a0=Ur?Ur.prototype:void 0,s0=a0?a0.toString:void 0;function t_(e){if(typeof e=="string")return e;if(ho(e))return e_(e,t_)+"";if(Iu(e))return s0?s0.call(e):"";var t=e+"";return t=="0"&&1/e==-qO?"-0":t}var KO=/\s/;function GO(e){for(var t=e.length;t--&&KO.test(e.charAt(t)););return t}var XO=/^\s+/;function YO(e){return e&&e.slice(0,GO(e)+1).replace(XO,"")}function Go(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var l0=0/0,QO=/^[-+]0x[0-9a-f]+$/i,JO=/^0b[01]+$/i,ZO=/^0o[0-7]+$/i,eM=parseInt;function n_(e){if(typeof e=="number")return e;if(Iu(e))return l0;if(Go(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Go(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=YO(e);var n=JO.test(e);return n||ZO.test(e)?eM(e.slice(2),n?2:8):QO.test(e)?l0:+e}var c0=1/0,tM=17976931348623157e292;function nM(e){if(!e)return e===0?e:0;if(e=n_(e),e===c0||e===-c0){var t=e<0?-1:1;return t*tM}return e===e?e:0}function oM(e){var t=nM(e),n=t%1;return t===t?n?t-n:t:0}function im(e){return e}var rM="[object AsyncFunction]",iM="[object Function]",aM="[object GeneratorFunction]",sM="[object Proxy]";function am(e){if(!Go(e))return!1;var t=Ni(e);return t==iM||t==aM||t==rM||t==sM}var lM=Io["__core-js_shared__"];const Yd=lM;var u0=function(){var e=/[^.]+$/.exec(Yd&&Yd.keys&&Yd.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function cM(e){return!!u0&&u0 in e}var uM=Function.prototype,dM=uM.toString;function Hi(e){if(e!=null){try{return dM.call(e)}catch{}try{return e+""}catch{}}return""}var fM=/[\\^$.*+?()[\]{}|]/g,hM=/^\[object .+?Constructor\]$/,pM=Function.prototype,mM=Object.prototype,gM=pM.toString,vM=mM.hasOwnProperty,bM=RegExp("^"+gM.call(vM).replace(fM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function yM(e){if(!Go(e)||cM(e))return!1;var t=am(e)?bM:hM;return t.test(Hi(e))}function xM(e,t){return e==null?void 0:e[t]}function ji(e,t){var n=xM(e,t);return yM(n)?n:void 0}var CM=ji(Io,"WeakMap");const Eh=CM;var d0=Object.create,wM=function(){function e(){}return function(t){if(!Go(t))return{};if(d0)return d0(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();const _M=wM;function SM(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function kM(e,t){var n=-1,o=e.length;for(t||(t=Array(o));++n<o;)t[n]=e[n];return t}var PM=800,TM=16,AM=Date.now;function RM(e){var t=0,n=0;return function(){var o=AM(),r=TM-(o-n);if(n=o,r>0){if(++t>=PM)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function EM(e){return function(){return e}}var $M=function(){try{var e=ji(Object,"defineProperty");return e({},"",{}),e}catch{}}();const Dc=$M;var IM=Dc?function(e,t){return Dc(e,"toString",{configurable:!0,enumerable:!1,value:EM(t),writable:!0})}:im;const OM=IM;var MM=RM(OM);const zM=MM;var LM=9007199254740991,FM=/^(?:0|[1-9]\d*)$/;function sm(e,t){var n=typeof e;return t=t??LM,!!t&&(n=="number"||n!="symbol"&&FM.test(e))&&e>-1&&e%1==0&&e<t}function lm(e,t,n){t=="__proto__"&&Dc?Dc(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function fl(e,t){return e===t||e!==e&&t!==t}var DM=Object.prototype,BM=DM.hasOwnProperty;function NM(e,t,n){var o=e[t];(!(BM.call(e,t)&&fl(o,n))||n===void 0&&!(t in e))&&lm(e,t,n)}function HM(e,t,n,o){var r=!n;n||(n={});for(var i=-1,a=t.length;++i<a;){var s=t[i],l=o?o(n[s],e[s],s,n,e):void 0;l===void 0&&(l=e[s]),r?lm(n,s,l):NM(n,s,l)}return n}var f0=Math.max;function jM(e,t,n){return t=f0(t===void 0?e.length-1:t,0),function(){for(var o=arguments,r=-1,i=f0(o.length-t,0),a=Array(i);++r<i;)a[r]=o[t+r];r=-1;for(var s=Array(t+1);++r<t;)s[r]=o[r];return s[t]=n(a),SM(e,this,s)}}function UM(e,t){return zM(jM(e,t,im),e+"")}var VM=9007199254740991;function cm(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=VM}function qa(e){return e!=null&&cm(e.length)&&!am(e)}function WM(e,t,n){if(!Go(n))return!1;var o=typeof t;return(o=="number"?qa(n)&&sm(t,n.length):o=="string"&&t in n)?fl(n[t],e):!1}function qM(e){return UM(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&&WM(n[0],n[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++o<r;){var s=n[o];s&&e(t,s,o,i)}return t})}var KM=Object.prototype;function um(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||KM;return e===n}function GM(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}var XM="[object Arguments]";function h0(e){return Vr(e)&&Ni(e)==XM}var o_=Object.prototype,YM=o_.hasOwnProperty,QM=o_.propertyIsEnumerable,JM=h0(function(){return arguments}())?h0:function(e){return Vr(e)&&YM.call(e,"callee")&&!QM.call(e,"callee")};const Bc=JM;function ZM(){return!1}var r_=typeof Yn=="object"&&Yn&&!Yn.nodeType&&Yn,p0=r_&&typeof Qn=="object"&&Qn&&!Qn.nodeType&&Qn,e6=p0&&p0.exports===r_,m0=e6?Io.Buffer:void 0,t6=m0?m0.isBuffer:void 0,n6=t6||ZM;const Nc=n6;var o6="[object Arguments]",r6="[object Array]",i6="[object Boolean]",a6="[object Date]",s6="[object Error]",l6="[object Function]",c6="[object Map]",u6="[object Number]",d6="[object Object]",f6="[object RegExp]",h6="[object Set]",p6="[object String]",m6="[object WeakMap]",g6="[object ArrayBuffer]",v6="[object DataView]",b6="[object Float32Array]",y6="[object Float64Array]",x6="[object Int8Array]",C6="[object Int16Array]",w6="[object Int32Array]",_6="[object Uint8Array]",S6="[object Uint8ClampedArray]",k6="[object Uint16Array]",P6="[object Uint32Array]",Jt={};Jt[b6]=Jt[y6]=Jt[x6]=Jt[C6]=Jt[w6]=Jt[_6]=Jt[S6]=Jt[k6]=Jt[P6]=!0;Jt[o6]=Jt[r6]=Jt[g6]=Jt[i6]=Jt[v6]=Jt[a6]=Jt[s6]=Jt[l6]=Jt[c6]=Jt[u6]=Jt[d6]=Jt[f6]=Jt[h6]=Jt[p6]=Jt[m6]=!1;function T6(e){return Vr(e)&&cm(e.length)&&!!Jt[Ni(e)]}function A6(e){return function(t){return e(t)}}var i_=typeof Yn=="object"&&Yn&&!Yn.nodeType&&Yn,Ms=i_&&typeof Qn=="object"&&Qn&&!Qn.nodeType&&Qn,R6=Ms&&Ms.exports===i_,Qd=R6&&Jw.process,E6=function(){try{var e=Ms&&Ms.require&&Ms.require("util").types;return e||Qd&&Qd.binding&&Qd.binding("util")}catch{}}();const g0=E6;var v0=g0&&g0.isTypedArray,$6=v0?A6(v0):T6;const dm=$6;var I6=Object.prototype,O6=I6.hasOwnProperty;function a_(e,t){var n=ho(e),o=!n&&Bc(e),r=!n&&!o&&Nc(e),i=!n&&!o&&!r&&dm(e),a=n||o||r||i,s=a?GM(e.length,String):[],l=s.length;for(var c in e)(t||O6.call(e,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||i&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||sm(c,l)))&&s.push(c);return s}function s_(e,t){return function(n){return e(t(n))}}var M6=s_(Object.keys,Object);const z6=M6;var L6=Object.prototype,F6=L6.hasOwnProperty;function D6(e){if(!um(e))return z6(e);var t=[];for(var n in Object(e))F6.call(e,n)&&n!="constructor"&&t.push(n);return t}function fm(e){return qa(e)?a_(e):D6(e)}function B6(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var N6=Object.prototype,H6=N6.hasOwnProperty;function j6(e){if(!Go(e))return B6(e);var t=um(e),n=[];for(var o in e)o=="constructor"&&(t||!H6.call(e,o))||n.push(o);return n}function l_(e){return qa(e)?a_(e,!0):j6(e)}var U6=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,V6=/^\w*$/;function hm(e,t){if(ho(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||Iu(e)?!0:V6.test(e)||!U6.test(e)||t!=null&&e in Object(t)}var W6=ji(Object,"create");const tl=W6;function q6(){this.__data__=tl?tl(null):{},this.size=0}function K6(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var G6="__lodash_hash_undefined__",X6=Object.prototype,Y6=X6.hasOwnProperty;function Q6(e){var t=this.__data__;if(tl){var n=t[e];return n===G6?void 0:n}return Y6.call(t,e)?t[e]:void 0}var J6=Object.prototype,Z6=J6.hasOwnProperty;function ez(e){var t=this.__data__;return tl?t[e]!==void 0:Z6.call(t,e)}var tz="__lodash_hash_undefined__";function nz(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=tl&&t===void 0?tz:t,this}function Mi(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}Mi.prototype.clear=q6;Mi.prototype.delete=K6;Mi.prototype.get=Q6;Mi.prototype.has=ez;Mi.prototype.set=nz;function oz(){this.__data__=[],this.size=0}function Ou(e,t){for(var n=e.length;n--;)if(fl(e[n][0],t))return n;return-1}var rz=Array.prototype,iz=rz.splice;function az(e){var t=this.__data__,n=Ou(t,e);if(n<0)return!1;var o=t.length-1;return n==o?t.pop():iz.call(t,n,1),--this.size,!0}function sz(e){var t=this.__data__,n=Ou(t,e);return n<0?void 0:t[n][1]}function lz(e){return Ou(this.__data__,e)>-1}function cz(e,t){var n=this.__data__,o=Ou(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}function gr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}gr.prototype.clear=oz;gr.prototype.delete=az;gr.prototype.get=sz;gr.prototype.has=lz;gr.prototype.set=cz;var uz=ji(Io,"Map");const nl=uz;function dz(){this.size=0,this.__data__={hash:new Mi,map:new(nl||gr),string:new Mi}}function fz(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Mu(e,t){var n=e.__data__;return fz(t)?n[typeof t=="string"?"string":"hash"]:n.map}function hz(e){var t=Mu(this,e).delete(e);return this.size-=t?1:0,t}function pz(e){return Mu(this,e).get(e)}function mz(e){return Mu(this,e).has(e)}function gz(e,t){var n=Mu(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}function vr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}vr.prototype.clear=dz;vr.prototype.delete=hz;vr.prototype.get=pz;vr.prototype.has=mz;vr.prototype.set=gz;var vz="Expected a function";function pm(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(vz);var n=function(){var o=arguments,r=t?t.apply(this,o):o[0],i=n.cache;if(i.has(r))return i.get(r);var a=e.apply(this,o);return n.cache=i.set(r,a)||i,a};return n.cache=new(pm.Cache||vr),n}pm.Cache=vr;var bz=500;function yz(e){var t=pm(e,function(o){return n.size===bz&&n.clear(),o}),n=t.cache;return t}var xz=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cz=/\\(\\)?/g,wz=yz(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(xz,function(n,o,r,i){t.push(r?i.replace(Cz,"$1"):o||n)}),t});const _z=wz;function zi(e){return e==null?"":t_(e)}function c_(e,t){return ho(e)?e:hm(e,t)?[e]:_z(zi(e))}var Sz=1/0;function zu(e){if(typeof e=="string"||Iu(e))return e;var t=e+"";return t=="0"&&1/e==-Sz?"-0":t}function u_(e,t){t=c_(t,e);for(var n=0,o=t.length;e!=null&&n<o;)e=e[zu(t[n++])];return n&&n==o?e:void 0}function $h(e,t,n){var o=e==null?void 0:u_(e,t);return o===void 0?n:o}function kz(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}var Pz=s_(Object.getPrototypeOf,Object);const d_=Pz;var Tz="[object Object]",Az=Function.prototype,Rz=Object.prototype,f_=Az.toString,Ez=Rz.hasOwnProperty,$z=f_.call(Object);function Iz(e){if(!Vr(e)||Ni(e)!=Tz)return!1;var t=d_(e);if(t===null)return!0;var n=Ez.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&f_.call(n)==$z}function Oz(e,t,n){var o=-1,r=e.length;t<0&&(t=-t>r?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<r;)i[o]=e[o+t];return i}function Mz(e,t,n){var o=e.length;return n=n===void 0?o:n,!t&&n>=o?e:Oz(e,t,n)}var zz="\\ud800-\\udfff",Lz="\\u0300-\\u036f",Fz="\\ufe20-\\ufe2f",Dz="\\u20d0-\\u20ff",Bz=Lz+Fz+Dz,Nz="\\ufe0e\\ufe0f",Hz="\\u200d",jz=RegExp("["+Hz+zz+Bz+Nz+"]");function h_(e){return jz.test(e)}function Uz(e){return e.split("")}var p_="\\ud800-\\udfff",Vz="\\u0300-\\u036f",Wz="\\ufe20-\\ufe2f",qz="\\u20d0-\\u20ff",Kz=Vz+Wz+qz,Gz="\\ufe0e\\ufe0f",Xz="["+p_+"]",Ih="["+Kz+"]",Oh="\\ud83c[\\udffb-\\udfff]",Yz="(?:"+Ih+"|"+Oh+")",m_="[^"+p_+"]",g_="(?:\\ud83c[\\udde6-\\uddff]){2}",v_="[\\ud800-\\udbff][\\udc00-\\udfff]",Qz="\\u200d",b_=Yz+"?",y_="["+Gz+"]?",Jz="(?:"+Qz+"(?:"+[m_,g_,v_].join("|")+")"+y_+b_+")*",Zz=y_+b_+Jz,eL="(?:"+[m_+Ih+"?",Ih,g_,v_,Xz].join("|")+")",tL=RegExp(Oh+"(?="+Oh+")|"+eL+Zz,"g");function nL(e){return e.match(tL)||[]}function oL(e){return h_(e)?nL(e):Uz(e)}function rL(e){return function(t){t=zi(t);var n=h_(t)?oL(t):void 0,o=n?n[0]:t.charAt(0),r=n?Mz(n,1).join(""):t.slice(1);return o[e]()+r}}var iL=rL("toUpperCase");const x_=iL;function aL(e){return x_(zi(e).toLowerCase())}function sL(e,t,n,o){var r=-1,i=e==null?0:e.length;for(o&&i&&(n=e[++r]);++r<i;)n=t(n,e[r],r,e);return n}function lL(e){return function(t){return e==null?void 0:e[t]}}var cL={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},uL=lL(cL);const dL=uL;var fL=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,hL="\\u0300-\\u036f",pL="\\ufe20-\\ufe2f",mL="\\u20d0-\\u20ff",gL=hL+pL+mL,vL="["+gL+"]",bL=RegExp(vL,"g");function yL(e){return e=zi(e),e&&e.replace(fL,dL).replace(bL,"")}var xL=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function CL(e){return e.match(xL)||[]}var wL=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function _L(e){return wL.test(e)}var C_="\\ud800-\\udfff",SL="\\u0300-\\u036f",kL="\\ufe20-\\ufe2f",PL="\\u20d0-\\u20ff",TL=SL+kL+PL,w_="\\u2700-\\u27bf",__="a-z\\xdf-\\xf6\\xf8-\\xff",AL="\\xac\\xb1\\xd7\\xf7",RL="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",EL="\\u2000-\\u206f",$L=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",S_="A-Z\\xc0-\\xd6\\xd8-\\xde",IL="\\ufe0e\\ufe0f",k_=AL+RL+EL+$L,P_="['’]",b0="["+k_+"]",OL="["+TL+"]",T_="\\d+",ML="["+w_+"]",A_="["+__+"]",R_="[^"+C_+k_+T_+w_+__+S_+"]",zL="\\ud83c[\\udffb-\\udfff]",LL="(?:"+OL+"|"+zL+")",FL="[^"+C_+"]",E_="(?:\\ud83c[\\udde6-\\uddff]){2}",$_="[\\ud800-\\udbff][\\udc00-\\udfff]",ua="["+S_+"]",DL="\\u200d",y0="(?:"+A_+"|"+R_+")",BL="(?:"+ua+"|"+R_+")",x0="(?:"+P_+"(?:d|ll|m|re|s|t|ve))?",C0="(?:"+P_+"(?:D|LL|M|RE|S|T|VE))?",I_=LL+"?",O_="["+IL+"]?",NL="(?:"+DL+"(?:"+[FL,E_,$_].join("|")+")"+O_+I_+")*",HL="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jL="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",UL=O_+I_+NL,VL="(?:"+[ML,E_,$_].join("|")+")"+UL,WL=RegExp([ua+"?"+A_+"+"+x0+"(?="+[b0,ua,"$"].join("|")+")",BL+"+"+C0+"(?="+[b0,ua+y0,"$"].join("|")+")",ua+"?"+y0+"+"+x0,ua+"+"+C0,jL,HL,T_,VL].join("|"),"g");function qL(e){return e.match(WL)||[]}function KL(e,t,n){return e=zi(e),t=n?void 0:t,t===void 0?_L(e)?qL(e):CL(e):e.match(t)||[]}var GL="['’]",XL=RegExp(GL,"g");function M_(e){return function(t){return sL(KL(yL(t).replace(XL,"")),e,"")}}var YL=M_(function(e,t,n){return t=t.toLowerCase(),e+(n?aL(t):t)});const w0=YL;var QL=Io.isFinite,JL=Math.min;function ZL(e){var t=Math[e];return function(n,o){if(n=n_(n),o=o==null?0:JL(oM(o),292),o&&QL(n)){var r=(zi(n)+"e").split("e"),i=t(r[0]+"e"+(+r[1]+o));return r=(zi(i)+"e").split("e"),+(r[0]+"e"+(+r[1]-o))}return t(n)}}function eF(){this.__data__=new gr,this.size=0}function tF(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function nF(e){return this.__data__.get(e)}function oF(e){return this.__data__.has(e)}var rF=200;function iF(e,t){var n=this.__data__;if(n instanceof gr){var o=n.__data__;if(!nl||o.length<rF-1)return o.push([e,t]),this.size=++n.size,this;n=this.__data__=new vr(o)}return n.set(e,t),this.size=n.size,this}function Vo(e){var t=this.__data__=new gr(e);this.size=t.size}Vo.prototype.clear=eF;Vo.prototype.delete=tF;Vo.prototype.get=nF;Vo.prototype.has=oF;Vo.prototype.set=iF;var z_=typeof Yn=="object"&&Yn&&!Yn.nodeType&&Yn,_0=z_&&typeof Qn=="object"&&Qn&&!Qn.nodeType&&Qn,aF=_0&&_0.exports===z_,S0=aF?Io.Buffer:void 0,k0=S0?S0.allocUnsafe:void 0;function sF(e,t){if(t)return e.slice();var n=e.length,o=k0?k0(n):new e.constructor(n);return e.copy(o),o}function lF(e,t){for(var n=-1,o=e==null?0:e.length,r=0,i=[];++n<o;){var a=e[n];t(a,n,e)&&(i[r++]=a)}return i}function cF(){return[]}var uF=Object.prototype,dF=uF.propertyIsEnumerable,P0=Object.getOwnPropertySymbols,fF=P0?function(e){return e==null?[]:(e=Object(e),lF(P0(e),function(t){return dF.call(e,t)}))}:cF;const hF=fF;function pF(e,t,n){var o=t(e);return ho(e)?o:kz(o,n(e))}function T0(e){return pF(e,fm,hF)}var mF=ji(Io,"DataView");const Mh=mF;var gF=ji(Io,"Promise");const zh=gF;var vF=ji(Io,"Set");const Lh=vF;var A0="[object Map]",bF="[object Object]",R0="[object Promise]",E0="[object Set]",$0="[object WeakMap]",I0="[object DataView]",yF=Hi(Mh),xF=Hi(nl),CF=Hi(zh),wF=Hi(Lh),_F=Hi(Eh),pi=Ni;(Mh&&pi(new Mh(new ArrayBuffer(1)))!=I0||nl&&pi(new nl)!=A0||zh&&pi(zh.resolve())!=R0||Lh&&pi(new Lh)!=E0||Eh&&pi(new Eh)!=$0)&&(pi=function(e){var t=Ni(e),n=t==bF?e.constructor:void 0,o=n?Hi(n):"";if(o)switch(o){case yF:return I0;case xF:return A0;case CF:return R0;case wF:return E0;case _F:return $0}return t});const O0=pi;var SF=Io.Uint8Array;const Hc=SF;function kF(e){var t=new e.constructor(e.byteLength);return new Hc(t).set(new Hc(e)),t}function PF(e,t){var n=t?kF(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function TF(e){return typeof e.constructor=="function"&&!um(e)?_M(d_(e)):{}}var AF="__lodash_hash_undefined__";function RF(e){return this.__data__.set(e,AF),this}function EF(e){return this.__data__.has(e)}function jc(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new vr;++t<n;)this.add(e[t])}jc.prototype.add=jc.prototype.push=RF;jc.prototype.has=EF;function $F(e,t){for(var n=-1,o=e==null?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}function IF(e,t){return e.has(t)}var OF=1,MF=2;function L_(e,t,n,o,r,i){var a=n&OF,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=n&MF?new jc:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],g=t[d];if(o)var m=a?o(g,p,d,t,e,i):o(p,g,d,e,t,i);if(m!==void 0){if(m)continue;f=!1;break}if(h){if(!$F(t,function(b,w){if(!IF(h,w)&&(p===b||r(p,b,n,o,i)))return h.push(w)})){f=!1;break}}else if(!(p===g||r(p,g,n,o,i))){f=!1;break}}return i.delete(e),i.delete(t),f}function zF(e){var t=-1,n=Array(e.size);return e.forEach(function(o,r){n[++t]=[r,o]}),n}function LF(e){var t=-1,n=Array(e.size);return e.forEach(function(o){n[++t]=o}),n}var FF=1,DF=2,BF="[object Boolean]",NF="[object Date]",HF="[object Error]",jF="[object Map]",UF="[object Number]",VF="[object RegExp]",WF="[object Set]",qF="[object String]",KF="[object Symbol]",GF="[object ArrayBuffer]",XF="[object DataView]",M0=Ur?Ur.prototype:void 0,Jd=M0?M0.valueOf:void 0;function YF(e,t,n,o,r,i,a){switch(n){case XF:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case GF:return!(e.byteLength!=t.byteLength||!i(new Hc(e),new Hc(t)));case BF:case NF:case UF:return fl(+e,+t);case HF:return e.name==t.name&&e.message==t.message;case VF:case qF:return e==t+"";case jF:var s=zF;case WF:var l=o&FF;if(s||(s=LF),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;o|=DF,a.set(e,t);var u=L_(s(e),s(t),o,r,i,a);return a.delete(e),u;case KF:if(Jd)return Jd.call(e)==Jd.call(t)}return!1}var QF=1,JF=Object.prototype,ZF=JF.hasOwnProperty;function eD(e,t,n,o,r,i){var a=n&QF,s=T0(e),l=s.length,c=T0(t),u=c.length;if(l!=u&&!a)return!1;for(var d=l;d--;){var f=s[d];if(!(a?f in t:ZF.call(t,f)))return!1}var h=i.get(e),p=i.get(t);if(h&&p)return h==t&&p==e;var g=!0;i.set(e,t),i.set(t,e);for(var m=a;++d<l;){f=s[d];var b=e[f],w=t[f];if(o)var C=a?o(w,b,f,t,e,i):o(b,w,f,e,t,i);if(!(C===void 0?b===w||r(b,w,n,o,i):C)){g=!1;break}m||(m=f=="constructor")}if(g&&!m){var _=e.constructor,S=t.constructor;_!=S&&"constructor"in e&&"constructor"in t&&!(typeof _=="function"&&_ instanceof _&&typeof S=="function"&&S instanceof S)&&(g=!1)}return i.delete(e),i.delete(t),g}var tD=1,z0="[object Arguments]",L0="[object Array]",Ul="[object Object]",nD=Object.prototype,F0=nD.hasOwnProperty;function oD(e,t,n,o,r,i){var a=ho(e),s=ho(t),l=a?L0:O0(e),c=s?L0:O0(t);l=l==z0?Ul:l,c=c==z0?Ul:c;var u=l==Ul,d=c==Ul,f=l==c;if(f&&Nc(e)){if(!Nc(t))return!1;a=!0,u=!1}if(f&&!u)return i||(i=new Vo),a||dm(e)?L_(e,t,n,o,r,i):YF(e,t,l,n,o,r,i);if(!(n&tD)){var h=u&&F0.call(e,"__wrapped__"),p=d&&F0.call(t,"__wrapped__");if(h||p){var g=h?e.value():e,m=p?t.value():t;return i||(i=new Vo),r(g,m,n,o,i)}}return f?(i||(i=new Vo),eD(e,t,n,o,r,i)):!1}function mm(e,t,n,o,r){return e===t?!0:e==null||t==null||!Vr(e)&&!Vr(t)?e!==e&&t!==t:oD(e,t,n,o,mm,r)}var rD=1,iD=2;function aD(e,t,n,o){var r=n.length,i=r,a=!o;if(e==null)return!i;for(e=Object(e);r--;){var s=n[r];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++r<i;){s=n[r];var l=s[0],c=e[l],u=s[1];if(a&&s[2]){if(c===void 0&&!(l in e))return!1}else{var d=new Vo;if(o)var f=o(c,u,l,e,t,d);if(!(f===void 0?mm(u,c,rD|iD,o,d):f))return!1}}return!0}function F_(e){return e===e&&!Go(e)}function sD(e){for(var t=fm(e),n=t.length;n--;){var o=t[n],r=e[o];t[n]=[o,r,F_(r)]}return t}function D_(e,t){return function(n){return n==null?!1:n[e]===t&&(t!==void 0||e in Object(n))}}function lD(e){var t=sD(e);return t.length==1&&t[0][2]?D_(t[0][0],t[0][1]):function(n){return n===e||aD(n,e,t)}}function cD(e,t){return e!=null&&t in Object(e)}function uD(e,t,n){t=c_(t,e);for(var o=-1,r=t.length,i=!1;++o<r;){var a=zu(t[o]);if(!(i=e!=null&&n(e,a)))break;e=e[a]}return i||++o!=r?i:(r=e==null?0:e.length,!!r&&cm(r)&&sm(a,r)&&(ho(e)||Bc(e)))}function dD(e,t){return e!=null&&uD(e,t,cD)}var fD=1,hD=2;function pD(e,t){return hm(e)&&F_(t)?D_(zu(e),t):function(n){var o=$h(n,e);return o===void 0&&o===t?dD(n,e):mm(t,o,fD|hD)}}function mD(e){return function(t){return t==null?void 0:t[e]}}function gD(e){return function(t){return u_(t,e)}}function vD(e){return hm(e)?mD(zu(e)):gD(e)}function bD(e){return typeof e=="function"?e:e==null?im:typeof e=="object"?ho(e)?pD(e[0],e[1]):lD(e):vD(e)}function yD(e){return function(t,n,o){for(var r=-1,i=Object(t),a=o(t),s=a.length;s--;){var l=a[e?s:++r];if(n(i[l],l,i)===!1)break}return t}}var xD=yD();const B_=xD;function CD(e,t){return e&&B_(e,t,fm)}function wD(e,t){return function(n,o){if(n==null)return n;if(!qa(n))return e(n,o);for(var r=n.length,i=t?r:-1,a=Object(n);(t?i--:++i<r)&&o(a[i],i,a)!==!1;);return n}}var _D=wD(CD);const SD=_D;function Fh(e,t,n){(n!==void 0&&!fl(e[t],n)||n===void 0&&!(t in e))&&lm(e,t,n)}function kD(e){return Vr(e)&&qa(e)}function Dh(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}function PD(e){return HM(e,l_(e))}function TD(e,t,n,o,r,i,a){var s=Dh(e,n),l=Dh(t,n),c=a.get(l);if(c){Fh(e,n,c);return}var u=i?i(s,l,n+"",e,t,a):void 0,d=u===void 0;if(d){var f=ho(l),h=!f&&Nc(l),p=!f&&!h&&dm(l);u=l,f||h||p?ho(s)?u=s:kD(s)?u=kM(s):h?(d=!1,u=sF(l,!0)):p?(d=!1,u=PF(l,!0)):u=[]:Iz(l)||Bc(l)?(u=s,Bc(s)?u=PD(s):(!Go(s)||am(s))&&(u=TF(l))):d=!1}d&&(a.set(l,u),r(u,l,o,i,a),a.delete(l)),Fh(e,n,u)}function N_(e,t,n,o,r){e!==t&&B_(t,function(i,a){if(r||(r=new Vo),Go(i))TD(e,t,a,n,N_,o,r);else{var s=o?o(Dh(e,a),i,a+"",e,t,r):void 0;s===void 0&&(s=i),Fh(e,a,s)}},l_)}function AD(e,t){var n=-1,o=qa(e)?Array(e.length):[];return SD(e,function(r,i,a){o[++n]=t(r,i,a)}),o}function RD(e,t){var n=ho(e)?e_:AD;return n(e,bD(t))}var ED=M_(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()});const $D=ED;var ID=qM(function(e,t,n){N_(e,t,n)});const gs=ID;var OD=ZL("round");const MD=OD,mo={fontFamily:'v-sans, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',fontFamilyMono:"v-mono, SFMono-Regular, Menlo, Consolas, Courier, monospace",fontWeight:"400",fontWeightStrong:"500",cubicBezierEaseInOut:"cubic-bezier(.4, 0, .2, 1)",cubicBezierEaseOut:"cubic-bezier(0, 0, .2, 1)",cubicBezierEaseIn:"cubic-bezier(.4, 0, 1, 1)",borderRadius:"3px",borderRadiusSmall:"2px",fontSize:"14px",fontSizeMini:"12px",fontSizeTiny:"12px",fontSizeSmall:"14px",fontSizeMedium:"14px",fontSizeLarge:"15px",fontSizeHuge:"16px",lineHeight:"1.6",heightMini:"16px",heightTiny:"22px",heightSmall:"28px",heightMedium:"34px",heightLarge:"40px",heightHuge:"46px"},{fontSize:zD,fontFamily:LD,lineHeight:FD}=mo,H_=W("body",`
|
||
margin: 0;
|
||
font-size: ${zD};
|
||
font-family: ${LD};
|
||
line-height: ${FD};
|
||
-webkit-text-size-adjust: 100%;
|
||
-webkit-tap-highlight-color: transparent;
|
||
`,[W("input",`
|
||
font-family: inherit;
|
||
font-size: inherit;
|
||
`)]),Eo="n-config-provider",$a="naive-ui-style";function Ne(e,t,n,o,r,i){const a=Bi(),s=Ve(Eo,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:$a,ssr:a}),s!=null&&s.preflightStyleDisabled||H_.mount({id:"n-global",head:!0,anchorMetaName:$a,ssr:a})};a?c():hn(c)}return O(()=>{var c;const{theme:{common:u,self:d,peers:f={}}={},themeOverrides:h={},builtinThemeOverrides:p={}}=r,{common:g,peers:m}=h,{common:b=void 0,[e]:{common:w=void 0,self:C=void 0,peers:_={}}={}}=(s==null?void 0:s.mergedThemeRef.value)||{},{common:S=void 0,[e]:y={}}=(s==null?void 0:s.mergedThemeOverridesRef.value)||{},{common:x,peers:k={}}=y,P=gs({},u||w||b||o.common,S,x,g),T=gs((c=d||C||o.self)===null||c===void 0?void 0:c(P),p,y,h);return{common:P,self:T,peers:gs({},o.peers,_,f),peerOverrides:gs({},p.peers,k,m)}})}Ne.props={theme:Object,themeOverrides:Object,builtinThemeOverrides:Object};const ol="n";function st(e={},t={defaultBordered:!0}){const n=Ve(Eo,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:O(()=>{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:za(ol),namespaceRef:O(()=>n==null?void 0:n.mergedNamespaceRef.value)}}function j_(){const e=Ve(Eo,null);return e?e.mergedClsPrefixRef:za(ol)}const DD={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:"RRRR-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:"缩放到原始尺寸"}},BD=DD,ND={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:"RRRR-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:"縮放到原始尺寸"}},HD=ND,jD={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:"RRRR-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"}},U_=jD,UD={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:"RRRR-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:"元のサイズに戻す"}},VD=UD,WD={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:"RRRR-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:"원본 크기로 확대"}},qD=WD,KD={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:"RRRR-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"}},GD=KD,XD={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:"RRRR-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:"اندازه اصلی تصویر"}},YD=XD;var QD={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}} 年"}},JD=function(t,n,o){var r,i=QD[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 ZD=JD;function Fn(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 eB={full:"y'年'M'月'd'日' EEEE",long:"y'年'M'月'd'日'",medium:"yyyy-MM-dd",short:"yy-MM-dd"},tB={full:"zzzz a h:mm:ss",long:"z a h:mm:ss",medium:"a h:mm:ss",short:"a h:mm"},nB={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},oB={date:Fn({formats:eB,defaultWidth:"full"}),time:Fn({formats:tB,defaultWidth:"full"}),dateTime:Fn({formats:nB,defaultWidth:"full"})};const rB=oB;function gm(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function Bh(e){"@babel/helpers - typeof";return Bh=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},Bh(e)}function iB(e){gm(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Bh(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 aB(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 sB={};function lB(){return sB}function D0(e,t){var n,o,r,i,a,s,l,c;gm(1,arguments);var u=lB(),d=aB((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=iB(e),h=f.getUTCDay(),p=(h<d?7:0)+h-d;return f.setUTCDate(f.getUTCDate()-p),f.setUTCHours(0,0,0,0),f}function cB(e,t,n){gm(2,arguments);var o=D0(e,n),r=D0(t,n);return o.getTime()===r.getTime()}function B0(e,t,n){var o="eeee p";return cB(e,t,n)?o:e.getTime()>t.getTime()?"'下个'"+o:"'上个'"+o}var uB={lastWeek:B0,yesterday:"'昨天' p",today:"'今天' p",tomorrow:"'明天' p",nextWeek:B0,other:"PP p"},dB=function(t,n,o,r){var i=uB[t];return typeof i=="function"?i(n,o,r):i};const fB=dB;function Zt(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 hB={narrow:["前","公元"],abbreviated:["前","公元"],wide:["公元前","公元"]},pB={narrow:["1","2","3","4"],abbreviated:["第一季","第二季","第三季","第四季"],wide:["第一季度","第二季度","第三季度","第四季度"]},mB={narrow:["一","二","三","四","五","六","七","八","九","十","十一","十二"],abbreviated:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],wide:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"]},gB={narrow:["日","一","二","三","四","五","六"],short:["日","一","二","三","四","五","六"],abbreviated:["周日","周一","周二","周三","周四","周五","周六"],wide:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"]},vB={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:"夜间"}},bB={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:"夜间"}},yB=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()}},xB={ordinalNumber:yB,era:Zt({values:hB,defaultWidth:"wide"}),quarter:Zt({values:pB,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Zt({values:mB,defaultWidth:"wide"}),day:Zt({values:gB,defaultWidth:"wide"}),dayPeriod:Zt({values:vB,defaultWidth:"wide",formattingValues:bB,defaultFormattingWidth:"wide"})};const CB=xB;function en(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)?_B(s,function(d){return d.test(a)}):wB(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 wB(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function _B(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}function hl(e){return function(t){var n=arguments.length>1&&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 SB=/^(第\s*)?\d+(日|时|分|秒)?/i,kB=/\d+/i,PB={narrow:/^(前)/i,abbreviated:/^(前)/i,wide:/^(公元前|公元)/i},TB={any:[/^(前)/i,/^(公元)/i]},AB={narrow:/^[1234]/i,abbreviated:/^第[一二三四]刻/i,wide:/^第[一二三四]刻钟/i},RB={any:[/(1|一)/i,/(2|二)/i,/(3|三)/i,/(4|四)/i]},EB={narrow:/^(一|二|三|四|五|六|七|八|九|十[二一])/i,abbreviated:/^(一|二|三|四|五|六|七|八|九|十[二一]|\d|1[12])月/i,wide:/^(一|二|三|四|五|六|七|八|九|十[二一])月/i},$B={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]},IB={narrow:/^[一二三四五六日]/i,short:/^[一二三四五六日]/i,abbreviated:/^周[一二三四五六日]/i,wide:/^星期[一二三四五六日]/i},OB={any:[/日/i,/一/i,/二/i,/三/i,/四/i,/五/i,/六/i]},MB={any:/^(上午?|下午?|午夜|[中正]午|早上?|下午|晚上?|凌晨|)/i},zB={any:{am:/^上午?/i,pm:/^下午?/i,midnight:/^午夜/i,noon:/^[中正]午/i,morning:/^早上/i,afternoon:/^下午/i,evening:/^晚上?/i,night:/^凌晨/i}},LB={ordinalNumber:hl({matchPattern:SB,parsePattern:kB,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:PB,defaultMatchWidth:"wide",parsePatterns:TB,defaultParseWidth:"any"}),quarter:en({matchPatterns:AB,defaultMatchWidth:"wide",parsePatterns:RB,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:EB,defaultMatchWidth:"wide",parsePatterns:$B,defaultParseWidth:"any"}),day:en({matchPatterns:IB,defaultMatchWidth:"wide",parsePatterns:OB,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:MB,defaultMatchWidth:"any",parsePatterns:zB,defaultParseWidth:"any"})};const FB=LB;var DB={code:"zh-CN",formatDistance:ZD,formatLong:rB,formatRelative:fB,localize:CB,match:FB,options:{weekStartsOn:1,firstWeekContainsDate:4}};const V_=DB,BB={name:"zh-CN",locale:V_},N0=BB;var NB={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"}},HB=function(t,n,o){var r,i=NB[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 jB=HB;var UB={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},VB={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},WB={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},qB={date:Fn({formats:UB,defaultWidth:"full"}),time:Fn({formats:VB,defaultWidth:"full"}),dateTime:Fn({formats:WB,defaultWidth:"full"})};const KB=qB;var GB={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},XB=function(t,n,o,r){return GB[t]};const YB=XB;var QB={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},JB={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},ZB={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"]},e9={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"]},t9={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"}},n9={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"}},o9=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"},r9={ordinalNumber:o9,era:Zt({values:QB,defaultWidth:"wide"}),quarter:Zt({values:JB,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Zt({values:ZB,defaultWidth:"wide"}),day:Zt({values:e9,defaultWidth:"wide"}),dayPeriod:Zt({values:t9,defaultWidth:"wide",formattingValues:n9,defaultFormattingWidth:"wide"})};const i9=r9;var a9=/^(\d+)(th|st|nd|rd)?/i,s9=/\d+/i,l9={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},c9={any:[/^b/i,/^(a|c)/i]},u9={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},d9={any:[/1/i,/2/i,/3/i,/4/i]},f9={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},h9={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]},p9={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},m9={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]},g9={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},v9={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}},b9={ordinalNumber:hl({matchPattern:a9,parsePattern:s9,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:l9,defaultMatchWidth:"wide",parsePatterns:c9,defaultParseWidth:"any"}),quarter:en({matchPatterns:u9,defaultMatchWidth:"wide",parsePatterns:d9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:f9,defaultMatchWidth:"wide",parsePatterns:h9,defaultParseWidth:"any"}),day:en({matchPatterns:p9,defaultMatchWidth:"wide",parsePatterns:m9,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:g9,defaultMatchWidth:"any",parsePatterns:v9,defaultParseWidth:"any"})};const y9=b9;var x9={code:"en-US",formatDistance:jB,formatLong:KB,formatRelative:YB,localize:i9,match:y9,options:{weekStartsOn:0,firstWeekContainsDate:1}};const C9=x9,w9={name:"en-US",locale:C9},W_=w9;var _9={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}}年近く"}},S9=function(t,n,o){o=o||{};var r,i=_9[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 k9=S9;var P9={full:"y年M月d日EEEE",long:"y年M月d日",medium:"y/MM/dd",short:"y/MM/dd"},T9={full:"H時mm分ss秒 zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},A9={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},R9={date:Fn({formats:P9,defaultWidth:"full"}),time:Fn({formats:T9,defaultWidth:"full"}),dateTime:Fn({formats:A9,defaultWidth:"full"})};const E9=R9;var $9={lastWeek:"先週のeeeeのp",yesterday:"昨日のp",today:"今日のp",tomorrow:"明日のp",nextWeek:"翌週のeeeeのp",other:"P"},I9=function(t,n,o,r){return $9[t]};const O9=I9;var M9={narrow:["BC","AC"],abbreviated:["紀元前","西暦"],wide:["紀元前","西暦"]},z9={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["第1四半期","第2四半期","第3四半期","第4四半期"]},L9={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月"]},F9={narrow:["日","月","火","水","木","金","土"],short:["日","月","火","水","木","金","土"],abbreviated:["日","月","火","水","木","金","土"],wide:["日曜日","月曜日","火曜日","水曜日","木曜日","金曜日","土曜日"]},D9={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:"深夜"}},B9={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:"深夜"}},N9=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)}},H9={ordinalNumber:N9,era:Zt({values:M9,defaultWidth:"wide"}),quarter:Zt({values:z9,defaultWidth:"wide",argumentCallback:function(t){return Number(t)-1}}),month:Zt({values:L9,defaultWidth:"wide"}),day:Zt({values:F9,defaultWidth:"wide"}),dayPeriod:Zt({values:D9,defaultWidth:"wide",formattingValues:B9,defaultFormattingWidth:"wide"})};const j9=H9;var U9=/^第?\d+(年|四半期|月|週|日|時|分|秒)?/i,V9=/\d+/i,W9={narrow:/^(B\.?C\.?|A\.?D\.?)/i,abbreviated:/^(紀元[前後]|西暦)/i,wide:/^(紀元[前後]|西暦)/i},q9={narrow:[/^B/i,/^A/i],any:[/^(紀元前)/i,/^(西暦|紀元後)/i]},K9={narrow:/^[1234]/i,abbreviated:/^Q[1234]/i,wide:/^第[1234一二三四1234]四半期/i},G9={any:[/(1|一|1)/i,/(2|二|2)/i,/(3|三|3)/i,/(4|四|4)/i]},X9={narrow:/^([123456789]|1[012])/,abbreviated:/^([123456789]|1[012])月/i,wide:/^([123456789]|1[012])月/i},Y9={any:[/^1\D/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},Q9={narrow:/^[日月火水木金土]/,short:/^[日月火水木金土]/,abbreviated:/^[日月火水木金土]/,wide:/^[日月火水木金土]曜日/},J9={any:[/^日/,/^月/,/^火/,/^水/,/^木/,/^金/,/^土/]},Z9={any:/^(AM|PM|午前|午後|正午|深夜|真夜中|夜|朝)/i},e7={any:{am:/^(A|午前)/i,pm:/^(P|午後)/i,midnight:/^深夜|真夜中/i,noon:/^正午/i,morning:/^朝/i,afternoon:/^午後/i,evening:/^夜/i,night:/^深夜/i}},t7={ordinalNumber:hl({matchPattern:U9,parsePattern:V9,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:W9,defaultMatchWidth:"wide",parsePatterns:q9,defaultParseWidth:"any"}),quarter:en({matchPatterns:K9,defaultMatchWidth:"wide",parsePatterns:G9,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:X9,defaultMatchWidth:"wide",parsePatterns:Y9,defaultParseWidth:"any"}),day:en({matchPatterns:Q9,defaultMatchWidth:"wide",parsePatterns:J9,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:Z9,defaultMatchWidth:"any",parsePatterns:e7,defaultParseWidth:"any"})};const n7=t7;var o7={code:"ja",formatDistance:k9,formatLong:E9,formatRelative:O9,localize:j9,match:n7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const r7=o7,i7={name:"ja-JP",locale:r7},a7=i7;var s7={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}}년"}},l7=function(t,n,o){var r,i=s7[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 c7=l7;var u7={full:"y년 M월 d일 EEEE",long:"y년 M월 d일",medium:"y.MM.dd",short:"y.MM.dd"},d7={full:"a H시 mm분 ss초 zzzz",long:"a H:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},f7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},h7={date:Fn({formats:u7,defaultWidth:"full"}),time:Fn({formats:d7,defaultWidth:"full"}),dateTime:Fn({formats:f7,defaultWidth:"full"})};const p7=h7;var m7={lastWeek:"'지난' eeee p",yesterday:"'어제' p",today:"'오늘' p",tomorrow:"'내일' p",nextWeek:"'다음' eeee p",other:"P"},g7=function(t,n,o,r){return m7[t]};const v7=g7;var b7={narrow:["BC","AD"],abbreviated:["BC","AD"],wide:["기원전","서기"]},y7={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1분기","2분기","3분기","4분기"]},x7={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월"]},C7={narrow:["일","월","화","수","목","금","토"],short:["일","월","화","수","목","금","토"],abbreviated:["일","월","화","수","목","금","토"],wide:["일요일","월요일","화요일","수요일","목요일","금요일","토요일"]},w7={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:"밤"}},_7={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:"밤"}},S7=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+"번째"}},k7={ordinalNumber:S7,era:Zt({values:b7,defaultWidth:"wide"}),quarter:Zt({values:y7,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Zt({values:x7,defaultWidth:"wide"}),day:Zt({values:C7,defaultWidth:"wide"}),dayPeriod:Zt({values:w7,defaultWidth:"wide",formattingValues:_7,defaultFormattingWidth:"wide"})};const P7=k7;var T7=/^(\d+)(일|번째)?/i,A7=/\d+/i,R7={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},E7={any:[/^(bc|기원전)/i,/^(ad|서기)/i]},$7={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234]사?분기/i},I7={any:[/1/i,/2/i,/3/i,/4/i]},O7={narrow:/^(1[012]|[123456789])/,abbreviated:/^(1[012]|[123456789])월/i,wide:/^(1[012]|[123456789])월/i},M7={any:[/^1월?$/,/^2/,/^3/,/^4/,/^5/,/^6/,/^7/,/^8/,/^9/,/^10/,/^11/,/^12/]},z7={narrow:/^[일월화수목금토]/,short:/^[일월화수목금토]/,abbreviated:/^[일월화수목금토]/,wide:/^[일월화수목금토]요일/},L7={any:[/^일/,/^월/,/^화/,/^수/,/^목/,/^금/,/^토/]},F7={any:/^(am|pm|오전|오후|자정|정오|아침|저녁|밤)/i},D7={any:{am:/^(am|오전)/i,pm:/^(pm|오후)/i,midnight:/^자정/i,noon:/^정오/i,morning:/^아침/i,afternoon:/^오후/i,evening:/^저녁/i,night:/^밤/i}},B7={ordinalNumber:hl({matchPattern:T7,parsePattern:A7,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:R7,defaultMatchWidth:"wide",parsePatterns:E7,defaultParseWidth:"any"}),quarter:en({matchPatterns:$7,defaultMatchWidth:"wide",parsePatterns:I7,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:O7,defaultMatchWidth:"wide",parsePatterns:M7,defaultParseWidth:"any"}),day:en({matchPatterns:z7,defaultMatchWidth:"wide",parsePatterns:L7,defaultParseWidth:"any"}),dayPeriod:en({matchPatterns:F7,defaultMatchWidth:"any",parsePatterns:D7,defaultParseWidth:"any"})};const N7=B7;var H7={code:"ko",formatDistance:c7,formatLong:p7,formatRelative:v7,localize:P7,match:N7,options:{weekStartsOn:0,firstWeekContainsDate:1}};const j7=H7,U7={name:"ko-KR",locale:j7},V7=U7;var W7={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"}},q7=function(t,n,o){var r,i=W7[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 K7=q7;var G7={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"},X7={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Y7={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},Q7={date:Fn({formats:G7,defaultWidth:"full"}),time:Fn({formats:X7,defaultWidth:"full"}),dateTime:Fn({formats:Y7,defaultWidth:"full"})};const J7=Q7;var Z7={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"},eN=function(t,n,o,r){return Z7[t]};const tN=eN;var nN={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},oN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},rN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},iN={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"]},aN={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"]},sN={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"]},lN={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"}},cN={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"}},uN=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)},dN={ordinalNumber:uN,era:Zt({values:nN,defaultWidth:"wide"}),quarter:Zt({values:oN,defaultWidth:"wide",formattingValues:rN,defaultFormattingWidth:"wide",argumentCallback:function(t){return t-1}}),month:Zt({values:iN,defaultWidth:"wide",formattingValues:aN,defaultFormattingWidth:"wide"}),day:Zt({values:sN,defaultWidth:"wide"}),dayPeriod:Zt({values:lN,defaultWidth:"wide",formattingValues:cN,defaultFormattingWidth:"wide"})};const fN=dN;var hN=/^(\d+)/i,pN=/\d+/i,mN={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},gN={any:[/^t/i,/^s/i]},vN={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},bN={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},yN={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},xN={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]},CN={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},wN={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]},_N={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},SN={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}},kN={ordinalNumber:hl({matchPattern:hN,parsePattern:pN,valueCallback:function(t){return parseInt(t,10)}}),era:en({matchPatterns:mN,defaultMatchWidth:"wide",parsePatterns:gN,defaultParseWidth:"any"}),quarter:en({matchPatterns:vN,defaultMatchWidth:"wide",parsePatterns:bN,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:en({matchPatterns:yN,defaultMatchWidth:"wide",parsePatterns:xN,defaultParseWidth:"wide"}),day:en({matchPatterns:CN,defaultMatchWidth:"wide",parsePatterns:wN,defaultParseWidth:"wide"}),dayPeriod:en({matchPatterns:_N,defaultMatchWidth:"wide",parsePatterns:SN,defaultParseWidth:"any"})};const PN=kN;var TN={code:"vi",formatDistance:K7,formatLong:J7,formatRelative:tN,localize:fN,match:PN,options:{weekStartsOn:1,firstWeekContainsDate:1}};const AN=TN,RN={name:"vi-VN",locale:AN},EN=RN,$N={name:"fa-IR",locale:V_},IN=$N;function Ui(e){const{mergedLocaleRef:t,mergedDateLocaleRef:n}=Ve(Eo,null)||{},o=O(()=>{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:U_[e]});return{dateLocaleRef:O(()=>{var i;return(i=n==null?void 0:n.value)!==null&&i!==void 0?i:W_}),localeRef:o}}function ni(e,t,n){if(!t)return;const o=Bi(),r=Ve(Eo,null),i=()=>{const a=n.value;t.mount({id:a===void 0?e:a+e,head:!0,anchorMetaName:$a,props:{bPrefix:a?`.${a}-`:void 0},ssr:o}),r!=null&&r.preflightStyleDisabled||H_.mount({id:"n-global",head:!0,anchorMetaName:$a,ssr:o})};o?i():hn(i)}function Pt(e,t,n,o){var r;n||hr("useThemeClass","cssVarsRef is not passed");const i=(r=Ve(Eo,null))===null||r===void 0?void 0:r.mergedThemeHashRef,a=j(""),s=Bi();let l;const c=`__${e}`,u=()=>{let d=c;const f=t?t.value:void 0,h=i==null?void 0:i.value;h&&(d+=`-${h}`),f&&(d+=`-${f}`);const{themeOverrides:p,builtinThemeOverrides:g}=o;p&&(d+=`-${Js(JSON.stringify(p))}`),g&&(d+=`-${Js(JSON.stringify(g))}`),a.value=d,l=()=>{const m=n.value;let b="";for(const w in m)b+=`${w}: ${m[w]};`;W(`.${d}`,b).mount({id:d,ssr:s}),l=void 0}};return Yt(()=>{u()}),{themeClass:a,onRender:()=>{l==null||l()}}}function pn(e,t,n){if(!t)return;const o=Bi(),r=O(()=>{const{value:a}=t;if(!a)return;const s=a[e];if(s)return s}),i=()=>{Yt(()=>{const{value:a}=n,s=`${a}${e}Rtl`;if(g8(s,o))return;const{value:l}=r;l&&l.style.mount({id:s,head:!0,anchorMetaName:$a,props:{bPrefix:a?`.${a}-`:void 0},ssr:o})})};return o?i():hn(i),r}const ON=Ce({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"}))}}),MN=Ce({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 Ka(e,t){return Ce({name:x_(e),setup(){var n;const o=(n=Ve(Eo,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 H0=Ce({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"}))}}),zN=Ce({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"})))}}),vm=Ce({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"}))}}),LN=Ka("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"}))))),FN=Ce({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"}))}}),DN=Ce({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"}))}}),BN=Ce({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"}))}}),Vi=Ka("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"}))))),j0=Ce({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"}))))}}),U0=Ce({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"}))))}}),NN=Ce({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=Ce({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"}))}}),Wr=Ka("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"}))))),W0=Ce({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"}))))}}),HN=Ce({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;
|
||
`}))}}),Wi=Ka("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"}))))),qi=Ka("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"}))))),q_=Ce({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"}))}}),jN=Ka("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"}))))),UN=Ce({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"}))}}),Ki=Ce({name:"BaseIconSwitchTransition",setup(e,{slots:t}){const n=ti();return()=>v(fn,{name:"icon-switch-transition",appear:n.value},t)}}),Lu=Ce({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?OT:fn,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)}}}),VN=z("base-icon",`
|
||
height: 1em;
|
||
width: 1em;
|
||
line-height: 1em;
|
||
text-align: center;
|
||
display: inline-block;
|
||
position: relative;
|
||
fill: currentColor;
|
||
transform: translateZ(0);
|
||
`,[W("svg",`
|
||
height: 1em;
|
||
width: 1em;
|
||
`)]),Wt=Ce({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){ni("-base-icon",VN,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)}}),WN=z("base-close",`
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
cursor: pointer;
|
||
background-color: transparent;
|
||
color: var(--n-close-icon-color);
|
||
border-radius: var(--n-close-border-radius);
|
||
height: var(--n-close-size);
|
||
width: var(--n-close-size);
|
||
font-size: var(--n-close-icon-size);
|
||
outline: none;
|
||
border: none;
|
||
position: relative;
|
||
padding: 0;
|
||
`,[J("absolute",`
|
||
height: var(--n-close-icon-size);
|
||
width: var(--n-close-icon-size);
|
||
`),W("&::before",`
|
||
content: "";
|
||
position: absolute;
|
||
width: var(--n-close-size);
|
||
height: var(--n-close-size);
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateY(-50%) translateX(-50%);
|
||
transition: inherit;
|
||
border-radius: inherit;
|
||
`),At("disabled",[W("&:hover",`
|
||
color: var(--n-close-icon-color-hover);
|
||
`),W("&:hover::before",`
|
||
background-color: var(--n-close-color-hover);
|
||
`),W("&:focus::before",`
|
||
background-color: var(--n-close-color-hover);
|
||
`),W("&:active",`
|
||
color: var(--n-close-icon-color-pressed);
|
||
`),W("&:active::before",`
|
||
background-color: var(--n-close-color-pressed);
|
||
`)]),J("disabled",`
|
||
cursor: not-allowed;
|
||
color: var(--n-close-icon-color-disabled);
|
||
background-color: transparent;
|
||
`),J("round",[W("&::before",`
|
||
border-radius: 50%;
|
||
`)])]),Gi=Ce({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 ni("-base-close",WN,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(Wt,{clsPrefix:t},{default:()=>v(LN,null)}))}}}),qN=Ce({props:{onFocus:Function,onBlur:Function},setup(e){return()=>v("div",{style:"width: 0; height: 0",tabindex:0,onFocus:e.onFocus,onBlur:e.onBlur})}}),{cubicBezierEaseInOut:KN}=mo;function Kn({originalTransform:e="",left:t=0,top:n=0,transition:o=`all .3s ${KN} !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 GN=W([W("@keyframes rotator",`
|
||
0% {
|
||
-webkit-transform: rotate(0deg);
|
||
transform: rotate(0deg);
|
||
}
|
||
100% {
|
||
-webkit-transform: rotate(360deg);
|
||
transform: rotate(360deg);
|
||
}`),z("base-loading",`
|
||
position: relative;
|
||
line-height: 0;
|
||
width: 1em;
|
||
height: 1em;
|
||
`,[U("transition-wrapper",`
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
`,[Kn()]),U("placeholder",`
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
`,[Kn({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),U("container",`
|
||
animation: rotator 3s linear infinite both;
|
||
`,[U("icon",`
|
||
height: 1em;
|
||
width: 1em;
|
||
`)])])]),Zd="1.6s",XN={strokeWidth:{type:Number,default:28},stroke:{type:String,default:void 0}},oi=Ce({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}},XN),setup(e){ni("-base-loading",GN,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(Ki,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 q0(e){return Array.isArray(e)?e:[e]}const Nh={STOP:"STOP"};function K_(e,t){const n=t(e);e.children!==void 0&&n!==Nh.STOP&&e.children.forEach(o=>K_(o,t))}function YN(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 JN(e){return e.children}function ZN(e){return e.key}function eH(){return!1}function tH(e,t){const{isLeaf:n}=e;return!(n===!1&&!Array.isArray(t(e)))}function nH(e){return e.disabled===!0}function oH(e,t){return e.isLeaf===!1&&!Array.isArray(t(e))}function ef(e){var t;return e==null?[]:Array.isArray(e)?e:(t=e.checkedKeys)!==null&&t!==void 0?t:[]}function tf(e){var t;return e==null||Array.isArray(e)?[]:(t=e.indeterminateKeys)!==null&&t!==void 0?t:[]}function rH(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)||n.add(o)}),Array.from(n)}function iH(e,t){const n=new Set(e);return t.forEach(o=>{n.has(o)&&n.delete(o)}),Array.from(n)}function aH(e){return(e==null?void 0:e.type)==="group"}function sH(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 lH extends Error{constructor(){super(),this.message="SubtreeNotLoadedError: checking a subtree whose required nodes are not fully loaded."}}function cH(e,t,n,o){return Uc(t.concat(e),n,o,!1)}function uH(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 dH(e,t,n,o){const r=Uc(t,n,o,!1),i=Uc(e,n,o,!0),a=uH(e,n),s=[];return r.forEach(l=>{(i.has(l)||a.has(l))&&s.push(l)}),s.forEach(l=>r.delete(l)),r}function nf(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:rH(n,o),indeterminateKeys:Array.from(i)}:r!==void 0?{checkedKeys:iH(n,r),indeterminateKeys:Array.from(i)}:{checkedKeys:Array.from(n),indeterminateKeys:Array.from(i)};const{levelTreeNodeMap:u}=t;let d;r!==void 0?d=dH(r,n,t,c):o!==void 0?d=cH(o,n,t,c):d=Uc(n,t,c,!1);const f=l==="parent",h=l==="child"||s,p=d,g=new Set,m=Math.max.apply(null,Array.from(u.keys()));for(let b=m;b>=0;b-=1){const w=b===0,C=u.get(b);for(const _ of C){if(_.isLeaf)continue;const{key:S,shallowLoaded:y}=_;if(h&&y&&_.children.forEach(T=>{!T.disabled&&!T.isLeaf&&T.shallowLoaded&&p.has(T.key)&&p.delete(T.key)}),_.disabled||!y)continue;let x=!0,k=!1,P=!0;for(const T of _.children){const E=T.key;if(!T.disabled){if(P&&(P=!1),p.has(E))k=!0;else if(g.has(E)){k=!0,x=!1;break}else if(x=!1,k)break}}x&&!P?(f&&_.children.forEach(T=>{!T.disabled&&p.has(T.key)&&p.delete(T.key)}),p.add(S)):k&&g.add(S),w&&h&&p.has(S)&&p.delete(S)}}return{checkedKeys:Array.from(p),indeterminateKeys:Array.from(g)}}function Uc(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&&K_(c,u=>{if(u.disabled)return Nh.STOP;const{key:d}=u;if(!a.has(d)&&(a.add(d),s.add(d),oH(u.rawNode,i))){if(o)return Nh.STOP;if(!n)throw new lH}})}),s}function fH(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 hH(e){if(e.length===0)return null;const t=e[0];return t.isGroup||t.ignored||t.disabled?t.getNext():t}function pH(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 K0(e,t,{loop:n=!1,includeDisabled:o=!1}={}){const r=t==="prev"?mH:pH,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=bm(c,i);u!==null?s=u:l(r(c,n))}else{const u=r(c,!1);if(u!==null)l(u);else{const d=gH(c);d!=null&&d.isGroup?l(r(d,n)):n&&l(r(c,!0))}}}}return l(e),s}function mH(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 gH(e){return e.parent}function bm(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=bm(c,t);if(u!==null)return u}else return c}}return null}const vH={getChild(){return this.ignored?null:bm(this)},getParent(){const{parent:e}=this;return e!=null&&e.isGroup?e.getParent():e},getNext(e={}){return K0(this,"next",e)},getPrev(e={}){return K0(this,"prev",e)}};function bH(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 yH(e,t){const n=e.key;for(;t;){if(t.key===n)return!0;t=t.parent}return!1}function G_(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=G_(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 Ai(e,t={}){var n;const o=new Map,r=new Map,{getDisabled:i=nH,getIgnored:a=eH,getIsGroup:s=aH,getKey:l=ZN}=t,c=(n=t.getChildren)!==null&&n!==void 0?n:JN,u=t.ignoreEmptyChildren?_=>{const S=c(_);return Array.isArray(S)?S.length?S:null:S}: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 tH(this.rawNode,u)},get ignored(){return a(this.rawNode)},contains(_){return yH(this,_)}},vH),f=G_(e,o,r,d,u);function h(_){if(_==null)return null;const S=o.get(_);return S&&!S.isGroup&&!S.ignored?S:null}function p(_){if(_==null)return null;const S=o.get(_);return S&&!S.ignored?S:null}function g(_,S){const y=p(_);return y?y.getPrev(S):null}function m(_,S){const y=p(_);return y?y.getNext(S):null}function b(_){const S=p(_);return S?S.getParent():null}function w(_){const S=p(_);return S?S.getChild():null}const C={treeNodes:f,treeNodeMap:o,levelTreeNodeMap:r,maxLevel:Math.max(...r.keys()),getChildren:u,getFlattenedNodes(_){return bH(f,_)},getNode:h,getPrev:g,getNext:m,getParent:b,getChild:w,getFirstAvailableNode(){return hH(f)},getPath(_,S={}){return fH(_,S,C)},getCheckedKeys(_,S={}){const{cascade:y=!0,leafOnly:x=!1,checkStrategy:k="all",allowNotLoaded:P=!1}=S;return nf({checkedKeys:ef(_),indeterminateKeys:tf(_),cascade:y,leafOnly:x,checkStrategy:k,allowNotLoaded:P},C)},check(_,S,y={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=y;return nf({checkedKeys:ef(S),indeterminateKeys:tf(S),keysToCheck:_==null?[]:q0(_),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:T},C)},uncheck(_,S,y={}){const{cascade:x=!0,leafOnly:k=!1,checkStrategy:P="all",allowNotLoaded:T=!1}=y;return nf({checkedKeys:ef(S),indeterminateKeys:tf(S),keysToUncheck:_==null?[]:q0(_),cascade:x,leafOnly:k,checkStrategy:P,allowNotLoaded:T},C)},getNonLeafKeys(_={}){return YN(f,_)}};return C}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)"},xH=qo(Ye.neutralBase),X_=qo(Ye.neutralInvertBase),CH=`rgba(${X_.slice(0,3).join(", ")}, `;function Ot(e){return`${CH+String(e)})`}function wH(e){const t=Array.from(X_);return t[3]=Number(e),Ke(xH,t)}const _H=Object.assign(Object.assign({name:"common"},mo),{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:Ot(Ye.alpha1),textColor2:Ot(Ye.alpha2),textColor3:Ot(Ye.alpha3),textColorDisabled:Ot(Ye.alpha4),placeholderColor:Ot(Ye.alpha4),placeholderColorDisabled:Ot(Ye.alpha5),iconColor:Ot(Ye.alpha4),iconColorDisabled:Ot(Ye.alpha5),iconColorHover:Ot(Number(Ye.alpha4)*1.25),iconColorPressed:Ot(Number(Ye.alpha4)*.8),opacity1:Ye.alpha1,opacity2:Ye.alpha2,opacity3:Ye.alpha3,opacity4:Ye.alpha4,opacity5:Ye.alpha5,dividerColor:Ot(Ye.alphaDivider),borderColor:Ot(Ye.alphaBorder),closeIconColorHover:Ot(Number(Ye.alphaClose)),closeIconColor:Ot(Number(Ye.alphaClose)),closeIconColorPressed:Ot(Number(Ye.alphaClose)),closeColorHover:"rgba(255, 255, 255, .12)",closeColorPressed:"rgba(255, 255, 255, .08)",clearColor:Ot(Ye.alpha4),clearColorHover:un(Ot(Ye.alpha4),{alpha:1.25}),clearColorPressed:un(Ot(Ye.alpha4),{alpha:.8}),scrollbarColor:Ot(Ye.alphaScrollbar),scrollbarColorHover:Ot(Ye.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:Ot(Ye.alphaProgressRail),railColor:Ot(Ye.alphaRail),popoverColor:Ye.neutralPopover,tableColor:Ye.neutralCard,cardColor:Ye.neutralCard,modalColor:Ye.neutralModal,bodyColor:Ye.neutralBody,tagColor:wH(Ye.alphaTag),avatarColor:Ot(Ye.alphaAvatar),invertedColor:Ye.neutralBase,inputColor:Ot(Ye.alphaInput),codeColor:Ot(Ye.alphaCode),tabColor:Ot(Ye.alphaTab),actionColor:Ot(Ye.alphaAction),tableHeaderColor:Ot(Ye.alphaAction),hoverColor:Ot(Ye.alphaPending),tableColorHover:Ot(Ye.alphaTablePending),tableColorStriped:Ot(Ye.alphaTableStriped),pressedColor:Ot(Ye.alphaPressed),opacityDisabled:Ye.alphaDisabled,inputColorDisabled:Ot(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)"}),je=_H,lt={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"},SH=qo(lt.neutralBase),Y_=qo(lt.neutralInvertBase),kH=`rgba(${Y_.slice(0,3).join(", ")}, `;function G0(e){return`${kH+String(e)})`}function An(e){const t=Array.from(Y_);return t[3]=Number(e),Ke(SH,t)}const PH=Object.assign(Object.assign({name:"common"},mo),{baseColor:lt.neutralBase,primaryColor:lt.primaryDefault,primaryColorHover:lt.primaryHover,primaryColorPressed:lt.primaryActive,primaryColorSuppl:lt.primarySuppl,infoColor:lt.infoDefault,infoColorHover:lt.infoHover,infoColorPressed:lt.infoActive,infoColorSuppl:lt.infoSuppl,successColor:lt.successDefault,successColorHover:lt.successHover,successColorPressed:lt.successActive,successColorSuppl:lt.successSuppl,warningColor:lt.warningDefault,warningColorHover:lt.warningHover,warningColorPressed:lt.warningActive,warningColorSuppl:lt.warningSuppl,errorColor:lt.errorDefault,errorColorHover:lt.errorHover,errorColorPressed:lt.errorActive,errorColorSuppl:lt.errorSuppl,textColorBase:lt.neutralTextBase,textColor1:"rgb(31, 34, 37)",textColor2:"rgb(51, 54, 57)",textColor3:"rgb(118, 124, 130)",textColorDisabled:An(lt.alpha4),placeholderColor:An(lt.alpha4),placeholderColorDisabled:An(lt.alpha5),iconColor:An(lt.alpha4),iconColorHover:un(An(lt.alpha4),{lightness:.75}),iconColorPressed:un(An(lt.alpha4),{lightness:.9}),iconColorDisabled:An(lt.alpha5),opacity1:lt.alpha1,opacity2:lt.alpha2,opacity3:lt.alpha3,opacity4:lt.alpha4,opacity5:lt.alpha5,dividerColor:"rgb(239, 239, 245)",borderColor:"rgb(224, 224, 230)",closeIconColor:An(Number(lt.alphaClose)),closeIconColorHover:An(Number(lt.alphaClose)),closeIconColorPressed:An(Number(lt.alphaClose)),closeColorHover:"rgba(0, 0, 0, .09)",closeColorPressed:"rgba(0, 0, 0, .13)",clearColor:An(lt.alpha4),clearColorHover:un(An(lt.alpha4),{lightness:.75}),clearColorPressed:un(An(lt.alpha4),{lightness:.9}),scrollbarColor:G0(lt.alphaScrollbar),scrollbarColorHover:G0(lt.alphaScrollbarHover),scrollbarWidth:"5px",scrollbarHeight:"5px",scrollbarBorderRadius:"5px",progressRailColor:An(lt.alphaProgressRail),railColor:"rgb(219, 219, 223)",popoverColor:lt.neutralPopover,tableColor:lt.neutralCard,cardColor:lt.neutralCard,modalColor:lt.neutralModal,bodyColor:lt.neutralBody,tagColor:"#eee",avatarColor:An(lt.alphaAvatar),invertedColor:"rgb(0, 20, 40)",inputColor:An(lt.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:lt.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)"}),xt=PH,TH={iconSizeSmall:"34px",iconSizeMedium:"40px",iconSizeLarge:"46px",iconSizeHuge:"52px"};function Q_(e){const{textColorDisabled:t,iconColor:n,textColor2:o,fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s}=e;return Object.assign(Object.assign({},TH),{fontSizeSmall:r,fontSizeMedium:i,fontSizeLarge:a,fontSizeHuge:s,textColor:t,iconColor:n,extraTextColor:o})}const AH={name:"Empty",common:xt,self:Q_},Fu=AH,RH={name:"Empty",common:je,self:Q_},Xi=RH,EH=z("empty",`
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
font-size: var(--n-font-size);
|
||
`,[U("icon",`
|
||
width: var(--n-icon-size);
|
||
height: var(--n-icon-size);
|
||
font-size: var(--n-icon-size);
|
||
line-height: var(--n-icon-size);
|
||
color: var(--n-icon-color);
|
||
transition:
|
||
color .3s var(--n-bezier);
|
||
`,[W("+",[U("description",`
|
||
margin-top: 8px;
|
||
`)])]),U("description",`
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-text-color);
|
||
`),U("extra",`
|
||
text-align: center;
|
||
transition: color .3s var(--n-bezier);
|
||
margin-top: 12px;
|
||
color: var(--n-extra-text-color);
|
||
`)]),$H=Object.assign(Object.assign({},Ne.props),{description:String,showDescription:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},size:{type:String,default:"medium"},renderIcon:Function}),J_=Ce({name:"Empty",props:$H,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Empty","-empty",EH,Fu,e,t),{localeRef:r}=Ui("Empty"),i=Ve(Eo,null),a=O(()=>{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=O(()=>{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(BN,null))}),l=O(()=>{const{size:u}=e,{common:{cubicBezierEaseInOut:d},self:{[Re("iconSize",u)]:f,[Re("fontSize",u)]:h,textColor:p,iconColor:g,extraTextColor:m}}=o.value;return{"--n-icon-size":f,"--n-font-size":h,"--n-bezier":d,"--n-text-color":p,"--n-icon-color":g,"--n-extra-text-color":m}}),c=n?Pt("empty",O(()=>{let u="";const{size:d}=e;return u+=d[0],u}),l,e):void 0;return{mergedClsPrefix:t,mergedRenderIcon:s,localizedDescription:O(()=>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(Wt,{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)}}),IH={railInsetHorizontal:"auto 2px 4px 2px",railInsetVertical:"2px 4px 2px auto",railColor:"transparent"};function Z_(e){const{scrollbarColor:t,scrollbarColorHover:n,scrollbarHeight:o,scrollbarWidth:r,scrollbarBorderRadius:i}=e;return Object.assign(Object.assign({},IH),{height:o,width:r,borderRadius:i,color:t,colorHover:n})}const OH={name:"Scrollbar",common:xt,self:Z_},Yi=OH,MH={name:"Scrollbar",common:je,self:Z_},Un=MH,{cubicBezierEaseInOut:X0}=mo;function pl({name:e="fade-in",enterDuration:t="0.2s",leaveDuration:n="0.2s",enterCubicBezier:o=X0,leaveCubicBezier:r=X0}={}){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 zH=z("scrollbar",`
|
||
overflow: hidden;
|
||
position: relative;
|
||
z-index: auto;
|
||
height: 100%;
|
||
width: 100%;
|
||
`,[W(">",[z("scrollbar-container",`
|
||
width: 100%;
|
||
overflow: scroll;
|
||
height: 100%;
|
||
min-height: inherit;
|
||
max-height: inherit;
|
||
scrollbar-width: none;
|
||
`,[W("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
|
||
width: 0;
|
||
height: 0;
|
||
display: none;
|
||
`),W(">",[z("scrollbar-content",`
|
||
box-sizing: border-box;
|
||
min-width: 100%;
|
||
`)])])]),W(">, +",[z("scrollbar-rail",`
|
||
position: absolute;
|
||
pointer-events: none;
|
||
user-select: none;
|
||
background: var(--n-scrollbar-rail-color);
|
||
-webkit-user-select: none;
|
||
`,[J("horizontal",`
|
||
inset: var(--n-scrollbar-rail-inset-horizontal);
|
||
height: var(--n-scrollbar-height);
|
||
`,[W(">",[U("scrollbar",`
|
||
height: var(--n-scrollbar-height);
|
||
border-radius: var(--n-scrollbar-border-radius);
|
||
right: 0;
|
||
`)])]),J("vertical",`
|
||
inset: var(--n-scrollbar-rail-inset-vertical);
|
||
width: var(--n-scrollbar-width);
|
||
`,[W(">",[U("scrollbar",`
|
||
width: var(--n-scrollbar-width);
|
||
border-radius: var(--n-scrollbar-border-radius);
|
||
bottom: 0;
|
||
`)])]),J("disabled",[W(">",[U("scrollbar","pointer-events: none;")])]),W(">",[U("scrollbar",`
|
||
z-index: 1;
|
||
position: absolute;
|
||
cursor: pointer;
|
||
pointer-events: all;
|
||
background-color: var(--n-scrollbar-color);
|
||
transition: background-color .2s var(--n-scrollbar-bezier);
|
||
`,[pl(),W("&:hover","background-color: var(--n-scrollbar-color-hover);")])])])])]),LH=Object.assign(Object.assign({},Ne.props),{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}),eS=Ce({name:"Scrollbar",props:LH,inheritAttrs:!1,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("Scrollbar",o,t),i=j(null),a=j(null),s=j(null),l=j(null),c=j(null),u=j(null),d=j(null),f=j(null),h=j(null),p=j(null),g=j(null),m=j(0),b=j(0),w=j(!1),C=j(!1);let _=!1,S=!1,y,x,k=0,P=0,T=0,E=0;const R=z8(),q=Ne("Scrollbar","-scrollbar",zH,Yi,e,t),L=O(()=>{const{value:Q}=f,{value:we}=u,{value:Ie}=p;return Q===null||we===null||Ie===null?0:Math.min(Q,Ie*Q/we+bn(q.value.self.width)*1.5)}),D=O(()=>`${L.value}px`),F=O(()=>{const{value:Q}=h,{value:we}=d,{value:Ie}=g;return Q===null||we===null||Ie===null?0:Ie*Q/we+bn(q.value.self.height)*1.5}),K=O(()=>`${F.value}px`),V=O(()=>{const{value:Q}=f,{value:we}=m,{value:Ie}=u,{value:qe}=p;if(Q===null||Ie===null||qe===null)return 0;{const Qe=Ie-Q;return Qe?we/Qe*(qe-L.value):0}}),le=O(()=>`${V.value}px`),me=O(()=>{const{value:Q}=h,{value:we}=b,{value:Ie}=d,{value:qe}=g;if(Q===null||Ie===null||qe===null)return 0;{const Qe=Ie-Q;return Qe?we/Qe*(qe-F.value):0}}),ee=O(()=>`${me.value}px`),N=O(()=>{const{value:Q}=f,{value:we}=u;return Q!==null&&we!==null&&we>Q}),M=O(()=>{const{value:Q}=h,{value:we}=d;return Q!==null&&we!==null&&we>Q}),Z=O(()=>{const{trigger:Q}=e;return Q==="none"||w.value}),G=O(()=>{const{trigger:Q}=e;return Q==="none"||C.value}),re=O(()=>{const{container:Q}=e;return Q?Q():a.value}),X=O(()=>{const{content:Q}=e;return Q?Q():s.value}),ae=(Q,we)=>{if(!e.scrollable)return;if(typeof Q=="number"){$(Q,we??0,0,!1,"auto");return}const{left:Ie,top:qe,index:Qe,elSize:Je,position:tt,behavior:it,el:vt,debounce:an=!0}=Q;(Ie!==void 0||qe!==void 0)&&$(Ie??0,qe??0,0,!1,it),vt!==void 0?$(0,vt.offsetTop,vt.offsetHeight,an,it):Qe!==void 0&&Je!==void 0?$(0,Qe*Je,Je,an,it):tt==="bottom"?$(0,Number.MAX_SAFE_INTEGER,0,!1,it):tt==="top"&&$(0,0,0,!1,it)},B=rm(()=>{e.container||ae({top:m.value,left:b.value})}),xe=()=>{B.isDeactivated||de()},se=Q=>{if(B.isDeactivated)return;const{onResize:we}=e;we&&we(Q),de()},ge=(Q,we)=>{if(!e.scrollable)return;const{value:Ie}=re;Ie&&(typeof Q=="object"?Ie.scrollBy(Q):Ie.scrollBy(Q,we||0))};function $(Q,we,Ie,qe,Qe){const{value:Je}=re;if(Je){if(qe){const{scrollTop:tt,offsetHeight:it}=Je;if(we>tt){we+Ie<=tt+it||Je.scrollTo({left:Q,top:we+Ie-it,behavior:Qe});return}}Je.scrollTo({left:Q,top:we,behavior:Qe})}}function A(){Pe(),I(),de()}function oe(){Se()}function Se(){ne(),ye()}function ne(){x!==void 0&&window.clearTimeout(x),x=window.setTimeout(()=>{C.value=!1},e.duration)}function ye(){y!==void 0&&window.clearTimeout(y),y=window.setTimeout(()=>{w.value=!1},e.duration)}function Pe(){y!==void 0&&window.clearTimeout(y),w.value=!0}function I(){x!==void 0&&window.clearTimeout(x),C.value=!0}function H(Q){const{onScroll:we}=e;we&&we(Q),te()}function te(){const{value:Q}=re;Q&&(m.value=Q.scrollTop,b.value=Q.scrollLeft*(r!=null&&r.value?-1:1))}function _e(){const{value:Q}=X;Q&&(u.value=Q.offsetHeight,d.value=Q.offsetWidth);const{value:we}=re;we&&(f.value=we.offsetHeight,h.value=we.offsetWidth);const{value:Ie}=c,{value:qe}=l;Ie&&(g.value=Ie.offsetWidth),qe&&(p.value=qe.offsetHeight)}function he(){const{value:Q}=re;Q&&(m.value=Q.scrollTop,b.value=Q.scrollLeft*(r!=null&&r.value?-1:1),f.value=Q.offsetHeight,h.value=Q.offsetWidth,u.value=Q.scrollHeight,d.value=Q.scrollWidth);const{value:we}=c,{value:Ie}=l;we&&(g.value=we.offsetWidth),Ie&&(p.value=Ie.offsetHeight)}function de(){e.scrollable&&(e.useUnifiedContainer?he():(_e(),te()))}function ie(Q){var we;return!(!((we=i.value)===null||we===void 0)&&we.contains(Oi(Q)))}function fe(Q){Q.preventDefault(),Q.stopPropagation(),S=!0,$t("mousemove",window,Oe,!0),$t("mouseup",window,De,!0),P=b.value,T=r!=null&&r.value?window.innerWidth-Q.clientX:Q.clientX}function Oe(Q){if(!S)return;y!==void 0&&window.clearTimeout(y),x!==void 0&&window.clearTimeout(x);const{value:we}=h,{value:Ie}=d,{value:qe}=F;if(we===null||Ie===null)return;const Je=(r!=null&&r.value?window.innerWidth-Q.clientX-T:Q.clientX-T)*(Ie-we)/(we-qe),tt=Ie-we;let it=P+Je;it=Math.min(tt,it),it=Math.max(it,0);const{value:vt}=re;if(vt){vt.scrollLeft=it*(r!=null&&r.value?-1:1);const{internalOnUpdateScrollLeft:an}=e;an&&an(it)}}function De(Q){Q.preventDefault(),Q.stopPropagation(),Tt("mousemove",window,Oe,!0),Tt("mouseup",window,De,!0),S=!1,de(),ie(Q)&&Se()}function Le(Q){Q.preventDefault(),Q.stopPropagation(),_=!0,$t("mousemove",window,Be,!0),$t("mouseup",window,et,!0),k=m.value,E=Q.clientY}function Be(Q){if(!_)return;y!==void 0&&window.clearTimeout(y),x!==void 0&&window.clearTimeout(x);const{value:we}=f,{value:Ie}=u,{value:qe}=L;if(we===null||Ie===null)return;const Je=(Q.clientY-E)*(Ie-we)/(we-qe),tt=Ie-we;let it=k+Je;it=Math.min(tt,it),it=Math.max(it,0);const{value:vt}=re;vt&&(vt.scrollTop=it)}function et(Q){Q.preventDefault(),Q.stopPropagation(),Tt("mousemove",window,Be,!0),Tt("mouseup",window,et,!0),_=!1,de(),ie(Q)&&Se()}Yt(()=>{const{value:Q}=M,{value:we}=N,{value:Ie}=t,{value:qe}=c,{value:Qe}=l;qe&&(Q?qe.classList.remove(`${Ie}-scrollbar-rail--disabled`):qe.classList.add(`${Ie}-scrollbar-rail--disabled`)),Qe&&(we?Qe.classList.remove(`${Ie}-scrollbar-rail--disabled`):Qe.classList.add(`${Ie}-scrollbar-rail--disabled`))}),jt(()=>{e.container||de()}),on(()=>{y!==void 0&&window.clearTimeout(y),x!==void 0&&window.clearTimeout(x),Tt("mousemove",window,Be,!0),Tt("mouseup",window,et,!0)});const Me=O(()=>{const{common:{cubicBezierEaseInOut:Q},self:{color:we,colorHover:Ie,height:qe,width:Qe,borderRadius:Je,railInsetHorizontal:tt,railInsetVertical:it,railColor:vt}}=q.value;return{"--n-scrollbar-bezier":Q,"--n-scrollbar-color":we,"--n-scrollbar-color-hover":Ie,"--n-scrollbar-border-radius":Je,"--n-scrollbar-width":Qe,"--n-scrollbar-height":qe,"--n-scrollbar-rail-inset-horizontal":tt,"--n-scrollbar-rail-inset-vertical":r!=null&&r.value?e8(it):it,"--n-scrollbar-rail-color":vt}}),Xe=n?Pt("scrollbar",void 0,Me,e):void 0;return Object.assign(Object.assign({},{scrollTo:ae,scrollBy:ge,sync:de,syncUnifiedContainer:he,handleMouseEnterWrapper:A,handleMouseLeaveWrapper:oe}),{mergedClsPrefix:t,rtlEnabled:r,containerScrollTop:m,wrapperRef:i,containerRef:a,contentRef:s,yRailRef:l,xRailRef:c,needYBar:N,needXBar:M,yBarSizePx:D,xBarSizePx:K,yBarTopPx:le,xBarLeftPx:ee,isShowXBar:Z,isShowYBar:G,isIos:R,handleScroll:H,handleContentResize:xe,handleContainerResize:se,handleYScrollMouseDown:Le,handleXScrollMouseDown:fe,cssVars:n?void 0:Me,themeClass:Xe==null?void 0:Xe.themeClass,onRender:Xe==null?void 0:Xe.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-hidden":!0},v(a?_h:fn,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(ur,{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?_h:fn,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(ur,{onResize:this.handleContainerResize},{default:l});return i?v(rt,null,c,s(this.themeClass,this.cssVars)):c}}),Oo=eS,tS=eS,FH={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"};function nS(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:h,fontSizeHuge:p,heightSmall:g,heightMedium:m,heightLarge:b,heightHuge:w}=e;return Object.assign(Object.assign({},FH),{optionFontSizeSmall:d,optionFontSizeMedium:f,optionFontSizeLarge:h,optionFontSizeHuge:p,optionHeightSmall:g,optionHeightMedium:m,optionHeightLarge:b,optionHeightHuge:w,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})}const DH={name:"InternalSelectMenu",common:xt,peers:{Scrollbar:Yi,Empty:Fu},self:nS},ym=DH,BH={name:"InternalSelectMenu",common:je,peers:{Scrollbar:Un,Empty:Xi},self:nS},ml=BH;function NH(e,t){return v(fn,{name:"fade-in-scale-up-transition"},{default:()=>e?v(Wt,{clsPrefix:t,class:`${t}-base-select-option__check`},{default:()=>v(zN)}):null})}const Y0=Ce({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}=Ve(Xp),h=kt(()=>{const{value:b}=n;return b?e.tmNode.key===b.key:!1});function p(b){const{tmNode:w}=e;w.disabled||d(b,w)}function g(b){const{tmNode:w}=e;w.disabled||f(b,w)}function m(b){const{tmNode:w}=e,{value:C}=h;w.disabled||C||f(b,w)}return{multiple:o,isGrouped:kt(()=>{const{tmNode:b}=e,{parent:w}=b;return w&&w.rawNode.type==="group"}),showCheckmark:c,nodeProps:u,isPending:h,isSelected:kt(()=>{const{value:b}=t,{value:w}=o;if(b===null)return!1;const C=e.tmNode.rawNode[l.value];if(w){const{value:_}=r;return _.has(C)}else return b===C}),labelField:s,renderLabel:i,renderOption:a,handleMouseMove:m,handleMouseEnter:g,handleClick:p}},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=NH(n,e),h=l?[l(t,n),i&&f]:[Vt(t[this.labelField],t,n),i&&f],p=a==null?void 0:a(t),g=v("div",Object.assign({},p,{class:[`${e}-base-select-option`,t.class,p==null?void 0:p.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:[(p==null?void 0:p.style)||"",t.style||""],onClick:$s([c,p==null?void 0:p.onClick]),onMouseenter:$s([u,p==null?void 0:p.onMouseenter]),onMousemove:$s([d,p==null?void 0:p.onMousemove])}),v("div",{class:`${e}-base-select-option__content`},h));return t.render?t.render({node:g,option:t,selected:n}):s?s({node:g,option:t,selected:n}):g}}),Q0=Ce({name:"NBaseSelectGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{renderLabelRef:e,renderOptionRef:t,labelFieldRef:n,nodePropsRef:o}=Ve(Xp);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:J0,cubicBezierEaseOut:Z0}=mo;function Ga({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} ${J0}, transform ${t} ${J0} ${r&&`,${r}`}`}),W("&.fade-in-scale-up-transition-enter-active",{transformOrigin:e,transition:`opacity ${t} ${Z0}, transform ${t} ${Z0} ${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 HH=z("base-select-menu",`
|
||
line-height: 1.5;
|
||
outline: none;
|
||
z-index: 0;
|
||
position: relative;
|
||
border-radius: var(--n-border-radius);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
background-color: var(--n-color);
|
||
`,[z("scrollbar",`
|
||
max-height: var(--n-height);
|
||
`),z("virtual-list",`
|
||
max-height: var(--n-height);
|
||
`),z("base-select-option",`
|
||
min-height: var(--n-option-height);
|
||
font-size: var(--n-option-font-size);
|
||
display: flex;
|
||
align-items: center;
|
||
`,[U("content",`
|
||
z-index: 1;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
overflow: hidden;
|
||
`)]),z("base-select-group-header",`
|
||
min-height: var(--n-option-height);
|
||
font-size: .93em;
|
||
display: flex;
|
||
align-items: center;
|
||
`),z("base-select-menu-option-wrapper",`
|
||
position: relative;
|
||
width: 100%;
|
||
`),U("loading, empty",`
|
||
display: flex;
|
||
padding: 12px 32px;
|
||
flex: 1;
|
||
justify-content: center;
|
||
`),U("loading",`
|
||
color: var(--n-loading-color);
|
||
font-size: var(--n-loading-size);
|
||
`),U("header",`
|
||
padding: 8px var(--n-option-padding-left);
|
||
font-size: var(--n-option-font-size);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
border-bottom: 1px solid var(--n-action-divider-color);
|
||
color: var(--n-action-text-color);
|
||
`),U("action",`
|
||
padding: 8px var(--n-option-padding-left);
|
||
font-size: var(--n-option-font-size);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
border-top: 1px solid var(--n-action-divider-color);
|
||
color: var(--n-action-text-color);
|
||
`),z("base-select-group-header",`
|
||
position: relative;
|
||
cursor: default;
|
||
padding: var(--n-option-padding);
|
||
color: var(--n-group-header-text-color);
|
||
`),z("base-select-option",`
|
||
cursor: pointer;
|
||
position: relative;
|
||
padding: var(--n-option-padding);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier);
|
||
box-sizing: border-box;
|
||
color: var(--n-option-text-color);
|
||
opacity: 1;
|
||
`,[J("show-checkmark",`
|
||
padding-right: calc(var(--n-option-padding-right) + 20px);
|
||
`),W("&::before",`
|
||
content: "";
|
||
position: absolute;
|
||
left: 4px;
|
||
right: 4px;
|
||
top: 0;
|
||
bottom: 0;
|
||
border-radius: var(--n-border-radius);
|
||
transition: background-color .3s var(--n-bezier);
|
||
`),W("&:active",`
|
||
color: var(--n-option-text-color-pressed);
|
||
`),J("grouped",`
|
||
padding-left: calc(var(--n-option-padding-left) * 1.5);
|
||
`),J("pending",[W("&::before",`
|
||
background-color: var(--n-option-color-pending);
|
||
`)]),J("selected",`
|
||
color: var(--n-option-text-color-active);
|
||
`,[W("&::before",`
|
||
background-color: var(--n-option-color-active);
|
||
`),J("pending",[W("&::before",`
|
||
background-color: var(--n-option-color-active-pending);
|
||
`)])]),J("disabled",`
|
||
cursor: not-allowed;
|
||
`,[At("selected",`
|
||
color: var(--n-option-text-color-disabled);
|
||
`),J("selected",`
|
||
opacity: var(--n-option-opacity-disabled);
|
||
`)]),U("check",`
|
||
font-size: 16px;
|
||
position: absolute;
|
||
right: calc(var(--n-option-padding-right) - 4px);
|
||
top: calc(50% - 7px);
|
||
color: var(--n-option-check-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`,[Ga({enterScale:"0.5"})])])]),oS=Ce({name:"InternalSelectMenu",props:Object.assign(Object.assign({},Ne.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}=st(e),o=pn("InternalSelectMenu",n,t),r=Ne("InternalSelectMenu","-internal-select-menu",HH,ym,e,Ue(e,"clsPrefix")),i=j(null),a=j(null),s=j(null),l=O(()=>e.treeMate.getFlattenedNodes()),c=O(()=>sH(l.value)),u=j(null);function d(){const{treeMate:N}=e;let M=null;const{value:Z}=e;Z===null?M=N.getFirstAvailableNode():(e.multiple?M=N.getNode((Z||[])[(Z||[]).length-1]):M=N.getNode(Z),(!M||M.disabled)&&(M=N.getFirstAvailableNode())),L(M||null)}function f(){const{value:N}=u;N&&!e.treeMate.getNode(N.key)&&(u.value=null)}let h;ut(()=>e.show,N=>{N?h=ut(()=>e.treeMate,()=>{e.resetMenuOnOptionsChange?(e.autoPending?d():f(),Ht(D)):f()},{immediate:!0}):h==null||h()},{immediate:!0}),on(()=>{h==null||h()});const p=O(()=>bn(r.value.self[Re("optionHeight",e.size)])),g=O(()=>co(r.value.self[Re("padding",e.size)])),m=O(()=>e.multiple&&Array.isArray(e.value)?new Set(e.value):new Set),b=O(()=>{const N=l.value;return N&&N.length===0});function w(N){const{onToggle:M}=e;M&&M(N)}function C(N){const{onScroll:M}=e;M&&M(N)}function _(N){var M;(M=s.value)===null||M===void 0||M.sync(),C(N)}function S(){var N;(N=s.value)===null||N===void 0||N.sync()}function y(){const{value:N}=u;return N||null}function x(N,M){M.disabled||L(M,!1)}function k(N,M){M.disabled||w(M)}function P(N){var M;lo(N,"action")||(M=e.onKeyup)===null||M===void 0||M.call(e,N)}function T(N){var M;lo(N,"action")||(M=e.onKeydown)===null||M===void 0||M.call(e,N)}function E(N){var M;(M=e.onMousedown)===null||M===void 0||M.call(e,N),!e.focusable&&N.preventDefault()}function R(){const{value:N}=u;N&&L(N.getNext({loop:!0}),!0)}function q(){const{value:N}=u;N&&L(N.getPrev({loop:!0}),!0)}function L(N,M=!1){u.value=N,M&&D()}function D(){var N,M;const Z=u.value;if(!Z)return;const G=c.value(Z.key);G!==null&&(e.virtualScroll?(N=a.value)===null||N===void 0||N.scrollTo({index:G}):(M=s.value)===null||M===void 0||M.scrollTo({index:G,elSize:p.value}))}function F(N){var M,Z;!((M=i.value)===null||M===void 0)&&M.contains(N.target)&&((Z=e.onFocus)===null||Z===void 0||Z.call(e,N))}function K(N){var M,Z;!((M=i.value)===null||M===void 0)&&M.contains(N.relatedTarget)||(Z=e.onBlur)===null||Z===void 0||Z.call(e,N)}at(Xp,{handleOptionMouseEnter:x,handleOptionClick:k,valueSetRef:m,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")}),at(Iw,i),jt(()=>{const{value:N}=s;N&&N.sync()});const V=O(()=>{const{size:N}=e,{common:{cubicBezierEaseInOut:M},self:{height:Z,borderRadius:G,color:re,groupHeaderTextColor:X,actionDividerColor:ae,optionTextColorPressed:B,optionTextColor:xe,optionTextColorDisabled:se,optionTextColorActive:ge,optionOpacityDisabled:$,optionCheckColor:A,actionTextColor:oe,optionColorPending:Se,optionColorActive:ne,loadingColor:ye,loadingSize:Pe,optionColorActivePending:I,[Re("optionFontSize",N)]:H,[Re("optionHeight",N)]:te,[Re("optionPadding",N)]:_e}}=r.value;return{"--n-height":Z,"--n-action-divider-color":ae,"--n-action-text-color":oe,"--n-bezier":M,"--n-border-radius":G,"--n-color":re,"--n-option-font-size":H,"--n-group-header-text-color":X,"--n-option-check-color":A,"--n-option-color-pending":Se,"--n-option-color-active":ne,"--n-option-color-active-pending":I,"--n-option-height":te,"--n-option-opacity-disabled":$,"--n-option-text-color":xe,"--n-option-text-color-active":ge,"--n-option-text-color-disabled":se,"--n-option-text-color-pressed":B,"--n-option-padding":_e,"--n-option-padding-left":co(_e,"left"),"--n-option-padding-right":co(_e,"right"),"--n-loading-color":ye,"--n-loading-size":Pe}}),{inlineThemeDisabled:le}=e,me=le?Pt("internal-select-menu",O(()=>e.size[0]),V,e):void 0,ee={selfRef:i,next:R,prev:q,getPendingTmNode:y};return Xw(i,e.onResize),Object.assign({mergedTheme:r,mergedClsPrefix:t,rtlEnabled:o,virtualListRef:a,scrollbarRef:s,itemSize:p,padding:g,flattenedNodes:l,empty:b,virtualListContainer(){const{value:N}=a;return N==null?void 0:N.listElRef},virtualListContent(){const{value:N}=a;return N==null?void 0:N.itemsElRef},doScroll:C,handleFocusin:F,handleFocusout:K,handleKeyUp:P,handleKeyDown:T,handleMouseDown:E,handleVirtualListResize:S,handleVirtualListScroll:_,cssVars:le?void 0:V,themeClass:me==null?void 0:me.themeClass,onRender:me==null?void 0:me.onRender},ee)},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},Et(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(oi,{clsPrefix:n,strokeWidth:20})):this.empty?v("div",{class:`${n}-base-select-menu__empty`,"data-empty":!0},$n(e.empty,()=>[v(J_,{theme:o.peers.Empty,themeOverrides:o.peerOverrides.Empty})])):v(Oo,{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(Vw,{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(Q0,{key:a.key,clsPrefix:n,tmNode:a}):a.ignored?null:v(Y0,{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(Q0,{key:a.key,clsPrefix:n,tmNode:a}):v(Y0,{clsPrefix:n,key:a.key,tmNode:a})))}),Et(e.action,a=>a&&[v("div",{class:`${n}-base-select-menu__action`,"data-action":!0,key:"action"},a),v(qN,{onFocus:this.onTabOut,key:"focus-detector"})]))}}),jH=z("base-wave",`
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
border-radius: inherit;
|
||
`),UH=Ce({name:"BaseWave",props:{clsPrefix:{type:String,required:!0}},setup(e){ni("-base-wave",jH,Ue(e,"clsPrefix"));const t=j(null),n=j(!1);let o=null;return on(()=>{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`]})}}),VH={space:"6px",spaceArrow:"10px",arrowOffset:"10px",arrowOffsetVertical:"10px",arrowHeight:"6px",padding:"8px 14px"};function rS(e){const{boxShadow2:t,popoverColor:n,textColor2:o,borderRadius:r,fontSize:i,dividerColor:a}=e;return Object.assign(Object.assign({},VH),{fontSize:i,borderRadius:r,color:n,dividerColor:a,textColor:o,boxShadow:t})}const WH={name:"Popover",common:xt,self:rS},Xa=WH,qH={name:"Popover",common:je,self:rS},Qi=qH,of={top:"bottom",bottom:"top",left:"right",right:"left"},vn="var(--n-arrow-height) * 1.414",KH=W([z("popover",`
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
position: relative;
|
||
font-size: var(--n-font-size);
|
||
color: var(--n-text-color);
|
||
box-shadow: var(--n-box-shadow);
|
||
word-break: break-word;
|
||
`,[W(">",[z("scrollbar",`
|
||
height: inherit;
|
||
max-height: inherit;
|
||
`)]),At("raw",`
|
||
background-color: var(--n-color);
|
||
border-radius: var(--n-border-radius);
|
||
`,[At("scrollable",[At("show-header-or-footer","padding: var(--n-padding);")])]),U("header",`
|
||
padding: var(--n-padding);
|
||
border-bottom: 1px solid var(--n-divider-color);
|
||
transition: border-color .3s var(--n-bezier);
|
||
`),U("footer",`
|
||
padding: var(--n-padding);
|
||
border-top: 1px solid var(--n-divider-color);
|
||
transition: border-color .3s var(--n-bezier);
|
||
`),J("scrollable, show-header-or-footer",[U("content",`
|
||
padding: var(--n-padding);
|
||
`)])]),z("popover-shared",`
|
||
transform-origin: inherit;
|
||
`,[z("popover-arrow-wrapper",`
|
||
position: absolute;
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
`,[z("popover-arrow",`
|
||
transition: background-color .3s var(--n-bezier);
|
||
position: absolute;
|
||
display: block;
|
||
width: calc(${vn});
|
||
height: calc(${vn});
|
||
box-shadow: 0 0 8px 0 rgba(0, 0, 0, .12);
|
||
transform: rotate(45deg);
|
||
background-color: var(--n-color);
|
||
pointer-events: all;
|
||
`)]),W("&.popover-transition-enter-from, &.popover-transition-leave-to",`
|
||
opacity: 0;
|
||
transform: scale(.85);
|
||
`),W("&.popover-transition-enter-to, &.popover-transition-leave-from",`
|
||
transform: scale(1);
|
||
opacity: 1;
|
||
`),W("&.popover-transition-enter-active",`
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
opacity .15s var(--n-bezier-ease-out),
|
||
transform .15s var(--n-bezier-ease-out);
|
||
`),W("&.popover-transition-leave-active",`
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
opacity .15s var(--n-bezier-ease-in),
|
||
transform .15s var(--n-bezier-ease-in);
|
||
`)]),io("top-start",`
|
||
top: calc(${vn} / -2);
|
||
left: calc(${rr("top-start")} - var(--v-offset-left));
|
||
`),io("top",`
|
||
top: calc(${vn} / -2);
|
||
transform: translateX(calc(${vn} / -2)) rotate(45deg);
|
||
left: 50%;
|
||
`),io("top-end",`
|
||
top: calc(${vn} / -2);
|
||
right: calc(${rr("top-end")} + var(--v-offset-left));
|
||
`),io("bottom-start",`
|
||
bottom: calc(${vn} / -2);
|
||
left: calc(${rr("bottom-start")} - var(--v-offset-left));
|
||
`),io("bottom",`
|
||
bottom: calc(${vn} / -2);
|
||
transform: translateX(calc(${vn} / -2)) rotate(45deg);
|
||
left: 50%;
|
||
`),io("bottom-end",`
|
||
bottom: calc(${vn} / -2);
|
||
right: calc(${rr("bottom-end")} + var(--v-offset-left));
|
||
`),io("left-start",`
|
||
left: calc(${vn} / -2);
|
||
top: calc(${rr("left-start")} - var(--v-offset-top));
|
||
`),io("left",`
|
||
left: calc(${vn} / -2);
|
||
transform: translateY(calc(${vn} / -2)) rotate(45deg);
|
||
top: 50%;
|
||
`),io("left-end",`
|
||
left: calc(${vn} / -2);
|
||
bottom: calc(${rr("left-end")} + var(--v-offset-top));
|
||
`),io("right-start",`
|
||
right: calc(${vn} / -2);
|
||
top: calc(${rr("right-start")} - var(--v-offset-top));
|
||
`),io("right",`
|
||
right: calc(${vn} / -2);
|
||
transform: translateY(calc(${vn} / -2)) rotate(45deg);
|
||
top: 50%;
|
||
`),io("right-end",`
|
||
right: calc(${vn} / -2);
|
||
bottom: calc(${rr("right-end")} + var(--v-offset-top));
|
||
`),...RD({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)`} - ${vn}) / 2)`,l=rr(r);return W(`[v-placement="${r}"] >`,[z("popover-shared",[J("center-arrow",[z("popover-arrow",`${t}: calc(max(${s}, ${l}) ${i?"+":"-"} var(--v-offset-${n?"left":"top"}));`)])])])})})]);function rr(e){return["top","bottom"].includes(e.split("-")[0])?"var(--n-arrow-offset)":"var(--n-arrow-offset-vertical)"}function io(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}"] >`,[z("popover-shared",`
|
||
margin-${of[n]}: var(--n-space);
|
||
`,[J("show-arrow",`
|
||
margin-${of[n]}: var(--n-space-arrow);
|
||
`),J("overlap",`
|
||
margin: 0;
|
||
`),C8("popover-arrow-wrapper",`
|
||
right: 0;
|
||
left: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
${n}: 100%;
|
||
${of[n]}: auto;
|
||
${o}
|
||
`,[z("popover-arrow",t)])])])}const iS=Object.assign(Object.assign({},Ne.props),{to:Ko.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});function aS({arrowClass:e,arrowStyle:t,arrowWrapperClass:n,arrowWrapperStyle:o,clsPrefix:r}){return v("div",{key:"__popover-arrow__",style:o,class:[`${r}-popover-arrow-wrapper`,n]},v("div",{class:[`${r}-popover-arrow`,e],style:t}))}const GH=Ce({name:"PopoverBody",inheritAttrs:!1,props:iS,setup(e,{slots:t,attrs:n}){const{namespaceRef:o,mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(e),a=Ne("Popover","-popover",KH,Xa,e,r),s=j(null),l=Ve("NPopover"),c=j(null),u=j(e.show),d=j(!1);Yt(()=>{const{show:x}=e;x&&!w8()&&!e.internalDeactivateImmediately&&(d.value=!0)});const f=O(()=>{const{trigger:x,onClickoutside:k}=e,P=[],{positionManuallyRef:{value:T}}=l;return T||(x==="click"&&!k&&P.push([Ea,_,void 0,{capture:!0}]),x==="hover"&&P.push([U8,C])),k&&P.push([Ea,_,void 0,{capture:!0}]),(e.displayDirective==="show"||e.animated&&d.value)&&P.push([Mn,e.show]),P}),h=O(()=>{const{common:{cubicBezierEaseInOut:x,cubicBezierEaseIn:k,cubicBezierEaseOut:P},self:{space:T,spaceArrow:E,padding:R,fontSize:q,textColor:L,dividerColor:D,color:F,boxShadow:K,borderRadius:V,arrowHeight:le,arrowOffset:me,arrowOffsetVertical:ee}}=a.value;return{"--n-box-shadow":K,"--n-bezier":x,"--n-bezier-ease-in":k,"--n-bezier-ease-out":P,"--n-font-size":q,"--n-text-color":L,"--n-color":F,"--n-divider-color":D,"--n-border-radius":V,"--n-arrow-height":le,"--n-arrow-offset":me,"--n-arrow-offset-vertical":ee,"--n-padding":R,"--n-space":T,"--n-space-arrow":E}}),p=O(()=>{const x=e.width==="trigger"?void 0:qt(e.width),k=[];x&&k.push({width:x});const{maxWidth:P,minWidth:T}=e;return P&&k.push({maxWidth:qt(P)}),T&&k.push({maxWidth:qt(T)}),i||k.push(h.value),k}),g=i?Pt("popover",void 0,h,e):void 0;l.setBodyInstance({syncPosition:m}),on(()=>{l.setBodyInstance(null)}),ut(Ue(e,"show"),x=>{e.animated||(x?u.value=!0:u.value=!1)});function m(){var x;(x=s.value)===null||x===void 0||x.syncPosition()}function b(x){e.trigger==="hover"&&e.keepAliveOnHover&&e.show&&l.handleMouseEnter(x)}function w(x){e.trigger==="hover"&&e.keepAliveOnHover&&l.handleMouseLeave(x)}function C(x){e.trigger==="hover"&&!S().contains(Oi(x))&&l.handleMouseMoveOutside(x)}function _(x){(e.trigger==="click"&&!S().contains(Oi(x))||e.onClickoutside)&&l.handleClickOutside(x)}function S(){return l.getTriggerElement()}at(Wa,c),at(dl,null),at(ul,null);function y(){if(g==null||g.onRender(),!(e.displayDirective==="show"||e.show||e.animated&&d.value))return null;let k;const P=l.internalRenderBodyRef.value,{value:T}=r;if(P)k=P([`${T}-popover-shared`,g==null?void 0:g.themeClass.value,e.overlap&&`${T}-popover-shared--overlap`,e.showArrow&&`${T}-popover-shared--show-arrow`,e.arrowPointToCenter&&`${T}-popover-shared--center-arrow`],c,p.value,b,w);else{const{value:E}=l.extraClassRef,{internalTrapFocus:R}=e,q=!ga(t.header)||!ga(t.footer),L=()=>{var D,F;const K=q?v(rt,null,Et(t.header,me=>me?v("div",{class:[`${T}-popover__header`,e.headerClass],style:e.headerStyle},me):null),Et(t.default,me=>me?v("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t):null),Et(t.footer,me=>me?v("div",{class:[`${T}-popover__footer`,e.footerClass],style:e.footerStyle},me):null)):e.scrollable?(D=t.default)===null||D===void 0?void 0:D.call(t):v("div",{class:[`${T}-popover__content`,e.contentClass],style:e.contentStyle},t),V=e.scrollable?v(tS,{contentClass:q?void 0:`${T}-popover__content ${(F=e.contentClass)!==null&&F!==void 0?F:""}`,contentStyle:q?void 0:e.contentStyle},{default:()=>K}):K,le=e.showArrow?aS({arrowClass:e.arrowClass,arrowStyle:e.arrowStyle,arrowWrapperClass:e.arrowWrapperClass,arrowWrapperStyle:e.arrowWrapperStyle,clsPrefix:T}):null;return[V,le]};k=v("div",Dn({class:[`${T}-popover`,`${T}-popover-shared`,g==null?void 0:g.themeClass.value,E.map(D=>`${T}-${D}`),{[`${T}-popover--scrollable`]:e.scrollable,[`${T}-popover--show-header-or-footer`]:q,[`${T}-popover--raw`]:e.raw,[`${T}-popover-shared--overlap`]:e.overlap,[`${T}-popover-shared--show-arrow`]:e.showArrow,[`${T}-popover-shared--center-arrow`]:e.arrowPointToCenter}],ref:c,style:p.value,onKeydown:l.handleKeydown,onMouseenter:b,onMouseleave:w},n),R?v(nm,{active:e.show,autoFocus:!0},{default:L}):L())}return dn(k,f.value)}return{displayed:d,namespace:o,isMounted:l.isMountedRef,zIndex:l.zIndexRef,followerRef:s,adjustedTo:Ko(e),followerEnabled:u,renderContentNode:y}},render(){return v(em,{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===Ko.tdkey},{default:()=>this.animated?v(fn,{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()})}}),XH=Object.keys(iS),YH={focus:["onFocus","onBlur"],click:["onClick"],hover:["onMouseenter","onMouseleave"],manual:[],nested:["onFocus","onBlur","onMouseenter","onMouseleave","onClick"]};function QH(e,t,n){YH[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 Ia={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:Ko.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},JH=Object.assign(Object.assign(Object.assign({},Ne.props),Ia),{internalOnAfterLeave:Function,internalRenderBody:Function}),gl=Ce({name:"Popover",inheritAttrs:!1,props:JH,__popover__:!0,setup(e){const t=ti(),n=j(null),o=O(()=>e.show),r=j(e.defaultShow),i=rn(o,r),a=kt(()=>e.disabled?!1:i.value),s=()=>{if(e.disabled)return!0;const{getDisabled:D}=e;return!!(D!=null&&D())},l=()=>s()?!1:i.value,c=Ru(e,["arrow","showArrow"]),u=O(()=>e.overlap?!1:c.value);let d=null;const f=j(null),h=j(null),p=kt(()=>e.x!==void 0&&e.y!==void 0);function g(D){const{"onUpdate:show":F,onUpdateShow:K,onShow:V,onHide:le}=e;r.value=D,F&&$e(F,D),K&&$e(K,D),D&&V&&$e(V,!0),D&&le&&$e(le,!1)}function m(){d&&d.syncPosition()}function b(){const{value:D}=f;D&&(window.clearTimeout(D),f.value=null)}function w(){const{value:D}=h;D&&(window.clearTimeout(D),h.value=null)}function C(){const D=s();if(e.trigger==="focus"&&!D){if(l())return;g(!0)}}function _(){const D=s();if(e.trigger==="focus"&&!D){if(!l())return;g(!1)}}function S(){const D=s();if(e.trigger==="hover"&&!D){if(w(),f.value!==null||l())return;const F=()=>{g(!0),f.value=null},{delay:K}=e;K===0?F():f.value=window.setTimeout(F,K)}}function y(){const D=s();if(e.trigger==="hover"&&!D){if(b(),h.value!==null||!l())return;const F=()=>{g(!1),h.value=null},{duration:K}=e;K===0?F():h.value=window.setTimeout(F,K)}}function x(){y()}function k(D){var F;l()&&(e.trigger==="click"&&(b(),w(),g(!1)),(F=e.onClickoutside)===null||F===void 0||F.call(e,D))}function P(){if(e.trigger==="click"&&!s()){b(),w();const D=!l();g(D)}}function T(D){e.internalTrapFocus&&D.key==="Escape"&&(b(),w(),g(!1))}function E(D){r.value=D}function R(){var D;return(D=n.value)===null||D===void 0?void 0:D.targetRef}function q(D){d=D}return at("NPopover",{getTriggerElement:R,handleKeydown:T,handleMouseEnter:S,handleMouseLeave:y,handleClickOutside:k,handleMouseMoveOutside:x,setBodyInstance:q,positionManuallyRef:p,isMountedRef:t,zIndexRef:Ue(e,"zIndex"),extraClassRef:Ue(e,"internalExtraClass"),internalRenderBodyRef:Ue(e,"internalRenderBody")}),Yt(()=>{i.value&&s()&&g(!1)}),{binderInstRef:n,positionManually:p,mergedShowConsideringDisabledProp:a,uncontrolledShow:r,mergedShowArrow:u,getMergedShow:l,setShow:E,handleClick:P,handleMouseEnter:S,handleMouseLeave:y,handleFocus:C,handleBlur:_,syncPosition:m}},render(){var e;const{positionManually:t,$slots:n}=this;let o,r=!1;if(!t&&(n.activator?o=Ch(n,"activator"):o=Ch(n,"trigger"),o)){o=fo(o),o=o.type===Fa?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)})}};QH(o,a?"nested":t?"manual":this.trigger,l)}}return v(Qp,{ref:"binderInstRef",syncTarget:!r,syncTargetWithParent:this.internalSyncTargetWithParent},{default:()=>{this.mergedShowConsideringDisabledProp;const i=this.getMergedShow();return[this.internalTrapFocus&&i?dn(v("div",{style:{position:"fixed",inset:0}}),[[Eu,{enabled:i,zIndex:this.zIndex}]]):null,t?null:v(Jp,null,{default:()=>o}),v(GH,eo(this.$props,XH,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)}})]}})}}),sS={closeIconSizeTiny:"12px",closeIconSizeSmall:"12px",closeIconSizeMedium:"14px",closeIconSizeLarge:"14px",closeSizeTiny:"16px",closeSizeSmall:"16px",closeSizeMedium:"18px",closeSizeLarge:"18px",padding:"0 7px",closeMargin:"0 0 0 4px"},ZH={name:"Tag",common:je,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:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:m,closeColorPressed:b,borderRadiusSmall:w,fontSizeMini:C,fontSizeTiny:_,fontSizeSmall:S,fontSizeMedium:y,heightMini:x,heightTiny:k,heightSmall:P,heightMedium:T,buttonColor2Hover:E,buttonColor2Pressed:R,fontWeightStrong:q}=e;return Object.assign(Object.assign({},sS),{closeBorderRadius:w,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:w,opacityDisabled:f,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:S,fontSizeLarge:y,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:d,colorBordered:"#0000",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:m,closeColorPressed:b,borderPrimary:`1px solid ${ze(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:ze(r,{alpha:.16}),colorBorderedPrimary:"#0000",closeIconColorPrimary:un(r,{lightness:.7}),closeIconColorHoverPrimary:un(r,{lightness:.7}),closeIconColorPressedPrimary:un(r,{lightness:.7}),closeColorHoverPrimary:ze(r,{alpha:.16}),closeColorPressedPrimary:ze(r,{alpha:.12}),borderInfo:`1px solid ${ze(i,{alpha:.3})}`,textColorInfo:i,colorInfo:ze(i,{alpha:.16}),colorBorderedInfo:"#0000",closeIconColorInfo:un(i,{alpha:.7}),closeIconColorHoverInfo:un(i,{alpha:.7}),closeIconColorPressedInfo:un(i,{alpha:.7}),closeColorHoverInfo:ze(i,{alpha:.16}),closeColorPressedInfo:ze(i,{alpha:.12}),borderSuccess:`1px solid ${ze(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:ze(a,{alpha:.16}),colorBorderedSuccess:"#0000",closeIconColorSuccess:un(a,{alpha:.7}),closeIconColorHoverSuccess:un(a,{alpha:.7}),closeIconColorPressedSuccess:un(a,{alpha:.7}),closeColorHoverSuccess:ze(a,{alpha:.16}),closeColorPressedSuccess:ze(a,{alpha:.12}),borderWarning:`1px solid ${ze(s,{alpha:.3})}`,textColorWarning:s,colorWarning:ze(s,{alpha:.16}),colorBorderedWarning:"#0000",closeIconColorWarning:un(s,{alpha:.7}),closeIconColorHoverWarning:un(s,{alpha:.7}),closeIconColorPressedWarning:un(s,{alpha:.7}),closeColorHoverWarning:ze(s,{alpha:.16}),closeColorPressedWarning:ze(s,{alpha:.11}),borderError:`1px solid ${ze(l,{alpha:.3})}`,textColorError:l,colorError:ze(l,{alpha:.16}),colorBorderedError:"#0000",closeIconColorError:un(l,{alpha:.7}),closeIconColorHoverError:un(l,{alpha:.7}),closeIconColorPressedError:un(l,{alpha:.7}),closeColorHoverError:ze(l,{alpha:.16}),closeColorPressedError:ze(l,{alpha:.12})})}},lS=ZH;function ej(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:h,closeIconColorHover:p,closeIconColorPressed:g,borderRadiusSmall:m,fontSizeMini:b,fontSizeTiny:w,fontSizeSmall:C,fontSizeMedium:_,heightMini:S,heightTiny:y,heightSmall:x,heightMedium:k,closeColorHover:P,closeColorPressed:T,buttonColor2Hover:E,buttonColor2Pressed:R,fontWeightStrong:q}=e;return Object.assign(Object.assign({},sS),{closeBorderRadius:m,heightTiny:S,heightSmall:y,heightMedium:x,heightLarge:k,borderRadius:m,opacityDisabled:d,fontSizeTiny:b,fontSizeSmall:w,fontSizeMedium:C,fontSizeLarge:_,fontWeightStrong:q,textColorCheckable:t,textColorHoverCheckable:t,textColorPressedCheckable:t,textColorChecked:c,colorCheckable:"#0000",colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:r,colorCheckedHover:n,colorCheckedPressed:o,border:`1px solid ${u}`,textColor:t,color:f,colorBordered:"rgb(250, 250, 252)",closeIconColor:h,closeIconColorHover:p,closeIconColorPressed:g,closeColorHover:P,closeColorPressed:T,borderPrimary:`1px solid ${ze(r,{alpha:.3})}`,textColorPrimary:r,colorPrimary:ze(r,{alpha:.12}),colorBorderedPrimary:ze(r,{alpha:.1}),closeIconColorPrimary:r,closeIconColorHoverPrimary:r,closeIconColorPressedPrimary:r,closeColorHoverPrimary:ze(r,{alpha:.12}),closeColorPressedPrimary:ze(r,{alpha:.18}),borderInfo:`1px solid ${ze(i,{alpha:.3})}`,textColorInfo:i,colorInfo:ze(i,{alpha:.12}),colorBorderedInfo:ze(i,{alpha:.1}),closeIconColorInfo:i,closeIconColorHoverInfo:i,closeIconColorPressedInfo:i,closeColorHoverInfo:ze(i,{alpha:.12}),closeColorPressedInfo:ze(i,{alpha:.18}),borderSuccess:`1px solid ${ze(a,{alpha:.3})}`,textColorSuccess:a,colorSuccess:ze(a,{alpha:.12}),colorBorderedSuccess:ze(a,{alpha:.1}),closeIconColorSuccess:a,closeIconColorHoverSuccess:a,closeIconColorPressedSuccess:a,closeColorHoverSuccess:ze(a,{alpha:.12}),closeColorPressedSuccess:ze(a,{alpha:.18}),borderWarning:`1px solid ${ze(s,{alpha:.35})}`,textColorWarning:s,colorWarning:ze(s,{alpha:.15}),colorBorderedWarning:ze(s,{alpha:.12}),closeIconColorWarning:s,closeIconColorHoverWarning:s,closeIconColorPressedWarning:s,closeColorHoverWarning:ze(s,{alpha:.12}),closeColorPressedWarning:ze(s,{alpha:.18}),borderError:`1px solid ${ze(l,{alpha:.23})}`,textColorError:l,colorError:ze(l,{alpha:.1}),colorBorderedError:ze(l,{alpha:.08}),closeIconColorError:l,closeIconColorHoverError:l,closeIconColorPressedError:l,closeColorHoverError:ze(l,{alpha:.12}),closeColorPressedError:ze(l,{alpha:.18})})}const tj={name:"Tag",common:xt,self:ej},nj=tj,oj={color:Object,type:{type:String,default:"default"},round:Boolean,size:{type:String,default:"medium"},closable:Boolean,disabled:{type:Boolean,default:void 0}},rj=z("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;
|
||
box-sizing: border-box;
|
||
cursor: default;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
flex-wrap: nowrap;
|
||
padding: var(--n-padding);
|
||
border-radius: var(--n-border-radius);
|
||
color: var(--n-text-color);
|
||
background-color: var(--n-color);
|
||
transition:
|
||
border-color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier);
|
||
line-height: 1;
|
||
height: var(--n-height);
|
||
font-size: var(--n-font-size);
|
||
`,[J("strong",`
|
||
font-weight: var(--n-font-weight-strong);
|
||
`),U("border",`
|
||
pointer-events: none;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
border-radius: inherit;
|
||
border: var(--n-border);
|
||
transition: border-color .3s var(--n-bezier);
|
||
`),U("icon",`
|
||
display: flex;
|
||
margin: 0 4px 0 0;
|
||
color: var(--n-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
font-size: var(--n-avatar-size-override);
|
||
`),U("avatar",`
|
||
display: flex;
|
||
margin: 0 6px 0 0;
|
||
`),U("close",`
|
||
margin: var(--n-close-margin);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`),J("round",`
|
||
padding: 0 calc(var(--n-height) / 3);
|
||
border-radius: calc(var(--n-height) / 2);
|
||
`,[U("icon",`
|
||
margin: 0 4px 0 calc((var(--n-height) - 8px) / -2);
|
||
`),U("avatar",`
|
||
margin: 0 6px 0 calc((var(--n-height) - 8px) / -2);
|
||
`),J("closable",`
|
||
padding: 0 calc(var(--n-height) / 4) 0 calc(var(--n-height) / 3);
|
||
`)]),J("icon, avatar",[J("round",`
|
||
padding: 0 calc(var(--n-height) / 3) 0 calc(var(--n-height) / 2);
|
||
`)]),J("disabled",`
|
||
cursor: not-allowed !important;
|
||
opacity: var(--n-opacity-disabled);
|
||
`),J("checkable",`
|
||
cursor: pointer;
|
||
box-shadow: none;
|
||
color: var(--n-text-color-checkable);
|
||
background-color: var(--n-color-checkable);
|
||
`,[At("disabled",[W("&:hover","background-color: var(--n-color-hover-checkable);",[At("checked","color: var(--n-text-color-hover-checkable);")]),W("&:active","background-color: var(--n-color-pressed-checkable);",[At("checked","color: var(--n-text-color-pressed-checkable);")])]),J("checked",`
|
||
color: var(--n-text-color-checked);
|
||
background-color: var(--n-color-checked);
|
||
`,[At("disabled",[W("&:hover","background-color: var(--n-color-checked-hover);"),W("&:active","background-color: var(--n-color-checked-pressed);")])])])]),ij=Object.assign(Object.assign(Object.assign({},Ne.props),oj),{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}),aj="n-tag",Ri=Ce({name:"Tag",props:ij,setup(e){const t=j(null),{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=Ne("Tag","-tag",rj,nj,e,o);at(aj,{roundRef:Ue(e,"round")});function s(){if(!e.disabled&&e.checkable){const{checked:h,onCheckedChange:p,onUpdateChecked:g,"onUpdate:checked":m}=e;g&&g(!h),m&&m(!h),p&&p(!h)}}function l(h){if(e.triggerClickOnClose||h.stopPropagation(),!e.disabled){const{onClose:p}=e;p&&$e(p,h)}}const c={setTextContent(h){const{value:p}=t;p&&(p.textContent=h)}},u=pn("Tag",i,o),d=O(()=>{const{type:h,size:p,color:{color:g,textColor:m}={}}=e,{common:{cubicBezierEaseInOut:b},self:{padding:w,closeMargin:C,borderRadius:_,opacityDisabled:S,textColorCheckable:y,textColorHoverCheckable:x,textColorPressedCheckable:k,textColorChecked:P,colorCheckable:T,colorHoverCheckable:E,colorPressedCheckable:R,colorChecked:q,colorCheckedHover:L,colorCheckedPressed:D,closeBorderRadius:F,fontWeightStrong:K,[Re("colorBordered",h)]:V,[Re("closeSize",p)]:le,[Re("closeIconSize",p)]:me,[Re("fontSize",p)]:ee,[Re("height",p)]:N,[Re("color",h)]:M,[Re("textColor",h)]:Z,[Re("border",h)]:G,[Re("closeIconColor",h)]:re,[Re("closeIconColorHover",h)]:X,[Re("closeIconColorPressed",h)]:ae,[Re("closeColorHover",h)]:B,[Re("closeColorPressed",h)]:xe}}=a.value,se=co(C);return{"--n-font-weight-strong":K,"--n-avatar-size-override":`calc(${N} - 8px)`,"--n-bezier":b,"--n-border-radius":_,"--n-border":G,"--n-close-icon-size":me,"--n-close-color-pressed":xe,"--n-close-color-hover":B,"--n-close-border-radius":F,"--n-close-icon-color":re,"--n-close-icon-color-hover":X,"--n-close-icon-color-pressed":ae,"--n-close-icon-color-disabled":re,"--n-close-margin-top":se.top,"--n-close-margin-right":se.right,"--n-close-margin-bottom":se.bottom,"--n-close-margin-left":se.left,"--n-close-size":le,"--n-color":g||(n.value?V:M),"--n-color-checkable":T,"--n-color-checked":q,"--n-color-checked-hover":L,"--n-color-checked-pressed":D,"--n-color-hover-checkable":E,"--n-color-pressed-checkable":R,"--n-font-size":ee,"--n-height":N,"--n-opacity-disabled":S,"--n-padding":w,"--n-text-color":m||Z,"--n-text-color-checkable":y,"--n-text-color-checked":P,"--n-text-color-hover-checkable":x,"--n-text-color-pressed-checkable":k}}),f=r?Pt("tag",O(()=>{let h="";const{type:p,size:g,color:{color:m,textColor:b}={}}=e;return h+=p[0],h+=g[0],m&&(h+=`a${Mc(m)}`),b&&(h+=`b${Mc(b)}`),n.value&&(h+="c"),h}),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=Et(l.avatar,d=>d&&v("div",{class:`${n}-tag__avatar`},d)),u=Et(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(Gi,{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)}}),sj=z("base-clear",`
|
||
flex-shrink: 0;
|
||
height: 1em;
|
||
width: 1em;
|
||
position: relative;
|
||
`,[W(">",[U("clear",`
|
||
font-size: var(--n-clear-size);
|
||
height: 1em;
|
||
width: 1em;
|
||
cursor: pointer;
|
||
color: var(--n-clear-color);
|
||
transition: color .3s var(--n-bezier);
|
||
display: flex;
|
||
`,[W("&:hover",`
|
||
color: var(--n-clear-color-hover)!important;
|
||
`),W("&:active",`
|
||
color: var(--n-clear-color-pressed)!important;
|
||
`)]),U("placeholder",`
|
||
display: flex;
|
||
`),U("clear, placeholder",`
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
`,[Kn({originalTransform:"translateX(-50%) translateY(-50%)",left:"50%",top:"50%"})])])]),Hh=Ce({name:"BaseClear",props:{clsPrefix:{type:String,required:!0},show:Boolean,onClear:Function},setup(e){return ni("-base-clear",sj,Ue(e,"clsPrefix")),{handleMouseDown(t){t.preventDefault()}}},render(){const{clsPrefix:e}=this;return v("div",{class:`${e}-base-clear`},v(Ki,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},$n(this.$slots.icon,()=>[v(Wt,{clsPrefix:e},{default:()=>v(jN,null)})])):v("div",{key:"icon",class:`${e}-base-clear__placeholder`},(n=(t=this.$slots).placeholder)===null||n===void 0?void 0:n.call(t))}}))}}),cS=Ce({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(oi,{clsPrefix:n,class:`${n}-base-suffix`,strokeWidth:24,scale:.85,show:e.loading},{default:()=>e.showArrow?v(Hh,{clsPrefix:n,show:e.showClear,onClear:e.onClear},{placeholder:()=>v(Wt,{clsPrefix:n,class:`${n}-base-suffix__arrow`},{default:()=>$n(t.default,()=>[v(q_,null)])})}):null})}}}),uS={paddingSingle:"0 26px 0 12px",paddingMultiple:"3px 26px 0 12px",clearSize:"16px",arrowSize:"16px"};function lj(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:h,iconColorDisabled:p,clearColor:g,clearColorHover:m,clearColorPressed:b,placeholderColor:w,placeholderColorDisabled:C,fontSizeTiny:_,fontSizeSmall:S,fontSizeMedium:y,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:T,heightLarge:E}=e;return Object.assign(Object.assign({},uS),{fontSizeTiny:_,fontSizeSmall:S,fontSizeMedium:y,fontSizeLarge:x,heightTiny:k,heightSmall:P,heightMedium:T,heightLarge:E,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:w,placeholderColorDisabled:C,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 ${ze(a,{alpha:.2})}`,boxShadowFocus:`0 0 0 2px ${ze(a,{alpha:.2})}`,caretColor:a,arrowColor:h,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 0 2px ${ze(l,{alpha:.2})}`,boxShadowFocusWarning:`0 0 0 2px ${ze(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 ${ze(u,{alpha:.2})}`,boxShadowFocusError:`0 0 0 2px ${ze(u,{alpha:.2})}`,colorActiveError:r,caretColorError:u,clearColor:g,clearColorHover:m,clearColorPressed:b})}const cj={name:"InternalSelection",common:xt,peers:{Popover:Xa},self:lj},dS=cj,uj={name:"InternalSelection",common:je,peers:{Popover:Qi},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:h,clearColor:p,clearColorHover:g,clearColorPressed:m,placeholderColor:b,placeholderColorDisabled:w,fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:S,fontSizeLarge:y,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:T}=e;return Object.assign(Object.assign({},uS),{fontSizeTiny:C,fontSizeSmall:_,fontSizeMedium:S,fontSizeLarge:y,heightTiny:x,heightSmall:k,heightMedium:P,heightLarge:T,borderRadius:t,textColor:n,textColorDisabled:o,placeholderColor:b,placeholderColorDisabled:w,color:r,colorDisabled:i,colorActive:ze(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 ${ze(a,{alpha:.4})}`,boxShadowFocus:`0 0 8px 0 ${ze(a,{alpha:.4})}`,caretColor:a,arrowColor:f,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 8px 0 ${ze(l,{alpha:.4})}`,boxShadowFocusWarning:`0 0 8px 0 ${ze(l,{alpha:.4})}`,colorActiveWarning:ze(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 ${ze(u,{alpha:.4})}`,boxShadowFocusError:`0 0 8px 0 ${ze(u,{alpha:.4})}`,colorActiveError:ze(u,{alpha:.1}),caretColorError:u,clearColor:p,clearColorHover:g,clearColorPressed:m})}},xm=uj,dj=W([z("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;
|
||
z-index: auto;
|
||
box-shadow: none;
|
||
width: 100%;
|
||
max-width: 100%;
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
border-radius: var(--n-border-radius);
|
||
min-height: var(--n-height);
|
||
line-height: 1.5;
|
||
font-size: var(--n-font-size);
|
||
`,[z("base-loading",`
|
||
color: var(--n-loading-color);
|
||
`),z("base-selection-tags","min-height: var(--n-height);"),U("border, state-border",`
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
pointer-events: none;
|
||
border: var(--n-border);
|
||
border-radius: inherit;
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
`),U("state-border",`
|
||
z-index: 1;
|
||
border-color: #0000;
|
||
`),z("base-suffix",`
|
||
cursor: pointer;
|
||
position: absolute;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
right: 10px;
|
||
`,[U("arrow",`
|
||
font-size: var(--n-arrow-size);
|
||
color: var(--n-arrow-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`)]),z("base-selection-overlay",`
|
||
display: flex;
|
||
align-items: center;
|
||
white-space: nowrap;
|
||
pointer-events: none;
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
padding: var(--n-padding-single);
|
||
transition: color .3s var(--n-bezier);
|
||
`,[U("wrapper",`
|
||
flex-basis: 0;
|
||
flex-grow: 1;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
`)]),z("base-selection-placeholder",`
|
||
color: var(--n-placeholder-color);
|
||
`,[U("inner",`
|
||
max-width: 100%;
|
||
overflow: hidden;
|
||
`)]),z("base-selection-tags",`
|
||
cursor: pointer;
|
||
outline: none;
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
z-index: auto;
|
||
display: flex;
|
||
padding: var(--n-padding-multiple);
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
width: 100%;
|
||
vertical-align: bottom;
|
||
background-color: var(--n-color);
|
||
border-radius: inherit;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
`),z("base-selection-label",`
|
||
height: var(--n-height);
|
||
display: inline-flex;
|
||
width: 100%;
|
||
vertical-align: bottom;
|
||
cursor: pointer;
|
||
outline: none;
|
||
z-index: auto;
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
border-radius: inherit;
|
||
background-color: var(--n-color);
|
||
align-items: center;
|
||
`,[z("base-selection-input",`
|
||
font-size: inherit;
|
||
line-height: inherit;
|
||
outline: none;
|
||
cursor: pointer;
|
||
box-sizing: border-box;
|
||
border:none;
|
||
width: 100%;
|
||
padding: var(--n-padding-single);
|
||
background-color: #0000;
|
||
color: var(--n-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
caret-color: var(--n-caret-color);
|
||
`,[U("content",`
|
||
text-overflow: ellipsis;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
`)]),U("render-label",`
|
||
color: var(--n-text-color);
|
||
`)]),At("disabled",[W("&:hover",[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-hover);
|
||
border: var(--n-border-hover);
|
||
`)]),J("focus",[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-focus);
|
||
border: var(--n-border-focus);
|
||
`)]),J("active",[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-active);
|
||
border: var(--n-border-active);
|
||
`),z("base-selection-label","background-color: var(--n-color-active);"),z("base-selection-tags","background-color: var(--n-color-active);")])]),J("disabled","cursor: not-allowed;",[U("arrow",`
|
||
color: var(--n-arrow-color-disabled);
|
||
`),z("base-selection-label",`
|
||
cursor: not-allowed;
|
||
background-color: var(--n-color-disabled);
|
||
`,[z("base-selection-input",`
|
||
cursor: not-allowed;
|
||
color: var(--n-text-color-disabled);
|
||
`),U("render-label",`
|
||
color: var(--n-text-color-disabled);
|
||
`)]),z("base-selection-tags",`
|
||
cursor: not-allowed;
|
||
background-color: var(--n-color-disabled);
|
||
`),z("base-selection-placeholder",`
|
||
cursor: not-allowed;
|
||
color: var(--n-placeholder-color-disabled);
|
||
`)]),z("base-selection-input-tag",`
|
||
height: calc(var(--n-height) - 6px);
|
||
line-height: calc(var(--n-height) - 6px);
|
||
outline: none;
|
||
display: none;
|
||
position: relative;
|
||
margin-bottom: 3px;
|
||
max-width: 100%;
|
||
vertical-align: bottom;
|
||
`,[U("input",`
|
||
font-size: inherit;
|
||
font-family: inherit;
|
||
min-width: 1px;
|
||
padding: 0;
|
||
background-color: #0000;
|
||
outline: none;
|
||
border: none;
|
||
max-width: 100%;
|
||
overflow: hidden;
|
||
width: 1em;
|
||
line-height: inherit;
|
||
cursor: pointer;
|
||
color: var(--n-text-color);
|
||
caret-color: var(--n-caret-color);
|
||
`),U("mirror",`
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
white-space: pre;
|
||
visibility: hidden;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
opacity: 0;
|
||
`)]),["warning","error"].map(e=>J(`${e}-status`,[U("state-border",`border: var(--n-border-${e});`),At("disabled",[W("&:hover",[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-hover-${e});
|
||
border: var(--n-border-hover-${e});
|
||
`)]),J("active",[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-active-${e});
|
||
border: var(--n-border-active-${e});
|
||
`),z("base-selection-label",`background-color: var(--n-color-active-${e});`),z("base-selection-tags",`background-color: var(--n-color-active-${e});`)]),J("focus",[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-focus-${e});
|
||
border: var(--n-border-focus-${e});
|
||
`)])])]))]),z("base-selection-popover",`
|
||
margin-bottom: -3px;
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
margin-right: -8px;
|
||
`),z("base-selection-tag-wrapper",`
|
||
max-width: 100%;
|
||
display: inline-flex;
|
||
padding: 0 7px 3px 0;
|
||
`,[W("&:last-child","padding-right: 0;"),z("tag",`
|
||
font-size: 14px;
|
||
max-width: 100%;
|
||
`,[U("content",`
|
||
line-height: 1.25;
|
||
text-overflow: ellipsis;
|
||
overflow: hidden;
|
||
`)])])]),fj=Ce({name:"InternalSelection",props:Object.assign(Object.assign({},Ne.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}=st(e),o=pn("InternalSelection",n,t),r=j(null),i=j(null),a=j(null),s=j(null),l=j(null),c=j(null),u=j(null),d=j(null),f=j(null),h=j(null),p=j(!1),g=j(!1),m=j(!1),b=Ne("InternalSelection","-internal-selection",dj,dS,e,Ue(e,"clsPrefix")),w=O(()=>e.clearable&&!e.disabled&&(m.value||e.active)),C=O(()=>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),_=O(()=>{const he=e.selectedOption;if(he)return he[e.labelField]}),S=O(()=>e.multiple?!!(Array.isArray(e.selectedOptions)&&e.selectedOptions.length):e.selectedOption!==null);function y(){var he;const{value:de}=r;if(de){const{value:ie}=i;ie&&(ie.style.width=`${de.offsetWidth}px`,e.maxTagCount!=="responsive"&&((he=f.value)===null||he===void 0||he.sync({showAllItemsBeforeCalculate:!1})))}}function x(){const{value:he}=h;he&&(he.style.display="none")}function k(){const{value:he}=h;he&&(he.style.display="inline-block")}ut(Ue(e,"active"),he=>{he||x()}),ut(Ue(e,"pattern"),()=>{e.multiple&&Ht(y)});function P(he){const{onFocus:de}=e;de&&de(he)}function T(he){const{onBlur:de}=e;de&&de(he)}function E(he){const{onDeleteOption:de}=e;de&&de(he)}function R(he){const{onClear:de}=e;de&&de(he)}function q(he){const{onPatternInput:de}=e;de&&de(he)}function L(he){var de;(!he.relatedTarget||!(!((de=a.value)===null||de===void 0)&&de.contains(he.relatedTarget)))&&P(he)}function D(he){var de;!((de=a.value)===null||de===void 0)&&de.contains(he.relatedTarget)||T(he)}function F(he){R(he)}function K(){m.value=!0}function V(){m.value=!1}function le(he){!e.active||!e.filterable||he.target!==i.value&&he.preventDefault()}function me(he){E(he)}const ee=j(!1);function N(he){if(he.key==="Backspace"&&!ee.value&&!e.pattern.length){const{selectedOptions:de}=e;de!=null&&de.length&&me(de[de.length-1])}}let M=null;function Z(he){const{value:de}=r;if(de){const ie=he.target.value;de.textContent=ie,y()}e.ignoreComposition&&ee.value?M=he:q(he)}function G(){ee.value=!0}function re(){ee.value=!1,e.ignoreComposition&&q(M),M=null}function X(he){var de;g.value=!0,(de=e.onPatternFocus)===null||de===void 0||de.call(e,he)}function ae(he){var de;g.value=!1,(de=e.onPatternBlur)===null||de===void 0||de.call(e,he)}function B(){var he,de;if(e.filterable)g.value=!1,(he=c.value)===null||he===void 0||he.blur(),(de=i.value)===null||de===void 0||de.blur();else if(e.multiple){const{value:ie}=s;ie==null||ie.blur()}else{const{value:ie}=l;ie==null||ie.blur()}}function xe(){var he,de,ie;e.filterable?(g.value=!1,(he=c.value)===null||he===void 0||he.focus()):e.multiple?(de=s.value)===null||de===void 0||de.focus():(ie=l.value)===null||ie===void 0||ie.focus()}function se(){const{value:he}=i;he&&(k(),he.focus())}function ge(){const{value:he}=i;he&&he.blur()}function $(he){const{value:de}=u;de&&de.setTextContent(`+${he}`)}function A(){const{value:he}=d;return he}function oe(){return i.value}let Se=null;function ne(){Se!==null&&window.clearTimeout(Se)}function ye(){e.active||(ne(),Se=window.setTimeout(()=>{S.value&&(p.value=!0)},100))}function Pe(){ne()}function I(he){he||(ne(),p.value=!1)}ut(S,he=>{he||(p.value=!1)}),jt(()=>{Yt(()=>{const he=c.value;he&&(e.disabled?he.removeAttribute("tabindex"):he.tabIndex=g.value?-1:0)})}),Xw(a,e.onResize);const{inlineThemeDisabled:H}=e,te=O(()=>{const{size:he}=e,{common:{cubicBezierEaseInOut:de},self:{borderRadius:ie,color:fe,placeholderColor:Oe,textColor:De,paddingSingle:Le,paddingMultiple:Be,caretColor:et,colorDisabled:Me,textColorDisabled:Xe,placeholderColorDisabled:gt,colorActive:Q,boxShadowFocus:we,boxShadowActive:Ie,boxShadowHover:qe,border:Qe,borderFocus:Je,borderHover:tt,borderActive:it,arrowColor:vt,arrowColorDisabled:an,loadingColor:Lt,colorActiveWarning:ke,boxShadowFocusWarning:He,boxShadowActiveWarning:Ze,boxShadowHoverWarning:ht,borderWarning:bt,borderFocusWarning:dt,borderHoverWarning:Rt,borderActiveWarning:ue,colorActiveError:Ee,boxShadowFocusError:ot,boxShadowActiveError:Bt,boxShadowHoverError:Kt,borderError:Ft,borderFocusError:yo,borderHoverError:xo,borderActiveError:Co,clearColor:Jo,clearColorHover:Zo,clearColorPressed:ii,clearSize:es,arrowSize:ts,[Re("height",he)]:ns,[Re("fontSize",he)]:os}}=b.value,yr=co(Le),xr=co(Be);return{"--n-bezier":de,"--n-border":Qe,"--n-border-active":it,"--n-border-focus":Je,"--n-border-hover":tt,"--n-border-radius":ie,"--n-box-shadow-active":Ie,"--n-box-shadow-focus":we,"--n-box-shadow-hover":qe,"--n-caret-color":et,"--n-color":fe,"--n-color-active":Q,"--n-color-disabled":Me,"--n-font-size":os,"--n-height":ns,"--n-padding-single-top":yr.top,"--n-padding-multiple-top":xr.top,"--n-padding-single-right":yr.right,"--n-padding-multiple-right":xr.right,"--n-padding-single-left":yr.left,"--n-padding-multiple-left":xr.left,"--n-padding-single-bottom":yr.bottom,"--n-padding-multiple-bottom":xr.bottom,"--n-placeholder-color":Oe,"--n-placeholder-color-disabled":gt,"--n-text-color":De,"--n-text-color-disabled":Xe,"--n-arrow-color":vt,"--n-arrow-color-disabled":an,"--n-loading-color":Lt,"--n-color-active-warning":ke,"--n-box-shadow-focus-warning":He,"--n-box-shadow-active-warning":Ze,"--n-box-shadow-hover-warning":ht,"--n-border-warning":bt,"--n-border-focus-warning":dt,"--n-border-hover-warning":Rt,"--n-border-active-warning":ue,"--n-color-active-error":Ee,"--n-box-shadow-focus-error":ot,"--n-box-shadow-active-error":Bt,"--n-box-shadow-hover-error":Kt,"--n-border-error":Ft,"--n-border-focus-error":yo,"--n-border-hover-error":xo,"--n-border-active-error":Co,"--n-clear-size":es,"--n-clear-color":Jo,"--n-clear-color-hover":Zo,"--n-clear-color-pressed":ii,"--n-arrow-size":ts}}),_e=H?Pt("internal-selection",O(()=>e.size[0]),te,e):void 0;return{mergedTheme:b,mergedClearable:w,mergedClsPrefix:t,rtlEnabled:o,patternInputFocused:g,filterablePlaceholder:C,label:_,selected:S,showTagsPanel:p,isComposing:ee,counterRef:u,counterWrapperRef:d,patternInputMirrorRef:r,patternInputRef:i,selfRef:a,multipleElRef:s,singleElRef:l,patternInputWrapperRef:c,overflowRef:f,inputTagElRef:h,handleMouseDown:le,handleFocusin:L,handleClear:F,handleMouseEnter:K,handleMouseLeave:V,handleDeleteOption:me,handlePatternKeyDown:N,handlePatternInputInput:Z,handlePatternInputBlur:ae,handlePatternInputFocus:X,handleMouseEnterCounter:ye,handleMouseLeaveCounter:Pe,handleFocusout:D,handleCompositionEnd:re,handleCompositionStart:G,onPopoverUpdateShow:I,focus:xe,focusInput:se,blur:B,blurInput:ge,updateCounter:$,getCounter:A,getTail:oe,renderLabel:e.renderLabel,cssVars:H?void 0:te,themeClass:_e==null?void 0:_e.themeClass,onRender:_e==null?void 0:_e.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",h=typeof i=="number",p=f||h,g=v(_h,null,{default:()=>v(cS,{clsPrefix:s,loading:this.loading,showArrow:this.showArrow,showClear:this.mergedClearable&&this.selected,onClear:this.handleClear},{default:()=>{var b,w;return(w=(b=this.$slots).arrow)===null||w===void 0?void 0:w.call(b)}})});let m;if(t){const{labelField:b}=this,w=q=>v("div",{class:`${s}-base-selection-tag-wrapper`,key:q.value},u?u({option:q,handleClose:()=>{this.handleDeleteOption(q)}}):v(Ri,{size:n,closable:!q.disabled,disabled:o,onClose:()=>{this.handleDeleteOption(q)},internalCloseIsButtonTag:!1,internalCloseFocusable:!1},{default:()=>d?d(q,!0):Vt(q[b],q,!0)})),C=()=>(h?this.selectedOptions.slice(0,i):this.selectedOptions).map(w),_=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,S=f?()=>v("div",{class:`${s}-base-selection-tag-wrapper`,ref:"counterWrapperRef"},v(Ri,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,onMouseleave:this.handleMouseLeaveCounter,disabled:o})):void 0;let y;if(h){const q=this.selectedOptions.length-i;q>0&&(y=v("div",{class:`${s}-base-selection-tag-wrapper`,key:"__counter__"},v(Ri,{size:n,ref:"counterRef",onMouseenter:this.handleMouseEnterCounter,disabled:o},{default:()=>`+${q}`})))}const x=f?r?v(Ah,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,getTail:this.getTail,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:S,tail:()=>_}):v(Ah,{ref:"overflowRef",updateCounter:this.updateCounter,getCounter:this.getCounter,style:{width:"100%",display:"flex",overflow:"hidden"}},{default:C,counter:S}):h&&y?C().concat(y):C(),k=p?()=>v("div",{class:`${s}-base-selection-popover`},f?C():this.selectedOptions.map(w)):void 0,P=p?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,E=(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,R=r?v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-tags`},x,f?null:_,g):v("div",{ref:"multipleElRef",class:`${s}-base-selection-tags`,tabindex:o?void 0:0},x,g);m=v(rt,null,p?v(gl,Object.assign({},P,{scrollable:!0,style:"max-height: calc(var(--v-target-height) * 6.6);"}),{trigger:()=>R,default:k}):R,E)}else if(r){const b=this.pattern||this.isComposing,w=this.active?!b:!this.selected,C=this.active?!1:this.selected;m=v("div",{ref:"patternInputWrapperRef",class:`${s}-base-selection-label`,title:this.patternInputFocused?void 0:Sb(this.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})),C?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,w?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 m=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:Sb(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},m,a?v("div",{class:`${s}-base-selection__border`}):null,a?v("div",{class:`${s}-base-selection__state-border`}):null)}}),{cubicBezierEaseInOut:Tr}=mo;function hj({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;
|
||
`),W("&.fade-in-width-expand-transition-leave-active",`
|
||
overflow: hidden;
|
||
transition:
|
||
opacity ${e} ${Tr},
|
||
max-width ${e} ${Tr} ${t},
|
||
margin-left ${e} ${Tr} ${t},
|
||
margin-right ${e} ${Tr} ${t};
|
||
`),W("&.fade-in-width-expand-transition-enter-active",`
|
||
overflow: hidden;
|
||
transition:
|
||
opacity ${e} ${Tr} ${t},
|
||
max-width ${e} ${Tr},
|
||
margin-left ${e} ${Tr},
|
||
margin-right ${e} ${Tr};
|
||
`)]}const fS={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"},pj={name:"Alert",common:je,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:h,successColorSuppl:p,warningColorSuppl:g,errorColorSuppl:m,fontSize:b}=e;return Object.assign(Object.assign({},fS),{fontSize:b,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 ${ze(h,{alpha:.35})}`,colorInfo:ze(h,{alpha:.25}),titleTextColorInfo:a,iconColorInfo:h,contentTextColorInfo:s,closeColorHoverInfo:l,closeColorPressedInfo:c,closeIconColorInfo:u,closeIconColorHoverInfo:d,closeIconColorPressedInfo:f,borderSuccess:`1px solid ${ze(p,{alpha:.35})}`,colorSuccess:ze(p,{alpha:.25}),titleTextColorSuccess:a,iconColorSuccess:p,contentTextColorSuccess:s,closeColorHoverSuccess:l,closeColorPressedSuccess:c,closeIconColorSuccess:u,closeIconColorHoverSuccess:d,closeIconColorPressedSuccess:f,borderWarning:`1px solid ${ze(g,{alpha:.35})}`,colorWarning:ze(g,{alpha:.25}),titleTextColorWarning:a,iconColorWarning:g,contentTextColorWarning:s,closeColorHoverWarning:l,closeColorPressedWarning:c,closeIconColorWarning:u,closeIconColorHoverWarning:d,closeIconColorPressedWarning:f,borderError:`1px solid ${ze(m,{alpha:.35})}`,colorError:ze(m,{alpha:.25}),titleTextColorError:a,iconColorError:m,contentTextColorError:s,closeColorHoverError:l,closeColorPressedError:c,closeIconColorError:u,closeIconColorHoverError:d,closeIconColorPressedError:f})}},mj=pj;function gj(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:h,infoColor:p,successColor:g,warningColor:m,errorColor:b,fontSize:w}=e;return Object.assign(Object.assign({},fS),{fontSize:w,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:h,borderInfo:`1px solid ${Ke(r,ze(p,{alpha:.25}))}`,colorInfo:Ke(r,ze(p,{alpha:.08})),titleTextColorInfo:s,iconColorInfo:p,contentTextColorInfo:l,closeColorHoverInfo:c,closeColorPressedInfo:u,closeIconColorInfo:d,closeIconColorHoverInfo:f,closeIconColorPressedInfo:h,borderSuccess:`1px solid ${Ke(r,ze(g,{alpha:.25}))}`,colorSuccess:Ke(r,ze(g,{alpha:.08})),titleTextColorSuccess:s,iconColorSuccess:g,contentTextColorSuccess:l,closeColorHoverSuccess:c,closeColorPressedSuccess:u,closeIconColorSuccess:d,closeIconColorHoverSuccess:f,closeIconColorPressedSuccess:h,borderWarning:`1px solid ${Ke(r,ze(m,{alpha:.33}))}`,colorWarning:Ke(r,ze(m,{alpha:.08})),titleTextColorWarning:s,iconColorWarning:m,contentTextColorWarning:l,closeColorHoverWarning:c,closeColorPressedWarning:u,closeIconColorWarning:d,closeIconColorHoverWarning:f,closeIconColorPressedWarning:h,borderError:`1px solid ${Ke(r,ze(b,{alpha:.25}))}`,colorError:Ke(r,ze(b,{alpha:.08})),titleTextColorError:s,iconColorError:b,contentTextColorError:l,closeColorHoverError:c,closeColorPressedError:u,closeIconColorError:d,closeIconColorHoverError:f,closeIconColorPressedError:h})}const vj={name:"Alert",common:xt,self:gj},bj=vj,{cubicBezierEaseInOut:Do,cubicBezierEaseOut:yj,cubicBezierEaseIn:xj}=mo;function Cm({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} ${Do} ${o},
|
||
opacity ${t} ${yj} ${o},
|
||
margin-top ${t} ${Do} ${o},
|
||
margin-bottom ${t} ${Do} ${o},
|
||
padding-top ${t} ${Do} ${o},
|
||
padding-bottom ${t} ${Do} ${o}
|
||
${n?`,${n}`:""}
|
||
`),W(`&.fade-in-height-expand-transition-${l}-active`,`
|
||
overflow: ${e};
|
||
transition:
|
||
max-height ${t} ${Do},
|
||
opacity ${t} ${xj},
|
||
margin-top ${t} ${Do},
|
||
margin-bottom ${t} ${Do},
|
||
padding-top ${t} ${Do},
|
||
padding-bottom ${t} ${Do}
|
||
${n?`,${n}`:""}
|
||
`)]}const Cj=z("alert",`
|
||
line-height: var(--n-line-height);
|
||
border-radius: var(--n-border-radius);
|
||
position: relative;
|
||
transition: background-color .3s var(--n-bezier);
|
||
background-color: var(--n-color);
|
||
text-align: start;
|
||
word-break: break-word;
|
||
`,[U("border",`
|
||
border-radius: inherit;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
transition: border-color .3s var(--n-bezier);
|
||
border: var(--n-border);
|
||
pointer-events: none;
|
||
`),J("closable",[z("alert-body",[U("title",`
|
||
padding-right: 24px;
|
||
`)])]),U("icon",{color:"var(--n-icon-color)"}),z("alert-body",{padding:"var(--n-padding)"},[U("title",{color:"var(--n-title-text-color)"}),U("content",{color:"var(--n-content-text-color)"})]),Cm({originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.9)"}}),U("icon",`
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
align-items: center;
|
||
justify-content: center;
|
||
display: flex;
|
||
width: var(--n-icon-size);
|
||
height: var(--n-icon-size);
|
||
font-size: var(--n-icon-size);
|
||
margin: var(--n-icon-margin);
|
||
`),U("close",`
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
margin: var(--n-close-margin);
|
||
`),J("show-icon",[z("alert-body",{paddingLeft:"calc(var(--n-icon-margin-left) + var(--n-icon-size) + var(--n-icon-margin-right))"})]),J("right-adjust",[z("alert-body",{paddingRight:"calc(var(--n-close-size) + var(--n-padding) + 2px)"})]),z("alert-body",`
|
||
border-radius: var(--n-border-radius);
|
||
transition: border-color .3s var(--n-bezier);
|
||
`,[U("title",`
|
||
transition: color .3s var(--n-bezier);
|
||
font-size: 16px;
|
||
line-height: 19px;
|
||
font-weight: var(--n-title-font-weight);
|
||
`,[W("& +",[U("content",{marginTop:"9px"})])]),U("content",{transition:"color .3s var(--n-bezier)",fontSize:"var(--n-font-size)"})]),U("icon",{transition:"color .3s var(--n-bezier)"})]),wj=Object.assign(Object.assign({},Ne.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}),vl=Ce({name:"Alert",inheritAttrs:!1,props:wj,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Ne("Alert","-alert",Cj,bj,e,t),a=pn("Alert",r,t),s=O(()=>{const{common:{cubicBezierEaseInOut:h},self:p}=i.value,{fontSize:g,borderRadius:m,titleFontWeight:b,lineHeight:w,iconSize:C,iconMargin:_,iconMarginRtl:S,closeIconSize:y,closeBorderRadius:x,closeSize:k,closeMargin:P,closeMarginRtl:T,padding:E}=p,{type:R}=e,{left:q,right:L}=co(_);return{"--n-bezier":h,"--n-color":p[Re("color",R)],"--n-close-icon-size":y,"--n-close-border-radius":x,"--n-close-color-hover":p[Re("closeColorHover",R)],"--n-close-color-pressed":p[Re("closeColorPressed",R)],"--n-close-icon-color":p[Re("closeIconColor",R)],"--n-close-icon-color-hover":p[Re("closeIconColorHover",R)],"--n-close-icon-color-pressed":p[Re("closeIconColorPressed",R)],"--n-icon-color":p[Re("iconColor",R)],"--n-border":p[Re("border",R)],"--n-title-text-color":p[Re("titleTextColor",R)],"--n-content-text-color":p[Re("contentTextColor",R)],"--n-line-height":w,"--n-border-radius":m,"--n-font-size":g,"--n-title-font-weight":b,"--n-icon-size":C,"--n-icon-margin":_,"--n-icon-margin-rtl":S,"--n-close-size":k,"--n-close-margin":P,"--n-close-margin-rtl":T,"--n-padding":E,"--n-icon-margin-left":q,"--n-icon-margin-right":L}}),l=o?Pt("alert",O(()=>e.type[0]),s,e):void 0,c=j(!0),u=()=>{const{onAfterLeave:h,onAfterHide:p}=e;h&&h(),p&&p()};return{rtlEnabled:a,mergedClsPrefix:t,mergedBordered:n,visible:c,handleCloseClick:()=>{var h;Promise.resolve((h=e.onClose)===null||h===void 0?void 0:h.call(e)).then(p=>{p!==!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(Lu,{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(Gi,{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"},$n(n.icon,()=>[v(Wt,{clsPrefix:t},{default:()=>{switch(this.type){case"success":return v(Wi,null);case"info":return v(Wr,null);case"warning":return v(qi,null);case"error":return v(Vi,null);default:return null}}})])),v("div",{class:[`${t}-alert-body`,this.mergedBordered&&`${t}-alert-body--bordered`]},Et(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}})}}),_j={linkFontSize:"13px",linkPadding:"0 0 0 16px",railWidth:"4px"};function Sj(e){const{borderRadius:t,railColor:n,primaryColor:o,primaryColorHover:r,primaryColorPressed:i,textColor2:a}=e;return Object.assign(Object.assign({},_j),{borderRadius:t,railColor:n,railColorActive:o,linkColor:ze(o,{alpha:.15}),linkTextColor:a,linkTextColorHover:r,linkTextColorPressed:i,linkTextColorActive:o})}const kj={name:"Anchor",common:je,self:Sj},Pj=kj;function Vc(e){return e.type==="group"}function hS(e){return e.type==="ignored"}function rf(e,t){try{return!!(1+t.toString().toLowerCase().indexOf(e.trim().toLowerCase()))}catch{return!1}}function pS(e,t){return{getIsGroup:Vc,getIgnored:hS,getKey(o){return Vc(o)?o.name||o.key||"key-required":o[e]},getChildren(o){return o[t]}}}function Tj(e,t,n,o){if(!t)return e;function r(i){if(!Array.isArray(i))return[];const a=[];for(const s of i)if(Vc(s)){const l=r(s[o]);l.length&&a.push(Object.assign({},s,{[o]:l}))}else{if(hS(s))continue;t(n,s)&&a.push(s)}return a}return r(e)}function Aj(e,t,n){const o=new Map;return e.forEach(r=>{Vc(r)?r[n].forEach(i=>{o.set(i[t],i)}):o.set(r[t],r)}),o}const Rj=pr&&"chrome"in window;pr&&navigator.userAgent.includes("Firefox");const mS=pr&&navigator.userAgent.includes("Safari")&&!Rj,gS={paddingTiny:"0 8px",paddingSmall:"0 10px",paddingMedium:"0 12px",paddingLarge:"0 14px",clearSize:"16px"},Ej={name:"Input",common:je,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:h,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,heightTiny:w,heightSmall:C,heightMedium:_,heightLarge:S,clearColor:y,clearColorHover:x,clearColorPressed:k,placeholderColor:P,placeholderColorDisabled:T,iconColor:E,iconColorDisabled:R,iconColorHover:q,iconColorPressed:L}=e;return Object.assign(Object.assign({},gS),{countTextColorDisabled:o,countTextColor:n,heightTiny:w,heightSmall:C,heightMedium:_,heightLarge:S,fontSizeTiny:p,fontSizeSmall:g,fontSizeMedium:m,fontSizeLarge:b,lineHeight:h,lineHeightTextarea:h,borderRadius:f,iconSize:"16px",groupLabelColor:a,textColor:t,textColorDisabled:o,textDecorationColor:t,groupLabelTextColor:t,caretColor:r,placeholderColor:P,placeholderColorDisabled:T,color:a,colorDisabled:s,colorFocus:ze(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 ${ze(r,{alpha:.3})}`,loadingColor:r,loadingColorWarning:l,borderWarning:`1px solid ${l}`,borderHoverWarning:`1px solid ${c}`,colorFocusWarning:ze(l,{alpha:.1}),borderFocusWarning:`1px solid ${c}`,boxShadowFocusWarning:`0 0 8px 0 ${ze(l,{alpha:.3})}`,caretColorWarning:l,loadingColorError:u,borderError:`1px solid ${u}`,borderHoverError:`1px solid ${d}`,colorFocusError:ze(u,{alpha:.1}),borderFocusError:`1px solid ${d}`,boxShadowFocusError:`0 0 8px 0 ${ze(u,{alpha:.3})}`,caretColorError:u,clearColor:y,clearColorHover:x,clearColorPressed:k,iconColor:E,iconColorDisabled:R,iconColorHover:q,iconColorPressed:L,suffixTextColor:t})}},go=Ej;function $j(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:h,lineHeight:p,fontSizeTiny:g,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:w,heightTiny:C,heightSmall:_,heightMedium:S,heightLarge:y,actionColor:x,clearColor:k,clearColorHover:P,clearColorPressed:T,placeholderColor:E,placeholderColorDisabled:R,iconColor:q,iconColorDisabled:L,iconColorHover:D,iconColorPressed:F}=e;return Object.assign(Object.assign({},gS),{countTextColorDisabled:o,countTextColor:n,heightTiny:C,heightSmall:_,heightMedium:S,heightLarge:y,fontSizeTiny:g,fontSizeSmall:m,fontSizeMedium:b,fontSizeLarge:w,lineHeight:p,lineHeightTextarea:p,borderRadius:h,iconSize:"16px",groupLabelColor:x,groupLabelTextColor:t,textColor:t,textColorDisabled:o,textDecorationColor:t,caretColor:r,placeholderColor:E,placeholderColorDisabled:R,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 ${ze(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 ${ze(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 ${ze(d,{alpha:.2})}`,caretColorError:d,clearColor:k,clearColorHover:P,clearColorPressed:T,iconColor:q,iconColorDisabled:L,iconColorHover:D,iconColorPressed:F,suffixTextColor:t})}const Ij={name:"Input",common:xt,self:$j},wm=Ij,vS="n-input";function Oj(e){let t=0;for(const n of e)t++;return t}function Vl(e){return e===""||e==null}function Mj(e){const t=j(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 h=u[c-1],p=l.indexOf(h,c-1);p!==-1&&(f=p+1)}(i=s.setSelectionRange)===null||i===void 0||i.call(s,f,f)}function r(){t.value=null}return ut(e,r),{recordCursor:n,restoreCursor:o}}const e1=Ce({name:"InputWordCount",setup(e,{slots:t}){const{mergedValueRef:n,maxlengthRef:o,mergedClsPrefixRef:r,countGraphemesRef:i}=Ve(vS),a=O(()=>{const{value:s}=n;return s===null||Array.isArray(s)?0:(i.value||Oj)(s)});return()=>{const{value:s}=o,{value:l}=n;return v("span",{class:`${r.value}-input-word-count`},wh(t.default,{value:l===null||Array.isArray(l)?"":l},()=>[s===void 0?a.value:`${a.value} / ${s}`]))}}}),zj=z("input",`
|
||
max-width: 100%;
|
||
cursor: text;
|
||
line-height: 1.5;
|
||
z-index: auto;
|
||
outline: none;
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
display: inline-flex;
|
||
border-radius: var(--n-border-radius);
|
||
background-color: var(--n-color);
|
||
transition: background-color .3s var(--n-bezier);
|
||
font-size: var(--n-font-size);
|
||
--n-padding-vertical: calc((var(--n-height) - 1.5 * var(--n-font-size)) / 2);
|
||
`,[U("input, textarea",`
|
||
overflow: hidden;
|
||
flex-grow: 1;
|
||
position: relative;
|
||
`),U("input-el, textarea-el, input-mirror, textarea-mirror, separator, placeholder",`
|
||
box-sizing: border-box;
|
||
font-size: inherit;
|
||
line-height: 1.5;
|
||
font-family: inherit;
|
||
border: none;
|
||
outline: none;
|
||
background-color: #0000;
|
||
text-align: inherit;
|
||
transition:
|
||
-webkit-text-fill-color .3s var(--n-bezier),
|
||
caret-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
text-decoration-color .3s var(--n-bezier);
|
||
`),U("input-el, textarea-el",`
|
||
-webkit-appearance: none;
|
||
scrollbar-width: none;
|
||
width: 100%;
|
||
min-width: 0;
|
||
text-decoration-color: var(--n-text-decoration-color);
|
||
color: var(--n-text-color);
|
||
caret-color: var(--n-caret-color);
|
||
background-color: transparent;
|
||
`,[W("&::-webkit-scrollbar, &::-webkit-scrollbar-track-piece, &::-webkit-scrollbar-thumb",`
|
||
width: 0;
|
||
height: 0;
|
||
display: none;
|
||
`),W("&::placeholder",`
|
||
color: #0000;
|
||
-webkit-text-fill-color: transparent !important;
|
||
`),W("&:-webkit-autofill ~",[U("placeholder","display: none;")])]),J("round",[At("textarea","border-radius: calc(var(--n-height) / 2);")]),U("placeholder",`
|
||
pointer-events: none;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
overflow: hidden;
|
||
color: var(--n-placeholder-color);
|
||
`,[W("span",`
|
||
width: 100%;
|
||
display: inline-block;
|
||
`)]),J("textarea",[U("placeholder","overflow: visible;")]),At("autosize","width: 100%;"),J("autosize",[U("textarea-el, input-el",`
|
||
position: absolute;
|
||
top: 0;
|
||
left: 0;
|
||
height: 100%;
|
||
`)]),z("input-wrapper",`
|
||
overflow: hidden;
|
||
display: inline-flex;
|
||
flex-grow: 1;
|
||
position: relative;
|
||
padding-left: var(--n-padding-left);
|
||
padding-right: var(--n-padding-right);
|
||
`),U("input-mirror",`
|
||
padding: 0;
|
||
height: var(--n-height);
|
||
line-height: var(--n-height);
|
||
overflow: hidden;
|
||
visibility: hidden;
|
||
position: static;
|
||
white-space: pre;
|
||
pointer-events: none;
|
||
`),U("input-el",`
|
||
padding: 0;
|
||
height: var(--n-height);
|
||
line-height: var(--n-height);
|
||
`,[W("&[type=password]::-ms-reveal","display: none;"),W("+",[U("placeholder",`
|
||
display: flex;
|
||
align-items: center;
|
||
`)])]),At("textarea",[U("placeholder","white-space: nowrap;")]),U("eye",`
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition: color .3s var(--n-bezier);
|
||
`),J("textarea","width: 100%;",[z("input-word-count",`
|
||
position: absolute;
|
||
right: var(--n-padding-right);
|
||
bottom: var(--n-padding-vertical);
|
||
`),J("resizable",[z("input-wrapper",`
|
||
resize: vertical;
|
||
min-height: var(--n-height);
|
||
`)]),U("textarea-el, textarea-mirror, placeholder",`
|
||
height: 100%;
|
||
padding-left: 0;
|
||
padding-right: 0;
|
||
padding-top: var(--n-padding-vertical);
|
||
padding-bottom: var(--n-padding-vertical);
|
||
word-break: break-word;
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
box-sizing: border-box;
|
||
line-height: var(--n-line-height-textarea);
|
||
margin: 0;
|
||
resize: none;
|
||
white-space: pre-wrap;
|
||
scroll-padding-block-end: var(--n-padding-vertical);
|
||
`),U("textarea-mirror",`
|
||
width: 100%;
|
||
pointer-events: none;
|
||
overflow: hidden;
|
||
visibility: hidden;
|
||
position: static;
|
||
white-space: pre-wrap;
|
||
overflow-wrap: break-word;
|
||
`)]),J("pair",[U("input-el, placeholder","text-align: center;"),U("separator",`
|
||
display: flex;
|
||
align-items: center;
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-text-color);
|
||
white-space: nowrap;
|
||
`,[z("icon",`
|
||
color: var(--n-icon-color);
|
||
`),z("base-icon",`
|
||
color: var(--n-icon-color);
|
||
`)])]),J("disabled",`
|
||
cursor: not-allowed;
|
||
background-color: var(--n-color-disabled);
|
||
`,[U("border","border: var(--n-border-disabled);"),U("input-el, textarea-el",`
|
||
cursor: not-allowed;
|
||
color: var(--n-text-color-disabled);
|
||
text-decoration-color: var(--n-text-color-disabled);
|
||
`),U("placeholder","color: var(--n-placeholder-color-disabled);"),U("separator","color: var(--n-text-color-disabled);",[z("icon",`
|
||
color: var(--n-icon-color-disabled);
|
||
`),z("base-icon",`
|
||
color: var(--n-icon-color-disabled);
|
||
`)]),z("input-word-count",`
|
||
color: var(--n-count-text-color-disabled);
|
||
`),U("suffix, prefix","color: var(--n-text-color-disabled);",[z("icon",`
|
||
color: var(--n-icon-color-disabled);
|
||
`),z("internal-icon",`
|
||
color: var(--n-icon-color-disabled);
|
||
`)])]),At("disabled",[U("eye",`
|
||
color: var(--n-icon-color);
|
||
cursor: pointer;
|
||
`,[W("&:hover",`
|
||
color: var(--n-icon-color-hover);
|
||
`),W("&:active",`
|
||
color: var(--n-icon-color-pressed);
|
||
`)]),W("&:hover",[U("state-border","border: var(--n-border-hover);")]),J("focus","background-color: var(--n-color-focus);",[U("state-border",`
|
||
border: var(--n-border-focus);
|
||
box-shadow: var(--n-box-shadow-focus);
|
||
`)])]),U("border, state-border",`
|
||
box-sizing: border-box;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
pointer-events: none;
|
||
border-radius: inherit;
|
||
border: var(--n-border);
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
`),U("state-border",`
|
||
border-color: #0000;
|
||
z-index: 1;
|
||
`),U("prefix","margin-right: 4px;"),U("suffix",`
|
||
margin-left: 4px;
|
||
`),U("suffix, prefix",`
|
||
transition: color .3s var(--n-bezier);
|
||
flex-wrap: nowrap;
|
||
flex-shrink: 0;
|
||
line-height: var(--n-height);
|
||
white-space: nowrap;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: var(--n-suffix-text-color);
|
||
`,[z("base-loading",`
|
||
font-size: var(--n-icon-size);
|
||
margin: 0 2px;
|
||
color: var(--n-loading-color);
|
||
`),z("base-clear",`
|
||
font-size: var(--n-icon-size);
|
||
`,[U("placeholder",[z("base-icon",`
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-icon-color);
|
||
font-size: var(--n-icon-size);
|
||
`)])]),W(">",[z("icon",`
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-icon-color);
|
||
font-size: var(--n-icon-size);
|
||
`)]),z("base-icon",`
|
||
font-size: var(--n-icon-size);
|
||
`)]),z("input-word-count",`
|
||
pointer-events: none;
|
||
line-height: 1.5;
|
||
font-size: .85em;
|
||
color: var(--n-count-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
margin-left: 4px;
|
||
font-variant: tabular-nums;
|
||
`),["warning","error"].map(e=>J(`${e}-status`,[At("disabled",[z("base-loading",`
|
||
color: var(--n-loading-color-${e})
|
||
`),U("input-el, textarea-el",`
|
||
caret-color: var(--n-caret-color-${e});
|
||
`),U("state-border",`
|
||
border: var(--n-border-${e});
|
||
`),W("&:hover",[U("state-border",`
|
||
border: var(--n-border-hover-${e});
|
||
`)]),W("&:focus",`
|
||
background-color: var(--n-color-focus-${e});
|
||
`,[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-focus-${e});
|
||
border: var(--n-border-focus-${e});
|
||
`)]),J("focus",`
|
||
background-color: var(--n-color-focus-${e});
|
||
`,[U("state-border",`
|
||
box-shadow: var(--n-box-shadow-focus-${e});
|
||
border: var(--n-border-focus-${e});
|
||
`)])])]))]),Lj=z("input",[J("disabled",[U("input-el, textarea-el",`
|
||
-webkit-text-fill-color: var(--n-text-color-disabled);
|
||
`)])]),Fj=Object.assign(Object.assign({},Ne.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}),dr=Ce({name:"Input",props:Fj,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Ne("Input","-input",zj,wm,e,t);mS&&ni("-input-safari",Lj,t);const a=j(null),s=j(null),l=j(null),c=j(null),u=j(null),d=j(null),f=j(null),h=Mj(f),p=j(null),{localeRef:g}=Ui("Input"),m=j(e.defaultValue),b=Ue(e,"value"),w=rn(b,m),C=mr(e),{mergedSizeRef:_,mergedDisabledRef:S,mergedStatusRef:y}=C,x=j(!1),k=j(!1),P=j(!1),T=j(!1);let E=null;const R=O(()=>{const{placeholder:ue,pair:Ee}=e;return Ee?Array.isArray(ue)?ue:ue===void 0?["",""]:[ue,ue]:ue===void 0?[g.value.placeholder]:[ue]}),q=O(()=>{const{value:ue}=P,{value:Ee}=w,{value:ot}=R;return!ue&&(Vl(Ee)||Array.isArray(Ee)&&Vl(Ee[0]))&&ot[0]}),L=O(()=>{const{value:ue}=P,{value:Ee}=w,{value:ot}=R;return!ue&&ot[1]&&(Vl(Ee)||Array.isArray(Ee)&&Vl(Ee[1]))}),D=kt(()=>e.internalForceFocus||x.value),F=kt(()=>{if(S.value||e.readonly||!e.clearable||!D.value&&!k.value)return!1;const{value:ue}=w,{value:Ee}=D;return e.pair?!!(Array.isArray(ue)&&(ue[0]||ue[1]))&&(k.value||Ee):!!ue&&(k.value||Ee)}),K=O(()=>{const{showPasswordOn:ue}=e;if(ue)return ue;if(e.showPasswordToggle)return"click"}),V=j(!1),le=O(()=>{const{textDecoration:ue}=e;return ue?Array.isArray(ue)?ue.map(Ee=>({textDecoration:Ee})):[{textDecoration:ue}]:["",""]}),me=j(void 0),ee=()=>{var ue,Ee;if(e.type==="textarea"){const{autosize:ot}=e;if(ot&&(me.value=(Ee=(ue=p.value)===null||ue===void 0?void 0:ue.$el)===null||Ee===void 0?void 0:Ee.offsetWidth),!s.value||typeof ot=="boolean")return;const{paddingTop:Bt,paddingBottom:Kt,lineHeight:Ft}=window.getComputedStyle(s.value),yo=Number(Bt.slice(0,-2)),xo=Number(Kt.slice(0,-2)),Co=Number(Ft.slice(0,-2)),{value:Jo}=l;if(!Jo)return;if(ot.minRows){const Zo=Math.max(ot.minRows,1),ii=`${yo+xo+Co*Zo}px`;Jo.style.minHeight=ii}if(ot.maxRows){const Zo=`${yo+xo+Co*ot.maxRows}px`;Jo.style.maxHeight=Zo}}},N=O(()=>{const{maxlength:ue}=e;return ue===void 0?void 0:Number(ue)});jt(()=>{const{value:ue}=w;Array.isArray(ue)||vt(ue)});const M=no().proxy;function Z(ue,Ee){const{onUpdateValue:ot,"onUpdate:value":Bt,onInput:Kt}=e,{nTriggerFormInput:Ft}=C;ot&&$e(ot,ue,Ee),Bt&&$e(Bt,ue,Ee),Kt&&$e(Kt,ue,Ee),m.value=ue,Ft()}function G(ue,Ee){const{onChange:ot}=e,{nTriggerFormChange:Bt}=C;ot&&$e(ot,ue,Ee),m.value=ue,Bt()}function re(ue){const{onBlur:Ee}=e,{nTriggerFormBlur:ot}=C;Ee&&$e(Ee,ue),ot()}function X(ue){const{onFocus:Ee}=e,{nTriggerFormFocus:ot}=C;Ee&&$e(Ee,ue),ot()}function ae(ue){const{onClear:Ee}=e;Ee&&$e(Ee,ue)}function B(ue){const{onInputBlur:Ee}=e;Ee&&$e(Ee,ue)}function xe(ue){const{onInputFocus:Ee}=e;Ee&&$e(Ee,ue)}function se(){const{onDeactivate:ue}=e;ue&&$e(ue)}function ge(){const{onActivate:ue}=e;ue&&$e(ue)}function $(ue){const{onClick:Ee}=e;Ee&&$e(Ee,ue)}function A(ue){const{onWrapperFocus:Ee}=e;Ee&&$e(Ee,ue)}function oe(ue){const{onWrapperBlur:Ee}=e;Ee&&$e(Ee,ue)}function Se(){P.value=!0}function ne(ue){P.value=!1,ue.target===d.value?ye(ue,1):ye(ue,0)}function ye(ue,Ee=0,ot="input"){const Bt=ue.target.value;if(vt(Bt),ue instanceof InputEvent&&!ue.isComposing&&(P.value=!1),e.type==="textarea"){const{value:Ft}=p;Ft&&Ft.syncUnifiedContainer()}if(E=Bt,P.value)return;h.recordCursor();const Kt=Pe(Bt);if(Kt)if(!e.pair)ot==="input"?Z(Bt,{source:Ee}):G(Bt,{source:Ee});else{let{value:Ft}=w;Array.isArray(Ft)?Ft=[Ft[0],Ft[1]]:Ft=["",""],Ft[Ee]=Bt,ot==="input"?Z(Ft,{source:Ee}):G(Ft,{source:Ee})}M.$forceUpdate(),Kt||Ht(h.restoreCursor)}function Pe(ue){const{countGraphemes:Ee,maxlength:ot,minlength:Bt}=e;if(Ee){let Ft;if(ot!==void 0&&(Ft===void 0&&(Ft=Ee(ue)),Ft>Number(ot))||Bt!==void 0&&(Ft===void 0&&(Ft=Ee(ue)),Ft<Number(ot)))return!1}const{allowInput:Kt}=e;return typeof Kt=="function"?Kt(ue):!0}function I(ue){B(ue),ue.relatedTarget===a.value&&se(),ue.relatedTarget!==null&&(ue.relatedTarget===u.value||ue.relatedTarget===d.value||ue.relatedTarget===s.value)||(T.value=!1),he(ue,"blur"),f.value=null}function H(ue,Ee){xe(ue),x.value=!0,T.value=!0,ge(),he(ue,"focus"),Ee===0?f.value=u.value:Ee===1?f.value=d.value:Ee===2&&(f.value=s.value)}function te(ue){e.passivelyActivated&&(oe(ue),he(ue,"blur"))}function _e(ue){e.passivelyActivated&&(x.value=!0,A(ue),he(ue,"focus"))}function he(ue,Ee){ue.relatedTarget!==null&&(ue.relatedTarget===u.value||ue.relatedTarget===d.value||ue.relatedTarget===s.value||ue.relatedTarget===a.value)||(Ee==="focus"?(X(ue),x.value=!0):Ee==="blur"&&(re(ue),x.value=!1))}function de(ue,Ee){ye(ue,Ee,"change")}function ie(ue){$(ue)}function fe(ue){ae(ue),Oe()}function Oe(){e.pair?(Z(["",""],{source:"clear"}),G(["",""],{source:"clear"})):(Z("",{source:"clear"}),G("",{source:"clear"}))}function De(ue){const{onMousedown:Ee}=e;Ee&&Ee(ue);const{tagName:ot}=ue.target;if(ot!=="INPUT"&&ot!=="TEXTAREA"){if(e.resizable){const{value:Bt}=a;if(Bt){const{left:Kt,top:Ft,width:yo,height:xo}=Bt.getBoundingClientRect(),Co=14;if(Kt+yo-Co<ue.clientX&&ue.clientX<Kt+yo&&Ft+xo-Co<ue.clientY&&ue.clientY<Ft+xo)return}}ue.preventDefault(),x.value||Ie()}}function Le(){var ue;k.value=!0,e.type==="textarea"&&((ue=p.value)===null||ue===void 0||ue.handleMouseEnterWrapper())}function Be(){var ue;k.value=!1,e.type==="textarea"&&((ue=p.value)===null||ue===void 0||ue.handleMouseLeaveWrapper())}function et(){S.value||K.value==="click"&&(V.value=!V.value)}function Me(ue){if(S.value)return;ue.preventDefault();const Ee=Bt=>{Bt.preventDefault(),Tt("mouseup",document,Ee)};if($t("mouseup",document,Ee),K.value!=="mousedown")return;V.value=!0;const ot=()=>{V.value=!1,Tt("mouseup",document,ot)};$t("mouseup",document,ot)}function Xe(ue){e.onKeyup&&$e(e.onKeyup,ue)}function gt(ue){switch(e.onKeydown&&$e(e.onKeydown,ue),ue.key){case"Escape":we();break;case"Enter":Q(ue);break}}function Q(ue){var Ee,ot;if(e.passivelyActivated){const{value:Bt}=T;if(Bt){e.internalDeactivateOnEnter&&we();return}ue.preventDefault(),e.type==="textarea"?(Ee=s.value)===null||Ee===void 0||Ee.focus():(ot=u.value)===null||ot===void 0||ot.focus()}}function we(){e.passivelyActivated&&(T.value=!1,Ht(()=>{var ue;(ue=a.value)===null||ue===void 0||ue.focus()}))}function Ie(){var ue,Ee,ot;S.value||(e.passivelyActivated?(ue=a.value)===null||ue===void 0||ue.focus():((Ee=s.value)===null||Ee===void 0||Ee.focus(),(ot=u.value)===null||ot===void 0||ot.focus()))}function qe(){var ue;!((ue=a.value)===null||ue===void 0)&&ue.contains(document.activeElement)&&document.activeElement.blur()}function Qe(){var ue,Ee;(ue=s.value)===null||ue===void 0||ue.select(),(Ee=u.value)===null||Ee===void 0||Ee.select()}function Je(){S.value||(s.value?s.value.focus():u.value&&u.value.focus())}function tt(){const{value:ue}=a;ue!=null&&ue.contains(document.activeElement)&&ue!==document.activeElement&&we()}function it(ue){if(e.type==="textarea"){const{value:Ee}=s;Ee==null||Ee.scrollTo(ue)}else{const{value:Ee}=u;Ee==null||Ee.scrollTo(ue)}}function vt(ue){const{type:Ee,pair:ot,autosize:Bt}=e;if(!ot&&Bt)if(Ee==="textarea"){const{value:Kt}=l;Kt&&(Kt.textContent=`${ue??""}\r
|
||
`)}else{const{value:Kt}=c;Kt&&(ue?Kt.textContent=ue:Kt.innerHTML=" ")}}function an(){ee()}const Lt=j({top:"0"});function ke(ue){var Ee;const{scrollTop:ot}=ue.target;Lt.value.top=`${-ot}px`,(Ee=p.value)===null||Ee===void 0||Ee.syncUnifiedContainer()}let He=null;Yt(()=>{const{autosize:ue,type:Ee}=e;ue&&Ee==="textarea"?He=ut(w,ot=>{!Array.isArray(ot)&&ot!==E&&vt(ot)}):He==null||He()});let Ze=null;Yt(()=>{e.type==="textarea"?Ze=ut(w,ue=>{var Ee;!Array.isArray(ue)&&ue!==E&&((Ee=p.value)===null||Ee===void 0||Ee.syncUnifiedContainer())}):Ze==null||Ze()}),at(vS,{mergedValueRef:w,maxlengthRef:N,mergedClsPrefixRef:t,countGraphemesRef:Ue(e,"countGraphemes")});const ht={wrapperElRef:a,inputElRef:u,textareaElRef:s,isCompositing:P,clear:Oe,focus:Ie,blur:qe,select:Qe,deactivate:tt,activate:Je,scrollTo:it},bt=pn("Input",r,t),dt=O(()=>{const{value:ue}=_,{common:{cubicBezierEaseInOut:Ee},self:{color:ot,borderRadius:Bt,textColor:Kt,caretColor:Ft,caretColorError:yo,caretColorWarning:xo,textDecorationColor:Co,border:Jo,borderDisabled:Zo,borderHover:ii,borderFocus:es,placeholderColor:ts,placeholderColorDisabled:ns,lineHeightTextarea:os,colorDisabled:yr,colorFocus:xr,textColorDisabled:ad,boxShadowFocus:sd,iconSize:ld,colorFocusWarning:cd,boxShadowFocusWarning:ud,borderWarning:dd,borderFocusWarning:fd,borderHoverWarning:hd,colorFocusError:pd,boxShadowFocusError:md,borderError:gd,borderFocusError:vd,borderHoverError:Qk,clearSize:Jk,clearColor:Zk,clearColorHover:e3,clearColorPressed:t3,iconColor:n3,iconColorDisabled:o3,suffixTextColor:r3,countTextColor:i3,countTextColorDisabled:a3,iconColorHover:s3,iconColorPressed:l3,loadingColor:c3,loadingColorError:u3,loadingColorWarning:d3,[Re("padding",ue)]:f3,[Re("fontSize",ue)]:h3,[Re("height",ue)]:p3}}=i.value,{left:m3,right:g3}=co(f3);return{"--n-bezier":Ee,"--n-count-text-color":i3,"--n-count-text-color-disabled":a3,"--n-color":ot,"--n-font-size":h3,"--n-border-radius":Bt,"--n-height":p3,"--n-padding-left":m3,"--n-padding-right":g3,"--n-text-color":Kt,"--n-caret-color":Ft,"--n-text-decoration-color":Co,"--n-border":Jo,"--n-border-disabled":Zo,"--n-border-hover":ii,"--n-border-focus":es,"--n-placeholder-color":ts,"--n-placeholder-color-disabled":ns,"--n-icon-size":ld,"--n-line-height-textarea":os,"--n-color-disabled":yr,"--n-color-focus":xr,"--n-text-color-disabled":ad,"--n-box-shadow-focus":sd,"--n-loading-color":c3,"--n-caret-color-warning":xo,"--n-color-focus-warning":cd,"--n-box-shadow-focus-warning":ud,"--n-border-warning":dd,"--n-border-focus-warning":fd,"--n-border-hover-warning":hd,"--n-loading-color-warning":d3,"--n-caret-color-error":yo,"--n-color-focus-error":pd,"--n-box-shadow-focus-error":md,"--n-border-error":gd,"--n-border-focus-error":vd,"--n-border-hover-error":Qk,"--n-loading-color-error":u3,"--n-clear-color":Zk,"--n-clear-size":Jk,"--n-clear-color-hover":e3,"--n-clear-color-pressed":t3,"--n-icon-color":n3,"--n-icon-color-hover":s3,"--n-icon-color-pressed":l3,"--n-icon-color-disabled":o3,"--n-suffix-text-color":r3}}),Rt=o?Pt("input",O(()=>{const{value:ue}=_;return ue[0]}),dt,e):void 0;return Object.assign(Object.assign({},ht),{wrapperElRef:a,inputElRef:u,inputMirrorElRef:c,inputEl2Ref:d,textareaElRef:s,textareaMirrorElRef:l,textareaScrollbarInstRef:p,rtlEnabled:bt,uncontrolledValue:m,mergedValue:w,passwordVisible:V,mergedPlaceholder:R,showPlaceholder1:q,showPlaceholder2:L,mergedFocus:D,isComposing:P,activated:T,showClearButton:F,mergedSize:_,mergedDisabled:S,textDecorationStyle:le,mergedClsPrefix:t,mergedBordered:n,mergedShowPasswordOn:K,placeholderStyle:Lt,mergedStatus:y,textAreaScrollContainerWidth:me,handleTextAreaScroll:ke,handleCompositionStart:Se,handleCompositionEnd:ne,handleInput:ye,handleInputBlur:I,handleInputFocus:H,handleWrapperBlur:te,handleWrapperFocus:_e,handleMouseEnter:Le,handleMouseLeave:Be,handleMouseDown:De,handleChange:de,handleClick:ie,handleClear:fe,handlePasswordToggleClick:et,handlePasswordToggleMousedown:Me,handleWrapperKeydown:gt,handleWrapperKeyup:Xe,handleTextAreaMirrorResize:an,getTextareaScrollContainer:()=>s.value,mergedTheme:i,cssVars:o?void 0:dt,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`},Et(l.prefix,c=>c&&v("div",{class:`${n}-input__prefix`},c)),i==="textarea"?v(Oo,{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(rt,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:h=>{this.handleInputFocus(h,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(ur,{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&&Et(l.suffix,c=>c||this.clearable||this.showCount||this.mergedShowPasswordOn||this.loading!==void 0?v("div",{class:`${n}-input__suffix`},[Et(l["clear-icon-placeholder"],u=>(this.clearable||u)&&v(Hh,{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(cS,{clsPrefix:n,loading:this.loading,showArrow:!1,showClear:!1,style:this.cssVars}):null,this.internalLoadingBeforeSuffix?c:null,this.showCount&&this.type!=="textarea"?v(e1,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?$n(l["password-visible-icon"],()=>[v(Wt,{clsPrefix:n},{default:()=>v(FN,null)})]):$n(l["password-invisible-icon"],()=>[v(Wt,{clsPrefix:n},{default:()=>v(DN,null)})])):null]):null)),this.pair?v("span",{class:`${n}-input__separator`},$n(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),Et(l.suffix,c=>(this.clearable||c)&&v("div",{class:`${n}-input__suffix`},[this.clearable&&v(Hh,{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(e1,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)}}),Dj=z("input-group",`
|
||
display: inline-flex;
|
||
width: 100%;
|
||
flex-wrap: nowrap;
|
||
vertical-align: bottom;
|
||
`,[W(">",[z("input",[W("&:not(:last-child)",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`),W("&:not(:first-child)",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
margin-left: -1px!important;
|
||
`)]),z("button",[W("&:not(:last-child)",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`,[U("state-border, border",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`)]),W("&:not(:first-child)",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`,[U("state-border, border",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`)])]),W("*",[W("&:not(:last-child)",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`,[W(">",[z("input",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`),z("base-selection",[z("base-selection-label",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`),z("base-selection-tags",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`),U("box-shadow, border, state-border",`
|
||
border-top-right-radius: 0!important;
|
||
border-bottom-right-radius: 0!important;
|
||
`)])])]),W("&:not(:first-child)",`
|
||
margin-left: -1px!important;
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`,[W(">",[z("input",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`),z("base-selection",[z("base-selection-label",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`),z("base-selection-tags",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`),U("box-shadow, border, state-border",`
|
||
border-top-left-radius: 0!important;
|
||
border-bottom-left-radius: 0!important;
|
||
`)])])])])])]),Bj={},_m=Ce({name:"InputGroup",props:Bj,setup(e){const{mergedClsPrefixRef:t}=st(e);return ni("-input-group",Dj,t),{mergedClsPrefix:t}},render(){const{mergedClsPrefix:e}=this;return v("div",{class:`${e}-input-group`},this.$slots)}});function Nj(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const Hj={name:"AutoComplete",common:je,peers:{InternalSelectMenu:ml,Input:go},self:Nj},jj=Hj;function Uj(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:Ke(o,n),colorModal:Ke(u,n),colorPopover:Ke(d,n)}}const Vj={name:"Avatar",common:je,self:Uj},bS=Vj;function Wj(){return{gap:"-12px"}}const qj={name:"AvatarGroup",common:je,peers:{Avatar:bS},self:Wj},Kj=qj,yS={width:"44px",height:"44px",borderRadius:"22px",iconSize:"26px"},Gj={name:"BackTop",common:je,self(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},yS),{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)"})}},Xj=Gj;function Yj(e){const{popoverColor:t,textColor2:n,primaryColorHover:o,primaryColorPressed:r}=e;return Object.assign(Object.assign({},yS),{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)"})}const Qj={name:"BackTop",common:xt,self:Yj},Jj=Qj,Zj=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"})))))))),eU=z("back-top",`
|
||
position: fixed;
|
||
right: 40px;
|
||
bottom: 40px;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
color: var(--n-text-color);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
border-radius: var(--n-border-radius);
|
||
height: var(--n-height);
|
||
min-width: var(--n-width);
|
||
box-shadow: var(--n-box-shadow);
|
||
background-color: var(--n-color);
|
||
`,[Ga(),J("transition-disabled",{transition:"none !important"}),z("base-icon",`
|
||
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)"},[z("base-icon",{color:"var(--n-icon-color-hover)"})]),W("&:active",{boxShadow:"var(--n-box-shadow-pressed)"},[z("base-icon",{color:"var(--n-icon-color-pressed)"})])]),tU=Object.assign(Object.assign({},Ne.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}),nU=Ce({name:"BackTop",inheritAttrs:!1,props:tU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=j(null),r=j(!1);Yt(()=>{const{value:_}=o;if(_===null){r.value=!1;return}r.value=_>=e.visibilityHeight});const i=j(!1);ut(r,_=>{var S;i.value&&((S=e["onUpdate:show"])===null||S===void 0||S.call(e,_))});const a=Ue(e,"show"),s=rn(a,r),l=j(!0),c=j(null),u=O(()=>({right:`calc(${qt(e.right)} + ${Rh.value})`,bottom:qt(e.bottom)}));let d,f;ut(s,_=>{var S,y;i.value&&(_&&((S=e.onShow)===null||S===void 0||S.call(e)),(y=e.onHide)===null||y===void 0||y.call(e))});const h=Ne("BackTop","-back-top",eU,Jj,e,t);function p(){var _;if(f)return;f=!0;const S=((_=e.target)===null||_===void 0?void 0:_.call(e))||jI(e.listenTo)||vw(c.value);if(!S)return;d=S===document.documentElement?document:S;const{to:y}=e;typeof y=="string"&&document.querySelector(y),d.addEventListener("scroll",m),m()}function g(){(o0(d)?document.documentElement:d).scrollTo({top:0,behavior:"smooth"})}function m(){o.value=(o0(d)?document.documentElement:d).scrollTop,i.value||Ht(()=>{i.value=!0})}function b(){l.value=!1}jt(()=>{p(),l.value=s.value}),on(()=>{d&&d.removeEventListener("scroll",m)});const w=O(()=>{const{self:{color:_,boxShadow:S,boxShadowHover:y,boxShadowPressed:x,iconColor:k,iconColorHover:P,iconColorPressed:T,width:E,height:R,iconSize:q,borderRadius:L,textColor:D},common:{cubicBezierEaseInOut:F}}=h.value;return{"--n-bezier":F,"--n-border-radius":L,"--n-height":R,"--n-width":E,"--n-box-shadow":S,"--n-box-shadow-hover":y,"--n-box-shadow-pressed":x,"--n-color":_,"--n-icon-size":q,"--n-icon-color":k,"--n-icon-color-hover":P,"--n-icon-color-pressed":T,"--n-text-color":D}}),C=n?Pt("back-top",void 0,w,e):void 0;return{placeholderRef:c,style:u,mergedShow:s,isMounted:ti(),scrollElement:j(null),scrollTop:o,DomInfoReady:i,transitionDisabled:l,mergedClsPrefix:t,handleAfterEnter:b,handleScroll:m,handleClick:g,cssVars:n?void 0:w,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e}=this;return v("div",{ref:"placeholderRef",class:`${e}-back-top-placeholder`,style:"display: none","aria-hidden":!0},v($u,{to:this.to,show:this.mergedShow},{default:()=>v(fn,{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}),$n(this.$slots.default,()=>[v(Wt,{clsPrefix:e},{default:()=>Zj})])):null}})}))}}),oU={name:"Badge",common:je,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}}},rU=oU,iU={fontWeightActive:"400"};function xS(e){const{fontSize:t,textColor3:n,textColor2:o,borderRadius:r,buttonColor2Hover:i,buttonColor2Pressed:a}=e;return Object.assign(Object.assign({},iU),{fontSize:t,itemLineHeight:"1.25",itemTextColor:n,itemTextColorHover:o,itemTextColorPressed:o,itemTextColorActive:o,itemBorderRadius:r,itemColorHover:i,itemColorPressed:a,separatorColor:n})}const aU={name:"Breadcrumb",common:xt,self:xS},sU=aU,lU={name:"Breadcrumb",common:je,self:xS},cU=lU,uU=z("breadcrumb",`
|
||
white-space: nowrap;
|
||
cursor: default;
|
||
line-height: var(--n-item-line-height);
|
||
`,[W("ul",`
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: 0;
|
||
`),W("a",`
|
||
color: inherit;
|
||
text-decoration: inherit;
|
||
`),z("breadcrumb-item",`
|
||
font-size: var(--n-font-size);
|
||
transition: color .3s var(--n-bezier);
|
||
display: inline-flex;
|
||
align-items: center;
|
||
`,[z("icon",`
|
||
font-size: 18px;
|
||
vertical-align: -.2em;
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-item-text-color);
|
||
`),W("&:not(:last-child)",[J("clickable",[U("link",`
|
||
cursor: pointer;
|
||
`,[W("&:hover",`
|
||
background-color: var(--n-item-color-hover);
|
||
`),W("&:active",`
|
||
background-color: var(--n-item-color-pressed);
|
||
`)])])]),U("link",`
|
||
padding: 4px;
|
||
border-radius: var(--n-item-border-radius);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
color: var(--n-item-text-color);
|
||
position: relative;
|
||
`,[W("&:hover",`
|
||
color: var(--n-item-text-color-hover);
|
||
`,[z("icon",`
|
||
color: var(--n-item-text-color-hover);
|
||
`)]),W("&:active",`
|
||
color: var(--n-item-text-color-pressed);
|
||
`,[z("icon",`
|
||
color: var(--n-item-text-color-pressed);
|
||
`)])]),U("separator",`
|
||
margin: 0 8px;
|
||
color: var(--n-separator-color);
|
||
transition: color .3s var(--n-bezier);
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
`),W("&:last-child",[U("link",`
|
||
font-weight: var(--n-font-weight-active);
|
||
cursor: unset;
|
||
color: var(--n-item-text-color-active);
|
||
`,[z("icon",`
|
||
color: var(--n-item-text-color-active);
|
||
`)]),U("separator",`
|
||
display: none;
|
||
`)])])]),CS="n-breadcrumb",dU=Object.assign(Object.assign({},Ne.props),{separator:{type:String,default:"/"}}),fU=Ce({name:"Breadcrumb",props:dU,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Breadcrumb","-breadcrumb",uU,sU,e,t);at(CS,{separatorRef:Ue(e,"separator"),mergedClsPrefixRef:t});const r=O(()=>{const{common:{cubicBezierEaseInOut:a},self:{separatorColor:s,itemTextColor:l,itemTextColorHover:c,itemTextColorPressed:u,itemTextColorActive:d,fontSize:f,fontWeightActive:h,itemBorderRadius:p,itemColorHover:g,itemColorPressed:m,itemLineHeight:b}}=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":m,"--n-item-border-radius":p,"--n-font-weight-active":h,"--n-item-line-height":b}}),i=n?Pt("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))}});function hU(e=pr?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=j(t()),o=()=>{n.value=t()};return jt(()=>{e&&(e.addEventListener("popstate",o),e.addEventListener("hashchange",o))}),La(()=>{e&&(e.removeEventListener("popstate",o),e.removeEventListener("hashchange",o))}),n}const pU={separator:String,href:String,clickable:{type:Boolean,default:!0},onClick:Function},mU=Ce({name:"BreadcrumbItem",props:pU,setup(e,{slots:t}){const n=Ve(CS,null);if(!n)return()=>null;const{separatorRef:o,mergedClsPrefixRef:r}=n,i=hU(),a=O(()=>e.href?"a":"span"),s=O(()=>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"},$n(t.separator,()=>{var c;return[(c=e.separator)!==null&&c!==void 0?c:o.value]})))}}});function di(e){return Ke(e,[255,255,255,.16])}function Wl(e){return Ke(e,[0,0,0,.12])}const gU="n-button-group",vU={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"};function wS(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:h,primaryColorPressed:p,borderColor:g,primaryColor:m,baseColor:b,infoColor:w,infoColorHover:C,infoColorPressed:_,successColor:S,successColorHover:y,successColorPressed:x,warningColor:k,warningColorHover:P,warningColorPressed:T,errorColor:E,errorColorHover:R,errorColorPressed:q,fontWeight:L,buttonColor2:D,buttonColor2Hover:F,buttonColor2Pressed:K,fontWeightStrong:V}=e;return Object.assign(Object.assign({},vU),{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:D,colorSecondaryHover:F,colorSecondaryPressed:K,colorTertiary:D,colorTertiaryHover:F,colorTertiaryPressed:K,colorQuaternary:"#0000",colorQuaternaryHover:F,colorQuaternaryPressed:K,color:"#0000",colorHover:"#0000",colorPressed:"#0000",colorFocus:"#0000",colorDisabled:"#0000",textColor:d,textColorTertiary:f,textColorHover:h,textColorPressed:p,textColorFocus:h,textColorDisabled:d,textColorText:d,textColorTextHover:h,textColorTextPressed:p,textColorTextFocus:h,textColorTextDisabled:d,textColorGhost:d,textColorGhostHover:h,textColorGhostPressed:p,textColorGhostFocus:h,textColorGhostDisabled:d,border:`1px solid ${g}`,borderHover:`1px solid ${h}`,borderPressed:`1px solid ${p}`,borderFocus:`1px solid ${h}`,borderDisabled:`1px solid ${g}`,rippleColor:m,colorPrimary:m,colorHoverPrimary:h,colorPressedPrimary:p,colorFocusPrimary:h,colorDisabledPrimary:m,textColorPrimary:b,textColorHoverPrimary:b,textColorPressedPrimary:b,textColorFocusPrimary:b,textColorDisabledPrimary:b,textColorTextPrimary:m,textColorTextHoverPrimary:h,textColorTextPressedPrimary:p,textColorTextFocusPrimary:h,textColorTextDisabledPrimary:d,textColorGhostPrimary:m,textColorGhostHoverPrimary:h,textColorGhostPressedPrimary:p,textColorGhostFocusPrimary:h,textColorGhostDisabledPrimary:m,borderPrimary:`1px solid ${m}`,borderHoverPrimary:`1px solid ${h}`,borderPressedPrimary:`1px solid ${p}`,borderFocusPrimary:`1px solid ${h}`,borderDisabledPrimary:`1px solid ${m}`,rippleColorPrimary:m,colorInfo:w,colorHoverInfo:C,colorPressedInfo:_,colorFocusInfo:C,colorDisabledInfo:w,textColorInfo:b,textColorHoverInfo:b,textColorPressedInfo:b,textColorFocusInfo:b,textColorDisabledInfo:b,textColorTextInfo:w,textColorTextHoverInfo:C,textColorTextPressedInfo:_,textColorTextFocusInfo:C,textColorTextDisabledInfo:d,textColorGhostInfo:w,textColorGhostHoverInfo:C,textColorGhostPressedInfo:_,textColorGhostFocusInfo:C,textColorGhostDisabledInfo:w,borderInfo:`1px solid ${w}`,borderHoverInfo:`1px solid ${C}`,borderPressedInfo:`1px solid ${_}`,borderFocusInfo:`1px solid ${C}`,borderDisabledInfo:`1px solid ${w}`,rippleColorInfo:w,colorSuccess:S,colorHoverSuccess:y,colorPressedSuccess:x,colorFocusSuccess:y,colorDisabledSuccess:S,textColorSuccess:b,textColorHoverSuccess:b,textColorPressedSuccess:b,textColorFocusSuccess:b,textColorDisabledSuccess:b,textColorTextSuccess:S,textColorTextHoverSuccess:y,textColorTextPressedSuccess:x,textColorTextFocusSuccess:y,textColorTextDisabledSuccess:d,textColorGhostSuccess:S,textColorGhostHoverSuccess:y,textColorGhostPressedSuccess:x,textColorGhostFocusSuccess:y,textColorGhostDisabledSuccess:S,borderSuccess:`1px solid ${S}`,borderHoverSuccess:`1px solid ${y}`,borderPressedSuccess:`1px solid ${x}`,borderFocusSuccess:`1px solid ${y}`,borderDisabledSuccess:`1px solid ${S}`,rippleColorSuccess:S,colorWarning:k,colorHoverWarning:P,colorPressedWarning:T,colorFocusWarning:P,colorDisabledWarning:k,textColorWarning:b,textColorHoverWarning:b,textColorPressedWarning:b,textColorFocusWarning:b,textColorDisabledWarning:b,textColorTextWarning:k,textColorTextHoverWarning:P,textColorTextPressedWarning:T,textColorTextFocusWarning:P,textColorTextDisabledWarning:d,textColorGhostWarning:k,textColorGhostHoverWarning:P,textColorGhostPressedWarning:T,textColorGhostFocusWarning:P,textColorGhostDisabledWarning:k,borderWarning:`1px solid ${k}`,borderHoverWarning:`1px solid ${P}`,borderPressedWarning:`1px solid ${T}`,borderFocusWarning:`1px solid ${P}`,borderDisabledWarning:`1px solid ${k}`,rippleColorWarning:k,colorError:E,colorHoverError:R,colorPressedError:q,colorFocusError:R,colorDisabledError:E,textColorError:b,textColorHoverError:b,textColorPressedError:b,textColorFocusError:b,textColorDisabledError:b,textColorTextError:E,textColorTextHoverError:R,textColorTextPressedError:q,textColorTextFocusError:R,textColorTextDisabledError:d,textColorGhostError:E,textColorGhostHoverError:R,textColorGhostPressedError:q,textColorGhostFocusError:R,textColorGhostDisabledError:E,borderError:`1px solid ${E}`,borderHoverError:`1px solid ${R}`,borderPressedError:`1px solid ${q}`,borderFocusError:`1px solid ${R}`,borderDisabledError:`1px solid ${E}`,rippleColorError:E,waveOpacity:"0.6",fontWeight:L,fontWeightStrong:V})}const bU={name:"Button",common:xt,self:wS},Du=bU,yU={name:"Button",common:je,self(e){const t=wS(e);return t.waveOpacity="0.8",t.colorOpacitySecondary="0.16",t.colorOpacitySecondaryHover="0.2",t.colorOpacitySecondaryPressed="0.12",t}},Vn=yU,xU=W([z("button",`
|
||
margin: 0;
|
||
font-weight: var(--n-font-weight);
|
||
line-height: 1;
|
||
font-family: inherit;
|
||
padding: var(--n-padding);
|
||
height: var(--n-height);
|
||
font-size: var(--n-font-size);
|
||
border-radius: var(--n-border-radius);
|
||
color: var(--n-text-color);
|
||
background-color: var(--n-color);
|
||
width: var(--n-width);
|
||
white-space: nowrap;
|
||
outline: none;
|
||
position: relative;
|
||
z-index: auto;
|
||
border: none;
|
||
display: inline-flex;
|
||
flex-wrap: nowrap;
|
||
flex-shrink: 0;
|
||
align-items: center;
|
||
justify-content: center;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
text-align: center;
|
||
cursor: pointer;
|
||
text-decoration: none;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
`,[J("color",[U("border",{borderColor:"var(--n-border-color)"}),J("disabled",[U("border",{borderColor:"var(--n-border-color-disabled)"})]),At("disabled",[W("&:focus",[U("state-border",{borderColor:"var(--n-border-color-focus)"})]),W("&:hover",[U("state-border",{borderColor:"var(--n-border-color-hover)"})]),W("&:active",[U("state-border",{borderColor:"var(--n-border-color-pressed)"})]),J("pressed",[U("state-border",{borderColor:"var(--n-border-color-pressed)"})])])]),J("disabled",{backgroundColor:"var(--n-color-disabled)",color:"var(--n-text-color-disabled)"},[U("border",{border:"var(--n-border-disabled)"})]),At("disabled",[W("&:focus",{backgroundColor:"var(--n-color-focus)",color:"var(--n-text-color-focus)"},[U("state-border",{border:"var(--n-border-focus)"})]),W("&:hover",{backgroundColor:"var(--n-color-hover)",color:"var(--n-text-color-hover)"},[U("state-border",{border:"var(--n-border-hover)"})]),W("&:active",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[U("state-border",{border:"var(--n-border-pressed)"})]),J("pressed",{backgroundColor:"var(--n-color-pressed)",color:"var(--n-text-color-pressed)"},[U("state-border",{border:"var(--n-border-pressed)"})])]),J("loading","cursor: wait;"),z("base-wave",`
|
||
pointer-events: none;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
animation-iteration-count: 1;
|
||
animation-duration: var(--n-ripple-duration);
|
||
animation-timing-function: var(--n-bezier-ease-out), var(--n-bezier-ease-out);
|
||
`,[J("active",{zIndex:1,animationName:"button-wave-spread, button-wave-opacity"})]),pr&&"MozBoxSizing"in document.createElement("div").style?W("&::moz-focus-inner",{border:0}):null,U("border, state-border",`
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
border-radius: inherit;
|
||
transition: border-color .3s var(--n-bezier);
|
||
pointer-events: none;
|
||
`),U("border",{border:"var(--n-border)"}),U("state-border",{border:"var(--n-border)",borderColor:"#0000",zIndex:1}),U("icon",`
|
||
margin: var(--n-icon-margin);
|
||
margin-left: 0;
|
||
height: var(--n-icon-size);
|
||
width: var(--n-icon-size);
|
||
max-width: var(--n-icon-size);
|
||
font-size: var(--n-icon-size);
|
||
position: relative;
|
||
flex-shrink: 0;
|
||
`,[z("icon-slot",`
|
||
height: var(--n-icon-size);
|
||
width: var(--n-icon-size);
|
||
position: absolute;
|
||
left: 0;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
`,[Kn({top:"50%",originalTransform:"translateY(-50%)"})]),hj()]),U("content",`
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: nowrap;
|
||
min-width: 0;
|
||
`,[W("~",[U("icon",{margin:"var(--n-icon-margin)",marginRight:0})])]),J("block",`
|
||
display: flex;
|
||
width: 100%;
|
||
`),J("dashed",[U("border, state-border",{borderStyle:"dashed !important"})]),J("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}})]),CU=Object.assign(Object.assign({},Ne.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:!mS}}),_S=Ce({name:"Button",props:CU,setup(e){const t=j(null),n=j(null),o=j(!1),r=kt(()=>!e.quaternary&&!e.tertiary&&!e.secondary&&!e.text&&(!e.color||e.ghost||e.dashed)&&e.bordered),i=Ve(gU,{}),{mergedSizeRef:a}=mr({},{defaultSize:"medium",mergedSize:_=>{const{size:S}=e;if(S)return S;const{size:y}=i;if(y)return y;const{mergedSize:x}=_||{};return x?x.value:"medium"}}),s=O(()=>e.focusable&&!e.disabled),l=_=>{var S;s.value||_.preventDefault(),!e.nativeFocusBehavior&&(_.preventDefault(),!e.disabled&&s.value&&((S=t.value)===null||S===void 0||S.focus({preventScroll:!0})))},c=_=>{var S;if(!e.disabled&&!e.loading){const{onClick:y}=e;y&&$e(y,_),e.text||(S=n.value)===null||S===void 0||S.play()}},u=_=>{switch(_.key){case"Enter":if(!e.keyboard)return;o.value=!1}},d=_=>{switch(_.key){case"Enter":if(!e.keyboard||e.loading){_.preventDefault();return}o.value=!0}},f=()=>{o.value=!1},{inlineThemeDisabled:h,mergedClsPrefixRef:p,mergedRtlRef:g}=st(e),m=Ne("Button","-button",xU,Du,e,p),b=pn("Button",g,p),w=O(()=>{const _=m.value,{common:{cubicBezierEaseInOut:S,cubicBezierEaseOut:y},self:x}=_,{rippleDuration:k,opacityDisabled:P,fontWeight:T,fontWeightStrong:E}=x,R=a.value,{dashed:q,type:L,ghost:D,text:F,color:K,round:V,circle:le,textColor:me,secondary:ee,tertiary:N,quaternary:M,strong:Z}=e,G={"font-weight":Z?E:T};let re={"--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 X=L==="tertiary",ae=L==="default",B=X?"default":L;if(F){const I=me||K;re={"--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":I||x[Re("textColorText",B)],"--n-text-color-hover":I?di(I):x[Re("textColorTextHover",B)],"--n-text-color-pressed":I?Wl(I):x[Re("textColorTextPressed",B)],"--n-text-color-focus":I?di(I):x[Re("textColorTextHover",B)],"--n-text-color-disabled":I||x[Re("textColorTextDisabled",B)]}}else if(D||q){const I=me||K;re={"--n-color":"#0000","--n-color-hover":"#0000","--n-color-pressed":"#0000","--n-color-focus":"#0000","--n-color-disabled":"#0000","--n-ripple-color":K||x[Re("rippleColor",B)],"--n-text-color":I||x[Re("textColorGhost",B)],"--n-text-color-hover":I?di(I):x[Re("textColorGhostHover",B)],"--n-text-color-pressed":I?Wl(I):x[Re("textColorGhostPressed",B)],"--n-text-color-focus":I?di(I):x[Re("textColorGhostHover",B)],"--n-text-color-disabled":I||x[Re("textColorGhostDisabled",B)]}}else if(ee){const I=ae?x.textColor:X?x.textColorTertiary:x[Re("color",B)],H=K||I,te=L!=="default"&&L!=="tertiary";re={"--n-color":te?ze(H,{alpha:Number(x.colorOpacitySecondary)}):x.colorSecondary,"--n-color-hover":te?ze(H,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-pressed":te?ze(H,{alpha:Number(x.colorOpacitySecondaryPressed)}):x.colorSecondaryPressed,"--n-color-focus":te?ze(H,{alpha:Number(x.colorOpacitySecondaryHover)}):x.colorSecondaryHover,"--n-color-disabled":x.colorSecondary,"--n-ripple-color":"#0000","--n-text-color":H,"--n-text-color-hover":H,"--n-text-color-pressed":H,"--n-text-color-focus":H,"--n-text-color-disabled":H}}else if(N||M){const I=ae?x.textColor:X?x.textColorTertiary:x[Re("color",B)],H=K||I;N?(re["--n-color"]=x.colorTertiary,re["--n-color-hover"]=x.colorTertiaryHover,re["--n-color-pressed"]=x.colorTertiaryPressed,re["--n-color-focus"]=x.colorSecondaryHover,re["--n-color-disabled"]=x.colorTertiary):(re["--n-color"]=x.colorQuaternary,re["--n-color-hover"]=x.colorQuaternaryHover,re["--n-color-pressed"]=x.colorQuaternaryPressed,re["--n-color-focus"]=x.colorQuaternaryHover,re["--n-color-disabled"]=x.colorQuaternary),re["--n-ripple-color"]="#0000",re["--n-text-color"]=H,re["--n-text-color-hover"]=H,re["--n-text-color-pressed"]=H,re["--n-text-color-focus"]=H,re["--n-text-color-disabled"]=H}else re={"--n-color":K||x[Re("color",B)],"--n-color-hover":K?di(K):x[Re("colorHover",B)],"--n-color-pressed":K?Wl(K):x[Re("colorPressed",B)],"--n-color-focus":K?di(K):x[Re("colorFocus",B)],"--n-color-disabled":K||x[Re("colorDisabled",B)],"--n-ripple-color":K||x[Re("rippleColor",B)],"--n-text-color":me||(K?x.textColorPrimary:X?x.textColorTertiary:x[Re("textColor",B)]),"--n-text-color-hover":me||(K?x.textColorHoverPrimary:x[Re("textColorHover",B)]),"--n-text-color-pressed":me||(K?x.textColorPressedPrimary:x[Re("textColorPressed",B)]),"--n-text-color-focus":me||(K?x.textColorFocusPrimary:x[Re("textColorFocus",B)]),"--n-text-color-disabled":me||(K?x.textColorDisabledPrimary:x[Re("textColorDisabled",B)])};let xe={"--n-border":"initial","--n-border-hover":"initial","--n-border-pressed":"initial","--n-border-focus":"initial","--n-border-disabled":"initial"};F?xe={"--n-border":"none","--n-border-hover":"none","--n-border-pressed":"none","--n-border-focus":"none","--n-border-disabled":"none"}:xe={"--n-border":x[Re("border",B)],"--n-border-hover":x[Re("borderHover",B)],"--n-border-pressed":x[Re("borderPressed",B)],"--n-border-focus":x[Re("borderFocus",B)],"--n-border-disabled":x[Re("borderDisabled",B)]};const{[Re("height",R)]:se,[Re("fontSize",R)]:ge,[Re("padding",R)]:$,[Re("paddingRound",R)]:A,[Re("iconSize",R)]:oe,[Re("borderRadius",R)]:Se,[Re("iconMargin",R)]:ne,waveOpacity:ye}=x,Pe={"--n-width":le&&!F?se:"initial","--n-height":F?"initial":se,"--n-font-size":ge,"--n-padding":le||F?"initial":V?A:$,"--n-icon-size":oe,"--n-icon-margin":ne,"--n-border-radius":F?"initial":le||V?se:Se};return Object.assign(Object.assign(Object.assign(Object.assign({"--n-bezier":S,"--n-bezier-ease-out":y,"--n-ripple-duration":k,"--n-opacity-disabled":P,"--n-wave-opacity":ye},G),re),xe),Pe)}),C=h?Pt("button",O(()=>{let _="";const{dashed:S,type:y,ghost:x,text:k,color:P,round:T,circle:E,textColor:R,secondary:q,tertiary:L,quaternary:D,strong:F}=e;S&&(_+="a"),x&&(_+="b"),k&&(_+="c"),T&&(_+="d"),E&&(_+="e"),q&&(_+="f"),L&&(_+="g"),D&&(_+="h"),F&&(_+="i"),P&&(_+=`j${Mc(P)}`),R&&(_+=`k${Mc(R)}`);const{value:K}=a;return _+=`l${K[0]}`,_+=`m${y[0]}`,_}),w,e):void 0;return{selfElRef:t,waveElRef:n,mergedClsPrefix:p,mergedFocusable:s,mergedSize:a,showBorder:r,enterPressed:o,rtlEnabled:b,handleMousedown:l,handleKeydown:d,handleBlur:f,handleKeyup:u,handleClick:c,customColorCssVars:O(()=>{const{color:_}=e;if(!_)return null;const S=di(_);return{"--n-border-color":_,"--n-border-color-hover":S,"--n-border-color-pressed":Wl(_),"--n-border-color-focus":S,"--n-border-color-disabled":_}}),cssVars:h?void 0:w,themeClass:C==null?void 0:C.themeClass,onRender:C==null?void 0:C.onRender}},render(){const{mergedClsPrefix:e,tag:t,onRender:n}=this;n==null||n();const o=Et(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(Lu,{width:!0},{default:()=>Et(this.$slots.icon,r=>(this.loading||this.renderIcon||r)&&v("span",{class:`${e}-button__icon`,style:{margin:ga(this.$slots.default)?"0":""}},v(Ki,null,{default:()=>this.loading?v(oi,{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(UH,{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)}}),zt=_S,t1=_S,wU={titleFontSize:"22px"};function _U(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:h,popoverColor:p}=e;return Object.assign(Object.assign({},wU),{borderRadius:t,borderColor:Ke(f,s),borderColorModal:Ke(h,s),borderColorPopover:Ke(p,s),textColor:r,titleFontWeight:l,titleTextColor:i,dayTextColor:a,fontSize:n,lineHeight:o,dateColorCurrent:c,dateTextColorCurrent:u,cellColorHover:Ke(f,d),cellColorHoverModal:Ke(h,d),cellColorHoverPopover:Ke(p,d),cellColor:f,cellColorModal:h,cellColorPopover:p,barColor:c})}const SU={name:"Calendar",common:je,peers:{Button:Vn},self:_U},kU=SU;function PU(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:h}=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:h}}const TU={name:"ColorPicker",common:je,peers:{Input:go,Button:Vn},self:PU},AU=TU,RU={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"};function SS(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:h,closeColorPressed:p,modalColor:g,boxShadow1:m,popoverColor:b,actionColor:w}=e;return Object.assign(Object.assign({},RU),{lineHeight:o,color:i,colorModal:g,colorPopover:b,colorTarget:t,colorEmbedded:w,colorEmbeddedModal:w,colorEmbeddedPopover:w,textColor:a,titleTextColor:s,borderColor:l,actionColor:w,titleFontWeight:c,closeColorHover:h,closeColorPressed:p,closeBorderRadius:n,closeIconColor:u,closeIconColorHover:d,closeIconColorPressed:f,fontSizeSmall:r,fontSizeMedium:r,fontSizeLarge:r,fontSizeHuge:r,boxShadow:m,borderRadius:n})}const EU={name:"Card",common:xt,self:SS},kS=EU,$U={name:"Card",common:je,self(e){const t=SS(e),{cardColor:n,modalColor:o,popoverColor:r}=e;return t.colorEmbedded=n,t.colorEmbeddedModal=o,t.colorEmbeddedPopover=r,t}},PS=$U,IU=W([z("card",`
|
||
font-size: var(--n-font-size);
|
||
line-height: var(--n-line-height);
|
||
display: flex;
|
||
flex-direction: column;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
border-radius: var(--n-border-radius);
|
||
background-color: var(--n-color);
|
||
color: var(--n-text-color);
|
||
word-break: break-word;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
`,[Aw({background:"var(--n-color-modal)"}),J("hoverable",[W("&:hover","box-shadow: var(--n-box-shadow);")]),J("content-segmented",[W(">",[U("content",{paddingTop:"var(--n-padding-bottom)"})])]),J("content-soft-segmented",[W(">",[U("content",`
|
||
margin: 0 var(--n-padding-left);
|
||
padding: var(--n-padding-bottom) 0;
|
||
`)])]),J("footer-segmented",[W(">",[U("footer",{paddingTop:"var(--n-padding-bottom)"})])]),J("footer-soft-segmented",[W(">",[U("footer",`
|
||
padding: var(--n-padding-bottom) 0;
|
||
margin: 0 var(--n-padding-left);
|
||
`)])]),W(">",[z("card-header",`
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
align-items: center;
|
||
font-size: var(--n-title-font-size);
|
||
padding:
|
||
var(--n-padding-top)
|
||
var(--n-padding-left)
|
||
var(--n-padding-bottom)
|
||
var(--n-padding-left);
|
||
`,[U("main",`
|
||
font-weight: var(--n-title-font-weight);
|
||
transition: color .3s var(--n-bezier);
|
||
flex: 1;
|
||
min-width: 0;
|
||
color: var(--n-title-text-color);
|
||
`),U("extra",`
|
||
display: flex;
|
||
align-items: center;
|
||
font-size: var(--n-font-size);
|
||
font-weight: 400;
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-text-color);
|
||
`),U("close",`
|
||
margin: 0 0 0 8px;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`)]),U("action",`
|
||
box-sizing: border-box;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
background-clip: padding-box;
|
||
background-color: var(--n-action-color);
|
||
`),U("content","flex: 1; min-width: 0;"),U("content, footer",`
|
||
box-sizing: border-box;
|
||
padding: 0 var(--n-padding-left) var(--n-padding-bottom) var(--n-padding-left);
|
||
font-size: var(--n-font-size);
|
||
`,[W("&:first-child",{paddingTop:"var(--n-padding-bottom)"})]),U("action",`
|
||
background-color: var(--n-action-color);
|
||
padding: var(--n-padding-bottom) var(--n-padding-left);
|
||
border-bottom-left-radius: var(--n-border-radius);
|
||
border-bottom-right-radius: var(--n-border-radius);
|
||
`)]),z("card-cover",`
|
||
overflow: hidden;
|
||
width: 100%;
|
||
border-radius: var(--n-border-radius) var(--n-border-radius) 0 0;
|
||
`,[W("img",`
|
||
display: block;
|
||
width: 100%;
|
||
`)]),J("bordered",`
|
||
border: 1px solid var(--n-border-color);
|
||
`,[W("&:target","border-color: var(--n-color-target);")]),J("action-segmented",[W(">",[U("action",[W("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),J("content-segmented, content-soft-segmented",[W(">",[U("content",{transition:"border-color 0.3s var(--n-bezier)"},[W("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),J("footer-segmented, footer-soft-segmented",[W(">",[U("footer",{transition:"border-color 0.3s var(--n-bezier)"},[W("&:not(:first-child)",{borderTop:"1px solid var(--n-border-color)"})])])]),J("embedded",`
|
||
background-color: var(--n-color-embedded);
|
||
`)]),cl(z("card",`
|
||
background: var(--n-color-modal);
|
||
`,[J("embedded",`
|
||
background-color: var(--n-color-embedded-modal);
|
||
`)])),Au(z("card",`
|
||
background: var(--n-color-popover);
|
||
`,[J("embedded",`
|
||
background-color: var(--n-color-embedded-popover);
|
||
`)]))]),Sm={title:[String,Function],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"},cover:Function,content:[String,Function],footer:Function,action:Function,headerExtra:Function},OU=ei(Sm),MU=Object.assign(Object.assign({},Ne.props),Sm),vo=Ce({name:"Card",props:MU,setup(e){const t=()=>{const{onClose:c}=e;c&&$e(c)},{inlineThemeDisabled:n,mergedClsPrefixRef:o,mergedRtlRef:r}=st(e),i=Ne("Card","-card",IU,kS,e,o),a=pn("Card",r,o),s=O(()=>{const{size:c}=e,{self:{color:u,colorModal:d,colorTarget:f,textColor:h,titleTextColor:p,titleFontWeight:g,borderColor:m,actionColor:b,borderRadius:w,lineHeight:C,closeIconColor:_,closeIconColorHover:S,closeIconColorPressed:y,closeColorHover:x,closeColorPressed:k,closeBorderRadius:P,closeIconSize:T,closeSize:E,boxShadow:R,colorPopover:q,colorEmbedded:L,colorEmbeddedModal:D,colorEmbeddedPopover:F,[Re("padding",c)]:K,[Re("fontSize",c)]:V,[Re("titleFontSize",c)]:le},common:{cubicBezierEaseInOut:me}}=i.value,{top:ee,left:N,bottom:M}=co(K);return{"--n-bezier":me,"--n-border-radius":w,"--n-color":u,"--n-color-modal":d,"--n-color-popover":q,"--n-color-embedded":L,"--n-color-embedded-modal":D,"--n-color-embedded-popover":F,"--n-color-target":f,"--n-text-color":h,"--n-line-height":C,"--n-action-color":b,"--n-title-text-color":p,"--n-title-font-weight":g,"--n-close-icon-color":_,"--n-close-icon-color-hover":S,"--n-close-icon-color-pressed":y,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-border-color":m,"--n-box-shadow":R,"--n-padding-top":ee,"--n-padding-bottom":M,"--n-padding-left":N,"--n-font-size":V,"--n-title-font-size":le,"--n-close-size":E,"--n-close-icon-size":T,"--n-close-border-radius":P}}),l=n?Pt("card",O(()=>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},Et(l.cover,c=>{const u=this.cover?So([this.cover()]):c;return u&&v("div",{class:`${o}-card-cover`,role:"none"},u)}),Et(l.header,c=>{const{title:u}=this,d=u?So(typeof u=="function"?[u()]:[u]):c;return d||this.closable?v("div",{class:[`${o}-card-header`,this.headerClass],style:this.headerStyle,role:"heading"},v("div",{class:`${o}-card-header__main`,role:"heading"},d),Et(l["header-extra"],f=>{const h=this.headerExtra?So([this.headerExtra()]):f;return h&&v("div",{class:[`${o}-card-header__extra`,this.headerExtraClass],style:this.headerExtraStyle},h)}),this.closable&&v(Gi,{clsPrefix:o,class:`${o}-card-header__close`,onClick:this.handleCloseClick,absolute:!0})):null}),Et(l.default,c=>{const{content:u}=this,d=u?So(typeof u=="function"?[u()]:[u]):c;return d&&v("div",{class:[`${o}-card__content`,this.contentClass],style:this.contentStyle,role:"none"},d)}),Et(l.footer,c=>{const u=this.footer?So([this.footer()]):c;return u&&v("div",{class:[`${o}-card__footer`,this.footerClass],style:this.footerStyle,role:"none"},u)}),Et(l.action,c=>{const u=this.action?So([this.action()]):c;return u&&v("div",{class:`${o}-card__action`,role:"none"},u)}))}});function TS(){return{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"}}const zU={name:"Carousel",common:xt,self:TS},LU=zU,FU={name:"Carousel",common:je,self:TS},DU=FU;function BU(e){const{length:t}=e;return t>1&&(e.push(n1(e[0],0,"append")),e.unshift(n1(e[t-1],t-1,"prepend"))),e}function n1(e,t,n){return fo(e,{key:`carousel-item-duplicate-${t}-${n}`})}function o1(e,t,n){return t===1?0:n?e===0?t-3:e===t-1?0:e-1:e}function af(e,t){return t?e+1:e}function NU(e,t,n){return e<0?null:e===0?n?t-1:null:e-1}function HU(e,t,n){return e>t-1?null:e===t-1?n?0:null:e+1}function jU(e,t){return t&&e>3?e-2:e}function r1(e){return window.TouchEvent&&e instanceof window.TouchEvent}function i1(e,t){let{offsetWidth:n,offsetHeight:o}=e;if(t){const r=getComputedStyle(e);n=n-Number.parseFloat(r.getPropertyValue("padding-left"))-Number.parseFloat(r.getPropertyValue("padding-right")),o=o-Number.parseFloat(r.getPropertyValue("padding-top"))-Number.parseFloat(r.getPropertyValue("padding-bottom"))}return{width:n,height:o}}function ql(e,t,n){return e<t?t:e>n?n:e}function UU(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 AS="n-carousel-methods";function VU(e){at(AS,e)}function km(e="unknown",t="component"){const n=Ve(AS);return n||hr(e,`\`${t}\` must be placed inside \`n-carousel\`.`),n}const WU={total:{type:Number,default:0},currentIndex:{type:Number,default:0},dotType:{type:String,default:"dot"},trigger:{type:String,default:"click"},keyboard:Boolean},qU=Ce({name:"CarouselDots",props:WU,setup(e){const{mergedClsPrefixRef:t}=st(e),n=j([]),o=km();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,h=f==="PageUp"||f==="ArrowUp",p=f==="PageDown"||f==="ArrowDown",g=f==="PageUp"||f==="ArrowRight",m=f==="PageDown"||f==="ArrowLeft",b=o.isVertical(),w=b?h:g,C=b?p:m;!w&&!C||(c.preventDefault(),w&&!o.isNextDisabled()?(o.next(),l(o.currentIndexRef.value)):C&&!o.isPrevDisabled()&&(o.prev(),l(o.currentIndexRef.value)))}function l(c){var u;(u=n.value[c])===null||u===void 0||u.focus()}return Yy(()=>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"},JI(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)}})}))}}),KU=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"}))),GU=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"}))),XU=Ce({name:"CarouselArrow",setup(e){const{mergedClsPrefixRef:t}=st(e),{isVertical:n,isPrevDisabled:o,isNextDisabled:r,prev:i,next:a}=km();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},KU),v("div",{class:[`${e}-carousel__arrow`,this.isNextDisabled()&&`${e}-carousel__arrow--disabled`],role:"button",onClick:this.next},GU))}}),vc="CarouselItem";function YU(e){var t;return((t=e.type)===null||t===void 0?void 0:t.name)===vc}const QU=Ce({name:vc,setup(e){const{mergedClsPrefixRef:t}=st(e),n=km(w0(vc),`n-${w0(vc)}`),o=j(),r=O(()=>{const{value:u}=o;return u?n.getSlideIndex(u):-1}),i=O(()=>n.isPrev(r.value)),a=O(()=>n.isNext(r.value)),s=O(()=>n.isActive(r.value)),l=O(()=>n.getSlideStyle(r.value));jt(()=>{n.addSlide(o.value)}),on(()=>{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}))}}),JU=z("carousel",`
|
||
position: relative;
|
||
width: 100%;
|
||
height: 100%;
|
||
touch-action: pan-y;
|
||
overflow: hidden;
|
||
`,[U("slides",`
|
||
display: flex;
|
||
width: 100%;
|
||
height: 100%;
|
||
transition-timing-function: var(--n-bezier);
|
||
transition-property: transform;
|
||
`,[U("slide",`
|
||
flex-shrink: 0;
|
||
position: relative;
|
||
width: 100%;
|
||
height: 100%;
|
||
outline: none;
|
||
overflow: hidden;
|
||
`,[W("> img",`
|
||
display: block;
|
||
`)])]),U("dots",`
|
||
position: absolute;
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
`,[J("dot",[U("dot",`
|
||
height: var(--n-dot-size);
|
||
width: var(--n-dot-size);
|
||
background-color: var(--n-dot-color);
|
||
border-radius: 50%;
|
||
cursor: pointer;
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
outline: none;
|
||
`,[W("&:focus",`
|
||
background-color: var(--n-dot-color-focus);
|
||
`),J("active",`
|
||
background-color: var(--n-dot-color-active);
|
||
`)])]),J("line",[U("dot",`
|
||
border-radius: 9999px;
|
||
width: var(--n-dot-line-width);
|
||
height: 4px;
|
||
background-color: var(--n-dot-color);
|
||
cursor: pointer;
|
||
transition:
|
||
width .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
outline: none;
|
||
`,[W("&:focus",`
|
||
background-color: var(--n-dot-color-focus);
|
||
`),J("active",`
|
||
width: var(--n-dot-line-width-active);
|
||
background-color: var(--n-dot-color-active);
|
||
`)])])]),U("arrow",`
|
||
transition: background-color .3s var(--n-bezier);
|
||
cursor: pointer;
|
||
height: 28px;
|
||
width: 28px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
background-color: rgba(255, 255, 255, .2);
|
||
color: var(--n-arrow-color);
|
||
border-radius: 8px;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
font-size: 18px;
|
||
`,[W("svg",`
|
||
height: 1em;
|
||
width: 1em;
|
||
`),W("&:hover",`
|
||
background-color: rgba(255, 255, 255, .3);
|
||
`)]),J("vertical",`
|
||
touch-action: pan-x;
|
||
`,[U("slides",`
|
||
flex-direction: column;
|
||
`),J("fade",[U("slide",`
|
||
top: 50%;
|
||
left: unset;
|
||
transform: translateY(-50%);
|
||
`)]),J("card",[U("slide",`
|
||
top: 50%;
|
||
left: unset;
|
||
transform: translateY(-50%) translateZ(-400px);
|
||
`,[J("current",`
|
||
transform: translateY(-50%) translateZ(0);
|
||
`),J("prev",`
|
||
transform: translateY(-100%) translateZ(-200px);
|
||
`),J("next",`
|
||
transform: translateY(0%) translateZ(-200px);
|
||
`)])])]),J("usercontrol",[U("slides",[W(">",[W("div",`
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
width: 100%;
|
||
height: 100%;
|
||
transform: translate(-50%, -50%);
|
||
`)])])]),J("left",[U("dots",`
|
||
transform: translateY(-50%);
|
||
top: 50%;
|
||
left: 12px;
|
||
flex-direction: column;
|
||
`,[J("line",[U("dot",`
|
||
width: 4px;
|
||
height: var(--n-dot-line-width);
|
||
margin: 4px 0;
|
||
transition:
|
||
height .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
outline: none;
|
||
`,[J("active",`
|
||
height: var(--n-dot-line-width-active);
|
||
`)])])]),U("dot",`
|
||
margin: 4px 0;
|
||
`)]),U("arrow-group",`
|
||
position: absolute;
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
`),J("vertical",[U("arrow",`
|
||
transform: rotate(90deg);
|
||
`)]),J("show-arrow",[J("bottom",[U("dots",`
|
||
transform: translateX(0);
|
||
bottom: 18px;
|
||
left: 18px;
|
||
`)]),J("top",[U("dots",`
|
||
transform: translateX(0);
|
||
top: 18px;
|
||
left: 18px;
|
||
`)]),J("left",[U("dots",`
|
||
transform: translateX(0);
|
||
top: 18px;
|
||
left: 18px;
|
||
`)]),J("right",[U("dots",`
|
||
transform: translateX(0);
|
||
top: 18px;
|
||
right: 18px;
|
||
`)])]),J("left",[U("arrow-group",`
|
||
bottom: 12px;
|
||
left: 12px;
|
||
flex-direction: column;
|
||
`,[W("> *:first-child",`
|
||
margin-bottom: 12px;
|
||
`)])]),J("right",[U("dots",`
|
||
transform: translateY(-50%);
|
||
top: 50%;
|
||
right: 12px;
|
||
flex-direction: column;
|
||
`,[J("line",[U("dot",`
|
||
width: 4px;
|
||
height: var(--n-dot-line-width);
|
||
margin: 4px 0;
|
||
transition:
|
||
height .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
outline: none;
|
||
`,[J("active",`
|
||
height: var(--n-dot-line-width-active);
|
||
`)])])]),U("dot",`
|
||
margin: 4px 0;
|
||
`),U("arrow-group",`
|
||
bottom: 12px;
|
||
right: 12px;
|
||
flex-direction: column;
|
||
`,[W("> *:first-child",`
|
||
margin-bottom: 12px;
|
||
`)])]),J("top",[U("dots",`
|
||
transform: translateX(-50%);
|
||
top: 12px;
|
||
left: 50%;
|
||
`,[J("line",[U("dot",`
|
||
margin: 0 4px;
|
||
`)])]),U("dot",`
|
||
margin: 0 4px;
|
||
`),U("arrow-group",`
|
||
top: 12px;
|
||
right: 12px;
|
||
`,[W("> *:first-child",`
|
||
margin-right: 12px;
|
||
`)])]),J("bottom",[U("dots",`
|
||
transform: translateX(-50%);
|
||
bottom: 12px;
|
||
left: 50%;
|
||
`,[J("line",[U("dot",`
|
||
margin: 0 4px;
|
||
`)])]),U("dot",`
|
||
margin: 0 4px;
|
||
`),U("arrow-group",`
|
||
bottom: 12px;
|
||
right: 12px;
|
||
`,[W("> *:first-child",`
|
||
margin-right: 12px;
|
||
`)])]),J("fade",[U("slide",`
|
||
position: absolute;
|
||
opacity: 0;
|
||
transition-property: opacity;
|
||
pointer-events: none;
|
||
`,[J("current",`
|
||
opacity: 1;
|
||
pointer-events: auto;
|
||
`)])]),J("card",[U("slides",`
|
||
perspective: 1000px;
|
||
`),U("slide",`
|
||
position: absolute;
|
||
left: 50%;
|
||
opacity: 0;
|
||
transform: translateX(-50%) translateZ(-400px);
|
||
transition-property: opacity, transform;
|
||
`,[J("current",`
|
||
opacity: 1;
|
||
transform: translateX(-50%) translateZ(0);
|
||
z-index: 1;
|
||
`),J("prev",`
|
||
opacity: 0.4;
|
||
transform: translateX(-100%) translateZ(-200px);
|
||
`),J("next",`
|
||
opacity: 0.4;
|
||
transform: translateX(0%) translateZ(-200px);
|
||
`)])])]),ZU=["transitionDuration","transitionTimingFunction"],eV=Object.assign(Object.assign({},Ne.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 sf=!1;const tV=Ce({name:"Carousel",props:eV,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=j(null),r=j(null),i=j([]),a={value:[]},s=O(()=>e.direction==="vertical"),l=O(()=>s.value?"height":"width"),c=O(()=>s.value?"bottom":"right"),u=O(()=>e.effect==="slide"),d=O(()=>e.loop&&e.slidesPerView===1&&u.value),f=O(()=>e.effect==="custom"),h=O(()=>!u.value||e.centeredSlides?1:e.slidesPerView),p=O(()=>f.value?1:e.slidesPerView),g=O(()=>h.value==="auto"||e.slidesPerView==="auto"&&e.centeredSlides),m=j({width:0,height:0}),b=O(()=>{const{value:ke}=i;if(!ke.length)return[];const{value:He}=g;if(He)return ke.map(ue=>i1(ue));const{value:Ze}=p,{value:ht}=m,{value:bt}=l;let dt=ht[bt];if(Ze!=="auto"){const{spaceBetween:ue}=e,Ee=dt-(Ze-1)*ue,ot=1/Math.max(1,Ze);dt=Ee*ot}const Rt=Object.assign(Object.assign({},ht),{[bt]:dt});return ke.map(()=>Rt)}),w=O(()=>{const{value:ke}=b;if(!ke.length)return[];const{centeredSlides:He,spaceBetween:Ze}=e,{value:ht}=l,{[ht]:bt}=m.value;let dt=0;return ke.map(({[ht]:Rt})=>{let ue=dt;return He&&(ue+=(Rt-bt)/2),dt+=Rt+Ze,ue})}),C=j(!1),_=O(()=>{const{transitionStyle:ke}=e;return ke?eo(ke,ZU):{}}),S=O(()=>f.value?0:UU(_.value.transitionDuration)),y=O(()=>{const{value:ke}=i;if(!ke.length)return[];const He=!(g.value||p.value===1),Ze=Rt=>{if(He){const{value:ue}=l;return{[ue]:`${b.value[Rt][ue]}px`}}};if(f.value)return ke.map((Rt,ue)=>Ze(ue));const{effect:ht,spaceBetween:bt}=e,{value:dt}=c;return ke.reduce((Rt,ue,Ee)=>{const ot=Object.assign(Object.assign({},Ze(Ee)),{[`margin-${dt}`]:`${bt}px`});return Rt.push(ot),C.value&&(ht==="fade"||ht==="card")&&Object.assign(ot,_.value),Rt},[])}),x=O(()=>{const{value:ke}=h,{length:He}=i.value;if(ke!=="auto")return Math.max(He-ke,0)+1;{const{value:Ze}=b,{length:ht}=Ze;if(!ht)return He;const{value:bt}=w,{value:dt}=l,Rt=m.value[dt];let ue=Ze[Ze.length-1][dt],Ee=ht;for(;Ee>1&&ue<Rt;)Ee--,ue+=bt[Ee]-bt[Ee-1];return ql(Ee+1,1,ht)}}),k=O(()=>jU(x.value,d.value)),P=af(e.defaultIndex,d.value),T=j(o1(P,x.value,d.value)),E=rn(Ue(e,"currentIndex"),T),R=O(()=>af(E.value,d.value));function q(ke){var He,Ze;ke=ql(ke,0,x.value-1);const ht=o1(ke,x.value,d.value),{value:bt}=E;ht!==E.value&&(T.value=ht,(He=e["onUpdate:currentIndex"])===null||He===void 0||He.call(e,ht,bt),(Ze=e.onUpdateCurrentIndex)===null||Ze===void 0||Ze.call(e,ht,bt))}function L(ke=R.value){return NU(ke,x.value,e.loop)}function D(ke=R.value){return HU(ke,x.value,e.loop)}function F(ke){const He=ye(ke);return He!==null&&L()===He}function K(ke){const He=ye(ke);return He!==null&&D()===He}function V(ke){return R.value===ye(ke)}function le(ke){return E.value===ke}function me(){return L()===null}function ee(){return D()===null}function N(ke){const He=ql(af(ke,d.value),0,x.value);(ke!==E.value||He!==R.value)&&q(He)}function M(){const ke=L();ke!==null&&q(ke)}function Z(){const ke=D();ke!==null&&q(ke)}let G=!1;function re(){(!G||!d.value)&&M()}function X(){(!G||!d.value)&&Z()}let ae=0;const B=j({});function xe(ke,He=0){B.value=Object.assign({},_.value,{transform:s.value?`translateY(${-ke}px)`:`translateX(${-ke}px)`,transitionDuration:`${He}ms`})}function se(ke=0){u.value?ge(R.value,ke):ae!==0&&(!G&&ke>0&&(G=!0),xe(ae=0,ke))}function ge(ke,He){const Ze=$(ke);Ze!==ae&&He>0&&(G=!0),ae=$(R.value),xe(Ze,He)}function $(ke){let He;return ke>=x.value-1?He=A():He=w.value[ke]||0,He}function A(){if(h.value==="auto"){const{value:ke}=l,{[ke]:He}=m.value,{value:Ze}=w,ht=Ze[Ze.length-1];let bt;if(ht===void 0)bt=He;else{const{value:dt}=b;bt=ht+dt[dt.length-1][ke]}return bt-He}else{const{value:ke}=w;return ke[x.value-1]||0}}const oe={currentIndexRef:E,to:N,prev:re,next:X,isVertical:()=>s.value,isHorizontal:()=>!s.value,isPrev:F,isNext:K,isActive:V,isPrevDisabled:me,isNextDisabled:ee,getSlideIndex:ye,getSlideStyle:Pe,addSlide:Se,removeSlide:ne,onCarouselItemClick:ie};VU(oe);function Se(ke){ke&&i.value.push(ke)}function ne(ke){if(!ke)return;const He=ye(ke);He!==-1&&i.value.splice(He,1)}function ye(ke){return typeof ke=="number"?ke:ke?i.value.indexOf(ke):-1}function Pe(ke){const He=ye(ke);if(He!==-1){const Ze=[y.value[He]],ht=oe.isPrev(He),bt=oe.isNext(He);return ht&&Ze.push(e.prevSlideStyle||""),bt&&Ze.push(e.nextSlideStyle||""),Di(Ze)}}let I=0,H=0,te=0,_e=0,he=!1,de=!1;function ie(ke,He){let Ze=!G&&!he&&!de;e.effect==="card"&&Ze&&!V(ke)&&(N(ke),Ze=!1),Ze||(He.preventDefault(),He.stopPropagation())}let fe=null;function Oe(){fe&&(clearInterval(fe),fe=null)}function De(){Oe(),!e.autoplay||k.value<2||(fe=window.setInterval(Z,e.interval))}function Le(ke){var He;if(sf||!(!((He=r.value)===null||He===void 0)&&He.contains(Oi(ke))))return;sf=!0,he=!0,de=!1,_e=Date.now(),Oe(),ke.type!=="touchstart"&&!ke.target.isContentEditable&&ke.preventDefault();const Ze=r1(ke)?ke.touches[0]:ke;s.value?H=Ze.clientY:I=Ze.clientX,e.touchable&&($t("touchmove",document,Be),$t("touchend",document,et),$t("touchcancel",document,et)),e.draggable&&($t("mousemove",document,Be),$t("mouseup",document,et))}function Be(ke){const{value:He}=s,{value:Ze}=l,ht=r1(ke)?ke.touches[0]:ke,bt=He?ht.clientY-H:ht.clientX-I,dt=m.value[Ze];te=ql(bt,-dt,dt),ke.cancelable&&ke.preventDefault(),u.value&&xe(ae-te,0)}function et(){const{value:ke}=R;let He=ke;if(!G&&te!==0&&u.value){const Ze=ae-te,ht=[...w.value.slice(0,x.value-1),A()];let bt=null;for(let dt=0;dt<ht.length;dt++){const Rt=Math.abs(ht[dt]-Ze);if(bt!==null&&bt<Rt)break;bt=Rt,He=dt}}if(He===ke){const Ze=Date.now()-_e,{value:ht}=l,bt=m.value[ht];te>bt/2||te/Ze>.4?He=L(ke):(te<-bt/2||te/Ze<-.4)&&(He=D(ke))}He!==null&&He!==ke?(de=!0,q(He),Ht(()=>{(!d.value||T.value!==E.value)&&se(S.value)})):se(S.value),Me(),De()}function Me(){he&&(sf=!1),he=!1,I=0,H=0,te=0,_e=0,Tt("touchmove",document,Be),Tt("touchend",document,et),Tt("touchcancel",document,et),Tt("mousemove",document,Be),Tt("mouseup",document,et)}function Xe(){if(u.value&&G){const{value:ke}=R;ge(ke,0)}else De();u.value&&(B.value.transitionDuration="0ms"),G=!1}function gt(ke){if(ke.preventDefault(),G)return;let{deltaX:He,deltaY:Ze}=ke;ke.shiftKey&&!He&&(He=Ze);const ht=-1,bt=1,dt=(He||Ze)>0?bt:ht;let Rt=0,ue=0;s.value?ue=dt:Rt=dt;const Ee=10;(ue*Ze>=Ee||Rt*He>=Ee)&&(dt===bt&&!ee()?Z():dt===ht&&!me()&&M())}function Q(){m.value=i1(o.value,!0),De()}function we(){var ke,He;g.value&&((He=(ke=b.effect).scheduler)===null||He===void 0||He.call(ke),b.effect.run())}function Ie(){e.autoplay&&Oe()}function qe(){e.autoplay&&De()}jt(()=>{Yt(De),requestAnimationFrame(()=>C.value=!0)}),on(()=>{Me(),Oe()}),mp(()=>{const{value:ke}=i,{value:He}=a,Ze=new Map,ht=dt=>Ze.has(dt)?Ze.get(dt):-1;let bt=!1;for(let dt=0;dt<ke.length;dt++){const Rt=He.findIndex(ue=>ue.el===ke[dt]);Rt!==dt&&(bt=!0),Ze.set(ke[dt],Rt)}bt&&ke.sort((dt,Rt)=>ht(dt)-ht(Rt))}),ut(R,(ke,He)=>{if(ke!==He)if(De(),u.value){if(d.value){const{value:Ze}=x;k.value>2&&ke===Ze-2&&He===1?ke=0:ke===1&&He===Ze-2&&(ke=Ze-1)}ge(ke,S.value)}else se()},{immediate:!0}),ut([d,h],()=>void Ht(()=>{q(R.value)})),ut(w,()=>{u.value&&se()},{deep:!0}),ut(u,ke=>{ke?se():(G=!1,xe(ae=0))});const Qe=O(()=>({onTouchstartPassive:e.touchable?Le:void 0,onMousedown:e.draggable?Le:void 0,onWheel:e.mousewheel?gt:void 0})),Je=O(()=>Object.assign(Object.assign({},eo(oe,["to","prev","next","isPrevDisabled","isNextDisabled"])),{total:k.value,currentIndex:E.value})),tt=O(()=>({total:k.value,currentIndex:E.value,to:oe.to})),it={getCurrentIndex:()=>E.value,to:N,prev:M,next:Z},vt=Ne("Carousel","-carousel",JU,LU,e,t),an=O(()=>{const{common:{cubicBezierEaseInOut:ke},self:{dotSize:He,dotColor:Ze,dotColorActive:ht,dotColorFocus:bt,dotLineWidth:dt,dotLineWidthActive:Rt,arrowColor:ue}}=vt.value;return{"--n-bezier":ke,"--n-dot-color":Ze,"--n-dot-color-focus":bt,"--n-dot-color-active":ht,"--n-dot-size":He,"--n-dot-line-width":dt,"--n-dot-line-width-active":Rt,"--n-arrow-color":ue}}),Lt=n?Pt("carousel",void 0,an,e):void 0;return Object.assign(Object.assign({mergedClsPrefix:t,selfElRef:o,slidesElRef:r,slideVNodes:a,duplicatedable:d,userWantsControl:f,autoSlideSize:g,realIndex:R,slideStyles:y,translateStyle:B,slidesControlListeners:Qe,handleTransitionEnd:Xe,handleResize:Q,handleSlideResize:we,handleMouseenter:Ie,handleMouseleave:qe,isActive:le,arrowSlotProps:Je,dotSlotProps:tt},it),{cssVars:n?void 0:an,themeClass:Lt==null?void 0:Lt.themeClass,onRender:Lt==null?void 0:Lt.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:h}}=this,p=d&&Ra(d())||[];let g=nV(p);return g.length||(g=p.map(m=>v(QU,null,{default:()=>fo(m)}))),this.duplicatedable&&(g=BU(g)),this.slideVNodes.value=g,this.autoSlideSize&&(g=g.map(m=>v(ur,{onResize:this.handleSlideResize},{default:()=>m}))),(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(ur,{onResize:this.handleResize},{default:()=>v("div",{ref:"slidesElRef",class:`${t}-carousel__slides`,role:"listbox",style:this.translateStyle,onTransitionend:this.handleTransitionEnd},o?g.map((m,b)=>v("div",{style:r[b],key:b},dn(v(fn,Object.assign({},l),{default:()=>m}),[[Mn,this.isActive(b)]]))):g)}),this.showDots&&u.total>1&&wh(f,u,()=>[v(qU,{key:i+a,total:u.total,currentIndex:u.currentIndex,dotType:i,trigger:this.trigger,keyboard:this.keyboard})]),n&&wh(h,c,()=>[v(XU,null)]))}});function nV(e){return e.reduce((t,n)=>(YU(n)&&t.push(n),t),[])}const oV={sizeSmall:"14px",sizeMedium:"16px",sizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"};function RS(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:h,lineHeight:p}=e;return Object.assign(Object.assign({},oV),{labelLineHeight:p,fontSizeSmall:u,fontSizeMedium:d,fontSizeLarge:f,borderRadius:h,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 ${ze(l,{alpha:.3})}`,textColor:c,textColorDisabled:a})}const rV={name:"Checkbox",common:xt,self:RS},ES=rV,iV={name:"Checkbox",common:je,self(e){const{cardColor:t}=e,n=RS(e);return n.color="#0000",n.checkMarkColor=t,n}},Ya=iV;function aV(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"}}const sV={name:"Cascader",common:je,peers:{InternalSelectMenu:ml,InternalSelection:xm,Scrollbar:Un,Checkbox:Ya,Empty:Fu},self:aV},lV=sV,cV=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"})),uV=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"})),$S="n-checkbox-group",dV={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]},fV=Ce({name:"CheckboxGroup",props:dV,setup(e){const{mergedClsPrefixRef:t}=st(e),n=mr(e),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=j(e.defaultValue),a=O(()=>e.value),s=rn(a,i),l=O(()=>{var d;return((d=s.value)===null||d===void 0?void 0:d.length)||0}),c=O(()=>Array.isArray(s.value)?new Set(s.value):new Set);function u(d,f){const{nTriggerFormInput:h,nTriggerFormChange:p}=n,{onChange:g,"onUpdate:value":m,onUpdateValue:b}=e;if(Array.isArray(s.value)){const w=Array.from(s.value),C=w.findIndex(_=>_===f);d?~C||(w.push(f),b&&$e(b,w,{actionType:"check",value:f}),m&&$e(m,w,{actionType:"check",value:f}),h(),p(),i.value=w,g&&$e(g,w)):~C&&(w.splice(C,1),b&&$e(b,w,{actionType:"uncheck",value:f}),m&&$e(m,w,{actionType:"uncheck",value:f}),g&&$e(g,w),i.value=w,h(),p())}else d?(b&&$e(b,[f],{actionType:"check",value:f}),m&&$e(m,[f],{actionType:"check",value:f}),g&&$e(g,[f]),i.value=[f],h(),p()):(b&&$e(b,[],{actionType:"uncheck",value:f}),m&&$e(m,[],{actionType:"uncheck",value:f}),g&&$e(g,[]),i.value=[],h(),p())}return at($S,{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)}}),hV=W([z("checkbox",`
|
||
font-size: var(--n-font-size);
|
||
outline: none;
|
||
cursor: pointer;
|
||
display: inline-flex;
|
||
flex-wrap: nowrap;
|
||
align-items: flex-start;
|
||
word-break: break-word;
|
||
line-height: var(--n-size);
|
||
--n-merged-color-table: var(--n-color-table);
|
||
`,[J("show-label","line-height: var(--n-label-line-height);"),W("&:hover",[z("checkbox-box",[U("border","border: var(--n-border-checked);")])]),W("&:focus:not(:active)",[z("checkbox-box",[U("border",`
|
||
border: var(--n-border-focus);
|
||
box-shadow: var(--n-box-shadow-focus);
|
||
`)])]),J("inside-table",[z("checkbox-box",`
|
||
background-color: var(--n-merged-color-table);
|
||
`)]),J("checked",[z("checkbox-box",`
|
||
background-color: var(--n-color-checked);
|
||
`,[z("checkbox-icon",[W(".check-icon",`
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
`)])])]),J("indeterminate",[z("checkbox-box",[z("checkbox-icon",[W(".check-icon",`
|
||
opacity: 0;
|
||
transform: scale(.5);
|
||
`),W(".line-icon",`
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
`)])])]),J("checked, indeterminate",[W("&:focus:not(:active)",[z("checkbox-box",[U("border",`
|
||
border: var(--n-border-checked);
|
||
box-shadow: var(--n-box-shadow-focus);
|
||
`)])]),z("checkbox-box",`
|
||
background-color: var(--n-color-checked);
|
||
border-left: 0;
|
||
border-top: 0;
|
||
`,[U("border",{border:"var(--n-border-checked)"})])]),J("disabled",{cursor:"not-allowed"},[J("checked",[z("checkbox-box",`
|
||
background-color: var(--n-color-disabled-checked);
|
||
`,[U("border",{border:"var(--n-border-disabled-checked)"}),z("checkbox-icon",[W(".check-icon, .line-icon",{fill:"var(--n-check-mark-color-disabled-checked)"})])])]),z("checkbox-box",`
|
||
background-color: var(--n-color-disabled);
|
||
`,[U("border",`
|
||
border: var(--n-border-disabled);
|
||
`),z("checkbox-icon",[W(".check-icon, .line-icon",`
|
||
fill: var(--n-check-mark-color-disabled);
|
||
`)])]),U("label",`
|
||
color: var(--n-text-color-disabled);
|
||
`)]),z("checkbox-box-wrapper",`
|
||
position: relative;
|
||
width: var(--n-size);
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
`),z("checkbox-box",`
|
||
position: absolute;
|
||
left: 0;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
height: var(--n-size);
|
||
width: var(--n-size);
|
||
display: inline-block;
|
||
box-sizing: border-box;
|
||
border-radius: var(--n-border-radius);
|
||
background-color: var(--n-color);
|
||
transition: background-color 0.3s var(--n-bezier);
|
||
`,[U("border",`
|
||
transition:
|
||
border-color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
border-radius: inherit;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
border: var(--n-border);
|
||
`),z("checkbox-icon",`
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
position: absolute;
|
||
left: 1px;
|
||
right: 1px;
|
||
top: 1px;
|
||
bottom: 1px;
|
||
`,[W(".check-icon, .line-icon",`
|
||
width: 100%;
|
||
fill: var(--n-check-mark-color);
|
||
opacity: 0;
|
||
transform: scale(0.5);
|
||
transform-origin: center;
|
||
transition:
|
||
fill 0.3s var(--n-bezier),
|
||
transform 0.3s var(--n-bezier),
|
||
opacity 0.3s var(--n-bezier),
|
||
border-color 0.3s var(--n-bezier);
|
||
`),Kn({left:"1px",top:"1px"})])]),U("label",`
|
||
color: var(--n-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
padding: var(--n-label-padding);
|
||
font-weight: var(--n-label-font-weight);
|
||
`,[W("&:empty",{display:"none"})])]),cl(z("checkbox",`
|
||
--n-merged-color-table: var(--n-color-table-modal);
|
||
`)),Au(z("checkbox",`
|
||
--n-merged-color-table: var(--n-color-table-popover);
|
||
`))]),pV=Object.assign(Object.assign({},Ne.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]}),bl=Ce({name:"Checkbox",props:pV,setup(e){const t=Ve($S,null),n=j(null),{mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=j(e.defaultChecked),s=Ue(e,"checked"),l=rn(s,a),c=kt(()=>{if(t){const y=t.valueSetRef.value;return y&&e.value!==void 0?y.has(e.value):!1}else return l.value===e.checkedValue}),u=mr(e,{mergedSize(y){const{size:x}=e;if(x!==void 0)return x;if(t){const{value:k}=t.mergedSizeRef;if(k!==void 0)return k}if(y){const{mergedSize:k}=y;if(k!==void 0)return k.value}return"medium"},mergedDisabled(y){const{disabled:x}=e;if(x!==void 0)return x;if(t){if(t.disabledRef.value)return!0;const{maxRef:{value:k},checkedCountRef:P}=t;if(k!==void 0&&P.value>=k&&!c.value)return!0;const{minRef:{value:T}}=t;if(T!==void 0&&P.value<=T&&c.value)return!0}return y?y.disabled.value:!1}}),{mergedDisabledRef:d,mergedSizeRef:f}=u,h=Ne("Checkbox","-checkbox",hV,ES,e,o);function p(y){if(t&&e.value!==void 0)t.toggleCheckbox(!c.value,e.value);else{const{onChange:x,"onUpdate:checked":k,onUpdateChecked:P}=e,{nTriggerFormInput:T,nTriggerFormChange:E}=u,R=c.value?e.uncheckedValue:e.checkedValue;k&&$e(k,R,y),P&&$e(P,R,y),x&&$e(x,R,y),T(),E(),a.value=R}}function g(y){d.value||p(y)}function m(y){if(!d.value)switch(y.key){case" ":case"Enter":p(y)}}function b(y){switch(y.key){case" ":y.preventDefault()}}const w={focus:()=>{var y;(y=n.value)===null||y===void 0||y.focus()},blur:()=>{var y;(y=n.value)===null||y===void 0||y.blur()}},C=pn("Checkbox",i,o),_=O(()=>{const{value:y}=f,{common:{cubicBezierEaseInOut:x},self:{borderRadius:k,color:P,colorChecked:T,colorDisabled:E,colorTableHeader:R,colorTableHeaderModal:q,colorTableHeaderPopover:L,checkMarkColor:D,checkMarkColorDisabled:F,border:K,borderFocus:V,borderDisabled:le,borderChecked:me,boxShadowFocus:ee,textColor:N,textColorDisabled:M,checkMarkColorDisabledChecked:Z,colorDisabledChecked:G,borderDisabledChecked:re,labelPadding:X,labelLineHeight:ae,labelFontWeight:B,[Re("fontSize",y)]:xe,[Re("size",y)]:se}}=h.value;return{"--n-label-line-height":ae,"--n-label-font-weight":B,"--n-size":se,"--n-bezier":x,"--n-border-radius":k,"--n-border":K,"--n-border-checked":me,"--n-border-focus":V,"--n-border-disabled":le,"--n-border-disabled-checked":re,"--n-box-shadow-focus":ee,"--n-color":P,"--n-color-checked":T,"--n-color-table":R,"--n-color-table-modal":q,"--n-color-table-popover":L,"--n-color-disabled":E,"--n-color-disabled-checked":G,"--n-text-color":N,"--n-text-color-disabled":M,"--n-check-mark-color":D,"--n-check-mark-color-disabled":F,"--n-check-mark-color-disabled-checked":Z,"--n-font-size":xe,"--n-label-padding":X}}),S=r?Pt("checkbox",O(()=>f.value[0]),_,e):void 0;return Object.assign(u,w,{rtlEnabled:C,selfRef:n,mergedClsPrefix:o,mergedDisabled:d,renderedChecked:c,mergedTheme:h,labelId:Zr(),handleClick:g,handleKeyUp:m,handleKeyDown:b,cssVars:r?void 0:_,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.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:h}=this;(e=this.onRender)===null||e===void 0||e.call(this);const p=Et(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`,p&&`${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:h,onMousedown:()=>{$t("selectstart",window,g=>{g.preventDefault()},{once:!0})}},v("div",{class:`${c}-checkbox-box-wrapper`}," ",v("div",{class:`${c}-checkbox-box`},v(Ki,null,{default:()=>this.indeterminate?v("div",{key:"indeterminate",class:`${c}-checkbox-icon`},uV):v("div",{key:"check",class:`${c}-checkbox-icon`},cV)}),v("div",{class:`${c}-checkbox-box__border`}))),p)}}),mV={name:"Code",common:je,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}}},IS=mV;function gV(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"}}const vV={name:"Collapse",common:je,self:gV},bV=vV;function yV(e){const{cubicBezierEaseInOut:t}=e;return{bezier:t}}const xV={name:"CollapseTransition",common:je,self:yV},CV=xV,wV={abstract:Boolean,bordered:{type:Boolean,default:void 0},clsPrefix:{type:String,default:ol},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:()=>(cr("config-provider","`as` is deprecated, please use `tag` instead."),!0),default:void 0}},OS=Ce({name:"ConfigProvider",alias:["App"],props:wV,setup(e){const t=Ve(Eo,null),n=O(()=>{const{theme:p}=e;if(p===null)return;const g=t==null?void 0:t.mergedThemeRef.value;return p===void 0?g:g===void 0?p:Object.assign({},g,p)}),o=O(()=>{const{themeOverrides:p}=e;if(p!==null){if(p===void 0)return t==null?void 0:t.mergedThemeOverridesRef.value;{const g=t==null?void 0:t.mergedThemeOverridesRef.value;return g===void 0?p:gs({},g,p)}}}),r=kt(()=>{const{namespace:p}=e;return p===void 0?t==null?void 0:t.mergedNamespaceRef.value:p}),i=kt(()=>{const{bordered:p}=e;return p===void 0?t==null?void 0:t.mergedBorderedRef.value:p}),a=O(()=>{const{icons:p}=e;return p===void 0?t==null?void 0:t.mergedIconsRef.value:p}),s=O(()=>{const{componentOptions:p}=e;return p!==void 0?p:t==null?void 0:t.mergedComponentPropsRef.value}),l=O(()=>{const{clsPrefix:p}=e;return p!==void 0?p:t?t.mergedClsPrefixRef.value:ol}),c=O(()=>{var p;const{rtl:g}=e;if(g===void 0)return t==null?void 0:t.mergedRtlRef.value;const m={};for(const b of g)m[b.name]=Fs(b),(p=b.peers)===null||p===void 0||p.forEach(w=>{w.name in m||(m[w.name]=Fs(w))});return m}),u=O(()=>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),h=O(()=>{const{value:p}=n,{value:g}=o,m=g&&Object.keys(g).length!==0,b=p==null?void 0:p.name;return b?m?`${b}-${Js(JSON.stringify(o.value))}`:b:m?Js(JSON.stringify(o.value)):""});return at(Eo,{mergedThemeHashRef:h,mergedBreakpointsRef:u,mergedRtlRef:c,mergedIconsRef:a,mergedComponentPropsRef:s,mergedBorderedRef:i,mergedNamespaceRef:r,mergedClsPrefixRef:l,mergedLocaleRef:O(()=>{const{locale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedLocaleRef.value:p}),mergedDateLocaleRef:O(()=>{const{dateLocale:p}=e;if(p!==null)return p===void 0?t==null?void 0:t.mergedDateLocaleRef.value:p}),mergedHljsRef:O(()=>{const{hljs:p}=e;return p===void 0?t==null?void 0:t.mergedHljsRef.value:p}),mergedKatexRef:O(()=>{const{katex:p}=e;return p===void 0?t==null?void 0:t.mergedKatexRef.value:p}),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||ol}-config-provider`},(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}}),_V=e=>1-Math.pow(1-e,5);function SV(e){const{from:t,to:n,duration:o,onUpdate:r,onFinish:i}=e,a=performance.now(),s=()=>{const l=performance.now(),c=Math.min(l-a,o),u=t+(n-t)*_V(c/o);if(c===o){i();return}r(u),requestAnimationFrame(s)};s()}const kV={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},PV=Ce({name:"NumberAnimation",props:kV,setup(e){const{localeRef:t}=Ui("name"),{duration:n}=e,o=j(e.from),r=O(()=>{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,h=e.to)=>{i=!0,o.value=e.from,f!==h&&SV({from:f,to:h,duration:n,onUpdate:a,onFinish:s})},c=O(()=>{var f;const p=MD(o.value,e.precision).toFixed(e.precision).split("."),g=new Intl.NumberFormat(r.value),m=(f=g.formatToParts(.5).find(C=>C.type==="decimal"))===null||f===void 0?void 0:f.value,b=e.showSeparator?g.format(Number(p[0])):p[0],w=p[1];return{integer:b,decimal:w,decimalSeparator:m}});function u(){i||l()}return jt(()=>{Yt(()=>{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]}}),TV={name:"Popselect",common:je,peers:{Popover:Qi,InternalSelectMenu:ml}},MS=TV;function AV(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const RV={name:"Popselect",common:xt,peers:{Popover:Xa,InternalSelectMenu:ym},self:AV},Pm=RV,zS="n-popselect",EV=z("popselect-menu",`
|
||
box-shadow: var(--n-menu-box-shadow);
|
||
`),Tm={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]},a1=ei(Tm),$V=Ce({name:"PopselectPanel",props:Tm,setup(e){const t=Ve(zS),{mergedClsPrefixRef:n,inlineThemeDisabled:o}=st(e),r=Ne("Popselect","-pop-select",EV,Pm,t.props,n),i=O(()=>Ai(e.options,pS("value","children")));function a(f,h){const{onUpdateValue:p,"onUpdate:value":g,onChange:m}=e;p&&$e(p,f,h),g&&$e(g,f,h),m&&$e(m,f,h)}function s(f){c(f.key)}function l(f){!lo(f,"action")&&!lo(f,"empty")&&!lo(f,"header")&&f.preventDefault()}function c(f){const{value:{getNode:h}}=i;if(e.multiple)if(Array.isArray(e.value)){const p=[],g=[];let m=!0;e.value.forEach(b=>{if(b===f){m=!1;return}const w=h(b);w&&(p.push(w.key),g.push(w.rawNode))}),m&&(p.push(f),g.push(h(f).rawNode)),a(p,g)}else{const p=h(f);p&&a([f],[p.rawNode])}else if(e.value===f&&e.cancelable)a(null,null);else{const p=h(f);p&&a(f,p.rawNode);const{"onUpdate:show":g,onUpdateShow:m}=t.props;g&&$e(g,!1),m&&$e(m,!1),t.setShow(!1)}Ht(()=>{t.syncPosition()})}ut(Ue(e,"options"),()=>{Ht(()=>{t.syncPosition()})});const u=O(()=>{const{self:{menuBoxShadow:f}}=r.value;return{"--n-menu-box-shadow":f}}),d=o?Pt("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(oS,{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))||[]}})}}),IV=Object.assign(Object.assign(Object.assign(Object.assign({},Ne.props),Va(Ia,["showArrow","arrow"])),{placement:Object.assign(Object.assign({},Ia.placement),{default:"bottom"}),trigger:{type:String,default:"hover"}}),Tm),Am=Ce({name:"Popselect",props:IV,inheritAttrs:!1,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Ne("Popselect","-popselect",void 0,Pm,e,t),o=j(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 at(zS,{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($V,Object.assign({},s,{class:[s.class,n],style:[s.style,...r]},eo(this.$props,a1),{ref:xw(o),onMouseenter:$s([i,s.onMouseenter]),onMouseleave:$s([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(gl,Object.assign({},Va(this.$props,a1),t,{internalDeactivateImmediately:!0}),{trigger:()=>{var n,o;return(o=(n=this.$slots).default)===null||o===void 0?void 0:o.call(n)}})}});function LS(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}const OV={name:"Select",common:xt,peers:{InternalSelection:dS,InternalSelectMenu:ym},self:LS},FS=OV,MV={name:"Select",common:je,peers:{InternalSelection:xm,InternalSelectMenu:ml},self:LS},DS=MV,zV=W([z("select",`
|
||
z-index: auto;
|
||
outline: none;
|
||
width: 100%;
|
||
position: relative;
|
||
`),z("select-menu",`
|
||
margin: 4px 0;
|
||
box-shadow: var(--n-menu-box-shadow);
|
||
`,[Ga({originalTransition:"background-color .3s var(--n-bezier), box-shadow .3s var(--n-bezier)"})])]),LV=Object.assign(Object.assign({},Ne.props),{to:Ko.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}),Bu=Ce({name:"Select",props:LV,setup(e){const{mergedClsPrefixRef:t,mergedBorderedRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Ne("Select","-select",zV,FS,e,t),a=j(e.defaultValue),s=Ue(e,"value"),l=rn(s,a),c=j(!1),u=j(""),d=Ru(e,["items","options"]),f=j([]),h=j([]),p=O(()=>h.value.concat(f.value).concat(d.value)),g=O(()=>{const{filter:Q}=e;if(Q)return Q;const{labelField:we,valueField:Ie}=e;return(qe,Qe)=>{if(!Qe)return!1;const Je=Qe[we];if(typeof Je=="string")return rf(qe,Je);const tt=Qe[Ie];return typeof tt=="string"?rf(qe,tt):typeof tt=="number"?rf(qe,String(tt)):!1}}),m=O(()=>{if(e.remote)return d.value;{const{value:Q}=p,{value:we}=u;return!we.length||!e.filterable?Q:Tj(Q,g.value,we,e.childrenField)}}),b=O(()=>{const{valueField:Q,childrenField:we}=e,Ie=pS(Q,we);return Ai(m.value,Ie)}),w=O(()=>Aj(p.value,e.valueField,e.childrenField)),C=j(!1),_=rn(Ue(e,"show"),C),S=j(null),y=j(null),x=j(null),{localeRef:k}=Ui("Select"),P=O(()=>{var Q;return(Q=e.placeholder)!==null&&Q!==void 0?Q:k.value.placeholder}),T=[],E=j(new Map),R=O(()=>{const{fallbackOption:Q}=e;if(Q===void 0){const{labelField:we,valueField:Ie}=e;return qe=>({[we]:String(qe),[Ie]:qe})}return Q===!1?!1:we=>Object.assign(Q(we),{value:we})});function q(Q){const we=e.remote,{value:Ie}=E,{value:qe}=w,{value:Qe}=R,Je=[];return Q.forEach(tt=>{if(qe.has(tt))Je.push(qe.get(tt));else if(we&&Ie.has(tt))Je.push(Ie.get(tt));else if(Qe){const it=Qe(tt);it&&Je.push(it)}}),Je}const L=O(()=>{if(e.multiple){const{value:Q}=l;return Array.isArray(Q)?q(Q):[]}return null}),D=O(()=>{const{value:Q}=l;return!e.multiple&&!Array.isArray(Q)?Q===null?null:q([Q])[0]||null:null}),F=mr(e),{mergedSizeRef:K,mergedDisabledRef:V,mergedStatusRef:le}=F;function me(Q,we){const{onChange:Ie,"onUpdate:value":qe,onUpdateValue:Qe}=e,{nTriggerFormChange:Je,nTriggerFormInput:tt}=F;Ie&&$e(Ie,Q,we),Qe&&$e(Qe,Q,we),qe&&$e(qe,Q,we),a.value=Q,Je(),tt()}function ee(Q){const{onBlur:we}=e,{nTriggerFormBlur:Ie}=F;we&&$e(we,Q),Ie()}function N(){const{onClear:Q}=e;Q&&$e(Q)}function M(Q){const{onFocus:we,showOnFocus:Ie}=e,{nTriggerFormFocus:qe}=F;we&&$e(we,Q),qe(),Ie&&ae()}function Z(Q){const{onSearch:we}=e;we&&$e(we,Q)}function G(Q){const{onScroll:we}=e;we&&$e(we,Q)}function re(){var Q;const{remote:we,multiple:Ie}=e;if(we){const{value:qe}=E;if(Ie){const{valueField:Qe}=e;(Q=L.value)===null||Q===void 0||Q.forEach(Je=>{qe.set(Je[Qe],Je)})}else{const Qe=D.value;Qe&&qe.set(Qe[e.valueField],Qe)}}}function X(Q){const{onUpdateShow:we,"onUpdate:show":Ie}=e;we&&$e(we,Q),Ie&&$e(Ie,Q),C.value=Q}function ae(){V.value||(X(!0),C.value=!0,e.filterable&&Be())}function B(){X(!1)}function xe(){u.value="",h.value=T}const se=j(!1);function ge(){e.filterable&&(se.value=!0)}function $(){e.filterable&&(se.value=!1,_.value||xe())}function A(){V.value||(_.value?e.filterable?Be():B():ae())}function oe(Q){var we,Ie;!((Ie=(we=x.value)===null||we===void 0?void 0:we.selfRef)===null||Ie===void 0)&&Ie.contains(Q.relatedTarget)||(c.value=!1,ee(Q),B())}function Se(Q){M(Q),c.value=!0}function ne(){c.value=!0}function ye(Q){var we;!((we=S.value)===null||we===void 0)&&we.$el.contains(Q.relatedTarget)||(c.value=!1,ee(Q),B())}function Pe(){var Q;(Q=S.value)===null||Q===void 0||Q.focus(),B()}function I(Q){var we;_.value&&(!((we=S.value)===null||we===void 0)&&we.$el.contains(Oi(Q))||B())}function H(Q){if(!Array.isArray(Q))return[];if(R.value)return Array.from(Q);{const{remote:we}=e,{value:Ie}=w;if(we){const{value:qe}=E;return Q.filter(Qe=>Ie.has(Qe)||qe.has(Qe))}else return Q.filter(qe=>Ie.has(qe))}}function te(Q){_e(Q.rawNode)}function _e(Q){if(V.value)return;const{tag:we,remote:Ie,clearFilterAfterSelect:qe,valueField:Qe}=e;if(we&&!Ie){const{value:Je}=h,tt=Je[0]||null;if(tt){const it=f.value;it.length?it.push(tt):f.value=[tt],h.value=T}}if(Ie&&E.value.set(Q[Qe],Q),e.multiple){const Je=H(l.value),tt=Je.findIndex(it=>it===Q[Qe]);if(~tt){if(Je.splice(tt,1),we&&!Ie){const it=he(Q[Qe]);~it&&(f.value.splice(it,1),qe&&(u.value=""))}}else Je.push(Q[Qe]),qe&&(u.value="");me(Je,q(Je))}else{if(we&&!Ie){const Je=he(Q[Qe]);~Je?f.value=[f.value[Je]]:f.value=T}Le(),B(),me(Q[Qe],Q)}}function he(Q){return f.value.findIndex(Ie=>Ie[e.valueField]===Q)}function de(Q){_.value||ae();const{value:we}=Q.target;u.value=we;const{tag:Ie,remote:qe}=e;if(Z(we),Ie&&!qe){if(!we){h.value=T;return}const{onCreate:Qe}=e,Je=Qe?Qe(we):{[e.labelField]:we,[e.valueField]:we},{valueField:tt,labelField:it}=e;d.value.some(vt=>vt[tt]===Je[tt]||vt[it]===Je[it])||f.value.some(vt=>vt[tt]===Je[tt]||vt[it]===Je[it])?h.value=T:h.value=[Je]}}function ie(Q){Q.stopPropagation();const{multiple:we}=e;!we&&e.filterable&&B(),N(),we?me([],[]):me(null,null)}function fe(Q){!lo(Q,"action")&&!lo(Q,"empty")&&!lo(Q,"header")&&Q.preventDefault()}function Oe(Q){G(Q)}function De(Q){var we,Ie,qe,Qe,Je;if(!e.keyboard){Q.preventDefault();return}switch(Q.key){case" ":if(e.filterable)break;Q.preventDefault();case"Enter":if(!(!((we=S.value)===null||we===void 0)&&we.isComposing)){if(_.value){const tt=(Ie=x.value)===null||Ie===void 0?void 0:Ie.getPendingTmNode();tt?te(tt):e.filterable||(B(),Le())}else if(ae(),e.tag&&se.value){const tt=h.value[0];if(tt){const it=tt[e.valueField],{value:vt}=l;e.multiple&&Array.isArray(vt)&&vt.includes(it)||_e(tt)}}}Q.preventDefault();break;case"ArrowUp":if(Q.preventDefault(),e.loading)return;_.value&&((qe=x.value)===null||qe===void 0||qe.prev());break;case"ArrowDown":if(Q.preventDefault(),e.loading)return;_.value?(Qe=x.value)===null||Qe===void 0||Qe.next():ae();break;case"Escape":_.value&&(_8(Q),B()),(Je=S.value)===null||Je===void 0||Je.focus();break}}function Le(){var Q;(Q=S.value)===null||Q===void 0||Q.focus()}function Be(){var Q;(Q=S.value)===null||Q===void 0||Q.focusInput()}function et(){var Q;_.value&&((Q=y.value)===null||Q===void 0||Q.syncPosition())}re(),ut(Ue(e,"options"),re);const Me={focus:()=>{var Q;(Q=S.value)===null||Q===void 0||Q.focus()},focusInput:()=>{var Q;(Q=S.value)===null||Q===void 0||Q.focusInput()},blur:()=>{var Q;(Q=S.value)===null||Q===void 0||Q.blur()},blurInput:()=>{var Q;(Q=S.value)===null||Q===void 0||Q.blurInput()}},Xe=O(()=>{const{self:{menuBoxShadow:Q}}=i.value;return{"--n-menu-box-shadow":Q}}),gt=r?Pt("select",void 0,Xe,e):void 0;return Object.assign(Object.assign({},Me),{mergedStatus:le,mergedClsPrefix:t,mergedBordered:n,namespace:o,treeMate:b,isMounted:ti(),triggerRef:S,menuRef:x,pattern:u,uncontrolledShow:C,mergedShow:_,adjustedTo:Ko(e),uncontrolledValue:a,mergedValue:l,followerRef:y,localizedPlaceholder:P,selectedOption:D,selectedOptions:L,mergedSize:K,mergedDisabled:V,focused:c,activeWithoutMenuOpen:se,inlineThemeDisabled:r,onTriggerInputFocus:ge,onTriggerInputBlur:$,handleTriggerOrMenuResize:et,handleMenuFocus:ne,handleMenuBlur:ye,handleMenuTabOut:Pe,handleTriggerClick:A,handleToggle:te,handleDeleteOption:_e,handlePatternInput:de,handleClear:ie,handleTriggerBlur:oe,handleTriggerFocus:Se,handleKeydown:De,handleMenuAfterLeave:xe,handleMenuClickOutside:I,handleMenuScroll:Oe,handleMenuKeydown:De,handleMenuMousedown:fe,mergedTheme:i,cssVars:r?void 0:Xe,themeClass:gt==null?void 0:gt.themeClass,onRender:gt==null?void 0:gt.onRender})},render(){return v("div",{class:`${this.mergedClsPrefix}-select`},v(Qp,null,{default:()=>[v(Jp,null,{default:()=>v(fj,{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(em,{ref:"followerRef",show:this.mergedShow,to:this.adjustedTo,teleportDisabled:this.adjustedTo===Ko.tdkey,containerClass:this.namespace,width:this.consistentMenuWidth?"target":void 0,minWidth:"target",placement:this.placement},{default:()=>v(fn,{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),dn(v(oS,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"?[[Mn,this.mergedShow],[Ea,this.handleMenuClickOutside,void 0,{capture:!0}]]:[[Ea,this.handleMenuClickOutside,void 0,{capture:!0}]])):null}})})]}))}}),FV={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"};function BS(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:h,heightMedium:p}=e;return Object.assign(Object.assign({},FV),{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:h,itemSizeLarge:p,itemFontSizeSmall:c,itemFontSizeMedium:u,itemFontSizeLarge:d,jumperFontSizeSmall:c,jumperFontSizeMedium:u,jumperFontSizeLarge:d,jumperTextColor:t,jumperTextColorDisabled:a})}const DV={name:"Pagination",common:xt,peers:{Select:FS,Input:wm,Popselect:Pm},self:BS},NS=DV,BV={name:"Pagination",common:je,peers:{Select:DS,Input:go,Popselect:MS},self(e){const{primaryColor:t,opacity3:n}=e,o=ze(t,{alpha:Number(n)}),r=BS(e);return r.itemBorderActive=`1px solid ${o}`,r.itemBorderDisabled="1px solid #0000",r}},HS=BV,s1=`
|
||
background: var(--n-item-color-hover);
|
||
color: var(--n-item-text-color-hover);
|
||
border: var(--n-item-border-hover);
|
||
`,l1=[J("button",`
|
||
background: var(--n-button-color-hover);
|
||
border: var(--n-button-border-hover);
|
||
color: var(--n-button-icon-color-hover);
|
||
`)],NV=z("pagination",`
|
||
display: flex;
|
||
vertical-align: middle;
|
||
font-size: var(--n-item-font-size);
|
||
flex-wrap: nowrap;
|
||
`,[z("pagination-prefix",`
|
||
display: flex;
|
||
align-items: center;
|
||
margin: var(--n-prefix-margin);
|
||
`),z("pagination-suffix",`
|
||
display: flex;
|
||
align-items: center;
|
||
margin: var(--n-suffix-margin);
|
||
`),W("> *:not(:first-child)",`
|
||
margin: var(--n-item-margin);
|
||
`),z("select",`
|
||
width: var(--n-select-width);
|
||
`),W("&.transition-disabled",[z("pagination-item","transition: none!important;")]),z("pagination-quick-jumper",`
|
||
white-space: nowrap;
|
||
display: flex;
|
||
color: var(--n-jumper-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
align-items: center;
|
||
font-size: var(--n-jumper-font-size);
|
||
`,[z("input",`
|
||
margin: var(--n-input-margin);
|
||
width: var(--n-input-width);
|
||
`)]),z("pagination-item",`
|
||
position: relative;
|
||
cursor: pointer;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
box-sizing: border-box;
|
||
min-width: var(--n-item-size);
|
||
height: var(--n-item-size);
|
||
padding: var(--n-item-padding);
|
||
background-color: var(--n-item-color);
|
||
color: var(--n-item-text-color);
|
||
border-radius: var(--n-item-border-radius);
|
||
border: var(--n-item-border);
|
||
fill: var(--n-button-icon-color);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
fill .3s var(--n-bezier);
|
||
`,[J("button",`
|
||
background: var(--n-button-color);
|
||
color: var(--n-button-icon-color);
|
||
border: var(--n-button-border);
|
||
padding: 0;
|
||
`,[z("base-icon",`
|
||
font-size: var(--n-button-icon-size);
|
||
`)]),At("disabled",[J("hover",s1,l1),W("&:hover",s1,l1),W("&:active",`
|
||
background: var(--n-item-color-pressed);
|
||
color: var(--n-item-text-color-pressed);
|
||
border: var(--n-item-border-pressed);
|
||
`,[J("button",`
|
||
background: var(--n-button-color-pressed);
|
||
border: var(--n-button-border-pressed);
|
||
color: var(--n-button-icon-color-pressed);
|
||
`)]),J("active",`
|
||
background: var(--n-item-color-active);
|
||
color: var(--n-item-text-color-active);
|
||
border: var(--n-item-border-active);
|
||
`,[W("&:hover",`
|
||
background: var(--n-item-color-active-hover);
|
||
`)])]),J("disabled",`
|
||
cursor: not-allowed;
|
||
color: var(--n-item-text-color-disabled);
|
||
`,[J("active, button",`
|
||
background-color: var(--n-item-color-disabled);
|
||
border: var(--n-item-border-disabled);
|
||
`)])]),J("disabled",`
|
||
cursor: not-allowed;
|
||
`,[z("pagination-quick-jumper",`
|
||
color: var(--n-jumper-text-color-disabled);
|
||
`)]),J("simple",`
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: nowrap;
|
||
`,[z("pagination-quick-jumper",[z("input",`
|
||
margin: 0;
|
||
`)])])]);function jS(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 HV(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 h=!1,p=!1;u>l+2&&(h=!0),d<c-2&&(p=!0);const g=[];g.push({type:"page",label:1,active:e===1,mayBeFastBackward:!1,mayBeFastForward:!1}),h?(r=!0,a=u-1,g.push({type:"fast-backward",active:!1,label:void 0,options:o?c1(l+1,u-1):null})):c>=l+1&&g.push({type:"page",label:l+1,mayBeFastBackward:!0,mayBeFastForward:!1,active:e===l+1});for(let m=u;m<=d;++m)g.push({type:"page",label:m,mayBeFastBackward:!1,mayBeFastForward:!1,active:e===m});return p?(i=!0,s=d+1,g.push({type:"fast-forward",active:!1,label:void 0,options:o?c1(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 c1(e,t){const n=[];for(let o=e;o<=t;++o)n.push({label:`${o}`,value:o});return n}const jV=Object.assign(Object.assign({},Ne.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:Ko.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]}),UV=Ce({name:"Pagination",props:jV,setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=Ne("Pagination","-pagination",NV,NS,e,n),{localeRef:a}=Ui("Pagination"),s=j(null),l=j(e.defaultPage),c=j(jS(e)),u=rn(Ue(e,"page"),l),d=rn(Ue(e,"pageSize"),c),f=O(()=>{const{itemCount:B}=e;if(B!==void 0)return Math.max(1,Math.ceil(B/d.value));const{pageCount:xe}=e;return xe!==void 0?Math.max(xe,1):1}),h=j("");Yt(()=>{e.simple,h.value=String(u.value)});const p=j(!1),g=j(!1),m=j(!1),b=j(!1),w=()=>{e.disabled||(p.value=!0,D())},C=()=>{e.disabled||(p.value=!1,D())},_=()=>{g.value=!0,D()},S=()=>{g.value=!1,D()},y=B=>{F(B)},x=O(()=>HV(u.value,f.value,e.pageSlot,e.showQuickJumpDropdown));Yt(()=>{x.value.hasFastBackward?x.value.hasFastForward||(p.value=!1,m.value=!1):(g.value=!1,b.value=!1)});const k=O(()=>{const B=a.value.selectionSuffix;return e.pageSizes.map(xe=>typeof xe=="number"?{label:`${xe} / ${B}`,value:xe}:xe)}),P=O(()=>{var B,xe;return((xe=(B=t==null?void 0:t.value)===null||B===void 0?void 0:B.Pagination)===null||xe===void 0?void 0:xe.inputSize)||_b(e.size)}),T=O(()=>{var B,xe;return((xe=(B=t==null?void 0:t.value)===null||B===void 0?void 0:B.Pagination)===null||xe===void 0?void 0:xe.selectSize)||_b(e.size)}),E=O(()=>(u.value-1)*d.value),R=O(()=>{const B=u.value*d.value-1,{itemCount:xe}=e;return xe!==void 0&&B>xe-1?xe-1:B}),q=O(()=>{const{itemCount:B}=e;return B!==void 0?B:(e.pageCount||1)*d.value}),L=pn("Pagination",r,n);function D(){Ht(()=>{var B;const{value:xe}=s;xe&&(xe.classList.add("transition-disabled"),(B=s.value)===null||B===void 0||B.offsetWidth,xe.classList.remove("transition-disabled"))})}function F(B){if(B===u.value)return;const{"onUpdate:page":xe,onUpdatePage:se,onChange:ge,simple:$}=e;xe&&$e(xe,B),se&&$e(se,B),ge&&$e(ge,B),l.value=B,$&&(h.value=String(B))}function K(B){if(B===d.value)return;const{"onUpdate:pageSize":xe,onUpdatePageSize:se,onPageSizeChange:ge}=e;xe&&$e(xe,B),se&&$e(se,B),ge&&$e(ge,B),c.value=B,f.value<u.value&&F(f.value)}function V(){if(e.disabled)return;const B=Math.min(u.value+1,f.value);F(B)}function le(){if(e.disabled)return;const B=Math.max(u.value-1,1);F(B)}function me(){if(e.disabled)return;const B=Math.min(x.value.fastForwardTo,f.value);F(B)}function ee(){if(e.disabled)return;const B=Math.max(x.value.fastBackwardTo,1);F(B)}function N(B){K(B)}function M(){const B=Number.parseInt(h.value);Number.isNaN(B)||(F(Math.max(1,Math.min(B,f.value))),e.simple||(h.value=""))}function Z(){M()}function G(B){if(!e.disabled)switch(B.type){case"page":F(B.label);break;case"fast-backward":ee();break;case"fast-forward":me();break}}function re(B){h.value=B.replace(/\D+/g,"")}Yt(()=>{u.value,d.value,D()});const X=O(()=>{const{size:B}=e,{self:{buttonBorder:xe,buttonBorderHover:se,buttonBorderPressed:ge,buttonIconColor:$,buttonIconColorHover:A,buttonIconColorPressed:oe,itemTextColor:Se,itemTextColorHover:ne,itemTextColorPressed:ye,itemTextColorActive:Pe,itemTextColorDisabled:I,itemColor:H,itemColorHover:te,itemColorPressed:_e,itemColorActive:he,itemColorActiveHover:de,itemColorDisabled:ie,itemBorder:fe,itemBorderHover:Oe,itemBorderPressed:De,itemBorderActive:Le,itemBorderDisabled:Be,itemBorderRadius:et,jumperTextColor:Me,jumperTextColorDisabled:Xe,buttonColor:gt,buttonColorHover:Q,buttonColorPressed:we,[Re("itemPadding",B)]:Ie,[Re("itemMargin",B)]:qe,[Re("inputWidth",B)]:Qe,[Re("selectWidth",B)]:Je,[Re("inputMargin",B)]:tt,[Re("selectMargin",B)]:it,[Re("jumperFontSize",B)]:vt,[Re("prefixMargin",B)]:an,[Re("suffixMargin",B)]:Lt,[Re("itemSize",B)]:ke,[Re("buttonIconSize",B)]:He,[Re("itemFontSize",B)]:Ze,[`${Re("itemMargin",B)}Rtl`]:ht,[`${Re("inputMargin",B)}Rtl`]:bt},common:{cubicBezierEaseInOut:dt}}=i.value;return{"--n-prefix-margin":an,"--n-suffix-margin":Lt,"--n-item-font-size":Ze,"--n-select-width":Je,"--n-select-margin":it,"--n-input-width":Qe,"--n-input-margin":tt,"--n-input-margin-rtl":bt,"--n-item-size":ke,"--n-item-text-color":Se,"--n-item-text-color-disabled":I,"--n-item-text-color-hover":ne,"--n-item-text-color-active":Pe,"--n-item-text-color-pressed":ye,"--n-item-color":H,"--n-item-color-hover":te,"--n-item-color-disabled":ie,"--n-item-color-active":he,"--n-item-color-active-hover":de,"--n-item-color-pressed":_e,"--n-item-border":fe,"--n-item-border-hover":Oe,"--n-item-border-disabled":Be,"--n-item-border-active":Le,"--n-item-border-pressed":De,"--n-item-padding":Ie,"--n-item-border-radius":et,"--n-bezier":dt,"--n-jumper-font-size":vt,"--n-jumper-text-color":Me,"--n-jumper-text-color-disabled":Xe,"--n-item-margin":qe,"--n-item-margin-rtl":ht,"--n-button-icon-size":He,"--n-button-icon-color":$,"--n-button-icon-color-hover":A,"--n-button-icon-color-pressed":oe,"--n-button-color-hover":Q,"--n-button-color":gt,"--n-button-color-pressed":we,"--n-button-border":xe,"--n-button-border-hover":se,"--n-button-border-pressed":ge}}),ae=o?Pt("pagination",O(()=>{let B="";const{size:xe}=e;return B+=xe[0],B}),X,e):void 0;return{rtlEnabled:L,mergedClsPrefix:n,locale:a,selfRef:s,mergedPage:u,pageItems:O(()=>x.value.items),mergedItemCount:q,jumperValue:h,pageSizeOptions:k,mergedPageSize:d,inputSize:P,selectSize:T,mergedTheme:i,mergedPageCount:f,startIndex:E,endIndex:R,showFastForwardMenu:m,showFastBackwardMenu:b,fastForwardActive:p,fastBackwardActive:g,handleMenuSelect:y,handleFastForwardMouseenter:w,handleFastForwardMouseleave:C,handleFastBackwardMouseenter:_,handleFastBackwardMouseleave:S,handleJumperInput:re,handleBackwardClick:le,handleForwardClick:V,handlePageItemClick:G,handleSizePickerChange:N,handleQuickJumperChange:Z,cssVars:o?void 0:X,themeClass:ae==null?void 0:ae.themeClass,onRender:ae==null?void 0:ae.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:h,pageSizeOptions:p,jumperValue:g,simple:m,prev:b,next:w,prefix:C,suffix:_,label:S,goto:y,handleJumperInput:x,handleSizePickerChange:k,handleBackwardClick:P,handlePageItemClick:T,handleForwardClick:E,handleQuickJumperChange:R,onRender:q}=this;q==null||q();const L=e.prefix||C,D=e.suffix||_,F=b||e.prev,K=w||e.next,V=S||e.label;return v("div",{ref:"selfRef",class:[`${t}-pagination`,this.themeClass,this.rtlEnabled&&`${t}-pagination--rtl`,n&&`${t}-pagination--disabled`,m&&`${t}-pagination--simple`],style:o},L?v("div",{class:`${t}-pagination-prefix`},L({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null,this.displayOrder.map(le=>{switch(le){case"pages":return v(rt,null,v("div",{class:[`${t}-pagination-item`,!F&&`${t}-pagination-item--button`,(r<=1||r>i||n)&&`${t}-pagination-item--disabled`],onClick:P},F?F({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount}):v(Wt,{clsPrefix:t},{default:()=>this.rtlEnabled?v(V0,null):v(H0,null)})),m?v(rt,null,v("div",{class:`${t}-pagination-quick-jumper`},v(dr,{value:g,onUpdateValue:x,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R}))," /"," ",i):a.map((me,ee)=>{let N,M,Z;const{type:G}=me;switch(G){case"page":const X=me.label;V?N=V({type:"page",node:X,active:me.active}):N=X;break;case"fast-forward":const ae=this.fastForwardActive?v(Wt,{clsPrefix:t},{default:()=>this.rtlEnabled?v(j0,null):v(U0,null)}):v(Wt,{clsPrefix:t},{default:()=>v(W0,null)});V?N=V({type:"fast-forward",node:ae,active:this.fastForwardActive||this.showFastForwardMenu}):N=ae,M=this.handleFastForwardMouseenter,Z=this.handleFastForwardMouseleave;break;case"fast-backward":const B=this.fastBackwardActive?v(Wt,{clsPrefix:t},{default:()=>this.rtlEnabled?v(U0,null):v(j0,null)}):v(Wt,{clsPrefix:t},{default:()=>v(W0,null)});V?N=V({type:"fast-backward",node:B,active:this.fastBackwardActive||this.showFastBackwardMenu}):N=B,M=this.handleFastBackwardMouseenter,Z=this.handleFastBackwardMouseleave;break}const re=v("div",{key:ee,class:[`${t}-pagination-item`,me.active&&`${t}-pagination-item--active`,G!=="page"&&(G==="fast-backward"&&this.showFastBackwardMenu||G==="fast-forward"&&this.showFastForwardMenu)&&`${t}-pagination-item--hover`,n&&`${t}-pagination-item--disabled`,G==="page"&&`${t}-pagination-item--clickable`],onClick:()=>{T(me)},onMouseenter:M,onMouseleave:Z},N);if(G==="page"&&!me.mayBeFastBackward&&!me.mayBeFastForward)return re;{const X=me.type==="page"?me.mayBeFastBackward?"fast-backward":"fast-forward":me.type;return me.type!=="page"&&!me.options?re:v(Am,{to:this.to,key:X,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:G==="page"?!1:G==="fast-backward"?this.showFastBackwardMenu:this.showFastForwardMenu,onUpdateShow:ae=>{G!=="page"&&(ae?G==="fast-backward"?this.showFastBackwardMenu=ae:this.showFastForwardMenu=ae:(this.showFastBackwardMenu=!1,this.showFastForwardMenu=!1))},options:me.type!=="page"&&me.options?me.options:[],onUpdateValue:this.handleMenuSelect,scrollable:!0,showCheckmark:!1},{default:()=>re})}}),v("div",{class:[`${t}-pagination-item`,!K&&`${t}-pagination-item--button`,{[`${t}-pagination-item--disabled`]:r<1||r>=i||n}],onClick:E},K?K({page:r,pageSize:h,pageCount:i,itemCount:this.mergedItemCount,startIndex:this.startIndex,endIndex:this.endIndex}):v(Wt,{clsPrefix:t},{default:()=>this.rtlEnabled?v(H0,null):v(V0,null)})));case"size-picker":return!m&&s?v(Bu,Object.assign({consistentMenuWidth:!1,placeholder:"",showCheckmark:!1,to:this.to},this.selectProps,{size:f,options:p,value:h,disabled:n,theme:c.peers.Select,themeOverrides:c.peerOverrides.Select,onUpdateValue:k})):null;case"quick-jumper":return!m&&l?v("div",{class:`${t}-pagination-quick-jumper`},y?y():$n(this.$slots.goto,()=>[u.goto]),v(dr,{value:g,onUpdateValue:x,size:d,placeholder:"",disabled:n,theme:c.peers.Input,themeOverrides:c.peerOverrides.Input,onChange:R})):null;default:return null}}),D?v("div",{class:`${t}-pagination-suffix`},D({page:r,pageSize:h,pageCount:i,startIndex:this.startIndex,endIndex:this.endIndex,itemCount:this.mergedItemCount})):null)}}),US={padding:"8px 14px"},VV={name:"Tooltip",common:je,peers:{Popover:Qi},self(e){const{borderRadius:t,boxShadow2:n,popoverColor:o,textColor2:r}=e;return Object.assign(Object.assign({},US),{borderRadius:t,boxShadow:n,color:o,textColor:r})}},Nu=VV;function WV(e){const{borderRadius:t,boxShadow2:n,baseColor:o}=e;return Object.assign(Object.assign({},US),{borderRadius:t,boxShadow:n,color:Ke(o,"rgba(0, 0, 0, .85)"),textColor:o})}const qV={name:"Tooltip",common:xt,peers:{Popover:Xa},self:WV},Rm=qV,KV={name:"Ellipsis",common:je,peers:{Tooltip:Nu}},VS=KV,GV={name:"Ellipsis",common:xt,peers:{Tooltip:Rm}},WS=GV,qS={radioSizeSmall:"14px",radioSizeMedium:"16px",radioSizeLarge:"18px",labelPadding:"0 8px",labelFontWeight:"400"},XV={name:"Radio",common:je,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:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},qS),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:h,buttonHeightLarge:p,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 ${ze(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 ${ze(n,{alpha:.3})}`,buttonBoxShadowHover:`inset 0 0 0 1px ${n}`,buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}},KS=XV;function YV(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:h,heightLarge:p,lineHeight:g}=e;return Object.assign(Object.assign({},qS),{labelLineHeight:g,buttonHeightSmall:f,buttonHeightMedium:h,buttonHeightLarge:p,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 ${ze(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 ${ze(n,{alpha:.3})}`,buttonBoxShadowHover:"inset 0 0 0 1px #0000",buttonBoxShadow:"inset 0 0 0 1px #0000",buttonBorderRadius:l})}const QV={name:"Radio",common:xt,self:YV},Em=QV,JV={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"};function GS(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:h,heightLarge:p,heightHuge:g,textColor3:m,opacityDisabled:b}=e;return Object.assign(Object.assign({},JV),{optionHeightSmall:f,optionHeightMedium:h,optionHeightLarge:p,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:ze(t,{alpha:.1}),groupHeaderTextColor:m,optionTextColorInverted:"#BBB",optionTextColorHoverInverted:"#FFF",optionTextColorActiveInverted:"#FFF",optionTextColorChildActiveInverted:"#FFF",colorInverted:a,dividerColorInverted:"#BBB",suffixColorInverted:"#BBB",prefixColorInverted:"#BBB",optionColorHoverInverted:t,optionColorActiveInverted:t,groupHeaderTextColorInverted:"#AAA",optionOpacityDisabled:b})}const ZV={name:"Dropdown",common:xt,peers:{Popover:Xa},self:GS},$m=ZV,eW={name:"Dropdown",common:je,peers:{Popover:Qi},self(e){const{primaryColorSuppl:t,primaryColor:n,popoverColor:o}=e,r=GS(e);return r.colorInverted=o,r.optionColorActive=ze(n,{alpha:.15}),r.optionColorActiveInverted=t,r.optionColorHoverInverted=t,r}},Im=eW,tW={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"};function XS(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:h,fontSizeMedium:p,fontSizeLarge:g,dividerColor:m,heightSmall:b,opacityDisabled:w,tableColorStriped:C}=e;return Object.assign(Object.assign({},tW),{actionDividerColor:m,lineHeight:f,borderRadius:d,fontSizeSmall:h,fontSizeMedium:p,fontSizeLarge:g,borderColor:Ke(t,m),tdColorHover:Ke(t,s),tdColorSorting:Ke(t,s),tdColorStriped:Ke(t,C),thColor:Ke(t,a),thColorHover:Ke(Ke(t,a),s),thColorSorting:Ke(Ke(t,a),s),tdColor:t,tdTextColor:r,thTextColor:i,thFontWeight:u,thButtonColorHover:s,thIconColor:l,thIconColorActive:c,borderColorModal:Ke(n,m),tdColorHoverModal:Ke(n,s),tdColorSortingModal:Ke(n,s),tdColorStripedModal:Ke(n,C),thColorModal:Ke(n,a),thColorHoverModal:Ke(Ke(n,a),s),thColorSortingModal:Ke(Ke(n,a),s),tdColorModal:n,borderColorPopover:Ke(o,m),tdColorHoverPopover:Ke(o,s),tdColorSortingPopover:Ke(o,s),tdColorStripedPopover:Ke(o,C),thColorPopover:Ke(o,a),thColorHoverPopover:Ke(Ke(o,a),s),thColorSortingPopover:Ke(Ke(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:b,opacityLoading:w})}const nW={name:"DataTable",common:xt,peers:{Button:Du,Checkbox:ES,Radio:Em,Pagination:NS,Scrollbar:Yi,Empty:Fu,Popover:Xa,Ellipsis:WS,Dropdown:$m},self:XS},oW=nW,rW={name:"DataTable",common:je,peers:{Button:Vn,Checkbox:Ya,Radio:KS,Pagination:HS,Scrollbar:Un,Empty:Xi,Popover:Qi,Ellipsis:VS,Dropdown:Im},self(e){const t=XS(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}},iW=rW,aW=Object.assign(Object.assign({},Ia),Ne.props),Hu=Ce({name:"Tooltip",props:aW,__popover__:!0,setup(e){const{mergedClsPrefixRef:t}=st(e),n=Ne("Tooltip","-tooltip",void 0,Rm,e,t),o=j(null);return Object.assign(Object.assign({},{syncPosition(){o.value.syncPosition()},setShow(i){o.value.setShow(i)}}),{popoverRef:o,mergedTheme:n,popoverThemeOverrides:O(()=>n.value.self)})},render(){const{mergedTheme:e,internalExtraClass:t}=this;return v(gl,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)}}),YS=z("ellipsis",{overflow:"hidden"},[At("line-clamp",`
|
||
white-space: nowrap;
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
max-width: 100%;
|
||
`),J("line-clamp",`
|
||
display: -webkit-inline-box;
|
||
-webkit-box-orient: vertical;
|
||
`),J("cursor-pointer",`
|
||
cursor: pointer;
|
||
`)]);function jh(e){return`${e}-ellipsis--line-clamp`}function Uh(e,t){return`${e}-ellipsis--cursor-${t}`}const QS=Object.assign(Object.assign({},Ne.props),{expandTrigger:String,lineClamp:[Number,String],tooltip:{type:[Boolean,Object],default:!0}}),Om=Ce({name:"Ellipsis",inheritAttrs:!1,props:QS,setup(e,{slots:t,attrs:n}){const o=j_(),r=Ne("Ellipsis","-ellipsis",YS,WS,e,o),i=j(null),a=j(null),s=j(null),l=j(!1),c=O(()=>{const{lineClamp:m}=e,{value:b}=l;return m!==void 0?{textOverflow:"","-webkit-line-clamp":b?"":m}:{textOverflow:b?"":"ellipsis","-webkit-line-clamp":""}});function u(){let m=!1;const{value:b}=l;if(b)return!0;const{value:w}=i;if(w){const{lineClamp:C}=e;if(h(w),C!==void 0)m=w.scrollHeight<=w.offsetHeight;else{const{value:_}=a;_&&(m=_.getBoundingClientRect().width<=w.getBoundingClientRect().width)}p(w,m)}return m}const d=O(()=>e.expandTrigger==="click"?()=>{var m;const{value:b}=l;b&&((m=s.value)===null||m===void 0||m.setShow(!1)),l.value=!b}:void 0);tu(()=>{var m;e.tooltip&&((m=s.value)===null||m===void 0||m.setShow(!1))});const f=()=>v("span",Object.assign({},Dn(n,{class:[`${o.value}-ellipsis`,e.lineClamp!==void 0?jh(o.value):void 0,e.expandTrigger==="click"?Uh(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 h(m){if(!m)return;const b=c.value,w=jh(o.value);e.lineClamp!==void 0?g(m,w,"add"):g(m,w,"remove");for(const C in b)m.style[C]!==b[C]&&(m.style[C]=b[C])}function p(m,b){const w=Uh(o.value,"pointer");e.expandTrigger==="click"&&!b?g(m,w,"add"):g(m,w,"remove")}function g(m,b,w){w==="add"?m.classList.contains(b)||m.classList.add(b):m.classList.contains(b)&&m.classList.remove(b)}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(Hu,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()}}),sW=Ce({name:"PerformantEllipsis",props:QS,inheritAttrs:!1,setup(e,{attrs:t,slots:n}){const o=j(!1),r=j_();return ni("-ellipsis",YS,r),{mouseEntered:o,renderTrigger:()=>{const{lineClamp:a}=e,s=r.value;return v("span",Object.assign({},Dn(t,{class:[`${s}-ellipsis`,a!==void 0?jh(s):void 0,e.expandTrigger==="click"?Uh(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(Om,Dn({},this.$attrs,this.$props),this.$slots):this.renderTrigger()}}),lW=Object.assign(Object.assign({},Ne.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"},filterIconPopoverProps:Object,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]}),Mo="n-data-table",cW=Ce({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})}}),uW=Ce({name:"SortIcon",props:{column:{type:Object,required:!0}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedSortStateRef:n,mergedClsPrefixRef:o}=Ve(Mo),r=O(()=>n.value.find(l=>l.columnKey===e.column.key)),i=O(()=>r.value!==void 0),a=O(()=>{const{value:l}=r;return l&&i.value?l.order:!1}),s=O(()=>{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(cW,{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(Wt,{clsPrefix:n},{default:()=>v(MN,null)}))}}),JS={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}},ZS="n-radio-group";function e2(e){const t=Ve(ZS,null),n=mr(e,{mergedSize(w){const{size:C}=e;if(C!==void 0)return C;if(t){const{mergedSizeRef:{value:_}}=t;if(_!==void 0)return _}return w?w.mergedSize.value:"medium"},mergedDisabled(w){return!!(e.disabled||t!=null&&t.disabledRef.value||w!=null&&w.disabled.value)}}),{mergedSizeRef:o,mergedDisabledRef:r}=n,i=j(null),a=j(null),s=j(e.defaultChecked),l=Ue(e,"checked"),c=rn(l,s),u=kt(()=>t?t.valueRef.value===e.value:c.value),d=kt(()=>{const{name:w}=e;if(w!==void 0)return w;if(t)return t.nameRef.value}),f=j(!1);function h(){if(t){const{doUpdateValue:w}=t,{value:C}=e;$e(w,C)}else{const{onUpdateChecked:w,"onUpdate:checked":C}=e,{nTriggerFormInput:_,nTriggerFormChange:S}=n;w&&$e(w,!0),C&&$e(C,!0),_(),S(),s.value=!0}}function p(){r.value||u.value||h()}function g(){p(),i.value&&(i.value.checked=u.value)}function m(){f.value=!1}function b(){f.value=!0}return{mergedClsPrefix:t?t.mergedClsPrefixRef:st(e).mergedClsPrefixRef,inputRef:i,labelRef:a,mergedName:d,mergedDisabled:r,renderSafeChecked:u,focus:f,mergedSize:o,handleRadioInputChange:g,handleRadioInputBlur:m,handleRadioInputFocus:b}}const dW=z("radio",`
|
||
line-height: var(--n-label-line-height);
|
||
outline: none;
|
||
position: relative;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
display: inline-flex;
|
||
align-items: flex-start;
|
||
flex-wrap: nowrap;
|
||
font-size: var(--n-font-size);
|
||
word-break: break-word;
|
||
`,[J("checked",[U("dot",`
|
||
background-color: var(--n-color-active);
|
||
`)]),U("dot-wrapper",`
|
||
position: relative;
|
||
flex-shrink: 0;
|
||
flex-grow: 0;
|
||
width: var(--n-radio-size);
|
||
`),z("radio-input",`
|
||
position: absolute;
|
||
border: 0;
|
||
border-radius: inherit;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
opacity: 0;
|
||
z-index: 1;
|
||
cursor: pointer;
|
||
`),U("dot",`
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 0;
|
||
transform: translateY(-50%);
|
||
height: var(--n-radio-size);
|
||
width: var(--n-radio-size);
|
||
background: var(--n-color);
|
||
box-shadow: var(--n-box-shadow);
|
||
border-radius: 50%;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
`,[W("&::before",`
|
||
content: "";
|
||
opacity: 0;
|
||
position: absolute;
|
||
left: 4px;
|
||
top: 4px;
|
||
height: calc(100% - 8px);
|
||
width: calc(100% - 8px);
|
||
border-radius: 50%;
|
||
transform: scale(.8);
|
||
background: var(--n-dot-color-active);
|
||
transition:
|
||
opacity .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
transform .3s var(--n-bezier);
|
||
`),J("checked",{boxShadow:"var(--n-box-shadow-active)"},[W("&::before",`
|
||
opacity: 1;
|
||
transform: scale(1);
|
||
`)])]),U("label",`
|
||
color: var(--n-text-color);
|
||
padding: var(--n-label-padding);
|
||
font-weight: var(--n-label-font-weight);
|
||
display: inline-block;
|
||
transition: color .3s var(--n-bezier);
|
||
`),At("disabled",`
|
||
cursor: pointer;
|
||
`,[W("&:hover",[U("dot",{boxShadow:"var(--n-box-shadow-hover)"})]),J("focus",[W("&:not(:active)",[U("dot",{boxShadow:"var(--n-box-shadow-focus)"})])])]),J("disabled",`
|
||
cursor: not-allowed;
|
||
`,[U("dot",{boxShadow:"var(--n-box-shadow-disabled)",backgroundColor:"var(--n-color-disabled)"},[W("&::before",{backgroundColor:"var(--n-dot-color-disabled)"}),J("checked",`
|
||
opacity: 1;
|
||
`)]),U("label",{color:"var(--n-text-color-disabled)"}),z("radio-input",`
|
||
cursor: not-allowed;
|
||
`)])]),fW=Object.assign(Object.assign({},Ne.props),JS),t2=Ce({name:"Radio",props:fW,setup(e){const t=e2(e),n=Ne("Radio","-radio",dW,Em,e,t.mergedClsPrefix),o=O(()=>{const{mergedSize:{value:c}}=t,{common:{cubicBezierEaseInOut:u},self:{boxShadow:d,boxShadowActive:f,boxShadowDisabled:h,boxShadowFocus:p,boxShadowHover:g,color:m,colorDisabled:b,colorActive:w,textColor:C,textColorDisabled:_,dotColorActive:S,dotColorDisabled:y,labelPadding:x,labelLineHeight:k,labelFontWeight:P,[Re("fontSize",c)]:T,[Re("radioSize",c)]:E}}=n.value;return{"--n-bezier":u,"--n-label-line-height":k,"--n-label-font-weight":P,"--n-box-shadow":d,"--n-box-shadow-active":f,"--n-box-shadow-disabled":h,"--n-box-shadow-focus":p,"--n-box-shadow-hover":g,"--n-color":m,"--n-color-active":w,"--n-color-disabled":b,"--n-dot-color-active":S,"--n-dot-color-disabled":y,"--n-font-size":T,"--n-radio-size":E,"--n-text-color":C,"--n-text-color-disabled":_,"--n-label-padding":x}}),{inlineThemeDisabled:r,mergedClsPrefixRef:i,mergedRtlRef:a}=st(e),s=pn("Radio",a,i),l=r?Pt("radio",O(()=>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`]})),Et(e.default,r=>!r&&!o?null:v("div",{ref:"labelRef",class:`${t}-radio__label`},r||o)))}}),hW=z("radio-group",`
|
||
display: inline-block;
|
||
font-size: var(--n-font-size);
|
||
`,[U("splitor",`
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
width: 1px;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier);
|
||
background: var(--n-button-border-color);
|
||
`,[J("checked",{backgroundColor:"var(--n-button-border-color-active)"}),J("disabled",{opacity:"var(--n-opacity-disabled)"})]),J("button-group",`
|
||
white-space: nowrap;
|
||
height: var(--n-height);
|
||
line-height: var(--n-height);
|
||
`,[z("radio-button",{height:"var(--n-height)",lineHeight:"var(--n-height)"}),U("splitor",{height:"var(--n-height)"})]),z("radio-button",`
|
||
vertical-align: bottom;
|
||
outline: none;
|
||
position: relative;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
display: inline-block;
|
||
box-sizing: border-box;
|
||
padding-left: 14px;
|
||
padding-right: 14px;
|
||
white-space: nowrap;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
background: var(--n-button-color);
|
||
color: var(--n-button-text-color);
|
||
border-top: 1px solid var(--n-button-border-color);
|
||
border-bottom: 1px solid var(--n-button-border-color);
|
||
`,[z("radio-input",`
|
||
pointer-events: none;
|
||
position: absolute;
|
||
border: 0;
|
||
border-radius: inherit;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
opacity: 0;
|
||
z-index: 1;
|
||
`),U("state-border",`
|
||
z-index: 1;
|
||
pointer-events: none;
|
||
position: absolute;
|
||
box-shadow: var(--n-button-box-shadow);
|
||
transition: box-shadow .3s var(--n-bezier);
|
||
left: -1px;
|
||
bottom: -1px;
|
||
right: -1px;
|
||
top: -1px;
|
||
`),W("&:first-child",`
|
||
border-top-left-radius: var(--n-button-border-radius);
|
||
border-bottom-left-radius: var(--n-button-border-radius);
|
||
border-left: 1px solid var(--n-button-border-color);
|
||
`,[U("state-border",`
|
||
border-top-left-radius: var(--n-button-border-radius);
|
||
border-bottom-left-radius: var(--n-button-border-radius);
|
||
`)]),W("&:last-child",`
|
||
border-top-right-radius: var(--n-button-border-radius);
|
||
border-bottom-right-radius: var(--n-button-border-radius);
|
||
border-right: 1px solid var(--n-button-border-color);
|
||
`,[U("state-border",`
|
||
border-top-right-radius: var(--n-button-border-radius);
|
||
border-bottom-right-radius: var(--n-button-border-radius);
|
||
`)]),At("disabled",`
|
||
cursor: pointer;
|
||
`,[W("&:hover",[U("state-border",`
|
||
transition: box-shadow .3s var(--n-bezier);
|
||
box-shadow: var(--n-button-box-shadow-hover);
|
||
`),At("checked",{color:"var(--n-button-text-color-hover)"})]),J("focus",[W("&:not(:active)",[U("state-border",{boxShadow:"var(--n-button-box-shadow-focus)"})])])]),J("checked",`
|
||
background: var(--n-button-color-active);
|
||
color: var(--n-button-text-color-active);
|
||
border-color: var(--n-button-border-color-active);
|
||
`),J("disabled",`
|
||
cursor: not-allowed;
|
||
opacity: var(--n-opacity-disabled);
|
||
`)])]);function pW(e,t,n){var o;const r=[];let i=!1;for(let a=0;a<e.length;++a){const s=e[a],l=(o=s.type)===null||o===void 0?void 0:o.name;l==="RadioButton"&&(i=!0);const c=s.props;if(l!=="RadioButton"){r.push(s);continue}if(a===0)r.push(s);else{const u=r[r.length-1].props,d=t===u.value,f=u.disabled,h=t===c.value,p=c.disabled,g=(d?2:0)+(f?0:1),m=(h?2:0)+(p?0:1),b={[`${n}-radio-group__splitor--disabled`]:f,[`${n}-radio-group__splitor--checked`]:d},w={[`${n}-radio-group__splitor--disabled`]:p,[`${n}-radio-group__splitor--checked`]:h},C=g<m?w:b;r.push(v("div",{class:[`${n}-radio-group__splitor`,C]}),s)}}return{children:r,isButtonGroup:i}}const mW=Object.assign(Object.assign({},Ne.props),{name:String,value:[String,Number,Boolean],defaultValue:{type:[String,Number,Boolean],default:null},size:String,disabled:{type:Boolean,default:void 0},"onUpdate:value":[Function,Array],onUpdateValue:[Function,Array]}),n2=Ce({name:"RadioGroup",props:mW,setup(e){const t=j(null),{mergedSizeRef:n,mergedDisabledRef:o,nTriggerFormChange:r,nTriggerFormInput:i,nTriggerFormBlur:a,nTriggerFormFocus:s}=mr(e),{mergedClsPrefixRef:l,inlineThemeDisabled:c,mergedRtlRef:u}=st(e),d=Ne("Radio","-radio-group",hW,Em,e,l),f=j(e.defaultValue),h=Ue(e,"value"),p=rn(h,f);function g(S){const{onUpdateValue:y,"onUpdate:value":x}=e;y&&$e(y,S),x&&$e(x,S),f.value=S,r(),i()}function m(S){const{value:y}=t;y&&(y.contains(S.relatedTarget)||s())}function b(S){const{value:y}=t;y&&(y.contains(S.relatedTarget)||a())}at(ZS,{mergedClsPrefixRef:l,nameRef:Ue(e,"name"),valueRef:p,disabledRef:o,mergedSizeRef:n,doUpdateValue:g});const w=pn("Radio",u,l),C=O(()=>{const{value:S}=n,{common:{cubicBezierEaseInOut:y},self:{buttonBorderColor:x,buttonBorderColorActive:k,buttonBorderRadius:P,buttonBoxShadow:T,buttonBoxShadowFocus:E,buttonBoxShadowHover:R,buttonColor:q,buttonColorActive:L,buttonTextColor:D,buttonTextColorActive:F,buttonTextColorHover:K,opacityDisabled:V,[Re("buttonHeight",S)]:le,[Re("fontSize",S)]:me}}=d.value;return{"--n-font-size":me,"--n-bezier":y,"--n-button-border-color":x,"--n-button-border-color-active":k,"--n-button-border-radius":P,"--n-button-box-shadow":T,"--n-button-box-shadow-focus":E,"--n-button-box-shadow-hover":R,"--n-button-color":q,"--n-button-color-active":L,"--n-button-text-color":D,"--n-button-text-color-hover":K,"--n-button-text-color-active":F,"--n-height":le,"--n-opacity-disabled":V}}),_=c?Pt("radio-group",O(()=>n.value[0]),C,e):void 0;return{selfElRef:t,rtlEnabled:w,mergedClsPrefix:l,mergedValue:p,handleFocusout:b,handleFocusin:m,cssVars:c?void 0:C,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){var e;const{mergedValue:t,mergedClsPrefix:n,handleFocusin:o,handleFocusout:r}=this,{children:i,isButtonGroup:a}=pW(Ra(yw(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)}}),gW=Ce({name:"RadioButton",props:JS,setup:e2,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`}),Et(this.$slots.default,t=>!t&&!this.label?null:v("div",{ref:"labelRef",class:`${e}-radio__label`},t||this.label)))}}),o2=40,r2=40;function u1(e){if(e.type==="selection")return e.width===void 0?o2:bn(e.width);if(e.type==="expand")return e.width===void 0?r2:bn(e.width);if(!("children"in e))return typeof e.width=="string"?bn(e.width):e.width}function vW(e){var t,n;if(e.type==="selection")return qt((t=e.width)!==null&&t!==void 0?t:o2);if(e.type==="expand")return qt((n=e.width)!==null&&n!==void 0?n:r2);if(!("children"in e))return qt(e.width)}function _o(e){return e.type==="selection"?"__n_selection__":e.type==="expand"?"__n_expand__":e.key}function d1(e){return e&&(typeof e=="object"?Object.assign({},e):e)}function bW(e){return e==="ascend"?1:e==="descend"?-1:0}function yW(e,t,n){return n!==void 0&&(e=Math.min(e,typeof n=="number"?n:Number.parseFloat(n))),t!==void 0&&(e=Math.max(e,typeof t=="number"?t:Number.parseFloat(t))),e}function xW(e,t){if(t!==void 0)return{width:t,minWidth:t,maxWidth:t};const n=vW(e),{minWidth:o,maxWidth:r}=e;return{width:n,minWidth:qt(o)||n,maxWidth:qt(r)}}function CW(e,t,n){return typeof n=="function"?n(e,t):n||""}function lf(e){return e.filterOptionValues!==void 0||e.filterOptionValue===void 0&&e.defaultFilterOptionValues!==void 0}function cf(e){return"children"in e?!1:!!e.sorter}function i2(e){return"children"in e&&e.children.length?!1:!!e.resizable}function f1(e){return"children"in e?!1:!!e.filter&&(!!e.filterOptions||!!e.renderFilterMenu)}function h1(e){if(e){if(e==="descend")return"ascend"}else return"descend";return!1}function wW(e,t){return e.sorter===void 0?null:t===null||t.columnKey!==e.key?{columnKey:e.key,sorter:e.sorter,order:h1(!1)}:Object.assign(Object.assign({},t),{order:h1(t.order)})}function a2(e,t){return t.find(n=>n.columnKey===e.key&&n.order)!==void 0}function _W(e){return typeof e=="string"?e.replace(/,/g,"\\,"):e==null?"":`${e}`.replace(/,/g,"\\,")}function SW(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=>_W(i[a.key])).join(","));return[o,...r].join(`
|
||
`)}const kW=Ce({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}=st(e),o=pn("DataTable",n,t),{mergedClsPrefixRef:r,mergedThemeRef:i,localeRef:a}=Ve(Mo),s=j(e.value),l=O(()=>{const{value:p}=s;return Array.isArray(p)?p:null}),c=O(()=>{const{value:p}=s;return lf(e.column)?Array.isArray(p)&&p.length&&p[0]||null:Array.isArray(p)?null:p});function u(p){e.onChange(p)}function d(p){e.multiple&&Array.isArray(p)?s.value=p:lf(e.column)&&!Array.isArray(p)?s.value=[p]:s.value=p}function f(){u(s.value),e.onConfirm()}function h(){e.multiple||lf(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:h}},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(Oo,null,{default:()=>{const{checkboxGroupValue:o,handleChange:r}=this;return this.multiple?v(fV,{value:o,class:`${n}-data-table-filter-menu__group`,onUpdateValue:r},{default:()=>this.options.map(i=>v(bl,{key:i.value,theme:e.peers.Checkbox,themeOverrides:e.peerOverrides.Checkbox,value:i.value},{default:()=>i.label}))}):v(n2,{name:this.radioGroupName,class:`${n}-data-table-filter-menu__group`,value:this.radioGroupValue,onUpdateValue:this.handleChange},{default:()=>this.options.map(i=>v(t2,{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(zt,{size:"tiny",theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,onClick:this.handleClearClick},{default:()=>t.clear}),v(zt,{theme:e.peers.Button,themeOverrides:e.peerOverrides.Button,type:"primary",size:"tiny",onClick:this.handleConfirmClick},{default:()=>t.confirm})))}}),PW=Ce({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})}});function TW(e,t,n){const o=Object.assign({},e);return o[t]=n,o}const AW=Ce({name:"DataTableFilterButton",props:{column:{type:Object,required:!0},options:{type:Array,default:()=>[]}},setup(e){const{mergedComponentPropsRef:t}=st(),{mergedThemeRef:n,mergedClsPrefixRef:o,mergedFilterStateRef:r,filterMenuCssVarsRef:i,paginationBehaviorOnFilterRef:a,doUpdatePage:s,doUpdateFilters:l,filterIconPopoverPropsRef:c}=Ve(Mo),u=j(!1),d=r,f=O(()=>e.column.filterMultiple!==!1),h=O(()=>{const C=d.value[e.column.key];if(C===void 0){const{value:_}=f;return _?[]:null}return C}),p=O(()=>{const{value:C}=h;return Array.isArray(C)?C.length>0:C!==null}),g=O(()=>{var C,_;return((_=(C=t==null?void 0:t.value)===null||C===void 0?void 0:C.DataTable)===null||_===void 0?void 0:_.renderFilter)||e.column.renderFilter});function m(C){const _=TW(d.value,e.column.key,C);l(_,e.column),a.value==="first"&&s(1)}function b(){u.value=!1}function w(){u.value=!1}return{mergedTheme:n,mergedClsPrefix:o,active:p,showPopover:u,mergedRenderFilter:g,filterIconPopoverProps:c,filterMultiple:f,mergedFilterValue:h,filterMenuCssVars:i,handleFilterChange:m,handleFilterMenuConfirm:w,handleFilterMenuCancel:b}},render(){const{mergedTheme:e,mergedClsPrefix:t,handleFilterMenuCancel:n,filterIconPopoverProps:o}=this;return v(gl,Object.assign({show:this.showPopover,onUpdateShow:r=>this.showPopover=r,trigger:"click",theme:e.peers.Popover,themeOverrides:e.peerOverrides.Popover,placement:"bottom"},o,{style:{padding:0}}),{trigger:()=>{const{mergedRenderFilter:r}=this;if(r)return v(PW,{"data-data-table-filter":!0,render:r,active:this.active,show:this.showPopover});const{renderFilterIcon:i}=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}]},i?i({active:this.active,show:this.showPopover}):v(Wt,{clsPrefix:t},{default:()=>v(NN,null)}))},default:()=>{const{renderFilterMenu:r}=this.column;return r?r({hide:n}):v(kW,{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})}})}}),RW=Ce({name:"ColumnResizeButton",props:{onResizeStart:Function,onResize:Function,onResizeEnd:Function},setup(e){const{mergedClsPrefixRef:t}=Ve(Mo),n=j(!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||($t("mousemove",window,a),$t("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 on(()=>{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=Ce({name:"DropdownDivider",props:{clsPrefix:{type:String,required:!0}},render(){return v("div",{class:`${this.clsPrefix}-dropdown-divider`})}});function l2(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}}const EW={name:"Icon",common:xt,self:l2},$W=EW,IW={name:"Icon",common:je,self:l2},OW=IW,MW=z("icon",`
|
||
height: 1em;
|
||
width: 1em;
|
||
line-height: 1em;
|
||
text-align: center;
|
||
display: inline-block;
|
||
position: relative;
|
||
fill: currentColor;
|
||
transform: translateZ(0);
|
||
`,[J("color-transition",{transition:"color .3s var(--n-bezier)"}),J("depth",{color:"var(--n-color)"},[W("svg",{opacity:"var(--n-opacity)",transition:"opacity .3s var(--n-bezier)"})]),W("svg",{height:"1em",width:"1em"})]),zW=Object.assign(Object.assign({},Ne.props),{depth:[String,Number],size:[Number,String],color:String,component:Object}),Xo=Ce({_n_icon__:!0,name:"Icon",inheritAttrs:!1,props:zW,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Icon","-icon",MW,$W,e,t),r=O(()=>{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?Pt("icon",O(()=>`${e.depth||"d"}`),r,e):void 0;return{mergedClsPrefix:t,mergedStyle:O(()=>{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__&&cr("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)}}),Mm="n-dropdown-menu",ju="n-dropdown",p1="n-dropdown-option";function Vh(e,t){return e.type==="submenu"||e.type===void 0&&e[t]!==void 0}function LW(e){return e.type==="group"}function c2(e){return e.type==="divider"}function FW(e){return e.type==="render"}const u2=Ce({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=Ve(ju),{hoverKeyRef:n,keyboardKeyRef:o,lastToggledSubmenuKeyRef:r,pendingKeyPathRef:i,activeKeyPathRef:a,animatedRef:s,mergedShowRef:l,renderLabelRef:c,renderIconRef:u,labelFieldRef:d,childrenFieldRef:f,renderOptionRef:h,nodePropsRef:p,menuPropsRef:g}=t,m=Ve(p1,null),b=Ve(Mm),w=Ve(Wa),C=O(()=>e.tmNode.rawNode),_=O(()=>{const{value:K}=f;return Vh(e.tmNode.rawNode,K)}),S=O(()=>{const{disabled:K}=e.tmNode;return K}),y=O(()=>{if(!_.value)return!1;const{key:K,disabled:V}=e.tmNode;if(V)return!1;const{value:le}=n,{value:me}=o,{value:ee}=r,{value:N}=i;return le!==null?N.includes(K):me!==null?N.includes(K)&&N[N.length-1]!==K:ee!==null?N.includes(K):!1}),x=O(()=>o.value===null&&!s.value),k=S8(y,300,x),P=O(()=>!!(m!=null&&m.enteringSubmenuRef.value)),T=j(!1);at(p1,{enteringSubmenuRef:T});function E(){T.value=!0}function R(){T.value=!1}function q(){const{parentKey:K,tmNode:V}=e;V.disabled||l.value&&(r.value=K,o.value=null,n.value=V.key)}function L(){const{tmNode:K}=e;K.disabled||l.value&&n.value!==K.key&&q()}function D(K){if(e.tmNode.disabled||!l.value)return;const{relatedTarget:V}=K;V&&!lo({target:V},"dropdownOption")&&!lo({target:V},"scrollbarRail")&&(n.value=null)}function F(){const{value:K}=_,{tmNode:V}=e;l.value&&!K&&!V.disabled&&(t.doSelect(V.key,V.rawNode),t.doUpdateShow(!1))}return{labelField:d,renderLabel:c,renderIcon:u,siblingHasIcon:b.showIconRef,siblingHasSubmenu:b.hasSubmenuRef,menuProps:g,popoverBody:w,animated:s,mergedShowSubmenu:O(()=>k.value&&!P.value),rawNode:C,hasSubmenu:_,pending:kt(()=>{const{value:K}=i,{key:V}=e.tmNode;return K.includes(V)}),childActive:kt(()=>{const{value:K}=a,{key:V}=e.tmNode,le=K.findIndex(me=>V===me);return le===-1?!1:le<K.length-1}),active:kt(()=>{const{value:K}=a,{key:V}=e.tmNode,le=K.findIndex(me=>V===me);return le===-1?!1:le===K.length-1}),mergedDisabled:S,renderOption:h,nodeProps:p,handleClick:F,handleMouseMove:L,handleMouseEnter:q,handleMouseLeave:D,handleSubmenuBeforeEnter:E,handleSubmenuAfterEnter:R}},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:h}=this;let p=null;if(r){const w=(e=this.menuProps)===null||e===void 0?void 0:e.call(this,o,o.children);p=v(d2,Object.assign({},w,{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},m=d==null?void 0:d(o),b=v("div",Object.assign({class:[`${i}-dropdown-option`,m==null?void 0:m.class],"data-dropdown-option":!0},m),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(Xo,null,{default:()=>v(vm,null)}):null)]),this.hasSubmenu?v(Qp,null,{default:()=>[v(Jp,null,{default:()=>v("div",{class:`${i}-dropdown-offset-container`},v(em,{show:this.mergedShowSubmenu,placement:this.placement,to:h&&this.popoverBody||void 0,teleportDisabled:!h},{default:()=>v("div",{class:`${i}-dropdown-menu-wrapper`},n?v(fn,{onBeforeEnter:this.handleSubmenuBeforeEnter,onAfterEnter:this.handleSubmenuAfterEnter,name:"fade-in-scale-up-transition",appear:!0},{default:()=>p}):p)}))})]}):null);return u?u({node:b,option:o}):b}}),DW=Ce({name:"DropdownGroupHeader",props:{clsPrefix:{type:String,required:!0},tmNode:{type:Object,required:!0}},setup(){const{showIconRef:e,hasSubmenuRef:t}=Ve(Mm),{renderLabelRef:n,labelFieldRef:o,nodePropsRef:r,renderOptionRef:i}=Ve(ju);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}}),BW=Ce({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(rt,null,v(DW,{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(s2,{clsPrefix:n,key:r.key}):r.isGroup?(cr("dropdown","`group` node is not allowed to be put in `group` node."),null):v(u2,{clsPrefix:n,tmNode:r,parentKey:t,key:r.key})}))}}),NW=Ce({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()])}}),d2=Ce({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}=Ve(ju);at(Mm,{showIconRef:O(()=>{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:O(()=>{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})=>Vh(l,r));const{rawNode:s}=i;return Vh(s,r)})})});const o=j(null);return at(ul,null),at(dl,null),at(Wa,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:FW(i)?v(NW,{tmNode:r,key:r.key}):c2(i)?v(s2,{clsPrefix:t,key:r.key}):LW(i)?v(BW,{clsPrefix:t,tmNode:r,parentKey:e,key:r.key}):v(u2,{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(tS,{contentClass:`${t}-dropdown-menu__content`},{default:()=>o}):o,this.showArrow?aS({clsPrefix:t,arrowStyle:this.arrowStyle,arrowClass:void 0,arrowWrapperClass:void 0,arrowWrapperStyle:void 0}):null)}}),HW=z("dropdown-menu",`
|
||
transform-origin: var(--v-transform-origin);
|
||
background-color: var(--n-color);
|
||
border-radius: var(--n-border-radius);
|
||
box-shadow: var(--n-box-shadow);
|
||
position: relative;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
`,[Ga(),z("dropdown-option",`
|
||
position: relative;
|
||
`,[W("a",`
|
||
text-decoration: none;
|
||
color: inherit;
|
||
outline: none;
|
||
`,[W("&::before",`
|
||
content: "";
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`)]),z("dropdown-option-body",`
|
||
display: flex;
|
||
cursor: pointer;
|
||
position: relative;
|
||
height: var(--n-option-height);
|
||
line-height: var(--n-option-height);
|
||
font-size: var(--n-font-size);
|
||
color: var(--n-option-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`,[W("&::before",`
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 4px;
|
||
right: 4px;
|
||
transition: background-color .3s var(--n-bezier);
|
||
border-radius: var(--n-border-radius);
|
||
`),At("disabled",[J("pending",`
|
||
color: var(--n-option-text-color-hover);
|
||
`,[U("prefix, suffix",`
|
||
color: var(--n-option-text-color-hover);
|
||
`),W("&::before","background-color: var(--n-option-color-hover);")]),J("active",`
|
||
color: var(--n-option-text-color-active);
|
||
`,[U("prefix, suffix",`
|
||
color: var(--n-option-text-color-active);
|
||
`),W("&::before","background-color: var(--n-option-color-active);")]),J("child-active",`
|
||
color: var(--n-option-text-color-child-active);
|
||
`,[U("prefix, suffix",`
|
||
color: var(--n-option-text-color-child-active);
|
||
`)])]),J("disabled",`
|
||
cursor: not-allowed;
|
||
opacity: var(--n-option-opacity-disabled);
|
||
`),J("group",`
|
||
font-size: calc(var(--n-font-size) - 1px);
|
||
color: var(--n-group-header-text-color);
|
||
`,[U("prefix",`
|
||
width: calc(var(--n-option-prefix-width) / 2);
|
||
`,[J("show-icon",`
|
||
width: calc(var(--n-option-icon-prefix-width) / 2);
|
||
`)])]),U("prefix",`
|
||
width: var(--n-option-prefix-width);
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
color: var(--n-prefix-color);
|
||
transition: color .3s var(--n-bezier);
|
||
z-index: 1;
|
||
`,[J("show-icon",`
|
||
width: var(--n-option-icon-prefix-width);
|
||
`),z("icon",`
|
||
font-size: var(--n-option-icon-size);
|
||
`)]),U("label",`
|
||
white-space: nowrap;
|
||
flex: 1;
|
||
z-index: 1;
|
||
`),U("suffix",`
|
||
box-sizing: border-box;
|
||
flex-grow: 0;
|
||
flex-shrink: 0;
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
align-items: center;
|
||
min-width: var(--n-option-suffix-width);
|
||
padding: 0 8px;
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-suffix-color);
|
||
z-index: 1;
|
||
`,[J("has-submenu",`
|
||
width: var(--n-option-icon-suffix-width);
|
||
`),z("icon",`
|
||
font-size: var(--n-option-icon-size);
|
||
`)]),z("dropdown-menu","pointer-events: all;")]),z("dropdown-offset-container",`
|
||
pointer-events: none;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: -4px;
|
||
bottom: -4px;
|
||
`)]),z("dropdown-divider",`
|
||
transition: background-color .3s var(--n-bezier);
|
||
background-color: var(--n-divider-color);
|
||
height: 1px;
|
||
margin: 4px 0;
|
||
`),z("dropdown-menu-wrapper",`
|
||
transform-origin: var(--v-transform-origin);
|
||
width: fit-content;
|
||
`),W(">",[z("scrollbar",`
|
||
height: inherit;
|
||
max-height: inherit;
|
||
`)]),At("scrollable",`
|
||
padding: var(--n-padding);
|
||
`),J("scrollable",[U("content",`
|
||
padding: var(--n-padding);
|
||
`)])]),jW={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]},UW=Object.keys(Ia),VW=Object.assign(Object.assign(Object.assign({},Ia),jW),Ne.props),zm=Ce({name:"Dropdown",inheritAttrs:!1,props:VW,setup(e){const t=j(!1),n=rn(Ue(e,"show"),t),o=O(()=>{const{keyField:R,childrenField:q}=e;return Ai(e.options,{getKey(L){return L[R]},getDisabled(L){return L.disabled===!0},getIgnored(L){return L.type==="divider"||L.type==="render"},getChildren(L){return L[q]}})}),r=O(()=>o.value.treeNodes),i=j(null),a=j(null),s=j(null),l=O(()=>{var R,q,L;return(L=(q=(R=i.value)!==null&&R!==void 0?R:a.value)!==null&&q!==void 0?q:s.value)!==null&&L!==void 0?L:null}),c=O(()=>o.value.getPath(l.value).keyPath),u=O(()=>o.value.getPath(e.value).keyPath),d=kt(()=>e.keyboard&&n.value);L8({keydown:{ArrowUp:{prevent:!0,handler:S},ArrowRight:{prevent:!0,handler:_},ArrowDown:{prevent:!0,handler:y},ArrowLeft:{prevent:!0,handler:C},Enter:{prevent:!0,handler:x},Escape:w}},d);const{mergedClsPrefixRef:f,inlineThemeDisabled:h}=st(e),p=Ne("Dropdown","-dropdown",HW,$m,e,f);at(ju,{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:m}),ut(n,R=>{!e.animated&&!R&&b()});function g(R,q){const{onSelect:L}=e;L&&$e(L,R,q)}function m(R){const{"onUpdate:show":q,onUpdateShow:L}=e;q&&$e(q,R),L&&$e(L,R),t.value=R}function b(){i.value=null,a.value=null,s.value=null}function w(){m(!1)}function C(){P("left")}function _(){P("right")}function S(){P("up")}function y(){P("down")}function x(){const R=k();R!=null&&R.isLeaf&&n.value&&(g(R.key,R.rawNode),m(!1))}function k(){var R;const{value:q}=o,{value:L}=l;return!q||L===null?null:(R=q.getNode(L))!==null&&R!==void 0?R:null}function P(R){const{value:q}=l,{value:{getFirstAvailableNode:L}}=o;let D=null;if(q===null){const F=L();F!==null&&(D=F.key)}else{const F=k();if(F){let K;switch(R){case"down":K=F.getNext();break;case"up":K=F.getPrev();break;case"right":K=F.getChild();break;case"left":K=F.getParent();break}K&&(D=K.key)}}D!==null&&(i.value=null,a.value=D)}const T=O(()=>{const{size:R,inverted:q}=e,{common:{cubicBezierEaseInOut:L},self:D}=p.value,{padding:F,dividerColor:K,borderRadius:V,optionOpacityDisabled:le,[Re("optionIconSuffixWidth",R)]:me,[Re("optionSuffixWidth",R)]:ee,[Re("optionIconPrefixWidth",R)]:N,[Re("optionPrefixWidth",R)]:M,[Re("fontSize",R)]:Z,[Re("optionHeight",R)]:G,[Re("optionIconSize",R)]:re}=D,X={"--n-bezier":L,"--n-font-size":Z,"--n-padding":F,"--n-border-radius":V,"--n-option-height":G,"--n-option-prefix-width":M,"--n-option-icon-prefix-width":N,"--n-option-suffix-width":ee,"--n-option-icon-suffix-width":me,"--n-option-icon-size":re,"--n-divider-color":K,"--n-option-opacity-disabled":le};return q?(X["--n-color"]=D.colorInverted,X["--n-option-color-hover"]=D.optionColorHoverInverted,X["--n-option-color-active"]=D.optionColorActiveInverted,X["--n-option-text-color"]=D.optionTextColorInverted,X["--n-option-text-color-hover"]=D.optionTextColorHoverInverted,X["--n-option-text-color-active"]=D.optionTextColorActiveInverted,X["--n-option-text-color-child-active"]=D.optionTextColorChildActiveInverted,X["--n-prefix-color"]=D.prefixColorInverted,X["--n-suffix-color"]=D.suffixColorInverted,X["--n-group-header-text-color"]=D.groupHeaderTextColorInverted):(X["--n-color"]=D.color,X["--n-option-color-hover"]=D.optionColorHover,X["--n-option-color-active"]=D.optionColorActive,X["--n-option-text-color"]=D.optionTextColor,X["--n-option-text-color-hover"]=D.optionTextColorHover,X["--n-option-text-color-active"]=D.optionTextColorActive,X["--n-option-text-color-child-active"]=D.optionTextColorChildActive,X["--n-prefix-color"]=D.prefixColor,X["--n-suffix-color"]=D.suffixColor,X["--n-group-header-text-color"]=D.groupHeaderTextColor),X}),E=h?Pt("dropdown",O(()=>`${e.size[0]}${e.inverted?"i":""}`),T,e):void 0;return{mergedClsPrefix:f,mergedTheme:p,tmNodes:r,mergedShow:n,handleAfterLeave:()=>{e.animated&&b()},doUpdateShow:m,cssVars:h?void 0:T,themeClass:E==null?void 0:E.themeClass,onRender:E==null?void 0:E.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(h=>h.rawNode)))||{},f={ref:xw(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(d2,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(gl,Object.assign({},eo(this.$props,UW),n),{trigger:()=>{var o,r;return(r=(o=this.$slots).default)===null||r===void 0?void 0:r.call(o)}})}}),f2="_n_all__",h2="_n_none__";function WW(e,t,n,o){return e?r=>{for(const i of e)switch(r){case f2:n(!0);return;case h2:o(!0);return;default:if(typeof i=="object"&&i.key===r){i.onSelect(t.value);return}}}:()=>{}}function qW(e,t){return e?e.map(n=>{switch(n){case"all":return{label:t.checkTableAll,key:f2};case"none":return{label:t.uncheckTableAll,key:h2};default:return n}}):[]}const KW=Ce({name:"DataTableSelectionMenu",props:{clsPrefix:{type:String,required:!0}},setup(e){const{props:t,localeRef:n,checkOptionsRef:o,rawPaginatedDataRef:r,doCheckAll:i,doUncheckAll:a}=Ve(Mo),s=O(()=>WW(o.value,r,i,a)),l=O(()=>qW(o.value,n.value));return()=>{var c,u,d,f;const{clsPrefix:h}=e;return v(zm,{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(Wt,{clsPrefix:h,class:`${h}-data-table-check-extra`},{default:()=>v(q_,null)})})}}});function uf(e){return typeof e.title=="function"?e.title(e):e.title}const p2=Ce({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:h,headerCheckboxDisabledRef:p,onUnstableColumnResize:g,doUpdateResizableWidth:m,handleTableHeaderScroll:b,deriveNextSorter:w,doUncheckAll:C,doCheckAll:_}=Ve(Mo),S=j({});function y(R){const q=S.value[R];return q==null?void 0:q.getBoundingClientRect().width}function x(){i.value?C():_()}function k(R,q){if(lo(R,"dataTableFilter")||lo(R,"dataTableResizable")||!cf(q))return;const L=d.value.find(F=>F.columnKey===q.key)||null,D=wW(q,L);w(D)}const P=new Map;function T(R){P.set(R.key,y(R.key))}function E(R,q){const L=P.get(R.key);if(L===void 0)return;const D=L+q,F=yW(D,R.minWidth,R.maxWidth);g(D,F,R,y),m(R,F)}return{cellElsRef:S,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:h,headerCheckboxDisabled:p,handleCheckboxUpdateChecked:x,handleColHeaderClick:k,handleTableHeaderScroll:b,handleColumnResizeStart:T,handleColumnResize:E}},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:h,headerCheckboxDisabled:p,mergedSortState:g,handleColHeaderClick:m,handleCheckboxUpdateChecked:b,handleColumnResizeStart:w,handleColumnResize:C}=this,_=v("thead",{class:`${t}-data-table-thead`,"data-n-id":d},s.map(x=>v("tr",{class:`${t}-data-table-tr`},x.map(({column:k,colSpan:P,rowSpan:T,isLast:E})=>{var R,q;const L=_o(k),{ellipsis:D}=k,F=()=>k.type==="selection"?k.multiple!==!1?v(rt,null,v(bl,{key:r,privateInsideTable:!0,checked:i,indeterminate:a,disabled:p,onUpdateChecked:b}),u?v(KW,{clsPrefix:t}):null):null:v(rt,null,v("div",{class:`${t}-data-table-th__title-wrapper`},v("div",{class:`${t}-data-table-th__title`},D===!0||D&&!D.tooltip?v("div",{class:`${t}-data-table-th__ellipsis`},uf(k)):D&&typeof D=="object"?v(Om,Object.assign({},D,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>uf(k)}):uf(k)),cf(k)?v(uW,{column:k}):null),f1(k)?v(AW,{column:k,options:k.filterOptions}):null,i2(k)?v(RW,{onResizeStart:()=>{w(k)},onResize:le=>{C(k,le)}}):null),K=L in n,V=L in o;return v("th",{ref:le=>e[L]=le,key:L,style:{textAlign:k.titleAlign||k.align,left:zn((R=n[L])===null||R===void 0?void 0:R.start),right:zn((q=o[L])===null||q===void 0?void 0:q.start)},colspan:P,rowspan:T,"data-col-key":L,class:[`${t}-data-table-th`,(K||V)&&`${t}-data-table-th--fixed-${K?"left":"right"}`,{[`${t}-data-table-th--sorting`]:a2(k,g),[`${t}-data-table-th--filterable`]:f1(k),[`${t}-data-table-th--sortable`]:cf(k),[`${t}-data-table-th--selection`]:k.type==="selection",[`${t}-data-table-th--last`]:E},k.className],onClick:k.type!=="selection"&&k.type!=="expand"&&!("children"in k)?le=>{m(le,k)}:void 0},F())}))));if(!f)return _;const{handleTableHeaderScroll:S,scrollX:y}=this;return v("div",{class:`${t}-data-table-base-table-header`,onScroll:S},v("table",{ref:"body",class:`${t}-data-table-table`,style:{minWidth:qt(y),tableLayout:h}},v("colgroup",null,l.map(x=>v("col",{key:x.key,style:x.style}))),_))}}),GW=Ce({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($h(o,s),o,n):$h(o,s),l)if(typeof l=="object"){const{mergedTheme:c}=this;return n.ellipsisComponent==="performant-ellipsis"?v(sW,Object.assign({},l,{theme:c.peers.Ellipsis,themeOverrides:c.peerOverrides.Ellipsis}),{default:()=>i}):v(Om,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}}),m1=Ce({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(Ki,null,{default:()=>this.loading?v(oi,{key:"loading",clsPrefix:this.clsPrefix,radius:85,strokeWidth:15,scale:.88}):this.renderExpandIcon?this.renderExpandIcon({expanded:this.expanded}):v(Wt,{clsPrefix:e,key:"base-icon"},{default:()=>v(vm,null)})}))}}),XW=Ce({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}=Ve(Mo);return()=>{const{rowKey:o}=e;return v(bl,{privateInsideTable:!0,disabled:e.disabled,indeterminate:n.value.has(o),checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}}),YW=Ce({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}=Ve(Mo);return()=>{const{rowKey:o}=e;return v(t2,{name:n,disabled:e.disabled,checked:t.value.has(o),onUpdateChecked:e.onUpdateChecked})}}});function QW(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 JW=Ce({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))}}),ZW=Ce({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:h,leftActiveFixedColKeyRef:p,leftActiveFixedChildrenColKeysRef:g,rightActiveFixedColKeyRef:m,rightActiveFixedChildrenColKeysRef:b,renderExpandRef:w,hoverKeyRef:C,summaryRef:_,mergedSortStateRef:S,virtualScrollRef:y,componentId:x,mergedTableLayoutRef:k,childTriggerColIndexRef:P,indentRef:T,rowPropsRef:E,maxHeightRef:R,stripedRef:q,loadingRef:L,onLoadRef:D,loadingKeySetRef:F,expandableRef:K,stickyExpandedRowsRef:V,renderExpandIconRef:le,summaryPlacementRef:me,treeMateRef:ee,scrollbarPropsRef:N,setHeaderScrollLeft:M,doUpdateExpandedRowKeys:Z,handleTableBodyScroll:G,doCheck:re,doUncheck:X,renderCell:ae}=Ve(Mo),B=j(null),xe=j(null),se=j(null),ge=kt(()=>l.value.length===0),$=kt(()=>e.showHeader||!ge.value),A=kt(()=>e.showHeader||ge.value);let oe="";const Se=O(()=>new Set(o.value));function ne(Le){var Be;return(Be=ee.value.getNode(Le))===null||Be===void 0?void 0:Be.rawNode}function ye(Le,Be,et){const Me=ne(Le.key);if(!Me){cr("data-table",`fail to get row data with key ${Le.key}`);return}if(et){const Xe=l.value.findIndex(gt=>gt.key===oe);if(Xe!==-1){const gt=l.value.findIndex(qe=>qe.key===Le.key),Q=Math.min(Xe,gt),we=Math.max(Xe,gt),Ie=[];l.value.slice(Q,we+1).forEach(qe=>{qe.disabled||Ie.push(qe.key)}),Be?re(Ie,!1,Me):X(Ie,Me),oe=Le.key;return}}Be?re(Le.key,!1,Me):X(Le.key,Me),oe=Le.key}function Pe(Le){const Be=ne(Le.key);if(!Be){cr("data-table",`fail to get row data with key ${Le.key}`);return}re(Le.key,!0,Be)}function I(){if(!$.value){const{value:Be}=se;return Be||null}if(y.value)return _e();const{value:Le}=B;return Le?Le.containerRef:null}function H(Le,Be){var et;if(F.value.has(Le))return;const{value:Me}=o,Xe=Me.indexOf(Le),gt=Array.from(Me);~Xe?(gt.splice(Xe,1),Z(gt)):Be&&!Be.isLeaf&&!Be.shallowLoaded?(F.value.add(Le),(et=D.value)===null||et===void 0||et.call(D,Be.rawNode).then(()=>{const{value:Q}=o,we=Array.from(Q);~we.indexOf(Le)||we.push(Le),Z(we)}).finally(()=>{F.value.delete(Le)})):(gt.push(Le),Z(gt))}function te(){C.value=null}function _e(){const{value:Le}=xe;return(Le==null?void 0:Le.listElRef)||null}function he(){const{value:Le}=xe;return(Le==null?void 0:Le.itemsElRef)||null}function de(Le){var Be;G(Le),(Be=B.value)===null||Be===void 0||Be.sync()}function ie(Le){var Be;const{onResize:et}=e;et&&et(Le),(Be=B.value)===null||Be===void 0||Be.sync()}const fe={getScrollContainer:I,scrollTo(Le,Be){var et,Me;y.value?(et=xe.value)===null||et===void 0||et.scrollTo(Le,Be):(Me=B.value)===null||Me===void 0||Me.scrollTo(Le,Be)}},Oe=W([({props:Le})=>{const Be=Me=>Me===null?null:W(`[data-n-id="${Le.componentId}"] [data-col-key="${Me}"]::after`,{boxShadow:"var(--n-box-shadow-after)"}),et=Me=>Me===null?null:W(`[data-n-id="${Le.componentId}"] [data-col-key="${Me}"]::before`,{boxShadow:"var(--n-box-shadow-before)"});return W([Be(Le.leftActiveFixedColKey),et(Le.rightActiveFixedColKey),Le.leftActiveFixedChildrenColKeys.map(Me=>Be(Me)),Le.rightActiveFixedChildrenColKeys.map(Me=>et(Me))])}]);let De=!1;return Yt(()=>{const{value:Le}=p,{value:Be}=g,{value:et}=m,{value:Me}=b;if(!De&&Le===null&&et===null)return;const Xe={leftActiveFixedColKey:Le,leftActiveFixedChildrenColKeys:Be,rightActiveFixedColKey:et,rightActiveFixedChildrenColKeys:Me,componentId:x};Oe.mount({id:`n-${x}`,force:!0,props:Xe,anchorMetaName:$a}),De=!0}),La(()=>{Oe.unmount({id:`n-${x}`})}),Object.assign({bodyWidth:n,summaryPlacement:me,dataTableSlots:t,componentId:x,scrollbarInstRef:B,virtualListRef:xe,emptyElRef:se,summary:_,mergedClsPrefix:r,mergedTheme:i,scrollX:a,cols:s,loading:L,bodyShowHeaderOnly:A,shouldDisplaySomeTablePart:$,empty:ge,paginatedDataAndInfo:O(()=>{const{value:Le}=q;let Be=!1;return{data:l.value.map(Le?(Me,Xe)=>(Me.isLeaf||(Be=!0),{tmNode:Me,key:Me.key,striped:Xe%2===1,index:Xe}):(Me,Xe)=>(Me.isLeaf||(Be=!0),{tmNode:Me,key:Me.key,striped:!1,index:Xe})),hasChildren:Be}}),rawPaginatedData:c,fixedColumnLeftMap:u,fixedColumnRightMap:d,currentPage:f,rowClassName:h,renderExpand:w,mergedExpandedRowKeySet:Se,hoverKey:C,mergedSortState:S,virtualScroll:y,mergedTableLayout:k,childTriggerColIndex:P,indent:T,rowProps:E,maxHeight:R,loadingKeySet:F,expandable:K,stickyExpandedRows:V,renderExpandIcon:le,scrollbarProps:N,setHeaderScrollLeft:M,handleVirtualListScroll:de,handleVirtualListResize:ie,handleMouseleaveTable:te,virtualListContainer:_e,virtualListContent:he,handleTableBodyScroll:G,handleCheckboxUpdateChecked:ye,handleRadioUpdateChecked:Pe,handleUpdateExpanded:H,renderCell:ae},fe)},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,h={minWidth:qt(t)||"100%"};t&&(h.width="100%");const p=v(Oo,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:h,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={},m={},{cols:b,paginatedDataAndInfo:w,mergedTheme:C,fixedColumnLeftMap:_,fixedColumnRightMap:S,currentPage:y,rowClassName:x,mergedSortState:k,mergedExpandedRowKeySet:P,stickyExpandedRows:T,componentId:E,childTriggerColIndex:R,expandable:q,rowProps:L,handleMouseleaveTable:D,renderExpand:F,summary:K,handleCheckboxUpdateChecked:V,handleRadioUpdateChecked:le,handleUpdateExpanded:me}=this,{length:ee}=b;let N;const{data:M,hasChildren:Z}=w,G=Z?QW(M,P):M;if(K){const $=K(this.rawPaginatedData);if(Array.isArray($)){const A=$.map((oe,Se)=>({isSummaryRow:!0,key:`__n_summary__${Se}`,tmNode:{rawNode:oe,disabled:!0},index:-1}));N=this.summaryPlacement==="top"?[...A,...G]:[...G,...A]}else{const A={isSummaryRow:!0,key:"__n_summary__",tmNode:{rawNode:$,disabled:!0},index:-1};N=this.summaryPlacement==="top"?[A,...G]:[...G,A]}}else N=G;const re=Z?{width:zn(this.indent)}:void 0,X=[];N.forEach($=>{F&&P.has($.key)&&(!q||q($.tmNode.rawNode))?X.push($,{isExpandedRow:!0,key:`${$.key}-expand`,tmNode:$.tmNode,index:$.index}):X.push($)});const{length:ae}=X,B={};M.forEach(({tmNode:$},A)=>{B[A]=$.key});const xe=T?this.bodyWidth:null,se=xe===null?void 0:`${xe}px`,ge=($,A,oe)=>{const{index:Se}=$;if("isExpandedRow"in $){const{tmNode:{key:ie,rawNode:fe}}=$;return v("tr",{class:`${n}-data-table-tr ${n}-data-table-tr--expanded`,key:`${ie}__expand`},v("td",{class:[`${n}-data-table-td`,`${n}-data-table-td--last-col`,A+1===ae&&`${n}-data-table-td--last-row`],colspan:ee},T?v("div",{class:`${n}-data-table-expand`,style:{width:se}},F(fe,Se)):F(fe,Se)))}const ne="isSummaryRow"in $,ye=!ne&&$.striped,{tmNode:Pe,key:I}=$,{rawNode:H}=Pe,te=P.has(I),_e=L?L(H,Se):void 0,he=typeof x=="string"?x:CW(H,Se,x);return v("tr",Object.assign({onMouseenter:()=>{this.hoverKey=I},key:I,class:[`${n}-data-table-tr`,ne&&`${n}-data-table-tr--summary`,ye&&`${n}-data-table-tr--striped`,te&&`${n}-data-table-tr--expanded`,he]},_e),b.map((ie,fe)=>{var Oe,De,Le,Be,et;if(A in g){const Lt=g[A],ke=Lt.indexOf(fe);if(~ke)return Lt.splice(ke,1),null}const{column:Me}=ie,Xe=_o(ie),{rowSpan:gt,colSpan:Q}=Me,we=ne?((Oe=$.tmNode.rawNode[Xe])===null||Oe===void 0?void 0:Oe.colSpan)||1:Q?Q(H,Se):1,Ie=ne?((De=$.tmNode.rawNode[Xe])===null||De===void 0?void 0:De.rowSpan)||1:gt?gt(H,Se):1,qe=fe+we===ee,Qe=A+Ie===ae,Je=Ie>1;if(Je&&(m[A]={[fe]:[]}),we>1||Je)for(let Lt=A;Lt<A+Ie;++Lt){Je&&m[A][fe].push(B[Lt]);for(let ke=fe;ke<fe+we;++ke)Lt===A&&ke===fe||(Lt in g?g[Lt].push(ke):g[Lt]=[ke])}const tt=Je?this.hoverKey:null,{cellProps:it}=Me,vt=it==null?void 0:it(H,Se),an={"--indent-offset":""};return v("td",Object.assign({},vt,{key:Xe,style:[{textAlign:Me.align||void 0,left:zn((Le=_[Xe])===null||Le===void 0?void 0:Le.start),right:zn((Be=S[Xe])===null||Be===void 0?void 0:Be.start)},an,(vt==null?void 0:vt.style)||""],colspan:we,rowspan:oe?void 0:Ie,"data-col-key":Xe,class:[`${n}-data-table-td`,Me.className,vt==null?void 0:vt.class,ne&&`${n}-data-table-td--summary`,tt!==null&&m[A][fe].includes(tt)&&`${n}-data-table-td--hover`,a2(Me,k)&&`${n}-data-table-td--sorting`,Me.fixed&&`${n}-data-table-td--fixed-${Me.fixed}`,Me.align&&`${n}-data-table-td--${Me.align}-align`,Me.type==="selection"&&`${n}-data-table-td--selection`,Me.type==="expand"&&`${n}-data-table-td--expand`,qe&&`${n}-data-table-td--last-col`,Qe&&`${n}-data-table-td--last-row`]}),Z&&fe===R?[bw(an["--indent-offset"]=ne?0:$.tmNode.level,v("div",{class:`${n}-data-table-indent`,style:re})),ne||$.tmNode.isLeaf?v("div",{class:`${n}-data-table-expand-placeholder`}):v(m1,{class:`${n}-data-table-expand-trigger`,clsPrefix:n,expanded:te,renderExpandIcon:this.renderExpandIcon,loading:s.has($.key),onClick:()=>{me(I,$.tmNode)}})]:null,Me.type==="selection"?ne?null:Me.multiple===!1?v(YW,{key:y,rowKey:I,disabled:$.tmNode.disabled,onUpdateChecked:()=>{le($.tmNode)}}):v(XW,{key:y,rowKey:I,disabled:$.tmNode.disabled,onUpdateChecked:(Lt,ke)=>{V($.tmNode,Lt,ke.shiftKey)}}):Me.type==="expand"?ne?null:!Me.expandable||!((et=Me.expandable)===null||et===void 0)&&et.call(Me,H)?v(m1,{clsPrefix:n,expanded:te,renderExpandIcon:this.renderExpandIcon,onClick:()=>{me(I,null)}}):null:v(GW,{clsPrefix:n,index:Se,row:H,column:Me,isSummary:ne,mergedTheme:C,renderCell:this.renderCell}))}))};return o?v(Vw,{ref:"virtualListRef",items:X,itemSize:28,visibleItemsTag:JW,visibleItemsProps:{clsPrefix:n,id:E,cols:b,onMouseleave:D},showScrollbar:!1,onResize:this.handleVirtualListResize,onScroll:this.handleVirtualListScroll,itemsStyle:h,itemResizable:!0},{default:({item:$,index:A})=>ge($,A,!0)}):v("table",{class:`${n}-data-table-table`,onMouseleave:D,style:{tableLayout:this.mergedTableLayout}},v("colgroup",null,b.map($=>v("col",{key:$.key,style:$.style}))),this.showHeader?v(p2,{discrete:!1}):null,this.empty?null:v("tbody",{"data-n-id":E,class:`${n}-data-table-tbody`},X.map(($,A)=>ge($,A,!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"},$n(this.dataTableSlots.empty,()=>[v(J_,{theme:this.mergedTheme.peers.Empty,themeOverrides:this.mergedTheme.peerOverrides.Empty})]));return this.shouldDisplaySomeTablePart?v(rt,null,p,g()):v(ur,{onResize:this.onResize},{default:g})}return p}}),eq=Ce({name:"MainTable",setup(){const{mergedClsPrefixRef:e,rightFixedColumnsRef:t,leftFixedColumnsRef:n,bodyWidthRef:o,maxHeightRef:r,minHeightRef:i,flexHeightRef:a,syncScrollState:s}=Ve(Mo),l=j(null),c=j(null),u=j(null),d=j(!(n.value.length||t.value.length)),f=O(()=>({maxHeight:qt(r.value),minHeight:qt(i.value)}));function h(b){o.value=b.contentRect.width,s(),d.value||(d.value=!0)}function p(){const{value:b}=l;return b?b.$el:null}function g(){const{value:b}=c;return b?b.getScrollContainer():null}const m={getBodyElement:g,getHeaderElement:p,scrollTo(b,w){var C;(C=c.value)===null||C===void 0||C.scrollTo(b,w)}};return Yt(()=>{const{value:b}=u;if(!b)return;const w=`${e.value}-data-table-base-table--transition-disabled`;d.value?setTimeout(()=>{b.classList.remove(w)},0):b.classList.add(w)}),Object.assign({maxHeight:r,mergedClsPrefix:e,selfElRef:u,headerInstRef:l,bodyInstRef:c,bodyStyle:f,flexHeight:a,handleBodyResize:h},m)},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(p2,{ref:"headerInstRef"}),v(ZW,{ref:"bodyInstRef",bodyStyle:this.bodyStyle,showHeader:o,flexHeight:n,onResize:this.handleBodyResize}))}});function tq(e,t){const{paginatedDataRef:n,treeMateRef:o,selectionColumnRef:r}=t,i=j(e.defaultCheckedRowKeys),a=O(()=>{var S;const{checkedRowKeys:y}=e,x=y===void 0?i.value:y;return((S=r.value)===null||S===void 0?void 0:S.multiple)===!1?{checkedKeys:x.slice(0,1),indeterminateKeys:[]}:o.value.getCheckedKeys(x,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded})}),s=O(()=>a.value.checkedKeys),l=O(()=>a.value.indeterminateKeys),c=O(()=>new Set(s.value)),u=O(()=>new Set(l.value)),d=O(()=>{const{value:S}=c;return n.value.reduce((y,x)=>{const{key:k,disabled:P}=x;return y+(!P&&S.has(k)?1:0)},0)}),f=O(()=>n.value.filter(S=>S.disabled).length),h=O(()=>{const{length:S}=n.value,{value:y}=u;return d.value>0&&d.value<S-f.value||n.value.some(x=>y.has(x.key))}),p=O(()=>{const{length:S}=n.value;return d.value!==0&&d.value===S-f.value}),g=O(()=>n.value.length===0);function m(S,y,x){const{"onUpdate:checkedRowKeys":k,onUpdateCheckedRowKeys:P,onCheckedRowKeysChange:T}=e,E=[],{value:{getNode:R}}=o;S.forEach(q=>{var L;const D=(L=R(q))===null||L===void 0?void 0:L.rawNode;E.push(D)}),k&&$e(k,S,E,{row:y,action:x}),P&&$e(P,S,E,{row:y,action:x}),T&&$e(T,S,E,{row:y,action:x}),i.value=S}function b(S,y=!1,x){if(!e.loading){if(y){m(Array.isArray(S)?S.slice(0,1):[S],x,"check");return}m(o.value.check(S,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,x,"check")}}function w(S,y){e.loading||m(o.value.uncheck(S,s.value,{cascade:e.cascade,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,y,"uncheck")}function C(S=!1){const{value:y}=r;if(!y||e.loading)return;const x=[];(S?o.value.treeNodes:n.value).forEach(k=>{k.disabled||x.push(k.key)}),m(o.value.check(x,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"checkAll")}function _(S=!1){const{value:y}=r;if(!y||e.loading)return;const x=[];(S?o.value.treeNodes:n.value).forEach(k=>{k.disabled||x.push(k.key)}),m(o.value.uncheck(x,s.value,{cascade:!0,allowNotLoaded:e.allowCheckingNotLoaded}).checkedKeys,void 0,"uncheckAll")}return{mergedCheckedRowKeySetRef:c,mergedCheckedRowKeysRef:s,mergedInderminateRowKeySetRef:u,someRowsCheckedRef:h,allRowsCheckedRef:p,headerCheckboxDisabledRef:g,doUpdateCheckedRowKeys:m,doCheckAll:C,doUncheckAll:_,doCheck:b,doUncheck:w}}function Kl(e){return typeof e=="object"&&typeof e.multiple=="number"?e.multiple:!1}function nq(e,t){return t&&(e===void 0||e==="default"||typeof e=="object"&&e.compare==="default")?oq(t):typeof e=="function"?e:e&&typeof e=="object"&&e.compare&&e.compare!=="default"?e.compare:!1}function oq(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 rq(e,{dataRelatedColsRef:t,filteredDataRef:n}){const o=[];t.value.forEach(h=>{var p;h.sorter!==void 0&&f(o,{columnKey:h.key,sorter:h.sorter,order:(p=h.defaultSortOrder)!==null&&p!==void 0?p:!1})});const r=j(o),i=O(()=>{const h=t.value.filter(m=>m.type!=="selection"&&m.sorter!==void 0&&(m.sortOrder==="ascend"||m.sortOrder==="descend"||m.sortOrder===!1)),p=h.filter(m=>m.sortOrder!==!1);if(p.length)return p.map(m=>({columnKey:m.key,order:m.sortOrder,sorter:m.sorter}));if(h.length)return[];const{value:g}=r;return Array.isArray(g)?g:g?[g]:[]}),a=O(()=>{const h=i.value.slice().sort((p,g)=>{const m=Kl(p.sorter)||0;return(Kl(g.sorter)||0)-m});return h.length?n.value.slice().sort((g,m)=>{let b=0;return h.some(w=>{const{columnKey:C,sorter:_,order:S}=w,y=nq(_,C);return y&&S&&(b=y(g.rawNode,m.rawNode),b!==0)?(b=b*bW(S),!0):!1}),b}):n.value});function s(h){let p=i.value.slice();return h&&Kl(h.sorter)!==!1?(p=p.filter(g=>Kl(g.sorter)!==!1),f(p,h),p):h||null}function l(h){const p=s(h);c(p)}function c(h){const{"onUpdate:sorter":p,onUpdateSorter:g,onSorterChange:m}=e;p&&$e(p,h),g&&$e(g,h),m&&$e(m,h),r.value=h}function u(h,p="ascend"){if(!h)d();else{const g=t.value.find(b=>b.type!=="selection"&&b.type!=="expand"&&b.key===h);if(!(g!=null&&g.sorter))return;const m=g.sorter;l({columnKey:h,sorter:m,order:p})}}function d(){c(null)}function f(h,p){const g=h.findIndex(m=>(p==null?void 0:p.columnKey)&&m.columnKey===p.columnKey);g!==void 0&&g>=0?h[g]=p:h.push(p)}return{clearSorter:d,sort:u,sortedDataRef:a,mergedSortStateRef:i,deriveNextSorter:l}}function iq(e,{dataRelatedColsRef:t}){const n=O(()=>{const ee=N=>{for(let M=0;M<N.length;++M){const Z=N[M];if("children"in Z)return ee(Z.children);if(Z.type==="selection")return Z}return null};return ee(e.columns)}),o=O(()=>{const{childrenKey:ee}=e;return Ai(e.data,{ignoreEmptyChildren:!0,getKey:e.rowKey,getChildren:N=>N[ee],getDisabled:N=>{var M,Z;return!!(!((Z=(M=n.value)===null||M===void 0?void 0:M.disabled)===null||Z===void 0)&&Z.call(M,N))}})}),r=kt(()=>{const{columns:ee}=e,{length:N}=ee;let M=null;for(let Z=0;Z<N;++Z){const G=ee[Z];if(!G.type&&M===null&&(M=Z),"tree"in G&&G.tree)return Z}return M||0}),i=j({}),{pagination:a}=e,s=j(a&&a.defaultPage||1),l=j(jS(a)),c=O(()=>{const ee=t.value.filter(Z=>Z.filterOptionValues!==void 0||Z.filterOptionValue!==void 0),N={};return ee.forEach(Z=>{var G;Z.type==="selection"||Z.type==="expand"||(Z.filterOptionValues===void 0?N[Z.key]=(G=Z.filterOptionValue)!==null&&G!==void 0?G:null:N[Z.key]=Z.filterOptionValues)}),Object.assign(d1(i.value),N)}),u=O(()=>{const ee=c.value,{columns:N}=e;function M(re){return(X,ae)=>!!~String(ae[re]).indexOf(String(X))}const{value:{treeNodes:Z}}=o,G=[];return N.forEach(re=>{re.type==="selection"||re.type==="expand"||"children"in re||G.push([re.key,re])}),Z?Z.filter(re=>{const{rawNode:X}=re;for(const[ae,B]of G){let xe=ee[ae];if(xe==null||(Array.isArray(xe)||(xe=[xe]),!xe.length))continue;const se=B.filter==="default"?M(ae):B.filter;if(B&&typeof se=="function")if(B.filterMode==="and"){if(xe.some(ge=>!se(ge,X)))return!1}else{if(xe.some(ge=>se(ge,X)))continue;return!1}}return!0}):[]}),{sortedDataRef:d,deriveNextSorter:f,mergedSortStateRef:h,sort:p,clearSorter:g}=rq(e,{dataRelatedColsRef:t,filteredDataRef:u});t.value.forEach(ee=>{var N;if(ee.filter){const M=ee.defaultFilterOptionValues;ee.filterMultiple?i.value[ee.key]=M||[]:M!==void 0?i.value[ee.key]=M===null?[]:M:i.value[ee.key]=(N=ee.defaultFilterOptionValue)!==null&&N!==void 0?N:null}});const m=O(()=>{const{pagination:ee}=e;if(ee!==!1)return ee.page}),b=O(()=>{const{pagination:ee}=e;if(ee!==!1)return ee.pageSize}),w=rn(m,s),C=rn(b,l),_=kt(()=>{const ee=w.value;return e.remote?ee:Math.max(1,Math.min(Math.ceil(u.value.length/C.value),ee))}),S=O(()=>{const{pagination:ee}=e;if(ee){const{pageCount:N}=ee;if(N!==void 0)return N}}),y=O(()=>{if(e.remote)return o.value.treeNodes;if(!e.pagination)return d.value;const ee=C.value,N=(_.value-1)*ee;return d.value.slice(N,N+ee)}),x=O(()=>y.value.map(ee=>ee.rawNode));function k(ee){const{pagination:N}=e;if(N){const{onChange:M,"onUpdate:page":Z,onUpdatePage:G}=N;M&&$e(M,ee),G&&$e(G,ee),Z&&$e(Z,ee),R(ee)}}function P(ee){const{pagination:N}=e;if(N){const{onPageSizeChange:M,"onUpdate:pageSize":Z,onUpdatePageSize:G}=N;M&&$e(M,ee),G&&$e(G,ee),Z&&$e(Z,ee),q(ee)}}const T=O(()=>{if(e.remote){const{pagination:ee}=e;if(ee){const{itemCount:N}=ee;if(N!==void 0)return N}return}return u.value.length}),E=O(()=>Object.assign(Object.assign({},e.pagination),{onChange:void 0,onUpdatePage:void 0,onUpdatePageSize:void 0,onPageSizeChange:void 0,"onUpdate:page":k,"onUpdate:pageSize":P,page:_.value,pageSize:C.value,pageCount:T.value===void 0?S.value:void 0,itemCount:T.value}));function R(ee){const{"onUpdate:page":N,onPageChange:M,onUpdatePage:Z}=e;Z&&$e(Z,ee),N&&$e(N,ee),M&&$e(M,ee),s.value=ee}function q(ee){const{"onUpdate:pageSize":N,onPageSizeChange:M,onUpdatePageSize:Z}=e;M&&$e(M,ee),Z&&$e(Z,ee),N&&$e(N,ee),l.value=ee}function L(ee,N){const{onUpdateFilters:M,"onUpdate:filters":Z,onFiltersChange:G}=e;M&&$e(M,ee,N),Z&&$e(Z,ee,N),G&&$e(G,ee,N),i.value=ee}function D(ee,N,M,Z){var G;(G=e.onUnstableColumnResize)===null||G===void 0||G.call(e,ee,N,M,Z)}function F(ee){R(ee)}function K(){V()}function V(){le({})}function le(ee){me(ee)}function me(ee){ee?ee&&(i.value=d1(ee)):i.value={}}return{treeMateRef:o,mergedCurrentPageRef:_,mergedPaginationRef:E,paginatedDataRef:y,rawPaginatedDataRef:x,mergedFilterStateRef:c,mergedSortStateRef:h,hoverKeyRef:j(null),selectionColumnRef:n,childTriggerColIndexRef:r,doUpdateFilters:L,deriveNextSorter:f,doUpdatePageSize:q,doUpdatePage:R,onUnstableColumnResize:D,filter:me,filters:le,clearFilter:K,clearFilters:V,clearSorter:g,page:F,sort:p}}function aq(e,{mainTableInstRef:t,mergedCurrentPageRef:n,bodyWidthRef:o}){let r=0;const i=j(),a=j(null),s=j([]),l=j(null),c=j([]),u=O(()=>qt(e.scrollX)),d=O(()=>e.columns.filter(P=>P.fixed==="left")),f=O(()=>e.columns.filter(P=>P.fixed==="right")),h=O(()=>{const P={};let T=0;function E(R){R.forEach(q=>{const L={start:T,end:0};P[_o(q)]=L,"children"in q?(E(q.children),L.end=T):(T+=u1(q)||0,L.end=T)})}return E(d.value),P}),p=O(()=>{const P={};let T=0;function E(R){for(let q=R.length-1;q>=0;--q){const L=R[q],D={start:T,end:0};P[_o(L)]=D,"children"in L?(E(L.children),D.end=T):(T+=u1(L)||0,D.end=T)}}return E(f.value),P});function g(){var P,T;const{value:E}=d;let R=0;const{value:q}=h;let L=null;for(let D=0;D<E.length;++D){const F=_o(E[D]);if(r>(((P=q[F])===null||P===void 0?void 0:P.start)||0)-R)L=F,R=((T=q[F])===null||T===void 0?void 0:T.end)||0;else break}a.value=L}function m(){s.value=[];let P=e.columns.find(T=>_o(T)===a.value);for(;P&&"children"in P;){const T=P.children.length;if(T===0)break;const E=P.children[T-1];s.value.push(_o(E)),P=E}}function b(){var P,T;const{value:E}=f,R=Number(e.scrollX),{value:q}=o;if(q===null)return;let L=0,D=null;const{value:F}=p;for(let K=E.length-1;K>=0;--K){const V=_o(E[K]);if(Math.round(r+(((P=F[V])===null||P===void 0?void 0:P.start)||0)+q-L)<R)D=V,L=((T=F[V])===null||T===void 0?void 0:T.end)||0;else break}l.value=D}function w(){c.value=[];let P=e.columns.find(T=>_o(T)===l.value);for(;P&&"children"in P&&P.children.length;){const T=P.children[0];c.value.push(_o(T)),P=T}}function C(){const P=t.value?t.value.getHeaderElement():null,T=t.value?t.value.getBodyElement():null;return{header:P,body:T}}function _(){const{body:P}=C();P&&(P.scrollTop=0)}function S(){i.value!=="body"?Oc(x):i.value=void 0}function y(P){var T;(T=e.onScroll)===null||T===void 0||T.call(e,P),i.value!=="head"?Oc(x):i.value=void 0}function x(){const{header:P,body:T}=C();if(!T)return;const{value:E}=o;if(E!==null){if(e.maxHeight||e.flexHeight){if(!P)return;const R=r-P.scrollLeft;i.value=R!==0?"head":"body",i.value==="head"?(r=P.scrollLeft,T.scrollLeft=r):(r=T.scrollLeft,P.scrollLeft=r)}else r=T.scrollLeft;g(),m(),b(),w()}}function k(P){const{header:T}=C();T&&(T.scrollLeft=P,x())}return ut(n,()=>{_()}),{styleScrollXRef:u,fixedColumnLeftMapRef:h,fixedColumnRightMapRef:p,leftFixedColumnsRef:d,rightFixedColumnsRef:f,leftActiveFixedColKeyRef:a,leftActiveFixedChildrenColKeysRef:s,rightActiveFixedColKeyRef:l,rightActiveFixedChildrenColKeysRef:c,syncScrollState:x,handleTableBodyScroll:y,handleTableHeaderScroll:S,setHeaderScrollLeft:k}}function sq(){const e=j({});function t(r){return e.value[r]}function n(r,i){i2(r)&&"key"in r&&(e.value[r.key]=i)}function o(){e.value={}}return{getResizableWidth:t,doUpdateResizableWidth:n,clearResizableWidth:o}}function lq(e,t){const n=[],o=[],r=[],i=new WeakMap;let a=-1,s=0,l=!1;function c(f,h){h>a&&(n[h]=[],a=h);for(const p of f)if("children"in p)c(p.children,h+1);else{const g="key"in p?p.key:void 0;o.push({key:_o(p),style:xW(p,g!==void 0?qt(t(g)):void 0),column:p}),s+=1,l||(l=!!p.ellipsis),r.push(p)}}c(e,0);let u=0;function d(f,h){let p=0;f.forEach(g=>{var m;if("children"in g){const b=u,w={column:g,colSpan:0,rowSpan:1,isLast:!1};d(g.children,h+1),g.children.forEach(C=>{var _,S;w.colSpan+=(S=(_=i.get(C))===null||_===void 0?void 0:_.colSpan)!==null&&S!==void 0?S:0}),b+w.colSpan===s&&(w.isLast=!0),i.set(g,w),n[h].push(w)}else{if(u<p){u+=1;return}let b=1;"titleColSpan"in g&&(b=(m=g.titleColSpan)!==null&&m!==void 0?m:1),b>1&&(p=u+b);const w=u+b===s,C={column:g,colSpan:b,rowSpan:a-h+1,isLast:w};i.set(g,C),n[h].push(C),u+=1}})}return d(e,0),{hasEllipsis:l,rows:n,cols:o,dataRelatedCols:r}}function cq(e,t){const n=O(()=>lq(e.columns,t));return{rowsRef:O(()=>n.value.rows),colsRef:O(()=>n.value.cols),hasEllipsisRef:O(()=>n.value.hasEllipsis),dataRelatedColsRef:O(()=>n.value.dataRelatedCols)}}function uq(e,t){const n=kt(()=>{for(const c of e.columns)if(c.type==="expand")return c.renderExpand}),o=kt(()=>{let c;for(const u of e.columns)if(u.type==="expand"){c=u.expandable;break}return c}),r=j(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=rn(i,r);function l(c){const{onUpdateExpandedRowKeys:u,"onUpdate:expandedRowKeys":d}=e;u&&$e(u,c),d&&$e(d,c),r.value=c}return{stickyExpandedRowsRef:a,mergedExpandedRowKeysRef:s,renderExpandRef:n,expandableRef:o,doUpdateExpandedRowKeys:l}}const g1=fq(),dq=W([z("data-table",`
|
||
width: 100%;
|
||
font-size: var(--n-font-size);
|
||
display: flex;
|
||
flex-direction: column;
|
||
position: relative;
|
||
--n-merged-th-color: var(--n-th-color);
|
||
--n-merged-td-color: var(--n-td-color);
|
||
--n-merged-border-color: var(--n-border-color);
|
||
--n-merged-th-color-sorting: var(--n-th-color-sorting);
|
||
--n-merged-td-color-hover: var(--n-td-color-hover);
|
||
--n-merged-td-color-sorting: var(--n-td-color-sorting);
|
||
--n-merged-td-color-striped: var(--n-td-color-striped);
|
||
`,[z("data-table-wrapper",`
|
||
flex-grow: 1;
|
||
display: flex;
|
||
flex-direction: column;
|
||
`),J("flex-height",[W(">",[z("data-table-wrapper",[W(">",[z("data-table-base-table",`
|
||
display: flex;
|
||
flex-direction: column;
|
||
flex-grow: 1;
|
||
`,[W(">",[z("data-table-base-table-body","flex-basis: 0;",[W("&:last-child","flex-grow: 1;")])])])])])])]),W(">",[z("data-table-loading-wrapper",`
|
||
color: var(--n-loading-color);
|
||
font-size: var(--n-loading-size);
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
transition: color .3s var(--n-bezier);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
`,[Ga({originalTransform:"translateX(-50%) translateY(-50%)"})])]),z("data-table-expand-placeholder",`
|
||
margin-right: 8px;
|
||
display: inline-block;
|
||
width: 16px;
|
||
height: 1px;
|
||
`),z("data-table-indent",`
|
||
display: inline-block;
|
||
height: 1px;
|
||
`),z("data-table-expand-trigger",`
|
||
display: inline-flex;
|
||
margin-right: 8px;
|
||
cursor: pointer;
|
||
font-size: 16px;
|
||
vertical-align: -0.2em;
|
||
position: relative;
|
||
width: 16px;
|
||
height: 16px;
|
||
color: var(--n-td-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`,[J("expanded",[z("icon","transform: rotate(90deg);",[Kn({originalTransform:"rotate(90deg)"})]),z("base-icon","transform: rotate(90deg);",[Kn({originalTransform:"rotate(90deg)"})])]),z("base-loading",`
|
||
color: var(--n-loading-color);
|
||
transition: color .3s var(--n-bezier);
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`,[Kn()]),z("icon",`
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`,[Kn()]),z("base-icon",`
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`,[Kn()])]),z("data-table-thead",`
|
||
transition: background-color .3s var(--n-bezier);
|
||
background-color: var(--n-merged-th-color);
|
||
`),z("data-table-tr",`
|
||
box-sizing: border-box;
|
||
background-clip: padding-box;
|
||
transition: background-color .3s var(--n-bezier);
|
||
`,[z("data-table-expand",`
|
||
position: sticky;
|
||
left: 0;
|
||
overflow: hidden;
|
||
margin: calc(var(--n-th-padding) * -1);
|
||
padding: var(--n-th-padding);
|
||
box-sizing: border-box;
|
||
`),J("striped","background-color: var(--n-merged-td-color-striped);",[z("data-table-td","background-color: var(--n-merged-td-color-striped);")]),At("summary",[W("&:hover","background-color: var(--n-merged-td-color-hover);",[W(">",[z("data-table-td","background-color: var(--n-merged-td-color-hover);")])])])]),z("data-table-th",`
|
||
padding: var(--n-th-padding);
|
||
position: relative;
|
||
text-align: start;
|
||
box-sizing: border-box;
|
||
background-color: var(--n-merged-th-color);
|
||
border-color: var(--n-merged-border-color);
|
||
border-bottom: 1px solid var(--n-merged-border-color);
|
||
color: var(--n-th-text-color);
|
||
transition:
|
||
border-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
font-weight: var(--n-th-font-weight);
|
||
`,[J("filterable",`
|
||
padding-right: 36px;
|
||
`,[J("sortable",`
|
||
padding-right: calc(var(--n-th-padding) + 36px);
|
||
`)]),g1,J("selection",`
|
||
padding: 0;
|
||
text-align: center;
|
||
line-height: 0;
|
||
z-index: 3;
|
||
`),U("title-wrapper",`
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: nowrap;
|
||
max-width: 100%;
|
||
`,[U("title",`
|
||
flex: 1;
|
||
min-width: 0;
|
||
`)]),U("ellipsis",`
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
text-overflow: ellipsis;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
max-width: 100%;
|
||
`),J("hover",`
|
||
background-color: var(--n-merged-th-color-hover);
|
||
`),J("sorting",`
|
||
background-color: var(--n-merged-th-color-sorting);
|
||
`),J("sortable",`
|
||
cursor: pointer;
|
||
`,[U("ellipsis",`
|
||
max-width: calc(100% - 18px);
|
||
`),W("&:hover",`
|
||
background-color: var(--n-merged-th-color-hover);
|
||
`)]),z("data-table-sorter",`
|
||
height: var(--n-sorter-size);
|
||
width: var(--n-sorter-size);
|
||
margin-left: 4px;
|
||
position: relative;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
vertical-align: -0.2em;
|
||
color: var(--n-th-icon-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`,[z("base-icon","transition: transform .3s var(--n-bezier)"),J("desc",[z("base-icon",`
|
||
transform: rotate(0deg);
|
||
`)]),J("asc",[z("base-icon",`
|
||
transform: rotate(-180deg);
|
||
`)]),J("asc, desc",`
|
||
color: var(--n-th-icon-color-active);
|
||
`)]),z("data-table-resize-button",`
|
||
width: var(--n-resizable-container-size);
|
||
position: absolute;
|
||
top: 0;
|
||
right: calc(var(--n-resizable-container-size) / 2);
|
||
bottom: 0;
|
||
cursor: col-resize;
|
||
user-select: none;
|
||
`,[W("&::after",`
|
||
width: var(--n-resizable-size);
|
||
height: 50%;
|
||
position: absolute;
|
||
top: 50%;
|
||
left: calc(var(--n-resizable-container-size) / 2);
|
||
bottom: 0;
|
||
background-color: var(--n-merged-border-color);
|
||
transform: translateY(-50%);
|
||
transition: background-color .3s var(--n-bezier);
|
||
z-index: 1;
|
||
content: '';
|
||
`),J("active",[W("&::after",`
|
||
background-color: var(--n-th-icon-color-active);
|
||
`)]),W("&:hover::after",`
|
||
background-color: var(--n-th-icon-color-active);
|
||
`)]),z("data-table-filter",`
|
||
position: absolute;
|
||
z-index: auto;
|
||
right: 0;
|
||
width: 36px;
|
||
top: 0;
|
||
bottom: 0;
|
||
cursor: pointer;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
font-size: var(--n-filter-size);
|
||
color: var(--n-th-icon-color);
|
||
`,[W("&:hover",`
|
||
background-color: var(--n-th-button-color-hover);
|
||
`),J("show",`
|
||
background-color: var(--n-th-button-color-hover);
|
||
`),J("active",`
|
||
background-color: var(--n-th-button-color-hover);
|
||
color: var(--n-th-icon-color-active);
|
||
`)])]),z("data-table-td",`
|
||
padding: var(--n-td-padding);
|
||
text-align: start;
|
||
box-sizing: border-box;
|
||
border: none;
|
||
background-color: var(--n-merged-td-color);
|
||
color: var(--n-td-text-color);
|
||
border-bottom: 1px solid var(--n-merged-border-color);
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`,[J("expand",[z("data-table-expand-trigger",`
|
||
margin-right: 0;
|
||
`)]),J("last-row",`
|
||
border-bottom: 0 solid var(--n-merged-border-color);
|
||
`,[W("&::after",`
|
||
bottom: 0 !important;
|
||
`),W("&::before",`
|
||
bottom: 0 !important;
|
||
`)]),J("summary",`
|
||
background-color: var(--n-merged-th-color);
|
||
`),J("hover",`
|
||
background-color: var(--n-merged-td-color-hover);
|
||
`),J("sorting",`
|
||
background-color: var(--n-merged-td-color-sorting);
|
||
`),U("ellipsis",`
|
||
display: inline-block;
|
||
text-overflow: ellipsis;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
max-width: 100%;
|
||
vertical-align: bottom;
|
||
max-width: calc(100% - var(--indent-offset, -1.5) * 16px - 24px);
|
||
`),J("selection, expand",`
|
||
text-align: center;
|
||
padding: 0;
|
||
line-height: 0;
|
||
`),g1]),z("data-table-empty",`
|
||
box-sizing: border-box;
|
||
padding: var(--n-empty-padding);
|
||
flex-grow: 1;
|
||
flex-shrink: 0;
|
||
opacity: 1;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition: opacity .3s var(--n-bezier);
|
||
`,[J("hide",`
|
||
opacity: 0;
|
||
`)]),U("pagination",`
|
||
margin: var(--n-pagination-margin);
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
`),z("data-table-wrapper",`
|
||
position: relative;
|
||
opacity: 1;
|
||
transition: opacity .3s var(--n-bezier), border-color .3s var(--n-bezier);
|
||
border-top-left-radius: var(--n-border-radius);
|
||
border-top-right-radius: var(--n-border-radius);
|
||
line-height: var(--n-line-height);
|
||
`),J("loading",[z("data-table-wrapper",`
|
||
opacity: var(--n-opacity-loading);
|
||
pointer-events: none;
|
||
`)]),J("single-column",[z("data-table-td",`
|
||
border-bottom: 0 solid var(--n-merged-border-color);
|
||
`,[W("&::after, &::before",`
|
||
bottom: 0 !important;
|
||
`)])]),At("single-line",[z("data-table-th",`
|
||
border-right: 1px solid var(--n-merged-border-color);
|
||
`,[J("last",`
|
||
border-right: 0 solid var(--n-merged-border-color);
|
||
`)]),z("data-table-td",`
|
||
border-right: 1px solid var(--n-merged-border-color);
|
||
`,[J("last-col",`
|
||
border-right: 0 solid var(--n-merged-border-color);
|
||
`)])]),J("bordered",[z("data-table-wrapper",`
|
||
border: 1px solid var(--n-merged-border-color);
|
||
border-bottom-left-radius: var(--n-border-radius);
|
||
border-bottom-right-radius: var(--n-border-radius);
|
||
overflow: hidden;
|
||
`)]),z("data-table-base-table",[J("transition-disabled",[z("data-table-th",[W("&::after, &::before","transition: none;")]),z("data-table-td",[W("&::after, &::before","transition: none;")])])]),J("bottom-bordered",[z("data-table-td",[J("last-row",`
|
||
border-bottom: 1px solid var(--n-merged-border-color);
|
||
`)])]),z("data-table-table",`
|
||
font-variant-numeric: tabular-nums;
|
||
width: 100%;
|
||
word-break: break-word;
|
||
transition: background-color .3s var(--n-bezier);
|
||
border-collapse: separate;
|
||
border-spacing: 0;
|
||
background-color: var(--n-merged-td-color);
|
||
`),z("data-table-base-table-header",`
|
||
border-top-left-radius: calc(var(--n-border-radius) - 1px);
|
||
border-top-right-radius: calc(var(--n-border-radius) - 1px);
|
||
z-index: 3;
|
||
overflow: scroll;
|
||
flex-shrink: 0;
|
||
transition: border-color .3s var(--n-bezier);
|
||
scrollbar-width: none;
|
||
`,[W("&::-webkit-scrollbar",`
|
||
width: 0;
|
||
height: 0;
|
||
`)]),z("data-table-check-extra",`
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-th-icon-color);
|
||
position: absolute;
|
||
font-size: 14px;
|
||
right: -4px;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
z-index: 1;
|
||
`)]),z("data-table-filter-menu",[z("scrollbar",`
|
||
max-height: 240px;
|
||
`),U("group",`
|
||
display: flex;
|
||
flex-direction: column;
|
||
padding: 12px 12px 0 12px;
|
||
`,[z("checkbox",`
|
||
margin-bottom: 12px;
|
||
margin-right: 0;
|
||
`),z("radio",`
|
||
margin-bottom: 12px;
|
||
margin-right: 0;
|
||
`)]),U("action",`
|
||
padding: var(--n-action-padding);
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
justify-content: space-evenly;
|
||
border-top: 1px solid var(--n-action-divider-color);
|
||
`,[z("button",[W("&:not(:last-child)",`
|
||
margin: var(--n-action-button-margin);
|
||
`),W("&:last-child",`
|
||
margin-right: 0;
|
||
`)])]),z("divider",`
|
||
margin: 0 !important;
|
||
`)]),cl(z("data-table",`
|
||
--n-merged-th-color: var(--n-th-color-modal);
|
||
--n-merged-td-color: var(--n-td-color-modal);
|
||
--n-merged-border-color: var(--n-border-color-modal);
|
||
--n-merged-th-color-hover: var(--n-th-color-hover-modal);
|
||
--n-merged-td-color-hover: var(--n-td-color-hover-modal);
|
||
--n-merged-th-color-sorting: var(--n-th-color-hover-modal);
|
||
--n-merged-td-color-sorting: var(--n-td-color-hover-modal);
|
||
--n-merged-td-color-striped: var(--n-td-color-striped-modal);
|
||
`)),Au(z("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-th-color-sorting: var(--n-th-color-hover-popover);
|
||
--n-merged-td-color-sorting: var(--n-td-color-hover-popover);
|
||
--n-merged-td-color-striped: var(--n-td-color-striped-popover);
|
||
`))]);function fq(){return[J("fixed-left",`
|
||
left: 0;
|
||
position: sticky;
|
||
z-index: 2;
|
||
`,[W("&::after",`
|
||
pointer-events: none;
|
||
content: "";
|
||
width: 36px;
|
||
display: inline-block;
|
||
position: absolute;
|
||
top: 0;
|
||
bottom: -1px;
|
||
transition: box-shadow .2s var(--n-bezier);
|
||
right: -36px;
|
||
`)]),J("fixed-right",`
|
||
right: 0;
|
||
position: sticky;
|
||
z-index: 1;
|
||
`,[W("&::before",`
|
||
pointer-events: none;
|
||
content: "";
|
||
width: 36px;
|
||
display: inline-block;
|
||
position: absolute;
|
||
top: 0;
|
||
bottom: -1px;
|
||
transition: box-shadow .2s var(--n-bezier);
|
||
left: -36px;
|
||
`)])]}const Uu=Ce({name:"DataTable",alias:["AdvancedTable"],props:lW,setup(e,{slots:t}){const{mergedBorderedRef:n,mergedClsPrefixRef:o,inlineThemeDisabled:r,mergedRtlRef:i}=st(e),a=pn("DataTable",i,o),s=O(()=>{const{bottomBordered:Q}=e;return n.value?!1:Q!==void 0?Q:!0}),l=Ne("DataTable","-data-table",dq,oW,e,o),c=j(null),u=j(null),{getResizableWidth:d,clearResizableWidth:f,doUpdateResizableWidth:h}=sq(),{rowsRef:p,colsRef:g,dataRelatedColsRef:m,hasEllipsisRef:b}=cq(e,d),{treeMateRef:w,mergedCurrentPageRef:C,paginatedDataRef:_,rawPaginatedDataRef:S,selectionColumnRef:y,hoverKeyRef:x,mergedPaginationRef:k,mergedFilterStateRef:P,mergedSortStateRef:T,childTriggerColIndexRef:E,doUpdatePage:R,doUpdateFilters:q,onUnstableColumnResize:L,deriveNextSorter:D,filter:F,filters:K,clearFilter:V,clearFilters:le,clearSorter:me,page:ee,sort:N}=iq(e,{dataRelatedColsRef:m}),M=Q=>{const{fileName:we="data.csv",keepOriginalData:Ie=!1}=Q||{},qe=Ie?e.data:S.value,Qe=SW(e.columns,qe),Je=new Blob([Qe],{type:"text/csv;charset=utf-8"}),tt=URL.createObjectURL(Je);$O(tt,we.endsWith(".csv")?we:`${we}.csv`),URL.revokeObjectURL(tt)},{doCheckAll:Z,doUncheckAll:G,doCheck:re,doUncheck:X,headerCheckboxDisabledRef:ae,someRowsCheckedRef:B,allRowsCheckedRef:xe,mergedCheckedRowKeySetRef:se,mergedInderminateRowKeySetRef:ge}=tq(e,{selectionColumnRef:y,treeMateRef:w,paginatedDataRef:_}),{stickyExpandedRowsRef:$,mergedExpandedRowKeysRef:A,renderExpandRef:oe,expandableRef:Se,doUpdateExpandedRowKeys:ne}=uq(e,w),{handleTableBodyScroll:ye,handleTableHeaderScroll:Pe,syncScrollState:I,setHeaderScrollLeft:H,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:_e,rightActiveFixedColKeyRef:he,rightActiveFixedChildrenColKeysRef:de,leftFixedColumnsRef:ie,rightFixedColumnsRef:fe,fixedColumnLeftMapRef:Oe,fixedColumnRightMapRef:De}=aq(e,{bodyWidthRef:c,mainTableInstRef:u,mergedCurrentPageRef:C}),{localeRef:Le}=Ui("DataTable"),Be=O(()=>e.virtualScroll||e.flexHeight||e.maxHeight!==void 0||b.value?"fixed":e.tableLayout);at(Mo,{props:e,treeMateRef:w,renderExpandIconRef:Ue(e,"renderExpandIcon"),loadingKeySetRef:j(new Set),slots:t,indentRef:Ue(e,"indent"),childTriggerColIndexRef:E,bodyWidthRef:c,componentId:Zr(),hoverKeyRef:x,mergedClsPrefixRef:o,mergedThemeRef:l,scrollXRef:O(()=>e.scrollX),rowsRef:p,colsRef:g,paginatedDataRef:_,leftActiveFixedColKeyRef:te,leftActiveFixedChildrenColKeysRef:_e,rightActiveFixedColKeyRef:he,rightActiveFixedChildrenColKeysRef:de,leftFixedColumnsRef:ie,rightFixedColumnsRef:fe,fixedColumnLeftMapRef:Oe,fixedColumnRightMapRef:De,mergedCurrentPageRef:C,someRowsCheckedRef:B,allRowsCheckedRef:xe,mergedSortStateRef:T,mergedFilterStateRef:P,loadingRef:Ue(e,"loading"),rowClassNameRef:Ue(e,"rowClassName"),mergedCheckedRowKeySetRef:se,mergedExpandedRowKeysRef:A,mergedInderminateRowKeySetRef:ge,localeRef:Le,expandableRef:Se,stickyExpandedRowsRef:$,rowKeyRef:Ue(e,"rowKey"),renderExpandRef:oe,summaryRef:Ue(e,"summary"),virtualScrollRef:Ue(e,"virtualScroll"),rowPropsRef:Ue(e,"rowProps"),stripedRef:Ue(e,"striped"),checkOptionsRef:O(()=>{const{value:Q}=y;return Q==null?void 0:Q.options}),rawPaginatedDataRef:S,filterMenuCssVarsRef:O(()=>{const{self:{actionDividerColor:Q,actionPadding:we,actionButtonMargin:Ie}}=l.value;return{"--n-action-padding":we,"--n-action-button-margin":Ie,"--n-action-divider-color":Q}}),onLoadRef:Ue(e,"onLoad"),mergedTableLayoutRef:Be,maxHeightRef:Ue(e,"maxHeight"),minHeightRef:Ue(e,"minHeight"),flexHeightRef:Ue(e,"flexHeight"),headerCheckboxDisabledRef:ae,paginationBehaviorOnFilterRef:Ue(e,"paginationBehaviorOnFilter"),summaryPlacementRef:Ue(e,"summaryPlacement"),filterIconPopoverPropsRef:Ue(e,"filterIconPopoverProps"),scrollbarPropsRef:Ue(e,"scrollbarProps"),syncScrollState:I,doUpdatePage:R,doUpdateFilters:q,getResizableWidth:d,onUnstableColumnResize:L,clearResizableWidth:f,doUpdateResizableWidth:h,deriveNextSorter:D,doCheck:re,doUncheck:X,doCheckAll:Z,doUncheckAll:G,doUpdateExpandedRowKeys:ne,handleTableHeaderScroll:Pe,handleTableBodyScroll:ye,setHeaderScrollLeft:H,renderCell:Ue(e,"renderCell")});const et={filter:F,filters:K,clearFilters:le,clearSorter:me,page:ee,sort:N,clearFilter:V,downloadCsv:M,scrollTo:(Q,we)=>{var Ie;(Ie=u.value)===null||Ie===void 0||Ie.scrollTo(Q,we)}},Me=O(()=>{const{size:Q}=e,{common:{cubicBezierEaseInOut:we},self:{borderColor:Ie,tdColorHover:qe,tdColorSorting:Qe,tdColorSortingModal:Je,tdColorSortingPopover:tt,thColorSorting:it,thColorSortingModal:vt,thColorSortingPopover:an,thColor:Lt,thColorHover:ke,tdColor:He,tdTextColor:Ze,thTextColor:ht,thFontWeight:bt,thButtonColorHover:dt,thIconColor:Rt,thIconColorActive:ue,filterSize:Ee,borderRadius:ot,lineHeight:Bt,tdColorModal:Kt,thColorModal:Ft,borderColorModal:yo,thColorHoverModal:xo,tdColorHoverModal:Co,borderColorPopover:Jo,thColorPopover:Zo,tdColorPopover:ii,tdColorHoverPopover:es,thColorHoverPopover:ts,paginationMargin:ns,emptyPadding:os,boxShadowAfter:yr,boxShadowBefore:xr,sorterSize:ad,resizableContainerSize:sd,resizableSize:ld,loadingColor:cd,loadingSize:ud,opacityLoading:dd,tdColorStriped:fd,tdColorStripedModal:hd,tdColorStripedPopover:pd,[Re("fontSize",Q)]:md,[Re("thPadding",Q)]:gd,[Re("tdPadding",Q)]:vd}}=l.value;return{"--n-font-size":md,"--n-th-padding":gd,"--n-td-padding":vd,"--n-bezier":we,"--n-border-radius":ot,"--n-line-height":Bt,"--n-border-color":Ie,"--n-border-color-modal":yo,"--n-border-color-popover":Jo,"--n-th-color":Lt,"--n-th-color-hover":ke,"--n-th-color-modal":Ft,"--n-th-color-hover-modal":xo,"--n-th-color-popover":Zo,"--n-th-color-hover-popover":ts,"--n-td-color":He,"--n-td-color-hover":qe,"--n-td-color-modal":Kt,"--n-td-color-hover-modal":Co,"--n-td-color-popover":ii,"--n-td-color-hover-popover":es,"--n-th-text-color":ht,"--n-td-text-color":Ze,"--n-th-font-weight":bt,"--n-th-button-color-hover":dt,"--n-th-icon-color":Rt,"--n-th-icon-color-active":ue,"--n-filter-size":Ee,"--n-pagination-margin":ns,"--n-empty-padding":os,"--n-box-shadow-before":xr,"--n-box-shadow-after":yr,"--n-sorter-size":ad,"--n-resizable-container-size":sd,"--n-resizable-size":ld,"--n-loading-size":ud,"--n-loading-color":cd,"--n-opacity-loading":dd,"--n-td-color-striped":fd,"--n-td-color-striped-modal":hd,"--n-td-color-striped-popover":pd,"n-td-color-sorting":Qe,"n-td-color-sorting-modal":Je,"n-td-color-sorting-popover":tt,"n-th-color-sorting":it,"n-th-color-sorting-modal":vt,"n-th-color-sorting-popover":an}}),Xe=r?Pt("data-table",O(()=>e.size[0]),Me,e):void 0,gt=O(()=>{if(!e.pagination)return!1;if(e.paginateSinglePage)return!0;const Q=k.value,{pageCount:we}=Q;return we!==void 0?we>1:Q.itemCount&&Q.pageSize&&Q.itemCount>Q.pageSize});return Object.assign({mainTableInstRef:u,mergedClsPrefix:o,rtlEnabled:a,mergedTheme:l,paginatedData:_,mergedBordered:n,mergedBottomBordered:s,mergedPagination:k,mergedShowPagination:gt,cssVars:r?void 0:Me,themeClass:Xe==null?void 0:Xe.themeClass,onRender:Xe==null?void 0:Xe.onRender},et)},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(eq,{ref:"mainTableInstRef"})),this.mergedShowPagination?v("div",{class:`${e}-data-table__pagination`},v(UV,Object.assign({theme:this.mergedTheme.peers.Pagination,themeOverrides:this.mergedTheme.peerOverrides.Pagination,disabled:this.loading},this.mergedPagination))):null,v(fn,{name:"fade-in-scale-up-transition"},{default:()=>this.loading?v("div",{class:`${e}-data-table-loading-wrapper`},$n(o.loading,()=>[v(oi,Object.assign({clsPrefix:e,strokeWidth:20},r))])):null}))}}),hq={itemFontSize:"12px",itemHeight:"36px",itemWidth:"52px",panelActionPadding:"8px 0"};function pq(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({},hq),{panelColor:t,panelBoxShadow:s,panelDividerColor:i,itemTextColor:n,itemTextColorActive:o,itemColorHover:r,itemOpacityDisabled:a,itemBorderRadius:l,borderRadius:l,iconColor:c,iconColorDisabled:u})}const mq={name:"TimePicker",common:je,peers:{Scrollbar:Un,Button:Vn,Input:go},self:pq},m2=mq,gq={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"};function vq(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:h,fontWeightStrong:p}=e;return Object.assign(Object.assign({},gq),{itemFontSize:n,calendarDaysFontSize:n,calendarTitleFontSize:n,itemTextColor:o,itemTextColorDisabled:r,itemTextColorActive:i,itemTextColorCurrent:a,itemColorIncluded:ze(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:h,calendarTitleFontWeight:p,scrollItemBorderRadius:h,iconColor:l,iconColorDisabled:c})}const bq={name:"DatePicker",common:je,peers:{Input:go,Button:Vn,TimePicker:m2,Scrollbar:Un},self(e){const{popoverColor:t,hoverColor:n,primaryColor:o}=e,r=vq(e);return r.itemColorDisabled=Ke(t,n),r.itemColorIncluded=ze(o,{alpha:.15}),r.itemColorHover=Ke(t,n),r}},yq=bq,xq={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"};function Cq(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:h}=e;return Object.assign(Object.assign({},xq),{lineHeight:u,fontSizeSmall:d,fontSizeMedium:f,fontSizeLarge:h,titleTextColor:o,thColor:Ke(r,t),thColorModal:Ke(i,t),thColorPopover:Ke(a,t),thTextColor:o,thFontWeight:c,tdTextColor:n,tdColor:r,tdColorModal:i,tdColorPopover:a,borderColor:Ke(r,s),borderColorModal:Ke(i,s),borderColorPopover:Ke(a,s),borderRadius:l})}const wq={name:"Descriptions",common:je,self:Cq},_q=wq,Sq={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"};function g2(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:h,dividerColor:p,borderRadius:g,fontWeightStrong:m,lineHeight:b,fontSize:w}=e;return Object.assign(Object.assign({},Sq),{fontSize:w,lineHeight:b,border:`1px solid ${p}`,titleTextColor:t,textColor:n,color:o,closeColorHover:s,closeColorPressed:l,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeBorderRadius:g,iconColor:h,iconColorInfo:c,iconColorSuccess:u,iconColorWarning:d,iconColorError:f,borderRadius:g,titleFontWeight:m})}const kq={name:"Dialog",common:xt,peers:{Button:Du},self:g2},v2=kq,Pq={name:"Dialog",common:je,peers:{Button:Vn},self:g2},b2=Pq,Vu={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,titleClass:[String,Array],titleStyle:[String,Object],contentClass:[String,Array],contentStyle:[String,Object],actionClass:[String,Array],actionStyle:[String,Object],onPositiveClick:Function,onNegativeClick:Function,onClose:Function},y2=ei(Vu),Tq=W([z("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);
|
||
position: relative;
|
||
background: var(--n-color);
|
||
color: var(--n-text-color);
|
||
box-sizing: border-box;
|
||
margin: auto;
|
||
border-radius: var(--n-border-radius);
|
||
padding: var(--n-padding);
|
||
transition:
|
||
border-color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`,[U("icon",{color:"var(--n-icon-color)"}),J("bordered",{border:"var(--n-border)"}),J("icon-top",[U("close",{margin:"var(--n-close-margin)"}),U("icon",{margin:"var(--n-icon-margin)"}),U("content",{textAlign:"center"}),U("title",{justifyContent:"center"}),U("action",{justifyContent:"center"})]),J("icon-left",[U("icon",{margin:"var(--n-icon-margin)"}),J("closable",[U("title",`
|
||
padding-right: calc(var(--n-close-size) + 6px);
|
||
`)])]),U("close",`
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
margin: var(--n-close-margin);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
z-index: 1;
|
||
`),U("content",`
|
||
font-size: var(--n-font-size);
|
||
margin: var(--n-content-margin);
|
||
position: relative;
|
||
word-break: break-word;
|
||
`,[J("last","margin-bottom: 0;")]),U("action",`
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
`,[W("> *:not(:last-child)",`
|
||
margin-right: var(--n-action-space);
|
||
`)]),U("icon",`
|
||
font-size: var(--n-icon-size);
|
||
transition: color .3s var(--n-bezier);
|
||
`),U("title",`
|
||
transition: color .3s var(--n-bezier);
|
||
display: flex;
|
||
align-items: center;
|
||
font-size: var(--n-title-font-size);
|
||
font-weight: var(--n-title-font-weight);
|
||
color: var(--n-title-text-color);
|
||
`),z("dialog-icon-container",`
|
||
display: flex;
|
||
justify-content: center;
|
||
`)]),cl(z("dialog",`
|
||
width: 446px;
|
||
max-width: calc(100vw - 32px);
|
||
`)),z("dialog",[Aw(`
|
||
width: 446px;
|
||
max-width: calc(100vw - 32px);
|
||
`)])]),Aq={default:()=>v(Wr,null),info:()=>v(Wr,null),success:()=>v(Wi,null),warning:()=>v(qi,null),error:()=>v(Vi,null)},x2=Ce({name:"Dialog",alias:["NimbusConfirmCard","Confirm"],props:Object.assign(Object.assign({},Ne.props),Vu),setup(e){const{mergedComponentPropsRef:t,mergedClsPrefixRef:n,inlineThemeDisabled:o,mergedRtlRef:r}=st(e),i=pn("Dialog",r,n),a=O(()=>{var h,p;const{iconPlacement:g}=e;return g||((p=(h=t==null?void 0:t.value)===null||h===void 0?void 0:h.Dialog)===null||p===void 0?void 0:p.iconPlacement)||"left"});function s(h){const{onPositiveClick:p}=e;p&&p(h)}function l(h){const{onNegativeClick:p}=e;p&&p(h)}function c(){const{onClose:h}=e;h&&h()}const u=Ne("Dialog","-dialog",Tq,v2,e,n),d=O(()=>{const{type:h}=e,p=a.value,{common:{cubicBezierEaseInOut:g},self:{fontSize:m,lineHeight:b,border:w,titleTextColor:C,textColor:_,color:S,closeBorderRadius:y,closeColorHover:x,closeColorPressed:k,closeIconColor:P,closeIconColorHover:T,closeIconColorPressed:E,closeIconSize:R,borderRadius:q,titleFontWeight:L,titleFontSize:D,padding:F,iconSize:K,actionSpace:V,contentMargin:le,closeSize:me,[p==="top"?"iconMarginIconTop":"iconMargin"]:ee,[p==="top"?"closeMarginIconTop":"closeMargin"]:N,[Re("iconColor",h)]:M}}=u.value,Z=co(ee);return{"--n-font-size":m,"--n-icon-color":M,"--n-bezier":g,"--n-close-margin":N,"--n-icon-margin-top":Z.top,"--n-icon-margin-right":Z.right,"--n-icon-margin-bottom":Z.bottom,"--n-icon-margin-left":Z.left,"--n-icon-size":K,"--n-close-size":me,"--n-close-icon-size":R,"--n-close-border-radius":y,"--n-close-color-hover":x,"--n-close-color-pressed":k,"--n-close-icon-color":P,"--n-close-icon-color-hover":T,"--n-close-icon-color-pressed":E,"--n-color":S,"--n-text-color":_,"--n-border-radius":q,"--n-padding":F,"--n-line-height":b,"--n-border":w,"--n-content-margin":le,"--n-title-font-size":D,"--n-title-font-weight":L,"--n-title-text-color":C,"--n-action-space":V}}),f=o?Pt("dialog",O(()=>`${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:h,handleNegativeClick:p,mergedTheme:g,loading:m,type:b,mergedClsPrefix:w}=this;(e=this.onRender)===null||e===void 0||e.call(this);const C=i?v(Wt,{clsPrefix:w,class:`${w}-dialog__icon`},{default:()=>Et(this.$slots.icon,S=>S||(this.icon?Vt(this.icon):Aq[this.type]()))}):null,_=Et(this.$slots.action,S=>S||u||c||l?v("div",{class:[`${w}-dialog__action`,this.actionClass],style:this.actionStyle},S||(l?[Vt(l)]:[this.negativeText&&v(zt,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,ghost:!0,size:"small",onClick:p},f),{default:()=>Vt(this.negativeText)}),this.positiveText&&v(zt,Object.assign({theme:g.peers.Button,themeOverrides:g.peerOverrides.Button,size:"small",type:b==="default"?"primary":b,disabled:m,loading:m,onClick:h},d),{default:()=>Vt(this.positiveText)})])):null);return v("div",{class:[`${w}-dialog`,this.themeClass,this.closable&&`${w}-dialog--closable`,`${w}-dialog--icon-${n}`,t&&`${w}-dialog--bordered`,this.rtlEnabled&&`${w}-dialog--rtl`],style:o,role:"dialog"},r?Et(this.$slots.close,S=>{const y=[`${w}-dialog__close`,this.rtlEnabled&&`${w}-dialog--rtl`];return S?v("div",{class:y},S):v(Gi,{clsPrefix:w,class:y,onClick:this.handleCloseClick})}):null,i&&n==="top"?v("div",{class:`${w}-dialog-icon-container`},C):null,v("div",{class:[`${w}-dialog__title`,this.titleClass],style:this.titleStyle},i&&n==="left"?C:null,$n(this.$slots.header,()=>[Vt(a)])),v("div",{class:[`${w}-dialog__content`,_?"":`${w}-dialog__content--last`,this.contentClass],style:this.contentStyle},$n(this.$slots.default,()=>[Vt(s)])),_)}}),C2="n-dialog-provider",w2="n-dialog-api",Rq="n-dialog-reactive-list";function _2(e){const{modalColor:t,textColor2:n,boxShadow3:o}=e;return{color:t,textColor:n,boxShadow:o}}const Eq={name:"Modal",common:xt,peers:{Scrollbar:Yi,Dialog:v2,Card:kS},self:_2},$q=Eq,Iq={name:"Modal",common:je,peers:{Scrollbar:Un,Dialog:b2,Card:PS},self:_2},Oq=Iq,Lm=Object.assign(Object.assign({},Sm),Vu),Mq=ei(Lm),zq=Ce({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},Lm),{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=j(null),n=j(null),o=j(e.show),r=j(null),i=j(null);ut(Ue(e,"show"),m=>{m&&(o.value=!0)}),Yw(O(()=>e.blockScroll&&o.value));const a=Ve(Ow);function s(){if(a.transformOriginRef.value==="center")return"";const{value:m}=r,{value:b}=i;if(m===null||b===null)return"";if(n.value){const w=n.value.containerScrollTop;return`${m}px ${b+w}px`}return""}function l(m){if(a.transformOriginRef.value==="center")return;const b=a.getMousePosition();if(!b||!n.value)return;const w=n.value.containerScrollTop,{offsetLeft:C,offsetTop:_}=m;if(b){const S=b.y,y=b.x;r.value=-(C-y),i.value=-(_-S-w)}m.style.transformOrigin=s()}function c(m){Ht(()=>{l(m)})}function u(m){m.style.transformOrigin=s(),e.onBeforeLeave()}function d(){o.value=!1,r.value=null,i.value=null,e.onAfterLeave()}function f(){const{onClose:m}=e;m&&m()}function h(){e.onNegativeClick()}function p(){e.onPositiveClick()}const g=j(null);return ut(g,m=>{m&&Ht(()=>{const b=m.el;b&&t.value!==b&&(t.value=b)})}),at(ul,t),at(dl,null),at(Wa,null),{mergedTheme:a.mergedThemeRef,appear:a.appearRef,isMounted:a.isMountedRef,mergedClsPrefix:a.mergedClsPrefixRef,bodyRef:t,scrollbarRef:n,displayed:o,childNodeRef:g,handlePositiveClick:p,handleNegativeClick:h,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=Ch(e),!s){cr("modal","default slot is empty");return}s=fo(s),s.props=Dn({class:`${a}-modal`},t,s.props||{})}return this.displayDirective==="show"||this.displayed||this.show?dn(v("div",{role:"none",class:`${a}-modal-body-wrapper`},v(Oo,{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(nm,{disabled:!this.trapFocus,active:this.show,onEsc:this.onEsc,autoFocus:this.autoFocus},{default:()=>{var c;return v(fn,{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=[[Mn,this.show]],{onClickoutside:d}=this;return d&&u.push([Ea,this.onClickoutside,void 0,{capture:!0}]),dn(this.preset==="confirm"||this.preset==="dialog"?v(x2,Object.assign({},this.$attrs,{class:[`${a}-modal`,this.$attrs.class],ref:"bodyRef",theme:this.mergedTheme.peers.Dialog,themeOverrides:this.mergedTheme.peerOverrides.Dialog},eo(this.$props,y2),{"aria-modal":"true"}),e):this.preset==="card"?v(vo,Object.assign({},this.$attrs,{ref:"bodyRef",class:[`${a}-modal`,this.$attrs.class],theme:this.mergedTheme.peers.Card,themeOverrides:this.mergedTheme.peerOverrides.Card},eo(this.$props,OU),{"aria-modal":"true",role:"dialog"}),e):this.childNodeRef=s,u)}})}})]}})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),Lq=W([z("modal-container",`
|
||
position: fixed;
|
||
left: 0;
|
||
top: 0;
|
||
height: 0;
|
||
width: 0;
|
||
display: flex;
|
||
`),z("modal-mask",`
|
||
position: fixed;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
background-color: rgba(0, 0, 0, .4);
|
||
`,[pl({enterDuration:".25s",leaveDuration:".25s",enterCubicBezier:"var(--n-bezier-ease-out)",leaveCubicBezier:"var(--n-bezier-ease-out)"})]),z("modal-body-wrapper",`
|
||
position: fixed;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
overflow: visible;
|
||
`,[z("modal-scroll-content",`
|
||
min-height: 100%;
|
||
display: flex;
|
||
position: relative;
|
||
`)]),z("modal",`
|
||
position: relative;
|
||
align-self: center;
|
||
color: var(--n-text-color);
|
||
margin: auto;
|
||
box-shadow: var(--n-box-shadow);
|
||
`,[Ga({duration:".25s",enterScale:".5"})])]),S2=Object.assign(Object.assign(Object.assign(Object.assign({},Ne.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}}),Lm),{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,internalModal:Boolean,internalAppear:{type:Boolean,default:void 0},overlayStyle:[String,Object],onBeforeHide:Function,onAfterHide:Function,onHide:Function}),ri=Ce({name:"Modal",inheritAttrs:!1,props:S2,setup(e){const t=j(null),{mergedClsPrefixRef:n,namespaceRef:o,inlineThemeDisabled:r}=st(e),i=Ne("Modal","-modal",Lq,$q,e,n),a=Lc(64),s=zc(),l=ti(),c=e.internalDialog?Ve(C2,null):null,u=e.internalModal?Ve(F8,null):null,d=Qw();function f(y){const{onUpdateShow:x,"onUpdate:show":k,onHide:P}=e;x&&$e(x,y),k&&$e(k,y),P&&!y&&P(y)}function h(){const{onClose:y}=e;y?Promise.resolve(y()).then(x=>{x!==!1&&f(!1)}):f(!1)}function p(){const{onPositiveClick:y}=e;y?Promise.resolve(y()).then(x=>{x!==!1&&f(!1)}):f(!1)}function g(){const{onNegativeClick:y}=e;y?Promise.resolve(y()).then(x=>{x!==!1&&f(!1)}):f(!1)}function m(){const{onBeforeLeave:y,onBeforeHide:x}=e;y&&$e(y),x&&x()}function b(){const{onAfterLeave:y,onAfterHide:x}=e;y&&$e(y),x&&x()}function w(y){var x;const{onMaskClick:k}=e;k&&k(y),e.maskClosable&&!((x=t.value)===null||x===void 0)&&x.contains(Oi(y))&&f(!1)}function C(y){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&Ew(y)&&(d.value||f(!1))}at(Ow,{getMousePosition:()=>{const y=c||u;if(y){const{clickedRef:x,clickedPositionRef:k}=y;if(x.value&&k.value)return k.value}return a.value?s.value:null},mergedClsPrefixRef:n,mergedThemeRef:i,isMountedRef:l,appearRef:Ue(e,"internalAppear"),transformOriginRef:Ue(e,"transformOrigin")});const _=O(()=>{const{common:{cubicBezierEaseOut:y},self:{boxShadow:x,color:k,textColor:P}}=i.value;return{"--n-bezier-ease-out":y,"--n-box-shadow":x,"--n-color":k,"--n-text-color":P}}),S=r?Pt("theme-class",void 0,_,e):void 0;return{mergedClsPrefix:n,namespace:o,isMounted:l,containerRef:t,presetProps:O(()=>eo(e,Mq)),handleEsc:C,handleAfterLeave:b,handleClickoutside:w,handleBeforeLeave:m,doUpdateShow:f,handleNegativeClick:g,handlePositiveClick:p,handleCloseClick:h,cssVars:r?void 0:_,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender}},render(){const{mergedClsPrefix:e}=this;return v($u,{to:this.to,show:this.show},{default:()=>{var t;(t=this.onRender)===null||t===void 0||t.call(this);const{unstableShowMask:n}=this;return dn(v("div",{role:"none",ref:"containerRef",class:[`${e}-modal-container`,this.themeClass,this.namespace],style:this.cssVars},v(zq,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(fn,{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)),[[Eu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),Fq=Object.assign(Object.assign({},Vu),{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}),Dq=Ce({name:"DialogEnvironment",props:Object.assign(Object.assign({},Fq),{internalKey:{type:String,required:!0},to:[String,Object],onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=j(!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(ri,{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(x2,Object.assign({},eo(this.$props,y2),{style:this.internalStyle,onClose:o,onNegativeClick:n,onPositiveClick:e}))})}}),Bq={injectionKey:String,to:[String,Object]},Nq=Ce({name:"DialogProvider",props:Bq,setup(){const e=j([]),t={};function n(s={}){const l=Zr(),c=to(Object.assign(Object.assign({},s),{key:l,destroy:()=>{var u;(u=t[`n-dialog-${l}`])===null||u===void 0||u.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==null||s.hide()})}const a={create:n,destroyAll:i,info:o[0],success:o[1],warning:o[2],error:o[3]};return at(w2,a),at(C2,{clickedRef:Lc(64),clickedPositionRef:zc()}),at(Rq,e),Object.assign(Object.assign({},a),{dialogList:e,dialogInstRefs:t,handleAfterLeave:r})},render(){var e,t;return v(rt,null,[this.dialogList.map(n=>v(Dq,Va(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 Hq(){const e=Ve(w2,null);return e===null&&hr("use-dialog","No outer <n-dialog-provider /> founded."),e}function k2(e){const{textColor1:t,dividerColor:n,fontWeightStrong:o}=e;return{textColor:t,color:n,fontWeight:o}}const jq={name:"Divider",common:xt,self:k2},Uq=jq,Vq={name:"Divider",common:je,self:k2},Wq=Vq,qq=z("divider",`
|
||
position: relative;
|
||
display: flex;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
font-size: 16px;
|
||
color: var(--n-text-color);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
`,[At("vertical",`
|
||
margin-top: 24px;
|
||
margin-bottom: 24px;
|
||
`,[At("no-title",`
|
||
display: flex;
|
||
align-items: center;
|
||
`)]),U("title",`
|
||
display: flex;
|
||
align-items: center;
|
||
margin-left: 12px;
|
||
margin-right: 12px;
|
||
white-space: nowrap;
|
||
font-weight: var(--n-font-weight);
|
||
`),J("title-position-left",[U("line",[J("left",{width:"28px"})])]),J("title-position-right",[U("line",[J("right",{width:"28px"})])]),J("dashed",[U("line",`
|
||
background-color: #0000;
|
||
height: 0px;
|
||
width: 100%;
|
||
border-style: dashed;
|
||
border-width: 1px 0 0;
|
||
`)]),J("vertical",`
|
||
display: inline-block;
|
||
height: 1em;
|
||
margin: 0 8px;
|
||
vertical-align: middle;
|
||
width: 1px;
|
||
`),U("line",`
|
||
border: none;
|
||
transition: background-color .3s var(--n-bezier), border-color .3s var(--n-bezier);
|
||
height: 1px;
|
||
width: 100%;
|
||
margin: 0;
|
||
`),At("dashed",[U("line",{backgroundColor:"var(--n-color)"})]),J("dashed",[U("line",{borderColor:"var(--n-color)"})]),J("vertical",{backgroundColor:"var(--n-color)"})]),Kq=Object.assign(Object.assign({},Ne.props),{titlePlacement:{type:String,default:"center"},dashed:Boolean,vertical:Boolean}),Ji=Ce({name:"Divider",props:Kq,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Divider","-divider",qq,Uq,e,t),r=O(()=>{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?Pt("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(rt,null,v("div",{class:`${a}-divider__title`},this.$slots),v("div",{class:`${a}-divider__line ${a}-divider__line--right`})):null)}});function P2(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:h,primaryColorHover:p}=e;return{bodyPadding:"16px 24px",borderRadius:h,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:h,resizableTriggerColorHover:p}}const Gq={name:"Drawer",common:xt,peers:{Scrollbar:Yi},self:P2},Xq=Gq,Yq={name:"Drawer",common:je,peers:{Scrollbar:Un},self:P2},Qq=Yq,Jq=Ce({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=j(!!e.show),n=j(null),o=Ve(Yp);let r=0,i="",a=null;const s=j(!1),l=j(!1),c=O(()=>e.placement==="top"||e.placement==="bottom"),{mergedClsPrefixRef:u,mergedRtlRef:d}=st(e),f=pn("Drawer",d,u),h=y,p=P=>{l.value=!0,r=c.value?P.clientY:P.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",h),document.body.addEventListener("mouseup",y)},g=()=>{a!==null&&(window.clearTimeout(a),a=null),l.value?s.value=!0:a=window.setTimeout(()=>{s.value=!0},300)},m=()=>{a!==null&&(window.clearTimeout(a),a=null),s.value=!1},{doUpdateHeight:b,doUpdateWidth:w}=o,C=P=>{const{maxWidth:T}=e;if(T&&P>T)return T;const{minWidth:E}=e;return E&&P<E?E:P},_=P=>{const{maxHeight:T}=e;if(T&&P>T)return T;const{minHeight:E}=e;return E&&P<E?E:P};function S(P){var T,E;if(l.value)if(c.value){let R=((T=n.value)===null||T===void 0?void 0:T.offsetHeight)||0;const q=r-P.clientY;R+=e.placement==="bottom"?q:-q,R=_(R),b(R),r=P.clientY}else{let R=((E=n.value)===null||E===void 0?void 0:E.offsetWidth)||0;const q=r-P.clientX;R+=e.placement==="right"?q:-q,R=C(R),w(R),r=P.clientX}}function y(){l.value&&(r=0,l.value=!1,document.body.style.cursor=i,document.body.removeEventListener("mousemove",S),document.body.removeEventListener("mouseup",y),document.body.removeEventListener("mouseleave",h))}Yt(()=>{e.show&&(t.value=!0)}),ut(()=>e.show,P=>{P||y()}),on(()=>{y()});const x=O(()=>{const{show:P}=e,T=[[Mn,P]];return e.showMask||T.push([Ea,e.onClickoutside,void 0,{capture:!0}]),T});function k(){var P;t.value=!1,(P=e.onAfterLeave)===null||P===void 0||P.call(e)}return Yw(O(()=>e.blockScroll&&t.value)),at(dl,n),at(Wa,null),at(ul,null),{bodyRef:n,rtlEnabled:f,mergedClsPrefix:o.mergedClsPrefixRef,isMounted:o.isMountedRef,mergedTheme:o.mergedThemeRef,displayed:t,transitionName:O(()=>({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:k,bodyDirectives:x,handleMousedownResizeTrigger:p,handleMouseenterResizeTrigger:g,handleMouseleaveResizeTrigger:m,isDragging:l,isHoverOnResizeTrigger:s}},render(){const{$slots:e,mergedClsPrefix:t}=this;return this.displayDirective==="show"||this.displayed||this.show?dn(v("div",{role:"none"},v(nm,{disabled:!this.showMask||!this.trapFocus,active:this.show,autoFocus:this.autoFocus,onEsc:this.onEsc},{default:()=>v(fn,{name:this.transitionName,appear:this.isMounted,onAfterEnter:this.onAfterEnter,onAfterLeave:this.handleAfterLeave},{default:()=>dn(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(Oo,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)})})),[[Mn,this.displayDirective==="if"||this.displayed||this.show]]):null}}),{cubicBezierEaseIn:Zq,cubicBezierEaseOut:eK}=mo;function tK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-right"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${Zq}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${eK}`}),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:nK,cubicBezierEaseOut:oK}=mo;function rK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-left"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${nK}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${oK}`}),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:iK,cubicBezierEaseOut:aK}=mo;function sK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-top"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${iK}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${aK}`}),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:lK,cubicBezierEaseOut:cK}=mo;function uK({duration:e="0.3s",leaveDuration:t="0.2s",name:n="slide-in-from-bottom"}={}){return[W(`&.${n}-transition-leave-active`,{transition:`transform ${t} ${lK}`}),W(`&.${n}-transition-enter-active`,{transition:`transform ${e} ${cK}`}),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 dK=W([z("drawer",`
|
||
word-break: break-word;
|
||
line-height: var(--n-line-height);
|
||
position: absolute;
|
||
pointer-events: all;
|
||
box-shadow: var(--n-box-shadow);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
background-color: var(--n-color);
|
||
color: var(--n-text-color);
|
||
box-sizing: border-box;
|
||
`,[tK(),rK(),sK(),uK(),J("unselectable",`
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
`),J("native-scrollbar",[z("drawer-content-wrapper",`
|
||
overflow: auto;
|
||
height: 100%;
|
||
`)]),U("resize-trigger",`
|
||
position: absolute;
|
||
background-color: #0000;
|
||
transition: background-color .3s var(--n-bezier);
|
||
`,[J("hover",`
|
||
background-color: var(--n-resize-trigger-color-hover);
|
||
`)]),z("drawer-content-wrapper",`
|
||
box-sizing: border-box;
|
||
`),z("drawer-content",`
|
||
height: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
`,[J("native-scrollbar",[z("drawer-body-content-wrapper",`
|
||
height: 100%;
|
||
overflow: auto;
|
||
`)]),z("drawer-body",`
|
||
flex: 1 0 0;
|
||
overflow: hidden;
|
||
`),z("drawer-body-content-wrapper",`
|
||
box-sizing: border-box;
|
||
padding: var(--n-body-padding);
|
||
`),z("drawer-header",`
|
||
font-weight: var(--n-title-font-weight);
|
||
line-height: 1;
|
||
font-size: var(--n-title-font-size);
|
||
color: var(--n-title-text-color);
|
||
padding: var(--n-header-padding);
|
||
transition: border .3s var(--n-bezier);
|
||
border-bottom: 1px solid var(--n-divider-color);
|
||
border-bottom: var(--n-header-border-bottom);
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
`,[U("close",`
|
||
margin-left: 6px;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`)]),z("drawer-footer",`
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
border-top: var(--n-footer-border-top);
|
||
transition: border .3s var(--n-bezier);
|
||
padding: var(--n-footer-padding);
|
||
`)]),J("right-placement",`
|
||
top: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
border-top-left-radius: var(--n-border-radius);
|
||
border-bottom-left-radius: var(--n-border-radius);
|
||
`,[U("resize-trigger",`
|
||
width: 3px;
|
||
height: 100%;
|
||
top: 0;
|
||
left: 0;
|
||
transform: translateX(-1.5px);
|
||
cursor: ew-resize;
|
||
`)]),J("left-placement",`
|
||
top: 0;
|
||
bottom: 0;
|
||
left: 0;
|
||
border-top-right-radius: var(--n-border-radius);
|
||
border-bottom-right-radius: var(--n-border-radius);
|
||
`,[U("resize-trigger",`
|
||
width: 3px;
|
||
height: 100%;
|
||
top: 0;
|
||
right: 0;
|
||
transform: translateX(1.5px);
|
||
cursor: ew-resize;
|
||
`)]),J("top-placement",`
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
border-bottom-left-radius: var(--n-border-radius);
|
||
border-bottom-right-radius: var(--n-border-radius);
|
||
`,[U("resize-trigger",`
|
||
width: 100%;
|
||
height: 3px;
|
||
bottom: 0;
|
||
left: 0;
|
||
transform: translateY(1.5px);
|
||
cursor: ns-resize;
|
||
`)]),J("bottom-placement",`
|
||
left: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
border-top-left-radius: var(--n-border-radius);
|
||
border-top-right-radius: var(--n-border-radius);
|
||
`,[U("resize-trigger",`
|
||
width: 100%;
|
||
height: 3px;
|
||
top: 0;
|
||
left: 0;
|
||
transform: translateY(-1.5px);
|
||
cursor: ns-resize;
|
||
`)])]),W("body",[W(">",[z("drawer-container",`
|
||
position: fixed;
|
||
`)])]),z("drawer-container",`
|
||
position: relative;
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
pointer-events: none;
|
||
`,[W("> *",`
|
||
pointer-events: all;
|
||
`)]),z("drawer-mask",`
|
||
background-color: rgba(0, 0, 0, .3);
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`,[J("invisible",`
|
||
background-color: rgba(0, 0, 0, 0)
|
||
`),pl({enterDuration:"0.2s",leaveDuration:"0.2s",enterCubicBezier:"var(--n-bezier-in)",leaveCubicBezier:"var(--n-bezier-out)"})])]),fK=Object.assign(Object.assign({},Ne.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}),T2=Ce({name:"Drawer",inheritAttrs:!1,props:fK,setup(e){const{mergedClsPrefixRef:t,namespaceRef:n,inlineThemeDisabled:o}=st(e),r=ti(),i=Ne("Drawer","-drawer",dK,Xq,e,t),a=j(e.defaultWidth),s=j(e.defaultHeight),l=rn(Ue(e,"width"),a),c=rn(Ue(e,"height"),s),u=O(()=>{const{placement:y}=e;return y==="top"||y==="bottom"?"":qt(l.value)}),d=O(()=>{const{placement:y}=e;return y==="left"||y==="right"?"":qt(c.value)}),f=y=>{const{onUpdateWidth:x,"onUpdate:width":k}=e;x&&$e(x,y),k&&$e(k,y),a.value=y},h=y=>{const{onUpdateHeight:x,"onUpdate:width":k}=e;x&&$e(x,y),k&&$e(k,y),s.value=y},p=O(()=>[{width:u.value,height:d.value},e.drawerStyle||""]);function g(y){const{onMaskClick:x,maskClosable:k}=e;k&&C(!1),x&&x(y)}function m(y){g(y)}const b=Qw();function w(y){var x;(x=e.onEsc)===null||x===void 0||x.call(e),e.show&&e.closeOnEsc&&Ew(y)&&(b.value||C(!1))}function C(y){const{onHide:x,onUpdateShow:k,"onUpdate:show":P}=e;k&&$e(k,y),P&&$e(P,y),x&&!y&&$e(x,y)}at(Yp,{isMountedRef:r,mergedThemeRef:i,mergedClsPrefixRef:t,doUpdateShow:C,doUpdateHeight:h,doUpdateWidth:f});const _=O(()=>{const{common:{cubicBezierEaseInOut:y,cubicBezierEaseIn:x,cubicBezierEaseOut:k},self:{color:P,textColor:T,boxShadow:E,lineHeight:R,headerPadding:q,footerPadding:L,borderRadius:D,bodyPadding:F,titleFontSize:K,titleTextColor:V,titleFontWeight:le,headerBorderBottom:me,footerBorderTop:ee,closeIconColor:N,closeIconColorHover:M,closeIconColorPressed:Z,closeColorHover:G,closeColorPressed:re,closeIconSize:X,closeSize:ae,closeBorderRadius:B,resizableTriggerColorHover:xe}}=i.value;return{"--n-line-height":R,"--n-color":P,"--n-border-radius":D,"--n-text-color":T,"--n-box-shadow":E,"--n-bezier":y,"--n-bezier-out":k,"--n-bezier-in":x,"--n-header-padding":q,"--n-body-padding":F,"--n-footer-padding":L,"--n-title-text-color":V,"--n-title-font-size":K,"--n-title-font-weight":le,"--n-header-border-bottom":me,"--n-footer-border-top":ee,"--n-close-icon-color":N,"--n-close-icon-color-hover":M,"--n-close-icon-color-pressed":Z,"--n-close-size":ae,"--n-close-color-hover":G,"--n-close-color-pressed":re,"--n-close-icon-size":X,"--n-close-border-radius":B,"--n-resize-trigger-color-hover":xe}}),S=o?Pt("drawer",void 0,_,e):void 0;return{mergedClsPrefix:t,namespace:n,mergedBodyStyle:p,handleOutsideClick:m,handleMaskClick:g,handleEsc:w,mergedTheme:i,cssVars:o?void 0:_,themeClass:S==null?void 0:S.themeClass,onRender:S==null?void 0:S.onRender,isMounted:r}},render(){const{mergedClsPrefix:e}=this;return v($u,{to:this.to,show:this.show},{default:()=>{var t;return(t=this.onRender)===null||t===void 0||t.call(this),dn(v("div",{class:[`${e}-drawer-container`,this.namespace,this.themeClass],style:this.cssVars,role:"none"},this.showMask?v(fn,{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(Jq,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)),[[Eu,{zIndex:this.zIndex,enabled:this.show}]])}})}}),hK={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},pK=Ce({name:"DrawerContent",props:hK,setup(){const e=Ve(Yp,null);e||hr("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:h,$slots:p}=this;return v("div",{role:"none",class:[`${t}-drawer-content`,n&&`${t}-drawer-content--native-scrollbar`]},p.header||e||h?v("div",{class:[`${t}-drawer-header`,l],style:c,role:"none"},v("div",{class:`${t}-drawer-header__main`,role:"heading","aria-level":"1"},p.header!==void 0?p.header():e),h&&v(Gi,{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"},p)):v(Oo,Object.assign({themeOverrides:o.peerOverrides.Scrollbar,theme:o.peers.Scrollbar},f,{class:`${t}-drawer-body`,contentClass:[`${t}-drawer-body-content-wrapper`,a],contentStyle:s}),p),p.footer?v("div",{class:[`${t}-drawer-footer`,u],style:d,role:"none"},p.footer()):null)}}),mK={actionMargin:"0 0 0 20px",actionMarginRtl:"0 20px 0 0"},gK={name:"DynamicInput",common:je,peers:{Input:go,Button:Vn},self(){return mK}},vK=gK,A2={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},bK={name:"Space",self(){return A2}},R2=bK;function yK(){return A2}const xK={name:"Space",self:yK},CK=xK;let df;function wK(){if(!pr)return!0;if(df===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),df=t}return df}const _K=Object.assign(Object.assign({},Ne.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}}),Zi=Ce({name:"Space",props:_K,setup(e){const{mergedClsPrefixRef:t,mergedRtlRef:n}=st(e),o=Ne("Space","-space",void 0,CK,e,t),r=pn("Space",n,t);return{useGap:wK(),rtlEnabled:r,mergedClsPrefix:t,margin:O(()=>{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:{[Re("gap",i)]:a}}=o.value,{row:s,col:l}=UI(a);return{horizontal:bn(l),vertical:bn(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:h}=this,p=Ra(yw(this),!1);if(!p.length)return null;const g=`${s.horizontal}px`,m=`${s.horizontal/2}px`,b=`${s.vertical}px`,w=`${s.vertical/2}px`,C=p.length-1,_=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?"":`-${w}`,marginBottom:d||e?"":`-${w}`,alignItems:n,gap:d?`${s.vertical}px ${s.horizontal}px`:""}},!f&&(d||h)?p:p.map((S,y)=>S.type===_n?S:v("div",{role:"none",class:i,style:[a,{maxWidth:"100%"},d?"":e?{marginBottom:y!==C?b:""}:u?{marginLeft:_?r==="space-between"&&y===C?"":m:y!==C?g:"",marginRight:_?r==="space-between"&&y===0?"":m:"",paddingTop:w,paddingBottom:w}:{marginRight:_?r==="space-between"&&y===C?"":m:y!==C?g:"",marginLeft:_?r==="space-between"&&y===0?"":m:"",paddingTop:w,paddingBottom:w}]},S)))}}),SK={name:"DynamicTags",common:je,peers:{Input:go,Button:Vn,Tag:lS,Space:R2},self(){return{inputWidth:"64px"}}},kK=SK,PK={name:"Element",common:je},TK=PK,AK={gapSmall:"4px 8px",gapMedium:"8px 12px",gapLarge:"12px 16px"},RK={name:"Flex",self(){return AK}},EK=RK,$K={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"};function IK(e){const{heightSmall:t,heightMedium:n,heightLarge:o,textColor1:r,errorColor:i,warningColor:a,lineHeight:s,textColor3:l}=e;return Object.assign(Object.assign({},$K),{blankHeightSmall:t,blankHeightMedium:n,blankHeightLarge:o,lineHeight:s,labelTextColor:r,asteriskColor:i,feedbackTextColorError:i,feedbackTextColorWarning:a,feedbackTextColor:l})}const OK={name:"Form",common:je,self:IK},MK=OK,zK={closeMargin:"16px 12px",closeSize:"20px",closeIconSize:"16px",width:"365px",padding:"16px",titleFontSize:"16px",metaFontSize:"12px",descriptionFontSize:"12px"};function E2(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:h,borderRadius:p,fontWeightStrong:g,boxShadow2:m,lineHeight:b,fontSize:w}=e;return Object.assign(Object.assign({},zK),{borderRadius:p,lineHeight:b,fontSize:w,headerFontWeight:g,iconColor:t,iconColorSuccess:n,iconColorInfo:o,iconColorWarning:r,iconColorError:i,color:a,textColor:t,closeIconColor:s,closeIconColorHover:l,closeIconColorPressed:c,closeBorderRadius:p,closeColorHover:u,closeColorPressed:d,headerTextColor:f,descriptionTextColor:h,actionTextColor:t,boxShadow:m})}const LK={name:"Notification",common:xt,peers:{Scrollbar:Yi},self:E2},FK=LK,DK={name:"Notification",common:je,peers:{Scrollbar:Un},self:E2},BK=DK,NK={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"};function $2(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:h,closeColorHover:p,closeColorPressed:g}=e;return Object.assign(Object.assign({},NK),{closeBorderRadius:h,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:p,closeColorPressed:g,closeIconColor:n,closeIconColorHover:o,closeIconColorPressed:r,closeColorHoverInfo:p,closeColorPressedInfo:g,closeIconColorInfo:n,closeIconColorHoverInfo:o,closeIconColorPressedInfo:r,closeColorHoverSuccess:p,closeColorPressedSuccess:g,closeIconColorSuccess:n,closeIconColorHoverSuccess:o,closeIconColorPressedSuccess:r,closeColorHoverError:p,closeColorPressedError:g,closeIconColorError:n,closeIconColorHoverError:o,closeIconColorPressedError:r,closeColorHoverWarning:p,closeColorPressedWarning:g,closeIconColorWarning:n,closeIconColorHoverWarning:o,closeIconColorPressedWarning:r,closeColorHoverLoading:p,closeColorPressedLoading:g,closeIconColorLoading:n,closeIconColorHoverLoading:o,closeIconColorPressedLoading:r,loadingColor:d,lineHeight:f,borderRadius:h})}const HK={name:"Message",common:xt,self:$2},jK=HK,UK={name:"Message",common:je,self:$2},VK=UK,WK={name:"ButtonGroup",common:je},qK=WK,KK={name:"GradientText",common:je,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}}},GK=KK,XK={name:"InputNumber",common:je,peers:{Button:Vn,Input:go},self(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}},YK=XK;function QK(e){const{textColorDisabled:t}=e;return{iconColorDisabled:t}}const JK={name:"InputNumber",common:xt,peers:{Button:Du,Input:wm},self:QK},ZK=JK,eG={name:"Layout",common:je,peers:{Scrollbar:Un},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:Ke(n,a),siderToggleBarColorHover:Ke(n,s),__invertScrollbar:"false"}}},tG=eG;function nG(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:Ke(o,s),siderToggleBarColorHover:Ke(o,l),__invertScrollbar:"true"}}const oG={name:"Layout",common:xt,peers:{Scrollbar:Yi},self:nG},I2=oG;function O2(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:Ke(o,l),colorPopover:r,colorHoverPopover:Ke(r,l),borderColor:i,borderColorModal:Ke(o,i),borderColorPopover:Ke(r,i),borderRadius:a,fontSize:s}}const rG={name:"List",common:xt,self:O2},iG=rG,aG={name:"List",common:je,self:O2},sG=aG,lG={name:"LoadingBar",common:je,self(e){const{primaryColor:t}=e;return{colorError:"red",colorLoading:t,height:"2px"}}},cG=lG;function uG(e){const{primaryColor:t,errorColor:n}=e;return{colorError:n,colorLoading:t,height:"2px"}}const dG={name:"LoadingBar",common:xt,self:uG},fG=dG,hG={name:"Log",common:je,peers:{Scrollbar:Un,Code:IS},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}}},pG=hG,mG={name:"Mention",common:je,peers:{InternalSelectMenu:ml,Input:go},self(e){const{boxShadow2:t}=e;return{menuBoxShadow:t}}},gG=mG;function vG(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}}function M2(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:ze(o,{alpha:.1}),itemColorActiveHover:ze(o,{alpha:.1}),itemColorActiveCollapsed:ze(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},vG("#BBB",o,"#FFF","#AAA"))}const bG={name:"Menu",common:xt,peers:{Tooltip:Rm,Dropdown:$m},self:M2},yG=bG,xG={name:"Menu",common:je,peers:{Tooltip:Nu,Dropdown:Im},self(e){const{primaryColor:t,primaryColorSuppl:n}=e,o=M2(e);return o.itemColorActive=ze(t,{alpha:.15}),o.itemColorActiveHover=ze(t,{alpha:.15}),o.itemColorActiveCollapsed=ze(t,{alpha:.15}),o.itemColorActiveInverted=n,o.itemColorActiveHoverInverted=n,o.itemColorActiveCollapsedInverted=n,o}},CG=xG,wG={titleFontSize:"18px",backSize:"22px"};function _G(e){const{textColor1:t,textColor2:n,textColor3:o,fontSize:r,fontWeightStrong:i,primaryColorHover:a,primaryColorPressed:s}=e;return Object.assign(Object.assign({},wG),{titleFontWeight:i,fontSize:r,titleTextColor:t,backColor:n,backColorHover:a,backColorPressed:s,subtitleTextColor:o})}const SG={name:"PageHeader",common:je,self:_G},kG={iconSize:"22px"};function PG(e){const{fontSize:t,warningColor:n}=e;return Object.assign(Object.assign({},kG),{fontSize:t,iconColor:n})}const TG={name:"Popconfirm",common:je,peers:{Button:Vn,Popover:Qi},self:PG},AG=TG;function 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%)"}}const RG={name:"Progress",common:xt,self:z2},EG=RG,$G={name:"Progress",common:je,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}},L2=$G,IG={name:"Rate",common:je,self(e){const{railColor:t}=e;return{itemColor:t,itemColorActive:"#CCAA33",itemSize:"20px",sizeSmall:"16px",sizeMedium:"20px",sizeLarge:"24px"}}},OG=IG,MG={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};function F2(e){const{textColor2:t,textColor1:n,errorColor:o,successColor:r,infoColor:i,warningColor:a,lineHeight:s,fontWeightStrong:l}=e;return Object.assign(Object.assign({},MG),{lineHeight:s,titleFontWeight:l,titleTextColor:n,textColor:t,iconColorError:o,iconColorSuccess:r,iconColorInfo:i,iconColorWarning:a})}const zG={name:"Result",common:xt,self:F2},LG=zG,FG={name:"Result",common:je,self:F2},DG=FG,BG={railHeight:"4px",railWidthVertical:"4px",handleSize:"18px",dotHeight:"8px",dotWidth:"8px",dotBorderRadius:"4px"},NG={name:"Slider",common:je,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({},BG),{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:""})}},HG=NG;function D2(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}}const jG={name:"Spin",common:xt,self:D2},UG=jG,VG={name:"Spin",common:je,self:D2},WG=VG;function qG(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}}const KG={name:"Statistic",common:je,self:qG},GG=KG,XG={stepHeaderFontSizeSmall:"14px",stepHeaderFontSizeMedium:"16px",indicatorIndexFontSizeSmall:"14px",indicatorIndexFontSizeMedium:"16px",indicatorSizeSmall:"22px",indicatorSizeMedium:"28px",indicatorIconSizeSmall:"14px",indicatorIconSizeMedium:"18px"};function YG(e){const{fontWeightStrong:t,baseColor:n,textColorDisabled:o,primaryColor:r,errorColor:i,textColor1:a,textColor2:s}=e;return Object.assign(Object.assign({},XG),{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})}const QG={name:"Steps",common:je,self:YG},JG=QG,B2={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"},ZG={name:"Switch",common:je,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({},B2),{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 ${ze(r,{alpha:.3})}`})}},eX=ZG;function tX(e){const{primaryColor:t,opacityDisabled:n,borderRadius:o,textColor3:r}=e,i="rgba(0, 0, 0, .14)";return Object.assign(Object.assign({},B2),{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 ${ze(t,{alpha:.2})}`})}const nX={name:"Switch",common:xt,self:tX},oX=nX,rX={thPaddingSmall:"6px",thPaddingMedium:"12px",thPaddingLarge:"12px",tdPaddingSmall:"6px",tdPaddingMedium:"12px",tdPaddingLarge:"12px"};function iX(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:h,fontSizeLarge:p}=e;return Object.assign(Object.assign({},rX),{fontSizeSmall:f,fontSizeMedium:h,fontSizeLarge:p,lineHeight:d,borderRadius:c,borderColor:Ke(n,t),borderColorModal:Ke(o,t),borderColorPopover:Ke(r,t),tdColor:n,tdColorModal:o,tdColorPopover:r,tdColorStriped:Ke(n,a),tdColorStripedModal:Ke(o,a),tdColorStripedPopover:Ke(r,a),thColor:Ke(n,i),thColorModal:Ke(o,i),thColorPopover:Ke(r,i),thTextColor:s,tdTextColor:l,thFontWeight:u})}const aX={name:"Table",common:je,self:iX},sX=aX,lX={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"};function cX(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:h,borderRadius:p,fontSize:g,fontWeightStrong:m}=e;return Object.assign(Object.assign({},lX),{colorSegment:c,tabFontSizeCard:g,tabTextColorLine:h,tabTextColorActiveLine:n,tabTextColorHoverLine:n,tabTextColorDisabledLine:o,tabTextColorSegment:h,tabTextColorActiveSegment:t,tabTextColorHoverSegment:t,tabTextColorDisabledSegment:o,tabTextColorBar:h,tabTextColorActiveBar:n,tabTextColorHoverBar:n,tabTextColorDisabledBar:o,tabTextColorCard:h,tabTextColorHoverCard:h,tabTextColorActiveCard:n,tabTextColorDisabledCard:o,barColor:n,closeIconColor:r,closeIconColorHover:i,closeIconColorPressed:a,closeColorHover:s,closeColorPressed:l,closeBorderRadius:p,tabColor:c,tabColorSegment:u,tabBorderColor:d,tabFontWeightActive:f,tabFontWeight:f,tabBorderRadius:p,paneTextColor:t,fontWeightStrong:m})}const uX={name:"Tabs",common:je,self(e){const t=cX(e),{inputColor:n}=e;return t.colorSegment=n,t.tabColorSegment=n,t}},dX=uX;function fX(e){const{textColor1:t,textColor2:n,fontWeightStrong:o,fontSize:r}=e;return{fontSize:r,titleTextColor:t,textColor:n,titleFontWeight:o}}const hX={name:"Thing",common:je,self:fX},pX=hX,mX={titleMarginMedium:"0 0 6px 0",titleMarginLarge:"-2px 0 6px 0",titleFontSizeMedium:"14px",titleFontSizeLarge:"16px",iconSizeMedium:"14px",iconSizeLarge:"14px"},gX={name:"Timeline",common:je,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({},mX),{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})}},vX=gX,bX={extraFontSizeSmall:"12px",extraFontSizeMedium:"12px",extraFontSizeLarge:"14px",titleFontSizeSmall:"14px",titleFontSizeMedium:"16px",titleFontSizeLarge:"16px",closeSize:"20px",closeIconSize:"16px",headerHeightSmall:"44px",headerHeightMedium:"44px",headerHeightLarge:"50px"},yX={name:"Transfer",common:je,peers:{Checkbox:Ya,Scrollbar:Un,Input:go,Empty:Xi,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:h,hoverColor:p,closeColorHover:g,closeColorPressed:m,closeIconColor:b,closeIconColorHover:w,closeIconColorPressed:C,dividerColor:_}=e;return Object.assign(Object.assign({},bX),{itemHeightSmall:a,itemHeightMedium:a,itemHeightLarge:i,fontSizeSmall:r,fontSizeMedium:o,fontSizeLarge:n,borderRadius:s,dividerColor:_,borderColor:"#0000",listColor:l,headerColor:c,titleTextColor:u,titleTextColorDisabled:d,extraTextColor:h,extraTextColorDisabled:d,itemTextColor:f,itemTextColorDisabled:d,itemColorPending:p,titleFontWeight:t,closeColorHover:g,closeColorPressed:m,closeIconColor:b,closeIconColorHover:w,closeIconColorPressed:C})}},xX=yX;function CX(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:ze(i,{alpha:.1}),arrowColor:a,nodeTextColor:s,nodeTextColorDisabled:l,loadingColor:i,dropMarkColor:i,lineColor:n}}const wX={name:"Tree",common:je,peers:{Checkbox:Ya,Scrollbar:Un,Empty:Xi},self(e){const{primaryColor:t}=e,n=CX(e);return n.nodeColorActive=ze(t,{alpha:.15}),n}},N2=wX,_X={name:"TreeSelect",common:je,peers:{Tree:N2,Empty:Xi,InternalSelection:xm}},SX=_X,kX={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"};function PX(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:h,successColor:p,codeColor:g}=e;return Object.assign(Object.assign({},kX),{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:h,headerBarColorWarning:f,headerBarColorSuccess:p,textColor:n,textColor1Depth:c,textColor2Depth:n,textColor3Depth:u,textColorPrimary:t,textColorInfo:d,textColorSuccess:p,textColorWarning:f,textColorError:h,codeTextColor:n,codeColor:g,codeBorder:"1px solid #0000"})}const TX={name:"Typography",common:je,self:PX},AX=TX;function RX(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:ze(o,{alpha:.06}),itemTextColor:r,itemTextColorError:o,itemTextColorSuccess:i,itemIconColor:t,itemDisabledOpacity:a,itemBorderImageCardError:`1px solid ${o}`,itemBorderImageCard:`1px solid ${l}`}}const EX={name:"Upload",common:je,peers:{Button:Vn,Progress:L2},self(e){const{errorColor:t}=e,n=RX(e);return n.itemColorHoverError=ze(t,{alpha:.09}),n}},$X=EX,IX={name:"Watermark",common:je,self(e){const{fontFamily:t}=e;return{fontFamily:t}}},OX=IX,MX={name:"Row",common:je},zX=MX,LX={name:"FloatButton",common:je,self(e){const{popoverColor:t,textColor2:n,buttonColor2Hover:o,buttonColor2Pressed:r,primaryColor:i,primaryColorHover:a,primaryColorPressed:s,baseColor:l,borderRadius:c}=e;return{color:t,textColor:n,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)",colorHover:o,colorPressed:r,colorPrimary:i,colorPrimaryHover:a,colorPrimaryPressed:s,textColorPrimary:l,borderRadiusSquare:c}}},FX=LX;function DX(e){const{primaryColor:t,baseColor:n}=e;return{color:t,iconColor:n}}const BX={name:"IconWrapper",common:je,self:DX},NX=BX,HX={name:"Image",common:je,peers:{Tooltip:Nu},self:e=>{const{textColor2:t}=e;return{toolbarIconColor:t,toolbarColor:"rgba(0, 0, 0, .35)",toolbarBoxShadow:"none",toolbarBorderRadius:"24px"}}};function jX(e){return e==null||typeof e=="string"&&e.trim()===""?null:Number(e)}function UX(e){return e.includes(".")&&(/^(-)?\d+.*(\.|0)$/.test(e)||/^\.\d+$/.test(e))}function ff(e){return e==null?!0:!Number.isNaN(e)}function v1(e,t){return typeof e!="number"?"":t===void 0?String(e):e.toFixed(t)}function hf(e){if(e===null)return null;if(typeof e=="number")return e;{const t=Number(e);return Number.isNaN(t)?null:t}}const VX=W([z("input-number-suffix",`
|
||
display: inline-block;
|
||
margin-right: 10px;
|
||
`),z("input-number-prefix",`
|
||
display: inline-block;
|
||
margin-left: 10px;
|
||
`)]),b1=800,y1=100,WX=Object.assign(Object.assign({},Ne.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},round:{type:Boolean,default:void 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]}),qX=Ce({name:"InputNumber",props:WX,setup(e){const{mergedBorderedRef:t,mergedClsPrefixRef:n,mergedRtlRef:o}=st(e),r=Ne("InputNumber","-input-number",VX,ZK,e,n),{localeRef:i}=Ui("InputNumber"),a=mr(e),{mergedSizeRef:s,mergedDisabledRef:l,mergedStatusRef:c}=a,u=j(null),d=j(null),f=j(null),h=j(e.defaultValue),p=Ue(e,"value"),g=rn(p,h),m=j(""),b=ne=>{const ye=String(ne).split(".")[1];return ye?ye.length:0},w=ne=>{const ye=[e.min,e.max,e.step,ne].map(Pe=>Pe===void 0?0:b(Pe));return Math.max(...ye)},C=kt(()=>{const{placeholder:ne}=e;return ne!==void 0?ne:i.value.placeholder}),_=kt(()=>{const ne=hf(e.step);return ne!==null?ne===0?1:Math.abs(ne):1}),S=kt(()=>{const ne=hf(e.min);return ne!==null?ne:null}),y=kt(()=>{const ne=hf(e.max);return ne!==null?ne:null}),x=()=>{const{value:ne}=g;if(ff(ne)){const{format:ye,precision:Pe}=e;ye?m.value=ye(ne):ne===null||Pe===void 0||b(ne)>Pe?m.value=v1(ne,void 0):m.value=v1(ne,Pe)}else m.value=String(ne)};x();const k=ne=>{const{value:ye}=g;if(ne===ye){x();return}const{"onUpdate:value":Pe,onUpdateValue:I,onChange:H}=e,{nTriggerFormInput:te,nTriggerFormChange:_e}=a;H&&$e(H,ne),I&&$e(I,ne),Pe&&$e(Pe,ne),h.value=ne,te(),_e()},P=({offset:ne,doUpdateIfValid:ye,fixPrecision:Pe,isInputing:I})=>{const{value:H}=m;if(I&&UX(H))return!1;const te=(e.parse||jX)(H);if(te===null)return ye&&k(null),null;if(ff(te)){const _e=b(te),{precision:he}=e;if(he!==void 0&&he<_e&&!Pe)return!1;let de=Number.parseFloat((te+ne).toFixed(he??w(te)));if(ff(de)){const{value:ie}=y,{value:fe}=S;if(ie!==null&&de>ie){if(!ye||I)return!1;de=ie}if(fe!==null&&de<fe){if(!ye||I)return!1;de=fe}return e.validator&&!e.validator(de)?!1:(ye&&k(de),de)}}return!1},T=kt(()=>P({offset:0,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})===!1),E=kt(()=>{const{value:ne}=g;if(e.validator&&ne===null)return!1;const{value:ye}=_;return P({offset:-ye,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1}),R=kt(()=>{const{value:ne}=g;if(e.validator&&ne===null)return!1;const{value:ye}=_;return P({offset:+ye,doUpdateIfValid:!1,isInputing:!1,fixPrecision:!1})!==!1});function q(ne){const{onFocus:ye}=e,{nTriggerFormFocus:Pe}=a;ye&&$e(ye,ne),Pe()}function L(ne){var ye,Pe;if(ne.target===((ye=u.value)===null||ye===void 0?void 0:ye.wrapperElRef))return;const I=P({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0});if(I!==!1){const _e=(Pe=u.value)===null||Pe===void 0?void 0:Pe.inputElRef;_e&&(_e.value=String(I||"")),g.value===I&&x()}else x();const{onBlur:H}=e,{nTriggerFormBlur:te}=a;H&&$e(H,ne),te(),Ht(()=>{x()})}function D(ne){const{onClear:ye}=e;ye&&$e(ye,ne)}function F(){const{value:ne}=R;if(!ne){ae();return}const{value:ye}=g;if(ye===null)e.validator||k(me());else{const{value:Pe}=_;P({offset:Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}function K(){const{value:ne}=E;if(!ne){re();return}const{value:ye}=g;if(ye===null)e.validator||k(me());else{const{value:Pe}=_;P({offset:-Pe,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})}}const V=q,le=L;function me(){if(e.validator)return null;const{value:ne}=S,{value:ye}=y;return ne!==null?Math.max(0,ne):ye!==null?Math.min(0,ye):0}function ee(ne){D(ne),k(null)}function N(ne){var ye,Pe,I;!((ye=f.value)===null||ye===void 0)&&ye.$el.contains(ne.target)&&ne.preventDefault(),!((Pe=d.value)===null||Pe===void 0)&&Pe.$el.contains(ne.target)&&ne.preventDefault(),(I=u.value)===null||I===void 0||I.activate()}let M=null,Z=null,G=null;function re(){G&&(window.clearTimeout(G),G=null),M&&(window.clearInterval(M),M=null)}let X=null;function ae(){X&&(window.clearTimeout(X),X=null),Z&&(window.clearInterval(Z),Z=null)}function B(){re(),G=window.setTimeout(()=>{M=window.setInterval(()=>{K()},y1)},b1),$t("mouseup",document,re,{once:!0})}function xe(){ae(),X=window.setTimeout(()=>{Z=window.setInterval(()=>{F()},y1)},b1),$t("mouseup",document,ae,{once:!0})}const se=()=>{Z||F()},ge=()=>{M||K()};function $(ne){var ye,Pe;if(ne.key==="Enter"){if(ne.target===((ye=u.value)===null||ye===void 0?void 0:ye.wrapperElRef))return;P({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&((Pe=u.value)===null||Pe===void 0||Pe.deactivate())}else if(ne.key==="ArrowUp"){if(!R.value||e.keyboard.ArrowUp===!1)return;ne.preventDefault(),P({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&F()}else if(ne.key==="ArrowDown"){if(!E.value||e.keyboard.ArrowDown===!1)return;ne.preventDefault(),P({offset:0,doUpdateIfValid:!0,isInputing:!1,fixPrecision:!0})!==!1&&K()}}function A(ne){m.value=ne,e.updateValueOnInput&&!e.format&&!e.parse&&e.precision===void 0&&P({offset:0,doUpdateIfValid:!0,isInputing:!0,fixPrecision:!1})}ut(g,()=>{x()});const oe={focus:()=>{var ne;return(ne=u.value)===null||ne===void 0?void 0:ne.focus()},blur:()=>{var ne;return(ne=u.value)===null||ne===void 0?void 0:ne.blur()},select:()=>{var ne;return(ne=u.value)===null||ne===void 0?void 0:ne.select()}},Se=pn("InputNumber",o,n);return Object.assign(Object.assign({},oe),{rtlEnabled:Se,inputInstRef:u,minusButtonInstRef:d,addButtonInstRef:f,mergedClsPrefix:n,mergedBordered:t,uncontrolledValue:h,mergedValue:g,mergedPlaceholder:C,displayedValueInvalid:T,mergedSize:s,mergedDisabled:l,displayedValue:m,addable:R,minusable:E,mergedStatus:c,handleFocus:V,handleBlur:le,handleClear:ee,handleMouseDown:N,handleAddClick:se,handleMinusClick:ge,handleAddMousedown:xe,handleMinusMousedown:B,handleKeyDown:$,handleUpdateDisplayedValue:A,mergedTheme:r,inputThemeOverrides:{paddingSmall:"0 8px 0 10px",paddingMedium:"0 8px 0 12px",paddingLarge:"0 8px 0 14px"},buttonThemeOverrides:O(()=>{const{self:{iconColorDisabled:ne}}=r.value,[ye,Pe,I,H]=qo(ne);return{textColorTextDisabled:`rgb(${ye}, ${Pe}, ${I})`,opacityDisabled:`${H}`}})})},render(){const{mergedClsPrefix:e,$slots:t}=this,n=()=>v(t1,{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:()=>$n(t["minus-icon"],()=>[v(Wt,{clsPrefix:e},{default:()=>v(HN,null)})])}),o=()=>v(t1,{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:()=>$n(t["add-icon"],()=>[v(Wt,{clsPrefix:e},{default:()=>v(ON,null)})])});return v("div",{class:[`${e}-input-number`,this.rtlEnabled&&`${e}-input-number--rtl`]},v(dr,{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,round:this.round,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(),Et(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?[Et(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)}}))}}),H2="n-layout-sider",j2={type:String,default:"static"},KX=z("layout",`
|
||
color: var(--n-text-color);
|
||
background-color: var(--n-color);
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
z-index: auto;
|
||
flex: auto;
|
||
overflow: hidden;
|
||
transition:
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`,[z("layout-scroll-container",`
|
||
overflow-x: hidden;
|
||
box-sizing: border-box;
|
||
height: 100%;
|
||
`),J("absolute-positioned",`
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`)]),GX={embedded:Boolean,position:j2,nativeScrollbar:{type:Boolean,default:!0},scrollbarProps:Object,onScroll:Function,contentClass:String,contentStyle:{type:[String,Object],default:""},hasSider:Boolean,siderPlacement:{type:String,default:"left"}},U2="n-layout";function XX(e){return Ce({name:e?"LayoutContent":"Layout",props:Object.assign(Object.assign({},Ne.props),GX),setup(t){const n=j(null),o=j(null),{mergedClsPrefixRef:r,inlineThemeDisabled:i}=st(t),a=Ne("Layout","-layout",KX,I2,t,r);function s(g,m){if(t.nativeScrollbar){const{value:b}=n;b&&(m===void 0?b.scrollTo(g):b.scrollTo(g,m))}else{const{value:b}=o;b&&b.scrollTo(g,m)}}at(U2,t);let l=0,c=0;const u=g=>{var m;const b=g.target;l=b.scrollLeft,c=b.scrollTop,(m=t.onScroll)===null||m===void 0||m.call(t,g)};rm(()=>{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},h=O(()=>{const{common:{cubicBezierEaseInOut:g},self:m}=a.value;return{"--n-bezier":g,"--n-color":t.embedded?m.colorEmbedded:m.color,"--n-text-color":m.textColor}}),p=i?Pt("layout",O(()=>t.embedded?"e":""),h,t):void 0;return Object.assign({mergedClsPrefix:r,scrollableElRef:n,scrollbarInstRef:o,hasSiderStyle:d,mergedTheme:a,handleNativeElScroll:u,cssVars:i?void 0:h,themeClass:p==null?void 0:p.themeClass,onRender:p==null?void 0:p.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(Oo,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 YX=XX(!1),QX=z("layout-sider",`
|
||
flex-shrink: 0;
|
||
box-sizing: border-box;
|
||
position: relative;
|
||
z-index: 1;
|
||
color: var(--n-text-color);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier),
|
||
min-width .3s var(--n-bezier),
|
||
max-width .3s var(--n-bezier),
|
||
transform .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
background-color: var(--n-color);
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
`,[J("bordered",[U("border",`
|
||
content: "";
|
||
position: absolute;
|
||
top: 0;
|
||
bottom: 0;
|
||
width: 1px;
|
||
background-color: var(--n-border-color);
|
||
transition: background-color .3s var(--n-bezier);
|
||
`)]),U("left-placement",[J("bordered",[U("border",`
|
||
right: 0;
|
||
`)])]),J("right-placement",`
|
||
justify-content: flex-start;
|
||
`,[J("bordered",[U("border",`
|
||
left: 0;
|
||
`)]),J("collapsed",[z("layout-toggle-button",[z("base-icon",`
|
||
transform: rotate(180deg);
|
||
`)]),z("layout-toggle-bar",[W("&:hover",[U("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),U("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])])]),z("layout-toggle-button",`
|
||
left: 0;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
`,[z("base-icon",`
|
||
transform: rotate(0);
|
||
`)]),z("layout-toggle-bar",`
|
||
left: -28px;
|
||
transform: rotate(180deg);
|
||
`,[W("&:hover",[U("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),U("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})])])]),J("collapsed",[z("layout-toggle-bar",[W("&:hover",[U("top",{transform:"rotate(-12deg) scale(1.15) translateY(-2px)"}),U("bottom",{transform:"rotate(12deg) scale(1.15) translateY(2px)"})])]),z("layout-toggle-button",[z("base-icon",`
|
||
transform: rotate(0);
|
||
`)])]),z("layout-toggle-button",`
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
right .3s var(--n-bezier),
|
||
left .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
cursor: pointer;
|
||
width: 24px;
|
||
height: 24px;
|
||
position: absolute;
|
||
top: 50%;
|
||
right: 0;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 18px;
|
||
color: var(--n-toggle-button-icon-color);
|
||
border: var(--n-toggle-button-border);
|
||
background-color: var(--n-toggle-button-color);
|
||
box-shadow: 0 2px 4px 0px rgba(0, 0, 0, .06);
|
||
transform: translateX(50%) translateY(-50%);
|
||
z-index: 1;
|
||
`,[z("base-icon",`
|
||
transition: transform .3s var(--n-bezier);
|
||
transform: rotate(180deg);
|
||
`)]),z("layout-toggle-bar",`
|
||
cursor: pointer;
|
||
height: 72px;
|
||
width: 32px;
|
||
position: absolute;
|
||
top: calc(50% - 36px);
|
||
right: -28px;
|
||
`,[U("top, bottom",`
|
||
position: absolute;
|
||
width: 4px;
|
||
border-radius: 2px;
|
||
height: 38px;
|
||
left: 14px;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
transform .3s var(--n-bezier);
|
||
`),U("bottom",`
|
||
position: absolute;
|
||
top: 34px;
|
||
`),W("&:hover",[U("top",{transform:"rotate(12deg) scale(1.15) translateY(-2px)"}),U("bottom",{transform:"rotate(-12deg) scale(1.15) translateY(2px)"})]),U("top, bottom",{backgroundColor:"var(--n-toggle-bar-color)"}),W("&:hover",[U("top, bottom",{backgroundColor:"var(--n-toggle-bar-color-hover)"})])]),U("border",`
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
width: 1px;
|
||
transition: background-color .3s var(--n-bezier);
|
||
`),z("layout-sider-scroll-container",`
|
||
flex-grow: 1;
|
||
flex-shrink: 0;
|
||
box-sizing: border-box;
|
||
height: 100%;
|
||
opacity: 0;
|
||
transition: opacity .3s var(--n-bezier);
|
||
max-width: 100%;
|
||
`),J("show-content",[z("layout-sider-scroll-container",{opacity:1})]),J("absolute-positioned",`
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`)]),JX=Ce({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(Wt,{clsPrefix:e},{default:()=>v(vm,null)}))}}),ZX=Ce({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`}))}}),eY={position:j2,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},tY=Ce({name:"LayoutSider",props:Object.assign(Object.assign({},Ne.props),eY),setup(e){const t=Ve(U2),n=j(null),o=j(null),r=j(e.defaultCollapsed),i=rn(Ue(e,"collapsed"),r),a=O(()=>qt(i.value?e.collapsedWidth:e.width)),s=O(()=>e.collapseMode!=="transform"?{}:{minWidth:qt(e.width)}),l=O(()=>t?t.siderPlacement:"left");function c(S,y){if(e.nativeScrollbar){const{value:x}=n;x&&(y===void 0?x.scrollTo(S):x.scrollTo(S,y))}else{const{value:x}=o;x&&x.scrollTo(S,y)}}function u(){const{"onUpdate:collapsed":S,onUpdateCollapsed:y,onExpand:x,onCollapse:k}=e,{value:P}=i;y&&$e(y,!P),S&&$e(S,!P),r.value=!P,P?x&&$e(x):k&&$e(k)}let d=0,f=0;const h=S=>{var y;const x=S.target;d=x.scrollLeft,f=x.scrollTop,(y=e.onScroll)===null||y===void 0||y.call(e,S)};rm(()=>{if(e.nativeScrollbar){const S=n.value;S&&(S.scrollTop=f,S.scrollLeft=d)}}),at(H2,{collapsedRef:i,collapseModeRef:Ue(e,"collapseMode")});const{mergedClsPrefixRef:p,inlineThemeDisabled:g}=st(e),m=Ne("Layout","-layout-sider",QX,I2,e,p);function b(S){var y,x;S.propertyName==="max-width"&&(i.value?(y=e.onAfterLeave)===null||y===void 0||y.call(e):(x=e.onAfterEnter)===null||x===void 0||x.call(e))}const w={scrollTo:c},C=O(()=>{const{common:{cubicBezierEaseInOut:S},self:y}=m.value,{siderToggleButtonColor:x,siderToggleButtonBorder:k,siderToggleBarColor:P,siderToggleBarColorHover:T}=y,E={"--n-bezier":S,"--n-toggle-button-color":x,"--n-toggle-button-border":k,"--n-toggle-bar-color":P,"--n-toggle-bar-color-hover":T};return e.inverted?(E["--n-color"]=y.siderColorInverted,E["--n-text-color"]=y.textColorInverted,E["--n-border-color"]=y.siderBorderColorInverted,E["--n-toggle-button-icon-color"]=y.siderToggleButtonIconColorInverted,E.__invertScrollbar=y.__invertScrollbar):(E["--n-color"]=y.siderColor,E["--n-text-color"]=y.textColor,E["--n-border-color"]=y.siderBorderColor,E["--n-toggle-button-icon-color"]=y.siderToggleButtonIconColor),E}),_=g?Pt("layout-sider",O(()=>e.inverted?"a":"b"),C,e):void 0;return Object.assign({scrollableElRef:n,scrollbarInstRef:o,mergedClsPrefix:p,mergedTheme:m,styleMaxWidth:a,mergedCollapsed:i,scrollContainerStyle:s,siderPlacement:l,handleNativeElScroll:h,handleTransitionend:b,handleTriggerClick:u,inlineThemeDisabled:g,cssVars:C,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender},w)},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(Oo,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(ZX,{clsPrefix:t,class:n?this.collapsedTriggerClass:this.triggerClass,style:n?this.collapsedTriggerStyle:this.triggerStyle,onClick:this.handleTriggerClick}):v(JX,{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)}}),nY={extraFontSize:"12px",width:"440px"},oY={name:"Transfer",common:je,peers:{Checkbox:Ya,Scrollbar:Un,Input:go,Empty:Xi,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:h,textColorDisabled:p,textColor2:g,hoverColor:m}=e;return Object.assign(Object.assign({},nY),{itemHeightSmall:c,itemHeightMedium:l,itemHeightLarge:s,fontSizeSmall:a,fontSizeMedium:i,fontSizeLarge:r,borderRadius:u,borderColor:"#0000",listColor:d,headerColor:f,titleTextColor:h,titleTextColorDisabled:p,extraTextColor:g,filterDividerColor:"#0000",itemTextColor:g,itemTextColorDisabled:p,itemColorPending:m,titleFontWeight:o,iconColor:n,iconColorDisabled:t})}},rY=oY,iY=W([z("list",`
|
||
--n-merged-border-color: var(--n-border-color);
|
||
--n-merged-color: var(--n-color);
|
||
--n-merged-color-hover: var(--n-color-hover);
|
||
margin: 0;
|
||
font-size: var(--n-font-size);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
padding: 0;
|
||
list-style-type: none;
|
||
color: var(--n-text-color);
|
||
background-color: var(--n-merged-color);
|
||
`,[J("show-divider",[z("list-item",[W("&:not(:last-child)",[U("divider",`
|
||
background-color: var(--n-merged-border-color);
|
||
`)])])]),J("clickable",[z("list-item",`
|
||
cursor: pointer;
|
||
`)]),J("bordered",`
|
||
border: 1px solid var(--n-merged-border-color);
|
||
border-radius: var(--n-border-radius);
|
||
`),J("hoverable",[z("list-item",`
|
||
border-radius: var(--n-border-radius);
|
||
`,[W("&:hover",`
|
||
background-color: var(--n-merged-color-hover);
|
||
`,[U("divider",`
|
||
background-color: transparent;
|
||
`)])])]),J("bordered, hoverable",[z("list-item",`
|
||
padding: 12px 20px;
|
||
`),U("header, footer",`
|
||
padding: 12px 20px;
|
||
`)]),U("header, footer",`
|
||
padding: 12px 0;
|
||
box-sizing: border-box;
|
||
transition: border-color .3s var(--n-bezier);
|
||
`,[W("&:not(:last-child)",`
|
||
border-bottom: 1px solid var(--n-merged-border-color);
|
||
`)]),z("list-item",`
|
||
position: relative;
|
||
padding: 12px 0;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-wrap: nowrap;
|
||
align-items: center;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
`,[U("prefix",`
|
||
margin-right: 20px;
|
||
flex: 0;
|
||
`),U("suffix",`
|
||
margin-left: 20px;
|
||
flex: 0;
|
||
`),U("main",`
|
||
flex: 1;
|
||
`),U("divider",`
|
||
height: 1px;
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
right: 0;
|
||
background-color: transparent;
|
||
transition: background-color .3s var(--n-bezier);
|
||
pointer-events: none;
|
||
`)])]),cl(z("list",`
|
||
--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);
|
||
`)),Au(z("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);
|
||
`))]),aY=Object.assign(Object.assign({},Ne.props),{size:{type:String,default:"medium"},bordered:Boolean,clickable:Boolean,hoverable:Boolean,showDivider:{type:Boolean,default:!0}}),V2="n-list",Fm=Ce({name:"List",props:aY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n,mergedRtlRef:o}=st(e),r=pn("List",o,t),i=Ne("List","-list",iY,iG,e,t);at(V2,{showDividerRef:Ue(e,"showDivider"),mergedClsPrefixRef:t});const a=O(()=>{const{common:{cubicBezierEaseInOut:l},self:{fontSize:c,textColor:u,color:d,colorModal:f,colorPopover:h,borderColor:p,borderColorModal:g,borderColorPopover:m,borderRadius:b,colorHover:w,colorHoverModal:C,colorHoverPopover:_}}=i.value;return{"--n-font-size":c,"--n-bezier":l,"--n-text-color":u,"--n-color":d,"--n-border-radius":b,"--n-border-color":p,"--n-border-color-modal":g,"--n-border-color-popover":m,"--n-color-modal":f,"--n-color-popover":h,"--n-color-hover":w,"--n-color-hover-modal":C,"--n-color-hover-popover":_}}),s=n?Pt("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)}}),Dm=Ce({name:"ListItem",setup(){const e=Ve(V2,null);return e||hr("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`}))}}),W2="n-loading-bar",q2="n-loading-bar-api",sY=z("loading-bar-container",`
|
||
z-index: 5999;
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
right: 0;
|
||
height: 2px;
|
||
`,[pl({enterDuration:"0.3s",leaveDuration:"0.8s"}),z("loading-bar",`
|
||
width: 100%;
|
||
transition:
|
||
max-width 4s linear,
|
||
background .2s linear;
|
||
height: var(--n-height);
|
||
`,[J("starting",`
|
||
background: var(--n-color-loading);
|
||
`),J("finishing",`
|
||
background: var(--n-color-loading);
|
||
transition:
|
||
max-width .2s linear,
|
||
background .2s linear;
|
||
`),J("error",`
|
||
background: var(--n-color-error);
|
||
transition:
|
||
max-width .2s linear,
|
||
background .2s linear;
|
||
`)])]);var Gl=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 Xl(e,t){return`${t}-loading-bar ${t}-loading-bar--${e}`}const lY=Ce({name:"LoadingBar",props:{containerClass:String,containerStyle:[String,Object]},setup(){const{inlineThemeDisabled:e}=st(),{props:t,mergedClsPrefixRef:n}=Ve(W2),o=j(null),r=j(!1),i=j(!1),a=j(!1),s=j(!1);let l=!1;const c=j(!1),u=O(()=>{const{loadingBarStyle:S}=t;return S?S[c.value?"error":"loading"]:""});function d(){return Gl(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(){return Gl(this,arguments,void 0,function*(S=0,y=80,x="starting"){if(i.value=!0,yield d(),l)return;a.value=!0,yield Ht();const k=o.value;k&&(k.style.maxWidth=`${S}%`,k.style.transition="none",k.offsetWidth,k.className=Xl(x,n.value),k.style.transition="",k.style.maxWidth=`${y}%`)})}function h(){return Gl(this,void 0,void 0,function*(){if(l||c.value)return;i.value&&(yield Ht()),l=!0;const S=o.value;S&&(S.className=Xl("finishing",n.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1)})}function p(){if(!(l||c.value))if(!a.value)f(100,100,"error").then(()=>{c.value=!0;const S=o.value;S&&(S.className=Xl("error",n.value),S.offsetWidth,a.value=!1)});else{c.value=!0;const S=o.value;if(!S)return;S.className=Xl("error",n.value),S.style.maxWidth="100%",S.offsetWidth,a.value=!1}}function g(){r.value=!0}function m(){r.value=!1}function b(){return Gl(this,void 0,void 0,function*(){yield d()})}const w=Ne("LoadingBar","-loading-bar",sY,fG,t,n),C=O(()=>{const{self:{height:S,colorError:y,colorLoading:x}}=w.value;return{"--n-height":S,"--n-color-loading":x,"--n-color-error":y}}),_=e?Pt("loading-bar",void 0,C,t):void 0;return{mergedClsPrefix:n,loadingBarRef:o,started:i,loading:a,entering:r,transitionDisabled:s,start:f,error:p,finish:h,handleEnter:g,handleAfterEnter:m,handleAfterLeave:b,mergedLoadingBarStyle:u,cssVars:e?void 0:C,themeClass:_==null?void 0:_.themeClass,onRender:_==null?void 0:_.onRender}},render(){if(!this.started)return null;const{mergedClsPrefix:e}=this;return v(fn,{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),dn(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]})),[[Mn,this.loading||!this.loading&&this.entering]])}})}}),cY=Object.assign(Object.assign({},Ne.props),{to:{type:[String,Object,Boolean],default:void 0},containerClass:String,containerStyle:[String,Object],loadingBarStyle:{type:Object}}),uY=Ce({name:"LoadingBarProvider",props:cY,setup(e){const t=ti(),n=j(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}=st(e);return at(q2,o),at(W2,{props:e,mergedClsPrefixRef:r}),Object.assign(o,{loadingBarRef:n})},render(){var e,t;return v(rt,null,v(iu,{disabled:this.to===!1,to:this.to||"body"},v(lY,{ref:"loadingBarRef",containerStyle:this.containerStyle,containerClass:this.containerClass})),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e))}});function dY(){const e=Ve(q2,null);return e===null&&hr("use-loading-bar","No outer <n-loading-bar-provider /> founded."),e}const yl="n-menu",Bm="n-submenu",Nm="n-menu-item-group",Yl=8;function Hm(e){const t=Ve(yl),{props:n,mergedCollapsedRef:o}=t,r=Ve(Bm,null),i=Ve(Nm,null),a=O(()=>n.mode==="horizontal"),s=O(()=>a.value?n.dropdownPlacement:"tmNodes"in e?"right-start":"right"),l=O(()=>{var f;return Math.max((f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize,n.iconSize)}),c=O(()=>{var f;return!a.value&&e.root&&o.value&&(f=n.collapsedIconSize)!==null&&f!==void 0?f:n.iconSize}),u=O(()=>{if(a.value)return;const{collapsedWidth:f,indent:h,rootIndent:p}=n,{root:g,isGroup:m}=e,b=p===void 0?h:p;return g?o.value?f/2-l.value/2:b:i&&typeof i.paddingLeftRef.value=="number"?h/2+i.paddingLeftRef.value:r&&typeof r.paddingLeftRef.value=="number"?(m?h/2:h)+r.paddingLeftRef.value:0}),d=O(()=>{const{collapsedWidth:f,indent:h,rootIndent:p}=n,{value:g}=l,{root:m}=e;return a.value||!m||!o.value?Yl:(p===void 0?h:p)+g+Yl-(f+g)/2});return{dropdownPlacement:s,activeIconSize:c,maxIconSize:l,paddingLeft:u,iconMarginRight:d,NMenu:t,NSubmenu:r}}const jm={internalKey:{type:[String,Number],required:!0},root:Boolean,isGroup:Boolean,level:{type:Number,required:!0},title:[String,Function],extra:[String,Function]},K2=Object.assign(Object.assign({},jm),{tmNode:{type:Object,required:!0},tmNodes:{type:Array,required:!0}}),fY=Ce({name:"MenuOptionGroup",props:K2,setup(e){at(Bm,null);const t=Hm(e);at(Nm,{paddingLeftRef:t.paddingLeft});const{mergedClsPrefixRef:n,props:o}=Ve(yl);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(rt,null," ",Vt(e.extra)):null),v("div",null,e.tmNodes.map(l=>Um(l,o))))}}}),G2=Ce({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}=Ve(yl);return{menuProps:t,style:O(()=>{const{paddingLeft:n}=e;return{paddingLeft:n&&`${n}px`}}),iconStyle:O(()=>{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(Wt,{ariaHidden:!0,class:`${e}-menu-item-content__arrow`,clsPrefix:e},{default:()=>i?i(t.rawNode):v(UN,null)}):null)}}),X2=Object.assign(Object.assign({},jm),{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}),Wh=Ce({name:"Submenu",props:X2,setup(e){const t=Hm(e),{NMenu:n,NSubmenu:o}=t,{props:r,mergedCollapsedRef:i,mergedThemeRef:a}=n,s=O(()=>{const{disabled:f}=e;return o!=null&&o.mergedDisabledRef.value||r.disabled?!0:f}),l=j(!1);at(Bm,{paddingLeftRef:t.paddingLeft,mergedDisabledRef:s}),at(Nm,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:kt(()=>{var f;return(f=e.virtualChildActive)!==null&&f!==void 0?f:n.activePathRef.value.includes(e.internalKey)}),collapsed:O(()=>r.mode==="horizontal"?!1:i.value?!0:!n.mergedExpandedKeysRef.value.includes(e.internalKey)),dropdownEnabled:O(()=>!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:h,icon:p,handleClick:g,menuProps:{nodeProps:m},dropdownShow:b,iconMarginRight:w,tmNode:C,mergedClsPrefix:_,isEllipsisPlaceholder:S,extra:y}=this,x=m==null?void 0:m(C.rawNode);return v("div",Object.assign({},x,{class:[`${_}-menu-item`,x==null?void 0:x.class],role:"menuitem"}),v(G2,{tmNode:C,paddingLeft:s,collapsed:l,disabled:c,iconMarginRight:w,maxIconSize:u,activeIconSize:d,title:f,extra:y,showArrow:!a,childActive:h,clsPrefix:_,icon:p,hover:b,onClick:g,isEllipsisPlaceholder:S}))},i=()=>v(Lu,null,{default:()=>{const{tmNodes:a,collapsed:s}=this;return s?null:v("div",{class:`${t}-submenu-children`,role:"menu"},a.map(l=>Um(l,this.menuProps)))}});return this.root?v(zm,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:"menu","aria-expanded":!this.collapsed,id:this.domId},r(),this.isHorizontal?null:i())}):v("div",{class:`${t}-submenu`,role:"menu","aria-expanded":!this.collapsed,id:this.domId},r(),i())}}),Y2=Object.assign(Object.assign({},jm),{tmNode:{type:Object,required:!0},disabled:Boolean,icon:Function,onClick:Function}),hY=Ce({name:"MenuOption",props:Y2,setup(e){const t=Hm(e),{NSubmenu:n,NMenu:o}=t,{props:r,mergedClsPrefixRef:i,mergedCollapsedRef:a}=o,s=n?n.mergedDisabledRef:{value:!1},l=O(()=>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:kt(()=>e.root&&a.value&&r.mode!=="horizontal"&&!l.value),selected:kt(()=>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(Hu,{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(G2,{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})}))}}),pY=Ce({name:"MenuDivider",setup(){const e=Ve(yl),{mergedClsPrefixRef:t,isHorizontalRef:n}=e;return()=>n.value?null:v("div",{class:`${t.value}-menu-divider`})}}),mY=ei(K2),gY=ei(Y2),vY=ei(X2);function qh(e){return e.type==="divider"||e.type==="render"}function bY(e){return e.type==="divider"}function Um(e,t){const{rawNode:n}=e,{show:o}=n;if(o===!1)return null;if(qh(n))return bY(n)?v(pY,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(fY,eo(l,mY,{tmNode:e,tmNodes:e.children,key:i})):v(Wh,eo(l,vY,{key:i,rawNodes:n[t.childrenField],tmNodes:e.children,tmNode:e})):v(hY,eo(l,gY,{key:i,tmNode:e}))}const x1=[W("&::before","background-color: var(--n-item-color-hover);"),U("arrow",`
|
||
color: var(--n-arrow-color-hover);
|
||
`),U("icon",`
|
||
color: var(--n-item-icon-color-hover);
|
||
`),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-hover);
|
||
`,[W("a",`
|
||
color: var(--n-item-text-color-hover);
|
||
`),U("extra",`
|
||
color: var(--n-item-text-color-hover);
|
||
`)])],C1=[U("icon",`
|
||
color: var(--n-item-icon-color-hover-horizontal);
|
||
`),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-hover-horizontal);
|
||
`,[W("a",`
|
||
color: var(--n-item-text-color-hover-horizontal);
|
||
`),U("extra",`
|
||
color: var(--n-item-text-color-hover-horizontal);
|
||
`)])],yY=W([z("menu",`
|
||
background-color: var(--n-color);
|
||
color: var(--n-item-text-color);
|
||
overflow: hidden;
|
||
transition: background-color .3s var(--n-bezier);
|
||
box-sizing: border-box;
|
||
font-size: var(--n-font-size);
|
||
padding-bottom: 6px;
|
||
`,[J("horizontal",`
|
||
max-width: 100%;
|
||
width: 100%;
|
||
display: flex;
|
||
overflow: hidden;
|
||
padding-bottom: 0;
|
||
`,[z("submenu","margin: 0;"),z("menu-item","margin: 0;"),z("menu-item-content",`
|
||
padding: 0 20px;
|
||
border-bottom: 2px solid #0000;
|
||
`,[W("&::before","display: none;"),J("selected","border-bottom: 2px solid var(--n-border-color-horizontal)")]),z("menu-item-content",[J("selected",[U("icon","color: var(--n-item-icon-color-active-horizontal);"),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-active-horizontal);
|
||
`,[W("a","color: var(--n-item-text-color-active-horizontal);"),U("extra","color: var(--n-item-text-color-active-horizontal);")])]),J("child-active",`
|
||
border-bottom: 2px solid var(--n-border-color-horizontal);
|
||
`,[z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-child-active-horizontal);
|
||
`,[W("a",`
|
||
color: var(--n-item-text-color-child-active-horizontal);
|
||
`),U("extra",`
|
||
color: var(--n-item-text-color-child-active-horizontal);
|
||
`)]),U("icon",`
|
||
color: var(--n-item-icon-color-child-active-horizontal);
|
||
`)]),At("disabled",[At("selected, child-active",[W("&:focus-within",C1)]),J("selected",[fi(null,[U("icon","color: var(--n-item-icon-color-active-hover-horizontal);"),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-active-hover-horizontal);
|
||
`,[W("a","color: var(--n-item-text-color-active-hover-horizontal);"),U("extra","color: var(--n-item-text-color-active-hover-horizontal);")])])]),J("child-active",[fi(null,[U("icon","color: var(--n-item-icon-color-child-active-hover-horizontal);"),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-child-active-hover-horizontal);
|
||
`,[W("a","color: var(--n-item-text-color-child-active-hover-horizontal);"),U("extra","color: var(--n-item-text-color-child-active-hover-horizontal);")])])]),fi("border-bottom: 2px solid var(--n-border-color-horizontal);",C1)]),z("menu-item-content-header",[W("a","color: var(--n-item-text-color-horizontal);")])])]),At("responsive",[z("menu-item-content-header",`
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
`)]),J("collapsed",[z("menu-item-content",[J("selected",[W("&::before",`
|
||
background-color: var(--n-item-color-active-collapsed) !important;
|
||
`)]),z("menu-item-content-header","opacity: 0;"),U("arrow","opacity: 0;"),U("icon","color: var(--n-item-icon-color-collapsed);")])]),z("menu-item",`
|
||
height: var(--n-item-height);
|
||
margin-top: 6px;
|
||
position: relative;
|
||
`),z("menu-item-content",`
|
||
box-sizing: border-box;
|
||
line-height: 1.75;
|
||
height: 100%;
|
||
display: grid;
|
||
grid-template-areas: "icon content arrow";
|
||
grid-template-columns: auto 1fr auto;
|
||
align-items: center;
|
||
cursor: pointer;
|
||
position: relative;
|
||
padding-right: 18px;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
padding-left .3s var(--n-bezier),
|
||
border-color .3s var(--n-bezier);
|
||
`,[W("> *","z-index: 1;"),W("&::before",`
|
||
z-index: auto;
|
||
content: "";
|
||
background-color: #0000;
|
||
position: absolute;
|
||
left: 8px;
|
||
right: 8px;
|
||
top: 0;
|
||
bottom: 0;
|
||
pointer-events: none;
|
||
border-radius: var(--n-border-radius);
|
||
transition: background-color .3s var(--n-bezier);
|
||
`),J("disabled",`
|
||
opacity: .45;
|
||
cursor: not-allowed;
|
||
`),J("collapsed",[U("arrow","transform: rotate(0);")]),J("selected",[W("&::before","background-color: var(--n-item-color-active);"),U("arrow","color: var(--n-arrow-color-active);"),U("icon","color: var(--n-item-icon-color-active);"),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-active);
|
||
`,[W("a","color: var(--n-item-text-color-active);"),U("extra","color: var(--n-item-text-color-active);")])]),J("child-active",[z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-child-active);
|
||
`,[W("a",`
|
||
color: var(--n-item-text-color-child-active);
|
||
`),U("extra",`
|
||
color: var(--n-item-text-color-child-active);
|
||
`)]),U("arrow",`
|
||
color: var(--n-arrow-color-child-active);
|
||
`),U("icon",`
|
||
color: var(--n-item-icon-color-child-active);
|
||
`)]),At("disabled",[At("selected, child-active",[W("&:focus-within",x1)]),J("selected",[fi(null,[U("arrow","color: var(--n-arrow-color-active-hover);"),U("icon","color: var(--n-item-icon-color-active-hover);"),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-active-hover);
|
||
`,[W("a","color: var(--n-item-text-color-active-hover);"),U("extra","color: var(--n-item-text-color-active-hover);")])])]),J("child-active",[fi(null,[U("arrow","color: var(--n-arrow-color-child-active-hover);"),U("icon","color: var(--n-item-icon-color-child-active-hover);"),z("menu-item-content-header",`
|
||
color: var(--n-item-text-color-child-active-hover);
|
||
`,[W("a","color: var(--n-item-text-color-child-active-hover);"),U("extra","color: var(--n-item-text-color-child-active-hover);")])])]),J("selected",[fi(null,[W("&::before","background-color: var(--n-item-color-active-hover);")])]),fi(null,x1)]),U("icon",`
|
||
grid-area: icon;
|
||
color: var(--n-item-icon-color);
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
font-size .3s var(--n-bezier),
|
||
margin-right .3s var(--n-bezier);
|
||
box-sizing: content-box;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
`),U("arrow",`
|
||
grid-area: arrow;
|
||
font-size: 16px;
|
||
color: var(--n-arrow-color);
|
||
transform: rotate(180deg);
|
||
opacity: 1;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
transform 0.2s var(--n-bezier),
|
||
opacity 0.2s var(--n-bezier);
|
||
`),z("menu-item-content-header",`
|
||
grid-area: content;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier);
|
||
opacity: 1;
|
||
white-space: nowrap;
|
||
color: var(--n-item-text-color);
|
||
`,[W("a",`
|
||
outline: none;
|
||
text-decoration: none;
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-item-text-color);
|
||
`,[W("&::before",`
|
||
content: "";
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
`)]),U("extra",`
|
||
font-size: .93em;
|
||
color: var(--n-group-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`)])]),z("submenu",`
|
||
cursor: pointer;
|
||
position: relative;
|
||
margin-top: 6px;
|
||
`,[z("menu-item-content",`
|
||
height: var(--n-item-height);
|
||
`),z("submenu-children",`
|
||
overflow: hidden;
|
||
padding: 0;
|
||
`,[Cm({duration:".2s"})])]),z("menu-item-group",[z("menu-item-group-title",`
|
||
margin-top: 6px;
|
||
color: var(--n-group-text-color);
|
||
cursor: default;
|
||
font-size: .93em;
|
||
height: 36px;
|
||
display: flex;
|
||
align-items: center;
|
||
transition:
|
||
padding-left .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`)])]),z("menu-tooltip",[W("a",`
|
||
color: inherit;
|
||
text-decoration: none;
|
||
`)]),z("menu-divider",`
|
||
transition: background-color .3s var(--n-bezier);
|
||
background-color: var(--n-divider-color);
|
||
height: 1px;
|
||
margin: 6px 18px;
|
||
`)]);function fi(e,t){return[J("hover",e,t),W("&:hover",e,t)]}const xY=Object.assign(Object.assign({},Ne.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}),CY=Ce({name:"Menu",props:xY,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Menu","-menu",yY,yG,e,t),r=Ve(H2,null),i=O(()=>{var ee;const{collapsed:N}=e;if(N!==void 0)return N;if(r){const{collapseModeRef:M,collapsedRef:Z}=r;if(M.value==="width")return(ee=Z.value)!==null&&ee!==void 0?ee:!1}return!1}),a=O(()=>{const{keyField:ee,childrenField:N,disabledField:M}=e;return Ai(e.items||e.options,{getIgnored(Z){return qh(Z)},getChildren(Z){return Z[N]},getDisabled(Z){return Z[M]},getKey(Z){var G;return(G=Z[ee])!==null&&G!==void 0?G:Z.name}})}),s=O(()=>new Set(a.value.treeNodes.map(ee=>ee.key))),{watchProps:l}=e,c=j(null);l!=null&&l.includes("defaultValue")?Yt(()=>{c.value=e.defaultValue}):c.value=e.defaultValue;const u=Ue(e,"value"),d=rn(u,c),f=j([]),h=()=>{f.value=e.defaultExpandAll?a.value.getNonLeafKeys():e.defaultExpandedNames||e.defaultExpandedKeys||a.value.getPath(d.value,{includeSelf:!1}).keyPath};l!=null&&l.includes("defaultExpandedKeys")?Yt(h):h();const p=Ru(e,["expandedNames","expandedKeys"]),g=rn(p,f),m=O(()=>a.value.treeNodes),b=O(()=>a.value.getPath(d.value).keyPath);at(yl,{props:e,mergedCollapsedRef:i,mergedThemeRef:o,mergedValueRef:d,mergedExpandedKeysRef:g,activePathRef:b,mergedClsPrefixRef:t,isHorizontalRef:O(()=>e.mode==="horizontal"),invertedRef:Ue(e,"inverted"),doSelect:w,toggleExpand:_});function w(ee,N){const{"onUpdate:value":M,onUpdateValue:Z,onSelect:G}=e;Z&&$e(Z,ee,N),M&&$e(M,ee,N),G&&$e(G,ee,N),c.value=ee}function C(ee){const{"onUpdate:expandedKeys":N,onUpdateExpandedKeys:M,onExpandedNamesChange:Z,onOpenNamesChange:G}=e;N&&$e(N,ee),M&&$e(M,ee),Z&&$e(Z,ee),G&&$e(G,ee),f.value=ee}function _(ee){const N=Array.from(g.value),M=N.findIndex(Z=>Z===ee);if(~M)N.splice(M,1);else{if(e.accordion&&s.value.has(ee)){const Z=N.findIndex(G=>s.value.has(G));Z>-1&&N.splice(Z,1)}N.push(ee)}C(N)}const S=ee=>{const N=a.value.getPath(ee??d.value,{includeSelf:!1}).keyPath;if(!N.length)return;const M=Array.from(g.value),Z=new Set([...M,...N]);e.accordion&&s.value.forEach(G=>{Z.has(G)&&!N.includes(G)&&Z.delete(G)}),C(Array.from(Z))},y=O(()=>{const{inverted:ee}=e,{common:{cubicBezierEaseInOut:N},self:M}=o.value,{borderRadius:Z,borderColorHorizontal:G,fontSize:re,itemHeight:X,dividerColor:ae}=M,B={"--n-divider-color":ae,"--n-bezier":N,"--n-font-size":re,"--n-border-color-horizontal":G,"--n-border-radius":Z,"--n-item-height":X};return ee?(B["--n-group-text-color"]=M.groupTextColorInverted,B["--n-color"]=M.colorInverted,B["--n-item-text-color"]=M.itemTextColorInverted,B["--n-item-text-color-hover"]=M.itemTextColorHoverInverted,B["--n-item-text-color-active"]=M.itemTextColorActiveInverted,B["--n-item-text-color-child-active"]=M.itemTextColorChildActiveInverted,B["--n-item-text-color-child-active-hover"]=M.itemTextColorChildActiveInverted,B["--n-item-text-color-active-hover"]=M.itemTextColorActiveHoverInverted,B["--n-item-icon-color"]=M.itemIconColorInverted,B["--n-item-icon-color-hover"]=M.itemIconColorHoverInverted,B["--n-item-icon-color-active"]=M.itemIconColorActiveInverted,B["--n-item-icon-color-active-hover"]=M.itemIconColorActiveHoverInverted,B["--n-item-icon-color-child-active"]=M.itemIconColorChildActiveInverted,B["--n-item-icon-color-child-active-hover"]=M.itemIconColorChildActiveHoverInverted,B["--n-item-icon-color-collapsed"]=M.itemIconColorCollapsedInverted,B["--n-item-text-color-horizontal"]=M.itemTextColorHorizontalInverted,B["--n-item-text-color-hover-horizontal"]=M.itemTextColorHoverHorizontalInverted,B["--n-item-text-color-active-horizontal"]=M.itemTextColorActiveHorizontalInverted,B["--n-item-text-color-child-active-horizontal"]=M.itemTextColorChildActiveHorizontalInverted,B["--n-item-text-color-child-active-hover-horizontal"]=M.itemTextColorChildActiveHoverHorizontalInverted,B["--n-item-text-color-active-hover-horizontal"]=M.itemTextColorActiveHoverHorizontalInverted,B["--n-item-icon-color-horizontal"]=M.itemIconColorHorizontalInverted,B["--n-item-icon-color-hover-horizontal"]=M.itemIconColorHoverHorizontalInverted,B["--n-item-icon-color-active-horizontal"]=M.itemIconColorActiveHorizontalInverted,B["--n-item-icon-color-active-hover-horizontal"]=M.itemIconColorActiveHoverHorizontalInverted,B["--n-item-icon-color-child-active-horizontal"]=M.itemIconColorChildActiveHorizontalInverted,B["--n-item-icon-color-child-active-hover-horizontal"]=M.itemIconColorChildActiveHoverHorizontalInverted,B["--n-arrow-color"]=M.arrowColorInverted,B["--n-arrow-color-hover"]=M.arrowColorHoverInverted,B["--n-arrow-color-active"]=M.arrowColorActiveInverted,B["--n-arrow-color-active-hover"]=M.arrowColorActiveHoverInverted,B["--n-arrow-color-child-active"]=M.arrowColorChildActiveInverted,B["--n-arrow-color-child-active-hover"]=M.arrowColorChildActiveHoverInverted,B["--n-item-color-hover"]=M.itemColorHoverInverted,B["--n-item-color-active"]=M.itemColorActiveInverted,B["--n-item-color-active-hover"]=M.itemColorActiveHoverInverted,B["--n-item-color-active-collapsed"]=M.itemColorActiveCollapsedInverted):(B["--n-group-text-color"]=M.groupTextColor,B["--n-color"]=M.color,B["--n-item-text-color"]=M.itemTextColor,B["--n-item-text-color-hover"]=M.itemTextColorHover,B["--n-item-text-color-active"]=M.itemTextColorActive,B["--n-item-text-color-child-active"]=M.itemTextColorChildActive,B["--n-item-text-color-child-active-hover"]=M.itemTextColorChildActiveHover,B["--n-item-text-color-active-hover"]=M.itemTextColorActiveHover,B["--n-item-icon-color"]=M.itemIconColor,B["--n-item-icon-color-hover"]=M.itemIconColorHover,B["--n-item-icon-color-active"]=M.itemIconColorActive,B["--n-item-icon-color-active-hover"]=M.itemIconColorActiveHover,B["--n-item-icon-color-child-active"]=M.itemIconColorChildActive,B["--n-item-icon-color-child-active-hover"]=M.itemIconColorChildActiveHover,B["--n-item-icon-color-collapsed"]=M.itemIconColorCollapsed,B["--n-item-text-color-horizontal"]=M.itemTextColorHorizontal,B["--n-item-text-color-hover-horizontal"]=M.itemTextColorHoverHorizontal,B["--n-item-text-color-active-horizontal"]=M.itemTextColorActiveHorizontal,B["--n-item-text-color-child-active-horizontal"]=M.itemTextColorChildActiveHorizontal,B["--n-item-text-color-child-active-hover-horizontal"]=M.itemTextColorChildActiveHoverHorizontal,B["--n-item-text-color-active-hover-horizontal"]=M.itemTextColorActiveHoverHorizontal,B["--n-item-icon-color-horizontal"]=M.itemIconColorHorizontal,B["--n-item-icon-color-hover-horizontal"]=M.itemIconColorHoverHorizontal,B["--n-item-icon-color-active-horizontal"]=M.itemIconColorActiveHorizontal,B["--n-item-icon-color-active-hover-horizontal"]=M.itemIconColorActiveHoverHorizontal,B["--n-item-icon-color-child-active-horizontal"]=M.itemIconColorChildActiveHorizontal,B["--n-item-icon-color-child-active-hover-horizontal"]=M.itemIconColorChildActiveHoverHorizontal,B["--n-arrow-color"]=M.arrowColor,B["--n-arrow-color-hover"]=M.arrowColorHover,B["--n-arrow-color-active"]=M.arrowColorActive,B["--n-arrow-color-active-hover"]=M.arrowColorActiveHover,B["--n-arrow-color-child-active"]=M.arrowColorChildActive,B["--n-arrow-color-child-active-hover"]=M.arrowColorChildActiveHover,B["--n-item-color-hover"]=M.itemColorHover,B["--n-item-color-active"]=M.itemColorActive,B["--n-item-color-active-hover"]=M.itemColorActiveHover,B["--n-item-color-active-collapsed"]=M.itemColorActiveCollapsed),B}),x=n?Pt("menu",O(()=>e.inverted?"a":"b"),y,e):void 0,k=Zr(),P=j(null),T=j(null);let E=!0;const R=()=>{var ee;E?E=!1:(ee=P.value)===null||ee===void 0||ee.sync({showAllItemsBeforeCalculate:!0})};function q(){return document.getElementById(k)}const L=j(-1);function D(ee){L.value=e.options.length-ee}function F(ee){ee||(L.value=-1)}const K=O(()=>{const ee=L.value;return{children:ee===-1?[]:e.options.slice(ee)}}),V=O(()=>{const{childrenField:ee,disabledField:N,keyField:M}=e;return Ai([K.value],{getIgnored(Z){return qh(Z)},getChildren(Z){return Z[ee]},getDisabled(Z){return Z[N]},getKey(Z){var G;return(G=Z[M])!==null&&G!==void 0?G:Z.name}})}),le=O(()=>Ai([{}]).treeNodes[0]);function me(){var ee;if(L.value===-1)return v(Wh,{root:!0,level:0,key:"__ellpisisGroupPlaceholder__",internalKey:"__ellpisisGroupPlaceholder__",title:"···",tmNode:le.value,domId:k,isEllipsisPlaceholder:!0});const N=V.value.treeNodes[0],M=b.value,Z=!!(!((ee=N.children)===null||ee===void 0)&&ee.some(G=>M.includes(G.key)));return v(Wh,{level:0,root:!0,key:"__ellpisisGroup__",internalKey:"__ellpisisGroup__",title:"···",virtualChildActive:Z,tmNode:N,domId:k,rawNodes:N.rawNode.children||[],tmNodes:N.children||[],isEllipsisPlaceholder:!0})}return{mergedClsPrefix:t,controlledExpandedKeys:p,uncontrolledExpanededKeys:f,mergedExpandedKeys:g,uncontrolledValue:c,mergedValue:d,activePath:b,tmNodes:m,mergedTheme:o,mergedCollapsed:i,cssVars:n?void 0:y,themeClass:x==null?void 0:x.themeClass,overflowRef:P,counterRef:T,updateCounter:()=>{},onResize:R,onUpdateOverflow:F,onUpdateCount:D,renderCounter:me,getCounter:q,onRender:x==null?void 0:x.onRender,showOption:S,deriveResponsiveState:R}},render(){const{mergedClsPrefix:e,mode:t,themeClass:n,onRender:o}=this;o==null||o();const r=()=>this.tmNodes.map(l=>Um(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(ur,{onResize:this.onResize},{default:s}):s()}}),Q2={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},J2="n-message-api",Z2="n-message-provider",wY=W([z("message-wrapper",`
|
||
margin: var(--n-margin);
|
||
z-index: 0;
|
||
transform-origin: top center;
|
||
display: flex;
|
||
`,[Cm({overflow:"visible",originalTransition:"transform .3s var(--n-bezier)",enterToProps:{transform:"scale(1)"},leaveToProps:{transform:"scale(0.85)"}})]),z("message",`
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
align-items: center;
|
||
transition:
|
||
color .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
transform .3s var(--n-bezier),
|
||
margin-bottom .3s var(--n-bezier);
|
||
padding: var(--n-padding);
|
||
border-radius: var(--n-border-radius);
|
||
flex-wrap: nowrap;
|
||
overflow: hidden;
|
||
max-width: var(--n-max-width);
|
||
color: var(--n-text-color);
|
||
background-color: var(--n-color);
|
||
box-shadow: var(--n-box-shadow);
|
||
`,[U("content",`
|
||
display: inline-block;
|
||
line-height: var(--n-line-height);
|
||
font-size: var(--n-font-size);
|
||
`),U("icon",`
|
||
position: relative;
|
||
margin: var(--n-icon-margin);
|
||
height: var(--n-icon-size);
|
||
width: var(--n-icon-size);
|
||
font-size: var(--n-icon-size);
|
||
flex-shrink: 0;
|
||
`,[["default","info","success","warning","error","loading"].map(e=>J(`${e}-type`,[W("> *",`
|
||
color: var(--n-icon-color-${e});
|
||
transition: color .3s var(--n-bezier);
|
||
`)])),W("> *",`
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
right: 0;
|
||
bottom: 0;
|
||
`,[Kn()])]),U("close",`
|
||
margin: var(--n-close-margin);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
flex-shrink: 0;
|
||
`,[W("&:hover",`
|
||
color: var(--n-close-icon-color-hover);
|
||
`),W("&:active",`
|
||
color: var(--n-close-icon-color-pressed);
|
||
`)])]),z("message-container",`
|
||
z-index: 6000;
|
||
position: fixed;
|
||
height: 0;
|
||
overflow: visible;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: center;
|
||
`,[J("top",`
|
||
top: 12px;
|
||
left: 0;
|
||
right: 0;
|
||
`),J("top-left",`
|
||
top: 12px;
|
||
left: 12px;
|
||
right: 0;
|
||
align-items: flex-start;
|
||
`),J("top-right",`
|
||
top: 12px;
|
||
left: 0;
|
||
right: 12px;
|
||
align-items: flex-end;
|
||
`),J("bottom",`
|
||
bottom: 4px;
|
||
left: 0;
|
||
right: 0;
|
||
justify-content: flex-end;
|
||
`),J("bottom-left",`
|
||
bottom: 4px;
|
||
left: 12px;
|
||
right: 0;
|
||
justify-content: flex-end;
|
||
align-items: flex-start;
|
||
`),J("bottom-right",`
|
||
bottom: 4px;
|
||
left: 0;
|
||
right: 12px;
|
||
justify-content: flex-end;
|
||
align-items: flex-end;
|
||
`)])]),_Y={info:()=>v(Wr,null),success:()=>v(Wi,null),warning:()=>v(qi,null),error:()=>v(Vi,null),default:()=>null},SY=Ce({name:"Message",props:Object.assign(Object.assign({},Q2),{render:Function}),setup(e){const{inlineThemeDisabled:t,mergedRtlRef:n}=st(e),{props:o,mergedClsPrefixRef:r}=Ve(Z2),i=pn("Message",n,r),a=Ne("Message","-message",wY,jK,o,r),s=O(()=>{const{type:c}=e,{common:{cubicBezierEaseInOut:u},self:{padding:d,margin:f,maxWidth:h,iconMargin:p,closeMargin:g,closeSize:m,iconSize:b,fontSize:w,lineHeight:C,borderRadius:_,iconColorInfo:S,iconColorSuccess:y,iconColorWarning:x,iconColorError:k,iconColorLoading:P,closeIconSize:T,closeBorderRadius:E,[Re("textColor",c)]:R,[Re("boxShadow",c)]:q,[Re("color",c)]:L,[Re("closeColorHover",c)]:D,[Re("closeColorPressed",c)]:F,[Re("closeIconColor",c)]:K,[Re("closeIconColorPressed",c)]:V,[Re("closeIconColorHover",c)]:le}}=a.value;return{"--n-bezier":u,"--n-margin":f,"--n-padding":d,"--n-max-width":h,"--n-font-size":w,"--n-icon-margin":p,"--n-icon-size":b,"--n-close-icon-size":T,"--n-close-border-radius":E,"--n-close-size":m,"--n-close-margin":g,"--n-text-color":R,"--n-color":L,"--n-box-shadow":q,"--n-icon-color-info":S,"--n-icon-color-success":y,"--n-icon-color-warning":x,"--n-icon-color-error":k,"--n-icon-color-loading":P,"--n-close-color-hover":D,"--n-close-color-pressed":F,"--n-close-icon-color":K,"--n-close-icon-color-pressed":V,"--n-close-icon-color-hover":le,"--n-line-height":C,"--n-border-radius":_}}),l=t?Pt("message",O(()=>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=kY(l,t,r))&&u?v("div",{class:`${r}-message__icon ${r}-message__icon--${t}-type`},v(Ki,null,{default:()=>d})):null,v("div",{class:`${r}-message__content`},Vt(o)),n?v(Gi,{clsPrefix:r,class:`${r}-message__close`,onClick:c,absolute:!0}):null))}});function kY(e,t,n){if(typeof e=="function")return e();{const o=t==="loading"?v(oi,{clsPrefix:n,strokeWidth:24,scale:.85}):_Y[t]();return o?v(Wt,{clsPrefix:n,key:t},{default:()=>o}):null}}const PY=Ce({name:"MessageEnvironment",props:Object.assign(Object.assign({},Q2),{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=j(!0);jt(()=>{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:h}=e;u&&u(),d&&d(h),f&&f()}function c(){a()}return{show:n,hide:a,handleClose:s,handleAfterLeave:l,handleMouseleave:i,handleMouseenter:r,deactivate:c}},render(){return v(Lu,{appear:!0,onAfterLeave:this.handleAfterLeave,onLeave:this.onLeave},{default:()=>[this.show?v(SY,{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]})}}),TY=Object.assign(Object.assign({},Ne.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]}),AY=Ce({name:"MessageProvider",props:TY,setup(e){const{mergedClsPrefixRef:t}=st(e),n=j([]),o=j({}),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};at(Z2,{props:e,mergedClsPrefixRef:t}),at(J2,r);function i(l,c){const u=Zr(),d=to(Object.assign(Object.assign({},c),{content:l,key:u,destroy:()=>{var h;(h=o.value[u])===null||h===void 0||h.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(rt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.messageList.length?v(iu,{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(PY,Object.assign({ref:r=>{r&&(this.messageRefs[o.key]=r)},internalKey:o.key,onInternalAfterLeave:this.handleAfterLeave},Va(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 RY(){const e=Ve(J2,null);return e===null&&hr("use-message","No outer <n-message-provider /> 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 EY=Ce({name:"ModalEnvironment",props:Object.assign(Object.assign({},S2),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const t=j(!0);function n(){const{onInternalAfterLeave:u,internalKey:d,onAfterLeave:f}=e;u&&u(d),f&&f()}function o(){const{onPositiveClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!1&&l()}):l()}function r(){const{onNegativeClick:u}=e;u?Promise.resolve(u()).then(d=>{d!==!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{handleUpdateShow:e,handleAfterLeave:t,handleMaskClick:n,handleEsc:o,show:r}=this;return v(ri,Object.assign({},this.$props,{show:r,onUpdateShow:e,onMaskClick:n,onEsc:o,onAfterLeave:t,internalAppear:!0,internalModal:!0}))}}),w1="n-modal-provider",ek="n-modal-api",$Y="n-modal-reactive-list",IY={to:[String,Object]},OY=Ce({name:"ModalProvider",props:IY,setup(){const e=Lc(64),t=zc(),n=j([]),o={};function r(l={}){const c=Zr(),u=to(Object.assign(Object.assign({},l),{key:c,destroy:()=>{var d;(d=o[`n-modal-${c}`])===null||d===void 0||d.hide()}}));return n.value.push(u),u}function i(l){const{value:c}=n;c.splice(c.findIndex(u=>u.key===l),1)}function a(){Object.values(o).forEach(l=>{l==null||l.hide()})}const s={create:r,destroyAll:a};return at(ek,s),at(w1,{clickedRef:Lc(64),clickedPositionRef:zc()}),at($Y,n),at(w1,{clickedRef:e,clickedPositionRef:t}),Object.assign(Object.assign({},s),{modalList:n,modalInstRefs:o,handleAfterLeave:i})},render(){var e,t;return v(rt,null,[this.modalList.map(n=>{var o;return v(EY,Va(n,["destroy"],{to:(o=n.to)!==null&&o!==void 0?o:this.to,ref:r=>{r===null?delete this.modalInstRefs[`n-modal-${n.key}`]:this.modalInstRefs[`n-modal-${n.key}`]=r},internalKey:n.key,onInternalAfterLeave:this.handleAfterLeave}))}),(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e)])}});function MY(){const e=Ve(ek,null);return e===null&&hr("use-modal","No outer <n-modal-provider /> founded."),e}const Wu="n-notification-provider",zY=Ce({name:"NotificationContainer",props:{scrollable:{type:Boolean,required:!0},placement:{type:String,required:!0}},setup(){const{mergedThemeRef:e,mergedClsPrefixRef:t,wipTransitionCountRef:n}=Ve(Wu),o=j(null);return Yt(()=>{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(Oo,{theme:o.peers.Scrollbar,themeOverrides:o.peerOverrides.Scrollbar,contentStyle:{overflow:"hidden"}},e):e)}}),LY={info:()=>v(Wr,null),success:()=>v(Wi,null),warning:()=>v(qi,null),error:()=>v(Vi,null),default:()=>null},Vm={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},FY=ei(Vm),DY=Ce({name:"Notification",props:Vm,setup(e){const{mergedClsPrefixRef:t,mergedThemeRef:n,props:o}=Ve(Wu),{inlineThemeDisabled:r,mergedRtlRef:i}=st(),a=pn("Notification",i,t),s=O(()=>{const{type:c}=e,{self:{color:u,textColor:d,closeIconColor:f,closeIconColorHover:h,closeIconColorPressed:p,headerTextColor:g,descriptionTextColor:m,actionTextColor:b,borderRadius:w,headerFontWeight:C,boxShadow:_,lineHeight:S,fontSize:y,closeMargin:x,closeSize:k,width:P,padding:T,closeIconSize:E,closeBorderRadius:R,closeColorHover:q,closeColorPressed:L,titleFontSize:D,metaFontSize:F,descriptionFontSize:K,[Re("iconColor",c)]:V},common:{cubicBezierEaseOut:le,cubicBezierEaseIn:me,cubicBezierEaseInOut:ee}}=n.value,{left:N,right:M,top:Z,bottom:G}=co(T);return{"--n-color":u,"--n-font-size":y,"--n-text-color":d,"--n-description-text-color":m,"--n-action-text-color":b,"--n-title-text-color":g,"--n-title-font-weight":C,"--n-bezier":ee,"--n-bezier-ease-out":le,"--n-bezier-ease-in":me,"--n-border-radius":w,"--n-box-shadow":_,"--n-close-border-radius":R,"--n-close-color-hover":q,"--n-close-color-pressed":L,"--n-close-icon-color":f,"--n-close-icon-color-hover":h,"--n-close-icon-color-pressed":p,"--n-line-height":S,"--n-icon-color":V,"--n-close-margin":x,"--n-close-size":k,"--n-close-icon-size":E,"--n-width":P,"--n-padding-left":N,"--n-padding-right":M,"--n-padding-top":Z,"--n-padding-bottom":G,"--n-title-font-size":D,"--n-meta-font-size":F,"--n-description-font-size":K}}),l=r?Pt("notification",O(()=>e.type[0]),s,o):void 0;return{mergedClsPrefix:t,showAvatar:O(()=>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(Wt,{clsPrefix:t},{default:()=>LY[this.type]()}):null):null,this.closable?v(Gi,{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)))}}),BY=Object.assign(Object.assign({},Vm),{duration:Number,onClose:Function,onLeave:Function,onAfterEnter:Function,onAfterLeave:Function,onHide:Function,onAfterShow:Function,onAfterHide:Function}),NY=Ce({name:"NotificationEnvironment",props:Object.assign(Object.assign({},BY),{internalKey:{type:String,required:!0},onInternalAfterLeave:{type:Function,required:!0}}),setup(e){const{wipTransitionCountRef:t}=Ve(Wu),n=j(!0);let o=null;function r(){n.value=!1,o&&window.clearTimeout(o)}function i(p){t.value++,Ht(()=>{p.style.height=`${p.offsetHeight}px`,p.style.maxHeight="0",p.style.transition="none",p.offsetHeight,p.style.transition="",p.style.maxHeight=p.style.height})}function a(p){t.value--,p.style.height="",p.style.maxHeight="";const{onAfterEnter:g,onAfterShow:m}=e;g&&g(),m&&m()}function s(p){t.value++,p.style.maxHeight=`${p.offsetHeight}px`,p.style.height=`${p.offsetHeight}px`,p.offsetHeight}function l(p){const{onHide:g}=e;g&&g(),p.style.maxHeight="0",p.offsetHeight}function c(){t.value--;const{onAfterLeave:p,onInternalAfterLeave:g,onAfterHide:m,internalKey:b}=e;p&&p(),g(b),m&&m()}function u(){const{duration:p}=e;p&&(o=window.setTimeout(r,p))}function d(p){p.currentTarget===p.target&&o!==null&&(window.clearTimeout(o),o=null)}function f(p){p.currentTarget===p.target&&u()}function h(){const{onClose:p}=e;p?Promise.resolve(p()).then(g=>{g!==!1&&r()}):r()}return jt(()=>{e.duration&&(o=window.setTimeout(r,e.duration))}),{show:n,hide:r,handleClose:h,handleAfterLeave:c,handleLeave:l,handleBeforeLeave:s,handleAfterEnter:a,handleBeforeEnter:i,handleMouseenter:d,handleMouseleave:f}},render(){return v(fn,{name:"notification-transition",appear:!0,onBeforeEnter:this.handleBeforeEnter,onAfterEnter:this.handleAfterEnter,onBeforeLeave:this.handleBeforeLeave,onLeave:this.handleLeave,onAfterLeave:this.handleAfterLeave},{default:()=>this.show?v(DY,Object.assign({},eo(this.$props,FY),{onClose:this.handleClose,onMouseenter:this.duration&&this.keepAliveOnHover?this.handleMouseenter:void 0,onMouseleave:this.duration&&this.keepAliveOnHover?this.handleMouseleave:void 0})):null})}}),HY=W([z("notification-container",`
|
||
z-index: 4000;
|
||
position: fixed;
|
||
overflow: visible;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-end;
|
||
`,[W(">",[z("scrollbar",`
|
||
width: initial;
|
||
overflow: visible;
|
||
height: -moz-fit-content !important;
|
||
height: fit-content !important;
|
||
max-height: 100vh !important;
|
||
`,[W(">",[z("scrollbar-container",`
|
||
height: -moz-fit-content !important;
|
||
height: fit-content !important;
|
||
max-height: 100vh !important;
|
||
`,[z("scrollbar-content",`
|
||
padding-top: 12px;
|
||
padding-bottom: 33px;
|
||
`)])])])]),J("top, top-right, top-left",`
|
||
top: 12px;
|
||
`,[W("&.transitioning >",[z("scrollbar",[W(">",[z("scrollbar-container",`
|
||
min-height: 100vh !important;
|
||
`)])])])]),J("bottom, bottom-right, bottom-left",`
|
||
bottom: 12px;
|
||
`,[W(">",[z("scrollbar",[W(">",[z("scrollbar-container",[z("scrollbar-content",`
|
||
padding-bottom: 12px;
|
||
`)])])])]),z("notification-wrapper",`
|
||
display: flex;
|
||
align-items: flex-end;
|
||
margin-bottom: 0;
|
||
margin-top: 12px;
|
||
`)]),J("top, bottom",`
|
||
left: 50%;
|
||
transform: translateX(-50%);
|
||
`,[z("notification-wrapper",[W("&.notification-transition-enter-from, &.notification-transition-leave-to",`
|
||
transform: scale(0.85);
|
||
`),W("&.notification-transition-leave-from, &.notification-transition-enter-to",`
|
||
transform: scale(1);
|
||
`)])]),J("top",[z("notification-wrapper",`
|
||
transform-origin: top center;
|
||
`)]),J("bottom",[z("notification-wrapper",`
|
||
transform-origin: bottom center;
|
||
`)]),J("top-right, bottom-right",[z("notification",`
|
||
margin-left: 28px;
|
||
margin-right: 16px;
|
||
`)]),J("top-left, bottom-left",[z("notification",`
|
||
margin-left: 16px;
|
||
margin-right: 28px;
|
||
`)]),J("top-right",`
|
||
right: 0;
|
||
`,[Ql("top-right")]),J("top-left",`
|
||
left: 0;
|
||
`,[Ql("top-left")]),J("bottom-right",`
|
||
right: 0;
|
||
`,[Ql("bottom-right")]),J("bottom-left",`
|
||
left: 0;
|
||
`,[Ql("bottom-left")]),J("scrollable",[J("top-right",`
|
||
top: 0;
|
||
`),J("top-left",`
|
||
top: 0;
|
||
`),J("bottom-right",`
|
||
bottom: 0;
|
||
`),J("bottom-left",`
|
||
bottom: 0;
|
||
`)]),z("notification-wrapper",`
|
||
margin-bottom: 12px;
|
||
`,[W("&.notification-transition-enter-from, &.notification-transition-leave-to",`
|
||
opacity: 0;
|
||
margin-top: 0 !important;
|
||
margin-bottom: 0 !important;
|
||
`),W("&.notification-transition-leave-from, &.notification-transition-enter-to",`
|
||
opacity: 1;
|
||
`),W("&.notification-transition-leave-active",`
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
transform .3s var(--n-bezier-ease-in),
|
||
max-height .3s var(--n-bezier),
|
||
margin-top .3s linear,
|
||
margin-bottom .3s linear,
|
||
box-shadow .3s var(--n-bezier);
|
||
`),W("&.notification-transition-enter-active",`
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
transform .3s var(--n-bezier-ease-out),
|
||
max-height .3s var(--n-bezier),
|
||
margin-top .3s linear,
|
||
margin-bottom .3s linear,
|
||
box-shadow .3s var(--n-bezier);
|
||
`)]),z("notification",`
|
||
background-color: var(--n-color);
|
||
color: var(--n-text-color);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
font-family: inherit;
|
||
font-size: var(--n-font-size);
|
||
font-weight: 400;
|
||
position: relative;
|
||
display: flex;
|
||
overflow: hidden;
|
||
flex-shrink: 0;
|
||
padding-left: var(--n-padding-left);
|
||
padding-right: var(--n-padding-right);
|
||
width: var(--n-width);
|
||
max-width: calc(100vw - 16px - 16px);
|
||
border-radius: var(--n-border-radius);
|
||
box-shadow: var(--n-box-shadow);
|
||
box-sizing: border-box;
|
||
opacity: 1;
|
||
`,[U("avatar",[z("icon",`
|
||
color: var(--n-icon-color);
|
||
`),z("base-icon",`
|
||
color: var(--n-icon-color);
|
||
`)]),J("show-avatar",[z("notification-main",`
|
||
margin-left: 40px;
|
||
width: calc(100% - 40px);
|
||
`)]),J("closable",[z("notification-main",[W("> *:first-child",`
|
||
padding-right: 20px;
|
||
`)]),U("close",`
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
margin: var(--n-close-margin);
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
color .3s var(--n-bezier);
|
||
`)]),U("avatar",`
|
||
position: absolute;
|
||
top: var(--n-padding-top);
|
||
left: var(--n-padding-left);
|
||
width: 28px;
|
||
height: 28px;
|
||
font-size: 28px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
`,[z("icon","transition: color .3s var(--n-bezier);")]),z("notification-main",`
|
||
padding-top: var(--n-padding-top);
|
||
padding-bottom: var(--n-padding-bottom);
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex-direction: column;
|
||
margin-left: 8px;
|
||
width: calc(100% - 8px);
|
||
`,[z("notification-main-footer",`
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
margin-top: 12px;
|
||
`,[U("meta",`
|
||
font-size: var(--n-meta-font-size);
|
||
transition: color .3s var(--n-bezier-ease-out);
|
||
color: var(--n-description-text-color);
|
||
`),U("action",`
|
||
cursor: pointer;
|
||
transition: color .3s var(--n-bezier-ease-out);
|
||
color: var(--n-action-text-color);
|
||
`)]),U("header",`
|
||
font-weight: var(--n-title-font-weight);
|
||
font-size: var(--n-title-font-size);
|
||
transition: color .3s var(--n-bezier-ease-out);
|
||
color: var(--n-title-text-color);
|
||
`),U("description",`
|
||
margin-top: 8px;
|
||
font-size: var(--n-description-font-size);
|
||
white-space: pre-wrap;
|
||
word-wrap: break-word;
|
||
transition: color .3s var(--n-bezier-ease-out);
|
||
color: var(--n-description-text-color);
|
||
`),U("content",`
|
||
line-height: var(--n-line-height);
|
||
margin: 12px 0 0 0;
|
||
font-family: inherit;
|
||
white-space: pre-wrap;
|
||
word-wrap: break-word;
|
||
transition: color .3s var(--n-bezier-ease-out);
|
||
color: var(--n-text-color);
|
||
`,[W("&:first-child","margin: 0;")])])])])]);function Ql(e){const n=e.split("-")[1]==="left"?"calc(-100%)":"calc(100%)",o="0";return z("notification-wrapper",[W("&.notification-transition-enter-from, &.notification-transition-leave-to",`
|
||
transform: translate(${n}, 0);
|
||
`),W("&.notification-transition-leave-from, &.notification-transition-enter-to",`
|
||
transform: translate(${o}, 0);
|
||
`)])}const tk="n-notification-api",jY=Object.assign(Object.assign({},Ne.props),{containerClass:String,containerStyle:[String,Object],to:[String,Object],scrollable:{type:Boolean,default:!0},max:Number,placement:{type:String,default:"top-right"},keepAliveOnHover:Boolean}),UY=Ce({name:"NotificationProvider",props:jY,setup(e){const{mergedClsPrefixRef:t}=st(e),n=j([]),o={},r=new Set;function i(h){const p=Zr(),g=()=>{r.add(p),o[p]&&o[p].hide()},m=to(Object.assign(Object.assign({},h),{key:p,destroy:g,hide:g,deactivate:g})),{max:b}=e;if(b&&n.value.length-r.size>=b){let w=!1,C=0;for(const _ of n.value){if(!r.has(_.key)){o[_.key]&&(_.destroy(),w=!0);break}C++}w||n.value.splice(C,1)}return n.value.push(m),m}const a=["info","success","warning","error"].map(h=>p=>i(Object.assign(Object.assign({},p),{type:h})));function s(h){r.delete(h),n.value.splice(n.value.findIndex(p=>p.key===h),1)}const l=Ne("Notification","-notification",HY,FK,e,t),c={create:i,info:a[0],success:a[1],warning:a[2],error:a[3],open:d,destroyAll:f},u=j(0);at(tk,c),at(Wu,{props:e,mergedClsPrefixRef:t,mergedThemeRef:l,wipTransitionCountRef:u});function d(h){return i(h)}function f(){Object.values(n.value).forEach(h=>{h.hide()})}return Object.assign({mergedClsPrefix:t,notificationList:n,notificationRefs:o,handleAfterLeave:s},c)},render(){var e,t,n;const{placement:o}=this;return v(rt,null,(t=(e=this.$slots).default)===null||t===void 0?void 0:t.call(e),this.notificationList.length?v(iu,{to:(n=this.to)!==null&&n!==void 0?n:"body"},v(zY,{class:this.containerClass,style:this.containerStyle,scrollable:this.scrollable&&o!=="top"&&o!=="bottom",placement:o},{default:()=>this.notificationList.map(r=>v(NY,Object.assign({ref:i=>{const a=r.key;i===null?delete this.notificationRefs[a]:this.notificationRefs[a]=i}},Va(r,["destroy","hide","deactivate"]),{internalKey:r.key,onInternalAfterLeave:this.handleAfterLeave,keepAliveOnHover:r.keepAliveOnHover===void 0?this.keepAliveOnHover:r.keepAliveOnHover})))})):null)}});function VY(){const e=Ve(tk,null);return e===null&&hr("use-notification","No outer `n-notification-provider` found."),e}const WY=W([z("progress",{display:"inline-block"},[z("progress-icon",`
|
||
color: var(--n-icon-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`),J("line",`
|
||
width: 100%;
|
||
display: block;
|
||
`,[z("progress-content",`
|
||
display: flex;
|
||
align-items: center;
|
||
`,[z("progress-graph",{flex:1})]),z("progress-custom-content",{marginLeft:"14px"}),z("progress-icon",`
|
||
width: 30px;
|
||
padding-left: 14px;
|
||
height: var(--n-icon-size-line);
|
||
line-height: var(--n-icon-size-line);
|
||
font-size: var(--n-icon-size-line);
|
||
`,[J("as-text",`
|
||
color: var(--n-text-color-line-outer);
|
||
text-align: center;
|
||
width: 40px;
|
||
font-size: var(--n-font-size);
|
||
padding-left: 4px;
|
||
transition: color .3s var(--n-bezier);
|
||
`)])]),J("circle, dashboard",{width:"120px"},[z("progress-custom-content",`
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
`),z("progress-text",`
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
display: flex;
|
||
align-items: center;
|
||
color: inherit;
|
||
font-size: var(--n-font-size-circle);
|
||
color: var(--n-text-color-circle);
|
||
font-weight: var(--n-font-weight-circle);
|
||
transition: color .3s var(--n-bezier);
|
||
white-space: nowrap;
|
||
`),z("progress-icon",`
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
display: flex;
|
||
align-items: center;
|
||
color: var(--n-icon-color);
|
||
font-size: var(--n-icon-size-circle);
|
||
`)]),J("multiple-circle",`
|
||
width: 200px;
|
||
color: inherit;
|
||
`,[z("progress-text",`
|
||
font-weight: var(--n-font-weight-circle);
|
||
color: var(--n-text-color-circle);
|
||
position: absolute;
|
||
left: 50%;
|
||
top: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
transition: color .3s var(--n-bezier);
|
||
`)]),z("progress-content",{position:"relative"}),z("progress-graph",{position:"relative"},[z("progress-graph-circle",[W("svg",{verticalAlign:"bottom"}),z("progress-graph-circle-fill",`
|
||
stroke: var(--n-fill-color);
|
||
transition:
|
||
opacity .3s var(--n-bezier),
|
||
stroke .3s var(--n-bezier),
|
||
stroke-dasharray .3s var(--n-bezier);
|
||
`,[J("empty",{opacity:0})]),z("progress-graph-circle-rail",`
|
||
transition: stroke .3s var(--n-bezier);
|
||
overflow: hidden;
|
||
stroke: var(--n-rail-color);
|
||
`)]),z("progress-graph-line",[J("indicator-inside",[z("progress-graph-line-rail",`
|
||
height: 16px;
|
||
line-height: 16px;
|
||
border-radius: 10px;
|
||
`,[z("progress-graph-line-fill",`
|
||
height: inherit;
|
||
border-radius: 10px;
|
||
`),z("progress-graph-line-indicator",`
|
||
background: #0000;
|
||
white-space: nowrap;
|
||
text-align: right;
|
||
margin-left: 14px;
|
||
margin-right: 14px;
|
||
height: inherit;
|
||
font-size: 12px;
|
||
color: var(--n-text-color-line-inner);
|
||
transition: color .3s var(--n-bezier);
|
||
`)])]),J("indicator-inside-label",`
|
||
height: 16px;
|
||
display: flex;
|
||
align-items: center;
|
||
`,[z("progress-graph-line-rail",`
|
||
flex: 1;
|
||
transition: background-color .3s var(--n-bezier);
|
||
`),z("progress-graph-line-indicator",`
|
||
background: var(--n-fill-color);
|
||
font-size: 12px;
|
||
transform: translateZ(0);
|
||
display: flex;
|
||
vertical-align: middle;
|
||
height: 16px;
|
||
line-height: 16px;
|
||
padding: 0 10px;
|
||
border-radius: 10px;
|
||
position: absolute;
|
||
white-space: nowrap;
|
||
color: var(--n-text-color-line-inner);
|
||
transition:
|
||
right .2s var(--n-bezier),
|
||
color .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
`)]),z("progress-graph-line-rail",`
|
||
position: relative;
|
||
overflow: hidden;
|
||
height: var(--n-rail-height);
|
||
border-radius: 5px;
|
||
background-color: var(--n-rail-color);
|
||
transition: background-color .3s var(--n-bezier);
|
||
`,[z("progress-graph-line-fill",`
|
||
background: var(--n-fill-color);
|
||
position: relative;
|
||
border-radius: 5px;
|
||
height: inherit;
|
||
width: 100%;
|
||
max-width: 0%;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
max-width .2s var(--n-bezier);
|
||
`,[J("processing",[W("&::after",`
|
||
content: "";
|
||
background-image: var(--n-line-bg-processing);
|
||
animation: progress-processing-animation 2s var(--n-bezier) infinite;
|
||
`)])])])])])]),W("@keyframes progress-processing-animation",`
|
||
0% {
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
right: 100%;
|
||
opacity: 1;
|
||
}
|
||
66% {
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
opacity: 0;
|
||
}
|
||
100% {
|
||
position: absolute;
|
||
left: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
opacity: 0;
|
||
}
|
||
`)]),qY={success:v(Wi,null),error:v(Vi,null),warning:v(qi,null),info:v(Wr,null)},KY=Ce({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=O(()=>qt(e.height)),o=O(()=>e.railBorderRadius!==void 0?qt(e.railBorderRadius):e.height!==void 0?qt(e.height,{c:.5}):""),r=O(()=>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:h,processing:p,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`,p&&`${g}-progress-graph-line-fill--processing`],style:{maxWidth:`${e.percentage}%`,backgroundColor:h,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(Wt,{clsPrefix:g},{default:()=>qY[d]}))):null)}}}),GY={success:v(Wi,null),error:v(Vi,null),warning:v(qi,null),info:v(Wr,null)},XY=Ce({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,h=2*c,p=50+l/2,g=`M ${p},${p} m ${u},${d}
|
||
a ${c},${c} 0 1 1 ${f},${-h}
|
||
a ${c},${c} 0 1 1 ${-f},${h}`,m=Math.PI*2*c,b={stroke:i,strokeDasharray:`${o/100*(m-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:b}}return()=>{const{fillColor:o,railColor:r,strokeWidth:i,offsetDegree:a,status:s,percentage:l,showIndicator:c,indicatorTextColor:u,unit:d,gapOffsetDegree:f,clsPrefix:h}=e,{pathString:p,pathStyle:g}=n(100,0,r),{pathString:m,pathStyle:b}=n(l,a,o),w=100+i;return v("div",{class:`${h}-progress-content`,role:"none"},v("div",{class:`${h}-progress-graph`,"aria-hidden":!0},v("div",{class:`${h}-progress-graph-circle`,style:{transform:f?`rotate(${f}deg)`:void 0}},v("svg",{viewBox:`0 0 ${w} ${w}`},v("g",null,v("path",{class:`${h}-progress-graph-circle-rail`,d:p,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:g})),v("g",null,v("path",{class:[`${h}-progress-graph-circle-fill`,l===0&&`${h}-progress-graph-circle-fill--empty`],d:m,"stroke-width":i,"stroke-linecap":"round",fill:"none",style:b}))))),c?v("div",null,t.default?v("div",{class:`${h}-progress-custom-content`,role:"none"},t.default()):s!=="default"?v("div",{class:`${h}-progress-icon`,"aria-hidden":!0},v(Wt,{clsPrefix:h},{default:()=>GY[s]})):v("div",{class:`${h}-progress-text`,style:{color:u},role:"none"},v("span",{class:`${h}-progress-text__percentage`},l),v("span",{class:`${h}-progress-text__unit`},d))):null)}}});function _1(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 YY=Ce({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=O(()=>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,h)=>v("g",{key:h},v("path",{class:`${d}-progress-graph-circle-rail`,d:_1(o/2-r/2*(1+2*h)-i*h,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:[{strokeDashoffset:0,stroke:l[h]},c[h]]}),v("path",{class:[`${d}-progress-graph-circle-fill`,f===0&&`${d}-progress-graph-circle-fill--empty`],d:_1(o/2-r/2*(1+2*h)-i*h,r,o),"stroke-width":r,"stroke-linecap":"round",fill:"none",style:{strokeDasharray:n.value[h],strokeDashoffset:0,stroke:s[h]}})))))),a&&t.default?v("div",null,v("div",{class:`${d}-progress-text`},t.default())):null)}}}),QY=Object.assign(Object.assign({},Ne.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}),JY=Ce({name:"Progress",props:QY,setup(e){const t=O(()=>e.indicatorPlacement||e.indicatorPosition),n=O(()=>{if(e.gapDegree||e.gapDegree===0)return e.gapDegree;if(e.type==="dashboard")return 75}),{mergedClsPrefixRef:o,inlineThemeDisabled:r}=st(e),i=Ne("Progress","-progress",WY,EG,e,o),a=O(()=>{const{status:l}=e,{common:{cubicBezierEaseInOut:c},self:{fontSize:u,fontSizeCircle:d,railColor:f,railHeight:h,iconSizeCircle:p,iconSizeLine:g,textColorCircle:m,textColorLineInner:b,textColorLineOuter:w,lineBgProcessing:C,fontWeightCircle:_,[Re("iconColor",l)]:S,[Re("fillColor",l)]:y}}=i.value;return{"--n-bezier":c,"--n-fill-color":y,"--n-font-size":u,"--n-font-size-circle":d,"--n-font-weight-circle":_,"--n-icon-color":S,"--n-icon-size-circle":p,"--n-icon-size-line":g,"--n-line-bg-processing":C,"--n-rail-color":f,"--n-rail-height":h,"--n-text-color-circle":m,"--n-text-color-line-inner":b,"--n-text-color-line-outer":w}}),s=r?Pt("progress",O(()=>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:h,fillBorderRadius:p,height:g,processing:m,circleGap:b,mergedClsPrefix:w,gapDeg:C,gapOffsetDegree:_,themeClass:S,$slots:y,onRender:x}=this;return x==null||x(),v("div",{class:[S,`${w}-progress`,`${w}-progress--${e}`,`${w}-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(XY,{clsPrefix:w,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,offsetDegree:this.offsetDegree,percentage:l,viewBoxWidth:c,strokeWidth:u,gapDegree:C===void 0?e==="dashboard"?75:0:C,gapOffsetDegree:_,unit:f},y):e==="line"?v(KY,{clsPrefix:w,status:r,showIndicator:o,indicatorTextColor:n,railColor:i,fillColor:s,railStyle:a,percentage:l,processing:m,indicatorPlacement:d,unit:f,fillBorderRadius:p,railBorderRadius:h,height:g},y):e==="multiple-circle"?v(YY,{clsPrefix:w,strokeWidth:u,railColor:i,fillColor:s,railStyle:a,viewBoxWidth:c,percentage:l,showIndicator:o,circleGap:b},y):null)}}),ZY={name:"QrCode",common:je,self:e=>({borderRadius:e.borderRadius})},eQ=ZY;function tQ(e){return{borderRadius:e.borderRadius}}const nQ={name:"QrCode",common:xt,self:tQ},oQ=nQ,rQ=W([z("qr-code",`
|
||
background: #fff;
|
||
border-radius: var(--n-border-radius);
|
||
display: inline-flex;
|
||
`)]);var Li;(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,h;for(f=l;;f++){const b=t.getNumDataCodewords(f,s)*8,w=r.getTotalBits(a,f);if(w<=b){h=w;break}if(f>=c)throw new RangeError("Data too long")}for(const b of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])d&&h<=t.getNumDataCodewords(f,b)*8&&(s=b);const p=[];for(const b of a){n(b.mode.modeBits,4,p),n(b.numChars,b.mode.numCharCountBits(f),p);for(const w of b.getData())p.push(w)}const g=t.getNumDataCodewords(f,s)*8;n(0,Math.min(4,g-p.length),p),n(0,(8-p.length%8)%8,p);for(let b=236;p.length<g;b^=253)n(b,8,p);const m=[];for(;m.length*8<p.length;)m.push(0);return p.forEach((b,w)=>m[w>>>3]|=b<<7-(w&7)),new t(f,s,m,u)}constructor(a,s,l,c){if(this.version=a,this.errorCorrectionLevel=s,this.modules=[],this.isFunction=[],a<t.MIN_VERSION||a>t.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<this.size;f++)u.push(!1);for(let f=0;f<this.size;f++)this.modules.push(u.slice()),this.isFunction.push(u.slice());this.drawFunctionPatterns();const d=this.addEccAndInterleave(l);if(this.drawCodewords(d),c===-1){let f=1e9;for(let h=0;h<8;h++){this.applyMask(h),this.drawFormatBits(h);const p=this.getPenaltyScore();p<f&&(c=h,f=p),this.applyMask(h)}}this.mask=c,this.applyMask(c),this.drawFormatBits(c),this.isFunction=[]}getModule(a,s){return a>=0&&a<this.size&&s>=0&&s<this.size&&this.modules[s][a]}getModules(){return this.modules}drawFunctionPatterns(){for(let l=0;l<this.size;l++)this.setFunctionModule(6,l,l%2===0),this.setFunctionModule(l,6,l%2===0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const a=this.getAlignmentPatternPositions(),s=a.length;for(let l=0;l<s;l++)for(let c=0;c<s;c++)l===0&&c===0||l===0&&c===s-1||l===s-1&&c===0||this.drawAlignmentPattern(a[l],a[c]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(a){const s=this.errorCorrectionLevel.formatBits<<3|a;let l=s;for(let u=0;u<10;u++)l=l<<1^(l>>>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<this.size&&f>=0&&f<this.size&&this.setFunctionModule(d,f,u!==2&&u!==4)}}drawAlignmentPattern(a,s){for(let l=-2;l<=2;l++)for(let c=-2;c<=2;c++)this.setFunctionModule(a+c,s+l,Math.max(Math.abs(c),Math.abs(l))!==1)}setFunctionModule(a,s,l){this.modules[s][a]=l,this.isFunction[s][a]=!0}addEccAndInterleave(a){const s=this.version,l=this.errorCorrectionLevel;if(a.length!==t.getNumDataCodewords(s,l))throw new RangeError("Invalid argument");const c=t.NUM_ERROR_CORRECTION_BLOCKS[l.ordinal][s],u=t.ECC_CODEWORDS_PER_BLOCK[l.ordinal][s],d=Math.floor(t.getNumRawDataModules(s)/8),f=c-d%c,h=Math.floor(d/c),p=[],g=t.reedSolomonComputeDivisor(u);for(let b=0,w=0;b<c;b++){const C=a.slice(w,w+h-u+(b<f?0:1));w+=C.length;const _=t.reedSolomonComputeRemainder(C,g);b<f&&C.push(0),p.push(C.concat(_))}const m=[];for(let b=0;b<p[0].length;b++)p.forEach((w,C)=>{(b!==h-u||C>=f)&&m.push(w[b])});return m}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<this.size;c++)for(let u=0;u<2;u++){const d=l-u,h=(l+1&2)===0?this.size-1-c:c;!this.isFunction[h][d]&&s<a.length*8&&(this.modules[h][d]=o(a[s>>>3],7-(s&7)),s++)}}}applyMask(a){if(a<0||a>7)throw new RangeError("Mask value out of range");for(let s=0;s<this.size;s++)for(let l=0;l<this.size;l++){let c;switch(a){case 0:c=(l+s)%2===0;break;case 1:c=s%2===0;break;case 2:c=l%3===0;break;case 3:c=(l+s)%3===0;break;case 4:c=(Math.floor(l/3)+Math.floor(s/2))%2===0;break;case 5:c=l*s%2+l*s%3===0;break;case 6:c=(l*s%2+l*s%3)%2===0;break;case 7:c=((l+s)%2+l*s%3)%2===0;break;default:throw new Error("Unreachable")}!this.isFunction[s][l]&&c&&(this.modules[s][l]=!this.modules[s][l])}}getPenaltyScore(){let a=0;for(let u=0;u<this.size;u++){let d=!1,f=0;const h=[0,0,0,0,0,0,0];for(let p=0;p<this.size;p++)this.modules[u][p]===d?(f++,f===5?a+=t.PENALTY_N1:f>5&&a++):(this.finderPenaltyAddHistory(f,h),d||(a+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),d=this.modules[u][p],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,h)*t.PENALTY_N3}for(let u=0;u<this.size;u++){let d=!1,f=0;const h=[0,0,0,0,0,0,0];for(let p=0;p<this.size;p++)this.modules[p][u]===d?(f++,f===5?a+=t.PENALTY_N1:f>5&&a++):(this.finderPenaltyAddHistory(f,h),d||(a+=this.finderPenaltyCountPatterns(h)*t.PENALTY_N3),d=this.modules[p][u],f=1);a+=this.finderPenaltyTerminateAndCount(d,f,h)*t.PENALTY_N3}for(let u=0;u<this.size-1;u++)for(let d=0;d<this.size-1;d++){const f=this.modules[u][d];f===this.modules[u][d+1]&&f===this.modules[u+1][d]&&f===this.modules[u+1][d+1]&&(a+=t.PENALTY_N2)}let s=0;for(const u of this.modules)s=u.reduce((d,f)=>d+(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.length<a;c-=s)l.splice(1,0,c);return l}}static getNumRawDataModules(a){if(a<t.MIN_VERSION||a>t.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;c<a-1;c++)s.push(0);s.push(1);let l=1;for(let c=0;c<a;c++){for(let u=0;u<s.length;u++)s[u]=t.reedSolomonMultiply(s[u],l),u+1<s.length&&(s[u]^=s[u+1]);l=t.reedSolomonMultiply(l,2)}return s}static reedSolomonComputeRemainder(a,s){const l=s.map(c=>0);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<a.length;){const c=Math.min(a.length-l,3);n(Number.parseInt(a.substr(l,c),10),c*3+1,s),l+=c}return new r(r.Mode.NUMERIC,a.length,s)}static makeAlphanumeric(a){if(!r.isAlphanumeric(a))throw new RangeError("String contains unencodable characters in alphanumeric mode");const s=[];let l;for(l=0;l+2<=a.length;l+=2){let c=r.ALPHANUMERIC_CHARSET.indexOf(a.charAt(l))*45;c+=r.ALPHANUMERIC_CHARSET.indexOf(a.charAt(l+1)),n(c,11,s)}return l<a.length&&n(r.ALPHANUMERIC_CHARSET.indexOf(a.charAt(l)),6,s),new r(r.Mode.ALPHANUMERIC,a.length,s)}static makeSegments(a){return a===""?[]:r.isNumeric(a)?[r.makeNumeric(a)]:r.isAlphanumeric(a)?[r.makeAlphanumeric(a)]:[r.makeBytes(r.toUtf8ByteArray(a))]}static makeEci(a){const s=[];if(a<0)throw new RangeError("ECI assignment value out of range");if(a<128)n(a,8,s);else if(a<16384)n(2,2,s),n(a,14,s);else if(a<1e6)n(6,3,s),n(a,21,s);else throw new RangeError("ECI assignment value out of range");return new r(r.Mode.ECI,0,s)}static isNumeric(a){return r.NUMERIC_REGEX.test(a)}static isAlphanumeric(a){return r.ALPHANUMERIC_REGEX.test(a)}constructor(a,s,l){if(this.mode=a,this.numChars=s,this.bitData=l,s<0)throw new RangeError("Invalid argument");this.bitData=l.slice()}getData(){return this.bitData.slice()}static getTotalBits(a,s){let l=0;for(const c of a){const u=c.mode.numCharCountBits(s);if(c.numChars>=1<<u)return 1/0;l+=4+u+c.bitData.length}return l}static toUtf8ByteArray(a){a=encodeURI(a);const s=[];for(let l=0;l<a.length;l++)a.charAt(l)!=="%"?s.push(a.charCodeAt(l)):(s.push(Number.parseInt(a.substr(l+1,2),16)),l+=2);return s}}r.NUMERIC_REGEX=/^[0-9]*$/,r.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+./:-]*$/,r.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=r})(Li||(Li={}));(function(e){(function(t){class n{constructor(r,i){this.ordinal=r,this.formatBits=i}}n.LOW=new n(0,1),n.MEDIUM=new n(1,0),n.QUARTILE=new n(2,3),n.HIGH=new n(3,2),t.Ecc=n})(e.QrCode||(e.QrCode={}))})(Li||(Li={}));(function(e){(function(t){class n{constructor(r,i){this.modeBits=r,this.numBitsCharCount=i}numCharCountBits(r){return this.numBitsCharCount[Math.floor((r+7)/17)]}}n.NUMERIC=new n(1,[10,12,14]),n.ALPHANUMERIC=new n(2,[9,11,13]),n.BYTE=new n(4,[8,16,16]),n.KANJI=new n(8,[8,10,12]),n.ECI=new n(7,[0,0,0]),t.Mode=n})(e.QrSegment||(e.QrSegment={}))})(Li||(Li={}));const vs=Li,iQ={L:vs.QrCode.Ecc.LOW,M:vs.QrCode.Ecc.MEDIUM,Q:vs.QrCode.Ecc.QUARTILE,H:vs.QrCode.Ecc.HIGH},aQ=Object.assign(Object.assign({},Ne.props),{value:String,color:{type:String,default:"#000"},backgroundColor:{type:String,default:"#FFF"},iconSrc:String,iconSize:{type:Number,default:40},iconBackgroundColor:{type:String,default:"#FFF"},iconBorderRadius:{type:Number,default:4},size:{type:Number,default:100},padding:{type:[Number,String],default:12},errorCorrectionLevel:{type:String,default:"M"},type:{type:String,default:"canvas"}}),pf=2,nk=Ce({name:"QrCode",props:aQ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("QrCode","-qr-code",rQ,oQ,e,t),r=O(()=>({"--n-border-radius":o.value.self.borderRadius})),i=n?Pt("qr-code",void 0,r,e):void 0,a=j(),s=O(()=>{var f;const h=iQ[e.errorCorrectionLevel];return vs.QrCode.encodeText((f=e.value)!==null&&f!==void 0?f:"-",h)});jt(()=>{const f=j(0);let h=null;Yt(()=>{e.type!=="svg"&&(f.value,l(s.value,e.size,e.color,e.backgroundColor,h?{icon:h,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null))}),Yt(()=>{if(e.type==="svg")return;const{iconSrc:p}=e;if(p){let g=!1;const m=new Image;return m.src=p,m.onload=()=>{g||(h=m,f.value++)},()=>{g=!0}}})});function l(f,h,p,g,m){const b=a.value;if(!b)return;const w=h*pf,C=f.size,_=w/C;b.width=w,b.height=w;const S=b.getContext("2d");if(S){S.clearRect(0,0,b.width,b.height);for(let y=0;y<f.size;y++)for(let x=0;x<f.size;x++){S.fillStyle=f.getModule(x,y)?p:g;const k=Math.floor(x*_),P=Math.ceil((x+1)*_),T=Math.floor(y*_),E=Math.ceil((y+1)*_);S.fillRect(k,T,P-k,E-T)}if(m){const{icon:y,iconBackgroundColor:x,iconBorderRadius:k,iconSize:P}=m,T=P*pf,E=(b.width-T)/2,R=(b.height-T)/2;S.fillStyle=x,S.beginPath(),S.roundRect(E,R,T,T,k*pf),S.fill();const q=y.width/y.height,L=q>=1?T:T*q,D=q<=1?T:T/q,F=E+(T-L)/2,K=R+(T-D)/2;S.drawImage(y,F,K,L,D)}}}function c(f,h=0){const p=[];return f.forEach((g,m)=>{let b=null;g.forEach((w,C)=>{if(!w&&b!==null){p.push(`M${b+h} ${m+h}h${C-b}v1H${b+h}z`),b=null;return}if(C===g.length-1){if(!w)return;b===null?p.push(`M${C+h},${m+h} h1v1H${C+h}z`):p.push(`M${b+h},${m+h} h${C+1-b}v1H${b+h}z`);return}w&&b===null&&(b=C)})}),p.join("")}function u(f,h,p){const g=f.getModules(),m=g.length,b=g;let w="";const C=`<path fill="transparent" d="M0,0 h${m}v${m}H0z" shape-rendering="crispEdges"></path>`,_=`<path fill="${e.color}" d="${c(b,0)}" shape-rendering="crispEdges"></path>`;let S="";if(p){const{iconSrc:y,iconSize:x}=p,P=Math.floor(h*.1),T=m/h,E=(x||P)*T,R=(x||P)*T,q=g.length/2-R/2,L=g.length/2-E/2;S+=`<image href="${y}" width="${R}" height="${E}" x="${q}" y="${L}" preserveAspectRatio="none"></image>`}return w+=C,w+=_,w+=S,{innerHtml:w,numCells:m}}const d=O(()=>u(s.value,e.size,e.iconSrc?{iconSrc:e.iconSrc,iconBorderRadius:e.iconBorderRadius,iconSize:e.iconSize,iconBackgroundColor:e.iconBackgroundColor}:null));return{canvasRef:a,mergedClsPrefix:t,cssVars:n?void 0:r,themeClass:i==null?void 0:i.themeClass,svgInfo:d}},render(){const{mergedClsPrefix:e,backgroundColor:t,padding:n,cssVars:o,themeClass:r,size:i,type:a}=this;return v("div",{class:[`${e}-qr-code`,r],style:Object.assign({padding:typeof n=="number"?`${n}px`:n,backgroundColor:t,width:`${i}px`,height:`${i}px`},o)},a==="canvas"?v("canvas",{ref:"canvasRef",style:{width:`${i}px`,height:`${i}px`}}):v("svg",{height:i,width:i,viewBox:`0 0 ${this.svgInfo.numCells} ${this.svgInfo.numCells}`,role:"img",innerHTML:this.svgInfo.innerHtml}))}}),sQ=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"})),lQ=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"})),cQ=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"})),uQ=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"})),dQ=z("result",`
|
||
color: var(--n-text-color);
|
||
line-height: var(--n-line-height);
|
||
font-size: var(--n-font-size);
|
||
transition:
|
||
color .3s var(--n-bezier);
|
||
`,[z("result-icon",`
|
||
display: flex;
|
||
justify-content: center;
|
||
transition: color .3s var(--n-bezier);
|
||
`,[U("status-image",`
|
||
font-size: var(--n-icon-size);
|
||
width: 1em;
|
||
height: 1em;
|
||
`),z("base-icon",`
|
||
color: var(--n-icon-color);
|
||
font-size: var(--n-icon-size);
|
||
`)]),z("result-content",{marginTop:"24px"}),z("result-footer",`
|
||
margin-top: 24px;
|
||
text-align: center;
|
||
`),z("result-header",[U("title",`
|
||
margin-top: 16px;
|
||
font-weight: var(--n-title-font-weight);
|
||
transition: color .3s var(--n-bezier);
|
||
text-align: center;
|
||
color: var(--n-title-text-color);
|
||
font-size: var(--n-title-font-size);
|
||
`),U("description",`
|
||
margin-top: 4px;
|
||
text-align: center;
|
||
font-size: var(--n-font-size);
|
||
`)])]),fQ={403:()=>uQ,404:()=>sQ,418:()=>cQ,500:()=>lQ,info:()=>v(Wr,null),success:()=>v(Wi,null),warning:()=>v(qi,null),error:()=>v(Vi,null)},hQ=Object.assign(Object.assign({},Ne.props),{size:{type:String,default:"medium"},status:{type:String,default:"info"},title:String,description:String}),pQ=Ce({name:"Result",props:hQ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Result","-result",dQ,LG,e,t),r=O(()=>{const{size:a,status:s}=e,{common:{cubicBezierEaseInOut:l},self:{textColor:c,lineHeight:u,titleTextColor:d,titleFontWeight:f,[Re("iconColor",s)]:h,[Re("fontSize",a)]:p,[Re("titleFontSize",a)]:g,[Re("iconSize",a)]:m}}=o.value;return{"--n-bezier":l,"--n-font-size":p,"--n-icon-size":m,"--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":h||""}}),i=n?Pt("result",O(()=>{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(Wt,{clsPrefix:o},{default:()=>fQ[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()))}}),mQ=Object.assign(Object.assign({},Ne.props),{trigger:String,xScrollable:Boolean,onScroll:Function,contentClass:String,contentStyle:[Object,String],size:Number}),gQ=Ce({name:"Scrollbar",props:mQ,setup(){const e=j(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(Oo,Object.assign({ref:"scrollbarInstRef"},this.$props),this.$slots)}}),vQ=gQ,bQ={name:"Skeleton",common:je,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}}};function yQ(e){const{heightSmall:t,heightMedium:n,heightLarge:o,borderRadius:r}=e;return{color:"#eee",colorEnd:"#ddd",borderRadius:r,heightSmall:t,heightMedium:n,heightLarge:o}}const xQ={name:"Skeleton",common:xt,self:yQ},CQ=W([z("skeleton",`
|
||
height: 1em;
|
||
width: 100%;
|
||
transition:
|
||
--n-color-start .3s var(--n-bezier),
|
||
--n-color-end .3s var(--n-bezier),
|
||
background-color .3s var(--n-bezier);
|
||
animation: 2s skeleton-loading infinite cubic-bezier(0.36, 0, 0.64, 1);
|
||
background-color: var(--n-color-start);
|
||
`),W("@keyframes skeleton-loading",`
|
||
0% {
|
||
background: var(--n-color-start);
|
||
}
|
||
40% {
|
||
background: var(--n-color-end);
|
||
}
|
||
80% {
|
||
background: var(--n-color-start);
|
||
}
|
||
100% {
|
||
background: var(--n-color-start);
|
||
}
|
||
`)]),wQ=Object.assign(Object.assign({},Ne.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}}),xl=Ce({name:"Skeleton",inheritAttrs:!1,props:wQ,setup(e){D8();const{mergedClsPrefixRef:t}=st(e),n=Ne("Skeleton","-skeleton",CQ,xQ,e,t);return{mergedClsPrefix:t,style:O(()=>{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:h,round:p,width:g,height:m,size:b,text:w,animated:C}=e;b!==void 0&&(d=s[Re("height",b)]);const _=f?(o=g??m)!==null&&o!==void 0?o:d:g,S=(r=f?g??m:m)!==null&&r!==void 0?r:d;return{display:w?"inline-block":"",verticalAlign:w?"-0.125em":"",borderRadius:f?"50%":p?"4096px":h?"":u,width:typeof _=="number"?zn(_):_,height:typeof S=="number"?zn(S):S,animation:C?"":"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(rt,null,bw(e,null).map(i=>[r,`
|
||
`])):r}}),_Q=W([W("@keyframes spin-rotate",`
|
||
from {
|
||
transform: rotate(0);
|
||
}
|
||
to {
|
||
transform: rotate(360deg);
|
||
}
|
||
`),z("spin-container",`
|
||
position: relative;
|
||
`,[z("spin-body",`
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
`,[pl()])]),z("spin-body",`
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
flex-direction: column;
|
||
`),z("spin",`
|
||
display: inline-flex;
|
||
height: var(--n-size);
|
||
width: var(--n-size);
|
||
font-size: var(--n-size);
|
||
color: var(--n-color);
|
||
`,[J("rotate",`
|
||
animation: spin-rotate 2s linear infinite;
|
||
`)]),z("spin-description",`
|
||
display: inline-block;
|
||
font-size: var(--n-font-size);
|
||
color: var(--n-text-color);
|
||
transition: color .3s var(--n-bezier);
|
||
margin-top: 8px;
|
||
`),z("spin-content",`
|
||
opacity: 1;
|
||
transition: opacity .3s var(--n-bezier);
|
||
pointer-events: all;
|
||
`,[J("spinning",`
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
pointer-events: none;
|
||
opacity: var(--n-opacity-spinning);
|
||
`)])]),SQ={small:20,medium:18,large:16},kQ=Object.assign(Object.assign({},Ne.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}),PQ=Ce({name:"Spin",props:kQ,setup(e){const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Spin","-spin",_Q,UG,e,t),r=O(()=>{const{size:l}=e,{common:{cubicBezierEaseInOut:c},self:u}=o.value,{opacitySpinning:d,color:f,textColor:h}=u,p=typeof l=="number"?zn(l):u[Re("size",l)];return{"--n-bezier":c,"--n-opacity-spinning":d,"--n-size":p,"--n-color":f,"--n-text-color":h}}),i=n?Pt("spin",O(()=>{const{size:l}=e;return typeof l=="number"?String(l):l[0]}),r,e):void 0,a=Ru(e,["spinning","show"]),s=j(!1);return Yt(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:O(()=>{const{strokeWidth:l}=e;if(l!==void 0)return l;const{size:c}=e;return SQ[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(oi,{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(fn,{name:"fade-in-transition"},{default:()=>this.active?s:null})):s}}),TQ={name:"Split",common:je},AQ=TQ,RQ=z("switch",`
|
||
height: var(--n-height);
|
||
min-width: var(--n-width);
|
||
vertical-align: middle;
|
||
user-select: none;
|
||
-webkit-user-select: none;
|
||
display: inline-flex;
|
||
outline: none;
|
||
justify-content: center;
|
||
align-items: center;
|
||
`,[U("children-placeholder",`
|
||
height: var(--n-rail-height);
|
||
display: flex;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
pointer-events: none;
|
||
visibility: hidden;
|
||
`),U("rail-placeholder",`
|
||
display: flex;
|
||
flex-wrap: none;
|
||
`),U("button-placeholder",`
|
||
width: calc(1.75 * var(--n-rail-height));
|
||
height: var(--n-rail-height);
|
||
`),z("base-loading",`
|
||
position: absolute;
|
||
top: 50%;
|
||
left: 50%;
|
||
transform: translateX(-50%) translateY(-50%);
|
||
font-size: calc(var(--n-button-width) - 4px);
|
||
color: var(--n-loading-color);
|
||
transition: color .3s var(--n-bezier);
|
||
`,[Kn({left:"50%",top:"50%",originalTransform:"translateX(-50%) translateY(-50%)"})]),U("checked, unchecked",`
|
||
transition: color .3s var(--n-bezier);
|
||
color: var(--n-text-color);
|
||
box-sizing: border-box;
|
||
position: absolute;
|
||
white-space: nowrap;
|
||
top: 0;
|
||
bottom: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
line-height: 1;
|
||
`),U("checked",`
|
||
right: 0;
|
||
padding-right: calc(1.25 * var(--n-rail-height) - var(--n-offset));
|
||
`),U("unchecked",`
|
||
left: 0;
|
||
justify-content: flex-end;
|
||
padding-left: calc(1.25 * var(--n-rail-height) - var(--n-offset));
|
||
`),W("&:focus",[U("rail",`
|
||
box-shadow: var(--n-box-shadow-focus);
|
||
`)]),J("round",[U("rail","border-radius: calc(var(--n-rail-height) / 2);",[U("button","border-radius: calc(var(--n-button-height) / 2);")])]),At("disabled",[At("icon",[J("rubber-band",[J("pressed",[U("rail",[U("button","max-width: var(--n-button-width-pressed);")])]),U("rail",[W("&:active",[U("button","max-width: var(--n-button-width-pressed);")])]),J("active",[J("pressed",[U("rail",[U("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])]),U("rail",[W("&:active",[U("button","left: calc(100% - var(--n-offset) - var(--n-button-width-pressed));")])])])])])]),J("active",[U("rail",[U("button","left: calc(100% - var(--n-button-width) - var(--n-offset))")])]),U("rail",`
|
||
overflow: hidden;
|
||
height: var(--n-rail-height);
|
||
min-width: var(--n-rail-width);
|
||
border-radius: var(--n-rail-border-radius);
|
||
cursor: pointer;
|
||
position: relative;
|
||
transition:
|
||
opacity .3s var(--n-bezier),
|
||
background .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
background-color: var(--n-rail-color);
|
||
`,[U("button-icon",`
|
||
color: var(--n-icon-color);
|
||
transition: color .3s var(--n-bezier);
|
||
font-size: calc(var(--n-button-height) - 4px);
|
||
position: absolute;
|
||
left: 0;
|
||
right: 0;
|
||
top: 0;
|
||
bottom: 0;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
line-height: 1;
|
||
`,[Kn()]),U("button",`
|
||
align-items: center;
|
||
top: var(--n-offset);
|
||
left: var(--n-offset);
|
||
height: var(--n-button-height);
|
||
width: var(--n-button-width-pressed);
|
||
max-width: var(--n-button-width);
|
||
border-radius: var(--n-button-border-radius);
|
||
background-color: var(--n-button-color);
|
||
box-shadow: var(--n-button-box-shadow);
|
||
box-sizing: border-box;
|
||
cursor: inherit;
|
||
content: "";
|
||
position: absolute;
|
||
transition:
|
||
background-color .3s var(--n-bezier),
|
||
left .3s var(--n-bezier),
|
||
opacity .3s var(--n-bezier),
|
||
max-width .3s var(--n-bezier),
|
||
box-shadow .3s var(--n-bezier);
|
||
`)]),J("active",[U("rail","background-color: var(--n-rail-color-active);")]),J("loading",[U("rail",`
|
||
cursor: wait;
|
||
`)]),J("disabled",[U("rail",`
|
||
cursor: not-allowed;
|
||
opacity: .5;
|
||
`)])]),EQ=Object.assign(Object.assign({},Ne.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 hs;const $Q=Ce({name:"Switch",props:EQ,setup(e){hs===void 0&&(typeof CSS<"u"?typeof CSS.supports<"u"?hs=CSS.supports("width","max(1px)"):hs=!1:hs=!0);const{mergedClsPrefixRef:t,inlineThemeDisabled:n}=st(e),o=Ne("Switch","-switch",RQ,oX,e,t),r=mr(e),{mergedSizeRef:i,mergedDisabledRef:a}=r,s=j(e.defaultValue),l=Ue(e,"value"),c=rn(l,s),u=O(()=>c.value===e.checkedValue),d=j(!1),f=j(!1),h=O(()=>{const{railStyle:k}=e;if(k)return k({focused:f.value,checked:u.value})});function p(k){const{"onUpdate:value":P,onChange:T,onUpdateValue:E}=e,{nTriggerFormInput:R,nTriggerFormChange:q}=r;P&&$e(P,k),E&&$e(E,k),T&&$e(T,k),s.value=k,R(),q()}function g(){const{nTriggerFormFocus:k}=r;k()}function m(){const{nTriggerFormBlur:k}=r;k()}function b(){e.loading||a.value||(c.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue))}function w(){f.value=!0,g()}function C(){f.value=!1,m(),d.value=!1}function _(k){e.loading||a.value||k.key===" "&&(c.value!==e.checkedValue?p(e.checkedValue):p(e.uncheckedValue),d.value=!1)}function S(k){e.loading||a.value||k.key===" "&&(k.preventDefault(),d.value=!0)}const y=O(()=>{const{value:k}=i,{self:{opacityDisabled:P,railColor:T,railColorActive:E,buttonBoxShadow:R,buttonColor:q,boxShadowFocus:L,loadingColor:D,textColor:F,iconColor:K,[Re("buttonHeight",k)]:V,[Re("buttonWidth",k)]:le,[Re("buttonWidthPressed",k)]:me,[Re("railHeight",k)]:ee,[Re("railWidth",k)]:N,[Re("railBorderRadius",k)]:M,[Re("buttonBorderRadius",k)]:Z},common:{cubicBezierEaseInOut:G}}=o.value;let re,X,ae;return hs?(re=`calc((${ee} - ${V}) / 2)`,X=`max(${ee}, ${V})`,ae=`max(${N}, calc(${N} + ${V} - ${ee}))`):(re=zn((bn(ee)-bn(V))/2),X=zn(Math.max(bn(ee),bn(V))),ae=bn(ee)>bn(V)?N:zn(bn(N)+bn(V)-bn(ee))),{"--n-bezier":G,"--n-button-border-radius":Z,"--n-button-box-shadow":R,"--n-button-color":q,"--n-button-width":le,"--n-button-width-pressed":me,"--n-button-height":V,"--n-height":X,"--n-offset":re,"--n-opacity-disabled":P,"--n-rail-border-radius":M,"--n-rail-color":T,"--n-rail-color-active":E,"--n-rail-height":ee,"--n-rail-width":N,"--n-width":ae,"--n-box-shadow-focus":L,"--n-loading-color":D,"--n-text-color":F,"--n-icon-color":K}}),x=n?Pt("switch",O(()=>i.value[0]),y,e):void 0;return{handleClick:b,handleBlur:C,handleFocus:w,handleKeyup:_,handleKeydown:S,mergedRailStyle:h,pressed:d,mergedClsPrefix:t,mergedValue:c,checked:u,mergedDisabled:a,cssVars:n?void 0:y,themeClass:x==null?void 0:x.themeClass,onRender:x==null?void 0:x.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=!(ga(l)&&ga(c)&&ga(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},Et(a,f=>Et(s,h=>f||h?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`}),h)):null)),v("div",{class:`${e}-switch__button`},Et(l,f=>Et(c,h=>Et(u,p=>v(Ki,null,{default:()=>this.loading?v(oi,{key:"loading",clsPrefix:e,strokeWidth:20}):this.checked&&(h||f)?v("div",{class:`${e}-switch__button-icon`,key:h?"checked-icon":"icon"},h||f):!this.checked&&(p||f)?v("div",{class:`${e}-switch__button-icon`,key:p?"unchecked-icon":"icon"},p||f):null})))),Et(a,f=>f&&v("div",{key:"checked",class:`${e}-switch__checked`},f)),Et(s,f=>f&&v("div",{key:"unchecked",class:`${e}-switch__unchecked`},f)))))}}),IQ=Ce({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)}}}),OQ={message:RY,notification:VY,loadingBar:dY,dialog:Hq,modal:MY};function MQ({providersAndProps:e,configProviderProps:t}){let n=Rx(r);const o={app:n};function r(){return v(OS,Te(t),{default:()=>e.map(({type:s,Provider:l,props:c})=>v(l,Te(c),{default:()=>v(IQ,{onSetup:()=>o[s]=OQ[s]()})}))})}let i;return pr&&(i=document.createElement("div"),document.body.appendChild(i),n.mount(i)),Object.assign({unmount:()=>{var s;if(n===null||i===null){cr("discrete","unmount call no need because discrete app has been unmounted");return}n.unmount(),(s=i.parentNode)===null||s===void 0||s.removeChild(i),i=null,n=null}},o)}function zQ(e,{configProviderProps:t,messageProviderProps:n,dialogProviderProps:o,notificationProviderProps:r,loadingBarProviderProps:i,modalProviderProps:a}={}){const s=[];return e.forEach(c=>{switch(c){case"message":s.push({type:c,Provider:AY,props:n});break;case"notification":s.push({type:c,Provider:UY,props:r});break;case"dialog":s.push({type:c,Provider:Nq,props:o});break;case"loadingBar":s.push({type:c,Provider:uY,props:i});break;case"modal":s.push({type:c,Provider:OY,props:a})}}),MQ({providersAndProps:s,configProviderProps:t})}function LQ(){const e=Ve(Eo,null);return O(()=>{if(e===null)return xt;const{mergedThemeRef:{value:t},mergedThemeOverridesRef:{value:n}}=e,o=(t==null?void 0:t.common)||xt;return n!=null&&n.common?Object.assign({},o,n.common):o})}const FQ=()=>({}),DQ={name:"Equation",common:je,self:FQ},BQ=DQ,NQ={name:"FloatButtonGroup",common:je,self(e){const{popoverColor:t,dividerColor:n,borderRadius:o}=e;return{color:t,buttonBorderColor:n,borderRadiusSquare:o,boxShadow:"0 2px 8px 0px rgba(0, 0, 0, .12)"}}},HQ=NQ,ok={name:"dark",common:je,Alert:mj,Anchor:Pj,AutoComplete:jj,Avatar:bS,AvatarGroup:Kj,BackTop:Xj,Badge:rU,Breadcrumb:cU,Button:Vn,ButtonGroup:qK,Calendar:kU,Card:PS,Carousel:DU,Cascader:lV,Checkbox:Ya,Code:IS,Collapse:bV,CollapseTransition:CV,ColorPicker:AU,DataTable:iW,DatePicker:yq,Descriptions:_q,Dialog:b2,Divider:Wq,Drawer:Qq,Dropdown:Im,DynamicInput:vK,DynamicTags:kK,Element:TK,Empty:Xi,Ellipsis:VS,Equation:BQ,Flex:EK,Form:MK,GradientText:GK,Icon:OW,IconWrapper:NX,Image:HX,Input:go,InputNumber:YK,LegacyTransfer:rY,Layout:tG,List:sG,LoadingBar:cG,Log:pG,Menu:CG,Mention:gG,Message:VK,Modal:Oq,Notification:BK,PageHeader:SG,Pagination:HS,Popconfirm:AG,Popover:Qi,Popselect:MS,Progress:L2,QrCode:eQ,Radio:KS,Rate:OG,Result:DG,Row:zX,Scrollbar:Un,Select:DS,Skeleton:bQ,Slider:HG,Space:R2,Spin:WG,Statistic:GG,Steps:JG,Switch:eX,Table:sX,Tabs:dX,Tag:lS,Thing:pX,TimePicker:m2,Timeline:vX,Tooltip:Nu,Transfer:xX,Tree:N2,TreeSelect:SX,Typography:AX,Upload:$X,Watermark:OX,Split:AQ,FloatButton:FX,FloatButtonGroup:HQ},jQ={"aria-hidden":"true",width:"1em",height:"1em"},UQ=["xlink:href","fill"],VQ=Ce({__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=O(()=>`#${t.prefix}-${t.icon}`);return(o,r)=>(be(),Fe("svg",jQ,[Y("use",{"xlink:href":n.value,fill:e.color},null,8,UQ)]))}}),rl=(e,t={size:12})=>()=>v(Xo,t,()=>v(BI,{icon:e})),rk=(e,t={size:12})=>()=>v(Xo,t,()=>v(VQ,{icon:e}));function WQ(){var n,o;const e={default:qQ,blue:KQ,black:GQ,darkblue:XQ},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 qQ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#316C72FF",primaryColorHover:"#316C72E3",primaryColorPressed:"#2B4C59FF",primaryColorSuppl:"#316C72E3",infoColor:"#316C72FF",infoColorHover:"#316C72E3",infoColorPressed:"#2B4C59FF",infoColorSuppl:"#316C72E3",successColor:"#18A058FF",successColorHover:"#36AD6AFF",successColorPressed:"#0C7A43FF",successColorSuppl:"#36AD6AFF",warningColor:"#F0A020FF",warningColorHover:"#FCB040FF",warningColorPressed:"#C97C10FF",warningColorSuppl:"#FCB040FF",errorColor:"#D03050FF",errorColorHover:"#DE576DFF",errorColorPressed:"#AB1F3FFF",errorColorSuppl:"#DE576DFF"}}},KQ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#0665d0",primaryColorHover:"#2a84de",primaryColorPressed:"#004085",primaryColorSuppl:"#0056b3",infoColor:"#0665d0",infoColorHover:"#2a84de",infoColorPressed:"#0c5460",infoColorSuppl:"#004085",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},GQ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#343a40",primaryColorHover:"#23272b",primaryColorPressed:"#1d2124",primaryColorSuppl:"#23272b",infoColor:"#343a40",infoColorHover:"#23272b",infoColorPressed:"#1d2124",infoColorSuppl:"#23272b",successColor:"#28a745",successColorHover:"#218838",successColorPressed:"#1e7e34",successColorSuppl:"#218838",warningColor:"#ffc107",warningColorHover:"#e0a800",warningColorPressed:"#d39e00",warningColorSuppl:"#e0a800",errorColor:"#dc3545",errorColorHover:"#c82333",errorColorPressed:"#bd2130",errorColorSuppl:"#c82333"}}},XQ={header:{height:60},tags:{visible:!0,height:50},naiveThemeOverrides:{common:{primaryColor:"#004175",primaryColorHover:"#002c4c",primaryColorPressed:"#001f35",primaryColorSuppl:"#002c4c",infoColor:"#004175",infoColorHover:"#002c4c",infoColorPressed:"#001f35",infoColorSuppl:"#002c4c",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:YQ,tags:dNe,naiveThemeOverrides:Kh}=WQ();function qu(e){return np()?(wy(e),!0):!1}function Po(e){return typeof e=="function"?e():Te(e)}const ik=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const QQ=e=>e!=null,JQ=Object.prototype.toString,ZQ=e=>JQ.call(e)==="[object Object]",ak=()=>{};function eJ(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 sk=e=>e();function tJ(e=sk){const t=j(!0);function n(){t.value=!1}function o(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:uo(t),pause:n,resume:o,eventFilter:r}}function nJ(e){return e||no()}function oJ(...e){if(e.length!==1)return Ue(...e);const t=e[0];return typeof t=="function"?uo(oP(()=>({get:t,set:ak}))):j(t)}function rJ(e,t,n={}){const{eventFilter:o=sk,...r}=n;return ut(e,eJ(o,t),r)}function iJ(e,t,n={}){const{eventFilter:o,...r}=n,{eventFilter:i,pause:a,resume:s,isActive:l}=tJ(o);return{stop:rJ(e,t,{...r,eventFilter:i}),pause:a,resume:s,isActive:l}}function lk(e,t=!0,n){nJ()?jt(e,n):t?e():Ht(e)}function aJ(e=!1,t={}){const{truthyValue:n=!0,falsyValue:o=!1}=t,r=cn(e),i=j(e);function a(s){if(arguments.length)return i.value=s,i.value;{const l=Po(n);return i.value=i.value===l?Po(o):l,i.value}}return r?a:[i,a]}function Oa(e){var t;const n=Po(e);return(t=n==null?void 0:n.$el)!=null?t:n}const qr=ik?window:void 0,sJ=ik?window.document:void 0;function Wc(...e){let t,n,o,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,o,r]=e,t=qr):[t,n,o,r]=e,!t)return ak;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const i=[],a=()=>{i.forEach(u=>u()),i.length=0},s=(u,d,f,h)=>(u.addEventListener(d,f,h),()=>u.removeEventListener(d,f,h)),l=ut(()=>[Oa(t),Po(r)],([u,d])=>{if(a(),!u)return;const f=ZQ(d)?{...d}:d;i.push(...n.flatMap(h=>o.map(p=>s(u,h,p,f))))},{immediate:!0,flush:"post"}),c=()=>{l(),a()};return qu(c),c}function lJ(){const e=j(!1),t=no();return t&&jt(()=>{e.value=!0},t),e}function Wm(e){const t=lJ();return O(()=>(t.value,!!e()))}function cJ(e,t,n={}){const{window:o=qr,...r}=n;let i;const a=Wm(()=>o&&"MutationObserver"in o),s=()=>{i&&(i.disconnect(),i=void 0)},l=O(()=>{const f=Po(e),h=(Array.isArray(f)?f:[f]).map(Oa).filter(QQ);return new Set(h)}),c=ut(()=>l.value,f=>{s(),a.value&&f.size&&(i=new MutationObserver(t),f.forEach(h=>i.observe(h,r)))},{immediate:!0,flush:"post"}),u=()=>i==null?void 0:i.takeRecords(),d=()=>{s(),c()};return qu(d),{isSupported:a,stop:d,takeRecords:u}}function uJ(e,t={}){const{window:n=qr}=t,o=Wm(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=j(!1),a=c=>{i.value=c.matches},s=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},l=Yt(()=>{o.value&&(s(),r=n.matchMedia(Po(e)),"addEventListener"in r?r.addEventListener("change",a):r.addListener(a),i.value=r.matches)});return qu(()=>{l(),s(),r=void 0}),i}const Jl=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zl="__vueuse_ssr_handlers__",dJ=fJ();function fJ(){return Zl in Jl||(Jl[Zl]=Jl[Zl]||{}),Jl[Zl]}function ck(e,t){return dJ[e]||t}function hJ(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 pJ={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()}},S1="vueuse-storage";function mJ(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=qr,eventFilter:f,onError:h=T=>{console.error(T)},initOnMounted:p}=o,g=(u?za:j)(typeof t=="function"?t():t);if(!n)try{n=ck("getDefaultStorage",()=>{var T;return(T=qr)==null?void 0:T.localStorage})()}catch(T){h(T)}if(!n)return g;const m=Po(t),b=hJ(m),w=(r=o.serializer)!=null?r:pJ[b],{pause:C,resume:_}=iJ(g,()=>y(g.value),{flush:i,deep:a,eventFilter:f});d&&s&&lk(()=>{Wc(d,"storage",k),Wc(d,S1,P),p&&k()}),p||k();function S(T,E){d&&d.dispatchEvent(new CustomEvent(S1,{detail:{key:e,oldValue:T,newValue:E,storageArea:n}}))}function y(T){try{const E=n.getItem(e);if(T==null)S(E,null),n.removeItem(e);else{const R=w.write(T);E!==R&&(n.setItem(e,R),S(E,R))}}catch(E){h(E)}}function x(T){const E=T?T.newValue:n.getItem(e);if(E==null)return l&&m!=null&&n.setItem(e,w.write(m)),m;if(!T&&c){const R=w.read(E);return typeof c=="function"?c(R,m):b==="object"&&!Array.isArray(R)?{...m,...R}:R}else return typeof E!="string"?E:w.read(E)}function k(T){if(!(T&&T.storageArea!==n)){if(T&&T.key==null){g.value=m;return}if(!(T&&T.key!==e)){C();try{(T==null?void 0:T.newValue)!==w.write(g.value)&&(g.value=x(T))}catch(E){h(E)}finally{T?Ht(_):_()}}}}function P(T){k(T.detail)}return g}function uk(e){return uJ("(prefers-color-scheme: dark)",e)}function gJ(e={}){const{selector:t="html",attribute:n="class",initialValue:o="auto",window:r=qr,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=uk({window:r}),h=O(()=>f.value?"dark":"light"),p=l||(a==null?oJ(o):mJ(a,o,i,{window:r,listenToStorageChanges:s})),g=O(()=>p.value==="auto"?h.value:p.value),m=ck("updateHTMLAttrs",(_,S,y)=>{const x=typeof _=="string"?r==null?void 0:r.document.querySelector(_):Oa(_);if(!x)return;let k;if(u){k=r.document.createElement("style");const P="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";k.appendChild(document.createTextNode(P)),r.document.head.appendChild(k)}if(S==="class"){const P=y.split(/\s/g);Object.values(d).flatMap(T=>(T||"").split(/\s/g)).filter(Boolean).forEach(T=>{P.includes(T)?x.classList.add(T):x.classList.remove(T)})}else x.setAttribute(S,y);u&&(r.getComputedStyle(k).opacity,document.head.removeChild(k))});function b(_){var S;m(t,n,(S=d[_])!=null?S:_)}function w(_){e.onChanged?e.onChanged(_,b):b(_)}ut(g,w,{flush:"post",immediate:!0}),lk(()=>w(g.value));const C=O({get(){return c?p.value:g.value},set(_){p.value=_}});try{return Object.assign(C,{store:p,system:h,state:g})}catch{return C}}function vJ(e,t,n={}){const{window:o=qr,initialValue:r="",observe:i=!1}=n,a=j(r),s=O(()=>{var c;return Oa(t)||((c=o==null?void 0:o.document)==null?void 0:c.documentElement)});function l(){var c;const u=Po(e),d=Po(s);if(d&&o){const f=(c=o.getComputedStyle(d).getPropertyValue(u))==null?void 0:c.trim();a.value=f||r}}return i&&cJ(s,l,{attributeFilter:["style","class"],window:o}),ut([s,()=>Po(e)],l,{immediate:!0}),ut(a,c=>{var u;(u=s.value)!=null&&u.style&&s.value.style.setProperty(Po(e),c)}),a}function dk(e={}){const{valueDark:t="dark",valueLight:n="",window:o=qr}=e,r=gJ({...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=O(()=>r.system?r.system.value:uk({window:o}).value?"dark":"light");return O({get(){return r.value==="dark"},set(s){const l=s?"dark":"light";i.value===l?r.value="auto":r.value=l}})}const k1=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function bJ(e,t={}){const{document:n=sJ,autoExit:o=!1}=t,r=O(()=>{var b;return(b=Oa(e))!=null?b:n==null?void 0:n.querySelector("html")}),i=j(!1),a=O(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),s=O(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(b=>n&&b in n||r.value&&b in r.value)),l=O(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(b=>n&&b in n||r.value&&b in r.value)),c=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(b=>n&&b in n),u=Wm(()=>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 b=r.value;if((b==null?void 0:b[l.value])!=null)return!!b[l.value]}}return!1};async function h(){if(!(!u.value||!i.value)){if(s.value)if((n==null?void 0:n[s.value])!=null)await n[s.value]();else{const b=r.value;(b==null?void 0:b[s.value])!=null&&await b[s.value]()}i.value=!1}}async function p(){if(!u.value||i.value)return;f()&&await h();const b=r.value;a.value&&(b==null?void 0:b[a.value])!=null&&(await b[a.value](),i.value=!0)}async function g(){await(i.value?h():p())}const m=()=>{const b=f();(!b||b&&d())&&(i.value=b)};return Wc(n,k1,m,!1),Wc(()=>Oa(r),k1,m,!1),o&&qu(h),{isSupported:u,isFullscreen:i,enter:p,exit:h,toggle:g}}const Tn=fu("app",{state(){var e,t,n,o,r,i,a;return{collapsed:window.innerWidth<768,isDark:dk(),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:_u().value||"zh-CN",appConfig:{}}},actions:{async getConfig(){const{data:e}=await $J();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){ZC(e),location.reload()}}});function yJ(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 xJ(e){return e.confirm=function(t={}){const n=!z$(t.title);return new Promise(o=>{e[t.type||"warning"]({showIcon:n,positiveText:mn.global.t("确定"),negativeText:mn.global.t("取消"),onPositiveClick:()=>{t.confirm&&t.confirm(),o(!0)},onNegativeClick:()=>{t.cancel&&t.cancel(),o(!1)},onMaskClick:()=>{t.cancel&&t.cancel(),o(!1)},...t})})},e}function CJ(){const e=Tn(),t=O(()=>({theme:e.isDark?ok:void 0,themeOverrides:Kh})),{message:n,dialog:o,notification:r,loadingBar:i}=zQ(["message","dialog","notification","loadingBar"],{configProviderProps:t});window.$loadingBar=i,window.$notification=r,window.$message=yJ(n),window.$dialog=xJ(o)}const wJ="access_token",_J=6*60*60;function ec(e){ll.set(wJ,e,_J)}function SJ(e){if(e.method==="get"&&(e.params={...e.params,t:new Date().getTime()}),v4(e))return e;const t=CC();return t.value?(e.headers.Authorization=e.headers.Authorization||t.value,e):($p(),Promise.reject({code:"-1",message:"未登录"}))}function kJ(e){return Promise.reject(e)}function PJ(e){return Promise.resolve((e==null?void 0:e.data)||{code:-1,message:"未知错误"})}function TJ(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 AJ(e={}){const t={headers:{"Content-Type":"application/x-www-form-urlencoded","Content-Language":_u().value||"zh-CN"},timeout:12e3},n=m4.create({...t,...e});return n.interceptors.request.use(SJ,kJ),n.interceptors.response.use(PJ,TJ),n}const wt=AJ({baseURL:RJ()});function RJ(){let e=EJ(window.routerBase||"/")+"api/v1";return/^https?:\/\//.test(e)||(e=window.location.origin+e),e}function EJ(e){return e.endsWith("/")?e:"/"+e}function $J(){return wt.get("/user/comm/config")}function IJ(){return wt.get("/user/info")}function OJ(){return wt.get("/user/getStat")}function MJ(){return wt.get("/user/getSubscribe")}function zJ(){return wt.get("/user/notice/fetch")}function LJ(){return wt.get("/user/plan/fetch")}function fk(){return wt.get("/user/server/fetch")}function qm(){return wt.get("/user/order/fetch")}function FJ(e){return wt.get("/user/order/detail?trade_no="+e)}function Ku(e){return wt.post("/user/order/cancel",{trade_no:e})}function DJ(e){return wt.get("/user/order/check?trade_no="+e)}function BJ(){return wt.get("/user/invite/fetch")}function NJ(e=1,t=10){return wt.get(`/user/invite/details?current=${e}&page_size=${t}`)}function HJ(){return wt.get("/user/invite/save")}function jJ(e){return wt.post("/user/transfer",{transfer_amount:e})}function UJ(e){return wt.post("/user/ticket/withdraw",e)}function P1(e){return wt.post("/user/update",e)}function VJ(e,t){return wt.post("/user/changePassword",{old_password:e,new_password:t})}function WJ(){return wt.get("/user/resetSecurity")}function qJ(){return wt.get("/user/stat/getTrafficLog")}function KJ(){return wt.get("/user/order/getPaymentMethod")}function hk(e,t,n){return wt.post("/user/order/save",{plan_id:e,period:t,coupon_code:n})}function GJ(e,t){return wt.post("/user/order/checkout",{trade_no:e,method:t})}function XJ(e){return wt.get("/user/plan/fetch?id="+e)}function YJ(e,t){return wt.post("/user/coupon/check",{code:e,plan_id:t})}function QJ(){return wt.get("/user/ticket/fetch")}function JJ(e,t,n){return wt.post("/user/ticket/save",{subject:e,level:t,message:n})}function ZJ(e){return wt.post("/user/ticket/close",{id:e})}function eZ(e){return wt.get("/user/ticket/fetch?id="+e)}function tZ(e,t){return wt.post("/user/ticket/reply",{id:e,message:t})}function nZ(e="",t="zh-CN"){return wt.get(`/user/knowledge/fetch?keyword=${e}&language=${t}`)}function oZ(e,t="zh-CN"){return wt.get(`/user/knowledge/fetch?id=${e}&language=${t}`)}function rZ(){return wt.get("user/telegram/getBotInfo")}const ea=fu("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 IJ(),{data:t}=e;return t?(this.userInfo=t,t):Promise.reject(e)}catch(e){return Promise.reject(e)}},async getUserSubscribe(){try{const e=await MJ(),{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(){wC(),this.userInfo={},$p()},setUserInfo(e){this.userInfo={...this.userInfo,...e}}}});function iZ(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 pk(e,t){const n=[];return e.forEach(o=>{if(iZ(o,t)){const r={...o,children:[]};o.children&&o.children.length?r.children=pk(o.children,t):Reflect.deleteProperty(r,"children"),n.push(r)}}),n}const mk=fu("permission",{state(){return{accessRoutes:[]}},getters:{routes(){return jx.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=pk(Ux,e);return this.accessRoutes=t,t}}}),aZ=Tc.get("activeTag"),sZ=Tc.get("tags"),lZ=["/404","/login"],cZ=fu({id:"tag",state:()=>{const e=j(sZ.value),t=j(aZ.value),n=j(!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,Tc.set("activeTag",e)},setTags(e){this.tags=e,Tc.set("tags",e)},addTag(e={}){if(lZ.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&&Gt.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&&Gt.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)||Gt.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)||Gt.push(n[n.length-1].path)},resetTags(){this.setTags([]),this.setActiveTag("")}}});function uZ(e){e.use(IR())}const dZ=["/login","/register","/forgetpassword"];function fZ(e){const t=ea(),n=mk();e.beforeEach(async(o,r,i)=>{var s;CC().value?o.path==="/login"?i({path:((s=o.query.redirect)==null?void 0:s.toString())??"/dashboard"}):t.userUUID?i():(await Promise.all([Tn().getConfig(),t.getUserInfo().catch(c=>{wC(),$p(),window.$message.error(c.message||"获取用户信息失败!")})]),n.generateRoutes(t.role).forEach(c=>{c.name&&!e.hasRoute(c.name)&&e.addRoute(c)}),e.addRoute(AR),i({...o,replace:!0})):dZ.includes(o.path)?i():i({path:"/login"})})}function hZ(e){RR(e),fZ(e),ER(e)}const Gt=QA({history:kA("/"),routes:jx,scrollBehavior:()=>({left:0,top:0})});function pZ(e){e.use(Gt),hZ(Gt)}const mZ=Ce({__name:"AppProvider",setup(e){const t=Tn(),n={"zh-CN":[BD,N0],"en-US":[U_,W_],"fa-IR":[YD,IN],"ko-KR":[qD,V7],"vi-VN":[GD,EN],"zh-TW":[HD,N0],"ja-JP":[VD,a7]};function o(){const r=Kh.common;for(const i in r)vJ(`--${$D(i)}`,document.documentElement).value=r[i]||"",i==="primaryColor"&&window.localStorage.setItem("__THEME_COLOR__",r[i]||"")}return o(),(r,i)=>{const a=OS;return be(),We(a,{"wh-full":"",locale:n[Te(t).lang][0],"date-locale":n[Te(t).lang][1],theme:Te(t).isDark?Te(ok):void 0,"theme-overrides":Te(Kh)},{default:ve(()=>[ru(r.$slots,"default")]),_:3},8,["locale","date-locale","theme","theme-overrides"])}}}),gZ=Ce({__name:"App",setup(e){const t=ea();return Yt(()=>{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",Wo(i)],["UsedTraffic",As(((a==null?void 0:a.u)||0)+((a==null?void 0:a.d)||0))],["AllTraffic",As(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=ou("router-view");return be(),We(mZ,null,{default:ve(()=>[ce(i,null,{default:ve(({Component:a})=>[(be(),We(wa(a)))]),_:1})]),_:1})}}}),Gu=Rx(gZ);uZ(Gu);CJ();pZ(Gu);$$(Gu);Gu.mount("#app");const vZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},bZ=Y("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),yZ=[bZ];function xZ(e,t){return be(),Fe("svg",vZ,[...yZ])}const gk={name:"gg-close",render:xZ},CZ={class:"h-15 f-c-c"},wZ=["src"],_Z=Ce({__name:"SideLogo",setup(e){const t=Tn();return(n,o)=>{const r=gk,i=zt;return be(),Fe("div",CZ,[Te(t).logo?(be(),Fe("img",{key:0,src:Te(t).logo,height:"30"},null,8,wZ)):Ct("",!0),dn(Y("h2",{class:"ml-2.5 max-w-35 flex-shrink-0 font-bold color-primary"},pe(Te(t).title),513),[[Mn,!Te(t).collapsed]]),ce(i,{onClick:[o[0]||(o[0]=jT(()=>{},["stop"])),Te(t).switchCollapsed],class:"absolute right-4 h-auto p-0 md:hidden",tertiary:"",size:"medium"},{icon:ve(()=>[ce(r,{class:"cursor-pointer opacity-85"})]),_:1},8,["onClick"])])}}}),SZ=Ce({__name:"SideMenu",setup(e){const t=Tn(),n=p=>mn.global.t(p);function o(){window.innerWidth<=950&&(t.collapsed=!0)}const r=Hx(),i=Da(),a=mk(),s=O(()=>{var p;return((p=i.meta)==null?void 0:p.activeMenu)||i.name}),l=O(()=>a.menus.reduce((m,b)=>{var C,_,S,y;const w=d(b);if((_=(C=w.meta)==null?void 0:C.group)!=null&&_.key){const x=w.meta.group.key,k=m.findIndex(P=>P.key===x);if(k!==-1)(S=m[k].children)==null||S.push(w),m[k].children=(y=m[k].children)==null?void 0:y.sort((P,T)=>P.order-T.order);else{const P={type:"group",label:n(w.meta.group.label||""),key:x,children:[w]};m.push(P)}}else m.push(w);return m.sort((x,k)=>x.order-k.order)},[]).sort((m,b)=>m.type==="group"&&b.type!=="group"?1:m.type!=="group"&&b.type==="group"?-1:m.order-b.order));function c(p,g){return sb(g)?g:"/"+[p,g].filter(m=>!!m&&m!=="/").map(m=>m.replace(/(^\/)|(\/$)/g,"")).join("/")}function u(p,g){var b;const m=((b=p.children)==null?void 0:b.filter(w=>{var C;return w.name&&!((C=w.meta)!=null&&C.isHidden)}))||[];return m.length===1?d(m[0],g):m.length>1?{children:m.map(w=>d(w,g)).sort((w,C)=>w.order-C.order)}:null}function d(p,g=""){const{title:m,order:b}=p.meta||{title:"",order:0},{name:w,path:C}=p,_=m||w||"",S=w||"",y=f(p.meta),x=b||0,k=p.meta;let P={label:n(_),key:S,path:c(g,C),icon:y!==null?y:void 0,meta:k,order:x};const T=u(p,P.path);return T&&(P={...P,...T}),P}function f(p){return p!=null&&p.customIcon?rk(p.customIcon,{size:18}):p!=null&&p.icon?rl(p.icon,{size:18}):null}function h(p,g){sb(g.path)?window.open(g.path):r.push(g.path)}return(p,g)=>{const m=CY;return be(),We(m,{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":h,onClick:g[0]||(g[0]=b=>o())},null,8,["options","value"])}}}),T1=Ce({__name:"index",setup(e){return(t,n)=>(be(),Fe(rt,null,[ce(_Z),ce(SZ)],64))}}),kZ=Ce({__name:"AppMain",setup(e){const t=cZ();return(n,o)=>{const r=ou("router-view");return be(),We(r,null,{default:ve(({Component:i,route:a})=>[Te(t).reloading?Ct("",!0):(be(),We(wa(i),{key:a.fullPath}))]),_:1})}}}),PZ=Ce({__name:"BreadCrumb",setup(e){const t=Da();function n(o){return o!=null&&o.customIcon?rk(o.customIcon,{size:18}):o!=null&&o.icon?rl(o.icon,{size:18}):null}return(o,r)=>{const i=mU,a=fU;return be(),We(a,null,{default:ve(()=>[(be(!0),Fe(rt,null,Ln(Te(t).matched.filter(s=>{var l;return!!((l=s.meta)!=null&&l.title)}),s=>(be(),We(i,{key:s.path},{default:ve(()=>[(be(),We(wa(n(s.meta)))),nt(" "+pe(o.$t(s.meta.title)),1)]),_:2},1024))),128))]),_:1})}}}),TZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},AZ=Y("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M3 21h18v-2H3m0-7l4 4V8m4 9h10v-2H11z"},null,-1),RZ=[AZ];function EZ(e,t){return be(),Fe("svg",TZ,[...RZ])}const $Z={name:"mdi-format-indent-decrease",render:EZ},IZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},OZ=Y("path",{fill:"currentColor",d:"M11 13h10v-2H11m0-2h10V7H11M3 3v2h18V3M11 17h10v-2H11M3 8v8l4-4m-4 9h18v-2H3z"},null,-1),MZ=[OZ];function zZ(e,t){return be(),Fe("svg",IZ,[...MZ])}const LZ={name:"mdi-format-indent-increase",render:zZ},FZ=Ce({__name:"MenuCollapse",setup(e){const t=Tn();return(n,o)=>{const r=LZ,i=$Z,a=Xo;return be(),We(a,{size:"20","cursor-pointer":"",onClick:Te(t).switchCollapsed},{default:ve(()=>[Te(t).collapsed?(be(),We(r,{key:0})):(be(),We(i,{key:1}))]),_:1},8,["onClick"])}}}),DZ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},BZ=Y("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),NZ=[BZ];function HZ(e,t){return be(),Fe("svg",DZ,[...NZ])}const jZ={name:"ant-design-fullscreen-outlined",render:HZ},UZ={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},VZ=Y("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),WZ=[VZ];function qZ(e,t){return be(),Fe("svg",UZ,[...WZ])}const KZ={name:"ant-design-fullscreen-exit-outlined",render:qZ},GZ=Ce({__name:"FullScreen",setup(e){const{isFullscreen:t,toggle:n}=bJ();return(o,r)=>{const i=KZ,a=jZ,s=Xo;return be(),We(s,{class:"mr-5 cursor-pointer",size:"18",onClick:Te(n)},{default:ve(()=>[Te(t)?(be(),We(i,{key:0})):(be(),We(a,{key:1}))]),_:1},8,["onClick"])}}}),XZ={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},YZ=Y("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),QZ=[YZ];function JZ(e,t){return be(),Fe("svg",XZ,[...QZ])}const ZZ={name:"ic-round-expand-more",render:JZ},eee={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},tee=Y("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),nee=Y("path",{fill:"currentColor",d:"M26.749 24.93A13.99 13.99 0 1 0 2 16a13.9 13.9 0 0 0 3.251 8.93l-.02.017c.07.084.15.156.222.239c.09.103.187.2.28.3q.418.457.87.87q.14.124.28.242q.48.415.99.782c.044.03.084.069.128.1v-.012a13.9 13.9 0 0 0 16 0v.012c.044-.031.083-.07.128-.1q.51-.368.99-.782q.14-.119.28-.242q.451-.413.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),oee=[tee,nee];function ree(e,t){return be(),Fe("svg",eee,[...oee])}const iee={name:"carbon-user-avatar-filled",render:ree},aee={class:"hidden md:block"},see=Ce({__name:"UserAvatar",setup(e){const t=ea(),n=i=>mn.global.t(i),o=[{label:n("个人中心"),key:"profile",icon:rl("mdi-account-outline",{size:14})},{label:n("登出"),key:"logout",icon:rl("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"&&Gt.push("/profile")}return(i,a)=>{const s=iee,l=ZZ,c=zt,u=zm;return be(),We(u,{options:o,onSelect:r},{default:ve(()=>[ce(c,{text:"",flex:"","cursor-pointer":"","items-center":""},{default:ve(()=>[ce(s,{class:"mr-0 h-5 w-5 rounded-full md:mr-2.5 md:h-8 md:w-8"}),ce(l,{class:"h-5 w-5 md:hidden"}),Y("span",aee,pe(Te(t).email),1)]),_:1})]),_:1})}}}),lee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},cee=Y("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.45.45 0 0 0-.426-.306H4.791a.45.45 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.9 5.9 0 0 1-1.126 1.621l.001-.001a7 7 0 0 1-.637-.764l-.014-.021a.45.45 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.45.45 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.45.45 0 0 0 .626-.158l.001-.002l.298-.52a.45.45 0 0 0-.153-.605l-.002-.001a12 12 0 0 1-1.004-.696l.027.02a6.7 6.7 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),uee=[cee];function dee(e,t){return be(),Fe("svg",lee,[...uee])}const fee={name:"fontisto-language",render:dee},hee=Ce({__name:"SwitchLang",setup(e){const t=Tn();return(n,o)=>{const r=fee,i=zt,a=Am;return be(),We(a,{value:Te(t).lang,"onUpdate:value":o[0]||(o[0]=s=>Te(t).lang=s),options:Object.entries(Te(dh)).map(([s,l])=>({label:l,value:s})),trigger:"click","on-update:value":Te(t).switchLang},{default:ve(()=>[ce(i,{text:"","icon-placement":"left",class:"mr-5"},{icon:ve(()=>[ce(r)]),_:1})]),_:1},8,["value","options","on-update:value"])}}}),pee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},mee=Y("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),gee=[mee];function vee(e,t){return be(),Fe("svg",pee,[...gee])}const bee={name:"mdi-white-balance-sunny",render:vee},yee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},xee=Y("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),Cee=[xee];function wee(e,t){return be(),Fe("svg",yee,[...Cee])}const _ee={name:"mdi-moon-waning-crescent",render:wee},See=Ce({__name:"ThemeMode",setup(e){const t=Tn(),n=dk(),o=()=>{t.toggleDark(),aJ(n)()};return(r,i)=>{const a=_ee,s=bee,l=Xo;return be(),We(l,{class:"mr-5 cursor-pointer",size:"18",onClick:o},{default:ve(()=>[Te(n)?(be(),We(a,{key:0})):(be(),We(s,{key:1}))]),_:1})}}}),kee={flex:"","items-center":""},Pee={"ml-auto":"",flex:"","items-center":""},Tee=Ce({__name:"index",setup(e){return(t,n)=>(be(),Fe(rt,null,[Y("div",kee,[ce(FZ),ce(PZ)]),Y("div",Pee,[ce(See),ce(hee),ce(GZ),ce(see)])],64))}}),Aee={class:"flex flex-col flex-1 overflow-hidden"},Ree={class:"flex-1 overflow-hidden bg-hex-f5f6fb dark:bg-hex-101014"},Eee=Ce({__name:"index",setup(e){const t=Tn();function n(a){t.collapsed=a}const o=O({get:()=>r.value&&!t.collapsed,set:a=>t.collapsed=!a}),r=j(!1),i=()=>{document.body.clientWidth<=950?(r.value=!0,t.collapsed=!0):(t.collapsed=!1,r.value=!1)};return jt(()=>{window.addEventListener("resize",i),i()}),(a,s)=>{const l=tY,c=T2,u=YX;return be(),We(u,{"has-sider":"","wh-full":""},{default:ve(()=>[dn(ce(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:Te(t).collapsed,"on-update:collapsed":n},{default:ve(()=>[ce(T1)]),_:1},8,["collapsed"]),[[Mn,!o.value]]),ce(c,{show:o.value,"onUpdate:show":s[0]||(s[0]=d=>o.value=d),width:220,placement:"left"},{default:ve(()=>[ce(l,{bordered:"","collapse-mode":"transform","collapsed-width":0,width:220,"native-scrollbar":!1,collapsed:Te(t).collapsed,"on-update:collapsed":n},{default:ve(()=>[ce(T1)]),_:1},8,["collapsed"])]),_:1},8,["show"]),Y("article",Aee,[Y("header",{class:"flex items-center bg-white px-4",dark:"bg-dark border-0",style:Di(`height: ${Te(YQ).height}px`)},[ce(Tee)],4),Y("section",Ree,[ce(kZ)])])]),_:1})}}}),br=Object.freeze(Object.defineProperty({__proto__:null,default:Eee},Symbol.toStringTag,{value:"Module"})),Xu=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},$ee={},Iee={"f-c-c":"","flex-col":"","text-14":"",color:"#6a6a6a"},Oee=Y("p",null,[nt(" Copyright © 2022-present "),Y("a",{href:"https://github.com/zclzone",target:"__blank",hover:"decoration-underline color-primary"}," Ronnie Zhang ")],-1),Mee=Y("p",null,null,-1),zee=[Oee,Mee];function Lee(e,t){return be(),Fe("footer",Iee,zee)}const Fee=Xu($ee,[["render",Lee]]),Dee={class:"cus-scroll-y wh-full flex-col bg-[#f5f6fb] p-1 dark:bg-hex-121212 md:p-4"},bo=Ce({__name:"AppPage",props:{showFooter:{type:Boolean,default:!1}},setup(e){return(t,n)=>{const o=Fee,r=nU;return be(),We(fn,{name:"fade-slide",mode:"out-in",appear:""},{default:ve(()=>[Y("section",Dee,[ru(t.$slots,"default"),e.showFooter?(be(),We(o,{key:0,"mt-15":""})):Ct("",!0),ce(r,{bottom:20,class:"z-99999"})])]),_:3})}}}),Bee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Nee=Y("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.62q.81.63.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),Hee=[Nee];function jee(e,t){return be(),Fe("svg",Bee,[...Hee])}const Uee={name:"mdi-tooltip-question-outline",render:jee},Vee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Wee=Y("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),qee=[Wee];function Kee(e,t){return be(),Fe("svg",Vee,[...qee])}const Gee={name:"mdi-clock-outline",render:Kee},Xee={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},Yee=Y("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),Qee=[Yee];function Jee(e,t){return be(),Fe("svg",Xee,[...Qee])}const Zee={name:"mdi-rss",render:Jee},ete={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},tte=Y("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-.23q-2.655 0-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),nte=[tte];function ote(e,t){return be(),Fe("svg",ete,[...nte])}const rte={name:"mdi-book-open-variant",render:ote},ite={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},ate=Y("g",{fill:"none"},[Y("path",{d:"m12.593 23.258l-.011.002l-.071.035l-.02.004l-.014-.004l-.071-.035q-.016-.005-.024.005l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.017-.018m.265-.113l-.013.002l-.185.093l-.01.01l-.003.011l.018.43l.005.012l.008.007l.201.093q.019.005.029-.008l.004-.014l-.034-.614q-.005-.018-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.004-.011l.017-.43l-.003-.012l-.01-.01z"}),Y("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),ste=[ate];function lte(e,t){return be(),Fe("svg",ite,[...ste])}const cte={name:"mingcute-add-fill",render:lte},ute={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},dte=Y("path",{fill:"currentColor",d:"M5.503 4.627L5.5 6.75v10.504a3.25 3.25 0 0 0 3.25 3.25h8.616a2.25 2.25 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),fte=[dte];function hte(e,t){return be(),Fe("svg",ute,[...fte])}const pte={name:"fluent-copy24-filled",render:hte},mte={class:"inline-block",viewBox:"0 0 1200 1200",width:"1em",height:"1em"},gte=Y("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),vte=[gte];function bte(e,t){return be(),Fe("svg",mte,[...vte])}const yte={name:"el-qrcode",render:bte};var Dt={};const xte="Á",Cte="á",wte="Ă",_te="ă",Ste="∾",kte="∿",Pte="∾̳",Tte="Â",Ate="â",Rte="´",Ete="А",$te="а",Ite="Æ",Ote="æ",Mte="",zte="𝔄",Lte="𝔞",Fte="À",Dte="à",Bte="ℵ",Nte="ℵ",Hte="Α",jte="α",Ute="Ā",Vte="ā",Wte="⨿",qte="&",Kte="&",Gte="⩕",Xte="⩓",Yte="∧",Qte="⩜",Jte="⩘",Zte="⩚",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="≊",Pne="≋",Tne="'",Ane="",Rne="≈",Ene="≊",$ne="Å",Ine="å",One="𝒜",Mne="𝒶",zne="≔",Lne="*",Fne="≈",Dne="≍",Bne="Ã",Nne="ã",Hne="Ä",jne="ä",Une="∳",Vne="⨑",Wne="≌",qne="϶",Kne="‵",Gne="∽",Xne="⋍",Yne="∖",Qne="⫧",Jne="⊽",Zne="⌅",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="⨁",Poe="⨂",Toe="⨆",Aoe="★",Roe="▽",Eoe="△",$oe="⨄",Ioe="⋁",Ooe="⋀",Moe="⤍",zoe="⧫",Loe="▪",Foe="▴",Doe="▾",Boe="◂",Noe="▸",Hoe="␣",joe="▒",Uoe="░",Voe="▓",Woe="█",qoe="=⃥",Koe="≡⃥",Goe="⫭",Xoe="⌐",Yoe="𝔹",Qoe="𝕓",Joe="⊥",Zoe="⊥",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="╜",Pre="╝",Tre="└",Are="╘",Rre="╙",Ere="╚",$re="│",Ire="║",Ore="┼",Mre="╪",zre="╫",Lre="╬",Fre="┤",Dre="╡",Bre="╢",Nre="╣",Hre="├",jre="╞",Ure="╟",Vre="╠",Wre="‵",qre="˘",Kre="˘",Gre="¦",Xre="𝒷",Yre="ℬ",Qre="⁏",Jre="∽",Zre="⋍",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="Č",Pie="č",Tie="Ç",Aie="ç",Rie="Ĉ",Eie="ĉ",$ie="∰",Iie="⩌",Oie="⩐",Mie="Ċ",zie="ċ",Lie="¸",Fie="¸",Die="⦲",Bie="¢",Nie="·",Hie="·",jie="𝔠",Uie="ℭ",Vie="Ч",Wie="ч",qie="✓",Kie="✓",Gie="Χ",Xie="χ",Yie="ˆ",Qie="≗",Jie="↺",Zie="↻",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=",",Pae="@",Tae="∁",Aae="∘",Rae="∁",Eae="ℂ",$ae="≅",Iae="⩭",Oae="≡",Mae="∮",zae="∯",Lae="∮",Fae="𝕔",Dae="ℂ",Bae="∐",Nae="∐",Hae="©",jae="©",Uae="℗",Vae="∳",Wae="↵",qae="✗",Kae="⨯",Gae="𝒞",Xae="𝒸",Yae="⫏",Qae="⫑",Jae="⫐",Zae="⫒",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="⋎",Pse="⋏",Tse="∲",Ase="∱",Rse="⌭",Ese="†",$se="‡",Ise="ℸ",Ose="↓",Mse="↡",zse="⇓",Lse="‐",Fse="⫤",Dse="⊣",Bse="⤏",Nse="˝",Hse="Ď",jse="ď",Use="Д",Vse="д",Wse="‡",qse="⇊",Kse="ⅅ",Gse="ⅆ",Xse="⤑",Yse="⩷",Qse="°",Jse="∇",Zse="Δ",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="⋇",Ple="Ђ",Tle="ђ",Ale="⌞",Rle="⌍",Ele="$",$le="𝔻",Ile="𝕕",Ole="¨",Mle="˙",zle="⃜",Lle="≐",Fle="≑",Dle="≐",Ble="∸",Nle="∔",Hle="⊡",jle="⌆",Ule="∯",Vle="¨",Wle="⇓",qle="⇐",Kle="⇔",Gle="⫤",Xle="⟸",Yle="⟺",Qle="⟹",Jle="⇒",Zle="⊨",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="𝒹",Pce="Ѕ",Tce="ѕ",Ace="⧶",Rce="Đ",Ece="đ",$ce="⋱",Ice="▿",Oce="▾",Mce="⇵",zce="⥯",Lce="⦦",Fce="Џ",Dce="џ",Bce="⟿",Nce="É",Hce="é",jce="⩮",Uce="Ě",Vce="ě",Wce="Ê",qce="ê",Kce="≖",Gce="≕",Xce="Э",Yce="э",Qce="⩷",Jce="Ė",Zce="ė",eue="≑",tue="ⅇ",nue="≒",oue="𝔈",rue="𝔢",iue="⪚",aue="È",sue="è",lue="⪖",cue="⪘",uue="⪙",due="∈",fue="⏧",hue="ℓ",pue="⪕",mue="⪗",gue="Ē",vue="ē",bue="∅",yue="∅",xue="◻",Cue="∅",wue="▫",_ue=" ",Sue=" ",kue=" ",Pue="Ŋ",Tue="ŋ",Aue=" ",Rue="Ę",Eue="ę",$ue="𝔼",Iue="𝕖",Oue="⋕",Mue="⧣",zue="⩱",Lue="ε",Fue="Ε",Due="ε",Bue="ϵ",Nue="≖",Hue="≕",jue="≂",Uue="⪖",Vue="⪕",Wue="⩵",que="=",Kue="≂",Gue="≟",Xue="⇌",Yue="≡",Que="⩸",Jue="⧥",Zue="⥱",ede="≓",tde="ℯ",nde="ℰ",ode="≐",rde="⩳",ide="≂",ade="Η",sde="η",lde="Ð",cde="ð",ude="Ë",dde="ë",fde="€",hde="!",pde="∃",mde="∃",gde="ℰ",vde="ⅇ",bde="ⅇ",yde="≒",xde="Ф",Cde="ф",wde="♀",_de="ffi",Sde="ff",kde="ffl",Pde="𝔉",Tde="𝔣",Ade="fi",Rde="◼",Ede="▪",$de="fj",Ide="♭",Ode="fl",Mde="▱",zde="ƒ",Lde="𝔽",Fde="𝕗",Dde="∀",Bde="∀",Nde="⋔",Hde="⫙",jde="ℱ",Ude="⨍",Vde="½",Wde="⅓",qde="¼",Kde="⅕",Gde="⅙",Xde="⅛",Yde="⅔",Qde="⅖",Jde="¾",Zde="⅗",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="≧",Pfe="⪌",Tfe="⋛",Afe="≥",Rfe="≧",Efe="⩾",$fe="⪩",Ife="⩾",Ofe="⪀",Mfe="⪂",zfe="⪄",Lfe="⋛︀",Ffe="⪔",Dfe="𝔊",Bfe="𝔤",Nfe="≫",Hfe="⋙",jfe="⋙",Ufe="ℷ",Vfe="Ѓ",Wfe="ѓ",qfe="⪥",Kfe="≷",Gfe="⪒",Xfe="⪤",Yfe="⪊",Qfe="⪊",Jfe="⪈",Zfe="≩",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="⩼",Phe="⪆",The="⥸",Ahe="⋗",Rhe="⋛",Ehe="⪌",$he="≷",Ihe="≳",Ohe="≩︀",Mhe="≩︀",zhe="ˇ",Lhe=" ",Fhe="½",Dhe="ℋ",Bhe="Ъ",Nhe="ъ",Hhe="⥈",jhe="↔",Uhe="⇔",Vhe="↭",Whe="^",qhe="ℏ",Khe="Ĥ",Ghe="ĥ",Xhe="♥",Yhe="♥",Qhe="…",Jhe="⊹",Zhe="𝔥",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="î",Ppe="И",Tpe="и",Ape="İ",Rpe="Е",Epe="е",$pe="¡",Ipe="⇔",Ope="𝔦",Mpe="ℑ",zpe="Ì",Lpe="ì",Fpe="ⅈ",Dpe="⨌",Bpe="∭",Npe="⧜",Hpe="℩",jpe="IJ",Upe="ij",Vpe="Ī",Wpe="ī",qpe="ℑ",Kpe="ⅈ",Gpe="ℐ",Xpe="ℑ",Ype="ı",Qpe="ℑ",Jpe="⊷",Zpe="Ƶ",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="¿",Pme="𝒾",Tme="ℐ",Ame="∈",Rme="⋵",Eme="⋹",$me="⋴",Ime="⋳",Ome="∈",Mme="",zme="Ĩ",Lme="ĩ",Fme="І",Dme="і",Bme="Ï",Nme="ï",Hme="Ĵ",jme="ĵ",Ume="Й",Vme="й",Wme="𝔍",qme="𝔧",Kme="ȷ",Gme="𝕁",Xme="𝕛",Yme="𝒥",Qme="𝒿",Jme="Ј",Zme="ј",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="Λ",Pge="λ",Tge="⟨",Age="⟪",Rge="⦑",Ege="⟨",$ge="⪅",Ige="ℒ",Oge="«",Mge="⇤",zge="⤟",Lge="←",Fge="↞",Dge="⇐",Bge="⤝",Nge="↩",Hge="↫",jge="⤹",Uge="⥳",Vge="↢",Wge="⤙",qge="⤛",Kge="⪫",Gge="⪭",Xge="⪭︀",Yge="⤌",Qge="⤎",Jge="❲",Zge="{",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="⇆",Pve="↢",Tve="⌈",Ave="⟦",Rve="⥡",Eve="⥙",$ve="⇃",Ive="⌊",Ove="↽",Mve="↼",zve="⇇",Lve="↔",Fve="↔",Dve="⇔",Bve="⇆",Nve="⇋",Hve="↭",jve="⥎",Uve="↤",Vve="⊣",Wve="⥚",qve="⋋",Kve="⧏",Gve="⊲",Xve="⊴",Yve="⥑",Qve="⥠",Jve="⥘",Zve="↿",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="≲",Pbe="⥼",Tbe="⌊",Abe="𝔏",Rbe="𝔩",Ebe="≶",$be="⪑",Ibe="⥢",Obe="↽",Mbe="↼",zbe="⥪",Lbe="▄",Fbe="Љ",Dbe="љ",Bbe="⇇",Nbe="≪",Hbe="⋘",jbe="⌞",Ube="⇚",Vbe="⥫",Wbe="◺",qbe="Ŀ",Kbe="ŀ",Gbe="⎰",Xbe="⎰",Ybe="⪉",Qbe="⪉",Jbe="⪇",Zbe="≨",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="↙",P0e="↘",T0e="◊",A0e="◊",R0e="⧫",E0e="(",$0e="⦓",I0e="⇆",O0e="⌟",M0e="⇋",z0e="⥭",L0e="",F0e="⊿",D0e="‹",B0e="𝓁",N0e="ℒ",H0e="↰",j0e="↰",U0e="≲",V0e="⪍",W0e="⪏",q0e="[",K0e="‘",G0e="‚",X0e="Ł",Y0e="ł",Q0e="⪦",J0e="⩹",Z0e="<",e1e="<",t1e="≪",n1e="⋖",o1e="⋋",r1e="⋉",i1e="⥶",a1e="⩻",s1e="◃",l1e="⊴",c1e="◂",u1e="⦖",d1e="⥊",f1e="⥦",h1e="≨︀",p1e="≨︀",m1e="¯",g1e="♂",v1e="✠",b1e="✠",y1e="↦",x1e="↦",C1e="↧",w1e="↤",_1e="↥",S1e="▮",k1e="⨩",P1e="М",T1e="м",A1e="—",R1e="∺",E1e="∡",$1e=" ",I1e="ℳ",O1e="𝔐",M1e="𝔪",z1e="℧",L1e="µ",F1e="*",D1e="⫰",B1e="∣",N1e="·",H1e="⊟",j1e="−",U1e="∸",V1e="⨪",W1e="∓",q1e="⫛",K1e="…",G1e="∓",X1e="⊧",Y1e="𝕄",Q1e="𝕞",J1e="∓",Z1e="𝓂",eye="ℳ",tye="∾",nye="Μ",oye="μ",rye="⊸",iye="⊸",aye="∇",sye="Ń",lye="ń",cye="∠⃒",uye="≉",dye="⩰̸",fye="≋̸",hye="ʼn",pye="≉",mye="♮",gye="ℕ",vye="♮",bye=" ",yye="≎̸",xye="≏̸",Cye="⩃",wye="Ň",_ye="ň",Sye="Ņ",kye="ņ",Pye="≇",Tye="⩭̸",Aye="⩂",Rye="Н",Eye="н",$ye="–",Iye="⤤",Oye="↗",Mye="⇗",zye="↗",Lye="≠",Fye="≐̸",Dye="",Bye="",Nye="",Hye="",jye="≢",Uye="⤨",Vye="≂̸",Wye="≫",qye="≪",Kye=`
|
||
`,Gye="∄",Xye="∄",Yye="𝔑",Qye="𝔫",Jye="≧̸",Zye="≱",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="⇍",Pxe="↮",Txe="⇎",Axe="≰",Rxe="≦̸",Exe="⩽̸",$xe="⩽̸",Ixe="≮",Oxe="⋘̸",Mxe="≴",zxe="≪⃒",Lxe="≮",Fxe="⋪",Dxe="⋬",Bxe="≪̸",Nxe="∤",Hxe="",jxe=" ",Uxe="𝕟",Vxe="ℕ",Wxe="⫬",qxe="¬",Kxe="≢",Gxe="≭",Xxe="∦",Yxe="∉",Qxe="≠",Jxe="≂̸",Zxe="∄",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="⪡̸",PCe="∌",TCe="∌",ACe="⋾",RCe="⋽",ECe="⊀",$Ce="⪯̸",ICe="⋠",OCe="∌",MCe="⧐̸",zCe="⋫",LCe="⋭",FCe="⊏̸",DCe="⋢",BCe="⊐̸",NCe="⋣",HCe="⊂⃒",jCe="⊈",UCe="⊁",VCe="⪰̸",WCe="⋡",qCe="≿̸",KCe="⊃⃒",GCe="⊉",XCe="≁",YCe="≄",QCe="≇",JCe="≉",ZCe="∤",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="≁",Pwe="≄",Twe="≄",Awe="∤",Rwe="∦",Ewe="⋢",$we="⋣",Iwe="⊄",Owe="⫅̸",Mwe="⊈",zwe="⊂⃒",Lwe="⊈",Fwe="⫅̸",Dwe="⊁",Bwe="⪰̸",Nwe="⊅",Hwe="⫆̸",jwe="⊉",Uwe="⊃⃒",Vwe="⊉",Wwe="⫆̸",qwe="≹",Kwe="Ñ",Gwe="ñ",Xwe="≸",Ywe="⋪",Qwe="⋬",Jwe="⋫",Zwe="⋭",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="⤧",P_e="Ó",T_e="ó",A_e="⊛",R_e="Ô",E_e="ô",$_e="⊚",I_e="О",O_e="о",M_e="⊝",z_e="Ő",L_e="ő",F_e="⨸",D_e="⊙",B_e="⦼",N_e="Œ",H_e="œ",j_e="⦿",U_e="𝔒",V_e="𝔬",W_e="˛",q_e="Ò",K_e="ò",G_e="⧁",X_e="⦵",Y_e="Ω",Q_e="∮",J_e="↺",Z_e="⦾",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="º",PSe="⊶",TSe="⩖",ASe="⩗",RSe="⩛",ESe="Ⓢ",$Se="𝒪",ISe="ℴ",OSe="Ø",MSe="ø",zSe="⊘",LSe="Õ",FSe="õ",DSe="⨶",BSe="⨷",NSe="⊗",HSe="Ö",jSe="ö",USe="⌽",VSe="‾",WSe="⏞",qSe="⎴",KSe="⏜",GSe="¶",XSe="∥",YSe="∥",QSe="⫳",JSe="⫽",ZSe="∂",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="+",P2e="∔",T2e="⨥",A2e="⩲",R2e="±",E2e="±",$2e="⨦",I2e="⨧",O2e="±",M2e="ℌ",z2e="⨕",L2e="𝕡",F2e="ℙ",D2e="£",B2e="⪷",N2e="⪻",H2e="≺",j2e="≼",U2e="⪷",V2e="≺",W2e="≼",q2e="≺",K2e="⪯",G2e="≼",X2e="≾",Y2e="⪯",Q2e="⪹",J2e="⪵",Z2e="⋨",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="𝔔",Pke="𝔮",Tke="⨌",Ake="𝕢",Rke="ℚ",Eke="⁗",$ke="𝒬",Ike="𝓆",Oke="ℍ",Mke="⨖",zke="?",Lke="≟",Fke='"',Dke='"',Bke="⇛",Nke="∽̱",Hke="Ŕ",jke="ŕ",Uke="√",Vke="⦳",Wke="⟩",qke="⟫",Kke="⦒",Gke="⦥",Xke="⟩",Yke="»",Qke="⥵",Jke="⇥",Zke="⤠",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="Ř",P3e="ř",T3e="Ŗ",A3e="ŗ",R3e="⌉",E3e="}",$3e="Р",I3e="р",O3e="⤷",M3e="⥩",z3e="”",L3e="”",F3e="↳",D3e="ℜ",B3e="ℛ",N3e="ℜ",H3e="ℝ",j3e="ℜ",U3e="▭",V3e="®",W3e="®",q3e="∋",K3e="⇋",G3e="⥯",X3e="⥽",Y3e="⌋",Q3e="𝔯",J3e="ℜ",Z3e="⥤",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="↦",PPe="⊢",TPe="⥛",APe="⋌",RPe="⧐",EPe="⊳",$Pe="⊵",IPe="⥏",OPe="⥜",MPe="⥔",zPe="↾",LPe="⥓",FPe="⇀",DPe="˚",BPe="≓",NPe="⇄",HPe="⇌",jPe="",UPe="⎱",VPe="⎱",WPe="⫮",qPe="⟭",KPe="⇾",GPe="⟧",XPe="⦆",YPe="𝕣",QPe="ℝ",JPe="⨮",ZPe="⨵",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="‚",PTe="⪸",TTe="Š",ATe="š",RTe="⪼",ETe="≻",$Te="≽",ITe="⪰",OTe="⪴",MTe="Ş",zTe="ş",LTe="Ŝ",FTe="ŝ",DTe="⪺",BTe="⪶",NTe="⋩",HTe="⨓",jTe="≿",UTe="С",VTe="с",WTe="⊡",qTe="⋅",KTe="⩦",GTe="⤥",XTe="↘",YTe="⇘",QTe="↘",JTe="§",ZTe=";",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="≃",PAe="≃",TAe="⪞",AAe="⪠",RAe="⪝",EAe="⪟",$Ae="≆",IAe="⨤",OAe="⥲",MAe="←",zAe="∘",LAe="∖",FAe="⨳",DAe="⧤",BAe="∣",NAe="⌣",HAe="⪪",jAe="⪬",UAe="⪬︀",VAe="Ь",WAe="ь",qAe="⌿",KAe="⧄",GAe="/",XAe="𝕊",YAe="𝕤",QAe="♠",JAe="♠",ZAe="∥",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="𝒮",PRe="𝓈",TRe="∖",ARe="⌣",RRe="⋆",ERe="⋆",$Re="☆",IRe="★",ORe="ϵ",MRe="ϕ",zRe="¯",LRe="⊂",FRe="⋐",DRe="⪽",BRe="⫅",NRe="⊆",HRe="⫃",jRe="⫁",URe="⫋",VRe="⊊",WRe="⪿",qRe="⥹",KRe="⊂",GRe="⋐",XRe="⊆",YRe="⫅",QRe="⊆",JRe="⊊",ZRe="⫋",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="⫘",PEe="⫆",TEe="⊇",AEe="⫄",REe="⊃",EEe="⊇",$Ee="⟉",IEe="⫗",OEe="⥻",MEe="⫂",zEe="⫌",LEe="⊋",FEe="⫀",DEe="⊃",BEe="⋑",NEe="⊇",HEe="⫆",jEe="⊋",UEe="⫌",VEe="⫈",WEe="⫔",qEe="⫖",KEe="⤦",GEe="↙",XEe="⇙",YEe="↙",QEe="⤪",JEe="ß",ZEe=" ",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=" ",P4e="≈",T4e="∼",A4e="Þ",R4e="þ",E4e="˜",$4e="∼",I4e="≃",O4e="≅",M4e="≈",z4e="⨱",L4e="⊠",F4e="×",D4e="⨰",B4e="∭",N4e="⤨",H4e="⌶",j4e="⫱",U4e="⊤",V4e="𝕋",W4e="𝕥",q4e="⫚",K4e="⤩",G4e="‴",X4e="™",Y4e="™",Q4e="▵",J4e="▿",Z4e="◃",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="↑",P5e="↟",T5e="⇑",A5e="⥉",R5e="Ў",E5e="ў",$5e="Ŭ",I5e="ŭ",O5e="Û",M5e="û",z5e="У",L5e="у",F5e="⇅",D5e="Ű",B5e="ű",N5e="⥮",H5e="⥾",j5e="𝔘",U5e="𝔲",V5e="Ù",W5e="ù",q5e="⥣",K5e="↿",G5e="↾",X5e="▀",Y5e="⌜",Q5e="⌜",J5e="⌏",Z5e="◸",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="↖",P$e="↗",T$e="υ",A$e="ϒ",R$e="ϒ",E$e="Υ",$$e="υ",I$e="↥",O$e="⊥",M$e="⇈",z$e="⌝",L$e="⌝",F$e="⌎",D$e="Ů",B$e="ů",N$e="◹",H$e="𝒰",j$e="𝓊",U$e="⋰",V$e="Ũ",W$e="ũ",q$e="▵",K$e="▴",G$e="⇈",X$e="Ü",Y$e="ü",Q$e="⦧",J$e="⦜",Z$e="ϵ",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="⫦",PIe="⊻",TIe="∨",AIe="⋁",RIe="≚",EIe="⋮",$Ie="|",IIe="‖",OIe="|",MIe="‖",zIe="∣",LIe="|",FIe="❘",DIe="≀",BIe=" ",NIe="𝔙",HIe="𝔳",jIe="⊲",UIe="⊂⃒",VIe="⊃⃒",WIe="𝕍",qIe="𝕧",KIe="∝",GIe="⊳",XIe="𝒱",YIe="𝓋",QIe="⫋︀",JIe="⊊︀",ZIe="⫌︀",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="⟷",P8e="⟺",T8e="Ξ",A8e="ξ",R8e="⟵",E8e="⟸",$8e="⟼",I8e="⋻",O8e="⨀",M8e="𝕏",z8e="𝕩",L8e="⨁",F8e="⨂",D8e="⟶",B8e="⟹",N8e="𝒳",H8e="𝓍",j8e="⨆",U8e="⨄",V8e="△",W8e="⋁",q8e="⋀",K8e="Ý",G8e="ý",X8e="Я",Y8e="я",Q8e="Ŷ",J8e="ŷ",Z8e="Ы",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="ζ",POe="𝔷",TOe="ℨ",AOe="Ж",ROe="ж",EOe="⇝",$Oe="𝕫",IOe="ℤ",OOe="𝒵",MOe="𝓏",zOe="",LOe="",FOe={Aacute:xte,aacute:Cte,Abreve:wte,abreve:_te,ac:Ste,acd:kte,acE:Pte,Acirc:Tte,acirc:Ate,acute:Rte,Acy:Ete,acy:$te,AElig:Ite,aelig:Ote,af:Mte,Afr:zte,afr:Lte,Agrave:Fte,agrave:Dte,alefsym:Bte,aleph:Nte,Alpha:Hte,alpha:jte,Amacr:Ute,amacr:Vte,amalg:Wte,amp:qte,AMP:Kte,andand:Gte,And:Xte,and:Yte,andd:Qte,andslope:Jte,andv:Zte,ang:ene,ange:tne,angle:nne,angmsdaa:one,angmsdab:rne,angmsdac:ine,angmsdad:ane,angmsdae:sne,angmsdaf:lne,angmsdag:cne,angmsdah:une,angmsd:dne,angrt:fne,angrtvb:hne,angrtvbd:pne,angsph:mne,angst:gne,angzarr:vne,Aogon:bne,aogon:yne,Aopf:xne,aopf:Cne,apacir:wne,ap:_ne,apE:Sne,ape:kne,apid:Pne,apos:Tne,ApplyFunction:Ane,approx:Rne,approxeq:Ene,Aring:$ne,aring:Ine,Ascr:One,ascr:Mne,Assign:zne,ast:Lne,asymp:Fne,asympeq:Dne,Atilde:Bne,atilde:Nne,Auml:Hne,auml:jne,awconint:Une,awint:Vne,backcong:Wne,backepsilon:qne,backprime:Kne,backsim:Gne,backsimeq:Xne,Backslash:Yne,Barv:Qne,barvee:Jne,barwed:Zne,Barwed:eoe,barwedge:toe,bbrk:noe,bbrktbrk:ooe,bcong:roe,Bcy:ioe,bcy:aoe,bdquo:soe,becaus:loe,because:coe,Because:uoe,bemptyv:doe,bepsi:foe,bernou:hoe,Bernoullis:poe,Beta:moe,beta:goe,beth:voe,between:boe,Bfr:yoe,bfr:xoe,bigcap:Coe,bigcirc:woe,bigcup:_oe,bigodot:Soe,bigoplus:koe,bigotimes:Poe,bigsqcup:Toe,bigstar:Aoe,bigtriangledown:Roe,bigtriangleup:Eoe,biguplus:$oe,bigvee:Ioe,bigwedge:Ooe,bkarow:Moe,blacklozenge:zoe,blacksquare:Loe,blacktriangle:Foe,blacktriangledown:Doe,blacktriangleleft:Boe,blacktriangleright:Noe,blank:Hoe,blk12:joe,blk14:Uoe,blk34:Voe,block:Woe,bne:qoe,bnequiv:Koe,bNot:Goe,bnot:Xoe,Bopf:Yoe,bopf:Qoe,bot:Joe,bottom:Zoe,bowtie:ere,boxbox:tre,boxdl:nre,boxdL:ore,boxDl:rre,boxDL:ire,boxdr:are,boxdR:sre,boxDr:lre,boxDR:cre,boxh:ure,boxH:dre,boxhd:fre,boxHd:hre,boxhD:pre,boxHD:mre,boxhu:gre,boxHu:vre,boxhU:bre,boxHU:yre,boxminus:xre,boxplus:Cre,boxtimes:wre,boxul:_re,boxuL:Sre,boxUl:kre,boxUL:Pre,boxur:Tre,boxuR:Are,boxUr:Rre,boxUR:Ere,boxv:$re,boxV:Ire,boxvh:Ore,boxvH:Mre,boxVh:zre,boxVH:Lre,boxvl:Fre,boxvL:Dre,boxVl:Bre,boxVL:Nre,boxvr:Hre,boxvR:jre,boxVr:Ure,boxVR:Vre,bprime:Wre,breve:qre,Breve:Kre,brvbar:Gre,bscr:Xre,Bscr:Yre,bsemi:Qre,bsim:Jre,bsime:Zre,bsolb:eie,bsol:tie,bsolhsub:nie,bull:oie,bullet:rie,bump:iie,bumpE:aie,bumpe:sie,Bumpeq:lie,bumpeq:cie,Cacute:uie,cacute:die,capand:fie,capbrcup:hie,capcap:pie,cap:mie,Cap:gie,capcup:vie,capdot:bie,CapitalDifferentialD:yie,caps:xie,caret:Cie,caron:wie,Cayleys:_ie,ccaps:Sie,Ccaron:kie,ccaron:Pie,Ccedil:Tie,ccedil:Aie,Ccirc:Rie,ccirc:Eie,Cconint:$ie,ccups:Iie,ccupssm:Oie,Cdot:Mie,cdot:zie,cedil:Lie,Cedilla:Fie,cemptyv:Die,cent:Bie,centerdot:Nie,CenterDot:Hie,cfr:jie,Cfr:Uie,CHcy:Vie,chcy:Wie,check:qie,checkmark:Kie,Chi:Gie,chi:Xie,circ:Yie,circeq:Qie,circlearrowleft:Jie,circlearrowright:Zie,circledast:eae,circledcirc:tae,circleddash:nae,CircleDot:oae,circledR:rae,circledS:iae,CircleMinus:aae,CirclePlus:sae,CircleTimes:lae,cir:cae,cirE:uae,cire:dae,cirfnint:fae,cirmid:hae,cirscir:pae,ClockwiseContourIntegral:mae,CloseCurlyDoubleQuote:gae,CloseCurlyQuote:vae,clubs:bae,clubsuit:yae,colon:xae,Colon:Cae,Colone:wae,colone:_ae,coloneq:Sae,comma:kae,commat:Pae,comp:Tae,compfn:Aae,complement:Rae,complexes:Eae,cong:$ae,congdot:Iae,Congruent:Oae,conint:Mae,Conint:zae,ContourIntegral:Lae,copf:Fae,Copf:Dae,coprod:Bae,Coproduct:Nae,copy:Hae,COPY:jae,copysr:Uae,CounterClockwiseContourIntegral:Vae,crarr:Wae,cross:qae,Cross:Kae,Cscr:Gae,cscr:Xae,csub:Yae,csube:Qae,csup:Jae,csupe:Zae,ctdot:ese,cudarrl:tse,cudarrr:nse,cuepr:ose,cuesc:rse,cularr:ise,cularrp:ase,cupbrcap:sse,cupcap:lse,CupCap:cse,cup:use,Cup:dse,cupcup:fse,cupdot:hse,cupor:pse,cups:mse,curarr:gse,curarrm:vse,curlyeqprec:bse,curlyeqsucc:yse,curlyvee:xse,curlywedge:Cse,curren:wse,curvearrowleft:_se,curvearrowright:Sse,cuvee:kse,cuwed:Pse,cwconint:Tse,cwint:Ase,cylcty:Rse,dagger:Ese,Dagger:$se,daleth:Ise,darr:Ose,Darr:Mse,dArr:zse,dash:Lse,Dashv:Fse,dashv:Dse,dbkarow:Bse,dblac:Nse,Dcaron:Hse,dcaron:jse,Dcy:Use,dcy:Vse,ddagger:Wse,ddarr:qse,DD:Kse,dd:Gse,DDotrahd:Xse,ddotseq:Yse,deg:Qse,Del:Jse,Delta:Zse,delta:ele,demptyv:tle,dfisht:nle,Dfr:ole,dfr:rle,dHar:ile,dharl:ale,dharr:sle,DiacriticalAcute:lle,DiacriticalDot:cle,DiacriticalDoubleAcute:ule,DiacriticalGrave:dle,DiacriticalTilde:fle,diam:hle,diamond:ple,Diamond:mle,diamondsuit:gle,diams:vle,die:ble,DifferentialD:yle,digamma:xle,disin:Cle,div:wle,divide:_le,divideontimes:Sle,divonx:kle,DJcy:Ple,djcy:Tle,dlcorn:Ale,dlcrop:Rle,dollar:Ele,Dopf:$le,dopf:Ile,Dot:Ole,dot:Mle,DotDot:zle,doteq:Lle,doteqdot:Fle,DotEqual:Dle,dotminus:Ble,dotplus:Nle,dotsquare:Hle,doublebarwedge:jle,DoubleContourIntegral:Ule,DoubleDot:Vle,DoubleDownArrow:Wle,DoubleLeftArrow:qle,DoubleLeftRightArrow:Kle,DoubleLeftTee:Gle,DoubleLongLeftArrow:Xle,DoubleLongLeftRightArrow:Yle,DoubleLongRightArrow:Qle,DoubleRightArrow:Jle,DoubleRightTee:Zle,DoubleUpArrow:ece,DoubleUpDownArrow:tce,DoubleVerticalBar:nce,DownArrowBar:oce,downarrow:rce,DownArrow:ice,Downarrow:ace,DownArrowUpArrow:sce,DownBreve:lce,downdownarrows:cce,downharpoonleft:uce,downharpoonright:dce,DownLeftRightVector:fce,DownLeftTeeVector:hce,DownLeftVectorBar:pce,DownLeftVector:mce,DownRightTeeVector:gce,DownRightVectorBar:vce,DownRightVector:bce,DownTeeArrow:yce,DownTee:xce,drbkarow:Cce,drcorn:wce,drcrop:_ce,Dscr:Sce,dscr:kce,DScy:Pce,dscy:Tce,dsol:Ace,Dstrok:Rce,dstrok:Ece,dtdot:$ce,dtri:Ice,dtrif:Oce,duarr:Mce,duhar:zce,dwangle:Lce,DZcy:Fce,dzcy:Dce,dzigrarr:Bce,Eacute:Nce,eacute:Hce,easter:jce,Ecaron:Uce,ecaron:Vce,Ecirc:Wce,ecirc:qce,ecir:Kce,ecolon:Gce,Ecy:Xce,ecy:Yce,eDDot:Qce,Edot:Jce,edot:Zce,eDot:eue,ee:tue,efDot:nue,Efr:oue,efr:rue,eg:iue,Egrave:aue,egrave:sue,egs:lue,egsdot:cue,el:uue,Element:due,elinters:fue,ell:hue,els:pue,elsdot:mue,Emacr:gue,emacr:vue,empty:bue,emptyset:yue,EmptySmallSquare:xue,emptyv:Cue,EmptyVerySmallSquare:wue,emsp13:_ue,emsp14:Sue,emsp:kue,ENG:Pue,eng:Tue,ensp:Aue,Eogon:Rue,eogon:Eue,Eopf:$ue,eopf:Iue,epar:Oue,eparsl:Mue,eplus:zue,epsi:Lue,Epsilon:Fue,epsilon:Due,epsiv:Bue,eqcirc:Nue,eqcolon:Hue,eqsim:jue,eqslantgtr:Uue,eqslantless:Vue,Equal:Wue,equals:que,EqualTilde:Kue,equest:Gue,Equilibrium:Xue,equiv:Yue,equivDD:Que,eqvparsl:Jue,erarr:Zue,erDot:ede,escr:tde,Escr:nde,esdot:ode,Esim:rde,esim:ide,Eta:ade,eta:sde,ETH:lde,eth:cde,Euml:ude,euml:dde,euro:fde,excl:hde,exist:pde,Exists:mde,expectation:gde,exponentiale:vde,ExponentialE:bde,fallingdotseq:yde,Fcy:xde,fcy:Cde,female:wde,ffilig:_de,fflig:Sde,ffllig:kde,Ffr:Pde,ffr:Tde,filig:Ade,FilledSmallSquare:Rde,FilledVerySmallSquare:Ede,fjlig:$de,flat:Ide,fllig:Ode,fltns:Mde,fnof:zde,Fopf:Lde,fopf:Fde,forall:Dde,ForAll:Bde,fork:Nde,forkv:Hde,Fouriertrf:jde,fpartint:Ude,frac12:Vde,frac13:Wde,frac14:qde,frac15:Kde,frac16:Gde,frac18:Xde,frac23:Yde,frac25:Qde,frac34:Jde,frac35:Zde,frac38:efe,frac45:tfe,frac56:nfe,frac58:ofe,frac78:rfe,frasl:ife,frown:afe,fscr:sfe,Fscr:lfe,gacute:cfe,Gamma:ufe,gamma:dfe,Gammad:ffe,gammad:hfe,gap:pfe,Gbreve:mfe,gbreve:gfe,Gcedil:vfe,Gcirc:bfe,gcirc:yfe,Gcy:xfe,gcy:Cfe,Gdot:wfe,gdot:_fe,ge:Sfe,gE:kfe,gEl:Pfe,gel:Tfe,geq:Afe,geqq:Rfe,geqslant:Efe,gescc:$fe,ges:Ife,gesdot:Ofe,gesdoto:Mfe,gesdotol:zfe,gesl:Lfe,gesles:Ffe,Gfr:Dfe,gfr:Bfe,gg:Nfe,Gg:Hfe,ggg:jfe,gimel:Ufe,GJcy:Vfe,gjcy:Wfe,gla:qfe,gl:Kfe,glE:Gfe,glj:Xfe,gnap:Yfe,gnapprox:Qfe,gne:Jfe,gnE:Zfe,gneq:ehe,gneqq:the,gnsim:nhe,Gopf:ohe,gopf:rhe,grave:ihe,GreaterEqual:ahe,GreaterEqualLess:she,GreaterFullEqual:lhe,GreaterGreater:che,GreaterLess:uhe,GreaterSlantEqual:dhe,GreaterTilde:fhe,Gscr:hhe,gscr:phe,gsim:mhe,gsime:ghe,gsiml:vhe,gtcc:bhe,gtcir:yhe,gt:xhe,GT:Che,Gt:whe,gtdot:_he,gtlPar:She,gtquest:khe,gtrapprox:Phe,gtrarr:The,gtrdot:Ahe,gtreqless:Rhe,gtreqqless:Ehe,gtrless:$he,gtrsim:Ihe,gvertneqq:Ohe,gvnE:Mhe,Hacek:zhe,hairsp:Lhe,half:Fhe,hamilt:Dhe,HARDcy:Bhe,hardcy:Nhe,harrcir:Hhe,harr:jhe,hArr:Uhe,harrw:Vhe,Hat:Whe,hbar:qhe,Hcirc:Khe,hcirc:Ghe,hearts:Xhe,heartsuit:Yhe,hellip:Qhe,hercon:Jhe,hfr:Zhe,Hfr:epe,HilbertSpace:tpe,hksearow:npe,hkswarow:ope,hoarr:rpe,homtht:ipe,hookleftarrow:ape,hookrightarrow:spe,hopf:lpe,Hopf:cpe,horbar:upe,HorizontalLine:dpe,hscr:fpe,Hscr:hpe,hslash:ppe,Hstrok:mpe,hstrok:gpe,HumpDownHump:vpe,HumpEqual:bpe,hybull:ype,hyphen:xpe,Iacute:Cpe,iacute:wpe,ic:_pe,Icirc:Spe,icirc:kpe,Icy:Ppe,icy:Tpe,Idot:Ape,IEcy:Rpe,iecy:Epe,iexcl:$pe,iff:Ipe,ifr:Ope,Ifr:Mpe,Igrave:zpe,igrave:Lpe,ii:Fpe,iiiint:Dpe,iiint:Bpe,iinfin:Npe,iiota:Hpe,IJlig:jpe,ijlig:Upe,Imacr:Vpe,imacr:Wpe,image:qpe,ImaginaryI:Kpe,imagline:Gpe,imagpart:Xpe,imath:Ype,Im:Qpe,imof:Jpe,imped:Zpe,Implies:eme,incare:tme,in:"∈",infin:nme,infintie:ome,inodot:rme,intcal:ime,int:ame,Int:sme,integers:lme,Integral:cme,intercal:ume,Intersection:dme,intlarhk:fme,intprod:hme,InvisibleComma:pme,InvisibleTimes:mme,IOcy:gme,iocy:vme,Iogon:bme,iogon:yme,Iopf:xme,iopf:Cme,Iota:wme,iota:_me,iprod:Sme,iquest:kme,iscr:Pme,Iscr:Tme,isin:Ame,isindot:Rme,isinE:Eme,isins:$me,isinsv:Ime,isinv:Ome,it:Mme,Itilde:zme,itilde:Lme,Iukcy:Fme,iukcy:Dme,Iuml:Bme,iuml:Nme,Jcirc:Hme,jcirc:jme,Jcy:Ume,jcy:Vme,Jfr:Wme,jfr:qme,jmath:Kme,Jopf:Gme,jopf:Xme,Jscr:Yme,jscr:Qme,Jsercy:Jme,jsercy:Zme,Jukcy:ege,jukcy:tge,Kappa:nge,kappa:oge,kappav:rge,Kcedil:ige,kcedil:age,Kcy:sge,kcy:lge,Kfr:cge,kfr:uge,kgreen:dge,KHcy:fge,khcy:hge,KJcy:pge,kjcy:mge,Kopf:gge,kopf:vge,Kscr:bge,kscr:yge,lAarr:xge,Lacute:Cge,lacute:wge,laemptyv:_ge,lagran:Sge,Lambda:kge,lambda:Pge,lang:Tge,Lang:Age,langd:Rge,langle:Ege,lap:$ge,Laplacetrf:Ige,laquo:Oge,larrb:Mge,larrbfs:zge,larr:Lge,Larr:Fge,lArr:Dge,larrfs:Bge,larrhk:Nge,larrlp:Hge,larrpl:jge,larrsim:Uge,larrtl:Vge,latail:Wge,lAtail:qge,lat:Kge,late:Gge,lates:Xge,lbarr:Yge,lBarr:Qge,lbbrk:Jge,lbrace:Zge,lbrack:eve,lbrke:tve,lbrksld:nve,lbrkslu:ove,Lcaron:rve,lcaron:ive,Lcedil:ave,lcedil:sve,lceil:lve,lcub:cve,Lcy:uve,lcy:dve,ldca:fve,ldquo:hve,ldquor:pve,ldrdhar:mve,ldrushar:gve,ldsh:vve,le:bve,lE:yve,LeftAngleBracket:xve,LeftArrowBar:Cve,leftarrow:wve,LeftArrow:_ve,Leftarrow:Sve,LeftArrowRightArrow:kve,leftarrowtail:Pve,LeftCeiling:Tve,LeftDoubleBracket:Ave,LeftDownTeeVector:Rve,LeftDownVectorBar:Eve,LeftDownVector:$ve,LeftFloor:Ive,leftharpoondown:Ove,leftharpoonup:Mve,leftleftarrows:zve,leftrightarrow:Lve,LeftRightArrow:Fve,Leftrightarrow:Dve,leftrightarrows:Bve,leftrightharpoons:Nve,leftrightsquigarrow:Hve,LeftRightVector:jve,LeftTeeArrow:Uve,LeftTee:Vve,LeftTeeVector:Wve,leftthreetimes:qve,LeftTriangleBar:Kve,LeftTriangle:Gve,LeftTriangleEqual:Xve,LeftUpDownVector:Yve,LeftUpTeeVector:Qve,LeftUpVectorBar:Jve,LeftUpVector:Zve,LeftVectorBar:ebe,LeftVector:tbe,lEg:nbe,leg:obe,leq:rbe,leqq:ibe,leqslant:abe,lescc:sbe,les:lbe,lesdot:cbe,lesdoto:ube,lesdotor:dbe,lesg:fbe,lesges:hbe,lessapprox:pbe,lessdot:mbe,lesseqgtr:gbe,lesseqqgtr:vbe,LessEqualGreater:bbe,LessFullEqual:ybe,LessGreater:xbe,lessgtr:Cbe,LessLess:wbe,lesssim:_be,LessSlantEqual:Sbe,LessTilde:kbe,lfisht:Pbe,lfloor:Tbe,Lfr:Abe,lfr:Rbe,lg:Ebe,lgE:$be,lHar:Ibe,lhard:Obe,lharu:Mbe,lharul:zbe,lhblk:Lbe,LJcy:Fbe,ljcy:Dbe,llarr:Bbe,ll:Nbe,Ll:Hbe,llcorner:jbe,Lleftarrow:Ube,llhard:Vbe,lltri:Wbe,Lmidot:qbe,lmidot:Kbe,lmoustache:Gbe,lmoust:Xbe,lnap:Ybe,lnapprox:Qbe,lne:Jbe,lnE:Zbe,lneq:e0e,lneqq:t0e,lnsim:n0e,loang:o0e,loarr:r0e,lobrk:i0e,longleftarrow:a0e,LongLeftArrow:s0e,Longleftarrow:l0e,longleftrightarrow:c0e,LongLeftRightArrow:u0e,Longleftrightarrow:d0e,longmapsto:f0e,longrightarrow:h0e,LongRightArrow:p0e,Longrightarrow:m0e,looparrowleft:g0e,looparrowright:v0e,lopar:b0e,Lopf:y0e,lopf:x0e,loplus:C0e,lotimes:w0e,lowast:_0e,lowbar:S0e,LowerLeftArrow:k0e,LowerRightArrow:P0e,loz:T0e,lozenge:A0e,lozf:R0e,lpar:E0e,lparlt:$0e,lrarr:I0e,lrcorner:O0e,lrhar:M0e,lrhard:z0e,lrm:L0e,lrtri:F0e,lsaquo:D0e,lscr:B0e,Lscr:N0e,lsh:H0e,Lsh:j0e,lsim:U0e,lsime:V0e,lsimg:W0e,lsqb:q0e,lsquo:K0e,lsquor:G0e,Lstrok:X0e,lstrok:Y0e,ltcc:Q0e,ltcir:J0e,lt:Z0e,LT:e1e,Lt:t1e,ltdot:n1e,lthree:o1e,ltimes:r1e,ltlarr:i1e,ltquest:a1e,ltri:s1e,ltrie:l1e,ltrif:c1e,ltrPar:u1e,lurdshar:d1e,luruhar:f1e,lvertneqq:h1e,lvnE:p1e,macr:m1e,male:g1e,malt:v1e,maltese:b1e,Map:"⤅",map:y1e,mapsto:x1e,mapstodown:C1e,mapstoleft:w1e,mapstoup:_1e,marker:S1e,mcomma:k1e,Mcy:P1e,mcy:T1e,mdash:A1e,mDDot:R1e,measuredangle:E1e,MediumSpace:$1e,Mellintrf:I1e,Mfr:O1e,mfr:M1e,mho:z1e,micro:L1e,midast:F1e,midcir:D1e,mid:B1e,middot:N1e,minusb:H1e,minus:j1e,minusd:U1e,minusdu:V1e,MinusPlus:W1e,mlcp:q1e,mldr:K1e,mnplus:G1e,models:X1e,Mopf:Y1e,mopf:Q1e,mp:J1e,mscr:Z1e,Mscr:eye,mstpos:tye,Mu:nye,mu:oye,multimap:rye,mumap:iye,nabla:aye,Nacute:sye,nacute:lye,nang:cye,nap:uye,napE:dye,napid:fye,napos:hye,napprox:pye,natural:mye,naturals:gye,natur:vye,nbsp:bye,nbump:yye,nbumpe:xye,ncap:Cye,Ncaron:wye,ncaron:_ye,Ncedil:Sye,ncedil:kye,ncong:Pye,ncongdot:Tye,ncup:Aye,Ncy:Rye,ncy:Eye,ndash:$ye,nearhk:Iye,nearr:Oye,neArr:Mye,nearrow:zye,ne:Lye,nedot:Fye,NegativeMediumSpace:Dye,NegativeThickSpace:Bye,NegativeThinSpace:Nye,NegativeVeryThinSpace:Hye,nequiv:jye,nesear:Uye,nesim:Vye,NestedGreaterGreater:Wye,NestedLessLess:qye,NewLine:Kye,nexist:Gye,nexists:Xye,Nfr:Yye,nfr:Qye,ngE:Jye,nge:Zye,ngeq:exe,ngeqq:txe,ngeqslant:nxe,nges:oxe,nGg:rxe,ngsim:ixe,nGt:axe,ngt:sxe,ngtr:lxe,nGtv:cxe,nharr:uxe,nhArr:dxe,nhpar:fxe,ni:hxe,nis:pxe,nisd:mxe,niv:gxe,NJcy:vxe,njcy:bxe,nlarr:yxe,nlArr:xxe,nldr:Cxe,nlE:wxe,nle:_xe,nleftarrow:Sxe,nLeftarrow:kxe,nleftrightarrow:Pxe,nLeftrightarrow:Txe,nleq:Axe,nleqq:Rxe,nleqslant:Exe,nles:$xe,nless:Ixe,nLl:Oxe,nlsim:Mxe,nLt:zxe,nlt:Lxe,nltri:Fxe,nltrie:Dxe,nLtv:Bxe,nmid:Nxe,NoBreak:Hxe,NonBreakingSpace:jxe,nopf:Uxe,Nopf:Vxe,Not:Wxe,not:qxe,NotCongruent:Kxe,NotCupCap:Gxe,NotDoubleVerticalBar:Xxe,NotElement:Yxe,NotEqual:Qxe,NotEqualTilde:Jxe,NotExists:Zxe,NotGreater:eCe,NotGreaterEqual:tCe,NotGreaterFullEqual:nCe,NotGreaterGreater:oCe,NotGreaterLess:rCe,NotGreaterSlantEqual:iCe,NotGreaterTilde:aCe,NotHumpDownHump:sCe,NotHumpEqual:lCe,notin:cCe,notindot:uCe,notinE:dCe,notinva:fCe,notinvb:hCe,notinvc:pCe,NotLeftTriangleBar:mCe,NotLeftTriangle:gCe,NotLeftTriangleEqual:vCe,NotLess:bCe,NotLessEqual:yCe,NotLessGreater:xCe,NotLessLess:CCe,NotLessSlantEqual:wCe,NotLessTilde:_Ce,NotNestedGreaterGreater:SCe,NotNestedLessLess:kCe,notni:PCe,notniva:TCe,notnivb:ACe,notnivc:RCe,NotPrecedes:ECe,NotPrecedesEqual:$Ce,NotPrecedesSlantEqual:ICe,NotReverseElement:OCe,NotRightTriangleBar:MCe,NotRightTriangle:zCe,NotRightTriangleEqual:LCe,NotSquareSubset:FCe,NotSquareSubsetEqual:DCe,NotSquareSuperset:BCe,NotSquareSupersetEqual:NCe,NotSubset:HCe,NotSubsetEqual:jCe,NotSucceeds:UCe,NotSucceedsEqual:VCe,NotSucceedsSlantEqual:WCe,NotSucceedsTilde:qCe,NotSuperset:KCe,NotSupersetEqual:GCe,NotTilde:XCe,NotTildeEqual:YCe,NotTildeFullEqual:QCe,NotTildeTilde:JCe,NotVerticalBar:ZCe,nparallel:ewe,npar:twe,nparsl:nwe,npart:owe,npolint:rwe,npr:iwe,nprcue:awe,nprec:swe,npreceq:lwe,npre:cwe,nrarrc:uwe,nrarr:dwe,nrArr:fwe,nrarrw:hwe,nrightarrow:pwe,nRightarrow:mwe,nrtri:gwe,nrtrie:vwe,nsc:bwe,nsccue:ywe,nsce:xwe,Nscr:Cwe,nscr:wwe,nshortmid:_we,nshortparallel:Swe,nsim:kwe,nsime:Pwe,nsimeq:Twe,nsmid:Awe,nspar:Rwe,nsqsube:Ewe,nsqsupe:$we,nsub:Iwe,nsubE:Owe,nsube:Mwe,nsubset:zwe,nsubseteq:Lwe,nsubseteqq:Fwe,nsucc:Dwe,nsucceq:Bwe,nsup:Nwe,nsupE:Hwe,nsupe:jwe,nsupset:Uwe,nsupseteq:Vwe,nsupseteqq:Wwe,ntgl:qwe,Ntilde:Kwe,ntilde:Gwe,ntlg:Xwe,ntriangleleft:Ywe,ntrianglelefteq:Qwe,ntriangleright:Jwe,ntrianglerighteq:Zwe,Nu:e_e,nu:t_e,num:n_e,numero:o_e,numsp:r_e,nvap:i_e,nvdash:a_e,nvDash:s_e,nVdash:l_e,nVDash:c_e,nvge:u_e,nvgt:d_e,nvHarr:f_e,nvinfin:h_e,nvlArr:p_e,nvle:m_e,nvlt:g_e,nvltrie:v_e,nvrArr:b_e,nvrtrie:y_e,nvsim:x_e,nwarhk:C_e,nwarr:w_e,nwArr:__e,nwarrow:S_e,nwnear:k_e,Oacute:P_e,oacute:T_e,oast:A_e,Ocirc:R_e,ocirc:E_e,ocir:$_e,Ocy:I_e,ocy:O_e,odash:M_e,Odblac:z_e,odblac:L_e,odiv:F_e,odot:D_e,odsold:B_e,OElig:N_e,oelig:H_e,ofcir:j_e,Ofr:U_e,ofr:V_e,ogon:W_e,Ograve:q_e,ograve:K_e,ogt:G_e,ohbar:X_e,ohm:Y_e,oint:Q_e,olarr:J_e,olcir:Z_e,olcross:eSe,oline:tSe,olt:nSe,Omacr:oSe,omacr:rSe,Omega:iSe,omega:aSe,Omicron:sSe,omicron:lSe,omid:cSe,ominus:uSe,Oopf:dSe,oopf:fSe,opar:hSe,OpenCurlyDoubleQuote:pSe,OpenCurlyQuote:mSe,operp:gSe,oplus:vSe,orarr:bSe,Or:ySe,or:xSe,ord:CSe,order:wSe,orderof:_Se,ordf:SSe,ordm:kSe,origof:PSe,oror:TSe,orslope:ASe,orv:RSe,oS:ESe,Oscr:$Se,oscr:ISe,Oslash:OSe,oslash:MSe,osol:zSe,Otilde:LSe,otilde:FSe,otimesas:DSe,Otimes:BSe,otimes:NSe,Ouml:HSe,ouml:jSe,ovbar:USe,OverBar:VSe,OverBrace:WSe,OverBracket:qSe,OverParenthesis:KSe,para:GSe,parallel:XSe,par:YSe,parsim:QSe,parsl:JSe,part:ZSe,PartialD:e2e,Pcy:t2e,pcy:n2e,percnt:o2e,period:r2e,permil:i2e,perp:a2e,pertenk:s2e,Pfr:l2e,pfr:c2e,Phi:u2e,phi:d2e,phiv:f2e,phmmat:h2e,phone:p2e,Pi:m2e,pi:g2e,pitchfork:v2e,piv:b2e,planck:y2e,planckh:x2e,plankv:C2e,plusacir:w2e,plusb:_2e,pluscir:S2e,plus:k2e,plusdo:P2e,plusdu:T2e,pluse:A2e,PlusMinus:R2e,plusmn:E2e,plussim:$2e,plustwo:I2e,pm:O2e,Poincareplane:M2e,pointint:z2e,popf:L2e,Popf:F2e,pound:D2e,prap:B2e,Pr:N2e,pr:H2e,prcue:j2e,precapprox:U2e,prec:V2e,preccurlyeq:W2e,Precedes:q2e,PrecedesEqual:K2e,PrecedesSlantEqual:G2e,PrecedesTilde:X2e,preceq:Y2e,precnapprox:Q2e,precneqq:J2e,precnsim:Z2e,pre:eke,prE:tke,precsim:nke,prime:oke,Prime:rke,primes:ike,prnap:ake,prnE:ske,prnsim:lke,prod:cke,Product:uke,profalar:dke,profline:fke,profsurf:hke,prop:pke,Proportional:mke,Proportion:gke,propto:vke,prsim:bke,prurel:yke,Pscr:xke,pscr:Cke,Psi:wke,psi:_ke,puncsp:Ske,Qfr:kke,qfr:Pke,qint:Tke,qopf:Ake,Qopf:Rke,qprime:Eke,Qscr:$ke,qscr:Ike,quaternions:Oke,quatint:Mke,quest:zke,questeq:Lke,quot:Fke,QUOT:Dke,rAarr:Bke,race:Nke,Racute:Hke,racute:jke,radic:Uke,raemptyv:Vke,rang:Wke,Rang:qke,rangd:Kke,range:Gke,rangle:Xke,raquo:Yke,rarrap:Qke,rarrb:Jke,rarrbfs:Zke,rarrc:e3e,rarr:t3e,Rarr:n3e,rArr:o3e,rarrfs:r3e,rarrhk:i3e,rarrlp:a3e,rarrpl:s3e,rarrsim:l3e,Rarrtl:c3e,rarrtl:u3e,rarrw:d3e,ratail:f3e,rAtail:h3e,ratio:p3e,rationals:m3e,rbarr:g3e,rBarr:v3e,RBarr:b3e,rbbrk:y3e,rbrace:x3e,rbrack:C3e,rbrke:w3e,rbrksld:_3e,rbrkslu:S3e,Rcaron:k3e,rcaron:P3e,Rcedil:T3e,rcedil:A3e,rceil:R3e,rcub:E3e,Rcy:$3e,rcy:I3e,rdca:O3e,rdldhar:M3e,rdquo:z3e,rdquor:L3e,rdsh:F3e,real:D3e,realine:B3e,realpart:N3e,reals:H3e,Re:j3e,rect:U3e,reg:V3e,REG:W3e,ReverseElement:q3e,ReverseEquilibrium:K3e,ReverseUpEquilibrium:G3e,rfisht:X3e,rfloor:Y3e,rfr:Q3e,Rfr:J3e,rHar:Z3e,rhard:ePe,rharu:tPe,rharul:nPe,Rho:oPe,rho:rPe,rhov:iPe,RightAngleBracket:aPe,RightArrowBar:sPe,rightarrow:lPe,RightArrow:cPe,Rightarrow:uPe,RightArrowLeftArrow:dPe,rightarrowtail:fPe,RightCeiling:hPe,RightDoubleBracket:pPe,RightDownTeeVector:mPe,RightDownVectorBar:gPe,RightDownVector:vPe,RightFloor:bPe,rightharpoondown:yPe,rightharpoonup:xPe,rightleftarrows:CPe,rightleftharpoons:wPe,rightrightarrows:_Pe,rightsquigarrow:SPe,RightTeeArrow:kPe,RightTee:PPe,RightTeeVector:TPe,rightthreetimes:APe,RightTriangleBar:RPe,RightTriangle:EPe,RightTriangleEqual:$Pe,RightUpDownVector:IPe,RightUpTeeVector:OPe,RightUpVectorBar:MPe,RightUpVector:zPe,RightVectorBar:LPe,RightVector:FPe,ring:DPe,risingdotseq:BPe,rlarr:NPe,rlhar:HPe,rlm:jPe,rmoustache:UPe,rmoust:VPe,rnmid:WPe,roang:qPe,roarr:KPe,robrk:GPe,ropar:XPe,ropf:YPe,Ropf:QPe,roplus:JPe,rotimes:ZPe,RoundImplies:eTe,rpar:tTe,rpargt:nTe,rppolint:oTe,rrarr:rTe,Rrightarrow:iTe,rsaquo:aTe,rscr:sTe,Rscr:lTe,rsh:cTe,Rsh:uTe,rsqb:dTe,rsquo:fTe,rsquor:hTe,rthree:pTe,rtimes:mTe,rtri:gTe,rtrie:vTe,rtrif:bTe,rtriltri:yTe,RuleDelayed:xTe,ruluhar:CTe,rx:wTe,Sacute:_Te,sacute:STe,sbquo:kTe,scap:PTe,Scaron:TTe,scaron:ATe,Sc:RTe,sc:ETe,sccue:$Te,sce:ITe,scE:OTe,Scedil:MTe,scedil:zTe,Scirc:LTe,scirc:FTe,scnap:DTe,scnE:BTe,scnsim:NTe,scpolint:HTe,scsim:jTe,Scy:UTe,scy:VTe,sdotb:WTe,sdot:qTe,sdote:KTe,searhk:GTe,searr:XTe,seArr:YTe,searrow:QTe,sect:JTe,semi:ZTe,seswar:eAe,setminus:tAe,setmn:nAe,sext:oAe,Sfr:rAe,sfr:iAe,sfrown:aAe,sharp:sAe,SHCHcy:lAe,shchcy:cAe,SHcy:uAe,shcy:dAe,ShortDownArrow:fAe,ShortLeftArrow:hAe,shortmid:pAe,shortparallel:mAe,ShortRightArrow:gAe,ShortUpArrow:vAe,shy:bAe,Sigma:yAe,sigma:xAe,sigmaf:CAe,sigmav:wAe,sim:_Ae,simdot:SAe,sime:kAe,simeq:PAe,simg:TAe,simgE:AAe,siml:RAe,simlE:EAe,simne:$Ae,simplus:IAe,simrarr:OAe,slarr:MAe,SmallCircle:zAe,smallsetminus:LAe,smashp:FAe,smeparsl:DAe,smid:BAe,smile:NAe,smt:HAe,smte:jAe,smtes:UAe,SOFTcy:VAe,softcy:WAe,solbar:qAe,solb:KAe,sol:GAe,Sopf:XAe,sopf:YAe,spades:QAe,spadesuit:JAe,spar:ZAe,sqcap:eRe,sqcaps:tRe,sqcup:nRe,sqcups:oRe,Sqrt:rRe,sqsub:iRe,sqsube:aRe,sqsubset:sRe,sqsubseteq:lRe,sqsup:cRe,sqsupe:uRe,sqsupset:dRe,sqsupseteq:fRe,square:hRe,Square:pRe,SquareIntersection:mRe,SquareSubset:gRe,SquareSubsetEqual:vRe,SquareSuperset:bRe,SquareSupersetEqual:yRe,SquareUnion:xRe,squarf:CRe,squ:wRe,squf:_Re,srarr:SRe,Sscr:kRe,sscr:PRe,ssetmn:TRe,ssmile:ARe,sstarf:RRe,Star:ERe,star:$Re,starf:IRe,straightepsilon:ORe,straightphi:MRe,strns:zRe,sub:LRe,Sub:FRe,subdot:DRe,subE:BRe,sube:NRe,subedot:HRe,submult:jRe,subnE:URe,subne:VRe,subplus:WRe,subrarr:qRe,subset:KRe,Subset:GRe,subseteq:XRe,subseteqq:YRe,SubsetEqual:QRe,subsetneq:JRe,subsetneqq:ZRe,subsim:eEe,subsub:tEe,subsup:nEe,succapprox:oEe,succ:rEe,succcurlyeq:iEe,Succeeds:aEe,SucceedsEqual:sEe,SucceedsSlantEqual:lEe,SucceedsTilde:cEe,succeq:uEe,succnapprox:dEe,succneqq:fEe,succnsim:hEe,succsim:pEe,SuchThat:mEe,sum:gEe,Sum:vEe,sung:bEe,sup1:yEe,sup2:xEe,sup3:CEe,sup:wEe,Sup:_Ee,supdot:SEe,supdsub:kEe,supE:PEe,supe:TEe,supedot:AEe,Superset:REe,SupersetEqual:EEe,suphsol:$Ee,suphsub:IEe,suplarr:OEe,supmult:MEe,supnE:zEe,supne:LEe,supplus:FEe,supset:DEe,Supset:BEe,supseteq:NEe,supseteqq:HEe,supsetneq:jEe,supsetneqq:UEe,supsim:VEe,supsub:WEe,supsup:qEe,swarhk:KEe,swarr:GEe,swArr:XEe,swarrow:YEe,swnwar:QEe,szlig:JEe,Tab:ZEe,target:e4e,Tau:t4e,tau:n4e,tbrk:o4e,Tcaron:r4e,tcaron:i4e,Tcedil:a4e,tcedil:s4e,Tcy:l4e,tcy:c4e,tdot:u4e,telrec:d4e,Tfr:f4e,tfr:h4e,there4:p4e,therefore:m4e,Therefore:g4e,Theta:v4e,theta:b4e,thetasym:y4e,thetav:x4e,thickapprox:C4e,thicksim:w4e,ThickSpace:_4e,ThinSpace:S4e,thinsp:k4e,thkap:P4e,thksim:T4e,THORN:A4e,thorn:R4e,tilde:E4e,Tilde:$4e,TildeEqual:I4e,TildeFullEqual:O4e,TildeTilde:M4e,timesbar:z4e,timesb:L4e,times:F4e,timesd:D4e,tint:B4e,toea:N4e,topbot:H4e,topcir:j4e,top:U4e,Topf:V4e,topf:W4e,topfork:q4e,tosa:K4e,tprime:G4e,trade:X4e,TRADE:Y4e,triangle:Q4e,triangledown:J4e,triangleleft:Z4e,trianglelefteq:e5e,triangleq:t5e,triangleright:n5e,trianglerighteq:o5e,tridot:r5e,trie:i5e,triminus:a5e,TripleDot:s5e,triplus:l5e,trisb:c5e,tritime:u5e,trpezium:d5e,Tscr:f5e,tscr:h5e,TScy:p5e,tscy:m5e,TSHcy:g5e,tshcy:v5e,Tstrok:b5e,tstrok:y5e,twixt:x5e,twoheadleftarrow:C5e,twoheadrightarrow:w5e,Uacute:_5e,uacute:S5e,uarr:k5e,Uarr:P5e,uArr:T5e,Uarrocir:A5e,Ubrcy:R5e,ubrcy:E5e,Ubreve:$5e,ubreve:I5e,Ucirc:O5e,ucirc:M5e,Ucy:z5e,ucy:L5e,udarr:F5e,Udblac:D5e,udblac:B5e,udhar:N5e,ufisht:H5e,Ufr:j5e,ufr:U5e,Ugrave:V5e,ugrave:W5e,uHar:q5e,uharl:K5e,uharr:G5e,uhblk:X5e,ulcorn:Y5e,ulcorner:Q5e,ulcrop:J5e,ultri:Z5e,Umacr:e$e,umacr:t$e,uml:n$e,UnderBar:o$e,UnderBrace:r$e,UnderBracket:i$e,UnderParenthesis:a$e,Union:s$e,UnionPlus:l$e,Uogon:c$e,uogon:u$e,Uopf:d$e,uopf:f$e,UpArrowBar:h$e,uparrow:p$e,UpArrow:m$e,Uparrow:g$e,UpArrowDownArrow:v$e,updownarrow:b$e,UpDownArrow:y$e,Updownarrow:x$e,UpEquilibrium:C$e,upharpoonleft:w$e,upharpoonright:_$e,uplus:S$e,UpperLeftArrow:k$e,UpperRightArrow:P$e,upsi:T$e,Upsi:A$e,upsih:R$e,Upsilon:E$e,upsilon:$$e,UpTeeArrow:I$e,UpTee:O$e,upuparrows:M$e,urcorn:z$e,urcorner:L$e,urcrop:F$e,Uring:D$e,uring:B$e,urtri:N$e,Uscr:H$e,uscr:j$e,utdot:U$e,Utilde:V$e,utilde:W$e,utri:q$e,utrif:K$e,uuarr:G$e,Uuml:X$e,uuml:Y$e,uwangle:Q$e,vangrt:J$e,varepsilon:Z$e,varkappa:eIe,varnothing:tIe,varphi:nIe,varpi:oIe,varpropto:rIe,varr:iIe,vArr:aIe,varrho:sIe,varsigma:lIe,varsubsetneq:cIe,varsubsetneqq:uIe,varsupsetneq:dIe,varsupsetneqq:fIe,vartheta:hIe,vartriangleleft:pIe,vartriangleright:mIe,vBar:gIe,Vbar:vIe,vBarv:bIe,Vcy:yIe,vcy:xIe,vdash:CIe,vDash:wIe,Vdash:_Ie,VDash:SIe,Vdashl:kIe,veebar:PIe,vee:TIe,Vee:AIe,veeeq:RIe,vellip:EIe,verbar:$Ie,Verbar:IIe,vert:OIe,Vert:MIe,VerticalBar:zIe,VerticalLine:LIe,VerticalSeparator:FIe,VerticalTilde:DIe,VeryThinSpace:BIe,Vfr:NIe,vfr:HIe,vltri:jIe,vnsub:UIe,vnsup:VIe,Vopf:WIe,vopf:qIe,vprop:KIe,vrtri:GIe,Vscr:XIe,vscr:YIe,vsubnE:QIe,vsubne:JIe,vsupnE:ZIe,vsupne:e8e,Vvdash:t8e,vzigzag:n8e,Wcirc:o8e,wcirc:r8e,wedbar:i8e,wedge:a8e,Wedge:s8e,wedgeq:l8e,weierp:c8e,Wfr:u8e,wfr:d8e,Wopf:f8e,wopf:h8e,wp:p8e,wr:m8e,wreath:g8e,Wscr:v8e,wscr:b8e,xcap:y8e,xcirc:x8e,xcup:C8e,xdtri:w8e,Xfr:_8e,xfr:S8e,xharr:k8e,xhArr:P8e,Xi:T8e,xi:A8e,xlarr:R8e,xlArr:E8e,xmap:$8e,xnis:I8e,xodot:O8e,Xopf:M8e,xopf:z8e,xoplus:L8e,xotime:F8e,xrarr:D8e,xrArr:B8e,Xscr:N8e,xscr:H8e,xsqcup:j8e,xuplus:U8e,xutri:V8e,xvee:W8e,xwedge:q8e,Yacute:K8e,yacute:G8e,YAcy:X8e,yacy:Y8e,Ycirc:Q8e,ycirc:J8e,Ycy:Z8e,ycy:eOe,yen:tOe,Yfr:nOe,yfr:oOe,YIcy:rOe,yicy:iOe,Yopf:aOe,yopf:sOe,Yscr:lOe,yscr:cOe,YUcy:uOe,yucy:dOe,yuml:fOe,Yuml:hOe,Zacute:pOe,zacute:mOe,Zcaron:gOe,zcaron:vOe,Zcy:bOe,zcy:yOe,Zdot:xOe,zdot:COe,zeetrf:wOe,ZeroWidthSpace:_Oe,Zeta:SOe,zeta:kOe,zfr:POe,Zfr:TOe,ZHcy:AOe,zhcy:ROe,zigrarr:EOe,zopf:$Oe,Zopf:IOe,Zscr:OOe,zscr:MOe,zwj:zOe,zwnj:LOe};var vk=FOe,Km=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,Qa={},A1={};function DOe(e){var t,n,o=A1[e];if(o)return o;for(o=A1[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<e.length;t++)o[e.charCodeAt(t)]=e[t];return o}function Yu(e,t,n){var o,r,i,a,s,l="";for(typeof t!="string"&&(n=t,t=Yu.defaultChars),typeof n>"u"&&(n=!0),s=DOe(t),o=0,r=e.length;o<r;o++){if(i=e.charCodeAt(o),n&&i===37&&o+2<r&&/^[0-9a-f]{2}$/i.test(e.slice(o+1,o+3))){l+=e.slice(o,o+3),o+=2;continue}if(i<128){l+=s[i];continue}if(i>=55296&&i<=57343){if(i>=55296&&i<=56319&&o+1<r&&(a=e.charCodeAt(o+1),a>=56320&&a<=57343)){l+=encodeURIComponent(e[o]+e[o+1]),o++;continue}l+="%EF%BF%BD";continue}l+=encodeURIComponent(e[o])}return l}Yu.defaultChars=";/?:@&=+$,-_.!~*'()#";Yu.componentChars="-_.!~*'()";var BOe=Yu,R1={};function NOe(e){var t,n,o=R1[e];if(o)return o;for(o=R1[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),o.push(n);for(t=0;t<e.length;t++)n=e.charCodeAt(t),o[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return o}function Qu(e,t){var n;return typeof t!="string"&&(t=Qu.defaultChars),n=NOe(t),e.replace(/(%[a-f0-9]{2})+/gi,function(o){var r,i,a,s,l,c,u,d="";for(r=0,i=o.length;r<i;r+=3){if(a=parseInt(o.slice(r+1,r+3),16),a<128){d+=n[a];continue}if((a&224)===192&&r+3<i&&(s=parseInt(o.slice(r+4,r+6),16),(s&192)===128)){u=a<<6&1984|s&63,u<128?d+="<22><>":d+=String.fromCharCode(u),r+=3;continue}if((a&240)===224&&r+6<i&&(s=parseInt(o.slice(r+4,r+6),16),l=parseInt(o.slice(r+7,r+9),16),(s&192)===128&&(l&192)===128)){u=a<<12&61440|s<<6&4032|l&63,u<2048||u>=55296&&u<=57343?d+="<22><><EFBFBD>":d+=String.fromCharCode(u),r+=6;continue}if((a&248)===240&&r+9<i&&(s=parseInt(o.slice(r+4,r+6),16),l=parseInt(o.slice(r+7,r+9),16),c=parseInt(o.slice(r+10,r+12),16),(s&192)===128&&(l&192)===128&&(c&192)===128)){u=a<<18&1835008|s<<12&258048|l<<6&4032|c&63,u<65536||u>1114111?d+="<22><><EFBFBD><EFBFBD>":(u-=65536,d+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),r+=9;continue}d+="<22>"}return d})}Qu.defaultChars=";/?:@&=+$,#";Qu.componentChars="";var HOe=Qu,jOe=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 qc(){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 UOe=/^([a-z0-9.+-]+:)/i,VOe=/:[0-9]*$/,WOe=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,qOe=["<",">",'"',"`"," ","\r",`
|
||
`," "],KOe=["{","}","|","\\","^","`"].concat(qOe),GOe=["'"].concat(KOe),E1=["%","/","?",";","#"].concat(GOe),$1=["/","?","#"],XOe=255,I1=/^[+a-z0-9A-Z_-]{0,63}$/,YOe=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,O1={javascript:!0,"javascript:":!0},M1={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function QOe(e,t){if(e&&e instanceof qc)return e;var n=new qc;return n.parse(e,t),n}qc.prototype.parse=function(e,t){var n,o,r,i,a,s=e;if(s=s.trim(),!t&&e.split("#").length===1){var l=WOe.exec(s);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=UOe.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&&O1[c])&&(s=s.substr(2),this.slashes=!0)),!O1[c]&&(a||c&&!M1[c])){var u=-1;for(n=0;n<$1.length;n++)i=s.indexOf($1[n]),i!==-1&&(u===-1||i<u)&&(u=i);var d,f;for(u===-1?f=s.lastIndexOf("@"):f=s.lastIndexOf("@",u),f!==-1&&(d=s.slice(0,f),s=s.slice(f+1),this.auth=d),u=-1,n=0;n<E1.length;n++)i=s.indexOf(E1[n]),i!==-1&&(u===-1||i<u)&&(u=i);u===-1&&(u=s.length),s[u-1]===":"&&u--;var h=s.slice(0,u);s=s.slice(u),this.parseHost(h),this.hostname=this.hostname||"";var p=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!p){var g=this.hostname.split(/\./);for(n=0,o=g.length;n<o;n++){var m=g[n];if(m&&!m.match(I1)){for(var b="",w=0,C=m.length;w<C;w++)m.charCodeAt(w)>127?b+="x":b+=m[w];if(!b.match(I1)){var _=g.slice(0,n),S=g.slice(n+1),y=m.match(YOe);y&&(_.push(y[1]),S.unshift(y[2])),S.length&&(s=S.join(".")+s),this.hostname=_.join(".");break}}}}this.hostname.length>XOe&&(this.hostname=""),p&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var x=s.indexOf("#");x!==-1&&(this.hash=s.substr(x),s=s.slice(0,x));var k=s.indexOf("?");return k!==-1&&(this.search=s.substr(k),s=s.slice(0,k)),s&&(this.pathname=s),M1[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};qc.prototype.parseHost=function(e){var t=VOe.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 JOe=QOe;Qa.encode=BOe;Qa.decode=HOe;Qa.format=jOe;Qa.parse=JOe;var hi={},mf,z1;function bk(){return z1||(z1=1,mf=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),mf}var gf,L1;function yk(){return L1||(L1=1,gf=/[\0-\x1F\x7F-\x9F]/),gf}var vf,F1;function ZOe(){return F1||(F1=1,vf=/[\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]/),vf}var bf,D1;function xk(){return D1||(D1=1,bf=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),bf}var B1;function eMe(){return B1||(B1=1,hi.Any=bk(),hi.Cc=yk(),hi.Cf=ZOe(),hi.P=Km,hi.Z=xk()),hi}(function(e){function t(L){return Object.prototype.toString.call(L)}function n(L){return t(L)==="[object String]"}var o=Object.prototype.hasOwnProperty;function r(L,D){return o.call(L,D)}function i(L){var D=Array.prototype.slice.call(arguments,1);return D.forEach(function(F){if(F){if(typeof F!="object")throw new TypeError(F+"must be object");Object.keys(F).forEach(function(K){L[K]=F[K]})}}),L}function a(L,D,F){return[].concat(L.slice(0,D),F,L.slice(D+1))}function s(L){return!(L>=55296&&L<=57343||L>=64976&&L<=65007||(L&65535)===65535||(L&65535)===65534||L>=0&&L<=8||L===11||L>=14&&L<=31||L>=127&&L<=159||L>1114111)}function l(L){if(L>65535){L-=65536;var D=55296+(L>>10),F=56320+(L&1023);return String.fromCharCode(D,F)}return String.fromCharCode(L)}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,h=vk;function p(L,D){var F;return r(h,D)?h[D]:D.charCodeAt(0)===35&&f.test(D)&&(F=D[1].toLowerCase()==="x"?parseInt(D.slice(2),16):parseInt(D.slice(1),10),s(F))?l(F):L}function g(L){return L.indexOf("\\")<0?L:L.replace(c,"$1")}function m(L){return L.indexOf("\\")<0&&L.indexOf("&")<0?L:L.replace(d,function(D,F,K){return F||p(D,K)})}var b=/[&<>"]/,w=/[&<>"]/g,C={"&":"&","<":"<",">":">",'"':"""};function _(L){return C[L]}function S(L){return b.test(L)?L.replace(w,_):L}var y=/[.?*+^$[\]\\(){}|-]/g;function x(L){return L.replace(y,"\\$&")}function k(L){switch(L){case 9:case 32:return!0}return!1}function P(L){if(L>=8192&&L<=8202)return!0;switch(L){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 T=Km;function E(L){return T.test(L)}function R(L){switch(L){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(L){return L=L.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(L=L.replace(/ẞ/g,"ß")),L.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Qa,e.lib.ucmicro=eMe(),e.assign=i,e.isString=n,e.has=r,e.unescapeMd=g,e.unescapeAll=m,e.isValidEntityCode=s,e.fromCodePoint=l,e.escapeHtml=S,e.arrayReplaceAt=a,e.isSpace=k,e.isWhiteSpace=P,e.isMdAsciiPunct=R,e.isPunctChar=E,e.escapeRE=x,e.normalizeReference=q})(Dt);var Ju={},tMe=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.pos<c;){if(a=t.src.charCodeAt(t.pos),a===93&&(r--,r===0)){i=!0;break}if(s=t.pos,t.md.inline.skipToken(t),a===91){if(s===t.pos-1)r++;else if(o)return t.pos=u,-1}}return i&&(l=t.pos),t.pos=u,l},N1=Dt.unescapeAll,nMe=function(t,n,o){var r,i,a=n,s={ok:!1,pos:0,lines:0,str:""};if(t.charCodeAt(a)===60){for(a++;a<o;){if(r=t.charCodeAt(a),r===10||r===60)return s;if(r===62)return s.pos=a+1,s.str=N1(t.slice(n+1,a)),s.ok=!0,s;if(r===92&&a+1<o){a+=2;continue}a++}return s}for(i=0;a<o&&(r=t.charCodeAt(a),!(r===32||r<32||r===127));){if(r===92&&a+1<o){if(t.charCodeAt(a+1)===32)break;a+=2;continue}if(r===40&&(i++,i>32))return s;if(r===41){if(i===0)break;i--}a++}return n===a||i!==0||(s.str=N1(t.slice(n,a)),s.pos=a,s.ok=!0),s},oMe=Dt.unescapeAll,rMe=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<o;){if(r=t.charCodeAt(s),r===i)return l.pos=s+1,l.lines=a,l.str=oMe(t.slice(n+1,s)),l.ok=!0,l;if(r===40&&i===41)return l;r===10?a++:r===92&&s+1<o&&(s++,t.charCodeAt(s)===10&&a++),s++}return l};Ju.parseLinkLabel=tMe;Ju.parseLinkDestination=nMe;Ju.parseLinkTitle=rMe;var iMe=Dt.assign,aMe=Dt.unescapeAll,Fi=Dt.escapeHtml,Yo={};Yo.code_inline=function(e,t,n,o,r){var i=e[t];return"<code"+r.renderAttrs(i)+">"+Fi(i.content)+"</code>"};Yo.code_block=function(e,t,n,o,r){var i=e[t];return"<pre"+r.renderAttrs(i)+"><code>"+Fi(e[t].content)+`</code></pre>
|
||
`};Yo.fence=function(e,t,n,o,r){var i=e[t],a=i.info?aMe(i.info).trim():"",s="",l="",c,u,d,f,h;return a&&(d=a.split(/(\s+)/g),s=d[0],l=d.slice(2).join("")),n.highlight?c=n.highlight(i.content,s,l)||Fi(i.content):c=Fi(i.content),c.indexOf("<pre")===0?c+`
|
||
`:a?(u=i.attrIndex("class"),f=i.attrs?i.attrs.slice():[],u<0?f.push(["class",n.langPrefix+s]):(f[u]=f[u].slice(),f[u][1]+=" "+n.langPrefix+s),h={attrs:f},"<pre><code"+r.renderAttrs(h)+">"+c+`</code></pre>
|
||
`):"<pre><code"+r.renderAttrs(i)+">"+c+`</code></pre>
|
||
`};Yo.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)};Yo.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`};Yo.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
||
`:`<br>
|
||
`:`
|
||
`};Yo.text=function(e,t){return Fi(e[t].content)};Yo.html_block=function(e,t){return e[t].content};Yo.html_inline=function(e,t){return e[t].content};function Ja(){this.rules=iMe({},Yo)}Ja.prototype.renderAttrs=function(t){var n,o,r;if(!t.attrs)return"";for(r="",n=0,o=t.attrs.length;n<o;n++)r+=" "+Fi(t.attrs[n][0])+'="'+Fi(t.attrs[n][1])+'"';return r};Ja.prototype.renderToken=function(t,n,o){var r,i="",a=!1,s=t[n];return s.hidden?"":(s.block&&s.nesting!==-1&&n&&t[n-1].hidden&&(i+=`
|
||
`),i+=(s.nesting===-1?"</":"<")+s.tag,i+=this.renderAttrs(s),s.nesting===0&&o.xhtmlOut&&(i+=" /"),s.block&&(a=!0,s.nesting===1&&n+1<t.length&&(r=t[n+1],(r.type==="inline"||r.hidden||r.nesting===-1&&r.tag===s.tag)&&(a=!1))),i+=a?`>
|
||
`:">",i)};Ja.prototype.renderInline=function(e,t,n){for(var o,r="",i=this.rules,a=0,s=e.length;a<s;a++)o=e[a].type,typeof i[o]<"u"?r+=i[o](e,a,t,n,this):r+=this.renderToken(e,a,t);return r};Ja.prototype.renderInlineAsText=function(e,t,n){for(var o="",r=0,i=e.length;r<i;r++)e[r].type==="text"?o+=e[r].content:e[r].type==="image"?o+=this.renderInlineAsText(e[r].children,t,n):e[r].type==="softbreak"&&(o+=`
|
||
`);return o};Ja.prototype.render=function(e,t,n){var o,r,i,a="",s=this.rules;for(o=0,r=e.length;o<r;o++)i=e[o].type,i==="inline"?a+=this.renderInline(e[o].children,t,n):typeof s[i]<"u"?a+=s[i](e,o,t,n,this):a+=this.renderToken(e,o,t,n);return a};var sMe=Ja;function zo(){this.__rules__=[],this.__cache__=null}zo.prototype.__find__=function(e){for(var t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1};zo.prototype.__compile__=function(){var e=this,t=[""];e.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(o){t.indexOf(o)<0&&t.push(o)})}),e.__cache__={},t.forEach(function(n){e.__cache__[n]=[],e.__rules__.forEach(function(o){o.enabled&&(n&&o.alt.indexOf(n)<0||e.__cache__[n].push(o.fn))})})};zo.prototype.at=function(e,t,n){var o=this.__find__(e),r=n||{};if(o===-1)throw new Error("Parser rule not found: "+e);this.__rules__[o].fn=t,this.__rules__[o].alt=r.alt||[],this.__cache__=null};zo.prototype.before=function(e,t,n,o){var r=this.__find__(e),i=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};zo.prototype.after=function(e,t,n,o){var r=this.__find__(e),i=o||{};if(r===-1)throw new Error("Parser rule not found: "+e);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null};zo.prototype.push=function(e,t,n){var o=n||{};this.__rules__.push({name:e,enabled:!0,fn:t,alt:o.alt||[]}),this.__cache__=null};zo.prototype.enable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(o){var r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!0,n.push(o)},this),this.__cache__=null,n};zo.prototype.enableOnly=function(e,t){Array.isArray(e)||(e=[e]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(e,t)};zo.prototype.disable=function(e,t){Array.isArray(e)||(e=[e]);var n=[];return e.forEach(function(o){var r=this.__find__(o);if(r<0){if(t)return;throw new Error("Rules manager: invalid rule name "+o)}this.__rules__[r].enabled=!1,n.push(o)},this),this.__cache__=null,n};zo.prototype.getRules=function(e){return this.__cache__===null&&this.__compile__(),this.__cache__[e]||[]};var Gm=zo,lMe=/\r\n?|\n/g,cMe=/\0/g,uMe=function(t){var n;n=t.src.replace(lMe,`
|
||
`),n=n.replace(cMe,"<22>"),t.src=n},dMe=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)},fMe=function(t){var n=t.tokens,o,r,i;for(r=0,i=n.length;r<i;r++)o=n[r],o.type==="inline"&&t.md.inline.parse(o.content,t.md,t.env,o.children)},hMe=Dt.arrayReplaceAt;function pMe(e){return/^<a[>\s]/i.test(e)}function mMe(e){return/^<\/a\s*>/i.test(e)}var gMe=function(t){var n,o,r,i,a,s,l,c,u,d,f,h,p,g,m,b,w=t.tokens,C;if(t.md.options.linkify){for(o=0,r=w.length;o<r;o++)if(!(w[o].type!=="inline"||!t.md.linkify.pretest(w[o].content)))for(i=w[o].children,p=0,n=i.length-1;n>=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"&&(pMe(s.content)&&p>0&&p--,mMe(s.content)&&p++),!(p>0)&&s.type==="text"&&t.md.linkify.test(s.content)){for(u=s.content,C=t.md.linkify.match(u),l=[],h=s.level,f=0,C.length>0&&C[0].index===0&&n>0&&i[n-1].type==="text_special"&&(C=C.slice(1)),c=0;c<C.length;c++)g=C[c].url,m=t.md.normalizeLink(g),t.md.validateLink(m)&&(b=C[c].text,C[c].schema?C[c].schema==="mailto:"&&!/^mailto:/i.test(b)?b=t.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):b=t.md.normalizeLinkText(b):b=t.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),d=C[c].index,d>f&&(a=new t.Token("text","",0),a.content=u.slice(f,d),a.level=h,l.push(a)),a=new t.Token("link_open","a",1),a.attrs=[["href",m]],a.level=h++,a.markup="linkify",a.info="auto",l.push(a),a=new t.Token("text","",0),a.content=b,a.level=h,l.push(a),a=new t.Token("link_close","a",-1),a.level=--h,a.markup="linkify",a.info="auto",l.push(a),f=C[c].lastIndex);f<u.length&&(a=new t.Token("text","",0),a.content=u.slice(f),a.level=h,l.push(a)),w[o].children=i=hMe(i,n,l)}}}},Ck=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,vMe=/\((c|tm|r)\)/i,bMe=/\((c|tm|r)\)/ig,yMe={c:"©",r:"®",tm:"™"};function xMe(e,t){return yMe[t.toLowerCase()]}function CMe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&(n.content=n.content.replace(bMe,xMe)),n.type==="link_open"&&n.info==="auto"&&o--,n.type==="link_close"&&n.info==="auto"&&o++}function wMe(e){var t,n,o=0;for(t=e.length-1;t>=0;t--)n=e[t],n.type==="text"&&!o&&Ck.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 _Me=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type==="inline"&&(vMe.test(t.tokens[n].content)&&CMe(t.tokens[n].children),Ck.test(t.tokens[n].content)&&wMe(t.tokens[n].children))},H1=Dt.isWhiteSpace,j1=Dt.isPunctChar,U1=Dt.isMdAsciiPunct,SMe=/['"]/,V1=/['"]/g,W1="’";function tc(e,t,n){return e.slice(0,t)+n+e.slice(t+1)}function kMe(e,t){var n,o,r,i,a,s,l,c,u,d,f,h,p,g,m,b,w,C,_,S,y;for(_=[],n=0;n<e.length;n++){for(o=e[n],l=e[n].level,w=_.length-1;w>=0&&!(_[w].level<=l);w--);if(_.length=w+1,o.type==="text"){r=o.content,a=0,s=r.length;e:for(;a<s&&(V1.lastIndex=a,i=V1.exec(r),!!i);){if(m=b=!0,a=i.index+1,C=i[0]==="'",u=32,i.index-1>=0)u=r.charCodeAt(i.index-1);else for(w=n-1;w>=0&&!(e[w].type==="softbreak"||e[w].type==="hardbreak");w--)if(e[w].content){u=e[w].content.charCodeAt(e[w].content.length-1);break}if(d=32,a<s)d=r.charCodeAt(a);else for(w=n+1;w<e.length&&!(e[w].type==="softbreak"||e[w].type==="hardbreak");w++)if(e[w].content){d=e[w].content.charCodeAt(0);break}if(f=U1(u)||j1(String.fromCharCode(u)),h=U1(d)||j1(String.fromCharCode(d)),p=H1(u),g=H1(d),g?m=!1:h&&(p||f||(m=!1)),p?b=!1:f&&(g||h||(b=!1)),d===34&&i[0]==='"'&&u>=48&&u<=57&&(b=m=!1),m&&b&&(m=f,b=h),!m&&!b){C&&(o.content=tc(o.content,i.index,W1));continue}if(b){for(w=_.length-1;w>=0&&(c=_[w],!(_[w].level<l));w--)if(c.single===C&&_[w].level===l){c=_[w],C?(S=t.md.options.quotes[2],y=t.md.options.quotes[3]):(S=t.md.options.quotes[0],y=t.md.options.quotes[1]),o.content=tc(o.content,i.index,y),e[c.token].content=tc(e[c.token].content,c.pos,S),a+=y.length-1,c.token===n&&(a+=S.length-1),r=o.content,s=r.length,_.length=w;continue e}}m?_.push({token:n,pos:i.index,single:C,level:l}):b&&C&&(o.content=tc(o.content,i.index,W1))}}}}var PMe=function(t){var n;if(t.md.options.typographer)for(n=t.tokens.length-1;n>=0;n--)t.tokens[n].type!=="inline"||!SMe.test(t.tokens[n].content)||kMe(t.tokens[n].children,t)},TMe=function(t){var n,o,r,i,a,s,l=t.tokens;for(n=0,o=l.length;n<o;n++)if(l[n].type==="inline"){for(r=l[n].children,a=r.length,i=0;i<a;i++)r[i].type==="text_special"&&(r[i].type="text");for(i=s=0;i<a;i++)r[i].type==="text"&&i+1<a&&r[i+1].type==="text"?r[i+1].content=r[i].content+r[i+1].content:(i!==s&&(r[s]=r[i]),s++);i!==s&&(r.length=s)}};function Za(e,t,n){this.type=e,this.tag=t,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}Za.prototype.attrIndex=function(t){var n,o,r;if(!this.attrs)return-1;for(n=this.attrs,o=0,r=n.length;o<r;o++)if(n[o][0]===t)return o;return-1};Za.prototype.attrPush=function(t){this.attrs?this.attrs.push(t):this.attrs=[t]};Za.prototype.attrSet=function(t,n){var o=this.attrIndex(t),r=[t,n];o<0?this.attrPush(r):this.attrs[o]=r};Za.prototype.attrGet=function(t){var n=this.attrIndex(t),o=null;return n>=0&&(o=this.attrs[n][1]),o};Za.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 Xm=Za,AMe=Xm;function wk(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}wk.prototype.Token=AMe;var RMe=wk,EMe=Gm,yf=[["normalize",uMe],["block",dMe],["inline",fMe],["linkify",gMe],["replacements",_Me],["smartquotes",PMe],["text_join",TMe]];function Ym(){this.ruler=new EMe;for(var e=0;e<yf.length;e++)this.ruler.push(yf[e][0],yf[e][1])}Ym.prototype.process=function(e){var t,n,o;for(o=this.ruler.getRules(""),t=0,n=o.length;t<n;t++)o[t](e)};Ym.prototype.State=RMe;var $Me=Ym,xf=Dt.isSpace;function Cf(e,t){var n=e.bMarks[t]+e.tShift[t],o=e.eMarks[t];return e.src.slice(n,o)}function q1(e){var t=[],n=0,o=e.length,r,i=!1,a=0,s="";for(r=e.charCodeAt(n);n<o;)r===124&&(i?(s+=e.substring(a,n-1),a=n):(t.push(s+e.substring(a,n)),s="",a=n+1)),i=r===92,n++,r=e.charCodeAt(n);return t.push(s+e.substring(a)),t}var IMe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,w,C,_,S,y;if(n+2>o||(u=n+1,t.sCount[u]<t.blkIndent)||t.sCount[u]-t.blkIndent>=4||(s=t.bMarks[u]+t.tShift[u],s>=t.eMarks[u])||(S=t.src.charCodeAt(s++),S!==124&&S!==45&&S!==58)||s>=t.eMarks[u]||(y=t.src.charCodeAt(s++),y!==124&&y!==45&&y!==58&&!xf(y))||S===45&&xf(y))return!1;for(;s<t.eMarks[u];){if(i=t.src.charCodeAt(s),i!==124&&i!==45&&i!==58&&!xf(i))return!1;s++}for(a=Cf(t,n+1),d=a.split("|"),p=[],l=0;l<d.length;l++){if(g=d[l].trim(),!g){if(l===0||l===d.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;g.charCodeAt(g.length-1)===58?p.push(g.charCodeAt(0)===58?"center":"right"):g.charCodeAt(0)===58?p.push("left"):p.push("")}if(a=Cf(t,n).trim(),a.indexOf("|")===-1||t.sCount[n]-t.blkIndent>=4||(d=q1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),f=d.length,f===0||f!==p.length))return!1;if(r)return!0;for(w=t.parentType,t.parentType="table",_=t.md.block.ruler.getRules("blockquote"),h=t.push("table_open","table",1),h.map=m=[n,0],h=t.push("thead_open","thead",1),h.map=[n,n+1],h=t.push("tr_open","tr",1),h.map=[n,n+1],l=0;l<d.length;l++)h=t.push("th_open","th",1),p[l]&&(h.attrs=[["style","text-align:"+p[l]]]),h=t.push("inline","",0),h.content=d[l].trim(),h.children=[],h=t.push("th_close","th",-1);for(h=t.push("tr_close","tr",-1),h=t.push("thead_close","thead",-1),u=n+2;u<o&&!(t.sCount[u]<t.blkIndent);u++){for(C=!1,l=0,c=_.length;l<c;l++)if(_[l](t,u,o,!0)){C=!0;break}if(C||(a=Cf(t,u).trim(),!a)||t.sCount[u]-t.blkIndent>=4)break;for(d=q1(a),d.length&&d[0]===""&&d.shift(),d.length&&d[d.length-1]===""&&d.pop(),u===n+2&&(h=t.push("tbody_open","tbody",1),h.map=b=[n+2,0]),h=t.push("tr_open","tr",1),h.map=[u,u+1],l=0;l<f;l++)h=t.push("td_open","td",1),p[l]&&(h.attrs=[["style","text-align:"+p[l]]]),h=t.push("inline","",0),h.content=d[l]?d[l].trim():"",h.children=[],h=t.push("td_close","td",-1);h=t.push("tr_close","tr",-1)}return b&&(h=t.push("tbody_close","tbody",-1),b[1]=u),h=t.push("table_close","table",-1),m[1]=u,t.parentType=w,t.line=u,!0},OMe=function(t,n,o){var r,i,a;if(t.sCount[n]-t.blkIndent<4)return!1;for(i=r=n+1;r<o;){if(t.isEmpty(r)){r++;continue}if(t.sCount[r]-t.blkIndent>=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},MMe=function(t,n,o,r){var i,a,s,l,c,u,d,f=!1,h=t.bMarks[n]+t.tShift[n],p=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||h+3>p||(i=t.src.charCodeAt(h),i!==126&&i!==96)||(c=h,h=t.skipChars(h,i),a=h-c,a<3)||(d=t.src.slice(c,h),s=t.src.slice(h,p),i===96&&s.indexOf(String.fromCharCode(i))>=0))return!1;if(r)return!0;for(l=n;l++,!(l>=o||(h=c=t.bMarks[l]+t.tShift[l],p=t.eMarks[l],h<p&&t.sCount[l]<t.blkIndent));)if(t.src.charCodeAt(h)===i&&!(t.sCount[l]-t.blkIndent>=4)&&(h=t.skipChars(h,i),!(h-c<a)&&(h=t.skipSpaces(h),!(h<p)))){f=!0;break}return a=t.sCount[n],t.line=l+(f?1:0),u=t.push("fence","code",0),u.info=s,u.content=t.getLines(n+1,l,a,!0),u.markup=d,u.map=[n,t.line],!0},zMe=Dt.isSpace,LMe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,w,C,_,S,y,x,k,P=t.lineMax,T=t.bMarks[n]+t.tShift[n],E=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(T)!==62)return!1;if(r)return!0;for(p=[],g=[],w=[],C=[],y=t.md.block.ruler.getRules("blockquote"),b=t.parentType,t.parentType="blockquote",f=n;f<o&&(k=t.sCount[f]<t.blkIndent,T=t.bMarks[f]+t.tShift[f],E=t.eMarks[f],!(T>=E));f++){if(t.src.charCodeAt(T++)===62&&!k){for(l=t.sCount[f]+1,t.src.charCodeAt(T)===32?(T++,l++,i=!1,_=!0):t.src.charCodeAt(T)===9?(_=!0,(t.bsCount[f]+l)%4===3?(T++,l++,i=!1):i=!0):_=!1,h=l,p.push(t.bMarks[f]),t.bMarks[f]=T;T<E&&(a=t.src.charCodeAt(T),zMe(a));){a===9?h+=4-(h+t.bsCount[f]+(i?1:0))%4:h++;T++}u=T>=E,g.push(t.bsCount[f]),t.bsCount[f]=t.sCount[f]+1+(_?1:0),w.push(t.sCount[f]),t.sCount[f]=h-l,C.push(t.tShift[f]),t.tShift[f]=T-t.bMarks[f];continue}if(u)break;for(S=!1,s=0,c=y.length;s<c;s++)if(y[s](t,f,o,!0)){S=!0;break}if(S){t.lineMax=f,t.blkIndent!==0&&(p.push(t.bMarks[f]),g.push(t.bsCount[f]),C.push(t.tShift[f]),w.push(t.sCount[f]),t.sCount[f]-=t.blkIndent);break}p.push(t.bMarks[f]),g.push(t.bsCount[f]),C.push(t.tShift[f]),w.push(t.sCount[f]),t.sCount[f]=-1}for(m=t.blkIndent,t.blkIndent=0,x=t.push("blockquote_open","blockquote",1),x.markup=">",x.map=d=[n,0],t.md.block.tokenize(t,n,f),x=t.push("blockquote_close","blockquote",-1),x.markup=">",t.lineMax=P,t.parentType=b,d[1]=t.line,s=0;s<C.length;s++)t.bMarks[s+n]=p[s],t.tShift[s+n]=C[s],t.sCount[s+n]=w[s],t.bsCount[s+n]=g[s];return t.blkIndent=m,!0},FMe=Dt.isSpace,DMe=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||(i=t.src.charCodeAt(c++),i!==42&&i!==45&&i!==95))return!1;for(a=1;c<u;){if(s=t.src.charCodeAt(c++),s!==i&&!FMe(s))return!1;s===i&&a++}return a<3?!1:(r||(t.line=n+1,l=t.push("hr","hr",0),l.map=[n,t.line],l.markup=Array(a+1).join(String.fromCharCode(i))),!0)},_k=Dt.isSpace;function K1(e,t){var n,o,r,i;return o=e.bMarks[t]+e.tShift[t],r=e.eMarks[t],n=e.src.charCodeAt(o++),n!==42&&n!==45&&n!==43||o<r&&(i=e.src.charCodeAt(o),!_k(i))?-1:o}function G1(e,t){var n,o=e.bMarks[t]+e.tShift[t],r=o,i=e.eMarks[t];if(r+1>=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<i&&(n=e.src.charCodeAt(r),!_k(n))?-1:r}function BMe(e,t){var n,o,r=e.level+2;for(n=t+2,o=e.tokens.length-2;n<o;n++)e.tokens[n].level===r&&e.tokens[n].type==="paragraph_open"&&(e.tokens[n+2].hidden=!0,e.tokens[n].hidden=!0,n+=2)}var NMe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,w,C,_,S,y,x,k,P,T,E,R,q,L,D,F=n,K=!1,V=!0;if(t.sCount[F]-t.blkIndent>=4||t.listIndent>=0&&t.sCount[F]-t.listIndent>=4&&t.sCount[F]<t.blkIndent)return!1;if(r&&t.parentType==="paragraph"&&t.sCount[F]>=t.blkIndent&&(K=!0),(T=G1(t,F))>=0){if(d=!0,R=t.bMarks[F]+t.tShift[F],b=Number(t.src.slice(R,T-1)),K&&b!==1)return!1}else if((T=K1(t,F))>=0)d=!1;else return!1;if(K&&t.skipSpaces(T)>=t.eMarks[F])return!1;if(r)return!0;for(m=t.src.charCodeAt(T-1),g=t.tokens.length,d?(D=t.push("ordered_list_open","ol",1),b!==1&&(D.attrs=[["start",b]])):D=t.push("bullet_list_open","ul",1),D.map=p=[F,0],D.markup=String.fromCharCode(m),E=!1,L=t.md.block.ruler.getRules("list"),S=t.parentType,t.parentType="list";F<o;){for(P=T,w=t.eMarks[F],u=C=t.sCount[F]+T-(t.bMarks[F]+t.tShift[F]);P<w;){if(i=t.src.charCodeAt(P),i===9)C+=4-(C+t.bsCount[F])%4;else if(i===32)C++;else break;P++}if(a=P,a>=w?c=1:c=C-u,c>4&&(c=1),l=u+c,D=t.push("list_item_open","li",1),D.markup=String.fromCharCode(m),D.map=f=[F,0],d&&(D.info=t.src.slice(R,T-1)),k=t.tight,x=t.tShift[F],y=t.sCount[F],_=t.listIndent,t.listIndent=t.blkIndent,t.blkIndent=l,t.tight=!0,t.tShift[F]=a-t.bMarks[F],t.sCount[F]=C,a>=w&&t.isEmpty(F+1)?t.line=Math.min(t.line+2,o):t.md.block.tokenize(t,F,o,!0),(!t.tight||E)&&(V=!1),E=t.line-F>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=_,t.tShift[F]=x,t.sCount[F]=y,t.tight=k,D=t.push("list_item_close","li",-1),D.markup=String.fromCharCode(m),F=t.line,f[1]=F,F>=o||t.sCount[F]<t.blkIndent||t.sCount[F]-t.blkIndent>=4)break;for(q=!1,s=0,h=L.length;s<h;s++)if(L[s](t,F,o,!0)){q=!0;break}if(q)break;if(d){if(T=G1(t,F),T<0)break;R=t.bMarks[F]+t.tShift[F]}else if(T=K1(t,F),T<0)break;if(m!==t.src.charCodeAt(T-1))break}return d?D=t.push("ordered_list_close","ol",-1):D=t.push("bullet_list_close","ul",-1),D.markup=String.fromCharCode(m),p[1]=F,t.line=F,t.parentType=S,V&&BMe(t,g),!0},HMe=Dt.normalizeReference,nc=Dt.isSpace,jMe=function(t,n,o,r){var i,a,s,l,c,u,d,f,h,p,g,m,b,w,C,_,S=0,y=t.bMarks[n]+t.tShift[n],x=t.eMarks[n],k=n+1;if(t.sCount[n]-t.blkIndent>=4||t.src.charCodeAt(y)!==91)return!1;for(;++y<x;)if(t.src.charCodeAt(y)===93&&t.src.charCodeAt(y-1)!==92){if(y+1===x||t.src.charCodeAt(y+1)!==58)return!1;break}for(l=t.lineMax,C=t.md.block.ruler.getRules("reference"),p=t.parentType,t.parentType="reference";k<l&&!t.isEmpty(k);k++)if(!(t.sCount[k]-t.blkIndent>3)&&!(t.sCount[k]<0)){for(w=!1,u=0,d=C.length;u<d;u++)if(C[u](t,k,l,!0)){w=!0;break}if(w)break}for(b=t.getLines(n,k,t.blkIndent,!1).trim(),x=b.length,y=1;y<x;y++){if(i=b.charCodeAt(y),i===91)return!1;if(i===93){h=y;break}else i===10?S++:i===92&&(y++,y<x&&b.charCodeAt(y)===10&&S++)}if(h<0||b.charCodeAt(h+1)!==58)return!1;for(y=h+2;y<x;y++)if(i=b.charCodeAt(y),i===10)S++;else if(!nc(i))break;if(g=t.md.helpers.parseLinkDestination(b,y,x),!g.ok||(c=t.md.normalizeLink(g.str),!t.md.validateLink(c)))return!1;for(y=g.pos,S+=g.lines,a=y,s=S,m=y;y<x;y++)if(i=b.charCodeAt(y),i===10)S++;else if(!nc(i))break;for(g=t.md.helpers.parseLinkTitle(b,y,x),y<x&&m!==y&&g.ok?(_=g.str,y=g.pos,S+=g.lines):(_="",y=a,S=s);y<x&&(i=b.charCodeAt(y),!!nc(i));)y++;if(y<x&&b.charCodeAt(y)!==10&&_)for(_="",y=a,S=s;y<x&&(i=b.charCodeAt(y),!!nc(i));)y++;return y<x&&b.charCodeAt(y)!==10||(f=HMe(b.slice(1,h)),!f)?!1:(r||(typeof t.env.references>"u"&&(t.env.references={}),typeof t.env.references[f]>"u"&&(t.env.references[f]={title:_,href:c}),t.parentType=p,t.line=n+S+1),!0)},UMe=["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"],Zu={},VMe="[a-zA-Z_:][a-zA-Z0-9:._-]*",WMe="[^\"'=<>`\\x00-\\x20]+",qMe="'[^']*'",KMe='"[^"]*"',GMe="(?:"+WMe+"|"+qMe+"|"+KMe+")",XMe="(?:\\s+"+VMe+"(?:\\s*=\\s*"+GMe+")?)",Sk="<[A-Za-z][A-Za-z0-9\\-]*"+XMe+"*\\s*\\/?>",kk="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",YMe="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",QMe="<[?][\\s\\S]*?[?]>",JMe="<![A-Z]+\\s+[^>]*>",ZMe="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",e6e=new RegExp("^(?:"+Sk+"|"+kk+"|"+YMe+"|"+QMe+"|"+JMe+"|"+ZMe+")"),t6e=new RegExp("^(?:"+Sk+"|"+kk+")");Zu.HTML_TAG_RE=e6e;Zu.HTML_OPEN_CLOSE_TAG_RE=t6e;var n6e=UMe,o6e=Zu.HTML_OPEN_CLOSE_TAG_RE,aa=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+n6e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(o6e.source+"\\s*$"),/^$/,!1]],r6e=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<aa.length&&!aa[i][0].test(l);i++);if(i===aa.length)return!1;if(r)return aa[i][2];if(a=n+1,!aa[i][1].test(l)){for(;a<o&&!(t.sCount[a]<t.blkIndent);a++)if(c=t.bMarks[a]+t.tShift[a],u=t.eMarks[a],l=t.src.slice(c,u),aa[i][1].test(l)){l.length!==0&&a++;break}}return t.line=a,s=t.push("html_block","",0),s.map=[n,a],s.content=t.getLines(n,a,t.blkIndent,!0),!0},X1=Dt.isSpace,i6e=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||(i=t.src.charCodeAt(c),i!==35||c>=u))return!1;for(a=1,i=t.src.charCodeAt(++c);i===35&&c<u&&a<=6;)a++,i=t.src.charCodeAt(++c);return a>6||c<u&&!X1(i)?!1:(r||(u=t.skipSpacesBack(u,c),s=t.skipCharsBack(u,35,c),s>c&&X1(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)},a6e=function(t,n,o){var r,i,a,s,l,c,u,d,f,h=n+1,p,g=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(p=t.parentType,t.parentType="paragraph";h<o&&!t.isEmpty(h);h++)if(!(t.sCount[h]-t.blkIndent>3)){if(t.sCount[h]>=t.blkIndent&&(c=t.bMarks[h]+t.tShift[h],u=t.eMarks[h],c<u&&(f=t.src.charCodeAt(c),(f===45||f===61)&&(c=t.skipChars(c,f),c=t.skipSpaces(c),c>=u)))){d=f===61?1:2;break}if(!(t.sCount[h]<0)){for(i=!1,a=0,s=g.length;a<s;a++)if(g[a](t,h,o,!0)){i=!0;break}if(i)break}}return d?(r=t.getLines(n,h,t.blkIndent,!1).trim(),t.line=h+1,l=t.push("heading_open","h"+String(d),1),l.markup=String.fromCharCode(f),l.map=[n,t.line],l=t.push("inline","",0),l.content=r,l.map=[n,t.line-1],l.children=[],l=t.push("heading_close","h"+String(d),-1),l.markup=String.fromCharCode(f),t.parentType=p,!0):!1},s6e=function(t,n,o){var r,i,a,s,l,c,u=n+1,d=t.md.block.ruler.getRules("paragraph");for(c=t.parentType,t.parentType="paragraph";u<o&&!t.isEmpty(u);u++)if(!(t.sCount[u]-t.blkIndent>3)&&!(t.sCount[u]<0)){for(i=!1,a=0,s=d.length;a<s;a++)if(d[a](t,u,o,!0)){i=!0;break}if(i)break}return r=t.getLines(n,u,t.blkIndent,!1).trim(),t.line=u,l=t.push("paragraph_open","p",1),l.map=[n,t.line],l=t.push("inline","",0),l.content=r,l.map=[n,t.line],l.children=[],l=t.push("paragraph_close","p",-1),t.parentType=c,!0},Pk=Xm,ed=Dt.isSpace;function Qo(e,t,n,o){var r,i,a,s,l,c,u,d;for(this.src=e,this.md=t,this.env=n,this.tokens=o,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",i=this.src,d=!1,a=s=c=u=0,l=i.length;s<l;s++){if(r=i.charCodeAt(s),!d)if(ed(r)){c++,r===9?u+=4-u%4:u++;continue}else d=!0;(r===10||s===l-1)&&(r!==10&&s++,this.bMarks.push(a),this.eMarks.push(s),this.tShift.push(c),this.sCount.push(u),this.bsCount.push(0),d=!1,c=0,u=0,a=s+1)}this.bMarks.push(i.length),this.eMarks.push(i.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Qo.prototype.push=function(e,t,n){var o=new Pk(e,t,n);return o.block=!0,n<0&&this.level--,o.level=this.level,n>0&&this.level++,this.tokens.push(o),o};Qo.prototype.isEmpty=function(t){return this.bMarks[t]+this.tShift[t]>=this.eMarks[t]};Qo.prototype.skipEmptyLines=function(t){for(var n=this.lineMax;t<n&&!(this.bMarks[t]+this.tShift[t]<this.eMarks[t]);t++);return t};Qo.prototype.skipSpaces=function(t){for(var n,o=this.src.length;t<o&&(n=this.src.charCodeAt(t),!!ed(n));t++);return t};Qo.prototype.skipSpacesBack=function(t,n){if(t<=n)return t;for(;t>n;)if(!ed(this.src.charCodeAt(--t)))return t+1;return t};Qo.prototype.skipChars=function(t,n){for(var o=this.src.length;t<o&&this.src.charCodeAt(t)===n;t++);return t};Qo.prototype.skipCharsBack=function(t,n,o){if(t<=o)return t;for(;t>o;)if(n!==this.src.charCodeAt(--t))return t+1;return t};Qo.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;f<n;f++,i++){for(a=0,d=l=this.bMarks[f],f+1<n||r?c=this.eMarks[f]+1:c=this.eMarks[f];l<c&&a<o;){if(s=this.src.charCodeAt(l),ed(s))s===9?a+=4-(a+this.bsCount[f])%4:a++;else if(l-d<this.tShift[f])a++;else break;l++}a>o?u[i]=new Array(a-o+1).join(" ")+this.src.slice(l,c):u[i]=this.src.slice(l,c)}return u.join("")};Qo.prototype.Token=Pk;var l6e=Qo,c6e=Gm,oc=[["table",IMe,["paragraph","reference"]],["code",OMe],["fence",MMe,["paragraph","reference","blockquote","list"]],["blockquote",LMe,["paragraph","reference","blockquote","list"]],["hr",DMe,["paragraph","reference","blockquote","list"]],["list",NMe,["paragraph","reference","blockquote"]],["reference",jMe],["html_block",r6e,["paragraph","reference","blockquote"]],["heading",i6e,["paragraph","reference","blockquote"]],["lheading",a6e],["paragraph",s6e]];function td(){this.ruler=new c6e;for(var e=0;e<oc.length;e++)this.ruler.push(oc[e][0],oc[e][1],{alt:(oc[e][2]||[]).slice()})}td.prototype.tokenize=function(e,t,n){for(var o,r,i,a=this.ruler.getRules(""),s=a.length,l=t,c=!1,u=e.md.options.maxNesting;l<n&&(e.line=l=e.skipEmptyLines(l),!(l>=n||e.sCount[l]<e.blkIndent));){if(e.level>=u){e.line=n;break}for(i=e.line,r=0;r<s;r++)if(o=a[r](e,l,n,!1),o){if(i>=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,l<n&&e.isEmpty(l)&&(c=!0,l++,e.line=l)}};td.prototype.parse=function(e,t,n,o){var r;e&&(r=new this.State(e,t,n,o),this.tokenize(r,r.line,r.lineMax))};td.prototype.State=l6e;var u6e=td;function d6e(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}var f6e=function(t,n){for(var o=t.pos;o<t.posMax&&!d6e(t.src.charCodeAt(o));)o++;return o===t.pos?!1:(n||(t.pending+=t.src.slice(t.pos,o)),t.pos=o,!0)},h6e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,p6e=function(t,n){var o,r,i,a,s,l,c,u;return!t.md.options.linkify||t.linkLevel>0||(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(h6e),!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)},m6e=Dt.isSpace,g6e=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<r&&m6e(t.src.charCodeAt(a));)a++;return t.pos=a,!0},v6e=Dt.isSpace,Qm=[];for(var Y1=0;Y1<256;Y1++)Qm.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Qm[e.charCodeAt(0)]=1});var b6e=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<c&&(o=t.src.charCodeAt(l),!!v6e(o));)l++;return t.pos=l,!0}return a=t.src[l],o>=55296&&o<=56319&&l+1<c&&(r=t.src.charCodeAt(l+1),r>=56320&&r<=57343&&(a+=t.src[l+1],l++)),i="\\"+a,n||(s=t.push("text_special","",0),o<256&&Qm[o]!==0?s.content=a:s.content=i,s.markup=i,s.info="escape"),t.pos=l+1,!0},y6e=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<r&&t.src.charCodeAt(d)===96;)d++;if(i=t.src.slice(o,d),c=i.length,t.backticksScanned&&(t.backticks[c]||0)<=o)return n||(t.pending+=i),t.pos+=c,!0;for(l=d;(s=t.src.indexOf("`",l))!==-1;){for(l=s+1;l<r&&t.src.charCodeAt(l)===96;)l++;if(u=l-s,u===c)return n||(a=t.push("code_inline","code",0),a.markup=i,a.content=t.src.slice(d,s).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=l,!0;t.backticks[u]=s}return t.backticksScanned=!0,n||(t.pending+=i),t.pos+=c,!0},nd={};nd.tokenize=function(t,n){var o,r,i,a,s,l=t.pos,c=t.src.charCodeAt(l);if(n||c!==126||(r=t.scanDelims(t.pos,!0),a=r.length,s=String.fromCharCode(c),a<2))return!1;for(a%2&&(i=t.push("text","",0),i.content=s,a--),o=0;o<a;o+=2)i=t.push("text","",0),i.content=s+s,t.delimiters.push({marker:c,length:0,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0};function Q1(e,t){var n,o,r,i,a,s=[],l=t.length;for(n=0;n<l;n++)r=t[n],r.marker===126&&r.end!==-1&&(i=t[r.end],a=e.tokens[r.token],a.type="s_open",a.tag="s",a.nesting=1,a.markup="~~",a.content="",a=e.tokens[i.token],a.type="s_close",a.tag="s",a.nesting=-1,a.markup="~~",a.content="",e.tokens[i.token-1].type==="text"&&e.tokens[i.token-1].content==="~"&&s.push(i.token-1));for(;s.length;){for(n=s.pop(),o=n+1;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,n!==o&&(a=e.tokens[o],e.tokens[o]=e.tokens[n],e.tokens[n]=a)}}nd.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(Q1(t,t.delimiters),n=0;n<r;n++)o[n]&&o[n].delimiters&&Q1(t,o[n].delimiters)};var od={};od.tokenize=function(t,n){var o,r,i,a=t.pos,s=t.src.charCodeAt(a);if(n||s!==95&&s!==42)return!1;for(r=t.scanDelims(t.pos,s===42),o=0;o<r.length;o++)i=t.push("text","",0),i.content=String.fromCharCode(s),t.delimiters.push({marker:s,length:r.length,token:t.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return t.pos+=r.length,!0};function J1(e,t){var n,o,r,i,a,s,l=t.length;for(n=l-1;n>=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--))}od.postProcess=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(J1(t,t.delimiters),n=0;n<r;n++)o[n]&&o[n].delimiters&&J1(t,o[n].delimiters)};var x6e=Dt.normalizeReference,wf=Dt.isSpace,C6e=function(t,n){var o,r,i,a,s,l,c,u,d,f="",h="",p=t.pos,g=t.posMax,m=t.pos,b=!0;if(t.src.charCodeAt(t.pos)!==91||(s=t.pos+1,a=t.md.helpers.parseLinkLabel(t,t.pos,!0),a<0))return!1;if(l=a+1,l<g&&t.src.charCodeAt(l)===40){for(b=!1,l++;l<g&&(r=t.src.charCodeAt(l),!(!wf(r)&&r!==10));l++);if(l>=g)return!1;if(m=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="",m=l;l<g&&(r=t.src.charCodeAt(l),!(!wf(r)&&r!==10));l++);if(c=t.md.helpers.parseLinkTitle(t.src,l,t.posMax),l<g&&m!==l&&c.ok)for(h=c.str,l=c.pos;l<g&&(r=t.src.charCodeAt(l),!(!wf(r)&&r!==10));l++);}(l>=g||t.src.charCodeAt(l)!==41)&&(b=!0),l++}if(b){if(typeof t.env.references>"u")return!1;if(l<g&&t.src.charCodeAt(l)===91?(m=l+1,l=t.md.helpers.parseLinkLabel(t,l),l>=0?i=t.src.slice(m,l++):l=a+1):l=a+1,i||(i=t.src.slice(s,a)),u=t.env.references[x6e(i)],!u)return t.pos=p,!1;f=u.href,h=u.title}return n||(t.pos=s,t.posMax=a,d=t.push("link_open","a",1),d.attrs=o=[["href",f]],h&&o.push(["title",h]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,d=t.push("link_close","a",-1)),t.pos=l,t.posMax=g,!0},w6e=Dt.normalizeReference,_f=Dt.isSpace,_6e=function(t,n){var o,r,i,a,s,l,c,u,d,f,h,p,g,m="",b=t.pos,w=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<w&&t.src.charCodeAt(c)===40){for(c++;c<w&&(r=t.src.charCodeAt(c),!(!_f(r)&&r!==10));c++);if(c>=w)return!1;for(g=c,d=t.md.helpers.parseLinkDestination(t.src,c,t.posMax),d.ok&&(m=t.md.normalizeLink(d.str),t.md.validateLink(m)?c=d.pos:m=""),g=c;c<w&&(r=t.src.charCodeAt(c),!(!_f(r)&&r!==10));c++);if(d=t.md.helpers.parseLinkTitle(t.src,c,t.posMax),c<w&&g!==c&&d.ok)for(f=d.str,c=d.pos;c<w&&(r=t.src.charCodeAt(c),!(!_f(r)&&r!==10));c++);else f="";if(c>=w||t.src.charCodeAt(c)!==41)return t.pos=b,!1;c++}else{if(typeof t.env.references>"u")return!1;if(c<w&&t.src.charCodeAt(c)===91?(g=c+1,c=t.md.helpers.parseLinkLabel(t,c),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[w6e(a)],!u)return t.pos=b,!1;m=u.href,f=u.title}return n||(i=t.src.slice(l,s),t.md.inline.parse(i,t.md,t.env,p=[]),h=t.push("image","img",0),h.attrs=o=[["src",m],["alt",""]],h.children=p,h.content=i,f&&o.push(["title",f])),t.pos=c,t.posMax=w,!0},S6e=/^([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])?)*)$/,k6e=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,P6e=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),k6e.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):S6e.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},T6e=Zu.HTML_TAG_RE;function A6e(e){return/^<a[>\s]/i.test(e)}function R6e(e){return/^<\/a\s*>/i.test(e)}function E6e(e){var t=e|32;return t>=97&&t<=122}var $6e=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&&!E6e(o))||(r=t.src.slice(s).match(T6e),!r)?!1:(n||(a=t.push("html_inline","",0),a.content=r[0],A6e(a.content)&&t.linkLevel++,R6e(a.content)&&t.linkLevel--),t.pos+=r[0].length,!0)},Z1=vk,I6e=Dt.has,O6e=Dt.isValidEntityCode,ey=Dt.fromCodePoint,M6e=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,z6e=/^&([a-z][a-z0-9]{1,31});/i,L6e=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(M6e),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=O6e(r)?ey(r):ey(65533),a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0}else if(i=t.src.slice(s).match(z6e),i&&I6e(Z1,i[1]))return n||(a=t.push("text_special","",0),a.content=Z1[i[1]],a.markup=i[0],a.info="entity"),t.pos+=i[0].length,!0;return!1};function ty(e){var t,n,o,r,i,a,s,l,c={},u=e.length;if(u){var d=0,f=-2,h=[];for(t=0;t<u;t++)if(o=e[t],h.push(0),(e[d].marker!==o.marker||f!==o.token-1)&&(d=t),f=o.token,o.length=o.length||0,!!o.close){for(c.hasOwnProperty(o.marker)||(c[o.marker]=[-1,-1,-1,-1,-1,-1]),i=c[o.marker][(o.open?3:0)+o.length%3],n=d-h[d]-1,a=n;n>i;n-=h[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?h[n-1]+1:0,h[t]=t-n+l,h[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 F6e=function(t){var n,o=t.tokens_meta,r=t.tokens_meta.length;for(ty(t.delimiters),n=0;n<r;n++)o[n]&&o[n].delimiters&&ty(o[n].delimiters)},D6e=function(t){var n,o,r=0,i=t.tokens,a=t.tokens.length;for(n=o=0;n<a;n++)i[n].nesting<0&&r--,i[n].level=r,i[n].nesting>0&&r++,i[n].type==="text"&&n+1<a&&i[n+1].type==="text"?i[n+1].content=i[n].content+i[n+1].content:(n!==o&&(i[o]=i[n]),o++);n!==o&&(i.length=o)},Jm=Xm,ny=Dt.isWhiteSpace,oy=Dt.isPunctChar,ry=Dt.isMdAsciiPunct;function Cl(e,t,n,o){this.src=e,this.env=n,this.md=t,this.tokens=o,this.tokens_meta=Array(o.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Cl.prototype.pushPending=function(){var e=new Jm("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e};Cl.prototype.push=function(e,t,n){this.pending&&this.pushPending();var o=new Jm(e,t,n),r=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),o.level=this.level,n>0&&(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};Cl.prototype.scanDelims=function(e,t){var n=e,o,r,i,a,s,l,c,u,d,f=!0,h=!0,p=this.posMax,g=this.src.charCodeAt(e);for(o=e>0?this.src.charCodeAt(e-1):32;n<p&&this.src.charCodeAt(n)===g;)n++;return i=n-e,r=n<p?this.src.charCodeAt(n):32,c=ry(o)||oy(String.fromCharCode(o)),d=ry(r)||oy(String.fromCharCode(r)),l=ny(o),u=ny(r),u?f=!1:d&&(l||c||(f=!1)),l?h=!1:c&&(u||d||(h=!1)),t?(a=f,s=h):(a=f&&(!h||c),s=h&&(!f||d)),{can_open:a,can_close:s,length:i}};Cl.prototype.Token=Jm;var B6e=Cl,iy=Gm,Sf=[["text",f6e],["linkify",p6e],["newline",g6e],["escape",b6e],["backticks",y6e],["strikethrough",nd.tokenize],["emphasis",od.tokenize],["link",C6e],["image",_6e],["autolink",P6e],["html_inline",$6e],["entity",L6e]],kf=[["balance_pairs",F6e],["strikethrough",nd.postProcess],["emphasis",od.postProcess],["fragments_join",D6e]];function wl(){var e;for(this.ruler=new iy,e=0;e<Sf.length;e++)this.ruler.push(Sf[e][0],Sf[e][1]);for(this.ruler2=new iy,e=0;e<kf.length;e++)this.ruler2.push(kf[e][0],kf[e][1])}wl.prototype.skipToken=function(e){var t,n,o=e.pos,r=this.ruler.getRules(""),i=r.length,a=e.md.options.maxNesting,s=e.cache;if(typeof s[o]<"u"){e.pos=s[o];return}if(e.level<a){for(n=0;n<i;n++)if(e.level++,t=r[n](e,!0),e.level--,t){if(o>=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};wl.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<a;){if(o=e.pos,e.level<s){for(n=0;n<i;n++)if(t=r[n](e,!1),t){if(o>=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()};wl.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<a;r++)i[r](s)};wl.prototype.State=B6e;var N6e=wl,Pf,ay;function H6e(){return ay||(ay=1,Pf=function(e){var t={};e=e||{},t.src_Any=bk().source,t.src_Cc=yk().source,t.src_Z=xk().source,t.src_P=Km.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",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}),Pf}function Gh(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 rd(e){return Object.prototype.toString.call(e)}function j6e(e){return rd(e)==="[object String]"}function U6e(e){return rd(e)==="[object Object]"}function V6e(e){return rd(e)==="[object RegExp]"}function sy(e){return rd(e)==="[object Function]"}function W6e(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Tk={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function q6e(e){return Object.keys(e||{}).reduce(function(t,n){return t||Tk.hasOwnProperty(n)},!1)}var K6e={"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}}},G6e="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]",X6e="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Y6e(e){e.__index__=-1,e.__text_cache__=""}function Q6e(e){return function(t,n){var o=t.slice(n);return e.test(o)?o.match(e)[0].length:0}}function ly(){return function(e,t){t.normalize(e)}}function Kc(e){var t=e.re=H6e()(e.__opts__),n=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||n.push(G6e),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,U6e(l)){V6e(l.validate)?c.validate=Q6e(l.validate):sy(l.validate)?c.validate=l.validate:i(s,l),sy(l.normalize)?c.normalize=l.normalize:l.normalize?i(s,l):c.normalize=ly();return}if(j6e(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:ly()};var a=Object.keys(e.__compiled__).filter(function(s){return s.length>0&&e.__compiled__[s]}).map(W6e).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"),Y6e(e)}function J6e(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 Xh(e,t){var n=new J6e(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function oo(e,t){if(!(this instanceof oo))return new oo(e,t);t||q6e(e)&&(t=e,e={}),this.__opts__=Gh({},Tk,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Gh({},K6e,e),this.__compiled__={},this.__tlds__=X6e,this.__tlds_replaced__=!1,this.re={},Kc(this)}oo.prototype.add=function(t,n){return this.__schemas__[t]=n,Kc(this),this};oo.prototype.set=function(t){return this.__opts__=Gh(this.__opts__,t),this};oo.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<this.__index__)&&(o=t.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(a=o.index+o[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=o.index+o[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=t.indexOf("@"),u>=0&&(r=t.match(this.re.email_fuzzy))!==null&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s))),this.__index__>=0};oo.prototype.pretest=function(t){return this.re.pretest.test(t)};oo.prototype.testSchemaAt=function(t,n,o){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(t,o,this):0};oo.prototype.match=function(t){var n=0,o=[];this.__index__>=0&&this.__text_cache__===t&&(o.push(Xh(this,n)),n=this.__last_index__);for(var r=n?t.slice(n):t;this.test(r);)o.push(Xh(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return o.length?o:null};oo.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,Xh(this,0)):null};oo.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(),Kc(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,Kc(this),this)};oo.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};oo.prototype.onCompile=function(){};var Z6e=oo;const ya=2147483647,jo=36,Zm=1,il=26,eze=38,tze=700,Ak=72,Rk=128,Ek="-",nze=/^xn--/,oze=/[^\0-\x7F]/,rze=/[\x2E\u3002\uFF0E\uFF61]/g,ize={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Tf=jo-Zm,Uo=Math.floor,Af=String.fromCharCode;function Mr(e){throw new RangeError(ize[e])}function aze(e,t){const n=[];let o=e.length;for(;o--;)n[o]=t(e[o]);return n}function $k(e,t){const n=e.split("@");let o="";n.length>1&&(o=n[0]+"@",e=n[1]),e=e.replace(rze,".");const r=e.split("."),i=aze(r,t).join(".");return o+i}function eg(e){const t=[];let n=0;const o=e.length;for(;n<o;){const r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<o){const i=e.charCodeAt(n++);(i&64512)==56320?t.push(((r&1023)<<10)+(i&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}const Ik=e=>String.fromCodePoint(...e),sze=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:jo},cy=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},Ok=function(e,t,n){let o=0;for(e=n?Uo(e/tze):e>>1,e+=Uo(e/t);e>Tf*il>>1;o+=jo)e=Uo(e/Tf);return Uo(o+(Tf+1)*e/(e+eze))},tg=function(e){const t=[],n=e.length;let o=0,r=Rk,i=Ak,a=e.lastIndexOf(Ek);a<0&&(a=0);for(let s=0;s<a;++s)e.charCodeAt(s)>=128&&Mr("not-basic"),t.push(e.charCodeAt(s));for(let s=a>0?a+1:0;s<n;){const l=o;for(let u=1,d=jo;;d+=jo){s>=n&&Mr("invalid-input");const f=sze(e.charCodeAt(s++));f>=jo&&Mr("invalid-input"),f>Uo((ya-o)/u)&&Mr("overflow"),o+=f*u;const h=d<=i?Zm:d>=i+il?il:d-i;if(f<h)break;const p=jo-h;u>Uo(ya/p)&&Mr("overflow"),u*=p}const c=t.length+1;i=Ok(o-l,c,l==0),Uo(o/c)>ya-r&&Mr("overflow"),r+=Uo(o/c),o%=c,t.splice(o++,0,r)}return String.fromCodePoint(...t)},ng=function(e){const t=[];e=eg(e);const n=e.length;let o=Rk,r=0,i=Ak;for(const l of e)l<128&&t.push(Af(l));const a=t.length;let s=a;for(a&&t.push(Ek);s<n;){let l=ya;for(const u of e)u>=o&&u<l&&(l=u);const c=s+1;l-o>Uo((ya-r)/c)&&Mr("overflow"),r+=(l-o)*c,o=l;for(const u of e)if(u<o&&++r>ya&&Mr("overflow"),u===o){let d=r;for(let f=jo;;f+=jo){const h=f<=i?Zm:f>=i+il?il:f-i;if(d<h)break;const p=d-h,g=jo-h;t.push(Af(cy(h+p%g,0))),d=Uo(p/g)}t.push(Af(cy(d,0))),i=Ok(r,c,s===a),r=0,++s}++r,++o}return t.join("")},Mk=function(e){return $k(e,function(t){return nze.test(t)?tg(t.slice(4).toLowerCase()):t})},zk=function(e){return $k(e,function(t){return oze.test(t)?"xn--"+ng(t):t})},lze={version:"2.3.1",ucs2:{decode:eg,encode:Ik},decode:tg,encode:ng,toASCII:zk,toUnicode:Mk},cze=Object.freeze(Object.defineProperty({__proto__:null,decode:tg,default:lze,encode:ng,toASCII:zk,toUnicode:Mk,ucs2decode:eg,ucs2encode:Ik},Symbol.toStringTag,{value:"Module"})),uze=k4(cze);var dze={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},fze={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},hze={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},zs=Dt,pze=Ju,mze=sMe,gze=$Me,vze=u6e,bze=N6e,yze=Z6e,Ci=Qa,Lk=uze,xze={default:dze,zero:fze,commonmark:hze},Cze=/^(vbscript|javascript|file|data):/,wze=/^data:image\/(gif|png|jpeg|webp);/;function _ze(e){var t=e.trim().toLowerCase();return Cze.test(t)?!!wze.test(t):!0}var Fk=["http:","https:","mailto:"];function Sze(e){var t=Ci.parse(e,!0);if(t.hostname&&(!t.protocol||Fk.indexOf(t.protocol)>=0))try{t.hostname=Lk.toASCII(t.hostname)}catch{}return Ci.encode(Ci.format(t))}function kze(e){var t=Ci.parse(e,!0);if(t.hostname&&(!t.protocol||Fk.indexOf(t.protocol)>=0))try{t.hostname=Lk.toUnicode(t.hostname)}catch{}return Ci.decode(Ci.format(t),Ci.decode.defaultChars+"%")}function po(e,t){if(!(this instanceof po))return new po(e,t);t||zs.isString(e)||(t=e||{},e="default"),this.inline=new bze,this.block=new vze,this.core=new gze,this.renderer=new mze,this.linkify=new yze,this.validateLink=_ze,this.normalizeLink=Sze,this.normalizeLinkText=kze,this.utils=zs,this.helpers=zs.assign({},pze),this.options={},this.configure(e),t&&this.set(t)}po.prototype.set=function(e){return zs.assign(this.options,e),this};po.prototype.configure=function(e){var t=this,n;if(zs.isString(e)&&(n=e,e=xze[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};po.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};po.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};po.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};po.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};po.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};po.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens};po.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Pze=po,Tze=Pze;const id=Ip(Tze),Aze={xmlns:"http://www.w3.org/2000/svg",id:"Layer_1",viewBox:"0 0 442.19 323.31"},Rze=Y("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),Eze=Y("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),$ze=Y("path",{d:"M149.41 121.47H3.52L0 161.66h221.09L235.23 0z",style:{fill:"#ffbc00"}},null,-1);function Ize(e,t){return be(),Fe("svg",Aze,[Y("defs",null,[(be(),We(wa("style"),null,{default:ve(()=>[nt(".cls-2{fill:#000}@media (prefers-color-scheme:dark){.cls-2{fill:#fff}}")]),_:1}))]),Rze,Eze,$ze])}const Oze={render:Ize};var Ls=(e=>(e[e.PENDING=0]="PENDING",e[e.PROCESSING=1]="PROCESSING",e[e.CANCELLED=2]="CANCELLED",e[e.COMPLETED=3]="COMPLETED",e[e.DISCOUNTED=4]="DISCOUNTED",e))(Ls||{});const Mze={0:"待支付",1:"开通中",2:"已取消",3:"已完成",4:"已折抵"},Dk={month_price:"月付",quarter_price:"季付",half_year_price:"半年付",year_price:"年付",two_year_price:"两年付",three_year_price:"三年付",onetime_price:"一次性",reset_price:"流量重置包"},zze="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",Lze="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==",Fze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAB7FBMVEVFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lFX+lHcExr5uSJAAAApHRSTlP/9/1D/u1CWC8ucnhZ6/xaRFdxb+p5Avtw6Ol3+AT65ezz5w8VgE0G9dkeJgvM1u/uUj16FyqyydO529+RLX0QU4ufvOCS+ZfkxWJnKGsJNxwrDDA1OgHy16j0W0UWNMPm44Gv2Jrd4qmP9rjHjtGYg4i2u6HKz10+JDMZXBh/HUEiSyxQX0Buc1QgSU4aoMTxq7UFbHtRMjwDCA0SShHOtCc2AIfjeMgAAAAJcEhZcwAALiMAAC4jAXilP3YAAALsSURBVGje7dnnUxpBFADwBwgYMIaIgEhTukiJAmqMMfYWW4w9lvTeeze9996b/2gYFO7EW7LIvsuY8L4ww+7jd+yyFZgXISCH5JBVi3xT6mQWXEQ/1WqAkBoVudkQglhMIiL+niDEoxAPGdhjBWTkmssIgIt4qmqBCykKsq3FC8jIlpJNALiIXtYqBWTk0aEQpEYeW6T/bh0AMjLzsgOQkS9hGwAy4pgAQEdGJkVAqgxADGbIemkO+fvIR8drdGSmJTDxHhdx6rpi2d1ORMTifh7P9n5IvqVkjfTuK1/Ilsi4wVjIFHH01SeyJQpuzbWTCHvmyOi9I9wz8xC91mY2myWpYZbU3ckY8TXLeQ/JQ+b1vZopjUYWD8XCiyYWN3yZbrj7rx5f0hJ8hNWu/vJBMyAjznBXap+yRiy3Zpf/cBgjlZ1jkB7xv9OFdTp1LEwmdSJMalU17SHo89YKwSHAQz61W4WHidxEh0RrCGsrD6kuJw3GMSpk6BUpn4esyyNVojs6RIspkB1ExECFbN8gApIvF6G5ckgOISMFRIRwZvQ8bnBVIiP5Z2Pz0NE5TMSp2xUvu5AhIqVHLO7uxTItGlJ5IjljZ4goaZEh/tpUgoOMLFmbUJArJ0uXlBWxQrjTr+fhuZQy9sjtZ97UMhVjZNkVFXtkVHFGqAJTZLBZeAlniOi/BghlHLImW+Qt8QOoEBkVQtxSsUTKxEDW/gdI0apCIA1SIgai/WeQ+2IgpmT+8As05LQ/ka8CNMTaHo1Epqcjvh4bHgJg3DseDI63WQET+XNQIsU5hBFyoLPx+m5X46lA1kgpsaStejF9cCMNUrAi5Fgy/0kHGpLhBEk+zsUGHKtFa2UI1Q6SDiFefsMDdt/ETrNbKcsS2UmBbM4WsVF0PCKiorkelFFc4KRrrj6Kjj98MVmpKc1grCGO0gHuXxnivHL+abLSpQpSpe/w84fwwmd8o+dO38O1wm1R7+bdAjTtFz7Fz/76DY+rJdzy4R8QAAAAAElFTkSuQmCC",Dze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABdCAYAAABTl8MxAAAAAXNSR0IArs4c6QAAEtRJREFUeF7tXXlwlOd9flZ7n1rtSisJ3UIcuk8kGSHMZYNjY+PaLq3bSYbU6djTdNKZpjOdNq2dmU4zjRN3WjexY5ohxsZxjF2gNGDuUwgE4j5tjO77lvaSVrtb/16xqgwrfceeYvr7B2b0fd97PO/z/s73XYnX6/UiisXtdqOlswcH687h5t0m9A8Ng3ocZ9AjJyMVjy8rRXHuIsik0igeBf+uSaIVEFonYzY7dh44iqP1jZhwuWYd1eLMNLz6R88j2RI/74GJSkBo8ls6uvHeJ3vQ3NHFa3mplUo8/+QqPLF8GTRqFWIkEl7vRdtDUQUIsWJkzIaDdWex91gdnOMTguZLGhODjJQk/MWfvIhEswlKhVzQ+9HwcNQAQqxoau/CB3v2405Tq+i5kUgkiNVpsXHNCtSWlyBWr0VMTIzo74X7xagAZHBkFKcbr2DPkVMYtdqCMgfEjsWZ6Xhpwxpkp6XMG7ZEFBCXaxJ329rx2YFjuHm3Ga7JyaCA4fsI6RGT0YAnaqqwuqoMRr0OxKBologBMjJmxdGzjThY1wBiiMfjCdk8qZQKLMlMx+an1yEzJRlymSxkbQX64bADMj7hQmtXN3buP4rbTS1wOMcDHQOv94ktcbEGrKkux7cefww6jYbXe+F+KGyAEAOGx2y43dSOzt4+HDh1BsOjY+EeL4gt6cmJ+PPNm5CxICns7XM1GBZAJt1uNHX0YGLSDY1KBbfHg+7+Afz34eNo7ewGeePhFNIjeq0GT69ajm89vhwqhSKczc/ZVsgBsdqd+KqtCwa9HjExkmml6vF6MT4+jrrGKzjRcAF2hzPsk0K6JH1BEl7dvAmZqclhb99fgyEFpHtgGCNWB1QqJWazbWgr6xkYxKf7D6GlowvhDq0RWzQqJV54cjXW11ZBIY+sMxkSQMicbe8bYmzg65TRtnbiXCMO1dWD3g+3UD+XZKXjlRc3Ii05CZGyjoMKCG1DI6M2tPYMsJWu12kgk8oEDa6rdwA79x9Ee3dP2HULLYJYvQ6b1q3E2uoKZgCE228JCiA0+bTC23oGMDJmBwHjExqUVqMWFOybcE2irvEyjp87z3RLKH0Uf0yUSqUoWJSN72x6CkkJ5rD6LQED4vF4YXeOo6W7D+PjLvhLrkilMcyqoZwF3xXHdEv/ID77/DAzk8cnhAUag7HlmWINLPRSVZwPnUbNu++BtC0aECIBsaJ/aBS9Q6Ps/3MJAUFsUauUoKgsX7E5nGi4ch1nGi9jZGyMmczhFLlMirycbPzps+uRmmQJeb5FFCC0JZGH3dE7BJqwmVsU12TJZFJo1Sq2DfBlC4Hd0d2Lw3XncK+tHc7x8Hj3M8eSYDLiubUrsby0kLE9VCIYENekG/faOtDS1QejwQDab4UKhTGUAtlCjLTabGi8cZuxZWg0tPEvf2OiRVSWv4QBk522QBDT+c6RIEAopXqorgGH6y+wyOyyogLk5Sxk25BQIbOSwNSqVJDL+bOF2u3o6cOx+vP4oql5ztSu0D7xfd5ijsP6FRRBLg86W3gDQqzYsfcgvmhqhfO+giWdkJmagtplZYiLjRVkSfkGT2xRKORsG+Prs5BVZ7U7cP2Luzh0+izTLeEWGnvewiy8vPFJpCVZePedq5+cgFAa9fCZ8/j9iToMDI8+5EnTKifbfVVVBbLSUkWZiMQWAoMsGSGe8uSkG32DQ9h/4jRufdUUfvM4JoblWzbUVmNNdQXrf6AyJyAdvX147+PduNfWOc0Kfw2SclYqFMjJSMPqxyqhVYvr2NR35IL8FjKzHU4nY8u+Y6cxZgtOxpHvxPr6vCgjDVteeAYplgQWsxMrfgGhfbr+0nXs2HsAw2NW3iuP/A2DTodnVq/EgkQLbyvqwc4TW/RaYWxxuz0YGhnF7kNHcaephXefxU7cg++RKW/QafHSU2uxorwIVAUjRh4CpHdgCO/v2ofLt7+Ey+Xf0Zvb3wALl1QU5jPdwlcvPPjNKb9FDo2av5dPltiEawIXb9zGgZNnws4WGgP5Lfk52XjlpWdByp+vae8b/zQg5HA1XL2J7bv3s+rAYEhivBnPrl0Fc5xR9Odo5ekEsoWUfv/gMHYfPo4795rCHkGmwVJt2JY/eBq1FSWCzGOJx+Px0rb0u32HcfL85aAXGpBJu7KiHKUFuczMFbO7+rx8oQVwlC5uuHoDR+rOwmq3hx0YGmtp3hK89vLziNXpeQVZJR09fd63tv0WLZ3dolcx14u0bWWkLMCGlTXQaTWCVszMb1MsjCwZ8vb5bgXEFoqF7T1yAs0dnZh0TfqNt3GNIZC/xxtj8eMffA8WUxznZyR/99a73i+axRemcbYw4wFSequrK5GdnsrMW76TOrONaUtMgN9C71O4hdhy/Ox5VjMc7ghyTVkR/uo7mzmnS/LyX/+jl8Ld4RICYnF2JmrKS5hFJiTQ+BBbtGpBEeQptvRjz6FjaOvqDquXTxWU77z+N5BzZCQlL3z/b70SAdHXYABHqzw+zojaZeVsKxNbgysmJkb9p8DomYtXcPbyVQwOjwRjSJzfUMqk+Ke//C7S09PntDwlG1/5gVep0XJ+MBQPqFUqFC1djPKCXOi1WlFbGPWLdItWIyyCTGyhipdDdWfxVUtbSNlCbXnGHfiHV7+NoqKiOQOykhXP/qHXlJQCuVIlekICAYssL4vZhJqKUmSlpojewhhbFPfzLVIB+Ra7Axeu3cSpCxeZYxls8bjdcNptkHrdeP37f4aSkpK5AanesMkrlcmhizNBazAiRkQ4PRiDoErCgsU5qCopBDFHrIhhiy/fcvB0Pe61tgeFLcQKt2uCgeGenGTb8ht8AKla/xzLusbESKHUaGBMSIIsQoVjNJnElrU11UhJtIjFhEWdKYJMfgtfo4GSbDa7A1du3cHR+gZQ7bFY8Xo8DAjXxDjo/ySCAaGXSNlKZTIYLclQabQIt7L3TQAVRVQWFaA0L5dNrBghp4y2Q6F+C8Xx+gaGsOvgUbR2dnGmph/sm3vSBYd1DLRVzawxEwWI7+PkyKl0esYWAigSIpPJmCP11KpaJPBwqGbr47SXr6J8C784AbHF6aSqyss4ef4i7A4H5xTQ5E847Bh3OqZZMfOlgABhH5JIQJNCCj9SVhirKlSrmHlM+iWQk7YUiSY9xbKTnNM79QDVHFOw9ROqE+vqBlXY+BNiA7FictIFdkTYjwQOiO+jVJhsNMGYkMhAioSQHsjJTMeax6pYMiwQoWJvjVopyKKkRNj+k3U41dD4zaoXYsW4E06blTNOFjxA7o+ezGJTcgoUSvEWUCATSe8aDXqsrq5i59PFFFf42qd3Kd8i9OBOa0cXduzdh4GhEaYjHDYrXOP8isSDDohP6RvMFujjTBFT+LSN5i9ayHItlJkUEw/zAUNMIcYI+cbk5CQrDD964hQ8Hv7HKEICiA8UhUrNdItUZIAwUKbQ+wkmE9avrEFivEnwSp/ZPuklqkGmbZELGFIPbo+bVVS+/i8/EzSMkAEyTXuZDLHxiVDr9BFzJskzLyvIY6GXQI6o+Y4kUCXJbBlOUuhUzkqFgRQL+/GbP48uQBhbYmKg1uphMCcwZ5JrhQkagYCH6fjA41UVSEoQf7UGmSu0HZIPJJN+ky1kbVHZkS8qTpU4UQmIb84IjFizhfkuYnPoAubf76NUrFddUsz0CyXBxAr1nw7wsAi0RIKJCRerwJ9ZUxz1gNDgKQamMcRCHxcPWYROIZH1RAHK6tJiJCfEg3wPoeJzCmnSqeaKWP/gqa55AYhP4csUSsTGW6DWkb8Qfr9l6kCnFsuK8pG/KIc5lnyFtqbB4VF0DwyyVK/JGIvUZMtD8bB5A4hv4DFSGTQGA2LNCaD/R0JI4VPya0VFKUuGzbWVsrCHy4W2rl5WDEE1XiSUcs5KXcBy+DNl3gHiYwuZxeakVChEVjIGCuRU8ZoONRVlWJSZ7jczSWDQ/SqtnT2s4mbm9vRIATKTLXqTCTqjOSIKn7Ywil8tycrEiooytup91iDlQVo7ujFqs02zYuYieCQBmalbzMmpkIsssQwGW3RaLdbX1rAz6XanE/daO1l4fbaj2I8sIP/HFikzj7VG4SWWgQIy7dBKpVhVtQxSqYwzIDgbIONfX6z2RjQ6hmImieUntDrEWZJZ6CW84oXTZmPZyNLiEk5HdlZAvj4f88ZPo9BTD2QyCYw4SxIDRyIR7i8IbdvjnpzKWbhcyMrIRFlJAIB8fcbxjTffEtSFkMeyBPVmlodZ6IVlJhPvZyaD77eQfnA5HXA67NOZvEABGRoZwU/f/qWgKZgXgPhGRM6kOXkB5ApVUMP6UzmLMbjpWMWMTF6ggJy9cBF7Pj/w6AJCI6PQizY2juVaqCwpEGE3S1AJjs3KEkkPSiCAjIyOYusHH2FgaEhQF+cVQ2aOTKnWsNCLQq3hVLr+ZoQAGHfYWSZvNnNWDCD0rb7+AfzPoSP48t49QWDQw/MWkCm2yKAzxkFnJLbwD70QCAQGFabNJUIBoczgV80tOHDsOHr6+gWDMe8B8TmTVBtmiLdwlrlSMRoBQQUHvsK0YABCmUSzQY/TDQ24euMWO1wq9j6vec2Q6cmkwj0KVOoNLAnmr8x1qjDNCvqXr3AxhAp57HY72tvbMDg0yFhBufRA5NEA5P4MUH4lPiXDb9iFtin7mLAi6ayMDJSWlPq96IAmvrevDzdu3WRXeQTrPshHChCyuuJT0/2WILmcTtitwgBZkJSM6srKbwQ7aSuyO+y4fuMmunt7GCPEbk/+mPT/gMyxv1DufMO6J6C6X2VPLOjo7MTVG9cxMTERkuNuvAGh4wjBXAmB7LOzvRtshlA7xlgjMjPSGRNa29phJZ8lhHdxqRRyfudDap950TvXj6WEYoKFfjMUgAjtQ6DPU6Xkj17bwn2C6pmXt3j7BgYDbS+k7z8KgKRazPjh976NpUuXzn3G8LUf/r334rXrIZ3QQD/+KABSU5yL7/7xS0hNTZ0zAiE5Wd/g/dFPfsZumY5Wme+AKOQybHluPZ5ctxZ6vX7OaZYMjYx4//lf/wNnL1wKytm6UIA6nwGRS6Uoz8vB5o1Pse2Kq2qf3XVCnui7v9mBhouXMRyBuwy5QJyPgNA5R51GhdysNGxYuZydvtVquY+fT98GZLPbcenqDXzw6S7c/vIuKG8cLTLfAFHK5chISsDy0gIU5C5BVlYWdDp+v+7zjfuyyA7v7R/A7n0HsOfzQxgeefhKv0iANF8AoXqBWJ0G5UtzUF1WjKVLFsNkMnFepzFzTv3eKEeHHK/duoN3tn2AL+81By2eIxbM+QCIQiZDRnICakoLUVpUgLS0NGg0GsG1aLPeuUhsIf+E2PLx7r1wROD3PXwARjMgxAqdWoXK/MWoLClEbu5SmE0mdrRBzPEMzltJKQdALPnJv/0CTS1tYhd5QO9FKyBUXb8g3oR1VaUoLixERkY61HQlYQCX+XACQjNJbBm1WvGb3+7Ef/3+AAvAhVOiERC1UoGqgsXs6ENeXm5ArODUIbNNNsW8rt24jTd/+Ss0t7aHDZNoAyQlYYoVpcVFyMzMZKwQsz35m0BeDHnwxTGrFe9t/wi79x0M+h2N/joZLYCQk1dZsBgrK8uQn5cHs9nM6egJXbWiAKFGKGxdf+ES3t667f4tB6H7GYlIA0JOXqIpFmurSlFeUsz8imCyQvSW5Q/t7t4+bP3wYxw/fYadxQtFbiVSgLD7HeUylC9dyK4kzM/Pg8ViCTorggoIfYyOC1M139v/+T4IoEALAh4EPhKA0Pn1BKMBq5YVoby4CNnZ2Sz0ESxdMdtWJnrL8vfBzu4e/PvWbWi8cg1WW/DuyQ0nILQ9qVUKFC7MxPLyIhTm5zNWcF1eKVRXhAUQaoSuNTpWV4/tn3yGlraOoKRFwwUIsSLRbMSKknyUFRUiOzuLhcsD8SuEAhVUhsxsvLm1De9//BlOnWtgbAlEQg0Iu8mBfg8kOx015cUoyMtFYmIiFBG4DCFkgBAA5OUfO12PD3fuQnNb26z3TXGBFUpAaPUvMMfhsZI8lBcXIjtrihVceQuuPov9e0gB8Xn55ER++OkunDhzDhTmFyqhAoQqQYoXZaG6tBCF9y0opVLYXVpCx8L1fMgBoQ6wnyiy2dBw6Qre3fYh81uEmMfBBoS2KPIraksLUF5SFHFWBN3s5ULd93f6jdvu3l68+/4OnGloZFsaHwkmIORXFOZkoKasGEWFBcyCioSuCJuVxTXB7DcQHQ6crG/Ar7Z/hJ7ePk62BAMQOiwXbzRgTWUxSgoLsCgnh2XxwmlBcc0N/T0sW5a/jrAf9OofwM/f2YpzjZfmjIkFCghd5VeQnYbaZSUoKihAUlIS8ytC7eTxAeDBZyIGiE+3UF3t3oNH8Itfb2d6xp8EAojZoMPKskJUlhUjJycn7H6FUFD+F99EwWJISrZpAAAAAElFTkSuQmCC",Bze="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==",Nze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAClFBMVEUaI1MeJVcdJ1geKFscJVQfKV0eKVkbJFYbJVUeKFoZI1EfJlgcJVcaJFIdJlcCgeoAdeQeKVseJlUAcOIAZt0Ae+gdJFUBU9MCh+4ATtEcI1IBlPMDjO4Aat8BVtUBbeMAWNYAQ8wAZNsAWtgAUNEAfegAeecdKFkaI1QBf+cBXdkdJFQBjvEAd+YAc+QAP8kDiewAZd0BYNoATdEASs8ARcwAhOwAbOEAYtwCWNcCSc0BmvYCgusBZ94BUdIEkfECiu4BgOgZJVcAYNwAlvUCj+8Ehe0AfOobKV0BhuwBXdoBW9gATM8CkvIAkPEBVNQAR80BQsoAQcoZKFwYJVUCnfcFj/EAaN8ZLGUYK2EcI1MCceQAauEYL2cAmPcCX9sBXdcAR8sWO3sWL3kCnvoAmfUAdOIAV9QXKW0cKWEYKl0YJVsaJ1oDYdQCStAPfc0BPcUEQL8WVZgYPHcZN3EZM2sFl/UClfUBfuoGadcBSc8HY84FO7cPVK4SOpEVLnMBi/AAcOQJiuESYrITXK8MQqoLOqcOQKQOMY0XN3sYP3oXNXUXJl8Bh/AEle4IkOYJgN8EctwPgNEMYL4Sc70RTaoQRqQSUZ8LNJ0URYEWPYETNX0WOHkWJ2MCmvgJhOQAcuIHfOEIed4LhtoLgNkGbdgKX8cESccRd8YNasMSbsIJVL8QZ74CObwNW7kTZ7YUaa4KRK4QWasQS6cSWKUUWaAOQJ0SP5YQN5YWRIkSOIcSLIEXMncVKWgXMWMKiugEddgCVNAFW88EWM0GVskGUMUFTMMFQsIMU7cIP7IHOa8UYKkNM6QPOp4QTZ0USJUYTpMRM4UUK3gVMW0AeukPhNEPdNAET8UCSL8IRroKTbkOMJjfGjaeAAAJHklEQVRo3u2Z91/TQBjGA1ZoC01pkFIDyhBoS5GNokVGWUVxtihDUBmCgKAMle3ee++999577739Z3wvZ5u2pLVq+M2Hz901b+7yzfNeEjIIWW9u9QJZrZOxrV3JuFtOiEyGIdCysX+B9HbgpDc/AoiVA6chMhtXMoeQXqwgPb2cE/S06e9wJEB6XBgiElmGuCOO1+OYiHtJRKDKzc12AEQcQ9xEjmPsEvxy4MQxxXEML7FOnBZOwd+IE8LtSzatqqpKjyM8Q9gZyv/Rfqr9aj4i8grBLnCZtnVGVNS4qKu9e/EOYY+zslPAGBc0s+wvnOA9ZfcZ1bYFajACjLFBQQmv9G4ii75Ma1nYsLkQaATeW6ihoJotrJ+ymYBISEiY8rXMDUbgYVDjM4ItoG5RAkJoCAj/wjVbsNymLR6LGGOGxucu0Zt64fVKaNzMRenq6qqEqOUGAOKUyp4gxJj43Ny4I2UO+gEEZF7Cjm0gSu6RYCQIuYjPjevbN3mJzMNZCHJpgih/hTghSsYIMOoYRHLIo5uU0g5ByUIstke4OiE3USfYqIuL6xuSnOw7uv9mPdqY83IOol9SVwcuQkJ8fSsrAwc83Em5ufIOmXYOu0CIwAEjwi/oPXoCkgwuIFGVlYAIH35/mYeI/3Qt8kVzEcjYGB4bm7hJxr8Tt07f0cAYghCTgBEzfRnFO8S161F/YECmYtMBEdNnQkc1yTcEDq/AQOwiODimz7AJE6eXuor4hICUHjcfTEYuMKLfxIDBHdVKXiEgSnYhfVJ6IsPo129wgPe8Q6Uk3xCSXHY/0WQDGEWRXh3VFMkrBGS4EBwMCHAR4O3tHenlta6UcuUbQq1o6zOByVRR0dSpXgPDfBbKeHfi0WsTQmAXXmE+Ptl3l1N8Q0TUshbIFHYR5pMdGipdoCfJv4E4uu7pO8AF2BgINkLT1Oq0fdvllHMQD0uRLghkJbSMW5edLV4mF3OkUumgVQtrSYvutkMhQpJMS7g4KXSAdQxkXGSHpkmlSYOyVn0uJl1JJ8b+AURE7jwU5hMKk5EGiByFYu7aJiHPEFDteR+fNOwiJzo1NWJPqdw+hCT/HOIB0jTeVacxCEV0qn/EqD2NjiB/7gTLcP5XpqL9/SMyUw42e/KZLixSWLo/K0uhSAUb40eN8juuJ/mHUFSvBatQpiBVKSNHprx1cekJiKZxrb8/sjHSz8+vvhhml28IiKxdEBEBNvz8ZmesbsAxniEg4fI9kClAzNKuv01BgH8IqHYBZCpjVkXFrAZPNsozhG6cPzujQqvNW18sxxHeISDRmZKKCm2eljXSAxB503pteXnexgLSAwf4h4Co5hf1RxsK4CpPOnfcuxCetoI4rjkFqwQqo95g9LQ+RX4NNQ82b8qFcvEk3LtJIEC1RX6w0PErMPUQMq2c2RaKy5llTwq2CK2QWc+2BG6whLYQudBTX1Dc3NTUuLxJCc5tBmN5ujDLQgSBXYcWL1tAUIsK1CDUsrWu+e3Zo/XrD8yfv3r1mrPFGnCAB7L7ai9itYZgfgvQb2iETItrgaag4WAmnHglJSXa3XnleWd19L9CULHyISw+Ex3BXApnZ5RUaHeXr2kibAaDWIADEAtB67ERDMk/mZqKLrgp6DKCzvHV2/4G4o4h3V1AkRsuwv9Y/N8JY7RrGmmBzQYwio2gJc50CbAT3F+Ia6FAdW0fuluIBgrGzC7ZqEfr8UY0co1GI5SjP7lAIIfKMYRTdPExaVJS0iCFQgE5Qxi/+aUAwHInapubi/MLDLU6IxygEgldqNEIgCxHDAySC1jZgRi3ZKvTkqSAyVJgN5kN7i7m1cs3HjhwsP7o8ZMLFl7c8uba9tIVTQg6zaAkSUpDCQQURf0Wotq+Ljt7jpS5xcrJUaTOnRtxvMA8jlg+P09bkuGXMn5uqiIpTb1v/7pDLW2HD5942rFp8+Yr17sMABH8DkLnb/AK+5idrVbjOzl0s9hYaB6n21iep62YPTLTPzo6S5qm9gnzivQOmDghJjFx0vABgfceLyqrFfwWInztDbfWA9Gt9RyEycnJueRpTrKm+hNAMvwQRJElVYcCZK/34H7D+iROCh8wpL9vSNyRTsPvIMTOlnlFpmcEdRpgco7ly9mZrK4HyCy/UTaQPmZI37qhrwyOIXTB6YCAefC4gzEwN0n7S1WWPS7lIUhKpr/CChITHDsZQfr2jatLWKqjHUGMb1r6BaDHz0jmoQoo6i06tMLkRXO7vlybYQWJtIbktrbO7HLgxL1wRdsweOUwGNwUIQxQTuZrrPqIt63ZXQIQSNcgBBmIJh5DcLpyh04JWrzSPkS162kMPK4Pw4/rRYiybjubLGxF8GJWRndIHzMkvjUhKGqpu12I8crkdPatAPOsC8myESTMxgme+PTwXxBwEtTeZQ9Cr3gIr4JiLTCRG/LZ1WzC7nBChrOQsVEvV5oglhIINdWbJqNXc+nYDUzNvJZSmugu46XMkbbpYiG5DGTGDZWk+0hIVuc906szRIGZ6ffakwtCV58ZP747JNwSErXVnRPSdYJ5Qcdg0hPRAXC6QCVUcVAk+QvvRKSuYtOFJ94K8pITYljEvmpElGB4DyjmhhAq3bZja3OykqRzsuE8KQpAl5XY8AGB5jkZF7VU0h1SKLmemxyS7Is4KGnD0xMTN+tQPy4nhERcu+Jaw8XzC09v2HC4ra1tOmhyYCC+rIxJCBr3/JaYA1L1LY55UQ6U/phyIl8CccKOJIU0sHQ1huqCguIPH27u2HG9s/PK5ctLFp171t6+tUrFMaRmcSt8uWBeM2MzIx7sEAPCvlRCdNJoCAlILJbQYjFNqFRGXU3Nyl0rdVy7Rb8bmzAFvizEMxRfMFN52VhY6BDS/TzAQlRouIwEwfcL5jsMwoweXfn9FsGzJLva4bsY4oAblDPfLzuMvENWPodPY+jDFcaEPH7nTvAu4dIZUfgL3JjW1vgji7pUEv4hkpqlp2aAZoKeXS2roWkI8k/RVd248f59VdWtXTUSGkT0iGgNHHnokKfFNG3UqYgekUBl5tE6gPS4VCriv/7rvxiJf4krbmq5fkvEEmhx0LblDcLVsgEeIBLkxA5EYr0xCer7E/a5ifsRqUkJAAAAAElFTkSuQmCC",Hze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAC8VBMVEX///////7+//+2afRfle+yavNhlO9yjPBrj/Cic/CYefC3aPP9+/2ncPGWevD8/f5kk/CfdfCqb/Bdlu6vbfNvjfBbmO7+//79/P53ifB/hfBpkO+5aPRYmPCTe/B8hvB0ivClc/COffGxa/OcdvBnkvBclO58hO7+/f+tvPOKf/Cmb+78+P/BsfN6h/GFgvCRfPB5iO9nju5ziO6Ree6/1PaAgu+xau9Ylu52h+7fw/isbfOwafK0yvHRuvGad/FjlPBsjvCddfBvju+Xeu+fce+Ifu5lkO36/v71+v2vuvPJrfO3ZvOsb/GCg/CqbfC4Z/DMme9nke+ic++/oe5wi+6Gg+5tjO2VeO25ZPS8tPO7xfGBhPB2iu6adO6kcO5qje3z6PrEr/Oua/OwbfG0aPF5iPCgdPDInO/Fju9+hu+Oe++MfO6QuO2Wt+2cs+1XmO34+/74+Pzk7vqyufS1t/TatvO4tfPNvPF3he/Dnu6DgO6Xd+6hsO1dlOygc+z38Py3tvTbs/SpvvOrb/OxzPG4x/G+w/HXt/FflPHHi/CHgfC2afCBsO+Ere6Xte2qbu12m+z5/f719/3v9f359P3K3fe6tfPHrvOkcvGdc++6o+5xiu6Ofe6ubO5gku1gmuz9/f3W5/jozvfa2/bH2Pbdu/W10/PLrPPJv/K/s/LMq/KtzPGgvPHVufHLpfFkkPGpb/FbmPBdlvDNkfC6jO+Hse6kru6wfu6enO2HqOx0qOvy8fzp8fvn5fry4Prv2frq1frl4vnq2vnR4PjW4ffW0/fk0vfkyPbhy/XUwvXev/W9zvPGr/PBw/JVmvK9a/HRnfDAdPCLtu+rr+9tjO+Tve7AfO6Cou1mou1mle2ciu2ocu23be2ml+y0e+yJjuq0hOrd6/vb6/ng2ffYpvS4aPS6v/PIuPPNq/PIzPKixPGWsPG5qvFpkPHCgfHEmvDEhPCZg/Coy++4pu9rpe+8ie+pmu5tlex8oOuVkusvF8k2AAAGQklEQVRo3u3ZZVhTURzH8XOvTKcwhpswVFKHTKc4EAGdioJiMUBULERRFAWDsDGwAwu7u7u7u7u7u1tf+T/n7t5d1MdHONvz+GLfl7zgw7mX83sIZM2aNWv/VwzDIEsHiF1ZjYUdNn7Qpk2P92mQJdv3vhl04ZgllcyOUS4uLk/Cr+5FlmvhbUCgqEHIci0ZHeVia+vi0uy8M7JYg9pF2RKkgXkR58mT5SYkcLQtzryI5uDazZvXHtSwJiQfFG5GhGGOb9Pq9ZHbjiOuHoGj85kdib+vHa8wGAz343kkMJ9EYl4EndDekikMQwzjl+RE2uVEWCpkWSutbMh6hUL7XEAkOBOiyty/cG9ZKqR+K0+ZTKaQaVcakTkJORDG7uTbc+cunI+nQhp6egIjICPmJJQsWVIiqcIjJ2+H4wHomEmD1AIFEpDxhiIE6cAh8VfD4W6CsoQOaViwYEHPVst4JLIIjkcWcnfTpdkmO3MiCj1G2hqRyu1s82EkahTFu59Wq3AiIA0b1kcsQbQKvV4vQiRwM4GhQk7P4JBaRmSNVjFErx+iF5CSHBJOg7SZURiXKEYUCoWhbQc7hiBV4CgQIGzekbiQEKwAggjSSrZeAUX2ERCJhBrpW1ONlRnTEKnaHxAyMx0pkHJ9axYKVhcOiTMhkBjBt0ZCjxRSh5iQAb8j5HJSIU1rghKsjjvNI54ynIAEJpAFCKRGoLg2PFJwOl4zLY/MSShSBBi6k/i7YaRmXxECA+CpbcQhR28ZEvgFoED83ezt7QnCCgjMDCD4A5mbI4mScAzRIDqM2DfFCIuRxIJ4A6YDwmL16LZIfdu2c9ZOzt2PDvKJaRrEIK4VyTqdGzD+5YyPK04NtwbOYnxcrGb/u7t3v/SYnKtfKOYvurR9+9Q9yFjzTrNBsXcDhOWQ4BCM1Gpkp0JcafHxmfBVQf96Ds2LewEBGRk/FiGWYTgkuYTOTUB6xQXDrUlMNCEsy336XBzlwD3v2NiIiIDtu/DXRpASJUok6wSkabBaDU+MIHntaW+fYsViI2JjjiDyXqaGAYIZAYGbCWs2gwKZfwkQKCLgDHf8nmFhZTDSaQWP2BcKxoehQORbe/skJbm7F/sbglPPzDviDIivLyDew3kkpgyuU3OExEgwHdIeI+4CkhGThZEwI7Lc3x6iQ+T9KrVs7+ODEUSQgRkxMVlZYsSNKH1n2jF5Ryq0LFq0vQgJiClfvnxWlgiBgPlEiYDiI0agmLCpiHREpyNK02cMFeKBlUotOKR7QGwERjKMyK47ZMz8bx6gQWYV8MCKgHgnxUYAk9HTOJ+LbnZK1iV/OCFX5ebFs5PSd6cyKgFpDIqHgHTzToIFgJ0xIirVnuZf77x+5Ixyg0ysei07+9VhOSI5d23cuADkUUGMABMwEPFp0tJy+dLTVt9wcFi3LnsKjzQJ/QVxJ4qAkGem0uQKWXyjenUHBy+vHZO4xwWIo6MIqVcJriYg3t1RXmPkXUrlJ8i3QwhXp2trqSNWGpsQXx/3YkkUCErbAggo0dEVjScBBMqJwALQIHXHlhoJCMQjflJpjRqOjk2G8UhLsyD5cWJEKkJKk5lp79u7GzUCGZFxfsWxUqO1CIF8K1EiNhCP1AEEJxUhHngCqJAxgOAEpHZ0TmRWgQIEqUeDBG1UKm2UNjYmxMsLI1WNCF4AOEsFMyBKZU6kuB+PkAXwKECLODk5mZAutaPx3RQjoXA3aZENThCPyLvMdcCIV20xAsosCiT1omuKqysg86bwCFkAARncWhpKFqA0yntLgzakABK0M53hkFI2eMwcBMQPX03HUCpk0hZX1w0pKfOWskhAIIwggnAzc7kJDYLSr1x3mrdzaSqH1CEINFdAyAKE0iEo9eGUQ7s1jIpDOpci91+MEOUyHcIwoj9UTjAiNv2HItIpWABAirc+hSgDQ4zA/ReQ9O+1i7+RSv2upSPqxIhSjKgWZ0evi/bLXsyaEwlSwq3hEUizYPWOHasPs2ZE5J2DnDCi7L9KeGfzJ06UI8isCCyAEiMMI3xnMGZF6lwhCBxmqMX+18cwq1LOuuJgy8CwUA8+c8jYSchisaqK112DUlJ2LkCWTLXg5ZaLH9NVlv6faGqqcWwsH4usWbNm7f/pJ40LCPiotLN6AAAAAElFTkSuQmCC",jze="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=",Uze="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",Vze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAMAAABHPGVmAAAAw1BMVEUD2sUAAAAC3McA2sUI28YBBAMA3cgCCAcDCwoGtaMFExIB1MAHIx8C18IDzroEwK0Nd2sGFxUB0LwGxLEKn5ADx7MLSEELQDoJNTAIJiIGHxsJ3cgLkoQNZlwMXVQI1cEJsaAKo5QKnI0LjoAMhnkLc2cMYFcKRj8JMSwILSgHGxkEEA4CzLgHuqcLin0LfXEMbGELTUYH0r4CyrcDvqsHrZwKqJgNWVELv6wNgnYMVU4Cwq8Mb2QKOzUJOTMIKiYMl4iTAtRRAAAC2ElEQVRo3u2Y6W7qMBCFkxnjQGmahUDZoQtQUgqUQgvd6Ps/1a10E0ImNdK1fX9U8vl7pDOx83k8iWVkZGRkZGRk9JsFvNPh8LPV+baYegmGXtf3u55VzAK3MvcXUR1QdRn1Xrtk26X2sgbUqrwG35Yz3a2YWo31pZ3oYw1566qVOKX+hUoVDBv2QZPZcRRs9wenNFLZMN51bFHU0s50fw3yRdxH+0hnURbF6vtja+qBNFn1ln2suyyKb+5z1ktVdsfAi+2c+oeozrWTc5xbUFxJFjVPo/hzOW+1h7JVBg07r/MKJPVrLWJdzpgkXTcOiWocjkSPONIcY/hIo/zDMd0T60yWY6ic06grSKyvjK8MPinBTZlENdMm5mbHUZFjdHs0qj/4G8Wekr6mzjHUmySqnHLMN7GtiWN+dSbiGBclXRxbfknAMa4edXHMLhpCjh9aFL6I6+OYJ1a3TDl+08dxPeW4CJ8sx4MxjRoPMIHvo8Axk1xK7Y5yfAOJ9Rzo4hj+ieMnjRyjiON3S5bjCY26BSHHG239eFK1RBwvJYtglR7JzxDTUYDW76PkSuYObexpklsAfMcld6tNN/4ZRLs1rTFN731E+pf6PIkjYScujgFLV+5OiYRn0fI1nUXwhF2F6+oqWH0p9EcXk6bWVL7nKb10YkF3rGligWG7eP0J6fVAE73+CXq5pv47ofRmWqL+iUgPvRSf03divJGkty++3T813e5sXpy3hXPKqyS9D+Ivh+t7PfRa7F1EL64munpvSLe9EbJ0jQGdHlB23DoX9d5O5Gia5+GtXaBXUCQecun/N036jZVdxwGlV1bYEw3sGF6q0ps9b0z+32RW1zmidw2WgnaHw+gscgausl4QREo10N0FSdCC7AibjZMHaH1ZakJr2GvGwV1vYyGx2CB6nQbxx2jNLFUBXnjbGcIPFsen7TYEsDQIAfCUZWRkZGRkZGT0f/UHAS86LuyGKlcAAAAASUVORK5CYII=",Wze=["innerHTML"],qze={class:"w-16 flex justify-center"},Kze={class:"text-gray-500"},Gze={class:"w-16 flex justify-center"},Xze={class:"text-gray-500"},Yze=["onClick"],Qze={class:"w-16 flex justify-center"},Jze=["src"],Zze={class:"text-gray-500"},eLe={class:"p-2.5 text-center"},tLe={class:"font-bold mb-3"},nLe={class:"mb-5 space-x-4"},oLe={class:"text-center"},rLe={class:"mt-2.5 text-center"},iLe={class:"mb-1 md:mb-10"},aLe={key:0,class:"mb-2.5"},sLe={class:"font-bold"},lLe=["onClick"],cLe={class:"carousel-img flex flex-col justify-between p-5",style:{background:"rgba(0, 0, 0, 0.5) !important"}},uLe={class:"text-xl"},dLe={class:"text-base font-semibold color-[hsla(0,0%,100%,.75)]"},fLe={class:"text-block mb-4 pt-5 text-xl font-semibold"},hLe={key:0,class:"mb-4 text-sm text-gray-500"},pLe={key:1,class:"mb-4 text-sm font-semibold text-red-500"},mLe={key:2,class:"mb-4 text-sm text-gray-500"},gLe={class:"text-gray-500"},vLe={class:"flex items-center justify-between"},bLe={class:""},yLe={class:"text-base"},xLe={class:"text-sm text-gray-500"},CLe={class:"flex items-center justify-between"},wLe={class:"text-base"},_Le={class:"text-sm text-gray-500"},SLe={class:"flex items-center justify-between"},kLe={class:"text-base"},PLe={class:"text-sm text-gray-500"},TLe={class:"flex items-center justify-between"},ALe={class:"text-base"},RLe={class:"text-sm text-gray-500"},ELe=Ce({__name:"index",setup(e){const t=G=>mn.global.t(G),n=LQ(),o=new id({html:!0}),r=G=>o.render(G),i=Tn(),a=ea(),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=j(!1),u=j();jt(()=>{});const d=j(!1),f=j(!1),h=j(""),p=j(["auto"]),g=[{label:"自动",type:"auto"},{label:"全部",type:"all"},{label:"Anytls",type:"anytls"},{label:"Vless",type:"vless"},{label:"Hy1",type:"hysteria"},{label:"Hy2",type:"hysteria2"},{label:"Shadowsocks",type:"shadowsocks"},{label:"Vmess",type:"vmess"},{label:"Trojan",type:"trojan"}],m=j([]);function b(G){if(G==="auto"||G==="all"&&p.value.includes("all"))p.value=["auto"];else if(G==="all"&&!p.value.includes("all"))p.value=m.value.map(re=>re.type).filter(re=>re!=="auto");else{const re=p.value.includes(G);p.value=re?p.value.filter(ae=>ae!==G):[...p.value.filter(ae=>ae!=="auto"),G],I$(m.value.map(ae=>ae.type).filter(ae=>ae!=="auto"&&ae!=="all"),p.value)?p.value.push("all"):p.value=p.value.filter(ae=>ae!=="all")}p.value.length===0&&(p.value=["auto"]),C()}const w=(G,re)=>{if(!G)return"";const X=new URL(G);return Object.entries(re).forEach(([ae,B])=>{X.searchParams.set(ae,B)}),X.toString()},C=()=>{var ae;const G=(ae=y.value)==null?void 0:ae.subscribe_url;if(!G)return;const re=p.value;let X="auto";re.includes("all")?X="all":re.includes("auto")||(X=re.join(",")),h.value=w(G,{types:X})};function _(G){console.log(G),window.location.href=G}function S(G){return btoa(unescape(encodeURIComponent(G)))}const y=O(()=>a.subscribe),x=O(()=>{var xe;const G=(xe=y.value)==null?void 0:xe.subscribe_url,re=encodeURIComponent(i.title||"");if(!G)return[];const X=encodeURIComponent(G),ae=S(G).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return[{name:"复制订阅链接",icon:"icon-fluent:copy-24-filled",iconType:"component",platforms:["windows","mac","ios","android","unknown"],url:"copy"},{name:"Clash",icon:zze,iconType:"img",platforms:["windows"],url:`clash://install-config?url=${X}&name=${re}`},{name:"Clash Meta",icon:Lze,iconType:"img",platforms:["mac","android"],url:`clash://install-config?url=${X}&name=${re}`},{name:"Hiddify",icon:Fze,iconType:"img",platforms:["mac","android","windows","ios"],url:`hiddify://import/${G}#${re}`},{name:"SingBox",icon:Dze,iconType:"img",platforms:["android","mac","ios"],url:`sing-box://import-remote-profile?url=${X}#${re}`},{name:"Shadowrocket",icon:Bze,iconType:"img",iconClass:"rounded-md",platforms:["mac","ios"],url:`shadowrocket://add/sub://${ae}?remark=${re}`},{name:"QuantumultX",icon:Nze,iconType:"img",iconClass:"rounded-md",platforms:["mac","ios"],url:`quantumult-x://add-resource?remote-resource=${X}&opt=policy`},{name:"Surge",icon:Hze,iconType:"img",iconClass:"rounded-md",platforms:["mac","ios"],url:`surge:///install-config?url=${X}&name=${re}`},{name:"Stash",icon:jze,iconType:"img",iconClass:"rounded-md",platforms:["mac","ios"],url:`stash://install-config?url=${X}&name=${re}`},{name:"NekoBox",icon:Uze,iconType:"img",platforms:["android"],url:`clash://install-config?url=${X}&name=${re}`},{name:"Surfboard",icon:Vze,iconType:"img",platforms:["android"],url:`surfboard:///install-config?url=${X}&name=${re}`}].filter(se=>se.platforms.includes(l)||l==="unknown")}),k=G=>{var re;(re=y.value)!=null&&re.subscribe_url&&(G.url==="copy"?Xs(y.value.subscribe_url):_(G.url))},P=()=>{var G;h.value=((G=y.value)==null?void 0:G.subscribe_url)||"",f.value=!0},T=O(()=>{var ae,B,xe;const G=(ae=y.value)==null?void 0:ae.transfer_enable,re=((B=y.value)==null?void 0:B.u)||0,X=((xe=y.value)==null?void 0:xe.d)||0;return G?Math.floor((re+X)/G*100):0}),{errorColor:E,warningColor:R,successColor:q,primaryColor:L}=n.value,D=O(()=>{const G=T.value;return G>=100?E:G>=70?R:q});async function F(){var xe,se;if(!await window.$dialog.confirm({title:t("确定重置当前已用流量?"),type:"info",content:t("点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。"),showIcon:!1}))return;const re=(xe=await qm())==null?void 0:xe.data,X=re==null?void 0:re.find(ge=>ge.status===Ls.PENDING);if(X)if(await window.$dialog.confirm({title:t("注意"),type:"info",content:t("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:t("确认取消"),negativeText:t("返回我的订单"),showIcon:!1})){const $=X.trade_no;if(!await Ku($))return}else{Gt.push("order");return}const ae=(se=y.value)==null?void 0:se.plan_id;if(!ae)return;const{data:B}=await hk(ae,"reset_price");B&&Gt.push("order/"+B)}const K=j([]),V=j([0,0,0]),le=j(),me=j(),ee=async()=>{const{data:G}=await zJ();K.value=G;const re=G.find(X=>{var ae;return(ae=X.tags)==null?void 0:ae.includes("弹窗")});re&&(c.value=!0,u.value=re)},N=async()=>{const{data:G}=await OJ();G&&(V.value=G)},M=async()=>{const{data:G}=await fk();if(!G)return;le.value=G;const re=[...new Set(G.map(X=>X.type==="hysteria"&&X.version===2?"hysteria2":X.type))];me.value=re,m.value=g.filter(X=>re.includes(X.type)||["auto","all"].includes(X.type))},Z=async()=>{await Promise.all([ee(),a.getUserSubscribe(),N(),M()])};return hn(()=>{Z()}),(G,re)=>{const X=ri,ae=Dm,B=yte,xe=pte,se=Fm,ge=Ji,$=zt,A=vo,oe=bl,Se=nk,ne=vl,ye=Ri,Pe=tV,I=xl,H=Zi,te=JY,_e=cte,he=rte,de=Zee,ie=Gee,fe=Uee,Oe=bo;return be(),We(Oe,{"show-footer":!1},{default:ve(()=>{var De,Le,Be,et;return[ce(X,{show:c.value,"onUpdate:show":re[0]||(re[0]=Me=>c.value=Me),class:"mx-2.5 max-w-full w-150 md:mx-auto",preset:"card",title:(De=u.value)==null?void 0:De.title,size:"huge",bordered:!1,"content-style":"padding-top:0",segmented:{content:!1}},{default:ve(()=>{var Me;return[Y("div",{innerHTML:r(((Me=u.value)==null?void 0:Me.content)||""),class:"markdown-body custom-html-style"},null,8,Wze)]}),_:1},8,["show","title"]),ce(X,{show:d.value,"onUpdate:show":re[3]||(re[3]=Me=>d.value=Me),"transform-origin":"center","auto-focus":!1,"display-directive":"show","trap-focus":!1},{default:ve(()=>[ce(A,{class:"max-w-full w-75",bordered:!1,size:"huge","content-style":"padding:0"},{default:ve(()=>[ce(se,{hoverable:""},{default:ve(()=>{var Me;return[(Me=me.value)!=null&&Me.includes("hysteria2")?(be(),We(ae,{key:0,class:"p-0!"},{default:ve(()=>[Y("div",{class:"flex cursor-pointer items-center p-2.5",onClick:re[1]||(re[1]=Xe=>{var gt;return Te(Xs)(((gt=y.value)==null?void 0:gt.subscribe_url)+"&types=hysteria2")})},[Y("div",qze,[ce(Te(Xo),{size:"30"},{default:ve(()=>[(be(),We(wa(Te(Oze))))]),_:1})]),Y("div",Kze,pe(G.$t("复制HY2订阅地址")),1)])]),_:1})):Ct("",!0),ce(ae,{class:"p-0!"},{default:ve(()=>[Y("div",{class:"flex cursor-pointer items-center p-2.5",onClick:P},[Y("div",Gze,[ce(B,{class:"text-3xl text-gray-600"})]),Y("div",Xze,pe(G.$t("扫描二维码订阅")),1)])]),_:1}),(be(!0),Fe(rt,null,Ln(x.value,Xe=>(be(),Fe(rt,{key:Xe.name},[Xe.platforms.includes(Te(l))?(be(),We(ae,{key:0,class:"p-0!"},{default:ve(()=>[Y("div",{class:"flex cursor-pointer items-center p-2.5",onClick:gt=>k(Xe)},[Y("div",Qze,[Xe.iconType==="img"?(be(),Fe("img",{key:0,src:Xe.icon,class:qn(["h-8 w-8",Xe.iconClass])},null,10,Jze)):(be(),We(Te(Xo),{key:1,size:"30",class:"text-gray-600"},{default:ve(()=>[Xe.icon==="icon-fluent:copy-24-filled"?(be(),We(xe,{key:0})):(be(),We(wa(Xe.icon),{key:1}))]),_:2},1024))]),Y("div",Zze,pe(Xe.name==="复制订阅链接"?G.$t("复制订阅地址"):G.$t("导入到")+" "+Xe.name),1)],8,Yze)]),_:2},1024)):Ct("",!0)],64))),128))]}),_:1}),ce(ge,{class:"m-0!"}),Y("div",eLe,[ce($,{type:"primary",class:"w-full",size:"large",onClick:re[2]||(re[2]=Me=>G.$router.push("/knowledge"))},{default:ve(()=>[nt(pe(G.$t("不会使用,查看使用教程")),1)]),_:1})])]),_:1})]),_:1},8,["show"]),ce(X,{show:f.value,"onUpdate:show":re[4]||(re[4]=Me=>f.value=Me)},{default:ve(()=>[ce(A,{class:"w-75"},{default:ve(()=>[Y("div",tLe,pe(G.$t("选择协议"))+":",1),Y("div",nLe,[(be(!0),Fe(rt,null,Ln(m.value,Me=>(be(),We(oe,{key:Me.type,value:Me.type,checked:p.value.includes(Me.type),onClick:Xe=>b(Me.type)},{default:ve(()=>[nt(pe(G.$t(Me.label)),1)]),_:2},1032,["value","checked","onClick"]))),128))]),Y("div",oLe,[ce(Se,{value:h.value,"icon-src":Te(i).logo,size:140,color:Te(L),style:{"box-sizing":"content-box"}},null,8,["value","icon-src","color"])]),Y("div",rLe,pe(G.$t("使用支持扫码的客户端进行订阅")),1)]),_:1})]),_:1},8,["show"]),Y("div",iLe,[V.value[1]&&V.value[1]>0||V.value[0]&&V.value[0]>0?(be(),Fe("div",aLe,[V.value[1]&&V.value[1]>0?(be(),We(ne,{key:0,type:"warning","show-icon":!1,bordered:!0,closable:"",class:"mb-1"},{default:ve(()=>[nt(pe(V.value[1])+" "+pe(G.$t("条工单正在处理中"))+" ",1),ce($,{strong:"",text:"",onClick:re[5]||(re[5]=Me=>Te(Gt).push("/ticket"))},{default:ve(()=>[nt(pe(G.$t("立即查看")),1)]),_:1})]),_:1})):Ct("",!0),V.value[0]&&V.value[0]>0?(be(),We(ne,{key:1,type:"error","show-icon":!1,bordered:!0,closable:"",class:"mb-1"},{default:ve(()=>[nt(pe(G.$t("还有没支付的订单"))+" ",1),ce($,{text:"",strong:"",onClick:re[6]||(re[6]=Me=>Te(Gt).push("/order"))},{default:ve(()=>[nt(pe(G.$t("立即支付")),1)]),_:1})]),_:1})):Ct("",!0),!((Le=y.value)!=null&&Le.expired_at&&(((Be=y.value)==null?void 0:Be.expired_at)||0)>Date.now()/1e3)&&T.value>=70?(be(),We(ne,{key:2,type:"info","show-icon":!1,bordered:!0,closable:"",class:"mb-1"},{default:ve(()=>[nt(pe(G.$tc("当前已使用流量达{rate}%",{rate:T.value}))+" ",1),ce($,{text:"",onClick:re[7]||(re[7]=Me=>F())},{default:ve(()=>[Y("span",sLe,pe(G.$t("重置已用流量")),1)]),_:1})]),_:1})):Ct("",!0)])):Ct("",!0),dn(ce(A,{class:"w-full cursor-pointer overflow-hidden rounded-md text-white transition hover:opacity-75",bordered:!1,"content-style":"padding: 0"},{default:ve(()=>[ce(Pe,{autoplay:""},{default:ve(()=>[(be(!0),Fe(rt,null,Ln(K.value,Me=>(be(),Fe("div",{key:Me.id,class:"",style:Di(Me.img_url?`background:url(${Me.img_url}) no-repeat;background-size: cover `:`background:url(${Te(i).$state.assets_path}/images/background.svg)`),onClick:Xe=>(c.value=!0,u.value=Me)},[Y("div",cLe,[Y("div",null,[ce(ye,{bordered:!1,class:"bg-orange-600 text-xs text-white"},{default:ve(()=>[nt(pe(G.$t("公告")),1)]),_:1})]),Y("div",null,[Y("p",uLe,pe(Me.title),1),Y("p",dLe,pe(Te(Wo)(Me.created_at)),1)])])],12,lLe))),128))]),_:1})]),_:1},512),[[Mn,((et=K.value)==null?void 0:et.length)>0]]),ce(A,{title:G.$t("我的订阅"),class:"mt-1 rounded-md md:mt-5"},{default:ve(()=>{var Me,Xe,gt,Q,we,Ie,qe,Qe,Je,tt,it,vt,an,Lt,ke,He;return[y.value?(Me=y.value)!=null&&Me.plan_id?(be(),Fe(rt,{key:1},[Y("div",fLe,pe((gt=(Xe=y.value)==null?void 0:Xe.plan)==null?void 0:gt.name),1),((Q=y.value)==null?void 0:Q.expired_at)===null?(be(),Fe("div",hLe,pe(G.$t("该订阅长期有效")),1)):(we=y.value)!=null&&we.expired_at&&(((Ie=y.value)==null?void 0:Ie.expired_at)??0)<Date.now()/1e3?(be(),Fe("div",pLe,pe(G.$t("已过期")),1)):(be(),Fe("div",mLe,[nt(pe(G.$tc("于 {date} 到期,距离到期还有 {day} 天。",{date:Te(Np)((qe=y.value)==null?void 0:qe.expired_at),day:Math.floor(((((Qe=y.value)==null?void 0:Qe.expired_at)??0)-Date.now()/1e3)/86400)}))+" ",1),Math.floor(((((Je=y.value)==null?void 0:Je.expired_at)??0)-Date.now()/1e3)/86400)>(((tt=y.value)==null?void 0:tt.reset_day)||0)?(be(),Fe(rt,{key:0},[nt(pe(G.$tc("已用流量将在 {reset_day} 日后重置",{reset_day:(it=y.value)==null?void 0:it.reset_day})),1)],64)):Ct("",!0)])),ce(te,{type:"line",percentage:T.value,processing:"",color:D.value},null,8,["percentage","color"]),Y("div",null,pe(G.$tc("已用 {used} / 总计 {total}",{used:Te(fa)(((((vt=y.value)==null?void 0:vt.u)||0)+(((an=y.value)==null?void 0:an.d)||0))/1024/1024/1024)+" GB",total:Te(fa)((((Lt=y.value)==null?void 0:Lt.transfer_enable)||0)/1024/1024/1024)+" GB"})),1),(ke=y.value)!=null&&ke.expired_at&&(((He=y.value)==null?void 0:He.expired_at)||0)<Date.now()/1e3?(be(),We($,{key:3,type:"primary",class:"mt-5",onClick:re[8]||(re[8]=Ze=>Te(Gt).push("/plan/"+Te(a).plan_id))},{default:ve(()=>[nt(pe(G.$t("续费订阅")),1)]),_:1})):T.value>=70?(be(),We($,{key:4,type:"primary",class:"mt-5",onClick:re[9]||(re[9]=Ze=>F())},{default:ve(()=>[nt(pe(G.$t("重置已用流量")),1)]),_:1})):Ct("",!0)],64)):(be(),Fe("div",{key:2,class:"cursor-pointer pt-5 text-center",onClick:re[10]||(re[10]=Ze=>Te(Gt).push("/plan"))},[ce(_e,{class:"text-4xl"}),Y("div",gLe,pe(G.$t("购买订阅")),1)])):(be(),We(H,{key:0},{default:ve(()=>[ce(I,{height:"20px",width:"33%"}),ce(I,{height:"20px",width:"66%"}),ce(I,{height:"20px"})]),_:1}))]}),_:1},8,["title"]),ce(A,{title:G.$t("捷径"),class:"mt-5 rounded-md","content-style":"padding: 0"},{default:ve(()=>[ce(se,{hoverable:"",clickable:""},{default:ve(()=>[ce(ae,{class:"flex flex cursor-pointer justify-between p-5 hover:bg-gray-100",onClick:re[11]||(re[11]=Me=>Te(Gt).push("/knowledge"))},{default:ve(()=>[Y("div",vLe,[Y("div",bLe,[Y("div",yLe,pe(G.$t("查看教程")),1),Y("div",xLe,pe(G.$t("学习如何使用"))+" "+pe(Te(i).title),1)]),Y("div",null,[ce(he,{class:"text-3xl text-gray-500-500"})])])]),_:1}),ce(ae,{class:"flex cursor-pointer justify-between p-5 hover:bg-gray-100",onClick:re[12]||(re[12]=Me=>d.value=!0)},{default:ve(()=>[Y("div",CLe,[Y("div",null,[Y("div",wLe,pe(G.$t("一键订阅")),1),Y("div",_Le,pe(G.$t("快速将节点导入对应客户端进行使用")),1)]),Y("div",null,[ce(de,{class:"text-3xl text-gray-500-500"})])])]),_:1}),ce(ae,{class:"flex cursor-pointer justify-between p-5",onClick:re[13]||(re[13]=Me=>Te(a).plan_id?Te(Gt).push("/plan/"+Te(a).plan_id):Te(Gt).push("/plan"))},{default:ve(()=>{var Me;return[Y("div",SLe,[Y("div",null,[Y("div",kLe,pe((Me=y.value)!=null&&Me.plan_id?G.$t("续费订阅"):G.$t("购买订阅")),1),Y("div",PLe,pe(G.$t("对您当前的订阅进行购买")),1)]),Y("div",null,[ce(ie,{class:"text-3xl text-gray-500-500"})])])]}),_:1}),ce(ae,{class:"flex cursor-pointer justify-between p-5",onClick:re[14]||(re[14]=Me=>G.$router.push("/ticket"))},{default:ve(()=>[Y("div",TLe,[Y("div",null,[Y("div",ALe,pe(G.$t("遇到问题")),1),Y("div",RLe,pe(G.$t("遇到问题可以通过工单与我们沟通")),1)]),Y("div",null,[ce(fe,{class:"text-3xl text-gray-500-500"})])])]),_:1})]),_:1})]),_:1},8,["title"])])]}),_:1})}}}),$Le=Xu(ELe,[["__scopeId","data-v-94f2350e"]]),ILe=Object.freeze(Object.defineProperty({__proto__:null,default:$Le},Symbol.toStringTag,{value:"Module"})),OLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},MLe=Y("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),zLe=[MLe];function LLe(e,t){return be(),Fe("svg",OLe,[...zLe])}const FLe={name:"ant-design-pay-circle-outlined",render:LLe},DLe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},BLe=Y("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.6 352.6 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.6 352.6 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),NLe=[BLe];function HLe(e,t){return be(),Fe("svg",DLe,[...NLe])}const jLe={name:"ant-design-transaction-outlined",render:HLe},ULe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},VLe=Y("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.9 2.9 0 0 0-.89.14a5 5 0 0 1 0 5.72A2.9 2.9 0 0 0 18 11a3 3 0 0 0 0-6M8 10H5V7H3v3H0v2h3v3h2v-3h3Z"},null,-1),WLe=[VLe];function qLe(e,t){return be(),Fe("svg",ULe,[...WLe])}const KLe={name:"mdi-invite",render:qLe},GLe={class:"text-5xl font-normal"},XLe={class:"ml-2.5 text-xl text-gray-500 md:ml-5"},YLe={class:"text-gray-500"},QLe={class:"flex justify-between pb-1 pt-1"},JLe={class:"flex justify-between pb-1 pt-1"},ZLe={key:0},eFe={key:1},tFe={class:"flex justify-between pb-1 pt-1"},nFe={class:"flex justify-between pb-1 pt-1"},oFe={class:"mt-2.5"},rFe={class:"mb-1"},iFe={class:"mt-2.5"},aFe={class:"mb-1"},sFe={class:"flex justify-end"},lFe={class:"mt-2.5"},cFe={class:"mb-1"},uFe={class:"mt-2.5"},dFe={class:"mb-1"},fFe={class:"flex justify-end"},hFe=Ce({__name:"index",setup(e){const t=Tn(),n=y=>mn.global.t(y),o=[{title:n("邀请码"),key:"code",render(y){const x=`${window.location.protocol}//${window.location.host}/#/register?code=${y.code}`;return v("div",[v("span",y.code),v(zt,{size:"small",onClick:()=>Xs(x),quaternary:!0,type:"info"},{default:()=>n("复制链接")})])}},{title:n("创建时间"),key:"created_at",fixed:"right",align:"right",render(y){return Wo(y.created_at)}}],r=[{title:n("发放时间"),key:"created_at",render(y){return Wo(y.created_at)}},{title:n("佣金"),key:"get_amount",fixed:"right",align:"right",render(y){return sn(y.get_amount)}}],i=j(),a=j([]);async function s(){const y=await BJ(),{data:x}=y;i.value=x.codes,a.value=x.stat}const l=j([]),c=to({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,50,100,150],onChange:y=>{c.page=y,u()},onUpdatePageSize:y=>{c.pageSize=y,c.page=1,u()}});async function u(){const y=await NJ(c.page,c.pageSize),{data:x}=y;l.value=x}const d=j(!1);async function f(){d.value=!0;const{data:y}=await HJ();y===!0&&(window.$message.success(n("已生成")),S()),d.value=!1}const h=j(!1),p=j(),g=j(!1);async function m(){g.value=!0;const y=p.value;if(typeof y!="number"){window.$message.error(n("请输入正确的划转金额")),g.value=!1;return}const{data:x}=await jJ(y*100);x===!0&&(window.$message.success(n("划转成功")),h.value=!1,s()),g.value=!1}const b=j(!1),w=to({method:null,account:null}),C=j(!1);async function _(){if(C.value=!0,!w.method){window.$message.error(n("提现方式不能为空")),C.value=!1;return}if(!w.account){window.$message.error(n("提现账号不能为空")),C.value=!1;return}const y=w.method,x=w.account,{data:k}=await UJ({withdraw_method:y,withdraw_account:x});k===!0&&Gt.push("/ticket"),C.value=!1}function S(){s(),u()}return hn(()=>{S()}),(y,x)=>{const k=KLe,P=PV,T=jLe,E=FLe,R=Zi,q=vo,L=Uu,D=vl,F=dr,K=qX,V=ri,le=gk,me=Bu,ee=bo;return be(),We(ee,null,{default:ve(()=>[ce(q,{title:y.$t("我的邀请"),class:"rounded-md"},{"header-extra":ve(()=>[ce(k,{class:"text-4xl text-gray-500"})]),default:ve(()=>{var N;return[Y("div",null,[Y("span",GLe,[ce(P,{from:0,to:parseFloat(Te(sn)(a.value[4])),active:!0,precision:2,duration:500},null,8,["to"])]),Y("span",XLe,pe((N=Te(t).appConfig)==null?void 0:N.currency),1)]),Y("div",YLe,pe(y.$t("当前剩余佣金")),1),ce(R,{class:"mt-2.5"},{default:ve(()=>{var M;return[ce(Te(zt),{size:"small",type:"primary",onClick:x[0]||(x[0]=Z=>h.value=!0)},{icon:ve(()=>[ce(T)]),default:ve(()=>[nt(" "+pe(y.$t("划转")),1)]),_:1}),(M=Te(t).appConfig)!=null&&M.withdraw_close?Ct("",!0):(be(),We(Te(zt),{key:0,size:"small",type:"primary",onClick:x[1]||(x[1]=Z=>b.value=!0)},{icon:ve(()=>[ce(E)]),default:ve(()=>[nt(" "+pe(y.$t("推广佣金提现")),1)]),_:1}))]}),_:1})]}),_:1},8,["title"]),ce(q,{class:"mt-4 rounded-md"},{default:ve(()=>{var N,M,Z,G,re,X;return[Y("div",QLe,[Y("div",null,pe(y.$t("已注册用户数")),1),Y("div",null,pe(y.$tc("{number} 人",{number:a.value[0]})),1)]),Y("div",JLe,[Y("div",null,pe(y.$t("佣金比例")),1),(N=Te(t).appConfig)!=null&&N.commission_distribution_enable?(be(),Fe("div",ZLe,pe(`${Math.floor((((M=Te(t).appConfig)==null?void 0:M.commission_distribution_l1)||0)*a.value[3]/100)}%,${Math.floor((((Z=Te(t).appConfig)==null?void 0:Z.commission_distribution_l2)||0)*a.value[3]/100)}%,${Math.floor((((G=Te(t).appConfig)==null?void 0:G.commission_distribution_l3)||0)*a.value[3]/100)}%`),1)):(be(),Fe("div",eFe,pe(a.value[3])+"%",1))]),Y("div",tFe,[Y("div",null,pe(y.$t("确认中的佣金")),1),Y("div",null,pe((re=Te(t).appConfig)==null?void 0:re.currency_symbol)+" "+pe(Te(sn)(a.value[2])),1)]),Y("div",nFe,[Y("div",null,pe(y.$t("累计获得佣金")),1),Y("div",null,pe((X=Te(t).appConfig)==null?void 0:X.currency_symbol)+" "+pe(Te(sn)(a.value[1])),1)])]}),_:1}),ce(q,{title:y.$t("邀请码管理"),class:"mt-4 rounded-md"},{"header-extra":ve(()=>[ce(Te(zt),{size:"small",type:"primary",round:"",loading:d.value,onClick:f},{default:ve(()=>[nt(pe(y.$t("生成邀请码")),1)]),_:1},8,["loading"])]),default:ve(()=>[ce(L,{columns:o,data:i.value,bordered:!0},null,8,["data"])]),_:1},8,["title"]),ce(q,{title:y.$t("佣金发放记录"),class:"mt-4 rounded-md"},{default:ve(()=>[ce(L,{columns:r,data:l.value,pagination:c},null,8,["data","pagination"])]),_:1},8,["title"]),ce(V,{show:h.value,"onUpdate:show":x[6]||(x[6]=N=>h.value=N)},{default:ve(()=>[ce(q,{title:y.$t("划转"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-2.5 max-w-full w-150 md:mx-auto",closable:"",onClose:x[5]||(x[5]=N=>h.value=!1)},{footer:ve(()=>[Y("div",sFe,[Y("div",null,[ce(Te(zt),{onClick:x[3]||(x[3]=N=>h.value=!1)},{default:ve(()=>[nt(pe(y.$t("取消")),1)]),_:1}),ce(Te(zt),{type:"primary",class:"ml-2.5",onClick:x[4]||(x[4]=N=>m()),loading:g.value,disabled:g.value},{default:ve(()=>[nt(pe(y.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ve(()=>[ce(D,{type:"warning"},{default:ve(()=>[nt(pe(y.$tc("划转后的余额仅用于{title}消费使用",{title:Te(t).title})),1)]),_:1}),Y("div",oFe,[Y("div",rFe,pe(y.$t("当前推广佣金余额")),1),ce(F,{placeholder:Te(sn)(a.value[4]),type:"number",disabled:""},null,8,["placeholder"])]),Y("div",iFe,[Y("div",aFe,pe(y.$t("划转金额")),1),ce(K,{value:p.value,"onUpdate:value":x[2]||(x[2]=N=>p.value=N),min:0,placeholder:y.$t("请输入需要划转到余额的金额"),clearable:""},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ce(V,{show:b.value,"onUpdate:show":x[12]||(x[12]=N=>b.value=N)},{default:ve(()=>[ce(q,{title:y.$t("推广佣金划转至余额"),segmented:{content:!0,footer:!0},"footer-style":"padding-top: 10px; padding-bottom:10px",class:"mx-2.5 max-w-full w-150 md:mx-auto"},{"header-extra":ve(()=>[ce(Te(zt),{class:"h-auto p-0.5",tertiary:"",size:"large",onClick:x[7]||(x[7]=N=>b.value=!1)},{icon:ve(()=>[ce(le,{class:"cursor-pointer opacity-85"})]),_:1})]),footer:ve(()=>[Y("div",fFe,[Y("div",null,[ce(Te(zt),{onClick:x[10]||(x[10]=N=>b.value=!1)},{default:ve(()=>[nt(pe(y.$t("取消")),1)]),_:1}),ce(Te(zt),{type:"primary",class:"ml-2.5",onClick:x[11]||(x[11]=N=>_()),loading:C.value,disabled:C.value},{default:ve(()=>[nt(pe(y.$t("确定")),1)]),_:1},8,["loading","disabled"])])])]),default:ve(()=>{var N;return[Y("div",lFe,[Y("div",cFe,pe(y.$t("提现方式")),1),ce(me,{value:w.method,"onUpdate:value":x[8]||(x[8]=M=>w.method=M),options:(N=Te(t).appConfig)==null?void 0:N.withdraw_methods.map(M=>({label:M,value:M})),placeholder:y.$t("请选择提现方式")},null,8,["value","options","placeholder"])]),Y("div",uFe,[Y("div",dFe,pe(y.$t("提现账号")),1),ce(F,{value:w.account,"onUpdate:value":x[9]||(x[9]=M=>w.account=M),placeholder:y.$t("请输入提现账号"),type:"string"},null,8,["value","placeholder"])])]}),_:1},8,["title"])]),_:1},8,["show"])]),_:1})}}}),pFe=Object.freeze(Object.defineProperty({__proto__:null,default:hFe},Symbol.toStringTag,{value:"Module"})),mFe={class:""},gFe={class:"mb-1 text-base font-semibold"},vFe={class:"text-xs text-gray-500"},bFe=["innerHTML"],yFe=Ce({__name:"index",setup(e){const t=Tn(),n=new id({html:!0}),o=f=>n.render(f);window.copy=f=>Xs(f),window.jump=f=>a(f);const r=j(!1),i=j();async function a(f){const{data:h}=await oZ(f,t.lang);h&&(i.value=h),r.value=!0}const s=j(""),l=j(!0),c=j();async function u(){l.value=!0;const f=s.value,{data:h}=await nZ(f,t.lang);c.value=h,l.value=!1}function d(){u()}return hn(()=>{d()}),(f,h)=>{const p=dr,g=zt,m=_m,b=xl,w=Zi,C=Dm,_=Fm,S=vo,y=pK,x=T2,k=bo;return be(),We(k,{"show-footer":!1},{default:ve(()=>[ce(m,null,{default:ve(()=>[ce(p,{placeholder:f.$t("使用文档"),value:s.value,"onUpdate:value":h[0]||(h[0]=P=>s.value=P),onKeyup:h[1]||(h[1]=Ss(P=>d(),["enter"]))},null,8,["placeholder","value"]),ce(g,{type:"primary",ghost:"",onClick:h[2]||(h[2]=P=>d())},{default:ve(()=>[nt(pe(f.$t("搜索")),1)]),_:1})]),_:1}),l.value?(be(),We(w,{key:0,vertical:"",class:"mt-5"},{default:ve(()=>[ce(b,{height:"20px",width:"33%"}),ce(b,{height:"20px",width:"66%"}),ce(b,{height:"20px"})]),_:1})):Ct("",!0),(be(!0),Fe(rt,null,Ln(c.value,(P,T)=>(be(),We(S,{key:T,title:T,class:"mt-5 rounded-md",contentStyle:"padding:0"},{default:ve(()=>[ce(_,{clickable:"",hoverable:""},{default:ve(()=>[(be(!0),Fe(rt,null,Ln(P,E=>(be(),We(C,{key:E.id,onClick:R=>a(E.id)},{default:ve(()=>[Y("div",mFe,[Y("div",gFe,pe(E.title),1),Y("div",vFe,pe(f.$t("最后更新"))+" "+pe(Te(Np)(E.updated_at)),1)])]),_:2},1032,["onClick"]))),128))]),_:2},1024)]),_:2},1032,["title"]))),128)),ce(x,{show:r.value,"onUpdate:show":h[3]||(h[3]=P=>r.value=P),width:"80%",placement:"right"},{default:ve(()=>{var P;return[ce(y,{title:(P=i.value)==null?void 0:P.title,closable:""},{default:ve(()=>{var T;return[Y("div",{innerHTML:o(((T=i.value)==null?void 0:T.body)||""),class:"custom-html-style markdown-body"},null,8,bFe)]}),_:1},8,["title"])]}),_:1},8,["show"])]),_:1})}}}),xFe=Object.freeze(Object.defineProperty({__proto__:null,default:yFe},Symbol.toStringTag,{value:"Module"})),CFe={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},wFe=Y("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),_Fe=[wFe];function SFe(e,t){return be(),Fe("svg",CFe,[..._Fe])}const kFe={name:"mdi-help-circle-outline",render:SFe},PFe={class:"flex"},TFe={class:"flex-[1]"},AFe={class:"flex flex-[2] flex-shrink-0 text-center"},RFe={class:"flex flex-1 items-center justify-center"},EFe={class:"flex flex-1 items-center justify-center"},$Fe={class:"flex-1"},IFe={class:"flex"},OFe={class:"flex-[1] break-anywhere"},MFe={class:"flex flex-[2] flex-shrink-0 items-center text-center"},zFe={class:"flex flex-[1] items-center justify-center"},LFe={class:"flex-[1]"},FFe={class:"flex-[1]"},DFe={key:0},BFe={key:1},NFe=Ce({__name:"index",setup(e){const t=j([]),n=j(!0);async function o(){n.value=!0;const r=await fk(),{data:i}=r;t.value=i,n.value=!1}return hn(()=>{o()}),(r,i)=>{const a=xl,s=Zi,l=kFe,c=Hu,u=Ri,d=Dm,f=Fm,h=ou("router-link"),p=vl,g=bo;return be(),We(g,null,{default:ve(()=>[n.value?(be(),We(s,{key:0,vertical:"",class:"mt-5"},{default:ve(()=>[ce(a,{height:"20px",width:"33%"}),ce(a,{height:"20px",width:"66%"}),ce(a,{height:"20px"})]),_:1})):t.value.length>0?(be(),We(f,{key:1,clickable:"",hoverable:""},{header:ve(()=>[Y("div",PFe,[Y("div",TFe,pe(r.$t("名称")),1),Y("div",AFe,[Y("div",RFe,[nt(pe(r.$t("状态"))+" ",1),ce(c,{placement:"bottom",trigger:"hover"},{trigger:ve(()=>[ce(l,{class:"ml-1 text-base"})]),default:ve(()=>[Y("span",null,pe(r.$t("五分钟内节点在线情况")),1)]),_:1})]),Y("div",EFe,[nt(pe(r.$t("倍率"))+" ",1),ce(c,{placement:"bottom",trigger:"hover"},{trigger:ve(()=>[ce(l,{class:"ml-1 text-base"})]),default:ve(()=>[Y("span",null,pe(r.$t("使用的流量将乘以倍率进行扣除")),1)]),_:1})]),Y("div",$Fe,pe(r.$t("标签")),1)])])]),default:ve(()=>[(be(!0),Fe(rt,null,Ln(t.value,m=>(be(),We(d,{key:m.id},{default:ve(()=>[Y("div",IFe,[Y("div",OFe,pe(m.name),1),Y("div",MFe,[Y("div",zFe,[Y("div",{class:qn(["h-1.5 w-1.5 rounded-full",m.is_online?"bg-blue-500":"bg-red-500"])},null,2)]),Y("div",LFe,[ce(u,{size:"small",round:"",class:""},{default:ve(()=>[nt(pe(m.rate)+" x ",1)]),_:2},1024)]),Y("div",FFe,[m.tags&&m.tags.length>0?(be(),Fe("div",DFe,[(be(!0),Fe(rt,null,Ln(m.tags,b=>(be(),We(u,{size:"small",round:"",key:b},{default:ve(()=>[nt(pe(b),1)]),_:2},1024))),128))])):(be(),Fe("span",BFe,"-"))])])])]),_:2},1024))),128))]),_:1})):(be(),We(p,{key:2,type:"info"},{default:ve(()=>[Y("div",null,[nt(pe(r.$t("没有可用节点,如果您未订阅或已过期请"))+" ",1),ce(h,{class:"font-semibold",to:"/plan"},{default:ve(()=>[nt(pe(r.$t("订阅")),1)]),_:1}),nt("。 ")])]),_:1}))]),_:1})}}}),HFe=Object.freeze(Object.defineProperty({__proto__:null,default:NFe},Symbol.toStringTag,{value:"Module"})),jFe=Ce({__name:"index",setup(e){const t=s=>mn.global.t(s),n=[{title:t("# 订单号"),key:"trade_no",render(s){return v(zt,{text:!0,class:"color-primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>s.trade_no})}},{title:t("周期"),key:"period",render(s){return v(Ri,{round:!0,size:"small"},{default:()=>t(Dk[s.period])})}},{title:t("订单金额"),key:"total_amount",render(s){return sn(s.total_amount)}},{title:t("订单状态"),key:"status",render(s){const l=t(Mze[s.status]),c=v("div",{class:["h-1.5 w-1.5 rounded-full mr-1.2",s.status===3?"bg-green-500":"bg-red-500"]});return v("div",{class:"flex items-center"},[c,l])}},{title:t("创建时间"),key:"created_at",render(s){return Wo(s.created_at)}},{title:t("操作"),key:"actions",fixed:"right",render(s){const l=v(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/order/${s.trade_no}`)},{default:()=>t("查看详情")}),c=v(zt,{text:!0,type:"primary",disabled:s.status!==0,onClick:()=>o(s.trade_no)},{default:()=>t("取消")}),u=v(Ji,{vertical:!0});return v("div",[l,u,c])}}];async function o(s){window.$dialog.confirm({title:t("注意"),type:"info",content:t("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:l}=await Ku(s);l===!0&&(window.$message.success(t("取消成功")),a())}})}const r=j([]);async function i(){const s=await qm(),{data:l}=s;r.value=l}async function a(){i()}return hn(()=>{a()}),(s,l)=>{const c=Uu,u=bo;return be(),We(u,null,{default:ve(()=>[ce(c,{columns:n,data:r.value,bordered:!1,"scroll-x":800},null,8,["data"])]),_:1})}}}),UFe=Object.freeze(Object.defineProperty({__proto__:null,default:jFe},Symbol.toStringTag,{value:"Module"})),VFe={class:"inline-block",viewBox:"0 0 48 48",width:"1em",height:"1em"},WFe=Y("g",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd"},[Y("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"}),Y("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),qFe=[WFe];function KFe(e,t){return be(),Fe("svg",VFe,[...qFe])}const Bk={name:"healthicons-yes-outline",render:KFe},GFe={class:"inline-block",viewBox:"0 0 1024 1024",width:"1em",height:"1em"},XFe=Y("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.8 31.8 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.8 31.8 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.8 31.8 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),YFe=[XFe];function QFe(e,t){return be(),Fe("svg",GFe,[...YFe])}const JFe={name:"simple-line-icons-book-open",render:QFe},ZFe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},eDe=Y("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),tDe=[eDe];function nDe(e,t){return be(),Fe("svg",ZFe,[...tDe])}const oDe={name:"dashicons-yes-alt",render:nDe},rDe={class:"inline-block",viewBox:"0 0 20 20",width:"1em",height:"1em"},iDe=Y("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),aDe=[iDe];function sDe(e,t){return be(),Fe("svg",rDe,[...aDe])}const lDe={name:"dashicons-warning",render:sDe},cDe={class:"relative max-w-full w-75",style:{"padding-bottom":"100%"}},uDe={class:"p-2.5 text-center"},dDe={key:1,class:"flex flex-wrap"},fDe={class:"w-full md:flex-[2]"},hDe={key:2,class:"mt-2.5 text-xl"},pDe={key:3,class:"text-sm text-[rgba(0,0,0,0.45)]"},mDe={class:"flex"},gDe={class:"flex-[1] text-gray-400"},vDe={class:"flex-[2]"},bDe={class:"flex"},yDe={class:"mt-1 flex-[1] text-gray-400"},xDe={class:"flex-[2]"},CDe={class:"flex"},wDe={class:"mb-1 mt-1 flex-[1] text-gray-400"},_De={class:"flex-[2]"},SDe={class:"flex"},kDe={class:"flex-[1] text-gray-400"},PDe={class:"flex-[2]"},TDe={key:0,class:"flex"},ADe={class:"flex-[1] text-gray-400"},RDe={class:"flex-[2]"},EDe={key:1,class:"flex"},$De={class:"flex-[1] text-gray-400"},IDe={class:"flex-[2]"},ODe={key:2,class:"flex"},MDe={class:"flex-[1] text-gray-400"},zDe={class:"flex-[2]"},LDe={key:3,class:"flex"},FDe={class:"flex-[1] text-gray-400"},DDe={class:"flex-[2]"},BDe={key:4,class:"flex"},NDe={class:"flex-[1] text-gray-400"},HDe={class:"flex-[2]"},jDe={class:"flex"},UDe={class:"mt-1 flex-[1] text-gray-400"},VDe={class:"flex-[2]"},WDe=["onClick"],qDe={class:"flex-[1] whitespace-nowrap"},KDe={class:"flex-[1]"},GDe=["src"],XDe={key:0,class:"w-full md:flex-[1] md:pl-5"},YDe={class:"mt-5 rounded-md bg-gray-800 p-5 text-white"},QDe={class:"text-lg font-semibold"},JDe={class:"flex border-gray-600 border-b pb-4 pt-4"},ZDe={class:"flex-[2]"},eBe={class:"flex-[1] text-right color-#f8f9fa"},tBe={key:0,class:"border-[#646669] border-b pb-4 pt-4"},nBe={class:"color-#f8f9fa41"},oBe={class:"pt-4 text-right"},rBe={key:1,class:"border-[#646669] border-b pb-4 pt-4"},iBe={class:"color-#f8f9fa41"},aBe={class:"pt-4 text-right"},sBe={key:2,class:"border-[#646669] border-b pb-4 pt-4"},lBe={class:"color-#f8f9fa41"},cBe={class:"pt-4 text-right"},uBe={key:3,class:"border-[#646669] border-b pb-4 pt-4"},dBe={class:"color-#f8f9fa41"},fBe={class:"pt-4 text-right"},hBe={key:4,class:"border-[#646669] border-b pb-4 pt-4"},pBe={class:"color-#f8f9fa41"},mBe={class:"pt-4 text-right"},gBe={class:"pb-4 pt-4"},vBe={class:"color-#f8f9fa41"},bBe={class:"text-4xl font-semibold"},yBe=Ce({__name:"detail",setup(e){const t=Tn(),n=ea(),o=Da(),r=x=>mn.global.t(x);function i(x){switch(x){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 a(){window.$dialog.confirm({title:r("注意"),type:"info",content:r("如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?"),async confirm(){const{data:x}=await Ku(s.value);x===!0&&(window.$message.success(r("取消成功")),y())}})}const s=j(""),l=j(),c=j(),u=j(!0);async function d(){u.value=!0;const{data:x}=await FJ(s.value);l.value=x,clearInterval(c.value),x.status===Ls.PENDING&&p(),[Ls.PENDING,Ls.PROCESSING].includes(x.status)&&(c.value=setInterval(_,1500)),u.value=!1}const f=j([]),h=j(0);async function p(){const{data:x}=await KJ();f.value=x}function g(){var k,P,T,E,R;return(((k=l.value)==null?void 0:k.plan[l.value.period])||0)-(((P=l.value)==null?void 0:P.balance_amount)||0)-(((T=l.value)==null?void 0:T.surplus_amount)||0)+(((E=l.value)==null?void 0:E.refund_amount)||0)-(((R=l.value)==null?void 0:R.discount_amount)||0)}function m(){const x=f.value[h.value];return(x!=null&&x.handling_fee_percent||x!=null&&x.handling_fee_fixed)&&g()?g()*parseFloat(x.handling_fee_percent||"0")/100+((x==null?void 0:x.handling_fee_fixed)||0):0}async function b(){const x=f.value[h.value],{data:k,type:P}=await GJ(s.value,x==null?void 0:x.id);k&&(k===!0?(window.$message.info(r("支付成功")),setTimeout(()=>{S()},500)):P===0?(w.value=!0,C.value=k):P===1&&(window.$message.info(r("正在前往收银台")),setTimeout(()=>{window.location.href=k},500)))}const w=j(!1),C=j("");async function _(){var k;const{data:x}=await DJ(s.value);x!==((k=l.value)==null?void 0:k.status)&&S()}async function S(){y(),n.getUserInfo()}async function y(){d(),w.value=!1}return hn(()=>{typeof o.params.trade_no=="string"&&(s.value=o.params.trade_no),y()}),La(()=>{clearInterval(c.value)}),(x,k)=>{const P=nk,T=Ji,E=vo,R=ri,q=xl,L=Zi,D=lDe,F=oDe,K=JFe,V=zt,le=Bk,me=bo;return be(),We(me,null,{default:ve(()=>{var ee,N,M,Z,G,re,X,ae,B,xe,se,ge,$,A,oe,Se,ne,ye,Pe,I,H,te,_e,he,de,ie;return[ce(R,{show:w.value,"onUpdate:show":k[0]||(k[0]=fe=>w.value=fe),onOnAfterLeave:k[1]||(k[1]=fe=>C.value="")},{default:ve(()=>[ce(E,{"content-style":"padding:10px",class:"w-auto",bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{default:ve(()=>[Y("div",cDe,[C.value?(be(),We(P,{key:0,value:C.value,class:"pay-qrcode absolute h-full! w-full!",size:"400"},null,8,["value"])):Ct("",!0)]),ce(T,{class:"m-0!"}),Y("div",uDe,pe(x.$t("等待支付中")),1)]),_:1})]),_:1},8,["show"]),u.value?(be(),We(L,{key:0,vertical:"",class:"mt-5"},{default:ve(()=>[ce(q,{height:"20px",width:"33%"}),ce(q,{height:"20px",width:"66%"}),ce(q,{height:"20px"})]),_:1})):(be(),Fe("div",dDe,[Y("div",fDe,[((ee=l.value)==null?void 0:ee.status)!==0?(be(),We(E,{key:0,class:"flex text-center","items-center":"","border-rounded-5":""},{default:ve(()=>{var fe,Oe,De,Le,Be,et;return[((fe=l.value)==null?void 0:fe.status)===2?(be(),We(D,{key:0,class:"text-9xl color-#f9a314"})):Ct("",!0),((Oe=l.value)==null?void 0:Oe.status)===3||((De=l.value)==null?void 0:De.status)==4?(be(),We(F,{key:1,class:"text-9xl color-#48bc19"})):Ct("",!0),(Le=l.value)!=null&&Le.status?(be(),Fe("div",hDe,pe(i(l.value.status).title),1)):Ct("",!0),(Be=l.value)!=null&&Be.status?(be(),Fe("div",pDe,pe(i(l.value.status).subTitle),1)):Ct("",!0),((et=l.value)==null?void 0:et.status)===3?(be(),We(V,{key:4,"icon-placement":"left",strong:"",color:"#db4619",size:"small",round:"",class:"mt-8",onClick:k[2]||(k[2]=Me=>x.$router.push("/knowledge"))},{icon:ve(()=>[ce(K)]),default:ve(()=>[nt(" "+pe(x.$t("查看使用教程")),1)]),_:1})):Ct("",!0)]}),_:1})):Ct("",!0),ce(E,{class:"mt-5 rounded-md",title:x.$t("商品信息")},{default:ve(()=>{var fe,Oe,De;return[Y("div",mDe,[Y("div",gDe,pe(x.$t("产品名称"))+":",1),Y("div",vDe,pe((fe=l.value)==null?void 0:fe.plan.name),1)]),Y("div",bDe,[Y("div",yDe,pe(x.$t("类型/周期"))+":",1),Y("div",xDe,pe((Oe=l.value)!=null&&Oe.period?x.$t(Te(Dk)[l.value.period]):""),1)]),Y("div",CDe,[Y("div",wDe,pe(x.$t("产品流量"))+":",1),Y("div",_De,pe((De=l.value)==null?void 0:De.plan.transfer_enable)+" GB",1)])]}),_:1},8,["title"]),ce(E,{class:"mt-5 rounded-md",title:x.$t("订单信息")},{"header-extra":ve(()=>{var fe;return[((fe=l.value)==null?void 0:fe.status)===0?(be(),We(V,{key:0,color:"#db4619",size:"small",round:"",strong:"",onClick:k[3]||(k[3]=Oe=>a())},{default:ve(()=>[nt(pe(x.$t("关闭订单")),1)]),_:1})):Ct("",!0)]}),default:ve(()=>{var fe,Oe,De,Le,Be,et,Me,Xe,gt,Q,we;return[Y("div",SDe,[Y("div",kDe,pe(x.$t("订单号"))+":",1),Y("div",PDe,pe((fe=l.value)==null?void 0:fe.trade_no),1)]),(Oe=l.value)!=null&&Oe.discount_amount&&((De=l.value)==null?void 0:De.discount_amount)>0?(be(),Fe("div",TDe,[Y("div",ADe,pe(x.$t("优惠金额")),1),Y("div",RDe,pe(Te(sn)(l.value.discount_amount)),1)])):Ct("",!0),(Le=l.value)!=null&&Le.surplus_amount&&((Be=l.value)==null?void 0:Be.surplus_amount)>0?(be(),Fe("div",EDe,[Y("div",$De,pe(x.$t("旧订阅折抵金额")),1),Y("div",IDe,pe(Te(sn)(l.value.surplus_amount)),1)])):Ct("",!0),(et=l.value)!=null&&et.refund_amount&&((Me=l.value)==null?void 0:Me.refund_amount)>0?(be(),Fe("div",ODe,[Y("div",MDe,pe(x.$t("退款金额")),1),Y("div",zDe,pe(Te(sn)(l.value.refund_amount)),1)])):Ct("",!0),(Xe=l.value)!=null&&Xe.balance_amount&&((gt=l.value)==null?void 0:gt.balance_amount)>0?(be(),Fe("div",LDe,[Y("div",FDe,pe(x.$t("余额支付 ")),1),Y("div",DDe,pe(Te(sn)(l.value.balance_amount)),1)])):Ct("",!0),((Q=l.value)==null?void 0:Q.status)===0&&m()>0?(be(),Fe("div",BDe,[Y("div",NDe,pe(x.$t("支付手续费"))+":",1),Y("div",HDe,pe(Te(sn)(m())),1)])):Ct("",!0),Y("div",jDe,[Y("div",UDe,pe(x.$t("创建时间"))+":",1),Y("div",VDe,pe(Te(Wo)((we=l.value)==null?void 0:we.created_at)),1)])]}),_:1},8,["title"]),((N=l.value)==null?void 0:N.status)===0?(be(),We(E,{key:1,title:x.$t("支付方式"),class:"mt-5","content-style":"padding:0"},{default:ve(()=>[(be(!0),Fe(rt,null,Ln(f.value,(fe,Oe)=>(be(),Fe("div",{key:fe.id,class:qn(["border-2 rounded-md p-5 border-solid flex",h.value===Oe?"border-primary":"border-transparent"]),onClick:De=>h.value=Oe},[Y("div",qDe,pe(fe.name),1),Y("div",KDe,[Y("img",{class:"max-h-8",src:fe.icon},null,8,GDe)])],10,WDe))),128))]),_:1},8,["title"])):Ct("",!0)]),((M=l.value)==null?void 0:M.status)===0?(be(),Fe("div",XDe,[Y("div",YDe,[Y("div",QDe,pe(x.$t("订单总额")),1),Y("div",JDe,[Y("div",ZDe,pe((Z=l.value)==null?void 0:Z.plan.name),1),Y("div",eBe,pe((G=Te(t).appConfig)==null?void 0:G.currency_symbol)+pe(((re=l.value)==null?void 0:re.period)&&Te(sn)((X=l.value)==null?void 0:X.plan[l.value.period])),1)]),(ae=l.value)!=null&&ae.surplus_amount&&((B=l.value)==null?void 0:B.surplus_amount)>0?(be(),Fe("div",tBe,[Y("div",nBe,pe(x.$t("折抵")),1),Y("div",oBe," - "+pe((xe=Te(t).appConfig)==null?void 0:xe.currency_symbol)+pe(Te(sn)((se=l.value)==null?void 0:se.surplus_amount)),1)])):Ct("",!0),(ge=l.value)!=null&&ge.discount_amount&&(($=l.value)==null?void 0:$.discount_amount)>0?(be(),Fe("div",rBe,[Y("div",iBe,pe(x.$t("折扣")),1),Y("div",aBe," - "+pe((A=Te(t).appConfig)==null?void 0:A.currency_symbol)+pe(Te(sn)((oe=l.value)==null?void 0:oe.discount_amount)),1)])):Ct("",!0),(Se=l.value)!=null&&Se.refund_amount&&((ne=l.value)==null?void 0:ne.refund_amount)>0?(be(),Fe("div",sBe,[Y("div",lBe,pe(x.$t("退款")),1),Y("div",cBe," - "+pe((ye=Te(t).appConfig)==null?void 0:ye.currency_symbol)+pe(Te(sn)((Pe=l.value)==null?void 0:Pe.refund_amount)),1)])):Ct("",!0),(I=l.value)!=null&&I.balance_amount&&((H=l.value)==null?void 0:H.balance_amount)>0?(be(),Fe("div",uBe,[Y("div",dBe,pe(x.$t("余额支付")),1),Y("div",fBe," - "+pe((te=Te(t).appConfig)==null?void 0:te.currency_symbol)+pe(Te(sn)((_e=l.value)==null?void 0:_e.balance_amount)),1)])):Ct("",!0),m()>0?(be(),Fe("div",hBe,[Y("div",pBe,pe(x.$t("支付手续费")),1),Y("div",mBe," + "+pe((he=Te(t).appConfig)==null?void 0:he.currency_symbol)+pe(Te(sn)(m())),1)])):Ct("",!0),Y("div",gBe,[Y("div",vBe,pe(x.$t("总计")),1),Y("div",bBe,pe((de=Te(t).appConfig)==null?void 0:de.currency_symbol)+" "+pe(Te(sn)(g()+m()))+" "+pe((ie=Te(t).appConfig)==null?void 0:ie.currency),1)]),ce(V,{type:"primary",class:"w-full text-white","icon-placement":"left",strong:"",onClick:k[4]||(k[4]=fe=>b())},{icon:ve(()=>[ce(le)]),default:ve(()=>[nt(" "+pe(x.$t("结账")),1)]),_:1})])])):Ct("",!0)]))]}),_:1})}}}),xBe=Object.freeze(Object.defineProperty({__proto__:null,default:yBe},Symbol.toStringTag,{value:"Module"})),CBe={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},wBe=Y("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),_Be=Y("path",{fill:"currentColor",d:"m32.283 16.302l1.414 1.415l-15.98 15.98l-1.414-1.414z"},null,-1),SBe=Y("path",{fill:"currentColor",d:"m17.717 16.302l15.98 15.98l-1.414 1.415l-15.98-15.98z"},null,-1),kBe=[wBe,_Be,SBe];function PBe(e,t){return be(),Fe("svg",CBe,[...kBe])}const Nk={name:"ei-close-o",render:PBe},TBe={class:"inline-block",viewBox:"0 0 50 50",width:"1em",height:"1em"},ABe=Y("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),RBe=Y("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),EBe=[ABe,RBe];function $Be(e,t){return be(),Fe("svg",TBe,[...EBe])}const Hk={name:"ei-check",render:$Be},IBe={class:"ml-auto mr-auto max-w-1200 w-full"},OBe={class:"m-3 mb-1 mt-1 text-3xl font-normal"},MBe={class:"card-container mt-2.5 md:mt-10"},zBe=["onClick"],LBe={class:"vertical-bottom"},FBe={class:"text-3xl font-semibold"},DBe={class:"pl-1 text-base text-gray-500"},BBe={key:0},NBe=["innerHTML"],HBe=Ce({__name:"index",setup(e){const t=Tn(),n=d=>mn.global.t(d),o=new id({html:!0}),r=d=>o.render(d),i=j(0),a=[{value:0,label:n("全部")},{value:1,label:n("按周期")},{value:2,label:n("按流量")}],s=j([]),l=j([]);ut([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 LJ();d.forEach(f=>{const h=u(f);f.price=h.price,f.cycle=h.cycle}),l.value=d}hn(()=>{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 h=gW,p=n2,g=Hk,m=Nk,b=Xo,w=zt,C=vo,_=bo;return be(),We(_,null,{default:ve(()=>[Y("div",IBe,[Y("h2",OBe,pe(d.$t("选择最适合你的计划")),1),ce(p,{value:i.value,"onUpdate:value":f[0]||(f[0]=S=>i.value=S),name:"plan_select",class:""},{default:ve(()=>[(be(),Fe(rt,null,Ln(a,S=>ce(h,{key:S.value,value:S.value,label:S.label,style:{background:"--n-color"}},null,8,["value","label"])),64))]),_:1},8,["value"]),Y("section",MBe,[(be(!0),Fe(rt,null,Ln(s.value,S=>(be(),Fe("div",{class:"card-item min-w-75 cursor-pointer",key:S.id,onClick:y=>d.$router.push("/plan/"+S.id)},[ce(C,{title:S.name,hoverable:"",class:"max-w-full w-375"},{"header-extra":ve(()=>{var y;return[Y("div",LBe,[Y("span",FBe,pe((y=Te(t).appConfig)==null?void 0:y.currency_symbol)+" "+pe(S.price),1),Y("span",DBe," /"+pe(S.cycle),1)])]}),action:ve(()=>[ce(w,{strong:"",secondary:"",type:"primary"},{default:ve(()=>[nt(pe(d.$t("立即订阅")),1)]),_:1})]),default:ve(()=>[Te(C4)(S.content)?(be(),Fe("div",BBe,[(be(!0),Fe(rt,null,Ln(JSON.parse(S.content),(y,x)=>(be(),Fe("div",{key:x,class:qn(["vertical-center flex items-center",y.support?"":"opacity-30"])},[ce(b,{size:"30",class:"flex items-center text-[--primary-color]"},{default:ve(()=>[y.support?(be(),We(g,{key:0})):(be(),We(m,{key:1}))]),_:2},1024),Y("div",null,pe(y.feature),1)],2))),128))])):(be(),Fe("div",{key:1,innerHTML:r(S.content||""),class:"markdown-body"},null,8,NBe))]),_:2},1032,["title"])],8,zBe))),128))])])]),_:1})}}}),jBe=Xu(HBe,[["__scopeId","data-v-16d7c058"]]),UBe=Object.freeze(Object.defineProperty({__proto__:null,default:jBe},Symbol.toStringTag,{value:"Module"})),VBe={class:"inline-block",viewBox:"0 0 576 512",width:"1em",height:"1em"},WBe=Y("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),qBe=[WBe];function KBe(e,t){return be(),Fe("svg",VBe,[...qBe])}const GBe={name:"fa6-solid-ticket",render:KBe},XBe={key:1,class:"grid grid-cols-1 lg:grid-cols-2 gap-5 mt-5"},YBe={class:"space-y-5"},QBe={key:0},JBe=["innerHTML"],ZBe=["onClick"],e9e={class:"space-y-5"},t9e={class:"bg-gray-800 rounded-lg p-5 text-white"},n9e={class:"flex items-center gap-3"},o9e=["placeholder"],r9e={class:"bg-gray-800 rounded-lg p-5 text-white space-y-4"},i9e={class:"text-lg font-semibold"},a9e={class:"flex justify-between items-center py-3 border-b border-gray-600"},s9e={class:"font-semibold"},l9e={key:0,class:"flex justify-between items-center py-3 border-b border-gray-600"},c9e={class:"text-gray-300"},u9e={class:"text-sm text-gray-400"},d9e={class:"font-semibold text-green-400"},f9e={class:"py-3"},h9e={class:"text-gray-300 mb-2"},p9e={class:"text-3xl font-bold"},m9e=Ce({__name:"detail",setup(e){const t=Tn(),n=ea(),o=Da(),r=V=>mn.global.t(V),i=j(Number(o.params.plan_id)),a=j(),s=j(!0),l=j(),c=j(0),u={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("流量重置包")},d=j(""),f=j(!1),h=j(),p=j(!1),g=O(()=>a.value?Object.entries(u).filter(([V])=>a.value[V]!==null&&a.value[V]!==void 0).map(([V,le])=>({name:le,key:V})):[]),m=O(()=>{var V;return((V=t.appConfig)==null?void 0:V.currency_symbol)||"¥"}),b=O(()=>{var V;return(V=g.value[c.value])==null?void 0:V.key}),w=O(()=>!a.value||!b.value?0:a.value[b.value]||0),C=O(()=>{if(!h.value||!w.value)return 0;const{type:V,value:le}=h.value;return V===1?le:Math.floor(le*w.value/100)}),_=O(()=>Math.max(0,w.value-C.value)),S=O(()=>{var le;const V=(le=a.value)==null?void 0:le.content;if(!V)return!1;try{return JSON.parse(V),!0}catch{return!1}}),y=O(()=>{var V;if(!S.value)return[];try{return JSON.parse(((V=a.value)==null?void 0:V.content)||"[]")}catch{return[]}}),x=O(()=>{var le;return S.value||!((le=a.value)!=null&&le.content)?"":new id({html:!0}).render(a.value.content)}),k=V=>{var le;return sn(((le=a.value)==null?void 0:le[V])||0)},P=async()=>{if(d.value.trim()){f.value=!0;try{const{data:V}=await YJ(d.value,i.value);V&&(h.value=V,window.$message.success(r("优惠券验证成功")))}catch{h.value=void 0}finally{f.value=!1}}},T=async()=>{var le;const V=(le=l.value)==null?void 0:le.find(me=>me.status===0);if(V)return E(V.trade_no);if(R())return q();await L()},E=V=>{window.$dialog.confirm({title:r("注意"),type:"info",content:r("你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?"),positiveText:r("确认取消"),negativeText:r("返回我的订单"),async confirm(){const{data:le}=await Ku(V);le&&await L()},cancel:()=>Gt.push("/order")})},R=()=>n.plan_id&&n.plan_id!=i.value&&(n.expired_at===null||n.expired_at>=Math.floor(Date.now()/1e3)),q=()=>{window.$dialog.confirm({title:r("注意"),type:"info",content:r("请注意,变更订阅会导致当前订阅被覆盖。"),confirm:()=>L()})},L=async()=>{var V;if(b.value){p.value=!0;try{const{data:le}=await hk(i.value,b.value,(V=h.value)==null?void 0:V.code);le&&(window.$message.success(r("订单提交成功,正在跳转支付")),setTimeout(()=>Gt.push("/order/"+le),500))}finally{p.value=!1}}},D=async()=>{s.value=!0;try{const{data:V}=await XJ(i.value);V?a.value=V:Gt.push("/plan")}finally{s.value=!1}},F=async()=>{const{data:V}=await qm();l.value=V};return hn(async()=>{await Promise.all([D(),F()])}),(V,le)=>{const me=xl,ee=Zi,N=Hk,M=Nk,Z=Xo,G=vo,re=Ji,X=GBe,ae=zt,B=Bk,xe=bo;return be(),We(xe,null,{default:ve(()=>{var se,ge,$;return[s.value?(be(),We(ee,{key:0,vertical:"",class:"mt-5"},{default:ve(()=>[ce(me,{height:"20px",width:"33%"}),ce(me,{height:"20px",width:"66%"}),ce(me,{height:"20px"})]),_:1})):(be(),Fe("div",XBe,[Y("div",YBe,[ce(G,{title:(se=a.value)==null?void 0:se.name,class:"rounded-lg"},{default:ve(()=>[S.value?(be(),Fe("div",QBe,[(be(!0),Fe(rt,null,Ln(y.value,(A,oe)=>(be(),Fe("div",{key:oe,class:qn(["flex items-center gap-3 py-2",A.support?"":"opacity-50"])},[ce(Z,{size:"20",class:qn(A.support?"text-green-500":"text-red-500")},{default:ve(()=>[A.support?(be(),We(N,{key:0})):(be(),We(M,{key:1}))]),_:2},1032,["class"]),Y("span",null,pe(A.feature),1)],2))),128))])):(be(),Fe("div",{key:1,innerHTML:x.value,class:"markdown-body"},null,8,JBe))]),_:1},8,["title"]),ce(G,{title:V.$t("付款周期"),class:"rounded-lg","content-style":"padding:0"},{default:ve(()=>[(be(!0),Fe(rt,null,Ln(g.value,(A,oe)=>(be(),Fe("div",{key:A.key},[Y("div",{class:qn(["flex justify-between items-center p-5 text-base cursor-pointer border-2 transition-all duration-200 border-solid rounded-lg"," dark:hover:bg-primary/20",oe===c.value?"border-primary dark:bg-primary/20":"border-transparent"]),onClick:Se=>c.value=oe},[Y("div",{class:qn(["font-medium transition-colors",oe===c.value?" dark:text-primary-400":"text-gray-900 dark:text-gray-100"])},pe(A.name),3),Y("div",{class:qn(["text-lg font-semibold transition-colors",oe===c.value?"text-primary-600 dark:text-primary-400":"text-gray-700 dark:text-gray-300"])},pe(m.value)+pe(k(A.key)),3)],10,ZBe),oe<g.value.length-1?(be(),We(re,{key:0,class:"m-0!"})):Ct("",!0)]))),128))]),_:1},8,["title"])]),Y("div",e9e,[Y("div",t9e,[Y("div",n9e,[dn(Y("input",{"onUpdate:modelValue":le[0]||(le[0]=A=>d.value=A),placeholder:r("有优惠券?"),class:"flex-1 bg-transparent border-none outline-none text-white placeholder-gray-400"},null,8,o9e),[[BT,d.value]]),ce(ae,{type:"primary",loading:f.value,disabled:f.value||!d.value.trim(),onClick:P},{icon:ve(()=>[ce(X)]),default:ve(()=>[nt(" "+pe(V.$t("验证")),1)]),_:1},8,["loading","disabled"])])]),Y("div",r9e,[Y("h3",i9e,pe(V.$t("订单总额")),1),Y("div",a9e,[Y("span",null,pe((ge=a.value)==null?void 0:ge.name),1),Y("span",s9e,pe(m.value)+pe(k(b.value)),1)]),h.value&&C.value>0?(be(),Fe("div",l9e,[Y("div",null,[Y("div",c9e,pe(V.$t("折扣")),1),Y("div",u9e,pe(h.value.name),1)]),Y("span",d9e,"-"+pe(m.value)+pe(Te(sn)(C.value)),1)])):Ct("",!0),Y("div",f9e,[Y("div",h9e,pe(V.$t("总计")),1),Y("div",p9e,pe(m.value)+pe(Te(sn)(_.value))+" "+pe(($=Te(t).appConfig)==null?void 0:$.currency),1)]),ce(ae,{type:"primary",size:"large",class:"w-full",loading:p.value,disabled:p.value,onClick:T},{icon:ve(()=>[ce(B)]),default:ve(()=>[nt(" "+pe(V.$t("下单")),1)]),_:1},8,["loading","disabled"])])])]))]}),_:1})}}}),g9e=Object.freeze(Object.defineProperty({__proto__:null,default:m9e},Symbol.toStringTag,{value:"Module"})),v9e={class:"inline-block",viewBox:"0 0 256 256",width:"1em",height:"1em"},b9e=Y("path",{fill:"currentColor",d:"M216 64H56a8 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-16V80a16 16 0 0 0-16-16m-36 80a12 12 0 1 1 12-12a12 12 0 0 1-12 12"},null,-1),y9e=[b9e];function x9e(e,t){return be(),Fe("svg",v9e,[...y9e])}const C9e={name:"ph-wallet-fill",render:x9e},w9e={class:"text-5xl font-normal"},_9e={class:"ml-5 text-xl text-gray-500"},S9e={class:"text-gray-500"},k9e={class:"mt-2.5 max-w-125"},P9e={class:"mt-2.5 max-w-125"},T9e={class:"mt-2.5 max-w-125"},A9e={class:"mt-2.5 max-w-125"},R9e={class:"mb-1"},E9e={class:"mt-2.5 max-w-125"},$9e={class:"mb-1"},I9e={class:"m-0 pb-2.5 pt-2.5 text-xl"},O9e={class:"mt-5"},M9e=["href"],z9e={class:"mt-5"},L9e={class:"m-0 pb-2.5 pt-2.5 text-xl"},F9e={class:"mt-5"},D9e={class:"flex justify-end"},B9e=Ce({__name:"index",setup(e){const t=ea(),n=Tn(),o=C=>mn.global.t(C),r=j(""),i=j(""),a=j(""),s=j(!1);async function l(){if(s.value=!0,i.value!==a.value){window.$message.error(o("两次新密码输入不同"));return}const{data:C}=await VJ(r.value,i.value);C===!0&&window.$message.success(o("密码修改成功")),s.value=!1}const c=j(!1),u=j(!1);async function d(C){if(C==="expire"){const{data:_}=await P1({remind_expire:c.value?1:0});_===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),c.value=!c.value)}else if(C==="traffic"){const{data:_}=await P1({remind_traffic:u.value?1:0});_===!0?window.$message.success(o("更新成功")):(window.$message.error(o("更新失败")),u.value=!u.value)}}const f=j(),h=j(!1);async function p(){const{data:C}=await rZ();C&&(f.value=C)}function g(C){window.location.href=C}const m=j(!1);async function b(){const{data:C}=await WJ();C&&window.$message.success(o("重置成功"))}async function w(){t.getUserInfo(),c.value=!!t.remind_expire,u.value=!!t.remind_traffic}return hn(()=>{w()}),(C,_)=>{const S=C9e,y=vo,x=dr,k=zt,P=$Q,T=vl,E=Ji,R=PQ,q=ri,L=bo;return be(),We(L,null,{default:ve(()=>{var D,F,K,V;return[ce(y,{title:C.$t("我的钱包"),class:"rounded-md"},{"header-extra":ve(()=>[ce(S,{class:"text-4xl text-gray-500"})]),default:ve(()=>{var le;return[Y("div",null,[Y("span",w9e,pe(Te(sn)(Te(t).balance)),1),Y("span",_9e,pe((le=Te(n).appConfig)==null?void 0:le.currency),1)]),Y("div",S9e,pe(C.$t("账户余额(仅消费)")),1)]}),_:1},8,["title"]),ce(y,{title:C.$t("修改密码"),class:"mt-5 rounded-md"},{default:ve(()=>[Y("div",k9e,[Y("label",null,pe(C.$t("旧密码")),1),ce(x,{type:"password",value:r.value,"onUpdate:value":_[0]||(_[0]=le=>r.value=le),placeholder:C.$t("请输入旧密码"),maxlength:32},null,8,["value","placeholder"])]),Y("div",P9e,[Y("label",null,pe(C.$t("新密码")),1),ce(x,{type:"password",value:i.value,"onUpdate:value":_[1]||(_[1]=le=>i.value=le),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),Y("div",T9e,[Y("label",null,pe(C.$t("新密码")),1),ce(x,{type:"password",value:a.value,"onUpdate:value":_[2]||(_[2]=le=>a.value=le),placeholder:C.$t("请输入新密码"),maxlength:32},null,8,["value","placeholder"])]),ce(k,{class:"mt-5",type:"primary",onClick:l,loading:s.value,disabled:s.value},{default:ve(()=>[nt(pe(C.$t("保存")),1)]),_:1},8,["loading","disabled"])]),_:1},8,["title"]),ce(y,{title:C.$t("通知"),class:"mt-5 rounded-md"},{default:ve(()=>[Y("div",A9e,[Y("div",R9e,pe(C.$t("到期邮件提醒")),1),ce(P,{value:c.value,"onUpdate:value":[_[3]||(_[3]=le=>c.value=le),_[4]||(_[4]=le=>d("expire"))]},null,8,["value"])]),Y("div",E9e,[Y("div",$9e,pe(C.$t("流量邮件提醒")),1),ce(P,{value:u.value,"onUpdate:value":[_[5]||(_[5]=le=>u.value=le),_[6]||(_[6]=le=>d("traffic"))]},null,8,["value"])])]),_:1},8,["title"]),(F=(D=Te(n))==null?void 0:D.appConfig)!=null&&F.is_telegram?(be(),We(y,{key:0,title:C.$t("绑定Telegram"),class:"mt-5 rounded-md"},{"header-extra":ve(()=>[ce(k,{type:"primary",round:"",disabled:Te(t).userInfo.telegram_id,onClick:_[7]||(_[7]=le=>(h.value=!0,p(),Te(t).getUserSubscribe()))},{default:ve(()=>[nt(pe(Te(t).userInfo.telegram_id?C.$t("已绑定"):C.$t("立即开始")),1)]),_:1},8,["disabled"])]),_:1},8,["title"])):Ct("",!0),(V=(K=Te(n))==null?void 0:K.appConfig)!=null&&V.telegram_discuss_link?(be(),We(y,{key:1,title:C.$t("Telegram 讨论组"),class:"mt-5 rounded-md"},{"header-extra":ve(()=>[ce(k,{type:"primary",round:"",onClick:_[8]||(_[8]=le=>{var me,ee;return g((ee=(me=Te(n))==null?void 0:me.appConfig)==null?void 0:ee.telegram_discuss_link)})},{default:ve(()=>[nt(pe(C.$t("立即加入")),1)]),_:1})]),_:1},8,["title"])):Ct("",!0),ce(y,{title:C.$t("重置订阅信息"),class:"mt-5 rounded-md"},{default:ve(()=>[ce(T,{type:"warning"},{default:ve(()=>[nt(pe(C.$t("当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。")),1)]),_:1}),ce(k,{type:"error",size:"small",class:"mt-2.5",onClick:_[9]||(_[9]=le=>m.value=!0)},{default:ve(()=>[nt(pe(C.$t("重置")),1)]),_:1})]),_:1},8,["title"]),ce(q,{title:C.$t("绑定Telegram"),preset:"card",show:h.value,"onUpdate:show":_[12]||(_[12]=le=>h.value=le),class:"mx-2.5 max-w-full w-150 md:mx-auto",footerStyle:"padding: 10px 16px",segmented:{content:!0,footer:!0}},{footer:ve(()=>[Y("div",D9e,[ce(k,{type:"primary",onClick:_[11]||(_[11]=le=>h.value=!1)},{default:ve(()=>[nt(pe(C.$t("我知道了")),1)]),_:1})])]),default:ve(()=>{var le,me,ee;return[f.value&&Te(t).subscribe?(be(),Fe(rt,{key:0},[Y("div",null,[Y("h2",I9e,pe(C.$t("第一步")),1),ce(E,{class:"m-0!"}),Y("div",O9e,[nt(pe(C.$t("打开Telegram搜索"))+" ",1),Y("a",{href:"https://t.me/"+((le=f.value)==null?void 0:le.username)},"@"+pe((me=f.value)==null?void 0:me.username),9,M9e)])]),Y("div",z9e,[Y("h2",L9e,pe(C.$t("第二步")),1),ce(E,{class:"m-0!"}),Y("div",F9e,pe(C.$t("向机器人发送你的")),1),Y("code",{class:"cursor-pointer",onClick:_[10]||(_[10]=N=>{var M;return Te(Xs)("/bind "+((M=Te(t).subscribe)==null?void 0:M.subscribe_url))})},"/bind "+pe((ee=Te(t).subscribe)==null?void 0:ee.subscribe_url),1)])],64)):(be(),We(R,{key:1,size:"large"}))]}),_:1},8,["title","show"]),ce(q,{show:m.value,"onUpdate:show":_[13]||(_[13]=le=>m.value=le),preset:"dialog",title:C.$t("确定要重置订阅信息?"),content:C.$t("如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。"),"positive-text":C.$t("确认"),"negative-text":C.$t("取消"),onPositiveClick:b},null,8,["show","title","content","positive-text","negative-text"])]}),_:1})}}}),N9e=Object.freeze(Object.defineProperty({__proto__:null,default:B9e},Symbol.toStringTag,{value:"Module"})),H9e={class:"flex justify-end"},j9e=Ce({__name:"index",setup(e){const t=h=>mn.global.t(h),n=[{label:t("低"),value:0},{label:t("中"),value:1},{label:t("高"),value:2}],o=[{title:t("主题"),key:"subject"},{title:t("工单级别"),key:"u",render(h){return n[h.level].label}},{title:t("工单状态"),key:"status",render(h){const p=v("div",{class:["h-1.5 w-1.5 rounded-full mr-1.3",h.status===1?"bg-green-500":h.reply_status===0?"bg-blue-500":"bg-red-500"]}),g=h.status===1?t("已关闭"):h.reply_status===0?t("已回复"):t("待回复");return v("div",{class:"flex items-center"},[p,g])}},{title:t("创建时间"),key:"created_at",render(h){return Wo(h.created_at)}},{title:t("最后回复时间"),key:"updated_at",render(h){return Wo(h.updated_at)}},{title:t("操作"),key:"actions",fixed:"right",render(h){const p=v(zt,{text:!0,type:"primary",onClick:()=>Gt.push(`/ticket/${h.id}`)},{default:()=>t("查看")}),g=v(zt,{text:!0,type:"primary",disabled:h.status===1,onClick:()=>c(h.id)},{default:()=>t("关闭")}),m=v(Ji,{vertical:!0});return v("div",[p,m,g])}}],r=j(!1),i=j(""),a=j(),s=j("");async function l(){const{data:h}=await JJ(i.value,a.value,s.value);h===!0&&(window.$message.success(t("创建成功")),f(),r.value=!1)}async function c(h){const{data:p}=await ZJ(h);p&&(window.$message.success(t("关闭成功")),f())}const u=j([]);async function d(){const{data:h}=await QJ();u.value=h}function f(){d()}return hn(()=>{f()}),(h,p)=>{const g=dr,m=Bu,b=Zi,w=vo,C=ri,_=Uu,S=bo;return be(),We(S,null,{default:ve(()=>[ce(C,{show:r.value,"onUpdate:show":p[6]||(p[6]=y=>r.value=y)},{default:ve(()=>[ce(w,{title:h.$t("新的工单"),class:"mx-2.5 max-w-full w-150 md:mx-auto",segmented:{content:!0,footer:!0},closable:"",onClose:p[5]||(p[5]=y=>r.value=!1)},{footer:ve(()=>[Y("div",H9e,[ce(b,null,{default:ve(()=>[ce(Te(zt),{onClick:p[3]||(p[3]=y=>r.value=!1)},{default:ve(()=>[nt(pe(h.$t("取消")),1)]),_:1}),ce(Te(zt),{type:"primary",onClick:p[4]||(p[4]=y=>l())},{default:ve(()=>[nt(pe(h.$t("确认")),1)]),_:1})]),_:1})])]),default:ve(()=>[Y("div",null,[Y("label",null,pe(h.$t("主题")),1),ce(g,{value:i.value,"onUpdate:value":p[0]||(p[0]=y=>i.value=y),class:"mt-1",placeholder:h.$t("请输入工单主题")},null,8,["value","placeholder"])]),Y("div",null,[Y("label",null,pe(h.$t("工单级别")),1),ce(m,{value:a.value,"onUpdate:value":p[1]||(p[1]=y=>a.value=y),options:n,placeholder:h.$t("请选项工单等级"),class:"mt-1"},null,8,["value","placeholder"])]),Y("div",null,[Y("label",null,pe(h.$t("消息")),1),ce(g,{value:s.value,"onUpdate:value":p[2]||(p[2]=y=>s.value=y),type:"textarea",placeholder:h.$t("请描述你遇到的问题"),round:"",class:"mt-1"},null,8,["value","placeholder"])])]),_:1},8,["title"])]),_:1},8,["show"]),ce(w,{class:"rounded-md",title:h.$t("工单历史")},{"header-extra":ve(()=>[ce(Te(zt),{type:"primary",round:"",onClick:p[7]||(p[7]=y=>r.value=!0)},{default:ve(()=>[nt(pe(h.$t("新的工单")),1)]),_:1})]),default:ve(()=>[ce(_,{columns:o,data:u.value,"scroll-x":800},null,8,["data"])]),_:1},8,["title"])]),_:1})}}}),U9e=Object.freeze(Object.defineProperty({__proto__:null,default:j9e},Symbol.toStringTag,{value:"Module"})),V9e={class:"relative",style:{height:"calc(100% - 70px)"}},W9e={class:"mb-2 mt-2 text-sm text-gray-500"},q9e={class:"mb-2 inline-block rounded-md bg-gray-50 pb-8 pl-4 pr-4 pt-2"},K9e=Ce({__name:"detail",setup(e){const t=Da(),n=h=>mn.global.t(h),o=j("");async function r(){const{data:h}=await tZ(i.value,o.value);h===!0&&(window.$message.success(n("回复成功")),o.value="",f())}const i=j(),a=j();async function s(){const{data:h}=await eZ(i.value);h&&(a.value=h)}const l=j(null),c=j(null),u=async()=>{const h=l.value,p=c.value;h&&p&&h.scrollBy({top:p.scrollHeight,behavior:"auto"})},d=j();async function f(){await s(),await Ht(),u(),d.value=setInterval(s,2e3)}return hn(()=>{i.value=t.params.ticket_id,f()}),(h,p)=>{const g=vQ,m=dr,b=zt,w=_m,C=vo,_=bo;return be(),We(_,null,{default:ve(()=>{var S;return[ce(C,{title:(S=a.value)==null?void 0:S.subject,class:"h-full overflow-hidden"},{default:ve(()=>[Y("div",V9e,[ce(g,{class:"absolute right-0 h-full",ref_key:"scrollbarRef",ref:l},{default:ve(()=>{var y;return[Y("div",{ref_key:"scrollContainerRef",ref:c},[(be(!0),Fe(rt,null,Ln((y=a.value)==null?void 0:y.message,x=>(be(),Fe("div",{key:x.id,class:qn([x.is_me?"text-right":"text-left"])},[Y("div",W9e,pe(Te(Wo)(x.created_at)),1),Y("div",q9e,pe(x.message),1)],2))),128))],512)]}),_:1},512)]),ce(w,{size:"large",class:"mt-8"},{default:ve(()=>[ce(m,{type:"text",size:"large",placeholder:h.$t("输入内容回复工单"),autofocus:!0,value:o.value,"onUpdate:value":p[0]||(p[0]=y=>o.value=y),onKeyup:p[1]||(p[1]=Ss(y=>r(),["enter"]))},null,8,["placeholder","value"]),ce(b,{type:"primary",size:"large",onClick:p[2]||(p[2]=y=>r())},{default:ve(()=>[nt(pe(h.$t("回复")),1)]),_:1})]),_:1})]),_:1},8,["title"])]}),_:1})}}}),G9e=Object.freeze(Object.defineProperty({__proto__:null,default:K9e},Symbol.toStringTag,{value:"Module"})),X9e=Ce({__name:"index",setup(e){const t=i=>mn.global.t(i),n=[{title:t("记录时间"),key:"record_at",render(i){return Np(i.record_at)}},{title:t("实际上行"),key:"u",render(i){return As(i.u/parseFloat(i.server_rate))}},{title:t("实际下行"),key:"d",render(i){return As(i.d/parseFloat(i.server_rate))}},{title:t("扣费倍率"),key:"server_rate",render(i){return v(Ri,{size:"small",round:!0},{default:()=>i.server_rate+" x"})}},{title(){const i=v(Hu,{placement:"bottom",trigger:"hover"},{trigger:()=>v(rl("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 As(i.d+i.u)}}],o=j([]);async function r(){const{data:i}=await qJ();o.value=i}return hn(()=>{r()}),(i,a)=>{const s=vl,l=Uu,c=vo,u=bo;return be(),We(u,null,{default:ve(()=>[ce(c,{class:"rounded-md"},{default:ve(()=>[ce(s,{type:"info",bordered:!1,class:"mb-5"},{default:ve(()=>[nt(pe(i.$t("流量明细仅保留近月数据以供查询。")),1)]),_:1}),ce(l,{columns:n,data:o.value,"scroll-x":600},null,8,["data"])]),_:1})]),_:1})}}}),Y9e=Object.freeze(Object.defineProperty({__proto__:null,default:X9e},Symbol.toStringTag,{value:"Module"})),Q9e={name:"NOTFOUND"},J9e={"h-full":"",flex:""};function Z9e(e,t,n,o,r,i){const a=zt,s=pQ;return be(),Fe("div",J9e,[ce(s,{"m-auto":"",status:"404",title:"404 Not Found",description:""},{footer:ve(()=>[ce(a,null,{default:ve(()=>[nt("Find some fun")]),_:1})]),_:1})])}const e7e=Xu(Q9e,[["render",Z9e]]),t7e=Object.freeze(Object.defineProperty({__proto__:null,default:e7e},Symbol.toStringTag,{value:"Module"})),n7e={class:"inline-block",viewBox:"0 0 24 24",width:"1em",height:"1em"},o7e=Y("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"1.5"},[Y("path",{d:"M2 12c0 5.523 4.477 10 10 10s10-4.477 10-10S17.523 2 12 2S2 6.477 2 12"}),Y("path",{d:"M13 2.05S16 6 16 12s-3 9.95-3 9.95m-2 0S8 18 8 12s3-9.95 3-9.95M2.63 15.5h18.74m-18.74-7h18.74"})],-1),r7e=[o7e];function i7e(e,t){return be(),Fe("svg",n7e,[...r7e])}const a7e={name:"iconoir-language",render:i7e},s7e={class:"inline-block",viewBox:"0 0 32 32",width:"1em",height:"1em"},l7e=Y("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),c7e=Y("path",{fill:"currentColor",d:"M14.59 20.59L18.17 17H4v-2h14.17l-3.58-3.59L16 10l6 6l-6 6z"},null,-1),u7e=[l7e,c7e];function d7e(e,t){return be(),Fe("svg",s7e,[...u7e])}const f7e={name:"carbon-login",render:d7e},h7e=Ce({__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=j(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 jt(()=>{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 m;u||(u=!0,clearTimeout(c),(m=document.getElementById(d))==null||m.remove(),l(g))};o.loadingTimeout>0&&(c=setTimeout(f("timeout"),o.loadingTimeout));const h=window.document,p=h.createElement("script");p.id=d,p.onerror=f("error"),p.onabort=f("aborted"),p.setAttribute("src",`https://www.recaptcha.net/recaptcha/api.js?onload=recaptchaReady&render=explicit&hl=${o.hl}&_=${+new Date}`),h.head.appendChild(p)}).then(()=>{a()}).catch(s=>{n("error",s)}):a()}),(s,l)=>(be(),Fe("div",{ref_key:"recaptchaDiv",ref:r},null,512))}}),p7e="https://challenges.cloudflare.com/turnstile/v0/api.js",uy="cfTurnstileOnLoad";let rc=typeof window<"u"&&window.turnstile!==void 0?"ready":"unloaded",Rf;const m7e=Ce({name:"VueTurnstile",emits:["update:modelValue","error","unsupported","expired","before-interactive","after-interactive"],props:{siteKey:{type:String,required:!0},modelValue:{type:String,required:!0},resetInterval:{type:Number,required:!1,default:295*1e3},size:{type:String,required:!1,default:"normal"},theme:{type:String,required:!1,default:"auto"},language:{type:String,required:!1,default:"auto"},action:{type:String,required:!1,default:""},appearance:{type:String,required:!1,default:"always"},renderOnMount:{type:Boolean,required:!1,default:!0}},data(){return{resetTimeout:void 0,widgetId:void 0}},computed:{turnstileOptions(){return{sitekey:this.siteKey,theme:this.theme,language:this.language,size:this.size,callback:this.callback,action:this.action,appearance:this.appearance,"error-callback":this.errorCallback,"expired-callback":this.expiredCallback,"unsupported-callback":this.unsupportedCallback,"before-interactive-callback":this.beforeInteractiveCallback,"after-interactive-callback":this.afterInteractivecallback}}},methods:{afterInteractivecallback(){this.$emit("after-interactive")},beforeInteractiveCallback(){this.$emit("before-interactive")},expiredCallback(){this.$emit("expired")},unsupportedCallback(){this.$emit("unsupported")},errorCallback(e){this.$emit("error",e)},callback(e){this.$emit("update:modelValue",e),this.startResetTimeout()},reset(){window.turnstile&&(this.$emit("update:modelValue",""),window.turnstile.reset())},remove(){this.widgetId&&(window.turnstile.remove(this.widgetId),this.widgetId=void 0)},render(){this.widgetId=window.turnstile.render(this.$refs.turnstile,this.turnstileOptions)},startResetTimeout(){this.resetTimeout=setTimeout(()=>{this.reset()},this.resetInterval)}},async mounted(){const e=new Promise((t,n)=>{Rf={resolve:t,reject:n},rc==="ready"&&t(void 0)});window[uy]=()=>{Rf.resolve(),rc="ready"},await(()=>{if(rc==="unloaded"){rc="loading";const t=`${p7e}?onload=${uy}&render=explicit`,n=document.createElement("script");n.src=t,n.async=!0,n.addEventListener("error",()=>{Rf.reject("Failed to load Turnstile.")}),document.head.appendChild(n)}return e})(),this.renderOnMount&&this.render()},beforeUnmount(){this.remove(),clearTimeout(this.resetTimeout)}}),g7e=(e,t)=>{const n=e.__vccOpts||e;for(const[o,r]of t)n[o]=r;return n},v7e={ref:"turnstile"};function b7e(e,t,n,o,r,i){return be(),Fe("div",v7e,null,512)}const y7e=g7e(m7e,[["render",b7e]]);var jk={},Ma={},_l={},x7e=Hr&&Hr.__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())})},C7e=Hr&&Hr.__generator||function(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(c){return function(u){return l([c,u])}}function l(c){if(o)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(n=0)),n;)try{if(o=1,r&&(i=c[0]&2?r.return:c[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,c[1])).done)return i;switch(r=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return n.label++,{value:c[1],done:!1};case 5:n.label++,r=c[1],c=[0];continue;case 7:c=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){n=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){n.label=c[1];break}if(c[0]===6&&n.label<i[1]){n.label=i[1],i=c;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(c);break}i[2]&&n.ops.pop(),n.trys.pop();continue}c=t.call(e,n)}catch(u){c=[6,u],r=0}finally{o=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}};Object.defineProperty(_l,"__esModule",{value:!0});_l.ReCaptchaInstance=void 0;var w7e=function(){function e(t,n,o){this.siteKey=t,this.recaptchaID=n,this.recaptcha=o,this.styleContainer=null}return e.prototype.execute=function(t){return x7e(this,void 0,void 0,function(){var n;return C7e(this,function(o){switch(o.label){case 0:return this.recaptcha.enterprise?[4,this.recaptcha.enterprise.execute(this.recaptchaID,{action:t})]:[3,2];case 1:return n=o.sent(),[3,4];case 2:return[4,this.recaptcha.execute(this.recaptchaID,{action:t})];case 3:n=o.sent(),o.label=4;case 4:return[2,n]}})})},e.prototype.getSiteKey=function(){return this.siteKey},e.prototype.hideBadge=function(){this.styleContainer===null&&(this.styleContainer=document.createElement("style"),this.styleContainer.innerHTML=".grecaptcha-badge{visibility:hidden !important;}",document.head.appendChild(this.styleContainer))},e.prototype.showBadge=function(){this.styleContainer!==null&&(document.head.removeChild(this.styleContainer),this.styleContainer=null)},e}();_l.ReCaptchaInstance=w7e;var Yh=Hr&&Hr.__assign||function(){return Yh=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++){t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e},Yh.apply(this,arguments)};Object.defineProperty(Ma,"__esModule",{value:!0});Ma.getInstance=Ma.load=void 0;var _7e=_l,zr;(function(e){e[e.NOT_LOADED=0]="NOT_LOADED",e[e.LOADING=1]="LOADING",e[e.LOADED=2]="LOADED"})(zr||(zr={}));var Uk=function(){function e(){}return e.load=function(t,n){if(n===void 0&&(n={}),typeof document>"u")return Promise.reject(new Error("This is a library for the browser!"));if(e.getLoadingState()===zr.LOADED)return e.instance.getSiteKey()===t?Promise.resolve(e.instance):Promise.reject(new Error("reCAPTCHA already loaded with different site key!"));if(e.getLoadingState()===zr.LOADING)return t!==e.instanceSiteKey?Promise.reject(new Error("reCAPTCHA already loaded with different site key!")):new Promise(function(r,i){e.successfulLoadingConsumers.push(function(a){return r(a)}),e.errorLoadingRunnable.push(function(a){return i(a)})});e.instanceSiteKey=t,e.setLoadingState(zr.LOADING);var o=new e;return new Promise(function(r,i){o.loadScript(t,n.useRecaptchaNet||!1,n.useEnterprise||!1,n.renderParameters?n.renderParameters:{},n.customUrl).then(function(){e.setLoadingState(zr.LOADED);var a=o.doExplicitRender(grecaptcha,t,n.explicitRenderParameters?n.explicitRenderParameters:{},n.useEnterprise||!1),s=new _7e.ReCaptchaInstance(t,a,grecaptcha);e.successfulLoadingConsumers.forEach(function(l){return l(s)}),e.successfulLoadingConsumers=[],n.autoHideBadge&&s.hideBadge(),e.instance=s,r(s)}).catch(function(a){e.errorLoadingRunnable.forEach(function(s){return s(a)}),e.errorLoadingRunnable=[],i(a)})})},e.getInstance=function(){return e.instance},e.setLoadingState=function(t){e.loadingState=t},e.getLoadingState=function(){return e.loadingState===null?zr.NOT_LOADED:e.loadingState},e.prototype.loadScript=function(t,n,o,r,i){var a=this;n===void 0&&(n=!1),o===void 0&&(o=!1),r===void 0&&(r={}),i===void 0&&(i="");var s=document.createElement("script");s.setAttribute("recaptcha-v3-script",""),s.setAttribute("async",""),s.setAttribute("defer","");var l="https://www.google.com/recaptcha/api.js";n?o?l="https://recaptcha.net/recaptcha/enterprise.js":l="https://recaptcha.net/recaptcha/api.js":o&&(l="https://www.google.com/recaptcha/enterprise.js"),i&&(l=i),r.render&&(r.render=void 0);var c=this.buildQueryString(r);return s.src=l+"?render=explicit"+c,new Promise(function(u,d){s.addEventListener("load",a.waitForScriptToLoad(function(){u(s)},o),!1),s.onerror=function(f){e.setLoadingState(zr.NOT_LOADED),d(f)},document.head.appendChild(s)})},e.prototype.buildQueryString=function(t){var n=Object.keys(t);return n.length<1?"":"&"+Object.keys(t).filter(function(o){return!!t[o]}).map(function(o){return o+"="+t[o]}).join("&")},e.prototype.waitForScriptToLoad=function(t,n){var o=this;return function(){window.grecaptcha===void 0?setTimeout(function(){o.waitForScriptToLoad(t,n)},e.SCRIPT_LOAD_DELAY):n?window.grecaptcha.enterprise.ready(function(){t()}):window.grecaptcha.ready(function(){t()})}},e.prototype.doExplicitRender=function(t,n,o,r){var i=Yh({sitekey:n},o);return o.container?r?t.enterprise.render(o.container,i):t.render(o.container,i):r?t.enterprise.render(i):t.render(i)},e.loadingState=null,e.instance=null,e.instanceSiteKey=null,e.successfulLoadingConsumers=[],e.errorLoadingRunnable=[],e.SCRIPT_LOAD_DELAY=25,e}();Ma.load=Uk.load;Ma.getInstance=Uk.getInstance;(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.ReCaptchaInstance=e.getInstance=e.load=void 0;var t=Ma;Object.defineProperty(e,"load",{enumerable:!0,get:function(){return t.load}}),Object.defineProperty(e,"getInstance",{enumerable:!0,get:function(){return t.getInstance}});var n=_l;Object.defineProperty(e,"ReCaptchaInstance",{enumerable:!0,get:function(){return n.ReCaptchaInstance}})})(jk);const S7e=e=>wt({url:"/passport/auth/login",method:"post",data:e}),k7e=e=>wt.get("/passport/auth/token2Login?verify="+encodeURIComponent(e.verify)+"&redirect="+encodeURIComponent(e.redirect)),P7e=e=>wt({url:"/passport/auth/telegramLogin",method:"post",data:e}),T7e=e=>wt({url:"/passport/auth/register",method:"post",data:e});function A7e(){return wt.get("/guest/comm/config")}function R7e(e,t){return wt.post("/passport/comm/sendEmailVerify",{email:e,...t})}function E7e(e,t,n){return wt.post("/passport/auth/forget",{email:e,password:t,email_code:n})}const $7e={class:"p-6"},I7e={key:0,class:"text-center"},O7e=["src"],M7e={key:1,class:"text-center text-4xl font-normal",color:"#343a40"},z7e={class:"text-muted text-center text-sm font-normal",color:"#6c757d"},L7e={class:"mt-5 w-full"},F7e={class:"mt-5 w-full"},D7e={class:"mt-5 w-full"},B7e={class:"mt-5 w-full"},N7e={class:"mt-5 w-full"},H7e={class:"mt-5 w-full"},j7e=["innerHTML"],U7e={class:"mt-5 w-full"},V7e={key:2,class:"mt-4 w-full"},W7e={class:"flex items-center mb-3"},q7e=Y("div",{class:"flex-1 h-px bg-gray-300"},null,-1),K7e={class:"px-3 text-sm text-gray-500"},G7e=Y("div",{class:"flex-1 h-px bg-gray-300"},null,-1),X7e={class:"flex justify-center"},Y7e={key:0,id:"telegram-login-container",class:"w-full flex justify-center"},Q7e={key:1,class:"w-full"},J7e=Y("span",{class:"text-lg"},"📱",-1),Z7e={class:"flex justify-between bg-[--n-color-embedded] px-6 py-4 text-gray-500"},eNe=Ce({__name:"login",setup(e){const t=Tn(),n=Hx(),o=Da(),r=se=>mn.global.t(se),i=j(null),a=j(!1),s=j(!1),l=O(()=>{var se,ge;return((se=w.value)==null?void 0:se.telegram_login_enable)&&((ge=w.value)==null?void 0:ge.telegram_bot_username)}),c=to({email:"",email_code:"",password:"",confirm_password:"",confirm:"",invite_code:"",lock_invite_code:!1,suffix:""}),u=j(!0),d=O(()=>{var ge;const se=(ge=w.value)==null?void 0:ge.tos_url;return"<div>"+mn.global.tc('我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>',{url:se})+"</div>"}),f=j(!1),h=j(""),p=j(""),g=j(),m=j(),b=j(""),w=j(),C=O(()=>{var se,ge;return(se=w.value)!=null&&se.is_captcha?((ge=w.value)==null?void 0:ge.captcha_type)||"recaptcha":null}),_=O(()=>{var se,ge,$,A;return((se=w.value)==null?void 0:se.is_captcha)&&(C.value==="recaptcha"&&((ge=w.value)==null?void 0:ge.recaptcha_site_key)||C.value==="recaptcha-v3"&&(($=w.value)==null?void 0:$.recaptcha_v3_site_key)||C.value==="turnstile"&&((A=w.value)==null?void 0:A.turnstile_site_key))});ut(p,se=>{se&&b.value&&y(se)});function S(se){if(se.startsWith("skip_recaptcha"))return{};const ge={};switch(C.value){case"recaptcha":ge.recaptcha_data=se;break;case"recaptcha-v3":ge.recaptcha_v3_token=se;break;case"turnstile":ge.turnstile_token=se;break}return ge}function y(se){h.value=se,f.value=!1;const ge=b.value;b.value="",ge==="register"?re():ge==="sendEmailVerify"&&D()}function x(){h.value="",T()}async function k(){var se;if(!(!((se=w.value)!=null&&se.recaptcha_v3_site_key)||a.value))try{const ge=await jk.load(w.value.recaptcha_v3_site_key,{autoHideBadge:!0});i.value=ge,a.value=!0}catch(ge){console.error("reCAPTCHA v3 初始化失败:",ge)}}async function P(se){try{if(a.value||await k(),!i.value)return console.error("reCAPTCHA v3 初始化失败,跳过验证码验证"),h.value="skip_recaptcha_v3",y("skip_recaptcha_v3"),!0;const ge=await i.value.execute(se);return ge?(y(ge),!0):(console.warn("⚠️ reCAPTCHA v3 没有返回有效 token"),!1)}catch(ge){return console.error("❌ reCAPTCHA v3 验证失败:",ge),console.warn("reCAPTCHA v3 验证失败,跳过验证码验证"),h.value="skip_recaptcha_v3_error",y("skip_recaptcha_v3_error"),!0}}function T(){var se,ge;C.value==="recaptcha"&&((se=g.value)!=null&&se.reset)?g.value.reset():C.value==="turnstile"&&((ge=m.value)!=null&&ge.reset)&&m.value.reset(),p.value="",h.value=""}async function E(se){return _.value?(h.value="",b.value=se,C.value==="recaptcha-v3"?await P(se):(T(),f.value=!0,!0)):!1}const R=j(!1),q=j(0);async function L(){if(c.email===""){window.$message.error(r("请输入邮箱地址"));return}if(q.value>0){window.$message.warning(mn.global.tc("{second}秒后可重新发送",{second:q.value}));return}await E("sendEmailVerify")||D()}async function D(){R.value=!0;const se=c.suffix?`${c.email}${c.suffix}`:c.email;try{const ge=h.value?S(h.value):void 0,{data:$}=await R7e(se,ge);if($===!0){window.$message.success(r("发送成功")),h.value="",q.value=60;const A=setInterval(()=>{q.value--,q.value===0&&clearInterval(A)},1e3)}}catch(ge){throw h.value="",ge}finally{R.value=!1}}async function F(){if(!s.value)return new Promise((se,ge)=>{if(document.getElementById("telegram-widget-script")){s.value=!0,se();return}const $=document.createElement("script");$.id="telegram-widget-script",$.src="https://telegram.org/js/telegram-widget.js?22",$.async=!0,$.onload=()=>{s.value=!0,se()},$.onerror=()=>{console.error("❌ Telegram Widget 脚本加载失败"),ge(new Error("Failed to load Telegram script"))},document.head.appendChild($)})}function K(se){V(se)}async function V(se){var ge,$;M.value=!0;try{const A=await P7e(se);(ge=A.data)!=null&&ge.auth_data?(window.$message.success(r("登录成功")),ec(A.data.auth_data),n.push((($=o.query.redirect)==null?void 0:$.toString())??"/dashboard")):(console.warn("⚠️ 后端响应格式不正确:",A),window.$message.error("登录响应格式错误"))}catch(A){console.error("❌ Telegram 登录失败:",A),window.$message.error(r("Telegram 登录失败")+": "+(A==null?void 0:A.message)||"未知错误")}finally{M.value=!1}}function le(){var $;if(!(($=w.value)!=null&&$.telegram_bot_username))return;const se=document.getElementById("telegram-login-container");if(!se)return;typeof window.handleTelegramAuth!="function"&&(window.handleTelegramAuth=K),se.innerHTML="";const ge=document.createElement("script");ge.async=!0,ge.src="https://telegram.org/js/telegram-widget.js?22",ge.setAttribute("data-telegram-login",w.value.telegram_bot_username),ge.setAttribute("data-size","large"),ge.setAttribute("data-onauth","onTelegramAuth(user)"),ge.setAttribute("data-request-access","write"),ge.onerror=()=>{console.error("❌ Telegram Widget 脚本加载失败")},se.appendChild(ge)}function me(){window.onTelegramAuth=function(se){K(se)},window.handleTelegramAuth=K}async function ee(){if(l.value)try{me(),await F(),setTimeout(()=>{le()},200)}catch(se){console.error("❌ Telegram 登录初始化失败:",se)}}async function N(){var ge,$;const{data:se}=await A7e();se&&(w.value=se,ab(se.email_whitelist_suffix)&&(c.suffix=(ge=se.email_whitelist_suffix)!=null&&ge[0]?"@"+(($=se.email_whitelist_suffix)==null?void 0:$[0]):""),se.tos_url&&(u.value=!1),se.captcha_type==="recaptcha-v3"&&se.recaptcha_v3_site_key&&await k(),se.telegram_login_enable&&se.telegram_bot_username&&await ee())}const M=j(!1);async function Z(){const{email:se,password:ge,confirm_password:$}=c;switch(ae.value){case"login":await G();break;case"register":if(c.email===""){window.$message.error(r("请输入邮箱地址"));return}if(!se||!ge){window.$message.warning(r("请输入账号密码"));return}if(ge!==$){window.$message.warning(r("请确保两次密码输入一致"));return}if(await E("register"))return;re();break;case"forgetpassword":await X();break}}async function G(){var $;const{email:se,password:ge}=c;if(!se||!ge){window.$message.warning(r("请输入用户名和密码"));return}M.value=!0;try{const{data:A}=await S7e({email:se,password:ge.toString()});A!=null&&A.auth_data&&(window.$message.success(r("登录成功")),ec(A==null?void 0:A.auth_data),n.push((($=o.query.redirect)==null?void 0:$.toString())??"/dashboard"))}finally{M.value=!1}}async function re(){const{password:se,invite_code:ge,email_code:$}=c,A=c.suffix?`${c.email}${c.suffix}`:c.email;M.value=!0;try{const oe=h.value?S(h.value):{},{data:Se}=await T7e({email:A,password:se,invite_code:ge,email_code:$,...oe});Se!=null&&Se.auth_data&&(window.$message.success(r("注册成功")),ec(Se.auth_data),h.value="",n.push("/"))}catch(oe){throw h.value="",oe}finally{M.value=!1}}async function X(){const{email:se,password:ge,confirm_password:$,email_code:A}=c;if(se===""){window.$message.error(r("请输入邮箱地址"));return}if(!se||!ge){window.$message.warning(r("请输入账号密码"));return}if(ge!==$){window.$message.warning(r("请确保两次密码输入一致"));return}M.value=!0;try{const oe=c.suffix?`${c.email}${c.suffix}`:c.email,{data:Se}=await E7e(oe,ge,A);Se&&(window.$message.success(r("重置密码成功,正在返回登录")),setTimeout(()=>{n.push("/login")},500))}finally{M.value=!1}}const ae=O(()=>{const se=o.path;return se.includes("login")?"login":se.includes("register")?"register":se.includes("forgetpassword")?"forgetpassword":""}),B=async()=>{ae.value==="login"&&(me(),xe()),["register","forgetpassword","login"].includes(ae.value)&&N(),o.query.code&&(c.lock_invite_code=!0,c.invite_code=o.query.code);const{verify:se,redirect:ge}=o.query;if(se&&ge){const{data:$}=await k7e({verify:se,redirect:ge});$!=null&&$.auth_data&&(window.$message.success(r("登录成功")),ec($==null?void 0:$.auth_data),n.push(ge.toString()))}};function xe(){const se=new URLSearchParams(window.location.search);if(["id","first_name","username","auth_date","hash"].some(A=>se.has(A))){const A={id:parseInt(se.get("id")||"0"),first_name:se.get("first_name")||"",last_name:se.get("last_name")||void 0,username:se.get("username")||void 0,photo_url:se.get("photo_url")||void 0,auth_date:parseInt(se.get("auth_date")||"0"),hash:se.get("hash")||""},oe=window.location.pathname+window.location.hash;window.history.replaceState({},document.title,oe),K(A)}}return Yt(()=>{B()}),(se,ge)=>{const $=ri,A=dr,oe=Bu,Se=_m,ne=zt,ye=bl,Pe=f7e,I=ou("router-link"),H=Ji,te=a7e,_e=Am,he=vo;return be(),Fe(rt,null,[ce($,{show:f.value,"onUpdate:show":ge[1]||(ge[1]=de=>f.value=de),"mask-closable":!1},{default:ve(()=>{var de,ie;return[C.value==="recaptcha"&&((de=w.value)!=null&&de.recaptcha_site_key)?(be(),We(Te(h7e),{key:0,sitekey:w.value.recaptcha_site_key,size:"normal",theme:"light","loading-timeout":3e4,onVerify:y,onExpire:x,onFail:x,onError:x,ref_key:"vueRecaptchaRef",ref:g},null,8,["sitekey"])):C.value==="turnstile"&&((ie=w.value)!=null&&ie.turnstile_site_key)?(be(),We(Te(y7e),{key:1,siteKey:w.value.turnstile_site_key,theme:"auto",modelValue:p.value,"onUpdate:modelValue":ge[0]||(ge[0]=fe=>p.value=fe),onError:x,onExpired:x,ref_key:"vueTurnstileRef",ref:m},null,8,["siteKey","modelValue"])):Ct("",!0)]}),_:1},8,["show"]),Y("div",{class:"wh-full flex items-center justify-center",style:Di(Te(t).background_url&&`background:url(${Te(t).background_url}) no-repeat center center / cover;`)},[ce(he,{class:"mx-auto max-w-md rounded-md bg-[--n-color] shadow-black","content-style":"padding: 0;"},{default:ve(()=>{var de,ie,fe;return[Y("div",$7e,[Te(t).logo?(be(),Fe("div",I7e,[Y("img",{src:Te(t).logo,class:"mb-1em max-w-full"},null,8,O7e)])):(be(),Fe("h1",M7e,pe(Te(t).title),1)),Y("h5",z7e,pe(Te(t).description||" "),1),Y("div",L7e,[ce(Se,null,{default:ve(()=>{var Oe,De,Le;return[ce(A,{value:c.email,"onUpdate:value":ge[2]||(ge[2]=Be=>c.email=Be),autofocus:"",placeholder:se.$t("邮箱"),maxlength:40},null,8,["value","placeholder"]),["register","forgetpassword"].includes(ae.value)&&Te(ab)((Oe=w.value)==null?void 0:Oe.email_whitelist_suffix)?(be(),We(oe,{key:0,value:c.suffix,"onUpdate:value":ge[3]||(ge[3]=Be=>c.suffix=Be),options:((Le=(De=w.value)==null?void 0:De.email_whitelist_suffix)==null?void 0:Le.map(Be=>({value:`@${Be}`,label:`@${Be}`})))||[],class:"flex-[1]","consistent-menu-width":!1},null,8,["value","options"])):Ct("",!0)]}),_:1})]),dn(Y("div",F7e,[ce(Se,{class:"flex"},{default:ve(()=>[ce(A,{value:c.email_code,"onUpdate:value":ge[4]||(ge[4]=Oe=>c.email_code=Oe),placeholder:se.$t("邮箱验证码")},null,8,["value","placeholder"]),ce(ne,{type:"primary",onClick:ge[5]||(ge[5]=Oe=>L()),loading:R.value,disabled:R.value||q.value>0},{default:ve(()=>[nt(pe(q.value||se.$t("发送")),1)]),_:1},8,["loading","disabled"])]),_:1})],512),[[Mn,["register"].includes(ae.value)&&((de=w.value)==null?void 0:de.is_email_verify)||["forgetpassword"].includes(ae.value)]]),Y("div",D7e,[ce(A,{value:c.password,"onUpdate:value":ge[6]||(ge[6]=Oe=>c.password=Oe),class:"",type:"password","show-password-on":"click",placeholder:se.$t("密码"),maxlength:40,onKeydown:ge[7]||(ge[7]=Ss(Oe=>["login"].includes(ae.value)&&Z(),["enter"]))},null,8,["value","placeholder"])]),dn(Y("div",B7e,[ce(A,{value:c.confirm_password,"onUpdate:value":ge[8]||(ge[8]=Oe=>c.confirm_password=Oe),type:"password","show-password-on":"click",placeholder:se.$t("再次输入密码"),maxlength:40,onKeydown:ge[9]||(ge[9]=Ss(Oe=>["forgetpassword"].includes(ae.value)&&Z(),["enter"]))},null,8,["value","placeholder"])],512),[[Mn,["register","forgetpassword"].includes(ae.value)]]),dn(Y("div",N7e,[ce(A,{value:c.invite_code,"onUpdate:value":ge[10]||(ge[10]=Oe=>c.invite_code=Oe),placeholder:[se.$t("邀请码"),(ie=w.value)!=null&&ie.is_invite_force?`(${se.$t("必填")})`:`(${se.$t("选填")})`],maxlength:20,disabled:c.lock_invite_code,onKeydown:ge[11]||(ge[11]=Ss(Oe=>Z(),["enter"]))},null,8,["value","placeholder","disabled"])],512),[[Mn,["register"].includes(ae.value)]]),dn(Y("div",H7e,[ce(ye,{checked:u.value,"onUpdate:checked":ge[12]||(ge[12]=Oe=>u.value=Oe),class:"text-bold text-base"},{default:ve(()=>[Y("div",{innerHTML:d.value},null,8,j7e)]),_:1},8,["checked"])],512),[[Mn,["register"].includes(ae.value)&&((fe=w.value)==null?void 0:fe.tos_url)]]),Y("div",U7e,[ce(ne,{class:"h-9 w-full rounded-md text-base",type:"primary","icon-placement":"left",onClick:ge[13]||(ge[13]=Oe=>Z()),loading:M.value,disabled:M.value||!u.value&&["register"].includes(ae.value)},{icon:ve(()=>[ce(Pe)]),default:ve(()=>[nt(" "+pe(["login"].includes(ae.value)?se.$t("登入"):["register"].includes(ae.value)?se.$t("注册"):se.$t("重置密码")),1)]),_:1},8,["loading","disabled"])]),["login"].includes(ae.value)&&l.value?(be(),Fe("div",V7e,[Y("div",W7e,[q7e,Y("span",K7e,pe(se.$t("或使用第三方登录")),1),G7e]),Y("div",X7e,[s.value?(be(),Fe("div",Y7e)):(be(),Fe("div",Q7e,[ce(ne,{class:"h-10 w-full rounded-md text-base",type:"info",loading:!0,disabled:""},{icon:ve(()=>[J7e]),default:ve(()=>[nt(" "+pe(se.$t("正在加载 Telegram 登录...")),1)]),_:1})]))])])):Ct("",!0)]),Y("div",Z7e,[Y("div",null,[["login"].includes(ae.value)?(be(),Fe(rt,{key:0},[ce(I,{to:"/register",class:"text-gray-500"},{default:ve(()=>[nt(pe(se.$t("注册")),1)]),_:1}),ce(H,{vertical:""}),ce(I,{to:"/forgetpassword",class:"text-gray-500"},{default:ve(()=>[nt(pe(se.$t("忘记密码")),1)]),_:1})],64)):(be(),We(I,{key:1,to:"/login",class:"text-gray-500"},{default:ve(()=>[nt(pe(se.$t("返回登入")),1)]),_:1}))]),Y("div",null,[ce(_e,{value:Te(t).lang,"onUpdate:value":ge[14]||(ge[14]=Oe=>Te(t).lang=Oe),options:Object.entries(Te(dh)).map(([Oe,De])=>({label:De,value:Oe})),trigger:"click","on-update:value":Te(t).switchLang},{default:ve(()=>[ce(ne,{text:"","icon-placement":"left"},{icon:ve(()=>[ce(te)]),default:ve(()=>[nt(" "+pe(Te(dh)[Te(t).lang]),1)]),_:1})]),_:1},8,["value","options","on-update:value"])])])]}),_:1})],4)],64)}}}),Ef=Object.freeze(Object.defineProperty({__proto__:null,default:eNe},Symbol.toStringTag,{value:"Module"})),tNe={请求失败:"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)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':'I have read and agree to the <a target="_blank" href="{url}">terms of service</a>',请同意服务条款:"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",创建成功:"Creation successful",关闭成功:"Shutdown successful",或使用第三方登录:"Or sign in with","正在加载 Telegram 登录...":"Loading Telegram login...","Telegram 登录失败":"Telegram login failed"},Vk=Object.freeze(Object.defineProperty({__proto__:null,default:tNe},Symbol.toStringTag,{value:"Module"})),nNe={请求失败:"درخواست انجام نشد",月付:"ماهانه",季付:"سه ماهه",半年付:"نیم سال",年付:"سالانه",两年付:"دو سال",三年付:"سه سال",一次性:"یکباره",重置流量包:"بازنشانی بسته های داده",待支付:"در انتظار پرداخت",开通中:"ایجاید",已取消:"صرف نظر شد",已完成:"به پایان رسید",已折抵:"تخفیف داده شده است",待确认:"در حال بررسی",发放中:"صدور",已发放:"صادر شده",无效:"نامعتبر",个人中心:"پروفایل",登出:"خروج",搜索:"جستجو",仪表盘:"داشبرد",订阅:"اشتراک",我的订阅:"اشتراک من",购买订阅:"خرید اشتراک",财务:"امور مالی",我的订单:"درخواست های من",我的邀请:"دعوتنامه های من",用户:"کاربر",我的工单:"درخواست های من",流量明细:"جزئیات\\nعبورو مرور در\\nمحیط آموزشی",使用文档:"کار با مستندات",绑定Telegram获取更多服务:"برای خدمات بیشتر تلگرام را ببندید",点击这里进行绑定:"برای اتصال اینجا را کلیک کنید",公告:"هشدارها",总览:"بررسی کلی",该订阅长期有效:"این اشتراک برای مدت طولانی معتبر است",已过期:"منقضی شده","已用 {used} / 总计 {total}":"استفاده شده {used} / مجموع {total}",查看订阅:"مشاهده عضویت ها",邮箱:"ایمیل",邮箱验证码:"کد تایید ایمیل شما",发送:"ارسال",重置密码:"بازنشانی رمز عبور",返回登入:"بازگشت به صفحه ورود",邀请码:"کد دعوت شما",复制链接:"کپیکردن لینک",完成时间:"زمان پایان",佣金:"کمیسیون",已注册用户数:"تعداد کاربران ثبت نام شده",佣金比例:"نرخ کمیسیون",确认中的佣金:"کمیسیون تایید شده","佣金将会在确认后会到达你的佣金账户。":"کمیسیون پس از تایید به حساب کمیسیون شما واریز خواهد شد",邀请码管理:"مدیریت کد دعوت",生成邀请码:"یک کد دعوت ایجاد کنید",佣金发放记录:"سابقه پرداخت کمیسیون",复制成功:"آدرس URL با موفقیت کپی شد",密码:"رمز عبور",登入:"ورود",注册:"ثبتنام",忘记密码:"رمز عبور فراموش شده","# 订单号":"# شماره سفارش",周期:"چرخه",订单金额:"مقدار سفارش",订单状态:"وضعیت سفارش",创建时间:"ساختن",操作:"عملیات",查看详情:"مشاهده جزئیات",请选择支付方式:"لطفا نوع پرداخت را انتخاب کنید",请检查信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید",订单详情:"اطلاعات سفارش",折扣:"ذخیره",折抵:"折抵",退款:"بازگشت هزینه",支付方式:"روش پرداخت",填写信用卡支付信息:"لطفا اطلاعات پرداخت کارت اعتباری خود را بررسی کنید","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"اطلاعات کارت اعتباری شما فقط برای بدهی فعلی استفاده می شود، سیستم آن را ذخیره نمی کند، که ما فکر می کنیم امن ترین است.",订单总额:"مجموع سفارش",总计:"مجموع",结账:"پرداخت",等待支付中:"در انتظار پرداخت","订单系统正在进行处理,请稍等1-3分钟。":"سیستم سفارش در حال پردازش است، لطفا 1-3 دقیقه صبر کنید.","订单由于超时支付已被取消。":"سفارش به دلیل پرداخت اضافه کاری لغو شده است","订单已支付并开通。":"سفارش پرداخت و باز شد.",选择订阅:"انتخاب اشتراک",立即订阅:"همین حالا مشترک شوید",配置订阅:"پیکربندی اشتراک",付款周期:"چرخه پرداخت","有优惠券?":"یک کوپن دارید؟",验证:"تأیید",下单:"ایجاد سفارش","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"لطفاً توجه داشته باشید، تغییر یک اشتراک باعث میشود که اشتراک فعلی توسط اشتراک جدید بازنویسی شود.",该订阅无法续费:"این اشتراک قابل تمدید نیست",选择其他订阅:"اشتراک دیگری را انتخاب کنید",我的钱包:"کیف پول من","账户余额(仅消费)":"موجودی حساب (فقط خرج کردن)","推广佣金(可提现)":"کمیسیون ارتقاء (قابل برداشت)",钱包组成部分:"اجزای کیف پول",划转:"منتقل کردن",推广佣金提现:"انصراف کمیسیون ارتقاء",修改密码:"تغییر کلمه عبور",保存:"ذخیره کردن",旧密码:"گذرواژه قدیمی",新密码:"رمز عبور جدید",请输入旧密码:", رمز عبور مورد نیاز است",请输入新密码:"گذاشتن گذرواژه",通知:"اعلانات",到期邮件提醒:"یادآوری ایمیل انقضا",流量邮件提醒:"یادآوری ایمیل ترافیک",绑定Telegram:"تلگرام را ببندید",立即开始:"امروز شروع کنید",重置订阅信息:"بازنشانی اطلاعات اشتراک",重置:"تغییر","确定要重置订阅信息?":"آیا مطمئن هستید که می خواهید اطلاعات اشتراک خود را بازنشانی کنید؟","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"اگر آدرس یا اطلاعات اشتراک شما لو رفته باشد، این کار را می توان انجام داد. پس از تنظیم مجدد، Uuid و اشتراک شما تغییر خواهد کرد و باید دوباره مشترک شوید.",重置成功:"بازنشانی با موفقیت انجام شد",两次新密码输入不同:"رمز جدید را دو بار وارد کنید",两次密码输入不同:"رمز جدید را دو بار وارد کنید","邀请码(选填)":"کد دعوت (اختیاری)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"من <a target='_blank' href='{url}'>شرایط خدمات</a> را خواندهام و با آن موافقم",请同意服务条款:"لطفاً با شرایط خدمات موافقت کنید",名称:"نام ویژگی محصول",标签:"برچسبها",状态:"وضعیت",节点五分钟内节点在线情况:"وضعیت آنلاین گره را در عرض پنج دقیقه ثبت کنید",倍率:"بزرگنمایی",使用的流量将乘以倍率进行扣除:"جریان استفاده شده در ضریب برای کسر ضرب خواهد شد",更多操作:"اکشن های بیشتر","没有可用节点,如果您未订阅或已过期请":"هیچ گره ای در دسترس نیست، اگر مشترک نیستید یا منقضی شده اید، لطفاً","确定重置当前已用流量?":"آیا مطمئن هستید که می خواهید داده های استفاده شده فعلی را بازنشانی کنید؟","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"برای رفتن به صندوقدار روی 'OK' کلیک کنید. پس از پرداخت سفارش، سیستم اطلاعاتی را که برای ماه استفاده کرده اید پاک می کند.",确定:"تأیید",低:"پایین",中:"متوسط",高:"بالا",主题:"موضوع",工单级别:"سطح بلیط",工单状态:"وضعیت درخواست",最后回复:"آخرین پاسخ",已关闭:"پایانیافته",待回复:"در انتظار پاسخ",已回复:"پاسخ داده",查看:"بازدیدها",关闭:"بستن",新的工单:"سفارش کار جدید",确认:"تاييدات",请输入工单主题:"لطفا موضوع بلیط را وارد کنید",工单等级:"سطح سفارش کار",请选择工单等级:"لطفا سطح بلیط را انتخاب کنید",消息:"پیام ها",请描述你遇到的问题:"لطفا مشکلی که با آن مواجه شدید را شرح دهید",记录时间:"زمان ضبط",实际上行:"نقطه ضعف واقعی",实际下行:"نقطه ضعف واقعی",合计:"تعداد ارزشها","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"فرمول: (خط واقعی + پایین دست واقعی) x نرخ کسر = ترافیک کسر شده",复制订阅地址:"آدرس اشتراک را کپی کنید",导入到:"واردات در:",一键订阅:"اشتراک با یک کلیک",复制订阅:"اشتراک را کپی کنید",推广佣金划转至余额:"کمیسیون ارتقاء به موجودی منتقل می شود","划转后的余额仅用于{title}消费使用":"موجودی منتقل شده فقط برای مصرف {title} استفاده می شود",当前推广佣金余额:"موجودی کمیسیون ترفیع فعلی",划转金额:"مقدار انتقال",请输入需要划转到余额的金额:"لطفا مبلغی را که باید به موجودی منتقل شود وارد کنید","输入内容回复工单...":"برای پاسخ به تیکت محتوا را وارد کنید...",申请提现:"برای انصراف اقدام کنید",取消:"انصراف",提现方式:"روش برداشت",请选择提现方式:"لطفاً یک روش برداشت را انتخاب کنید",提现账号:"حساب برداشت",请输入提现账号:"لطفا حساب برداشت را وارد کنید",我知道了:"می فهمم",第一步:"گام ۱",第二步:"گام ۲",打开Telegram搜索:"جستجوی تلگرام را باز کنید",向机器人发送你的:"ربات های خود را بفرستید","最后更新: {date}":"آخرین به روز رسانی: {date}",还有没支付的订单:"هنوز سفارشات پرداخت نشده وجود دارد",立即支付:"اکنون پرداخت کنید",条工单正在处理中:"بلیط در حال پردازش است",立即查看:"آن را در عمل ببینید",节点状态:"وضعیت گره",商品信息:"مشتریان ثبت نام شده",产品名称:"عنوان کالا","类型/周期":"نوع/چرخه",产品流量:"جریان محصول",订单信息:"اطلاعات سفارش",关闭订单:"سفارش بستن",订单号:"شماره سفارش",优惠金额:"قیمت با تخفیف",旧订阅折抵金额:"مبلغ تخفیف اشتراک قدیمی",退款金额:"کل مبلغ مسترد شده",余额支付:"پرداخت مانده",工单历史:"تاریخچه بلیط","已用流量将在 {reset_day} 日后重置":"دادههای استفاده شده ظرف {reset_day} روز بازنشانی میشوند",已用流量已在今日重置:"امروز بازنشانی داده استفاده شده است",重置已用流量:"بازنشانی داده های استفاده شده",查看节点状态:"مشاهده وضعیت گره","当前已使用流量达{rate}%":"ترافیک استفاده شده در حال حاضر در {rate}%",节点名称:"نام گره","于 {date} 到期,距离到期还有 {day} 天。":"در {date} منقضی میشود که {day} روز دیگر است.","Telegram 讨论组":"گروه گفتگوی تلگرام",立即加入:"حالا پیوستن","该订阅无法续费,仅允许新用户购买":"این اشتراک قابل تمدید نیست، فقط کاربران جدید مجاز به خرید آن هستند",重置当月流量:"بازنشانی ترافیک ماه جاری","流量明细仅保留近月数据以供查询。":"جزئیات ترافیک فقط داده های ماه های اخیر را برای پرس و جو حفظ می کند.",扣费倍率:"نرخ کسر",支付手续费:"پرداخت هزینه های پردازش",续费订阅:"تمدید اشتراک",学习如何使用:"نحوه استفاده را یاد بگیرید",快速将节点导入对应客户端进行使用:"به سرعت گره ها را برای استفاده به مشتری مربوطه وارد کنید",对您当前的订阅进行续费:"با اشتراک فعلی خود خرید کنید",对您当前的订阅进行购买:"با اشتراک فعلی خود خرید کنید",捷径:"میانبر","不会使用,查看使用教程":"استفاده نمی شود، به آموزش مراجعه کنید",使用支持扫码的客户端进行订阅:"برای اشتراک از کلاینتی استفاده کنید که از کد اسکن پشتیبانی می کند",扫描二维码订阅:"برای اشتراک، کد QR را اسکن کنید",续费:"تمدید",购买:"خرید",查看教程:"مشاهده آموزش",注意:"یادداشت!","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"هنوز سفارشات ناتمام دارید. قبل از خرید باید آن را لغو کنید. آیا مطمئن هستید که میخواهید سفارش قبلی را لغو کنید؟",确定取消:"تایید لغو",返回我的订单:"بازگشت به سفارش من","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"اگر قبلاً پرداخت کردهاید، لغو سفارش ممکن است باعث عدم موفقیت در پرداخت شود. آیا مطمئن هستید که میخواهید سفارش را لغو کنید؟",选择最适合你的计划:"طرحی را انتخاب کنید که مناسب شما باشد",全部:"تمام",按周期:"توسط چرخه",遇到问题:"ما یک مشکل داریم",遇到问题可以通过工单与我们沟通:"در صورت بروز مشکل می توانید از طریق تیکت با ما در ارتباط باشید",按流量:"با جریان",搜索文档:"جستجوی اسناد",技术支持:"دریافت پشتیبانی",当前剩余佣金:"کمیسیون فعلی باقی مانده",三级分销比例:"نسبت توزیع سه لایه",累计获得佣金:"کمیسیون انباشته شده","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"کاربرانی که برای دعوت مجدد از کاربران دعوت می کنید بر اساس نسبت مقدار سفارش ضرب در سطح توزیع تقسیم می شوند.",发放时间:"زمان پرداخت","{number} 人":"{number} نفر","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"در صورت انتشار آدرس یا حساب اشتراک شما و سوء استفاده از آن توسط دیگران، میتوانید اطلاعات اشتراک خود را در اینجا بازنشانی کنید تا از زیانهای غیرضروری جلوگیری شود.",再次输入密码:"ورود مجدد رمز عبور",返回登陆:"بازگشت به ورود",选填:"اختیاری",必填:"الزامی",最后回复时间:"زمان آخرین پاسخ",请选项工单等级:"لطفاً اولویت تیکت را انتخاب کنید",回复:"پاسخ",输入内容回复工单:"محتوا را برای پاسخ به تیکت وارد کنید",已生成:"تولید شده",选择协议:"انتخاب پروتکل",自动:"خودکار",流量重置包:"بسته بازنشانی داده",复制失败:"کپی ناموفق بود",提示:"اطلاع","确认退出?":"تأیید خروج?",已退出登录:"با موفقیت خارج شده",请输入邮箱地址:"آدرس ایمیل را وارد کنید","{second}秒后可重新发送":"{second} ثانیه دیگر میتوانید مجدداً ارسال کنید",发送成功:"با موفقیت ارسال شد",请输入账号密码:"نام کاربری و رمز عبور را وارد کنید",请确保两次密码输入一致:"اطمینان حاصل کنید که ورودهای رمز عبور مطابقت دارند",注册成功:"ثبت نام با موفقیت انجام شد","重置密码成功,正在返回登录":"با موفقیت رمز عبور بازنشانی شد، در حال بازگشت به صفحه ورود",确认取消:"تایید لغو","请注意,变更订阅会导致当前订阅被覆盖。":"لطفاً توجه داشته باشید که تغییر اشتراک موجب ایجاد اشتراک فعلی میشود.","订单提交成功,正在跳转支付":"سفارش با موفقیت ثبت شد، به پرداخت هدایت میشود.",回复成功:"پاسخ با موفقیت ارسال شد",工单详情:"جزئیات تیکت",登录成功:"ورود موفقیتآمیز","确定退出?":"آیا مطمئن هستید که میخواهید خارج شوید؟",支付成功:"پرداخت موفق",正在前往收银台:"در حال رفتن به صندوق پرداخت",请输入正确的划转金额:"لطفا مبلغ انتقال صحیح را وارد کنید",划转成功:"انتقال موفق",提现方式不能为空:"روش برداشت نمیتواند خالی باشد",提现账号不能为空:"حساب برداشت نمیتواند خالی باشد",已绑定:"قبلاً متصل شده",创建成功:"ایجاد موفقیتآمیز",关闭成功:"خاموش کردن موفق",或使用第三方登录:"یا با ورود از طریق شخص ثالث","正在加载 Telegram 登录...":"در حال بارگذاری ورود تلگرام...","Telegram 登录失败":"ورود تلگرام ناموفق بود"},Wk=Object.freeze(Object.defineProperty({__proto__:null,default:nNe},Symbol.toStringTag,{value:"Module"})),oNe={请求失败:"リクエストエラー",月付:"月間プラン",季付:"3か月プラン",半年付:"半年プラン",年付:"年間プラン",两年付:"2年プラン",三年付:"3年プラン",一次性:"一括払い",重置流量包:"使用済みデータをリセット",待支付:"お支払い待ち",开通中:"開通中",已取消:"キャンセル済み",已完成:"済み",已折抵:"控除済み",待确认:"承認待ち",发放中:"処理中",已发放:"処理済み",无效:"無効",个人中心:"会員メニュー",登出:"ログアウト",搜索:"検索",仪表盘:"ダッシュボード",订阅:"サブスクリプションプラン",我的订阅:"マイプラン",购买订阅:"プランの購入",财务:"ファイナンス",我的订单:"注文履歴",我的邀请:"招待リスト",用户:"ユーザー",我的工单:"お問い合わせ",流量明细:"データ通信明細",使用文档:"ナレッジベース",绑定Telegram获取更多服务:"Telegramと連携し各種便利な通知を受け取ろう",点击这里进行绑定:"こちらをクリックして連携開始",公告:"お知らせ",总览:"概要",该订阅长期有效:"時間制限なし",已过期:"期限切れ","已用 {used} / 总计 {total}":"使用済み {used} / 合計 {total}",查看订阅:"プランを表示",邮箱:"E-mail アドレス",邮箱验证码:"確認コード",发送:"送信",重置密码:"パスワードを変更",返回登入:"ログインページへ戻る",邀请码:"招待コード",复制链接:"URLをコピー",完成时间:"完了日時",佣金:"コミッション金額",已注册用户数:"登録済みユーザー数",佣金比例:"コミッションレート",确认中的佣金:"承認待ちのコミッション","佣金将会在确认后会到达你的佣金账户。":"コミッションは承認処理完了後にカウントされます",邀请码管理:"招待コードの管理",生成邀请码:"招待コードを生成",佣金发放记录:"コミッション履歴",复制成功:"クリップボードにコピーされました",密码:"パスワード",登入:"ログイン",注册:"新規登録",忘记密码:"パスワードをお忘れの方","# 订单号":"受注番号",周期:"サイクル",订单金额:"ご注文金額",订单状态:"ご注文状況",创建时间:"作成日時",操作:"アクション",查看详情:"詳細を表示",请选择支付方式:"支払い方法をお選びください",请检查信用卡支付信息:"クレジットカード決済情報をご確認ください",订单详情:"ご注文詳細",折扣:"割引",折抵:"控除",退款:"払い戻し",支付方式:"お支払い方法",填写信用卡支付信息:"クレジットカード決済情報をご入力ください。","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"お客様のカード情報は今回限りリクエストされ、記録に残ることはございません",订单总额:"ご注文の合計金額",总计:"合計金額",结账:"チェックアウト",等待支付中:"お支払い待ち","订单系统正在进行处理,请稍等1-3分钟。":"システム処理中です、しばらくお待ちください","订单由于超时支付已被取消。":"ご注文はキャンセルされました","订单已支付并开通。":"お支払いが完了しました、プランはご利用可能です",选择订阅:"プランをお選びください",立即订阅:"今すぐ購入",配置订阅:"プランの内訳",付款周期:"お支払いサイクル","有优惠券?":"キャンペーンコード",验证:"確定",下单:"チェックアウト","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"プランを変更なされます場合は、既存のプランが新規プランによって上書きされます、ご注意下さい",该订阅无法续费:"該当プランは継続利用できません",选择其他订阅:"その他のプランを選択",我的钱包:"マイウォレット","账户余额(仅消费)":"残高(サービスの購入のみ)","推广佣金(可提现)":"招待によるコミッション(出金可)",钱包组成部分:"ウォレットの内訳",划转:"お振替",推广佣金提现:"コミッションのお引き出し",修改密码:"パスワードの変更",保存:"変更を保存",旧密码:"現在のパスワード",新密码:"新しいパスワード",请输入旧密码:"現在のパスワードをご入力ください",请输入新密码:"新しいパスワードをご入力ください",通知:"お知らせ",到期邮件提醒:"期限切れ前にメールで通知",流量邮件提醒:"データ量不足時にメールで通知",绑定Telegram:"Telegramと連携",立即开始:"今すぐ連携開始",重置订阅信息:"サブスクリプションURLの変更",重置:"変更","确定要重置订阅信息?":"サブスクリプションURLをご変更なされますか?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"サブスクリプションのURL及び情報が外部に漏れた場合にご操作ください。操作後はUUIDやURLが変更され、再度サブスクリプションのインポートが必要になります。",重置成功:"変更完了",两次新密码输入不同:"ご入力されました新しいパスワードが一致しません",两次密码输入不同:"ご入力されましたパスワードが一致しません","邀请码(选填)":"招待コード (オプション)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"<a target='_blank' href='{url}'>ご利用規約</a>に同意します",请同意服务条款:"ご利用規約に同意してください",名称:"名称",标签:"ラベル",状态:"ステータス",节点五分钟内节点在线情况:"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} 秒後に再送信可能",发送成功:"送信成功",请输入账号密码:"アカウントとパスワードを入力してください",请确保两次密码输入一致:"パスワードの入力が一致していることを確認してください",注册成功:"登録が成功しました","重置密码成功,正在返回登录":"パスワードのリセットが成功しました。ログインに戻っています",确认取消:"キャンセルの確認","请注意,变更订阅会导致当前订阅被覆盖。":"購読の変更は現在の購読を上書きします。","订单提交成功,正在跳转支付":"注文が成功裏に送信されました。支払いにリダイレクトしています。",回复成功:"返信が成功しました",工单详情:"チケットの詳細",登录成功:"ログイン成功","确定退出?":"本当に退出しますか?",支付成功:"支払い成功",正在前往收银台:"チェックアウトに進行中",请输入正确的划转金额:"正しい振替金額を入力してください",划转成功:"振替成功",提现方式不能为空:"出金方法は空にできません",提现账号不能为空:"出金口座を空にすることはできません",已绑定:"既にバインドされています",创建成功:"作成成功",关闭成功:"閉鎖成功",或使用第三方登录:"または第三者ログインを使用","正在加载 Telegram 登录...":"Telegram ログインを読み込み中...","Telegram 登录失败":"Telegram ログインに失敗しました"},qk=Object.freeze(Object.defineProperty({__proto__:null,default:oNe},Symbol.toStringTag,{value:"Module"})),rNe={请求失败:"요청실패",月付:"월간",季付:"3개월간",半年付:"반년간",年付:"1년간",两年付:"2년마다",三年付:"3년마다",一次性:"한 번",重置流量包:"데이터 재설정 패키지",待支付:"지불 보류중",开通中:"보류 활성화",已取消:"취소 됨",已完成:"완료",已折抵:"변환",待确认:"보류중",发放中:"확인중",已发放:"완료",无效:"유효하지 않음",个人中心:"사용자 센터",登出:"로그아웃",搜索:"검색",仪表盘:"대시보드",订阅:"구독",我的订阅:"나의 구독",购买订阅:"구독 구매 내역",财务:"청구",我的订单:"나의 주문",我的邀请:"나의 초청",用户:"사용자 센터",我的工单:"나의 티켓",流量明细:"데이터 세부 정보 전송",使用文档:"사용 설명서",绑定Telegram获取更多服务:"텔레그램에 아직 연결되지 않았습니다",点击这里进行绑定:"텔레그램에 연결되도록 여기를 눌러주세요",公告:"발표",总览:"개요",该订阅长期有效:"구독은 무제한으로 유효합니다",已过期:"만료","已用 {used} / 总计 {total}":"{date}에 만료됩니다, 만료 {day}이 전, {reset_day}후 데이터 전송 재설정",查看订阅:"구독 보기",邮箱:"이메일",邮箱验证码:"이메일 확인 코드",发送:"보내기",重置密码:"비밀번호 재설정",返回登入:"로그인 다시하기",邀请码:"초청 코드",复制链接:"링크 복사",完成时间:"완료 시간",佣金:"수수료",已注册用户数:"등록 된 사용자들",佣金比例:"수수료율",确认中的佣金:"수수료 상태","佣金将会在确认后会到达你的佣金账户。":"수수료는 검토 후 수수료 계정에서 확인할 수 있습니다",邀请码管理:"초청 코드 관리",生成邀请码:"초청 코드 생성하기",佣金发放记录:"수수료 지불 기록",复制成功:"복사 성공",密码:"비밀번호",登入:"로그인",注册:"등록하기",忘记密码:"비밀번호를 잊으셨나요","# 订单号":"주문 번호 #",周期:"유형/기간",订单金额:"주문량",订单状态:"주문 상태",创建时间:"생성 시간",操作:"설정",查看详情:"세부사항 보기",请选择支付方式:"지불 방식을 선택 해주세요",请检查信用卡支付信息:"신용카드 지불 정보를 확인 해주세요",订单详情:"주문 세부사항",折扣:"할인",折抵:"변환",退款:"환불",支付方式:"지불 방식",填写信用卡支付信息:"신용카드 지불 정보를 적으세요","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"현재 거래를 확인하는 데 사용하는 귀하의 신용 카드 정보, 신용 카드 번호 및 기타 세부 정보를 수집하지 않습니다.",订单总额:"전체주문",总计:"전체",结账:"결제하기",等待支付中:"결제 대기 중","订单系统正在进行处理,请稍等1-3分钟。":"주문 시스템이 처리 중입니다. 1-3분 정도 기다려 주십시오.","订单由于超时支付已被取消。":"결제 시간 초과로 인해 주문이 취소되었습니다.","订单已支付并开通。":"주문이 결제되고 개통되었습니다.",选择订阅:"구독 선택하기",立即订阅:"지금 구독하기",配置订阅:"구독 환경 설정하기",付款周期:"지불 기간","有优惠券?":"쿠폰을 가지고 있나요?",验证:"확인",下单:"주문","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"주의하십시오. 구독을 변경하면 현재 구독을 덮어씁니다",该订阅无法续费:"이 구독은 갱신할 수 없습니다.",选择其他订阅:"다른 구독 선택",我的钱包:"나의 지갑","账户余额(仅消费)":"계정 잔액(결제 전용)","推广佣金(可提现)":"초청수수료(인출하는 데 사용할 수 있습니다)",钱包组成部分:"지갑 세부사항",划转:"이체하기",推广佣金提现:"초청 수수료 인출",修改密码:"비밀번호 변경",保存:"저장하기",旧密码:"이전 비밀번호",新密码:"새로운 비밀번호",请输入旧密码:"이전 비밀번호를 입력해주세요",请输入新密码:"새로운 비밀번호를 입력해주세요",通知:"공고",到期邮件提醒:"구독 만료 이메일 알림",流量邮件提醒:"불충분한 데이터 이메일 전송 알림",绑定Telegram:"탤레그램으로 연결",立即开始:"지금 시작하기",重置订阅信息:"구독 재설정하기",重置:"재설정","确定要重置订阅信息?":"구독을 재설정하시겠습니까?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"계정 정보나 구독이 누출된 경우 이 옵션은 UUID를 재설정하는 데 사용되며 재설정 후에 구독이 변경되므로 다시 구독해야 합니다.",重置成功:"재설정 성공",两次新密码输入不同:"입력한 두 개의 새 비밀번호가 일치하지 않습니다.",两次密码输入不同:"입력한 비밀번호가 일치하지 않습니다.","邀请码(选填)":"초청 코드(선택 사항)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"을 읽었으며 이에 동의합니다 <a target='_blank' href='{url}'>서비스 약관</a>",请同意服务条款:"서비스 약관에 동의해주세요",名称:"이름",标签:"태그",状态:"설정",节点五分钟内节点在线情况:"지난 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} 초 후에 다시 전송 가능",发送成功:"전송 성공",请输入账号密码:"계정과 비밀번호를 입력하세요",请确保两次密码输入一致:"비밀번호 입력이 일치하는지 확인하세요",注册成功:"등록 성공","重置密码成功,正在返回登录":"비밀번호 재설정 성공, 로그인 페이지로 돌아가는 중",确认取消:"취소 확인","请注意,变更订阅会导致当前订阅被覆盖。":"구독 변경은 현재 구독을 덮어씁니다.","订单提交成功,正在跳转支付":"주문이 성공적으로 제출되었습니다. 지불로 이동 중입니다.",回复成功:"답장 성공",工单详情:"티켓 상세 정보",登录成功:"로그인 성공","确定退出?":"확실히 종료하시겠습니까?",支付成功:"결제 성공",正在前往收银台:"결제 진행 중",请输入正确的划转金额:"정확한 이체 금액을 입력하세요",划转成功:"이체 성공",提现方式不能为空:"출금 방식은 비워 둘 수 없습니다",提现账号不能为空:"출금 계좌는 비워 둘 수 없습니다",已绑定:"이미 연결됨",创建成功:"생성 성공",关闭成功:"종료 성공",或使用第三方登录:"또는 제3자 로그인 사용","正在加载 Telegram 登录...":"Telegram 로그인 로딩 중...","Telegram 登录失败":"Telegram 로그인 실패"},Kk=Object.freeze(Object.defineProperty({__proto__:null,default:rNe},Symbol.toStringTag,{value:"Module"})),iNe={请求失败:"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)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':"Tôi đã đọc và đồng ý <a target='_blank' href='{url}'>điều khoản dịch vụ</a>",请同意服务条款:"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",创建成功:"Tạo thành công",关闭成功:"Đóng thành công",或使用第三方登录:"Hoặc đăng nhập bằng bên thứ ba","正在加载 Telegram 登录...":"Đang tải đăng nhập Telegram...","Telegram 登录失败":"Đăng nhập Telegram thất bại"},Gk=Object.freeze(Object.defineProperty({__proto__:null,default:iNe},Symbol.toStringTag,{value:"Module"})),aNe={请求失败:"请求失败",月付:"月付",季付:"季付",半年付:"半年付",年付:"年付",两年付:"两年付",三年付:"三年付",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"开通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待确认",发放中:"发放中",已发放:"已发放",无效:"无效",个人中心:"个人中心",登出:"登出",搜索:"搜索",仪表盘:"仪表盘",订阅:"订阅",我的订阅:"我的订阅",购买订阅:"购买订阅",财务:"财务",我的订单:"我的订单",我的邀请:"我的邀请",用户:"用户",我的工单:"我的工单",流量明细:"流量明细",使用文档:"使用文档",绑定Telegram获取更多服务:"绑定 Telegram 获取更多服务",点击这里进行绑定:"点击这里进行绑定",公告:"公告",总览:"总览",该订阅长期有效:"该订阅长期有效",已过期:"已过期","已用 {used} / 总计 {total}":"已用 {used} / 总计 {total}",查看订阅:"查看订阅",邮箱:"邮箱",邮箱验证码:"邮箱验证码",发送:"发送",重置密码:"重置密码",返回登入:"返回登入",邀请码:"邀请码",复制链接:"复制链接",完成时间:"完成时间",佣金:"佣金",已注册用户数:"已注册用户数",佣金比例:"佣金比例",确认中的佣金:"确认中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金将会在确认后到达您的佣金账户。",邀请码管理:"邀请码管理",生成邀请码:"生成邀请码",佣金发放记录:"佣金发放记录",复制成功:"复制成功",密码:"密码",登入:"登入",注册:"注册",忘记密码:"忘记密码","# 订单号":"# 订单号",周期:"周期",订单金额:"订单金额",订单状态:"订单状态",创建时间:"创建时间",操作:"操作",查看详情:"查看详情",请选择支付方式:"请选择支付方式",请检查信用卡支付信息:"请检查信用卡支付信息",订单详情:"订单详情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填写信用卡支付信息","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡信息只会用于当次扣款,系统并不会保存,我们认为这是最安全的。",订单总额:"订单总额",总计:"总计",结账:"结账",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"订单系统正在进行处理,请等候 1-3 分钟。","订单由于超时支付已被取消。":"订单由于超时支付已被取消。","订单已支付并开通。":"订单已支付并开通。",选择订阅:"选择订阅",立即订阅:"立即订阅",配置订阅:"配置订阅",付款周期:"付款周期","有优惠券?":"有优惠券?",验证:"验证",下单:"下单","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"请注意,变更订阅会导致当前订阅被新订阅覆盖。",该订阅无法续费:"该订阅无法续费",选择其他订阅:"选择其它订阅",我的钱包:"我的钱包","账户余额(仅消费)":"账户余额(仅消费)","推广佣金(可提现)":"推广佣金(可提现)",钱包组成部分:"钱包组成部分",划转:"划转",推广佣金提现:"推广佣金提现",修改密码:"修改密码",保存:"保存",旧密码:"旧密码",新密码:"新密码",请输入旧密码:"请输入旧密码",请输入新密码:"请输入新密码",通知:"通知",到期邮件提醒:"到期邮件提醒",流量邮件提醒:"流量邮件提醒",绑定Telegram:"绑定 Telegram",立即开始:"立即开始",重置订阅信息:"重置订阅信息",重置:"重置","确定要重置订阅信息?":"确定要重置订阅信息?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的订阅地址或信息发生泄露可以执行此操作。重置后您的 UUID 及订阅将会变更,需要重新导入订阅。",重置成功:"重置成功",两次新密码输入不同:"两次新密码输入不同",两次密码输入不同:"两次密码输入不同","邀请码(选填)":"邀请码(选填)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>',请同意服务条款:"请同意服务条款",名称:"名称",标签:"标签",状态:"状态",节点五分钟内节点在线情况:"五分钟内节点在线情况",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量将乘以倍率进行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"没有可用节点,如果您未订阅或已过期请","确定重置当前已用流量?":"确定重置当前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。",确定:"确定",低:"低",中:"中",高:"高",主题:"主题",工单级别:"工单级别",工单状态:"工单状态",最后回复:"最后回复",已关闭:"已关闭",待回复:"待回复",已回复:"已回复",查看:"查看",关闭:"关闭",新的工单:"新的工单",确认:"确认",请输入工单主题:"请输入工单主题",工单等级:"工单等级",请选择工单等级:"请选择工单等级",消息:"消息",请描述你遇到的问题:"请描述您遇到的问题",记录时间:"记录时间",实际上行:"实际上行",实际下行:"实际下行",合计:"合计","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量",复制订阅地址:"复制订阅地址",导入到:"导入到",一键订阅:"一键订阅",复制订阅:"复制订阅",推广佣金划转至余额:"推广佣金划转至余额","划转后的余额仅用于{title}消费使用":"划转后的余额仅用于{title}消费使用",当前推广佣金余额:"当前推广佣金余额",划转金额:"划转金额",请输入需要划转到余额的金额:"请输入需要划转到余额的金额","输入内容回复工单...":"输入内容回复工单...",申请提现:"申请提现",取消:"取消",提现方式:"提现方式",请选择提现方式:"请选择提现方式",提现账号:"提现账号",请输入提现账号:"请输入提现账号",我知道了:"我知道了",第一步:"第一步",第二步:"第二步",打开Telegram搜索:"打开 Telegram 搜索",向机器人发送你的:"向机器人发送您的",最后更新:"{date}",还有没支付的订单:"还有没支付的订单",立即支付:"立即支付",条工单正在处理中:"条工单正在处理中",立即查看:"立即查看",节点状态:"节点状态",商品信息:"商品信息",产品名称:"产品名称","类型/周期":"类型/周期",产品流量:"产品流量",订单信息:"订单信息",关闭订单:"关闭订单",订单号:"订单号",优惠金额:"优惠金额",旧订阅折抵金额:"旧订阅折抵金额",退款金额:"退款金额",余额支付:"余额支付",工单历史:"工单历史","已用流量将在 {reset_day} 日后重置":"已用流量将在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看节点状态","当前已使用流量达{rate}%":"当前已使用流量达 {rate}%",节点名称:"节点名称","于 {date} 到期,距离到期还有 {day} 天。":"于 {date} 到期,距离到期还有 {day} 天。","Telegram 讨论组":"Telegram 讨论组",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"该订阅无法续费,仅允许新用户购买",重置当月流量:"重置当月流量","流量明细仅保留近月数据以供查询。":"流量明细仅保留近一个月数据以供查询。",扣费倍率:"扣费倍率",支付手续费:"支付手续费",续费订阅:"续费订阅",学习如何使用:"学习如何使用",快速将节点导入对应客户端进行使用:"快速将节点导入对应客户端进行使用",对您当前的订阅进行续费:"对您当前的订阅进行续费",对您当前的订阅进行购买:"对您当前的订阅进行购买",捷径:"捷径","不会使用,查看使用教程":"不会使用,查看使用教程",使用支持扫码的客户端进行订阅:"使用支持扫码的客户端进行订阅",扫描二维码订阅:"扫描二维码订阅",续费:"续费",购买:"购买",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"确定取消",返回我的订单:"返回我的订单","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已经付款,取消订单可能会导致支付失败,确定要取消订单吗?",选择最适合你的计划:"选择最适合您的计划",全部:"全部",按周期:"按周期",遇到问题:"遇到问题",遇到问题可以通过工单与我们沟通:"遇到问题可以通过工单与我们沟通",按流量:"按流量",搜索文档:"搜索文档",技术支持:"技术支持",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。",再次输入密码:"再次输入密码",返回登陆:"返回登录",选填:"选填",必填:"必填",最后回复时间:"最后回复时间",请选项工单等级:"请选择工单优先级",回复:"回复",输入内容回复工单:"输入内容回复工单",已生成:"已生成",选择协议:"选择协议",自动:"自动",流量重置包:"流量重置包",复制失败:"复制失败",提示:"提示","确认退出?":"确认退出?",已退出登录:"已成功退出登录",请输入邮箱地址:"请输入邮箱地址","{second}秒后可重新发送":"{second}秒后可重新发送",发送成功:"发送成功",请输入账号密码:"请输入账号密码",请确保两次密码输入一致:"请确保两次密码输入一致",注册成功:"注册成功","重置密码成功,正在返回登录":"重置密码成功,正在返回登录",确认取消:"确认取消","请注意,变更订阅会导致当前订阅被覆盖。":"请注意,变更订阅会导致当前订阅被覆盖。","订单提交成功,正在跳转支付":"订单提交成功,正在跳转支付",回复成功:"回复成功",工单详情:"工单详情",登录成功:"登录成功","确定退出?":"确定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收银台",请输入正确的划转金额:"请输入正确的划转金额",划转成功:"划转成功",提现方式不能为空:"提现方式不能为空",提现账号不能为空:"提现账号不能为空",已绑定:"已绑定",创建成功:"创建成功",关闭成功:"关闭成功",或使用第三方登录:"或使用第三方登录","正在加载 Telegram 登录...":"正在加载 Telegram 登录...","Telegram 登录失败":"Telegram 登录失败"},Xk=Object.freeze(Object.defineProperty({__proto__:null,default:aNe},Symbol.toStringTag,{value:"Module"})),sNe={请求失败:"請求失敗",月付:"月繳制",季付:"季繳",半年付:"半年缴",年付:"年繳",两年付:"兩年繳",三年付:"三年繳",一次性:"一次性",重置流量包:"重置流量包",待支付:"待支付",开通中:"開通中",已取消:"已取消",已完成:"已完成",已折抵:"已折抵",待确认:"待確認",发放中:"發放中",已发放:"已發放",无效:"無效",个人中心:"您的帳戸",登出:"登出",搜索:"搜尋",仪表盘:"儀表板",订阅:"訂閱",我的订阅:"我的訂閱",购买订阅:"購買訂閱",财务:"財務",我的订单:"我的訂單",我的邀请:"我的邀請",用户:"使用者",我的工单:"我的工單",流量明细:"流量明細",使用文档:"說明文件",绑定Telegram获取更多服务:"綁定 Telegram 獲取更多服務",点击这里进行绑定:"點擊這裡進行綁定",公告:"公告",总览:"總覽",该订阅长期有效:"該訂閱長期有效",已过期:"已過期","已用 {used} / 总计 {total}":"已用 {used} / 總計 {total}",查看订阅:"查看訂閱",邮箱:"郵箱",邮箱验证码:"郵箱驗證碼",发送:"傳送",重置密码:"重設密碼",返回登入:"返回登錄",邀请码:"邀請碼",复制链接:"複製鏈接",完成时间:"完成時間",佣金:"佣金",已注册用户数:"已註冊用戶數",佣金比例:"佣金比例",确认中的佣金:"確認中的佣金","佣金将会在确认后会到达你的佣金账户。":"佣金將會在確認後到達您的佣金帳戶。",邀请码管理:"邀請碼管理",生成邀请码:"生成邀請碼",佣金发放记录:"佣金發放記錄",复制成功:"複製成功",密码:"密碼",登入:"登入",注册:"註冊",忘记密码:"忘記密碼","# 订单号":"# 訂單號",周期:"週期",订单金额:"訂單金額",订单状态:"訂單狀態",创建时间:"創建時間",操作:"操作",查看详情:"查看詳情",请选择支付方式:"請選擇支付方式",请检查信用卡支付信息:"請檢查信用卡支付資訊",订单详情:"訂單詳情",折扣:"折扣",折抵:"折抵",退款:"退款",支付方式:"支付方式",填写信用卡支付信息:"填寫信用卡支付資訊","您的信用卡信息只会被用作当次扣款,系统并不会保存,这是我们认为最安全的。":"您的信用卡資訊只會被用作當次扣款,系統並不會保存,我們認為這是最安全的。",订单总额:"訂單總額",总计:"總計",结账:"結賬",等待支付中:"等待支付中","订单系统正在进行处理,请稍等1-3分钟。":"訂單系統正在進行處理,請稍等 1-3 分鐘。","订单由于超时支付已被取消。":"訂單由於支付超時已被取消","订单已支付并开通。":"訂單已支付並開通",选择订阅:"選擇訂閱",立即订阅:"立即訂閱",配置订阅:"配置訂閱",付款周期:"付款週期","有优惠券?":"有優惠券?",验证:"驗證",下单:"下單","变更订阅会导致当前订阅被新订阅覆盖,请注意。":"請注意,變更訂閱會導致當前訂閱被新訂閱覆蓋。",该订阅无法续费:"該訂閱無法續費",选择其他订阅:"選擇其它訂閱",我的钱包:"我的錢包","账户余额(仅消费)":"賬戶餘額(僅消費)","推广佣金(可提现)":"推廣佣金(可提現)",钱包组成部分:"錢包組成部分",划转:"劃轉",推广佣金提现:"推廣佣金提現",修改密码:"修改密碼",保存:"儲存",旧密码:"舊密碼",新密码:"新密碼",请输入旧密码:"請輸入舊密碼",请输入新密码:"請輸入新密碼",通知:"通知",到期邮件提醒:"到期郵件提醒",流量邮件提醒:"流量郵件提醒",绑定Telegram:"綁定 Telegram",立即开始:"立即開始",重置订阅信息:"重置訂閲資訊",重置:"重置","确定要重置订阅信息?":"確定要重置訂閱資訊?","如果你的订阅地址或信息泄露可以进行此操作。重置后你的UUID及订阅将会变更,需要重新进行订阅。":"如果您的訂閱位址或資訊發生洩露可以執行此操作。重置後您的 UUID 及訂閱將會變更,需要重新導入訂閱。",重置成功:"重置成功",两次新密码输入不同:"兩次新密碼輸入不同",两次密码输入不同:"兩次密碼輸入不同","邀请码(选填)":"邀請碼(選填)",'我已阅读并同意 <a target="_blank" href="{url}">服务条款</a>':'我已閱讀並同意 <a target="_blank" href="{url}">服務條款</a>',请同意服务条款:"請同意服務條款",名称:"名稱",标签:"標籤",状态:"狀態",节点五分钟内节点在线情况:"五分鐘內節點線上情況",倍率:"倍率",使用的流量将乘以倍率进行扣除:"使用的流量將乘以倍率進行扣除",更多操作:"更多操作","没有可用节点,如果您未订阅或已过期请":"沒有可用節點,如果您未訂閱或已過期請","确定重置当前已用流量?":"確定重置當前已用流量?","点击「确定」将会跳转到收银台,支付订单后系统将会清空您当月已使用流量。":"點擊「確定」將會跳轉到收銀台,支付訂單後系統將會清空您當月已使用流量。",确定:"確定",低:"低",中:"中",高:"高",主题:"主題",工单级别:"工單級別",工单状态:"工單狀態",最后回复:"最新回復",已关闭:"已關閉",待回复:"待回復",已回复:"已回復",查看:"檢視",关闭:"關閉",新的工单:"新的工單",确认:"確認",请输入工单主题:"請輸入工單主題",工单等级:"工單等級",请选择工单等级:"請選擇工單等級",消息:"訊息",请描述你遇到的问题:"請描述您遇到的問題",记录时间:"記錄時間",实际上行:"實際上行",实际下行:"實際下行",合计:"合計","公式:(实际上行 + 实际下行) x 扣费倍率 = 扣除流量":"公式:(實際上行 + 實際下行) x 扣費倍率 = 扣除流量",复制订阅地址:"複製訂閲位址",导入到:"导入到",一键订阅:"一鍵訂閲",复制订阅:"複製訂閲",推广佣金划转至余额:"推廣佣金劃轉至餘額","划转后的余额仅用于{title}消费使用":"劃轉后的餘額僅用於 {title} 消費使用",当前推广佣金余额:"當前推廣佣金餘額",划转金额:"劃轉金額",请输入需要划转到余额的金额:"請輸入需要劃轉到餘額的金額","输入内容回复工单...":"輸入内容回復工單…",申请提现:"申請提現",取消:"取消",提现方式:"提現方式",请选择提现方式:"請選擇提現方式",提现账号:"提現賬號",请输入提现账号:"請輸入提現賬號",我知道了:"我知道了",第一步:"步驟一",第二步:"步驟二",打开Telegram搜索:"打開 Telegram 並搜索",向机器人发送你的:"向機器人發送您的","最后更新: {date}":"最後更新: {date}",还有没支付的订单:"還有未支付的訂單",立即支付:"立即支付",条工单正在处理中:"條工單正在處理中",立即查看:"立即檢視",节点状态:"節點狀態",商品信息:"商品資訊",产品名称:"產品名稱","类型/周期":"類型/週期",产品流量:"產品流量",订单信息:"訂單信息",关闭订单:"關閉訂單",订单号:"訂單號",优惠金额:"優惠金額",旧订阅折抵金额:"舊訂閲折抵金額",退款金额:"退款金額",余额支付:"餘額支付",工单历史:"工單歷史","已用流量将在 {reset_day} 日后重置":"已用流量將在 {reset_day} 日后重置",已用流量已在今日重置:"已用流量已在今日重置",重置已用流量:"重置已用流量",查看节点状态:"查看節點狀態","当前已使用流量达{rate}%":"當前已用流量達 {rate}%",节点名称:"節點名稱","于 {date} 到期,距离到期还有 {day} 天。":"於 {date} 到期,距離到期還有 {day} 天。","Telegram 讨论组":"Telegram 討論組",立即加入:"立即加入","该订阅无法续费,仅允许新用户购买":"該訂閲無法續費,僅允許新用戶購買",重置当月流量:"重置當月流量","流量明细仅保留近月数据以供查询。":"流量明細僅保留近一個月資料以供查詢。",扣费倍率:"扣费倍率",支付手续费:"支付手續費",续费订阅:"續費訂閲",学习如何使用:"學習如何使用",快速将节点导入对应客户端进行使用:"快速將訂閲導入對應的客戶端進行使用",对您当前的订阅进行续费:"對您的當前訂閲進行續費",对您当前的订阅进行购买:"重新購買您的當前訂閲",捷径:"捷徑","不会使用,查看使用教程":"不會使用,檢視使用檔案",使用支持扫码的客户端进行订阅:"使用支持掃碼的客戶端進行訂閲",扫描二维码订阅:"掃描二維碼訂閲",续费:"續費",购买:"購買",查看教程:"查看教程",注意:"注意","你还有未完成的订单,购买前需要先进行取消,确定取消先前的订单吗?":"您还有未完成的订单,购买前需要先取消,确定要取消之前的订单吗?",确定取消:"確定取消",返回我的订单:"返回我的訂單","如果你已经付款,取消订单可能会导致支付失败,确定取消订单吗?":"如果您已經付款,取消訂單可能會導致支付失敗,確定要取消訂單嗎?",选择最适合你的计划:"選擇最適合您的計劃",全部:"全部",按周期:"按週期",遇到问题:"遇到問題",遇到问题可以通过工单与我们沟通:"遇到問題您可以通過工單與我們溝通",按流量:"按流量",搜索文档:"搜尋文檔",技术支持:"技術支援",当前剩余佣金:"当前剩余佣金",三级分销比例:"三级分销比例",累计获得佣金:"累计获得佣金","您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。":"您邀请的用户再次邀请用户将按照订单金额乘以分销等级的比例进行分成。",发放时间:"发放时间","{number} 人":"{number} 人","当你的订阅地址或账户发生泄漏被他人滥用时,可以在此重置订阅信息。避免带来不必要的损失。":"如果您的訂閱地址或帳戶洩漏並被他人濫用,您可以在此重置訂閱資訊,以避免不必要的損失。",再次输入密码:"請再次輸入密碼",返回登陆:"返回登入",选填:"選填",必填:"必填",最后回复时间:"最後回覆時間",请选项工单等级:"請選擇工單優先級",回复:"回覆",输入内容回复工单:"輸入內容回覆工單",已生成:"已生成",选择协议:"選擇協議",自动:"自動",流量重置包:"流量重置包",复制失败:"複製失敗",提示:"提示","确认退出?":"確認退出?",已退出登录:"已成功登出",请输入邮箱地址:"請輸入電子郵件地址","{second}秒后可重新发送":"{second} 秒後可重新發送",发送成功:"發送成功",请输入账号密码:"請輸入帳號和密碼",请确保两次密码输入一致:"請確保兩次密碼輸入一致",注册成功:"註冊成功","重置密码成功,正在返回登录":"重置密碼成功,正在返回登入",确认取消:"確認取消","请注意,变更订阅会导致当前订阅被覆盖。":"請注意,變更訂閱會導致目前的訂閱被覆蓋。","订单提交成功,正在跳转支付":"訂單提交成功,正在跳轉支付",回复成功:"回覆成功",工单详情:"工單詳情",登录成功:"登入成功","确定退出?":"確定退出?",支付成功:"支付成功",正在前往收银台:"正在前往收銀台",请输入正确的划转金额:"請輸入正確的劃轉金額",划转成功:"劃轉成功",提现方式不能为空:"提現方式不能為空",提现账号不能为空:"提現帳號不能為空",已绑定:"已綁定",创建成功:"創建成功",关闭成功:"關閉成功",或使用第三方登录:"或使用第三方登入","正在加载 Telegram 登录...":"正在載入 Telegram 登入...","Telegram 登录失败":"Telegram 登入失敗"},Yk=Object.freeze(Object.defineProperty({__proto__:null,default:sNe},Symbol.toStringTag,{value:"Module"}))});export default lNe();
|